markdown-flow-ui 0.3.2-dev.1 → 0.3.2

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 (313) hide show
  1. package/README.md +0 -13
  2. package/dist/_virtual/index.es6.js +3 -5
  3. package/dist/_virtual/index.es6.js.map +1 -1
  4. package/dist/_virtual/index.es7.js +5 -3
  5. package/dist/_virtual/index.es7.js.map +1 -1
  6. package/dist/_virtual/index.es8.js +2 -2
  7. package/dist/_virtual/index.es9.js +2 -2
  8. package/dist/_virtual/index6.cjs +1 -1
  9. package/dist/_virtual/index7.cjs +1 -1
  10. package/dist/_virtual/index8.cjs +1 -1
  11. package/dist/_virtual/index9.cjs +1 -1
  12. package/dist/assets/markdown-flow-ui.css +1 -1
  13. package/dist/components/ContentRender/IframeSandbox.cjs.map +1 -1
  14. package/dist/components/ContentRender/IframeSandbox.es.js.map +1 -1
  15. package/dist/components/ContentRender/utils/video-markdown-run.cjs.map +1 -1
  16. package/dist/components/ContentRender/utils/video-markdown-run.es.js.map +1 -1
  17. package/dist/components/MarkdownFlow/ScrollToBottomButton.cjs.map +1 -1
  18. package/dist/components/MarkdownFlow/ScrollToBottomButton.es.js.map +1 -1
  19. package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs.map +1 -1
  20. package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js.map +1 -1
  21. package/dist/components/MarkdownFlow/useScrollToBottom.cjs.map +1 -1
  22. package/dist/components/MarkdownFlow/useScrollToBottom.es.js.map +1 -1
  23. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs +1 -1
  24. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs.map +1 -1
  25. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.d.ts +2 -2
  26. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js +323 -558
  27. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js.map +1 -1
  28. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs +1 -1
  29. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs.map +1 -1
  30. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.d.ts +0 -8
  31. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.es.js +64 -107
  32. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.es.js.map +1 -1
  33. package/dist/components/MarkdownFlowEditor/editor-context.cjs +1 -1
  34. package/dist/components/MarkdownFlowEditor/editor-context.cjs.map +1 -1
  35. package/dist/components/MarkdownFlowEditor/editor-context.es.js +4 -10
  36. package/dist/components/MarkdownFlowEditor/editor-context.es.js.map +1 -1
  37. package/dist/components/MarkdownFlowEditor/editorI18n.d.ts +0 -308
  38. package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.cjs +1 -1
  39. package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.d.ts +1 -15
  40. package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.es.js +87 -115
  41. package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.es.js.map +1 -1
  42. package/dist/components/MarkdownFlowEditor/locales/de-DE.json.cjs +1 -1
  43. package/dist/components/MarkdownFlowEditor/locales/de-DE.json.d.ts +1 -15
  44. package/dist/components/MarkdownFlowEditor/locales/de-DE.json.es.js +88 -116
  45. package/dist/components/MarkdownFlowEditor/locales/de-DE.json.es.js.map +1 -1
  46. package/dist/components/MarkdownFlowEditor/locales/en-US.json.cjs +1 -1
  47. package/dist/components/MarkdownFlowEditor/locales/en-US.json.d.ts +1 -15
  48. package/dist/components/MarkdownFlowEditor/locales/en-US.json.es.js +88 -116
  49. package/dist/components/MarkdownFlowEditor/locales/en-US.json.es.js.map +1 -1
  50. package/dist/components/MarkdownFlowEditor/locales/es-ES.json.cjs +1 -1
  51. package/dist/components/MarkdownFlowEditor/locales/es-ES.json.d.ts +1 -15
  52. package/dist/components/MarkdownFlowEditor/locales/es-ES.json.es.js +80 -108
  53. package/dist/components/MarkdownFlowEditor/locales/es-ES.json.es.js.map +1 -1
  54. package/dist/components/MarkdownFlowEditor/locales/fil-PH.json.cjs +1 -1
  55. package/dist/components/MarkdownFlowEditor/locales/fil-PH.json.d.ts +1 -15
  56. package/dist/components/MarkdownFlowEditor/locales/fil-PH.json.es.js +82 -110
  57. package/dist/components/MarkdownFlowEditor/locales/fil-PH.json.es.js.map +1 -1
  58. package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.cjs +1 -1
  59. package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.d.ts +1 -15
  60. package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.es.js +86 -114
  61. package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.es.js.map +1 -1
  62. package/dist/components/MarkdownFlowEditor/locales/ja-JP.json.cjs +1 -1
  63. package/dist/components/MarkdownFlowEditor/locales/ja-JP.json.d.ts +1 -15
  64. package/dist/components/MarkdownFlowEditor/locales/ja-JP.json.es.js +88 -116
  65. package/dist/components/MarkdownFlowEditor/locales/ja-JP.json.es.js.map +1 -1
  66. package/dist/components/MarkdownFlowEditor/locales/th-TH.json.cjs +1 -1
  67. package/dist/components/MarkdownFlowEditor/locales/th-TH.json.d.ts +1 -15
  68. package/dist/components/MarkdownFlowEditor/locales/th-TH.json.es.js +85 -113
  69. package/dist/components/MarkdownFlowEditor/locales/th-TH.json.es.js.map +1 -1
  70. package/dist/components/MarkdownFlowEditor/locales/ur-PK.json.cjs +1 -1
  71. package/dist/components/MarkdownFlowEditor/locales/ur-PK.json.d.ts +1 -15
  72. package/dist/components/MarkdownFlowEditor/locales/ur-PK.json.es.js +94 -122
  73. package/dist/components/MarkdownFlowEditor/locales/ur-PK.json.es.js.map +1 -1
  74. package/dist/components/MarkdownFlowEditor/locales/vi-VN.json.cjs +1 -1
  75. package/dist/components/MarkdownFlowEditor/locales/vi-VN.json.d.ts +1 -15
  76. package/dist/components/MarkdownFlowEditor/locales/vi-VN.json.es.js +74 -102
  77. package/dist/components/MarkdownFlowEditor/locales/vi-VN.json.es.js.map +1 -1
  78. package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.cjs +1 -1
  79. package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.d.ts +1 -15
  80. package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.es.js +72 -100
  81. package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.es.js.map +1 -1
  82. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.cjs +1 -1
  83. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.cjs.map +1 -1
  84. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.d.ts +2 -1
  85. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.es.js +62 -53
  86. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.es.js.map +1 -1
  87. package/dist/components/MarkdownFlowEditor/plugins/PlaceholderWidget.cjs.map +1 -1
  88. package/dist/components/MarkdownFlowEditor/plugins/PlaceholderWidget.d.ts +1 -1
  89. package/dist/components/MarkdownFlowEditor/plugins/PlaceholderWidget.es.js.map +1 -1
  90. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.cjs +3 -3
  91. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.cjs.map +1 -1
  92. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.d.ts +1 -5
  93. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.es.js +149 -154
  94. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.es.js.map +1 -1
  95. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.cjs +1 -1
  96. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.cjs.map +1 -1
  97. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.d.ts +2 -1
  98. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.es.js +53 -42
  99. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.es.js.map +1 -1
  100. package/dist/components/MarkdownFlowEditor/types.cjs +1 -1
  101. package/dist/components/MarkdownFlowEditor/types.cjs.map +1 -1
  102. package/dist/components/MarkdownFlowEditor/types.d.ts +1 -11
  103. package/dist/components/MarkdownFlowEditor/types.es.js +2 -2
  104. package/dist/components/MarkdownFlowEditor/types.es.js.map +1 -1
  105. package/dist/components/MarkdownFlowEditor/utils.cjs +1 -1
  106. package/dist/components/MarkdownFlowEditor/utils.cjs.map +1 -1
  107. package/dist/components/MarkdownFlowEditor/utils.d.ts +0 -10
  108. package/dist/components/MarkdownFlowEditor/utils.es.js +59 -73
  109. package/dist/components/MarkdownFlowEditor/utils.es.js.map +1 -1
  110. package/dist/components/Slide/MarkdownSlideScaling.cjs.map +1 -1
  111. package/dist/components/Slide/MarkdownSlideScaling.es.js.map +1 -1
  112. package/dist/components/Slide/MobilePlayerSettingsSheet.es.js +16 -16
  113. package/dist/components/Slide/Player.cjs.map +1 -1
  114. package/dist/components/Slide/Player.es.js.map +1 -1
  115. package/dist/components/Slide/Slide.cjs.map +1 -1
  116. package/dist/components/Slide/Slide.es.js.map +1 -1
  117. package/dist/components/Slide/SubtitleOverlay.cjs.map +1 -1
  118. package/dist/components/Slide/SubtitleOverlay.es.js.map +1 -1
  119. package/dist/components/Slide/slideI18n.cjs.map +1 -1
  120. package/dist/components/Slide/slideI18n.es.js.map +1 -1
  121. package/dist/components/Slide/useSlide.cjs.map +1 -1
  122. package/dist/components/Slide/useSlide.es.js.map +1 -1
  123. package/dist/components/Slide/utils/streamingNavigation.cjs.map +1 -1
  124. package/dist/components/Slide/utils/streamingNavigation.es.js.map +1 -1
  125. package/dist/components/ui/dialog.cjs +1 -1
  126. package/dist/components/ui/dialog.cjs.map +1 -1
  127. package/dist/components/ui/dialog.es.js +27 -27
  128. package/dist/components/ui/dialog.es.js.map +1 -1
  129. package/dist/lib/interaction-defaults.cjs.map +1 -1
  130. package/dist/lib/interaction-defaults.es.js.map +1 -1
  131. package/dist/markdown-flow-ui-lib.css +1 -1
  132. package/dist/markdown-flow-ui.css +1 -1
  133. package/dist/node_modules/@braintree/sanitize-url/dist/index.cjs +1 -1
  134. package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
  135. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
  136. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
  137. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js +34 -49
  138. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
  139. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs +1 -5
  140. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
  141. package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js +206 -220
  142. package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +1 -1
  143. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs +2 -0
  144. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -0
  145. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js +50 -0
  146. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
  147. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +2 -0
  148. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -0
  149. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +34 -0
  150. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -0
  151. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs +2 -0
  152. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
  153. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js +82 -0
  154. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
  155. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +2 -0
  156. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
  157. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +216 -0
  158. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
  159. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs +2 -0
  160. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -0
  161. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js +15 -0
  162. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -0
  163. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs +2 -0
  164. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
  165. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js +18 -0
  166. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
  167. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs +2 -0
  168. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -0
  169. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js +104 -0
  170. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -0
  171. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  172. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  173. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js +39 -0
  174. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  175. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
  176. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
  177. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +13 -0
  178. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  179. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +2 -0
  180. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -0
  181. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +70 -0
  182. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
  183. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +2 -0
  184. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +1 -0
  185. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js +20 -0
  186. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +1 -0
  187. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +2 -0
  188. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -0
  189. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +7 -0
  190. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -0
  191. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +1 -1
  192. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.map +1 -1
  193. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.es.js +18 -9
  194. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.es.js.map +1 -1
  195. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
  196. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
  197. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +148 -100
  198. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -1
  199. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +2 -0
  200. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -0
  201. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +34 -0
  202. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -0
  203. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  204. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  205. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js +39 -0
  206. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  207. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
  208. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
  209. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +13 -0
  210. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  211. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -1
  212. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -1
  213. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js +8 -8
  214. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -1
  215. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
  216. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
  217. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js +1 -1
  218. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  219. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  220. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js +50 -0
  221. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  222. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  223. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  224. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +80 -41
  225. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
  226. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +2 -0
  227. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -0
  228. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +34 -0
  229. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -0
  230. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
  231. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
  232. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +1 -1
  233. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  234. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  235. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js +12 -0
  236. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  237. package/dist/node_modules/classnames/index.cjs +1 -1
  238. package/dist/node_modules/classnames/index.es.js +1 -1
  239. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +1 -1
  240. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
  241. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.cjs +1 -1
  242. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.es.js +1 -1
  243. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.cjs +1 -1
  244. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.es.js +1 -1
  245. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.cjs +1 -1
  246. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.es.js +1 -1
  247. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.cjs +1 -1
  248. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.es.js +1 -1
  249. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.cjs +1 -1
  250. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.es.js +1 -1
  251. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.cjs +1 -1
  252. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js +1 -1
  253. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.cjs +1 -1
  254. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.es.js +1 -1
  255. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.cjs +1 -1
  256. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.es.js +1 -1
  257. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.cjs +1 -1
  258. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.es.js +1 -1
  259. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.cjs +1 -1
  260. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.es.js +1 -1
  261. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.cjs +1 -1
  262. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.es.js +1 -1
  263. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +2 -2
  264. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.map +1 -1
  265. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js +75 -72
  266. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +1 -1
  267. package/package.json +10 -10
  268. package/dist/components/MarkdownFlowEditor/components/CustomPopover.cjs +0 -2
  269. package/dist/components/MarkdownFlowEditor/components/CustomPopover.cjs.map +0 -1
  270. package/dist/components/MarkdownFlowEditor/components/CustomPopover.d.ts +0 -17
  271. package/dist/components/MarkdownFlowEditor/components/CustomPopover.es.js +0 -46
  272. package/dist/components/MarkdownFlowEditor/components/CustomPopover.es.js.map +0 -1
  273. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.cjs +0 -2
  274. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.cjs.map +0 -1
  275. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.d.ts +0 -18
  276. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.es.js +0 -184
  277. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.es.js.map +0 -1
  278. package/dist/components/MarkdownFlowEditor/components/VariableSelect.cjs +0 -2
  279. package/dist/components/MarkdownFlowEditor/components/VariableSelect.cjs.map +0 -1
  280. package/dist/components/MarkdownFlowEditor/components/VariableSelect.d.ts +0 -11
  281. package/dist/components/MarkdownFlowEditor/components/VariableSelect.es.js +0 -172
  282. package/dist/components/MarkdownFlowEditor/components/VariableSelect.es.js.map +0 -1
  283. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.cjs +0 -2
  284. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.cjs.map +0 -1
  285. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.d.ts +0 -3
  286. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.es.js +0 -32
  287. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.es.js.map +0 -1
  288. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.cjs +0 -3
  289. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.cjs.map +0 -1
  290. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.d.ts +0 -9
  291. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.es.js +0 -53
  292. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.es.js.map +0 -1
  293. package/dist/components/ui/popover.cjs +0 -2
  294. package/dist/components/ui/popover.cjs.map +0 -1
  295. package/dist/components/ui/popover.es.js +0 -24
  296. package/dist/components/ui/popover.es.js.map +0 -1
  297. package/dist/node_modules/@radix-ui/react-popover/dist/index.cjs +0 -2
  298. package/dist/node_modules/@radix-ui/react-popover/dist/index.cjs.map +0 -1
  299. package/dist/node_modules/@radix-ui/react-popover/dist/index.es.js +0 -241
  300. package/dist/node_modules/@radix-ui/react-popover/dist/index.es.js.map +0 -1
  301. package/dist/node_modules/lucide-react/dist/esm/icons/braces.cjs +0 -7
  302. package/dist/node_modules/lucide-react/dist/esm/icons/braces.cjs.map +0 -1
  303. package/dist/node_modules/lucide-react/dist/esm/icons/braces.es.js +0 -25
  304. package/dist/node_modules/lucide-react/dist/esm/icons/braces.es.js.map +0 -1
  305. package/dist/node_modules/lucide-react/dist/esm/icons/plus.cjs +0 -7
  306. package/dist/node_modules/lucide-react/dist/esm/icons/plus.cjs.map +0 -1
  307. package/dist/node_modules/lucide-react/dist/esm/icons/plus.es.js +0 -16
  308. package/dist/node_modules/lucide-react/dist/esm/icons/plus.es.js.map +0 -1
  309. package/dist/node_modules/lucide-react/dist/esm/icons/search.cjs +0 -7
  310. package/dist/node_modules/lucide-react/dist/esm/icons/search.cjs.map +0 -1
  311. package/dist/node_modules/lucide-react/dist/esm/icons/search.es.js +0 -16
  312. package/dist/node_modules/lucide-react/dist/esm/icons/search.es.js.map +0 -1
  313. /package/dist/components/MarkdownFlowEditor/plugins/{VariablePlaceholder.test.d.ts → MediaPlaceholder.variables.test.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/@radix-ui/react-tooltip/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/tooltip.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport * as VisuallyHiddenPrimitive from \"@radix-ui/react-visually-hidden\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar [createTooltipContext, createTooltipScope] = createContextScope(\"Tooltip\", [\n createPopperScope\n]);\nvar usePopperScope = createPopperScope();\nvar PROVIDER_NAME = \"TooltipProvider\";\nvar DEFAULT_DELAY_DURATION = 700;\nvar TOOLTIP_OPEN = \"tooltip.open\";\nvar [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME);\nvar TooltipProvider = (props) => {\n const {\n __scopeTooltip,\n delayDuration = DEFAULT_DELAY_DURATION,\n skipDelayDuration = 300,\n disableHoverableContent = false,\n children\n } = props;\n const isOpenDelayedRef = React.useRef(true);\n const isPointerInTransitRef = React.useRef(false);\n const skipDelayTimerRef = React.useRef(0);\n React.useEffect(() => {\n const skipDelayTimer = skipDelayTimerRef.current;\n return () => window.clearTimeout(skipDelayTimer);\n }, []);\n return /* @__PURE__ */ jsx(\n TooltipProviderContextProvider,\n {\n scope: __scopeTooltip,\n isOpenDelayedRef,\n delayDuration,\n onOpen: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n isOpenDelayedRef.current = false;\n }, []),\n onClose: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n skipDelayTimerRef.current = window.setTimeout(\n () => isOpenDelayedRef.current = true,\n skipDelayDuration\n );\n }, [skipDelayDuration]),\n isPointerInTransitRef,\n onPointerInTransitChange: React.useCallback((inTransit) => {\n isPointerInTransitRef.current = inTransit;\n }, []),\n disableHoverableContent,\n children\n }\n );\n};\nTooltipProvider.displayName = PROVIDER_NAME;\nvar TOOLTIP_NAME = \"Tooltip\";\nvar [TooltipContextProvider, useTooltipContext] = createTooltipContext(TOOLTIP_NAME);\nvar Tooltip = (props) => {\n const {\n __scopeTooltip,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n disableHoverableContent: disableHoverableContentProp,\n delayDuration: delayDurationProp\n } = props;\n const providerContext = useTooltipProviderContext(TOOLTIP_NAME, props.__scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const [trigger, setTrigger] = React.useState(null);\n const contentId = useId();\n const openTimerRef = React.useRef(0);\n const disableHoverableContent = disableHoverableContentProp ?? providerContext.disableHoverableContent;\n const delayDuration = delayDurationProp ?? providerContext.delayDuration;\n const wasOpenDelayedRef = React.useRef(false);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: (open2) => {\n if (open2) {\n providerContext.onOpen();\n document.dispatchEvent(new CustomEvent(TOOLTIP_OPEN));\n } else {\n providerContext.onClose();\n }\n onOpenChange?.(open2);\n },\n caller: TOOLTIP_NAME\n });\n const stateAttribute = React.useMemo(() => {\n return open ? wasOpenDelayedRef.current ? \"delayed-open\" : \"instant-open\" : \"closed\";\n }, [open]);\n const handleOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n wasOpenDelayedRef.current = false;\n setOpen(true);\n }, [setOpen]);\n const handleClose = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n setOpen(false);\n }, [setOpen]);\n const handleDelayedOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = window.setTimeout(() => {\n wasOpenDelayedRef.current = true;\n setOpen(true);\n openTimerRef.current = 0;\n }, delayDuration);\n }, [delayDuration, setOpen]);\n React.useEffect(() => {\n return () => {\n if (openTimerRef.current) {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n };\n }, []);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n TooltipContextProvider,\n {\n scope: __scopeTooltip,\n contentId,\n open,\n stateAttribute,\n trigger,\n onTriggerChange: setTrigger,\n onTriggerEnter: React.useCallback(() => {\n if (providerContext.isOpenDelayedRef.current) handleDelayedOpen();\n else handleOpen();\n }, [providerContext.isOpenDelayedRef, handleDelayedOpen, handleOpen]),\n onTriggerLeave: React.useCallback(() => {\n if (disableHoverableContent) {\n handleClose();\n } else {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n }, [handleClose, disableHoverableContent]),\n onOpen: handleOpen,\n onClose: handleClose,\n disableHoverableContent,\n children\n }\n ) });\n};\nTooltip.displayName = TOOLTIP_NAME;\nvar TRIGGER_NAME = \"TooltipTrigger\";\nvar TooltipTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...triggerProps } = props;\n const context = useTooltipContext(TRIGGER_NAME, __scopeTooltip);\n const providerContext = useTooltipProviderContext(TRIGGER_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref, context.onTriggerChange);\n const isPointerDownRef = React.useRef(false);\n const hasPointerMoveOpenedRef = React.useRef(false);\n const handlePointerUp = React.useCallback(() => isPointerDownRef.current = false, []);\n React.useEffect(() => {\n return () => document.removeEventListener(\"pointerup\", handlePointerUp);\n }, [handlePointerUp]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n \"aria-describedby\": context.open ? context.contentId : void 0,\n \"data-state\": context.stateAttribute,\n ...triggerProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(props.onPointerMove, (event) => {\n if (event.pointerType === \"touch\") return;\n if (!hasPointerMoveOpenedRef.current && !providerContext.isPointerInTransitRef.current) {\n context.onTriggerEnter();\n hasPointerMoveOpenedRef.current = true;\n }\n }),\n onPointerLeave: composeEventHandlers(props.onPointerLeave, () => {\n context.onTriggerLeave();\n hasPointerMoveOpenedRef.current = false;\n }),\n onPointerDown: composeEventHandlers(props.onPointerDown, () => {\n if (context.open) {\n context.onClose();\n }\n isPointerDownRef.current = true;\n document.addEventListener(\"pointerup\", handlePointerUp, { once: true });\n }),\n onFocus: composeEventHandlers(props.onFocus, () => {\n if (!isPointerDownRef.current) context.onOpen();\n }),\n onBlur: composeEventHandlers(props.onBlur, context.onClose),\n onClick: composeEventHandlers(props.onClick, context.onClose)\n }\n ) });\n }\n);\nTooltipTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"TooltipPortal\";\nvar [PortalProvider, usePortalContext] = createTooltipContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar TooltipPortal = (props) => {\n const { __scopeTooltip, forceMount, children, container } = props;\n const context = useTooltipContext(PORTAL_NAME, __scopeTooltip);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nTooltipPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"TooltipContent\";\nvar TooltipContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeTooltip);\n const { forceMount = portalContext.forceMount, side = \"top\", ...contentProps } = props;\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.disableHoverableContent ? /* @__PURE__ */ jsx(TooltipContentImpl, { side, ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(TooltipContentHoverable, { side, ...contentProps, ref: forwardedRef }) });\n }\n);\nvar TooltipContentHoverable = React.forwardRef((props, forwardedRef) => {\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n const providerContext = useTooltipProviderContext(CONTENT_NAME, props.__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [pointerGraceArea, setPointerGraceArea] = React.useState(null);\n const { trigger, onClose } = context;\n const content = ref.current;\n const { onPointerInTransitChange } = providerContext;\n const handleRemoveGraceArea = React.useCallback(() => {\n setPointerGraceArea(null);\n onPointerInTransitChange(false);\n }, [onPointerInTransitChange]);\n const handleCreateGraceArea = React.useCallback(\n (event, hoverTarget) => {\n const currentTarget = event.currentTarget;\n const exitPoint = { x: event.clientX, y: event.clientY };\n const exitSide = getExitSideFromRect(exitPoint, currentTarget.getBoundingClientRect());\n const paddedExitPoints = getPaddedExitPoints(exitPoint, exitSide);\n const hoverTargetPoints = getPointsFromRect(hoverTarget.getBoundingClientRect());\n const graceArea = getHull([...paddedExitPoints, ...hoverTargetPoints]);\n setPointerGraceArea(graceArea);\n onPointerInTransitChange(true);\n },\n [onPointerInTransitChange]\n );\n React.useEffect(() => {\n return () => handleRemoveGraceArea();\n }, [handleRemoveGraceArea]);\n React.useEffect(() => {\n if (trigger && content) {\n const handleTriggerLeave = (event) => handleCreateGraceArea(event, content);\n const handleContentLeave = (event) => handleCreateGraceArea(event, trigger);\n trigger.addEventListener(\"pointerleave\", handleTriggerLeave);\n content.addEventListener(\"pointerleave\", handleContentLeave);\n return () => {\n trigger.removeEventListener(\"pointerleave\", handleTriggerLeave);\n content.removeEventListener(\"pointerleave\", handleContentLeave);\n };\n }\n }, [trigger, content, handleCreateGraceArea, handleRemoveGraceArea]);\n React.useEffect(() => {\n if (pointerGraceArea) {\n const handleTrackPointerGrace = (event) => {\n const target = event.target;\n const pointerPosition = { x: event.clientX, y: event.clientY };\n const hasEnteredTarget = trigger?.contains(target) || content?.contains(target);\n const isPointerOutsideGraceArea = !isPointInPolygon(pointerPosition, pointerGraceArea);\n if (hasEnteredTarget) {\n handleRemoveGraceArea();\n } else if (isPointerOutsideGraceArea) {\n handleRemoveGraceArea();\n onClose();\n }\n };\n document.addEventListener(\"pointermove\", handleTrackPointerGrace);\n return () => document.removeEventListener(\"pointermove\", handleTrackPointerGrace);\n }\n }, [trigger, content, pointerGraceArea, onClose, handleRemoveGraceArea]);\n return /* @__PURE__ */ jsx(TooltipContentImpl, { ...props, ref: composedRefs });\n});\nvar [VisuallyHiddenContentContextProvider, useVisuallyHiddenContentContext] = createTooltipContext(TOOLTIP_NAME, { isInside: false });\nvar Slottable = createSlottable(\"TooltipContent\");\nvar TooltipContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeTooltip,\n children,\n \"aria-label\": ariaLabel,\n onEscapeKeyDown,\n onPointerDownOutside,\n ...contentProps\n } = props;\n const context = useTooltipContext(CONTENT_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const { onClose } = context;\n React.useEffect(() => {\n document.addEventListener(TOOLTIP_OPEN, onClose);\n return () => document.removeEventListener(TOOLTIP_OPEN, onClose);\n }, [onClose]);\n React.useEffect(() => {\n if (context.trigger) {\n const handleScroll = (event) => {\n const target = event.target;\n if (target?.contains(context.trigger)) onClose();\n };\n window.addEventListener(\"scroll\", handleScroll, { capture: true });\n return () => window.removeEventListener(\"scroll\", handleScroll, { capture: true });\n }\n }, [context.trigger, onClose]);\n return /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents: false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside: (event) => event.preventDefault(),\n onDismiss: onClose,\n children: /* @__PURE__ */ jsxs(\n PopperPrimitive.Content,\n {\n \"data-state\": context.stateAttribute,\n ...popperScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n ...contentProps.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-tooltip-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-tooltip-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-tooltip-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-tooltip-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-tooltip-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n },\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(VisuallyHiddenContentContextProvider, { scope: __scopeTooltip, isInside: true, children: /* @__PURE__ */ jsx(VisuallyHiddenPrimitive.Root, { id: context.contentId, role: \"tooltip\", children: ariaLabel || children }) })\n ]\n }\n )\n }\n );\n }\n);\nTooltipContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"TooltipArrow\";\nvar TooltipArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeTooltip);\n const visuallyHiddenContentContext = useVisuallyHiddenContentContext(\n ARROW_NAME,\n __scopeTooltip\n );\n return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nTooltipArrow.displayName = ARROW_NAME;\nfunction getExitSideFromRect(point, rect) {\n const top = Math.abs(rect.top - point.y);\n const bottom = Math.abs(rect.bottom - point.y);\n const right = Math.abs(rect.right - point.x);\n const left = Math.abs(rect.left - point.x);\n switch (Math.min(top, bottom, right, left)) {\n case left:\n return \"left\";\n case right:\n return \"right\";\n case top:\n return \"top\";\n case bottom:\n return \"bottom\";\n default:\n throw new Error(\"unreachable\");\n }\n}\nfunction getPaddedExitPoints(exitPoint, exitSide, padding = 5) {\n const paddedExitPoints = [];\n switch (exitSide) {\n case \"top\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y + padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"bottom\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y - padding }\n );\n break;\n case \"left\":\n paddedExitPoints.push(\n { x: exitPoint.x + padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"right\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x - padding, y: exitPoint.y + padding }\n );\n break;\n }\n return paddedExitPoints;\n}\nfunction getPointsFromRect(rect) {\n const { top, right, bottom, left } = rect;\n return [\n { x: left, y: top },\n { x: right, y: top },\n { x: right, y: bottom },\n { x: left, y: bottom }\n ];\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const ii = polygon[i];\n const jj = polygon[j];\n const xi = ii.x;\n const yi = ii.y;\n const xj = jj.x;\n const yj = jj.y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction getHull(points) {\n const newPoints = points.slice();\n newPoints.sort((a, b) => {\n if (a.x < b.x) return -1;\n else if (a.x > b.x) return 1;\n else if (a.y < b.y) return -1;\n else if (a.y > b.y) return 1;\n else return 0;\n });\n return getHullPresorted(newPoints);\n}\nfunction getHullPresorted(points) {\n if (points.length <= 1) return points.slice();\n const upperHull = [];\n for (let i = 0; i < points.length; i++) {\n const p = points[i];\n while (upperHull.length >= 2) {\n const q = upperHull[upperHull.length - 1];\n const r = upperHull[upperHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) upperHull.pop();\n else break;\n }\n upperHull.push(p);\n }\n upperHull.pop();\n const lowerHull = [];\n for (let i = points.length - 1; i >= 0; i--) {\n const p = points[i];\n while (lowerHull.length >= 2) {\n const q = lowerHull[lowerHull.length - 1];\n const r = lowerHull[lowerHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) lowerHull.pop();\n else break;\n }\n lowerHull.push(p);\n }\n lowerHull.pop();\n if (upperHull.length === 1 && lowerHull.length === 1 && upperHull[0].x === lowerHull[0].x && upperHull[0].y === lowerHull[0].y) {\n return upperHull;\n } else {\n return upperHull.concat(lowerHull);\n }\n}\nvar Provider = TooltipProvider;\nvar Root3 = Tooltip;\nvar Trigger = TooltipTrigger;\nvar Portal = TooltipPortal;\nvar Content2 = TooltipContent;\nvar Arrow2 = TooltipArrow;\nexport {\n Arrow2 as Arrow,\n Content2 as Content,\n Portal,\n Provider,\n Root3 as Root,\n Tooltip,\n TooltipArrow,\n TooltipContent,\n TooltipPortal,\n TooltipProvider,\n TooltipTrigger,\n Trigger,\n createTooltipScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createTooltipContext","createTooltipScope","createContextScope","createPopperScope","usePopperScope","PROVIDER_NAME","DEFAULT_DELAY_DURATION","TOOLTIP_OPEN","TooltipProviderContextProvider","useTooltipProviderContext","TooltipProvider","props","__scopeTooltip","delayDuration","skipDelayDuration","disableHoverableContent","children","isOpenDelayedRef","React","isPointerInTransitRef","skipDelayTimerRef","skipDelayTimer","jsx","inTransit","TOOLTIP_NAME","TooltipContextProvider","useTooltipContext","Tooltip","openProp","defaultOpen","onOpenChange","disableHoverableContentProp","delayDurationProp","providerContext","popperScope","trigger","setTrigger","contentId","useId","openTimerRef","wasOpenDelayedRef","open","setOpen","useControllableState","open2","stateAttribute","handleOpen","handleClose","handleDelayedOpen","PopperPrimitive.Root","TRIGGER_NAME","TooltipTrigger","forwardedRef","triggerProps","context","ref","composedRefs","useComposedRefs","isPointerDownRef","hasPointerMoveOpenedRef","handlePointerUp","PopperPrimitive.Anchor","Primitive","composeEventHandlers","event","PORTAL_NAME","PortalProvider","usePortalContext","TooltipPortal","forceMount","container","Presence","PortalPrimitive","CONTENT_NAME","TooltipContent","portalContext","side","contentProps","TooltipContentImpl","TooltipContentHoverable","pointerGraceArea","setPointerGraceArea","onClose","content","onPointerInTransitChange","handleRemoveGraceArea","handleCreateGraceArea","hoverTarget","currentTarget","exitPoint","exitSide","getExitSideFromRect","paddedExitPoints","getPaddedExitPoints","hoverTargetPoints","getPointsFromRect","graceArea","getHull","handleTriggerLeave","handleContentLeave","handleTrackPointerGrace","target","pointerPosition","hasEnteredTarget","isPointerOutsideGraceArea","isPointInPolygon","VisuallyHiddenContentContextProvider","useVisuallyHiddenContentContext","Slottable","createSlottable","ariaLabel","onEscapeKeyDown","onPointerDownOutside","handleScroll","DismissableLayer","jsxs","PopperPrimitive.Content","VisuallyHiddenPrimitive.Root","ARROW_NAME","TooltipArrow","arrowProps","PopperPrimitive.Arrow","point","rect","top","bottom","right","left","padding","polygon","x","y","inside","i","j","ii","jj","xi","yi","xj","yj","points","newPoints","a","b","getHullPresorted","upperHull","p","q","r","lowerHull","Provider","Root3","Trigger","Portal","Content2","Arrow2"],"mappings":"kgCAkBG,GAAC,CAACA,EAAsBC,EAAkB,EAAIC,EAAAA,mBAAmB,UAAW,CAC7EC,EAAAA,iBACF,CAAC,EACGC,EAAiBD,EAAAA,kBAAiB,EAClCE,EAAgB,kBAChBC,GAAyB,IACzBC,EAAe,eACf,CAACC,GAAgCC,CAAyB,EAAIT,EAAqBK,CAAa,EAChGK,EAAmBC,GAAU,CAC/B,KAAM,CACJ,eAAAC,EACA,cAAAC,EAAgBP,GAChB,kBAAAQ,EAAoB,IACpB,wBAAAC,EAA0B,GAC1B,SAAAC,CACJ,EAAML,EACEM,EAAmBC,EAAM,OAAO,EAAI,EACpCC,EAAwBD,EAAM,OAAO,EAAK,EAC1CE,EAAoBF,EAAM,OAAO,CAAC,EACxCA,OAAAA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tG,EACVuG,GAAStF,EACTuF,GAAWjF,EACXkF,GAASrC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/@radix-ui/react-tooltip/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/tooltip.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport * as VisuallyHiddenPrimitive from \"@radix-ui/react-visually-hidden\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar [createTooltipContext, createTooltipScope] = createContextScope(\"Tooltip\", [\n createPopperScope\n]);\nvar usePopperScope = createPopperScope();\nvar PROVIDER_NAME = \"TooltipProvider\";\nvar DEFAULT_DELAY_DURATION = 700;\nvar TOOLTIP_OPEN = \"tooltip.open\";\nvar [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME);\nvar TooltipProvider = (props) => {\n const {\n __scopeTooltip,\n delayDuration = DEFAULT_DELAY_DURATION,\n skipDelayDuration = 300,\n disableHoverableContent = false,\n children\n } = props;\n const isOpenDelayedRef = React.useRef(true);\n const isPointerInTransitRef = React.useRef(false);\n const skipDelayTimerRef = React.useRef(0);\n React.useEffect(() => {\n const skipDelayTimer = skipDelayTimerRef.current;\n return () => window.clearTimeout(skipDelayTimer);\n }, []);\n return /* @__PURE__ */ jsx(\n TooltipProviderContextProvider,\n {\n scope: __scopeTooltip,\n isOpenDelayedRef,\n delayDuration,\n onOpen: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n isOpenDelayedRef.current = false;\n }, []),\n onClose: React.useCallback(() => {\n window.clearTimeout(skipDelayTimerRef.current);\n skipDelayTimerRef.current = window.setTimeout(\n () => isOpenDelayedRef.current = true,\n skipDelayDuration\n );\n }, [skipDelayDuration]),\n isPointerInTransitRef,\n onPointerInTransitChange: React.useCallback((inTransit) => {\n isPointerInTransitRef.current = inTransit;\n }, []),\n disableHoverableContent,\n children\n }\n );\n};\nTooltipProvider.displayName = PROVIDER_NAME;\nvar TOOLTIP_NAME = \"Tooltip\";\nvar [TooltipContextProvider, useTooltipContext] = createTooltipContext(TOOLTIP_NAME);\nvar Tooltip = (props) => {\n const {\n __scopeTooltip,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n disableHoverableContent: disableHoverableContentProp,\n delayDuration: delayDurationProp\n } = props;\n const providerContext = useTooltipProviderContext(TOOLTIP_NAME, props.__scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const [trigger, setTrigger] = React.useState(null);\n const contentId = useId();\n const openTimerRef = React.useRef(0);\n const disableHoverableContent = disableHoverableContentProp ?? providerContext.disableHoverableContent;\n const delayDuration = delayDurationProp ?? providerContext.delayDuration;\n const wasOpenDelayedRef = React.useRef(false);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: (open2) => {\n if (open2) {\n providerContext.onOpen();\n document.dispatchEvent(new CustomEvent(TOOLTIP_OPEN));\n } else {\n providerContext.onClose();\n }\n onOpenChange?.(open2);\n },\n caller: TOOLTIP_NAME\n });\n const stateAttribute = React.useMemo(() => {\n return open ? wasOpenDelayedRef.current ? \"delayed-open\" : \"instant-open\" : \"closed\";\n }, [open]);\n const handleOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n wasOpenDelayedRef.current = false;\n setOpen(true);\n }, [setOpen]);\n const handleClose = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n setOpen(false);\n }, [setOpen]);\n const handleDelayedOpen = React.useCallback(() => {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = window.setTimeout(() => {\n wasOpenDelayedRef.current = true;\n setOpen(true);\n openTimerRef.current = 0;\n }, delayDuration);\n }, [delayDuration, setOpen]);\n React.useEffect(() => {\n return () => {\n if (openTimerRef.current) {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n };\n }, []);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n TooltipContextProvider,\n {\n scope: __scopeTooltip,\n contentId,\n open,\n stateAttribute,\n trigger,\n onTriggerChange: setTrigger,\n onTriggerEnter: React.useCallback(() => {\n if (providerContext.isOpenDelayedRef.current) handleDelayedOpen();\n else handleOpen();\n }, [providerContext.isOpenDelayedRef, handleDelayedOpen, handleOpen]),\n onTriggerLeave: React.useCallback(() => {\n if (disableHoverableContent) {\n handleClose();\n } else {\n window.clearTimeout(openTimerRef.current);\n openTimerRef.current = 0;\n }\n }, [handleClose, disableHoverableContent]),\n onOpen: handleOpen,\n onClose: handleClose,\n disableHoverableContent,\n children\n }\n ) });\n};\nTooltip.displayName = TOOLTIP_NAME;\nvar TRIGGER_NAME = \"TooltipTrigger\";\nvar TooltipTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...triggerProps } = props;\n const context = useTooltipContext(TRIGGER_NAME, __scopeTooltip);\n const providerContext = useTooltipProviderContext(TRIGGER_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref, context.onTriggerChange);\n const isPointerDownRef = React.useRef(false);\n const hasPointerMoveOpenedRef = React.useRef(false);\n const handlePointerUp = React.useCallback(() => isPointerDownRef.current = false, []);\n React.useEffect(() => {\n return () => document.removeEventListener(\"pointerup\", handlePointerUp);\n }, [handlePointerUp]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n \"aria-describedby\": context.open ? context.contentId : void 0,\n \"data-state\": context.stateAttribute,\n ...triggerProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(props.onPointerMove, (event) => {\n if (event.pointerType === \"touch\") return;\n if (!hasPointerMoveOpenedRef.current && !providerContext.isPointerInTransitRef.current) {\n context.onTriggerEnter();\n hasPointerMoveOpenedRef.current = true;\n }\n }),\n onPointerLeave: composeEventHandlers(props.onPointerLeave, () => {\n context.onTriggerLeave();\n hasPointerMoveOpenedRef.current = false;\n }),\n onPointerDown: composeEventHandlers(props.onPointerDown, () => {\n if (context.open) {\n context.onClose();\n }\n isPointerDownRef.current = true;\n document.addEventListener(\"pointerup\", handlePointerUp, { once: true });\n }),\n onFocus: composeEventHandlers(props.onFocus, () => {\n if (!isPointerDownRef.current) context.onOpen();\n }),\n onBlur: composeEventHandlers(props.onBlur, context.onClose),\n onClick: composeEventHandlers(props.onClick, context.onClose)\n }\n ) });\n }\n);\nTooltipTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"TooltipPortal\";\nvar [PortalProvider, usePortalContext] = createTooltipContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar TooltipPortal = (props) => {\n const { __scopeTooltip, forceMount, children, container } = props;\n const context = useTooltipContext(PORTAL_NAME, __scopeTooltip);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeTooltip, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nTooltipPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"TooltipContent\";\nvar TooltipContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeTooltip);\n const { forceMount = portalContext.forceMount, side = \"top\", ...contentProps } = props;\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.disableHoverableContent ? /* @__PURE__ */ jsx(TooltipContentImpl, { side, ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(TooltipContentHoverable, { side, ...contentProps, ref: forwardedRef }) });\n }\n);\nvar TooltipContentHoverable = React.forwardRef((props, forwardedRef) => {\n const context = useTooltipContext(CONTENT_NAME, props.__scopeTooltip);\n const providerContext = useTooltipProviderContext(CONTENT_NAME, props.__scopeTooltip);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [pointerGraceArea, setPointerGraceArea] = React.useState(null);\n const { trigger, onClose } = context;\n const content = ref.current;\n const { onPointerInTransitChange } = providerContext;\n const handleRemoveGraceArea = React.useCallback(() => {\n setPointerGraceArea(null);\n onPointerInTransitChange(false);\n }, [onPointerInTransitChange]);\n const handleCreateGraceArea = React.useCallback(\n (event, hoverTarget) => {\n const currentTarget = event.currentTarget;\n const exitPoint = { x: event.clientX, y: event.clientY };\n const exitSide = getExitSideFromRect(exitPoint, currentTarget.getBoundingClientRect());\n const paddedExitPoints = getPaddedExitPoints(exitPoint, exitSide);\n const hoverTargetPoints = getPointsFromRect(hoverTarget.getBoundingClientRect());\n const graceArea = getHull([...paddedExitPoints, ...hoverTargetPoints]);\n setPointerGraceArea(graceArea);\n onPointerInTransitChange(true);\n },\n [onPointerInTransitChange]\n );\n React.useEffect(() => {\n return () => handleRemoveGraceArea();\n }, [handleRemoveGraceArea]);\n React.useEffect(() => {\n if (trigger && content) {\n const handleTriggerLeave = (event) => handleCreateGraceArea(event, content);\n const handleContentLeave = (event) => handleCreateGraceArea(event, trigger);\n trigger.addEventListener(\"pointerleave\", handleTriggerLeave);\n content.addEventListener(\"pointerleave\", handleContentLeave);\n return () => {\n trigger.removeEventListener(\"pointerleave\", handleTriggerLeave);\n content.removeEventListener(\"pointerleave\", handleContentLeave);\n };\n }\n }, [trigger, content, handleCreateGraceArea, handleRemoveGraceArea]);\n React.useEffect(() => {\n if (pointerGraceArea) {\n const handleTrackPointerGrace = (event) => {\n const target = event.target;\n const pointerPosition = { x: event.clientX, y: event.clientY };\n const hasEnteredTarget = trigger?.contains(target) || content?.contains(target);\n const isPointerOutsideGraceArea = !isPointInPolygon(pointerPosition, pointerGraceArea);\n if (hasEnteredTarget) {\n handleRemoveGraceArea();\n } else if (isPointerOutsideGraceArea) {\n handleRemoveGraceArea();\n onClose();\n }\n };\n document.addEventListener(\"pointermove\", handleTrackPointerGrace);\n return () => document.removeEventListener(\"pointermove\", handleTrackPointerGrace);\n }\n }, [trigger, content, pointerGraceArea, onClose, handleRemoveGraceArea]);\n return /* @__PURE__ */ jsx(TooltipContentImpl, { ...props, ref: composedRefs });\n});\nvar [VisuallyHiddenContentContextProvider, useVisuallyHiddenContentContext] = createTooltipContext(TOOLTIP_NAME, { isInside: false });\nvar Slottable = createSlottable(\"TooltipContent\");\nvar TooltipContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeTooltip,\n children,\n \"aria-label\": ariaLabel,\n onEscapeKeyDown,\n onPointerDownOutside,\n ...contentProps\n } = props;\n const context = useTooltipContext(CONTENT_NAME, __scopeTooltip);\n const popperScope = usePopperScope(__scopeTooltip);\n const { onClose } = context;\n React.useEffect(() => {\n document.addEventListener(TOOLTIP_OPEN, onClose);\n return () => document.removeEventListener(TOOLTIP_OPEN, onClose);\n }, [onClose]);\n React.useEffect(() => {\n if (context.trigger) {\n const handleScroll = (event) => {\n const target = event.target;\n if (target?.contains(context.trigger)) onClose();\n };\n window.addEventListener(\"scroll\", handleScroll, { capture: true });\n return () => window.removeEventListener(\"scroll\", handleScroll, { capture: true });\n }\n }, [context.trigger, onClose]);\n return /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents: false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside: (event) => event.preventDefault(),\n onDismiss: onClose,\n children: /* @__PURE__ */ jsxs(\n PopperPrimitive.Content,\n {\n \"data-state\": context.stateAttribute,\n ...popperScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n ...contentProps.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-tooltip-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-tooltip-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-tooltip-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-tooltip-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-tooltip-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n },\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(VisuallyHiddenContentContextProvider, { scope: __scopeTooltip, isInside: true, children: /* @__PURE__ */ jsx(VisuallyHiddenPrimitive.Root, { id: context.contentId, role: \"tooltip\", children: ariaLabel || children }) })\n ]\n }\n )\n }\n );\n }\n);\nTooltipContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"TooltipArrow\";\nvar TooltipArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeTooltip, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeTooltip);\n const visuallyHiddenContentContext = useVisuallyHiddenContentContext(\n ARROW_NAME,\n __scopeTooltip\n );\n return visuallyHiddenContentContext.isInside ? null : /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nTooltipArrow.displayName = ARROW_NAME;\nfunction getExitSideFromRect(point, rect) {\n const top = Math.abs(rect.top - point.y);\n const bottom = Math.abs(rect.bottom - point.y);\n const right = Math.abs(rect.right - point.x);\n const left = Math.abs(rect.left - point.x);\n switch (Math.min(top, bottom, right, left)) {\n case left:\n return \"left\";\n case right:\n return \"right\";\n case top:\n return \"top\";\n case bottom:\n return \"bottom\";\n default:\n throw new Error(\"unreachable\");\n }\n}\nfunction getPaddedExitPoints(exitPoint, exitSide, padding = 5) {\n const paddedExitPoints = [];\n switch (exitSide) {\n case \"top\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y + padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"bottom\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y - padding }\n );\n break;\n case \"left\":\n paddedExitPoints.push(\n { x: exitPoint.x + padding, y: exitPoint.y - padding },\n { x: exitPoint.x + padding, y: exitPoint.y + padding }\n );\n break;\n case \"right\":\n paddedExitPoints.push(\n { x: exitPoint.x - padding, y: exitPoint.y - padding },\n { x: exitPoint.x - padding, y: exitPoint.y + padding }\n );\n break;\n }\n return paddedExitPoints;\n}\nfunction getPointsFromRect(rect) {\n const { top, right, bottom, left } = rect;\n return [\n { x: left, y: top },\n { x: right, y: top },\n { x: right, y: bottom },\n { x: left, y: bottom }\n ];\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const ii = polygon[i];\n const jj = polygon[j];\n const xi = ii.x;\n const yi = ii.y;\n const xj = jj.x;\n const yj = jj.y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction getHull(points) {\n const newPoints = points.slice();\n newPoints.sort((a, b) => {\n if (a.x < b.x) return -1;\n else if (a.x > b.x) return 1;\n else if (a.y < b.y) return -1;\n else if (a.y > b.y) return 1;\n else return 0;\n });\n return getHullPresorted(newPoints);\n}\nfunction getHullPresorted(points) {\n if (points.length <= 1) return points.slice();\n const upperHull = [];\n for (let i = 0; i < points.length; i++) {\n const p = points[i];\n while (upperHull.length >= 2) {\n const q = upperHull[upperHull.length - 1];\n const r = upperHull[upperHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) upperHull.pop();\n else break;\n }\n upperHull.push(p);\n }\n upperHull.pop();\n const lowerHull = [];\n for (let i = points.length - 1; i >= 0; i--) {\n const p = points[i];\n while (lowerHull.length >= 2) {\n const q = lowerHull[lowerHull.length - 1];\n const r = lowerHull[lowerHull.length - 2];\n if ((q.x - r.x) * (p.y - r.y) >= (q.y - r.y) * (p.x - r.x)) lowerHull.pop();\n else break;\n }\n lowerHull.push(p);\n }\n lowerHull.pop();\n if (upperHull.length === 1 && lowerHull.length === 1 && upperHull[0].x === lowerHull[0].x && upperHull[0].y === lowerHull[0].y) {\n return upperHull;\n } else {\n return upperHull.concat(lowerHull);\n }\n}\nvar Provider = TooltipProvider;\nvar Root3 = Tooltip;\nvar Trigger = TooltipTrigger;\nvar Portal = TooltipPortal;\nvar Content2 = TooltipContent;\nvar Arrow2 = TooltipArrow;\nexport {\n Arrow2 as Arrow,\n Content2 as Content,\n Portal,\n Provider,\n Root3 as Root,\n Tooltip,\n TooltipArrow,\n TooltipContent,\n TooltipPortal,\n TooltipProvider,\n TooltipTrigger,\n Trigger,\n createTooltipScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createTooltipContext","createTooltipScope","createContextScope","createPopperScope","usePopperScope","PROVIDER_NAME","DEFAULT_DELAY_DURATION","TOOLTIP_OPEN","TooltipProviderContextProvider","useTooltipProviderContext","TooltipProvider","props","__scopeTooltip","delayDuration","skipDelayDuration","disableHoverableContent","children","isOpenDelayedRef","React","isPointerInTransitRef","skipDelayTimerRef","skipDelayTimer","jsx","inTransit","TOOLTIP_NAME","TooltipContextProvider","useTooltipContext","Tooltip","openProp","defaultOpen","onOpenChange","disableHoverableContentProp","delayDurationProp","providerContext","popperScope","trigger","setTrigger","contentId","useId","openTimerRef","wasOpenDelayedRef","open","setOpen","useControllableState","open2","stateAttribute","handleOpen","handleClose","handleDelayedOpen","PopperPrimitive.Root","TRIGGER_NAME","TooltipTrigger","forwardedRef","triggerProps","context","ref","composedRefs","useComposedRefs","isPointerDownRef","hasPointerMoveOpenedRef","handlePointerUp","PopperPrimitive.Anchor","Primitive","composeEventHandlers","event","PORTAL_NAME","PortalProvider","usePortalContext","TooltipPortal","forceMount","container","Presence","PortalPrimitive","CONTENT_NAME","TooltipContent","portalContext","side","contentProps","TooltipContentImpl","TooltipContentHoverable","pointerGraceArea","setPointerGraceArea","onClose","content","onPointerInTransitChange","handleRemoveGraceArea","handleCreateGraceArea","hoverTarget","currentTarget","exitPoint","exitSide","getExitSideFromRect","paddedExitPoints","getPaddedExitPoints","hoverTargetPoints","getPointsFromRect","graceArea","getHull","handleTriggerLeave","handleContentLeave","handleTrackPointerGrace","target","pointerPosition","hasEnteredTarget","isPointerOutsideGraceArea","isPointInPolygon","VisuallyHiddenContentContextProvider","useVisuallyHiddenContentContext","Slottable","createSlottable","ariaLabel","onEscapeKeyDown","onPointerDownOutside","handleScroll","DismissableLayer","jsxs","PopperPrimitive.Content","VisuallyHiddenPrimitive.Root","ARROW_NAME","TooltipArrow","arrowProps","PopperPrimitive.Arrow","point","rect","top","bottom","right","left","padding","polygon","x","y","inside","i","j","ii","jj","xi","yi","xj","yj","points","newPoints","a","b","getHullPresorted","upperHull","p","q","r","lowerHull","Provider","Root3","Trigger","Portal","Content2","Arrow2"],"mappings":"shCAkBG,GAAC,CAACA,EAAsBC,EAAkB,EAAIC,EAAAA,mBAAmB,UAAW,CAC7EC,EAAAA,iBACF,CAAC,EACGC,EAAiBD,EAAAA,kBAAiB,EAClCE,EAAgB,kBAChBC,GAAyB,IACzBC,EAAe,eACf,CAACC,GAAgCC,CAAyB,EAAIT,EAAqBK,CAAa,EAChGK,EAAmBC,GAAU,CAC/B,KAAM,CACJ,eAAAC,EACA,cAAAC,EAAgBP,GAChB,kBAAAQ,EAAoB,IACpB,wBAAAC,EAA0B,GAC1B,SAAAC,CACJ,EAAML,EACEM,EAAmBC,EAAM,OAAO,EAAI,EACpCC,EAAwBD,EAAM,OAAO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,CAErC,CACG,IAACC,GAAW7I,EACX8I,GAAQ7H,EACR8H,GAAUtG,EACVuG,GAAStF,EACTuF,GAAWjF,EACXkF,GAASrC","x_google_ignoreList":[0]}
@@ -8,7 +8,7 @@ import { createPopperScope as S, Arrow as J, Content as Q, Root as Z, Anchor as
8
8
  import { Portal as te } from "../../react-portal/dist/index.es.js";
9
9
  import { Presence as G } from "../../react-presence/dist/index.es.js";
10
10
  import { Primitive as oe } from "../../react-primitive/dist/index.es.js";
11
- import { createSlottable as re } from "../../react-slot/dist/index.es.js";
11
+ import { createSlottable as re } from "../node_modules/@radix-ui/react-slot/dist/index.es.js";
12
12
  import { useControllableState as ne } from "../../react-use-controllable-state/dist/index.es.js";
13
13
  import { Root as se } from "../../react-visually-hidden/dist/index.es.js";
14
14
  import { jsx as f, jsxs as ae } from "react/jsx-runtime";
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react");const t=require("react/jsx-runtime");var l=Symbol("radix.slottable");function o(r){const e=({children:a})=>t.jsx(t.Fragment,{children:a});return e.displayName=`${r}.Slottable`,e.__radixId=l,e}exports.createSlottable=o;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../../../node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2"],"mappings":"sIA8CA,IAAIA,EAAuB,OAAO,iBAAiB,EAEnD,SAASC,EAAgBC,EAAW,CAClC,MAAMC,EAAa,CAAC,CAAE,SAAAC,KACGC,MAAIC,EAAAA,SAAW,CAAE,SAAAF,EAAU,EAEpD,OAAAD,EAAW,YAAc,GAAGD,CAAS,aACrCC,EAAW,UAAYH,EAChBG,CACT","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ import "react";
2
+ import { jsx as e, Fragment as o } from "react/jsx-runtime";
3
+ var l = Symbol("radix.slottable");
4
+ // @__NO_SIDE_EFFECTS__
5
+ function n(r) {
6
+ const t = ({ children: a }) => /* @__PURE__ */ e(o, { children: a });
7
+ return t.displayName = `${r}.Slottable`, t.__radixId = l, t;
8
+ }
9
+ export {
10
+ n as createSlottable
11
+ };
12
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../../../../../../../../node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2"],"mappings":";;AA8CA,IAAIA,IAAuB,OAAO,iBAAiB;AAAA;AAEnD,SAASC,EAAgBC,GAAW;AAClC,QAAMC,IAAa,CAAC,EAAE,UAAAC,QACG,gBAAAC,EAAIC,GAAW,EAAE,UAAAF,GAAU;AAEpD,SAAAD,EAAW,cAAc,GAAGD,CAAS,cACrCC,EAAW,YAAYH,GAChBG;AACT;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../_virtual/index8.cjs");/*!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../_virtual/index9.cjs");/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
@@ -1,4 +1,4 @@
1
- import { __module as s } from "../../_virtual/index.es8.js";
1
+ import { __module as s } from "../../_virtual/index.es9.js";
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("../../comma-separated-tokens/index.cjs"),u=require("../../devlop/lib/default.cjs"),f=require("../../property-information/index.cjs"),C=require("../../space-separated-tokens/index.cjs"),S=require("../../../_virtual/index6.cjs"),N=require("../../hast-util-whitespace/lib/index.cjs"),x=require("../../estree-util-is-identifier-name/lib/index.cjs"),h=require("../../vfile-message/lib/index.cjs"),j=require("../../property-information/lib/find.cjs"),A=require("../../property-information/lib/hast-to-react.cjs"),T=require("../../unist-util-position/lib/index.cjs"),m={}.hasOwnProperty,F=new Map,P=/[A-Z]/g,q=new Set(["table","tbody","thead","tfoot","tr"]),J=new Set(["td","th"]),g="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function M(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=e.filePath||void 0;let n;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=K(r,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=k(r,e.jsx,e.jsxs)}const s={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:n,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?f.svg:f.html,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},i=E(s,t,void 0);return i&&typeof i!="string"?i:s.create(t,s.Fragment,{children:i||void 0},void 0)}function E(t,e,r){if(e.type==="element")return I(t,e,r);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return L(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return V(t,e,r);if(e.type==="mdxjsEsm")return $(t,e);if(e.type==="root")return D(t,e,r);if(e.type==="text")return O(t,e)}function I(t,e,r){const n=t.schema;let s=n;e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(s=f.svg,t.schema=s),t.ancestors.push(e);const i=b(t,e.tagName,!1),a=R(t,e);let o=d(t,e);return q.has(e.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!N.whitespace(l):!0})),v(t,a,i,e),y(a,o),t.ancestors.pop(),t.schema=n,t.create(e,i,a,r)}function L(t,e){if(e.data&&e.data.estree&&t.evaluater){const n=e.data.estree.body[0];return u.ok(n.type==="ExpressionStatement"),t.evaluater.evaluateExpression(n.expression)}p(t,e.position)}function $(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);p(t,e.position)}function V(t,e,r){const n=t.schema;let s=n;e.name==="svg"&&n.space==="html"&&(s=f.svg,t.schema=s),t.ancestors.push(e);const i=e.name===null?t.Fragment:b(t,e.name,!0),a=_(t,e),o=d(t,e);return v(t,a,i,e),y(a,o),t.ancestors.pop(),t.schema=n,t.create(e,i,a,r)}function D(t,e,r){const n={};return y(n,d(t,e)),t.create(e,t.Fragment,n,r)}function O(t,e){return e.value}function v(t,e,r,n){typeof r!="string"&&r!==t.Fragment&&t.passNode&&(e.node=n)}function y(t,e){if(e.length>0){const r=e.length>1?e:e[0];r&&(t.children=r)}}function k(t,e,r){return n;function n(s,i,a,o){const c=Array.isArray(a.children)?r:e;return o?c(i,a,o):c(i,a)}}function K(t,e){return r;function r(n,s,i,a){const o=Array.isArray(i.children),l=T.pointStart(n);return e(s,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:t,lineNumber:l?l.line:void 0},void 0)}}function R(t,e){const r={};let n,s;for(s in e.properties)if(s!=="children"&&m.call(e.properties,s)){const i=B(t,s,e.properties[s]);if(i){const[a,o]=i;t.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&J.has(e.tagName)?n=o:r[a]=o}}if(n){const i=r.style||(r.style={});i[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function _(t,e){const r={};for(const n of e.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&t.evaluater){const i=n.data.estree.body[0];u.ok(i.type==="ExpressionStatement");const a=i.expression;u.ok(a.type==="ObjectExpression");const o=a.properties[0];u.ok(o.type==="SpreadElement"),Object.assign(r,t.evaluater.evaluateExpression(o.argument))}else p(t,e.position);else{const s=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&t.evaluater){const o=n.value.data.estree.body[0];u.ok(o.type==="ExpressionStatement"),i=t.evaluater.evaluateExpression(o.expression)}else p(t,e.position);else i=n.value===null?!0:n.value;r[s]=i}return r}function d(t,e){const r=[];let n=-1;const s=t.passKeys?new Map:F;for(;++n<e.children.length;){const i=e.children[n];let a;if(t.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=s.get(l)||0;a=l+"-"+c,s.set(l,c+1)}}const o=E(t,i,a);o!==void 0&&r.push(o)}return r}function B(t,e,r){const n=j.find(t.schema,e);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?w.stringify(r):C.stringify(r)),n.property==="style"){let s=typeof r=="object"?r:z(t,String(r));return t.stylePropertyNameCase==="css"&&(s=X(s)),["style",s]}return[t.elementAttributeNameCase==="react"&&n.space?A.hastToReact[n.property]||n.property:n.attribute,r]}}function z(t,e){try{return S.default(e,{reactCompat:!0})}catch(r){if(t.ignoreInvalidStyle)return{};const n=r,s=new h.VFileMessage("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=t.filePath||void 0,s.url=g+"#cannot-parse-style-attribute",s}}function b(t,e,r){let n;if(!r)n={type:"Literal",value:e};else if(e.includes(".")){const s=e.split(".");let i=-1,a;for(;++i<s.length;){const o=x.name(s[i])?{type:"Identifier",name:s[i]}:{type:"Literal",value:s[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}n=a}else n=x.name(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(n.type==="Literal"){const s=n.value;return m.call(t.components,s)?t.components[s]:s}if(t.evaluater)return t.evaluater.evaluateExpression(n);p(t)}function p(t,e){const r=new h.VFileMessage("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=t.filePath||void 0,r.url=g+"#cannot-handle-mdx-estrees-without-createevaluater",r}function X(t){const e={};let r;for(r in t)m.call(t,r)&&(e[Z(r)]=t[r]);return e}function Z(t){let e=t.replace(P,G);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function G(t){return"-"+t.toLowerCase()}exports.toJsxRuntime=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("../../comma-separated-tokens/index.cjs"),u=require("../../devlop/lib/default.cjs"),f=require("../../property-information/index.cjs"),C=require("../../space-separated-tokens/index.cjs"),S=require("../../../_virtual/index7.cjs"),N=require("../../hast-util-whitespace/lib/index.cjs"),x=require("../../estree-util-is-identifier-name/lib/index.cjs"),h=require("../../vfile-message/lib/index.cjs"),j=require("../../property-information/lib/find.cjs"),A=require("../../property-information/lib/hast-to-react.cjs"),T=require("../../unist-util-position/lib/index.cjs"),m={}.hasOwnProperty,F=new Map,P=/[A-Z]/g,q=new Set(["table","tbody","thead","tfoot","tr"]),J=new Set(["td","th"]),g="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function M(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=e.filePath||void 0;let n;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=K(r,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=k(r,e.jsx,e.jsxs)}const s={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:n,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?f.svg:f.html,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},i=E(s,t,void 0);return i&&typeof i!="string"?i:s.create(t,s.Fragment,{children:i||void 0},void 0)}function E(t,e,r){if(e.type==="element")return I(t,e,r);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return L(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return V(t,e,r);if(e.type==="mdxjsEsm")return $(t,e);if(e.type==="root")return D(t,e,r);if(e.type==="text")return O(t,e)}function I(t,e,r){const n=t.schema;let s=n;e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(s=f.svg,t.schema=s),t.ancestors.push(e);const i=b(t,e.tagName,!1),a=R(t,e);let o=d(t,e);return q.has(e.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!N.whitespace(l):!0})),v(t,a,i,e),y(a,o),t.ancestors.pop(),t.schema=n,t.create(e,i,a,r)}function L(t,e){if(e.data&&e.data.estree&&t.evaluater){const n=e.data.estree.body[0];return u.ok(n.type==="ExpressionStatement"),t.evaluater.evaluateExpression(n.expression)}p(t,e.position)}function $(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);p(t,e.position)}function V(t,e,r){const n=t.schema;let s=n;e.name==="svg"&&n.space==="html"&&(s=f.svg,t.schema=s),t.ancestors.push(e);const i=e.name===null?t.Fragment:b(t,e.name,!0),a=_(t,e),o=d(t,e);return v(t,a,i,e),y(a,o),t.ancestors.pop(),t.schema=n,t.create(e,i,a,r)}function D(t,e,r){const n={};return y(n,d(t,e)),t.create(e,t.Fragment,n,r)}function O(t,e){return e.value}function v(t,e,r,n){typeof r!="string"&&r!==t.Fragment&&t.passNode&&(e.node=n)}function y(t,e){if(e.length>0){const r=e.length>1?e:e[0];r&&(t.children=r)}}function k(t,e,r){return n;function n(s,i,a,o){const c=Array.isArray(a.children)?r:e;return o?c(i,a,o):c(i,a)}}function K(t,e){return r;function r(n,s,i,a){const o=Array.isArray(i.children),l=T.pointStart(n);return e(s,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:t,lineNumber:l?l.line:void 0},void 0)}}function R(t,e){const r={};let n,s;for(s in e.properties)if(s!=="children"&&m.call(e.properties,s)){const i=B(t,s,e.properties[s]);if(i){const[a,o]=i;t.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&J.has(e.tagName)?n=o:r[a]=o}}if(n){const i=r.style||(r.style={});i[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function _(t,e){const r={};for(const n of e.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&t.evaluater){const i=n.data.estree.body[0];u.ok(i.type==="ExpressionStatement");const a=i.expression;u.ok(a.type==="ObjectExpression");const o=a.properties[0];u.ok(o.type==="SpreadElement"),Object.assign(r,t.evaluater.evaluateExpression(o.argument))}else p(t,e.position);else{const s=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&t.evaluater){const o=n.value.data.estree.body[0];u.ok(o.type==="ExpressionStatement"),i=t.evaluater.evaluateExpression(o.expression)}else p(t,e.position);else i=n.value===null?!0:n.value;r[s]=i}return r}function d(t,e){const r=[];let n=-1;const s=t.passKeys?new Map:F;for(;++n<e.children.length;){const i=e.children[n];let a;if(t.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=s.get(l)||0;a=l+"-"+c,s.set(l,c+1)}}const o=E(t,i,a);o!==void 0&&r.push(o)}return r}function B(t,e,r){const n=j.find(t.schema,e);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?w.stringify(r):C.stringify(r)),n.property==="style"){let s=typeof r=="object"?r:z(t,String(r));return t.stylePropertyNameCase==="css"&&(s=X(s)),["style",s]}return[t.elementAttributeNameCase==="react"&&n.space?A.hastToReact[n.property]||n.property:n.attribute,r]}}function z(t,e){try{return S.default(e,{reactCompat:!0})}catch(r){if(t.ignoreInvalidStyle)return{};const n=r,s=new h.VFileMessage("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=t.filePath||void 0,s.url=g+"#cannot-parse-style-attribute",s}}function b(t,e,r){let n;if(!r)n={type:"Literal",value:e};else if(e.includes(".")){const s=e.split(".");let i=-1,a;for(;++i<s.length;){const o=x.name(s[i])?{type:"Identifier",name:s[i]}:{type:"Literal",value:s[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}n=a}else n=x.name(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(n.type==="Literal"){const s=n.value;return m.call(t.components,s)?t.components[s]:s}if(t.evaluater)return t.evaluater.evaluateExpression(n);p(t)}function p(t,e){const r=new h.VFileMessage("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=t.filePath||void 0,r.url=g+"#cannot-handle-mdx-estrees-without-createevaluater",r}function X(t){const e={};let r;for(r in t)m.call(t,r)&&(e[Z(r)]=t[r]);return e}function Z(t){let e=t.replace(P,G);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function G(t){return"-"+t.toLowerCase()}exports.toJsxRuntime=M;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -2,7 +2,7 @@ import { stringify as w } from "../../comma-separated-tokens/index.es.js";
2
2
  import { ok as u } from "../../devlop/lib/default.es.js";
3
3
  import { svg as m, html as C } from "../../property-information/index.es.js";
4
4
  import { stringify as N } from "../../space-separated-tokens/index.es.js";
5
- import S from "../../../_virtual/index.es6.js";
5
+ import S from "../../../_virtual/index.es7.js";
6
6
  import { whitespace as j } from "../../hast-util-whitespace/lib/index.es.js";
7
7
  import { name as x } from "../../estree-util-is-identifier-name/lib/index.es.js";
8
8
  import { VFileMessage as h } from "../../vfile-message/lib/index.es.js";
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const fe=require("./chunk-2GRJ4B5K.cjs"),q=require("./chunk-NSK5VX7P.cjs"),B=require("./chunk-I66GZJ75.cjs"),ue=require("./chunk-X3CZISLH.cjs"),p=require("./chunk-Y2CYZVJY.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");const Oe=require("../../../../../_virtual/index7.cjs"),jt=require("../../../../d3-selection/src/select.cjs");var Ft=(function(){var a=p.__name(function(xt,b,v,E){for(v=v||{},E=xt.length;E--;v[xt[E]]=b);return v},"o"),t=[1,24],r=[1,25],o=[1,26],s=[1,27],l=[1,28],e=[1,63],i=[1,64],n=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],x=[1,29],O=[1,30],S=[1,31],P=[1,32],L=[1,33],F=[1,34],G=[1,35],K=[1,36],J=[1,37],Z=[1,38],$=[1,39],tt=[1,40],et=[1,41],at=[1,42],nt=[1,43],it=[1,44],rt=[1,45],st=[1,46],lt=[1,47],ot=[1,48],ct=[1,50],ht=[1,51],ut=[1,52],dt=[1,53],_t=[1,54],ft=[1,55],pt=[1,56],yt=[1,57],gt=[1,58],mt=[1,59],bt=[1,60],Tt=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Dt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],A=[1,82],C=[1,83],k=[1,84],w=[1,85],T=[12,14,42],se=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],At=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:p.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:p.__name(function(b,v,E,g,R,h,Pt){var _=h.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(h[_-3]);break;case 19:g.setTitle(h[_].substring(6)),this.$=h[_].substring(6);break;case 20:g.setAccDescription(h[_].substring(15)),this.$=h[_].substring(15);break;case 21:this.$=h[_].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=h[_].trim(),g.setAccDescription(this.$);break;case 28:h[_].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 29:h[_].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 30:g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 31:h[_].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[_]),this.$=h[_];break;case 32:g.addDeploymentNode("node",...h[_]),this.$=h[_];break;case 33:g.addDeploymentNode("nodeL",...h[_]),this.$=h[_];break;case 34:g.addDeploymentNode("nodeR",...h[_]),this.$=h[_];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...h[_]),this.$=h[_];break;case 40:g.addPersonOrSystem("external_person",...h[_]),this.$=h[_];break;case 41:g.addPersonOrSystem("system",...h[_]),this.$=h[_];break;case 42:g.addPersonOrSystem("system_db",...h[_]),this.$=h[_];break;case 43:g.addPersonOrSystem("system_queue",...h[_]),this.$=h[_];break;case 44:g.addPersonOrSystem("external_system",...h[_]),this.$=h[_];break;case 45:g.addPersonOrSystem("external_system_db",...h[_]),this.$=h[_];break;case 46:g.addPersonOrSystem("external_system_queue",...h[_]),this.$=h[_];break;case 47:g.addContainer("container",...h[_]),this.$=h[_];break;case 48:g.addContainer("container_db",...h[_]),this.$=h[_];break;case 49:g.addContainer("container_queue",...h[_]),this.$=h[_];break;case 50:g.addContainer("external_container",...h[_]),this.$=h[_];break;case 51:g.addContainer("external_container_db",...h[_]),this.$=h[_];break;case 52:g.addContainer("external_container_queue",...h[_]),this.$=h[_];break;case 53:g.addComponent("component",...h[_]),this.$=h[_];break;case 54:g.addComponent("component_db",...h[_]),this.$=h[_];break;case 55:g.addComponent("component_queue",...h[_]),this.$=h[_];break;case 56:g.addComponent("external_component",...h[_]),this.$=h[_];break;case 57:g.addComponent("external_component_db",...h[_]),this.$=h[_];break;case 58:g.addComponent("external_component_queue",...h[_]),this.$=h[_];break;case 60:g.addRel("rel",...h[_]),this.$=h[_];break;case 61:g.addRel("birel",...h[_]),this.$=h[_];break;case 62:g.addRel("rel_u",...h[_]),this.$=h[_];break;case 63:g.addRel("rel_d",...h[_]),this.$=h[_];break;case 64:g.addRel("rel_l",...h[_]),this.$=h[_];break;case 65:g.addRel("rel_r",...h[_]),this.$=h[_];break;case 66:g.addRel("rel_b",...h[_]),this.$=h[_];break;case 67:h[_].splice(0,1),g.addRel("rel",...h[_]),this.$=h[_];break;case 68:g.updateElStyle("update_el_style",...h[_]),this.$=h[_];break;case 69:g.updateRelStyle("update_rel_style",...h[_]),this.$=h[_];break;case 70:g.updateLayoutConfig("update_layout_config",...h[_]),this.$=h[_];break;case 71:this.$=[h[_]];break;case 72:h[_].unshift(h[_-1]),this.$=h[_];break;case 73:case 75:this.$=h[_].trim();break;case 74:let Ct={};Ct[h[_-1].trim()]=h[_].trim(),this.$=Ct;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{14:[1,74]},a(Tt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:e,36:i,37:n,38:u,39:d,40:f,41:y,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt}),a(Tt,[2,14]),a(Qt,[2,16],{12:[1,76]}),a(Tt,[2,36],{12:[1,77]}),a(Dt,[2,19]),a(Dt,[2,20]),{25:[1,78]},{27:[1,79]},a(Dt,[2,23]),{35:80,75:81,76:A,77:C,79:k,80:w},{35:86,75:81,76:A,77:C,79:k,80:w},{35:87,75:81,76:A,77:C,79:k,80:w},{35:88,75:81,76:A,77:C,79:k,80:w},{35:89,75:81,76:A,77:C,79:k,80:w},{35:90,75:81,76:A,77:C,79:k,80:w},{35:91,75:81,76:A,77:C,79:k,80:w},{35:92,75:81,76:A,77:C,79:k,80:w},{35:93,75:81,76:A,77:C,79:k,80:w},{35:94,75:81,76:A,77:C,79:k,80:w},{35:95,75:81,76:A,77:C,79:k,80:w},{35:96,75:81,76:A,77:C,79:k,80:w},{35:97,75:81,76:A,77:C,79:k,80:w},{35:98,75:81,76:A,77:C,79:k,80:w},{35:99,75:81,76:A,77:C,79:k,80:w},{35:100,75:81,76:A,77:C,79:k,80:w},{35:101,75:81,76:A,77:C,79:k,80:w},{35:102,75:81,76:A,77:C,79:k,80:w},{35:103,75:81,76:A,77:C,79:k,80:w},{35:104,75:81,76:A,77:C,79:k,80:w},a(T,[2,59]),{35:105,75:81,76:A,77:C,79:k,80:w},{35:106,75:81,76:A,77:C,79:k,80:w},{35:107,75:81,76:A,77:C,79:k,80:w},{35:108,75:81,76:A,77:C,79:k,80:w},{35:109,75:81,76:A,77:C,79:k,80:w},{35:110,75:81,76:A,77:C,79:k,80:w},{35:111,75:81,76:A,77:C,79:k,80:w},{35:112,75:81,76:A,77:C,79:k,80:w},{35:113,75:81,76:A,77:C,79:k,80:w},{35:114,75:81,76:A,77:C,79:k,80:w},{35:115,75:81,76:A,77:C,79:k,80:w},{20:116,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:A,77:C,79:k,80:w},{35:120,75:81,76:A,77:C,79:k,80:w},{35:121,75:81,76:A,77:C,79:k,80:w},{35:122,75:81,76:A,77:C,79:k,80:w},{35:123,75:81,76:A,77:C,79:k,80:w},{35:124,75:81,76:A,77:C,79:k,80:w},{35:125,75:81,76:A,77:C,79:k,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},a(Tt,[2,15]),a(Qt,[2,17],{21:22,19:130,22:t,23:r,24:o,26:s,28:l}),a(Tt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:r,24:o,26:s,28:l,34:e,36:i,37:n,38:u,39:d,40:f,41:y,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt}),a(Dt,[2,21]),a(Dt,[2,22]),a(T,[2,39]),a(se,[2,71],{75:81,35:132,76:A,77:C,79:k,80:w}),a(Mt,[2,73]),{78:[1,133]},a(Mt,[2,75]),a(Mt,[2,76]),a(T,[2,40]),a(T,[2,41]),a(T,[2,42]),a(T,[2,43]),a(T,[2,44]),a(T,[2,45]),a(T,[2,46]),a(T,[2,47]),a(T,[2,48]),a(T,[2,49]),a(T,[2,50]),a(T,[2,51]),a(T,[2,52]),a(T,[2,53]),a(T,[2,54]),a(T,[2,55]),a(T,[2,56]),a(T,[2,57]),a(T,[2,58]),a(T,[2,60]),a(T,[2,61]),a(T,[2,62]),a(T,[2,63]),a(T,[2,64]),a(T,[2,65]),a(T,[2,66]),a(T,[2,67]),a(T,[2,68]),a(T,[2,69]),a(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},a(At,[2,28]),a(At,[2,29]),a(At,[2,30]),a(At,[2,31]),a(At,[2,32]),a(At,[2,33]),a(At,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},a(Qt,[2,18]),a(Tt,[2,38]),a(se,[2,72]),a(Mt,[2,74]),a(T,[2,24]),a(T,[2,35]),a(qt,[2,25]),a(qt,[2,26],{12:[1,138]}),a(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:p.__name(function(b,v){if(v.recoverable)this.trace(b);else{var E=new Error(b);throw E.hash=v,E}},"parseError"),parse:p.__name(function(b){var v=this,E=[0],g=[],R=[null],h=[],Pt=this.table,_="",Ct=0,le=0,Ce=2,oe=1,ke=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(b,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var we=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Te(N){E.length=E.length-2*N,R.length=R.length-N,h.length=h.length-N}p.__name(Te,"popStack");function ce(){var N;return N=g.pop()||D.lex()||oe,typeof N!="number"&&(N instanceof Array&&(g=N,N=g.pop()),N=v.symbols_[N]||N),N}p.__name(ce,"lex");for(var M,wt,Y,Jt,Ot={},Nt,Q,he,Yt;;){if(wt=E[E.length-1],this.defaultActions[wt]?Y=this.defaultActions[wt]:((M===null||typeof M>"u")&&(M=ce()),Y=Pt[wt]&&Pt[wt][M]),typeof Y>"u"||!Y.length||!Y[0]){var Zt="";Yt=[];for(Nt in Pt[wt])this.terminals_[Nt]&&Nt>Ce&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Ct+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const fe=require("./chunk-2GRJ4B5K.cjs"),q=require("./chunk-NSK5VX7P.cjs"),B=require("./chunk-I66GZJ75.cjs"),ue=require("./chunk-X3CZISLH.cjs"),p=require("./chunk-Y2CYZVJY.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");const Oe=require("../../../../../_virtual/index6.cjs"),jt=require("../../../../d3-selection/src/select.cjs");var Ft=(function(){var a=p.__name(function(xt,b,v,E){for(v=v||{},E=xt.length;E--;v[xt[E]]=b);return v},"o"),t=[1,24],r=[1,25],o=[1,26],s=[1,27],l=[1,28],e=[1,63],i=[1,64],n=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],x=[1,29],O=[1,30],S=[1,31],P=[1,32],L=[1,33],F=[1,34],G=[1,35],K=[1,36],J=[1,37],Z=[1,38],$=[1,39],tt=[1,40],et=[1,41],at=[1,42],nt=[1,43],it=[1,44],rt=[1,45],st=[1,46],lt=[1,47],ot=[1,48],ct=[1,50],ht=[1,51],ut=[1,52],dt=[1,53],_t=[1,54],ft=[1,55],pt=[1,56],yt=[1,57],gt=[1,58],mt=[1,59],bt=[1,60],Tt=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Dt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],A=[1,82],C=[1,83],k=[1,84],w=[1,85],T=[12,14,42],se=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],At=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:p.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:p.__name(function(b,v,E,g,R,h,Pt){var _=h.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(h[_-3]);break;case 19:g.setTitle(h[_].substring(6)),this.$=h[_].substring(6);break;case 20:g.setAccDescription(h[_].substring(15)),this.$=h[_].substring(15);break;case 21:this.$=h[_].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=h[_].trim(),g.setAccDescription(this.$);break;case 28:h[_].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 29:h[_].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 30:g.addPersonOrSystemBoundary(...h[_]),this.$=h[_];break;case 31:h[_].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[_]),this.$=h[_];break;case 32:g.addDeploymentNode("node",...h[_]),this.$=h[_];break;case 33:g.addDeploymentNode("nodeL",...h[_]),this.$=h[_];break;case 34:g.addDeploymentNode("nodeR",...h[_]),this.$=h[_];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...h[_]),this.$=h[_];break;case 40:g.addPersonOrSystem("external_person",...h[_]),this.$=h[_];break;case 41:g.addPersonOrSystem("system",...h[_]),this.$=h[_];break;case 42:g.addPersonOrSystem("system_db",...h[_]),this.$=h[_];break;case 43:g.addPersonOrSystem("system_queue",...h[_]),this.$=h[_];break;case 44:g.addPersonOrSystem("external_system",...h[_]),this.$=h[_];break;case 45:g.addPersonOrSystem("external_system_db",...h[_]),this.$=h[_];break;case 46:g.addPersonOrSystem("external_system_queue",...h[_]),this.$=h[_];break;case 47:g.addContainer("container",...h[_]),this.$=h[_];break;case 48:g.addContainer("container_db",...h[_]),this.$=h[_];break;case 49:g.addContainer("container_queue",...h[_]),this.$=h[_];break;case 50:g.addContainer("external_container",...h[_]),this.$=h[_];break;case 51:g.addContainer("external_container_db",...h[_]),this.$=h[_];break;case 52:g.addContainer("external_container_queue",...h[_]),this.$=h[_];break;case 53:g.addComponent("component",...h[_]),this.$=h[_];break;case 54:g.addComponent("component_db",...h[_]),this.$=h[_];break;case 55:g.addComponent("component_queue",...h[_]),this.$=h[_];break;case 56:g.addComponent("external_component",...h[_]),this.$=h[_];break;case 57:g.addComponent("external_component_db",...h[_]),this.$=h[_];break;case 58:g.addComponent("external_component_queue",...h[_]),this.$=h[_];break;case 60:g.addRel("rel",...h[_]),this.$=h[_];break;case 61:g.addRel("birel",...h[_]),this.$=h[_];break;case 62:g.addRel("rel_u",...h[_]),this.$=h[_];break;case 63:g.addRel("rel_d",...h[_]),this.$=h[_];break;case 64:g.addRel("rel_l",...h[_]),this.$=h[_];break;case 65:g.addRel("rel_r",...h[_]),this.$=h[_];break;case 66:g.addRel("rel_b",...h[_]),this.$=h[_];break;case 67:h[_].splice(0,1),g.addRel("rel",...h[_]),this.$=h[_];break;case 68:g.updateElStyle("update_el_style",...h[_]),this.$=h[_];break;case 69:g.updateRelStyle("update_rel_style",...h[_]),this.$=h[_];break;case 70:g.updateLayoutConfig("update_layout_config",...h[_]),this.$=h[_];break;case 71:this.$=[h[_]];break;case 72:h[_].unshift(h[_-1]),this.$=h[_];break;case 73:case 75:this.$=h[_].trim();break;case 74:let Ct={};Ct[h[_-1].trim()]=h[_].trim(),this.$=Ct;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:r,24:o,26:s,28:l,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{14:[1,74]},a(Tt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:e,36:i,37:n,38:u,39:d,40:f,41:y,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt}),a(Tt,[2,14]),a(Qt,[2,16],{12:[1,76]}),a(Tt,[2,36],{12:[1,77]}),a(Dt,[2,19]),a(Dt,[2,20]),{25:[1,78]},{27:[1,79]},a(Dt,[2,23]),{35:80,75:81,76:A,77:C,79:k,80:w},{35:86,75:81,76:A,77:C,79:k,80:w},{35:87,75:81,76:A,77:C,79:k,80:w},{35:88,75:81,76:A,77:C,79:k,80:w},{35:89,75:81,76:A,77:C,79:k,80:w},{35:90,75:81,76:A,77:C,79:k,80:w},{35:91,75:81,76:A,77:C,79:k,80:w},{35:92,75:81,76:A,77:C,79:k,80:w},{35:93,75:81,76:A,77:C,79:k,80:w},{35:94,75:81,76:A,77:C,79:k,80:w},{35:95,75:81,76:A,77:C,79:k,80:w},{35:96,75:81,76:A,77:C,79:k,80:w},{35:97,75:81,76:A,77:C,79:k,80:w},{35:98,75:81,76:A,77:C,79:k,80:w},{35:99,75:81,76:A,77:C,79:k,80:w},{35:100,75:81,76:A,77:C,79:k,80:w},{35:101,75:81,76:A,77:C,79:k,80:w},{35:102,75:81,76:A,77:C,79:k,80:w},{35:103,75:81,76:A,77:C,79:k,80:w},{35:104,75:81,76:A,77:C,79:k,80:w},a(T,[2,59]),{35:105,75:81,76:A,77:C,79:k,80:w},{35:106,75:81,76:A,77:C,79:k,80:w},{35:107,75:81,76:A,77:C,79:k,80:w},{35:108,75:81,76:A,77:C,79:k,80:w},{35:109,75:81,76:A,77:C,79:k,80:w},{35:110,75:81,76:A,77:C,79:k,80:w},{35:111,75:81,76:A,77:C,79:k,80:w},{35:112,75:81,76:A,77:C,79:k,80:w},{35:113,75:81,76:A,77:C,79:k,80:w},{35:114,75:81,76:A,77:C,79:k,80:w},{35:115,75:81,76:A,77:C,79:k,80:w},{20:116,29:49,30:61,32:62,34:e,36:i,37:n,38:u,39:d,40:f,41:y,43:23,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:A,77:C,79:k,80:w},{35:120,75:81,76:A,77:C,79:k,80:w},{35:121,75:81,76:A,77:C,79:k,80:w},{35:122,75:81,76:A,77:C,79:k,80:w},{35:123,75:81,76:A,77:C,79:k,80:w},{35:124,75:81,76:A,77:C,79:k,80:w},{35:125,75:81,76:A,77:C,79:k,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},a(Tt,[2,15]),a(Qt,[2,17],{21:22,19:130,22:t,23:r,24:o,26:s,28:l}),a(Tt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:r,24:o,26:s,28:l,34:e,36:i,37:n,38:u,39:d,40:f,41:y,44:x,45:O,46:S,47:P,48:L,49:F,50:G,51:K,52:J,53:Z,54:$,55:tt,56:et,57:at,58:nt,59:it,60:rt,61:st,62:lt,63:ot,64:ct,65:ht,66:ut,67:dt,68:_t,69:ft,70:pt,71:yt,72:gt,73:mt,74:bt}),a(Dt,[2,21]),a(Dt,[2,22]),a(T,[2,39]),a(se,[2,71],{75:81,35:132,76:A,77:C,79:k,80:w}),a(Mt,[2,73]),{78:[1,133]},a(Mt,[2,75]),a(Mt,[2,76]),a(T,[2,40]),a(T,[2,41]),a(T,[2,42]),a(T,[2,43]),a(T,[2,44]),a(T,[2,45]),a(T,[2,46]),a(T,[2,47]),a(T,[2,48]),a(T,[2,49]),a(T,[2,50]),a(T,[2,51]),a(T,[2,52]),a(T,[2,53]),a(T,[2,54]),a(T,[2,55]),a(T,[2,56]),a(T,[2,57]),a(T,[2,58]),a(T,[2,60]),a(T,[2,61]),a(T,[2,62]),a(T,[2,63]),a(T,[2,64]),a(T,[2,65]),a(T,[2,66]),a(T,[2,67]),a(T,[2,68]),a(T,[2,69]),a(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},a(At,[2,28]),a(At,[2,29]),a(At,[2,30]),a(At,[2,31]),a(At,[2,32]),a(At,[2,33]),a(At,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},a(Qt,[2,18]),a(Tt,[2,38]),a(se,[2,72]),a(Mt,[2,74]),a(T,[2,24]),a(T,[2,35]),a(qt,[2,25]),a(qt,[2,26],{12:[1,138]}),a(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:p.__name(function(b,v){if(v.recoverable)this.trace(b);else{var E=new Error(b);throw E.hash=v,E}},"parseError"),parse:p.__name(function(b){var v=this,E=[0],g=[],R=[null],h=[],Pt=this.table,_="",Ct=0,le=0,Ce=2,oe=1,ke=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(b,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var we=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Te(N){E.length=E.length-2*N,R.length=R.length-N,h.length=h.length-N}p.__name(Te,"popStack");function ce(){var N;return N=g.pop()||D.lex()||oe,typeof N!="number"&&(N instanceof Array&&(g=N,N=g.pop()),N=v.symbols_[N]||N),N}p.__name(ce,"lex");for(var M,wt,Y,Jt,Ot={},Nt,Q,he,Yt;;){if(wt=E[E.length-1],this.defaultActions[wt]?Y=this.defaultActions[wt]:((M===null||typeof M>"u")&&(M=ce()),Y=Pt[wt]&&Pt[wt][M]),typeof Y>"u"||!Y.length||!Y[0]){var Zt="";Yt=[];for(Nt in Pt[wt])this.terminals_[Nt]&&Nt>Ce&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Ct+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+Yt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Zt="Parse error on line "+(Ct+1)+": Unexpected "+(M==oe?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Zt,{text:D.match,token:this.terminals_[M]||M,line:D.yylineno,loc:Kt,expected:Yt})}if(Y[0]instanceof Array&&Y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+wt+", token: "+M);switch(Y[0]){case 1:E.push(M),R.push(D.yytext),h.push(D.yylloc),E.push(Y[1]),M=null,le=D.yyleng,_=D.yytext,Ct=D.yylineno,Kt=D.yylloc;break;case 2:if(Q=this.productions_[Y[1]][1],Ot.$=R[R.length-Q],Ot._$={first_line:h[h.length-(Q||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(Q||1)].first_column,last_column:h[h.length-1].last_column},we&&(Ot._$.range=[h[h.length-(Q||1)].range[0],h[h.length-1].range[1]]),Jt=this.performAction.apply(Ot,[_,le,Ct,kt.yy,Y[1],R,h].concat(ke)),typeof Jt<"u")return Jt;Q&&(E=E.slice(0,-1*Q*2),R=R.slice(0,-1*Q),h=h.slice(0,-1*Q)),E.push(this.productions_[Y[1]][0]),R.push(Ot.$),h.push(Ot._$),he=Pt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Ae=(function(){var xt={EOF:1,parseError:p.__name(function(v,E){if(this.yy.parser)this.yy.parser.parseError(v,E);else throw new Error(v)},"parseError"),setInput:p.__name(function(b,v){return this.yy=v||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:p.__name(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var v=b.match(/(?:\r\n?|\n).*/g);return v?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},"input"),unput:p.__name(function(b){var v=b.length,E=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v),this.offset-=v;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var R=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===g.length?this.yylloc.first_column:0)+g[g.length-E.length].length-E[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},"unput"),more:p.__name(function(){return this._more=!0,this},"more"),reject:p.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:p.__name(function(b){this.unput(this.match.slice(b))},"less"),pastInput:p.__name(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p.__name(function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p.__name(function(){var b=this.pastInput(),v=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
@@ -5,7 +5,7 @@ import { log as fe } from "./chunk-X3CZISLH.es.js";
5
5
  import { __name as y } from "./chunk-Y2CYZVJY.es.js";
6
6
  import "../../../../d3-transition/src/selection/index.es.js";
7
7
  import "../../../../d3-zoom/src/transform.es.js";
8
- import { d as je } from "../../../../../_virtual/index.es7.js";
8
+ import { d as je } from "../../../../../_virtual/index.es6.js";
9
9
  import jt from "../../../../d3-selection/src/select.es.js";
10
10
  var Ft = (function() {
11
11
  var i = /* @__PURE__ */ y(function(_t, x, v, E) {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./chunk-I66GZJ75.cjs"),n=require("./chunk-Y2CYZVJY.cjs"),o=require("../../../../../_virtual/index7.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");const l=require("../../../../d3-selection/src/select.cjs");var d=n.__name((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const a in t.attrs)e.attr(a,t.attrs[a]);return t.class&&e.attr("class",t.class),e},"drawRect"),x=n.__name((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};d(r,e).lower()},"drawBackgroundRect"),m=n.__name((r,t)=>{const e=t.text.replace(c.lineBreakRegex," "),a=r.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class&&a.attr("class",t.class);const s=a.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),a},"drawText"),p=n.__name((r,t,e,a)=>{const s=r.append("image");s.attr("x",t),s.attr("y",e);const i=o.distExports.sanitizeUrl(a);s.attr("xlink:href",i)},"drawImage"),y=n.__name((r,t,e,a)=>{const s=r.append("use");s.attr("x",t),s.attr("y",e);const i=o.distExports.sanitizeUrl(a);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),g=n.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=n.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),f=n.__name(()=>{let r=l.default(".mermaidTooltip");return r.empty()&&(r=l.default("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");exports.createTooltip=f;exports.drawBackgroundRect=x;exports.drawEmbeddedImage=y;exports.drawImage=p;exports.drawRect=d;exports.drawText=m;exports.getNoteRect=g;exports.getTextObj=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./chunk-I66GZJ75.cjs"),n=require("./chunk-Y2CYZVJY.cjs"),o=require("../../../../../_virtual/index6.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");const l=require("../../../../d3-selection/src/select.cjs");var d=n.__name((r,t)=>{const e=r.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const a in t.attrs)e.attr(a,t.attrs[a]);return t.class&&e.attr("class",t.class),e},"drawRect"),x=n.__name((r,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};d(r,e).lower()},"drawBackgroundRect"),m=n.__name((r,t)=>{const e=t.text.replace(c.lineBreakRegex," "),a=r.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class&&a.attr("class",t.class);const s=a.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),a},"drawText"),p=n.__name((r,t,e,a)=>{const s=r.append("image");s.attr("x",t),s.attr("y",e);const i=o.distExports.sanitizeUrl(a);s.attr("xlink:href",i)},"drawImage"),y=n.__name((r,t,e,a)=>{const s=r.append("use");s.attr("x",t),s.attr("y",e);const i=o.distExports.sanitizeUrl(a);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),g=n.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=n.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),f=n.__name(()=>{let r=l.default(".mermaidTooltip");return r.empty()&&(r=l.default("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");exports.createTooltip=f;exports.drawBackgroundRect=x;exports.drawEmbeddedImage=y;exports.drawImage=p;exports.drawRect=d;exports.drawText=m;exports.getNoteRect=g;exports.getTextObj=h;
2
2
  //# sourceMappingURL=chunk-2GRJ4B5K.cjs.map
@@ -1,6 +1,6 @@
1
1
  import { lineBreakRegex as d } from "./chunk-I66GZJ75.es.js";
2
2
  import { __name as a } from "./chunk-Y2CYZVJY.es.js";
3
- import { d as l } from "../../../../../_virtual/index.es7.js";
3
+ import { d as l } from "../../../../../_virtual/index.es6.js";
4
4
  import "../../../../d3-transition/src/selection/index.es.js";
5
5
  import "../../../../d3-zoom/src/transform.es.js";
6
6
  import o from "../../../../d3-selection/src/select.es.js";
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./chunk-I66GZJ75.cjs"),_=require("./chunk-X3CZISLH.cjs"),s=require("./chunk-Y2CYZVJY.cjs"),K=require("../../../../../_virtual/index7.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");const S=require("../../../../es-toolkit/dist/compat/function/memoize.cjs"),Q=require("../../../../es-toolkit/dist/compat/object/merge.cjs"),$=require("../../../../d3-shape/src/curve/step.cjs"),ee=require("../../../../d3-shape/src/curve/natural.cjs"),L=require("../../../../d3-shape/src/curve/monotone.cjs"),te=require("../../../../d3-shape/src/curve/linearClosed.cjs"),ne=require("../../../../d3-shape/src/curve/linear.cjs"),re=require("../../../../d3-shape/src/curve/catmullRom.cjs"),ie=require("../../../../d3-shape/src/curve/catmullRomOpen.cjs"),ae=require("../../../../d3-shape/src/curve/catmullRomClosed.cjs"),oe=require("../../../../d3-shape/src/curve/cardinal.cjs"),se=require("../../../../d3-shape/src/curve/cardinalOpen.cjs"),ce=require("../../../../d3-shape/src/curve/cardinalClosed.cjs"),le=require("../../../../d3-shape/src/curve/bundle.cjs"),F=require("../../../../d3-shape/src/curve/bump.cjs"),ue=require("../../../../d3-shape/src/curve/basisOpen.cjs"),de=require("../../../../d3-shape/src/curve/basisClosed.cjs"),he=require("../../../../d3-shape/src/curve/basis.cjs"),fe=require("../../../../d3-selection/src/select.cjs");var D="​",me={curveBasis:he.default,curveBasisClosed:de.default,curveBasisOpen:ue.default,curveBumpX:F.bumpX,curveBumpY:F.bumpY,curveBundle:le.default,curveCardinalClosed:ce.default,curveCardinalOpen:se.default,curveCardinal:oe.default,curveCatmullRomClosed:ae.default,curveCatmullRomOpen:ie.default,curveCatmullRom:re.default,curveLinear:ne.default,curveLinearClosed:te.default,curveMonotoneX:L.monotoneX,curveMonotoneY:L.monotoneY,curveNatural:ee.default,curveStep:$.default,curveStepAfter:$.stepAfter,curveStepBefore:$.stepBefore},ge=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ve=s.__name(function(t,e){const r=O(t,/(?:init\b)|(?:initialize\b)/);let n={};if(Array.isArray(r)){const o=r.map(l=>l.args);u.sanitizeDirective(o),n=u.assignWithDepth_default(n,[...o])}else n=r.args;if(!n)return;let i=u.detectType(t,e);const a="config";return n[a]!==void 0&&(i==="flowchart-v2"&&(i="flowchart"),n[i]=n[a],delete n[a]),n},"detectInit"),O=s.__name(function(t,e=null){try{const r=new RegExp(`[%]{2}(?![{]${ge.source})(?=[}][%]{2}).*
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./chunk-I66GZJ75.cjs"),_=require("./chunk-X3CZISLH.cjs"),s=require("./chunk-Y2CYZVJY.cjs"),K=require("../../../../../_virtual/index6.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");const S=require("../../../../es-toolkit/dist/compat/function/memoize.cjs"),Q=require("../../../../es-toolkit/dist/compat/object/merge.cjs"),$=require("../../../../d3-shape/src/curve/step.cjs"),ee=require("../../../../d3-shape/src/curve/natural.cjs"),L=require("../../../../d3-shape/src/curve/monotone.cjs"),te=require("../../../../d3-shape/src/curve/linearClosed.cjs"),ne=require("../../../../d3-shape/src/curve/linear.cjs"),re=require("../../../../d3-shape/src/curve/catmullRom.cjs"),ie=require("../../../../d3-shape/src/curve/catmullRomOpen.cjs"),ae=require("../../../../d3-shape/src/curve/catmullRomClosed.cjs"),oe=require("../../../../d3-shape/src/curve/cardinal.cjs"),se=require("../../../../d3-shape/src/curve/cardinalOpen.cjs"),ce=require("../../../../d3-shape/src/curve/cardinalClosed.cjs"),le=require("../../../../d3-shape/src/curve/bundle.cjs"),F=require("../../../../d3-shape/src/curve/bump.cjs"),ue=require("../../../../d3-shape/src/curve/basisOpen.cjs"),de=require("../../../../d3-shape/src/curve/basisClosed.cjs"),he=require("../../../../d3-shape/src/curve/basis.cjs"),fe=require("../../../../d3-selection/src/select.cjs");var D="​",me={curveBasis:he.default,curveBasisClosed:de.default,curveBasisOpen:ue.default,curveBumpX:F.bumpX,curveBumpY:F.bumpY,curveBundle:le.default,curveCardinalClosed:ce.default,curveCardinalOpen:se.default,curveCardinal:oe.default,curveCatmullRomClosed:ae.default,curveCatmullRomOpen:ie.default,curveCatmullRom:re.default,curveLinear:ne.default,curveLinearClosed:te.default,curveMonotoneX:L.monotoneX,curveMonotoneY:L.monotoneY,curveNatural:ee.default,curveStep:$.default,curveStepAfter:$.stepAfter,curveStepBefore:$.stepBefore},ge=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ve=s.__name(function(t,e){const r=O(t,/(?:init\b)|(?:initialize\b)/);let n={};if(Array.isArray(r)){const o=r.map(l=>l.args);u.sanitizeDirective(o),n=u.assignWithDepth_default(n,[...o])}else n=r.args;if(!n)return;let i=u.detectType(t,e);const a="config";return n[a]!==void 0&&(i==="flowchart-v2"&&(i="flowchart"),n[i]=n[a],delete n[a]),n},"detectInit"),O=s.__name(function(t,e=null){try{const r=new RegExp(`[%]{2}(?![{]${ge.source})(?=[}][%]{2}).*
2
2
  `,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),_.log.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let n;const i=[];for(;(n=u.directiveRegex.exec(t))!==null;)if(n.index===u.directiveRegex.lastIndex&&u.directiveRegex.lastIndex++,n&&!e||e&&n[1]?.match(e)||e&&n[2]?.match(e)){const a=n[1]?n[1]:n[2],o=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;i.push({type:a,args:o})}return i.length===0?{type:t,args:null}:i.length===1?i[0]:i}catch(r){return _.log.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),_e=s.__name(function(t){return t.replace(u.directiveRegex,"")},"removeDirectives"),ye=s.__name(function(t,e){for(const[r,n]of e.entries())if(n.match(t))return r;return-1},"isSubstringInArray");function C(t,e){if(!t)return e;const r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return me[r]??e}s.__name(C,"interpolateToCurve");function H(t,e){const r=t.trim();if(r)return e.securityLevel!=="loose"?K.distExports.sanitizeUrl(r):r}s.__name(H,"formatUrl");var xe=s.__name((t,...e)=>{const r=t.split("."),n=r.length-1,i=r[n];let a=window;for(let o=0;o<n;o++)if(a=a[r[o]],!a){_.log.error(`Function name: ${t} not found in window`);return}a[i](...e)},"runFunc");function T(t,e){return!t||!e?0:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}s.__name(T,"distance");function N(t){let e,r=0;t.forEach(i=>{r+=T(i,e),e=i});const n=r/2;return E(t,n)}s.__name(N,"traverseEdge");function z(t){return t.length===1?t[0]:N(t)}s.__name(z,"calcLabelPosition");var A=s.__name((t,e=2)=>{const r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),E=s.__name((t,e)=>{let r,n=e;for(const i of t){if(r){const a=T(i,r);if(a===0)return r;if(a<n)n-=a;else{const o=n/a;if(o<=0)return r;if(o>=1)return{x:i.x,y:i.y};if(o>0&&o<1)return{x:A((1-o)*r.x+o*i.x,5),y:A((1-o)*r.y+o*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),pe=s.__name((t,e,r)=>{_.log.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());const i=E(e,25),a=t?10:5,o=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(o)*a+(e[0].x+i.x)/2,l.y=-Math.cos(o)*a+(e[0].y+i.y)/2,l},"calcCardinalityPosition");function j(t,e,r){const n=structuredClone(r);_.log.info("our points",n),e!=="start_left"&&e!=="start_right"&&n.reverse();const i=25+t,a=E(n,i),o=10+t*.5,l=Math.atan2(n[0].y-a.y,n[0].x-a.x),c={x:0,y:0};return e==="start_left"?(c.x=Math.sin(l+Math.PI)*o+(n[0].x+a.x)/2,c.y=-Math.cos(l+Math.PI)*o+(n[0].y+a.y)/2):e==="end_right"?(c.x=Math.sin(l-Math.PI)*o+(n[0].x+a.x)/2-5,c.y=-Math.cos(l-Math.PI)*o+(n[0].y+a.y)/2-5):e==="end_left"?(c.x=Math.sin(l)*o+(n[0].x+a.x)/2-5,c.y=-Math.cos(l)*o+(n[0].y+a.y)/2-5):(c.x=Math.sin(l)*o+(n[0].x+a.x)/2,c.y=-Math.cos(l)*o+(n[0].y+a.y)/2),c}s.__name(j,"calcTerminalLabelPosition");function I(t){let e="",r="";for(const n of t)n!==void 0&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":e=e+n+";");return{style:e,labelStyle:r}}s.__name(I,"getStylesFromArray");var R=0,k=s.__name(()=>(R++,"id-"+Math.random().toString(36).substr(2,12)+"-"+R),"generateId");function U(t){let e="";const r="0123456789abcdef",n=r.length;for(let i=0;i<t;i++)e+=r.charAt(Math.floor(Math.random()*n));return e}s.__name(U,"makeRandomHex");var Y=s.__name(t=>U(t.length),"random"),be=s.__name(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),Me=s.__name(function(t,e){const r=e.text.replace(u.common_default.lineBreakRegex," "),[,n]=w(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",n),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),e.class!==void 0&&i.attr("class",e.class);const a=i.append("tspan");return a.attr("x",e.x+e.textMargin*2),a.attr("fill",e.fill),a.text(r),i},"drawSimpleText"),X=S.memoize((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),u.common_default.lineBreakRegex.test(t)))return t;const n=t.split(" ").filter(Boolean),i=[];let a="";return n.forEach((o,l)=>{const c=g(`${o} `,r),d=g(a,r);if(c>e){const{hyphenatedStrings:v,remainingWord:h}=we(o,e,"-",r);i.push(a,...v),a=h}else d+c>=e?(i.push(a),a=o):a=[a,o].filter(Boolean).join(" ");l+1===n.length&&i.push(a)}),i.filter(o=>o!=="").join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),we=S.memoize((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);const i=[...t],a=[];let o="";return i.forEach((l,c)=>{const d=`${o}${l}`;if(g(d,n)>=e){const x=c+1,v=i.length===x,h=`${d}${r}`;a.push(v?d:h),o=""}else o=d}),{hyphenatedStrings:a,remainingWord:o}},(t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function W(t,e){return M(t,e).height}s.__name(W,"calculateTextHeight");function g(t,e){return M(t,e).width}s.__name(g,"calculateTextWidth");var M=S.memoize((t,e)=>{const{fontSize:r=12,fontFamily:n="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};const[,a]=w(r),o=["sans-serif",n],l=t.split(u.common_default.lineBreakRegex),c=[],d=fe.default("body");if(!d.remove)return{width:0,height:0,lineHeight:0};const y=d.append("svg");for(const v of o){let h=0;const f={width:0,height:0,lineHeight:0};for(const V of l){const P=be();P.text=V||D;const q=Me(y,P).style("font-size",a).style("font-weight",i).style("font-family",v),p=(q._groups||q)[0][0].getBBox();if(p.width===0&&p.height===0)throw new Error("svg element not in render tree");f.width=Math.round(Math.max(f.width,p.width)),h=Math.round(p.height),f.height+=h,f.lineHeight=Math.round(Math.max(f.lineHeight,h))}c.push(f)}y.remove();const x=isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1;return c[x]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),m,$e=(m=class{constructor(e=!1,r){this.count=0,this.count=r?r.length:0,this.next=e?()=>this.count++:()=>Date.now()}},s.__name(m,"InitIDGenerator"),m),b,Se=s.__name(function(t){return b=b||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),b.innerHTML=t,unescape(b.textContent)},"entityDecode");function Z(t){return"str"in t}s.__name(Z,"isDetailedError");var Ce=s.__name((t,e,r,n)=>{if(!n)return;const i=t.node()?.getBBox();i&&t.append("text").text(n).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-r).attr("class",e)},"insertTitle"),w=s.__name(t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function B(t,e){return Q.merge({},t,e)}s.__name(B,"cleanAndMerge");var Te={assignWithDepth:u.assignWithDepth_default,wrapLabel:X,calculateTextHeight:W,calculateTextWidth:g,calculateTextDimensions:M,cleanAndMerge:B,detectInit:ve,detectDirective:O,isSubstringInArray:ye,interpolateToCurve:C,calcLabelPosition:z,calcCardinalityPosition:pe,calcTerminalLabelPosition:j,formatUrl:H,getStylesFromArray:I,generateId:k,random:Y,runFunc:xe,entityDecode:Se,insertTitle:Ce,isLabelCoordinateInPath:G,parseFontSize:w,InitIDGenerator:$e},Ee=s.__name(function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/#\w+;/g,function(r){const n=r.substring(1,r.length-1);return/^\+?\d+$/.test(n)?"fl°°"+n+"¶ß":"fl°"+n+"¶ß"}),e},"encodeEntities"),Ie=s.__name(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),We=s.__name((t,e,{counter:r=0,prefix:n,suffix:i},a)=>a||`${n?`${n}_`:""}${t}_${e}_${r}${i?`_${i}`:""}`,"getEdgeId");function J(t){return t??null}s.__name(J,"handleUndefinedAttr");function G(t,e){const r=Math.round(t.x),n=Math.round(t.y),i=e.replace(/(\d+\.\d+)/g,a=>Math.round(parseFloat(a)).toString());return i.includes(r.toString())||i.includes(n.toString())}s.__name(G,"isLabelCoordinateInPath");exports.ZERO_WIDTH_SPACE=D;exports.calculateTextDimensions=M;exports.calculateTextHeight=W;exports.calculateTextWidth=g;exports.cleanAndMerge=B;exports.decodeEntities=Ie;exports.encodeEntities=Ee;exports.generateId=k;exports.getEdgeId=We;exports.getStylesFromArray=I;exports.handleUndefinedAttr=J;exports.interpolateToCurve=C;exports.isDetailedError=Z;exports.parseFontSize=w;exports.random=Y;exports.removeDirectives=_e;exports.utils_default=Te;exports.wrapLabel=X;
3
3
  //# sourceMappingURL=chunk-NSK5VX7P.cjs.map
@@ -1,7 +1,7 @@
1
1
  import { common_default as b, assignWithDepth_default as E, directiveRegex as $, sanitizeDirective as X, detectType as Y } from "./chunk-I66GZJ75.es.js";
2
2
  import { log as g } from "./chunk-X3CZISLH.es.js";
3
3
  import { __name as s } from "./chunk-Y2CYZVJY.es.js";
4
- import { d as G } from "../../../../../_virtual/index.es7.js";
4
+ import { d as G } from "../../../../../_virtual/index.es6.js";
5
5
  import "../../../../d3-transition/src/selection/index.es.js";
6
6
  import "../../../../d3-zoom/src/transform.es.js";
7
7
  import { memoize as w } from "../../../../es-toolkit/dist/compat/function/memoize.es.js";
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-GF5L2VYU.cjs"),i=require("./chunk-Y2CYZVJY.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");require("./chunk-I66GZJ75.cjs");require("../../../../../_virtual/dayjs.min.cjs");require("./chunk-J7OUQ5F2.cjs");require("../../../../../_virtual/index7.cjs");require("./chunk-7Z6QIM7H.cjs");require("./chunk-QR6OTTB3.cjs");require("./chunk-7BUUIJ7U.cjs");require("./chunk-UBXNYLIW.cjs");require("./chunk-WRU74C26.cjs");require("./chunk-NSK5VX7P.cjs");var u={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:i.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-GF5L2VYU.cjs"),i=require("./chunk-Y2CYZVJY.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");require("./chunk-I66GZJ75.cjs");require("../../../../../_virtual/dayjs.min.cjs");require("./chunk-J7OUQ5F2.cjs");require("../../../../../_virtual/index6.cjs");require("./chunk-7Z6QIM7H.cjs");require("./chunk-QR6OTTB3.cjs");require("./chunk-7BUUIJ7U.cjs");require("./chunk-UBXNYLIW.cjs");require("./chunk-WRU74C26.cjs");require("./chunk-NSK5VX7P.cjs");var u={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:i.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=u;
2
2
  //# sourceMappingURL=classDiagram-JCYQIIEL.cjs.map
@@ -5,7 +5,7 @@ import "../../../../d3-zoom/src/transform.es.js";
5
5
  import "./chunk-I66GZJ75.es.js";
6
6
  import "../../../../../_virtual/dayjs.min.es.js";
7
7
  import "./chunk-J7OUQ5F2.es.js";
8
- import "../../../../../_virtual/index.es7.js";
8
+ import "../../../../../_virtual/index.es6.js";
9
9
  import "./chunk-7Z6QIM7H.es.js";
10
10
  import "./chunk-QR6OTTB3.es.js";
11
11
  import "./chunk-7BUUIJ7U.es.js";
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-GF5L2VYU.cjs"),i=require("./chunk-Y2CYZVJY.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");require("./chunk-I66GZJ75.cjs");require("../../../../../_virtual/dayjs.min.cjs");require("./chunk-J7OUQ5F2.cjs");require("../../../../../_virtual/index7.cjs");require("./chunk-7Z6QIM7H.cjs");require("./chunk-QR6OTTB3.cjs");require("./chunk-7BUUIJ7U.cjs");require("./chunk-UBXNYLIW.cjs");require("./chunk-WRU74C26.cjs");require("./chunk-NSK5VX7P.cjs");var u={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:i.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-GF5L2VYU.cjs"),i=require("./chunk-Y2CYZVJY.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");require("./chunk-I66GZJ75.cjs");require("../../../../../_virtual/dayjs.min.cjs");require("./chunk-J7OUQ5F2.cjs");require("../../../../../_virtual/index6.cjs");require("./chunk-7Z6QIM7H.cjs");require("./chunk-QR6OTTB3.cjs");require("./chunk-7BUUIJ7U.cjs");require("./chunk-UBXNYLIW.cjs");require("./chunk-WRU74C26.cjs");require("./chunk-NSK5VX7P.cjs");var u={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:i.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=u;
2
2
  //# sourceMappingURL=classDiagram-v2-OCEON4UE.cjs.map
@@ -5,7 +5,7 @@ import "../../../../d3-zoom/src/transform.es.js";
5
5
  import "./chunk-I66GZJ75.es.js";
6
6
  import "../../../../../_virtual/dayjs.min.es.js";
7
7
  import "./chunk-J7OUQ5F2.es.js";
8
- import "../../../../../_virtual/index.es7.js";
8
+ import "../../../../../_virtual/index.es6.js";
9
9
  import "./chunk-7Z6QIM7H.es.js";
10
10
  import "./chunk-QR6OTTB3.es.js";
11
11
  import "./chunk-7BUUIJ7U.es.js";
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunk-JQJVKLGR.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");require("./chunk-I66GZJ75.cjs");require("../../../../../_virtual/dayjs.min.cjs");require("js-yaml");require("./chunk-J7OUQ5F2.cjs");require("../../../../../_virtual/index7.cjs");require("./chunk-7Z6QIM7H.cjs");require("./chunk-QR6OTTB3.cjs");require("./chunk-7BUUIJ7U.cjs");require("./chunk-UBXNYLIW.cjs");require("./chunk-WRU74C26.cjs");require("./chunk-NSK5VX7P.cjs");exports.createFlowDiagram=e.createFlowDiagram;exports.diagram=e.diagram;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunk-JQJVKLGR.cjs");require("../../../../d3-transition/src/selection/index.cjs");require("../../../../d3-zoom/src/transform.cjs");require("./chunk-I66GZJ75.cjs");require("../../../../../_virtual/dayjs.min.cjs");require("js-yaml");require("./chunk-J7OUQ5F2.cjs");require("../../../../../_virtual/index6.cjs");require("./chunk-7Z6QIM7H.cjs");require("./chunk-QR6OTTB3.cjs");require("./chunk-7BUUIJ7U.cjs");require("./chunk-UBXNYLIW.cjs");require("./chunk-WRU74C26.cjs");require("./chunk-NSK5VX7P.cjs");exports.createFlowDiagram=e.createFlowDiagram;exports.diagram=e.diagram;
2
2
  //# sourceMappingURL=flowDiagram-UKHOOZJN.cjs.map
@@ -5,7 +5,7 @@ import "./chunk-I66GZJ75.es.js";
5
5
  import "../../../../../_virtual/dayjs.min.es.js";
6
6
  import "js-yaml";
7
7
  import "./chunk-J7OUQ5F2.es.js";
8
- import "../../../../../_virtual/index.es7.js";
8
+ import "../../../../../_virtual/index.es6.js";
9
9
  import "./chunk-7Z6QIM7H.es.js";
10
10
  import "./chunk-QR6OTTB3.es.js";
11
11
  import "./chunk-7BUUIJ7U.es.js";