@oneclick.dev/cms-core-modules 0.0.70 → 0.0.72

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,3837 @@
1
+ import { getCurrentInstance as Hr, computed as Pr, camelize as Ze } from "vue";
2
+ var xe = "http://www.w3.org/1999/xhtml";
3
+ const Ke = {
4
+ svg: "http://www.w3.org/2000/svg",
5
+ xhtml: xe,
6
+ xlink: "http://www.w3.org/1999/xlink",
7
+ xml: "http://www.w3.org/XML/1998/namespace",
8
+ xmlns: "http://www.w3.org/2000/xmlns/"
9
+ };
10
+ function ue(t) {
11
+ var e = t += "", n = e.indexOf(":");
12
+ return n >= 0 && (e = t.slice(0, n)) !== "xmlns" && (t = t.slice(n + 1)), Ke.hasOwnProperty(e) ? { space: Ke[e], local: t } : t;
13
+ }
14
+ function Vr(t) {
15
+ return function() {
16
+ var e = this.ownerDocument, n = this.namespaceURI;
17
+ return n === xe && e.documentElement.namespaceURI === xe ? e.createElement(t) : e.createElementNS(n, t);
18
+ };
19
+ }
20
+ function Wr(t) {
21
+ return function() {
22
+ return this.ownerDocument.createElementNS(t.space, t.local);
23
+ };
24
+ }
25
+ function Ln(t) {
26
+ var e = ue(t);
27
+ return (e.local ? Wr : Vr)(e);
28
+ }
29
+ function Ur() {
30
+ }
31
+ function ze(t) {
32
+ return t == null ? Ur : function() {
33
+ return this.querySelector(t);
34
+ };
35
+ }
36
+ function qr(t) {
37
+ typeof t != "function" && (t = ze(t));
38
+ for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
39
+ for (var s = e[i], a = s.length, o = r[i] = new Array(a), c, u, f = 0; f < a; ++f)
40
+ (c = s[f]) && (u = t.call(c, c.__data__, f, s)) && ("__data__" in c && (u.__data__ = c.__data__), o[f] = u);
41
+ return new M(r, this._parents);
42
+ }
43
+ function Xr(t) {
44
+ return t == null ? [] : Array.isArray(t) ? t : Array.from(t);
45
+ }
46
+ function Gr() {
47
+ return [];
48
+ }
49
+ function Bn(t) {
50
+ return t == null ? Gr : function() {
51
+ return this.querySelectorAll(t);
52
+ };
53
+ }
54
+ function Yr(t) {
55
+ return function() {
56
+ return Xr(t.apply(this, arguments));
57
+ };
58
+ }
59
+ function Zr(t) {
60
+ typeof t == "function" ? t = Yr(t) : t = Bn(t);
61
+ for (var e = this._groups, n = e.length, r = [], i = [], s = 0; s < n; ++s)
62
+ for (var a = e[s], o = a.length, c, u = 0; u < o; ++u)
63
+ (c = a[u]) && (r.push(t.call(c, c.__data__, u, a)), i.push(c));
64
+ return new M(r, i);
65
+ }
66
+ function Hn(t) {
67
+ return function() {
68
+ return this.matches(t);
69
+ };
70
+ }
71
+ function Pn(t) {
72
+ return function(e) {
73
+ return e.matches(t);
74
+ };
75
+ }
76
+ var Kr = Array.prototype.find;
77
+ function Jr(t) {
78
+ return function() {
79
+ return Kr.call(this.children, t);
80
+ };
81
+ }
82
+ function Qr() {
83
+ return this.firstElementChild;
84
+ }
85
+ function jr(t) {
86
+ return this.select(t == null ? Qr : Jr(typeof t == "function" ? t : Pn(t)));
87
+ }
88
+ var ti = Array.prototype.filter;
89
+ function ei() {
90
+ return Array.from(this.children);
91
+ }
92
+ function ni(t) {
93
+ return function() {
94
+ return ti.call(this.children, t);
95
+ };
96
+ }
97
+ function ri(t) {
98
+ return this.selectAll(t == null ? ei : ni(typeof t == "function" ? t : Pn(t)));
99
+ }
100
+ function ii(t) {
101
+ typeof t != "function" && (t = Hn(t));
102
+ for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
103
+ for (var s = e[i], a = s.length, o = r[i] = [], c, u = 0; u < a; ++u)
104
+ (c = s[u]) && t.call(c, c.__data__, u, s) && o.push(c);
105
+ return new M(r, this._parents);
106
+ }
107
+ function Vn(t) {
108
+ return new Array(t.length);
109
+ }
110
+ function si() {
111
+ return new M(this._enter || this._groups.map(Vn), this._parents);
112
+ }
113
+ function Zt(t, e) {
114
+ this.ownerDocument = t.ownerDocument, this.namespaceURI = t.namespaceURI, this._next = null, this._parent = t, this.__data__ = e;
115
+ }
116
+ Zt.prototype = {
117
+ constructor: Zt,
118
+ appendChild: function(t) {
119
+ return this._parent.insertBefore(t, this._next);
120
+ },
121
+ insertBefore: function(t, e) {
122
+ return this._parent.insertBefore(t, e);
123
+ },
124
+ querySelector: function(t) {
125
+ return this._parent.querySelector(t);
126
+ },
127
+ querySelectorAll: function(t) {
128
+ return this._parent.querySelectorAll(t);
129
+ }
130
+ };
131
+ function ai(t) {
132
+ return function() {
133
+ return t;
134
+ };
135
+ }
136
+ function oi(t, e, n, r, i, s) {
137
+ for (var a = 0, o, c = e.length, u = s.length; a < u; ++a)
138
+ (o = e[a]) ? (o.__data__ = s[a], r[a] = o) : n[a] = new Zt(t, s[a]);
139
+ for (; a < c; ++a)
140
+ (o = e[a]) && (i[a] = o);
141
+ }
142
+ function ci(t, e, n, r, i, s, a) {
143
+ var o, c, u = /* @__PURE__ */ new Map(), f = e.length, l = s.length, h = new Array(f), p;
144
+ for (o = 0; o < f; ++o)
145
+ (c = e[o]) && (h[o] = p = a.call(c, c.__data__, o, e) + "", u.has(p) ? i[o] = c : u.set(p, c));
146
+ for (o = 0; o < l; ++o)
147
+ p = a.call(t, s[o], o, s) + "", (c = u.get(p)) ? (r[o] = c, c.__data__ = s[o], u.delete(p)) : n[o] = new Zt(t, s[o]);
148
+ for (o = 0; o < f; ++o)
149
+ (c = e[o]) && u.get(h[o]) === c && (i[o] = c);
150
+ }
151
+ function ui(t) {
152
+ return t.__data__;
153
+ }
154
+ function fi(t, e) {
155
+ if (!arguments.length) return Array.from(this, ui);
156
+ var n = e ? ci : oi, r = this._parents, i = this._groups;
157
+ typeof t != "function" && (t = ai(t));
158
+ for (var s = i.length, a = new Array(s), o = new Array(s), c = new Array(s), u = 0; u < s; ++u) {
159
+ var f = r[u], l = i[u], h = l.length, p = li(t.call(f, f && f.__data__, u, r)), g = p.length, d = o[u] = new Array(g), y = a[u] = new Array(g), m = c[u] = new Array(h);
160
+ n(f, l, d, y, m, p, e);
161
+ for (var v = 0, _ = 0, T, w; v < g; ++v)
162
+ if (T = d[v]) {
163
+ for (v >= _ && (_ = v + 1); !(w = y[_]) && ++_ < g; ) ;
164
+ T._next = w || null;
165
+ }
166
+ }
167
+ return a = new M(a, r), a._enter = o, a._exit = c, a;
168
+ }
169
+ function li(t) {
170
+ return typeof t == "object" && "length" in t ? t : Array.from(t);
171
+ }
172
+ function hi() {
173
+ return new M(this._exit || this._groups.map(Vn), this._parents);
174
+ }
175
+ function di(t, e, n) {
176
+ var r = this.enter(), i = this, s = this.exit();
177
+ 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;
178
+ }
179
+ function gi(t) {
180
+ for (var e = t.selection ? t.selection() : t, n = this._groups, r = e._groups, i = n.length, s = r.length, a = Math.min(i, s), o = new Array(i), c = 0; c < a; ++c)
181
+ for (var u = n[c], f = r[c], l = u.length, h = o[c] = new Array(l), p, g = 0; g < l; ++g)
182
+ (p = u[g] || f[g]) && (h[g] = p);
183
+ for (; c < i; ++c)
184
+ o[c] = n[c];
185
+ return new M(o, this._parents);
186
+ }
187
+ function pi() {
188
+ for (var t = this._groups, e = -1, n = t.length; ++e < n; )
189
+ for (var r = t[e], i = r.length - 1, s = r[i], a; --i >= 0; )
190
+ (a = r[i]) && (s && a.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(a, s), s = a);
191
+ return this;
192
+ }
193
+ function vi(t) {
194
+ t || (t = mi);
195
+ function e(l, h) {
196
+ return l && h ? t(l.__data__, h.__data__) : !l - !h;
197
+ }
198
+ for (var n = this._groups, r = n.length, i = new Array(r), s = 0; s < r; ++s) {
199
+ for (var a = n[s], o = a.length, c = i[s] = new Array(o), u, f = 0; f < o; ++f)
200
+ (u = a[f]) && (c[f] = u);
201
+ c.sort(e);
202
+ }
203
+ return new M(i, this._parents).order();
204
+ }
205
+ function mi(t, e) {
206
+ return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
207
+ }
208
+ function yi() {
209
+ var t = arguments[0];
210
+ return arguments[0] = this, t.apply(null, arguments), this;
211
+ }
212
+ function _i() {
213
+ return Array.from(this);
214
+ }
215
+ function wi() {
216
+ for (var t = this._groups, e = 0, n = t.length; e < n; ++e)
217
+ for (var r = t[e], i = 0, s = r.length; i < s; ++i) {
218
+ var a = r[i];
219
+ if (a) return a;
220
+ }
221
+ return null;
222
+ }
223
+ function xi() {
224
+ let t = 0;
225
+ for (const e of this) ++t;
226
+ return t;
227
+ }
228
+ function bi() {
229
+ return !this.node();
230
+ }
231
+ function Ai(t) {
232
+ for (var e = this._groups, n = 0, r = e.length; n < r; ++n)
233
+ for (var i = e[n], s = 0, a = i.length, o; s < a; ++s)
234
+ (o = i[s]) && t.call(o, o.__data__, s, i);
235
+ return this;
236
+ }
237
+ function Si(t) {
238
+ return function() {
239
+ this.removeAttribute(t);
240
+ };
241
+ }
242
+ function Ti(t) {
243
+ return function() {
244
+ this.removeAttributeNS(t.space, t.local);
245
+ };
246
+ }
247
+ function Ei(t, e) {
248
+ return function() {
249
+ this.setAttribute(t, e);
250
+ };
251
+ }
252
+ function Ci(t, e) {
253
+ return function() {
254
+ this.setAttributeNS(t.space, t.local, e);
255
+ };
256
+ }
257
+ function $i(t, e) {
258
+ return function() {
259
+ var n = e.apply(this, arguments);
260
+ n == null ? this.removeAttribute(t) : this.setAttribute(t, n);
261
+ };
262
+ }
263
+ function Ri(t, e) {
264
+ return function() {
265
+ var n = e.apply(this, arguments);
266
+ n == null ? this.removeAttributeNS(t.space, t.local) : this.setAttributeNS(t.space, t.local, n);
267
+ };
268
+ }
269
+ function Oi(t, e) {
270
+ var n = ue(t);
271
+ if (arguments.length < 2) {
272
+ var r = this.node();
273
+ return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
274
+ }
275
+ return this.each((e == null ? n.local ? Ti : Si : typeof e == "function" ? n.local ? Ri : $i : n.local ? Ci : Ei)(n, e));
276
+ }
277
+ function Wn(t) {
278
+ return t.ownerDocument && t.ownerDocument.defaultView || t.document && t || t.defaultView;
279
+ }
280
+ function Ni(t) {
281
+ return function() {
282
+ this.style.removeProperty(t);
283
+ };
284
+ }
285
+ function ki(t, e, n) {
286
+ return function() {
287
+ this.style.setProperty(t, e, n);
288
+ };
289
+ }
290
+ function Mi(t, e, n) {
291
+ return function() {
292
+ var r = e.apply(this, arguments);
293
+ r == null ? this.style.removeProperty(t) : this.style.setProperty(t, r, n);
294
+ };
295
+ }
296
+ function zi(t, e, n) {
297
+ return arguments.length > 1 ? this.each((e == null ? Ni : typeof e == "function" ? Mi : ki)(t, e, n ?? "")) : ot(this.node(), t);
298
+ }
299
+ function ot(t, e) {
300
+ return t.style.getPropertyValue(e) || Wn(t).getComputedStyle(t, null).getPropertyValue(e);
301
+ }
302
+ function Ii(t) {
303
+ return function() {
304
+ delete this[t];
305
+ };
306
+ }
307
+ function Fi(t, e) {
308
+ return function() {
309
+ this[t] = e;
310
+ };
311
+ }
312
+ function Di(t, e) {
313
+ return function() {
314
+ var n = e.apply(this, arguments);
315
+ n == null ? delete this[t] : this[t] = n;
316
+ };
317
+ }
318
+ function Li(t, e) {
319
+ return arguments.length > 1 ? this.each((e == null ? Ii : typeof e == "function" ? Di : Fi)(t, e)) : this.node()[t];
320
+ }
321
+ function Un(t) {
322
+ return t.trim().split(/^|\s+/);
323
+ }
324
+ function Ie(t) {
325
+ return t.classList || new qn(t);
326
+ }
327
+ function qn(t) {
328
+ this._node = t, this._names = Un(t.getAttribute("class") || "");
329
+ }
330
+ qn.prototype = {
331
+ add: function(t) {
332
+ var e = this._names.indexOf(t);
333
+ e < 0 && (this._names.push(t), this._node.setAttribute("class", this._names.join(" ")));
334
+ },
335
+ remove: function(t) {
336
+ var e = this._names.indexOf(t);
337
+ e >= 0 && (this._names.splice(e, 1), this._node.setAttribute("class", this._names.join(" ")));
338
+ },
339
+ contains: function(t) {
340
+ return this._names.indexOf(t) >= 0;
341
+ }
342
+ };
343
+ function Xn(t, e) {
344
+ for (var n = Ie(t), r = -1, i = e.length; ++r < i; ) n.add(e[r]);
345
+ }
346
+ function Gn(t, e) {
347
+ for (var n = Ie(t), r = -1, i = e.length; ++r < i; ) n.remove(e[r]);
348
+ }
349
+ function Bi(t) {
350
+ return function() {
351
+ Xn(this, t);
352
+ };
353
+ }
354
+ function Hi(t) {
355
+ return function() {
356
+ Gn(this, t);
357
+ };
358
+ }
359
+ function Pi(t, e) {
360
+ return function() {
361
+ (e.apply(this, arguments) ? Xn : Gn)(this, t);
362
+ };
363
+ }
364
+ function Vi(t, e) {
365
+ var n = Un(t + "");
366
+ if (arguments.length < 2) {
367
+ for (var r = Ie(this.node()), i = -1, s = n.length; ++i < s; ) if (!r.contains(n[i])) return !1;
368
+ return !0;
369
+ }
370
+ return this.each((typeof e == "function" ? Pi : e ? Bi : Hi)(n, e));
371
+ }
372
+ function Wi() {
373
+ this.textContent = "";
374
+ }
375
+ function Ui(t) {
376
+ return function() {
377
+ this.textContent = t;
378
+ };
379
+ }
380
+ function qi(t) {
381
+ return function() {
382
+ var e = t.apply(this, arguments);
383
+ this.textContent = e ?? "";
384
+ };
385
+ }
386
+ function Xi(t) {
387
+ return arguments.length ? this.each(t == null ? Wi : (typeof t == "function" ? qi : Ui)(t)) : this.node().textContent;
388
+ }
389
+ function Gi() {
390
+ this.innerHTML = "";
391
+ }
392
+ function Yi(t) {
393
+ return function() {
394
+ this.innerHTML = t;
395
+ };
396
+ }
397
+ function Zi(t) {
398
+ return function() {
399
+ var e = t.apply(this, arguments);
400
+ this.innerHTML = e ?? "";
401
+ };
402
+ }
403
+ function Ki(t) {
404
+ return arguments.length ? this.each(t == null ? Gi : (typeof t == "function" ? Zi : Yi)(t)) : this.node().innerHTML;
405
+ }
406
+ function Ji() {
407
+ this.nextSibling && this.parentNode.appendChild(this);
408
+ }
409
+ function Qi() {
410
+ return this.each(Ji);
411
+ }
412
+ function ji() {
413
+ this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
414
+ }
415
+ function ts() {
416
+ return this.each(ji);
417
+ }
418
+ function es(t) {
419
+ var e = typeof t == "function" ? t : Ln(t);
420
+ return this.select(function() {
421
+ return this.appendChild(e.apply(this, arguments));
422
+ });
423
+ }
424
+ function ns() {
425
+ return null;
426
+ }
427
+ function rs(t, e) {
428
+ var n = typeof t == "function" ? t : Ln(t), r = e == null ? ns : typeof e == "function" ? e : ze(e);
429
+ return this.select(function() {
430
+ return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
431
+ });
432
+ }
433
+ function is() {
434
+ var t = this.parentNode;
435
+ t && t.removeChild(this);
436
+ }
437
+ function ss() {
438
+ return this.each(is);
439
+ }
440
+ function as() {
441
+ var t = this.cloneNode(!1), e = this.parentNode;
442
+ return e ? e.insertBefore(t, this.nextSibling) : t;
443
+ }
444
+ function os() {
445
+ var t = this.cloneNode(!0), e = this.parentNode;
446
+ return e ? e.insertBefore(t, this.nextSibling) : t;
447
+ }
448
+ function cs(t) {
449
+ return this.select(t ? os : as);
450
+ }
451
+ function us(t) {
452
+ return arguments.length ? this.property("__data__", t) : this.node().__data__;
453
+ }
454
+ function fs(t) {
455
+ return function(e) {
456
+ t.call(this, e, this.__data__);
457
+ };
458
+ }
459
+ function ls(t) {
460
+ return t.trim().split(/^|\s+/).map(function(e) {
461
+ var n = "", r = e.indexOf(".");
462
+ return r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), { type: e, name: n };
463
+ });
464
+ }
465
+ function hs(t) {
466
+ return function() {
467
+ var e = this.__on;
468
+ if (e) {
469
+ for (var n = 0, r = -1, i = e.length, s; n < i; ++n)
470
+ s = e[n], (!t.type || s.type === t.type) && s.name === t.name ? this.removeEventListener(s.type, s.listener, s.options) : e[++r] = s;
471
+ ++r ? e.length = r : delete this.__on;
472
+ }
473
+ };
474
+ }
475
+ function ds(t, e, n) {
476
+ return function() {
477
+ var r = this.__on, i, s = fs(e);
478
+ if (r) {
479
+ for (var a = 0, o = r.length; a < o; ++a)
480
+ if ((i = r[a]).type === t.type && i.name === t.name) {
481
+ this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = s, i.options = n), i.value = e;
482
+ return;
483
+ }
484
+ }
485
+ 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];
486
+ };
487
+ }
488
+ function gs(t, e, n) {
489
+ var r = ls(t + ""), i, s = r.length, a;
490
+ if (arguments.length < 2) {
491
+ var o = this.node().__on;
492
+ if (o) {
493
+ for (var c = 0, u = o.length, f; c < u; ++c)
494
+ for (i = 0, f = o[c]; i < s; ++i)
495
+ if ((a = r[i]).type === f.type && a.name === f.name)
496
+ return f.value;
497
+ }
498
+ return;
499
+ }
500
+ for (o = e ? ds : hs, i = 0; i < s; ++i) this.each(o(r[i], e, n));
501
+ return this;
502
+ }
503
+ function Yn(t, e, n) {
504
+ var r = Wn(t), i = r.CustomEvent;
505
+ 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);
506
+ }
507
+ function ps(t, e) {
508
+ return function() {
509
+ return Yn(this, t, e);
510
+ };
511
+ }
512
+ function vs(t, e) {
513
+ return function() {
514
+ return Yn(this, t, e.apply(this, arguments));
515
+ };
516
+ }
517
+ function ms(t, e) {
518
+ return this.each((typeof e == "function" ? vs : ps)(t, e));
519
+ }
520
+ function* ys() {
521
+ for (var t = this._groups, e = 0, n = t.length; e < n; ++e)
522
+ for (var r = t[e], i = 0, s = r.length, a; i < s; ++i)
523
+ (a = r[i]) && (yield a);
524
+ }
525
+ var Zn = [null];
526
+ function M(t, e) {
527
+ this._groups = t, this._parents = e;
528
+ }
529
+ function $t() {
530
+ return new M([[document.documentElement]], Zn);
531
+ }
532
+ function _s() {
533
+ return this;
534
+ }
535
+ M.prototype = $t.prototype = {
536
+ constructor: M,
537
+ select: qr,
538
+ selectAll: Zr,
539
+ selectChild: jr,
540
+ selectChildren: ri,
541
+ filter: ii,
542
+ data: fi,
543
+ enter: si,
544
+ exit: hi,
545
+ join: di,
546
+ merge: gi,
547
+ selection: _s,
548
+ order: pi,
549
+ sort: vi,
550
+ call: yi,
551
+ nodes: _i,
552
+ node: wi,
553
+ size: xi,
554
+ empty: bi,
555
+ each: Ai,
556
+ attr: Oi,
557
+ style: zi,
558
+ property: Li,
559
+ classed: Vi,
560
+ text: Xi,
561
+ html: Ki,
562
+ raise: Qi,
563
+ lower: ts,
564
+ append: es,
565
+ insert: rs,
566
+ remove: ss,
567
+ clone: cs,
568
+ datum: us,
569
+ on: gs,
570
+ dispatch: ms,
571
+ [Symbol.iterator]: ys
572
+ };
573
+ function be(t) {
574
+ return typeof t == "string" ? new M([[document.querySelector(t)]], [document.documentElement]) : new M([[t]], Zn);
575
+ }
576
+ var mt;
577
+ (function(t) {
578
+ t[t.SVG = 0] = "SVG", t[t.HTML = 1] = "HTML";
579
+ })(mt || (mt = {}));
580
+ var ct;
581
+ (function(t) {
582
+ t.Fit = "fit", t.Extend = "extend", t.FitWidth = "fit_width";
583
+ })(ct || (ct = {}));
584
+ function Lt(t, e) {
585
+ return t == null || e == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
586
+ }
587
+ function ws(t, e) {
588
+ return t == null || e == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
589
+ }
590
+ function Kn(t) {
591
+ let e, n, r;
592
+ t.length !== 2 ? (e = Lt, n = (o, c) => Lt(t(o), c), r = (o, c) => t(o) - c) : (e = t === Lt || t === ws ? t : xs, n = t, r = t);
593
+ function i(o, c, u = 0, f = o.length) {
594
+ if (u < f) {
595
+ if (e(c, c) !== 0) return f;
596
+ do {
597
+ const l = u + f >>> 1;
598
+ n(o[l], c) < 0 ? u = l + 1 : f = l;
599
+ } while (u < f);
600
+ }
601
+ return u;
602
+ }
603
+ function s(o, c, u = 0, f = o.length) {
604
+ if (u < f) {
605
+ if (e(c, c) !== 0) return f;
606
+ do {
607
+ const l = u + f >>> 1;
608
+ n(o[l], c) <= 0 ? u = l + 1 : f = l;
609
+ } while (u < f);
610
+ }
611
+ return u;
612
+ }
613
+ function a(o, c, u = 0, f = o.length) {
614
+ const l = i(o, c, u, f - 1);
615
+ return l > u && r(o[l - 1], c) > -r(o[l], c) ? l - 1 : l;
616
+ }
617
+ return { left: i, center: a, right: s };
618
+ }
619
+ function xs() {
620
+ return 0;
621
+ }
622
+ function bs(t) {
623
+ return t === null ? NaN : +t;
624
+ }
625
+ const Jn = Kn(Lt), As = Jn.right, Ss = Jn.left;
626
+ Kn(bs).center;
627
+ function Je(t, e) {
628
+ let n;
629
+ if (e === void 0)
630
+ for (const r of t)
631
+ r != null && (n < r || n === void 0 && r >= r) && (n = r);
632
+ else {
633
+ let r = -1;
634
+ for (let i of t)
635
+ (i = e(i, ++r, t)) != null && (n < i || n === void 0 && i >= i) && (n = i);
636
+ }
637
+ return n;
638
+ }
639
+ function Qe(t, e) {
640
+ let n;
641
+ if (e === void 0)
642
+ for (const r of t)
643
+ r != null && (n > r || n === void 0 && r >= r) && (n = r);
644
+ else {
645
+ let r = -1;
646
+ for (let i of t)
647
+ (i = e(i, ++r, t)) != null && (n > i || n === void 0 && i >= i) && (n = i);
648
+ }
649
+ return n;
650
+ }
651
+ function Ts(t, e) {
652
+ let n = 0, r = 0;
653
+ if (e === void 0)
654
+ for (let i of t)
655
+ i != null && (i = +i) >= i && (++n, r += i);
656
+ else {
657
+ let i = -1;
658
+ for (let s of t)
659
+ (s = e(s, ++i, t)) != null && (s = +s) >= s && (++n, r += s);
660
+ }
661
+ if (n) return r / n;
662
+ }
663
+ function Es(t, e) {
664
+ let n = 0;
665
+ if (e === void 0)
666
+ for (let r of t)
667
+ (r = +r) && (n += r);
668
+ else {
669
+ let r = -1;
670
+ for (let i of t)
671
+ (i = +e(i, ++r, t)) && (n += i);
672
+ }
673
+ return n;
674
+ }
675
+ function Cs(t, e, n) {
676
+ var r = {}, i = r.noTrailing, s = i === void 0 ? !1 : i, a = r.noLeading, o = a === void 0 ? !1 : a, c = r.debounceMode, u = c === void 0 ? void 0 : c, f, l = !1, h = 0;
677
+ function p() {
678
+ f && clearTimeout(f);
679
+ }
680
+ function g(y) {
681
+ var m = y || {}, v = m.upcomingOnly, _ = v === void 0 ? !1 : v;
682
+ p(), l = !_;
683
+ }
684
+ function d() {
685
+ for (var y = arguments.length, m = new Array(y), v = 0; v < y; v++)
686
+ m[v] = arguments[v];
687
+ var _ = this, T = Date.now() - h;
688
+ if (l)
689
+ return;
690
+ function w() {
691
+ h = Date.now(), e.apply(_, m);
692
+ }
693
+ function b() {
694
+ f = void 0;
695
+ }
696
+ !o && u && !f && w(), p(), u === void 0 && T > t ? o ? (h = Date.now(), s || (f = setTimeout(u ? b : w, t))) : w() : s !== !0 && (f = setTimeout(u ? b : w, u === void 0 ? t - T : t));
697
+ }
698
+ return d.cancel = g, d;
699
+ }
700
+ var Y;
701
+ (function(t) {
702
+ t.Left = "left", t.Right = "right", t.Auto = "auto";
703
+ })(Y || (Y = {}));
704
+ const Fe = (t) => typeof t == "number", Qn = (t) => typeof t == "function", De = (t) => Array.isArray(t), $s = (t) => t instanceof Object, Kt = (t) => t.constructor.name !== "Function" && t.constructor.name !== "Object", je = (t) => $s(t) && !De(t) && !Qn(t) && !Kt(t), eu = (t) => [Object, Array].includes((t || {}).constructor) && !Object.entries(t || {}).length, Jt = (t, e, n = [], r = /* @__PURE__ */ new Set()) => {
705
+ if (Array.isArray(t)) {
706
+ if (!Array.isArray(e) || t.length !== e.length)
707
+ return !1;
708
+ if (r.has(t))
709
+ return !0;
710
+ r.add(t);
711
+ for (let i = 0; i < t.length; i++)
712
+ if (!Jt(t[i], e[i], n, r))
713
+ return !1;
714
+ return !0;
715
+ }
716
+ if (t instanceof Date && e instanceof Date)
717
+ return t.getTime() === e.getTime();
718
+ if (typeof t == "object" && t !== null && e !== null) {
719
+ if (typeof e != "object")
720
+ return !1;
721
+ if (t === e)
722
+ return !0;
723
+ const i = Object.keys(t).filter((a) => !n.includes(a)), s = Object.keys(e).filter((a) => !n.includes(a));
724
+ if (i.length !== s.length)
725
+ return !1;
726
+ if (r.has(t))
727
+ return !0;
728
+ r.add(t);
729
+ for (const a of i)
730
+ if (!Jt(t[a], e[a], n, r))
731
+ return !1;
732
+ return !0;
733
+ }
734
+ return t === e;
735
+ }, Rs = (t) => t.flat(), Qt = (t, e = /* @__PURE__ */ new Map()) => {
736
+ if (typeof t != "object" || t === null)
737
+ return t;
738
+ if (t instanceof Date)
739
+ return new Date(t.getTime());
740
+ if (t instanceof Array) {
741
+ const n = [];
742
+ e.set(t, n);
743
+ for (const r of t)
744
+ n.push(e.has(r) ? e.get(r) : Qt(r, e));
745
+ return n;
746
+ }
747
+ if (Kt(t))
748
+ return t;
749
+ if (t instanceof Object) {
750
+ const n = {};
751
+ e.set(t, n);
752
+ const r = t;
753
+ return Object.keys(t).reduce((i, s) => (i[s] = e.has(r[s]) ? e.get(r[s]) : Qt(r[s], e), i), n), n;
754
+ }
755
+ return t;
756
+ }, xt = (t, e, n = /* @__PURE__ */ new Map()) => {
757
+ if (!t || !e || t === e)
758
+ return t;
759
+ const r = Kt(t) ? t : Qt(t);
760
+ return n.has(e) ? n.get(e) : (n.set(e, r), Object.keys(e).forEach((i) => {
761
+ i === "__proto__" || i === "constructor" || (je(t[i]) && je(e[i]) ? r[i] = xt(t[i], e[i], n) : Kt(e) ? r[i] = e : r[i] = Qt(e[i]));
762
+ }), r);
763
+ }, tn = (t, e, n) => Cs(e, t);
764
+ function jn(t, e, n) {
765
+ return Qn(e) ? e(t, n) : e;
766
+ }
767
+ function Os(t, e, n) {
768
+ return jn(t, e, n);
769
+ }
770
+ function I(t, e, n) {
771
+ return jn(t, e, n);
772
+ }
773
+ function nu(t) {
774
+ return t.filter((e) => e && !Fe(e));
775
+ }
776
+ function en(t, e, n) {
777
+ return Math.min(Math.max(t, e), n);
778
+ }
779
+ function ru(t, ...e) {
780
+ if (!t)
781
+ return [void 0, void 0];
782
+ if (De(e)) {
783
+ let n = 0, r = 0;
784
+ return t.forEach((i, s) => {
785
+ let a = 0, o = 0;
786
+ for (const c of e) {
787
+ const u = I(i, c, s) || 0;
788
+ u >= 0 ? a += u : o += u;
789
+ }
790
+ a > r && (r = a), o < n && (n = o);
791
+ }), [n, r];
792
+ }
793
+ }
794
+ function iu(t, e, ...n) {
795
+ const r = [];
796
+ let i = 0, s = 0;
797
+ for (const a of n) {
798
+ const o = I(t, a, e) || 0;
799
+ o >= 0 ? r.push(i += o) : r.push(s += o);
800
+ }
801
+ return r;
802
+ }
803
+ function su(t, e, n, r) {
804
+ const i = t.map((o, c) => I(o, e, c) || 0), s = n.map((o, c) => {
805
+ const u = Ts(t, (f, l) => I(f, o, l) || 0);
806
+ return u === 0 && Array.isArray(r) ? r[c] : u < 0;
807
+ }), a = n.map(() => []);
808
+ return t.forEach((o, c) => {
809
+ let u = i[c], f = i[c];
810
+ n.forEach((l, h) => {
811
+ const p = I(o, l, c) || 0;
812
+ p >= 0 ? a[h].push([u, u += p]) : a[h].push([f, f += p]);
813
+ });
814
+ }), a.forEach((o, c) => {
815
+ o.isMostlyNegative = s[c];
816
+ }), a;
817
+ }
818
+ function Ns(t, ...e) {
819
+ return t ? Qe(t, (r, i) => Qe(e, (s) => I(r, s, i))) : void 0;
820
+ }
821
+ function ks(t, ...e) {
822
+ return t ? Je(t, (r, i) => Je(e, (s) => I(r, s, i))) : void 0;
823
+ }
824
+ function au(t, ...e) {
825
+ return [Ns(t, ...e), ks(t, ...e)];
826
+ }
827
+ function nn(t, e, n, r = Y.Auto) {
828
+ if (t.length <= 1)
829
+ return t[0];
830
+ const s = t.map((c, u) => [c, u]).sort(([c, u], [f, l]) => I(c, n, u) - I(f, n, l)), a = s.map(([c, u]) => I(c, n, u)), o = r === Y.Right ? Ss(a, e, 0, t.length - 1) : As(a, e, 1, t.length);
831
+ return r === Y.Right ? s[o][0] : r === Y.Left ? s[o - 1][0] : e - a[o - 1] > a[o] - e ? s[o][0] : s[o - 1][0];
832
+ }
833
+ function ou(t, e, n, r = !1) {
834
+ if (!n)
835
+ return [];
836
+ const i = t.filter((s, a) => {
837
+ const o = I(s, n, a);
838
+ return o >= e[0] && o <= e[1];
839
+ });
840
+ if (r) {
841
+ if (i.length === 0) {
842
+ const l = nn(t, e[0], n, Y.Left), h = nn(t, e[1], n, Y.Right);
843
+ return [l, h].filter(Boolean);
844
+ }
845
+ const s = i[0], a = i[i.length - 1], o = t.findIndex((l) => l === s), c = t.findIndex((l) => l === a), u = Math.max(0, o - 1), f = Math.min(t.length - 1, c + 1);
846
+ return t.slice(u, f + 1);
847
+ }
848
+ return i;
849
+ }
850
+ var Q = [], Ms = function() {
851
+ return Q.some(function(t) {
852
+ return t.activeTargets.length > 0;
853
+ });
854
+ }, zs = function() {
855
+ return Q.some(function(t) {
856
+ return t.skippedTargets.length > 0;
857
+ });
858
+ }, rn = "ResizeObserver loop completed with undelivered notifications.", Is = function() {
859
+ var t;
860
+ typeof ErrorEvent == "function" ? t = new ErrorEvent("error", {
861
+ message: rn
862
+ }) : (t = document.createEvent("Event"), t.initEvent("error", !1, !1), t.message = rn), window.dispatchEvent(t);
863
+ }, bt;
864
+ (function(t) {
865
+ t.BORDER_BOX = "border-box", t.CONTENT_BOX = "content-box", t.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
866
+ })(bt || (bt = {}));
867
+ var j = function(t) {
868
+ return Object.freeze(t);
869
+ }, Fs = /* @__PURE__ */ (function() {
870
+ function t(e, n) {
871
+ this.inlineSize = e, this.blockSize = n, j(this);
872
+ }
873
+ return t;
874
+ })(), tr = (function() {
875
+ function t(e, n, r, i) {
876
+ 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);
877
+ }
878
+ return t.prototype.toJSON = function() {
879
+ var e = this, n = e.x, r = e.y, i = e.top, s = e.right, a = e.bottom, o = e.left, c = e.width, u = e.height;
880
+ return { x: n, y: r, top: i, right: s, bottom: a, left: o, width: c, height: u };
881
+ }, t.fromRect = function(e) {
882
+ return new t(e.x, e.y, e.width, e.height);
883
+ }, t;
884
+ })(), Le = function(t) {
885
+ return t instanceof SVGElement && "getBBox" in t;
886
+ }, er = function(t) {
887
+ if (Le(t)) {
888
+ var e = t.getBBox(), n = e.width, r = e.height;
889
+ return !n && !r;
890
+ }
891
+ var i = t, s = i.offsetWidth, a = i.offsetHeight;
892
+ return !(s || a || t.getClientRects().length);
893
+ }, sn = function(t) {
894
+ var e;
895
+ if (t instanceof Element)
896
+ return !0;
897
+ var n = (e = t?.ownerDocument) === null || e === void 0 ? void 0 : e.defaultView;
898
+ return !!(n && t instanceof n.Element);
899
+ }, Ds = function(t) {
900
+ switch (t.tagName) {
901
+ case "INPUT":
902
+ if (t.type !== "image")
903
+ break;
904
+ case "VIDEO":
905
+ case "AUDIO":
906
+ case "EMBED":
907
+ case "OBJECT":
908
+ case "CANVAS":
909
+ case "IFRAME":
910
+ case "IMG":
911
+ return !0;
912
+ }
913
+ return !1;
914
+ }, yt = typeof window < "u" ? window : {}, Nt = /* @__PURE__ */ new WeakMap(), an = /auto|scroll/, Ls = /^tb|vertical/, Bs = /msie|trident/i.test(yt.navigator && yt.navigator.userAgent), L = function(t) {
915
+ return parseFloat(t || "0");
916
+ }, rt = function(t, e, n) {
917
+ return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new Fs((n ? e : t) || 0, (n ? t : e) || 0);
918
+ }, on = j({
919
+ devicePixelContentBoxSize: rt(),
920
+ borderBoxSize: rt(),
921
+ contentBoxSize: rt(),
922
+ contentRect: new tr(0, 0, 0, 0)
923
+ }), nr = function(t, e) {
924
+ if (e === void 0 && (e = !1), Nt.has(t) && !e)
925
+ return Nt.get(t);
926
+ if (er(t))
927
+ return Nt.set(t, on), on;
928
+ var n = getComputedStyle(t), r = Le(t) && t.ownerSVGElement && t.getBBox(), i = !Bs && n.boxSizing === "border-box", s = Ls.test(n.writingMode || ""), a = !r && an.test(n.overflowY || ""), o = !r && an.test(n.overflowX || ""), c = r ? 0 : L(n.paddingTop), u = r ? 0 : L(n.paddingRight), f = r ? 0 : L(n.paddingBottom), l = r ? 0 : L(n.paddingLeft), h = r ? 0 : L(n.borderTopWidth), p = r ? 0 : L(n.borderRightWidth), g = r ? 0 : L(n.borderBottomWidth), d = r ? 0 : L(n.borderLeftWidth), y = l + u, m = c + f, v = d + p, _ = h + g, T = o ? t.offsetHeight - _ - t.clientHeight : 0, w = a ? t.offsetWidth - v - t.clientWidth : 0, b = i ? y + v : 0, x = i ? m + _ : 0, D = r ? r.width : L(n.width) - b - w, C = r ? r.height : L(n.height) - x - T, Lr = D + y + w + v, Br = C + m + T + _, Ye = j({
929
+ devicePixelContentBoxSize: rt(Math.round(D * devicePixelRatio), Math.round(C * devicePixelRatio), s),
930
+ borderBoxSize: rt(Lr, Br, s),
931
+ contentBoxSize: rt(D, C, s),
932
+ contentRect: new tr(l, c, D, C)
933
+ });
934
+ return Nt.set(t, Ye), Ye;
935
+ }, rr = function(t, e, n) {
936
+ var r = nr(t, n), i = r.borderBoxSize, s = r.contentBoxSize, a = r.devicePixelContentBoxSize;
937
+ switch (e) {
938
+ case bt.DEVICE_PIXEL_CONTENT_BOX:
939
+ return a;
940
+ case bt.BORDER_BOX:
941
+ return i;
942
+ default:
943
+ return s;
944
+ }
945
+ }, Hs = /* @__PURE__ */ (function() {
946
+ function t(e) {
947
+ var n = nr(e);
948
+ this.target = e, this.contentRect = n.contentRect, this.borderBoxSize = j([n.borderBoxSize]), this.contentBoxSize = j([n.contentBoxSize]), this.devicePixelContentBoxSize = j([n.devicePixelContentBoxSize]);
949
+ }
950
+ return t;
951
+ })(), ir = function(t) {
952
+ if (er(t))
953
+ return 1 / 0;
954
+ for (var e = 0, n = t.parentNode; n; )
955
+ e += 1, n = n.parentNode;
956
+ return e;
957
+ }, Ps = function() {
958
+ var t = 1 / 0, e = [];
959
+ Q.forEach(function(a) {
960
+ if (a.activeTargets.length !== 0) {
961
+ var o = [];
962
+ a.activeTargets.forEach(function(u) {
963
+ var f = new Hs(u.target), l = ir(u.target);
964
+ o.push(f), u.lastReportedSize = rr(u.target, u.observedBox), l < t && (t = l);
965
+ }), e.push(function() {
966
+ a.callback.call(a.observer, o, a.observer);
967
+ }), a.activeTargets.splice(0, a.activeTargets.length);
968
+ }
969
+ });
970
+ for (var n = 0, r = e; n < r.length; n++) {
971
+ var i = r[n];
972
+ i();
973
+ }
974
+ return t;
975
+ }, cn = function(t) {
976
+ Q.forEach(function(n) {
977
+ n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(i) {
978
+ i.isActive() && (ir(i.target) > t ? n.activeTargets.push(i) : n.skippedTargets.push(i));
979
+ });
980
+ });
981
+ }, Vs = function() {
982
+ var t = 0;
983
+ for (cn(t); Ms(); )
984
+ t = Ps(), cn(t);
985
+ return zs() && Is(), t > 0;
986
+ }, pe, sr = [], Ws = function() {
987
+ return sr.splice(0).forEach(function(t) {
988
+ return t();
989
+ });
990
+ }, Us = function(t) {
991
+ if (!pe) {
992
+ var e = 0, n = document.createTextNode(""), r = { characterData: !0 };
993
+ new MutationObserver(function() {
994
+ return Ws();
995
+ }).observe(n, r), pe = function() {
996
+ n.textContent = "".concat(e ? e-- : e++);
997
+ };
998
+ }
999
+ sr.push(t), pe();
1000
+ }, qs = function(t) {
1001
+ Us(function() {
1002
+ requestAnimationFrame(t);
1003
+ });
1004
+ }, Bt = 0, Xs = function() {
1005
+ return !!Bt;
1006
+ }, Gs = 250, Ys = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, un = [
1007
+ "resize",
1008
+ "load",
1009
+ "transitionend",
1010
+ "animationend",
1011
+ "animationstart",
1012
+ "animationiteration",
1013
+ "keyup",
1014
+ "keydown",
1015
+ "mouseup",
1016
+ "mousedown",
1017
+ "mouseover",
1018
+ "mouseout",
1019
+ "blur",
1020
+ "focus"
1021
+ ], fn = function(t) {
1022
+ return t === void 0 && (t = 0), Date.now() + t;
1023
+ }, ve = !1, Zs = (function() {
1024
+ function t() {
1025
+ var e = this;
1026
+ this.stopped = !0, this.listener = function() {
1027
+ return e.schedule();
1028
+ };
1029
+ }
1030
+ return t.prototype.run = function(e) {
1031
+ var n = this;
1032
+ if (e === void 0 && (e = Gs), !ve) {
1033
+ ve = !0;
1034
+ var r = fn(e);
1035
+ qs(function() {
1036
+ var i = !1;
1037
+ try {
1038
+ i = Vs();
1039
+ } finally {
1040
+ if (ve = !1, e = r - fn(), !Xs())
1041
+ return;
1042
+ i ? n.run(1e3) : e > 0 ? n.run(e) : n.start();
1043
+ }
1044
+ });
1045
+ }
1046
+ }, t.prototype.schedule = function() {
1047
+ this.stop(), this.run();
1048
+ }, t.prototype.observe = function() {
1049
+ var e = this, n = function() {
1050
+ return e.observer && e.observer.observe(document.body, Ys);
1051
+ };
1052
+ document.body ? n() : yt.addEventListener("DOMContentLoaded", n);
1053
+ }, t.prototype.start = function() {
1054
+ var e = this;
1055
+ this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), un.forEach(function(n) {
1056
+ return yt.addEventListener(n, e.listener, !0);
1057
+ }));
1058
+ }, t.prototype.stop = function() {
1059
+ var e = this;
1060
+ this.stopped || (this.observer && this.observer.disconnect(), un.forEach(function(n) {
1061
+ return yt.removeEventListener(n, e.listener, !0);
1062
+ }), this.stopped = !0);
1063
+ }, t;
1064
+ })(), Ae = new Zs(), ln = function(t) {
1065
+ !Bt && t > 0 && Ae.start(), Bt += t, !Bt && Ae.stop();
1066
+ }, Ks = function(t) {
1067
+ return !Le(t) && !Ds(t) && getComputedStyle(t).display === "inline";
1068
+ }, Js = (function() {
1069
+ function t(e, n) {
1070
+ this.target = e, this.observedBox = n || bt.CONTENT_BOX, this.lastReportedSize = {
1071
+ inlineSize: 0,
1072
+ blockSize: 0
1073
+ };
1074
+ }
1075
+ return t.prototype.isActive = function() {
1076
+ var e = rr(this.target, this.observedBox, !0);
1077
+ return Ks(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize;
1078
+ }, t;
1079
+ })(), Qs = /* @__PURE__ */ (function() {
1080
+ function t(e, n) {
1081
+ this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = n;
1082
+ }
1083
+ return t;
1084
+ })(), kt = /* @__PURE__ */ new WeakMap(), hn = function(t, e) {
1085
+ for (var n = 0; n < t.length; n += 1)
1086
+ if (t[n].target === e)
1087
+ return n;
1088
+ return -1;
1089
+ }, Mt = (function() {
1090
+ function t() {
1091
+ }
1092
+ return t.connect = function(e, n) {
1093
+ var r = new Qs(e, n);
1094
+ kt.set(e, r);
1095
+ }, t.observe = function(e, n, r) {
1096
+ var i = kt.get(e), s = i.observationTargets.length === 0;
1097
+ hn(i.observationTargets, n) < 0 && (s && Q.push(i), i.observationTargets.push(new Js(n, r && r.box)), ln(1), Ae.schedule());
1098
+ }, t.unobserve = function(e, n) {
1099
+ var r = kt.get(e), i = hn(r.observationTargets, n), s = r.observationTargets.length === 1;
1100
+ i >= 0 && (s && Q.splice(Q.indexOf(r), 1), r.observationTargets.splice(i, 1), ln(-1));
1101
+ }, t.disconnect = function(e) {
1102
+ var n = this, r = kt.get(e);
1103
+ r.observationTargets.slice().forEach(function(i) {
1104
+ return n.unobserve(e, i.target);
1105
+ }), r.activeTargets.splice(0, r.activeTargets.length);
1106
+ }, t;
1107
+ })(), js = (function() {
1108
+ function t(e) {
1109
+ if (arguments.length === 0)
1110
+ throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
1111
+ if (typeof e != "function")
1112
+ throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
1113
+ Mt.connect(this, e);
1114
+ }
1115
+ return t.prototype.observe = function(e, n) {
1116
+ if (arguments.length === 0)
1117
+ throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
1118
+ if (!sn(e))
1119
+ throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
1120
+ Mt.observe(this, e, n);
1121
+ }, t.prototype.unobserve = function(e) {
1122
+ if (arguments.length === 0)
1123
+ throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
1124
+ if (!sn(e))
1125
+ throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
1126
+ Mt.unobserve(this, e);
1127
+ }, t.prototype.disconnect = function() {
1128
+ Mt.disconnect(this);
1129
+ }, t.toString = function() {
1130
+ return "function ResizeObserver () { [polyfill code] }";
1131
+ }, t;
1132
+ })();
1133
+ const ta = globalThis.ResizeObserver || js, ea = {
1134
+ duration: void 0,
1135
+ margin: {
1136
+ top: 0,
1137
+ bottom: 0,
1138
+ left: 0,
1139
+ right: 0
1140
+ },
1141
+ padding: {
1142
+ top: 0,
1143
+ bottom: 0,
1144
+ left: 0,
1145
+ right: 0
1146
+ },
1147
+ sizing: ct.Fit,
1148
+ width: void 0,
1149
+ height: void 0,
1150
+ svgDefs: void 0,
1151
+ ariaLabel: void 0
1152
+ };
1153
+ class jt {
1154
+ constructor(e) {
1155
+ this._defaultConfig = ea, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = e;
1156
+ const n = be(this._container);
1157
+ n.attr("role", "figure"), this.svg = n.append("svg").style("display", "block").attr("xmlns", "http://www.w3.org/2000/svg").attr("height", jt.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden", !0), this._svgDefs = this.svg.append("defs"), this._svgDefsExternal = this.svg.append("defs"), this.element = this.svg.node();
1158
+ }
1159
+ updateContainer(e) {
1160
+ var n;
1161
+ this.prevConfig = this.config, this.config = xt(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));
1162
+ }
1163
+ // The `_preRender` step should be used to perform some actions before rendering.
1164
+ // For example, calculating scales, setting component sizes, etc ...
1165
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
1166
+ _preRender() {
1167
+ }
1168
+ // The `_render` step should be used to perform the actual rendering
1169
+ _render(e) {
1170
+ const { config: n } = this;
1171
+ be(this._container).attr("aria-label", n.ariaLabel), this._isFirstRender = !1;
1172
+ }
1173
+ // Warning: Some Containers (i.e. Single Container) may override this method, so if you introduce any changes here,
1174
+ // make sure to check that other containers didn't break after them.
1175
+ render(e = this.config.duration) {
1176
+ const n = this.config.width || this.containerWidth, r = this.config.height || this.containerHeight;
1177
+ this.svg.attr("width", n).attr("height", r), this._resizeObserver || this._setUpResizeObserver(), cancelAnimationFrame(this._renderAnimationFrameId), this._renderAnimationFrameId = requestAnimationFrame(() => {
1178
+ this._preRender(), this._render(e);
1179
+ });
1180
+ }
1181
+ get containerWidth() {
1182
+ return this.config.width ? this.element.clientWidth : this._container.clientWidth || this._container.getBoundingClientRect().width;
1183
+ }
1184
+ get containerHeight() {
1185
+ return this.config.height ? this.element.clientHeight : this._container.clientHeight || this._container.getBoundingClientRect().height || jt.DEFAULT_CONTAINER_HEIGHT;
1186
+ }
1187
+ get width() {
1188
+ return en(this.containerWidth - this.config.margin.left - this.config.margin.right, 0, Number.POSITIVE_INFINITY);
1189
+ }
1190
+ get height() {
1191
+ return en(this.containerHeight - this.config.margin.top - this.config.margin.bottom, 0, Number.POSITIVE_INFINITY);
1192
+ }
1193
+ _removeAllChildren() {
1194
+ for (; this.element.firstChild; )
1195
+ this.element.removeChild(this.element.firstChild);
1196
+ }
1197
+ _onResize() {
1198
+ const { config: e } = this;
1199
+ (e.sizing === ct.Fit || e.sizing === ct.FitWidth) && this.render(0);
1200
+ }
1201
+ _setUpResizeObserver() {
1202
+ if (this._resizeObserver)
1203
+ return;
1204
+ const e = this._container.getBoundingClientRect();
1205
+ this._containerSize = { width: e.width, height: e.height }, this._resizeObserver = new ta((n, r) => {
1206
+ cancelAnimationFrame(this._resizeObserverAnimationFrameId), this._resizeObserverAnimationFrameId = requestAnimationFrame(() => {
1207
+ const i = this._container.getBoundingClientRect(), s = { width: i.width, height: i.height };
1208
+ !Jt(this._containerSize, s) && s.width && s.height && (this._containerSize = s, this._onResize());
1209
+ });
1210
+ }), this._resizeObserver.observe(this._container);
1211
+ }
1212
+ destroy() {
1213
+ var e;
1214
+ cancelAnimationFrame(this._renderAnimationFrameId), cancelAnimationFrame(this._resizeObserverAnimationFrameId), (e = this._resizeObserver) === null || e === void 0 || e.disconnect(), this.svg.remove();
1215
+ }
1216
+ }
1217
+ jt.DEFAULT_CONTAINER_HEIGHT = 300;
1218
+ function na(t) {
1219
+ if (t.sheet)
1220
+ return t.sheet;
1221
+ for (var e = 0; e < document.styleSheets.length; e++)
1222
+ if (document.styleSheets[e].ownerNode === t)
1223
+ return document.styleSheets[e];
1224
+ }
1225
+ function ra(t) {
1226
+ var e = document.createElement("style");
1227
+ 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;
1228
+ }
1229
+ var ia = /* @__PURE__ */ (function() {
1230
+ function t(n) {
1231
+ var r = this;
1232
+ this._insertTag = function(i) {
1233
+ var s;
1234
+ 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);
1235
+ }, 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;
1236
+ }
1237
+ var e = t.prototype;
1238
+ return e.hydrate = function(r) {
1239
+ r.forEach(this._insertTag);
1240
+ }, e.insert = function(r) {
1241
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ra(this));
1242
+ var i = this.tags[this.tags.length - 1];
1243
+ if (this.isSpeedy) {
1244
+ var s = na(i);
1245
+ try {
1246
+ s.insertRule(r, s.cssRules.length);
1247
+ } catch {
1248
+ }
1249
+ } else
1250
+ i.appendChild(document.createTextNode(r));
1251
+ this.ctr++;
1252
+ }, e.flush = function() {
1253
+ this.tags.forEach(function(r) {
1254
+ var i;
1255
+ return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
1256
+ }), this.tags = [], this.ctr = 0;
1257
+ }, t;
1258
+ })(), R = "-ms-", te = "-moz-", A = "-webkit-", ar = "comm", Be = "rule", He = "decl", sa = "@import", or = "@keyframes", aa = "@layer", oa = Math.abs, fe = String.fromCharCode, ca = Object.assign;
1259
+ function ua(t, e) {
1260
+ return $(t, 0) ^ 45 ? (((e << 2 ^ $(t, 0)) << 2 ^ $(t, 1)) << 2 ^ $(t, 2)) << 2 ^ $(t, 3) : 0;
1261
+ }
1262
+ function cr(t) {
1263
+ return t.trim();
1264
+ }
1265
+ function fa(t, e) {
1266
+ return (t = e.exec(t)) ? t[0] : t;
1267
+ }
1268
+ function S(t, e, n) {
1269
+ return t.replace(e, n);
1270
+ }
1271
+ function Se(t, e) {
1272
+ return t.indexOf(e);
1273
+ }
1274
+ function $(t, e) {
1275
+ return t.charCodeAt(e) | 0;
1276
+ }
1277
+ function At(t, e, n) {
1278
+ return t.slice(e, n);
1279
+ }
1280
+ function B(t) {
1281
+ return t.length;
1282
+ }
1283
+ function Pe(t) {
1284
+ return t.length;
1285
+ }
1286
+ function zt(t, e) {
1287
+ return e.push(t), t;
1288
+ }
1289
+ function la(t, e) {
1290
+ return t.map(e).join("");
1291
+ }
1292
+ var le = 1, ut = 1, ur = 0, N = 0, E = 0, lt = "";
1293
+ function he(t, e, n, r, i, s, a) {
1294
+ return { value: t, root: e, parent: n, type: r, props: i, children: s, line: le, column: ut, length: a, return: "" };
1295
+ }
1296
+ function ht(t, e) {
1297
+ return ca(he("", null, null, "", null, null, 0), t, { length: -t.length }, e);
1298
+ }
1299
+ function ha() {
1300
+ return E;
1301
+ }
1302
+ function da() {
1303
+ return E = N > 0 ? $(lt, --N) : 0, ut--, E === 10 && (ut = 1, le--), E;
1304
+ }
1305
+ function k() {
1306
+ return E = N < ur ? $(lt, N++) : 0, ut++, E === 10 && (ut = 1, le++), E;
1307
+ }
1308
+ function P() {
1309
+ return $(lt, N);
1310
+ }
1311
+ function Ht() {
1312
+ return N;
1313
+ }
1314
+ function Rt(t, e) {
1315
+ return At(lt, t, e);
1316
+ }
1317
+ function St(t) {
1318
+ switch (t) {
1319
+ // \0 \t \n \r \s whitespace token
1320
+ case 0:
1321
+ case 9:
1322
+ case 10:
1323
+ case 13:
1324
+ case 32:
1325
+ return 5;
1326
+ // ! + , / > @ ~ isolate token
1327
+ case 33:
1328
+ case 43:
1329
+ case 44:
1330
+ case 47:
1331
+ case 62:
1332
+ case 64:
1333
+ case 126:
1334
+ // ; { } breakpoint token
1335
+ case 59:
1336
+ case 123:
1337
+ case 125:
1338
+ return 4;
1339
+ // : accompanied token
1340
+ case 58:
1341
+ return 3;
1342
+ // " ' ( [ opening delimit token
1343
+ case 34:
1344
+ case 39:
1345
+ case 40:
1346
+ case 91:
1347
+ return 2;
1348
+ // ) ] closing delimit token
1349
+ case 41:
1350
+ case 93:
1351
+ return 1;
1352
+ }
1353
+ return 0;
1354
+ }
1355
+ function fr(t) {
1356
+ return le = ut = 1, ur = B(lt = t), N = 0, [];
1357
+ }
1358
+ function lr(t) {
1359
+ return lt = "", t;
1360
+ }
1361
+ function Pt(t) {
1362
+ return cr(Rt(N - 1, Te(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
1363
+ }
1364
+ function ga(t) {
1365
+ for (; (E = P()) && E < 33; )
1366
+ k();
1367
+ return St(t) > 2 || St(E) > 3 ? "" : " ";
1368
+ }
1369
+ function pa(t, e) {
1370
+ for (; --e && k() && !(E < 48 || E > 102 || E > 57 && E < 65 || E > 70 && E < 97); )
1371
+ ;
1372
+ return Rt(t, Ht() + (e < 6 && P() == 32 && k() == 32));
1373
+ }
1374
+ function Te(t) {
1375
+ for (; k(); )
1376
+ switch (E) {
1377
+ // ] ) " '
1378
+ case t:
1379
+ return N;
1380
+ // " '
1381
+ case 34:
1382
+ case 39:
1383
+ t !== 34 && t !== 39 && Te(E);
1384
+ break;
1385
+ // (
1386
+ case 40:
1387
+ t === 41 && Te(t);
1388
+ break;
1389
+ // \
1390
+ case 92:
1391
+ k();
1392
+ break;
1393
+ }
1394
+ return N;
1395
+ }
1396
+ function va(t, e) {
1397
+ for (; k() && t + E !== 57; )
1398
+ if (t + E === 84 && P() === 47)
1399
+ break;
1400
+ return "/*" + Rt(e, N - 1) + "*" + fe(t === 47 ? t : k());
1401
+ }
1402
+ function ma(t) {
1403
+ for (; !St(P()); )
1404
+ k();
1405
+ return Rt(t, N);
1406
+ }
1407
+ function ya(t) {
1408
+ return lr(Vt("", null, null, null, [""], t = fr(t), 0, [0], t));
1409
+ }
1410
+ function Vt(t, e, n, r, i, s, a, o, c) {
1411
+ for (var u = 0, f = 0, l = a, h = 0, p = 0, g = 0, d = 1, y = 1, m = 1, v = 0, _ = "", T = i, w = s, b = r, x = _; y; )
1412
+ switch (g = v, v = k()) {
1413
+ // (
1414
+ case 40:
1415
+ if (g != 108 && $(x, l - 1) == 58) {
1416
+ Se(x += S(Pt(v), "&", "&\f"), "&\f") != -1 && (m = -1);
1417
+ break;
1418
+ }
1419
+ // " ' [
1420
+ case 34:
1421
+ case 39:
1422
+ case 91:
1423
+ x += Pt(v);
1424
+ break;
1425
+ // \t \n \r \s
1426
+ case 9:
1427
+ case 10:
1428
+ case 13:
1429
+ case 32:
1430
+ x += ga(g);
1431
+ break;
1432
+ // \
1433
+ case 92:
1434
+ x += pa(Ht() - 1, 7);
1435
+ continue;
1436
+ // /
1437
+ case 47:
1438
+ switch (P()) {
1439
+ case 42:
1440
+ case 47:
1441
+ zt(_a(va(k(), Ht()), e, n), c);
1442
+ break;
1443
+ default:
1444
+ x += "/";
1445
+ }
1446
+ break;
1447
+ // {
1448
+ case 123 * d:
1449
+ o[u++] = B(x) * m;
1450
+ // } ; \0
1451
+ case 125 * d:
1452
+ case 59:
1453
+ case 0:
1454
+ switch (v) {
1455
+ // \0 }
1456
+ case 0:
1457
+ case 125:
1458
+ y = 0;
1459
+ // ;
1460
+ case 59 + f:
1461
+ m == -1 && (x = S(x, /\f/g, "")), p > 0 && B(x) - l && zt(p > 32 ? gn(x + ";", r, n, l - 1) : gn(S(x, " ", "") + ";", r, n, l - 2), c);
1462
+ break;
1463
+ // @ ;
1464
+ case 59:
1465
+ x += ";";
1466
+ // { rule/at-rule
1467
+ default:
1468
+ if (zt(b = dn(x, e, n, u, f, i, o, _, T = [], w = [], l), s), v === 123)
1469
+ if (f === 0)
1470
+ Vt(x, e, b, b, T, s, l, o, w);
1471
+ else
1472
+ switch (h === 99 && $(x, 3) === 110 ? 100 : h) {
1473
+ // d l m s
1474
+ case 100:
1475
+ case 108:
1476
+ case 109:
1477
+ case 115:
1478
+ Vt(t, b, b, r && zt(dn(t, b, b, 0, 0, i, o, _, i, T = [], l), w), i, w, l, o, r ? T : w);
1479
+ break;
1480
+ default:
1481
+ Vt(x, b, b, b, [""], w, 0, o, w);
1482
+ }
1483
+ }
1484
+ u = f = p = 0, d = m = 1, _ = x = "", l = a;
1485
+ break;
1486
+ // :
1487
+ case 58:
1488
+ l = 1 + B(x), p = g;
1489
+ default:
1490
+ if (d < 1) {
1491
+ if (v == 123)
1492
+ --d;
1493
+ else if (v == 125 && d++ == 0 && da() == 125)
1494
+ continue;
1495
+ }
1496
+ switch (x += fe(v), v * d) {
1497
+ // &
1498
+ case 38:
1499
+ m = f > 0 ? 1 : (x += "\f", -1);
1500
+ break;
1501
+ // ,
1502
+ case 44:
1503
+ o[u++] = (B(x) - 1) * m, m = 1;
1504
+ break;
1505
+ // @
1506
+ case 64:
1507
+ P() === 45 && (x += Pt(k())), h = P(), f = l = B(_ = x += ma(Ht())), v++;
1508
+ break;
1509
+ // -
1510
+ case 45:
1511
+ g === 45 && B(x) == 2 && (d = 0);
1512
+ }
1513
+ }
1514
+ return s;
1515
+ }
1516
+ function dn(t, e, n, r, i, s, a, o, c, u, f) {
1517
+ for (var l = i - 1, h = i === 0 ? s : [""], p = Pe(h), g = 0, d = 0, y = 0; g < r; ++g)
1518
+ for (var m = 0, v = At(t, l + 1, l = oa(d = a[g])), _ = t; m < p; ++m)
1519
+ (_ = cr(d > 0 ? h[m] + " " + v : S(v, /&\f/g, h[m]))) && (c[y++] = _);
1520
+ return he(t, e, n, i === 0 ? Be : o, c, u, f);
1521
+ }
1522
+ function _a(t, e, n) {
1523
+ return he(t, e, n, ar, fe(ha()), At(t, 2, -2), 0);
1524
+ }
1525
+ function gn(t, e, n, r) {
1526
+ return he(t, e, n, He, At(t, 0, r), At(t, r + 1, -1), r);
1527
+ }
1528
+ function it(t, e) {
1529
+ for (var n = "", r = Pe(t), i = 0; i < r; i++)
1530
+ n += e(t[i], i, t, e) || "";
1531
+ return n;
1532
+ }
1533
+ function wa(t, e, n, r) {
1534
+ switch (t.type) {
1535
+ case aa:
1536
+ if (t.children.length) break;
1537
+ case sa:
1538
+ case He:
1539
+ return t.return = t.return || t.value;
1540
+ case ar:
1541
+ return "";
1542
+ case or:
1543
+ return t.return = t.value + "{" + it(t.children, r) + "}";
1544
+ case Be:
1545
+ t.value = t.props.join(",");
1546
+ }
1547
+ return B(n = it(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
1548
+ }
1549
+ function xa(t) {
1550
+ var e = Pe(t);
1551
+ return function(n, r, i, s) {
1552
+ for (var a = "", o = 0; o < e; o++)
1553
+ a += t[o](n, r, i, s) || "";
1554
+ return a;
1555
+ };
1556
+ }
1557
+ function ba(t) {
1558
+ return function(e) {
1559
+ e.root || (e = e.return) && t(e);
1560
+ };
1561
+ }
1562
+ function Aa(t) {
1563
+ var e = /* @__PURE__ */ Object.create(null);
1564
+ return function(n) {
1565
+ return e[n] === void 0 && (e[n] = t(n)), e[n];
1566
+ };
1567
+ }
1568
+ var Sa = function(e, n, r) {
1569
+ for (var i = 0, s = 0; i = s, s = P(), i === 38 && s === 12 && (n[r] = 1), !St(s); )
1570
+ k();
1571
+ return Rt(e, N);
1572
+ }, Ta = function(e, n) {
1573
+ var r = -1, i = 44;
1574
+ do
1575
+ switch (St(i)) {
1576
+ case 0:
1577
+ i === 38 && P() === 12 && (n[r] = 1), e[r] += Sa(N - 1, n, r);
1578
+ break;
1579
+ case 2:
1580
+ e[r] += Pt(i);
1581
+ break;
1582
+ case 4:
1583
+ if (i === 44) {
1584
+ e[++r] = P() === 58 ? "&\f" : "", n[r] = e[r].length;
1585
+ break;
1586
+ }
1587
+ // fallthrough
1588
+ default:
1589
+ e[r] += fe(i);
1590
+ }
1591
+ while (i = k());
1592
+ return e;
1593
+ }, Ea = function(e, n) {
1594
+ return lr(Ta(fr(e), n));
1595
+ }, pn = /* @__PURE__ */ new WeakMap(), Ca = function(e) {
1596
+ if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
1597
+ // negative .length indicates that this rule has been already prefixed
1598
+ e.length < 1)) {
1599
+ for (var n = e.value, r = e.parent, i = e.column === r.column && e.line === r.line; r.type !== "rule"; )
1600
+ if (r = r.parent, !r) return;
1601
+ if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !pn.get(r)) && !i) {
1602
+ pn.set(e, !0);
1603
+ for (var s = [], a = Ea(n, s), o = r.props, c = 0, u = 0; c < a.length; c++)
1604
+ for (var f = 0; f < o.length; f++, u++)
1605
+ e.props[u] = s[c] ? a[c].replace(/&\f/g, o[f]) : o[f] + " " + a[c];
1606
+ }
1607
+ }
1608
+ }, $a = function(e) {
1609
+ if (e.type === "decl") {
1610
+ var n = e.value;
1611
+ // charcode for l
1612
+ n.charCodeAt(0) === 108 && // charcode for b
1613
+ n.charCodeAt(2) === 98 && (e.return = "", e.value = "");
1614
+ }
1615
+ };
1616
+ function hr(t, e) {
1617
+ switch (ua(t, e)) {
1618
+ // color-adjust
1619
+ case 5103:
1620
+ return A + "print-" + t + t;
1621
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1622
+ case 5737:
1623
+ case 4201:
1624
+ case 3177:
1625
+ case 3433:
1626
+ case 1641:
1627
+ case 4457:
1628
+ case 2921:
1629
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
1630
+ case 5572:
1631
+ case 6356:
1632
+ case 5844:
1633
+ case 3191:
1634
+ case 6645:
1635
+ case 3005:
1636
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
1637
+ case 6391:
1638
+ case 5879:
1639
+ case 5623:
1640
+ case 6135:
1641
+ case 4599:
1642
+ case 4855:
1643
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
1644
+ case 4215:
1645
+ case 6389:
1646
+ case 5109:
1647
+ case 5365:
1648
+ case 5621:
1649
+ case 3829:
1650
+ return A + t + t;
1651
+ // appearance, user-select, transform, hyphens, text-size-adjust
1652
+ case 5349:
1653
+ case 4246:
1654
+ case 4810:
1655
+ case 6968:
1656
+ case 2756:
1657
+ return A + t + te + t + R + t + t;
1658
+ // flex, flex-direction
1659
+ case 6828:
1660
+ case 4268:
1661
+ return A + t + R + t + t;
1662
+ // order
1663
+ case 6165:
1664
+ return A + t + R + "flex-" + t + t;
1665
+ // align-items
1666
+ case 5187:
1667
+ return A + t + S(t, /(\w+).+(:[^]+)/, A + "box-$1$2" + R + "flex-$1$2") + t;
1668
+ // align-self
1669
+ case 5443:
1670
+ return A + t + R + "flex-item-" + S(t, /flex-|-self/, "") + t;
1671
+ // align-content
1672
+ case 4675:
1673
+ return A + t + R + "flex-line-pack" + S(t, /align-content|flex-|-self/, "") + t;
1674
+ // flex-shrink
1675
+ case 5548:
1676
+ return A + t + R + S(t, "shrink", "negative") + t;
1677
+ // flex-basis
1678
+ case 5292:
1679
+ return A + t + R + S(t, "basis", "preferred-size") + t;
1680
+ // flex-grow
1681
+ case 6060:
1682
+ return A + "box-" + S(t, "-grow", "") + A + t + R + S(t, "grow", "positive") + t;
1683
+ // transition
1684
+ case 4554:
1685
+ return A + S(t, /([^-])(transform)/g, "$1" + A + "$2") + t;
1686
+ // cursor
1687
+ case 6187:
1688
+ return S(S(S(t, /(zoom-|grab)/, A + "$1"), /(image-set)/, A + "$1"), t, "") + t;
1689
+ // background, background-image
1690
+ case 5495:
1691
+ case 3959:
1692
+ return S(t, /(image-set\([^]*)/, A + "$1$`$1");
1693
+ // justify-content
1694
+ case 4968:
1695
+ return S(S(t, /(.+:)(flex-)?(.*)/, A + "box-pack:$3" + R + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + A + t + t;
1696
+ // (margin|padding)-inline-(start|end)
1697
+ case 4095:
1698
+ case 3583:
1699
+ case 4068:
1700
+ case 2532:
1701
+ return S(t, /(.+)-inline(.+)/, A + "$1$2") + t;
1702
+ // (min|max)?(width|height|inline-size|block-size)
1703
+ case 8116:
1704
+ case 7059:
1705
+ case 5753:
1706
+ case 5535:
1707
+ case 5445:
1708
+ case 5701:
1709
+ case 4933:
1710
+ case 4677:
1711
+ case 5533:
1712
+ case 5789:
1713
+ case 5021:
1714
+ case 4765:
1715
+ if (B(t) - 1 - e > 6) switch ($(t, e + 1)) {
1716
+ // (m)ax-content, (m)in-content
1717
+ case 109:
1718
+ if ($(t, e + 4) !== 45) break;
1719
+ // (f)ill-available, (f)it-content
1720
+ case 102:
1721
+ return S(t, /(.+:)(.+)-([^]+)/, "$1" + A + "$2-$3$1" + te + ($(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
1722
+ // (s)tretch
1723
+ case 115:
1724
+ return ~Se(t, "stretch") ? hr(S(t, "stretch", "fill-available"), e) + t : t;
1725
+ }
1726
+ break;
1727
+ // position: sticky
1728
+ case 4949:
1729
+ if ($(t, e + 1) !== 115) break;
1730
+ // display: (flex|inline-flex)
1731
+ case 6444:
1732
+ switch ($(t, B(t) - 3 - (~Se(t, "!important") && 10))) {
1733
+ // stic(k)y
1734
+ case 107:
1735
+ return S(t, ":", ":" + A) + t;
1736
+ // (inline-)?fl(e)x
1737
+ case 101:
1738
+ return S(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + A + ($(t, 14) === 45 ? "inline-" : "") + "box$3$1" + A + "$2$3$1" + R + "$2box$3") + t;
1739
+ }
1740
+ break;
1741
+ // writing-mode
1742
+ case 5936:
1743
+ switch ($(t, e + 11)) {
1744
+ // vertical-l(r)
1745
+ case 114:
1746
+ return A + t + R + S(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
1747
+ // vertical-r(l)
1748
+ case 108:
1749
+ return A + t + R + S(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
1750
+ // horizontal(-)tb
1751
+ case 45:
1752
+ return A + t + R + S(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
1753
+ }
1754
+ return A + t + R + t + t;
1755
+ }
1756
+ return t;
1757
+ }
1758
+ var Ra = function(e, n, r, i) {
1759
+ if (e.length > -1 && !e.return) switch (e.type) {
1760
+ case He:
1761
+ e.return = hr(e.value, e.length);
1762
+ break;
1763
+ case or:
1764
+ return it([ht(e, {
1765
+ value: S(e.value, "@", "@" + A)
1766
+ })], i);
1767
+ case Be:
1768
+ if (e.length) return la(e.props, function(s) {
1769
+ switch (fa(s, /(::plac\w+|:read-\w+)/)) {
1770
+ // :read-(only|write)
1771
+ case ":read-only":
1772
+ case ":read-write":
1773
+ return it([ht(e, {
1774
+ props: [S(s, /:(read-\w+)/, ":" + te + "$1")]
1775
+ })], i);
1776
+ // :placeholder
1777
+ case "::placeholder":
1778
+ return it([ht(e, {
1779
+ props: [S(s, /:(plac\w+)/, ":" + A + "input-$1")]
1780
+ }), ht(e, {
1781
+ props: [S(s, /:(plac\w+)/, ":" + te + "$1")]
1782
+ }), ht(e, {
1783
+ props: [S(s, /:(plac\w+)/, R + "input-$1")]
1784
+ })], i);
1785
+ }
1786
+ return "";
1787
+ });
1788
+ }
1789
+ }, Oa = [Ra], Na = function(e) {
1790
+ var n = e.key;
1791
+ if (n === "css") {
1792
+ var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
1793
+ Array.prototype.forEach.call(r, function(d) {
1794
+ var y = d.getAttribute("data-emotion");
1795
+ y.indexOf(" ") !== -1 && (document.head.appendChild(d), d.setAttribute("data-s", ""));
1796
+ });
1797
+ }
1798
+ var i = e.stylisPlugins || Oa, s = {}, a, o = [];
1799
+ a = e.container || document.head, Array.prototype.forEach.call(
1800
+ // this means we will ignore elements which don't have a space in them which
1801
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1802
+ document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
1803
+ function(d) {
1804
+ for (var y = d.getAttribute("data-emotion").split(" "), m = 1; m < y.length; m++)
1805
+ s[y[m]] = !0;
1806
+ o.push(d);
1807
+ }
1808
+ );
1809
+ var c, u = [Ca, $a];
1810
+ {
1811
+ var f, l = [wa, ba(function(d) {
1812
+ f.insert(d);
1813
+ })], h = xa(u.concat(i, l)), p = function(y) {
1814
+ return it(ya(y), h);
1815
+ };
1816
+ c = function(y, m, v, _) {
1817
+ f = v, p(y ? y + "{" + m.styles + "}" : m.styles), _ && (g.inserted[m.name] = !0);
1818
+ };
1819
+ }
1820
+ var g = {
1821
+ key: n,
1822
+ sheet: new ia({
1823
+ key: n,
1824
+ container: a,
1825
+ nonce: e.nonce,
1826
+ speedy: e.speedy,
1827
+ prepend: e.prepend,
1828
+ insertionPoint: e.insertionPoint
1829
+ }),
1830
+ nonce: e.nonce,
1831
+ inserted: s,
1832
+ registered: {},
1833
+ insert: c
1834
+ };
1835
+ return g.sheet.hydrate(o), g;
1836
+ };
1837
+ function ka(t) {
1838
+ for (var e = 0, n, r = 0, i = t.length; i >= 4; ++r, i -= 4)
1839
+ n = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
1840
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
1841
+ n >>> 24, e = /* Math.imul(k, m): */
1842
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1843
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
1844
+ switch (i) {
1845
+ case 3:
1846
+ e ^= (t.charCodeAt(r + 2) & 255) << 16;
1847
+ case 2:
1848
+ e ^= (t.charCodeAt(r + 1) & 255) << 8;
1849
+ case 1:
1850
+ e ^= t.charCodeAt(r) & 255, e = /* Math.imul(h, m): */
1851
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
1852
+ }
1853
+ return e ^= e >>> 13, e = /* Math.imul(h, m): */
1854
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
1855
+ }
1856
+ var Ma = {
1857
+ animationIterationCount: 1,
1858
+ aspectRatio: 1,
1859
+ borderImageOutset: 1,
1860
+ borderImageSlice: 1,
1861
+ borderImageWidth: 1,
1862
+ boxFlex: 1,
1863
+ boxFlexGroup: 1,
1864
+ boxOrdinalGroup: 1,
1865
+ columnCount: 1,
1866
+ columns: 1,
1867
+ flex: 1,
1868
+ flexGrow: 1,
1869
+ flexPositive: 1,
1870
+ flexShrink: 1,
1871
+ flexNegative: 1,
1872
+ flexOrder: 1,
1873
+ gridRow: 1,
1874
+ gridRowEnd: 1,
1875
+ gridRowSpan: 1,
1876
+ gridRowStart: 1,
1877
+ gridColumn: 1,
1878
+ gridColumnEnd: 1,
1879
+ gridColumnSpan: 1,
1880
+ gridColumnStart: 1,
1881
+ msGridRow: 1,
1882
+ msGridRowSpan: 1,
1883
+ msGridColumn: 1,
1884
+ msGridColumnSpan: 1,
1885
+ fontWeight: 1,
1886
+ lineHeight: 1,
1887
+ opacity: 1,
1888
+ order: 1,
1889
+ orphans: 1,
1890
+ scale: 1,
1891
+ tabSize: 1,
1892
+ widows: 1,
1893
+ zIndex: 1,
1894
+ zoom: 1,
1895
+ WebkitLineClamp: 1,
1896
+ // SVG-related properties
1897
+ fillOpacity: 1,
1898
+ floodOpacity: 1,
1899
+ stopOpacity: 1,
1900
+ strokeDasharray: 1,
1901
+ strokeDashoffset: 1,
1902
+ strokeMiterlimit: 1,
1903
+ strokeOpacity: 1,
1904
+ strokeWidth: 1
1905
+ }, za = /[A-Z]|^ms/g, Ia = /_EMO_([^_]+?)_([^]*?)_EMO_/g, dr = function(e) {
1906
+ return e.charCodeAt(1) === 45;
1907
+ }, vn = function(e) {
1908
+ return e != null && typeof e != "boolean";
1909
+ }, me = /* @__PURE__ */ Aa(function(t) {
1910
+ return dr(t) ? t : t.replace(za, "-$&").toLowerCase();
1911
+ }), mn = function(e, n) {
1912
+ switch (e) {
1913
+ case "animation":
1914
+ case "animationName":
1915
+ if (typeof n == "string")
1916
+ return n.replace(Ia, function(r, i, s) {
1917
+ return Z = {
1918
+ name: i,
1919
+ styles: s,
1920
+ next: Z
1921
+ }, i;
1922
+ });
1923
+ }
1924
+ return Ma[e] !== 1 && !dr(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
1925
+ };
1926
+ function ee(t, e, n) {
1927
+ if (n == null)
1928
+ return "";
1929
+ var r = n;
1930
+ if (r.__emotion_styles !== void 0)
1931
+ return r;
1932
+ switch (typeof n) {
1933
+ case "boolean":
1934
+ return "";
1935
+ case "object": {
1936
+ var i = n;
1937
+ if (i.anim === 1)
1938
+ return Z = {
1939
+ name: i.name,
1940
+ styles: i.styles,
1941
+ next: Z
1942
+ }, i.name;
1943
+ var s = n;
1944
+ if (s.styles !== void 0) {
1945
+ var a = s.next;
1946
+ if (a !== void 0)
1947
+ for (; a !== void 0; )
1948
+ Z = {
1949
+ name: a.name,
1950
+ styles: a.styles,
1951
+ next: Z
1952
+ }, a = a.next;
1953
+ var o = s.styles + ";";
1954
+ return o;
1955
+ }
1956
+ return Fa(t, e, n);
1957
+ }
1958
+ }
1959
+ var c = n;
1960
+ if (e == null)
1961
+ return c;
1962
+ var u = e[c];
1963
+ return u !== void 0 ? u : c;
1964
+ }
1965
+ function Fa(t, e, n) {
1966
+ var r = "";
1967
+ if (Array.isArray(n))
1968
+ for (var i = 0; i < n.length; i++)
1969
+ r += ee(t, e, n[i]) + ";";
1970
+ else
1971
+ for (var s in n) {
1972
+ var a = n[s];
1973
+ if (typeof a != "object") {
1974
+ var o = a;
1975
+ e != null && e[o] !== void 0 ? r += s + "{" + e[o] + "}" : vn(o) && (r += me(s) + ":" + mn(s, o) + ";");
1976
+ } else if (Array.isArray(a) && typeof a[0] == "string" && (e == null || e[a[0]] === void 0))
1977
+ for (var c = 0; c < a.length; c++)
1978
+ vn(a[c]) && (r += me(s) + ":" + mn(s, a[c]) + ";");
1979
+ else {
1980
+ var u = ee(t, e, a);
1981
+ switch (s) {
1982
+ case "animation":
1983
+ case "animationName": {
1984
+ r += me(s) + ":" + u + ";";
1985
+ break;
1986
+ }
1987
+ default:
1988
+ r += s + "{" + u + "}";
1989
+ }
1990
+ }
1991
+ }
1992
+ return r;
1993
+ }
1994
+ var yn = /label:\s*([^\s;{]+)\s*(;|$)/g, Z;
1995
+ function ye(t, e, n) {
1996
+ if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1997
+ return t[0];
1998
+ var r = !0, i = "";
1999
+ Z = void 0;
2000
+ var s = t[0];
2001
+ if (s == null || s.raw === void 0)
2002
+ r = !1, i += ee(n, e, s);
2003
+ else {
2004
+ var a = s;
2005
+ i += a[0];
2006
+ }
2007
+ for (var o = 1; o < t.length; o++)
2008
+ if (i += ee(n, e, t[o]), r) {
2009
+ var c = s;
2010
+ i += c[o];
2011
+ }
2012
+ yn.lastIndex = 0;
2013
+ for (var u = "", f; (f = yn.exec(i)) !== null; )
2014
+ u += "-" + f[1];
2015
+ var l = ka(i) + u;
2016
+ return {
2017
+ name: l,
2018
+ styles: i,
2019
+ next: Z
2020
+ };
2021
+ }
2022
+ function gr(t, e, n) {
2023
+ var r = "";
2024
+ return n.split(" ").forEach(function(i) {
2025
+ t[i] !== void 0 ? e.push(t[i] + ";") : i && (r += i + " ");
2026
+ }), r;
2027
+ }
2028
+ var Da = function(e, n, r) {
2029
+ var i = e.key + "-" + n.name;
2030
+ // we only need to add the styles to the registered cache if the
2031
+ // class name could be used further down
2032
+ // the tree but if it's a string tag, we know it won't
2033
+ // so we don't have to add it to registered cache.
2034
+ // this improves memory usage since we can avoid storing the whole style string
2035
+ e.registered[i] === void 0 && (e.registered[i] = n.styles);
2036
+ }, La = function(e, n, r) {
2037
+ Da(e, n);
2038
+ var i = e.key + "-" + n.name;
2039
+ if (e.inserted[n.name] === void 0) {
2040
+ var s = n;
2041
+ do
2042
+ e.insert(n === s ? "." + i : "", s, e.sheet, !0), s = s.next;
2043
+ while (s !== void 0);
2044
+ }
2045
+ };
2046
+ function _n(t, e) {
2047
+ if (t.inserted[e.name] === void 0)
2048
+ return t.insert("", e, t.sheet, !0);
2049
+ }
2050
+ function wn(t, e, n) {
2051
+ var r = [], i = gr(t, r, n);
2052
+ return r.length < 2 ? n : i + e(r);
2053
+ }
2054
+ var Ba = function(e) {
2055
+ var n = Na(e);
2056
+ n.sheet.speedy = function(o) {
2057
+ this.isSpeedy = o;
2058
+ }, n.compat = !0;
2059
+ var r = function() {
2060
+ for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
2061
+ u[f] = arguments[f];
2062
+ var l = ye(u, n.registered, void 0);
2063
+ return La(n, l), n.key + "-" + l.name;
2064
+ }, i = function() {
2065
+ for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
2066
+ u[f] = arguments[f];
2067
+ var l = ye(u, n.registered), h = "animation-" + l.name;
2068
+ return _n(n, {
2069
+ name: l.name,
2070
+ styles: "@keyframes " + h + "{" + l.styles + "}"
2071
+ }), h;
2072
+ }, s = function() {
2073
+ for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
2074
+ u[f] = arguments[f];
2075
+ var l = ye(u, n.registered);
2076
+ _n(n, l);
2077
+ }, a = function() {
2078
+ for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
2079
+ u[f] = arguments[f];
2080
+ return wn(n.registered, r, Ha(u));
2081
+ };
2082
+ return {
2083
+ css: r,
2084
+ cx: a,
2085
+ injectGlobal: s,
2086
+ keyframes: i,
2087
+ hydrate: function(c) {
2088
+ c.forEach(function(u) {
2089
+ n.inserted[u] = !0;
2090
+ });
2091
+ },
2092
+ flush: function() {
2093
+ n.registered = {}, n.inserted = {}, n.sheet.flush();
2094
+ },
2095
+ sheet: n.sheet,
2096
+ cache: n,
2097
+ getRegisteredStyles: gr.bind(null, n.registered),
2098
+ merge: wn.bind(null, n.registered, r)
2099
+ };
2100
+ }, Ha = function t(e) {
2101
+ for (var n = "", r = 0; r < e.length; r++) {
2102
+ var i = e[r];
2103
+ if (i != null) {
2104
+ var s = void 0;
2105
+ switch (typeof i) {
2106
+ case "boolean":
2107
+ break;
2108
+ case "object": {
2109
+ if (Array.isArray(i))
2110
+ s = t(i);
2111
+ else {
2112
+ s = "";
2113
+ for (var a in i)
2114
+ i[a] && a && (s && (s += " "), s += a);
2115
+ }
2116
+ break;
2117
+ }
2118
+ default:
2119
+ s = i;
2120
+ }
2121
+ s && (n && (n += " "), n += s);
2122
+ }
2123
+ }
2124
+ return n;
2125
+ }, pr = Ba({
2126
+ key: "css"
2127
+ }), Pa = pr.injectGlobal, cu = pr.css;
2128
+ function Va() {
2129
+ const t = () => Math.floor((1 + crypto.getRandomValues(new Uint32Array(1))[0]) * 65536).toString(16).substring(1);
2130
+ return `${t() + t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`;
2131
+ }
2132
+ const xn = /* @__PURE__ */ new WeakMap();
2133
+ function Wa(t, e) {
2134
+ const n = t.substr(4, t.length - 5);
2135
+ let r = xn.get(e);
2136
+ if (r || (r = /* @__PURE__ */ new Map(), xn.set(e, r)), r.has(n))
2137
+ return r.get(n);
2138
+ const i = getComputedStyle(e).getPropertyValue(n);
2139
+ return r.set(n, i), i;
2140
+ }
2141
+ function uu(t, e, n = 0) {
2142
+ const [r, i, s, a] = [
2143
+ t.x + n,
2144
+ t.y + t.height - 2 * n,
2145
+ t.x + t.width - 2 * n,
2146
+ t.y + n
2147
+ ], [o, c, u, f] = [
2148
+ e.x + n,
2149
+ e.y + e.height - 2 * n,
2150
+ e.x + e.width - 2 * n,
2151
+ e.y + n
2152
+ ];
2153
+ return !(i < f || c < a || s < o || u < r);
2154
+ }
2155
+ function Ve(t, e, n) {
2156
+ t.prototype = e.prototype = n, n.constructor = t;
2157
+ }
2158
+ function vr(t, e) {
2159
+ var n = Object.create(t.prototype);
2160
+ for (var r in e) n[r] = e[r];
2161
+ return n;
2162
+ }
2163
+ function Ot() {
2164
+ }
2165
+ var Tt = 0.7, ne = 1 / Tt, st = "\\s*([+-]?\\d+)\\s*", Et = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", V = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ua = /^#([0-9a-f]{3,8})$/, qa = new RegExp(`^rgb\\(${st},${st},${st}\\)$`), Xa = new RegExp(`^rgb\\(${V},${V},${V}\\)$`), Ga = new RegExp(`^rgba\\(${st},${st},${st},${Et}\\)$`), Ya = new RegExp(`^rgba\\(${V},${V},${V},${Et}\\)$`), Za = new RegExp(`^hsl\\(${Et},${V},${V}\\)$`), Ka = new RegExp(`^hsla\\(${Et},${V},${V},${Et}\\)$`), bn = {
2166
+ aliceblue: 15792383,
2167
+ antiquewhite: 16444375,
2168
+ aqua: 65535,
2169
+ aquamarine: 8388564,
2170
+ azure: 15794175,
2171
+ beige: 16119260,
2172
+ bisque: 16770244,
2173
+ black: 0,
2174
+ blanchedalmond: 16772045,
2175
+ blue: 255,
2176
+ blueviolet: 9055202,
2177
+ brown: 10824234,
2178
+ burlywood: 14596231,
2179
+ cadetblue: 6266528,
2180
+ chartreuse: 8388352,
2181
+ chocolate: 13789470,
2182
+ coral: 16744272,
2183
+ cornflowerblue: 6591981,
2184
+ cornsilk: 16775388,
2185
+ crimson: 14423100,
2186
+ cyan: 65535,
2187
+ darkblue: 139,
2188
+ darkcyan: 35723,
2189
+ darkgoldenrod: 12092939,
2190
+ darkgray: 11119017,
2191
+ darkgreen: 25600,
2192
+ darkgrey: 11119017,
2193
+ darkkhaki: 12433259,
2194
+ darkmagenta: 9109643,
2195
+ darkolivegreen: 5597999,
2196
+ darkorange: 16747520,
2197
+ darkorchid: 10040012,
2198
+ darkred: 9109504,
2199
+ darksalmon: 15308410,
2200
+ darkseagreen: 9419919,
2201
+ darkslateblue: 4734347,
2202
+ darkslategray: 3100495,
2203
+ darkslategrey: 3100495,
2204
+ darkturquoise: 52945,
2205
+ darkviolet: 9699539,
2206
+ deeppink: 16716947,
2207
+ deepskyblue: 49151,
2208
+ dimgray: 6908265,
2209
+ dimgrey: 6908265,
2210
+ dodgerblue: 2003199,
2211
+ firebrick: 11674146,
2212
+ floralwhite: 16775920,
2213
+ forestgreen: 2263842,
2214
+ fuchsia: 16711935,
2215
+ gainsboro: 14474460,
2216
+ ghostwhite: 16316671,
2217
+ gold: 16766720,
2218
+ goldenrod: 14329120,
2219
+ gray: 8421504,
2220
+ green: 32768,
2221
+ greenyellow: 11403055,
2222
+ grey: 8421504,
2223
+ honeydew: 15794160,
2224
+ hotpink: 16738740,
2225
+ indianred: 13458524,
2226
+ indigo: 4915330,
2227
+ ivory: 16777200,
2228
+ khaki: 15787660,
2229
+ lavender: 15132410,
2230
+ lavenderblush: 16773365,
2231
+ lawngreen: 8190976,
2232
+ lemonchiffon: 16775885,
2233
+ lightblue: 11393254,
2234
+ lightcoral: 15761536,
2235
+ lightcyan: 14745599,
2236
+ lightgoldenrodyellow: 16448210,
2237
+ lightgray: 13882323,
2238
+ lightgreen: 9498256,
2239
+ lightgrey: 13882323,
2240
+ lightpink: 16758465,
2241
+ lightsalmon: 16752762,
2242
+ lightseagreen: 2142890,
2243
+ lightskyblue: 8900346,
2244
+ lightslategray: 7833753,
2245
+ lightslategrey: 7833753,
2246
+ lightsteelblue: 11584734,
2247
+ lightyellow: 16777184,
2248
+ lime: 65280,
2249
+ limegreen: 3329330,
2250
+ linen: 16445670,
2251
+ magenta: 16711935,
2252
+ maroon: 8388608,
2253
+ mediumaquamarine: 6737322,
2254
+ mediumblue: 205,
2255
+ mediumorchid: 12211667,
2256
+ mediumpurple: 9662683,
2257
+ mediumseagreen: 3978097,
2258
+ mediumslateblue: 8087790,
2259
+ mediumspringgreen: 64154,
2260
+ mediumturquoise: 4772300,
2261
+ mediumvioletred: 13047173,
2262
+ midnightblue: 1644912,
2263
+ mintcream: 16121850,
2264
+ mistyrose: 16770273,
2265
+ moccasin: 16770229,
2266
+ navajowhite: 16768685,
2267
+ navy: 128,
2268
+ oldlace: 16643558,
2269
+ olive: 8421376,
2270
+ olivedrab: 7048739,
2271
+ orange: 16753920,
2272
+ orangered: 16729344,
2273
+ orchid: 14315734,
2274
+ palegoldenrod: 15657130,
2275
+ palegreen: 10025880,
2276
+ paleturquoise: 11529966,
2277
+ palevioletred: 14381203,
2278
+ papayawhip: 16773077,
2279
+ peachpuff: 16767673,
2280
+ peru: 13468991,
2281
+ pink: 16761035,
2282
+ plum: 14524637,
2283
+ powderblue: 11591910,
2284
+ purple: 8388736,
2285
+ rebeccapurple: 6697881,
2286
+ red: 16711680,
2287
+ rosybrown: 12357519,
2288
+ royalblue: 4286945,
2289
+ saddlebrown: 9127187,
2290
+ salmon: 16416882,
2291
+ sandybrown: 16032864,
2292
+ seagreen: 3050327,
2293
+ seashell: 16774638,
2294
+ sienna: 10506797,
2295
+ silver: 12632256,
2296
+ skyblue: 8900331,
2297
+ slateblue: 6970061,
2298
+ slategray: 7372944,
2299
+ slategrey: 7372944,
2300
+ snow: 16775930,
2301
+ springgreen: 65407,
2302
+ steelblue: 4620980,
2303
+ tan: 13808780,
2304
+ teal: 32896,
2305
+ thistle: 14204888,
2306
+ tomato: 16737095,
2307
+ turquoise: 4251856,
2308
+ violet: 15631086,
2309
+ wheat: 16113331,
2310
+ white: 16777215,
2311
+ whitesmoke: 16119285,
2312
+ yellow: 16776960,
2313
+ yellowgreen: 10145074
2314
+ };
2315
+ Ve(Ot, et, {
2316
+ copy(t) {
2317
+ return Object.assign(new this.constructor(), this, t);
2318
+ },
2319
+ displayable() {
2320
+ return this.rgb().displayable();
2321
+ },
2322
+ hex: An,
2323
+ // Deprecated! Use color.formatHex.
2324
+ formatHex: An,
2325
+ formatHex8: Ja,
2326
+ formatHsl: Qa,
2327
+ formatRgb: Sn,
2328
+ toString: Sn
2329
+ });
2330
+ function An() {
2331
+ return this.rgb().formatHex();
2332
+ }
2333
+ function Ja() {
2334
+ return this.rgb().formatHex8();
2335
+ }
2336
+ function Qa() {
2337
+ return mr(this).formatHsl();
2338
+ }
2339
+ function Sn() {
2340
+ return this.rgb().formatRgb();
2341
+ }
2342
+ function et(t) {
2343
+ var e, n;
2344
+ return t = (t + "").trim().toLowerCase(), (e = Ua.exec(t)) ? (n = e[1].length, e = parseInt(e[1], 16), n === 6 ? Tn(e) : n === 3 ? new O(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : n === 8 ? It(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : n === 4 ? It(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 = qa.exec(t)) ? new O(e[1], e[2], e[3], 1) : (e = Xa.exec(t)) ? new O(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = Ga.exec(t)) ? It(e[1], e[2], e[3], e[4]) : (e = Ya.exec(t)) ? It(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = Za.exec(t)) ? $n(e[1], e[2] / 100, e[3] / 100, 1) : (e = Ka.exec(t)) ? $n(e[1], e[2] / 100, e[3] / 100, e[4]) : bn.hasOwnProperty(t) ? Tn(bn[t]) : t === "transparent" ? new O(NaN, NaN, NaN, 0) : null;
2345
+ }
2346
+ function Tn(t) {
2347
+ return new O(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
2348
+ }
2349
+ function It(t, e, n, r) {
2350
+ return r <= 0 && (t = e = n = NaN), new O(t, e, n, r);
2351
+ }
2352
+ function ja(t) {
2353
+ return t instanceof Ot || (t = et(t)), t ? (t = t.rgb(), new O(t.r, t.g, t.b, t.opacity)) : new O();
2354
+ }
2355
+ function Ee(t, e, n, r) {
2356
+ return arguments.length === 1 ? ja(t) : new O(t, e, n, r ?? 1);
2357
+ }
2358
+ function O(t, e, n, r) {
2359
+ this.r = +t, this.g = +e, this.b = +n, this.opacity = +r;
2360
+ }
2361
+ Ve(O, Ee, vr(Ot, {
2362
+ brighter(t) {
2363
+ return t = t == null ? ne : Math.pow(ne, t), new O(this.r * t, this.g * t, this.b * t, this.opacity);
2364
+ },
2365
+ darker(t) {
2366
+ return t = t == null ? Tt : Math.pow(Tt, t), new O(this.r * t, this.g * t, this.b * t, this.opacity);
2367
+ },
2368
+ rgb() {
2369
+ return this;
2370
+ },
2371
+ clamp() {
2372
+ return new O(tt(this.r), tt(this.g), tt(this.b), re(this.opacity));
2373
+ },
2374
+ displayable() {
2375
+ return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
2376
+ },
2377
+ hex: En,
2378
+ // Deprecated! Use color.formatHex.
2379
+ formatHex: En,
2380
+ formatHex8: to,
2381
+ formatRgb: Cn,
2382
+ toString: Cn
2383
+ }));
2384
+ function En() {
2385
+ return `#${J(this.r)}${J(this.g)}${J(this.b)}`;
2386
+ }
2387
+ function to() {
2388
+ return `#${J(this.r)}${J(this.g)}${J(this.b)}${J((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2389
+ }
2390
+ function Cn() {
2391
+ const t = re(this.opacity);
2392
+ return `${t === 1 ? "rgb(" : "rgba("}${tt(this.r)}, ${tt(this.g)}, ${tt(this.b)}${t === 1 ? ")" : `, ${t})`}`;
2393
+ }
2394
+ function re(t) {
2395
+ return isNaN(t) ? 1 : Math.max(0, Math.min(1, t));
2396
+ }
2397
+ function tt(t) {
2398
+ return Math.max(0, Math.min(255, Math.round(t) || 0));
2399
+ }
2400
+ function J(t) {
2401
+ return t = tt(t), (t < 16 ? "0" : "") + t.toString(16);
2402
+ }
2403
+ function $n(t, e, n, r) {
2404
+ return r <= 0 ? t = e = n = NaN : n <= 0 || n >= 1 ? t = e = NaN : e <= 0 && (t = NaN), new z(t, e, n, r);
2405
+ }
2406
+ function mr(t) {
2407
+ if (t instanceof z) return new z(t.h, t.s, t.l, t.opacity);
2408
+ if (t instanceof Ot || (t = et(t)), !t) return new z();
2409
+ if (t instanceof z) return t;
2410
+ t = t.rgb();
2411
+ 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), a = NaN, o = s - i, c = (s + i) / 2;
2412
+ return o ? (e === s ? a = (n - r) / o + (n < r) * 6 : n === s ? a = (r - e) / o + 2 : a = (e - n) / o + 4, o /= c < 0.5 ? s + i : 2 - s - i, a *= 60) : o = c > 0 && c < 1 ? 0 : a, new z(a, o, c, t.opacity);
2413
+ }
2414
+ function We(t, e, n, r) {
2415
+ return arguments.length === 1 ? mr(t) : new z(t, e, n, r ?? 1);
2416
+ }
2417
+ function z(t, e, n, r) {
2418
+ this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
2419
+ }
2420
+ Ve(z, We, vr(Ot, {
2421
+ brighter(t) {
2422
+ return t = t == null ? ne : Math.pow(ne, t), new z(this.h, this.s, this.l * t, this.opacity);
2423
+ },
2424
+ darker(t) {
2425
+ return t = t == null ? Tt : Math.pow(Tt, t), new z(this.h, this.s, this.l * t, this.opacity);
2426
+ },
2427
+ rgb() {
2428
+ var t = this.h % 360 + (this.h < 0) * 360, e = isNaN(t) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * e, i = 2 * n - r;
2429
+ return new O(
2430
+ _e(t >= 240 ? t - 240 : t + 120, i, r),
2431
+ _e(t, i, r),
2432
+ _e(t < 120 ? t + 240 : t - 120, i, r),
2433
+ this.opacity
2434
+ );
2435
+ },
2436
+ clamp() {
2437
+ return new z(Rn(this.h), Ft(this.s), Ft(this.l), re(this.opacity));
2438
+ },
2439
+ displayable() {
2440
+ return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
2441
+ },
2442
+ formatHsl() {
2443
+ const t = re(this.opacity);
2444
+ return `${t === 1 ? "hsl(" : "hsla("}${Rn(this.h)}, ${Ft(this.s) * 100}%, ${Ft(this.l) * 100}%${t === 1 ? ")" : `, ${t})`}`;
2445
+ }
2446
+ }));
2447
+ function Rn(t) {
2448
+ return t = (t || 0) % 360, t < 0 ? t + 360 : t;
2449
+ }
2450
+ function Ft(t) {
2451
+ return Math.max(0, Math.min(1, t || 0));
2452
+ }
2453
+ function _e(t, e, n) {
2454
+ return (t < 60 ? e + (n - e) * t / 60 : t < 180 ? n : t < 240 ? e + (n - e) * (240 - t) / 60 : e) * 255;
2455
+ }
2456
+ const gt = globalThis?.UNOVIS_COLORS || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], eo = globalThis?.UNOVIS_COLORS_DARK || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], X = (t) => `--vis-${Fe(t) ? `color${t % gt.length}` : t}`;
2457
+ function no(t, e = 0.4) {
2458
+ const n = We(t);
2459
+ return n.l = n.l * (1 + e), n.formatHex();
2460
+ }
2461
+ function ro(t, e = 0.4, n = 0.6) {
2462
+ const r = We(t);
2463
+ return r.s = r.s * (1 - n), r.l = r.l * (1 - e), r.formatHex();
2464
+ }
2465
+ const ie = 10, Ce = [
2466
+ { id: "stripes-diagonal", svg: '<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>' },
2467
+ { 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"/>' },
2468
+ { id: "stripes-vertical", svg: '<path d="M 5,-1 L5,11" stroke="#000"/>' },
2469
+ { id: "crosshatch", svg: '<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>' },
2470
+ { 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"/>' },
2471
+ { id: "circles", svg: '<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>' }
2472
+ ], $e = [
2473
+ { id: "circle", marker: '<circle cx="5" cy="5" r="5"/>', dashArray: [] },
2474
+ { id: "triangle", marker: '<path d="M5,0 L10,9 L0,9Z">', dashArray: [9, 1] },
2475
+ { id: "diamond", marker: '<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">', dashArray: [2] },
2476
+ { id: "arrow", marker: '<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">', dashArray: [2, 3, 8, 3] },
2477
+ { id: "square", marker: '<rect x="1" y="1" width="8" height="8"/>', dashArray: [6] },
2478
+ { id: "star", marker: '<path d="m2 9 3-9 3 9L0 3h10Z"/>', dashArray: [1, 6] }
2479
+ ];
2480
+ function G(t) {
2481
+ return `vis-${`pattern-${t.svg ? "fill" : "marker"}`}-${t.id}`;
2482
+ }
2483
+ const io = (t) => `<mask id="${G(t)}">
2484
+ <pattern id="${t.id}" viewBox="0 0 10 10" width="${ie}" height="${ie}" patternUnits="userSpaceOnUse">
2485
+ <rect width="100%" height="100%" fill="#fff"/>
2486
+ ${t.svg}
2487
+ </pattern>
2488
+ <rect x="-50%" y="-50%" width="200%" height="200%" fill="url(#${t.id})"/>
2489
+ </mask>`, so = (t, e) => `<marker id="${G(t)}"
2490
+ fill="var(${X(e)})"
2491
+ markerUnits="userSpaceOnUse"
2492
+ refX="5"
2493
+ refY="5"
2494
+ markerWidth="${ie}"
2495
+ markerHeight="${ie}">
2496
+ ${t.marker}
2497
+ </marker>`;
2498
+ function ao() {
2499
+ const t = Ce.map(io).concat($e.map(so)).join(""), e = document.createElementNS("http://www.w3.org/2000/svg", "svg");
2500
+ 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);
2501
+ }
2502
+ typeof window < "u" && ao();
2503
+ const yr = globalThis?.UNOVIS_FONT_W2H_RATIO_DEFAULT || 0.5, _r = globalThis?.UNOVIS_TEXT_SEPARATOR_DEFAULT || [" ", "-", ".", ","], wr = globalThis?.UNOVIS_TEXT_HYPHEN_CHARACTER_DEFAULT || "-", _t = globalThis?.UNOVIS_TEXT_DEFAULT || {
2504
+ // If you change these defaults, don't forget to update the values in the `UnovisText` type in `types/text.ts`
2505
+ text: "",
2506
+ fontSize: 12,
2507
+ fontFamily: "var(--vis-font-family)",
2508
+ lineHeight: 1.25,
2509
+ marginTop: 0,
2510
+ marginBottom: 0
2511
+ };
2512
+ Pa`
2513
+ :root {
2514
+ label: vis-root-styles;
2515
+ --vis-font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
2516
+ --vis-font-wh-ratio: ${yr};
2517
+ --vis-color-main: var(${X(0)});
2518
+ --vis-color-main-light: ${no(gt[0])};
2519
+ --vis-color-main-dark: ${ro(gt[0])};
2520
+ --vis-color-grey: #2a2a2a;
2521
+ ${gt.map((t, e) => `${X(e)}: ${t};`)}
2522
+ ${eo.map((t, e) => `--vis-dark-color${e}: ${t};`)}
2523
+ ${Ce.map((t, e) => `
2524
+ --${G(t)}: url(#${G(t)});
2525
+ --vis-pattern-fill${e}: var(--${G(t)});
2526
+ `)}
2527
+ ${$e.map((t, e) => {
2528
+ var n;
2529
+ return `
2530
+ --${G(t)}: url(#${G(t)});
2531
+ --vis-pattern-marker${e}: var(--${G(t)});
2532
+ --vis-pattern-dasharray${e}: ${(n = t.dashArray) === null || n === void 0 ? void 0 : n.join(" ")};
2533
+ `;
2534
+ })}
2535
+
2536
+ body.theme-dark {
2537
+ ${gt.map((t, e) => `${X(e)}: var(--vis-dark-color${e});`)}
2538
+ }
2539
+
2540
+ body.theme-patterns {
2541
+ ${Ce.map((t, e) => `path[style*="fill: var(${X(e)})"] {
2542
+ mask: var(--vis-pattern-fill${e});
2543
+ }`)}
2544
+ ${$e.map((t, e) => `
2545
+ path[stroke="var(${X(e)})"]:not([style*="fill"]),
2546
+ path[style*="stroke: var(${X(e)})"]:not([style*="fill"]) {
2547
+ marker: var(--vis-pattern-marker${e});
2548
+ stroke-dasharray: var(--vis-pattern-dasharray${e});
2549
+ }
2550
+ `)}
2551
+ }
2552
+ `;
2553
+ function xr(t = window?.document.body) {
2554
+ return t ? +Wa("var(--vis-font-wh-ratio)", t) : yr;
2555
+ }
2556
+ var oo = { value: () => {
2557
+ } };
2558
+ function br() {
2559
+ for (var t = 0, e = arguments.length, n = {}, r; t < e; ++t) {
2560
+ if (!(r = arguments[t] + "") || r in n || /[\s.]/.test(r)) throw new Error("illegal type: " + r);
2561
+ n[r] = [];
2562
+ }
2563
+ return new Wt(n);
2564
+ }
2565
+ function Wt(t) {
2566
+ this._ = t;
2567
+ }
2568
+ function co(t, e) {
2569
+ return t.trim().split(/^|\s+/).map(function(n) {
2570
+ var r = "", i = n.indexOf(".");
2571
+ if (i >= 0 && (r = n.slice(i + 1), n = n.slice(0, i)), n && !e.hasOwnProperty(n)) throw new Error("unknown type: " + n);
2572
+ return { type: n, name: r };
2573
+ });
2574
+ }
2575
+ Wt.prototype = br.prototype = {
2576
+ constructor: Wt,
2577
+ on: function(t, e) {
2578
+ var n = this._, r = co(t + "", n), i, s = -1, a = r.length;
2579
+ if (arguments.length < 2) {
2580
+ for (; ++s < a; ) if ((i = (t = r[s]).type) && (i = uo(n[i], t.name))) return i;
2581
+ return;
2582
+ }
2583
+ if (e != null && typeof e != "function") throw new Error("invalid callback: " + e);
2584
+ for (; ++s < a; )
2585
+ if (i = (t = r[s]).type) n[i] = On(n[i], t.name, e);
2586
+ else if (e == null) for (i in n) n[i] = On(n[i], t.name, null);
2587
+ return this;
2588
+ },
2589
+ copy: function() {
2590
+ var t = {}, e = this._;
2591
+ for (var n in e) t[n] = e[n].slice();
2592
+ return new Wt(t);
2593
+ },
2594
+ call: function(t, e) {
2595
+ if ((i = arguments.length - 2) > 0) for (var n = new Array(i), r = 0, i, s; r < i; ++r) n[r] = arguments[r + 2];
2596
+ if (!this._.hasOwnProperty(t)) throw new Error("unknown type: " + t);
2597
+ for (s = this._[t], r = 0, i = s.length; r < i; ++r) s[r].value.apply(e, n);
2598
+ },
2599
+ apply: function(t, e, n) {
2600
+ if (!this._.hasOwnProperty(t)) throw new Error("unknown type: " + t);
2601
+ for (var r = this._[t], i = 0, s = r.length; i < s; ++i) r[i].value.apply(e, n);
2602
+ }
2603
+ };
2604
+ function uo(t, e) {
2605
+ for (var n = 0, r = t.length, i; n < r; ++n)
2606
+ if ((i = t[n]).name === e)
2607
+ return i.value;
2608
+ }
2609
+ function On(t, e, n) {
2610
+ for (var r = 0, i = t.length; r < i; ++r)
2611
+ if (t[r].name === e) {
2612
+ t[r] = oo, t = t.slice(0, r).concat(t.slice(r + 1));
2613
+ break;
2614
+ }
2615
+ return n != null && t.push({ name: e, value: n }), t;
2616
+ }
2617
+ var ft = 0, pt = 0, dt = 0, Ar = 1e3, se, vt, ae = 0, nt = 0, de = 0, Ct = typeof performance == "object" && performance.now ? performance : Date, Sr = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
2618
+ setTimeout(t, 17);
2619
+ };
2620
+ function Ue() {
2621
+ return nt || (Sr(fo), nt = Ct.now() + de);
2622
+ }
2623
+ function fo() {
2624
+ nt = 0;
2625
+ }
2626
+ function oe() {
2627
+ this._call = this._time = this._next = null;
2628
+ }
2629
+ oe.prototype = Tr.prototype = {
2630
+ constructor: oe,
2631
+ restart: function(t, e, n) {
2632
+ if (typeof t != "function") throw new TypeError("callback is not a function");
2633
+ n = (n == null ? Ue() : +n) + (e == null ? 0 : +e), !this._next && vt !== this && (vt ? vt._next = this : se = this, vt = this), this._call = t, this._time = n, Re();
2634
+ },
2635
+ stop: function() {
2636
+ this._call && (this._call = null, this._time = 1 / 0, Re());
2637
+ }
2638
+ };
2639
+ function Tr(t, e, n) {
2640
+ var r = new oe();
2641
+ return r.restart(t, e, n), r;
2642
+ }
2643
+ function lo() {
2644
+ Ue(), ++ft;
2645
+ for (var t = se, e; t; )
2646
+ (e = nt - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
2647
+ --ft;
2648
+ }
2649
+ function Nn() {
2650
+ nt = (ae = Ct.now()) + de, ft = pt = 0;
2651
+ try {
2652
+ lo();
2653
+ } finally {
2654
+ ft = 0, go(), nt = 0;
2655
+ }
2656
+ }
2657
+ function ho() {
2658
+ var t = Ct.now(), e = t - ae;
2659
+ e > Ar && (de -= e, ae = t);
2660
+ }
2661
+ function go() {
2662
+ for (var t, e = se, n, r = 1 / 0; e; )
2663
+ e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : se = n);
2664
+ vt = t, Re(r);
2665
+ }
2666
+ function Re(t) {
2667
+ if (!ft) {
2668
+ pt && (pt = clearTimeout(pt));
2669
+ var e = t - nt;
2670
+ e > 24 ? (t < 1 / 0 && (pt = setTimeout(Nn, t - Ct.now() - de)), dt && (dt = clearInterval(dt))) : (dt || (ae = Ct.now(), dt = setInterval(ho, Ar)), ft = 1, Sr(Nn));
2671
+ }
2672
+ }
2673
+ function kn(t, e, n) {
2674
+ var r = new oe();
2675
+ return e = e == null ? 0 : +e, r.restart((i) => {
2676
+ r.stop(), t(i + e);
2677
+ }, e, n), r;
2678
+ }
2679
+ var po = br("start", "end", "cancel", "interrupt"), vo = [], Er = 0, Mn = 1, Oe = 2, Ut = 3, zn = 4, Ne = 5, qt = 6;
2680
+ function ge(t, e, n, r, i, s) {
2681
+ var a = t.__transition;
2682
+ if (!a) t.__transition = {};
2683
+ else if (n in a) return;
2684
+ mo(t, n, {
2685
+ name: e,
2686
+ index: r,
2687
+ // For context during callback.
2688
+ group: i,
2689
+ // For context during callback.
2690
+ on: po,
2691
+ tween: vo,
2692
+ time: s.time,
2693
+ delay: s.delay,
2694
+ duration: s.duration,
2695
+ ease: s.ease,
2696
+ timer: null,
2697
+ state: Er
2698
+ });
2699
+ }
2700
+ function qe(t, e) {
2701
+ var n = F(t, e);
2702
+ if (n.state > Er) throw new Error("too late; already scheduled");
2703
+ return n;
2704
+ }
2705
+ function W(t, e) {
2706
+ var n = F(t, e);
2707
+ if (n.state > Ut) throw new Error("too late; already running");
2708
+ return n;
2709
+ }
2710
+ function F(t, e) {
2711
+ var n = t.__transition;
2712
+ if (!n || !(n = n[e])) throw new Error("transition not found");
2713
+ return n;
2714
+ }
2715
+ function mo(t, e, n) {
2716
+ var r = t.__transition, i;
2717
+ r[e] = n, n.timer = Tr(s, 0, n.time);
2718
+ function s(u) {
2719
+ n.state = Mn, n.timer.restart(a, n.delay, n.time), n.delay <= u && a(u - n.delay);
2720
+ }
2721
+ function a(u) {
2722
+ var f, l, h, p;
2723
+ if (n.state !== Mn) return c();
2724
+ for (f in r)
2725
+ if (p = r[f], p.name === n.name) {
2726
+ if (p.state === Ut) return kn(a);
2727
+ p.state === zn ? (p.state = qt, p.timer.stop(), p.on.call("interrupt", t, t.__data__, p.index, p.group), delete r[f]) : +f < e && (p.state = qt, p.timer.stop(), p.on.call("cancel", t, t.__data__, p.index, p.group), delete r[f]);
2728
+ }
2729
+ if (kn(function() {
2730
+ n.state === Ut && (n.state = zn, n.timer.restart(o, n.delay, n.time), o(u));
2731
+ }), n.state = Oe, n.on.call("start", t, t.__data__, n.index, n.group), n.state === Oe) {
2732
+ for (n.state = Ut, i = new Array(h = n.tween.length), f = 0, l = -1; f < h; ++f)
2733
+ (p = n.tween[f].value.call(t, t.__data__, n.index, n.group)) && (i[++l] = p);
2734
+ i.length = l + 1;
2735
+ }
2736
+ }
2737
+ function o(u) {
2738
+ for (var f = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(c), n.state = Ne, 1), l = -1, h = i.length; ++l < h; )
2739
+ i[l].call(t, f);
2740
+ n.state === Ne && (n.on.call("end", t, t.__data__, n.index, n.group), c());
2741
+ }
2742
+ function c() {
2743
+ n.state = qt, n.timer.stop(), delete r[e];
2744
+ for (var u in r) return;
2745
+ delete t.__transition;
2746
+ }
2747
+ }
2748
+ function Cr(t, e) {
2749
+ var n = t.__transition, r, i, s = !0, a;
2750
+ if (n) {
2751
+ e = e == null ? null : e + "";
2752
+ for (a in n) {
2753
+ if ((r = n[a]).name !== e) {
2754
+ s = !1;
2755
+ continue;
2756
+ }
2757
+ i = r.state > Oe && r.state < Ne, r.state = qt, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", t, t.__data__, r.index, r.group), delete n[a];
2758
+ }
2759
+ s && delete t.__transition;
2760
+ }
2761
+ }
2762
+ function yo(t) {
2763
+ return this.each(function() {
2764
+ Cr(this, t);
2765
+ });
2766
+ }
2767
+ const Xe = (t) => () => t;
2768
+ function _o(t, e) {
2769
+ return function(n) {
2770
+ return t + n * e;
2771
+ };
2772
+ }
2773
+ function wo(t, e, n) {
2774
+ return t = Math.pow(t, n), e = Math.pow(e, n) - t, n = 1 / n, function(r) {
2775
+ return Math.pow(t + r * e, n);
2776
+ };
2777
+ }
2778
+ function xo(t) {
2779
+ return (t = +t) == 1 ? $r : function(e, n) {
2780
+ return n - e ? wo(e, n, t) : Xe(isNaN(e) ? n : e);
2781
+ };
2782
+ }
2783
+ function $r(t, e) {
2784
+ var n = e - t;
2785
+ return n ? _o(t, n) : Xe(isNaN(t) ? e : t);
2786
+ }
2787
+ const ce = (function t(e) {
2788
+ var n = xo(e);
2789
+ function r(i, s) {
2790
+ var a = n((i = Ee(i)).r, (s = Ee(s)).r), o = n(i.g, s.g), c = n(i.b, s.b), u = $r(i.opacity, s.opacity);
2791
+ return function(f) {
2792
+ return i.r = a(f), i.g = o(f), i.b = c(f), i.opacity = u(f), i + "";
2793
+ };
2794
+ }
2795
+ return r.gamma = t, r;
2796
+ })(1);
2797
+ function bo(t, e) {
2798
+ e || (e = []);
2799
+ var n = t ? Math.min(e.length, t.length) : 0, r = e.slice(), i;
2800
+ return function(s) {
2801
+ for (i = 0; i < n; ++i) r[i] = t[i] * (1 - s) + e[i] * s;
2802
+ return r;
2803
+ };
2804
+ }
2805
+ function Ao(t) {
2806
+ return ArrayBuffer.isView(t) && !(t instanceof DataView);
2807
+ }
2808
+ function So(t, e) {
2809
+ var n = e ? e.length : 0, r = t ? Math.min(n, t.length) : 0, i = new Array(r), s = new Array(n), a;
2810
+ for (a = 0; a < r; ++a) i[a] = Or(t[a], e[a]);
2811
+ for (; a < n; ++a) s[a] = e[a];
2812
+ return function(o) {
2813
+ for (a = 0; a < r; ++a) s[a] = i[a](o);
2814
+ return s;
2815
+ };
2816
+ }
2817
+ function To(t, e) {
2818
+ var n = /* @__PURE__ */ new Date();
2819
+ return t = +t, e = +e, function(r) {
2820
+ return n.setTime(t * (1 - r) + e * r), n;
2821
+ };
2822
+ }
2823
+ function H(t, e) {
2824
+ return t = +t, e = +e, function(n) {
2825
+ return t * (1 - n) + e * n;
2826
+ };
2827
+ }
2828
+ function Eo(t, e) {
2829
+ var n = {}, r = {}, i;
2830
+ (t === null || typeof t != "object") && (t = {}), (e === null || typeof e != "object") && (e = {});
2831
+ for (i in e)
2832
+ i in t ? n[i] = Or(t[i], e[i]) : r[i] = e[i];
2833
+ return function(s) {
2834
+ for (i in n) r[i] = n[i](s);
2835
+ return r;
2836
+ };
2837
+ }
2838
+ var ke = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, we = new RegExp(ke.source, "g");
2839
+ function Co(t) {
2840
+ return function() {
2841
+ return t;
2842
+ };
2843
+ }
2844
+ function $o(t) {
2845
+ return function(e) {
2846
+ return t(e) + "";
2847
+ };
2848
+ }
2849
+ function Rr(t, e) {
2850
+ var n = ke.lastIndex = we.lastIndex = 0, r, i, s, a = -1, o = [], c = [];
2851
+ for (t = t + "", e = e + ""; (r = ke.exec(t)) && (i = we.exec(e)); )
2852
+ (s = i.index) > n && (s = e.slice(n, s), o[a] ? o[a] += s : o[++a] = s), (r = r[0]) === (i = i[0]) ? o[a] ? o[a] += i : o[++a] = i : (o[++a] = null, c.push({ i: a, x: H(r, i) })), n = we.lastIndex;
2853
+ return n < e.length && (s = e.slice(n), o[a] ? o[a] += s : o[++a] = s), o.length < 2 ? c[0] ? $o(c[0].x) : Co(e) : (e = c.length, function(u) {
2854
+ for (var f = 0, l; f < e; ++f) o[(l = c[f]).i] = l.x(u);
2855
+ return o.join("");
2856
+ });
2857
+ }
2858
+ function Or(t, e) {
2859
+ var n = typeof e, r;
2860
+ return e == null || n === "boolean" ? Xe(e) : (n === "number" ? H : n === "string" ? (r = et(e)) ? (e = r, ce) : Rr : e instanceof et ? ce : e instanceof Date ? To : Ao(e) ? bo : Array.isArray(e) ? So : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? Eo : H)(t, e);
2861
+ }
2862
+ var In = 180 / Math.PI, Me = {
2863
+ translateX: 0,
2864
+ translateY: 0,
2865
+ rotate: 0,
2866
+ skewX: 0,
2867
+ scaleX: 1,
2868
+ scaleY: 1
2869
+ };
2870
+ function Nr(t, e, n, r, i, s) {
2871
+ var a, o, c;
2872
+ return (a = Math.sqrt(t * t + e * e)) && (t /= a, e /= a), (c = t * n + e * r) && (n -= t * c, r -= e * c), (o = Math.sqrt(n * n + r * r)) && (n /= o, r /= o, c /= o), t * r < e * n && (t = -t, e = -e, c = -c, a = -a), {
2873
+ translateX: i,
2874
+ translateY: s,
2875
+ rotate: Math.atan2(e, t) * In,
2876
+ skewX: Math.atan(c) * In,
2877
+ scaleX: a,
2878
+ scaleY: o
2879
+ };
2880
+ }
2881
+ var Dt;
2882
+ function Ro(t) {
2883
+ const e = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(t + "");
2884
+ return e.isIdentity ? Me : Nr(e.a, e.b, e.c, e.d, e.e, e.f);
2885
+ }
2886
+ function Oo(t) {
2887
+ return t == null || (Dt || (Dt = document.createElementNS("http://www.w3.org/2000/svg", "g")), Dt.setAttribute("transform", t), !(t = Dt.transform.baseVal.consolidate())) ? Me : (t = t.matrix, Nr(t.a, t.b, t.c, t.d, t.e, t.f));
2888
+ }
2889
+ function kr(t, e, n, r) {
2890
+ function i(u) {
2891
+ return u.length ? u.pop() + " " : "";
2892
+ }
2893
+ function s(u, f, l, h, p, g) {
2894
+ if (u !== l || f !== h) {
2895
+ var d = p.push("translate(", null, e, null, n);
2896
+ g.push({ i: d - 4, x: H(u, l) }, { i: d - 2, x: H(f, h) });
2897
+ } else (l || h) && p.push("translate(" + l + e + h + n);
2898
+ }
2899
+ function a(u, f, l, h) {
2900
+ u !== f ? (u - f > 180 ? f += 360 : f - u > 180 && (u += 360), h.push({ i: l.push(i(l) + "rotate(", null, r) - 2, x: H(u, f) })) : f && l.push(i(l) + "rotate(" + f + r);
2901
+ }
2902
+ function o(u, f, l, h) {
2903
+ u !== f ? h.push({ i: l.push(i(l) + "skewX(", null, r) - 2, x: H(u, f) }) : f && l.push(i(l) + "skewX(" + f + r);
2904
+ }
2905
+ function c(u, f, l, h, p, g) {
2906
+ if (u !== l || f !== h) {
2907
+ var d = p.push(i(p) + "scale(", null, ",", null, ")");
2908
+ g.push({ i: d - 4, x: H(u, l) }, { i: d - 2, x: H(f, h) });
2909
+ } else (l !== 1 || h !== 1) && p.push(i(p) + "scale(" + l + "," + h + ")");
2910
+ }
2911
+ return function(u, f) {
2912
+ var l = [], h = [];
2913
+ return u = t(u), f = t(f), s(u.translateX, u.translateY, f.translateX, f.translateY, l, h), a(u.rotate, f.rotate, l, h), o(u.skewX, f.skewX, l, h), c(u.scaleX, u.scaleY, f.scaleX, f.scaleY, l, h), u = f = null, function(p) {
2914
+ for (var g = -1, d = h.length, y; ++g < d; ) l[(y = h[g]).i] = y.x(p);
2915
+ return l.join("");
2916
+ };
2917
+ };
2918
+ }
2919
+ var No = kr(Ro, "px, ", "px)", "deg)"), ko = kr(Oo, ", ", ")", ")");
2920
+ function Mo(t, e) {
2921
+ var n, r;
2922
+ return function() {
2923
+ var i = W(this, t), s = i.tween;
2924
+ if (s !== n) {
2925
+ r = n = s;
2926
+ for (var a = 0, o = r.length; a < o; ++a)
2927
+ if (r[a].name === e) {
2928
+ r = r.slice(), r.splice(a, 1);
2929
+ break;
2930
+ }
2931
+ }
2932
+ i.tween = r;
2933
+ };
2934
+ }
2935
+ function zo(t, e, n) {
2936
+ var r, i;
2937
+ if (typeof n != "function") throw new Error();
2938
+ return function() {
2939
+ var s = W(this, t), a = s.tween;
2940
+ if (a !== r) {
2941
+ i = (r = a).slice();
2942
+ for (var o = { name: e, value: n }, c = 0, u = i.length; c < u; ++c)
2943
+ if (i[c].name === e) {
2944
+ i[c] = o;
2945
+ break;
2946
+ }
2947
+ c === u && i.push(o);
2948
+ }
2949
+ s.tween = i;
2950
+ };
2951
+ }
2952
+ function Io(t, e) {
2953
+ var n = this._id;
2954
+ if (t += "", arguments.length < 2) {
2955
+ for (var r = F(this.node(), n).tween, i = 0, s = r.length, a; i < s; ++i)
2956
+ if ((a = r[i]).name === t)
2957
+ return a.value;
2958
+ return null;
2959
+ }
2960
+ return this.each((e == null ? Mo : zo)(n, t, e));
2961
+ }
2962
+ function Ge(t, e, n) {
2963
+ var r = t._id;
2964
+ return t.each(function() {
2965
+ var i = W(this, r);
2966
+ (i.value || (i.value = {}))[e] = n.apply(this, arguments);
2967
+ }), function(i) {
2968
+ return F(i, r).value[e];
2969
+ };
2970
+ }
2971
+ function Mr(t, e) {
2972
+ var n;
2973
+ return (typeof e == "number" ? H : e instanceof et ? ce : (n = et(e)) ? (e = n, ce) : Rr)(t, e);
2974
+ }
2975
+ function Fo(t) {
2976
+ return function() {
2977
+ this.removeAttribute(t);
2978
+ };
2979
+ }
2980
+ function Do(t) {
2981
+ return function() {
2982
+ this.removeAttributeNS(t.space, t.local);
2983
+ };
2984
+ }
2985
+ function Lo(t, e, n) {
2986
+ var r, i = n + "", s;
2987
+ return function() {
2988
+ var a = this.getAttribute(t);
2989
+ return a === i ? null : a === r ? s : s = e(r = a, n);
2990
+ };
2991
+ }
2992
+ function Bo(t, e, n) {
2993
+ var r, i = n + "", s;
2994
+ return function() {
2995
+ var a = this.getAttributeNS(t.space, t.local);
2996
+ return a === i ? null : a === r ? s : s = e(r = a, n);
2997
+ };
2998
+ }
2999
+ function Ho(t, e, n) {
3000
+ var r, i, s;
3001
+ return function() {
3002
+ var a, o = n(this), c;
3003
+ return o == null ? void this.removeAttribute(t) : (a = this.getAttribute(t), c = o + "", a === c ? null : a === r && c === i ? s : (i = c, s = e(r = a, o)));
3004
+ };
3005
+ }
3006
+ function Po(t, e, n) {
3007
+ var r, i, s;
3008
+ return function() {
3009
+ var a, o = n(this), c;
3010
+ return o == null ? void this.removeAttributeNS(t.space, t.local) : (a = this.getAttributeNS(t.space, t.local), c = o + "", a === c ? null : a === r && c === i ? s : (i = c, s = e(r = a, o)));
3011
+ };
3012
+ }
3013
+ function Vo(t, e) {
3014
+ var n = ue(t), r = n === "transform" ? ko : Mr;
3015
+ return this.attrTween(t, typeof e == "function" ? (n.local ? Po : Ho)(n, r, Ge(this, "attr." + t, e)) : e == null ? (n.local ? Do : Fo)(n) : (n.local ? Bo : Lo)(n, r, e));
3016
+ }
3017
+ function Wo(t, e) {
3018
+ return function(n) {
3019
+ this.setAttribute(t, e.call(this, n));
3020
+ };
3021
+ }
3022
+ function Uo(t, e) {
3023
+ return function(n) {
3024
+ this.setAttributeNS(t.space, t.local, e.call(this, n));
3025
+ };
3026
+ }
3027
+ function qo(t, e) {
3028
+ var n, r;
3029
+ function i() {
3030
+ var s = e.apply(this, arguments);
3031
+ return s !== r && (n = (r = s) && Uo(t, s)), n;
3032
+ }
3033
+ return i._value = e, i;
3034
+ }
3035
+ function Xo(t, e) {
3036
+ var n, r;
3037
+ function i() {
3038
+ var s = e.apply(this, arguments);
3039
+ return s !== r && (n = (r = s) && Wo(t, s)), n;
3040
+ }
3041
+ return i._value = e, i;
3042
+ }
3043
+ function Go(t, e) {
3044
+ var n = "attr." + t;
3045
+ if (arguments.length < 2) return (n = this.tween(n)) && n._value;
3046
+ if (e == null) return this.tween(n, null);
3047
+ if (typeof e != "function") throw new Error();
3048
+ var r = ue(t);
3049
+ return this.tween(n, (r.local ? qo : Xo)(r, e));
3050
+ }
3051
+ function Yo(t, e) {
3052
+ return function() {
3053
+ qe(this, t).delay = +e.apply(this, arguments);
3054
+ };
3055
+ }
3056
+ function Zo(t, e) {
3057
+ return e = +e, function() {
3058
+ qe(this, t).delay = e;
3059
+ };
3060
+ }
3061
+ function Ko(t) {
3062
+ var e = this._id;
3063
+ return arguments.length ? this.each((typeof t == "function" ? Yo : Zo)(e, t)) : F(this.node(), e).delay;
3064
+ }
3065
+ function Jo(t, e) {
3066
+ return function() {
3067
+ W(this, t).duration = +e.apply(this, arguments);
3068
+ };
3069
+ }
3070
+ function Qo(t, e) {
3071
+ return e = +e, function() {
3072
+ W(this, t).duration = e;
3073
+ };
3074
+ }
3075
+ function jo(t) {
3076
+ var e = this._id;
3077
+ return arguments.length ? this.each((typeof t == "function" ? Jo : Qo)(e, t)) : F(this.node(), e).duration;
3078
+ }
3079
+ function tc(t, e) {
3080
+ if (typeof e != "function") throw new Error();
3081
+ return function() {
3082
+ W(this, t).ease = e;
3083
+ };
3084
+ }
3085
+ function ec(t) {
3086
+ var e = this._id;
3087
+ return arguments.length ? this.each(tc(e, t)) : F(this.node(), e).ease;
3088
+ }
3089
+ function nc(t, e) {
3090
+ return function() {
3091
+ var n = e.apply(this, arguments);
3092
+ if (typeof n != "function") throw new Error();
3093
+ W(this, t).ease = n;
3094
+ };
3095
+ }
3096
+ function rc(t) {
3097
+ if (typeof t != "function") throw new Error();
3098
+ return this.each(nc(this._id, t));
3099
+ }
3100
+ function ic(t) {
3101
+ typeof t != "function" && (t = Hn(t));
3102
+ for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
3103
+ for (var s = e[i], a = s.length, o = r[i] = [], c, u = 0; u < a; ++u)
3104
+ (c = s[u]) && t.call(c, c.__data__, u, s) && o.push(c);
3105
+ return new q(r, this._parents, this._name, this._id);
3106
+ }
3107
+ function sc(t) {
3108
+ if (t._id !== this._id) throw new Error();
3109
+ for (var e = this._groups, n = t._groups, r = e.length, i = n.length, s = Math.min(r, i), a = new Array(r), o = 0; o < s; ++o)
3110
+ for (var c = e[o], u = n[o], f = c.length, l = a[o] = new Array(f), h, p = 0; p < f; ++p)
3111
+ (h = c[p] || u[p]) && (l[p] = h);
3112
+ for (; o < r; ++o)
3113
+ a[o] = e[o];
3114
+ return new q(a, this._parents, this._name, this._id);
3115
+ }
3116
+ function ac(t) {
3117
+ return (t + "").trim().split(/^|\s+/).every(function(e) {
3118
+ var n = e.indexOf(".");
3119
+ return n >= 0 && (e = e.slice(0, n)), !e || e === "start";
3120
+ });
3121
+ }
3122
+ function oc(t, e, n) {
3123
+ var r, i, s = ac(e) ? qe : W;
3124
+ return function() {
3125
+ var a = s(this, t), o = a.on;
3126
+ o !== r && (i = (r = o).copy()).on(e, n), a.on = i;
3127
+ };
3128
+ }
3129
+ function cc(t, e) {
3130
+ var n = this._id;
3131
+ return arguments.length < 2 ? F(this.node(), n).on.on(t) : this.each(oc(n, t, e));
3132
+ }
3133
+ function uc(t) {
3134
+ return function() {
3135
+ var e = this.parentNode;
3136
+ for (var n in this.__transition) if (+n !== t) return;
3137
+ e && e.removeChild(this);
3138
+ };
3139
+ }
3140
+ function fc() {
3141
+ return this.on("end.remove", uc(this._id));
3142
+ }
3143
+ function lc(t) {
3144
+ var e = this._name, n = this._id;
3145
+ typeof t != "function" && (t = ze(t));
3146
+ for (var r = this._groups, i = r.length, s = new Array(i), a = 0; a < i; ++a)
3147
+ for (var o = r[a], c = o.length, u = s[a] = new Array(c), f, l, h = 0; h < c; ++h)
3148
+ (f = o[h]) && (l = t.call(f, f.__data__, h, o)) && ("__data__" in f && (l.__data__ = f.__data__), u[h] = l, ge(u[h], e, n, h, u, F(f, n)));
3149
+ return new q(s, this._parents, e, n);
3150
+ }
3151
+ function hc(t) {
3152
+ var e = this._name, n = this._id;
3153
+ typeof t != "function" && (t = Bn(t));
3154
+ for (var r = this._groups, i = r.length, s = [], a = [], o = 0; o < i; ++o)
3155
+ for (var c = r[o], u = c.length, f, l = 0; l < u; ++l)
3156
+ if (f = c[l]) {
3157
+ for (var h = t.call(f, f.__data__, l, c), p, g = F(f, n), d = 0, y = h.length; d < y; ++d)
3158
+ (p = h[d]) && ge(p, e, n, d, h, g);
3159
+ s.push(h), a.push(f);
3160
+ }
3161
+ return new q(s, a, e, n);
3162
+ }
3163
+ var dc = $t.prototype.constructor;
3164
+ function gc() {
3165
+ return new dc(this._groups, this._parents);
3166
+ }
3167
+ function pc(t, e) {
3168
+ var n, r, i;
3169
+ return function() {
3170
+ var s = ot(this, t), a = (this.style.removeProperty(t), ot(this, t));
3171
+ return s === a ? null : s === n && a === r ? i : i = e(n = s, r = a);
3172
+ };
3173
+ }
3174
+ function zr(t) {
3175
+ return function() {
3176
+ this.style.removeProperty(t);
3177
+ };
3178
+ }
3179
+ function vc(t, e, n) {
3180
+ var r, i = n + "", s;
3181
+ return function() {
3182
+ var a = ot(this, t);
3183
+ return a === i ? null : a === r ? s : s = e(r = a, n);
3184
+ };
3185
+ }
3186
+ function mc(t, e, n) {
3187
+ var r, i, s;
3188
+ return function() {
3189
+ var a = ot(this, t), o = n(this), c = o + "";
3190
+ return o == null && (c = o = (this.style.removeProperty(t), ot(this, t))), a === c ? null : a === r && c === i ? s : (i = c, s = e(r = a, o));
3191
+ };
3192
+ }
3193
+ function yc(t, e) {
3194
+ var n, r, i, s = "style." + e, a = "end." + s, o;
3195
+ return function() {
3196
+ var c = W(this, t), u = c.on, f = c.value[s] == null ? o || (o = zr(e)) : void 0;
3197
+ (u !== n || i !== f) && (r = (n = u).copy()).on(a, i = f), c.on = r;
3198
+ };
3199
+ }
3200
+ function _c(t, e, n) {
3201
+ var r = (t += "") == "transform" ? No : Mr;
3202
+ return e == null ? this.styleTween(t, pc(t, r)).on("end.style." + t, zr(t)) : typeof e == "function" ? this.styleTween(t, mc(t, r, Ge(this, "style." + t, e))).each(yc(this._id, t)) : this.styleTween(t, vc(t, r, e), n).on("end.style." + t, null);
3203
+ }
3204
+ function wc(t, e, n) {
3205
+ return function(r) {
3206
+ this.style.setProperty(t, e.call(this, r), n);
3207
+ };
3208
+ }
3209
+ function xc(t, e, n) {
3210
+ var r, i;
3211
+ function s() {
3212
+ var a = e.apply(this, arguments);
3213
+ return a !== i && (r = (i = a) && wc(t, a, n)), r;
3214
+ }
3215
+ return s._value = e, s;
3216
+ }
3217
+ function bc(t, e, n) {
3218
+ var r = "style." + (t += "");
3219
+ if (arguments.length < 2) return (r = this.tween(r)) && r._value;
3220
+ if (e == null) return this.tween(r, null);
3221
+ if (typeof e != "function") throw new Error();
3222
+ return this.tween(r, xc(t, e, n ?? ""));
3223
+ }
3224
+ function Ac(t) {
3225
+ return function() {
3226
+ this.textContent = t;
3227
+ };
3228
+ }
3229
+ function Sc(t) {
3230
+ return function() {
3231
+ var e = t(this);
3232
+ this.textContent = e ?? "";
3233
+ };
3234
+ }
3235
+ function Tc(t) {
3236
+ return this.tween("text", typeof t == "function" ? Sc(Ge(this, "text", t)) : Ac(t == null ? "" : t + ""));
3237
+ }
3238
+ function Ec(t) {
3239
+ return function(e) {
3240
+ this.textContent = t.call(this, e);
3241
+ };
3242
+ }
3243
+ function Cc(t) {
3244
+ var e, n;
3245
+ function r() {
3246
+ var i = t.apply(this, arguments);
3247
+ return i !== n && (e = (n = i) && Ec(i)), e;
3248
+ }
3249
+ return r._value = t, r;
3250
+ }
3251
+ function $c(t) {
3252
+ var e = "text";
3253
+ if (arguments.length < 1) return (e = this.tween(e)) && e._value;
3254
+ if (t == null) return this.tween(e, null);
3255
+ if (typeof t != "function") throw new Error();
3256
+ return this.tween(e, Cc(t));
3257
+ }
3258
+ function Rc() {
3259
+ for (var t = this._name, e = this._id, n = Ir(), r = this._groups, i = r.length, s = 0; s < i; ++s)
3260
+ for (var a = r[s], o = a.length, c, u = 0; u < o; ++u)
3261
+ if (c = a[u]) {
3262
+ var f = F(c, e);
3263
+ ge(c, t, n, u, a, {
3264
+ time: f.time + f.delay + f.duration,
3265
+ delay: 0,
3266
+ duration: f.duration,
3267
+ ease: f.ease
3268
+ });
3269
+ }
3270
+ return new q(r, this._parents, t, n);
3271
+ }
3272
+ function Oc() {
3273
+ var t, e, n = this, r = n._id, i = n.size();
3274
+ return new Promise(function(s, a) {
3275
+ var o = { value: a }, c = { value: function() {
3276
+ --i === 0 && s();
3277
+ } };
3278
+ n.each(function() {
3279
+ var u = W(this, r), f = u.on;
3280
+ f !== t && (e = (t = f).copy(), e._.cancel.push(o), e._.interrupt.push(o), e._.end.push(c)), u.on = e;
3281
+ }), i === 0 && s();
3282
+ });
3283
+ }
3284
+ var Nc = 0;
3285
+ function q(t, e, n, r) {
3286
+ this._groups = t, this._parents = e, this._name = n, this._id = r;
3287
+ }
3288
+ function Ir() {
3289
+ return ++Nc;
3290
+ }
3291
+ var U = $t.prototype;
3292
+ q.prototype = {
3293
+ constructor: q,
3294
+ select: lc,
3295
+ selectAll: hc,
3296
+ selectChild: U.selectChild,
3297
+ selectChildren: U.selectChildren,
3298
+ filter: ic,
3299
+ merge: sc,
3300
+ selection: gc,
3301
+ transition: Rc,
3302
+ call: U.call,
3303
+ nodes: U.nodes,
3304
+ node: U.node,
3305
+ size: U.size,
3306
+ empty: U.empty,
3307
+ each: U.each,
3308
+ on: cc,
3309
+ attr: Vo,
3310
+ attrTween: Go,
3311
+ style: _c,
3312
+ styleTween: bc,
3313
+ text: Tc,
3314
+ textTween: $c,
3315
+ remove: fc,
3316
+ tween: Io,
3317
+ delay: Ko,
3318
+ duration: jo,
3319
+ ease: ec,
3320
+ easeVarying: rc,
3321
+ end: Oc,
3322
+ [Symbol.iterator]: U[Symbol.iterator]
3323
+ };
3324
+ function kc(t) {
3325
+ return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
3326
+ }
3327
+ var Mc = {
3328
+ time: null,
3329
+ // Set on use.
3330
+ delay: 0,
3331
+ duration: 250,
3332
+ ease: kc
3333
+ };
3334
+ function zc(t, e) {
3335
+ for (var n; !(n = t.__transition) || !(n = n[e]); )
3336
+ if (!(t = t.parentNode))
3337
+ throw new Error(`transition ${e} not found`);
3338
+ return n;
3339
+ }
3340
+ function Ic(t) {
3341
+ var e, n;
3342
+ t instanceof q ? (e = t._id, t = t._name) : (e = Ir(), (n = Mc).time = Ue(), t = t == null ? null : t + "");
3343
+ for (var r = this._groups, i = r.length, s = 0; s < i; ++s)
3344
+ for (var a = r[s], o = a.length, c, u = 0; u < o; ++u)
3345
+ (c = a[u]) && ge(c, t, e, u, a, n || zc(c, e));
3346
+ return new q(r, this._parents, t, e);
3347
+ }
3348
+ $t.prototype.interrupt = yo;
3349
+ $t.prototype.transition = Ic;
3350
+ function fu(t, e, n) {
3351
+ if (t.nodes().forEach((r) => Cr(r)), e) {
3352
+ const r = t.transition().duration(e);
3353
+ return n && r.ease(n), r;
3354
+ } else
3355
+ return t;
3356
+ }
3357
+ class Fr {
3358
+ constructor(e) {
3359
+ this.data = e;
3360
+ }
3361
+ get data() {
3362
+ return this._data;
3363
+ }
3364
+ set data(e) {
3365
+ this._data = e;
3366
+ }
3367
+ }
3368
+ const Fc = {
3369
+ duration: 600,
3370
+ events: {},
3371
+ attributes: {}
3372
+ };
3373
+ class lu {
3374
+ constructor(e = mt.SVG) {
3375
+ var n, r;
3376
+ this.type = mt.SVG, this.datamodel = new Fr(), this.sizing = ct.Fit, this.events = {}, this._defaultConfig = Fc, 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 = tn(this._setUpComponentEvents, 500), this._setCustomAttributesThrottled = tn(this._setCustomAttributes, 500), e === mt.SVG ? this.element = document.createElementNS("http://www.w3.org/2000/svg", "g") : this.element = document.createElement("div"), this.uid = Va(), this.g = be(this.element);
3377
+ const i = (r = (n = this.constructor) === null || n === void 0 ? void 0 : n.selectors) === null || r === void 0 ? void 0 : r.root;
3378
+ i && this.g.attr("class", i);
3379
+ }
3380
+ /** Set the container margin. Called automatically by containers. */
3381
+ setContainerMargin(e) {
3382
+ this._containerMargin = e;
3383
+ }
3384
+ setConfig(e) {
3385
+ this.prevConfig = this.config, this.config = xt(this._defaultConfig, e);
3386
+ }
3387
+ setData(e) {
3388
+ this.datamodel.data = e;
3389
+ }
3390
+ setSize(e, n, r, i) {
3391
+ isFinite(e) && (this._width = e), isFinite(n) && (this._height = n), isFinite(r) && (this._containerWidth = r), isFinite(i) && (this._containerHeight = i);
3392
+ }
3393
+ render(e = this.config.duration) {
3394
+ this._render(e);
3395
+ const n = "animating";
3396
+ e && (this.g.attr(n, ""), this.g.transition(n).duration(e).on("end interrupt", () => {
3397
+ this.g.attr(n, null);
3398
+ })), this._setUpComponentEventsThrottled(), this._setCustomAttributesThrottled();
3399
+ }
3400
+ get bleed() {
3401
+ return { top: 0, bottom: 0, left: 0, right: 0 };
3402
+ }
3403
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
3404
+ _render(e = this.config.duration) {
3405
+ }
3406
+ _setCustomAttributes() {
3407
+ const e = this.config.attributes;
3408
+ Object.keys(e).forEach((n) => {
3409
+ Object.keys(e[n]).forEach((r) => {
3410
+ this.g.selectAll(`.${n}`).attr(r, e[n][r]);
3411
+ });
3412
+ });
3413
+ }
3414
+ _setUpComponentEvents() {
3415
+ this._bindEvents(this.events), this._bindEvents(this.config.events, ".user");
3416
+ }
3417
+ _bindEvents(e = this.events, n = "") {
3418
+ Object.keys(e).forEach((r) => {
3419
+ Object.keys(e[r]).forEach((i) => {
3420
+ const s = this.g.selectAll(`.${r}`);
3421
+ s.on(i + n, (a, o) => {
3422
+ const c = s.nodes(), u = c.indexOf(a.currentTarget), f = e[r][i];
3423
+ return f?.(o, a, u, c);
3424
+ });
3425
+ });
3426
+ });
3427
+ }
3428
+ destroy() {
3429
+ var e;
3430
+ (e = this.g) === null || e === void 0 || e.remove(), this.element = void 0;
3431
+ }
3432
+ isDestroyed() {
3433
+ return !this.element;
3434
+ }
3435
+ }
3436
+ class hu extends Fr {
3437
+ constructor(e) {
3438
+ super(e);
3439
+ }
3440
+ get data() {
3441
+ var e;
3442
+ return (e = this._data) !== null && e !== void 0 ? e : [];
3443
+ }
3444
+ set data(e) {
3445
+ Array.isArray(e) && (this._data = e);
3446
+ }
3447
+ }
3448
+ function du(t, e, n, r) {
3449
+ return Array.isArray(e) && isFinite(n) ? e[n % e.length] : Os(t, e, n) || (Fe(n) ? `var(${X(n)})` : null);
3450
+ }
3451
+ var at;
3452
+ (function(t) {
3453
+ t.Start = "start", t.Middle = "middle", t.End = "end";
3454
+ })(at || (at = {}));
3455
+ var wt;
3456
+ (function(t) {
3457
+ t.Top = "top", t.Middle = "middle", t.Bottom = "bottom";
3458
+ })(wt || (wt = {}));
3459
+ var Fn;
3460
+ (function(t) {
3461
+ t.Wrap = "wrap", t.Trim = "trim";
3462
+ })(Fn || (Fn = {}));
3463
+ var K;
3464
+ (function(t) {
3465
+ t.Left = "left", t.Center = "center", t.Right = "right";
3466
+ })(K || (K = {}));
3467
+ function Dc(t) {
3468
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3469
+ }
3470
+ var Xt = { exports: {} }, Lc = Xt.exports, Dn;
3471
+ function Bc() {
3472
+ return Dn || (Dn = 1, (function(t) {
3473
+ (function(e) {
3474
+ if (typeof n != "function") {
3475
+ var n = function(g) {
3476
+ return g;
3477
+ };
3478
+ n.nonNative = !0;
3479
+ }
3480
+ const r = n("plaintext"), i = n("html"), s = n("comment"), a = /<(\w*)>/g, o = /<\/?([^\s\/>]+)/;
3481
+ function c(g, d, y) {
3482
+ g = g || "", d = d || [], y = y || "";
3483
+ let m = f(d, y);
3484
+ return l(g, m);
3485
+ }
3486
+ function u(g, d) {
3487
+ g = g || [], d = d || "";
3488
+ let y = f(g, d);
3489
+ return function(v) {
3490
+ return l(v || "", y);
3491
+ };
3492
+ }
3493
+ c.init_streaming_mode = u;
3494
+ function f(g, d) {
3495
+ return g = h(g), {
3496
+ allowable_tags: g,
3497
+ tag_replacement: d,
3498
+ state: r,
3499
+ tag_buffer: "",
3500
+ depth: 0,
3501
+ in_quote_char: ""
3502
+ };
3503
+ }
3504
+ function l(g, d) {
3505
+ if (typeof g != "string")
3506
+ throw new TypeError("'html' parameter must be a string");
3507
+ let y = d.allowable_tags, m = d.tag_replacement, v = d.state, _ = d.tag_buffer, T = d.depth, w = d.in_quote_char, b = "";
3508
+ for (let x = 0, D = g.length; x < D; x++) {
3509
+ let C = g[x];
3510
+ if (v === r)
3511
+ C === "<" ? (v = i, _ += C) : b += C;
3512
+ else if (v === i)
3513
+ switch (C) {
3514
+ case "<":
3515
+ if (w)
3516
+ break;
3517
+ T++;
3518
+ break;
3519
+ case ">":
3520
+ if (w)
3521
+ break;
3522
+ if (T) {
3523
+ T--;
3524
+ break;
3525
+ }
3526
+ w = "", v = r, _ += ">", y.has(p(_)) ? b += _ : b += m, _ = "";
3527
+ break;
3528
+ case '"':
3529
+ case "'":
3530
+ C === w ? w = "" : w = w || C, _ += C;
3531
+ break;
3532
+ case "-":
3533
+ _ === "<!-" && (v = s), _ += C;
3534
+ break;
3535
+ case " ":
3536
+ case `
3537
+ `:
3538
+ if (_ === "<") {
3539
+ v = r, b += "< ", _ = "";
3540
+ break;
3541
+ }
3542
+ _ += C;
3543
+ break;
3544
+ default:
3545
+ _ += C;
3546
+ break;
3547
+ }
3548
+ else v === s && (C === ">" ? (_.slice(-2) == "--" && (v = r), _ = "") : _ += C);
3549
+ }
3550
+ return d.state = v, d.tag_buffer = _, d.depth = T, d.in_quote_char = w, b;
3551
+ }
3552
+ function h(g) {
3553
+ let d = /* @__PURE__ */ new Set();
3554
+ if (typeof g == "string") {
3555
+ let y;
3556
+ for (; y = a.exec(g); )
3557
+ d.add(y[1]);
3558
+ } else !n.nonNative && typeof g[n.iterator] == "function" ? d = new Set(g) : typeof g.forEach == "function" && g.forEach(d.add, d);
3559
+ return d;
3560
+ }
3561
+ function p(g) {
3562
+ let d = o.exec(g);
3563
+ return d ? d[1].toLowerCase() : null;
3564
+ }
3565
+ t.exports ? t.exports = c : e.striptags = c;
3566
+ })(Lc);
3567
+ })(Xt)), Xt.exports;
3568
+ }
3569
+ var Hc = Bc();
3570
+ const Pc = /* @__PURE__ */ Dc(Hc);
3571
+ function Vc(t) {
3572
+ switch (t) {
3573
+ case K.Center:
3574
+ return "middle";
3575
+ case K.Right:
3576
+ return "end";
3577
+ case K.Left:
3578
+ default:
3579
+ return "start";
3580
+ }
3581
+ }
3582
+ const gu = (t) => {
3583
+ switch (t) {
3584
+ case K.Left:
3585
+ return "start";
3586
+ case K.Right:
3587
+ return "end";
3588
+ case K.Center:
3589
+ return "middle";
3590
+ default:
3591
+ return null;
3592
+ }
3593
+ };
3594
+ function pu(t) {
3595
+ return t.replace(/-([a-z])/g, (e, n) => n.toUpperCase());
3596
+ }
3597
+ function Wc(t) {
3598
+ var e;
3599
+ 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("-");
3600
+ }
3601
+ function Uc(t) {
3602
+ 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");
3603
+ }
3604
+ function qc(t, e = 15) {
3605
+ return t ? t.length > e ? `…${t.substr(t.length - e, e)}` : t : "";
3606
+ }
3607
+ function Xc(t, e = 15) {
3608
+ if (!t)
3609
+ return "";
3610
+ const n = Math.floor((e - 3) / 2);
3611
+ return t.length > e ? `${t.substr(0, n)}…${t.substr(-n, n)}` : t;
3612
+ }
3613
+ function Gc(t, e = 15) {
3614
+ return t ? t.length > e ? `${t.substr(0, e)}…` : t : "";
3615
+ }
3616
+ function Yc(t, e = 15, n = at.Middle) {
3617
+ if (!t)
3618
+ return "";
3619
+ let r = Gc(t, e);
3620
+ return n === at.Start ? r = qc(t, e) : n === at.Middle && (r = Xc(t, e)), r;
3621
+ }
3622
+ function Dr(t, e = [" "]) {
3623
+ let n = [t];
3624
+ for (let r = 0; r < e.length; r++) {
3625
+ const i = e[r];
3626
+ n.forEach((s, a) => {
3627
+ const o = s.split(i), c = o.map((u, f) => `${u}${f === o.length - 1 ? "" : i}`);
3628
+ n[a] = c;
3629
+ }), n = Rs(n);
3630
+ }
3631
+ return n;
3632
+ }
3633
+ function vu(t, e, n = [" ", "-", ".", ","]) {
3634
+ const r = t.text();
3635
+ if (!r)
3636
+ return;
3637
+ const i = De(n) ? n : [n], s = Dr(r, i), a = parseFloat(t.attr("x")) || 0;
3638
+ t.text("");
3639
+ let o = t.append("tspan").attr("x", a), c = `${s[0]}`;
3640
+ o.text(c), s.forEach((u, f) => {
3641
+ if (f === 0)
3642
+ return;
3643
+ const l = `${c}${u}`;
3644
+ o.text(l), o.node().getComputedTextLength() > e ? (o.text(c.trim()), o = t.append("tspan").attr("x", a).attr("dy", "1.2em").text(u), c = u) : c += u;
3645
+ });
3646
+ }
3647
+ function mu(t, e, n, r, i, s) {
3648
+ var a;
3649
+ e === void 0 && (e = 50), n === void 0 && (n = at.Middle), i === void 0 && (i = +((a = window.getComputedStyle(t.node())) === null || a === void 0 ? void 0 : a.fontSize) || 0), s === void 0 && (s = xr());
3650
+ const o = t.text() || "", c = o.length, u = i * c * s, l = Math.ceil(c * e / (1.1 * u));
3651
+ return l < c ? (t.text(Yc(o, l, n)), !0) : !1;
3652
+ }
3653
+ function Gt(t, e, n = xr()) {
3654
+ return t.length * e * n || 0;
3655
+ }
3656
+ function Yt(t, e, n) {
3657
+ const r = "http://www.w3.org/2000/svg", i = document.createElementNS(r, "svg"), s = document.createElementNS(r, "text");
3658
+ s.textContent = t, s.setAttribute("font-size", `${n}`), s.setAttribute("font-family", e), i.appendChild(s), document.body.appendChild(i);
3659
+ const a = s.getComputedTextLength();
3660
+ return document.body.removeChild(i), a;
3661
+ }
3662
+ function Zc(t, e = void 0, n = !0, r = _r, i = !1) {
3663
+ var s, a, o;
3664
+ const c = `${t.text}`;
3665
+ if (!c)
3666
+ return [];
3667
+ const u = (s = t.fontSize) !== null && s !== void 0 ? s : _t.fontSize, f = (a = t.fontFamily) !== null && a !== void 0 ? a : _t.fontFamily, l = (o = t.fontWidthToHeightRatio) !== null && o !== void 0 ? o : _t.fontWidthToHeightRatio, h = Array.isArray(r) ? r : [r];
3668
+ return c.split(`
3669
+ `).map((g) => {
3670
+ const d = [];
3671
+ if (!e)
3672
+ return [g];
3673
+ const y = Dr(g, h);
3674
+ let m = "";
3675
+ for (let v = 0; v < y.length; v += 1) {
3676
+ (n ? Gt(m + y[v], u, l) : Yt(m + y[v], f, u)) < e || v === 0 ? m += y[v] : (d.push(m.trim()), m = y[v]);
3677
+ const T = 2;
3678
+ if (i)
3679
+ for (; m.trim().length > T && (n ? Gt(m, u, l) : Yt(m, f, u)) > e; ) {
3680
+ let b = m.trim().length - T;
3681
+ for (; b > 0; ) {
3682
+ const x = `${m.substring(0, b)}${wr}`;
3683
+ if ((n ? Gt(x, u, l) : Yt(x, f, u)) <= e || b === 1) {
3684
+ d.push(x.trim()), m = m.substring(b);
3685
+ break;
3686
+ }
3687
+ b--;
3688
+ }
3689
+ }
3690
+ }
3691
+ return m && d.push(m.trim()), d;
3692
+ }).flat();
3693
+ }
3694
+ function Kc(t, e = void 0, n = void 0, r = !0, i = _r, s = !1) {
3695
+ const a = Array.isArray(t) ? t.map((l) => xt(_t, l)) : [xt(_t, t)], o = a.map((l) => Zc(l, e, r, i, s)), c = a[0];
3696
+ let u = -c.fontSize * (c.lineHeight - 1);
3697
+ const f = [];
3698
+ return a.forEach((l, h) => {
3699
+ var p;
3700
+ let g = o[h];
3701
+ const d = h > 0 ? f[h - 1] : void 0, y = d ? d.marginBottom : 0, m = l.marginTop, v = Math.max(y, m);
3702
+ u += v;
3703
+ const _ = l.fontSize * l.lineHeight;
3704
+ let T = 0;
3705
+ for (let w = 0; w < g.length; w += 1) {
3706
+ let b = g[w];
3707
+ u += _;
3708
+ const x = `${b} …`, D = r ? Gt(x, l.fontSize, l.fontWidthToHeightRatio) : Yt(x, l.fontFamily, l.fontSize);
3709
+ if (T = Math.max(D, T), n && u + _ > n && w !== g.length - 1) {
3710
+ b.charAt(b.length - 1) === wr && (b = b.substr(0, g[w].length - 1)), D < e ? g[w] = x : g[w] = `${g[w].substr(0, g[w].length - 2)}…`, g = g.slice(0, w + 1);
3711
+ break;
3712
+ }
3713
+ }
3714
+ f.push(Object.assign(Object.assign({}, l), { _lines: g, _estimatedHeight: u - (d?._estimatedHeight || 0), _maxWidth: Math.max(T, (p = d?._maxWidth) !== null && p !== void 0 ? p : 0) }));
3715
+ }), f;
3716
+ }
3717
+ function Jc(t, e = 0, n, r) {
3718
+ return t.map((i, s) => {
3719
+ const a = s > 0 ? t[s - 1] : void 0, o = a ? a.marginBottom / a.fontSize : 0, c = i.marginTop / i.fontSize, u = Math.max(o, c), f = {
3720
+ fontSize: i.fontSize,
3721
+ fontFamily: i.fontFamily,
3722
+ fontWeight: i.fontWeight,
3723
+ fill: i.color,
3724
+ y: s === 0 && n
3725
+ };
3726
+ return `<tspan xmlns="http://www.w3.org/2000/svg" ${Object.entries(f).filter(([h, p]) => p).map(([h, p]) => `${Wc(h)}="${Uc(p.toString())}"`).join(" ")}>${i._lines.map((h, p) => {
3727
+ let g;
3728
+ 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>`;
3729
+ }).join("")}</tspan>`;
3730
+ });
3731
+ }
3732
+ function Qc(t) {
3733
+ return Es(t, (e) => e._estimatedHeight);
3734
+ }
3735
+ const jc = ["text", "tspan", "textPath", "altGlyph", "altGlyphDef", "altGlyphItem", "glyphRef", "textRef", "textArea"];
3736
+ function yu(t, e, n, r) {
3737
+ var i, s;
3738
+ const a = Kc(e, n.width, void 0, n.fastMode, n.separator, n.wordBreak), o = (i = n.x) !== null && i !== void 0 ? i : +t.getAttribute("x"), c = (s = n.y) !== null && s !== void 0 ? s : +t.getAttribute("y"), u = o ?? 0;
3739
+ let f = c ?? 0;
3740
+ if (n.textAlign && t.setAttribute("text-anchor", Vc(n.textAlign)), n.verticalAlign && n.verticalAlign !== wt.Top) {
3741
+ const h = Qc(a), p = n.verticalAlign === wt.Middle ? -h / 2 : n.verticalAlign === wt.Bottom ? -h : 0;
3742
+ f += p;
3743
+ }
3744
+ n.textRotationAngle ? t.setAttribute("transform", `rotate(${n.textRotationAngle === 0 || n.textRotationAngle ? n.textRotationAngle : 0} ${u} ${f})`) : t.removeAttribute("transform");
3745
+ const l = new DOMParser();
3746
+ t.textContent = "", a.forEach((h) => {
3747
+ const p = Jc([h], u, f, r).join(""), g = Pc(p, jc), d = l.parseFromString(g, "image/svg+xml").firstChild;
3748
+ t.appendChild(d);
3749
+ });
3750
+ }
3751
+ const _u = /* @__PURE__ */ Symbol("componentAccessorKey"), wu = /* @__PURE__ */ Symbol("tooltipAccessorKey"), xu = /* @__PURE__ */ Symbol("crosshairAccessorKey"), bu = /* @__PURE__ */ Symbol("axisAccessorKey"), Au = /* @__PURE__ */ Symbol("annotationsAccessorKey");
3752
+ function Su(t, e) {
3753
+ return Jt(t, e);
3754
+ }
3755
+ function Tu(t) {
3756
+ const e = Hr(), n = e.attrs;
3757
+ return Pr(() => {
3758
+ const r = {}, i = e?.vnode.props ?? {};
3759
+ return Object.keys(i).forEach((s) => {
3760
+ r[Ze(s)] = t[Ze(s)];
3761
+ }), { ...r, ...n };
3762
+ });
3763
+ }
3764
+ (function() {
3765
+ try {
3766
+ if (typeof document < "u") {
3767
+ var t = document.createElement("style");
3768
+ 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);
3769
+ }
3770
+ } catch (e) {
3771
+ console.error("vite-plugin-css-injected-by-js", e);
3772
+ }
3773
+ })();
3774
+ export {
3775
+ jn as $,
3776
+ xr as A,
3777
+ mu as B,
3778
+ ea as C,
3779
+ yu as D,
3780
+ uu as E,
3781
+ Fn as F,
3782
+ vu as G,
3783
+ gu as H,
3784
+ K as I,
3785
+ Fe as J,
3786
+ nn as K,
3787
+ Y as L,
3788
+ I as M,
3789
+ Qn as N,
3790
+ iu as O,
3791
+ du as P,
3792
+ Tu as Q,
3793
+ _u as R,
3794
+ hu as S,
3795
+ at as T,
3796
+ bu as U,
3797
+ wt as V,
3798
+ xu as W,
3799
+ wu as X,
3800
+ Au as Y,
3801
+ Su as Z,
3802
+ Os as _,
3803
+ H as a,
3804
+ su as a0,
3805
+ ru as a1,
3806
+ ct as a2,
3807
+ Qe as a3,
3808
+ Je as a4,
3809
+ eu as a5,
3810
+ Ns as a6,
3811
+ ks as a7,
3812
+ As as b,
3813
+ Lt as c,
3814
+ Kn as d,
3815
+ jt as e,
3816
+ Fr as f,
3817
+ Va as g,
3818
+ cu as h,
3819
+ Or as i,
3820
+ en as j,
3821
+ Jt as k,
3822
+ nu as l,
3823
+ Rs as m,
3824
+ bs as n,
3825
+ Fc as o,
3826
+ lu as p,
3827
+ au as q,
3828
+ ou as r,
3829
+ De as s,
3830
+ Pa as t,
3831
+ tn as u,
3832
+ be as v,
3833
+ xt as w,
3834
+ pu as x,
3835
+ fu as y,
3836
+ Cr as z
3837
+ };