@fluid-app/fluid-cli-theme-dev 0.1.59 → 0.1.61

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 (252) hide show
  1. package/README.md +109 -0
  2. package/dist/dist-cli-preview/.vite/manifest.json +1831 -0
  3. package/dist/dist-cli-preview/account-screens.js +1 -0
  4. package/dist/dist-cli-preview/capabilities.json +1 -0
  5. package/dist/dist-cli-preview/chunks/Breadcrumb-CZ-skiUy.js +91 -0
  6. package/dist/dist-cli-preview/chunks/Combobox-BGiCYa56.js +1455 -0
  7. package/dist/dist-cli-preview/chunks/ContactsScreen-vsNgy_gn.js +6930 -0
  8. package/dist/dist-cli-preview/chunks/MemberManagementProviders-DMwkh3JW.js +1509 -0
  9. package/dist/dist-cli-preview/chunks/MessagingScreen-DzJOwPGH.js +38475 -0
  10. package/dist/dist-cli-preview/chunks/MobileActionSheet-DqVPgFKI.js +2895 -0
  11. package/dist/dist-cli-preview/chunks/MySiteScreen-BSmWlCKA.js +4950 -0
  12. package/dist/dist-cli-preview/chunks/OrdersScreen-CVEl9FnN.js +1349 -0
  13. package/dist/dist-cli-preview/chunks/OrdersScreen-d4fJE_dm.js +9 -0
  14. package/dist/dist-cli-preview/chunks/ProfileScreen-BC5gyJDY.js +2581 -0
  15. package/dist/dist-cli-preview/chunks/SubscriptionsScreen-CFM4Pufg.js +38 -0
  16. package/dist/dist-cli-preview/chunks/account-screen-runtime-DxhJm6Qd.js +12407 -0
  17. package/dist/dist-cli-preview/chunks/ar-4OhalXtk.js +628 -0
  18. package/dist/dist-cli-preview/chunks/ar-8iaFSgop.js +189 -0
  19. package/dist/dist-cli-preview/chunks/ar-B7NQmkZ1.js +341 -0
  20. package/dist/dist-cli-preview/chunks/ar-DEUMqcX3.js +563 -0
  21. package/dist/dist-cli-preview/chunks/ar-DT9j-dOi.js +720 -0
  22. package/dist/dist-cli-preview/chunks/ar-D_B30x0o.js +176 -0
  23. package/dist/dist-cli-preview/chunks/arrow-left-UFKI-PQf.js +14 -0
  24. package/dist/dist-cli-preview/chunks/bg-CIgMfa9k.js +176 -0
  25. package/dist/dist-cli-preview/chunks/bg-CS2zt-UV.js +720 -0
  26. package/dist/dist-cli-preview/chunks/bg-CxfL8rZN.js +341 -0
  27. package/dist/dist-cli-preview/chunks/bg-DOdbUYGw.js +563 -0
  28. package/dist/dist-cli-preview/chunks/bg-D_C_HmWn.js +189 -0
  29. package/dist/dist-cli-preview/chunks/bg-DeBjzn9B.js +628 -0
  30. package/dist/dist-cli-preview/chunks/bn-BAGJspTJ.js +563 -0
  31. package/dist/dist-cli-preview/chunks/bn-BgnBXWHo.js +176 -0
  32. package/dist/dist-cli-preview/chunks/bn-CRBwi_3N.js +628 -0
  33. package/dist/dist-cli-preview/chunks/bn-CdhHCK--.js +341 -0
  34. package/dist/dist-cli-preview/chunks/bn-DiqHsF7K.js +720 -0
  35. package/dist/dist-cli-preview/chunks/bn-UEAt87N9.js +189 -0
  36. package/dist/dist-cli-preview/chunks/cli-preview-DunPfnjU.js +151 -0
  37. package/dist/dist-cli-preview/chunks/client.gen-CSTBgfxj.js +672 -0
  38. package/dist/dist-cli-preview/chunks/contacts-CpYlEgAq.js +4 -0
  39. package/dist/dist-cli-preview/chunks/countries-api-adapter-B3usO25w.js +108 -0
  40. package/dist/dist-cli-preview/chunks/create-card-entry-container-DHgsbSyr.js +23942 -0
  41. package/dist/dist-cli-preview/chunks/cs-B8rJsMOS.js +189 -0
  42. package/dist/dist-cli-preview/chunks/cs-ChKaPMtV.js +563 -0
  43. package/dist/dist-cli-preview/chunks/cs-CkdXQxaf.js +720 -0
  44. package/dist/dist-cli-preview/chunks/cs-DTe-xGeI.js +341 -0
  45. package/dist/dist-cli-preview/chunks/cs-DmLSumGB.js +176 -0
  46. package/dist/dist-cli-preview/chunks/cs-jXPm6Nhj.js +628 -0
  47. package/dist/dist-cli-preview/chunks/da-7uI_CROE.js +628 -0
  48. package/dist/dist-cli-preview/chunks/da-B8Cl_vkl.js +341 -0
  49. package/dist/dist-cli-preview/chunks/da-Bee-xQNq.js +563 -0
  50. package/dist/dist-cli-preview/chunks/da-DYlEkykt.js +720 -0
  51. package/dist/dist-cli-preview/chunks/da-EfkyseOR.js +176 -0
  52. package/dist/dist-cli-preview/chunks/da-J--1RxZp.js +189 -0
  53. package/dist/dist-cli-preview/chunks/de-BTNiErdB.js +189 -0
  54. package/dist/dist-cli-preview/chunks/de-CIhZnrdS.js +720 -0
  55. package/dist/dist-cli-preview/chunks/de-CKtChtTF.js +628 -0
  56. package/dist/dist-cli-preview/chunks/de-D8cYy8G-.js +341 -0
  57. package/dist/dist-cli-preview/chunks/de-EARi-xk5.js +176 -0
  58. package/dist/dist-cli-preview/chunks/de-zeOnL7Nl.js +563 -0
  59. package/dist/dist-cli-preview/chunks/el-0NNTwBnJ.js +563 -0
  60. package/dist/dist-cli-preview/chunks/el-BPz4rb5a.js +176 -0
  61. package/dist/dist-cli-preview/chunks/el-Bg6zRbVK.js +720 -0
  62. package/dist/dist-cli-preview/chunks/el-CUjODD23.js +628 -0
  63. package/dist/dist-cli-preview/chunks/el-Chjin2JW.js +341 -0
  64. package/dist/dist-cli-preview/chunks/el-DYay96x-.js +189 -0
  65. package/dist/dist-cli-preview/chunks/es-CFZtv6aF.js +176 -0
  66. package/dist/dist-cli-preview/chunks/es-CGgD1AV1.js +720 -0
  67. package/dist/dist-cli-preview/chunks/es-CXXB8ubn.js +628 -0
  68. package/dist/dist-cli-preview/chunks/es-Cf56ydFZ.js +189 -0
  69. package/dist/dist-cli-preview/chunks/es-DirUtV7k.js +563 -0
  70. package/dist/dist-cli-preview/chunks/es-mp8RwFN4.js +341 -0
  71. package/dist/dist-cli-preview/chunks/fi-91gcpxoy.js +341 -0
  72. package/dist/dist-cli-preview/chunks/fi-BfDoQ1rt.js +628 -0
  73. package/dist/dist-cli-preview/chunks/fi-Bn9_l4IH.js +176 -0
  74. package/dist/dist-cli-preview/chunks/fi-Bo5QdhP_.js +563 -0
  75. package/dist/dist-cli-preview/chunks/fi-CC2YqekN.js +189 -0
  76. package/dist/dist-cli-preview/chunks/fi-DUhIWph7.js +720 -0
  77. package/dist/dist-cli-preview/chunks/fr-BSouGEGN.js +176 -0
  78. package/dist/dist-cli-preview/chunks/fr-BnYsse99.js +563 -0
  79. package/dist/dist-cli-preview/chunks/fr-C32S8PvA.js +720 -0
  80. package/dist/dist-cli-preview/chunks/fr-DIQcYUq-.js +628 -0
  81. package/dist/dist-cli-preview/chunks/fr-Do6AIa1z.js +189 -0
  82. package/dist/dist-cli-preview/chunks/fr-ekvUCKTH.js +341 -0
  83. package/dist/dist-cli-preview/chunks/he-B7QiuquT.js +341 -0
  84. package/dist/dist-cli-preview/chunks/he-BYEZTUry.js +176 -0
  85. package/dist/dist-cli-preview/chunks/he-CO8gUz9X.js +628 -0
  86. package/dist/dist-cli-preview/chunks/he-DaWGyHjM.js +189 -0
  87. package/dist/dist-cli-preview/chunks/he-pFefco4W.js +563 -0
  88. package/dist/dist-cli-preview/chunks/he-xSGbvsti.js +720 -0
  89. package/dist/dist-cli-preview/chunks/hey-api-client-DSvKWGPq.js +153 -0
  90. package/dist/dist-cli-preview/chunks/hi-BLnEaAml.js +176 -0
  91. package/dist/dist-cli-preview/chunks/hi-BMFNssNU.js +720 -0
  92. package/dist/dist-cli-preview/chunks/hi-BXBdXuFm.js +189 -0
  93. package/dist/dist-cli-preview/chunks/hi-DNNhi7ud.js +341 -0
  94. package/dist/dist-cli-preview/chunks/hi-DVSXxEzh.js +628 -0
  95. package/dist/dist-cli-preview/chunks/hi-Uqd1FKtv.js +563 -0
  96. package/dist/dist-cli-preview/chunks/hr-B1T2UY_p.js +176 -0
  97. package/dist/dist-cli-preview/chunks/hr-B432GvmU.js +720 -0
  98. package/dist/dist-cli-preview/chunks/hr-BJR58Xci.js +563 -0
  99. package/dist/dist-cli-preview/chunks/hr-CAwxMKX_.js +341 -0
  100. package/dist/dist-cli-preview/chunks/hr-DBrPFNLx.js +189 -0
  101. package/dist/dist-cli-preview/chunks/hr-yH6ab4ea.js +628 -0
  102. package/dist/dist-cli-preview/chunks/hu-BcC628Ln.js +189 -0
  103. package/dist/dist-cli-preview/chunks/hu-Bv0_YQEn.js +628 -0
  104. package/dist/dist-cli-preview/chunks/hu-D_oQwH4Q.js +341 -0
  105. package/dist/dist-cli-preview/chunks/hu-Q0aE9GvJ.js +720 -0
  106. package/dist/dist-cli-preview/chunks/hu-TNzzMEzp.js +563 -0
  107. package/dist/dist-cli-preview/chunks/hu-cQw9hgLe.js +176 -0
  108. package/dist/dist-cli-preview/chunks/id-Becf5X73.js +720 -0
  109. package/dist/dist-cli-preview/chunks/id-CLvNjXjm.js +189 -0
  110. package/dist/dist-cli-preview/chunks/id-CzSVbo5E.js +628 -0
  111. package/dist/dist-cli-preview/chunks/id-Vudf_d_f.js +563 -0
  112. package/dist/dist-cli-preview/chunks/id-Zd_5csjz.js +176 -0
  113. package/dist/dist-cli-preview/chunks/id-oeAszBoo.js +341 -0
  114. package/dist/dist-cli-preview/chunks/isAfter-BUGgByEf.js +1414 -0
  115. package/dist/dist-cli-preview/chunks/it-BlwQOBaX.js +720 -0
  116. package/dist/dist-cli-preview/chunks/it-C0jghILa.js +563 -0
  117. package/dist/dist-cli-preview/chunks/it-CmxC_FIJ.js +176 -0
  118. package/dist/dist-cli-preview/chunks/it-D5BXSiSl.js +189 -0
  119. package/dist/dist-cli-preview/chunks/it-Dme6GXSG.js +341 -0
  120. package/dist/dist-cli-preview/chunks/it-xT70eFoJ.js +628 -0
  121. package/dist/dist-cli-preview/chunks/ja-BJ7phJBG.js +720 -0
  122. package/dist/dist-cli-preview/chunks/ja-Bc8dA1LN.js +189 -0
  123. package/dist/dist-cli-preview/chunks/ja-BcOunH2q.js +176 -0
  124. package/dist/dist-cli-preview/chunks/ja-CRnvQNCa.js +341 -0
  125. package/dist/dist-cli-preview/chunks/ja-CfYfDP_F.js +563 -0
  126. package/dist/dist-cli-preview/chunks/ja-Dh3z4uJk.js +628 -0
  127. package/dist/dist-cli-preview/chunks/ko-8mk8A3_I.js +341 -0
  128. package/dist/dist-cli-preview/chunks/ko-Bnp-5GAn.js +720 -0
  129. package/dist/dist-cli-preview/chunks/ko-CG_0ufw6.js +176 -0
  130. package/dist/dist-cli-preview/chunks/ko-CJ-8gCc9.js +189 -0
  131. package/dist/dist-cli-preview/chunks/ko-CnpxBQ2W.js +628 -0
  132. package/dist/dist-cli-preview/chunks/ko-CtkKNEZB.js +563 -0
  133. package/dist/dist-cli-preview/chunks/log-out-CBUq5Hd-.js +15 -0
  134. package/dist/dist-cli-preview/chunks/map-pin-DHfjSyoR.js +20 -0
  135. package/dist/dist-cli-preview/chunks/messaging-DkyH4CPP.js +4 -0
  136. package/dist/dist-cli-preview/chunks/mount-account-screen-pc1VISwF.js +11041 -0
  137. package/dist/dist-cli-preview/chunks/ms-BF5gF9D5.js +189 -0
  138. package/dist/dist-cli-preview/chunks/ms-Bs0GvdOw.js +341 -0
  139. package/dist/dist-cli-preview/chunks/ms-CyhqvfOb.js +563 -0
  140. package/dist/dist-cli-preview/chunks/ms-D6Cf3VUm.js +628 -0
  141. package/dist/dist-cli-preview/chunks/ms-DR0U3aeO.js +720 -0
  142. package/dist/dist-cli-preview/chunks/ms-DTN7PIDq.js +176 -0
  143. package/dist/dist-cli-preview/chunks/mysite-wvfITV7T.js +4 -0
  144. package/dist/dist-cli-preview/chunks/nl-C1v8tc97.js +720 -0
  145. package/dist/dist-cli-preview/chunks/nl-C5fWLZkK.js +189 -0
  146. package/dist/dist-cli-preview/chunks/nl-Cgt3zlZ8.js +628 -0
  147. package/dist/dist-cli-preview/chunks/nl-DWtWnOvH.js +563 -0
  148. package/dist/dist-cli-preview/chunks/nl-tsI6lLxl.js +341 -0
  149. package/dist/dist-cli-preview/chunks/nl-x2lc8Ct5.js +176 -0
  150. package/dist/dist-cli-preview/chunks/no-BeVycdYu.js +563 -0
  151. package/dist/dist-cli-preview/chunks/no-DMot6qX0.js +341 -0
  152. package/dist/dist-cli-preview/chunks/no-Dk9D1gjY.js +189 -0
  153. package/dist/dist-cli-preview/chunks/no-R8FScfrK.js +176 -0
  154. package/dist/dist-cli-preview/chunks/no-dhNRqvE4.js +720 -0
  155. package/dist/dist-cli-preview/chunks/no-xVFexdWN.js +628 -0
  156. package/dist/dist-cli-preview/chunks/orders-c13r499A.js +4 -0
  157. package/dist/dist-cli-preview/chunks/pl-BH1bEHfg.js +720 -0
  158. package/dist/dist-cli-preview/chunks/pl-Bl9G1yOR.js +176 -0
  159. package/dist/dist-cli-preview/chunks/pl-Cu0JzUUV.js +563 -0
  160. package/dist/dist-cli-preview/chunks/pl-D7AZQwtK.js +189 -0
  161. package/dist/dist-cli-preview/chunks/pl-Dl0M9JDp.js +628 -0
  162. package/dist/dist-cli-preview/chunks/pl-DmTxONNg.js +341 -0
  163. package/dist/dist-cli-preview/chunks/plus-C-lo0pFM.js +14 -0
  164. package/dist/dist-cli-preview/chunks/profile-CoWo9Sxe.js +4 -0
  165. package/dist/dist-cli-preview/chunks/pt-62Kd-NN1.js +189 -0
  166. package/dist/dist-cli-preview/chunks/pt-BAq7bseT.js +628 -0
  167. package/dist/dist-cli-preview/chunks/pt-DgmwnAV-.js +341 -0
  168. package/dist/dist-cli-preview/chunks/pt-K0EDcWuR.js +720 -0
  169. package/dist/dist-cli-preview/chunks/pt-nD60RpwN.js +176 -0
  170. package/dist/dist-cli-preview/chunks/pt-voHVxH2b.js +563 -0
  171. package/dist/dist-cli-preview/chunks/ro-B4M17oRc.js +341 -0
  172. package/dist/dist-cli-preview/chunks/ro-CFfjUJ1T.js +563 -0
  173. package/dist/dist-cli-preview/chunks/ro-CtL0oK2c.js +628 -0
  174. package/dist/dist-cli-preview/chunks/ro-D6ybG7vp.js +176 -0
  175. package/dist/dist-cli-preview/chunks/ro-DTauvv2V.js +189 -0
  176. package/dist/dist-cli-preview/chunks/ro-DUxhal7c.js +720 -0
  177. package/dist/dist-cli-preview/chunks/ru-45VizwWQ.js +628 -0
  178. package/dist/dist-cli-preview/chunks/ru-BS2gZnbs.js +341 -0
  179. package/dist/dist-cli-preview/chunks/ru-C0oMeuhb.js +176 -0
  180. package/dist/dist-cli-preview/chunks/ru-COxlz18L.js +563 -0
  181. package/dist/dist-cli-preview/chunks/ru-CjEXCUxb.js +720 -0
  182. package/dist/dist-cli-preview/chunks/ru-g5Cz5HSk.js +189 -0
  183. package/dist/dist-cli-preview/chunks/schemas-9_ZwC5nC.js +3977 -0
  184. package/dist/dist-cli-preview/chunks/screen-route-slug-utils-B254xI_J.js +14954 -0
  185. package/dist/dist-cli-preview/chunks/sheet-haptics-context-D2WUiXJm.js +116 -0
  186. package/dist/dist-cli-preview/chunks/sidebar-CMSWZCPS.js +848 -0
  187. package/dist/dist-cli-preview/chunks/sk-BGDxj2sS.js +563 -0
  188. package/dist/dist-cli-preview/chunks/sk-BdDjjHfn.js +341 -0
  189. package/dist/dist-cli-preview/chunks/sk-Bpdt_mn0.js +176 -0
  190. package/dist/dist-cli-preview/chunks/sk-DX2wOf1g.js +628 -0
  191. package/dist/dist-cli-preview/chunks/sk-QbdQWjZy.js +714 -0
  192. package/dist/dist-cli-preview/chunks/sk-YuAeAaeZ.js +189 -0
  193. package/dist/dist-cli-preview/chunks/store-api-context-BIdILNWL.js +16 -0
  194. package/dist/dist-cli-preview/chunks/subscriptions-BHALQrcU.js +4 -0
  195. package/dist/dist-cli-preview/chunks/sv-BlNLvbmj.js +628 -0
  196. package/dist/dist-cli-preview/chunks/sv-CEmTDhJy.js +176 -0
  197. package/dist/dist-cli-preview/chunks/sv-CW7FL5HA.js +341 -0
  198. package/dist/dist-cli-preview/chunks/sv-CiCeNX1x.js +720 -0
  199. package/dist/dist-cli-preview/chunks/sv-DefBhX0c.js +563 -0
  200. package/dist/dist-cli-preview/chunks/sv-iaAh80e4.js +189 -0
  201. package/dist/dist-cli-preview/chunks/th-BNEA6ESz.js +720 -0
  202. package/dist/dist-cli-preview/chunks/th-BYBMKmSh.js +341 -0
  203. package/dist/dist-cli-preview/chunks/th-DMPCj1Fg.js +189 -0
  204. package/dist/dist-cli-preview/chunks/th-DV3lk4-6.js +563 -0
  205. package/dist/dist-cli-preview/chunks/th-F8oLBw5n.js +176 -0
  206. package/dist/dist-cli-preview/chunks/th-fPXxGW_m.js +628 -0
  207. package/dist/dist-cli-preview/chunks/tl-BMLmbhme.js +628 -0
  208. package/dist/dist-cli-preview/chunks/tl-BXIS85ly.js +176 -0
  209. package/dist/dist-cli-preview/chunks/tl-CDigaLsK.js +341 -0
  210. package/dist/dist-cli-preview/chunks/tl-DVdSJCnc.js +563 -0
  211. package/dist/dist-cli-preview/chunks/tl-fdtlfqan.js +720 -0
  212. package/dist/dist-cli-preview/chunks/tl-w5CgYWXn.js +189 -0
  213. package/dist/dist-cli-preview/chunks/tr-BA1MDk8A.js +563 -0
  214. package/dist/dist-cli-preview/chunks/tr-CHri_kqV.js +189 -0
  215. package/dist/dist-cli-preview/chunks/tr-DD75kuPl.js +720 -0
  216. package/dist/dist-cli-preview/chunks/tr-Mq5Hfqt2.js +628 -0
  217. package/dist/dist-cli-preview/chunks/tr-PxiurNCr.js +341 -0
  218. package/dist/dist-cli-preview/chunks/tr-YXIIDIEV.js +176 -0
  219. package/dist/dist-cli-preview/chunks/trash-2-Bq4IqH0j.js +137 -0
  220. package/dist/dist-cli-preview/chunks/uk-B4aYnJ8t.js +341 -0
  221. package/dist/dist-cli-preview/chunks/uk-ByJtQJHi.js +189 -0
  222. package/dist/dist-cli-preview/chunks/uk-CCVTTskN.js +720 -0
  223. package/dist/dist-cli-preview/chunks/uk-CS0tJc6H.js +628 -0
  224. package/dist/dist-cli-preview/chunks/uk-CYYjeT-V.js +176 -0
  225. package/dist/dist-cli-preview/chunks/uk-DGb0m_JV.js +563 -0
  226. package/dist/dist-cli-preview/chunks/use-optional-store-Csor1Z3z.js +22 -0
  227. package/dist/dist-cli-preview/chunks/useInfiniteQuery-BpFtQ7DH.js +67 -0
  228. package/dist/dist-cli-preview/chunks/user-BGrQJ1GJ.js +31 -0
  229. package/dist/dist-cli-preview/chunks/users-DBL0isYy.js +27 -0
  230. package/dist/dist-cli-preview/chunks/vi-BoKSdzH3.js +341 -0
  231. package/dist/dist-cli-preview/chunks/vi-CHKjehVL.js +628 -0
  232. package/dist/dist-cli-preview/chunks/vi-DFicISRE.js +189 -0
  233. package/dist/dist-cli-preview/chunks/vi-DT4XS4HU.js +176 -0
  234. package/dist/dist-cli-preview/chunks/vi-RFwPNQ96.js +720 -0
  235. package/dist/dist-cli-preview/chunks/vi-SG6trKny.js +563 -0
  236. package/dist/dist-cli-preview/chunks/zh_CN-BJVGrpVl.js +714 -0
  237. package/dist/dist-cli-preview/chunks/zh_CN-BeGANQIJ.js +176 -0
  238. package/dist/dist-cli-preview/chunks/zh_CN-BwpNGMQN.js +189 -0
  239. package/dist/dist-cli-preview/chunks/zh_CN-CFu3GI2I.js +563 -0
  240. package/dist/dist-cli-preview/chunks/zh_CN-DrCrXsZC.js +341 -0
  241. package/dist/dist-cli-preview/chunks/zh_CN-x6mJyUQH.js +628 -0
  242. package/dist/dist-cli-preview/chunks/zh_TW-CorN6cwY.js +720 -0
  243. package/dist/dist-cli-preview/chunks/zh_TW-D9gGVyEb.js +176 -0
  244. package/dist/dist-cli-preview/chunks/zh_TW-DdD6Hf_A.js +628 -0
  245. package/dist/dist-cli-preview/chunks/zh_TW-JmyC1W5K.js +341 -0
  246. package/dist/dist-cli-preview/chunks/zh_TW-Oq4Chn8F.js +189 -0
  247. package/dist/dist-cli-preview/chunks/zh_TW-kUnD3TL4.js +563 -0
  248. package/dist/index.mjs +1220 -513
  249. package/dist/index.mjs.map +1 -1
  250. package/dist/skills/themes-review/SKILL.md +2 -2
  251. package/dist/skills/themes-review/references/navigation.md +3 -1
  252. package/package.json +60 -10
@@ -0,0 +1,1414 @@
1
+ import { c as H, ah as X, O as A } from "./account-screen-runtime-DxhJm6Qd.js";
2
+ import { u as B } from "./store-api-context-BIdILNWL.js";
3
+ import { S as G, f as V, a as J } from "./use-optional-store-Csor1Z3z.js";
4
+ /**
5
+ * @license lucide-react v0.575.0 - ISC
6
+ *
7
+ * This source code is licensed under the ISC license.
8
+ * See the LICENSE file in the root directory of this source tree.
9
+ */
10
+ const $ = [
11
+ ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
12
+ ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
13
+ ], de = H("lock", $);
14
+ /**
15
+ * @license lucide-react v0.575.0 - ISC
16
+ *
17
+ * This source code is licensed under the ISC license.
18
+ * See the LICENSE file in the root directory of this source tree.
19
+ */
20
+ const z = [
21
+ [
22
+ "path",
23
+ {
24
+ d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
25
+ key: "10ikf1"
26
+ }
27
+ ]
28
+ ], fe = H("play", z);
29
+ var k = { exports: {} }, x, D;
30
+ function U() {
31
+ if (D) return x;
32
+ D = 1;
33
+ var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
34
+ return x = t, x;
35
+ }
36
+ var T, W;
37
+ function K() {
38
+ if (W) return T;
39
+ W = 1;
40
+ var t = /* @__PURE__ */ U();
41
+ function e() {
42
+ }
43
+ function n() {
44
+ }
45
+ return n.resetWarningCache = e, T = function() {
46
+ function r(i, u, h, l, d, c) {
47
+ if (c !== t) {
48
+ var w = new Error(
49
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
50
+ );
51
+ throw w.name = "Invariant Violation", w;
52
+ }
53
+ }
54
+ r.isRequired = r;
55
+ function a() {
56
+ return r;
57
+ }
58
+ var o = {
59
+ array: r,
60
+ bigint: r,
61
+ bool: r,
62
+ func: r,
63
+ number: r,
64
+ object: r,
65
+ string: r,
66
+ symbol: r,
67
+ any: r,
68
+ arrayOf: a,
69
+ element: r,
70
+ elementType: r,
71
+ instanceOf: a,
72
+ node: r,
73
+ objectOf: a,
74
+ oneOf: a,
75
+ oneOfType: a,
76
+ shape: a,
77
+ exact: a,
78
+ checkPropTypes: n,
79
+ resetWarningCache: e
80
+ };
81
+ return o.PropTypes = o, o;
82
+ }, T;
83
+ }
84
+ var Y;
85
+ function Z() {
86
+ return Y || (Y = 1, k.exports = /* @__PURE__ */ K()()), k.exports;
87
+ }
88
+ var tt = /* @__PURE__ */ Z();
89
+ const he = /* @__PURE__ */ X(tt);
90
+ function me() {
91
+ const t = B();
92
+ return A({
93
+ queryKey: J,
94
+ queryFn: V(t),
95
+ staleTime: G
96
+ });
97
+ }
98
+ const Q = 6048e5, et = 864e5, le = 6e4, ge = 36e5, ye = 1e3, E = Symbol.for("constructDateFrom");
99
+ function m(t, e) {
100
+ return typeof t == "function" ? t(e) : t && typeof t == "object" && E in t ? t[E](e) : t instanceof Date ? new t.constructor(e) : new Date(e);
101
+ }
102
+ function f(t, e) {
103
+ return m(e || t, t);
104
+ }
105
+ function we(t, e, n) {
106
+ const r = f(t, n?.in);
107
+ return isNaN(e) ? m(n?.in || t, NaN) : (e && r.setDate(r.getDate() + e), r);
108
+ }
109
+ function pe(t, e, n) {
110
+ const r = f(t, n?.in);
111
+ if (isNaN(e)) return m(t, NaN);
112
+ if (!e)
113
+ return r;
114
+ const a = r.getDate(), o = m(t, r.getTime());
115
+ o.setMonth(r.getMonth() + e + 1, 0);
116
+ const i = o.getDate();
117
+ return a >= i ? o : (r.setFullYear(
118
+ o.getFullYear(),
119
+ o.getMonth(),
120
+ a
121
+ ), r);
122
+ }
123
+ let nt = {};
124
+ function v() {
125
+ return nt;
126
+ }
127
+ function M(t, e) {
128
+ const n = v(), r = e?.weekStartsOn ?? e?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, a = f(t, e?.in), o = a.getDay(), i = (o < r ? 7 : 0) + o - r;
129
+ return a.setDate(a.getDate() - i), a.setHours(0, 0, 0, 0), a;
130
+ }
131
+ function O(t, e) {
132
+ return M(t, { ...e, weekStartsOn: 1 });
133
+ }
134
+ function L(t, e) {
135
+ const n = f(t, e?.in), r = n.getFullYear(), a = m(n, 0);
136
+ a.setFullYear(r + 1, 0, 4), a.setHours(0, 0, 0, 0);
137
+ const o = O(a), i = m(n, 0);
138
+ i.setFullYear(r, 0, 4), i.setHours(0, 0, 0, 0);
139
+ const u = O(i);
140
+ return n.getTime() >= o.getTime() ? r + 1 : n.getTime() >= u.getTime() ? r : r - 1;
141
+ }
142
+ function F(t) {
143
+ const e = f(t), n = new Date(
144
+ Date.UTC(
145
+ e.getFullYear(),
146
+ e.getMonth(),
147
+ e.getDate(),
148
+ e.getHours(),
149
+ e.getMinutes(),
150
+ e.getSeconds(),
151
+ e.getMilliseconds()
152
+ )
153
+ );
154
+ return n.setUTCFullYear(e.getFullYear()), +t - +n;
155
+ }
156
+ function rt(t, ...e) {
157
+ const n = m.bind(
158
+ null,
159
+ e.find((r) => typeof r == "object")
160
+ );
161
+ return e.map(n);
162
+ }
163
+ function q(t, e) {
164
+ const n = f(t, e?.in);
165
+ return n.setHours(0, 0, 0, 0), n;
166
+ }
167
+ function at(t, e, n) {
168
+ const [r, a] = rt(
169
+ n?.in,
170
+ t,
171
+ e
172
+ ), o = q(r), i = q(a), u = +o - F(o), h = +i - F(i);
173
+ return Math.round((u - h) / et);
174
+ }
175
+ function ot(t, e) {
176
+ const n = L(t, e), r = m(t, 0);
177
+ return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), O(r);
178
+ }
179
+ function it(t) {
180
+ return t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]";
181
+ }
182
+ function st(t) {
183
+ return !(!it(t) && typeof t != "number" || isNaN(+f(t)));
184
+ }
185
+ function ut(t, e) {
186
+ const n = f(t, e?.in);
187
+ return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
188
+ }
189
+ const ct = {
190
+ lessThanXSeconds: {
191
+ one: "less than a second",
192
+ other: "less than {{count}} seconds"
193
+ },
194
+ xSeconds: {
195
+ one: "1 second",
196
+ other: "{{count}} seconds"
197
+ },
198
+ halfAMinute: "half a minute",
199
+ lessThanXMinutes: {
200
+ one: "less than a minute",
201
+ other: "less than {{count}} minutes"
202
+ },
203
+ xMinutes: {
204
+ one: "1 minute",
205
+ other: "{{count}} minutes"
206
+ },
207
+ aboutXHours: {
208
+ one: "about 1 hour",
209
+ other: "about {{count}} hours"
210
+ },
211
+ xHours: {
212
+ one: "1 hour",
213
+ other: "{{count}} hours"
214
+ },
215
+ xDays: {
216
+ one: "1 day",
217
+ other: "{{count}} days"
218
+ },
219
+ aboutXWeeks: {
220
+ one: "about 1 week",
221
+ other: "about {{count}} weeks"
222
+ },
223
+ xWeeks: {
224
+ one: "1 week",
225
+ other: "{{count}} weeks"
226
+ },
227
+ aboutXMonths: {
228
+ one: "about 1 month",
229
+ other: "about {{count}} months"
230
+ },
231
+ xMonths: {
232
+ one: "1 month",
233
+ other: "{{count}} months"
234
+ },
235
+ aboutXYears: {
236
+ one: "about 1 year",
237
+ other: "about {{count}} years"
238
+ },
239
+ xYears: {
240
+ one: "1 year",
241
+ other: "{{count}} years"
242
+ },
243
+ overXYears: {
244
+ one: "over 1 year",
245
+ other: "over {{count}} years"
246
+ },
247
+ almostXYears: {
248
+ one: "almost 1 year",
249
+ other: "almost {{count}} years"
250
+ }
251
+ }, dt = (t, e, n) => {
252
+ let r;
253
+ const a = ct[t];
254
+ return typeof a == "string" ? r = a : e === 1 ? r = a.one : r = a.other.replace("{{count}}", e.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
255
+ };
256
+ function S(t) {
257
+ return (e = {}) => {
258
+ const n = e.width ? String(e.width) : t.defaultWidth;
259
+ return t.formats[n] || t.formats[t.defaultWidth];
260
+ };
261
+ }
262
+ const ft = {
263
+ full: "EEEE, MMMM do, y",
264
+ long: "MMMM do, y",
265
+ medium: "MMM d, y",
266
+ short: "MM/dd/yyyy"
267
+ }, ht = {
268
+ full: "h:mm:ss a zzzz",
269
+ long: "h:mm:ss a z",
270
+ medium: "h:mm:ss a",
271
+ short: "h:mm a"
272
+ }, mt = {
273
+ full: "{{date}} 'at' {{time}}",
274
+ long: "{{date}} 'at' {{time}}",
275
+ medium: "{{date}}, {{time}}",
276
+ short: "{{date}}, {{time}}"
277
+ }, lt = {
278
+ date: S({
279
+ formats: ft,
280
+ defaultWidth: "full"
281
+ }),
282
+ time: S({
283
+ formats: ht,
284
+ defaultWidth: "full"
285
+ }),
286
+ dateTime: S({
287
+ formats: mt,
288
+ defaultWidth: "full"
289
+ })
290
+ }, gt = {
291
+ lastWeek: "'last' eeee 'at' p",
292
+ yesterday: "'yesterday at' p",
293
+ today: "'today at' p",
294
+ tomorrow: "'tomorrow at' p",
295
+ nextWeek: "eeee 'at' p",
296
+ other: "P"
297
+ }, yt = (t, e, n, r) => gt[t];
298
+ function b(t) {
299
+ return (e, n) => {
300
+ const r = n?.context ? String(n.context) : "standalone";
301
+ let a;
302
+ if (r === "formatting" && t.formattingValues) {
303
+ const i = t.defaultFormattingWidth || t.defaultWidth, u = n?.width ? String(n.width) : i;
304
+ a = t.formattingValues[u] || t.formattingValues[i];
305
+ } else {
306
+ const i = t.defaultWidth, u = n?.width ? String(n.width) : t.defaultWidth;
307
+ a = t.values[u] || t.values[i];
308
+ }
309
+ const o = t.argumentCallback ? t.argumentCallback(e) : e;
310
+ return a[o];
311
+ };
312
+ }
313
+ const wt = {
314
+ narrow: ["B", "A"],
315
+ abbreviated: ["BC", "AD"],
316
+ wide: ["Before Christ", "Anno Domini"]
317
+ }, pt = {
318
+ narrow: ["1", "2", "3", "4"],
319
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
320
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
321
+ }, bt = {
322
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
323
+ abbreviated: [
324
+ "Jan",
325
+ "Feb",
326
+ "Mar",
327
+ "Apr",
328
+ "May",
329
+ "Jun",
330
+ "Jul",
331
+ "Aug",
332
+ "Sep",
333
+ "Oct",
334
+ "Nov",
335
+ "Dec"
336
+ ],
337
+ wide: [
338
+ "January",
339
+ "February",
340
+ "March",
341
+ "April",
342
+ "May",
343
+ "June",
344
+ "July",
345
+ "August",
346
+ "September",
347
+ "October",
348
+ "November",
349
+ "December"
350
+ ]
351
+ }, Pt = {
352
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
353
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
354
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
355
+ wide: [
356
+ "Sunday",
357
+ "Monday",
358
+ "Tuesday",
359
+ "Wednesday",
360
+ "Thursday",
361
+ "Friday",
362
+ "Saturday"
363
+ ]
364
+ }, Mt = {
365
+ narrow: {
366
+ am: "a",
367
+ pm: "p",
368
+ midnight: "mi",
369
+ noon: "n",
370
+ morning: "morning",
371
+ afternoon: "afternoon",
372
+ evening: "evening",
373
+ night: "night"
374
+ },
375
+ abbreviated: {
376
+ am: "AM",
377
+ pm: "PM",
378
+ midnight: "midnight",
379
+ noon: "noon",
380
+ morning: "morning",
381
+ afternoon: "afternoon",
382
+ evening: "evening",
383
+ night: "night"
384
+ },
385
+ wide: {
386
+ am: "a.m.",
387
+ pm: "p.m.",
388
+ midnight: "midnight",
389
+ noon: "noon",
390
+ morning: "morning",
391
+ afternoon: "afternoon",
392
+ evening: "evening",
393
+ night: "night"
394
+ }
395
+ }, Ot = {
396
+ narrow: {
397
+ am: "a",
398
+ pm: "p",
399
+ midnight: "mi",
400
+ noon: "n",
401
+ morning: "in the morning",
402
+ afternoon: "in the afternoon",
403
+ evening: "in the evening",
404
+ night: "at night"
405
+ },
406
+ abbreviated: {
407
+ am: "AM",
408
+ pm: "PM",
409
+ midnight: "midnight",
410
+ noon: "noon",
411
+ morning: "in the morning",
412
+ afternoon: "in the afternoon",
413
+ evening: "in the evening",
414
+ night: "at night"
415
+ },
416
+ wide: {
417
+ am: "a.m.",
418
+ pm: "p.m.",
419
+ midnight: "midnight",
420
+ noon: "noon",
421
+ morning: "in the morning",
422
+ afternoon: "in the afternoon",
423
+ evening: "in the evening",
424
+ night: "at night"
425
+ }
426
+ }, vt = (t, e) => {
427
+ const n = Number(t), r = n % 100;
428
+ if (r > 20 || r < 10)
429
+ switch (r % 10) {
430
+ case 1:
431
+ return n + "st";
432
+ case 2:
433
+ return n + "nd";
434
+ case 3:
435
+ return n + "rd";
436
+ }
437
+ return n + "th";
438
+ }, kt = {
439
+ ordinalNumber: vt,
440
+ era: b({
441
+ values: wt,
442
+ defaultWidth: "wide"
443
+ }),
444
+ quarter: b({
445
+ values: pt,
446
+ defaultWidth: "wide",
447
+ argumentCallback: (t) => t - 1
448
+ }),
449
+ month: b({
450
+ values: bt,
451
+ defaultWidth: "wide"
452
+ }),
453
+ day: b({
454
+ values: Pt,
455
+ defaultWidth: "wide"
456
+ }),
457
+ dayPeriod: b({
458
+ values: Mt,
459
+ defaultWidth: "wide",
460
+ formattingValues: Ot,
461
+ defaultFormattingWidth: "wide"
462
+ })
463
+ };
464
+ function P(t) {
465
+ return (e, n = {}) => {
466
+ const r = n.width, a = r && t.matchPatterns[r] || t.matchPatterns[t.defaultMatchWidth], o = e.match(a);
467
+ if (!o)
468
+ return null;
469
+ const i = o[0], u = r && t.parsePatterns[r] || t.parsePatterns[t.defaultParseWidth], h = Array.isArray(u) ? Tt(u, (c) => c.test(i)) : (
470
+ // [TODO] -- I challenge you to fix the type
471
+ xt(u, (c) => c.test(i))
472
+ );
473
+ let l;
474
+ l = t.valueCallback ? t.valueCallback(h) : h, l = n.valueCallback ? (
475
+ // [TODO] -- I challenge you to fix the type
476
+ n.valueCallback(l)
477
+ ) : l;
478
+ const d = e.slice(i.length);
479
+ return { value: l, rest: d };
480
+ };
481
+ }
482
+ function xt(t, e) {
483
+ for (const n in t)
484
+ if (Object.prototype.hasOwnProperty.call(t, n) && e(t[n]))
485
+ return n;
486
+ }
487
+ function Tt(t, e) {
488
+ for (let n = 0; n < t.length; n++)
489
+ if (e(t[n]))
490
+ return n;
491
+ }
492
+ function St(t) {
493
+ return (e, n = {}) => {
494
+ const r = e.match(t.matchPattern);
495
+ if (!r) return null;
496
+ const a = r[0], o = e.match(t.parsePattern);
497
+ if (!o) return null;
498
+ let i = t.valueCallback ? t.valueCallback(o[0]) : o[0];
499
+ i = n.valueCallback ? n.valueCallback(i) : i;
500
+ const u = e.slice(a.length);
501
+ return { value: i, rest: u };
502
+ };
503
+ }
504
+ const Dt = /^(\d+)(th|st|nd|rd)?/i, Wt = /\d+/i, Yt = {
505
+ narrow: /^(b|a)/i,
506
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
507
+ wide: /^(before christ|before common era|anno domini|common era)/i
508
+ }, Et = {
509
+ any: [/^b/i, /^(a|c)/i]
510
+ }, Ft = {
511
+ narrow: /^[1234]/i,
512
+ abbreviated: /^q[1234]/i,
513
+ wide: /^[1234](th|st|nd|rd)? quarter/i
514
+ }, qt = {
515
+ any: [/1/i, /2/i, /3/i, /4/i]
516
+ }, Nt = {
517
+ narrow: /^[jfmasond]/i,
518
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
519
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
520
+ }, Ct = {
521
+ narrow: [
522
+ /^j/i,
523
+ /^f/i,
524
+ /^m/i,
525
+ /^a/i,
526
+ /^m/i,
527
+ /^j/i,
528
+ /^j/i,
529
+ /^a/i,
530
+ /^s/i,
531
+ /^o/i,
532
+ /^n/i,
533
+ /^d/i
534
+ ],
535
+ any: [
536
+ /^ja/i,
537
+ /^f/i,
538
+ /^mar/i,
539
+ /^ap/i,
540
+ /^may/i,
541
+ /^jun/i,
542
+ /^jul/i,
543
+ /^au/i,
544
+ /^s/i,
545
+ /^o/i,
546
+ /^n/i,
547
+ /^d/i
548
+ ]
549
+ }, _t = {
550
+ narrow: /^[smtwf]/i,
551
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
552
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
553
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
554
+ }, Rt = {
555
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
556
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
557
+ }, Ht = {
558
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
559
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
560
+ }, Qt = {
561
+ any: {
562
+ am: /^a/i,
563
+ pm: /^p/i,
564
+ midnight: /^mi/i,
565
+ noon: /^no/i,
566
+ morning: /morning/i,
567
+ afternoon: /afternoon/i,
568
+ evening: /evening/i,
569
+ night: /night/i
570
+ }
571
+ }, Lt = {
572
+ ordinalNumber: St({
573
+ matchPattern: Dt,
574
+ parsePattern: Wt,
575
+ valueCallback: (t) => parseInt(t, 10)
576
+ }),
577
+ era: P({
578
+ matchPatterns: Yt,
579
+ defaultMatchWidth: "wide",
580
+ parsePatterns: Et,
581
+ defaultParseWidth: "any"
582
+ }),
583
+ quarter: P({
584
+ matchPatterns: Ft,
585
+ defaultMatchWidth: "wide",
586
+ parsePatterns: qt,
587
+ defaultParseWidth: "any",
588
+ valueCallback: (t) => t + 1
589
+ }),
590
+ month: P({
591
+ matchPatterns: Nt,
592
+ defaultMatchWidth: "wide",
593
+ parsePatterns: Ct,
594
+ defaultParseWidth: "any"
595
+ }),
596
+ day: P({
597
+ matchPatterns: _t,
598
+ defaultMatchWidth: "wide",
599
+ parsePatterns: Rt,
600
+ defaultParseWidth: "any"
601
+ }),
602
+ dayPeriod: P({
603
+ matchPatterns: Ht,
604
+ defaultMatchWidth: "any",
605
+ parsePatterns: Qt,
606
+ defaultParseWidth: "any"
607
+ })
608
+ }, jt = {
609
+ code: "en-US",
610
+ formatDistance: dt,
611
+ formatLong: lt,
612
+ formatRelative: yt,
613
+ localize: kt,
614
+ match: Lt,
615
+ options: {
616
+ weekStartsOn: 0,
617
+ firstWeekContainsDate: 1
618
+ }
619
+ };
620
+ function It(t, e) {
621
+ const n = f(t, e?.in);
622
+ return at(n, ut(n)) + 1;
623
+ }
624
+ function Xt(t, e) {
625
+ const n = f(t, e?.in), r = +O(n) - +ot(n);
626
+ return Math.round(r / Q) + 1;
627
+ }
628
+ function j(t, e) {
629
+ const n = f(t, e?.in), r = n.getFullYear(), a = v(), o = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, i = m(e?.in || t, 0);
630
+ i.setFullYear(r + 1, 0, o), i.setHours(0, 0, 0, 0);
631
+ const u = M(i, e), h = m(e?.in || t, 0);
632
+ h.setFullYear(r, 0, o), h.setHours(0, 0, 0, 0);
633
+ const l = M(h, e);
634
+ return +n >= +u ? r + 1 : +n >= +l ? r : r - 1;
635
+ }
636
+ function At(t, e) {
637
+ const n = v(), r = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, a = j(t, e), o = m(e?.in || t, 0);
638
+ return o.setFullYear(a, 0, r), o.setHours(0, 0, 0, 0), M(o, e);
639
+ }
640
+ function Bt(t, e) {
641
+ const n = f(t, e?.in), r = +M(n, e) - +At(n, e);
642
+ return Math.round(r / Q) + 1;
643
+ }
644
+ function s(t, e) {
645
+ const n = t < 0 ? "-" : "", r = Math.abs(t).toString().padStart(e, "0");
646
+ return n + r;
647
+ }
648
+ const g = {
649
+ // Year
650
+ y(t, e) {
651
+ const n = t.getFullYear(), r = n > 0 ? n : 1 - n;
652
+ return s(e === "yy" ? r % 100 : r, e.length);
653
+ },
654
+ // Month
655
+ M(t, e) {
656
+ const n = t.getMonth();
657
+ return e === "M" ? String(n + 1) : s(n + 1, 2);
658
+ },
659
+ // Day of the month
660
+ d(t, e) {
661
+ return s(t.getDate(), e.length);
662
+ },
663
+ // AM or PM
664
+ a(t, e) {
665
+ const n = t.getHours() / 12 >= 1 ? "pm" : "am";
666
+ switch (e) {
667
+ case "a":
668
+ case "aa":
669
+ return n.toUpperCase();
670
+ case "aaa":
671
+ return n;
672
+ case "aaaaa":
673
+ return n[0];
674
+ case "aaaa":
675
+ default:
676
+ return n === "am" ? "a.m." : "p.m.";
677
+ }
678
+ },
679
+ // Hour [1-12]
680
+ h(t, e) {
681
+ return s(t.getHours() % 12 || 12, e.length);
682
+ },
683
+ // Hour [0-23]
684
+ H(t, e) {
685
+ return s(t.getHours(), e.length);
686
+ },
687
+ // Minute
688
+ m(t, e) {
689
+ return s(t.getMinutes(), e.length);
690
+ },
691
+ // Second
692
+ s(t, e) {
693
+ return s(t.getSeconds(), e.length);
694
+ },
695
+ // Fraction of second
696
+ S(t, e) {
697
+ const n = e.length, r = t.getMilliseconds(), a = Math.trunc(
698
+ r * Math.pow(10, n - 3)
699
+ );
700
+ return s(a, e.length);
701
+ }
702
+ }, p = {
703
+ midnight: "midnight",
704
+ noon: "noon",
705
+ morning: "morning",
706
+ afternoon: "afternoon",
707
+ evening: "evening",
708
+ night: "night"
709
+ }, N = {
710
+ // Era
711
+ G: function(t, e, n) {
712
+ const r = t.getFullYear() > 0 ? 1 : 0;
713
+ switch (e) {
714
+ // AD, BC
715
+ case "G":
716
+ case "GG":
717
+ case "GGG":
718
+ return n.era(r, { width: "abbreviated" });
719
+ // A, B
720
+ case "GGGGG":
721
+ return n.era(r, { width: "narrow" });
722
+ // Anno Domini, Before Christ
723
+ case "GGGG":
724
+ default:
725
+ return n.era(r, { width: "wide" });
726
+ }
727
+ },
728
+ // Year
729
+ y: function(t, e, n) {
730
+ if (e === "yo") {
731
+ const r = t.getFullYear(), a = r > 0 ? r : 1 - r;
732
+ return n.ordinalNumber(a, { unit: "year" });
733
+ }
734
+ return g.y(t, e);
735
+ },
736
+ // Local week-numbering year
737
+ Y: function(t, e, n, r) {
738
+ const a = j(t, r), o = a > 0 ? a : 1 - a;
739
+ if (e === "YY") {
740
+ const i = o % 100;
741
+ return s(i, 2);
742
+ }
743
+ return e === "Yo" ? n.ordinalNumber(o, { unit: "year" }) : s(o, e.length);
744
+ },
745
+ // ISO week-numbering year
746
+ R: function(t, e) {
747
+ const n = L(t);
748
+ return s(n, e.length);
749
+ },
750
+ // Extended year. This is a single number designating the year of this calendar system.
751
+ // The main difference between `y` and `u` localizers are B.C. years:
752
+ // | Year | `y` | `u` |
753
+ // |------|-----|-----|
754
+ // | AC 1 | 1 | 1 |
755
+ // | BC 1 | 1 | 0 |
756
+ // | BC 2 | 2 | -1 |
757
+ // Also `yy` always returns the last two digits of a year,
758
+ // while `uu` pads single digit years to 2 characters and returns other years unchanged.
759
+ u: function(t, e) {
760
+ const n = t.getFullYear();
761
+ return s(n, e.length);
762
+ },
763
+ // Quarter
764
+ Q: function(t, e, n) {
765
+ const r = Math.ceil((t.getMonth() + 1) / 3);
766
+ switch (e) {
767
+ // 1, 2, 3, 4
768
+ case "Q":
769
+ return String(r);
770
+ // 01, 02, 03, 04
771
+ case "QQ":
772
+ return s(r, 2);
773
+ // 1st, 2nd, 3rd, 4th
774
+ case "Qo":
775
+ return n.ordinalNumber(r, { unit: "quarter" });
776
+ // Q1, Q2, Q3, Q4
777
+ case "QQQ":
778
+ return n.quarter(r, {
779
+ width: "abbreviated",
780
+ context: "formatting"
781
+ });
782
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
783
+ case "QQQQQ":
784
+ return n.quarter(r, {
785
+ width: "narrow",
786
+ context: "formatting"
787
+ });
788
+ // 1st quarter, 2nd quarter, ...
789
+ case "QQQQ":
790
+ default:
791
+ return n.quarter(r, {
792
+ width: "wide",
793
+ context: "formatting"
794
+ });
795
+ }
796
+ },
797
+ // Stand-alone quarter
798
+ q: function(t, e, n) {
799
+ const r = Math.ceil((t.getMonth() + 1) / 3);
800
+ switch (e) {
801
+ // 1, 2, 3, 4
802
+ case "q":
803
+ return String(r);
804
+ // 01, 02, 03, 04
805
+ case "qq":
806
+ return s(r, 2);
807
+ // 1st, 2nd, 3rd, 4th
808
+ case "qo":
809
+ return n.ordinalNumber(r, { unit: "quarter" });
810
+ // Q1, Q2, Q3, Q4
811
+ case "qqq":
812
+ return n.quarter(r, {
813
+ width: "abbreviated",
814
+ context: "standalone"
815
+ });
816
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
817
+ case "qqqqq":
818
+ return n.quarter(r, {
819
+ width: "narrow",
820
+ context: "standalone"
821
+ });
822
+ // 1st quarter, 2nd quarter, ...
823
+ case "qqqq":
824
+ default:
825
+ return n.quarter(r, {
826
+ width: "wide",
827
+ context: "standalone"
828
+ });
829
+ }
830
+ },
831
+ // Month
832
+ M: function(t, e, n) {
833
+ const r = t.getMonth();
834
+ switch (e) {
835
+ case "M":
836
+ case "MM":
837
+ return g.M(t, e);
838
+ // 1st, 2nd, ..., 12th
839
+ case "Mo":
840
+ return n.ordinalNumber(r + 1, { unit: "month" });
841
+ // Jan, Feb, ..., Dec
842
+ case "MMM":
843
+ return n.month(r, {
844
+ width: "abbreviated",
845
+ context: "formatting"
846
+ });
847
+ // J, F, ..., D
848
+ case "MMMMM":
849
+ return n.month(r, {
850
+ width: "narrow",
851
+ context: "formatting"
852
+ });
853
+ // January, February, ..., December
854
+ case "MMMM":
855
+ default:
856
+ return n.month(r, { width: "wide", context: "formatting" });
857
+ }
858
+ },
859
+ // Stand-alone month
860
+ L: function(t, e, n) {
861
+ const r = t.getMonth();
862
+ switch (e) {
863
+ // 1, 2, ..., 12
864
+ case "L":
865
+ return String(r + 1);
866
+ // 01, 02, ..., 12
867
+ case "LL":
868
+ return s(r + 1, 2);
869
+ // 1st, 2nd, ..., 12th
870
+ case "Lo":
871
+ return n.ordinalNumber(r + 1, { unit: "month" });
872
+ // Jan, Feb, ..., Dec
873
+ case "LLL":
874
+ return n.month(r, {
875
+ width: "abbreviated",
876
+ context: "standalone"
877
+ });
878
+ // J, F, ..., D
879
+ case "LLLLL":
880
+ return n.month(r, {
881
+ width: "narrow",
882
+ context: "standalone"
883
+ });
884
+ // January, February, ..., December
885
+ case "LLLL":
886
+ default:
887
+ return n.month(r, { width: "wide", context: "standalone" });
888
+ }
889
+ },
890
+ // Local week of year
891
+ w: function(t, e, n, r) {
892
+ const a = Bt(t, r);
893
+ return e === "wo" ? n.ordinalNumber(a, { unit: "week" }) : s(a, e.length);
894
+ },
895
+ // ISO week of year
896
+ I: function(t, e, n) {
897
+ const r = Xt(t);
898
+ return e === "Io" ? n.ordinalNumber(r, { unit: "week" }) : s(r, e.length);
899
+ },
900
+ // Day of the month
901
+ d: function(t, e, n) {
902
+ return e === "do" ? n.ordinalNumber(t.getDate(), { unit: "date" }) : g.d(t, e);
903
+ },
904
+ // Day of year
905
+ D: function(t, e, n) {
906
+ const r = It(t);
907
+ return e === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : s(r, e.length);
908
+ },
909
+ // Day of week
910
+ E: function(t, e, n) {
911
+ const r = t.getDay();
912
+ switch (e) {
913
+ // Tue
914
+ case "E":
915
+ case "EE":
916
+ case "EEE":
917
+ return n.day(r, {
918
+ width: "abbreviated",
919
+ context: "formatting"
920
+ });
921
+ // T
922
+ case "EEEEE":
923
+ return n.day(r, {
924
+ width: "narrow",
925
+ context: "formatting"
926
+ });
927
+ // Tu
928
+ case "EEEEEE":
929
+ return n.day(r, {
930
+ width: "short",
931
+ context: "formatting"
932
+ });
933
+ // Tuesday
934
+ case "EEEE":
935
+ default:
936
+ return n.day(r, {
937
+ width: "wide",
938
+ context: "formatting"
939
+ });
940
+ }
941
+ },
942
+ // Local day of week
943
+ e: function(t, e, n, r) {
944
+ const a = t.getDay(), o = (a - r.weekStartsOn + 8) % 7 || 7;
945
+ switch (e) {
946
+ // Numerical value (Nth day of week with current locale or weekStartsOn)
947
+ case "e":
948
+ return String(o);
949
+ // Padded numerical value
950
+ case "ee":
951
+ return s(o, 2);
952
+ // 1st, 2nd, ..., 7th
953
+ case "eo":
954
+ return n.ordinalNumber(o, { unit: "day" });
955
+ case "eee":
956
+ return n.day(a, {
957
+ width: "abbreviated",
958
+ context: "formatting"
959
+ });
960
+ // T
961
+ case "eeeee":
962
+ return n.day(a, {
963
+ width: "narrow",
964
+ context: "formatting"
965
+ });
966
+ // Tu
967
+ case "eeeeee":
968
+ return n.day(a, {
969
+ width: "short",
970
+ context: "formatting"
971
+ });
972
+ // Tuesday
973
+ case "eeee":
974
+ default:
975
+ return n.day(a, {
976
+ width: "wide",
977
+ context: "formatting"
978
+ });
979
+ }
980
+ },
981
+ // Stand-alone local day of week
982
+ c: function(t, e, n, r) {
983
+ const a = t.getDay(), o = (a - r.weekStartsOn + 8) % 7 || 7;
984
+ switch (e) {
985
+ // Numerical value (same as in `e`)
986
+ case "c":
987
+ return String(o);
988
+ // Padded numerical value
989
+ case "cc":
990
+ return s(o, e.length);
991
+ // 1st, 2nd, ..., 7th
992
+ case "co":
993
+ return n.ordinalNumber(o, { unit: "day" });
994
+ case "ccc":
995
+ return n.day(a, {
996
+ width: "abbreviated",
997
+ context: "standalone"
998
+ });
999
+ // T
1000
+ case "ccccc":
1001
+ return n.day(a, {
1002
+ width: "narrow",
1003
+ context: "standalone"
1004
+ });
1005
+ // Tu
1006
+ case "cccccc":
1007
+ return n.day(a, {
1008
+ width: "short",
1009
+ context: "standalone"
1010
+ });
1011
+ // Tuesday
1012
+ case "cccc":
1013
+ default:
1014
+ return n.day(a, {
1015
+ width: "wide",
1016
+ context: "standalone"
1017
+ });
1018
+ }
1019
+ },
1020
+ // ISO day of week
1021
+ i: function(t, e, n) {
1022
+ const r = t.getDay(), a = r === 0 ? 7 : r;
1023
+ switch (e) {
1024
+ // 2
1025
+ case "i":
1026
+ return String(a);
1027
+ // 02
1028
+ case "ii":
1029
+ return s(a, e.length);
1030
+ // 2nd
1031
+ case "io":
1032
+ return n.ordinalNumber(a, { unit: "day" });
1033
+ // Tue
1034
+ case "iii":
1035
+ return n.day(r, {
1036
+ width: "abbreviated",
1037
+ context: "formatting"
1038
+ });
1039
+ // T
1040
+ case "iiiii":
1041
+ return n.day(r, {
1042
+ width: "narrow",
1043
+ context: "formatting"
1044
+ });
1045
+ // Tu
1046
+ case "iiiiii":
1047
+ return n.day(r, {
1048
+ width: "short",
1049
+ context: "formatting"
1050
+ });
1051
+ // Tuesday
1052
+ case "iiii":
1053
+ default:
1054
+ return n.day(r, {
1055
+ width: "wide",
1056
+ context: "formatting"
1057
+ });
1058
+ }
1059
+ },
1060
+ // AM or PM
1061
+ a: function(t, e, n) {
1062
+ const a = t.getHours() / 12 >= 1 ? "pm" : "am";
1063
+ switch (e) {
1064
+ case "a":
1065
+ case "aa":
1066
+ return n.dayPeriod(a, {
1067
+ width: "abbreviated",
1068
+ context: "formatting"
1069
+ });
1070
+ case "aaa":
1071
+ return n.dayPeriod(a, {
1072
+ width: "abbreviated",
1073
+ context: "formatting"
1074
+ }).toLowerCase();
1075
+ case "aaaaa":
1076
+ return n.dayPeriod(a, {
1077
+ width: "narrow",
1078
+ context: "formatting"
1079
+ });
1080
+ case "aaaa":
1081
+ default:
1082
+ return n.dayPeriod(a, {
1083
+ width: "wide",
1084
+ context: "formatting"
1085
+ });
1086
+ }
1087
+ },
1088
+ // AM, PM, midnight, noon
1089
+ b: function(t, e, n) {
1090
+ const r = t.getHours();
1091
+ let a;
1092
+ switch (r === 12 ? a = p.noon : r === 0 ? a = p.midnight : a = r / 12 >= 1 ? "pm" : "am", e) {
1093
+ case "b":
1094
+ case "bb":
1095
+ return n.dayPeriod(a, {
1096
+ width: "abbreviated",
1097
+ context: "formatting"
1098
+ });
1099
+ case "bbb":
1100
+ return n.dayPeriod(a, {
1101
+ width: "abbreviated",
1102
+ context: "formatting"
1103
+ }).toLowerCase();
1104
+ case "bbbbb":
1105
+ return n.dayPeriod(a, {
1106
+ width: "narrow",
1107
+ context: "formatting"
1108
+ });
1109
+ case "bbbb":
1110
+ default:
1111
+ return n.dayPeriod(a, {
1112
+ width: "wide",
1113
+ context: "formatting"
1114
+ });
1115
+ }
1116
+ },
1117
+ // in the morning, in the afternoon, in the evening, at night
1118
+ B: function(t, e, n) {
1119
+ const r = t.getHours();
1120
+ let a;
1121
+ switch (r >= 17 ? a = p.evening : r >= 12 ? a = p.afternoon : r >= 4 ? a = p.morning : a = p.night, e) {
1122
+ case "B":
1123
+ case "BB":
1124
+ case "BBB":
1125
+ return n.dayPeriod(a, {
1126
+ width: "abbreviated",
1127
+ context: "formatting"
1128
+ });
1129
+ case "BBBBB":
1130
+ return n.dayPeriod(a, {
1131
+ width: "narrow",
1132
+ context: "formatting"
1133
+ });
1134
+ case "BBBB":
1135
+ default:
1136
+ return n.dayPeriod(a, {
1137
+ width: "wide",
1138
+ context: "formatting"
1139
+ });
1140
+ }
1141
+ },
1142
+ // Hour [1-12]
1143
+ h: function(t, e, n) {
1144
+ if (e === "ho") {
1145
+ let r = t.getHours() % 12;
1146
+ return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
1147
+ }
1148
+ return g.h(t, e);
1149
+ },
1150
+ // Hour [0-23]
1151
+ H: function(t, e, n) {
1152
+ return e === "Ho" ? n.ordinalNumber(t.getHours(), { unit: "hour" }) : g.H(t, e);
1153
+ },
1154
+ // Hour [0-11]
1155
+ K: function(t, e, n) {
1156
+ const r = t.getHours() % 12;
1157
+ return e === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : s(r, e.length);
1158
+ },
1159
+ // Hour [1-24]
1160
+ k: function(t, e, n) {
1161
+ let r = t.getHours();
1162
+ return r === 0 && (r = 24), e === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : s(r, e.length);
1163
+ },
1164
+ // Minute
1165
+ m: function(t, e, n) {
1166
+ return e === "mo" ? n.ordinalNumber(t.getMinutes(), { unit: "minute" }) : g.m(t, e);
1167
+ },
1168
+ // Second
1169
+ s: function(t, e, n) {
1170
+ return e === "so" ? n.ordinalNumber(t.getSeconds(), { unit: "second" }) : g.s(t, e);
1171
+ },
1172
+ // Fraction of second
1173
+ S: function(t, e) {
1174
+ return g.S(t, e);
1175
+ },
1176
+ // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1177
+ X: function(t, e, n) {
1178
+ const r = t.getTimezoneOffset();
1179
+ if (r === 0)
1180
+ return "Z";
1181
+ switch (e) {
1182
+ // Hours and optional minutes
1183
+ case "X":
1184
+ return _(r);
1185
+ // Hours, minutes and optional seconds without `:` delimiter
1186
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1187
+ // so this token always has the same output as `XX`
1188
+ case "XXXX":
1189
+ case "XX":
1190
+ return y(r);
1191
+ // Hours, minutes and optional seconds with `:` delimiter
1192
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1193
+ // so this token always has the same output as `XXX`
1194
+ case "XXXXX":
1195
+ case "XXX":
1196
+ // Hours and minutes with `:` delimiter
1197
+ default:
1198
+ return y(r, ":");
1199
+ }
1200
+ },
1201
+ // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
1202
+ x: function(t, e, n) {
1203
+ const r = t.getTimezoneOffset();
1204
+ switch (e) {
1205
+ // Hours and optional minutes
1206
+ case "x":
1207
+ return _(r);
1208
+ // Hours, minutes and optional seconds without `:` delimiter
1209
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1210
+ // so this token always has the same output as `xx`
1211
+ case "xxxx":
1212
+ case "xx":
1213
+ return y(r);
1214
+ // Hours, minutes and optional seconds with `:` delimiter
1215
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1216
+ // so this token always has the same output as `xxx`
1217
+ case "xxxxx":
1218
+ case "xxx":
1219
+ // Hours and minutes with `:` delimiter
1220
+ default:
1221
+ return y(r, ":");
1222
+ }
1223
+ },
1224
+ // Timezone (GMT)
1225
+ O: function(t, e, n) {
1226
+ const r = t.getTimezoneOffset();
1227
+ switch (e) {
1228
+ // Short
1229
+ case "O":
1230
+ case "OO":
1231
+ case "OOO":
1232
+ return "GMT" + C(r, ":");
1233
+ // Long
1234
+ case "OOOO":
1235
+ default:
1236
+ return "GMT" + y(r, ":");
1237
+ }
1238
+ },
1239
+ // Timezone (specific non-location)
1240
+ z: function(t, e, n) {
1241
+ const r = t.getTimezoneOffset();
1242
+ switch (e) {
1243
+ // Short
1244
+ case "z":
1245
+ case "zz":
1246
+ case "zzz":
1247
+ return "GMT" + C(r, ":");
1248
+ // Long
1249
+ case "zzzz":
1250
+ default:
1251
+ return "GMT" + y(r, ":");
1252
+ }
1253
+ },
1254
+ // Seconds timestamp
1255
+ t: function(t, e, n) {
1256
+ const r = Math.trunc(+t / 1e3);
1257
+ return s(r, e.length);
1258
+ },
1259
+ // Milliseconds timestamp
1260
+ T: function(t, e, n) {
1261
+ return s(+t, e.length);
1262
+ }
1263
+ };
1264
+ function C(t, e = "") {
1265
+ const n = t > 0 ? "-" : "+", r = Math.abs(t), a = Math.trunc(r / 60), o = r % 60;
1266
+ return o === 0 ? n + String(a) : n + String(a) + e + s(o, 2);
1267
+ }
1268
+ function _(t, e) {
1269
+ return t % 60 === 0 ? (t > 0 ? "-" : "+") + s(Math.abs(t) / 60, 2) : y(t, e);
1270
+ }
1271
+ function y(t, e = "") {
1272
+ const n = t > 0 ? "-" : "+", r = Math.abs(t), a = s(Math.trunc(r / 60), 2), o = s(r % 60, 2);
1273
+ return n + a + e + o;
1274
+ }
1275
+ const R = (t, e) => {
1276
+ switch (t) {
1277
+ case "P":
1278
+ return e.date({ width: "short" });
1279
+ case "PP":
1280
+ return e.date({ width: "medium" });
1281
+ case "PPP":
1282
+ return e.date({ width: "long" });
1283
+ case "PPPP":
1284
+ default:
1285
+ return e.date({ width: "full" });
1286
+ }
1287
+ }, I = (t, e) => {
1288
+ switch (t) {
1289
+ case "p":
1290
+ return e.time({ width: "short" });
1291
+ case "pp":
1292
+ return e.time({ width: "medium" });
1293
+ case "ppp":
1294
+ return e.time({ width: "long" });
1295
+ case "pppp":
1296
+ default:
1297
+ return e.time({ width: "full" });
1298
+ }
1299
+ }, Gt = (t, e) => {
1300
+ const n = t.match(/(P+)(p+)?/) || [], r = n[1], a = n[2];
1301
+ if (!a)
1302
+ return R(t, e);
1303
+ let o;
1304
+ switch (r) {
1305
+ case "P":
1306
+ o = e.dateTime({ width: "short" });
1307
+ break;
1308
+ case "PP":
1309
+ o = e.dateTime({ width: "medium" });
1310
+ break;
1311
+ case "PPP":
1312
+ o = e.dateTime({ width: "long" });
1313
+ break;
1314
+ case "PPPP":
1315
+ default:
1316
+ o = e.dateTime({ width: "full" });
1317
+ break;
1318
+ }
1319
+ return o.replace("{{date}}", R(r, e)).replace("{{time}}", I(a, e));
1320
+ }, Vt = {
1321
+ p: I,
1322
+ P: Gt
1323
+ }, Jt = /^D+$/, $t = /^Y+$/, zt = ["D", "DD", "YY", "YYYY"];
1324
+ function Ut(t) {
1325
+ return Jt.test(t);
1326
+ }
1327
+ function Kt(t) {
1328
+ return $t.test(t);
1329
+ }
1330
+ function Zt(t, e, n) {
1331
+ const r = te(t, e, n);
1332
+ if (console.warn(r), zt.includes(t)) throw new RangeError(r);
1333
+ }
1334
+ function te(t, e, n) {
1335
+ const r = t[0] === "Y" ? "years" : "days of the month";
1336
+ return `Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1337
+ }
1338
+ const ee = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ne = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, re = /^'([^]*?)'?$/, ae = /''/g, oe = /[a-zA-Z]/;
1339
+ function be(t, e, n) {
1340
+ const r = v(), a = r.locale ?? jt, o = r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, i = r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, u = f(t, n?.in);
1341
+ if (!st(u))
1342
+ throw new RangeError("Invalid time value");
1343
+ let h = e.match(ne).map((d) => {
1344
+ const c = d[0];
1345
+ if (c === "p" || c === "P") {
1346
+ const w = Vt[c];
1347
+ return w(d, a.formatLong);
1348
+ }
1349
+ return d;
1350
+ }).join("").match(ee).map((d) => {
1351
+ if (d === "''")
1352
+ return { isToken: !1, value: "'" };
1353
+ const c = d[0];
1354
+ if (c === "'")
1355
+ return { isToken: !1, value: ie(d) };
1356
+ if (N[c])
1357
+ return { isToken: !0, value: d };
1358
+ if (c.match(oe))
1359
+ throw new RangeError(
1360
+ "Format string contains an unescaped latin alphabet character `" + c + "`"
1361
+ );
1362
+ return { isToken: !1, value: d };
1363
+ });
1364
+ a.localize.preprocessor && (h = a.localize.preprocessor(u, h));
1365
+ const l = {
1366
+ firstWeekContainsDate: o,
1367
+ weekStartsOn: i,
1368
+ locale: a
1369
+ };
1370
+ return h.map((d) => {
1371
+ if (!d.isToken) return d.value;
1372
+ const c = d.value;
1373
+ (Kt(c) || Ut(c)) && Zt(c, e, String(t));
1374
+ const w = N[c[0]];
1375
+ return w(u, c, a.localize, l);
1376
+ }).join("");
1377
+ }
1378
+ function ie(t) {
1379
+ const e = t.match(re);
1380
+ return e ? e[1].replace(ae, "'") : t;
1381
+ }
1382
+ function Pe(t, e) {
1383
+ return +f(t) > +f(e);
1384
+ }
1385
+ export {
1386
+ de as L,
1387
+ he as P,
1388
+ fe as a,
1389
+ we as b,
1390
+ pe as c,
1391
+ m as d,
1392
+ le as e,
1393
+ ye as f,
1394
+ v as g,
1395
+ j as h,
1396
+ O as i,
1397
+ Bt as j,
1398
+ Xt as k,
1399
+ F as l,
1400
+ ge as m,
1401
+ jt as n,
1402
+ Vt as o,
1403
+ Kt as p,
1404
+ Ut as q,
1405
+ be as r,
1406
+ M as s,
1407
+ f as t,
1408
+ me as u,
1409
+ Pe as v,
1410
+ Zt as w,
1411
+ rt as x,
1412
+ q as y,
1413
+ at as z
1414
+ };