@getmicdrop/venue-calendar 4.2.37 → 4.3.0

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 (111) hide show
  1. package/dist/{ArrowLeftIcon-BQYrtN6U.js → ArrowLeftIcon-DvOokN4u.js} +1 -1
  2. package/dist/{Badge-B9AZ6xGE.js → Badge-XNQHeoZJ.js} +1 -1
  3. package/dist/{BlockPlaceholder-B9GlpQol.js → BlockPlaceholder-C2PUGPNA.js} +1 -1
  4. package/dist/{Calendar-A7RNgU0m.js → Calendar-C5tzjUQM.js} +19 -19
  5. package/dist/{CalendarFoundryView-_m9S6y-W.js → CalendarFoundryView-9LW4nveh.js} +400 -400
  6. package/dist/{CalendarIcon-CtLFr8m1.js → CalendarIcon-DvhQ-GaL.js} +1 -1
  7. package/dist/{CartView-gpVuEafp.js → CartView-C4Fpn8mC.js} +327 -327
  8. package/dist/{Checkout-BAAYg4tM.js → Checkout-C6xmGlWs.js} +42 -42
  9. package/dist/{Checkout-y81OL1tz.js → Checkout-D_oRIhxJ.js} +40 -40
  10. package/dist/{CheckoutTimer-CyXRKGLX.js → CheckoutTimer-8tVmatUn.js} +3 -3
  11. package/dist/{ChevronDownIcon-B4YmjJo1.js → ChevronDownIcon-DyNmV5XZ.js} +1 -1
  12. package/dist/{ClockIcon-z3z3e1Ly.js → ClockIcon-dOWVO61o.js} +1 -1
  13. package/dist/{CloseIcon-sro0esAo.js → CloseIcon-a3S2RgbP.js} +1 -1
  14. package/dist/{CollectionView-DTY7jDqf.js → CollectionView-BdVW1cJz.js} +7 -7
  15. package/dist/{Event-BMuZ_wRJ.js → Event-I5Wu3_AC.js} +1002 -714
  16. package/dist/EventPage-BjrFGlDJ.js +1146 -0
  17. package/dist/{Heading-mDILjyPm.js → Heading-KNE3t6AC.js} +1 -1
  18. package/dist/{Image-JKlRpH-6.js → Image-CNZLcePz.js} +1 -1
  19. package/dist/{Input-C1WW7SEF.js → Input-Docb71Sc.js} +1 -1
  20. package/dist/{MailIcon-DO_anIoz.js → MailIcon-CR_eGi6n.js} +1 -1
  21. package/dist/{Modal-CAEKaCSU.js → Modal-c4rwVXSs.js} +2 -2
  22. package/dist/{ModalFooter-D2WEdwmn.js → ModalFooter-CFgAtDI3.js} +2 -2
  23. package/dist/{PasswordInput-CkuDX_Od.js → PasswordInput-Dm4Z88em.js} +1 -1
  24. package/dist/{ScarcityBadge-aZWWO-jZ.js → ScarcityBadge-DMI7KfDF.js} +5 -5
  25. package/dist/{SeriesPage-By-MkYKG.js → SeriesPage-BQGc51bF.js} +4 -4
  26. package/dist/{Spinner-B5FVSyqq.js → Spinner-C8M6STFM.js} +1 -1
  27. package/dist/{Success-yjbKaeK_.js → Success-CxJiJEdx.js} +218 -215
  28. package/dist/{TagIcon-b-8pupd7.js → TagIcon-BhLrURo_.js} +1 -1
  29. package/dist/{ViewTicketsEmbed-BBj9eJ31.js → ViewTicketsEmbed-D-w4zHtm.js} +7 -7
  30. package/dist/{WarningCircleIcon-DUs9DcAX.js → WarningCircleIcon-BxBY0OMQ.js} +1 -1
  31. package/dist/{WarningTriIcon-CvE9U1XG.js → WarningTriIcon-QVzQiEM4.js} +1 -1
  32. package/dist/{__SKIP_PATHS__-TvQ-zGgV.js → __SKIP_PATHS__-B0_APtpt.js} +1 -1
  33. package/dist/api/api.cjs +1 -1
  34. package/dist/api/api.mjs +1 -1
  35. package/dist/{colors-DB1rR8pU.js → colors-BsP3TRan.js} +4 -4
  36. package/dist/{constants-SU5KYo7y.js → constants-PBNG9ikv.js} +29 -19
  37. package/dist/{copyToClipboard-DJNB40jo.js → copyToClipboard-B2F5d6Cj.js} +1 -1
  38. package/dist/{de-tOW1Ez0s.js → de-Jg2pbAJN.js} +12 -0
  39. package/dist/{de-naV1oceW.js → de-K0-gFyNH.js} +13 -1
  40. package/dist/{defaultLabels-BBFpYs4g.js → defaultLabels-BigaGqKj.js} +12 -0
  41. package/dist/{es-DrYewQpd.js → es-CcYV23YF.js} +12 -0
  42. package/dist/{es-D-A3ZiKZ.js → es-DsZSuXW4.js} +13 -1
  43. package/dist/{event-BHPnx4t4.js → event-rtg4-kWS.js} +1 -1
  44. package/dist/{event-transform-CfLdD-jt.js → event-transform-J7U1JmeK.js} +4 -4
  45. package/dist/{eventStatusStream-BCDueOd-.js → eventStatusStream-CJVT_9Gu.js} +1 -1
  46. package/dist/{fr-Bs9xnPu6.js → fr-2hbBUueN.js} +12 -0
  47. package/dist/{fr-ssP16X4K.js → fr-BmHldIKE.js} +13 -1
  48. package/dist/{href-ChgD_6bf.js → href-Dx7B6ZiQ.js} +48 -27
  49. package/dist/{i18n-xG6_glYu.js → i18n-C0aOwSpF.js} +64 -64
  50. package/dist/i18n-sO8wTASy.js +28 -0
  51. package/dist/{id-BLwvLobz.js → id-42eHQdTZ.js} +12 -0
  52. package/dist/{id-DPbWh0O5.js → id-CBHA4B6C.js} +13 -1
  53. package/dist/{it-B1b9bAf8.js → it-CK6ravjO.js} +13 -1
  54. package/dist/{it-CQ_Y8YK3.js → it-CT1Yl7lC.js} +12 -0
  55. package/dist/{ja-fx8mKJyH.js → ja-COO0Ibrr.js} +13 -1
  56. package/dist/{ja-CeudRJqE.js → ja-rdY01kpT.js} +12 -0
  57. package/dist/{ko-KXtMvmUv.js → ko-D8YqNrZs.js} +13 -1
  58. package/dist/{ko-DFwVxd-1.js → ko-DzIwez8Z.js} +12 -0
  59. package/dist/{labels-DCO-vFuM.js → labels-BBFJnXep.js} +14 -2
  60. package/dist/locales/{4.2.37 → 4.3.0}/flow/de.js +1 -1
  61. package/dist/locales/{4.2.37 → 4.3.0}/flow/es.js +1 -1
  62. package/dist/locales/{4.2.37 → 4.3.0}/flow/fr.js +1 -1
  63. package/dist/locales/{4.2.37 → 4.3.0}/flow/id.js +1 -1
  64. package/dist/locales/{4.2.37 → 4.3.0}/flow/it.js +1 -1
  65. package/dist/locales/{4.2.37 → 4.3.0}/flow/ja.js +1 -1
  66. package/dist/locales/{4.2.37 → 4.3.0}/flow/ko.js +1 -1
  67. package/dist/locales/{4.2.37 → 4.3.0}/flow/nl.js +1 -1
  68. package/dist/locales/{4.2.37 → 4.3.0}/flow/pl.js +1 -1
  69. package/dist/locales/{4.2.37 → 4.3.0}/flow/pt-br.js +1 -1
  70. package/dist/locales/{4.2.37 → 4.3.0}/flow/tr.js +1 -1
  71. package/dist/locales/{4.2.37 → 4.3.0}/flow/zh.js +1 -1
  72. package/dist/locales/{4.2.37 → 4.3.0}/main/de.js +1 -1
  73. package/dist/locales/{4.2.37 → 4.3.0}/main/es.js +1 -1
  74. package/dist/locales/{4.2.37 → 4.3.0}/main/fr.js +1 -1
  75. package/dist/locales/{4.2.37 → 4.3.0}/main/id.js +1 -1
  76. package/dist/locales/{4.2.37 → 4.3.0}/main/it.js +1 -1
  77. package/dist/locales/{4.2.37 → 4.3.0}/main/ja.js +1 -1
  78. package/dist/locales/{4.2.37 → 4.3.0}/main/ko.js +1 -1
  79. package/dist/locales/{4.2.37 → 4.3.0}/main/nl.js +1 -1
  80. package/dist/locales/{4.2.37 → 4.3.0}/main/pl.js +1 -1
  81. package/dist/locales/{4.2.37 → 4.3.0}/main/pt-br.js +1 -1
  82. package/dist/locales/{4.2.37 → 4.3.0}/main/tr.js +1 -1
  83. package/dist/locales/{4.2.37 → 4.3.0}/main/zh.js +1 -1
  84. package/dist/{modalManager.svelte-Ctvt4aHJ.js → modalManager.svelte-CQrpnx4J.js} +2 -2
  85. package/dist/{nl-CYc0p85Y.js → nl-BOKQEcVS.js} +12 -0
  86. package/dist/{nl-IuI5cKOn.js → nl-Bk3DPD7e.js} +13 -1
  87. package/dist/{order-totals-C_d53Fnr.js → order-totals-DR-oXumr.js} +31 -31
  88. package/dist/{orders-VSh_VrRt.js → orders-CFF0Hb2x.js} +1 -1
  89. package/dist/{phoneUtils-BRZ05dK1.js → phoneUtils-by0RmQv1.js} +595 -616
  90. package/dist/{pixels-CWS4aqBb.js → pixels-M4FTi1Of.js} +2 -2
  91. package/dist/{pl-BSqAasUa.js → pl-BbTUCBtu.js} +12 -0
  92. package/dist/{pl-CJBIjlYm.js → pl-CPmO94ic.js} +13 -1
  93. package/dist/{promo-BKal5iAD.js → promo--p3GbP64.js} +1 -1
  94. package/dist/{pt-br-dIefWJKY.js → pt-br-Ch6NFhW6.js} +13 -1
  95. package/dist/{pt-br-CZs8_gFN.js → pt-br-yx3E3bTo.js} +12 -0
  96. package/dist/{serverTotals-DriGHN9x.js → serverTotals-Dbi69SIr.js} +1 -1
  97. package/dist/{shareCopyFeedback.svelte-D-13lvf0.js → shareCopyFeedback.svelte-Ba3vibxL.js} +14 -14
  98. package/dist/{showcase-state-options-ffaVKL4Z.js → showcase-state-options-BZGCm4wo.js} +1 -1
  99. package/dist/{to-event-card-props-DfvugKGT.js → to-event-card-props-BdO47New.js} +4 -4
  100. package/dist/{tr-O80C2r5C.js → tr-B0X8dT0r.js} +12 -0
  101. package/dist/{tr-Brt5vw5H.js → tr-CXnalLJT.js} +13 -1
  102. package/dist/{utils-C39Ku47z.js → utils-CbacksjX.js} +164 -31
  103. package/dist/venue-calendar.css +1 -1
  104. package/dist/venue-calendar.es.js +46 -46
  105. package/dist/venue-calendar.iife.js +56 -56
  106. package/dist/venue-calendar.umd.js +51 -51
  107. package/dist/{zh-BhjmF7s_.js → zh-CM2J1Py4.js} +13 -1
  108. package/dist/{zh-ydknixkJ.js → zh-_x9bdFXs.js} +12 -0
  109. package/package.json +1 -1
  110. package/dist/EventPage-CVVGDmlc.js +0 -981
  111. package/dist/i18n-CAZKVazm.js +0 -28
@@ -1,6 +1,6 @@
1
1
  import { x as e } from "./Button-Cm6xkipe.js";
2
- import { D as t } from "./defaultLabels-BBFpYs4g.js";
3
- import { S as n, T as r, x as i } from "./orders-VSh_VrRt.js";
2
+ import { D as t } from "./defaultLabels-BigaGqKj.js";
3
+ import { S as n, T as r, x as i } from "./orders-CFF0Hb2x.js";
4
4
  //#region src/lib/embed-bridge.js
5
5
  var a = e("embed-bridge"), o = "micdrop-calendar", s = Object.freeze({
6
6
  NAVIGATION: "MICDROP_NAVIGATION",
@@ -460,6 +460,18 @@ var e = {
460
460
  waitlistErrorPhoneRegistered: "Ten numer telefonu jest już na liście oczekujących",
461
461
  waitlistErrorJoinFailed: "Nie udało się dołączyć do listy oczekujących. Spróbuj ponownie",
462
462
  waitlistErrorNetwork: "Błąd sieci. Sprawdź połączenie i spróbuj ponownie",
463
+ queueTitle: "Jesteś w kolejce",
464
+ queueDescription: "To wydarzenie cieszy się dużym zainteresowaniem — wpuścimy Cię, gdy przyjdzie Twoja kolej",
465
+ queuePositionLabel: "Twoje miejsce w kolejce",
466
+ queuePersonAhead: "{n} osoba przed Tobą",
467
+ queuePeopleAhead: "{n} osób przed Tobą",
468
+ queueEstimatedWait: "Szacowany czas oczekiwania",
469
+ queueWaitLessThanMinute: "Mniej niż minuta",
470
+ queueWaitMinute: "{n} minuta",
471
+ queueWaitMinutes: "{n} minut",
472
+ queueKeepPageOpen: "Nie zamykaj tej strony — Twoje miejsce jest zarezerwowane",
473
+ queueAdmittedTitle: "Twoja kolej",
474
+ queueAdmittedBody: "Teraz Twoja kolej — możesz kupić bilety",
463
475
  sessionExpiringSoonMessage: "Twoja sesja zakupu wygaśnie za {time}. Wybrane bilety wrócą do puli",
464
476
  extensionsRemaining: "Pozostałe przedłużenia: {count}",
465
477
  continueCheckout: "Kontynuuj zakup",
@@ -175,7 +175,19 @@ var e = {
175
175
  dismiss: "Zamknij",
176
176
  keepMeUpdatedByVenue: "Chcę otrzymywać informacje o wydarzeniach i nowościach od {venue}",
177
177
  privacyPolicyLink: "Polityka prywatności",
178
- paymentUnavailable: "Obecnie nie można pobrać płatności za to zamówienie — odśwież stronę lub skontaktuj się z miejscem"
178
+ paymentUnavailable: "Obecnie nie można pobrać płatności za to zamówienie — odśwież stronę lub skontaktuj się z miejscem",
179
+ queueTitle: "Jesteś w kolejce",
180
+ queueDescription: "To wydarzenie cieszy się dużym zainteresowaniem — wpuścimy Cię, gdy przyjdzie Twoja kolej",
181
+ queuePositionLabel: "Twoje miejsce w kolejce",
182
+ queuePersonAhead: "{n} osoba przed Tobą",
183
+ queuePeopleAhead: "{n} osób przed Tobą",
184
+ queueEstimatedWait: "Szacowany czas oczekiwania",
185
+ queueWaitLessThanMinute: "Mniej niż minuta",
186
+ queueWaitMinute: "{n} minuta",
187
+ queueWaitMinutes: "{n} minut",
188
+ queueKeepPageOpen: "Nie zamykaj tej strony — Twoje miejsce jest zarezerwowane",
189
+ queueAdmittedTitle: "Twoja kolej",
190
+ queueAdmittedBody: "Teraz Twoja kolej — możesz kupić bilety"
179
191
  };
180
192
  //#endregion
181
193
  export { e as pl };
@@ -1,4 +1,4 @@
1
- import { A as e, F as t, M as n, k as r } from "./defaultLabels-BBFpYs4g.js";
1
+ import { A as e, F as t, M as n, k as r } from "./defaultLabels-BigaGqKj.js";
2
2
  //#region src/lib/utils/promo.ts
3
3
  var i = [
4
4
  "percentage",
@@ -175,7 +175,19 @@ var e = {
175
175
  dismiss: "Fechar",
176
176
  keepMeUpdatedByVenue: "Quero receber novidades sobre eventos e notícias de {venue}",
177
177
  privacyPolicyLink: "Política de privacidade",
178
- paymentUnavailable: "Não é possível processar o pagamento deste pedido agora — atualize a página ou entre em contato com o local"
178
+ paymentUnavailable: "Não é possível processar o pagamento deste pedido agora — atualize a página ou entre em contato com o local",
179
+ queueTitle: "Você está na fila",
180
+ queueDescription: "Este show está muito concorrido — vamos te liberar assim que for a sua vez",
181
+ queuePositionLabel: "Sua posição na fila",
182
+ queuePersonAhead: "{n} pessoa na sua frente",
183
+ queuePeopleAhead: "{n} pessoas na sua frente",
184
+ queueEstimatedWait: "Espera estimada",
185
+ queueWaitLessThanMinute: "Menos de um minuto",
186
+ queueWaitMinute: "{n} minuto",
187
+ queueWaitMinutes: "{n} minutos",
188
+ queueKeepPageOpen: "Mantenha esta página aberta — seu lugar está guardado",
189
+ queueAdmittedTitle: "É a sua vez",
190
+ queueAdmittedBody: "Chegou a sua vez — agora você pode comprar seus ingressos"
179
191
  };
180
192
  //#endregion
181
193
  export { e as pt_br };
@@ -460,6 +460,18 @@ var e = {
460
460
  waitlistErrorPhoneRegistered: "Este número de telefone já está na lista de espera",
461
461
  waitlistErrorJoinFailed: "Não foi possível entrar na lista de espera. Tente novamente",
462
462
  waitlistErrorNetwork: "Erro de rede. Verifique sua conexão e tente novamente",
463
+ queueTitle: "Você está na fila",
464
+ queueDescription: "Este show está muito concorrido — vamos te liberar assim que for a sua vez",
465
+ queuePositionLabel: "Sua posição na fila",
466
+ queuePersonAhead: "{n} pessoa na sua frente",
467
+ queuePeopleAhead: "{n} pessoas na sua frente",
468
+ queueEstimatedWait: "Espera estimada",
469
+ queueWaitLessThanMinute: "Menos de um minuto",
470
+ queueWaitMinute: "{n} minuto",
471
+ queueWaitMinutes: "{n} minutos",
472
+ queueKeepPageOpen: "Mantenha esta página aberta — seu lugar está guardado",
473
+ queueAdmittedTitle: "É a sua vez",
474
+ queueAdmittedBody: "Chegou a sua vez — agora você pode comprar seus ingressos",
463
475
  sessionExpiringSoonMessage: "Sua sessão de checkout vai expirar em {time}. Os ingressos selecionados serão devolvidos ao estoque",
464
476
  extensionsRemaining: "Extensões restantes: {count}",
465
477
  continueCheckout: "Continuar o checkout",
@@ -1,4 +1,4 @@
1
- import { I as e, k as t } from "./defaultLabels-BBFpYs4g.js";
1
+ import { I as e, k as t } from "./defaultLabels-BigaGqKj.js";
2
2
  //#region node_modules/zod/v4/core/core.js
3
3
  var n;
4
4
  function r(e, t, n) {
@@ -1,14 +1,14 @@
1
- import { D as e, b as t, h as n, x as r } from "./defaultLabels-BBFpYs4g.js";
2
- import { a as i, m as a, q as o } from "./constants-SU5KYo7y.js";
3
- import { t as s } from "./copyToClipboard-DJNB40jo.js";
4
- import { r as c, t as l } from "./event-BHPnx4t4.js";
1
+ import { D as e, b as t, h as n, x as r } from "./defaultLabels-BigaGqKj.js";
2
+ import { J as i, a, m as o } from "./constants-PBNG9ikv.js";
3
+ import { t as s } from "./copyToClipboard-B2F5d6Cj.js";
4
+ import { r as c, t as l } from "./event-rtg4-kWS.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as u from "svelte/internal/client";
7
7
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/ExportIcon.svelte
8
8
  var d = u.from_svg("<path d=\"M216,112v96a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V112A16,16,0,0,1,56,96h64v48a8,8,0,0,0,16,0V96h64A16,16,0,0,1,216,112ZM136,43.31l26.34,26.35a8,8,0,0,0,11.32-11.32l-40-40a8,8,0,0,0-11.32,0l-40,40A8,8,0,0,0,93.66,69.66L120,43.31V96h16Z\"></path>"), f = u.from_svg("<path d=\"M176,104h24a8,8,0,0,1,8,8v96a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V112a8,8,0,0,1,8-8H80\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><polyline points=\"88 64 128 24 168 64\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></polyline><line x1=\"128\" y1=\"24\" x2=\"128\" y2=\"136\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line>", 1), p = u.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
9
9
  function m(e, t) {
10
10
  u.push(t, !0);
11
- let n = u.prop(t, "size", 3, "24"), r = u.prop(t, "color", 3, "currentColor"), i = u.prop(t, "class", 3, ""), a = o(), s = u.derived(() => t.weight ?? a?.weight ?? "regular");
11
+ let n = u.prop(t, "size", 3, "24"), r = u.prop(t, "color", 3, "currentColor"), a = u.prop(t, "class", 3, ""), o = i(), s = u.derived(() => t.weight ?? o?.weight ?? "regular");
12
12
  var c = p();
13
13
  let l;
14
14
  var m = u.child(c), h = (e) => {
@@ -21,7 +21,7 @@ function m(e, t) {
21
21
  u.if(m, (e) => {
22
22
  u.get(s) === "fill" ? e(h) : e(g, -1);
23
23
  }), u.reset(c), u.template_effect(() => {
24
- u.set_class(c, 0, u.clsx(i())), u.set_attribute(c, "width", n()), u.set_attribute(c, "height", n()), l = u.set_style(c, "", l, { color: r() === "currentColor" ? void 0 : r() });
24
+ u.set_class(c, 0, u.clsx(a())), u.set_attribute(c, "width", n()), u.set_attribute(c, "height", n()), l = u.set_style(c, "", l, { color: r() === "currentColor" ? void 0 : r() });
25
25
  }), u.append(e, c), u.pop();
26
26
  }
27
27
  //#endregion
@@ -92,7 +92,7 @@ function S(e) {
92
92
  //#endregion
93
93
  //#region src/lib/api/transformers/series.ts
94
94
  function C(e) {
95
- let t = e, n = r(e.timeZone || t.timezone || t.time_zone || "UTC"), a = c(e.image || "", { cdn: !0 }), o = (e.occurrences || []).map((e) => {
95
+ let t = e, n = r(e.timeZone || t.timezone || t.time_zone || "UTC"), i = c(e.image || "", { cdn: !0 }), o = (e.occurrences || []).map((e) => {
96
96
  let t = e.venue, n = t ? [t.name, t.stageName].filter(Boolean).join(" — ") : "", r = t ? t.googleLocationNameCache || [
97
97
  t.address,
98
98
  t.city,
@@ -109,7 +109,7 @@ function C(e) {
109
109
  ...n ? { venueName: n } : {},
110
110
  ...r ? { venueAddress: r } : {}
111
111
  };
112
- }), s = e.occurrences?.[0], l = s?.startDateTime ? i(s.startDateTime, n) : "", u = S(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
112
+ }), s = e.occurrences?.[0], l = s?.startDateTime ? a(s.startDateTime, n) : "", u = S(e.venue?.faq), d = (e.performers || []).map((e, t) => ({
113
113
  id: t + 1,
114
114
  displayName: e.displayName || [e.firstName, e.lastName].filter(Boolean).join(" "),
115
115
  profileImage: e.profileImage || void 0
@@ -124,7 +124,7 @@ function C(e) {
124
124
  endDateTime: s?.endDateTime || "",
125
125
  doorsOpenTime: "",
126
126
  timezone: n,
127
- imageUrl: a,
127
+ imageUrl: i,
128
128
  venue: {
129
129
  id: e.venue?.id || 0,
130
130
  name: e.venue?.name || "",
@@ -218,11 +218,11 @@ function E(e, t, n = !1) {
218
218
  return r === "sold_out" || r === "soldout" ? "sold_out" : r === "coming_soon" || r === "comingsoon" ? "coming_soon" : r === "sales_ended" || r === "salesended" ? "sales_ended" : "on_sale";
219
219
  }
220
220
  function D(e) {
221
- let t = l(e), n = t.venue || {}, o = r(t.timeZone || t.timezone || n.timeZone || n.timezone || "UTC"), s = (e.availableTickets || []).map((e) => ({
221
+ let t = l(e), n = t.venue || {}, i = r(t.timeZone || t.timezone || n.timeZone || n.timezone || "UTC"), s = (e.availableTickets || []).map((e) => ({
222
222
  id: e.id || e.ID,
223
223
  name: e.name || e.title || "",
224
224
  description: e.description || void 0,
225
- price: a(e.price),
225
+ price: o(e.price),
226
226
  fee: e.fee == null ? 0 : e.fee,
227
227
  quantityAvailable: e.remainingCapacity ?? e.quantityRemaining ?? e.quantity ?? 0,
228
228
  quantityTotal: e.totalCapacity ?? e.quantity ?? 0,
@@ -239,7 +239,7 @@ function D(e) {
239
239
  id: n.id || n.ID || 0,
240
240
  name: n.name || n.googleLocationNameCache || "",
241
241
  address: n.address || n.googleLocationNameCache || "",
242
- timezone: o,
242
+ timezone: i,
243
243
  serviceFeePercentage: n.serviceFeePercentage ?? n.fee ?? 0,
244
244
  serviceFeeCents: n.serviceFeeCents == null ? 0 : n.serviceFeeCents,
245
245
  taxPercentage: n.taxPercentage ?? n.tax ?? 0,
@@ -257,7 +257,7 @@ function D(e) {
257
257
  status: e.ctaState?.reason === "sold_out" ? "sold_out" : "on_sale",
258
258
  ctaText: e.ctaState?.text || "Get tickets",
259
259
  ctaDisabled: e.ctaState?.disabled || !1
260
- })), D = t.startDateTime ? i(t.startDateTime, o) : "";
260
+ })), D = t.startDateTime ? a(t.startDateTime, i) : "";
261
261
  return {
262
262
  id: t.id,
263
263
  title: t.title || "",
@@ -267,7 +267,7 @@ function D(e) {
267
267
  startDateTime: t.startDateTime || "",
268
268
  endDateTime: t.endDateTime || "",
269
269
  doorsOpenTime: t.doorsOpenTime || "",
270
- timezone: o,
270
+ timezone: i,
271
271
  imageUrl: y,
272
272
  venue: b,
273
273
  performers: x,
@@ -1,4 +1,4 @@
1
- import { E as e, n as t } from "./defaultLabels-BBFpYs4g.js";
1
+ import { E as e, n as t } from "./defaultLabels-BigaGqKj.js";
2
2
  import * as n from "svelte/internal/client";
3
3
  //#region src/lib/public-calendar-flow/mock-data.ts
4
4
  function r(e, t, n = 0) {
@@ -1,7 +1,7 @@
1
1
  import { _ as e } from "./Button-Cm6xkipe.js";
2
- import { D as t, b as n, h as r, i, t as a, v as o } from "./defaultLabels-BBFpYs4g.js";
3
- import { a as s, i as c, r as l, u } from "./constants-SU5KYo7y.js";
4
- import { t as d } from "./Badge-B9AZ6xGE.js";
2
+ import { D as t, b as n, h as r, i, t as a, v as o } from "./defaultLabels-BigaGqKj.js";
3
+ import { a as s, i as c, r as l, u } from "./constants-PBNG9ikv.js";
4
+ import { t as d } from "./Badge-XNQHeoZJ.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as f from "svelte/internal/client";
7
7
  //#region node_modules/@getmicdrop/svelte-components/dist/primitives/BlurBackdropImage/BlurBackdropImage.svelte
@@ -442,4 +442,4 @@ function W(e, t = a, n) {
442
442
  };
443
443
  }
444
444
  //#endregion
445
- export { j as a, y as c, N as i, g as l, V as n, A as o, L as r, O as s, W as t };
445
+ export { j as a, y as c, N as i, v as l, V as n, A as o, L as r, O as s, W as t, g as u };
@@ -460,6 +460,18 @@ var e = {
460
460
  waitlistErrorPhoneRegistered: "Bu telefon numarası zaten bekleme listesinde",
461
461
  waitlistErrorJoinFailed: "Bekleme listesine katılınamadı. Lütfen tekrar deneyin",
462
462
  waitlistErrorNetwork: "Ağ hatası. Bağlantınızı kontrol edip tekrar deneyin",
463
+ queueTitle: "Sıradasınız",
464
+ queueDescription: "Bu gösteri yoğun ilgi görüyor — sıranız geldiğinde sizi içeri alacağız",
465
+ queuePositionLabel: "Sıradaki yeriniz",
466
+ queuePersonAhead: "Önünüzde {n} kişi var",
467
+ queuePeopleAhead: "Önünüzde {n} kişi var",
468
+ queueEstimatedWait: "Tahmini bekleme süresi",
469
+ queueWaitLessThanMinute: "Bir dakikadan az",
470
+ queueWaitMinute: "{n} dakika",
471
+ queueWaitMinutes: "{n} dakika",
472
+ queueKeepPageOpen: "Bu sayfayı açık tutun — yeriniz korunuyor",
473
+ queueAdmittedTitle: "Sıra sizde",
474
+ queueAdmittedBody: "Sıra sizde — biletlerinizi şimdi alabilirsiniz",
463
475
  sessionExpiringSoonMessage: "Ödeme oturumunuz {time} içinde sona erecek. Seçtiğiniz biletler stoğa geri verilecek",
464
476
  extensionsRemaining: "Kalan uzatma hakkı: {count}",
465
477
  continueCheckout: "Ödemeye devam et",
@@ -175,7 +175,19 @@ var e = {
175
175
  dismiss: "Kapat",
176
176
  keepMeUpdatedByVenue: "{venue} etkinliklerinden ve haberlerinden beni haberdar et",
177
177
  privacyPolicyLink: "Gizlilik politikası",
178
- paymentUnavailable: "Bu siparişin ödemesi şu anda alınamıyor — sayfayı yenileyin veya mekânla iletişime geçin"
178
+ paymentUnavailable: "Bu siparişin ödemesi şu anda alınamıyor — sayfayı yenileyin veya mekânla iletişime geçin",
179
+ queueTitle: "Sıradasınız",
180
+ queueDescription: "Bu gösteri yoğun ilgi görüyor — sıranız geldiğinde sizi içeri alacağız",
181
+ queuePositionLabel: "Sıradaki yeriniz",
182
+ queuePersonAhead: "Önünüzde {n} kişi var",
183
+ queuePeopleAhead: "Önünüzde {n} kişi var",
184
+ queueEstimatedWait: "Tahmini bekleme süresi",
185
+ queueWaitLessThanMinute: "Bir dakikadan az",
186
+ queueWaitMinute: "{n} dakika",
187
+ queueWaitMinutes: "{n} dakika",
188
+ queueKeepPageOpen: "Bu sayfayı açık tutun — yeriniz korunuyor",
189
+ queueAdmittedTitle: "Sıra sizde",
190
+ queueAdmittedBody: "Sıra sizde — biletlerinizi şimdi alabilirsiniz"
179
191
  };
180
192
  //#endregion
181
193
  export { e as tr };
@@ -1,6 +1,6 @@
1
1
  import { x as e } from "./Button-Cm6xkipe.js";
2
- import { $ as t, I as n, M as r, Y as i, Z as a, j as o, k as s, q as c } from "./orders-VSh_VrRt.js";
3
- import "./event-transform-CfLdD-jt.js";
2
+ import { $ as t, I as n, M as r, Y as i, Z as a, j as o, k as s, q as c } from "./orders-CFF0Hb2x.js";
3
+ import "./event-transform-J7U1JmeK.js";
4
4
  //#region node_modules/js-cookie/dist/js.cookie.mjs
5
5
  function l(e) {
6
6
  for (var t = 1; t < arguments.length; t++) {
@@ -172,16 +172,136 @@ function P(e) {
172
172
  let t = T();
173
173
  p(C, e, t), p(w, e, t);
174
174
  }
175
- async function F(e) {
175
+ async function ee(e) {
176
176
  let t = v(`order-id-${e}`), n = `order-id-${e}`, r = m(t) || m(n);
177
177
  if (r) return r;
178
178
  let i = `order-${e}-${Date.now()}`, a = T();
179
179
  return p(t, i, a), p(n, i, a), i;
180
180
  }
181
+ var F = (e) => _(`queue-token-${e}`);
182
+ function I(e) {
183
+ return c(F(e), null);
184
+ }
185
+ function L(e, t) {
186
+ t && a(F(e), t);
187
+ }
188
+ function R(e) {
189
+ i(F(e));
190
+ }
191
+ //#endregion
192
+ //#region src/lib/api/surge-queue.ts
193
+ var z = e("VC"), B = "queue_unavailable", V = {
194
+ armed: !1,
195
+ mode: "off",
196
+ waiting: 0,
197
+ etaSeconds: 0
198
+ }, H = 5e3, U = 1e3;
199
+ function W(e) {
200
+ return typeof e == "number" && Number.isFinite(e) && e > 0 ? Math.floor(e) : 0;
201
+ }
202
+ function G(e) {
203
+ return e === "off" || e === "auto" || e === "on" ? e : "off";
204
+ }
205
+ function K(e) {
206
+ return e === "open" || e === "waiting" || e === "admitted" ? e : "expired";
207
+ }
208
+ function q(e) {
209
+ return typeof e != "number" || !Number.isFinite(e) || e <= 0 ? H : Math.max(e, U);
210
+ }
211
+ function J(e) {
212
+ let t = K(e?.state), n = typeof e?.token == "string" ? e.token : "";
213
+ return !n && t !== "open" ? null : {
214
+ token: n,
215
+ state: t,
216
+ position: W(e?.position),
217
+ ahead: W(e?.ahead),
218
+ etaSeconds: W(e?.etaSeconds),
219
+ pollAfterMs: q(e?.pollAfterMs),
220
+ expiresAt: typeof e?.expiresAt == "string" ? e.expiresAt : ""
221
+ };
222
+ }
223
+ async function Y(e) {
224
+ try {
225
+ let t = await o(`/events/${e}/queue`);
226
+ return t.success ? {
227
+ armed: t.data?.armed === !0,
228
+ mode: G(t.data?.mode),
229
+ waiting: W(t.data?.waiting),
230
+ etaSeconds: W(t.data?.etaSeconds)
231
+ } : V;
232
+ } catch (e) {
233
+ return z.error("getQueueState error:", e), V;
234
+ }
235
+ }
236
+ async function X(e) {
237
+ try {
238
+ let t = await r(`/events/${e}/queue/join`, {});
239
+ if (!t.success) return {
240
+ success: !1,
241
+ errorCode: t.errorCode || "queue_unavailable",
242
+ statusCode: t.statusCode
243
+ };
244
+ let n = J(t.data);
245
+ return n ? {
246
+ success: !0,
247
+ entry: n,
248
+ statusCode: t.statusCode
249
+ } : {
250
+ success: !1,
251
+ errorCode: B,
252
+ statusCode: t.statusCode
253
+ };
254
+ } catch (e) {
255
+ return z.error("joinQueue error:", e), {
256
+ success: !1,
257
+ errorCode: B
258
+ };
259
+ }
260
+ }
261
+ async function Z(e, t) {
262
+ if (!t) return {
263
+ success: !1,
264
+ errorCode: B
265
+ };
266
+ try {
267
+ let n = await o(`/events/${e}/queue/status?token=${encodeURIComponent(t)}`);
268
+ if (!n.success) return {
269
+ success: !1,
270
+ errorCode: n.errorCode || "queue_unavailable",
271
+ statusCode: n.statusCode
272
+ };
273
+ let r = J(n.data);
274
+ return r ? {
275
+ success: !0,
276
+ entry: r,
277
+ statusCode: n.statusCode
278
+ } : {
279
+ success: !1,
280
+ errorCode: B,
281
+ statusCode: n.statusCode
282
+ };
283
+ } catch (e) {
284
+ return z.error("getQueueStatus error:", e), {
285
+ success: !1,
286
+ errorCode: B
287
+ };
288
+ }
289
+ }
290
+ async function Q(e, t) {
291
+ if (!t) return { released: !1 };
292
+ try {
293
+ return { released: (await r(`/events/${e}/queue/leave`, { token: t }, {
294
+ keepalive: !0,
295
+ suppressOnError: !0
296
+ })).data?.released === !0 };
297
+ } catch (e) {
298
+ return z.error("leaveQueue error:", e), { released: !1 };
299
+ }
300
+ }
181
301
  //#endregion
182
302
  //#region src/lib/utils/orderApi.ts
183
- var I = e("orderApi");
184
- function L(e) {
303
+ var $ = e("orderApi");
304
+ function te(e) {
185
305
  if (typeof e == "string") return e;
186
306
  if (e && typeof e == "object") {
187
307
  let t = e.message;
@@ -191,10 +311,17 @@ function L(e) {
191
311
  }
192
312
  return "";
193
313
  }
194
- async function R() {
314
+ function ne(e) {
315
+ if (e && typeof e == "object") {
316
+ let t = e.code;
317
+ if (typeof t == "string") return t;
318
+ }
319
+ return "";
320
+ }
321
+ async function re() {
195
322
  return null;
196
323
  }
197
- async function z(e) {
324
+ async function ie(e) {
198
325
  try {
199
326
  let n = await o(`/venues/${e}`);
200
327
  if (!n.success) throw new t(n.error ?? `API error: ${n.statusCode}`, n.statusCode ?? 0, {
@@ -203,66 +330,72 @@ async function z(e) {
203
330
  });
204
331
  return n.data;
205
332
  } catch (e) {
206
- throw I.error("getVenueDetails error:", e), e;
333
+ throw $.error("getVenueDetails error:", e), e;
207
334
  }
208
335
  }
209
- async function B(e = {}) {
336
+ async function ae(e = {}, t) {
210
337
  try {
211
- let t = await R(), { eventID: n, quantities: i, donationAmounts: a, ...o } = e, s = i ? Object.fromEntries(Object.entries(i).map(([e, t]) => [parseInt(e, 10), t])) : {}, c = a ? Object.fromEntries(Object.entries(a).filter(([, e]) => parseFloat(String(e)) > 0).map(([e, t]) => [parseInt(e, 10), parseFloat(String(t))])) : void 0, l = {
212
- purchaserIP: t,
213
- eventID: n ? parseInt(String(n), 10) : void 0,
214
- quantities: s,
215
- ...c && Object.keys(c).length > 0 ? { donationAmounts: c } : {},
216
- ...o
217
- }, u = await r("/orders/create", l), d = u.data ?? {};
218
- if (!u.success || d.error) {
219
- let e = L(d.error) || (typeof d.message == "string" ? d.message : "") || u.error || "Order creation failed", t = e.toLowerCase();
338
+ let n = await re(), { eventID: i, quantities: a, donationAmounts: o, ...s } = e, c = a ? Object.fromEntries(Object.entries(a).map(([e, t]) => [parseInt(e, 10), t])) : {}, l = o ? Object.fromEntries(Object.entries(o).filter(([, e]) => parseFloat(String(e)) > 0).map(([e, t]) => [parseInt(e, 10), parseFloat(String(t))])) : void 0, u = {
339
+ purchaserIP: n,
340
+ eventID: i ? parseInt(String(i), 10) : void 0,
341
+ quantities: c,
342
+ ...l && Object.keys(l).length > 0 ? { donationAmounts: l } : {},
343
+ ...s
344
+ }, d = await r("/orders/create", u, t ? { headers: { "X-Queue-Token": t } } : void 0), f = d.data ?? {};
345
+ if (!d.success || f.error) {
346
+ let e = te(f.error) || (typeof f.message == "string" ? f.message : "") || d.error || "Order creation failed";
347
+ if ((d.errorCode || ne(f.error)) === "QUEUE_REQUIRED") return {
348
+ success: !1,
349
+ error: e,
350
+ errorType: "queue"
351
+ };
352
+ let t = e.toLowerCase();
220
353
  return {
221
354
  success: !1,
222
355
  error: e,
223
- errorType: t.includes("inventory") || t.includes("sold out") || t.includes("not available") || t.includes("insufficient") || u.statusCode === 409 ? "inventory" : "server"
356
+ errorType: t.includes("inventory") || t.includes("sold out") || t.includes("not available") || t.includes("insufficient") || d.statusCode === 409 ? "inventory" : "server"
224
357
  };
225
358
  }
226
- return P(d.uuid || d.cartUUID), {
359
+ return P(f.uuid || f.cartUUID), {
227
360
  success: !0,
228
- uuid: d.uuid || d.cartUUID,
229
- serviceFee: d.serviceFee ?? 0,
230
- subtotal: d.subtotal ?? 0
361
+ uuid: f.uuid || f.cartUUID,
362
+ serviceFee: f.serviceFee ?? 0,
363
+ subtotal: f.subtotal ?? 0
231
364
  };
232
365
  } catch (e) {
233
366
  let t = e instanceof Error ? e.message : "Network error";
234
- return I.error("Order initiation failed:", e), {
367
+ return $.error("Order initiation failed:", e), {
235
368
  success: !1,
236
369
  error: t,
237
370
  errorType: "network"
238
371
  };
239
372
  }
240
373
  }
241
- async function V(e) {
374
+ async function oe(e) {
242
375
  try {
243
376
  let n = await o(`/orders/${e}`);
244
377
  if (!n.success) {
245
378
  let r = n.error ?? `Failed to fetch order (${n.statusCode})`;
246
- throw I.error("getOrder error response:", r), new t(r, n.statusCode ?? 0, {
379
+ throw $.error("getOrder error response:", r), new t(r, n.statusCode ?? 0, {
247
380
  endpoint: `/orders/${e}`,
248
381
  method: "GET"
249
382
  });
250
383
  }
251
384
  return n.data;
252
385
  } catch (e) {
253
- throw I.error("getOrder error:", e), e;
386
+ throw $.error("getOrder error:", e), e;
254
387
  }
255
388
  }
256
389
  //#endregion
257
390
  //#region src/lib/utils/utm.ts
258
- var H = e("utm");
259
- async function U(e) {
391
+ var se = e("utm");
392
+ async function ce(e) {
260
393
  let t = new URLSearchParams(window.location.search), r = s(t.get("utm_source")) || "direct";
261
394
  try {
262
395
  await fetch(`${n()}/utm/${e}/${encodeURIComponent(r)}`);
263
396
  } catch (e) {
264
- H.error("UTM tracking failed:", e);
397
+ se.error("UTM tracking failed:", e);
265
398
  }
266
399
  }
267
400
  //#endregion
268
- export { C as a, M as c, k as d, A as f, p as g, h, B as i, F as l, m, V as n, w as o, j as p, z as r, O as s, U as t, E as u };
401
+ export { p as C, h as S, A as _, Y as a, L as b, Q as c, O as d, M as f, k as g, E as h, ae as i, C as l, ee as m, oe as n, Z as o, R as p, ie as r, X as s, ce as t, w as u, I as v, m as x, j as y };