@volter/cyclotron 0.5.212 → 0.5.213

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 (598) hide show
  1. package/BUNDLED_NOTICES +375 -2995
  2. package/README.md +9 -5
  3. package/dist/.vite/manifest.json +529 -1764
  4. package/dist/assets/AudioViewer-B5pkIGXS.js +1 -0
  5. package/dist/assets/ImageViewer-BPVLEEQ2.js +1 -0
  6. package/dist/assets/JsonAssetDocument-DuVW9del.js +2 -0
  7. package/dist/assets/ProjectAuthoringBootstrap-CZJz4Svb.js +2 -0
  8. package/dist/assets/SourceAssetViewer-LwHBW53R.js +1 -0
  9. package/dist/assets/VideoViewer-Bfjjp4zH.js +1 -0
  10. package/dist/assets/{client-Dj2xr2fw.js → client-BLXKEWrR.js} +1 -1
  11. package/dist/assets/{index-Bc73pJIv.js → index-BKjLHm6K.js} +131 -131
  12. package/dist/assets/index-CJcVFJ-l.css +1 -0
  13. package/dist/assets/product-CaIfLQVS.js +1 -0
  14. package/dist/assets/story-capture-C3xmgE62.js +1 -0
  15. package/dist/assets/volter-sdk-DT0xmh2J.js +1407 -0
  16. package/dist/assets/volter-sdk-activation-events-B-WERmWU.js +1 -0
  17. package/dist/assets/volter-sdk-active-project-DvEsy8Q6.js +1 -0
  18. package/dist/assets/volter-sdk-adapter-editor-config-CQ5V6W-o.js +1 -0
  19. package/dist/assets/volter-sdk-animation-animation-clock-Cy7j_2qF.js +1 -0
  20. package/dist/assets/volter-sdk-animation-stage-transport-DoUDq6Gb.js +1 -0
  21. package/dist/assets/volter-sdk-api-base-Dr1bx5e0.js +1 -0
  22. package/dist/assets/volter-sdk-api-project-open-D4nPvIPU.js +1 -0
  23. package/dist/assets/volter-sdk-api-project-source-DoO7WBwQ.js +1 -0
  24. package/dist/assets/volter-sdk-api-settings-BEHgO5wf.js +1 -0
  25. package/dist/assets/volter-sdk-asset-capabilities-CGkNwaAe.js +1 -0
  26. package/dist/assets/volter-sdk-asset-document-write-policy-CzWM1HhK.js +1 -0
  27. package/dist/assets/volter-sdk-asset-editor-context-BkSK1vL1.js +1 -0
  28. package/dist/assets/volter-sdk-asset-thumbnails-zSmJgI_x.js +1 -0
  29. package/dist/assets/volter-sdk-asset-viewers-B-ICvlkR.js +1 -0
  30. package/dist/assets/volter-sdk-asset-workflow-project-content-C6Ow0R-F.js +1 -0
  31. package/dist/assets/volter-sdk-authoring-active-adapter-CKuWwxgH.js +1 -0
  32. package/dist/assets/volter-sdk-authoring-boundary-authoring-adapter-DTwFKBkS.js +1 -0
  33. package/dist/assets/volter-sdk-authoring-composite-authoring-adapter-iRSbSHpV.js +1 -0
  34. package/dist/assets/volter-sdk-authoring-consumer-actions-DK9-B-wg.js +1 -0
  35. package/dist/assets/volter-sdk-authoring-design-time-mount-registry-BQnWcBVe.js +1 -0
  36. package/dist/assets/volter-sdk-authoring-design-time-roots-BKSmkD7_.js +1 -0
  37. package/dist/assets/volter-sdk-authoring-layered-pick-C-YvuxEG.js +1 -0
  38. package/dist/assets/volter-sdk-authoring-no-authoring-adapter-Cv9DD6G0.js +1 -0
  39. package/dist/assets/volter-sdk-authoring-panel-authoring-BLOrFs8L.js +1 -0
  40. package/dist/assets/volter-sdk-authoring-react-design-canvas-style-Dr9i31o5.js +1 -0
  41. package/dist/assets/{volter-sdk-authoring-react-story-board-aeiEUlbU.js → volter-sdk-authoring-react-story-board-BlCQQM-8.js} +1 -1
  42. package/dist/assets/volter-sdk-authoring-seam-evidence-CjetY_ZG.js +1 -0
  43. package/dist/assets/volter-sdk-authoring-selection-scope-BxmbC71H.js +1 -0
  44. package/dist/assets/volter-sdk-authoring-shell-document-ops-DDb8oGx9.js +1 -0
  45. package/dist/assets/volter-sdk-authoring-stage-root-B50LLhnJ.js +1 -0
  46. package/dist/assets/volter-sdk-authoring-story-board-chrome-fit-BVV9fbcw.js +1 -0
  47. package/dist/assets/{volter-sdk-authoring-viewport-tool-context-DzsD6JQH.js → volter-sdk-authoring-viewport-tool-context-cQafPSkT.js} +1 -1
  48. package/dist/assets/volter-sdk-authoring-viewport-tool-owner-BppqL4f_.js +1 -0
  49. package/dist/assets/volter-sdk-authoring-world-session-state-BlpdiKod.js +1 -0
  50. package/dist/assets/volter-sdk-bitmap-label-BbtGPWgP.js +1 -0
  51. package/dist/assets/{volter-sdk-breakpoint-state-BPnDN_XU.js → volter-sdk-breakpoint-state-DCFuSvgm.js} +1 -1
  52. package/dist/assets/volter-sdk-bytes-codec-CrNeVT4e.js +1 -0
  53. package/dist/assets/volter-sdk-cancellation-reason-ByOH3mlF.js +1 -0
  54. package/dist/assets/volter-sdk-canvas-frames-BU8Rqr4J.js +1 -0
  55. package/dist/assets/volter-sdk-capture-size-D4cNT2XC.js +1 -0
  56. package/dist/assets/volter-sdk-chrome-registry-qHUiDauw.js +1 -0
  57. package/dist/assets/volter-sdk-command-result-text-2wzEhQ5t.js +1 -0
  58. package/dist/assets/volter-sdk-commands-C4RgHEOa.js +1 -0
  59. package/dist/assets/volter-sdk-component-board-registry-6gFZBkTP.js +1 -0
  60. package/dist/assets/volter-sdk-components-AssetEditorShell-CQVLedvW.js +1 -0
  61. package/dist/assets/volter-sdk-components-InspectorCanvasPreview-CN5ROhNT.js +1 -0
  62. package/dist/assets/volter-sdk-components-SurfaceStateOverlay-Cc9Ov1Ol.js +1 -0
  63. package/dist/assets/{volter-sdk-components-AssetEditorShell-BJL1am3b.js → volter-sdk-components-Toolbar-ZoV9Yq_A.js} +1 -1
  64. package/dist/assets/volter-sdk-components-TransientHint-BML2V3uu.js +1 -0
  65. package/dist/assets/volter-sdk-components-inspector-preview-section-BhDjhUyz.js +1 -0
  66. package/dist/assets/volter-sdk-components-use-after-paint-BVSO4qjV.js +1 -0
  67. package/dist/assets/volter-sdk-components-workspace-history-CThvGfsY.js +1 -0
  68. package/dist/assets/volter-sdk-content-entry-source-registry-CJLVq3tC.js +1 -0
  69. package/dist/assets/volter-sdk-contribution-surfaces-CeEDmriM.js +1 -0
  70. package/dist/assets/volter-sdk-contributions-x6j41XZp.js +1 -0
  71. package/dist/assets/volter-sdk-coverage-design-time-surfaces-D-tNGazo.js +1 -0
  72. package/dist/assets/volter-sdk-creation-site-registry-64gyrZPD.js +1 -0
  73. package/dist/assets/volter-sdk-css-numeric-style-CXeWqAoG.js +1 -0
  74. package/dist/assets/volter-sdk-declared-tools-BAzHxyUW.js +1 -0
  75. package/dist/assets/{volter-sdk-document-areas-x47hqeuC.js → volter-sdk-document-areas-4DXjy0el.js} +1 -1
  76. package/dist/assets/volter-sdk-document-layer-B4VYMPZ9.js +1 -0
  77. package/dist/assets/volter-sdk-document-open-registry-BLDMaEoN.js +1 -0
  78. package/dist/assets/volter-sdk-document-play-extension-Dv3fyS6K.js +1 -0
  79. package/dist/assets/volter-sdk-document-probe-drBhAyza.js +1 -0
  80. package/dist/assets/volter-sdk-document-stage-sessions-CtI9anAf.js +1 -0
  81. package/dist/assets/volter-sdk-document-viewports-BO0N7VyN.js +1 -0
  82. package/dist/assets/volter-sdk-editor-commands-BJ9Otxzu.js +1 -0
  83. package/dist/assets/volter-sdk-editor-console-BaGgfWmH.js +1 -0
  84. package/dist/assets/volter-sdk-editor-document-probe-D0ZhaXHx.js +1 -0
  85. package/dist/assets/volter-sdk-editor-mode-B07FDozS.js +1 -0
  86. package/dist/assets/volter-sdk-editor-runtime-D00Du7hG.js +1 -0
  87. package/dist/assets/volter-sdk-editor-server-response-C6kOPAsW.js +1 -0
  88. package/dist/assets/volter-sdk-editor-session-attribution-CggpIFb4.js +1 -0
  89. package/dist/assets/volter-sdk-editor-view-DEMsxlaT.js +1 -0
  90. package/dist/assets/volter-sdk-environment-images-OQtFG1kA.js +1 -0
  91. package/dist/assets/volter-sdk-extension-script-DanTHcyo.js +1 -0
  92. package/dist/assets/volter-sdk-eyedropper-session-BfVXtjzc.js +1 -0
  93. package/dist/assets/volter-sdk-files-file-provider-CXL6oCMd.js +1 -0
  94. package/dist/assets/volter-sdk-files-project-files-SBAE37py.js +1 -0
  95. package/dist/assets/volter-sdk-framed-document-capture-7TnE8pn1.js +1 -0
  96. package/dist/assets/volter-sdk-framed-document-driver-C0K3-SRt.js +1 -0
  97. package/dist/assets/volter-sdk-hierarchy-component-marks-BmJEMvvO.js +1 -0
  98. package/dist/assets/volter-sdk-hierarchy-kind-icon-CrwdpecY.js +1 -0
  99. package/dist/assets/{volter-sdk-hierarchy-node-rows-CNCdvWZM.js → volter-sdk-hierarchy-node-rows-FcK7_ULi.js} +1 -1
  100. package/dist/assets/{volter-sdk-hierarchy-projection-BXet4MmW.js → volter-sdk-hierarchy-projection-CKzUOZUa.js} +1 -1
  101. package/dist/assets/volter-sdk-hierarchy-row-media-Czg40Ddi.js +1 -0
  102. package/dist/assets/volter-sdk-hierarchy-row-model-BGzmcywF.js +1 -0
  103. package/dist/assets/volter-sdk-hierarchy-rows-VAI0psTR.js +1 -0
  104. package/dist/assets/volter-sdk-hierarchy-walk-CaVqG7v2.js +1 -0
  105. package/dist/assets/volter-sdk-history-history-delegate-DH_xBvdh.js +1 -0
  106. package/dist/assets/volter-sdk-history-history-service-D0n0Gl5Z.js +1 -0
  107. package/dist/assets/volter-sdk-history-persistence-coordinator-CcywAFdm.js +1 -0
  108. package/dist/assets/volter-sdk-history-resource-registry-DMTlnwGv.js +1 -0
  109. package/dist/assets/volter-sdk-history-snapshot-store-BVh1DtBp.js +1 -0
  110. package/dist/assets/volter-sdk-history-source-history-backend-ulJ-65tX.js +1 -0
  111. package/dist/assets/volter-sdk-hmr-registration-group-DvMQVKyO.js +1 -0
  112. package/dist/assets/volter-sdk-hmr-stable-react-context-BMVr5YVk.js +1 -0
  113. package/dist/assets/volter-sdk-host-D765Py2w.js +1 -0
  114. package/dist/assets/{volter-sdk-hotkeys-D8xO5kx0.js → volter-sdk-hotkeys-TesTKdAZ.js} +1 -1
  115. package/dist/assets/{volter-sdk-index-CTFkHN4C.js → volter-sdk-index-BABXozHr.js} +1 -1
  116. package/dist/assets/volter-sdk-inference-diagnostics-CsDbQ0M5.js +1 -0
  117. package/dist/assets/volter-sdk-inspection-document-subject-BMRD77Va.js +1 -0
  118. package/dist/assets/volter-sdk-inspection-group-icons-Wpz-YhkE.js +1 -0
  119. package/dist/assets/volter-sdk-inspection-model-BVOyStdc.js +1 -0
  120. package/dist/assets/volter-sdk-inspection-node-media-B8AL8_3F.js +1 -0
  121. package/dist/assets/volter-sdk-inspection-null-subject-d5bQZCbS.js +1 -0
  122. package/dist/assets/volter-sdk-inspector-property-grouping-BqrZkwo4.js +1 -0
  123. package/dist/assets/volter-sdk-inspector-section-registry-C6U15zvC.js +1 -0
  124. package/dist/assets/volter-sdk-js-heap-CcOnY0kf.js +1 -0
  125. package/dist/assets/{volter-sdk-keymap-presets-Vq8J3DoG.js → volter-sdk-keymap-presets-CSM-jVcZ.js} +1 -1
  126. package/dist/assets/volter-sdk-layout-arrangements-DHA3uifx.js +1 -0
  127. package/dist/assets/volter-sdk-layouts-4v9ECCn9.js +1 -0
  128. package/dist/assets/volter-sdk-light-explorer-model-CPuZjpiR.js +1 -0
  129. package/dist/assets/volter-sdk-live-seam-evidence-B_RyDaOp.js +1 -0
  130. package/dist/assets/volter-sdk-live-session-registry-C6gHroaH.js +1 -0
  131. package/dist/assets/{volter-sdk-manifest-project-DIThdJ0z.js → volter-sdk-manifest-project-CVVUDDuL.js} +1 -1
  132. package/dist/assets/volter-sdk-mount-css-scope-DaJoEo3v.js +1 -0
  133. package/dist/assets/volter-sdk-mount-failure-report-Cm92oiGJ.js +1 -0
  134. package/dist/assets/volter-sdk-native-selection-style-Bp4IBnA4.js +1 -0
  135. package/dist/assets/volter-sdk-photograph-notice-C6_gZGpW.js +1 -0
  136. package/dist/assets/volter-sdk-play-camera-flight-SwlYhOxW.js +1 -0
  137. package/dist/assets/volter-sdk-product-command-G8kKVJ-i.js +1 -0
  138. package/dist/assets/volter-sdk-progress-4GGmPvZn.js +1 -0
  139. package/dist/assets/volter-sdk-project-module-changes-DIrDIHeD.js +1 -0
  140. package/dist/assets/volter-sdk-project-module-url-BuAUWpus.js +1 -0
  141. package/dist/assets/volter-sdk-project-output-roots-BON7FOwQ.js +1 -0
  142. package/dist/assets/{volter-sdk-project-tab-census-Cos8L4lu.js → volter-sdk-project-tab-census-CO06UOh-.js} +1 -1
  143. package/dist/assets/volter-sdk-renderer-resource-counts-2kLiD8_S.js +1 -0
  144. package/dist/assets/volter-sdk-scoped-project-css-DA63CYkM.js +1 -0
  145. package/dist/assets/volter-sdk-selection-CSUq7EiY.js +1 -0
  146. package/dist/assets/volter-sdk-served-url-B_MypeId.js +1 -0
  147. package/dist/assets/volter-sdk-settings-settings-provider-CJuWxTB5.js +1 -0
  148. package/dist/assets/volter-sdk-settings-store-CEFKDj0h.js +1 -0
  149. package/dist/assets/volter-sdk-shell-store-Cl4sX9p4.js +1 -0
  150. package/dist/assets/volter-sdk-shell-store-door-DGjybg0J.js +1 -0
  151. package/dist/assets/volter-sdk-source-conflict-CV8Gk053.js +1 -0
  152. package/dist/assets/volter-sdk-stage-context-Cb0SaYhi.js +1 -0
  153. package/dist/assets/volter-sdk-stage-invalidation-VlBciYA0.js +1 -0
  154. package/dist/assets/volter-sdk-stage-store-registry-BpIy_QKq.js +1 -0
  155. package/dist/assets/{volter-sdk-startup-failure-CtJyTS-2.js → volter-sdk-startup-failure-C_8H4xuP.js} +1 -1
  156. package/dist/assets/{volter-sdk-stories-StoryPreviewMount-DjhZUmf-.js → volter-sdk-stories-StoryPreviewMount-BUX42gIR.js} +1 -1
  157. package/dist/assets/volter-sdk-stories-compose-project-stories-CkSd4Si5.js +1 -0
  158. package/dist/assets/volter-sdk-stories-scope-Dndn7MD8.js +1 -0
  159. package/dist/assets/volter-sdk-stories-story-declared-medium-Byi4XWeJ.js +1 -0
  160. package/dist/assets/volter-sdk-stories-story-dom-runtime-BS1VPvJ6.js +1 -0
  161. package/dist/assets/volter-sdk-stories-story-grouping-CpNh4cUf.js +1 -0
  162. package/dist/assets/{volter-sdk-story-document-openers-Df7Tcu2n.js → volter-sdk-story-document-openers-Ba5jQqay.js} +1 -1
  163. package/dist/assets/volter-sdk-surface-state-BhQ45ars.js +1 -0
  164. package/dist/assets/volter-sdk-tab-census-D0r0s37y.js +1 -0
  165. package/dist/assets/volter-sdk-tool-contribution-convention-JCXL6f2w.js +1 -0
  166. package/dist/assets/volter-sdk-transform-mode-request-Cwk_Kyty.js +1 -0
  167. package/dist/assets/volter-sdk-transient-hint-BOfFzAV8.js +1 -0
  168. package/dist/assets/{volter-sdk-types-BOfYN_tN.js → volter-sdk-types-CkT8l5N_.js} +1 -1
  169. package/dist/assets/volter-sdk-ui-source-file-region-resolver-Cfza3eEl.js +1 -0
  170. package/dist/assets/{volter-sdk-ui-source-inspect-gofMOHNR.js → volter-sdk-ui-source-inspect-CEjmAN75.js} +1 -1
  171. package/dist/assets/{volter-sdk-ui-source-source-write-backend-BgVis1yZ.js → volter-sdk-ui-source-source-write-backend-0njgRdI6.js} +1 -1
  172. package/dist/assets/volter-sdk-ui-source-tier-source-write-backend-CpsxorYU.js +1 -0
  173. package/dist/assets/volter-sdk-viewport-activation-timings-B3hRTu3A.js +1 -0
  174. package/dist/assets/volter-sdk-viewport-editor-controls-DDBd-VqO.js +1 -0
  175. package/dist/assets/volter-sdk-viewport-presentation-DRhiAH1h.js +1 -0
  176. package/dist/assets/volter-sdk-volter-contributions-nlGXjgJZ.js +1 -0
  177. package/dist/assets/volter-sdk-wait-until-CMvYQmO8.js +1 -0
  178. package/dist/assets/volter-sdk-widgets-design-system-BJOyO8sO.js +1 -0
  179. package/dist/assets/volter-sdk-widgets-editor-appearance-eVtkxsIm.js +1 -0
  180. package/dist/assets/volter-sdk-widgets-editor-material-BoQP_5SK.js +1 -0
  181. package/dist/assets/volter-sdk-widgets-icon-set-registry-CP0D74kc.js +1 -0
  182. package/dist/assets/volter-sdk-widgets-index-De34FpYu.js +1 -0
  183. package/dist/assets/volter-sdk-widgets-inspector-widgets-AlignmentGrid-_GjMjIGb.js +1 -0
  184. package/dist/assets/volter-sdk-widgets-inspector-widgets-AssetSlotPicker-B7vN7BEd.js +1 -0
  185. package/dist/assets/volter-sdk-widgets-inspector-widgets-BorderEditor-E2J8cpyT.js +1 -0
  186. package/dist/assets/volter-sdk-widgets-inspector-widgets-ColorPicker-D6TERGKs.js +1 -0
  187. package/dist/assets/volter-sdk-widgets-inspector-widgets-CurveEditor-CXR8n-CA.js +1 -0
  188. package/dist/assets/{volter-sdk-widgets-inspector-widgets-FilterEditor-DKkdim3n.js → volter-sdk-widgets-inspector-widgets-FilterEditor-CDvfWY4Q.js} +1 -1
  189. package/dist/assets/volter-sdk-widgets-inspector-widgets-FontPicker-BgpW8FW8.js +1 -0
  190. package/dist/assets/volter-sdk-widgets-inspector-widgets-GradientEditor-DOOBkXjY.js +1 -0
  191. package/dist/assets/volter-sdk-widgets-inspector-widgets-ScrubbableInput-1NXWR_gB.js +1 -0
  192. package/dist/assets/volter-sdk-widgets-inspector-widgets-ShadowEditor-Cd2-HwFn.js +1 -0
  193. package/dist/assets/volter-sdk-widgets-inspector-widgets-color-utils-C4HuSjFu.js +1 -0
  194. package/dist/assets/volter-sdk-widgets-inspector-widgets-curve-utils-DUU2CCtc.js +1 -0
  195. package/dist/assets/volter-sdk-widgets-inspector-widgets-index-D5kwrOUQ.js +1 -0
  196. package/dist/assets/volter-sdk-widgets-inspector-widgets-shared-CkFN2SUn.js +1 -0
  197. package/dist/assets/volter-sdk-widgets-interactive-edit-scope-DynpKMMZ.js +1 -0
  198. package/dist/assets/{volter-sdk-widgets-palette-colors-Byzw9YHf.js → volter-sdk-widgets-palette-colors-DhL1I42R.js} +1 -1
  199. package/dist/assets/volter-sdk-widgets-patterns-Dialog-EUtcZi0Y.js +1 -0
  200. package/dist/assets/volter-sdk-widgets-patterns-Fields-Bl_eaBej.js +1 -0
  201. package/dist/assets/volter-sdk-widgets-patterns-List--NE_1N5-.js +1 -0
  202. package/dist/assets/volter-sdk-widgets-patterns-StateSurface-BHXpv7qi.js +1 -0
  203. package/dist/assets/volter-sdk-widgets-patterns-Surfaces-BdKa5HGV.js +1 -0
  204. package/dist/assets/volter-sdk-widgets-patterns-Tabs-sFV7f1UP.js +1 -0
  205. package/dist/assets/volter-sdk-widgets-patterns-Toolbar-CIr5Cs49.js +1 -0
  206. package/dist/assets/volter-sdk-widgets-patterns-Tree-C2YHfddf.js +1 -0
  207. package/dist/assets/volter-sdk-widgets-primitives-AnchoredMenu-DCclspnW.js +1 -0
  208. package/dist/assets/volter-sdk-widgets-primitives-Button-B0YxR4ea.js +1 -0
  209. package/dist/assets/volter-sdk-widgets-primitives-ColorInput-B1_SLTuc.js +1 -0
  210. package/dist/assets/volter-sdk-widgets-primitives-DraftTextInput-CpHzPdt8.js +1 -0
  211. package/dist/assets/volter-sdk-widgets-primitives-EditorIcon-Dw4knhya.js +1 -0
  212. package/dist/assets/volter-sdk-widgets-primitives-FormControls-BAbRanmE.js +1 -0
  213. package/dist/assets/volter-sdk-widgets-primitives-HoverPreview-Cj7jKNd4.js +1 -0
  214. package/dist/assets/volter-sdk-widgets-primitives-JsonInput-C0DCI5bE.js +1 -0
  215. package/dist/assets/volter-sdk-widgets-primitives-Layout-gT4Z6mtt.js +1 -0
  216. package/dist/assets/volter-sdk-widgets-primitives-Menu-9EESAp9m.js +1 -0
  217. package/dist/assets/volter-sdk-widgets-primitives-NumberInput-Dk-5zqJ8.js +1 -0
  218. package/dist/assets/volter-sdk-widgets-primitives-Panel-BQWJF-Pb.js +1 -0
  219. package/dist/assets/volter-sdk-widgets-primitives-SectionHeader-DXvmafCK.js +1 -0
  220. package/dist/assets/volter-sdk-widgets-primitives-Text-yBrdWK2w.js +1 -0
  221. package/dist/assets/volter-sdk-widgets-primitives-ThemeRootPortal-CRhefpUL.js +1 -0
  222. package/dist/assets/volter-sdk-widgets-primitives-Tooltip-D5Kcb-ZC.js +1 -0
  223. package/dist/assets/volter-sdk-widgets-primitives-Vec3Input-DiG6PEIe.js +1 -0
  224. package/dist/assets/volter-sdk-widgets-primitives-clamp-to-viewport-DhnSxXVK.js +1 -0
  225. package/dist/assets/volter-sdk-widgets-primitives-editor-icons-e65mgyAk.js +1 -0
  226. package/dist/assets/volter-sdk-widgets-primitives-panel-header-styles-BVL0mN8g.js +1 -0
  227. package/dist/assets/volter-sdk-widgets-theme-C-_RU9Ov.js +1 -0
  228. package/dist/assets/volter-sdk-widgets-z-index-CrJJXeKL.js +1 -0
  229. package/dist/assets/volter-sdk-worker-call-metrics-BTfmngck.js +1 -0
  230. package/dist/assets/{volter-sdk-workspace-core-utilities-BaAh2Ei8.js → volter-sdk-workspace-core-utilities-DtHGK9PF.js} +1 -1
  231. package/dist/assets/volter-sdk-workspace-document-ids-COULA7c6.js +1 -0
  232. package/dist/assets/volter-sdk-workspace-document-registry-6m5csVP7.js +1 -0
  233. package/dist/assets/volter-sdk-workspace-document-restore-M8ifJMou.js +1 -0
  234. package/dist/assets/{volter-sdk-workspace-host-commands-72RdJeW4.js → volter-sdk-workspace-host-commands-8Qzej--P.js} +1 -1
  235. package/dist/assets/volter-sdk-workspace-static-panels-Ckk7qUuS.js +1 -0
  236. package/dist/assets/volter-sdk-workspace-status-registry-BdU0dZAt.js +1 -0
  237. package/dist/assets/volter-sdk-workspace-utility-registry-BHxymD2l.js +1 -0
  238. package/dist/assets/volter-sdk-world-canvas-viewport-state-CHO8s9gE.js +1 -0
  239. package/dist/assets/volter-sdk-world-pan-state-C-9xgzAh.js +1 -0
  240. package/dist/assets/volter-sdk-write-pipe-CJHg7J4i.js +1 -0
  241. package/dist/assets/{volter-shared-fontawesome-B-OhfZs4.js → volter-shared-fontawesome-BEv9WEZj.js} +1 -1
  242. package/dist/assets/{volter-shared-jsx-dev-runtime-akPt_-OI.js → volter-shared-jsx-dev-runtime-domcKDU3.js} +1 -1
  243. package/dist/assets/{volter-shared-jsx-runtime-CKQtDN6l.js → volter-shared-jsx-runtime-Cu7pVW-1.js} +1 -1
  244. package/dist/assets/{volter-shared-react-STQK0zHl.js → volter-shared-react-BLHga76C.js} +1 -1
  245. package/dist/assets/volter-shared-react-dom-client-vi6WsWu2.js +1 -0
  246. package/dist/assets/{volter-shared-react-dom-2aA0eyQg.js → volter-shared-react-dom-kzJVGsQd.js} +1 -1
  247. package/dist/assets/volter-shared-three-BWbOWtM5.js +4220 -0
  248. package/dist/volter-shared-modules.json +225 -225
  249. package/dist/volter-shared-react.json +6 -6
  250. package/dist/volter-shared-three.json +1 -1
  251. package/dist-node/cli.js +182 -127
  252. package/dist-node/create.js +18 -21
  253. package/package.json +16 -16
  254. package/src/index.ts +1 -2
  255. package/src/product-id.d.ts +4 -0
  256. package/starter/AGENTS.md +132 -157
  257. package/starter/game/levels/MainLevel.tsx +24 -0
  258. package/starter/game/prefabs/ground/Ground.tsx +24 -0
  259. package/starter/game/{levels → prefabs/ground}/ground.blend +0 -0
  260. package/starter/game/prefabs/ground/ground.glb +0 -0
  261. package/starter/game/prefabs/ground/ground.py +106 -0
  262. package/dist/assets/AudioViewer-EMpvKC-X.js +0 -1
  263. package/dist/assets/BVHLoader-CpdLvOHd.js +0 -1
  264. package/dist/assets/ColladaLoader-D1GMlAA9.js +0 -3
  265. package/dist/assets/EntityModelDocument-rYF-p8Fo.js +0 -1
  266. package/dist/assets/EnvironmentAssetDocument-DfykWLLS.js +0 -1
  267. package/dist/assets/FBXLoader-DKZ0UD3F.js +0 -1
  268. package/dist/assets/ImageViewer-B0OqXrVU.js +0 -1
  269. package/dist/assets/InspectorObjectPreview-CwCqdv76.js +0 -1
  270. package/dist/assets/JsonAssetDocument-PzzxK-v9.js +0 -2
  271. package/dist/assets/LiveModuleDocument-Bq9J5nMx.js +0 -1
  272. package/dist/assets/LutAssetDocument-CyzgDCYJ.js +0 -1
  273. package/dist/assets/MTLLoader-BOaPmAvY.js +0 -2
  274. package/dist/assets/ModelAssetDocument-8he5iZqV.js +0 -1
  275. package/dist/assets/OBJLoader-BLg7dmPe.js +0 -5
  276. package/dist/assets/Object3DDocumentToolbar-CLfEn5i-.js +0 -1
  277. package/dist/assets/Object3DDocumentToolbar-WK1RY6Gg.css +0 -1
  278. package/dist/assets/OrbitControls-DxYDYiEc.js +0 -1
  279. package/dist/assets/PLYLoader-bAg6lYzP.js +0 -2
  280. package/dist/assets/ProjectAuthoringBootstrap-FVTj-Ag9.js +0 -2
  281. package/dist/assets/QuarksAssetDocument-DBJQXZ9u.js +0 -2
  282. package/dist/assets/RectAreaLightUniformsLib-CQLblkbI.js +0 -1
  283. package/dist/assets/STLLoader-C8jImL_t.js +0 -1
  284. package/dist/assets/ShaderAssetDocument-C3QolcYl.js +0 -12
  285. package/dist/assets/SourceAssetViewer-xB9kAyPa.js +0 -1
  286. package/dist/assets/StageHost-BZBLHaPe.css +0 -1
  287. package/dist/assets/StageHost-xYvmzMBo.js +0 -1231
  288. package/dist/assets/TDSLoader-DLNvOc6c.js +0 -1
  289. package/dist/assets/ToolObject3DPreview-4XgGyXTu.js +0 -2
  290. package/dist/assets/VideoViewer-BruuQyu3.js +0 -1
  291. package/dist/assets/ViewportShadingMenu-amXbnRtl.js +0 -1
  292. package/dist/assets/animation-mixers.service-Ce1JMqA2.js +0 -1
  293. package/dist/assets/animation-timeline.utility-CzsUvu3v.js +0 -1
  294. package/dist/assets/asset-preview-CtqauM13.js +0 -4
  295. package/dist/assets/basis_transcoder-VXdx5NbI.wasm +0 -0
  296. package/dist/assets/basis_transcoder-o4Hde_L7.js +0 -19
  297. package/dist/assets/blender-base64-Cxqc4R5f.js +0 -1
  298. package/dist/assets/blender-display-shaders-BPmHILFy.lut +0 -0
  299. package/dist/assets/blender-emscripten-engine-Bl_j9xEY.js +0 -26
  300. package/dist/assets/blender-motion-worker-CtT2cV3V.js +0 -1
  301. package/dist/assets/blender-node-editor.document-lj1qK5Vu.js +0 -1
  302. package/dist/assets/blender-outliner-model-BqLWEXta.js +0 -7359
  303. package/dist/assets/blender-properties-model-DD-2sMKx.js +0 -1
  304. package/dist/assets/blender-properties-tab-BmudfsC3.js +0 -3
  305. package/dist/assets/blender-runtime.document-IVSATTnk.js +0 -13
  306. package/dist/assets/blender-screenshot.service-BRgdtDQC.js +0 -1
  307. package/dist/assets/blender-timeline.document-8jLaNF31.js +0 -1
  308. package/dist/assets/blender-uv-editor.document-BVcA7mi2.js +0 -1
  309. package/dist/assets/blender-version.status-B43F7DzT.js +0 -2
  310. package/dist/assets/blender-wali-engine-xLHhm0KZ.js +0 -2
  311. package/dist/assets/blender.environment-CG-pC7sk.js +0 -1
  312. package/dist/assets/blender.keymap-pRN8nlCs.js +0 -1
  313. package/dist/assets/blender.page-BYbkmFDE.js +0 -3
  314. package/dist/assets/blender.status-CcKJxsZ1.js +0 -1
  315. package/dist/assets/blender.style-DuFonR-j.js +0 -1
  316. package/dist/assets/chat.page-DzuAKPGP.js +0 -1
  317. package/dist/assets/city-EkhAOo5s.exr +0 -0
  318. package/dist/assets/courtyard-DqlebbpC.exr +0 -0
  319. package/dist/assets/draco_decoder-C32yEggz.wasm +0 -0
  320. package/dist/assets/draco_decoder-Z1_iN-Ht.wasm +0 -0
  321. package/dist/assets/draco_decoder-fzg4nYZr.js +0 -34
  322. package/dist/assets/draco_wasm_wrapper-DxJM36Ib.js +0 -117
  323. package/dist/assets/draco_wasm_wrapper-fZCQGLGb.js +0 -116
  324. package/dist/assets/editor-presentation-activity-CqJH4G9t.js +0 -1
  325. package/dist/assets/forest-P_CQY3b_.exr +0 -0
  326. package/dist/assets/index-C4uuH2ZE.css +0 -1
  327. package/dist/assets/index-DlAJXb_f.js +0 -952
  328. package/dist/assets/interior-Bo_lba15.exr +0 -0
  329. package/dist/assets/linear-resolve-B-MA5O31.js +0 -400
  330. package/dist/assets/live-mixers-B-bwLZ7c.js +0 -1
  331. package/dist/assets/maya.style-C3zx8RC5.js +0 -1
  332. package/dist/assets/model-inspection-_SFE7cp7.js +0 -1
  333. package/dist/assets/model.layout-CX-vaeBh.js +0 -1
  334. package/dist/assets/models.finder-DcOx-jsM.js +0 -1
  335. package/dist/assets/mtoon0-BNRZGBf8.blend +0 -0
  336. package/dist/assets/mtoon1-EgrxQlCc.blend +0 -0
  337. package/dist/assets/mtoon1_outline-xuubMJ8J.blend +0 -0
  338. package/dist/assets/mtoon_auto_setup-BF1c8USg.blend +0 -0
  339. package/dist/assets/night-CvV4Gybt.exr +0 -0
  340. package/dist/assets/object3d-document-session-registry-DvgzaByQ.js +0 -2
  341. package/dist/assets/output-pass-Bw2FZb8e.js +0 -85
  342. package/dist/assets/play-mode-BGq1Hn-c.js +0 -1
  343. package/dist/assets/play.page-DB2UjY0o.js +0 -1
  344. package/dist/assets/product-OBHh_Udv.js +0 -1
  345. package/dist/assets/properties-bone-constraints.inspector-NWLfoFX1.js +0 -1
  346. package/dist/assets/properties-bone.inspector-DybmNdBB.js +0 -1
  347. package/dist/assets/properties-collection.inspector-Cg7Jq6yG.js +0 -1
  348. package/dist/assets/properties-constraints.inspector-DY--pvLo.js +0 -1
  349. package/dist/assets/properties-data.inspector-CP1lurLb.js +0 -1
  350. package/dist/assets/properties-material.inspector-K8Qx5wr9.js +0 -1
  351. package/dist/assets/properties-modifiers.inspector-DOfP-8mX.js +0 -1
  352. package/dist/assets/properties-object.inspector-sqx6qMyu.js +0 -1
  353. package/dist/assets/properties-output.inspector-CUYUEC6S.js +0 -1
  354. package/dist/assets/properties-particles.inspector-oAWorORY.js +0 -1
  355. package/dist/assets/properties-physics.inspector-CQIHdcOy.js +0 -1
  356. package/dist/assets/properties-render.inspector-XTzdYo4u.js +0 -1
  357. package/dist/assets/properties-scene.inspector-BytOBuw9.js +0 -1
  358. package/dist/assets/properties-texture.inspector-2WNelhHG.js +0 -1
  359. package/dist/assets/properties-view-layer.inspector-DVSdqosc.js +0 -1
  360. package/dist/assets/properties-world.inspector-CHHm7g3j.js +0 -1
  361. package/dist/assets/regions-BlV6hTFd.js +0 -1
  362. package/dist/assets/sculpt.layout-BkvEflSA.js +0 -1
  363. package/dist/assets/session-addons-KcG0o7Xc.js +0 -76898
  364. package/dist/assets/shading.layout-V9LTFaVk.js +0 -1
  365. package/dist/assets/sky-precompute-worker-CPGW9t_C.js +0 -1
  366. package/dist/assets/spark.module-Cc-ZVx5e.js +0 -12120
  367. package/dist/assets/stage-keyboard-Rgvt63qI.js +0 -1
  368. package/dist/assets/stage-overlay-set-juTRuk99.js +0 -1
  369. package/dist/assets/stage-presence-markers-XsGUs3S-.js +0 -1
  370. package/dist/assets/stage-transform-tools-BE7m4omf.js +0 -1
  371. package/dist/assets/standard-viewport-dressing-asIXnD-w.js +0 -24
  372. package/dist/assets/std-scene-level-DeiReu6Z.js +0 -13
  373. package/dist/assets/std-scene.document-DyWMJhxA.js +0 -1
  374. package/dist/assets/story-capture-Y8_YS5DC.js +0 -1
  375. package/dist/assets/studio-CysTBGIb.exr +0 -0
  376. package/dist/assets/substance.style-CoQdG-kF.js +0 -1
  377. package/dist/assets/sunrise-Dj0psFrf.exr +0 -0
  378. package/dist/assets/sunset-Bw3x2Bot.exr +0 -0
  379. package/dist/assets/texture.layout-DASpHVht.js +0 -1
  380. package/dist/assets/three.module-JoAAxMWl.js +0 -4220
  381. package/dist/assets/three.page-Dy2q5JEV.js +0 -2
  382. package/dist/assets/transparent_z_write-xIRcVb2w.blend +0 -0
  383. package/dist/assets/transport-strip-cKO8FHd1.js +0 -1
  384. package/dist/assets/uv-editing.layout-CF_54oSA.js +0 -1
  385. package/dist/assets/volter-sdk-D8o6TU4A.js +0 -1407
  386. package/dist/assets/volter-sdk-activation-events-DVerKSly.js +0 -1
  387. package/dist/assets/volter-sdk-active-project-f6toeBI4.js +0 -1
  388. package/dist/assets/volter-sdk-adapter-editor-config-DpARQ4TT.js +0 -1
  389. package/dist/assets/volter-sdk-animation-animation-clock-BGyYYQu-.js +0 -1
  390. package/dist/assets/volter-sdk-animation-stage-transport-DWmyow46.js +0 -1
  391. package/dist/assets/volter-sdk-api-base-jDs2XVgE.js +0 -1
  392. package/dist/assets/volter-sdk-api-project-open-BAXokZLA.js +0 -1
  393. package/dist/assets/volter-sdk-api-project-source-D6FB4SmO.js +0 -1
  394. package/dist/assets/volter-sdk-api-settings-DqgndoPA.js +0 -1
  395. package/dist/assets/volter-sdk-asset-capabilities-B5mXIYBM.js +0 -1
  396. package/dist/assets/volter-sdk-asset-document-write-policy-B5aaFAwu.js +0 -1
  397. package/dist/assets/volter-sdk-asset-editor-context-BjtZQVgF.js +0 -1
  398. package/dist/assets/volter-sdk-asset-thumbnails-CROlpqPM.js +0 -1
  399. package/dist/assets/volter-sdk-asset-viewers-BejvElAX.js +0 -1
  400. package/dist/assets/volter-sdk-asset-workflow-project-content-D8h-TsJc.js +0 -1
  401. package/dist/assets/volter-sdk-authoring-active-adapter-DhKlZbyW.js +0 -1
  402. package/dist/assets/volter-sdk-authoring-boundary-authoring-adapter-xlppcGid.js +0 -1
  403. package/dist/assets/volter-sdk-authoring-composite-authoring-adapter-BfalSuB8.js +0 -1
  404. package/dist/assets/volter-sdk-authoring-consumer-actions-Hl6xkGAq.js +0 -1
  405. package/dist/assets/volter-sdk-authoring-design-time-mount-registry-2ZssbtYd.js +0 -1
  406. package/dist/assets/volter-sdk-authoring-design-time-roots-BNNZdEog.js +0 -1
  407. package/dist/assets/volter-sdk-authoring-layered-pick-AsUoH85M.js +0 -1
  408. package/dist/assets/volter-sdk-authoring-no-authoring-adapter-BX6sVPQX.js +0 -1
  409. package/dist/assets/volter-sdk-authoring-panel-authoring-BRs7fYSJ.js +0 -1
  410. package/dist/assets/volter-sdk-authoring-react-design-canvas-style-CdjO9_22.js +0 -1
  411. package/dist/assets/volter-sdk-authoring-seam-evidence-D58d2whR.js +0 -1
  412. package/dist/assets/volter-sdk-authoring-selection-scope-tqpilIPR.js +0 -1
  413. package/dist/assets/volter-sdk-authoring-shell-document-ops-ryosWWqt.js +0 -1
  414. package/dist/assets/volter-sdk-authoring-stage-root-yn7zP1QC.js +0 -1
  415. package/dist/assets/volter-sdk-authoring-story-board-chrome-fit-DgAAtVo8.js +0 -1
  416. package/dist/assets/volter-sdk-authoring-viewport-tool-owner-zIgbNhiQ.js +0 -1
  417. package/dist/assets/volter-sdk-authoring-world-session-state-DriMgIzp.js +0 -1
  418. package/dist/assets/volter-sdk-bitmap-label-Cwzw278F.js +0 -1
  419. package/dist/assets/volter-sdk-bytes-codec-CF2kvi68.js +0 -1
  420. package/dist/assets/volter-sdk-cancellation-reason-BQvS02ja.js +0 -1
  421. package/dist/assets/volter-sdk-canvas-frames-BkjDC0or.js +0 -1
  422. package/dist/assets/volter-sdk-capture-size-B3uOMPdw.js +0 -1
  423. package/dist/assets/volter-sdk-chrome-registry-Be1q89aJ.js +0 -1
  424. package/dist/assets/volter-sdk-command-result-text-DdPWoVLu.js +0 -1
  425. package/dist/assets/volter-sdk-commands-DI54EGoY.js +0 -1
  426. package/dist/assets/volter-sdk-component-board-registry-DtTf1V5m.js +0 -1
  427. package/dist/assets/volter-sdk-components-InspectorCanvasPreview-DpOxql_B.js +0 -1
  428. package/dist/assets/volter-sdk-components-SurfaceStateOverlay-BQ9KTVV1.js +0 -1
  429. package/dist/assets/volter-sdk-components-Toolbar-C6bwDRIc.js +0 -1
  430. package/dist/assets/volter-sdk-components-TransientHint-D3wtJ4fg.js +0 -1
  431. package/dist/assets/volter-sdk-components-inspector-preview-section-D1DnmKLE.js +0 -1
  432. package/dist/assets/volter-sdk-components-use-after-paint-ZgZgfmSR.js +0 -1
  433. package/dist/assets/volter-sdk-components-workspace-history-IZTWOoYh.js +0 -1
  434. package/dist/assets/volter-sdk-content-entry-source-registry-DV4a0g9R.js +0 -1
  435. package/dist/assets/volter-sdk-contribution-surfaces-BAzaKN1S.js +0 -1
  436. package/dist/assets/volter-sdk-contributions-D2D_badr.js +0 -1
  437. package/dist/assets/volter-sdk-coverage-design-time-surfaces-WtyoVY81.js +0 -1
  438. package/dist/assets/volter-sdk-creation-site-registry-DEJua1VB.js +0 -1
  439. package/dist/assets/volter-sdk-css-numeric-style-D1aEQUuP.js +0 -1
  440. package/dist/assets/volter-sdk-declared-tools-bEg2ZQju.js +0 -1
  441. package/dist/assets/volter-sdk-document-open-registry-BUdLp-BZ.js +0 -1
  442. package/dist/assets/volter-sdk-document-play-extension-BdtD2FcX.js +0 -1
  443. package/dist/assets/volter-sdk-document-probe-CvSMoXNj.js +0 -1
  444. package/dist/assets/volter-sdk-document-stage-sessions-BHE1T4gT.js +0 -1
  445. package/dist/assets/volter-sdk-document-viewports-BJqFXfe4.js +0 -1
  446. package/dist/assets/volter-sdk-editor-commands-CsYQVabs.js +0 -1
  447. package/dist/assets/volter-sdk-editor-console-lUTMRzeI.js +0 -1
  448. package/dist/assets/volter-sdk-editor-document-probe-BHRNXR9L.js +0 -1
  449. package/dist/assets/volter-sdk-editor-mode-BgYsrjin.js +0 -1
  450. package/dist/assets/volter-sdk-editor-runtime-CTy0Dw7-.js +0 -1
  451. package/dist/assets/volter-sdk-editor-server-response-oN9Horql.js +0 -1
  452. package/dist/assets/volter-sdk-editor-session-attribution-Ddoo0-e6.js +0 -1
  453. package/dist/assets/volter-sdk-editor-view-DEdcNl3N.js +0 -1
  454. package/dist/assets/volter-sdk-environment-images-Cbyno2vh.js +0 -1
  455. package/dist/assets/volter-sdk-extension-script-eemVEaFY.js +0 -1
  456. package/dist/assets/volter-sdk-eyedropper-session-BL5ceME-.js +0 -1
  457. package/dist/assets/volter-sdk-files-file-provider-D1vbGyMw.js +0 -1
  458. package/dist/assets/volter-sdk-files-project-files-CP9k503M.js +0 -1
  459. package/dist/assets/volter-sdk-framed-document-capture-DmqG4gUx.js +0 -1
  460. package/dist/assets/volter-sdk-framed-document-driver-B1ZAcb9l.js +0 -1
  461. package/dist/assets/volter-sdk-hierarchy-component-marks-DjtdLv04.js +0 -1
  462. package/dist/assets/volter-sdk-hierarchy-kind-icon-Dwlq9_xw.js +0 -1
  463. package/dist/assets/volter-sdk-hierarchy-row-media-CnFXPw4O.js +0 -1
  464. package/dist/assets/volter-sdk-hierarchy-row-model-TWxtUUdN.js +0 -1
  465. package/dist/assets/volter-sdk-hierarchy-rows-3Hl6K3Br.js +0 -1
  466. package/dist/assets/volter-sdk-hierarchy-walk-DvIomDWH.js +0 -1
  467. package/dist/assets/volter-sdk-history-history-delegate-RfZBUw9Y.js +0 -1
  468. package/dist/assets/volter-sdk-history-history-service-BWYajIYW.js +0 -1
  469. package/dist/assets/volter-sdk-history-persistence-coordinator-CmebAufQ.js +0 -1
  470. package/dist/assets/volter-sdk-history-resource-registry-CgjY-ErS.js +0 -1
  471. package/dist/assets/volter-sdk-history-snapshot-store-6Cq4Qau6.js +0 -1
  472. package/dist/assets/volter-sdk-history-source-history-backend-CilZiNDq.js +0 -1
  473. package/dist/assets/volter-sdk-hmr-registration-group-idNaexWq.js +0 -1
  474. package/dist/assets/volter-sdk-hmr-stable-react-context-DhY9rjD6.js +0 -1
  475. package/dist/assets/volter-sdk-host-BcQCyyIe.js +0 -1
  476. package/dist/assets/volter-sdk-inference-diagnostics-c4Aju1Jg.js +0 -1
  477. package/dist/assets/volter-sdk-inspection-document-subject-i64BmR5X.js +0 -1
  478. package/dist/assets/volter-sdk-inspection-group-icons-CWwhjZWt.js +0 -1
  479. package/dist/assets/volter-sdk-inspection-model-BgZVa_7l.js +0 -1
  480. package/dist/assets/volter-sdk-inspection-node-media-DNYb7ZDG.js +0 -1
  481. package/dist/assets/volter-sdk-inspection-null-subject-hK6kZbB7.js +0 -1
  482. package/dist/assets/volter-sdk-inspector-property-grouping-B-4_nVMm.js +0 -1
  483. package/dist/assets/volter-sdk-inspector-section-registry-DIYAa_rQ.js +0 -1
  484. package/dist/assets/volter-sdk-js-heap-DDws540T.js +0 -1
  485. package/dist/assets/volter-sdk-layout-arrangements-DdjnA7ET.js +0 -1
  486. package/dist/assets/volter-sdk-layouts-DcV6NQNu.js +0 -1
  487. package/dist/assets/volter-sdk-light-explorer-model-BoB1GjBo.js +0 -1
  488. package/dist/assets/volter-sdk-live-seam-evidence-BOvNn-o8.js +0 -1
  489. package/dist/assets/volter-sdk-live-session-registry--ftGWuRg.js +0 -1
  490. package/dist/assets/volter-sdk-mount-css-scope-BTi-3JA9.js +0 -1
  491. package/dist/assets/volter-sdk-mount-failure-report-BeR90-6n.js +0 -1
  492. package/dist/assets/volter-sdk-native-selection-style-70aZpb0m.js +0 -1
  493. package/dist/assets/volter-sdk-photograph-notice-BwuWgyiq.js +0 -1
  494. package/dist/assets/volter-sdk-play-camera-flight-CaSiTxDt.js +0 -1
  495. package/dist/assets/volter-sdk-product-command-Cf1utO0M.js +0 -1
  496. package/dist/assets/volter-sdk-project-module-changes-CIKyvjy2.js +0 -1
  497. package/dist/assets/volter-sdk-project-module-url-XzZmS9zs.js +0 -1
  498. package/dist/assets/volter-sdk-project-output-roots-B4bC82T9.js +0 -1
  499. package/dist/assets/volter-sdk-renderer-resource-counts-S3R39qoy.js +0 -1
  500. package/dist/assets/volter-sdk-scoped-project-css-Ch7LkU2q.js +0 -1
  501. package/dist/assets/volter-sdk-selection-C2gFhPip.js +0 -1
  502. package/dist/assets/volter-sdk-served-url-DxzhEpXR.js +0 -1
  503. package/dist/assets/volter-sdk-serving-engine-BclAA7ZZ.js +0 -1
  504. package/dist/assets/volter-sdk-settings-settings-provider-DGc5Xf46.js +0 -1
  505. package/dist/assets/volter-sdk-settings-store-Bmx-a8f0.js +0 -1
  506. package/dist/assets/volter-sdk-shell-store-door-CQlHDF_i.js +0 -1
  507. package/dist/assets/volter-sdk-shell-store-e-X3-CSz.js +0 -1
  508. package/dist/assets/volter-sdk-source-conflict-DEn0Z5Vq.js +0 -1
  509. package/dist/assets/volter-sdk-stage-context-CwBngGWz.js +0 -1
  510. package/dist/assets/volter-sdk-stage-invalidation-Bt1Gs-b2.js +0 -1
  511. package/dist/assets/volter-sdk-stage-store-registry-DtSMhopZ.js +0 -1
  512. package/dist/assets/volter-sdk-stories-compose-project-stories-DfgTy2Bp.js +0 -1
  513. package/dist/assets/volter-sdk-stories-scope-4lTT6I0H.js +0 -1
  514. package/dist/assets/volter-sdk-stories-story-declared-medium-BFcKINTP.js +0 -1
  515. package/dist/assets/volter-sdk-stories-story-dom-runtime-wAz1MhyJ.js +0 -1
  516. package/dist/assets/volter-sdk-stories-story-grouping-bVoaiX0-.js +0 -1
  517. package/dist/assets/volter-sdk-surface-keyboard-5u3olsPL.js +0 -1
  518. package/dist/assets/volter-sdk-surface-state-F5vfsPyq.js +0 -1
  519. package/dist/assets/volter-sdk-tab-census-B95O0nem.js +0 -1
  520. package/dist/assets/volter-sdk-tool-contribution-convention-k_AVbxWl.js +0 -1
  521. package/dist/assets/volter-sdk-transform-mode-request-CKhq0gIu.js +0 -1
  522. package/dist/assets/volter-sdk-transient-hint-DQMQ2_Y5.js +0 -1
  523. package/dist/assets/volter-sdk-ui-source-file-region-resolver-2Gw755Lw.js +0 -1
  524. package/dist/assets/volter-sdk-ui-source-tier-source-write-backend-BsEnWjJv.js +0 -1
  525. package/dist/assets/volter-sdk-viewport-activation-timings--7x_AkVR.js +0 -1
  526. package/dist/assets/volter-sdk-viewport-editor-controls-CFuNGxo6.js +0 -1
  527. package/dist/assets/volter-sdk-viewport-presentation-CoiYwzFE.js +0 -1
  528. package/dist/assets/volter-sdk-volter-contributions-DjgbZdIJ.js +0 -1
  529. package/dist/assets/volter-sdk-wait-until-DRdtM37d.js +0 -1
  530. package/dist/assets/volter-sdk-widgets-design-system-CPmOMXke.js +0 -1
  531. package/dist/assets/volter-sdk-widgets-editor-appearance-B4Q93899.js +0 -1
  532. package/dist/assets/volter-sdk-widgets-editor-material-C6dqUruc.js +0 -1
  533. package/dist/assets/volter-sdk-widgets-icon-set-registry-BOtjeU-M.js +0 -1
  534. package/dist/assets/volter-sdk-widgets-index-C2FSk2KK.js +0 -1
  535. package/dist/assets/volter-sdk-widgets-inspector-widgets-AlignmentGrid-ClaWmFsj.js +0 -1
  536. package/dist/assets/volter-sdk-widgets-inspector-widgets-AssetSlotPicker-DIoRDT6D.js +0 -1
  537. package/dist/assets/volter-sdk-widgets-inspector-widgets-BorderEditor-BcsoJNaT.js +0 -1
  538. package/dist/assets/volter-sdk-widgets-inspector-widgets-ColorPicker-p_xfUT04.js +0 -1
  539. package/dist/assets/volter-sdk-widgets-inspector-widgets-CurveEditor-RbGdt95N.js +0 -1
  540. package/dist/assets/volter-sdk-widgets-inspector-widgets-FontPicker-DxdmydaC.js +0 -1
  541. package/dist/assets/volter-sdk-widgets-inspector-widgets-GradientEditor-DZ0Z3l2P.js +0 -1
  542. package/dist/assets/volter-sdk-widgets-inspector-widgets-ScrubbableInput-Byy_M7hB.js +0 -1
  543. package/dist/assets/volter-sdk-widgets-inspector-widgets-ShadowEditor-C9aPdbrZ.js +0 -1
  544. package/dist/assets/volter-sdk-widgets-inspector-widgets-color-utils-BJStispK.js +0 -1
  545. package/dist/assets/volter-sdk-widgets-inspector-widgets-curve-utils-C_5eRE_F.js +0 -1
  546. package/dist/assets/volter-sdk-widgets-inspector-widgets-index-BA3S0eIV.js +0 -1
  547. package/dist/assets/volter-sdk-widgets-inspector-widgets-shared-DHHUQexs.js +0 -1
  548. package/dist/assets/volter-sdk-widgets-interactive-edit-scope-CjuUPrEv.js +0 -1
  549. package/dist/assets/volter-sdk-widgets-patterns-Dialog-CQggdCbk.js +0 -1
  550. package/dist/assets/volter-sdk-widgets-patterns-Fields-D38At0E9.js +0 -1
  551. package/dist/assets/volter-sdk-widgets-patterns-List-ewRDByTO.js +0 -1
  552. package/dist/assets/volter-sdk-widgets-patterns-StateSurface-C8YqnN-5.js +0 -1
  553. package/dist/assets/volter-sdk-widgets-patterns-Surfaces-BjFrm6Mc.js +0 -1
  554. package/dist/assets/volter-sdk-widgets-patterns-Tabs-JZq1ce4h.js +0 -1
  555. package/dist/assets/volter-sdk-widgets-patterns-Toolbar-Bf61fc1T.js +0 -1
  556. package/dist/assets/volter-sdk-widgets-patterns-Tree-CwuVbaxj.js +0 -1
  557. package/dist/assets/volter-sdk-widgets-primitives-AnchoredMenu-Ch2ujeLH.js +0 -1
  558. package/dist/assets/volter-sdk-widgets-primitives-Button-d2WNMADR.js +0 -1
  559. package/dist/assets/volter-sdk-widgets-primitives-ColorInput-DP0WkwNs.js +0 -1
  560. package/dist/assets/volter-sdk-widgets-primitives-DraftTextInput-D1g1A89b.js +0 -1
  561. package/dist/assets/volter-sdk-widgets-primitives-EditorIcon-DAjALCvl.js +0 -1
  562. package/dist/assets/volter-sdk-widgets-primitives-FormControls-KBDCYHsT.js +0 -1
  563. package/dist/assets/volter-sdk-widgets-primitives-HoverPreview-D2qUt6_z.js +0 -1
  564. package/dist/assets/volter-sdk-widgets-primitives-JsonInput-DLs3kN1L.js +0 -1
  565. package/dist/assets/volter-sdk-widgets-primitives-Layout-DshSsm_4.js +0 -1
  566. package/dist/assets/volter-sdk-widgets-primitives-Menu-Ch-3iDys.js +0 -1
  567. package/dist/assets/volter-sdk-widgets-primitives-NumberInput-pdAN4aF3.js +0 -1
  568. package/dist/assets/volter-sdk-widgets-primitives-Panel-BNFSUDwP.js +0 -1
  569. package/dist/assets/volter-sdk-widgets-primitives-SectionHeader-5Hv-rso1.js +0 -1
  570. package/dist/assets/volter-sdk-widgets-primitives-Text-CtWC8t_L.js +0 -1
  571. package/dist/assets/volter-sdk-widgets-primitives-ThemeRootPortal-h0iinIvj.js +0 -1
  572. package/dist/assets/volter-sdk-widgets-primitives-Tooltip-Cllx19nM.js +0 -1
  573. package/dist/assets/volter-sdk-widgets-primitives-Vec3Input-CurGarFa.js +0 -1
  574. package/dist/assets/volter-sdk-widgets-primitives-clamp-to-viewport-0YxAdd5O.js +0 -1
  575. package/dist/assets/volter-sdk-widgets-primitives-editor-icons-ExQE8_SP.js +0 -1
  576. package/dist/assets/volter-sdk-widgets-primitives-panel-header-styles-DGmxyx4E.js +0 -1
  577. package/dist/assets/volter-sdk-widgets-theme-DOfZnIVM.js +0 -1
  578. package/dist/assets/volter-sdk-widgets-z-index-BpB2pf-w.js +0 -1
  579. package/dist/assets/volter-sdk-worker-call-metrics-Cdo-WjAp.js +0 -1
  580. package/dist/assets/volter-sdk-workspace-document-ids-CWVlaP7n.js +0 -1
  581. package/dist/assets/volter-sdk-workspace-document-registry-DoKaj8Fe.js +0 -1
  582. package/dist/assets/volter-sdk-workspace-document-restore-BOPAH61D.js +0 -1
  583. package/dist/assets/volter-sdk-workspace-static-panels-DZr1Q4n1.js +0 -1
  584. package/dist/assets/volter-sdk-workspace-status-registry-pIvpW3QR.js +0 -1
  585. package/dist/assets/volter-sdk-workspace-utility-registry-BRzyLcLs.js +0 -1
  586. package/dist/assets/volter-sdk-world-canvas-viewport-state-DeMws4Bu.js +0 -1
  587. package/dist/assets/volter-sdk-world-pan-state-Dpul1S4k.js +0 -1
  588. package/dist/assets/volter-sdk-write-pipe-vbjHAGKf.js +0 -1
  589. package/dist/assets/volter-shared-react-dom-client-B6uCXsbq.js +0 -1
  590. package/dist/assets/volter-shared-three-DSLGcAKx.js +0 -1
  591. package/dist/assets/worker-DeeaIXW_.js +0 -10
  592. package/src/contributions.d.ts +0 -9
  593. package/starter/game/client/index.tsx +0 -52
  594. package/starter/game/levels/GroundEnvironment.tsx +0 -15
  595. package/starter/game/levels/GroundLevel.tsx +0 -35
  596. package/starter/game/levels/ground.canvas.ts +0 -11
  597. package/starter/game/levels/ground.glb +0 -0
  598. package/starter/game/levels/ground.py +0 -142
@@ -1,1407 +0,0 @@
1
- function _p(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var hme=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ec(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function mme(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Qh={exports:{}},ue={};/**
2
- * @license React
3
- * react.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var L1;function IM(){if(L1)return ue;L1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),f=Symbol.iterator;function p(A){return A===null||typeof A!="object"?null:(A=f&&A[f]||A["@@iterator"],typeof A=="function"?A:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(A,$,M){this.props=A,this.context=$,this.refs=v,this.updater=M||h}g.prototype.isReactComponent={},g.prototype.setState=function(A,$){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,$,"setState")},g.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function E(){}E.prototype=g.prototype;function _(A,$,M){this.props=A,this.context=$,this.refs=v,this.updater=M||h}var x=_.prototype=new E;x.constructor=_,m(x,g.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function y(){}var b={H:null,A:null,T:null,S:null},w=Object.prototype.hasOwnProperty;function C(A,$,M){var K=M.ref;return{$$typeof:e,type:A,key:$,ref:K!==void 0?K:null,props:M}}function N(A,$){return C(A.type,$,A.props)}function q(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function z(A){var $={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(M){return $[M]})}var F=/\/+/g;function T(A,$){return typeof A=="object"&&A!==null&&A.key!=null?z(""+A.key):$.toString(36)}function k(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(y,y):(A.status="pending",A.then(function($){A.status==="pending"&&(A.status="fulfilled",A.value=$)},function($){A.status==="pending"&&(A.status="rejected",A.reason=$)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function I(A,$,M,K,L){var D=typeof A;(D==="undefined"||D==="boolean")&&(A=null);var Y=!1;if(A===null)Y=!0;else switch(D){case"bigint":case"string":case"number":Y=!0;break;case"object":switch(A.$$typeof){case e:case t:Y=!0;break;case c:return Y=A._init,I(Y(A._payload),$,M,K,L)}}if(Y)return L=L(A),Y=K===""?"."+T(A,0):K,S(L)?(M="",Y!=null&&(M=Y.replace(F,"$&/")+"/"),I(L,$,M,"",function(ee){return ee})):L!=null&&(q(L)&&(L=N(L,M+(L.key==null||A&&A.key===L.key?"":(""+L.key).replace(F,"$&/")+"/")+Y)),$.push(L)),1;Y=0;var ne=K===""?".":K+":";if(S(A))for(var j=0;j<A.length;j++)K=A[j],D=ne+T(K,j),Y+=I(K,$,M,D,L);else if(j=p(A),typeof j=="function")for(A=j.call(A),j=0;!(K=A.next()).done;)K=K.value,D=ne+T(K,j++),Y+=I(K,$,M,D,L);else if(D==="object"){if(typeof A.then=="function")return I(k(A),$,M,K,L);throw $=String(A),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return Y}function U(A,$,M){if(A==null)return A;var K=[],L=0;return I(A,K,"","",function(D){return $.call(M,D,L++)}),K}function G(A){if(A._status===-1){var $=A._result;$=$(),$.then(function(M){(A._status===0||A._status===-1)&&(A._status=1,A._result=M)},function(M){(A._status===0||A._status===-1)&&(A._status=2,A._result=M)}),A._status===-1&&(A._status=0,A._result=$)}if(A._status===1)return A._result.default;throw A._result}var X=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent($))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},Z={map:U,forEach:function(A,$,M){U(A,function(){$.apply(this,arguments)},M)},count:function(A){var $=0;return U(A,function(){$++}),$},toArray:function(A){return U(A,function($){return $})||[]},only:function(A){if(!q(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return ue.Activity=d,ue.Children=Z,ue.Component=g,ue.Fragment=r,ue.Profiler=o,ue.PureComponent=_,ue.StrictMode=n,ue.Suspense=u,ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,ue.__COMPILER_RUNTIME={__proto__:null,c:function(A){return b.H.useMemoCache(A)}},ue.cache=function(A){return function(){return A.apply(null,arguments)}},ue.cacheSignal=function(){return null},ue.cloneElement=function(A,$,M){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var K=m({},A.props),L=A.key;if($!=null)for(D in $.key!==void 0&&(L=""+$.key),$)!w.call($,D)||D==="key"||D==="__self"||D==="__source"||D==="ref"&&$.ref===void 0||(K[D]=$[D]);var D=arguments.length-2;if(D===1)K.children=M;else if(1<D){for(var Y=Array(D),ne=0;ne<D;ne++)Y[ne]=arguments[ne+2];K.children=Y}return C(A.type,L,K)},ue.createContext=function(A){return A={$$typeof:a,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:i,_context:A},A},ue.createElement=function(A,$,M){var K,L={},D=null;if($!=null)for(K in $.key!==void 0&&(D=""+$.key),$)w.call($,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(L[K]=$[K]);var Y=arguments.length-2;if(Y===1)L.children=M;else if(1<Y){for(var ne=Array(Y),j=0;j<Y;j++)ne[j]=arguments[j+2];L.children=ne}if(A&&A.defaultProps)for(K in Y=A.defaultProps,Y)L[K]===void 0&&(L[K]=Y[K]);return C(A,D,L)},ue.createRef=function(){return{current:null}},ue.forwardRef=function(A){return{$$typeof:s,render:A}},ue.isValidElement=q,ue.lazy=function(A){return{$$typeof:c,_payload:{_status:-1,_result:A},_init:G}},ue.memo=function(A,$){return{$$typeof:l,type:A,compare:$===void 0?null:$}},ue.startTransition=function(A){var $=b.T,M={};b.T=M;try{var K=A(),L=b.S;L!==null&&L(M,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(y,X)}catch(D){X(D)}finally{$!==null&&M.types!==null&&($.types=M.types),b.T=$}},ue.unstable_useCacheRefresh=function(){return b.H.useCacheRefresh()},ue.use=function(A){return b.H.use(A)},ue.useActionState=function(A,$,M){return b.H.useActionState(A,$,M)},ue.useCallback=function(A,$){return b.H.useCallback(A,$)},ue.useContext=function(A){return b.H.useContext(A)},ue.useDebugValue=function(){},ue.useDeferredValue=function(A,$){return b.H.useDeferredValue(A,$)},ue.useEffect=function(A,$){return b.H.useEffect(A,$)},ue.useEffectEvent=function(A){return b.H.useEffectEvent(A)},ue.useId=function(){return b.H.useId()},ue.useImperativeHandle=function(A,$,M){return b.H.useImperativeHandle(A,$,M)},ue.useInsertionEffect=function(A,$){return b.H.useInsertionEffect(A,$)},ue.useLayoutEffect=function(A,$){return b.H.useLayoutEffect(A,$)},ue.useMemo=function(A,$){return b.H.useMemo(A,$)},ue.useOptimistic=function(A,$){return b.H.useOptimistic(A,$)},ue.useReducer=function(A,$,M){return b.H.useReducer(A,$,M)},ue.useRef=function(A){return b.H.useRef(A)},ue.useState=function(A){return b.H.useState(A)},ue.useSyncExternalStore=function(A,$,M){return b.H.useSyncExternalStore(A,$,M)},ue.useTransition=function(){return b.H.useTransition()},ue.version="19.2.7",ue}var F1;function rC(){return F1||(F1=1,Qh.exports=IM()),Qh.exports}var H=rC();const Sp=Ec(H),gme=_p({__proto__:null,default:Sp},[H]);/*!
10
- * Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
11
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
12
- * Copyright 2026 Fonticons, Inc.
13
- */function Rg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function jM(e){if(Array.isArray(e))return e}function DM(e){if(Array.isArray(e))return Rg(e)}function LM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,nC(n.key),n)}}function BM(e,t,r){return t&&FM(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Id(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dy(e))||t){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return a=u.done,u},e:function(u){s=!0,i=u},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw i}}}}function fe(e,t,r){return(t=nC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HM(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,s=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(c){l=!0,o=c}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}function UM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
15
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function VM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
16
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?B1(Object(r),!0).forEach(function(n){fe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B1(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Rp(e,t){return jM(e)||HM(e,t)||dy(e,t)||UM()}function cr(e){return DM(e)||zM(e)||dy(e)||VM()}function WM(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nC(e){var t=WM(e,"string");return typeof t=="symbol"?t:t+""}function _f(e){"@babel/helpers - typeof";return _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_f(e)}function dy(e,t){if(e){if(typeof e=="string")return Rg(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rg(e,t):void 0}}var z1=function(){},fy={},oC={},iC=null,aC={mark:z1,measure:z1};try{typeof window<"u"&&(fy=window),typeof document<"u"&&(oC=document),typeof MutationObserver<"u"&&(iC=MutationObserver),typeof performance<"u"&&(aC=performance)}catch{}var GM=fy.navigator||{},H1=GM.userAgent,U1=H1===void 0?"":H1,Fn=fy,Le=oC,V1=iC,ed=aC;Fn.document;var pn=!!Le.documentElement&&!!Le.head&&typeof Le.addEventListener=="function"&&typeof Le.createElement=="function",sC=~U1.indexOf("MSIE")||~U1.indexOf("Trident/"),em,KM=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|gt|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,YM=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Graphite|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i,lC={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},graphite:{"fa-thin":"thin",fagt:"thin"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},ZM={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},uC=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-graphite","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],ht="classic",_c="duotone",cC="sharp",dC="sharp-duotone",fC="chisel",pC="etch",hC="graphite",mC="jelly",gC="jelly-duo",bC="jelly-fill",vC="notdog",yC="notdog-duo",wC="slab",EC="slab-press",_C="thumbprint",SC="utility",RC="utility-duo",xC="utility-fill",CC="whiteboard",JM="Classic",XM="Duotone",QM="Sharp",eN="Sharp Duotone",tN="Chisel",rN="Etch",nN="Graphite",oN="Jelly",iN="Jelly Duo",aN="Jelly Fill",sN="Notdog",lN="Notdog Duo",uN="Slab",cN="Slab Press",dN="Thumbprint",fN="Utility",pN="Utility Duo",hN="Utility Fill",mN="Whiteboard",AC=[ht,_c,cC,dC,fC,pC,hC,mC,gC,bC,vC,yC,wC,EC,_C,SC,RC,xC,CC];em={},fe(fe(fe(fe(fe(fe(fe(fe(fe(fe(em,ht,JM),_c,XM),cC,QM),dC,eN),fC,tN),pC,rN),hC,nN),mC,oN),gC,iN),bC,aN),fe(fe(fe(fe(fe(fe(fe(fe(fe(em,vC,sN),yC,lN),wC,uN),EC,cN),_C,dN),SC,fN),RC,pN),xC,hN),CC,mN);var gN={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},graphite:{100:"fagt"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}},bN={"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Graphite":{100:"fagt",normal:"fagt"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}},vN=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["graphite",{defaultShortPrefixId:"fagt",defaultStyleId:"thin",styleIds:["thin"],futureStyleIds:[],defaultFontWeight:100}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),yN={chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},graphite:{thin:"fagt"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}},PC=["fak","fa-kit","fakd","fa-kit-duotone"],W1={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},wN=["kit"],EN="kit",_N="kit-duotone",SN="Kit",RN="Kit Duotone";fe(fe({},EN,SN),_N,RN);var xN={kit:{"fa-kit":"fak"}},CN={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},AN={kit:{fak:"fa-kit"}},G1={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},tm,td={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},PN=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-graphite","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],TN="classic",ON="duotone",$N="sharp",qN="sharp-duotone",kN="chisel",MN="etch",NN="graphite",IN="jelly",jN="jelly-duo",DN="jelly-fill",LN="notdog",FN="notdog-duo",BN="slab",zN="slab-press",HN="thumbprint",UN="utility",VN="utility-duo",WN="utility-fill",GN="whiteboard",KN="Classic",YN="Duotone",ZN="Sharp",JN="Sharp Duotone",XN="Chisel",QN="Etch",eI="Graphite",tI="Jelly",rI="Jelly Duo",nI="Jelly Fill",oI="Notdog",iI="Notdog Duo",aI="Slab",sI="Slab Press",lI="Thumbprint",uI="Utility",cI="Utility Duo",dI="Utility Fill",fI="Whiteboard";tm={},fe(fe(fe(fe(fe(fe(fe(fe(fe(fe(tm,TN,KN),ON,YN),$N,ZN),qN,JN),kN,XN),MN,QN),NN,eI),IN,tI),jN,rI),DN,nI),fe(fe(fe(fe(fe(fe(fe(fe(fe(tm,LN,oI),FN,iI),BN,aI),zN,sI),HN,lI),UN,uI),VN,cI),WN,dI),GN,fI);var pI="kit",hI="kit-duotone",mI="Kit",gI="Kit Duotone";fe(fe({},pI,mI),hI,gI);var bI={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},graphite:{"fa-thin":"fagt"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}},vI={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],graphite:["fagt"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]},xg={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},graphite:{fagt:"fa-thin"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},yI=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"],TC=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fagt","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(PN,yI),wI=["solid","regular","light","thin","duotone","brands","semibold"],OC=[1,2,3,4,5,6,7,8,9,10],EI=OC.concat([11,12,13,14,15,16,17,18,19,20]),_I=["aw","fw","pull-left","pull-right"],SI=[].concat(cr(Object.keys(vI)),wI,_I,["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",td.GROUP,td.SWAP_OPACITY,td.PRIMARY,td.SECONDARY]).concat(OC.map(function(e){return"".concat(e,"x")})).concat(EI.map(function(e){return"w-".concat(e)})),RI={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}},un="___FONT_AWESOME___",Cg=16,$C="fa",qC="svg-inline--fa",Ro="data-fa-i2svg",Ag="data-fa-pseudo-element",xI="data-fa-pseudo-element-pending",py="data-prefix",hy="data-icon",K1="fontawesome-i2svg",CI="async",AI=["HTML","HEAD","STYLE","SCRIPT"],kC=["::before","::after",":before",":after"],MC=(function(){try{return!0}catch{return!1}})();function Sc(e){return new Proxy(e,{get:function(r,n){return n in r?r[n]:r[ht]}})}var NC=Q({},lC);NC[ht]=Q(Q(Q(Q({},{"fa-duotone":"duotone"}),lC[ht]),W1.kit),W1["kit-duotone"]);var PI=Sc(NC),Pg=Q({},yN);Pg[ht]=Q(Q(Q(Q({},{duotone:"fad"}),Pg[ht]),G1.kit),G1["kit-duotone"]);var Y1=Sc(Pg),Tg=Q({},xg);Tg[ht]=Q(Q({},Tg[ht]),AN.kit);var my=Sc(Tg),Og=Q({},bI);Og[ht]=Q(Q({},Og[ht]),xN.kit);Sc(Og);var TI=KM,IC="fa-layers-text",OI=YM,$I=Q({},gN);Sc($I);var qI=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],rm=ZM,kI=[].concat(cr(wN),cr(SI)),xu=Fn.FontAwesomeConfig||{};function MI(e){var t=Le.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function NI(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(Le&&typeof Le.querySelector=="function"){var II=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];II.forEach(function(e){var t=Rp(e,2),r=t[0],n=t[1],o=NI(MI(r));o!=null&&(xu[n]=o)})}var jC={styleDefault:"solid",familyDefault:ht,cssPrefix:$C,replacementClass:qC,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};xu.familyPrefix&&(xu.cssPrefix=xu.familyPrefix);var yi=Q(Q({},jC),xu);yi.autoReplaceSvg||(yi.observeMutations=!1);var ie={};Object.keys(jC).forEach(function(e){Object.defineProperty(ie,e,{enumerable:!0,set:function(r){yi[e]=r,Cu.forEach(function(n){return n(ie)})},get:function(){return yi[e]}})});Object.defineProperty(ie,"familyPrefix",{enumerable:!0,set:function(t){yi.cssPrefix=t,Cu.forEach(function(r){return r(ie)})},get:function(){return yi.cssPrefix}});Fn.FontAwesomeConfig=ie;var Cu=[];function jI(e){return Cu.push(e),function(){Cu.splice(Cu.indexOf(e),1)}}var Bo=Cg,Sr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function DI(e){if(!(!e||!pn)){var t=Le.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var r=Le.head.childNodes,n=null,o=r.length-1;o>-1;o--){var i=r[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(n=i)}return Le.head.insertBefore(t,n),e}}var LI="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Z1(){for(var e=12,t="";e-- >0;)t+=LI[Math.random()*62|0];return t}function Hi(e){for(var t=[],r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function gy(e){return e.classList?Hi(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function DC(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function FI(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,'="').concat(DC(e[r]),'" ')},"").trim()}function xp(e){return Object.keys(e||{}).reduce(function(t,r){return t+"".concat(r,": ").concat(e[r].trim(),";")},"")}function by(e){return e.size!==Sr.size||e.x!==Sr.x||e.y!==Sr.y||e.rotate!==Sr.rotate||e.flipX||e.flipY}function BI(e){var t=e.transform,r=e.containerWidth,n=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),u={transform:"".concat(i," ").concat(a," ").concat(s)},l={transform:"translate(".concat(n/2*-1," -256)")};return{outer:o,inner:u,path:l}}function zI(e){var t=e.transform,r=e.width,n=r===void 0?Cg:r,o=e.height,i=o===void 0?Cg:o,a="";return sC?a+="translate(".concat(t.x/Bo-n/2,"em, ").concat(t.y/Bo-i/2,"em) "):a+="translate(calc(-50% + ".concat(t.x/Bo,"em), calc(-50% + ").concat(t.y/Bo,"em)) "),a+="scale(".concat(t.size/Bo*(t.flipX?-1:1),", ").concat(t.size/Bo*(t.flipY?-1:1),") "),a+="rotate(".concat(t.rotate,"deg) "),a}var HI=`:root, :host {
17
- --fa-font-solid: normal 900 1em/1 'Font Awesome 7 Free';
18
- --fa-font-regular: normal 400 1em/1 'Font Awesome 7 Free';
19
- --fa-font-light: normal 300 1em/1 'Font Awesome 7 Pro';
20
- --fa-font-thin: normal 100 1em/1 'Font Awesome 7 Pro';
21
- --fa-font-duotone: normal 900 1em/1 'Font Awesome 7 Duotone';
22
- --fa-font-duotone-regular: normal 400 1em/1 'Font Awesome 7 Duotone';
23
- --fa-font-duotone-light: normal 300 1em/1 'Font Awesome 7 Duotone';
24
- --fa-font-duotone-thin: normal 100 1em/1 'Font Awesome 7 Duotone';
25
- --fa-font-brands: normal 400 1em/1 'Font Awesome 7 Brands';
26
- --fa-font-sharp-solid: normal 900 1em/1 'Font Awesome 7 Sharp';
27
- --fa-font-sharp-regular: normal 400 1em/1 'Font Awesome 7 Sharp';
28
- --fa-font-sharp-light: normal 300 1em/1 'Font Awesome 7 Sharp';
29
- --fa-font-sharp-thin: normal 100 1em/1 'Font Awesome 7 Sharp';
30
- --fa-font-sharp-duotone-solid: normal 900 1em/1 'Font Awesome 7 Sharp Duotone';
31
- --fa-font-sharp-duotone-regular: normal 400 1em/1 'Font Awesome 7 Sharp Duotone';
32
- --fa-font-sharp-duotone-light: normal 300 1em/1 'Font Awesome 7 Sharp Duotone';
33
- --fa-font-sharp-duotone-thin: normal 100 1em/1 'Font Awesome 7 Sharp Duotone';
34
- --fa-font-slab-regular: normal 400 1em/1 'Font Awesome 7 Slab';
35
- --fa-font-slab-press-regular: normal 400 1em/1 'Font Awesome 7 Slab Press';
36
- --fa-font-whiteboard-semibold: normal 600 1em/1 'Font Awesome 7 Whiteboard';
37
- --fa-font-thumbprint-light: normal 300 1em/1 'Font Awesome 7 Thumbprint';
38
- --fa-font-notdog-solid: normal 900 1em/1 'Font Awesome 7 Notdog';
39
- --fa-font-notdog-duo-solid: normal 900 1em/1 'Font Awesome 7 Notdog Duo';
40
- --fa-font-etch-solid: normal 900 1em/1 'Font Awesome 7 Etch';
41
- --fa-font-graphite-thin: normal 100 1em/1 'Font Awesome 7 Graphite';
42
- --fa-font-jelly-regular: normal 400 1em/1 'Font Awesome 7 Jelly';
43
- --fa-font-jelly-fill-regular: normal 400 1em/1 'Font Awesome 7 Jelly Fill';
44
- --fa-font-jelly-duo-regular: normal 400 1em/1 'Font Awesome 7 Jelly Duo';
45
- --fa-font-chisel-regular: normal 400 1em/1 'Font Awesome 7 Chisel';
46
- --fa-font-utility-semibold: normal 600 1em/1 'Font Awesome 7 Utility';
47
- --fa-font-utility-duo-semibold: normal 600 1em/1 'Font Awesome 7 Utility Duo';
48
- --fa-font-utility-fill-semibold: normal 600 1em/1 'Font Awesome 7 Utility Fill';
49
- }
50
-
51
- .svg-inline--fa {
52
- box-sizing: content-box;
53
- display: var(--fa-display, inline-block);
54
- height: 1em;
55
- overflow: visible;
56
- vertical-align: -0.125em;
57
- width: var(--fa-width, 1.25em);
58
- }
59
- .svg-inline--fa.fa-2xs {
60
- vertical-align: 0.1em;
61
- }
62
- .svg-inline--fa.fa-xs {
63
- vertical-align: 0em;
64
- }
65
- .svg-inline--fa.fa-sm {
66
- vertical-align: -0.0714285714em;
67
- }
68
- .svg-inline--fa.fa-lg {
69
- vertical-align: -0.2em;
70
- }
71
- .svg-inline--fa.fa-xl {
72
- vertical-align: -0.25em;
73
- }
74
- .svg-inline--fa.fa-2xl {
75
- vertical-align: -0.3125em;
76
- }
77
- .svg-inline--fa.fa-pull-left,
78
- .svg-inline--fa .fa-pull-start {
79
- float: inline-start;
80
- margin-inline-end: var(--fa-pull-margin, 0.3em);
81
- }
82
- .svg-inline--fa.fa-pull-right,
83
- .svg-inline--fa .fa-pull-end {
84
- float: inline-end;
85
- margin-inline-start: var(--fa-pull-margin, 0.3em);
86
- }
87
- .svg-inline--fa.fa-li {
88
- width: var(--fa-li-width, 2em);
89
- inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
90
- inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */
91
- }
92
-
93
- .fa-layers-counter, .fa-layers-text {
94
- display: inline-block;
95
- position: absolute;
96
- text-align: center;
97
- }
98
-
99
- .fa-layers {
100
- display: inline-block;
101
- height: 1em;
102
- position: relative;
103
- text-align: center;
104
- vertical-align: -0.125em;
105
- width: var(--fa-width, 1.25em);
106
- }
107
- .fa-layers .svg-inline--fa {
108
- inset: 0;
109
- margin: auto;
110
- position: absolute;
111
- transform-origin: center center;
112
- }
113
-
114
- .fa-layers-text {
115
- left: 50%;
116
- top: 50%;
117
- transform: translate(-50%, -50%);
118
- transform-origin: center center;
119
- }
120
-
121
- .fa-layers-counter {
122
- background-color: var(--fa-counter-background-color, #ff253a);
123
- border-radius: var(--fa-counter-border-radius, 1em);
124
- box-sizing: border-box;
125
- color: var(--fa-inverse, #fff);
126
- line-height: var(--fa-counter-line-height, 1);
127
- max-width: var(--fa-counter-max-width, 5em);
128
- min-width: var(--fa-counter-min-width, 1.5em);
129
- overflow: hidden;
130
- padding: var(--fa-counter-padding, 0.25em 0.5em);
131
- right: var(--fa-right, 0);
132
- text-overflow: ellipsis;
133
- top: var(--fa-top, 0);
134
- transform: scale(var(--fa-counter-scale, 0.25));
135
- transform-origin: top right;
136
- }
137
-
138
- .fa-layers-bottom-right {
139
- bottom: var(--fa-bottom, 0);
140
- right: var(--fa-right, 0);
141
- top: auto;
142
- transform: scale(var(--fa-layers-scale, 0.25));
143
- transform-origin: bottom right;
144
- }
145
-
146
- .fa-layers-bottom-left {
147
- bottom: var(--fa-bottom, 0);
148
- left: var(--fa-left, 0);
149
- right: auto;
150
- top: auto;
151
- transform: scale(var(--fa-layers-scale, 0.25));
152
- transform-origin: bottom left;
153
- }
154
-
155
- .fa-layers-top-right {
156
- top: var(--fa-top, 0);
157
- right: var(--fa-right, 0);
158
- transform: scale(var(--fa-layers-scale, 0.25));
159
- transform-origin: top right;
160
- }
161
-
162
- .fa-layers-top-left {
163
- left: var(--fa-left, 0);
164
- right: auto;
165
- top: var(--fa-top, 0);
166
- transform: scale(var(--fa-layers-scale, 0.25));
167
- transform-origin: top left;
168
- }
169
-
170
- .fa-1x {
171
- font-size: 1em;
172
- }
173
-
174
- .fa-2x {
175
- font-size: 2em;
176
- }
177
-
178
- .fa-3x {
179
- font-size: 3em;
180
- }
181
-
182
- .fa-4x {
183
- font-size: 4em;
184
- }
185
-
186
- .fa-5x {
187
- font-size: 5em;
188
- }
189
-
190
- .fa-6x {
191
- font-size: 6em;
192
- }
193
-
194
- .fa-7x {
195
- font-size: 7em;
196
- }
197
-
198
- .fa-8x {
199
- font-size: 8em;
200
- }
201
-
202
- .fa-9x {
203
- font-size: 9em;
204
- }
205
-
206
- .fa-10x {
207
- font-size: 10em;
208
- }
209
-
210
- .fa-2xs {
211
- font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that's relative to the scale's 16px base */
212
- line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it's parent */
213
- vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
214
- }
215
-
216
- .fa-xs {
217
- font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that's relative to the scale's 16px base */
218
- line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it's parent */
219
- vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
220
- }
221
-
222
- .fa-sm {
223
- font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that's relative to the scale's 16px base */
224
- line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it's parent */
225
- vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
226
- }
227
-
228
- .fa-lg {
229
- font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that's relative to the scale's 16px base */
230
- line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it's parent */
231
- vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
232
- }
233
-
234
- .fa-xl {
235
- font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that's relative to the scale's 16px base */
236
- line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it's parent */
237
- vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
238
- }
239
-
240
- .fa-2xl {
241
- font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that's relative to the scale's 16px base */
242
- line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it's parent */
243
- vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text's descender */
244
- }
245
-
246
- .fa-width-auto {
247
- --fa-width: auto;
248
- }
249
-
250
- .fa-fw,
251
- .fa-width-fixed {
252
- --fa-width: 1.25em;
253
- }
254
-
255
- .fa-ul {
256
- list-style-type: none;
257
- margin-inline-start: var(--fa-li-margin, 2.5em);
258
- padding-inline-start: 0;
259
- }
260
- .fa-ul > li {
261
- position: relative;
262
- }
263
-
264
- .fa-li {
265
- inset-inline-start: calc(-1 * var(--fa-li-width, 2em));
266
- position: absolute;
267
- text-align: center;
268
- width: var(--fa-li-width, 2em);
269
- line-height: inherit;
270
- }
271
-
272
- /* Heads Up: Bordered Icons will not be supported in the future!
273
- - This feature will be deprecated in the next major release of Font Awesome (v8)!
274
- - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
275
- */
276
- /* Notes:
277
- * --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
278
- * --@{v.$css-prefix}-border-padding =
279
- ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
280
- ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
281
- */
282
- .fa-border {
283
- border-color: var(--fa-border-color, #eee);
284
- border-radius: var(--fa-border-radius, 0.1em);
285
- border-style: var(--fa-border-style, solid);
286
- border-width: var(--fa-border-width, 0.0625em);
287
- box-sizing: var(--fa-border-box-sizing, content-box);
288
- padding: var(--fa-border-padding, 0.1875em 0.25em);
289
- }
290
-
291
- .fa-pull-left,
292
- .fa-pull-start {
293
- float: inline-start;
294
- margin-inline-end: var(--fa-pull-margin, 0.3em);
295
- }
296
-
297
- .fa-pull-right,
298
- .fa-pull-end {
299
- float: inline-end;
300
- margin-inline-start: var(--fa-pull-margin, 0.3em);
301
- }
302
-
303
- .fa-beat {
304
- animation-name: fa-beat;
305
- animation-delay: var(--fa-animation-delay, 0s);
306
- animation-direction: var(--fa-animation-direction, normal);
307
- animation-duration: var(--fa-animation-duration, 1s);
308
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
309
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
310
- }
311
-
312
- .fa-bounce {
313
- animation-name: fa-bounce;
314
- animation-delay: var(--fa-animation-delay, 0s);
315
- animation-direction: var(--fa-animation-direction, normal);
316
- animation-duration: var(--fa-animation-duration, 1s);
317
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
318
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
319
- }
320
-
321
- .fa-fade {
322
- animation-name: fa-fade;
323
- animation-delay: var(--fa-animation-delay, 0s);
324
- animation-direction: var(--fa-animation-direction, normal);
325
- animation-duration: var(--fa-animation-duration, 1s);
326
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
327
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
328
- }
329
-
330
- .fa-beat-fade {
331
- animation-name: fa-beat-fade;
332
- animation-delay: var(--fa-animation-delay, 0s);
333
- animation-direction: var(--fa-animation-direction, normal);
334
- animation-duration: var(--fa-animation-duration, 1s);
335
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
336
- animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
337
- }
338
-
339
- .fa-flip {
340
- animation-name: fa-flip;
341
- animation-delay: var(--fa-animation-delay, 0s);
342
- animation-direction: var(--fa-animation-direction, normal);
343
- animation-duration: var(--fa-animation-duration, 1s);
344
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
345
- animation-timing-function: var(--fa-animation-timing, ease-in-out);
346
- }
347
-
348
- .fa-shake {
349
- animation-name: fa-shake;
350
- animation-delay: var(--fa-animation-delay, 0s);
351
- animation-direction: var(--fa-animation-direction, normal);
352
- animation-duration: var(--fa-animation-duration, 1s);
353
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
354
- animation-timing-function: var(--fa-animation-timing, linear);
355
- }
356
-
357
- .fa-spin {
358
- animation-name: fa-spin;
359
- animation-delay: var(--fa-animation-delay, 0s);
360
- animation-direction: var(--fa-animation-direction, normal);
361
- animation-duration: var(--fa-animation-duration, 2s);
362
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
363
- animation-timing-function: var(--fa-animation-timing, linear);
364
- }
365
-
366
- .fa-spin-reverse {
367
- --fa-animation-direction: reverse;
368
- }
369
-
370
- .fa-pulse,
371
- .fa-spin-pulse {
372
- animation-name: fa-spin;
373
- animation-direction: var(--fa-animation-direction, normal);
374
- animation-duration: var(--fa-animation-duration, 1s);
375
- animation-iteration-count: var(--fa-animation-iteration-count, infinite);
376
- animation-timing-function: var(--fa-animation-timing, steps(8));
377
- }
378
-
379
- @media (prefers-reduced-motion: reduce) {
380
- .fa-beat,
381
- .fa-bounce,
382
- .fa-fade,
383
- .fa-beat-fade,
384
- .fa-flip,
385
- .fa-pulse,
386
- .fa-shake,
387
- .fa-spin,
388
- .fa-spin-pulse {
389
- animation: none !important;
390
- transition: none !important;
391
- }
392
- }
393
- @keyframes fa-beat {
394
- 0%, 90% {
395
- transform: scale(1);
396
- }
397
- 45% {
398
- transform: scale(var(--fa-beat-scale, 1.25));
399
- }
400
- }
401
- @keyframes fa-bounce {
402
- 0% {
403
- transform: scale(1, 1) translateY(0);
404
- }
405
- 10% {
406
- transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
407
- }
408
- 30% {
409
- transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
410
- }
411
- 50% {
412
- transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
413
- }
414
- 57% {
415
- transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
416
- }
417
- 64% {
418
- transform: scale(1, 1) translateY(0);
419
- }
420
- 100% {
421
- transform: scale(1, 1) translateY(0);
422
- }
423
- }
424
- @keyframes fa-fade {
425
- 50% {
426
- opacity: var(--fa-fade-opacity, 0.4);
427
- }
428
- }
429
- @keyframes fa-beat-fade {
430
- 0%, 100% {
431
- opacity: var(--fa-beat-fade-opacity, 0.4);
432
- transform: scale(1);
433
- }
434
- 50% {
435
- opacity: 1;
436
- transform: scale(var(--fa-beat-fade-scale, 1.125));
437
- }
438
- }
439
- @keyframes fa-flip {
440
- 50% {
441
- transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
442
- }
443
- }
444
- @keyframes fa-shake {
445
- 0% {
446
- transform: rotate(-15deg);
447
- }
448
- 4% {
449
- transform: rotate(15deg);
450
- }
451
- 8%, 24% {
452
- transform: rotate(-18deg);
453
- }
454
- 12%, 28% {
455
- transform: rotate(18deg);
456
- }
457
- 16% {
458
- transform: rotate(-22deg);
459
- }
460
- 20% {
461
- transform: rotate(22deg);
462
- }
463
- 32% {
464
- transform: rotate(-12deg);
465
- }
466
- 36% {
467
- transform: rotate(12deg);
468
- }
469
- 40%, 100% {
470
- transform: rotate(0deg);
471
- }
472
- }
473
- @keyframes fa-spin {
474
- 0% {
475
- transform: rotate(0deg);
476
- }
477
- 100% {
478
- transform: rotate(360deg);
479
- }
480
- }
481
- .fa-rotate-90 {
482
- transform: rotate(90deg);
483
- }
484
-
485
- .fa-rotate-180 {
486
- transform: rotate(180deg);
487
- }
488
-
489
- .fa-rotate-270 {
490
- transform: rotate(270deg);
491
- }
492
-
493
- .fa-flip-horizontal {
494
- transform: scale(-1, 1);
495
- }
496
-
497
- .fa-flip-vertical {
498
- transform: scale(1, -1);
499
- }
500
-
501
- .fa-flip-both,
502
- .fa-flip-horizontal.fa-flip-vertical {
503
- transform: scale(-1, -1);
504
- }
505
-
506
- .fa-rotate-by {
507
- transform: rotate(var(--fa-rotate-angle, 0));
508
- }
509
-
510
- .svg-inline--fa .fa-primary {
511
- fill: var(--fa-primary-color, currentColor);
512
- opacity: var(--fa-primary-opacity, 1);
513
- }
514
-
515
- .svg-inline--fa .fa-secondary {
516
- fill: var(--fa-secondary-color, currentColor);
517
- opacity: var(--fa-secondary-opacity, 0.4);
518
- }
519
-
520
- .svg-inline--fa.fa-swap-opacity .fa-primary {
521
- opacity: var(--fa-secondary-opacity, 0.4);
522
- }
523
-
524
- .svg-inline--fa.fa-swap-opacity .fa-secondary {
525
- opacity: var(--fa-primary-opacity, 1);
526
- }
527
-
528
- .svg-inline--fa mask .fa-primary,
529
- .svg-inline--fa mask .fa-secondary {
530
- fill: black;
531
- }
532
-
533
- .svg-inline--fa.fa-inverse {
534
- fill: var(--fa-inverse, #fff);
535
- }
536
-
537
- .fa-stack {
538
- display: inline-block;
539
- height: 2em;
540
- line-height: 2em;
541
- position: relative;
542
- vertical-align: middle;
543
- width: 2.5em;
544
- }
545
-
546
- .fa-inverse {
547
- color: var(--fa-inverse, #fff);
548
- }
549
-
550
- .svg-inline--fa.fa-stack-1x {
551
- --fa-width: 1.25em;
552
- height: 1em;
553
- width: var(--fa-width);
554
- }
555
- .svg-inline--fa.fa-stack-2x {
556
- --fa-width: 2.5em;
557
- height: 2em;
558
- width: var(--fa-width);
559
- }
560
-
561
- .fa-stack-1x,
562
- .fa-stack-2x {
563
- inset: 0;
564
- margin: auto;
565
- position: absolute;
566
- z-index: var(--fa-stack-z-index, auto);
567
- }`;function LC(){var e=$C,t=qC,r=ie.cssPrefix,n=ie.replacementClass,o=HI;if(r!==e||n!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(r,"-")).replace(a,"--".concat(r,"-")).replace(s,".".concat(n))}return o}var J1=!1;function nm(){ie.autoAddCss&&!J1&&(DI(LC()),J1=!0)}var UI={mixout:function(){return{dom:{css:LC,insertCss:nm}}},hooks:function(){return{beforeDOMElementCreation:function(){nm()},beforeI2svg:function(){nm()}}}},cn=Fn||{};cn[un]||(cn[un]={});cn[un].styles||(cn[un].styles={});cn[un].hooks||(cn[un].hooks={});cn[un].shims||(cn[un].shims=[]);var lr=cn[un],FC=[],BC=function(){Le.removeEventListener("DOMContentLoaded",BC),Sf=1,FC.map(function(t){return t()})},Sf=!1;pn&&(Sf=(Le.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Le.readyState),Sf||Le.addEventListener("DOMContentLoaded",BC));function VI(e){pn&&(Sf?setTimeout(e,0):FC.push(e))}function Rc(e){var t=e.tag,r=e.attributes,n=r===void 0?{}:r,o=e.children,i=o===void 0?[]:o;return typeof e=="string"?DC(e):"<".concat(t," ").concat(FI(n),">").concat(i.map(Rc).join(""),"</").concat(t,">")}function X1(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var om=function(t,r,n,o){var i=Object.keys(t),a=i.length,s=r,u,l,c;for(n===void 0?(u=1,c=t[i[0]]):(u=0,c=n);u<a;u++)l=i[u],c=s(c,t[l],l,t);return c};function zC(e){return cr(e).length!==1?null:e.codePointAt(0).toString(16)}function Q1(e){return Object.keys(e).reduce(function(t,r){var n=e[r],o=!!n.icon;return o?t[n.iconName]=n.icon:t[r]=n,t},{})}function $g(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.skipHooks,o=n===void 0?!1:n,i=Q1(t);typeof lr.hooks.addPack=="function"&&!o?lr.hooks.addPack(e,Q1(t)):lr.styles[e]=Q(Q({},lr.styles[e]||{}),i),e==="fas"&&$g("fa",t)}var Vu=lr.styles,WI=lr.shims,HC=Object.keys(my),GI=HC.reduce(function(e,t){return e[t]=Object.keys(my[t]),e},{}),vy=null,UC={},VC={},WC={},GC={},KC={};function KI(e){return~kI.indexOf(e)}function YI(e,t){var r=t.split("-"),n=r[0],o=r.slice(1).join("-");return n===e&&o!==""&&!KI(o)?o:null}var YC=function(){var t=function(i){return om(Vu,function(a,s,u){return a[u]=om(s,i,{}),a},{})};UC=t(function(o,i,a){if(i[3]&&(o[i[3]]=a),i[2]){var s=i[2].filter(function(u){return typeof u=="number"});s.forEach(function(u){o[u.toString(16)]=a})}return o}),VC=t(function(o,i,a){if(o[a]=a,i[2]){var s=i[2].filter(function(u){return typeof u=="string"});s.forEach(function(u){o[u]=a})}return o}),KC=t(function(o,i,a){var s=i[2];return o[a]=a,s.forEach(function(u){o[u]=a}),o});var r="far"in Vu||ie.autoFetchSvg,n=om(WI,function(o,i){var a=i[0],s=i[1],u=i[2];return s==="far"&&!r&&(s="fas"),typeof a=="string"&&(o.names[a]={prefix:s,iconName:u}),typeof a=="number"&&(o.unicodes[a.toString(16)]={prefix:s,iconName:u}),o},{names:{},unicodes:{}});WC=n.names,GC=n.unicodes,vy=Cp(ie.styleDefault,{family:ie.familyDefault})};jI(function(e){vy=Cp(e.styleDefault,{family:ie.familyDefault})});YC();function yy(e,t){return(UC[e]||{})[t]}function ZI(e,t){return(VC[e]||{})[t]}function po(e,t){return(KC[e]||{})[t]}function ZC(e){return WC[e]||{prefix:null,iconName:null}}function JI(e){var t=GC[e],r=yy("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Bn(){return vy}var JC=function(){return{prefix:null,iconName:null,rest:[]}};function XI(e){var t=ht,r=HC.reduce(function(n,o){return n[o]="".concat(ie.cssPrefix,"-").concat(o),n},{});return AC.forEach(function(n){(e.includes(r[n])||e.some(function(o){return GI[n].includes(o)}))&&(t=n)}),t}function Cp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.family,n=r===void 0?ht:r,o=PI[n][e];if(n===_c&&!e)return"fad";var i=Y1[n][e]||Y1[n][o],a=e in lr.styles?e:null,s=i||a||null;return s}function QI(e){var t=[],r=null;return e.forEach(function(n){var o=YI(ie.cssPrefix,n);o?r=o:n&&t.push(n)}),{iconName:r,rest:t}}function e2(e){return e.sort().filter(function(t,r,n){return n.indexOf(t)===r})}var t2=TC.concat(PC);function Ap(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipLookups,n=r===void 0?!1:r,o=null,i=e2(e.filter(function(p){return t2.includes(p)})),a=e2(e.filter(function(p){return!t2.includes(p)})),s=i.filter(function(p){return o=p,!uC.includes(p)}),u=Rp(s,1),l=u[0],c=l===void 0?null:l,d=XI(i),f=Q(Q({},QI(a)),{},{prefix:Cp(c,{family:d})});return Q(Q(Q({},f),n8({values:e,family:d,styles:Vu,config:ie,canonical:f,givenPrefix:o})),e8(n,o,f))}function e8(e,t,r){var n=r.prefix,o=r.iconName;if(e||!n||!o)return{prefix:n,iconName:o};var i=t==="fa"?ZC(o):{},a=po(n,o);return o=i.iconName||a||o,n=i.prefix||n,n==="far"&&!Vu.far&&Vu.fas&&!ie.autoFetchSvg&&(n="fas"),{prefix:n,iconName:o}}var t8=AC.filter(function(e){return e!==ht||e!==_c}),r8=Object.keys(xg).filter(function(e){return e!==ht}).map(function(e){return Object.keys(xg[e])}).flat();function n8(e){var t=e.values,r=e.family,n=e.canonical,o=e.givenPrefix,i=o===void 0?"":o,a=e.styles,s=a===void 0?{}:a,u=e.config,l=u===void 0?{}:u,c=r===_c,d=t.includes("fa-duotone")||t.includes("fad"),f=l.familyDefault==="duotone",p=n.prefix==="fad"||n.prefix==="fa-duotone";if(!c&&(d||f||p)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&t8.includes(r)){var h=Object.keys(s).find(function(v){return r8.includes(v)});if(h||l.autoFetchSvg){var m=vN.get(r).defaultShortPrefixId;n.prefix=m,n.iconName=po(n.prefix,n.iconName)||n.iconName}}return(n.prefix==="fa"||i==="fa")&&(n.prefix=Bn()||"fas"),n}var o8=(function(){function e(){LM(this,e),this.definitions={}}return BM(e,[{key:"add",value:function(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.reduce(this._pullDefinitions,{});Object.keys(a).forEach(function(s){r.definitions[s]=Q(Q({},r.definitions[s]||{}),a[s]),$g(s,a[s]);var u=my[ht][s];u&&$g(u,a[s]),YC()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(r,n){var o=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(o).map(function(i){var a=o[i],s=a.prefix,u=a.iconName,l=a.icon,c=l[2];r[s]||(r[s]={}),c.length>0&&c.forEach(function(d){typeof d=="string"&&(r[s][d]=l)}),r[s][u]=l}),r}}])})(),r2=[],Xo={},ci={},i8=Object.keys(ci);function a8(e,t){var r=t.mixoutsTo;return r2=e,Xo={},Object.keys(ci).forEach(function(n){i8.indexOf(n)===-1&&delete ci[n]}),r2.forEach(function(n){var o=n.mixout?n.mixout():{};if(Object.keys(o).forEach(function(a){typeof o[a]=="function"&&(r[a]=o[a]),_f(o[a])==="object"&&Object.keys(o[a]).forEach(function(s){r[a]||(r[a]={}),r[a][s]=o[a][s]})}),n.hooks){var i=n.hooks();Object.keys(i).forEach(function(a){Xo[a]||(Xo[a]=[]),Xo[a].push(i[a])})}n.provides&&n.provides(ci)}),r}function qg(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var i=Xo[e]||[];return i.forEach(function(a){t=a.apply(null,[t].concat(n))}),t}function xo(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=Xo[e]||[];o.forEach(function(i){i.apply(null,r)})}function zn(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return ci[e]?ci[e].apply(null,t):void 0}function kg(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,r=e.prefix||Bn();if(t)return t=po(r,t)||t,X1(XC.definitions,r,t)||X1(lr.styles,r,t)}var XC=new o8,s8=function(){ie.autoReplaceSvg=!1,ie.observeMutations=!1,xo("noAuto")},l8={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return pn?(xo("beforeI2svg",t),zn("pseudoElements2svg",t),zn("i2svg",t)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot;ie.autoReplaceSvg===!1&&(ie.autoReplaceSvg=!0),ie.observeMutations=!0,VI(function(){c8({autoReplaceSvgRoot:r}),xo("watch",t)})}},u8={icon:function(t){if(t===null)return null;if(_f(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:po(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var r=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],n=Cp(t[0]);return{prefix:n,iconName:po(n,r)||r}}if(typeof t=="string"&&(t.indexOf("".concat(ie.cssPrefix,"-"))>-1||t.match(TI))){var o=Ap(t.split(" "),{skipLookups:!0});return{prefix:o.prefix||Bn(),iconName:po(o.prefix,o.iconName)||o.iconName}}if(typeof t=="string"){var i=Bn();return{prefix:i,iconName:po(i,t)||t}}}},Ut={noAuto:s8,config:ie,dom:l8,parse:u8,library:XC,findIconDefinition:kg,toHtml:Rc},c8=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.autoReplaceSvgRoot,n=r===void 0?Le:r;(Object.keys(lr.styles).length>0||ie.autoFetchSvg)&&pn&&ie.autoReplaceSvg&&Ut.dom.i2svg({node:n})};function Pp(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(n){return Rc(n)})}}),Object.defineProperty(e,"node",{get:function(){if(pn){var n=Le.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function d8(e){var t=e.children,r=e.main,n=e.mask,o=e.attributes,i=e.styles,a=e.transform;if(by(a)&&r.found&&!n.found){var s=r.width,u=r.height,l={x:s/u/2,y:.5};o.style=xp(Q(Q({},i),{},{"transform-origin":"".concat(l.x+a.x/16,"em ").concat(l.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function f8(e){var t=e.prefix,r=e.iconName,n=e.children,o=e.attributes,i=e.symbol,a=i===!0?"".concat(t,"-").concat(ie.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Q(Q({},o),{},{id:a}),children:n}]}]}function p8(e){var t=["aria-label","aria-labelledby","title","role"];return t.some(function(r){return r in e})}function wy(e){var t=e.icons,r=t.main,n=t.mask,o=e.prefix,i=e.iconName,a=e.transform,s=e.symbol,u=e.maskId,l=e.extra,c=e.watchable,d=c===void 0?!1:c,f=n.found?n:r,p=f.width,h=f.height,m=[ie.replacementClass,i?"".concat(ie.cssPrefix,"-").concat(i):""].filter(function(S){return l.classes.indexOf(S)===-1}).filter(function(S){return S!==""||!!S}).concat(l.classes).join(" "),v={children:[],attributes:Q(Q({},l.attributes),{},{"data-prefix":o,"data-icon":i,class:m,role:l.attributes.role||"img",viewBox:"0 0 ".concat(p," ").concat(h)})};!p8(l.attributes)&&!l.attributes["aria-hidden"]&&(v.attributes["aria-hidden"]="true"),d&&(v.attributes[Ro]="");var g=Q(Q({},v),{},{prefix:o,iconName:i,main:r,mask:n,maskId:u,transform:a,symbol:s,styles:Q({},l.styles)}),E=n.found&&r.found?zn("generateAbstractMask",g)||{children:[],attributes:{}}:zn("generateAbstractIcon",g)||{children:[],attributes:{}},_=E.children,x=E.attributes;return g.children=_,g.attributes=x,s?f8(g):d8(g)}function n2(e){var t=e.content,r=e.width,n=e.height,o=e.transform,i=e.extra,a=e.watchable,s=a===void 0?!1:a,u=Q(Q({},i.attributes),{},{class:i.classes.join(" ")});s&&(u[Ro]="");var l=Q({},i.styles);by(o)&&(l.transform=zI({transform:o,width:r,height:n}),l["-webkit-transform"]=l.transform);var c=xp(l);c.length>0&&(u.style=c);var d=[];return d.push({tag:"span",attributes:u,children:[t]}),d}function h8(e){var t=e.content,r=e.extra,n=Q(Q({},r.attributes),{},{class:r.classes.join(" ")}),o=xp(r.styles);o.length>0&&(n.style=o);var i=[];return i.push({tag:"span",attributes:n,children:[t]}),i}var im=lr.styles;function Mg(e){var t=e[0],r=e[1],n=e.slice(4),o=Rp(n,1),i=o[0],a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(ie.cssPrefix,"-").concat(rm.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ie.cssPrefix,"-").concat(rm.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(ie.cssPrefix,"-").concat(rm.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:r,icon:a}}var m8={found:!1,width:512,height:512};function g8(e,t){!MC&&!ie.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ng(e,t){var r=t;return t==="fa"&&ie.styleDefault!==null&&(t=Bn()),new Promise(function(n,o){if(r==="fa"){var i=ZC(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&im[t]&&im[t][e]){var a=im[t][e];return n(Mg(a))}g8(e,t),n(Q(Q({},m8),{},{icon:ie.showMissingIcons&&e?zn("missingIconAbstract")||{}:{}}))})}var o2=function(){},Ig=ie.measurePerformance&&ed&&ed.mark&&ed.measure?ed:{mark:o2,measure:o2},cu='FA "7.2.0"',b8=function(t){return Ig.mark("".concat(cu," ").concat(t," begins")),function(){return QC(t)}},QC=function(t){Ig.mark("".concat(cu," ").concat(t," ends")),Ig.measure("".concat(cu," ").concat(t),"".concat(cu," ").concat(t," begins"),"".concat(cu," ").concat(t," ends"))},Ey={begin:b8,end:QC},jd=function(){};function i2(e){var t=e.getAttribute?e.getAttribute(Ro):null;return typeof t=="string"}function v8(e){var t=e.getAttribute?e.getAttribute(py):null,r=e.getAttribute?e.getAttribute(hy):null;return t&&r}function y8(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(ie.replacementClass)}function w8(){if(ie.autoReplaceSvg===!0)return Dd.replace;var e=Dd[ie.autoReplaceSvg];return e||Dd.replace}function E8(e){return Le.createElementNS("http://www.w3.org/2000/svg",e)}function _8(e){return Le.createElement(e)}function eA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ceFn,n=r===void 0?e.tag==="svg"?E8:_8:r;if(typeof e=="string")return Le.createTextNode(e);var o=n(e.tag);Object.keys(e.attributes||[]).forEach(function(a){o.setAttribute(a,e.attributes[a])});var i=e.children||[];return i.forEach(function(a){o.appendChild(eA(a,{ceFn:n}))}),o}function S8(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Dd={replace:function(t){var r=t[0];if(r.parentNode)if(t[1].forEach(function(o){r.parentNode.insertBefore(eA(o),r)}),r.getAttribute(Ro)===null&&ie.keepOriginalSource){var n=Le.createComment(S8(r));r.parentNode.replaceChild(n,r)}else r.remove()},nest:function(t){var r=t[0],n=t[1];if(~gy(r).indexOf(ie.replacementClass))return Dd.replace(t);var o=new RegExp("".concat(ie.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce(function(s,u){return u===ie.replacementClass||u.match(o)?s.toSvg.push(u):s.toNode.push(u),s},{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",i.toNode.join(" "))}var a=n.map(function(s){return Rc(s)}).join(`
568
- `);r.setAttribute(Ro,""),r.innerHTML=a}};function a2(e){e()}function tA(e,t){var r=typeof t=="function"?t:jd;if(e.length===0)r();else{var n=a2;ie.mutateApproach===CI&&(n=Fn.requestAnimationFrame||a2),n(function(){var o=w8(),i=Ey.begin("mutate");e.map(o),i(),r()})}}var _y=!1;function rA(){_y=!0}function jg(){_y=!1}var Rf=null;function s2(e){if(V1&&ie.observeMutations){var t=e.treeCallback,r=t===void 0?jd:t,n=e.nodeCallback,o=n===void 0?jd:n,i=e.pseudoElementsCallback,a=i===void 0?jd:i,s=e.observeMutationsRoot,u=s===void 0?Le:s;Rf=new V1(function(l){if(!_y){var c=Bn();Hi(l).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!i2(d.addedNodes[0])&&(ie.searchPseudoElements&&a(d.target),r(d.target)),d.type==="attributes"&&d.target.parentNode&&ie.searchPseudoElements&&a([d.target],!0),d.type==="attributes"&&i2(d.target)&&~qI.indexOf(d.attributeName))if(d.attributeName==="class"&&v8(d.target)){var f=Ap(gy(d.target)),p=f.prefix,h=f.iconName;d.target.setAttribute(py,p||c),h&&d.target.setAttribute(hy,h)}else y8(d.target)&&o(d.target)})}}),pn&&Rf.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function R8(){Rf&&Rf.disconnect()}function x8(e){var t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce(function(n,o){var i=o.split(":"),a=i[0],s=i.slice(1);return a&&s.length>0&&(n[a]=s.join(":").trim()),n},{})),r}function C8(e){var t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",o=Ap(gy(e));return o.prefix||(o.prefix=Bn()),t&&r&&(o.prefix=t,o.iconName=r),o.iconName&&o.prefix||(o.prefix&&n.length>0&&(o.iconName=ZI(o.prefix,e.innerText)||yy(o.prefix,zC(e.innerText))),!o.iconName&&ie.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function A8(e){var t=Hi(e.attributes).reduce(function(r,n){return r.name!=="class"&&r.name!=="style"&&(r[n.name]=n.value),r},{});return t}function P8(){return{iconName:null,prefix:null,transform:Sr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function l2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},r=C8(e),n=r.iconName,o=r.prefix,i=r.rest,a=A8(e),s=qg("parseNodeAttributes",{},e),u=t.styleParser?x8(e):[];return Q({iconName:n,prefix:o,transform:Sr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:u,attributes:a}},s)}var T8=lr.styles;function nA(e){var t=ie.autoReplaceSvg==="nest"?l2(e,{styleParser:!1}):l2(e);return~t.extra.classes.indexOf(IC)?zn("generateLayersText",e,t):zn("generateSvgReplacementMutation",e,t)}function O8(){return[].concat(cr(PC),cr(TC))}function u2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!pn)return Promise.resolve();var r=Le.documentElement.classList,n=function(d){return r.add("".concat(K1,"-").concat(d))},o=function(d){return r.remove("".concat(K1,"-").concat(d))},i=ie.autoFetchSvg?O8():uC.concat(Object.keys(T8));i.includes("fa")||i.push("fa");var a=[".".concat(IC,":not([").concat(Ro,"])")].concat(i.map(function(c){return".".concat(c,":not([").concat(Ro,"])")})).join(", ");if(a.length===0)return Promise.resolve();var s=[];try{s=Hi(e.querySelectorAll(a))}catch{}if(s.length>0)n("pending"),o("complete");else return Promise.resolve();var u=Ey.begin("onTree"),l=s.reduce(function(c,d){try{var f=nA(d);f&&c.push(f)}catch(p){MC||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise(function(c,d){Promise.all(l).then(function(f){tA(f,function(){n("active"),n("complete"),o("pending"),typeof t=="function"&&t(),u(),c()})}).catch(function(f){u(),d(f)})})}function $8(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;nA(e).then(function(r){r&&tA([r],t)})}function q8(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:kg(t||{}),o=r.mask;return o&&(o=(o||{}).icon?o:kg(o||{})),e(n,Q(Q({},r),{},{mask:o}))}}var k8=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.transform,o=n===void 0?Sr:n,i=r.symbol,a=i===void 0?!1:i,s=r.mask,u=s===void 0?null:s,l=r.maskId,c=l===void 0?null:l,d=r.classes,f=d===void 0?[]:d,p=r.attributes,h=p===void 0?{}:p,m=r.styles,v=m===void 0?{}:m;if(t){var g=t.prefix,E=t.iconName,_=t.icon;return Pp(Q({type:"icon"},t),function(){return xo("beforeDOMElementCreation",{iconDefinition:t,params:r}),wy({icons:{main:Mg(_),mask:u?Mg(u.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:E,transform:Q(Q({},Sr),o),symbol:a,maskId:c,extra:{attributes:h,styles:v,classes:f}})})}},M8={mixout:function(){return{icon:q8(k8)}},hooks:function(){return{mutationObserverCallbacks:function(r){return r.treeCallback=u2,r.nodeCallback=$8,r}}},provides:function(t){t.i2svg=function(r){var n=r.node,o=n===void 0?Le:n,i=r.callback,a=i===void 0?function(){}:i;return u2(o,a)},t.generateSvgReplacementMutation=function(r,n){var o=n.iconName,i=n.prefix,a=n.transform,s=n.symbol,u=n.mask,l=n.maskId,c=n.extra;return new Promise(function(d,f){Promise.all([Ng(o,i),u.iconName?Ng(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(p){var h=Rp(p,2),m=h[0],v=h[1];d([r,wy({icons:{main:m,mask:v},prefix:i,iconName:o,transform:a,symbol:s,maskId:l,extra:c,watchable:!0})])}).catch(f)})},t.generateAbstractIcon=function(r){var n=r.children,o=r.attributes,i=r.main,a=r.transform,s=r.styles,u=xp(s);u.length>0&&(o.style=u);var l;return by(a)&&(l=zn("generateAbstractTransformGrouping",{main:i,transform:a,containerWidth:i.width,iconWidth:i.width})),n.push(l||i.icon),{children:n,attributes:o}}}},N8={mixout:function(){return{layer:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.classes,i=o===void 0?[]:o;return Pp({type:"layer"},function(){xo("beforeDOMElementCreation",{assembler:r,params:n});var a=[];return r(function(s){Array.isArray(s)?s.map(function(u){a=a.concat(u.abstract)}):a=a.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(ie.cssPrefix,"-layers")].concat(cr(i)).join(" ")},children:a}]})}}}},I8={mixout:function(){return{counter:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.title;var o=n.classes,i=o===void 0?[]:o,a=n.attributes,s=a===void 0?{}:a,u=n.styles,l=u===void 0?{}:u;return Pp({type:"counter",content:r},function(){return xo("beforeDOMElementCreation",{content:r,params:n}),h8({content:r.toString(),extra:{attributes:s,styles:l,classes:["".concat(ie.cssPrefix,"-layers-counter")].concat(cr(i))}})})}}}},j8={mixout:function(){return{text:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.transform,i=o===void 0?Sr:o,a=n.classes,s=a===void 0?[]:a,u=n.attributes,l=u===void 0?{}:u,c=n.styles,d=c===void 0?{}:c;return Pp({type:"text",content:r},function(){return xo("beforeDOMElementCreation",{content:r,params:n}),n2({content:r,transform:Q(Q({},Sr),i),extra:{attributes:l,styles:d,classes:["".concat(ie.cssPrefix,"-layers-text")].concat(cr(s))}})})}}},provides:function(t){t.generateLayersText=function(r,n){var o=n.transform,i=n.extra,a=null,s=null;if(sC){var u=parseInt(getComputedStyle(r).fontSize,10),l=r.getBoundingClientRect();a=l.width/u,s=l.height/u}return Promise.resolve([r,n2({content:r.innerHTML,width:a,height:s,transform:o,extra:i,watchable:!0})])}}},oA=new RegExp('"',"ug"),c2=[1105920,1112319],d2=Q(Q(Q(Q({},{FontAwesome:{normal:"fas",400:"fas"}}),bN),RI),CN),Dg=Object.keys(d2).reduce(function(e,t){return e[t.toLowerCase()]=d2[t],e},{}),D8=Object.keys(Dg).reduce(function(e,t){var r=Dg[t];return e[t]=r[900]||cr(Object.entries(r))[0][1],e},{});function L8(e){var t=e.replace(oA,"");return zC(cr(t)[0]||"")}function F8(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),r=e.getPropertyValue("content"),n=r.replace(oA,""),o=n.codePointAt(0),i=o>=c2[0]&&o<=c2[1],a=n.length===2?n[0]===n[1]:!1;return i||a||t}function B8(e,t){var r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),o=isNaN(n)?"normal":n;return(Dg[r]||{})[o]||D8[r]}function f2(e,t){var r="".concat(xI).concat(t.replace(":","-"));return new Promise(function(n,o){if(e.getAttribute(r)!==null)return n();var i=Hi(e.children),a=i.filter(function(y){return y.getAttribute(Ag)===t})[0],s=Fn.getComputedStyle(e,t),u=s.getPropertyValue("font-family"),l=u.match(OI),c=s.getPropertyValue("font-weight"),d=s.getPropertyValue("content");if(a&&!l)return e.removeChild(a),n();if(l&&d!=="none"&&d!==""){var f=s.getPropertyValue("content"),p=B8(u,c),h=L8(f),m=l[0].startsWith("FontAwesome"),v=F8(s),g=yy(p,h),E=g;if(m){var _=JI(h);_.iconName&&_.prefix&&(g=_.iconName,p=_.prefix)}if(g&&!v&&(!a||a.getAttribute(py)!==p||a.getAttribute(hy)!==E)){e.setAttribute(r,E),a&&e.removeChild(a);var x=P8(),S=x.extra;S.attributes[Ag]=t,Ng(g,p).then(function(y){var b=wy(Q(Q({},x),{},{icons:{main:y,mask:JC()},prefix:p,iconName:E,extra:S,watchable:!0})),w=Le.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(w,e.firstChild):e.appendChild(w),w.outerHTML=b.map(function(C){return Rc(C)}).join(`
569
- `),e.removeAttribute(r),n()}).catch(o)}else n()}else n()})}function z8(e){return Promise.all([f2(e,"::before"),f2(e,"::after")])}function H8(e){return e.parentNode!==document.head&&!~AI.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Ag)&&(!e.parentNode||e.parentNode.tagName!=="svg")}var U8=function(t){return!!t&&kC.some(function(r){return t.includes(r)})},V8=function(t){if(!t)return[];var r=new Set,n=t.split(/,(?![^()]*\))/).map(function(u){return u.trim()});n=n.flatMap(function(u){return u.includes("(")?u:u.split(",").map(function(l){return l.trim()})});var o=Id(n),i;try{for(o.s();!(i=o.n()).done;){var a=i.value;if(U8(a)){var s=kC.reduce(function(u,l){return u.replace(l,"")},a);s!==""&&s!=="*"&&r.add(s)}}}catch(u){o.e(u)}finally{o.f()}return r};function p2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(pn){var r;if(t)r=e;else if(ie.searchPseudoElementsFullScan)r=e.querySelectorAll("*");else{var n=new Set,o=Id(document.styleSheets),i;try{for(o.s();!(i=o.n()).done;){var a=i.value;try{var s=Id(a.cssRules),u;try{for(s.s();!(u=s.n()).done;){var l=u.value,c=V8(l.selectorText),d=Id(c),f;try{for(d.s();!(f=d.n()).done;){var p=f.value;n.add(p)}}catch(m){d.e(m)}finally{d.f()}}}catch(m){s.e(m)}finally{s.f()}}catch(m){ie.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(a.href," (").concat(m.message,`)
570
- If it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.`))}}}catch(m){o.e(m)}finally{o.f()}if(!n.size)return;var h=Array.from(n).join(", ");try{r=e.querySelectorAll(h)}catch{}}return new Promise(function(m,v){var g=Hi(r).filter(H8).map(z8),E=Ey.begin("searchPseudoElements");rA(),Promise.all(g).then(function(){E(),jg(),m()}).catch(function(){E(),jg(),v()})})}}var W8={hooks:function(){return{mutationObserverCallbacks:function(r){return r.pseudoElementsCallback=p2,r}}},provides:function(t){t.pseudoElements2svg=function(r){var n=r.node,o=n===void 0?Le:n;ie.searchPseudoElements&&p2(o)}}},h2=!1,G8={mixout:function(){return{dom:{unwatch:function(){rA(),h2=!0}}}},hooks:function(){return{bootstrap:function(){s2(qg("mutationObserverCallbacks",{}))},noAuto:function(){R8()},watch:function(r){var n=r.observeMutationsRoot;h2?jg():s2(qg("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},m2=function(t){var r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(n,o){var i=o.toLowerCase().split("-"),a=i[0],s=i.slice(1).join("-");if(a&&s==="h")return n.flipX=!0,n;if(a&&s==="v")return n.flipY=!0,n;if(s=parseFloat(s),isNaN(s))return n;switch(a){case"grow":n.size=n.size+s;break;case"shrink":n.size=n.size-s;break;case"left":n.x=n.x-s;break;case"right":n.x=n.x+s;break;case"up":n.y=n.y-s;break;case"down":n.y=n.y+s;break;case"rotate":n.rotate=n.rotate+s;break}return n},r)},K8={mixout:function(){return{parse:{transform:function(r){return m2(r)}}}},hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-transform");return o&&(r.transform=m2(o)),r}}},provides:function(t){t.generateAbstractTransformGrouping=function(r){var n=r.main,o=r.transform,i=r.containerWidth,a=r.iconWidth,s={transform:"translate(".concat(i/2," 256)")},u="translate(".concat(o.x*32,", ").concat(o.y*32,") "),l="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),c="rotate(".concat(o.rotate," 0 0)"),d={transform:"".concat(u," ").concat(l," ").concat(c)},f={transform:"translate(".concat(a/2*-1," -256)")},p={outer:s,inner:d,path:f};return{tag:"g",attributes:Q({},p.outer),children:[{tag:"g",attributes:Q({},p.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Q(Q({},n.icon.attributes),p.path)}]}]}}}},am={x:0,y:0,width:"100%",height:"100%"};function g2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Y8(e){return e.tag==="g"?e.children:[e]}var Z8={hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-mask"),i=o?Ap(o.split(" ").map(function(a){return a.trim()})):JC();return i.prefix||(i.prefix=Bn()),r.mask=i,r.maskId=n.getAttribute("data-fa-mask-id"),r}}},provides:function(t){t.generateAbstractMask=function(r){var n=r.children,o=r.attributes,i=r.main,a=r.mask,s=r.maskId,u=r.transform,l=i.width,c=i.icon,d=a.width,f=a.icon,p=BI({transform:u,containerWidth:d,iconWidth:l}),h={tag:"rect",attributes:Q(Q({},am),{},{fill:"white"})},m=c.children?{children:c.children.map(g2)}:{},v={tag:"g",attributes:Q({},p.inner),children:[g2(Q({tag:c.tag,attributes:Q(Q({},c.attributes),p.path)},m))]},g={tag:"g",attributes:Q({},p.outer),children:[v]},E="mask-".concat(s||Z1()),_="clip-".concat(s||Z1()),x={tag:"mask",attributes:Q(Q({},am),{},{id:E,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,g]},S={tag:"defs",children:[{tag:"clipPath",attributes:{id:_},children:Y8(f)},x]};return n.push(S,{tag:"rect",attributes:Q({fill:"currentColor","clip-path":"url(#".concat(_,")"),mask:"url(#".concat(E,")")},am)}),{children:n,attributes:o}}}},J8={provides:function(t){var r=!1;Fn.matchMedia&&(r=Fn.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var n=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:Q(Q({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=Q(Q({},i),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Q(Q({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||s.children.push({tag:"animate",attributes:Q(Q({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Q(Q({},a),{},{values:"1;0;1;1;0;1;"})}),n.push(s),n.push({tag:"path",attributes:Q(Q({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:r?[]:[{tag:"animate",attributes:Q(Q({},a),{},{values:"1;0;0;0;0;1;"})}]}),r||n.push({tag:"path",attributes:Q(Q({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Q(Q({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},X8={hooks:function(){return{parseNodeAttributes:function(r,n){var o=n.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return r.symbol=i,r}}}},Q8=[UI,M8,N8,I8,j8,W8,G8,K8,Z8,J8,X8];a8(Q8,{mixoutsTo:Ut});Ut.noAuto;var wi=Ut.config;Ut.library;Ut.dom;var Sy=Ut.parse;Ut.findIconDefinition;Ut.toHtml;var ej=Ut.icon;Ut.layer;var tj=Ut.text,rj=Ut.counter,sm={exports:{}},na={};/**
571
- * @license React
572
- * react-jsx-runtime.production.js
573
- *
574
- * Copyright (c) Meta Platforms, Inc. and affiliates.
575
- *
576
- * This source code is licensed under the MIT license found in the
577
- * LICENSE file in the root directory of this source tree.
578
- */var b2;function nj(){if(b2)return na;b2=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var a=null;if(i!==void 0&&(a=""+i),o.key!==void 0&&(a=""+o.key),"key"in o){i={};for(var s in o)s!=="key"&&(i[s]=o[s])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:i}}return na.Fragment=t,na.jsx=r,na.jsxs=r,na}var v2;function oj(){return v2||(v2=1,sm.exports=nj()),sm.exports}var R=oj();const ij=Ec(R),bme=_p({__proto__:null,default:ij},[R]);function aj(e){return e=e-0,e===e}function iA(e){return aj(e)?e:(e=e.replace(/[_-]+(.)?/g,(t,r)=>r?r.toUpperCase():""),e.charAt(0).toLowerCase()+e.slice(1))}var sj=(e,t)=>Sp.createElement("stop",{key:`${t}-${e.offset}`,offset:e.offset,stopColor:e.color,...e.opacity!==void 0&&{stopOpacity:e.opacity}});function lj(e){return e.charAt(0).toUpperCase()+e.slice(1)}var zo=new Map,uj=1e3;function cj(e){if(zo.has(e))return zo.get(e);const t={};let r=0;const n=e.length;for(;r<n;){const o=e.indexOf(";",r),i=o===-1?n:o,a=e.slice(r,i).trim();if(a){const s=a.indexOf(":");if(s>0){const u=a.slice(0,s).trim(),l=a.slice(s+1).trim();if(u&&l){const c=iA(u);t[c.startsWith("webkit")?lj(c):c]=l}}}r=i+1}if(zo.size===uj){const o=zo.keys().next().value;o&&zo.delete(o)}return zo.set(e,t),t}function aA(e,t,r={}){if(typeof t=="string")return t;const n=(t.children||[]).map(d=>{let f=d;return("fill"in r||r.gradientFill)&&d.tag==="path"&&"fill"in d.attributes&&(f={...d,attributes:{...d.attributes,fill:void 0}}),aA(e,f)}),o=t.attributes||{},i={};for(const[d,f]of Object.entries(o))switch(!0){case d==="class":{i.className=f;break}case d==="style":{i.style=cj(String(f));break}case d.startsWith("aria-"):case d.startsWith("data-"):{i[d.toLowerCase()]=f;break}default:i[iA(d)]=f}const{style:a,role:s,"aria-label":u,gradientFill:l,...c}=r;if(a&&(i.style=i.style?{...i.style,...a}:a),s&&(i.role=s),u&&(i["aria-label"]=u,i["aria-hidden"]="false"),l){i.fill=`url(#${l.id})`;const{type:d,stops:f=[],...p}=l;n.unshift(e(d==="linear"?"linearGradient":"radialGradient",{...p,id:l.id},f.map(sj)))}return e(t.tag,{...i,...c},...n)}var Ry=aA.bind(null,Sp.createElement),y2=(e,t)=>{const r=H.useId();return e||(t?r:void 0)},dj=class{constructor(e="react-fontawesome"){this.enabled=!1;let t=!1;try{t=typeof process<"u"&&!1}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}},fj="searchPseudoElementsFullScan"in wi&&typeof wi.searchPseudoElementsFullScan=="boolean"?"7.0.0":"6.0.0",pj=Number.parseInt(fj)>=7,hj=()=>pj,Au="fa",at={beat:"fa-beat",fade:"fa-fade",beatFade:"fa-beat-fade",bounce:"fa-bounce",shake:"fa-shake",spin:"fa-spin",spinPulse:"fa-spin-pulse",spinReverse:"fa-spin-reverse",pulse:"fa-pulse",flip360:"fa-flip-360",buzz:"fa-buzz",float:"fa-float",jello:"fa-jello",spinSnap:"fa-spin-snap",spinSnap4:"fa-spin-snap-4",spinSnap8:"fa-spin-snap-8",swing:"fa-swing",wag:"fa-wag"},mj={left:"fa-pull-left",right:"fa-pull-right"},gj={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},bj={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},jt={border:"fa-border",fixedWidth:"fa-fw",flip:"fa-flip",flipHorizontal:"fa-flip-horizontal",flipVertical:"fa-flip-vertical",inverse:"fa-inverse",rotateBy:"fa-rotate-by",swapOpacity:"fa-swap-opacity",widthAuto:"fa-width-auto",canvasSquare:"fa-canvas-square",canvasRoomy:"fa-canvas-roomy"},vj={default:"fa-layers"};function Lg(e){const t=wi.cssPrefix||wi.familyPrefix||Au;return t===Au?e:e.replace(new RegExp(String.raw`(?<=^|\s)${Au}-`,"g"),`${t}-`)}function yj(e){const{beat:t,fade:r,beatFade:n,bounce:o,shake:i,spin:a,spinPulse:s,spinReverse:u,pulse:l,fixedWidth:c,inverse:d,border:f,flip:p,size:h,rotation:m,pull:v,swapOpacity:g,rotateBy:E,widthAuto:_,canvasSquare:x,canvasRoomy:S,flip360:y,buzz:b,float:w,jello:C,spinSnap:N,spinSnap4:q,spinSnap8:z,swing:F,wag:T,className:k}=e,I=[];return k&&I.push(...k.split(" ")),t&&I.push(at.beat),r&&I.push(at.fade),n&&I.push(at.beatFade),o&&I.push(at.bounce),i&&I.push(at.shake),a&&I.push(at.spin),u&&I.push(at.spinReverse),s&&I.push(at.spinPulse),l&&I.push(at.pulse),c&&I.push(jt.fixedWidth),d&&I.push(jt.inverse),f&&I.push(jt.border),p===!0&&I.push(jt.flip),(p==="horizontal"||p==="both")&&I.push(jt.flipHorizontal),(p==="vertical"||p==="both")&&I.push(jt.flipVertical),h!=null&&I.push(bj[h]),m!=null&&m!==0&&I.push(gj[m]),v!=null&&I.push(mj[v]),g&&I.push(jt.swapOpacity),hj()?(E&&I.push(jt.rotateBy),_&&I.push(jt.widthAuto),x&&I.push(jt.canvasSquare),S&&I.push(jt.canvasRoomy),y&&I.push(at.flip360),b&&I.push(at.buzz),w&&I.push(at.float),C&&I.push(at.jello),N&&I.push(at.spinSnap),q&&I.push(at.spinSnap4),z&&I.push(at.spinSnap8),F&&I.push(at.swing),T&&I.push(at.wag),(wi.cssPrefix||wi.familyPrefix||Au)===Au?I:I.map(Lg)):I}var wj=e=>typeof e=="object"&&"icon"in e&&!!e.icon;function w2(e){if(e)return wj(e)?e:Sy.icon(e)}function Ej(e){return Object.keys(e)}var E2=new dj("FontAwesomeIcon"),sA={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1,canvasSquare:!1,canvasRoomy:!1,flip360:!1,buzz:!1,float:!1,jello:!1,spinSnap:!1,spinSnap4:!1,spinSnap8:!1,swing:!1,wag:!1},_j=new Set(Object.keys(sA)),xy=Sp.forwardRef((e,t)=>{const r={...sA,...e},{icon:n,mask:o,symbol:i,title:a,titleId:s,maskId:u,transform:l}=r,c=y2(u,!!o),d=y2(s,!!a),f=w2(n);if(!f)return E2.error("Icon lookup is undefined",n),null;const p=yj(r),h=typeof l=="string"?Sy.transform(l):l,m=w2(o),v=ej(f,{...p.length>0&&{classes:p},...h&&{transform:h},...m&&{mask:m},symbol:i,title:a,titleId:d,maskId:c});if(!v)return E2.error("Could not find icon",f),null;const{abstract:g}=v,E={ref:t};for(const _ of Ej(r))_j.has(_)||(E[_]=r[_]);return Ry(g[0],E)});xy.displayName="FontAwesomeIcon";var Sj=`${vj.default} ${jt.fixedWidth}`,Rj=({children:e,className:t,size:r,...n})=>{const o=Lg(Sj),i=t?`${o} ${t}`:o,a=R.jsx("span",{...n,className:i,children:e});return r?R.jsx("div",{className:Lg(`fa-${r}`),children:a}):a},xj=({text:e,className:t,inverse:r,transform:n,style:o,...i})=>{const a=H.useMemo(()=>tj(e,{classes:[...t?.split(" ")||[],...r?[jt.inverse]:[]],transform:typeof n=="string"?Sy.transform(n):n}).abstract[0],[e,n,t,r]);return Ry(a,{...i,style:o})},Cj=({count:e,className:t,style:r,...n})=>{const o=H.useMemo(()=>rj(e,{classes:t?.split(" ")}).abstract[0],[e,t]);return Ry(o,{...n,style:r})};const vme=Object.freeze(Object.defineProperty({__proto__:null,FontAwesomeIcon:xy,FontAwesomeLayers:Rj,LayersCounter:Cj,LayersText:xj},Symbol.toStringTag,{value:"Module"}));var lm={exports:{}},gt={};/**
579
- * @license React
580
- * react-dom.production.js
581
- *
582
- * Copyright (c) Meta Platforms, Inc. and affiliates.
583
- *
584
- * This source code is licensed under the MIT license found in the
585
- * LICENSE file in the root directory of this source tree.
586
- */var _2;function Aj(){if(_2)return gt;_2=1;var e=rC();function t(u){var l="https://react.dev/errors/"+u;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)l+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+u+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function i(u,l,c){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:d==null?null:""+d,children:u,containerInfo:l,implementation:c}}var a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(u,l){if(u==="font")return"";if(typeof l=="string")return l==="use-credentials"?l:""}return gt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,gt.createPortal=function(u,l){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)throw Error(t(299));return i(u,l,null,c)},gt.flushSync=function(u){var l=a.T,c=n.p;try{if(a.T=null,n.p=2,u)return u()}finally{a.T=l,n.p=c,n.d.f()}},gt.preconnect=function(u,l){typeof u=="string"&&(l?(l=l.crossOrigin,l=typeof l=="string"?l==="use-credentials"?l:"":void 0):l=null,n.d.C(u,l))},gt.prefetchDNS=function(u){typeof u=="string"&&n.d.D(u)},gt.preinit=function(u,l){if(typeof u=="string"&&l&&typeof l.as=="string"){var c=l.as,d=s(c,l.crossOrigin),f=typeof l.integrity=="string"?l.integrity:void 0,p=typeof l.fetchPriority=="string"?l.fetchPriority:void 0;c==="style"?n.d.S(u,typeof l.precedence=="string"?l.precedence:void 0,{crossOrigin:d,integrity:f,fetchPriority:p}):c==="script"&&n.d.X(u,{crossOrigin:d,integrity:f,fetchPriority:p,nonce:typeof l.nonce=="string"?l.nonce:void 0})}},gt.preinitModule=function(u,l){if(typeof u=="string")if(typeof l=="object"&&l!==null){if(l.as==null||l.as==="script"){var c=s(l.as,l.crossOrigin);n.d.M(u,{crossOrigin:c,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0})}}else l==null&&n.d.M(u)},gt.preload=function(u,l){if(typeof u=="string"&&typeof l=="object"&&l!==null&&typeof l.as=="string"){var c=l.as,d=s(c,l.crossOrigin);n.d.L(u,c,{crossOrigin:d,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0,type:typeof l.type=="string"?l.type:void 0,fetchPriority:typeof l.fetchPriority=="string"?l.fetchPriority:void 0,referrerPolicy:typeof l.referrerPolicy=="string"?l.referrerPolicy:void 0,imageSrcSet:typeof l.imageSrcSet=="string"?l.imageSrcSet:void 0,imageSizes:typeof l.imageSizes=="string"?l.imageSizes:void 0,media:typeof l.media=="string"?l.media:void 0})}},gt.preloadModule=function(u,l){if(typeof u=="string")if(l){var c=s(l.as,l.crossOrigin);n.d.m(u,{as:typeof l.as=="string"&&l.as!=="script"?l.as:void 0,crossOrigin:c,integrity:typeof l.integrity=="string"?l.integrity:void 0})}else n.d.m(u)},gt.requestFormReset=function(u){n.d.r(u)},gt.unstable_batchedUpdates=function(u,l){return u(l)},gt.useFormState=function(u,l,c){return a.H.useFormState(u,l,c)},gt.useFormStatus=function(){return a.H.useHostTransitionStatus()},gt.version="19.2.7",gt}var S2;function Pj(){if(S2)return lm.exports;S2=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),lm.exports=Aj(),lm.exports}var xc=Pj();const Tj=Ec(xc),yme=_p({__proto__:null,default:Tj},[xc]),Oj="modulepreload",$j=function(e){return"/"+e},R2={},qj=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let a=function(l){return Promise.all(l.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),u=s?.nonce||s?.getAttribute("nonce");o=a(r.map(l=>{if(l=$j(l),l in R2)return;R2[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":Oj,c||(f.as="script"),f.crossOrigin="",f.href=l,u&&f.setAttribute("nonce",u),document.head.appendChild(f),c)return new Promise((p,h)=>{f.addEventListener("load",p),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})};/*!
587
- * Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
588
- * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
589
- * Copyright 2026 Fonticons, Inc.
590
- */var kj={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M480.1 192l7.9 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8C375 22.1 318 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1C79.2 135.5 159.3 64 256 64 300.4 64 341.2 79 373.7 104.3L327 151c-6.9 6.9-8.9 17.2-5.2 26.2S334.3 192 344 192l136.1 0zm29.4 100.5c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-44.4 0-85.2-15-117.7-40.3L185 361c6.9-6.9 8.9-17.2 5.2-26.2S177.7 320 168 320L24 320c-13.3 0-24 10.7-24 24L0 488c0 9.7 5.8 18.5 14.8 22.2S34.1 511.8 41 505l51.8-51.8C137 489.9 194 512 256 512 385 512 491.7 416.6 509.4 292.5z"]},wme={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M249.3 235.8c10.2 12.6 9.5 31.1-2.2 42.8l-128 128c-9.2 9.2-22.9 11.9-34.9 6.9S64.5 396.9 64.5 384l0-256c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l128 128 2.2 2.4z"]},Eme={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M0 256a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm168 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm224-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},Mj={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Nj={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48 0 3.4 .4 6.7 1 9.9 2.1 10.2 6.5 20 10.8 29.9 6.1 13.8 12.1 27.5 12.1 42 0 31.8-21.6 60.7-53.4 62-3.5 .1-7 .2-10.6 .2-141.4 0-256-114.6-256-256S114.6 0 256 0 512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},_me={prefix:"fas",iconName:"align-left",icon:[448,512,[],"f036","M288 64c0 17.7-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32L32 352c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},Tp={prefix:"fas",iconName:"camera",icon:[512,512,[62258,"camera-alt"],"f030","M149.1 64.8L138.7 96 64 96C28.7 96 0 124.7 0 160L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64l-74.7 0-10.4-31.2C356.4 45.2 338.1 32 317.4 32L194.6 32c-20.7 0-39 13.2-45.5 32.8zM256 192a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},Ij={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z"]},jj={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M136.7 5.9L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-8.7-26.1C306.9-7.2 294.7-16 280.9-16L167.1-16c-13.8 0-26 8.8-30.4 21.9zM416 144L32 144 53.1 467.1C54.7 492.4 75.7 512 101 512L347 512c25.3 0 46.3-19.6 47.9-44.9L416 144z"]},Dj={prefix:"fas",iconName:"expand",icon:[448,512,[],"f065","M32 32C14.3 32 0 46.3 0 64l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96z"]},Lj={prefix:"fas",iconName:"stop",icon:[448,512,[9209],"f04d","M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z"]},Sme={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z"]},Fj={prefix:"fas",iconName:"circle-half-stroke",icon:[512,512,[9680,"adjust"],"f042","M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},Bj={prefix:"fas",iconName:"magnifying-glass-minus",icon:[512,512,["search-minus"],"f010","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM136 184c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},zj={prefix:"fas",iconName:"table",icon:[448,512,[],"f0ce","M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64l-320 0-6.5-.3C25.2 476.4 0 449.1 0 416L0 96C0 60.7 28.7 32 64 32l320 0zM64 320l0 96 128 0 0-96-128 0zm192 0l0 96 128 0 0-96-128 0zM64 256l128 0 0-96-128 0 0 96zm192 0l128 0 0-96-128 0 0 96z"]},Rme={prefix:"fas",iconName:"grip-lines-vertical",icon:[192,512,[],"f7a5","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 448c0 17.7 14.3 32 32 32s32-14.3 32-32L64 64zm128 0c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 384c0 17.7 14.3 32 32 32s32-14.3 32-32l0-384z"]},Hj={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M56 225.6L32.4 296.2 32.4 96c0-35.3 28.7-64 64-64l138.7 0c13.8 0 27.3 4.5 38.4 12.8l38.4 28.8c5.5 4.2 12.3 6.4 19.2 6.4l117.3 0c35.3 0 64 28.7 64 64l0 16-365.4 0c-41.3 0-78 26.4-91.1 65.6zM477.8 448L99 448c-32.8 0-55.9-32.1-45.5-63.2l48-144C108 221.2 126.4 208 147 208l378.8 0c32.8 0 55.9 32.1 45.5 63.2l-48 144c-6.5 19.6-24.9 32.8-45.5 32.8z"]},xme={prefix:"fas",iconName:"window-minimize",icon:[512,512,[128469],"f2d1","M0 416c0-17.7 14.3-32 32-32l448 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32z"]},Uj={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},Vj={prefix:"fas",iconName:"magnifying-glass-plus",icon:[512,512,["search-plus"],"f00e","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 112c-13.3 0-24 10.7-24 24l0 48-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l48 0 0 48c0 13.3 10.7 24 24 24s24-10.7 24-24l0-48 48 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-48 0 0-48c0-13.3-10.7-24-24-24z"]},Cme={prefix:"fas",iconName:"align-right",icon:[448,512,[],"f038","M448 64c0 17.7-14.3 32-32 32L192 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 224c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32L32 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},Wj={prefix:"fas",iconName:"grip-lines",icon:[448,512,[],"f7a4","M32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},Gj={prefix:"fas",iconName:"maximize",icon:[448,512,["expand-arrows-alt"],"f31e","M168 32L24 32C10.7 32 0 42.7 0 56L0 200c0 9.7 5.8 18.5 14.8 22.2S34.1 223.8 41 217l40-40 79 79-79 79-40-40c-6.9-6.9-17.2-8.9-26.2-5.2S0 302.3 0 312L0 456c0 13.3 10.7 24 24 24l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-40-40 79-79 79 79-40 40c-6.9 6.9-8.9 17.2-5.2 26.2S270.3 480 280 480l144 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2l-40 40-79-79 79-79 40 40c6.9 6.9 17.2 8.9 26.2 5.2S448 209.7 448 200l0-144c0-13.3-10.7-24-24-24L280 32c-9.7 0-18.5 5.8-22.2 14.8S256.2 66.1 263 73l40 40-79 79-79-79 40-40c6.9-6.9 8.9-17.2 5.2-26.2S177.7 32 168 32z"]},Ame={prefix:"fas",iconName:"bone",icon:[640,512,[129460],"f5d7","M197.4 160c-3.9 0-7.2-2.8-8.1-6.6-10.2-42.1-48.1-73.4-93.3-73.4-53 0-96 43-96 96 0 29.1 12.9 55.1 33.3 72.7 4.3 3.7 4.3 10.8 0 14.5-20.4 17.6-33.3 43.7-33.3 72.7 0 53 43 96 96 96 45.2 0 83.1-31.3 93.3-73.4 .9-3.8 4.2-6.6 8.1-6.6l245.1 0c3.9 0 7.2 2.8 8.1 6.6 10.2 42.1 48.1 73.4 93.3 73.4 53 0 96-43 96-96 0-29.1-12.9-55.1-33.3-72.7-4.3-3.7-4.3-10.8 0-14.5 20.4-17.6 33.3-43.7 33.3-72.7 0-53-43-96-96-96-45.2 0-83.1 31.3-93.3 73.4-.9 3.8-4.2 6.6-8.1 6.6l-245.1 0z"]},Kj={prefix:"fas",iconName:"video-slash",icon:[576,512,[],"f4e2","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-153-153 0-222.2c0-35.3-28.7-64-64-64L129.8 64 41-24.9zM32 128l0 256c0 35.3 28.7 64 64 64l256 0c7.8 0 15.3-1.4 22.2-4L36 105.8c-2.6 6.9-4 14.4-4 22.2zM464 336l73.5 58.8c4.2 3.4 9.4 5.2 14.8 5.2 13.1 0 23.7-10.6 23.7-23.7l0-240.6c0-13.1-10.6-23.7-23.7-23.7-5.4 0-10.6 1.8-14.8 5.2L464 176 464 336z"]},x2={prefix:"fas",iconName:"video",icon:[576,512,["video-camera"],"f03d","M96 64c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L96 64zM464 336l73.5 58.8c4.2 3.4 9.4 5.2 14.8 5.2 13.1 0 23.7-10.6 23.7-23.7l0-240.6c0-13.1-10.6-23.7-23.7-23.7-5.4 0-10.6 1.8-14.8 5.2L464 176 464 336z"]},Yj={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM342 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L189.1 315.2 137 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.9 7.5 18.8 7s13.4-4.1 17.5-9.8L347.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z"]},Zj={prefix:"fas",iconName:"draw-polygon",icon:[512,512,[58055,"vector-polygon"],"f5ee","M64 0c23.7 0 44.4 12.9 55.4 32l273.1 0c11.1-19.1 31.7-32 55.4-32 35.3 0 64 28.7 64 64 0 34-26.5 61.8-60 63.9l-2.1 2.9-71.5 99.1c3.6 8 5.6 16.9 5.6 26.2s-2 18.2-5.6 26.2l2.2 3.1 69.3 96 2.1 2.9c33.5 2.1 60 29.9 60 63.9 0 35.3-28.7 64-64 64-23.7 0-44.4-12.9-55.4-32l-273.1 0c-11.1 19.1-31.7 32-55.4 32-35.3 0-64-28.7-64-64 0-23.7 12.9-44.4 32-55.4l0-273.1C12.9 108.4 0 87.7 0 64 0 28.7 28.7 0 64 0zM394.2 413.4l-65.5-90.6-2.2-3.1c-2.1 .2-4.3 .3-6.5 .3-35.3 0-64-28.7-64-64s28.7-64 64-64c2.2 0 4.4 .1 6.5 .3l67.7-93.7c-.6-.9-1.1-1.7-1.6-2.6L119.4 96c-5.6 9.7-13.7 17.8-23.4 23.4l0 273.1c9.7 5.6 17.8 13.7 23.4 23.4l273.1 0c.5-.9 1.1-1.8 1.6-2.6z"]},Jj={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM167 167c9.4-9.4 24.6-9.4 33.9 0l55 55 55-55c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-55 55 55 55c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-55-55-55 55c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l55-55-55-55c-9.4-9.4-9.4-24.6 0-33.9z"]},Pme=Jj,Tme={prefix:"fas",iconName:"file-image",icon:[384,512,[128443],"f1c5","M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM128 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM92.6 448l198.8 0c15.8 0 28.6-12.8 28.6-28.6 0-7.3-2.8-14.4-7.9-19.7L215.3 297.9c-6-6.3-14.4-9.9-23.2-9.9l-.3 0c-8.8 0-17.1 3.6-23.2 9.9L71.9 399.7C66.8 405 64 412.1 64 419.4 64 435.2 76.8 448 92.6 448z"]},du={prefix:"fas",iconName:"image",icon:[448,512,[],"f03e","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm64 80a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM272 224c8.4 0 16.1 4.4 20.5 11.5l88 144c4.5 7.4 4.7 16.7 .5 24.3S368.7 416 360 416L88 416c-8.9 0-17.2-5-21.3-12.9s-3.5-17.5 1.6-24.8l56-80c4.5-6.4 11.8-10.2 19.7-10.2s15.2 3.8 19.7 10.2l26.4 37.8 61.4-100.5c4.4-7.1 12.1-11.5 20.5-11.5z"]},Ome={prefix:"fas",iconName:"align-center",icon:[448,512,[],"f037","M352 64c0-17.7-14.3-32-32-32L128 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32zm96 128c0-17.7-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 448c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32zM352 320c0-17.7-14.3-32-32-32l-192 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l192 0c17.7 0 32-14.3 32-32z"]},Cy={prefix:"fas",iconName:"lightbulb",icon:[384,512,[128161],"f0eb","M292.9 384c7.3-22.3 21.9-42.5 38.4-59.9 32.7-34.4 52.7-80.9 52.7-132.1 0-106-86-192-192-192S0 86 0 192c0 51.2 20 97.7 52.7 132.1 16.5 17.4 31.2 37.6 38.4 59.9l201.7 0zM288 432l-192 0 0 16c0 44.2 35.8 80 80 80l32 0c44.2 0 80-35.8 80-80l0-16zM184 112c-39.8 0-72 32.2-72 72 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-66.3 53.7-120 120-120 13.3 0 24 10.7 24 24s-10.7 24-24 24z"]},lA={prefix:"fas",iconName:"code",icon:[576,512,[],"f121","M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z"]},uA={prefix:"fas",iconName:"diagram-project",icon:[512,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z"]},Xj={prefix:"fas",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M64 448l384 0c35.3 0 64-28.7 64-64l0-240c0-35.3-28.7-64-64-64L298.7 80c-6.9 0-13.7-2.2-19.2-6.4L241.1 44.8C230 36.5 216.5 32 202.7 32L64 32C28.7 32 0 60.7 0 96L0 384c0 35.3 28.7 64 64 64z"]},Qj={prefix:"fas",iconName:"arrow-up-from-bracket",icon:[448,512,[],"e09a","M246.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 109.3 192 320c0 17.7 14.3 32 32 32s32-14.3 32-32l0-210.7 73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM64 352c0-17.7-14.3-32-32-32S0 334.3 0 352l0 64c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-64z"]},cA={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0z"]},e7={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},t7={prefix:"fas",iconName:"link",icon:[576,512,[128279,"chain"],"f0c1","M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z"]},r7={prefix:"fas",iconName:"hand",icon:[512,512,[129306,9995,"hand-paper"],"f256","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-176c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 272c0 1.5 0 3.1 .1 4.6L67.6 283c-16-15.2-41.3-14.6-56.6 1.4S-3.6 325.7 12.4 341L124.8 448c43.1 41.1 100.4 64 160 64l19.2 0c97.2 0 176-78.8 176-176l0-208c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-176c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 176c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208z"]},n7={prefix:"fas",iconName:"bullseye",icon:[512,512,[],"f140","M448 256a192 192 0 1 0 -384 0 192 192 0 1 0 384 0zM0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zm256 80a80 80 0 1 0 0-160 80 80 0 1 0 0 160zm0-224a144 144 0 1 1 0 288 144 144 0 1 1 0-288zM224 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},o7={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-277.5c0-17-6.7-33.3-18.7-45.3L258.7 18.7C246.7 6.7 230.5 0 213.5 0L64 0zM325.5 176L232 176c-13.3 0-24-10.7-24-24L208 58.5 325.5 176z"]},i7={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2S34.1 320.2 41 327l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S177.7 512 168 512z"]},dA={prefix:"fas",iconName:"arrows-to-dot",icon:[512,512,[],"e4be","M256 0c17.7 0 32 14.3 32 32l0 32 32 0c12.9 0 24.6 7.8 29.6 19.8s2.2 25.7-6.9 34.9l-64 64c-12.5 12.5-32.8 12.5-45.3 0l-64-64c-9.2-9.2-11.9-22.9-6.9-34.9S179.1 64 192 64l32 0 0-32c0-17.7 14.3-32 32-32zM169.4 393.4l64-64c12.5-12.5 32.8-12.5 45.3 0l64 64c9.2 9.2 11.9 22.9 6.9 34.9S332.9 448 320 448l-32 0 0 32c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-32-32 0c-12.9 0-24.6-7.8-29.6-19.8s-2.2-25.7 6.9-34.9zM32 224l32 0 0-32c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c12.5 12.5 12.5 32.8 0 45.3l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9S64 332.9 64 320l0-32-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3l64-64c9.2-9.2 22.9-11.9 34.9-6.9S448 179.1 448 192l0 32 32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0 0 32c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-64-64zM256 224a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},$me={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 109.3 160 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-370.7 105.4 105.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},qme={prefix:"fas",iconName:"cubes-stacked",icon:[512,512,[],"e4e6","M192 32c0-17.7 14.3-32 32-32l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64zm32 352l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zm192 0l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zM320 192l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zm-182.6-3.9c12.5-12.5 32.8-12.5 45.3 0l45.3 45.3c12.5 12.5 12.5 32.8 0 45.3l-45.3 45.3c-12.5 12.5-32.8 12.5-45.3 0L92.1 278.6c-12.5-12.5-12.5-32.8 0-45.3l45.3-45.3zM32 384l64 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32z"]},fA={prefix:"fas",iconName:"magnet",icon:[448,512,[129522],"f076","M0 176L0 288C0 411.7 100.3 512 224 512S448 411.7 448 288l0-112-128 0 0 112c0 53-43 96-96 96s-96-43-96-96l0-112-128 0zm0-48l128 0 0-64c0-17.7-14.3-32-32-32L32 32C14.3 32 0 46.3 0 64l0 64zm320 0l128 0 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64z"]},a7={prefix:"fas",iconName:"play",icon:[448,512,[9654],"f04b","M91.2 36.9c-12.4-6.8-27.4-6.5-39.6 .7S32 57.9 32 72l0 368c0 14.1 7.5 27.2 19.6 34.4s27.2 7.5 39.6 .7l336-184c12.8-7 20.8-20.5 20.8-35.1s-8-28.1-20.8-35.1l-336-184z"]},xf={prefix:"fas",iconName:"puzzle-piece",icon:[512,512,[129513],"f12e","M224 0c35.3 0 64 21.5 64 48 0 10.4-4.4 20-12 27.9-6.6 6.9-12 15.3-12 24.9 0 15 12.2 27.2 27.2 27.2l44.8 0c26.5 0 48 21.5 48 48l0 44.8c0 15 12.2 27.2 27.2 27.2 9.5 0 18-5.4 24.9-12 7.9-7.5 17.5-12 27.9-12 26.5 0 48 28.7 48 64s-21.5 64-48 64c-10.4 0-20.1-4.4-27.9-12-6.9-6.6-15.3-12-24.9-12-15 0-27.2 12.2-27.2 27.2L384 464c0 26.5-21.5 48-48 48l-56.8 0c-12.8 0-23.2-10.4-23.2-23.2 0-9.2 5.8-17.3 13.2-22.8 11.6-8.7 18.8-20.7 18.8-34 0-26.5-28.7-48-64-48s-64 21.5-64 48c0 13.3 7.2 25.3 18.8 34 7.4 5.5 13.2 13.5 13.2 22.8 0 12.8-10.4 23.2-23.2 23.2L48 512c-26.5 0-48-21.5-48-48L0 343.2c0-12.8 10.4-23.2 23.2-23.2 9.2 0 17.3 5.8 22.8 13.2 8.7 11.6 20.7 18.8 34 18.8 26.5 0 48-28.7 48-64s-21.5-64-48-64c-13.3 0-25.3 7.2-34 18.8-5.5 7.4-13.5 13.2-22.8 13.2-12.8 0-23.2-10.4-23.2-23.2L0 176c0-26.5 21.5-48 48-48l108.8 0c15 0 27.2-12.2 27.2-27.2 0-9.5-5.4-18-12-24.9-7.5-7.9-12-17.5-12-27.9 0-26.5 28.7-48 64-48z"]},s7={prefix:"fas",iconName:"table-cells",icon:[448,512,["th"],"f00a","M384 96l0 64-64 0 0-64 64 0zm0 128l0 64-64 0 0-64 64 0zm0 128l0 64-64 0 0-64 64 0zM256 288l-64 0 0-64 64 0 0 64zm-64 64l64 0 0 64-64 0 0-64zm-64-64l-64 0 0-64 64 0 0 64zM64 352l64 0 0 64-64 0 0-64zm0-192l0-64 64 0 0 64-64 0zm128 0l0-64 64 0 0 64-64 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},l7={prefix:"fas",iconName:"up-down-left-right",icon:[512,512,["arrows-alt"],"f0b2","M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9S179.1 128 192 128l32 0 0 96-96 0 0-32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9S128 332.9 128 320l0-32 96 0 0 96-32 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c9.2-9.2 11.9-22.9 6.9-34.9S332.9 384 320 384l-32 0 0-96 96 0 0 32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9S384 179.1 384 192l0 32-96 0 0-96 32 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64z"]},pA={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z"]},u7={prefix:"fas",iconName:"arrows-up-down-left-right",icon:[512,512,["arrows"],"f047","M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4 0 114.7-114.7 0 9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4 114.7 0 0 114.7-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4 0-114.7 114.7 0-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4-114.7 0 0-114.7 9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"]},kme={prefix:"fas",iconName:"sliders",icon:[512,512,["sliders-h"],"f1de","M32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l86.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 128c17.7 0 32-14.3 32-32s-14.3-32-32-32L265.3 64C253 35.7 224.8 16 192 16s-61 19.7-73.3 48L32 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l246.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48l54.7 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-54.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 224zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l54.7 0c12.3 28.3 40.5 48 73.3 48s61-19.7 73.3-48L480 448c17.7 0 32-14.3 32-32s-14.3-32-32-32l-246.7 0c-12.3-28.3-40.5-48-73.3-48s-61 19.7-73.3 48L32 384z"]},c7={prefix:"fas",iconName:"forward-step",icon:[384,512,["step-forward"],"f051","M21 36.8c12.9-7 28.7-6.3 41 1.8L320 208.1 320 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 384c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-144.1-258 169.6c-12.3 8.1-28 8.8-41 1.8S0 454.7 0 440L0 72C0 57.3 8.1 43.8 21 36.8z"]},Op={prefix:"fas",iconName:"cube",icon:[512,512,[],"f1b2","M224.3-2.5c19.8-11.4 44.2-11.4 64 0L464.2 99c19.8 11.4 32 32.6 32 55.4l0 203c0 22.9-12.2 44-32 55.4L288.3 514.5c-19.8 11.4-44.2 11.4-64 0L48.5 413c-19.8-11.4-32-32.6-32-55.4l0-203c0-22.9 12.2-44 32-55.4L224.3-2.5zm207.8 360l0-166.1-143.8 83 0 166.1 143.8-83z"]},Mme={prefix:"fas",iconName:"cloud-sun",icon:[640,512,[9925],"f6c4","M208.3 192c43.1 0 80.5 24.4 99.2 60.1 14.7-17.2 36.4-28.1 60.8-28.1 44.2 0 80 35.8 80 80 0 5.5-.6 10.9-1.6 16 .5 0 1.1 0 1.6 0 53 0 96 43 96 96s-43 96-96 96l-320 0c-53 0-96-43-96-96 0-42.5 27.7-78.5 66-91.2-1.3-6.8-2-13.7-2-20.8 0-61.9 50.1-112 112-112zm192-223.8c5.3 0 10.3 2.7 13.3 7.1l47.3 70.4 83.3-16.3c5.2-1 10.6 .7 14.3 4.4 3.8 3.8 5.4 9.2 4.4 14.4l-16.3 83.3 70.4 47.3c4.4 3 7.1 8 7.1 13.3 0 5.3-2.6 10.3-7 13.2l-70.4 47.3 14.5 74.2c-17.2-21.7-40.4-38.4-67.2-47.3-2.5-12.7-6.9-24.6-12.8-35.7 9.6-14.9 15.2-32.7 15.2-51.7 0-53-43-96-96-96-47.9 0-87.6 35.1-94.8 80.9-20.9-16-45.9-27-73.1-31.1l21.5-14.5-16.3-83.2-.3-2c-.3-4.6 1.3-9.1 4.6-12.4 3.8-3.8 9.2-5.4 14.4-4.4l83.3 16.3 47.3-70.4 1.2-1.6c3-3.5 7.4-5.5 12.1-5.5zm0 175.8c26.5 0 48 21.5 48 48 0 3.8-.5 7.6-1.4 11.1-21.7-16.9-48.9-27.1-78.6-27.1-4.6 0-9.1 .2-13.5 .7 6.4-19 24.3-32.7 45.5-32.7z"]},hA={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]},C2={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M384 96c0-35.3 28.7-64 64-64s64 28.7 64 64l0 32c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32c0-70.7-57.3-128-128-128S320 25.3 320 96l0 64-160 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64l-32 0 0-64z"]},Nme={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM120 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},Ime={prefix:"fas",iconName:"film",icon:[448,512,[127902,62368,"film-alt","film-simple"],"f008","M0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM48 368l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm304-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM48 240l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm304-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM48 112l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16L64 96c-8.8 0-16 7.2-16 16zM352 96c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0z"]},jme={prefix:"fas",iconName:"cubes",icon:[512,512,[],"f1b3","M284-1.3c-17.3-10-38.7-10-56 0L143.8 47.3c-17.3 10-28 28.5-28 48.5l0 101.9-88.3 51c-17.3 10-28 28.5-28 48.5l0 97.3c0 20 10.7 38.5 28 48.5l84.3 48.6c17.3 10 38.7 10 56 0l88.3-51 88.3 51c17.3 10 38.7 10 56 0L484.5 443c17.3-10 28-28.5 28-48.5l0-97.3c0-20-10.7-38.5-28-48.5l-88.3-51 0-101.9c0-20-10.7-38.5-28-48.5L284-1.3zM232 292.6l0 106.5-88.3 51c-1.2 .7-2.6 1.1-4 1.1l0-105.3 92.3-53.3zm231.4 .6c.7 1.2 1.1 2.6 1.1 4l0 97.3c0 2.9-1.5 5.5-4 6.9l-84.3 48.6c-1.2 .7-2.6 1.1-4 1.1l0-105.3 91.2-52.6zM348.3 95.8l0 101.9-92.3 53.3 0-106.5 91.2-52.6c.7 1.2 1.1 2.6 1.1 4z"]},d7={prefix:"fas",iconName:"circle-play",icon:[512,512,[61469,"play-circle"],"f144","M0 256a256 256 0 1 1 512 0 256 256 0 1 1 -512 0zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"]},A2={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M488 192l-144 0c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l46.7-46.7c-75.3-58.6-184.3-53.3-253.5 15.9-75 75-75 196.5 0 271.5s196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c94.3-94.3 243.7-99.6 344.3-16.2L471 7c6.9-6.9 17.2-8.9 26.2-5.2S512 14.3 512 24l0 144c0 13.3-10.7 24-24 24z"]},f7={prefix:"fas",iconName:"person",icon:[384,512,[129485,"male"],"f183","M248 24a56 56 0 1 0 -112 0 56 56 0 1 0 112 0zm24 212.7l46.3 62.4c10.5 14.2 30.6 17.2 44.8 6.6s17.2-30.6 6.6-44.8l-70.5-95C274 132 234.3 112 192 112s-82 20-107.2 53.9l-70.5 95c-10.5 14.2-7.6 34.2 6.6 44.8s34.2 7.6 44.8-6.6L112 236.7 112 512c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-8.8 7.2-16 16-16s16 7.2 16 16l0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-275.3z"]},p7={prefix:"fas",iconName:"chart-simple",icon:[512,512,[],"e473","M192 80c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-352zM0 272c0-26.5 21.5-48 48-48l32 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48L0 272zM432 96l32 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-32 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48z"]},h7={prefix:"fas",iconName:"atom",icon:[448,512,[9883],"f5d2","M224 398.8c-11.8 5.1-23.4 9.7-34.9 13.5 16.7 33.8 31 35.7 34.9 35.7s18.1-1.9 34.9-35.7c-11.4-3.9-23.1-8.4-34.9-13.5zM414 256c33 45.2 44.3 90.9 23.6 128-20.2 36.3-62.5 49.3-115.2 43.2-22 52.1-55.7 84.8-98.4 84.8s-76.4-32.7-98.4-84.8C72.9 433.3 30.6 420.3 10.4 384-10.3 346.9 1 301.2 34 256 1 210.8-10.3 165.1 10.4 128 30.6 91.7 72.9 78.7 125.6 84.8 147.6 32.7 181.2 0 224 0s76.4 32.7 98.4 84.8c52.7-6.1 95 6.8 115.2 43.2 20.7 37.1 9.4 82.8-23.6 128zm-65.8 67.4c-1.7 14.2-3.9 28-6.7 41.2 31.8 1.4 38.6-8.7 40.2-11.7 2.3-4.2 7-17.9-11.9-48.1-6.8 6.3-14 12.5-21.6 18.6zm-6.7-175.9c2.8 13.1 5 26.9 6.7 41.2 7.6 6.1 14.8 12.3 21.6 18.6 18.9-30.2 14.2-44 11.9-48.1-1.6-2.9-8.4-13-40.2-11.7zM258.9 99.7C242.1 65.9 227.9 64 224 64s-18.1 1.9-34.9 35.7c11.4 3.9 23.1 8.4 34.9 13.5 11.8-5.1 23.4-9.7 34.9-13.5zm-159 88.9c1.7-14.3 3.9-28 6.7-41.2-31.8-1.4-38.6 8.7-40.2 11.7-2.3 4.2-7 17.9 11.9 48.1 6.8-6.3 14-12.5 21.6-18.6zM78.2 304.8c-18.9 30.2-14.2 44-11.9 48.1 1.6 2.9 8.4 13 40.2 11.7-2.8-13.1-5-26.9-6.7-41.2-7.6-6.1-14.8-12.3-21.6-18.6zM304 256a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zm-80-32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},um={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"]},m7={prefix:"fas",iconName:"chevron-down",icon:[448,512,[],"f078","M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Dme={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},mA={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]},Lme=mA,P2={prefix:"fas",iconName:"lock",icon:[384,512,[128274],"f023","M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]},g7={prefix:"fas",iconName:"volume-high",icon:[640,512,[128266,"volume-up"],"f028","M533.6 32.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C557.5 113.8 592 180.8 592 256s-34.5 142.2-88.7 186.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C598.5 426.7 640 346.2 640 256S598.5 85.2 533.6 32.5zM473.1 107c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C475.3 170.7 496 210.9 496 256s-20.7 85.3-53.2 111.8c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5c43.2-35.2 70.9-88.9 70.9-149s-27.7-113.8-70.9-149zm-60.5 74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C393.1 227.6 400 241 400 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C434.1 312.9 448 286.1 448 256s-13.9-56.9-35.4-74.5zM80 352l48 0 134.1 119.2c6.4 5.7 14.6 8.8 23.1 8.8 19.2 0 34.8-15.6 34.8-34.8l0-378.4c0-19.2-15.6-34.8-34.8-34.8-8.5 0-16.7 3.1-23.1 8.8L128 160 80 160c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48z"]},b7={prefix:"fas",iconName:"rotate-left",icon:[512,512,["rotate-back","rotate-backward","undo-alt"],"f2ea","M24 192l144 0c9.7 0 18.5-5.8 22.2-14.8s1.7-19.3-5.2-26.2l-46.7-46.7c75.3-58.6 184.3-53.3 253.5 15.9 75 75 75 196.5 0 271.5s-196.5 75-271.5 0c-10.2-10.2-19-21.3-26.4-33-9.5-14.9-29.3-19.3-44.2-9.8s-19.3 29.3-9.8 44.2C49.7 408.7 61.4 423.5 75 437 175 537 337 537 437 437S537 175 437 75C342.8-19.3 193.3-24.7 92.7 58.8L41 7C34.1 .2 23.8-1.9 14.8 1.8S0 14.3 0 24L0 168c0 13.3 10.7 24 24 24z"]},gA={prefix:"fas",iconName:"crosshairs",icon:[576,512,[],"f05b","M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM131.2 288c12.7 62.7 62.1 112.1 124.8 124.8l0-12.8c0-17.7 14.3-32 32-32s32 14.3 32 32l0 12.8c62.7-12.7 112.1-62.1 124.8-124.8L432 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l12.8 0C432.1 161.3 382.7 111.9 320 99.2l0 12.8c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-12.8C193.3 111.9 143.9 161.3 131.2 224l12.8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-12.8 0zM288 208a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},v7={prefix:"fas",iconName:"scissors",icon:[512,512,[9984,9986,9988,"cut"],"f0c4","M192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5-61.9 0-112 50.1-112 112s50.1 112 112 112 112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6-28.3-28.3-74.1-28.3-102.4 0L256 192 216.5 152.5c4.9-12.6 7.5-26.2 7.5-40.5 0-61.9-50.1-112-112-112S0 50.1 0 112 50.1 224 112 224c14.3 0 27.9-2.7 40.5-7.5L192 256zm97.9 97.9L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0 7.1-7.1 7.1-18.5 0-25.6l-145.3-145.3-64 64zM64 112a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},y7={prefix:"fas",iconName:"font",icon:[512,512,[],"f031","M285.1 50.7C279.9 39.3 268.5 32 256 32s-23.9 7.3-29.1 18.7L59.5 416 48 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-6.1 0 22-48 208.3 0 22 48-6.1 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l88 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-11.5 0-167.4-365.3zM330.8 304L181.2 304 256 140.8 330.8 304z"]},w7={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M351.9 280l-190.9 0c2.9 64.5 17.2 123.9 37.5 167.4 11.4 24.5 23.7 41.8 35.1 52.4 11.2 10.5 18.9 12.2 22.9 12.2s11.7-1.7 22.9-12.2c11.4-10.6 23.7-28 35.1-52.4 20.3-43.5 34.6-102.9 37.5-167.4zM160.9 232l190.9 0C349 167.5 334.7 108.1 314.4 64.6 303 40.2 290.7 22.8 279.3 12.2 268.1 1.7 260.4 0 256.4 0s-11.7 1.7-22.9 12.2c-11.4 10.6-23.7 28-35.1 52.4-20.3 43.5-34.6 102.9-37.5 167.4zm-48 0C116.4 146.4 138.5 66.9 170.8 14.7 78.7 47.3 10.9 131.2 1.5 232l111.4 0zM1.5 280c9.4 100.8 77.2 184.7 169.3 217.3-32.3-52.2-54.4-131.7-57.9-217.3L1.5 280zm398.4 0c-3.5 85.6-25.6 165.1-57.9 217.3 92.1-32.7 159.9-116.5 169.3-217.3l-111.4 0zm111.4-48C501.9 131.2 434.1 47.3 342 14.7 374.3 66.9 396.4 146.4 399.9 232l111.4 0z"]},bA={prefix:"fas",iconName:"music",icon:[512,512,[127925],"f001","M468 7c7.6 6.1 12 15.3 12 25l0 304c0 44.2-43 80-96 80s-96-35.8-96-80 43-80 96-80c11.2 0 22 1.6 32 4.6l0-116.7-224 49.8 0 206.3c0 44.2-43 80-96 80s-96-35.8-96-80 43-80 96-80c11.2 0 22 1.6 32 4.6L128 96c0-15 10.4-28 25.1-31.2l288-64c9.5-2.1 19.4 .2 27 6.3z"]},E7={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z"]},Fme={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z"]},vA={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z"]},_7={prefix:"fas",iconName:"compress",icon:[448,512,[],"f066","M160 64c0-17.7-14.3-32-32-32S96 46.3 96 64l0 64-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32l0-96zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0 0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-96 0zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0 0-64zM320 320c-17.7 0-32 14.3-32 32l0 96c0 17.7 14.3 32 32 32s32-14.3 32-32l0-64 64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0z"]},S7={prefix:"fas",iconName:"file-code",icon:[384,512,[],"f1c9","M0 64C0 28.7 28.7 0 64 0L213.5 0c17 0 33.3 6.7 45.3 18.7L365.3 125.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm208-5.5l0 93.5c0 13.3 10.7 24 24 24L325.5 176 208 58.5zM154.2 295.6c8.6-10.1 7.5-25.2-2.6-33.8s-25.2-7.5-33.8 2.6l-48 56c-7.7 9-7.7 22.2 0 31.2l48 56c8.6 10.1 23.8 11.2 33.8 2.6s11.2-23.8 2.6-33.8l-34.6-40.4 34.6-40.4zm112-31.2c-8.6-10.1-23.8-11.2-33.8-2.6s-11.2 23.8-2.6 33.8l34.6 40.4-34.6 40.4c-8.6 10.1-7.5 25.2 2.6 33.8s25.2 7.5 33.8-2.6l48-56c7.7-9 7.7-22.2 0-31.2l-48-56z"]},R7={prefix:"fas",iconName:"eye-slash",icon:[576,512,[],"f070","M41-24.9c-9.4-9.4-24.6-9.4-33.9 0S-2.3-.3 7 9.1l528 528c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-96.4-96.4c2.7-2.4 5.4-4.8 8-7.2 46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6-56.8 0-105.6 18.2-146 44.2L41-24.9zM204.5 138.7c23.5-16.8 52.4-26.7 83.5-26.7 79.5 0 144 64.5 144 144 0 31.1-9.9 59.9-26.7 83.5l-34.7-34.7c12.7-21.4 17-47.7 10.1-73.7-13.7-51.2-66.4-81.6-117.6-67.9-8.6 2.3-16.7 5.7-24 10l-34.7-34.7zM325.3 395.1c-11.9 3.2-24.4 4.9-37.3 4.9-79.5 0-144-64.5-144-144 0-12.9 1.7-25.4 4.9-37.3L69.4 139.2c-32.6 36.8-55 75.8-66.9 104.5-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6 37.3 0 71.2-7.9 101.5-20.6l-64.2-64.2z"]},x7={prefix:"fas",iconName:"hammer",icon:[640,512,[128296],"f6e3","M246.9 18.3L271 3.8c21.6-13 46.3-19.8 71.5-19.8 36.8 0 72.2 14.6 98.2 40.7l63.9 63.9c15 15 23.4 35.4 23.4 56.6l0 30.9 19.7 19.7 0 0c15.6-15.6 40.9-15.6 56.6 0s15.6 40.9 0 56.6l-64 64c-15.6 15.6-40.9 15.6-56.6 0s-15.6-40.9 0-56.6L464 240 433.1 240c-21.2 0-41.6-8.4-56.6-23.4l-49.1-49.1c-15-15-23.4-35.4-23.4-56.6l0-12.7c0-11.2-5.9-21.7-15.5-27.4l-41.6-25c-10.4-6.2-10.4-21.2 0-27.4zM50.7 402.7l222.1-222.1 90.5 90.5-222.1 222.1c-25 25-65.5 25-90.5 0s-25-65.5 0-90.5z"]},Bme={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0-201.4 201.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3 448 192c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 96C35.8 96 0 131.8 0 176L0 432c0 44.2 35.8 80 80 80l256 0c44.2 0 80-35.8 80-80l0-80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 80c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l80 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 96z"]},Fg={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z"]},C7={prefix:"fas",iconName:"pause",icon:[384,512,[9208],"f04c","M48 32C21.5 32 0 53.5 0 80L0 432c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48L48 32zm224 0c-26.5 0-48 21.5-48 48l0 352c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-352c0-26.5-21.5-48-48-48l-64 0z"]},Pu={prefix:"fas",iconName:"border-all",icon:[448,512,[],"f84c","M384 96l0 128-128 0 0-128 128 0zm0 192l0 128-128 0 0-128 128 0zM192 224l-128 0 0-128 128 0 0 128zM64 288l128 0 0 128-128 0 0-128zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},A7={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},zme={prefix:"fas",iconName:"screwdriver-wrench",icon:[576,512,["tools"],"f7d9","M70.8-6.7c5.4-5.4 13.8-6.2 20.2-2L209.9 70.5c8.9 5.9 14.2 15.9 14.2 26.6l0 49.6 90.8 90.8c33.3-15 73.9-8.9 101.2 18.5L542.2 382.1c18.7 18.7 18.7 49.1 0 67.9l-60.1 60.1c-18.7 18.7-49.1 18.7-67.9 0L288.1 384c-27.4-27.4-33.5-67.9-18.5-101.2l-90.8-90.8-49.6 0c-10.7 0-20.7-5.3-26.6-14.2L23.4 58.9c-4.2-6.3-3.4-14.8 2-20.2L70.8-6.7zm145 303.5c-6.3 36.9 2.3 75.9 26.2 107.2l-94.9 95c-28.1 28.1-73.7 28.1-101.8 0s-28.1-73.7 0-101.8l135.4-135.5 35.2 35.1zM384.1 0c20.1 0 39.4 3.7 57.1 10.5 10 3.8 11.8 16.5 4.3 24.1L388.8 91.3c-3 3-4.7 7.1-4.7 11.3l0 41.4c0 8.8 7.2 16 16 16l41.4 0c4.2 0 8.3-1.7 11.3-4.7l56.7-56.7c7.6-7.5 20.3-5.7 24.1 4.3 6.8 17.7 10.5 37 10.5 57.1 0 43.2-17.2 82.3-45 111.1l-49.1-49.1c-33.1-33-78.5-45.7-121.1-38.4l-56.8-56.8 0-29.7-.2-5c-.8-12.4-4.4-24.3-10.5-34.9 29.4-35 73.4-57.2 122.7-57.3z"]},Hme={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},P7={prefix:"fas",iconName:"file-export",icon:[576,512,["arrow-right-from-file"],"f56e","M96.5 0c-35.3 0-64 28.7-64 64l0 384c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-96 78.1 0-31 31c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9l-72-72c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l31 31-78.1 0 0-133.5c0-17-6.7-33.3-18.7-45.3L291.2 18.7C279.2 6.7 263 0 246 0L96.5 0zM358 176l-93.5 0c-13.3 0-24-10.7-24-24L240.5 58.5 358 176zM224.5 328c0-13.3 10.7-24 24-24l104 0 0 48-104 0c-13.3 0-24-10.7-24-24z"]},yA={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},T2={prefix:"fas",iconName:"object-group",icon:[576,512,[],"f247","M32 119.4C12.9 108.4 0 87.7 0 64 0 28.7 28.7 0 64 0 87.7 0 108.4 12.9 119.4 32l337.1 0c11.1-19.1 31.7-32 55.4-32 35.3 0 64 28.7 64 64 0 23.7-12.9 44.4-32 55.4l0 273.1c19.1 11.1 32 31.7 32 55.4 0 35.3-28.7 64-64 64-23.7 0-44.4-12.9-55.4-32l-337.1 0c-11.1 19.1-31.7 32-55.4 32-35.3 0-64-28.7-64-64 0-23.7 12.9-44.4 32-55.4l0-273.1zm448 0c-9.7-5.6-17.8-13.7-23.4-23.4L119.4 96c-5.6 9.7-13.7 17.8-23.4 23.4l0 273.1c9.7 5.6 17.8 13.7 23.4 23.4l337.1 0c5.6-9.7 13.7-17.8 23.4-23.4l0-273.1zM144 176c0-17.7 14.3-32 32-32l112 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-112 0c-17.7 0-32-14.3-32-32l0-64zM256 320l32 0c44.2 0 80-35.8 80-80l32 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l-112 0c-17.7 0-32-14.3-32-32l0-16z"]},Ume={prefix:"fas",iconName:"ruler-combined",icon:[448,512,[],"f546","M1 441.7C5.5 463.5 24.8 480 48 480l352 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-48 0 0 72c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-72-64 0 0 72c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-72-72 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l72 0 0-64-72 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l72 0 0-48c0-26.5-21.5-48-48-48L48 32C21.5 32 0 53.5 0 80L0 432c0 3.3 .3 6.6 1 9.7z"]},T7={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M65.9 228.5c13.3-93 93.4-164.5 190.1-164.5 53 0 101 21.5 135.8 56.2 .2 .2 .4 .4 .6 .6l7.6 7.2-47.9 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 53.4-11.3-10.7C390.5 28.6 326.5 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1zm443.5 64c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-53 0-101-21.5-135.8-56.2-.2-.2-.4-.4-.6-.6l-7.6-7.2 47.9 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 320c-8.5 0-16.7 3.4-22.7 9.5S-.1 343.7 0 352.3l1 127c.1 17.7 14.6 31.9 32.3 31.7S65.2 496.4 65 478.7l-.4-51.5 10.7 10.1c46.3 46.1 110.2 74.7 180.7 74.7 129 0 235.7-95.4 253.4-219.5z"]},wA={prefix:"fas",iconName:"book-open",icon:[512,512,[128214,128366],"f518","M256 141.3l0 309.3 .5-.2C311.1 427.7 369.7 416 428.8 416l19.2 0 0-320-19.2 0c-42.2 0-84.1 8.4-123.1 24.6-16.8 7-33.4 13.9-49.7 20.7zM230.9 61.5L256 72 281.1 61.5C327.9 42 378.1 32 428.8 32L464 32c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-35.2 0c-50.7 0-100.9 10-147.7 29.5l-12.8 5.3c-7.9 3.3-16.7 3.3-24.6 0l-12.8-5.3C184.1 490 133.9 480 83.2 480L48 480c-26.5 0-48-21.5-48-48L0 80C0 53.5 21.5 32 48 32l35.2 0c50.7 0 100.9 10 147.7 29.5z"]},Vme={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M0 64C0 46.3 14.3 32 32 32l448 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96L0 64zM32 176l448 0 0 240c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-240zm152 64c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},Ld={prefix:"fas",iconName:"border-top-left",icon:[448,512,["border-style"],"f853","M0 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-352 352 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L64 32C28.7 32 0 60.7 0 96L0 448zm128 0c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32zm128 0c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32zm160 32c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zM384 192a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm32 160a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},Wme={prefix:"fas",iconName:"list-ul",icon:[512,512,["list-dots"],"f0ca","M48 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM48 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM96 256a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"]},O2={prefix:"fas",iconName:"arrow-pointer",icon:[448,512,["mouse-pointer"],"f245","M77.3 2.5c8.1-4.1 17.9-3.2 25.1 2.3l320 239.9c8.3 6.2 11.6 17 8.4 26.8s-12.4 16.4-22.8 16.4l-152.3 0 88.9 177.7c7.9 15.8 1.5 35-14.3 42.9s-35 1.5-42.9-14.3l-88.9-177.7-91.3 121.8c-6.2 8.3-17 11.6-26.8 8.4S64 434.3 64 424L64 24c0-9.1 5.1-17.4 13.3-21.5z"]},O7={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},$7={prefix:"fas",iconName:"layer-group",icon:[512,512,[],"f5fd","M232.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 149.8C5.4 145.8 0 137.3 0 128s5.4-17.9 13.9-21.8L232.5 5.2zM48.1 218.4l164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 277.8C5.4 273.8 0 265.3 0 256s5.4-17.9 13.9-21.8l34.1-15.8zM13.9 362.2l34.1-15.8 164.3 75.9c27.7 12.8 59.6 12.8 87.3 0l164.3-75.9 34.1 15.8c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L13.9 405.8C5.4 401.8 0 393.3 0 384s5.4-17.9 13.9-21.8z"]},Gme={prefix:"fas",iconName:"hand-pointer",icon:[448,512,[],"f25a","M128 40c0-22.1 17.9-40 40-40s40 17.9 40 40l0 148.2c8.5-7.6 19.7-12.2 32-12.2 20.6 0 38.2 13 45 31.2 8.8-9.3 21.2-15.2 35-15.2 25.3 0 46 19.5 47.9 44.3 8.5-7.7 19.8-12.3 32.1-12.3 26.5 0 48 21.5 48 48l0 112c0 70.7-57.3 128-128 128l-85.3 0c-5 0-9.9-.3-14.7-1-55.3-5.6-106.2-34-140-79L8 336c-13.3-17.7-9.7-42.7 8-56s42.7-9.7 56 8l56 74.7 0-322.7zM240 304c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96zm48-16c-8.8 0-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96z"]};const Wu=Symbol.for("volter.editor.project-module-loader"),Gu=globalThis;function Kme(e){Gu[Wu]=e}function Yme(e){return Gu[Wu]?Gu[Wu].import(e):Promise.reject(new Error(`importProjectModule(${e}): no host has registered a project module loader`))}function Zme(e){return Gu[Wu]?Gu[Wu].source(e):Promise.reject(new Error(`readProjectModuleSource(${e}): no host has registered a project module loader`))}const Jme="editor",$2={editors:"document","views.panel":"utility","views.statusbar":"status",inspectors:"inspector",finders:"finder",looks:"look",services:"service"},Bg={"workspace.layout":"layout","workspace.keymap":"keymap","workspace.style":"style","workspace.environment":"environment"},Xme=Object.keys(Bg);function Qme(e){return typeof e=="string"&&Object.hasOwn(Bg,e)?Bg[e]:null}function ege(e){return Object.hasOwn($2,e)?$2[e]:null}let EA=null;const zg=new Set;function q7(){for(const e of zg)e()}function tge(e){return EA=e,q7(),e}function Cc(){return EA}function k7(e){return zg.add(e),()=>zg.delete(e)}function Ay(){return Cc()?.rootPath??"__unscoped__"}const _A=H.createContext(null);function rge({adapter:e,nodeId:t,children:r}){const n=H.useMemo(()=>({adapter:e,nodeId:t}),[e,t]);return R.jsx(_A.Provider,{value:n,children:r})}function nge(){const e=H.useContext(_A);if(!e)throw new Error("useSelection: no editor selection in context — this hook only works inside an editor-hosted INSPECTOR tool (placement: 'inspector'). Dock tools and project code have no selection to read.");const{adapter:t,nodeId:r}=e,n=H.useRef(0),o=H.useSyncExternalStore(i=>t.subscribe?.(()=>{n.current++,i()})??(()=>{}),()=>n.current);return H.useMemo(()=>{const i=r?t.hierarchy.node(r):null;return{nodeId:r,node:i}},[t,r,o])}function M7(e,t){const r=`volter:registration-group:${t}`,n=e?.data;n?.[r]?.dispose();let i=!1,a=[];const s=()=>{i=!1;const l=a;a=[];for(let c=l.length-1;c>=0;c--)l[c]()},u={ensure(l){if(!i){i=!0;try{l(c=>a.push(c))}catch(c){throw s(),c}}},reset:s};return n&&(n[r]={dispose:s},e.dispose(s)),u}let ao=[],N7=0,SA=0;const Hg=new Set;function q2(){SA++;for(const e of Hg)e()}function oge(e){return Hg.add(e),()=>{Hg.delete(e)}}function ige(){return SA}function I7(e){if(ao.some(r=>r.contribution.id===e.id))throw new Error(`registerWorkspaceStatus: id "${e.id}" is already registered — status ids key status-bar slots, so they must be unique; unregister the previous contribution first.`);const t={contribution:e,seq:N7++};return ao=[...ao,t],q2(),()=>{ao.includes(t)&&(ao=ao.filter(r=>r!==t),q2())}}function age(e){const t=r=>[...ao].filter(n=>(n.contribution.align??"left")===r).sort((n,o)=>(n.contribution.order??0)-(o.contribution.order??0)||n.seq-o.seq).map(n=>n.contribution);return e?t(e):[...t("left"),...t("right")]}let Fd=null,RA=0;const Ug=new Set;function k2(){RA++;for(const e of Ug)e()}function j7(e){return Ug.add(e),()=>Ug.delete(e)}function D7(){return RA}function L7(){return Fd}function F7(e){const t=Symbol(e.documentId);return Fd={...e,token:t},k2(),()=>{Fd?.token===t&&(Fd=null,k2())}}function B7(){H.useSyncExternalStore(j7,D7);const e=L7();return e?.status?R.jsx("span",{className:"volter-status-copy","data-testid":"status-asset-editor","data-status-tone":"muted",children:e.status}):null}const z7=M7(void 0,"asset-editor-shell-contributions");function H7(){z7.ensure(e=>{e(I7({id:"asset-editor-status",name:"Asset editor",align:"left",order:40,Content:B7}))})}H7();let di=null,xA=0;const Vg=new Set;function M2(){xA+=1;for(const e of Vg)e()}function sge(e){return Vg.add(e),()=>{Vg.delete(e)}}function lge(){return xA}function U7(e,t){const r=Symbol(e);return di={documentId:e,readSubject:t,token:r},M2(),()=>{di?.token===r&&(di=null,M2())}}function uge(){return di===null?null:{documentId:di.documentId,subject:di.readSubject()}}const Co=new Map,N2=new Map;function CA(){typeof window>"u"||window.parent===window||Co.size===0||window.parent.postMessage({type:"volter:viewport-ready",documents:[...Co.keys()]},"*")}typeof window<"u"&&window.parent!==window&&window.addEventListener("message",e=>{e.source===window.parent&&e.data?.type==="volter:request-viewport-ready"&&CA()});let Ze=null,AA=null;function PA(){if(typeof window>"u")return!1;const e=window.__VOLTER_VIEWPORT_TIMINGS__;if(e===!0||e==="1")return!0;try{return new URLSearchParams(window.location.search).get("volterTimings")==="1"}catch{return!1}}function V7(e){const t=Date.now();return{documentId:e,visibilityState:typeof document>"u"?"unavailable":document.visibilityState,startedAtMs:t,reactActiveAtMs:null,constructStartedAtMs:null,viewportReadyAtMs:null,rafResumeAtMs:null,firstRenderStartedAtMs:null,firstRenderMs:0}}function W7(e,t){const r=e.reactActiveAtMs===null?0:Math.max(0,e.reactActiveAtMs-e.startedAtMs),n=e.viewportReadyAtMs??e.rafResumeAtMs,o=e.firstRenderStartedAtMs??t,i=n===null?0:Math.max(0,o-n),a=n===null?Math.max(0,t-e.startedAtMs):Math.max(0,t-n),s=r+i+e.firstRenderMs,u=Math.max(0,t-e.startedAtMs);return{visibilityState:e.visibilityState,startedAtMs:e.startedAtMs,reactActiveAtMs:e.reactActiveAtMs,constructStartedAtMs:e.constructStartedAtMs,viewportReadyAtMs:e.viewportReadyAtMs,rafResumeAtMs:e.rafResumeAtMs,firstRenderStartedAtMs:e.firstRenderStartedAtMs,firstFrameAtMs:t,workspaceSyncMs:r,rafWaitMs:i,firstRenderMs:e.firstRenderMs,firstPaintMs:a,unattributedMs:Math.max(0,u-s),accountedMs:s,storyDiscovery:AA}}function cge(e){const t=Date.now(),r=(N2.get(e)??0)+1;N2.set(e,r);const n={documentId:e,activation:r,firstFrameAtMs:t},o=Ze;if(o&&o.documentId===e){const i={...n,breakdown:W7(o,t)};return Ze=null,Co.set(e,i),j2(),I2(),i}return Co.set(e,n),j2(),I2(),n}let Wg=new Set;const Gg=new Set;function I2(){CA();for(const e of Gg)e()}function dge(e){return Gg.add(e),()=>Gg.delete(e)}function j2(){Co.size!==0&&TA()}function TA(){const e=Wg;Wg=new Set;for(const t of e)t()}let D2=!1;function G7(){D2||typeof document>"u"||(D2=!0,document.addEventListener("visibilitychange",()=>{document.hidden&&TA()}))}function fge(){return Co.size>0||typeof document<"u"&&document.hidden?Promise.resolve():(G7(),new Promise(e=>Wg.add(e)))}function pge(){return[...Co.values()]}function K7(e){PA()&&(Ze=V7(e))}function hge(e){Ze&&(Ze.firstRenderMs=Math.max(0,e))}function mge(e){!Ze||Ze.documentId!==e||Ze.reactActiveAtMs===null&&(Ze.reactActiveAtMs=Date.now())}function gge(e){!Ze||Ze.documentId!==e||Ze.rafResumeAtMs===null&&(Ze.rafResumeAtMs=Date.now())}function bge(e){!Ze||Ze.documentId!==e||Ze.firstRenderStartedAtMs===null&&(Ze.firstRenderStartedAtMs=Date.now())}function vge(){Ze&&(Ze.constructStartedAtMs=Date.now())}function yge(){Ze&&(Ze.viewportReadyAtMs=Date.now())}function wge(){return Ze?.documentId??null}function Ege(e){PA()&&(AA=e)}const _ge=["scene","world","story","asset","behavior","generation","content-browser","tool-contribution","document"];let De=[],$n=null,Xt=null,Ku=null,Ei=null;function L2(e){queueMicrotask(()=>{Ei===e&&De.some(t=>t.descriptor.id===e)&&(Ei=null,Oy(e))})}let OA=0;const Kg=new Set,cm=new Set,bo=new Map;function Tr(){OA++;for(const e of Kg)e()}function Sge(e){return Kg.add(e),()=>{Kg.delete(e)}}function Rge(){return OA}function Py(){return De}function Ui(){return Xt}function F2(){return Ku}function xge(e,t){Oy(e)&&Ku!==t&&(Ku=t,Tr())}function Ty(){return De.find(e=>e.descriptor.id===Xt)??null}function Yu(e){if(e===Xt)return;e&&K7(e);const t=De.find(n=>n.descriptor.id===Xt);Xt=e,Ku=null,t?.descriptor.onDeactivate?.(t.descriptor.id);const r=De.find(n=>n.descriptor.id===e);r?.descriptor.onActivate?.(r.descriptor.id)}function Y7(e,t,r,n){if(t){!r&&n&&$n===e&&($n=null);return}r&&($n&&Z7($n),$n=e)}function Cge(e,t={}){const r=Ei===e.id,n=r||t.activate!==!1,o=De.find(a=>a.descriptor.id===e.id);if(Y7(e.id,!!o,t.preview===!0,n),!o)return De=[...De,{descriptor:e,title:e.title}],!e.area&&(n||Xt===null)&&Yu(e.id),r&&L2(e.id),Tr(),e.id;let i=!1;return(o.descriptor.Toolbar!==e.Toolbar||o.descriptor.Shelf!==e.Shelf||o.descriptor.Content!==e.Content)&&(De=De.map(a=>{if(a!==o)return a;const{Toolbar:s,Shelf:u,...l}=a.descriptor;return{...a,descriptor:{...l,Content:e.Content,...e.Toolbar?{Toolbar:e.Toolbar}:{},...e.Shelf?{Shelf:e.Shelf}:{}}}}),i=!0),n&&Xt!==e.id&&(Yu(e.id),i=!0),i&&Tr(),r&&L2(e.id),e.id}function Oy(e){return De.some(t=>t.descriptor.id===e)?(Xt!==e&&(Yu(e),Tr()),!0):!1}function Age(e){if(Oy(e)){Ei=null;return}Ei=e}function Z7(e){if(cm.has(e))return!1;const t=De.findIndex(n=>n.descriptor.id===e);if(t<0)return!1;const r=De[t];cm.add(e);try{if(Xt===e){const o=t>0?De[t-1]:De[t+1]??null;Yu(o?o.descriptor.id:null)}return De=De.filter(o=>o.descriptor.id!==e),$n===e&&($n=null),bo.delete(e),r.descriptor.onDispose?.(e),Tr(),!0}finally{cm.delete(e)}}function Pge(){if(De.length===0&&Xt===null)return;const e=De;Yu(null),De=[],Ku=null,$n=null,bo.clear(),Ei=null;for(const t of e)t.descriptor.onDispose?.(t.descriptor.id);Tr()}function J7(e,t){return De.some(r=>r.descriptor.id===e)?(bo.set(e,t),Tr(),()=>{bo.get(e)===t&&(bo.delete(e),Tr())}):()=>{}}function Tge(e){bo.has(e)&&Tr()}function Oge(e,t){const r=De.find(n=>n.descriptor.id===e);!r||r.title===t||(De=De.map(n=>n.descriptor.id===e?{...n,title:t}:n),Tr())}function $A(e){const t=De.find(n=>n.descriptor.id===e),r=bo.get(e)??t?.descriptor.selection;if(!r)return null;try{return r()}catch{return null}}function X7(){return Xt?$A(Xt):null}const Q7={adapter:null,nodeId:null};function eD(e){return JSON.stringify({id:e.id,title:e.title,hint:e.hint,kindLabel:e.kindLabel,note:e.note,sections:e.sections.map(t=>({id:t.id,title:t.title,order:t.order,description:t.description,defaultOpen:t.defaultOpen,testId:t.testId,railGroup:t.railGroup,bodyKind:t.body.kind})),quickActions:e.quickActions?.map(t=>({id:t.id,title:t.title,label:t.label,placement:t.placement,pressed:t.pressed,disabled:t.disabled}))})}function tD({documentId:e,active:t=!0,type:r,title:n,sections:o,status:i,selection:a}){H.useEffect(()=>{if(t)return F7({documentId:e,title:n,type:r,...i?{status:i}:{}})},[t,e,i,n,r]);const s=H.useRef(a);s.current=a,H.useEffect(()=>{if(t)return J7(e,()=>s.current?.()??Q7)},[t,e]);const u={id:e,title:n,kindLabel:r,...i?{note:{text:i,testId:"asset-editor-status"}}:{},sections:o??[]},l=H.useRef(u);l.current=u;const c=eD(u);return H.useEffect(()=>{if(t)return U7(e,()=>l.current)},[t,e,c]),null}function $ge({documentId:e,active:t=!0,type:r,title:n,sections:o,status:i,fill:a=!1,selection:s,children:u}){return R.jsxs("section",{className:"volter-asset-editor","data-testid":`asset-editor:${r}`,"aria-label":`${n} Asset Editor`,children:[R.jsx(tD,{documentId:e,active:t,type:r,title:n,sections:o,status:i,selection:s}),R.jsx("main",{className:`volter-asset-editor__viewport${a?" volter-asset-editor__viewport--fill":""}`,children:u})]})}const Bd=new Map,Yg=new Set;function B2(){for(const e of Yg)e()}function qge(e){const t=Object.entries(e);for(const[r,n]of t)Bd.set(r,n);return B2(),()=>{for(const[r,n]of t)Bd.get(r)===n&&Bd.delete(r);B2()}}function kge(e){return Bd.get(e)??null}function Mge(e){return Yg.add(e),()=>{Yg.delete(e)}}const z2=Object.freeze({id:"classic",shape:{small:"3px",medium:"6px",large:"8px",full:"9999px"},elevation:{small:"0 2px 8px rgba(0,0,0,0.6)",medium:"0 4px 12px rgba(0,0,0,0.5)",large:"0 8px 32px rgba(0,0,0,0.6)"}}),jr=Object.freeze({id:"glass",color:{surface:{shell:"#12161f",panel:"rgba(255,255,255,0.06)",chrome:"rgba(255,255,255,0.10)",raised:"rgba(255,255,255,0.16)",inset:"rgba(10,14,22,0.38)",overlay:"rgba(255,255,255,0.08)"},boundary:{default:"rgba(255,255,255,0.22)",strong:"rgba(255,255,255,0.38)"},neutralOverlay:{hover:"color-mix(in srgb, currentColor 10%, transparent)",active:"color-mix(in srgb, currentColor 16%, transparent)"},scrim:"rgba(8,12,20,0.35)"},shape:{small:"4px",medium:"8px",large:"14px",full:"9999px"},elevation:{small:"0 4px 14px -6px rgba(0,0,0,0.45)",medium:"0 8px 24px -10px rgba(0,0,0,0.5)",large:"0 20px 46px -16px rgba(0,0,0,0.55), 0 4px 14px -6px rgba(0,0,0,0.35)"},treatment:{backdropBlurPx:1,backdropSaturation:1.15,edgeSpecular:.7,specularAngleDeg:120,textShadowOpacity:.72,contentFrostBlurPx:24,ambientLiftOpacity:.07,adaptiveContent:!0,brightTextShadowOpacity:0,brightFrostBg:"rgba(255,255,255,0.3)"},reducedTransparency:{surface:{shell:"#12161f",panel:"#33373e",chrome:"#3d4047",raised:"#4b4e55",inset:"#23272f",overlay:"#383b43"},scrim:"rgba(8,12,20,0.5)"}}),rD=["classic","glass"],Tu=new Map;function Nge(e){if(nD(e.id))throw new Error(`registerContributedMaterial: material "${e.id}" is already registered.`);return Tu.set(e.id,e),()=>{Tu.get(e.id)===e&&Tu.delete(e.id)}}function nD(e){return typeof e=="string"&&(rD.includes(e)||Tu.has(e))}function Ige(e,t,r=!1){if(t!=="glass"){const o=Tu.get(t);return{id:o?`${e.id}--${o.id}`:e.id,color:e.color,typography:e.typography,shape:o?.shape??z2.shape,elevation:o?.elevation??z2.elevation,...o?.density?{density:o.density}:{},...o?.stage?{stage:o.stage}:{},appearance:{material:"classic"}}}return{id:`${e.id}--${r?"glass-reduced":"glass"}`,color:{surface:r?jr.reducedTransparency.surface:jr.color.surface,boundary:jr.color.boundary,content:e.color.content,accent:e.color.accent,semantic:e.color.semantic,neutralOverlay:jr.color.neutralOverlay,scrim:r?jr.reducedTransparency.scrim:jr.color.scrim},typography:e.typography,shape:jr.shape,elevation:jr.elevation,appearance:{material:"glass"},...r?{}:{treatment:jr.treatment}}}const oD={start:"flex-start",center:"center",end:"flex-end",stretch:"stretch",baseline:"baseline"},iD={start:"flex-start",center:"center",end:"flex-end",between:"space-between",around:"space-around",evenly:"space-evenly"};function rd(e){return e===0?"0px":e===void 0?void 0:`var(--volter-space-${e})`}function qA({gap:e,align:t,justify:r,padding:n,paddingX:o,paddingY:i,style:a}){return{gap:rd(e),alignItems:t?oD[t]:void 0,justifyContent:r?iD[r]:void 0,padding:rd(n),paddingInline:rd(o),paddingBlock:rd(i),...a}}function $p(e,t){return t?`${e} ${t}`:e}function qp({className:e,...t}){return R.jsx("div",{...t,className:$p("volter-stack",e),style:qA(t)})}function Qo({className:e,...t}){return R.jsx("div",{...t,className:$p("volter-inline",e),style:qA(t)})}function jge({orientation:e="horizontal",className:t,...r}){return R.jsx("div",{...r,"aria-hidden":"true","data-orientation":e,className:$p("volter-divider",t)})}function aD({children:e,className:t,...r}){return R.jsx(Qo,{...r,className:$p("volter-actions",t),gap:2,align:"center",children:e})}function kA(e,t){return t?`${e} ${t}`:e}const nt=H.forwardRef(function({as:t="span",variant:r="body",tone:n="primary",truncate:o=!1,selectable:i=!1,className:a,...s},u){const l=t;return R.jsx(l,{...s,ref:u,"data-variant":r,"data-tone":n,"data-truncate":o||void 0,"data-selectable":i||void 0,className:kA("volter-text",a)})});function zd({className:e,...t}){return R.jsx("kbd",{...t,className:kA("volter-keycap",e)})}function $y(e,t){return t?`${e} ${t}`:e}function Dge({labelledBy:e,onDismiss:t,size:r="default",variant:n="default",className:o,...i}){const[a]=H.useState(()=>typeof document>"u"?null:document.querySelector(".volter-editor-theme")),s=H.useId(),u=H.useRef(null);H.useEffect(()=>{if(!t)return;const c=d=>{if(d.key!=="Escape"||d.defaultPrevented)return;const f=document.querySelectorAll(".volter-dialog-scrim");f[f.length-1]===u.current&&(d.preventDefault(),t())};return window.addEventListener("keydown",c),()=>window.removeEventListener("keydown",c)},[t]);const l=R.jsx("div",{ref:u,"data-volter-portal-content":a?s:void 0,className:"volter-dialog-scrim","data-variant":n,onPointerDown:c=>{c.target===c.currentTarget&&t?.()},children:R.jsx("div",{...i,role:"dialog","aria-modal":"true","aria-labelledby":e,"data-size":r,"data-variant":n,className:$y("volter-dialog",o)})});return a?R.jsxs(R.Fragment,{children:[R.jsx("span",{"data-volter-portal":s,style:{display:"none"}}),xc.createPortal(l,a)]}):l}function Lge({titleId:e,title:t,description:r}){return R.jsxs(qp,{className:"volter-dialog-header",gap:2,children:[R.jsx(nt,{id:e,as:"h2",variant:"heading",children:t}),r&&R.jsx(nt,{as:"p",tone:"muted",children:r})]})}function Fge({className:e,...t}){return R.jsx(qp,{...t,className:$y("volter-dialog-body",e)})}function Bge({children:e,className:t,...r}){return R.jsx(aD,{...r,className:$y("volter-dialog-footer",t),children:e})}function MA(e,t){return t?`${e} ${t}`:e}function zge({className:e,...t}){return R.jsx("div",{...t,className:MA("volter-field-group",e)})}function Hge({label:e,htmlFor:t,hint:r,compact:n=!1,className:o,children:i,...a}){return R.jsxs("div",{...a,"data-compact":n||void 0,className:MA("volter-field-row",o),children:[R.jsx("label",{htmlFor:t,className:"volter-field-label",children:e}),R.jsx("div",{className:"volter-field-control",children:i}),r&&R.jsx("div",{className:"volter-field-hint",children:r})]})}const Uge=H.forwardRef(function({selected:t=!1,accent:r="bar",className:n,type:o="button",...i},a){return R.jsx("button",{...i,ref:a,type:o,"data-selected":t||void 0,"data-accent":r,className:n?`volter-list-button ${n}`:"volter-list-button"})});function sD({tone:e="neutral",icon:t,title:r,description:n,action:o,compact:i=!1,className:a,...s}){const u=e==="error"?"alert":e==="loading"||e==="success"?"status":void 0;return R.jsxs("div",{...s,role:s.role??u,"data-tone":e,"data-compact":i||void 0,className:a?`volter-state-surface ${a}`:"volter-state-surface",children:[t&&R.jsx("div",{className:"volter-state-surface-icon",children:t}),R.jsx("strong",{className:"volter-state-surface-title",children:r}),n&&R.jsx("div",{className:"volter-state-surface-description",children:n}),o&&R.jsx("div",{className:"volter-state-surface-action",children:o})]})}function kp(e,t){return t?`${e} ${t}`:e}function Vge({variant:e="panel",border:t=!1,scroll:r=!1,className:n,...o}){return R.jsx("div",{...o,"data-variant":e,"data-border":t||void 0,"data-scroll":r||void 0,className:kp("volter-surface",n)})}function Wge({tone:e="info",icon:t,actions:r,className:n,children:o,...i}){return R.jsxs("div",{...i,role:e==="error"?"alert":"status","data-tone":e,className:kp("volter-banner",n),children:[t&&R.jsx("span",{className:"volter-banner-icon",children:t}),R.jsx("div",{className:"volter-banner-content",children:o}),r&&R.jsx("div",{className:"volter-banner-actions",children:r})]})}const Mp=H.forwardRef(function({className:t,...r},n){return R.jsx("div",{ref:n,...r,className:kp("volter-popover",t)})});function Gge({position:e="inside",className:t,...r}){return R.jsx("div",{...r,"aria-hidden":"true","data-position":e,className:kp("volter-drop-indicator",t)})}function NA(e,t){return t?`${e} ${t}`:e}const Kge=H.forwardRef(function({className:t,onKeyDown:r,...n},o){return R.jsx("div",{...n,ref:o,role:"tablist",className:NA("volter-tabs",t),onKeyDown:i=>{if(r?.(i),i.defaultPrevented||!["ArrowLeft","ArrowRight","Home","End"].includes(i.key))return;const a=Array.from(i.currentTarget.querySelectorAll('[role="tab"]:not(:disabled)'));if(a.length===0)return;i.preventDefault();const s=a.indexOf(document.activeElement);(i.key==="Home"?a[0]:i.key==="End"?a.at(-1):i.key==="ArrowRight"?a[(s+1+a.length)%a.length]:a[(s-1+a.length)%a.length])?.focus()}})}),Yge=H.forwardRef(function({selected:t=!1,dirty:r=!1,badge:n,className:o,type:i="button",tabIndex:a,children:s,...u},l){return R.jsxs("button",{...u,ref:l,type:i,role:"tab",tabIndex:a??(t?0:-1),"aria-selected":t,"data-selected":t||void 0,className:NA("volter-tab",o),children:[r&&R.jsxs(R.Fragment,{children:[R.jsx("span",{className:"volter-tab-dirty",title:"Unsaved","aria-hidden":"true"}),R.jsx("span",{className:"volter-sr-only",children:"Unsaved"})]}),R.jsx("span",{className:"volter-tab-label",children:s}),n!==void 0&&R.jsx("span",{className:"volter-tab-badge",children:n})]})});function Ac(e,t){return t?`${e} ${t}`:e}const IA=H.forwardRef(function({label:t,compact:r=!1,selectionMode:n="independent",className:o,...i},a){return R.jsx("div",{...i,ref:a,role:"toolbar","aria-label":t,"data-compact":r||void 0,"data-selection-mode":n,className:Ac("volter-toolbar",o)})});function Zge({className:e,...t}){return R.jsx("div",{...t,role:"group",className:Ac("volter-toolbar-group",e)})}function Jge(e){return R.jsx("span",{...e,"aria-hidden":"true",className:Ac("volter-toolbar-divider",e.className)})}function lD({className:e,onPointerDownCapture:t,...r}){return R.jsx(IA,{...r,compact:!0,className:Ac("volter-floating-toolbar",e),onPointerDownCapture:n=>{t?.(n),n.stopPropagation()}})}function jA({className:e,...t}){return R.jsx("div",{...t,role:"group",className:Ac("volter-split-button",e)})}function DA(e,t){return t?`${e} ${t}`:e}const Xge=H.forwardRef(function({label:t,className:r,...n},o){return R.jsx("div",{...n,ref:o,role:"tree","aria-label":t,className:DA("volter-tree",r)})}),Qge=H.forwardRef(function({level:t=1,selected:r=!1,expanded:n,muted:o=!1,dragging:i=!1,leading:a,actions:s,className:u,children:l,style:c,...d},f){return R.jsxs("div",{...d,ref:f,role:"treeitem",tabIndex:d.tabIndex??-1,"aria-level":t,"aria-selected":r,...n===void 0?{}:{"aria-expanded":n},"data-selected":r||void 0,"data-muted":o||void 0,"data-dragging":i||void 0,className:DA("volter-tree-row",u),style:{paddingLeft:6+Math.max(0,t-1)*14,...c},children:[a&&R.jsx("span",{className:"volter-tree-row-leading",children:a}),R.jsx("span",{className:"volter-tree-row-label",children:l}),s&&R.jsx("span",{className:"volter-tree-row-actions",children:s})]})});function uD(e){const r=window.innerWidth,n=window.innerHeight,o=Math.max(8,r-e.width-8),i=Math.max(8,n-e.height-8);return{left:Math.min(Math.max(e.left,8),o),top:Math.min(Math.max(e.top,8),i)}}function Np(e,t){return t?`${e} ${t}`:e}function Zg(e){return Array.from(e.querySelectorAll('[role="menuitem"]:not(:disabled), [role="menuitemradio"]:not(:disabled), [role="menuitemcheckbox"]:not(:disabled)'))}function cD(e){Zg(e)[0]?.focus()}function H2(e,t){if(!e)return!1;let r=t;for(;r;){if(e.contains(r))return!0;const o=((r instanceof Element?r:r.parentElement)?.closest("[data-volter-portal-content]")??null)?.getAttribute("data-volter-portal-content");if(!o)return!1;r=document.querySelector(`[data-volter-portal="${CSS.escape(o)}"]`)}return!1}const dD=H.forwardRef(function({className:t,role:r="menu",autoFocusFirst:n=!1,dismissBoundaryRef:o,onDismiss:i,onKeyDown:a,...s},u){const l=H.useRef(null);return H.useImperativeHandle(u,()=>l.current),H.useEffect(()=>{n&&Zg(l.current)[0]?.focus()},[n]),H.useEffect(()=>{if(!i)return;const c=d=>{const f=d.target;!H2(l.current,f)&&!H2(o?.current??null,f)&&i("outside")};return document.addEventListener("pointerdown",c),()=>document.removeEventListener("pointerdown",c)},[o,i]),R.jsx("div",{...s,ref:l,role:r,className:Np("volter-menu",t),onKeyDown:c=>{if(a?.(c),c.defaultPrevented)return;if(c.key==="Escape"){c.preventDefault(),i?.("escape");return}if(!["ArrowDown","ArrowUp","Home","End"].includes(c.key))return;c.preventDefault();const d=Zg(c.currentTarget);if(d.length===0)return;const f=d.indexOf(document.activeElement);c.key==="Home"?d[0]?.focus():c.key==="End"?d.at(-1)?.focus():c.key==="ArrowDown"?d[(f+1+d.length)%d.length]?.focus():d[(f-1+d.length)%d.length]?.focus()}})}),LA=H.forwardRef(function({className:t,type:r="button",role:n="menuitem",onClick:o,onSelect:i,...a},s){return R.jsx("button",{...a,ref:s,type:r,role:n,className:Np("volter-menu-item",t),onClick:u=>{o?.(u),u.defaultPrevented||i?.()}})});function ebe(e){return R.jsx("hr",{...e,className:Np("volter-menu-separator",e.className)})}const tbe=H.forwardRef(function({className:t,type:r="button",...n},o){return R.jsx("button",{...n,ref:o,type:r,"aria-haspopup":n["aria-haspopup"]??"menu",className:Np("volter-menu-trigger",t)})});function fD({children:e}){const t=H.useRef(null),[r,n]=H.useState(null),o=H.useId();return H.useLayoutEffect(()=>{n(t.current?.closest(".volter-editor-theme")??null)},[]),R.jsxs(R.Fragment,{children:[R.jsx("span",{ref:t,"data-volter-portal":o,style:{display:"none"}}),r?xc.createPortal(R.jsx("div",{"data-volter-portal-content":o,style:{display:"contents"},children:e}),r):null]})}function qy({anchorRef:e,align:t="end",side:r="bottom",autoFocusFirst:n=!0,gap:o=4,clamp:i=!1,onDismiss:a,style:s,children:u,...l}){const[c,d]=H.useState(null),[f,p]=H.useState(null),h=H.useRef(null),m=H.useRef(!0),v=H.useRef(!1),g=H.useCallback(()=>{const _=e.current;if(!_||!c)return;const x=_.getBoundingClientRect(),S=c.getBoundingClientRect(),b=r==="right"||r==="left"?{left:r==="right"?x.right+o:x.left-o-S.width,top:x.top}:{left:t==="end"?x.right-S.width:x.left,top:r==="top"?x.top-o-S.height:x.bottom+o},w=i?uD({...b,width:S.width,height:S.height}):b,C=h.current;C?.left===w.left&&C.top===w.top||(h.current=w,p(w))},[t,e,i,o,c,r]);H.useLayoutEffect(()=>{const _=e.current;if(!_||!c)return;g();let x=0;const S=()=>{g(),x=requestAnimationFrame(S)};x=requestAnimationFrame(S),window.addEventListener("resize",g),document.addEventListener("scroll",g,!0);const y=typeof ResizeObserver>"u"?null:new ResizeObserver(g);return y?.observe(_),y?.observe(c),()=>{const b=m.current&&c.contains(document.activeElement);window.removeEventListener("resize",g),document.removeEventListener("scroll",g,!0),cancelAnimationFrame(x),y?.disconnect(),b&&queueMicrotask(()=>e.current?.focus())}},[e,c,g]),H.useLayoutEffect(()=>{!n||v.current||!c||!f||(v.current=!0,cD(c))},[n,c,f]);const E=_=>{m.current=_!=="outside",a(),_==="escape"&&e.current?.focus()};return R.jsx(fD,{children:R.jsx(dD,{...l,ref:d,dismissBoundaryRef:e,onDismiss:E,style:{...s,position:"fixed",left:f?.left??0,top:f?.top??0,visibility:f?s?.visibility:"hidden"},children:u})})}function rbe({label:e,children:t,gap:r=0,...n}){const[o,i]=H.useState(!1),a=H.useRef(null),s=H.useId(),u=c=>c instanceof Element&&(a.current?.contains(c)===!0||c.closest(`[data-volter-submenu="${s}"]`)!==null),l=c=>{u(c.relatedTarget)||i(!1)};return R.jsxs(R.Fragment,{children:[R.jsxs(LA,{...n,ref:a,"aria-haspopup":"menu","aria-expanded":o,onPointerEnter:()=>i(!0),onPointerLeave:l,onClick:c=>{c.preventDefault(),i(!0)},onKeyDown:c=>{(c.key==="ArrowRight"||c.key==="Enter"||c.key===" ")&&(c.preventDefault(),i(!0)),c.key==="ArrowLeft"&&i(!1)},children:[R.jsx("span",{style:{flex:1},children:e}),R.jsx("span",{"aria-hidden":"true",style:{paddingInlineStart:"var(--volter-space-4)"},children:"▸"})]}),o&&R.jsx(qy,{anchorRef:a,"data-volter-submenu":s,side:"right",gap:r,clamp:!0,autoFocusFirst:!1,onDismiss:()=>i(!1),onPointerLeave:l,children:t})]})}const Xe=H.forwardRef(function({variant:t="secondary",size:r="default",shape:n="default",className:o,type:i="button",...a},s){return R.jsx("button",{...a,ref:s,type:i,className:o?`volter-btn ${o}`:"volter-btn","data-variant":t,"data-size":r,"data-shape":n})}),In=H.forwardRef(function({variant:t="ghost",visibleLabel:r,children:n,...o},i){return R.jsxs(Xe,{...o,ref:i,variant:t,"data-icon":"true","data-label-placement":r===void 0?void 0:"below",children:[n,r!==void 0&&R.jsx("span",{className:"volter-icon-button-label",children:r})]})}),pD=H.createContext(null);function FA(){return H.useContext(pD)}function ko(e,t){return t?`${e} ${t}`:e}const lt=H.forwardRef(function({className:t,type:r="text",...n},o){return R.jsx("input",{...n,ref:o,type:r,className:ko("volter-input",t)})}),Jg=H.forwardRef(function({className:t,...r},n){return R.jsx("select",{...r,ref:n,className:ko("volter-select",t)})}),nbe=H.forwardRef(function({className:t,...r},n){return R.jsx("textarea",{...r,ref:n,className:ko("volter-input volter-textarea",t)})}),Ou=H.forwardRef(function({className:t,...r},n){return R.jsx("input",{...r,ref:n,type:"checkbox",className:ko("volter-checkbox",t)})}),hD=H.forwardRef(function({className:t,...r},n){return R.jsx("input",{...r,ref:n,type:"color",className:ko("volter-color-swatch",t)})}),obe=H.forwardRef(function({className:t,...r},n){return R.jsx("input",{...r,ref:n,type:"file",className:ko("volter-file-input",t)})}),ibe=H.forwardRef(function({className:t,...r},n){return R.jsx("input",{...r,ref:n,type:"range",className:ko("volter-range",t)})});function abe({value:e,onChange:t,disabled:r=!1}){const[n,o]=H.useState(e??""),i=FA();H.useEffect(()=>{o(e??"")},[e]);const a=()=>{const s=n.trim();s&&s!==e&&t(s)};return e===null?R.jsxs("div",{className:"volter-color-input",children:[R.jsx("div",{className:"volter-color-input-mixed"}),R.jsx(lt,{placeholder:"—",disabled:r,onChange:s=>{s.target.value&&t(s.target.value)},"data-mixed":"true"})]}):R.jsxs("div",{className:"volter-color-input",children:[R.jsx(hD,{value:e,disabled:r,onChange:s=>{i?.begin(),t(s.target.value)},onBlur:()=>i?.end()}),R.jsx(lt,{value:n,disabled:r,onChange:s=>o(s.target.value),onBlur:a,onKeyDown:s=>{s.key==="Enter"?(a(),s.target.blur()):s.key==="Escape"&&(o(e),s.target.blur())}})]})}const Ip="default",$u=new Map;let Zu=Ip;const Xg=new Set;function Qg(){for(const e of Xg)e()}function BA(e){return typeof e=="string"&&(e===Ip||$u.has(e))}function sbe(e){if(BA(e.id))throw new Error(`registerContributedIconSet: icon set "${e.id}" is already registered.`);return $u.set(e.id,e),Qg(),()=>{$u.get(e.id)===e&&($u.delete(e.id),Qg())}}function U2(){return Zu}function lbe(e){const t=BA(e)?e:Ip;t!==Zu&&(Zu=t,Qg())}function mD(e){return Xg.add(e),()=>Xg.delete(e)}function gD(e){return Zu===Ip?null:$u.get(Zu)?.glyphs[e]??null}const Rn={base:0,overlayLow:50,sticky:100,dropdown:1e3,toast:9999,modal:1e4},oa={0:"#1a1a1a",1:"#242424",2:"#2c2c2c",3:"#333333",inset:"#1e1e1e"},V2={1:"#333333",2:"#444444"},dm={1:"#c5c8ce",2:"#9aa0a6",3:"#90959c"},bD="#579EFF",vD="rgba(87,158,255,0.15)",yD="#FF6B6B",wD="#e0a030",ED="#4caf50",_D="rgba(76,175,80,0.15)",SD="rgba(255,107,107,0.15)",RD="rgba(224,160,48,0.12)",xD="rgba(255,107,107,0.06)",CD="rgba(0,0,0,0.5)",AD="#ff79c6",PD="rgba(255,121,198,0.08)",TD="#22b8d6",OD='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',$D='ui-monospace, "SF Mono", Monaco, "Cascadia Code", monospace',fm={sm:"0 2px 8px rgba(0,0,0,0.6)",md:"0 4px 12px rgba(0,0,0,0.5)",lg:"0 8px 32px rgba(0,0,0,0.6)"},ube={0:"var(--volter-surface-shell)",1:"var(--volter-surface-panel)",2:"var(--volter-surface-chrome)",3:"var(--volter-surface-raised)",inset:"var(--volter-surface-inset)"},cbe={1:"var(--volter-boundary-default)",2:"var(--volter-boundary-strong)"},dbe={1:"var(--volter-content-primary)",2:"var(--volter-content-muted)",3:"var(--volter-content-dim)"},fbe="var(--volter-accent)",pbe="var(--volter-accent-muted)",hbe={background:"var(--volter-selection-bg)",border:"var(--volter-selection-border)",indicator:"var(--volter-selection-indicator)"},mbe="var(--volter-danger)",gbe="var(--volter-warn)",bbe="var(--volter-success)",vbe="var(--volter-success-muted)",ybe="var(--volter-danger-muted)",wbe="var(--volter-warn-muted)",Ebe="var(--volter-danger-faint)",_be="var(--volter-scrim)",Sbe="var(--volter-dynamic)",Rbe="var(--volter-dynamic-muted)",Tt={1:2,2:4,3:6,4:8,5:10,6:12,8:16,10:20,12:24},qD={commandBar:36,panelHeader:30,localToolbar:28,treeRow:24,treeIndent:14,statusBar:36,toolSize:34,toolWidth:38,toolGap:7,areaSeam:1,areaEmboss:0,navigationControl:28,treeCaret:18,treeGlyphPlateRadius:5,treeGlyphOpacity:.8},ky=["solid","clay","unlit","wireframe","matcap","normals","overdraw","preview","rendered"];function Ct(e){return e===void 0?"":`${e}`}function Re(e){return{control:{...kD,...e.density?.control},font:{...ND,...e.density?.font},icon:{...MD,...e.density?.icon},chrome:{...qD,...e.density?.chrome}}}const kD={compact:20,default:24,comfortable:28},pm={resting:1,active:2},MD={xs:9,sm:10,md:12,lg:13,xl:14,"2xl":16},ND={xs:9,sm:10,base:11,md:12,lg:13,xl:14,"2xl":16,heading:24},Hd={regular:400,semibold:600,bold:700},nd={tight:1,snug:1.2,normal:1.4,relaxed:1.5},ia={duration:{fast:140,base:180,slow:300},easing:{standard:"cubic-bezier(0.32, 0.72, 0.28, 1)",out:"ease-out"}},xbe="var(--volter-font-sans)",Cbe="var(--volter-font-mono)",od={small:"3px",medium:"6px",large:"8px",full:"9999px"},Abe={sm:"var(--volter-radius-sm)",md:"var(--volter-radius-md)",lg:"var(--volter-radius-lg)",full:"var(--volter-radius-full)"},Pbe={sm:"var(--volter-shadow-sm)",md:"var(--volter-shadow-md)",lg:"var(--volter-shadow-lg)"},Tbe={xs:"var(--volter-font-xs)",sm:"var(--volter-font-sm)",base:"var(--volter-font-base)",md:"var(--volter-font-md)",lg:"var(--volter-font-lg)",xl:"var(--volter-font-xl)","2xl":"var(--volter-font-2xl)",heading:"var(--volter-font-heading)"},Obe={1:"var(--volter-space-1)",2:"var(--volter-space-2)",3:"var(--volter-space-3)",4:"var(--volter-space-4)",5:"var(--volter-space-5)",6:"var(--volter-space-6)",8:"var(--volter-space-8)",10:"var(--volter-space-10)",12:"var(--volter-space-12)"},$be={tight:"var(--volter-leading-tight)",snug:"var(--volter-leading-snug)",normal:"var(--volter-leading-normal)",relaxed:"var(--volter-leading-relaxed)"},qbe={duration:{fast:"var(--volter-duration-fast)",base:"var(--volter-duration-base)",slow:"var(--volter-duration-slow)"},easing:{standard:"var(--volter-ease-standard)",out:"var(--volter-ease-out)"}},kbe="var(--volter-focus-ring)",Mbe=["outliner","properties"],ID=Object.keys({object:!0,modifier:!0,material:!0,tool:!0,operator:!0,data:!0,scene:!0,collection:!0,select:!0}),zA={id:"graphite-dark",color:{surface:{shell:oa[0],panel:oa[1],chrome:oa[2],raised:oa[3],inset:oa.inset,overlay:"rgba(36,36,36,0.94)"},boundary:{default:V2[1],strong:V2[2]},content:{primary:dm[1],muted:dm[2],dim:dm[3],onAccent:"#101820",onBright:{primary:"#1a2330",muted:"rgba(26,35,48,0.82)",dim:"rgba(26,35,48,0.74)"}},accent:{default:bD,muted:vD},semantic:{danger:yD,dangerMuted:SD,dangerFaint:xD,warning:wD,warningMuted:RD,success:ED,successMuted:_D,dynamic:AD,dynamicMuted:PD,instance:TD},neutralOverlay:{hover:"rgba(255,255,255,0.08)",active:"rgba(255,255,255,0.14)"},scrim:CD},typography:{sans:OD,mono:$D},shape:{small:od.small,medium:od.medium,large:od.large,full:od.full},elevation:{small:fm.sm,medium:fm.md,large:fm.lg}},ce={surface:{shell:"var(--volter-surface-shell)",panel:"var(--volter-surface-panel)",chrome:"var(--volter-surface-chrome)",raised:"var(--volter-surface-raised)",inset:"var(--volter-surface-inset)",overlay:"var(--volter-surface-overlay)"},boundary:{default:"var(--volter-boundary-default)",strong:"var(--volter-boundary-strong)"},content:{primary:"var(--volter-content-primary)",muted:"var(--volter-content-muted)",dim:"var(--volter-content-dim)",onAccent:"var(--volter-content-on-accent)",active:"var(--volter-content-active)",selected:"var(--volter-content-selected)"},accent:{default:"var(--volter-accent)",muted:"var(--volter-accent-muted)"},selection:{background:"var(--volter-selection-bg)",border:"var(--volter-selection-border)",indicator:"var(--volter-selection-indicator)"},semantic:{danger:"var(--volter-danger)",dangerMuted:"var(--volter-danger-muted)",dangerFaint:"var(--volter-danger-faint)",warning:"var(--volter-warn)",warningMuted:"var(--volter-warn-muted)",success:"var(--volter-success)",successMuted:"var(--volter-success-muted)",dynamic:"var(--volter-dynamic)",dynamicMuted:"var(--volter-dynamic-muted)",instance:"var(--volter-instance)"},neutralOverlay:{hover:"var(--volter-neutral-hover)",active:"var(--volter-neutral-active)"},scrim:"var(--volter-scrim)",viewport:{marqueeLine:"var(--volter-viewport-marquee-line)",marqueeFill:"var(--volter-viewport-marquee-fill)",marqueeGap:"var(--volter-viewport-marquee-gap)"},typography:{sans:"var(--volter-font-sans)",mono:"var(--volter-font-mono)"},shape:{small:"var(--volter-radius-sm)",medium:"var(--volter-radius-md)",large:"var(--volter-radius-lg)",full:"var(--volter-radius-full)"},elevation:{small:"var(--volter-shadow-sm)",medium:"var(--volter-shadow-md)",large:"var(--volter-shadow-lg)"},focusRing:"var(--volter-focus-ring)"};function jD(e){const t=`<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1L5 5L9 1' stroke='${e}' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(t)}")`}function DD(e){if(!e)return"none";const t=[];return e.backdropBlurPx&&t.push(`blur(${e.backdropBlurPx}px)`),e.backdropSaturation!==void 0&&e.backdropSaturation!==1&&t.push(`saturate(${e.backdropSaturation})`),e.backdropBrightness!==void 0&&e.backdropBrightness!==1&&t.push(`brightness(${e.backdropBrightness})`),t.length>0?t.join(" "):"none"}function W2(e,t){return t?"transparent":`linear-gradient(var(${e}), var(${e})), linear-gradient(var(--volter-surface-shell), var(--volter-surface-shell))`}function LD(e){const t=e?.contentFrostBlurPx??0;if(t<=0)return"none";const r=[`blur(${t}px)`];return e?.backdropSaturation!==void 0&&e.backdropSaturation!==1&&r.push(`saturate(${e.backdropSaturation})`),r.join(" ")}function eb(e){return(e?.contentFrostBlurPx??0)>0?"rgba(255,255,255,0.10)":"transparent"}function FD(e){return e?"color-mix(in srgb, currentColor 7%, transparent)":"var(--volter-widget-field)"}function BD(e){return e?"color-mix(in srgb, currentColor 26%, transparent)":"var(--volter-boundary-default)"}function zD(e,t){const o=[t==="none"?"":t,e?"inset 0 1px 0 color-mix(in srgb, currentColor 14%, transparent), 0 5px 14px -12px color-mix(in srgb, currentColor 55%, transparent)":""].filter(Boolean);return o.length===0?"none":o.join(", ")}const HD=.6,UD=.5;function Cf(e,t){return`rgba(255,255,255,${Math.min(1,Number((e*t/HD).toFixed(3)))})`}function HA(e){const t=e?.edgeSpecular??0;if(t<=0)return"none";const r=e?.specularAngleDeg??120,n=o=>Cf(o,t);return`linear-gradient(${r}deg, ${n(.95)} 0%, ${n(.38)} 16%, ${n(.16)} 40%, ${n(.14)} 60%, ${n(.45)} 84%, ${n(.85)} 100%)`}function VD(e){const t=e?.edgeSpecular??0;if(t<=0)return"none";const r=e?.specularAngleDeg??120,n=o=>Cf(o,t);return`linear-gradient(${r}deg, ${n(.16)} 0%, ${n(.05)} 24%, transparent 40%)`}function WD(e){const t=e?.edgeSpecular??0,r=e?.thickness??0,n=[];if(t>0&&(n.push(`inset 0 1px 1px ${Cf(.28,t)}`),n.push(`inset 0 -1px 1px ${Cf(.1,t)}`)),r>0){const o=i=>`${Number((i*r/UD).toFixed(1))}px`;n.push(`inset 0 ${o(12)} ${o(24)} ${o(-14)} rgba(255,255,255,0.35)`),n.push(`inset 0 ${o(-14)} ${o(28)} ${o(-18)} rgba(0,0,0,0.55)`),n.push(`0 ${o(18)} ${o(40)} ${o(-18)} rgba(0,0,0,0.55)`)}else n.push("var(--volter-shadow-lg)");return n.join(", ")}function Vi(e){return e.appearance?e.appearance.material==="glass":e.treatment!==void 0}function GD(e){return Vi(e)?"var(--volter-surface-panel)":"color-mix(in srgb, var(--volter-surface-panel) 90%, transparent)"}function KD(e){return Vi(e)?e.treatment?"var(--volter-surface-backdrop-filter)":"none":"blur(8px)"}function YD(e){return e?"17px":"var(--volter-radius-md)"}function ZD(e){return e?"var(--volter-boundary-default)":"var(--volter-boundary-strong)"}function JD(e){return e?"var(--volter-shadow-lg)":"var(--volter-shadow-sm)"}function XD(e,t){const r=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e.color.accent.default);if(!r)return null;const[n,o,i]=[r[1],r[2],r[3]].map(a=>Number.parseInt(a,16));return`rgba(${n},${o},${i},${t})`}function jp(e){return Vi(e)}function QD(e){return jp(e)?"var(--volter-neutral-active)":"var(--volter-accent-muted)"}function UA(e){const t=e.trim().toLowerCase();if(t.startsWith("#"))return t.length===5?t.endsWith("f"):t.length===9?t.endsWith("ff"):!0;const r=/^rgba?\(([^)]*)\)$/.exec(t)??/^hsla?\(([^)]*)\)$/.exec(t);if(r){const n=(r[1]??"").split(/[,/]/)[3];return n===void 0||Number.parseFloat(n)>=1}return t!=="transparent"&&!t.includes("transparent")}function VA(e){if(!UA(e))return!1;const t=e.trim().toLowerCase();let r=null;const n=/^#([0-9a-f]{3}|[0-9a-f]{6})(?:f|ff)?$/.exec(t);if(n){const s=n[1].length===3?[...n[1]].map(u=>u+u).join(""):n[1];r=[0,2,4].map(u=>Number.parseInt(s.slice(u,u+2),16))}else{const s=/^rgba?\(([^)]*)\)$/.exec(t);s&&(r=(s[1]??"").split(/[,\s/]+/).filter(Boolean).slice(0,3).map(u=>u.endsWith("%")?Number.parseFloat(u)*2.55:Number.parseFloat(u)))}if(!r||r.some(s=>!Number.isFinite(s)))return!1;const[o,i,a]=r;return(.2126*o+.7152*i+.0722*a)/255>.5}function e9(e){return jp(e)?"var(--volter-content-primary)":UA(e.color.accent.muted)?"var(--volter-content-on-accent)":"var(--volter-content-primary)"}function t9(e){return jp(e)?"color-mix(in srgb, currentColor 30%, transparent)":VA(e.color.surface.panel)?`rgb(from ${e.color.accent.muted} r g b / 1)`:"var(--volter-accent)"}function r9(e){return jp(e)?"color-mix(in srgb, currentColor 76%, transparent)":"var(--volter-accent)"}function n9(e){return e?"var(--volter-radius-full)":"var(--volter-radius-sm)"}function o9(e){return!Vi(e)||!e.treatment?"var(--volter-accent)":XD(e,.82)??"var(--volter-accent)"}function i9(e){const t=e?.edgeSpecular??0;return t<=0?"none":HA({...e,edgeSpecular:t*.4})}function a9(e){const t=e?.ambientLiftOpacity??0;if(t<=0)return"none";const r=Number(t.toFixed(3)),n=Number((t*.35).toFixed(3));return`linear-gradient(165deg, rgba(255,255,255,${r}) 0%, rgba(255,255,255,${n}) 55%, rgba(255,255,255,0) 100%)`}function WA(e){return e<=0?"none":`0 1px 2px rgba(0,0,0,${Number(e.toFixed(3))})`}function GA(e){return WA(e?.textShadowOpacity??0)}function s9(e){return e.treatment?.adaptiveContent?{primary:e.color.content.onBright.primary,muted:e.color.content.onBright.muted,dim:e.color.content.onBright.dim,textShadow:WA(e.treatment.brightTextShadowOpacity??0),frostBg:e.treatment.brightFrostBg??eb(e.treatment)}:{primary:e.color.content.primary,muted:e.color.content.muted,dim:e.color.content.dim,textShadow:GA(e.treatment),frostBg:eb(e.treatment)}}function l9(e){return e.treatment?e.treatment.adaptiveContent?"rgba(255,255,255,0.9)":c9(e.color.surface.chrome,.9):e.color.surface.chrome}function u9(e){return e.color.surface.panel}function c9(e,t){const r=/^rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([0-9.]+)\s*\)$/.exec(e);if(!r)return e;const n=Math.max(Number(r[4]),t);return`rgba(${r[1]},${r[2]},${r[3]},${n})`}function G2(e){if(!e)return"none";const r=[`blur(${Math.max(16,e.contentFrostBlurPx??0)}px)`];return e.backdropSaturation!==void 0&&e.backdropSaturation!==1&&r.push(`saturate(${e.backdropSaturation})`),r.join(" ")}function d9(e){return e.color.boundary.area??e.color.boundary.default}function f9(e,t){return`color-mix(in srgb, ${e} 98.4%, ${t})`}function aa(e){return`color-mix(in srgb, var(--volter-area-emboss-mix), ${e})`}function p9(e){const t=Re(e).chrome.areaEmboss;return t>0?`#ffffff ${t}%`:"transparent 100%"}function h9(e){const t=s9(e),r=Vi(e),n=e.color.widget?.regular??e.color.surface.raised,o=e.color.widget?.menu??e.color.surface.raised,i=e.color.widget?.field??e.color.surface.inset,a=e.color.widget?.emboss?`0 1px 0 ${e.color.widget.emboss}`:"none",s=l=>`color-mix(in srgb, ${l} 87.8%, ${e.color.content.primary})`,u=`color-mix(in srgb, ${e.color.surface.panel} 86.5%, ${e.color.surface.raised})`;return{"--volter-surface-shell":e.color.surface.shell,"--volter-surface-panel":e.color.surface.panel,"--volter-surface-chrome":e.color.surface.chrome,"--volter-surface-raised":e.color.surface.raised,"--volter-surface-inset":e.color.surface.inset,"--volter-surface-overlay":e.color.surface.overlay,"--volter-surface-backdrop-filter":DD(e.treatment),"--volter-surface-sticky":W2("--volter-surface-chrome",r),"--volter-surface-sticky-panel":W2("--volter-surface-panel",r),"--volter-surface-sticky-backdrop-filter":"none","--volter-content-frost-filter":LD(e.treatment),"--volter-content-frost-bg":eb(e.treatment),"--volter-input-surface":FD(r),"--volter-input-border":BD(r),"--volter-input-shadow":zD(r,a),"--volter-structural-divider":r?"transparent":e.color.boundary.default,"--volter-card-specular-ring":HA(e.treatment),"--volter-card-specular-sheen":VD(e.treatment),"--volter-card-specular-shadow":WD(e.treatment),"--volter-ambient-lift":a9(e.treatment),"--volter-island-surface":GD(e),"--volter-island-backdrop-filter":KD(e),"--volter-island-radius":YD(r),"--volter-island-border-color":ZD(r),"--volter-island-shadow":JD(r),"--volter-island-specular-ring":i9(e.treatment),"--volter-selection-bg":QD(e),"--volter-content-on-selection":e9(e),"--volter-selection-border":t9(e),"--volter-selection-indicator":r9(e),"--volter-island-control-radius":n9(r),"--volter-island-primary-bg":o9(e),"--volter-content-text-shadow":GA(e.treatment),"--volter-content-primary-on-bright":t.primary,"--volter-content-muted-on-bright":t.muted,"--volter-content-dim-on-bright":t.dim,"--volter-content-text-shadow-on-bright":t.textShadow,"--volter-content-frost-bg-on-bright":t.frostBg,"--volter-glass-regular-bg":l9(e),"--volter-glass-regular-backdrop-filter":G2(e.treatment),"--volter-glass-regular-panel-bg":u9(e),"--volter-glass-regular-panel-backdrop-filter":G2(e.treatment),"--volter-scrim-backdrop-filter":e.treatment?"blur(8px)":"none","--volter-boundary-default":e.color.boundary.default,"--volter-boundary-strong":e.color.boundary.strong,"--volter-boundary-area":d9(e),"--volter-tree-indent-guide":e.color.boundary.indent??"transparent","--volter-boundary-divider":e.color.boundary.divider??e.color.boundary.default,"--volter-area-emboss-mix":p9(e),"--volter-area-emboss":aa(e.color.surface.panel),"--volter-area-emboss-stage":aa(aa(e.color.viewport?.background??e.color.surface.panel)),"--volter-area-emboss-stage-header":aa(aa(u)),"--volter-content-primary":e.color.content.primary,"--volter-content-muted":e.color.content.muted,"--volter-content-dim":e.color.content.dim,"--volter-content-on-accent":e.color.content.onAccent,"--volter-content-menu":e.color.content.menu??e.color.content.primary,"--volter-content-status":e.color.content.status??e.color.content.dim,"--volter-content-placeholder":e.color.content.placeholder??e.color.content.dim,"--volter-content-active":e.color.content.active??"","--volter-content-selected":e.color.content.selected??e.color.content.active??"","--volter-accent":e.color.accent.default,"--volter-accent-muted":e.color.accent.muted,"--volter-danger":e.color.semantic.danger,"--volter-danger-muted":e.color.semantic.dangerMuted,"--volter-danger-faint":e.color.semantic.dangerFaint,"--volter-warn":e.color.semantic.warning,"--volter-warn-muted":e.color.semantic.warningMuted,"--volter-success":e.color.semantic.success,"--volter-success-muted":e.color.semantic.successMuted,"--volter-dynamic":e.color.semantic.dynamic,"--volter-dynamic-muted":e.color.semantic.dynamicMuted,"--volter-instance":e.color.semantic.instance,"--volter-neutral-hover":e.color.neutralOverlay.hover,"--volter-neutral-active":e.color.neutralOverlay.active,"--volter-scrim":e.color.scrim,"--volter-surface-section":`color-mix(in srgb, ${e.color.surface.panel} 64.9%, ${e.color.surface.raised})`,"--volter-surface-section-edge":`color-mix(in srgb, ${e.color.surface.panel} 29.7%, ${e.color.surface.raised})`,"--volter-surface-header":u,"--volter-surface-row-alt":f9(e.color.surface.panel,e.color.content.primary),...VA(e.color.surface.panel)?{"--volter-tree-row-selected-bg":e.color.accent.muted,"--volter-tree-row-active-bg":`rgb(from ${e.color.accent.muted} r g b / 1)`,"--volter-tree-row-active-border":`rgb(from ${e.color.accent.muted} r g b / 1)`,"--volter-tree-datablock-fill":"color-mix(in srgb, var(--volter-category-data, currentColor) 14%, transparent)","--volter-tree-datablock-border":"color-mix(in srgb, var(--volter-content-primary) 14%, transparent)"}:{"--volter-tree-row-selected-bg":`color-mix(in srgb, ${e.color.accent.default} 42%, #000)`,"--volter-tree-row-active-bg":`color-mix(in srgb, ${e.color.accent.default} 70%, #000)`,"--volter-tree-row-active-border":"rgb(from var(--volter-tree-row-active-bg) calc(r + 40) calc(g + 40) calc(b + 40))","--volter-tree-datablock-fill":"color-mix(in srgb, color-mix(in srgb, var(--volter-category-data, currentColor) 60%, black) 26%, transparent)","--volter-tree-datablock-border":"color-mix(in srgb, var(--volter-content-primary) 24%, transparent)"},"--volter-tree-active-name-underline":e.color.content.active?"none":"underline","--volter-viewport-background":e.color.viewport?.background??"","--volter-viewport-grid":e.color.viewport?.grid??"","--volter-viewport-axis-x":e.color.viewport?.axisX??"","--volter-viewport-axis-y":e.color.viewport?.axisY??"","--volter-viewport-axis-z":e.color.viewport?.axisZ??"","--volter-viewport-wire":e.color.viewport?.wire??"","--volter-viewport-wire-opacity":Ct(e.stage?.wireOpacity),"--volter-viewport-axis-line-width":Ct(e.stage?.axisLineWidth),"--volter-viewport-selection":e.color.viewport?.selection??"","--volter-viewport-active":e.color.viewport?.active??"","--volter-viewport-marquee-line":e.color.viewport?.marqueeLine??e.color.accent.default,"--volter-viewport-marquee-fill":e.color.viewport?.marqueeFill??e.color.accent.muted,"--volter-viewport-marquee-gap":e.color.viewport?.marqueeGap??"transparent","--volter-viewport-marquee-dash":Ct(e.stage?.marqueeDash),"--volter-gizmo-x":e.color.gizmo?.x??"","--volter-gizmo-y":e.color.gizmo?.y??"","--volter-gizmo-z":e.color.gizmo?.z??"","--volter-gizmo-navigation-x":e.color.gizmo?.navigationX??"","--volter-gizmo-navigation-y":e.color.gizmo?.navigationY??"","--volter-gizmo-navigation-z":e.color.gizmo?.navigationZ??"","--volter-gizmo-hover":e.color.gizmo?.hover??"","--volter-gizmo-drag":e.color.gizmo?.drag??"","--volter-viewport-gizmo-opacity":Ct(e.stage?.gizmoOpacity),"--volter-viewport-gizmo-arrow-length":Ct(e.stage?.gizmoArrowLength),"--volter-viewport-gizmo-arrow-head":Ct(e.stage?.gizmoArrowHead),"--volter-viewport-gizmo-ring-width":Ct(e.stage?.gizmoRingWidth),"--volter-viewport-navigation-gizmo":e.stage?.navigationGizmo??"","--volter-viewport-navigation-corner":e.stage?.navigationCorner??"","--volter-viewport-navigation-size":Ct(e.stage?.navigationSize),"--volter-viewport-gizmo-highlight-saturation":Ct(e.stage?.gizmoHighlightSaturation),"--volter-viewport-gizmo-highlight-value":Ct(e.stage?.gizmoHighlightValue),"--volter-viewport-gizmo-size":e.stage?.gizmoSize===void 0?"":`${e.stage.gizmoSize}`,"--volter-viewport-grid-line-width":Ct(e.stage?.gridLineWidth),"--volter-viewport-grid-major-width":Ct(e.stage?.gridMajorWidth),"--volter-viewport-grid-major-contrast":Ct(e.stage?.gridMajorContrast),"--volter-viewport-selection-box":e.stage?.selectionBox??"","--volter-viewport-selection-box-frame":e.stage?.selectionBoxFrame??"","--volter-viewport-outline-style":e.stage?.outlineStyle??"","--volter-viewport-outline-width":Ct(e.stage?.outlineWidth),"--volter-viewport-outline-hidden":e.stage?.outlineHidden===void 0?"":`${e.stage.outlineHidden}`,"--volter-viewport-selection-box-width":Ct(e.stage?.selectionBoxWidth),"--volter-viewport-chrome-bar":e.stage?.chrome?.bar??"","--volter-viewport-chrome-view-name":e.stage?.chrome?.viewName??"","--volter-viewport-chrome-tools":e.stage?.chrome?.tools??"","--volter-viewport-chrome-display":e.stage?.chrome?.display??"","--volter-viewport-chrome-transform-controls":e.stage?.chrome?.transformControls??"",...Object.fromEntries(ky.map(l=>[`--volter-viewport-word-${l}`,e.stage?.words?.shading?.[l]??""])),"--volter-viewport-word-helpers":e.stage?.words?.helpers??"","--volter-widget-regular":n,"--volter-widget-regular-hover":s(n),"--volter-widget-menu":o,"--volter-widget-menu-hover":s(o),"--volter-widget-field":i,"--volter-widget-emboss-shadow":a,...Object.fromEntries(ID.map(l=>[`--volter-category-${l}`,e.color.category?.[l]??"currentColor"])),"--volter-font-sans":e.typography.sans,"--volter-font-mono":e.typography.mono,"--volter-radius-sm":e.shape.small,"--volter-radius-md":e.shape.medium,"--volter-radius-lg":e.shape.large,"--volter-radius-full":e.shape.full,"--volter-shadow-sm":e.elevation.small,"--volter-shadow-md":e.elevation.medium,"--volter-shadow-lg":e.elevation.large,"--volter-focus-ring":`${pm.active}px solid ${e.color.accent.default}`,"--volter-select-chevron":jD(e.color.content.muted),"--volter-space-1":`${Tt[1]}px`,"--volter-space-2":`${Tt[2]}px`,"--volter-space-3":`${Tt[3]}px`,"--volter-space-4":`${Tt[4]}px`,"--volter-space-5":`${Tt[5]}px`,"--volter-space-6":`${Tt[6]}px`,"--volter-space-8":`${Tt[8]}px`,"--volter-space-10":`${Tt[10]}px`,"--volter-space-12":`${Tt[12]}px`,"--volter-command-bar-height":`${Re(e).chrome.commandBar}px`,"--volter-panel-header-height":`${Re(e).chrome.panelHeader}px`,"--volter-local-toolbar-height":`${Re(e).chrome.localToolbar}px`,"--volter-tree-row-height":`${Re(e).chrome.treeRow}px`,"--volter-tree-indent":`${Re(e).chrome.treeIndent}px`,"--volter-status-bar-height":`${Re(e).chrome.statusBar}px`,"--volter-tool-size":`${Re(e).chrome.toolSize}px`,"--volter-tool-width":`${Re(e).chrome.toolWidth}px`,"--volter-tool-gap":`${Re(e).chrome.toolGap}px`,"--volter-area-seam-width":`${Re(e).chrome.areaSeam}px`,"--volter-navigation-control-height":`${Re(e).chrome.navigationControl}px`,"--volter-tree-caret-height":`${Re(e).chrome.treeCaret}px`,"--volter-tree-glyph-plate-radius":`${Re(e).chrome.treeGlyphPlateRadius}px`,"--volter-tree-glyph-opacity":`${Re(e).chrome.treeGlyphOpacity}`,"--volter-control-compact-height":`${Re(e).control.compact}px`,"--volter-control-default-height":`${Re(e).control.default}px`,"--volter-control-comfortable-height":`${Re(e).control.comfortable}px`,"--volter-stroke-resting":`${pm.resting}px`,"--volter-stroke-active":`${pm.active}px`,"--volter-font-xs":`${Re(e).font.xs}px`,"--volter-font-sm":`${Re(e).font.sm}px`,"--volter-font-base":`${Re(e).font.base}px`,"--volter-font-md":`${Re(e).font.md}px`,"--volter-font-lg":`${Re(e).font.lg}px`,"--volter-font-xl":`${Re(e).font.xl}px`,"--volter-font-2xl":`${Re(e).font["2xl"]}px`,"--volter-icon-xs":`${Re(e).icon.xs}px`,"--volter-icon-sm":`${Re(e).icon.sm}px`,"--volter-icon-md":`${Re(e).icon.md}px`,"--volter-icon-lg":`${Re(e).icon.lg}px`,"--volter-icon-xl":`${Re(e).icon.xl}px`,"--volter-icon-2xl":`${Re(e).icon["2xl"]}px`,"--volter-font-heading":`${Re(e).font.heading}px`,"--volter-font-weight-regular":String(Hd.regular),"--volter-font-weight-semibold":String(Hd.semibold),"--volter-font-weight-bold":String(Hd.bold),"--volter-leading-tight":String(nd.tight),"--volter-leading-snug":String(nd.snug),"--volter-leading-normal":String(nd.normal),"--volter-leading-relaxed":String(nd.relaxed),"--volter-duration-fast":`${ia.duration.fast}ms`,"--volter-duration-base":`${ia.duration.base}ms`,"--volter-duration-slow":`${ia.duration.slow}ms`,"--volter-ease-standard":ia.easing.standard,"--volter-ease-out":ia.easing.out,"--volter-z-base":String(Rn.base),"--volter-z-overlay-low":String(Rn.overlayLow),"--volter-z-sticky":String(Rn.sticky),"--volter-z-dropdown":String(Rn.dropdown),"--volter-z-toast":String(Rn.toast),"--volter-z-modal":String(Rn.modal)}}const tb="volter-editor-theme";function Nbe(e,t=zA){e.classList.add(tb),e.dataset.volterTheme=t.id,e.dataset.volterChrome=Vi(t)?"islands":"bars";for(const[r,n]of Object.entries(h9(t)))e.style.setProperty(r,n)}const K2={xs:"var(--volter-icon-xs)",sm:"var(--volter-icon-sm)",md:"var(--volter-icon-md)",lg:"var(--volter-icon-lg)",xl:"var(--volter-icon-xl)","2xl":"var(--volter-icon-2xl)"},Y2={current:void 0,primary:ce.content.primary,muted:ce.content.muted,dim:ce.content.dim,accent:ce.accent.default,danger:ce.semantic.danger};function et({icon:e,size:t="sm",tone:r="current",label:n,className:o,style:i,spin:a=!1,...s}){H.useSyncExternalStore(mD,U2,U2);const u=gD(e.iconName);if(u){const l=r!=="current",c=u.tone?`var(--volter-category-${u.tone}, currentColor)`:void 0,d=l?Y2[r]:u.tonedPath?void 0:c,f=l?"currentColor":c??"currentColor";return R.jsxs("svg",{...s,viewBox:u.viewBox??"0 0 16 16","data-volter-tone":l?void 0:u.tone,className:o,"aria-hidden":n?void 0:s["aria-hidden"]??"true","aria-label":n,role:n?"img":void 0,style:{width:"1.25em",height:"1em",overflow:"visible",verticalAlign:"-0.125em",fontSize:K2[t],color:d,...i},children:[R.jsx("path",{d:u.path,fill:"currentColor"}),u.tonedPath?R.jsx("path",{d:u.tonedPath,fill:f}):null]})}return R.jsx(xy,{...s,icon:e,fixedWidth:!0,spin:a,className:o,"aria-hidden":n?void 0:s["aria-hidden"]??"true","aria-label":n,role:n?"img":void 0,style:{fontSize:K2[t],color:Y2[r],...i}})}function KA({direction:e,size:t="xs",tone:r="current",style:n}){return R.jsx(et,{icon:e==="right"?Uj:m7,size:t,tone:r,...n?{style:n}:{}})}function st(e,t){return{...t,iconName:e}}const qn={action:{add:E7,close:hA,delete:jj,search:Mj,refresh:T7,undo:b7,redo:A2,build:x7,export:P7,select:O2},transport:{play:a7,pause:C7,restart:A2,stop:Lj,step:c7},content:{project:Hj,folder:Xj,file:o7,source:S7,scene:wA,entity:Op,component:xf,camera:Tp,light:Cy,image:du,audio:bA,data:zj,code:lA,stateMachine:uA},status:{success:pA,info:O7,warning:mA,error:e7,visible:Ij,hidden:R7,locked:P2,unlocked:C2},viewport:{zoomIn:Vj,zoomOut:Bj,pan:r7,frame:Dj,projection:st("viewport-projection",Pu),projectionOrthographic:st("viewport-orthographic",Pu),camera:st("viewport-camera",x2),cameraView:st("viewport-camera-view",x2),cameraLocked:st("viewport-camera-locked",P2),cameraUnlocked:st("viewport-camera-unlocked",C2),gizmos:st("viewport-gizmos",u7)},modeling:{extrude:st("mesh-extrude",Qj),inset:st("mesh-inset",_7),bevel:st("mesh-bevel",Ld),loopCut:st("mesh-loop-cut",Wj),knife:st("mesh-knife",v7),smooth:st("mesh-smooth",Fj),shrinkFatten:st("mesh-shrink-fatten",i7),subdivide:st("mesh-subdivide",s7)},tool:{extension:xf,select:st("tool-select-box",O2),move:l7,rotate:kj,scale:st("tool-scale",Gj),transform:st("tool-transform",dA),snap:fA,frame:gA,grid:Pu,profiler:p7}};function Ibe({preview:e,children:t,...r}){const[n,o]=H.useState(!1),i=H.useRef(null),a=H.useId(),s=()=>o(!1),u=c=>{i.current=c,o(!0)};let l=t;if(H.isValidElement(t)){const c=[t.props["aria-describedby"],n?a:null].filter(Boolean).join(" ");l=H.cloneElement(t,c?{"aria-describedby":c}:{})}return R.jsxs("span",{className:"volter-tooltip-anchor",onMouseEnter:c=>u(c.currentTarget),onMouseLeave:s,onFocusCapture:c=>u(c.currentTarget),onBlurCapture:c=>{c.currentTarget.contains(c.relatedTarget)||s()},onKeyDown:c=>{c.key!=="Escape"||!n||(c.preventDefault(),c.stopPropagation(),s())},children:[l,n&&i.current&&R.jsx(qy,{...r,anchorRef:i,id:a,role:"tooltip",autoFocusFirst:!1,onDismiss:s,children:e})]})}function jbe({value:e,onCommit:t,style:r,disabled:n=!1}){const o=e===void 0?"":JSON.stringify(e),[i,a]=H.useState(o),[s,u]=H.useState(!1),l=H.useRef(!1);H.useEffect(()=>{a(o),u(!1)},[o]);const c=()=>{if(l.current){l.current=!1;return}if(i===o){u(!1);return}let d;try{d=JSON.parse(i)}catch{u(!0);return}u(!1),t(d)};return R.jsxs("div",{children:[R.jsx(lt,{"data-testid":"json-input","aria-invalid":s||void 0,"data-tone":s?"danger":void 0,disabled:n,value:i,onChange:d=>{a(d.target.value),s&&u(!1)},onBlur:c,onKeyDown:d=>{d.key==="Enter"?c():d.key==="Escape"&&(l.current=!0,a(o),u(!1),d.target.blur())},style:r,title:s?"Not valid JSON — nothing written. Fix the JSON or press Escape to revert.":void 0}),s&&R.jsx("div",{"data-testid":"json-input-error",style:{fontSize:"var(--volter-font-sm)",color:ce.semantic.danger,marginTop:2},children:"Not valid JSON — nothing written. Fix the JSON or press Escape to revert."})]})}function qu({value:e,onChange:t,onChangeEnd:r,step:n=.1,precision:o=3,disabled:i=!1,label:a,labelColor:s,style:u,testId:l,title:c}){const[d,f]=H.useState(!1),[p,h]=H.useState(""),m=H.useRef({startX:0,startVal:0,dragging:!1,gesture:!1,lastVal:0}),v=H.useRef(null),g=FA();H.useEffect(()=>{if(!d)return;const b=v.current;b&&(b.focus(),b.select())},[d]);const E=e===null,_=e??0,x=E?"—":Number.isFinite(_)?_.toFixed(o):0 .toFixed(o),S=b=>{if(i)return;m.current={startX:b.clientX,startVal:_,dragging:!1,gesture:!1,lastVal:_};const w=N=>{const q=N.clientX-m.current.startX;if(Math.abs(q)>3&&(m.current.dragging=!0),m.current.dragging){m.current.gesture||(m.current.gesture=!0,g?.begin());const z=m.current.startVal+q*n,F=Math.round(z/n)*n;m.current.lastVal=F,t(F)}},C=()=>{window.removeEventListener("pointermove",w),window.removeEventListener("pointerup",C),m.current.gesture&&g?.end(),m.current.dragging?r?.(m.current.lastVal):(f(!0),h(E?"":x))};window.addEventListener("pointermove",w),window.addEventListener("pointerup",C)},y=()=>{f(!1);const b=Number.parseFloat(p);Number.isFinite(b)&&(t(b),r?.(b))};return R.jsxs("div",{className:"volter-number-input","data-testid":l,title:c,style:u,children:[a&&R.jsx("span",{className:"volter-number-input-label",style:s?{color:s}:void 0,children:a}),d?R.jsx(lt,{ref:v,value:p,onChange:b=>h(b.target.value),onBlur:y,onKeyDown:b=>{b.key==="Enter"&&y(),b.key==="Escape"&&f(!1)},placeholder:E?"—":void 0,className:"volter-number-input-editor"}):R.jsx("div",{onPointerDown:S,className:"volter-number-input-scrub","data-mixed":E||void 0,"data-disabled":i||void 0,children:x})]})}const m9={minHeight:"var(--volter-panel-header-height)",padding:`0 ${Tt[4]}px`,color:ce.content.muted,fontSize:"var(--volter-font-base)",fontWeight:Hd.semibold,textTransform:"uppercase",display:"flex",alignItems:"center",gap:Tt[2],userSelect:"none"},g9={...m9,background:"var(--volter-surface-sticky)",borderBottom:"1px solid var(--volter-structural-divider)",flexShrink:0};function Dbe({name:e,actions:t,onHeaderClick:r,hideHeader:n=!1,style:o,children:i,...a}){return R.jsxs("div",{...a,style:{display:"flex",flexDirection:"column",pointerEvents:"auto",...o},children:[!n&&R.jsxs("div",{role:r?"button":void 0,tabIndex:r?0:void 0,onClick:r,onKeyDown:r?s=>{s.key==="Enter"&&r()}:void 0,style:{...g9,cursor:r?"pointer":void 0,pointerEvents:"auto"},children:[R.jsx("span",{style:{flexShrink:0},children:e}),t&&R.jsx("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:Tt[3]},children:t})]}),i]})}function Lbe({label:e,icon:t,description:r,actions:n,collapsible:o=!0,defaultOpen:i=!0,children:a}){const[s,u]=H.useState(i),l=R.jsxs("span",{className:"volter-section-title",children:[R.jsx("span",{children:e}),r?R.jsx("small",{children:r}):null]});return R.jsxs("section",{className:"volter-section",children:[R.jsxs("div",{className:"volter-section-header",children:[o?R.jsxs("button",{type:"button",className:"volter-section-trigger","aria-expanded":s,onClick:()=>u(!s),children:[R.jsx(KA,{direction:s?"down":"right",style:{fontSize:"var(--volter-section-disclosure-size, var(--volter-icon-xs))"}}),t&&R.jsx(et,{icon:t,tone:"dim",className:"volter-section-glyph"}),l]}):R.jsxs("div",{className:"volter-section-trigger","data-volter-static":!0,children:[t&&R.jsx(et,{icon:t,tone:"dim",className:"volter-section-glyph"}),l]}),n?R.jsx("div",{className:"volter-section-actions",children:n}):null]}),(s||!o)&&R.jsx("div",{className:"volter-section-body",children:a})]})}const kn=8,Mn=6;function b9(e){return e==="top"?"bottom":e==="bottom"?"top":e==="left"?"right":"left"}function v9(e,t,r){return e==="top"?t.top-r.height-Mn>=kn:e==="bottom"?t.bottom+r.height+Mn<=window.innerHeight-kn:e==="left"?t.left-r.width-Mn>=kn:t.right+r.width+Mn<=window.innerWidth-kn}function y9(e,t,r){let n=t.left+(t.width-r.width)/2,o=t.top+(t.height-r.height)/2;return e==="top"?o=t.top-r.height-Mn:e==="bottom"?o=t.bottom+Mn:e==="left"?n=t.left-r.width-Mn:n=t.right+Mn,{left:Math.max(kn,Math.min(n,window.innerWidth-r.width-kn)),top:Math.max(kn,Math.min(o,window.innerHeight-r.height-kn)),ready:!0}}function en({text:e,hotkey:t,children:r,position:n="bottom",delay:o=400}){const i=H.useId(),a=H.useRef(null),s=H.useRef(null),u=H.useRef(null),l=H.useRef(!1),c=H.useRef(!1),[d,f]=H.useState(!1),[p,h]=H.useState(null),[m,v]=H.useState({left:0,top:0,ready:!1});H.useLayoutEffect(()=>{h(a.current?.closest(".volter-editor-theme")??null)},[]),H.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const g=()=>{u.current&&clearTimeout(u.current),u.current=null,f(!1)},E=()=>{!l.current&&!c.current&&g()},_=S=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{v(y=>({...y,ready:!1})),f(!0)},S)};H.useLayoutEffect(()=>{if(!d)return;const S=()=>{const y=a.current?.getBoundingClientRect(),b=s.current?.getBoundingClientRect();if(!y||!b)return;const w=v9(n,y,b)?n:b9(n);v(y9(w,y,b))};return S(),window.addEventListener("resize",S),window.addEventListener("scroll",S,!0),()=>{window.removeEventListener("resize",S),window.removeEventListener("scroll",S,!0)}},[t,n,e,d]);let x=r;if(H.isValidElement(r)){const S=[r.props["aria-describedby"],d?i:null].filter(Boolean).join(" ");x=H.cloneElement(r,S?{"aria-describedby":S}:{})}return R.jsxs("span",{ref:a,className:"volter-tooltip-anchor",onMouseEnter:()=>{l.current=!0,_(o)},onMouseLeave:()=>{l.current=!1,E()},onFocusCapture:()=>{c.current=!0,_(0)},onBlurCapture:S=>{S.currentTarget.contains(S.relatedTarget)||(c.current=!1,E())},children:[x,d&&p&&xc.createPortal(R.jsxs("div",{ref:s,id:i,role:"tooltip",className:"volter-tooltip",style:{left:m.left,top:m.top,visibility:m.ready?"visible":"hidden"},children:[R.jsx("span",{children:e}),t&&R.jsx("kbd",{children:t})]}),p)]})}function Fbe({value:e,onChange:t,onAxisChange:r,step:n=.1,disabled:o=!1,testIdPrefix:i}){const a=u=>i?`${i}-${u}`:void 0,s=u=>l=>{if(r)r(u,l);else{const c=[e[0]??0,e[1]??0,e[2]??0];c[u]=l,t(c)}};return R.jsxs("div",{style:{display:"flex",gap:4},children:[R.jsx(qu,{label:"X",labelColor:"#E06178",value:e[0],onChange:s(0),step:n,disabled:o,style:{flex:1},testId:a("x")}),R.jsx(qu,{label:"Y",labelColor:"#C2ED66",value:e[1],onChange:s(1),step:n,disabled:o,style:{flex:1},testId:a("y")}),R.jsx(qu,{label:"Z",labelColor:"#6BABF5",value:e[2],onChange:s(2),step:n,disabled:o,style:{flex:1},testId:a("z")})]})}const ae={bg:ce.surface.panel,surface:ce.surface.chrome,surfaceHover:ce.surface.raised,border:ce.boundary.default,text:ce.content.primary,textMuted:ce.content.muted,onAccent:ce.content.onAccent,accent:ce.accent.default,neutralHover:ce.neutralOverlay.hover,radiusSmall:ce.shape.small,radiusMedium:ce.shape.medium,inputBg:ce.surface.inset,dynamic:ce.semantic.dynamic,dynamicBg:ce.semantic.dynamicMuted},Bbe=ce.typography.sans,zbe=ce.typography.mono;function vt(e,t){e.onChange(t)}function $t(e,t){(e.onChangeEnd??e.onChange)(t)}const w9={display:"flex",alignItems:"center",gap:4},Hbe={fontSize:"var(--volter-font-sm)",color:ce.content.muted,marginBottom:2},Ube=72;function Z2({label:e,active:t,disabled:r,onClick:n,testId:o}){return R.jsx(Xe,{variant:t?"primary":"secondary",size:"compact","aria-pressed":t,disabled:r,"data-testid":o,onClick:()=>{r||n()},style:{flex:1},children:e})}const J2=["flex-start","center","flex-end"],X2=["flex-start","center","flex-end"];function E9({row:e,col:t,justify:r,align:n,isActive:o,disabled:i,onSelect:a}){return R.jsx("div",{"data-testid":`alignment-grid-${e}-${t}`,onClick:()=>{i||a(r,n)},style:{width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",cursor:i?"not-allowed":"pointer",borderRadius:ae.radiusSmall,background:o?ae.accent:"transparent"},children:R.jsx("div",{style:{width:o?6:4,height:o?6:4,borderRadius:"50%",background:o?ae.onAccent:ae.textMuted}})})}function Vbe({value:e,onChange:t,disabled:r}){const n=J2.indexOf(e.justify),o=X2.indexOf(e.align);return R.jsx("div",{"data-testid":"alignment-grid",style:{display:"inline-grid",gridTemplateColumns:"repeat(3, 16px)",gridTemplateRows:"repeat(3, 16px)",gap:1,background:ae.inputBg,borderRadius:ae.radiusMedium,padding:4,opacity:r?.35:1},children:X2.map((i,a)=>J2.map((s,u)=>R.jsx(E9,{row:a,col:u,justify:s,align:i,isActive:a===o&&u===n,disabled:r,onSelect:(l,c)=>t({justify:l,align:c})},`${a}-${u}`)))})}const hm=22,Q2={width:hm,height:hm,flex:`0 0 ${hm}px`,borderRadius:ae.radiusSmall,border:`1px solid ${ae.border}`,background:ae.inputBg,objectFit:"cover",backgroundImage:"linear-gradient(45deg,rgba(128,128,128,.35) 25%,transparent 25%,transparent 75%,rgba(128,128,128,.35) 75%),linear-gradient(45deg,rgba(128,128,128,.35) 25%,transparent 25%,transparent 75%,rgba(128,128,128,.35) 75%)",backgroundSize:"8px 8px",backgroundPosition:"0 0, 4px 4px"};function Wbe({value:e,onChange:t,options:r,previewUrlFor:n,disabled:o,note:i,testId:a}){const s=e&&!r.includes(e)?[e,...r]:r;return R.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1},children:[R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4,minWidth:0},children:[e?R.jsx("img",{src:n(e),alt:"",style:Q2,"data-testid":`${a}-thumb`}):R.jsx("span",{style:Q2,"aria-hidden":"true"}),R.jsxs(Jg,{"data-testid":a,disabled:o,value:e,title:e||"No texture assigned",onChange:u=>t(u.target.value),style:{flex:1,minWidth:0},children:[R.jsx("option",{value:"",children:"—"}),s.map(u=>R.jsx("option",{value:u,children:u},u))]}),R.jsx(In,{"data-testid":`${a}-clear`,"aria-label":"Clear this texture slot",title:"Clear this texture slot",disabled:o||!e,onClick:()=>t(""),children:R.jsx(et,{icon:hA})})]}),i&&R.jsx("span",{"data-testid":`${a}-note`,style:{fontSize:"var(--volter-font-sm)",color:ce.content.muted},children:i})]})}function Ud(e){let t=e.replace("#","");t.length===3&&(t=`${t[0]??"0"}${t[0]??"0"}${t[1]??"0"}${t[1]??"0"}${t[2]??"0"}${t[2]??"0"}`);const r=Number.parseInt(t,16);return[r>>16&255,r>>8&255,r&255]}function YA(e,t,r){return`#${[e,t,r].map(n=>Math.round(Math.max(0,Math.min(255,n))).toString(16).padStart(2,"0")).join("")}`}function id(e,t,r){const n=e/255,o=t/255,i=r/255,a=Math.max(n,o,i),s=Math.min(n,o,i),u=a-s;let l=0;u!==0&&(a===n?l=((o-i)/u%6+6)%6:a===o?l=(i-n)/u+2:l=(n-o)/u+4,l/=6);const c=a===0?0:u/a;return[l,c,a]}function sa(e,t,r){const n=Math.floor(e*6),o=e*6-n,i=r*(1-t),a=r*(1-o*t),s=r*(1-(1-o)*t);let u=0,l=0,c=0;switch(n%6){case 0:u=r,l=s,c=i;break;case 1:u=a,l=r,c=i;break;case 2:u=i,l=r,c=s;break;case 3:u=i,l=a,c=r;break;case 4:u=s,l=i,c=r;break;case 5:u=r,l=i,c=a;break}return[Math.round(u*255),Math.round(l*255),Math.round(c*255)]}function ZA(e,t,r){let n,o,i;if(t===0)n=o=i=r;else{const a=(l,c,d)=>{let f=d;return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(c-l)*6*f:f<.5?c:f<.6666666666666666?l+(c-l)*(.6666666666666666-f)*6:l},s=r<.5?r*(1+t):r+t-r*t,u=2*r-s;n=a(u,s,e+1/3),o=a(u,s,e),i=a(u,s,e-1/3)}return[Math.round(n*255),Math.round(o*255),Math.round(i*255)]}function _9(e,t,r){const n=e/255,o=t/255,i=r/255,a=Math.max(n,o,i),s=Math.min(n,o,i);let u=0,l=0;const c=(a+s)/2;if(a!==s){const d=a-s;l=c>.5?d/(2-a-s):d/(a+s),a===n?u=((o-i)/d+(o<i?6:0))/6:a===o?u=((i-n)/d+2)/6:u=((n-o)/d+4)/6}return[u,l,c]}function Vd(e){if(e.startsWith("#")&&(e.length===4||e.length===7))return e;if(e.startsWith("#")&&e.length===9)return e.slice(0,7);const t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(t){const[,n,o,i]=t;return`#${[n??"0",o??"0",i??"0"].map(a=>Number.parseInt(a,10).toString(16).padStart(2,"0")).join("")}`}const r=e.match(/hsla?\((\d+),\s*(\d+)%?,\s*(\d+)%?/);if(r){const[n,o,i]=ZA(Number.parseInt(r[1]??"0",10)/360,Number.parseInt(r[2]??"0",10)/100,Number.parseInt(r[3]??"0",10)/100);return YA(n,o,i)}return"#000000"}function mm(e){const t=e.match(/rgba\([^,]+,[^,]+,[^,]+,\s*([\d.]+)\)/);if(t?.[1])return Number.parseFloat(t[1]);const r=e.match(/hsla\([^,]+,[^,]+,[^,]+,\s*([\d.]+)\)/);return r?.[1]?Number.parseFloat(r[1]):e.startsWith("#")&&e.length===9?Number.parseInt(e.slice(7,9),16)/255:1}function ew(e,t,r,n,o){if(o==="hex"){const d=YA(e,t,r);return n<1?`rgba(${e}, ${t}, ${r}, ${n.toFixed(2)})`:d}if(o==="rgb")return n<1?`rgba(${e}, ${t}, ${r}, ${n.toFixed(2)})`:`rgb(${e}, ${t}, ${r})`;const[i,a,s]=_9(e,t,r),u=Math.round(i*360),l=Math.round(a*100),c=Math.round(s*100);return n<1?`hsla(${u}, ${l}%, ${c}%, ${n.toFixed(2)})`:`hsl(${u}, ${l}%, ${c}%)`}function JA(e){const t=e.match(/\d+/g);return!t||t.length<3?"#000000":`#${[t[0]??"0",t[1]??"0",t[2]??"0"].map(r=>Number.parseInt(r,10).toString(16).padStart(2,"0")).join("")}`}const Vt=200,ad=150,la=14;function S9({value:e,onChange:t,onChangeEnd:r,onClose:n,recentColors:o,onAddRecentColor:i,eyedropperFallback:a,onEyedropperPick:s,disabled:u}){const l=Vd(e),c=Ud(l),[d,f]=H.useState(()=>id(...c)),[p,h]=H.useState(()=>mm(e)),[m,v]=H.useState("hex"),[g,E]=H.useState(l),_=H.useRef(null),x=H.useRef(null),S=H.useRef(null),y=H.useRef(null),b=H.useRef(null),w=H.useCallback((Z=d,A=p,$=m)=>{const[M,K,L]=sa(Z[0],Z[1],Z[2]);return ew(M,K,L,A,$)},[d,p,m]);H.useEffect(()=>{E(w())},[w]),H.useEffect(()=>{const Z=x.current,A=Z?.getContext("2d");if(!Z||!A)return;const[$,M,K]=sa(d[0],1,1),L=A.createLinearGradient(0,0,Vt,0);L.addColorStop(0,"#ffffff"),L.addColorStop(1,`rgb(${$},${M},${K})`),A.fillStyle=L,A.fillRect(0,0,Vt,ad);const D=A.createLinearGradient(0,0,0,ad);D.addColorStop(0,"rgba(0,0,0,0)"),D.addColorStop(1,"rgba(0,0,0,1)"),A.fillStyle=D,A.fillRect(0,0,Vt,ad)},[d[0]]),H.useEffect(()=>{const Z=S.current,A=Z?.getContext("2d");if(!Z||!A)return;const $=A.createLinearGradient(0,0,Vt,0);for(let M=0;M<=6;M++){const[K,L,D]=sa(M/6,1,1);$.addColorStop(M/6,`rgb(${K},${L},${D})`)}A.fillStyle=$,A.fillRect(0,0,Vt,la)},[]),H.useEffect(()=>{const Z=y.current,A=Z?.getContext("2d");if(!Z||!A)return;const $=4;for(let Y=0;Y<la;Y+=$)for(let ne=0;ne<Vt;ne+=$)A.fillStyle=(ne/$+Y/$)%2===0?"#ffffff":"#cccccc",A.fillRect(ne,Y,$,$);const[M,K,L]=sa(d[0],d[1],d[2]),D=A.createLinearGradient(0,0,Vt,0);D.addColorStop(0,`rgba(${M},${K},${L},0)`),D.addColorStop(1,`rgba(${M},${K},${L},1)`),A.fillStyle=D,A.fillRect(0,0,Vt,la)},[d]),H.useEffect(()=>{if(!n)return;function Z($){$.key==="Escape"&&n?.()}function A($){_.current&&!_.current.contains($.target)&&n?.()}return document.addEventListener("keydown",Z),document.addEventListener("mousedown",A,!0),()=>{document.removeEventListener("keydown",Z),document.removeEventListener("mousedown",A,!0)}},[n]);const C=H.useCallback((Z,A,$,M)=>{const K=A?.getBoundingClientRect();if(K)if(Z==="sat"){const L=[d[0],gm($,K.left,K.width),R9(M,K.top,K.height)];f(L),vt({onChange:t},w(L))}else if(Z==="hue"){const L=[gm($,K.left,K.width),d[1],d[2]];f(L),vt({onChange:t},w(L))}else{const L=Math.round(gm($,K.left,K.width)*100)/100;h(L),vt({onChange:t},w(d,L))}},[d,w,t]);H.useEffect(()=>{function Z($){const M=b.current;if(!M)return;$.preventDefault();const K=M==="sat"?x.current:M==="hue"?S.current:y.current;C(M,K,$.clientX,$.clientY)}function A(){if(b.current){b.current=null;const $=w();$t({onChange:t,onChangeEnd:r},$),i?.($)}}return window.addEventListener("mousemove",Z),window.addEventListener("mouseup",A),()=>{window.removeEventListener("mousemove",Z),window.removeEventListener("mouseup",A)}},[C,w,t,r,i]);const N=(Z,A)=>{u||(A.preventDefault(),b.current=Z,C(Z,A.currentTarget,A.clientX,A.clientY))},q=()=>{const Z=g.trim(),A=x9(Z),$=A?{r:A[0],g:A[1],b:A[2],a:1}:C9(Z)??A9(Z);if(!$)return;f(id($.r,$.g,$.b)),h($.a);const M=A?Z:ew($.r,$.g,$.b,$.a,m);vt({onChange:t},M),$t({onChange:t,onChangeEnd:r},M),i?.(M)},z=()=>{v(Z=>Z==="hex"?"rgb":Z==="rgb"?"hsl":"hex")},F=typeof globalThis.EyeDropper=="function",T=Z=>{const A=Vd(Z);f(id(...Ud(A))),h(mm(Z)),vt({onChange:t},Z),$t({onChange:t,onChangeEnd:r},Z)},k=async()=>{if(F){try{const A=globalThis.EyeDropper,$=await new A().open();T($.sRGBHex)}catch{}return}if(s){s(A=>{A&&T(A)});return}const Z=a?.();Z&&T(Z)},[I,U,G]=sa(d[0],d[1],d[2]),X=`rgba(${I},${U},${G},${p})`;return R.jsxs(Mp,{ref:_,"data-testid":"inspector-color-picker",onMouseDown:Z=>Z.stopPropagation(),style:{padding:10,width:Vt+16,boxSizing:"border-box"},children:[R.jsx("canvas",{ref:x,"data-testid":"color-picker-sv",width:Vt,height:ad,onMouseDown:Z=>N("sat",Z),style:{cursor:"crosshair",borderRadius:ae.radiusSmall,display:"block"}}),R.jsx("canvas",{ref:S,"data-testid":"color-picker-hue",width:Vt,height:la,onMouseDown:Z=>N("hue",Z),style:{cursor:"pointer",borderRadius:ae.radiusSmall,display:"block",marginTop:6}}),R.jsx("canvas",{ref:y,"data-testid":"color-picker-alpha",width:Vt,height:la,onMouseDown:Z=>N("alpha",Z),style:{cursor:"pointer",borderRadius:ae.radiusSmall,display:"block",marginTop:6}}),R.jsxs("div",{style:{display:"flex",gap:6,alignItems:"center",marginTop:8},children:[R.jsx("div",{style:{width:22,height:22,borderRadius:ae.radiusSmall,flexShrink:0,border:`1px solid ${ae.border}`,background:X}}),R.jsx(lt,{type:"text","data-testid":"color-picker-text",value:g,onChange:Z=>E(Z.target.value),onKeyDown:Z=>{Z.key==="Enter"&&q()},onBlur:q,"data-density":"compact","data-monospace":"true",style:{flex:1}}),R.jsx(Xe,{type:"button",variant:"secondary",size:"compact","data-testid":"color-format-toggle",onClick:z,title:"Cycle color format",style:{flexShrink:0},children:m.toUpperCase()}),(F||a||s)&&R.jsx(Xe,{type:"button",variant:"secondary",size:"compact","data-testid":"color-picker-eyedropper",onClick:k,title:"Eyedropper",style:{flexShrink:0},children:"⌖"})]}),o&&o.length>0&&R.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:3,marginTop:8,paddingTop:6,borderTop:`1px solid ${ae.border}`},children:o.map((Z,A)=>R.jsx("div",{"data-testid":"color-picker-recent",onClick:()=>{const $=Vd(Z);f(id(...Ud($))),h(mm(Z)),vt({onChange:t},Z),$t({onChange:t,onChangeEnd:r},Z)},title:Z,style:{width:16,height:16,borderRadius:ae.radiusSmall,cursor:"pointer",background:Z,border:`1px solid ${ae.border}`}},`${Z}-${A}`))})]})}function Af({label:e,value:t,onChange:r,onChangeEnd:n,recentColors:o,onAddRecentColor:i,eyedropperFallback:a,onEyedropperPick:s,disabled:u,testId:l}){const[c,d]=H.useState(!1),f=Vd(t);return R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,position:"relative"},children:[R.jsx("div",{"data-testid":l?`${l}-swatch`:"color-swatch",onClick:()=>{u||d(p=>!p)},style:{width:20,height:20,borderRadius:ae.radiusSmall,flexShrink:0,background:f,border:`1px solid ${ae.border}`,cursor:u?"not-allowed":"pointer"}}),e&&R.jsx("span",{style:{fontSize:10,color:ae.textMuted,flexShrink:0},children:e}),c&&!u&&R.jsx("div",{style:{position:"absolute",zIndex:"var(--volter-z-dropdown)",top:"100%",left:0,marginTop:4},children:R.jsx(S9,{value:t,onChange:r,onChangeEnd:n,onClose:()=>d(!1),recentColors:o,onAddRecentColor:i,eyedropperFallback:a,onEyedropperPick:s})})]})}function XA(e){return Math.max(0,Math.min(1,e))}function gm(e,t,r){return XA(r?(e-t)/r:0)}function R9(e,t,r){return XA(r?1-(e-t)/r:0)}function x9(e){return/^#[0-9a-fA-F]{6}$/.test(e)?Ud(e):null}function C9(e){const t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/);if(!t)return null;const[,r,n,o,i]=t;return{r:Number.parseInt(r??"0",10),g:Number.parseInt(n??"0",10),b:Number.parseInt(o??"0",10),a:i?Number.parseFloat(i):1}}function A9(e){const t=e.match(/hsla?\((\d+),\s*(\d+)%?,\s*(\d+)%?(?:,\s*([\d.]+))?\)/);if(!t)return null;const[,r,n,o,i]=t,[a,s,u]=ZA(Number.parseInt(r??"0",10)/360,Number.parseInt(n??"0",10)/100,Number.parseInt(o??"0",10)/100);return{r:a,g:s,b:u,a:i?Number.parseFloat(i):1}}function Rr({label:e,value:t,unit:r="",step:n=1,min:o,max:i,precision:a,disabled:s,onChange:u,onChangeEnd:l,testId:c,style:d}){const f=H.useRef(null),p=a??(n<1?2:n>=100?-2:0),h=H.useMemo(()=>S=>{if(p<0){const b=10**-p;return Math.round(S/b)*b}const y=10**p;return Math.round(S*y)/y},[p]),m=S=>{let y=S;return o!==void 0&&(y=Math.max(o,y)),i!==void 0&&(y=Math.min(i,y)),h(y)},v=S=>{if(s)return;S.preventDefault(),f.current={startX:S.clientX,startValue:t,last:t},document.body.style.cursor="ew-resize";const y=N=>{if(!f.current)return;N.preventDefault();const q=N.clientX-f.current.startX,z=N.shiftKey?10:N.altKey?.1:1,F=m(f.current.startValue+q*n*z);f.current.last=F,vt({onChange:u},F)},b=()=>{document.body.style.cursor="",window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",w),window.removeEventListener("keydown",C)},w=()=>{if(f.current){const N=f.current.last;f.current=null,$t({onChange:u,onChangeEnd:l},N)}b()},C=N=>{if(N.key==="Escape"&&f.current){const q=m(f.current.startValue);f.current=null,vt({onChange:u},q),$t({onChange:u,onChangeEnd:l},q),b()}};window.addEventListener("mousemove",y),window.addEventListener("mouseup",w),window.addEventListener("keydown",C)},[g,E]=H.useState(null),_=H.useRef(!1),x=S=>{const y=Number.parseFloat(S);if(Number.isNaN(y))return;const b=m(y);b!==t&&$t({onChange:u,onChangeEnd:l},b)};return R.jsxs("div",{style:{...w9,...d},children:[R.jsx("span",{className:"volter-scrub-label","data-testid":c?`${c}-label`:void 0,onMouseDown:v,"data-disabled":s||void 0,style:{fontSize:11,...s?{color:ae.dynamic}:{},flexShrink:0,cursor:s?"not-allowed":"ew-resize",userSelect:"none",fontWeight:500},children:e}),R.jsx(lt,{"data-testid":c,type:"text",value:g??`${t}${r}`,readOnly:s,"data-dynamic":s||void 0,onFocus:S=>{E(`${t}${r}`),S.target.select()},onChange:S=>E(S.target.value),onBlur:S=>{_.current||x(S.target.value),_.current=!1,E(null)},onKeyDown:S=>{S.key==="Enter"&&S.target.blur(),S.key==="Escape"&&(_.current=!0,S.target.blur())},style:{flex:1,width:0}})]})}const tw=["none","solid","dashed","dotted","double"];function P9(e){return{top:e,right:e,bottom:e,left:e}}function T9(e){const t=n=>`${n.width}|${n.style}|${n.color}`,r=t(e.top);return t(e.right)===r&&t(e.bottom)===r&&t(e.left)===r}function Gbe({value:e,onChange:t,onChangeEnd:r,disabled:n,recentColors:o,onAddRecentColor:i}){const[a,s]=H.useState(!T9(e)),u=(d,f)=>{const p={...e.top,...d},h=P9(p);f?$t({onChange:t,onChangeEnd:r},h):vt({onChange:t},h)},l=(d,f,p)=>{const h={...e,[d]:{...e[d],...f}};p?$t({onChange:t,onChangeEnd:r},h):vt({onChange:t},h)};if(!a)return R.jsxs("div",{"data-testid":"border-editor-uniform",style:{display:"flex",gap:6,alignItems:"center"},children:[R.jsx(Af,{testId:"border-color",value:e.top.color,disabled:n,onChange:d=>u({color:d},!1),onChangeEnd:d=>u({color:d},!0),recentColors:o,onAddRecentColor:i}),R.jsx(Rr,{testId:"border-width",label:"W",value:e.top.width,min:0,disabled:n,onChange:d=>u({width:d},!1),onChangeEnd:d=>u({width:d},!0),style:{width:64}}),R.jsx(Jg,{className:"volter-select","data-testid":"border-style",value:e.top.style,disabled:n,"data-dynamic":n||void 0,onChange:d=>u({style:d.target.value},!0),style:{flex:1},children:tw.map(d=>R.jsx("option",{value:d,children:d},d))}),R.jsx(Xe,{type:"button","data-testid":"border-expand",title:"Per-side borders","aria-label":"Edit borders per side",onClick:()=>s(!0),variant:"ghost",size:"compact",children:R.jsx(et,{icon:Pu})})]});const c=[{key:"top",label:"T"},{key:"right",label:"R"},{key:"bottom",label:"B"},{key:"left",label:"L"}];return R.jsxs("div",{"data-testid":"border-editor-expanded",style:{display:"flex",flexDirection:"column",gap:4},children:[R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[R.jsx("span",{style:{fontSize:10,color:ae.textMuted},children:"Per-side"}),R.jsx("div",{style:{flex:1}}),R.jsx(Xe,{type:"button",variant:"primary",size:"compact","data-testid":"border-collapse",title:"Uniform border","aria-label":"Use one border for all sides",onClick:()=>s(!1),children:R.jsx(et,{icon:Pu})})]}),c.map(({key:d,label:f})=>R.jsxs("div",{style:{display:"flex",gap:4,alignItems:"center"},children:[R.jsx("span",{style:{fontSize:10,color:ae.textMuted,width:10,textAlign:"center"},children:f}),R.jsx(Af,{testId:`border-${d}-color`,value:e[d].color,disabled:n,onChange:p=>l(d,{color:p},!1),onChangeEnd:p=>l(d,{color:p},!0),recentColors:o,onAddRecentColor:i}),R.jsx(Rr,{testId:`border-${d}-width`,label:"",value:e[d].width,min:0,disabled:n,onChange:p=>l(d,{width:p},!1),onChangeEnd:p=>l(d,{width:p},!0),style:{width:48}}),R.jsx(Jg,{className:"volter-select","data-testid":`border-${d}-style`,value:e[d].style,disabled:n,"data-density":"compact","data-dynamic":n||void 0,onChange:p=>l(d,{style:p.target.value},!0),style:{flex:1},children:tw.map(p=>R.jsx("option",{value:p,children:p},p))})]},d))]})}function O9(e){return{topLeft:e,topRight:e,bottomLeft:e,bottomRight:e}}function $9(e){return e.topLeft===e.topRight&&e.topRight===e.bottomLeft&&e.bottomLeft===e.bottomRight}function Kbe({value:e,onChange:t,onChangeEnd:r,disabled:n}){const[o,i]=H.useState(!$9(e)),a=(l,c)=>{const d=O9(l);c?$t({onChange:t,onChangeEnd:r},d):vt({onChange:t},d)},s=(l,c,d)=>{const f={...e,[l]:c};d?$t({onChange:t,onChangeEnd:r},f):vt({onChange:t},f)};if(!o)return R.jsxs("div",{"data-testid":"border-radius-editor-uniform",style:{display:"flex",gap:4,alignItems:"center"},children:[R.jsx(Rr,{testId:"border-radius",label:R.jsx(et,{icon:Ld,label:"Radius"}),value:e.topLeft,min:0,disabled:n,onChange:l=>a(l,!1),onChangeEnd:l=>a(l,!0),style:{flex:1}}),R.jsx(Xe,{type:"button","data-testid":"border-radius-expand",title:"Independent corners","aria-label":"Edit radius per corner",onClick:()=>i(!0),variant:"ghost",size:"compact",children:R.jsx(et,{icon:Ld})})]});const u=[{key:"topLeft",label:"TL"},{key:"topRight",label:"TR"},{key:"bottomLeft",label:"BL"},{key:"bottomRight",label:"BR"}];return R.jsxs("div",{"data-testid":"border-radius-editor-expanded",children:[R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4,marginBottom:4},children:[R.jsx("span",{style:{fontSize:10,color:ae.textMuted},children:"Corners"}),R.jsx("div",{style:{flex:1}}),R.jsx(Xe,{type:"button",variant:"primary",size:"compact","data-testid":"border-radius-collapse",title:"Uniform radius","aria-label":"Use one radius for all corners",onClick:()=>i(!1),children:R.jsx(et,{icon:Ld})})]}),R.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:3},children:u.map(({key:l,label:c})=>R.jsx(Rr,{testId:`border-radius-${l}`,label:c,value:e[l],min:0,disabled:n,onChange:d=>s(l,d,!1),onChangeEnd:d=>s(l,d,!0)},l))})]})}function fi(e,t){return t+1<e.length?e[t+1].start:1}function q9(e){const t=e.map(n=>({time:n.start,value:n.function.p0})),r=e[e.length-1];return r&&t.push({time:1,value:r.function.p3}),t}function Dp(e){return e.map(t=>({start:t.start,function:{...t.function}}))}const Pf=.01;function ua(e,t,r,n){const o=Dp(e),i=o.length;if(t<0||t>i)return o;if(t<i){const a=o[t],s=n-a.function.p0;if(a.function.p0=n,a.function.p1+=s,t>0){const u=o[t-1],l=n-u.function.p3;u.function.p3=n,u.function.p2+=l;const c=u.start+Pf,d=fi(o,t)-Pf;a.start=Math.min(d,Math.max(c,r))}}else{const a=o[i-1],s=n-a.function.p3;a.function.p3=n,a.function.p2+=s}return o}function rw(e,t,r,n){const o=Dp(e);return r==="out"&&t<o.length?o[t].function.p1=n:r==="in"&&t>0&&t<=o.length&&(o[t-1].function.p2=n),o}function Ho(e,t,r){return e+(t-e)*r}function k9(e,t){for(let r=0;r<e.length;r++){const n=e[r].start,o=fi(e,r);if(t<=n+Pf||t>=o-Pf)continue;const i=(t-n)/(o-n),{p0:a,p1:s,p2:u,p3:l}=e[r].function,c=Ho(a,s,i),d=Ho(s,u,i),f=Ho(u,l,i),p=Ho(c,d,i),h=Ho(d,f,i),m=Ho(p,h,i),v=Dp(e);return v.splice(r,1,{start:n,function:{p0:a,p1:c,p2:p,p3:m}},{start:t,function:{p0:m,p1:h,p2:f,p3:l}}),v}return e}function nw(e,t){if(t<=0||t>=e.length)return e;const r=e[t-1],n=e[t],o=n.start-r.start,i=fi(e,t)-n.start,a=o+i;if(a<=0)return e;const s=r.function,u=n.function,l={start:r.start,function:{p0:s.p0,p1:s.p0+(s.p1-s.p0)*(o>0?a/o:1),p2:u.p3+(u.p2-u.p3)*(i>0?a/i:1),p3:u.p3}},c=Dp(e);return c.splice(t-1,2,l),c}function M9(e){let t=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;for(const n of e)for(const o of[n.function.p0,n.function.p1,n.function.p2,n.function.p3])o<t&&(t=o),o>r&&(r=o);return!Number.isFinite(t)||!Number.isFinite(r)?{min:0,max:1}:{min:t,max:r}}const ca=34,ow=6,bm=6,N9=14,sd=260;function I9(e){return Math.abs(e)>=100?e.toFixed(0):Math.abs(e)>=1?String(Math.round(e*100)/100):String(Math.round(e*1e3)/1e3)}function Ybe({value:e,onChange:t,onChangeEnd:r,disabled:n,height:o=90,color:i,testId:a="curve-editor"}){const[s,u]=H.useState(0),l=H.useRef(null),c=H.useRef(null),d=H.useMemo(()=>q9(e),[e]),f=H.useMemo(()=>{const{min:U,max:G}=M9(e);if(G-U<1e-6)return{min:U-1,max:G+1};const X=(G-U)*.1;return{min:U-X,max:G+X}},[e]),p=sd-ca-ow,h=o-bm-N9,m=U=>ca+U*p,v=U=>bm+(1-(U-f.min)/(f.max-f.min))*h,g=U=>Math.max(0,Math.min(1,(U-ca)/p)),E=U=>f.min+(1-(U-bm)/h)*(f.max-f.min),_=U=>{const G=l.current?.getBoundingClientRect();if(!G)return{t:0,v:0};const X=(U.clientX-G.left)/G.width*sd,Z=(U.clientY-G.top)/G.height*o;return{t:g(X),v:E(Z)}},x=H.useMemo(()=>{if(e.length===0)return"";let U=`M ${m(e[0].start)} ${v(e[0].function.p0)}`;for(let G=0;G<e.length;G++){const X=e[G],Z=fi(e,G),A=Z-X.start;U+=` C ${m(X.start+A/3)} ${v(X.function.p1)}, ${m(X.start+2*A/3)} ${v(X.function.p2)}, ${m(Z)} ${v(X.function.p3)}`}return U},[e,f,o]),S=U=>$t({onChange:t,onChangeEnd:r},U),y=U=>vt({onChange:t},U),b=(U,G)=>{if(n)return;U.preventDefault(),U.stopPropagation(),c.current=e;const X=A=>{const{t:$,v:M}=_(A),K=G(c.current??e,$,M);c.current=K,y(K)},Z=A=>{const{t:$,v:M}=_(A),K=G(c.current??e,$,M);c.current=null,S(K),window.removeEventListener("pointermove",X),window.removeEventListener("pointerup",Z)};window.addEventListener("pointermove",X),window.addEventListener("pointerup",Z)},w=i??ae.accent,C=e.length,N=d[s],q=s>0&&s<C,z=s<C?e[s]:void 0,F=s>0?e[s-1]:void 0,T=z?{x:m(z.start+(fi(e,s)-z.start)/3),y:v(z.function.p1)}:null,k=F?{x:m(F.start+(fi(e,s-1)-F.start)*2/3),y:v(F.function.p2)}:null,I=[f.min,(f.min+f.max)/2,f.max];return R.jsxs("div",{"data-testid":a,children:[R.jsxs("svg",{ref:l,"data-testid":`${a}-plot`,viewBox:`0 0 ${sd} ${o}`,style:{width:"100%",height:o,display:"block",background:ae.inputBg,border:`1px solid ${ae.border}`,borderRadius:ae.radiusSmall,touchAction:"none",outline:"none"},tabIndex:0,role:"application","aria-label":"Curve editor",onKeyDown:U=>{(U.key==="Delete"||U.key==="Backspace")&&q&&!n&&(U.preventDefault(),S(nw(e,s)),u(Math.max(0,s-1)))},onDoubleClick:U=>{if(n)return;const{t:G}=_(U),X=k9(e,G);X!==e&&(S(X),u(X.findIndex(Z=>Math.abs(Z.start-G)<1e-6)))},children:[I.map(U=>R.jsxs("g",{children:[R.jsx("line",{x1:ca,x2:sd-ow,y1:v(U),y2:v(U),stroke:ae.border,strokeWidth:.5}),R.jsx("text",{x:ca-3,y:v(U)+2.5,fontSize:7,fill:ae.textMuted,textAnchor:"end",children:I9(U)})]},U)),[0,.5,1].map(U=>R.jsx("text",{x:m(U),y:o-3,fontSize:7,fill:ae.textMuted,textAnchor:"middle",children:U},U)),R.jsx("path",{d:x,fill:"none",stroke:w,strokeWidth:1.5}),N&&T&&R.jsxs("g",{children:[R.jsx("line",{x1:m(N.time),y1:v(N.value),x2:T.x,y2:T.y,stroke:ae.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),R.jsx("circle",{"data-testid":`${a}-tangent-out`,cx:T.x,cy:T.y,r:3,fill:ae.surface,stroke:ae.textMuted,style:{cursor:n?"not-allowed":"ns-resize"},onPointerDown:U=>b(U,(G,X,Z)=>rw(G,s,"out",Z))})]}),N&&k&&R.jsxs("g",{children:[R.jsx("line",{x1:m(N.time),y1:v(N.value),x2:k.x,y2:k.y,stroke:ae.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),R.jsx("circle",{"data-testid":`${a}-tangent-in`,cx:k.x,cy:k.y,r:3,fill:ae.surface,stroke:ae.textMuted,style:{cursor:n?"not-allowed":"ns-resize"},onPointerDown:U=>b(U,(G,X,Z)=>rw(G,s,"in",Z))})]}),d.map((U,G)=>R.jsx("circle",{"data-testid":`${a}-key-${G}`,cx:m(U.time),cy:v(U.value),r:4,fill:G===s?ae.accent:ae.surface,stroke:G===s?ae.onAccent:w,strokeWidth:1.25,style:{cursor:n?"not-allowed":"move"},onPointerDown:X=>{u(G),b(X,(Z,A,$)=>ua(Z,G,A,$))}},G))]}),R.jsxs("div",{style:{display:"flex",gap:4,alignItems:"center",marginTop:3},children:[R.jsxs("span",{style:{fontSize:9,color:ae.textMuted,flex:"0 0 auto"},children:["Key ",s+1,"/",d.length]}),R.jsx(qu,{label:"t",value:N?Math.round(N.time*1e3)/1e3:null,step:.05,testId:`${a}-key-time`,onChange:U=>{N&&y(ua(e,s,U,N.value))},onChangeEnd:U=>{N&&S(ua(e,s,U,N.value))}}),R.jsx(qu,{label:"v",value:N?Math.round(N.value*1e3)/1e3:null,step:.05,testId:`${a}-key-value`,onChange:U=>{N&&y(ua(e,s,N.time,U))},onChangeEnd:U=>{N&&S(ua(e,s,N.time,U))}}),R.jsx(Xe,{type:"button",variant:"ghost",size:"compact","data-testid":`${a}-delete-key`,disabled:!q||n===!0,"aria-label":"Delete curve key",title:q?"Delete key":"Endpoint keys cannot be deleted",onClick:()=>{S(nw(e,s)),u(Math.max(0,s-1))},children:"×"})]})]})}const Tf=[{name:"blur",unit:"px",min:0,max:50,step:.5,default:0},{name:"brightness",unit:"%",min:0,max:300,step:1,default:100},{name:"contrast",unit:"%",min:0,max:300,step:1,default:100},{name:"saturate",unit:"%",min:0,max:300,step:1,default:100},{name:"grayscale",unit:"%",min:0,max:100,step:1,default:0},{name:"hue-rotate",unit:"deg",min:0,max:360,step:1,default:0}];function Zbe(e){return!e||e==="none"?Tf.map(t=>({name:t.name,value:t.default})):Tf.map(t=>{const r=new RegExp(`${t.name}\\(([\\d.]+)${t.unit}?\\)`),n=e.match(r);return{name:t.name,value:n?.[1]?Number.parseFloat(n[1]):t.default}})}function Jbe(e){const t=[];for(let r=0;r<e.length;r++){const n=e[r],o=Tf[r];n&&o&&n.value!==o.default&&t.push(`${n.name}(${n.value}${o.unit})`)}return t.length?t.join(" "):"none"}function Xbe({value:e,onChange:t,onChangeEnd:r,disabled:n,label:o="Filter",testId:i="filter-editor"}){const a=(s,u,l)=>{const c=e.map((d,f)=>f===s?{...d,value:u}:d);l?$t({onChange:t,onChangeEnd:r},c):vt({onChange:t},c)};return R.jsxs("div",{"data-testid":i,children:[R.jsx("div",{style:{fontSize:9,color:ae.textMuted,marginBottom:4},children:o}),e.map((s,u)=>{const l=Tf[u];return l?R.jsx("div",{"data-testid":`filter-row-${s.name}`,style:{marginBottom:3},children:R.jsx(Rr,{testId:`filter-${s.name}`,label:s.name.replace("hue-rotate","hue"),value:s.value,unit:l.unit,min:l.min,max:l.max,step:l.step,disabled:n,onChange:c=>a(u,c,!1),onChangeEnd:c=>a(u,c,!0)})},s.name):null})]})}const da=28,iw=10;function Qbe({value:e,onChange:t,disabled:r,fonts:n,testId:o="font-picker"}){const[i,a]=H.useState(!1),[s,u]=H.useState(""),[l,c]=H.useState(0),d=H.useRef(null),f=H.useRef(null);H.useEffect(()=>{i&&f.current?.focus()},[i]),H.useEffect(()=>{if(!i)return;const x=S=>{d.current&&!d.current.contains(S.target)&&a(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[i]),H.useEffect(()=>{if(!i)return;const x=S=>{S.key==="Escape"&&a(!1)};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[i]);const p=H.useMemo(()=>{if(!s)return n;const x=s.toLowerCase();return n.filter(S=>S.toLowerCase().includes(x))},[n,s]),h=p.length*da,m=Math.floor(l/da),v=Math.min(p.length,m+iw+2),g=p.slice(m,v),E=x=>{t(x),a(!1),u("")},_=e.replace(/^["']|["']$/g,"");return R.jsxs("div",{ref:d,"data-testid":o,style:{position:"relative",flex:1},children:[R.jsxs(Xe,{type:"button",variant:"secondary",className:"volter-field-trigger","aria-haspopup":"listbox","aria-expanded":i,disabled:r,"data-testid":"font-picker-input",onClick:()=>{r||a(x=>!x)},children:[R.jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:_||"—"}),R.jsx(KA,{direction:"down",tone:"muted",style:{marginLeft:4}})]}),i&&R.jsxs(Mp,{"data-testid":"font-picker-dropdown",style:{position:"absolute",top:"100%",left:0,right:0,zIndex:"var(--volter-z-dropdown)",marginTop:2},children:[R.jsx("div",{style:{padding:4},children:R.jsx(lt,{ref:f,type:"text","data-testid":"font-picker-search",value:s,onChange:x=>{u(x.target.value),c(0)},placeholder:"Search fonts…","data-density":"compact",style:{width:"100%",boxSizing:"border-box"}})}),R.jsx("div",{"data-testid":"font-picker-list",onScroll:x=>c(x.target.scrollTop),style:{maxHeight:iw*da,overflowY:"auto"},children:R.jsx("div",{style:{height:h,position:"relative"},children:g.map((x,S)=>{const y=m+S,b=x.toLowerCase()===_.toLowerCase();return R.jsx("div",{"data-testid":`font-picker-option-${x}`,onClick:()=>E(x),style:{position:"absolute",top:y*da,left:0,right:0,height:da,display:"flex",alignItems:"center",padding:"0 8px",cursor:"pointer",fontSize:12,background:b?ae.accent:"transparent",color:b?ae.onAccent:ae.text},children:R.jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:x})},x)})})}),p.length===0&&R.jsx("div",{style:{padding:"8px 12px",color:ae.textMuted,fontSize:10,textAlign:"center"},children:"No matching fonts"})]})]})}function j9(e){const t=e.stops.map(r=>`${r.color} ${Math.round(r.position*100)}%`).join(", ");return e.type==="radial"?`radial-gradient(circle, ${t})`:`linear-gradient(${e.angle}deg, ${t})`}function D9(e){const t=e.match(/^linear-gradient\((.+)\)$/);if(t?.[1]!==void 0)return{type:"linear",inner:t[1]};const r=e.match(/^radial-gradient\((.+)\)$/);return r?.[1]!==void 0?{type:"radial",inner:r[1]}:null}function L9(e){const t=e.match(/^(\d+)deg\s*,\s*/);if(t)return{angle:Number.parseInt(t[1]??"180",10),colorPart:e.slice(t[0].length)};if(e.startsWith("to ")){const r=e.match(/^to\s+\w+\s*,\s*/);if(r)return{angle:180,colorPart:e.slice(r[0].length)}}return{angle:180,colorPart:e}}function F9(e){const t=e.split(/,\s*(?![^(]*\))/).map(r=>{const n=r.trim(),o=n.match(/\s+(\d+)%$/),i=o?Number.parseInt(o[1]??"0",10)/100:-1;return{color:o?n.slice(0,-o[0].length).trim():n,position:i}});for(let r=0;r<t.length;r++){const n=t[r];n&&n.position<0&&(n.position=t.length>1?r/(t.length-1):0)}return t}function eve(e){if(!e||e==="none")return null;const t=D9(e);if(!t)return null;const{angle:r,colorPart:n}=t.type==="linear"?L9(t.inner):{angle:180,colorPart:t.inner},o=F9(n);return o.length<2?null:{type:t.type,angle:r,stops:o}}function B9({stops:e,selected:t,onSelect:r,onMove:n,disabled:o,testIdPrefix:i}){return R.jsx("div",{style:{position:"relative",height:12,marginTop:2},children:e.map((a,s)=>R.jsx("div",{"data-testid":`${i}-${s}`,onClick:()=>r(s),onMouseDown:u=>{if(o)return;u.preventDefault(),r(s);const c=u.target.parentElement?.getBoundingClientRect(),d=h=>c?.width?Math.max(0,Math.min(1,(h-c.left)/c.width)):a.position,f=h=>n(s,d(h.clientX),!1),p=h=>{n(s,d(h.clientX),!0),window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",p)};window.addEventListener("mousemove",f),window.addEventListener("mouseup",p)},style:{position:"absolute",left:`${a.position*100}%`,top:0,width:10,height:10,borderRadius:"50%",background:a.css,border:`2px solid ${s===t?ae.accent:"#fff"}`,transform:"translateX(-50%)",cursor:o?"not-allowed":"pointer"}},s))})}function tve({value:e,onChange:t,onChangeEnd:r,disabled:n,recentColors:o,onAddRecentColor:i,testId:a="gradient-editor"}){const[s,u]=H.useState(0),l=(m,v)=>{v?$t({onChange:t,onChangeEnd:r},m):vt({onChange:t},m)},c=(m,v,g)=>{const E=e.stops.map((_,x)=>x===m?{..._,...v}:_);l({...e,stops:E},g)},d=()=>{const m=e.stops[e.stops.length-1]?.position??1,v=e.stops[0]?.position??0,g=(m+v)/2,E=[...e.stops,{color:"#888888",position:g}].sort((_,x)=>_.position-x.position);u(E.length-1),l({...e,stops:E},!0)},f=m=>{if(e.stops.length<=2)return;const v=e.stops.filter((g,E)=>E!==m);u(Math.min(s,v.length-1)),l({...e,stops:v},!0)},p=e.stops[s]?.color??"#000000",h=p.startsWith("#")?p:JA(p);return R.jsxs("div",{"data-testid":a,children:[R.jsxs("div",{style:{position:"relative",marginBottom:8},children:[R.jsx("div",{"data-testid":"gradient-preview",style:{height:20,borderRadius:ae.radiusSmall,border:`1px solid ${ae.border}`,background:j9(e)}}),R.jsx(B9,{stops:e.stops.map(m=>({position:m.position,css:m.color})),selected:s,onSelect:u,onMove:(m,v,g)=>c(m,{position:v},g),disabled:n,testIdPrefix:"gradient-stop"})]}),R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:4},children:[R.jsx(Af,{testId:"gradient-selected-color",value:h,disabled:n,onChange:m=>c(s,{color:m},!1),onChangeEnd:m=>c(s,{color:m},!0),recentColors:o,onAddRecentColor:i}),R.jsxs("span",{style:{fontSize:9,color:ae.textMuted},children:["Stop ",s+1]}),e.stops.length>2&&R.jsx(Xe,{type:"button",variant:"ghost",size:"compact","aria-label":"Remove gradient stop","data-testid":"gradient-remove-stop",onClick:()=>f(s),children:"×"}),R.jsx(Xe,{type:"button",variant:"ghost",size:"compact","data-testid":"gradient-add-stop",onClick:d,children:"+ stop"})]}),R.jsxs("div",{style:{display:"flex",gap:6,alignItems:"center"},children:[R.jsxs("div",{style:{display:"flex",gap:1,flex:1},children:[R.jsx(Z2,{testId:"gradient-type-linear",label:"Linear",active:e.type==="linear",disabled:n,onClick:()=>l({...e,type:"linear"},!0)}),R.jsx(Z2,{testId:"gradient-type-radial",label:"Radial",active:e.type==="radial",disabled:n,onClick:()=>l({...e,type:"radial"},!0)})]}),e.type==="linear"&&R.jsx(Rr,{testId:"gradient-angle",label:"°",value:e.angle,unit:"deg",disabled:n,onChange:m=>l({...e,angle:m},!1),onChangeEnd:m=>l({...e,angle:m},!0),style:{width:70}})]})]})}const z9={x:0,y:4,blur:8,spread:0,color:"rgba(0,0,0,0.25)",inset:!1,enabled:!0},H9={x:0,y:2,blur:4,spread:0,color:"rgba(0,0,0,0.3)",inset:!1,enabled:!0};function U9(e,t){return(t?[e.inset?"inset":"",`${e.x}px`,`${e.y}px`,`${e.blur}px`,`${e.spread}px`,e.color]:[`${e.x}px`,`${e.y}px`,`${e.blur}px`,e.color]).filter(Boolean).join(" ")}function rve(e,t=!0){const r=e.filter(n=>n.enabled);return r.length===0?"none":r.map(n=>U9(n,t)).join(", ")}function V9(e){const t=e.match(/(rgba?\([^)]+\))/);if(t?.[1])return{color:t[1],nums:e.replace(t[1],"").trim()};const r=e.match(/(#[0-9a-fA-F]{3,8})/);return r?.[1]?{color:r[1],nums:e.replace(r[1],"").trim()}:{color:"#000000",nums:e}}function W9(e,t){if(!e||e==="none")return null;const r=e.trim(),n=t&&r.startsWith("inset"),o=n?r.slice(5).trim():r,{color:i,nums:a}=V9(o),s=a.split(/\s+/).map(u=>Number.parseFloat(u)).filter(u=>!Number.isNaN(u));return t?{inset:n,x:s[0]??0,y:s[1]??0,blur:s[2]??0,spread:s[3]??0,color:i}:s.length<2?null:{inset:!1,x:s[0]??0,y:s[1]??0,blur:s[2]??0,spread:0,color:i}}function nve(e,t=!0){if(!e||e==="none")return[];const r=e.split(/,\s*(?![^(]*\))/),n=[];for(const o of r){const i=W9(o.trim(),t);i&&n.push({...i,enabled:!0})}return n}function QA({value:e,onChange:t,onChangeEnd:r,disabled:n,withSpreadInset:o=!0,label:i="Shadow",testId:a="shadow-editor",recentColors:s,onAddRecentColor:u}){const l=(p,h)=>{h?$t({onChange:t,onChangeEnd:r},p):vt({onChange:t},p)},c=(p,h,m=!1)=>{l(e.map((v,g)=>g===p?{...v,...h}:v),m)},d=p=>{l(e.filter((h,m)=>m!==p),!0)},f=()=>{l([...e,{...o?z9:H9}],!0)};return R.jsxs("div",{"data-testid":a,children:[R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:6,marginBottom:e.length>0?4:0},children:[R.jsx("span",{style:{fontSize:9,color:ae.textMuted},children:i}),R.jsx("div",{style:{flex:1}}),!n&&R.jsx(Xe,{type:"button",variant:"ghost",size:"compact","data-testid":`${a}-add`,onClick:f,children:"+"})]}),e.map((p,h)=>{const m=p.color.startsWith("#")?p.color:JA(p.color);return R.jsxs("div",{"data-testid":`${a}-row-${h}`,style:{marginBottom:6,padding:"4px 0",borderBottom:`1px solid ${ae.border}`},children:[R.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4,marginBottom:4},children:[R.jsx(Xe,{type:"button",variant:"ghost",size:"compact","aria-pressed":p.enabled,"data-testid":`${a}-toggle-${h}`,onClick:()=>{n||c(h,{enabled:!p.enabled},!0)},children:p.enabled?"●":"○"}),R.jsx(Af,{testId:`${a}-color-${h}`,value:m,disabled:n,onChange:v=>c(h,{color:v}),onChangeEnd:v=>c(h,{color:v},!0),recentColors:s,onAddRecentColor:u}),o&&R.jsxs("label",{style:{display:"flex",alignItems:"center",gap:2,fontSize:8,color:ae.textMuted,cursor:"pointer"},children:[R.jsx(Ou,{className:"volter-checkbox","data-testid":`${a}-inset-${h}`,checked:p.inset,disabled:n,onChange:v=>c(h,{inset:v.target.checked},!0)}),"in"]}),R.jsx("div",{style:{flex:1}}),!n&&R.jsx(Xe,{type:"button",variant:"ghost",size:"compact","aria-label":`Remove ${i.toLowerCase()} ${h+1}`,"data-testid":`${a}-remove-${h}`,onClick:()=>d(h),children:"×"})]}),p.enabled&&R.jsxs("div",{style:{display:"flex",gap:4},children:[R.jsx(Rr,{label:"X",value:p.x,disabled:n,onChange:v=>c(h,{x:v}),onChangeEnd:v=>c(h,{x:v},!0),style:{flex:1}}),R.jsx(Rr,{label:"Y",value:p.y,disabled:n,onChange:v=>c(h,{y:v}),onChangeEnd:v=>c(h,{y:v},!0),style:{flex:1}}),R.jsx(Rr,{label:"B",value:p.blur,min:0,disabled:n,onChange:v=>c(h,{blur:Math.max(0,v)}),onChangeEnd:v=>c(h,{blur:Math.max(0,v)},!0),style:{flex:1}}),o&&R.jsx(Rr,{label:"S",value:p.spread,disabled:n,onChange:v=>c(h,{spread:v}),onChangeEnd:v=>c(h,{spread:v},!0),style:{flex:1}})]})]},h)})]})}function ove(e){return R.jsx(QA,{...e,withSpreadInset:!0,testId:"box-shadow-editor",label:e.label??"Shadow"})}function ive(e){return R.jsx(QA,{...e,withSpreadInset:!1,testId:"text-shadow-editor",label:e.label??"Text Shadow"})}function ave({value:e,onCommit:t,onKeyDown:r,onFocus:n,...o}){const[i,a]=H.useState(null),s=H.useRef(!1),u=()=>{!s.current&&i!==null&&i!==e&&t(i),s.current=!1,a(null)};return R.jsx(lt,{...o,value:i??e,onFocus:l=>{a(e),n?.(l)},onChange:l=>a(l.target.value),onBlur:u,onKeyDown:l=>{l.key==="Enter"&&l.target.blur(),l.key==="Escape"&&(s.current=!0,l.target.blur()),r?.(l)}})}const Wd=new Map,rb=new Set;let eP=0,vm=!1;function aw(){vm||(vm=!0,queueMicrotask(()=>{vm=!1,eP+=1;for(const e of[...rb])e()}))}function sve(e,t){return Wd.set(e,t),aw(),()=>{Wd.get(e)===t&&(Wd.delete(e),aw())}}function lve(e){return rb.add(e),()=>rb.delete(e)}function uve(){return eP}function cve(e){return e?Wd.get(e)??null:null}const Yo=new Map;function dve(e){Yo.set(e,(Yo.get(e)??0)+1);let t=!1;return()=>{if(t)return;t=!0;const r=(Yo.get(e)??0)-1;r>0?Yo.set(e,r):Yo.delete(e)}}function fve(e){return(Yo.get(e)??0)>0}const pve=1e4;async function hve(e,t=4e3){if(e())return!0;const r=performance.now();return new Promise(n=>{const o=()=>{e()?n(!0):performance.now()-r>=t?n(!1):setTimeout(o,25)};setTimeout(o,0)})}const G9=Symbol("volter.inspection.mixed");function mve(e){return e===G9}function gve(e){return e.readonlyReason??"This field is read-only."}const K9=["stage","canvas","dom","asset-lab"];function bve(e){return K9.includes(e)}const vve="column";function yve(e,t){return e.quickActions.filter(r=>r.placement===t)}const wve="preview",Eve="transform",_ve="properties",Sve="stories",Rve="story-args",xve="Story Args";function Cve(e){return`group:${e}`}const Ave=100,Pve=1e3,Tve=2e3,Ove=3e3,$ve=4e3,qve=5e3,Y9={nullSubjectId:null};function kve(e){return"sections"in e}const Gd=[];let tP=0;const nb=new Set;function sw(){tP++;for(const e of nb)e()}function Mve(e){return nb.add(e),()=>{nb.delete(e)}}function Nve(){return tP}function Ive(e){return Gd.push(e),sw(),()=>{const t=Gd.indexOf(e);t>=0&&(Gd.splice(t,1),sw())}}function jve(e,t,r=Y9){return Gd.filter(n=>n.match(e,t,r))}function Z9(e){if(typeof e!="object"||e===null)return!1;const t=e.name;return t==="Canceled"||t==="CancellationError"||t==="AbortError"}const J9=["chrome-extension:","moz-extension:","safari-web-extension:"];function X9(e){const t=e.filename??"";return J9.some(r=>t.startsWith(r))}const Q9=1e3;class eL{_entries=[];_listeners=new Set;_nextId=0;_version=0;_notifyScheduled=!1;counts={info:0,warn:0,error:0};log(t,r){this._push("info",t,r)}warn(t,r){this._push("warn",t,r)}error(t,r){this._push("error",t,r)}logStructured(t,r,n,o,i){this._push(t,r,n,o,i)}clear(){this._entries=[],this.counts={info:0,warn:0,error:0},this._notify()}getEntries(){return this._entries}subscribe=t=>(this._listeners.add(t),()=>this._listeners.delete(t));getSnapshot=()=>this._version;_push(t,r,n,o,i){const a=this._entries[this._entries.length-1];if(a&&a.level===t&&a.message===r&&a.source===n&&a.metadata?.instanceId===i?.instanceId){a.count++,a.timestamp=Date.now(),this._notify();return}const s={id:this._nextId++,timestamp:Date.now(),level:t,message:r,count:1};if(n&&(s.source=n),o&&(s.subsystem=o),i&&(s.metadata=i),this._entries.push(s),this.counts[t]++,this._entries.length>Q9){const u=this._entries.shift();this.counts[u.level]=Math.max(0,this.counts[u.level]-1)}this._notify()}_notify(){this._version++,!this._notifyScheduled&&(this._notifyScheduled=!0,queueMicrotask(()=>{this._notifyScheduled=!1;for(const t of this._listeners)t()}))}}const Te=new eL;typeof window<"u"&&(window.__volterEditorConsole=Te);const lw=1e3,uw=4e3;function pi(e){try{const t=e;return typeof e=="object"&&t!==null&&typeof t.stack=="string"&&t.stack!==""&&typeof t.message=="string"?t.stack.includes(t.message)?t.stack:`${String(e)}
591
- ${t.stack}`:String(e)}catch{return Object.prototype.toString.call(e)}}function tL(e){if(typeof e!="object"||e===null)return pi(e);const t=new WeakSet;let r;try{r=JSON.stringify(e,(n,o)=>typeof o!="object"||o===null?o:t.has(o)?"[Circular]":(t.add(o),o))}catch{r=void 0}return r===void 0?pi(e):r.length>lw?`${r.slice(0,lw)}…`:r}function rL(e){if(e.length===0)return"";const[t,...r]=e;if(typeof t!="string"||r.length===0)return e.map(pi).join(" ");let n=0;const o=t.replace(/%([sdifoOjc%])/g,(a,s)=>{if(s==="%")return"%";if(n>=r.length)return a;const u=r[n++];switch(s){case"s":return typeof u=="string"?u:pi(u);case"d":case"i":{if(typeof u=="symbol")return"NaN";if(typeof u=="bigint")return String(u);const l=Number(u);return Number.isFinite(l)?String(Math.trunc(l)):String(l)}case"f":return typeof u=="symbol"?"NaN":String(Number(u));case"c":return"";default:return tL(u)}}),i=r.slice(n);return i.length===0?o:`${o} ${i.map(pi).join(" ")}`}function nL(e,t){const r=e[0];if(typeof r!="string"||!/^(Encountered two children with the same key|Each child in a list should have a unique|Maximum update depth exceeded|Cannot update a component)/.test(r))return t;try{const n=H.captureOwnerStack?.();return n?`${t}
592
- Owner stack:${n}`:t}catch{return t}}function cw(e,t={}){const r=e instanceof Error?`${e.name}: ${e.message}`:pi(e),n=[t.source?`[${t.source}] ${r}`:r],o=t.componentStack?.trim();o&&n.push(`Component stack:
593
- ${o}`),e instanceof Error&&e.stack&&e.stack!==r&&n.push(`JavaScript stack:
594
- ${e.stack}`);const i=n.join(`
595
- `);return i.length>uw?`${i.slice(0,uw)}…`:i}let fa=null,ld=null;function Dve(e){if(fa)return()=>{};const t=console.error,r=console.warn;fa=t,ld=r;const n=(s,u)=>{const l=nL(u,rL(u));Te.logStructured(s,l,e(l))};console.error=(...s)=>{t.apply(console,s),n("error",s)},console.warn=(...s)=>{r.apply(console,s),n("warn",s)};const o=s=>{if(X9(s))return;const u=s.filename?`${s.filename}${s.lineno?`:${s.lineno}${s.colno?`:${s.colno}`:""}`:""}`:void 0;Te.error(cw(s.error??s.message,u?{source:u}:void 0),"runtime")},i=s=>{Z9(s.reason)||Te.error(`Unhandled promise rejection: ${cw(s.reason)}`,"runtime")},a=typeof window<"u";return a&&(window.addEventListener("error",o),window.addEventListener("unhandledrejection",i)),()=>{fa&&(console.error=fa),ld&&(console.warn=ld),fa=null,ld=null,a&&(window.removeEventListener("error",o),window.removeEventListener("unhandledrejection",i))}}const oL={log:"info",warn:"warn",error:"error"},iL={trace:"info",debug:"info",info:"info",warn:"warn",error:"error",fatal:"error"};typeof window<"u"&&window.addEventListener("message",e=>{if(e.data?.type==="engine-log"){const t=iL[e.data.level];if(!t)return;Te.logStructured(t,e.data.message,"engine",e.data.subsystem,e.data.metadata);return}if(e.data?.type==="console-bridge"){const t=oL[e.data.level];if(!t)return;Te[t==="info"?"log":t](e.data.message,"engine")}});function J(e,t,r){function n(s,u){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:u,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,u);const l=a.prototype,c=Object.keys(l);for(let d=0;d<c.length;d++){const f=c[d];f in s||(s[f]=l[f].bind(s))}}const o=r?.Parent??Object;class i extends o{}Object.defineProperty(i,"name",{value:e});function a(s){var u;const l=r?.Parent?new i:this;n(l,s),(u=l._zod).deferred??(u.deferred=[]);for(const c of l._zod.deferred)c();return l}return Object.defineProperty(a,"init",{value:n}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>r?.Parent&&s instanceof r.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}class hi extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class rP extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const nP={};function Hn(e){return nP}function oP(e){const t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function ob(e,t){return typeof t=="bigint"?t.toString():t}function Lp(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function My(e){return e==null}function Ny(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function aL(e,t){const r=(e.toString().split(".")[1]||"").length,n=t.toString();let o=(n.split(".")[1]||"").length;if(o===0&&/\d?e-\d?/.test(n)){const u=n.match(/\d?e-(\d?)/);u?.[1]&&(o=Number.parseInt(u[1]))}const i=r>o?r:o,a=Number.parseInt(e.toFixed(i).replace(".","")),s=Number.parseInt(t.toFixed(i).replace(".",""));return a%s/10**i}const dw=Symbol("evaluating");function ye(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==dw)return n===void 0&&(n=dw,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function Mo(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function Zn(...e){const t={};for(const r of e){const n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function fw(e){return JSON.stringify(e)}function sL(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const iP="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ju(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const lL=Lp(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function _i(e){if(Ju(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(Ju(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function aP(e){return _i(e)?{...e}:Array.isArray(e)?[...e]:e}const uL=new Set(["string","number","symbol"]);function Si(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Jn(e,t,r){const n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function oe(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new 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 cL(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const dL={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function fL(e,t){const r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i=Zn(e._zod.def,{get shape(){const a={};for(const s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=r.shape[s])}return Mo(this,"shape",a),a},checks:[]});return Jn(e,i)}function pL(e,t){const r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=Zn(e._zod.def,{get shape(){const a={...e._zod.def.shape};for(const s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete a[s]}return Mo(this,"shape",a),a},checks:[]});return Jn(e,i)}function hL(e,t){if(!_i(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const i=e._zod.def.shape;for(const a in t)if(Object.getOwnPropertyDescriptor(i,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const o=Zn(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return Mo(this,"shape",i),i}});return Jn(e,o)}function mL(e,t){if(!_i(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r=Zn(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t};return Mo(this,"shape",n),n}});return Jn(e,r)}function gL(e,t){const r=Zn(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return Mo(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return Jn(e,r)}function bL(e,t,r){const o=t._zod.def.checks;if(o&&o.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const a=Zn(t._zod.def,{get shape(){const s=t._zod.def.shape,u={...s};if(r)for(const l in r){if(!(l in s))throw new Error(`Unrecognized key: "${l}"`);r[l]&&(u[l]=e?new e({type:"optional",innerType:s[l]}):s[l])}else for(const l in s)u[l]=e?new e({type:"optional",innerType:s[l]}):s[l];return Mo(this,"shape",u),u},checks:[]});return Jn(t,a)}function vL(e,t,r){const n=Zn(t._zod.def,{get shape(){const o=t._zod.def.shape,i={...o};if(r)for(const a in r){if(!(a in i))throw new Error(`Unrecognized key: "${a}"`);r[a]&&(i[a]=new e({type:"nonoptional",innerType:o[a]}))}else for(const a in o)i[a]=new e({type:"nonoptional",innerType:o[a]});return Mo(this,"shape",i),i}});return Jn(t,n)}function ei(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function ho(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function ud(e){return typeof e=="string"?e:e?.message}function Un(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const o=ud(e.inst?._zod.def?.error?.(e))??ud(t?.error?.(e))??ud(r.customError?.(e))??ud(r.localeError?.(e))??"Invalid input";n.message=o}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function Iy(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Xu(...e){const[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}const sP=(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,ob,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},lP=J("$ZodError",sP),uP=J("$ZodError",sP,{Parent:Error});function yL(e,t=r=>r.message){const r={},n=[];for(const o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}function wL(e,t=r=>r.message){const r={_errors:[]},n=o=>{for(const i of o.issues)if(i.code==="invalid_union"&&i.errors.length)i.errors.map(a=>n({issues:a}));else if(i.code==="invalid_key")n({issues:i.issues});else if(i.code==="invalid_element")n({issues:i.issues});else if(i.path.length===0)r._errors.push(t(i));else{let a=r,s=0;for(;s<i.path.length;){const u=i.path[s];s===i.path.length-1?(a[u]=a[u]||{_errors:[]},a[u]._errors.push(t(i))):a[u]=a[u]||{_errors:[]},a=a[u],s++}}};return n(e),r}const jy=e=>(t,r,n,o)=>{const i=n?Object.assign(n,{async:!1}):{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new hi;if(a.issues.length){const s=new(o?.Err??e)(a.issues.map(u=>Un(u,i,Hn())));throw iP(s,o?.callee),s}return a.value},Dy=e=>async(t,r,n,o)=>{const i=n?Object.assign(n,{async:!0}):{async:!0};let a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise&&(a=await a),a.issues.length){const s=new(o?.Err??e)(a.issues.map(u=>Un(u,i,Hn())));throw iP(s,o?.callee),s}return a.value},Fp=e=>(t,r,n)=>{const o=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new hi;return i.issues.length?{success:!1,error:new(e??lP)(i.issues.map(a=>Un(a,o,Hn())))}:{success:!0,data:i.value}},EL=Fp(uP),Bp=e=>async(t,r,n)=>{const o=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(a=>Un(a,o,Hn())))}:{success:!0,data:i.value}},_L=Bp(uP),SL=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return jy(e)(t,r,o)},RL=e=>(t,r,n)=>jy(e)(t,r,n),xL=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Dy(e)(t,r,o)},CL=e=>async(t,r,n)=>Dy(e)(t,r,n),AL=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Fp(e)(t,r,o)},PL=e=>(t,r,n)=>Fp(e)(t,r,n),TL=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Bp(e)(t,r,o)},OL=e=>async(t,r,n)=>Bp(e)(t,r,n),$L=/^[cC][^\s-]{8,}$/,qL=/^[0-9a-z]+$/,kL=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,ML=/^[0-9a-vA-V]{20}$/,NL=/^[A-Za-z0-9]{27}$/,IL=/^[a-zA-Z0-9_-]{21}$/,jL=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,DL=/^([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})$/,pw=e=>e?new 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)$/,LL=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,FL="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function BL(){return new RegExp(FL,"u")}const zL=/^(?:(?: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])$/,HL=/^(([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}|:))$/,UL=/^((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])$/,VL=/^(([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])$/,WL=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,cP=/^[A-Za-z0-9_-]*$/,GL=/^\+[1-9]\d{6,14}$/,dP="(?:(?:\\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])))",KL=new RegExp(`^${dP}$`);function fP(e){const 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 YL(e){return new RegExp(`^${fP(e)}$`)}function ZL(e){const t=fP({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${dP}T(?:${n})$`)}const JL=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},XL=/^-?\d+$/,pP=/^-?\d+(?:\.\d+)?$/,QL=/^(?:true|false)$/i,eF=/^[^A-Z]*$/,tF=/^[^a-z]*$/,Mt=J("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),hP={number:"number",bigint:"bigint",object:"date"},mP=J("$ZodCheckLessThan",(e,t)=>{Mt.init(e,t);const r=hP[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,i=(t.inclusive?o.maximum:o.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<i&&(t.inclusive?o.maximum=t.value:o.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),gP=J("$ZodCheckGreaterThan",(e,t)=>{Mt.init(e,t);const r=hP[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,i=(t.inclusive?o.minimum:o.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>i&&(t.inclusive?o.minimum=t.value:o.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),rF=J("$ZodCheckMultipleOf",(e,t)=>{Mt.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):aL(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),nF=J("$ZodCheckNumberFormat",(e,t)=>{Mt.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),n=r?"int":"number",[o,i]=dL[t.format];e._zod.onattach.push(a=>{const s=a._zod.bag;s.format=t.format,s.minimum=o,s.maximum=i,r&&(s.pattern=XL)}),e._zod.check=a=>{const s=a.value;if(r){if(!Number.isInteger(s)){a.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}s<o&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),oF=J("$ZodCheckMaxLength",(e,t)=>{var r;Mt.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!My(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const o=n.value;if(o.length<=t.maximum)return;const a=Iy(o);n.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),iF=J("$ZodCheckMinLength",(e,t)=>{var r;Mt.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!My(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const o=n.value;if(o.length>=t.minimum)return;const a=Iy(o);n.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),aF=J("$ZodCheckLengthEquals",(e,t)=>{var r;Mt.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!My(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=n=>{const o=n.value,i=o.length;if(i===t.length)return;const a=Iy(o),s=i>t.length;n.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),zp=J("$ZodCheckStringFormat",(e,t)=>{var r,n;Mt.init(e,t),e._zod.onattach.push(o=>{const i=o._zod.bag;i.format=t.format,t.pattern&&(i.patterns??(i.patterns=new Set),i.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),sF=J("$ZodCheckRegex",(e,t)=>{zp.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),lF=J("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=eF),zp.init(e,t)}),uF=J("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=tF),zp.init(e,t)}),cF=J("$ZodCheckIncludes",(e,t)=>{Mt.init(e,t);const r=Si(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(o=>{const i=o._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),dF=J("$ZodCheckStartsWith",(e,t)=>{Mt.init(e,t);const r=new RegExp(`^${Si(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),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})}}),fF=J("$ZodCheckEndsWith",(e,t)=>{Mt.init(e,t);const r=new RegExp(`.*${Si(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),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})}}),pF=J("$ZodCheckOverwrite",(e,t)=>{Mt.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class hF{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const n=t.split(`
596
- `).filter(a=>a),o=Math.min(...n.map(a=>a.length-a.trimStart().length)),i=n.map(a=>a.slice(o)).map(a=>" ".repeat(this.indent*2)+a);for(const a of i)this.content.push(a)}compile(){const t=Function,r=this?.args,o=[...(this?.content??[""]).map(i=>` ${i}`)];return new t(...r,o.join(`
597
- `))}}const mF={major:4,minor:3,patch:6},Ie=J("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=mF;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const o of n)for(const i of o._zod.onattach)i(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(a,s,u)=>{let l=ei(a),c;for(const d of s){if(d._zod.def.when){if(!d._zod.def.when(a))continue}else if(l)continue;const f=a.issues.length,p=d._zod.check(a);if(p instanceof Promise&&u?.async===!1)throw new hi;if(c||p instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await p,a.issues.length!==f&&(l||(l=ei(a,f)))});else{if(a.issues.length===f)continue;l||(l=ei(a,f))}}return c?c.then(()=>a):a},i=(a,s,u)=>{if(ei(a))return a.aborted=!0,a;const l=o(s,n,u);if(l instanceof Promise){if(u.async===!1)throw new hi;return l.then(c=>e._zod.parse(c,u))}return e._zod.parse(l,u)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){const l=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return l instanceof Promise?l.then(c=>i(c,a,s)):i(l,a,s)}const u=e._zod.parse(a,s);if(u instanceof Promise){if(s.async===!1)throw new hi;return u.then(l=>o(l,n,s))}return o(u,n,s)}}ye(e,"~standard",()=>({validate:o=>{try{const i=EL(e,o);return i.success?{value:i.data}:{issues:i.error?.issues}}catch{return _L(e,o).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),Ly=J("$ZodString",(e,t)=>{Ie.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??JL(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),He=J("$ZodStringFormat",(e,t)=>{zp.init(e,t),Ly.init(e,t)}),gF=J("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=DL),He.init(e,t)}),bF=J("$ZodUUID",(e,t)=>{if(t.version){const n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=pw(n))}else t.pattern??(t.pattern=pw());He.init(e,t)}),vF=J("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=LL),He.init(e,t)}),yF=J("$ZodURL",(e,t)=>{He.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),o=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=o.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),wF=J("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=BL()),He.init(e,t)}),EF=J("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=IL),He.init(e,t)}),_F=J("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=$L),He.init(e,t)}),SF=J("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=qL),He.init(e,t)}),RF=J("$ZodULID",(e,t)=>{t.pattern??(t.pattern=kL),He.init(e,t)}),xF=J("$ZodXID",(e,t)=>{t.pattern??(t.pattern=ML),He.init(e,t)}),CF=J("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=NL),He.init(e,t)}),AF=J("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=ZL(t)),He.init(e,t)}),PF=J("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=KL),He.init(e,t)}),TF=J("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=YL(t)),He.init(e,t)}),OF=J("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=jL),He.init(e,t)}),$F=J("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=zL),He.init(e,t),e._zod.bag.format="ipv4"}),qF=J("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=HL),He.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),kF=J("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=UL),He.init(e,t)}),MF=J("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=VL),He.init(e,t),e._zod.check=r=>{const n=r.value.split("/");try{if(n.length!==2)throw new Error;const[o,i]=n;if(!i)throw new Error;const a=Number(i);if(`${a}`!==i)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${o}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function bP(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const NF=J("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=WL),He.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{bP(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function IF(e){if(!cP.test(e))return!1;const t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return bP(r)}const jF=J("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=cP),He.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{IF(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),DF=J("$ZodE164",(e,t)=>{t.pattern??(t.pattern=GL),He.init(e,t)});function LF(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[n]=r;if(!n)return!1;const o=JSON.parse(atob(n));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}const FF=J("$ZodJWT",(e,t)=>{He.init(e,t),e._zod.check=r=>{LF(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),vP=J("$ZodNumber",(e,t)=>{Ie.init(e,t),e._zod.pattern=e._zod.bag.pattern??pP,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const o=r.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return r;const i=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),r}}),BF=J("$ZodNumberFormat",(e,t)=>{nF.init(e,t),vP.init(e,t)}),zF=J("$ZodBoolean",(e,t)=>{Ie.init(e,t),e._zod.pattern=QL,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}const o=r.value;return typeof o=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),r}}),HF=J("$ZodUnknown",(e,t)=>{Ie.init(e,t),e._zod.parse=r=>r}),UF=J("$ZodNever",(e,t)=>{Ie.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});function hw(e,t,r){e.issues.length&&t.issues.push(...ho(r,e.issues)),t.value[r]=e.value}const VF=J("$ZodArray",(e,t)=>{Ie.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=Array(o.length);const i=[];for(let a=0;a<o.length;a++){const s=o[a],u=t.element._zod.run({value:s,issues:[]},n);u instanceof Promise?i.push(u.then(l=>hw(l,r,a))):hw(u,r,a)}return i.length?Promise.all(i).then(()=>r):r}});function Of(e,t,r,n,o){if(e.issues.length){if(o&&!(r in n))return;t.issues.push(...ho(r,e.issues))}e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function yP(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const r=cL(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function wP(e,t,r,n,o,i){const a=[],s=o.keySet,u=o.catchall._zod,l=u.def.type,c=u.optout==="optional";for(const d in t){if(s.has(d))continue;if(l==="never"){a.push(d);continue}const f=u.run({value:t[d],issues:[]},n);f instanceof Promise?e.push(f.then(p=>Of(p,r,d,t,c))):Of(f,r,d,t,c)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:i}),e.length?Promise.all(e).then(()=>r):r}const WF=J("$ZodObject",(e,t)=>{if(Ie.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const s=t.shape;Object.defineProperty(t,"shape",{get:()=>{const u={...s};return Object.defineProperty(t,"shape",{value:u}),u}})}const n=Lp(()=>yP(t));ye(e._zod,"propValues",()=>{const s=t.shape,u={};for(const l in s){const c=s[l]._zod;if(c.values){u[l]??(u[l]=new Set);for(const d of c.values)u[l].add(d)}}return u});const o=Ju,i=t.catchall;let a;e._zod.parse=(s,u)=>{a??(a=n.value);const l=s.value;if(!o(l))return s.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),s;s.value={};const c=[],d=a.shape;for(const f of a.keys){const p=d[f],h=p._zod.optout==="optional",m=p._zod.run({value:l[f],issues:[]},u);m instanceof Promise?c.push(m.then(v=>Of(v,s,f,l,h))):Of(m,s,f,l,h)}return i?wP(c,l,s,u,n.value,e):c.length?Promise.all(c).then(()=>s):s}}),GF=J("$ZodObjectJIT",(e,t)=>{WF.init(e,t);const r=e._zod.parse,n=Lp(()=>yP(t)),o=f=>{const p=new hF(["shape","payload","ctx"]),h=n.value,m=_=>{const x=fw(_);return`shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};p.write("const input = payload.value;");const v=Object.create(null);let g=0;for(const _ of h.keys)v[_]=`key_${g++}`;p.write("const newResult = {};");for(const _ of h.keys){const x=v[_],S=fw(_),b=f[_]?._zod?.optout==="optional";p.write(`const ${x} = ${m(_)};`),b?p.write(`
598
- if (${x}.issues.length) {
599
- if (${S} in input) {
600
- payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
601
- ...iss,
602
- path: iss.path ? [${S}, ...iss.path] : [${S}]
603
- })));
604
- }
605
- }
606
-
607
- if (${x}.value === undefined) {
608
- if (${S} in input) {
609
- newResult[${S}] = undefined;
610
- }
611
- } else {
612
- newResult[${S}] = ${x}.value;
613
- }
614
-
615
- `):p.write(`
616
- if (${x}.issues.length) {
617
- payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
618
- ...iss,
619
- path: iss.path ? [${S}, ...iss.path] : [${S}]
620
- })));
621
- }
622
-
623
- if (${x}.value === undefined) {
624
- if (${S} in input) {
625
- newResult[${S}] = undefined;
626
- }
627
- } else {
628
- newResult[${S}] = ${x}.value;
629
- }
630
-
631
- `)}p.write("payload.value = newResult;"),p.write("return payload;");const E=p.compile();return(_,x)=>E(f,_,x)};let i;const a=Ju,s=!nP.jitless,l=s&&lL.value,c=t.catchall;let d;e._zod.parse=(f,p)=>{d??(d=n.value);const h=f.value;return a(h)?s&&l&&p?.async===!1&&p.jitless!==!0?(i||(i=o(t.shape)),f=i(f,p),c?wP([],h,f,p,d,e):f):r(f,p):(f.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),f)}});function mw(e,t,r,n){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const o=e.filter(i=>!ei(i));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(i=>i.issues.map(a=>Un(a,n,Hn())))}),t)}const EP=J("$ZodUnion",(e,t)=>{Ie.init(e,t),ye(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),ye(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),ye(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),ye(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${o.map(i=>Ny(i.source)).join("|")})$`)}});const r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(o,i)=>{if(r)return n(o,i);let a=!1;const s=[];for(const u of t.options){const l=u._zod.run({value:o.value,issues:[]},i);if(l instanceof Promise)s.push(l),a=!0;else{if(l.issues.length===0)return l;s.push(l)}}return a?Promise.all(s).then(u=>mw(u,o,e,i)):mw(s,o,e,i)}}),KF=J("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,EP.init(e,t);const r=e._zod.parse;ye(e._zod,"propValues",()=>{const o={};for(const i of t.options){const a=i._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(const[s,u]of Object.entries(a)){o[s]||(o[s]=new Set);for(const l of u)o[s].add(l)}}return o});const n=Lp(()=>{const o=t.options,i=new Map;for(const a of o){const s=a._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(const u of s){if(i.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);i.set(u,a)}}return i});e._zod.parse=(o,i)=>{const a=o.value;if(!Ju(a))return o.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),o;const s=n.value.get(a?.[t.discriminator]);return s?s._zod.run(o,i):t.unionFallback?r(o,i):(o.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:a,path:[t.discriminator],inst:e}),o)}}),YF=J("$ZodIntersection",(e,t)=>{Ie.init(e,t),e._zod.parse=(r,n)=>{const o=r.value,i=t.left._zod.run({value:o,issues:[]},n),a=t.right._zod.run({value:o,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([u,l])=>gw(r,u,l)):gw(r,i,a)}});function ib(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(_i(e)&&_i(t)){const r=Object.keys(t),n=Object.keys(e).filter(i=>r.indexOf(i)!==-1),o={...e,...t};for(const i of n){const a=ib(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};o[i]=a.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const o=e[n],i=t[n],a=ib(o,i);if(!a.valid)return{valid:!1,mergeErrorPath:[n,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function gw(e,t,r){const n=new Map;let o;for(const s of t.issues)if(s.code==="unrecognized_keys"){o??(o=s);for(const u of s.keys)n.has(u)||n.set(u,{}),n.get(u).l=!0}else e.issues.push(s);for(const s of r.issues)if(s.code==="unrecognized_keys")for(const u of s.keys)n.has(u)||n.set(u,{}),n.get(u).r=!0;else e.issues.push(s);const i=[...n].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(i.length&&o&&e.issues.push({...o,keys:i}),ei(e))return e;const a=ib(t.value,r.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}const ZF=J("$ZodTuple",(e,t)=>{Ie.init(e,t);const r=t.items;e._zod.parse=(n,o)=>{const i=n.value;if(!Array.isArray(i))return n.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];const a=[],s=[...r].reverse().findIndex(c=>c._zod.optin!=="optional"),u=s===-1?0:r.length-s;if(!t.rest){const c=i.length>r.length,d=i.length<u-1;if(c||d)return n.issues.push({...c?{code:"too_big",maximum:r.length,inclusive:!0}:{code:"too_small",minimum:r.length},input:i,inst:e,origin:"array"}),n}let l=-1;for(const c of r){if(l++,l>=i.length&&l>=u)continue;const d=c._zod.run({value:i[l],issues:[]},o);d instanceof Promise?a.push(d.then(f=>cd(f,n,l))):cd(d,n,l)}if(t.rest){const c=i.slice(r.length);for(const d of c){l++;const f=t.rest._zod.run({value:d,issues:[]},o);f instanceof Promise?a.push(f.then(p=>cd(p,n,l))):cd(f,n,l)}}return a.length?Promise.all(a).then(()=>n):n}});function cd(e,t,r){e.issues.length&&t.issues.push(...ho(r,e.issues)),t.value[r]=e.value}const JF=J("$ZodRecord",(e,t)=>{Ie.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!_i(o))return r.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),r;const i=[],a=t.keyType._zod.values;if(a){r.value={};const s=new Set;for(const l of a)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){s.add(typeof l=="number"?l.toString():l);const c=t.valueType._zod.run({value:o[l],issues:[]},n);c instanceof Promise?i.push(c.then(d=>{d.issues.length&&r.issues.push(...ho(l,d.issues)),r.value[l]=d.value})):(c.issues.length&&r.issues.push(...ho(l,c.issues)),r.value[l]=c.value)}let u;for(const l in o)s.has(l)||(u=u??[],u.push(l));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:u})}else{r.value={};for(const s of Reflect.ownKeys(o)){if(s==="__proto__")continue;let u=t.keyType._zod.run({value:s,issues:[]},n);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&pP.test(s)&&u.issues.length){const d=t.keyType._zod.run({value:Number(s),issues:[]},n);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");d.issues.length===0&&(u=d)}if(u.issues.length){t.mode==="loose"?r.value[s]=o[s]:r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(d=>Un(d,n,Hn())),input:s,path:[s],inst:e});continue}const c=t.valueType._zod.run({value:o[s],issues:[]},n);c instanceof Promise?i.push(c.then(d=>{d.issues.length&&r.issues.push(...ho(s,d.issues)),r.value[u.value]=d.value})):(c.issues.length&&r.issues.push(...ho(s,c.issues)),r.value[u.value]=c.value)}}return i.length?Promise.all(i).then(()=>r):r}}),XF=J("$ZodEnum",(e,t)=>{Ie.init(e,t);const r=oP(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(o=>uL.has(typeof o)).map(o=>typeof o=="string"?Si(o):o.toString()).join("|")})$`),e._zod.parse=(o,i)=>{const a=o.value;return n.has(a)||o.issues.push({code:"invalid_value",values:r,input:a,inst:e}),o}}),QF=J("$ZodLiteral",(e,t)=>{if(Ie.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?Si(n):n?Si(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,o)=>{const i=n.value;return r.has(i)||n.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),n}}),eB=J("$ZodTransform",(e,t)=>{Ie.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new rP(e.constructor.name);const o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(a=>(r.value=a,r));if(o instanceof Promise)throw new hi;return r.value=o,r}});function bw(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const _P=J("$ZodOptional",(e,t)=>{Ie.init(e,t),e._zod.optin="optional",e._zod.optout="optional",ye(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),ye(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${Ny(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>bw(i,r.value)):bw(o,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,n)}}),tB=J("$ZodExactOptional",(e,t)=>{_P.init(e,t),ye(e._zod,"values",()=>t.innerType._zod.values),ye(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),rB=J("$ZodNullable",(e,t)=>{Ie.init(e,t),ye(e._zod,"optin",()=>t.innerType._zod.optin),ye(e._zod,"optout",()=>t.innerType._zod.optout),ye(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${Ny(r.source)}|null)$`):void 0}),ye(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),nB=J("$ZodDefault",(e,t)=>{Ie.init(e,t),e._zod.optin="optional",ye(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>vw(i,t)):vw(o,t)}});function vw(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const oB=J("$ZodPrefault",(e,t)=>{Ie.init(e,t),e._zod.optin="optional",ye(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),iB=J("$ZodNonOptional",(e,t)=>{Ie.init(e,t),ye(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>yw(i,e)):yw(o,e)}});function yw(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const aB=J("$ZodCatch",(e,t)=>{Ie.init(e,t),ye(e._zod,"optin",()=>t.innerType._zod.optin),ye(e._zod,"optout",()=>t.innerType._zod.optout),ye(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(i=>(r.value=i.value,i.issues.length&&(r.value=t.catchValue({...r,error:{issues:i.issues.map(a=>Un(a,n,Hn()))},input:r.value}),r.issues=[]),r)):(r.value=o.value,o.issues.length&&(r.value=t.catchValue({...r,error:{issues:o.issues.map(i=>Un(i,n,Hn()))},input:r.value}),r.issues=[]),r)}}),sB=J("$ZodPipe",(e,t)=>{Ie.init(e,t),ye(e._zod,"values",()=>t.in._zod.values),ye(e._zod,"optin",()=>t.in._zod.optin),ye(e._zod,"optout",()=>t.out._zod.optout),ye(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){const i=t.out._zod.run(r,n);return i instanceof Promise?i.then(a=>dd(a,t.in,n)):dd(i,t.in,n)}const o=t.in._zod.run(r,n);return o instanceof Promise?o.then(i=>dd(i,t.out,n)):dd(o,t.out,n)}});function dd(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const lB=J("$ZodReadonly",(e,t)=>{Ie.init(e,t),ye(e._zod,"propValues",()=>t.innerType._zod.propValues),ye(e._zod,"values",()=>t.innerType._zod.values),ye(e._zod,"optin",()=>t.innerType?._zod?.optin),ye(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(ww):ww(o)}});function ww(e){return e.value=Object.freeze(e.value),e}const uB=J("$ZodLazy",(e,t)=>{Ie.init(e,t),ye(e._zod,"innerType",()=>t.getter()),ye(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),ye(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),ye(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),ye(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(r,n)=>e._zod.innerType._zod.run(r,n)}),cB=J("$ZodCustom",(e,t)=>{Mt.init(e,t),Ie.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{const n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(i=>Ew(i,r,n,e));Ew(o,r,n,e)}});function Ew(e,t,r,n){if(!e){const o={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(o.params=n._zod.def.params),t.issues.push(Xu(o))}}var _w;class dB{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const n={...this.get(r)??{}};delete n.id;const o={...n,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function fB(){return new dB}(_w=globalThis).__zod_globalRegistry??(_w.__zod_globalRegistry=fB());const fu=globalThis.__zod_globalRegistry;function pB(e,t){return new e({type:"string",...oe(t)})}function hB(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...oe(t)})}function Sw(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...oe(t)})}function mB(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...oe(t)})}function gB(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...oe(t)})}function bB(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...oe(t)})}function vB(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...oe(t)})}function yB(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...oe(t)})}function wB(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...oe(t)})}function EB(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...oe(t)})}function _B(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...oe(t)})}function SB(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...oe(t)})}function RB(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...oe(t)})}function xB(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...oe(t)})}function CB(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...oe(t)})}function AB(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...oe(t)})}function PB(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...oe(t)})}function TB(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...oe(t)})}function OB(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...oe(t)})}function $B(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...oe(t)})}function qB(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...oe(t)})}function kB(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...oe(t)})}function MB(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...oe(t)})}function NB(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...oe(t)})}function IB(e,t){return new e({type:"string",format:"date",check:"string_format",...oe(t)})}function jB(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...oe(t)})}function DB(e,t){return new e({type:"string",format:"duration",check:"string_format",...oe(t)})}function LB(e,t){return new e({type:"number",checks:[],...oe(t)})}function FB(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...oe(t)})}function BB(e,t){return new e({type:"boolean",...oe(t)})}function zB(e){return new e({type:"unknown"})}function HB(e,t){return new e({type:"never",...oe(t)})}function Rw(e,t){return new mP({check:"less_than",...oe(t),value:e,inclusive:!1})}function ym(e,t){return new mP({check:"less_than",...oe(t),value:e,inclusive:!0})}function xw(e,t){return new gP({check:"greater_than",...oe(t),value:e,inclusive:!1})}function wm(e,t){return new gP({check:"greater_than",...oe(t),value:e,inclusive:!0})}function Cw(e,t){return new rF({check:"multiple_of",...oe(t),value:e})}function SP(e,t){return new oF({check:"max_length",...oe(t),maximum:e})}function $f(e,t){return new iF({check:"min_length",...oe(t),minimum:e})}function RP(e,t){return new aF({check:"length_equals",...oe(t),length:e})}function UB(e,t){return new sF({check:"string_format",format:"regex",...oe(t),pattern:e})}function VB(e){return new lF({check:"string_format",format:"lowercase",...oe(e)})}function WB(e){return new uF({check:"string_format",format:"uppercase",...oe(e)})}function GB(e,t){return new cF({check:"string_format",format:"includes",...oe(t),includes:e})}function KB(e,t){return new dF({check:"string_format",format:"starts_with",...oe(t),prefix:e})}function YB(e,t){return new fF({check:"string_format",format:"ends_with",...oe(t),suffix:e})}function Wi(e){return new pF({check:"overwrite",tx:e})}function ZB(e){return Wi(t=>t.normalize(e))}function JB(){return Wi(e=>e.trim())}function XB(){return Wi(e=>e.toLowerCase())}function QB(){return Wi(e=>e.toUpperCase())}function ez(){return Wi(e=>sL(e))}function tz(e,t,r){return new e({type:"array",element:t,...oe(r)})}function rz(e,t,r){const n=oe(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function nz(e,t,r){return new e({type:"custom",check:"custom",fn:t,...oe(r)})}function oz(e){const t=iz(r=>(r.addIssue=n=>{if(typeof n=="string")r.issues.push(Xu(n,r.value,t._zod.def));else{const o=n;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=r.value),o.inst??(o.inst=t),o.continue??(o.continue=!t._zod.def.abort),r.issues.push(Xu(o))}},e(r.value,r)));return t}function iz(e,t){const r=new Mt({check:"custom",...oe(t)});return r._zod.check=e,r}function qf(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??fu,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 Ne(e,t,r={path:[],schemaPath:[]}){var n;const o=e._zod.def,i=t.seen.get(e);if(i)return i.count++,r.schemaPath.includes(e)&&(i.cycle=r.path),i.schema;const a={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,a);const s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{const c={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,c);else{const f=a.schema,p=t.processors[o.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);p(e,t,f,c)}const d=e._zod.parent;d&&(a.ref||(a.ref=d),Ne(d,t,c),t.seen.get(d).isParent=!0)}const u=t.metadataRegistry.get(e);return u&&Object.assign(a.schema,u),t.io==="input"&&Pt(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&a.schema._prefault&&((n=a.schema).default??(n.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function kf(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=new Map;for(const a of e.seen.entries()){const s=e.metadataRegistry.get(a[0])?.id;if(s){const u=n.get(s);if(u&&u!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(s,a[0])}}const o=a=>{const s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const d=e.external.registry.get(a[0])?.id,f=e.external.uri??(h=>h);if(d)return{ref:f(d)};const p=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=p,{defId:p,ref:`${f("__shared")}#/${s}/${p}`}}if(a[1]===r)return{ref:"#"};const l=`#/${s}/`,c=a[1].schema.id??`__schema${e.counter++}`;return{defId:c,ref:l+c}},i=a=>{if(a[1].schema.$ref)return;const s=a[1],{ref:u,defId:l}=o(a);s.def={...s.schema},l&&(s.defId=l);const c=s.schema;for(const d in c)delete c[d];c.$ref=u};if(e.cycles==="throw")for(const a of e.seen.entries()){const s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
632
-
633
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const a of e.seen.entries()){const s=a[1];if(t===a[0]){i(a);continue}if(e.external){const l=e.external.registry.get(a[0])?.id;if(t!==a[0]&&l){i(a);continue}}if(e.metadataRegistry.get(a[0])?.id){i(a);continue}if(s.cycle){i(a);continue}if(s.count>1&&e.reused==="ref"){i(a);continue}}}function Mf(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=a=>{const s=e.seen.get(a);if(s.ref===null)return;const u=s.def??s.schema,l={...u},c=s.ref;if(s.ref=null,c){n(c);const f=e.seen.get(c),p=f.schema;if(p.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(p)):Object.assign(u,p),Object.assign(u,l),a._zod.parent===c)for(const m in u)m==="$ref"||m==="allOf"||m in l||delete u[m];if(p.$ref&&f.def)for(const m in u)m==="$ref"||m==="allOf"||m in f.def&&JSON.stringify(u[m])===JSON.stringify(f.def[m])&&delete u[m]}const d=a._zod.parent;if(d&&d!==c){n(d);const f=e.seen.get(d);if(f?.schema.$ref&&(u.$ref=f.schema.$ref,f.def))for(const p in u)p==="$ref"||p==="allOf"||p in f.def&&JSON.stringify(u[p])===JSON.stringify(f.def[p])&&delete u[p]}e.override({zodSchema:a,jsonSchema:u,path:s.path??[]})};for(const a of[...e.seen.entries()].reverse())n(a[0]);const o={};if(e.target==="draft-2020-12"?o.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?o.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?o.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const a=e.external.registry.get(t)?.id;if(!a)throw new Error("Schema is missing an `id` property");o.$id=e.external.uri(a)}Object.assign(o,r.def??r.schema);const i=e.external?.defs??{};for(const a of e.seen.entries()){const s=a[1];s.def&&s.defId&&(i[s.defId]=s.def)}e.external||Object.keys(i).length>0&&(e.target==="draft-2020-12"?o.$defs=i:o.definitions=i);try{const a=JSON.parse(JSON.stringify(o));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:Nf(t,"input",e.processors),output:Nf(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw new Error("Error converting schema to JSON.")}}function Pt(e,t){const r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return Pt(n.element,r);if(n.type==="set")return Pt(n.valueType,r);if(n.type==="lazy")return Pt(n.getter(),r);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return Pt(n.innerType,r);if(n.type==="intersection")return Pt(n.left,r)||Pt(n.right,r);if(n.type==="record"||n.type==="map")return Pt(n.keyType,r)||Pt(n.valueType,r);if(n.type==="pipe")return Pt(n.in,r)||Pt(n.out,r);if(n.type==="object"){for(const o in n.shape)if(Pt(n.shape[o],r))return!0;return!1}if(n.type==="union"){for(const o of n.options)if(Pt(o,r))return!0;return!1}if(n.type==="tuple"){for(const o of n.items)if(Pt(o,r))return!0;return!!(n.rest&&Pt(n.rest,r))}return!1}const az=(e,t={})=>r=>{const n=qf({...r,processors:t});return Ne(e,n),kf(n,e),Mf(n,e)},Nf=(e,t,r={})=>n=>{const{libraryOptions:o,target:i}=n??{},a=qf({...o??{},target:i,io:t,processors:r});return Ne(e,a),kf(a,e),Mf(a,e)},sz={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},xP=(e,t,r,n)=>{const o=r;o.type="string";const{minimum:i,maximum:a,format:s,patterns:u,contentEncoding:l}=e._zod.bag;if(typeof i=="number"&&(o.minLength=i),typeof a=="number"&&(o.maxLength=a),s&&(o.format=sz[s]??s,o.format===""&&delete o.format,s==="time"&&delete o.format),l&&(o.contentEncoding=l),u&&u.size>0){const c=[...u];c.length===1?o.pattern=c[0].source:c.length>1&&(o.allOf=[...c.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},CP=(e,t,r,n)=>{const o=r,{minimum:i,maximum:a,format:s,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:c}=e._zod.bag;typeof s=="string"&&s.includes("int")?o.type="integer":o.type="number",typeof c=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.minimum=c,o.exclusiveMinimum=!0):o.exclusiveMinimum=c),typeof i=="number"&&(o.minimum=i,typeof c=="number"&&t.target!=="draft-04"&&(c>=i?delete o.minimum:delete o.exclusiveMinimum)),typeof l=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.maximum=l,o.exclusiveMaximum=!0):o.exclusiveMaximum=l),typeof a=="number"&&(o.maximum=a,typeof l=="number"&&t.target!=="draft-04"&&(l<=a?delete o.maximum:delete o.exclusiveMaximum)),typeof u=="number"&&(o.multipleOf=u)},AP=(e,t,r,n)=>{r.type="boolean"},lz=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},uz=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},cz=(e,t,r,n)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},dz=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},fz=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},PP=(e,t,r,n)=>{r.not={}},pz=(e,t,r,n)=>{},TP=(e,t,r,n)=>{},hz=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},OP=(e,t,r,n)=>{const o=e._zod.def,i=oP(o.entries);i.every(a=>typeof a=="number")&&(r.type="number"),i.every(a=>typeof a=="string")&&(r.type="string"),r.enum=i},$P=(e,t,r,n)=>{const o=e._zod.def,i=[];for(const a of o.values)if(a===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){const a=i[0];r.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[a]:r.const=a}else i.every(a=>typeof a=="number")&&(r.type="number"),i.every(a=>typeof a=="string")&&(r.type="string"),i.every(a=>typeof a=="boolean")&&(r.type="boolean"),i.every(a=>a===null)&&(r.type="null"),r.enum=i},mz=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},gz=(e,t,r,n)=>{const o=r,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");o.type="string",o.pattern=i.source},bz=(e,t,r,n)=>{const o=r,i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:u}=e._zod.bag;a!==void 0&&(i.minLength=a),s!==void 0&&(i.maxLength=s),u?u.length===1?(i.contentMediaType=u[0],Object.assign(o,i)):(Object.assign(o,i),o.anyOf=u.map(l=>({contentMediaType:l}))):Object.assign(o,i)},vz=(e,t,r,n)=>{r.type="boolean"},qP=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},yz=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},kP=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},wz=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},Ez=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},MP=(e,t,r,n)=>{const o=r,i=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;typeof a=="number"&&(o.minItems=a),typeof s=="number"&&(o.maxItems=s),o.type="array",o.items=Ne(i.element,t,{...n,path:[...n.path,"items"]})},NP=(e,t,r,n)=>{const o=r,i=e._zod.def;o.type="object",o.properties={};const a=i.shape;for(const l in a)o.properties[l]=Ne(a[l],t,{...n,path:[...n.path,"properties",l]});const s=new Set(Object.keys(a)),u=new Set([...s].filter(l=>{const c=i.shape[l]._zod;return t.io==="input"?c.optin===void 0:c.optout===void 0}));u.size>0&&(o.required=Array.from(u)),i.catchall?._zod.def.type==="never"?o.additionalProperties=!1:i.catchall?i.catchall&&(o.additionalProperties=Ne(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(o.additionalProperties=!1)},IP=(e,t,r,n)=>{const o=e._zod.def,i=o.inclusive===!1,a=o.options.map((s,u)=>Ne(s,t,{...n,path:[...n.path,i?"oneOf":"anyOf",u]}));i?r.oneOf=a:r.anyOf=a},jP=(e,t,r,n)=>{const o=e._zod.def,i=Ne(o.left,t,{...n,path:[...n.path,"allOf",0]}),a=Ne(o.right,t,{...n,path:[...n.path,"allOf",1]}),s=l=>"allOf"in l&&Object.keys(l).length===1,u=[...s(i)?i.allOf:[i],...s(a)?a.allOf:[a]];r.allOf=u},DP=(e,t,r,n)=>{const o=r,i=e._zod.def;o.type="array";const a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",u=i.items.map((f,p)=>Ne(f,t,{...n,path:[...n.path,a,p]})),l=i.rest?Ne(i.rest,t,{...n,path:[...n.path,s,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(o.prefixItems=u,l&&(o.items=l)):t.target==="openapi-3.0"?(o.items={anyOf:u},l&&o.items.anyOf.push(l),o.minItems=u.length,l||(o.maxItems=u.length)):(o.items=u,l&&(o.additionalItems=l));const{minimum:c,maximum:d}=e._zod.bag;typeof c=="number"&&(o.minItems=c),typeof d=="number"&&(o.maxItems=d)},LP=(e,t,r,n)=>{const o=r,i=e._zod.def;o.type="object";const a=i.keyType,u=a._zod.bag?.patterns;if(i.mode==="loose"&&u&&u.size>0){const c=Ne(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});o.patternProperties={};for(const d of u)o.patternProperties[d.source]=c}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(o.propertyNames=Ne(i.keyType,t,{...n,path:[...n.path,"propertyNames"]})),o.additionalProperties=Ne(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]});const l=a._zod.values;if(l){const c=[...l].filter(d=>typeof d=="string"||typeof d=="number");c.length>0&&(o.required=c)}},FP=(e,t,r,n)=>{const o=e._zod.def,i=Ne(o.innerType,t,n),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=o.innerType,r.nullable=!0):r.anyOf=[i,{type:"null"}]},BP=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType},zP=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,r.default=JSON.parse(JSON.stringify(o.defaultValue))},HP=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(o.defaultValue)))},UP=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType;let a;try{a=o.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=a},VP=(e,t,r,n)=>{const o=e._zod.def,i=t.io==="input"?o.in._zod.def.type==="transform"?o.out:o.in:o.out;Ne(i,t,n);const a=t.seen.get(e);a.ref=i},WP=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType,r.readOnly=!0},_z=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType},Fy=(e,t,r,n)=>{const o=e._zod.def;Ne(o.innerType,t,n);const i=t.seen.get(e);i.ref=o.innerType},GP=(e,t,r,n)=>{const o=e._zod.innerType;Ne(o,t,n);const i=t.seen.get(e);i.ref=o},Aw={string:xP,number:CP,boolean:AP,bigint:lz,symbol:uz,null:cz,undefined:dz,void:fz,never:PP,any:pz,unknown:TP,date:hz,enum:OP,literal:$P,nan:mz,template_literal:gz,file:bz,success:vz,custom:qP,function:yz,transform:kP,map:wz,set:Ez,array:MP,object:NP,union:IP,intersection:jP,tuple:DP,record:LP,nullable:FP,nonoptional:BP,default:zP,prefault:HP,catch:UP,pipe:VP,readonly:WP,promise:_z,optional:Fy,lazy:GP};function Sz(e,t){if("_idmap"in e){const n=e,o=qf({...t,processors:Aw}),i={};for(const u of n._idmap.entries()){const[l,c]=u;Ne(c,o)}const a={},s={registry:n,uri:t?.uri,defs:i};o.external=s;for(const u of n._idmap.entries()){const[l,c]=u;kf(o,c),a[l]=Mf(o,c)}if(Object.keys(i).length>0){const u=o.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[u]:i}}return{schemas:a}}const r=qf({...t,processors:Aw});return Ne(e,r),kf(r,e),Mf(r,e)}const Rz=J("ZodISODateTime",(e,t)=>{AF.init(e,t),Ve.init(e,t)});function xz(e){return NB(Rz,e)}const Cz=J("ZodISODate",(e,t)=>{PF.init(e,t),Ve.init(e,t)});function Az(e){return IB(Cz,e)}const Pz=J("ZodISOTime",(e,t)=>{TF.init(e,t),Ve.init(e,t)});function Tz(e){return jB(Pz,e)}const Oz=J("ZodISODuration",(e,t)=>{OF.init(e,t),Ve.init(e,t)});function $z(e){return DB(Oz,e)}const qz=(e,t)=>{lP.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>wL(e,r)},flatten:{value:r=>yL(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,ob,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,ob,2)}},isEmpty:{get(){return e.issues.length===0}}})},tr=J("ZodError",qz,{Parent:Error}),kz=jy(tr),Mz=Dy(tr),Nz=Fp(tr),Iz=Bp(tr),jz=SL(tr),Dz=RL(tr),Lz=xL(tr),Fz=CL(tr),Bz=AL(tr),zz=PL(tr),Hz=TL(tr),Uz=OL(tr),Fe=J("ZodType",(e,t)=>(Ie.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Nf(e,"input"),output:Nf(e,"output")}}),e.toJSONSchema=az(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(Zn(t,{checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0}),e.with=e.check,e.clone=(r,n)=>Jn(e,r,n),e.brand=()=>e,e.register=((r,n)=>(r.add(e,n),e)),e.parse=(r,n)=>kz(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>Nz(e,r,n),e.parseAsync=async(r,n)=>Mz(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>Iz(e,r,n),e.spa=e.safeParseAsync,e.encode=(r,n)=>jz(e,r,n),e.decode=(r,n)=>Dz(e,r,n),e.encodeAsync=async(r,n)=>Lz(e,r,n),e.decodeAsync=async(r,n)=>Fz(e,r,n),e.safeEncode=(r,n)=>Bz(e,r,n),e.safeDecode=(r,n)=>zz(e,r,n),e.safeEncodeAsync=async(r,n)=>Hz(e,r,n),e.safeDecodeAsync=async(r,n)=>Uz(e,r,n),e.refine=(r,n)=>e.check(DH(r,n)),e.superRefine=r=>e.check(LH(r)),e.overwrite=r=>e.check(Wi(r)),e.optional=()=>$w(e),e.exactOptional=()=>xH(e),e.nullable=()=>qw(e),e.nullish=()=>$w(qw(e)),e.nonoptional=r=>$H(e,r),e.array=()=>vo(e),e.or=r=>XP([e,r]),e.and=r=>vH(e,r),e.transform=r=>kw(e,SH(r)),e.default=r=>PH(e,r),e.prefault=r=>OH(e,r),e.catch=r=>kH(e,r),e.pipe=r=>kw(e,r),e.readonly=()=>IH(e),e.describe=r=>{const n=e.clone();return fu.add(n,{description:r}),n},Object.defineProperty(e,"description",{get(){return fu.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return fu.get(e);const n=e.clone();return fu.add(n,r[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=r=>r(e),e)),KP=J("_ZodString",(e,t)=>{Ly.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(n,o,i)=>xP(e,n,o);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...n)=>e.check(UB(...n)),e.includes=(...n)=>e.check(GB(...n)),e.startsWith=(...n)=>e.check(KB(...n)),e.endsWith=(...n)=>e.check(YB(...n)),e.min=(...n)=>e.check($f(...n)),e.max=(...n)=>e.check(SP(...n)),e.length=(...n)=>e.check(RP(...n)),e.nonempty=(...n)=>e.check($f(1,...n)),e.lowercase=n=>e.check(VB(n)),e.uppercase=n=>e.check(WB(n)),e.trim=()=>e.check(JB()),e.normalize=(...n)=>e.check(ZB(...n)),e.toLowerCase=()=>e.check(XB()),e.toUpperCase=()=>e.check(QB()),e.slugify=()=>e.check(ez())}),Vz=J("ZodString",(e,t)=>{Ly.init(e,t),KP.init(e,t),e.email=r=>e.check(hB(Wz,r)),e.url=r=>e.check(yB(Gz,r)),e.jwt=r=>e.check(MB(lH,r)),e.emoji=r=>e.check(wB(Kz,r)),e.guid=r=>e.check(Sw(Pw,r)),e.uuid=r=>e.check(mB(fd,r)),e.uuidv4=r=>e.check(gB(fd,r)),e.uuidv6=r=>e.check(bB(fd,r)),e.uuidv7=r=>e.check(vB(fd,r)),e.nanoid=r=>e.check(EB(Yz,r)),e.guid=r=>e.check(Sw(Pw,r)),e.cuid=r=>e.check(_B(Zz,r)),e.cuid2=r=>e.check(SB(Jz,r)),e.ulid=r=>e.check(RB(Xz,r)),e.base64=r=>e.check($B(iH,r)),e.base64url=r=>e.check(qB(aH,r)),e.xid=r=>e.check(xB(Qz,r)),e.ksuid=r=>e.check(CB(eH,r)),e.ipv4=r=>e.check(AB(tH,r)),e.ipv6=r=>e.check(PB(rH,r)),e.cidrv4=r=>e.check(TB(nH,r)),e.cidrv6=r=>e.check(OB(oH,r)),e.e164=r=>e.check(kB(sH,r)),e.datetime=r=>e.check(xz(r)),e.date=r=>e.check(Az(r)),e.time=r=>e.check(Tz(r)),e.duration=r=>e.check($z(r))});function xe(e){return pB(Vz,e)}const Ve=J("ZodStringFormat",(e,t)=>{He.init(e,t),KP.init(e,t)}),Wz=J("ZodEmail",(e,t)=>{vF.init(e,t),Ve.init(e,t)}),Pw=J("ZodGUID",(e,t)=>{gF.init(e,t),Ve.init(e,t)}),fd=J("ZodUUID",(e,t)=>{bF.init(e,t),Ve.init(e,t)}),Gz=J("ZodURL",(e,t)=>{yF.init(e,t),Ve.init(e,t)}),Kz=J("ZodEmoji",(e,t)=>{wF.init(e,t),Ve.init(e,t)}),Yz=J("ZodNanoID",(e,t)=>{EF.init(e,t),Ve.init(e,t)}),Zz=J("ZodCUID",(e,t)=>{_F.init(e,t),Ve.init(e,t)}),Jz=J("ZodCUID2",(e,t)=>{SF.init(e,t),Ve.init(e,t)}),Xz=J("ZodULID",(e,t)=>{RF.init(e,t),Ve.init(e,t)}),Qz=J("ZodXID",(e,t)=>{xF.init(e,t),Ve.init(e,t)}),eH=J("ZodKSUID",(e,t)=>{CF.init(e,t),Ve.init(e,t)}),tH=J("ZodIPv4",(e,t)=>{$F.init(e,t),Ve.init(e,t)}),rH=J("ZodIPv6",(e,t)=>{qF.init(e,t),Ve.init(e,t)}),nH=J("ZodCIDRv4",(e,t)=>{kF.init(e,t),Ve.init(e,t)}),oH=J("ZodCIDRv6",(e,t)=>{MF.init(e,t),Ve.init(e,t)}),iH=J("ZodBase64",(e,t)=>{NF.init(e,t),Ve.init(e,t)}),aH=J("ZodBase64URL",(e,t)=>{jF.init(e,t),Ve.init(e,t)}),sH=J("ZodE164",(e,t)=>{DF.init(e,t),Ve.init(e,t)}),lH=J("ZodJWT",(e,t)=>{FF.init(e,t),Ve.init(e,t)}),YP=J("ZodNumber",(e,t)=>{vP.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(n,o,i)=>CP(e,n,o),e.gt=(n,o)=>e.check(xw(n,o)),e.gte=(n,o)=>e.check(wm(n,o)),e.min=(n,o)=>e.check(wm(n,o)),e.lt=(n,o)=>e.check(Rw(n,o)),e.lte=(n,o)=>e.check(ym(n,o)),e.max=(n,o)=>e.check(ym(n,o)),e.int=n=>e.check(Tw(n)),e.safe=n=>e.check(Tw(n)),e.positive=n=>e.check(xw(0,n)),e.nonnegative=n=>e.check(wm(0,n)),e.negative=n=>e.check(Rw(0,n)),e.nonpositive=n=>e.check(ym(0,n)),e.multipleOf=(n,o)=>e.check(Cw(n,o)),e.step=(n,o)=>e.check(Cw(n,o)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function ku(e){return LB(YP,e)}const uH=J("ZodNumberFormat",(e,t)=>{BF.init(e,t),YP.init(e,t)});function Tw(e){return FB(uH,e)}const cH=J("ZodBoolean",(e,t)=>{zF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>AP(e,r,n)});function ZP(e){return BB(cH,e)}const dH=J("ZodUnknown",(e,t)=>{HF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>TP()});function Ow(){return zB(dH)}const fH=J("ZodNever",(e,t)=>{UF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>PP(e,r,n)});function pH(e){return HB(fH,e)}const hH=J("ZodArray",(e,t)=>{VF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>MP(e,r,n,o),e.element=t.element,e.min=(r,n)=>e.check($f(r,n)),e.nonempty=r=>e.check($f(1,r)),e.max=(r,n)=>e.check(SP(r,n)),e.length=(r,n)=>e.check(RP(r,n)),e.unwrap=()=>e.element});function vo(e,t){return tz(hH,e,t)}const mH=J("ZodObject",(e,t)=>{GF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>NP(e,r,n,o),ye(e,"shape",()=>t.shape),e.keyof=()=>Ar(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Ow()}),e.loose=()=>e.clone({...e._zod.def,catchall:Ow()}),e.strict=()=>e.clone({...e._zod.def,catchall:pH()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>hL(e,r),e.safeExtend=r=>mL(e,r),e.merge=r=>gL(e,r),e.pick=r=>fL(e,r),e.omit=r=>pL(e,r),e.partial=(...r)=>bL(QP,e,r[0]),e.required=(...r)=>vL(eT,e,r[0])});function yt(e,t){const r={type:"object",shape:e??{},...oe(t)};return new mH(r)}const JP=J("ZodUnion",(e,t)=>{EP.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>IP(e,r,n,o),e.options=t.options});function XP(e,t){return new JP({type:"union",options:e,...oe(t)})}const gH=J("ZodDiscriminatedUnion",(e,t)=>{JP.init(e,t),KF.init(e,t)});function Lve(e,t,r){return new gH({type:"union",options:t,discriminator:e,...oe(r)})}const bH=J("ZodIntersection",(e,t)=>{YF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>jP(e,r,n,o)});function vH(e,t){return new bH({type:"intersection",left:e,right:t})}const yH=J("ZodTuple",(e,t)=>{ZF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>DP(e,r,n,o),e.rest=r=>e.clone({...e._zod.def,rest:r})});function Fve(e,t,r){const n=t instanceof Ie,o=n?r:t,i=n?t:null;return new yH({type:"tuple",items:e,rest:i,...oe(o)})}const wH=J("ZodRecord",(e,t)=>{JF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>LP(e,r,n,o),e.keyType=t.keyType,e.valueType=t.valueType});function ab(e,t,r){return new wH({type:"record",keyType:e,valueType:t,...oe(r)})}const sb=J("ZodEnum",(e,t)=>{XF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(n,o,i)=>OP(e,n,o),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(n,o)=>{const i={};for(const a of n)if(r.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new sb({...t,checks:[],...oe(o),entries:i})},e.exclude=(n,o)=>{const i={...t.entries};for(const a of n)if(r.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new sb({...t,checks:[],...oe(o),entries:i})}});function Ar(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new sb({type:"enum",entries:r,...oe(t)})}const EH=J("ZodLiteral",(e,t)=>{QF.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>$P(e,r,n),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Bve(e,t){return new EH({type:"literal",values:Array.isArray(e)?e:[e],...oe(t)})}const _H=J("ZodTransform",(e,t)=>{eB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>kP(e,r),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new rP(e.constructor.name);r.addIssue=i=>{if(typeof i=="string")r.issues.push(Xu(i,r.value,t));else{const a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=e),r.issues.push(Xu(a))}};const o=t.transform(r.value,r);return o instanceof Promise?o.then(i=>(r.value=i,r)):(r.value=o,r)}});function SH(e){return new _H({type:"transform",transform:e})}const QP=J("ZodOptional",(e,t)=>{_P.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Fy(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function $w(e){return new QP({type:"optional",innerType:e})}const RH=J("ZodExactOptional",(e,t)=>{tB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>Fy(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function xH(e){return new RH({type:"optional",innerType:e})}const CH=J("ZodNullable",(e,t)=>{rB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>FP(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function qw(e){return new CH({type:"nullable",innerType:e})}const AH=J("ZodDefault",(e,t)=>{nB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>zP(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function PH(e,t){return new AH({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():aP(t)}})}const TH=J("ZodPrefault",(e,t)=>{oB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>HP(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function OH(e,t){return new TH({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():aP(t)}})}const eT=J("ZodNonOptional",(e,t)=>{iB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>BP(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function $H(e,t){return new eT({type:"nonoptional",innerType:e,...oe(t)})}const qH=J("ZodCatch",(e,t)=>{aB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>UP(e,r,n,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function kH(e,t){return new qH({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const MH=J("ZodPipe",(e,t)=>{sB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>VP(e,r,n,o),e.in=t.in,e.out=t.out});function kw(e,t){return new MH({type:"pipe",in:e,out:t})}const NH=J("ZodReadonly",(e,t)=>{lB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>WP(e,r,n,o),e.unwrap=()=>e._zod.def.innerType});function IH(e){return new NH({type:"readonly",innerType:e})}const jH=J("ZodLazy",(e,t)=>{uB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>GP(e,r,n,o),e.unwrap=()=>e._zod.def.getter()});function zve(e){return new jH({type:"lazy",getter:e})}const By=J("ZodCustom",(e,t)=>{cB.init(e,t),Fe.init(e,t),e._zod.processJSONSchema=(r,n,o)=>qP(e,r)});function Hve(e,t){return rz(By,e??(()=>!0),t)}function DH(e,t={}){return nz(By,e,t)}function LH(e){return oz(e)}function Uve(e,t={}){const r=new By({type:"custom",check:"custom",fn:n=>n instanceof e,abort:!0,...oe(t)});return r._zod.bag.Class=e,r._zod.check=n=>{n.value instanceof e||n.issues.push({code:"invalid_type",expected:e.name,input:n.value,inst:r,path:[...r._zod.def.path??[]]})},r}const Mw={custom:"custom"},Uo=Ar(["shown","hidden"]),FH=yt({workspaceTabs:Uo.optional().describe("The workspace tab strip in the top bar; hidden unless a style shows it."),header:Uo.optional().describe("The top header bar."),shelf:Uo.optional().describe("The utility shelf."),inspector:Ar(["column","properties","card"]).optional().describe("Inspector presentation: a narrow docked column, properties panel or card."),drawer:Uo.optional().describe("The bottom drawer."),hierarchyTypeSuffix:Uo.optional().describe("The `·TypeName` a component-instance row prints after its name in the hierarchy. Hidden leaves the row its name alone; the type stays reachable through the row's own tooltip and the inspector."),hierarchyInstanceRule:Uo.optional().describe("The dotted rule a component-instance row draws under its name in the hierarchy. Hidden leaves the name unmarked; the fact stays reachable through the row's own tooltip, its source actions and the inspector."),hierarchyRestrictions:Ar(["select+viewport","viewport+render"]).optional().describe("Which restriction columns a hierarchy row carries at its right edge: the selection lock beside the eye, or the eye in its own column with the render column reserved and blank, the viewport having one visibility flag for viewport and render alike.")}).strict().describe("Which chrome regions a style bundle shows or hides."),BH=yt({$schema:xe().optional().describe("JSON Schema pointer for editor autocomplete; ignored by the editor."),style:xe().optional().describe("Editor style id (`classic`, `glass`, or one a package carries): its material, icon set and type. Choosing one also applies the colour theme it was drawn with."),appearance:yt({regions:FH.optional()}).strict().optional().describe("How the editor chrome looks."),keymap:xe().optional().describe("Active keymap preset id (`volter`, or a contributed preset)."),play:yt({keepPanelsVisible:ZP().optional().describe("Keep editor panels visible when starting Play, instead of letting an immersive workspace hide them. Turning this on during Play restores the panels; turning it off applies on the next Play.")}).strict().optional().describe("How the editor presents Play mode.")}).strict().describe("Editor settings — the user layer and the project layer share this shape.");function Nw(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Qu(e,t){const r={...e},n=t;for(const o of Object.keys(n)){const i=n[o],a=r[o];r[o]=Nw(a)&&Nw(i)?Qu(a,i):i}return r}const zH="volter";function tT(e,t,r){if(e.properties){for(const[n,o]of Object.entries(e.properties))tT(o,[...t,n],r);return}t.length===1&&t[0]==="$schema"||r.push({key:[zH,...t].join("."),path:t,type:typeof e.type=="string"?e.type:void 0,values:e.enum,description:e.description??""})}let Em=null,rT=null;function zy(){if(!Em){const e=[];tT(Sz(BH,{io:"input"}),[],e),Em=e,rT=new Map(e.map(t=>[t.key,t]))}return Em}function nT(e){return zy(),rT?.get(e)??null}function oT(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function HH(e,t){const r=nT(t);if(!r)return;let n=e;for(const o of r.path){if(!oT(n))return;n=n[o]}return n}function ti(e){const t={};for(const[r,n]of e){if(n===void 0)continue;const o=nT(r);if(!o)continue;let i=t;for(const s of o.path.slice(0,-1)){const u=i[s];oT(u)||(i[s]={}),i=i[s]}const a=o.path[o.path.length-1];a!==void 0&&(i[a]=n)}return t}function Pc(e){const t=new Map;for(const r of zy()){const n=HH(e,r.key);n!==void 0&&t.set(r.key,n)}return t}let iT={},lb=null;const UH=Object.freeze({}),ub=new Set;function aT(){return lb!==null&&lb===Ay()?iT:UH}function Vve(e={}){lb=Ay(),iT=e;for(const t of ub)t()}function VH(e){return ub.add(e),()=>{ub.delete(e)}}function WH(e,t){return`${e}: this origin answered with its page fallback (${t||"no content-type"}) rather than JSON, so no editor server handled the request.`}function Ri(e,t){const r=e.headers.get("content-type")??"";if(!r.includes("application/json"))throw new Error(WH(t,r))}function Hp(e,t){if(!e.ok)throw new Error(`${t} (${e.status}).`);Ri(e,t)}async function No(e,t){return Hp(e,t),await e.json()}const Pr="/__editor";async function sT(e){const t=await fetch(`${Pr}/settings/${e}`);return No(t,`Could not read ${e} settings`)}async function lT(e,t){const r=JSON.stringify(t,null,2),n=await fetch(`${Pr}/settings/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:r});if(n.status===409){const o=await n.json().catch(()=>null);throw new Error(typeof o?.error=="string"?o.error:`Could not save ${e} settings (409).`)}Hp(n,`Could not save ${e} settings`)}let pu=null;const cb=new Set;let _m=null;function Tc(){return pu}function Wve(e){pu!==e&&(_m?.(),_m=null,pu=e,pu&&(_m=pu.subscribe(()=>Iw())),Iw())}function Iw(){for(const e of cb)e()}function GH(e){return cb.add(e),()=>cb.delete(e)}let Zt={},Ft={},db={},ec={},jw=!1,Sm=null,Rm=null,pa=null;const fb=new Set;function KH(){return Ay()}function Hy(){const e=aT(),t=e.style,r={};return t&&(r.style=t.id),e.keymap&&(r.keymap=e.keymap.id),r}function Gve(){return aT().style?.colorTheme}function uT(){return Tc()?db:Hy()}function Kve(){return Pc(Hy())}function Vn(){const e=Tc();if(e){const t=[],r=[],n=[],o=[];for(const{key:i}of zy()){const a=e.inspect(i);t.push([i,a.user]),r.push([i,a.adapter]),n.push([i,a.project]),o.push([i,a.effective])}Zt=ti(t),db=ti(r),Ft=ti(n),ec=ti(o)}else db={},ec=Qu(Qu(Zt,Hy()),Ft);for(const t of fb)t()}function cT(e,t,r){r.length!==0&&Te.error(`${e} settings ${t??""} is invalid — ${r.join("; ")}. This session runs on defaults for that layer, and the editor will not write the file until it is fixed.`,"settings")}function YH(){return jw?Promise.resolve():(Rm??=sT("user").then(e=>{Zt=e.settings,cT("user",e.path,e.issues)}).catch(()=>{Zt={}}).finally(()=>{jw=!0,Rm=null}),Rm)}function Uy(){const e=KH();return Sm===e?Promise.resolve():pa?pa.then(()=>Uy()):Cc()?(pa=sT("project").then(t=>{Ft=t.settings,cT("project",t.path,t.issues)}).catch(()=>{Ft={}}).finally(()=>{Sm=e,pa=null}),pa):(Ft={},Sm=e,Promise.resolve())}function Yve(){return Promise.all([YH(),Uy()]).then(Vn)}function Zve(){return ec}function ZH(){return Zt}function JH(){return Ft}function XH(e){const t=Tc();if(t)return t.inspect(e);const r=n=>Pc(n).get(e);return{default:void 0,user:r(Zt),adapter:r(uT()),project:r(Ft),effective:r(ec)}}function Jve(e){const t=Tc();return t?t.get(e):Pc(ec).get(e)}function QH(e){if(!Cc())return"user";const t=XH(e);return t.adapter!==void 0||t.project!==void 0?"project":"user"}function Vy(e,t){const r=[],n=[];for(const i of e)((t??QH(i[0]))==="project"?n:r).push(i);const o=Tc();return o?Promise.allSettled([...r.map(([i,a])=>o.set(i,a,"user")),...n.map(([i,a])=>o.set(i,a,"project"))]).then(()=>{}):(r.length>0&&eU(ti(r)),n.length>0&&nU(ti(n)),Promise.resolve())}function Xve(e,t,r){Vy([[e,t]],r)}function eU(e){const t=Zt;Zt=Qu(Zt,e),Vn();const r=Zt;lT("user",r).catch(n=>{Zt===r&&(Zt=t,Vn()),Te.error(`Could not save user settings, so the change is undone: ${n.message}`,"settings")})}function tU(e){return Vy(Pc(e))}function rU(e){Cc()&&Vy(Pc(e),"project")}function nU(e){if(!Cc())return;const t=Ft;Ft=Qu(Ft,e),Vn();const r=Ft;lT("project",r).catch(n=>{Ft===r&&(Ft=t,Vn()),Te.error(`Could not save project settings, so the change is undone: ${n.message}`,"settings")})}function oU(e){return fb.add(e),()=>fb.delete(e)}k7(()=>{Uy().then(Vn)});VH(Vn);GH(Vn);const Up=Object.freeze([{id:"volter",title:"volter",description:"The editor's own bindings: W/E/R gizmo modes, Ctrl+A select all, F frames."}]),mo=new Map;let pb=0;function Qve(){return[...Up,...[...mo.values()].map(e=>e.descriptor)]}function eye(){return pb}function tye(e){if(Up.some(r=>r.id===e.id)||mo.has(e.id))throw new Error(`registerContributedKeymap: keymap "${e.id}" is already registered.`);const t={descriptor:{id:e.id,title:e.title,description:e.description},navigation:e.navigation??null};return mo.set(e.id,t),pb++,Ao=null,xi(),()=>{mo.get(e.id)===t&&(mo.delete(e.id),pb++,Ao=null,xi())}}function dT(e){return typeof e=="string"&&(Up.some(t=>t.id===e)||mo.has(e))}const iU=Object.freeze({"viewport.vertexSnapHold":[{key:"v"}]});function aU(e){return iU[e]??[]}const hb="volter";let Ao=null,Dw=!1;const mb=new Set;function xi(){for(const e of mb)e()}function fT(e){return typeof e=="string"&&Up.some(t=>t.id===e)}function pT(){return JH().keymap??uT().keymap}function hT(){const e=pT();if(dT(e))return e;const t=ZH().keymap;return fT(t)?t:hb}const Lw=new Set;function rye(){const e=pT();typeof e!="string"||e===hb||dT(e)||Lw.has(e)||(Lw.add(e),Te.warn(`Keymap "${e}" is not available in this project: no declared package contributes it (a package ships one as a \`workspace.keymap\` contribution). Using "${hb}".`,"editor"))}function sU(){Dw||(Dw=!0,oU(()=>{const e=hT();e!==Ao&&(Ao=e,xi())}))}function Ci(){return sU(),Ao??=hT(),Ao}function nye(e){Ci()!==e&&(Ao=e,fT(e)?tU({keymap:e}):rU({keymap:e}),xi())}function mT(e){return mb.add(e),()=>mb.delete(e)}function oye(){return mo.get(Ci())?.navigation??{orbit:"right"}}function Fw(){return typeof navigator<"u"&&navigator.platform.includes("Mac")}const lU={delete:"Del",backspace:"Backspace",escape:"Esc",enter:"Enter",pagedown:"PgDn",pageup:"PgUp",arrowup:"↑",arrowdown:"↓",arrowleft:"←",arrowright:"→"," ":"Space",tab:"Tab"},uU={Numpad0:"Num0",Numpad1:"Num1",Numpad2:"Num2",Numpad3:"Num3",Numpad4:"Num4",Numpad5:"Num5",Numpad6:"Num6",Numpad7:"Num7",Numpad8:"Num8",Numpad9:"Num9",NumpadDecimal:"Num.",PageDown:"PgDn",PageUp:"PgUp",End:"End",KeyG:"G",KeyH:"H",KeyJ:"J",KeyK:"K"};function cU(e){return e.code?uU[e.code]??e.code:lU[e.key]??(e.key.length===1?e.key.toUpperCase():e.key)}function dU(e){const t=cU(e);if(e.mod){const n=Fw()?"⌘":"Ctrl+";return`${e.ctrl&&Fw()?"⌃":""}${n}${e.alt?"⌥":""}${e.shift?"⇧":""}${t}`}const r=[];return e.ctrl&&r.push("Ctrl"),e.alt&&r.push("Alt"),e.shift&&r.push("Shift"),r.push(t),r.join("+")}let gT=null,Bw=null;function iye(e){Bw?.(),gT=e,Bw=e.subscribe(xi),xi()}function mi(e){const t=aU(e)[0];return t?dU(t):gT?.label(e)}const bT=Symbol.for("volter.editor.activateByEvent");function aye(e){globalThis[bT]=e}function Vp(e){return globalThis[bT]?.(e)??Promise.resolve()}const Zr=new Map;function sye(e){const r=(Zr.get(e.id)??[]).filter(n=>n.owner!==e.owner);return r.push(e),Zr.set(e.id,r),()=>{const n=Zr.get(e.id);if(!n)return;const o=n.filter(i=>i!==e);o.length===0?Zr.delete(e.id):Zr.set(e.id,o)}}function lye(){return[...Zr.keys()].sort()}function uye(e,t){const r=Zr.get(e)??[];r.length===0&&Vp(`onDocument:${e}`);for(const n of r){const o=n.open(t);if(o!==null)return o}return null}async function cye(e,t){Zr.get(e)?.length||await Vp(`onDocument:${e}`);const r=Zr.get(e)??[],n=zw(r,t);if(n)return Hw(n,t);if(r.length===0)return null;const o=new Set;for(const a of r)a.settle&&o.add(a.settle);for(const a of o)await a(t);if(o.size===0)return null;const i=zw(r,t);return i===null?null:Hw(i,t)}function zw(e,t){for(const r of e){const n=r.open(t);if(n!==null)return{opener:r,documentId:n}}return null}async function Hw(e,t){return await e.opener.ready?.(e.documentId,t),e.documentId}const co=new Map;function dye(e){const r=(co.get(e.kind)??[]).filter(n=>n.owner!==e.owner);return r.push(e),co.set(e.kind,r),()=>{const n=co.get(e.kind);if(!n)return;const o=n.filter(i=>i!==e);o.length===0?co.delete(e.kind):co.set(e.kind,o)}}function fye(e){return co.get(e)??[]}function pye(){const e=[];for(const t of co.values())e.push(...t);return e}const ri=new Map,gb=new Set;function Uw(){for(const e of gb)e()}function hye(e){for(const t of e.images)if(ri.has(t.id))throw new Error(`registerEnvironmentImages: "${t.id}" is already registered.`);for(const t of e.images)ri.set(t.id,t);return Uw(),()=>{for(const t of e.images)ri.get(t.id)===t&&ri.delete(t.id);Uw()}}function mye(e){return ri.get(e)??null}function gye(){return[...ri.values()]}function bye(e){return gb.add(e),()=>{gb.delete(e)}}const Vw={core:0,project:1};let so=[],fU=0,vT=0;const bb=new Set;function Ww(){vT++;for(const e of bb)e()}function vye(e){return bb.add(e),()=>{bb.delete(e)}}function yye(){return vT}function wye(e){if(so.some(r=>r.registration.id===e.id))throw new Error(`registerWorkspaceUtility: id "${e.id}" is already registered — utility ids key drawer tabs and persisted layout, so they must be unique; unregister the previous contribution first.`);const t={registration:e,seq:fU++};return so=[...so,t],Ww(),()=>{so.includes(t)&&(so=so.filter(r=>r!==t),Ww())}}function Gw(e){return e.section??"core"}function pU(){return[...so].sort((e,t)=>Vw[Gw(e.registration)]-Vw[Gw(t.registration)]||(e.registration.order??0)-(t.registration.order??0)||e.seq-t.seq).map(e=>e.registration)}function hU(){return pU().filter(e=>{if(!e.available)return!0;try{return e.available()}catch{return!1}})}function Eye(){return hU().map(e=>e.id).join(`
634
- `)}let vb=null;function _ye(e){vb=e}function Sye(){return vb?(vb(),!0):!1}let Wy=[];const yb=new Set;function Rye(e){Wy=e;for(const t of yb)t()}function xye(){return Wy}function Cye(e){return yb.add(e),()=>yb.delete(e)}function Aye(e){const t=Wy.find(r=>r.id===e);return t?(t.run(),!0):!1}let If=null;const yT=[];function Pye(e){if(If=e,e)for(const t of yT.splice(0))t(e)}function Tye(e){If&&Promise.resolve(If(`${e}.focus`)).catch(()=>{})}const wT=Symbol.for("volter.editor.heldCommands");function Oye(e){globalThis[wT]=e}const ET=Symbol.for("volter.editor.knownCommands");function $ye(e){globalThis[ET]=e}function mU(e){const t=n=>n.toLowerCase().split(/[.\-_:]+/).filter(o=>o!==""&&o!=="volter"),r=new Set(t(e));return[...globalThis[ET]?.()??[]].map(n=>{const o=t(n);return{known:n,shared:new Set(o.filter(i=>r.has(i))).size,verb:r.has(o.at(-1)??"")?1:0}}).filter(({shared:n})=>n>0).sort((n,o)=>o.shared-n.shared||o.verb-n.verb||n.known.length-o.known.length).slice(0,6).map(({known:n})=>n)}async function qye(e,t){const r=globalThis[wT]?.(e);if(r)return await r(t);const n=If??await new Promise(o=>yT.push(o));try{return await n(e,t)}catch(o){const i=o instanceof Error?o.message:String(o),a=e.startsWith("volter.")&&i===`command '${e}' not found`?mU(e):[];throw a.length===0?o:new Error(`${i}. The packages' commands nearest it: ${a.join(", ")}.`,{cause:o})}}const gU=new Set(["product","serving","viewRoutes","projectAdapters"]);function Or(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function _T(e){return Array.isArray(e)?e.filter(t=>typeof t=="string"):[]}function bU(e){return(e.split(/[\\/]/).pop()??e).replace(/\.[jt]sx?$/,"")}function vU(e){const t=Or(e);if(t===null)return"an entry is not an object";const{viewType:r,displayName:n,document:o,selector:i,priority:a,kind:s,views:u,assetRoute:l}=t;if(o!==void 0&&typeof o!="string")return"a document is a ./-relative module";if(s!==void 0&&(typeof s!="string"||s===""))return"a kind is a non-empty string";if(u!==void 0&&(s===void 0||!Array.isArray(u)||u.some(f=>typeof f!="string")))return"views are a kind's list of view document ids";if(l!==void 0&&(typeof l!="string"||l===""))return"an assetRoute is a non-empty string";if(o===void 0&&s===void 0&&l===void 0)return"an entry names a document, a kind or an assetRoute";const c={...o===void 0?{}:{document:o},...s===void 0?{}:{kind:s},...u===void 0?{}:{views:u},...l===void 0?{}:{assetRoute:l}};if(r===void 0&&n===void 0&&i===void 0&&a===void 0)return c;if(typeof r!="string"||typeof n!="string"||typeof o!="string")return"a file editor needs a viewType, a displayName and a document module";const d=Array.isArray(i)?i.map(f=>Or(f)?.filenamePattern):[];return d.length===0||d.some(f=>typeof f!="string")?`${r}'s selector must list its { filenamePattern }s`:a!==void 0&&a!=="default"&&a!=="option"?`${r}'s priority is 'default' or 'option'`:{...c,declaration:{viewType:r,displayName:n,filenamePatterns:d,priority:a??"default"}}}function yU(e){if(typeof e=="string")return{module:e};const{module:t,sourceAnalyzer:r,designTimeMount:n}=Or(e)??{};return typeof t!="string"||[r,n].some(o=>o!==void 0&&(typeof o!="string"||o===""))?"an entry is a ./-relative module, or { module, sourceAnalyzer?, designTimeMount? }":{module:t,...typeof r=="string"?{sourceAnalyzer:r}:{},...typeof n=="string"?{designTimeMount:n}:{}}}function wU(e){const{name:t,module:r}=Or(e)??{};return typeof t!="string"||t===""||typeof r!="string"?"an entry is { name, module }, each a non-empty string":{name:t,module:r}}function EU(e){const{id:t,title:r,module:n}=Or(e)??{};return typeof t!="string"||t===""||typeof r!="string"||r.trim()===""||typeof n!="string"?"an entry is { id, title, module }, each a non-empty string":{declaration:{id:t,title:r.trim()},module:n}}function _U(e){const t=[],r=[],n=[],o=[],i=[],a=Or(e);if(a===null)return{entries:t,editors:r,utilities:n,events:o,errors:["`contributes.volter` must be an object of kinds, each a list of ./-relative modules."]};const s=[];for(const[u,l]of Object.entries(a)){if(u==="page"||gU.has(u))continue;if(u==="activationEvents"){!Array.isArray(l)||l.some(d=>typeof d!="string")?i.push("`contributes.volter.activationEvents` must be a list of activation events."):o.push(...l);continue}if(u!=="views"){s.push([u,l]);continue}const c=Or(l);if(c===null){i.push("`contributes.volter.views` must be an object of containers: `panel`, `statusbar`.");continue}for(const[d,f]of Object.entries(c))s.push([`views.${d}`,f])}for(const[u,l]of s){if(!Array.isArray(l)){i.push(`\`contributes.volter.${u}\` must be a list.`);continue}for(const c of l){const d=f=>{i.push(`\`contributes.volter.${u}\`: ${f}.`)};if(u==="views.panel"){const f=EU(c);if(typeof f=="string"){d(f);continue}n.push(f.declaration),t.push({key:u,entry:f.module,declared:f.declaration}),o.push(`onView:${f.declaration.id}`)}else if(u==="finders"){const f=wU(c);if(typeof f=="string"){d(f);continue}t.push({key:u,entry:f.module,finder:f.name}),o.push(`onFinder:${f.name}`)}else if(u==="services"){const f=yU(c);if(typeof f=="string"){d(f);continue}t.push({key:u,entry:f.module}),f.sourceAnalyzer!==void 0&&o.push(`onSourceAnalysis:${f.sourceAnalyzer}`),f.designTimeMount!==void 0&&o.push(`onDesignTimeMount:${f.designTimeMount}`)}else if(u==="editors"){const f=vU(c);if(typeof f=="string"){d(f);continue}f.declaration&&(r.push(f.declaration),o.push(`onCustomEditor:${f.declaration.viewType}`)),f.document!==void 0&&(t.push({key:u,entry:f.document}),o.push(`onDocument:${bU(f.document)}`)),f.kind!==void 0&&o.push(`onDocument:${f.kind}`);for(const p of f.views??[])o.push(`onDocument:${p}`);f.assetRoute!==void 0&&o.push(`onAssetViewer:${f.assetRoute}`)}else typeof c!="string"?d(`${JSON.stringify(c)} is not a ./-relative module`):t.push({key:u,entry:c})}}return{entries:t,editors:r,utilities:n,events:o,errors:i}}function ST(e,t){return Or(e.contributes)?.[t]}function RT(e){const t=ST(e,"commands");return(Array.isArray(t)?t:[]).flatMap(r=>{const n=Or(r)?.command;return typeof n=="string"?[n]:[]})}function kye(e){return[..._T(e.activationEvents),...RT(e).map(t=>`onCommand:${t}`),..._U(ST(e,"volter")??{}).events]}function Mye(e){const t=e.main!==void 0||e.browser!==void 0,r=new Set(t?_T(e.activationEvents):[]);return RT(e).filter(n=>!r.has(`onCommand:${n}`))}function Nye(e,t){if(t===void 0)return{entry:null};const r=Array.isArray(t)?t:null;return r===null||r.length>1||r.length===1&&(typeof r[0]!="string"||!r[0].startsWith("./")||r[0].includes(".."))?{malformed:`${e}'s package.json#contributes.volter.page is ${JSON.stringify(t)}: it lists one page entry, a ./-relative module without parent traversal that exports activate(context).`}:{entry:r[0]??null}}function Iye(e,t){const r=Or(e)?.[t];if(r!==void 0)return Array.isArray(r)&&r.length===1?r[0]:null}let dn=null;function SU(e){dn={command:e.command,displayName:e.displayName,upgrade:e.upgrade===!0}}function jye(){return dn}function Dye(){return dn?.command??null}function Lye(e){return dn?`\`${dn.command} ${e}\``:`the editor's \`${e}\` command`}function RU(){return(typeof navigator<"u"?navigator.platform.startsWith("Win"):globalThis.process?.platform==="win32")?"npx.cmd":"npx"}function xU(e){return dn?`${RU()} --no-install ${dn.command} ${e}`:null}function Fye(e){return dn?e.map(t=>xU(t)).join(`
635
- `):`the editor's ${e.map(t=>`\`${t}\``).join(", then ")}`}function Bye(){return dn?.displayName??"the editor"}let xm=null;function zye(){return xm??=fetch("/__editor/project").then(e=>e.json()).then(e=>{const t=e.product;t&&typeof t.command=="string"&&typeof t.displayName=="string"&&SU({command:t.command,displayName:t.displayName,upgrade:t.upgrade===!0})}).catch(()=>{xm=null}),xm}const CU=3e3;let wb=null,pd=null,AU=1;const Eb=new Set;function Kw(){for(const e of Eb)e()}function PU(e){wb={id:AU++,message:e},pd&&clearTimeout(pd),pd=setTimeout(()=>{wb=null,pd=null,Kw()},CU),Kw()}const TU=e=>(Eb.add(e),()=>{Eb.delete(e)}),Yw=()=>wb,OU={"source-prop":!0,"source-structure":!0,"construction-literal":!0,"physics-binding":!0,"data-record":!0,"live-only":!0},Hye=Object.keys(OU),$U={provenance:!0,selection:!0,transforms:!0,inspector:!0,related:!0,instances:!0,structure:!0,persistence:!0,pickable:!0,rects:!0,boxEdit:!0,text:!0,colorSample:!0,stories:!0,truth:!0,spatialHandles:!0,assetDrop:!0,subscribe:!0},qU=Object.keys($U),jf={claim:0,shape:1,operation:2,effect:3,"round-trip":4};function kU(e,t){return jf[e]>=jf[t]}function Zw(e){const{seam:t,subject:r,epoch:n,required:o}=e;if(e.notApplicable!==void 0)return{seam:t,subject:r,epoch:n,required:o,state:"not-applicable",receipt:null,detail:e.notApplicable};let i=null;for(const a of e.receipts)a.seam!==t||a.subject!==r||a.epoch!==n||(!i||jf[a.stage]>=jf[i.stage])&&(i=a);return i?i.outcome==="fail"?{seam:t,subject:r,epoch:n,required:o,state:"failed",receipt:i,detail:i.detail}:i.outcome==="absent"?{seam:t,subject:r,epoch:n,required:o,state:"absent",receipt:i,detail:i.detail}:kU(i.stage,o)?{seam:t,subject:r,epoch:n,required:o,state:"verified",receipt:i,detail:i.detail}:{seam:t,subject:r,epoch:n,required:o,state:"unverified",receipt:i,detail:`${i.detail}; this proves ${i.stage}, but this seam requires ${o}`}:{seam:t,subject:r,epoch:n,required:o,state:"unverified",receipt:null,detail:`no current-epoch evidence has reached the required ${o} stage`}}class MU{#e=[];record(t){if(!t.seam||!t.subject||!t.epoch||!t.detail.trim())throw new Error("seam evidence requires non-empty seam, subject, epoch, and detail");this.#e.push(t)}receipts(t){return this.#e.filter(r=>(t?.subject===void 0||r.subject===t.subject)&&(t?.epoch===void 0||r.epoch===t.epoch))}clear(){this.#e.length=0}}function dt(){return e=>e}function NU(e){if(e.value===void 0)return{seam:e.seam,subject:e.subject,epoch:e.epoch,stage:"shape",outcome:e.optional?"absent":"fail",source:"shape-check",detail:e.optional?`${e.seam} is not exposed by this subject`:`${e.seam} is required by the contract but is absent`};const t=typeof e.value,r=e.kind==="function"?t==="function":t!=="function";return{seam:e.seam,subject:e.subject,epoch:e.epoch,stage:"shape",outcome:r?"pass":"fail",source:"shape-check",detail:r?`${e.seam} has the contract's ${e.kind} shape`:`${e.seam} is ${t}; the contract requires a ${e.kind}`}}function Cm(e){const t=[],r=e.value!==null&&(typeof e.value=="object"||typeof e.value=="function")?e.value:null,n=Object.entries(e.shape);for(const[o,i]of n){const a=`${e.prefix}.${o}`,s=r?.[o];t.push(NU({seam:a,subject:e.subject,epoch:e.epoch,value:s,optional:i.optional,kind:i.kind}))}return t}function Jw(e){const t=Zw(e);if(t.state==="absent"||t.state==="failed"||!e.shape)return t;for(const[r,n]of Object.entries(e.shape)){const o=Zw({seam:`${e.seam}.${r}`,subject:e.subject,epoch:e.epoch,required:n.required,receipts:e.receipts});if(!(n.optional&&o.state==="absent")){if(o.state==="failed"||o.state==="absent")return{...t,state:"failed",receipt:o.receipt,detail:`${e.seam} is malformed: ${o.detail}`};if(o.state!=="verified")return{...t,state:"unverified",detail:`${e.seam} has the required shape, but ${o.seam} is unverified: ${o.detail}`}}}return t}const Am=dt()({capabilities:{optional:!1,kind:"value",required:"shape"},provenance:{optional:!0,kind:"value",required:"shape"},hierarchy:{optional:!1,kind:"value",required:"operation"},selection:{optional:!0,kind:"value",required:"effect"},transforms:{optional:!0,kind:"value",required:"effect"},inspector:{optional:!0,kind:"value",required:"effect"},related:{optional:!0,kind:"value",required:"operation"},instances:{optional:!0,kind:"value",required:"effect"},structure:{optional:!0,kind:"value",required:"round-trip"},persistence:{optional:!0,kind:"value",required:"round-trip"},pickable:{optional:!0,kind:"value",required:"operation"},rects:{optional:!0,kind:"value",required:"operation"},boxEdit:{optional:!0,kind:"value",required:"effect"},text:{optional:!0,kind:"value",required:"effect"},colorSample:{optional:!0,kind:"value",required:"operation"},stories:{optional:!0,kind:"value",required:"effect"},truth:{optional:!0,kind:"value",required:"operation"},spatialHandles:{optional:!0,kind:"value",required:"effect"},assetDrop:{optional:!0,kind:"value",required:"round-trip"},subscribe:{optional:!0,kind:"function",required:"effect"}}),Xw=dt()({roots:{optional:!1,kind:"function",required:"operation"},node:{optional:!1,kind:"function",required:"operation"},crossSurfaceStructureSignature:{optional:!0,kind:"function",required:"operation"},nativeObject:{optional:!0,kind:"function",required:"operation"},idForNativeObject:{optional:!0,kind:"function",required:"operation"}}),IU=dt()({get:{optional:!1,kind:"function",required:"operation"},set:{optional:!1,kind:"function",required:"effect"},resolve:{optional:!0,kind:"function",required:"operation"}}),jU=dt()({dimensions:{optional:!0,kind:"function",required:"operation"},get:{optional:!1,kind:"function",required:"operation"},editability:{optional:!0,kind:"function",required:"operation"},beginEdit:{optional:!1,kind:"function",required:"effect"},apply:{optional:!1,kind:"function",required:"effect"},endEdit:{optional:!1,kind:"function",required:"effect"},remove:{optional:!0,kind:"function",required:"round-trip"},sourceCommit:{optional:!0,kind:"value",required:"round-trip"}}),DU=dt()({properties:{optional:!1,kind:"function",required:"operation"},get:{optional:!1,kind:"function",required:"operation"},set:{optional:!1,kind:"function",required:"effect"},preview:{optional:!0,kind:"function",required:"effect"},editability:{optional:!0,kind:"function",required:"operation"},remove:{optional:!0,kind:"function",required:"round-trip"}}),LU=dt()({links:{optional:!1,kind:"function",required:"operation"}}),FU=dt()({describe:{optional:!1,kind:"function",required:"operation"},openComponent:{optional:!0,kind:"function",required:"effect"},revert:{optional:!1,kind:"function",required:"round-trip"},applyToComponent:{optional:!1,kind:"function",required:"round-trip"}}),BU=dt()({create:{optional:!1,kind:"function",required:"round-trip"},remove:{optional:!1,kind:"function",required:"round-trip"},duplicate:{optional:!1,kind:"function",required:"round-trip"},duplicateMany:{optional:!0,kind:"function",required:"round-trip"},reparent:{optional:!1,kind:"function",required:"round-trip"},reorder:{optional:!0,kind:"function",required:"round-trip"},creatableKinds:{optional:!0,kind:"function",required:"operation"},wrap:{optional:!0,kind:"function",required:"round-trip"},unwrap:{optional:!0,kind:"function",required:"round-trip"},group:{optional:!0,kind:"function",required:"round-trip"},ungroup:{optional:!0,kind:"function",required:"round-trip"},canUngroup:{optional:!0,kind:"function",required:"operation"},removeMany:{optional:!0,kind:"function",required:"round-trip"},copy:{optional:!0,kind:"function",required:"effect"},canCopy:{optional:!0,kind:"function",required:"operation"},cut:{optional:!0,kind:"function",required:"round-trip"},paste:{optional:!0,kind:"function",required:"round-trip"},canPaste:{optional:!0,kind:"function",required:"operation"}}),zU=dt()({isDirty:{optional:!1,kind:"function",required:"operation"},lastError:{optional:!0,kind:"function",required:"operation"},save:{optional:!1,kind:"function",required:"round-trip"},destination:{optional:!1,kind:"value",required:"shape"},applyExternal:{optional:!0,kind:"function",required:"effect"}}),HU=dt()({pick:{optional:!1,kind:"function",required:"operation"},candidates:{optional:!0,kind:"function",required:"operation"}}),UU=dt()({storiesFor:{optional:!1,kind:"function",required:"operation"},active:{optional:!1,kind:"function",required:"operation"},apply:{optional:!1,kind:"function",required:"effect"},unavailable:{optional:!0,kind:"function",required:"operation"}}),VU=dt()({accepts:{optional:!1,kind:"function",required:"operation"},drop:{optional:!1,kind:"function",required:"round-trip"}}),WU=dt()({rect:{optional:!1,kind:"function",required:"operation"},contextRects:{optional:!0,kind:"function",required:"operation"},emptyContainers:{optional:!0,kind:"function",required:"operation"},frame:{optional:!0,kind:"function",required:"operation"}}),GU=dt()({begin:{optional:!1,kind:"function",required:"effect"},apply:{optional:!1,kind:"function",required:"effect"},end:{optional:!1,kind:"function",required:"effect"},gizmoOrigin:{optional:!0,kind:"function",required:"operation"},referencePoint:{optional:!0,kind:"function",required:"operation"}}),KU=dt()({get:{optional:!1,kind:"function",required:"operation"},set:{optional:!1,kind:"function",required:"effect"}}),YU=dt()({backgroundChainAt:{optional:!1,kind:"function",required:"operation"}}),ZU=dt()({resolve:{optional:!1,kind:"function",required:"operation"}}),JU=dt()({layers:{optional:!1,kind:"function",required:"operation"},preview:{optional:!1,kind:"function",required:"effect"},commit:{optional:!1,kind:"function",required:"round-trip"}}),Qw={selection:IU,transforms:jU,inspector:DU,related:LU,instances:FU,structure:BU,persistence:zU,pickable:HU,rects:WU,boxEdit:GU,text:KU,colorSample:YU,stories:UU,truth:ZU,spatialHandles:JU,assetDrop:VU},xT=new MU;function XU(e){xT.record(e)}const eE=new WeakMap;let QU=1;function CT(e){const t=e,r=eE.get(t);if(r)return r;const n=`authoring-${QU++}`;return eE.set(t,n),n}function _b(e){const t=CT(e.adapter),r=(i,a)=>XU({seam:i,subject:"authoring-adapter",epoch:t,stage:e.stage,outcome:e.outcome,source:"consumer",detail:a});r(e.seam,e.detail);const n=e.seam.split(".");if(n.length<3)return;const o=n.slice(0,-1).join(".");r(o,e.outcome==="pass"?`${o} served a real consumer ${e.stage}`:`${o} failed through its consumer: ${e.detail}`)}function eV(e){if(!e||typeof e!="object")return null;const t=e;return typeof t.destination=="string"&&typeof t.persisted=="boolean"?t:null}function zt(e){const t=(r,n)=>{_b({...e,outcome:r,detail:n})};try{const r=e.run();return r&&typeof r.then=="function"?Promise.resolve(r).then(n=>(t("pass",e.detail),n),n=>{throw t("fail",`${e.detail} failed: ${n instanceof Error?n.message:String(n)}`),n}):(t("pass",e.detail),r)}catch(r){throw t("fail",`${e.detail} failed: ${r instanceof Error?r.message:String(r)}`),r}}function $r(e){const t=n=>{const o=eV(n);return _b({adapter:e.adapter,seam:e.seam,stage:o?"round-trip":"effect",outcome:"pass",detail:o?`${e.detail}: ${o.destination} (${o.persisted?"persisted":"live-only"})`:`${e.detail}; the provider returned no write acknowledgement`}),n},r=n=>{throw _b({adapter:e.adapter,seam:e.seam,stage:"round-trip",outcome:"fail",detail:`${e.detail} failed: ${n instanceof Error?n.message:String(n)}`}),n};try{const n=e.run();return n&&typeof n.then=="function"?Promise.resolve(n).then(t,r):t(n)}catch(n){return r(n)}}function tV(e){const{adapter:t,subject:r}=e,n=e.epoch??CT(t),o=[...Cm({prefix:"editor",value:t,shape:Am,subject:r,epoch:n}),...Cm({prefix:"editor.hierarchy",value:t.hierarchy,shape:Xw,subject:r,epoch:n})];for(const[a,s]of Object.entries(Qw))o.push(...Cm({prefix:`editor.${a}`,value:t[a],shape:s,subject:r,epoch:n}));o.push(...xT.receipts({epoch:n}).map(a=>({...a,subject:r}))),e.receipts&&o.push(...e.receipts);const i={};for(const a of qU){const s=Qw[a];i[a]=Jw({seam:`editor.${a}`,required:Am[a].required,shape:s,subject:r,epoch:n,receipts:o})}return{subject:r,epoch:n,receipts:o,providers:i,hierarchy:Jw({seam:"editor.hierarchy",required:Am.hierarchy.required,shape:Xw,subject:r,epoch:n,receipts:o})}}const tE="no-authoring:root";function rV(e,t,r="No authoring surface"){const n={id:tE,label:t,secondaryLabel:r,role:"boundary",kind:"object",parentId:null,childIds:[]};return{capabilities:{transform:!1,inspectorFields:!1,persist:!1},hierarchy:{roots:()=>[n],node:a=>a===tE?n:null},selection:{get:()=>[...e.selectedEntityIds],set:a=>e.selectMultiple(a)},subscribe:a=>e.subscribe(a)}}const rE=new WeakMap;let Wn=null;const Sb=new Set;let AT=0;function Uye(e){return Sb.add(e),()=>{Sb.delete(e)}}function Vye(){return AT}function Wye(e){if(Wn!==e){if(e){const t=tV({adapter:e,subject:"active-authoring"}),r=[t.hierarchy,...Object.values(t.providers)].filter(n=>n.state==="failed");if(r.length>0)throw new Error(`authoring adapter refused: ${r.map(n=>n.detail).join("; ")}`)}Wn=e,AT++;for(const t of[...Sb])t()}}function Gye(){return Wn!==null}const PT=Symbol("volter.editModeComposite");function Kye(e){e[PT]=!0}function Yye(){return Wn!==null&&Wn[PT]===!0}function Zye(){return Wn}function Jye(e){const t=[],r=n=>{t.push(n.id);for(const o of n.childIds){const i=e.hierarchy.node(o);i&&r(i)}};for(const n of e.hierarchy.roots())r(n);return t}function hr(e){if(Wn)return Wn;let t=rE.get(e);return t||(t=rV(e,"No authoring adapter"),rE.set(e,t)),t}const nE="no live object for this selection",Xye="__volterRecordCreationSite";function Wp(e,t){const r=[...e.roots()],n=new Set;for(let o=0;o<r.length;o+=1){const i=r[o];if(!n.has(i.id)){if(n.add(i.id),t(i)===!1)return;for(const a of i.childIds){const s=e.node(a);s&&r.push(s)}}}}function Gi(e,t,r){const n=e.selection;return n?(zt({adapter:e,seam:"editor.selection.set",stage:"effect",detail:`the editor selected ${t.length} authoring subject(s)`,run:()=>n.set([...t],r)}),!0):!1}function nV(e,t){const r=e.transforms;return r?(zt({adapter:e,seam:"editor.transforms.beginEdit",stage:"effect",detail:`the editor began a transform gesture on ${t}`,run:()=>r.beginEdit(t)}),!0):!1}function oV(e,t,r){const n=e.transforms;return n?(zt({adapter:e,seam:"editor.transforms.apply",stage:"effect",detail:`the editor applied a transform to ${t}`,run:()=>n.apply(t,r)}),!0):!1}function iV(e,t){const r=e.transforms;if(r)return $r({adapter:e,seam:"editor.transforms.endEdit",detail:`the editor completed a transform gesture on ${t}`,run:()=>r.endEdit(t)})}function aV(e,t,r){const n=e.transforms?.remove;if(n)return $r({adapter:e,seam:"editor.transforms.remove",detail:`the editor removed transform ${r} from ${t}`,run:()=>n(t,r)})}function sV(e,t){const r=e.transforms?.sourceCommit;if(r)return $r({adapter:e,seam:"editor.transforms.sourceCommit",detail:`the user committed the live transform of ${t} to source`,run:()=>r.commit(t)})}async function TT(e,t="the editor saved the active authoring document"){const r=e.persistence;if(r){if(!r.isDirty()){await r.save();return}await zt({adapter:e,seam:"editor.persistence.save",stage:"round-trip",detail:`${t} to ${r.destination}`,run:()=>r.save()})}}function lV(e,t,r,n){const o=e.inspector;if(o)return $r({adapter:e,seam:"editor.inspector.set",detail:`the editor wrote ${r} on ${t}`,run:()=>o.set(t,r,n)})}function Qye(e,t,r){const n=e.inspector?.remove;if(n)return $r({adapter:e,seam:"editor.inspector.remove",detail:`the editor removed ${r} from ${t}`,run:()=>n(t,r)})}function uV(e,t,r,n){const o=e.assetDrop;if(o)return $r({adapter:e,seam:"editor.assetDrop.drop",detail:`the editor dropped ${r} on ${t||"the root"}`,run:()=>o.drop(t,r,n)})}function e0e(e,t){const r=e.instances;r?.openComponent&&zt({adapter:e,seam:"editor.instances.openComponent",stage:"effect",detail:`the Inspector opened the component owning ${t}`,run:()=>r.openComponent?.(t)})}function cV(e,t,r){const n=e.instances;return n?Promise.resolve($r({adapter:e,seam:"editor.instances.revert",detail:`the Inspector reverted ${r.length} override(s) on ${t}`,run:()=>n.revert(t,r)})).then(o=>o??void 0):Promise.resolve(void 0)}async function dV(e,t,r){const n=e.instances;if(!n)return{changed:!1,message:"This subject has no component instance."};const o=await n.applyToComponent(t,r);return await $r({adapter:e,seam:"editor.instances.applyToComponent",detail:`the Inspector applied ${r} from ${t} to its component`,run:()=>o.write}),o}function qr(e,t,r,n){return $r({adapter:e,seam:`editor.structure.${t}`,detail:r,run:n})}function Gy(e,t,r,n){const o=zt({adapter:e,seam:`editor.structure.${t}`,stage:"effect",detail:r,run:n});return{...o,ack:qr(e,t,r,()=>o.ack)}}function fV(e,t,r){const n=e.structure;return n?Gy(e,"create",`the editor created a ${t} under ${r??"the document root"}`,()=>n.create(t,r)):{id:"",ack:void 0}}function oE(e,t){const r=e.structure;if(r)return qr(e,"remove",`the editor removed ${t}`,()=>r.remove(t))}function pV(e,t){const r=e.structure;if(r?.removeMany)return qr(e,"removeMany",`the editor removed ${t.length} selected node(s) as one operation`,()=>r.removeMany?.(t))}function hV(e,t){const r=e.structure;return r?Gy(e,"duplicate",`the editor duplicated ${t}`,()=>r.duplicate(t)):{id:t,ack:void 0}}function t0e(e,t){const r=e.structure;if(r?.duplicateMany)return qr(e,"duplicateMany",`the editor duplicated ${t.length} selected node(s) as one operation`,()=>r.duplicateMany?.(t))}function Pm(e,t,r){const n=e.structure;if(n)return qr(e,"reparent",`the editor reparented ${t} under ${r??"the document root"}`,()=>n.reparent(t,r))}function mV(e,t,r){const n=e.structure;if(n?.reorder)return qr(e,"reorder",`the editor reordered ${t} before ${r??"the end"}`,()=>n.reorder?.(t,r))}function gV(e,t,r){const n=e.structure;if(n?.wrap)return qr(e,"wrap",`the editor wrapped ${t}`,()=>n.wrap?.(t,r))}function bV(e,t){const r=e.structure;if(r?.unwrap)return qr(e,"unwrap",`the editor unwrapped ${t}`,()=>r.unwrap?.(t))}function vV(e,t){const r=e.structure;return r?.group?Gy(e,"group",`the editor grouped ${t.length} selected node(s)`,()=>r.group?.(t)??{id:null,ack:void 0}):{id:null,ack:void 0}}function yV(e,t){const r=e.structure;if(!r?.ungroup)return{ids:[],ack:void 0};const n=zt({adapter:e,seam:"editor.structure.ungroup",stage:"effect",detail:`the editor ungrouped ${t}`,run:()=>r.ungroup?.(t)??{ids:[],ack:void 0}});return{...n,ack:qr(e,"ungroup",`the editor ungrouped ${t}`,()=>n.ack)}}async function wV(e,t){const r=e.structure;return r?.copy?await zt({adapter:e,seam:"editor.structure.copy",stage:"effect",detail:`the editor copied ${t.length} selected node(s)`,run:()=>r.copy?.(t)??!1}):!1}async function OT(e,t,r,n){const o=await zt({adapter:e,seam:`editor.structure.${t}`,stage:"effect",detail:r,run:n});return o===!1?!1:(await qr(e,t,r,()=>o),o)}function EV(e,t){const r=e.structure;return r?.cut?OT(e,"cut",`the editor cut ${t.length} selected node(s)`,()=>r.cut?.(t)??!1):Promise.resolve(!1)}function _V(e,t){const r=e.structure;return r?.paste?OT(e,"paste",`the editor pasted nodes under ${t??"the document root"}`,()=>r.paste?.(t)??!1):Promise.resolve(!1)}const iE=new WeakMap;function r0e(e){const t=e.spatialHandles;if(!t)return null;const r=iE.get(e);if(r?.provider===t)return r.recorded;const n={layers:o=>zt({adapter:e,seam:"editor.spatialHandles.layers",stage:"operation",detail:`the viewport read adapter-owned spatial layers for ${o}`,run:()=>t.layers(o)}),preview:(o,i,a)=>zt({adapter:e,seam:"editor.spatialHandles.preview",stage:"effect",detail:`the viewport previewed spatial handle ${i} for ${o}`,run:()=>t.preview(o,i,a)}),commit:(o,i,a)=>$r({adapter:e,seam:"editor.spatialHandles.commit",detail:`the viewport committed spatial handle ${i} for ${o}`,run:()=>t.commit(o,i,a)})};return iE.set(e,{provider:t,recorded:n}),n}const SV="",Ky="live-only (not saved)",n0e="ephemeral (discarded on stop)",RV="(no persistable child)",aE=Object.freeze({destination:Ky,persisted:!1});async function o0e(e){const t=e.resolve();if(t.reaches==="live-only")return e.report?.(t.reason),e.record(!1),{destination:t.destination,persisted:!1};const r=await t.write();return e.record(r),r?{destination:t.destination,persisted:!0}:{destination:Ky,persisted:!1}}function i0e(e){return{reaches:"live-only",destination:Ky,reason:e}}const ni="world:",Df="kind:",Lf="projection:",sE={canvas:"Canvas",dom:"DOM"};function br(e){return`${ni}${e}`}function lE(e,t,r){return`[CompositeAuthoringAdapter] ${e}: no root owns entity id "${t}". Roots in this composition: ${r.map(n=>n.worldId).join(", ")}. Refusing rather than answering from the first root — an id nothing owns has no subject.`}function xV(e,t,r){return`[CompositeAuthoringAdapter] ${e}: root "${r}" owns entity id "${t}" but exposes no transform provider for it. Refusing rather than answering an identity pose — a node with no transform truth has no pose to report.`}function We(e){return e.startsWith(ni)}function Tm(e){return`${Df}${e}`}function Om(e){return`${Lf}${e}`}function Ge(e){return e.startsWith(Df)||e.startsWith(Lf)}function $m(e){const t=e.replace(/[-_]+/g," ").trim();return t?t.replace(/\b\w/g,r=>r.toUpperCase()):e}function uE(e){return e.reduce((t,r)=>({transform:t.transform||r.adapter.capabilities.transform,inspectorFields:t.inspectorFields||r.adapter.capabilities.inspectorFields,persist:t.persist||r.adapter.capabilities.persist}),{transform:!1,inspectorFields:!1,persist:!1})}class Io{capabilities;children;manifest;projection;resolvedProjectionGroups;structureClipboardWorldId=null;crossSurfaceParents=new Map;crossSurfaceChildren=new Map;crossSurfaceOrders=new Map;crossSurfaceRootParents=new Map;crossSurfaceRootChildren=new Map;crossSurfaceGroupLabels=new Map;crossSurfaceDomParents=new Map;crossSurfaceDomChildren=new Map;crossSurfaceInputSignatures=null;projectedDocumentAdapters=new Map;spatialHandles={layers:t=>this.routeOwned(t,"spatialHandles.layers")?.spatialHandles?.layers(t)??[],preview:(t,r,n)=>{this.routeOwned(t,"spatialHandles.preview")?.spatialHandles?.preview(t,r,n)},commit:(t,r,n)=>this.routeOwned(t,"spatialHandles.commit")?.spatialHandles?.commit(t,r,n)};constructor(t,r,n){this.children=[...t],this.manifest=r??null,this.projection=n??null,this.resolvedProjectionGroups=this.resolveProjectionGroups(),this.capabilities=uE(this.children),this.refreshTruth(),this.refreshRelated()}replaceChild(t,r){const n=this.children.findIndex(i=>i.worldId===t);if(n===-1){Te.warn(`[CompositeAuthoringAdapter] replaceChild: no child with worldId "${t}" — ignoring.`,"authoring");return}const o=this.children[n];this.children[n]={...o,worldId:t,adapter:r},this.crossSurfaceInputSignatures=null,this.capabilities=uE(this.children),this.refreshTruth(),this.refreshRelated(),this.refusedIds.clear(),this.syncChildFanOut(),this.fanOutStructure()}groupNodeId(t){return br(t)}isOrganizationNode(t){return Ge(t)}findOwnerChild(t){if(We(t)||Ge(t))return null;for(const r of this.children)if(r.adapter.hierarchy.node(t))return r;return null}refusedIds=new Set;supersededIds=new Set;routeOwned(t,r){const n=this.findOwnerChild(t);return n?(this.supersededIds.add(t),n.adapter):(this.groupChild(t)||Ge(t)&&this.hierarchy.node(t)||this.supersededIds.has(t)||this.refusedIds.has(t)||(this.refusedIds.add(t),Te.error(lE(r,t,this.children),"authoring")),null)}ownerOf(t){return this.findOwnerChild(t)?.worldId??null}childAdapters(){return this.children.map((t,r)=>({worldId:t.worldId,adapter:t.adapter,kind:t.kind,zOrder:t.zOrder??r,role:t.role??"world",...t.label!==void 0?{label:t.label}:{},...t.parentRootId!==void 0?{parentRootId:t.parentRootId}:{}}))}projectedDocumentAdapter(t){const r=this.resolvedProjectionGroups.find(a=>a.roots.length>1&&a.roots.includes(t));if(!r)return null;const n=this.projectedDocumentAdapters.get(r.id);if(n)return n;const o={...this.hierarchy,roots:()=>(this.ensureCrossSurfaceEdges(),[this.projectionGroupNode(r)])},i=new Proxy(this,{get:(a,s)=>s==="hierarchy"?o:Reflect.get(a,s,a)});return this.projectedDocumentAdapters.set(r.id,i),i}groupNode(t,r,n){const o=this.children.find(s=>s.worldId===t),i=o?.parentRootId?br(o.parentRootId):this.parentForTopLevelRoot(t,r),a=this.children.filter(s=>s.parentRootId===t).map(s=>br(s.worldId));return{id:br(t),label:o?.role==="surface"?o.label??`${t} (${r})`:this.labelForRoot(t,r),role:o?.role==="surface"?"document":"root",kind:r,parentId:i,childIds:[...n.map(s=>s.id),...a]}}topLevelChildren(){return this.children.filter(t=>!t.parentRootId)}runtimeRootChildren(){return this.topLevelChildren().filter(t=>(t.role??"world")==="world")}resolveProjectionGroups(){const t=new Set(this.runtimeRootChildren().map(n=>n.worldId)),r=new Set;return(this.projection?.groups??[]).flatMap(n=>{const o=n.roots.filter(i=>t.has(i)?r.has(i)?(Te.warn(`[CompositeAuthoringAdapter] hierarchy root "${i}" is referenced by more than one group; the tree projection uses its first placement.`,"authoring"),!1):(r.add(i),!0):(Te.warn(`[CompositeAuthoringAdapter] hierarchy group "${n.label}" references unknown root "${i}" — ignoring.`,"authoring"),!1));return o.length>0?[{...n,roots:o}]:[]})}projectionGroups(){return this.resolvedProjectionGroups}projectionGroupFor(t){return this.projectionGroups().find(r=>r.roots.includes(t))}unprojectedRoots(){const t=new Set(this.projectionGroups().flatMap(r=>r.roots));return this.runtimeRootChildren().filter(r=>!t.has(r.worldId))}rootsOfKind(t){return this.unprojectedRoots().filter(r=>r.kind===t)}parentForTopLevelRoot(t,r){const n=this.projectionGroupFor(t);return n?Om(n.id):this.rootsOfKind(r).length>1?Tm(r):null}labelForRoot(t,r){const n=this.projection?.rootLabels?.[t]?.trim();return n||(this.rootsOfKind(r).length!==1||this.projectionGroupFor(t)?$m(t):sE[r]??$m(t))}kindNode(t){return{id:Tm(t),label:sE[t]??$m(t),role:"folder",kind:"group",parentId:null,childIds:this.rootsOfKind(t).map(r=>br(r.worldId))}}projectionGroupNode(t){return{id:Om(t.id),label:this.crossSurfaceGroupLabels.get(t.id)??t.label,role:"folder",kind:"group",parentId:null,childIds:this.crossSurfaceRootChildren.get(t.id)??t.roots.map(br)}}orderJoinedSiblings(t){return t.map((r,n)=>({id:r,index:n,order:this.crossSurfaceOrders.get(r)})).sort((r,n)=>r.order===void 0&&n.order===void 0?r.index-n.index:r.order===void 0?1:n.order===void 0?-1:r.order-n.order||r.index-n.index).map(({id:r})=>r)}refreshCrossSurfaceRoots(t,r){this.crossSurfaceRootParents.clear(),this.crossSurfaceRootChildren.clear(),this.crossSurfaceGroupLabels.clear();const n=new Map;for(const{child:o,node:i}of t){const a=n.get(o)??new Map;a.set(i.id,i),n.set(o,a)}for(const o of this.projectionGroups()){const i=new Set(o.roots),a=new Set(t.flatMap(({child:d,node:f})=>{const p=f.crossSurfaceGroupLabel?.trim();return i.has(d.worldId)&&p?[p]:[]}));if(a.size===1&&this.crossSurfaceGroupLabels.set(o.id,[...a][0]),o.roots.length<2)continue;const s=t.filter(({child:d,node:f})=>{if(!i.has(d.worldId)||f.crossSurfaceId===void 0||f.crossSurfaceOrder===void 0||f.crossSurfaceParentId!==void 0||r.get(f.crossSurfaceId)?.nodeId!==f.id)return!1;let p=f.parentId;const h=n.get(d);for(;p!==null;){const m=h?.get(p);if(m===void 0)break;if(m.crossSurfaceId!==void 0)return!1;p=m.parentId}return!0}),u=new Set(t.flatMap(({child:d,node:f})=>i.has(d.worldId)&&f.crossSurfaceId!==void 0&&r.get(f.crossSurfaceId)?.nodeId===f.id?[d.worldId]:[]));if(o.roots.some(d=>!u.has(d))||s.length===0)continue;const l=this.orderJoinedSiblings(s.map(({node:d})=>d.id));this.crossSurfaceRootChildren.set(o.id,l);const c=Om(o.id);for(const d of l)this.crossSurfaceRootParents.set(d,c)}}refreshCrossSurfaceDomTrees(t){this.crossSurfaceDomParents.clear(),this.crossSurfaceDomChildren.clear();for(const r of this.children){if(r.kind!=="dom")continue;const n=new Map(t.filter(s=>s.child===r).map(({node:s})=>[s.id,s])),o=[...n.values()].filter(s=>s.parentId===null),i=new Set,a=(s,u)=>{if(i.has(s.id))return;i.add(s.id);let l=u;s.crossSurfaceId!==void 0&&(this.crossSurfaceDomChildren.set(s.id,[]),u!==null&&(this.crossSurfaceDomParents.set(s.id,u),this.crossSurfaceDomChildren.get(u)?.push(s.id)),l=s.id);for(const c of s.childIds){const d=n.get(c);d&&a(d,l)}};for(const s of o)a(s,null)}}refreshCrossSurfaceEdges(){const t=[],r=new Map;for(const n of this.children)Wp(n.adapter.hierarchy,o=>{if(t.push({child:n,node:o}),o.crossSurfaceId===void 0)return;const i=r.get(o.crossSurfaceId);r.set(o.crossSurfaceId,i===void 0?{child:n,nodeId:o.id}:null)});this.crossSurfaceParents.clear(),this.crossSurfaceChildren.clear(),this.crossSurfaceOrders.clear();for(const{node:n}of t)n.crossSurfaceOrder!==void 0&&this.crossSurfaceOrders.set(n.id,n.crossSurfaceOrder);this.refreshCrossSurfaceDomTrees(t);for(const{child:n,node:o}of t){if(o.crossSurfaceParentId===void 0)continue;const i=r.get(o.crossSurfaceParentId);if(i==null||i.child===n)continue;this.crossSurfaceParents.set(o.id,i.nodeId);const a=this.crossSurfaceChildren.get(i.nodeId)??[];a.push(o.id),this.crossSurfaceChildren.set(i.nodeId,a)}this.refreshCrossSurfaceRoots(t,r)}clearCrossSurfaceEdges(){this.crossSurfaceParents.clear(),this.crossSurfaceChildren.clear(),this.crossSurfaceOrders.clear(),this.crossSurfaceRootParents.clear(),this.crossSurfaceRootChildren.clear(),this.crossSurfaceGroupLabels.clear(),this.crossSurfaceDomParents.clear(),this.crossSurfaceDomChildren.clear()}ensureCrossSurfaceEdges(){const t=[];for(const r of this.children){const n=r.adapter.hierarchy.crossSurfaceStructureSignature;if(!n){this.crossSurfaceInputSignatures=null,this.refreshCrossSurfaceEdges();return}t.push(n.call(r.adapter.hierarchy))}if(!(this.crossSurfaceInputSignatures!==null&&t.length===this.crossSurfaceInputSignatures.length&&t.every((r,n)=>r===this.crossSurfaceInputSignatures?.[n]))){if(this.crossSurfaceInputSignatures=t,t.every(r=>r===null)){this.clearCrossSurfaceEdges();return}this.refreshCrossSurfaceEdges()}}projectCrossSurfaceNode(t,r){const n=this.crossSurfaceParents.get(t.id)??this.crossSurfaceDomParents.get(t.id)??this.crossSurfaceRootParents.get(t.id)??r,o=this.crossSurfaceDomChildren.get(t.id)??t.childIds,i=this.orderJoinedSiblings(o.filter(a=>!this.crossSurfaceParents.has(a)&&!this.crossSurfaceRootParents.has(a)).concat(this.crossSurfaceChildren.get(t.id)??[]));return n===t.parentId&&i.length===t.childIds.length&&i.every((a,s)=>a===t.childIds[s])?t:{...t,parentId:n,childIds:i}}defaultProjectionNodeIds(){const t=[],r=new Set;for(const n of this.unprojectedRoots()){if(r.has(n.kind))continue;r.add(n.kind);const o=this.rootsOfKind(n.kind);t.push(o.length>1?Tm(n.kind):br(n.worldId))}return t}hierarchy={roots:()=>(this.ensureCrossSurfaceEdges(),[...this.projectionGroups().map(t=>this.projectionGroupNode(t)),...this.defaultProjectionNodeIds().map(t=>this.hierarchy.node(t)).filter(t=>t!==null)]),node:t=>{if(t.startsWith(Df)){const o=t.slice(Df.length);return this.rootsOfKind(o).length>1?this.kindNode(o):null}if(t.startsWith(Lf)){const o=t.slice(Lf.length),i=this.projectionGroups().find(a=>a.id===o);return i?this.projectionGroupNode(i):null}if(We(t)){const o=t.slice(ni.length),i=this.children.find(a=>a.worldId===o);return i?this.groupNode(i.worldId,i.kind,i.adapter.hierarchy.roots()):null}const r=this.findOwnerChild(t);if(!r)return null;const n=r.adapter.hierarchy.node(t);return n?(this.supersededIds.add(t),this.projectCrossSurfaceNode(n,n.parentId===null?br(r.worldId):n.parentId)):null},nativeObject:t=>We(t)||Ge(t)?null:this.routeOwned(t,"hierarchy.nativeObject")?.hierarchy.nativeObject?.(t)??null,idForNativeObject:t=>{for(const r of this.children){const n=r.adapter.hierarchy.idForNativeObject?.(t);if(n)return n}return null}};selection={get:()=>{const t=new Set;for(const r of this.children)for(const n of r.adapter.selection?.get()??[])t.add(n);return[...t]},set:(t,r)=>{const n=new Map;let o=null;for(const a of t){if(We(a)||Ge(a)){o=a;continue}const s=this.findOwnerChild(a);if(!s)continue;const u=n.get(s.adapter);u?u.push(a):n.set(s.adapter,[a])}const i=(a,s)=>{Gi(a,s,r)};if(n.size===0){const a=this.children[0];a&&i(a.adapter,o?[o]:[]);return}for(const[a,s]of n)i(a,s)}};transforms={dimensions:t=>{if(We(t)||Ge(t))return null;const r=this.routeOwned(t,"transforms.dimensions")?.transforms;if(!r)return null;const n=r.dimensions?.(t);return n===void 0?"3d":n},get:t=>{const r=this.routeOwned(t,"transforms.get");if(!r)throw new Error(lE("transforms.get",t,this.children));const n=r.transforms;if(!n)throw new Error(xV("transforms.get",t,this.ownerOf(t)??"unknown"));return n.get(t)},editability:(t,r)=>{const n=this.routeOwned(t,"transforms.editability");return n?n.transforms?.editability?.(t,r)??{writable:!0}:{writable:!1,reason:`No root owns entity id "${t}".`}},beginEdit:t=>{const r=this.routeOwned(t,"transforms.beginEdit");r&&nV(r,t)},apply:(t,r)=>{const n=this.routeOwned(t,"transforms.apply");n&&oV(n,t,r)},endEdit:t=>{const r=this.routeOwned(t,"transforms.endEdit");return r?iV(r,t):void 0},remove:(t,r)=>{const n=this.routeOwned(t,"transforms.remove");return n?aV(n,t,r):void 0},sourceCommit:{availability:t=>this.routeOwned(t,"transforms.sourceCommit")?.transforms?.sourceCommit?.availability(t)??{available:!1,reason:"The owning root exposes no explicit live-transform source commit."},commit:async t=>{const r=this.routeOwned(t,"transforms.sourceCommit");return await(r?sV(r,t):void 0)??{destination:"no owning source-commit provider",persisted:!1}}}};diagnosticsFor(t){if(We(t)||Ge(t))return;const r=this.routeOwned(t,"diagnosticsFor")??{};return typeof r.diagnosticsFor=="function"?r.diagnosticsFor(t):void 0}rootProperties(t){if(Ge(t))return[{path:"organization",label:"Authoring Group",type:"string",readonly:!0}];const r=this.groupChild(t);if(!r)return null;const n=(r.role??"world")==="surface";return[{path:"id",label:"Root ID",type:"string",readonly:!0},{path:"kind",label:"Kind",type:"string",readonly:!0},...this.manifest?.getRootContentSource||r.content?[{path:"content",label:"Content",type:"string",readonly:!0}]:[],...n?[]:[{path:"zOrder",label:"Z Order",type:"number",...this.manifest?{}:{readonly:!0}},{path:"pausable",label:"Pausable",type:"boolean",...this.manifest?{}:{readonly:!0}}]]}groupChild(t){return We(t)?this.children.find(r=>br(r.worldId)===t)??null:null}inspector={properties:t=>this.rootProperties(t)??this.routeOwned(t,"inspector.properties")?.inspector?.properties(t)??[],get:(t,r)=>{if(Ge(t))return r==="organization"?"Editor-only hierarchy projection":void 0;const n=this.groupChild(t);if(n){const o=n.worldId;return r==="id"?o:r==="kind"?n.kind:r==="content"?this.manifest?.getRootContentSource?.(o)??n.content:(n.role??"world")==="surface"?void 0:r==="zOrder"?this.manifest?.getRootZOrder(o)??n.zOrder??0:r==="pausable"?this.manifest?.getRootPausable(o)??n.pausable??!0:void 0}return this.routeOwned(t,"inspector.get")?.inspector?.get(t,r)},editability:(t,r)=>{const n=this.rootProperties(t);if(n){const o=n.find(i=>i.path===r);return o?o.readonly?{writable:!1,reason:"a composition fact, read from the manifest — not an authored value"}:{writable:!0}:{writable:!1,reason:`this root row has no "${r}" field`}}return this.routeOwned(t,"inspector.editability")?.inspector?.editability?.(t,r)??{writable:!0}},set:(t,r,n)=>{const o=this.groupChild(t);if(o){this.manifest&&(o.role??"world")==="world"&&(r==="zOrder"?this.manifest.setRootZOrder(o.worldId,Number(n)):r==="pausable"&&this.manifest.setRootPausable(o.worldId,!!n));return}return this.routeOwned(t,"inspector.set")?.inspector?.set(t,r,n)},remove:(t,r)=>{if(!(We(t)||Ge(t)))return this.routeOwned(t,"inspector.remove")?.inspector?.remove?.(t,r)}};instances={describe:t=>We(t)||Ge(t)?null:this.routeOwned(t,"instances.describe")?.instances?.describe(t)??null,revert:async(t,r)=>{if(We(t)||Ge(t))return;const n=this.routeOwned(t,"instances.revert");if(n?.instances)return cV(n,t,r)},applyToComponent:async(t,r)=>{if(We(t)||Ge(t))return{changed:!1,message:"A composition row is not a component instance."};const n=this.routeOwned(t,"instances.applyToComponent");return n?.instances?dV(n,t,r):{changed:!1,message:"This subject has no writable component source."}}};resolveStructureTarget(t){if(t!=null&&Ge(t))return null;if(t!=null&&We(t)){const n=t.slice(ni.length),o=this.children.find(i=>i.worldId===n);return o?{child:o,forwardParentId:void 0}:null}if(t!=null){const n=this.findOwnerChild(t);if(!n)return null;const o=n.adapter.hierarchy.node(t);return{child:n,forwardParentId:o?.role==="document"||o?.role==="story"?void 0:t}}const r=this.children.find(n=>n.adapter.structure);return r?{child:r,forwardParentId:void 0}:null}structure={create:(t,r)=>{const n=this.resolveStructureTarget(r??null);return n?.child.adapter.structure?fV(n.child.adapter,t,n.forwardParentId):(Te.warn(`[CompositeAuthoringAdapter] create: no owning child with a structure provider for parent "${r??"(root)"}"`,"authoring"),{id:"",ack:void 0})},remove:t=>{if(We(t)||Ge(t))return;const r=this.findOwnerChild(t);if(!r?.adapter.structure){Te.warn(`[CompositeAuthoringAdapter] remove: no owner/structure for id "${t}"`,"authoring");return}return oE(r.adapter,t)},removeMany:async t=>{const r=new Map;for(const i of t){if(We(i)||Ge(i))continue;const a=this.findOwnerChild(i);if(!a?.adapter.structure){Te.warn(`[CompositeAuthoringAdapter] removeMany: no owner/structure for id "${i}"`,"authoring");continue}const s=r.get(a);s?s.push(i):r.set(a,[i])}let n=aE,o=!0;for(const[i,a]of r){const s=i.adapter.structure;let u;if(s.removeMany)u=await pV(i.adapter,a);else for(const l of a)u=await oE(i.adapter,l);u&&(n=u),u?.persisted||(o=!1)}return o?n:aE},canCopy:t=>{const r=t.map(o=>this.findOwnerChild(o)),n=r[0];return!!(n?.adapter.structure?.copy&&!r.some(o=>o?.worldId!==n.worldId)&&(n.adapter.structure.canCopy?.(t)??!0))},copy:async t=>{const n=t.map(o=>this.findOwnerChild(o))[0];return!this.structure.canCopy?.(t)||!n?.adapter.structure?.copy?(Te.warn("[CompositeAuthoringAdapter] copy requires source-addressable entities from one world.","authoring"),!1):await wV(n.adapter,t)?(this.structureClipboardWorldId=n.worldId,!0):!1},cut:async t=>{const n=t.map(i=>this.findOwnerChild(i))[0];if(!this.structure.canCopy?.(t)||!n?.adapter.structure?.cut)return Te.warn("[CompositeAuthoringAdapter] cut requires source-addressable entities from one world.","authoring"),!1;const o=await EV(n.adapter,t);return o===!1?!1:(this.structureClipboardWorldId=n.worldId,o)},canPaste:t=>{const r=this.children.find(o=>o.worldId===this.structureClipboardWorldId);if(!r?.adapter.structure?.paste)return!1;const n=t===null?{child:r,forwardParentId:null}:this.resolveStructureTarget(t);return!!(n&&n.child.worldId===r.worldId&&(r.adapter.structure.canPaste?.(n.forwardParentId??null)??!0))},paste:async t=>{const r=this.children.find(o=>o.worldId===this.structureClipboardWorldId);if(!r?.adapter.structure?.paste)return Te.warn("[CompositeAuthoringAdapter] paste has no copied entity payload to route.","authoring"),!1;const n=t===null?{child:r,forwardParentId:void 0}:this.resolveStructureTarget(t);return!n||n.child.worldId!==r.worldId?(Te.warn("[CompositeAuthoringAdapter] refusing to paste an entity across world roots.","authoring"),!1):await _V(r.adapter,n.forwardParentId??null)},duplicate:t=>{if(We(t)||Ge(t))return{id:t,ack:void 0};const r=this.findOwnerChild(t);return r?.adapter.structure?hV(r.adapter,t):(Te.warn(`[CompositeAuthoringAdapter] duplicate: no owner/structure for id "${t}"`,"authoring"),{id:t,ack:void 0})},reparent:(t,r)=>{const n=this.findOwnerChild(t);if(!n?.adapter.structure){Te.warn(`[CompositeAuthoringAdapter] reparent: no owner/structure for id "${t}"`,"authoring");return}if(r===null||r===br(n.worldId))return Pm(n.adapter,t,null);const o=this.findOwnerChild(r);if(!o||o.worldId!==n.worldId){Te.warn(`[CompositeAuthoringAdapter] reparent: refusing to move "${t}" across roots (target parent "${r}" is not in world "${n.worldId}")`,"authoring");return}const i=o.adapter.hierarchy.node(r);return i?.role==="document"||i?.role==="story"?Pm(n.adapter,t,null):Pm(n.adapter,t,r)},reorder:(t,r)=>{if(We(t)||Ge(t))return;const n=this.findOwnerChild(t);if(n&&!(r!==null&&this.findOwnerChild(r)!==n))return mV(n.adapter,t,r)},creatableKinds:t=>{const r=this.resolveStructureTarget(t);return r?.child.adapter.structure?.creatableKinds?.(r.forwardParentId??null)??[]},wrap:(t,r)=>{if(We(t)||Ge(t))return;const n=this.findOwnerChild(t);if(!n?.adapter.structure?.wrap){Te.warn(`[CompositeAuthoringAdapter] wrap: no owner/structure.wrap for id "${t}"`,"authoring");return}return gV(n.adapter,t,r)},unwrap:t=>{if(We(t)||Ge(t))return;const r=this.findOwnerChild(t);if(!r?.adapter.structure?.unwrap){Te.warn(`[CompositeAuthoringAdapter] unwrap: no owner/structure.unwrap for id "${t}"`,"authoring");return}return bV(r.adapter,t)},group:t=>{if(t.length===0)return{id:null,ack:void 0};const r=t.map(o=>this.findOwnerChild(o)),n=r[0];return!n?.adapter.structure?.group||r.some(o=>o?.adapter!==n.adapter)?{id:null,ack:void 0}:vV(n.adapter,t)},ungroup:t=>{const r=this.findOwnerChild(t);return r?yV(r.adapter,t):{ids:[],ack:void 0}},canUngroup:t=>this.findOwnerChild(t)?.adapter.structure?.canUngroup?.(t)??!1};resolveAssetDropTarget(t){if(t===""){const o=this.children.filter(i=>i.kind==="stage"&&i.role!=="surface"&&i.adapter.assetDrop!==void 0);return o.length===1&&o[0]?{adapter:o[0].adapter,forwardId:""}:null}if(We(t)){const o=t.slice(ni.length),i=this.children.find(a=>a.worldId===o);return i?{adapter:i.adapter,forwardId:""}:null}const r=this.findOwnerChild(t);if(!r)return this.routeOwned(t,"assetDrop"),null;const n=r.adapter.hierarchy.node(t);return{adapter:r.adapter,forwardId:n?.role==="document"||n?.role==="story"?"":t}}resolveStoriesTarget(t){if(We(t)){const n=t.slice(ni.length),o=this.children.find(i=>i.worldId===n);return o?{adapter:o.adapter,forwardId:t}:null}const r=this.routeOwned(t,"stories");return r?{adapter:r,forwardId:t}:null}stories={storiesFor:t=>{if(t===SV)return[];const r=this.resolveStoriesTarget(t);return r?.adapter.stories?.storiesFor(r.forwardId)??[]},active:t=>{const r=this.resolveStoriesTarget(t);return r?.adapter.stories?.active(r.forwardId)??null},apply:(t,r)=>{const n=this.resolveStoriesTarget(t),o=n?.adapter.stories;!n||!o||zt({adapter:n.adapter,seam:"editor.stories.apply",stage:"effect",detail:`the composite applied story ${r??"default"} through its owning adapter`,run:()=>o.apply(n.forwardId,r)})}};assetDrop={accepts:(t,r,n)=>{const o=this.resolveAssetDropTarget(t),i=o?.adapter.assetDrop;return!o||!i?!1:i.accepts(o.forwardId,r,n)},drop:(t,r,n)=>{const o=this.resolveAssetDropTarget(t),i=o?.adapter.assetDrop;if(!o||!i){const a=this.children.map(s=>`${s.worldId}:${s.kind}${s.adapter.assetDrop?"":" (no drop target)"}`).join(", ");Te.warn(`Dropped ${r} was not placed: ${t===""?"no single spatial world accepts a drop":`“${t}” has no owning world`} — worlds here: ${a}.`,"editor");return}return uV(o.adapter,o.forwardId,r,n)}};truth;truthProvider={resolve:(t,r)=>We(t)||Ge(t)?{site:{anchored:!1,reason:nE},writeAnchorKind:void 0}:this.findOwnerChild(t)?.adapter.truth?.resolve(t,r)??{site:{anchored:!1,reason:nE},writeAnchorKind:void 0}};refreshTruth(){this.children.some(t=>t.adapter.truth)?this.truth=this.truthProvider:delete this.truth}related;relatedProvider={links:t=>We(t)||Ge(t)?[]:this.findOwnerChild(t)?.adapter.related?.links(t)??[]};refreshRelated(){this.children.some(t=>t.adapter.related)?this.related=this.relatedProvider:delete this.related}structureListeners=new Set;childFanOutUnsubs=null;fanOutStructure=()=>{for(const t of[...this.structureListeners])t()};syncChildFanOut(){if(this.childFanOutUnsubs){for(const r of this.childFanOutUnsubs)r();this.childFanOutUnsubs=null}if(this.structureListeners.size===0)return;const t=[];for(const r of this.children)if(this.structureListeners.size>0){const n=r.adapter.subscribe,o=n?zt({adapter:r.adapter,seam:"editor.subscribe",stage:"effect",detail:"the composite subscribed to child authoring changes",run:()=>n.call(r.adapter,this.fanOutStructure)}):void 0;o&&t.push(o)}this.childFanOutUnsubs=t}subscribe(t){return this.structureListeners.add(t),this.syncChildFanOut(),()=>{this.structureListeners.delete(t),this.syncChildFanOut()}}get persistence(){const t=this.children.filter(r=>r.adapter.capabilities.persist&&!!r.adapter.persistence);return{isDirty:()=>t.some(r=>r.adapter.persistence.isDirty()),lastError:()=>{const r=new Set;for(const n of t){const o=n.adapter.persistence.lastError?.();o&&r.add(o)}return r.size>0?[...r].join(" · "):null},save:async()=>{for(const r of t){const n=r.adapter.persistence;if(n.isDirty())try{await TT(r.adapter,`the composite saved dirty child ${r.worldId}`)}catch(o){console.error(`[CompositeAuthoringAdapter] save failed for world "${r.worldId}" (destination: ${n.destination}) — continuing with remaining roots:`,o)}}},destination:t.length>0?t.map(r=>r.adapter.persistence.destination).join(" + "):RV}}}let wt=null;const Rb=new Set;let $T=0;function Ai(){$T+=1;for(const e of Rb)e()}function CV(e){return!!e&&(e.role==="component"||e.role==="instance"||e.role==="boundary")}function qT(e,t,r){let n=t,o=0;for(;n&&o++<1e3;){if(n===r)return!0;n=e.hierarchy.node(n)?.parentId??null}return!1}function a0e(e){return Rb.add(e),()=>Rb.delete(e)}function s0e(){return $T}function kT(){return wt?.stack.at(-1)??null}function Yy(e){if(wt?.adapter!==e)return[];const t=wt.stack.filter(r=>e.hierarchy.node(r)!==null);return t.length!==wt.stack.length&&(wt=t.length>0?{adapter:e,stack:t}:null),t}function MT(e,t){const r=e.hierarchy.node(t);if(!CV(r)||r.childIds.length===0)return!1;const n=wt?.adapter===e?wt.stack:[],o=n.at(-1);return o&&!qT(e,t,o)||o===t?!1:(wt={adapter:e,stack:[...n,t]},Gi(e,[t]),Ai(),!0)}function l0e(e,t){if(t===null){if(wt===null)return;wt=null,Ai();return}const r=Yy(e),n=r.indexOf(t);n<0||(wt={adapter:e,stack:r.slice(0,n+1)},Gi(e,[t]),Ai())}function u0e(e){if(wt&&wt.adapter!==e)return wt=null,Ai(),!0;const t=Yy(e);if(t.length===0)return!1;const r=t.slice(0,-1);wt=r.length>0?{adapter:e,stack:r}:null;const n=r.at(-1)??t[0];return Gi(e,[n]),Ai(),!0}function c0e(e){const t=e.selection?.get()??[];return t.length===1?MT(e,t[0]):!1}function d0e(e,t,r){if(!MT(e,t))return!1;const n=r();return n&&n!==t&&Gi(e,[n]),!0}function AV(e,t){const r=Yy(e);if(r.length===0)return!1;let n=0;for(;t!==null&&n<r.length&&qT(e,t,r[n]);)n+=1;return n===r.length?!1:(wt=n>0?{adapter:e,stack:r.slice(0,n)}:null,Ai(),!0)}function f0e(e,t){const r=t();return AV(e,r)?t():r}let PV=[];async function p0e(e){for(const t of PV){const r=await t(e);if(r)return r}return null}async function h0e(e){return{result:await e(),settled:async()=>{},frame:async()=>null}}let hu=[];function m0e(e){return hu=[...hu,e],()=>{hu=hu.filter(t=>t!==e)}}async function g0e(e,t){for(const r of hu){const n=r(e,t);if(n!==null)return n}return null}const Kd=[];function b0e(e){return Kd.push(e),()=>{const t=Kd.indexOf(e);t>=0&&Kd.splice(t,1)}}function v0e(e){for(const t of Kd)if(t.match(e))return t.describe(e);return null}const TV="/__volter-story-runtime",y0e="/__volter-react-world-runtime",NT=Symbol.for("volter.editor.host"),IT=globalThis;function w0e(e){IT[NT]=e}function OV(){const e=IT[NT];if(e===void 0)throw new Error("No editor host is registered: this contribution is running outside the editor (`registerEditorHost` from `@volter/sdk/host` is called by the editor at boot).");return e}function E0e(e){if(!e.ok)return`The editor refused: ${e.error??"no reason given"}`;const t=e.data??{};return Object.keys(t).length===1&&typeof t.result=="string"?t.result:JSON.stringify(t,(r,n)=>typeof n=="string"&&n.length>4e3?`(${n.length} characters not shown)`:n,1)}let jT=[];function _0e(e){jT=e}function S0e(){return jT}function R0e(e){const t=e.size,r=e.width,n=e.height;if(r!==void 0||n!==void 0){if(t!=null)return{error:`${String(e.type)}: pass "size" (a square) OR "width"+"height" (a shaped frame), never both.`};const i=(u,l)=>typeof l!="number"||!Number.isInteger(l)?`${String(e.type)}: "${u}" must be a whole number — got ${typeof l} ${JSON.stringify(l)??String(l)}.`:l<cE||l>dE?`${String(e.type)}: "${u}" must be ${cE}-${dE} — ${$V}`:l,a=i("width",r);if(typeof a=="string")return{error:a};const s=i("height",n);return typeof s=="string"?{error:s}:{size:{width:a,height:s}}}return t==null?{}:typeof t!="number"||!Number.isFinite(t)||t<1?{error:`${String(e.type)}: "size" must be a finite number >= 1 — got ${typeof t} ${JSON.stringify(t)??String(t)}.`}:{size:t}}const cE=64,dE=1024,$V="the editor's own ceiling: the pixels cross the relay as base64 JSON, and 1024 is where even incompressible RGBA still fits its 50 MB request limit. For more picture, take more views, not bigger ones.";var qV="Invariant failed";function xb(e,t){if(!e)throw new Error(qV)}var kV=Object.create,Zy=Object.defineProperty,MV=Object.getOwnPropertyDescriptor,DT=Object.getOwnPropertyNames,NV=Object.getPrototypeOf,IV=Object.prototype.hasOwnProperty,hd=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),V=(e,t)=>function(){try{return t||(0,e[DT(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Gp=(e,t)=>{for(var r in t)Zy(e,r,{get:t[r],enumerable:!0})},jV=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of DT(t))!IV.call(e,o)&&o!==r&&Zy(e,o,{get:()=>t[o],enumerable:!(n=MV(t,o))||n.enumerable});return e},rr=(e,t,r)=>(r=e!=null?kV(NV(e)):{},jV(Zy(r,"default",{value:e,enumerable:!0}),e)),LT=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",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:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
636
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",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:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}}),DV=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),FT=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),LV=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"(e,t){t.exports={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}}}),FV=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(LV()),n=String.fromCodePoint||function(i){var a="";return i>65535&&(i-=65536,a+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),a+=String.fromCharCode(i),a};function o(i){return i>=55296&&i<=57343||i>1114111?"�":(i in r.default&&(i=r.default[i]),n(i))}e.default=o}}),fE=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(LT()),n=t(DV()),o=t(FT()),i=t(FV()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(c){var d=l(c);return function(f){return String(f).replace(a,d)}}var u=function(c,d){return c<d?1:-1};e.decodeHTML=(function(){for(var c=Object.keys(n.default).sort(u),d=Object.keys(r.default).sort(u),f=0,p=0;f<d.length;f++)c[p]===d[f]?(d[f]+=";?",p++):d[f]+=";";var h=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),m=l(r.default);function v(g){return g.substr(-1)!==";"&&(g+=";"),m(g)}return function(g){return String(g).replace(h,v)}})();function l(c){return function(d){if(d.charAt(1)==="#"){var f=d.charAt(2);return f==="X"||f==="x"?i.default(parseInt(d.substr(3),16)):i.default(parseInt(d.substr(2),10))}return c[d.slice(1,-1)]||d}}}}),pE=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(FT()),n=u(r.default),o=l(n);e.encodeXML=g(n);var i=t(LT()),a=u(i.default),s=l(a);e.encodeHTML=p(a,s),e.encodeNonAsciiHTML=g(a);function u(E){return Object.keys(E).sort().reduce(function(_,x){return _[E[x]]="&"+x+";",_},{})}function l(E){for(var _=[],x=[],S=0,y=Object.keys(E);S<y.length;S++){var b=y[S];b.length===1?_.push("\\"+b):x.push(b)}_.sort();for(var w=0;w<_.length-1;w++){for(var C=w;C<_.length-1&&_[C].charCodeAt(1)+1===_[C+1].charCodeAt(1);)C+=1;var N=1+C-w;N<3||_.splice(w,N,_[w]+"-"+_[C])}return x.unshift("["+_.join("")+"]"),new RegExp(x.join("|"),"g")}var c=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?(function(E){return E.codePointAt(0)}):(function(E){return(E.charCodeAt(0)-55296)*1024+E.charCodeAt(1)-56320+65536});function f(E){return"&#x"+(E.length>1?d(E):E.charCodeAt(0)).toString(16).toUpperCase()+";"}function p(E,_){return function(x){return x.replace(_,function(S){return E[S]}).replace(c,f)}}var h=new RegExp(o.source+"|"+c.source,"g");function m(E){return E.replace(h,f)}e.escape=m;function v(E){return E.replace(o,f)}e.escapeUTF8=v;function g(E){return function(_){return _.replace(h,function(x){return E[x]||f(x)})}}}}),BV=V({"../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=fE(),r=pE();function n(u,l){return(!l||l<=0?t.decodeXML:t.decodeHTML)(u)}e.decode=n;function o(u,l){return(!l||l<=0?t.decodeXML:t.decodeHTMLStrict)(u)}e.decodeStrict=o;function i(u,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(u)}e.encode=i;var a=pE();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var s=fE();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})}}),zV=V({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(T,k){if(!(T instanceof k))throw new TypeError("Cannot call a class as a function")}function n(T,k){for(var I=0;I<k.length;I++){var U=k[I];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(T,U.key,U)}}function o(T,k,I){return k&&n(T.prototype,k),T}function i(T,k){var I=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!I){if(Array.isArray(T)||(I=a(T))||k){I&&(T=I);var U=0,G=function(){};return{s:G,n:function(){return U>=T.length?{done:!0}:{done:!1,value:T[U++]}},e:function($){throw $},f:G}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
637
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,Z=!1,A;return{s:function(){I=I.call(T)},n:function(){var $=I.next();return X=$.done,$},e:function($){Z=!0,A=$},f:function(){try{!X&&I.return!=null&&I.return()}finally{if(Z)throw A}}}}function a(T,k){if(T){if(typeof T=="string")return s(T,k);var I=Object.prototype.toString.call(T).slice(8,-1);if(I==="Object"&&T.constructor&&(I=T.constructor.name),I==="Map"||I==="Set")return Array.from(T);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return s(T,k)}}function s(T,k){(k==null||k>T.length)&&(k=T.length);for(var I=0,U=new Array(k);I<k;I++)U[I]=T[I];return U}var u=BV(),l={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:c()};function c(){var T={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return E(0,5).forEach(function(k){E(0,5).forEach(function(I){E(0,5).forEach(function(U){return d(k,I,U,T)})})}),E(0,23).forEach(function(k){var I=k+232,U=f(k*10+8);T[I]="#"+U+U+U}),T}function d(T,k,I,U){var G=16+T*36+k*6+I,X=T>0?T*40+55:0,Z=k>0?k*40+55:0,A=I>0?I*40+55:0;U[G]=p([X,Z,A])}function f(T){for(var k=T.toString(16);k.length<2;)k="0"+k;return k}function p(T){var k=[],I=i(T),U;try{for(I.s();!(U=I.n()).done;){var G=U.value;k.push(f(G))}}catch(X){I.e(X)}finally{I.f()}return"#"+k.join("")}function h(T,k,I,U){var G;return k==="text"?G=S(I,U):k==="display"?G=v(T,I,U):k==="xterm256Foreground"?G=w(T,U.colors[I]):k==="xterm256Background"?G=C(T,U.colors[I]):k==="rgb"&&(G=m(T,I)),G}function m(T,k){k=k.substring(2).slice(0,-1);var I=+k.substr(0,2),U=k.substring(5).split(";"),G=U.map(function(X){return("0"+Number(X).toString(16)).substr(-2)}).join("");return b(T,(I===38?"color:#":"background-color:#")+G)}function v(T,k,I){k=parseInt(k,10);var U={"-1":function(){return"<br/>"},0:function(){return T.length&&g(T)},1:function(){return y(T,"b")},3:function(){return y(T,"i")},4:function(){return y(T,"u")},8:function(){return b(T,"display:none")},9:function(){return y(T,"strike")},22:function(){return b(T,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return N(T,"i")},24:function(){return N(T,"u")},39:function(){return w(T,I.fg)},49:function(){return C(T,I.bg)},53:function(){return b(T,"text-decoration:overline")}},G;return U[k]?G=U[k]():4<k&&k<7?G=y(T,"blink"):29<k&&k<38?G=w(T,I.colors[k-30]):39<k&&k<48?G=C(T,I.colors[k-40]):89<k&&k<98?G=w(T,I.colors[8+(k-90)]):99<k&&k<108&&(G=C(T,I.colors[8+(k-100)])),G}function g(T){var k=T.slice(0);return T.length=0,k.reverse().map(function(I){return"</"+I+">"}).join("")}function E(T,k){for(var I=[],U=T;U<=k;U++)I.push(U);return I}function _(T){return function(k){return(T===null||k.category!==T)&&T!=="all"}}function x(T){T=parseInt(T,10);var k=null;return T===0?k="all":T===1?k="bold":2<T&&T<5?k="underline":4<T&&T<7?k="blink":T===8?k="hide":T===9?k="strike":29<T&&T<38||T===39||89<T&&T<98?k="foreground-color":(39<T&&T<48||T===49||99<T&&T<108)&&(k="background-color"),k}function S(T,k){return k.escapeXML?u.encodeXML(T):T}function y(T,k,I){return I||(I=""),T.push(k),"<".concat(k).concat(I?' style="'.concat(I,'"'):"",">")}function b(T,k){return y(T,"span",k)}function w(T,k){return y(T,"span","color:"+k)}function C(T,k){return y(T,"span","background-color:"+k)}function N(T,k){var I;if(T.slice(-1)[0]===k&&(I=T.pop()),I)return"</"+k+">"}function q(T,k,I){var U=!1,G=3;function X(){return""}function Z(le,me){return I("xterm256Foreground",me),""}function A(le,me){return I("xterm256Background",me),""}function $(le){return k.newline?I("display",-1):I("text",le),""}function M(le,me){U=!0,me.trim().length===0&&(me="0"),me=me.trimRight(";").split(";");var mt=i(me),Fo;try{for(mt.s();!(Fo=mt.n()).done;){var ta=Fo.value;I("display",ta)}}catch(ra){mt.e(ra)}finally{mt.f()}return""}function K(le){return I("text",le),""}function L(le){return I("rgb",le),""}var D=[{pattern:/^\x08+/,sub:X},{pattern:/^\x1b\[[012]?K/,sub:X},{pattern:/^\x1b\[\(B/,sub:X},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:L},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Z},{pattern:/^\x1b\[48;5;(\d+)m/,sub:A},{pattern:/^\n/,sub:$},{pattern:/^\r+\n/,sub:$},{pattern:/^\r/,sub:$},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:M},{pattern:/^\x1b\[\d?J/,sub:X},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:X},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:X},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:K}];function Y(le,me){me>G&&U||(U=!1,T=T.replace(le.pattern,le.sub))}var ne=[],j=T,ee=j.length;e:for(;ee>0;){for(var se=0,be=0,ve=D.length;be<ve;se=++be){var ke=D[se];if(Y(ke,se),T.length!==ee){ee=T.length;continue e}}if(T.length===ee)break;ne.push(0),ee=T.length}return ne}function z(T,k,I){return k!=="text"&&(T=T.filter(_(x(I))),T.push({token:k,data:I,category:x(I)})),T}var F=(function(){function T(k){r(this,T),k=k||{},k.colors&&(k.colors=Object.assign({},l.colors,k.colors)),this.options=Object.assign({},l,k),this.stack=[],this.stickyStack=[]}return o(T,[{key:"toHtml",value:function(k){var I=this;k=typeof k=="string"?[k]:k;var U=this.stack,G=this.options,X=[];return this.stickyStack.forEach(function(Z){var A=h(U,Z.token,Z.data,G);A&&X.push(A)}),q(k.join(""),G,function(Z,A){var $=h(U,Z,A,G);$&&X.push($),G.stream&&(I.stickyStack=z(I.stickyStack,Z,A))}),U.length&&X.push(g(U)),X.join("")}}]),T})();t.exports=F}}),HV=e=>e.transports!==void 0,UV=()=>Math.random().toString(16).slice(2),BT=class{constructor(e={}){this.sender=UV(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,HV(e)?(this.transports=e.transports||[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})}get hasTransport(){return this.transports.length>0}addListener(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}emit(e,...t){let r={type:e,args:t,from:this.sender},n={};t.length>=1&&t[0]&&t[0].options&&(n=t[0].options);let o=()=>{this.transports.forEach(i=>{i.send(r,n)}),this.handleEvent(r)};this.isAsync?setImmediate(o):o()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let r=this.onceListener(e,t);this.addListener(e,r)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,t){let r=this.listeners(e);r&&(this.events[e]=r.filter(n=>n!==t))}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}handleEvent(e){let t=this.listeners(e.type);t&&t.length&&t.forEach(r=>{r.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,t){let r=(...n)=>(this.removeListener(e,r),t(...n));return r}},Ff;function VV(e){globalThis.__STORYBOOK_ADDONS_CHANNEL__=e}function Cb(){let e=globalThis.__STORYBOOK_ADDONS_CHANNEL__;return e&&(Ff=e),Ff??null}function zT(e){Ff=e??void 0,VV(Ff)}function WV(){zT(new BT({}))}function GV(){Cb()||WV()}typeof window>"u"&&GV();function KV(){return new BT({transport:{setHandler:()=>{},send:()=>{}}})}function hE({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}function mE(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}var YV=class HT extends Error{constructor(t){super(HT.getFullMessage(t),t.cause===void 0?void 0:{cause:t.cause}),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.agentFacing=t.agentFacing??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return hE({code:this.code,category:this.category})}get name(){let t=this._name||this.constructor.name;return`${this.fullErrorCode} (${t})`}set name(t){this._name=t}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${hE({code:r,category:n})}?ref=error`:typeof t=="string"?i=mE(t):Array.isArray(t)&&(i=`
638
- ${t.map(a=>` - ${mE(a)}`).join(`
639
- `)}`),`${o}${i!=null?`
640
-
641
- More info: ${i}
642
- `:""}`}},UT=V({"../../node_modules/picocolors/picocolors.browser.js"(e,t){var r=String,n=function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r,blackBright:r,redBright:r,greenBright:r,yellowBright:r,blueBright:r,magentaBright:r,cyanBright:r,whiteBright:r,bgBlackBright:r,bgRedBright:r,bgGreenBright:r,bgYellowBright:r,bgBlueBright:r,bgMagentaBright:r,bgCyanBright:r,bgWhiteBright:r}};t.exports=n(),t.exports.createColors=n}}),md,ZV={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function JV(e){return!e&&!md?ZV:{lang:e?.lang??md?.lang,message:e?.message,abortEarly:e?.abortEarly??md?.abortEarly,abortPipeEarly:e?.abortPipeEarly??md?.abortPipeEarly}}var XV;function QV(e){return XV?.get(e)}var eW;function tW(e){return eW?.get(e)}var rW;function nW(e,t){return rW?.get(e)?.get(t)}function Ab(e){let t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function dr(e,t,r,n,o){let i=o&&"input"in o?o.input:r.value,a=o?.expected??e.expects??null,s=o?.received??Ab(i),u={kind:e.kind,type:e.type,input:i,expected:a,received:s,message:`Invalid ${t}: ${a?`Expected ${a} but r`:"R"}eceived ${s}`,requirement:e.requirement,path:o?.path,issues:o?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},l=e.kind==="schema",c=o?.message??e.message??nW(e.reference,u.lang)??(l?tW(u.lang):null)??n.message??QV(u.lang);c!==void 0&&(u.message=typeof c=="function"?c(u):c),l&&(r.typed=!1),r.issues?r.issues.push(u):r.issues=[u]}var gE=new WeakMap;function kr(e){let t=gE.get(e);return t||(t={version:1,vendor:"valibot",validate(r){return e["~run"]({value:r},JV())}},gE.set(e,t)),t}function VT(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function WT(e,t){return{kind:"validation",type:"min_value",reference:WT,async:!1,expects:`>=${e instanceof Date?e.toJSON():Ab(e)}`,requirement:e,message:t,"~run"(r,n){return r.typed&&!(r.value>=this.requirement)&&dr(this,"value",r,n,{received:r.value instanceof Date?r.value.toJSON():Ab(r.value)}),r}}}function GT(e){return{kind:"validation",type:"safe_integer",reference:GT,async:!1,expects:null,requirement:Number.isSafeInteger,message:e,"~run"(t,r){return t.typed&&!this.requirement(t.value)&&dr(this,"safe integer",t,r),t}}}function KT(e,t,r){return typeof e.fallback=="function"?e.fallback(t,r):e.fallback}function Jy(e,t,r){return typeof e.default=="function"?e.default(t,r):e.default}function YT(e,t){return{kind:"schema",type:"array",reference:YT,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return kr(this)},"~run"(r,n){let o=r.value;if(Array.isArray(o)){r.typed=!0,r.value=[];for(let i=0;i<o.length;i++){let a=o[i],s=this.item["~run"]({value:a},n);if(s.issues){let u={type:"array",origin:"value",input:o,key:i,value:a};for(let l of s.issues)l.path?l.path.unshift(u):l.path=[u],r.issues?.push(l);if(r.issues||(r.issues=s.issues),n.abortEarly){r.typed=!1;break}}s.typed||(r.typed=!1),r.value.push(s.value)}}else dr(this,"type",r,n);return r}}}function Xy(e,t){return{kind:"schema",type:"custom",reference:Xy,expects:"unknown",async:!1,check:e,message:t,get"~standard"(){return kr(this)},"~run"(r,n){return this.check(r.value)?r.typed=!0:dr(this,"type",r,n),r}}}function Qy(e,t){return{kind:"schema",type:"loose_object",reference:Qy,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return kr(this)},"~run"(r,n){let o=r.value;if(o&&typeof o=="object"){r.typed=!0,r.value={};for(let i in this.entries){let a=this.entries[i];if(i in o||(a.type==="exact_optional"||a.type==="optional"||a.type==="nullish")&&a.default!==void 0){let s=i in o?o[i]:Jy(a),u=a["~run"]({value:s},n);if(u.issues){let l={type:"object",origin:"value",input:o,key:i,value:s};for(let c of u.issues)c.path?c.path.unshift(l):c.path=[l],r.issues?.push(c);if(r.issues||(r.issues=u.issues),n.abortEarly){r.typed=!1;break}}u.typed||(r.typed=!1),r.value[i]=u.value}else if(a.fallback!==void 0)r.value[i]=KT(a);else if(a.type!=="exact_optional"&&a.type!=="optional"&&a.type!=="nullish"&&(dr(this,"key",r,n,{input:void 0,expected:`"${i}"`,path:[{type:"object",origin:"key",input:o,key:i,value:o[i]}]}),n.abortEarly))break}if(!r.issues||!n.abortEarly)for(let i in o)VT(o,i)&&!(i in this.entries)&&(r.value[i]=o[i])}else dr(this,"type",r,n);return r}}}function ZT(e){return{kind:"schema",type:"number",reference:ZT,expects:"number",async:!1,message:e,get"~standard"(){return kr(this)},"~run"(t,r){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:dr(this,"type",t,r),t}}}function Xn(e,t){return{kind:"schema",type:"object",reference:Xn,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return kr(this)},"~run"(r,n){let o=r.value;if(o&&typeof o=="object"){r.typed=!0,r.value={};for(let i in this.entries){let a=this.entries[i];if(i in o||(a.type==="exact_optional"||a.type==="optional"||a.type==="nullish")&&a.default!==void 0){let s=i in o?o[i]:Jy(a),u=a["~run"]({value:s},n);if(u.issues){let l={type:"object",origin:"value",input:o,key:i,value:s};for(let c of u.issues)c.path?c.path.unshift(l):c.path=[l],r.issues?.push(c);if(r.issues||(r.issues=u.issues),n.abortEarly){r.typed=!1;break}}u.typed||(r.typed=!1),r.value[i]=u.value}else if(a.fallback!==void 0)r.value[i]=KT(a);else if(a.type!=="exact_optional"&&a.type!=="optional"&&a.type!=="nullish"&&(dr(this,"key",r,n,{input:void 0,expected:`"${i}"`,path:[{type:"object",origin:"key",input:o,key:i,value:o[i]}]}),n.abortEarly))break}}else dr(this,"type",r,n);return r}}}function ut(e,t){return{kind:"schema",type:"optional",reference:ut,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return kr(this)},"~run"(r,n){return r.value===void 0&&(this.default!==void 0&&(r.value=Jy(this,r,n)),r.value===void 0)?(r.typed=!0,r):this.wrapped["~run"](r,n)}}}function Kp(e,t,r){return{kind:"schema",type:"record",reference:Kp,expects:"Object",async:!1,key:e,value:t,message:r,get"~standard"(){return kr(this)},"~run"(n,o){let i=n.value;if(i&&typeof i=="object"){n.typed=!0,n.value={};for(let a in i)if(VT(i,a)){let s=i[a],u=this.key["~run"]({value:a},o);if(u.issues){let c={type:"object",origin:"key",input:i,key:a,value:s};for(let d of u.issues)d.path=[c],n.issues?.push(d);if(n.issues||(n.issues=u.issues),o.abortEarly){n.typed=!1;break}}let l=this.value["~run"]({value:s},o);if(l.issues){let c={type:"object",origin:"value",input:i,key:a,value:s};for(let d of l.issues)d.path?d.path.unshift(c):d.path=[c],n.issues?.push(d);if(n.issues||(n.issues=l.issues),o.abortEarly){n.typed=!1;break}}(!u.typed||!l.typed)&&(n.typed=!1),u.typed&&(n.value[u.value]=l.value)}}else dr(this,"type",n,o);return n}}}function we(e){return{kind:"schema",type:"string",reference:we,expects:"string",async:!1,message:e,get"~standard"(){return kr(this)},"~run"(t,r){return typeof t.value=="string"?t.typed=!0:dr(this,"type",t,r),t}}}function e0(){return{kind:"schema",type:"unknown",reference:e0,expects:"unknown",async:!1,get"~standard"(){return kr(this)},"~run"(e){return e.typed=!0,e}}}function oW(...e){return{...e[0],pipe:e,get"~standard"(){return kr(this)},"~run"(t,r){for(let n of e)if(n.kind!=="metadata"){if(t.issues&&(n.kind==="schema"||n.kind==="transformation")){t.typed=!1;break}(!t.issues||!r.abortEarly&&!r.abortPipeEarly)&&(t=n["~run"](t,r))}return t}}}var iW=Xy(e=>typeof e=="object"&&e!==null&&!Array.isArray(e));Xn({serviceId:we(),state:iW,version:oW(ZT(),GT(),WT(0)),clientId:we()});Xn({serviceId:we(),commandName:we(),input:ut(e0()),callId:we(),clientId:we()});Xn({serviceId:we(),callId:we(),result:ut(e0()),clientId:we()});var aW=Symbol.for("preact-signals");function t0(){if(yo>1)yo--;else{var e,t=!1;for((function(){var o=zf;for(zf=void 0;o!==void 0;)o.S.v===o.v&&(o.S.i=o.i),o=o.o})();Mu!==void 0;){var r=Mu;for(Mu=void 0,Bf++;r!==void 0;){var n=r.u;if(r.u=void 0,r.f&=-3,!(8&r.f)&&XT(r))try{r.c()}catch(o){t||(e=o,t=!0)}r=n}}if(Bf=0,yo--,t)throw e}}var Me=void 0;function r0(e){var t=Me;Me=void 0;try{return e()}finally{Me=t}}var Mu=void 0,yo=0,Bf=0,bE=0,zf=void 0,Hf=0;function JT(e){if(Me!==void 0){var t=e.n;if(t===void 0||t.t!==Me)return t={i:0,S:e,p:Me.s,n:void 0,t:Me,e:void 0,x:void 0,r:t},Me.s!==void 0&&(Me.s.n=t),Me.s=t,e.n=t,32&Me.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=Me.s,t.n=void 0,Me.s.n=t,Me.s=t),t}}function Nt(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}Nt.prototype.brand=aW;Nt.prototype.h=function(){return!0};Nt.prototype.S=function(e){var t=this,r=this.t;r!==e&&e.e===void 0&&(e.x=r,this.t=e,r!==void 0?r.e=e:r0(function(){var n;(n=t.W)==null||n.call(t)}))};Nt.prototype.U=function(e){var t=this;if(this.t!==void 0){var r=e.e,n=e.x;r!==void 0&&(r.x=n,e.e=void 0),n!==void 0&&(n.e=r,e.x=void 0),e===this.t&&(this.t=n,n===void 0&&r0(function(){var o;(o=t.Z)==null||o.call(t)}))}};Nt.prototype.subscribe=function(e){var t=this;return lW(function(){var r=t.value,n=Me;Me=void 0;try{e(r)}finally{Me=n}},{name:"sub"})};Nt.prototype.valueOf=function(){return this.value};Nt.prototype.toString=function(){return this.value+""};Nt.prototype.toJSON=function(){return this.value};Nt.prototype.peek=function(){var e=this;return r0(function(){return e.value})};Object.defineProperty(Nt.prototype,"value",{get:function(){var e=JT(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Bf>100)throw new Error("Cycle detected");(function(r){yo!==0&&Bf===0&&r.l!==bE&&(r.l=bE,zf={S:r,v:r.v,i:r.i,o:zf})})(this),this.v=e,this.i++,Hf++,yo++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{t0()}}}});function XT(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function QT(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function eO(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function Ki(e,t){Nt.call(this,void 0),this.x=e,this.s=void 0,this.g=Hf-1,this.f=4,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}Ki.prototype=new Nt;Ki.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Hf))return!0;if(this.g=Hf,this.f|=1,this.i>0&&!XT(this))return this.f&=-2,!0;var e=Me;try{QT(this),Me=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return Me=e,eO(this),this.f&=-2,!0};Ki.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}Nt.prototype.S.call(this,e)};Ki.prototype.U=function(e){if(this.t!==void 0&&(Nt.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Ki.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Ki.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=JT(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function tO(e){var t=e.m;if(e.m=void 0,typeof t=="function"){yo++;var r=Me;Me=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,n0(e),n}finally{Me=r,t0()}}}function n0(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,tO(e)}function sW(e){if(Me!==this)throw new Error("Out-of-order effect");eO(this),Me=e,this.f&=-2,8&this.f&&n0(this),t0()}function Yi(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=t?.name}Yi.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.m=t)}finally{e()}};Yi.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,tO(this),QT(this),yo++;var e=Me;return Me=this,sW.bind(this,e)};Yi.prototype.N=function(){2&this.f||(this.f|=2,this.u=Mu,Mu=this)};Yi.prototype.d=function(){this.f|=8,1&this.f||n0(this)};Yi.prototype.dispose=function(){this.d()};function lW(e,t){var r=new Yi(e,t);try{r.c()}catch(o){throw r.d(),o}var n=r.d.bind(r);return n[Symbol.dispose]=n,n}new Set(Object.getOwnPropertyNames(Symbol).map(function(e){return Symbol[e]}).filter(function(e){return typeof e=="symbol"}));var rO=V({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return(function r(n,o,i){function a(l,c){if(!o[l]){if(!n[l]){var d=typeof hd=="function"&&hd;if(!c&&d)return d(l,!0);if(s)return s(l,!0);var f=new Error("Cannot find module '"+l+"'");throw f.code="MODULE_NOT_FOUND",f}var p=o[l]={exports:{}};n[l][0].call(p.exports,function(h){var m=n[l][1][h];return a(m||h)},p,p.exports,r,n,o,i)}return o[l].exports}for(var s=typeof hd=="function"&&hd,u=0;u<i.length;u++)a(i[u]);return a})({1:[function(r,n,o){n.exports=function(i){if(typeof Map!="function"||i){var a=r("./similar");return new a}else return new Map}},{"./similar":2}],2:[function(r,n,o){function i(){return this.list=[],this.lastItem=void 0,this.size=0,this}i.prototype.get=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a))return this.lastItem.val;if(s=this.indexOf(a),s>=0)return this.lastItem=this.list[s],this.list[s].val},i.prototype.set=function(a,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=s,this):(u=this.indexOf(a),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:a,val:s},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),s=this.indexOf(a),s>=0)return this.size--,this.list.splice(s,1)[0]},i.prototype.has=function(a){var s;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(s=this.indexOf(a),s>=0?(this.lastItem=this.list[s],!0):!1)},i.prototype.forEach=function(a,s){var u;for(u=0;u<this.size;u++)a.call(s||this,this.list[u].val,this.list[u].key,this)},i.prototype.indexOf=function(a){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,a))return s;return-1},i.prototype.isEqual=function(a,s){return a===s||a!==a&&s!==s},n.exports=i},{}],3:[function(r,n,o){var i=r("map-or-similar");n.exports=function(l){var c=new i(!1),d=[];return function(f){var p=function(){var h=c,m,v,g=arguments.length-1,E=Array(g+1),_=!0,x;if((p.numArgs||p.numArgs===0)&&p.numArgs!==g+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(x=0;x<g;x++){if(E[x]={cacheItem:h,arg:arguments[x]},h.has(arguments[x])){h=h.get(arguments[x]);continue}_=!1,m=new i(!1),h.set(arguments[x],m),h=m}return _&&(h.has(arguments[g])?v=h.get(arguments[g]):_=!1),_||(v=f.apply(null,arguments),h.set(arguments[g],v)),l>0&&(E[g]={cacheItem:h,arg:arguments[g]},_?a(d,E):d.push(E),d.length>l&&s(d.shift())),p.wasMemoized=_,p.numArgs=g+1,v};return p.limit=l,p.wasMemoized=!1,p.cache=c,p.lru=d,p}};function a(l,c){var d=l.length,f=c.length,p,h,m;for(h=0;h<d;h++){for(p=!0,m=0;m<f;m++)if(!u(l[h][m].arg,c[m].arg)){p=!1;break}if(p)break}l.push(l.splice(h,1)[0])}function s(l){var c=l.length,d=l[c-1],f,p;for(d.cacheItem.delete(d.arg),p=c-2;p>=0&&(d=l[p],f=d.cacheItem.get(d.arg),!f||!f.size);p--)d.cacheItem.delete(d.arg)}function u(l,c){return l===c||l!==l&&c!==c}},{"map-or-similar":1}]},{},[3])(3)})}});function Zi(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(s,u){var l=u.match(/\n([\t ]+|(?!\s).)/g);return l?s.concat(l.map(function(c){var d,f;return(f=(d=c.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&f!==void 0?f:0})):s},[]);if(o.length){var i=new RegExp(`
643
- [ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(s){return s.replace(i,`
644
- `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(s,u){var l=a.match(/(?:^|\n)( *)$/),c=l?l[1]:"",d=s;typeof s=="string"&&s.includes(`
645
- `)&&(d=String(s).split(`
646
- `).map(function(f,p){return p===0?f:""+c+f}).join(`
647
- `)),a+=d+n[u+1]}),a}var he=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:uW}=he,xn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},cW=uW,Vo=xn[cW]||xn.info,mu={trace:(e,...t)=>{Vo<=xn.trace&&console.trace(e,...t)},debug:(e,...t)=>{Vo<=xn.debug&&console.debug(e,...t)},info:(e,...t)=>{Vo<=xn.info&&console.info(e,...t)},warn:(e,...t)=>{Vo<=xn.warn&&console.warn(e,...t)},error:(e,...t)=>{Vo<=xn.error&&console.error(e,...t)},log:(e,...t)=>{Vo<xn.silent&&console.log(e,...t)}},Pb=new Set,_t=e=>(t,...r)=>{if(!Pb.has(t))return Pb.add(t),mu[e](t,...r)};_t.clear=()=>Pb.clear();_t.trace=_t("trace");_t.debug=_t("debug");_t.info=_t("info");_t.warn=_t("warn");_t.error=_t("error");_t.log=_t("log");var dW=class extends YV{constructor(e){super({name:"ImplicitActionsDuringRendering",category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:Zi`
648
- We detected that you use an implicit action arg while ${e.phase} of your story.
649
- ${e.deprecated?`
650
- This is deprecated and won't work in Storybook 8 anymore.
651
- `:""}
652
- Please provide an explicit spy to your args like this:
653
- import { fn } from 'storybook/test';
654
- ...
655
- args: {
656
- ${e.name}: fn()
657
- }`}),this.data=e}},nO=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.GHOST_STORIES_REQUEST="ghostStoriesRequest",e.GHOST_STORIES_RESPONSE="ghostStoriesResponse",e.AI_SETUP_ANALYTICS_RESPONSE="aiSetupAnalyticsResponse",e.AI_SETUP_ANALYTICS_REQUEST="aiSetupAnalyticsRequest",e.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",e.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",e.MANAGER_INERT_ATTRIBUTE_CHANGED="managerInertAttributeChanged",e.SHARE_ISOLATE_MODE="shareIsolateMode",e.AI_PROMPT_NUDGE="aiPromptNudge",e.SIDEBAR_FILTER_CHANGED="sidebarFilterChanged",e))(nO||{}),{CHANNEL_WS_DISCONNECT:x0e,CHANNEL_CREATED:C0e,CONFIG_ERROR:A0e,CREATE_NEW_STORYFILE_REQUEST:P0e,CREATE_NEW_STORYFILE_RESPONSE:T0e,CURRENT_STORY_WAS_SET:O0e,DOCS_PREPARED:$0e,DOCS_RENDERED:q0e,FILE_COMPONENT_SEARCH_REQUEST:k0e,FILE_COMPONENT_SEARCH_RESPONSE:M0e,FORCE_RE_RENDER:N0e,FORCE_REMOUNT:vE,GLOBALS_UPDATED:I0e,NAVIGATE_URL:j0e,PLAY_FUNCTION_THREW_EXCEPTION:D0e,UNHANDLED_ERRORS_WHILE_PLAYING:L0e,PRELOAD_ENTRIES:F0e,PREVIEW_INITIALIZED:B0e,PREVIEW_BUILDER_PROGRESS:z0e,PREVIEW_KEYDOWN:H0e,REGISTER_SUBSCRIPTION:U0e,RESET_STORY_ARGS:V0e,SELECT_STORY:W0e,SET_CONFIG:G0e,SET_CURRENT_STORY:fW,SET_FILTER:K0e,SET_GLOBALS:Y0e,SET_INDEX:Z0e,SET_STORIES:J0e,SHARED_STATE_CHANGED:X0e,SHARED_STATE_SET:Q0e,STORIES_COLLAPSE_ALL:e1e,STORIES_EXPAND_ALL:t1e,STORY_ARGS_UPDATED:r1e,STORY_CHANGED:n1e,STORY_ERRORED:o1e,STORY_INDEX_INVALIDATED:i1e,STORY_MISSING:a1e,STORY_PREPARED:s1e,STORY_RENDER_PHASE_CHANGED:oO,STORY_RENDERED:l1e,STORY_FINISHED:u1e,STORY_SPECIFIED:c1e,STORY_THREW_EXCEPTION:d1e,STORY_UNCHANGED:f1e,STORY_HOT_UPDATED:p1e,UPDATE_GLOBALS:h1e,UPDATE_QUERY_PARAMS:m1e,UPDATE_STORY_ARGS:g1e,REQUEST_WHATS_NEW_DATA:b1e,RESULT_WHATS_NEW_DATA:v1e,SET_WHATS_NEW_CACHE:y1e,TOGGLE_WHATS_NEW_NOTIFICATIONS:w1e,TELEMETRY_ERROR:E1e,SAVE_STORY_REQUEST:_1e,SAVE_STORY_RESPONSE:S1e,ARGTYPES_INFO_REQUEST:R1e,ARGTYPES_INFO_RESPONSE:x1e,GHOST_STORIES_REQUEST:C1e,GHOST_STORIES_RESPONSE:A1e,AI_SETUP_ANALYTICS_RESPONSE:P1e,AI_SETUP_ANALYTICS_REQUEST:T1e,OPEN_IN_EDITOR_REQUEST:O1e,OPEN_IN_EDITOR_RESPONSE:$1e,MANAGER_INERT_ATTRIBUTE_CHANGED:q1e,SHARE_ISOLATE_MODE:k1e,AI_PROMPT_NUDGE:M1e,SIDEBAR_FILTER_CHANGED:N1e}=nO,yE="outline",pW=Xy(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)),hW=Xn({name:we(),message:we()}),mW=Kp(we(),YT(we())),iO={name:we(),path:we(),description:ut(we()),summary:ut(we()),jsDocTags:mW,argTypes:ut(pW),error:ut(hW)},gW={...iO,import:ut(we())},bW=Qy(gW),vW=Qy({id:we(),...iO,subcomponents:ut(Kp(we(),bW))});ut(vW);var yW=(e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),i=(o||e).split(r).filter(a=>!!a);return{root:o?n:null,groups:i}},Yp="storybook/highlight",wW=`${Yp}/add`,EW=`${Yp}/remove`,_W=`${Yp}/reset`,SW=`${Yp}/scroll-into-view`,wE=2147483647,Cn=28,RW="storybook/actions",xW=`${RW}/action-event`,CW={depth:10,clearOnStoryChange:!0,limit:50},aO=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:aO(r,t)},AW=e=>!!(typeof e=="object"&&e&&aO(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),PW=e=>{if(AW(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r?.value;return typeof n=="object"&&n?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e};function o0(e,t={}){let r={...CW,...t},n=function(...o){if(t.implicit){let d=("__STORYBOOK_PREVIEW__"in he?he.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(f=>f.phase==="playing"||f.phase==="rendering");if(d){let f=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,p=new dW({phase:d.phase,name:e,deprecated:f});if(f)console.warn(p);else throw p}}let i=Sv.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),s=5,u=o.map(PW),l=o.length>1?u:u[0],c={id:a,count:0,data:{name:e,args:l},options:{...r,maxDepth:s+(r.depth||3)}};i.emit(xW,c)};return n.isAction=!0,n.implicit=t.implicit,n}var EE="backgrounds",TW={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},OW={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},sO=Object.entries(OW);function Zp(e){return String(e)}Zp.open="";Zp.close="";sO.reduce((e,[t])=>(e[t]=Zp,e),{isColorSupported:!1});function $W(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function qW(e=!1){let t=$W(e),r=(a,s,u,l)=>{let c="",d=0;do c+=a.substring(d,l)+u,d=l+s.length,l=a.indexOf(s,d);while(~l);return c+a.substring(d)},n=(a,s,u=a)=>{let l=c=>{let d=String(c),f=d.indexOf(s,a.length);return~f?a+r(d,s,u,f)+s:a+d+s};return l.open=a,l.close=s,l},o={isColorSupported:t},i=a=>`\x1B[${a}m`;for(let[a,s]of sO)o[a]=t?n(i(s[0]),i(s[1]),s[2]):Zp;return o}var Jr=qW();function lO(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function kW(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function Oc(e,t,r,n,o,i,a=": "){let s="",u=0,l=e.next();if(!l.done){s+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(s+=c,u++===t.maxWidth){s+="…";break}let d=i(l.value[0],t,c,n,o),f=i(l.value[1],t,c,n,o);s+=d+a+f,l=e.next(),l.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function i0(e,t,r,n,o,i){let a="",s=0,u=e.next();if(!u.done){a+=t.spacingOuter;let l=r+t.indent;for(;!u.done;){if(a+=l,s++===t.maxWidth){a+="…";break}a+=i(u.value,t,l,n,o),u=e.next(),u.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function Uf(e,t,r,n,o,i){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=l=>l instanceof DataView,u=s(e)?e.byteLength:e.length;if(u>0){a+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<u;c++){if(a+=l,c===t.maxWidth){a+="…";break}(s(e)||c in e)&&(a+=i(s(e)?e.getInt8(c):e[c],t,l,n,o)),c<u-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}function a0(e,t,r,n,o,i){let a="",s=kW(e,t.compareKeys);if(s.length>0){a+=t.spacingOuter;let u=r+t.indent;for(let l=0;l<s.length;l++){let c=s[l],d=i(c,t,u,n,o),f=i(e[c],t,u,n,o);a+=`${u+d}: ${f}`,l<s.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}var MW=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,qm=" ",NW=(e,t,r,n,o,i)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+qm}[${Uf(e.sample,t,r,n,o,i)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+qm}{${a0(e.sample,t,r,n,o,i)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+qm+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},IW=e=>e&&e.$$typeof===MW,jW={serialize:NW,test:IW},DW=" ",uO=new Set(["DOMStringMap","NamedNodeMap"]),LW=/^(?:HTML\w*Collection|NodeList)$/;function FW(e){return uO.has(e)||LW.test(e)}var BW=e=>e&&e.constructor&&!!e.constructor.name&&FW(e.constructor.name);function zW(e){return e.constructor.name==="NamedNodeMap"}var HW=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+DW)+(uO.has(a)?`{${a0(zW(e)?[...e].reduce((s,u)=>(s[u.name]=u.value,s),{}):{...e},t,r,n,o,i)}}`:`[${Uf([...e],t,r,n,o,i)}]`)},UW={serialize:HW,test:BW};function cO(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function s0(e,t,r,n,o,i,a){let s=n+r.indent,u=r.colors;return e.map(l=>{let c=t[l],d=a(c,r,s,o,i);return typeof c!="string"&&(d.includes(`
658
- `)&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+l+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function l0(e,t,r,n,o,i){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?dO(a,t):i(a,t,r,n,o))).join("")}function dO(e,t){let r=t.colors.content;return r.open+cO(e)+r.close}function VW(e,t){let r=t.colors.comment;return`${r.open}<!--${cO(e)}-->${r.close}`}function u0(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function c0(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var WW=1,fO=3,pO=8,hO=11,GW=/^(?:(?:HTML|SVG)\w*)?Element$/;function KW(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function YW(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||KW(e);return r===WW&&(GW.test(t)||o)||r===fO&&t==="Text"||r===pO&&t==="Comment"||r===hO&&t==="DocumentFragment"}var ZW=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&YW(e)};function JW(e){return e.nodeType===fO}function XW(e){return e.nodeType===pO}function km(e){return e.nodeType===hO}var QW=(e,t,r,n,o,i)=>{if(JW(e))return dO(e.data,t);if(XW(e))return VW(e.data,t);let a=km(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?c0(a,t):u0(a,s0(km(e)?[]:Array.from(e.attributes,s=>s.name).sort(),km(e)?{}:[...e.attributes].reduce((s,u)=>(s[u.name]=u.value,s),{}),t,r+t.indent,n,o,i),l0(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},eG={serialize:QW,test:ZW},tG="@@__IMMUTABLE_ITERABLE__@@",rG="@@__IMMUTABLE_LIST__@@",nG="@@__IMMUTABLE_KEYED__@@",oG="@@__IMMUTABLE_MAP__@@",_E="@@__IMMUTABLE_ORDERED__@@",iG="@@__IMMUTABLE_RECORD__@@",aG="@@__IMMUTABLE_SEQ__@@",sG="@@__IMMUTABLE_SET__@@",lG="@@__IMMUTABLE_STACK__@@",Pi=e=>`Immutable.${e}`,Jp=e=>`[${e}]`,tc=" ",SE="…";function uG(e,t,r,n,o,i,a){return++n>t.maxDepth?Jp(Pi(a)):`${Pi(a)+tc}{${Oc(e.entries(),t,r,n,o,i)}}`}function cG(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function dG(e,t,r,n,o,i){let a=Pi(e._name||"Record");return++n>t.maxDepth?Jp(a):`${a+tc}{${Oc(cG(e),t,r,n,o,i)}}`}function fG(e,t,r,n,o,i){let a=Pi("Seq");return++n>t.maxDepth?Jp(a):e[nG]?`${a+tc}{${e._iter||e._object?Oc(e.entries(),t,r,n,o,i):SE}}`:`${a+tc}[${e._iter||e._array||e._collection||e._iterable?i0(e.values(),t,r,n,o,i):SE}]`}function Mm(e,t,r,n,o,i,a){return++n>t.maxDepth?Jp(Pi(a)):`${Pi(a)+tc}[${i0(e.values(),t,r,n,o,i)}]`}var pG=(e,t,r,n,o,i)=>e[oG]?uG(e,t,r,n,o,i,e[_E]?"OrderedMap":"Map"):e[rG]?Mm(e,t,r,n,o,i,"List"):e[sG]?Mm(e,t,r,n,o,i,e[_E]?"OrderedSet":"Set"):e[lG]?Mm(e,t,r,n,o,i,"Stack"):e[aG]?fG(e,t,r,n,o,i):dG(e,t,r,n,o,i),hG=e=>e&&(e[tG]===!0||e[iG]===!0),mG={serialize:pG,test:hG};function mO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var RE={exports:{}},Oe={},xE;function gG(){if(xE)return Oe;xE=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),p=Symbol.for("react.client.reference");function h(m){if(typeof m=="object"&&m!==null){var v=m.$$typeof;switch(v){case e:switch(m=m.type,m){case r:case o:case n:case u:case l:case f:return m;default:switch(m=m&&m.$$typeof,m){case a:case s:case d:case c:return m;case i:return m;default:return v}}case t:return v}}}return Oe.ContextConsumer=i,Oe.ContextProvider=a,Oe.Element=e,Oe.ForwardRef=s,Oe.Fragment=r,Oe.Lazy=d,Oe.Memo=c,Oe.Portal=t,Oe.Profiler=o,Oe.StrictMode=n,Oe.Suspense=u,Oe.SuspenseList=l,Oe.isContextConsumer=function(m){return h(m)===i},Oe.isContextProvider=function(m){return h(m)===a},Oe.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},Oe.isForwardRef=function(m){return h(m)===s},Oe.isFragment=function(m){return h(m)===r},Oe.isLazy=function(m){return h(m)===d},Oe.isMemo=function(m){return h(m)===c},Oe.isPortal=function(m){return h(m)===t},Oe.isProfiler=function(m){return h(m)===o},Oe.isStrictMode=function(m){return h(m)===n},Oe.isSuspense=function(m){return h(m)===u},Oe.isSuspenseList=function(m){return h(m)===l},Oe.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===r||m===o||m===n||m===u||m===l||typeof m=="object"&&m!==null&&(m.$$typeof===d||m.$$typeof===c||m.$$typeof===a||m.$$typeof===i||m.$$typeof===s||m.$$typeof===p||m.getModuleId!==void 0)},Oe.typeOf=h,Oe}var CE;function bG(){return CE||(CE=1,RE.exports=gG()),RE.exports}var gO=bG(),vG=mO(gO),yG=lO({__proto__:null,default:vG},[gO]),AE={exports:{}},Pe={},PE;function wG(){if(PE)return Pe;PE=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function m(v){if(typeof v=="object"&&v!==null){var g=v.$$typeof;switch(g){case e:switch(v=v.type,v){case r:case o:case n:case l:case c:return v;default:switch(v=v&&v.$$typeof,v){case s:case a:case u:case f:case d:case i:return v;default:return g}}case t:return g}}}return Pe.ContextConsumer=a,Pe.ContextProvider=i,Pe.Element=e,Pe.ForwardRef=u,Pe.Fragment=r,Pe.Lazy=f,Pe.Memo=d,Pe.Portal=t,Pe.Profiler=o,Pe.StrictMode=n,Pe.Suspense=l,Pe.SuspenseList=c,Pe.isAsyncMode=function(){return!1},Pe.isConcurrentMode=function(){return!1},Pe.isContextConsumer=function(v){return m(v)===a},Pe.isContextProvider=function(v){return m(v)===i},Pe.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},Pe.isForwardRef=function(v){return m(v)===u},Pe.isFragment=function(v){return m(v)===r},Pe.isLazy=function(v){return m(v)===f},Pe.isMemo=function(v){return m(v)===d},Pe.isPortal=function(v){return m(v)===t},Pe.isProfiler=function(v){return m(v)===o},Pe.isStrictMode=function(v){return m(v)===n},Pe.isSuspense=function(v){return m(v)===l},Pe.isSuspenseList=function(v){return m(v)===c},Pe.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===o||v===n||v===l||v===c||v===p||typeof v=="object"&&v!==null&&(v.$$typeof===f||v.$$typeof===d||v.$$typeof===i||v.$$typeof===a||v.$$typeof===u||v.$$typeof===h||v.getModuleId!==void 0)},Pe.typeOf=m,Pe}var TE;function EG(){return TE||(TE=1,AE.exports=wG()),AE.exports}var bO=EG(),_G=mO(bO),SG=lO({__proto__:null,default:_G},[bO]),RG=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],lo=Object.fromEntries(RG.map(e=>[e,t=>SG[e](t)||yG[e](t)]));function vO(e,t=[]){if(Array.isArray(e))for(let r of e)vO(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function OE(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(lo.isFragment(e))return"React.Fragment";if(lo.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(lo.isContextProvider(e))return"Context.Provider";if(lo.isContextConsumer(e))return"Context.Consumer";if(lo.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(lo.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function xG(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var CG=(e,t,r,n,o,i)=>++n>t.maxDepth?c0(OE(e),t):u0(OE(e),s0(xG(e),e.props,t,r+t.indent,n,o,i),l0(vO(e.props.children),t,r+t.indent,n,o,i),t,r),AG=e=>e!=null&&lo.isElement(e),PG={serialize:CG,test:AG},TG=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function OG(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var $G=(e,t,r,n,o,i)=>++n>t.maxDepth?c0(e.type,t):u0(e.type,e.props?s0(OG(e),e.props,t,r+t.indent,n,o,i):"",e.children?l0(e.children,t,r+t.indent,n,o,i):"",t,r),qG=e=>e&&e.$$typeof===TG,kG={serialize:$G,test:qG},yO=Object.prototype.toString,MG=Date.prototype.toISOString,NG=Error.prototype.toString,$E=RegExp.prototype.toString;function Yd(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function IG(e){return typeof window<"u"&&e===window}var jG=/^Symbol\((.*)\)(.*)$/,DG=/\n/g,wO=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function LG(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function FG(e){return Object.is(e,-0)?"-0":String(e)}function BG(e){return`${e}n`}function qE(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function kE(e){return String(e).replace(jG,"Symbol($1)")}function ME(e){return`[${NG.call(e)}]`}function EO(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return FG(e);if(o==="bigint")return BG(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return qE(e,t);if(o==="symbol")return kE(e);let i=yO.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?qE(e,t):i==="[object Symbol]"?kE(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":MG.call(e):i==="[object Error]"?ME(e):i==="[object RegExp]"?r?$E.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):$E.call(e):e instanceof Error?ME(e):null}function _O(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let a=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return An(e.toJSON(),t,r,n,o,!0);let u=yO.call(e);return u==="[object Arguments]"?a?"[Arguments]":`${s?"":"Arguments "}[${Uf(e,t,r,n,o,An)}]`:LG(u)?a?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Uf(e,t,r,n,o,An)}]`:u==="[object Map]"?a?"[Map]":`Map {${Oc(e.entries(),t,r,n,o,An," => ")}}`:u==="[object Set]"?a?"[Set]":`Set {${i0(e.values(),t,r,n,o,An)}}`:a||IG(e)?`[${Yd(e)}]`:`${s||!t.printBasicPrototype&&Yd(e)==="Object"?"":`${Yd(e)} `}{${a0(e,t,r,n,o,An)}}`}var zG={test:e=>e&&e instanceof Error,serialize(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o,e];let a=++n>t.maxDepth,{message:s,cause:u,...l}=e,c={message:s,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...l},d=e.name!=="Error"?e.name:Yd(e);return a?`[${d}]`:`${d} {${Oc(Object.entries(c).values(),t,r,n,o,i)}}`}};function HG(e){return e.serialize!=null}function SO(e,t,r,n,o,i){let a;try{a=HG(e)?e.serialize(t,r,n,o,i,An):e.print(t,s=>An(s,r,n,o,i),s=>{let u=n+r.indent;return u+s.replaceAll(DG,`
659
- ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new wO(s.message,s.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function RO(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new wO(n.message,n.stack)}return null}function An(e,t,r,n,o,i){let a=RO(t.plugins,e);if(a!==null)return SO(a,e,t,r,n,o);let s=EO(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:_O(e,t,r,n,o,i)}var d0={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},xO=Object.keys(d0),or={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:d0};function UG(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(or,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function VG(){return xO.reduce((e,t)=>{let r=d0[t],n=r&&Jr[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function WG(){return xO.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function CO(e){return e?.printFunctionName??or.printFunctionName}function AO(e){return e?.escapeRegex??or.escapeRegex}function PO(e){return e?.escapeString??or.escapeString}function NE(e){return{callToJSON:e?.callToJSON??or.callToJSON,colors:e?.highlight?VG():WG(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:or.compareKeys,escapeRegex:AO(e),escapeString:PO(e),indent:e?.min?"":GG(e?.indent??or.indent),maxDepth:e?.maxDepth??or.maxDepth,maxWidth:e?.maxWidth??or.maxWidth,min:e?.min??or.min,plugins:e?.plugins??or.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:CO(e),spacingInner:e?.min?" ":`
660
- `,spacingOuter:e?.min?"":`
661
- `}}function GG(e){return Array.from({length:e+1}).join(" ")}function xr(e,t){if(t&&(UG(t),t.plugins)){let n=RO(t.plugins,e);if(n!==null)return SO(n,e,NE(t),"",0,[])}let r=EO(e,CO(t),AO(t),PO(t));return r!==null?r:_O(e,NE(t),"",0,[])}var f0={AsymmetricMatcher:jW,DOMCollection:UW,DOMElement:eG,Immutable:mG,ReactElement:PG,ReactTestComponent:kG,Error:zG},IE={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},KG={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Ti="…";function YG(e,t){let r=IE[KG[t]]||IE[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function ZG({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:s=[],truncate:u=1/0,stylize:l=String}={},c){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:s,inspect:c,stylize:l};return d.colors&&(d.stylize=YG),d}function JG(e){return e>="\uD800"&&e<="\uDBFF"}function Qn(e,t,r=Ti){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&JG(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function fr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",s="",u="";for(let l=0;l<o;l+=1){let c=l+1===e.length,d=l+2===e.length;u=`${Ti}(${e.length-l})`;let f=e[l];t.truncate=i-a.length-(c?0:n.length);let p=s||r(f,t)+(c?"":n),h=a.length+p.length,m=h+u.length;if(c&&h>i&&a.length+u.length<=i||!c&&!d&&m>i||(s=c?"":r(e[l+1],t)+(d?"":n),!c&&d&&m>i&&h+s.length>i))break;if(a+=p,!c&&!d&&h+s.length>=i){u=`${Ti}(${e.length-l-1})`;break}u=""}return`${a}${u}`}function XG(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function rc([e,t],r){return r.truncate-=2,typeof e=="string"?e=XG(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function QG(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=fr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=fr(r.map(i=>[i,e[i]]),t,rc)),`[ ${n}${o?`, ${o}`:""} ]`}var eK=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Dr(e,t){let r=eK(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let s=`${t.stylize(Qn(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){o+=`${Ti}(${e.length-e[a]+1})`;break}o+=s}let i="";return n.length&&(i=fr(n.map(a=>[a,e[a]]),t,rc)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function tK(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Qn(n[1],t.truncate-o.length-1)}`,"date")}function jE(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Qn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function rK([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function nK(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function oK(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${fr(nK(e),t,rK)} }`)}var iK=Number.isNaN||(e=>e!==e);function DE(e,t){return iK(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Qn(String(e),t.truncate),"number")}function LE(e,t){let r=Qn(e.toString(),t.truncate-1);return r!==Ti&&(r+="n"),t.stylize(r,"bigint")}function aK(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Qn(o,n)}/${r}`,"regexp")}function sK(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function lK(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${fr(sK(e),t)} }`)}var FE=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),uK={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},cK=16;function dK(e){return uK[e]||`\\u${`0000${e.charCodeAt(0).toString(cK)}`.slice(-4)}`}function BE(e,t){return FE.test(e)&&(e=e.replace(FE,dK)),t.stylize(`'${Qn(e,t.truncate-2)}'`,"string")}function zE(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var TO=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(TO=(n,o)=>{let[i,a]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(a,o)}}`})}catch{}var fK=TO;function Zd(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=fr(r.map(s=>[s,e[s]]),t,rc),i=fr(n.map(s=>[s,e[s]]),t,rc);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}var Nm=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function pK(e,t){let r="";return Nm&&Nm in e&&(r=e[Nm]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Zd(e,t)}`}function hK(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${fr(e,t)} ]`)}var mK=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function gK(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>mK.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Qn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=fr(r.map(a=>[a,e[a]]),t,rc);return`${n}${o}${i?` { ${i} }`:""}`}function bK([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Tb(e,t){return fr(e,t,vK,`
662
- `)}function vK(e,t){switch(e.nodeType){case 1:return OO(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function OO(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=fr(r.map(c=>[c,e.getAttribute(c)]),t,bK," ")),t.truncate-=s.length;let u=t.truncate,l=Tb(e.children,t);return l&&l.length>u&&(l=`${Ti}(${e.children.length})`),`${o}${s}${i}${l}${a}`}var yK=typeof Symbol=="function"&&typeof Symbol.for=="function",Im=yK?Symbol.for("chai/inspect"):"@@chai/inspect",jm=Symbol.for("nodejs.util.inspect.custom"),HE=new WeakMap,UE={},VE={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:DE,Number:DE,bigint:LE,BigInt:LE,string:BE,String:BE,function:jE,Function:jE,symbol:zE,Symbol:zE,Array:QG,Date:tK,Map:oK,Set:lK,RegExp:aK,Promise:fK,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:hK,Int8Array:Dr,Uint8Array:Dr,Uint8ClampedArray:Dr,Int16Array:Dr,Uint16Array:Dr,Int32Array:Dr,Uint32Array:Dr,Float32Array:Dr,Float64Array:Dr,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:gK,HTMLCollection:Tb,NodeList:Tb},wK=(e,t,r)=>Im in e&&typeof e[Im]=="function"?e[Im](t):jm in e&&typeof e[jm]=="function"?e[jm](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&HE.has(e.constructor)?HE.get(e.constructor)(e,t):UE[r]?UE[r](e,t):"",EK=Object.prototype.toString;function Ob(e,t={}){let r=ZG(t,Ob),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=EK.call(e).slice(8,-1)),o in VE)return VE[o](e,r);if(n&&e){let a=wK(e,r,o);if(a)return typeof a=="string"?a:Ob(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Zd(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?OO(e,r):"constructor"in e?e.constructor!==Object?pK(e,r):Zd(e,r):e===Object(e)?Zd(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:_K,DOMCollection:SK,DOMElement:RK,Immutable:xK,ReactElement:CK,ReactTestComponent:AK}=f0,WE=[AK,CK,RK,SK,xK,_K];function Ht(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=xr(e,{maxDepth:t,escapeString:!1,plugins:WE,...n})}catch{i=xr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:WE,...n})}return i.length>=o&&t>1?Ht(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):i}var PK=/%[sdjifoOc%]/g;function TK(...e){if(typeof e[0]!="string"){let i=[];for(let a=0;a<e.length;a++)i.push(ha(e[a],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(PK,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():ha(a,{depth:0,colors:!1}):String(a)}case"%d":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ha(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ha(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(a){let s=a.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw a}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ha(i)}`;return o}function ha(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ob(e,t)}function $O(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Lr(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Jd(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function OK(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Vf(e){return Object.prototype.toString.apply(e).slice(8,-1)}function $K(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function qO(e){let t=new Set;return OK(e)?[]:($K(e,t),Array.from(t))}var kO={forceWritable:!1};function GE(e,t=kO){return $b(e,new WeakMap,t)}function $b(e,t,r=kO){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=$b(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=qO(e);for(let a of i){let s=Object.getOwnPropertyDescriptor(e,a);if(!s)continue;let u=$b(e[a],t,r);r.forceWritable?Object.defineProperty(o,a,{enumerable:s.enumerable,configurable:!0,writable:!0,value:u}):"get"in s?Object.defineProperty(o,a,{...s,get(){return u}}):Object.defineProperty(o,a,{...s,value:u})}return o}return e}function qK(){}var Et=-1,pt=1,Ye=0,Ue=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function kK(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function MO(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o}function KE(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let i=0,a=1;for(;;){let s=e.substring(o-a),u=t.indexOf(s);if(u===-1)return i;a+=u,(u===0||e.substring(o-a)===t.substring(0,a))&&(i=a,a++)}}function MK(e){let t=!1,r=[],n=0,o=null,i=0,a=0,s=0,u=0,l=0;for(;i<e.length;)e[i][0]===Ye?(r[n++]=i,a=u,s=l,u=0,l=0,o=e[i][1]):(e[i][0]===pt?u+=e[i][1].length:l+=e[i][1].length,o&&o.length<=Math.max(a,s)&&o.length<=Math.max(u,l)&&(e.splice(r[n-1],0,new Ue(Et,o)),e[r[n-1]+1][0]=pt,n--,n--,i=n>0?r[n-1]:-1,a=0,s=0,u=0,l=0,o=null,t=!0)),i++;for(t&&NO(e),jK(e),i=1;i<e.length;){if(e[i-1][0]===Et&&e[i][0]===pt){let c=e[i-1][1],d=e[i][1],f=KE(c,d),p=KE(d,c);f>=p?(f>=c.length/2||f>=d.length/2)&&(e.splice(i,0,new Ue(Ye,d.substring(0,f))),e[i-1][1]=c.substring(0,c.length-f),e[i+1][1]=d.substring(f),i++):(p>=c.length/2||p>=d.length/2)&&(e.splice(i,0,new Ue(Ye,c.substring(0,p))),e[i-1][0]=pt,e[i-1][1]=d.substring(0,d.length-p),e[i+1][0]=Et,e[i+1][1]=c.substring(p),i++),i++}i++}}var YE=/[^a-z0-9]/i,ZE=/\s/,JE=/[\r\n]/,NK=/\n\r?\n$/,IK=/^\r?\n\r?\n/;function jK(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Ye&&e[t+1][0]===Ye){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=MO(r,n);if(i){let c=n.substring(n.length-i);r=r.substring(0,r.length-i),n=c+n.substring(0,n.length-i),o=c+o}let a=r,s=n,u=o,l=gd(r,n)+gd(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let c=gd(r,n)+gd(n,o);c>=l&&(l=c,a=r,s=n,u=o)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=s,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function NO(e){e.push(new Ue(Ye,""));let t=0,r=0,n=0,o="",i="",a;for(;t<e.length;)switch(e[t][0]){case pt:n++,i+=e[t][1],t++;break;case Et:r++,o+=e[t][1],t++;break;case Ye:r+n>1?(r!==0&&n!==0&&(a=kK(i,o),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===Ye?e[t-r-n-1][1]+=i.substring(0,a):(e.splice(0,0,new Ue(Ye,i.substring(0,a))),t++),i=i.substring(a),o=o.substring(a)),a=MO(i,o),a!==0&&(e[t][1]=i.substring(i.length-a)+e[t][1],i=i.substring(0,i.length-a),o=o.substring(0,o.length-a))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Ue(Et,o)),t++),i.length&&(e.splice(t,0,new Ue(pt,i)),t++),t++):t!==0&&e[t-1][0]===Ye?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ye&&e[t+1][0]===Ye&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&NO(e)}function gd(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(YE),i=n.match(YE),a=o&&r.match(ZE),s=i&&n.match(ZE),u=a&&r.match(JE),l=s&&n.match(JE),c=u&&e.match(NK),d=l&&t.match(IK);return c||d?5:u||l?4:o&&!a&&s?3:a||s?2:o||i?1:0}var IO="Compared values have no visual difference.",DK="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",bd={},XE;function LK(){if(XE)return bd;XE=1,Object.defineProperty(bd,"__esModule",{value:!0}),bd.default=f;let e="diff-sequences",t=0,r=(p,h,m,v,g)=>{let E=0;for(;p<h&&m<v&&g(p,m);)p+=1,m+=1,E+=1;return E},n=(p,h,m,v,g)=>{let E=0;for(;p<=h&&m<=v&&g(h,v);)h-=1,v-=1,E+=1;return E},o=(p,h,m,v,g,E,_)=>{let x=0,S=-p,y=E[x],b=y;E[x]+=r(y+1,h,v+y-S+1,m,g);let w=p<_?p:_;for(x+=1,S+=2;x<=w;x+=1,S+=2){if(x!==p&&b<E[x])y=E[x];else if(y=b+1,h<=y)return x-1;b=E[x],E[x]=y+r(y+1,h,v+y-S+1,m,g)}return _},i=(p,h,m,v,g,E,_)=>{let x=0,S=p,y=E[x],b=y;E[x]-=n(h,y-1,m,v+y-S-1,g);let w=p<_?p:_;for(x+=1,S-=2;x<=w;x+=1,S-=2){if(x!==p&&E[x]<b)y=E[x];else if(y=b-1,y<h)return x-1;b=E[x],E[x]=y-n(h,y-1,m,v+y-S-1,g)}return _},a=(p,h,m,v,g,E,_,x,S,y,b)=>{let w=v-h,C=m-h,N=g-v-C,q=-N-(p-1),z=-N+(p-1),F=t,T=p<x?p:x;for(let k=0,I=-p;k<=T;k+=1,I+=2){let U=k===0||k!==p&&F<_[k],G=U?_[k]:F,X=U?G:G+1,Z=w+X-I,A=r(X+1,m,Z+1,g,E),$=X+A;if(F=_[k],_[k]=$,q<=I&&I<=z){let M=(p-1-(I+N))/2;if(M<=y&&S[M]-1<=$){let K=w+G-(U?I+1:I-1),L=n(h,G,v,K,E),D=G-L,Y=K-L,ne=D+1,j=Y+1;b.nChangePreceding=p-1,p-1===ne+j-h-v?(b.aEndPreceding=h,b.bEndPreceding=v):(b.aEndPreceding=ne,b.bEndPreceding=j),b.nCommonPreceding=L,L!==0&&(b.aCommonPreceding=ne,b.bCommonPreceding=j),b.nCommonFollowing=A,A!==0&&(b.aCommonFollowing=X+1,b.bCommonFollowing=Z+1);let ee=$+1,se=Z+A+1;return b.nChangeFollowing=p-1,p-1===m+g-ee-se?(b.aStartFollowing=m,b.bStartFollowing=g):(b.aStartFollowing=ee,b.bStartFollowing=se),!0}}}return!1},s=(p,h,m,v,g,E,_,x,S,y,b)=>{let w=g-m,C=m-h,N=g-v-C,q=N-p,z=N+p,F=t,T=p<y?p:y;for(let k=0,I=p;k<=T;k+=1,I-=2){let U=k===0||k!==p&&S[k]<F,G=U?S[k]:F,X=U?G:G-1,Z=w+X-I,A=n(h,X-1,v,Z-1,E),$=X-A;if(F=S[k],S[k]=$,q<=I&&I<=z){let M=(p+(I-N))/2;if(M<=x&&$-1<=_[M]){let K=Z-A;if(b.nChangePreceding=p,p===$+K-h-v?(b.aEndPreceding=h,b.bEndPreceding=v):(b.aEndPreceding=$,b.bEndPreceding=K),b.nCommonPreceding=A,A!==0&&(b.aCommonPreceding=$,b.bCommonPreceding=K),b.nChangeFollowing=p-1,p===1)b.nCommonFollowing=0,b.aStartFollowing=m,b.bStartFollowing=g;else{let L=w+G-(U?I-1:I+1),D=r(G,m,L,g,E);b.nCommonFollowing=D,D!==0&&(b.aCommonFollowing=G,b.bCommonFollowing=L);let Y=G+D,ne=L+D;p-1===m+g-Y-ne?(b.aStartFollowing=m,b.bStartFollowing=g):(b.aStartFollowing=Y,b.bStartFollowing=ne)}return!0}}}return!1},u=(p,h,m,v,g,E,_,x,S)=>{let y=v-h,b=g-m,w=m-h,C=g-v,N=C-w,q=w,z=w;if(_[0]=h-1,x[0]=m,N%2===0){let F=(p||N)/2,T=(w+C)/2;for(let k=1;k<=T;k+=1)if(q=o(k,m,g,y,E,_,q),k<F)z=i(k,h,v,b,E,x,z);else if(s(k,h,m,v,g,E,_,q,x,z,S))return}else{let F=((p||N)+1)/2,T=(w+C+1)/2,k=1;for(q=o(k,m,g,y,E,_,q),k+=1;k<=T;k+=1)if(z=i(k-1,h,v,b,E,x,z),k<F)q=o(k,m,g,y,E,_,q);else if(a(k,h,m,v,g,E,_,q,x,z,S))return}throw new Error(`${e}: no overlap aStart=${h} aEnd=${m} bStart=${v} bEnd=${g}`)},l=(p,h,m,v,g,E,_,x,S,y)=>{if(g-v<m-h){if(E=!E,E&&_.length===1){let{foundSubsequence:M,isCommon:K}=_[0];_[1]={foundSubsequence:(L,D,Y)=>{M(L,Y,D)},isCommon:(L,D)=>K(D,L)}}let A=h,$=m;h=v,m=g,v=A,g=$}let{foundSubsequence:b,isCommon:w}=_[E?1:0];u(p,h,m,v,g,w,x,S,y);let{nChangePreceding:C,aEndPreceding:N,bEndPreceding:q,nCommonPreceding:z,aCommonPreceding:F,bCommonPreceding:T,nCommonFollowing:k,aCommonFollowing:I,bCommonFollowing:U,nChangeFollowing:G,aStartFollowing:X,bStartFollowing:Z}=y;h<N&&v<q&&l(C,h,N,v,q,E,_,x,S,y),z!==0&&b(z,F,T),k!==0&&b(k,I,U),X<m&&Z<g&&l(G,X,m,Z,g,E,_,x,S,y)},c=(p,h)=>{if(typeof h!="number")throw new TypeError(`${e}: ${p} typeof ${typeof h} is not a number`);if(!Number.isSafeInteger(h))throw new RangeError(`${e}: ${p} value ${h} is not a safe integer`);if(h<0)throw new RangeError(`${e}: ${p} value ${h} is a negative integer`)},d=(p,h)=>{let m=typeof h;if(m!=="function")throw new TypeError(`${e}: ${p} typeof ${m} is not a function`)};function f(p,h,m,v){c("aLength",p),c("bLength",h),d("isCommon",m),d("foundSubsequence",v);let g=r(0,p,0,h,m);if(g!==0&&v(g,0,0),p!==g||h!==g){let E=g,_=g,x=n(E,p-1,_,h-1,m),S=p-x,y=h-x,b=g+x;p!==b&&h!==b&&l(0,E,S,_,y,!1,[{foundSubsequence:v,isCommon:m}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),x!==0&&v(x,S,y)}}return bd}var FK=LK(),jO=$O(FK);function BK(e,t){return e.replace(/\s+$/,r=>t(r))}function p0(e,t,r,n,o,i){return e.length!==0?r(`${n} ${BK(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function DO(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return p0(e,t,r,n,o,i)}function LO(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return p0(e,t,r,n,o,i)}function FO(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return p0(e,t,r,n,o,i)}function QE(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function zK(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,a=!1,s=0,u=0;for(;u!==r;){let x=u;for(;u!==r&&e[u][0]===Ye;)u+=1;if(x!==u)if(x===0)u>n&&(i-=u-n,a=!0);else if(u===r){let S=u-x;S>n&&(i-=S-n,a=!0)}else{let S=u-x;S>o&&(i-=S-o,s+=1)}for(;u!==r&&e[u][0]!==Ye;)u+=1}let l=s!==0||a;s!==0?i+=s+1:a&&(i+=1);let c=i-1,d=[],f=0;l&&d.push("");let p=0,h=0,m=0,v=0,g=x=>{let S=d.length;d.push(FO(x,S===0||S===c,t)),m+=1,v+=1},E=x=>{let S=d.length;d.push(DO(x,S===0||S===c,t)),m+=1},_=x=>{let S=d.length;d.push(LO(x,S===0||S===c,t)),v+=1};for(u=0;u!==r;){let x=u;for(;u!==r&&e[u][0]===Ye;)u+=1;if(x!==u)if(x===0){u>n&&(x=u-n,p=x,h=x,m=p,v=h);for(let S=x;S!==u;S+=1)g(e[S][1])}else if(u===r){let S=u-x>n?x+n:u;for(let y=x;y!==S;y+=1)g(e[y][1])}else{let S=u-x;if(S>o){let y=x+n;for(let w=x;w!==y;w+=1)g(e[w][1]);d[f]=QE(p,m,h,v,t),f=d.length,d.push("");let b=S-o;p=m+b,h=v+b,m=p,v=h;for(let w=u-n;w!==u;w+=1)g(e[w][1])}else for(let y=x;y!==u;y+=1)g(e[y][1])}for(;u!==r&&e[u][0]===Et;)E(e[u][1]),u+=1;for(;u!==r&&e[u][0]===pt;)_(e[u][1]),u+=1}return l&&(d[f]=QE(p,m,h,v,t)),d.join(`
663
- `)}function HK(e,t){return e.map((r,n,o)=>{let i=r[1],a=n===0||n===o.length-1;switch(r[0]){case Et:return DO(i,a,t);case pt:return LO(i,a,t);default:return FO(i,a,t)}}).join(`
664
- `)}var Dm=e=>e,BO=5,UK=0;function VK(){return{aAnnotation:"Expected",aColor:Jr.green,aIndicator:"-",bAnnotation:"Received",bColor:Jr.red,bIndicator:"+",changeColor:Jr.inverse,changeLineTrailingSpaceColor:Dm,commonColor:Jr.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Dm,compareKeys:void 0,contextLines:BO,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Jr.yellow,printBasicPrototype:!1,truncateThreshold:UK,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Dm}}function WK(e){return e&&typeof e=="function"?e:void 0}function GK(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:BO}function jo(e={}){return{...VK(),...e,compareKeys:WK(e.compareKeys),contextLines:GK(e.contextLines)}}function oi(e){return e.length===1&&e[0].length===0}function KK(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Et:t+=1;break;case pt:r+=1;break}}),{a:t,b:r}}function YK({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:a,omitAnnotationLines:s},u){if(s)return"";let l="",c="";if(a){let p=String(u.a),h=String(u.b),m=n.length-e.length,v=" ".repeat(Math.max(0,m)),g=" ".repeat(Math.max(0,-m)),E=h.length-p.length,_=" ".repeat(Math.max(0,E)),x=" ".repeat(Math.max(0,-E));l=`${v} ${r} ${_}${p}`,c=`${g} ${i} ${x}${h}`}let d=`${r} ${e}${l}`,f=`${i} ${n}${c}`;return`${t(d)}
665
- ${o(f)}
666
-
667
- `}function h0(e,t,r){return YK(r,KK(e))+(r.expand?HK(e,r):zK(e,r))+(t?r.truncateAnnotationColor(`
668
- ${r.truncateAnnotation}`):"")}function Xp(e,t,r){let n=jo(r),[o,i]=zO(oi(e)?[]:e,oi(t)?[]:t,n);return h0(o,i,n)}function ZK(e,t,r,n,o){if(oi(e)&&oi(r)&&(e=[],r=[]),oi(t)&&oi(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Xp(e,t,o);let[i,a]=zO(r,n,o),s=0,u=0;return i.forEach(l=>{switch(l[0]){case Et:l[1]=e[s],s+=1;break;case pt:l[1]=t[u],u+=1;break;default:l[1]=t[u],s+=1,u+=1}}),h0(i,a,jo(o))}function zO(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,a=n?Math.min(t.length,o):t.length,s=i!==e.length||a!==t.length,u=(f,p)=>e[f]===t[p],l=[],c=0,d=0;for(jO(i,a,u,(f,p,h)=>{for(;c!==p;c+=1)l.push(new Ue(Et,e[c]));for(;d!==h;d+=1)l.push(new Ue(pt,t[d]));for(;f!==0;f-=1,c+=1,d+=1)l.push(new Ue(Ye,t[d]))});c!==i;c+=1)l.push(new Ue(Et,e[c]));for(;d!==a;d+=1)l.push(new Ue(pt,t[d]));return[l,s]}function e3(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}function t3(e){return e.includes(`\r
669
- `)?`\r
670
- `:`
671
- `}function JK(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,a=t.length;if(n){let f=e.includes(`
672
- `),p=t.includes(`
673
- `),h=t3(e),m=t3(t),v=f?`${e.split(h,o).join(h)}
674
- `:e,g=p?`${t.split(m,o).join(m)}
675
- `:t;i=v.length,a=g.length}let s=i!==e.length||a!==t.length,u=(f,p)=>e[f]===t[p],l=0,c=0,d=[];return jO(i,a,u,(f,p,h)=>{l!==p&&d.push(new Ue(Et,e.slice(l,p))),c!==h&&d.push(new Ue(pt,t.slice(c,h))),l=p+f,c=h+f,d.push(new Ue(Ye,t.slice(h,c)))}),l!==i&&d.push(new Ue(Et,e.slice(l))),c!==a&&d.push(new Ue(pt,t.slice(c))),[d,s]}function XK(e,t,r){return t.reduce((n,o)=>n+(o[0]===Ye?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var r3=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Ue(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Ue(this.op,XK(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Ue(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
676
- `)){let r=t.split(`
677
- `),n=r.length-1;r.forEach((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},QK=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
678
- `)){let n=r.split(`
679
- `),o=n.length-1;n.forEach((i,a)=>{if(a===0){let s=new Ue(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else a<o?this.pushDiffCommonLine(new Ue(t,i)):i.length!==0&&this.pushDiffChangeLines(new Ue(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function eY(e,t){let r=new r3(Et,t),n=new r3(pt,t),o=new QK(r,n);return e.forEach(i=>{switch(i[0]){case Et:r.align(i);break;case pt:n.align(i);break;default:o.align(i)}}),o.getLines()}function tY(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Ye&&(o!==r||n[1]!==`
680
- `))}return e.some(r=>r[0]===Ye)}function rY(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
681
- `)||t.includes(`
682
- `),[o,i]=HO(n?`${e}
683
- `:e,n?`${t}
684
- `:t,!0,r);if(tY(o,n)){let a=jo(r),s=eY(o,a.changeColor);return h0(s,i,a)}}return Xp(e.split(`
685
- `),t.split(`
686
- `),r)}function HO(e,t,r,n){let[o,i]=JK(e,t,n);return MK(o),[o,i]}function qb(e,t){let{commonColor:r}=jo(t);return r(e)}var{AsymmetricMatcher:nY,DOMCollection:oY,DOMElement:iY,Immutable:aY,ReactElement:sY,ReactTestComponent:lY}=f0,UO=[lY,sY,iY,oY,aY,nY,f0.Error],kb={maxDepth:20,plugins:UO},VO={callToJSON:!1,maxDepth:8,plugins:UO};function Ji(e,t,r){if(Object.is(e,t))return"";let n=e3(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==e3(t)){let a=function(_){return _.length<=v?_:`${_.slice(0,v)}...`},{aAnnotation:s,aColor:u,aIndicator:l,bAnnotation:c,bColor:d,bIndicator:f}=jo(r),p=Mb(VO,r),h=xr(e,p),m=xr(t,p),v=1e5;h=a(h),m=a(m);let g=`${u(`${l} ${s}:`)}
687
- ${h}`,E=`${d(`${f} ${c}:`)}
688
- ${m}`;return`${g}
689
-
690
- ${E}`}if(!i)switch(n){case"string":return Xp(e.split(`
691
- `),t.split(`
692
- `),r);case"boolean":case"number":return uY(e,t,r);case"map":return Lm(n3(e),n3(t),r);case"set":return Lm(o3(e),o3(t),r);default:return Lm(e,t,r)}}function uY(e,t,r){let n=xr(e,kb),o=xr(t,kb);return n===o?"":Xp(n.split(`
693
- `),o.split(`
694
- `),r)}function n3(e){return new Map(Array.from(e.entries()).sort())}function o3(e){return new Set(Array.from(e.values()).sort())}function Lm(e,t,r){let n,o=!1;try{let a=Mb(kb,r);n=i3(e,t,a,r)}catch{o=!0}let i=qb(IO,r);if(n===void 0||n===i){let a=Mb(VO,r);n=i3(e,t,a,r),n!==i&&!o&&(n=`${qb(DK,r)}
695
-
696
- ${n}`)}return n}function Mb(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:o}=jo(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:o??e.maxDepth}}function i3(e,t,r,n){let o={...r,indent:0},i=xr(e,o),a=xr(t,o);if(i===a)return qb(IO,n);{let s=xr(e,r),u=xr(t,r);return ZK(s.split(`
697
- `),u.split(`
698
- `),i.split(`
699
- `),a.split(`
700
- `),n)}}var a3=2e4;function s3(e){return Vf(e)==="Object"&&typeof e.asymmetricMatch=="function"}function l3(e,t){let r=Vf(e),n=Vf(t);return r===n&&(r==="Object"||r==="Array")}function WO(e,t,r){let{aAnnotation:n,bAnnotation:o}=jo(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=a3&&e.length<=a3&&t!==e){if(t.includes(`
701
- `)||e.includes(`
702
- `))return rY(t,e,r);let[l]=HO(t,e),c=l.some(h=>h[0]===Ye),d=cY(n,o),f=d(n)+pY(u3(l,Et,c)),p=d(o)+fY(u3(l,pt,c));return`${f}
703
- ${p}`}let i=GE(t,{forceWritable:!0}),a=GE(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:u}=GO(a,i);return Ji(s,u,r)}function GO(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):l3(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),qO(t).forEach(o=>{let i=t[o],a=e[o];if(s3(i))i.asymmetricMatch(a)&&(e[o]=i);else if(s3(a))a.asymmetricMatch(i)&&(t[o]=a);else if(l3(a,i)){let s=GO(a,i,r,n);e[o]=s.replacedActual,t[o]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function cY(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var dY="·";function KO(e){return e.replace(/\s+$/gm,t=>dY.repeat(t.length))}function fY(e){return Jr.red(KO(Ht(e)))}function pY(e){return Jr.green(KO(Ht(e)))}function u3(e,t,r){return e.reduce((n,o)=>n+(o[0]===Ye?o[1]:o[0]===t?r?Jr.inverse(o[1]):o[1]:""),"")}var hY="@@__IMMUTABLE_RECORD__@@",mY="@@__IMMUTABLE_ITERABLE__@@";function gY(e){return e&&(e[mY]||e[hY])}var bY=Object.getPrototypeOf({});function c3(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function Pn(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&vd(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&vd(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&vd(()=>r.name??(r.name=e.name)),e.cause!=null&&vd(()=>r.cause??(r.cause=Pn(e.cause,t)))),Pn(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(gY(e))return Pn(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${TK(e.sample)}`;if(typeof e.toJSON=="function")return Pn(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=Pn(n,t)}catch(i){r[o]=c3(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==bY;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=Pn(e[o],t)}catch(i){delete r[o],r[o]=c3(i)}}),n=Object.getPrototypeOf(n);return r}}function vd(e){try{return e()}catch{}}function vY(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function m0(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=WO(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Ht(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Ht(n.actual,10));try{typeof n.message=="string"&&(n.message=vY(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=m0(n.cause,t,r))}catch{}try{return Pn(n)}catch(o){return Pn(new Error(`Failed to fully serialize error: ${o?.message}
704
- Inner error message: ${n?.message}`))}}var Fr={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},Fm=globalThis.__STORYBOOK_ADDONS_PREVIEW,yY=new Error("This function ran after the play function completed. Did you forget to `await` it?"),d3=e=>Object.prototype.toString.call(e)==="[object Object]",wY=e=>Object.prototype.toString.call(e)==="[object Module]",EY=e=>{if(!d3(e)&&!wY(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!d3(t)},_Y=e=>{try{return new e.constructor}catch{return{}}},Bm=()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),f3=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},SY=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=he.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{he.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:s,renderPhase:u,isPlaying:l=!0,isDebugging:c=!1})=>{let d=this.getState(s);this.setState(s,{...Bm(),...f3(d,c),renderPhase:u||d.renderPhase,shadowCalls:c?d.shadowCalls:[],chainedCallIds:c?d.chainedCallIds:new Set,playUntil:c?d.playUntil:void 0,isPlaying:l,isDebugging:c}),this.sync(s)},t=s=>({storyId:u,playUntil:l})=>{this.getState(u).isDebugging||this.setState(u,({calls:d})=>({calls:[],shadowCalls:d.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let c=this.getLog(u);this.setState(u,({shadowCalls:d})=>{if(l||!c.length)return{playUntil:l};let f=d.findIndex(p=>p.id===c[0].callId);return{playUntil:d.slice(0,f).filter(p=>p.interceptable&&!p.ancestors?.length).slice(-1)[0]?.id}}),s.emit(vE,{storyId:u,isDebugging:!0})},r=s=>({storyId:u})=>{let l=this.getLog(u).filter(d=>!d.ancestors?.length),c=l.reduceRight((d,f,p)=>d>=0||f.status==="waiting"?d:p,-1);t(s)({storyId:u,playUntil:l[c-1]?.callId})},n=s=>({storyId:u,callId:l})=>{let{calls:c,shadowCalls:d,resolvers:f}=this.getState(u),p=c.find(({id:m})=>m===l),h=d.find(({id:m})=>m===l);if(!p&&h&&Object.values(f).length>0){let m=this.getLog(u).find(v=>v.status==="waiting")?.callId;h.id!==m&&this.setState(u,{playUntil:h.id}),Object.values(f).forEach(v=>v())}else t(s)({storyId:u,playUntil:l})},o=s=>({storyId:u})=>{let{resolvers:l}=this.getState(u);if(Object.values(l).length>0)Object.values(l).forEach(c=>c());else{let c=this.getLog(u).find(d=>d.status==="waiting")?.callId;c?t(s)({storyId:u,playUntil:c}):i({storyId:u})}},i=({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(u=>u())},a=({storyId:s,newPhase:u})=>{let{isDebugging:l}=this.getState(s);if(u==="preparing"&&l)return e({storyId:s,renderPhase:u,isDebugging:l});if(u==="playing")return e({storyId:s,renderPhase:u,isDebugging:l});u==="played"?this.setState(s,{renderPhase:u,isLocked:!1,isPlaying:!1,isDebugging:!1}):u==="errored"?this.setState(s,{renderPhase:u,isLocked:!1,isPlaying:!1}):u==="aborted"?this.setState(s,{renderPhase:u,isLocked:!0,isPlaying:!1}):this.setState(s,{renderPhase:u}),this.sync(s)};Fm&&Fm.ready().then(()=>{this.channel=Fm.getChannel(),this.channel.on(vE,e),this.channel.on(oO,a),this.channel.on(fW,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Fr.START,t(this.channel)),this.channel.on(Fr.BACK,r(this.channel)),this.channel.on(Fr.GOTO,n(this.channel)),this.channel.on(Fr.NEXT,o(this.channel)),this.channel.on(Fr.END,i)})}getState(e){return this.state[e]||Bm()}setState(e,t){if(e){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=f3(n);return o&&(t[r]=Object.assign(Bm(),o)),t},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(Fr.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,a)=>{n[a]=i});let o=new Set;return n.reduceRight((i,a)=>(a.args.forEach(s=>{s?.__callId__&&o.add(s.__callId__)}),a.path.forEach(s=>{s.__callId__&&o.add(s.__callId__)}),(a.interceptable||a.exception)&&!o.has(a.id)&&(i.unshift({callId:a.id,status:a.status,ancestors:a.ancestors}),o.add(a.id)),i),[])}instrument(e,t,r=0){if(!EY(e))return e;let{mutate:n=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((a,s)=>{let u=RY(e,s);if(typeof u?.get=="function"){if(u.configurable){let c=()=>u?.get?.bind(e)?.();Object.defineProperty(a,s,{get:()=>this.instrument(c(),{...t,path:o.concat(s)},r)})}return a}let l=e[s];return typeof l!="function"?(a[s]=this.instrument(l,{...t,path:o.concat(s)},r),a):"__originalFn__"in l&&typeof l.__originalFn__=="function"?(a[s]=l,a):(a[s]=(...c)=>this.track(s,l,e,c,t),a[s].__originalFn__=l,Object.defineProperty(a[s],"name",{value:s,writable:!1}),Object.keys(l).length>0&&Object.assign(a[s],this.instrument({...l},{...t,path:o.concat(s)},r)),a)},n?e:_Y(e))}track(e,t,r,n,o){let i=n?.[0]?.__storyId__||he.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:a,ancestors:s}=this.getState(i);this.setState(i,{cursor:a+1});let u=`${s.slice(-1)[0]||i} [${a}] ${e}`,{path:l=[],intercept:c=!1,retain:d=!1}=o,f=typeof c=="function"?c(e,l):c,p={id:u,cursor:a,storyId:i,ancestors:s,path:l,method:e,args:n,interceptable:f,retain:d},h=(f&&!s.length?this.intercept:this.invoke).call(this,t,r,p,o);return this.instrument(h,{...o,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:i,playUntil:a}=this.getState(r.storyId),s=o.has(r.id);return!i||s||a?(a===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:l})=>({isLocked:!1,resolvers:{...l,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:l,...c}=u.resolvers;return{isLocked:!0,resolvers:c}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:i}=this.getState(r.storyId),a=25,s=(c,d,f)=>{if(f.includes(c))return"[Circular]";if(f=[...f,c],d>a)return"...";if(o.has(c))return o.get(c);if(c instanceof Array)return c.map(p=>s(p,++d,f));if(c instanceof Date)return{__date__:{value:c.toISOString()}};if(c instanceof Error){let{name:p,message:h,stack:m}=c;return{__error__:{name:p,message:h,stack:m}}}if(c instanceof RegExp){let{flags:p,source:h}=c;return{__regexp__:{flags:p,source:h}}}if(c instanceof he.window?.HTMLElement){let{prefix:p,localName:h,id:m,classList:v,innerText:g}=c,E=Array.from(v);return{__element__:{prefix:p,localName:h,id:m,classNames:E,innerText:g}}}return typeof c=="function"?{__function__:{name:"getMockName"in c?c.getMockName():c.name}}:typeof c=="symbol"?{__symbol__:{description:c.description}}:typeof c=="object"&&c?.constructor?.name&&c?.constructor?.name!=="Object"?{__class__:{name:c.constructor.name}}:Object.prototype.toString.call(c)==="[object Object]"?Object.fromEntries(Object.entries(c).map(([p,h])=>[p,s(h,++d,f)])):c},u={...r,args:r.args.map(c=>s(c,0,[]))};r.path.forEach(c=>{c?.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(c.__callId__))}))});let l=c=>{if(c instanceof Error){let{name:d,message:f,stack:p,callId:h=r.id}=c,{showDiff:m=void 0,diff:v=void 0,actual:g=void 0,expected:E=void 0}=c.name==="AssertionError"?m0(c):c,_={name:d,message:f,stack:p,callId:h,showDiff:m,diff:v,actual:g,expected:E};if(this.update({...u,status:"error",exception:_}),this.setState(r.storyId,x=>({callRefsByResult:new Map([...Array.from(x.callRefsByResult.entries()),[c,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(c,"callId")||Object.defineProperty(c,"callId",{value:r.id}),c}throw c};try{if(i==="played"&&!r.retain)throw yY;let c=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(f=>typeof f!="function"||xY(f)||Object.keys(f).length?f:(...p)=>{let{cursor:h,ancestors:m}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...m,r.id]});let v=()=>this.setState(r.storyId,{cursor:h,ancestors:m}),g=!1;try{let E=f(...p);return E instanceof Promise?(g=!0,E.finally(v)):E}finally{g||v()}}),d=e.apply(t,c);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(f=>(this.update({...u,status:"done"}),f),l):d}catch(c){return l(c)}}update(e){this.channel?.emit(Fr.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),i=o.filter(({ancestors:l})=>!l.length).find(l=>l.status==="waiting")?.callId,a=o.some(l=>l.status==="active");if(this.detached||r||a||o.length===0){let l={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:o};this.channel?.emit(Fr.SYNC,l);return}let s=o.some(l=>l.status==="done"||l.status==="error"),u={controlStates:{detached:this.detached,start:s,back:s,goto:!0,next:n,end:n},logItems:o,pausedAt:i};this.channel?.emit(Fr.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function Qp(e,t={}){try{let r=!1,n=!1;return he.window?.location?.search?.includes("instrument=true")?r=!0:he.window?.location?.search?.includes("instrument=false")&&(n=!0),he.window?.parent===he.window&&!r||n?e:(he.window&&!he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new SY),(he.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return _t.warn(r),e}}function RY(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function xY(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}function Nb(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var vr={},Xd={exports:{}};Xd.exports;var p3;function YO(){return p3||(p3=1,(function(e){const r=(i=0)=>a=>`\x1B[${38+i};5;${a}m`,n=(i=0)=>(a,s,u)=>`\x1B[${38+i};2;${a};${s};${u}m`;function o(){const i=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(const[s,u]of Object.entries(a)){for(const[l,c]of Object.entries(u))a[l]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},u[l]=a[l],i.set(c[0],c[1]);Object.defineProperty(a,s,{value:u,enumerable:!1})}return Object.defineProperty(a,"codes",{value:i,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi256=r(),a.color.ansi16m=n(),a.bgColor.ansi256=r(10),a.bgColor.ansi16m=n(10),Object.defineProperties(a,{rgbToAnsi256:{value:(s,u,l)=>s===u&&u===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(u/255*5)+Math.round(l/255*5),enumerable:!1},hexToRgb:{value:s=>{const u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!u)return[0,0,0];let{colorString:l}=u.groups;l.length===3&&(l=l.split("").map(d=>d+d).join(""));const c=Number.parseInt(l,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:s=>a.rgbToAnsi256(...a.hexToRgb(s)),enumerable:!1}}),a}Object.defineProperty(e,"exports",{enumerable:!0,get:o})})(Xd)),Xd.exports}var to={},h3;function eh(){if(h3)return to;h3=1,Object.defineProperty(to,"__esModule",{value:!0}),to.printIteratorEntries=t,to.printIteratorValues=r,to.printListItems=n,to.printObjectProperties=o;const e=(i,a)=>{const s=Object.keys(i).sort(a);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(u=>{Object.getOwnPropertyDescriptor(i,u).enumerable&&s.push(u)}),s};function t(i,a,s,u,l,c,d=": "){let f="",p=i.next();if(!p.done){f+=a.spacingOuter;const h=s+a.indent;for(;!p.done;){const m=c(p.value[0],a,h,u,l),v=c(p.value[1],a,h,u,l);f+=h+m+d+v,p=i.next(),p.done?a.min||(f+=","):f+=","+a.spacingInner}f+=a.spacingOuter+s}return f}function r(i,a,s,u,l,c){let d="",f=i.next();if(!f.done){d+=a.spacingOuter;const p=s+a.indent;for(;!f.done;)d+=p+c(f.value,a,p,u,l),f=i.next(),f.done?a.min||(d+=","):d+=","+a.spacingInner;d+=a.spacingOuter+s}return d}function n(i,a,s,u,l,c){let d="";if(i.length){d+=a.spacingOuter;const f=s+a.indent;for(let p=0;p<i.length;p++)d+=f,p in i&&(d+=c(i[p],a,f,u,l)),p<i.length-1?d+=","+a.spacingInner:a.min||(d+=",");d+=a.spacingOuter+s}return d}function o(i,a,s,u,l,c){let d="";const f=e(i,a.compareKeys);if(f.length){d+=a.spacingOuter;const p=s+a.indent;for(let h=0;h<f.length;h++){const m=f[h],v=c(m,a,p,u,l),g=c(i[m],a,p,u,l);d+=p+v+": "+g,h<f.length-1?d+=","+a.spacingInner:a.min||(d+=",")}d+=a.spacingOuter+s}return d}return to}var Br={},m3;function CY(){if(m3)return Br;m3=1,Object.defineProperty(Br,"__esModule",{value:!0}),Br.test=Br.serialize=Br.default=void 0;var e=eh(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("jest.asymmetricMatcher"):1267621,o=" ",i=(l,c,d,f,p,h)=>{const m=l.toString();return m==="ArrayContaining"||m==="ArrayNotContaining"?++f>c.maxDepth?"["+m+"]":m+o+"["+(0,e.printListItems)(l.sample,c,d,f,p,h)+"]":m==="ObjectContaining"||m==="ObjectNotContaining"?++f>c.maxDepth?"["+m+"]":m+o+"{"+(0,e.printObjectProperties)(l.sample,c,d,f,p,h)+"}":m==="StringMatching"||m==="StringNotMatching"||m==="StringContaining"||m==="StringNotContaining"?m+o+h(l.sample,c,d,f,p):l.toAsymmetricMatcher()};Br.serialize=i;const a=l=>l&&l.$$typeof===n;Br.test=a;var u={serialize:i,test:a};return Br.default=u,Br}var zr={},zm,g3;function AY(){return g3||(g3=1,zm=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}),zm}var b3;function PY(){if(b3)return zr;b3=1,Object.defineProperty(zr,"__esModule",{value:!0}),zr.test=zr.serialize=zr.default=void 0;var e=r(AY()),t=r(YO());function r(u){return u&&u.__esModule?u:{default:u}}const n=u=>u.replace((0,e.default)(),l=>{switch(l){case t.default.red.close:case t.default.green.close:case t.default.cyan.close:case t.default.gray.close:case t.default.white.close:case t.default.yellow.close:case t.default.bgRed.close:case t.default.bgGreen.close:case t.default.bgYellow.close:case t.default.inverse.close:case t.default.dim.close:case t.default.bold.close:case t.default.reset.open:case t.default.reset.close:return"</>";case t.default.red.open:return"<red>";case t.default.green.open:return"<green>";case t.default.cyan.open:return"<cyan>";case t.default.gray.open:return"<gray>";case t.default.white.open:return"<white>";case t.default.yellow.open:return"<yellow>";case t.default.bgRed.open:return"<bgRed>";case t.default.bgGreen.open:return"<bgGreen>";case t.default.bgYellow.open:return"<bgYellow>";case t.default.inverse.open:return"<inverse>";case t.default.dim.open:return"<dim>";case t.default.bold.open:return"<bold>";default:return""}}),o=u=>typeof u=="string"&&!!u.match((0,e.default)());zr.test=o;const i=(u,l,c,d,f,p)=>p(n(u),l,c,d,f);zr.serialize=i;var s={serialize:i,test:o};return zr.default=s,zr}var Hr={},v3;function TY(){if(v3)return Hr;v3=1,Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.test=Hr.serialize=Hr.default=void 0;var e=eh();const t=" ",r=["DOMStringMap","NamedNodeMap"],n=/^(HTML\w*Collection|NodeList)$/,o=c=>r.indexOf(c)!==-1||n.test(c),i=c=>c&&c.constructor&&!!c.constructor.name&&o(c.constructor.name);Hr.test=i;const a=c=>c.constructor.name==="NamedNodeMap",s=(c,d,f,p,h,m)=>{const v=c.constructor.name;return++p>d.maxDepth?"["+v+"]":(d.min?"":v+t)+(r.indexOf(v)!==-1?"{"+(0,e.printObjectProperties)(a(c)?Array.from(c).reduce((g,E)=>(g[E.name]=E.value,g),{}):{...c},d,f,p,h,m)+"}":"["+(0,e.printListItems)(Array.from(c),d,f,p,h,m)+"]")};Hr.serialize=s;var l={serialize:s,test:i};return Hr.default=l,Hr}var Ur={},At={},yd={},y3;function OY(){if(y3)return yd;y3=1,Object.defineProperty(yd,"__esModule",{value:!0}),yd.default=e;function e(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}return yd}var w3;function g0(){if(w3)return At;w3=1,Object.defineProperty(At,"__esModule",{value:!0}),At.printText=At.printProps=At.printElementAsLeaf=At.printElement=At.printComment=At.printChildren=void 0;var e=t(OY());function t(u){return u&&u.__esModule?u:{default:u}}const r=(u,l,c,d,f,p,h)=>{const m=d+c.indent,v=c.colors;return u.map(g=>{const E=l[g];let _=h(E,c,m,f,p);return typeof E!="string"&&(_.indexOf(`
705
- `)!==-1&&(_=c.spacingOuter+m+_+c.spacingOuter+d),_="{"+_+"}"),c.spacingInner+d+v.prop.open+g+v.prop.close+"="+v.value.open+_+v.value.close}).join("")};At.printProps=r;const n=(u,l,c,d,f,p)=>u.map(h=>l.spacingOuter+c+(typeof h=="string"?o(h,l):p(h,l,c,d,f))).join("");At.printChildren=n;const o=(u,l)=>{const c=l.colors.content;return c.open+(0,e.default)(u)+c.close};At.printText=o;const i=(u,l)=>{const c=l.colors.comment;return c.open+"<!--"+(0,e.default)(u)+"-->"+c.close};At.printComment=i;const a=(u,l,c,d,f)=>{const p=d.colors.tag;return p.open+"<"+u+(l&&p.close+l+d.spacingOuter+f+p.open)+(c?">"+p.close+c+d.spacingOuter+f+p.open+"</"+u:(l&&!d.min?"":" ")+"/")+">"+p.close};At.printElement=a;const s=(u,l)=>{const c=l.colors.tag;return c.open+"<"+u+c.close+" …"+c.open+" />"+c.close};return At.printElementAsLeaf=s,At}var E3;function $Y(){if(E3)return Ur;E3=1,Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.test=Ur.serialize=Ur.default=void 0;var e=g0();const t=1,r=3,n=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,a=m=>{try{return typeof m.hasAttribute=="function"&&m.hasAttribute("is")}catch{return!1}},s=m=>{const v=m.constructor.name,{nodeType:g,tagName:E}=m,_=typeof E=="string"&&E.includes("-")||a(m);return g===t&&(i.test(v)||_)||g===r&&v==="Text"||g===n&&v==="Comment"||g===o&&v==="DocumentFragment"},u=m=>{var v;return(m==null||(v=m.constructor)===null||v===void 0?void 0:v.name)&&s(m)};Ur.test=u;function l(m){return m.nodeType===r}function c(m){return m.nodeType===n}function d(m){return m.nodeType===o}const f=(m,v,g,E,_,x)=>{if(l(m))return(0,e.printText)(m.data,v);if(c(m))return(0,e.printComment)(m.data,v);const S=d(m)?"DocumentFragment":m.tagName.toLowerCase();return++E>v.maxDepth?(0,e.printElementAsLeaf)(S,v):(0,e.printElement)(S,(0,e.printProps)(d(m)?[]:Array.from(m.attributes).map(y=>y.name).sort(),d(m)?{}:Array.from(m.attributes).reduce((y,b)=>(y[b.name]=b.value,y),{}),v,g+v.indent,E,_,x),(0,e.printChildren)(Array.prototype.slice.call(m.childNodes||m.children),v,g+v.indent,E,_,x),v,g)};Ur.serialize=f;var h={serialize:f,test:u};return Ur.default=h,Ur}var Vr={},_3;function qY(){if(_3)return Vr;_3=1,Object.defineProperty(Vr,"__esModule",{value:!0}),Vr.test=Vr.serialize=Vr.default=void 0;var e=eh();const t="@@__IMMUTABLE_ITERABLE__@@",r="@@__IMMUTABLE_LIST__@@",n="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",a="@@__IMMUTABLE_RECORD__@@",s="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",l="@@__IMMUTABLE_STACK__@@",c=b=>"Immutable."+b,d=b=>"["+b+"]",f=" ",p="…",h=(b,w,C,N,q,z,F)=>++N>w.maxDepth?d(c(F)):c(F)+f+"{"+(0,e.printIteratorEntries)(b.entries(),w,C,N,q,z)+"}";function m(b){let w=0;return{next(){if(w<b._keys.length){const C=b._keys[w++];return{done:!1,value:[C,b.get(C)]}}return{done:!0,value:void 0}}}}const v=(b,w,C,N,q,z)=>{const F=c(b._name||"Record");return++N>w.maxDepth?d(F):F+f+"{"+(0,e.printIteratorEntries)(m(b),w,C,N,q,z)+"}"},g=(b,w,C,N,q,z)=>{const F=c("Seq");return++N>w.maxDepth?d(F):b[n]?F+f+"{"+(b._iter||b._object?(0,e.printIteratorEntries)(b.entries(),w,C,N,q,z):p)+"}":F+f+"["+(b._iter||b._array||b._collection||b._iterable?(0,e.printIteratorValues)(b.values(),w,C,N,q,z):p)+"]"},E=(b,w,C,N,q,z,F)=>++N>w.maxDepth?d(c(F)):c(F)+f+"["+(0,e.printIteratorValues)(b.values(),w,C,N,q,z)+"]",_=(b,w,C,N,q,z)=>b[o]?h(b,w,C,N,q,z,b[i]?"OrderedMap":"Map"):b[r]?E(b,w,C,N,q,z,"List"):b[u]?E(b,w,C,N,q,z,b[i]?"OrderedSet":"Set"):b[l]?E(b,w,C,N,q,z,"Stack"):b[s]?g(b,w,C,N,q,z):v(b,w,C,N,q,z);Vr.serialize=_;const x=b=>b&&(b[t]===!0||b[a]===!0);Vr.test=x;var y={serialize:_,test:x};return Vr.default=y,Vr}var Wr={},Hm={exports:{}},$e={};/** @license React v17.0.2
706
- * react-is.production.min.js
707
- *
708
- * Copyright (c) Facebook, Inc. and its affiliates.
709
- *
710
- * This source code is licensed under the MIT license found in the
711
- * LICENSE file in the root directory of this source tree.
712
- */var S3;function kY(){if(S3)return $e;S3=1;var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,a=60110,s=60112,u=60113,l=60120,c=60115,d=60116,f=60121,p=60122,h=60117,m=60129,v=60131;if(typeof Symbol=="function"&&Symbol.for){var g=Symbol.for;e=g("react.element"),t=g("react.portal"),r=g("react.fragment"),n=g("react.strict_mode"),o=g("react.profiler"),i=g("react.provider"),a=g("react.context"),s=g("react.forward_ref"),u=g("react.suspense"),l=g("react.suspense_list"),c=g("react.memo"),d=g("react.lazy"),f=g("react.block"),p=g("react.server.block"),h=g("react.fundamental"),m=g("react.debug_trace_mode"),v=g("react.legacy_hidden")}function E(F){if(typeof F=="object"&&F!==null){var T=F.$$typeof;switch(T){case e:switch(F=F.type,F){case r:case o:case n:case u:case l:return F;default:switch(F=F&&F.$$typeof,F){case a:case s:case d:case c:case i:return F;default:return T}}case t:return T}}}var _=i,x=e,S=s,y=r,b=d,w=c,C=t,N=o,q=n,z=u;return $e.ContextConsumer=a,$e.ContextProvider=_,$e.Element=x,$e.ForwardRef=S,$e.Fragment=y,$e.Lazy=b,$e.Memo=w,$e.Portal=C,$e.Profiler=N,$e.StrictMode=q,$e.Suspense=z,$e.isAsyncMode=function(){return!1},$e.isConcurrentMode=function(){return!1},$e.isContextConsumer=function(F){return E(F)===a},$e.isContextProvider=function(F){return E(F)===i},$e.isElement=function(F){return typeof F=="object"&&F!==null&&F.$$typeof===e},$e.isForwardRef=function(F){return E(F)===s},$e.isFragment=function(F){return E(F)===r},$e.isLazy=function(F){return E(F)===d},$e.isMemo=function(F){return E(F)===c},$e.isPortal=function(F){return E(F)===t},$e.isProfiler=function(F){return E(F)===o},$e.isStrictMode=function(F){return E(F)===n},$e.isSuspense=function(F){return E(F)===u},$e.isValidElementType=function(F){return typeof F=="string"||typeof F=="function"||F===r||F===o||F===m||F===n||F===u||F===l||F===v||typeof F=="object"&&F!==null&&(F.$$typeof===d||F.$$typeof===c||F.$$typeof===i||F.$$typeof===a||F.$$typeof===s||F.$$typeof===h||F.$$typeof===f||F[0]===p)},$e.typeOf=E,$e}var R3;function MY(){return R3||(R3=1,Hm.exports=kY()),Hm.exports}var x3;function NY(){if(x3)return Wr;x3=1,Object.defineProperty(Wr,"__esModule",{value:!0}),Wr.test=Wr.serialize=Wr.default=void 0;var e=n(MY()),t=g0();function r(d){if(typeof WeakMap!="function")return null;var f=new WeakMap,p=new WeakMap;return(r=function(h){return h?p:f})(d)}function n(d,f){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var p=r(f);if(p&&p.has(d))return p.get(d);var h={},m=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in d)if(v!=="default"&&Object.prototype.hasOwnProperty.call(d,v)){var g=m?Object.getOwnPropertyDescriptor(d,v):null;g&&(g.get||g.set)?Object.defineProperty(h,v,g):h[v]=d[v]}return h.default=d,p&&p.set(d,h),h}const o=(d,f=[])=>(Array.isArray(d)?d.forEach(p=>{o(p,f)}):d!=null&&d!==!1&&f.push(d),f),i=d=>{const f=d.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(e.isFragment(d))return"React.Fragment";if(e.isSuspense(d))return"React.Suspense";if(typeof f=="object"&&f!==null){if(e.isContextProvider(d))return"Context.Provider";if(e.isContextConsumer(d))return"Context.Consumer";if(e.isForwardRef(d)){if(f.displayName)return f.displayName;const p=f.render.displayName||f.render.name||"";return p!==""?"ForwardRef("+p+")":"ForwardRef"}if(e.isMemo(d)){const p=f.displayName||f.type.displayName||f.type.name||"";return p!==""?"Memo("+p+")":"Memo"}}return"UNDEFINED"},a=d=>{const{props:f}=d;return Object.keys(f).filter(p=>p!=="children"&&f[p]!==void 0).sort()},s=(d,f,p,h,m,v)=>++h>f.maxDepth?(0,t.printElementAsLeaf)(i(d),f):(0,t.printElement)(i(d),(0,t.printProps)(a(d),d.props,f,p+f.indent,h,m,v),(0,t.printChildren)(o(d.props.children),f,p+f.indent,h,m,v),f,p);Wr.serialize=s;const u=d=>d!=null&&e.isElement(d);Wr.test=u;var c={serialize:s,test:u};return Wr.default=c,Wr}var Gr={},C3;function IY(){if(C3)return Gr;C3=1,Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.test=Gr.serialize=Gr.default=void 0;var e=g0(),t=(function(){return typeof globalThis<"u"?globalThis:typeof t<"u"?t:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),r=t["jest-symbol-do-not-touch"]||t.Symbol;const n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,o=l=>{const{props:c}=l;return c?Object.keys(c).filter(d=>c[d]!==void 0).sort():[]},i=(l,c,d,f,p,h)=>++f>c.maxDepth?(0,e.printElementAsLeaf)(l.type,c):(0,e.printElement)(l.type,l.props?(0,e.printProps)(o(l),l.props,c,d+c.indent,f,p,h):"",l.children?(0,e.printChildren)(l.children,c,d+c.indent,f,p,h):"",c,d);Gr.serialize=i;const a=l=>l&&l.$$typeof===n;Gr.test=a;var u={serialize:i,test:a};return Gr.default=u,Gr}var A3;function jY(){if(A3)return vr;A3=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.default=vr.DEFAULT_OPTIONS=void 0,vr.format=D,vr.plugins=void 0;var e=l(YO()),t=eh(),r=l(CY()),n=l(PY()),o=l(TY()),i=l($Y()),a=l(qY()),s=l(NY()),u=l(IY());function l(j){return j&&j.__esModule?j:{default:j}}const c=Object.prototype.toString,d=Date.prototype.toISOString,f=Error.prototype.toString,p=RegExp.prototype.toString,h=j=>typeof j.constructor=="function"&&j.constructor.name||"Object",m=j=>typeof window<"u"&&j===window,v=/^Symbol\((.*)\)(.*)$/,g=/\n/gi;class E extends Error{constructor(ee,se){super(ee),this.stack=se,this.name=this.constructor.name}}function _(j){return j==="[object Array]"||j==="[object ArrayBuffer]"||j==="[object DataView]"||j==="[object Float32Array]"||j==="[object Float64Array]"||j==="[object Int8Array]"||j==="[object Int16Array]"||j==="[object Int32Array]"||j==="[object Uint8Array]"||j==="[object Uint8ClampedArray]"||j==="[object Uint16Array]"||j==="[object Uint32Array]"}function x(j){return Object.is(j,-0)?"-0":String(j)}function S(j){return`${j}n`}function y(j,ee){return ee?"[Function "+(j.name||"anonymous")+"]":"[Function]"}function b(j){return String(j).replace(v,"Symbol($1)")}function w(j){return"["+f.call(j)+"]"}function C(j,ee,se,be){if(j===!0||j===!1)return""+j;if(j===void 0)return"undefined";if(j===null)return"null";const ve=typeof j;if(ve==="number")return x(j);if(ve==="bigint")return S(j);if(ve==="string")return be?'"'+j.replace(/"|\\/g,"\\$&")+'"':'"'+j+'"';if(ve==="function")return y(j,ee);if(ve==="symbol")return b(j);const ke=c.call(j);return ke==="[object WeakMap]"?"WeakMap {}":ke==="[object WeakSet]"?"WeakSet {}":ke==="[object Function]"||ke==="[object GeneratorFunction]"?y(j,ee):ke==="[object Symbol]"?b(j):ke==="[object Date]"?isNaN(+j)?"Date { NaN }":d.call(j):ke==="[object Error]"?w(j):ke==="[object RegExp]"?se?p.call(j).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(j):j instanceof Error?w(j):null}function N(j,ee,se,be,ve,ke){if(ve.indexOf(j)!==-1)return"[Circular]";ve=ve.slice(),ve.push(j);const le=++be>ee.maxDepth,me=ee.min;if(ee.callToJSON&&!le&&j.toJSON&&typeof j.toJSON=="function"&&!ke)return T(j.toJSON(),ee,se,be,ve,!0);const mt=c.call(j);return mt==="[object Arguments]"?le?"[Arguments]":(me?"":"Arguments ")+"["+(0,t.printListItems)(j,ee,se,be,ve,T)+"]":_(mt)?le?"["+j.constructor.name+"]":(me||!ee.printBasicPrototype&&j.constructor.name==="Array"?"":j.constructor.name+" ")+"["+(0,t.printListItems)(j,ee,se,be,ve,T)+"]":mt==="[object Map]"?le?"[Map]":"Map {"+(0,t.printIteratorEntries)(j.entries(),ee,se,be,ve,T," => ")+"}":mt==="[object Set]"?le?"[Set]":"Set {"+(0,t.printIteratorValues)(j.values(),ee,se,be,ve,T)+"}":le||m(j)?"["+h(j)+"]":(me||!ee.printBasicPrototype&&h(j)==="Object"?"":h(j)+" ")+"{"+(0,t.printObjectProperties)(j,ee,se,be,ve,T)+"}"}function q(j){return j.serialize!=null}function z(j,ee,se,be,ve,ke){let le;try{le=q(j)?j.serialize(ee,se,be,ve,ke,T):j.print(ee,me=>T(me,se,be,ve,ke),me=>{const mt=be+se.indent;return mt+me.replace(g,`
713
- `+mt)},{edgeSpacing:se.spacingOuter,min:se.min,spacing:se.spacingInner},se.colors)}catch(me){throw new E(me.message,me.stack)}if(typeof le!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof le}".`);return le}function F(j,ee){for(let se=0;se<j.length;se++)try{if(j[se].test(ee))return j[se]}catch(be){throw new E(be.message,be.stack)}return null}function T(j,ee,se,be,ve,ke){const le=F(ee.plugins,j);if(le!==null)return z(le,j,ee,se,be,ve);const me=C(j,ee.printFunctionName,ee.escapeRegex,ee.escapeString);return me!==null?me:N(j,ee,se,be,ve,ke)}const k={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},I=Object.keys(k),U={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:k};vr.DEFAULT_OPTIONS=U;function G(j){if(Object.keys(j).forEach(ee=>{if(!U.hasOwnProperty(ee))throw new Error(`pretty-format: Unknown option "${ee}".`)}),j.min&&j.indent!==void 0&&j.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(j.theme!==void 0){if(j.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof j.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof j.theme}".`)}}const X=j=>I.reduce((ee,se)=>{const be=j.theme&&j.theme[se]!==void 0?j.theme[se]:k[se],ve=be&&e.default[be];if(ve&&typeof ve.close=="string"&&typeof ve.open=="string")ee[se]=ve;else throw new Error(`pretty-format: Option "theme" has a key "${se}" whose value "${be}" is undefined in ansi-styles.`);return ee},Object.create(null)),Z=()=>I.reduce((j,ee)=>(j[ee]={close:"",open:""},j),Object.create(null)),A=j=>j&&j.printFunctionName!==void 0?j.printFunctionName:U.printFunctionName,$=j=>j&&j.escapeRegex!==void 0?j.escapeRegex:U.escapeRegex,M=j=>j&&j.escapeString!==void 0?j.escapeString:U.escapeString,K=j=>{var ee;return{callToJSON:j&&j.callToJSON!==void 0?j.callToJSON:U.callToJSON,colors:j&&j.highlight?X(j):Z(),compareKeys:j&&typeof j.compareKeys=="function"?j.compareKeys:U.compareKeys,escapeRegex:$(j),escapeString:M(j),indent:j&&j.min?"":L(j&&j.indent!==void 0?j.indent:U.indent),maxDepth:j&&j.maxDepth!==void 0?j.maxDepth:U.maxDepth,min:j&&j.min!==void 0?j.min:U.min,plugins:j&&j.plugins!==void 0?j.plugins:U.plugins,printBasicPrototype:(ee=j?.printBasicPrototype)!==null&&ee!==void 0?ee:!0,printFunctionName:A(j),spacingInner:j&&j.min?" ":`
714
- `,spacingOuter:j&&j.min?"":`
715
- `}};function L(j){return new Array(j+1).join(" ")}function D(j,ee){if(ee&&(G(ee),ee.plugins)){const be=F(ee.plugins,j);if(be!==null)return z(be,j,K(ee),"",0,[])}const se=C(j,A(ee),$(ee),M(ee));return se!==null?se:N(j,K(ee),"",0,[])}const Y={AsymmetricMatcher:r.default,ConvertAnsi:n.default,DOMCollection:o.default,DOMElement:i.default,Immutable:a.default,ReactElement:s.default,ReactTestComponent:u.default};vr.plugins=Y;var ne=D;return vr.default=ne,vr}var th=jY();const DY=Ec(th),LY=_p({__proto__:null,default:DY},[th]);var FY=Object.prototype.toString;function BY(e){return typeof e=="function"||FY.call(e)==="[object Function]"}function zY(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var HY=Math.pow(2,53)-1;function UY(e){var t=zY(e);return Math.min(Math.max(t,0),HY)}function ir(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=UY(n.length),i=BY(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],i[a]=s,a+=1;return i.length=o,i}function nc(e){"@babel/helpers - typeof";return nc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nc(e)}function VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WY(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ZO(n.key),n)}}function GY(e,t,r){return t&&WY(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function KY(e,t,r){return t=ZO(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ZO(e){var t=YY(e,"string");return nc(t)==="symbol"?t:String(t)}function YY(e,t){if(nc(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(nc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ZY=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];VY(this,e),KY(this,"items",void 0),this.items=t}return GY(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})();const JY=typeof Set>"u"?Set:ZY;function St(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var XY={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},QY={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function eZ(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=QY[t])!==null&&n!==void 0&&n.has(r))})}function JO(e,t){return eZ(e,t)}function tZ(e){var t=nZ(e);if(t===null||t==="presentation"){var r=rZ(e);if(t!=="presentation"||JO(e,r||""))return r}return t}function rZ(e){var t=XY[St(e)];if(t!==void 0)return t;switch(St(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!JO(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function nZ(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Be(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function XO(e){return Be(e)&&St(e)==="caption"}function Qd(e){return Be(e)&&St(e)==="input"}function oZ(e){return Be(e)&&St(e)==="optgroup"}function iZ(e){return Be(e)&&St(e)==="select"}function aZ(e){return Be(e)&&St(e)==="table"}function sZ(e){return Be(e)&&St(e)==="textarea"}function lZ(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function uZ(e){return Be(e)&&St(e)==="fieldset"}function cZ(e){return Be(e)&&St(e)==="legend"}function dZ(e){return Be(e)&&St(e)==="slot"}function fZ(e){return Be(e)&&e.ownerSVGElement!==void 0}function pZ(e){return Be(e)&&St(e)==="svg"}function hZ(e){return fZ(e)&&St(e)==="title"}function Wf(e,t){if(Be(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function tn(e,t){return Be(e)?t.indexOf(tZ(e))!==-1:!1}function mZ(e){return e.trim().replace(/\s\s+/g," ")}function gZ(e,t){if(!Be(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function bZ(e){return tn(e,["button","combobox","listbox","textbox"])||QO(e,"range")}function QO(e,t){if(!Be(e))return!1;switch(t){case"range":return tn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function P3(e,t){var r=ir(e.querySelectorAll(t));return Wf(e,"aria-owns").forEach(function(n){r.push.apply(r,ir(n.querySelectorAll(t)))}),r}function vZ(e){return iZ(e)?e.selectedOptions||P3(e,"[selected]"):P3(e,'[aria-selected="true"]')}function yZ(e){return tn(e,["none","presentation"])}function wZ(e){return XO(e)}function EZ(e){return tn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function _Z(e){return!1}function SZ(e){return Qd(e)||sZ(e)?e.value:e.textContent||""}function T3(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function e5(e){var t=St(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function t5(e){if(e5(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Be(r)){var n=t5(r);n!==null&&(t=n)}}),t}function RZ(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):t5(e)}function xZ(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ir(t);if(!e5(e))return null;var r=e.ownerDocument;return ir(r.querySelectorAll("label")).filter(function(n){return RZ(n)===e})}function CZ(e){var t=e.assignedNodes();return t.length===0?ir(e.childNodes):t}function r5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new JY,n=lZ(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,l=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function f(g,E){var _="";if(Be(g)&&s){var x=l(g,"::before"),S=T3(x);_="".concat(S," ").concat(_)}var y=dZ(g)?CZ(g):ir(g.childNodes).concat(Wf(g,"aria-owns"));if(y.forEach(function(C){var N=v(C,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),q=Be(C)?l(C).getPropertyValue("display"):"inline",z=q!=="inline"?" ":"";_+="".concat(z).concat(N).concat(z)}),Be(g)&&s){var b=l(g,"::after"),w=T3(b);_="".concat(_," ").concat(w)}return _.trim()}function p(g,E){var _=g.getAttributeNode(E);return _!==null&&!r.has(_)&&_.value.trim()!==""?(r.add(_),_.value):null}function h(g){return Be(g)?p(g,"title"):null}function m(g){if(!Be(g))return null;if(uZ(g)){r.add(g);for(var E=ir(g.childNodes),_=0;_<E.length;_+=1){var x=E[_];if(cZ(x))return v(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(aZ(g)){r.add(g);for(var S=ir(g.childNodes),y=0;y<S.length;y+=1){var b=S[y];if(XO(b))return v(b,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(pZ(g)){r.add(g);for(var w=ir(g.childNodes),C=0;C<w.length;C+=1){var N=w[C];if(hZ(N))return N.textContent}return null}else if(St(g)==="img"||St(g)==="area"){var q=p(g,"alt");if(q!==null)return q}else if(oZ(g)){var z=p(g,"label");if(z!==null)return z}if(Qd(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var F=p(g,"value");if(F!==null)return F;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var T=xZ(g);if(T!==null&&T.length!==0)return r.add(g),ir(T).map(function(G){return v(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(Qd(g)&&g.type==="image"){var k=p(g,"alt");if(k!==null)return k;var I=p(g,"title");return I!==null?I:"Submit Query"}if(tn(g,["button"])){var U=f(g,{isEmbeddedInLabel:!1});if(U!=="")return U}return null}function v(g,E){if(r.has(g))return"";if(!d&&gZ(g,l)&&!E.isReferenced)return r.add(g),"";var _=Be(g)?g.getAttributeNode("aria-labelledby"):null,x=_!==null&&!r.has(_)?Wf(g,"aria-labelledby"):[];if(i==="name"&&!E.isReferenced&&x.length>0)return r.add(_),x.map(function(q){return v(q,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=E.recursion&&bZ(g)&&i==="name";if(!S){var y=(Be(g)&&g.getAttribute("aria-label")||"").trim();if(y!==""&&i==="name")return r.add(g),y;if(!yZ(g)){var b=m(g);if(b!==null)return r.add(g),b}}if(tn(g,["menu"]))return r.add(g),"";if(S||E.isEmbeddedInLabel||E.isReferenced){if(tn(g,["combobox","listbox"])){r.add(g);var w=vZ(g);return w.length===0?Qd(g)?g.value:"":ir(w).map(function(q){return v(q,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(QO(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(tn(g,["textbox"]))return r.add(g),SZ(g)}if(EZ(g)||Be(g)&&E.isReferenced||wZ(g)||_Z()){var C=f(g,{isEmbeddedInLabel:E.isEmbeddedInLabel});if(C!=="")return r.add(g),C}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(E.recursion)return r.add(g),f(g,{isEmbeddedInLabel:E.isEmbeddedInLabel});var N=h(g);return N!==null?(r.add(g),N):(r.add(g),"")}return mZ(v(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function oc(e){"@babel/helpers - typeof";return oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oc(e)}function O3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function $3(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?O3(Object(r),!0).forEach(function(n){AZ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O3(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function AZ(e,t,r){return t=PZ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PZ(e){var t=TZ(e,"string");return oc(t)==="symbol"?t:String(t)}function TZ(e,t){if(oc(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(oc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function n5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Wf(e,"aria-describedby").map(function(o){return r5(o,$3($3({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function OZ(e){return tn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function b0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return OZ(e)?"":r5(e,t)}var It={},ma={},wd={},ga={},q3;function $Z(){if(q3)return ga;q3=1,Object.defineProperty(ga,"__esModule",{value:!0}),ga.default=void 0;function e(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return o}var t=e;return ga.default=t,ga}var k3;function $c(){if(k3)return wd;k3=1,Object.defineProperty(wd,"__esModule",{value:!0}),wd.default=n;var e=t($Z());function t(o){return o&&o.__esModule?o:{default:o}}function r(o){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},r(o)}function n(o,i){return typeof Symbol=="function"&&r(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:e.default.bind(i)}),o}return wd}var M3;function qZ(){if(M3)return ma;M3=1,Object.defineProperty(ma,"__esModule",{value:!0}),ma.default=void 0;var e=t($c());function t(f){return f&&f.__esModule?f:{default:f}}function r(f,p){return i(f)||o(f,p)||s(f,p)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
716
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,p){var h=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(h!=null){var m=[],v=!0,g=!1,E,_;try{for(h=h.call(f);!(v=(E=h.next()).done)&&(m.push(E.value),!(p&&m.length===p));v=!0);}catch(x){g=!0,_=x}finally{try{!v&&h.return!=null&&h.return()}finally{if(g)throw _}}return m}}function i(f){if(Array.isArray(f))return f}function a(f,p){var h=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!h){if(Array.isArray(f)||(h=s(f))||p){h&&(f=h);var m=0,v=function(){};return{s:v,n:function(){return m>=f.length?{done:!0}:{done:!1,value:f[m++]}},e:function(S){throw S},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
717
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,E=!1,_;return{s:function(){h=h.call(f)},n:function(){var S=h.next();return g=S.done,S},e:function(S){E=!0,_=S},f:function(){try{!g&&h.return!=null&&h.return()}finally{if(E)throw _}}}}function s(f,p){if(f){if(typeof f=="string")return u(f,p);var h=Object.prototype.toString.call(f).slice(8,-1);if(h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set")return Array.from(f);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return u(f,p)}}function u(f,p){(p==null||p>f.length)&&(p=f.length);for(var h=0,m=new Array(p);h<p;h++)m[h]=f[h];return m}var l=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],c={entries:function(){return l},forEach:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=a(l),v;try{for(m.s();!(v=m.n()).done;){var g=r(v.value,2),E=g[0],_=g[1];p.call(h,_,E,l)}}catch(x){m.e(x)}finally{m.f()}},get:function(p){var h=l.find(function(m){return m[0]===p});return h&&h[1]},has:function(p){return!!c.get(p)},keys:function(){return l.map(function(p){var h=r(p,1),m=h[0];return m})},values:function(){return l.map(function(p){var h=r(p,2),m=h[1];return m})}},d=(0,e.default)(c,c.entries());return ma.default=d,ma}var ba={},N3;function kZ(){if(N3)return ba;N3=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.default=void 0;var e=t($c());function t(f){return f&&f.__esModule?f:{default:f}}function r(f,p){return i(f)||o(f,p)||s(f,p)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
718
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,p){var h=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(h!=null){var m=[],v=!0,g=!1,E,_;try{for(h=h.call(f);!(v=(E=h.next()).done)&&(m.push(E.value),!(p&&m.length===p));v=!0);}catch(x){g=!0,_=x}finally{try{!v&&h.return!=null&&h.return()}finally{if(g)throw _}}return m}}function i(f){if(Array.isArray(f))return f}function a(f,p){var h=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!h){if(Array.isArray(f)||(h=s(f))||p){h&&(f=h);var m=0,v=function(){};return{s:v,n:function(){return m>=f.length?{done:!0}:{done:!1,value:f[m++]}},e:function(S){throw S},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
719
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,E=!1,_;return{s:function(){h=h.call(f)},n:function(){var S=h.next();return g=S.done,S},e:function(S){E=!0,_=S},f:function(){try{!g&&h.return!=null&&h.return()}finally{if(E)throw _}}}}function s(f,p){if(f){if(typeof f=="string")return u(f,p);var h=Object.prototype.toString.call(f).slice(8,-1);if(h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set")return Array.from(f);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return u(f,p)}}function u(f,p){(p==null||p>f.length)&&(p=f.length);for(var h=0,m=new Array(p);h<p;h++)m[h]=f[h];return m}var l=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],c={entries:function(){return l},forEach:function(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=a(l),v;try{for(m.s();!(v=m.n()).done;){var g=r(v.value,2),E=g[0],_=g[1];p.call(h,_,E,l)}}catch(x){m.e(x)}finally{m.f()}},get:function(p){var h=l.find(function(m){return m[0]===p});return h&&h[1]},has:function(p){return!!c.get(p)},keys:function(){return l.map(function(p){var h=r(p,1),m=h[0];return m})},values:function(){return l.map(function(p){var h=r(p,2),m=h[1];return m})}},d=(0,e.default)(c,c.entries());return ba.default=d,ba}var va={},ya={},wa={},I3;function MZ(){if(I3)return wa;I3=1,Object.defineProperty(wa,"__esModule",{value:!0}),wa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return wa.default=t,wa}var Ea={},j3;function NZ(){if(j3)return Ea;j3=1,Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return Ea.default=t,Ea}var _a={},D3;function IZ(){if(D3)return _a;D3=1,Object.defineProperty(_a,"__esModule",{value:!0}),_a.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},t=e;return _a.default=t,_a}var Sa={},L3;function jZ(){if(L3)return Sa;L3=1,Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Sa.default=t,Sa}var Ra={},F3;function DZ(){if(F3)return Ra;F3=1,Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Ra.default=t,Ra}var xa={},B3;function LZ(){if(B3)return xa;B3=1,Object.defineProperty(xa,"__esModule",{value:!0}),xa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return xa.default=t,xa}var Ca={},z3;function FZ(){if(z3)return Ca;z3=1,Object.defineProperty(Ca,"__esModule",{value:!0}),Ca.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Ca.default=t,Ca}var Aa={},H3;function BZ(){if(H3)return Aa;H3=1,Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Aa.default=t,Aa}var Pa={},U3;function zZ(){if(U3)return Pa;U3=1,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},t=e;return Pa.default=t,Pa}var Ta={},V3;function HZ(){if(V3)return Ta;V3=1,Object.defineProperty(Ta,"__esModule",{value:!0}),Ta.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Ta.default=t,Ta}var Oa={},W3;function UZ(){if(W3)return Oa;W3=1,Object.defineProperty(Oa,"__esModule",{value:!0}),Oa.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return Oa.default=t,Oa}var $a={},G3;function VZ(){if(G3)return $a;G3=1,Object.defineProperty($a,"__esModule",{value:!0}),$a.default=void 0;var e={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},t=e;return $a.default=t,$a}var K3;function WZ(){if(K3)return ya;K3=1,Object.defineProperty(ya,"__esModule",{value:!0}),ya.default=void 0;var e=f(MZ()),t=f(NZ()),r=f(IZ()),n=f(jZ()),o=f(DZ()),i=f(LZ()),a=f(FZ()),s=f(BZ()),u=f(zZ()),l=f(HZ()),c=f(UZ()),d=f(VZ());function f(m){return m&&m.__esModule?m:{default:m}}var p=[["command",e.default],["composite",t.default],["input",r.default],["landmark",n.default],["range",o.default],["roletype",i.default],["section",a.default],["sectionhead",s.default],["select",u.default],["structure",l.default],["widget",c.default],["window",d.default]],h=p;return ya.default=h,ya}var qa={},ka={},Y3;function GZ(){if(Y3)return ka;Y3=1,Object.defineProperty(ka,"__esModule",{value:!0}),ka.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ka.default=t,ka}var Ma={},Z3;function KZ(){if(Z3)return Ma;Z3=1,Object.defineProperty(Ma,"__esModule",{value:!0}),Ma.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},t=e;return Ma.default=t,Ma}var Na={},J3;function YZ(){if(J3)return Na;J3=1,Object.defineProperty(Na,"__esModule",{value:!0}),Na.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Na.default=t,Na}var Ia={},X3;function ZZ(){if(X3)return Ia;X3=1,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},t=e;return Ia.default=t,Ia}var ja={},Q3;function JZ(){if(Q3)return ja;Q3=1,Object.defineProperty(ja,"__esModule",{value:!0}),ja.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ja.default=t,ja}var Da={},e_;function XZ(){if(e_)return Da;e_=1,Object.defineProperty(Da,"__esModule",{value:!0}),Da.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Da.default=t,Da}var La={},t_;function QZ(){if(t_)return La;t_=1,Object.defineProperty(La,"__esModule",{value:!0}),La.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return La.default=t,La}var Fa={},r_;function eJ(){if(r_)return Fa;r_=1,Object.defineProperty(Fa,"__esModule",{value:!0}),Fa.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Fa.default=t,Fa}var Ba={},n_;function tJ(){if(n_)return Ba;n_=1,Object.defineProperty(Ba,"__esModule",{value:!0}),Ba.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ba.default=t,Ba}var za={},o_;function rJ(){if(o_)return za;o_=1,Object.defineProperty(za,"__esModule",{value:!0}),za.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},t=e;return za.default=t,za}var Ha={},i_;function nJ(){if(i_)return Ha;i_=1,Object.defineProperty(Ha,"__esModule",{value:!0}),Ha.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ha.default=t,Ha}var Ua={},a_;function oJ(){if(a_)return Ua;a_=1,Object.defineProperty(Ua,"__esModule",{value:!0}),Ua.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},t=e;return Ua.default=t,Ua}var Va={},s_;function iJ(){if(s_)return Va;s_=1,Object.defineProperty(Va,"__esModule",{value:!0}),Va.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},t=e;return Va.default=t,Va}var Wa={},l_;function aJ(){if(l_)return Wa;l_=1,Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Wa.default=t,Wa}var Ga={},u_;function sJ(){if(u_)return Ga;u_=1,Object.defineProperty(Ga,"__esModule",{value:!0}),Ga.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Ga.default=t,Ga}var Ka={},c_;function lJ(){if(c_)return Ka;c_=1,Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ka.default=t,Ka}var Ya={},d_;function uJ(){if(d_)return Ya;d_=1,Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ya.default=t,Ya}var Za={},f_;function cJ(){if(f_)return Za;f_=1,Object.defineProperty(Za,"__esModule",{value:!0}),Za.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},t=e;return Za.default=t,Za}var Ja={},p_;function dJ(){if(p_)return Ja;p_=1,Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return Ja.default=t,Ja}var Xa={},h_;function fJ(){if(h_)return Xa;h_=1,Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Xa.default=t,Xa}var Qa={},m_;function pJ(){if(m_)return Qa;m_=1,Object.defineProperty(Qa,"__esModule",{value:!0}),Qa.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Qa.default=t,Qa}var es={},g_;function hJ(){if(g_)return es;g_=1,Object.defineProperty(es,"__esModule",{value:!0}),es.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},t=e;return es.default=t,es}var ts={},b_;function mJ(){if(b_)return ts;b_=1,Object.defineProperty(ts,"__esModule",{value:!0}),ts.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ts.default=t,ts}var rs={},v_;function gJ(){if(v_)return rs;v_=1,Object.defineProperty(rs,"__esModule",{value:!0}),rs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return rs.default=t,rs}var ns={},y_;function bJ(){if(y_)return ns;y_=1,Object.defineProperty(ns,"__esModule",{value:!0}),ns.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return ns.default=t,ns}var os={},w_;function vJ(){if(w_)return os;w_=1,Object.defineProperty(os,"__esModule",{value:!0}),os.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},t=e;return os.default=t,os}var is={},E_;function yJ(){if(E_)return is;E_=1,Object.defineProperty(is,"__esModule",{value:!0}),is.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},t=e;return is.default=t,is}var as={},__;function wJ(){if(__)return as;__=1,Object.defineProperty(as,"__esModule",{value:!0}),as.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return as.default=t,as}var ss={},S_;function EJ(){if(S_)return ss;S_=1,Object.defineProperty(ss,"__esModule",{value:!0}),ss.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},t=e;return ss.default=t,ss}var ls={},R_;function _J(){if(R_)return ls;R_=1,Object.defineProperty(ls,"__esModule",{value:!0}),ls.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ls.default=t,ls}var us={},x_;function SJ(){if(x_)return us;x_=1,Object.defineProperty(us,"__esModule",{value:!0}),us.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return us.default=t,us}var cs={},C_;function RJ(){if(C_)return cs;C_=1,Object.defineProperty(cs,"__esModule",{value:!0}),cs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return cs.default=t,cs}var ds={},A_;function xJ(){if(A_)return ds;A_=1,Object.defineProperty(ds,"__esModule",{value:!0}),ds.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ds.default=t,ds}var fs={},P_;function CJ(){if(P_)return fs;P_=1,Object.defineProperty(fs,"__esModule",{value:!0}),fs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return fs.default=t,fs}var ps={},T_;function AJ(){if(T_)return ps;T_=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ps.default=t,ps}var hs={},O_;function PJ(){if(O_)return hs;O_=1,Object.defineProperty(hs,"__esModule",{value:!0}),hs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return hs.default=t,hs}var ms={},$_;function TJ(){if($_)return ms;$_=1,Object.defineProperty(ms,"__esModule",{value:!0}),ms.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ms.default=t,ms}var gs={},q_;function OJ(){if(q_)return gs;q_=1,Object.defineProperty(gs,"__esModule",{value:!0}),gs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return gs.default=t,gs}var bs={},k_;function $J(){if(k_)return bs;k_=1,Object.defineProperty(bs,"__esModule",{value:!0}),bs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return bs.default=t,bs}var vs={},M_;function qJ(){if(M_)return vs;M_=1,Object.defineProperty(vs,"__esModule",{value:!0}),vs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return vs.default=t,vs}var ys={},N_;function kJ(){if(N_)return ys;N_=1,Object.defineProperty(ys,"__esModule",{value:!0}),ys.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return ys.default=t,ys}var ws={},I_;function MJ(){if(I_)return ws;I_=1,Object.defineProperty(ws,"__esModule",{value:!0}),ws.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},t=e;return ws.default=t,ws}var Es={},j_;function NJ(){if(j_)return Es;j_=1,Object.defineProperty(Es,"__esModule",{value:!0}),Es.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},t=e;return Es.default=t,Es}var _s={},D_;function IJ(){if(D_)return _s;D_=1,Object.defineProperty(_s,"__esModule",{value:!0}),_s.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},t=e;return _s.default=t,_s}var Ss={},L_;function jJ(){if(L_)return Ss;L_=1,Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},t=e;return Ss.default=t,Ss}var Rs={},F_;function DJ(){if(F_)return Rs;F_=1,Object.defineProperty(Rs,"__esModule",{value:!0}),Rs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},t=e;return Rs.default=t,Rs}var xs={},B_;function LJ(){if(B_)return xs;B_=1,Object.defineProperty(xs,"__esModule",{value:!0}),xs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return xs.default=t,xs}var Cs={},z_;function FJ(){if(z_)return Cs;z_=1,Object.defineProperty(Cs,"__esModule",{value:!0}),Cs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},t=e;return Cs.default=t,Cs}var As={},H_;function BJ(){if(H_)return As;H_=1,Object.defineProperty(As,"__esModule",{value:!0}),As.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return As.default=t,As}var Ps={},U_;function zJ(){if(U_)return Ps;U_=1,Object.defineProperty(Ps,"__esModule",{value:!0}),Ps.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},t=e;return Ps.default=t,Ps}var Ts={},V_;function HJ(){if(V_)return Ts;V_=1,Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ts.default=t,Ts}var Os={},W_;function UJ(){if(W_)return Os;W_=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Os.default=t,Os}var $s={},G_;function VJ(){if(G_)return $s;G_=1,Object.defineProperty($s,"__esModule",{value:!0}),$s.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},t=e;return $s.default=t,$s}var qs={},K_;function WJ(){if(K_)return qs;K_=1,Object.defineProperty(qs,"__esModule",{value:!0}),qs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},t=e;return qs.default=t,qs}var ks={},Y_;function GJ(){if(Y_)return ks;Y_=1,Object.defineProperty(ks,"__esModule",{value:!0}),ks.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return ks.default=t,ks}var Ms={},Z_;function KJ(){if(Z_)return Ms;Z_=1,Object.defineProperty(Ms,"__esModule",{value:!0}),Ms.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Ms.default=t,Ms}var Ns={},J_;function YJ(){if(J_)return Ns;J_=1,Object.defineProperty(Ns,"__esModule",{value:!0}),Ns.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},t=e;return Ns.default=t,Ns}var Is={},X_;function ZJ(){if(X_)return Is;X_=1,Object.defineProperty(Is,"__esModule",{value:!0}),Is.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Is.default=t,Is}var js={},Q_;function JJ(){if(Q_)return js;Q_=1,Object.defineProperty(js,"__esModule",{value:!0}),js.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},t=e;return js.default=t,js}var Ds={},eS;function XJ(){if(eS)return Ds;eS=1,Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},t=e;return Ds.default=t,Ds}var Ls={},tS;function QJ(){if(tS)return Ls;tS=1,Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Ls.default=t,Ls}var Fs={},rS;function eX(){if(rS)return Fs;rS=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},t=e;return Fs.default=t,Fs}var Bs={},nS;function tX(){if(nS)return Bs;nS=1,Object.defineProperty(Bs,"__esModule",{value:!0}),Bs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},t=e;return Bs.default=t,Bs}var zs={},oS;function rX(){if(oS)return zs;oS=1,Object.defineProperty(zs,"__esModule",{value:!0}),zs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},t=e;return zs.default=t,zs}var Hs={},iS;function nX(){if(iS)return Hs;iS=1,Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},t=e;return Hs.default=t,Hs}var Us={},aS;function oX(){if(aS)return Us;aS=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Us.default=t,Us}var Vs={},sS;function iX(){if(sS)return Vs;sS=1,Object.defineProperty(Vs,"__esModule",{value:!0}),Vs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Vs.default=t,Vs}var Ws={},lS;function aX(){if(lS)return Ws;lS=1,Object.defineProperty(Ws,"__esModule",{value:!0}),Ws.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ws.default=t,Ws}var Gs={},uS;function sX(){if(uS)return Gs;uS=1,Object.defineProperty(Gs,"__esModule",{value:!0}),Gs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Gs.default=t,Gs}var Ks={},cS;function lX(){if(cS)return Ks;cS=1,Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},t=e;return Ks.default=t,Ks}var Ys={},dS;function uX(){if(dS)return Ys;dS=1,Object.defineProperty(Ys,"__esModule",{value:!0}),Ys.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},t=e;return Ys.default=t,Ys}var Zs={},fS;function cX(){if(fS)return Zs;fS=1,Object.defineProperty(Zs,"__esModule",{value:!0}),Zs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Zs.default=t,Zs}var Js={},pS;function dX(){if(pS)return Js;pS=1,Object.defineProperty(Js,"__esModule",{value:!0}),Js.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},t=e;return Js.default=t,Js}var Xs={},hS;function fX(){if(hS)return Xs;hS=1,Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Xs.default=t,Xs}var Qs={},mS;function pX(){if(mS)return Qs;mS=1,Object.defineProperty(Qs,"__esModule",{value:!0}),Qs.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Qs.default=t,Qs}var el={},gS;function hX(){if(gS)return el;gS=1,Object.defineProperty(el,"__esModule",{value:!0}),el.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},t=e;return el.default=t,el}var tl={},bS;function mX(){if(bS)return tl;bS=1,Object.defineProperty(tl,"__esModule",{value:!0}),tl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return tl.default=t,tl}var rl={},vS;function gX(){if(vS)return rl;vS=1,Object.defineProperty(rl,"__esModule",{value:!0}),rl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},t=e;return rl.default=t,rl}var nl={},yS;function bX(){if(yS)return nl;yS=1,Object.defineProperty(nl,"__esModule",{value:!0}),nl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return nl.default=t,nl}var ol={},wS;function vX(){if(wS)return ol;wS=1,Object.defineProperty(ol,"__esModule",{value:!0}),ol.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ol.default=t,ol}var il={},ES;function yX(){if(ES)return il;ES=1,Object.defineProperty(il,"__esModule",{value:!0}),il.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},t=e;return il.default=t,il}var al={},_S;function wX(){if(_S)return al;_S=1,Object.defineProperty(al,"__esModule",{value:!0}),al.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},t=e;return al.default=t,al}var sl={},SS;function EX(){if(SS)return sl;SS=1,Object.defineProperty(sl,"__esModule",{value:!0}),sl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},t=e;return sl.default=t,sl}var RS;function _X(){if(RS)return qa;RS=1,Object.defineProperty(qa,"__esModule",{value:!0}),qa.default=void 0;var e=te(GZ()),t=te(KZ()),r=te(YZ()),n=te(ZZ()),o=te(JZ()),i=te(XZ()),a=te(QZ()),s=te(eJ()),u=te(tJ()),l=te(rJ()),c=te(nJ()),d=te(oJ()),f=te(iJ()),p=te(aJ()),h=te(sJ()),m=te(lJ()),v=te(uJ()),g=te(cJ()),E=te(dJ()),_=te(fJ()),x=te(pJ()),S=te(hJ()),y=te(mJ()),b=te(gJ()),w=te(bJ()),C=te(vJ()),N=te(yJ()),q=te(wJ()),z=te(EJ()),F=te(_J()),T=te(SJ()),k=te(RJ()),I=te(xJ()),U=te(CJ()),G=te(AJ()),X=te(PJ()),Z=te(TJ()),A=te(OJ()),$=te($J()),M=te(qJ()),K=te(kJ()),L=te(MJ()),D=te(NJ()),Y=te(IJ()),ne=te(jJ()),j=te(DJ()),ee=te(LJ()),se=te(FJ()),be=te(BJ()),ve=te(zJ()),ke=te(HJ()),le=te(UJ()),me=te(VJ()),mt=te(WJ()),Fo=te(GJ()),ta=te(KJ()),ra=te(YJ()),Ch=te(ZJ()),Ah=te(JJ()),Ph=te(XJ()),Th=te(QJ()),Oh=te(eX()),$h=te(tX()),qh=te(rX()),kh=te(nX()),Mh=te(oX()),Nh=te(iX()),Ih=te(aX()),jh=te(sX()),Dh=te(lX()),Lh=te(uX()),Fh=te(cX()),Bh=te(dX()),zh=te(fX()),Hh=te(pX()),Uh=te(hX()),Vh=te(mX()),Wh=te(gX()),Gh=te(bX()),Kh=te(vX()),Yh=te(yX()),Zh=te(wX()),Jh=te(EX());function te(Ir){return Ir&&Ir.__esModule?Ir:{default:Ir}}var re=[["alert",e.default],["alertdialog",t.default],["application",r.default],["article",n.default],["banner",o.default],["blockquote",i.default],["button",a.default],["caption",s.default],["cell",u.default],["checkbox",l.default],["code",c.default],["columnheader",d.default],["combobox",f.default],["complementary",p.default],["contentinfo",h.default],["definition",m.default],["deletion",v.default],["dialog",g.default],["directory",E.default],["document",_.default],["emphasis",x.default],["feed",S.default],["figure",y.default],["form",b.default],["generic",w.default],["grid",C.default],["gridcell",N.default],["group",q.default],["heading",z.default],["img",F.default],["insertion",T.default],["link",k.default],["list",I.default],["listbox",U.default],["listitem",G.default],["log",X.default],["main",Z.default],["mark",A.default],["marquee",$.default],["math",M.default],["menu",K.default],["menubar",L.default],["menuitem",D.default],["menuitemcheckbox",Y.default],["menuitemradio",ne.default],["meter",j.default],["navigation",ee.default],["none",se.default],["note",be.default],["option",ve.default],["paragraph",ke.default],["presentation",le.default],["progressbar",me.default],["radio",mt.default],["radiogroup",Fo.default],["region",ta.default],["row",ra.default],["rowgroup",Ch.default],["rowheader",Ah.default],["scrollbar",Ph.default],["search",Th.default],["searchbox",Oh.default],["separator",$h.default],["slider",qh.default],["spinbutton",kh.default],["status",Mh.default],["strong",Nh.default],["subscript",Ih.default],["superscript",jh.default],["switch",Dh.default],["tab",Lh.default],["table",Fh.default],["tablist",Bh.default],["tabpanel",zh.default],["term",Hh.default],["textbox",Uh.default],["time",Vh.default],["timer",Wh.default],["toolbar",Gh.default],["tooltip",Kh.default],["tree",Yh.default],["treegrid",Zh.default],["treeitem",Jh.default]],Xh=re;return qa.default=Xh,qa}var ll={},ul={},xS;function SX(){if(xS)return ul;xS=1,Object.defineProperty(ul,"__esModule",{value:!0}),ul.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return ul.default=t,ul}var cl={},CS;function RX(){if(CS)return cl;CS=1,Object.defineProperty(cl,"__esModule",{value:!0}),cl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return cl.default=t,cl}var dl={},AS;function xX(){if(AS)return dl;AS=1,Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return dl.default=t,dl}var fl={},PS;function CX(){if(PS)return fl;PS=1,Object.defineProperty(fl,"__esModule",{value:!0}),fl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return fl.default=t,fl}var pl={},TS;function AX(){if(TS)return pl;TS=1,Object.defineProperty(pl,"__esModule",{value:!0}),pl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return pl.default=t,pl}var hl={},OS;function PX(){if(OS)return hl;OS=1,Object.defineProperty(hl,"__esModule",{value:!0}),hl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},t=e;return hl.default=t,hl}var ml={},$S;function TX(){if($S)return ml;$S=1,Object.defineProperty(ml,"__esModule",{value:!0}),ml.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ml.default=t,ml}var gl={},qS;function OX(){if(qS)return gl;qS=1,Object.defineProperty(gl,"__esModule",{value:!0}),gl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return gl.default=t,gl}var bl={},kS;function $X(){if(kS)return bl;kS=1,Object.defineProperty(bl,"__esModule",{value:!0}),bl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return bl.default=t,bl}var vl={},MS;function qX(){if(MS)return vl;MS=1,Object.defineProperty(vl,"__esModule",{value:!0}),vl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return vl.default=t,vl}var yl={},NS;function kX(){if(NS)return yl;NS=1,Object.defineProperty(yl,"__esModule",{value:!0}),yl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return yl.default=t,yl}var wl={},IS;function MX(){if(IS)return wl;IS=1,Object.defineProperty(wl,"__esModule",{value:!0}),wl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},t=e;return wl.default=t,wl}var El={},jS;function NX(){if(jS)return El;jS=1,Object.defineProperty(El,"__esModule",{value:!0}),El.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return El.default=t,El}var _l={},DS;function IX(){if(DS)return _l;DS=1,Object.defineProperty(_l,"__esModule",{value:!0}),_l.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return _l.default=t,_l}var Sl={},LS;function jX(){if(LS)return Sl;LS=1,Object.defineProperty(Sl,"__esModule",{value:!0}),Sl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Sl.default=t,Sl}var Rl={},FS;function DX(){if(FS)return Rl;FS=1,Object.defineProperty(Rl,"__esModule",{value:!0}),Rl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},t=e;return Rl.default=t,Rl}var xl={},BS;function LX(){if(BS)return xl;BS=1,Object.defineProperty(xl,"__esModule",{value:!0}),xl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return xl.default=t,xl}var Cl={},zS;function FX(){if(zS)return Cl;zS=1,Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Cl.default=t,Cl}var Al={},HS;function BX(){if(HS)return Al;HS=1,Object.defineProperty(Al,"__esModule",{value:!0}),Al.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Al.default=t,Al}var Pl={},US;function zX(){if(US)return Pl;US=1,Object.defineProperty(Pl,"__esModule",{value:!0}),Pl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Pl.default=t,Pl}var Tl={},VS;function HX(){if(VS)return Tl;VS=1,Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Tl.default=t,Tl}var Ol={},WS;function UX(){if(WS)return Ol;WS=1,Object.defineProperty(Ol,"__esModule",{value:!0}),Ol.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ol.default=t,Ol}var $l={},GS;function VX(){if(GS)return $l;GS=1,Object.defineProperty($l,"__esModule",{value:!0}),$l.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return $l.default=t,$l}var ql={},KS;function WX(){if(KS)return ql;KS=1,Object.defineProperty(ql,"__esModule",{value:!0}),ql.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return ql.default=t,ql}var kl={},YS;function GX(){if(YS)return kl;YS=1,Object.defineProperty(kl,"__esModule",{value:!0}),kl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return kl.default=t,kl}var Ml={},ZS;function KX(){if(ZS)return Ml;ZS=1,Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return Ml.default=t,Ml}var Nl={},JS;function YX(){if(JS)return Nl;JS=1,Object.defineProperty(Nl,"__esModule",{value:!0}),Nl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Nl.default=t,Nl}var Il={},XS;function ZX(){if(XS)return Il;XS=1,Object.defineProperty(Il,"__esModule",{value:!0}),Il.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},t=e;return Il.default=t,Il}var jl={},QS;function JX(){if(QS)return jl;QS=1,Object.defineProperty(jl,"__esModule",{value:!0}),jl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},t=e;return jl.default=t,jl}var Dl={},eR;function XX(){if(eR)return Dl;eR=1,Object.defineProperty(Dl,"__esModule",{value:!0}),Dl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},t=e;return Dl.default=t,Dl}var Ll={},tR;function QX(){if(tR)return Ll;tR=1,Object.defineProperty(Ll,"__esModule",{value:!0}),Ll.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return Ll.default=t,Ll}var Fl={},rR;function eQ(){if(rR)return Fl;rR=1,Object.defineProperty(Fl,"__esModule",{value:!0}),Fl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Fl.default=t,Fl}var Bl={},nR;function tQ(){if(nR)return Bl;nR=1,Object.defineProperty(Bl,"__esModule",{value:!0}),Bl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return Bl.default=t,Bl}var zl={},oR;function rQ(){if(oR)return zl;oR=1,Object.defineProperty(zl,"__esModule",{value:!0}),zl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},t=e;return zl.default=t,zl}var Hl={},iR;function nQ(){if(iR)return Hl;iR=1,Object.defineProperty(Hl,"__esModule",{value:!0}),Hl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},t=e;return Hl.default=t,Hl}var Ul={},aR;function oQ(){if(aR)return Ul;aR=1,Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},t=e;return Ul.default=t,Ul}var Vl={},sR;function iQ(){if(sR)return Vl;sR=1,Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},t=e;return Vl.default=t,Vl}var Wl={},lR;function aQ(){if(lR)return Wl;lR=1,Object.defineProperty(Wl,"__esModule",{value:!0}),Wl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},t=e;return Wl.default=t,Wl}var Gl={},uR;function sQ(){if(uR)return Gl;uR=1,Object.defineProperty(Gl,"__esModule",{value:!0}),Gl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},t=e;return Gl.default=t,Gl}var cR;function lQ(){if(cR)return ll;cR=1,Object.defineProperty(ll,"__esModule",{value:!0}),ll.default=void 0;var e=M(SX()),t=M(RX()),r=M(xX()),n=M(CX()),o=M(AX()),i=M(PX()),a=M(TX()),s=M(OX()),u=M($X()),l=M(qX()),c=M(kX()),d=M(MX()),f=M(NX()),p=M(IX()),h=M(jX()),m=M(DX()),v=M(LX()),g=M(FX()),E=M(BX()),_=M(zX()),x=M(HX()),S=M(UX()),y=M(VX()),b=M(WX()),w=M(GX()),C=M(KX()),N=M(YX()),q=M(ZX()),z=M(JX()),F=M(XX()),T=M(QX()),k=M(eQ()),I=M(tQ()),U=M(rQ()),G=M(nQ()),X=M(oQ()),Z=M(iQ()),A=M(aQ()),$=M(sQ());function M(D){return D&&D.__esModule?D:{default:D}}var K=[["doc-abstract",e.default],["doc-acknowledgments",t.default],["doc-afterword",r.default],["doc-appendix",n.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",a.default],["doc-biblioref",s.default],["doc-chapter",u.default],["doc-colophon",l.default],["doc-conclusion",c.default],["doc-cover",d.default],["doc-credit",f.default],["doc-credits",p.default],["doc-dedication",h.default],["doc-endnote",m.default],["doc-endnotes",v.default],["doc-epigraph",g.default],["doc-epilogue",E.default],["doc-errata",_.default],["doc-example",x.default],["doc-footnote",S.default],["doc-foreword",y.default],["doc-glossary",b.default],["doc-glossref",w.default],["doc-index",C.default],["doc-introduction",N.default],["doc-noteref",q.default],["doc-notice",z.default],["doc-pagebreak",F.default],["doc-pagelist",T.default],["doc-part",k.default],["doc-preface",I.default],["doc-prologue",U.default],["doc-pullquote",G.default],["doc-qna",X.default],["doc-subtitle",Z.default],["doc-tip",A.default],["doc-toc",$.default]],L=K;return ll.default=L,ll}var Kl={},Yl={},dR;function uQ(){if(dR)return Yl;dR=1,Object.defineProperty(Yl,"__esModule",{value:!0}),Yl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},t=e;return Yl.default=t,Yl}var Zl={},fR;function cQ(){if(fR)return Zl;fR=1,Object.defineProperty(Zl,"__esModule",{value:!0}),Zl.default=void 0;var e={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},t=e;return Zl.default=t,Zl}var Jl={},pR;function dQ(){if(pR)return Jl;pR=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.default=void 0;var e={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},t=e;return Jl.default=t,Jl}var hR;function fQ(){if(hR)return Kl;hR=1,Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.default=void 0;var e=n(uQ()),t=n(cQ()),r=n(dQ());function n(a){return a&&a.__esModule?a:{default:a}}var o=[["graphics-document",e.default],["graphics-object",t.default],["graphics-symbol",r.default]],i=o;return Kl.default=i,Kl}var mR;function v0(){if(mR)return va;mR=1,Object.defineProperty(va,"__esModule",{value:!0}),va.default=void 0;var e=i(WZ()),t=i(_X()),r=i(lQ()),n=i(fQ()),o=i($c());function i(g){return g&&g.__esModule?g:{default:g}}function a(g,E,_){return E in g?Object.defineProperty(g,E,{value:_,enumerable:!0,configurable:!0,writable:!0}):g[E]=_,g}function s(g,E){var _=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!_){if(Array.isArray(g)||(_=c(g))||E){_&&(g=_);var x=0,S=function(){};return{s:S,n:function(){return x>=g.length?{done:!0}:{done:!1,value:g[x++]}},e:function(N){throw N},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
720
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,b=!1,w;return{s:function(){_=_.call(g)},n:function(){var N=_.next();return y=N.done,N},e:function(N){b=!0,w=N},f:function(){try{!y&&_.return!=null&&_.return()}finally{if(b)throw w}}}}function u(g,E){return p(g)||f(g,E)||c(g,E)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
721
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(g,E){if(g){if(typeof g=="string")return d(g,E);var _=Object.prototype.toString.call(g).slice(8,-1);if(_==="Object"&&g.constructor&&(_=g.constructor.name),_==="Map"||_==="Set")return Array.from(g);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(g,E)}}function d(g,E){(E==null||E>g.length)&&(E=g.length);for(var _=0,x=new Array(E);_<E;_++)x[_]=g[_];return x}function f(g,E){var _=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(_!=null){var x=[],S=!0,y=!1,b,w;try{for(_=_.call(g);!(S=(b=_.next()).done)&&(x.push(b.value),!(E&&x.length===E));S=!0);}catch(C){y=!0,w=C}finally{try{!S&&_.return!=null&&_.return()}finally{if(y)throw w}}return x}}function p(g){if(Array.isArray(g))return g}var h=[].concat(e.default,t.default,r.default,n.default);h.forEach(function(g){var E=u(g,2),_=E[1],x=s(_.superClass),S;try{for(x.s();!(S=x.n()).done;){var y=S.value,b=s(y),w;try{var C=function(){var q=w.value,z=h.find(function(U){var G=u(U,1),X=G[0];return X===q});if(z)for(var F=z[1],T=0,k=Object.keys(F.props);T<k.length;T++){var I=k[T];Object.prototype.hasOwnProperty.call(_.props,I)||Object.assign(_.props,a({},I,F.props[I]))}};for(b.s();!(w=b.n()).done;)C()}catch(N){b.e(N)}finally{b.f()}}}catch(N){x.e(N)}finally{x.f()}});var m={entries:function(){return h},forEach:function(E){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=s(h),S;try{for(x.s();!(S=x.n()).done;){var y=u(S.value,2),b=y[0],w=y[1];E.call(_,w,b,h)}}catch(C){x.e(C)}finally{x.f()}},get:function(E){var _=h.find(function(x){return x[0]===E});return _&&_[1]},has:function(E){return!!m.get(E)},keys:function(){return h.map(function(E){var _=u(E,1),x=_[0];return x})},values:function(){return h.map(function(E){var _=u(E,2),x=_[1];return x})}},v=(0,o.default)(m,m.entries());return va.default=v,va}var Xl={},Um={},gR;function pQ(){if(gR)return Um;gR=1;var e=Object.prototype.hasOwnProperty;function t(r,n){var o,i;if(r===n)return!0;if(r&&n&&(o=r.constructor)===n.constructor){if(o===Date)return r.getTime()===n.getTime();if(o===RegExp)return r.toString()===n.toString();if(o===Array){if((i=r.length)===n.length)for(;i--&&t(r[i],n[i]););return i===-1}if(!o||typeof r=="object"){i=0;for(o in r)if(e.call(r,o)&&++i&&!e.call(n,o)||!(o in n)||!t(r[o],n[o]))return!1;return Object.keys(n).length===i}}return r!==r&&n!==n}return Um.dequal=t,Um}var bR;function hQ(){if(bR)return Xl;bR=1,Object.defineProperty(Xl,"__esModule",{value:!0}),Xl.default=void 0;var e=pQ(),t=n($c()),r=n(v0());function n(S){return S&&S.__esModule?S:{default:S}}function o(S,y){return s(S)||a(S,y)||l(S,y)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
722
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(S,y){var b=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(b!=null){var w=[],C=!0,N=!1,q,z;try{for(b=b.call(S);!(C=(q=b.next()).done)&&(w.push(q.value),!(y&&w.length===y));C=!0);}catch(F){N=!0,z=F}finally{try{!C&&b.return!=null&&b.return()}finally{if(N)throw z}}return w}}function s(S){if(Array.isArray(S))return S}function u(S,y){var b=typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(!b){if(Array.isArray(S)||(b=l(S))||y){b&&(S=b);var w=0,C=function(){};return{s:C,n:function(){return w>=S.length?{done:!0}:{done:!1,value:S[w++]}},e:function(T){throw T},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
723
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,q=!1,z;return{s:function(){b=b.call(S)},n:function(){var T=b.next();return N=T.done,T},e:function(T){q=!0,z=T},f:function(){try{!N&&b.return!=null&&b.return()}finally{if(q)throw z}}}}function l(S,y){if(S){if(typeof S=="string")return c(S,y);var b=Object.prototype.toString.call(S).slice(8,-1);if(b==="Object"&&S.constructor&&(b=S.constructor.name),b==="Map"||b==="Set")return Array.from(S);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(S,y)}}function c(S,y){(y==null||y>S.length)&&(y=S.length);for(var b=0,w=new Array(y);b<y;b++)w[b]=S[b];return w}for(var d=[],f=r.default.keys(),p=0;p<f.length;p++){var h=f[p],m=r.default.get(h);if(m)for(var v=[].concat(m.baseConcepts,m.relatedConcepts),g=0;g<v.length;g++){var E=v[g];E.module==="HTML"&&(function(){var S=E.concept;if(S){var y=d.find(function(N){return(0,e.dequal)(N,S)}),b;y?b=y[1]:b=[];for(var w=!0,C=0;C<b.length;C++)if(b[C]===h){w=!1;break}w&&b.push(h),d.push([S,b])}})()}}var _={entries:function(){return d},forEach:function(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=u(d),C;try{for(w.s();!(C=w.n()).done;){var N=o(C.value,2),q=N[0],z=N[1];y.call(b,z,q,d)}}catch(F){w.e(F)}finally{w.f()}},get:function(y){var b=d.find(function(w){return y.name===w[0].name&&(0,e.dequal)(y.attributes,w[0].attributes)});return b&&b[1]},has:function(y){return!!_.get(y)},keys:function(){return d.map(function(y){var b=o(y,1),w=b[0];return w})},values:function(){return d.map(function(y){var b=o(y,2),w=b[1];return w})}},x=(0,t.default)(_,_.entries());return Xl.default=x,Xl}var Ql={},vR;function mQ(){if(vR)return Ql;vR=1,Object.defineProperty(Ql,"__esModule",{value:!0}),Ql.default=void 0;var e=r($c()),t=r(v0());function r(y){return y&&y.__esModule?y:{default:y}}function n(y,b){return a(y)||i(y,b)||u(y,b)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
724
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(y,b){var w=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(w!=null){var C=[],N=!0,q=!1,z,F;try{for(w=w.call(y);!(N=(z=w.next()).done)&&(C.push(z.value),!(b&&C.length===b));N=!0);}catch(T){q=!0,F=T}finally{try{!N&&w.return!=null&&w.return()}finally{if(q)throw F}}return C}}function a(y){if(Array.isArray(y))return y}function s(y,b){var w=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!w){if(Array.isArray(y)||(w=u(y))||b){w&&(y=w);var C=0,N=function(){};return{s:N,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(k){throw k},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
725
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var q=!0,z=!1,F;return{s:function(){w=w.call(y)},n:function(){var k=w.next();return q=k.done,k},e:function(k){z=!0,F=k},f:function(){try{!q&&w.return!=null&&w.return()}finally{if(z)throw F}}}}function u(y,b){if(y){if(typeof y=="string")return l(y,b);var w=Object.prototype.toString.call(y).slice(8,-1);if(w==="Object"&&y.constructor&&(w=y.constructor.name),w==="Map"||w==="Set")return Array.from(y);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return l(y,b)}}function l(y,b){(b==null||b>y.length)&&(b=y.length);for(var w=0,C=new Array(b);w<b;w++)C[w]=y[w];return C}for(var c=[],d=t.default.keys(),f=0;f<d.length;f++){var p=d[f],h=t.default.get(p),m=[];if(h){for(var v=[].concat(h.baseConcepts,h.relatedConcepts),g=0;g<v.length;g++){var E=v[g];if(E.module==="HTML"){var _=E.concept;_!=null&&m.push(_)}}m.length>0&&c.push([p,m])}}var x={entries:function(){return c},forEach:function(b){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=s(c),N;try{for(C.s();!(N=C.n()).done;){var q=n(N.value,2),z=q[0],F=q[1];b.call(w,F,z,c)}}catch(T){C.e(T)}finally{C.f()}},get:function(b){var w=c.find(function(C){return C[0]===b});return w&&w[1]},has:function(b){return!!x.get(b)},keys:function(){return c.map(function(b){var w=n(b,1),C=w[0];return C})},values:function(){return c.map(function(b){var w=n(b,2),C=w[1];return C})}},S=(0,e.default)(x,x.entries());return Ql.default=S,Ql}var yR;function gQ(){if(yR)return It;yR=1,Object.defineProperty(It,"__esModule",{value:!0}),It.roles=It.roleElements=It.elementRoles=It.dom=It.aria=void 0;var e=i(qZ()),t=i(kZ()),r=i(v0()),n=i(hQ()),o=i(mQ());function i(d){return d&&d.__esModule?d:{default:d}}var a=e.default;It.aria=a;var s=t.default;It.dom=s;var u=r.default;It.roles=u;var l=n.default;It.elementRoles=l;var c=o.default;return It.roleElements=c,It}var Kt=gQ(),Vm={exports:{}},wR;function bQ(){return wR||(wR=1,(function(e){var t=(function(){var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function a(u,l){if(!i[u]){i[u]={};for(var c=0;c<u.length;c++)i[u][u.charAt(c)]=c}return i[u][l]}var s={compressToBase64:function(u){if(u==null)return"";var l=s._compress(u,6,function(c){return n.charAt(c)});switch(l.length%4){default:case 0:return l;case 1:return l+"===";case 2:return l+"==";case 3:return l+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:s._decompress(u.length,32,function(l){return a(n,u.charAt(l))})},compressToUTF16:function(u){return u==null?"":s._compress(u,15,function(l){return r(l+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:s._decompress(u.length,16384,function(l){return u.charCodeAt(l)-32})},compressToUint8Array:function(u){for(var l=s.compress(u),c=new Uint8Array(l.length*2),d=0,f=l.length;d<f;d++){var p=l.charCodeAt(d);c[d*2]=p>>>8,c[d*2+1]=p%256}return c},decompressFromUint8Array:function(u){if(u==null)return s.decompress(u);for(var l=new Array(u.length/2),c=0,d=l.length;c<d;c++)l[c]=u[c*2]*256+u[c*2+1];var f=[];return l.forEach(function(p){f.push(r(p))}),s.decompress(f.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":s._compress(u,6,function(l){return o.charAt(l)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),s._decompress(u.length,32,function(l){return a(o,u.charAt(l))}))},compress:function(u){return s._compress(u,16,function(l){return r(l)})},_compress:function(u,l,c){if(u==null)return"";var d,f,p={},h={},m="",v="",g="",E=2,_=3,x=2,S=[],y=0,b=0,w;for(w=0;w<u.length;w+=1)if(m=u.charAt(w),Object.prototype.hasOwnProperty.call(p,m)||(p[m]=_++,h[m]=!0),v=g+m,Object.prototype.hasOwnProperty.call(p,v))g=v;else{if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(d=0;d<x;d++)y=y<<1,b==l-1?(b=0,S.push(c(y)),y=0):b++;for(f=g.charCodeAt(0),d=0;d<8;d++)y=y<<1|f&1,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=f>>1}else{for(f=1,d=0;d<x;d++)y=y<<1|f,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=0;for(f=g.charCodeAt(0),d=0;d<16;d++)y=y<<1|f&1,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=f>>1}E--,E==0&&(E=Math.pow(2,x),x++),delete h[g]}else for(f=p[g],d=0;d<x;d++)y=y<<1|f&1,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=f>>1;E--,E==0&&(E=Math.pow(2,x),x++),p[v]=_++,g=String(m)}if(g!==""){if(Object.prototype.hasOwnProperty.call(h,g)){if(g.charCodeAt(0)<256){for(d=0;d<x;d++)y=y<<1,b==l-1?(b=0,S.push(c(y)),y=0):b++;for(f=g.charCodeAt(0),d=0;d<8;d++)y=y<<1|f&1,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=f>>1}else{for(f=1,d=0;d<x;d++)y=y<<1|f,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=0;for(f=g.charCodeAt(0),d=0;d<16;d++)y=y<<1|f&1,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=f>>1}E--,E==0&&(E=Math.pow(2,x),x++),delete h[g]}else for(f=p[g],d=0;d<x;d++)y=y<<1|f&1,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=f>>1;E--,E==0&&(E=Math.pow(2,x),x++)}for(f=2,d=0;d<x;d++)y=y<<1|f&1,b==l-1?(b=0,S.push(c(y)),y=0):b++,f=f>>1;for(;;)if(y=y<<1,b==l-1){S.push(c(y));break}else b++;return S.join("")},decompress:function(u){return u==null?"":u==""?null:s._decompress(u.length,32768,function(l){return u.charCodeAt(l)})},_decompress:function(u,l,c){var d=[],f=4,p=4,h=3,m="",v=[],g,E,_,x,S,y,b,w={val:c(0),position:l,index:1};for(g=0;g<3;g+=1)d[g]=g;for(_=0,S=Math.pow(2,2),y=1;y!=S;)x=w.val&w.position,w.position>>=1,w.position==0&&(w.position=l,w.val=c(w.index++)),_|=(x>0?1:0)*y,y<<=1;switch(_){case 0:for(_=0,S=Math.pow(2,8),y=1;y!=S;)x=w.val&w.position,w.position>>=1,w.position==0&&(w.position=l,w.val=c(w.index++)),_|=(x>0?1:0)*y,y<<=1;b=r(_);break;case 1:for(_=0,S=Math.pow(2,16),y=1;y!=S;)x=w.val&w.position,w.position>>=1,w.position==0&&(w.position=l,w.val=c(w.index++)),_|=(x>0?1:0)*y,y<<=1;b=r(_);break;case 2:return""}for(d[3]=b,E=b,v.push(b);;){if(w.index>u)return"";for(_=0,S=Math.pow(2,h),y=1;y!=S;)x=w.val&w.position,w.position>>=1,w.position==0&&(w.position=l,w.val=c(w.index++)),_|=(x>0?1:0)*y,y<<=1;switch(b=_){case 0:for(_=0,S=Math.pow(2,8),y=1;y!=S;)x=w.val&w.position,w.position>>=1,w.position==0&&(w.position=l,w.val=c(w.index++)),_|=(x>0?1:0)*y,y<<=1;d[p++]=r(_),b=p-1,f--;break;case 1:for(_=0,S=Math.pow(2,16),y=1;y!=S;)x=w.val&w.position,w.position>>=1,w.position==0&&(w.position=l,w.val=c(w.index++)),_|=(x>0?1:0)*y,y<<=1;d[p++]=r(_),b=p-1,f--;break;case 2:return v.join("")}if(f==0&&(f=Math.pow(2,h),h++),d[b])m=d[b];else if(b===p)m=E+E.charAt(0);else return null;v.push(m),d[p++]=E+m.charAt(0),f--,E=m,f==0&&(f=Math.pow(2,h),h++)}}};return s})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Vm)),Vm.exports}var vQ=bQ();const yQ=Ec(vQ);var Ib={};function o5(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}const wQ=(e,t,r,n,o,i,a)=>{const s=n+r.indent,u=r.colors;return e.map(l=>{const c=t[l];let d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
726
- `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+l+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},EQ=3,_Q=(e,t,r,n,o,i)=>e.map(a=>{const s=typeof a=="string"?i5(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==EQ?"":t.spacingOuter+r+s}).join(""),i5=(e,t)=>{const r=t.colors.content;return r.open+o5(e)+r.close},SQ=(e,t)=>{const r=t.colors.comment;return r.open+"<!--"+o5(e)+"-->"+r.close},RQ=(e,t,r,n,o)=>{const i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},xQ=(e,t)=>{const r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},CQ=1,a5=3,s5=8,l5=11,AQ=/^((HTML|SVG)\w*)?Element$/,u5=e=>{const t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},PQ=e=>{const t=e.constructor.name,r=e.nodeType;return r===CQ&&(AQ.test(t)||u5(e))||r===a5&&t==="Text"||r===s5&&t==="Comment"||r===l5&&t==="DocumentFragment"};function TQ(e){return e.nodeType===a5}function OQ(e){return e.nodeType===s5}function Wm(e){return e.nodeType===l5}function $Q(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||u5(t))&&PQ(t)},serialize:(t,r,n,o,i,a)=>{if(TQ(t))return i5(t.data,r);if(OQ(t))return SQ(t.data,r);const s=Wm(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?xQ(s,r):RQ(s,wQ(Wm(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Wm(t)?{}:Array.from(t.attributes).reduce((u,l)=>(u[l.name]=l.value,u),{}),r,n+r.indent,o,i,a),_Q(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}let c5=null,y0=null,w0=null;try{const e=module&&module.require;y0=e.call(module,"fs").readFileSync,w0=e.call(module,"@babel/code-frame").codeFrameColumns,c5=e.call(module,"picocolors")}catch{}function qQ(e){const t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),i=[o[0],parseInt(o[1],10),parseInt(o[2],10)],a=i[0],s=i[1],u=i[2];let l="";try{l=y0(a,"utf-8")}catch{return""}const c=w0(l,{start:{line:s,column:u}},{highlightCode:!0,linesBelow:0});return c5.dim(n)+`
727
- `+c+`
728
- `}function kQ(){if(!y0||!w0)return"";const t=new Error().stack.split(`
729
- `).slice(1).find(r=>!r.includes("node_modules/"));return qQ(t)}const d5=3;function Gm(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function E0(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function f5(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function hn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}const MQ=["filterNode"],NQ=()=>{if(typeof process>"u")return!1;let e;try{var t;const r=(t=Ib)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},IQ=th.plugins.DOMCollection,jQ=1,DQ=8;function LQ(e){return e.nodeType!==DQ&&(e.nodeType!==jQ||!e.matches(Ee().defaultIgnore))}function ic(e,t,r){if(r===void 0&&(r={}),e||(e=E0().body),typeof t!="number"&&(t=typeof process<"u"&&typeof Ib<"u"&&Ib.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);const o=r,i=o.filterNode,a=i===void 0?LQ:i,s=Nb(o,MQ),u=th.format(e,{plugins:[$Q(a),IQ],printFunctionName:!1,highlight:NQ(),...s});return t!==void 0&&e.outerHTML.length>t?u.slice(0,t)+"...":u}const jb=function(){const e=kQ();console.log(e?ic(...arguments)+`
730
-
731
- `+e:ic(...arguments))};let wo={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){const r=ic(t),n=new Error([e,"Ignored nodes: comments, "+wo.defaultIgnore+`
732
- `+r].filter(Boolean).join(`
733
-
734
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function FQ(e){try{return wo._disableExpensiveErrorDiagnostics=!0,e()}finally{wo._disableExpensiveErrorDiagnostics=!1}}function BQ(e){typeof e=="function"&&(e=e(wo)),wo={...wo,...e}}function Ee(){return wo}const zQ=["button","meter","output","progress","select","textarea","input"];function p5(e){return zQ.includes(e.nodeName.toLowerCase())?"":e.nodeType===d5?e.textContent:Array.from(e.childNodes).map(t=>p5(t)).join("")}function Db(e){let t;return e.tagName.toLowerCase()==="label"?t=p5(e):t=e.value||e.textContent,t}function h5(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!HQ(e))return[];const r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function HQ(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function m5(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o;const a=t.getAttribute("aria-labelledby"),s=a?a.split(" "):[];return s.length?s.map(u=>{const l=e.querySelector('[id="'+u+'"]');return l?{content:Db(l),formControl:null}:{content:"",formControl:null}}):Array.from(h5(t)).map(u=>{const l=Db(u),d=Array.from(u.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(f=>f.matches(i))[0];return{content:l,formControl:d}})}function g5(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Xi(e,t,r,n){if(typeof e!="string")return!1;g5(r);const o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):b5(r,o)}function sn(e,t,r,n){if(typeof e!="string")return!1;g5(r);const o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?b5(r,o):o===String(r)}function _0(e){let t=e===void 0?{}:e,r=t.trim,n=r===void 0?!0:r,o=t.collapseWhitespace,i=o===void 0?!0:o;return a=>{let s=a;return s=n?s.trim():s,s=i?s.replace(/\s+/g," "):s,s}}function Do(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return _0({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function b5(e,t){const r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function qc(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===d5&&!!t.textContent).map(t=>t.textContent).join("")}const UQ=VQ(Kt.elementRoles);function v5(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function rh(e,t){t===void 0&&(t={});const r=t,n=r.isSubtreeInaccessible,o=n===void 0?v5:n;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(o(a))return!0;a=a.parentElement}return!1}function S0(e){for(const t of UQ){const r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function VQ(e){function t(a){let s=a.name,u=a.attributes;return""+s+u.map(l=>{let c=l.name,d=l.value,f=l.constraints,p=f===void 0?[]:f;const h=p.indexOf("undefined")!==-1,m=p.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':h?":not(["+c+"])":m?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let u=a.specificity;return s.specificity-u}function o(a){let s=a.attributes,u=s===void 0?[]:s;const l=u.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");l>=0&&(u=[...u.slice(0,l),...u.slice(l+1)]);const c=t({...a,attributes:u});return d=>l>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(const a of e.entries()){const s=a[0],u=a[1];i=[...i,{match:o(s),roles:Array.from(u),specificity:r(s)}]}return i.sort(n)}function y5(e,t){let r=t===void 0?{}:t,n=r.hidden,o=n===void 0?!1:n;function i(a){return[a,...Array.from(a.children).reduce((s,u)=>[...s,...i(u)],[])]}return i(e).filter(a=>o===!1?rh(a)===!1:!0).reduce((a,s)=>{let u=[];return s.hasAttribute("role")?u=s.getAttribute("role").split(" ").slice(0,1):u=S0(s),u.reduce((l,c)=>Array.isArray(l[c])?{...l,[c]:[...l[c],s]}:{...l,[c]:[s]},a)},{})}function w5(e,t){let r=t.hidden,n=t.includeDescription;const o=y5(e,{hidden:r});return Object.entries(o).filter(i=>i[0]!=="generic").map(i=>{let a=i[0],s=i[1];const u="-".repeat(50),l=s.map(c=>{const d='Name "'+b0(c,{computedStyleSupportsPseudoElements:Ee().computedStyleSupportsPseudoElements})+`":
735
- `,f=ic(c.cloneNode(!1));if(n){const p='Description "'+n5(c,{computedStyleSupportsPseudoElements:Ee().computedStyleSupportsPseudoElements})+`":
736
- `;return""+d+p+f}return""+d+f}).join(`
737
-
738
- `);return a+`:
739
-
740
- `+l+`
741
-
742
- `+u}).join(`
743
- `)}const WQ=function(e,t){let r=t===void 0?{}:t,n=r.hidden;return console.log(w5(e,{hidden:n===void 0?!1:n}))};function GQ(e){return e.tagName==="OPTION"?e.selected:kc(e,"aria-selected")}function KQ(e){return e.getAttribute("aria-busy")==="true"}function YQ(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:kc(e,"aria-checked")}function ZQ(e){return kc(e,"aria-pressed")}function JQ(e){var t,r;return(t=(r=kc(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function XQ(e){return kc(e,"aria-expanded")}function kc(e,t){const r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function QQ(e){const t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function eee(e){const t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function tee(e){const t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function ree(e){const t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function nee(e){const t=e.getAttribute("aria-valuetext");return t===null?void 0:t}const ER=_0();function oee(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function _R(e){return new RegExp(oee(e.toLowerCase()),"i")}function vn(e,t,r,n){let o=n.variant,i=n.name,a="";const s={},u=[["Role","TestId"].includes(e)?r:_R(r)];i&&(s.name=_R(i)),e==="Role"&&rh(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
744
- If you are using the aria-hidden prop, make sure this is the right choice for your case.
745
- `),Object.keys(s).length>0&&u.push(s);const l=o+"By"+e;return{queryName:e,queryMethod:l,queryArgs:u,variant:o,warning:a,toString(){a&&console.warn(a);let c=u[0],d=u[1];return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(f=>{let p=f[0],h=f[1];return p+": "+h}).join(", ")+" }":"",l+"("+c+d+")"}}}function yn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Gf(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(Ee().defaultIgnore))return;const i=(n=e.getAttribute("role"))!=null?n:(o=S0(e))==null?void 0:o[0];if(i!=="generic"&&yn("Role",r,i))return vn("Role",e,i,{variant:t,name:b0(e,{computedStyleSupportsPseudoElements:Ee().computedStyleSupportsPseudoElements})});const a=m5(document,e).map(f=>f.content).join(" ");if(yn("LabelText",r,a))return vn("LabelText",e,a,{variant:t});const s=e.getAttribute("placeholder");if(yn("PlaceholderText",r,s))return vn("PlaceholderText",e,s,{variant:t});const u=ER(qc(e));if(yn("Text",r,u))return vn("Text",e,u,{variant:t});if(yn("DisplayValue",r,e.value))return vn("DisplayValue",e,ER(e.value),{variant:t});const l=e.getAttribute("alt");if(yn("AltText",r,l))return vn("AltText",e,l,{variant:t});const c=e.getAttribute("title");if(yn("Title",r,c))return vn("Title",e,c,{variant:t});const d=e.getAttribute(Ee().testIdAttribute);if(yn("TestId",r,d))return vn("TestId",e,d,{variant:t})}function Ed(e,t){e.stack=t.stack.replace(t.message,e.message)}function iee(e,t){let r=t.container,n=r===void 0?E0():r,o=t.timeout,i=o===void 0?Ee().asyncUtilTimeout:o,a=t.showOriginalStackTrace,s=a===void 0?Ee().showOriginalStackTrace:a,u=t.stackTraceError,l=t.interval,c=l===void 0?50:l,d=t.onTimeout,f=d===void 0?m=>(Object.defineProperty(m,"message",{value:Ee().getElementError(m.message,n).message}),m):d,p=t.mutationObserverOptions,h=p===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:p;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(m,v)=>{let g,E,_,x=!1,S="idle";const y=setTimeout(q,i),b=Gm();if(b){const z=Ee(),F=z.unstable_advanceTimersWrapper;for(N();!x;){if(!Gm()){const T=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");s||Ed(T,u),v(T);return}if(await F(async()=>{jest.advanceTimersByTime(c)}),x)break;N()}}else{try{hn(n)}catch(T){v(T);return}E=setInterval(C,c);const z=f5(n),F=z.MutationObserver;_=new F(C),_.observe(n,h),N()}function w(z,F){x=!0,clearTimeout(y),b||(clearInterval(E),_.disconnect()),z?v(z):m(F)}function C(){if(Gm()){const z=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return s||Ed(z,u),v(z)}else return N()}function N(){if(S!=="pending")try{const z=FQ(e);typeof z?.then=="function"?(S="pending",z.then(F=>{S="resolved",w(null,F)},F=>{S="rejected",g=F})):w(null,z)}catch(z){g=z}}function q(){let z;g?(z=g,!s&&z.name==="TestingLibraryElementError"&&Ed(z,u)):(z=new Error("Timed out in waitFor."),s||Ed(z,u)),w(f(z),null)}})}function R0(e,t){const r=new Error("STACK_TRACE_MESSAGE");return Ee().asyncWrapper(()=>iee(e,{stackTraceError:r,...t}))}function nh(e,t){return Ee().getElementError(e,t)}function oh(e,t){return nh(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Lo(e,t,r,n){let o=n===void 0?{}:n,i=o.exact,a=i===void 0?!0:i,s=o.collapseWhitespace,u=o.trim,l=o.normalizer;const c=a?sn:Xi,d=Do({collapseWhitespace:s,trim:u,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(f=>c(f.getAttribute(e),f,r,d))}function E5(e,t,r,n){const o=Lo(e,t,r,n);if(o.length>1)throw oh("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function Oi(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];const a=e(r,...o);if(a.length>1){const s=a.map(u=>nh(null,u).message).join(`
746
-
747
- `);throw oh(t(r,...o)+`
748
-
749
- Here are the matching elements:
750
-
751
- `+s,r)}return a[0]||null}}function _5(e,t){return Ee().getElementError(`A better query is available, try this:
752
- `+e.toString()+`
753
- `,t)}function x0(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];const a=e(r,...o);if(!a.length)throw Ee().getElementError(t(r,...o),r);return a}}function $i(e){return(t,r,n,o)=>R0(()=>e(t,r,n),{container:t,...o})}const jn=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];const s=e(n,...i),u=i.slice(-1),l=u[0],c=l===void 0?{}:l,d=c.suggest,f=d===void 0?Ee().throwSuggestions:d;if(s&&f){const p=Gf(s,r);if(p&&!t.endsWith(p.queryName))throw _5(p.toString(),n)}return s},kt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];const s=e(n,...i),u=i.slice(-1),l=u[0],c=l===void 0?{}:l,d=c.suggest,f=d===void 0?Ee().throwSuggestions:d;if(s.length&&f){const p=[...new Set(s.map(h=>{var m;return(m=Gf(h,r))==null?void 0:m.toString()}))];if(p.length===1&&!t.endsWith(Gf(s[0],r).queryName))throw _5(p[0],n)}return s};function mn(e,t,r){const n=jn(Oi(e,t),e.name,"query"),o=x0(e,r),i=Oi(o,t),a=jn(i,e.name,"get"),s=kt(o,e.name.replace("query","get"),"getAll"),u=$i(kt(o,e.name,"findAll")),l=$i(jn(i,e.name,"find"));return[n,s,a,u,l]}var aee=Object.freeze({__proto__:null,getElementError:nh,wrapAllByQueryWithSuggestion:kt,wrapSingleQueryWithSuggestion:jn,getMultipleElementsFoundError:oh,queryAllByAttribute:Lo,queryByAttribute:E5,makeSingleQuery:Oi,makeGetAllQuery:x0,makeFindQuery:$i,buildQueries:mn});function see(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Db(t)})).filter(t=>t.textToMatch!==null)}const lee=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.trim,s=n.collapseWhitespace,u=n.normalizer;const l=i?sn:Xi,c=Do({collapseWhitespace:s,trim:a,normalizer:u});return see(e).filter(f=>{let p=f.node,h=f.textToMatch;return l(h,p,t,c)}).map(f=>f.node)},ac=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,u=n.collapseWhitespace,l=n.trim,c=n.normalizer;hn(e);const d=s?sn:Xi,f=Do({collapseWhitespace:u,trim:l,normalizer:c}),p=Array.from(e.querySelectorAll("*")).filter(h=>h5(h).length||h.hasAttribute("aria-labelledby")).reduce((h,m)=>{const v=m5(e,m,{selector:i});v.filter(E=>!!E.formControl).forEach(E=>{d(E.content,E.formControl,t,f)&&E.formControl&&h.push(E.formControl)});const g=v.filter(E=>!!E.content).map(E=>E.content);return d(g.join(" "),m,t,f)&&h.push(m),g.length>1&&g.forEach((E,_)=>{d(E,m,t,f)&&h.push(m);const x=[...g];x.splice(_,1),x.length>1&&d(x.join(" "),m,t,f)&&h.push(m)}),h},[]).concat(Lo("aria-label",e,t,{exact:s,normalizer:f}));return Array.from(new Set(p)).filter(h=>h.matches(i))},Po=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];const i=ac(e,t,...n);if(!i.length){const a=lee(e,t,...n);if(a.length){const s=a.map(u=>uee(e,u)).filter(u=>!!u);throw s.length?Ee().getElementError(s.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
754
-
755
- `),e):Ee().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Ee().getElementError("Unable to find a label with the text of: "+t,e)}return i};function uee(e,t){const r=t.getAttribute("for");if(!r)return null;const n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}const S5=(e,t)=>"Found multiple elements with the text of: "+t,R5=jn(Oi(ac,S5),ac.name,"query"),x5=Oi(Po,S5),C5=$i(kt(Po,Po.name,"findAll")),A5=$i(jn(x5,Po.name,"find")),P5=kt(Po,Po.name,"getAll"),T5=jn(x5,Po.name,"get"),O5=kt(ac,ac.name,"queryAll"),Lb=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return hn(t[0]),Lo("placeholder",...t)},cee=(e,t)=>"Found multiple elements with the placeholder text of: "+t,dee=(e,t)=>"Unable to find an element with the placeholder text of: "+t,$5=kt(Lb,Lb.name,"queryAll"),Mc=mn(Lb,cee,dee),q5=Mc[0],k5=Mc[1],M5=Mc[2],N5=Mc[3],I5=Mc[4],Fb=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,u=n.collapseWhitespace,l=n.trim,c=n.ignore,d=c===void 0?Ee().defaultIgnore:c,f=n.normalizer;hn(e);const p=s?sn:Xi,h=Do({collapseWhitespace:u,trim:l,normalizer:f});let m=[];return typeof e.matches=="function"&&e.matches(i)&&(m=[e]),[...m,...Array.from(e.querySelectorAll(i))].filter(v=>!d||!v.matches(d)).filter(v=>p(qc(v),v,t,h))},fee=(e,t)=>"Found multiple elements with the text: "+t,pee=function(e,t,r){r===void 0&&(r={});const n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,l=Do({collapseWhitespace:o,trim:i,normalizer:a})(t.toString()),c=l!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?l+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},j5=kt(Fb,Fb.name,"queryAll"),Nc=mn(Fb,fee,pee),D5=Nc[0],L5=Nc[1],F5=Nc[2],B5=Nc[3],z5=Nc[4],Bb=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,u=n.normalizer;hn(e);const l=i?sn:Xi,c=Do({collapseWhitespace:a,trim:s,normalizer:u});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(p=>p.selected).some(p=>l(qc(p),p,t,c)):l(d.value,d,t,c))},hee=(e,t)=>"Found multiple elements with the display value: "+t+".",mee=(e,t)=>"Unable to find an element with the display value: "+t+".",H5=kt(Bb,Bb.name,"queryAll"),Ic=mn(Bb,hee,mee),U5=Ic[0],V5=Ic[1],W5=Ic[2],G5=Ic[3],K5=Ic[4],gee=/^(img|input|area|.+-.+)$/i,zb=function(e,t,r){return r===void 0&&(r={}),hn(e),Lo("alt",e,t,r).filter(n=>gee.test(n.tagName))},bee=(e,t)=>"Found multiple elements with the alt text: "+t,vee=(e,t)=>"Unable to find an element with the alt text: "+t,Y5=kt(zb,zb.name,"queryAll"),jc=mn(zb,bee,vee),Z5=jc[0],J5=jc[1],X5=jc[2],Q5=jc[3],e6=jc[4],yee=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Hb=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,u=n.normalizer;hn(e);const l=i?sn:Xi,c=Do({collapseWhitespace:a,trim:s,normalizer:u});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>l(d.getAttribute("title"),d,t,c)||yee(d)&&l(qc(d),d,t,c))},wee=(e,t)=>"Found multiple elements with the title: "+t+".",Eee=(e,t)=>"Unable to find an element with the title: "+t+".",t6=kt(Hb,Hb.name,"queryAll"),Dc=mn(Hb,wee,Eee),r6=Dc[0],n6=Dc[1],o6=Dc[2],i6=Dc[3],a6=Dc[4],Ub=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?Ee().defaultHidden:o,a=n.name,s=n.description,u=n.queryFallbacks,l=u===void 0?!1:u,c=n.selected,d=n.busy,f=n.checked,p=n.pressed,h=n.current,m=n.level,v=n.expanded,g=n.value,E=g===void 0?{}:g,_=E.now,x=E.min,S=E.max,y=E.text;if(hn(e),c!==void 0){var b;if(((b=Kt.roles.get(t))==null?void 0:b.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var w;if(((w=Kt.roles.get(t))==null?void 0:w.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(f!==void 0){var C;if(((C=Kt.roles.get(t))==null?void 0:C.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var N;if(((N=Kt.roles.get(t))==null?void 0:N.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(h!==void 0){var q;if(((q=Kt.roles.get(t))==null?void 0:q.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(m!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(_!==void 0){var z;if(((z=Kt.roles.get(t))==null?void 0:z.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(S!==void 0){var F;if(((F=Kt.roles.get(t))==null?void 0:F.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(x!==void 0){var T;if(((T=Kt.roles.get(t))==null?void 0:T.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var k;if(((k=Kt.roles.get(t))==null?void 0:k.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(v!==void 0){var I;if(((I=Kt.roles.get(t))==null?void 0:I.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}const U=new WeakMap;function G(X){return U.has(X)||U.set(X,v5(X)),U.get(X)}return Array.from(e.querySelectorAll(_ee(t))).filter(X=>{if(X.hasAttribute("role")){const $=X.getAttribute("role");return l?$.split(" ").filter(Boolean).some(L=>L===t):$.split(" ")[0]===t}return S0(X).some($=>$===t)}).filter(X=>{if(c!==void 0)return c===GQ(X);if(d!==void 0)return d===KQ(X);if(f!==void 0)return f===YQ(X);if(p!==void 0)return p===ZQ(X);if(h!==void 0)return h===JQ(X);if(v!==void 0)return v===XQ(X);if(m!==void 0)return m===QQ(X);if(_!==void 0||S!==void 0||x!==void 0||y!==void 0){let A=!0;if(_!==void 0&&A&&(A=_===eee(X)),S!==void 0&&A&&(A=S===tee(X)),x!==void 0&&A&&(A=x===ree(X)),y!==void 0){var Z;A&&(A=sn((Z=nee(X))!=null?Z:null,X,y,$=>$))}return A}return!0}).filter(X=>a===void 0?!0:sn(b0(X,{computedStyleSupportsPseudoElements:Ee().computedStyleSupportsPseudoElements}),X,a,Z=>Z)).filter(X=>s===void 0?!0:sn(n5(X,{computedStyleSupportsPseudoElements:Ee().computedStyleSupportsPseudoElements}),X,s,Z=>Z)).filter(X=>i===!1?rh(X,{isSubtreeInaccessible:G})===!1:!0)};function _ee(e){var t;const r='*[role~="'+e+'"]',n=(t=Kt.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>i.name));return[r].concat(Array.from(o)).join(",")}const s6=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},See=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+s6(o)},Ree=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?Ee().defaultHidden:o,a=n.name,s=n.description;if(Ee()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+s6(a);let u="";Array.from(e.children).forEach(f=>{u+=w5(f,{hidden:i,includeDescription:s!==void 0})});let l;u.length===0?i===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
756
- Here are the `+(i===!1?"accessible":"available")+` roles:
757
-
758
- `+u.replace(/\n/g,`
759
- `).replace(/\n\s\s\n/g,`
760
-
761
- `)+`
762
- `).trim();let c="";a===void 0?c="":typeof a=="string"?c=' and name "'+a+'"':c=" and name `"+a+"`";let d="";return s===void 0?d="":typeof s=="string"?d=' and description "'+s+'"':d=" and description `"+s+"`",(`
763
- Unable to find an `+(i===!1?"accessible ":"")+'element with the role "'+t+'"'+c+d+`
764
-
765
- `+l).trim()},l6=kt(Ub,Ub.name,"queryAll"),Lc=mn(Ub,See,Ree),u6=Lc[0],c6=Lc[1],d6=Lc[2],f6=Lc[3],p6=Lc[4],C0=()=>Ee().testIdAttribute,Vb=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return hn(t[0]),Lo(C0(),...t)},xee=(e,t)=>"Found multiple elements by: ["+C0()+'="'+t+'"]',Cee=(e,t)=>"Unable to find an element by: ["+C0()+'="'+t+'"]',h6=kt(Vb,Vb.name,"queryAll"),Fc=mn(Vb,xee,Cee),m6=Fc[0],g6=Fc[1],b6=Fc[2],v6=Fc[3],y6=Fc[4];var Kf=Object.freeze({__proto__:null,queryAllByLabelText:O5,queryByLabelText:R5,getAllByLabelText:P5,getByLabelText:T5,findAllByLabelText:C5,findByLabelText:A5,queryByPlaceholderText:q5,queryAllByPlaceholderText:$5,getByPlaceholderText:M5,getAllByPlaceholderText:k5,findAllByPlaceholderText:N5,findByPlaceholderText:I5,queryByText:D5,queryAllByText:j5,getByText:F5,getAllByText:L5,findAllByText:B5,findByText:z5,queryByDisplayValue:U5,queryAllByDisplayValue:H5,getByDisplayValue:W5,getAllByDisplayValue:V5,findAllByDisplayValue:G5,findByDisplayValue:K5,queryByAltText:Z5,queryAllByAltText:Y5,getByAltText:X5,getAllByAltText:J5,findAllByAltText:Q5,findByAltText:e6,queryByTitle:r6,queryAllByTitle:t6,getByTitle:o6,getAllByTitle:n6,findAllByTitle:i6,findByTitle:a6,queryByRole:u6,queryAllByRole:l6,getAllByRole:c6,getByRole:d6,findAllByRole:f6,findByRole:p6,queryByTestId:m6,queryAllByTestId:h6,getByTestId:b6,getAllByTestId:g6,findAllByTestId:v6,findByTestId:y6});function Wb(e,t,r){return t===void 0&&(t=Kf),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{const i=t[o];return n[o]=i.bind(null,e),n},r)}const w6=e=>!e||Array.isArray(e)&&!e.length;function SR(e){if(w6(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function Aee(e,t){const r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){SR(e);const o=(Array.isArray(e)?e:[e]).map(i=>{let a=i.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(i)?i:null});e=()=>o.map(i=>i()).filter(Boolean)}return SR(e()),R0(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!w6(n))throw r},t)}const RR={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},xR={doubleClick:"dblClick"},Pee=["value","files"],Tee=["bubbles","cancelable","detail"];function sc(e,t){return Ee().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function ef(e,t,r,n){let o=n===void 0?{}:n,i=o.EventType,a=i===void 0?"Event":i,s=o.defaultInit,u=s===void 0?{}:s;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');const l={...u,...r},c=l.target,d=c===void 0?{}:c,f=d.value,p=d.files,h=Nb(d,Pee);f!==void 0&&Oee(t,f),p!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:p}),Object.assign(t,h);const m=f5(t),v=m[a]||m.Event;let g;if(typeof v=="function")g=new v(e,l);else{g=m.document.createEvent(a);const _=l.bubbles,x=l.cancelable,S=l.detail,y=Nb(l,Tee);g.initEvent(e,_,x,S),Object.keys(y).forEach(b=>{g[b]=y[b]})}return["dataTransfer","clipboardData"].forEach(_=>{const x=l[_];typeof x=="object"&&(typeof m.DataTransfer=="function"?Object.defineProperty(g,_,{value:Object.getOwnPropertyNames(x).reduce((S,y)=>(Object.defineProperty(S,y,{value:x[y]}),S),new m.DataTransfer)}):Object.defineProperty(g,_,{value:x}))}),g}Object.keys(RR).forEach(e=>{const t=RR[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();ef[e]=(i,a)=>ef(o,i,a,{EventType:r,defaultInit:n}),sc[e]=(i,a)=>sc(i,ef[e](i,a))});function Oee(e,t){const r=Object.getOwnPropertyDescriptor(e,"value")||{},n=r.set,o=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(o,"value")||{},a=i.set;if(a&&n!==a)a.call(e,t);else if(n)n.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(xR).forEach(e=>{const t=xR[e];sc[e]=function(){return sc[t](...arguments)}});function $ee(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
766
- `)}function qee(e){return yQ.compressToEncodedURIComponent($ee(e))}function kee(e){return"https://testing-playground.com/#markup="+qee(e)}const Mee=(e,t,r)=>Array.isArray(e)?e.forEach(n=>jb(n,t,r)):jb(e,t,r),Nee=function(e){if(e===void 0&&(e=E0().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}const t=kee(e.innerHTML);return console.log(`Open this URL in your browser
767
-
768
- `+t),t},CR={debug:Mee,logTestingPlaygroundURL:Nee},Iee=typeof document<"u"&&document.body?Wb(document.body,Kf,CR):Object.keys(Kf).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),CR),jee=Object.freeze(Object.defineProperty({__proto__:null,buildQueries:mn,configure:BQ,createEvent:ef,findAllByAltText:Q5,findAllByDisplayValue:G5,findAllByLabelText:C5,findAllByPlaceholderText:N5,findAllByRole:f6,findAllByTestId:v6,findAllByText:B5,findAllByTitle:i6,findByAltText:e6,findByDisplayValue:K5,findByLabelText:A5,findByPlaceholderText:I5,findByRole:p6,findByTestId:y6,findByText:z5,findByTitle:a6,fireEvent:sc,getAllByAltText:J5,getAllByDisplayValue:V5,getAllByLabelText:P5,getAllByPlaceholderText:k5,getAllByRole:c6,getAllByTestId:g6,getAllByText:L5,getAllByTitle:n6,getByAltText:X5,getByDisplayValue:W5,getByLabelText:T5,getByPlaceholderText:M5,getByRole:d6,getByTestId:b6,getByText:F5,getByTitle:o6,getConfig:Ee,getDefaultNormalizer:_0,getElementError:nh,getMultipleElementsFoundError:oh,getNodeText:qc,getQueriesForElement:Wb,getRoles:y5,getSuggestedQuery:Gf,isInaccessible:rh,logDOM:jb,logRoles:WQ,makeFindQuery:$i,makeGetAllQuery:x0,makeSingleQuery:Oi,prettyDOM:ic,prettyFormat:LY,queries:Kf,queryAllByAltText:Y5,queryAllByAttribute:Lo,queryAllByDisplayValue:H5,queryAllByLabelText:O5,queryAllByPlaceholderText:$5,queryAllByRole:l6,queryAllByTestId:h6,queryAllByText:j5,queryAllByTitle:t6,queryByAltText:Z5,queryByAttribute:E5,queryByDisplayValue:U5,queryByLabelText:R5,queryByPlaceholderText:q5,queryByRole:u6,queryByTestId:m6,queryByText:D5,queryByTitle:r6,queryHelpers:aee,screen:Iee,waitFor:R0,waitForElementToBeRemoved:Aee,within:Wb,wrapAllByQueryWithSuggestion:kt,wrapSingleQueryWithSuggestion:jn},Symbol.toStringTag,{value:"Module"}));var Dee=V({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,i)=>Math.min(o,i.length),1/0):0}}}),Lee=V({"../../node_modules/strip-indent/index.js"(e,t){var r=Dee();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}}),Fee=V({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(n))}}}),E6=V({"../../node_modules/redent/index.js"(e,t){var r=Lee(),n=Fee();t.exports=(o,i=0,a)=>n(r(o),i,a)}}),Bee=V({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var i=r[n];return n=n+1,{done:!1,value:i}}else return{done:!0}}};return o}e.default=t}}),Bc=V({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(Bee());function r(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(i)}function o(i,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(a)}),i}}}),zee=V({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Bc());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,f){return u(d)||s(d,f)||i(d,f)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
769
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(d,f){if(d){if(typeof d=="string")return a(d,f);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?a(d,f):void 0}}function a(d,f){(f==null||f>d.length)&&(f=d.length);for(var p=0,h=Array(f);p<f;p++)h[p]=d[p];return h}function s(d,f){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var h,m,v,g,E=[],_=!0,x=!1;try{if(v=(p=p.call(d)).next,f===0){if(Object(p)!==p)return;_=!1}else for(;!(_=(h=v.call(p)).done)&&(E.push(h.value),E.length!==f);_=!0);}catch(S){x=!0,m=S}finally{try{if(!_&&p.return!=null&&(g=p.return(),Object(g)!==g))return}finally{if(x)throw m}}return E}}function u(d){if(Array.isArray(d))return d}var l=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],c={entries:function(){return l},forEach:function(d){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,h=l;p<h.length;p++){var m=n(h[p],2),v=m[0],g=m[1];d.call(f,g,v,l)}},get:function(d){var f=l.filter(function(p){return p[0]===d})[0];return f&&f[1]},has:function(d){return!!c.get(d)},keys:function(){return l.map(function(d){var f=n(d,1),p=f[0];return p})},values:function(){return l.map(function(d){var f=n(d,2),p=f[1];return p})}};e.default=(0,t.default)(c,c.entries())}}),Hee=V({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Bc());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,f){return u(d)||s(d,f)||i(d,f)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
770
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(d,f){if(d){if(typeof d=="string")return a(d,f);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?a(d,f):void 0}}function a(d,f){(f==null||f>d.length)&&(f=d.length);for(var p=0,h=Array(f);p<f;p++)h[p]=d[p];return h}function s(d,f){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var h,m,v,g,E=[],_=!0,x=!1;try{if(v=(p=p.call(d)).next,f===0){if(Object(p)!==p)return;_=!1}else for(;!(_=(h=v.call(p)).done)&&(E.push(h.value),E.length!==f);_=!0);}catch(S){x=!0,m=S}finally{try{if(!_&&p.return!=null&&(g=p.return(),Object(g)!==g))return}finally{if(x)throw m}}return E}}function u(d){if(Array.isArray(d))return d}var l=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],c={entries:function(){return l},forEach:function(d){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,h=l;p<h.length;p++){var m=n(h[p],2),v=m[0],g=m[1];d.call(f,g,v,l)}},get:function(d){var f=l.filter(function(p){return p[0]===d})[0];return f&&f[1]},has:function(d){return!!c.get(d)},keys:function(){return l.map(function(d){var f=n(d,1),p=f[0];return p})},values:function(){return l.map(function(d){var f=n(d,2),p=f[1];return p})}};e.default=(0,t.default)(c,c.entries())}}),Uee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),Vee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),Wee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),Gee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Yee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),Zee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Jee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Xee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),Qee=V({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),ete=V({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),tte=V({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),rte=V({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(Uee()),r=p(Vee()),n=p(Wee()),o=p(Gee()),i=p(Kee()),a=p(Yee()),s=p(Zee()),u=p(Jee()),l=p(Xee()),c=p(Qee()),d=p(ete()),f=p(tte());function p(m){return m&&m.__esModule?m:{default:m}}var h=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",a.default],["section",s.default],["sectionhead",u.default],["select",l.default],["structure",c.default],["widget",d.default],["window",f.default]];e.default=h}}),nte=V({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ote=V({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),ite=V({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),ate=V({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),ste=V({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),lte=V({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ute=V({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),cte=V({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dte=V({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),fte=V({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),pte=V({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hte=V({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),mte=V({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),gte=V({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),bte=V({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vte=V({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),yte=V({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wte=V({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),Ete=V({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),_te=V({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Ste=V({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rte=V({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),xte=V({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Cte=V({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ate=V({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Pte=V({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),Tte=V({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),Ote=V({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),$te=V({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),qte=V({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kte=V({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Mte=V({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),Nte=V({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ite=V({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),jte=V({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Dte=V({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Lte=V({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Fte=V({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Bte=V({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),zte=V({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Hte=V({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Ute=V({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),Vte=V({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),Wte=V({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),Gte=V({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),Kte=V({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),Yte=V({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Zte=V({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),Jte=V({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Xte=V({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),Qte=V({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ere=V({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),tre=V({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),rre=V({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),nre=V({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),ore=V({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),ire=V({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),are=V({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),sre=V({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),lre=V({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),ure=V({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),cre=V({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),dre=V({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),fre=V({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),pre=V({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),hre=V({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),mre=V({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gre=V({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bre=V({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),vre=V({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),yre=V({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),wre=V({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ere=V({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),_re=V({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Sre=V({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Rre=V({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),xre=V({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Cre=V({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),Are=V({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),Pre=V({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Tre=V({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),Ore=V({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),$re=V({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),qre=V({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=re(nte()),r=re(ote()),n=re(ite()),o=re(ate()),i=re(ste()),a=re(lte()),s=re(ute()),u=re(cte()),l=re(dte()),c=re(fte()),d=re(pte()),f=re(hte()),p=re(mte()),h=re(gte()),m=re(bte()),v=re(vte()),g=re(yte()),E=re(wte()),_=re(Ete()),x=re(_te()),S=re(Ste()),y=re(Rte()),b=re(xte()),w=re(Cte()),C=re(Ate()),N=re(Pte()),q=re(Tte()),z=re(Ote()),F=re($te()),T=re(qte()),k=re(kte()),I=re(Mte()),U=re(Nte()),G=re(Ite()),X=re(jte()),Z=re(Dte()),A=re(Lte()),$=re(Fte()),M=re(Bte()),K=re(zte()),L=re(Hte()),D=re(Ute()),Y=re(Vte()),ne=re(Wte()),j=re(Gte()),ee=re(Kte()),se=re(Yte()),be=re(Zte()),ve=re(Jte()),ke=re(Xte()),le=re(Qte()),me=re(ere()),mt=re(tre()),Fo=re(rre()),ta=re(nre()),ra=re(ore()),Ch=re(ire()),Ah=re(are()),Ph=re(sre()),Th=re(lre()),Oh=re(ure()),$h=re(cre()),qh=re(dre()),kh=re(fre()),Mh=re(pre()),Nh=re(hre()),Ih=re(mre()),jh=re(gre()),Dh=re(bre()),Lh=re(vre()),Fh=re(yre()),Bh=re(wre()),zh=re(Ere()),Hh=re(_re()),Uh=re(Sre()),Vh=re(Rre()),Wh=re(xre()),Gh=re(Cre()),Kh=re(Are()),Yh=re(Pre()),Zh=re(Tre()),Jh=re(Ore()),te=re($re());function re(Ir){return Ir&&Ir.__esModule?Ir:{default:Ir}}var Xh=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",a.default],["button",s.default],["caption",u.default],["cell",l.default],["checkbox",c.default],["code",d.default],["columnheader",f.default],["combobox",p.default],["complementary",h.default],["contentinfo",m.default],["definition",v.default],["deletion",g.default],["dialog",E.default],["directory",_.default],["document",x.default],["emphasis",S.default],["feed",y.default],["figure",b.default],["form",w.default],["generic",C.default],["grid",N.default],["gridcell",q.default],["group",z.default],["heading",F.default],["img",T.default],["insertion",k.default],["link",I.default],["list",U.default],["listbox",G.default],["listitem",X.default],["log",Z.default],["main",A.default],["mark",$.default],["marquee",M.default],["math",K.default],["menu",L.default],["menubar",D.default],["menuitem",Y.default],["menuitemcheckbox",ne.default],["menuitemradio",j.default],["meter",ee.default],["navigation",se.default],["none",be.default],["note",ve.default],["option",ke.default],["paragraph",le.default],["presentation",me.default],["progressbar",mt.default],["radio",Fo.default],["radiogroup",ta.default],["region",ra.default],["row",Ch.default],["rowgroup",Ah.default],["rowheader",Ph.default],["scrollbar",Th.default],["search",Oh.default],["searchbox",$h.default],["separator",qh.default],["slider",kh.default],["spinbutton",Mh.default],["status",Nh.default],["strong",Ih.default],["subscript",jh.default],["superscript",Dh.default],["switch",Lh.default],["tab",Fh.default],["table",Bh.default],["tablist",zh.default],["tabpanel",Hh.default],["term",Uh.default],["textbox",Vh.default],["time",Wh.default],["timer",Gh.default],["toolbar",Kh.default],["tooltip",Yh.default],["tree",Zh.default],["treegrid",Jh.default],["treeitem",te.default]];e.default=Xh}}),kre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Mre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Nre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ire=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),jre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Dre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),Lre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Fre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Bre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Hre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Ure=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),Vre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Wre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Gre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Kre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),Yre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Zre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Jre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Xre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Qre=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ene=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),rne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),nne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),one=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),ine=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),ane=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),sne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),lne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),une=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),cne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),fne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),pne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),hne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),mne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),gne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),vne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),yne=V({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),wne=V({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=D(kre()),r=D(Mre()),n=D(Nre()),o=D(Ire()),i=D(jre()),a=D(Dre()),s=D(Lre()),u=D(Fre()),l=D(Bre()),c=D(zre()),d=D(Hre()),f=D(Ure()),p=D(Vre()),h=D(Wre()),m=D(Gre()),v=D(Kre()),g=D(Yre()),E=D(Zre()),_=D(Jre()),x=D(Xre()),S=D(Qre()),y=D(ene()),b=D(tne()),w=D(rne()),C=D(nne()),N=D(one()),q=D(ine()),z=D(ane()),F=D(sne()),T=D(lne()),k=D(une()),I=D(cne()),U=D(dne()),G=D(fne()),X=D(pne()),Z=D(hne()),A=D(mne()),$=D(gne()),M=D(bne()),K=D(vne()),L=D(yne());function D(ne){return ne&&ne.__esModule?ne:{default:ne}}var Y=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",a.default],["doc-bibliography",s.default],["doc-biblioref",u.default],["doc-chapter",l.default],["doc-colophon",c.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",p.default],["doc-credits",h.default],["doc-dedication",m.default],["doc-endnote",v.default],["doc-endnotes",g.default],["doc-epigraph",E.default],["doc-epilogue",_.default],["doc-errata",x.default],["doc-example",S.default],["doc-footnote",y.default],["doc-foreword",b.default],["doc-glossary",w.default],["doc-glossref",C.default],["doc-index",N.default],["doc-introduction",q.default],["doc-noteref",z.default],["doc-notice",F.default],["doc-pagebreak",T.default],["doc-pagefooter",k.default],["doc-pageheader",I.default],["doc-pagelist",U.default],["doc-part",G.default],["doc-preface",X.default],["doc-prologue",Z.default],["doc-pullquote",A.default],["doc-qna",$.default],["doc-subtitle",M.default],["doc-tip",K.default],["doc-toc",L.default]];e.default=Y}}),Ene=V({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),_ne=V({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),Sne=V({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),Rne=V({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Ene()),r=o(_ne()),n=o(Sne());function o(a){return a&&a.__esModule?a:{default:a}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=i}}),A0=V({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(rte()),r=a(qre()),n=a(wne()),o=a(Rne()),i=a(Bc());function a(v){return v&&v.__esModule?v:{default:v}}function s(v,g){var E=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!E){if(Array.isArray(v)||(E=c(v))||g){E&&(v=E);var _=0,x=function(){};return{s:x,n:function(){return _>=v.length?{done:!0}:{done:!1,value:v[_++]}},e:function(w){throw w},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
771
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S,y=!0,b=!1;return{s:function(){E=E.call(v)},n:function(){var w=E.next();return y=w.done,w},e:function(w){b=!0,S=w},f:function(){try{y||E.return==null||E.return()}finally{if(b)throw S}}}}function u(v,g){return p(v)||f(v,g)||c(v,g)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
772
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(v,g){if(v){if(typeof v=="string")return d(v,g);var E={}.toString.call(v).slice(8,-1);return E==="Object"&&v.constructor&&(E=v.constructor.name),E==="Map"||E==="Set"?Array.from(v):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?d(v,g):void 0}}function d(v,g){(g==null||g>v.length)&&(g=v.length);for(var E=0,_=Array(g);E<g;E++)_[E]=v[E];return _}function f(v,g){var E=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(E!=null){var _,x,S,y,b=[],w=!0,C=!1;try{if(S=(E=E.call(v)).next,g===0){if(Object(E)!==E)return;w=!1}else for(;!(w=(_=S.call(E)).done)&&(b.push(_.value),b.length!==g);w=!0);}catch(N){C=!0,x=N}finally{try{if(!w&&E.return!=null&&(y=E.return(),Object(y)!==y))return}finally{if(C)throw x}}return b}}function p(v){if(Array.isArray(v))return v}var h=[].concat(t.default,r.default,n.default,o.default);h.forEach(function(v){var g=u(v,2),E=g[1],_=s(E.superClass),x;try{for(_.s();!(x=_.n()).done;){var S=x.value,y=s(S),b;try{var w=function(){var C=b.value,N=h.filter(function(k){var I=u(k,1),U=I[0];return U===C})[0];if(N)for(var q=N[1],z=0,F=Object.keys(q.props);z<F.length;z++){var T=F[z];Object.prototype.hasOwnProperty.call(E.props,T)||(E.props[T]=q.props[T])}};for(y.s();!(b=y.n()).done;)w()}catch(C){y.e(C)}finally{y.f()}}}catch(C){_.e(C)}finally{_.f()}});var m={entries:function(){return h},forEach:function(v){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=s(h),_;try{for(E.s();!(_=E.n()).done;){var x=u(_.value,2),S=x[0],y=x[1];v.call(g,y,S,h)}}catch(b){E.e(b)}finally{E.f()}},get:function(v){var g=h.filter(function(E){return E[0]===v})[0];return g&&g[1]},has:function(v){return!!m.get(v)},keys:function(){return h.map(function(v){var g=u(v,1),E=g[0];return E})},values:function(){return h.map(function(v){var g=u(v,2),E=g[1];return E})}};e.default=(0,i.default)(m,m.entries())}}),xne=V({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Bc()),r=n(A0());function n(y){return y&&y.__esModule?y:{default:y}}function o(y,b){return l(y)||u(y,b)||a(y,b)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
773
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(y,b){if(y){if(typeof y=="string")return s(y,b);var w={}.toString.call(y).slice(8,-1);return w==="Object"&&y.constructor&&(w=y.constructor.name),w==="Map"||w==="Set"?Array.from(y):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?s(y,b):void 0}}function s(y,b){(b==null||b>y.length)&&(b=y.length);for(var w=0,C=Array(b);w<b;w++)C[w]=y[w];return C}function u(y,b){var w=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(w!=null){var C,N,q,z,F=[],T=!0,k=!1;try{if(q=(w=w.call(y)).next,b===0){if(Object(w)!==w)return;T=!1}else for(;!(T=(C=q.call(w)).done)&&(F.push(C.value),F.length!==b);T=!0);}catch(I){k=!0,N=I}finally{try{if(!T&&w.return!=null&&(z=w.return(),Object(z)!==z))return}finally{if(k)throw N}}return F}}function l(y){if(Array.isArray(y))return y}var c=[],d=r.default.keys();for(g=0;g<d.length;g++)if(f=d[g],p=r.default.get(f),p)for(h=[].concat(p.baseConcepts,p.relatedConcepts),m=function(){var y=h[v];if(y.module==="HTML"){var b=y.concept;if(b){var w=c.filter(function(z){return _(z[0],b)})[0],C;w?C=w[1]:C=[];for(var N=!0,q=0;q<C.length;q++)if(C[q]===f){N=!1;break}N&&C.push(f),w||c.push([b,C])}}},v=0;v<h.length;v++)m();var f,p,h,m,v,g,E={entries:function(){return c},forEach:function(y){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=0,C=c;w<C.length;w++){var N=o(C[w],2),q=N[0],z=N[1];y.call(b,z,q,c)}},get:function(y){var b=c.filter(function(w){return y.name===w[0].name&&S(y.attributes,w[0].attributes)})[0];return b&&b[1]},has:function(y){return!!E.get(y)},keys:function(){return c.map(function(y){var b=o(y,1),w=b[0];return w})},values:function(){return c.map(function(y){var b=o(y,2),w=b[1];return w})}};function _(y,b){return y.name===b.name&&x(y.constraints,b.constraints)&&S(y.attributes,b.attributes)}function x(y,b){if(y===void 0&&b!==void 0||y!==void 0&&b===void 0)return!1;if(y!==void 0&&b!==void 0){if(y.length!==b.length)return!1;for(var w=0;w<y.length;w++)if(y[w]!==b[w])return!1}return!0}function S(y,b){if(y===void 0&&b!==void 0||y!==void 0&&b===void 0)return!1;if(y!==void 0&&b!==void 0){if(y.length!==b.length)return!1;for(var w=0;w<y.length;w++){if(y[w].name!==b[w].name||y[w].value!==b[w].value||y[w].constraints===void 0&&b[w].constraints!==void 0||y[w].constraints!==void 0&&b[w].constraints===void 0)return!1;if(y[w].constraints!==void 0&&b[w].constraints!==void 0){if(y[w].constraints.length!==b[w].constraints.length)return!1;for(var C=0;C<y[w].constraints.length;C++)if(y[w].constraints[C]!==b[w].constraints[C])return!1}}}return!0}e.default=(0,t.default)(E,E.entries())}}),Cne=V({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Bc()),r=n(A0());function n(S){return S&&S.__esModule?S:{default:S}}function o(S,y){return l(S)||u(S,y)||a(S,y)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
774
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(S,y){if(S){if(typeof S=="string")return s(S,y);var b={}.toString.call(S).slice(8,-1);return b==="Object"&&S.constructor&&(b=S.constructor.name),b==="Map"||b==="Set"?Array.from(S):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?s(S,y):void 0}}function s(S,y){(y==null||y>S.length)&&(y=S.length);for(var b=0,w=Array(y);b<y;b++)w[b]=S[b];return w}function u(S,y){var b=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(b!=null){var w,C,N,q,z=[],F=!0,T=!1;try{if(N=(b=b.call(S)).next,y===0){if(Object(b)!==b)return;F=!1}else for(;!(F=(w=N.call(b)).done)&&(z.push(w.value),z.length!==y);F=!0);}catch(k){T=!0,C=k}finally{try{if(!F&&b.return!=null&&(q=b.return(),Object(q)!==q))return}finally{if(T)throw C}}return z}}function l(S){if(Array.isArray(S))return S}var c=[],d=r.default.keys();for(_=0;_<d.length;_++)if(f=d[_],p=r.default.get(f),h=[],p){for(m=[].concat(p.baseConcepts,p.relatedConcepts),E=0;E<m.length;E++)v=m[E],v.module==="HTML"&&(g=v.concept,g!=null&&h.push(g));h.length>0&&c.push([f,h])}var f,p,h,m,v,g,E,_,x={entries:function(){return c},forEach:function(S){for(var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=0,w=c;b<w.length;b++){var C=o(w[b],2),N=C[0],q=C[1];S.call(y,q,N,c)}},get:function(S){var y=c.filter(function(b){return b[0]===S})[0];return y&&y[1]},has:function(S){return!!x.get(S)},keys:function(){return c.map(function(S){var y=o(S,1),b=y[0];return b})},values:function(){return c.map(function(S){var y=o(S,2),b=y[1];return b})}};e.default=(0,t.default)(x,x.entries())}}),_6=V({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=a(zee()),r=a(Hee()),n=a(A0()),o=a(xne()),i=a(Cne());function a(s){return s&&s.__esModule?s:{default:s}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=i.default}}),S6=V({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),a=i.length,s=-1,u,l="",c=i.charCodeAt(0);++s<a;){if(u=i.charCodeAt(s),u==0){l+="�";continue}if(u>=1&&u<=31||u==127||s==0&&u>=48&&u<=57||s==1&&u>=48&&u<=57&&c==45){l+="\\"+u.toString(16)+" ";continue}if(s==0&&a==1&&u==45){l+="\\"+i.charAt(s);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){l+=i.charAt(s);continue}l+="\\"+i.charAt(s)}return l};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),R6=Object.defineProperty,W=(e,t)=>R6(e,"name",{value:t,configurable:!0}),P0=(e,t)=>{for(var r in t)R6(e,r,{get:t[r],enumerable:!0})},Cr={};P0(Cr,{addChainableMethod:()=>F0,addLengthGuard:()=>Uc,addMethod:()=>j0,addProperty:()=>I0,checkError:()=>Dt,compareByInspect:()=>Xf,eql:()=>J6,expectTypes:()=>$6,flag:()=>pe,getActual:()=>ah,getMessage:()=>$0,getName:()=>lh,getOperator:()=>U0,getOwnEnumerableProperties:()=>H0,getOwnEnumerablePropertySymbols:()=>z0,getPathInfo:()=>N0,hasProperty:()=>sh,inspect:()=>Se,isNaN:()=>Qf,isNumeric:()=>ct,isProxyEnabled:()=>Hc,isRegExp:()=>ep,objDisplay:()=>Eo,overwriteChainableMethod:()=>B0,overwriteMethod:()=>L0,overwriteProperty:()=>D0,proxify:()=>Qi,test:()=>T0,transferFlags:()=>pr,type:()=>qe});var Dt={};P0(Dt,{compatibleConstructor:()=>A6,compatibleInstance:()=>C6,compatibleMessage:()=>P6,getConstructorName:()=>T6,getMessage:()=>O6});function ih(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}W(ih,"isErrorInstance");function x6(e){return Object.prototype.toString.call(e)==="[object RegExp]"}W(x6,"isRegExp");function C6(e,t){return ih(t)&&e===t}W(C6,"compatibleInstance");function A6(e,t){return ih(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}W(A6,"compatibleConstructor");function P6(e,t){let r=typeof e=="string"?e:e.message;return x6(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}W(P6,"compatibleMessage");function T6(e){let t=e;return ih(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}W(T6,"getConstructorName");function O6(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}W(O6,"getMessage");function pe(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}W(pe,"flag");function T0(e,t){let r=pe(e,"negate"),n=t[0];return r?!n:n}W(T0,"test");function qe(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}W(qe,"type");var Ane="captureStackTrace"in Error,_d,Ce=(_d=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,Ane&&Error.captureStackTrace(this,r||_d);for(let n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},W(_d,"AssertionError"),_d);function $6(e,t){let r=pe(e,"message"),n=pe(e,"ssfi");r=r?r+": ":"",e=pe(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let o=t.map(function(a,s){let u=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+u+" "+a}).join(", "),i=qe(e).toLowerCase();if(!t.some(function(a){return i===a}))throw new Ce(r+"object tested must be "+o+", but "+i+" given",void 0,n)}W($6,"expectTypes");function ah(e,t){return t.length>4?t[4]:e._obj}W(ah,"getActual");var AR={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Pne={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},qi="…";function q6(e,t){let r=AR[Pne[t]]||AR[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}W(q6,"colorise");function k6({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:a=1/0,seen:s=[],truncate:u=1/0,stylize:l=String}={},c){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(a),truncate:Number(u),seen:s,inspect:c,stylize:l};return d.colors&&(d.stylize=q6),d}W(k6,"normaliseOptions");function M6(e){return e>="\uD800"&&e<="\uDBFF"}W(M6,"isHighSurrogate");function gn(e,t,r=qi){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&M6(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}W(gn,"truncate");function Qt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,a="",s="",u="";for(let l=0;l<o;l+=1){let c=l+1===e.length,d=l+2===e.length;u=`${qi}(${e.length-l})`;let f=e[l];t.truncate=i-a.length-(c?0:n.length);let p=s||r(f,t)+(c?"":n),h=a.length+p.length,m=h+u.length;if(c&&h>i&&a.length+u.length<=i||!c&&!d&&m>i||(s=c?"":r(e[l+1],t)+(d?"":n),!c&&d&&m>i&&h+s.length>i))break;if(a+=p,!c&&!d&&h+s.length>=i){u=`${qi}(${e.length-l-1})`;break}u=""}return`${a}${u}`}W(Qt,"inspectList");function N6(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}W(N6,"quoteComplexKey");function ki([e,t],r){return r.truncate-=2,typeof e=="string"?e=N6(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}W(ki,"inspectProperty");function I6(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Qt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Qt(r.map(i=>[i,e[i]]),t,ki)),`[ ${n}${o?`, ${o}`:""} ]`}W(I6,"inspectArray");var Tne=W(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function wr(e,t){let r=Tne(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let a=0;a<e.length;a++){let s=`${t.stylize(gn(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){o+=`${qi}(${e.length-e[a]+1})`;break}o+=s}let i="";return n.length&&(i=Qt(n.map(a=>[a,e[a]]),t,ki)),`${r}[ ${o}${i?`, ${i}`:""} ]`}W(wr,"inspectTypedArray");function j6(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${gn(n[1],t.truncate-o.length-1)}`,"date")}W(j6,"inspectDate");function Gb(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${gn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}W(Gb,"inspectFunction");function D6([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}W(D6,"inspectMapEntry");function L6(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}W(L6,"mapToEntries");function F6(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Qt(L6(e),t,D6)} }`)}W(F6,"inspectMap");var One=Number.isNaN||(e=>e!==e);function Kb(e,t){return One(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(gn(String(e),t.truncate),"number")}W(Kb,"inspectNumber");function Yb(e,t){let r=gn(e.toString(),t.truncate-1);return r!==qi&&(r+="n"),t.stylize(r,"bigint")}W(Yb,"inspectBigInt");function B6(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${gn(o,n)}/${r}`,"regexp")}W(B6,"inspectRegExp");function z6(e){let t=[];return e.forEach(r=>{t.push(r)}),t}W(z6,"arrayFromSet");function H6(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Qt(z6(e),t)} }`)}W(H6,"inspectSet");var PR=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),$ne={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},qne=16;function U6(e){return $ne[e]||`\\u${`0000${e.charCodeAt(0).toString(qne)}`.slice(-4)}`}W(U6,"escape");function Zb(e,t){return PR.test(e)&&(e=e.replace(PR,U6)),t.stylize(`'${gn(e,t.truncate-2)}'`,"string")}W(Zb,"inspectString");function Jb(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}W(Jb,"inspectSymbol");var kne=W(()=>"Promise{…}","getPromiseValue"),Mne=kne;function Nu(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Qt(r.map(s=>[s,e[s]]),t,ki),i=Qt(n.map(s=>[s,e[s]]),t,ki);t.seen.pop();let a="";return o&&i&&(a=", "),`{ ${o}${a}${i} }`}W(Nu,"inspectObject");var Km=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function V6(e,t){let r="";return Km&&Km in e&&(r=e[Km]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Nu(e,t)}`}W(V6,"inspectClass");function W6(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Qt(e,t)} ]`)}W(W6,"inspectArguments");var Nne=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function G6(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>Nne.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=gn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Qt(r.map(a=>[a,e[a]]),t,ki);return`${n}${o}${i?` { ${i} }`:""}`}W(G6,"inspectObject");function K6([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}W(K6,"inspectAttribute");function Yf(e,t){return Qt(e,t,Y6,`
775
- `)}W(Yf,"inspectNodeCollection");function Y6(e,t){switch(e.nodeType){case 1:return O0(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}W(Y6,"inspectNode");function O0(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Qt(r.map(c=>[c,e.getAttribute(c)]),t,K6," ")),t.truncate-=s.length;let u=t.truncate,l=Yf(e.children,t);return l&&l.length>u&&(l=`${qi}(${e.children.length})`),`${o}${s}${i}${l}${a}`}W(O0,"inspectHTML");var Ine=typeof Symbol=="function"&&typeof Symbol.for=="function",Ym=Ine?Symbol.for("chai/inspect"):"@@chai/inspect",Zm=Symbol.for("nodejs.util.inspect.custom"),TR=new WeakMap,OR={},$R={undefined:W((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:W((e,t)=>t.stylize("null","null"),"null"),boolean:W((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:W((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Kb,Number:Kb,bigint:Yb,BigInt:Yb,string:Zb,String:Zb,function:Gb,Function:Gb,symbol:Jb,Symbol:Jb,Array:I6,Date:j6,Map:F6,Set:H6,RegExp:B6,Promise:Mne,WeakSet:W((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:W((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:W6,Int8Array:wr,Uint8Array:wr,Uint8ClampedArray:wr,Int16Array:wr,Uint16Array:wr,Int32Array:wr,Uint32Array:wr,Float32Array:wr,Float64Array:wr,Generator:W(()=>"","Generator"),DataView:W(()=>"","DataView"),ArrayBuffer:W(()=>"","ArrayBuffer"),Error:G6,HTMLCollection:Yf,NodeList:Yf},jne=W((e,t,r)=>Ym in e&&typeof e[Ym]=="function"?e[Ym](t):Zm in e&&typeof e[Zm]=="function"?e[Zm](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&TR.has(e.constructor)?TR.get(e.constructor)(e,t):OR[r]?OR[r](e,t):"","inspectCustom"),Dne=Object.prototype.toString;function Zf(e,t={}){let r=k6(t,Zf),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=Dne.call(e).slice(8,-1)),o in $R)return $R[o](e,r);if(n&&e){let a=jne(e,r,o);if(a)return typeof a=="string"?a:Zf(a,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Nu(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?O0(e,r):"constructor"in e?e.constructor!==Object?V6(e,r):Nu(e,r):e===Object(e)?Nu(e,r):r.stylize(String(e),o)}W(Zf,"inspect");var Ot={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Se(e,t,r,n){let o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Ot.truncateThreshold?Ot.truncateThreshold:1/0};return Zf(e,o)}W(Se,"inspect");function Eo(e){let t=Se(e),r=Object.prototype.toString.call(e);if(Ot.truncateThreshold&&t.length>=Ot.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}W(Eo,"objDisplay");function $0(e,t){let r=pe(e,"negate"),n=pe(e,"object"),o=t[3],i=ah(e,t),a=r?t[2]:t[1],s=pe(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return Eo(n)}).replace(/#\{act\}/g,function(){return Eo(i)}).replace(/#\{exp\}/g,function(){return Eo(o)}),s?s+": "+a:a}W($0,"getMessage");function pr(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}W(pr,"transferFlags");function Xb(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}W(Xb,"type");function q0(){this._key="chai/deep-eql__"+Math.random()+Date.now()}W(q0,"FakeMap");q0.prototype={get:W(function(e){return e[this._key]},"get"),set:W(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var Z6=typeof WeakMap=="function"?WeakMap:q0;function Qb(e,t,r){if(!r||To(e)||To(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}W(Qb,"memoizeCompare");function gu(e,t,r,n){if(!(!r||To(e)||To(t))){var o=r.get(e);o?o.set(t,n):(o=new Z6,o.set(t,n),r.set(e,o))}}W(gu,"memoizeSet");var J6=zc;function zc(e,t,r){if(r&&r.comparator)return ev(e,t,r);var n=k0(e,t);return n!==null?n:ev(e,t,r)}W(zc,"deepEqual");function k0(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:To(e)||To(t)?!1:null}W(k0,"simpleEqual");function ev(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Z6;var n=r&&r.comparator,o=Qb(e,t,r.memoize);if(o!==null)return o;var i=Qb(t,e,r.memoize);if(i!==null)return i;if(n){var a=n(e,t);if(a===!1||a===!0)return gu(e,t,r.memoize,a),a;var s=k0(e,t);if(s!==null)return s}var u=Xb(e);if(u!==Xb(t))return gu(e,t,r.memoize,!1),!1;gu(e,t,r.memoize,!0);var l=X6(e,t,u,r);return gu(e,t,r.memoize,l),l}W(ev,"extensiveDeepEqual");function X6(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return zc(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return M0(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Dn(e,t,n);case"RegExp":return Q6(e,t);case"Generator":return e$(e,t,n);case"DataView":return Dn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Dn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return tv(e,t,n);case"Map":return tv(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return r$(e,t,n)}}W(X6,"extensiveDeepEqualByType");function Q6(e,t){return e.toString()===t.toString()}W(Q6,"regexpEqual");function tv(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(W(function(i,a){n.push([i,a])},"gatherEntries")),t.forEach(W(function(i,a){o.push([i,a])},"gatherEntries")),Dn(n.sort(),o.sort(),r)}W(tv,"entriesEqual");function Dn(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(zc(e[o],t[o],r)===!1)return!1;return!0}W(Dn,"iterableEqual");function e$(e,t,r){return Dn(Jf(e),Jf(t),r)}W(e$,"generatorEqual");function t$(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}W(t$,"hasIteratorFunction");function rv(e){if(t$(e))try{return Jf(e[Symbol.iterator]())}catch{return[]}return[]}W(rv,"getIteratorEntries");function Jf(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}W(Jf,"getGeneratorEntries");function nv(e){var t=[];for(var r in e)t.push(r);return t}W(nv,"getEnumerableKeys");function ov(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}W(ov,"getEnumerableSymbols");function M0(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(zc(e[r[i]],t[r[i]],n)===!1)return!1;return!0}W(M0,"keysEqual");function r$(e,t,r){var n=nv(e),o=nv(t),i=ov(e),a=ov(t);if(n=n.concat(i),o=o.concat(a),n.length&&n.length===o.length)return Dn(iv(n).sort(),iv(o).sort())===!1?!1:M0(e,t,n,r);var s=rv(e),u=rv(t);return s.length&&s.length===u.length?(s.sort(),u.sort(),Dn(s,u,r)):n.length===0&&s.length===0&&o.length===0&&u.length===0}W(r$,"objectEqual");function To(e){return e===null||typeof e!="object"}W(To,"isPrimitive");function iv(e){return e.map(W(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}W(iv,"mapSymbols");function sh(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}W(sh,"hasProperty");function n$(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}W(n$,"parsePath");function av(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let a=t[i];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],i===r-1&&(o=n))}return o}W(av,"internalGetPathValue");function N0(e,t){let r=n$(t),n=r[r.length-1],o={parent:r.length>1?av(e,r,r.length-1):e,name:n.p||n.i,value:av(e,r)};return o.exists=sh(o.parent,o.name),o}W(N0,"getPathInfo");var Sd,O=(Sd=class{__flags={};constructor(e,t,r,n){return pe(this,"ssfi",r||Sd),pe(this,"lockSsfi",n),pe(this,"object",e),pe(this,"message",t),pe(this,"eql",Ot.deepEqual||J6),Qi(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ot.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ot.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ot.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ot.showDiff=e}static addProperty(e,t){I0(this.prototype,e,t)}static addMethod(e,t){j0(this.prototype,e,t)}static addChainableMethod(e,t,r){F0(this.prototype,e,t,r)}static overwriteProperty(e,t){D0(this.prototype,e,t)}static overwriteMethod(e,t){L0(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){B0(this.prototype,e,t,r)}assert(e,t,r,n,o,i){let a=T0(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),Ot.showDiff!==!0&&(i=!1),!a){t=$0(this,arguments);let s={actual:ah(this,arguments),expected:n,showDiff:i},u=U0(this,arguments);throw u&&(s.operator=u),new Ce(t,s,Ot.includeStack?this.assert:pe(this,"ssfi"))}}get _obj(){return pe(this,"object")}set _obj(e){pe(this,"object",e)}},W(Sd,"Assertion"),Sd);function Hc(){return Ot.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}W(Hc,"isProxyEnabled");function I0(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:W(function n(){!Hc()&&!pe(this,"lockSsfi")&&pe(this,"ssfi",n);let o=r.call(this);if(o!==void 0)return o;let i=new O;return pr(this,i),i},"propertyGetter"),configurable:!0})}W(I0,"addProperty");var Lne=Object.getOwnPropertyDescriptor(function(){},"length");function Uc(e,t,r){return Lne.configurable&&Object.defineProperty(e,"length",{get:W(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}W(Uc,"addLengthGuard");function o$(e){let t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}W(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}W(o$,"getProperties");var qR=["__flags","__methods","_obj","assert"];function Qi(e,t){return Hc()?new Proxy(e,{get:W(function r(n,o){if(typeof o=="string"&&Ot.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');let i=null,a=4;throw o$(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&qR.indexOf(s)===-1){let u=i$(o,s,a);u<a&&(i=s,a=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return qR.indexOf(o)===-1&&!pe(n,"lockSsfi")&&pe(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}W(Qi,"proxify");function i$(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){let i=e.charCodeAt(o-1);for(let a=1;a<=t.length;a++){if(Math.abs(o-a)>=r){n[o][a]=r;continue}n[o][a]=Math.min(n[o-1][a]+1,n[o][a-1]+1,n[o-1][a-1]+(i===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}W(i$,"stringDistanceCapped");function j0(e,t,r){let n=W(function(){pe(this,"lockSsfi")||pe(this,"ssfi",n);let o=r.apply(this,arguments);if(o!==void 0)return o;let i=new O;return pr(this,i),i},"methodWrapper");Uc(n,t,!1),e[t]=Qi(n,t)}W(j0,"addMethod");function D0(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),o=W(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:W(function i(){!Hc()&&!pe(this,"lockSsfi")&&pe(this,"ssfi",i);let a=pe(this,"lockSsfi");pe(this,"lockSsfi",!0);let s=r(o).call(this);if(pe(this,"lockSsfi",a),s!==void 0)return s;let u=new O;return pr(this,u),u},"overwritingPropertyGetter"),configurable:!0})}W(D0,"overwriteProperty");function L0(e,t,r){let n=e[t],o=W(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);let i=W(function(){pe(this,"lockSsfi")||pe(this,"ssfi",i);let a=pe(this,"lockSsfi");pe(this,"lockSsfi",!0);let s=r(o).apply(this,arguments);if(pe(this,"lockSsfi",a),s!==void 0)return s;let u=new O;return pr(this,u),u},"overwritingMethodWrapper");Uc(i,t,!1),e[t]=Qi(i,t)}W(L0,"overwriteMethod");var Fne=typeof Object.setPrototypeOf=="function",kR=W(function(){},"testFn"),Bne=Object.getOwnPropertyNames(kR).filter(function(e){let t=Object.getOwnPropertyDescriptor(kR,e);return typeof t!="object"?!0:!t.configurable}),zne=Function.prototype.call,Hne=Function.prototype.apply;function F0(e,t,r,n){typeof n!="function"&&(n=W(function(){},"chainingBehavior"));let o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:W(function(){o.chainingBehavior.call(this);let i=W(function(){pe(this,"lockSsfi")||pe(this,"ssfi",i);let a=o.method.apply(this,arguments);if(a!==void 0)return a;let s=new O;return pr(this,s),s},"chainableMethodWrapper");if(Uc(i,t,!0),Fne){let a=Object.create(this);a.call=zne,a.apply=Hne,Object.setPrototypeOf(i,a)}else Object.getOwnPropertyNames(e).forEach(function(a){if(Bne.indexOf(a)!==-1)return;let s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(i,a,s)});return pr(this,i),Qi(i)},"chainableMethodGetter"),configurable:!0})}W(F0,"addChainableMethod");function B0(e,t,r,n){let o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=W(function(){let s=n(i).call(this);if(s!==void 0)return s;let u=new O;return pr(this,u),u},"overwritingChainableMethodGetter");let a=o.method;o.method=W(function(){let s=r(a).apply(this,arguments);if(s!==void 0)return s;let u=new O;return pr(this,u),u},"overwritingChainableMethodWrapper")}W(B0,"overwriteChainableMethod");function Xf(e,t){return Se(e)<Se(t)?-1:1}W(Xf,"compareByInspect");function z0(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}W(z0,"getOwnEnumerablePropertySymbols");function H0(e){return Object.keys(e).concat(z0(e))}W(H0,"getOwnEnumerableProperties");var Qf=Number.isNaN;function a$(e){let t=qe(e);return["Array","Object","Function"].indexOf(t)!==-1}W(a$,"isObjectType");function U0(e,t){let r=pe(e,"operator"),n=pe(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!i||/\shave\s/.test(i))return;let a=a$(o);return/\snot\s/.test(i)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}W(U0,"getOperator");function lh(e){return e.name}W(lh,"getName");function ep(e){return Object.prototype.toString.call(e)==="[object RegExp]"}W(ep,"isRegExp");function ct(e){return["Number","BigInt"].includes(qe(e))}W(ct,"isNumeric");var{flag:B}=Cr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){O.addProperty(e)});O.addProperty("not",function(){B(this,"negate",!0)});O.addProperty("deep",function(){B(this,"deep",!0)});O.addProperty("nested",function(){B(this,"nested",!0)});O.addProperty("own",function(){B(this,"own",!0)});O.addProperty("ordered",function(){B(this,"ordered",!0)});O.addProperty("any",function(){B(this,"any",!0),B(this,"all",!1)});O.addProperty("all",function(){B(this,"all",!0),B(this,"any",!1)});var MR={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function V0(e,t){t&&B(this,"message",t),e=e.toLowerCase();let r=B(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ",o=qe(r).toLowerCase();MR.function.includes(e)?this.assert(MR[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}W(V0,"an");O.addChainableMethod("an",V0);O.addChainableMethod("a",V0);function s$(e,t){return Qf(e)&&Qf(t)||e===t}W(s$,"SameValueZero");function Vc(){B(this,"contains",!0)}W(Vc,"includeChainingBehavior");function Wc(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=qe(r).toLowerCase(),o=B(this,"message"),i=B(this,"negate"),a=B(this,"ssfi"),s=B(this,"deep"),u=s?"deep ":"",l=s?B(this,"eql"):s$;o=o?o+": ":"";let c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new Ce(o+"unable to use .deep.include with WeakSet",void 0,a);c=r.has(e);break;case"map":r.forEach(function(d){c=c||l(d,e)});break;case"set":s?r.forEach(function(d){c=c||l(d,e)}):c=r.has(e);break;case"array":s?c=r.some(function(d){return l(d,e)}):c=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new Ce(o+"the given combination of arguments ("+n+" and "+qe(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+qe(e).toLowerCase(),void 0,a);let d=Object.keys(e),f=null,p=0;if(d.forEach(function(h){let m=new O(r);if(pr(this,m,!0),B(m,"lockSsfi",!0),!i||d.length===1){m.property(h,e[h]);return}try{m.property(h,e[h])}catch(v){if(!Dt.compatibleConstructor(v,Ce))throw v;f===null&&(f=v),p++}},this),i&&d.length>1&&p===d.length)throw f;return}}this.assert(c,"expected #{this} to "+u+"include "+Se(e),"expected #{this} to not "+u+"include "+Se(e))}W(Wc,"include");O.addChainableMethod("include",Wc,Vc);O.addChainableMethod("contain",Wc,Vc);O.addChainableMethod("contains",Wc,Vc);O.addChainableMethod("includes",Wc,Vc);O.addProperty("ok",function(){this.assert(B(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});O.addProperty("true",function(){this.assert(B(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!B(this,"negate"))});O.addProperty("numeric",function(){let e=B(this,"object");this.assert(["Number","BigInt"].includes(qe(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!B(this,"negate"))});O.addProperty("callable",function(){let e=B(this,"object"),t=B(this,"ssfi"),r=B(this,"message"),n=r?`${r}: `:"",o=B(this,"negate"),i=o?`${n}expected ${Se(e)} not to be a callable function`:`${n}expected ${Se(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(qe(e));if(a&&o||!a&&!o)throw new Ce(i,void 0,t)});O.addProperty("false",function(){this.assert(B(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!B(this,"negate"))});O.addProperty("null",function(){this.assert(B(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});O.addProperty("undefined",function(){this.assert(B(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});O.addProperty("NaN",function(){this.assert(Qf(B(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function W0(){let e=B(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}W(W0,"assertExist");O.addProperty("exist",W0);O.addProperty("exists",W0);O.addProperty("empty",function(){let e=B(this,"object"),t=B(this,"ssfi"),r=B(this,"message"),n;switch(r=r?r+": ":"",qe(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Ce(r+".empty was passed a weak collection",void 0,t);case"function":{let o=r+".empty was passed a function "+lh(e);throw new Ce(o.trim(),void 0,t)}default:if(e!==Object(e))throw new Ce(r+".empty was passed non-string primitive "+Se(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function G0(){let e=B(this,"object"),t=qe(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}W(G0,"checkArguments");O.addProperty("arguments",G0);O.addProperty("Arguments",G0);function uh(e,t){t&&B(this,"message",t);let r=B(this,"object");if(B(this,"deep")){let n=B(this,"lockSsfi");B(this,"lockSsfi",!0),this.eql(e),B(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}W(uh,"assertEqual");O.addMethod("equal",uh);O.addMethod("equals",uh);O.addMethod("eq",uh);function K0(e,t){t&&B(this,"message",t);let r=B(this,"eql");this.assert(r(e,B(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}W(K0,"assertEql");O.addMethod("eql",K0);O.addMethod("eqls",K0);function ch(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",a=B(this,"ssfi"),s=qe(r).toLowerCase(),u=qe(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new O(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")throw new Ce(i+"the argument to above must be a date",void 0,a);if(!ct(e)&&(n||ct(r)))throw new Ce(i+"the argument to above must be a number",void 0,a);if(!n&&s!=="date"&&!ct(r)){let l=s==="string"?"'"+r+"'":r;throw new Ce(i+"expected "+l+" to be a number or a date",void 0,a)}if(n){let l="length",c;s==="map"||s==="set"?(l="size",c=r.size):c=r.length,this.assert(c>e,"expected #{this} to have a "+l+" above #{exp} but got #{act}","expected #{this} to not have a "+l+" above #{exp}",e,c)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}W(ch,"assertAbove");O.addMethod("above",ch);O.addMethod("gt",ch);O.addMethod("greaterThan",ch);function dh(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",a=B(this,"ssfi"),s=qe(r).toLowerCase(),u=qe(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new O(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=i+"the argument to least must be a date";else if(!ct(e)&&(n||ct(r)))l=i+"the argument to least must be a number";else if(!n&&s!=="date"&&!ct(r)){let d=s==="string"?"'"+r+"'":r;l=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new Ce(l,void 0,a);if(n){let d="length",f;s==="map"||s==="set"?(d="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+d+" at least #{exp} but got #{act}","expected #{this} to have a "+d+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}W(dh,"assertLeast");O.addMethod("least",dh);O.addMethod("gte",dh);O.addMethod("greaterThanOrEqual",dh);function fh(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",a=B(this,"ssfi"),s=qe(r).toLowerCase(),u=qe(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new O(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=i+"the argument to below must be a date";else if(!ct(e)&&(n||ct(r)))l=i+"the argument to below must be a number";else if(!n&&s!=="date"&&!ct(r)){let d=s==="string"?"'"+r+"'":r;l=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new Ce(l,void 0,a);if(n){let d="length",f;s==="map"||s==="set"?(d="size",f=r.size):f=r.length,this.assert(f<e,"expected #{this} to have a "+d+" below #{exp} but got #{act}","expected #{this} to not have a "+d+" below #{exp}",e,f)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}W(fh,"assertBelow");O.addMethod("below",fh);O.addMethod("lt",fh);O.addMethod("lessThan",fh);function ph(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"doLength"),o=B(this,"message"),i=o?o+": ":"",a=B(this,"ssfi"),s=qe(r).toLowerCase(),u=qe(e).toLowerCase(),l,c=!0;if(n&&s!=="map"&&s!=="set"&&new O(r,o,a,!0).to.have.property("length"),!n&&s==="date"&&u!=="date")l=i+"the argument to most must be a date";else if(!ct(e)&&(n||ct(r)))l=i+"the argument to most must be a number";else if(!n&&s!=="date"&&!ct(r)){let d=s==="string"?"'"+r+"'":r;l=i+"expected "+d+" to be a number or a date"}else c=!1;if(c)throw new Ce(l,void 0,a);if(n){let d="length",f;s==="map"||s==="set"?(d="size",f=r.size):f=r.length,this.assert(f<=e,"expected #{this} to have a "+d+" at most #{exp} but got #{act}","expected #{this} to have a "+d+" above #{exp}",e,f)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}W(ph,"assertMost");O.addMethod("most",ph);O.addMethod("lte",ph);O.addMethod("lessThanOrEqual",ph);O.addMethod("within",function(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"doLength"),i=B(this,"message"),a=i?i+": ":"",s=B(this,"ssfi"),u=qe(n).toLowerCase(),l=qe(e).toLowerCase(),c=qe(t).toLowerCase(),d,f=!0,p=l==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new O(n,i,s,!0).to.have.property("length"),!o&&u==="date"&&(l!=="date"||c!=="date"))d=a+"the arguments to within must be dates";else if((!ct(e)||!ct(t))&&(o||ct(n)))d=a+"the arguments to within must be numbers";else if(!o&&u!=="date"&&!ct(n)){let h=u==="string"?"'"+n+"'":n;d=a+"expected "+h+" to be a number or a date"}else f=!1;if(f)throw new Ce(d,void 0,s);if(o){let h="length",m;u==="map"||u==="set"?(h="size",m=n.size):m=n.length,this.assert(m>=e&&m<=t,"expected #{this} to have a "+h+" within "+p,"expected #{this} to not have a "+h+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function Y0(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"ssfi"),o=B(this,"message"),i;try{i=r instanceof e}catch(s){throw s instanceof TypeError?(o=o?o+": ":"",new Ce(o+"The instanceof assertion needs a constructor but "+qe(e)+" was given.",void 0,n)):s}let a=lh(e);a==null&&(a="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}W(Y0,"assertInstanceOf");O.addMethod("instanceof",Y0);O.addMethod("instanceOf",Y0);function Z0(e,t,r){r&&B(this,"message",r);let n=B(this,"nested"),o=B(this,"own"),i=B(this,"message"),a=B(this,"object"),s=B(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new Ce(i+"the argument to property must be a string when using nested syntax",void 0,s)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new Ce(i+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&o)throw new Ce(i+'The "nested" and "own" flags cannot be combined.',void 0,s);if(a==null)throw new Ce(i+"Target cannot be null or undefined.",void 0,s);let l=B(this,"deep"),c=B(this,"negate"),d=n?N0(a,e):null,f=n?d.value:a[e],p=l?B(this,"eql"):(v,g)=>v===g,h="";l&&(h+="deep "),o&&(h+="own "),n&&(h+="nested "),h+="property ";let m;o?m=Object.prototype.hasOwnProperty.call(a,e):n?m=d.exists:m=sh(a,e),(!c||arguments.length===1)&&this.assert(m,"expected #{this} to have "+h+Se(e),"expected #{this} to not have "+h+Se(e)),arguments.length>1&&this.assert(m&&p(t,f),"expected #{this} to have "+h+Se(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+h+Se(e)+" of #{act}",t,f),B(this,"object",f)}W(Z0,"assertProperty");O.addMethod("property",Z0);function J0(e,t,r){B(this,"own",!0),Z0.apply(this,arguments)}W(J0,"assertOwnProperty");O.addMethod("ownProperty",J0);O.addMethod("haveOwnProperty",J0);function X0(e,t,r){typeof t=="string"&&(r=t,t=null),r&&B(this,"message",r);let n=B(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=B(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+Se(e)+" on #{this} to match "+Se(t)+", got "+Se(o),"expected the own property descriptor for "+Se(e)+" on #{this} to not match "+Se(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+Se(e),"expected #{this} to not have an own property descriptor for "+Se(e)),B(this,"object",o)}W(X0,"assertOwnPropertyDescriptor");O.addMethod("ownPropertyDescriptor",X0);O.addMethod("haveOwnPropertyDescriptor",X0);function Q0(){B(this,"doLength",!0)}W(Q0,"assertLengthChain");function e1(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=qe(r).toLowerCase(),o=B(this,"message"),i=B(this,"ssfi"),a="length",s;switch(n){case"map":case"set":a="size",s=r.size;break;default:new O(r,o,i,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,s)}W(e1,"assertLength");O.addChainableMethod("length",e1,Q0);O.addChainableMethod("lengthOf",e1,Q0);function t1(e,t){t&&B(this,"message",t);let r=B(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}W(t1,"assertMatch");O.addMethod("match",t1);O.addMethod("matches",t1);O.addMethod("string",function(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi");new O(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Se(e),"expected #{this} to not contain "+Se(e))});function r1(e){let t=B(this,"object"),r=qe(t),n=qe(e),o=B(this,"ssfi"),i=B(this,"deep"),a,s="",u,l=!0,c=B(this,"message");c=c?c+": ":"";let d=c+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")s=i?"deeply ":"",u=[],t.forEach(function(g,E){u.push(E)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=H0(t),n){case"Array":if(arguments.length>1)throw new Ce(d,void 0,o);break;case"Object":if(arguments.length>1)throw new Ce(d,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(g){return typeof g=="symbol"?g:String(g)})}if(!e.length)throw new Ce(c+"keys required",void 0,o);let f=e.length,p=B(this,"any"),h=B(this,"all"),m=e,v=i?B(this,"eql"):(g,E)=>g===E;if(!p&&!h&&(h=!0),p&&(l=m.some(function(g){return u.some(function(E){return v(g,E)})})),h&&(l=m.every(function(g){return u.some(function(E){return v(g,E)})}),B(this,"contains")||(l=l&&e.length==u.length)),f>1){e=e.map(function(E){return Se(E)});let g=e.pop();h&&(a=e.join(", ")+", and "+g),p&&(a=e.join(", ")+", or "+g)}else a=Se(e[0]);a=(f>1?"keys ":"key ")+a,a=(B(this,"contains")?"contain ":"have ")+a,this.assert(l,"expected #{this} to "+s+a,"expected #{this} to not "+s+a,m.slice(0).sort(Xf),u.sort(Xf),!0)}W(r1,"assertKeys");O.addMethod("keys",r1);O.addMethod("key",r1);function hh(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"ssfi"),i=B(this,"message"),a=B(this,"negate")||!1;new O(n,i,o,!0).is.a("function"),(ep(e)||typeof e=="string")&&(t=e,e=null);let s,u=!1;try{n()}catch(p){u=!0,s=p}let l=e===void 0&&t===void 0,c=!!(e&&t),d=!1,f=!1;if(l||!l&&!a){let p="an error";e instanceof Error?p="#{exp}":e&&(p=Dt.getConstructorName(e));let h=s;if(s instanceof Error)h=s.toString();else if(typeof s=="string")h=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{h=Dt.getConstructorName(s)}catch{}this.assert(u,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),h)}if(e&&s&&(e instanceof Error&&Dt.compatibleInstance(s,e)===a&&(c&&a?d=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!a?" but #{act} was thrown":""),e.toString(),s.toString())),Dt.compatibleConstructor(s,e)===a&&(c&&a?d=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Dt.getConstructorName(e),s instanceof Error?s.toString():s&&Dt.getConstructorName(s)))),s&&t!==void 0&&t!==null){let p="including";ep(t)&&(p="matching"),Dt.compatibleMessage(s,t)===a&&(c&&a?f=!0:this.assert(a,"expected #{this} to throw error "+p+" #{exp} but got #{act}","expected #{this} to throw error not "+p+" #{exp}",t,Dt.getMessage(s)))}d&&f&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Dt.getConstructorName(e),s instanceof Error?s.toString():s&&Dt.getConstructorName(s)),B(this,"object",s)}W(hh,"assertThrows");O.addMethod("throw",hh);O.addMethod("throws",hh);O.addMethod("Throw",hh);function n1(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+Se(e),"expected #{this} to not respond to "+Se(e))}W(n1,"respondTo");O.addMethod("respondTo",n1);O.addMethod("respondsTo",n1);O.addProperty("itself",function(){B(this,"itself",!0)});function o1(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Eo(e),"expected #{this} to not satisfy"+Eo(e),!B(this,"negate"),n)}W(o1,"satisfy");O.addMethod("satisfy",o1);O.addMethod("satisfies",o1);function i1(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new O(n,o,i,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new Ce(o?`${o}: ${a}`:a,void 0,i);if(new O(t,o,i,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new Ce(o?`${o}: ${a}`:a,void 0,i);new O(e,o,i,!0).is.numeric;let s=W(l=>l<0n?-l:l,"abs"),u=W(l=>parseFloat(parseFloat(l).toPrecision(12)),"strip");this.assert(u(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}W(i1,"closeTo");O.addMethod("closeTo",i1);O.addMethod("approximately",i1);function l$(e,t,r,n,o){let i=Array.from(t),a=Array.from(e);if(!n){if(a.length!==i.length)return!1;i=i.slice()}return a.every(function(s,u){if(o)return r?r(s,i[u]):s===i[u];if(!r){let l=i.indexOf(s);return l===-1?!1:(n||i.splice(l,1),!0)}return i.some(function(l,c){return r(s,l)?(n||i.splice(c,1),!0):!1})})}W(l$,"isSubsetOf");O.addMethod("members",function(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi");new O(r,n,o,!0).to.be.iterable,new O(e,n,o,!0).to.be.iterable;let i=B(this,"contains"),a=B(this,"ordered"),s,u,l;i?(s=a?"an ordered superset":"a superset",u="expected #{this} to be "+s+" of #{exp}",l="expected #{this} to not be "+s+" of #{exp}"):(s=a?"ordered members":"members",u="expected #{this} to have the same "+s+" as #{exp}",l="expected #{this} to not have the same "+s+" as #{exp}");let c=B(this,"deep")?B(this,"eql"):void 0;this.assert(l$(e,r,c,i,a),u,l,e,r,!0)});O.addProperty("iterable",function(e){e&&B(this,"message",e);let t=B(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function u$(e,t){t&&B(this,"message",t);let r=B(this,"object"),n=B(this,"message"),o=B(this,"ssfi"),i=B(this,"contains"),a=B(this,"deep"),s=B(this,"eql");new O(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):a?this.assert(e.some(function(u){return s(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}W(u$,"oneOf");O.addMethod("oneOf",u$);function a1(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new O(n,o,i,!0).is.a("function");let a;t?(new O(e,o,i,!0).to.have.property(t),a=e[t]):(new O(e,o,i,!0).is.a("function"),a=e()),n();let s=t==null?e():e[t],u=t==null?a:"."+t;B(this,"deltaMsgObj",u),B(this,"initialDeltaValue",a),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","change"),B(this,"realDelta",s!==a),this.assert(a!==s,"expected "+u+" to change","expected "+u+" to not change")}W(a1,"assertChanges");O.addMethod("change",a1);O.addMethod("changes",a1);function s1(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new O(n,o,i,!0).is.a("function");let a;t?(new O(e,o,i,!0).to.have.property(t),a=e[t]):(new O(e,o,i,!0).is.a("function"),a=e()),new O(a,o,i,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?a:"."+t;B(this,"deltaMsgObj",u),B(this,"initialDeltaValue",a),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","increase"),B(this,"realDelta",s-a),this.assert(s-a>0,"expected "+u+" to increase","expected "+u+" to not increase")}W(s1,"assertIncreases");O.addMethod("increase",s1);O.addMethod("increases",s1);function l1(e,t,r){r&&B(this,"message",r);let n=B(this,"object"),o=B(this,"message"),i=B(this,"ssfi");new O(n,o,i,!0).is.a("function");let a;t?(new O(e,o,i,!0).to.have.property(t),a=e[t]):(new O(e,o,i,!0).is.a("function"),a=e()),new O(a,o,i,!0).is.a("number"),n();let s=t==null?e():e[t],u=t==null?a:"."+t;B(this,"deltaMsgObj",u),B(this,"initialDeltaValue",a),B(this,"finalDeltaValue",s),B(this,"deltaBehavior","decrease"),B(this,"realDelta",a-s),this.assert(s-a<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}W(l1,"assertDecreases");O.addMethod("decrease",l1);O.addMethod("decreases",l1);function c$(e,t){t&&B(this,"message",t);let r=B(this,"deltaMsgObj"),n=B(this,"initialDeltaValue"),o=B(this,"finalDeltaValue"),i=B(this,"deltaBehavior"),a=B(this,"realDelta"),s;i==="change"?s=Math.abs(o-n)===Math.abs(e):s=a===Math.abs(e),this.assert(s,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}W(c$,"assertDelta");O.addMethod("by",c$);O.addProperty("extensible",function(){let e=B(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});O.addProperty("sealed",function(){let e=B(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});O.addProperty("frozen",function(){let e=B(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});O.addProperty("finite",function(e){let t=B(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function tp(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return tp(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?tp(n,o):typeof n=="function"?n(o):o===n}):!1}W(tp,"compareSubset");O.addMethod("containSubset",function(e){let t=pe(this,"object"),r=Ot.showDiff;this.assert(tp(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function _o(e,t){return new O(e,t)}W(_o,"expect");_o.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Ce(r,{actual:e,expected:t,operator:n},_o.fail)};var d$={};P0(d$,{Should:()=>Vne,should:()=>Une});function u1(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new O(this.valueOf(),null,e):new O(this,null,e)}W(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}W(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,o,i,a){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new Ce(i,{actual:n,expected:o,operator:a},r.fail)},r.equal=function(n,o,i){new O(n,i).to.equal(o)},r.Throw=function(n,o,i,a){new O(n,a).to.Throw(o,i)},r.exist=function(n,o){new O(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new O(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,a){new O(n,a).to.not.Throw(o,i)},r.not.exist=function(n,o){new O(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}W(u1,"loadShould");var Une=u1,Vne=u1;function P(e,t){new O(null,null,P,!0).assert(e,t,"[ negation message unavailable ]")}W(P,"assert");P.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Ce(r,{actual:e,expected:t,operator:n},P.fail)};P.isOk=function(e,t){new O(e,t,P.isOk,!0).is.ok};P.isNotOk=function(e,t){new O(e,t,P.isNotOk,!0).is.not.ok};P.equal=function(e,t,r){let n=new O(e,r,P.equal,!0);n.assert(t==pe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};P.notEqual=function(e,t,r){let n=new O(e,r,P.notEqual,!0);n.assert(t!=pe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};P.strictEqual=function(e,t,r){new O(e,r,P.strictEqual,!0).to.equal(t)};P.notStrictEqual=function(e,t,r){new O(e,r,P.notStrictEqual,!0).to.not.equal(t)};P.deepEqual=P.deepStrictEqual=function(e,t,r){new O(e,r,P.deepEqual,!0).to.eql(t)};P.notDeepEqual=function(e,t,r){new O(e,r,P.notDeepEqual,!0).to.not.eql(t)};P.isAbove=function(e,t,r){new O(e,r,P.isAbove,!0).to.be.above(t)};P.isAtLeast=function(e,t,r){new O(e,r,P.isAtLeast,!0).to.be.least(t)};P.isBelow=function(e,t,r){new O(e,r,P.isBelow,!0).to.be.below(t)};P.isAtMost=function(e,t,r){new O(e,r,P.isAtMost,!0).to.be.most(t)};P.isTrue=function(e,t){new O(e,t,P.isTrue,!0).is.true};P.isNotTrue=function(e,t){new O(e,t,P.isNotTrue,!0).to.not.equal(!0)};P.isFalse=function(e,t){new O(e,t,P.isFalse,!0).is.false};P.isNotFalse=function(e,t){new O(e,t,P.isNotFalse,!0).to.not.equal(!1)};P.isNull=function(e,t){new O(e,t,P.isNull,!0).to.equal(null)};P.isNotNull=function(e,t){new O(e,t,P.isNotNull,!0).to.not.equal(null)};P.isNaN=function(e,t){new O(e,t,P.isNaN,!0).to.be.NaN};P.isNotNaN=function(e,t){new O(e,t,P.isNotNaN,!0).not.to.be.NaN};P.exists=function(e,t){new O(e,t,P.exists,!0).to.exist};P.notExists=function(e,t){new O(e,t,P.notExists,!0).to.not.exist};P.isUndefined=function(e,t){new O(e,t,P.isUndefined,!0).to.equal(void 0)};P.isDefined=function(e,t){new O(e,t,P.isDefined,!0).to.not.equal(void 0)};P.isCallable=function(e,t){new O(e,t,P.isCallable,!0).is.callable};P.isNotCallable=function(e,t){new O(e,t,P.isNotCallable,!0).is.not.callable};P.isObject=function(e,t){new O(e,t,P.isObject,!0).to.be.a("object")};P.isNotObject=function(e,t){new O(e,t,P.isNotObject,!0).to.not.be.a("object")};P.isArray=function(e,t){new O(e,t,P.isArray,!0).to.be.an("array")};P.isNotArray=function(e,t){new O(e,t,P.isNotArray,!0).to.not.be.an("array")};P.isString=function(e,t){new O(e,t,P.isString,!0).to.be.a("string")};P.isNotString=function(e,t){new O(e,t,P.isNotString,!0).to.not.be.a("string")};P.isNumber=function(e,t){new O(e,t,P.isNumber,!0).to.be.a("number")};P.isNotNumber=function(e,t){new O(e,t,P.isNotNumber,!0).to.not.be.a("number")};P.isNumeric=function(e,t){new O(e,t,P.isNumeric,!0).is.numeric};P.isNotNumeric=function(e,t){new O(e,t,P.isNotNumeric,!0).is.not.numeric};P.isFinite=function(e,t){new O(e,t,P.isFinite,!0).to.be.finite};P.isBoolean=function(e,t){new O(e,t,P.isBoolean,!0).to.be.a("boolean")};P.isNotBoolean=function(e,t){new O(e,t,P.isNotBoolean,!0).to.not.be.a("boolean")};P.typeOf=function(e,t,r){new O(e,r,P.typeOf,!0).to.be.a(t)};P.notTypeOf=function(e,t,r){new O(e,r,P.notTypeOf,!0).to.not.be.a(t)};P.instanceOf=function(e,t,r){new O(e,r,P.instanceOf,!0).to.be.instanceOf(t)};P.notInstanceOf=function(e,t,r){new O(e,r,P.notInstanceOf,!0).to.not.be.instanceOf(t)};P.include=function(e,t,r){new O(e,r,P.include,!0).include(t)};P.notInclude=function(e,t,r){new O(e,r,P.notInclude,!0).not.include(t)};P.deepInclude=function(e,t,r){new O(e,r,P.deepInclude,!0).deep.include(t)};P.notDeepInclude=function(e,t,r){new O(e,r,P.notDeepInclude,!0).not.deep.include(t)};P.nestedInclude=function(e,t,r){new O(e,r,P.nestedInclude,!0).nested.include(t)};P.notNestedInclude=function(e,t,r){new O(e,r,P.notNestedInclude,!0).not.nested.include(t)};P.deepNestedInclude=function(e,t,r){new O(e,r,P.deepNestedInclude,!0).deep.nested.include(t)};P.notDeepNestedInclude=function(e,t,r){new O(e,r,P.notDeepNestedInclude,!0).not.deep.nested.include(t)};P.ownInclude=function(e,t,r){new O(e,r,P.ownInclude,!0).own.include(t)};P.notOwnInclude=function(e,t,r){new O(e,r,P.notOwnInclude,!0).not.own.include(t)};P.deepOwnInclude=function(e,t,r){new O(e,r,P.deepOwnInclude,!0).deep.own.include(t)};P.notDeepOwnInclude=function(e,t,r){new O(e,r,P.notDeepOwnInclude,!0).not.deep.own.include(t)};P.match=function(e,t,r){new O(e,r,P.match,!0).to.match(t)};P.notMatch=function(e,t,r){new O(e,r,P.notMatch,!0).to.not.match(t)};P.property=function(e,t,r){new O(e,r,P.property,!0).to.have.property(t)};P.notProperty=function(e,t,r){new O(e,r,P.notProperty,!0).to.not.have.property(t)};P.propertyVal=function(e,t,r,n){new O(e,n,P.propertyVal,!0).to.have.property(t,r)};P.notPropertyVal=function(e,t,r,n){new O(e,n,P.notPropertyVal,!0).to.not.have.property(t,r)};P.deepPropertyVal=function(e,t,r,n){new O(e,n,P.deepPropertyVal,!0).to.have.deep.property(t,r)};P.notDeepPropertyVal=function(e,t,r,n){new O(e,n,P.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};P.ownProperty=function(e,t,r){new O(e,r,P.ownProperty,!0).to.have.own.property(t)};P.notOwnProperty=function(e,t,r){new O(e,r,P.notOwnProperty,!0).to.not.have.own.property(t)};P.ownPropertyVal=function(e,t,r,n){new O(e,n,P.ownPropertyVal,!0).to.have.own.property(t,r)};P.notOwnPropertyVal=function(e,t,r,n){new O(e,n,P.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};P.deepOwnPropertyVal=function(e,t,r,n){new O(e,n,P.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};P.notDeepOwnPropertyVal=function(e,t,r,n){new O(e,n,P.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};P.nestedProperty=function(e,t,r){new O(e,r,P.nestedProperty,!0).to.have.nested.property(t)};P.notNestedProperty=function(e,t,r){new O(e,r,P.notNestedProperty,!0).to.not.have.nested.property(t)};P.nestedPropertyVal=function(e,t,r,n){new O(e,n,P.nestedPropertyVal,!0).to.have.nested.property(t,r)};P.notNestedPropertyVal=function(e,t,r,n){new O(e,n,P.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};P.deepNestedPropertyVal=function(e,t,r,n){new O(e,n,P.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};P.notDeepNestedPropertyVal=function(e,t,r,n){new O(e,n,P.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};P.lengthOf=function(e,t,r){new O(e,r,P.lengthOf,!0).to.have.lengthOf(t)};P.hasAnyKeys=function(e,t,r){new O(e,r,P.hasAnyKeys,!0).to.have.any.keys(t)};P.hasAllKeys=function(e,t,r){new O(e,r,P.hasAllKeys,!0).to.have.all.keys(t)};P.containsAllKeys=function(e,t,r){new O(e,r,P.containsAllKeys,!0).to.contain.all.keys(t)};P.doesNotHaveAnyKeys=function(e,t,r){new O(e,r,P.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};P.doesNotHaveAllKeys=function(e,t,r){new O(e,r,P.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};P.hasAnyDeepKeys=function(e,t,r){new O(e,r,P.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};P.hasAllDeepKeys=function(e,t,r){new O(e,r,P.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};P.containsAllDeepKeys=function(e,t,r){new O(e,r,P.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};P.doesNotHaveAnyDeepKeys=function(e,t,r){new O(e,r,P.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};P.doesNotHaveAllDeepKeys=function(e,t,r){new O(e,r,P.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};P.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let o=new O(e,n,P.throws,!0).to.throw(t,r);return pe(o,"object")};P.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new O(e,n,P.doesNotThrow,!0).to.not.throw(t,r)};P.operator=function(e,t,r,n){let o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new Ce(n+'Invalid operator "'+t+'"',void 0,P.operator)}let i=new O(o,n,P.operator,!0);i.assert(pe(i,"object")===!0,"expected "+Se(e)+" to be "+t+" "+Se(r),"expected "+Se(e)+" to not be "+t+" "+Se(r))};P.closeTo=function(e,t,r,n){new O(e,n,P.closeTo,!0).to.be.closeTo(t,r)};P.approximately=function(e,t,r,n){new O(e,n,P.approximately,!0).to.be.approximately(t,r)};P.sameMembers=function(e,t,r){new O(e,r,P.sameMembers,!0).to.have.same.members(t)};P.notSameMembers=function(e,t,r){new O(e,r,P.notSameMembers,!0).to.not.have.same.members(t)};P.sameDeepMembers=function(e,t,r){new O(e,r,P.sameDeepMembers,!0).to.have.same.deep.members(t)};P.notSameDeepMembers=function(e,t,r){new O(e,r,P.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};P.sameOrderedMembers=function(e,t,r){new O(e,r,P.sameOrderedMembers,!0).to.have.same.ordered.members(t)};P.notSameOrderedMembers=function(e,t,r){new O(e,r,P.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};P.sameDeepOrderedMembers=function(e,t,r){new O(e,r,P.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};P.notSameDeepOrderedMembers=function(e,t,r){new O(e,r,P.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};P.includeMembers=function(e,t,r){new O(e,r,P.includeMembers,!0).to.include.members(t)};P.notIncludeMembers=function(e,t,r){new O(e,r,P.notIncludeMembers,!0).to.not.include.members(t)};P.includeDeepMembers=function(e,t,r){new O(e,r,P.includeDeepMembers,!0).to.include.deep.members(t)};P.notIncludeDeepMembers=function(e,t,r){new O(e,r,P.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};P.includeOrderedMembers=function(e,t,r){new O(e,r,P.includeOrderedMembers,!0).to.include.ordered.members(t)};P.notIncludeOrderedMembers=function(e,t,r){new O(e,r,P.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};P.includeDeepOrderedMembers=function(e,t,r){new O(e,r,P.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};P.notIncludeDeepOrderedMembers=function(e,t,r){new O(e,r,P.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};P.oneOf=function(e,t,r){new O(e,r,P.oneOf,!0).to.be.oneOf(t)};P.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Se(e)} to be an iterable`:`expected ${Se(e)} to be an iterable`,new Ce(t,void 0,P.isIterable)};P.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.changes,!0).to.change(t,r)};P.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.changesBy,!0).to.change(t,r).by(n)};P.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.doesNotChange,!0).to.not.change(t,r)};P.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.changesButNotBy,!0).to.change(t,r).but.not.by(n)};P.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.increases,!0).to.increase(t,r)};P.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.increasesBy,!0).to.increase(t,r).by(n)};P.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.doesNotIncrease,!0).to.not.increase(t,r)};P.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};P.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.decreases,!0).to.decrease(t,r)};P.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.decreasesBy,!0).to.decrease(t,r).by(n)};P.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new O(e,n,P.doesNotDecrease,!0).to.not.decrease(t,r)};P.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new O(e,o,P.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};P.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){let i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new O(e,o,P.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};P.ifError=function(e){if(e)throw e};P.isExtensible=function(e,t){new O(e,t,P.isExtensible,!0).to.be.extensible};P.isNotExtensible=function(e,t){new O(e,t,P.isNotExtensible,!0).to.not.be.extensible};P.isSealed=function(e,t){new O(e,t,P.isSealed,!0).to.be.sealed};P.isNotSealed=function(e,t){new O(e,t,P.isNotSealed,!0).to.not.be.sealed};P.isFrozen=function(e,t){new O(e,t,P.isFrozen,!0).to.be.frozen};P.isNotFrozen=function(e,t){new O(e,t,P.isNotFrozen,!0).to.not.be.frozen};P.isEmpty=function(e,t){new O(e,t,P.isEmpty,!0).to.be.empty};P.isNotEmpty=function(e,t){new O(e,t,P.isNotEmpty,!0).to.not.be.empty};P.containsSubset=function(e,t,r){new O(e,r).to.containSubset(t)};P.doesNotContainSubset=function(e,t,r){new O(e,r).to.not.containSubset(t)};var Wne=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of Wne)P[t]=P[e];var NR=[];function gi(e){let t={use:gi,AssertionError:Ce,util:Cr,config:Ot,expect:_o,assert:P,Assertion:O,...d$};return~NR.indexOf(e)||(e(t,Cr),NR.push(e)),t}W(gi,"use");var f$={};Gp(f$,{toAppearAfter:()=>Hie,toAppearBefore:()=>mv,toBeChecked:()=>X$,toBeDisabled:()=>U$,toBeEmpty:()=>T$,toBeEmptyDOMElement:()=>O$,toBeEnabled:()=>V$,toBeInTheDOM:()=>uv,toBeInTheDocument:()=>P$,toBeInvalid:()=>K$,toBePartiallyChecked:()=>eq,toBePartiallyPressed:()=>iq,toBePressed:()=>oq,toBeRequired:()=>W$,toBeValid:()=>Y$,toBeVisible:()=>L$,toContainElement:()=>cv,toContainHTML:()=>$$,toHaveAccessibleDescription:()=>dv,toHaveAccessibleErrorMessage:()=>k$,toHaveAccessibleName:()=>pv,toHaveAttribute:()=>M$,toHaveClass:()=>N$,toHaveDescription:()=>tq,toHaveDisplayValue:()=>J$,toHaveErrorMessage:()=>rq,toHaveFocus:()=>I$,toHaveFormValues:()=>j$,toHaveRole:()=>fv,toHaveSelection:()=>nq,toHaveStyle:()=>hv,toHaveTextContent:()=>q$,toHaveValue:()=>Z$});var IR=rr(E6());function p$(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function c1(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var h$={};p$(h$);c1(h$,"default",()=>m$);var m$=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},g$={};p$(g$);c1(g$,"default",()=>b$);var b$=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},Gne={};c1(Gne,"CssTypes",()=>Qe);var Qe;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Qe||(Qe={}));var Jm=/\/\*[^]*?(?:\*\/|$)/g,Kne=(e,t)=>{t=t||{};let r=1,n=1;function o($){let M=$.match(/\n/g);M&&(r+=M.length);let K=$.lastIndexOf(`
776
- `);n=~K?$.length-K:n+$.length}function i(){let $={line:r,column:n};return function(M){return M.position=new b$($,{line:r,column:n},t?.source||""),p(),M}}let a=[];function s($){let M=new m$(t?.source||"",$,r,n,e);if(t?.silent)a.push(M);else throw M}function u(){let $=d();return{type:Qe.stylesheet,stylesheet:{source:t?.source,rules:$,parsingErrors:a}}}function l(){return f(/^{\s*/)}function c(){return f(/^}/)}function d(){let $,M=[];for(p(),h(M);e.length&&e.charAt(0)!=="}"&&($=Z()||A());)$&&(M.push($),h(M));return M}function f($){let M=$.exec(e);if(!M)return;let K=M[0];return o(K),e=e.slice(K.length),M}function p(){f(/^\s*/)}function h($){let M;for($=$||[];M=m();)M&&$.push(M);return $}function m(){let $=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let M=f(/^\/\*[^]*?\*\//);return M?$({type:Qe.comment,comment:M[0].slice(2,-2)}):s("End of comment missing")}function v($,M,K){let L=M+1,D=!1,Y=$.indexOf(")",L);for(;!D&&Y!==-1;){let ne=$.indexOf("(",L);ne!==-1&&ne<Y?(L=v($,ne+1)+1,Y=$.indexOf(")",L)):D=!0}return D&&Y!==-1?Y:-1}function g(){let $=f(/^([^{]+)/);if(!$)return;let M=Wt($[0]).replace(Jm,"");if(M.indexOf(",")===-1)return[M];let K=0,L=M.indexOf("(",K);for(;L!==-1;){let D=v(M,L);if(D===-1)break;K=D+1,M=M.substring(0,L)+M.substring(L,D).replace(/,/g,"‌")+M.substring(D),L=M.indexOf("(",K)}return M=M.replace(/("|')(?:\\\1|.)*?\1/g,D=>D.replace(/,/g,"‌")),M.split(",").map(D=>Wt(D.replace(/\u200C/g,",")))}function E(){let $=i(),M=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!M)return;let K=Wt(M[0]);if(!f(/^:\s*/))return s("property missing ':'");let L=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),D=$({type:Qe.declaration,property:K.replace(Jm,""),value:L?Wt(L[0]).replace(Jm,""):""});return f(/^[;\s]*/),D}function _(){let $=[];if(!l())return s("missing '{'");h($);let M;for(;M=E();)M&&($.push(M),h($));return c()?$:s("missing '}'")}function x(){let $,M=[],K=i();for(;$=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)M.push($[1]),f(/^,\s*/);if(M.length)return K({type:Qe.keyframe,values:M,declarations:_()||[]})}function S(){let $=i(),M=f(/^@([-\w]+)?keyframes\s*/);if(!M)return;let K=M[1],L=f(/^([-\w]+)\s*/);if(!L)return s("@keyframes missing name");let D=L[1];if(!l())return s("@keyframes missing '{'");let Y,ne=h();for(;Y=x();)ne.push(Y),ne=ne.concat(h());return c()?$({type:Qe.keyframes,name:D,vendor:K,keyframes:ne}):s("@keyframes missing '}'")}function y(){let $=i(),M=f(/^@supports *([^{]+)/);if(!M)return;let K=Wt(M[1]);if(!l())return s("@supports missing '{'");let L=h().concat(d());return c()?$({type:Qe.supports,supports:K,rules:L}):s("@supports missing '}'")}function b(){let $=i();if(!f(/^@host\s*/))return;if(!l())return s("@host missing '{'");let M=h().concat(d());return c()?$({type:Qe.host,rules:M}):s("@host missing '}'")}function w(){let $=i(),M=f(/^@container *([^{]+)/);if(!M)return;let K=Wt(M[1]);if(!l())return s("@container missing '{'");let L=h().concat(d());return c()?$({type:Qe.container,container:K,rules:L}):s("@container missing '}'")}function C(){let $=i(),M=f(/^@layer *([^{;@]+)/);if(!M)return;let K=Wt(M[1]);if(!l())return f(/^[;\s]*/),$({type:Qe.layer,layer:K});let L=h().concat(d());return c()?$({type:Qe.layer,layer:K,rules:L}):s("@layer missing '}'")}function N(){let $=i(),M=f(/^@media *([^{]+)/);if(!M)return;let K=Wt(M[1]);if(!l())return s("@media missing '{'");let L=h().concat(d());return c()?$({type:Qe.media,media:K,rules:L}):s("@media missing '}'")}function q(){let $=i(),M=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(M)return $({type:Qe.customMedia,name:Wt(M[1]),media:Wt(M[2])})}function z(){let $=i();if(!f(/^@page */))return;let M=g()||[];if(!l())return s("@page missing '{'");let K=h(),L;for(;L=E();)K.push(L),K=K.concat(h());return c()?$({type:Qe.page,selectors:M,declarations:K}):s("@page missing '}'")}function F(){let $=i(),M=f(/^@([-\w]+)?document *([^{]+)/);if(!M)return;let K=Wt(M[1]),L=Wt(M[2]);if(!l())return s("@document missing '{'");let D=h().concat(d());return c()?$({type:Qe.document,document:L,vendor:K,rules:D}):s("@document missing '}'")}function T(){let $=i();if(!f(/^@font-face\s*/))return;if(!l())return s("@font-face missing '{'");let M=h(),K;for(;K=E();)M.push(K),M=M.concat(h());return c()?$({type:Qe.fontFace,declarations:M}):s("@font-face missing '}'")}function k(){let $=i();if(!f(/^@starting-style\s*/))return;if(!l())return s("@starting-style missing '{'");let M=h().concat(d());return c()?$({type:Qe.startingStyle,rules:M}):s("@starting-style missing '}'")}let I=X("import"),U=X("charset"),G=X("namespace");function X($){let M=new RegExp("^@"+$+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let K=i(),L=f(M);if(!L)return;let D={type:$};return D[$]=L[1].trim(),K(D)}}function Z(){if(e[0]==="@")return S()||N()||q()||y()||I()||U()||G()||F()||z()||b()||T()||w()||k()||C()}function A(){let $=i(),M=g();return M?(h(),$({type:Qe.rule,selectors:M,declarations:_()||[]})):s("selector missing")}return sv(u())};function Wt(e){return e?e.trim():""}function sv(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(a=>{sv(a,n)}):i&&typeof i=="object"&&sv(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var Yne=Kne,Zne=Yne,Jne=Object.prototype.toString;function Xne(e){return typeof e=="function"||Jne.call(e)==="[object Function]"}function Qne(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var eoe=Math.pow(2,53)-1;function toe(e){var t=Qne(e);return Math.min(Math.max(t,0),eoe)}function ar(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var o=toe(n.length),i=Xne(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],i[a]=s,a+=1;return i.length=o,i}function lc(e){"@babel/helpers - typeof";return lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lc(e)}function roe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function noe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v$(n.key),n)}}function ooe(e,t,r){return t&&noe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ioe(e,t,r){return t=v$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v$(e){var t=aoe(e,"string");return lc(t)==="symbol"?t:String(t)}function aoe(e,t){if(lc(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(lc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var soe=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];roe(this,e),ioe(this,"items",void 0),this.items=t}return ooe(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),loe=typeof Set>"u"?Set:soe;function Rt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var uoe={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},coe={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function doe(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=coe[t])!==null&&n!==void 0&&n.has(r))})}function y$(e,t){return doe(e,t)}function foe(e){var t=hoe(e);if(t===null||lv.indexOf(t)!==-1){var r=poe(e);if(lv.indexOf(t||"")===-1||y$(e,r||""))return r}return t}function poe(e){var t=uoe[Rt(e)];if(t!==void 0)return t;switch(Rt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!y$(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function hoe(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var lv=["presentation","none"];function ze(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function w$(e){return ze(e)&&Rt(e)==="caption"}function tf(e){return ze(e)&&Rt(e)==="input"}function moe(e){return ze(e)&&Rt(e)==="optgroup"}function goe(e){return ze(e)&&Rt(e)==="select"}function boe(e){return ze(e)&&Rt(e)==="table"}function voe(e){return ze(e)&&Rt(e)==="textarea"}function yoe(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function woe(e){return ze(e)&&Rt(e)==="fieldset"}function Eoe(e){return ze(e)&&Rt(e)==="legend"}function _oe(e){return ze(e)&&Rt(e)==="slot"}function Soe(e){return ze(e)&&e.ownerSVGElement!==void 0}function Roe(e){return ze(e)&&Rt(e)==="svg"}function xoe(e){return Soe(e)&&Rt(e)==="title"}function rp(e,t){if(ze(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function rn(e,t){return ze(e)?t.indexOf(foe(e))!==-1:!1}function Coe(e){return e.trim().replace(/\s\s+/g," ")}function Aoe(e,t){if(!ze(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function Poe(e){return rn(e,["button","combobox","listbox","textbox"])||E$(e)}function E$(e,t){return ze(e)?rn(e,["meter","progressbar","scrollbar","slider","spinbutton"]):!1}function jR(e,t){var r=ar(e.querySelectorAll(t));return rp(e,"aria-owns").forEach(function(n){r.push.apply(r,ar(n.querySelectorAll(t)))}),r}function Toe(e){return goe(e)?e.selectedOptions||jR(e,"[selected]"):jR(e,'[aria-selected="true"]')}function Ooe(e){return rn(e,lv)}function $oe(e){return w$(e)}function qoe(e){return rn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function koe(e){return!1}function Moe(e){return tf(e)||voe(e)?e.value:e.textContent||""}function DR(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function _$(e){var t=Rt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function S$(e){if(_$(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ze(r)){var n=S$(r);n!==null&&(t=n)}}),t}function Noe(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):S$(e)}function Ioe(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ar(t);if(!_$(e))return null;var r=e.ownerDocument;return ar(r.querySelectorAll("label")).filter(function(n){return Noe(n)===e})}function joe(e){var t=e.assignedNodes();return t.length===0?ar(e.childNodes):t}function R$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new loe,n=yoe(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,u=t.getComputedStyle,l=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,d=c===void 0?!1:c;function f(g,E){var _="";if(ze(g)&&s){var x=l(g,"::before"),S=DR(x);_="".concat(S," ").concat(_)}var y=_oe(g)?joe(g):ar(g.childNodes).concat(rp(g,"aria-owns"));if(y.forEach(function(C){var N=v(C,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),q=ze(C)?l(C).getPropertyValue("display"):"inline",z=q!=="inline"?" ":"";_+="".concat(z).concat(N).concat(z)}),ze(g)&&s){var b=l(g,"::after"),w=DR(b);_="".concat(_," ").concat(w)}return _.trim()}function p(g,E){var _=g.getAttributeNode(E);return _!==null&&!r.has(_)&&_.value.trim()!==""?(r.add(_),_.value):null}function h(g){return ze(g)?p(g,"title"):null}function m(g){if(!ze(g))return null;if(woe(g)){r.add(g);for(var E=ar(g.childNodes),_=0;_<E.length;_+=1){var x=E[_];if(Eoe(x))return v(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(boe(g)){r.add(g);for(var S=ar(g.childNodes),y=0;y<S.length;y+=1){var b=S[y];if(w$(b))return v(b,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Roe(g)){r.add(g);for(var w=ar(g.childNodes),C=0;C<w.length;C+=1){var N=w[C];if(xoe(N))return N.textContent}return null}else if(Rt(g)==="img"||Rt(g)==="area"){var q=p(g,"alt");if(q!==null)return q}else if(moe(g)){var z=p(g,"label");if(z!==null)return z}if(tf(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var F=p(g,"value");if(F!==null)return F;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var T=Ioe(g);if(T!==null&&T.length!==0)return r.add(g),ar(T).map(function(G){return v(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(tf(g)&&g.type==="image"){var k=p(g,"alt");if(k!==null)return k;var I=p(g,"title");return I!==null?I:"Submit Query"}if(rn(g,["button"])){var U=f(g,{isEmbeddedInLabel:!1});if(U!=="")return U}return null}function v(g,E){if(r.has(g))return"";if(!d&&Aoe(g,l)&&!E.isReferenced)return r.add(g),"";var _=ze(g)?g.getAttributeNode("aria-labelledby"):null,x=_!==null&&!r.has(_)?rp(g,"aria-labelledby"):[];if(i==="name"&&!E.isReferenced&&x.length>0)return r.add(_),x.map(function(q){return v(q,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=E.recursion&&Poe(g)&&i==="name";if(!S){var y=(ze(g)&&g.getAttribute("aria-label")||"").trim();if(y!==""&&i==="name")return r.add(g),y;if(!Ooe(g)){var b=m(g);if(b!==null)return r.add(g),b}}if(rn(g,["menu"]))return r.add(g),"";if(S||E.isEmbeddedInLabel||E.isReferenced){if(rn(g,["combobox","listbox"])){r.add(g);var w=Toe(g);return w.length===0?tf(g)?g.value:"":ar(w).map(function(q){return v(q,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(E$(g))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(rn(g,["textbox"]))return r.add(g),Moe(g)}if(qoe(g)||ze(g)&&E.isReferenced||$oe(g)||koe()){var C=f(g,{isEmbeddedInLabel:E.isEmbeddedInLabel});if(C!=="")return r.add(g),C}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(E.recursion)return r.add(g),f(g,{isEmbeddedInLabel:E.isEmbeddedInLabel});var N=h(g);return N!==null?(r.add(g),N):(r.add(g),"")}return Coe(v(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function uc(e){"@babel/helpers - typeof";return uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uc(e)}function LR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function FR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?LR(Object(r),!0).forEach(function(n){Doe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Doe(e,t,r){return t=Loe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Loe(e){var t=Foe(e,"string");return uc(t)==="symbol"?t:String(t)}function Foe(e,t){if(uc(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(uc(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Boe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=rp(e,"aria-describedby").map(function(i){return R$(i,FR(FR({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function zoe(e){return rn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function Hoe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return zoe(e)?"":R$(e,t)}var d1=rr(_6()),Uoe=rr(UT()),Voe=rr(S6()),x$=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
777
- `)}},BR=class extends x${constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},zR=class extends x${constructor(...e){super("be a Node",...e)}};function C$(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function Woe(e,...t){C$(e,zR,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new zR(e,...t)}function _e(e,...t){C$(e,BR,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new BR(e,...t)}var Goe=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
778
- `)}};function Koe(e,...t){let r=Zne(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new Goe({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:i})=>Object.assign(n,{[o]:i}),{})}function HR(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function it(e,t,r,n,o,i){return[`${t}
779
- `,`${r}:
780
- ${e.utils.EXPECTED_COLOR((0,IR.default)(HR(e,n),2))}`,`${o}:
781
- ${e.utils.RECEIVED_COLOR((0,IR.default)(HR(e,i),2))}`].join(`
782
- `)}function Yoe(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function mh(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function gh(e){return e.replace(/\s+/g," ").trim()}function Ln(e){return e.tagName&&e.tagName.toLowerCase()}function Zoe({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function Joe(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var Xoe=["meter","progressbar","slider","spinbutton"];function Qoe(e){if(Xoe.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function A$(e){if(e)switch(e.tagName.toLowerCase()){case"input":return Joe(e);case"select":return Zoe(e);default:return e.value??Qoe(e)}}function eie(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function f1(e,t){return Array.isArray(e)&&Array.isArray(t)?[...new Set(e)].every(r=>new Set(t).has(r)):e===t}function uv(e,t){return mh("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&_e(e,uv,this),t&&_e(t,uv,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
783
- `)}}function P$(e){(e!==null||!this.isNot)&&_e(e,P$,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
784
- `)}}function T$(e){return mh("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),_e(e,T$,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
785
- `)}}function O$(e){return _e(e,O$,this),{pass:tie(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
786
- `)}}function tie(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function cv(e,t){return _e(e,cv,this),t!==null&&_e(t,cv,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
787
- `)].join(`
788
- `)}}function rie(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function $$(e,t){if(_e(e,$$,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(rie(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
789
- `)}}function q$(e,t,r={normalizeWhitespace:!0}){Woe(e,q$,this);let n=r.normalizeWhitespace?gh(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&Yoe(n,t),message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)}}}function dv(e,t){_e(e,dv,this);let r=Boe(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.${dv.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var eu="aria-invalid",nie=["false"];function k$(e,t){_e(e,k$,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>it(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let i=e.getAttribute(eu);if(!e.hasAttribute(eu)||nie.includes(i))return{pass:!1,message:()=>it(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${eu}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${eu}="${e.getAttribute(eu)}`:null)};let a=gh(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!a:t instanceof RegExp?t.test(a):this.equals(a,t),message:()=>it(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",a)}}var oie=sie(d1.elementRoles);function fv(e,t){_e(e,fv,this);let r=iie(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.${fv.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function iie(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):aie(e)}function aie(e){for(let{match:t,roles:r}of oie)if(t(e))return[...r];return[]}function sie(e){function t({name:a,attributes:s}){return`${a}${s.map(({name:u,value:l,constraints:c=[]})=>c.indexOf("undefined")!==-1?`:not([${u}])`:l?`[${u}="${l}"]`:`[${u}]`).join("")}`}function r({attributes:a=[]}){return a.length}function n({specificity:a},{specificity:s}){return s-a}function o(a){let{attributes:s=[]}=a,u=s.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(s=[...s.slice(0,u),...s.slice(u+1)]);let l=t({...a,attributes:s});return c=>u>=0&&c.type!=="text"?!1:c.matches(l)}let i=[];for(let[a,s]of e.entries())i=[...i,{match:o(a),roles:Array.from(s),specificity:r(a)}];return i.sort(n)}function pv(e,t){_e(e,pv,this);let r=Hoe(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.${pv.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function UR(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function lie(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function M$(e,t,r){_e(e,M$,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:()=>{let a=this.isNot?"not to":"to",s=o?UR(this.utils.stringify,t,i):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:lie(this.utils.stringify,t,r)});return it(this,u,`Expected the element ${a} have attribute`,UR(this.utils.stringify,t,r),"Received",s)}}}function uie(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function VR(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function WR(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function N$(e,...t){_e(e,N$,this);let{expectedClassNames:r,options:n}=uie(t),o=VR(e.getAttribute("class")),i=r.reduce((s,u)=>s.concat(typeof u=="string"||!u?VR(u):u),[]),a=i.some(s=>s instanceof RegExp);if(n.exact&&a)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:WR(i,o)&&i.length===o.length,message:()=>{let s=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))}}:i.length>0?{pass:WR(i,o),message:()=>{let s=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${s} have class`,i.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?it(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
790
- `)}}function cie(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function die(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),i=[r];return o||i.push(r.toLowerCase()),i.some(a=>t[a]===n||t.getPropertyValue(a)===n)})}function GR(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
791
- `)}function fie(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,i)=>Object.assign(o,{[i]:r.getPropertyValue(i)}),{});return e(GR(t),GR(n)).replace(`${Uoe.default.red("+ Received")}
792
- `,"")}function hv(e,t){_e(e,hv,this);let r=typeof t=="object"?t:Koe(t,hv,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=cie(e.ownerDocument,r),i=n(e);return{pass:die(o,i),message:()=>{let a=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(a,"element",""),fie(this.utils.diff,o,i)].join(`
793
-
794
- `)}}}function I$(e){return _e(e,I$,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
795
- `)}}function pie(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function hie(e,t){let r=[...e.querySelectorAll(`[name="${(0,Voe.default)(t)}"]`)];if(r.length!==0)return r.length===1?A$(r[0]):pie(r)}function mie(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function gie(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[mie(r)]:hie(e,r)}),{})}function j$(e,t){if(_e(e,j$,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=gie(e);return{pass:Object.entries(t).every(([n,o])=>f1(r[n],o)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(a=>t.hasOwnProperty(a)).reduce((a,s)=>({...a,[s]:r[s]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
796
-
797
- `)}}}function bie(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function vie(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function D$(e,t){return bie(e)&&vie(e,t)&&(!e.parentElement||D$(e.parentElement,e))}function L$(e){_e(e,L$,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&D$(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
798
- `)}}}var yie=["fieldset","input","select","optgroup","option","button","textarea"];function wie(e,t){return Ln(e)==="legend"&&Ln(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Ln(r)==="legend"))}function Eie(e,t){return B$(t)&&!wie(e,t)}function _ie(e){return e.includes("-")}function F$(e){let t=Ln(e);return yie.includes(t)||_ie(t)}function B$(e){return F$(e)&&e.hasAttribute("disabled")}function z$(e){let t=e.parentElement;return!!t&&(Eie(e,t)||z$(t))}function H$(e){return F$(e)&&(B$(e)||z$(e))}function U$(e){_e(e,U$,this);let t=H$(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
799
- `)}}}function V$(e){_e(e,V$,this);let t=!H$(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
800
- `)}}}var Sie=["select","textarea"],Rie=["input","select","textarea"],xie=["color","hidden","range","submit","image","reset"],Cie=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function Aie(e){return Sie.includes(Ln(e))&&e.hasAttribute("required")}function Pie(e){return Ln(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!xie.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function Tie(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(Rie.includes(Ln(e))||e.hasAttribute("role")&&Cie.includes(e.getAttribute("role")))}function W$(e){_e(e,W$,this);let t=Aie(e)||Pie(e)||Tie(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
801
- `)}}}var Oie=["form","input","select","textarea"];function $ie(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function qie(e){return Oie.includes(Ln(e))}function G$(e){let t=$ie(e);return qie(e)?t||!e.checkValidity():t}function K$(e){_e(e,K$,this);let t=G$(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
802
- `)}}}function Y$(e){_e(e,Y$,this);let t=!G$(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
803
- `)}}}function Z$(e,t){if(_e(e,Z$,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=A$(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?f1(r,t):!!r,message:()=>{let a=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return it(this,s,`Expected the element ${a} have value`,n?o:"(any)","Received",i)}}}function J$(e,t){_e(e,J$,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=kie(r,e),o=Mie(t),i=o.filter(u=>n.some(l=>u instanceof RegExp?u.test(l):this.equals(l,String(u)))).length,a=i===n.length,s=i===o.length;return{pass:a&&s,message:()=>it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function kie(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function Mie(e){return e instanceof Array?e:[e]}function X$(e){_e(e,X$,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>Q$(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${Nie()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
804
- `)}}}function Nie(){return eie(Iie().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function Iie(){return d1.roles.keys().filter(Q$)}function Q$(e){return d1.roles.get(e)?.props["aria-checked"]!==void 0}function eq(e){_e(e,eq,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
805
- `)}}}function tq(e,t){mh("toHaveDescription","Please use toHaveAccessibleDescription."),_e(e,tq,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,a=n.map(s=>i.getElementById(s)).filter(Boolean);o=gh(a.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function rq(e,t){if(mh("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),_e(e,rq,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>it(this,this.utils.matcherHint(`${i}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,a=n.map(s=>i.getElementById(s)).filter(Boolean);o=gh(a.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return it(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function jie(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let i=e===r.startContainer||e.contains(r.startContainer),a=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(i||a)&&(n.selectNodeContents(e),i&&n.setStart(r.startContainer,r.startOffset),a&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let o=t.toString();return t.removeAllRanges(),t.addRange(r),o}function nq(e,t){_e(e,nq,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=jie(e);return{pass:r?f1(n,t):!!n,message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return it(this,i,`Expected the element ${o} have selection`,r?t:"(any)","Received",n)}}}function oq(e){_e(e,oq,this);let t=(e.getAttribute("role")||"").split(" ").map(o=>o.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false")?{pass:!1,message:()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePressed()'}:{pass:r&&n==="true",message:()=>{let o=this.utils.matcherHint(`${this.isNot?".not":""}.toBePressed`,"element","");return it(this,o,"Expected element to have",`aria-pressed="${this.isNot?"false":"true"}"`,"Received",`aria-pressed="${n}"`)}}}function iq(e){_e(e,iq,this);let t=(e.getAttribute("role")||"").split(" ").map(o=>o.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false"||n==="mixed")?{pass:!1,message:()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePartiallyPressed()'}:{pass:r&&n==="mixed",message:()=>{let o=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyPressed`,"element","");return it(this,i,`Expected element ${o} have`,'aria-pressed="mixed"',"Received",`aria-pressed="${n}"`)}}}var Die=1,aq=2,sq=4,Lie=8,Fie=16,Bie=32,KR={[Die]:"Node.DOCUMENT_POSITION_DISCONNECTED",[aq]:"Node.DOCUMENT_POSITION_PRECEDING",[sq]:"Node.DOCUMENT_POSITION_FOLLOWING",[Lie]:"Node.DOCUMENT_POSITION_CONTAINS",[Fie]:"Node.DOCUMENT_POSITION_CONTAINED_BY",[Bie]:"Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC"};function zie(e){return e in KR?`${KR[e]} (${e})`:`Unknown document position (${e})`}function lq(e,t){return function(r,n){_e(r,mv,this),_e(n,mv,this);let o=r.compareDocumentPosition(n);return{pass:o===t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.${e}`,"element","secondElement"),"",`Received: ${zie(o)}`].join(`
806
- `)}}}function mv(e,t){return lq("toAppearBefore",sq).apply(this,[e,t])}function Hie(e,t){return lq("toAppearAfter",aq).apply(this,[e,t])}rr(E6());rr(_6());rr(UT());rr(S6());var Xm,YR;function Uie(){if(YR)return Xm;YR=1;var e,t,r,n,o,i,a,s,u,l,c,d,f,p,h,m,v,g,E;return f=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,h=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,c=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,m=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,E=/[\t\v\f\ufeff\p{Zs}]+/yu,s=/\r?\n|[\r\u2028\u2029]/y,u=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,p=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,o=/[^<>{}]+/y,g=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,v=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,i=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,l=RegExp(s.source),Xm=function*(_,{jsx:x=!1}={}){var S,y,b,w,C,N,q,z,F,T,k,I,U,G;for({length:N}=_,w=0,C="",G=[{tag:"JS"}],S=[],k=0,I=!1;w<N;){switch(z=G[G.length-1],z.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(_[w]==="/"&&(g.test(C)||i.test(C))&&(f.lastIndex=w,q=f.exec(_))){w=f.lastIndex,C=q[0],I=!0,yield{type:"RegularExpressionLiteral",value:q[0],closed:q[1]!==void 0&&q[1]!=="\\"};continue}if(d.lastIndex=w,q=d.exec(_)){switch(U=q[0],F=d.lastIndex,T=U,U){case"(":C==="?NonExpressionParenKeyword"&&G.push({tag:"JSNonExpressionParen",nesting:k}),k++,I=!1;break;case")":k--,I=!0,z.tag==="JSNonExpressionParen"&&k===z.nesting&&(G.pop(),T="?NonExpressionParenEnd",I=!1);break;case"{":d.lastIndex=0,b=!v.test(C)&&(g.test(C)||i.test(C)),S.push(b),I=!1;break;case"}":switch(z.tag){case"InterpolationInTemplate":if(S.length===z.nesting){m.lastIndex=w,q=m.exec(_),w=m.lastIndex,C=q[0],q[1]==="${"?(C="?InterpolationInTemplate",I=!1,yield{type:"TemplateMiddle",value:q[0]}):(G.pop(),I=!0,yield{type:"TemplateTail",value:q[0],closed:q[1]==="`"});continue}break;case"InterpolationInJSX":if(S.length===z.nesting){G.pop(),w+=1,C="}",yield{type:"JSXPunctuator",value:"}"};continue}}I=S.pop(),T=I?"?ExpressionBraceEnd":"}";break;case"]":I=!0;break;case"++":case"--":T=I?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(x&&(g.test(C)||i.test(C))){G.push({tag:"JSXTag"}),w+=1,C="<",yield{type:"JSXPunctuator",value:U};continue}I=!1;break;default:I=!1}w=F,C=T,yield{type:"Punctuator",value:U};continue}if(e.lastIndex=w,q=e.exec(_)){switch(w=e.lastIndex,T=q[0],q[0]){case"for":case"if":case"while":case"with":C!=="."&&C!=="?."&&(T="?NonExpressionParenKeyword")}C=T,I=!i.test(q[0]),yield{type:q[1]==="#"?"PrivateIdentifier":"IdentifierName",value:q[0]};continue}if(h.lastIndex=w,q=h.exec(_)){w=h.lastIndex,C=q[0],I=!0,yield{type:"StringLiteral",value:q[0],closed:q[2]!==void 0};continue}if(c.lastIndex=w,q=c.exec(_)){w=c.lastIndex,C=q[0],I=!0,yield{type:"NumericLiteral",value:q[0]};continue}if(m.lastIndex=w,q=m.exec(_)){w=m.lastIndex,C=q[0],q[1]==="${"?(C="?InterpolationInTemplate",G.push({tag:"InterpolationInTemplate",nesting:S.length}),I=!1,yield{type:"TemplateHead",value:q[0]}):(I=!0,yield{type:"NoSubstitutionTemplate",value:q[0],closed:q[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=w,q=r.exec(_)){switch(w=r.lastIndex,T=q[0],q[0]){case"<":G.push({tag:"JSXTag"});break;case">":G.pop(),C==="/"||z.tag==="JSXTagEnd"?(T="?JSX",I=!0):G.push({tag:"JSXChildren"});break;case"{":G.push({tag:"InterpolationInJSX",nesting:S.length}),T="?InterpolationInJSX",I=!1;break;case"/":C==="<"&&(G.pop(),G[G.length-1].tag==="JSXChildren"&&G.pop(),G.push({tag:"JSXTagEnd"}))}C=T,yield{type:"JSXPunctuator",value:q[0]};continue}if(t.lastIndex=w,q=t.exec(_)){w=t.lastIndex,C=q[0],yield{type:"JSXIdentifier",value:q[0]};continue}if(n.lastIndex=w,q=n.exec(_)){w=n.lastIndex,C=q[0],yield{type:"JSXString",value:q[0],closed:q[2]!==void 0};continue}break;case"JSXChildren":if(o.lastIndex=w,q=o.exec(_)){w=o.lastIndex,C=q[0],yield{type:"JSXText",value:q[0]};continue}switch(_[w]){case"<":G.push({tag:"JSXTag"}),w++,C="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":G.push({tag:"InterpolationInJSX",nesting:S.length}),w++,C="?InterpolationInJSX",I=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(E.lastIndex=w,q=E.exec(_)){w=E.lastIndex,yield{type:"WhiteSpace",value:q[0]};continue}if(s.lastIndex=w,q=s.exec(_)){w=s.lastIndex,I=!1,a.test(C)&&(C="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:q[0]};continue}if(u.lastIndex=w,q=u.exec(_)){w=u.lastIndex,l.test(q[0])&&(I=!1,a.test(C)&&(C="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:q[0],closed:q[1]!==void 0};continue}if(p.lastIndex=w,q=p.exec(_)){w=p.lastIndex,I=!1,yield{type:"SingleLineComment",value:q[0]};continue}y=String.fromCodePoint(_.codePointAt(w)),w+=y.length,C=y,I=!1,yield{type:z.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:y}}},Xm}var Vie=Uie();$O(Vie);var uq={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(uq.keyword);new Set(uq.strict);var Wie={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},cq=Object.entries(Wie);function bh(e){return String(e)}bh.open="";bh.close="";cq.reduce((e,[t])=>(e[t]=bh,e),{isColorSupported:!1});function Gie(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function Kie(e=!1){let t=Gie(e),r=(a,s,u,l)=>{let c="",d=0;do c+=a.substring(d,l)+u,d=l+s.length,l=a.indexOf(s,d);while(~l);return c+a.substring(d)},n=(a,s,u=a)=>{let l=c=>{let d=String(c),f=d.indexOf(s,a.length);return~f?a+r(d,s,u,f)+s:a+d+s};return l.open=a,l.close=s,l},o={isColorSupported:t},i=a=>`\x1B[${a}m`;for(let[a,s]of cq)o[a]=t?n(i(s[0]),i(s[1]),s[2]):bh;return o}var Bt=Kie();function Qm(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var cc=Symbol.for("matchers-object"),dc=Symbol.for("$$jest-matchers-object-storybook"),p1=Symbol.for("expect-global"),gv=Symbol.for("asymmetric-matchers-object"),Yie={toSatisfy(e,t,r){let{printReceived:n,printExpected:o,matcherHint:i}=this.utils,a=t(e);return{pass:a,message:()=>a?`${i(".not.toSatisfy","received","")}
807
-
808
- Expected value to not satisfy:
809
- ${r||o(t)}
810
- Received:
811
- ${n(e)}`:`${i(".toSatisfy","received","")}
812
-
813
- Expected value to satisfy:
814
- ${r||o(t)}
815
-
816
- Received:
817
- ${n(e)}`}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:o,printExpected:i,matcherHint:a}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${a(".toBeOneOf")}, not '${typeof t}'.`);let s=t.length===0||t.some(u=>r(u,e,n));return{pass:s,message:()=>s?`${a(".not.toBeOneOf","received","")}
818
-
819
- Expected value to not be one of:
820
- ${i(t)}
821
- Received:
822
- ${o(e)}`:`${a(".toBeOneOf","received","")}
823
-
824
- Expected value to be one of:
825
- ${i(t)}
826
-
827
- Received:
828
- ${o(e)}`}}},np=Bt.green,h1=Bt.red,Zie=Bt.inverse,Jie=Bt.bold,Sn=Bt.dim;function Xie(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:a=!1,promise:s="",secondArgument:u="",expectedColor:l=np,receivedColor:c=h1,secondArgumentColor:d=np}=n,f="",p="expect";return!i&&t!==""&&(f+=Sn(`${p}(`)+c(t),p=")"),s!==""&&(f+=Sn(`${p}.`)+s,p=""),a&&(f+=`${Sn(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(f+=Sn(`${p}.`)+e,p=""),r===""?p+="()":(f+=Sn(`${p}(`)+l(r),u&&(f+=Sn(", ")+d(u)),p=")"),o!==""&&(p+=` // ${o}`),p!==""&&(f+=Sn(p)),f}var Qie="·";function dq(e){return e.replace(/\s+$/gm,t=>Qie.repeat(t.length))}function eae(e){return h1(dq(Ht(e)))}function tae(e){return np(dq(Ht(e)))}function fq(){return{EXPECTED_COLOR:np,RECEIVED_COLOR:h1,INVERTED_COLOR:Zie,BOLD_WEIGHT:Jie,DIM_COLOR:Sn,diff:Ji,matcherHint:Xie,printReceived:eae,printExpected:tae,printDiffOrStringify:WO,printWithType:rae}}function rae(e,t,r){let n=Vf(t),o=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
829
- `:"",i=`${e} has value: ${r(t)}`;return o+i}function m1(){return globalThis[dc].customEqualityTesters}function Ae(e,t,r,n){return r=r||[],Iu(e,t,[],[],r,n?pq:iae)}function ZR(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&ur("Function",e.asymmetricMatch)}function nae(e,t){let r=ZR(e),n=ZR(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Iu(e,t,r,n,o,i){let a=!0,s=nae(e,t);if(s!==void 0)return s;let u={equals:Ae};for(let h=0;h<o.length;h++){let m=o[h].call(u,e,t,o);if(m!==void 0)return m}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let l=Object.prototype.toString.call(e);if(l!==Object.prototype.toString.call(t))return!1;switch(l){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let h=+e,m=+t;return h===m||Number.isNaN(h)&&Number.isNaN(m)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(XR(e)&&XR(t))return e.isEqualNode(t);let c=r.length;for(;c--;){if(r[c]===e)return n[c]===t;if(n[c]===t)return!1}if(r.push(e),n.push(t),l==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return oae(e,t,r,n,o,i)}finally{r.pop(),n.pop()}let d=JR(e,i),f,p=d.length;if(JR(t,i).length!==p)return!1;for(;p--;)if(f=d[p],a=i(t,f)&&Iu(e[f],t[f],r,n,o,i),!a)return!1;return r.pop(),n.pop(),a}function oae(e,t,r,n,o,i){let a=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&a&&(a=Iu(e.cause,t.cause,r,n,o,i)),e instanceof AggregateError&&t instanceof AggregateError&&a&&(a=Iu(e.errors,t.errors,r,n,o,i)),a&&(a=Iu({...e},{...t},r,n,o,i)),a}function JR(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function iae(e,t){return pq(e,t)&&e[t]!==void 0}function pq(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ur(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function XR(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var hq="@@__IMMUTABLE_KEYED__@@",mq="@@__IMMUTABLE_SET__@@",aae="@@__IMMUTABLE_LIST__@@",vh="@@__IMMUTABLE_ORDERED__@@",sae="@@__IMMUTABLE_RECORD__@@";function lae(e){return!!(e&&e[hq]&&!e[vh])}function uae(e){return!!(e&&e[mq]&&!e[vh])}function yh(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function cae(e){return!!(e&&yh(e)&&e[aae])}function dae(e){return!!(e&&yh(e)&&e[hq]&&e[vh])}function fae(e){return!!(e&&yh(e)&&e[mq]&&e[vh])}function pae(e){return!!(e&&yh(e)&&e[sae])}var gq=Symbol.iterator;function QR(e){return!!(e!=null&&e[gq])}function Yt(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!QR(e)||!QR(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return o[i]===t;n.push(e),o.push(t);let a=[...r.filter(l=>l!==Yt),s];function s(l,c){return Yt(l,c,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(ur("Set",e)||uae(e)){let l=!0;for(let c of e)if(!t.has(c)){let d=!1;for(let f of t)Ae(c,f,a)===!0&&(d=!0);if(d===!1){l=!1;break}}return n.pop(),o.pop(),l}else if(ur("Map",e)||lae(e)){let l=!0;for(let c of e)if(!t.has(c[0])||!Ae(c[1],t.get(c[0]),a)){let d=!1;for(let f of t){let p=Ae(c[0],f[0],a),h=!1;p===!0&&(h=Ae(c[1],f[1],a)),h===!0&&(d=!0)}if(d===!1){l=!1;break}}return n.pop(),o.pop(),l}}let u=t[gq]();for(let l of e){let c=u.next();if(c.done||!Ae(l,c.value,a))return!1}if(!u.next().done)return!1;if(!cae(e)&&!dae(e)&&!fae(e)&&!pae(e)){let l=Object.entries(e),c=Object.entries(t);if(!Ae(l,c,a))return!1}return n.pop(),o.pop(),!0}function g1(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||g1(Object.getPrototypeOf(e),t)}function hae(e){return Jd(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Gc(e,t,r=[]){let n=r.filter(i=>i!==Gc),o=(i=new WeakMap)=>(a,s)=>{if(hae(s))return Object.keys(s).every(u=>{if(s[u]!=null&&typeof s[u]=="object"){if(i.has(s[u]))return Ae(a[u],s[u],n);i.set(s[u],!0)}let l=a!=null&&g1(a,u)&&Ae(a[u],s[u],[...n,o(i)]);return i.delete(s[u]),l})};return o()(e,t)}function ex(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function tx(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function bv(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),i=r.filter(a=>a!==bv);return Ae(e,t,i,!0)&&Ae(n,o)}function mae(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
830
-
831
- If it should pass with deep equality, replace "toBe" with "${e}"
832
-
833
- Expected: ${t}
834
- Received: serializes to the same string
835
- `:n}function gae(e,t){return`${t} ${e}${t===1?"":"s"}`}function eg(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}function bae(e,t,r){let n=0,o=(i=new WeakMap)=>(a,s)=>{if(Array.isArray(a)){if(Array.isArray(s)&&s.length===a.length)return s.map((u,l)=>o(i)(a[l],u))}else{if(a instanceof Date)return a;if(Jd(a)&&Jd(s)){if(Ae(a,s,[...r,Yt,Gc]))return s;let u={};i.set(a,u),typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:a.constructor});for(let l of eg(a))g1(s,l)?u[l]=i.has(a[l])?i.get(a[l]):o(i)(a[l],s[l]):i.has(a[l])||(n+=1,Jd(a[l])&&(n+=eg(a[l]).length),o(i)(a[l],s[l]));if(eg(u).length>0)return u}}return a};return{subset:o()(e,t),stripped:n}}if(!Object.prototype.hasOwnProperty.call(globalThis,cc)){let e=new WeakMap;Object.defineProperty(globalThis,cc,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,dc)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,dc,{configurable:!0,get:()=>({state:globalThis[cc].get(globalThis[p1]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,gv)){let e=Object.create(null);Object.defineProperty(globalThis,gv,{get:()=>e})}function op(e){return globalThis[cc].get(e)}function tg(e,t){let r=globalThis[cc],n=r.get(t)||{},o=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,o)}var bn=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(e,t=!1){this.sample=e,this.inverse=t}getMatcherContext(e){return{...op(e||globalThis[p1]),equals:Ae,isNot:this.inverse,customTesters:m1(),utils:{...fq(),diff:Ji,stringify:Ht,iterableEquality:Yt,subsetEquality:Gc}}}};bn.prototype[Symbol.for("chai/inspect")]=function(e){let t=Ht(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var rx=class extends bn{constructor(e,t=!1){if(!ur("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=ur("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},vae=class extends bn{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},nx=class extends bn{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!Ae(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},ox=class extends bn{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>Ae(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},yae=class extends bn{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||typeof e=="function":this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},ix=class extends bn{constructor(e,t=!1){if(!ur("String",e)&&!ur("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=ur("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},ax=class extends bn{precision;constructor(e,t=2,r=!1){if(!ur("Number",e))throw new Error("Expected is not a Number");if(!ur("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t}asymmetricMatch(e){if(!ur("Number",e))return!1;let t=!1;return e===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?t=!0:t=Math.abs(this.sample-e)<10**-this.precision/2,this.inverse?!t:t}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${gae("digit",this.precision)})`].join(" ")}},wae=(e,t)=>{t.addMethod(e.expect,"anything",()=>new vae),t.addMethod(e.expect,"any",r=>new yae(r)),t.addMethod(e.expect,"stringContaining",r=>new rx(r)),t.addMethod(e.expect,"objectContaining",r=>new nx(r)),t.addMethod(e.expect,"arrayContaining",r=>new ox(r)),t.addMethod(e.expect,"stringMatching",r=>new ix(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new ax(r,n)),e.expect.not={stringContaining:r=>new rx(r,!0),objectContaining:r=>new nx(r,!0),arrayContaining:r=>new ox(r,!0),stringMatching:r=>new ix(r,!0),closeTo:(r,n)=>new ax(r,n,!0)}};function sx(e,t,r){let n=e.flag(t,"negate")?"not.":"",o=`${e.flag(t,"_name")}(${r?"expected":""})`,i=e.flag(t,"promise");return`expect(actual)${i?`.${i}`:""}.${n}${o}`}function lx(e,t,r,n){let o=e;if(o&&t instanceof Promise){t=t.finally(()=>{if(!o.promises)return;let a=o.promises.indexOf(t);a!==-1&&o.promises.splice(a,1)}),o.promises||(o.promises=[]),o.promises.push(t);let i=!1;return o.onFinished??(o.onFinished=[]),o.onFinished.push(()=>{if(!i){var a;let s=(((a=globalThis.__vitest_worker__)===null||a===void 0?void 0:a.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
836
- `,s].join(""))}}),{then(a,s){return i=!0,t.then(a,s)},catch(a){return t.catch(a)},finally(a){return t.finally(a)},[Symbol.toStringTag]:"Promise"}}return t}function ux(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(m0(t))}function bq(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{let i=r.apply(this,n);return i&&typeof i=="object"&&typeof i.then=="function"?i.then(qK,a=>{ux(o,a)}):i}catch(i){ux(o,i)}}}var Eae=(e,t)=>{let{AssertionError:r}=e,n=m1();function o(l,c){let d=f=>{let p=bq(t,f,c);t.addMethod(e.Assertion.prototype,f,p),t.addMethod(globalThis[dc].matchers,f,p)};Array.isArray(l)?l.forEach(f=>d(f)):d(l)}["throw","throws","Throw"].forEach(l=>{t.overwriteMethod(e.Assertion.prototype,l,c=>function(...d){let f=t.flag(this,"promise"),p=t.flag(this,"object"),h=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw p});else if(f==="resolves"&&typeof p!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",v={showDiff:!1};throw new r(m,v,t.flag(this,"ssfi"))}}c.apply(this,d)})}),o("withTest",function(l){return t.flag(this,"vitest-test",l),this}),o("toEqual",function(l){let c=t.flag(this,"object"),d=Ae(c,l,[...n,Yt]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",l,c)}),o("toStrictEqual",function(l){let c=t.flag(this,"object"),d=Ae(c,l,[...n,Yt,ex,bv,tx],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",l,c)}),o("toBe",function(l){let c=this._obj,d=Object.is(c,l),f="";return d||(Ae(c,l,[...n,Yt,ex,bv,tx],!0)?f="toStrictEqual":Ae(c,l,[...n,Yt])&&(f="toEqual")),this.assert(d,mae(f),"expected #{this} not to be #{exp} // Object.is equality",l,c)}),o("toMatchObject",function(l){let c=this._obj,d=Ae(c,l,[...n,Yt,Gc]),f=t.flag(this,"negate"),{subset:p,stripped:h}=bae(c,l,n);if(d&&f||!d&&!f){let m=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",l,p,!1]),v=h===0?m:`${m}
837
- (${h} matching ${h===1?"property":"properties"} omitted from actual)`;throw new r(v,{showDiff:!0,expected:l,actual:p})}}),o("toMatch",function(l){let c=this._obj;if(typeof c!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof c}`);return this.assert(typeof l=="string"?c.includes(l):c.match(l),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",l,c)}),o("toContain",function(l){let c=this._obj;if(typeof Node<"u"&&c instanceof Node){if(!(l instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof l}`);return this.assert(c.contains(l),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",l,c)}if(typeof DOMTokenList<"u"&&c instanceof DOMTokenList){Lr(l,"class name",["string"]);let d=t.flag(this,"negate")?c.value.replace(l,"").trim():`${c.value} ${l}`;return this.assert(c.contains(l),`expected "${c.value}" to contain "${l}"`,`expected "${c.value}" not to contain "${l}"`,d,c.value)}return typeof c=="string"&&typeof l=="string"?this.assert(c.includes(l),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",l,c):(c!=null&&typeof c!="string"&&t.flag(this,"object",Array.from(c)),this.contain(l))}),o("toContainEqual",function(l){let c=t.flag(this,"object"),d=Array.from(c).findIndex(f=>Ae(f,l,n));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",l)}),o("toBeTruthy",function(){let l=t.flag(this,"object");this.assert(!!l,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,l)}),o("toBeFalsy",function(){let l=t.flag(this,"object");this.assert(!l,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,l)}),o("toBeGreaterThan",function(l){let c=this._obj;return Lr(c,"actual",["number","bigint"]),Lr(l,"expected",["number","bigint"]),this.assert(c>l,`expected ${c} to be greater than ${l}`,`expected ${c} to be not greater than ${l}`,l,c,!1)}),o("toBeGreaterThanOrEqual",function(l){let c=this._obj;return Lr(c,"actual",["number","bigint"]),Lr(l,"expected",["number","bigint"]),this.assert(c>=l,`expected ${c} to be greater than or equal to ${l}`,`expected ${c} to be not greater than or equal to ${l}`,l,c,!1)}),o("toBeLessThan",function(l){let c=this._obj;return Lr(c,"actual",["number","bigint"]),Lr(l,"expected",["number","bigint"]),this.assert(c<l,`expected ${c} to be less than ${l}`,`expected ${c} to be not less than ${l}`,l,c,!1)}),o("toBeLessThanOrEqual",function(l){let c=this._obj;return Lr(c,"actual",["number","bigint"]),Lr(l,"expected",["number","bigint"]),this.assert(c<=l,`expected ${c} to be less than or equal to ${l}`,`expected ${c} to be not less than or equal to ${l}`,l,c,!1)}),o("toBeNaN",function(){let l=t.flag(this,"object");this.assert(Number.isNaN(l),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,l)}),o("toBeUndefined",function(){let l=t.flag(this,"object");this.assert(l===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,l)}),o("toBeNull",function(){let l=t.flag(this,"object");this.assert(l===null,"expected #{this} to be null","expected #{this} not to be null",null,l)}),o("toBeDefined",function(){let l=t.flag(this,"object");this.assert(typeof l<"u","expected #{this} to be defined","expected #{this} to be undefined",l)}),o("toBeTypeOf",function(l){let c=typeof this._obj,d=l===c;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",l,c)}),o("toBeInstanceOf",function(l){return this.instanceOf(l)}),o("toHaveLength",function(l){return this.have.length(l)}),o("toHaveProperty",function(...l){Array.isArray(l[0])&&(l[0]=l[0].map(E=>String(E).replace(/([.[\]])/g,"\\$1")).join("."));let c=this._obj,[d,f]=l,p=()=>Object.prototype.hasOwnProperty.call(c,d)?{value:c[d],exists:!0}:t.getPathInfo(c,d),{value:h,exists:m}=p(),v=m&&(l.length===1||Ae(f,h,n)),g=l.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(v,`expected #{this} to have property "${d}"${g}`,`expected #{this} to not have property "${d}"${g}`,f,m?h:void 0)}),o("toBeCloseTo",function(l,c=2){let d=this._obj,f=!1,p=0,h=0;return l===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||l===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?f=!0:(p=10**-c/2,h=Math.abs(d-l),f=h<p),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${h}, but expected ${p}`,`expected #{this} to not be close to #{exp}, received difference is ${h}, but expected ${p}`,l,d,!1)});function i(l){if(!Qm(l._obj))throw new TypeError(`${t.inspect(l._obj)} is not a spy or a call to a spy!`)}function a(l){return i(l),l._obj}o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(l){let c=a(this),d=c.getMockName(),f=c.mock.calls.length;return this.assert(f===l,`expected "${d}" to be called #{exp} times, but got ${f} times`,`expected "${d}" to not be called #{exp} times`,l,f,!1)}),o("toHaveBeenCalledOnce",function(){let l=a(this),c=l.getMockName(),d=l.mock.calls.length;return this.assert(d===1,`expected "${c}" to be called once, but got ${d} times`,`expected "${c}" to not be called once`,1,d,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let l=a(this),c=l.getMockName(),d=l.mock.calls.length,f=d>0,p=t.flag(this,"negate"),h=t.getMessage(this,[f,`expected "${c}" to be called at least once`,`expected "${c}" to not be called at all, but actually been called ${d} times`,!0,f]);if(f&&p&&(h=rg(l,h)),f&&p||!f&&!p)throw new r(h)});function s(l,c){return l.length===c.length&&l.every((d,f)=>Ae(d,c[f],[...n,Yt]))}o(["toHaveBeenCalledWith","toBeCalledWith"],function(...l){let c=a(this),d=c.getMockName(),f=c.mock.calls.some(m=>s(m,l)),p=t.flag(this,"negate"),h=t.getMessage(this,[f,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,l]);if(f&&p||!f&&!p)throw new r(rg(c,h,l))}),o("toHaveBeenCalledExactlyOnceWith",function(...l){let c=a(this),d=c.getMockName(),f=c.mock.calls.length,p=c.mock.calls.some(v=>s(v,l))&&f===1,h=t.flag(this,"negate"),m=t.getMessage(this,[p,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,l]);if(p&&h||!p&&!h)throw new r(rg(c,m,l))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(l,...c){let d=a(this),f=d.getMockName(),p=d.mock.calls[l-1],h=d.mock.calls.length,m=l<=h;this.assert(p&&s(p,c),`expected ${ju(l)} "${f}" call to have been called with #{exp}${m?"":`, but called only ${h} times`}`,`expected ${ju(l)} "${f}" call to not have been called with #{exp}`,c,p,m)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...l){let c=a(this),d=c.getMockName(),f=c.mock.calls[c.mock.calls.length-1];this.assert(f&&s(f,l),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,l,f)});function u(l,c,d){let f=l.mock.invocationCallOrder,p=c.mock.invocationCallOrder;return f.length===0?!d:p.length===0?!1:f[0]<p[0]}o(["toHaveBeenCalledBefore"],function(l,c=!0){let d=a(this);if(!Qm(l))throw new TypeError(`${t.inspect(l)} is not a spy or a call to a spy`);this.assert(u(d,l,c),`expected "${d.getMockName()}" to have been called before "${l.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${l.getMockName()}"`,l,d)}),o(["toHaveBeenCalledAfter"],function(l,c=!0){let d=a(this);if(!Qm(l))throw new TypeError(`${t.inspect(l)} is not a spy or a call to a spy`);this.assert(u(l,d,c),`expected "${d.getMockName()}" to have been called after "${l.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${l.getMockName()}"`,l,d)}),o(["toThrow","toThrowError"],function(l){if(typeof l=="string"||typeof l>"u"||l instanceof RegExp)return this.throws(l===""?/^$/:l);let c=this._obj,d=t.flag(this,"promise"),f=t.flag(this,"negate"),p=null;if(d==="rejects")p=c;else if(d==="resolves"&&typeof c!="function"){if(f)return;{let h=t.flag(this,"message")||"expected promise to throw an error, but it didn't",m={showDiff:!1};throw new r(h,m,t.flag(this,"ssfi"))}}else{let h=!1;try{c()}catch(m){h=!0,p=m}if(!h&&!f){let m=t.flag(this,"message")||"expected function to throw an error, but it didn't",v={showDiff:!1};throw new r(m,v,t.flag(this,"ssfi"))}}if(typeof l=="function"){let h=l.name||l.prototype.constructor.name;return this.assert(p&&p instanceof l,`expected error to be instance of ${h}`,`expected error not to be instance of ${h}`,l,p)}if(l instanceof Error){let h=Ae(p,l,[...n,Yt]);return this.assert(h,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",l,p)}if(typeof l=="object"&&"asymmetricMatch"in l&&typeof l.asymmetricMatch=="function"){let h=l;return this.assert(p&&h.asymmetricMatch(p),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",h,p)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof l}"`)}),[{name:"toHaveResolved",condition:l=>l.mock.settledResults.length>0&&l.mock.settledResults.some(({type:c})=>c==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:l=>l.mock.calls.length>0&&l.mock.results.some(({type:c})=>c!=="throw"),action:"called"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(){let f=a(this),p=f.getMockName(),h=c(f);this.assert(h,`expected "${p}" to be successfully ${d} at least once`,`expected "${p}" to not be successfully ${d}`,h,!h,!1)})}),[{name:"toHaveResolvedTimes",condition:(l,c)=>l.mock.settledResults.reduce((d,{type:f})=>f==="fulfilled"?++d:d,0)===c,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(l,c)=>l.mock.results.reduce((d,{type:f})=>f==="throw"?d:++d,0)===c,action:"called"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(f){let p=a(this),h=p.getMockName(),m=c(p,f);this.assert(m,`expected "${h}" to be successfully ${d} ${f} times`,`expected "${h}" to not be successfully ${d} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${m}`,!1)})}),[{name:"toHaveResolvedWith",condition:(l,c)=>l.mock.settledResults.some(({type:d,value:f})=>d==="fulfilled"&&Ae(c,f)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(l,c)=>l.mock.results.some(({type:d,value:f})=>d==="return"&&Ae(c,f)),action:"return"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(f){let p=a(this),h=c(p,f),m=t.flag(this,"negate");if(h&&m||!h&&!m){let v=p.getMockName(),g=t.getMessage(this,[h,`expected "${v}" to ${d} with: #{exp} at least once`,`expected "${v}" to not ${d} with: #{exp}`,f]),E=d==="return"?p.mock.results:p.mock.settledResults;throw new r(_ae(p,E,g,f))}})}),[{name:"toHaveLastResolvedWith",condition:(l,c)=>{let d=l.mock.settledResults[l.mock.settledResults.length-1];return d&&d.type==="fulfilled"&&Ae(d.value,c)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(l,c)=>{let d=l.mock.results[l.mock.results.length-1];return d&&d.type==="return"&&Ae(d.value,c)},action:"return"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(f){let p=a(this),h=d==="return"?p.mock.results:p.mock.settledResults,m=h[h.length-1],v=p.getMockName();this.assert(c(p,f),`expected last "${v}" call to ${d} #{exp}`,`expected last "${v}" call to not ${d} #{exp}`,f,m?.value)})}),[{name:"toHaveNthResolvedWith",condition:(l,c,d)=>{let f=l.mock.settledResults[c-1];return f&&f.type==="fulfilled"&&Ae(f.value,d)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(l,c,d)=>{let f=l.mock.results[c-1];return f&&f.type==="return"&&Ae(f.value,d)},action:"return"}].forEach(({name:l,condition:c,action:d})=>{o(l,function(f,p){let h=a(this),m=h.getMockName(),v=(d==="return"?h.mock.results:h.mock.settledResults)[f-1],g=`${ju(f)} call`;this.assert(c(h,f,p),`expected ${g} "${m}" call to ${d} #{exp}`,`expected ${g} "${m}" call to not ${d} #{exp}`,p,v?.value)})}),o("withContext",function(l){for(let c in l)t.flag(this,c,l[c]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let l=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",l);let c=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof d?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let f=new Proxy(this,{get:(p,h,m)=>{let v=Reflect.get(p,h,m);return typeof v!="function"?v instanceof e.Assertion?f:v:(...g)=>{t.flag(this,"_name",h);let E=d.then(_=>(t.flag(this,"object",_),v.call(this,...g)),_=>{let x=new r(`promise rejected "${t.inspect(_)}" instead of resolving`,{showDiff:!1});throw x.cause=_,x.stack=l.stack.replace(l.message,x.message),x});return lx(c,E,sx(t,this,!!g.length),l)}}});return f}),t.addProperty(e.Assertion.prototype,"rejects",function(){let l=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",l);let c=t.flag(this,"vitest-test"),d=t.flag(this,"object"),f=typeof d=="function"?d():d;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof f?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof f}'.`);let p=new Proxy(this,{get:(h,m,v)=>{let g=Reflect.get(h,m,v);return typeof g!="function"?g instanceof e.Assertion?p:g:(...E)=>{t.flag(this,"_name",m);let _=f.then(x=>{let S=new r(`promise resolved "${t.inspect(x)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:x});throw S.stack=l.stack.replace(l.message,S.message),S},x=>(t.flag(this,"object",x),g.call(this,...E)));return lx(c,_,sx(t,this,!!E.length),l)}}});return p})};function ju(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}function rg(e,t,r){return e.mock.calls.length&&(t+=Bt.gray(`
838
-
839
- Received:
840
-
841
- ${e.mock.calls.map((n,o)=>{let i=Bt.bold(` ${ju(o+1)} ${e.getMockName()} call:
842
-
843
- `);return r?i+=Ji(r,n,{omitAnnotationLines:!0}):i+=Ht(n).split(`
844
- `).map(a=>` ${a}`).join(`
845
- `),i+=`
846
- `,i}).join(`
847
- `)}`)),t+=Bt.gray(`
848
-
849
- Number of calls: ${Bt.bold(e.mock.calls.length)}
850
- `),t}function _ae(e,t,r,n){return t.length&&(r+=Bt.gray(`
851
-
852
- Received:
853
-
854
- ${t.map((o,i)=>{let a=Bt.bold(` ${ju(i+1)} ${e.getMockName()} call return:
855
-
856
- `);return n?a+=Ji(n,o.value,{omitAnnotationLines:!0}):a+=Ht(o).split(`
857
- `).map(s=>` ${s}`).join(`
858
- `),a+=`
859
- `,a}).join(`
860
- `)}`)),r+=Bt.gray(`
861
-
862
- Number of calls: ${Bt.bold(e.mock.calls.length)}
863
- `),r}function Sae(e,t){let r=e._obj,n=Cr.flag(e,"negate"),o=Cr.flag(e,"promise")||"",i={...fq(),diff:Ji,stringify:Ht,iterableEquality:Yt,subsetEquality:Gc};return{state:{...op(t),customTesters:m1(),isNot:n,utils:i,promise:o,equals:Ae,suppressedErrors:[],soft:Cr.flag(e,"soft"),poll:Cr.flag(e,"poll")},isNot:n,obj:r}}var cx=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function Rae(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,a])=>{function s(...d){let{state:f,isNot:p,obj:h}=Sae(this,t),m=a.call(f,h,...d);if(m&&typeof m=="object"&&typeof m.then=="function")return m.then(({pass:x,message:S,actual:y,expected:b})=>{if(x&&p||!x&&!p)throw new cx(S(),y,b)});let{pass:v,message:g,actual:E,expected:_}=m;if(v&&p||!v&&!p)throw new cx(g(),E,_)}let u=bq(o,i,s);o.addMethod(globalThis[dc].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);class l extends bn{constructor(f=!1,...p){super(p,f)}asymmetricMatch(f){let{pass:p}=a.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(f=>Ht(f)).join(", ")}>`}}let c=(...d)=>new l(!1,...d);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...d)=>new l(!0,...d),writable:!0}),Object.defineProperty(globalThis[gv],i,{configurable:!0,enumerable:!0,value:c,writable:!0})})}}var xae=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{gi(Rae(e,r,n))})};function Cae(){gi(xae),gi(Eae),gi(wae);let e=((n,o)=>{let{assertionCalls:i}=op(e);return tg({assertionCalls:i+1,soft:!1},e),_o(n,o)});Object.assign(e,_o),e.getState=()=>op(e),e.setState=n=>tg(n,e),e.extend=n=>_o.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.extend(Yie),e.unreachable=n=>{P.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return tg({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),Cr.addMethod(e,"assertions",t),Cr.addMethod(e,"hasAssertions",r),e.extend(f$),e}var vq=Cae();Object.defineProperty(globalThis,p1,{value:vq,writable:!0,configurable:!0});globalThis.__STORYBOOK_MODULE_MOCK_SPIES__??=new Set;var dx=new Set;function Aae(e){return dx.add(e),()=>{dx.delete(e)}}function ge(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}function nr(e){var t;if(Pae(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${Tae(e)}`)}function Pae(e){return e.nodeType===9}function Tae(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function yq(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function b1(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wq=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Nn(this,"kind",void 0),Nn(this,"type",void 0),Nn(this,"file",null),Nn(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},Oae=class extends Array{add(...e){let t=new wq(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Rd(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function $ae(e){return new class{getData(t){var r;let n=(r=this.items.find(Rd(t,!0)))!==null&&r!==void 0?r:this.items.find(Rd(t,!1)),o="";return n?.getAsString(i=>{o=i}),o}setData(t,r){let n=this.items.findIndex(Rd(t,!0)),o=new wq(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(Rd(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Nn(this,"dropEffect","none"),Nn(this,"effectAllowed","uninitialized"),Nn(this,"items",new Oae),Nn(this,"files",b1(e,[]))}}}function v1(e,t=[]){let r=typeof e.DataTransfer>"u"?$ae(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>b1(e,t)}),r}async function qae(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Eq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _q(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){Eq(this,"data",void 0),this.data=n}}(r)}var Mi=Symbol("Manage ClipboardSub");function fx(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));o&&(r+=await n.getType(o).then(i=>yq(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[_q(e,r)]}constructor(...r){super(...r),Eq(this,"items",[])}},{[Mi]:t})}function y1(e){return!!e?.[Mi]}function kae(e){if(y1(e.navigator.clipboard))return e.navigator.clipboard[Mi];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=fx(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=fx(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Mi]}function Mae(e){y1(e.navigator.clipboard)&&e.navigator.clipboard[Mi].resetClipboardStub()}function Nae(e){y1(e.navigator.clipboard)&&e.navigator.clipboard[Mi].detachClipboardStub()}async function Iae(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=v1(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>yq(s,t.FileReader)));return o}async function Sq(e,t){let r=nr(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let a=t.items[i],s=await qae(r,a);o.push(_q(r,s))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ip=globalThis;typeof ip.afterEach=="function"&&ip.afterEach(()=>{typeof globalThis.window<"u"&&Mae(globalThis.window)});typeof ip.afterAll=="function"&&ip.afterAll(()=>{typeof globalThis.window<"u"&&Nae(globalThis.window)});var Rq=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])","details > summary"].join(", ");function w1(e){return e.matches(Rq)}function jae(e){return new e.constructor(e.type,e)}function fn(e){for(let r=e;r;r=r.parentElement)if(ge(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(ge(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Kc(e){let t=e.activeElement;if(t?.shadowRoot){let r=Kc(t.shadowRoot);if(r)return r}return fn(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function ng(e){var t;return(t=Kc(e))!==null&&t!==void 0?t:e.body}function Dae(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Oo(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function fc(e){let t=Lae(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Lae(e){return e.nodeType===1?e:e.parentElement}var xq=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(xq||{});function Cq(e){return ge(e,"button")||ge(e,"input")&&e.type in xq}function Ni(e){return Pq(e)&&!e.readOnly||Oo(e)}var Aq=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(Aq||{});function Pq(e){return ge(e,"textarea")||ge(e,"input")&&e.type in Aq}function Mr(e){return Tq(e)&&Pq(e)}function Fae(e){return Tq(e)&&Cq(e)}function Tq(e){return e.nodeType===1}function Bae(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&Mr(e)){let n=fc(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Ii(e,t){return Ee().eventWrapper(e)}function Gn(e){let t=Dae(e,w1),r=Kc(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Ii(t?()=>t.focus():()=>r?.blur()),Bae(t??e.ownerDocument.body))}function zae(e){!w1(e)||Kc(e.ownerDocument)!==e||Ii(()=>e.blur())}var Kn={};Kn.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&ge(n,"label")&&n.control;if(o&&o!==t)return()=>{w1(o)&&(Gn(o),r.dispatchEvent(o,jae(e)))};if(ge(t,"input",{type:"file"}))return()=>{zae(t),t.dispatchEvent(new(nr(t)).Event("fileDialog")),Gn(t)}};var ji=Symbol("Displayed value in UI"),nn=Symbol("Displayed selection in UI"),ap=Symbol("Initial value to compare on blur");function Hae(e){return typeof e=="object"&&ji in e}function Uae(e){return!!e&&typeof e=="object"&&nn in e}function Vae(e,t){e[ap]===void 0&&(e[ap]=e.value),e[ji]=t,e.value=Object.assign(new String(t),{[ji]:!0})}function Nr(e){return e[ji]===void 0?e.value:String(e[ji])}function E1(e){e[ji]=void 0}function Oq(e){e[ap]=void 0}function Wae(e){return e[ap]}function Gae(e,t){e[nn]=t}function ea(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Nr(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[nn]===void 0?i(r):e[nn].anchorOffset,s=i(t),u=Math.min(a,s),l=Math.max(a,s);if(e[nn]={anchorOffset:a,focusOffset:s},e.selectionStart===u&&e.selectionEnd===l)return;let c=Object.assign(new Number(u),{[nn]:!0});try{e.setSelectionRange(c,l)}catch{}}function pc(e){var t,r,n;let o=(t=e[nn])!==null&&t!==void 0?t:{anchorOffset:(r=e.selectionStart)!==null&&r!==void 0?r:0,focusOffset:(n=e.selectionEnd)!==null&&n!==void 0?n:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function Kae(e){return!!e[nn]}function rf(e){e[nn]=void 0}var sp=globalThis.parseInt;function Yae(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=sp(t[0],10),n=sp(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,px(t,o)}return e.length===2?e:px(t,2)}function px(e,t){let r=e.slice(0,t),n=Math.min(sp(r,10),23),o=e.slice(t),i=sp(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function $q(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var qq=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(qq||{});function Zae(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function Jae(e){return ge(e,"textarea")||ge(e,"input")&&e.type in qq}function kq(e,t,r,n){if(nf(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=hx(e,t,r);if(o){if(nf(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(ge(o,"br")){let i=hx(o,void 0,r);return i?nf(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&ge(i,"br")?{node:o.parentNode,offset:xd(o)}:{node:i.parentNode,offset:xd(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:xd(o)}:void 0}else return{node:o.parentNode,offset:xd(o)+(r>0?1:0)}}}function hx(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&_1(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Qae(e,r===1?"next":"previous",Xae)}function Xae(e){if(nf(e))return!0;if(_1(e)){if(ge(e,["input","textarea"]))return e.type!=="hidden";if(ge(e,"br"))return!0}return!1}function xd(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function _1(e){return e.nodeType===1}function nf(e){return e.nodeType===3}function Qae(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=ese(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!_1(e.parentNode)||!Oo(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function ese(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var hc=Symbol("Track programmatic changes for React workaround");function tse(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&nr(e).REACT_VERSION===17}function rse(e){tse(e)&&(e[hc]={previousValue:String(e.value),tracked:[]})}function nse(e,t){var r,n;(n=e[hc])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[hc]||(E1(e),ea(e,{focusOffset:t.length}))}function ose(e,t){var r;let n=e[hc];if(e[hc]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||E1(e),Kae(e)&&ea(e,{focusOffset:o?t:e.value.length})}function Mq(e){let t=ise(e);if(t&&Mr(t))return{type:"input",selection:pc(t)};let r=t?.ownerDocument.getSelection();return{type:fc(e)&&r?.anchorNode&&fc(r.anchorNode)?"contenteditable":"default",selection:r}}function ise(e){return e.nodeType===1?e:e.parentElement}function ase(e){let t=Mq(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function $o({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(Mq(e).type==="input")return ea(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function Nq(e){return ge(e,"input")&&["date","time"].includes(e.type)}function Di(e,t,r,n="insertText"){let o=ase(t);o&&(!Nq(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?sse(e,t,o,r,n):lse(e,t,o,r,n)))}function sse(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=kq(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;let s=r.cloneRange();s.comparePoint(a.node,a.offset)<0?s.setStart(a.node,a.offset):s.setEnd(a.node,a.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function lse(e,t,r,n,o){let i=n;if(Jae(t)){let l=Zae(t);if(l!==void 0&&n.length>0){let c=r.endOffset-r.startOffset,d=l-t.value.length+c;if(d>0)i=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:u}=use(i,t,r,o);a===u&&s===r.startOffset&&s===r.endOffset||ge(t,"input",{type:"number"})&&!cse(a)||(Vae(t,a),$o({focusNode:t,anchorOffset:s,focusOffset:s}),Nq(t)?$q(t,a)&&(mx(e,t,s,{}),e.dispatchUIEvent(t,"change"),Oq(t)):mx(e,t,s,{data:n,inputType:o}))}function use(e,t,{startOffset:r,endOffset:n},o){let i=Nr(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=i.substring(0,a),u=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),l=i.substring(u,i.length),c=`${s}${e}${l}`,d=a+e.length;if(ge(t,"input",{type:"time"})){let f=Yae(c);f!==""&&$q(t,f)&&(c=f,d=f.length)}return{oldValue:i,newValue:c,newOffset:d}}function mx(e,t,r,n){e.dispatchUIEvent(t,"input",n),ose(t,r)}function cse(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}Kn.cut=(e,t,r)=>()=>{Ni(t)&&Di(r,t,"","deleteByCut")};function dse(e){return e?Oo(e)?e.textContent:Nr(e):null}function fse(e){let t=nr(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function pse(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Rq),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||fn(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,l)=>{let c=Number(u.getAttribute("tabindex")),d=Number(l.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},a=[r.body],s=ge(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let l=u;if(ge(l,"input",{type:"radio"})&&l.name){if(l===e){a.push(l);return}else if(l.name===s)return;if(l.checked){a=a.filter(c=>!ge(c,"input",{type:"radio",name:l.name})),a.push(l),i[l.name]=l;return}if(typeof i[l.name]<"u")return}a.push(l)});for(let u=a.findIndex(l=>l===e);;)if(u+=t?-1:1,u===a.length?u=0:u===-1&&(u=a.length-1),a[u]===e||a[u]===r.body||fse(a[u]))return a[u]}function gx(e,t){if(Mr(e)){let r=pc(e);$o({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=kq(r.focusNode,r.focusOffset,t);n&&$o({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Iq(e){var t;if(Mr(e))return $o({focusNode:e,anchorOffset:0,focusOffset:Nr(e).length});let r=(t=fc(e))!==null&&t!==void 0?t:e.ownerDocument.body;$o({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function hse(e){var t;if(Mr(e))return pc(e).startOffset===0&&pc(e).endOffset===Nr(e).length;let r=(t=fc(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function bu(e,t,r){var n;if(Mr(e))return $o({focusNode:e,anchorOffset:t,focusOffset:r});if(Oo(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return $o({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Cd(e,t,r){let n=nr(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!fn(o[i])){Gn(o[i]),e.dispatchUIEvent(o[i],"click");return}}}Kn.keydown=(e,t,r)=>{var n,o;return(n=(o=bx[e.key])===null||o===void 0?void 0:o.call(bx,e,t,r))!==null&&n!==void 0?n:mse(e,t,r)};var bx={ArrowDown:(e,t,r)=>{if(ge(t,"input",{type:"radio"}))return()=>Cd(r,t,1)},ArrowLeft:(e,t,r)=>ge(t,"input",{type:"radio"})?()=>Cd(r,t,-1):()=>gx(t,-1),ArrowRight:(e,t,r)=>ge(t,"input",{type:"radio"})?()=>Cd(r,t,1):()=>gx(t,1),ArrowUp:(e,t,r)=>{if(ge(t,"input",{type:"radio"}))return()=>Cd(r,t,-1)},Backspace:(e,t,r)=>{if(Ni(t))return()=>{Di(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Ni(t))return()=>{Di(r,t,"","deleteContentForward")}},End:(e,t)=>{if(ge(t,["input","textarea"])||Oo(t))return()=>{var r,n;let o=(r=(n=dse(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;bu(t,o,o)}},Home:(e,t)=>{if(ge(t,["input","textarea"])||Oo(t))return()=>{bu(t,0,0)}},PageDown:(e,t)=>{if(ge(t,["input"]))return()=>{let r=Nr(t).length;bu(t,r,r)}},PageUp:(e,t)=>{if(ge(t,["input"]))return()=>{bu(t,0,0)}},Tab:(e,t,r)=>()=>{let n=pse(t,r.system.keyboard.modifiers.Shift);Gn(n),Mr(n)&&ea(n,{anchorOffset:0,focusOffset:n.value.length})}},mse=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Iq(t)};Kn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(ge(t,"button")||ge(t,"input")&&gse.includes(t.type)||ge(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(ge(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&bse.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Ni(t)){let n=e.key==="Enter"?Oo(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
864
- `:e.key;return()=>Di(r,t,o,n)}};var gse=["button","color","file","image","reset","submit"],bse=["email","month","password","search","tel","text","url","week"];Kn.keyup=(e,t,r)=>{var n;return(n=vx[e.key])===null||n===void 0?void 0:n.call(vx,e,t,r)};var vx={" ":(e,t,r)=>{if(Cq(t))return()=>r.dispatchUIEvent(t,"click")}};Kn.paste=(e,t,r)=>{if(Ni(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Di(r,t,o,"insertFromPaste")}};var jq={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function Dq(e){return jq[e].EventType}var vse=["MouseEvent","PointerEvent"];function yse(e){return vse.includes(Dq(e))}function wse(e){return Dq(e)==="KeyboardEvent"}var Ese={ClipboardEvent:[Sse],Event:[],FocusEvent:[tu,Rse],InputEvent:[tu,xse],MouseEvent:[tu,og,yx],PointerEvent:[tu,og,yx,Ase],KeyboardEvent:[tu,og,Cse]};function Lq(e,t,r){let n=nr(t),{EventType:o,defaultInit:i}=jq[e],a=new(_se(n))[o](e,i);var s={};for(var u in r)Object.prototype.hasOwnProperty.call(r,u)&&(s[u]=r[u]);return s.view=n,Ese[o].forEach(function(l){l(a,s)}),a}function _se(e){var t,r,n,o,i,a,s,u,l,c,d,f,p,h,m;let v=(t=e.Event)!==null&&t!==void 0?t:class{},g=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends v{},E=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends v{},_=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends v{},x=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends v{},S=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends v{},y=(s=e.UIEvent)!==null&&s!==void 0?s:class extends v{},b=(u=e.CompositionEvent)!==null&&u!==void 0?u:class extends y{},w=(l=e.FocusEvent)!==null&&l!==void 0?l:class extends y{},C=(c=e.InputEvent)!==null&&c!==void 0?c:class extends y{},N=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends y{},q=(f=e.MouseEvent)!==null&&f!==void 0?f:class extends y{},z=(p=e.DragEvent)!==null&&p!==void 0?p:class extends q{},F=(h=e.PointerEvent)!==null&&h!==void 0?h:class extends q{},T=(m=e.TouchEvent)!==null&&m!==void 0?m:class extends y{};return{Event:v,AnimationEvent:g,ClipboardEvent:E,PopStateEvent:_,ProgressEvent:x,TransitionEvent:S,UIEvent:y,CompositionEvent:b,FocusEvent:w,InputEvent:C,KeyboardEvent:N,MouseEvent:q,DragEvent:z,PointerEvent:F,TouchEvent:T}}function eo(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ke(e){return Number(e??0)}function Sse(e,{clipboardData:t}){eo(e,{clipboardData:t})}function Rse(e,{relatedTarget:t}){eo(e,{relatedTarget:t})}function xse(e,{data:t,inputType:r,isComposing:n}){eo(e,{data:t,isComposing:!!n,inputType:String(r)})}function tu(e,{view:t,detail:r}){eo(e,{view:t,detail:Ke(r??0)})}function og(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:s,modifierFnLock:u,modifierNumLock:l,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:f}){eo(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(p){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:u,Meta:n,NumLock:l,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:f}[p]}})}function Cse(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){eo(e,{key:String(t),code:String(r),location:Ke(n),repeat:!!o,isComposing:!!i,charCode:a})}function yx(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:u,relatedTarget:l,offsetX:c,offsetY:d,pageX:f,pageY:p}){eo(e,{screenX:Ke(n),screenY:Ke(o),clientX:Ke(i),x:Ke(i),clientY:Ke(a),y:Ke(a),button:Ke(s),buttons:Ke(u),relatedTarget:l,offsetX:Ke(c),offsetY:Ke(d),pageX:Ke(f),pageY:Ke(p)})}function Ase(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:u,pointerType:l,isPrimary:c,buttons:d}){eo(e,{pointerId:Ke(t),width:Ke(r??1),height:Ke(n??1),pressure:Ke(o??(d?.5:0)),tangentialPressure:Ke(i),tiltX:Ke(a),tiltY:Ke(s),twist:Ke(u),pointerType:String(l),isPrimary:!!c})}function Pse(e,t,r,n=!1){(yse(t)||wse(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Lq(t,e,r);return Fq.call(this,e,o,n)}function Fq(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=Kn[o])===null||n===void 0?void 0:n.call(Kn,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),Ii(()=>e.dispatchEvent(t)),a||i(),!a}return Ii(()=>e.dispatchEvent(t))}function uo(e,t,r){let n=Lq(t,e,r);Ii(()=>e.dispatchEvent(n))}var wx=Symbol("patched focus/blur methods");function Bq(e){if(e.prototype[wx])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,value:o,writable:!0},blur:{configurable:!0,value:i,writable:!0},[wx]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Ex(this.ownerDocument);if(s===this)return;let u=Symbol("focus call");n=u,s&&(r.call(s),uo(s,"blur",{relatedTarget:this}),uo(s,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,a),uo(this,"focus",{relatedTarget:s})),n===u&&uo(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=Ex(this.ownerDocument);a===this&&(n=Symbol("blur call"),r.call(this),uo(a,"blur",{relatedTarget:null}),uo(a,"focusout",{relatedTarget:null}))}}function Ex(e){let t=Kc(e);return t?.tagName==="BODY"?null:t}var ig=Symbol("Interceptor for programmatical calls");function ii(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][ig])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){let{applyNative:u=!1,realArgs:l,then:c}=r.call(this,...s),d=(!u&&o||n)[i];i==="set"?d.call(this,l):d.call(this,...l),c?.()}a[ig]=ig,Object.defineProperty(e,t,{...o??n,[i]:a})}function Tse(e){ii(e,"value",function(t){let r=Hae(t);return r&&rse(this),{applyNative:!!r,realArgs:Ose(this,t),then:r?void 0:()=>nse(this,String(t))}})}function Ose(e,t){return ge(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function $se(e){ii(e,"setSelectionRange",function(t,...r){let n=Uae(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:rf(e)}}),ii(e,"selectionStart",function(t){return{realArgs:t,then:()=>rf(e)}}),ii(e,"selectionEnd",function(t){return{realArgs:t,then:()=>rf(e)}}),ii(e,"select",function(){return{realArgs:[],then:()=>Gae(e,{anchorOffset:0,focusOffset:Nr(e).length})}})}function qse(e){ii(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{E1(e),rf(e)}}})}var bi=Symbol("Node prepared with document state workarounds");function zq(e){e[bi]||(e.addEventListener("focus",t=>{let r=t.target;_x(r)},{capture:!0,passive:!0}),e.activeElement&&_x(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Wae(r);n!==void 0&&(r.value!==n&&uo(r,"change"),Oq(r))},{capture:!0,passive:!0}),e[bi]=bi)}function _x(e){e[bi]||(ge(e,["input","textarea"])&&(Tse(e),$se(e),qse(e)),e[bi]=bi)}function kse(e){return Mse(e)?e:e.ownerDocument}function Mse(e){return e.nodeType===9}var Lt=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function vu(e,t){e.levelRefs[t]={}}function Ad(e,t){return e.levelRefs[t]}function Li(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var of=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function ro(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yr=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),Nse=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Sx(e){return Nse.includes(e)}var Ise=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Rx(e){return Ise.includes(e)}var jse=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){let r=String(t.key),n=String(t.code),o=ng(e.config.document);this.setKeydownTarget(o),this.pressed.add(n,t),Sx(r)&&(this.modifiers[r]=!0);let i=e.dispatchUIEvent(o,"keydown",{key:r,code:n});Rx(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),i&&this.pressed.setUnprevented(n),i&&this.hasKeyPress(r)&&e.dispatchUIEvent(ng(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed.isUnprevented(n);this.pressed.delete(n),Sx(r)&&!this.pressed.values().find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(ng(e.config.document),"keyup",{key:r,code:n},!o),Rx(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){ro(this,"system",void 0),ro(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),ro(this,"pressed",new class{add(t,r){var n,o,i;(i=(n=this.registry)[o=t])!==null&&i!==void 0||(n[o]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){let r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){ro(this,"registry",{})}}),ro(this,"carryChar",""),ro(this,"lastKeydownTarget",void 0),ro(this,"modifierLockStart",{}),this.system=e}},Dse=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:yr.LEFT},{code:"AltRight",key:"Alt",location:yr.RIGHT},{code:"ShiftLeft",key:"Shift",location:yr.LEFT},{code:"ShiftRight",key:"Shift",location:yr.RIGHT},{code:"ControlLeft",key:"Control",location:yr.LEFT},{code:"ControlRight",key:"Control",location:yr.RIGHT},{code:"MetaLeft",key:"Meta",location:yr.LEFT},{code:"MetaRight",key:"Meta",location:yr.RIGHT},{code:"OSLeft",key:"OS",location:yr.LEFT},{code:"OSRight",key:"OS",location:yr.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],Lse=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function Fse(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Hq=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=vv(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=vv(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){Fse(this,"pressed",{})}},xx={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function vv(e=0){return e in xx?xx[e]:Number(e)}var Cx={1:2,2:1};function yv(e){return e=vv(e),e in Cx?Cx[e]:e}function Bse(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var zse=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){Bse(this,"pressedKeys",new Set)}};function Du(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function wv({target:e,node:t,offset:r}){return Mr(e)?{node:e,offset:r??Nr(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Uq(e,r)}function Uq(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),a=String(i.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(i.nodeType===1)return Uq(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function Hse({document:e,target:t,clickCount:r,node:n,offset:o}){if(Fae(t))return;let i=Mr(t),a=String(i?Nr(t):t.textContent),[s,u]=n?[o,o]:Use(a,o,r);if(i)return ea(t,{anchorOffset:s??a.length,focusOffset:u??a.length}),{node:t,start:s??0,end:u??a.length};{let{node:l,offset:c}=wv({target:t,node:n,offset:s}),{node:d,offset:f}=wv({target:t,node:n,offset:u}),p=t.ownerDocument.createRange();try{p.setStart(l,c),p.setEnd(d,f)}catch{throw new Error("The given offset is out of bounds.")}let h=e.getSelection();return h?.removeAllRanges(),h?.addRange(p.cloneRange()),p}}function Use(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function Vse(e,{document:t,target:r,node:n,offset:o}){let i=wv({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let a=i.offset<e.start?e.end:e.start,s=i.offset>e.end||i.offset<e.start?i.offset:e.end;ea(e.node,{anchorOffset:a,focusOffset:s})}}else{let a=e.cloneRange(),s=a.comparePoint(i.node,i.offset);s<0?a.setStart(i.node,i.offset):s>0&&a.setEnd(i.node,i.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(a.cloneRange())}}function Vq(e,t){var r,n,o,i,a,s,u,l,c,d,f,p,h,m,v,g,E,_,x,S,y,b,w,C;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((l=t.coords)===null||l===void 0?void 0:l.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((f=e.coords)===null||f===void 0?void 0:f.offsetY)!==((p=t.coords)===null||p===void 0?void 0:p.offsetY)||((h=e.coords)===null||h===void 0?void 0:h.pageX)!==((m=t.coords)===null||m===void 0?void 0:m.pageX)||((v=e.coords)===null||v===void 0?void 0:v.pageY)!==((g=t.coords)===null||g===void 0?void 0:g.pageY)||((E=e.coords)===null||E===void 0?void 0:E.screenX)!==((_=t.coords)===null||_===void 0?void 0:_.screenX)||((x=e.coords)===null||x===void 0?void 0:x.screenY)!==((S=t.coords)===null||S===void 0?void 0:S.screenY)||((y=e.caret)===null||y===void 0?void 0:y.node)!==((b=t.caret)===null||b===void 0?void 0:b.node)||((w=e.caret)===null||w===void 0?void 0:w.offset)!==((C=t.caret)===null||C===void 0?void 0:C.offset)}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Wse=class{move(e,t,r){let n=this.position,o=this.getTarget(e);if(this.position=t,!Vq(n,t))return;let i=this.getTarget(e),a=this.getEventInit("mousemove"),[s,u]=Du(o,i);return{leave:()=>{o!==i&&(e.dispatchUIEvent(o,"mouseout",a),s.forEach(l=>e.dispatchUIEvent(l,"mouseleave",a)))},enter:()=>{o!==i&&(e.dispatchUIEvent(i,"mouseover",a),u.forEach(l=>e.dispatchUIEvent(l,"mouseenter",a)))},move:()=>{r||(e.dispatchUIEvent(i,"mousemove",a),this.modifySelecting(e))}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let i=this.getEventInit("mousedown",t.button),a=fn(o);!r&&(a||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),Gn(o)),!a&&yv(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!fn(o)){if(!r){let a=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(o,"mouseup",a),this.endSelecting()}let i=Du(this.buttonDownTarget[n],o)[2][0];if(i){let a=this.getEventInit("click",t.button);a.detail&&(e.dispatchUIEvent(i,a.button===0?"click":"auxclick",a),a.button===0&&a.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:a.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){let r={...this.position.coords};return r.button=yv(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=Hse({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&Vse(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){no(this,"position",{}),no(this,"buttons",new Hq),no(this,"selecting",void 0),no(this,"buttonDownTarget",{}),no(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t,r;return this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0},this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){no(this,"down",{}),no(this,"count",{})}})}};function lp(e,t){var r;return((r=Wq(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Gse(e){let t=nr(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var Ax=Symbol("Last check for pointer-events");function Wq(e,t){let r=t[Ax];if(!(e.config.pointerEventsCheck!==of.Never&&(!r||Px(e.config.pointerEventsCheck,of.EachApiCall)&&r[Lt.Call]!==Ad(e,Lt.Call)||Px(e.config.pointerEventsCheck,of.EachTrigger)&&r[Lt.Trigger]!==Ad(e,Lt.Trigger))))return r?.result;let n=Gse(t);return t[Ax]={[Lt.Call]:Ad(e,Lt.Call),[Lt.Trigger]:Ad(e,Lt.Trigger),result:n},n}function yu(e,t){let r=Wq(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",Kse(r.tree)].join(`
865
- `))}function Kse(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Yse(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
866
- `)}function Yse(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(ge(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(ge(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function Px(e,t){return(e&t)>0}function Kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Zse=class{init(e){let t=this.getTarget(e),[,r]=Du(null,t),n=this.getEventInit();return yu(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerenter",n)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Vq(r,t))return;let o=this.getTarget(e),i=this.getEventInit(-1),[a,s]=Du(n,o);return{leave:()=>{lp(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",i),a.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{yu(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",i),s.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"pointermove",i)}}}down(e,t=0){if(this.isDown)return;let r=this.getTarget(e);yu(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;let r=this.getTarget(e);yu(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){let t=this.getTarget(e),[r]=Du(t,null),n=this.getEventInit();lp(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:yv(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){Kr(this,"pointerId",void 0),Kr(this,"pointerType",void 0),Kr(this,"isPrimary",void 0),Kr(this,"buttons",void 0),Kr(this,"isMultitouch",!1),Kr(this,"isCancelled",!1),Kr(this,"isDown",!1),Kr(this,"isPrevented",!1),Kr(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Jse=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),o.pointerType==="touch"&&o.init(e),o.down(e,t.button),o.pointerType!=="touch"&&this.mouse.down(e,t,o.isPrevented)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),i=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);o?.leave(),i?.leave(),o?.enter(),i?.enter(),o?.move(),i?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t)),i=o.isPrevented;if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t.button),o.pointerType==="touch"&&o.release(e),o.pointerType==="touch"&&!o.isMultitouch){let a=this.mouse.move(e,r,i);a?.leave(),a?.enter(),a?.move(),this.mouse.down(e,t,i)}if(!o.isMultitouch){let a=this.mouse.move(e,r,i);a?.leave(),a?.enter(),a?.move(),this.mouse.up(e,t,i)}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){wn(this,"system",void 0),wn(this,"mouse",void 0),wn(this,"buttons",void 0),wn(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0?o:r[n]=new zse}constructor(){wn(this,"registry",{})}}),wn(this,"pointers",new class{new(t,r,n){let o=r!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return o||Object.values(this.registry).forEach(i=>{i.pointerType===r&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[t]=new Zse({pointerId:this.nextId++,pointerType:r,isPrimary:o},n),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){wn(this,"registry",{}),wn(this,"nextId",1)}}),this.system=e,this.buttons=new Hq,this.mouse=new Wse,this.pointers.new("mouse","mouse",this.buttons)}};function Tx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Gq=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){Tx(this,"keyboard",new jse(this)),Tx(this,"pointer",new Jse(this))}};async function Xse(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Qse(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function ele(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function tle(e){return this.pointer({target:e})}async function rle(e){return yu(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function nle({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Kq={"{":"}","[":"]"};function Yq(e,t){let r=0,n=e[r]in Kq?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?ole(e,r,t):ile(e,r,o,t)}}function ole(e,t,r){let n=e[t];return Zq(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function ile(e,t,r,n){var o,i,a;let s=e[t]==="/"?"/":"";t+=s.length;let u=r==="{"&&e[t]==="\\";t+=Number(u);let l=u?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];Zq(l,e,t,n),t+=l.length;let c=(o=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&o!==void 0?o:"";t+=c.length;let d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;let f=Kq[r],p=e[t]===f?f:"";if(!p)throw new Error(Jq([!c&&"repeat modifier",!d&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:l,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:ale(d,c)}}function Zq(e,t,r,n){if(!e)throw new Error(Jq("key descriptor",t[r],t,n))}function ale(e,t){if(e)return e==="/";if(t)return!1}function Jq(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
867
- See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
868
- for more information about how userEvent parses your input.`}function sle(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:u=!0,repeat:l}=Yq(t,"keyboard"),c=(n=e.find(d=>{if(o==="["){var f;return((f=d.code)===null||f===void 0?void 0:f.toLowerCase())===i.toLowerCase()}else if(o==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:s,releaseSelf:u,repeat:l}),t=t.slice(a)}while(t);return r}async function lle(e){let t=sle(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Li(this.config),await ule(this,t[r])}async function ule(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let a=1;a<=o;a++)await i.keyboard.keydown(e,t),a<o&&await Li(e.config);n&&await i.keyboard.keyup(e,t)}}async function cle(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Xq(e){let t=Mr(e)?{"text/plain":dle(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=v1(nr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function dle(e){let t=pc(e);return Nr(e).substring(t.startOffset,t.endOffset)}async function fle(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Xq(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Sq(t,n),n}async function ple(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Xq(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Sq(r.ownerDocument,n),n}async function hle(e){var t,r;let n=this.config.document,o=(t=n.activeElement)!==null&&t!==void 0?t:n.body,i=(r=typeof e=="string"?mle(n,e):e)!==null&&r!==void 0?r:await Iae(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function mle(e,t){let r=v1(nr(e));return r.setData("text",t),r}function Ox(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=Yq(t,"pointer"),s=e.find(u=>u.name===n);s&&r.push({keyDef:s,releasePrevious:i,releaseSelf:a}),t=t.slice(o)}while(t);return r}async function gle(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Ox(t,n)):"keys"in n?r.push(...Ox(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Li(this.config),await ble(this,r[n]);this.system.pointer.resetClickCount()}async function ble(e,t){var r,n,o,i,a,s;let u="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",l=e.system.pointer.getPreviousPosition(u),c={target:(r=t.target)!==null&&r!==void 0?r:vle(e,l),coords:(n=t.coords)!==null&&n!==void 0?n:l?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:$x(t)||l==null||(a=l.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:$x(t)||l==null||(s=l.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(vu(e,Lt.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(vu(e,Lt.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(vu(e,Lt.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(vu(e,Lt.Trigger),await e.system.pointer.move(e,u,c))}function $x(e){var t,r;return!!((t=(r=e.target)!==null&&r!==void 0?r:e.node)!==null&&t!==void 0?t:e.offset!==void 0)}function vle(e,t){var r;if(!t)throw new Error("This pointer has no previous position. Provide a target property!");return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function yle(e){if(!Ni(e)||fn(e))throw new Error("clear()` is only supported on editable elements.");if(Gn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(Iq(e),!hse(e))throw new Error("The element content to be cleared could not be selected.");Di(this,e,"","deleteContentBackward")}async function wle(e,t){return Qq.call(this,!0,e,t)}async function Ele(e,t){return Qq.call(this,!1,e,t)}async function Qq(e,t,r){if(!e&&!t.multiple)throw Ee().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let u=o.find(l=>l.value===s||l.innerHTML===s);if(u)return u;throw Ee().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!fn(s));if(fn(t)||!i.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(ge(t,"select"))if(t.multiple)for(let s of i){let u=this.config.pointerEventsCheck===0?!0:lp(this,s);u&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Gn(t),u&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),u&&this.dispatchUIEvent(s,"click"),await Li(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:lp(this,t);s?await this.click(t):Gn(t),a(i[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Li(this.config)}else throw Ee().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of i)await this.click(s),await this.unhover(s);else throw Ee().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function _le(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&bu(e,o,i??o),await this.keyboard(t),n||await cle(this))}var qx=Symbol("files and value properties are mocked");function ag(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Sle(e,t){var r;(r=e[qx])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){ag(e,"type",n),ag(e,"value",o),ag(e,"files",i)}e[qx]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")a();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(a(),e.type=s)}}})}async function Rle(e,t){let r=ge(e,"label")?e.control:e;if(!r||!ge(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(fn(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||xle(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((a,s)=>{var u;return a===((u=r.files)===null||u===void 0?void 0:u.item(s))})||(Sle(r,b1(nr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Pd(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function xle(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Pd(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Pd(e.name).endsWith(n):r.includes(n)?Pd(e.type).startsWith(n.replace("*","")):Pd(e.type)===n)}var kx={click:Xse,dblClick:Qse,tripleClick:ele,hover:tle,unhover:rle,tab:nle,keyboard:lle,copy:fle,cut:ple,paste:hle,pointer:gle,clear:yle,deselectOptions:Ele,selectOptions:wle,type:_le,upload:Rle};function Cle(e){return Ee().asyncWrapper(e)}var ek={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:Dse,pointerMap:Lse,pointerEventsCheck:of.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},Ale={...ek,writeToClipboard:!0};function tk(e={},t=Ale,r){let n=$le(e,r,t);return{...t,...e,document:n}}function Ple(e={}){var t;let r=tk(e);zq(r.document),Bq(nr(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return kae(n),S1(r).api}function xt({keyboardState:e,pointerState:t,...r}={},n){var o;let i=tk(r,ek,n);zq(i.document),Bq(nr(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Gq;return{api:S1(i,a).api,system:a}}function Tle(e){return S1({...this.config,...e},this.system).api}function Ole(e,t){function r(...n){return vu(e,Lt.Call),Cle(()=>t.apply(e,n).then(async o=>(await Li(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function S1(e,t=new Gq){let r={};return Object.assign(r,{config:e,dispatchEvent:Fq.bind(r),dispatchUIEvent:Pse.bind(r),system:t,levelRefs:{},...kx}),{instance:r,api:{...Object.fromEntries(Object.entries(kx).map(([n,o])=>[n,Ole(r,o)])),setup:Tle.bind(r)}}}function $le(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&kse(t))!==null&&n!==void 0?n:r.document}var rk={};Gp(rk,{clear:()=>qle,click:()=>kle,copy:()=>Mle,cut:()=>Nle,dblClick:()=>Ile,deselectOptions:()=>jle,hover:()=>Dle,keyboard:()=>Lle,paste:()=>Ble,pointer:()=>Fle,selectOptions:()=>zle,tab:()=>Gle,tripleClick:()=>Hle,type:()=>Ule,unhover:()=>Vle,upload:()=>Wle});function qle(e){return xt().api.clear(e)}function kle(e,t={}){return xt(t,e).api.click(e)}function Mle(e={}){return xt(e).api.copy()}function Nle(e={}){return xt(e).api.cut()}function Ile(e,t={}){return xt(t).api.dblClick(e)}function jle(e,t,r={}){return xt(r).api.deselectOptions(e,t)}function Dle(e,t={}){return xt(t).api.hover(e)}async function Lle(e,t={}){let{api:r,system:n}=xt(t);return r.keyboard(e).then(()=>n)}async function Fle(e,t={}){let{api:r,system:n}=xt(t);return r.pointer(e).then(()=>n)}function Ble(e,t){return xt(t).api.paste(e)}function zle(e,t,r={}){return xt(r).api.selectOptions(e,t)}function Hle(e,t={}){return xt(t).api.tripleClick(e)}function Ule(e,t,r={}){return xt(r,e).api.type(e,t,r)}function Vle(e,t={}){let{api:r,system:n}=xt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Wle(e,t,r={}){return xt(r).api.upload(e,t)}function Gle(e={}){return xt().api.tab(e)}var Kle={...rk,setup:Ple},Ev=Qp({...jee},{getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper"),intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Ev.screen=new Proxy(Ev.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&_t.warn(Zi`
869
- You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
870
-
871
- More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
872
- `),Reflect.get(e,t,r)}});var{buildQueries:I1e,configure:j1e,createEvent:D1e,fireEvent:L1e,findAllByAltText:F1e,findAllByDisplayValue:B1e,findAllByLabelText:z1e,findAllByPlaceholderText:H1e,findAllByRole:U1e,findAllByTestId:V1e,findAllByText:W1e,findAllByTitle:G1e,findByAltText:K1e,findByDisplayValue:Y1e,findByLabelText:Z1e,findByPlaceholderText:J1e,findByRole:X1e,findByTestId:Q1e,findByText:e2e,findByTitle:t2e,getAllByAltText:r2e,getAllByDisplayValue:n2e,getAllByLabelText:o2e,getAllByPlaceholderText:i2e,getAllByRole:a2e,getAllByTestId:s2e,getAllByText:l2e,getAllByTitle:u2e,getByAltText:c2e,getByDisplayValue:d2e,getByLabelText:f2e,getByPlaceholderText:p2e,getByRole:h2e,getByTestId:m2e,getByText:g2e,getByTitle:b2e,getConfig:v2e,getDefaultNormalizer:y2e,getElementError:w2e,getNodeText:E2e,getQueriesForElement:_2e,getRoles:S2e,getSuggestedQuery:R2e,isInaccessible:x2e,logDOM:C2e,logRoles:A2e,prettyDOM:P2e,queries:T2e,queryAllByAltText:O2e,queryAllByAttribute:$2e,queryAllByDisplayValue:q2e,queryAllByLabelText:k2e,queryAllByPlaceholderText:M2e,queryAllByRole:N2e,queryAllByTestId:I2e,queryAllByText:j2e,queryAllByTitle:D2e,queryByAltText:L2e,queryByAttribute:F2e,queryByDisplayValue:B2e,queryByLabelText:z2e,queryByPlaceholderText:H2e,queryByRole:U2e,queryByTestId:V2e,queryByText:W2e,queryByTitle:G2e,queryHelpers:K2e,screen:Y2e,waitFor:Z2e,waitForElementToBeRemoved:J2e,within:X2e,prettyFormat:Q2e}=Ev,{userEvent:ewe}=Qp({userEvent:Kle},{intercept:!0,getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper")}),{expect:twe}=Qp({expect:vq},{getKeys:(e,t)=>{if("constructor"in e&&e.constructor===O){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},mutate:!0,intercept:e=>e!=="expect"}),Yle=V({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return(function a(s,u,l){var c,d,f,p=t.call(s),h=t.call(u);if(s===u)return!0;if(s==null||u==null)return!1;if(l.indexOf(s)>-1&&l.indexOf(u)>-1)return!0;if(l.push(s,u),p!=h||(c=n(s),d=n(u),c.length!=d.length||c.some(function(m){return!a(s[m],u[m],l)})))return!1;switch(p.slice(8,-1)){case"Symbol":return s.valueOf()==u.valueOf();case"Date":case"Number":return+s==+u||+s!=+s&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+u;case"Set":case"Map":c=s.entries(),d=u.entries();do if(!a((f=c.next()).value,d.next().value,l))return!1;while(!f.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),u=new Uint8Array(u);case"DataView":s=new Uint8Array(s.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=u.length)return!1;for(f=0;f<s.length;f++)if((f in s||f in u)&&(f in s!=f in u||!a(s[f],u[f],l)))return!1;return!0;case"Object":return a(r(s),r(u),l);default:return!1}})(o,i,[])}})()}});rr(Yle());var Zle={};Gp(Zle,{argsEnhancers:()=>Qle});var nk=(e,t)=>typeof t[e]>"u"&&!(e in t),Jle=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:o}}=e;if(!o||o.disable||!o.argTypesRegex||!r)return{};let i=new RegExp(o.argTypesRegex);return Object.entries(r).filter(([a])=>!!i.test(a)).reduce((a,[s,u])=>(nk(s,t)&&(a[s]=o0(s,{implicit:!0,id:n})),a),{})},Xle=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n?.disable||!r?{}:Object.entries(r).filter(([o,i])=>!!i.action).reduce((o,[i,a])=>(nk(i,t)&&(o[i]=o0(typeof a.action=="string"?a.action:i)),o),{})},Qle=[Xle,Jle],eue={};Gp(eue,{loaders:()=>rue});var Mx=!1,tue=e=>{let{parameters:t}=e;t?.actions?.disable||Mx||(Aae((r,n)=>{let o=r.getMockName();o!=="spy"&&o!=="vi.fn()"&&(!/^next\/.*::/.test(o)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/link::Link","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(i=>o.startsWith(i)))&&o0(o)(n)}),Mx=!0)},rue=[tue],{document:sr}=globalThis,nue=()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,Nx=e=>{(Array.isArray(e)?e:[e]).forEach(oue)},oue=e=>{if(!sr)return;let t=sr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},iue=(e,t)=>{if(!sr)return;let r=sr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=sr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,sr.head.appendChild(n)}},aue=(e,t,r)=>{if(!sr)return;let n=sr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let o=sr.createElement("style");o.setAttribute("id",e),o.innerHTML=t;let i=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,a=sr.getElementById(i);a?a.parentElement?.insertBefore(o,a):sr.head.appendChild(o)}},sue={cellSize:100,cellAmount:10,opacity:.8},Ix="addon-backgrounds",jx="addon-backgrounds-grid",lue=nue()?"":"transition: background-color 0.3s;",uue=(e,t)=>{let{globals:r={},parameters:n={},viewMode:o,id:i}=t,{options:a=TW,disable:s,grid:u=sue}=n[EE]||{},l=r[EE]||{},c=typeof l=="string"?l:l?.value,d=c?a[c]:void 0,f=typeof d=="string"?d:d?.value||"transparent",p=typeof l=="string"?!1:l.grid||!1,h=!!d&&!s,m=o==="docs"?`#anchor--${i} .docs-story, #anchor--primary--${i} .docs-story`:".sb-show-main",v=o==="docs"?`#anchor--${i} .docs-story, #anchor--primary--${i} .docs-story`:".sb-show-main",g=n.layout===void 0||n.layout==="padded",E=o==="docs"?20:g?16:0,{cellAmount:_,cellSize:x,opacity:S,offsetX:y=E,offsetY:b=E}=u,w=o==="docs"?`${Ix}-docs-${i}`:`${Ix}-color`,C=o==="docs"?i:null;mc(()=>{let q=`
873
- ${m} {
874
- background: ${f} !important;
875
- ${lue}
876
- }`;if(!h){Nx(w);return}aue(w,q,C)},[m,w,C,h,f]);let N=o==="docs"?`${jx}-docs-${i}`:`${jx}`;return mc(()=>{if(!p){Nx(N);return}let q=[`${x*_}px ${x*_}px`,`${x*_}px ${x*_}px`,`${x}px ${x}px`,`${x}px ${x}px`].join(", "),z=`
877
- ${v} {
878
- background-size: ${q} !important;
879
- background-position: ${y}px ${b}px, ${y}px ${b}px, ${y}px ${b}px, ${y}px ${b}px !important;
880
- background-blend-mode: difference !important;
881
- background-image: linear-gradient(rgba(130, 130, 130, ${S}) 1px, transparent 1px),
882
- linear-gradient(90deg, rgba(130, 130, 130, ${S}) 1px, transparent 1px),
883
- linear-gradient(rgba(130, 130, 130, ${S/2}) 1px, transparent 1px),
884
- linear-gradient(90deg, rgba(130, 130, 130, ${S/2}) 1px, transparent 1px) !important;
885
- }
886
- `;iue(N,z)},[_,x,v,N,p,y,b,S]),e()};globalThis.FEATURES?.backgrounds;var{step:rwe}=Qp({step:async(e,t,r)=>t(r)},{intercept:!0}),Dx={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},cue="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),rt=(e,t={},r)=>{let n=cue.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([o,i])=>{/[A-Z]/.test(o)?(o==="onClick"&&(n.addEventListener("click",i),n.addEventListener("keydown",a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),i())})),o==="onMouseEnter"&&n.addEventListener("mouseenter",i),o==="onMouseLeave"&&n.addEventListener("mouseleave",i)):n.setAttribute(o,i)}),r?.forEach(o=>{if(!(o==null||o===!1))try{n.appendChild(o)}catch{n.appendChild(document.createTextNode(String(o)))}}),n},Td=e=>Dx[e]&&rt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},Dx[e].map(t=>rt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),due=e=>{if("elements"in e){let{elements:n,color:o,style:i}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${i} ${o}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},fue=e=>e instanceof Function,ru=new Map,oo=new Map,Od=new Map,Yr=e=>{let t=Symbol();return oo.set(t,[]),ru.set(t,e),{get:()=>ru.get(t),set:r=>{let n=ru.get(t),o=fue(r)?r(n):r;o!==n&&(ru.set(t,o),oo.get(t)?.forEach(i=>{Od.get(i)?.(),Od.set(i,i(o))}))},subscribe:r=>(oo.get(t)?.push(r),()=>{let n=oo.get(t);n&&oo.set(t,n.filter(o=>o!==r))}),teardown:()=>{oo.get(t)?.forEach(r=>{Od.get(r)?.(),Od.delete(r)}),oo.delete(t),ru.delete(t)}}},Lx=e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:o=0}=n;for(let i of n.selectors){let a=[...document.querySelectorAll(`:is(${i}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(i)||[]];for(let s of a){let u=r.get(s);(!u||u.priority<=o)&&r.set(s,{...n,priority:o,selectors:Array.from(new Set((u?.selectors||[]).concat(i)))})}}}return r},pue=e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:a}])=>{let{top:s,left:u,width:l,height:c}=t.getBoundingClientRect(),{position:d}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:o,focusStyles:i,menu:a,top:d==="fixed"?s:s+window.scrollY,left:d==="fixed"?u:u+window.scrollX,width:l,height:c}}).sort((t,r)=>r.width*r.height-t.width*t.height),Fx=(e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:o}=t;return r?.top&&r?.left&&n>=r.left&&n<=r.left+r.width&&o>=r.top&&o<=r.top+r.height},Bx=(e,t,r)=>{if(!t||!r)return!1;let{left:n,top:o,width:i,height:a}=e;a<Cn&&(o=o-Math.round((Cn-a)/2),a=Cn),i<Cn&&(n=n-Math.round((Cn-i)/2),i=Cn),t.style.position==="fixed"&&(n+=window.scrollX,o+=window.scrollY);let{x:s,y:u}=r;return s>=n&&s<=n+i&&u>=o&&u<=o+a},hue=(e,t,r={})=>{let{x:n,y:o}=t,{margin:i=5,topOffset:a=0,centered:s=!1}=r,{scrollX:u,scrollY:l,innerHeight:c,innerWidth:d}=window,f=Math.min(e.style.position==="fixed"?o-l:o,c-e.clientHeight-i-a+l),p=s?e.clientWidth/2:0,h=e.style.position==="fixed"?Math.max(Math.min(n-u,d-p-i),p+i):Math.max(Math.min(n,d-p-i+u),p+i+u);Object.assign(e.style,{...h!==n&&{left:`${h}px`},...f!==o&&{top:`${f}px`}})},zx=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},mue=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},gue=e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),je="storybook-highlights-menu",Hx="storybook-highlights-root",bue="storybook-root",vue=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=Yr([]),n=Yr(new Map),o=Yr([]),i=Yr(),a=Yr(),s=Yr([]),u=Yr([]),l=Yr(),c=Yr(),d=t.getElementById(Hx);r.subscribe(()=>{d||(d=rt("div",{id:Hx}),t.body.appendChild(d))}),r.subscribe(b=>{let w=t.getElementById(bue);if(!w)return;n.set(Lx(b));let C=new MutationObserver(()=>n.set(Lx(b)));return C.observe(w,{subtree:!0,childList:!0}),()=>{C.disconnect()}}),n.subscribe(b=>{let w=()=>requestAnimationFrame(()=>o.set(pue(b))),C=new ResizeObserver(w);C.observe(t.body),Array.from(b.keys()).forEach(q=>C.observe(q));let N=Array.from(t.body.querySelectorAll("*")).filter(q=>{let{overflow:z,overflowX:F,overflowY:T}=window.getComputedStyle(q);return["auto","scroll"].some(k=>[z,F,T].includes(k))});return N.forEach(q=>q.addEventListener("scroll",w)),()=>{C.disconnect(),N.forEach(q=>q.removeEventListener("scroll",w))}}),n.subscribe(b=>{let w=Array.from(b.keys()).filter(({style:N})=>N.position==="sticky"),C=()=>requestAnimationFrame(()=>{o.set(N=>N.map(q=>{if(w.includes(q.element)){let{top:z,left:F}=q.element.getBoundingClientRect();return{...q,top:z+window.scrollY,left:F+window.scrollX}}return q}))});return t.addEventListener("scroll",C),()=>t.removeEventListener("scroll",C)}),n.subscribe(b=>{s.set(w=>w.filter(({element:C})=>b.has(C)))}),s.subscribe(b=>{b.length?(c.set(w=>b.some(C=>C.element===w?.element)?w:void 0),l.set(w=>b.some(C=>C.element===w?.element)?w:void 0)):(c.set(void 0),l.set(void 0),i.set(void 0))});let f=new Map(new Map);r.subscribe(b=>{b.forEach(({keyframes:w})=>{if(w){let C=f.get(w);C||(C=t.createElement("style"),C.setAttribute("data-highlight","keyframes"),f.set(w,C),t.head.appendChild(C)),C.innerHTML=w}}),f.forEach((w,C)=>{b.some(N=>N.keyframes===C)||(w.remove(),f.delete(C))})});let p=new Map(new Map);o.subscribe(b=>{b.forEach(w=>{let C=p.get(w.element);if(d&&!C){let N={popover:"manual","data-highlight-dimensions":`w${w.width.toFixed(0)}h${w.height.toFixed(0)}`,"data-highlight-coordinates":`x${w.left.toFixed(0)}y${w.top.toFixed(0)}`};C=d.appendChild(rt("div",N,[rt("div")])),p.set(w.element,C)}}),p.forEach((w,C)=>{b.some(({element:N})=>N===C)||(w.remove(),p.delete(C))})}),o.subscribe(b=>{let w=b.filter(N=>N.menu);if(!w.length)return;let C=N=>{requestAnimationFrame(()=>{let q=t.getElementById(je),z={x:N.pageX,y:N.pageY};if(q&&!Fx(q,z)){let F=w.filter(T=>{let k=p.get(T.element);return Bx(T,k,z)});i.set(F.length?z:void 0),s.set(F)}})};return t.addEventListener("click",C),()=>t.removeEventListener("click",C)});let h=()=>{let b=t.getElementById(je),w=a.get();!w||b&&Fx(b,w)||u.set(C=>{let N=o.get().filter(T=>{let k=p.get(T.element);return Bx(T,k,w)}),q=C.filter(T=>N.includes(T)),z=N.filter(T=>!C.includes(T)),F=C.length-q.length;return z.length||F?[...q,...z]:C})};a.subscribe(h),o.subscribe(h);let m=()=>{let b=c.get(),w=b?[b]:s.get(),C=w.length===1?w[0]:l.get(),N=i.get()!==void 0;o.get().forEach(q=>{let z=p.get(q.element);if(z){let F=C===q,T=N?C?F:w.includes(q):u.get()?.includes(q);Object.assign(z.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...q.styles,...T?q.hoverStyles:{},...F?q.focusStyles:{},position:getComputedStyle(q.element).position==="fixed"?"fixed":"absolute",zIndex:wE-10,top:`${q.top}px`,left:`${q.left}px`,width:`${q.width}px`,height:`${q.height}px`,margin:0,padding:0,cursor:q.menu&&T?"pointer":"default",pointerEvents:q.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(z.children[0].style,{width:"100%",height:"100%",minHeight:`${Cn}px`,minWidth:`${Cn}px`,boxSizing:"content-box",padding:z.style.outlineWidth||"0px"}),zx(z)}})};o.subscribe(m),s.subscribe(m),u.subscribe(m),l.subscribe(m),c.subscribe(m);let v=()=>{if(!d)return;let b=t.getElementById(je);if(b)b.innerHTML="";else{let q={id:je,popover:"manual"};b=d.appendChild(rt("div",q)),d.appendChild(rt("style",{},[`
887
- #${je} {
888
- position: absolute;
889
- z-index: ${wE};
890
- width: 300px;
891
- padding: 0px;
892
- margin: 15px 0 0 0;
893
- transform: translateX(-50%);
894
- font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
895
- font-size: 12px;
896
- background: white;
897
- border: none;
898
- border-radius: 6px;
899
- box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
900
- color: #2E3438;
901
- }
902
- #${je} ul {
903
- list-style: none;
904
- margin: 0;
905
- padding: 0;
906
- }
907
- #${je} > ul {
908
- max-height: 300px;
909
- overflow-y: auto;
910
- padding: 4px 0;
911
- }
912
- #${je} li {
913
- padding: 0 4px;
914
- margin: 0;
915
- }
916
- #${je} li > :not(ul) {
917
- display: flex;
918
- padding: 8px;
919
- margin: 0;
920
- align-items: center;
921
- gap: 8px;
922
- border-radius: 4px;
923
- }
924
- #${je} button {
925
- width: 100%;
926
- border: 0;
927
- background: transparent;
928
- color: inherit;
929
- text-align: left;
930
- font-family: inherit;
931
- font-size: inherit;
932
- }
933
- #${je} button:focus-visible {
934
- outline-color: #029CFD;
935
- }
936
- #${je} button:hover {
937
- background: rgba(2, 156, 253, 0.07);
938
- color: #029CFD;
939
- cursor: pointer;
940
- }
941
- #${je} li code {
942
- white-space: nowrap;
943
- overflow: hidden;
944
- text-overflow: ellipsis;
945
- line-height: 16px;
946
- font-size: 11px;
947
- }
948
- #${je} li svg {
949
- flex-shrink: 0;
950
- margin: 1px;
951
- color: #73828C;
952
- }
953
- #${je} li > button:hover svg, #${je} li > button:focus-visible svg {
954
- color: #029CFD;
955
- }
956
- #${je} .element-list li svg {
957
- display: none;
958
- }
959
- #${je} li.selectable svg, #${je} li.selected svg {
960
- display: block;
961
- }
962
- #${je} .menu-list {
963
- border-top: 1px solid rgba(38, 85, 115, 0.15);
964
- }
965
- #${je} .menu-list > li:not(:last-child) {
966
- padding-bottom: 4px;
967
- margin-bottom: 4px;
968
- border-bottom: 1px solid rgba(38, 85, 115, 0.15);
969
- }
970
- #${je} .menu-items, #${je} .menu-items li {
971
- padding: 0;
972
- }
973
- #${je} .menu-item {
974
- display: flex;
975
- }
976
- #${je} .menu-item-content {
977
- display: flex;
978
- flex-direction: column;
979
- flex-grow: 1;
980
- }
981
- `]))}let w=c.get(),C=w?[w]:s.get();if(C.length&&(b.style.position=getComputedStyle(C[0].element).position==="fixed"?"fixed":"absolute",b.appendChild(rt("ul",{class:"element-list"},C.map(q=>{let z=C.length>1&&!!q.menu?.some(k=>k.some(I=>!I.selectors||I.selectors.some(U=>q.selectors.includes(U)))),F=z?{class:"selectable",onClick:()=>c.set(q),onMouseEnter:()=>l.set(q),onMouseLeave:()=>l.set(void 0)}:w?{class:"selected",onClick:()=>c.set(void 0)}:{},T=z||w;return rt("li",F,[rt(T?"button":"div",T?{type:"button"}:{},[w?Td("chevronLeft"):null,rt("code",{},[q.element.outerHTML]),z?Td("chevronRight"):null])])})))),c.get()||s.get().length===1){let q=c.get()||s.get()[0],z=q.menu?.filter(F=>F.some(T=>!T.selectors||T.selectors.some(k=>q.selectors.includes(k))));z?.length&&b.appendChild(rt("ul",{class:"menu-list"},z.map(F=>rt("li",{},[rt("ul",{class:"menu-items"},F.map(({id:T,title:k,description:I,iconLeft:U,iconRight:G,clickEvent:X})=>{let Z=X&&(()=>e.emit(X,T,gue(q)));return rt("li",{},[rt(Z?"button":"div",Z?{class:"menu-item",type:"button",onClick:Z}:{class:"menu-item"},[U?Td(U):null,rt("div",{class:"menu-item-content"},[rt(I?"strong":"span",{},[k]),I&&rt("span",{},[I])]),G?Td(G):null])])}))]))))}let N=i.get();N?(Object.assign(b.style,{display:"block",left:`${b.style.position==="fixed"?N.x-window.scrollX:N.x}px`,top:`${b.style.position==="fixed"?N.y-window.scrollY:N.y}px`}),zx(b),requestAnimationFrame(()=>hue(b,N,{topOffset:15,centered:!0}))):(mue(b),Object.assign(b.style,{display:"none"}))};s.subscribe(v),c.subscribe(v);let g=b=>{let w=due(b);r.set(C=>{let N=w.id?C.filter(q=>q.id!==w.id):C;return w.selectors?.length?[...N,w]:N})},E=b=>{b&&r.set(w=>w.filter(C=>C.id!==b))},_=()=>{r.set([]),n.set(new Map),o.set([]),i.set(void 0),a.set(void 0),s.set([]),u.set([]),l.set(void 0),c.set(void 0)},x,S=(b,w)=>{let C="scrollIntoView-highlight";clearTimeout(x),E(C);let N=t.querySelector(b);if(!N){console.warn(`Cannot scroll into view: ${b} not found`);return}N.scrollIntoView({behavior:"smooth",block:"center",...w});let q=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(z=>[...z,{id:C,priority:1e3,selectors:[b],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${q} 3s linear forwards`},keyframes:`@keyframes ${q} {
982
- 0% { outline: 2px solid #1EA7FD; }
983
- 20% { outline: 2px solid #1EA7FD00; }
984
- 40% { outline: 2px solid #1EA7FD; }
985
- 60% { outline: 2px solid #1EA7FD00; }
986
- 80% { outline: 2px solid #1EA7FD; }
987
- 100% { outline: 2px solid #1EA7FD00; }
988
- }`}]),x=setTimeout(()=>E(C),3500)},y=b=>{requestAnimationFrame(()=>a.set({x:b.pageX,y:b.pageY}))};t.body.addEventListener("mousemove",y),e.on(wW,g),e.on(EW,E),e.on(_W,_),e.on(SW,S),e.on(oO,({newPhase:b})=>{b==="loading"&&_()})};globalThis?.FEATURES?.highlight&&Sv?.ready&&Sv.ready().then(vue);function ok(){let e=he.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function yue(){let e=he.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");xb(t!=null);let{width:r,height:n}=ok();return _v(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",he.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}function _v(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let o=he.window.devicePixelRatio;e.width=Math.floor(r*o),e.height=Math.floor(n*o),t.scale(o,o)}var ot={};function wue(){ot.canvas||(ot=yue())}function ik(){ot.context&&ot.context.clearRect(0,0,ot.width??0,ot.height??0)}function Eue(e){ik(),e(ot.context)}function _ue(){xb(ot.canvas),xb(ot.context),_v(ot.canvas,ot.context,{width:0,height:0});let{width:e,height:t}=ok();_v(ot.canvas,ot.context,{width:e,height:t}),ot.width=e,ot.height=t}function Sue(){ot.canvas&&(ik(),ot.canvas.parentNode?.removeChild(ot.canvas),ot={})}var Wo={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},on=6;function Ux(e,{x:t,y:r,w:n,h:o,r:i}){t=t-n/2,r=r-o/2,n<2*i&&(i=n/2),o<2*i&&(i=o/2),e.beginPath(),e.moveTo(t+i,r),e.arcTo(t+n,r,t+n,r+o,i),e.arcTo(t+n,r+o,t,r+o,i),e.arcTo(t,r+o,t,r,i),e.arcTo(t,r,t+n,r,i),e.closePath()}function Rue(e,{padding:t,border:r,width:n,height:o,top:i,left:a}){let s=n-r.left-r.right-t.left-t.right,u=o-t.top-t.bottom-r.top-r.bottom,l=a+r.left+t.left,c=i+r.top+t.top;return e==="top"?l+=s/2:e==="right"?(l+=s,c+=u/2):e==="bottom"?(l+=s/2,c+=u):e==="left"?c+=u/2:e==="center"&&(l+=s/2,c+=u/2),{x:l,y:c}}function xue(e,t,{margin:r,border:n,padding:o},i,a){let s=f=>0,u=0,l=0,c=a?1:.5,d=a?i*2:0;return e==="padding"?s=f=>o[f]*c+d:e==="border"?s=f=>o[f]+n[f]*c+d:e==="margin"&&(s=f=>o[f]+n[f]+r[f]*c+d),t==="top"?l=-s("top"):t==="right"?u=s("right"):t==="bottom"?l=s("bottom"):t==="left"&&(u=-s("left")),{offsetX:u,offsetY:l}}function Cue(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function Aue(e,t,r){return e==="top"?t.y=r.y-r.h-on:e==="right"?t.x=r.x+r.w/2+on+t.w/2:e==="bottom"?t.y=r.y+r.h+on:e==="left"&&(t.x=r.x-r.w/2-on-t.w/2),{x:t.x,y:t.y}}function ak(e,t,{x:r,y:n,w:o,h:i},a){return Ux(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Wo[t]}dd`,e.fill(),e.strokeStyle=Wo[t],e.stroke(),e.fillStyle=Wo.text,e.fillText(a,r,n),Ux(e,{x:r,y:n,w:o,h:i,r:3}),e.fillStyle=`${Wo[t]}dd`,e.fill(),e.strokeStyle=Wo[t],e.stroke(),e.fillStyle=Wo.text,e.fillText(a,r,n),{x:r,y:n,w:o,h:i}}function sk(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,o=r.width+on*2,i=n+on*2;return{w:o,h:i}}function Pue(e,t,{type:r,position:n="center",text:o},i,a=!1){let{x:s,y:u}=Rue(n,t),{offsetX:l,offsetY:c}=xue(r,n,t,on+1,a);s+=l,u+=c;let{w:d,h:f}=sk(e,o);if(i&&Cue({x:s,y:u,w:d,h:f},i)){let p=Aue(n,{x:s,y:u,w:d},i);s=p.x,u=p.y}return ak(e,r,{x:s,y:u,w:d,h:f},o)}function Tue(e,{w:t,h:r}){let n=t*.5+on,o=r*.5+on;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*o}}function Oue(e,t,{type:r,text:n}){let{floatingAlignment:o,extremities:i}=t,a=i[o.x],s=i[o.y],{w:u,h:l}=sk(e,n),{offsetX:c,offsetY:d}=Tue(o,{w:u,h:l});return a+=c,s+=d,ak(e,r,{x:a,y:s,w:u,h:l},n)}function nu(e,t,r,n){let o=[];r.forEach((i,a)=>{let s=n&&i.position==="center"?Oue(e,t,i):Pue(e,t,i,o[a-1],n);o[a]=s})}function $ue(e,t,r,n){let o=r.reduce((i,a)=>(Object.prototype.hasOwnProperty.call(i,a.position)||(i[a.position]=[]),i[a.position]?.push(a),i),{});o.top&&nu(e,t,o.top,n),o.right&&nu(e,t,o.right,n),o.bottom&&nu(e,t,o.bottom,n),o.left&&nu(e,t,o.left,n),o.center&&nu(e,t,o.center,n)}var wh={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},Vx=30;function Gt(e){return parseInt(e.replace("px",""),10)}function ai(e){return Number.isInteger(e)?e:e.toFixed(2)}function R1(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function que(e){let t={top:he.window.scrollY,bottom:he.window.scrollY+he.window.innerHeight,left:he.window.scrollX,right:he.window.scrollX+he.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}function kue(e){let t=he.getComputedStyle(e),{top:r,left:n,right:o,bottom:i,width:a,height:s}=e.getBoundingClientRect(),{marginTop:u,marginBottom:l,marginLeft:c,marginRight:d,paddingTop:f,paddingBottom:p,paddingLeft:h,paddingRight:m,borderBottomWidth:v,borderTopWidth:g,borderLeftWidth:E,borderRightWidth:_}=t;r=r+he.window.scrollY,n=n+he.window.scrollX,i=i+he.window.scrollY,o=o+he.window.scrollX;let x={top:Gt(u),bottom:Gt(l),left:Gt(c),right:Gt(d)},S={top:Gt(f),bottom:Gt(p),left:Gt(h),right:Gt(m)},y={top:Gt(g),bottom:Gt(v),left:Gt(E),right:Gt(_)},b={top:r-x.top,bottom:i+x.bottom,left:n-x.left,right:o+x.right};return{margin:x,padding:S,border:y,top:r,left:n,bottom:i,right:o,width:a,height:s,extremities:b,floatingAlignment:que(b)}}function Mue(e,{margin:t,width:r,height:n,top:o,left:i,bottom:a,right:s}){let u=n+t.bottom+t.top;e.fillStyle=wh.margin,e.fillRect(i,o-t.top,r,t.top),e.fillRect(s,o-t.top,t.right,u),e.fillRect(i,a,r,t.bottom),e.fillRect(i-t.left,o-t.top,t.left,u);let l=[{type:"margin",text:ai(t.top),position:"top"},{type:"margin",text:ai(t.right),position:"right"},{type:"margin",text:ai(t.bottom),position:"bottom"},{type:"margin",text:ai(t.left),position:"left"}];return R1(l)}function Nue(e,{padding:t,border:r,width:n,height:o,top:i,left:a,bottom:s,right:u}){let l=n-r.left-r.right,c=o-t.top-t.bottom-r.top-r.bottom;e.fillStyle=wh.padding,e.fillRect(a+r.left,i+r.top,l,t.top),e.fillRect(u-t.right-r.right,i+t.top+r.top,t.right,c),e.fillRect(a+r.left,s-t.bottom-r.bottom,l,t.bottom),e.fillRect(a+r.left,i+t.top+r.top,t.left,c);let d=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return R1(d)}function Iue(e,{border:t,width:r,height:n,top:o,left:i,bottom:a,right:s}){let u=n-t.top-t.bottom;e.fillStyle=wh.border,e.fillRect(i,o,r,t.top),e.fillRect(i,a-t.bottom,r,t.bottom),e.fillRect(i,o+t.top,t.left,u),e.fillRect(s-t.right,o+t.top,t.right,u);let l=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return R1(l)}function jue(e,{padding:t,border:r,width:n,height:o,top:i,left:a}){let s=n-r.left-r.right-t.left-t.right,u=o-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=wh.content,e.fillRect(a+r.left+t.left,i+r.top+t.top,s,u),[{type:"content",position:"center",text:`${ai(s)} x ${ai(u)}`}]}function Due(e){return t=>{if(e&&t){let r=kue(e),n=Mue(t,r),o=Nue(t,r),i=Iue(t,r),a=jue(t,r),s=r.width<=Vx*3||r.height<=Vx;$ue(t,r,[...a,...o,...i,...n],s)}}}function Lue(e){Eue(Due(e))}var Fue=(e,t)=>{let r=he.document.elementFromPoint(e,t),n=o=>{if(o&&o.shadowRoot){let i=o.shadowRoot.elementFromPoint(e,t);return o.isEqualNode(i)?o:i.shadowRoot?n(i):i}return o};return n(r)||r},Wx,$d={x:0,y:0};function Gx(e,t){Wx=Fue(e,t),Lue(Wx)}var Bue=(e,t)=>{let{measureEnabled:r}=t.globals||{},n=r&&!t.parameters?.measure?.disable;return mc(()=>{if(typeof globalThis.document>"u")return;let o=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),$d.x=i.clientX,$d.y=i.clientY})};return globalThis.document.addEventListener("pointermove",o),()=>{globalThis.document.removeEventListener("pointermove",o)}},[]),mc(()=>{let o=a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),Gx(a.clientX,a.clientY)})},i=()=>{window.requestAnimationFrame(()=>{_ue()})};return t.viewMode==="story"&&n&&(globalThis.document.addEventListener("pointerover",o),wue(),globalThis.window.addEventListener("resize",i),Gx($d.x,$d.y)),()=>{globalThis.window.removeEventListener("resize",i),Sue()}},[n,t.viewMode]),e()};globalThis.FEATURES?.measure;var Kx=e=>{(Array.isArray(e)?e:[e]).forEach(zue)},zue=e=>{let t=typeof e=="string"?e:e.join(""),r=he.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},Hue=(e,t)=>{let r=he.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=he.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,he.document.head.appendChild(n)}};function Uue(e){return Zi`
989
- ${e} body {
990
- outline: 1px solid #2980b9 !important;
991
- }
992
-
993
- ${e} article {
994
- outline: 1px solid #3498db !important;
995
- }
996
-
997
- ${e} nav {
998
- outline: 1px solid #0088c3 !important;
999
- }
1000
-
1001
- ${e} aside {
1002
- outline: 1px solid #33a0ce !important;
1003
- }
1004
-
1005
- ${e} section {
1006
- outline: 1px solid #66b8da !important;
1007
- }
1008
-
1009
- ${e} header {
1010
- outline: 1px solid #99cfe7 !important;
1011
- }
1012
-
1013
- ${e} footer {
1014
- outline: 1px solid #cce7f3 !important;
1015
- }
1016
-
1017
- ${e} h1 {
1018
- outline: 1px solid #162544 !important;
1019
- }
1020
-
1021
- ${e} h2 {
1022
- outline: 1px solid #314e6e !important;
1023
- }
1024
-
1025
- ${e} h3 {
1026
- outline: 1px solid #3e5e85 !important;
1027
- }
1028
-
1029
- ${e} h4 {
1030
- outline: 1px solid #449baf !important;
1031
- }
1032
-
1033
- ${e} h5 {
1034
- outline: 1px solid #c7d1cb !important;
1035
- }
1036
-
1037
- ${e} h6 {
1038
- outline: 1px solid #4371d0 !important;
1039
- }
1040
-
1041
- ${e} main {
1042
- outline: 1px solid #2f4f90 !important;
1043
- }
1044
-
1045
- ${e} address {
1046
- outline: 1px solid #1a2c51 !important;
1047
- }
1048
-
1049
- ${e} div {
1050
- outline: 1px solid #036cdb !important;
1051
- }
1052
-
1053
- ${e} p {
1054
- outline: 1px solid #ac050b !important;
1055
- }
1056
-
1057
- ${e} hr {
1058
- outline: 1px solid #ff063f !important;
1059
- }
1060
-
1061
- ${e} pre {
1062
- outline: 1px solid #850440 !important;
1063
- }
1064
-
1065
- ${e} blockquote {
1066
- outline: 1px solid #f1b8e7 !important;
1067
- }
1068
-
1069
- ${e} ol {
1070
- outline: 1px solid #ff050c !important;
1071
- }
1072
-
1073
- ${e} ul {
1074
- outline: 1px solid #d90416 !important;
1075
- }
1076
-
1077
- ${e} li {
1078
- outline: 1px solid #d90416 !important;
1079
- }
1080
-
1081
- ${e} dl {
1082
- outline: 1px solid #fd3427 !important;
1083
- }
1084
-
1085
- ${e} dt {
1086
- outline: 1px solid #ff0043 !important;
1087
- }
1088
-
1089
- ${e} dd {
1090
- outline: 1px solid #e80174 !important;
1091
- }
1092
-
1093
- ${e} figure {
1094
- outline: 1px solid #ff00bb !important;
1095
- }
1096
-
1097
- ${e} figcaption {
1098
- outline: 1px solid #bf0032 !important;
1099
- }
1100
-
1101
- ${e} table {
1102
- outline: 1px solid #00cc99 !important;
1103
- }
1104
-
1105
- ${e} caption {
1106
- outline: 1px solid #37ffc4 !important;
1107
- }
1108
-
1109
- ${e} thead {
1110
- outline: 1px solid #98daca !important;
1111
- }
1112
-
1113
- ${e} tbody {
1114
- outline: 1px solid #64a7a0 !important;
1115
- }
1116
-
1117
- ${e} tfoot {
1118
- outline: 1px solid #22746b !important;
1119
- }
1120
-
1121
- ${e} tr {
1122
- outline: 1px solid #86c0b2 !important;
1123
- }
1124
-
1125
- ${e} th {
1126
- outline: 1px solid #a1e7d6 !important;
1127
- }
1128
-
1129
- ${e} td {
1130
- outline: 1px solid #3f5a54 !important;
1131
- }
1132
-
1133
- ${e} col {
1134
- outline: 1px solid #6c9a8f !important;
1135
- }
1136
-
1137
- ${e} colgroup {
1138
- outline: 1px solid #6c9a9d !important;
1139
- }
1140
-
1141
- ${e} button {
1142
- outline: 1px solid #da8301 !important;
1143
- }
1144
-
1145
- ${e} datalist {
1146
- outline: 1px solid #c06000 !important;
1147
- }
1148
-
1149
- ${e} fieldset {
1150
- outline: 1px solid #d95100 !important;
1151
- }
1152
-
1153
- ${e} form {
1154
- outline: 1px solid #d23600 !important;
1155
- }
1156
-
1157
- ${e} input {
1158
- outline: 1px solid #fca600 !important;
1159
- }
1160
-
1161
- ${e} keygen {
1162
- outline: 1px solid #b31e00 !important;
1163
- }
1164
-
1165
- ${e} label {
1166
- outline: 1px solid #ee8900 !important;
1167
- }
1168
-
1169
- ${e} legend {
1170
- outline: 1px solid #de6d00 !important;
1171
- }
1172
-
1173
- ${e} meter {
1174
- outline: 1px solid #e8630c !important;
1175
- }
1176
-
1177
- ${e} optgroup {
1178
- outline: 1px solid #b33600 !important;
1179
- }
1180
-
1181
- ${e} option {
1182
- outline: 1px solid #ff8a00 !important;
1183
- }
1184
-
1185
- ${e} output {
1186
- outline: 1px solid #ff9619 !important;
1187
- }
1188
-
1189
- ${e} progress {
1190
- outline: 1px solid #e57c00 !important;
1191
- }
1192
-
1193
- ${e} select {
1194
- outline: 1px solid #e26e0f !important;
1195
- }
1196
-
1197
- ${e} textarea {
1198
- outline: 1px solid #cc5400 !important;
1199
- }
1200
-
1201
- ${e} details {
1202
- outline: 1px solid #33848f !important;
1203
- }
1204
-
1205
- ${e} summary {
1206
- outline: 1px solid #60a1a6 !important;
1207
- }
1208
-
1209
- ${e} command {
1210
- outline: 1px solid #438da1 !important;
1211
- }
1212
-
1213
- ${e} menu {
1214
- outline: 1px solid #449da6 !important;
1215
- }
1216
-
1217
- ${e} del {
1218
- outline: 1px solid #bf0000 !important;
1219
- }
1220
-
1221
- ${e} ins {
1222
- outline: 1px solid #400000 !important;
1223
- }
1224
-
1225
- ${e} img {
1226
- outline: 1px solid #22746b !important;
1227
- }
1228
-
1229
- ${e} iframe {
1230
- outline: 1px solid #64a7a0 !important;
1231
- }
1232
-
1233
- ${e} embed {
1234
- outline: 1px solid #98daca !important;
1235
- }
1236
-
1237
- ${e} object {
1238
- outline: 1px solid #00cc99 !important;
1239
- }
1240
-
1241
- ${e} param {
1242
- outline: 1px solid #37ffc4 !important;
1243
- }
1244
-
1245
- ${e} video {
1246
- outline: 1px solid #6ee866 !important;
1247
- }
1248
-
1249
- ${e} audio {
1250
- outline: 1px solid #027353 !important;
1251
- }
1252
-
1253
- ${e} source {
1254
- outline: 1px solid #012426 !important;
1255
- }
1256
-
1257
- ${e} canvas {
1258
- outline: 1px solid #a2f570 !important;
1259
- }
1260
-
1261
- ${e} track {
1262
- outline: 1px solid #59a600 !important;
1263
- }
1264
-
1265
- ${e} map {
1266
- outline: 1px solid #7be500 !important;
1267
- }
1268
-
1269
- ${e} area {
1270
- outline: 1px solid #305900 !important;
1271
- }
1272
-
1273
- ${e} a {
1274
- outline: 1px solid #ff62ab !important;
1275
- }
1276
-
1277
- ${e} em {
1278
- outline: 1px solid #800b41 !important;
1279
- }
1280
-
1281
- ${e} strong {
1282
- outline: 1px solid #ff1583 !important;
1283
- }
1284
-
1285
- ${e} i {
1286
- outline: 1px solid #803156 !important;
1287
- }
1288
-
1289
- ${e} b {
1290
- outline: 1px solid #cc1169 !important;
1291
- }
1292
-
1293
- ${e} u {
1294
- outline: 1px solid #ff0430 !important;
1295
- }
1296
-
1297
- ${e} s {
1298
- outline: 1px solid #f805e3 !important;
1299
- }
1300
-
1301
- ${e} small {
1302
- outline: 1px solid #d107b2 !important;
1303
- }
1304
-
1305
- ${e} abbr {
1306
- outline: 1px solid #4a0263 !important;
1307
- }
1308
-
1309
- ${e} q {
1310
- outline: 1px solid #240018 !important;
1311
- }
1312
-
1313
- ${e} cite {
1314
- outline: 1px solid #64003c !important;
1315
- }
1316
-
1317
- ${e} dfn {
1318
- outline: 1px solid #b4005a !important;
1319
- }
1320
-
1321
- ${e} sub {
1322
- outline: 1px solid #dba0c8 !important;
1323
- }
1324
-
1325
- ${e} sup {
1326
- outline: 1px solid #cc0256 !important;
1327
- }
1328
-
1329
- ${e} time {
1330
- outline: 1px solid #d6606d !important;
1331
- }
1332
-
1333
- ${e} code {
1334
- outline: 1px solid #e04251 !important;
1335
- }
1336
-
1337
- ${e} kbd {
1338
- outline: 1px solid #5e001f !important;
1339
- }
1340
-
1341
- ${e} samp {
1342
- outline: 1px solid #9c0033 !important;
1343
- }
1344
-
1345
- ${e} var {
1346
- outline: 1px solid #d90047 !important;
1347
- }
1348
-
1349
- ${e} mark {
1350
- outline: 1px solid #ff0053 !important;
1351
- }
1352
-
1353
- ${e} bdi {
1354
- outline: 1px solid #bf3668 !important;
1355
- }
1356
-
1357
- ${e} bdo {
1358
- outline: 1px solid #6f1400 !important;
1359
- }
1360
-
1361
- ${e} ruby {
1362
- outline: 1px solid #ff7b93 !important;
1363
- }
1364
-
1365
- ${e} rt {
1366
- outline: 1px solid #ff2f54 !important;
1367
- }
1368
-
1369
- ${e} rp {
1370
- outline: 1px solid #803e49 !important;
1371
- }
1372
-
1373
- ${e} span {
1374
- outline: 1px solid #cc2643 !important;
1375
- }
1376
-
1377
- ${e} br {
1378
- outline: 1px solid #db687d !important;
1379
- }
1380
-
1381
- ${e} wbr {
1382
- outline: 1px solid #db175b !important;
1383
- }`}var Vue=(e,t)=>{let r=t.globals||{},n=!t.parameters?.[yE]?.disable&&[!0,"true"].includes(r[yE]),o=t.viewMode==="docs",i=Que(()=>Uue(o?'[data-story-block="true"]':".sb-show-main"),[t]);return mc(()=>{let a=o?`addon-outline-docs-${t.id}`:"addon-outline";return n?Hue(a,i):Kx(a),()=>{Kx(a)}},[n,i,t]),e()};globalThis.FEATURES?.outline;var lk=Xn({name:we(),message:we()}),Wue=Xn({id:we(),name:we(),snippet:ut(we()),description:ut(we()),summary:ut(we()),warning:ut(we()),error:ut(lk)}),Gue=Xn({id:we(),name:we(),path:we(),import:ut(we()),stories:Kp(we(),Wue),error:ut(lk)});ut(Gue);var Kue=class{constructor(){this.getChannel=()=>{if(this.channel)return this.channel;let e=Cb();return e?(this.channel=e,this.resolve(),this.channel):KV()},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel||!!Cb(),this.setChannel=e=>{this.channel=e,zT(e),this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},sg="__STORYBOOK_ADDONS_PREVIEW";function Yue(){return globalThis[sg]||(globalThis[sg]=new Kue),globalThis[sg]}var Sv=Yue(),Zue=(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),uk=()=>new Error(`Storybook preview hooks can only be called inside decorators and story functions.
1384
-
1385
- When combining Storybook hooks (e.g. useArgs) with framework hooks (e.g. React's useState, useEffect, useRef) in the same render function, use Storybook's equivalents from 'storybook/preview-api' instead: useState, useEffect, useRef, useMemo, useCallback, useReducer.`);function Jue(){return he.STORYBOOK_HOOKS_CONTEXT||null}function ck(){let e=Jue();if(e==null)throw uk();return e}function Xue(e,t,r){let n=ck();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&mu.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&mu.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&mu.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&mu.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
1386
- Previous: ${o.deps}
1387
- Incoming: ${r}`),(r==null||o.deps==null||!Zue(r,o.deps))&&(t(o),o.deps=r),o}throw uk()}function dk(e,t,r){let{memoizedState:n}=Xue(e,o=>{o.memoizedState=t()},r);return n}function Que(e,t){return dk("useMemo",e,t)}function mc(e,t){let r=ck(),n=dk("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}rr(rO());var ece=rr(rO());(0,ece.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{}));Zi`
1388
- CSF .story annotations deprecated; annotate story functions directly:
1389
- - StoryFn.story.name => StoryFn.storyName
1390
- - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
1391
- See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
1392
- `;function tce(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var rce=e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]};function Yx(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var nce=(e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&_t.warn(Zi`
1393
- CSF Auto-title received a numeric fileName. This typically happens when
1394
- webpack is mis-configured in production mode. To force webpack to produce
1395
- filenames, set optimization.moduleIds = "named" in your webpack config.
1396
- `);let a=tce(String(e));if(o.exec(a)){if(!r){let s=a.replace(n,""),u=Yx([i,s]).split("/");return u=rce(u),u.join("/")}return i?Yx([i,r]):r}},Zx=/\s*\/\s*/,oce=(e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(Zx),a=r.title.trim().split(Zx);e.includeNames&&(i.push(t.name),a.push(r.name));let s=0;for(;i[s]||a[s];){if(!i[s])return-1;if(!a[s])return 1;let u=i[s],l=a[s];if(u!==l){let d=o.indexOf(u),f=o.indexOf(l),p=o.indexOf("*");return d!==-1||f!==-1?(d===-1&&(p!==-1?d=p:d=o.length),f===-1&&(p!==-1?f=p:f=o.length),d-f):n==="configure"?0:u.localeCompare(l,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let c=o.indexOf(u);c===-1&&(c=o.indexOf("*")),o=c!==-1&&Array.isArray(o[c+1])?o[c+1]:[],s+=1}return 0},ice=(e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=oce(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},nwe=(e,t,r)=>{try{return ice(e,t,r)}catch(n){throw new Error(Zi`
1397
- Error sorting stories with sort parameter ${t}:
1398
-
1399
- > ${n.message}
1400
-
1401
- Are you using a V6-style sort function in V7 mode?
1402
-
1403
- More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
1404
- `)}},{fetch:owe}=he,ace=new Set(["area","base","body","head","link","map","meta","nobr","optgroup","option","script","style","template","title","track","wbr"]);`${Array.from(ace).map(e=>`:not(${e})`).join("")}`;var{history:iwe,document:awe}=he,sce=rr(zV()),{document:swe}=he;new sce.default({escapeXML:!0});var{document:lwe}=he;let lg=null;async function lce(){let e;try{e=await import(TV)}catch(t){throw new Error(`The story runtime failed to load from the project module graph — is \`@storybook/react\` installed in the project? (${String(t instanceof Error?t.message:t)})`)}for(const t of["composeStories","setProjectAnnotations","createRoot","flushSync"])if(typeof e[t]!="function")throw new Error(`The packaged story runtime did not export ${t} as a function — see vite-plugin-module-doorways.ts.`);return{composeStories:e.composeStories,setProjectAnnotations:e.setProjectAnnotations,createRoot:e.createRoot,flushSync:e.flushSync}}async function x1(){return lg||(lg=lce()),lg}let Jx=null;function uwe(e){return Jx??=x1().then(t=>{t.setProjectAnnotations(e??[])}),Jx}function uce(e){if(!e||typeof e!="function"&&typeof e!="object")return;const t=e.displayName;return typeof t=="string"?t:typeof e=="function"&&e.name?e.name:void 0}async function cwe(e,t){const r=t??{};if(r.default===null||typeof r.default!="object")return{ok:!1,error:`[stories] ${e} has no default export — every CSF file exports \`export default { title, component, ... } satisfies Meta<...>\` (see the template example: src/ui/Button.stories.tsx). Skipped.`};let n;try{n=(await x1()).composeStories(r)}catch(l){return{ok:!1,error:`[stories] ${e} failed to compose — ${String(l instanceof Error?l.message:l)}`}}const o=r.default,i=typeof o.title=="string"?o.title:void 0,a=uce(o.component),s=l=>l.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[-_]+/g," ").trim(),u=Object.entries(n).filter(l=>typeof l[1]=="function").map(([l,c])=>{const d=c,f=r[l],p=f&&typeof f=="object"?f:null,h=o.globals&&typeof o.globals=="object"?o.globals:null,m=p?.globals&&typeof p.globals=="object"?p.globals:null,v=p?.name;return{name:l,id:typeof d.id=="string"?d.id:l,label:typeof v=="string"?v:s(typeof d.storyName=="string"?d.storyName:l),...i?{title:i}:{},...a?{componentName:a}:{},tags:Array.isArray(d.tags)?d.tags.filter(g=>typeof g=="string"):[],parameters:d.parameters&&typeof d.parameters=="object"?d.parameters:{},globals:d.globals&&typeof d.globals=="object"?{...d.globals}:{},viewportLocked:Object.hasOwn(h??{},"viewport")||Object.hasOwn(m??{},"viewport"),args:d.args&&typeof d.args=="object"?{...d.args}:{},Component:c}});return u.length===0?{ok:!1,error:`[stories] ${e} exports no named stories — a CSF file needs at least one named export alongside the default Meta export (see src/ui/Button.stories.tsx). Skipped.`}:{ok:!0,stories:u}}function cce(e){let t="",r=0;for(;r<e.length;){const n=e[r];if(n==="*"){if(e[r+1]==="*"){t+=e[r+2]==="/"?"(?:.*/)?":".*",r+=e[r+2]==="/"?3:2;continue}t+="[^/]*",r+=1;continue}if(n==="?"){t+="[^/]",r+=1;continue}t+=n.replace(/[.+^${}()|[\]\\]/g,"\\$&"),r+=1}return new RegExp(`^${t}$`)}function Xx(e){return e.replaceAll("\\","/").replace(/^\.\//,"").replace(/^\//,"")}function Qx(e,t){const r=Xx(e);return t.some(n=>cce(Xx(n)).test(r))}function dce(e,t){if(e===void 0)return;const r=[];for(const n of t){n.include!==void 0&&Qx(e,n.include)&&r.push({surface:n.surface,regionId:n.id});for(const o of n.mounts??[])Qx(e,o.include)&&r.push({surface:o.surface,regionId:n.id})}return r.length===1?r[0]:void 0}function fce(e,t,r){const n=new Set([e]),o=new Set;let i=[e];for(let a=0;a<64&&i.length>0;a++){const s=[];for(const u of i)for(const l of t(u)??[]){if(!l||n.has(l))continue;n.add(l);const c=r(l);c?o.add(c.surface):s.push(l)}i=s}return o}function pce(e){const t=e.regions??[],r=dce(e.projectRelative,t);if(r)return{surface:r.surface,regionId:r.regionId,via:"declared-include",reached:[]};const n=e.regionOfEntry(e.file);if(n)return{surface:n.surface,regionId:n.id,via:"root-entry",reached:[]};const o=e.importersOf?[...fce(e.file,e.importersOf,e.regionOfEntry)]:[];return o.length===1?{surface:o[0],via:"import-graph",reached:o}:{via:"ambiguous",reached:o,ambiguity:o.length>1?"differing-surfaces":"unreached"}}function gc(e){return e.replaceAll("\\","/").replace(/^\.\//,"").replace(/^\//,"")}function hce(e){const t=new Map;for(const r of e)r.entry&&t.set(gc(r.entry),r);return r=>t.get(gc(r))}function mce(e,t){const r=gc(e);return pce({file:r,projectRelative:r,regions:t,regionOfEntry:hce(t)})}function gce(e,t){let r;for(const n of t){if(!n.entry)continue;const o=gc(n.entry),i=o.includes("/")?o.slice(0,o.lastIndexOf("/")+1):"";i===""||i==="src/"||!e.startsWith(i)||(r===void 0||i.length>r.depth)&&(r={region:n,depth:i.length})}return r?.region}function e4(e){return e==="stage"||e==="canvas"||e==="dom"?e:void 0}function bce(e){if(e.via==="declared-include")return"declared-include";if(e.via==="root-entry")return"root-entry"}function dwe(e){const t=e.regions??[],r=e.modulePath?gc(e.modulePath):"";if(!r)return{via:"undeclared",reason:"story has no module path"};const n=mce(r,t),o=e4(n.surface),i=bce(n);if(o&&i)return{medium:o,via:i};const a=gce(r,t),s=e4(a?.surface);return s?{medium:s,via:"root-folder"}:{via:"undeclared",reason:`${r} is not named by a region include/mount, is not a manifest root entry and is not in a root entry's folder`}}const vce=/\.stories\.[jt]sx?$/i;function ug(e){const{root:t,groups:r}=yW(e,{rootSeparator:"|",groupSeparator:"/"});return[...t?[t]:[],...r].map(n=>n.trim()).filter(Boolean)}function yce(e){const t=e.replaceAll("\\","/").replace(/^\.\//,""),r=t.lastIndexOf("/src/");return{directory:t.startsWith("src/")?"src":r>=0?t.slice(0,r+4):t.slice(0,Math.max(0,t.lastIndexOf("/"))),files:"**/*.stories.@(js|jsx|mjs|ts|tsx)",titlePrefix:"",importPathMatcher:vce}}function fwe(e){const t=e.modulePath.replaceAll("\\","/").replace(/^\.\//,""),r=e.title&&ug(e.title).length>0?e.title:void 0,n=nce(t,yce(t),r),o=n?ug(n):r?ug(r):[t];return{segments:o.slice(0,-1),leaf:o.at(-1)??e.modulePath}}function pwe(e){return[...e.segments,e.leaf].join("/")}const up=Object.freeze({id:"kit",title:"Studio",lights:[{color:"#fff3dd",intensity:1.9,direction:[-6,-10,4],space:"world",castShadow:!0},{color:"#ffffff",intensity:1,direction:[-10,-20,-10],space:"world"}],ambient:{color:"#ffffff",intensity:.5},environmentIntensity:1}),En=Object.freeze({drawMode:"solid",lighting:{source:"studio",auto:{takeover:["light"]},studioPreset:up.id,preview:{sceneLights:!0,sun:{enabled:!0,color:"#ffffff",energy:1,altitude:60,azimuth:150,shadowDistance:100},environment:{enabled:!0,sky:{top:"#62748c",horizon:"#a9abaf",ground:"#332b22",topCurve:.15,groundCurve:.02,clouds:null},image:null,energy:1,rotation:0}},tone:{mapper:"aces",exposure:1}},backdrop:{source:"fill",color:"#3d3d3d",opacity:0,blur:0},xray:{enabled:!1,alpha:1},overlays:{grid:{visible:!0,majorEvery:10},selection:{outline:!0,wire:!1,box:!1,origins:!1},axes:"floor",navigation:"interactive",navigationControls:!0,cameraReadout:!0,floor:{visible:!1,color:"#2b3038"},drafting:{rulers:!0,guides:!0,origin:!0,viewport:!0,gridWhenSnapping:!0,position:!0,lock:!0,group:!0,transformation:!0}},interaction:{bootTool:"transform",boxSelect:"contain",transformHandles:{scale:!0,viewRotate:!0,freeMove:!0}},world:{upAxis:"y",handedness:"right"},camera:{fov:{degrees:50,axis:"vertical"},opening:[.6301,.4537,.6301]}}),t4=Object.freeze({id:"document",title:"Document's studio",lights:[],ambient:{color:"#ffffff",intensity:0},environmentIntensity:0}),si=new Map([[up.id,up],[t4.id,t4]]);function hwe(e){if(si.has(e.id))throw new Error(`registerStudioPreset: "${e.id}" is already registered.`);return si.set(e.id,e),Yn(),()=>{si.get(e.id)===e&&(si.delete(e.id),Yn())}}function mwe(e){return si.get(e)??up}function gwe(){return[...si.values()]}function wce(e){return hk(e).overlays.grid.visible}function bwe(e){return hk(e).overlays.drafting}function vwe(e,t){fk(e,{overlays:{drafting:t}})}function ywe(e,t){wce(e)!==t&&fk(e,{overlays:{grid:{visible:t}}})}const go=new Map;function wwe(e,t){if(go.has(e))throw new Error(`registerStartingPresentation: the "${e}" stage already has starting values.`);return go.set(e,t),Yn(),()=>{go.get(e)===t&&(go.delete(e),Yn())}}const er=new Map;function Ewe(e){return go.get(e)??null}function _we(e){const t=go.get(e)?.modes;return t!==void 0&&Object.values(t).some(r=>r?.lighting!==void 0)}function Swe(e,t,r=null){const n=er.get(e);n&&n.stageKind===t&&n.documentLayer===r||(er.set(e,{stageKind:t,documentLayer:r,chosen:n?.chosen??{}}),Yn())}function fk(e,t){const r=er.get(e)??{stageKind:"",documentLayer:null,chosen:{}};er.set(e,{...r,chosen:_ce(r.chosen,t)}),Yn()}function Rwe(e){const t=er.get(e);t&&(er.set(e,{...t,chosen:{}}),Yn())}function xwe(e){return er.get(e)?.chosen??{}}function Cwe(e,t){const r=er.get(e)??{stageKind:"",documentLayer:null,chosen:{}};er.set(e,{...r,chosen:t}),Yn()}function Awe(e){const t=er.get(e);return t&&t.stageKind!==""?{stageKind:t.stageKind,documentLayer:t.documentLayer}:null}const pk=new Map;function Pwe(e,t){pk.set(e,t)}function Twe(e){return pk.get(e)??null}function Owe(){return[...er.entries()].filter(([,e])=>e.stageKind!=="").map(([e,t])=>({viewId:e,stageKind:t.stageKind}))}function hk(e){const t=er.get(e),r=[go.get(t?.stageKind??""),t?.documentLayer??void 0,t?.chosen].filter(n=>n!==void 0);return Ece(r)}function Ece(e){const t=e.reduce((s,u)=>u.drawMode??s,En.drawMode);let r={lighting:En.lighting,backdrop:En.backdrop,xray:En.xray},n=En.overlays,o=En.interaction,i=En.world,a=En.camera;for(const s of e){s.all&&(r=Tn(r,s.all));const u=s.modes?.[t];u&&(r=Tn(r,u)),s.overlays&&(n=Tn(n,s.overlays)),s.interaction&&(o=Tn(o,s.interaction)),s.world&&(i=Tn(i,s.world)),s.camera&&(a=Tn(a,s.camera))}return{drawMode:t,lighting:r.lighting,backdrop:r.backdrop,xray:r.xray,overlays:n,interaction:o,world:i,camera:a}}let mk=0;const Rv=new Set;function Yn(){mk+=1;for(const e of Rv)e()}function $we(e){return Rv.add(e),()=>Rv.delete(e)}function qwe(){return mk}function qd(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Tn(e,t){if(!qd(e)||!qd(t))return t===void 0?e:t;const r={...e};for(const[n,o]of Object.entries(t))o!==void 0&&(r[n]=qd(o)&&qd(r[n])?Tn(r[n],o):o);return r}function _ce(e,t){return Tn(e,t)}const xv=new Set;function kwe(e){return xv.add(e),()=>xv.delete(e)}function Mwe(e,t){for(const r of xv){const n=r(e,t);if(n)return n}return null}const Sce=["glb","gltf","fbx","obj","dae","stl","ply","3ds"],Rce=["blend","usd","usda","usdc"],xce=["png","jpg","jpeg","webp","gif","svg"],Cce=["hdr","exr"],Ace=["mp3","ogg","wav","flac"],Pce=["mp4","webm"],Tce=["cube"],Oce=["glsl","vert","frag"],$ce=["txt","md","ts","tsx","js","jsx","css","html","mtl","csv","xml","yaml","yml"];function qt(e,t){return[e,{format:e,...t}]}const r4={kind:"source",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!1,editor:"model"},Cv=new Map([...Sce.map(e=>qt(e,{...r4,kind:e==="glb"||e==="gltf"?"model":"source",runtimeReady:e==="glb"||e==="gltf",placeable:e==="glb"||e==="gltf"})),qt("spz",{kind:"model",previewable:!0,importable:!0,runtimeReady:!0,placeable:!0,animated:!1,editor:"model"}),qt("bvh",{kind:"source",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!0,editor:"model"}),...Rce.map(e=>qt(e,{...r4,previewable:!1,editor:"source"})),...xce.map(e=>qt(e,{kind:"image",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:e==="gif",editor:"image"})),...Cce.map(e=>qt(e,{kind:"image",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"environment"})),...Ace.map(e=>qt(e,{kind:"audio",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"audio"})),...Pce.map(e=>qt(e,{kind:"video",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!0,editor:"video"})),...Tce.map(e=>qt(e,{kind:"source",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"source"})),...Oce.map(e=>qt(e,{kind:"source",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"source"})),...$ce.map(e=>qt(e,{kind:"source",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!1,editor:"source"})),qt("inputmap.json",{kind:"json",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"data"}),qt("data.json",{kind:"json",previewable:!0,importable:!0,runtimeReady:!0,placeable:!1,animated:!1,editor:"data"}),qt("json",{kind:"json",previewable:!0,importable:!0,runtimeReady:!1,placeable:!1,animated:!1,editor:"data"})]),qce={format:"unknown",kind:"unknown",previewable:!1,importable:!1,runtimeReady:!1,placeable:!1,animated:!1,editor:"none"};function kce(e){const t=e.split(/[?#]/,1)[0].toLowerCase();for(const o of["inputmap.json","data.json"])if(t.endsWith(`.${o}`))return o;const r=t.lastIndexOf("."),n=r>=0?t.slice(r+1):"";return Cv.has(n)?n:n==="json"?"json":"unknown"}function Mce(e){const t=Cv.get(e.toLowerCase());return t||(Cv.get(kce(e))??qce)}function Nwe(e){switch(e.editor){case"model":return"model";case"image":return"image";case"environment":return"image";case"video":return"video";case"audio":return"audio";case"data":return"json";case"source":return"source";default:return null}}let Xr=[];const Av=new Set;function gk(){for(const e of Av)e()}function Iwe(e){return Av.add(e),()=>{Av.delete(e)}}function jwe(e){const t=Xr.findIndex(r=>r.worldId===e.worldId);if(t===-1)Xr=[...Xr,e];else{const r=[...Xr];r[t]=e,Xr=r}gk()}function Dwe(){return Xr}function Lwe(e){const t=Xr.findIndex(r=>r.worldId===e);t!==-1&&(Xr=Xr.filter((r,n)=>n!==t),gk())}function Fwe(e){return e instanceof Error?e.message:String(e)}let bk=0;function Bwe(){bk++}function zwe(){return bk}function Nce(e){return e==="stage"||e==="canvas"||e==="dom"?e:null}function Ice(e){if(!(e instanceof Io))return null;const t=Ty()?.descriptor;if(!t)return null;const r=e.childAdapters();if(t.kind==="world"){const n=t.provenance?.rootId,o=n?r.find(a=>a.worldId===n):void 0,i=o?Nce(o.kind):null;return o&&i?{adapter:o.adapter,surface:i}:null}if(t.kind==="scene"){const n=r.find(o=>o.kind==="stage"&&o.adapter.capabilities.transform);return n?{adapter:e.projectedDocumentAdapter(n.worldId)??n.adapter,surface:"stage"}:null}return null}function vk(e){const t=X7(),r=hr(e),n=Ice(r),o=Ty()?.descriptor.kind;return{adapter:t?.adapter??n?.adapter??r,surface:o==="story"?"dom":n?.surface??null,documentSelection:t}}function Yc(e){return vk(e).adapter}function jce(e){const t=[];return Wp(Yc(e).hierarchy,r=>{t.push({id:r.id,name:r.label,childIds:[...r.childIds]})}),t}function Dce(e){let t=null;return Wp(e.hierarchy,r=>{const n=r.secondaryLabel?.trim();if(!(r.role!=="document"||!n))return t=n,!1}),t}function Hwe(e){return Dce(hr(e))}function Uwe(e){const t=hr(e);return t.capabilities.persist?t.persistence?.destination??null:null}function Vwe(e){const t=hr(e).persistence;return t?.lastError?.()?"failed":t?.isDirty()?"unsaved":"saved"}function Wwe(e){return hr(e).persistence?.lastError?.()??null}function Gwe(e){const t=Yc(e),r=t.selection?.get()[0]??null;return r?t.truth?.resolve(r,"position").site??null:null}function Kwe(e){const t=Yc(e),r=t.selection?.get()[0]??null;return r?t.truth?.resolve(r,"position").writeAnchorKind??null:null}function Ywe(e){return[...Yc(e).selection?.get()??e.selectedEntityIds]}function Lce(e,t){const r=Yc(e);Gi(r,t)||e.selectMultiple([...t])}function Zwe(e){Lce(e,jce(e).map(t=>t.id))}async function Jwe(e){await TT(hr(e),"the shell saved the active document")}function Fce(e){return`volter.${e}`}class Bce extends Error{constructor(t,r){super(t),this.data=r}name="VerbError"}function Xwe(e,t){for(const[r,n]of Object.entries(t))e.subscriptions.push(e.commands.registerCommand(Fce(r),async o=>{const i=await n({...o,type:r});if(!i.ok)throw new Bce(i.error??`${r} failed`,i.data);return i.data??{}}))}function Qwe(e,t,r){for(const n of r)e.subscriptions.push(e.commands.registerCommand(`volter.${t}.${n.id}`,o=>n.run(o)))}const zce=3e3;function eEe(){const e=new Map,t=new Map,r=new Set;let n=0;const o=(i,a)=>{e.set(i,a),n++;for(const s of r)s()};return{start(i,a,s){o(i,a);let u=a;const l=c=>{u=c,o(i,c)};return t.set(i,s(l).catch(c=>{l({...u,state:"failed",error:c instanceof Error?c.message:String(c)})}).finally(()=>t.delete(i))),a},async status(i){const a=e.get(i);if(!a)throw new Error(`Nothing has started under ${i}.`);return a.state==="rendering"&&await Promise.race([t.get(i),new Promise(s=>setTimeout(s,zce))]),e.get(i)},get:i=>e.get(i)??null,running:()=>[...e.values()].some(i=>i.state==="rendering"),subscribe(i){return r.add(i),()=>{r.delete(i)}},version:()=>n}}const n4="volter.collaboration.participant.v1",Pv=globalThis.__VOLTER_EDITOR_PRESENCE_BOOTSTRAP__;function Hce(){if(Pv?.participantId)return Pv.participantId;const e=globalThis.crypto?.randomUUID?.()??`participant-${Date.now()}`;try{const t=globalThis.localStorage?.getItem(n4);if(t)return t;globalThis.localStorage?.setItem(n4,e)}catch{}return e}const Uce=Hce(),tEe=Pv?.displayName||"Local editor",Vce=Symbol.for("volter.collaboration.revision"),Tv=globalThis[Vce]??={value:0};function Wce(e){Number.isInteger(e)&&e>=Tv.value&&(Tv.value=e)}function wu(){return{participantId:Uce,expectedRevision:Tv.value}}function C1(){return typeof __VOLTER_PROJECT_PATH__<"u"?__VOLTER_PROJECT_PATH__:""}let cp=null;const Ov=new Set;function Gce(){return cp!==null}function _n(){return cp}function rEe(e){if(cp!==e){cp=e;for(const t of Ov)t()}}function Kce(e){return Ov.add(e),()=>{Ov.delete(e)}}async function an(e){const t=e.byteOffset===0&&e.byteLength===e.buffer.byteLength?e.buffer:e.slice().buffer,r=await crypto.subtle.digest("SHA-256",t);return[...new Uint8Array(r)].map(n=>n.toString(16).padStart(2,"0")).join("")}function o4(e){let t="";for(let n=0;n<e.byteLength;n+=32768)t+=String.fromCharCode(...e.subarray(n,n+32768));return btoa(t)}function nEe(e){const t=atob(e),r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}const dp="/__editor";function yk(e){return e.replace(/\\/g,"/").replace(/^\/+/,"").replace(/\/+$/,"")}function ou(e){const t=yk(e);if(!t||t.split("/").includes(".."))throw new Error(`projectFiles: "${e}" is not a project-relative path.`);return t}function Yce(e){const t=yk(e);if(t.split("/").includes(".."))throw new Error(`projectFiles: "${e}" is not a project-relative directory.`);return t}function Zce(e){return new Error(`projectFiles.write("${e}"): the standalone editor has no general project-root write route, and this door does not invent one. Source files are written through \`/__ui-source/apply\` (\`ui-source/source-write-backend.ts\`), \`public/**\` through \`/__editor/save-file\`, \`.volter/**\` through \`/__editor/volter-file\`. Under the Code-OSS frame the workbench file service owns the whole folder and this refusal cannot occur.`)}async function Jce(e){const t=await fetch(`/@fs/${C1()}/${e}`);if(!t.ok)throw new Error(`projectFiles.read "${e}": HTTP ${t.status}`);return t.text()}async function Xce(e){const t=await fetch(`/@fs/${C1()}/${e}`);if(!t.ok)throw new Error(`projectFiles.readBytes "${e}": HTTP ${t.status}`);return new Uint8Array(await t.arrayBuffer())}async function Qce(e){const t=await fetch(`${dp}/file-stat?${new URLSearchParams({path:e})}`);if(t.status===404)return null;if(!t.ok)throw new Error(`projectFiles.stat "${e}": HTTP ${t.status}`);return await t.json()}async function ede(e,t){if(e.startsWith("public/")){const r=typeof t=="string"?{path:e.slice(7),content:t,...wu()}:{path:e.slice(7),content:o4(t),encoding:"base64",...wu()},n=await fetch(`${dp}/save-file`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(Ri(n,`Write ${e} failed`),!n.ok)throw new Error(`projectFiles.write "${e}": HTTP ${n.status}`);return}if(e.startsWith(".volter/")){const r=typeof t=="string"?{path:e,content:t,...wu()}:{path:e,content:o4(t),encoding:"base64",...wu()},n=await fetch(`${dp}/volter-file`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(Ri(n,`Write ${e} failed`),!n.ok)throw new Error(`projectFiles.write "${e}": HTTP ${n.status}`);return}throw Zce(e)}async function tde(e){try{const t=await fetch(`/@fs/${C1()}/${e}`,{method:"HEAD"});return t.ok?!(t.headers.get("content-type")??"").toLowerCase().includes("text/html"):!1}catch{return!1}}async function rde(e){if(!e.startsWith("public"))throw new Error(`projectFiles.list("${e}"): the standalone editor lists only \`public/**\` (\`/__editor/assets\`); source trees are listed by glob through \`/__editor/source-files\` (\`api/project-source.ts\`'s \`listProjectSourceFiles\`).`);const t=e==="public"?"":e.slice(7),r=await fetch(`${dp}/assets?${new URLSearchParams({dir:t})}`),{entries:n}=await No(r,`projectFiles.list "${e}" failed`);return n.map(o=>({name:o.name,path:t?`public/${t}/${o.name}`:`public/${o.name}`,type:o.type==="directory"?"dir":"file"}))}const af={frameOwned:Gce,async read(e){const t=ou(e);return await(_n()?.read(t)??Jce(t))},async readBytes(e){const t=ou(e),r=_n();return await(r?.readBytes?r.readBytes(t):Xce(t))},async write(e,t){const r=ou(e),n=_n();return n?await n.write(r,t):await ede(r,t)},async exists(e){const t=ou(e);return await(_n()?.exists(t)??tde(t))},async stat(e){const t=ou(e),r=_n();return await(r?.stat?r.stat(t):Qce(t))},async list(e){const t=Yce(e),r=_n();return await(r?.list?r.list(t):rde(t))},watch(e){let t=_n()?.watch(e);const r=Kce(()=>{t?.(),t=_n()?.watch(e)});return()=>{r(),t?.()}}};async function nde(e,t){const r=await e.json().catch(()=>null);throw e.status===409&&r?.code==="SOURCE_REVISION_CONFLICT"&&Number.isInteger(r.currentRevision)?new Error(`${t} conflicts with source revision ${r.currentRevision}; inspect it before reapplying.`):new Error(typeof r?.error=="string"?r.error:`${t} failed with HTTP ${e.status}.`)}async function oEe(){try{const e=await fetch(`${Pr}/recent-projects`);return(await No(e,"Could not list recent projects")).projects}catch{return[]}}const i4={reopenLastProject:!1};async function iEe(){try{const e=await fetch(`${Pr}/launcher-settings`),t=await No(e,"Could not read launcher settings");return{reopenLastProject:typeof t.reopenLastProject=="boolean"?t.reopenLastProject:i4.reopenLastProject}}catch{return{...i4}}}async function aEe(e,t,r={}){const n=await fetch(`${Pr}/create-project`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,location:t,...r})});return Ri(n,"Could not create the project"),await n.json()}async function sEe(e){const t=await fetch(`${Pr}/reveal`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:e})});Hp(t,`Could not reveal ${e}`)}function lEe(){const e=typeof navigator>"u"?"":navigator.platform;return e.includes("Mac")?"Finder":e.startsWith("Win")?"File Explorer":"File Manager"}async function uEe(e){try{const t=await fetch(`${Pr}/save-thumbnail`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({dataUrl:e})});return Hp(t,"Could not save the project thumbnail"),!0}catch{return!1}}async function cEe(){let e;try{const r=await fetch(`${Pr}/project`);e=await No(r,`No answer from ${Pr}/project`)}catch(r){return{status:"unknown",error:r instanceof Error?r.message:String(r)}}if(e.project)return{status:"project",project:e.project};const t=e.serving;return t&&typeof t.path=="string"?{status:"unreadable",path:t.path,error:typeof t.error=="string"?t.error:"unknown error"}:e.project===null?{status:"none"}:{status:"unknown",error:`Unrecognized ${Pr}/project response`}}function Eh(e){return/^(\/|https?:|data:|blob:)/.test(e)?e:`/${e}`}async function dEe(e){try{const t=await fetch(Eh(e));if(t.ok)return await t.text()}catch{}return null}async function fEe(e){try{const t=await fetch(`/__editor/source-file?path=${encodeURIComponent(e.replace(/^\.?\//,""))}`,{cache:"no-store"});if(t.ok)return await t.text()}catch{}return null}function ode(e){return(e.headers.get("content-type")??"").toLowerCase().includes("text/html")}async function ide(e){try{const t=await fetch(Eh(e),{method:"HEAD"});return t.ok?ode(t)?"absent":"present":"absent"}catch{return"unreachable"}}async function pEe(e){return await ide(e)==="present"}async function hEe(e,t={}){if(e.length===0)return[];const r=await fetch(`/__editor/source-files?${new URLSearchParams([...e.map(i=>["include",i]),...t.order==="mtime"?[["order","mtime"]]:[]])}`),n=`Listing ${e.join(", ")}`;Ri(r,n);const o=await r.json();if(!r.ok)throw new Error(`${n}: ${o.error??`HTTP ${r.status}`}`);return o.files}const ade=2,sde=XP([Ar(["stage","canvas","dom"]),yt({module:xe().describe("Project-folder-relative path to a custom adapter module (trust boundary)"),surface:Ar(["stage","canvas","dom"]).describe("Native surface exposed by this custom adapter contract")}).strict(),yt({surface:Ar(["stage","canvas","dom"]).describe("Native surface captured from the unmodified project"),ingest:yt({dataWriter:xe().optional().describe("Project-relative path to a HOST-ADDED ES module that writes this project's own DATA file back — the sibling of a source write for a project whose authorable truth is not source. A level-based project places its enemies, pickups and objectives in binary records inside a level file, reaching no source literal, so an authored move of one is an edit to that file and nothing else can write it. The module declares two exports and the host knows nothing else about it: `dataFile` (a project-relative string — the ONE file this writer edits) and `planDataEdit(bytes, {record, property, baseline, next})`, which returns `{changed: true, bytes}` or `{changed: false, reason}` and may be async. It is loaded in the editor realm beside the project, so it may `import()` the project's own modules to resolve what only a running project knows (a level writer asks the project`s own spatial lookup which cell a moved object landed in, and refuses \"outside the level\" rather than writing data the project would read back wrong). It NEVER fabricates: a record it cannot address, or a property it does not model, is a named refusal. An object is anchored to a record by carrying `userData.volterRecordIndex` — the project declares that identity itself (a recorded patch or a shim); the host never infers one."),assets:ab(xe(),xe()).optional().describe("Path-substring -> served-URL rewrites for this ingested project"),moduleAliases:ab(xe(),xe()).optional().describe("The project's OWN bundler path aliases, restated as a mounting fact so its source resolves unedited. A project built with its own Vite/webpack config routinely imports itself through an alias (`~/lib/config`, `@/store/x`); the editor boots Vite from the ENGINE's config and never reads a project's own, so without this every such import is an unresolvable specifier and the mount dies at transform time. Key = the specifier PREFIX exactly as the project writes it (\"~/\"); value = the repo-root-relative directory it means (\"/vendor/<id>/src/\"). SELF-SCOPING: the host honors an entry only for importers inside the vendored folder the value points into, so one project's alias can never capture another module's import. Rewriting the project's own imports instead would be a large non-seam-shaped diff against unmodified source — this declares the fact rather than editing it away."),domStubs:vo(xe()).optional().describe("DOM API stub ids this ingested project requires to run headlessly/in-realm"),captureTimeoutMs:ku().optional().describe("How long the host waits for this project's first captured frame before the mount FAILS by name. A project that needs a long boot (streamed world assets, a menu the player must clear) raises it; the default is 10s.")}).strict().describe("Ingest adapter configuration for an unmodified project (a repo-vendored one or your own external folder)")}).strict()]).describe("Root adapter identity: built-in 'stage'/'canvas'/'dom' (what the host hands the root — 'canvas' covers any canvas library or raw WebGL, 'dom' covers React/Vue/plain HTML), a custom { module, surface } adapter, or an { ingest, surface } adapter for an unmodified project."),lde=yt({id:xe().describe("Unique id for this root within the manifest (enforced-unique, D-V6 — ProjectManifestSchema.roots rejects duplicates)"),description:xe().optional().describe("Optional one-line description of this root's content"),adapter:sde.describe("This root's adapter and sole rendering/lifecycle discriminator"),entry:xe().optional().describe("Module exporting a world root — a TSX component, which the built-in stage dialect renders, or a setup()/adapter (stage), or a React component (dom). Required for every built-in adapter root."),styles:vo(xe()).optional().describe("Project-root-relative CSS files this root's mount needs — the PAGE-level stylesheet a project written to own a browser tab keeps its layout in (an ingested project is the standing case: its own entry imported the sheet, the host shim that replaces that entry cannot, because `html`/`body`/`*` rules would restyle the editor). Declared here, the editor serves each file rewritten to apply ONLY inside the container it mounts the root's DOM in (`@scope`; packages/sdk/src/scoped-project-css.ts), so the HUD is styled on the UI board's story cards and on the play surface without the editor seeing a single one of those rules. The files themselves are never modified."),world:yt({entry:xe().describe("Project-relative path to the project's OWN module exporting that component"),export:xe().optional().describe("Named export to read from that module; omit when the module default-exports it")}).strict().optional().describe("The component this root's WORLD is, in the project's own source. Two readers, and they mount different things: the EDITOR mounts THIS component alone as the root's design-time document, while `entry` above stays what PLAY mounts (the whole project — its own composition, its own HUD, its own loop). It sits on the ROOT rather than inside any one adapter because the split it names is not about ingest: a project whose runtime entry is a SHELL over the thing an author actually edits has this shape whether the source is vendored or first-party. A project whose world is not a separate component omits this and keeps mounting through `entry` in both modes."),zOrder:ku().int().default(0).describe("Canvas stacking order; ties broken by array order"),pausable:ZP().default(!0).describe("Whether play-mode pause/step applies to this root"),loop:Ar(["gated","self-driven"]).default("gated").describe("gated: host-driven loop (default). self-driven: this root drives its own loop (composited, unsynchronized)")}).strict();function ude(e){return typeof e.adapter=="string"?e.adapter:e.adapter.surface}const cde=Ar(["starter","feature","sample-project","lesson-companion"]).describe("Content kind: starter (minimal per-genre starting point), feature (demonstrates a subsystem), sample-project (a complete project as an architectural reference), lesson-companion (exists to back a Learn-site lesson)"),dde=Ar(["beginner","intermediate","advanced"]).describe("Learner-facing difficulty rating"),fde=yt({kind:cde,title:xe().min(1).describe("Learner-facing display title"),summary:xe().min(1).describe("One-sentence learner-facing summary"),difficulty:dde,features:vo(xe().regex(/^[a-z0-9]+(-[a-z0-9]+)*$/,"features tags must be kebab-case")).describe("Short kebab-case tags describing project features"),thumbnail:xe().optional().describe("Optional thumbnail image reference, PROJECT-relative (canonical path: learn/thumbnail.png)"),preview:xe().optional().describe("Optional short preview video/loop reference, PROJECT-relative (canonical path: learn/preview.mp4)"),lesson:xe().optional().describe("Optional Learn-site lesson URL that teaches this project 1:1 (e.g. https://example.com/manual/physics/joints/)")}).strict().describe("Learner-facing metadata carried by example project manifests."),pde=yt({$schema:xe().optional().describe("Optional JSON Schema URI for editor autocomplete and validation"),manifestVersion:ku().int().describe(`The manifest format version the project was written with (this editor writes ${ade}); a manifest is read by its shape, never refused for its number`),name:xe().describe("Project display name"),appId:xe().optional().describe("Stable reverse-domain application id used by packaged targets"),version:xe().describe("The project's own version"),engine:yt({version:xe().describe("Exact @volter/project semver this project was scaffolded/last upgraded against — an identity pin, not a range")}).strict().describe("Engine version pin"),roots:vo(lde).superRefine((e,t)=>{const r=new Map;for(const i of e)r.set(i.id,(r.get(i.id)??0)+1);const n=[...r.entries()].filter(([,i])=>i>1).map(([i])=>i);if(n.length>0){const i=n.map(a=>`"${a}"`).join(", ");t.addIssue({code:Mw.custom,message:n.length===1?`Project manifest: duplicate root id ${i} — root ids must be unique across the manifest (enforced-unique).`:`Project manifest: duplicate root ids: ${i} — root ids must be unique across the manifest (enforced-unique).`})}const o=new Map;for(const i of e){const a=ude(i),s=o.get(a);s?s.push(i.id):o.set(a,[i.id])}for(const[i,a]of o)a.length<2||t.addIssue({code:Mw.custom,message:`Project manifest: a project has at most one ${i} world root — ${a.map(s=>`"${s}"`).join(", ")} all occupy the ${i} surface. Keep one and remove the rest, or move a root to a different medium (stage / canvas / dom); only one root per medium is ever mounted, so a second one's content would never appear.`})}).describe("The project's explicit adapter-root composition — ZERO OR MORE roots, and no implicit root: a project with no roots mounts nothing (a library of models, a folder of documents) and the editor derives its chrome from what IS declared. Root ids are unique, and a project declares at most ONE world root per medium — one `stage`, one `dom`, one canvas-surface root (first-party canvas, canvas ingest and canvas module are the same medium)."),authoring:yt({hierarchy:yt({rootLabels:ab(xe(),xe()).optional().describe("Optional editor labels keyed by adapter-root id"),groups:vo(yt({id:xe().describe("Unique editor-only group id"),label:xe().describe("Editor-only group label"),roots:vo(xe()).min(1).describe("Adapter-root ids shown under this editor-only group")}).strict()).optional().describe("Optional editor-only hierarchy groups")}).strict().optional().describe("Editor projection for native adapter roots")}).strict().optional().describe("Editor-only authoring metadata; never runtime ownership"),resolution:yt({width:ku().describe("Canvas width in pixels"),height:ku().describe("Canvas height in pixels")}).strict().optional().describe("Canvas resolution"),learn:fde.optional().describe("Optional learner-facing metadata for example projects.")}).strict().describe("Project manifest (volter.project.json) — the complete v2 project configuration"),hde=/^\d+\.\d+\.\d+(?:-[0-9A-Za-z-.]+)?(?:\+[0-9A-Za-z-.]+)?$/;function mde(e){return typeof e=="object"&&"module"in e}function gde(e){const{adapter:t}=e;if(typeof t=="string"&&!e.entry)throw new Error(`Project manifest: root "${e.id}" uses the '${t}' adapter but declares no \`entry\` — a built-in adapter root is authored as an entry module.`);if(typeof t=="object"&&"ingest"in t&&!e.entry)throw new Error(`Project manifest: root "${e.id}" is an { ingest } root but declares no \`entry\` — the project's own entry module is what the host imports.`)}function bde(e){const{adapter:t}=e;if(typeof t=="string")return{type:"builtin",identity:t,surface:t};if(mde(t))return{type:"module",identity:"module",module:t.module,surface:t.surface};const r=`ingest-${t.surface}`,n=t.ingest;return{type:"ingest",identity:r,surface:t.surface,dataWriter:n.dataWriter,assets:n.assets,domStubs:n.domStubs,captureTimeoutMs:n.captureTimeoutMs}}function vde(e){if(!hde.test(e))throw new Error(`Project manifest: engine.version "${e}" is not a valid exact semver string (e.g. "0.1.0") — §1.5 requires an exact identity pin, not a range.`)}function yde(e){gde(e);const t=bde(e);return{id:e.id,surface:t.surface,description:e.description,adapter:t,entry:e.entry,world:e.world===void 0?void 0:{entry:e.world.entry,export:e.world.export},zOrder:e.zOrder,pausable:e.pausable,loop:e.loop}}function wde(e){const t=pde.safeParse(e);if(!t.success){const i=t.error.issues.find(a=>a.message.startsWith("Project manifest: duplicate root id")||a.message.startsWith("Project manifest: a project has at most one"));throw i?new Error(i.message):t.error}const r=t.data;vde(r.engine.version);const n=r.roots.map((i,a)=>({root:yde(i),index:a}));n.sort((i,a)=>i.root.zOrder-a.root.zOrder||i.index-a.index);const o=n.map(({root:i})=>i);return{manifestVersion:r.manifestVersion,name:r.name,appId:r.appId,version:r.version,engine:{version:r.engine.version},roots:o,resolution:r.resolution,authoring:r.authoring,learn:r.learn}}function Lu(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function Ede(e){const t=Lu(e);if(!t)return;const r=Lu(t.rootLabels),n=r?Object.entries(r).flatMap(([u,l])=>{const c=u.trim(),d=typeof l=="string"?l.trim():"";return c&&d?[[c,d]]:[]}):[],o=n.length>0?Object.fromEntries(n):void 0,i=new Set,a=Array.isArray(t.groups)?t.groups.flatMap(u=>{const l=Lu(u),c=typeof l?.id=="string"?l.id.trim():"",d=typeof l?.label=="string"?l.label.trim():"",f=Array.isArray(l?.roots)?l.roots.flatMap(p=>{const h=typeof p=="string"?p.trim():"";return h?[h]:[]}):[];return!c||!d||f.length===0||i.has(c)?[]:(i.add(c),[{id:c,label:d,roots:[...new Set(f)]}])}):[],s=a.length>0?a:void 0;if(!(!o&&!s))return{...o?{rootLabels:o}:{},...s?{groups:s}:{}}}function mEe(e){const t=Lu(Lu(e)?.authoring);return Ede(t?.hierarchy)}const a4=12e4,Eu=new Map,$v=new Set;let qv=0;function fp(){qv+=1;for(const e of $v)e()}function gEe(e,t){const r=Eu.get(e);if(r&&r!==t)throw new Error(`An asset viewer for "${e}" is already registered.`);return Eu.set(e,t),fp(),()=>{Eu.get(e)===t&&(Eu.delete(e),fp())}}function wk(e){return $v.add(e),()=>$v.delete(e)}function _de(e){H.useSyncExternalStore(wk,()=>qv,()=>qv);const t=Eu.get(e)??null;return H.useEffect(()=>{t===null&&Vp(`onAssetViewer:${e}`)},[e,t]),t}function bEe({route:e,whenUnregistered:t,...r}){const n=_de(e);return n?H.createElement(n,r):t}let fo=[];function vEe(e){return fo=[...fo,e],fp(),()=>{fo.includes(e)&&(fo=fo.filter(t=>t!==e),fp())}}function yEe(){const e=H.useSyncExternalStore(wk,()=>fo,()=>fo);return H.useEffect(()=>{Vp("onAssetViewer:json")},[]),e}let pp=null;const kv=new Set,Mv=new Set;function wEe(e){pp=e;for(const t of kv)t(e);for(const t of Mv)t()}function EEe(){return pp}function _Ee(e){return kv.add(e),pp&&e(pp),()=>{kv.delete(e)}}function SEe(e){return Mv.add(e),()=>{Mv.delete(e)}}const Ek=["public","references"];function REe(e){const t=e.split(/[?#]/,1)[0].replace(/^\/+/,"");return t.startsWith("public/")?t:`public/${t}`}function Sde(){return Ek.map(e=>`${e}/`).join(" or ")}function _k(e){const t=e.replaceAll("\\","/"),r=[];for(const n of t.split("/"))n===""||n==="."||r.push(n);return r.join("/")}function Rde(e){const t=_k(e);return Ek.find(r=>t===r||t.startsWith(`${r}/`))}function xEe(e){const t="Generated output path",r=_k(e),n=r.split("/").includes(".."),o=Rde(r);if(e.startsWith("/")||n||o===void 0||r===o)throw new Error(`${t} ${JSON.stringify(e)} is invalid; it must be a project-relative path under ${Sde()}.`);return r}function Sk(e,t){const r=e.endsWith("/")?e.slice(0,-1):e,n=t.startsWith("/")?t.slice(1):t;return xde(`${r}/${n}`)}function xde(e){const t=e.replaceAll("\\","/");return t.startsWith("/")?`/@fs${t}`:`/@fs/${t}`}const Rk="volter-mount",CEe="volter-isolate";let s4=0;function AEe(){return s4+=1,s4}function PEe(e,t,r){return`${Sk(e,t)}?volter-live-module=${r}`}let cg=Date.now();function TEe(){return cg=Math.max(cg+1,Date.now()),cg}function OEe(e,t,r){return`${Sk(e,t)}?${Rk}=${r}`}const Cde=Symbol.for("volter.startup-failure"),Ade=globalThis,qo=Ade[Cde]??={failures:new Map,listeners:new Set};function xk(){const e=[...qo.failures.values()];return e.filter(t=>!t.transient).at(-1)??e.at(-1)??null}function Ck(){const e=xk();for(const t of[...qo.listeners])try{t(e)}catch{}}function $Ee(e,t){qo.failures.delete(e),qo.failures.set(e,t),Ck()}function qEe(e){qo.failures.delete(e)&&Ck()}function kEe(e){qo.listeners.add(e);const t=xk();return t&&e(t),()=>{qo.listeners.delete(e)}}const Pde="volter.project.json",Tde="ManifestAbsentError";function l4(e){const t=new Error(`${e} declares no ${Pde}`);return t.name=Tde,t}async function MEe(){const e=Eh("/volter.project.json"),t=await fetch(e);if(t.status===404)throw l4(e);if(!t.ok)throw new Error(`Failed to load ${e}: ${t.status} ${t.statusText}`);const r=await t.text();if(/^\s*</.test(r))throw l4(e);try{return wde(JSON.parse(r))}catch(n){throw new Error(`Failed to load ${e}: ${n instanceof Error?n.message:String(n)}`)}}async function NEe(){const e=Eh("/volter.project.json"),t=await fetch(e);if(!t.ok)return null;const r=await t.text();if(/^\s*</.test(r))return null;try{return JSON.parse(r)}catch(n){throw new Error(`${e} is not valid JSON: ${n instanceof Error?n.message:String(n)}`)}}const Ode=Symbol.for("volter.project-module-changes"),$de=globalThis,Nv=$de[Ode]??={listeners:new Set,errors:new Map,transformErrorsWired:!1,changesWired:!1},Iv=Nv.errors;function IEe(e){for(const[t,r]of Iv)if(Ak(t,e))return r;return null}function jEe(e){for(const t of[...Iv.keys()])Ak(t,e)&&Iv.delete(t)}function u4(e){return e.replaceAll("\\","/")}function Ak(e,t){const r=u4(e),n=u4(t).replace(/^\.?\//,"");return r===n||r.endsWith(`/${n}`)}function DEe(e){return Nv.listeners.add(e),()=>{Nv.listeners.delete(e)}}const Pk="data-volter-mount-styles",LEe=`[${Pk}]`;function qde(e){e.setAttribute(Pk,"")}const Tk={installed:!1,sources:[],note:null},c4="data-volter-scoped-project-css";let dg=null,Ok=Tk,$k=null;function FEe(){return $k}function kde(){return typeof globalThis.CSSScopeRule=="function"}async function Mde(e){if(dg?.projectRoot===e)return dg.state;const t=Nde(e);return dg={projectRoot:e,state:t},t}function BEe(){return Ok}async function Nde(e){const t=await Ide(e);return Ok=t,t}async function Ide(e){let t;try{const i=await fetch("/__editor/scoped-project-css");t=await No(i,"Could not read the project scoped CSS")}catch{return Tk}const r=typeof t.css=="string"?t.css:"",n=Array.isArray(t.sources)?t.sources:[],o=typeof t.note=="string"?t.note:null;if(r.length===0)return{installed:!1,sources:n,note:o};if(!kde()){const i="unstyled — this browser has no CSS `@scope`, so the project stylesheet cannot be contained to the project. Loading it anyway would restyle the editor.";return Te.warn(`[scoped-project-css] ${i}`,"authoring"),{installed:!1,sources:n,note:i}}return jde(e,r),{installed:!0,sources:n,note:o}}function jde(e,t){const r=document.head.querySelector(`style[${c4}]`),n=r instanceof HTMLStyleElement?r:document.createElement("style");n.setAttribute(c4,e),n.textContent=t,n.isConnected||document.head.appendChild(n),$k=t}let Fu=null,jv=[],qk=null;function zEe(e){qk=e}function HEe(){return qk}function _h(e){Fu?e(Fu):jv.push(e)}function UEe(e){Fu=e;const t=jv;jv=[];for(const r of t)r(e);return()=>{Fu===e&&(Fu=null)}}function VEe(e){_h(t=>t.showUtility(e))}function WEe(e){_h(t=>t.showStaticPanel(e))}function GEe(e){_h(t=>t.toggleUtility(e))}function KEe(){_h(e=>e.toggleFocus())}const kk=new WeakMap;function YEe(e,t){kk.set(e,t)}function Dde(e){for(const t of Array.from(e.querySelectorAll("iframe"))){const r=kk.get(t),n=r?.container();if(r&&n)return{container:n,canvasFrame:r.canvasFrame}}return null}const sf=new Map;function ZEe(e,t){return sf.set(e,t),()=>{sf.get(e)===t&&sf.delete(e)}}function Zc(e){for(const[t,r]of sf){if(!t.isConnected||!e.contains(t))continue;const n=t.getBoundingClientRect();if(n.width>0&&n.height>0&&getComputedStyle(t).pointerEvents!=="none")return{frame:t,driver:r}}return null}function hp(e){return Zc(e)?.driver??null}function Mk(e){return Array.from(document.querySelectorAll("[data-workspace-document-id]")).find(t=>t.dataset.workspaceDocumentId===e&&(F2()===null||t.dataset.workspaceViewId===F2()))??null}const Dv=["document","header","shelf","rail","outliner","utility","area"],Lde={rail:{part:"properties",view:"volter.properties",title:"Properties"},outliner:{part:"outliner",view:"volter.outliner",title:"Outliner"}},Fde={header:{prefix:"document-header",title:"header strip"},shelf:{prefix:"document-shelf",title:"tool shelf"}};function A1(e){const t=[e.container,...e.extraRoots??[]];for(let n=0;n<t.length;n++)for(const o of t[n].querySelectorAll("[data-volter-portal]")){const i=o.dataset.volterPortal;if(i===void 0)continue;const a=document.querySelector(`[data-volter-portal-content="${CSS.escape(i)}"]`);a&&!t.includes(a)&&t.push(a)}const r=Dde(e.container)?.container;return r&&!t.includes(r)&&t.push(r),t}function Bde(e){return document.querySelector(`[data-volter-part="${e}"]`)}function zde(){const e=[...document.querySelectorAll("[data-volter-utility]")].find(r=>{const n=r.getBoundingClientRect();return n.width>0&&n.height>0});if(!e)throw new Error("No utility view is showing, so scope 'utility' has nothing to reach. Show one in the panel (View: Open View…) and retry.");const t=e.dataset.volterUtility??"";return{container:e,name:"utility",id:t,title:t}}function Hde(){const e=Py().filter(o=>o.descriptor.area).flatMap(o=>Array.from(document.querySelectorAll("[data-workspace-document-id]")).filter(i=>i.dataset.workspaceDocumentId===o.descriptor.id)).filter(o=>{const i=o.getBoundingClientRect();return i.width>0&&i.height>0}),[t,...r]=e;if(!t)throw new Error("No workspace area is showing, so scope 'area' has nothing to reach.");const n=[...new Set(e.map(o=>o.dataset.workspaceDocumentId??""))];return{container:t,extraRoots:r,name:"area",id:n.join(", "),title:n.length>1?`${n.length} workspace areas`:"workspace area"}}function Ude(e){if(e==="utility")return zde();if(e==="area")return Hde();const t=e==="rail"||e==="outliner"?Lde[e]:null;if(t){const r=Bde(t.part),n=e==="rail"?[...document.querySelectorAll('[data-testid="inspector-panel"][data-volter-inspector-presentation="card"]')].find(o=>{const i=o.getBoundingClientRect();return i.width>0&&i.height>0})??null:null;if(n&&!r)return{container:n,name:e,id:t.view,title:"Inspector card"};if(n&&r)return{container:r,extraRoots:[n],name:e,id:t.view,title:`${t.title} and the inspector card`};if(!r)throw new Error(`The ${t.title} view (${t.view}) is not open, so scope '${e}' has nothing to reach. Open it from the workbench (View: Open View…) and retry — this door reads and drives what is on screen, and reports its absence rather than an empty match list.`);return{container:r,name:e,id:t.view,title:t.title}}return Vde(e)}function Vde(e){const t=Ty();if(!t)throw new Error(`No active editor document, so scope '${e}' has nothing to reach. The editor's own views are still readable: scope 'outliner' and scope 'rail'.`);const r=Ui()??t.descriptor.id,n=Mk(r);if(!n)throw new Error(`The active document's surface is not mounted: ${r} (${t.title}). Present it first (\`editor.present\`) and retry.`);const o=n.closest(".volter-dock-document")??n;if(e==="document")return{container:o,name:e,id:r,title:t.title};const i=Fde[e],a=o.querySelector(`[data-testid="${i.prefix}:${r}"]`);if(!a)throw new Error(`The active document "${t.title}" (${r}) draws no ${i.title}, so scope '${e}' has nothing to reach. Its whole box is scope 'document'.`);return{container:a,name:e,id:r,title:`${t.title} — ${i.title}`}}function Wde(e,t){return`${e} is in front: a cross-origin page, which no selector reaches. \`matched\` and \`elements\` are the editor's DOM behind it. \`framed\` is the page's own labelled nodes, not filtered by the selector: its \`matched\` counts them all and its \`nodes\` are the first \`limit\`; read them by \`role\` and \`name\`${t?" (unavailable now: see `framedUnavailable`)":""}.`}const Gde=/^role=([\w-]+)(?:\[name=(["'])(.*?)\2\])?$/,P1="Press the page's own node by its role and name, `editor.document.click('role=button[name=\"Restart\"]')` (`role=<role>` or `role=<role>[name=\"<text>\"]`), press its keys with `editor.document.key` and no selector, and read its nodes in `editor.inspect()`'s `inspection.screen`.";async function Kde(e,t,r){const n=e.driver.title(),o=Gde.exec(r.selector);if(o===null)throw new Error(`${JSON.stringify(r.selector)} is no role selector this door takes in ${n}. ${P1}`);if((r.clicks??1)!==1||r.altKey||r.ctrlKey||r.metaKey||r.shiftKey)throw new Error(`A press in ${n} is one click with no modifier keys: its driver gives a press and its release.`);const i=r.at??[.5,.5];if(!(Array.isArray(i)&&i.length===2&&i.every(_=>typeof _=="number"&&Number.isFinite(_))))throw new Error(`click's \`at\` is [x, y], fractions of the node's box; got ${JSON.stringify(i)}.`);const[,a,,s]=o,u=r.index??0,{nodes:l}=await e.driver.nodes(500),c=l.filter(_=>_.role===a&&(s===void 0||typeof _.name=="string"&&_.name.toLowerCase().includes(s.toLowerCase()))),d=c[u],f=d?.bounds;if(d===void 0||!Array.isArray(f)||f.length!==4)throw new Error(`${n} has ${String(c.length)} node(s) of role "${a}"${s===void 0?"":` named like "${s}"`}, so index ${String(u)} does not exist (its nodes: \`editor.inspect()\`'s \`inspection.screen\`).`);const[p,h,m,v]=f,[g,E]=i;return await e.driver.press({x:p+m*g,y:h+v*E}),{note:`Pressed in ${n}, a cross-origin page in front. The press is the page's driver's, so the page gets no user activation from it: audio and other gesture-gated APIs there stay locked.`,scope:t,matched:c.length,elements:[],framed:{title:n,matched:c.length,nodes:[d]}}}function d4(e,t){const r=hp(e.container);return new Error((r?`${r.title()} is in front: a cross-origin page, which no selector reaches (\`editor.document.key\` with no selector presses in it, and \`editor.inspect()\` reads it). `:"")+`Out of scope: ${t}. This step ran in scope '${e.name}' — "${e.title}" (${e.id}) — and reaches ONLY inside it. The other surfaces are named, not walked to: ${Dv.filter(n=>n!==e.name).map(n=>`'${n}'`).join(", ")} (pass \`{ scope }\`). The rest of the page is deliberately unreachable.`)}const f4=400,p4="rgb(1, 2, 3)",Yde="rgba(0, 0, 0, 0)";function Zde(e,t){const r=getComputedStyle(e).getPropertyValue(t).trim();if(r==="")return"";const o=e.ownerDocument.createElement("span");o.style.position="absolute",o.style.pointerEvents="none",o.style.visibility="hidden",o.style.backgroundColor=p4,e.appendChild(o);try{o.style.backgroundColor=`var(${t})`;const i=getComputedStyle(o).backgroundColor.trim();return i===p4||i===Yde?r:i}finally{o.remove()}}function Jde(e,t){const r=getComputedStyle(e),n={};for(const o of t)n[o]=o.startsWith("--")?Zde(e,o):r.getPropertyValue(Xde(o)).trim();return n}function Xde(e){return e.includes("-")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function h4(e,t,r){const n=e,o={};for(const l of Array.from(e.attributes))o[l.name]=l.value;const i=n.getBoundingClientRect(),a=e.value,s=e.checked,u=(n.innerText||e.textContent||"").trim();return{index:t,tag:e.tagName.toLowerCase(),text:u.length>f4?`${u.slice(0,f4)}…`:u,attributes:o,rect:{x:i.x,y:i.y,width:i.width,height:i.height},...typeof a=="string"?{value:a}:{},...typeof s=="boolean"?{checked:s}:{},...n.hasAttribute("disabled")?{disabled:!0}:{},...r&&r.length>0?{styles:Jde(n,r)}:{}}}function lf(e,t,r){const n=Ik(e,t),o=n[r];if(!o)throw d4(e,`${JSON.stringify(t)} matched ${n.length} element(s), so index ${r} does not exist`);if(!A1(e).some(a=>a.contains(o)))throw d4(e,`${JSON.stringify(t)} resolved outside the document's container`);const i=Zc(e.container);if(i!==null){const a=o.getBoundingClientRect();if(o.ownerDocument.elementFromPoint(a.x+a.width/2,a.y+a.height/2)===i.frame)throw new Error(`${i.driver.title()} is in front, over ${JSON.stringify(t)}'s match: a cross-origin page, which a CSS selector cannot reach. ${P1}`)}return o}function Qde(e,t=[.5,.5]){const r=e.getBoundingClientRect();return{bubbles:!0,cancelable:!0,composed:!0,view:e.ownerDocument.defaultView??window,clientX:r.x+r.width*t[0],clientY:r.y+r.height*t[1],button:0,buttons:1}}function T1(e){let t=e;for(;t&&!(t.hasAttribute("tabindex")||t.tabIndex>=0||t.isContentEditable);)t=t.parentElement;(t??e).focus({preventScroll:!0})}function Nk(e,t=[.5,.5]){const r=e.getBoundingClientRect();return{clientX:r.x+r.width*t[0],clientY:r.y+r.height*t[1]}}function efe(e,t){const{clientX:r,clientY:n}=Nk(e,t);return e.ownerDocument.elementFromPoint(r,n)??e}async function tfe(e,t,r,n,o){const i={...Qde(e,r),...o,...n},a=Math.max(1,Math.round(t)),s=e.ownerDocument;for(let u=1;u<=a;u++){const l={...i,detail:u},c={...i,buttons:0,detail:u};Bu(e,()=>{e.dispatchEvent(new PointerEvent("pointerdown",{...l,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mousedown",l)),T1(e)}),await new Promise(f=>setTimeout(f,0));const d=e.isConnected?e:s.elementFromPoint(i.clientX??0,i.clientY??0)??s.body;if(Bu(d,()=>{d.dispatchEvent(new PointerEvent("pointerup",{...c,pointerType:"mouse"})),d.dispatchEvent(new MouseEvent("mouseup",c)),d===e&&e.dispatchEvent(new MouseEvent("click",c))}),d!==e)return}a>=2&&Bu(e,()=>e.dispatchEvent(new MouseEvent("dblclick",{...i,buttons:0,detail:a})))}function rfe(e,t,r,n){const o=e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e:null;if(!o)throw new Error(`Cannot type into a <${e.tagName.toLowerCase()}>: this verb drives a text field. Click the control that opens one first (the Outliner's rename is a double click — \`click(selector, { clicks: 2 })\`), then \`type\` into the field it puts up.`);const i=e instanceof HTMLTextAreaElement?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(i,"value")?.set,s=l=>{a?a.call(o,l):o.value=l};o.focus();let u=o.value;r&&u!==""&&(o.select(),u="",s(u),o.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0,inputType:"deleteContentBackward"})));for(const l of[...t]){const c={key:l,bubbles:!0,cancelable:!0,composed:!0};o.dispatchEvent(new KeyboardEvent("keydown",c)),u+=l,s(u),o.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0,inputType:"insertText",data:l})),o.dispatchEvent(new KeyboardEvent("keyup",c))}if(n){const l={key:"Enter",code:"Enter",bubbles:!0,cancelable:!0,composed:!0};o.dispatchEvent(new KeyboardEvent("keydown",l)),o.dispatchEvent(new KeyboardEvent("keyup",l))}}function Bu(e,t){const n=(e.ownerDocument.defaultView??window).Element.prototype,o=n.setPointerCapture,i=n.releasePointerCapture;n.setPointerCapture=()=>{},n.releasePointerCapture=()=>{};try{t()}finally{n.setPointerCapture=o,n.releasePointerCapture=i}}let Lv=null;function nfe(){const e=Lv;if(e===null)throw new Error("Nothing is held: release lets go of a drag that `hold: true` left pressed, and none is.");return Lv=null,Bu(e.element,()=>{e.element.dispatchEvent(new PointerEvent("pointerup",{...e.end,pointerType:"mouse"})),e.element.dispatchEvent(new MouseEvent("mouseup",e.end)),e.button===2&&e.element.dispatchEvent(new MouseEvent("contextmenu",e.end))}),e.element}function ofe(e,t,r,n,o,i,a,s){const u=e.getBoundingClientRect(),l=a===0?1:a===2?2:4,c=(f,p)=>({bubbles:!0,cancelable:!0,composed:!0,view:window,clientX:u.x+u.width*f,clientY:u.y+u.height*p,button:a,buttons:l,altKey:o.altKey??!1,ctrlKey:o.ctrlKey??!1,metaKey:o.metaKey??!1,shiftKey:o.shiftKey??!1}),d=c(t[0],t[1]);Bu(e,()=>{e.dispatchEvent(new PointerEvent("pointermove",{...d,button:-1,buttons:0,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mousemove",{...d,buttons:0})),e.dispatchEvent(new PointerEvent("pointerdown",{...d,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mousedown",d)),T1(e);const f=Math.max(1,Math.round(n)),p=[t,...i,r];for(let m=0;m+1<p.length;m++){const v=p[m],g=p[m+1];for(let E=1;E<=f;E++){const _=E/f,x=c(v[0]+(g[0]-v[0])*_,v[1]+(g[1]-v[1])*_);e.dispatchEvent(new PointerEvent("pointermove",{...x,button:-1,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mousemove",x))}}const h={...c(r[0],r[1]),buttons:0};if(s){Lv={element:e,end:h,button:a};return}e.dispatchEvent(new PointerEvent("pointerup",{...h,pointerType:"mouse"})),e.dispatchEvent(new MouseEvent("mouseup",h)),a===2?e.dispatchEvent(new MouseEvent("contextmenu",h)):a===0&&t[0]===r[0]&&t[1]===r[1]&&e.dispatchEvent(new MouseEvent("click",h))})}function ife(e,t){if(t)return t;const r=document.activeElement;return r instanceof HTMLElement&&A1(e).some(n=>n.contains(r))?r:e.container}function Ik(e,t){if(typeof t!="string")throw new Error(`A selector is a CSS selector string, such as '[role="status"]'; it was given ${JSON.stringify(t)}.`);if(t.startsWith("role=")){const r=Zc(e.container);throw new Error(`${JSON.stringify(t)} is a role selector, which only \`editor.document.click\` takes, for a page in front${r===null?" (none is)":` (${r.driver.title()})`}. ${P1}`)}try{return A1(e).flatMap(r=>Array.from(r.querySelectorAll(t)))}catch(r){throw new Error(`Invalid selector ${JSON.stringify(t)}: ${String(r)}`)}}function jk(e,t){const r=t.selector===void 0?null:lf(e,t.selector,t.index??0);return ife(e,r)}function m4(e,t,r){const n=jk(e,t);if(t.selector===void 0&&n instanceof HTMLIFrameElement&&hp(e.container)){const o=Zc(e.container),i=o!==null&&o.frame===n?o.driver.title():"A cross-origin page";throw new Error(`${i} has the focus: a cross-origin page, which ${r} cannot reach (its events would land on the frame, never in the page). \`editor.document.key\` with no selector presses keys in the page in front.`)}return n}const afe={" ":"Space","`":"Backquote","-":"Minus","=":"Equal","[":"BracketLeft","]":"BracketRight","\\":"Backslash",";":"Semicolon","'":"Quote",",":"Comma",".":"Period","/":"Slash"};function Dk(e){return/^[a-z]$/i.test(e)?`Key${e.toUpperCase()}`:/^[0-9]$/.test(e)?`Digit${e}`:afe[e]??e}const sfe={Backspace:8,Tab:9,Enter:13,Escape:27," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Delete:46};function lfe(e){if(/^[a-z0-9]$/i.test(e))return e.toUpperCase().charCodeAt(0);const t=/^F([1-9]|1[0-2])$/.exec(e);return t?111+Number(t[1]):sfe[e]??0}function ufe(e){const t=e===void 0?null:/^Numpad([0-9])$/.exec(e);return t?96+Number(t[1]):e==="NumpadDecimal"?110:null}function g4(e,t){const r=new KeyboardEvent(e,cfe(t)),n=ufe(t.code)??lfe(t.key);return Object.defineProperty(r,"keyCode",{get:()=>n}),Object.defineProperty(r,"which",{get:()=>n}),r}function cfe(e){return{key:e.key,code:e.code??Dk(e.key),bubbles:!0,cancelable:!0,composed:!0,...e.ctrlKey?{ctrlKey:!0}:{},...e.metaKey?{metaKey:!0}:{},...e.shiftKey?{shiftKey:!0}:{},...e.altKey?{altKey:!0}:{}}}function dfe(e,t){const r=[...e.options].map(o=>o.value);if(!r.includes(t))throw new Error(`No option with value ${JSON.stringify(t)} on this <select> — it offers ${r.map(o=>JSON.stringify(o)).join(", ")||"(no options)"}. The value is the option's \`value\`, not its label; \`query\` reports both.`);const n=Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype,"value")?.set;n?n.call(e,t):e.value=t,e.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),e.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}const fg=["query","click","drag","release","key","paste","select","type"];function ffe(e){const t=e?.action;if(!fg.includes(t))throw new Error(`Unknown document-probe action ${JSON.stringify(t)}. This door has exactly ${fg.length} verbs: ${fg.join(", ")} (\`editor.document.*\`).`);const r=e.scope??"document";if(!Dv.includes(r))throw new Error(`Unknown scope ${JSON.stringify(r)}. This door addresses exactly these surfaces: ${Dv.map(n=>`'${n}'`).join(", ")}.`);return Ude(r)}async function JEe(e){const t=ffe(e),r={name:t.name,id:t.id,title:t.title},n=o=>({scope:r,matched:1,elements:[h4(o,0)]});switch(e.action){case"query":{const o=Ik(t,e.selector),i=hp(t.container);let a=null,s=null;if(i)try{a=await i.nodes(e.limit??25)}catch(u){s=u instanceof Error?u.message:String(u)}return{...i?{note:Wde(i.title(),s!==null)}:{},scope:r,matched:o.length,elements:o.slice(0,e.limit??25).map((u,l)=>h4(u,l,e.styles)),...i&&a?{framed:{title:i.title(),matched:a.matched,nodes:[...a.nodes]}}:{},...s!==null?{framedUnavailable:s}:{}}}case"click":{const o=Zc(t.container);if(o!==null&&typeof e.selector=="string"&&e.selector.startsWith("role="))return await Kde(o,r,e);const i=lf(t,e.selector,e.index??0),a=e.at;if(a!==void 0&&!(Array.isArray(a)&&a.length===2&&a.every(l=>typeof l=="number"&&Number.isFinite(l))))throw new Error(`click's \`at\` is [x, y], fractions of the element's box; got ${JSON.stringify(a)}.`);const s=i.ownerDocument===document?i:efe(i,a);await tfe(s,e.clicks??1,a&&s===i?a:void 0,{...e.altKey?{altKey:!0}:{},...e.ctrlKey?{ctrlKey:!0}:{},...e.metaKey?{metaKey:!0}:{},...e.shiftKey?{shiftKey:!0}:{}},s===i?void 0:Nk(i,a));const u=s.ownerDocument.defaultView?.navigator?.userActivation;return u&&!u.hasBeenActive?{...n(s),userActivation:!1,note:"This click is synthetic and gives the page no user activation, and the page has had none: an AudioContext stays suspended and gesture-gated APIs (audio, fullscreen, pointer lock) refuse until a person clicks in the editor, or the browser runs with --autoplay-policy=no-user-gesture-required."}:n(s)}case"type":{const o=m4(t,e,"type");return rfe(o,e.text,e.replace??!0,e.enter??!0),n(o)}case"drag":{if(e.button!==void 0&&![0,1,2].includes(e.button))throw new Error(`Unknown button ${JSON.stringify(e.button)}: 0 primary, 1 middle, 2 secondary.`);const o=lf(t,e.selector,e.index??0),i=o.getBoundingClientRect(),a=[["from",e.from],...(e.via??[]).map((s,u)=>[`via[${u}]`,s]),["to",e.to]];for(const[s,u]of a)if(!u.every(c=>Number.isFinite(c)&&c>=0&&c<=1)&&!(e.leave&&s!=="from"&&u.every(c=>Number.isFinite(c))))throw new Error(`drag ${s} ${JSON.stringify(u)} is not a fraction of the element's box: points are [x, y] from 0 to 1 from its top-left ([0.5, 0.5] is its centre). This element is ${Math.round(i.width)} x ${Math.round(i.height)} px at (${Math.round(i.x)}, ${Math.round(i.y)}); a page pixel px becomes (px - ${Math.round(i.x)}) / ${Math.round(i.width)}.`);return ofe(o,e.from,e.to,e.steps??8,{...e.altKey===void 0?{}:{altKey:e.altKey},...e.ctrlKey===void 0?{}:{ctrlKey:e.ctrlKey},...e.metaKey===void 0?{}:{metaKey:e.metaKey},...e.shiftKey===void 0?{}:{shiftKey:e.shiftKey}},e.via??[],e.button??0,e.hold===!0),n(o)}case"release":return n(nfe());case"key":{if(e.holdMs!==void 0&&(!Number.isFinite(e.holdMs)||e.holdMs<0||e.holdMs>a4))throw new Error(`key holdMs must be finite, nonnegative and at most ${a4}.`);const o=e.selector===void 0?hp(t.container):null;if(o)return await o.key({key:e.key,code:e.code??Dk(e.key),holdMs:e.holdMs??0}),{scope:r,matched:1,elements:[],note:`The key went to ${o.title()}, the page in front.`};const i=jk(t,e);document.activeElement instanceof Node&&i.contains(document.activeElement)||T1(i);const a=document.activeElement,s=a instanceof HTMLElement&&i.contains(a)?a:i;s.dispatchEvent(g4("keydown",e));try{e.holdMs&&await new Promise(u=>setTimeout(u,e.holdMs))}finally{s.dispatchEvent(g4("keyup",e))}return n(i)}case"select":{const o=lf(t,e.selector,e.index??0);if(!(o instanceof HTMLSelectElement))throw new Error(`${JSON.stringify(e.selector)} resolved a <${o.tagName.toLowerCase()}>, not a <select>. This verb sets a dropdown's value; a button or a checkbox takes \`click\`.`);return dfe(o,e.value),n(o)}case"paste":{const o=m4(t,e,"paste"),i=new DataTransfer;return i.setData("text/plain",e.text),o.dispatchEvent(new ClipboardEvent("paste",{bubbles:!0,cancelable:!0,composed:!0,clipboardData:i})),n(o)}}}const pfe=Symbol.for("volter.document-play-signals"),hfe=globalThis,So=hfe[pfe]??={owners:new Map,listeners:new Set};function XEe(e,t){t?So.owners.set(e,t):So.owners.delete(e);for(const r of So.listeners)r()}function mfe(e){for(const t of So.owners.values()){const r=t.state(e);if(r!=="stopped")return r}return"stopped"}function QEe(e){return mfe(e)!=="stopped"}function e3e(e){let t=[];const r=()=>{for(const o of t)o();t=[...So.owners.values()].map(o=>o.subscribe(e))},n=()=>{r(),e()};return So.listeners.add(n),r(),()=>{So.listeners.delete(n);for(const o of t)o();t=[]}}const gfe=5e3,bfe=350,b4=240;let li=null,ui=null;function t3e(){li?.remove(),li=null,ui?.remove(),ui=null}function r3e(e,t){if(typeof document>"u")return;const r=Ui(),n=r===null?null:Mk(r),o=n?.closest(".volter-editor-theme")??document.querySelector(".volter-editor-theme")??document.body,i=window.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1;if(n&&!i){const l=n.getBoundingClientRect(),c=document.createElement("div");c.dataset.testid="photograph-flash",Object.assign(c.style,{position:"fixed",left:`${l.left}px`,top:`${l.top}px`,width:`${l.width}px`,height:`${l.height}px`,background:"#ffffff",pointerEvents:"none",zIndex:"var(--volter-z-toast)"}),ui?.remove(),ui=c,o.append(c),c.animate([{opacity:.85},{opacity:0}],{duration:bfe,easing:"ease-out"}).finished.finally(()=>{c.remove(),ui===c&&(ui=null)})}li?.remove();const a=document.createElement("button");a.type="button",a.dataset.testid="photograph-notice",a.title=`${t?`${t}: photograph`:"Photograph"} taken. Click to put it away.`,a.setAttribute("aria-label",t?`Photograph taken: ${t}`:"Photograph taken"),Object.assign(a.style,{position:"fixed",right:"var(--volter-space-4)",bottom:"40px",width:"220px",padding:"0",border:"1px solid var(--volter-selection-border)",borderRadius:"var(--volter-radius-md)",background:"var(--volter-surface-raised)",boxShadow:"var(--volter-shadow-lg)",overflow:"hidden",cursor:"pointer",zIndex:"var(--volter-z-toast)"});const s=document.createElement("img");if(s.src=`data:image/png;base64,${e}`,s.alt="The photograph just taken of the document",Object.assign(s.style,{display:"block",width:"100%",height:"auto"}),a.append(s),t){const l=document.createElement("div");l.dataset.testid="photograph-name",l.textContent=t,Object.assign(l.style,{padding:"var(--volter-space-1) var(--volter-space-2)",font:"var(--volter-font-ui-sm, 12px system-ui)",color:"var(--volter-text)",textAlign:"left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}),a.append(l)}o.append(a),li=a;const u=()=>{if(li===a&&(li=null),!!a.isConnected){if(i){a.remove();return}a.animate([{transform:"translateX(0)"},{transform:"translateX(130%)"}],{duration:b4,easing:"ease-in",fill:"forwards"}).finished.finally(()=>a.remove())}};a.addEventListener("click",u,{once:!0}),i||a.animate([{transform:"translateX(130%)"},{transform:"translateX(0)"}],{duration:b4,easing:"ease-out"}),window.setTimeout(u,gfe)}let Er=[];const Fv=new Set;function Bv(){for(const e of Fv)e()}function n3e(){Bv()}function o3e(){return Er}function i3e(){let e=null;for(const t of Er){const r=t.startedAt();r!==null&&(!e||r>e.startedAt)&&(e={startedAt:r,endedAt:t.endedAt()})}return e}function a3e(){return Er.find(e=>e.mounted())?.surface()??null}function s3e(e){if(Er.some(t=>t.id===e.id))throw new Error(`live session "${e.id}" is already registered.`);return Er=[...Er,e],Bv(),()=>{Er=Er.filter(t=>t!==e),Bv()}}function l3e(){return Er.some(e=>e.mounted())}function u3e(){for(const e of Er)e.stop()}function c3e(e){return Fv.add(e),()=>Fv.delete(e)}const uf=new Map;function d3e(e,t){return uf.set(e,t),()=>{uf.get(e)===t&&uf.delete(e)}}function f3e(){return Object.fromEntries([...uf].map(([e,t])=>[e,t()]))}const cf=new Map;function p3e(e){return cf.set(e.id,e),()=>{cf.get(e.id)===e&&cf.delete(e.id)}}function h3e(){return[...cf.values()]}const vfe=["workspace:scene","workspace:canvas-scene","workspace:2d-components","workspace:ui-components"],yfe=["animation","behavior","console","light-explorer","story-actions","story-interactions","story-accessibility"],v4="tool:";function wfe(e){return yfe.includes(e)||e.startsWith(v4)&&e.length>v4.length}const Efe=["scene","asset","tool","document","world","story","workspace"];function m3e(e){return Efe.includes(e)}const g3e=["version","workspace","style","keymap","panel","document","selection","viewport","utility"],de="view.",y4=4096,_fe=new Set(vfe),Sfe=new Set(["model","image","audio","animation","json","prefab","source"]),Rfe=new Set(["top","front","right","perspective","isometric"]),xfe=["solid","preview","rendered","clay","unlit","wireframe","matcap","normals","overdraw","uv","vertex-colors","bounds","skeleton"],Cfe=new Set(xfe);function Lk(e){const t=e?.trim();return t||null}function Afe(e,t){t&&(e.set(`${de}docKind`,t.kind),t.kind==="asset"&&t.entityId?(e.set(`${de}doc`,t.entityId),e.set(`${de}assetSource`,"entity")):t.kind==="asset"?e.set(`${de}doc`,t.path):t.kind==="scene"?e.set(`${de}doc`,t.path):t.kind==="story"?(e.set(`${de}doc`,t.modulePath),e.set(`${de}story`,t.storyName),t.mode==="docs"&&e.set(`${de}storyMode`,"docs")):e.set(`${de}doc`,t.id),t.kind==="asset"&&t.assetKind&&e.set(`${de}assetKind`,t.assetKind))}function Pfe(e,t){t&&(typeof t.camera=="string"?e.set(`${de}camera`,t.camera):t.camera&&(e.set(`${de}camera`,"pose"),e.set(`${de}cameraPosition`,[t.camera.position.x,t.camera.position.y,t.camera.position.z].join(",")),e.set(`${de}cameraTarget`,[t.camera.target.x,t.camera.target.y,t.camera.target.z].join(",")),t.camera.fov!==void 0&&e.set(`${de}cameraFov`,String(t.camera.fov))),t.diagnostic&&e.set(`${de}diagnostic`,t.diagnostic),t.frame&&e.set(`${de}frame`,t.frame),t.grid!==void 0&&e.set(`${de}grid`,t.grid?"1":"0"))}function w4(e){if(!e)return null;const t=e.split(",").map(Number);return t.length!==3||t.some(r=>!Number.isFinite(r))?null:{x:t[0],y:t[1],z:t[2]}}function Tfe(e){const t=e.get(`${de}camera`);if(t&&Rfe.has(t))return t;if(t!=="pose")return;const r=w4(e.get(`${de}cameraPosition`)),n=w4(e.get(`${de}cameraTarget`)),o=e.get(`${de}cameraFov`),i=o===null?void 0:Number(o);if(!(!r||!n||i!==void 0&&!Number.isFinite(i)))return{position:r,target:n,...i!==void 0?{fov:i}:{}}}function Ofe(e,t){const r=Lk(e.get(`${de}story`));if(r)return{kind:"story",modulePath:t,storyName:r,...e.get(`${de}storyMode`)==="docs"?{mode:"docs"}:{}}}function $fe(e,t){const r=e.get(`${de}assetKind`);return e.get(`${de}assetSource`)==="entity"?{kind:"asset",entityId:t,assetKind:"model"}:{kind:"asset",path:t,...r&&Sfe.has(r)?{assetKind:r}:{}}}function qfe(e){const t=e.get(`${de}docKind`),r=Lk(e.get(`${de}doc`));if(r)return t==="scene"?{kind:t,path:r}:t==="tool"?{kind:t,id:r}:t==="document"?{kind:t,id:r}:t==="world"?{kind:t,id:r}:t==="story"?Ofe(e,r):t==="workspace"&&_fe.has(r)?{kind:t,id:r}:t==="asset"?$fe(e,r):void 0}function kfe(e){const t=Tfe(e),r=e.get(`${de}diagnostic`),n=e.get(`${de}frame`),o=e.get(`${de}grid`),i={...t?{camera:t}:{},...r&&Cfe.has(r)?{diagnostic:r}:{},...n==="document"||n==="selection"?{frame:n}:{},...o==="0"||o==="1"?{grid:o==="1"}:{}};return Object.keys(i).length>0?i:void 0}function b3e(e,t){const r=new URL(t);for(const n of[...r.searchParams.keys()])n.startsWith(de)&&r.searchParams.delete(n);if(r.searchParams.set(`${de}v`,"1"),Afe(r.searchParams,e.document),e.selection?.ids.length){for(const n of e.selection.ids)r.searchParams.append(`${de}select`,n);e.selection.focus&&r.searchParams.set(`${de}focus`,"1")}if(Pfe(r.searchParams,e.viewport),e.workspace&&r.searchParams.set(`${de}workspace`,e.workspace),e.panel&&r.searchParams.set(`${de}panel`,e.panel),e.utility&&r.searchParams.set(`${de}utility`,e.utility),r.search.length>y4)throw new Error(`Editor view URL exceeds the ${y4}-character share limit.`);return r.toString()}function v3e(e){const r=(e instanceof URL?e:new URL(e,"http://editor.invalid")).searchParams;if(r.get(`${de}v`)!=="1")return null;const n={version:1},o=qfe(r);o&&(n.document=o);const i=r.getAll(`${de}select`).filter(c=>c.length>0).slice(0,32);i.length&&(n.selection={ids:i,focus:r.get(`${de}focus`)==="1"});const a=kfe(r);a&&(n.viewport=a);const s=r.get(`${de}workspace`);s&&(n.workspace=s);const u=r.get(`${de}panel`);u&&(n.panel=u);const l=r.get(`${de}utility`);return l&&wfe(l)&&(n.utility=l),n}const y3e=["agent","hierarchy","inspector"];let _u=[];function w3e(e){return _u=[..._u,e],()=>{_u=_u.filter(t=>t!==e)}}function E3e(e){return _u.find(t=>t.accepts(e))??null}const Mfe=[[/physic|rigid|collid/i,h7],[/material/i,Nj],[/light/i,Cy],[/camera/i,Tp],[/audio|sound|music/i,bA],[/player|character|humanoid|person/i,f7],[/anim|state|machine/i,uA]];function _3e(e){for(const[t,r]of Mfe)if(t.test(e))return r;return xf}async function S3e(e,t){const r=await Promise.all(t.map(n=>Nfe(e,n)));return{assets:r.flatMap(n=>n.assets),failedListings:r.flatMap(n=>n.failedListings)}}async function Nfe(e,t){const r=[""],n=[],o=[];let i=0;for(;r.length>0&&i<512;){const a=r.splice(0,8),s=await Promise.all(a.map(u=>e(t,u)));i+=a.length,s.forEach((u,l)=>{const c=a[l];if(!u.ok){o.push(`${t}/${c}: ${u.reason}`);return}for(const d of u.entries){const f=c?`${c}/${d.name}`:d.name;d.type==="directory"?r.push(f):n.push({path:f,root:t,entry:d})}})}return{assets:n,failedListings:o}}function R3e(e){const t=Mce(e).kind;return t==="model"||t==="image"||t==="video"||t==="audio"?t:"other"}function O1(e){const[t,r]=H.useState(null);return H.useEffect(()=>{let n=0;const o=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>r(e))});return()=>{cancelAnimationFrame(o),cancelAnimationFrame(n)}},[e]),t===e}const Ife=H.lazy(()=>qj(()=>Promise.resolve().then(()=>fme),[]).then(e=>({default:e.InspectorCanvasPreview})));function x3e({picture:e,previewKey:t,actions:r,mode:n="section"}){const o=n==="thumbnail",i=O1(t);return R.jsxs("div",{"data-testid":o?"inspection-preview-thumbnail":"inspection-preview",style:o?{position:"absolute",inset:0,overflow:"hidden"}:{position:"relative",width:"calc(100% - 24px)",aspectRatio:"1 / 1",flexShrink:0,margin:12,overflow:"hidden",border:"1px solid var(--volter-structural-divider)",borderRadius:"var(--dv-group-border-radius, 8px)"},children:[i&&R.jsx(H.Suspense,{fallback:null,children:e()}),!o&&r.map(a=>R.jsx(Xe,{"data-testid":a.id,size:"compact",disabled:a.disabled,title:a.title,onClick:a.run,style:{position:"absolute",right:8,bottom:8},children:a.label},a.id))]})}function C3e({source:e,component:t,previewKey:r,actions:n,mode:o="section"}){const i=o==="thumbnail",a=O1(r);return R.jsxs("div",{"data-testid":i?"inspection-preview-thumbnail":"inspection-preview",style:i?{position:"absolute",inset:0,overflow:"hidden"}:{position:"relative",width:"calc(100% - 24px)",aspectRatio:"1 / 1",flexShrink:0,margin:12,overflow:"hidden",border:"1px solid var(--volter-structural-divider)",borderRadius:"var(--dv-group-border-radius, 8px)"},children:[a&&R.jsx("div",{style:{position:"absolute",inset:0,overflow:"hidden",background:"var(--volter-bg-inset)"},children:R.jsx(e.Thumbnail,{component:t})}),!i&&n.map(s=>R.jsx(Xe,{"data-testid":s.id,size:"compact",disabled:s.disabled,title:s.title,onClick:s.run,style:{position:"absolute",right:8,bottom:8},children:s.label},s.id))]})}function A3e({capture:e,previewKey:t,actions:r,mode:n="section"}){const o=n==="thumbnail",i=O1(t);return R.jsxs("div",{"data-testid":o?"inspection-preview-thumbnail":"inspection-preview",style:o?{position:"absolute",inset:0,overflow:"hidden"}:{position:"relative",width:"calc(100% - 24px)",aspectRatio:"1 / 1",flexShrink:0,margin:12,overflow:"hidden",border:"1px solid var(--volter-structural-divider)",borderRadius:"var(--dv-group-border-radius, 8px)"},children:[i&&R.jsx(H.Suspense,{fallback:null,children:R.jsx(Ife,{capture:e,previewKey:t,size:o?96:256})}),!o&&r.map(a=>R.jsx(Xe,{"data-testid":a.id,size:"compact",disabled:a.disabled,title:a.title,onClick:a.run,style:{position:"absolute",right:8,bottom:8},children:a.label},a.id))]})}function jfe(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function P3e(e){const t=[],r=[],n=new Map;for(const o of e)o.group?(n.has(o.group)||(n.set(o.group,[]),r.push(o.group)),n.get(o.group).push(o)):t.push(o);return{ungrouped:t,groups:r.map(o=>({name:o,groupId:jfe(o),properties:n.get(o)}))}}const Zo=[];function T3e(e){const t=Zo.findIndex(r=>r.owner===e.owner&&r.id===e.id);return t>=0&&Zo.splice(t,1),Zo.push(e),()=>{const r=Zo.indexOf(e);r>=0&&Zo.splice(r,1)}}function O3e(e){return Zo.find(t=>t.admits(e))??null}const $3e={id:"design",title:"Design"},Fk=Symbol.for("volter.editor.layout-host"),Bk=globalThis;function q3e(e){Bk[Fk]=e}function Jc(){const e=Bk[Fk];if(!e)throw new Error("Editor layouts require an editor host.");return e}function k3e(e){return H.createElement(Jc().Frame,e)}function M3e(){return H.createElement(Jc().Header)}function N3e(){return H.createElement(Jc().Footer)}function I3e(e){return H.createElement(Jc().Workspace,e)}function j3e(e){return H.createElement(Jc().Document,e)}let df=null;function D3e(e){return df=e,()=>{df===e&&(df=null)}}function L3e(){return df}function E4(e){return`resource:${e}`}function _4(e){return e.slice(e.lastIndexOf("/")+1)}function S4(e){if(e.includes("\0"))throw new Error("Resource path cannot contain a NUL byte.");const t=e.replaceAll("\\","/");if(t.startsWith("/")||/^[a-zA-Z][a-zA-Z\d+.-]*:/.test(t))throw new Error(`Resource path must be project-relative: "${e}".`);const r=[];for(const n of t.split("/"))if(!(n===""||n===".")){if(n===".."){if(r.length===0)throw new Error(`Resource path escapes the project root: "${e}".`);r.pop();continue}r.push(n)}if(r.length===0)throw new Error("Resource path cannot be empty.");return r.join("/")}function Dfe(e,t){const r=e.trim();if(!r||r==="."||r===".."||r.includes("/")||r.includes("\\")||r.includes("\0"))throw new Error(`${t} must be one non-empty path segment.`);return r}class Lfe{descriptors=new Map;keyByLocation=new Map;inactive=new Set;registerProject(t,r,n){const o=S4(r),i=`project://${o}`,a=this.existingAt(i,t);return a||this.add({key:E4(crypto.randomUUID()),kind:t,scope:"project",displayName:n??_4(o),location:i,sessionId:null})}registerSession(t,r,n,o){const i=Dfe(r,"Session id"),a=S4(n),s=`session://${i}/${a}`,u=this.existingAt(s,t);return u||this.add({key:E4(crypto.randomUUID()),kind:t,scope:"session",displayName:o??_4(a),location:s,sessionId:i})}get(t){return this.descriptors.get(t)??null}isActive(t){return this.descriptors.has(t)&&!this.inactive.has(t)}expireSession(t){const r=[];for(const n of this.descriptors.values())n.sessionId!==t||this.inactive.has(n.key)||(this.inactive.add(n.key),r.push(n.key));return r}expireResources(t){const r=[];for(const n of t){const o=this.descriptors.get(n);!o||this.inactive.has(n)||(this.inactive.add(n),this.keyByLocation.get(o.location)===n&&this.keyByLocation.delete(o.location),r.push(n))}return r}clear(){this.descriptors.clear(),this.keyByLocation.clear(),this.inactive.clear()}add(t){if(this.descriptors.has(t.key))throw new Error(`Duplicate resource key "${t.key}".`);if(this.keyByLocation.has(t.location))throw new Error(`Duplicate resource location "${t.location}".`);return this.descriptors.set(t.key,t),this.keyByLocation.set(t.location,t.key),t}existingAt(t,r){const n=this.keyByLocation.get(t);if(!n)return null;const o=this.descriptors.get(n);if(o.kind!==r)throw new Error(`Resource "${t}" is already registered as ${o.kind}, not ${r}.`);if(this.inactive.has(n))throw new Error(`Resource "${t}" has expired.`);return o}}let zu=null,zk=null;const Fi=new Set,zv=new Set,Hv=new Set;let bc=[];function pg(){return zu!==null}function F3e(e){if(zu!==e){zu=e,zu||(bc=[]);for(const t of Fi)t()}}function hg(){return zu}function Ffe(e){return Fi.add(e),()=>Fi.delete(e)}function B3e(){for(const e of Fi)e()}function Bfe(e){const t={...e,document:e.document===void 0?zk?.()??null:e.document};bc.push(t);for(const r of zv)r(t);for(const r of Fi)r()}function z3e(e){zk=e}function H3e(){return bc}function U3e(e){return zv.add(e),()=>zv.delete(e)}function V3e(e){const t=new Set(e);bc=bc.filter(r=>!r.resources.some(n=>t.has(n)));for(const r of Hv)r(e);for(const r of Fi)r()}function W3e(e){return Hv.add(e),()=>Hv.delete(e)}class zfe{tails=new Map;run(t,r){return this.runMany([t],r)}async runMany(t,r){const n=[...new Set(t)].sort();if(n.length===0)return r();const o=n.map(l=>this.tails.get(l)??Promise.resolve()),i=Promise.all(o).then(()=>{});let a;const s=new Promise(l=>{a=l}),u=i.then(()=>s);for(const l of n)this.tails.set(l,u);await i;try{return await r()}finally{a();for(const l of n)this.tails.get(l)===u&&this.tails.delete(l)}}}function Hfe(e,t){if(e.byteLength!==t.byteLength)return!1;for(let r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0}class Ufe{blobs=new Map;retainedBytes=0;async put(t){if(!Number.isSafeInteger(t.revision)||t.revision<0)throw new Error("Snapshot revision must be a non-negative safe integer.");const r=Uint8Array.from(t.bytes),n=await an(r),o=this.blobs.get(n);if(o){if(!Hfe(o.bytes,r))throw new Error(`SHA-256 collision for ${n}.`);o.references++}else this.blobs.set(n,{bytes:r,references:1}),this.retainedBytes+=r.byteLength;return{revision:t.revision,contentType:t.contentType,sha256:n,blobKey:n,byteLength:r.byteLength}}release(t){const r=this.requireBlob(t);r.references--,r.references===0&&(this.blobs.delete(t.blobKey),this.retainedBytes-=r.bytes.byteLength)}read(t){const r=this.requireBlob(t);return{revision:t.revision,contentType:t.contentType,bytes:Uint8Array.from(r.bytes),sha256:t.sha256}}has(t){const r=this.blobs.get(t.blobKey);return!!r&&r.bytes.byteLength===t.byteLength}get uniqueByteLength(){return this.retainedBytes}clear(){this.blobs.clear(),this.retainedBytes=0}requireBlob(t){const r=this.blobs.get(t.blobKey);if(!r)throw new Error(`Snapshot blob "${t.blobKey}" is not retained.`);if(t.sha256!==t.blobKey||r.bytes.byteLength!==t.byteLength)throw new Error(`Snapshot reference "${t.blobKey}" does not match its retained blob.`);return r}}const Vfe=2e3,Wfe=64*1024*1024,Gfe=16*1024*1024,Kfe=.8,R4="project://";class ft extends Error{constructor(t){super(t.message),this.historyError=t,this.name="HistoryOperationError"}}function Yfe(e){const r=(e instanceof Error?e.message:typeof e=="string"?e:null)?.trim();return r||null}function tt(e,t,r,n){const o=Yfe(n),i=o&&!t.includes(o)?`${t} ${o.endsWith(".")?o:`${o}.`}`:t,a={code:e,message:i,resources:r};return n===void 0?a:{...a,cause:n}}function Uv(e){return`${(e/(1024*1024)).toFixed(1)} MB`}function Zfe(e,t){return`${e} ${t}${e===1?"":"s"}`}function Jfe(e,t,r,n){return e==="transactions"?`Undo history is near its step limit — ${t} of ${n.maxTransactions} steps in this editing session. Older steps will start dropping when the limit is reached.`:`Undo history is near its memory limit — ${Uv(r)} of ${Uv(n.maxBytes)} of in-memory snapshots, at only ${t} of ${n.maxTransactions} steps. Older steps will start dropping when the memory limit is reached.`}function Xfe(e,t,r){const n=e==="transactions"?`${r.maxTransactions}-step limit`:`${Uv(r.maxBytes)} memory limit`;return`Undo history dropped ${Zfe(t,"older step")} to stay within its ${n}. Those edits can no longer be undone; saved files are unaffected.`}function x4(e){const t=new Map;for(const n of e)t.set(n.before.blobKey,n.before.byteLength),t.set(n.after.blobKey,n.after.byteLength);let r=0;for(const n of t.values())r+=n;return r}class G3e{registry=new Lfe;snapshots=new Ufe;persistence=new zfe;limits={maxTransactions:Vfe,maxBytes:Wfe,maxTransactionBytes:Gfe};drivers=new Map;listeners=new Set;entries=[];cursorValue=0;version=0;pendingExecutions=0;pendingProducers=0;activeTransaction=!1;disposeRequested=!1;disposeComplete=!1;blockedValue=!1;lastErrorValue=null;limitWarningValue=null;lastEvictionValue=null;droppedTotal=0;executionTail=Promise.resolve();publicSnapshot;unsubscribeOwner;constructor(){this.publicSnapshot=this.buildSnapshot(),this.unsubscribeOwner=Ffe(()=>this.notify())}subscribe=t=>this.disposeRequested?()=>{}:(this.listeners.add(t),()=>this.listeners.delete(t));getSnapshot=()=>{if(pg()){const t=this.buildSnapshot();(t.canUndo!==this.publicSnapshot.canUndo||t.canRedo!==this.publicSnapshot.canRedo||t.undoLabel!==this.publicSnapshot.undoLabel||t.redoLabel!==this.publicSnapshot.redoLabel)&&(this.publicSnapshot=t)}return this.publicSnapshot};reserveProducer(){this.assertNotDisposed(),this.pendingProducers++,this.notify();let t=!1;return()=>{t||(t=!0,this.pendingProducers--,this.finishDisposeIfIdle(),this.disposeComplete||this.notify())}}registerDriver(t){this.assertNotDisposed();const r=t.descriptor.key;if(!this.registry.get(r))throw new Error(`Driver resource "${r}" is not registered.`);if(this.drivers.has(r))throw new Error(`Resource "${r}" already has a driver.`);return this.drivers.set(r,t),()=>{this.drivers.get(r)===t&&this.drivers.delete(r)}}transaction(t,r){return this.validateOptions(t),this.activeTransaction?Promise.reject(new ft(tt("busy","A history transaction cannot nest another transaction.",[]))):this.enqueue(()=>this.transactionNow(t,r))}async transactionNow(t,r){this.assertCanStartTransaction(),this.activeTransaction=!0,this.notify();const n=new Set(t.resources),o=new Map,i=async s=>{if(!n.has(s))throw new Error(`Transaction did not declare resource "${s}".`);const u=o.get(s);if(u)return u;const l=this.requireDriver(s);this.validateResourceScope(l,t);const c=await l.capture(),d=await this.storeCapturedSnapshot(c),f={beforeSnapshot:c,before:d,afterBytes:Uint8Array.from(c.bytes),afterContentType:c.contentType,beforeOwned:!0};return o.set(s,f),f},a={read:async s=>{const u=await i(s);return{revision:u.beforeSnapshot.revision,contentType:u.afterContentType,bytes:Uint8Array.from(u.afterBytes),sha256:u.beforeSnapshot.sha256}},write:async(s,u,l)=>{const c=await i(s);c.afterBytes=Uint8Array.from(u),c.afterContentType=l??c.afterContentType},writeText:async(s,u,l="text/plain")=>{await a.write(s,new TextEncoder().encode(u),l)},writeJson:async(s,u)=>{await a.writeText(s,JSON.stringify(u,null,2),"application/json")}};try{const s=await r(a),u=await this.finishStaging(o);return u.length===0||await this.commitStagedTransaction(t,u),s}finally{for(const s of o.values())s.beforeOwned&&this.snapshots.release(s.before);this.activeTransaction=!1,this.finishDisposeIfIdle(),this.disposeComplete||this.notify()}}undo(){const t=hg();return t?this.executeDelegate(t,"undo"):this.enqueue(()=>this.undoNow())}redo(){const t=hg();return t?this.executeDelegate(t,"redo"):this.enqueue(()=>this.redoNow())}executeEntry(t,r){return this.enqueue(async()=>{const n=this.entries.find(o=>o.id===t);if(!n)return this.lastErrorValue=tt("expired",`History entry "${t}" is no longer recorded, so it cannot be ${r}ne.`,[]),this.notify(),!1;if(n.status==="expired"){const o=tt("expired",`“${n.label}” belongs to an expired session.`,[]);return n.error=o,this.lastErrorValue=o,this.notify(),!1}return this.executeExisting(n,r,!1)})}async executeDelegate(t,r){if(!(r==="undo"?t.canUndo():t.canRedo()))return!1;try{return(r==="undo"?await t.undo():await t.redo())!==!1}finally{this.notify()}}recordAppliedTransaction(t,r){if(this.assertCanRecordAppliedChange(),this.validateOptions(t),r.length===0)return Promise.resolve(!1);const n=new Set(t.resources);if(r.length!==n.size||r.some(o=>!n.has(o.resource)))return Promise.reject(new Error("Applied history changes must exactly match declared resources."));for(const o of r){const i=this.requireDriver(o.resource);this.validateResourceScope(i,t)}return this.enqueue(async()=>{this.assertCanRecordAppliedChange();const o=[];try{for(const i of r){const a=await this.snapshots.put({revision:0,contentType:i.contentType,bytes:i.beforeBytes}),s=await this.snapshots.put({revision:1,contentType:i.contentType,bytes:i.afterBytes});if(a.sha256===s.sha256){this.snapshots.release(a),this.snapshots.release(s);continue}o.push({resource:i.resource,before:a,after:s})}return o.length===0?!1:(this.appendAppliedTransaction(t,o),!0)}catch(i){throw this.releaseChanges(o),this.lastErrorValue=i instanceof ft?i.historyError:tt("apply-failed",`Failed to journal “${t.label.trim()}”.`,r.map(a=>a.resource),i),this.notify(),i}})}assertCanRecordAppliedChange(){if(this.assertNotDisposed(),this.blockedValue)throw this.lastErrorValue?.code==="compensation-failed"?new ft(this.lastErrorValue):new ft(tt("compensation-failed","History is blocked pending recovery.",[]))}reportAppliedChangeFailure(t,r,n){this.blockedValue||(this.lastErrorValue=tt("apply-failed",`Failed to apply “${t.trim()}”; prior state was restored.`,r,n),this.notify())}blockForCompensationFailure(t,r,n){if(this.blockedValue&&this.lastErrorValue?.code==="compensation-failed")return new ft(this.lastErrorValue);const o=tt("compensation-failed",`History recovery failed while applying “${t.trim()}”.`,r,n);return this.blockedValue=!0,this.lastErrorValue=o,this.notify(),new ft(o)}jumpTo(t){return!Number.isInteger(t)||t<0||t>this.entries.length?Promise.reject(new Error(`History cursor ${t} is out of range.`)):this.enqueue(async()=>{for(;this.cursorValue>t;)if(!await this.undoNow())return!1;for(;this.cursorValue<t;)if(!await this.redoNow())return!1;return!0})}expireSession(t){if(this.disposeRequested)return;const r=new Set(this.registry.expireSession(t));r.size!==0&&(this.entries=this.entries.map(n=>n.sessionId===t||n.changes.some(o=>r.has(o.resource))?{...n,status:"expired",error:null}:n),this.notify())}expireResources(t){if(this.disposeRequested)return;const r=new Set(this.registry.expireResources(t));r.size!==0&&(this.entries=this.entries.map(n=>n.changes.some(o=>r.has(o.resource))?{...n,status:"expired",error:null}:n),this.notify())}dispose(){this.disposeRequested||(this.disposeRequested=!0,this.unsubscribeOwner(),this.listeners.clear(),this.finishDisposeIfIdle())}finishDisposeIfIdle(){if(!(!this.disposeRequested||this.disposeComplete||this.activeTransaction||this.pendingExecutions>0||this.pendingProducers>0)){for(const t of this.entries)this.releaseChanges(t.changes);this.entries=[],this.cursorValue=0,this.drivers.clear(),this.registry.clear(),this.snapshots.clear(),this.blockedValue=!1,this.lastErrorValue=null,this.limitWarningValue=null,this.lastEvictionValue=null,this.droppedTotal=0,this.disposeComplete=!0,this.notify()}}async finishStaging(t){const r=[];try{for(const[n,o]of t){const i=await this.snapshots.put({revision:o.beforeSnapshot.revision+1,contentType:o.afterContentType,bytes:o.afterBytes});if(i.sha256===o.before.sha256){this.snapshots.release(i),this.snapshots.release(o.before),o.beforeOwned=!1;continue}r.push({resource:n,before:o.before,after:i}),o.beforeOwned=!1}return r}catch(n){throw this.releaseChanges(r),n}}async commitStagedTransaction(t,r){const n=x4(r);if(n>this.limits.maxTransactionBytes)throw this.releaseChanges(r),new ft(tt("history-limit",`Transaction requires ${n} bytes; the limit is ${this.limits.maxTransactionBytes}.`,r.map(i=>i.resource)));const o={id:crypto.randomUUID(),label:t.label.trim(),detail:t.detail?.trim()||null,timestamp:Date.now(),scope:t.scope,sessionId:t.scope==="session"?t.sessionId:null,changes:r,byteSize:n,status:"committed",error:null};try{this.assertCanRecordAppliedChange(),await this.persistence.runMany(r.map(i=>i.resource),async()=>{this.assertCanRecordAppliedChange(),await this.preflight(o,"redo"),await this.applyWithCompensation(o,"redo")})}catch(i){const a=i instanceof ft?i.historyError:tt("apply-failed",`Failed to commit “${o.label}”.`,r.map(s=>s.resource),i);throw this.lastErrorValue=a,a.code==="compensation-failed"&&(this.blockedValue=!0),this.releaseChanges(r),this.notify(),i}this.truncateRedo(),this.entries.push(o),this.cursorValue=this.entries.length,this.blockedValue||(this.lastErrorValue=null),this.trimToLimits(),this.notify(),this.offerElement(o)}appendAppliedTransaction(t,r){const n=x4(r);if(n>this.limits.maxTransactionBytes)throw this.releaseChanges(r),new ft(tt("history-limit",`Transaction requires ${n} bytes; the limit is ${this.limits.maxTransactionBytes}.`,r.map(i=>i.resource)));const o={id:crypto.randomUUID(),label:t.label.trim(),detail:t.detail?.trim()||null,timestamp:Date.now(),scope:t.scope,sessionId:t.scope==="session"?t.sessionId:null,changes:r,byteSize:n,status:r.every(i=>this.registry.isActive(i.resource))?"committed":"expired",error:null};this.truncateRedo(),this.entries.push(o),this.cursorValue=this.entries.length,this.blockedValue||(this.lastErrorValue=null),this.trimToLimits(),this.notify(),this.offerElement(o)}offerElement(t){if(!pg())return;const r=[];for(const n of t.changes){const o=this.registry.get(n.resource)?.location;if(!o?.startsWith(R4))continue;const i=o.slice(R4.length);r.includes(i)||r.push(i)}Bfe({id:t.id,label:t.label,resources:r,undo:()=>this.executeEntry(t.id,"undo"),redo:()=>this.executeEntry(t.id,"redo")})}async undoNow(){if(this.cursorValue===0||this.blockedValue)return!1;const t=this.entries[this.cursorValue-1];if(t.status==="expired"){const r=tt("expired",`“${t.label}” belongs to an expired session.`,[]);return t.error=r,this.lastErrorValue=r,this.notify(),!1}return this.executeExisting(t,"undo")}async redoNow(){if(this.cursorValue>=this.entries.length||this.blockedValue)return!1;const t=this.entries[this.cursorValue];if(t.status==="expired"){const r=tt("expired",`“${t.label}” belongs to an expired session.`,[]);return t.error=r,this.lastErrorValue=r,this.notify(),!1}return this.executeExisting(t,"redo")}async executeExisting(t,r,n=!0){const o=t.changes.map(i=>i.resource);try{return await this.persistence.runMany(o,async()=>{await this.preflight(t,r),t.status=r==="undo"?"undoing":"redoing",t.error=null,this.notify(),await this.applyWithCompensation(t,r)}),r==="undo"?(n&&this.cursorValue--,t.status="undone"):(n&&this.cursorValue++,t.status="committed"),t.error=null,this.lastErrorValue=null,this.notify(),!0}catch(i){const a=i instanceof ft?i.historyError:tt("apply-failed",`Failed to ${r} “${t.label}”.`,o,i);return t.error=a,t.status=a.code==="compensation-failed"?"failed-partial":"failed",this.lastErrorValue=a,a.code==="compensation-failed"&&(this.blockedValue=!0),this.notify(),!1}}async preflight(t,r){for(const n of t.changes){if(!this.registry.isActive(n.resource))throw new ft(tt("expired",`Resource "${n.resource}" is unavailable.`,[n.resource]));const o=r==="undo"?n.after:n.before,i=await this.requireDriver(n.resource).preflight(o);if(!i.ok)throw new ft(tt(i.reason==="expired"?"expired":"conflict",`Resource "${n.resource}" no longer matches “${t.label}”.`,[n.resource]))}}async applyWithCompensation(t,r){const n=r==="undo"?[...t.changes].reverse():[...t.changes],o=[];try{for(const i of n){const a=r==="undo"?i.before:i.after;await this.requireDriver(i.resource).restore(a),o.push(i)}}catch(i){try{for(const a of[...o].reverse()){const s=r==="undo"?a.after:a.before;await this.requireDriver(a.resource).restore(s)}}catch(a){throw new ft(tt("compensation-failed",`History recovery failed while applying “${t.label}”.`,t.changes.map(s=>s.resource),{applyError:i,compensationError:a}))}throw new ft(tt("apply-failed",`Failed to apply “${t.label}”; prior state was restored.`,t.changes.map(a=>a.resource),i))}}enqueue(t){if(this.disposeRequested)return Promise.reject(new Error("History service is disposed."));this.pendingExecutions++,this.notify();const r=()=>(this.assertNotDisposed(),t()),n=this.executionTail.then(r,r);return this.executionTail=n.then(()=>{},()=>{}),n.finally(()=>{this.pendingExecutions--,this.finishDisposeIfIdle(),this.disposeComplete||this.notify()})}async storeCapturedSnapshot(t){const r=await this.snapshots.put({revision:t.revision,contentType:t.contentType,bytes:t.bytes});if(r.sha256!==t.sha256)throw this.snapshots.release(r),new Error("Resource driver returned bytes that do not match its SHA-256.");return r}truncateRedo(){if(this.cursorValue!==this.entries.length){for(const t of this.entries.slice(this.cursorValue))this.releaseChanges(t.changes);this.entries=this.entries.slice(0,this.cursorValue)}}trimToLimits(){if(pg()){this.evaluateLimitWarning();return}let t=0,r=null;for(;this.entries.length>1;){const n=this.snapshots.uniqueByteLength>this.limits.maxBytes,o=this.entries.length>this.limits.maxTransactions;if(!n&&!o)break;r=n?"bytes":"transactions";const[i,...a]=this.entries;this.entries=a,this.releaseChanges(i.changes),this.cursorValue=Math.max(0,this.cursorValue-1),t++}t>0&&(this.droppedTotal+=t,this.lastEvictionValue={budget:r,droppedCount:t,totalDropped:this.droppedTotal,message:Xfe(r,t,this.limits)}),this.evaluateLimitWarning()}evaluateLimitWarning(){const t=this.entries.length/this.limits.maxTransactions,r=this.snapshots.uniqueByteLength/this.limits.maxBytes;if(Math.max(t,r)<Kfe){this.limitWarningValue=null;return}const n=r>t?"bytes":"transactions";if(this.limitWarningValue?.budget===n)return;const o=this.snapshots.uniqueByteLength;this.limitWarningValue={budget:n,used:n==="bytes"?o:this.entries.length,limit:n==="bytes"?this.limits.maxBytes:this.limits.maxTransactions,message:Jfe(n,this.entries.length,o,this.limits)}}releaseChanges(t){for(const r of t)this.snapshots.has(r.before)&&this.snapshots.release(r.before),this.snapshots.has(r.after)&&this.snapshots.release(r.after)}requireDriver(t){const r=this.drivers.get(t);if(!r)throw new Error(`No history resource driver is registered for "${t}".`);return r}validateOptions(t){if(!t.label.trim())throw new Error("History transaction label cannot be empty.");if(t.resources.length===0)throw new Error("History transaction needs a resource.");if(new Set(t.resources).size!==t.resources.length)throw new Error("History transaction resources must be unique.");if(t.scope==="session"&&!t.sessionId?.trim())throw new Error("A session transaction requires a session id.");if(t.scope==="project"&&t.sessionId!==void 0)throw new Error("A project transaction cannot have a session id.")}assertCanStartTransaction(){if(this.assertNotDisposed(),this.blockedValue)throw new ft(tt("compensation-failed","History is blocked pending recovery.",[]));if(this.activeTransaction)throw new ft(tt("busy","Another history operation is already in progress.",[]))}assertNotDisposed(){if(this.disposeRequested)throw new Error("History service is disposed.")}validateResourceScope(t,r){const n=t.descriptor;if(n.scope!==r.scope)throw new Error(`Resource "${n.key}" does not match transaction scope.`);if(r.scope==="session"&&n.sessionId!==r.sessionId)throw new Error(`Resource "${n.key}" belongs to another session.`)}notify(){this.version++,this.publicSnapshot=this.buildSnapshot();for(const t of this.listeners)t()}buildSnapshot(){const t=hg(),r=this.cursorValue>0?this.entries[this.cursorValue-1]:null,n=this.cursorValue<this.entries.length?this.entries[this.cursorValue]:null,o=this.pendingExecutions===0&&this.pendingProducers===0&&!this.activeTransaction;return{version:this.version,transactions:this.entries.map(i=>({...i,changes:i.changes.map(a=>({...a}))})),cursor:this.cursorValue,busy:!o,blocked:this.blockedValue,canUndo:t?t.canUndo():o&&!!r&&r.status!=="expired"&&!this.blockedValue,canRedo:t?t.canRedo():o&&!!n&&n.status!=="expired"&&!this.blockedValue,undoLabel:t?t.undoLabel?.()??null:r?.label??null,redoLabel:t?t.redoLabel?.()??null:n?.label??null,uniqueSnapshotBytes:this.snapshots.uniqueByteLength,lastError:this.lastErrorValue,limitWarning:this.limitWarningValue,lastEviction:this.lastEvictionValue}}}const io=new TextEncoder,Qfe=new TextDecoder;class epe{constructor(t,r){this.history=t,this.backend=r}resources=new Map;tail=Promise.resolve();commit(t,r){try{this.history.assertCanRecordAppliedChange()}catch(o){return Promise.reject(o)}const n=this.history.reserveProducer();return this.enqueue(()=>(this.history.assertCanRecordAppliedChange(),this.prepareAndCommit(t,r))).finally(n)}replaceSource(t,r,n){try{this.history.assertCanRecordAppliedChange()}catch(i){return Promise.reject(i)}const o=this.history.reserveProducer();return this.enqueue(async()=>{this.history.assertCanRecordAppliedChange();const i=await this.backend.readSource(r);if(i.source===n)return!1;const a=this.resource(r,i.resourcePath);return this.history.transaction({label:t,resources:[a.descriptor.key],scope:"project"},async s=>(await s.writeText(a.descriptor.key,n,"text/typescript"),!0))}).finally(o)}runGesture(t,r){try{this.history.assertCanRecordAppliedChange()}catch(o){return Promise.reject(o)}const n=this.history.reserveProducer();return this.enqueue(async()=>{this.history.assertCanRecordAppliedChange();const o={label:t,files:new Map,applyOrder:[]};try{const i=await r(this.scopedBackend(o));return await this.recordGesture(o),i}catch(i){try{await this.compensateGesture(o)}catch(a){throw this.history.blockForCompensationFailure(t,this.gestureResourceKeys(o),{operationError:i,compensationError:a})}throw i instanceof ft||this.history.reportAppliedChangeFailure(t,this.gestureResourceKeys(o),i),i}}).finally(n)}enqueue(t){const r=this.tail.then(t,t);return this.tail=r.then(()=>{},()=>{}),r}scopedBackend(t){const r=i=>this.applyInGesture(t,i),{runGesture:n,...o}=this.backend;return{...o,writeStyle:(i,a,s)=>r({kind:"style",oid:i,prop:a,value:s}),removeStyle:(i,a)=>r({kind:"style",oid:i,prop:a,value:null}),writeCss:(i,a,s,u,l)=>r({kind:"css",file:i,selector:a,prop:s,value:u,...l!==void 0?{media:l}:{}}),writeText:(i,a)=>r({kind:"text",oid:i,text:a}),writeProp:(i,a,s,u)=>r({kind:"prop",oid:i,prop:a,value:s,...u?.addIfMissing?{addIfMissing:!0}:{},...u?.allowShapeUpgrade?{allowShapeUpgrade:!0}:{}}),removeProp:(i,a)=>r({kind:"prop",oid:i,prop:a,value:null}),writeComponentDefault:(i,a,s)=>r({kind:"component-default",oid:i,prop:a,value:s}),writeStruct:(i,a,s)=>r({kind:"struct",oid:i,op:a,...s}),writeStructMany:(i,a,s)=>r({kind:"struct-many",oids:i,op:a,...s})}}async recordGesture(t){const r=[...t.files.entries()].filter(([,n])=>n.beforeSha!==n.afterSha).map(([n,o])=>({resource:this.resource(n,o.resourcePath).descriptor.key,beforeBytes:io.encode(o.before),afterBytes:io.encode(o.after),contentType:"text/plain"}));r.length!==0&&await this.history.recordAppliedTransaction({label:t.label,resources:r.map(n=>n.resource),scope:"project"},r)}async prepareAndCommit(t,r){const n=await this.backend.prepare(r),o=this.response(n);if(!n.changed||!n.file||!n.resourcePath||n.newSource===void 0)return o;const i=this.resource(n.file,n.resourcePath);return await this.history.transaction({label:t,resources:[i.descriptor.key],scope:"project"},a=>a.writeText(i.descriptor.key,n.newSource,"text/plain")),o}async applyInGesture(t,r){const n=await this.backend.prepare(r),o=this.response(n);if(!n.changed||!n.file||!n.resourcePath||n.newSource===void 0||n.prevSource===void 0||n.prevSha===void 0)return o;const i=n.newSha??await an(io.encode(n.newSource)),a=t.files.get(n.file);a?(a.knownShas.add(n.prevSha),a.knownShas.add(i)):t.files.set(n.file,{resourcePath:n.resourcePath,before:n.prevSource,beforeSha:n.prevSha,after:n.prevSource,afterSha:n.prevSha,knownShas:new Set([n.prevSha,i])});const s=t.files.get(n.file);s.after=n.newSource,s.afterSha=i,t.applyOrder.push(n.file);const u=await this.backend.applySource(n.file,n.newSource,n.prevSha);if(!u.applied)throw new Error(u.error??`Failed to apply source file "${n.file}".`);return o}async compensateGesture(t){const r=new Set,n=[...t.applyOrder].reverse().filter(o=>r.has(o)?!1:(r.add(o),!0));for(const o of n){const i=t.files.get(o),a=await this.backend.readSource(o),s=await an(io.encode(a.source));if(a.sha!==s)throw new Error(`Source file "${o}" returned bytes that do not match its hash.`);if(s===i.beforeSha)continue;if(!i.knownShas.has(s))throw new Error(`Source file "${o}" changed outside the failed gesture.`);const u=await this.backend.applySource(o,i.before,s);if(!u.applied)throw new Error(u.error??`Failed to compensate source file "${o}".`);const l=await this.backend.readSource(o),c=await an(io.encode(l.source));if(l.sha!==c||c!==i.beforeSha)throw new Error(`Source file "${o}" compensated with the wrong hash.`)}}gestureResourceKeys(t){return[...t.files.entries()].map(([r,n])=>this.resource(r,n.resourcePath).descriptor.key)}response(t){return{changed:t.changed,...t.result,file:t.file,prevSource:t.prevSource,newSource:t.newSource,prevSha:t.prevSha,newSha:t.newSha}}resource(t,r){const n=this.resources.get(t);if(n)return n;const o=this.history.registry.registerProject("source",r),i={descriptor:o,expectedSha:null,binary:!1},a={descriptor:o,capture:async()=>{const s=await this.backend.readSource(t);return i.binary=s.bytes!==void 0,{revision:0,contentType:i.binary?"application/octet-stream":"text/plain",bytes:s.bytes??io.encode(s.source),sha256:s.sha}},preflight:async s=>{const u=await this.backend.readSource(t);return i.expectedSha=u.sha,i.binary=u.bytes!==void 0,u.sha===s.sha256?{ok:!0}:{ok:!1,reason:"content-conflict"}},restore:async s=>{const u=i.expectedSha;if(i.expectedSha=null,!u)throw new Error(`Source resource "${t}" was not preflighted.`);const l=this.history.snapshots.read(s).bytes,c=i.binary?l:Qfe.decode(l),d=await this.backend.applySource(t,c,u);if(!d.applied)throw new Error(d.error??`Failed to apply source file "${t}".`);if((d.sha??await an(typeof c=="string"?io.encode(c):c))!==s.sha256)throw new Error(`Source file "${t}" restored with the wrong hash.`)}};return this.history.registerDriver(a),this.resources.set(t,i),i}}const C4=new WeakMap;function Hk(e,t){let r=C4.get(t);r||(r=new WeakMap,C4.set(t,r));const n=e.historyIdentity;let o=r.get(n);return o||(o=new epe(t,e),r.set(n,o)),o}function K3e(e,t,r){return Hk(e,t).replaceSource(r.label,r.file,r.source)}function Y3e(e,t){if(!e||!t)return e;const r=Hk(e,t),n=(i,a)=>r.commit(i,a),o=r;return{...e,runGesture:(i,a)=>o.runGesture(i,a),writeStyle:(i,a,s)=>n(`Set ${a}`,{kind:"style",oid:i,prop:a,value:s}),removeStyle:(i,a)=>n(`Remove ${a}`,{kind:"style",oid:i,prop:a,value:null}),writeCss:(i,a,s,u,l)=>n(`Set ${s}`,{kind:"css",file:i,selector:a,prop:s,value:u,...l!==void 0?{media:l}:{}}),writeText:(i,a)=>n("Edit Text",{kind:"text",oid:i,text:a}),writeProp:(i,a,s,u)=>n(`Set ${a}`,{kind:"prop",oid:i,prop:a,value:s,...u?.addIfMissing?{addIfMissing:!0}:{},...u?.allowShapeUpgrade?{allowShapeUpgrade:!0}:{}}),removeProp:(i,a)=>n(`Revert ${a}`,{kind:"prop",oid:i,prop:a,value:null}),writeComponentDefault:(i,a,s)=>n(`Apply ${a} to Component`,{kind:"component-default",oid:i,prop:a,value:s}),writeStruct:(i,a,s)=>n(`${a[0]?.toUpperCase()??""}${a.slice(1)}`,{kind:"struct",oid:i,op:a,...s}),writeStructMany:(i,a,s)=>n(`${a[0]?.toUpperCase()??""}${a.slice(1)} ${i.length} Elements`,{kind:"struct-many",oids:i,op:a,...s})}}function tpe(e){if(e&&typeof e=="object"&&"revision"in e){const t=e.revision;typeof t=="number"&&Wce(t)}}async function Z3e(e){return bt("/__ui-source/csf-story",e)}async function J3e(e){return bt("/__ui-source/named-style",e)}async function bt(e,t){const r=wu(),n=t&&typeof t=="object"&&!Array.isArray(t)?{...t,...r}:t,o=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});o.ok===!1&&o.status===409&&await nde(o,`Source mutation ${e}`);const i=await Vv(o,e);return tpe(i),i}async function Vv(e,t){Ri(e,`Source request ${t} failed`);let r;try{r=await e.json()}catch(n){throw e.ok!==!1?n:new Error(`Source request ${t} failed with HTTP ${e.status}.`,{cause:n})}if(e.ok===!1){const n=r&&typeof r=="object"?String(r.error??r.message??e.statusText):e.statusText;throw new Error(`Source request ${t} failed with HTTP ${e.status}${n?`: ${n}`:""}.`)}return r}const Wv=new Map;function A4(e,t){const r=e.file??t;r&&e.resourcePath&&Wv.set(r,e.resourcePath)}async function rpe(e){const t=Wv.get(e);if(t)return t;const r=await bt("/__ui-source/read",{file:e});return Wv.set(e,r.resourcePath),r.resourcePath}async function npe(e,t,r){const n=await rpe(e),o=typeof t=="string";let i;try{i=o?await an(new TextEncoder().encode(await af.read(n))):await an(await af.readBytes(n))}catch(s){return{applied:!1,error:`Could not read "${n}" to guard the write: ${String(s)}`}}return i!==r?{applied:!1,sha:i,error:"stale: the file changed since this undo/redo entry was recorded"}:(await af.write(n,t),{applied:!0,sha:o?await an(new TextEncoder().encode(t)):await an(t)})}function Uk(){return{historyIdentity:ope,prepare:async e=>{const t=await bt("/__ui-source/prepare",e);return A4(t),t},readSource:async e=>{const t=await bt("/__ui-source/read",{file:e});return A4(t,e),t},applySource:(e,t,r)=>af.frameOwned()?npe(e,t,r):bt("/__ui-source/apply",{file:e,source:t,ifMatchSha:r}),writeStyle:(e,t,r)=>bt("/__ui-source/write",{oid:e,prop:t,value:r}),removeStyle:(e,t)=>bt("/__ui-source/write",{oid:e,prop:t,value:null}),writeCss:(e,t,r,n,o)=>bt("/__ui-source/css",{file:e,selector:t,prop:r,value:n,...o!==void 0?{media:o}:{}}),writeText:(e,t)=>bt("/__ui-source/text",{oid:e,text:t}),writeProp:(e,t,r,n)=>bt("/__ui-source/prop",{oid:e,prop:t,value:r,...n?.addIfMissing?{addIfMissing:!0}:{},...n?.allowShapeUpgrade?{allowShapeUpgrade:!0}:{}}),removeProp:(e,t)=>bt("/__ui-source/prop",{oid:e,prop:t,value:null}),writeStruct:(e,t,r)=>bt("/__ui-source/struct",{oid:e,op:t,...r}),writeStructMany:(e,t,r)=>bt("/__ui-source/struct-many",{oids:e,op:t,...r}),forkComponent:(e,t,r)=>bt("/__ui-source/fork-component",{oid:e,definitionOid:t,...r?{name:r}:{}}),extractComponent:(e,t)=>bt("/__ui-source/extract-component",{oid:e,...t?{name:t}:{}}),index:async()=>{const e=await fetch("/__ui-source/index");return Vv(e,"/__ui-source/index")},componentProps:async(e,t)=>{const r=`/__ui-source/component-props?file=${encodeURIComponent(e)}&name=${encodeURIComponent(t.name)}`,n=await fetch(r);return(await Vv(n,"/__ui-source/component-props")).props}}}const ope={};let iu=null,Gv=null;function $1(){if(!iu){const e=Promise.resolve().then(()=>fetch("/__editor/project")).then(t=>No(t,"`/__editor/project` did not answer the source-write probe")).then(t=>{const r=t.sourceWrite;return Gv=r,r}).catch(()=>(iu===e&&(iu=null),!1));iu=e}return iu}function ipe(){return $1()}function X3e(){$1()}function ape(e){console.warn(`[volter-editor] ${e} mounted before this session's source-write route was confirmed, so its edits are live-only. Remount the surface (reopen the project) to author against the project’s own source.`)}function spe(e){return Gv===null&&($1(),ape(e)),Gv}function Q3e(e){return spe(e)?Uk():void 0}async function e_e(){return await ipe()?Uk():void 0}function lpe(e,t,r){const n=e?.[t];if(n)return n;const o=H.createContext(r);return e&&(e[t]=o),o}const Xc=lpe(void 0,"EditorContext",null);function t_e({shell:e,children:t}){return R.jsx(Xc.Provider,{value:e,children:t})}function Vk(){const e=H.useContext(Xc);if(!e)throw new Error("useEditorStore must be used within <EditorProvider>");return e.store}function r_e(){const e=H.useContext(Xc);if(!e)throw new Error("useEditorStats must be used within <EditorProvider>");return e.stats}function n_e(){return H.useContext(Xc)?.store??null}function o_e(){return H.useContext(Xc)?.stats??null}function upe(e,t){return e==="selection"&&t==="selection"?"selection":"content"}class i_e{_selection=new Set;_history=null;_listeners=new Set;_deferredNotifyTimer=null;_deferredNotifyScope="content";_version=0;_shellVersion=0;_contentVersion=0;_hierarchyRowFacetVersion=0;subscribe=t=>(this._listeners.add(t),()=>this._listeners.delete(t));getSnapshot=()=>this._version;getShellSnapshot=()=>this._shellVersion;get contentVersion(){return this._contentVersion}get hierarchyRowFacetVersion(){return this._hierarchyRowFacetVersion}get projectHistory(){return this._history}_notify(t="content",r="shell",n=t!=="selection"){this._deferredNotifyTimer!==null&&(clearTimeout(this._deferredNotifyTimer),this._deferredNotifyTimer=null),this._beforeNotify(),this._version++,r==="shell"&&this._shellVersion++,t!=="selection"&&this._contentVersion++,n&&this._hierarchyRowFacetVersion++;for(const o of this._listeners)o()}_transformMode="combined";_transformSpace="world";_snapEnabled=!1;_snapValues={translate:1,rotate:15,scale:.25};_snapToSurface=!1;_rotationSnap=!1;_snap2D={step:8,offsetX:0,offsetY:0,primaryEvery:8,rotationOffset:0,rotationStep:15,scaleStep:.1,relative:!1,pixel:!0};_scaleSnap=!1;_smartSnap={enabled:!1,parent:!0,others:!0,guides:!0,sides:!0,center:!0};_preserveChildrenTransform=!1;_pivotMode="active-element";_gizmoAnchor="auto";_showHelpers=!0;_showGizmos=!0;_helperVisibility={bounds:!1,lights:!0,cameras:!0,colliders:!0,joints:!0,particles:!0,lod:!0,audio:!0,splines:!0,navmesh:!0,constraints:!0,reflectionProbes:!0,triggerVolumes:!0,skeletons:!1,weights:!1,cursor:!0,empties:!0};get transformMode(){return this._transformMode}get transformSpace(){return this._transformSpace}get snapEnabled(){return this._snapEnabled}get snapValues(){return this._snapValues}get snapToSurface(){return this._snapToSurface}get snap2D(){return this._snap2D}setSnap2D(t){this._snap2D={...this._snap2D,...t},this._notify()}get rotationSnap(){return this._rotationSnap}get scaleSnap(){return this._scaleSnap}setRotationSnap(t){this._rotationSnap=t,this._notify()}setScaleSnap(t){this._scaleSnap=t,this._notify()}get smartSnap(){return this._smartSnap}get preserveChildrenTransform(){return this._preserveChildrenTransform}get pivotMode(){return this._pivotMode}get gizmoAnchor(){return this._gizmoAnchor}get showHelpers(){return this._showHelpers}get showGizmos(){return this._showGizmos}get helperVisibility(){return this._helperVisibility}setTransformMode(t){this._transformMode=t,this._notify()}setTransformSpace(t){this._transformSpace=t,this._notify()}toggleSnap(){this._snapEnabled=!this._snapEnabled,this._notify()}setSnapValues(t){this._snapValues={...this._snapValues,...t},this._notify()}setSmartSnap(t){this._smartSnap={...this._smartSnap,...t},this._notify()}toggleSnapToSurface(){this._snapToSurface=!this._snapToSurface,this._notify()}togglePreserveChildrenTransform(){this._preserveChildrenTransform=!this._preserveChildrenTransform,this._notify()}setPivotMode(t){this._pivotMode=t,this._notify()}setGizmoAnchor(t){this._gizmoAnchor=t,this._notify()}toggleGizmos(){this._showGizmos=!this._showGizmos,this._notify()}toggleHelpers(){this._showHelpers=!this._showHelpers,this._notify()}toggleHelperType(t){this._helperVisibility[t]=!this._helperVisibility[t],this._helperVisibility[t]&&(this._showHelpers=!0),this._notify()}_viewportActionListeners=new Set;onViewportAction=t=>(this._viewportActionListeners.add(t),()=>this._viewportActionListeners.delete(t));requestViewportAction(t){for(const r of this._viewportActionListeners)r(t)}focusOnEntity(t){this.requestViewportAction({type:"focus-entity",id:t})}focusOnSelection(){this.requestViewportAction({type:"focus-selection"})}frameAll(){this.requestViewportAction({type:"frame-all"})}zoomView(t){this.requestViewportAction({type:"zoom-view",direction:t})}focusOnScene(){this.requestViewportAction({type:"focus-scene"})}snapSelectionToFloor(){this.requestViewportAction({type:"snap-selection-to-floor"})}setViewPreset(t){this.requestViewportAction({type:"set-view-preset",preset:t})}stepView(t){this.requestViewportAction({type:"step-view",step:t})}toggleCameraView(){this.requestViewportAction({type:"toggle-camera-view"})}toggleProjection(){this.requestViewportAction({type:"toggle-projection"})}setCameraPose(t,r,n){this.requestViewportAction({type:"set-camera-pose",position:t,target:r,...n!==void 0?{fov:n}:{}})}notifyChange(t="content",r="shell",n=t!=="selection"){this._notify(t,r,n)}_notifyDeferred(t="content"){if(this._deferredNotifyTimer!==null){this._deferredNotifyScope=upe(this._deferredNotifyScope,t);return}this._deferredNotifyScope=t,this._deferredNotifyTimer=setTimeout(()=>{this._deferredNotifyTimer=null;const r=this._deferredNotifyScope;this._deferredNotifyScope="content",this._notify(r)},0)}attachHistory(t){if(this._history!==t){if(this._history)throw new Error("EditorStore is already attached to project history.");this._history=t,this._onHistoryAttached()}}get selectedEntityId(){const t=this._selection;return t.size===0?null:[...t].at(-1)}get selectedEntityIds(){return this._selection}get canUndo(){return this._history?.getSnapshot().canUndo??!1}get canRedo(){return this._history?.getSnapshot().canRedo??!1}notifyIngestEdit(){this._notify()}select(t,r="immediate"){const n=this._selection;n.clear(),t&&n.add(t),r==="deferred"?this._notifyDeferred("selection"):this._notify("selection")}selectMultiple(t,r="immediate"){this._selection=new Set(t),r==="deferred"?this._notifyDeferred("selection"):this._notify("selection")}applySelectionBeforePresentation(t){this._selection=new Set(t);let r=!1;return()=>{r||(r=!0,this._notify("selection"))}}addToSelection(t){this._selection.add(t),this._notify("selection")}toggleSelection(t){const r=this._selection;r.has(t)?r.delete(t):r.add(t),this._notify("selection")}_beforeNotify(){}_onHistoryAttached(){}}function mg(e){return Promise.reject(new Error(`This editor tier cannot ${e}.`))}const Wk={openPersistence:()=>mg("persist Asset Lab documents"),replaceSource:()=>mg("write project source"),saveThumbnailFraming:()=>mg("write project thumbnail framing")};let ff=Wk;function a_e(e){if(ff!==e){if(ff!==Wk)throw new Error("An asset document write policy is already installed.");ff=e}}function s_e(){return ff}const Gk=128;function Kk(e){const t=c=>c!==null&&typeof c=="object"&&!Array.isArray(c)?c:null,r=c=>typeof c=="number"&&Number.isFinite(c)&&c>=0?Math.round(c):null,n=c=>typeof c=="string"&&c&&c.replace(/[\u0000-\u001f\u007f]/g,"").slice(0,120)||null,o=c=>{if(typeof c!="string"||c.length>8192)return null;try{const d=new URL(c);return["http:","https:","file:"].includes(d.protocol)?`${d.protocol==="file:"?"file://":d.origin}${d.pathname}`.slice(0,240):null}catch{return null}},i=t(e);if(!i||!Array.isArray(i.scripts))return;const a=r(i.ageMs),s=r(i.durationMs),u=r(i.blockingMs);if(a===null||s===null||u===null)return;const l=[];for(const c of i.scripts.slice(0,3)){const d=t(c);if(!d)continue;const f=r(d.durationMs);f!==null&&l.push({durationMs:f,sourceURL:o(d.sourceURL),sourceFunctionName:n(d.sourceFunctionName),sourceCharPosition:r(d.sourceCharPosition)})}return{ageMs:a,durationMs:s,blockingMs:u,scripts:l}}function l_e(e){if(e===null||typeof e!="object"||Array.isArray(e))return;const t=e,r=t.observed;if(typeof r!="number"||!Number.isSafeInteger(r)||r<0||!Array.isArray(t.frames)||t.frames.length>Gk)return;const n=[];let o=0;for(const i of t.frames){if(i===null||typeof i!="object"||Array.isArray(i))return;const a=i.sequence;if(typeof a!="number"||!Number.isSafeInteger(a)||a<=o||a>r)return;const s=Kk(i);if(!s)return;n.push({...s,sequence:a}),o=a}return{observed:r,frames:n}}const Kv=new Map;function u_e(e,t){Kv.set(e,t),dpe(),cpe()}const P4=128;let Su=[],Hu=null,Yk=0,Yv=!1,mp=!1,vi=null,Zk=0;const pf=[];function cpe(){if(!(mp||typeof PerformanceObserver>"u"||!(PerformanceObserver.supportedEntryTypes??[]).includes("long-animation-frame")))try{new PerformanceObserver(t=>{for(const r of t.getEntries()){const n=r,o=++Zk,i=n.startTime+n.duration;if(!Number.isFinite(i))continue;const a=[];for(const u of n.scripts??[])!Number.isFinite(u.duration)||u.duration<0||(a.push(u),a.sort((l,c)=>c.duration-l.duration),a.length>3&&a.pop());const s=Kk({ageMs:0,durationMs:n.duration,blockingMs:n.blockingDuration,scripts:a.map(u=>({durationMs:u.duration,sourceURL:u.sourceURL,sourceFunctionName:u.sourceFunctionName,sourceCharPosition:u.sourceCharPosition}))});s&&(pf.push({sequence:o,end:i,reading:s}),pf.length>Gk&&pf.shift(),(!vi||i>=vi.end)&&(vi={end:i,reading:s}))}}).observe({type:"long-animation-frame",buffered:!0}),mp=!0}catch{}}function dpe(){if(Yv||typeof PerformanceObserver>"u")return;let e;try{e=new PerformanceObserver(t=>{for(const r of t.getEntries()){const n=r.duration;(Hu===null||n>Hu)&&(Hu=n),n>=100&&(Yk+=1),Su.push({start:r.startTime,duration:n}),Su.length>P4&&(Su=Su.slice(-P4))}}),e.observe({type:"longtask",buffered:!0})}catch{return}Yv=!0}function fpe(){if(!Yv&&!mp)return null;const e=performance.now();return{longestTaskMs:Hu===null?null:Math.round(Hu),tasksOver100ms:Yk,...mp?{longAnimationFrame:vi?{...vi.reading,ageMs:Math.max(0,Math.round(e-vi.end))}:null,longAnimationFrames:{observed:Zk,frames:pf.map(t=>({...t.reading,sequence:t.sequence,ageMs:Math.max(0,Math.round(e-t.end))}))}}:{}}}function ppe(){const e=performance.now();if(Kv.size===0)return null;const t={};for(const[r,n]of Kv){const o=n(),i=o.lastCallWindow;let a=null;if(i!==null){const s=i.end??e;for(const u of Su)u.start+u.duration<i.start||u.start>s||(a===null||u.duration>a)&&(a=u.duration)}t[r]={inFlightMs:o.inFlightMs,lastCallMs:o.lastCallMs,maxCallMs:o.maxCallMs,maxCallLabel:o.maxCallLabel,currentPhase:o.currentPhase,completedCalls:o.completedCalls,callsOver5s:o.callsOver5s,callsOver30s:o.callsOver30s,lastCallLongestTaskMs:a===null?null:Math.round(a),wasmMemoryMB:o.wasmMemoryMB}}return t}function T4(e){return!("unavailable"in e)}function hpe(){const t=globalThis.performance?.memory;return!t||typeof t.usedJSHeapSize!="number"||typeof t.totalJSHeapSize!="number"?{unavailable:"performance.memory is unavailable — it is a non-standard Chromium-only API, not exposed by this browser."}:{usedBytes:t.usedJSHeapSize,totalBytes:t.totalJSHeapSize,limitBytes:typeof t.jsHeapSizeLimit=="number"?t.jsHeapSizeLimit:null}}const mpe=5e3,gpe=4,bpe=1024*1024;function gg(e){return Math.round(e/bpe*100)/100}function vpe(e){const t=e.heap(),r=e.canvases(),n=e.workerCalls(),o=e.stalls();let i=0;for(const a of r)i+=a.width*a.height*gpe;return{heapUsedMB:T4(t)?gg(t.usedBytes):null,heapLimitMB:T4(t)&&t.limitBytes!==null?gg(t.limitBytes):null,mountEpochs:e.mountEpochs(),canvases:r.length,canvasMB:gg(i),...n===null?{}:{workerCalls:n},...o===null?{}:{stalls:o}}}function ype(e){const t=new Set;for(const r of e)try{const n=new URL(r.name,"http://volter.invalid").searchParams.get(Rk);n!==null&&n.length>0&&t.add(n)}catch{}return t.size}function wpe(){return{heap:()=>hpe(),mountEpochs:()=>ype(performance.getEntriesByType("resource")),canvases:()=>[...document.querySelectorAll("canvas")],workerCalls:()=>ppe(),stalls:()=>fpe()}}let Jk=null;function c_e(){return Jk}function d_e(e){const t=wpe(),r=()=>{if(document.visibilityState==="hidden")return;const o=vpe(t);Jk=o,e.report(o)};r();const n=setInterval(r,mpe);return()=>clearInterval(n)}const gp={x:0,y:0,zoom:1};function f_e(e=gp){let t=e;const r=new Set,n=()=>{for(const o of r)o()};return{get:()=>t,setView:(o,i,a)=>{const s=Math.min(4,Math.max(.1,a));t.x===o&&t.y===i&&t.zoom===s||(t={x:o,y:i,zoom:s},n())},setPan:(o,i)=>{const a=t.zoom;t.x===o&&t.y===i||(t={x:o,y:i,zoom:a},n())},setZoom:o=>{const i=Math.min(4,Math.max(.1,o));t.zoom!==i&&(t={x:t.x,y:t.y,zoom:i},n())},reset:()=>{t.x===0&&t.y===0&&t.zoom===1||(t=gp,n())},subscribe:o=>(r.add(o),()=>r.delete(o))}}let Jt=gp;const Zv=new Set,p_e={get:()=>hf(),setView:(e,t,r)=>Sh(e,t,r),setPan:(e,t)=>Epe(e,t),setZoom:e=>_pe(e),reset:()=>Spe(),subscribe:e=>Qk(e)};function Xk(){for(const e of Zv)e()}function hf(){return Jt}function Sh(e,t,r){const n=Math.min(4,Math.max(.1,r));Jt.x===e&&Jt.y===t&&Jt.zoom===n||(Jt={x:e,y:t,zoom:n},Xk())}function Epe(e,t){Sh(e,t,Jt.zoom)}function _pe(e){Sh(Jt.x,Jt.y,e)}function Spe(){Jt.x===0&&Jt.y===0&&Jt.zoom===1||(Jt=gp,Xk())}function Qk(e){return Zv.add(e),()=>Zv.delete(e)}function h_e(e){if(!(e.x===0&&e.y===0&&e.zoom===1))return e.zoom===1?`translate(${e.x}px, ${e.y}px)`:e.x===0&&e.y===0?`scale(${e.zoom})`:`translate(${e.x}px, ${e.y}px) scale(${e.zoom})`}const Rpe=new Set(["opacity","zIndex","flexGrow","flexShrink","fontWeight","lineHeight"]);function m_e(e){if(typeof e=="number")return e;if(typeof e!="string"||e==="")return;const t=Number.parseFloat(e);return Number.isNaN(t)?void 0:t}function g_e(e,t){if(typeof e!="number"||typeof t!="string")return e;const r=t.trim().match(/^[+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?([a-z]+|%)$/i)?.[1];return r&&r.toLowerCase()!=="px"?`${e}${r}`:e}function b_e(e,t){return typeof t!="number"?t:t===0||Rpe.has(e)?String(t):`${t}px`}const xpe={hidden:!1,interactive:!1,pickLock:!1},eM=new Map;function Rh(e){return eM.get(e)??xpe}function q1(e,t){eM.set(e,{...Rh(e),...t})}function Qc(e){return Rh(e).hidden}function Cpe(e,t){q1(e,{hidden:t})}function v_e(e){Cpe(e,!Qc(e))}function Ape(e){return Rh(e).interactive}function Ppe(e,t){q1(e,{interactive:t})}function y_e(e){Ppe(e,!Ape(e))}function k1(e){return Rh(e).pickLock}function Tpe(e,t){q1(e,{pickLock:t})}function w_e(e){Tpe(e,!k1(e))}let O4=!1;const tM=new Set(["viewport","hierarchy","inspector","workspace"]);let rM="viewport";const nM="editorActiveHotkeyScope";function E_e(){const e=document.documentElement.dataset[nM];return e&&tM.has(e)?e:rM}function Ope(e){rM=e,document.documentElement.dataset[nM]=e}function $pe(e){for(const t of e.composedPath()){if(!(t instanceof HTMLElement)||e.type==="focusin"&&t.hasAttribute("data-editor-hotkey-fallback"))continue;const r=t.dataset.editorHotkeyScope;if(r&&tM.has(r))return r}return null}function $4(e){const t=$pe(e);t&&Ope(t)}function __e(){O4||(window.addEventListener("pointerdown",$4,!0),window.addEventListener("focusin",$4,!0),O4=!0)}const S_e={console:{id:"console",title:"Console"},lightExplorer:{id:"light-explorer",title:"Light Explorer"}},R_e={storyActions:{id:"story-actions",title:"Actions"},storyInteractions:{id:"story-interactions",title:"Interactions"},storyAccessibility:{id:"story-accessibility",title:"Accessibility"}},qpe={enabled:"visible",color:"light.color",intensity:"light.intensity",range:"light.distance",shadows:"shadow.cast"};function oM(e){const t=[];return Wp(e.hierarchy,r=>{r.kind==="light"&&t.push(r)}),t}function x_e(e){return oM(e).length}function iM(e,t){return e.find(r=>r.path===qpe[t])??null}function au(e,t,r,n,o){const i=iM(r,n);if(!i||!e.inspector)return{supported:!1,writable:!1,value:null};let a;try{a=e.inspector.get(t,i.path)}catch{a=void 0}return{supported:!0,writable:i.readonly!==!0,value:o(a)?a:null}}const q4=e=>typeof e=="boolean",kpe=e=>typeof e=="string",k4=e=>typeof e=="number"&&Number.isFinite(e);function C_e(e){return oM(e).map(t=>{let r=[];try{r=e.inspector?.properties(t.id)??[]}catch{}const n=e.hierarchy.nativeObject?.(t.id)?.type;return{id:t.id,name:t.label,type:t.typeLabel??n??"Light",enabled:au(e,t.id,r,"enabled",q4),color:au(e,t.id,r,"color",kpe),intensity:au(e,t.id,r,"intensity",k4),range:au(e,t.id,r,"range",k4),shadows:au(e,t.id,r,"shadows",q4)}})}function A_e(e,t,r,n){if(!e.inspector)return 0;let o=0;for(const i of t){let a=null;try{a=iM(e.inspector.properties(i),r)}catch{continue}!a||a.readonly||(lV(e,i,a.path,n),o++)}return o}const mf=new Map,gf=new Map,Jv=new Set;let aM=0;function sM(){aM++;for(const e of[...Jv])e()}function P_e(e,t){const r=mf.get(e),n=t===null?null:Math.max(0,Math.round(t.headerWidth));(t===null?r===void 0:r?.headerWidth===n&&r.shelf===t.shelf)||(t===null||n===null?mf.delete(e):mf.set(e,{headerWidth:n,shelf:t.shelf}),sM())}function T_e(e){return mf.get(e)??null}function O_e(e){return gf.get(e)??null}function $_e(e,t){(gf.get(e)??null)!==t&&(t===null?gf.delete(e):gf.set(e,t),sM())}function q_e(e){return Jv.add(e),()=>{Jv.delete(e)}}function k_e(){return aM}const Mpe=5742335;function lM(e,t,r){return e<<16|t<<8|r}function M4(e){const t=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec(e.trim())?.[1];if(t){const o=t.length===3?[...t].map(i=>`${i}${i}`).join(""):t;return Number.parseInt(o.slice(0,6),16)}const r=/^rgba?\(\s*(\d+(?:\.\d+)?)\s*(?:,\s*|\s+)(\d+(?:\.\d+)?)\s*(?:,\s*|\s+)(\d+(?:\.\d+)?)/i.exec(e.trim());if(!r)return null;const n=r.slice(1,4).map(o=>Math.round(Number(o)));return n.some(o=>o<0||o>255)?null:lM(n[0],n[1],n[2])}function vc(e){const t=M4(e);if(t!==null||typeof document>"u")return t;if(typeof CSS<"u"&&!CSS.supports("color",e))return null;const r=document.createElement("canvas").getContext("2d");return r?(r.fillStyle="#010203",r.fillStyle=e,M4(String(r.fillStyle))):null}function mr(e){return typeof document>"u"?null:e?.closest(`.${tb}`)??document.querySelector(`.${tb}`)}function N4(e){const t=Math.round((e>>16&255)*.42),r=Math.round((e>>8&255)*.42),n=Math.round((e&255)*.42);return lM(t,r,n)}function Je(e,t){return e&&typeof getComputedStyle<"u"?getComputedStyle(e).getPropertyValue(t).trim():""}const uM={"--volter-viewport-background":"--vscode-volter-viewport-background","--volter-viewport-grid":"--vscode-volter-viewport-grid","--volter-viewport-axis-x":"--vscode-volter-viewport-axisX","--volter-viewport-axis-y":"--vscode-volter-viewport-axisY","--volter-viewport-axis-z":"--vscode-volter-viewport-axisZ","--volter-viewport-selection":"--vscode-volter-viewport-selection","--volter-viewport-active":"--vscode-volter-viewport-active","--volter-viewport-wire":"--vscode-volter-viewport-wire","--volter-gizmo-x":"--vscode-volter-gizmo-x","--volter-gizmo-y":"--vscode-volter-gizmo-y","--volter-gizmo-z":"--vscode-volter-gizmo-z","--volter-gizmo-navigation-x":"--vscode-volter-gizmo-navigationX","--volter-gizmo-navigation-y":"--vscode-volter-gizmo-navigationY","--volter-gizmo-navigation-z":"--vscode-volter-gizmo-navigationZ","--volter-gizmo-hover":"--vscode-volter-gizmo-hover","--volter-gizmo-drag":"--vscode-volter-gizmo-drag"};function yc(e,t){const r=uM[t];return(r?Je(e,r):"")||Je(e,t)}function M_e(e){const t=mr(e),r=yc(t,"--volter-viewport-selection")||Je(t,"--volter-accent"),n=vc(r||zA.color.accent.default)??Mpe,o=vc(yc(t,"--volter-viewport-active")),i=Je(t,"--volter-viewport-outline-style"),a=Number.parseFloat(Je(t,"--volter-viewport-outline-width")),s=Je(t,"--volter-viewport-outline-hidden");return{visible:n,hidden:N4(n),...o===null?{}:{active:{visible:o,hidden:N4(o)}},...i===""&&s===""&&!Number.isFinite(a)?{}:{outline:{style:i==="crisp"?"crisp":"soft",width:Number.isFinite(a)&&a>0?a:null,hidden:s!=="false"}}}}function N_e(e){return cM(e).background!==null}function I_e(e){const t=cM(e).background;if(t===null)return!1;const r=t>>16&255,n=t>>8&255,o=t&255;return(.2126*r+.7152*n+.0722*o)/255>.5}function cM(e){const t=mr(e),r=n=>{const o=yc(t,n);return o?vc(o):null};return{background:r("--volter-viewport-background"),grid:r("--volter-viewport-grid"),axisX:r("--volter-viewport-axis-x"),axisY:r("--volter-viewport-axis-y"),axisZ:r("--volter-viewport-axis-z"),axisLineWidth:(()=>{const n=Je(t,"--volter-viewport-axis-line-width"),o=n?Number.parseFloat(n):Number.NaN;return Number.isFinite(o)?o:null})(),active:r("--volter-viewport-active")}}function j_e(e){const t=mr(e),r=i=>{const a=yc(t,i);return a?vc(a):null},n=i=>{const a=Je(t,i);if(!a)return null;const s=Number.parseFloat(a);return Number.isFinite(s)?s:null},o=i=>{const a=r(`${i}-x`),s=r(`${i}-y`),u=r(`${i}-z`);return a!==null&&s!==null&&u!==null?[a,s,u]:null};return{axes:o("--volter-gizmo"),navigation:o("--volter-gizmo-navigation"),hover:r("--volter-gizmo-hover"),drag:r("--volter-gizmo-drag"),opacity:n("--volter-viewport-gizmo-opacity"),arrowLength:n("--volter-viewport-gizmo-arrow-length"),arrowHead:n("--volter-viewport-gizmo-arrow-head"),ringWidth:n("--volter-viewport-gizmo-ring-width"),navigationSize:n("--volter-viewport-navigation-size"),background:r("--volter-viewport-background"),navigationForm:(i=>i==="cones"||i==="triad"||i==="godot"?i:"balls")(Je(t,"--volter-viewport-navigation-gizmo")),navigationCorner:Je(t,"--volter-viewport-navigation-corner")==="bottom-left"?"bottom-left":"top-right",highlightSaturation:n("--volter-viewport-gizmo-highlight-saturation"),highlightValue:n("--volter-viewport-gizmo-highlight-value")}}function D_e(e){const t=Je(mr(e),"--volter-viewport-gizmo-size");if(!t)return null;const r=Number.parseFloat(t);return Number.isFinite(r)&&r>0?r:null}function L_e(e){const t=Number.parseFloat(Je(mr(e),"--volter-viewport-marquee-dash"));return Number.isFinite(t)&&t>0?t:null}function F_e(e){const t=mr(e),r=(o,i)=>{const a=Number.parseFloat(Je(t,o));return Number.isFinite(a)&&a>0?a:i},n=r("--volter-viewport-grid-line-width",1);return{lineWidth:n,majorWidth:r("--volter-viewport-grid-major-width",n),majorContrast:r("--volter-viewport-grid-major-contrast",1)}}function B_e(e){const t=mr(e),r=yc(t,"--volter-viewport-wire"),n=Number.parseFloat(Je(t,"--volter-viewport-wire-opacity"));return{color:r?vc(r):null,opacity:Number.isFinite(n)?n:null}}function z_e(e){const t=mr(e),r=Number.parseFloat(Je(t,"--volter-viewport-selection-box-width"));return{edges:Je(t,"--volter-viewport-selection-box")==="edges",frame:Je(t,"--volter-viewport-selection-box-frame")==="object"?"object":"world",lineWidth:Number.isFinite(r)&&r>0?r:null}}function dM(){const e=mr();return["--volter-viewport-chrome-bar","--volter-viewport-chrome-view-name","--volter-viewport-chrome-tools","--volter-viewport-chrome-display","--volter-viewport-chrome-transform-controls"].map(t=>Je(e,t)).join("|")}function Npe(e){const[t,r,n,o,i]=e.split("|"),a=["strip","pills"],s=["menu","gizmo","bar"],u=["bar-start","bar-end"],l=(c,d,f)=>d.includes(c)?c:f;return{bar:l(t,a,"none"),viewName:l(r,s,"text"),tools:l(n,u,"shelf"),display:l(o,u,"corner"),transformControls:i==="bar"?"bar":"header"}}let Xv=null;function Ipe(e){return pM(null,()=>{Xv=dM(),e()})}function I4(){return Xv??=dM(),Xv}let Qv=null;function fM(){const e=mr();return JSON.stringify([ky.map(t=>Je(e,`--volter-viewport-word-${t}`)),Je(e,"--volter-viewport-word-helpers")])}function jpe(e){return pM(null,()=>{Qv=fM(),e()})}function j4(){return Qv??=fM(),Qv}function H_e(){const e=H.useSyncExternalStore(jpe,j4,j4);return H.useMemo(()=>{const[t,r]=JSON.parse(e),n={};return ky.forEach((o,i)=>{t[i]&&(n[o]=t[i])}),{shading:n,helpers:r||void 0}},[e])}function U_e(){const e=H.useSyncExternalStore(Ipe,I4,I4);return H.useMemo(()=>Npe(e),[e])}function pM(e,t){t();const r=mr(e);if(!r||typeof MutationObserver>"u")return()=>{};const n=new MutationObserver(t);n.observe(r,{attributes:!0,attributeFilter:["style"]});const o=Dpe(r,t);return()=>{n.disconnect(),o()}}const kd=new Set;let Go=null,bg="";function Dpe(e,t){const r=()=>Object.values(uM).map(n=>Je(e,n)).join("|");return kd.add(t),!Go&&typeof document<"u"&&document.head&&(bg=r(),Go=new MutationObserver(()=>{const n=r();if(n!==bg){bg=n;for(const o of[...kd])o()}}),Go.observe(document.head,{childList:!0,subtree:!0,characterData:!0})),()=>{kd.delete(t),kd.size===0&&Go&&(Go.disconnect(),Go=null)}}let Ru=[],hM=0;const ey=new Set;function vg(){hM++;for(const e of ey)e()}function V_e(e){return ey.add(e),()=>ey.delete(e)}function W_e(){return hM}function Lpe(){const e=new Set,t=[];for(const r of Ru){const n=typeof r.actions=="function"?r.actions():r.actions;for(const o of n){const i=`tool:${o.id}`;e.has(i)||(e.add(i),t.push({...o,id:i}))}}return t}function G_e(e){if(typeof e.actions!="function"){const r=Lpe();for(const n of e.actions)if(r.some(o=>o.id===`tool:${n.id}`))throw new Error(`action "tool:${n.id}" is already contributed.`)}Ru=[...Ru,e];const t=e.subscribe?.(vg);return vg(),()=>{t?.(),Ru=Ru.filter(r=>r!==e),vg()}}function gr(e,t){return{...t,iconName:e}}const K_e=gr("outliner-object",Op),Fpe=gr("outliner-light",Cy),Bpe=gr("outliner-camera",Tp),zpe=gr("outliner-audio",g7),Hpe=gr("outliner-data",Zj),D4=gr("outliner-mesh",Op),mM={react:lA,canvas:$7,scene:wA,mesh:D4,"skinned-mesh":D4,"mesh-data":Hpe,light:Fpe,camera:Bpe,audio:zpe,"reflection-probe":yA,group:T2,object:cA,component:xf,img:du,a:t7,ul:um,ol:um,li:um,button:Fg,sprite:du,animatedsprite:d7,nineslicesprite:du,tilingsprite:du,text:y7,graphics:Fg,container:T2},Y_e=gr("outliner-render-on",Tp),Z_e=gr("outliner-render-off",Kj),J_e=gr("outliner-exclude-on",Yj),X_e=gr("outliner-exclude-off",Fg),gM=new Set;function Q_e(e,t=cA){const r=mM[e];if(r)return r;for(const n of gM)if(e.startsWith(n))return gr(e,t);return t}const bM=new Set(["mesh-data"]),vM=new Set;function eSe(e){e.namespace!==void 0&&gM.add(e.namespace);for(const[t,r]of Object.entries(e.glyphs??{}))mM[t]=r;for(const t of e.datablocks??[])bM.add(t);for(const t of e.datablockPrefixes??[])vM.add(t)}function tSe(e){if(e===void 0)return!1;if(bM.has(e))return!0;for(const t of vM)if(e.startsWith(t))return!0;return!1}function yM(e){const t=hr(e);return t instanceof Io?t.childAdapters().find(n=>n.kind==="stage"&&n.adapter.capabilities.transform)?.worldId??null:null}function Upe(e){const t=hr(e);if(!(t instanceof Io))return!0;if(!t.childAdapters().some(o=>o.kind==="stage"))return!1;const n=yM(e);return n===null?!0:!Qc(n)}const Vpe=()=>{};function rSe(e,t){if(t===Vpe)return{hierarchy:e.hierarchy,isComponentRoot:()=>!1};const r=n=>{if(!n)return null;const o=t(n.id)?.componentRoot;return o===void 0?n:{...n,role:"component",typeLabel:o}};return{hierarchy:{roots:()=>e.hierarchy.roots().map(n=>r(n)),node:n=>r(e.hierarchy.node(n))},isComponentRoot:n=>t(n)?.componentRoot!==void 0}}function nSe(e,t,r){for(const n of t)n.more||r(n.node.id)&&e.set(n.node.id,!1);return e}const L4=20,Wpe="__more__:",Gpe=500;function Kpe(e,t,r){return e?Math.max(L4,t.get(r)??L4):Number.POSITIVE_INFINITY}function Ype(e,t,r,n,o){return{node:{id:`${Wpe}${e}`,label:"",kind:"object",parentId:r,childIds:[]},depth:t,pathKey:`${e}/__more__`,hasChildren:!1,hiddenByCollapse:n,more:{parentPathKey:e,hidden:o}}}function oSe(e,t,r=new Map,n=!1){const o=[],i=new Set,a=(s,u,l,c)=>{if(i.has(s.id)||u>Gpe)return;i.add(s.id);const d=s.childIds.length>0;o.push({node:s,depth:u,pathKey:l,hasChildren:d,hiddenByCollapse:c});const f=t.has(l);if(n&&f)return;const p=c||f,h=Math.min(s.childIds.length,Kpe(n,r,l));for(let m=0;m<h;m++){const v=e.node(s.childIds[m]);v&&a(v,u+1,`${l}.${m}`,p)}n&&s.childIds.length>h&&o.push(Ype(l,u+1,s.id,p,s.childIds.length-h))};return e.roots().forEach((s,u)=>{a(s,0,`r${u}`,!1)}),o}function iSe(e){return`${e.pathKey}:${e.node.id}`}function aSe(e,t,r,n,o){const i=Math.max(0,Math.floor(t/n)-o),a=Math.ceil(r/n)+o*2,s=Math.min(e,i+a);return{start:i,end:s}}const Zpe=["position","rotation","scale"];function sSe(e){const t=e.role==="component"&&!!e.typeLabel;return{label:e.label,typeSuffix:t?e.typeLabel:null}}const wM={locked:!1};function EM(e){let t;for(const r of Zpe){const n=e(r);if(!n||n.writable)return wM;r==="position"&&(t=n.reason)}return t===void 0?{locked:!0}:{locked:!0,reason:t}}class lSe{entries=new Map;source=null;version=Number.NaN;summaryFor(t,r,n){(this.source!==t||this.version!==r)&&(this.entries.clear(),this.source=t,this.version=r);const o=this.entries.get(n);if(o)return o;const i=t.transforms?.editability,a=i?EM(s=>i(n,s)):wM;return this.entries.set(n,a),a}}const Jpe={draggable:!0,renamable:!0},Xpe={draggable:!1,renamable:!1};function uSe(e){return e.structural?Xpe:Jpe}function Qpe(e){return!e||e.length===0?null:{count:e.length,tooltip:e.map(t=>t.message).join(`
1405
- `),codes:e.map(t=>t.code)}}class cSe{entries=new Map;source=null;version=Number.NaN;badgeFor(t,r,n){(this.source!==t||this.version!==r)&&(this.entries.clear(),this.source=t,this.version=r);const o=this.entries.get(n);if(o!==void 0)return o;const i=t.diagnosticsFor?Qpe(t.diagnosticsFor(n)):null;return this.entries.set(n,i),i}}const bf=new Map;function dSe(e){return bf.set(e.documentId,e),()=>{bf.get(e.documentId)===e&&bf.delete(e.documentId)}}function ehe(e){return bf.get(e)??null}function the(e,t){const r=[...t];return r.length===0||r.some(n=>e.hierarchy.node(n)===null)?null:e.rects?{worldId:null,kind:"dom"}:r.every(n=>e.hierarchy.nativeObject?.(n)!=null)?{worldId:null,kind:"stage"}:null}function rhe(e,t){const r=e.childAdapters();let n=null;for(const o of t){const i=r.find(a=>e.groupNodeId(a.worldId)===o)??r.find(a=>e.ownerOf(o)===a.worldId);if(!i||n&&n.worldId!==i.worldId)return null;n=i}return n?{worldId:n.worldId,kind:n.kind,adapter:n.adapter}:null}function nhe(e,t){const r=[...t];if(r.length===0)return null;if(e instanceof Io)return rhe(e,r);const n=the(e,r);return n?{...n,adapter:e}:null}function ohe(e,t){return!t||t.worldId!==null&&Qc(t.worldId)?!1:t.kind!=="stage"||t.worldId===null?!0:yM(e)===t.worldId}const Uu=new Map;let _M=0;const ty=new Set;function F4(){_M++;for(const e of[...ty])e()}function fSe(e,t){const r={store:t};return Uu.set(e,r),F4(),()=>{Uu.get(e)===r&&(Uu.delete(e),F4())}}function ihe(e){return e===null?null:Uu.get(e)?.store??null}function ahe(e){for(const[t,r]of Uu)if(r.store===e)return t;return null}function pSe(e){return ty.add(e),()=>{ty.delete(e)}}function hSe(){return _M}const Jo=new Map;function mSe(e){return Jo.set(e,(Jo.get(e)??0)+1),()=>{const t=(Jo.get(e)??1)-1;t>0?Jo.set(e,t):Jo.delete(e)}}const SM={count:0,surface:null,visible:!1};function she(e){return e==="stage"||e==="canvas"||e==="dom"?e:null}function B4(e){switch(e){case"scene":case"world":return{kind:"composition"};case"story":return{kind:"story"};case"asset":return{kind:"artifact"};case"document":return{kind:"data"};default:return{kind:"unknown"}}}function lhe(e){if(e===null)return{kind:"unknown"};const t=Py().find(o=>o.descriptor.id===e);if(!t)return{kind:"unknown"};const r=t.descriptor.presentation?.()??null,n=B4(r?.kind);return n.kind!=="unknown"?n:B4(t.descriptor.kind)}function uhe(e){return e instanceof Io?e.childAdapters().some(t=>t.kind==="stage"):!e.rects&&typeof e.hierarchy.nativeObject=="function"}function ry(e,t,r,n){const o=hr(e),i=Upe(e)&&uhe(o)?"stage":null,a=e.selectedEntityIds.size;if(a===0)return{documentId:t,chrome:n,subject:r,surface:i,selection:SM};const s=nhe(o,e.selectedEntityIds);return{documentId:t,chrome:n,subject:r,surface:i,selection:{count:a,surface:she(s?.kind),visible:ohe(e,s)}}}function che(e,t,r="document"){const n=lhe(t);if(Jo.has(t))return{...ry(e,t,n,r),surface:"canvas"};const o=ehe(t);if(o===null){const a=Py().find(s=>s.descriptor.id===t)?.descriptor.kind;return a!==void 0&&a!=="scene"&&a!=="world"?{documentId:t,chrome:r,subject:n,surface:null,selection:SM}:ry(e,t,n,r)}const i=o.selection().length;return{documentId:t,chrome:r,subject:n,surface:"stage",selection:{count:i,surface:i>0?"stage":null,visible:!0}}}function gSe(e){const t=Ui();return t!==null?che(e,t):ry(e,null,{kind:"unknown"},"document")}function bSe(e){return ihe(Ui())??e}function dhe(e){return e.surface!=="stage"?!1:e.selection.count===0?!0:e.selection.surface==="stage"&&e.selection.visible}function vSe(e){return dhe(e)?"gizmo":"none"}function ySe(e){return e.surface==="stage"&&e.selection.count>0&&e.selection.surface==="stage"&&e.selection.visible}function RM(e){return e.chrome==="embedded"||e.subject.kind==="story"||e.subject.kind==="artifact"}function wSe(e,t){return RM(e)?!0:e.subject.kind==="data"&&!t}function ESe(e){return e.chrome==="document"&&RM(e)}let vf=null;const bp=new Set;function _Se(e){vf=e;for(const t of bp)t();return()=>{if(vf===e){vf=null;for(const t of bp)t()}}}function SSe(){return vf}function RSe(e){return bp.add(e),()=>{bp.delete(e)}}const vp=1e-9,xM=1e5;function fhe(e,t,r){const n=r.end-r.start,o=r.loop&&n>vp;let i=e,a=t,s=!1,u=0;for(;;){const l=r.end-i;if(!o||a<=l+vp){i=Math.min(i+a,r.end);break}if(a-=l,i=r.start,s=!0,u++,u>xM){i=r.start+a%n;break}}return{pos:i,looped:s}}function phe(e,t,r){const n=r.end-r.start,o=r.loop&&n>vp;let i=e,a=t,s=!1,u=0;for(;;){const l=i-r.start;if(!o||a<=l+vp){i=Math.max(i-a,r.start);break}if(a-=l,i=r.end,s=!0,u++,u>xM){i=r.end-a%n;break}}return{pos:i,looped:s}}function z4(e,t){return e<t.start?t.start:e>t.end?t.end:e}class hhe{_currentTime=0;_range={start:0,end:1,loop:!1};_timeScale=1;_playDirection="forward";_playbackState="stopped";get time(){return this._currentTime}get playbackState(){return this._playbackState}get timeScale(){return this._timeScale}set timeScale(t){if(!Number.isFinite(t)||t<0)throw new Error(`[AnimationClock] timeScale must be a finite number >= 0, got ${t}`);this._timeScale=t}get range(){return this._range}setRange(t){const r=t.start??this._range.start,n=t.end??this._range.end,o=t.loop??this._range.loop;if(n<r)throw new Error(`[AnimationClock] range end (${n}) must be >= start (${r})`);this._range={start:r,end:n,loop:o};const i=z4(this._currentTime,this._range);i!==this._currentTime&&this.seek(i)}play(t){this._playDirection=t,this._playbackState="playing"}pause(){this._playbackState="paused"}stop(){this._playbackState="stopped"}seek(t){return this._currentTime=z4(t,this._range),{currentTime:this._currentTime,looped:!1}}advance(t){if(!Number.isFinite(t))throw new Error(`[AnimationClock] advance(dt) requires a finite dt, got ${t}`);const r=Math.abs(t)*this._timeScale,n=this._currentTime;if(r===0)return{currentTime:n,looped:!1};const o=this._playDirection==="forward"?fhe(n,r,this._range):phe(n,r,this._range);return this._currentTime=o.pos,{currentTime:o.pos,looped:o.looped}}}const Md={start:0,end:0,fps:30},mhe=150;class xSe{clock=new hhe;subjects=[];activeId=null;listeners=new Set;settleListeners=new Set;settleTimer=null;disposed=!1;cachedSnapshot=null;attach(t){return this.subjects.push(t),this.activeId===null?this.setActiveSubject(t.id):(t.seek(this.clock.time),this.notify()),()=>{const r=this.subjects.indexOf(t);if(r<0)return;if(this.subjects.splice(r,1),this.activeId!==t.id){this.notify();return}this.activeId=null;const n=this.subjects[0];n?this.setActiveSubject(n.id):(this.clock.setRange({start:Md.start,end:Md.end,loop:!1}),this.notify())}}setActiveSubject(t){const r=this.subjects.find(o=>o.id===t);if(!r)return;this.activeId=t;const n=r.range();this.clock.setRange({start:n.start,end:n.end}),this.applyTime(this.clock.time),this.notify()}get active(){return this.subjects.find(t=>t.id===this.activeId)??null}fps(){return this.active?.range().fps??Md.fps}play(t="forward"){this.active&&(this.cancelSettle(),this.clock.play(t),this.notify())}pause(){this.clock.pause(),this.cancelSettle(),this.settle(),this.notify()}stop(){this.clock.pause(),this.cancelSettle(),this.applyTime(this.clock.seek(this.clock.range.start).currentTime),this.clock.stop(),this.settle(),this.notify()}seek(t){this.applyTime(this.clock.seek(t).currentTime),this.clock.playbackState!=="playing"&&this.scheduleSettle(),this.notify()}seekFrame(t){this.seek(t/this.fps())}setLoop(t){this.clock.setRange({loop:t}),this.notify()}setTimeScale(t){this.clock.timeScale=t,this.notify()}tick(t){if(this.disposed||this.clock.playbackState!=="playing")return 0;const r=this.clock.time,n=this.clock.advance(t);return this.applyTime(n.currentTime),this.notify(),n.looped?Math.abs(t)*this.clock.timeScale:n.currentTime-r}applyTime(t){const r=this.active;r&&r.seek(t);for(const n of this.subjects)n!==r&&n.seek(t)}onSettled(t){return this.settleListeners.add(t),()=>{this.settleListeners.delete(t)}}scheduleSettle(){this.cancelSettle(),this.settleTimer=setTimeout(()=>{this.settleTimer=null,this.settle()},mhe)}cancelSettle(){this.settleTimer!==null&&(clearTimeout(this.settleTimer),this.settleTimer=null)}settle(){if(this.disposed)return;const t=this.clock.time;for(const r of[...this.settleListeners])r(t)}snapshot(){const t=this.cachedSnapshot;if(t)return t;const r=this.active?.range()??Md,n={time:this.clock.time,range:{start:this.clock.range.start,end:this.clock.range.end,fps:r.fps,loop:this.clock.range.loop},playbackState:this.clock.playbackState,timeScale:this.clock.timeScale,activeSubject:this.activeId,subjects:this.subjects.map(o=>({id:o.id,label:o.label}))};return this.cachedSnapshot=n,n}activeClips(){const r=this.active?.clips?.();return r&&r.length>1?r:null}setActiveClip(t){this.active?.setClip?.(t);const r=this.active?.range();r&&this.clock.setRange({start:r.start,end:r.end}),this.applyTime(this.clock.time),this.notify()}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}notify(){this.cachedSnapshot=null;for(const t of[...this.listeners])t()}dispose(){this.disposed=!0,this.cancelSettle(),this.clock.stop(),this.subjects.length=0,this.activeId=null,this.listeners.clear(),this.settleListeners.clear()}}const yf=new Map,ny=new Set;function H4(){for(const e of[...ny])e()}function CSe(e,t){return yf.set(e,t),H4(),()=>{yf.get(e)===t&&(yf.delete(e),H4())}}function ASe(e){return e===null?null:yf.get(e)??null}function PSe(e){return ny.add(e),()=>{ny.delete(e)}}let wf=null;function TSe(e){return wf=e,()=>{wf===e&&(wf=null)}}function OSe(){return wf}function CM(e){return e.map((t,r)=>({entry:t,index:r})).sort((t,r)=>t.entry.zOrder-r.entry.zOrder||t.index-r.index).map(({entry:t})=>t)}const ghe={transform:!1,inspectorFields:!1,persist:!1};class bhe{capabilities=ghe;provenance={source:"boundary",label:"read-only",detail:"Declared world without a live editing surface in this viewport — disclosed, not simulated; rows are read-only."};world;reason;store;pickable;constructor(t,r,n,o){this.store=t,this.world=r,this.reason=n??null,o&&(this.pickable={pick:o})}get disclosure(){return this.reason}get label(){return this.world.entryOrScenePath?.split("/").pop()??this.world.id}get node(){return{id:this.world.id,label:this.label,secondaryLabel:this.reason?"Unavailable":"Read-only",role:"boundary",kind:this.world.kind,parentId:null,childIds:[]}}hierarchy={roots:()=>[this.node],node:t=>t===this.world.id?this.node:null};selection={get:()=>[...this.store.selectedEntityIds],set:t=>this.store.selectMultiple(t)};inspector={properties:t=>{if(t!==this.world.id)return[];const r=[{path:"kind",label:"Kind",type:"string",readonly:!0}];return this.world.adapter!==void 0&&r.push({path:"adapter",label:"Adapter",type:"string",readonly:!0}),this.world.entryOrScenePath!==void 0&&r.push({path:"path",label:"Entry / Scene",type:"string",readonly:!0}),r.push({path:"zOrder",label:"Z Order",type:"number",readonly:!0},{path:"pausable",label:"Pausable",type:"boolean",readonly:!0}),this.reason&&r.push({path:"reason",label:"Reason",type:"string",readonly:!0}),r},get:(t,r)=>{if(t===this.world.id)switch(r){case"kind":return this.world.kind;case"adapter":return this.world.adapter;case"path":return this.world.entryOrScenePath;case"zOrder":return this.world.zOrder;case"pausable":return this.world.pausable;case"reason":return this.reason??void 0;default:return}},set:()=>{}}}function vhe(e){const t=[];for(const{worldId:r,adapter:n}of e.childAdapters()){if(!(n instanceof bhe))continue;const o=n.inspector.get(r,"kind");if(o!=="dom"&&o!=="canvas"||n.inspector.get(r,"reason")!==void 0)continue;const a=n.inspector.get(r,"adapter");a?.startsWith("ingest")||a?.startsWith("module")||t.push({worldId:r,kind:o,path:n.inspector.get(r,"path"),zOrder:Number(n.inspector.get(r,"zOrder")??0),pausable:n.inspector.get(r,"pausable")!==!1})}return t}function $Se(e){return vhe(e)}const Qr=[],oy=new Set;function U4(){for(const e of oy)e()}function qSe(e){const t=Qr.findIndex(r=>r.owner===e.owner&&r.kind===e.kind);return t>=0&&Qr.splice(t,1),Qr.push(e),U4(),()=>{const r=Qr.indexOf(e);r<0||(Qr.splice(r,1),U4())}}const yhe=[];function kSe(){return Qr.length===0?yhe:Qr}function MSe(e){for(let t=Qr.length-1;t>=0;t--){const r=Qr[t];if(r&&r.kind===e)return r}return null}function NSe(e){return oy.add(e),()=>{oy.delete(e)}}const whe={width:null,height:null};let Ef=whe;const iy=new Set;function Ehe(){return Ef}function _he(e,t){const r=e===null?null:Math.max(1,Math.round(e)),n=t===null?null:Math.max(1,Math.round(t));if(!(Ef.width===r&&Ef.height===n)){Ef={width:r,height:n};for(const o of iy)o()}}function ISe(){_he(null,null)}function She(e){return iy.add(e),()=>iy.delete(e)}const jSe="#191c22",DSe="rgba(255, 255, 255, 0.2)",Rhe="#20242a",Nd="#2d323a";function xhe(){return`linear-gradient(45deg, ${Nd} 25%, transparent 25%, transparent 75%, ${Nd} 75%), linear-gradient(45deg, ${Nd} 25%, transparent 25%, transparent 75%, ${Nd} 75%)`}const _r=[],ay=new Set,su=new Map;function yg(){for(const e of ay)e()}function LSe(e){const t=_r.findIndex(r=>r.owner===e.owner&&r.medium===e.medium);if(t>=0){const[r]=_r.splice(t,1);r&&(su.get(r)?.(),su.delete(r))}return _r.push(e),su.set(e,e.subscribe(yg)),yg(),()=>{const r=_r.indexOf(e);r<0||(_r.splice(r,1),su.get(e)?.(),su.delete(e),yg())}}const Che=[];function FSe(){return _r.length===0?Che:_r}function BSe(e){for(let t=_r.length-1;t>=0;t--){const r=_r[t];if(r&&r.medium===e)return r}return null}function zSe(e){return _r.find(t=>t.documentId===e)??null}function HSe(e){return ay.add(e),()=>{ay.delete(e)}}function Bi(e){return e.map(t=>`“${t}”`).join(", ")}function Ahe(e,t){const r=t.map(n=>n.worldId);return{tone:"error",title:r.length===1?`${e} root ${Bi(r)} failed`:`${r.length} ${e} roots failed`,description:`${t.map(n=>`${n.worldId} (${n.kind}, ${n.identity}): ${n.message}`).join(`
1406
- `)}
1407
- If this followed an edit, Undo (Ctrl+Z) restores the previous source and remounts.`}}function Phe(e,t){return{tone:"loading",title:t.length===0?`Loading ${e}`:t.length===1?`Loading ${e} root ${Bi(t)}`:`Loading ${t.length} ${e} roots`,description:t.length===0?"Reading the project declaration to identify the root that belongs here.":`Waiting for ${Bi(t)} to finish mounting.`}}function The(e,t){return t.length===0?{tone:"neutral",title:`No ${e} root`,description:"No declared root belongs to this surface."}:{tone:"neutral",title:"No renderable content",description:(t.length===1?`Root ${Bi(t)} mounted successfully but currently produces no renderable content.`:`Roots ${Bi(t)} mounted successfully but currently produce no renderable content.`)+" If this world builds its content under its play systems, press Play (▶) to run it."}}function USe(e){if(e.content==="present")return null;const t=new Set(e.rootIds),r=(e.failures??[]).filter(n=>t.has(n.worldId));return r.length>0?Ahe(e.surface,r):e.disclosure?{tone:"neutral",title:`No ${e.surface} editor for ${Bi(e.rootIds)}`,description:e.disclosure}:e.phase==="loading"||e.content==="unknown"?Phe(e.surface,e.rootIds):The(e.surface,e.rootIds)}const AM="workspace:scene",Ohe="workspace:canvas-scene",$he="workspace:2d-components",qhe="workspace:ui-components",VSe=new Set([Ohe,$he,qhe]),yp=globalThis;function sy(){return yp.__volterBreakpointListeners??=new Set,yp.__volterBreakpointListeners}function WSe(){return yp.__volterActiveBreakpoint??null}function GSe(e){yp.__volterActiveBreakpoint=e;for(const t of sy())t()}function KSe(e){return sy().add(e),()=>sy().delete(e)}function wg(e,t){if(e.setTransformMode(t),t==="select")return;const r=[...e.selectedEntityIds];if(r.length===0)return;const n=ahe(e),i=((n===null?null:$A(n)?.adapter)??vk(e).adapter).transforms?.editability;if(!i)return;let a;for(const s of r){const u=EM(l=>i(s,l));if(!u.locked)return;a??=u.reason}a&&PU(a)}function Eg({active:e,onArm:t,faIcon:r,action:n,label:o}){return R.jsx(en,{text:o,hotkey:mi(n),children:R.jsx(In,{"aria-label":o,"aria-pressed":e,shape:"segment",size:"comfortable",onClick:t,children:R.jsx(et,{icon:r,size:"md"})})})}function PM({store:e,dimensions:t="3d",size:r="comfortable",variant:n="ghost",showValues:o=!1}){const[i,a]=H.useState(!1),s=H.useRef(null);return H.useEffect(()=>{if(!i)return;const u=l=>{s.current&&!s.current.contains(l.target)&&a(!1)};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[i]),R.jsxs("div",{ref:s,className:"volter-viewport-popover-anchor",children:[R.jsxs(jA,{children:[t==="2d"&&R.jsx(en,{text:"Smart Snap",children:R.jsx(In,{"aria-label":"Toggle smart snap","aria-pressed":e.smartSnap.enabled,variant:n,size:r,onClick:()=>e.setSmartSnap({enabled:!e.smartSnap.enabled}),children:R.jsx(et,{icon:dA,size:"md"})})}),R.jsx(en,{text:t==="2d"?"Grid Snap":"Toggle Snap",hotkey:mi("viewport.toggleSnap"),children:R.jsx(In,{"aria-label":"Toggle snap","aria-pressed":e.snapEnabled,variant:n,size:r,onClick:()=>e.toggleSnap(),children:R.jsx(et,{icon:fA,size:"md"})})}),o?[["translate",qn.tool.move,`${e.snapValues.translate}`],["rotate",qn.tool.rotate,`${e.snapValues.rotate}°`],["scale",qn.tool.scale,`${e.snapValues.scale}`]].map(([u,l,c])=>R.jsx(en,{text:"Snap Settings",children:R.jsxs(Xe,{"aria-label":`${u} snap step`,"aria-haspopup":"dialog","aria-expanded":i,variant:n,size:r,"data-snap-step":u,onClick:()=>a(!i),children:[R.jsx(et,{icon:l,size:"xs"}),c]})},u)):R.jsx(en,{text:"Snap Settings",children:R.jsx(In,{"aria-label":"Snap settings","aria-haspopup":"dialog","aria-expanded":i,variant:n,size:r,onClick:()=>a(!i),children:R.jsx(et,{icon:vA,size:"xs"})})})]}),i&&R.jsx(Mp,{className:"volter-snap-popover",children:R.jsxs(qp,{gap:2,children:[t==="2d"?R.jsxs(R.Fragment,{children:[R.jsx(nt,{variant:"caption",tone:"muted",children:"Grid Step (px)"}),R.jsx(lt,{type:"number","aria-label":"Grid step",value:e.snap2D.step,step:1,min:1,onChange:u=>e.setSnap2D({step:Number(u.target.value)||8})}),R.jsx(nt,{variant:"caption",tone:"muted",children:"Grid Offset (px)"}),R.jsxs(Qo,{gap:1,children:[R.jsx(lt,{type:"number","aria-label":"Grid offset x",value:e.snap2D.offsetX,step:1,onChange:u=>e.setSnap2D({offsetX:Number(u.target.value)||0})}),R.jsx(lt,{type:"number","aria-label":"Grid offset y",value:e.snap2D.offsetY,step:1,onChange:u=>e.setSnap2D({offsetY:Number(u.target.value)||0})})]}),R.jsx(nt,{variant:"caption",tone:"muted",children:"Primary Line Every (steps)"}),R.jsx(lt,{type:"number","aria-label":"Primary line every",value:e.snap2D.primaryEvery,step:1,min:1,onChange:u=>e.setSnap2D({primaryEvery:Number(u.target.value)||8})})]}):R.jsxs(R.Fragment,{children:[R.jsx(nt,{variant:"caption",tone:"muted",children:"Translate"}),R.jsx(lt,{type:"number",value:e.snapValues.translate,step:.25,min:.01,onChange:u=>e.setSnapValues({translate:Number(u.target.value)||1})})]}),t==="2d"?R.jsxs(R.Fragment,{children:[R.jsx(nt,{variant:"caption",tone:"muted",children:"Rotation Offset (deg)"}),R.jsx(lt,{type:"number","aria-label":"Rotation offset",value:e.snap2D.rotationOffset,step:1,onChange:u=>e.setSnap2D({rotationOffset:Number(u.target.value)||0})}),R.jsx(nt,{variant:"caption",tone:"muted",children:"Rotation Step (deg)"}),R.jsx(lt,{type:"number","aria-label":"Rotation step",value:e.snap2D.rotationStep,step:1,min:1,onChange:u=>e.setSnap2D({rotationStep:Number(u.target.value)||15})}),R.jsx(nt,{variant:"caption",tone:"muted",children:"Scale Step"}),R.jsx(lt,{type:"number","aria-label":"Scale step",value:e.snap2D.scaleStep,step:.05,min:.01,onChange:u=>e.setSnap2D({scaleStep:Number(u.target.value)||.1})})]}):R.jsxs(R.Fragment,{children:[R.jsx(nt,{variant:"caption",tone:"muted",children:"Rotate (deg)"}),R.jsx(lt,{type:"number",value:e.snapValues.rotate,step:5,min:1,onChange:u=>e.setSnapValues({rotate:Number(u.target.value)||15})}),R.jsx(nt,{variant:"caption",tone:"muted",children:"Scale"}),R.jsx(lt,{type:"number",value:e.snapValues.scale,step:.05,min:.01,onChange:u=>e.setSnapValues({scale:Number(u.target.value)||.25})})]}),t==="2d"&&R.jsxs(R.Fragment,{children:[[["Use Rotation Snap",e.rotationSnap,()=>e.setRotationSnap(!e.rotationSnap)],["Use Scale Snap",e.scaleSnap,()=>e.setScaleSnap(!e.scaleSnap)],["Snap Relative",e.snap2D.relative,()=>e.setSnap2D({relative:!e.snap2D.relative})],["Use Pixel Snap",e.snap2D.pixel,()=>e.setSnap2D({pixel:!e.snap2D.pixel})]].map(([u,l,c])=>R.jsxs(Qo,{gap:2,align:"center",role:"menuitemcheckbox","aria-checked":l,onClick:c,children:[R.jsx(Ou,{checked:l,readOnly:!0}),R.jsx(nt,{children:u})]},u)),R.jsx(nt,{variant:"caption",tone:"muted",children:"Smart Snapping"}),[["parent","Snap to Parent"],["others","Snap to Other Nodes"],["sides","Snap to Node Sides"],["center","Snap to Node Center"],["guides","Snap to Guides"]].map(([u,l])=>R.jsxs(Qo,{gap:2,align:"center",role:"menuitemcheckbox","aria-checked":e.smartSnap[u],onClick:()=>e.setSmartSnap({[u]:!e.smartSnap[u]}),children:[R.jsx(Ou,{checked:e.smartSnap[u],readOnly:!0}),R.jsx(nt,{children:l})]},u))]}),t==="3d"&&R.jsxs(R.Fragment,{children:[R.jsxs(Qo,{gap:2,align:"center",onClick:()=>e.toggleSnapToSurface(),children:[R.jsx(Ou,{checked:e.snapToSurface,readOnly:!0}),R.jsx(nt,{children:"Snap to Surface"})]}),R.jsxs(nt,{variant:"caption",tone:"dim",children:["Hold ",R.jsx(zd,{children:"Ctrl"})," while dragging to snap once ·"," ",R.jsx(zd,{children:mi("viewport.toggleSnap")})," toggles"]}),R.jsxs(nt,{variant:"caption",tone:"dim",children:["Hold ",R.jsx(zd,{children:mi("viewport.vertexSnapHold")})," during translate for vertex snap"]})]})]})})]})}const khe={"active-element":"Active Element","median-point":"Median Point","individual-origins":"Individual Origins"};function Mhe({store:e}){const t=["active-element","median-point","individual-origins"],r=`Pivot: ${khe[e.pivotMode]}`;return R.jsx(en,{text:r,hotkey:mi("viewport.cyclePivot"),children:R.jsx(In,{"aria-label":r,"aria-pressed":e.pivotMode!=="active-element",variant:"secondary",onClick:()=>{const n=t.indexOf(e.pivotMode);e.setPivotMode(t[(n+1)%t.length])},children:R.jsx(et,{icon:gA,size:"md"})})})}const Nhe={auto:"Auto",pivot:"Pivot",center:"Center"};function Ihe({store:e}){const t=["auto","pivot","center"],r=`Anchor: ${Nhe[e.gizmoAnchor]}`;return R.jsx(en,{text:r,children:R.jsx(In,{"aria-label":r,"aria-pressed":e.gizmoAnchor!=="auto",variant:"secondary",onClick:()=>{const n=t.indexOf(e.gizmoAnchor);e.setGizmoAnchor(t[(n+1)%t.length])},children:R.jsx(et,{icon:e.gizmoAnchor==="center"?yA:n7,size:"md"})})})}function jhe({store:e}){const[t,r]=H.useState(!1),n=H.useRef(null);return H.useEffect(()=>{if(!t)return;const o=i=>{n.current?.contains(i.target)||r(!1)};return document.addEventListener("mousedown",o),()=>document.removeEventListener("mousedown",o)},[t]),R.jsxs("div",{ref:n,className:"volter-viewport-popover-anchor",children:[R.jsx(en,{text:"Transform options",children:R.jsx(In,{"aria-label":"Transform options","aria-haspopup":"dialog","aria-expanded":t,variant:"secondary",onClick:()=>r(o=>!o),children:R.jsx(et,{icon:A7,size:"md"})})}),t?R.jsx(Mp,{style:{minWidth:240},children:R.jsxs(qp,{gap:3,children:[R.jsxs(Xe,{size:"compact",variant:"ghost",onClick:()=>{e.snapSelectionToFloor(),r(!1)},children:["Snap Selection to Floor ",R.jsx(zd,{children:mi("viewport.snapToFloor")})]}),R.jsxs(Qo,{gap:2,align:"center",onClick:()=>e.togglePreserveChildrenTransform(),style:{cursor:"pointer"},children:[R.jsx(Ou,{checked:e.preserveChildrenTransform,readOnly:!0}),R.jsx(nt,{children:"Preserve Children Transform"})]}),R.jsx(nt,{variant:"caption",tone:"dim",children:"Keep source-writable children fixed in world space while their parent moves."})]})}):null]})}function Dhe({store:e}){const[t,r]=H.useState(!1),n=H.useRef(null),o=e.transformSpace==="world"?"Global":"Local";return R.jsxs("div",{className:"volter-viewport-popover-anchor",children:[R.jsx(en,{text:`Transform orientation: ${o}`,children:R.jsxs(Xe,{ref:n,type:"button",size:"compact",variant:"secondary","aria-label":`Transform orientation: ${o}`,"aria-haspopup":"menu","aria-expanded":t,onClick:()=>r(i=>!i),className:"volter-transform-orientation-trigger",children:[R.jsx(et,{icon:e.transformSpace==="world"?w7:Op,size:"sm"}),R.jsx("span",{children:o}),R.jsx(et,{icon:vA,size:"xs"})]})}),t&&R.jsx(qy,{anchorRef:n,align:"start",clamp:!0,"aria-label":"Transform orientation",onDismiss:()=>r(!1),children:["world","local"].map(i=>R.jsxs(LA,{role:"menuitemradio","aria-checked":e.transformSpace===i,onSelect:()=>{e.setTransformSpace(i),r(!1)},children:[R.jsx("span",{className:"volter-menu-check",children:e.transformSpace===i&&R.jsx(et,{icon:pA,size:"xs"})}),i==="world"?"Global":"Local"]},i))})]})}function YSe({store:e}={}){const t=Vk(),r=e??t;H.useSyncExternalStore(r.subscribe,r.getShellSnapshot),H.useSyncExternalStore(mT,Ci,Ci);const[n,o]=H.useState(null),i=n?.closest(".volter-stage-bar")!=null;return R.jsxs(IA,{compact:!0,label:"Transform controls","data-testid":"transform-header-controls",className:"volter-transform-header-controls",children:[R.jsx("span",{ref:o,hidden:!0}),R.jsx(Dhe,{store:r}),R.jsxs(jA,{children:[R.jsx(Mhe,{store:r}),R.jsx(Ihe,{store:r})]}),R.jsx(PM,{store:r,size:"default",variant:"secondary",showValues:i}),R.jsx(jhe,{store:r})]})}function ZSe({dimensions:e="3d",store:t,otherToolActive:r=!1,onToolArmed:n,viewTools:o,trailingTools:i}={}){const a=Vk(),s=t??a;H.useSyncExternalStore(s.subscribe,s.getShellSnapshot),H.useSyncExternalStore(mT,Ci,Ci);const u=[{mode:"translate",faIcon:qn.tool.move,action:"transform.translate",label:"Move"},{mode:"rotate",faIcon:qn.tool.rotate,action:"transform.rotate",label:"Rotate"},{mode:"scale",faIcon:qn.tool.scale,action:"transform.scale",label:"Scale"}];return R.jsxs(lD,{label:"Transform tools","data-testid":e==="2d"?"canvas-2d-toolstrip":"3d-toolstrip",className:"volter-viewport-toolbar volter-viewport-toolbar-left",children:[R.jsx(Eg,{faIcon:qn.tool.select,action:"transform.select",label:"Select",active:!r&&(s.transformMode==="select"||e==="2d"&&s.transformMode==="combined"),onArm:()=>{n?.(),wg(s,"select")}}),u.map(l=>R.jsx(Eg,{faIcon:l.faIcon,action:l.action,label:l.label,active:!r&&s.transformMode===l.mode,onArm:()=>{n?.(),wg(s,l.mode)}},l.mode)),e==="2d"?null:R.jsx(Eg,{faIcon:qn.tool.transform,action:"transform.combined",label:"Transform (all handles)",active:s.transformMode==="combined",onArm:()=>wg(s,"combined")}),o,e==="2d"?R.jsx(PM,{store:s,dimensions:"2d"}):null,i]})}function JSe(){const e=H.useSyncExternalStore(TU,Yw,Yw);return e?R.jsx("div",{role:"status","aria-live":"polite","data-testid":"transient-hint",style:{position:"absolute",left:"50%",bottom:Tt[6],transform:"translateX(-50%)",maxWidth:"min(440px, 80%)",padding:`${Tt[3]}px ${Tt[5]}px`,borderRadius:ce.shape.medium,border:`1px solid ${ce.boundary.strong}`,background:ce.surface.overlay,color:ce.content.primary,fontSize:"var(--volter-font-base)",lineHeight:1.4,textAlign:"center",pointerEvents:"none",zIndex:Rn.toast},children:e.message},e.id):null}let wp=null;const ly=new Set;function TM(){for(const e of ly)e()}function XSe(e){wp=e,TM()}function QSe(){return wp!==null}function eRe(e){const t=wp;t&&(wp=null,TM(),t(e))}function tRe(e){return ly.add(e),()=>ly.delete(e)}function Ep(e,t,r,n){const o=e.pickable?.pick(t,r)??null;return o?e.selection?.resolve?.(o,{intent:n,scopeId:kT()})?.id??o:null}function V4(e,t,r,n,o){const i=e.pickable?.candidates?.(t,r,o?{includeLocked:o}:void 0)??[],a=[],s=new Set;for(const u of i){const l=e.selection?.resolve?.(u,{intent:n,scopeId:kT()})?.id??u;s.has(l)||(s.add(l),a.push(l))}return a}function rRe(e,t,r,n={}){const o=n.intent??"normal",i=hr(e);if(!(i instanceof Io))return Ep(i,t,r,o);const a=i.childAdapters(),u=Ui()===AM?[]:a.filter(f=>f.kind!=="stage"),l=a.filter(f=>f.kind==="stage"),c=u.map(f=>({id:f.worldId,zOrder:f.zOrder,worldId:f.worldId,adapter:f.adapter})),d=[...CM(c).reverse(),...l];for(const{worldId:f,adapter:p}of d){if(Qc(f)||k1(f))continue;const h=Ep(p,t,r,o);if(h)return h}return null}function nRe(e,t,r,n={}){const o=n.intent??"normal",i=n.includeLocked===!0,a=n.adapter??hr(e);if(!(a instanceof Io)){const m=V4(a,t,r,o,i),v=Ep(a,t,r,o);return m.length>0?m:v?[v]:[]}const s=a.childAdapters(),l=Ui()===AM?[]:s.filter(m=>m.kind!=="stage"),c=s.filter(m=>m.kind==="stage"),d=l.map(m=>({id:m.worldId,zOrder:m.zOrder,worldId:m.worldId,adapter:m.adapter})),f=[...CM(d).reverse(),...c],p=[],h=new Set;for(const{worldId:m,adapter:v}of f){if(Qc(m)||k1(m))continue;const g=V4(v,t,r,o,i),E=Ep(v,t,r,o);for(const _ of g.length>0?g:E?[E]:[])h.has(_)||(h.add(_),p.push(_))}return p}const zi=20,xh=6,wc=22,M1=10,W4=zi+xh,G4=wc+M1,Lhe=.6,Fhe=.4,Bhe=.7,zhe=.45;function K4(e,t,r){return e>=t?[1,!0]:e<=r?[0,!1]:[(e-r)/(t-r),!0]}function Y4(e,t){const r=Math.max(0,e),n=t?Math.min(1,r/G4):0,[o,i]=K4(n,Bhe,zhe),a=Math.max(0,r-G4*n),s=Math.min(1,a/W4),[u,l]=K4(s,Lhe,Fhe),c=l?W4*s:0;return{frame:{scale:s,opacity:u,visible:l,offset:xh*s+zi},group:t?{scale:n,opacity:o,visible:i,offset:c+M1*n+wc}:null}}function Z4(e,t){e.style.transformOrigin="0 100%",e.style.transform=t.scale>=1?"":`scale(${t.scale})`,e.style.opacity=t.visible?String(t.opacity):"0",e.style.display=t.visible?"":"none"}const Hhe=640,Uhe=400,lu=64,On=64,J4=72,Vhe=28,_g=On+wc+M1+zi+xh;function OM(e,t){const r=new Map(e.map(n=>[n.id,n]));return t.sections.map(n=>({key:n.id,label:n.label,stories:n.storyIds.map(o=>r.get(o))}))}const uy=e=>e.split("/").map(t=>t.trim()).filter(Boolean);function $M(e){const t=new Set(e.filter(n=>n.stories.length===1).map(n=>n.key)),r=[];{const n=new Map;for(const o of e){if(!t.has(o.key)){r.push({key:o.key,label:o.label,stories:[...o.stories]});continue}const i=uy(o.label).slice(0,-1).join("/");let a=n.get(i);a||(a={key:`category:${i}`,label:i||null,stories:[]},n.set(i,a),r.push(a)),a.stories.push(...o.stories)}}return r}function Whe(e,t,r){const n=$M(OM(e,t)),o=new Map,i=new Map;let a=lu,s=0;n.forEach((c,d)=>{const f=Math.max(1,Math.ceil(Math.sqrt(c.stories.length))),p=Math.ceil(c.stories.length/f),h=c.stories.map(y=>r(y)),m=Array.from({length:f},()=>0),v=Array.from({length:p},()=>0);h.forEach((y,b)=>{const w=b%f,C=Math.floor(b/f);m[w]=Math.max(m[w],y.width),v[C]=Math.max(v[C],y.height)});const g=m.map((y,b)=>m.slice(0,b).reduce((w,C)=>w+C+On,0)),E=v.map((y,b)=>v.slice(0,b).reduce((w,C)=>w+C+On,0)),_=d===0?Number.POSITIVE_INFINITY:c.label!==null?_g:On+zi+xh;c.label!==null&&i.set(c.key,{x:lu,y:a,roomAbove:_}),c.stories.forEach((y,b)=>{const w=Math.floor(b/f),C=b%f,N=h[b],{width:q,height:z}=N,F=lu+g[C],T=a+E[w];o.set(y.id,{x:F,y:T,width:q,height:z,roomAbove:w===0?_:On,withGroupLabel:n.length>1&&w===0&&c.label!==null})});const x=m.reduce((y,b)=>y+b,0)+Math.max(0,f-1)*On,S=v.reduce((y,b)=>y+b,0)+Math.max(0,p-1)*On;s=Math.max(s,x),a+=S+_g});const u=lu*2+s,l=a-_g+lu;return{layouts:o,groupOrigins:i,width:u,height:l}}const ln=new WeakMap,cy=new Set,Ghe=null;function uu(){for(const e of cy)e()}function oRe(e){return cy.add(e),()=>cy.delete(e)}function iRe(e){return e?ln.get(e)?.viewport()??Ghe:null}function aRe(e,t){const r=e?ln.get(e):void 0;return r?(r.setViewport(t),!0):!1}function sRe(e){const t=e?ln.get(e):void 0;return!t||t.viewport().locked?!1:(t.setRotation(!t.viewport().rotated),!0)}function Khe(){const e=Ehe();return{width:e.width??Hhe,height:e.height??Uhe}}function X4(e,t,r){if(t.width<=0||t.height<=0)return;const n=Math.max(1,e.clientWidth-J4*2),o=Math.max(1,e.clientHeight-J4*2),i=Math.min(r,Math.max(.1,Math.min(n/t.width,o/t.height)));Sh(e.clientWidth/2-(t.x+t.width/2)*i,e.clientHeight/2-(t.y+t.height/2)*i,i)}function lRe(e){const t=ln.get(e);return t?(t.fitAll(),!0):!1}function uRe(e,t,r){return e?ln.get(e)?.selectAtClientPoint(t,r)??!1:!1}function cRe(e,t,r){return e?ln.get(e)?.zoomAtClientPoint(t,r)??!1:!1}function dRe(e,t,r,n,o){if(t.length===0)throw new Error("A React story board requires at least one story.");const i=e.parentElement;if(!i)throw new Error("A React story board layer must be attached before mounting.");e.dataset.volterReactStoryBoard="true",e.style.contain="none";const a=document.createElement("div");a.dataset.testid="react-story-board",a.dataset.volterReactStoryBoardCanvas="true",a.style.position="absolute",a.style.left="0",a.style.top="0",a.style.transformOrigin="0 0",e.appendChild(a);const s=document.createElement("div");s.dataset.testid="react-story-board-chrome",s.dataset.volterStoryBoardChromeFor=e.dataset.worldId??"",s.style.position="absolute",s.style.inset="0",s.style.zIndex=String(Rn.sticky),s.style.display=e.style.display||"block",s.style.pointerEvents="none",s.style.overflow="visible",i.appendChild(s);const u=new Map,l=new Map,c=new Map,d=new Map,f=new Map,p=new Map,h=OM(t,o.index),m=new Map,v=new Map,g=new Map,E=new Map;let _,x=t.some(L=>L.id===r)?r:t[0].id,S=!1,y=!1;const b=L=>{const D=o.resolve(L,Khe(),g.has(L.id)?g.get(L.id):void 0,E.get(L.id)),Y=p.get(L.id);return Y?{...D,width:Y.frame.width,height:Y.frame.height,layout:"fullscreen"}:D},w=()=>{const L=b(t.find(D=>D.id===x));_={storyId:x,selectedViewportId:L.selectedViewportId,locked:L.locked,rotated:L.rotated,choices:L.choices}};w();const C=new Set(h.filter(L=>L.stories.length===1).map(L=>L.key)),N=new Map;for(const L of h)for(const D of L.stories){const Y=(D.title?uy(D.title).at(-1):void 0)??uy(L.label).at(-1);N.set(D.id,C.has(L.key)?Y??D.label:D.label)}const q=$M(h);for(const L of h.flatMap(D=>D.stories)){const D=document.createElement("section");D.dataset.testid="react-story-frame",D.dataset.storyId=L.id,D.dataset.storyLabel=L.label,D.dataset.storyGroup=o.index.sections.find(se=>se.storyIds.includes(L.id)).label,D.style.position="absolute",D.style.border=`1px solid ${ce.boundary.strong}`,D.style.borderRadius="0",D.style.backgroundColor=Rhe,D.style.backgroundImage=xhe(),D.style.backgroundPosition="0 0, 8px 8px",D.style.backgroundSize="16px 16px",D.style.boxShadow="none";const Y=document.createElement("button");Y.type="button",Y.dataset.testid="react-story-frame-label",Y.dataset.storyId=L.id,Y.title=`${N.get(L.id)} — click to select, double-click to zoom — ${L.modulePath}`,Y.textContent=N.get(L.id),Y.style.position="absolute",Y.style.height=`${zi}px`,Y.style.padding="0 2px",Y.style.border="0",Y.style.appearance="none",Y.style.background="transparent",Y.style.color=ce.content.primary,Y.style.font=`600 12px ${ce.typography.sans}`,Y.style.lineHeight=`${zi}px`,Y.style.textAlign="left",Y.style.cursor="default",Y.style.pointerEvents="auto",Y.style.whiteSpace="nowrap",Y.style.overflow="hidden",Y.style.textOverflow="ellipsis",Y.style.width="max-content",Y.addEventListener("click",()=>n(L.id,"highlight")),Y.addEventListener("dblclick",()=>n(L.id,"zoom"));const ne=document.createElement("div");ne.dataset.testid="react-story-frame-content",ne.dataset.storyId=L.id,ne.style.position="absolute",ne.style.left="0",ne.style.top="0",ne.style.overflow="hidden",ne.style.contain="layout paint",ne.style.boxSizing="border-box";const j=document.createElement("div");j.dataset.testid="react-story-frame-note",j.dataset.storyId=L.id,j.style.position="absolute",j.style.left="0",j.style.right="0",j.style.bottom="0",j.style.display="none",j.style.padding="6px 8px",j.style.boxSizing="border-box",j.style.background=ce.surface.overlay,j.style.color=ce.content.muted,j.style.font=`11px ${ce.typography.sans}`,j.style.pointerEvents="none";const ee=document.createElement("div");ee.dataset.testid="react-story-frame-error",ee.dataset.storyId=L.id,ee.style.position="absolute",ee.style.inset="0",ee.style.display="none",ee.style.padding="16px",ee.style.boxSizing="border-box",ee.style.background=ce.surface.overlay,ee.style.color=ce.semantic.danger,ee.style.font=`12px ${ce.typography.mono}`,ee.style.pointerEvents="none",D.append(ne,j,ee),a.appendChild(D),s.appendChild(Y),u.set(L.id,{element:D,content:ne}),l.set(L.id,ee),c.set(L.id,j),d.set(L.id,Y)}if(q.length>1)for(const L of q){if(L.label===null)continue;const D=document.createElement("div");D.dataset.testid="react-story-group-label",D.dataset.storyGroup=L.key,D.textContent=L.label,D.style.position="absolute",D.style.height=`${wc}px`,D.style.lineHeight=`${wc}px`,D.style.color=ce.content.primary,D.style.font=`700 14px ${ce.typography.sans}`,D.style.whiteSpace="nowrap",D.style.pointerEvents="none",D.style.width="max-content",s.appendChild(D),m.set(L.key,D)}const F=()=>{for(const[L,D]of u){const Y=L===x;D.element.dataset.active=Y?"true":"false",D.element.style.outline=Y?`2px solid ${ce.accent.default}`:"none",D.element.style.outlineOffset=Y?"3px":"0";const ne=d.get(L);ne.setAttribute("aria-pressed",String(Y)),ne.style.color=Y?ce.accent.default:ce.content.muted}},T=(L,D)=>Number.isFinite(L)?L*D:Number.POSITIVE_INFINITY,k=()=>{const L=hf();for(const[D,Y]of f){const ne=d.get(D),{frame:j}=Y4(T(Y.roomAbove,L.zoom),Y.withGroupLabel);ne.style.left=`${L.x+Y.x*L.zoom}px`,ne.style.top=`${L.y+Y.y*L.zoom-j.offset}px`;const ee=Math.max(1,(Y.width+On/2)*L.zoom);ne.style.maxWidth=`${ee}px`,Z4(ne,ee>=Vhe?j:{...j,opacity:0,visible:!1})}for(const[D,Y]of v){const ne=m.get(D);if(!ne)continue;const j=Y4(T(Y.roomAbove,L.zoom),!0).group;ne.style.left=`${L.x+Y.x*L.zoom}px`,ne.style.top=`${L.y+Y.y*L.zoom-j.offset}px`,Z4(ne,j)}},I=()=>{f.clear(),v.clear();const L=Whe(t,o.index,b);for(const[ne,j]of L.groupOrigins)v.set(ne,j);for(const ne of t){const j=L.layouts.get(ne.id);f.set(ne.id,j);const{x:ee,y:se,width:be,height:ve}=j,ke=b(ne),le=u.get(ne.id);le.element.style.left=`${ee}px`,le.element.style.top=`${se}px`,le.element.style.width=`${be}px`,le.element.style.height=`${ve}px`;const me=p.get(ne.id);le.element.style.overflow=me?"hidden":"",le.content.style.width=`${me?me.mount.width:be}px`,le.content.style.height=`${me?me.mount.height:ve}px`,le.content.style.left=`${me?-me.offset.x:0}px`,le.content.style.top=`${me?-me.offset.y:0}px`,le.content.dataset.storyLayout=ke.layout,le.content.style.padding=ke.layout==="padded"?"16px":"0",le.content.style.display=ke.layout==="centered"?"flex":"block",le.content.style.alignItems=ke.layout==="centered"?"center":"",le.content.style.justifyContent=ke.layout==="centered"?"center":""}const D=L.width,Y=L.height;a.style.width=`${D}px`,a.style.height=`${Y}px`,e.style.width=`${D}px`,e.style.height=`${Y}px`,k()},U=()=>{const L=Number.parseFloat(a.style.width),D=Number.parseFloat(a.style.height);X4(i,{x:0,y:0,width:L,height:D},1)};let G=null;const X=()=>{y||(y=!0,queueMicrotask(()=>{y=!1,!S&&(Z(x,!0),G=hf())}))},Z=(L,D)=>{const Y=u.get(L),ne=f.get(L);!Y||!ne||(x=L,F(),w(),uu(),D&&X4(i,ne,2))},A=(L,D)=>{for(const[Y,ne]of u){const j=ne.content.getBoundingClientRect();if(L>=j.left&&L<=j.right&&D>=j.top&&D<=j.bottom)return Y}return null},$=She(()=>{I(),X()}),M=Qk(k);I(),F(),k();const K={element:a,frames:u,activeContent:()=>u.get(x).content,activate:Z,clearError:L=>{const D=l.get(L);D&&(D.style.display="none",D.textContent="")},fitAll:U,selectAtClientPoint:(L,D)=>{const Y=A(L,D);return!Y||Y===x?!1:(n(Y,"highlight"),!0)},zoomAtClientPoint:(L,D)=>{const Y=A(L,D);return Y?(n(Y,"zoom"),!0):!1},setError:(L,D)=>{const Y=l.get(L);Y&&(Y.textContent=D,Y.style.display="block")},setMeasuredFrame:(L,D)=>{if(S||!u.has(L))return;const Y=p.get(L);if(D===null){if(!Y)return;p.delete(L)}else{if(Y&&Y.frame.width===D.frame.width&&Y.frame.height===D.frame.height&&Y.mount.width===D.mount.width&&Y.mount.height===D.mount.height&&Y.offset.x===D.offset.x&&Y.offset.y===D.offset.y)return;p.set(L,D)}I(),k(),G!==null&&hf()===G&&X()},setNote:L=>{for(const D of c.values())D.textContent=L??"",D.style.display=L===null?"none":"block"},viewport:()=>_,setViewport:L=>{_.locked||(g.set(x,L),I(),w(),uu(),Z(x,!0))},setRotation:L=>{_.locked||(E.set(x,L),I(),w(),uu(),Z(x,!0))},dispose:()=>{S||(S=!0,$(),M(),ln.get(i)===K&&ln.delete(i),uu(),a.remove(),s.remove())}};return ln.set(i,K),uu(),X(),K}let qM=null;function fRe(e){qM=e}function pRe(){return qM}const Q4=new Set;function Yhe(e,t,r){return JSON.stringify([e,t,r])}function eC(e,t,r){const n=Yhe(e,t,r);Q4.has(n)||(Q4.add(n),Te.warn(`No declaration covers \`${t}\` in ${e}, so the editor GUESSED \`${r}\` from its text. Declare it (a typed prop on the component, a token value that states its own kind) and the editor reads the declaration instead of a heuristic.`,"inspector"))}const kM="data-oid";function Zhe(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function hRe(e,t){return window.getComputedStyle(e).getPropertyValue(Zhe(t))}function Jhe(e){if(!e||typeof e!="object")return null;const t=Object.keys(e).find(r=>r.startsWith("__reactFiber$")||r.startsWith("__reactInternalInstance$"));return t?e[t]??null:null}function N1(e){const t=Jhe(e);if(!t?.return)return null;const r=t.return;return r.type&&typeof r.type=="function"?r:null}function mRe(e){const t=N1(e);if(!t)return null;const r=t.type;return r.displayName||r.name||null}function Xhe(e){const t=N1(e);if(!t)return null;const r=t.memoizedProps?.[kM];return typeof r=="string"?r:null}function Qhe(e){const t=N1(e);if(!t)return null;const r=t.memoizedProps;if(!r||typeof r!="object")return null;const n=new Set(["children","key","ref",kM,"style","className"]),o={};for(const[i,a]of Object.entries(r))n.has(i)||(typeof a=="string"||typeof a=="number"||typeof a=="boolean")&&(o[i]=String(a));return Object.keys(o).length>0?o:null}function gRe(e){const t=Xhe(e);if(!t)return null;const r=Qhe(e);return r?{callSiteOid:t,props:r}:null}const I1="__visual-edit-preview-styles";function eme(e){const t={};for(let r=0;r<e.style.length;r++){const n=e.style[r];t[n]=e.style.getPropertyValue(n)}return t}function MM(e,t){const r=(n,o)=>{for(const i of Array.from(n)){if(i instanceof CSSStyleRule){t(i,o);continue}const a=i;if(!a.cssRules)continue;const s=a.media?.mediaText;typeof s=="string"&&!window.matchMedia(s).matches||typeof a.containerQuery=="string"||a.cssText?.trimStart().startsWith("@container")||r(a.cssRules,o)}};for(const n of e){const o=n.ownerNode;if(!(o instanceof Element)||o.id===I1)continue;const i=o.getAttribute("data-vite-dev-id")??null;if(i)try{r(n.cssRules,i)}catch{}}}function bRe(e){const t=document.styleSheets;let r=null;return MM(t,(n,o)=>{n.selectorText.trim()===`.${e}`&&(r={sourceFile:o})}),r}function vRe(){const e=document.styleSheets,t=[];for(const r of e){const n=r.ownerNode;if(!(n instanceof Element)||n.id===I1)continue;const o=n.getAttribute("data-vite-dev-id")??null;if(!o)continue;(o.split("?")[0]??o).endsWith(".css")&&!t.includes(o)&&t.push(o)}return t}function yRe(e){const t=document.styleSheets,r=[];return MM(t,(n,o)=>{e.matches(n.selectorText)&&r.push({selectorText:n.selectorText,properties:eme(n),sourceFile:o})}),r}function tme(){const e=document.styleSheets,t=new Map,r=(n,o,i)=>{if(n instanceof CSSStyleRule){const u=n.selectorText,l=i&&/(^|,)\s*:scope\s*($|,)/.test(u),c=/(^|,)\s*(:root|html)\s*($|,)/.test(u)&&!u.includes("[data-theme");if(!l&&!c)return;for(let d=0;d<n.style.length;d++){const f=n.style[d];f.startsWith("--")&&t.set(f,{sourceFile:o,selector:l?":root":u})}return}const a=n;if(!a.cssRules)return;const s=i||!!a.cssText?.trimStart().startsWith("@scope");for(const u of Array.from(a.cssRules))r(u,o,s)};for(const n of e){const o=n.ownerNode;if(!(o instanceof Element)||o.id===I1)continue;const i=o.getAttribute("data-vite-dev-id")??null;if(i)try{for(const a of Array.from(n.cssRules))r(a,i,!1)}catch{}}return t}function wRe(e){const t=[],r=new Set;for(let o=0;o<e.length;o++){const i=e[o];if(!i.startsWith("--")||i.startsWith("--tw-")||i.startsWith("--fa-")||i.startsWith("--volter-")||i.startsWith("--vscode-")||i==="--chat-input-control-height"||i.startsWith("--dv-")||r.has(i))continue;r.add(i);const a=e.getPropertyValue(i).trim();a&&t.push({name:i,value:a,category:tC(i,a)})}const n=tme();for(const o of n.keys()){if(r.has(o)||o.startsWith("--tw-")||o.startsWith("--fa-")||o.startsWith("--volter-")||o.startsWith("--dv-")||o.startsWith("--vscode-")||o==="--chat-input-control-height")continue;r.add(o);const i=e.getPropertyValue(o).trim();i&&t.push({name:o,value:i,category:tC(o,i)})}for(const o of t){const i=n.get(o.name);i&&(o.declaredIn=i)}return t}const rme=/^(#[0-9a-f]{3,8}|rgba?\(|hsla?\(|oklch\()/i,nme=/spacing|gap|margin|padding|radius|size|width|height/i,ome=/color/i;function tC(e,t){return rme.test(t)?"color":ome.test(e)?(eC(":root",e,"color"),"color"):nme.test(e)&&/^\d/.test(t)?(eC(":root",e,"spacing"),"spacing"):"other"}function ERe(e,t){return!(e.x+e.width<t.x||e.x>t.x+t.width||e.y+e.height<t.y||e.y>t.y+t.height)}function _Re(e){const t=[];for(const r of e){if(r.hasVisibleChildren||r.hasText||r.rect.width>=8&&r.rect.height>=8)continue;const n=Math.max(r.rect.width,40),o=Math.max(r.rect.height,24);t.push({oid:r.oid,displayName:r.displayName,rect:{x:r.rect.x-(n-r.rect.width)/2,y:r.rect.y-(o-r.rect.height)/2,width:n,height:o}})}return t}const ime=new Set(["","transparent","rgba(0, 0, 0, 0)"]);function ame(e){return ime.has(e)}function SRe(e){for(const t of e)if(!ame(t))return t;return"#fff"}const sme=["Arial","Helvetica","Times New Roman","Georgia","Verdana","Courier New","Impact","Trebuchet MS","Palatino Linotype","Lucida Console","monospace","sans-serif","serif"];function lme(e){const t=new Set;for(const r of e)t.add(r.replace(/^["']|["']$/g,""));for(const r of sme)t.add(r);return[...t].sort((r,n)=>r.localeCompare(n))}function RRe(){return lme(Array.from(document.fonts,e=>e.family))}function xRe({explanation:e,testId:t,style:r}){return e?R.jsx(sD,{"data-testid":t,tone:e.tone,title:e.title,description:R.jsx("span",{style:{whiteSpace:"pre-wrap"},children:e.description}),style:{position:"absolute",inset:0,pointerEvents:"none",...r}}):null}const CRe="story:isolated",ARe="story:docs",ume={surface:{shell:!0,panel:!0,chrome:!0,raised:!0,inset:!0,overlay:!0},boundary:{default:!0,strong:!0,area:!0,indent:!0,divider:!0},content:{primary:!0,muted:!0,dim:!0,onAccent:!0,menu:!0,status:!0,placeholder:!0,active:!0,selected:!0,onBright:{primary:!0,muted:!0,dim:!0}},accent:{default:!0,muted:!0},semantic:{danger:!0,dangerMuted:!0,dangerFaint:!0,warning:!0,warningMuted:!0,success:!0,successMuted:!0,dynamic:!0,dynamicMuted:!0,instance:!0},neutralOverlay:{hover:!0,active:!0},scrim:!0,viewport:{background:!0,grid:!0,axisX:!0,axisY:!0,axisZ:!0,wire:!0,selection:!0,active:!0,marqueeLine:!0,marqueeFill:!0,marqueeGap:!0},gizmo:{x:!0,y:!0,z:!0,navigationX:!0,navigationY:!0,navigationZ:!0,hover:!0,drag:!0},widget:{regular:!0,menu:!0,field:!0,emboss:!0},category:{object:!0,modifier:!0,material:!0,tool:!0,operator:!0,data:!0,scene:!0,collection:!0,select:!0},region:{outliner:!0,properties:!0}};function NM(e,t=[]){return Object.entries(e).flatMap(([r,n])=>n===!0?[[...t,r]]:NM(n,[...t,r]))}const j1=NM(ume);function D1(e){return`volter.${e.join(".")}`}const PRe=j1.map(D1);function TRe(e){const t={};for(const r of j1){const n=e(D1(r));if(n===void 0)continue;let o=t;for(const i of r.slice(0,-1))o=o[i]??={};o[r[r.length-1]]=n}return t}function ORe(e){const t={};for(const r of j1){let n=e;for(const o of r)n=n?.[o];typeof n=="string"&&(t[D1(r)]=n)}return t}const cme={F:["11111","10000","10000","11110","10000","10000","10000"],R:["11110","10001","10001","11110","10100","10010","10001"],O:["01110","10001","10001","10001","10001","10001","01110"],N:["10001","11001","11001","10101","10011","10011","10001"],T:["11111","00100","00100","00100","00100","00100","00100"],I:["11111","00100","00100","00100","00100","00100","11111"],G:["01110","10001","10000","10111","10001","10001","01110"],H:["10001","10001","10001","11111","10001","10001","10001"],P:["11110","10001","10001","11110","10000","10000","10000"],3:["11110","00001","00001","01110","00001","00001","11110"],"/":["00001","00010","00100","00100","01000","10000","10000"],4:["00010","00110","01010","10010","11111","00010","00010"],A:["01110","10001","10001","11111","10001","10001","10001"],B:["11110","10001","10001","11110","10001","10001","11110"],C:["01111","10000","10000","10000","10000","10000","01111"],D:["11110","10001","10001","10001","10001","10001","11110"],E:["11111","10000","10000","11110","10000","10000","11111"],K:["10001","10010","10100","11000","10100","10010","10001"],L:["10000","10000","10000","10000","10000","10000","11111"],M:["10001","11011","10101","10101","10001","10001","10001"],Q:["01110","10001","10001","10001","10101","10010","01101"],S:["01111","10000","10000","01110","00001","00001","11110"],U:["10001","10001","10001","10001","10001","10001","01110"],Z:["11111","00001","00010","00100","01000","10000","11111"],J:["00111","00010","00010","00010","00010","10010","01100"],V:["10001","10001","10001","10001","10001","01010","00100"],W:["10001","10001","10001","10101","10101","11011","10001"],X:["10001","10001","01010","00100","01010","10001","10001"],Y:["10001","10001","01010","00100","00100","00100","00100"],0:["01110","10001","10011","10101","11001","10001","01110"],1:["00100","01100","00100","00100","00100","00100","01110"],2:["01110","10001","00001","00010","00100","01000","11111"],5:["11111","10000","11110","00001","00001","10001","01110"],6:["00110","01000","10000","11110","10001","10001","01110"],7:["11111","00001","00010","00100","01000","01000","01000"],8:["01110","10001","10001","01110","10001","10001","01110"],9:["01110","10001","10001","01111","00001","00010","01100"],"-":["00000","00000","00000","11111","00000","00000","00000"],"+":["00000","00100","00100","11111","00100","00100","00000"],"<":["00010","00100","01000","10000","01000","00100","00010"],">":["01000","00100","00010","00001","00010","00100","01000"]};function $Re(e,t,r){const n=Math.max(1,Math.floor(Math.min(t,r)/128)),o=n*3;return{width:e.length*n*6-n+o*2,height:n*7+o*2}}function qRe(e,t,r,n,o,i,a="normal"){const s=Math.max(1,Math.floor(Math.min(o,i)/128)),u=s*3,l=s*6,c=t.length*l-s+u*2,d=s*7+u*2;e.fillStyle=a==="warning"?"rgba(154, 24, 24, 0.92)":"rgba(0, 0, 0, 0.62)",e.fillRect(r,n,c,d),e.fillStyle="#ffffff";for(let f=0;f<t.length;f++){const p=cme[t[f]];if(p)for(let h=0;h<p.length;h++)for(let m=0;m<p[h].length;m++)p[h][m]==="1"&&e.fillRect(r+u+f*l+m*s,n+u+h*s,s,s)}}function dme({capture:e,previewKey:t,size:r}){const[n,o]=H.useState(null);return H.useEffect(()=>{let i=!1;return o(null),e(r).then(a=>{i||o(a)},()=>{i||o(null)}),()=>{i=!0}},[e,t,r]),n?R.jsx("img",{src:n,alt:"Selected object preview",className:"volter-component-thumbnail"}):null}const fme=Object.freeze(Object.defineProperty({__proto__:null,InspectorCanvasPreview:dme},Symbol.toStringTag,{value:"Module"}));let Sg=null;function kRe(){return Sg??=fetch("/__editor/project").then(e=>e.json()).then(e=>e.engine??null).catch(()=>(Sg=null,null)),Sg}class pme extends H.Component{state={error:null};static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){console.error(`[stories] ${this.props.modulePath} — story "${this.props.storyName}" crashed while rendering:`,t,r.componentStack)}render(){return this.state.error?R.jsxs("div",{style:{padding:12,fontSize:12,color:ce.semantic.danger,maxWidth:640},children:[R.jsxs("div",{style:{fontWeight:600,marginBottom:4},children:["Story crashed: ",R.jsx("code",{children:this.props.modulePath})," — export"," ",R.jsx("code",{children:this.props.storyName})]}),R.jsx("div",{style:{whiteSpace:"pre-wrap"},children:String(this.state.error)})]}):this.props.children}}const Ko=new WeakMap;async function MRe(e,t,r,n,o){const i=Ko.get(e),a=(i?.generation??0)+1;Ko.set(e,{root:i?.root,generation:a}),qde(e);const s=OV().projectLocalState.projectRootPath();s&&await Mde(s),await n.load();const{createRoot:u,flushSync:l}=await x1(),c=Ko.get(e);if(!c||c.generation!==a)return null;const d=i?.root??u(e);return Ko.set(e,{root:d,generation:a}),l(()=>{d.render(R.jsx(pme,{modulePath:t,storyName:r,children:R.jsx(n,{...o??{}})}))}),{root:d,unmount:()=>{queueMicrotask(()=>{const f=Ko.get(e);!f||f.generation!==a||!f.root||(Ko.delete(e),f.root.unmount())})}}}async function NRe(e,t,r,n){if(typeof r.play!="function")return{ran:!1};try{return await r.play({canvasElement:n}),{ran:!0}}catch(o){const i=String(o instanceof Error?o.message:o);return console.error(`[stories] ${e} — story "${t}"'s play() threw:`,o),{ran:!0,error:`[stories] ${e} — story "${t}"'s play() failed: ${i}`}}}function IRe(e){const t=e.target;return!(t instanceof HTMLElement&&(t.isContentEditable||t.closest("input, textarea, select")!==null))}export{qve as $,tD as A,Zve as B,aT as C,pve as D,rge as E,lbe as F,Nbe as G,zA as H,Ige as I,Mbe as J,Ip as K,tU as L,Nge as M,sbe as N,Oye as O,$ye as P,qye as Q,Sp as R,aye as S,kye as T,Mye as U,I7 as V,Qme as W,Xme as X,Ive as Y,wye as Z,vme as _,gme as a,Ede as a$,hye as a0,tye as a1,zme as a2,bU as a3,Kme as a4,Nye as a5,rye as a6,ege as a7,$2 as a8,Hp as a9,uwe as aA,dwe as aB,Ege as aC,Te as aD,cwe as aE,fge as aF,pwe as aG,fwe as aH,nwe as aI,Lye as aJ,jye as aK,tEe as aL,Uce as aM,X9 as aN,Z9 as aO,af as aP,wu as aQ,o4 as aR,Ri as aS,nde as aT,C1 as aU,Gce as aV,cEe as aW,tge as aX,iEe as aY,oEe as aZ,wde as a_,Pr as aa,No as ab,MT as ac,Io as ad,PU as ae,hr as af,SV as ag,zt as ah,M7 as ai,qme as aj,Ove as ak,Hge as al,nt as am,Xe as an,e0e as ao,Ou as ap,Dge as aq,Lge as ar,Fge as as,Bge as at,cV as au,dV as av,b0e as aw,uge as ax,L7 as ay,Ui as az,yme as b,b3e as b$,dEe as b0,Fce as b1,REe as b2,dbe as b3,pEe as b4,ube as b5,bEe as b6,mbe as b7,Tve as b8,Nme as b9,hEe as bA,Sk as bB,$Ee as bC,_ge as bD,Oy as bE,Oge as bF,uye as bG,Pk as bH,FEe as bI,Ty as bJ,X7 as bK,Ci as bL,HEe as bM,Mk as bN,Dde as bO,Zc as bP,g0e as bQ,p0e as bR,Sge as bS,e3e as bT,mfe as bU,a3e as bV,Zye as bW,o3e as bX,h3e as bY,xfe as bZ,g3e as b_,Mce as ba,$A as bb,Mwe as bc,EEe as bd,yt as be,vo as bf,xe as bg,Ar as bh,Hye as bi,XP as bj,Bve as bk,ab as bl,Lve as bm,ZP as bn,Hve as bo,mme as bp,hme as bq,Ec as br,DEe as bs,Ak as bt,Vve as bu,qEe as bv,MEe as bw,ide as bx,xde as by,fEe as bz,ij as c,iV as c$,y3e as c0,WEe as c1,m3e as c2,Efe as c3,hU as c4,v4 as c5,VEe as c6,Awe as c7,ywe as c8,cye as c9,qu as cA,hD as cB,S3e as cC,R3e as cD,gve as cE,In as cF,b7 as cG,Ube as cH,ave as cI,Fbe as cJ,nbe as cK,mve as cL,Wbe as cM,vve as cN,Qye as cO,P3e as cP,Ij as cQ,R7 as cR,Qj as cS,sV as cT,_ve as cU,Cve as cV,O3e as cW,Eve as cX,Pve as cY,l7 as cZ,oV as c_,lye as ca,vye as cb,ku as cc,Fve as cd,cbe as ce,et as cf,Vme as cg,o7 as ch,S7 as ci,Ime as cj,Tme as ck,bA as cl,lA as cm,xf as cn,jme as co,E3e as cp,Ave as cq,du as cr,wve as cs,O7 as ct,Nwe as cu,bve as cv,Tye as cw,vk as cx,Jg as cy,zge as cz,bme as d,Q3e as d$,nV as d0,aV as d1,kme as d2,_3e as d3,Sve as d4,kve as d5,lV as d6,$ve as d7,wA as d8,A3e as d9,t0e as dA,hV as dB,pV as dC,oE as dD,fV as dE,hp as dF,S0e as dG,fk as dH,gye as dI,gwe as dJ,Twe as dK,Owe as dL,hk as dM,Sye as dN,jce as dO,pge as dP,Vwe as dQ,Uwe as dR,Kwe as dS,Gwe as dT,f3e as dU,i3e as dV,Yc as dW,Bwe as dX,S4 as dY,an as dZ,o0e as d_,C3e as da,Op as db,aE as dc,v0e as dd,jve as de,Dwe as df,Iwe as dg,GEe as dh,c3e as di,dge as dj,Bce as dk,t3e as dl,r3e as dm,R0e as dn,JEe as dp,Ywe as dq,_V as dr,EV as ds,wV as dt,yV as du,vV as dv,bV as dw,gV as dx,mV as dy,Pm as dz,qj as e,Wwe as e$,K3e as e0,L3e as e1,lpe as e2,t_e as e3,pD as e4,G3e as e5,i_e as e6,wEe as e7,a_e as e8,d_e as e9,A_e as eA,S_e as eB,lve as eC,uve as eD,q_e as eE,k_e as eF,T_e as eG,$_e as eH,QEe as eI,U_e as eJ,xc as eK,k3e as eL,M3e as eM,I3e as eN,N3e as eO,mi as eP,Zwe as eQ,Lce as eR,Qve as eS,nye as eT,tE as eU,V_e as eV,W_e as eW,mT as eX,eye as eY,Rye as eZ,Lpe as e_,r0e as ea,Qc as eb,m_e as ec,__e as ed,Gi as ee,Jye as ef,Jwe as eg,Spe as eh,c0e as ei,u0e as ej,KEe as ek,Vk as el,Pge as em,Vge as en,IA as eo,jj as ep,Jge as eq,Pme as er,Lme as es,lt as et,Rge as eu,Uye as ev,Vye as ew,C_e as ex,$me as ey,A7 as ez,kge as f,yM as f$,qn as f0,yye as f1,D3e as f2,xU as f3,Fye as f4,mA as f5,pA as f6,Fme as f7,zye as f8,Mve as f9,tSe as fA,Gge as fB,wme as fC,vA as fD,yA as fE,P2 as fF,C2 as fG,X_e as fH,J_e as fI,v_e as fJ,Y_e as fK,Z_e as fL,Gme as fM,y_e as fN,gA as fO,w_e as fP,uSe as fQ,T2 as fR,d7 as fS,Xj as fT,$7 as fU,SSe as fV,RSe as fW,a0e as fX,s0e as fY,lSe as fZ,cSe as f_,Nve as fa,j7 as fb,D7 as fc,sge as fd,lge as fe,Dbe as ff,Ope as fg,hA as fh,xme as fi,yve as fj,O1 as fk,mD as fl,U2 as fm,Bme as fn,Q_e as fo,Obe as fp,Lbe as fq,gD as fr,i7 as fs,Rn as ft,Wce as fu,Yve as fv,Ape as fw,k1 as fx,sSe as fy,wM as fz,fve as g,Rme as g$,Yy as g0,rSe as g1,Vpe as g2,oSe as g3,nSe as g4,Gye as g5,aSe as g6,L4 as g7,l0e as g8,iSe as g9,Qk as gA,She as gB,bhe as gC,Fwe as gD,jwe as gE,kSe as gF,h_e as gG,hf as gH,Ehe as gI,NEe as gJ,mEe as gK,Kye as gL,Wye as gM,Yye as gN,rV as gO,p_e as gP,ae as gQ,KSe as gR,WSe as gS,GSe as gT,OV as gU,wg as gV,uV as gW,lD as gX,_me as gY,Ome as gZ,Cme as g_,qD as ga,uD as gb,bSe as gc,fD as gd,dD as ge,LA as gf,KA as gg,$be as gh,Mj as gi,m7 as gj,E7 as gk,tbe as gl,ebe as gm,lEe as gn,sEe as go,Qo as gp,jge as gq,Dve as gr,OSe as gs,$Se as gt,ISe as gu,_he as gv,CM as gw,NSe as gx,MSe as gy,Lwe as gz,cve as h,B3e as h$,Wj as h0,rRe as h1,nRe as h2,$we as h3,qwe as h4,bwe as h5,tRe as h6,QSe as h7,SRe as h8,eRe as h9,sRe as hA,AM as hB,Ohe as hC,HSe as hD,FSe as hE,BSe as hF,zSe as hG,VSe as hH,f_e as hI,USe as hJ,J7 as hK,nhe as hL,jSe as hM,xRe as hN,cge as hO,DSe as hP,gc as hQ,w0e as hR,z3e as hS,aU as hT,oye as hU,XH as hV,Xve as hW,Jve as hX,Wve as hY,rEe as hZ,H3e as h_,cRe as ha,l3e as hb,uRe as hc,pRe as hd,Swe as he,wce as hf,mSe as hg,JSe as hh,ZSe as hi,en as hj,Wme as hk,n7 as hl,r7 as hm,Ume as hn,Bj as ho,Vj as hp,vwe as hq,qy as hr,rbe as hs,oRe as ht,iRe as hu,Sh as hv,aRe as hw,lRe as hx,Dj as hy,kj as hz,Tj as i,IRe as i$,W3e as i0,V3e as i1,U3e as i2,F3e as i3,Bfe as i4,PSe as i5,u_e as i6,n3e as i7,s3e as i8,gSe as i9,Gve as iA,Kve as iB,UEe as iC,Eye as iD,Pye as iE,_ye as iF,Cye as iG,Aye as iH,xye as iI,E0e as iJ,xge as iK,Bye as iL,zEe as iM,TRe as iN,F2 as iO,ige as iP,rC as iQ,Pj as iR,wwe as iS,t4 as iT,sD as iU,Tbe as iV,Cbe as iW,Tge as iX,pSe as iY,O_e as iZ,P_e as i_,SEe as ia,GH as ib,Ffe as ic,Hwe as id,ASe as ie,v3e as ig,Cwe as ih,pye as ii,Age as ij,fye as ik,xwe as il,e_e as im,CRe as io,ARe as ip,T3e as iq,G_e as ir,m0e as is,iye as it,q3e as iu,X3e as iv,kEe as iw,_0e as ix,oge as iy,age as iz,R as j,L_e as j$,ihe as j0,zve as j1,Ow as j2,Uve as j3,eEe as j4,XEe as j5,dSe as j6,sve as j7,Ewe as j8,S9 as j9,TEe as jA,ZEe as jB,h0e as jC,MRe as jD,ibe as jE,Eh as jF,yEe as jG,$ge as jH,pce as jI,hSe as jJ,_we as jK,Ame as jL,Eme as jM,Tp as jN,Mp as jO,Wge as jP,s_e as jQ,jA as jR,fRe as jS,pM as jT,M_e as jU,z_e as jV,B_e as jW,j_e as jX,cM as jY,F_e as jZ,D_e as j_,Ud as ja,Vd as jb,mm as jc,kRe as jd,eSe as je,Xwe as jf,Qwe as jg,dve as jh,Upe as ji,ohe as jj,gEe as jk,vEe as jl,w3e as jm,_Se as jn,TSe as jo,kwe as jp,x3e as jq,the as jr,Hpe as js,K_e as jt,qge as ju,d3e as jv,_Ee as jw,uEe as jx,qRe as jy,$Re as jz,Tt as k,Uge as k$,f0e as k0,d0e as k1,Rwe as k2,vSe as k3,che as k4,Sme as k5,qp as k6,N_e as k7,I_e as k8,Dme as k9,PEe as kA,jEe as kB,IEe as kC,E_e as kD,tb as kE,YSe as kF,r_e as kG,c_e as kH,H_e as kI,Pu as kJ,x_e as kK,Cy as kL,ySe as kM,Yme as kN,Zme as kO,Jme as kP,nge as kQ,B7 as kR,F7 as kS,H7 as kT,U7 as kU,K7 as kV,PA as kW,z2 as kX,jr as kY,aD as kZ,zd as k_,Hme as ka,n_e as kb,wSe as kc,ESe as kd,RM as ke,o_e as kf,mge as kg,gge as kh,vge as ki,fSe as kj,CSe as kk,bye as kl,_ce as km,Pwe as kn,zwe as ko,wge as kp,bge as kq,hge as kr,p3e as ks,yge as kt,xSe as ku,mwe as kv,mye as kw,Mme as kx,Fj as ky,abe as kz,Ay as l,M9 as l$,Yge as l0,Kge as l1,Zge as l2,Xge as l3,Qge as l4,cD as l5,FA as l6,obe as l7,ID as l8,ky as l9,gbe as lA,wbe as lB,Ibe as lC,jbe as lD,g9 as lE,Bbe as lF,zbe as lG,Z2 as lH,Hbe as lI,vt as lJ,$t as lK,w9 as lL,Vbe as lM,ew as lN,ZA as lO,sa as lP,JA as lQ,id as lR,Af as lS,Rr as lT,Gbe as lU,Kbe as lV,T9 as lW,$9 as lX,P9 as lY,O9 as lZ,q9 as l_,fbe as la,pbe as lb,aa as lc,kD as ld,Ebe as le,ybe as lf,Sbe as lg,Rbe as lh,h9 as li,kbe as lj,xbe as lk,ND as ll,Hd as lm,MD as ln,nd as lo,ia as lp,qbe as lq,Abe as lr,f9 as ls,_be as lt,hbe as lu,Pbe as lv,pm as lw,bbe as lx,vbe as ly,Vi as lz,Cc as m,TV as m$,nw as m0,ua as m1,rw as m2,fi as m3,k9 as m4,Ybe as m5,Xbe as m6,Jbe as m7,Zbe as m8,Qbe as m9,dT as mA,Gw as mB,Iye as mC,_U as mD,Dye as mE,SU as mF,CU as mG,TU as mH,Yw as mI,xT as mJ,XU as mK,CT as mL,tV as mM,$r as mN,Xye as mO,nE as mP,Wp as mQ,TT as mR,n0e as mS,Ky as mT,RV as mU,i0e as mV,lE as mW,xV as mX,kT as mY,AV as mZ,y0e as m_,tve as ma,B9 as mb,j9 as mc,eve as md,z9 as me,H9 as mf,ove as mg,QA as mh,ive as mi,rve as mj,nve as mk,K9 as ml,G9 as mm,Rve as mn,xve as mo,cw as mp,rL as mq,sT as mr,lT as ms,Tc as mt,uT as mu,Hy as mv,JH as mw,rU as mx,ZH as my,hb as mz,dye as n,g_e as n$,x1 as n0,uce as n1,Qx as n2,En as n3,up as n4,hwe as n5,Ece as n6,Cv as n7,kce as n8,Dce as n9,Lfe as nA,hg as nB,pg as nC,zfe as nD,Ufe as nE,ft as nF,Y3e as nG,Uk as nH,Z3e as nI,J3e as nJ,ipe as nK,Wk as nL,Gk as nM,Kk as nN,l_e as nO,fpe as nP,ppe as nQ,T4 as nR,hpe as nS,mpe as nT,ype as nU,wpe as nV,vpe as nW,Epe as nX,_pe as nY,Rpe as nZ,b_e as n_,_n as na,Kce as nb,nEe as nc,aEe as nd,a4 as ne,_de as nf,Ek as ng,xEe as nh,Rde as ni,CEe as nj,Rk as nk,AEe as nl,OEe as nm,Tde as nn,LEe as no,qde as np,Mde as nq,BEe as nr,YEe as ns,u3e as nt,yfe as nu,vfe as nv,wfe as nw,jfe as nx,$3e as ny,j3e as nz,k7 as o,Cpe as o0,Ppe as o1,Tpe as o2,R_e as o3,qpe as o4,Mpe as o5,dM as o6,Npe as o7,Wpe as o8,Qpe as o9,vRe as oA,RRe as oB,Xhe as oC,gRe as oD,hRe as oE,wRe as oF,yRe as oG,mRe as oH,ame as oI,lme as oJ,Qhe as oK,ERe as oL,tme as oM,PRe as oN,ORe as oO,dme as oP,pme as oQ,NRe as oR,EM as oa,ehe as ob,ahe as oc,dhe as od,hhe as oe,qSe as of,Rhe as og,Nd as oh,xhe as oi,LSe as oj,$he as ok,qhe as ol,XSe as om,Ep as on,xh as oo,zi as op,M1 as oq,wc as or,Z4 as os,Y4 as ot,dRe as ou,eC as ov,Zhe as ow,bRe as ox,_Re as oy,Jhe as oz,sye as p,Vp as q,H as r,Mge as s,ce as t,Cge as u,Z7 as v,hve as w,Py as x,oU as y,VH as z};