@getmicdrop/venue-calendar 4.3.135 → 4.3.138

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 (266) hide show
  1. package/dist/AddOnCard-DEAC26HA.js +348 -0
  2. package/dist/AppError-t1LnBwj_.js +30 -0
  3. package/dist/{ArrowLeftIcon-CezkuCvg.js → ArrowLeftIcon-P8BRVhVl.js} +2 -3
  4. package/dist/Badge-CmYqIClC.js +51 -0
  5. package/dist/{BlockPlaceholder-BBrehfrB.js → BlockPlaceholder-BKfoE795.js} +30 -23
  6. package/dist/BottomSheet-D27k0B05.js +154 -0
  7. package/dist/Button-B1cBhdtC.js +234 -0
  8. package/dist/Button-B_gbGd63.js +149 -0
  9. package/dist/Calendar-9xskvKUf.js +395 -0
  10. package/dist/CalendarFoundryView-DbxZNmY7.js +16356 -0
  11. package/dist/{CalendarIcon-Y6_CP1BO.js → CalendarIcon-MAVEqtql.js} +2 -3
  12. package/dist/{CloseOutline-qpVa62mu.js → CalendarOutline-CApIWx8i.js} +2 -3
  13. package/dist/CartView-DMINN6bY.js +2200 -0
  14. package/dist/{ChartBlock-SYOAO1s_.js → ChartBlock-DcsCXfX8.js} +85 -112
  15. package/dist/{CheckIcon-BFlrM9LP.js → CheckIcon-BH9EAoee.js} +2 -3
  16. package/dist/{Checkbox-BtJwg_CF.js → Checkbox-sObkYRdj.js} +2 -3
  17. package/dist/Checkout-H9RGBU9D.js +1071 -0
  18. package/dist/Checkout-VnochAZE.js +1967 -0
  19. package/dist/{CheckoutTimer-CfGllYB_.js → CheckoutTimer-mjcYR3XU.js} +9 -11
  20. package/dist/{ChevronDownIcon-CmTx77Iz.js → ChevronDownIcon-Bkts84qA.js} +2 -3
  21. package/dist/{ChevronDownOutline-D7YDiKBF.js → ChevronDownOutline-kFgRY2cg.js} +1 -2
  22. package/dist/{ChevronRightOutline-CiG8UHni.js → ChevronRightOutline-D-5Qw6-Y.js} +2 -4
  23. package/dist/CloseIcon-DRlYvIPc.js +24 -0
  24. package/dist/{CollectionView-CKVGypsb.js → CollectionView-C0vDg5oJ.js} +48 -58
  25. package/dist/CropImage-BWYeQXXA.js +547 -0
  26. package/dist/DatePicker-v-4ijT8N.js +650 -0
  27. package/dist/{EmptyState-CMFePII9.js → EmptyState-BhK78ogy.js} +10 -12
  28. package/dist/{Event-C2BfY4hq.js → Event-vlu8IAxh.js} +1241 -1220
  29. package/dist/{EventCard-uMW7-Yc7.js → EventCard-puoh3xag.js} +15 -15
  30. package/dist/EventPage-DycxjX5Z.js +1301 -0
  31. package/dist/{ExclamationCircleOutline-D3XbhOwM.js → ExclamationCircleOutline-CPelT1Bu.js} +1 -2
  32. package/dist/FilterChipGroup-DUGvOaRI.js +103 -0
  33. package/dist/Grid-DRRXcWRE.js +41 -0
  34. package/dist/{Heading-vOVPxhJF.js → Heading-WcF3Rh3o.js} +4 -6
  35. package/dist/Image-dhbgrhG-.js +89 -0
  36. package/dist/ImageUploader-CKrf5amy.js +1050 -0
  37. package/dist/{Input-C0BCVQQ5.js → Input-BQk4itex.js} +124 -140
  38. package/dist/LiveRegion-Ds0mjIVj.js +17 -0
  39. package/dist/{LocationIcon-Ct8LQDag.js → LocationIcon-BNPEzWv2.js} +3 -5
  40. package/dist/{Modal-rt9KVfYa.js → Modal-DOpDiAwN.js} +3 -4
  41. package/dist/ModalFooter-gFaDKsfj.js +299 -0
  42. package/dist/ModalTitle-CS5AGwrU.js +26 -0
  43. package/dist/{PasswordInput-DpeH_g-Z.js → PasswordInput-C65GqxdF.js} +11 -13
  44. package/dist/{PhoneInput-5l-M5ykF.js → PhoneInput-Dj1I3bEn.js} +80 -89
  45. package/dist/{RecommendationsRail-DL03xY8R.js → RecommendationsRail-DC5qX1ei.js} +145 -159
  46. package/dist/RequiredIndicator-CRZ_coyR.js +16 -0
  47. package/dist/{ScarcityBadge-BB4ZD_8N.js → ScarcityBadge-BAaV2CIY.js} +37 -41
  48. package/dist/Search-BE64QcmK.js +82 -0
  49. package/dist/SearchIcon-BzOhoKm8.js +24 -0
  50. package/dist/{SeriesPage-lhbMdwIi.js → SeriesPage-Cx89s2B6.js} +6 -7
  51. package/dist/SheetHandle-CCfYCPbY.js +66 -0
  52. package/dist/Skeleton-B6qB_udJ.js +31 -0
  53. package/dist/SkeletonLoader-DfW0N9R3.js +121 -0
  54. package/dist/{Spinner-DNaDFSCe.js → Spinner-Bj4dr9kO.js} +7 -7
  55. package/dist/Stack-Ck1wrJ0l.js +34 -0
  56. package/dist/Success-D3CrUeka.js +1022 -0
  57. package/dist/{TagIcon-MVcV8ylU.js → TagIcon-Dp7n6eKU.js} +2 -3
  58. package/dist/{Textarea-Cymhixzd.js → Textarea-BDcuBI13.js} +11 -11
  59. package/dist/TimePicker-HYzPI_Dc.js +215 -0
  60. package/dist/ValidationError-BxKB_SVA.js +48 -0
  61. package/dist/ViewTicketsEmbed-DzUCgtA3.js +641 -0
  62. package/dist/{WarningCircleIcon-ch-94kEe.js → WarningCircleIcon-jC3nXehu.js} +4 -7
  63. package/dist/{WarningTriIcon-DFjb-boV.js → WarningTriIcon-BMa-jcUr.js} +2 -3
  64. package/dist/{__SKIP_NAVIGATION__-AOx8SI54.js → __SKIP_NAVIGATION__-Znm_vYcG.js} +1 -2
  65. package/dist/{__SKIP_PATHS__-C0ixDSSm.js → __SKIP_PATHS__-Bzzrca_a.js} +1 -2
  66. package/dist/address-field-BwGHcMKY.js +295 -0
  67. package/dist/{href-q4ZIwqKC.js → allowlist-Bt1BHhNd.js} +244 -315
  68. package/dist/api/api.cjs +1 -1
  69. package/dist/api/api.mjs +214 -227
  70. package/dist/api/cta.d.ts +4 -0
  71. package/dist/api/events.d.ts +13 -0
  72. package/dist/api/types.d.ts +2 -0
  73. package/dist/api-CRHFSJDI.js +502 -0
  74. package/dist/avatar-picker-field-CSF5okeM.js +115 -0
  75. package/dist/{browser-DxdP6IWt.js → browser-DEUBVMmV.js} +9 -9
  76. package/dist/bundle-mjs-COnlheJX.js +1776 -0
  77. package/dist/{buyerEmail-BfCq-gDt.js → buyerEmail-CvPpEiON.js} +2 -3
  78. package/dist/calendar-Cdu8fCIt.js +111 -0
  79. package/dist/checkout-libs/4.3.138/phone.js +6 -0
  80. package/dist/checkout-libs/4.3.138/qrcode.js +8 -0
  81. package/dist/{checkoutState-wrwq9TD7.js → checkoutState-BDNjJRMG.js} +7 -10
  82. package/dist/classNames-CPSQ9uy4.js +25 -0
  83. package/dist/clickOutside-D448uRpo.js +22 -0
  84. package/dist/{client-SmFkruvn.js → client-BIN_q-of.js} +4 -7
  85. package/dist/colors-CdP193E5.js +106 -0
  86. package/dist/colors-D67OMr_8.js +22 -0
  87. package/dist/{Text-CqjLjIF8.js → constants-DrFV2oht.js} +19 -14
  88. package/dist/controlAria-Do9QK0WI.js +13 -0
  89. package/dist/{copyToClipboard-Cy_-50GG.js → copyToClipboard-CjNjDZeW.js} +3 -5
  90. package/dist/createErrorGate.svelte-DUXI6Yor.js +82 -0
  91. package/dist/cta-qbcIt5Gh.js +116 -0
  92. package/dist/date-field-3tgOYbzF.js +88 -0
  93. package/dist/date-range-field-D0Aq9me9.js +163 -0
  94. package/dist/datetime-BlEsN_-8.js +176 -0
  95. package/dist/{de-lc43hoya.js → de-CUrE_4a4.js} +2 -3
  96. package/dist/{de-DyiE1KNg.js → de-vKpbo9Zl.js} +2 -2
  97. package/dist/defaultLabels-CybwJCNn.js +563 -0
  98. package/dist/defaults-B5wyre5O.js +148 -0
  99. package/dist/deprecation-BCjqE5lW.js +4 -0
  100. package/dist/{dist-bwbfGPKR.js → dist-Dptst9ym.js} +2 -4
  101. package/dist/{es-DhoitI_1.js → es-8qe0Mo-8.js} +2 -2
  102. package/dist/{es-B0uSu40a.js → es-B2-z2Kft.js} +2 -3
  103. package/dist/{event-9wBbeiK2.js → event-CEg17hts.js} +3 -4
  104. package/dist/event-transform-DqFigNQg.js +250 -0
  105. package/dist/{eventStatusStream-JWP2AXnQ.js → eventStatusStream-DK5fWCTB.js} +4 -7
  106. package/dist/field-rules-CKFFB16Q.js +416 -0
  107. package/dist/file-field-2mPz4Da-.js +210 -0
  108. package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-CuNOjGbP.js} +20 -27
  109. package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-CVtQwdIK.js} +25 -27
  110. package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-CMPs7yGQ.js} +21 -23
  111. package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-DKsOZAGe.js} +12 -27
  112. package/dist/{floatingPosition-XIv5DYuP.js → floatingPosition-BCUPmGCN.js} +8 -13
  113. package/dist/format-CypC4vWs.js +1587 -0
  114. package/dist/formatters-CzKNRUwz.js +113 -0
  115. package/dist/foundryRuntime-DKyfdkUY.js +13 -0
  116. package/dist/{fr-DB--_n56.js → fr-BmpShjUG.js} +2 -2
  117. package/dist/{fr-CzTFVHUe.js → fr-CiePVIlj.js} +2 -3
  118. package/dist/{gate-password-cache-oOcDm9Ki.js → gate-password-cache-zIbewXQ2.js} +1 -2
  119. package/dist/heic-to-BoLfsr3l.js +70 -0
  120. package/dist/hexToHsl-D-BPy03y.js +24 -0
  121. package/dist/href-DpbLXQ4c.js +18 -0
  122. package/dist/{i18n-DUMRUvVc.js → i18n-B_TWnExv.js} +148 -150
  123. package/dist/i18n-CSaUFnlD.js +26 -0
  124. package/dist/iconWeight-BRXEDAh2.js +12 -0
  125. package/dist/{id-BGqV9_gI.js → id-Ttw95_7t.js} +2 -3
  126. package/dist/{id-CMQRjMxp.js → id-_6GFAYBn.js} +2 -2
  127. package/dist/image-field-B8x0WQ2j.js +139 -0
  128. package/dist/{imageUrl-xyMedKrE.js → imageUrl-iAS2Xo17.js} +1 -2
  129. package/dist/instant-BkZCSGDm.js +162 -0
  130. package/dist/{it-B_BQgPWl.js → it-CBbXcFY1.js} +2 -3
  131. package/dist/{it-hBxsIHz2.js → it-Dc-H_PdY.js} +2 -2
  132. package/dist/{ja-BGWo7WDj.js → ja-B2Tag7J3.js} +2 -3
  133. package/dist/{ja-D1vfwJgB.js → ja-Cobhk-xH.js} +2 -2
  134. package/dist/keyboard-Dk2PfrEz.js +28 -0
  135. package/dist/{ko-FKSzdHrm.js → ko-CcTn4lAi.js} +2 -3
  136. package/dist/{ko-CRTegEJ4.js → ko-CyTlg6vA.js} +2 -2
  137. package/dist/labels-CjSrA6gx.js +9 -0
  138. package/dist/{constants-D4yEpZuQ.js → labels-D8LN8lY7.js} +4 -4
  139. package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-jG8k1apa.js} +1 -2
  140. package/dist/loaders.static-Bw9asjrm.js +3 -0
  141. package/dist/locales/{4.3.135 → 4.3.138}/flow/de.js +1 -1
  142. package/dist/locales/{4.3.135 → 4.3.138}/flow/es.js +1 -1
  143. package/dist/locales/{4.3.135 → 4.3.138}/flow/fr.js +1 -1
  144. package/dist/locales/{4.3.135 → 4.3.138}/flow/id.js +1 -1
  145. package/dist/locales/{4.3.135 → 4.3.138}/flow/it.js +1 -1
  146. package/dist/locales/{4.3.135 → 4.3.138}/flow/ja.js +1 -1
  147. package/dist/locales/{4.3.135 → 4.3.138}/flow/ko.js +1 -1
  148. package/dist/locales/{4.3.135 → 4.3.138}/flow/nl.js +1 -1
  149. package/dist/locales/{4.3.135 → 4.3.138}/flow/pl.js +1 -1
  150. package/dist/locales/{4.3.135 → 4.3.138}/flow/pt-br.js +1 -1
  151. package/dist/locales/{4.3.135 → 4.3.138}/flow/tr.js +1 -1
  152. package/dist/locales/{4.3.135 → 4.3.138}/flow/zh.js +1 -1
  153. package/dist/locales/{4.3.135 → 4.3.138}/main/de.js +1 -1
  154. package/dist/locales/{4.3.135 → 4.3.138}/main/es.js +1 -1
  155. package/dist/locales/{4.3.135 → 4.3.138}/main/fr.js +1 -1
  156. package/dist/locales/{4.3.135 → 4.3.138}/main/id.js +1 -1
  157. package/dist/locales/{4.3.135 → 4.3.138}/main/it.js +1 -1
  158. package/dist/locales/{4.3.135 → 4.3.138}/main/ja.js +1 -1
  159. package/dist/locales/{4.3.135 → 4.3.138}/main/ko.js +1 -1
  160. package/dist/locales/{4.3.135 → 4.3.138}/main/nl.js +1 -1
  161. package/dist/locales/{4.3.135 → 4.3.138}/main/pl.js +1 -1
  162. package/dist/locales/{4.3.135 → 4.3.138}/main/pt-br.js +1 -1
  163. package/dist/locales/{4.3.135 → 4.3.138}/main/tr.js +1 -1
  164. package/dist/locales/{4.3.135 → 4.3.138}/main/zh.js +1 -1
  165. package/dist/logger-DM8WW61-.js +89 -0
  166. package/dist/look-island.svelte-B7UH_QVv.js +1270 -0
  167. package/dist/look-names-JI6GE-Zj.js +175 -0
  168. package/dist/looks/4.3.138/looks.js +248 -0
  169. package/dist/media-field-HieD0ye0.js +65 -0
  170. package/dist/modalManager.svelte-BvyrTI6p.js +51 -0
  171. package/dist/multiselect-field-CJ4lUJyS.js +61 -0
  172. package/dist/{navigation-Cochv2HZ.js → navigation-DpqP-ahJ.js} +28 -32
  173. package/dist/{nl-DhUZIqb8.js → nl-BObQMscG.js} +2 -2
  174. package/dist/{nl-Dhr_CNfS.js → nl-DeIqgjIs.js} +2 -3
  175. package/dist/{normalizers-CqGXhPZo.js → normalizers-WYh8Nr3V.js} +3 -5
  176. package/dist/number-field-D5GkkGLB.js +126 -0
  177. package/dist/numeric-filter-field-CRWZFu_P.js +131 -0
  178. package/dist/password-field-DdOHXEOo.js +157 -0
  179. package/dist/phone-CVYVhLn8.js +5 -0
  180. package/dist/phone-field-BaYmp56f.js +129 -0
  181. package/dist/phoneShape-VqbamHOn.js +20 -0
  182. package/dist/{phoneUtils-CL8tIxoM.js → phoneUtils-BhOvrS4S.js} +133 -193
  183. package/dist/{pixels-D_on_5fc.js → pixels-BXXzmoCb.js} +12 -18
  184. package/dist/{pl-vklyp95-.js → pl-Bm2FcD5y.js} +2 -3
  185. package/dist/{pl-D4bvrh0U.js → pl-_Sbz4Ou-.js} +2 -2
  186. package/dist/portal-BSuo4flQ.js +64 -0
  187. package/dist/portalContainment-DSZUw-No.js +78 -0
  188. package/dist/{pt-br-C8yaXBBu.js → pt-br-CpmhafxS.js} +2 -2
  189. package/dist/{pt-br-BcKTBYBf.js → pt-br-XS1Lsa6z.js} +2 -3
  190. package/dist/qrcode-By7ce_6K.js +5 -0
  191. package/dist/repeating-field-B4OhsaGB.js +488 -0
  192. package/dist/richtext-field-KmUytgBW.js +212 -0
  193. package/dist/{rolldown-runtime-DtPi1Y-2.js → rolldown-runtime-CYdcPHCu.js} +2 -3
  194. package/dist/searchable-select-field-DettZRav.js +138 -0
  195. package/dist/select-field-Wc4gAtou.js +72 -0
  196. package/dist/seo/seo.cjs +1 -1
  197. package/dist/seo/seo.mjs +24 -42
  198. package/dist/seo/types.d.ts +4 -1
  199. package/dist/serverTotals-COsx7Mc5.js +950 -0
  200. package/dist/{showcase-state-options-B5GUg7wk.js → showcase-state-options-CHGUaZtl.js} +5 -5
  201. package/dist/sizing-Chy28j6-.js +61 -0
  202. package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-Wq6bSSEz.js} +29 -49
  203. package/dist/spacing-Y1dLegqt.js +48 -0
  204. package/dist/{src-DZgagYE3.js → src-BpVpi-n3.js} +256 -398
  205. package/dist/time-field-CnxZcziR.js +53 -0
  206. package/dist/to-event-card-props-C9v9dspT.js +245 -0
  207. package/dist/{tr-C73ecvz8.js → tr-CN8DGCc-.js} +2 -2
  208. package/dist/{tr-B4gKhpQA.js → tr-zKAbMfgi.js} +2 -3
  209. package/dist/transitions-DST-mWoo.js +201 -0
  210. package/dist/tree-picker-field-aqux58EQ.js +344 -0
  211. package/dist/types/index.d.ts +2 -1
  212. package/dist/typography-CKwYSv07.js +57 -0
  213. package/dist/{utils-CNwfP0zV.js → utils-AIszIHUb.js} +8 -11
  214. package/dist/variants-B46fK2iV.js +63 -0
  215. package/dist/{venue-BBoZBuhu.js → venue-DLkL7xdj.js} +1 -2
  216. package/dist/venue-calendar.css +1 -1
  217. package/dist/venue-calendar.es.js +1697 -1827
  218. package/dist/venue-calendar.iife.js +24 -55
  219. package/dist/venue-calendar.umd.js +68 -76
  220. package/dist/{widget-key-context-DxoB6BR0.js → widget-key-context-BrWW0fyM.js} +28 -43
  221. package/dist/{zh-DWi3x7FQ.js → zh-BaZ_hYJV.js} +2 -2
  222. package/dist/{zh-CxcIisjW.js → zh-DHfgJplH.js} +2 -3
  223. package/package.json +16 -16
  224. package/src/lib/theme.js +222 -222
  225. package/dist/AddOnCard-_OX1BqWV.js +0 -340
  226. package/dist/Button-B58iYo_t.js +0 -1951
  227. package/dist/Button-VUB2WJ88.js +0 -178
  228. package/dist/Calendar-BV1XCdju.js +0 -466
  229. package/dist/CalendarFoundryView-CbAqIB4K.js +0 -21608
  230. package/dist/CartView-DtgNCACZ.js +0 -2299
  231. package/dist/Checkout-BnI2UqNd.js +0 -1082
  232. package/dist/Checkout-DpyT_TuS.js +0 -1872
  233. package/dist/CloseIcon--8LjBB63.js +0 -35
  234. package/dist/CropImage-D1M-bKxG.js +0 -548
  235. package/dist/EventPage-Bd3VBdhn.js +0 -1345
  236. package/dist/Grid-kuP6V0GW.js +0 -89
  237. package/dist/ModalFooter-Cru7v0io.js +0 -394
  238. package/dist/ModalHeader-CpgkuttK.js +0 -18
  239. package/dist/Success-LFYYWMod.js +0 -985
  240. package/dist/ViewTicketsEmbed-ClMXL5iX.js +0 -651
  241. package/dist/action-test-id-7RXdHucW.js +0 -145
  242. package/dist/adapter-BPpmiFWD.js +0 -164
  243. package/dist/api-C02BQT4E.js +0 -489
  244. package/dist/controlAria-CGb-KeRn.js +0 -30
  245. package/dist/createErrorGate.svelte-Qp6j3EME.js +0 -114
  246. package/dist/cta-BpblR0dm.js +0 -116
  247. package/dist/datetime-C_dBn97N.js +0 -410
  248. package/dist/defaultLabels-tC8zM7_V.js +0 -2558
  249. package/dist/defaults-Bv4F-cYY.js +0 -98
  250. package/dist/event-transform-Cp_h6-Ot.js +0 -353
  251. package/dist/i18n-s5MzdFwq.js +0 -28
  252. package/dist/imageOptimizer-Gew5vPWh.js +0 -224
  253. package/dist/keyboard-DhCcdIyh.js +0 -55
  254. package/dist/look-island.svelte-C27bvwqP.js +0 -1305
  255. package/dist/looks/4.3.135/looks.js +0 -242
  256. package/dist/modalManager.svelte-Cz_6x1Qd.js +0 -37
  257. package/dist/portal-D-oaEWsY.js +0 -43
  258. package/dist/portalContainment-CeAVqIb-.js +0 -281
  259. package/dist/serverTotals-2i39gy_x.js +0 -712
  260. package/dist/sizing-B7ixYndz.js +0 -216
  261. package/dist/to-event-card-props-q8vFqxkX.js +0 -205
  262. /package/dist/looks/{4.3.135 → 4.3.138}/micdrop-wordmark-BYMG6vLR.svg +0 -0
  263. /package/dist/looks/{4.3.135 → 4.3.138}/microphone-Ccv4r-kd.webp +0 -0
  264. /package/dist/looks/{4.3.135 → 4.3.138}/superuser-CZF6a5gO.webp +0 -0
  265. /package/dist/looks/{4.3.135 → 4.3.138}/treasury-DUE7lZzT.webp +0 -0
  266. /package/dist/looks/{4.3.135 → 4.3.138}/user-image-yuS4errP.svg +0 -0
@@ -0,0 +1,148 @@
1
+ import { x as e } from "./instant-BkZCSGDm.js";
2
+ import { c as t, i as n, r, t as i } from "./format-CypC4vWs.js";
3
+ import { c as a, h as o, i as s, n as c } from "./client-BIN_q-of.js";
4
+ import { n as l } from "./loaders.static-Bw9asjrm.js";
5
+ // src/lib/utils/ics.ts
6
+ function u(e) {
7
+ return e.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, "");
8
+ }
9
+ function d(e) {
10
+ return e ? e.replace(/\\/g, "\\\\").replace(/;/g, "\\;").replace(/,/g, "\\,").replace(/\n/g, "\\n") : "";
11
+ }
12
+ function f(e) {
13
+ let t = new Date(e.startDateTime), n = e.endDateTime ? new Date(e.endDateTime) : new Date(t.getTime() + 72e5), r = new URL(o()).host, i = `order-${e.orderId}-event-${e.eventId}@${r}`, a = u(/* @__PURE__ */ new Date()), s = [e.venueName, e.venueAddress].filter(Boolean).join(", "), c = e.eventUrl ? `Order #${e.orderId}\n\nView event: ${e.eventUrl}` : `Order #${e.orderId}`;
14
+ return [
15
+ "BEGIN:VCALENDAR",
16
+ "VERSION:2.0",
17
+ `PRODID:-//${d(e.venueName || r)}//Ticket Confirmation//EN`,
18
+ "CALSCALE:GREGORIAN",
19
+ "METHOD:PUBLISH",
20
+ "BEGIN:VEVENT",
21
+ `UID:${i}`,
22
+ `DTSTAMP:${a}`,
23
+ `DTSTART:${u(t)}`,
24
+ `DTEND:${u(n)}`,
25
+ `SUMMARY:${d(e.title)}`,
26
+ `LOCATION:${d(s)}`,
27
+ `DESCRIPTION:${d(c)}`,
28
+ ...e.eventUrl ? [`URL:${e.eventUrl}`] : [],
29
+ "STATUS:CONFIRMED",
30
+ "END:VEVENT",
31
+ "END:VCALENDAR"
32
+ ].join("\n");
33
+ }
34
+ function p(e) {
35
+ return `${(e || "event").replace(/[^a-zA-Z0-9\s-]/g, "").replace(/\s+/g, "-")}.ics`;
36
+ }
37
+ function m(e) {
38
+ return `data:text/calendar;charset=utf-8,${encodeURIComponent(f(e))}`;
39
+ }
40
+ function h(e) {
41
+ let t = new Blob([f(e)], { type: "text/calendar;charset=utf-8" }), n = URL.createObjectURL(t);
42
+ try {
43
+ let t = document.createElement("a");
44
+ t.href = n, t.download = p(e.title), document.body.appendChild(t), t.click(), t.remove();
45
+ } finally {
46
+ URL.revokeObjectURL(n);
47
+ }
48
+ }
49
+ // src/lib/view-tickets/defaults.ts
50
+ function g(e) {
51
+ return t(e);
52
+ }
53
+ function _(e, t) {
54
+ try {
55
+ let r = g(t), a = i(e, r, !0), o = n(e, r);
56
+ return !a || !o ? "" : `${a}, ${o}`;
57
+ } catch {
58
+ return "";
59
+ }
60
+ }
61
+ function v(e, t) {
62
+ try {
63
+ return r(e, g(t));
64
+ } catch {
65
+ return "";
66
+ }
67
+ }
68
+ function y(e) {
69
+ return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(`${e.name}, ${e.address}`)}`;
70
+ }
71
+ function b(e, t, n) {
72
+ let r = new Date(e.startDateTime), i = e.endDateTime ? new Date(e.endDateTime) : new Date(r.getTime() + 72e5), a = (e) => e.toISOString().replace(/[-:]/g, "").replace(/\.\d{3}/, ""), o = `${t.name}, ${t.address}`, s = new URLSearchParams({
73
+ action: "TEMPLATE",
74
+ text: e.title,
75
+ dates: `${a(r)}/${a(i)}`,
76
+ location: o,
77
+ details: `Order ${n}`
78
+ }), c = new URLSearchParams({
79
+ subject: e.title,
80
+ startdt: r.toISOString(),
81
+ enddt: i.toISOString(),
82
+ location: o,
83
+ body: `Order ${n}`
84
+ });
85
+ return {
86
+ google: `https://calendar.google.com/calendar/render?${s}`,
87
+ apple: m({
88
+ orderId: n.replace(/^#/, ""),
89
+ eventId: e.id,
90
+ title: e.title,
91
+ startDateTime: e.startDateTime,
92
+ endDateTime: e.endDateTime,
93
+ venueName: t.name,
94
+ venueAddress: t.address
95
+ }),
96
+ outlook: `https://outlook.live.com/calendar/0/action/compose?${c}`
97
+ };
98
+ }
99
+ async function x(e, t = 200) {
100
+ let { qrToString: n } = await l(), r = await n(e, {
101
+ type: "svg",
102
+ margin: 1,
103
+ width: t,
104
+ color: {
105
+ dark: "#000000",
106
+ light: "#ffffff"
107
+ }
108
+ });
109
+ return `data:image/svg+xml,${encodeURIComponent(r)}`;
110
+ }
111
+ function S(e) {
112
+ return `${a()}/orders/${e}/pdf`;
113
+ }
114
+ function C(e) {
115
+ return `${a()}/tickets/${e}/apple-wallet`;
116
+ }
117
+ async function w(e, t) {
118
+ let n = await c(`${a()}/tickets/${e}/google-wallet`, {
119
+ suppressOnError: !0,
120
+ widgetKey: t
121
+ });
122
+ return n.success && n.data?.saveUrl || null;
123
+ }
124
+ async function T(e, t) {
125
+ let n = C(e), [r, i] = await Promise.all([s(`${a()}/tickets/${e}/apple-wallet`, { widgetKey: t }), w(e, t)]);
126
+ return {
127
+ apple: r ? n : null,
128
+ google: i
129
+ };
130
+ }
131
+ var E = /* @__PURE__ */ new Map();
132
+ function D(t, n) {
133
+ let r = E.get(t);
134
+ return r || (r = (async () => {
135
+ let r = await c(`${a()}/orders/${t}/tickets`, {
136
+ suppressOnError: !0,
137
+ widgetKey: n
138
+ }), i = r.success ? r.data?.tickets?.[0]?.id : null;
139
+ return i ? T(e(i), n) : {
140
+ apple: null,
141
+ google: null
142
+ };
143
+ })().finally(() => E.delete(t)), E.set(t, r)), r;
144
+ }
145
+ function O(e) {
146
+ return `${a()}/orders/${e}/tickets`;
147
+ }
148
+ export { D as a, v as c, p as d, O as i, x as l, y as n, T as o, S as r, _ as s, b as t, h as u };
@@ -0,0 +1,4 @@
1
+ import { t as e } from "./logger-DM8WW61-.js";
2
+ e("deprecation");
3
+ function t(e) {}
4
+ export { t };
@@ -1,10 +1,9 @@
1
- //#region node_modules/escape-string-regexp/index.js
1
+ // node_modules/escape-string-regexp/index.js
2
2
  function e(e) {
3
3
  if (typeof e != "string") throw TypeError("Expected a string");
4
4
  return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
5
5
  }
6
- //#endregion
7
- //#region node_modules/check-password-strength/dist/index.mjs
6
+ // node_modules/check-password-strength/dist/index.mjs
8
7
  var t = [
9
8
  {
10
9
  id: 0,
@@ -61,5 +60,4 @@ var t = [
61
60
  defaultOptions: t,
62
61
  owaspSymbols: n
63
62
  };
64
- //#endregion
65
63
  export { i as default, t as defaultOptions, n as owaspSymbols, r as passwordStrength };
@@ -1,4 +1,4 @@
1
- //#region src/lib/public-calendar-flow/i18n/locales/es.js
1
+ // src/lib/public-calendar-flow/i18n/locales/es.js
2
2
  var e = {
3
3
  decrease: "Reducir",
4
4
  increase: "Aumentar",
@@ -147,6 +147,7 @@ var e = {
147
147
  order: "Pedido",
148
148
  confirmationSentTo: "Confirmación enviada a",
149
149
  downloadPdf: "Descargar PDF",
150
+ cardStatementAs: "Este cargo aparece en el estado de cuenta de tu tarjeta como {descriptor}",
150
151
  messageFromOrganizer: "Una nota del organizador",
151
152
  addToCalendar: "Agregar al calendario",
152
153
  googleCalendar: "Google Calendar",
@@ -223,5 +224,4 @@ var e = {
223
224
  shareX: "X",
224
225
  shareMore: "Más"
225
226
  };
226
- //#endregion
227
227
  export { e as es };
@@ -1,4 +1,4 @@
1
- //#region src/lib/i18n/locales/es.js
1
+ // src/lib/i18n/locales/es.js
2
2
  var e = {
3
3
  viewList: "Lista",
4
4
  viewGallery: "Galería",
@@ -457,7 +457,6 @@ var e = {
457
457
  nShowtimes: "{n} horarios",
458
458
  checkoutUnavailableTitle: "La venta de boletos en línea no está disponible aquí",
459
459
  checkoutUnavailableBody: "Puedes ver los próximos shows abajo, pero por ahora no se pueden comprar boletos en este sitio web. Visita la página de boletos del lugar o contáctalo para reservar.",
460
- checkoutUnavailableOwnerNote: "Propietario del sitio: {origin} no está registrado para el proceso de compra. Pide a Micdrop que agregue este dominio a los dominios de inserción permitidos de tu organización — los cambios tardan hasta 5 minutos en aplicarse.",
461
460
  waitlistWindowNotice: "Estos boletos se mantienen reservados para ti durante",
462
461
  waitlistWindowSuffix: "— después, tu lugar pasa a la siguiente persona en la fila",
463
462
  waitlistWindowExpired: "Tu ventana de compra ha expirado — el asiento se está ofreciendo a la siguiente persona en la fila",
@@ -508,6 +507,7 @@ var e = {
508
507
  addToAppleWallet: "Agregar a Apple Wallet",
509
508
  addToGoogleWallet: "Agregar a Google Wallet",
510
509
  downloadPdf: "Descargar PDF",
510
+ cardStatementAs: "Este cargo aparece en el estado de cuenta de tu tarjeta como {descriptor}",
511
511
  addToCalendarPrefix: "Agregar al calendario:",
512
512
  getDirections: "Cómo llegar",
513
513
  requestARefund: "Solicitar un reembolso",
@@ -549,5 +549,4 @@ var e = {
549
549
  ticketsAtTheDoor: "Entradas en taquilla",
550
550
  showAtTime: "Show {time}"
551
551
  };
552
- //#endregion
553
552
  export { e as es };
@@ -1,6 +1,6 @@
1
- import { _ as e } from "./defaultLabels-tC8zM7_V.js";
2
- import { n as t } from "./imageUrl-xyMedKrE.js";
3
- //#region src/lib/api/transformers/event.ts
1
+ import { s as e } from "./instant-BkZCSGDm.js";
2
+ import { n as t } from "./imageUrl-iAS2Xo17.js";
3
+ // src/lib/api/transformers/event.ts
4
4
  function n(e) {
5
5
  return t(e, { cdn: !0 });
6
6
  }
@@ -124,5 +124,4 @@ function s(e) {
124
124
  purchasedTickets: t.purchasedTickets
125
125
  };
126
126
  }
127
- //#endregion
128
127
  export { s as t };
@@ -0,0 +1,250 @@
1
+ import { c as e } from "./format-CypC4vWs.js";
2
+ import { t } from "./imageUrl-iAS2Xo17.js";
3
+ import { b as n, h as r, v as i, x as a, y as o } from "./navigation-DpqP-ahJ.js";
4
+ import { a as s, l as c, n as l, s as u, u as d } from "./datetime-BlEsN_-8.js";
5
+ import { t as f } from "./colors-CdP193E5.js";
6
+ import { t as p } from "./event-CEg17hts.js";
7
+ // src/lib/utils/event-transform.js
8
+ var m = "data:image/svg+xml," + encodeURIComponent(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 300" fill="none">
9
+ <rect width="200" height="300" fill="${f[200]}"/>
10
+ <rect x="60" y="90" width="80" height="80" rx="10" fill="${f[300]}"/>
11
+ <circle cx="85" cy="115" r="10" fill="${f[400]}"/>
12
+ <path d="M70 155 L100 125 L130 155 L130 155" stroke="${f[400]}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
13
+ </svg>`);
14
+ function h(e) {
15
+ return t(e, { placeholder: m });
16
+ }
17
+ var g = /* @__PURE__ */ new Map(), _ = 64;
18
+ function v(e, t, n) {
19
+ let r = `${e}|${t}|${JSON.stringify(n)}`, i = g.get(r);
20
+ if (i) return g.delete(r), g.set(r, i), i;
21
+ if (i = new Intl.DateTimeFormat(e, {
22
+ ...n,
23
+ timeZone: t
24
+ }), g.set(r, i), g.size > _) {
25
+ let e = g.keys().next().value;
26
+ g.delete(e);
27
+ }
28
+ return i;
29
+ }
30
+ function y(e, t, n) {
31
+ if (!e) return "";
32
+ let r = new Date(e);
33
+ return isNaN(r.getTime()) ? "" : v("en-US", t, n).format(r);
34
+ }
35
+ function b(e, t) {
36
+ if (!e.startDateTime) return "";
37
+ try {
38
+ return e.endDateTime ? c(e.startDateTime, e.endDateTime, t) : u(e.startDateTime, t);
39
+ } catch {
40
+ let n = {
41
+ hour: "numeric",
42
+ minute: "2-digit",
43
+ hour12: !0
44
+ }, r = y(e.startDateTime, t, n);
45
+ if (!e.endDateTime) return r;
46
+ let i = y(e.endDateTime, t, n);
47
+ return r && i ? `${r} - ${i}` : r;
48
+ }
49
+ }
50
+ function x(e, t) {
51
+ if (!e) return {
52
+ day: "",
53
+ month: "",
54
+ dateOfMonth: ""
55
+ };
56
+ try {
57
+ let n = d(e, t);
58
+ return {
59
+ day: n.day,
60
+ month: n.month,
61
+ dateOfMonth: String(n.date)
62
+ };
63
+ } catch {
64
+ return {
65
+ day: y(e, t, { weekday: "short" }),
66
+ month: y(e, t, { month: "short" }),
67
+ dateOfMonth: y(e, t, { day: "numeric" })
68
+ };
69
+ }
70
+ }
71
+ var S = {
72
+ BROWSE: "browse",
73
+ DETAIL: "detail"
74
+ };
75
+ function C(t, n = { mode: S.DETAIL }) {
76
+ let { mode: r = S.DETAIL } = n;
77
+ if (!t) return r === S.BROWSE ? D() : O();
78
+ let i = p(t), a = e(i.timeZone || i.timezone), o = h(t), s = {
79
+ id: i.id,
80
+ name: i.title || "",
81
+ image: o,
82
+ timeZone: a,
83
+ startDateTime: i.startDateTime || null,
84
+ salesStatus: i.salesStatus
85
+ };
86
+ return r === S.BROWSE ? w(t, i, s, a) : T(t, i, s, a, o);
87
+ }
88
+ function w(e, a, o, s) {
89
+ let c = a.startDateTime ? l(a.startDateTime, s) : "", u;
90
+ if (typeof a.ticketsRemaining == "number" && typeof a.ticketsTotal == "number") {
91
+ let e = a.ticketsRemaining, t = a.ticketsTotal;
92
+ u = {
93
+ totalRemaining: e,
94
+ totalCapacity: t,
95
+ isSoldOut: t > 0 && e <= 0
96
+ };
97
+ } else {
98
+ let t = n(e.availableTickets || [], {
99
+ excludeDoorOnly: !0,
100
+ publicOnly: !0
101
+ });
102
+ u = i(t);
103
+ }
104
+ return {
105
+ ...o,
106
+ image: t(e, { placeholder: "" }),
107
+ date: c || a.date || "",
108
+ status: a.status || "On Sale",
109
+ timeline: b(a, s),
110
+ endDateTime: a.endDateTime || null,
111
+ description: a.description || a.eventSummary || "",
112
+ venueId: a.venueId,
113
+ eventSeriesId: a.eventSeriesId || null,
114
+ ticketsRemaining: u.totalRemaining,
115
+ ticketsTotal: u.totalCapacity,
116
+ isSoldOut: u.isSoldOut,
117
+ hasPurchasableHiddenTickets: r(e),
118
+ stageId: a.stageId ?? null,
119
+ eventCategoryTypes: a.eventCategoryTypes ?? null,
120
+ ageRestriction: a.ageRestriction ?? null,
121
+ stageName: a.stage?.name || a.stageName || void 0,
122
+ doorsOpenTime: a.doorsOpenTime,
123
+ displayDoorsTime: a.displayDoorsTime,
124
+ displayStartTime: a.displayStartTime,
125
+ displayAgeRestriction: a.displayAgeRestriction,
126
+ publicPerformers: a.publicPerformers ?? null,
127
+ collectionIds: a.collectionIds ?? null
128
+ };
129
+ }
130
+ function T(e, t, i, s, c) {
131
+ let l = (e.availableTickets || []).map((e) => ({
132
+ ...e,
133
+ status: o(e)
134
+ })), u = n(l, {
135
+ excludeDoorOnly: !1,
136
+ publicOnly: !0
137
+ }), d = x(t.startDateTime, s);
138
+ return {
139
+ ...i,
140
+ date: t.startDateTime ? E(t.startDateTime, s) : null,
141
+ endDateTime: t.endDateTime,
142
+ description: t.description,
143
+ timeline: y(t.startDateTime, s, {
144
+ hour: "numeric",
145
+ minute: "2-digit",
146
+ hour12: !0
147
+ }),
148
+ location: t.venue?.googleLocationNameCache || t.venue?.address || "",
149
+ ...d,
150
+ coverImage: c,
151
+ price: a(e.availableTickets),
152
+ status: t.status || "On Sale",
153
+ eventSummary: t.eventSummary,
154
+ password: t.password,
155
+ availableTickets: l,
156
+ publicTickets: u,
157
+ ...e.addOns ? { addOns: e.addOns } : {},
158
+ hasPurchasableHiddenTickets: r(e),
159
+ doorsOpenTime: t.doorsOpenTime,
160
+ venue: t.venue,
161
+ venueID: t.venueId,
162
+ eventID: e.ID,
163
+ stage: t.stage,
164
+ performers: t.performers,
165
+ ticketType: t.ticketType,
166
+ eventTicketingType: t.eventTicketingType,
167
+ purchasedTickets: t.purchasedTickets,
168
+ ShowImage: c,
169
+ displayStartTime: t.displayStartTime,
170
+ displayEndTime: t.displayEndTime,
171
+ displayDoorsTime: t.displayDoorsTime,
172
+ ageRestriction: t.ageRestriction || null,
173
+ minimumAge: t.ageRestriction || null,
174
+ ageRequirement: t.ageRestriction ? `${t.ageRestriction}` : null,
175
+ hasAgeRestriction: !!t.ageRestriction,
176
+ displayAgeRestriction: t.displayAgeRestriction ?? !1
177
+ };
178
+ }
179
+ function E(e, t) {
180
+ return e && s(e, t, {
181
+ weekday: "short",
182
+ month: "short",
183
+ day: "numeric",
184
+ year: "numeric"
185
+ }) || null;
186
+ }
187
+ function D() {
188
+ return {
189
+ id: null,
190
+ name: "",
191
+ date: "",
192
+ image: "",
193
+ status: "unavailable",
194
+ timeline: "",
195
+ description: "",
196
+ venueId: null,
197
+ timeZone: "UTC",
198
+ eventSeriesId: null,
199
+ startDateTime: null,
200
+ ticketsRemaining: 0,
201
+ ticketsTotal: 0,
202
+ isSoldOut: !1,
203
+ hasPurchasableHiddenTickets: !1
204
+ };
205
+ }
206
+ function O() {
207
+ return {
208
+ id: null,
209
+ name: "",
210
+ date: null,
211
+ startDateTime: null,
212
+ endDateTime: null,
213
+ description: "",
214
+ timeline: "",
215
+ location: "",
216
+ day: "",
217
+ month: "",
218
+ dateOfMonth: null,
219
+ image: "",
220
+ coverImage: "",
221
+ price: 0,
222
+ status: "unavailable",
223
+ eventSummary: "",
224
+ password: "",
225
+ availableTickets: [],
226
+ publicTickets: [],
227
+ hasPurchasableHiddenTickets: !1,
228
+ doorsOpenTime: null,
229
+ venue: null,
230
+ venueID: null,
231
+ eventID: null,
232
+ stage: null,
233
+ performers: [],
234
+ ticketType: 0,
235
+ eventTicketingType: 0,
236
+ purchasedTickets: [],
237
+ ShowImage: "",
238
+ displayStartTime: null,
239
+ displayEndTime: null,
240
+ ageRestriction: null,
241
+ minimumAge: null,
242
+ ageRequirement: null,
243
+ hasAgeRestriction: !1,
244
+ timeZone: "UTC"
245
+ };
246
+ }
247
+ function k(e) {
248
+ return C(e, { mode: S.BROWSE });
249
+ }
250
+ export { C as n, k as r, S as t };
@@ -1,6 +1,6 @@
1
- import { g as e } from "./sizing-B7ixYndz.js";
2
- import { c as t, g as n } from "./client-SmFkruvn.js";
3
- //#region src/lib/public-calendar-flow/eventStatusStream.ts
1
+ import { t as e } from "./logger-DM8WW61-.js";
2
+ import { c as t, g as n } from "./client-BIN_q-of.js";
3
+ // src/lib/public-calendar-flow/eventStatusStream.ts
4
4
  var r = e("VC"), i = /* @__PURE__ */ new Set([
5
5
  "canceled",
6
6
  "postponed",
@@ -39,9 +39,7 @@ function s(e, t, n = {}) {
39
39
  u.close();
40
40
  } catch {}
41
41
  l(n.keylessUrl);
42
- return;
43
- }
44
- r.warn("statusStream: stream closed — live status is off for this view", e), n.onFatal?.(c ? "keyless-closed" : "closed");
42
+ } else r.warn("statusStream: stream closed — live status is off for this view", e), n.onFatal?.(c ? "keyless-closed" : "closed");
45
43
  }
46
44
  });
47
45
  }
@@ -71,5 +69,4 @@ function l(e, r, i) {
71
69
  onFatal: r.onFatal
72
70
  });
73
71
  }
74
- //#endregion
75
72
  export { l as n, c as t };