@oneclick.dev/cms-core-modules 0.0.71 → 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
@@ -1,26 +1,26 @@
1
- function B(e, t) {
1
+ function U(e, t) {
2
2
  return e - t * Math.floor(e / t);
3
3
  }
4
- const X = 1721426;
5
- function E(e, t, r, n) {
6
- t = q(e, t);
4
+ const te = 1721426;
5
+ function C(e, t, r, n) {
6
+ t = J(e, t);
7
7
  let a = t - 1, o = -2;
8
- return r <= 2 ? o = 0 : T(t) && (o = -1), X - 1 + 365 * a + Math.floor(a / 4) - Math.floor(a / 100) + Math.floor(a / 400) + Math.floor((367 * r - 362) / 12 + o + n);
8
+ return r <= 2 ? o = 0 : R(t) && (o = -1), te - 1 + 365 * a + Math.floor(a / 4) - Math.floor(a / 100) + Math.floor(a / 400) + Math.floor((367 * r - 362) / 12 + o + n);
9
9
  }
10
- function T(e) {
10
+ function R(e) {
11
11
  return e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0);
12
12
  }
13
- function q(e, t) {
13
+ function J(e, t) {
14
14
  return e === "BC" ? 1 - t : t;
15
15
  }
16
- function me(e) {
16
+ function Me(e) {
17
17
  let t = "AD";
18
18
  return e <= 0 && (t = "BC", e = 1 - e), [
19
19
  t,
20
20
  e
21
21
  ];
22
22
  }
23
- const be = {
23
+ const pe = {
24
24
  standard: [
25
25
  31,
26
26
  28,
@@ -50,25 +50,25 @@ const be = {
50
50
  31
51
51
  ]
52
52
  };
53
- class g {
53
+ class w {
54
54
  fromJulianDay(t) {
55
- let r = t, n = r - X, a = Math.floor(n / 146097), o = B(n, 146097), c = Math.floor(o / 36524), i = B(o, 36524), l = Math.floor(i / 1461), h = B(i, 1461), p = Math.floor(h / 365), M = a * 400 + c * 100 + l * 4 + p + (c !== 4 && p !== 4 ? 1 : 0), [w, m] = me(M), y = r - E(w, m, 1, 1), A = 2;
56
- r < E(w, m, 3, 1) ? A = 0 : T(m) && (A = 1);
57
- let z = Math.floor(((y + A) * 12 + 373) / 367), ye = r - E(w, m, z, 1) + 1;
58
- return new x(w, m, z, ye);
55
+ let r = t, n = r - te, a = Math.floor(n / 146097), o = U(n, 146097), i = Math.floor(o / 36524), c = U(o, 36524), s = Math.floor(c / 1461), h = U(c, 1461), M = Math.floor(h / 365), p = a * 400 + i * 100 + s * 4 + M + (i !== 4 && M !== 4 ? 1 : 0), [g, m] = Me(p), y = r - C(g, m, 1, 1), T = 2;
56
+ r < C(g, m, 3, 1) ? T = 0 : R(m) && (T = 1);
57
+ let G = Math.floor(((y + T) * 12 + 373) / 367), be = r - C(g, m, G, 1) + 1;
58
+ return new I(g, m, G, be);
59
59
  }
60
60
  toJulianDay(t) {
61
- return E(t.era, t.year, t.month, t.day);
61
+ return C(t.era, t.year, t.month, t.day);
62
62
  }
63
63
  getDaysInMonth(t) {
64
- return be[T(t.year) ? "leapyear" : "standard"][t.month - 1];
64
+ return pe[R(t.year) ? "leapyear" : "standard"][t.month - 1];
65
65
  }
66
66
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
67
67
  getMonthsInYear(t) {
68
68
  return 12;
69
69
  }
70
70
  getDaysInYear(t) {
71
- return T(t.year) ? 366 : 365;
71
+ return R(t.year) ? 366 : 365;
72
72
  }
73
73
  getMaximumMonthsInYear() {
74
74
  return 12;
@@ -96,26 +96,123 @@ class g {
96
96
  this.identifier = "gregory";
97
97
  }
98
98
  }
99
- function ee(e, t) {
100
- return t = s(t, e.calendar), e.era === t.era && e.year === t.year && e.month === t.month && e.day === t.day;
99
+ const ge = {
100
+ "001": 1,
101
+ AD: 1,
102
+ AE: 6,
103
+ AF: 6,
104
+ AI: 1,
105
+ AL: 1,
106
+ AM: 1,
107
+ AN: 1,
108
+ AR: 1,
109
+ AT: 1,
110
+ AU: 1,
111
+ AX: 1,
112
+ AZ: 1,
113
+ BA: 1,
114
+ BE: 1,
115
+ BG: 1,
116
+ BH: 6,
117
+ BM: 1,
118
+ BN: 1,
119
+ BY: 1,
120
+ CH: 1,
121
+ CL: 1,
122
+ CM: 1,
123
+ CN: 1,
124
+ CR: 1,
125
+ CY: 1,
126
+ CZ: 1,
127
+ DE: 1,
128
+ DJ: 6,
129
+ DK: 1,
130
+ DZ: 6,
131
+ EC: 1,
132
+ EE: 1,
133
+ EG: 6,
134
+ ES: 1,
135
+ FI: 1,
136
+ FJ: 1,
137
+ FO: 1,
138
+ FR: 1,
139
+ GB: 1,
140
+ GE: 1,
141
+ GF: 1,
142
+ GP: 1,
143
+ GR: 1,
144
+ HR: 1,
145
+ HU: 1,
146
+ IE: 1,
147
+ IQ: 6,
148
+ IR: 6,
149
+ IS: 1,
150
+ IT: 1,
151
+ JO: 6,
152
+ KG: 1,
153
+ KW: 6,
154
+ KZ: 1,
155
+ LB: 1,
156
+ LI: 1,
157
+ LK: 1,
158
+ LT: 1,
159
+ LU: 1,
160
+ LV: 1,
161
+ LY: 6,
162
+ MC: 1,
163
+ MD: 1,
164
+ ME: 1,
165
+ MK: 1,
166
+ MN: 1,
167
+ MQ: 1,
168
+ MV: 5,
169
+ MY: 1,
170
+ NL: 1,
171
+ NO: 1,
172
+ NZ: 1,
173
+ OM: 6,
174
+ PL: 1,
175
+ QA: 6,
176
+ RE: 1,
177
+ RO: 1,
178
+ RS: 1,
179
+ RU: 1,
180
+ SD: 6,
181
+ SE: 1,
182
+ SI: 1,
183
+ SK: 1,
184
+ SM: 1,
185
+ SY: 6,
186
+ TJ: 1,
187
+ TM: 1,
188
+ TR: 1,
189
+ UA: 1,
190
+ UY: 1,
191
+ UZ: 1,
192
+ VA: 1,
193
+ VN: 1,
194
+ XK: 1
195
+ };
196
+ function re(e, t) {
197
+ return t = l(t, e.calendar), e.era === t.era && e.year === t.year && e.month === t.month && e.day === t.day;
101
198
  }
102
- function pe(e, t) {
103
- return t = s(t, e.calendar), e = K(e), t = K(t), e.era === t.era && e.year === t.year && e.month === t.month;
199
+ function we(e, t) {
200
+ return t = l(t, e.calendar), e = z(e), t = z(t), e.era === t.era && e.year === t.year && e.month === t.month;
104
201
  }
105
- function Le(e, t) {
106
- return _(e.calendar, t.calendar) && ee(e, t);
202
+ function et(e, t) {
203
+ return j(e.calendar, t.calendar) && re(e, t);
107
204
  }
108
- function Ke(e, t) {
109
- return _(e.calendar, t.calendar) && pe(e, t);
205
+ function tt(e, t) {
206
+ return j(e.calendar, t.calendar) && we(e, t);
110
207
  }
111
- function _(e, t) {
208
+ function j(e, t) {
112
209
  var r, n, a, o;
113
210
  return (o = (a = (r = e.isEqual) === null || r === void 0 ? void 0 : r.call(e, t)) !== null && a !== void 0 ? a : (n = t.isEqual) === null || n === void 0 ? void 0 : n.call(t, e)) !== null && o !== void 0 ? o : e.identifier === t.identifier;
114
211
  }
115
- function Ge(e, t) {
116
- return ee(e, ge(t));
212
+ function rt(e, t) {
213
+ return re(e, Ie(t));
117
214
  }
118
- const Me = {
215
+ const De = {
119
216
  sun: 0,
120
217
  mon: 1,
121
218
  tue: 2,
@@ -124,57 +221,101 @@ const Me = {
124
221
  fri: 5,
125
222
  sat: 6
126
223
  };
127
- function Qe(e, t, r) {
128
- let n = e.calendar.toJulianDay(e), a = Me[r], o = Math.ceil(n + 1 - a) % 7;
224
+ function nt(e, t, r) {
225
+ let n = e.calendar.toJulianDay(e), a = r ? De[r] : Se(t), o = Math.ceil(n + 1 - a) % 7;
129
226
  return o < 0 && (o += 7), o;
130
227
  }
131
- function we(e) {
228
+ function ve(e) {
132
229
  return d(Date.now(), e);
133
230
  }
134
- function ge(e) {
135
- return Ie(we(e));
231
+ function Ie(e) {
232
+ return Re(ve(e));
136
233
  }
137
- function te(e, t) {
234
+ function ne(e, t) {
138
235
  return e.calendar.toJulianDay(e) - t.calendar.toJulianDay(t);
139
236
  }
140
- function ve(e, t) {
141
- return L(e) - L(t);
237
+ function xe(e, t) {
238
+ return _(e) - _(t);
142
239
  }
143
- function L(e) {
240
+ function _(e) {
144
241
  return e.hour * 36e5 + e.minute * 6e4 + e.second * 1e3 + e.millisecond;
145
242
  }
146
- let O = null;
147
- function re() {
148
- return O == null && (O = new Intl.DateTimeFormat().resolvedOptions().timeZone), O;
243
+ let k = null;
244
+ function ae() {
245
+ return k == null && (k = new Intl.DateTimeFormat().resolvedOptions().timeZone), k;
149
246
  }
150
- function K(e) {
247
+ function z(e) {
151
248
  return e.subtract({
152
249
  days: e.day - 1
153
250
  });
154
251
  }
155
- function Xe(e) {
252
+ function at(e) {
156
253
  return e.add({
157
254
  days: e.calendar.getDaysInMonth(e) - e.day
158
255
  });
159
256
  }
160
- function v(e) {
161
- e = s(e, new g());
162
- let t = q(e.era, e.year);
163
- return ne(t, e.month, e.day, e.hour, e.minute, e.second, e.millisecond);
257
+ const Q = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map();
258
+ function Ee(e) {
259
+ if (Intl.Locale) {
260
+ let r = Q.get(e);
261
+ return r || (r = new Intl.Locale(e).maximize().region, r && Q.set(e, r)), r;
262
+ }
263
+ let t = e.split("-")[1];
264
+ return t === "u" ? void 0 : t;
265
+ }
266
+ function Se(e) {
267
+ let t = O.get(e);
268
+ if (!t) {
269
+ if (Intl.Locale) {
270
+ let n = new Intl.Locale(e);
271
+ if ("getWeekInfo" in n && (t = n.getWeekInfo(), t))
272
+ return O.set(e, t), t.firstDay;
273
+ }
274
+ let r = Ee(e);
275
+ if (e.includes("-fw-")) {
276
+ let n = e.split("-fw-")[1].split("-")[0];
277
+ n === "mon" ? t = {
278
+ firstDay: 1
279
+ } : n === "tue" ? t = {
280
+ firstDay: 2
281
+ } : n === "wed" ? t = {
282
+ firstDay: 3
283
+ } : n === "thu" ? t = {
284
+ firstDay: 4
285
+ } : n === "fri" ? t = {
286
+ firstDay: 5
287
+ } : n === "sat" ? t = {
288
+ firstDay: 6
289
+ } : t = {
290
+ firstDay: 0
291
+ };
292
+ } else e.includes("-ca-iso8601") ? t = {
293
+ firstDay: 1
294
+ } : t = {
295
+ firstDay: r && ge[r] || 0
296
+ };
297
+ O.set(e, t);
298
+ }
299
+ return t.firstDay;
300
+ }
301
+ function D(e) {
302
+ e = l(e, new w());
303
+ let t = J(e.era, e.year);
304
+ return oe(t, e.month, e.day, e.hour, e.minute, e.second, e.millisecond);
164
305
  }
165
- function ne(e, t, r, n, a, o, c) {
166
- let i = /* @__PURE__ */ new Date();
167
- return i.setUTCHours(n, a, o, c), i.setUTCFullYear(e, t - 1, r), i.getTime();
306
+ function oe(e, t, r, n, a, o, i) {
307
+ let c = /* @__PURE__ */ new Date();
308
+ return c.setUTCHours(n, a, o, i), c.setUTCFullYear(e, t - 1, r), c.getTime();
168
309
  }
169
- function Z(e, t) {
310
+ function F(e, t) {
170
311
  if (t === "UTC") return 0;
171
- if (e > 0 && t === re()) return new Date(e).getTimezoneOffset() * -6e4;
172
- let { year: r, month: n, day: a, hour: o, minute: c, second: i } = ae(e, t);
173
- return ne(r, n, a, o, c, i, 0) - Math.floor(e / 1e3) * 1e3;
312
+ if (e > 0 && t === ae()) return new Date(e).getTimezoneOffset() * -6e4;
313
+ let { year: r, month: n, day: a, hour: o, minute: i, second: c } = ie(e, t);
314
+ return oe(r, n, a, o, i, c, 0) - Math.floor(e / 1e3) * 1e3;
174
315
  }
175
- const G = /* @__PURE__ */ new Map();
176
- function ae(e, t) {
177
- let r = G.get(t);
316
+ const X = /* @__PURE__ */ new Map();
317
+ function ie(e, t) {
318
+ let r = X.get(t);
178
319
  r || (r = new Intl.DateTimeFormat("en-US", {
179
320
  timeZone: t,
180
321
  hour12: !1,
@@ -185,7 +326,7 @@ function ae(e, t) {
185
326
  hour: "numeric",
186
327
  minute: "numeric",
187
328
  second: "numeric"
188
- }), G.set(t, r));
329
+ }), X.set(t, r));
189
330
  let n = r.formatToParts(new Date(e)), a = {};
190
331
  for (let o of n) o.type !== "literal" && (a[o.type] = o.value);
191
332
  return {
@@ -198,165 +339,165 @@ function ae(e, t) {
198
339
  second: +a.second
199
340
  };
200
341
  }
201
- const Q = 864e5;
202
- function De(e, t, r, n) {
342
+ const ee = 864e5;
343
+ function Ce(e, t, r, n) {
203
344
  return (r === n ? [
204
345
  r
205
346
  ] : [
206
347
  r,
207
348
  n
208
- ]).filter((o) => xe(e, t, o));
349
+ ]).filter((o) => Ae(e, t, o));
209
350
  }
210
- function xe(e, t, r) {
211
- let n = ae(r, t);
351
+ function Ae(e, t, r) {
352
+ let n = ie(r, t);
212
353
  return e.year === n.year && e.month === n.month && e.day === n.day && e.hour === n.hour && e.minute === n.minute && e.second === n.second;
213
354
  }
214
355
  function u(e, t, r = "compatible") {
215
- let n = D(e);
216
- if (t === "UTC") return v(n);
217
- if (t === re() && r === "compatible") {
218
- n = s(n, new g());
219
- let l = /* @__PURE__ */ new Date(), h = q(n.era, n.year);
220
- return l.setFullYear(h, n.month - 1, n.day), l.setHours(n.hour, n.minute, n.second, n.millisecond), l.getTime();
221
- }
222
- let a = v(n), o = Z(a - Q, t), c = Z(a + Q, t), i = De(n, t, a - o, a - c);
223
- if (i.length === 1) return i[0];
224
- if (i.length > 1) switch (r) {
356
+ let n = v(e);
357
+ if (t === "UTC") return D(n);
358
+ if (t === ae() && r === "compatible") {
359
+ n = l(n, new w());
360
+ let s = /* @__PURE__ */ new Date(), h = J(n.era, n.year);
361
+ return s.setFullYear(h, n.month - 1, n.day), s.setHours(n.hour, n.minute, n.second, n.millisecond), s.getTime();
362
+ }
363
+ let a = D(n), o = F(a - ee, t), i = F(a + ee, t), c = Ce(n, t, a - o, a - i);
364
+ if (c.length === 1) return c[0];
365
+ if (c.length > 1) switch (r) {
225
366
  // 'compatible' means 'earlier' for "fall back" transitions
226
367
  case "compatible":
227
368
  case "earlier":
228
- return i[0];
369
+ return c[0];
229
370
  case "later":
230
- return i[i.length - 1];
371
+ return c[c.length - 1];
231
372
  case "reject":
232
373
  throw new RangeError("Multiple possible absolute times found");
233
374
  }
234
375
  switch (r) {
235
376
  case "earlier":
236
- return Math.min(a - o, a - c);
377
+ return Math.min(a - o, a - i);
237
378
  // 'compatible' means 'later' for "spring forward" transitions
238
379
  case "compatible":
239
380
  case "later":
240
- return Math.max(a - o, a - c);
381
+ return Math.max(a - o, a - i);
241
382
  case "reject":
242
383
  throw new RangeError("No such absolute time found");
243
384
  }
244
385
  }
245
- function oe(e, t, r = "compatible") {
386
+ function ce(e, t, r = "compatible") {
246
387
  return new Date(u(e, t, r));
247
388
  }
248
389
  function d(e, t) {
249
- let r = Z(e, t), n = new Date(e + r), a = n.getUTCFullYear(), o = n.getUTCMonth() + 1, c = n.getUTCDate(), i = n.getUTCHours(), l = n.getUTCMinutes(), h = n.getUTCSeconds(), p = n.getUTCMilliseconds();
250
- return new C(a < 1 ? "BC" : "AD", a < 1 ? -a + 1 : a, o, c, t, r, i, l, h, p);
390
+ let r = F(e, t), n = new Date(e + r), a = n.getUTCFullYear(), o = n.getUTCMonth() + 1, i = n.getUTCDate(), c = n.getUTCHours(), s = n.getUTCMinutes(), h = n.getUTCSeconds(), M = n.getUTCMilliseconds();
391
+ return new S(a < 1 ? "BC" : "AD", a < 1 ? -a + 1 : a, o, i, t, r, c, s, h, M);
251
392
  }
252
- function Ie(e) {
253
- return new x(e.calendar, e.era, e.year, e.month, e.day);
393
+ function Re(e) {
394
+ return new I(e.calendar, e.era, e.year, e.month, e.day);
254
395
  }
255
- function D(e, t) {
396
+ function v(e, t) {
256
397
  let r = 0, n = 0, a = 0, o = 0;
257
398
  if ("timeZone" in e) ({ hour: r, minute: n, second: a, millisecond: o } = e);
258
399
  else if ("hour" in e && !t) return e;
259
- return t && ({ hour: r, minute: n, second: a, millisecond: o } = t), new S(e.calendar, e.era, e.year, e.month, e.day, r, n, a, o);
400
+ return t && ({ hour: r, minute: n, second: a, millisecond: o } = t), new E(e.calendar, e.era, e.year, e.month, e.day, r, n, a, o);
260
401
  }
261
- function s(e, t) {
262
- if (_(e.calendar, t)) return e;
402
+ function l(e, t) {
403
+ if (j(e.calendar, t)) return e;
263
404
  let r = t.fromJulianDay(e.calendar.toJulianDay(e)), n = e.copy();
264
405
  return n.calendar = t, n.era = r.era, n.year = r.year, n.month = r.month, n.day = r.day, b(n), n;
265
406
  }
266
- function Se(e, t, r) {
267
- if (e instanceof C)
268
- return e.timeZone === t ? e : Ee(e, t);
407
+ function Ye(e, t, r) {
408
+ if (e instanceof S)
409
+ return e.timeZone === t ? e : Te(e, t);
269
410
  let n = u(e, t, r);
270
411
  return d(n, t);
271
412
  }
272
- function Ce(e) {
273
- let t = v(e) - e.offset;
413
+ function Be(e) {
414
+ let t = D(e) - e.offset;
274
415
  return new Date(t);
275
416
  }
276
- function Ee(e, t) {
277
- let r = v(e) - e.offset;
278
- return s(d(r, t), e.calendar);
417
+ function Te(e, t) {
418
+ let r = D(e) - e.offset;
419
+ return l(d(r, t), e.calendar);
279
420
  }
280
- const I = 36e5;
281
- function U(e, t) {
282
- let r = e.copy(), n = "hour" in r ? Ue(r, t) : 0;
283
- F(r, t.years || 0), r.calendar.balanceYearMonth && r.calendar.balanceYearMonth(r, e), r.month += t.months || 0, j(r), ce(r), r.day += (t.weeks || 0) * 7, r.day += t.days || 0, r.day += n, Ye(r), r.calendar.balanceDate && r.calendar.balanceDate(r), r.year < 1 && (r.year = 1, r.month = 1, r.day = 1);
421
+ const x = 36e5;
422
+ function B(e, t) {
423
+ let r = e.copy(), n = "hour" in r ? Ze(r, t) : 0;
424
+ L(r, t.years || 0), r.calendar.balanceYearMonth && r.calendar.balanceYearMonth(r, e), r.month += t.months || 0, N(r), se(r), r.day += (t.weeks || 0) * 7, r.day += t.days || 0, r.day += n, Ue(r), r.calendar.balanceDate && r.calendar.balanceDate(r), r.year < 1 && (r.year = 1, r.month = 1, r.day = 1);
284
425
  let a = r.calendar.getYearsInEra(r);
285
426
  if (r.year > a) {
286
- var o, c;
287
- let l = (o = (c = r.calendar).isInverseEra) === null || o === void 0 ? void 0 : o.call(c, r);
288
- r.year = a, r.month = l ? 1 : r.calendar.getMonthsInYear(r), r.day = l ? 1 : r.calendar.getDaysInMonth(r);
427
+ var o, i;
428
+ let s = (o = (i = r.calendar).isInverseEra) === null || o === void 0 ? void 0 : o.call(i, r);
429
+ r.year = a, r.month = s ? 1 : r.calendar.getMonthsInYear(r), r.day = s ? 1 : r.calendar.getDaysInMonth(r);
289
430
  }
290
431
  r.month < 1 && (r.month = 1, r.day = 1);
291
- let i = r.calendar.getMonthsInYear(r);
292
- return r.month > i && (r.month = i, r.day = r.calendar.getDaysInMonth(r)), r.day = Math.max(1, Math.min(r.calendar.getDaysInMonth(r), r.day)), r;
432
+ let c = r.calendar.getMonthsInYear(r);
433
+ return r.month > c && (r.month = c, r.day = r.calendar.getDaysInMonth(r)), r.day = Math.max(1, Math.min(r.calendar.getDaysInMonth(r), r.day)), r;
293
434
  }
294
- function F(e, t) {
435
+ function L(e, t) {
295
436
  var r, n;
296
437
  !((r = (n = e.calendar).isInverseEra) === null || r === void 0) && r.call(n, e) && (t = -t), e.year += t;
297
438
  }
298
- function j(e) {
439
+ function N(e) {
299
440
  for (; e.month < 1; )
300
- F(e, -1), e.month += e.calendar.getMonthsInYear(e);
441
+ L(e, -1), e.month += e.calendar.getMonthsInYear(e);
301
442
  let t = 0;
302
443
  for (; e.month > (t = e.calendar.getMonthsInYear(e)); )
303
- e.month -= t, F(e, 1);
444
+ e.month -= t, L(e, 1);
304
445
  }
305
- function Ye(e) {
446
+ function Ue(e) {
306
447
  for (; e.day < 1; )
307
- e.month--, j(e), e.day += e.calendar.getDaysInMonth(e);
448
+ e.month--, N(e), e.day += e.calendar.getDaysInMonth(e);
308
449
  for (; e.day > e.calendar.getDaysInMonth(e); )
309
- e.day -= e.calendar.getDaysInMonth(e), e.month++, j(e);
450
+ e.day -= e.calendar.getDaysInMonth(e), e.month++, N(e);
310
451
  }
311
- function ce(e) {
452
+ function se(e) {
312
453
  e.month = Math.max(1, Math.min(e.calendar.getMonthsInYear(e), e.month)), e.day = Math.max(1, Math.min(e.calendar.getDaysInMonth(e), e.day));
313
454
  }
314
455
  function b(e) {
315
- e.calendar.constrainDate && e.calendar.constrainDate(e), e.year = Math.max(1, Math.min(e.calendar.getYearsInEra(e), e.year)), ce(e);
456
+ e.calendar.constrainDate && e.calendar.constrainDate(e), e.year = Math.max(1, Math.min(e.calendar.getYearsInEra(e), e.year)), se(e);
316
457
  }
317
- function ie(e) {
458
+ function le(e) {
318
459
  let t = {};
319
460
  for (let r in e) typeof e[r] == "number" && (t[r] = -e[r]);
320
461
  return t;
321
462
  }
322
- function le(e, t) {
323
- return U(e, ie(t));
463
+ function fe(e, t) {
464
+ return B(e, le(t));
324
465
  }
325
- function J(e, t) {
466
+ function q(e, t) {
326
467
  let r = e.copy();
327
468
  return t.era != null && (r.era = t.era), t.year != null && (r.year = t.year), t.month != null && (r.month = t.month), t.day != null && (r.day = t.day), b(r), r;
328
469
  }
329
- function k(e, t) {
470
+ function Y(e, t) {
330
471
  let r = e.copy();
331
- return t.hour != null && (r.hour = t.hour), t.minute != null && (r.minute = t.minute), t.second != null && (r.second = t.second), t.millisecond != null && (r.millisecond = t.millisecond), ke(r), r;
472
+ return t.hour != null && (r.hour = t.hour), t.minute != null && (r.minute = t.minute), t.second != null && (r.second = t.second), t.millisecond != null && (r.millisecond = t.millisecond), Oe(r), r;
332
473
  }
333
- function Te(e) {
334
- e.second += Math.floor(e.millisecond / 1e3), e.millisecond = Y(e.millisecond, 1e3), e.minute += Math.floor(e.second / 60), e.second = Y(e.second, 60), e.hour += Math.floor(e.minute / 60), e.minute = Y(e.minute, 60);
474
+ function ke(e) {
475
+ e.second += Math.floor(e.millisecond / 1e3), e.millisecond = A(e.millisecond, 1e3), e.minute += Math.floor(e.second / 60), e.second = A(e.second, 60), e.hour += Math.floor(e.minute / 60), e.minute = A(e.minute, 60);
335
476
  let t = Math.floor(e.hour / 24);
336
- return e.hour = Y(e.hour, 24), t;
477
+ return e.hour = A(e.hour, 24), t;
337
478
  }
338
- function ke(e) {
479
+ function Oe(e) {
339
480
  e.millisecond = Math.max(0, Math.min(e.millisecond, 1e3)), e.second = Math.max(0, Math.min(e.second, 59)), e.minute = Math.max(0, Math.min(e.minute, 59)), e.hour = Math.max(0, Math.min(e.hour, 23));
340
481
  }
341
- function Y(e, t) {
482
+ function A(e, t) {
342
483
  let r = e % t;
343
484
  return r < 0 && (r += t), r;
344
485
  }
345
- function Ue(e, t) {
346
- return e.hour += t.hours || 0, e.minute += t.minutes || 0, e.second += t.seconds || 0, e.millisecond += t.milliseconds || 0, Te(e);
486
+ function Ze(e, t) {
487
+ return e.hour += t.hours || 0, e.minute += t.minutes || 0, e.second += t.seconds || 0, e.millisecond += t.milliseconds || 0, ke(e);
347
488
  }
348
489
  function W(e, t, r, n) {
349
490
  let a = e.copy();
350
491
  switch (t) {
351
492
  case "era": {
352
- let i = e.calendar.getEras(), l = i.indexOf(e.era);
353
- if (l < 0) throw new Error("Invalid era: " + e.era);
354
- l = $(l, r, 0, i.length - 1, n?.round), a.era = i[l], b(a);
493
+ let c = e.calendar.getEras(), s = c.indexOf(e.era);
494
+ if (s < 0) throw new Error("Invalid era: " + e.era);
495
+ s = $(s, r, 0, c.length - 1, n?.round), a.era = c[s], b(a);
355
496
  break;
356
497
  }
357
498
  case "year":
358
- var o, c;
359
- !((o = (c = a.calendar).isInverseEra) === null || o === void 0) && o.call(c, a) && (r = -r), a.year = $(e.year, r, -1 / 0, 9999, n?.round), a.year === -1 / 0 && (a.year = 1), a.calendar.balanceYearMonth && a.calendar.balanceYearMonth(a, e);
499
+ var o, i;
500
+ !((o = (i = a.calendar).isInverseEra) === null || o === void 0) && o.call(i, a) && (r = -r), a.year = $(e.year, r, -1 / 0, 9999, n?.round), a.year === -1 / 0 && (a.year = 1), a.calendar.balanceYearMonth && a.calendar.balanceYearMonth(a, e);
360
501
  break;
361
502
  case "month":
362
503
  a.month = $(e.month, r, 1, e.calendar.getMonthsInYear(e), n?.round);
@@ -369,16 +510,16 @@ function W(e, t, r, n) {
369
510
  }
370
511
  return e.calendar.balanceDate && e.calendar.balanceDate(a), b(a), a;
371
512
  }
372
- function se(e, t, r, n) {
513
+ function he(e, t, r, n) {
373
514
  let a = e.copy();
374
515
  switch (t) {
375
516
  case "hour": {
376
- let o = e.hour, c = 0, i = 23;
517
+ let o = e.hour, i = 0, c = 23;
377
518
  if (n?.hourCycle === 12) {
378
- let l = o >= 12;
379
- c = l ? 12 : 0, i = l ? 23 : 11;
519
+ let s = o >= 12;
520
+ i = s ? 12 : 0, c = s ? 23 : 11;
380
521
  }
381
- a.hour = $(o, r, c, i, n?.round);
522
+ a.hour = $(o, r, i, c, n?.round);
382
523
  break;
383
524
  }
384
525
  case "minute":
@@ -404,10 +545,10 @@ function $(e, t, r, n, a = !1) {
404
545
  e += t, e < r ? e = n - (r - e - 1) : e > n && (e = r + (e - n - 1));
405
546
  return e;
406
547
  }
407
- function fe(e, t) {
548
+ function ue(e, t) {
408
549
  let r;
409
550
  if (t.years != null && t.years !== 0 || t.months != null && t.months !== 0 || t.weeks != null && t.weeks !== 0 || t.days != null && t.days !== 0) {
410
- let a = U(D(e), {
551
+ let a = B(v(e), {
411
552
  years: t.years,
412
553
  months: t.months,
413
554
  weeks: t.weeks,
@@ -415,15 +556,15 @@ function fe(e, t) {
415
556
  });
416
557
  r = u(a, e.timeZone);
417
558
  } else
418
- r = v(e) - e.offset;
559
+ r = D(e) - e.offset;
419
560
  r += t.milliseconds || 0, r += (t.seconds || 0) * 1e3, r += (t.minutes || 0) * 6e4, r += (t.hours || 0) * 36e5;
420
561
  let n = d(r, e.timeZone);
421
- return s(n, e.calendar);
562
+ return l(n, e.calendar);
422
563
  }
423
- function Ae(e, t) {
424
- return fe(e, ie(t));
564
+ function Pe(e, t) {
565
+ return ue(e, le(t));
425
566
  }
426
- function Be(e, t, r, n) {
567
+ function He(e, t, r, n) {
427
568
  switch (t) {
428
569
  case "hour": {
429
570
  let a = 0, o = 23;
@@ -431,53 +572,53 @@ function Be(e, t, r, n) {
431
572
  let y = e.hour >= 12;
432
573
  a = y ? 12 : 0, o = y ? 23 : 11;
433
574
  }
434
- let c = D(e), i = s(k(c, {
575
+ let i = v(e), c = l(Y(i, {
435
576
  hour: a
436
- }), new g()), l = [
437
- u(i, e.timeZone, "earlier"),
438
- u(i, e.timeZone, "later")
439
- ].filter((y) => d(y, e.timeZone).day === i.day)[0], h = s(k(c, {
577
+ }), new w()), s = [
578
+ u(c, e.timeZone, "earlier"),
579
+ u(c, e.timeZone, "later")
580
+ ].filter((y) => d(y, e.timeZone).day === c.day)[0], h = l(Y(i, {
440
581
  hour: o
441
- }), new g()), p = [
582
+ }), new w()), M = [
442
583
  u(h, e.timeZone, "earlier"),
443
584
  u(h, e.timeZone, "later")
444
- ].filter((y) => d(y, e.timeZone).day === h.day).pop(), M = v(e) - e.offset, w = Math.floor(M / I), m = M % I;
445
- return M = $(w, r, Math.floor(l / I), Math.floor(p / I), n?.round) * I + m, s(d(M, e.timeZone), e.calendar);
585
+ ].filter((y) => d(y, e.timeZone).day === h.day).pop(), p = D(e) - e.offset, g = Math.floor(p / x), m = p % x;
586
+ return p = $(g, r, Math.floor(s / x), Math.floor(M / x), n?.round) * x + m, l(d(p, e.timeZone), e.calendar);
446
587
  }
447
588
  case "minute":
448
589
  case "second":
449
590
  case "millisecond":
450
- return se(e, t, r, n);
591
+ return he(e, t, r, n);
451
592
  case "era":
452
593
  case "year":
453
594
  case "month":
454
595
  case "day": {
455
- let a = W(D(e), t, r, n), o = u(a, e.timeZone);
456
- return s(d(o, e.timeZone), e.calendar);
596
+ let a = W(v(e), t, r, n), o = u(a, e.timeZone);
597
+ return l(d(o, e.timeZone), e.calendar);
457
598
  }
458
599
  default:
459
600
  throw new Error("Unsupported field " + t);
460
601
  }
461
602
  }
462
- function Oe(e, t, r) {
463
- let n = D(e), a = k(J(n, t), t);
603
+ function Fe(e, t, r) {
604
+ let n = v(e), a = Y(q(n, t), t);
464
605
  if (a.compare(n) === 0) return e;
465
606
  let o = u(a, e.timeZone, r);
466
- return s(d(o, e.timeZone), e.calendar);
607
+ return l(d(o, e.timeZone), e.calendar);
467
608
  }
468
- const Pe = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/, Re = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/, he = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;
469
- function et(e) {
470
- let t = e.match(Pe);
609
+ const Le = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/, Ne = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/, de = /^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;
610
+ function ot(e) {
611
+ let t = e.match(Le);
471
612
  if (!t)
472
- throw he.test(e) ? new Error(`Invalid ISO 8601 date string: ${e}. Use parseAbsolute() instead.`) : new Error("Invalid ISO 8601 date string: " + e);
473
- let r = new x(f(t[1], 0, 9999), f(t[2], 1, 12), 1);
613
+ throw de.test(e) ? new Error(`Invalid ISO 8601 date string: ${e}. Use parseAbsolute() instead.`) : new Error("Invalid ISO 8601 date string: " + e);
614
+ let r = new I(f(t[1], 0, 9999), f(t[2], 1, 12), 1);
474
615
  return r.day = f(t[3], 1, r.calendar.getDaysInMonth(r)), r;
475
616
  }
476
- function tt(e) {
477
- let t = e.match(Re);
617
+ function it(e) {
618
+ let t = e.match(Ne);
478
619
  if (!t)
479
- throw he.test(e) ? new Error(`Invalid ISO 8601 date time string: ${e}. Use parseAbsolute() instead.`) : new Error("Invalid ISO 8601 date time string: " + e);
480
- let r = f(t[1], -9999, 9999), n = r < 1 ? "BC" : "AD", a = new S(n, r < 1 ? -r + 1 : r, f(t[2], 1, 12), 1, t[4] ? f(t[4], 0, 23) : 0, t[5] ? f(t[5], 0, 59) : 0, t[6] ? f(t[6], 0, 59) : 0, t[7] ? f(t[7], 0, 1 / 0) * 1e3 : 0);
620
+ throw de.test(e) ? new Error(`Invalid ISO 8601 date time string: ${e}. Use parseAbsolute() instead.`) : new Error("Invalid ISO 8601 date time string: " + e);
621
+ let r = f(t[1], -9999, 9999), n = r < 1 ? "BC" : "AD", a = new E(n, r < 1 ? -r + 1 : r, f(t[2], 1, 12), 1, t[4] ? f(t[4], 0, 23) : 0, t[5] ? f(t[5], 0, 59) : 0, t[6] ? f(t[6], 0, 59) : 0, t[7] ? f(t[7], 0, 1 / 0) * 1e3 : 0);
481
622
  return a.day = f(t[3], 0, a.calendar.getDaysInMonth(a)), a;
482
623
  }
483
624
  function f(e, t, r) {
@@ -485,38 +626,38 @@ function f(e, t, r) {
485
626
  if (n < t || n > r) throw new RangeError(`Value out of range: ${t} <= ${n} <= ${r}`);
486
627
  return n;
487
628
  }
488
- function He(e) {
629
+ function Je(e) {
489
630
  return `${String(e.hour).padStart(2, "0")}:${String(e.minute).padStart(2, "0")}:${String(e.second).padStart(2, "0")}${e.millisecond ? String(e.millisecond / 1e3).slice(1) : ""}`;
490
631
  }
491
- function ue(e) {
492
- let t = s(e, new g()), r;
632
+ function $e(e) {
633
+ let t = l(e, new w()), r;
493
634
  return t.era === "BC" ? r = t.year === 1 ? "0000" : "-" + String(Math.abs(1 - t.year)).padStart(6, "00") : r = String(t.year).padStart(4, "0"), `${r}-${String(t.month).padStart(2, "0")}-${String(t.day).padStart(2, "0")}`;
494
635
  }
495
- function de(e) {
496
- return `${ue(e)}T${He(e)}`;
636
+ function ye(e) {
637
+ return `${$e(e)}T${Je(e)}`;
497
638
  }
498
- function Ze(e) {
639
+ function je(e) {
499
640
  let t = Math.sign(e) < 0 ? "-" : "+";
500
641
  e = Math.abs(e);
501
642
  let r = Math.floor(e / 36e5), n = Math.floor(e % 36e5 / 6e4), a = Math.floor(e % 36e5 % 6e4 / 1e3), o = `${t}${String(r).padStart(2, "0")}:${String(n).padStart(2, "0")}`;
502
643
  return a !== 0 && (o += `:${String(a).padStart(2, "0")}`), o;
503
644
  }
504
- function Fe(e) {
505
- return `${de(e)}${Ze(e.offset)}[${e.timeZone}]`;
645
+ function qe(e) {
646
+ return `${ye(e)}${je(e.offset)}[${e.timeZone}]`;
506
647
  }
507
- function je(e, t) {
648
+ function We(e, t) {
508
649
  if (t.has(e))
509
650
  throw new TypeError("Cannot initialize the same private elements twice on an object");
510
651
  }
511
- function N(e, t, r) {
512
- je(e, t), t.set(e, r);
652
+ function K(e, t, r) {
653
+ We(e, t), t.set(e, r);
513
654
  }
514
655
  function V(e) {
515
- let t = typeof e[0] == "object" ? e.shift() : new g(), r;
656
+ let t = typeof e[0] == "object" ? e.shift() : new w(), r;
516
657
  if (typeof e[0] == "string") r = e.shift();
517
658
  else {
518
- let c = t.getEras();
519
- r = c[c.length - 1];
659
+ let i = t.getEras();
660
+ r = i[i.length - 1];
520
661
  }
521
662
  let n = e.shift(), a = e.shift(), o = e.shift();
522
663
  return [
@@ -527,23 +668,23 @@ function V(e) {
527
668
  o
528
669
  ];
529
670
  }
530
- var qe = /* @__PURE__ */ new WeakMap();
531
- class x {
671
+ var Ke = /* @__PURE__ */ new WeakMap();
672
+ class I {
532
673
  /** Returns a copy of this date. */
533
674
  copy() {
534
- return this.era ? new x(this.calendar, this.era, this.year, this.month, this.day) : new x(this.calendar, this.year, this.month, this.day);
675
+ return this.era ? new I(this.calendar, this.era, this.year, this.month, this.day) : new I(this.calendar, this.year, this.month, this.day);
535
676
  }
536
677
  /** Returns a new `CalendarDate` with the given duration added to it. */
537
678
  add(t) {
538
- return U(this, t);
679
+ return B(this, t);
539
680
  }
540
681
  /** Returns a new `CalendarDate` with the given duration subtracted from it. */
541
682
  subtract(t) {
542
- return le(this, t);
683
+ return fe(this, t);
543
684
  }
544
685
  /** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */
545
686
  set(t) {
546
- return J(this, t);
687
+ return q(this, t);
547
688
  }
548
689
  /**
549
690
  * Returns a new `CalendarDate` with the given field adjusted by a specified amount.
@@ -554,42 +695,42 @@ class x {
554
695
  }
555
696
  /** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */
556
697
  toDate(t) {
557
- return oe(this, t);
698
+ return ce(this, t);
558
699
  }
559
700
  /** Converts the date to an ISO 8601 formatted string. */
560
701
  toString() {
561
- return ue(this);
702
+ return $e(this);
562
703
  }
563
704
  /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
564
705
  compare(t) {
565
- return te(this, t);
706
+ return ne(this, t);
566
707
  }
567
708
  constructor(...t) {
568
- N(this, qe, {
709
+ K(this, Ke, {
569
710
  writable: !0,
570
711
  value: void 0
571
712
  });
572
- let [r, n, a, o, c] = V(t);
573
- this.calendar = r, this.era = n, this.year = a, this.month = o, this.day = c, b(this);
713
+ let [r, n, a, o, i] = V(t);
714
+ this.calendar = r, this.era = n, this.year = a, this.month = o, this.day = i, b(this);
574
715
  }
575
716
  }
576
- var _e = /* @__PURE__ */ new WeakMap();
577
- class S {
717
+ var Ve = /* @__PURE__ */ new WeakMap();
718
+ class E {
578
719
  /** Returns a copy of this date. */
579
720
  copy() {
580
- return this.era ? new S(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond) : new S(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
721
+ return this.era ? new E(this.calendar, this.era, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond) : new E(this.calendar, this.year, this.month, this.day, this.hour, this.minute, this.second, this.millisecond);
581
722
  }
582
723
  /** Returns a new `CalendarDateTime` with the given duration added to it. */
583
724
  add(t) {
584
- return U(this, t);
725
+ return B(this, t);
585
726
  }
586
727
  /** Returns a new `CalendarDateTime` with the given duration subtracted from it. */
587
728
  subtract(t) {
588
- return le(this, t);
729
+ return fe(this, t);
589
730
  }
590
731
  /** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
591
732
  set(t) {
592
- return J(k(this, t), t);
733
+ return q(Y(this, t), t);
593
734
  }
594
735
  /**
595
736
  * Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.
@@ -603,63 +744,63 @@ class S {
603
744
  case "day":
604
745
  return W(this, t, r, n);
605
746
  default:
606
- return se(this, t, r, n);
747
+ return he(this, t, r, n);
607
748
  }
608
749
  }
609
750
  /** Converts the date to a native JavaScript Date object in the given time zone. */
610
751
  toDate(t, r) {
611
- return oe(this, t, r);
752
+ return ce(this, t, r);
612
753
  }
613
754
  /** Converts the date to an ISO 8601 formatted string. */
614
755
  toString() {
615
- return de(this);
756
+ return ye(this);
616
757
  }
617
758
  /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
618
759
  compare(t) {
619
- let r = te(this, t);
620
- return r === 0 ? ve(this, D(t)) : r;
760
+ let r = ne(this, t);
761
+ return r === 0 ? xe(this, v(t)) : r;
621
762
  }
622
763
  constructor(...t) {
623
- N(this, _e, {
764
+ K(this, Ve, {
624
765
  writable: !0,
625
766
  value: void 0
626
767
  });
627
- let [r, n, a, o, c] = V(t);
628
- this.calendar = r, this.era = n, this.year = a, this.month = o, this.day = c, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, b(this);
768
+ let [r, n, a, o, i] = V(t);
769
+ this.calendar = r, this.era = n, this.year = a, this.month = o, this.day = i, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, b(this);
629
770
  }
630
771
  }
631
- var Je = /* @__PURE__ */ new WeakMap();
632
- class C {
772
+ var Ge = /* @__PURE__ */ new WeakMap();
773
+ class S {
633
774
  /** Returns a copy of this date. */
634
775
  copy() {
635
- return this.era ? new C(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond) : new C(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
776
+ return this.era ? new S(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond) : new S(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
636
777
  }
637
778
  /** Returns a new `ZonedDateTime` with the given duration added to it. */
638
779
  add(t) {
639
- return fe(this, t);
780
+ return ue(this, t);
640
781
  }
641
782
  /** Returns a new `ZonedDateTime` with the given duration subtracted from it. */
642
783
  subtract(t) {
643
- return Ae(this, t);
784
+ return Pe(this, t);
644
785
  }
645
786
  /** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
646
787
  set(t, r) {
647
- return Oe(this, t, r);
788
+ return Fe(this, t, r);
648
789
  }
649
790
  /**
650
791
  * Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.
651
792
  * When the resulting value reaches the limits of the field, it wraps around.
652
793
  */
653
794
  cycle(t, r, n) {
654
- return Be(this, t, r, n);
795
+ return He(this, t, r, n);
655
796
  }
656
797
  /** Converts the date to a native JavaScript Date object. */
657
798
  toDate() {
658
- return Ce(this);
799
+ return Be(this);
659
800
  }
660
801
  /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
661
802
  toString() {
662
- return Fe(this);
803
+ return qe(this);
663
804
  }
664
805
  /** Converts the date to an ISO 8601 formatted string in UTC. */
665
806
  toAbsoluteString() {
@@ -667,19 +808,19 @@ class C {
667
808
  }
668
809
  /** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
669
810
  compare(t) {
670
- return this.toDate().getTime() - Se(t, this.timeZone).toDate().getTime();
811
+ return this.toDate().getTime() - Ye(t, this.timeZone).toDate().getTime();
671
812
  }
672
813
  constructor(...t) {
673
- N(this, Je, {
814
+ K(this, Ge, {
674
815
  writable: !0,
675
816
  value: void 0
676
817
  });
677
- let [r, n, a, o, c] = V(t), i = t.shift(), l = t.shift();
678
- this.calendar = r, this.era = n, this.year = a, this.month = o, this.day = c, this.timeZone = i, this.offset = l, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, b(this);
818
+ let [r, n, a, o, i] = V(t), c = t.shift(), s = t.shift();
819
+ this.calendar = r, this.era = n, this.year = a, this.month = o, this.day = i, this.timeZone = c, this.offset = s, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, b(this);
679
820
  }
680
821
  }
681
- let P = /* @__PURE__ */ new Map();
682
- class rt {
822
+ let Z = /* @__PURE__ */ new Map();
823
+ class ct {
683
824
  /** Formats a date as a string according to the locale and format options passed to the constructor. */
684
825
  format(t) {
685
826
  return this.formatter.format(t);
@@ -720,50 +861,50 @@ class rt {
720
861
  /** Returns the resolved formatting options based on the values passed to the constructor. */
721
862
  resolvedOptions() {
722
863
  let t = this.formatter.resolvedOptions();
723
- return Ve() && (this.resolvedHourCycle || (this.resolvedHourCycle = ze(t.locale, this.options)), t.hourCycle = this.resolvedHourCycle, t.hour12 = this.resolvedHourCycle === "h11" || this.resolvedHourCycle === "h12"), t.calendar === "ethiopic-amete-alem" && (t.calendar = "ethioaa"), t;
864
+ return Qe() && (this.resolvedHourCycle || (this.resolvedHourCycle = Xe(t.locale, this.options)), t.hourCycle = this.resolvedHourCycle, t.hour12 = this.resolvedHourCycle === "h11" || this.resolvedHourCycle === "h12"), t.calendar === "ethiopic-amete-alem" && (t.calendar = "ethioaa"), t;
724
865
  }
725
866
  constructor(t, r = {}) {
726
- this.formatter = $e(t, r), this.options = r;
867
+ this.formatter = me(t, r), this.options = r;
727
868
  }
728
869
  }
729
- const We = {
870
+ const _e = {
730
871
  true: {
731
872
  // Only Japanese uses the h11 style for 12 hour time. All others use h12.
732
873
  ja: "h11"
733
874
  },
734
875
  false: {}
735
876
  };
736
- function $e(e, t = {}) {
737
- if (typeof t.hour12 == "boolean" && Ne()) {
877
+ function me(e, t = {}) {
878
+ if (typeof t.hour12 == "boolean" && ze()) {
738
879
  t = {
739
880
  ...t
740
881
  };
741
- let a = We[String(t.hour12)][e.split("-")[0]], o = t.hour12 ? "h12" : "h23";
882
+ let a = _e[String(t.hour12)][e.split("-")[0]], o = t.hour12 ? "h12" : "h23";
742
883
  t.hourCycle = a ?? o, delete t.hour12;
743
884
  }
744
885
  let r = e + (t ? Object.entries(t).sort((a, o) => a[0] < o[0] ? -1 : 1).join() : "");
745
- if (P.has(r)) return P.get(r);
886
+ if (Z.has(r)) return Z.get(r);
746
887
  let n = new Intl.DateTimeFormat(e, t);
747
- return P.set(r, n), n;
888
+ return Z.set(r, n), n;
748
889
  }
749
- let R = null;
750
- function Ne() {
751
- return R == null && (R = new Intl.DateTimeFormat("en-US", {
890
+ let P = null;
891
+ function ze() {
892
+ return P == null && (P = new Intl.DateTimeFormat("en-US", {
752
893
  hour: "numeric",
753
894
  hour12: !1
754
- }).format(new Date(2020, 2, 3, 0)) === "24"), R;
895
+ }).format(new Date(2020, 2, 3, 0)) === "24"), P;
755
896
  }
756
897
  let H = null;
757
- function Ve() {
898
+ function Qe() {
758
899
  return H == null && (H = new Intl.DateTimeFormat("fr", {
759
900
  hour: "numeric",
760
901
  hour12: !1
761
902
  }).resolvedOptions().hourCycle === "h12"), H;
762
903
  }
763
- function ze(e, t) {
904
+ function Xe(e, t) {
764
905
  if (!t.timeStyle && !t.hour) return;
765
906
  e = e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/, ""), e += (e.includes("-u-") ? "" : "-u") + "-nu-latn";
766
- let r = $e(e, {
907
+ let r = me(e, {
767
908
  ...t,
768
909
  timeZone: void 0
769
910
  // use local timezone
@@ -775,27 +916,27 @@ function ze(e, t) {
775
916
  throw new Error("Unexpected hour cycle result");
776
917
  }
777
918
  export {
778
- g as $,
779
- x as a,
780
- q as b,
781
- me as c,
782
- B as d,
783
- E as e,
784
- T as f,
785
- re as g,
786
- rt as h,
787
- s as i,
788
- S as j,
789
- C as k,
790
- Qe as l,
791
- K as m,
792
- Xe as n,
793
- ge as o,
794
- Ke as p,
795
- ee as q,
796
- Le as r,
797
- Ge as s,
798
- pe as t,
799
- tt as u,
800
- et as v
919
+ w as $,
920
+ I as a,
921
+ J as b,
922
+ Me as c,
923
+ U as d,
924
+ C as e,
925
+ R as f,
926
+ ae as g,
927
+ ct as h,
928
+ l as i,
929
+ E as j,
930
+ S as k,
931
+ nt as l,
932
+ z as m,
933
+ at as n,
934
+ Ie as o,
935
+ tt as p,
936
+ we as q,
937
+ re as r,
938
+ et as s,
939
+ rt as t,
940
+ it as u,
941
+ ot as v
801
942
  };