@getmicdrop/venue-calendar 4.3.138 → 4.3.139
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.
- package/README.md +895 -840
- package/dist/AddOnCard-Dlt_4lut.js +475 -0
- package/dist/{Button-B_gbGd63.js → Button-Ch5dRGa2.js} +1 -1
- package/dist/{Button-B1cBhdtC.js → Button-DpeQSoQ7.js} +58 -45
- package/dist/Calendar-CNWS2xiR.js +396 -0
- package/dist/CalendarFoundryView-B5puOxH5.js +16431 -0
- package/dist/{ChartBlock-DcsCXfX8.js → ChartBlock-vihMKVdW.js} +2 -2
- package/dist/Checkout-B2FvX6Af.js +1070 -0
- package/dist/Checkout-y0x-v-XH.js +1995 -0
- package/dist/{ChevronDownOutline-kFgRY2cg.js → CloseOutline-Bh9UO94v.js} +2 -2
- package/dist/{CollectionView-C0vDg5oJ.js → CollectionView-CcLlV-1f.js} +22 -24
- package/dist/{CropImage-BWYeQXXA.js → CropImage-DqLAGy5s.js} +6 -6
- package/dist/{DatePicker-v-4ijT8N.js → DatePicker-D20Te0JY.js} +222 -215
- package/dist/{Event-vlu8IAxh.js → Event-DoIU0o6C.js} +799 -796
- package/dist/{EventCard-puoh3xag.js → EventCard-B8MYLyIW.js} +1 -1
- package/dist/EventPage-DM4tjCcL.js +1298 -0
- package/dist/{FilterChipGroup-DUGvOaRI.js → FilterChipGroup-BCjc7-pE.js} +1 -1
- package/dist/{ImageUploader-CKrf5amy.js → ImageUploader-BzxKIyLN.js} +324 -375
- package/dist/{Input-BQk4itex.js → Input-Bp5EgI1F.js} +5 -3
- package/dist/Modal-C6EXgkuF.js +159 -0
- package/dist/{ModalFooter-gFaDKsfj.js → ModalFooter-C4TD3-zP.js} +1 -1
- package/dist/{ModalTitle-CS5AGwrU.js → ModalTitle-BP4Bm3sA.js} +1 -1
- package/dist/{PasswordInput-C65GqxdF.js → PasswordInput-BlzSrkPs.js} +1 -1
- package/dist/{PhoneInput-Dj1I3bEn.js → PhoneInput-_ByjRGQ0.js} +2 -2
- package/dist/{RecommendationsRail-DC5qX1ei.js → RecommendationsRail-BDNnbL-p.js} +53 -50
- package/dist/{Search-BE64QcmK.js → Search-vhGEpog6.js} +1 -1
- package/dist/SeriesPage-YE8czX1M.js +32 -0
- package/dist/{SkeletonLoader-DfW0N9R3.js → SkeletonLoader-Beh2izdy.js} +1 -1
- package/dist/Spinner-DgubkWKo.js +88 -0
- package/dist/{Success-D3CrUeka.js → Success-CN5HB8gN.js} +164 -166
- package/dist/{TimePicker-HYzPI_Dc.js → TimePicker-BDuy9Ap8.js} +1 -1
- package/dist/{ViewTicketsEmbed-DzUCgtA3.js → ViewTicketsEmbed-DvoMIiKJ.js} +9 -10
- package/dist/{address-field-BwGHcMKY.js → address-field-DOalICpt.js} +2 -2
- package/dist/{allowlist-Bt1BHhNd.js → allowlist-DinkGF2L.js} +77 -68
- package/dist/api/api.cjs +1 -1
- package/dist/api/api.mjs +320 -297
- package/dist/api/client.d.ts +14 -53
- package/dist/api/events.d.ts +15 -1
- package/dist/api/result.d.ts +9 -0
- package/dist/{api-CRHFSJDI.js → api-CsAx0rmV.js} +150 -145
- package/dist/{avatar-picker-field-CSF5okeM.js → avatar-picker-field-CV4vRxTB.js} +14 -14
- package/dist/{checkoutState-BDNjJRMG.js → checkoutState-DSx7g3Vy.js} +12 -21
- package/dist/{client-BIN_q-of.js → client-SaDt6559.js} +18 -12
- package/dist/{constants-DrFV2oht.js → constants-sRRJh0u-.js} +1 -1
- package/dist/{date-field-3tgOYbzF.js → date-field-DylJx0y7.js} +9 -9
- package/dist/{date-range-field-D0Aq9me9.js → date-range-field-BOV1V2ab.js} +7 -7
- package/dist/{de-CUrE_4a4.js → de-CzkX3H3B.js} +1 -0
- package/dist/{defaultLabels-CybwJCNn.js → defaultLabels-DLK6rq4q.js} +1 -0
- package/dist/{defaults-B5wyre5O.js → defaults-Cbuin1WS.js} +2 -3
- package/dist/{es-B2-z2Kft.js → es-BOLzv8eD.js} +1 -0
- package/dist/{event-CEg17hts.js → event-ClsLWtR0.js} +1 -1
- package/dist/{event-transform-DqFigNQg.js → event-transform-Cs63X0hI.js} +42 -42
- package/dist/{eventStatusStream-DK5fWCTB.js → eventStatusStream-BAh5nJP2.js} +1 -1
- package/dist/{field-rules-CKFFB16Q.js → field-rules-Yb2JY1qT.js} +1 -1
- package/dist/{file-field-2mPz4Da-.js → file-field-Dwo80kDg.js} +4 -4
- package/dist/format-CehusdDg.js +1718 -0
- package/dist/{formatters-CzKNRUwz.js → formatters-DUWbI_Eg.js} +25 -35
- package/dist/{fr-CiePVIlj.js → fr-DYTIBBXo.js} +1 -0
- package/dist/{href-DpbLXQ4c.js → href-BXhNawil.js} +1 -1
- package/dist/i18n-BNF6a-QA.js +720 -0
- package/dist/i18n-F_QOaHVh.js +26 -0
- package/dist/{id-Ttw95_7t.js → id-CIyIkGhH.js} +1 -0
- package/dist/{image-field-B8x0WQ2j.js → image-field-DeLzsJlz.js} +2 -2
- package/dist/{it-CBbXcFY1.js → it-CF4Db_nK.js} +1 -0
- package/dist/{ja-B2Tag7J3.js → ja-5-7WNHD1.js} +1 -0
- package/dist/{ko-CcTn4lAi.js → ko-huIzHR3W.js} +1 -0
- package/dist/locales/4.3.139/main/de.js +1 -0
- package/dist/locales/4.3.139/main/es.js +1 -0
- package/dist/locales/4.3.139/main/fr.js +1 -0
- package/dist/locales/4.3.139/main/id.js +1 -0
- package/dist/locales/4.3.139/main/it.js +1 -0
- package/dist/locales/4.3.139/main/ja.js +1 -0
- package/dist/locales/4.3.139/main/ko.js +1 -0
- package/dist/locales/4.3.139/main/nl.js +1 -0
- package/dist/locales/4.3.139/main/pl.js +1 -0
- package/dist/locales/4.3.139/main/pt-br.js +1 -0
- package/dist/locales/4.3.139/main/tr.js +1 -0
- package/dist/locales/4.3.139/main/zh.js +1 -0
- package/dist/look-island.svelte-D87MvHNy.js +1296 -0
- package/dist/{look-names-JI6GE-Zj.js → look-names-B9MywEzX.js} +68 -58
- package/dist/looks/4.3.139/AddOnCard-CKdkGcHH.js +1 -0
- package/dist/looks/4.3.139/Checkout-D7CaFYTE.js +1 -0
- package/dist/looks/4.3.139/Checkout-DuP46PMi.js +3 -0
- package/dist/looks/4.3.139/CollectionView-CWm57JCx.js +1 -0
- package/dist/looks/4.3.139/Event-ePupb4qY.js +8 -0
- package/dist/looks/4.3.139/EventPage-CgexXhEU.js +1 -0
- package/dist/looks/4.3.139/RecommendationsRail-Bz-Mj_r4.js +2 -0
- package/dist/looks/4.3.139/SeriesPage-DI2uFF0Y.js +1 -0
- package/dist/looks/4.3.139/Success-BkMzmgmc.js +3 -0
- package/dist/looks/4.3.139/ViewTicketsEmbed-CbEJwRry.js +1 -0
- package/dist/looks/4.3.139/_vc-foundry-calendar-stub-BVbAFEK2.js +1 -0
- package/dist/looks/4.3.139/buyerEmail-CqCYa9UL.js +1 -0
- package/dist/looks/4.3.139/constants-CU_ZgyQu.js +3 -0
- package/dist/looks/4.3.139/defaults-B46SFFK4.js +2 -0
- package/dist/looks/4.3.139/dist-BWGSqtWN.js +1 -0
- package/dist/looks/4.3.139/eventStatusStream-CW5lJwsa.js +10 -0
- package/dist/looks/4.3.139/first-core-DrYq9wBy.js +151 -0
- package/dist/looks/4.3.139/first-mount.svelte-DFSLaJWm.js +1 -0
- package/dist/looks/4.3.139/first-seo-DvHuCXT6.js +1 -0
- package/dist/looks/4.3.139/first.js +1 -0
- package/dist/looks/4.3.139/full-widget-DDBk3i4U.js +2 -0
- package/dist/looks/4.3.139/gate-password-cache-D4Zls6QM.js +1 -0
- package/dist/looks/4.3.139/i18n-DRaFNYsQ.js +1 -0
- package/dist/looks/4.3.139/listing-BSaRTkxW.js +1 -0
- package/dist/looks/4.3.139/loaders.runtime-BNG8O6-A.js +1 -0
- package/dist/looks/4.3.139/looks.js +1 -0
- package/dist/looks/4.3.139/modalManager.svelte-CqQWYz9Y.js +1 -0
- package/dist/looks/4.3.139/rolldown-runtime-4tVxZq34.js +1 -0
- package/dist/looks/4.3.139/serverTotals-Bu1fAPLB.js +1 -0
- package/dist/looks/4.3.139/showcase-state-options-CpCMAKVD.js +1 -0
- package/dist/looks/4.3.139/utils-pGRhH4A-.js +1 -0
- package/dist/{media-field-HieD0ye0.js → media-field-PW8ye6EL.js} +2 -2
- package/dist/modalManager.svelte-BHE0t9q3.js +79 -0
- package/dist/{multiselect-field-CJ4lUJyS.js → multiselect-field-CmocFs5f.js} +2 -2
- package/dist/navigation-B8rkS2On.js +348 -0
- package/dist/{nl-DeIqgjIs.js → nl-B1dv1lqk.js} +1 -0
- package/dist/{number-field-D5GkkGLB.js → number-field-CUD936Ai.js} +3 -3
- package/dist/{numeric-filter-field-CRWZFu_P.js → numeric-filter-field-BmgSYhOt.js} +3 -3
- package/dist/{password-field-DdOHXEOo.js → password-field-BfvcZUi_.js} +1 -1
- package/dist/{phone-field-BaYmp56f.js → phone-field-DO0U_YZ6.js} +17 -18
- package/dist/{pixels-BXXzmoCb.js → pixels-ipedGW6i.js} +7 -7
- package/dist/{pl-Bm2FcD5y.js → pl-DLlM_IPo.js} +1 -0
- package/dist/{pt-br-XS1Lsa6z.js → pt-br-8V3mf7pu.js} +1 -0
- package/dist/repeating-field-BwtJ6VS1.js +488 -0
- package/dist/{richtext-field-KmUytgBW.js → richtext-field-DvLCxPvq.js} +2 -2
- package/dist/{datetime-BlEsN_-8.js → scarcity-DfQvyhJP.js} +74 -85
- package/dist/{searchable-select-field-DettZRav.js → searchable-select-field-zuIqfoQM.js} +17 -17
- package/dist/{select-field-Wc4gAtou.js → select-field-DNNN-a9q.js} +6 -6
- package/dist/seo/HostSeoController.d.ts +13 -0
- package/dist/seo/seo.cjs +1 -1
- package/dist/seo/seo.mjs +18 -11
- package/dist/{serverTotals-COsx7Mc5.js → serverTotals-BprgDwOw.js} +1 -1
- package/dist/{showcase-state-options-CHGUaZtl.js → showcase-state-options-bKRf48yz.js} +2 -2
- package/dist/{time-field-CnxZcziR.js → time-field-DmPCoppV.js} +2 -2
- package/dist/{to-event-card-props-C9v9dspT.js → to-event-card-props-KVcCJ2JF.js} +34 -34
- package/dist/{tr-zKAbMfgi.js → tr-DiUEV65j.js} +1 -0
- package/dist/{tree-picker-field-aqux58EQ.js → tree-picker-field-BJwSFAqm.js} +8 -8
- package/dist/types/index.d.ts +3 -0
- package/dist/{utils-AIszIHUb.js → utils-x8YXRKvr.js} +12 -12
- package/dist/venue-BjLCg-PW.js +38 -0
- package/dist/venue-calendar.css +1 -1
- package/dist/venue-calendar.es.js +1655 -1539
- package/dist/venue-calendar.iife.js +1 -54
- package/dist/venue-calendar.umd.js +69 -63
- package/dist/{widget-key-context-BrWW0fyM.js → widget-key-context-dHM9FiuJ.js} +8 -37
- package/dist/{zh-DHfgJplH.js → zh-Cej2EPQt.js} +1 -0
- package/package.json +2 -2
- package/src/lib/constants/scarcity.ts +1 -2
- package/dist/AddOnCard-DEAC26HA.js +0 -348
- package/dist/BlockPlaceholder-BKfoE795.js +0 -59
- package/dist/Calendar-9xskvKUf.js +0 -395
- package/dist/CalendarFoundryView-DbxZNmY7.js +0 -16356
- package/dist/CartView-DMINN6bY.js +0 -2200
- package/dist/Checkbox-sObkYRdj.js +0 -60
- package/dist/Checkout-H9RGBU9D.js +0 -1071
- package/dist/Checkout-VnochAZE.js +0 -1967
- package/dist/CheckoutTimer-mjcYR3XU.js +0 -42
- package/dist/EventPage-DycxjX5Z.js +0 -1301
- package/dist/Modal-DOpDiAwN.js +0 -102
- package/dist/ScarcityBadge-BAaV2CIY.js +0 -141
- package/dist/SeriesPage-Cx89s2B6.js +0 -34
- package/dist/Skeleton-B6qB_udJ.js +0 -31
- package/dist/Spinner-Bj4dr9kO.js +0 -19
- package/dist/Textarea-BDcuBI13.js +0 -72
- package/dist/__SKIP_NAVIGATION__-Znm_vYcG.js +0 -5
- package/dist/__SKIP_PATHS__-Bzzrca_a.js +0 -5
- package/dist/calendar-Cdu8fCIt.js +0 -111
- package/dist/cta-qbcIt5Gh.js +0 -116
- package/dist/format-CypC4vWs.js +0 -1587
- package/dist/heic-to-BoLfsr3l.js +0 -70
- package/dist/i18n-B_TWnExv.js +0 -495
- package/dist/i18n-CSaUFnlD.js +0 -26
- package/dist/instant-BkZCSGDm.js +0 -162
- package/dist/labels-D8LN8lY7.js +0 -227
- package/dist/locales/4.3.138/main/de.js +0 -1
- package/dist/locales/4.3.138/main/es.js +0 -1
- package/dist/locales/4.3.138/main/fr.js +0 -1
- package/dist/locales/4.3.138/main/id.js +0 -1
- package/dist/locales/4.3.138/main/it.js +0 -1
- package/dist/locales/4.3.138/main/ja.js +0 -1
- package/dist/locales/4.3.138/main/ko.js +0 -1
- package/dist/locales/4.3.138/main/nl.js +0 -1
- package/dist/locales/4.3.138/main/pl.js +0 -1
- package/dist/locales/4.3.138/main/pt-br.js +0 -1
- package/dist/locales/4.3.138/main/tr.js +0 -1
- package/dist/locales/4.3.138/main/zh.js +0 -1
- package/dist/look-island.svelte-B7UH_QVv.js +0 -1270
- package/dist/looks/4.3.138/looks.js +0 -248
- package/dist/modalManager.svelte-BvyrTI6p.js +0 -51
- package/dist/navigation-DpqP-ahJ.js +0 -241
- package/dist/repeating-field-B4OhsaGB.js +0 -488
- package/dist/venue-DLkL7xdj.js +0 -12
- /package/dist/checkout-libs/{4.3.138 → 4.3.139}/phone.js +0 -0
- /package/dist/checkout-libs/{4.3.138 → 4.3.139}/qrcode.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/de.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/es.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/fr.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/id.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/it.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/ja.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/ko.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/nl.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/pl.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/pt-br.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/tr.js +0 -0
- /package/dist/locales/{4.3.138 → 4.3.139}/flow/zh.js +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/micdrop-wordmark-BYMG6vLR.svg +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/microphone-Ccv4r-kd.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/superuser-CZF6a5gO.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/treasury-DUE7lZzT.webp +0 -0
- /package/dist/looks/{4.3.138 → 4.3.139}/user-image-yuS4errP.svg +0 -0
|
@@ -4,7 +4,7 @@ import { t as n } from "./ExclamationCircleOutline-CPelT1Bu.js";
|
|
|
4
4
|
import { i as r, r as i, t as a } from "./typography-CKwYSv07.js";
|
|
5
5
|
import { d as o, n as s, t as c } from "./transitions-DST-mWoo.js";
|
|
6
6
|
import { c as l } from "./sizing-Chy28j6-.js";
|
|
7
|
-
import {
|
|
7
|
+
import { r as u } from "./formatters-DUWbI_Eg.js";
|
|
8
8
|
import { t as ee } from "./phoneShape-VqbamHOn.js";
|
|
9
9
|
import { t as te } from "./RequiredIndicator-CRZ_coyR.js";
|
|
10
10
|
import { t as d } from "./controlAria-Do9QK0WI.js";
|
|
@@ -39,7 +39,7 @@ function oe(e, t) {
|
|
|
39
39
|
}), f.append(e, a);
|
|
40
40
|
}
|
|
41
41
|
// node_modules/@getmicdrop/svelte-components/dist/primitives/Input/Input.svelte
|
|
42
|
-
var se = /* @__PURE__ */ new Set(/* @__PURE__ */ "$$slots.$$events.$$legacy.required.disabled.optional.icon.buttonIcon.buttonText.maxlength.minlength.type.placeholder.label.id.name.class.size.textareaSize.errorText.color.helperText.helperIcon.hintText.hintIcon.contentFloat.readonly.tabindex.controlled.onButtonClick.onbuttonclick.value.autocomplete.skipPasswordManagers.autofocus.showPasswordToggle.animateFocus.statusText.statusType.buttonDisabled.inputmode.enterkeyhint.autocapitalize.autocorrect.instantSearch.debounceMs.minSearchChars.showClearButton.onsearch.onfocus.onblur.onkeydown.oninputchange.wiring.leftIcon.rightIcon.prefix.prefixInline.transform.labels.data-testid".split(".")), h = f.from_html("<span> </span>"), ce = f.from_html("<div class=\"flex justify-start items-center gap-1\"><label> <!></label> <!> <!></div>"), le = f.from_html("<textarea rows=\"4\"></textarea>"), ue = f.from_html("<div><input/> <button type=\"button\" class=\"flex items-center justify-center px-3 tone-muted focus:outline-none\" tabindex=\"-1\"><!></button></div>"), de = f.from_html("<div class=\"absolute left-3 inset-y-0 flex items-center gap-1.5 tone-muted z-sticky pointer-events-none\"><!> <!></div>"), fe = f.from_html("<div class=\"absolute right-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), pe = f.from_html("<button type=\"button\" class=\"absolute right-2 top-1/2 -translate-y-1/2 flex items-center justify-center p-1 tone-muted\" tabindex=\"-1\"><!></button>"), me = f.from_html("<img class=\"w-5 h-5\"/>"), he = f.from_html("<span class=\"type-label\"> </span>"), ge = f.from_html("<button type=\"button\"><!> <!></button>"), _e = f.from_html("<img class=\"absolute inset-y-0 right-0 w-5 h-5 mr-3 top-1/2 transform -translate-y-1/2\"/>"), ve = f.from_html("<div class=\"relative flex items-center w-full\"><!> <!> <input/> <!> <!></div>"), ye = f.from_html("<div class=\"flex items-start gap-1.5 mt-2\" role=\"alert\" aria-live=\"assertive\"><!> <p> </p></div>"), be = f.from_html("<img class=\"w-4 h-4 mr-2\"/>"), xe = f.from_html("<div><!> <span> </span></div>"), Se = f.from_html("<div><!> <div class=\"relative w-full\"><!> <!></div></div>");
|
|
42
|
+
var se = /* @__PURE__ */ new Set(/* @__PURE__ */ "$$slots.$$events.$$legacy.required.disabled.optional.icon.buttonIcon.buttonText.maxlength.minlength.type.placeholder.label.id.name.class.size.textareaSize.errorText.color.helperText.helperIcon.hintText.hintIcon.contentFloat.readonly.tabindex.controlled.onButtonClick.onbuttonclick.value.autocomplete.skipPasswordManagers.autofocus.showPasswordToggle.animateFocus.statusText.statusType.buttonDisabled.inputmode.enterkeyhint.autocapitalize.autocorrect.instantSearch.debounceMs.minSearchChars.showClearButton.onsearch.onfocus.onblur.onkeydown.oninputchange.wiring.leftIcon.rightIcon.prefix.prefixInline.transform.labels.data-testid.aria-label".split(".")), h = f.from_html("<span> </span>"), ce = f.from_html("<div class=\"flex justify-start items-center gap-1\"><label> <!></label> <!> <!></div>"), le = f.from_html("<textarea rows=\"4\"></textarea>"), ue = f.from_html("<div><input/> <button type=\"button\" class=\"flex items-center justify-center px-3 tone-muted focus:outline-none\" tabindex=\"-1\"><!></button></div>"), de = f.from_html("<div class=\"absolute left-3 inset-y-0 flex items-center gap-1.5 tone-muted z-sticky pointer-events-none\"><!> <!></div>"), fe = f.from_html("<div class=\"absolute right-3 inset-y-0 flex items-center tone-muted z-sticky pointer-events-none\"><!></div>"), pe = f.from_html("<button type=\"button\" class=\"absolute right-2 top-1/2 -translate-y-1/2 flex items-center justify-center p-1 tone-muted\" tabindex=\"-1\"><!></button>"), me = f.from_html("<img class=\"w-5 h-5\"/>"), he = f.from_html("<span class=\"type-label\"> </span>"), ge = f.from_html("<button type=\"button\"><!> <!></button>"), _e = f.from_html("<img class=\"absolute inset-y-0 right-0 w-5 h-5 mr-3 top-1/2 transform -translate-y-1/2\"/>"), ve = f.from_html("<div class=\"relative flex items-center w-full\"><!> <!> <input/> <!> <!></div>"), ye = f.from_html("<div class=\"flex items-start gap-1.5 mt-2\" role=\"alert\" aria-live=\"assertive\"><!> <p> </p></div>"), be = f.from_html("<img class=\"w-4 h-4 mr-2\"/>"), xe = f.from_html("<div><!> <span> </span></div>"), Se = f.from_html("<div><!> <div class=\"relative w-full\"><!> <!></div></div>");
|
|
43
43
|
function g(re, p) {
|
|
44
44
|
let m = f.props_id();
|
|
45
45
|
f.push(p, !0);
|
|
@@ -180,7 +180,7 @@ function g(re, p) {
|
|
|
180
180
|
var pt = f.sibling(dt, 2), mt = f.child(pt), ht = (e) => {
|
|
181
181
|
var t = le();
|
|
182
182
|
f.remove_textarea_child(t), t.required = !1, f.template_effect((e, n) => {
|
|
183
|
-
f.set_attribute(t, "id", f.get(L)), f.set_attribute(t, "name", E()), f.set_attribute(t, "placeholder", T()), f.set_value(t, f.get(z)), f.set_attribute(t, "maxlength", S()), f.set_attribute(t, "minlength", C()), f.set_class(t, 1, `${r.sm ?? ""} w-full px-3 py-2 bg-bg-secondary border rounded-lg ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring resize-y ${f.get(W) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus:border-interactive-border"} ${e ?? ""} ${n ?? ""} ${f.get(J) ? "focus:scale-grow" : ""}`), t.disabled = v(), t.readOnly = A(), f.set_attribute(t, "tabindex", p.tabindex), f.set_attribute(t, "aria-required", _()), f.set_attribute(t, "aria-invalid", f.get(W)), f.set_attribute(t, "aria-describedby", D() ? f.get(G) : void 0), f.set_attribute(t, "data-testid", p["data-testid"]);
|
|
183
|
+
f.set_attribute(t, "id", f.get(L)), f.set_attribute(t, "name", E()), f.set_attribute(t, "placeholder", T()), f.set_value(t, f.get(z)), f.set_attribute(t, "maxlength", S()), f.set_attribute(t, "minlength", C()), f.set_class(t, 1, `${r.sm ?? ""} w-full px-3 py-2 bg-bg-secondary border rounded-lg ${i.emphasis ?? ""} placeholder-muted-foreground transition-all focus:outline-none focus:ring-4 focus:ring-focus-ring resize-y ${f.get(W) ? "border-status-error-border" : "border-stroke-primary hover:border-interactive-border focus:border-interactive-border"} ${e ?? ""} ${n ?? ""} ${f.get(J) ? "focus:scale-grow" : ""}`), t.disabled = v(), t.readOnly = A(), f.set_attribute(t, "tabindex", p.tabindex), f.set_attribute(t, "aria-required", _()), f.set_attribute(t, "aria-invalid", f.get(W)), f.set_attribute(t, "aria-describedby", D() ? f.get(G) : void 0), f.set_attribute(t, "data-testid", p["data-testid"]), f.set_attribute(t, "aria-label", p["aria-label"]);
|
|
184
184
|
}, [() => Q(), () => lt()]), f.delegated("input", t, Y), f.event("blur", t, X), f.event("focus", t, Z), f.append(e, t);
|
|
185
185
|
}, gt = (e) => {
|
|
186
186
|
var t = ue(), n = f.child(t);
|
|
@@ -203,6 +203,7 @@ function g(re, p) {
|
|
|
203
203
|
tabindex: p.tabindex,
|
|
204
204
|
...f.get(et),
|
|
205
205
|
"data-testid": p["data-testid"],
|
|
206
|
+
"aria-label": p["aria-label"],
|
|
206
207
|
autocomplete: f.get(Xe),
|
|
207
208
|
"data-1p-ignore": f.get(H) ? "" : void 0,
|
|
208
209
|
"data-lpignore": f.get(H) ? "true" : void 0,
|
|
@@ -271,6 +272,7 @@ function g(re, p) {
|
|
|
271
272
|
tabindex: p.tabindex,
|
|
272
273
|
...f.get(tt),
|
|
273
274
|
"data-testid": p["data-testid"],
|
|
275
|
+
"aria-label": p["aria-label"],
|
|
274
276
|
autocomplete: f.get(Xe),
|
|
275
277
|
"data-1p-ignore": f.get(H) ? "" : void 0,
|
|
276
278
|
"data-lpignore": f.get(H) ? "true" : void 0,
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./ModalFooter-C4TD3-zP.js";
|
|
2
|
+
import { r as a } from "./modalManager.svelte-BHE0t9q3.js";
|
|
3
|
+
import "svelte/internal/disclose-version";
|
|
4
|
+
import * as o from "svelte/internal/client";
|
|
5
|
+
// node_modules/@getmicdrop/svelte-components/dist/primitives/Checkbox/Checkbox.svelte
|
|
6
|
+
var s = o.from_html("<span class=\"type-body tone-primary\"><!></span>"), c = o.from_html("<label><input type=\"checkbox\"/> <!></label>");
|
|
7
|
+
function l(e, t) {
|
|
8
|
+
o.push(t, !0);
|
|
9
|
+
let n = o.prop(t, "checked", 15, !1), r = o.prop(t, "indeterminate", 3, !1), i = o.prop(t, "value", 3, ""), a = o.prop(t, "name", 3, ""), l = o.prop(t, "disabled", 3, !1), u = o.prop(t, "color", 3, "blue"), d = o.prop(t, "class", 3, ""), f = o.prop(t, "align", 3, "center"), p = o.state(void 0);
|
|
10
|
+
o.user_effect(() => {
|
|
11
|
+
o.get(p) && (o.get(p).indeterminate = r());
|
|
12
|
+
});
|
|
13
|
+
function m() {
|
|
14
|
+
t.onchange?.({
|
|
15
|
+
checked: n(),
|
|
16
|
+
value: i()
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
let h = {
|
|
20
|
+
blue: "text-brand-primary",
|
|
21
|
+
red: "text-accent-danger",
|
|
22
|
+
green: "text-accent-success",
|
|
23
|
+
purple: "text-brand-primary",
|
|
24
|
+
orange: "text-accent-warning",
|
|
25
|
+
yellow: "text-accent-warning"
|
|
26
|
+
}, g = o.derived(() => h[u()] || h.blue), _ = o.derived(() => [
|
|
27
|
+
"w-4 h-4 shrink-0 rounded",
|
|
28
|
+
"border-stroke-primary",
|
|
29
|
+
"not-checked:not-indeterminate:bg-transparent",
|
|
30
|
+
"focus:outline-none focus:ring-0 focus:ring-offset-0 focus:shadow-none focus-visible:outline-none",
|
|
31
|
+
o.get(g),
|
|
32
|
+
l() ? "cursor-not-allowed opacity-50" : "cursor-pointer"
|
|
33
|
+
].join(" "));
|
|
34
|
+
var v = c(), y = o.child(v);
|
|
35
|
+
o.remove_input_defaults(y), o.bind_this(y, (e) => o.set(p, e), () => o.get(p));
|
|
36
|
+
var b, x = o.sibling(y, 2), S = (e) => {
|
|
37
|
+
var n = s(), r = o.child(n);
|
|
38
|
+
o.snippet(r, () => t.children), o.reset(n), o.append(e, n);
|
|
39
|
+
};
|
|
40
|
+
o.if(x, (e) => {
|
|
41
|
+
t.children && e(S);
|
|
42
|
+
}), o.reset(v), o.template_effect(() => {
|
|
43
|
+
o.set_class(v, 1, `inline-flex ${f() === "start" ? "items-start" : "items-center"} gap-2 ${l() ? "cursor-not-allowed" : "cursor-pointer"} select-none ${d() ?? ""}`), o.set_attribute(v, "id", t.id), o.set_attribute(y, "name", a()), y.disabled = l(), o.set_attribute(y, "aria-label", t["aria-label"]), o.set_attribute(y, "aria-labelledby", t["aria-labelledby"]), o.set_attribute(y, "aria-describedby", t["aria-describedby"]), o.set_attribute(y, "data-testid", t["data-testid"]), o.set_class(y, 1, o.clsx(o.get(_))), b !== (b = i()) && (y.value = (y.__value = b) ?? "");
|
|
44
|
+
}), o.delegated("change", y, m), o.delegated("click", y, function(...e) {
|
|
45
|
+
t.onclick?.apply(this, e);
|
|
46
|
+
}), o.event("focus", y, function(...e) {
|
|
47
|
+
t.onfocus?.apply(this, e);
|
|
48
|
+
}), o.event("blur", y, function(...e) {
|
|
49
|
+
t.onblur?.apply(this, e);
|
|
50
|
+
}), o.delegated("keydown", y, function(...e) {
|
|
51
|
+
t.onkeydown?.apply(this, e);
|
|
52
|
+
}), o.delegated("keyup", y, function(...e) {
|
|
53
|
+
t.onkeyup?.apply(this, e);
|
|
54
|
+
}), o.bind_checked(y, n), o.append(e, v), o.pop();
|
|
55
|
+
}
|
|
56
|
+
o.delegate([
|
|
57
|
+
"change",
|
|
58
|
+
"click",
|
|
59
|
+
"keydown",
|
|
60
|
+
"keyup"
|
|
61
|
+
]);
|
|
62
|
+
// node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/Modal.svelte
|
|
63
|
+
var u = o.from_html("<!> <!> <!> <!>", 1), d = o.from_html("<!> <!>", 1);
|
|
64
|
+
function f(s, c) {
|
|
65
|
+
o.push(c, !0);
|
|
66
|
+
let l = o.prop(c, "open", 15, !1), f = o.prop(c, "size", 3, "md"), p = o.prop(c, "persistent", 3, !1), m = o.prop(c, "haptic", 3, !0), h = o.prop(c, "variant", 3, "sheet");
|
|
67
|
+
e(s, {
|
|
68
|
+
get size() {
|
|
69
|
+
return f();
|
|
70
|
+
},
|
|
71
|
+
get persistent() {
|
|
72
|
+
return p();
|
|
73
|
+
},
|
|
74
|
+
get haptic() {
|
|
75
|
+
return m();
|
|
76
|
+
},
|
|
77
|
+
get oncancel() {
|
|
78
|
+
return c.oncancel;
|
|
79
|
+
},
|
|
80
|
+
get variant() {
|
|
81
|
+
return h();
|
|
82
|
+
},
|
|
83
|
+
get class() {
|
|
84
|
+
return c.class;
|
|
85
|
+
},
|
|
86
|
+
get "aria-labelledby"() {
|
|
87
|
+
return c["aria-labelledby"];
|
|
88
|
+
},
|
|
89
|
+
get "data-testid"() {
|
|
90
|
+
return c["data-testid"];
|
|
91
|
+
},
|
|
92
|
+
get open() {
|
|
93
|
+
return l();
|
|
94
|
+
},
|
|
95
|
+
set open(e) {
|
|
96
|
+
l(e);
|
|
97
|
+
},
|
|
98
|
+
children: (e, s) => {
|
|
99
|
+
var l = d(), f = o.first_child(l);
|
|
100
|
+
t(f, {});
|
|
101
|
+
var p = o.sibling(f, 2);
|
|
102
|
+
r(p, {
|
|
103
|
+
children: (e, t) => {
|
|
104
|
+
var r = u(), s = o.first_child(r), l = (e) => {
|
|
105
|
+
a(e, {
|
|
106
|
+
children: (e, t) => {
|
|
107
|
+
var n = o.comment(), r = o.first_child(n);
|
|
108
|
+
o.snippet(r, () => c.header), o.append(e, n);
|
|
109
|
+
},
|
|
110
|
+
$$slots: { default: !0 }
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
o.if(s, (e) => {
|
|
114
|
+
c.header && e(l);
|
|
115
|
+
});
|
|
116
|
+
var d = o.sibling(s, 2), f = (e) => {
|
|
117
|
+
n(e, {
|
|
118
|
+
children: (e, t) => {
|
|
119
|
+
var n = o.comment(), r = o.first_child(n);
|
|
120
|
+
o.snippet(r, () => c.body), o.append(e, n);
|
|
121
|
+
},
|
|
122
|
+
$$slots: { default: !0 }
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
o.if(d, (e) => {
|
|
126
|
+
c.body && e(f);
|
|
127
|
+
});
|
|
128
|
+
var p = o.sibling(d, 2), m = (e) => {
|
|
129
|
+
n(e, {
|
|
130
|
+
children: (e, t) => {
|
|
131
|
+
var n = o.comment(), r = o.first_child(n);
|
|
132
|
+
o.snippet(r, () => c.children), o.append(e, n);
|
|
133
|
+
},
|
|
134
|
+
$$slots: { default: !0 }
|
|
135
|
+
});
|
|
136
|
+
};
|
|
137
|
+
o.if(p, (e) => {
|
|
138
|
+
c.children && e(m);
|
|
139
|
+
});
|
|
140
|
+
var h = o.sibling(p, 2), g = (e) => {
|
|
141
|
+
i(e, {
|
|
142
|
+
children: (e, t) => {
|
|
143
|
+
var n = o.comment(), r = o.first_child(n);
|
|
144
|
+
o.snippet(r, () => c.footer), o.append(e, n);
|
|
145
|
+
},
|
|
146
|
+
$$slots: { default: !0 }
|
|
147
|
+
});
|
|
148
|
+
};
|
|
149
|
+
o.if(h, (e) => {
|
|
150
|
+
c.footer && e(g);
|
|
151
|
+
}), o.append(e, r);
|
|
152
|
+
},
|
|
153
|
+
$$slots: { default: !0 }
|
|
154
|
+
}), o.append(e, l);
|
|
155
|
+
},
|
|
156
|
+
$$slots: { default: !0 }
|
|
157
|
+
}), o.pop();
|
|
158
|
+
}
|
|
159
|
+
export { l as n, f as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./classNames-CPSQ9uy4.js";
|
|
2
2
|
import { t } from "./deprecation-BCjqE5lW.js";
|
|
3
|
-
import { i as n, t as r } from "./Button-
|
|
3
|
+
import { i as n, t as r } from "./Button-DpeQSoQ7.js";
|
|
4
4
|
import { c as i, l as a, n as o, t as s, u as c } from "./transitions-DST-mWoo.js";
|
|
5
5
|
import { n as l } from "./keyboard-Dk2PfrEz.js";
|
|
6
6
|
import { n as u, r as d, t as f } from "./SheetHandle-CCfYCPbY.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./classNames-CPSQ9uy4.js";
|
|
2
|
-
import { o as t, s as n } from "./ModalFooter-
|
|
2
|
+
import { o as t, s as n } from "./ModalFooter-C4TD3-zP.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as r from "svelte/internal/client";
|
|
5
5
|
// node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalTitle.svelte
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./labels-CjSrA6gx.js";
|
|
2
|
-
import { t } from "./Input-
|
|
2
|
+
import { t } from "./Input-Bp5EgI1F.js";
|
|
3
3
|
import { d as n, n as r, t as i } from "./transitions-DST-mWoo.js";
|
|
4
4
|
import { t as a } from "./lazyOnce-jG8k1apa.js";
|
|
5
5
|
import "svelte/internal/disclose-version";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./labels-CjSrA6gx.js";
|
|
2
2
|
import { t } from "./deprecation-BCjqE5lW.js";
|
|
3
|
-
import {
|
|
3
|
+
import { f as n } from "./allowlist-DinkGF2L.js";
|
|
4
4
|
import { t as r } from "./ExclamationCircleOutline-CPelT1Bu.js";
|
|
5
5
|
import { i, r as a, t as o } from "./typography-CKwYSv07.js";
|
|
6
6
|
import { d as s, n as c, r as l, t as u } from "./transitions-DST-mWoo.js";
|
|
@@ -1490,7 +1490,7 @@ function W(n, l) {
|
|
|
1490
1490
|
E.if(l, (e) => {
|
|
1491
1491
|
ee() && e(u);
|
|
1492
1492
|
}), E.reset(t), E.template_effect(() => {
|
|
1493
|
-
E.set_attribute(n, "for", _()), E.set_class(n, 1, `${i.
|
|
1493
|
+
E.set_attribute(n, "for", _()), E.set_class(n, 1, `${i.caption} tone-secondary ${o.tight} sm:${o.none} ${E.get(de) ? "text-status-error-text" : ""}`), E.set_text(r, g());
|
|
1494
1494
|
}), E.append(e, t);
|
|
1495
1495
|
};
|
|
1496
1496
|
E.if(we, (e) => {
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { n as e } from "./iconWeight-BRXEDAh2.js";
|
|
2
2
|
import { t } from "./copyToClipboard-CjNjDZeW.js";
|
|
3
|
-
import { n,
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import { n as s } from "./widget-key-context-BrWW0fyM.js";
|
|
3
|
+
import { A as n, N as r, R as i, T as a } from "./format-CehusdDg.js";
|
|
4
|
+
import { n as o } from "./AppError-t1LnBwj_.js";
|
|
5
|
+
import { n as s } from "./widget-key-context-dHM9FiuJ.js";
|
|
7
6
|
import { t as c } from "./Heading-WcF3Rh3o.js";
|
|
8
|
-
import { c as l, g as u, u as d } from "./client-
|
|
9
|
-
import { s as f, t as p } from "./to-event-card-props-
|
|
7
|
+
import { c as l, g as u, u as d } from "./client-SaDt6559.js";
|
|
8
|
+
import { s as f, t as p } from "./to-event-card-props-KVcCJ2JF.js";
|
|
10
9
|
import { t as m } from "./Grid-DRRXcWRE.js";
|
|
11
|
-
import { t as h } from "./EventCard-
|
|
10
|
+
import { t as h } from "./EventCard-B8MYLyIW.js";
|
|
12
11
|
import { n as g } from "./imageUrl-iAS2Xo17.js";
|
|
13
|
-
import { _ } from "./navigation-
|
|
14
|
-
import {
|
|
15
|
-
import { t as b } from "./event-
|
|
16
|
-
import {
|
|
12
|
+
import { g as _ } from "./navigation-B8rkS2On.js";
|
|
13
|
+
import { f as v, i as y } from "./scarcity-DfQvyhJP.js";
|
|
14
|
+
import { t as b } from "./event-ClsLWtR0.js";
|
|
15
|
+
import { n as x } from "./venue-BjLCg-PW.js";
|
|
17
16
|
import "svelte/internal/disclose-version";
|
|
18
17
|
import * as S from "svelte/internal/client";
|
|
19
18
|
// node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
|
|
@@ -86,7 +85,7 @@ function N(e) {
|
|
|
86
85
|
}
|
|
87
86
|
// src/lib/api/transformers/series.ts
|
|
88
87
|
function P(e) {
|
|
89
|
-
let t = e.seriesId ?? e.id ?? 0, n = e,
|
|
88
|
+
let t = e.seriesId ?? e.id ?? 0, n = e, i = r(e.timeZone || n.timezone || n.time_zone), a = g(e.image || "", { cdn: !0 }), o = (e.occurrences || []).map((e) => {
|
|
90
89
|
let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
|
|
91
90
|
t.address,
|
|
92
91
|
t.city,
|
|
@@ -104,7 +103,7 @@ function P(e) {
|
|
|
104
103
|
...n ? { venueName: n } : {},
|
|
105
104
|
...r ? { venueAddress: r } : {}
|
|
106
105
|
};
|
|
107
|
-
}), s = e.occurrences?.[0], c = s?.startDateTime ? y(s.startDateTime,
|
|
106
|
+
}), s = e.occurrences?.[0], c = s?.startDateTime ? y(s.startDateTime, i) : "", l = N(e.venue?.faq), u = (e.performers || []).map((e, t) => ({
|
|
108
107
|
id: t + 1,
|
|
109
108
|
displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
|
|
110
109
|
profileImage: e.profileImage || void 0
|
|
@@ -118,13 +117,13 @@ function P(e) {
|
|
|
118
117
|
startDateTime: s?.startDateTime || "",
|
|
119
118
|
endDateTime: s?.endDateTime || "",
|
|
120
119
|
doorsOpenTime: "",
|
|
121
|
-
timezone:
|
|
122
|
-
imageUrl:
|
|
120
|
+
timezone: i,
|
|
121
|
+
imageUrl: a,
|
|
123
122
|
venue: {
|
|
124
123
|
id: e.venue?.id || 0,
|
|
125
124
|
name: e.venue?.name || "",
|
|
126
125
|
address: d,
|
|
127
|
-
timezone:
|
|
126
|
+
timezone: i,
|
|
128
127
|
serviceFeePercentage: 0,
|
|
129
128
|
serviceFeeCents: 0,
|
|
130
129
|
taxPercentage: 0
|
|
@@ -166,13 +165,13 @@ function F(e) {
|
|
|
166
165
|
startDateTime: "",
|
|
167
166
|
endDateTime: "",
|
|
168
167
|
doorsOpenTime: "",
|
|
169
|
-
timezone:
|
|
168
|
+
timezone: i,
|
|
170
169
|
imageUrl: n,
|
|
171
170
|
venue: {
|
|
172
171
|
id: 0,
|
|
173
172
|
name: "",
|
|
174
173
|
address: "",
|
|
175
|
-
timezone:
|
|
174
|
+
timezone: i,
|
|
176
175
|
serviceFeePercentage: 0,
|
|
177
176
|
serviceFeeCents: 0,
|
|
178
177
|
taxPercentage: 0
|
|
@@ -191,12 +190,12 @@ function F(e) {
|
|
|
191
190
|
}
|
|
192
191
|
// src/lib/public-calendar-flow/transform.ts
|
|
193
192
|
function I(e) {
|
|
194
|
-
let t =
|
|
195
|
-
if (
|
|
196
|
-
let c =
|
|
197
|
-
if (c &&
|
|
198
|
-
let l =
|
|
199
|
-
return l &&
|
|
193
|
+
let t = o(), r = e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0, i = e.salesBegin || e.salesStart || e.saleBegin || e.onSaleStart, s = e.salesEnd || e.saleEnd || e.onSaleEnd;
|
|
194
|
+
if (r <= 0) return "sold_out";
|
|
195
|
+
let c = n(s);
|
|
196
|
+
if (c && a(c, t) < 0) return "sales_ended";
|
|
197
|
+
let l = n(i);
|
|
198
|
+
return l && a(l, t) > 0 ? "coming_soon" : "on_sale";
|
|
200
199
|
}
|
|
201
200
|
function L(e, t, n = !1) {
|
|
202
201
|
let r = (e || "").toLowerCase().replace(/\s+/g, "_");
|
|
@@ -213,7 +212,7 @@ function L(e, t, n = !1) {
|
|
|
213
212
|
return r === "sold_out" || r === "soldout" ? "sold_out" : r === "coming_soon" || r === "comingsoon" ? "coming_soon" : r === "sales_ended" || r === "salesended" ? "sales_ended" : "on_sale";
|
|
214
213
|
}
|
|
215
214
|
function R(e) {
|
|
216
|
-
let t = b(e), n = t.venue || {},
|
|
215
|
+
let t = b(e), n = t.venue || {}, i = r(t.timeZone || t.timezone || n.timeZone || n.timezone), a = (e.availableTickets || []).map((e) => ({
|
|
217
216
|
id: e.id || e.ID,
|
|
218
217
|
name: e.name || e.title || "",
|
|
219
218
|
description: e.description || void 0,
|
|
@@ -230,11 +229,11 @@ function R(e) {
|
|
|
230
229
|
isHidden: e.isHidden === !0 || typeof e.visibility == "number" && e.visibility >= _.HIDDEN,
|
|
231
230
|
ticketType: e.type || e.ticketType || void 0,
|
|
232
231
|
sectionName: e.sectionName || e.section || void 0
|
|
233
|
-
})), o =
|
|
232
|
+
})), o = a.filter((e) => !e.isHidden && !e.isDonation && e.status === "on_sale"), s = o.reduce((e, t) => e + t.quantityAvailable, 0), c = o.reduce((e, t) => e + t.quantityTotal, 0), l = e.hasPurchasableHiddenTickets === !0, u = L(t.status, a, l), d = e.image || e.imageUrl || e.image_url || "", f = d.startsWith("http") ? d : g(d, { cdn: !0 }), p = {
|
|
234
233
|
id: n.id || n.ID || 0,
|
|
235
234
|
name: n.name || n.googleLocationNameCache || "",
|
|
236
235
|
address: n.address || n.googleLocationNameCache || "",
|
|
237
|
-
timezone:
|
|
236
|
+
timezone: i,
|
|
238
237
|
serviceFeePercentage: n.serviceFeePercentage ?? n.fee ?? 0,
|
|
239
238
|
serviceFeeCents: n.serviceFeeCents == null ? 0 : n.serviceFeeCents,
|
|
240
239
|
taxPercentage: n.taxPercentage ?? n.tax ?? 0,
|
|
@@ -254,7 +253,7 @@ function R(e) {
|
|
|
254
253
|
ctaText: e.ctaState?.text || "",
|
|
255
254
|
ctaDisabled: e.ctaState?.disabled || !1,
|
|
256
255
|
...e.ctaState?.reason ? { ctaReason: e.ctaState.reason } : {}
|
|
257
|
-
})), C = t.startDateTime ? y(t.startDateTime,
|
|
256
|
+
})), C = t.startDateTime ? y(t.startDateTime, i) : "";
|
|
258
257
|
return {
|
|
259
258
|
id: t.id,
|
|
260
259
|
title: t.title || "",
|
|
@@ -264,11 +263,11 @@ function R(e) {
|
|
|
264
263
|
startDateTime: t.startDateTime || "",
|
|
265
264
|
endDateTime: t.endDateTime || "",
|
|
266
265
|
doorsOpenTime: t.doorsOpenTime || "",
|
|
267
|
-
timezone:
|
|
266
|
+
timezone: i,
|
|
268
267
|
imageUrl: f,
|
|
269
268
|
venue: p,
|
|
270
269
|
performers: m,
|
|
271
|
-
tickets:
|
|
270
|
+
tickets: a,
|
|
272
271
|
...Array.isArray(e.addOns) && e.addOns.length > 0 ? { addOns: e.addOns } : {},
|
|
273
272
|
faqs: h,
|
|
274
273
|
disclaimer: t.disclaimer || n.disclaimer || void 0,
|
|
@@ -307,11 +306,15 @@ function V(e, t) {
|
|
|
307
306
|
let n = e === "cancelled" ? t.canceledReason : e === "postponed" ? t.postponedReason : void 0;
|
|
308
307
|
return n?.trim() ? { stateMessage: n.trim() } : {};
|
|
309
308
|
}
|
|
309
|
+
// __SKIP_PATHS__
|
|
310
|
+
function H(e, t) {
|
|
311
|
+
return String(e).replace(/\[+(?:\.\.\.)?([^\]=]+?)(?:=[^\]]+)?\]+/g, (e, n) => t && t[n] != null ? String(t[n]) : "");
|
|
312
|
+
}
|
|
310
313
|
// src/lib/public-calendar-flow/shareEventLink.ts
|
|
311
|
-
async function
|
|
312
|
-
return await
|
|
314
|
+
async function U(e, n) {
|
|
315
|
+
return await W(e, n) ? "shared" : await t(e) ? "copied" : "failed";
|
|
313
316
|
}
|
|
314
|
-
async function
|
|
317
|
+
async function W(e, t) {
|
|
315
318
|
if (typeof navigator > "u" || typeof navigator.share != "function") return !1;
|
|
316
319
|
try {
|
|
317
320
|
return await navigator.share(t ? {
|
|
@@ -322,7 +325,7 @@ async function U(e, t) {
|
|
|
322
325
|
return e?.name === "AbortError";
|
|
323
326
|
}
|
|
324
327
|
}
|
|
325
|
-
function
|
|
328
|
+
function G(e, t, n) {
|
|
326
329
|
let r = encodeURIComponent(e), i = encodeURIComponent(n), a = encodeURIComponent(`${n} ${e}`);
|
|
327
330
|
return {
|
|
328
331
|
messages: `sms:&body=${a}`,
|
|
@@ -333,10 +336,10 @@ function W(e, t, n) {
|
|
|
333
336
|
};
|
|
334
337
|
}
|
|
335
338
|
// src/lib/public-calendar-flow/shareCopyFeedback.svelte.ts
|
|
336
|
-
function
|
|
339
|
+
function K({ copiedMs: e = 2500 } = {}) {
|
|
337
340
|
let n = S.state("idle"), r = S.state(""), i;
|
|
338
341
|
async function a(e, t) {
|
|
339
|
-
s(await
|
|
342
|
+
s(await U(e, t), e);
|
|
340
343
|
}
|
|
341
344
|
async function o(e) {
|
|
342
345
|
s(await t(e) ? "copied" : "failed", e);
|
|
@@ -360,18 +363,18 @@ function G({ copiedMs: e = 2500 } = {}) {
|
|
|
360
363
|
};
|
|
361
364
|
}
|
|
362
365
|
// src/lib/api/recommendations.ts
|
|
363
|
-
var
|
|
364
|
-
function
|
|
366
|
+
var q = /* @__PURE__ */ new Map();
|
|
367
|
+
function J(e, t = "event_page", n) {
|
|
365
368
|
if (!e) return Promise.resolve([]);
|
|
366
|
-
let r = `${l()}/events/${e}/recommendations?surface=${t}`, i = n || u() || "", a = `${r}|${i}`, o =
|
|
369
|
+
let r = `${l()}/events/${e}/recommendations?surface=${t}`, i = n || u() || "", a = `${r}|${i}`, o = q.get(a);
|
|
367
370
|
if (o) return o;
|
|
368
371
|
let s = d(r, { widgetKey: i || void 0 }).then((e) => e?.recommendations ?? [], () => []);
|
|
369
|
-
|
|
370
|
-
let c = () =>
|
|
372
|
+
q.set(a, s);
|
|
373
|
+
let c = () => q.delete(a);
|
|
371
374
|
return s.then(c, c), s;
|
|
372
375
|
}
|
|
373
376
|
// src/lib/public-calendar-flow/recommendation-cards.ts
|
|
374
|
-
function
|
|
377
|
+
function Y(e) {
|
|
375
378
|
return e.filter((e) => !!e.startsAt).map((e) => ({
|
|
376
379
|
eventID: e.eventId,
|
|
377
380
|
name: e.title,
|
|
@@ -386,19 +389,19 @@ function J(e) {
|
|
|
386
389
|
}));
|
|
387
390
|
}
|
|
388
391
|
// src/lib/public-calendar-flow/RecommendationsRail.svelte
|
|
389
|
-
var
|
|
390
|
-
function
|
|
392
|
+
var X = S.from_html("<span class=\"self-start rounded-full bg-status-info-bg px-2 py-0.5 text-status-info-text\" data-testid=\"recommendation-why\"> </span>"), Z = S.from_html("<div class=\"flex flex-col gap-2\"><!> <!></div>"), Q = S.from_html("<section data-testid=\"recommendations-rail\"><div class=\"mb-4\"><!></div> <!></section>");
|
|
393
|
+
function $(e, t) {
|
|
391
394
|
S.push(t, !0);
|
|
392
395
|
let n = S.prop(t, "surface", 3, "event_page"), r = S.prop(t, "locale", 3, "en"), i = S.prop(t, "widgetKey", 19, s), a = S.state(S.proxy([]));
|
|
393
396
|
S.user_effect(() => {
|
|
394
397
|
let e = t.eventId, r = !0;
|
|
395
|
-
return
|
|
398
|
+
return J(e, n(), i()).then((n) => {
|
|
396
399
|
r && e === t.eventId && S.set(a, n, !0);
|
|
397
400
|
}), () => {
|
|
398
401
|
r = !1;
|
|
399
402
|
};
|
|
400
403
|
});
|
|
401
|
-
let o = S.derived(() => f(
|
|
404
|
+
let o = S.derived(() => f(Y(S.get(a))));
|
|
402
405
|
function l(e) {
|
|
403
406
|
let n = u(e);
|
|
404
407
|
if (!n) return "";
|
|
@@ -419,7 +422,7 @@ function Q(e, t) {
|
|
|
419
422
|
n ? window.location.assign(n) : t.onselect?.(e);
|
|
420
423
|
}
|
|
421
424
|
var g = S.comment(), _ = S.first_child(g), v = (e) => {
|
|
422
|
-
var n =
|
|
425
|
+
var n = Q(), i = S.child(n), a = S.child(i);
|
|
423
426
|
c(a, {
|
|
424
427
|
size: "xl",
|
|
425
428
|
weight: "semibold",
|
|
@@ -445,7 +448,7 @@ function Q(e, t) {
|
|
|
445
448
|
card: i
|
|
446
449
|
};
|
|
447
450
|
});
|
|
448
|
-
var a =
|
|
451
|
+
var a = Z(), o = S.child(a);
|
|
449
452
|
{
|
|
450
453
|
let e = S.derived(() => S.get(i).card.placeholderImage || t.placeholderImage);
|
|
451
454
|
h(o, S.spread_props(() => S.get(i).card, {
|
|
@@ -458,7 +461,7 @@ function Q(e, t) {
|
|
|
458
461
|
}));
|
|
459
462
|
}
|
|
460
463
|
var s = S.sibling(o, 2), c = (e) => {
|
|
461
|
-
var t =
|
|
464
|
+
var t = X(), r = S.only_child(t, !0);
|
|
462
465
|
S.template_effect((e) => S.set_text(r, e), [() => l(S.get(n).event)]), S.append(e, t);
|
|
463
466
|
}, u = S.derived(() => l(S.get(n).event));
|
|
464
467
|
S.if(s, (e) => {
|
|
@@ -473,4 +476,4 @@ function Q(e, t) {
|
|
|
473
476
|
S.get(o).length > 0 && e(v);
|
|
474
477
|
}), S.append(e, g), S.pop();
|
|
475
478
|
}
|
|
476
|
-
export {
|
|
479
|
+
export { H as a, z as c, W as i, E as l, K as n, R as o, G as r, B as s, $ as t };
|
|
@@ -67,7 +67,7 @@ function c(i, c) {
|
|
|
67
67
|
r.if(j, (e) => {
|
|
68
68
|
c.children && e(M);
|
|
69
69
|
}), r.reset(D), r.template_effect(() => {
|
|
70
|
-
r.set_class(D, 1, `relative w-full ${r.get(b).wrapper ?? ""} ${g() ?? ""}`), r.set_attribute(A, "id", m()), r.set_attribute(A, "name", h()), r.set_attribute(A, "placeholder", d() ?? r.get(v).placeholder), A.disabled = p(), r.set_attribute(A, "data-testid", c["data-testid"]), r.set_attribute(A, "role", c.role), r.set_attribute(A, "aria-expanded", c["aria-expanded"]), r.set_attribute(A, "aria-controls", c["aria-controls"]), r.set_attribute(A, "aria-activedescendant", c["aria-activedescendant"]), r.set_attribute(A, "aria-autocomplete", c["aria-autocomplete"]), r.set_attribute(A, "aria-label", c["aria-label"]), r.set_attribute(A, "autocomplete", c.autocomplete), r.set_class(A, 1, `w-full pr-3 bg-bg-secondary ${n.emphasis ?? ""} border border-stroke-primary rounded-lg transition-colors focus:outline-hidden focus:ring-4 focus:ring-focus-ring focus:border-interactive-border hover:border-interactive-border placeholder-muted-foreground [&::-webkit-search-cancel-button]:appearance-none ${r.get(b).input ?? ""} ${p() ? "opacity-50 cursor-not-allowed" : ""}`);
|
|
70
|
+
r.set_class(D, 1, `relative w-full ${r.get(b).wrapper ?? ""} ${g() ?? ""}`), r.set_attribute(A, "id", m()), r.set_attribute(A, "name", h()), r.set_attribute(A, "placeholder", d() ?? r.get(v).placeholder), A.disabled = p(), r.set_attribute(A, "data-testid", c["data-testid"]), r.set_attribute(A, "role", c.role), r.set_attribute(A, "aria-expanded", c["aria-expanded"]), r.set_attribute(A, "aria-controls", c["aria-controls"]), r.set_attribute(A, "aria-activedescendant", c["aria-activedescendant"]), r.set_attribute(A, "aria-autocomplete", c["aria-autocomplete"]), r.set_attribute(A, "aria-label", c["aria-label"]), r.set_attribute(A, "autocomplete", c.autocomplete), r.set_class(A, 1, `w-full ${c.children ? "pr-10" : "pr-3"} bg-bg-secondary ${n.emphasis ?? ""} border border-stroke-primary rounded-lg transition-colors focus:outline-hidden focus:ring-4 focus:ring-focus-ring focus:border-interactive-border hover:border-interactive-border placeholder-muted-foreground [&::-webkit-search-cancel-button]:appearance-none ${r.get(b).input ?? ""} ${p() ? "opacity-50 cursor-not-allowed" : ""}`);
|
|
71
71
|
}), r.delegated("input", A, x), r.delegated("change", A, S), r.delegated("keydown", A, C), r.delegated("keyup", A, w), r.event("focus", A, T), r.delegated("click", A, function(...e) {
|
|
72
72
|
c.onclick?.apply(this, e);
|
|
73
73
|
}), r.event("blur", A, E), r.bind_value(A, u), r.append(i, D), r.pop();
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { i as e, t } from "./Event-DoIU0o6C.js";
|
|
2
|
+
import { t as n } from "./logger-DM8WW61-.js";
|
|
3
|
+
import { a as r, c as i } from "./RecommendationsRail-BDNnbL-p.js";
|
|
4
|
+
import "svelte/internal/disclose-version";
|
|
5
|
+
import * as a from "svelte/internal/client";
|
|
6
|
+
// src/components/Views/SeriesPage.svelte
|
|
7
|
+
function o(o, s) {
|
|
8
|
+
a.push(s, !0), n("SeriesPage");
|
|
9
|
+
let c = a.prop(s, "onNavigateToOccurrence", 3, void 0), l = a.prop(s, "locale", 3, void 0), u = a.derived(() => s.series ? i(s.series) : null);
|
|
10
|
+
function d(t) {
|
|
11
|
+
c() ? c()(t.id, t.slug) : e(r("/[id]/[slug]", {
|
|
12
|
+
id: String(t.id),
|
|
13
|
+
slug: String(t.slug)
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
var f = a.comment(), p = a.first_child(f), m = (e) => {
|
|
17
|
+
t(e, {
|
|
18
|
+
get event() {
|
|
19
|
+
return a.get(u);
|
|
20
|
+
},
|
|
21
|
+
isSeriesMaster: !0,
|
|
22
|
+
onShowtimeClick: d,
|
|
23
|
+
get locale() {
|
|
24
|
+
return l();
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
a.if(p, (e) => {
|
|
29
|
+
a.get(u) && e(m);
|
|
30
|
+
}), a.append(o, f), a.pop();
|
|
31
|
+
}
|
|
32
|
+
export { o as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./LiveRegion-Ds0mjIVj.js";
|
|
2
|
-
import { t } from "./defaultLabels-
|
|
2
|
+
import { t } from "./defaultLabels-DLK6rq4q.js";
|
|
3
3
|
import "svelte/internal/disclose-version";
|
|
4
4
|
import * as n from "svelte/internal/client";
|
|
5
5
|
// src/components/SkeletonLoader/SkeletonLoader.svelte
|