@oneclick.dev/cms-core-modules 0.0.71 → 0.0.73

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 (323) hide show
  1. package/dist/Acquisition-D_Qx7XRY.mjs +400 -0
  2. package/dist/Acquisition-_-cq972V.js +1 -0
  3. package/dist/AppointmentDetailsCard-CtK0Cj_O.js +1 -0
  4. package/dist/AppointmentDetailsCard-i4Ky8WnK.mjs +161 -0
  5. package/dist/AppointmentEditor-BeOtYV6u.mjs +196 -0
  6. package/dist/AppointmentEditor-CaTfbkIf.js +1 -0
  7. package/dist/AppointmentListTable-CQ3uXfa8.js +1 -0
  8. package/dist/AppointmentListTable-G5dIeCYj.mjs +159 -0
  9. package/dist/Audience-BdlrWkY-.mjs +489 -0
  10. package/dist/Audience-QnFQs93n.js +1 -0
  11. package/dist/Content-C-4Cdniz.js +1 -0
  12. package/dist/Content-DW6xvbUo.mjs +358 -0
  13. package/dist/ContentEditor-3JFlC9N1.js +313 -0
  14. package/dist/{ContentEditor-B7IYLH91.mjs → ContentEditor-7SDjf5Hk.mjs} +16535 -25527
  15. package/dist/CountryBreakdownCard-BUfJ-umQ.js +1 -0
  16. package/dist/CountryBreakdownCard-Dc_vZ9dJ.mjs +196 -0
  17. package/dist/{Create-D8NBEkJU.js → Create-CRn2sMHp.js} +1 -1
  18. package/dist/{Create-BDiyCtrp.mjs → Create-DtFzwxn_.mjs} +1 -1
  19. package/dist/DateFormatter-C9qfmQnP.js +1 -0
  20. package/dist/{DateFormatter-DAZP9a6L.mjs → DateFormatter-DfIwyrnF.mjs} +399 -258
  21. package/dist/{Detail-Cxd2VMOl.js → Detail-BcboL7NF.js} +1 -1
  22. package/dist/{Detail-CxUU6BpO.mjs → Detail-BwDnY42G.mjs} +1 -1
  23. package/dist/{Detail-DTHaYmyl.js → Detail-Bxi7lG9x.js} +1 -1
  24. package/dist/{Detail-BGD75ul4.mjs → Detail-CVgWHbMC.mjs} +22 -18
  25. package/dist/DeviceBreakdownCard-BJcQNo8a.mjs +159 -0
  26. package/dist/DeviceBreakdownCard-CsoK6JUO.js +1 -0
  27. package/dist/{Find-B4sAEx0B.mjs → Find-XPcJxeRH.mjs} +1 -1
  28. package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-B-ZhMrMu.js → NewReservationDialog.vue_vue_type_script_setup_true_lang-C5YczjNb.js} +1 -1
  29. package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-CJ7hh7ug.mjs → NewReservationDialog.vue_vue_type_script_setup_true_lang-Ds7z0qeH.mjs} +1 -1
  30. package/dist/{Overview-HvlDEgqi.mjs → Overview--XpvBbqz.mjs} +1 -1
  31. package/dist/Overview-B8OF-JJr.mjs +567 -0
  32. package/dist/Overview-DSU1Nh7B.js +1 -0
  33. package/dist/PeakHoursCard-BNl_U1r_.js +1 -0
  34. package/dist/PeakHoursCard-hV8PdGsf.mjs +182 -0
  35. package/dist/ProductDetailsCard-BwktdlIf.js +1 -0
  36. package/dist/ProductDetailsCard-CJBkZSER.mjs +121 -0
  37. package/dist/RealtimeCard-CRJHS64l.mjs +126 -0
  38. package/dist/RealtimeCard-CxtqQHee.js +1 -0
  39. package/dist/SearchTermsCard-DGRbo5ZP.js +1 -0
  40. package/dist/SearchTermsCard-Dwa-P7My.mjs +201 -0
  41. package/dist/SeoHealth-BqlYiSCj.js +1 -0
  42. package/dist/SeoHealth-DG004AsJ.mjs +523 -0
  43. package/dist/{TableView-C4NNrJpP.js → TableView-CU0a9ih2.js} +162 -199
  44. package/dist/{TableView-B5OyApnP.mjs → TableView-fYC7kB6j.mjs} +23309 -24320
  45. package/dist/TopPagesCard-Dv52to_J.mjs +159 -0
  46. package/dist/TopPagesCard-pZ-nAsaI.js +1 -0
  47. package/dist/TrafficSourcesCard-CBOPV1J1.js +1 -0
  48. package/dist/TrafficSourcesCard-CMhcj2k2.mjs +197 -0
  49. package/dist/VisitorStatsCard-BHn4oSnt.mjs +174 -0
  50. package/dist/VisitorStatsCard-tApB_7v8.js +1 -0
  51. package/dist/{agenda-CTG6N_Lt.mjs → agenda-XqvbrU72.mjs} +2 -2
  52. package/dist/{agenda-OSkAh0Oa.js → agenda-wNFDKn0G.js} +1 -1
  53. package/dist/array-CbATeQbk.js +1 -0
  54. package/dist/array-CvmZXzxF.mjs +108 -0
  55. package/dist/cms-core-modules.css +1 -1
  56. package/dist/{exceptions-CEXIFw47.mjs → exceptions-CLgeeUSy.mjs} +1 -1
  57. package/dist/{exceptions-BvMTqtof.js → exceptions-wEQEVzIs.js} +1 -1
  58. package/dist/floating-ui.dom-BO2Hr6mz.mjs +1292 -0
  59. package/dist/floating-ui.dom-CAr9LGoC.js +1 -0
  60. package/dist/{index-AmUV8LZQ.mjs → index-B-lVEpFX.mjs} +1 -1
  61. package/dist/index-BuzLn4Km.js +54 -0
  62. package/dist/index-C4YUVWzJ.js +75 -0
  63. package/dist/index-CMk3uhUt.mjs +3837 -0
  64. package/dist/{index-Uf7TwBuW.mjs → index-CrGjxSwa.mjs} +4 -4
  65. package/dist/index-D2DYuz8R.mjs +1090 -0
  66. package/dist/index-D3L8WAJI.js +58 -0
  67. package/dist/index-D7JBu6iT.mjs +34 -0
  68. package/dist/index-DQYBP8Js.js +158 -0
  69. package/dist/index-DjDCYQ_6.mjs +441 -0
  70. package/dist/index-DwHYfZl_.js +1 -0
  71. package/dist/{index-Biuv2zTx-DBCin9DT.mjs → index-N6w5-hDF-6k_ELHYC.mjs} +1234 -1234
  72. package/dist/index-N6w5-hDF-DCuxwPBX.js +88 -0
  73. package/dist/index-O_QNuTdG.js +35 -0
  74. package/dist/index-_2lRVt_k.mjs +2942 -0
  75. package/dist/index-p5Uqu8c2.mjs +1438 -0
  76. package/dist/index.cjs.js +1 -1
  77. package/dist/index.mjs +383 -86
  78. package/dist/{resources-DgPnEv76.mjs → resources-CFR_s89Z.mjs} +1 -1
  79. package/dist/src/appointments/chat-components/AppointmentDetailsCard.vue.d.ts +14 -0
  80. package/dist/src/appointments/chat-components/AppointmentEditor.vue.d.ts +14 -0
  81. package/dist/src/appointments/chat-components/AppointmentListTable.vue.d.ts +14 -0
  82. package/dist/src/appointments/index.d.ts +70 -0
  83. package/dist/src/appointments/server.d.ts +19 -0
  84. package/dist/src/appointments/tools.d.ts +56 -16
  85. package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Button.vue.d.ts +3 -1
  86. package/dist/src/contentManager/components/content-editor/tiptap-extensions/CustomClass.d.ts +14 -0
  87. package/dist/src/contentManager/components/content-editor/tiptap-extensions/NodeDragPointerEventsFix.d.ts +2 -0
  88. package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuClassBuilder.vue.d.ts +19 -0
  89. package/dist/src/contentManager/components/content-editor/tiptap-menus/BubbleMenuLinkBuilder.vue.d.ts +19 -0
  90. package/dist/src/googleAnalytics/chat-components/CountryBreakdownCard.vue.d.ts +14 -0
  91. package/dist/src/googleAnalytics/chat-components/DeviceBreakdownCard.vue.d.ts +14 -0
  92. package/dist/src/googleAnalytics/chat-components/PeakHoursCard.vue.d.ts +14 -0
  93. package/dist/src/googleAnalytics/chat-components/RealtimeCard.vue.d.ts +14 -0
  94. package/dist/src/googleAnalytics/chat-components/SearchTermsCard.vue.d.ts +14 -0
  95. package/dist/src/googleAnalytics/chat-components/TopPagesCard.vue.d.ts +14 -0
  96. package/dist/src/googleAnalytics/chat-components/TrafficSourcesCard.vue.d.ts +14 -0
  97. package/dist/src/googleAnalytics/chat-components/VisitorStatsCard.vue.d.ts +14 -0
  98. package/dist/src/googleAnalytics/config.d.ts +39 -0
  99. package/dist/src/googleAnalytics/index.d.ts +116 -0
  100. package/dist/src/googleAnalytics/metadata.d.ts +2 -0
  101. package/dist/src/googleAnalytics/pages/Acquisition.vue.d.ts +2 -0
  102. package/dist/src/googleAnalytics/pages/Audience.vue.d.ts +2 -0
  103. package/dist/src/googleAnalytics/pages/Content.vue.d.ts +2 -0
  104. package/dist/src/googleAnalytics/pages/Overview.vue.d.ts +2 -0
  105. package/dist/src/googleAnalytics/pages/SeoHealth.vue.d.ts +2 -0
  106. package/dist/src/googleAnalytics/permissions.d.ts +1 -0
  107. package/dist/src/googleAnalytics/server.d.ts +35 -0
  108. package/dist/src/googleAnalytics/tools.d.ts +59 -0
  109. package/dist/src/index.d.ts +6 -5
  110. package/dist/src/mailTemplates/components/TemplateList.vue.d.ts +2 -0
  111. package/dist/src/mailTemplates/routes.d.ts +5 -0
  112. package/dist/src/mailTemplates/tools.d.ts +1 -0
  113. package/dist/src/productCollections/tools.d.ts +1 -0
  114. package/dist/src/products/chat-components/ProductDetailsCard.vue.d.ts +14 -0
  115. package/dist/src/products/index.d.ts +24 -2
  116. package/dist/src/products/server.d.ts +19 -0
  117. package/dist/src/products/tools.d.ts +21 -2
  118. package/dist/src/promoCodes/tools.d.ts +1 -0
  119. package/dist/src/server-handlers.d.ts +9 -0
  120. package/dist/src/table/tools.d.ts +1 -25
  121. package/package.json +23 -21
  122. package/src/appointments/server.ts +195 -0
  123. package/src/appointments/tools.ts +61 -21
  124. package/src/googleAnalytics/server.ts +1188 -0
  125. package/src/googleAnalytics/tools.ts +158 -0
  126. package/src/mailTemplates/tools.ts +1 -0
  127. package/src/productCollections/tools.ts +1 -0
  128. package/src/products/server.ts +146 -0
  129. package/src/products/tools.ts +19 -0
  130. package/src/promoCodes/tools.ts +1 -0
  131. package/src/table/tools.ts +1 -25
  132. package/dist/ContentEditor-LOn09n7N.js +0 -307
  133. package/dist/DateFormatter-Bw-SCfUS.js +0 -1
  134. package/dist/floating-ui.dom-CBBY0Ism.js +0 -1
  135. package/dist/floating-ui.dom-xfqXu4GA.mjs +0 -1138
  136. package/dist/index-Biuv2zTx-DHiVlXFj.js +0 -88
  137. package/dist/index-HLGxDG-0.mjs +0 -7746
  138. package/dist/index-n2p9TTRq.js +0 -245
  139. package/dist/src/content-manager/components/content-editor/tiptap-extensions/DragHandle.d.ts +0 -76
  140. package/dist/src/content-manager/components/content-editor/tiptap-extensions/NodeDragPointerEventsFix.d.ts +0 -7
  141. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/drag-handle-plugin.d.ts +0 -25
  142. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/drag-handle.d.ts +0 -50
  143. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/cloneElement.d.ts +0 -1
  144. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/dragHandler.d.ts +0 -2
  145. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/findNextElementFromCursor.d.ts +0 -17
  146. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/getComputedStyle.d.ts +0 -1
  147. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/getInnerCoords.d.ts +0 -5
  148. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/getOuterNode.d.ts +0 -3
  149. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/minMax.d.ts +0 -1
  150. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/helpers/removeNode.d.ts +0 -1
  151. package/dist/src/content-manager/components/content-editor/tiptap-extensions/extension-drag-handle/index.d.ts +0 -4
  152. package/dist/src/mail-templates/tools.d.ts +0 -25
  153. package/dist/src/product-collections/tools.d.ts +0 -25
  154. package/dist/src/promo-codes/tools.d.ts +0 -25
  155. package/src/mail-templates/tools.ts +0 -25
  156. package/src/product-collections/tools.ts +0 -25
  157. package/src/promo-codes/tools.ts +0 -25
  158. /package/dist/src/{content-manager → contentManager}/components/components/ComponentDialog.vue.d.ts +0 -0
  159. /package/dist/src/{content-manager → contentManager}/components/components/ComponentGridItem.vue.d.ts +0 -0
  160. /package/dist/src/{content-manager → contentManager}/components/content-editor/ApiDocs.vue.d.ts +0 -0
  161. /package/dist/src/{content-manager → contentManager}/components/content-editor/ContentLayout.vue.d.ts +0 -0
  162. /package/dist/src/{content-manager → contentManager}/components/content-editor/ContentSettings.vue.d.ts +0 -0
  163. /package/dist/src/{content-manager → contentManager}/components/content-editor/ContentStructuredContentSections.vue.d.ts +0 -0
  164. /package/dist/src/{content-manager → contentManager}/components/content-editor/Header.vue.d.ts +0 -0
  165. /package/dist/src/{content-manager → contentManager}/components/content-editor/LivePreviewWrapper.vue.d.ts +0 -0
  166. /package/dist/src/{content-manager → contentManager}/components/content-editor/Locales.vue.d.ts +0 -0
  167. /package/dist/src/{content-manager → contentManager}/components/content-editor/NewSectionDialog.vue.d.ts +0 -0
  168. /package/dist/src/{content-manager → contentManager}/components/content-editor/PageSettings.vue.d.ts +0 -0
  169. /package/dist/src/{content-manager → contentManager}/components/content-editor/SEO.vue.d.ts +0 -0
  170. /package/dist/src/{content-manager → contentManager}/components/content-editor/SidebarSectionWrapper.vue.d.ts +0 -0
  171. /package/dist/src/{content-manager → contentManager}/components/content-editor/Status.vue.d.ts +0 -0
  172. /package/dist/src/{content-manager → contentManager}/components/content-editor/Versions.vue.d.ts +0 -0
  173. /package/dist/src/{content-manager → contentManager}/components/content-editor/code-examples.d.ts +0 -0
  174. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Button.d.ts +0 -0
  175. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Card.d.ts +0 -0
  176. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Card.vue.d.ts +0 -0
  177. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Column.d.ts +0 -0
  178. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Column.vue.d.ts +0 -0
  179. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/ComponentEditorNode.d.ts +0 -0
  180. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Container.d.ts +0 -0
  181. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Container.vue.d.ts +0 -0
  182. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Divider.d.ts +0 -0
  183. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Divider.vue.d.ts +0 -0
  184. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/EmptySpace.d.ts +0 -0
  185. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/EmptySpace.vue.d.ts +0 -0
  186. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Heading.d.ts +0 -0
  187. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Heading.vue.d.ts +0 -0
  188. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Image.d.ts +0 -0
  189. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Image.vue.d.ts +0 -0
  190. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/LockBlocks.d.ts +0 -0
  191. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Map.d.ts +0 -0
  192. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Map.vue.d.ts +0 -0
  193. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/OnlyContainerDocument.d.ts +0 -0
  194. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Paragraph.d.ts +0 -0
  195. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Paragraph.vue.d.ts +0 -0
  196. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Row.d.ts +0 -0
  197. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Row.vue.d.ts +0 -0
  198. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/ScopedSelectAll.d.ts +0 -0
  199. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Stack.d.ts +0 -0
  200. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Stack.vue.d.ts +0 -0
  201. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/TrailingNodeInContainers.d.ts +0 -0
  202. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Video.d.ts +0 -0
  203. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/Video.vue.d.ts +0 -0
  204. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/DetailsNodeView.vue.d.ts +0 -0
  205. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/content/details-content.d.ts +0 -0
  206. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/content/index.d.ts +0 -0
  207. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/details.d.ts +0 -0
  208. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/helpers/findClosestVisibleNode.d.ts +0 -0
  209. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/helpers/isNodeVisible.d.ts +0 -0
  210. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/helpers/setGapCursor.d.ts +0 -0
  211. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/index.d.ts +0 -0
  212. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/summary/details-summary.d.ts +0 -0
  213. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/extension-details/summary/index.d.ts +0 -0
  214. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/helpers/NodeLabel.vue.d.ts +0 -0
  215. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/helpers/ResizeHandlers.vue.d.ts +0 -0
  216. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/helpers/TopMarginDragger.vue.d.ts +0 -0
  217. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/helpers/useContainerFocus.d.ts +0 -0
  218. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-extensions/helpers/useFocus.d.ts +0 -0
  219. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/BubbleMenuToggleButton.vue.d.ts +0 -0
  220. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/DefaultBubbleMenu.vue.d.ts +0 -0
  221. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/ElementEditorMenu.vue.d.ts +0 -0
  222. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/EmojiMenu.vue.d.ts +0 -0
  223. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/NewNodeView.vue.d.ts +0 -0
  224. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/SlashMenu.vue.d.ts +0 -0
  225. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/SlashMenuButton.vue.d.ts +0 -0
  226. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/ButtonMenu.vue.d.ts +0 -0
  227. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/CardMenu.vue.d.ts +0 -0
  228. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/ColumnMenu.vue.d.ts +0 -0
  229. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/DividerMenu.vue.d.ts +0 -0
  230. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/EmptySpaceMenu.vue.d.ts +0 -0
  231. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/HeadingMenu.vue.d.ts +0 -0
  232. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/ImageMenu.vue.d.ts +0 -0
  233. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/MapMenu.vue.d.ts +0 -0
  234. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/RowMenu.vue.d.ts +0 -0
  235. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/StackMenu.vue.d.ts +0 -0
  236. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/TextMenu.vue.d.ts +0 -0
  237. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/VideoMenu.vue.d.ts +0 -0
  238. /package/dist/src/{content-manager → contentManager}/components/content-editor/tiptap-menus/element-editor-views/index.d.ts +0 -0
  239. /package/dist/src/{content-manager → contentManager}/components/overview/CollectionDialog.vue.d.ts +0 -0
  240. /package/dist/src/{content-manager → contentManager}/components/overview/CollectionsGridView.vue.d.ts +0 -0
  241. /package/dist/src/{content-manager → contentManager}/components/overview/ContentEntryContextMenu.vue.d.ts +0 -0
  242. /package/dist/src/{content-manager → contentManager}/components/overview/FilterPopover.vue.d.ts +0 -0
  243. /package/dist/src/{content-manager → contentManager}/components/overview/ListView.vue.d.ts +0 -0
  244. /package/dist/src/{content-manager → contentManager}/components/styling/ButtonStyleDialog.vue.d.ts +0 -0
  245. /package/dist/src/{content-manager → contentManager}/components/styling/CardStyleDialog.vue.d.ts +0 -0
  246. /package/dist/src/{content-manager → contentManager}/components/styling/SectionStyleDialog.vue.d.ts +0 -0
  247. /package/dist/src/{content-manager → contentManager}/config.d.ts +0 -0
  248. /package/dist/src/{content-manager → contentManager}/index.d.ts +0 -0
  249. /package/dist/src/{content-manager → contentManager}/index.vue.d.ts +0 -0
  250. /package/dist/src/{content-manager → contentManager}/metadata.d.ts +0 -0
  251. /package/dist/src/{content-manager → contentManager}/pages/Components.vue.d.ts +0 -0
  252. /package/dist/src/{content-manager → contentManager}/pages/ContentEditor.vue.d.ts +0 -0
  253. /package/dist/src/{content-manager → contentManager}/pages/Entries.vue.d.ts +0 -0
  254. /package/dist/src/{content-manager → contentManager}/pages/GlobalStyling.vue.d.ts +0 -0
  255. /package/dist/src/{content-manager → contentManager}/pages/Overview.vue.d.ts +0 -0
  256. /package/dist/src/{content-manager → contentManager}/permissions.d.ts +0 -0
  257. /package/dist/src/{content-manager → contentManager}/routes.d.ts +0 -0
  258. /package/dist/src/{content-manager → contentManager}/stores/useTableStore.d.ts +0 -0
  259. /package/dist/src/{content-manager → contentManager}/tools.d.ts +0 -0
  260. /package/dist/src/{content-manager → contentManager}/types.d.ts +0 -0
  261. /package/dist/src/{mail-templates/components/TemplateList.vue.d.ts → googleAnalytics/index.vue.d.ts} +0 -0
  262. /package/dist/src/{mail-templates → googleAnalytics}/routes.d.ts +0 -0
  263. /package/dist/src/{mail-templates → mailTemplates}/config.d.ts +0 -0
  264. /package/dist/src/{mail-templates → mailTemplates}/index.d.ts +0 -0
  265. /package/dist/src/{mail-templates → mailTemplates}/index.vue.d.ts +0 -0
  266. /package/dist/src/{mail-templates → mailTemplates}/metadata.d.ts +0 -0
  267. /package/dist/src/{mail-templates → mailTemplates}/pages/Detail.vue.d.ts +0 -0
  268. /package/dist/src/{mail-templates → mailTemplates}/pages/Overview.vue.d.ts +0 -0
  269. /package/dist/src/{mail-templates → mailTemplates}/permissions.d.ts +0 -0
  270. /package/dist/src/{mail-templates → mailTemplates}/stores/useTableStore.d.ts +0 -0
  271. /package/dist/src/{mail-templates → mailTemplates}/types.d.ts +0 -0
  272. /package/dist/src/{product-collections → productCollections}/components/detail/Main.vue.d.ts +0 -0
  273. /package/dist/src/{product-collections → productCollections}/components/detail/SEO.vue.d.ts +0 -0
  274. /package/dist/src/{product-collections → productCollections}/components/detail/Status.vue.d.ts +0 -0
  275. /package/dist/src/{product-collections → productCollections}/components/overview/ListView.vue.d.ts +0 -0
  276. /package/dist/src/{product-collections → productCollections}/composables/useTable.d.ts +0 -0
  277. /package/dist/src/{product-collections → productCollections}/config.d.ts +0 -0
  278. /package/dist/src/{product-collections → productCollections}/index.d.ts +0 -0
  279. /package/dist/src/{product-collections → productCollections}/index.vue.d.ts +0 -0
  280. /package/dist/src/{product-collections → productCollections}/metadata.d.ts +0 -0
  281. /package/dist/src/{product-collections → productCollections}/pages/Detail.vue.d.ts +0 -0
  282. /package/dist/src/{product-collections → productCollections}/pages/Overview.vue.d.ts +0 -0
  283. /package/dist/src/{product-collections → productCollections}/permissions.d.ts +0 -0
  284. /package/dist/src/{product-collections → productCollections}/routes.d.ts +0 -0
  285. /package/dist/src/{product-collections → productCollections}/stores/useTableStore.d.ts +0 -0
  286. /package/dist/src/{product-collections → productCollections}/types.d.ts +0 -0
  287. /package/dist/src/{promo-codes → promoCodes}/components/create/DateRange.vue.d.ts +0 -0
  288. /package/dist/src/{promo-codes → promoCodes}/components/create/MultiCodes.vue.d.ts +0 -0
  289. /package/dist/src/{promo-codes → promoCodes}/components/create/Note.vue.d.ts +0 -0
  290. /package/dist/src/{promo-codes → promoCodes}/components/create/SingleCode.vue.d.ts +0 -0
  291. /package/dist/src/{promo-codes → promoCodes}/components/create/TypeAndValue/TypeDetailDialog.vue.d.ts +0 -0
  292. /package/dist/src/{promo-codes → promoCodes}/components/create/TypeAndValue/TypeManageDialog.vue.d.ts +0 -0
  293. /package/dist/src/{promo-codes → promoCodes}/components/create/TypeAndValue/index.vue.d.ts +0 -0
  294. /package/dist/src/{promo-codes → promoCodes}/config.d.ts +0 -0
  295. /package/dist/src/{promo-codes → promoCodes}/index.d.ts +0 -0
  296. /package/dist/src/{promo-codes → promoCodes}/index.vue.d.ts +0 -0
  297. /package/dist/src/{promo-codes → promoCodes}/metadata.d.ts +0 -0
  298. /package/dist/src/{promo-codes → promoCodes}/pages/Create.vue.d.ts +0 -0
  299. /package/dist/src/{promo-codes → promoCodes}/pages/Detail.vue.d.ts +0 -0
  300. /package/dist/src/{promo-codes → promoCodes}/pages/Find.vue.d.ts +0 -0
  301. /package/dist/src/{promo-codes → promoCodes}/permissions.d.ts +0 -0
  302. /package/dist/src/{promo-codes → promoCodes}/routes.d.ts +0 -0
  303. /package/dist/src/{promo-codes → promoCodes}/stores/useTableStore.d.ts +0 -0
  304. /package/dist/src/{promo-codes → promoCodes}/types.d.ts +0 -0
  305. /package/dist/src/{shipping-options → shippingOptions}/components/detail/Condition.vue.d.ts +0 -0
  306. /package/dist/src/{shipping-options → shippingOptions}/components/detail/Countries.vue.d.ts +0 -0
  307. /package/dist/src/{shipping-options → shippingOptions}/components/detail/Example.vue.d.ts +0 -0
  308. /package/dist/src/{shipping-options → shippingOptions}/components/detail/Main.vue.d.ts +0 -0
  309. /package/dist/src/{shipping-options → shippingOptions}/components/overview/ListView.vue.d.ts +0 -0
  310. /package/dist/src/{shipping-options → shippingOptions}/composables/useTable.d.ts +0 -0
  311. /package/dist/src/{shipping-options → shippingOptions}/config.d.ts +0 -0
  312. /package/dist/src/{shipping-options → shippingOptions}/index.d.ts +0 -0
  313. /package/dist/src/{shipping-options → shippingOptions}/index.vue.d.ts +0 -0
  314. /package/dist/src/{shipping-options → shippingOptions}/metadata.d.ts +0 -0
  315. /package/dist/src/{shipping-options → shippingOptions}/pages/Detail.vue.d.ts +0 -0
  316. /package/dist/src/{shipping-options → shippingOptions}/pages/Overview.vue.d.ts +0 -0
  317. /package/dist/src/{shipping-options → shippingOptions}/permissions.d.ts +0 -0
  318. /package/dist/src/{shipping-options → shippingOptions}/routes.d.ts +0 -0
  319. /package/dist/src/{shipping-options → shippingOptions}/stores/useTableStore.d.ts +0 -0
  320. /package/dist/src/{shipping-options → shippingOptions}/tools.d.ts +0 -0
  321. /package/dist/src/{shipping-options → shippingOptions}/types.d.ts +0 -0
  322. /package/src/{content-manager → contentManager}/tools.ts +0 -0
  323. /package/src/{shipping-options → shippingOptions}/tools.ts +0 -0
@@ -0,0 +1 @@
1
+ "use strict";const Mt=["top","right","bottom","left"],bt=["start","end"],At=Mt.reduce((t,e)=>t.concat(e,e+"-"+bt[0],e+"-"+bt[1]),[]),$=Math.min,L=Math.max,ot=Math.round,nt=Math.floor,X=t=>({x:t,y:t}),Xt={left:"right",right:"left",bottom:"top",top:"bottom"},Yt={start:"end",end:"start"};function ut(t,e,n){return L(t,$(e,n))}function _(t,e){return typeof t=="function"?t(e):t}function k(t){return t.split("-")[0]}function V(t){return t.split("-")[1]}function mt(t){return t==="x"?"y":"x"}function ht(t){return t==="y"?"height":"width"}const jt=new Set(["top","bottom"]);function H(t){return jt.has(k(t))?"y":"x"}function gt(t){return mt(H(t))}function Ft(t,e,n){n===void 0&&(n=!1);const o=V(t),i=gt(t),s=ht(i);let r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=st(r)),[r,st(r)]}function qt(t){const e=st(t);return[it(t),e,it(e)]}function it(t){return t.replace(/start|end/g,e=>Yt[e])}const Ot=["left","right"],Rt=["right","left"],Ut=["top","bottom"],Kt=["bottom","top"];function Gt(t,e,n){switch(t){case"top":case"bottom":return n?e?Rt:Ot:e?Ot:Rt;case"left":case"right":return e?Ut:Kt;default:return[]}}function Jt(t,e,n,o){const i=V(t);let s=Gt(k(t),n==="start",o);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(it)))),s}function st(t){return t.replace(/left|right|bottom|top/g,e=>Xt[e])}function Qt(t){return{top:0,right:0,bottom:0,left:0,...t}}function pt(t){return typeof t!="number"?Qt(t):{top:t,right:t,bottom:t,left:t}}function Q(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function St(t,e,n){let{reference:o,floating:i}=t;const s=H(e),r=gt(e),c=ht(r),f=k(e),u=s==="y",d=o.x+o.width/2-i.width/2,l=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2;let a;switch(f){case"top":a={x:d,y:o.y-i.height};break;case"bottom":a={x:d,y:o.y+o.height};break;case"right":a={x:o.x+o.width,y:l};break;case"left":a={x:o.x-i.width,y:l};break;default:a={x:o.x,y:o.y}}switch(V(e)){case"start":a[r]-=m*(n&&u?-1:1);break;case"end":a[r]+=m*(n&&u?-1:1);break}return a}async function Zt(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:r,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:l="floating",altBoundary:m=!1,padding:a=0}=_(e,t),h=pt(a),p=c[m?l==="floating"?"reference":"floating":l],w=Q(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(p)))==null||n?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:f})),x=l==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),v=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},A=Q(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:y,strategy:f}):x);return{top:(w.top-A.top+h.top)/v.y,bottom:(A.bottom-w.bottom+h.bottom)/v.y,left:(w.left-A.left+h.left)/v.x,right:(A.right-w.right+h.right)/v.x}}const te=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,c=s.filter(Boolean),f=await(r.isRTL==null?void 0:r.isRTL(e));let u=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:l}=St(u,o,f),m=o,a={},h=0;for(let p=0;p<c.length;p++){var g;const{name:w,fn:x}=c[p],{x:y,y:v,data:A,reset:O}=await x({x:d,y:l,initialPlacement:o,placement:m,strategy:i,middlewareData:a,rects:u,platform:{...r,detectOverflow:(g=r.detectOverflow)!=null?g:Zt},elements:{reference:t,floating:e}});d=y??d,l=v??l,a={...a,[w]:{...a[w],...A}},O&&h<=50&&(h++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(u=O.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):O.rects),{x:d,y:l}=St(u,m,f)),p=-1)}return{x:d,y:l,placement:m,strategy:i,middlewareData:a}},ee=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:s,platform:r,elements:c,middlewareData:f}=e,{element:u,padding:d=0}=_(t,e)||{};if(u==null)return{};const l=pt(d),m={x:n,y:o},a=gt(i),h=ht(a),g=await r.getDimensions(u),p=a==="y",w=p?"top":"left",x=p?"bottom":"right",y=p?"clientHeight":"clientWidth",v=s.reference[h]+s.reference[a]-m[a]-s.floating[h],A=m[a]-s.reference[a],O=await(r.getOffsetParent==null?void 0:r.getOffsetParent(u));let R=O?O[y]:0;(!R||!await(r.isElement==null?void 0:r.isElement(O)))&&(R=c.floating[y]||s.floating[h]);const B=v/2-A/2,P=R/2-g[h]/2-1,b=$(l[w],P),S=$(l[x],P),T=b,E=R-g[h]-S,C=R/2-g[h]/2+B,N=ut(T,C,E),W=!f.arrow&&V(i)!=null&&C!==N&&s.reference[h]/2-(C<T?b:S)-g[h]/2<0,D=W?C<T?C-T:C-E:0;return{[a]:m[a]+D,data:{[a]:N,centerOffset:C-N-D,...W&&{alignmentOffset:D}},reset:W}}});function ne(t,e,n){return(t?[...n.filter(i=>V(i)===t),...n.filter(i=>V(i)!==t)]:n.filter(i=>k(i)===i)).filter(i=>t?V(i)===t||(e?it(i)!==i:!1):!0)}const oe=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,i;const{rects:s,middlewareData:r,placement:c,platform:f,elements:u}=e,{crossAxis:d=!1,alignment:l,allowedPlacements:m=At,autoAlignment:a=!0,...h}=_(t,e),g=l!==void 0||m===At?ne(l||null,a,m):m,p=await f.detectOverflow(e,h),w=((n=r.autoPlacement)==null?void 0:n.index)||0,x=g[w];if(x==null)return{};const y=Ft(x,s,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(c!==x)return{reset:{placement:g[0]}};const v=[p[k(x)],p[y[0]],p[y[1]]],A=[...((o=r.autoPlacement)==null?void 0:o.overflows)||[],{placement:x,overflows:v}],O=g[w+1];if(O)return{data:{index:w+1,overflows:A},reset:{placement:O}};const R=A.map(b=>{const S=V(b.placement);return[b.placement,S&&d?b.overflows.slice(0,2).reduce((T,E)=>T+E,0):b.overflows[0],b.overflows]}).sort((b,S)=>b[1]-S[1]),P=((i=R.filter(b=>b[2].slice(0,V(b[0])?2:3).every(S=>S<=0))[0])==null?void 0:i[0])||R[0][0];return P!==c?{data:{index:w+1,overflows:A},reset:{placement:P}}:{}}}},ie=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:c,platform:f,elements:u}=e,{mainAxis:d=!0,crossAxis:l=!0,fallbackPlacements:m,fallbackStrategy:a="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...p}=_(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const w=k(i),x=H(c),y=k(c)===c,v=await(f.isRTL==null?void 0:f.isRTL(u.floating)),A=m||(y||!g?[st(c)]:qt(c)),O=h!=="none";!m&&O&&A.push(...Jt(c,g,h,v));const R=[c,...A],B=await f.detectOverflow(e,p),P=[];let b=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&P.push(B[w]),l){const C=Ft(i,r,v);P.push(B[C[0]],B[C[1]])}if(b=[...b,{placement:i,overflows:P}],!P.every(C=>C<=0)){var S,T;const C=(((S=s.flip)==null?void 0:S.index)||0)+1,N=R[C];if(N&&(!(l==="alignment"?x!==H(N):!1)||b.every(M=>H(M.placement)===x?M.overflows[0]>0:!0)))return{data:{index:C,overflows:b},reset:{placement:N}};let W=(T=b.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:T.placement;if(!W)switch(a){case"bestFit":{var E;const D=(E=b.filter(M=>{if(O){const q=H(M.placement);return q===x||q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(q=>q>0).reduce((q,It)=>q+It,0)]).sort((M,q)=>M[1]-q[1])[0])==null?void 0:E[0];D&&(W=D);break}case"initialPlacement":W=c;break}if(i!==W)return{reset:{placement:W}}}return{}}}};function Ct(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Lt(t){return Mt.some(e=>t[e]>=0)}const se=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:i="referenceHidden",...s}=_(t,e);switch(i){case"referenceHidden":{const r=await o.detectOverflow(e,{...s,elementContext:"reference"}),c=Ct(r,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Lt(c)}}}case"escaped":{const r=await o.detectOverflow(e,{...s,altBoundary:!0}),c=Ct(r,n.floating);return{data:{escapedOffsets:c,escaped:Lt(c)}}}default:return{}}}}};function kt(t){const e=$(...t.map(s=>s.left)),n=$(...t.map(s=>s.top)),o=L(...t.map(s=>s.right)),i=L(...t.map(s=>s.bottom));return{x:e,y:n,width:o-e,height:i-n}}function re(t){const e=t.slice().sort((i,s)=>i.y-s.y),n=[];let o=null;for(let i=0;i<e.length;i++){const s=e[i];!o||s.y-o.y>o.height/2?n.push([s]):n[n.length-1].push(s),o=s}return n.map(i=>Q(kt(i)))}const ce=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:o,rects:i,platform:s,strategy:r}=e,{padding:c=2,x:f,y:u}=_(t,e),d=Array.from(await(s.getClientRects==null?void 0:s.getClientRects(o.reference))||[]),l=re(d),m=Q(kt(d)),a=pt(c);function h(){if(l.length===2&&l[0].left>l[1].right&&f!=null&&u!=null)return l.find(p=>f>p.left-a.left&&f<p.right+a.right&&u>p.top-a.top&&u<p.bottom+a.bottom)||m;if(l.length>=2){if(H(n)==="y"){const b=l[0],S=l[l.length-1],T=k(n)==="top",E=b.top,C=S.bottom,N=T?b.left:S.left,W=T?b.right:S.right,D=W-N,M=C-E;return{top:E,bottom:C,left:N,right:W,width:D,height:M,x:N,y:E}}const p=k(n)==="left",w=L(...l.map(b=>b.right)),x=$(...l.map(b=>b.left)),y=l.filter(b=>p?b.left===x:b.right===w),v=y[0].top,A=y[y.length-1].bottom,O=x,R=w,B=R-O,P=A-v;return{top:v,bottom:A,left:O,right:R,width:B,height:P,x:O,y:v}}return m}const g=await s.getElementRects({reference:{getBoundingClientRect:h},floating:o.floating,strategy:r});return i.reference.x!==g.reference.x||i.reference.y!==g.reference.y||i.reference.width!==g.reference.width||i.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}},Bt=new Set(["left","top"]);async function le(t,e){const{placement:n,platform:o,elements:i}=t,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),r=k(n),c=V(n),f=H(n)==="y",u=Bt.has(r)?-1:1,d=s&&f?-1:1,l=_(e,t);let{mainAxis:m,crossAxis:a,alignmentAxis:h}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return c&&typeof h=="number"&&(a=c==="end"?h*-1:h),f?{x:a*d,y:m*u}:{x:m*u,y:a*d}}const fe=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:r,middlewareData:c}=e,f=await le(e,t);return r===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:r}}}}},ae=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i,platform:s}=e,{mainAxis:r=!0,crossAxis:c=!1,limiter:f={fn:w=>{let{x,y}=w;return{x,y}}},...u}=_(t,e),d={x:n,y:o},l=await s.detectOverflow(e,u),m=H(k(i)),a=mt(m);let h=d[a],g=d[m];if(r){const w=a==="y"?"top":"left",x=a==="y"?"bottom":"right",y=h+l[w],v=h-l[x];h=ut(y,h,v)}if(c){const w=m==="y"?"top":"left",x=m==="y"?"bottom":"right",y=g+l[w],v=g-l[x];g=ut(y,g,v)}const p=f.fn({...e,[a]:h,[m]:g});return{...p,data:{x:p.x-n,y:p.y-o,enabled:{[a]:r,[m]:c}}}}}},ue=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:s,middlewareData:r}=e,{offset:c=0,mainAxis:f=!0,crossAxis:u=!0}=_(t,e),d={x:n,y:o},l=H(i),m=mt(l);let a=d[m],h=d[l];const g=_(c,e),p=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(f){const y=m==="y"?"height":"width",v=s.reference[m]-s.floating[y]+p.mainAxis,A=s.reference[m]+s.reference[y]-p.mainAxis;a<v?a=v:a>A&&(a=A)}if(u){var w,x;const y=m==="y"?"width":"height",v=Bt.has(k(i)),A=s.reference[l]-s.floating[y]+(v&&((w=r.offset)==null?void 0:w[l])||0)+(v?0:p.crossAxis),O=s.reference[l]+s.reference[y]+(v?0:((x=r.offset)==null?void 0:x[l])||0)-(v?p.crossAxis:0);h<A?h=A:h>O&&(h=O)}return{[m]:a,[l]:h}}}},de=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:r,elements:c}=e,{apply:f=()=>{},...u}=_(t,e),d=await r.detectOverflow(e,u),l=k(i),m=V(i),a=H(i)==="y",{width:h,height:g}=s.floating;let p,w;l==="top"||l==="bottom"?(p=l,w=m===(await(r.isRTL==null?void 0:r.isRTL(c.floating))?"start":"end")?"left":"right"):(w=l,p=m==="end"?"top":"bottom");const x=g-d.top-d.bottom,y=h-d.left-d.right,v=$(g-d[p],x),A=$(h-d[w],y),O=!e.middlewareData.shift;let R=v,B=A;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(B=y),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(R=x),O&&!m){const b=L(d.left,0),S=L(d.right,0),T=L(d.top,0),E=L(d.bottom,0);a?B=h-2*(b!==0||S!==0?b+S:L(d.left,d.right)):R=g-2*(T!==0||E!==0?T+E:L(d.top,d.bottom))}await f({...e,availableWidth:B,availableHeight:R});const P=await r.getDimensions(c.floating);return h!==P.width||g!==P.height?{reset:{rects:!0}}:{}}}};function rt(){return typeof window<"u"}function G(t){return wt(t)?(t.nodeName||"").toLowerCase():"#document"}function F(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function j(t){var e;return(e=(wt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function wt(t){return rt()?t instanceof Node||t instanceof F(t).Node:!1}function z(t){return rt()?t instanceof Element||t instanceof F(t).Element:!1}function Y(t){return rt()?t instanceof HTMLElement||t instanceof F(t).HTMLElement:!1}function Pt(t){return!rt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof F(t).ShadowRoot}const me=new Set(["inline","contents"]);function et(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=I(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!me.has(i)}const he=new Set(["table","td","th"]);function ge(t){return he.has(G(t))}const pe=[":popover-open",":modal"];function ct(t){return pe.some(e=>{try{return t.matches(e)}catch{return!1}})}const we=["transform","translate","scale","rotate","perspective"],xe=["transform","translate","scale","rotate","perspective","filter"],ye=["paint","layout","strict","content"];function xt(t){const e=yt(),n=z(t)?I(t):t;return we.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||xe.some(o=>(n.willChange||"").includes(o))||ye.some(o=>(n.contain||"").includes(o))}function ve(t){let e=U(t);for(;Y(e)&&!Z(e);){if(xt(e))return e;if(ct(e))return null;e=U(e)}return null}function yt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const be=new Set(["html","body","#document"]);function Z(t){return be.has(G(t))}function I(t){return F(t).getComputedStyle(t)}function lt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function U(t){if(G(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Pt(t)&&t.host||j(t);return Pt(e)?e.host:e}function Wt(t){const e=U(t);return Z(e)?t.ownerDocument?t.ownerDocument.body:t.body:Y(e)&&et(e)?e:Wt(e)}function tt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Wt(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),r=F(i);if(s){const c=dt(r);return e.concat(r,r.visualViewport||[],et(i)?i:[],c&&n?tt(c):[])}return e.concat(i,tt(i,[],n))}function dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Nt(t){const e=I(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=Y(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,c=ot(n)!==s||ot(o)!==r;return c&&(n=s,o=r),{width:n,height:o,$:c}}function vt(t){return z(t)?t:t.contextElement}function J(t){const e=vt(t);if(!Y(e))return X(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=Nt(e);let r=(s?ot(n.width):n.width)/o,c=(s?ot(n.height):n.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const Ae=X(0);function Ht(t){const e=F(t);return!yt()||!e.visualViewport?Ae:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Oe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==F(t)?!1:e}function K(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=vt(t);let r=X(1);e&&(o?z(o)&&(r=J(o)):r=J(t));const c=Oe(s,n,o)?Ht(s):X(0);let f=(i.left+c.x)/r.x,u=(i.top+c.y)/r.y,d=i.width/r.x,l=i.height/r.y;if(s){const m=F(s),a=o&&z(o)?F(o):o;let h=m,g=dt(h);for(;g&&o&&a!==h;){const p=J(g),w=g.getBoundingClientRect(),x=I(g),y=w.left+(g.clientLeft+parseFloat(x.paddingLeft))*p.x,v=w.top+(g.clientTop+parseFloat(x.paddingTop))*p.y;f*=p.x,u*=p.y,d*=p.x,l*=p.y,f+=y,u+=v,h=F(g),g=dt(h)}}return Q({width:d,height:l,x:f,y:u})}function ft(t,e){const n=lt(t).scrollLeft;return e?e.left+n:K(j(t)).left+n}function Vt(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-ft(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function Re(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",r=j(o),c=e?ct(e.floating):!1;if(o===r||c&&s)return n;let f={scrollLeft:0,scrollTop:0},u=X(1);const d=X(0),l=Y(o);if((l||!l&&!s)&&((G(o)!=="body"||et(r))&&(f=lt(o)),Y(o))){const a=K(o);u=J(o),d.x=a.x+o.clientLeft,d.y=a.y+o.clientTop}const m=r&&!l&&!s?Vt(r,f):X(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+d.x+m.x,y:n.y*u.y-f.scrollTop*u.y+d.y+m.y}}function Se(t){return Array.from(t.getClientRects())}function Ce(t){const e=j(t),n=lt(t),o=t.ownerDocument.body,i=L(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=L(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+ft(t);const c=-n.scrollTop;return I(o).direction==="rtl"&&(r+=L(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:c}}const Tt=25;function Le(t,e){const n=F(t),o=j(t),i=n.visualViewport;let s=o.clientWidth,r=o.clientHeight,c=0,f=0;if(i){s=i.width,r=i.height;const d=yt();(!d||d&&e==="fixed")&&(c=i.offsetLeft,f=i.offsetTop)}const u=ft(o);if(u<=0){const d=o.ownerDocument,l=d.body,m=getComputedStyle(l),a=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,h=Math.abs(o.clientWidth-l.clientWidth-a);h<=Tt&&(s-=h)}else u<=Tt&&(s+=u);return{width:s,height:r,x:c,y:f}}const Pe=new Set(["absolute","fixed"]);function Te(t,e){const n=K(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=Y(t)?J(t):X(1),r=t.clientWidth*s.x,c=t.clientHeight*s.y,f=i*s.x,u=o*s.y;return{width:r,height:c,x:f,y:u}}function Et(t,e,n){let o;if(e==="viewport")o=Le(t,n);else if(e==="document")o=Ce(j(t));else if(z(e))o=Te(e,n);else{const i=Ht(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Q(o)}function $t(t,e){const n=U(t);return n===e||!z(n)||Z(n)?!1:I(n).position==="fixed"||$t(n,e)}function Ee(t,e){const n=e.get(t);if(n)return n;let o=tt(t,[],!1).filter(c=>z(c)&&G(c)!=="body"),i=null;const s=I(t).position==="fixed";let r=s?U(t):t;for(;z(r)&&!Z(r);){const c=I(r),f=xt(r);!f&&c.position==="fixed"&&(i=null),(s?!f&&!i:!f&&c.position==="static"&&!!i&&Pe.has(i.position)||et(r)&&!f&&$t(t,r))?o=o.filter(d=>d!==r):i=c,r=U(r)}return e.set(t,o),o}function De(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[...n==="clippingAncestors"?ct(e)?[]:Ee(e,this._c):[].concat(n),o],c=r[0],f=r.reduce((u,d)=>{const l=Et(e,d,i);return u.top=L(l.top,u.top),u.right=$(l.right,u.right),u.bottom=$(l.bottom,u.bottom),u.left=L(l.left,u.left),u},Et(e,c,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Me(t){const{width:e,height:n}=Nt(t);return{width:e,height:n}}function Fe(t,e,n){const o=Y(e),i=j(e),s=n==="fixed",r=K(t,!0,s,e);let c={scrollLeft:0,scrollTop:0};const f=X(0);function u(){f.x=ft(i)}if(o||!o&&!s)if((G(e)!=="body"||et(i))&&(c=lt(e)),o){const a=K(e,!0,s,e);f.x=a.x+e.clientLeft,f.y=a.y+e.clientTop}else i&&u();s&&!o&&i&&u();const d=i&&!o&&!s?Vt(i,c):X(0),l=r.left+c.scrollLeft-f.x-d.x,m=r.top+c.scrollTop-f.y-d.y;return{x:l,y:m,width:r.width,height:r.height}}function at(t){return I(t).position==="static"}function Dt(t,e){if(!Y(t)||I(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return j(t)===n&&(n=n.ownerDocument.body),n}function _t(t,e){const n=F(t);if(ct(t))return n;if(!Y(t)){let i=U(t);for(;i&&!Z(i);){if(z(i)&&!at(i))return i;i=U(i)}return n}let o=Dt(t,e);for(;o&&ge(o)&&at(o);)o=Dt(o,e);return o&&Z(o)&&at(o)&&!xt(o)?n:o||ve(t)||n}const ke=async function(t){const e=this.getOffsetParent||_t,n=this.getDimensions,o=await n(t.floating);return{reference:Fe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Be(t){return I(t).direction==="rtl"}const We={convertOffsetParentRelativeRectToViewportRelativeRect:Re,getDocumentElement:j,getClippingRect:De,getOffsetParent:_t,getElementRects:ke,getClientRects:Se,getDimensions:Me,getScale:J,isElement:z,isRTL:Be};function zt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ne(t,e){let n=null,o;const i=j(t);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();const u=t.getBoundingClientRect(),{left:d,top:l,width:m,height:a}=u;if(c||e(),!m||!a)return;const h=nt(l),g=nt(i.clientWidth-(d+m)),p=nt(i.clientHeight-(l+a)),w=nt(d),y={rootMargin:-h+"px "+-g+"px "+-p+"px "+-w+"px",threshold:L(0,$(1,f))||1};let v=!0;function A(O){const R=O[0].intersectionRatio;if(R!==f){if(!v)return r();R?r(!1,R):o=setTimeout(()=>{r(!1,1e-7)},1e3)}R===1&&!zt(u,t.getBoundingClientRect())&&r(),v=!1}try{n=new IntersectionObserver(A,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(A,y)}n.observe(t)}return r(!0),s}function He(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=o,u=vt(t),d=i||s?[...u?tt(u):[],...tt(e)]:[];d.forEach(w=>{i&&w.addEventListener("scroll",n,{passive:!0}),s&&w.addEventListener("resize",n)});const l=u&&c?Ne(u,n):null;let m=-1,a=null;r&&(a=new ResizeObserver(w=>{let[x]=w;x&&x.target===u&&a&&(a.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=a)==null||y.observe(e)})),n()}),u&&!f&&a.observe(u),a.observe(e));let h,g=f?K(t):null;f&&p();function p(){const w=K(t);g&&!zt(g,w)&&n(),g=w,h=requestAnimationFrame(p)}return n(),()=>{var w;d.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),l?.(),(w=a)==null||w.disconnect(),a=null,f&&cancelAnimationFrame(h)}}const Ve=fe,$e=oe,_e=ae,ze=ie,Ie=de,Xe=se,Ye=ee,je=ce,qe=ue,Ue=(t,e,n)=>{const o=new Map,i={platform:We,...n},s={...i.platform,_c:o};return te(t,e,{...i,platform:s})};exports.arrow=Ye;exports.autoPlacement=$e;exports.autoUpdate=He;exports.computePosition=Ue;exports.flip=ze;exports.getNodeName=G;exports.hide=Xe;exports.inline=je;exports.isNode=wt;exports.limitShift=qe;exports.offset=Ve;exports.shift=_e;exports.size=Ie;
@@ -1,4 +1,4 @@
1
- import { t as E, i as y, a as O, b as W, c as z, p as M, d as R, e as B } from "./index-Uf7TwBuW.mjs";
1
+ import { t as E, i as y, a as O, b as W, w as z, p as M, c as R, d as B } from "./index-CrGjxSwa.mjs";
2
2
  import { computed as b, shallowRef as p, watch as S, toValue as w, watchEffect as H, hasInjectionContext as C, unref as N, getCurrentInstance as T, onMounted as L } from "vue";
3
3
  const g = y ? window : void 0;
4
4
  function m(o) {
@@ -0,0 +1,54 @@
1
+ "use strict";const Rt=require("vue");var xe="http://www.w3.org/1999/xhtml";const rn={svg:"http://www.w3.org/2000/svg",xhtml:xe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function oe(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),rn.hasOwnProperty(e)?{space:rn[e],local:t}:t}function qr(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===xe&&e.documentElement.namespaceURI===xe?e.createElement(t):e.createElementNS(n,t)}}function Ur(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Bn(t){var e=oe(t);return(e.local?Ur:qr)(e)}function Gr(){}function Ie(t){return t==null?Gr:function(){return this.querySelector(t)}}function Xr(t){typeof t!="function"&&(t=Ie(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],o=s.length,a=r[i]=new Array(o),c,u,f=0;f<o;++f)(c=s[f])&&(u=t.call(c,c.__data__,f,s))&&("__data__"in c&&(u.__data__=c.__data__),a[f]=u);return new M(r,this._parents)}function Yr(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Zr(){return[]}function Hn(t){return t==null?Zr:function(){return this.querySelectorAll(t)}}function Kr(t){return function(){return Yr(t.apply(this,arguments))}}function Jr(t){typeof t=="function"?t=Kr(t):t=Hn(t);for(var e=this._groups,n=e.length,r=[],i=[],s=0;s<n;++s)for(var o=e[s],a=o.length,c,u=0;u<a;++u)(c=o[u])&&(r.push(t.call(c,c.__data__,u,o)),i.push(c));return new M(r,i)}function Vn(t){return function(){return this.matches(t)}}function Pn(t){return function(e){return e.matches(t)}}var Qr=Array.prototype.find;function jr(t){return function(){return Qr.call(this.children,t)}}function ti(){return this.firstElementChild}function ei(t){return this.select(t==null?ti:jr(typeof t=="function"?t:Pn(t)))}var ni=Array.prototype.filter;function ri(){return Array.from(this.children)}function ii(t){return function(){return ni.call(this.children,t)}}function si(t){return this.selectAll(t==null?ri:ii(typeof t=="function"?t:Pn(t)))}function oi(t){typeof t!="function"&&(t=Vn(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],o=s.length,a=r[i]=[],c,u=0;u<o;++u)(c=s[u])&&t.call(c,c.__data__,u,s)&&a.push(c);return new M(r,this._parents)}function Wn(t){return new Array(t.length)}function ai(){return new M(this._enter||this._groups.map(Wn),this._parents)}function Xt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Xt.prototype={constructor:Xt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function ci(t){return function(){return t}}function ui(t,e,n,r,i,s){for(var o=0,a,c=e.length,u=s.length;o<u;++o)(a=e[o])?(a.__data__=s[o],r[o]=a):n[o]=new Xt(t,s[o]);for(;o<c;++o)(a=e[o])&&(i[o]=a)}function fi(t,e,n,r,i,s,o){var a,c,u=new Map,f=e.length,l=s.length,h=new Array(f),p;for(a=0;a<f;++a)(c=e[a])&&(h[a]=p=o.call(c,c.__data__,a,e)+"",u.has(p)?i[a]=c:u.set(p,c));for(a=0;a<l;++a)p=o.call(t,s[a],a,s)+"",(c=u.get(p))?(r[a]=c,c.__data__=s[a],u.delete(p)):n[a]=new Xt(t,s[a]);for(a=0;a<f;++a)(c=e[a])&&u.get(h[a])===c&&(i[a]=c)}function li(t){return t.__data__}function hi(t,e){if(!arguments.length)return Array.from(this,li);var n=e?fi:ui,r=this._parents,i=this._groups;typeof t!="function"&&(t=ci(t));for(var s=i.length,o=new Array(s),a=new Array(s),c=new Array(s),u=0;u<s;++u){var f=r[u],l=i[u],h=l.length,p=di(t.call(f,f&&f.__data__,u,r)),g=p.length,d=a[u]=new Array(g),y=o[u]=new Array(g),m=c[u]=new Array(h);n(f,l,d,y,m,p,e);for(var v=0,_=0,S,x;v<g;++v)if(S=d[v]){for(v>=_&&(_=v+1);!(x=y[_])&&++_<g;);S._next=x||null}}return o=new M(o,r),o._enter=a,o._exit=c,o}function di(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function gi(){return new M(this._exit||this._groups.map(Wn),this._parents)}function pi(t,e,n){var r=this.enter(),i=this,s=this.exit();return typeof t=="function"?(r=t(r),r&&(r=r.selection())):r=r.append(t+""),e!=null&&(i=e(i),i&&(i=i.selection())),n==null?s.remove():n(s),r&&i?r.merge(i).order():i}function vi(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,s=r.length,o=Math.min(i,s),a=new Array(i),c=0;c<o;++c)for(var u=n[c],f=r[c],l=u.length,h=a[c]=new Array(l),p,g=0;g<l;++g)(p=u[g]||f[g])&&(h[g]=p);for(;c<i;++c)a[c]=n[c];return new M(a,this._parents)}function mi(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r=t[e],i=r.length-1,s=r[i],o;--i>=0;)(o=r[i])&&(s&&o.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(o,s),s=o);return this}function yi(t){t||(t=_i);function e(l,h){return l&&h?t(l.__data__,h.__data__):!l-!h}for(var n=this._groups,r=n.length,i=new Array(r),s=0;s<r;++s){for(var o=n[s],a=o.length,c=i[s]=new Array(a),u,f=0;f<a;++f)(u=o[f])&&(c[f]=u);c.sort(e)}return new M(i,this._parents).order()}function _i(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function xi(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function wi(){return Array.from(this)}function bi(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length;i<s;++i){var o=r[i];if(o)return o}return null}function Ai(){let t=0;for(const e of this)++t;return t}function Ti(){return!this.node()}function Si(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i=e[n],s=0,o=i.length,a;s<o;++s)(a=i[s])&&t.call(a,a.__data__,s,i);return this}function Ei(t){return function(){this.removeAttribute(t)}}function Ci(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $i(t,e){return function(){this.setAttribute(t,e)}}function Ri(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Ni(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function ki(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Oi(t,e){var n=oe(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((e==null?n.local?Ci:Ei:typeof e=="function"?n.local?ki:Ni:n.local?Ri:$i)(n,e))}function qn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Mi(t){return function(){this.style.removeProperty(t)}}function zi(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Fi(t,e,n){return function(){var r=e.apply(this,arguments);r==null?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Di(t,e,n){return arguments.length>1?this.each((e==null?Mi:typeof e=="function"?Fi:zi)(t,e,n??"")):it(this.node(),t)}function it(t,e){return t.style.getPropertyValue(e)||qn(t).getComputedStyle(t,null).getPropertyValue(e)}function Ii(t){return function(){delete this[t]}}function Li(t,e){return function(){this[t]=e}}function Bi(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Hi(t,e){return arguments.length>1?this.each((e==null?Ii:typeof e=="function"?Bi:Li)(t,e)):this.node()[t]}function Un(t){return t.trim().split(/^|\s+/)}function Le(t){return t.classList||new Gn(t)}function Gn(t){this._node=t,this._names=Un(t.getAttribute("class")||"")}Gn.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Xn(t,e){for(var n=Le(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Yn(t,e){for(var n=Le(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Vi(t){return function(){Xn(this,t)}}function Pi(t){return function(){Yn(this,t)}}function Wi(t,e){return function(){(e.apply(this,arguments)?Xn:Yn)(this,t)}}function qi(t,e){var n=Un(t+"");if(arguments.length<2){for(var r=Le(this.node()),i=-1,s=n.length;++i<s;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof e=="function"?Wi:e?Vi:Pi)(n,e))}function Ui(){this.textContent=""}function Gi(t){return function(){this.textContent=t}}function Xi(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function Yi(t){return arguments.length?this.each(t==null?Ui:(typeof t=="function"?Xi:Gi)(t)):this.node().textContent}function Zi(){this.innerHTML=""}function Ki(t){return function(){this.innerHTML=t}}function Ji(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Qi(t){return arguments.length?this.each(t==null?Zi:(typeof t=="function"?Ji:Ki)(t)):this.node().innerHTML}function ji(){this.nextSibling&&this.parentNode.appendChild(this)}function ts(){return this.each(ji)}function es(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ns(){return this.each(es)}function rs(t){var e=typeof t=="function"?t:Bn(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function is(){return null}function ss(t,e){var n=typeof t=="function"?t:Bn(t),r=e==null?is:typeof e=="function"?e:Ie(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function os(){var t=this.parentNode;t&&t.removeChild(this)}function as(){return this.each(os)}function cs(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function us(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function fs(t){return this.select(t?us:cs)}function ls(t){return arguments.length?this.property("__data__",t):this.node().__data__}function hs(t){return function(e){t.call(this,e,this.__data__)}}function ds(t){return t.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function gs(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,i=e.length,s;n<i;++n)s=e[n],(!t.type||s.type===t.type)&&s.name===t.name?this.removeEventListener(s.type,s.listener,s.options):e[++r]=s;++r?e.length=r:delete this.__on}}}function ps(t,e,n){return function(){var r=this.__on,i,s=hs(e);if(r){for(var o=0,a=r.length;o<a;++o)if((i=r[o]).type===t.type&&i.name===t.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=s,i.options=n),i.value=e;return}}this.addEventListener(t.type,s,n),i={type:t.type,name:t.name,value:e,listener:s,options:n},r?r.push(i):this.__on=[i]}}function vs(t,e,n){var r=ds(t+""),i,s=r.length,o;if(arguments.length<2){var a=this.node().__on;if(a){for(var c=0,u=a.length,f;c<u;++c)for(i=0,f=a[c];i<s;++i)if((o=r[i]).type===f.type&&o.name===f.name)return f.value}return}for(a=e?ps:gs,i=0;i<s;++i)this.each(a(r[i],e,n));return this}function Zn(t,e,n){var r=qn(t),i=r.CustomEvent;typeof i=="function"?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function ms(t,e){return function(){return Zn(this,t,e)}}function ys(t,e){return function(){return Zn(this,t,e.apply(this,arguments))}}function _s(t,e){return this.each((typeof e=="function"?ys:ms)(t,e))}function*xs(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,s=r.length,o;i<s;++i)(o=r[i])&&(yield o)}var Kn=[null];function M(t,e){this._groups=t,this._parents=e}function Et(){return new M([[document.documentElement]],Kn)}function ws(){return this}M.prototype=Et.prototype={constructor:M,select:Xr,selectAll:Jr,selectChild:ei,selectChildren:si,filter:oi,data:hi,enter:ai,exit:gi,join:pi,merge:vi,selection:ws,order:mi,sort:yi,call:xi,nodes:wi,node:bi,size:Ai,empty:Ti,each:Si,attr:Oi,style:Di,property:Hi,classed:qi,text:Yi,html:Qi,raise:ts,lower:ns,append:rs,insert:ss,remove:as,clone:fs,datum:ls,on:vs,dispatch:_s,[Symbol.iterator]:xs};function Yt(t){return typeof t=="string"?new M([[document.querySelector(t)]],[document.documentElement]):new M([[t]],Kn)}var gt;(function(t){t[t.SVG=0]="SVG",t[t.HTML=1]="HTML"})(gt||(gt={}));exports.Sizing=void 0;(function(t){t.Fit="fit",t.Extend="extend",t.FitWidth="fit_width"})(exports.Sizing||(exports.Sizing={}));function pt(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function bs(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Be(t){let e,n,r;t.length!==2?(e=pt,n=(a,c)=>pt(t(a),c),r=(a,c)=>t(a)-c):(e=t===pt||t===bs?t:As,n=t,r=t);function i(a,c,u=0,f=a.length){if(u<f){if(e(c,c)!==0)return f;do{const l=u+f>>>1;n(a[l],c)<0?u=l+1:f=l}while(u<f)}return u}function s(a,c,u=0,f=a.length){if(u<f){if(e(c,c)!==0)return f;do{const l=u+f>>>1;n(a[l],c)<=0?u=l+1:f=l}while(u<f)}return u}function o(a,c,u=0,f=a.length){const l=i(a,c,u,f-1);return l>u&&r(a[l-1],c)>-r(a[l],c)?l-1:l}return{left:i,center:o,right:s}}function As(){return 0}function Jn(t){return t===null?NaN:+t}const Qn=Be(pt),jn=Qn.right,Ts=Qn.left;Be(Jn).center;function we(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n<r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function be(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function Ss(t,e){let n=0,r=0;if(e===void 0)for(let i of t)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let s of t)(s=e(s,++i,t))!=null&&(s=+s)>=s&&(++n,r+=s)}if(n)return r/n}function Es(t,e){let n=0;if(e===void 0)for(let r of t)(r=+r)&&(n+=r);else{let r=-1;for(let i of t)(i=+e(i,++r,t))&&(n+=i)}return n}function Cs(t,e,n){var r={},i=r.noTrailing,s=i===void 0?!1:i,o=r.noLeading,a=o===void 0?!1:o,c=r.debounceMode,u=c===void 0?void 0:c,f,l=!1,h=0;function p(){f&&clearTimeout(f)}function g(y){var m=y||{},v=m.upcomingOnly,_=v===void 0?!1:v;p(),l=!_}function d(){for(var y=arguments.length,m=new Array(y),v=0;v<y;v++)m[v]=arguments[v];var _=this,S=Date.now()-h;if(l)return;function x(){h=Date.now(),e.apply(_,m)}function b(){f=void 0}!a&&u&&!f&&x(),p(),u===void 0&&S>t?a?(h=Date.now(),s||(f=setTimeout(u?b:x,t))):x():s!==!0&&(f=setTimeout(u?b:x,u===void 0?t-S:t))}return d.cancel=g,d}exports.FindNearestDirection=void 0;(function(t){t.Left="left",t.Right="right",t.Auto="auto"})(exports.FindNearestDirection||(exports.FindNearestDirection={}));const ae=t=>typeof t=="number",He=t=>typeof t=="function",ce=t=>Array.isArray(t),$s=t=>t instanceof Object,Zt=t=>t.constructor.name!=="Function"&&t.constructor.name!=="Object",sn=t=>$s(t)&&!ce(t)&&!He(t)&&!Zt(t),Rs=t=>[Object,Array].includes((t||{}).constructor)&&!Object.entries(t||{}).length,yt=(t,e,n=[],r=new Set)=>{if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;if(r.has(t))return!0;r.add(t);for(let i=0;i<t.length;i++)if(!yt(t[i],e[i],n,r))return!1;return!0}if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(typeof t=="object"&&t!==null&&e!==null){if(typeof e!="object")return!1;if(t===e)return!0;const i=Object.keys(t).filter(o=>!n.includes(o)),s=Object.keys(e).filter(o=>!n.includes(o));if(i.length!==s.length)return!1;if(r.has(t))return!0;r.add(t);for(const o of i)if(!yt(t[o],e[o],n,r))return!1;return!0}return t===e},tr=t=>t.flat(),Kt=(t,e=new Map)=>{if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof Array){const n=[];e.set(t,n);for(const r of t)n.push(e.has(r)?e.get(r):Kt(r,e));return n}if(Zt(t))return t;if(t instanceof Object){const n={};e.set(t,n);const r=t;return Object.keys(t).reduce((i,s)=>(i[s]=e.has(r[s])?e.get(r[s]):Kt(r[s],e),i),n),n}return t},st=(t,e,n=new Map)=>{if(!t||!e||t===e)return t;const r=Zt(t)?t:Kt(t);return n.has(e)?n.get(e):(n.set(e,r),Object.keys(e).forEach(i=>{i==="__proto__"||i==="constructor"||(sn(t[i])&&sn(e[i])?r[i]=st(t[i],e[i],n):Zt(e)?r[i]=e:r[i]=Kt(e[i]))}),r)},Ae=(t,e,n)=>Cs(e,t);function Ve(t,e,n){return He(e)?e(t,n):e}function er(t,e,n){return Ve(t,e,n)}function z(t,e,n){return Ve(t,e,n)}function Ns(t){return t.filter(e=>e&&!ae(e))}function Te(t,e,n){return Math.min(Math.max(t,e),n)}function ks(t,...e){if(!t)return[void 0,void 0];if(ce(e)){let n=0,r=0;return t.forEach((i,s)=>{let o=0,a=0;for(const c of e){const u=z(i,c,s)||0;u>=0?o+=u:a+=u}o>r&&(r=o),a<n&&(n=a)}),[n,r]}}function Os(t,e,...n){const r=[];let i=0,s=0;for(const o of n){const a=z(t,o,e)||0;a>=0?r.push(i+=a):r.push(s+=a)}return r}function Ms(t,e,n,r){const i=t.map((a,c)=>z(a,e,c)||0),s=n.map((a,c)=>{const u=Ss(t,(f,l)=>z(f,a,l)||0);return u===0&&Array.isArray(r)?r[c]:u<0}),o=n.map(()=>[]);return t.forEach((a,c)=>{let u=i[c],f=i[c];n.forEach((l,h)=>{const p=z(a,l,c)||0;p>=0?o[h].push([u,u+=p]):o[h].push([f,f+=p])})}),o.forEach((a,c)=>{a.isMostlyNegative=s[c]}),o}function nr(t,...e){return t?be(t,(r,i)=>be(e,s=>z(r,s,i))):void 0}function rr(t,...e){return t?we(t,(r,i)=>we(e,s=>z(r,s,i))):void 0}function zs(t,...e){return[nr(t,...e),rr(t,...e)]}function Se(t,e,n,r=exports.FindNearestDirection.Auto){if(t.length<=1)return t[0];const s=t.map((c,u)=>[c,u]).sort(([c,u],[f,l])=>z(c,n,u)-z(f,n,l)),o=s.map(([c,u])=>z(c,n,u)),a=r===exports.FindNearestDirection.Right?Ts(o,e,0,t.length-1):jn(o,e,1,t.length);return r===exports.FindNearestDirection.Right?s[a][0]:r===exports.FindNearestDirection.Left?s[a-1][0]:e-o[a-1]>o[a]-e?s[a][0]:s[a-1][0]}function Fs(t,e,n,r=!1){if(!n)return[];const i=t.filter((s,o)=>{const a=z(s,n,o);return a>=e[0]&&a<=e[1]});if(r){if(i.length===0){const l=Se(t,e[0],n,exports.FindNearestDirection.Left),h=Se(t,e[1],n,exports.FindNearestDirection.Right);return[l,h].filter(Boolean)}const s=i[0],o=i[i.length-1],a=t.findIndex(l=>l===s),c=t.findIndex(l=>l===o),u=Math.max(0,a-1),f=Math.min(t.length-1,c+1);return t.slice(u,f+1)}return i}var K=[],Ds=function(){return K.some(function(t){return t.activeTargets.length>0})},Is=function(){return K.some(function(t){return t.skippedTargets.length>0})},on="ResizeObserver loop completed with undelivered notifications.",Ls=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:on}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=on),window.dispatchEvent(t)},_t;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(_t||(_t={}));var J=function(t){return Object.freeze(t)},Bs=(function(){function t(e,n){this.inlineSize=e,this.blockSize=n,J(this)}return t})(),ir=(function(){function t(e,n,r,i){return this.x=e,this.y=n,this.width=r,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,J(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,r=e.y,i=e.top,s=e.right,o=e.bottom,a=e.left,c=e.width,u=e.height;return{x:n,y:r,top:i,right:s,bottom:o,left:a,width:c,height:u}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t})(),Pe=function(t){return t instanceof SVGElement&&"getBBox"in t},sr=function(t){if(Pe(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var i=t,s=i.offsetWidth,o=i.offsetHeight;return!(s||o||t.getClientRects().length)},an=function(t){var e;if(t instanceof Element)return!0;var n=(e=t?.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Hs=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},vt=typeof window<"u"?window:{},Nt=new WeakMap,cn=/auto|scroll/,Vs=/^tb|vertical/,Ps=/msie|trident/i.test(vt.navigator&&vt.navigator.userAgent),B=function(t){return parseFloat(t||"0")},et=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Bs((n?e:t)||0,(n?t:e)||0)},un=J({devicePixelContentBoxSize:et(),borderBoxSize:et(),contentBoxSize:et(),contentRect:new ir(0,0,0,0)}),or=function(t,e){if(e===void 0&&(e=!1),Nt.has(t)&&!e)return Nt.get(t);if(sr(t))return Nt.set(t,un),un;var n=getComputedStyle(t),r=Pe(t)&&t.ownerSVGElement&&t.getBBox(),i=!Ps&&n.boxSizing==="border-box",s=Vs.test(n.writingMode||""),o=!r&&cn.test(n.overflowY||""),a=!r&&cn.test(n.overflowX||""),c=r?0:B(n.paddingTop),u=r?0:B(n.paddingRight),f=r?0:B(n.paddingBottom),l=r?0:B(n.paddingLeft),h=r?0:B(n.borderTopWidth),p=r?0:B(n.borderRightWidth),g=r?0:B(n.borderBottomWidth),d=r?0:B(n.borderLeftWidth),y=l+u,m=c+f,v=d+p,_=h+g,S=a?t.offsetHeight-_-t.clientHeight:0,x=o?t.offsetWidth-v-t.clientWidth:0,b=i?y+v:0,w=i?m+_:0,L=r?r.width:B(n.width)-b-x,C=r?r.height:B(n.height)-w-S,Pr=L+y+x+v,Wr=C+m+S+_,nn=J({devicePixelContentBoxSize:et(Math.round(L*devicePixelRatio),Math.round(C*devicePixelRatio),s),borderBoxSize:et(Pr,Wr,s),contentBoxSize:et(L,C,s),contentRect:new ir(l,c,L,C)});return Nt.set(t,nn),nn},ar=function(t,e,n){var r=or(t,n),i=r.borderBoxSize,s=r.contentBoxSize,o=r.devicePixelContentBoxSize;switch(e){case _t.DEVICE_PIXEL_CONTENT_BOX:return o;case _t.BORDER_BOX:return i;default:return s}},Ws=(function(){function t(e){var n=or(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=J([n.borderBoxSize]),this.contentBoxSize=J([n.contentBoxSize]),this.devicePixelContentBoxSize=J([n.devicePixelContentBoxSize])}return t})(),cr=function(t){if(sr(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},qs=function(){var t=1/0,e=[];K.forEach(function(o){if(o.activeTargets.length!==0){var a=[];o.activeTargets.forEach(function(u){var f=new Ws(u.target),l=cr(u.target);a.push(f),u.lastReportedSize=ar(u.target,u.observedBox),l<t&&(t=l)}),e.push(function(){o.callback.call(o.observer,a,o.observer)}),o.activeTargets.splice(0,o.activeTargets.length)}});for(var n=0,r=e;n<r.length;n++){var i=r[n];i()}return t},fn=function(t){K.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(i){i.isActive()&&(cr(i.target)>t?n.activeTargets.push(i):n.skippedTargets.push(i))})})},Us=function(){var t=0;for(fn(t);Ds();)t=qs(),fn(t);return Is()&&Ls(),t>0},ge,ur=[],Gs=function(){return ur.splice(0).forEach(function(t){return t()})},Xs=function(t){if(!ge){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return Gs()}).observe(n,r),ge=function(){n.textContent="".concat(e?e--:e++)}}ur.push(t),ge()},Ys=function(t){Xs(function(){requestAnimationFrame(t)})},It=0,Zs=function(){return!!It},Ks=250,Js={attributes:!0,characterData:!0,childList:!0,subtree:!0},ln=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],hn=function(t){return t===void 0&&(t=0),Date.now()+t},pe=!1,Qs=(function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=Ks),!pe){pe=!0;var r=hn(e);Ys(function(){var i=!1;try{i=Us()}finally{if(pe=!1,e=r-hn(),!Zs())return;i?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Js)};document.body?n():vt.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),ln.forEach(function(n){return vt.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),ln.forEach(function(n){return vt.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t})(),Ee=new Qs,dn=function(t){!It&&t>0&&Ee.start(),It+=t,!It&&Ee.stop()},js=function(t){return!Pe(t)&&!Hs(t)&&getComputedStyle(t).display==="inline"},to=(function(){function t(e,n){this.target=e,this.observedBox=n||_t.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=ar(this.target,this.observedBox,!0);return js(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t})(),eo=(function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t})(),kt=new WeakMap,gn=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Ot=(function(){function t(){}return t.connect=function(e,n){var r=new eo(e,n);kt.set(e,r)},t.observe=function(e,n,r){var i=kt.get(e),s=i.observationTargets.length===0;gn(i.observationTargets,n)<0&&(s&&K.push(i),i.observationTargets.push(new to(n,r&&r.box)),dn(1),Ee.schedule())},t.unobserve=function(e,n){var r=kt.get(e),i=gn(r.observationTargets,n),s=r.observationTargets.length===1;i>=0&&(s&&K.splice(K.indexOf(r),1),r.observationTargets.splice(i,1),dn(-1))},t.disconnect=function(e){var n=this,r=kt.get(e);r.observationTargets.slice().forEach(function(i){return n.unobserve(e,i.target)}),r.activeTargets.splice(0,r.activeTargets.length)},t})(),no=(function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ot.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!an(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ot.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!an(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ot.unobserve(this,e)},t.prototype.disconnect=function(){Ot.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t})();const ro=globalThis.ResizeObserver||no,fr={duration:void 0,margin:{top:0,bottom:0,left:0,right:0},padding:{top:0,bottom:0,left:0,right:0},sizing:exports.Sizing.Fit,width:void 0,height:void 0,svgDefs:void 0,ariaLabel:void 0};class xt{constructor(e){this._defaultConfig=fr,this._isFirstRender=!0,this._renderAnimationFrameId=null,this._container=e;const n=Yt(this._container);n.attr("role","figure"),this.svg=n.append("svg").style("display","block").attr("xmlns","http://www.w3.org/2000/svg").attr("height",xt.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden",!0),this._svgDefs=this.svg.append("defs"),this._svgDefsExternal=this.svg.append("defs"),this.element=this.svg.node()}updateContainer(e){var n;this.prevConfig=this.config,this.config=st(this._defaultConfig,e),e?.svgDefs!==((n=this.prevConfig)===null||n===void 0?void 0:n.svgDefs)&&(this._svgDefsExternal.selectAll("*").remove(),this._svgDefsExternal.html(e.svgDefs))}_preRender(){}_render(e){const{config:n}=this;Yt(this._container).attr("aria-label",n.ariaLabel),this._isFirstRender=!1}render(e=this.config.duration){const n=this.config.width||this.containerWidth,r=this.config.height||this.containerHeight;this.svg.attr("width",n).attr("height",r),this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}get containerWidth(){return this.config.width?this.element.clientWidth:this._container.clientWidth||this._container.getBoundingClientRect().width}get containerHeight(){return this.config.height?this.element.clientHeight:this._container.clientHeight||this._container.getBoundingClientRect().height||xt.DEFAULT_CONTAINER_HEIGHT}get width(){return Te(this.containerWidth-this.config.margin.left-this.config.margin.right,0,Number.POSITIVE_INFINITY)}get height(){return Te(this.containerHeight-this.config.margin.top-this.config.margin.bottom,0,Number.POSITIVE_INFINITY)}_removeAllChildren(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild)}_onResize(){const{config:e}=this;(e.sizing===exports.Sizing.Fit||e.sizing===exports.Sizing.FitWidth)&&this.render(0)}_setUpResizeObserver(){if(this._resizeObserver)return;const e=this._container.getBoundingClientRect();this._containerSize={width:e.width,height:e.height},this._resizeObserver=new ro((n,r)=>{cancelAnimationFrame(this._resizeObserverAnimationFrameId),this._resizeObserverAnimationFrameId=requestAnimationFrame(()=>{const i=this._container.getBoundingClientRect(),s={width:i.width,height:i.height};!yt(this._containerSize,s)&&s.width&&s.height&&(this._containerSize=s,this._onResize())})}),this._resizeObserver.observe(this._container)}destroy(){var e;cancelAnimationFrame(this._renderAnimationFrameId),cancelAnimationFrame(this._resizeObserverAnimationFrameId),(e=this._resizeObserver)===null||e===void 0||e.disconnect(),this.svg.remove()}}xt.DEFAULT_CONTAINER_HEIGHT=300;function io(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function so(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var oo=(function(){function t(n){var r=this;this._insertTag=function(i){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,s),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(r){r.forEach(this._insertTag)},e.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(so(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var s=io(i);try{s.insertRule(r,s.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},e.flush=function(){this.tags.forEach(function(r){var i;return(i=r.parentNode)==null?void 0:i.removeChild(r)}),this.tags=[],this.ctr=0},t})(),R="-ms-",Jt="-moz-",A="-webkit-",lr="comm",We="rule",qe="decl",ao="@import",hr="@keyframes",co="@layer",uo=Math.abs,ue=String.fromCharCode,fo=Object.assign;function lo(t,e){return $(t,0)^45?(((e<<2^$(t,0))<<2^$(t,1))<<2^$(t,2))<<2^$(t,3):0}function dr(t){return t.trim()}function ho(t,e){return(t=e.exec(t))?t[0]:t}function T(t,e,n){return t.replace(e,n)}function Ce(t,e){return t.indexOf(e)}function $(t,e){return t.charCodeAt(e)|0}function wt(t,e,n){return t.slice(e,n)}function H(t){return t.length}function Ue(t){return t.length}function Mt(t,e){return e.push(t),t}function go(t,e){return t.map(e).join("")}var fe=1,ot=1,gr=0,k=0,E=0,ct="";function le(t,e,n,r,i,s,o){return{value:t,root:e,parent:n,type:r,props:i,children:s,line:fe,column:ot,length:o,return:""}}function ut(t,e){return fo(le("",null,null,"",null,null,0),t,{length:-t.length},e)}function po(){return E}function vo(){return E=k>0?$(ct,--k):0,ot--,E===10&&(ot=1,fe--),E}function O(){return E=k<gr?$(ct,k++):0,ot++,E===10&&(ot=1,fe++),E}function V(){return $(ct,k)}function Lt(){return k}function Ct(t,e){return wt(ct,t,e)}function bt(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function pr(t){return fe=ot=1,gr=H(ct=t),k=0,[]}function vr(t){return ct="",t}function Bt(t){return dr(Ct(k-1,$e(t===91?t+2:t===40?t+1:t)))}function mo(t){for(;(E=V())&&E<33;)O();return bt(t)>2||bt(E)>3?"":" "}function yo(t,e){for(;--e&&O()&&!(E<48||E>102||E>57&&E<65||E>70&&E<97););return Ct(t,Lt()+(e<6&&V()==32&&O()==32))}function $e(t){for(;O();)switch(E){case t:return k;case 34:case 39:t!==34&&t!==39&&$e(E);break;case 40:t===41&&$e(t);break;case 92:O();break}return k}function _o(t,e){for(;O()&&t+E!==57;)if(t+E===84&&V()===47)break;return"/*"+Ct(e,k-1)+"*"+ue(t===47?t:O())}function xo(t){for(;!bt(V());)O();return Ct(t,k)}function wo(t){return vr(Ht("",null,null,null,[""],t=pr(t),0,[0],t))}function Ht(t,e,n,r,i,s,o,a,c){for(var u=0,f=0,l=o,h=0,p=0,g=0,d=1,y=1,m=1,v=0,_="",S=i,x=s,b=r,w=_;y;)switch(g=v,v=O()){case 40:if(g!=108&&$(w,l-1)==58){Ce(w+=T(Bt(v),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:w+=Bt(v);break;case 9:case 10:case 13:case 32:w+=mo(g);break;case 92:w+=yo(Lt()-1,7);continue;case 47:switch(V()){case 42:case 47:Mt(bo(_o(O(),Lt()),e,n),c);break;default:w+="/"}break;case 123*d:a[u++]=H(w)*m;case 125*d:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+f:m==-1&&(w=T(w,/\f/g,"")),p>0&&H(w)-l&&Mt(p>32?vn(w+";",r,n,l-1):vn(T(w," ","")+";",r,n,l-2),c);break;case 59:w+=";";default:if(Mt(b=pn(w,e,n,u,f,i,a,_,S=[],x=[],l),s),v===123)if(f===0)Ht(w,e,b,b,S,s,l,a,x);else switch(h===99&&$(w,3)===110?100:h){case 100:case 108:case 109:case 115:Ht(t,b,b,r&&Mt(pn(t,b,b,0,0,i,a,_,i,S=[],l),x),i,x,l,a,r?S:x);break;default:Ht(w,b,b,b,[""],x,0,a,x)}}u=f=p=0,d=m=1,_=w="",l=o;break;case 58:l=1+H(w),p=g;default:if(d<1){if(v==123)--d;else if(v==125&&d++==0&&vo()==125)continue}switch(w+=ue(v),v*d){case 38:m=f>0?1:(w+="\f",-1);break;case 44:a[u++]=(H(w)-1)*m,m=1;break;case 64:V()===45&&(w+=Bt(O())),h=V(),f=l=H(_=w+=xo(Lt())),v++;break;case 45:g===45&&H(w)==2&&(d=0)}}return s}function pn(t,e,n,r,i,s,o,a,c,u,f){for(var l=i-1,h=i===0?s:[""],p=Ue(h),g=0,d=0,y=0;g<r;++g)for(var m=0,v=wt(t,l+1,l=uo(d=o[g])),_=t;m<p;++m)(_=dr(d>0?h[m]+" "+v:T(v,/&\f/g,h[m])))&&(c[y++]=_);return le(t,e,n,i===0?We:a,c,u,f)}function bo(t,e,n){return le(t,e,n,lr,ue(po()),wt(t,2,-2),0)}function vn(t,e,n,r){return le(t,e,n,qe,wt(t,0,r),wt(t,r+1,-1),r)}function nt(t,e){for(var n="",r=Ue(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function Ao(t,e,n,r){switch(t.type){case co:if(t.children.length)break;case ao:case qe:return t.return=t.return||t.value;case lr:return"";case hr:return t.return=t.value+"{"+nt(t.children,r)+"}";case We:t.value=t.props.join(",")}return H(n=nt(t.children,r))?t.return=t.value+"{"+n+"}":""}function To(t){var e=Ue(t);return function(n,r,i,s){for(var o="",a=0;a<e;a++)o+=t[a](n,r,i,s)||"";return o}}function So(t){return function(e){e.root||(e=e.return)&&t(e)}}function Eo(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Co=function(e,n,r){for(var i=0,s=0;i=s,s=V(),i===38&&s===12&&(n[r]=1),!bt(s);)O();return Ct(e,k)},$o=function(e,n){var r=-1,i=44;do switch(bt(i)){case 0:i===38&&V()===12&&(n[r]=1),e[r]+=Co(k-1,n,r);break;case 2:e[r]+=Bt(i);break;case 4:if(i===44){e[++r]=V()===58?"&\f":"",n[r]=e[r].length;break}default:e[r]+=ue(i)}while(i=O());return e},Ro=function(e,n){return vr($o(pr(e),n))},mn=new WeakMap,No=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,r=e.parent,i=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!mn.get(r))&&!i){mn.set(e,!0);for(var s=[],o=Ro(n,s),a=r.props,c=0,u=0;c<o.length;c++)for(var f=0;f<a.length;f++,u++)e.props[u]=s[c]?o[c].replace(/&\f/g,a[f]):a[f]+" "+o[c]}}},ko=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function mr(t,e){switch(lo(t,e)){case 5103:return A+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return A+t+Jt+t+R+t+t;case 6828:case 4268:return A+t+R+t+t;case 6165:return A+t+R+"flex-"+t+t;case 5187:return A+t+T(t,/(\w+).+(:[^]+)/,A+"box-$1$2"+R+"flex-$1$2")+t;case 5443:return A+t+R+"flex-item-"+T(t,/flex-|-self/,"")+t;case 4675:return A+t+R+"flex-line-pack"+T(t,/align-content|flex-|-self/,"")+t;case 5548:return A+t+R+T(t,"shrink","negative")+t;case 5292:return A+t+R+T(t,"basis","preferred-size")+t;case 6060:return A+"box-"+T(t,"-grow","")+A+t+R+T(t,"grow","positive")+t;case 4554:return A+T(t,/([^-])(transform)/g,"$1"+A+"$2")+t;case 6187:return T(T(T(t,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),t,"")+t;case 5495:case 3959:return T(t,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return T(T(t,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+R+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+t+t;case 4095:case 3583:case 4068:case 2532:return T(t,/(.+)-inline(.+)/,A+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(H(t)-1-e>6)switch($(t,e+1)){case 109:if($(t,e+4)!==45)break;case 102:return T(t,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+Jt+($(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ce(t,"stretch")?mr(T(t,"stretch","fill-available"),e)+t:t}break;case 4949:if($(t,e+1)!==115)break;case 6444:switch($(t,H(t)-3-(~Ce(t,"!important")&&10))){case 107:return T(t,":",":"+A)+t;case 101:return T(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+($(t,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+R+"$2box$3")+t}break;case 5936:switch($(t,e+11)){case 114:return A+t+R+T(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return A+t+R+T(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return A+t+R+T(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return A+t+R+t+t}return t}var Oo=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case qe:e.return=mr(e.value,e.length);break;case hr:return nt([ut(e,{value:T(e.value,"@","@"+A)})],i);case We:if(e.length)return go(e.props,function(s){switch(ho(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nt([ut(e,{props:[T(s,/:(read-\w+)/,":"+Jt+"$1")]})],i);case"::placeholder":return nt([ut(e,{props:[T(s,/:(plac\w+)/,":"+A+"input-$1")]}),ut(e,{props:[T(s,/:(plac\w+)/,":"+Jt+"$1")]}),ut(e,{props:[T(s,/:(plac\w+)/,R+"input-$1")]})],i)}return""})}},Mo=[Oo],zo=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(d){var y=d.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(d),d.setAttribute("data-s",""))})}var i=e.stylisPlugins||Mo,s={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(d){for(var y=d.getAttribute("data-emotion").split(" "),m=1;m<y.length;m++)s[y[m]]=!0;a.push(d)});var c,u=[No,ko];{var f,l=[Ao,So(function(d){f.insert(d)})],h=To(u.concat(i,l)),p=function(y){return nt(wo(y),h)};c=function(y,m,v,_){f=v,p(y?y+"{"+m.styles+"}":m.styles),_&&(g.inserted[m.name]=!0)}}var g={key:n,sheet:new oo({key:n,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:c};return g.sheet.hydrate(a),g};function Fo(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Do={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Io=/[A-Z]|^ms/g,Lo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yr=function(e){return e.charCodeAt(1)===45},yn=function(e){return e!=null&&typeof e!="boolean"},ve=Eo(function(t){return yr(t)?t:t.replace(Io,"-$&").toLowerCase()}),_n=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Lo,function(r,i,s){return Y={name:i,styles:s,next:Y},i})}return Do[e]!==1&&!yr(e)&&typeof n=="number"&&n!==0?n+"px":n};function Qt(t,e,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Y={name:i.name,styles:i.styles,next:Y},i.name;var s=n;if(s.styles!==void 0){var o=s.next;if(o!==void 0)for(;o!==void 0;)Y={name:o.name,styles:o.styles,next:Y},o=o.next;var a=s.styles+";";return a}return Bo(t,e,n)}}var c=n;if(e==null)return c;var u=e[c];return u!==void 0?u:c}function Bo(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Qt(t,e,n[i])+";";else for(var s in n){var o=n[s];if(typeof o!="object"){var a=o;e!=null&&e[a]!==void 0?r+=s+"{"+e[a]+"}":yn(a)&&(r+=ve(s)+":"+_n(s,a)+";")}else if(Array.isArray(o)&&typeof o[0]=="string"&&(e==null||e[o[0]]===void 0))for(var c=0;c<o.length;c++)yn(o[c])&&(r+=ve(s)+":"+_n(s,o[c])+";");else{var u=Qt(t,e,o);switch(s){case"animation":case"animationName":{r+=ve(s)+":"+u+";";break}default:r+=s+"{"+u+"}"}}}return r}var xn=/label:\s*([^\s;{]+)\s*(;|$)/g,Y;function me(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var r=!0,i="";Y=void 0;var s=t[0];if(s==null||s.raw===void 0)r=!1,i+=Qt(n,e,s);else{var o=s;i+=o[0]}for(var a=1;a<t.length;a++)if(i+=Qt(n,e,t[a]),r){var c=s;i+=c[a]}xn.lastIndex=0;for(var u="",f;(f=xn.exec(i))!==null;)u+="-"+f[1];var l=Fo(i)+u;return{name:l,styles:i,next:Y}}function _r(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):i&&(r+=i+" ")}),r}var Ho=function(e,n,r){var i=e.key+"-"+n.name;e.registered[i]===void 0&&(e.registered[i]=n.styles)},Vo=function(e,n,r){Ho(e,n);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var s=n;do e.insert(n===s?"."+i:"",s,e.sheet,!0),s=s.next;while(s!==void 0)}};function wn(t,e){if(t.inserted[e.name]===void 0)return t.insert("",e,t.sheet,!0)}function bn(t,e,n){var r=[],i=_r(t,r,n);return r.length<2?n:i+e(r)}var Po=function(e){var n=zo(e);n.sheet.speedy=function(a){this.isSpeedy=a},n.compat=!0;var r=function(){for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];var l=me(u,n.registered,void 0);return Vo(n,l),n.key+"-"+l.name},i=function(){for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];var l=me(u,n.registered),h="animation-"+l.name;return wn(n,{name:l.name,styles:"@keyframes "+h+"{"+l.styles+"}"}),h},s=function(){for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];var l=me(u,n.registered);wn(n,l)},o=function(){for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];return bn(n.registered,r,Wo(u))};return{css:r,cx:o,injectGlobal:s,keyframes:i,hydrate:function(c){c.forEach(function(u){n.inserted[u]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:_r.bind(null,n.registered),merge:bn.bind(null,n.registered,r)}},Wo=function t(e){for(var n="",r=0;r<e.length;r++){var i=e[r];if(i!=null){var s=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))s=t(i);else{s="";for(var o in i)i[o]&&o&&(s&&(s+=" "),s+=o)}break}default:s=i}s&&(n&&(n+=" "),n+=s)}}return n},xr=Po({key:"css"}),wr=xr.injectGlobal,qo=xr.css;function br(){const t=()=>Math.floor((1+crypto.getRandomValues(new Uint32Array(1))[0])*65536).toString(16).substring(1);return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`}const An=new WeakMap;function Uo(t,e){const n=t.substr(4,t.length-5);let r=An.get(e);if(r||(r=new Map,An.set(e,r)),r.has(n))return r.get(n);const i=getComputedStyle(e).getPropertyValue(n);return r.set(n,i),i}function Go(t,e,n=0){const[r,i,s,o]=[t.x+n,t.y+t.height-2*n,t.x+t.width-2*n,t.y+n],[a,c,u,f]=[e.x+n,e.y+e.height-2*n,e.x+e.width-2*n,e.y+n];return!(i<f||c<o||s<a||u<r)}function Ge(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Ar(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function $t(){}var At=.7,jt=1/At,rt="\\s*([+-]?\\d+)\\s*",Tt="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",P="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Xo=/^#([0-9a-f]{3,8})$/,Yo=new RegExp(`^rgb\\(${rt},${rt},${rt}\\)$`),Zo=new RegExp(`^rgb\\(${P},${P},${P}\\)$`),Ko=new RegExp(`^rgba\\(${rt},${rt},${rt},${Tt}\\)$`),Jo=new RegExp(`^rgba\\(${P},${P},${P},${Tt}\\)$`),Qo=new RegExp(`^hsl\\(${Tt},${P},${P}\\)$`),jo=new RegExp(`^hsla\\(${Tt},${P},${P},${Tt}\\)$`),Tn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ge($t,j,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Sn,formatHex:Sn,formatHex8:ta,formatHsl:ea,formatRgb:En,toString:En});function Sn(){return this.rgb().formatHex()}function ta(){return this.rgb().formatHex8()}function ea(){return Tr(this).formatHsl()}function En(){return this.rgb().formatRgb()}function j(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Xo.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Cn(e):n===3?new N(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?zt(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?zt(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Yo.exec(t))?new N(e[1],e[2],e[3],1):(e=Zo.exec(t))?new N(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Ko.exec(t))?zt(e[1],e[2],e[3],e[4]):(e=Jo.exec(t))?zt(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Qo.exec(t))?Nn(e[1],e[2]/100,e[3]/100,1):(e=jo.exec(t))?Nn(e[1],e[2]/100,e[3]/100,e[4]):Tn.hasOwnProperty(t)?Cn(Tn[t]):t==="transparent"?new N(NaN,NaN,NaN,0):null}function Cn(t){return new N(t>>16&255,t>>8&255,t&255,1)}function zt(t,e,n,r){return r<=0&&(t=e=n=NaN),new N(t,e,n,r)}function na(t){return t instanceof $t||(t=j(t)),t?(t=t.rgb(),new N(t.r,t.g,t.b,t.opacity)):new N}function Re(t,e,n,r){return arguments.length===1?na(t):new N(t,e,n,r??1)}function N(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}Ge(N,Re,Ar($t,{brighter(t){return t=t==null?jt:Math.pow(jt,t),new N(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?At:Math.pow(At,t),new N(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new N(Q(this.r),Q(this.g),Q(this.b),te(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$n,formatHex:$n,formatHex8:ra,formatRgb:Rn,toString:Rn}));function $n(){return`#${Z(this.r)}${Z(this.g)}${Z(this.b)}`}function ra(){return`#${Z(this.r)}${Z(this.g)}${Z(this.b)}${Z((isNaN(this.opacity)?1:this.opacity)*255)}`}function Rn(){const t=te(this.opacity);return`${t===1?"rgb(":"rgba("}${Q(this.r)}, ${Q(this.g)}, ${Q(this.b)}${t===1?")":`, ${t})`}`}function te(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Q(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Z(t){return t=Q(t),(t<16?"0":"")+t.toString(16)}function Nn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new D(t,e,n,r)}function Tr(t){if(t instanceof D)return new D(t.h,t.s,t.l,t.opacity);if(t instanceof $t||(t=j(t)),!t)return new D;if(t instanceof D)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),s=Math.max(e,n,r),o=NaN,a=s-i,c=(s+i)/2;return a?(e===s?o=(n-r)/a+(n<r)*6:n===s?o=(r-e)/a+2:o=(e-n)/a+4,a/=c<.5?s+i:2-s-i,o*=60):a=c>0&&c<1?0:o,new D(o,a,c,t.opacity)}function Xe(t,e,n,r){return arguments.length===1?Tr(t):new D(t,e,n,r??1)}function D(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Ge(D,Xe,Ar($t,{brighter(t){return t=t==null?jt:Math.pow(jt,t),new D(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?At:Math.pow(At,t),new D(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new N(ye(t>=240?t-240:t+120,i,r),ye(t,i,r),ye(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new D(kn(this.h),Ft(this.s),Ft(this.l),te(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=te(this.opacity);return`${t===1?"hsl(":"hsla("}${kn(this.h)}, ${Ft(this.s)*100}%, ${Ft(this.l)*100}%${t===1?")":`, ${t})`}`}}));function kn(t){return t=(t||0)%360,t<0?t+360:t}function Ft(t){return Math.max(0,Math.min(1,t||0))}function ye(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const lt=globalThis?.UNOVIS_COLORS||["#4D8CFD","#FF6B7E","#F4B83E","#A6CC74","#00C19A","#6859BE"],ia=globalThis?.UNOVIS_COLORS_DARK||["#4D8CFD","#FF6B7E","#FFC16D","#A6CC74","#00C19A","#7887E0"],G=t=>`--vis-${ae(t)?`color${t%lt.length}`:t}`;function sa(t,e=.4){const n=Xe(t);return n.l=n.l*(1+e),n.formatHex()}function oa(t,e=.4,n=.6){const r=Xe(t);return r.s=r.s*(1-n),r.l=r.l*(1-e),r.formatHex()}const ee=10,Ne=[{id:"stripes-diagonal",svg:'<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>'},{id:"dots",svg:'<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>'},{id:"stripes-vertical",svg:'<path d="M 5,-1 L5,11" stroke="#000"/>'},{id:"crosshatch",svg:'<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>'},{id:"waves",svg:'<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>'},{id:"circles",svg:'<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>'}],ke=[{id:"circle",marker:'<circle cx="5" cy="5" r="5"/>',dashArray:[]},{id:"triangle",marker:'<path d="M5,0 L10,9 L0,9Z">',dashArray:[9,1]},{id:"diamond",marker:'<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">',dashArray:[2]},{id:"arrow",marker:'<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">',dashArray:[2,3,8,3]},{id:"square",marker:'<rect x="1" y="1" width="8" height="8"/>',dashArray:[6]},{id:"star",marker:'<path d="m2 9 3-9 3 9L0 3h10Z"/>',dashArray:[1,6]}];function X(t){return`vis-${`pattern-${t.svg?"fill":"marker"}`}-${t.id}`}const aa=t=>`<mask id="${X(t)}">
2
+ <pattern id="${t.id}" viewBox="0 0 10 10" width="${ee}" height="${ee}" patternUnits="userSpaceOnUse">
3
+ <rect width="100%" height="100%" fill="#fff"/>
4
+ ${t.svg}
5
+ </pattern>
6
+ <rect x="-50%" y="-50%" width="200%" height="200%" fill="url(#${t.id})"/>
7
+ </mask>`,ca=(t,e)=>`<marker id="${X(t)}"
8
+ fill="var(${G(e)})"
9
+ markerUnits="userSpaceOnUse"
10
+ refX="5"
11
+ refY="5"
12
+ markerWidth="${ee}"
13
+ markerHeight="${ee}">
14
+ ${t.marker}
15
+ </marker>`;function ua(){const t=Ne.map(aa).concat(ke.map(ca)).join(""),e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.style.position="fixed",e.style.zIndex="-99999999",e.innerHTML=`<defs>${t}</defs>`,document.body.appendChild(e)}typeof window<"u"&&ua();const Sr=globalThis?.UNOVIS_FONT_W2H_RATIO_DEFAULT||.5,Er=globalThis?.UNOVIS_TEXT_SEPARATOR_DEFAULT||[" ","-",".",","],Cr=globalThis?.UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT||"-",mt=globalThis?.UNOVIS_TEXT_DEFAULT||{text:"",fontSize:12,fontFamily:"var(--vis-font-family)",lineHeight:1.25,marginTop:0,marginBottom:0};wr`
16
+ :root {
17
+ label: vis-root-styles;
18
+ --vis-font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
19
+ --vis-font-wh-ratio: ${Sr};
20
+ --vis-color-main: var(${G(0)});
21
+ --vis-color-main-light: ${sa(lt[0])};
22
+ --vis-color-main-dark: ${oa(lt[0])};
23
+ --vis-color-grey: #2a2a2a;
24
+ ${lt.map((t,e)=>`${G(e)}: ${t};`)}
25
+ ${ia.map((t,e)=>`--vis-dark-color${e}: ${t};`)}
26
+ ${Ne.map((t,e)=>`
27
+ --${X(t)}: url(#${X(t)});
28
+ --vis-pattern-fill${e}: var(--${X(t)});
29
+ `)}
30
+ ${ke.map((t,e)=>{var n;return`
31
+ --${X(t)}: url(#${X(t)});
32
+ --vis-pattern-marker${e}: var(--${X(t)});
33
+ --vis-pattern-dasharray${e}: ${(n=t.dashArray)===null||n===void 0?void 0:n.join(" ")};
34
+ `})}
35
+
36
+ body.theme-dark {
37
+ ${lt.map((t,e)=>`${G(e)}: var(--vis-dark-color${e});`)}
38
+ }
39
+
40
+ body.theme-patterns {
41
+ ${Ne.map((t,e)=>`path[style*="fill: var(${G(e)})"] {
42
+ mask: var(--vis-pattern-fill${e});
43
+ }`)}
44
+ ${ke.map((t,e)=>`
45
+ path[stroke="var(${G(e)})"]:not([style*="fill"]),
46
+ path[style*="stroke: var(${G(e)})"]:not([style*="fill"]) {
47
+ marker: var(--vis-pattern-marker${e});
48
+ stroke-dasharray: var(--vis-pattern-dasharray${e});
49
+ }
50
+ `)}
51
+ }
52
+ `;function Ye(t=window?.document.body){return t?+Uo("var(--vis-font-wh-ratio)",t):Sr}var fa={value:()=>{}};function $r(){for(var t=0,e=arguments.length,n={},r;t<e;++t){if(!(r=arguments[t]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new Vt(n)}function Vt(t){this._=t}function la(t,e){return t.trim().split(/^|\s+/).map(function(n){var r="",i=n.indexOf(".");if(i>=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Vt.prototype=$r.prototype={constructor:Vt,on:function(t,e){var n=this._,r=la(t+"",n),i,s=-1,o=r.length;if(arguments.length<2){for(;++s<o;)if((i=(t=r[s]).type)&&(i=ha(n[i],t.name)))return i;return}if(e!=null&&typeof e!="function")throw new Error("invalid callback: "+e);for(;++s<o;)if(i=(t=r[s]).type)n[i]=On(n[i],t.name,e);else if(e==null)for(i in n)n[i]=On(n[i],t.name,null);return this},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Vt(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var n=new Array(i),r=0,i,s;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(s=this._[t],r=0,i=s.length;r<i;++r)s[r].value.apply(e,n)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,s=r.length;i<s;++i)r[i].value.apply(e,n)}};function ha(t,e){for(var n=0,r=t.length,i;n<r;++n)if((i=t[n]).name===e)return i.value}function On(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=fa,t=t.slice(0,r).concat(t.slice(r+1));break}return n!=null&&t.push({name:e,value:n}),t}var at=0,ht=0,ft=0,Rr=1e3,ne,dt,re=0,tt=0,he=0,St=typeof performance=="object"&&performance.now?performance:Date,Nr=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Ze(){return tt||(Nr(da),tt=St.now()+he)}function da(){tt=0}function ie(){this._call=this._time=this._next=null}ie.prototype=kr.prototype={constructor:ie,restart:function(t,e,n){if(typeof t!="function")throw new TypeError("callback is not a function");n=(n==null?Ze():+n)+(e==null?0:+e),!this._next&&dt!==this&&(dt?dt._next=this:ne=this,dt=this),this._call=t,this._time=n,Oe()},stop:function(){this._call&&(this._call=null,this._time=1/0,Oe())}};function kr(t,e,n){var r=new ie;return r.restart(t,e,n),r}function ga(){Ze(),++at;for(var t=ne,e;t;)(e=tt-t._time)>=0&&t._call.call(void 0,e),t=t._next;--at}function Mn(){tt=(re=St.now())+he,at=ht=0;try{ga()}finally{at=0,va(),tt=0}}function pa(){var t=St.now(),e=t-re;e>Rr&&(he-=e,re=t)}function va(){for(var t,e=ne,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:ne=n);dt=t,Oe(r)}function Oe(t){if(!at){ht&&(ht=clearTimeout(ht));var e=t-tt;e>24?(t<1/0&&(ht=setTimeout(Mn,t-St.now()-he)),ft&&(ft=clearInterval(ft))):(ft||(re=St.now(),ft=setInterval(pa,Rr)),at=1,Nr(Mn))}}function zn(t,e,n){var r=new ie;return e=e==null?0:+e,r.restart(i=>{r.stop(),t(i+e)},e,n),r}var ma=$r("start","end","cancel","interrupt"),ya=[],Or=0,Fn=1,Me=2,Pt=3,Dn=4,ze=5,Wt=6;function de(t,e,n,r,i,s){var o=t.__transition;if(!o)t.__transition={};else if(n in o)return;_a(t,n,{name:e,index:r,group:i,on:ma,tween:ya,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:Or})}function Ke(t,e){var n=I(t,e);if(n.state>Or)throw new Error("too late; already scheduled");return n}function W(t,e){var n=I(t,e);if(n.state>Pt)throw new Error("too late; already running");return n}function I(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function _a(t,e,n){var r=t.__transition,i;r[e]=n,n.timer=kr(s,0,n.time);function s(u){n.state=Fn,n.timer.restart(o,n.delay,n.time),n.delay<=u&&o(u-n.delay)}function o(u){var f,l,h,p;if(n.state!==Fn)return c();for(f in r)if(p=r[f],p.name===n.name){if(p.state===Pt)return zn(o);p.state===Dn?(p.state=Wt,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete r[f]):+f<e&&(p.state=Wt,p.timer.stop(),p.on.call("cancel",t,t.__data__,p.index,p.group),delete r[f])}if(zn(function(){n.state===Pt&&(n.state=Dn,n.timer.restart(a,n.delay,n.time),a(u))}),n.state=Me,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Me){for(n.state=Pt,i=new Array(h=n.tween.length),f=0,l=-1;f<h;++f)(p=n.tween[f].value.call(t,t.__data__,n.index,n.group))&&(i[++l]=p);i.length=l+1}}function a(u){for(var f=u<n.duration?n.ease.call(null,u/n.duration):(n.timer.restart(c),n.state=ze,1),l=-1,h=i.length;++l<h;)i[l].call(t,f);n.state===ze&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){n.state=Wt,n.timer.stop(),delete r[e];for(var u in r)return;delete t.__transition}}function Je(t,e){var n=t.__transition,r,i,s=!0,o;if(n){e=e==null?null:e+"";for(o in n){if((r=n[o]).name!==e){s=!1;continue}i=r.state>Me&&r.state<ze,r.state=Wt,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete n[o]}s&&delete t.__transition}}function xa(t){return this.each(function(){Je(this,t)})}const Qe=t=>()=>t;function wa(t,e){return function(n){return t+n*e}}function ba(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function Aa(t){return(t=+t)==1?Mr:function(e,n){return n-e?ba(e,n,t):Qe(isNaN(e)?n:e)}}function Mr(t,e){var n=e-t;return n?wa(t,n):Qe(isNaN(t)?e:t)}const se=(function t(e){var n=Aa(e);function r(i,s){var o=n((i=Re(i)).r,(s=Re(s)).r),a=n(i.g,s.g),c=n(i.b,s.b),u=Mr(i.opacity,s.opacity);return function(f){return i.r=o(f),i.g=a(f),i.b=c(f),i.opacity=u(f),i+""}}return r.gamma=t,r})(1);function Ta(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,r=e.slice(),i;return function(s){for(i=0;i<n;++i)r[i]=t[i]*(1-s)+e[i]*s;return r}}function Sa(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Ea(t,e){var n=e?e.length:0,r=t?Math.min(n,t.length):0,i=new Array(r),s=new Array(n),o;for(o=0;o<r;++o)i[o]=je(t[o],e[o]);for(;o<n;++o)s[o]=e[o];return function(a){for(o=0;o<r;++o)s[o]=i[o](a);return s}}function Ca(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function F(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function $a(t,e){var n={},r={},i;(t===null||typeof t!="object")&&(t={}),(e===null||typeof e!="object")&&(e={});for(i in e)i in t?n[i]=je(t[i],e[i]):r[i]=e[i];return function(s){for(i in n)r[i]=n[i](s);return r}}var Fe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_e=new RegExp(Fe.source,"g");function Ra(t){return function(){return t}}function Na(t){return function(e){return t(e)+""}}function zr(t,e){var n=Fe.lastIndex=_e.lastIndex=0,r,i,s,o=-1,a=[],c=[];for(t=t+"",e=e+"";(r=Fe.exec(t))&&(i=_e.exec(e));)(s=i.index)>n&&(s=e.slice(n,s),a[o]?a[o]+=s:a[++o]=s),(r=r[0])===(i=i[0])?a[o]?a[o]+=i:a[++o]=i:(a[++o]=null,c.push({i:o,x:F(r,i)})),n=_e.lastIndex;return n<e.length&&(s=e.slice(n),a[o]?a[o]+=s:a[++o]=s),a.length<2?c[0]?Na(c[0].x):Ra(e):(e=c.length,function(u){for(var f=0,l;f<e;++f)a[(l=c[f]).i]=l.x(u);return a.join("")})}function je(t,e){var n=typeof e,r;return e==null||n==="boolean"?Qe(e):(n==="number"?F:n==="string"?(r=j(e))?(e=r,se):zr:e instanceof j?se:e instanceof Date?Ca:Sa(e)?Ta:Array.isArray(e)?Ea:typeof e.valueOf!="function"&&typeof e.toString!="function"||isNaN(e)?$a:F)(t,e)}var In=180/Math.PI,De={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Fr(t,e,n,r,i,s){var o,a,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(a=Math.sqrt(n*n+r*r))&&(n/=a,r/=a,c/=a),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:s,rotate:Math.atan2(e,t)*In,skewX:Math.atan(c)*In,scaleX:o,scaleY:a}}var Dt;function ka(t){const e=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?De:Fr(e.a,e.b,e.c,e.d,e.e,e.f)}function Oa(t){return t==null||(Dt||(Dt=document.createElementNS("http://www.w3.org/2000/svg","g")),Dt.setAttribute("transform",t),!(t=Dt.transform.baseVal.consolidate()))?De:(t=t.matrix,Fr(t.a,t.b,t.c,t.d,t.e,t.f))}function Dr(t,e,n,r){function i(u){return u.length?u.pop()+" ":""}function s(u,f,l,h,p,g){if(u!==l||f!==h){var d=p.push("translate(",null,e,null,n);g.push({i:d-4,x:F(u,l)},{i:d-2,x:F(f,h)})}else(l||h)&&p.push("translate("+l+e+h+n)}function o(u,f,l,h){u!==f?(u-f>180?f+=360:f-u>180&&(u+=360),h.push({i:l.push(i(l)+"rotate(",null,r)-2,x:F(u,f)})):f&&l.push(i(l)+"rotate("+f+r)}function a(u,f,l,h){u!==f?h.push({i:l.push(i(l)+"skewX(",null,r)-2,x:F(u,f)}):f&&l.push(i(l)+"skewX("+f+r)}function c(u,f,l,h,p,g){if(u!==l||f!==h){var d=p.push(i(p)+"scale(",null,",",null,")");g.push({i:d-4,x:F(u,l)},{i:d-2,x:F(f,h)})}else(l!==1||h!==1)&&p.push(i(p)+"scale("+l+","+h+")")}return function(u,f){var l=[],h=[];return u=t(u),f=t(f),s(u.translateX,u.translateY,f.translateX,f.translateY,l,h),o(u.rotate,f.rotate,l,h),a(u.skewX,f.skewX,l,h),c(u.scaleX,u.scaleY,f.scaleX,f.scaleY,l,h),u=f=null,function(p){for(var g=-1,d=h.length,y;++g<d;)l[(y=h[g]).i]=y.x(p);return l.join("")}}}var Ma=Dr(ka,"px, ","px)","deg)"),za=Dr(Oa,", ",")",")");function Fa(t,e){var n,r;return function(){var i=W(this,t),s=i.tween;if(s!==n){r=n=s;for(var o=0,a=r.length;o<a;++o)if(r[o].name===e){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function Da(t,e,n){var r,i;if(typeof n!="function")throw new Error;return function(){var s=W(this,t),o=s.tween;if(o!==r){i=(r=o).slice();for(var a={name:e,value:n},c=0,u=i.length;c<u;++c)if(i[c].name===e){i[c]=a;break}c===u&&i.push(a)}s.tween=i}}function Ia(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r=I(this.node(),n).tween,i=0,s=r.length,o;i<s;++i)if((o=r[i]).name===t)return o.value;return null}return this.each((e==null?Fa:Da)(n,t,e))}function tn(t,e,n){var r=t._id;return t.each(function(){var i=W(this,r);(i.value||(i.value={}))[e]=n.apply(this,arguments)}),function(i){return I(i,r).value[e]}}function Ir(t,e){var n;return(typeof e=="number"?F:e instanceof j?se:(n=j(e))?(e=n,se):zr)(t,e)}function La(t){return function(){this.removeAttribute(t)}}function Ba(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Ha(t,e,n){var r,i=n+"",s;return function(){var o=this.getAttribute(t);return o===i?null:o===r?s:s=e(r=o,n)}}function Va(t,e,n){var r,i=n+"",s;return function(){var o=this.getAttributeNS(t.space,t.local);return o===i?null:o===r?s:s=e(r=o,n)}}function Pa(t,e,n){var r,i,s;return function(){var o,a=n(this),c;return a==null?void this.removeAttribute(t):(o=this.getAttribute(t),c=a+"",o===c?null:o===r&&c===i?s:(i=c,s=e(r=o,a)))}}function Wa(t,e,n){var r,i,s;return function(){var o,a=n(this),c;return a==null?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local),c=a+"",o===c?null:o===r&&c===i?s:(i=c,s=e(r=o,a)))}}function qa(t,e){var n=oe(t),r=n==="transform"?za:Ir;return this.attrTween(t,typeof e=="function"?(n.local?Wa:Pa)(n,r,tn(this,"attr."+t,e)):e==null?(n.local?Ba:La)(n):(n.local?Va:Ha)(n,r,e))}function Ua(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Ga(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Xa(t,e){var n,r;function i(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&Ga(t,s)),n}return i._value=e,i}function Ya(t,e){var n,r;function i(){var s=e.apply(this,arguments);return s!==r&&(n=(r=s)&&Ua(t,s)),n}return i._value=e,i}function Za(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(e==null)return this.tween(n,null);if(typeof e!="function")throw new Error;var r=oe(t);return this.tween(n,(r.local?Xa:Ya)(r,e))}function Ka(t,e){return function(){Ke(this,t).delay=+e.apply(this,arguments)}}function Ja(t,e){return e=+e,function(){Ke(this,t).delay=e}}function Qa(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?Ka:Ja)(e,t)):I(this.node(),e).delay}function ja(t,e){return function(){W(this,t).duration=+e.apply(this,arguments)}}function tc(t,e){return e=+e,function(){W(this,t).duration=e}}function ec(t){var e=this._id;return arguments.length?this.each((typeof t=="function"?ja:tc)(e,t)):I(this.node(),e).duration}function nc(t,e){if(typeof e!="function")throw new Error;return function(){W(this,t).ease=e}}function rc(t){var e=this._id;return arguments.length?this.each(nc(e,t)):I(this.node(),e).ease}function ic(t,e){return function(){var n=e.apply(this,arguments);if(typeof n!="function")throw new Error;W(this,t).ease=n}}function sc(t){if(typeof t!="function")throw new Error;return this.each(ic(this._id,t))}function oc(t){typeof t!="function"&&(t=Vn(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var s=e[i],o=s.length,a=r[i]=[],c,u=0;u<o;++u)(c=s[u])&&t.call(c,c.__data__,u,s)&&a.push(c);return new U(r,this._parents,this._name,this._id)}function ac(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,s=Math.min(r,i),o=new Array(r),a=0;a<s;++a)for(var c=e[a],u=n[a],f=c.length,l=o[a]=new Array(f),h,p=0;p<f;++p)(h=c[p]||u[p])&&(l[p]=h);for(;a<r;++a)o[a]=e[a];return new U(o,this._parents,this._name,this._id)}function cc(t){return(t+"").trim().split(/^|\s+/).every(function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||e==="start"})}function uc(t,e,n){var r,i,s=cc(e)?Ke:W;return function(){var o=s(this,t),a=o.on;a!==r&&(i=(r=a).copy()).on(e,n),o.on=i}}function fc(t,e){var n=this._id;return arguments.length<2?I(this.node(),n).on.on(t):this.each(uc(n,t,e))}function lc(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function hc(){return this.on("end.remove",lc(this._id))}function dc(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Ie(t));for(var r=this._groups,i=r.length,s=new Array(i),o=0;o<i;++o)for(var a=r[o],c=a.length,u=s[o]=new Array(c),f,l,h=0;h<c;++h)(f=a[h])&&(l=t.call(f,f.__data__,h,a))&&("__data__"in f&&(l.__data__=f.__data__),u[h]=l,de(u[h],e,n,h,u,I(f,n)));return new U(s,this._parents,e,n)}function gc(t){var e=this._name,n=this._id;typeof t!="function"&&(t=Hn(t));for(var r=this._groups,i=r.length,s=[],o=[],a=0;a<i;++a)for(var c=r[a],u=c.length,f,l=0;l<u;++l)if(f=c[l]){for(var h=t.call(f,f.__data__,l,c),p,g=I(f,n),d=0,y=h.length;d<y;++d)(p=h[d])&&de(p,e,n,d,h,g);s.push(h),o.push(f)}return new U(s,o,e,n)}var pc=Et.prototype.constructor;function vc(){return new pc(this._groups,this._parents)}function mc(t,e){var n,r,i;return function(){var s=it(this,t),o=(this.style.removeProperty(t),it(this,t));return s===o?null:s===n&&o===r?i:i=e(n=s,r=o)}}function Lr(t){return function(){this.style.removeProperty(t)}}function yc(t,e,n){var r,i=n+"",s;return function(){var o=it(this,t);return o===i?null:o===r?s:s=e(r=o,n)}}function _c(t,e,n){var r,i,s;return function(){var o=it(this,t),a=n(this),c=a+"";return a==null&&(c=a=(this.style.removeProperty(t),it(this,t))),o===c?null:o===r&&c===i?s:(i=c,s=e(r=o,a))}}function xc(t,e){var n,r,i,s="style."+e,o="end."+s,a;return function(){var c=W(this,t),u=c.on,f=c.value[s]==null?a||(a=Lr(e)):void 0;(u!==n||i!==f)&&(r=(n=u).copy()).on(o,i=f),c.on=r}}function wc(t,e,n){var r=(t+="")=="transform"?Ma:Ir;return e==null?this.styleTween(t,mc(t,r)).on("end.style."+t,Lr(t)):typeof e=="function"?this.styleTween(t,_c(t,r,tn(this,"style."+t,e))).each(xc(this._id,t)):this.styleTween(t,yc(t,r,e),n).on("end.style."+t,null)}function bc(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Ac(t,e,n){var r,i;function s(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&bc(t,o,n)),r}return s._value=e,s}function Tc(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(e==null)return this.tween(r,null);if(typeof e!="function")throw new Error;return this.tween(r,Ac(t,e,n??""))}function Sc(t){return function(){this.textContent=t}}function Ec(t){return function(){var e=t(this);this.textContent=e??""}}function Cc(t){return this.tween("text",typeof t=="function"?Ec(tn(this,"text",t)):Sc(t==null?"":t+""))}function $c(t){return function(e){this.textContent=t.call(this,e)}}function Rc(t){var e,n;function r(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&$c(i)),e}return r._value=t,r}function Nc(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(t==null)return this.tween(e,null);if(typeof t!="function")throw new Error;return this.tween(e,Rc(t))}function kc(){for(var t=this._name,e=this._id,n=Br(),r=this._groups,i=r.length,s=0;s<i;++s)for(var o=r[s],a=o.length,c,u=0;u<a;++u)if(c=o[u]){var f=I(c,e);de(c,t,n,u,o,{time:f.time+f.delay+f.duration,delay:0,duration:f.duration,ease:f.ease})}return new U(r,this._parents,t,n)}function Oc(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(s,o){var a={value:o},c={value:function(){--i===0&&s()}};n.each(function(){var u=W(this,r),f=u.on;f!==t&&(e=(t=f).copy(),e._.cancel.push(a),e._.interrupt.push(a),e._.end.push(c)),u.on=e}),i===0&&s()})}var Mc=0;function U(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Br(){return++Mc}var q=Et.prototype;U.prototype={constructor:U,select:dc,selectAll:gc,selectChild:q.selectChild,selectChildren:q.selectChildren,filter:oc,merge:ac,selection:vc,transition:kc,call:q.call,nodes:q.nodes,node:q.node,size:q.size,empty:q.empty,each:q.each,on:fc,attr:qa,attrTween:Za,style:wc,styleTween:Tc,text:Cc,textTween:Nc,remove:hc,tween:Ia,delay:Qa,duration:ec,ease:rc,easeVarying:sc,end:Oc,[Symbol.iterator]:q[Symbol.iterator]};function zc(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}var Fc={time:null,delay:0,duration:250,ease:zc};function Dc(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function Ic(t){var e,n;t instanceof U?(e=t._id,t=t._name):(e=Br(),(n=Fc).time=Ze(),t=t==null?null:t+"");for(var r=this._groups,i=r.length,s=0;s<i;++s)for(var o=r[s],a=o.length,c,u=0;u<a;++u)(c=o[u])&&de(c,t,e,u,o,n||Dc(c,e));return new U(r,this._parents,t,e)}Et.prototype.interrupt=xa;Et.prototype.transition=Ic;function Lc(t,e,n){if(t.nodes().forEach(r=>Je(r)),e){const r=t.transition().duration(e);return n&&r.ease(n),r}else return t}class en{constructor(e){this.data=e}get data(){return this._data}set data(e){this._data=e}}const Hr={duration:600,events:{},attributes:{}};class Bc{constructor(e=gt.SVG){var n,r;this.type=gt.SVG,this.datamodel=new en,this.sizing=exports.Sizing.Fit,this.events={},this._defaultConfig=Hr,this._width=400,this._height=200,this._containerWidth=void 0,this._containerHeight=void 0,this._containerMargin={top:0,bottom:0,left:0,right:0},this._setUpComponentEventsThrottled=Ae(this._setUpComponentEvents,500),this._setCustomAttributesThrottled=Ae(this._setCustomAttributes,500),e===gt.SVG?this.element=document.createElementNS("http://www.w3.org/2000/svg","g"):this.element=document.createElement("div"),this.uid=br(),this.g=Yt(this.element);const i=(r=(n=this.constructor)===null||n===void 0?void 0:n.selectors)===null||r===void 0?void 0:r.root;i&&this.g.attr("class",i)}setContainerMargin(e){this._containerMargin=e}setConfig(e){this.prevConfig=this.config,this.config=st(this._defaultConfig,e)}setData(e){this.datamodel.data=e}setSize(e,n,r,i){isFinite(e)&&(this._width=e),isFinite(n)&&(this._height=n),isFinite(r)&&(this._containerWidth=r),isFinite(i)&&(this._containerHeight=i)}render(e=this.config.duration){this._render(e);const n="animating";e&&(this.g.attr(n,""),this.g.transition(n).duration(e).on("end interrupt",()=>{this.g.attr(n,null)})),this._setUpComponentEventsThrottled(),this._setCustomAttributesThrottled()}get bleed(){return{top:0,bottom:0,left:0,right:0}}_render(e=this.config.duration){}_setCustomAttributes(){const e=this.config.attributes;Object.keys(e).forEach(n=>{Object.keys(e[n]).forEach(r=>{this.g.selectAll(`.${n}`).attr(r,e[n][r])})})}_setUpComponentEvents(){this._bindEvents(this.events),this._bindEvents(this.config.events,".user")}_bindEvents(e=this.events,n=""){Object.keys(e).forEach(r=>{Object.keys(e[r]).forEach(i=>{const s=this.g.selectAll(`.${r}`);s.on(i+n,(o,a)=>{const c=s.nodes(),u=c.indexOf(o.currentTarget),f=e[r][i];return f?.(a,o,u,c)})})})}destroy(){var e;(e=this.g)===null||e===void 0||e.remove(),this.element=void 0}isDestroyed(){return!this.element}}class Hc extends en{constructor(e){super(e)}get data(){var e;return(e=this._data)!==null&&e!==void 0?e:[]}set data(e){Array.isArray(e)&&(this._data=e)}}function Vc(t,e,n,r){return Array.isArray(e)&&isFinite(n)?e[n%e.length]:er(t,e,n)||(ae(n)?`var(${G(n)})`:null)}exports.TrimMode=void 0;(function(t){t.Start="start",t.Middle="middle",t.End="end"})(exports.TrimMode||(exports.TrimMode={}));exports.VerticalAlign=void 0;(function(t){t.Top="top",t.Middle="middle",t.Bottom="bottom"})(exports.VerticalAlign||(exports.VerticalAlign={}));exports.FitMode=void 0;(function(t){t.Wrap="wrap",t.Trim="trim"})(exports.FitMode||(exports.FitMode={}));exports.TextAlign=void 0;(function(t){t.Left="left",t.Center="center",t.Right="right"})(exports.TextAlign||(exports.TextAlign={}));function Pc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qt={exports:{}},Wc=qt.exports,Ln;function qc(){return Ln||(Ln=1,(function(t){(function(e){if(typeof n!="function"){var n=function(g){return g};n.nonNative=!0}const r=n("plaintext"),i=n("html"),s=n("comment"),o=/<(\w*)>/g,a=/<\/?([^\s\/>]+)/;function c(g,d,y){g=g||"",d=d||[],y=y||"";let m=f(d,y);return l(g,m)}function u(g,d){g=g||[],d=d||"";let y=f(g,d);return function(v){return l(v||"",y)}}c.init_streaming_mode=u;function f(g,d){return g=h(g),{allowable_tags:g,tag_replacement:d,state:r,tag_buffer:"",depth:0,in_quote_char:""}}function l(g,d){if(typeof g!="string")throw new TypeError("'html' parameter must be a string");let y=d.allowable_tags,m=d.tag_replacement,v=d.state,_=d.tag_buffer,S=d.depth,x=d.in_quote_char,b="";for(let w=0,L=g.length;w<L;w++){let C=g[w];if(v===r)C==="<"?(v=i,_+=C):b+=C;else if(v===i)switch(C){case"<":if(x)break;S++;break;case">":if(x)break;if(S){S--;break}x="",v=r,_+=">",y.has(p(_))?b+=_:b+=m,_="";break;case'"':case"'":C===x?x="":x=x||C,_+=C;break;case"-":_==="<!-"&&(v=s),_+=C;break;case" ":case`
53
+ `:if(_==="<"){v=r,b+="< ",_="";break}_+=C;break;default:_+=C;break}else v===s&&(C===">"?(_.slice(-2)=="--"&&(v=r),_=""):_+=C)}return d.state=v,d.tag_buffer=_,d.depth=S,d.in_quote_char=x,b}function h(g){let d=new Set;if(typeof g=="string"){let y;for(;y=o.exec(g);)d.add(y[1])}else!n.nonNative&&typeof g[n.iterator]=="function"?d=new Set(g):typeof g.forEach=="function"&&g.forEach(d.add,d);return d}function p(g){let d=a.exec(g);return d?d[1].toLowerCase():null}t.exports?t.exports=c:e.striptags=c})(Wc)})(qt)),qt.exports}var Uc=qc();const Gc=Pc(Uc);function Xc(t){switch(t){case exports.TextAlign.Center:return"middle";case exports.TextAlign.Right:return"end";case exports.TextAlign.Left:default:return"start"}}const Yc=t=>{switch(t){case exports.TextAlign.Left:return"start";case exports.TextAlign.Right:return"end";case exports.TextAlign.Center:return"middle";default:return null}};function Zc(t){return t.replace(/-([a-z])/g,(e,n)=>n.toUpperCase())}function Kc(t){var e;return(e=t.match(/[A-Z]{2,}(?=[A-Z][a-z0-9]*|\b)|[A-Z]?[a-z0-9]*|[A-Z]|[0-9]+/g))===null||e===void 0?void 0:e.filter(Boolean).map(n=>n.toLowerCase()).join("-")}function Jc(t){return t.replace(/['"]/g,"&#39;").replace(/\u0000/g,"\\0").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\v/g,"\\v").replace(/\t/g,"\\t").replace(/\f/g,"\\f")}function Qc(t,e=15){return t?t.length>e?`…${t.substr(t.length-e,e)}`:t:""}function jc(t,e=15){if(!t)return"";const n=Math.floor((e-3)/2);return t.length>e?`${t.substr(0,n)}…${t.substr(-n,n)}`:t}function tu(t,e=15){return t?t.length>e?`${t.substr(0,e)}…`:t:""}function eu(t,e=15,n=exports.TrimMode.Middle){if(!t)return"";let r=tu(t,e);return n===exports.TrimMode.Start?r=Qc(t,e):n===exports.TrimMode.Middle&&(r=jc(t,e)),r}function Vr(t,e=[" "]){let n=[t];for(let r=0;r<e.length;r++){const i=e[r];n.forEach((s,o)=>{const a=s.split(i),c=a.map((u,f)=>`${u}${f===a.length-1?"":i}`);n[o]=c}),n=tr(n)}return n}function nu(t,e,n=[" ","-",".",","]){const r=t.text();if(!r)return;const i=ce(n)?n:[n],s=Vr(r,i),o=parseFloat(t.attr("x"))||0;t.text("");let a=t.append("tspan").attr("x",o),c=`${s[0]}`;a.text(c),s.forEach((u,f)=>{if(f===0)return;const l=`${c}${u}`;a.text(l),a.node().getComputedTextLength()>e?(a.text(c.trim()),a=t.append("tspan").attr("x",o).attr("dy","1.2em").text(u),c=u):c+=u})}function ru(t,e,n,r,i,s){var o;e===void 0&&(e=50),n===void 0&&(n=exports.TrimMode.Middle),i===void 0&&(i=+((o=window.getComputedStyle(t.node()))===null||o===void 0?void 0:o.fontSize)||0),s===void 0&&(s=Ye());const a=t.text()||"",c=a.length,u=i*c*s,l=Math.ceil(c*e/(1.1*u));return l<c?(t.text(eu(a,l,n)),!0):!1}function Ut(t,e,n=Ye()){return t.length*e*n||0}function Gt(t,e,n){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),s=document.createElementNS(r,"text");s.textContent=t,s.setAttribute("font-size",`${n}`),s.setAttribute("font-family",e),i.appendChild(s),document.body.appendChild(i);const o=s.getComputedTextLength();return document.body.removeChild(i),o}function iu(t,e=void 0,n=!0,r=Er,i=!1){var s,o,a;const c=`${t.text}`;if(!c)return[];const u=(s=t.fontSize)!==null&&s!==void 0?s:mt.fontSize,f=(o=t.fontFamily)!==null&&o!==void 0?o:mt.fontFamily,l=(a=t.fontWidthToHeightRatio)!==null&&a!==void 0?a:mt.fontWidthToHeightRatio,h=Array.isArray(r)?r:[r];return c.split(`
54
+ `).map(g=>{const d=[];if(!e)return[g];const y=Vr(g,h);let m="";for(let v=0;v<y.length;v+=1){(n?Ut(m+y[v],u,l):Gt(m+y[v],f,u))<e||v===0?m+=y[v]:(d.push(m.trim()),m=y[v]);const S=2;if(i)for(;m.trim().length>S&&(n?Ut(m,u,l):Gt(m,f,u))>e;){let b=m.trim().length-S;for(;b>0;){const w=`${m.substring(0,b)}${Cr}`;if((n?Ut(w,u,l):Gt(w,f,u))<=e||b===1){d.push(w.trim()),m=m.substring(b);break}b--}}}return m&&d.push(m.trim()),d}).flat()}function su(t,e=void 0,n=void 0,r=!0,i=Er,s=!1){const o=Array.isArray(t)?t.map(l=>st(mt,l)):[st(mt,t)],a=o.map(l=>iu(l,e,r,i,s)),c=o[0];let u=-c.fontSize*(c.lineHeight-1);const f=[];return o.forEach((l,h)=>{var p;let g=a[h];const d=h>0?f[h-1]:void 0,y=d?d.marginBottom:0,m=l.marginTop,v=Math.max(y,m);u+=v;const _=l.fontSize*l.lineHeight;let S=0;for(let x=0;x<g.length;x+=1){let b=g[x];u+=_;const w=`${b} …`,L=r?Ut(w,l.fontSize,l.fontWidthToHeightRatio):Gt(w,l.fontFamily,l.fontSize);if(S=Math.max(L,S),n&&u+_>n&&x!==g.length-1){b.charAt(b.length-1)===Cr&&(b=b.substr(0,g[x].length-1)),L<e?g[x]=w:g[x]=`${g[x].substr(0,g[x].length-2)}…`,g=g.slice(0,x+1);break}}f.push(Object.assign(Object.assign({},l),{_lines:g,_estimatedHeight:u-(d?._estimatedHeight||0),_maxWidth:Math.max(S,(p=d?._maxWidth)!==null&&p!==void 0?p:0)}))}),f}function ou(t,e=0,n,r){return t.map((i,s)=>{const o=s>0?t[s-1]:void 0,a=o?o.marginBottom/o.fontSize:0,c=i.marginTop/i.fontSize,u=Math.max(a,c),f={fontSize:i.fontSize,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fill:i.color,y:s===0&&n};return`<tspan xmlns="http://www.w3.org/2000/svg" ${Object.entries(f).filter(([h,p])=>p).map(([h,p])=>`${Kc(h)}="${Jc(p.toString())}"`).join(" ")}>${i._lines.map((h,p)=>{let g;return s===0&&p===0?g=u:p===0?g=u+i.lineHeight:g=i.lineHeight,`<tspan x="${e}" dy="${g}em" dominant-baseline="${r??"auto"}">${h.length?h:" "}</tspan>`}).join("")}</tspan>`})}function au(t){return Es(t,e=>e._estimatedHeight)}const cu=["text","tspan","textPath","altGlyph","altGlyphDef","altGlyphItem","glyphRef","textRef","textArea"];function uu(t,e,n,r){var i,s;const o=su(e,n.width,void 0,n.fastMode,n.separator,n.wordBreak),a=(i=n.x)!==null&&i!==void 0?i:+t.getAttribute("x"),c=(s=n.y)!==null&&s!==void 0?s:+t.getAttribute("y"),u=a??0;let f=c??0;if(n.textAlign&&t.setAttribute("text-anchor",Xc(n.textAlign)),n.verticalAlign&&n.verticalAlign!==exports.VerticalAlign.Top){const h=au(o),p=n.verticalAlign===exports.VerticalAlign.Middle?-h/2:n.verticalAlign===exports.VerticalAlign.Bottom?-h:0;f+=p}n.textRotationAngle?t.setAttribute("transform",`rotate(${n.textRotationAngle===0||n.textRotationAngle?n.textRotationAngle:0} ${u} ${f})`):t.removeAttribute("transform");const l=new DOMParser;t.textContent="",o.forEach(h=>{const p=ou([h],u,f,r).join(""),g=Gc(p,cu),d=l.parseFromString(g,"image/svg+xml").firstChild;t.appendChild(d)})}const fu=Symbol("componentAccessorKey"),lu=Symbol("tooltipAccessorKey"),hu=Symbol("crosshairAccessorKey"),du=Symbol("axisAccessorKey"),gu=Symbol("annotationsAccessorKey");function pu(t,e){return yt(t,e)}function vu(t){const e=Rt.getCurrentInstance(),n=e.attrs;return Rt.computed(()=>{const r={},i=e?.vnode.props??{};return Object.keys(i).forEach(s=>{r[Rt.camelize(s)]=t[Rt.camelize(s)]}),{...r,...n}})}(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode(".unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-map],[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend],[data-vis-flow-legend],[data-vis-rolling-pin-legend]{display:block}")),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();exports.ComponentCore=Bc;exports.ComponentDefaultConfig=Hr;exports.ContainerCore=xt;exports.ContainerDefaultConfig=fr;exports.CoreDataModel=en;exports.SeriesDataModel=Hc;exports.ascending=pt;exports.bisectRight=jn;exports.bisector=Be;exports.c=hu;exports.clamp=Te;exports.clean=Ns;exports.css=qo;exports.e=du;exports.f=pu;exports.filterDataByRange=Fs;exports.flatten=tr;exports.getColor=Vc;exports.getExtent=zs;exports.getFontWidthToHeightRatio=Ye;exports.getMax=rr;exports.getMin=nr;exports.getNearest=Se;exports.getNumber=z;exports.getStackedData=Ms;exports.getStackedExtent=ks;exports.getStackedValues=Os;exports.getString=er;exports.getValue=Ve;exports.guid=br;exports.injectGlobal=wr;exports.interpolate=je;exports.interpolateNumber=F;exports.interrupt=Je;exports.isArray=ce;exports.isEmpty=Rs;exports.isEqual=yt;exports.isFunction=He;exports.isNumber=ae;exports.kebabCaseToCamel=Zc;exports.m=vu;exports.max=we;exports.merge=st;exports.min=be;exports.number=Jn;exports.o=fu;exports.rectIntersect=Go;exports.renderTextToSvgTextElement=uu;exports.s=lu;exports.select=Yt;exports.smartTransition=Lc;exports.t=gu;exports.textAlignToAnchor=Yc;exports.throttle=Ae;exports.trimSVGText=ru;exports.wrapSVGText=nu;
@@ -0,0 +1,75 @@
1
+ "use strict";const w=require("vue"),u=require("./index-BuzLn4Km.js"),T=require("./index-DQYBP8Js.js"),m=require("./array-CbATeQbk.js");function dt(t){this._context=t}dt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function it(t){return new dt(t)}function vt(t){return t[0]}function gt(t){return t[1]}function nt(t,e){var i=m.constant(!0),n=null,s=it,o=null,l=m.withPath(r);t=typeof t=="function"?t:t===void 0?vt:m.constant(t),e=typeof e=="function"?e:e===void 0?gt:m.constant(e);function r(h){var c,d=(h=m.array(h)).length,a,_=!1,b;for(n==null&&(o=s(b=l())),c=0;c<=d;++c)!(c<d&&i(a=h[c],c,h))===_&&((_=!_)?o.lineStart():o.lineEnd()),_&&o.point(+t(a,c,h),+e(a,c,h));if(b)return o=null,b+""||null}return r.x=function(h){return arguments.length?(t=typeof h=="function"?h:m.constant(+h),r):t},r.y=function(h){return arguments.length?(e=typeof h=="function"?h:m.constant(+h),r):e},r.defined=function(h){return arguments.length?(i=typeof h=="function"?h:m.constant(!!h),r):i},r.curve=function(h){return arguments.length?(s=h,n!=null&&(o=s(n)),r):s},r.context=function(h){return arguments.length?(h==null?n=o=null:o=s(n=h),r):n},r}function Mt(t,e,i){var n=null,s=m.constant(!0),o=null,l=it,r=null,h=m.withPath(c);t=typeof t=="function"?t:t===void 0?vt:m.constant(+t),e=typeof e=="function"?e:e===void 0?m.constant(0):m.constant(+e),i=typeof i=="function"?i:i===void 0?gt:m.constant(+i);function c(a){var _,b,v,x=(a=m.array(a)).length,f,p=!1,g,y=new Array(x),k=new Array(x);for(o==null&&(r=l(g=h())),_=0;_<=x;++_){if(!(_<x&&s(f=a[_],_,a))===p)if(p=!p)b=_,r.areaStart(),r.lineStart();else{for(r.lineEnd(),r.lineStart(),v=_-1;v>=b;--v)r.point(y[v],k[v]);r.lineEnd(),r.areaEnd()}p&&(y[_]=+t(f,_,a),k[_]=+e(f,_,a),r.point(n?+n(f,_,a):y[_],i?+i(f,_,a):k[_]))}if(g)return r=null,g+""||null}function d(){return nt().defined(s).curve(l).context(o)}return c.x=function(a){return arguments.length?(t=typeof a=="function"?a:m.constant(+a),n=null,c):t},c.x0=function(a){return arguments.length?(t=typeof a=="function"?a:m.constant(+a),c):t},c.x1=function(a){return arguments.length?(n=a==null?null:typeof a=="function"?a:m.constant(+a),c):n},c.y=function(a){return arguments.length?(e=typeof a=="function"?a:m.constant(+a),i=null,c):e},c.y0=function(a){return arguments.length?(e=typeof a=="function"?a:m.constant(+a),c):e},c.y1=function(a){return arguments.length?(i=a==null?null:typeof a=="function"?a:m.constant(+a),c):i},c.lineX0=c.lineY0=function(){return d().x(t).y(e)},c.lineY1=function(){return d().x(t).y(i)},c.lineX1=function(){return d().x(n).y(e)},c.defined=function(a){return arguments.length?(s=typeof a=="function"?a:m.constant(!!a),c):s},c.curve=function(a){return arguments.length?(l=a,o!=null&&(r=l(o)),c):l},c.context=function(a){return arguments.length?(a==null?o=r=null:r=l(o=a),c):o},c}function C(){}function H(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function Y(t){this._context=t}Y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:H(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Dt(t){return new Y(t)}function xt(t){this._context=t}xt.prototype={areaStart:C,areaEnd:C,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function jt(t){return new xt(t)}function bt(t){this._context=t}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,n):this._context.moveTo(i,n);break;case 3:this._point=4;default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Et(t){return new bt(t)}function mt(t,e){this._basis=new Y(t),this._beta=e}mt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var n=t[0],s=e[0],o=t[i]-n,l=e[i]-s,r=-1,h;++r<=i;)h=r/i,this._basis.point(this._beta*t[r]+(1-this._beta)*(n+h*o),this._beta*e[r]+(1-this._beta)*(s+h*l));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const Rt=(function t(e){function i(n){return e===1?new Y(n):new mt(n,e)}return i.beta=function(n){return t(+n)},i})(.85);function $(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function st(t,e){this._context=t,this._k=(1-e)/6}st.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:$(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:$(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Bt=(function t(e){function i(n){return new st(n,e)}return i.tension=function(n){return t(+n)},i})(0);function ot(t,e){this._context=t,this._k=(1-e)/6}ot.prototype={areaStart:C,areaEnd:C,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:$(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Lt=(function t(e){function i(n){return new ot(n,e)}return i.tension=function(n){return t(+n)},i})(0);function rt(t,e){this._context=t,this._k=(1-e)/6}rt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:$(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ft=(function t(e){function i(n){return new rt(n,e)}return i.tension=function(n){return t(+n)},i})(0);function at(t,e,i){var n=t._x1,s=t._y1,o=t._x2,l=t._y2;if(t._l01_a>m.epsilon){var r=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,h=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*r-t._x0*t._l12_2a+t._x2*t._l01_2a)/h,s=(s*r-t._y0*t._l12_2a+t._y2*t._l01_2a)/h}if(t._l23_a>m.epsilon){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,d=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/d,l=(l*c+t._y1*t._l23_2a-i*t._l12_2a)/d}t._context.bezierCurveTo(n,s,o,l,t._x2,t._y2)}function kt(t,e){this._context=t,this._alpha=e}kt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:at(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ht=(function t(e){function i(n){return e?new kt(n,e):new st(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function St(t,e){this._context=t,this._alpha=e}St.prototype={areaStart:C,areaEnd:C,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:at(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const $t=(function t(e){function i(n){return e?new St(n,e):new ot(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function wt(t,e){this._context=t,this._alpha=e}wt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:at(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Gt=(function t(e){function i(n){return e?new wt(n,e):new rt(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function Tt(t){this._context=t}Tt.prototype={areaStart:C,areaEnd:C,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function It(t){return new Tt(t)}function lt(t){return t<0?-1:1}function ht(t,e,i){var n=t._x1-t._x0,s=e-t._x1,o=(t._y1-t._y0)/(n||s<0&&-0),l=(i-t._y1)/(s||n<0&&-0),r=(o*s+l*n)/(n+s);return(lt(o)+lt(l))*Math.min(Math.abs(o),Math.abs(l),.5*Math.abs(r))||0}function ct(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Z(t,e,i){var n=t._x0,s=t._y0,o=t._x1,l=t._y1,r=(o-n)/3;t._context.bezierCurveTo(n+r,s+r*e,o-r,l-r*i,o,l)}function G(t){this._context=t}G.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Z(this,this._t0,ct(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Z(this,ct(this,i=ht(this,t,e)),i);break;default:Z(this,this._t0,i=ht(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}};function Nt(t){this._context=new Ct(t)}(Nt.prototype=Object.create(G.prototype)).point=function(t,e){G.prototype.point.call(this,e,t)};function Ct(t){this._context=t}Ct.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,i,n,s,o){this._context.bezierCurveTo(e,t,n,i,o,s)}};function Xt(t){return new G(t)}function Yt(t){return new Nt(t)}function Pt(t){this._context=t}Pt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,i=t.length;if(i)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),i===2)this._context.lineTo(t[1],e[1]);else for(var n=_t(t),s=_t(e),o=0,l=1;l<i;++o,++l)this._context.bezierCurveTo(n[0][o],s[0][o],n[1][o],s[1][o],t[l],e[l]);(this._line||this._line!==0&&i===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function _t(t){var e,i=t.length-1,n,s=new Array(i),o=new Array(i),l=new Array(i);for(s[0]=0,o[0]=2,l[0]=t[0]+2*t[1],e=1;e<i-1;++e)s[e]=1,o[e]=4,l[e]=4*t[e]+2*t[e+1];for(s[i-1]=2,o[i-1]=7,l[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=s[e]/o[e-1],o[e]-=n,l[e]-=n*l[e-1];for(s[i-1]=l[i-1]/o[i-1],e=i-2;e>=0;--e)s[e]=(l[e]-s[e+1])/o[e];for(o[i-1]=(t[i]+s[i-1])/2,e=0;e<i-1;++e)o[e]=2*t[e+1]-s[e+1];return[s,o]}function Vt(t){return new Pt(t)}function V(t,e){this._context=t,this._t=e}V.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}break}}this._x=t,this._y=e}};function zt(t){return new V(t,.5)}function Wt(t){return new V(t,0)}function Zt(t){return new V(t,1)}function ut(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),i.push.apply(i,n)}return i}function qt(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?ut(Object(i),!0).forEach(function(n){Ut(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ut(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function E(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(e){return typeof e}:E=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(t)}function Ut(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function I(){return I=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},I.apply(this,arguments)}function Qt(t,e){if(t){if(typeof t=="string")return ft(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return ft(t,e)}}function ft(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Ot(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=Qt(t))||e){i&&(t=i);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(h){throw h},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,l=!1,r;return{s:function(){i=i.call(t)},n:function(){var h=i.next();return o=h.done,h},e:function(h){l=!0,r=h},f:function(){try{!o&&i.return!=null&&i.return()}finally{if(l)throw r}}}}function Jt(t,e){var i=[],n=[];function s(o,l){if(o.length===1)i.push(o[0]),n.push(o[0]);else{for(var r=Array(o.length-1),h=0;h<r.length;h++)h===0&&i.push(o[0]),h===r.length-1&&n.push(o[h+1]),r[h]=[(1-l)*o[h][0]+l*o[h+1][0],(1-l)*o[h][1]+l*o[h+1][1]];s(r,l)}}return t.length&&s(t,e),{left:i,right:n.reverse()}}function Kt(t){var e={};return t.length===4&&(e.x2=t[2][0],e.y2=t[2][1]),t.length>=3&&(e.x1=t[1][0],e.y1=t[1][1]),e.x=t[t.length-1][0],e.y=t[t.length-1][1],t.length===4?e.type="C":t.length===3?e.type="Q":e.type="L",e}function te(t,e){e=e||2;for(var i=[],n=t,s=1/e,o=0;o<e-1;o++){var l=s/(1-s*o),r=Jt(n,l);i.push(r.left),n=r.right}return i.push(n),i}function ee(t,e,i){var n=[[t.x,t.y]];return e.x1!=null&&n.push([e.x1,e.y1]),e.x2!=null&&n.push([e.x2,e.y2]),n.push([e.x,e.y]),te(n,i).map(Kt)}var ie=/[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,D={M:["x","y"],L:["x","y"],H:["x"],V:["y"],C:["x1","y1","x2","y2","x","y"],S:["x2","y2","x","y"],Q:["x1","y1","x","y"],T:["x","y"],A:["rx","ry","xAxisRotation","largeArcFlag","sweepFlag","x","y"],Z:[]};Object.keys(D).forEach(function(t){D[t.toLowerCase()]=D[t]});function q(t,e){for(var i=Array(t),n=0;n<t;n++)i[n]=e;return i}function ne(t){return"".concat(t.type).concat(D[t.type].map(function(e){return t[e]}).join(","))}function se(t,e){var i={x1:"x",y1:"y",x2:"x",y2:"y"},n=["xAxisRotation","largeArcFlag","sweepFlag"];if(t.type!==e.type&&e.type.toUpperCase()!=="M"){var s={};Object.keys(e).forEach(function(o){var l=e[o],r=t[o];r===void 0&&(n.includes(o)?r=l:(r===void 0&&i[o]&&(r=t[i[o]]),r===void 0&&(r=0))),s[o]=r}),s.type=e.type,t=s}return t}function oe(t,e,i){var n=[];if(e.type==="L"||e.type==="Q"||e.type==="C")n=n.concat(ee(t,e,i));else{var s=I({},t);s.type==="M"&&(s.type="L"),n=n.concat(q(i-1).map(function(){return s})),n.push(e)}return n}function pt(t,e,i){var n=t.length-1,s=e.length-1,o=n/s,l=q(s).reduce(function(h,c,d){var a=Math.floor(o*d);if(i&&a<t.length-1&&i(t[a],t[a+1])){var _=o*d%1<.5;h[a]&&(_?a>0?a-=1:a<t.length-1&&(a+=1):a<t.length-1?a+=1:a>0&&(a-=1))}return h[a]=(h[a]||0)+1,h},[]),r=l.reduce(function(h,c,d){if(d===t.length-1){var a=q(c,I({},t[t.length-1]));return a[0].type==="M"&&a.forEach(function(_){_.type="L"}),h.concat(a)}return h.concat(oe(t[d],t[d+1],c))},[]);return r.unshift(t[0]),r}function yt(t){for(var e=(t||"").match(ie)||[],i=[],n,s,o=0;o<e.length;++o)if(n=D[e[o]],n){s={type:e[o]};for(var l=0;l<n.length;++l)s[n[l]]=+e[o+l+1];o+=n.length,i.push(s)}return i}function re(t,e,i){var n=t==null?[]:t.slice(),s=e==null?[]:e.slice(),o=E(i)==="object"?i:{excludeSegment:i,snapEndsToInput:!0},l=o.excludeSegment,r=o.snapEndsToInput;if(!n.length&&!s.length)return function(){return[]};var h=(n.length===0||n[n.length-1].type==="Z")&&(s.length===0||s[s.length-1].type==="Z");n.length>0&&n[n.length-1].type==="Z"&&n.pop(),s.length>0&&s[s.length-1].type==="Z"&&s.pop(),n.length?s.length||s.push(n[0]):n.push(s[0]);var c=Math.abs(s.length-n.length);c!==0&&(s.length>n.length?n=pt(n,s,l):s.length<n.length&&(s=pt(s,n,l))),n=n.map(function(a,_){return se(a,s[_])});var d=n.map(function(a){return qt({},a)});return h&&(d.push({type:"Z"}),n.push({type:"Z"})),function(_){if(_===1&&r)return e??[];if(_===0)return n;for(var b=0;b<d.length;++b){var v=n[b],x=s[b],f=d[b],p=Ot(D[f.type]),g;try{for(p.s();!(g=p.n()).done;){var y=g.value;f[y]=(1-_)*v[y]+_*x[y],(y==="largeArcFlag"||y==="sweepFlag")&&(f[y]=Math.round(f[y]))}}catch(k){p.e(k)}finally{p.f()}}return d}}function U(t,e,i){var n=yt(t),s=yt(e),o=E(i)==="object"?i:{excludeSegment:i,snapEndsToInput:!0},l=o.excludeSegment,r=o.snapEndsToInput;if(!n.length&&!s.length)return function(){return""};var h=re(n,s,{excludeSegment:l,snapEndsToInput:r});return function(d){if(d===1&&r)return e??"";var a=h(d),_="",b=Ot(a),v;try{for(b.s();!(v=b.n()).done;){var x=v.value;_+=ne(x)}}catch(f){b.e(f)}finally{b.f()}return _}}var S;(function(t){t.Basis="basis",t.BasisClosed="basisClosed",t.BasisOpen="basisOpen",t.Bundle="bundle",t.Cardinal="cardinal",t.CardinalClosed="cardinalClosed",t.CardinalOpen="cardinalOpen",t.CatmullRom="catmullRom",t.CatmullRomClosed="catmullRomClosed",t.CatmullRomOpen="catmullRomOpen",t.Linear="linear",t.LinearClosed="linearClosed",t.MonotoneX="monotoneX",t.MonotoneY="monotoneY",t.Natural="natural",t.Step="step",t.StepAfter="stepAfter",t.StepBefore="stepBefore"})(S||(S={}));const X={[S.Basis]:Dt,[S.BasisClosed]:jt,[S.BasisOpen]:Et,[S.Bundle]:Rt,[S.Cardinal]:Bt,[S.CardinalClosed]:Lt,[S.CardinalOpen]:Ft,[S.CatmullRom]:Ht,[S.CatmullRomClosed]:$t,[S.CatmullRomOpen]:Gt,[S.Linear]:it,[S.LinearClosed]:It,[S.MonotoneX]:Xt,[S.MonotoneY]:Yt,[S.Natural]:Vt,[S.Step]:zt,[S.StepAfter]:Zt,[S.StepBefore]:Wt},ae=Object.assign(Object.assign({},T.XYComponentDefaultConfig),{curveType:S.MonotoneX,lineWidth:2,lineDashArray:void 0,fallbackValue:void 0,highlightOnHover:!1,cursor:null,interpolateMissingData:!1}),le=u.injectGlobal`
3
+ :root {
4
+ --vis-line-cursor: default;
5
+ --vis-line-stroke-dasharray: none;
6
+ --vis-line-stroke-dashoffset: 0;
7
+
8
+ --vis-line-gapfill-stroke-dasharray: 2 3;
9
+ --vis-line-gapfill-stroke-opacity: 0.8;
10
+ --vis-line-gapfill-stroke-dashoffset: 0;
11
+ }
12
+ `,he=u.css`
13
+ label: line-component;
14
+ `,j=u.css`
15
+ label: line;
16
+ transition: opacity 200ms;
17
+ cursor: var(--vis-line-cursor);
18
+ `,Q=u.css`
19
+ label: linePath;
20
+ fill: none;
21
+ stroke-dasharray: var(--vis-line-stroke-dasharray);
22
+ stroke-dashoffset: var(--vis-line-stroke-dashoffset);
23
+ `,J=u.css`
24
+ label: lineSelectionHelper;
25
+ fill: none;
26
+ stroke: rgba(0, 0, 0, 0);
27
+ stroke-width: 8px;
28
+ `,K=u.css`
29
+ opacity: 0.2;
30
+ `,tt=u.css`
31
+ label: interpolated-path;
32
+ fill: none;
33
+ stroke-dasharray: var(--vis-line-gapfill-stroke-dasharray);
34
+ stroke-dashoffset: var(--vis-line-gapfill-stroke-dashoffset);
35
+ stroke-opacity: var(--vis-line-gapfill-stroke-opacity);
36
+ `,ce=Object.freeze(Object.defineProperty({__proto__:null,dim:K,globalStyles:le,interpolatedPath:tt,line:j,linePath:Q,lineSelectionHelper:J,root:he},Symbol.toStringTag,{value:"Module"}));class z extends T.XYComponentCore{constructor(e){super(),this._defaultConfig=ae,this.config=this._defaultConfig,this.curve=X[S.MonotoneX],this.events={[z.selectors.line]:{mouseover:this._highlight.bind(this),mouseleave:this._resetHighlight.bind(this)}},e&&this.setConfig(e)}get bleed(){const{config:{lineWidth:e}}=this,i=this.yScale.domain(),s=(this.yScale.range()[0]>this.yScale.range()[1]?T.Direction.North:T.Direction.South)===T.Direction.South,o=e>3,l=e>=10;return{top:!l&&(!s&&i[1]===0||s&&i[0]===0)?0:e/2,bottom:!l&&(!s&&i[0]===0||s&&i[1]===0)?0:e/2,left:o?e/2:0,right:o?e/2:0}}_render(e){super._render(e);const{config:i,datamodel:{data:n}}=this,s=u.isNumber(e)?e:i.duration;this.curve=X[i.curveType],this.lineGen=nt().x(a=>a.x).y(a=>a.y).defined(a=>a.defined).curve(this.curve);const o=u.isArray(i.y)?i.y:[i.y],l=n.map((a,_)=>this.xScale(u.getNumber(a,i.x,_))),r=o.map(a=>{const _=n.map((p,g)=>{const y=u.getNumber(p,a,g),k=(u.isNumber(y)||y===null)&&isFinite(y)?y:i.fallbackValue,N=i.interpolateMissingData?(u.isNumber(y)||y===null)&&isFinite(y):isFinite(k);return{x:l[g],y:this.yScale(k??0),defined:N,value:k}}),b=_.reduce((p,g)=>g.defined||p,!1);let v=!1;const x=_.reduce((p,g,y)=>{!g.defined&&isFinite(i.fallbackValue)&&p.push(Object.assign(Object.assign({},g),{defined:!0})),!g.defined&&!v&&(v=!0);const k=y>0&&!_[y-1].defined||y<_.length-1&&!_[y+1].defined;return g.defined&&k&&(v||p.push(Object.assign(Object.assign({},g),{defined:!1})),p.push(g),v=!1),p},[]),f=b&&_.some(p=>p.value!==null);return{values:_,defined:b,gaps:x,visible:f}}),h=this.g.selectAll(`.${j}`).data(r),c=h.enter().append("g").attr("class",j);c.append("path").attr("class",Q).attr("stroke",(a,_)=>u.getColor(n,i.color,_)).attr("stroke-opacity",0).attr("stroke-width",i.lineWidth),c.append("path").attr("class",J).attr("d",this._emptyPath()),c.append("path").attr("class",tt).attr("d",this._emptyPath()).style("opacity",0);const d=c.merge(h);d.style("cursor",(a,_)=>u.getString(n,i.cursor,_)),d.each((a,_,b)=>{var v;const x=u.select(b[_]),f=x.select(`.${Q}`),p=x.select(`.${J}`),g=x.select(`.${tt}`),y=a.visible,k=u.getValue(n,i.lineDashArray,_),N=u.smartTransition(f,s).attr("stroke",u.getColor(n,i.color,_)).attr("stroke-width",i.lineWidth).attr("stroke-opacity",y?1:0).style("stroke-dasharray",(v=k?.join(" "))!==null&&v!==void 0?v:null),M=a.values.some(O=>!O.defined),P=this.lineGen(a.values);if(s&&!M){const O=f.attr("d")||this._emptyPath(),A=P||this._emptyPath();N.attrTween("d",()=>U(O,A))}else a.visible&&N.attr("d",P);p.attr("d",P).attr("visibility",y?null:"hidden"),M&&i.interpolateMissingData?u.smartTransition(g,s).attr("d",this.lineGen(a.gaps)).attr("stroke",u.getColor(n,i.color,_)).attr("stroke-width",i.lineWidth-1).style("opacity",1):g.transition().duration(s).style("opacity",0)}),u.smartTransition(h.exit(),s).style("opacity",0).remove()}_emptyPath(){const e=this.xScale.range(),i=this.yScale.range();return`M${e[0]},${i[0]} L${e[1]},${i[0]}`}_highlight(e){const{config:i}=this;i.highlightOnHover&&this.g.selectAll(`.${j}`).classed(K,n=>n!==e)}_resetHighlight(){const{config:e}=this;e.highlightOnHover&&this.g.selectAll(`.${j}`).classed(K,!1)}}z.selectors=ce;const _e=Object.assign(Object.assign({},T.XYComponentDefaultConfig),{color:void 0,curveType:S.MonotoneX,baseline:()=>0,opacity:1,cursor:null,line:!1,lineColor:void 0,lineWidth:2,lineDashArray:void 0,minHeight1Px:!1,minHeight:void 0,stackMinHeight:!1}),At=u.css`
37
+ label: area-component;
38
+ `,ue=u.injectGlobal`
39
+ :root {
40
+ --vis-area-cursor: default;
41
+ --vis-area-fill-opacity: 1;
42
+ --vis-area-stroke-color: none;
43
+ --vis-area-stroke-width: 0px;
44
+ --vis-area-stroke-dasharray: none;
45
+ --vis-area-stroke-opacity: 1;
46
+ --vis-area-hover-fill-opacity: none;
47
+ --vis-area-hover-stroke-width: none;
48
+
49
+ /* Dark Theme */
50
+ --vis-dark-area-stroke-color: none;
51
+ }
52
+
53
+ body.theme-dark ${`.${At}`} {
54
+ --vis-area-stroke-color: var(--vis-dark-area-stroke-color);
55
+ }
56
+
57
+ `,F=u.css`
58
+ label: area;
59
+ cursor: var(--vis-area-cursor);
60
+ fill-opacity: var(--vis-area-fill-opacity);
61
+ stroke-width: var(--vis-area-stroke-width);
62
+ stroke-dasharray: var(--vis-area-stroke-dasharray);
63
+ stroke: var(--vis-area-stroke-color);
64
+ stroke-opacity: var(--vis-area-stroke-opacity);
65
+
66
+ &:hover {
67
+ fill-opacity: var(--vis-area-hover-fill-opacity);
68
+ stroke-width: var(--vis-area-hover-stroke-width);
69
+ }
70
+ `,et=u.css`
71
+ label: areaLinePath;
72
+ fill: none;
73
+ stroke-dasharray: var(--vis-line-stroke-dasharray);
74
+ stroke-dashoffset: var(--vis-line-stroke-dashoffset);
75
+ `,fe=Object.freeze(Object.defineProperty({__proto__:null,area:F,areaLinePath:et,globalStyles:ue,root:At},Symbol.toStringTag,{value:"Module"}));class W extends T.XYComponentCore{constructor(e){super(),this._defaultConfig=_e,this.config=this._defaultConfig,this.stacked=!0,this.events={[W.selectors.area]:{}},e&&this.setConfig(e),this.stacked=Array.isArray(this.config.y)}get bleed(){const{config:{line:e,lineWidth:i}}=this;if(!e)return{top:0,bottom:0,left:0,right:0};const n=this.yScale.domain(),o=(this.yScale.range()[0]>this.yScale.range()[1]?T.Direction.North:T.Direction.South)===T.Direction.South,l=i>3,r=i>=10;return{top:!r&&(!o&&n[1]===0||o&&n[0]===0)?0:i/2,bottom:!r&&(!o&&n[0]===0||o&&n[1]===0)?0:i/2,left:l?i/2:0,right:l?i/2:0}}_render(e){super._render(e);const{config:i,datamodel:{data:n}}=this,s=u.isNumber(e)?e:i.duration,o=X[i.curveType];this._areaGen=Mt().x(f=>f.x).y0(f=>f.y0).y1(f=>f.y1).curve(o);const l=u.isArray(i.y)?i.y:[i.y],r=n.map((f,p)=>this.xScale(u.getNumber(f,i.x,p))),h=u.getStackedData(n,i.baseline,l,this._prevNegative);this._prevNegative=h.map(f=>!!f.isMostlyNegative);const c=[],d=h.map(f=>f.map((p,g)=>{var y,k;const N=r[g],M=this.yScale(p[0]),P=this.yScale(p[1]),O=P>M,A=i.stackMinHeight&&c[g]||0,R=O?M+A:M-A,B=O?P+A:P-A;let L=0;return(i.minHeight||i.minHeight1Px)&&Math.abs(B-R)<((y=i.minHeight)!==null&&y!==void 0?y:1)&&(L=((k=i.minHeight)!==null&&k!==void 0?k:1)-Math.abs(B-R),i.stackMinHeight&&(c[g]=A+L)),{x:N,y0:R,y1:O?B+L:B-L}})),a=d.length-1,_=[...d].reverse(),b=this.g.selectAll(`.${F}`).data(_),v=b.enter().append("path").attr("class",F).attr("d",f=>this._areaGen(f)||this._emptyPath()).style("opacity",0).style("fill",(f,p)=>u.getColor(n,i.color,a-p)),x=u.smartTransition(v.merge(b),s).style("opacity",(f,p)=>f.some(y=>y.y0-y.y1!==0)?u.getNumber(n,i.opacity,a-p):0).style("fill",(f,p)=>u.getColor(n,i.color,a-p)).style("cursor",(f,p)=>u.getString(n,i.cursor,a-p));s?x.attrTween("d",(p,g,y)=>{const k=u.select(y[g]).attr("d"),N=this._areaGen(p)||this._emptyPath();return U(k,N)}):x.attr("d",f=>this._areaGen(f)||this._emptyPath()),u.smartTransition(b.exit(),s).style("opacity",0).remove(),i.line&&this._renderLines(s,d)}_renderLines(e,i){var n;const{config:s,datamodel:{data:o}}=this,l=i.length-1,r=[...i].reverse(),h=(n=s.lineColor)!==null&&n!==void 0?n:s.color,c=this.g.selectAll(`.${et}`).data(r),d=this.g.selectAll(`.${F}`).nodes(),a=c.enter().insert("path",(v,x)=>d[x+1]).attr("class",et).attr("stroke",(v,x)=>u.getColor(o,h,l-x)).attr("stroke-width",s.lineWidth).attr("stroke-opacity",0),_=u.smartTransition(a.merge(c),e).attr("stroke",(v,x)=>u.getColor(o,h,l-x)).attr("stroke-width",s.lineWidth).attr("stroke-opacity",1).attr("cursor",(v,x)=>u.getString(o,s.cursor,l-x)).style("stroke-dasharray",(v,x)=>{var f,p;return(p=(f=u.getValue(o,s.lineDashArray,x))===null||f===void 0?void 0:f.join(" "))!==null&&p!==void 0?p:null}),b=X[s.curveType];this._lineGen=nt().x(v=>v.x).y(v=>v.y1).curve(b),e?_.attrTween("d",(x,f,p)=>{const g=u.select(p[f]).attr("d")||this._emptyLinePath(),y=this._lineGen(x)||this._emptyLinePath();return U(g,y)}):_.attr("d",v=>this._lineGen(v)||this._emptyLinePath()),u.smartTransition(c.exit(),e).style("opacity",0).remove()}getYDataExtent(e){const{config:i,datamodel:n}=this,s=u.isArray(i.y)?i.y:[i.y],o=this.xScale.domain(),l=e?u.filterDataByRange(n.data,o,i.x,!0):n.data;return u.getStackedExtent(l,i.baseline,...s)}_emptyPath(){const e=this.xScale.range(),i=this.yScale.domain(),n=this.yScale((i[0]+i[1])/2),s=n;return this._areaGen([{y0:n,y1:s,x:e[0]},{y0:n,y1:s,x:e[1]}])}_emptyLinePath(){const e=this.xScale.range(),i=this.yScale.range();return`M${e[0]},${i[0]} L${e[1]},${i[0]}`}}W.selectors=fe;const pe={"data-vis-component":""},ye=w.defineComponent({__name:"index",props:{color:{type:[Function,String,Array,null]},curveType:{},baseline:{type:[Function,Number,null]},opacity:{type:[Function,Number,null]},cursor:{type:[Function,String,null]},minHeight1Px:{type:Boolean},minHeight:{},x:{type:[Function,Number,null]},y:{type:[Function,Number,null,Array]},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const i=w.inject(u.o),n=t,s=w.computed(()=>i.data.value??n.data),o=u.m(n),l=w.ref();return w.onMounted(()=>{w.nextTick(()=>{var r;l.value=new W(o.value),(r=l.value)==null||r.setData(s.value),i.update(l.value)})}),w.onUnmounted(()=>{var r;(r=l.value)==null||r.destroy(),i.destroy()}),w.watch(o,(r,h)=>{var c;u.f(r,h)||(c=l.value)==null||c.setConfig(o.value)}),w.watch(s,()=>{var r;(r=l.value)==null||r.setData(s.value)}),e({component:l}),(r,h)=>(w.openBlock(),w.createElementBlock("div",pe))}}),de={"data-vis-component":""},ve=w.defineComponent({__name:"index",props:{color:{type:[Function,String,Array,null]},curveType:{},lineWidth:{},lineDashArray:{type:[Function,Array,null]},fallbackValue:{},highlightOnHover:{type:Boolean},cursor:{type:[Function,String,null]},interpolateMissingData:{type:Boolean},x:{type:[Function,Number,null]},y:{type:[Function,Number,null,Array]},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const i=w.inject(u.o),n=t,s=w.computed(()=>i.data.value??n.data),o=u.m(n),l=w.ref();return w.onMounted(()=>{w.nextTick(()=>{var r;l.value=new z(o.value),(r=l.value)==null||r.setData(s.value),i.update(l.value)})}),w.onUnmounted(()=>{var r;(r=l.value)==null||r.destroy(),i.destroy()}),w.watch(o,(r,h)=>{var c;u.f(r,h)||(c=l.value)==null||c.setConfig(o.value)}),w.watch(s,()=>{var r;(r=l.value)==null||r.setData(s.value)}),e({component:l}),(r,h)=>(w.openBlock(),w.createElementBlock("div",de))}});exports.C=ye;exports.C$1=ve;