@20minutes/hela 2.26.6 → 2.26.8

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.
@@ -38,7 +38,7 @@ const ce = () => /Android/i.test(navigator.userAgent), de = typeof window < "u"
38
38
  return nt.set(s, e), e.catch(() => {
39
39
  nt.delete(s);
40
40
  }), e;
41
- }, fe = (s) => s.matches(":hover") || s.matches(":focus-within"), vt = async (s) => {
41
+ }, vt = async (s) => {
42
42
  if (!(s instanceof Element))
43
43
  return;
44
44
  const t = s.closest(".c-header__link-and-submenu-container");
@@ -52,7 +52,7 @@ const ce = () => /Android/i.test(navigator.userAgent), de = typeof window < "u"
52
52
  e.dataset.loading = "true";
53
53
  try {
54
54
  const n = await me(i);
55
- if (!fe(t) || e.dataset.loaded === "true")
55
+ if (e.dataset.loaded === "true")
56
56
  return;
57
57
  e.insertAdjacentHTML("beforeend", n), e.dataset.loaded = "true";
58
58
  } catch (n) {
@@ -61,14 +61,14 @@ const ce = () => /Android/i.test(navigator.userAgent), de = typeof window < "u"
61
61
  delete e.dataset.loading;
62
62
  }
63
63
  }
64
- }, ge = () => {
64
+ }, fe = () => {
65
65
  const s = document.querySelector(".c-header__links-container");
66
66
  s instanceof HTMLElement && (s.addEventListener("pointerover", (t) => {
67
67
  vt(t.target);
68
68
  }), s.addEventListener("focusin", (t) => {
69
69
  vt(t.target);
70
70
  }));
71
- }, ve = [
71
+ }, ge = [
72
72
  {
73
73
  text: "Paris",
74
74
  _index: "town_1717424751904",
@@ -99,7 +99,7 @@ const ce = () => /Android/i.test(navigator.userAgent), de = typeof window < "u"
99
99
  url: "/elections/resultats/paris/paris-75011"
100
100
  }
101
101
  }
102
- ], ye = (s, t, e, i, n, o) => {
102
+ ], ve = (s, t, e, i, n, o) => {
103
103
  const r = document.getElementById(s);
104
104
  if (!r)
105
105
  return;
@@ -108,7 +108,7 @@ const ce = () => /Android/i.test(navigator.userAgent), de = typeof window < "u"
108
108
  return;
109
109
  const h = r.querySelector(".c-autocomplete__input-spinner"), u = l.getAttribute("data-trigger-message"), f = async (g) => {
110
110
  try {
111
- const _ = a && t.includes("20minutes.fr") ? ve : await fetch(`${c}${e}${encodeURIComponent(g)}`).then(
111
+ const _ = a && t.includes("20minutes.fr") ? ge : await fetch(`${c}${e}${encodeURIComponent(g)}`).then(
112
112
  (F) => F.json()
113
113
  ), E = o && typeof _ == "object" && _ !== null ? _[o] : _;
114
114
  return Array.isArray(E) ? E : [];
@@ -144,30 +144,30 @@ const ce = () => /Android/i.test(navigator.userAgent), de = typeof window < "u"
144
144
  });
145
145
  };
146
146
  var ut = /* @__PURE__ */ ((s) => (s.MOBILE = "mobile", s.DESKTOP = "desktop", s))(ut || {});
147
- const pt = ".js-bottom-sheet", Zt = `${pt}:not([aria-hidden='true'])`, _e = ".c-bottom-sheet__panel", qt = ".c-bottom-sheet__handle", Ht = `${qt}[data-a11y-dialog-hide]`, we = "[data-a11y-dialog-show]", be = "data-bottom-sheet-anchor", Se = 75, Nt = "c-bottom-sheet--dragging";
147
+ const pt = ".js-bottom-sheet", Zt = `${pt}:not([aria-hidden='true'])`, ye = ".c-bottom-sheet__panel", qt = ".c-bottom-sheet__handle", Ht = `${qt}[data-a11y-dialog-hide]`, _e = "[data-a11y-dialog-show]", we = "data-bottom-sheet-anchor", be = 75, Nt = "c-bottom-sheet--dragging";
148
148
  let yt = !1, U = null, R = null, mt = 0, K = 0;
149
149
  const Wt = (s) => {
150
- const t = s.getAttribute(be), e = t ? document.querySelector(t) : null;
150
+ const t = s.getAttribute(we), e = t ? document.querySelector(t) : null;
151
151
  if (!e)
152
152
  return;
153
153
  const i = Math.max(0, window.innerHeight - e.getBoundingClientRect().top);
154
154
  s.style.setProperty("--modal-bottom-offset", `${i}px`);
155
- }, Le = () => {
155
+ }, Se = () => {
156
156
  document.querySelectorAll(Zt).forEach((s) => {
157
157
  s instanceof HTMLElement && Wt(s);
158
158
  });
159
159
  }, Vt = () => {
160
160
  U?.classList.remove(Nt), R && (R.style.transform = ""), U = null, R = null, mt = 0, K = 0;
161
- }, Ee = (s) => {
161
+ }, Le = (s) => {
162
162
  const t = s.target;
163
163
  if (!(t instanceof HTMLElement))
164
164
  return;
165
165
  const e = t.closest(pt);
166
166
  if (!(e instanceof HTMLElement) || e.getAttribute("aria-hidden") === "true")
167
167
  return;
168
- const i = e.querySelector(_e);
168
+ const i = e.querySelector(ye);
169
169
  i instanceof HTMLElement && (!t.closest(qt) && i.scrollTop > 0 || (U = e, R = i, mt = s.touches[0].clientY, K = 0, e.classList.add(Nt)));
170
- }, Ae = (s) => {
170
+ }, Ee = (s) => {
171
171
  R && (K = Math.max(0, s.touches[0].clientY - mt), R.style.transform = `translateY(${K}px)`);
172
172
  };
173
173
  let rt = !1;
@@ -175,14 +175,14 @@ const jt = (s) => {
175
175
  const t = s.target;
176
176
  if (!(t instanceof Element))
177
177
  return null;
178
- const e = t.closest(we);
178
+ const e = t.closest(_e);
179
179
  if (!(e instanceof HTMLElement))
180
180
  return null;
181
181
  const i = e.getAttribute("data-a11y-dialog-show"), n = i ? document.getElementById(i) : null;
182
182
  return !(n instanceof HTMLElement) || n.contains(e) ? null : n;
183
- }, Ce = (s) => {
183
+ }, Ae = (s) => {
184
184
  rt = !!jt(s)?.matches(Zt);
185
- }, xe = (s) => {
185
+ }, Ce = (s) => {
186
186
  if (!rt)
187
187
  return;
188
188
  rt = !1;
@@ -191,35 +191,35 @@ const jt = (s) => {
191
191
  return;
192
192
  const e = t.querySelector(Ht);
193
193
  e instanceof HTMLElement && e.click();
194
- }, Te = () => {
194
+ }, xe = () => {
195
195
  if (U) {
196
- if (K > Se) {
196
+ if (K > be) {
197
197
  const s = U.querySelector(Ht);
198
198
  s instanceof HTMLElement && s.click();
199
199
  }
200
200
  Vt();
201
201
  }
202
- }, Pe = (s, t) => {
202
+ }, Te = (s, t) => {
203
203
  const e = s.id;
204
204
  e && document.querySelectorAll(`[data-a11y-dialog-show="${e}"]`).forEach((i) => {
205
205
  !(i instanceof HTMLElement) || s.contains(i) || i.setAttribute("aria-expanded", t ? "true" : "false");
206
206
  });
207
- }, Ie = () => {
207
+ }, Pe = () => {
208
208
  new MutationObserver((t) => {
209
209
  t.forEach(({ target: e }) => {
210
210
  if (!(e instanceof HTMLElement) || !e.matches(pt))
211
211
  return;
212
212
  const i = e.getAttribute("aria-hidden") !== "true";
213
- i && Wt(e), Pe(e, i);
213
+ i && Wt(e), Te(e, i);
214
214
  });
215
215
  }).observe(document.body, {
216
216
  attributes: !0,
217
217
  attributeFilter: ["aria-hidden"],
218
218
  subtree: !0
219
219
  });
220
- }, Me = () => {
221
- window.layout === ut.MOBILE && (yt || (document.addEventListener("touchstart", Ee, { passive: !0 }), document.addEventListener("touchmove", Ae, { passive: !0 }), document.addEventListener("touchend", Te), document.addEventListener("touchcancel", Vt), document.addEventListener("mousedown", Ce), document.addEventListener("click", xe), window.addEventListener("resize", Le), Ie(), yt = !0));
222
- }, Oe = (s) => {
220
+ }, Ie = () => {
221
+ window.layout === ut.MOBILE && (yt || (document.addEventListener("touchstart", Le, { passive: !0 }), document.addEventListener("touchmove", Ee, { passive: !0 }), document.addEventListener("touchend", xe), document.addEventListener("touchcancel", Vt), document.addEventListener("mousedown", Ae), document.addEventListener("click", Ce), window.addEventListener("resize", Se), Pe(), yt = !0));
222
+ }, Me = (s) => {
223
223
  s.stopImmediatePropagation(), s.preventDefault();
224
224
  const t = s.currentTarget;
225
225
  if (t instanceof HTMLButtonElement) {
@@ -228,15 +228,15 @@ const jt = (s) => {
228
228
  );
229
229
  t.getAttribute("aria-expanded") === "true" ? (t.setAttribute("aria-expanded", "false"), i?.setAttribute("aria-hidden", "true")) : (t.setAttribute("aria-expanded", "true"), i?.setAttribute("aria-hidden", "false"));
230
230
  }
231
- }, ze = (s = document.querySelector(
231
+ }, Oe = (s = document.querySelector(
232
232
  ".js-collapse__button"
233
233
  )) => {
234
234
  s && document.querySelectorAll(".c-collapse__button").forEach((e) => {
235
235
  e.addEventListener("click", (i) => {
236
- Oe(i);
236
+ Me(i);
237
237
  });
238
238
  });
239
- }, De = "[data-countdown][data-countdown-end-date]", $e = (s) => {
239
+ }, ze = "[data-countdown][data-countdown-end-date]", De = (s) => {
240
240
  const t = s.querySelector(".js-countdown-days"), e = s.querySelector(".js-countdown-hours"), i = s.querySelector(".js-countdown-minutes"), n = s.querySelector(".js-countdown-seconds");
241
241
  return !t || !e || !i || !n ? null : {
242
242
  daysElement: t,
@@ -250,9 +250,9 @@ const jt = (s) => {
250
250
  return !1;
251
251
  const i = Math.floor(e / (1e3 * 60 * 60 * 24)), n = Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), o = Math.floor(e % (1e3 * 60 * 60) / (1e3 * 60)), r = Math.floor(e % (1e3 * 60) / 1e3);
252
252
  return t.daysElement.textContent = i.toString(), t.hoursElement.textContent = n.toString(), t.minutesElement.textContent = o.toString(), t.secondsElement.textContent = r.toString(), !0;
253
- }, Be = () => {
254
- document.querySelectorAll(De).forEach((t) => {
255
- const e = t.dataset.countdownEndDate, i = e ? new Date(e).getTime() : Number.NaN, n = $e(t);
253
+ }, $e = () => {
254
+ document.querySelectorAll(ze).forEach((t) => {
255
+ const e = t.dataset.countdownEndDate, i = e ? new Date(e).getTime() : Number.NaN, n = De(t);
256
256
  if (!n)
257
257
  return;
258
258
  if (Number.isNaN(i)) {
@@ -267,12 +267,12 @@ const jt = (s) => {
267
267
  _t(i, n) || (clearInterval(o), t.remove());
268
268
  }, 1e3);
269
269
  });
270
- }, Re = (s) => {
270
+ }, Be = (s) => {
271
271
  const t = s.getBBox(), e = t.width / 20;
272
272
  return [t.x - e, t.y - e, t.width + e * 2, t.height + e * 2].join(
273
273
  " "
274
274
  );
275
- }, Fe = () => {
275
+ }, Re = () => {
276
276
  const s = document.querySelector(".c-map-districts-container"), t = document.querySelector(".c-map-districts");
277
277
  if (!s || !t)
278
278
  return;
@@ -323,7 +323,7 @@ const jt = (s) => {
323
323
  );
324
324
  d(
325
325
  y || p,
326
- Re(y || p)
326
+ Be(y || p)
327
327
  );
328
328
  }
329
329
  }, u = () => {
@@ -332,7 +332,7 @@ const jt = (s) => {
332
332
  t.addEventListener("click", u), n && n.addEventListener("click", u), document.querySelectorAll(".c-map-districts__zoomable").forEach((m) => {
333
333
  m.addEventListener("click", (p) => h(p));
334
334
  });
335
- }, ke = () => {
335
+ }, Fe = () => {
336
336
  const s = document.getElementById("elections-form-search"), t = document.querySelector(".c-search-form__autocomplete");
337
337
  if (!s || !t)
338
338
  return;
@@ -360,57 +360,57 @@ const jt = (s) => {
360
360
  }), s.addEventListener("focusin", () => {
361
361
  t.childElementCount > 0 && t.classList.remove("u-hidden");
362
362
  });
363
- }, Ze = (s, t) => {
363
+ }, ke = (s, t) => {
364
364
  s.setAttribute("aria-expanded", "true"), s.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach((n) => {
365
365
  n.classList.remove(t);
366
366
  });
367
367
  const i = s.querySelector(".js-ellipsis-button__label");
368
368
  i instanceof HTMLSpanElement && (i.innerHTML = "Voir moins");
369
- }, qe = (s, t) => {
369
+ }, Ze = (s, t) => {
370
370
  s.parentNode?.querySelectorAll(".js-ellipsis-target")?.forEach((n) => {
371
371
  n.classList.add(t);
372
372
  }), s.setAttribute("aria-expanded", "false");
373
373
  const i = s.querySelector(".js-ellipsis-button__label");
374
374
  i instanceof HTMLSpanElement && (i.innerHTML = "Voir plus");
375
- }, He = (s, t) => {
375
+ }, qe = (s, t) => {
376
376
  const e = s.currentTarget;
377
377
  if (s.preventDefault(), e instanceof HTMLButtonElement) {
378
378
  const i = t ? "u-ellipsis-multiline" : "u-ellipsis";
379
- return e.getAttribute("aria-expanded") === "true" ? qe(e, i) : Ze(e, i);
379
+ return e.getAttribute("aria-expanded") === "true" ? Ze(e, i) : ke(e, i);
380
380
  }
381
381
  return null;
382
- }, Ne = (s = document.querySelector(
382
+ }, He = (s = document.querySelector(
383
383
  ".js-ellipsis-button"
384
384
  )) => {
385
385
  s && document.querySelectorAll(".js-ellipsis-button").forEach((e) => {
386
386
  const i = e.getAttribute("data-multiple") === "true";
387
- e.addEventListener("click", (n) => He(n, i));
387
+ e.addEventListener("click", (n) => qe(n, i));
388
388
  });
389
- }, We = (s) => {
389
+ }, Ne = (s) => {
390
390
  s.setAttribute("aria-expanded", "true"), s.parentNode?.querySelectorAll(".js-expand-target")?.forEach((i) => {
391
391
  i.setAttribute("aria-hidden", "false");
392
392
  });
393
393
  const e = s.querySelector(".js-expand-button__label");
394
394
  e instanceof HTMLSpanElement && (e.innerHTML = "Voir moins");
395
- }, Ve = (s) => {
395
+ }, We = (s) => {
396
396
  s.parentNode?.querySelectorAll(".js-expand-target")?.forEach((i) => {
397
397
  i.setAttribute("aria-hidden", "true");
398
398
  }), s.setAttribute("aria-expanded", "false");
399
399
  const e = s.querySelector(".js-expand-button__label");
400
400
  e instanceof HTMLSpanElement && (e.innerHTML = "Voir plus");
401
- }, je = (s) => {
401
+ }, Ve = (s) => {
402
402
  const t = s.currentTarget;
403
- return s.preventDefault(), t instanceof HTMLButtonElement ? t.getAttribute("aria-expanded") === "true" ? Ve(t) : We(t) : null;
404
- }, Ge = (s) => {
403
+ return s.preventDefault(), t instanceof HTMLButtonElement ? t.getAttribute("aria-expanded") === "true" ? We(t) : Ne(t) : null;
404
+ }, je = (s) => {
405
405
  const t = s.parentNode?.querySelector(".js-expand-target");
406
406
  return !t || t.classList.contains("c-elections-result__members") ? !1 : (t.textContent?.trim().length ?? 0) < 255;
407
- }, Ue = (s = document.querySelector(
407
+ }, Ge = (s = document.querySelector(
408
408
  ".js-expand-button"
409
409
  )) => {
410
410
  s && document.querySelectorAll(".js-expand-button").forEach((e) => {
411
- Ge(e) ? (e.style.display = "none", e.parentNode?.querySelectorAll(".js-expand-target")?.forEach((n) => {
411
+ je(e) ? (e.style.display = "none", e.parentNode?.querySelectorAll(".js-expand-target")?.forEach((n) => {
412
412
  n.setAttribute("aria-hidden", "false");
413
- })) : e.addEventListener("click", je);
413
+ })) : e.addEventListener("click", Ve);
414
414
  });
415
415
  }, Gt = (s, t) => {
416
416
  const e = document.querySelector(".js-content-header"), i = document.querySelector(t), n = document.querySelector(s), o = document.querySelector(".c-header-mobile"), r = o instanceof HTMLElement ? o.offsetHeight : 0;
@@ -426,10 +426,10 @@ const jt = (s) => {
426
426
  );
427
427
  a.observe(e), a.observe(i);
428
428
  }
429
- }, Ke = () => Gt(".js-close-article-btn", ".js-limit-scroll-close-article-btn"), Xe = () => Gt(".js-chatbot-btn", ".js-limit-scroll-chatbot-btn"), Ye = () => {
429
+ }, Ue = () => Gt(".js-close-article-btn", ".js-limit-scroll-close-article-btn"), Ke = () => Gt(".js-chatbot-btn", ".js-limit-scroll-chatbot-btn"), Xe = () => {
430
430
  const s = document.querySelector(".js-game-alert");
431
431
  de && s && s.classList.remove("u-hidden");
432
- }, Je = () => {
432
+ }, Ye = () => {
433
433
  const s = document.querySelectorAll(".js-half-donut-result");
434
434
  for (const t of Array.from(s)) {
435
435
  const e = t.querySelector(".c-half-donut"), i = t.querySelector(".c-legend");
@@ -448,7 +448,7 @@ const jt = (s) => {
448
448
  });
449
449
  });
450
450
  }
451
- }, Qe = () => {
451
+ }, Je = () => {
452
452
  const s = document.querySelector(".c-image-slider__container");
453
453
  if (!s)
454
454
  return () => {
@@ -512,14 +512,14 @@ const jt = (s) => {
512
512
  }), c(!0), h(), () => {
513
513
  u();
514
514
  };
515
- }, ti = (s) => {
515
+ }, Qe = (s) => {
516
516
  const t = s.currentTarget, e = t instanceof HTMLElement ? t.nextElementSibling : null;
517
517
  !(t instanceof HTMLButtonElement) || !(e instanceof HTMLElement) || (s.stopImmediatePropagation(), s.preventDefault(), t.getAttribute("aria-expanded") === "true" ? (t.setAttribute("aria-expanded", "false"), e.setAttribute("aria-hidden", "true")) : (t.setAttribute("aria-expanded", "true"), e.setAttribute("aria-hidden", "false")));
518
518
  }, wt = /* @__PURE__ */ new WeakSet(), Ut = () => {
519
519
  if (typeof document > "u")
520
520
  return;
521
521
  document.querySelectorAll(".js-info-button").forEach((t) => {
522
- !(t instanceof HTMLButtonElement) || wt.has(t) || (wt.add(t), t.addEventListener("click", ti));
522
+ !(t instanceof HTMLButtonElement) || wt.has(t) || (wt.add(t), t.addEventListener("click", Qe));
523
523
  });
524
524
  };
525
525
  if (typeof document < "u") {
@@ -531,7 +531,7 @@ const v = {
531
531
  negTabIndex: ':not([tabindex^="-"])',
532
532
  disabled: ":not(:disabled)"
533
533
  };
534
- var ei = [
534
+ var ti = [
535
535
  `a[href]${v.inert}${v.negTabIndex}`,
536
536
  `area[href]${v.inert}${v.negTabIndex}`,
537
537
  `input:not([type="hidden"]):not([type="radio"])${v.inert}${v.negTabIndex}${v.disabled}`,
@@ -552,14 +552,14 @@ var ei = [
552
552
  function bt(s) {
553
553
  (s.querySelector("[autofocus]") || s).focus();
554
554
  }
555
- function ii(s) {
555
+ function ei(s) {
556
556
  const t = V(s, !0), e = t ? V(s, !1) || t : null;
557
557
  return [t, e];
558
558
  }
559
559
  function V(s, t) {
560
560
  if (t && Et(s))
561
561
  return s;
562
- if (ni(s))
562
+ if (si(s))
563
563
  if (s.shadowRoot) {
564
564
  let e = St(s.shadowRoot, t);
565
565
  for (; e; ) {
@@ -595,16 +595,16 @@ function St(s, t) {
595
595
  function Lt(s, t) {
596
596
  return t ? s.nextElementSibling : s.previousElementSibling;
597
597
  }
598
- const si = (s) => s.matches("details:not([open]) *") && !s.matches("details>summary:first-of-type") ? !0 : !(s.offsetWidth || s.offsetHeight || s.getClientRects().length), Et = (s) => s.shadowRoot?.delegatesFocus ? !1 : s.matches(ei.join(",")) && !si(s);
599
- function ni(s) {
598
+ const ii = (s) => s.matches("details:not([open]) *") && !s.matches("details>summary:first-of-type") ? !0 : !(s.offsetWidth || s.offsetHeight || s.getClientRects().length), Et = (s) => s.shadowRoot?.delegatesFocus ? !1 : s.matches(ti.join(",")) && !ii(s);
599
+ function si(s) {
600
600
  return s.shadowRoot && s.getAttribute("tabindex") === "-1" ? !1 : !s.matches(":disabled,[hidden],[inert]");
601
601
  }
602
602
  function j(s = document) {
603
603
  const t = s.activeElement;
604
604
  return t ? t.shadowRoot ? j(t.shadowRoot) || document.activeElement : t : null;
605
605
  }
606
- function oi(s, t) {
607
- const [e, i] = ii(s);
606
+ function ni(s, t) {
607
+ const [e, i] = ei(s);
608
608
  if (!e)
609
609
  return t.preventDefault();
610
610
  const n = j();
@@ -735,7 +735,7 @@ class Xt {
735
735
  e = !!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open');
736
736
  } catch {
737
737
  }
738
- t.key === "Escape" && this.$el.getAttribute("role") !== "alertdialog" && !e && (t.preventDefault(), this.hide(t)), t.key === "Tab" && oi(this.$el, t);
738
+ t.key === "Escape" && this.$el.getAttribute("role") !== "alertdialog" && !e && (t.preventDefault(), this.hide(t)), t.key === "Tab" && ni(this.$el, t);
739
739
  }
740
740
  /**
741
741
  * If the dialog is shown and the focus is not within a dialog element (either
@@ -753,7 +753,7 @@ function At() {
753
753
  new Xt(s);
754
754
  }
755
755
  typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", At) : At());
756
- const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
756
+ const oi = () => document.querySelectorAll(".js-modal").forEach((s) => {
757
757
  if (!(s instanceof HTMLElement))
758
758
  return;
759
759
  const t = new Xt(s);
@@ -785,7 +785,7 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
785
785
  prevBtn: i
786
786
  }) => {
787
787
  e.classList.contains("o-nav-button--visible") && !i.classList.contains("o-nav-button--visible") && (s.style.paddingRight = et, s.style.paddingLeft = ""), i.classList.contains("o-nav-button--visible") && (s.style.paddingLeft = et, e.classList.contains("o-nav-button--visible") && (s.style.paddingRight = et), e.classList.contains("o-nav-button--visible") || (s.style.paddingRight = "")), !e.classList.contains("o-nav-button--visible") && !i.classList.contains("o-nav-button--visible") && (t.style.width = "", s.style.paddingRight = "");
788
- }, ai = ({
788
+ }, ri = ({
789
789
  navigationContainer: s,
790
790
  navigatedList: t,
791
791
  nextBtn: e,
@@ -798,7 +798,7 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
798
798
  nextBtn: e,
799
799
  prevBtn: i
800
800
  });
801
- }, li = ({
801
+ }, ai = ({
802
802
  navigationContainer: s,
803
803
  navigatedList: t,
804
804
  nextBtn: e,
@@ -850,7 +850,7 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
850
850
  prevBtn: i
851
851
  });
852
852
  }
853
- }, ci = ({
853
+ }, li = ({
854
854
  navigationContainer: s,
855
855
  navigatedList: t,
856
856
  nextBtn: e,
@@ -898,19 +898,19 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
898
898
  prevBtn: i
899
899
  });
900
900
  }
901
- }, di = ({
901
+ }, ci = ({
902
902
  navigationContainer: s,
903
903
  navigatedList: t,
904
904
  nextBtn: e,
905
905
  prevBtn: i
906
906
  }) => {
907
- ai({
907
+ ri({
908
908
  navigationContainer: s,
909
909
  navigatedList: t,
910
910
  nextBtn: e,
911
911
  prevBtn: i
912
912
  });
913
- }, hi = (s) => {
913
+ }, di = (s) => {
914
914
  const { sliderVariant: t } = s.dataset, { sliderAuto: e } = s.dataset, { sliderDelay: i } = s.dataset, n = i ? parseInt(i, 10) : 3e3, r = s.closest(".js-overview-bar-container")?.querySelector(".c-stepper"), a = r?.querySelectorAll(".c-stepper__item"), l = s.querySelector(
915
915
  ".js-navigation-container__list"
916
916
  ), c = s.querySelector(".o-nav-button--next-button"), d = s.querySelector(
@@ -918,7 +918,7 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
918
918
  );
919
919
  if (!(!l || !c || !d) && (l.clientWidth < l.scrollWidth && (c.classList.add("o-nav-button--visible"), c.classList.contains("c-slider__button-container--has-space-around") && (s.style.paddingRight = et)), c.addEventListener(
920
920
  "click",
921
- li.bind(!1, {
921
+ ai.bind(!1, {
922
922
  navigationContainer: s,
923
923
  navigatedList: l,
924
924
  nextBtn: c,
@@ -927,7 +927,7 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
927
927
  })
928
928
  ), d.addEventListener(
929
929
  "click",
930
- ci.bind(!1, {
930
+ li.bind(!1, {
931
931
  navigationContainer: s,
932
932
  navigatedList: l,
933
933
  nextBtn: c,
@@ -951,7 +951,7 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
951
951
  }, 0)), d.click());
952
952
  }, n);
953
953
  }
954
- }, ui = () => {
954
+ }, hi = () => {
955
955
  const s = document.querySelectorAll(".js-navigation-container");
956
956
  Array.from(s).forEach((t) => {
957
957
  const e = t.querySelector(
@@ -961,13 +961,13 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
961
961
  const i = new ResizeObserver((n) => {
962
962
  n.forEach((o) => {
963
963
  const { width: r } = o.contentRect;
964
- r > 0 && (hi(t), i.disconnect());
964
+ r > 0 && (di(t), i.disconnect());
965
965
  });
966
966
  });
967
967
  i.observe(e);
968
968
  }
969
969
  });
970
- }, pi = () => {
970
+ }, ui = () => {
971
971
  const s = document.querySelectorAll(".js-navigation-container");
972
972
  for (const t of Array.from(s))
973
973
  if (t) {
@@ -980,7 +980,7 @@ const ri = () => document.querySelectorAll(".js-modal").forEach((s) => {
980
980
  );
981
981
  e && i && n && window.addEventListener(
982
982
  "resize",
983
- di.bind(!1, {
983
+ ci.bind(!1, {
984
984
  navigationContainer: t,
985
985
  navigatedList: e,
986
986
  nextBtn: i,
@@ -1016,17 +1016,17 @@ function X(s, t, e) {
1016
1016
  function D(s, t, e, i) {
1017
1017
  s.style.transform = X(t, e, i);
1018
1018
  }
1019
- const mi = "cubic-bezier(.4,0,.22,1)";
1019
+ const pi = "cubic-bezier(.4,0,.22,1)";
1020
1020
  function Jt(s, t, e, i) {
1021
- s.style.transition = t ? `${t} ${e}ms ${i || mi}` : "none";
1021
+ s.style.transition = t ? `${t} ${e}ms ${i || pi}` : "none";
1022
1022
  }
1023
1023
  function lt(s, t, e) {
1024
1024
  s.style.width = typeof t == "number" ? `${t}px` : t, s.style.height = typeof e == "number" ? `${e}px` : e;
1025
1025
  }
1026
- function fi(s) {
1026
+ function mi(s) {
1027
1027
  Jt(s);
1028
1028
  }
1029
- function gi(s) {
1029
+ function fi(s) {
1030
1030
  return "decode" in s ? s.decode().catch(() => {
1031
1031
  }) : s.complete ? Promise.resolve(s) : new Promise((t, e) => {
1032
1032
  s.onload = () => t(s), s.onerror = e;
@@ -1038,10 +1038,10 @@ const T = {
1038
1038
  LOADED: "loaded",
1039
1039
  ERROR: "error"
1040
1040
  };
1041
- function vi(s) {
1041
+ function gi(s) {
1042
1042
  return "button" in s && s.button === 1 || s.ctrlKey || s.metaKey || s.altKey || s.shiftKey;
1043
1043
  }
1044
- function yi(s, t, e = document) {
1044
+ function vi(s, t, e = document) {
1045
1045
  let i = [];
1046
1046
  if (s instanceof Element)
1047
1047
  i = [s];
@@ -1065,7 +1065,7 @@ try {
1065
1065
  }));
1066
1066
  } catch {
1067
1067
  }
1068
- class _i {
1068
+ class yi {
1069
1069
  constructor() {
1070
1070
  this._pool = [];
1071
1071
  }
@@ -1163,7 +1163,7 @@ function ee(s, t, e, i) {
1163
1163
  y: t.y - H("top", s, t, e, i) - H("bottom", s, t, e, i)
1164
1164
  };
1165
1165
  }
1166
- class wi {
1166
+ class _i {
1167
1167
  /**
1168
1168
  * @param {Slide} slide
1169
1169
  */
@@ -1299,7 +1299,7 @@ let ie = class {
1299
1299
  return this._parseZoomLevelOption("max") || Math.max(1, this.fit * 4);
1300
1300
  }
1301
1301
  };
1302
- class bi {
1302
+ class wi {
1303
1303
  /**
1304
1304
  * @param {SlideData} data
1305
1305
  * @param {number} index
@@ -1316,7 +1316,7 @@ class bi {
1316
1316
  slide: this,
1317
1317
  data: this.data,
1318
1318
  index: e
1319
- }), this.content = this.pswp.contentLoader.getContentBySlide(this), this.container = x("pswp__zoom-wrap", "div"), this.holderElement = null, this.currZoomLevel = 1, this.width = this.content.width, this.height = this.content.height, this.heavyAppended = !1, this.bounds = new wi(this), this.prevDisplayedWidth = -1, this.prevDisplayedHeight = -1, this.pswp.dispatch("slideInit", {
1319
+ }), this.content = this.pswp.contentLoader.getContentBySlide(this), this.container = x("pswp__zoom-wrap", "div"), this.holderElement = null, this.currZoomLevel = 1, this.width = this.content.width, this.height = this.content.height, this.heavyAppended = !1, this.bounds = new _i(this), this.prevDisplayedWidth = -1, this.prevDisplayedHeight = -1, this.pswp.dispatch("slideInit", {
1320
1320
  slide: this
1321
1321
  });
1322
1322
  }
@@ -1569,11 +1569,11 @@ class bi {
1569
1569
  t !== this.currentResolution && (this.currentResolution = t, this.updateContentSize(), this.pswp.dispatch("resolutionChanged"));
1570
1570
  }
1571
1571
  }
1572
- const Si = 0.35, Li = 0.6, Tt = 0.4, Pt = 0.5;
1573
- function Ei(s, t) {
1572
+ const bi = 0.35, Si = 0.6, Tt = 0.4, Pt = 0.5;
1573
+ function Li(s, t) {
1574
1574
  return s * t / (1 - t);
1575
1575
  }
1576
- class Ai {
1576
+ class Ei {
1577
1577
  /**
1578
1578
  * @param {Gestures} gestures
1579
1579
  */
@@ -1599,7 +1599,7 @@ class Ai {
1599
1599
  if (!this.pswp.dispatch("verticalDrag", {
1600
1600
  panY: o
1601
1601
  }).defaultPrevented) {
1602
- this._setPanWithFriction("y", o, Li);
1602
+ this._setPanWithFriction("y", o, Si);
1603
1603
  const r = 1 - Math.abs(this._getVerticalDragRatio(n.pan.y));
1604
1604
  this.pswp.applyBgOpacity(r), n.applyCurrentZoomPan();
1605
1605
  }
@@ -1635,7 +1635,7 @@ class Ai {
1635
1635
  const {
1636
1636
  pan: n,
1637
1637
  bounds: o
1638
- } = i, r = n[t], a = this.pswp.bgOpacity < 1 && t === "y", c = r + Ei(e[t], 0.995);
1638
+ } = i, r = n[t], a = this.pswp.bgOpacity < 1 && t === "y", c = r + Li(e[t], 0.995);
1639
1639
  if (a) {
1640
1640
  const m = this._getVerticalDragRatio(r), p = this._getVerticalDragRatio(c);
1641
1641
  if (m < 0 && p < -Tt || m > 0 && p > Tt) {
@@ -1750,16 +1750,16 @@ class Ai {
1750
1750
  } = n;
1751
1751
  if (r.correctPan(t, e) !== e || i) {
1752
1752
  const l = Math.round(e - o[t]);
1753
- o[t] += l * (i || Si);
1753
+ o[t] += l * (i || bi);
1754
1754
  } else
1755
1755
  o[t] = e;
1756
1756
  }
1757
1757
  }
1758
- const Ci = 0.05, xi = 0.15;
1758
+ const Ai = 0.05, Ci = 0.15;
1759
1759
  function It(s, t, e) {
1760
1760
  return s.x = (t.x + e.x) / 2, s.y = (t.y + e.y) / 2, s;
1761
1761
  }
1762
- class Ti {
1762
+ class xi {
1763
1763
  /**
1764
1764
  * @param {Gestures} gestures
1765
1765
  */
@@ -1805,8 +1805,8 @@ class Ti {
1805
1805
  bgOpacity: d
1806
1806
  }).defaultPrevented || o.applyBgOpacity(d);
1807
1807
  } else
1808
- c = a - (a - c) * xi;
1809
- else c > l && (c = l + (c - l) * Ci);
1808
+ c = a - (a - c) * Ci;
1809
+ else c > l && (c = l + (c - l) * Ai);
1810
1810
  r.pan.x = this._calculatePanForZoomLevel("x", c), r.pan.y = this._calculatePanForZoomLevel("y", c), r.setZoomLevel(c), r.applyCurrentZoomPan();
1811
1811
  }
1812
1812
  end() {
@@ -1894,7 +1894,7 @@ function Mt(s) {
1894
1894
  return !!/** @type {HTMLElement} */
1895
1895
  s.target.closest(".pswp__container");
1896
1896
  }
1897
- class Pi {
1897
+ class Ti {
1898
1898
  /**
1899
1899
  * @param {Gestures} gestures
1900
1900
  */
@@ -1968,8 +1968,8 @@ class Pi {
1968
1968
  }
1969
1969
  }
1970
1970
  }
1971
- const Ii = 10, Mi = 300, Oi = 25;
1972
- class zi {
1971
+ const Pi = 10, Ii = 300, Mi = 25;
1972
+ class Oi {
1973
1973
  /**
1974
1974
  * @param {PhotoSwipe} pswp
1975
1975
  */
@@ -2001,7 +2001,7 @@ class zi {
2001
2001
  }, this._intervalP1 = {
2002
2002
  x: 0,
2003
2003
  y: 0
2004
- }, this._numActivePoints = 0, this._ongoingPointers = [], this._touchEventEnabled = "ontouchstart" in window, this._pointerEventEnabled = !!window.PointerEvent, this.supportsTouch = this._touchEventEnabled || this._pointerEventEnabled && navigator.maxTouchPoints > 1, this._numActivePoints = 0, this._intervalTime = 0, this._velocityCalculated = !1, this.isMultitouch = !1, this.isDragging = !1, this.isZooming = !1, this.raf = null, this._tapTimer = null, this.supportsTouch || (t.options.allowPanToNext = !1), this.drag = new Ai(this), this.zoomLevels = new Ti(this), this.tapHandler = new Pi(this), t.on("bindEvents", () => {
2004
+ }, this._numActivePoints = 0, this._ongoingPointers = [], this._touchEventEnabled = "ontouchstart" in window, this._pointerEventEnabled = !!window.PointerEvent, this.supportsTouch = this._touchEventEnabled || this._pointerEventEnabled && navigator.maxTouchPoints > 1, this._numActivePoints = 0, this._intervalTime = 0, this._velocityCalculated = !1, this.isMultitouch = !1, this.isDragging = !1, this.isZooming = !1, this.raf = null, this._tapTimer = null, this.supportsTouch || (t.options.allowPanToNext = !1), this.drag = new Ei(this), this.zoomLevels = new xi(this), this.tapHandler = new Ti(this), t.on("bindEvents", () => {
2005
2005
  t.events.add(
2006
2006
  t.scrollWrap,
2007
2007
  "click",
@@ -2121,8 +2121,8 @@ class zi {
2121
2121
  this.tapHandler.click(this.startP1, t);
2122
2122
  return;
2123
2123
  }
2124
- const i = this.pswp.options.doubleTapAction ? Mi : 0;
2125
- this._tapTimer ? (this._clearTapTimer(), at(this._lastStartP1, this.startP1) < Oi && this.tapHandler.doubleTap(this.startP1, t)) : (S(this._lastStartP1, this.startP1), this._tapTimer = setTimeout(() => {
2124
+ const i = this.pswp.options.doubleTapAction ? Ii : 0;
2125
+ this._tapTimer ? (this._clearTapTimer(), at(this._lastStartP1, this.startP1) < Mi && this.tapHandler.doubleTap(this.startP1, t)) : (S(this._lastStartP1, this.startP1), this._tapTimer = setTimeout(() => {
2126
2126
  this.tapHandler.tap(this.startP1, t), this._clearTapTimer();
2127
2127
  }, i));
2128
2128
  }
@@ -2208,7 +2208,7 @@ class zi {
2208
2208
  const t = Math.abs(this.p1.x - this.startP1.x) - Math.abs(this.p1.y - this.startP1.y);
2209
2209
  if (t !== 0) {
2210
2210
  const e = t > 0 ? "x" : "y";
2211
- Math.abs(this.p1[e] - this.startP1[e]) >= Ii && (this.dragAxis = e);
2211
+ Math.abs(this.p1[e] - this.startP1[e]) >= Pi && (this.dragAxis = e);
2212
2212
  }
2213
2213
  }
2214
2214
  }
@@ -2232,8 +2232,8 @@ class zi {
2232
2232
  this.pswp.mainScroll.isShifted() && (t.preventDefault(), t.stopPropagation());
2233
2233
  }
2234
2234
  }
2235
- const Di = 0.35;
2236
- class $i {
2235
+ const zi = 0.35;
2236
+ class Di {
2237
2237
  /**
2238
2238
  * @param {PhotoSwipe} pswp
2239
2239
  */
@@ -2386,7 +2386,7 @@ class $i {
2386
2386
  let i = (this.slideWidth * this._currPositionIndex - t) / this.slideWidth;
2387
2387
  i += this.pswp.currIndex;
2388
2388
  const n = Math.round(t - this.x);
2389
- (i < 0 && n > 0 || i >= this.pswp.getNumItems() - 1 && n < 0) && (t = this.x + n * Di);
2389
+ (i < 0 && n > 0 || i >= this.pswp.getNumItems() - 1 && n < 0) && (t = this.x + n * zi);
2390
2390
  }
2391
2391
  this.x = t, this.pswp.container && D(this.pswp.container, t), this.pswp.dispatch("moveMainScroll", {
2392
2392
  x: t,
@@ -2394,7 +2394,7 @@ class $i {
2394
2394
  });
2395
2395
  }
2396
2396
  }
2397
- const Bi = {
2397
+ const $i = {
2398
2398
  Escape: 27,
2399
2399
  z: 90,
2400
2400
  ArrowLeft: 37,
@@ -2402,8 +2402,8 @@ const Bi = {
2402
2402
  ArrowRight: 39,
2403
2403
  ArrowDown: 40,
2404
2404
  Tab: 9
2405
- }, z = (s, t) => t ? s : Bi[s];
2406
- class Ri {
2405
+ }, z = (s, t) => t ? s : $i[s];
2406
+ class Bi {
2407
2407
  /**
2408
2408
  * @param {PhotoSwipe} pswp
2409
2409
  */
@@ -2443,7 +2443,7 @@ class Ri {
2443
2443
  } = this;
2444
2444
  if (e.dispatch("keydown", {
2445
2445
  originalEvent: t
2446
- }).defaultPrevented || vi(t))
2446
+ }).defaultPrevented || gi(t))
2447
2447
  return;
2448
2448
  let i, n, o = !1;
2449
2449
  const r = "key" in t;
@@ -2495,8 +2495,8 @@ class Ri {
2495
2495
  ) && e.focus();
2496
2496
  }
2497
2497
  }
2498
- const Fi = "cubic-bezier(.4,0,.22,1)";
2499
- class ki {
2498
+ const Ri = "cubic-bezier(.4,0,.22,1)";
2499
+ class Fi {
2500
2500
  /**
2501
2501
  * onComplete can be unpredictable, be careful about current state
2502
2502
  *
@@ -2512,7 +2512,7 @@ class ki {
2512
2512
  onFinish: r = () => {
2513
2513
  },
2514
2514
  duration: a = 333,
2515
- easing: l = Fi
2515
+ easing: l = Ri
2516
2516
  } = t;
2517
2517
  this.onFinish = r;
2518
2518
  const c = o ? "transform" : "opacity", d = (e = t[c]) !== null && e !== void 0 ? e : "";
@@ -2539,11 +2539,11 @@ class ki {
2539
2539
  }
2540
2540
  // Destroy is called automatically onFinish
2541
2541
  destroy() {
2542
- this._helperTimeout && clearTimeout(this._helperTimeout), fi(this._target), this._target.removeEventListener("transitionend", this._onTransitionEnd, !1), this._target.removeEventListener("transitioncancel", this._onTransitionEnd, !1), this._finished || this._finalizeAnimation();
2542
+ this._helperTimeout && clearTimeout(this._helperTimeout), mi(this._target), this._target.removeEventListener("transitionend", this._onTransitionEnd, !1), this._target.removeEventListener("transitioncancel", this._onTransitionEnd, !1), this._finished || this._finalizeAnimation();
2543
2543
  }
2544
2544
  }
2545
- const Zi = 12, qi = 0.75;
2546
- class Hi {
2545
+ const ki = 12, Zi = 0.75;
2546
+ class qi {
2547
2547
  /**
2548
2548
  * @param {number} initialVelocity Initial velocity, px per ms.
2549
2549
  *
@@ -2560,7 +2560,7 @@ class Hi {
2560
2560
  * Recommended value from 10 to 50
2561
2561
  */
2562
2562
  constructor(t, e, i) {
2563
- this.velocity = t * 1e3, this._dampingRatio = e || qi, this._naturalFrequency = i || Zi, this._dampedFrequency = this._naturalFrequency, this._dampingRatio < 1 && (this._dampedFrequency *= Math.sqrt(1 - this._dampingRatio * this._dampingRatio));
2563
+ this.velocity = t * 1e3, this._dampingRatio = e || Zi, this._naturalFrequency = i || ki, this._dampedFrequency = this._naturalFrequency, this._dampingRatio < 1 && (this._dampedFrequency *= Math.sqrt(1 - this._dampingRatio * this._dampingRatio));
2564
2564
  }
2565
2565
  /**
2566
2566
  * @param {number} deltaPosition Difference between current and end position of the animation
@@ -2582,7 +2582,7 @@ class Hi {
2582
2582
  return i;
2583
2583
  }
2584
2584
  }
2585
- class Ni {
2585
+ class Hi {
2586
2586
  /**
2587
2587
  * @param {SpringAnimationProps} props
2588
2588
  */
@@ -2600,7 +2600,7 @@ class Ni {
2600
2600
  naturalFrequency: c
2601
2601
  } = t;
2602
2602
  this.onFinish = a;
2603
- const d = new Hi(n, l, c);
2603
+ const d = new qi(n, l, c);
2604
2604
  let h = Date.now(), u = e - i;
2605
2605
  const f = () => {
2606
2606
  this._raf && (u = d.easeFrame(u, Date.now() - h), Math.abs(u) < 1 && Math.abs(d.velocity) < 50 ? (o(i), r && r(), this.onFinish()) : (h = Date.now(), o(u + i), this._raf = requestAnimationFrame(f)));
@@ -2612,7 +2612,7 @@ class Ni {
2612
2612
  this._raf >= 0 && cancelAnimationFrame(this._raf), this._raf = 0;
2613
2613
  }
2614
2614
  }
2615
- class Wi {
2615
+ class Ni {
2616
2616
  constructor() {
2617
2617
  this.activeAnimations = [];
2618
2618
  }
@@ -2635,10 +2635,10 @@ class Wi {
2635
2635
  * @returns {Animation}
2636
2636
  */
2637
2637
  _start(t, e) {
2638
- const i = e ? new Ni(
2638
+ const i = e ? new Hi(
2639
2639
  /** @type SpringAnimationProps */
2640
2640
  t
2641
- ) : new ki(
2641
+ ) : new Fi(
2642
2642
  /** @type CssAnimationProps */
2643
2643
  t
2644
2644
  );
@@ -2681,7 +2681,7 @@ class Wi {
2681
2681
  return this.activeAnimations.some((t) => t.props.isPan);
2682
2682
  }
2683
2683
  }
2684
- class Vi {
2684
+ class Wi {
2685
2685
  /**
2686
2686
  * @param {PhotoSwipe} pswp
2687
2687
  */
@@ -2723,7 +2723,7 @@ class Vi {
2723
2723
  e.isPannable() && (t.deltaMode === 1 && (i *= 18, n *= 18), e.panTo(e.pan.x - i, e.pan.y - n));
2724
2724
  }
2725
2725
  }
2726
- function ji(s) {
2726
+ function Vi(s) {
2727
2727
  if (typeof s == "string")
2728
2728
  return s;
2729
2729
  if (!s || !s.isCustomSVG)
@@ -2735,7 +2735,7 @@ function ji(s) {
2735
2735
  t.size || 32
2736
2736
  ), t.outlineID && (e += '<use class="pswp__icn-shadow" xlink:href="#' + t.outlineID + '"/>'), e += t.inner, e += "</svg>", e;
2737
2737
  }
2738
- class Gi {
2738
+ class ji {
2739
2739
  /**
2740
2740
  * @param {PhotoSwipe} pswp
2741
2741
  * @param {UIElementData} data
@@ -2767,7 +2767,7 @@ class Gi {
2767
2767
  const f = u || h;
2768
2768
  f && l.setAttribute("aria-label", f);
2769
2769
  }
2770
- l.innerHTML = ji(o), e.onInit && e.onInit(l, t), e.onClick && (l.onclick = (h) => {
2770
+ l.innerHTML = Vi(o), e.onInit && e.onInit(l, t), e.onClick && (l.onclick = (h) => {
2771
2771
  typeof e.onClick == "string" ? t[e.onClick]() : typeof e.onClick == "function" && e.onClick(h, l, t);
2772
2772
  });
2773
2773
  const c = e.appendTo || "bar";
@@ -2780,7 +2780,7 @@ function se(s, t, e) {
2780
2780
  t.options.loop || (e ? s.disabled = !(t.currIndex < t.getNumItems() - 1) : s.disabled = !(t.currIndex > 0));
2781
2781
  });
2782
2782
  }
2783
- const Ui = {
2783
+ const Gi = {
2784
2784
  name: "arrowPrev",
2785
2785
  className: "pswp__button--arrow--prev",
2786
2786
  title: "Previous",
@@ -2795,7 +2795,7 @@ const Ui = {
2795
2795
  },
2796
2796
  onClick: "prev",
2797
2797
  onInit: se
2798
- }, Ki = {
2798
+ }, Ui = {
2799
2799
  name: "arrowNext",
2800
2800
  className: "pswp__button--arrow--next",
2801
2801
  title: "Next",
@@ -2812,7 +2812,7 @@ const Ui = {
2812
2812
  onInit: (s, t) => {
2813
2813
  se(s, t, !0);
2814
2814
  }
2815
- }, Xi = {
2815
+ }, Ki = {
2816
2816
  name: "close",
2817
2817
  title: "Close",
2818
2818
  order: 20,
@@ -2823,7 +2823,7 @@ const Ui = {
2823
2823
  outlineID: "pswp__icn-close"
2824
2824
  },
2825
2825
  onClick: "close"
2826
- }, Yi = {
2826
+ }, Xi = {
2827
2827
  name: "zoom",
2828
2828
  title: "Zoom",
2829
2829
  order: 10,
@@ -2835,7 +2835,7 @@ const Ui = {
2835
2835
  outlineID: "pswp__icn-zoom"
2836
2836
  },
2837
2837
  onClick: "toggleZoom"
2838
- }, Ji = {
2838
+ }, Yi = {
2839
2839
  name: "preloader",
2840
2840
  appendTo: "bar",
2841
2841
  order: 7,
@@ -2866,7 +2866,7 @@ const Ui = {
2866
2866
  t.currSlide === a.slide && r();
2867
2867
  }), t.ui && (t.ui.updatePreloaderVisibility = r);
2868
2868
  }
2869
- }, Qi = {
2869
+ }, Ji = {
2870
2870
  name: "counter",
2871
2871
  order: 5,
2872
2872
  onInit: (s, t) => {
@@ -2878,7 +2878,7 @@ const Ui = {
2878
2878
  function Ot(s, t) {
2879
2879
  s.classList.toggle("pswp--zoomed-in", t);
2880
2880
  }
2881
- class ts {
2881
+ class Qi {
2882
2882
  /**
2883
2883
  * @param {PhotoSwipe} pswp
2884
2884
  */
@@ -2890,7 +2890,7 @@ class ts {
2890
2890
  const {
2891
2891
  pswp: t
2892
2892
  } = this;
2893
- this.isRegistered = !1, this.uiElementsData = [Xi, Ui, Ki, Yi, Ji, Qi], t.dispatch("uiRegister"), this.uiElementsData.sort((e, i) => (e.order || 0) - (i.order || 0)), this.items = [], this.isRegistered = !0, this.uiElementsData.forEach((e) => {
2893
+ this.isRegistered = !1, this.uiElementsData = [Ki, Gi, Ui, Xi, Yi, Ji], t.dispatch("uiRegister"), this.uiElementsData.sort((e, i) => (e.order || 0) - (i.order || 0)), this.items = [], this.isRegistered = !0, this.uiElementsData.forEach((e) => {
2894
2894
  this.registerElement(e);
2895
2895
  }), t.on("change", () => {
2896
2896
  var e;
@@ -2901,7 +2901,7 @@ class ts {
2901
2901
  * @param {UIElementData} elementData
2902
2902
  */
2903
2903
  registerElement(t) {
2904
- this.isRegistered ? this.items.push(new Gi(this.pswp, t)) : this.uiElementsData.push(t);
2904
+ this.isRegistered ? this.items.push(new ji(this.pswp, t)) : this.uiElementsData.push(t);
2905
2905
  }
2906
2906
  /**
2907
2907
  * Fired each time zoom or pan position is changed.
@@ -2933,7 +2933,7 @@ class ts {
2933
2933
  Ot(t, r <= n), (i.imageClickAction === "zoom" || i.imageClickAction === "zoom-or-close") && t.classList.add("pswp--click-to-zoom");
2934
2934
  }
2935
2935
  }
2936
- function es(s) {
2936
+ function ts(s) {
2937
2937
  const t = s.getBoundingClientRect();
2938
2938
  return {
2939
2939
  x: t.left,
@@ -2941,7 +2941,7 @@ function es(s) {
2941
2941
  w: t.width
2942
2942
  };
2943
2943
  }
2944
- function is(s, t, e) {
2944
+ function es(s, t, e) {
2945
2945
  const i = s.getBoundingClientRect(), n = i.width / t, o = i.height / e, r = n > o ? n : o, a = (i.width - t * r) / 2, l = (i.height - e * r) / 2, c = {
2946
2946
  x: i.left + a,
2947
2947
  y: i.top + l,
@@ -2954,7 +2954,7 @@ function is(s, t, e) {
2954
2954
  y: l
2955
2955
  }, c;
2956
2956
  }
2957
- function ss(s, t, e) {
2957
+ function is(s, t, e) {
2958
2958
  const i = e.dispatch("thumbBounds", {
2959
2959
  index: s,
2960
2960
  itemData: t,
@@ -2973,9 +2973,9 @@ function ss(s, t, e) {
2973
2973
  n.querySelector(a)
2974
2974
  );
2975
2975
  }
2976
- return r = e.applyFilters("thumbEl", r, t, s), r && (t.thumbCropped ? o = is(r, t.width || t.w || 0, t.height || t.h || 0) : o = es(r)), e.applyFilters("thumbBounds", o, t, s);
2976
+ return r = e.applyFilters("thumbEl", r, t, s), r && (t.thumbCropped ? o = es(r, t.width || t.w || 0, t.height || t.h || 0) : o = ts(r)), e.applyFilters("thumbBounds", o, t, s);
2977
2977
  }
2978
- let ns = class {
2978
+ let ss = class {
2979
2979
  /**
2980
2980
  * @param {T} type
2981
2981
  * @param {PhotoSwipeEventsMap[T]} [details]
@@ -2986,7 +2986,7 @@ let ns = class {
2986
2986
  preventDefault() {
2987
2987
  this.defaultPrevented = !0;
2988
2988
  }
2989
- }, os = class {
2989
+ }, ns = class {
2990
2990
  constructor() {
2991
2991
  this._listeners = {}, this._filters = {}, this.pswp = void 0, this.options = void 0;
2992
2992
  }
@@ -3053,13 +3053,13 @@ let ns = class {
3053
3053
  return this.pswp.dispatch(t, e);
3054
3054
  const n = (
3055
3055
  /** @type {AugmentedEvent<T>} */
3056
- new ns(t, e)
3056
+ new ss(t, e)
3057
3057
  );
3058
3058
  return (i = this._listeners[t]) === null || i === void 0 || i.forEach((o) => {
3059
3059
  o.call(this, n);
3060
3060
  }), n;
3061
3061
  }
3062
- }, rs = class {
3062
+ }, os = class {
3063
3063
  /**
3064
3064
  * @param {string | false} imageSrc
3065
3065
  * @param {HTMLElement} container
@@ -3085,7 +3085,7 @@ let ns = class {
3085
3085
  var t;
3086
3086
  (t = this.element) !== null && t !== void 0 && t.parentNode && this.element.remove(), this.element = null;
3087
3087
  }
3088
- }, as = class {
3088
+ }, rs = class {
3089
3089
  /**
3090
3090
  * @param {SlideData} itemData Slide data
3091
3091
  * @param {PhotoSwipeBase} instance PhotoSwipe or PhotoSwipeLightbox instance
@@ -3120,7 +3120,7 @@ let ns = class {
3120
3120
  this.data.msrc && this.slide.isFirstSlide ? this.data.msrc : !1,
3121
3121
  this
3122
3122
  );
3123
- this.placeholder = new rs(i, this.slide.container);
3123
+ this.placeholder = new os(i, this.slide.container);
3124
3124
  }
3125
3125
  this.element && !e || this.instance.dispatch("contentLoad", {
3126
3126
  content: this,
@@ -3330,7 +3330,7 @@ let ns = class {
3330
3330
  }).defaultPrevented || (this.slide && this.element && !this.element.parentNode && this.slide.container.appendChild(this.element), (this.state === T.LOADED || this.state === T.ERROR) && this.removePlaceholder()));
3331
3331
  }
3332
3332
  };
3333
- const ls = 5;
3333
+ const as = 5;
3334
3334
  function ne(s, t, e) {
3335
3335
  const i = t.createContentFromData(s, e);
3336
3336
  let n;
@@ -3346,7 +3346,7 @@ function ne(s, t, e) {
3346
3346
  }
3347
3347
  return i.lazyLoad(), n && i.setDisplayedSize(Math.ceil(i.width * n.initial), Math.ceil(i.height * n.initial)), i;
3348
3348
  }
3349
- function cs(s, t) {
3349
+ function ls(s, t) {
3350
3350
  const e = t.getItemData(s);
3351
3351
  if (!t.dispatch("lazyLoadSlide", {
3352
3352
  index: s,
@@ -3354,12 +3354,12 @@ function cs(s, t) {
3354
3354
  }).defaultPrevented)
3355
3355
  return ne(e, t, s);
3356
3356
  }
3357
- class ds {
3357
+ class cs {
3358
3358
  /**
3359
3359
  * @param {PhotoSwipe} pswp
3360
3360
  */
3361
3361
  constructor(t) {
3362
- this.pswp = t, this.limit = Math.max(t.options.preload[0] + t.options.preload[1] + 1, ls), this._cachedItems = [];
3362
+ this.pswp = t, this.limit = Math.max(t.options.preload[0] + t.options.preload[1] + 1, as), this._cachedItems = [];
3363
3363
  }
3364
3364
  /**
3365
3365
  * Lazy load nearby slides based on `preload` option.
@@ -3387,7 +3387,7 @@ class ds {
3387
3387
  loadSlideByIndex(t) {
3388
3388
  const e = this.pswp.getLoopedIndex(t);
3389
3389
  let i = this.getContentByIndex(e);
3390
- i || (i = cs(e, this.pswp), i && this.addToCache(i));
3390
+ i || (i = ls(e, this.pswp), i && this.addToCache(i));
3391
3391
  }
3392
3392
  /**
3393
3393
  * @param {Slide} slide
@@ -3426,7 +3426,7 @@ class ds {
3426
3426
  this._cachedItems.forEach((t) => t.destroy()), this._cachedItems = [];
3427
3427
  }
3428
3428
  }
3429
- let hs = class extends os {
3429
+ let ds = class extends ns {
3430
3430
  /**
3431
3431
  * Get total number of slides
3432
3432
  *
@@ -3449,7 +3449,7 @@ let hs = class extends os {
3449
3449
  * @returns {Content}
3450
3450
  */
3451
3451
  createContentFromData(t, e) {
3452
- return new as(t, this, e);
3452
+ return new rs(t, this, e);
3453
3453
  }
3454
3454
  /**
3455
3455
  * Get item data by index.
@@ -3483,7 +3483,7 @@ let hs = class extends os {
3483
3483
  */
3484
3484
  _getGalleryDOMElements(t) {
3485
3485
  var e, i;
3486
- return (e = this.options) !== null && e !== void 0 && e.children || (i = this.options) !== null && i !== void 0 && i.childSelector ? yi(this.options.children, this.options.childSelector, t) || [] : [t];
3486
+ return (e = this.options) !== null && e !== void 0 && e.children || (i = this.options) !== null && i !== void 0 && i.childSelector ? vi(this.options.children, this.options.childSelector, t) || [] : [t];
3487
3487
  }
3488
3488
  /**
3489
3489
  * Converts DOM element to item data object.
@@ -3521,7 +3521,7 @@ let hs = class extends os {
3521
3521
  }
3522
3522
  };
3523
3523
  const q = 3e-3;
3524
- class us {
3524
+ class hs {
3525
3525
  /**
3526
3526
  * @param {PhotoSwipe} pswp
3527
3527
  */
@@ -3574,7 +3574,7 @@ class us {
3574
3574
  _start() {
3575
3575
  this.isOpening && this._useAnimation && this._placeholder && this._placeholder.tagName === "IMG" ? new Promise((t) => {
3576
3576
  let e = !1, i = !0;
3577
- gi(
3577
+ fi(
3578
3578
  /** @type {HTMLImageElement} */
3579
3579
  this._placeholder
3580
3580
  ).finally(() => {
@@ -3665,7 +3665,7 @@ class us {
3665
3665
  o[e] = i, n.startTransition(o);
3666
3666
  }
3667
3667
  }
3668
- const ps = {
3668
+ const us = {
3669
3669
  allowPanToNext: !0,
3670
3670
  spacing: 0.1,
3671
3671
  loop: !0,
@@ -3692,7 +3692,7 @@ const ps = {
3692
3692
  preload: [1, 2],
3693
3693
  easing: "cubic-bezier(.4,0,.22,1)"
3694
3694
  };
3695
- class ms extends hs {
3695
+ class ps extends ds {
3696
3696
  /**
3697
3697
  * @param {PhotoSwipeOptions} [options]
3698
3698
  */
@@ -3706,7 +3706,7 @@ class ms extends hs {
3706
3706
  }, this.viewportSize = {
3707
3707
  x: 0,
3708
3708
  y: 0
3709
- }, this.bgOpacity = 1, this.currIndex = 0, this.potentialIndex = 0, this.isOpen = !1, this.isDestroying = !1, this.hasMouse = !1, this._initialItemData = {}, this._initialThumbBounds = void 0, this.topBar = void 0, this.element = void 0, this.template = void 0, this.container = void 0, this.scrollWrap = void 0, this.currSlide = void 0, this.events = new _i(), this.animations = new Wi(), this.mainScroll = new $i(this), this.gestures = new zi(this), this.opener = new us(this), this.keyboard = new Ri(this), this.contentLoader = new ds(this);
3709
+ }, this.bgOpacity = 1, this.currIndex = 0, this.potentialIndex = 0, this.isOpen = !1, this.isDestroying = !1, this.hasMouse = !1, this._initialItemData = {}, this._initialThumbBounds = void 0, this.topBar = void 0, this.element = void 0, this.template = void 0, this.container = void 0, this.scrollWrap = void 0, this.currSlide = void 0, this.events = new yi(), this.animations = new Ni(), this.mainScroll = new Di(this), this.gestures = new Oi(this), this.opener = new hs(this), this.keyboard = new Bi(this), this.contentLoader = new cs(this);
3710
3710
  }
3711
3711
  /** @returns {boolean} */
3712
3712
  init() {
@@ -3714,7 +3714,7 @@ class ms extends hs {
3714
3714
  return !1;
3715
3715
  this.isOpen = !0, this.dispatch("init"), this.dispatch("beforeOpen"), this._createMainStructure();
3716
3716
  let t = "pswp--open";
3717
- return this.gestures.supportsTouch && (t += " pswp--touch"), this.options.mainClass && (t += " " + this.options.mainClass), this.element && (this.element.className += " " + t), this.currIndex = this.options.index || 0, this.potentialIndex = this.currIndex, this.dispatch("firstUpdate"), this.scrollWheel = new Vi(this), (Number.isNaN(this.currIndex) || this.currIndex < 0 || this.currIndex >= this.getNumItems()) && (this.currIndex = 0), this.gestures.supportsTouch || this.mouseDetected(), this.updateSize(), this.offset.y = window.pageYOffset, this._initialItemData = this.getItemData(this.currIndex), this.dispatch("gettingData", {
3717
+ return this.gestures.supportsTouch && (t += " pswp--touch"), this.options.mainClass && (t += " " + this.options.mainClass), this.element && (this.element.className += " " + t), this.currIndex = this.options.index || 0, this.potentialIndex = this.currIndex, this.dispatch("firstUpdate"), this.scrollWheel = new Wi(this), (Number.isNaN(this.currIndex) || this.currIndex < 0 || this.currIndex >= this.getNumItems()) && (this.currIndex = 0), this.gestures.supportsTouch || this.mouseDetected(), this.updateSize(), this.offset.y = window.pageYOffset, this._initialItemData = this.getItemData(this.currIndex), this.dispatch("gettingData", {
3718
3718
  index: this.currIndex,
3719
3719
  data: this._initialItemData,
3720
3720
  slide: void 0
@@ -3833,7 +3833,7 @@ class ms extends hs {
3833
3833
  if (!this.canLoop() && (e < 0 || e >= this.getNumItems()))
3834
3834
  return;
3835
3835
  const n = this.getItemData(e);
3836
- t.slide = new bi(n, e, this), e === this.currIndex && (this.currSlide = t.slide), t.slide.append(t.el);
3836
+ t.slide = new wi(n, e, this), e === this.currIndex && (this.currSlide = t.slide), t.slide.append(t.el);
3837
3837
  }
3838
3838
  /** @returns {Point} */
3839
3839
  getViewportCenterPoint() {
@@ -3903,7 +3903,7 @@ class ms extends hs {
3903
3903
  * @private
3904
3904
  */
3905
3905
  _createMainStructure() {
3906
- this.element = x("pswp", "div"), this.element.setAttribute("tabindex", "-1"), this.element.setAttribute("role", "dialog"), this.template = this.element, this.bg = x("pswp__bg", "div", this.element), this.scrollWrap = x("pswp__scroll-wrap", "section", this.element), this.container = x("pswp__container", "div", this.scrollWrap), this.scrollWrap.setAttribute("aria-roledescription", "carousel"), this.container.setAttribute("aria-live", "off"), this.container.setAttribute("id", "pswp__items"), this.mainScroll.appendHolders(), this.ui = new ts(this), this.ui.init(), (this.options.appendToEl || document.body).appendChild(this.element);
3906
+ this.element = x("pswp", "div"), this.element.setAttribute("tabindex", "-1"), this.element.setAttribute("role", "dialog"), this.template = this.element, this.bg = x("pswp__bg", "div", this.element), this.scrollWrap = x("pswp__scroll-wrap", "section", this.element), this.container = x("pswp__container", "div", this.scrollWrap), this.scrollWrap.setAttribute("aria-roledescription", "carousel"), this.container.setAttribute("aria-live", "off"), this.container.setAttribute("id", "pswp__items"), this.mainScroll.appendHolders(), this.ui = new Qi(this), this.ui.init(), (this.options.appendToEl || document.body).appendChild(this.element);
3907
3907
  }
3908
3908
  /**
3909
3909
  * Get position and dimensions of small thumbnail
@@ -3914,7 +3914,7 @@ class ms extends hs {
3914
3914
  * @returns {Bounds | undefined}
3915
3915
  */
3916
3916
  getThumbBounds() {
3917
- return ss(this.currIndex, this.currSlide ? this.currSlide.data : this._initialItemData, this);
3917
+ return is(this.currIndex, this.currSlide ? this.currSlide.data : this._initialItemData, this);
3918
3918
  }
3919
3919
  /**
3920
3920
  * If the PhotoSwipe can have continuous loop
@@ -3930,7 +3930,7 @@ class ms extends hs {
3930
3930
  */
3931
3931
  _prepareOptions(t) {
3932
3932
  return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches && (t.showHideAnimationType = "none", t.zoomAnimationDuration = 0), {
3933
- ...ps,
3933
+ ...us,
3934
3934
  ...t
3935
3935
  };
3936
3936
  }
@@ -3939,7 +3939,7 @@ function N(s, t, e) {
3939
3939
  const i = document.createElement(t);
3940
3940
  return s && (i.className = s), e && e.appendChild(i), i;
3941
3941
  }
3942
- function fs(s, t, e) {
3942
+ function ms(s, t, e) {
3943
3943
  let i = `translate3d(${s}px,0px,0)`;
3944
3944
  return e !== void 0 && (i += ` scale3d(${e},${e},1)`), i;
3945
3945
  }
@@ -3952,7 +3952,7 @@ const P = {
3952
3952
  LOADED: "loaded",
3953
3953
  ERROR: "error"
3954
3954
  };
3955
- function gs(s) {
3955
+ function fs(s) {
3956
3956
  return "button" in s && s.button === 1 || s.ctrlKey || s.metaKey || s.altKey || s.shiftKey;
3957
3957
  }
3958
3958
  function W(s, t, e = document) {
@@ -3967,13 +3967,13 @@ function W(s, t, e = document) {
3967
3967
  }
3968
3968
  return i;
3969
3969
  }
3970
- function vs(s) {
3970
+ function gs(s) {
3971
3971
  return typeof s == "function" && s.prototype && s.prototype.goTo;
3972
3972
  }
3973
3973
  function zt() {
3974
3974
  return !!(navigator.vendor && navigator.vendor.match(/apple/i));
3975
3975
  }
3976
- class ys {
3976
+ class vs {
3977
3977
  /**
3978
3978
  * @param {T} type
3979
3979
  * @param {PhotoSwipeEventsMap[T]} [details]
@@ -3985,7 +3985,7 @@ class ys {
3985
3985
  this.defaultPrevented = !0;
3986
3986
  }
3987
3987
  }
3988
- class _s {
3988
+ class ys {
3989
3989
  constructor() {
3990
3990
  this._listeners = {}, this._filters = {}, this.pswp = void 0, this.options = void 0;
3991
3991
  }
@@ -4052,14 +4052,14 @@ class _s {
4052
4052
  return this.pswp.dispatch(t, e);
4053
4053
  const n = (
4054
4054
  /** @type {AugmentedEvent<T>} */
4055
- new ys(t, e)
4055
+ new vs(t, e)
4056
4056
  );
4057
4057
  return (i = this._listeners[t]) === null || i === void 0 || i.forEach((o) => {
4058
4058
  o.call(this, n);
4059
4059
  }), n;
4060
4060
  }
4061
4061
  }
4062
- class ws {
4062
+ class _s {
4063
4063
  /**
4064
4064
  * @param {string | false} imageSrc
4065
4065
  * @param {HTMLElement} container
@@ -4079,14 +4079,14 @@ class ws {
4079
4079
  * @param {number} height
4080
4080
  */
4081
4081
  setDisplayedSize(t, e) {
4082
- this.element && (this.element.tagName === "IMG" ? (ct(this.element, 250, "auto"), this.element.style.transformOrigin = "0 0", this.element.style.transform = fs(0, 0, t / 250)) : ct(this.element, t, e));
4082
+ this.element && (this.element.tagName === "IMG" ? (ct(this.element, 250, "auto"), this.element.style.transformOrigin = "0 0", this.element.style.transform = ms(0, 0, t / 250)) : ct(this.element, t, e));
4083
4083
  }
4084
4084
  destroy() {
4085
4085
  var t;
4086
4086
  (t = this.element) !== null && t !== void 0 && t.parentNode && this.element.remove(), this.element = null;
4087
4087
  }
4088
4088
  }
4089
- class bs {
4089
+ class ws {
4090
4090
  /**
4091
4091
  * @param {SlideData} itemData Slide data
4092
4092
  * @param {PhotoSwipeBase} instance PhotoSwipe or PhotoSwipeLightbox instance
@@ -4121,7 +4121,7 @@ class bs {
4121
4121
  this.data.msrc && this.slide.isFirstSlide ? this.data.msrc : !1,
4122
4122
  this
4123
4123
  );
4124
- this.placeholder = new ws(i, this.slide.container);
4124
+ this.placeholder = new _s(i, this.slide.container);
4125
4125
  }
4126
4126
  this.element && !e || this.instance.dispatch("contentLoad", {
4127
4127
  content: this,
@@ -4331,7 +4331,7 @@ class bs {
4331
4331
  }).defaultPrevented || (this.slide && this.element && !this.element.parentNode && this.slide.container.appendChild(this.element), (this.state === P.LOADED || this.state === P.ERROR) && this.removePlaceholder()));
4332
4332
  }
4333
4333
  }
4334
- function Ss(s, t) {
4334
+ function bs(s, t) {
4335
4335
  if (s.getViewportSizeFn) {
4336
4336
  const e = s.getViewportSizeFn(s, t);
4337
4337
  if (e)
@@ -4358,14 +4358,14 @@ function J(s, t, e, i, n) {
4358
4358
  }
4359
4359
  return Number(o) || 0;
4360
4360
  }
4361
- function Ls(s, t, e, i) {
4361
+ function Ss(s, t, e, i) {
4362
4362
  return {
4363
4363
  x: t.x - J("left", s, t, e, i) - J("right", s, t, e, i),
4364
4364
  y: t.y - J("top", s, t, e, i) - J("bottom", s, t, e, i)
4365
4365
  };
4366
4366
  }
4367
4367
  const Dt = 4e3;
4368
- class Es {
4368
+ class Ls {
4369
4369
  /**
4370
4370
  * @param {PhotoSwipeOptions} options PhotoSwipe options
4371
4371
  * @param {SlideData} itemData Slide data
@@ -4452,15 +4452,15 @@ function oe(s, t, e) {
4452
4452
  options: o
4453
4453
  } = t;
4454
4454
  if (o) {
4455
- n = new Es(o, s, -1);
4455
+ n = new Ls(o, s, -1);
4456
4456
  let r;
4457
- t.pswp ? r = t.pswp.viewportSize : r = Ss(o, t);
4458
- const a = Ls(o, r, s, e);
4457
+ t.pswp ? r = t.pswp.viewportSize : r = bs(o, t);
4458
+ const a = Ss(o, r, s, e);
4459
4459
  n.update(i.width, i.height, a);
4460
4460
  }
4461
4461
  return i.lazyLoad(), n && i.setDisplayedSize(Math.ceil(i.width * n.initial), Math.ceil(i.height * n.initial)), i;
4462
4462
  }
4463
- function As(s, t) {
4463
+ function Es(s, t) {
4464
4464
  const e = t.getItemData(s);
4465
4465
  if (!t.dispatch("lazyLoadSlide", {
4466
4466
  index: s,
@@ -4468,7 +4468,7 @@ function As(s, t) {
4468
4468
  }).defaultPrevented)
4469
4469
  return oe(e, t, s);
4470
4470
  }
4471
- class Cs extends _s {
4471
+ class As extends ys {
4472
4472
  /**
4473
4473
  * Get total number of slides
4474
4474
  *
@@ -4491,7 +4491,7 @@ class Cs extends _s {
4491
4491
  * @returns {Content}
4492
4492
  */
4493
4493
  createContentFromData(t, e) {
4494
- return new bs(t, this, e);
4494
+ return new ws(t, this, e);
4495
4495
  }
4496
4496
  /**
4497
4497
  * Get item data by index.
@@ -4562,7 +4562,7 @@ class Cs extends _s {
4562
4562
  return oe(t, this, e);
4563
4563
  }
4564
4564
  }
4565
- class xs extends Cs {
4565
+ class Cs extends As {
4566
4566
  /**
4567
4567
  * @param {PhotoSwipeOptions} [options]
4568
4568
  */
@@ -4582,7 +4582,7 @@ class xs extends Cs {
4582
4582
  * @param {MouseEvent} e
4583
4583
  */
4584
4584
  onThumbnailsClick(t) {
4585
- if (gs(t) || window.pswp)
4585
+ if (fs(t) || window.pswp)
4586
4586
  return;
4587
4587
  let e = {
4588
4588
  x: t.clientX,
@@ -4650,7 +4650,7 @@ class xs extends Cs {
4650
4650
  } = this;
4651
4651
  e && (i.dataSource = e);
4652
4652
  const n = [], o = typeof i.pswpModule;
4653
- if (vs(i.pswpModule))
4653
+ if (gs(i.pswpModule))
4654
4654
  n.push(Promise.resolve(
4655
4655
  /** @type {Type<PhotoSwipe>} */
4656
4656
  i.pswpModule
@@ -4666,7 +4666,7 @@ class xs extends Cs {
4666
4666
  else
4667
4667
  throw new Error("pswpModule is not valid");
4668
4668
  }
4669
- typeof i.openPromise == "function" && n.push(i.openPromise()), i.preloadFirstSlide !== !1 && t >= 0 && (this._preloadedContent = As(t, this));
4669
+ typeof i.openPromise == "function" && n.push(i.openPromise()), i.preloadFirstSlide !== !1 && t >= 0 && (this._preloadedContent = Es(t, this));
4670
4670
  const r = ++this._uid;
4671
4671
  Promise.all(n).then((a) => {
4672
4672
  if (this.shouldOpen) {
@@ -4712,12 +4712,12 @@ class xs extends Cs {
4712
4712
  });
4713
4713
  }
4714
4714
  }
4715
- const Ts = () => {
4715
+ const xs = () => {
4716
4716
  let s = null;
4717
- return s = new xs({
4717
+ return s = new Cs({
4718
4718
  gallery: "#photoswipe-gallery",
4719
4719
  children: "a",
4720
- pswpModule: ms,
4720
+ pswpModule: ps,
4721
4721
  zoom: !1,
4722
4722
  imageClickAction: "next",
4723
4723
  tapAction: "next"
@@ -4738,12 +4738,12 @@ const Ts = () => {
4738
4738
  }), s.init(), () => {
4739
4739
  s && (s.destroy(), s = null);
4740
4740
  };
4741
- }, Ps = "mbrs-game-ranking", Is = ".c-header-page__ranking-button", Ms = () => {
4742
- const s = document.querySelector(Is), t = s?.querySelector("button");
4741
+ }, Ts = "mbrs-game-ranking", Ps = ".c-header-page__ranking-button", Is = () => {
4742
+ const s = document.querySelector(Ps), t = s?.querySelector("button");
4743
4743
  !s || !t || t.addEventListener("click", () => {
4744
- document.getElementById(Ps)?.scrollIntoView({ behavior: "smooth" });
4744
+ document.getElementById(Ts)?.scrollIntoView({ behavior: "smooth" });
4745
4745
  });
4746
- }, $t = (s) => Math.min(100, Math.max(0, Math.round(s))), Os = ({
4746
+ }, $t = (s) => Math.min(100, Math.max(0, Math.round(s))), Ms = ({
4747
4747
  limitElement: s,
4748
4748
  progressBar: t,
4749
4749
  closeProgress: e,
@@ -4769,7 +4769,7 @@ const Ts = () => {
4769
4769
  );
4770
4770
  }
4771
4771
  }
4772
- }, zs = () => {
4772
+ }, Os = () => {
4773
4773
  const s = {
4774
4774
  limitElement: document.querySelector(".js-limit-scroll-progress-bar"),
4775
4775
  progressBar: document.querySelector(".c-progress__bar"),
@@ -4777,8 +4777,8 @@ const Ts = () => {
4777
4777
  startElement: document.querySelector(".js-content-header"),
4778
4778
  endElement: document.querySelector(".js-limit-scroll-close-article-btn")
4779
4779
  };
4780
- (s.progressBar || s.closeProgress) && window.addEventListener("scroll", () => Os(s));
4781
- }, Ds = (s = {}) => {
4780
+ (s.progressBar || s.closeProgress) && window.addEventListener("scroll", () => Ms(s));
4781
+ }, zs = (s = {}) => {
4782
4782
  const { buttonSelector: t = ".c-scroll-to-top" } = s, e = document.querySelector(t), i = e?.querySelector("button");
4783
4783
  if (!e || !i)
4784
4784
  return;
@@ -4800,7 +4800,7 @@ const Ts = () => {
4800
4800
  });
4801
4801
  };
4802
4802
  window.addEventListener("scroll", r), i.addEventListener("click", a), r();
4803
- }, $s = 500, Bs = () => {
4803
+ }, Ds = 500, $s = () => {
4804
4804
  const s = document.getElementById("mbrs-comments-container"), t = document.querySelector(".c-scroll-to-top-comment");
4805
4805
  if (!s || !t)
4806
4806
  return;
@@ -4816,7 +4816,7 @@ const Ts = () => {
4816
4816
  }, o = () => {
4817
4817
  e && (e = !1, window.removeEventListener("scroll", i), t.style.display = "none");
4818
4818
  }, r = (u) => {
4819
- u.offsetHeight > $s ? n() : o();
4819
+ u.offsetHeight > Ds ? n() : o();
4820
4820
  }, a = (u) => {
4821
4821
  new ResizeObserver(() => {
4822
4822
  r(u);
@@ -4853,7 +4853,7 @@ const Ts = () => {
4853
4853
  ) && h.disconnect();
4854
4854
  });
4855
4855
  h.observe(s, { childList: !0, subtree: !0 });
4856
- }, Rs = "#page-content", re = "#text-tooltip", Fs = ".mbrs-social-report-container", ae = "c-text-tooltip--show", ks = [
4856
+ }, Bs = "#page-content", re = "#text-tooltip", Rs = ".mbrs-social-report-container", ae = "c-text-tooltip--show", Fs = [
4857
4857
  "#page-content .c-content",
4858
4858
  "#page-content .c-content p",
4859
4859
  "#page-content .c-content h2",
@@ -4866,16 +4866,16 @@ const Ts = () => {
4866
4866
  "#page-content header span",
4867
4867
  "#page-content header h1",
4868
4868
  "#page-content header h2"
4869
- ], Bt = (s) => s instanceof Element ? s : s.parentElement, Rt = (s, t) => s ? t.some((e) => !!s.closest(e)) : !1, Zs = (s, t) => {
4869
+ ], Bt = (s) => s instanceof Element ? s : s.parentElement, Rt = (s, t) => s ? t.some((e) => !!s.closest(e)) : !1, ks = (s, t) => {
4870
4870
  const e = Bt(s.startContainer), i = Bt(s.endContainer);
4871
4871
  return Rt(e, t) || Rt(i, t);
4872
- }, qs = (s) => {
4872
+ }, Zs = (s) => {
4873
4873
  if (!s.focusNode)
4874
4874
  return null;
4875
4875
  const t = s.anchorNode?.compareDocumentPosition(s.focusNode);
4876
4876
  return t ? (t & 4) > 0 : s.anchorOffset < s.focusOffset;
4877
- }, Hs = (s, t, e) => {
4878
- const i = document.querySelector(re), n = document.querySelector(Rs), o = document.querySelectorAll(Fs);
4877
+ }, qs = (s, t, e) => {
4878
+ const i = document.querySelector(re), n = document.querySelector(Bs), o = document.querySelectorAll(Rs);
4879
4879
  if (!i || !n) {
4880
4880
  console.warn("Text tooltip : Tooltip or page content are not found in the DOM");
4881
4881
  return;
@@ -4897,7 +4897,7 @@ const Ts = () => {
4897
4897
  }, it = () => {
4898
4898
  const s = document.querySelector(`${re}`);
4899
4899
  s && s.classList.remove(ae);
4900
- }, Ns = () => {
4900
+ }, Hs = () => {
4901
4901
  const s = window.getSelection();
4902
4902
  if (!s?.rangeCount) {
4903
4903
  it();
@@ -4905,8 +4905,8 @@ const Ts = () => {
4905
4905
  }
4906
4906
  const t = s.getRangeAt(0), e = s.toString().trim();
4907
4907
  if (e.length) {
4908
- const i = Zs(t, ks), n = qs(s) || !1;
4909
- i && Hs(t, n, e);
4908
+ const i = ks(t, Fs), n = Zs(s) || !1;
4909
+ i && qs(t, n, e);
4910
4910
  return;
4911
4911
  }
4912
4912
  it();
@@ -4915,26 +4915,26 @@ const Ts = () => {
4915
4915
  window.getSelection()?.toString().trim().length || it();
4916
4916
  return;
4917
4917
  }
4918
- Ns();
4919
- }, Ws = () => {
4918
+ Hs();
4919
+ }, Ns = () => {
4920
4920
  if (!window?.getSelection) {
4921
4921
  console.warn("Selection API isn't supported");
4922
4922
  return;
4923
4923
  }
4924
4924
  document.addEventListener("mouseup", Q), document.addEventListener("selectionchange", Q), document.addEventListener("touchend", Q), document.addEventListener("touchcancel", Q);
4925
- }, Vs = (s) => {
4925
+ }, Ws = (s) => {
4926
4926
  const { target: t } = s;
4927
4927
  if (t instanceof Element) {
4928
4928
  const e = t.closest(".c-search-form--button");
4929
4929
  e && (s.preventDefault(), e.classList.remove("c-search-form--button"));
4930
4930
  }
4931
- }, js = (s = document.querySelector(
4931
+ }, Vs = (s = document.querySelector(
4932
4932
  ".c-search-form--button"
4933
4933
  )) => {
4934
4934
  s && s.addEventListener("click", (t) => {
4935
- Vs(t);
4935
+ Ws(t);
4936
4936
  });
4937
- }, Gs = ({
4937
+ }, js = ({
4938
4938
  tabsContainerElement: s,
4939
4939
  event: t
4940
4940
  }) => {
@@ -4950,14 +4950,14 @@ const Ts = () => {
4950
4950
  }), n.forEach((a) => {
4951
4951
  a.setAttribute("aria-hidden", "true");
4952
4952
  }), e.setAttribute("aria-selected", "true"), r && r.removeAttribute("aria-hidden");
4953
- }, Ft = (s) => s.code === "ArrowLeft" || s.keyCode === 39, kt = (s) => s.code === "ArrowRight" || s.keyCode === 37, Us = (s = document.querySelectorAll(
4953
+ }, Ft = (s) => s.code === "ArrowLeft" || s.keyCode === 39, kt = (s) => s.code === "ArrowRight" || s.keyCode === 37, Gs = (s = document.querySelectorAll(
4954
4954
  ".js-tabs"
4955
4955
  )) => {
4956
4956
  s.length > 0 && s.forEach((t) => {
4957
4957
  const e = t.querySelectorAll('[role="tab"]');
4958
4958
  e.forEach((n) => {
4959
4959
  n.addEventListener("click", (o) => {
4960
- Gs({ tabsContainerElement: t, event: o });
4960
+ js({ tabsContainerElement: t, event: o });
4961
4961
  });
4962
4962
  });
4963
4963
  const i = t.querySelector('[role="tablist"]');
@@ -4974,13 +4974,13 @@ const Ts = () => {
4974
4974
  }, le = () => {
4975
4975
  const s = /* @__PURE__ */ new Date(), t = s.getHours(), e = s.getMinutes();
4976
4976
  return t * 60 + e;
4977
- }, Ks = (s, t) => {
4977
+ }, Us = (s, t) => {
4978
4978
  const e = le();
4979
4979
  if (e < s || e > t)
4980
4980
  return 0;
4981
4981
  const i = t - s;
4982
4982
  return (e - s) / i;
4983
- }, Xs = (s) => {
4983
+ }, Ks = (s) => {
4984
4984
  const t = le();
4985
4985
  let e = null, i = null, n = -1;
4986
4986
  return Array.from(s).find((o, r, a) => {
@@ -4992,14 +4992,14 @@ const Ts = () => {
4992
4992
  const d = st(l), h = st(c);
4993
4993
  return t >= d && t < h ? (e = l, i = c, n = r, !0) : !1;
4994
4994
  }), { currentIntervalStartTime: e, currentIntervalEndTime: i, currentIntervalIndex: n };
4995
- }, Ys = () => {
4995
+ }, Xs = () => {
4996
4996
  const s = document.querySelectorAll(".c-timeline__time");
4997
4997
  if (!s || s.length < 2)
4998
4998
  return;
4999
- const t = document.querySelector(".c-timeline__progress-bar"), { currentIntervalStartTime: e, currentIntervalEndTime: i, currentIntervalIndex: n } = Xs(s);
4999
+ const t = document.querySelector(".c-timeline__progress-bar"), { currentIntervalStartTime: e, currentIntervalEndTime: i, currentIntervalIndex: n } = Ks(s);
5000
5000
  if (!e || !i)
5001
5001
  return;
5002
- const o = st(e), r = st(i), a = Ks(o, r);
5002
+ const o = st(e), r = st(i), a = Us(o, r);
5003
5003
  if (t instanceof HTMLElement) {
5004
5004
  if (t.classList.contains("c-timeline__progress-bar--is-desktop") && s.length >= 5) {
5005
5005
  const l = "172px / 2";
@@ -5038,19 +5038,19 @@ const Ts = () => {
5038
5038
  }
5039
5039
  }
5040
5040
  }
5041
- }, dt = "c-icon-item__container--is-highlighted", Js = (s) => {
5041
+ }, dt = "c-icon-item__container--is-highlighted", Ys = (s) => {
5042
5042
  s.find(
5043
5043
  (e) => e.classList.contains(dt)
5044
5044
  )?.classList.remove(dt);
5045
- }, Qs = () => {
5045
+ }, Js = () => {
5046
5046
  const s = document.querySelector(".c-toolbar");
5047
5047
  if (s) {
5048
5048
  const t = window.location.origin + window.location.pathname, e = Array.from(s.querySelectorAll(".c-icon-item__container"));
5049
- Js(e), e.find(
5049
+ Ys(e), e.find(
5050
5050
  (n) => n.querySelector("a")?.getAttribute("href") === t
5051
5051
  )?.classList.add(dt);
5052
5052
  }
5053
- }, tn = 12, gt = (s) => {
5053
+ }, Qs = 12, gt = (s) => {
5054
5054
  const t = s || document.querySelector(".c-map-towns");
5055
5055
  if (!t) {
5056
5056
  new MutationObserver((o, r) => {
@@ -5086,7 +5086,7 @@ const Ts = () => {
5086
5086
  d.setAttribute("y", `${A}`), l.setAttribute("aria-hidden", "false");
5087
5087
  } else
5088
5088
  a = !1;
5089
- }), !a && r < tn && requestAnimationFrame(() => o(r + 1));
5089
+ }), !a && r < Qs && requestAnimationFrame(() => o(r + 1));
5090
5090
  };
5091
5091
  return requestAnimationFrame(() => o()), !0;
5092
5092
  };
@@ -5098,7 +5098,7 @@ const Ts = () => {
5098
5098
  childList: !0,
5099
5099
  subtree: !0
5100
5100
  });
5101
- }, en = {
5101
+ }, tn = {
5102
5102
  10: [{ id: "10387", name: "Troyes" }, { id: "10323", name: "Romilly-sur-Seine" }, { id: "10033", name: "Bar-sur-Aube" }],
5103
5103
  11: [{ id: "11262", name: "Narbonne" }, { id: "11069", name: "Carcassonne" }, { id: "11076", name: "Castelnaudary" }],
5104
5104
  12: [{ id: "12202", name: "Rodez" }, { id: "12145", name: "Millau" }, { id: "12300", name: "Villefranche-de-Rouergue" }],
@@ -5199,14 +5199,14 @@ const Ts = () => {
5199
5199
  "07": [{ id: "07010", name: "Annonay" }, { id: "07019", name: "Aubenas" }, { id: "07324", name: "Tournon-sur-Rhône" }],
5200
5200
  "05": [{ id: "05061", name: "Gap" }, { id: "05023", name: "Briançon" }, { id: "05046", name: "Embrun" }],
5201
5201
  "08": [{ id: "08105", name: "Charleville-Mézières" }, { id: "08362", name: "Rethel" }, { id: "08190", name: "Givet" }]
5202
- }, sn = /<path\b([^>]*?)\/>/g, nn = /\b([:\w-]+)="([^"]*)"/g, on = (s) => {
5202
+ }, en = /<path\b([^>]*?)\/>/g, sn = /\b([:\w-]+)="([^"]*)"/g, nn = (s) => {
5203
5203
  const t = [];
5204
- for (const e of s.matchAll(sn)) {
5204
+ for (const e of s.matchAll(en)) {
5205
5205
  const i = e[1];
5206
5206
  if (!i)
5207
5207
  continue;
5208
5208
  const n = /* @__PURE__ */ new Map();
5209
- for (const c of i.matchAll(nn)) {
5209
+ for (const c of i.matchAll(sn)) {
5210
5210
  const [, d, h] = c;
5211
5211
  d && n.set(d, h || "");
5212
5212
  }
@@ -5219,9 +5219,9 @@ const Ts = () => {
5219
5219
  });
5220
5220
  }
5221
5221
  return t;
5222
- }, rn = (s) => new Map(s.map((t) => [t.id, t])), tt = (s) => {
5222
+ }, on = (s) => new Map(s.map((t) => [t.id, t])), tt = (s) => {
5223
5223
  window.location.href = s;
5224
- }, an = (s, t, e) => {
5224
+ }, rn = (s, t, e) => {
5225
5225
  const i = e.get(s);
5226
5226
  if (i)
5227
5227
  return i;
@@ -5236,7 +5236,7 @@ const Ts = () => {
5236
5236
  (o) => o.id.startsWith(`town-${s}`)
5237
5237
  );
5238
5238
  return e.set(s, n), n;
5239
- }, ln = (s, t) => t.get(s), cn = (s) => {
5239
+ }, an = (s, t) => t.get(s), ln = (s) => {
5240
5240
  if (s.size > 0)
5241
5241
  return;
5242
5242
  document.querySelectorAll(
@@ -5248,13 +5248,13 @@ const Ts = () => {
5248
5248
  Array.from(e.classList).filter((n) => n.startsWith("c-map-towns__path--"))
5249
5249
  );
5250
5250
  });
5251
- }, dn = (s, t) => {
5251
+ }, cn = (s, t) => {
5252
5252
  const e = s.id, i = s.url, n = s.name;
5253
5253
  if (!e || !i)
5254
5254
  return null;
5255
5255
  const o = document.createElementNS("http://www.w3.org/2000/svg", "path");
5256
5256
  o.setAttribute("d", s.path), o.setAttribute("class", "c-map-towns__path c-map-towns__zoom-town"), o.setAttribute("data-url", i);
5257
- const r = ln(e, t);
5257
+ const r = an(e, t);
5258
5258
  if (r && r.forEach((a) => {
5259
5259
  o.classList.add(a);
5260
5260
  }), n) {
@@ -5262,15 +5262,15 @@ const Ts = () => {
5262
5262
  a.textContent = n, o.appendChild(a);
5263
5263
  }
5264
5264
  return o;
5265
- }, hn = (s, t) => {
5265
+ }, dn = (s, t) => {
5266
5266
  const e = document.createDocumentFragment();
5267
5267
  return s.forEach((i) => {
5268
- const n = dn(i, t);
5268
+ const n = cn(i, t);
5269
5269
  n && e.appendChild(n);
5270
5270
  }), e;
5271
- }, un = (s, t) => {
5271
+ }, hn = (s, t) => {
5272
5272
  s.replaceChildren(t);
5273
- }, pn = (s, t, e) => {
5273
+ }, un = (s, t, e) => {
5274
5274
  const i = document.createElementNS("http://www.w3.org/2000/svg", "g");
5275
5275
  i.setAttribute("class", "js-city-marker c-map-towns__city-marker"), i.setAttribute("aria-hidden", "true"), i.setAttribute("data-scale", e.toString());
5276
5276
  const n = document.createElementNS("http://www.w3.org/2000/svg", "path");
@@ -5281,7 +5281,7 @@ const Ts = () => {
5281
5281
  r.setAttribute("class", "js-city-bg"), r.setAttribute("fill", "white"), r.setAttribute("rx", "4"), r.setAttribute("ry", "4");
5282
5282
  const a = document.createElementNS("http://www.w3.org/2000/svg", "text");
5283
5283
  return a.setAttribute("class", "js-city-text c-map-towns__city-text"), a.textContent = s, i.appendChild(n), i.appendChild(o), i.appendChild(r), i.appendChild(a), i;
5284
- }, mn = (s, t) => {
5284
+ }, pn = (s, t) => {
5285
5285
  const e = t.getBBox(), i = 5, n = e.width + i * 2, o = e.height + i * 2;
5286
5286
  s.setAttribute(
5287
5287
  "viewBox",
@@ -5334,11 +5334,11 @@ const ht = () => {
5334
5334
  if (p)
5335
5335
  return p;
5336
5336
  const L = u instanceof HTMLScriptElement ? JSON.parse(u.textContent || '""') : "";
5337
- return p = rn(on(L)), p;
5337
+ return p = on(nn(L)), p;
5338
5338
  }, w = () => {
5339
5339
  r.setAttribute("aria-hidden", "true"), l.replaceChildren();
5340
5340
  }, C = (L, b) => L.startsWith("97") ? document.querySelector(`path[id="town-${b}-drom"]`)?.getAttribute("d") || null : y().get(`town-${b}`)?.path || null, g = (L, b) => {
5341
- const I = en[L] || [];
5341
+ const I = tn[L] || [];
5342
5342
  if (I.length === 0)
5343
5343
  return;
5344
5344
  const M = document.createDocumentFragment();
@@ -5346,7 +5346,7 @@ const ht = () => {
5346
5346
  const O = C(L, k.id);
5347
5347
  if (!O)
5348
5348
  return;
5349
- const $ = pn(k.name, O, b);
5349
+ const $ = un(k.name, O, b);
5350
5350
  M.appendChild($);
5351
5351
  }), l.appendChild(M), requestAnimationFrame(() => {
5352
5352
  gt(l);
@@ -5358,13 +5358,13 @@ const ht = () => {
5358
5358
  const A = b?.closest(".c-map-towns__dept-trigger");
5359
5359
  if (!A)
5360
5360
  return;
5361
- const I = A.getAttribute("id")?.replace("out-", "") || "", M = A.getAttribute("data-name"), k = an(I, y, f);
5362
- cn(m);
5363
- const O = hn(k, m);
5361
+ const I = A.getAttribute("id")?.replace("out-", "") || "", M = A.getAttribute("data-name"), k = rn(I, y, f);
5362
+ ln(m);
5363
+ const O = dn(k, m);
5364
5364
  if (d && h && M && (d.textContent = M, h.textContent = `Carte détaillée du département : ${M}`), !(A instanceof SVGGraphicsElement))
5365
5365
  return;
5366
- const $ = mn(a, A);
5367
- r.setAttribute("aria-hidden", "false"), un(l, O), g(I, $);
5366
+ const $ = pn(a, A);
5367
+ r.setAttribute("aria-hidden", "false"), hn(l, O), g(I, $);
5368
5368
  }, E = (L) => {
5369
5369
  const { target: b } = L;
5370
5370
  if (!(b instanceof Element))
@@ -5377,15 +5377,15 @@ const ht = () => {
5377
5377
  }), r.addEventListener("click", (L) => {
5378
5378
  L.target === r && w();
5379
5379
  });
5380
- }, bn = () => {
5381
- ge(), Ue(), Us(), ze(), Ut(), Ne(), zs(), Ts(), ri(), Me(), js(), Be(), Ws(), Ke(), Xe(), Je(), ke(), ye(
5380
+ }, wn = () => {
5381
+ fe(), Ge(), Gs(), Oe(), Ut(), He(), Os(), xs(), oi(), Ie(), Vs(), $e(), Ns(), Ue(), Ke(), Ye(), Fe(), ve(
5382
5382
  "localisation-input",
5383
5383
  "https://www.20minutes.fr/elections/resultats/recherche",
5384
5384
  "?searchValue=",
5385
5385
  "text",
5386
5386
  "text"
5387
- ), Fe(), gt(), Qs(), ue(), pe(), Qe(), ht(), ui(), pi(), Ye(), he(), Ys(), Ds(), Bs(), Ms();
5387
+ ), Re(), gt(), Js(), ue(), pe(), Je(), ht(), hi(), ui(), Xe(), he(), Xs(), zs(), $s(), Is();
5388
5388
  };
5389
5389
  export {
5390
- bn as initScripts
5390
+ wn as initScripts
5391
5391
  };