@revolugo/elements 6.15.5-alpha.0 → 6.15.5

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 (38) hide show
  1. package/dist/index.es.min.js +5 -5
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/{revolugo.banktransferdetails.CL2e4x0y.min.js → revolugo.banktransferdetails.HIYiLkzk.min.js} +6 -6
  6. package/dist/{revolugo.bookingdetailssidebar.BWubNODX.min.js → revolugo.bookingdetailssidebar.DKHXrd6W.min.js} +6 -6
  7. package/dist/{revolugo.bookingmanager.Cg_TAUm6.min.js → revolugo.bookingmanager.BReDHFsG.min.js} +6 -6
  8. package/dist/{revolugo.cancellationpoliciesbadge.BA2x47q8.min.js → revolugo.cancellationpoliciesbadge.Cb9Z6fPP.min.js} +6 -6
  9. package/dist/{revolugo.cancellationpoliciesbadge.props.BTeI3-zR.min.js → revolugo.cancellationpoliciesbadge.props.mOeB4eoV.min.js} +1205 -1245
  10. package/dist/{revolugo.cancellationpolicieslist.9VhVlIiJ.min.js → revolugo.cancellationpolicieslist.DnnH0eD3.min.js} +6 -6
  11. package/dist/{revolugo.creditcardstripeform.CKnpscDt.min.js → revolugo.creditcardstripeform.BxLH3iZh.min.js} +488 -508
  12. package/dist/{revolugo.creditcardstripeform.qVAG2SDg.min.js → revolugo.creditcardstripeform.CrhxVYJT.min.js} +4 -4
  13. package/dist/{revolugo.currencypickerbtn.C7at2r26.min.js → revolugo.currencypickerbtn.BsdtPw8w.min.js} +6 -6
  14. package/dist/{revolugo.dialog-attach.urBPnEOX.min.js → revolugo.dialog-attach.BUv8aMSH.min.js} +2 -2
  15. package/dist/{revolugo.fastbookingflow.Bs-9D0Yt.min.js → revolugo.fastbookingflow.CrZq7gMg.min.js} +6 -6
  16. package/dist/{revolugo.fullbookingflow.DfmJetzu.min.js → revolugo.fullbookingflow.7DX2Q1eL.min.js} +6 -6
  17. package/dist/{revolugo.hoteldescriptionview.BSdyIs8E.min.js → revolugo.hoteldescriptionview.D8gom2Kf.min.js} +6 -6
  18. package/dist/{revolugo.hotelofferlist.-Gw_DZi2.min.js → revolugo.hotelofferlist.fM2Ox5UR.min.js} +6 -6
  19. package/dist/{revolugo.hoteloffersearchmenu.CqusxSWM.min.js → revolugo.hoteloffersearchmenu.BwjzqnvM.min.js} +9 -9
  20. package/dist/{revolugo.hoteloffersmap.BnR0SEyO.min.js → revolugo.hoteloffersmap.BRacEMuP.min.js} +6 -6
  21. package/dist/{revolugo.hoteloffersview.DYztddCh.min.js → revolugo.hoteloffersview.HeaLEo63.min.js} +6 -6
  22. package/dist/{revolugo.hotelroomofferlist.BIA-sV5Y.min.js → revolugo.hotelroomofferlist.DGw7kgRe.min.js} +6 -6
  23. package/dist/{revolugo.hotelroomoffersbookingflow.D5kbi6YS.min.js → revolugo.hotelroomoffersbookingflow.DhDAuTBv.min.js} +6 -6
  24. package/dist/{revolugo.hotelroomoffersearchmenu.CWuNMkPH.min.js → revolugo.hotelroomoffersearchmenu.CStaXVfI.min.js} +6 -6
  25. package/dist/{revolugo.hotelroomoffersview.CpcEnOjX.min.js → revolugo.hotelroomoffersview.BNoMYikH.min.js} +6 -6
  26. package/dist/{revolugo.index.BalPXbyi.min.js → revolugo.index.DBAC5qFL.min.js} +2 -2
  27. package/dist/{revolugo.index.wc.D0-RJ5zh.min.js → revolugo.index.wc.Zhv9Liiq.min.js} +3792 -3806
  28. package/dist/{revolugo.langpickerbtn.DcOkkg_M.min.js → revolugo.langpickerbtn.HGiSS0rE.min.js} +6 -6
  29. package/dist/revolugo.min.js +1 -1
  30. package/dist/{revolugo.prebookform.Cv6i5nMg.min.js → revolugo.prebookform.Cr8UBDIR.min.js} +6 -6
  31. package/dist/{revolugo.preferencesmenu.CARdJaMY.min.js → revolugo.preferencesmenu.BSn36Ur5.min.js} +6 -5
  32. package/dist/{revolugo.preferencesmenu.Cx1T0Hil.min.js → revolugo.preferencesmenu.kS3UbadP.min.js} +4 -4
  33. package/dist/{revolugo.roominglisteditor.CcavBMPn.min.js → revolugo.roominglisteditor.DqKfMiCV.min.js} +6 -6
  34. package/dist/{revolugo.storybooktoolbar.Dk-sNx0T.min.js → revolugo.storybooktoolbar.BQVvVXWf.min.js} +5 -5
  35. package/dist/{revolugo.termsandconditions.-diu4TOV.min.js → revolugo.termsandconditions.CeXhxqdi.min.js} +6 -6
  36. package/dist/{revolugo.vtoolbar.Bb_iGn6z.min.js → revolugo.vtoolbar.oLB6pZA6.min.js} +3 -3
  37. package/dist/{revolugo.webcomponentwrapper.DWAgCBFK.min.js → revolugo.webcomponentwrapper.DBnt8yBf.min.js} +164 -87
  38. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
- import { aY as fn, h as H, H as mn, I as pn, J as hn, aZ as yn, b as me, P as gn, ao as vn, a as _, m as ft, d as bn, u as _n, aD as Sn, aG as wn, v as Cn, a_ as X, a$ as Pn, E as mt, r as En, c as $, w as b, a7 as xn, o as P, y as k, l as ce, x as O, f as $e, i as ke, j as Tn, F as pt } from "./revolugo.index.wc.D0-RJ5zh.min.js";
2
- import { d as $n, V as kn } from "./revolugo.vtoolbar.Bb_iGn6z.min.js";
3
- import { aA as Rn, v as Nn, aF as An, bd as Mn, aB as ht, be as yt, o as Vn, _ as zn, a as gt, k as Re, J as On, b as In, d as Q, e as q, S as Ln, K as ee, ae as qn, j as Un } from "./revolugo.webcomponentwrapper.DWAgCBFK.min.js";
1
+ import { aY as fn, h as H, H as mn, I as pn, J as hn, aZ as yn, b as me, P as gn, ao as vn, a as _, m as ft, d as bn, u as _n, aD as Sn, aG as wn, v as Pn, a_ as X, a$ as Cn, E as mt, c as $, w as b, a7 as En, o as C, y as z, l as ce, x as I, f as $e, i as ke, j as xn, F as pt } from "./revolugo.index.wc.Zhv9Liiq.min.js";
2
+ import { d as Tn, V as $n } from "./revolugo.vtoolbar.oLB6pZA6.min.js";
3
+ import { aA as kn, v as Rn, aF as Nn, bd as Mn, aB as ht, be as yt, o as An, _ as Vn, a as gt, k as Re, J as zn, b as On, d as Q, e as q, S as In, K as ee, ae as Ln, j as qn } from "./revolugo.webcomponentwrapper.DBnt8yBf.min.js";
4
4
  function un(n) {
5
5
  try {
6
6
  if (typeof document < "u") {
@@ -21,7 +21,7 @@ function un(n) {
21
21
  console.error("[revolugo-elements] ", e);
22
22
  }
23
23
  }
24
- function Bn(n, e, t) {
24
+ function Un(n, e, t) {
25
25
  if (n == null)
26
26
  return e;
27
27
  const o = t || ((s) => s);
@@ -38,16 +38,16 @@ function vt({
38
38
  fallbackValue: e,
39
39
  prop: t
40
40
  }) {
41
- const o = Bn(fn(t.value), e, n), s = $n(structuredClone(o), e || {});
41
+ const o = Un(fn(t.value), e, n), s = Tn(structuredClone(o), e || {});
42
42
  return H(o && s);
43
43
  }
44
- const Dn = pn({
45
- ...An(),
44
+ const Bn = pn({
45
+ ...Nn(),
46
46
  ...gn(Mn(), ["inline"])
47
- }, "VCheckbox"), Fn = mn()({
47
+ }, "VCheckbox"), Dn = mn()({
48
48
  name: "VCheckbox",
49
49
  inheritAttrs: !1,
50
- props: Dn(),
50
+ props: Bn(),
51
51
  emits: {
52
52
  "update:modelValue": (n) => !0,
53
53
  "update:focused": (n) => !0
@@ -58,40 +58,40 @@ const Dn = pn({
58
58
  slots: o
59
59
  } = e;
60
60
  const s = hn(n, "modelValue"), {
61
- isFocused: i,
62
- focus: r,
61
+ isFocused: r,
62
+ focus: i,
63
63
  blur: c
64
- } = Rn(n), a = yn(), f = me(() => n.id || `checkbox-${a}`);
65
- return Nn(() => {
64
+ } = kn(n), l = yn(), f = me(() => n.id || `checkbox-${l}`);
65
+ return Rn(() => {
66
66
  const [S, v] = vn(t), h = ht.filterProps(n), y = yt.filterProps(n);
67
67
  return _(ht, ft({
68
68
  class: ["v-checkbox", n.class]
69
69
  }, S, h, {
70
70
  modelValue: s.value,
71
- "onUpdate:modelValue": (N) => s.value = N,
71
+ "onUpdate:modelValue": (R) => s.value = R,
72
72
  id: f.value,
73
- focused: i.value,
73
+ focused: r.value,
74
74
  style: n.style
75
75
  }), {
76
76
  ...o,
77
- default: (N) => {
77
+ default: (R) => {
78
78
  let {
79
79
  id: j,
80
- messagesId: z,
80
+ messagesId: V,
81
81
  isDisabled: Z,
82
82
  isReadonly: Ee,
83
83
  isValid: W
84
- } = N;
84
+ } = R;
85
85
  return _(yt, ft(y, {
86
86
  id: j.value,
87
- "aria-describedby": z.value,
87
+ "aria-describedby": V.value,
88
88
  disabled: Z.value,
89
89
  readonly: Ee.value
90
90
  }, v, {
91
91
  error: W.value === !1,
92
92
  modelValue: s.value,
93
93
  "onUpdate:modelValue": (xe) => s.value = xe,
94
- onFocus: r,
94
+ onFocus: i,
95
95
  onBlur: c
96
96
  }), o);
97
97
  }
@@ -99,7 +99,7 @@ const Dn = pn({
99
99
  }), {};
100
100
  }
101
101
  });
102
- const jn = (n, e) => (customElements.define(n, e), e), Wn = (n, e) => {
102
+ const Fn = (n, e) => (customElements.define(n, e), e), jn = (n, e) => {
103
103
  const { kind: t, elements: o } = e;
104
104
  return {
105
105
  kind: t,
@@ -109,15 +109,15 @@ const jn = (n, e) => (customElements.define(n, e), e), Wn = (n, e) => {
109
109
  customElements.define(n, s);
110
110
  }
111
111
  };
112
- }, qt = (n) => (e) => typeof e == "function" ? jn(n, e) : Wn(n, e);
113
- const Hn = (n, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ? {
112
+ }, qt = (n) => (e) => typeof e == "function" ? Fn(n, e) : jn(n, e);
113
+ const Wn = (n, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ? {
114
114
  ...e,
115
115
  finisher(t) {
116
116
  t.createProperty(e.key, n);
117
117
  }
118
118
  } : {
119
119
  kind: "field",
120
- key: /* @__PURE__ */ Symbol(),
120
+ key: Symbol(),
121
121
  placement: "own",
122
122
  descriptor: {},
123
123
  // store the original key so subsequent decorators have access to it.
@@ -137,17 +137,17 @@ const Hn = (n, e) => e.kind === "method" && e.descriptor && !("value" in e.descr
137
137
  finisher(t) {
138
138
  t.createProperty(e.key, n);
139
139
  }
140
- }, Kn = (n, e, t) => {
140
+ }, Hn = (n, e, t) => {
141
141
  e.constructor.createProperty(t, n);
142
142
  };
143
143
  function u(n) {
144
- return (e, t) => t !== void 0 ? Kn(n, e, t) : Hn(n, e);
144
+ return (e, t) => t !== void 0 ? Hn(n, e, t) : Wn(n, e);
145
145
  }
146
146
  var Ne;
147
- const Gn = window;
148
- ((Ne = Gn.HTMLSlotElement) === null || Ne === void 0 ? void 0 : Ne.prototype.assignedElements) != null;
147
+ const Kn = window;
148
+ ((Ne = Kn.HTMLSlotElement) === null || Ne === void 0 ? void 0 : Ne.prototype.assignedElements) != null;
149
149
  var bt = !0;
150
- function R(n, e, t) {
150
+ function k(n, e, t) {
151
151
  if (typeof t?.value != "function")
152
152
  throw new TypeError(`Only methods can be decorated with @bound. <${e ?? n.name}> is not a method!`);
153
153
  return {
@@ -158,7 +158,7 @@ function R(n, e, t) {
158
158
  }
159
159
  };
160
160
  }
161
- const Jn = !1, pe = window, tt = pe.ShadowRoot && (pe.ShadyCSS === void 0 || pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, nt = /* @__PURE__ */ Symbol(), _t = /* @__PURE__ */ new WeakMap();
161
+ const Gn = !1, pe = window, tt = pe.ShadowRoot && (pe.ShadyCSS === void 0 || pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, nt = Symbol(), _t = /* @__PURE__ */ new WeakMap();
162
162
  class Ut {
163
163
  constructor(e, t, o) {
164
164
  if (this._$cssResult$ = !0, o !== nt)
@@ -180,35 +180,35 @@ class Ut {
180
180
  return this.cssText;
181
181
  }
182
182
  }
183
- const Yn = (n) => {
183
+ const Jn = (n) => {
184
184
  if (n._$cssResult$ === !0)
185
185
  return n.cssText;
186
186
  if (typeof n == "number")
187
187
  return n;
188
188
  throw new Error(`Value passed to 'css' function must be a 'css' function result: ${n}. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`);
189
- }, Zn = (n) => new Ut(typeof n == "string" ? n : String(n), void 0, nt), ot = (n, ...e) => {
190
- const t = n.length === 1 ? n[0] : e.reduce((o, s, i) => o + Yn(s) + n[i + 1], n[0]);
189
+ }, Yn = (n) => new Ut(typeof n == "string" ? n : String(n), void 0, nt), ot = (n, ...e) => {
190
+ const t = n.length === 1 ? n[0] : e.reduce((o, s, r) => o + Jn(s) + n[r + 1], n[0]);
191
191
  return new Ut(t, n, nt);
192
- }, Xn = (n, e) => {
192
+ }, Zn = (n, e) => {
193
193
  tt ? n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
194
194
  const o = document.createElement("style"), s = pe.litNonce;
195
195
  s !== void 0 && o.setAttribute("nonce", s), o.textContent = t.cssText, n.appendChild(o);
196
196
  });
197
- }, Qn = (n) => {
197
+ }, Xn = (n) => {
198
198
  let e = "";
199
199
  for (const t of n.cssRules)
200
200
  e += t.cssText;
201
- return Zn(e);
202
- }, St = tt || Jn ? (n) => n : (n) => n instanceof CSSStyleSheet ? Qn(n) : n;
203
- var Ae, Me, Ve, Bt;
201
+ return Yn(e);
202
+ }, St = tt || Gn ? (n) => n : (n) => n instanceof CSSStyleSheet ? Xn(n) : n;
203
+ var Me, Ae, Ve, Bt;
204
204
  const M = window;
205
205
  let Dt, L;
206
- const wt = M.trustedTypes, eo = wt ? wt.emptyScript : "", he = M.reactiveElementPolyfillSupportDevMode;
206
+ const wt = M.trustedTypes, Qn = wt ? wt.emptyScript : "", he = M.reactiveElementPolyfillSupportDevMode;
207
207
  {
208
- const n = (Ae = M.litIssuedWarnings) !== null && Ae !== void 0 ? Ae : M.litIssuedWarnings = /* @__PURE__ */ new Set();
208
+ const n = (Me = M.litIssuedWarnings) !== null && Me !== void 0 ? Me : M.litIssuedWarnings = /* @__PURE__ */ new Set();
209
209
  L = (e, t) => {
210
210
  t += ` See https://lit.dev/msg/${e} for more information.`, n.has(t) || (console.warn(t), n.add(t));
211
- }, L("dev-mode", "Lit is in dev mode. Not recommended for production!"), !((Me = M.ShadyDOM) === null || Me === void 0) && Me.inUse && he === void 0 && L("polyfill-support-missing", "Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded."), Dt = (e) => ({
211
+ }, L("dev-mode", "Lit is in dev mode. Not recommended for production!"), !((Ae = M.ShadyDOM) === null || Ae === void 0) && Ae.inUse && he === void 0 && L("polyfill-support-missing", "Shadow DOM is being polyfilled via `ShadyDOM` but the `polyfill-support` module has not been loaded."), Dt = (e) => ({
212
212
  then: (t, o) => {
213
213
  L("request-update-promise", `The \`requestUpdate\` method should no longer return a Promise but does so on \`${e}\`. Use \`updateComplete\` instead.`), t !== void 0 && t(!1);
214
214
  }
@@ -222,7 +222,7 @@ const ze = (n) => {
222
222
  toAttribute(n, e) {
223
223
  switch (e) {
224
224
  case Boolean:
225
- n = n ? eo : null;
225
+ n = n ? Qn : null;
226
226
  break;
227
227
  case Object:
228
228
  case Array:
@@ -258,7 +258,7 @@ const ze = (n) => {
258
258
  reflect: !1,
259
259
  hasChanged: jt
260
260
  }, Ze = "finalized";
261
- class V extends HTMLElement {
261
+ class A extends HTMLElement {
262
262
  constructor() {
263
263
  super(), this.__instanceProperties = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this.__reflectingProperty = null, this.__initialize();
264
264
  }
@@ -340,8 +340,8 @@ class V extends HTMLElement {
340
340
  static createProperty(e, t = Oe) {
341
341
  var o;
342
342
  if (t.state && (t.attribute = !1), this.finalize(), this.elementProperties.set(e, t), !t.noAccessor && !this.prototype.hasOwnProperty(e)) {
343
- const s = typeof e == "symbol" ? /* @__PURE__ */ Symbol() : `__${e}`, i = this.getPropertyDescriptor(e, s, t);
344
- i !== void 0 && (Object.defineProperty(this.prototype, e, i), this.hasOwnProperty("__reactivePropertyKeys") || (this.__reactivePropertyKeys = new Set((o = this.__reactivePropertyKeys) !== null && o !== void 0 ? o : [])), this.__reactivePropertyKeys.add(e));
343
+ const s = typeof e == "symbol" ? Symbol() : `__${e}`, r = this.getPropertyDescriptor(e, s, t);
344
+ r !== void 0 && (Object.defineProperty(this.prototype, e, r), this.hasOwnProperty("__reactivePropertyKeys") || (this.__reactivePropertyKeys = new Set((o = this.__reactivePropertyKeys) !== null && o !== void 0 ? o : [])), this.__reactivePropertyKeys.add(e));
345
345
  }
346
346
  }
347
347
  /**
@@ -378,8 +378,8 @@ class V extends HTMLElement {
378
378
  return this[t];
379
379
  },
380
380
  set(s) {
381
- const i = this[e];
382
- this[t] = s, this.requestUpdate(e, i, o);
381
+ const r = this[e];
382
+ this[t] = s, this.requestUpdate(e, r, o);
383
383
  },
384
384
  configurable: !0,
385
385
  enumerable: !0
@@ -519,7 +519,7 @@ class V extends HTMLElement {
519
519
  createRenderRoot() {
520
520
  var e;
521
521
  const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
522
- return Xn(t, this.constructor.elementStyles), t;
522
+ return Zn(t, this.constructor.elementStyles), t;
523
523
  }
524
524
  /**
525
525
  * On first connection, creates the element's renderRoot, sets up
@@ -571,21 +571,21 @@ class V extends HTMLElement {
571
571
  }
572
572
  __propertyToAttribute(e, t, o = Oe) {
573
573
  var s;
574
- const i = this.constructor.__attributeNameForProperty(e, o);
575
- if (i !== void 0 && o.reflect === !0) {
574
+ const r = this.constructor.__attributeNameForProperty(e, o);
575
+ if (r !== void 0 && o.reflect === !0) {
576
576
  const c = (((s = o.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? o.converter : Ye).toAttribute(t, o.type);
577
- this.constructor.enabledWarnings.indexOf("migration") >= 0 && c === void 0 && L("undefined-attribute-value", `The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`), this.__reflectingProperty = e, c == null ? this.removeAttribute(i) : this.setAttribute(i, c), this.__reflectingProperty = null;
577
+ this.constructor.enabledWarnings.indexOf("migration") >= 0 && c === void 0 && L("undefined-attribute-value", `The attribute value for the ${e} property is undefined on element ${this.localName}. The attribute will be removed, but in the previous version of \`ReactiveElement\`, the attribute would not have changed.`), this.__reflectingProperty = e, c == null ? this.removeAttribute(r) : this.setAttribute(r, c), this.__reflectingProperty = null;
578
578
  }
579
579
  }
580
580
  /** @internal */
581
581
  _$attributeToProperty(e, t) {
582
582
  var o;
583
- const s = this.constructor, i = s.__attributeToPropertyMap.get(e);
584
- if (i !== void 0 && this.__reflectingProperty !== i) {
585
- const r = s.getPropertyOptions(i), c = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((o = r.converter) === null || o === void 0 ? void 0 : o.fromAttribute) !== void 0 ? r.converter : Ye;
586
- this.__reflectingProperty = i, this[i] = c.fromAttribute(
583
+ const s = this.constructor, r = s.__attributeToPropertyMap.get(e);
584
+ if (r !== void 0 && this.__reflectingProperty !== r) {
585
+ const i = s.getPropertyOptions(r), c = typeof i.converter == "function" ? { fromAttribute: i.converter } : ((o = i.converter) === null || o === void 0 ? void 0 : o.fromAttribute) !== void 0 ? i.converter : Ye;
586
+ this.__reflectingProperty = r, this[r] = c.fromAttribute(
587
587
  t,
588
- r.type
588
+ i.type
589
589
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
590
590
  ), this.__reflectingProperty = null;
591
591
  }
@@ -663,23 +663,23 @@ class V extends HTMLElement {
663
663
  if (!this.isUpdatePending)
664
664
  return;
665
665
  if (ze?.({ kind: "update" }), !this.hasUpdated) {
666
- const i = [];
667
- if ((e = this.constructor.__reactivePropertyKeys) === null || e === void 0 || e.forEach((r) => {
666
+ const r = [];
667
+ if ((e = this.constructor.__reactivePropertyKeys) === null || e === void 0 || e.forEach((i) => {
668
668
  var c;
669
- this.hasOwnProperty(r) && !(!((c = this.__instanceProperties) === null || c === void 0) && c.has(r)) && i.push(r);
670
- }), i.length)
671
- throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${i.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`);
669
+ this.hasOwnProperty(i) && !(!((c = this.__instanceProperties) === null || c === void 0) && c.has(i)) && r.push(i);
670
+ }), r.length)
671
+ throw new Error(`The following properties on element ${this.localName} will not trigger updates as expected because they are set using class fields: ${r.join(", ")}. Native class fields and some compiled output will overwrite accessors used for detecting changes. See https://lit.dev/msg/class-field-shadowing for more information.`);
672
672
  }
673
- this.__instanceProperties && (this.__instanceProperties.forEach((i, r) => this[r] = i), this.__instanceProperties = void 0);
673
+ this.__instanceProperties && (this.__instanceProperties.forEach((r, i) => this[i] = r), this.__instanceProperties = void 0);
674
674
  let o = !1;
675
675
  const s = this._$changedProperties;
676
676
  try {
677
- o = this.shouldUpdate(s), o ? (this.willUpdate(s), (t = this.__controllers) === null || t === void 0 || t.forEach((i) => {
678
- var r;
679
- return (r = i.hostUpdate) === null || r === void 0 ? void 0 : r.call(i);
677
+ o = this.shouldUpdate(s), o ? (this.willUpdate(s), (t = this.__controllers) === null || t === void 0 || t.forEach((r) => {
678
+ var i;
679
+ return (i = r.hostUpdate) === null || i === void 0 ? void 0 : i.call(r);
680
680
  }), this.update(s)) : this.__markUpdated();
681
- } catch (i) {
682
- throw o = !1, this.__markUpdated(), i;
681
+ } catch (r) {
682
+ throw o = !1, this.__markUpdated(), r;
683
683
  }
684
684
  o && this._$didUpdate(s);
685
685
  }
@@ -818,19 +818,19 @@ class V extends HTMLElement {
818
818
  }
819
819
  }
820
820
  Bt = Ze;
821
- V[Bt] = !0;
822
- V.elementProperties = /* @__PURE__ */ new Map();
823
- V.elementStyles = [];
824
- V.shadowRootOptions = { mode: "open" };
825
- he?.({ ReactiveElement: V });
821
+ A[Bt] = !0;
822
+ A.elementProperties = /* @__PURE__ */ new Map();
823
+ A.elementStyles = [];
824
+ A.shadowRootOptions = { mode: "open" };
825
+ he?.({ ReactiveElement: A });
826
826
  {
827
- V.enabledWarnings = ["change-in-update"];
827
+ A.enabledWarnings = ["change-in-update"];
828
828
  const n = function(e) {
829
829
  e.hasOwnProperty(Ft("enabledWarnings")) || (e.enabledWarnings = e.enabledWarnings.slice());
830
830
  };
831
- V.enableWarning = function(e) {
831
+ A.enableWarning = function(e) {
832
832
  n(this), this.enabledWarnings.indexOf(e) < 0 && this.enabledWarnings.push(e);
833
- }, V.disableWarning = function(e) {
833
+ }, A.disableWarning = function(e) {
834
834
  n(this);
835
835
  const t = this.enabledWarnings.indexOf(e);
836
836
  t >= 0 && this.enabledWarnings.splice(t, 1);
@@ -844,29 +844,29 @@ const E = window, d = (n) => {
844
844
  detail: n
845
845
  }));
846
846
  };
847
- let to = 0, Se;
847
+ let eo = 0, Se;
848
848
  (Ie = E.litIssuedWarnings) !== null && Ie !== void 0 || (E.litIssuedWarnings = /* @__PURE__ */ new Set()), Se = (n, e) => {
849
849
  e += n ? ` See https://lit.dev/msg/${n} for more information.` : "", E.litIssuedWarnings.has(e) || (console.warn(e), E.litIssuedWarnings.add(e));
850
850
  }, Se("dev-mode", "Lit is in dev mode. Not recommended for production!");
851
- const T = !((Le = E.ShadyDOM) === null || Le === void 0) && Le.inUse && ((qe = E.ShadyDOM) === null || qe === void 0 ? void 0 : qe.noPatch) === !0 ? E.ShadyDOM.wrap : (n) => n, K = E.trustedTypes, Ct = K ? K.createPolicy("lit-html", {
851
+ const T = !((Le = E.ShadyDOM) === null || Le === void 0) && Le.inUse && ((qe = E.ShadyDOM) === null || qe === void 0 ? void 0 : qe.noPatch) === !0 ? E.ShadyDOM.wrap : (n) => n, K = E.trustedTypes, Pt = K ? K.createPolicy("lit-html", {
852
852
  createHTML: (n) => n
853
- }) : void 0, no = (n) => n, Ce = (n, e, t) => no, oo = (n) => {
854
- if (F !== Ce)
853
+ }) : void 0, to = (n) => n, Pe = (n, e, t) => to, no = (n) => {
854
+ if (F !== Pe)
855
855
  throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");
856
856
  F = n;
857
- }, so = () => {
858
- F = Ce;
859
- }, Xe = (n, e, t) => F(n, e, t), Qe = "$lit$", I = `lit$${String(Math.random()).slice(9)}$`, Wt = "?" + I, io = `<${Wt}>`, D = document, ie = () => D.createComment(""), re = (n) => n === null || typeof n != "object" && typeof n != "function", Ht = Array.isArray, ro = (n) => Ht(n) || // eslint-disable-next-line @typescript-eslint/no-explicit-any
857
+ }, oo = () => {
858
+ F = Pe;
859
+ }, Xe = (n, e, t) => F(n, e, t), Qe = "$lit$", O = `lit$${String(Math.random()).slice(9)}$`, Wt = "?" + O, so = `<${Wt}>`, D = document, re = () => D.createComment(""), ie = (n) => n === null || typeof n != "object" && typeof n != "function", Ht = Array.isArray, ro = (n) => Ht(n) || // eslint-disable-next-line @typescript-eslint/no-explicit-any
860
860
  typeof n?.[Symbol.iterator] == "function", Be = `[
861
- \f\r]`, lo = `[^
862
- \f\r"'\`<>=]`, ao = `[^\\s"'>=/]`, te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Pt = 1, De = 2, co = 3, Et = /-->/g, xt = />/g, U = new RegExp(`>|${Be}(?:(${ao}+)(${Be}*=${Be}*(?:${lo}|("|')|))|$)`, "g"), uo = 0, Tt = 1, fo = 2, $t = 3, Fe = /'/g, je = /"/g, Kt = /^(?:script|style|textarea|title)$/i, mo = 1, et = 2, st = 1, we = 2, po = 3, ho = 4, yo = 5, it = 6, go = 7, vo = (n) => (e, ...t) => (e.some((o) => o === void 0) && console.warn(`Some template strings are undefined.
861
+ \f\r]`, io = `[^
862
+ \f\r"'\`<>=]`, ao = `[^\\s"'>=/]`, te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ct = 1, De = 2, lo = 3, Et = /-->/g, xt = />/g, U = new RegExp(`>|${Be}(?:(${ao}+)(${Be}*=${Be}*(?:${io}|("|')|))|$)`, "g"), co = 0, Tt = 1, uo = 2, $t = 3, Fe = /'/g, je = /"/g, Kt = /^(?:script|style|textarea|title)$/i, fo = 1, et = 2, st = 1, we = 2, mo = 3, po = 4, ho = 5, rt = 6, yo = 7, go = (n) => (e, ...t) => (e.some((o) => o === void 0) && console.warn(`Some template strings are undefined.
863
863
  This is probably caused by illegal octal escape sequences.`), {
864
864
  // This property needs to remain unminified.
865
865
  _$litType$: n,
866
866
  strings: e,
867
867
  values: t
868
- }), bo = vo(mo), G = /* @__PURE__ */ Symbol.for("lit-noChange"), w = /* @__PURE__ */ Symbol.for("lit-nothing"), kt = /* @__PURE__ */ new WeakMap(), B = D.createTreeWalker(D, 129, null, !1);
869
- let F = Ce;
868
+ }), vo = go(fo), G = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), kt = /* @__PURE__ */ new WeakMap(), B = D.createTreeWalker(D, 129, null, !1);
869
+ let F = Pe;
870
870
  function Gt(n, e) {
871
871
  if (!Array.isArray(n) || !n.hasOwnProperty("raw")) {
872
872
  let t = "invalid template strings array";
@@ -883,46 +883,46 @@ function Gt(n, e) {
883
883
  `.trim().replace(/\n */g, `
884
884
  `), new Error(t);
885
885
  }
886
- return Ct !== void 0 ? Ct.createHTML(e) : e;
886
+ return Pt !== void 0 ? Pt.createHTML(e) : e;
887
887
  }
888
- const _o = (n, e) => {
888
+ const bo = (n, e) => {
889
889
  const t = n.length - 1, o = [];
890
- let s = e === et ? "<svg>" : "", i, r = te;
891
- for (let a = 0; a < t; a++) {
892
- const f = n[a];
890
+ let s = e === et ? "<svg>" : "", r, i = te;
891
+ for (let l = 0; l < t; l++) {
892
+ const f = n[l];
893
893
  let S = -1, v, h = 0, y;
894
- for (; h < f.length && (r.lastIndex = h, y = r.exec(f), y !== null); )
895
- if (h = r.lastIndex, r === te) {
896
- if (y[Pt] === "!--")
897
- r = Et;
898
- else if (y[Pt] !== void 0)
899
- r = xt;
894
+ for (; h < f.length && (i.lastIndex = h, y = i.exec(f), y !== null); )
895
+ if (h = i.lastIndex, i === te) {
896
+ if (y[Ct] === "!--")
897
+ i = Et;
898
+ else if (y[Ct] !== void 0)
899
+ i = xt;
900
900
  else if (y[De] !== void 0)
901
- Kt.test(y[De]) && (i = new RegExp(`</${y[De]}`, "g")), r = U;
902
- else if (y[co] !== void 0)
901
+ Kt.test(y[De]) && (r = new RegExp(`</${y[De]}`, "g")), i = U;
902
+ else if (y[lo] !== void 0)
903
903
  throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions");
904
- } else r === U ? y[uo] === ">" ? (r = i ?? te, S = -1) : y[Tt] === void 0 ? S = -2 : (S = r.lastIndex - y[fo].length, v = y[Tt], r = y[$t] === void 0 ? U : y[$t] === '"' ? je : Fe) : r === je || r === Fe ? r = U : r === Et || r === xt ? r = te : (r = U, i = void 0);
905
- console.assert(S === -1 || r === U || r === Fe || r === je, "unexpected parse state B");
906
- const N = r === U && n[a + 1].startsWith("/>") ? " " : "";
907
- s += r === te ? f + io : S >= 0 ? (o.push(v), f.slice(0, S) + Qe + f.slice(S) + I + N) : f + I + (S === -2 ? (o.push(void 0), a) : N);
904
+ } else i === U ? y[co] === ">" ? (i = r ?? te, S = -1) : y[Tt] === void 0 ? S = -2 : (S = i.lastIndex - y[uo].length, v = y[Tt], i = y[$t] === void 0 ? U : y[$t] === '"' ? je : Fe) : i === je || i === Fe ? i = U : i === Et || i === xt ? i = te : (i = U, r = void 0);
905
+ console.assert(S === -1 || i === U || i === Fe || i === je, "unexpected parse state B");
906
+ const R = i === U && n[l + 1].startsWith("/>") ? " " : "";
907
+ s += i === te ? f + so : S >= 0 ? (o.push(v), f.slice(0, S) + Qe + f.slice(S) + O + R) : f + O + (S === -2 ? (o.push(void 0), l) : R);
908
908
  }
909
909
  const c = s + (n[t] || "<?>") + (e === et ? "</svg>" : "");
910
910
  return [Gt(n, c), o];
911
911
  };
912
- class le {
912
+ class ae {
913
913
  constructor({ strings: e, ["_$litType$"]: t }, o) {
914
914
  this.parts = [];
915
- let s, i = 0, r = 0;
916
- const c = e.length - 1, a = this.parts, [f, S] = _o(e, t);
917
- if (this.el = le.createElement(f, o), B.currentNode = this.el.content, t === et) {
915
+ let s, r = 0, i = 0;
916
+ const c = e.length - 1, l = this.parts, [f, S] = bo(e, t);
917
+ if (this.el = ae.createElement(f, o), B.currentNode = this.el.content, t === et) {
918
918
  const v = this.el.content, h = v.firstChild;
919
919
  h.remove(), v.append(...h.childNodes);
920
920
  }
921
- for (; (s = B.nextNode()) !== null && a.length < c; ) {
921
+ for (; (s = B.nextNode()) !== null && l.length < c; ) {
922
922
  if (s.nodeType === 1) {
923
923
  {
924
924
  const v = s.localName;
925
- if (/^(?:textarea|template)$/i.test(v) && s.innerHTML.includes(I)) {
925
+ if (/^(?:textarea|template)$/i.test(v) && s.innerHTML.includes(O)) {
926
926
  const h = `Expressions are not supported inside \`${v}\` elements. See https://lit.dev/msg/expression-in-${v} for more information.`;
927
927
  if (v === "template")
928
928
  throw new Error(h);
@@ -932,44 +932,44 @@ class le {
932
932
  if (s.hasAttributes()) {
933
933
  const v = [];
934
934
  for (const h of s.getAttributeNames())
935
- if (h.endsWith(Qe) || h.startsWith(I)) {
936
- const y = S[r++];
935
+ if (h.endsWith(Qe) || h.startsWith(O)) {
936
+ const y = S[i++];
937
937
  if (v.push(h), y !== void 0) {
938
- const j = s.getAttribute(y.toLowerCase() + Qe).split(I), z = /([.?@])?(.*)/.exec(y);
939
- a.push({
938
+ const j = s.getAttribute(y.toLowerCase() + Qe).split(O), V = /([.?@])?(.*)/.exec(y);
939
+ l.push({
940
940
  type: st,
941
- index: i,
942
- name: z[2],
941
+ index: r,
942
+ name: V[2],
943
943
  strings: j,
944
- ctor: z[1] === "." ? wo : z[1] === "?" ? Po : z[1] === "@" ? Eo : Pe
944
+ ctor: V[1] === "." ? So : V[1] === "?" ? Po : V[1] === "@" ? Co : Ce
945
945
  });
946
946
  } else
947
- a.push({
948
- type: it,
949
- index: i
947
+ l.push({
948
+ type: rt,
949
+ index: r
950
950
  });
951
951
  }
952
952
  for (const h of v)
953
953
  s.removeAttribute(h);
954
954
  }
955
955
  if (Kt.test(s.tagName)) {
956
- const v = s.textContent.split(I), h = v.length - 1;
956
+ const v = s.textContent.split(O), h = v.length - 1;
957
957
  if (h > 0) {
958
958
  s.textContent = K ? K.emptyScript : "";
959
959
  for (let y = 0; y < h; y++)
960
- s.append(v[y], ie()), B.nextNode(), a.push({ type: we, index: ++i });
961
- s.append(v[h], ie());
960
+ s.append(v[y], re()), B.nextNode(), l.push({ type: we, index: ++r });
961
+ s.append(v[h], re());
962
962
  }
963
963
  }
964
964
  } else if (s.nodeType === 8)
965
965
  if (s.data === Wt)
966
- a.push({ type: we, index: i });
966
+ l.push({ type: we, index: r });
967
967
  else {
968
968
  let h = -1;
969
- for (; (h = s.data.indexOf(I, h + 1)) !== -1; )
970
- a.push({ type: go, index: i }), h += I.length - 1;
969
+ for (; (h = s.data.indexOf(O, h + 1)) !== -1; )
970
+ l.push({ type: yo, index: r }), h += O.length - 1;
971
971
  }
972
- i++;
972
+ r++;
973
973
  }
974
974
  d?.({
975
975
  kind: "template prep",
@@ -987,17 +987,17 @@ class le {
987
987
  }
988
988
  }
989
989
  function J(n, e, t = n, o) {
990
- var s, i, r, c;
990
+ var s, r, i, c;
991
991
  if (e === G)
992
992
  return e;
993
- let a = o !== void 0 ? (s = t.__directives) === null || s === void 0 ? void 0 : s[o] : t.__directive;
994
- const f = re(e) ? void 0 : (
993
+ let l = o !== void 0 ? (s = t.__directives) === null || s === void 0 ? void 0 : s[o] : t.__directive;
994
+ const f = ie(e) ? void 0 : (
995
995
  // This property needs to remain unminified.
996
996
  e._$litDirective$
997
997
  );
998
- return a?.constructor !== f && ((i = a?._$notifyDirectiveConnectionChanged) === null || i === void 0 || i.call(a, !1), f === void 0 ? a = void 0 : (a = new f(n), a._$initialize(n, t, o)), o !== void 0 ? ((r = (c = t).__directives) !== null && r !== void 0 ? r : c.__directives = [])[o] = a : t.__directive = a), a !== void 0 && (e = J(n, a._$resolve(n, e.values), a, o)), e;
998
+ return l?.constructor !== f && ((r = l?._$notifyDirectiveConnectionChanged) === null || r === void 0 || r.call(l, !1), f === void 0 ? l = void 0 : (l = new f(n), l._$initialize(n, t, o)), o !== void 0 ? ((i = (c = t).__directives) !== null && i !== void 0 ? i : c.__directives = [])[o] = l : t.__directive = l), l !== void 0 && (e = J(n, l._$resolve(n, e.values), l, o)), e;
999
999
  }
1000
- class So {
1000
+ class _o {
1001
1001
  constructor(e, t) {
1002
1002
  this._$parts = [], this._$disconnectableChildren = void 0, this._$template = e, this._$parent = t;
1003
1003
  }
@@ -1013,17 +1013,17 @@ class So {
1013
1013
  // DocumentFragment and we don't want to hold onto it with an instance field.
1014
1014
  _clone(e) {
1015
1015
  var t;
1016
- const { el: { content: o }, parts: s } = this._$template, i = ((t = e?.creationScope) !== null && t !== void 0 ? t : D).importNode(o, !0);
1017
- B.currentNode = i;
1018
- let r = B.nextNode(), c = 0, a = 0, f = s[0];
1016
+ const { el: { content: o }, parts: s } = this._$template, r = ((t = e?.creationScope) !== null && t !== void 0 ? t : D).importNode(o, !0);
1017
+ B.currentNode = r;
1018
+ let i = B.nextNode(), c = 0, l = 0, f = s[0];
1019
1019
  for (; f !== void 0; ) {
1020
1020
  if (c === f.index) {
1021
1021
  let S;
1022
- f.type === we ? S = new ae(r, r.nextSibling, this, e) : f.type === st ? S = new f.ctor(r, f.name, f.strings, this, e) : f.type === it && (S = new xo(r, this, e)), this._$parts.push(S), f = s[++a];
1022
+ f.type === we ? S = new le(i, i.nextSibling, this, e) : f.type === st ? S = new f.ctor(i, f.name, f.strings, this, e) : f.type === rt && (S = new Eo(i, this, e)), this._$parts.push(S), f = s[++l];
1023
1023
  }
1024
- c !== f?.index && (r = B.nextNode(), c++);
1024
+ c !== f?.index && (i = B.nextNode(), c++);
1025
1025
  }
1026
- return B.currentNode = D, i;
1026
+ return B.currentNode = D, r;
1027
1027
  }
1028
1028
  _update(e) {
1029
1029
  let t = 0;
@@ -1038,10 +1038,10 @@ class So {
1038
1038
  }), o.strings !== void 0 ? (o._$setValue(e, o, t), t += o.strings.length - 2) : o._$setValue(e[t])), t++;
1039
1039
  }
1040
1040
  }
1041
- class ae {
1041
+ class le {
1042
1042
  constructor(e, t, o, s) {
1043
- var i;
1044
- this.type = we, this._$committedValue = w, this._$disconnectableChildren = void 0, this._$startNode = e, this._$endNode = t, this._$parent = o, this.options = s, this.__isConnected = (i = s?.isConnected) !== null && i !== void 0 ? i : !0, this._textSanitizer = void 0;
1043
+ var r;
1044
+ this.type = we, this._$committedValue = w, this._$disconnectableChildren = void 0, this._$startNode = e, this._$endNode = t, this._$parent = o, this.options = s, this.__isConnected = (r = s?.isConnected) !== null && r !== void 0 ? r : !0, this._textSanitizer = void 0;
1045
1045
  }
1046
1046
  // See comment in Disconnectable interface for why this is a getter
1047
1047
  get _$isConnected() {
@@ -1089,7 +1089,7 @@ class ae {
1089
1089
  var o;
1090
1090
  if (this.parentNode === null)
1091
1091
  throw new Error("This `ChildPart` has no `parentNode` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's `innerHTML` or `textContent` can do this.");
1092
- if (e = J(this, e, t), re(e))
1092
+ if (e = J(this, e, t), ie(e))
1093
1093
  e === w || e == null || e === "" ? (this._$committedValue !== w && (d?.({
1094
1094
  kind: "commit nothing to child",
1095
1095
  start: this._$startNode,
@@ -1113,7 +1113,7 @@ class ae {
1113
1113
  _commitNode(e) {
1114
1114
  var t;
1115
1115
  if (this._$committedValue !== e) {
1116
- if (this._$clear(), F !== Ce) {
1116
+ if (this._$clear(), F !== Pe) {
1117
1117
  const o = (t = this._$startNode.parentNode) === null || t === void 0 ? void 0 : t.nodeName;
1118
1118
  if (o === "STYLE" || o === "SCRIPT") {
1119
1119
  let s = "Forbidden";
@@ -1130,7 +1130,7 @@ class ae {
1130
1130
  }
1131
1131
  }
1132
1132
  _commitText(e) {
1133
- if (this._$committedValue !== w && re(this._$committedValue)) {
1133
+ if (this._$committedValue !== w && ie(this._$committedValue)) {
1134
1134
  const t = T(this._$startNode).nextSibling;
1135
1135
  this._textSanitizer === void 0 && (this._textSanitizer = Xe(t, "data", "property")), e = this._textSanitizer(e), d?.({
1136
1136
  kind: "commit text",
@@ -1151,49 +1151,49 @@ class ae {
1151
1151
  }
1152
1152
  _commitTemplateResult(e) {
1153
1153
  var t;
1154
- const { values: o, ["_$litType$"]: s } = e, i = typeof s == "number" ? this._$getTemplate(e) : (s.el === void 0 && (s.el = le.createElement(Gt(s.h, s.h[0]), this.options)), s);
1155
- if (((t = this._$committedValue) === null || t === void 0 ? void 0 : t._$template) === i)
1154
+ const { values: o, ["_$litType$"]: s } = e, r = typeof s == "number" ? this._$getTemplate(e) : (s.el === void 0 && (s.el = ae.createElement(Gt(s.h, s.h[0]), this.options)), s);
1155
+ if (((t = this._$committedValue) === null || t === void 0 ? void 0 : t._$template) === r)
1156
1156
  d?.({
1157
1157
  kind: "template updating",
1158
- template: i,
1158
+ template: r,
1159
1159
  instance: this._$committedValue,
1160
1160
  parts: this._$committedValue._$parts,
1161
1161
  options: this.options,
1162
1162
  values: o
1163
1163
  }), this._$committedValue._update(o);
1164
1164
  else {
1165
- const r = new So(i, this), c = r._clone(this.options);
1165
+ const i = new _o(r, this), c = i._clone(this.options);
1166
1166
  d?.({
1167
1167
  kind: "template instantiated",
1168
- template: i,
1169
- instance: r,
1170
- parts: r._$parts,
1168
+ template: r,
1169
+ instance: i,
1170
+ parts: i._$parts,
1171
1171
  options: this.options,
1172
1172
  fragment: c,
1173
1173
  values: o
1174
- }), r._update(o), d?.({
1174
+ }), i._update(o), d?.({
1175
1175
  kind: "template instantiated and updated",
1176
- template: i,
1177
- instance: r,
1178
- parts: r._$parts,
1176
+ template: r,
1177
+ instance: i,
1178
+ parts: i._$parts,
1179
1179
  options: this.options,
1180
1180
  fragment: c,
1181
1181
  values: o
1182
- }), this._commitNode(c), this._$committedValue = r;
1182
+ }), this._commitNode(c), this._$committedValue = i;
1183
1183
  }
1184
1184
  }
1185
1185
  // Overridden via `litHtmlPolyfillSupport` to provide platform support.
1186
1186
  /** @internal */
1187
1187
  _$getTemplate(e) {
1188
1188
  let t = kt.get(e.strings);
1189
- return t === void 0 && kt.set(e.strings, t = new le(e)), t;
1189
+ return t === void 0 && kt.set(e.strings, t = new ae(e)), t;
1190
1190
  }
1191
1191
  _commitIterable(e) {
1192
1192
  Ht(this._$committedValue) || (this._$committedValue = [], this._$clear());
1193
1193
  const t = this._$committedValue;
1194
1194
  let o = 0, s;
1195
- for (const i of e)
1196
- o === t.length ? t.push(s = new ae(this._insert(ie()), this._insert(ie()), this, this.options)) : s = t[o], s._$setValue(i), o++;
1195
+ for (const r of e)
1196
+ o === t.length ? t.push(s = new le(this._insert(re()), this._insert(re()), this, this.options)) : s = t[o], s._$setValue(r), o++;
1197
1197
  o < t.length && (this._$clear(s && T(s._$endNode).nextSibling, o), t.length = o);
1198
1198
  }
1199
1199
  /**
@@ -1229,9 +1229,9 @@ class ae {
1229
1229
  throw new Error("part.setConnected() may only be called on a RootPart returned from render().");
1230
1230
  }
1231
1231
  }
1232
- class Pe {
1233
- constructor(e, t, o, s, i) {
1234
- this.type = st, this._$committedValue = w, this._$disconnectableChildren = void 0, this.element = e, this.name = t, this._$parent = s, this.options = i, o.length > 2 || o[0] !== "" || o[1] !== "" ? (this._$committedValue = new Array(o.length - 1).fill(new String()), this.strings = o) : this._$committedValue = w, this._sanitizer = void 0;
1232
+ class Ce {
1233
+ constructor(e, t, o, s, r) {
1234
+ this.type = st, this._$committedValue = w, this._$disconnectableChildren = void 0, this.element = e, this.name = t, this._$parent = s, this.options = r, o.length > 2 || o[0] !== "" || o[1] !== "" ? (this._$committedValue = new Array(o.length - 1).fill(new String()), this.strings = o) : this._$committedValue = w, this._sanitizer = void 0;
1235
1235
  }
1236
1236
  get tagName() {
1237
1237
  return this.element.tagName;
@@ -1263,18 +1263,18 @@ class Pe {
1263
1263
  * @internal
1264
1264
  */
1265
1265
  _$setValue(e, t = this, o, s) {
1266
- const i = this.strings;
1267
- let r = !1;
1268
- if (i === void 0)
1269
- e = J(this, e, t, 0), r = !re(e) || e !== this._$committedValue && e !== G, r && (this._$committedValue = e);
1266
+ const r = this.strings;
1267
+ let i = !1;
1268
+ if (r === void 0)
1269
+ e = J(this, e, t, 0), i = !ie(e) || e !== this._$committedValue && e !== G, i && (this._$committedValue = e);
1270
1270
  else {
1271
1271
  const c = e;
1272
- e = i[0];
1273
- let a, f;
1274
- for (a = 0; a < i.length - 1; a++)
1275
- f = J(this, c[o + a], t, a), f === G && (f = this._$committedValue[a]), r || (r = !re(f) || f !== this._$committedValue[a]), f === w ? e = w : e !== w && (e += (f ?? "") + i[a + 1]), this._$committedValue[a] = f;
1272
+ e = r[0];
1273
+ let l, f;
1274
+ for (l = 0; l < r.length - 1; l++)
1275
+ f = J(this, c[o + l], t, l), f === G && (f = this._$committedValue[l]), i || (i = !ie(f) || f !== this._$committedValue[l]), f === w ? e = w : e !== w && (e += (f ?? "") + r[l + 1]), this._$committedValue[l] = f;
1276
1276
  }
1277
- r && !s && this._commitValue(e);
1277
+ i && !s && this._commitValue(e);
1278
1278
  }
1279
1279
  /** @internal */
1280
1280
  _commitValue(e) {
@@ -1287,9 +1287,9 @@ class Pe {
1287
1287
  }), T(this.element).setAttribute(this.name, e ?? ""));
1288
1288
  }
1289
1289
  }
1290
- class wo extends Pe {
1290
+ class So extends Ce {
1291
1291
  constructor() {
1292
- super(...arguments), this.type = po;
1292
+ super(...arguments), this.type = mo;
1293
1293
  }
1294
1294
  /** @internal */
1295
1295
  _commitValue(e) {
@@ -1302,10 +1302,10 @@ class wo extends Pe {
1302
1302
  }), this.element[this.name] = e === w ? void 0 : e;
1303
1303
  }
1304
1304
  }
1305
- const Co = K ? K.emptyScript : "";
1306
- class Po extends Pe {
1305
+ const wo = K ? K.emptyScript : "";
1306
+ class Po extends Ce {
1307
1307
  constructor() {
1308
- super(...arguments), this.type = ho;
1308
+ super(...arguments), this.type = po;
1309
1309
  }
1310
1310
  /** @internal */
1311
1311
  _commitValue(e) {
@@ -1315,12 +1315,12 @@ class Po extends Pe {
1315
1315
  name: this.name,
1316
1316
  value: !!(e && e !== w),
1317
1317
  options: this.options
1318
- }), e && e !== w ? T(this.element).setAttribute(this.name, Co) : T(this.element).removeAttribute(this.name);
1318
+ }), e && e !== w ? T(this.element).setAttribute(this.name, wo) : T(this.element).removeAttribute(this.name);
1319
1319
  }
1320
1320
  }
1321
- class Eo extends Pe {
1322
- constructor(e, t, o, s, i) {
1323
- if (super(e, t, o, s, i), this.type = yo, this.strings !== void 0)
1321
+ class Co extends Ce {
1322
+ constructor(e, t, o, s, r) {
1323
+ if (super(e, t, o, s, r), this.type = ho, this.strings !== void 0)
1324
1324
  throw new Error(`A \`<${e.localName}>\` has a \`@${t}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`);
1325
1325
  }
1326
1326
  // EventPart does not use the base _$setValue/_resolveValue implementation
@@ -1330,26 +1330,26 @@ class Eo extends Pe {
1330
1330
  var o;
1331
1331
  if (e = (o = J(this, e, t, 0)) !== null && o !== void 0 ? o : w, e === G)
1332
1332
  return;
1333
- const s = this._$committedValue, i = e === w && s !== w || e.capture !== s.capture || e.once !== s.once || e.passive !== s.passive, r = e !== w && (s === w || i);
1333
+ const s = this._$committedValue, r = e === w && s !== w || e.capture !== s.capture || e.once !== s.once || e.passive !== s.passive, i = e !== w && (s === w || r);
1334
1334
  d?.({
1335
1335
  kind: "commit event listener",
1336
1336
  element: this.element,
1337
1337
  name: this.name,
1338
1338
  value: e,
1339
1339
  options: this.options,
1340
- removeListener: i,
1341
- addListener: r,
1340
+ removeListener: r,
1341
+ addListener: i,
1342
1342
  oldListener: s
1343
- }), i && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, e), this._$committedValue = e;
1343
+ }), r && this.element.removeEventListener(this.name, this, s), i && this.element.addEventListener(this.name, this, e), this._$committedValue = e;
1344
1344
  }
1345
1345
  handleEvent(e) {
1346
1346
  var t, o;
1347
1347
  typeof this._$committedValue == "function" ? this._$committedValue.call((o = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && o !== void 0 ? o : this.element, e) : this._$committedValue.handleEvent(e);
1348
1348
  }
1349
1349
  }
1350
- class xo {
1350
+ class Eo {
1351
1351
  constructor(e, t, o) {
1352
- this.element = e, this.type = it, this._$disconnectableChildren = void 0, this._$parent = t, this.options = o;
1352
+ this.element = e, this.type = rt, this._$disconnectableChildren = void 0, this._$parent = t, this.options = o;
1353
1353
  }
1354
1354
  // See comment in Disconnectable interface for why this is a getter
1355
1355
  get _$isConnected() {
@@ -1365,45 +1365,45 @@ class xo {
1365
1365
  }
1366
1366
  }
1367
1367
  const We = E.litHtmlPolyfillSupportDevMode;
1368
- We?.(le, ae);
1368
+ We?.(ae, le);
1369
1369
  ((Ue = E.litHtmlVersions) !== null && Ue !== void 0 ? Ue : E.litHtmlVersions = []).push("2.8.0");
1370
1370
  E.litHtmlVersions.length > 1 && Se("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
1371
1371
  const ye = (n, e, t) => {
1372
1372
  var o, s;
1373
1373
  if (e == null)
1374
1374
  throw new TypeError(`The container to render into may not be ${e}`);
1375
- const i = to++, r = (o = t?.renderBefore) !== null && o !== void 0 ? o : e;
1376
- let c = r._$litPart$;
1375
+ const r = eo++, i = (o = t?.renderBefore) !== null && o !== void 0 ? o : e;
1376
+ let c = i._$litPart$;
1377
1377
  if (d?.({
1378
1378
  kind: "begin render",
1379
- id: i,
1379
+ id: r,
1380
1380
  value: n,
1381
1381
  container: e,
1382
1382
  options: t,
1383
1383
  part: c
1384
1384
  }), c === void 0) {
1385
- const a = (s = t?.renderBefore) !== null && s !== void 0 ? s : null;
1386
- r._$litPart$ = c = new ae(e.insertBefore(ie(), a), a, void 0, t ?? {});
1385
+ const l = (s = t?.renderBefore) !== null && s !== void 0 ? s : null;
1386
+ i._$litPart$ = c = new le(e.insertBefore(re(), l), l, void 0, t ?? {});
1387
1387
  }
1388
1388
  return c._$setValue(n), d?.({
1389
1389
  kind: "end render",
1390
- id: i,
1390
+ id: r,
1391
1391
  value: n,
1392
1392
  container: e,
1393
1393
  options: t,
1394
1394
  part: c
1395
1395
  }), c;
1396
1396
  };
1397
- ye.setSanitizer = oo, ye.createSanitizer = Xe, ye._testOnlyClearSanitizerFactoryDoNotCallOrElse = so;
1397
+ ye.setSanitizer = no, ye.createSanitizer = Xe, ye._testOnlyClearSanitizerFactoryDoNotCallOrElse = oo;
1398
1398
  var He, Ke, Ge;
1399
- let rt;
1399
+ let it;
1400
1400
  {
1401
1401
  const n = (He = globalThis.litIssuedWarnings) !== null && He !== void 0 ? He : globalThis.litIssuedWarnings = /* @__PURE__ */ new Set();
1402
- rt = (e, t) => {
1402
+ it = (e, t) => {
1403
1403
  t += ` See https://lit.dev/msg/${e} for more information.`, n.has(t) || (console.warn(t), n.add(t));
1404
1404
  };
1405
1405
  }
1406
- class Y extends V {
1406
+ class Y extends A {
1407
1407
  constructor() {
1408
1408
  super(...arguments), this.renderOptions = { host: this }, this.__childPart = void 0;
1409
1409
  }
@@ -1490,27 +1490,27 @@ Y._$litElement$ = !0;
1490
1490
  const Je = globalThis.litElementPolyfillSupportDevMode;
1491
1491
  Je?.({ LitElement: Y });
1492
1492
  Y.finalize = function() {
1493
- if (!V.finalize.call(this))
1493
+ if (!A.finalize.call(this))
1494
1494
  return !1;
1495
1495
  const e = (t, o, s = !1) => {
1496
1496
  if (t.hasOwnProperty(o)) {
1497
- const i = (typeof t == "function" ? t : t.constructor).name;
1498
- rt(s ? "renamed-api" : "removed-api", `\`${o}\` is implemented on class ${i}. It has been ${s ? "renamed" : "removed"} in this version of LitElement.`);
1497
+ const r = (typeof t == "function" ? t : t.constructor).name;
1498
+ it(s ? "renamed-api" : "removed-api", `\`${o}\` is implemented on class ${r}. It has been ${s ? "renamed" : "removed"} in this version of LitElement.`);
1499
1499
  }
1500
1500
  };
1501
1501
  return e(this, "render"), e(this, "getStyles", !0), e(this.prototype, "adoptStyles"), !0;
1502
1502
  };
1503
1503
  ((Ge = globalThis.litElementVersions) !== null && Ge !== void 0 ? Ge : globalThis.litElementVersions = []).push("3.3.3");
1504
- globalThis.litElementVersions.length > 1 && rt("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
1505
- const To = (n) => n ?? w, $o = /[A-ZÀ-ÖÙ-Ý]+/g, ko = /[a-zà-öù-ý]+/g;
1506
- function Ro(n) {
1507
- const e = n.replace($o, t).match(ko);
1504
+ globalThis.litElementVersions.length > 1 && it("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
1505
+ const xo = (n) => n ?? w, To = /[A-ZÀ-ÖÙ-Ý]+/g, $o = /[a-zà-öù-ý]+/g;
1506
+ function ko(n) {
1507
+ const e = n.replace(To, t).match($o);
1508
1508
  return e ? e.join("-") : "";
1509
1509
  function t(o) {
1510
1510
  return " " + (o.length > 2 ? o.slice(0, -1) + " " + o.slice(-1) : o).toLowerCase();
1511
1511
  }
1512
1512
  }
1513
- function No() {
1513
+ function Ro() {
1514
1514
  const n = {};
1515
1515
  return {
1516
1516
  has: (e) => Object.hasOwnProperty.call(n, e),
@@ -1520,21 +1520,21 @@ function No() {
1520
1520
  }
1521
1521
  };
1522
1522
  }
1523
- function Ao(n, e) {
1524
- const t = No();
1523
+ function No(n, e) {
1524
+ const t = Ro();
1525
1525
  return (...o) => {
1526
1526
  const s = n(...o);
1527
1527
  return t.has(s) || t.set(s, e(...o)), t.get(s);
1528
1528
  };
1529
1529
  }
1530
- var Mo = (n) => n, Jt = Ao(Mo, Ro), Vo = (n) => (e) => n.includes(e), zo = Vo(["paymentMethod", "source", "token"]);
1531
- async function Oo(n) {
1530
+ var Mo = (n) => n, Jt = No(Mo, ko), Ao = (n) => (e) => n.includes(e), Vo = Ao(["paymentMethod", "source", "token"]);
1531
+ async function zo(n) {
1532
1532
  const { ok: e, statusText: t } = n;
1533
1533
  if (!e)
1534
1534
  throw new Error(t);
1535
1535
  return n;
1536
1536
  }
1537
- function Io(n) {
1537
+ function Oo(n) {
1538
1538
  return "addInitializer" in n.constructor;
1539
1539
  }
1540
1540
  var se = class {
@@ -1550,22 +1550,22 @@ var se = class {
1550
1550
  }
1551
1551
  set(n, e) {
1552
1552
  const t = this.values.get(n);
1553
- this.values.set(n, e), Io(this.host) ? this.host.requestUpdate(n, t) : this.host.requestUpdate();
1553
+ this.values.set(n, e), Oo(this.host) ? this.host.requestUpdate(n, t) : this.host.requestUpdate();
1554
1554
  }
1555
- }, lt = se;
1556
- lt.instances = /* @__PURE__ */ new Map();
1555
+ }, at = se;
1556
+ at.instances = /* @__PURE__ */ new Map();
1557
1557
  function m(n, e) {
1558
1558
  const t = n.constructor;
1559
1559
  t.addInitializer((o) => {
1560
- const s = lt.for(o);
1560
+ const s = at.for(o);
1561
1561
  Object.defineProperty(o.constructor.prototype, e, {
1562
1562
  enumerable: !0,
1563
1563
  configurable: !0,
1564
1564
  get() {
1565
1565
  return s.values.get(e);
1566
1566
  },
1567
- set(i) {
1568
- s.values.has(e) || s.values.set(e, i);
1567
+ set(r) {
1568
+ s.values.has(e) || s.values.set(e, r);
1569
1569
  }
1570
1570
  }), t.createProperty(e, {
1571
1571
  ...t.getPropertyOptions(e),
@@ -1574,11 +1574,11 @@ function m(n, e) {
1574
1574
  });
1575
1575
  }
1576
1576
  m.set = function(n, e) {
1577
- const t = lt.for(n);
1577
+ const t = at.for(n);
1578
1578
  for (const [o, s] of Object.entries(e))
1579
1579
  t.set(o, s);
1580
1580
  };
1581
- var Lo = class extends Event {
1581
+ var Io = class extends Event {
1582
1582
  constructor(n, e, t, o) {
1583
1583
  super(`${o ?? n.toLowerCase()}-changed`), this.key = n, this.oldValue = e, this.value = t, this.detail = { value: t };
1584
1584
  }
@@ -1591,7 +1591,7 @@ var Lo = class extends Event {
1591
1591
  hostUpdated() {
1592
1592
  for (const [n, e] of this.cache) {
1593
1593
  const t = this.host[n], { attribute: o } = this.host.constructor.getPropertyOptions(n) ?? {}, s = typeof o == "string" ? o : null;
1594
- this.cache.set(n, t), this.host.dispatchEvent(new Lo(n, e, t, s));
1594
+ this.cache.set(n, t), this.host.dispatchEvent(new Io(n, e, t, s));
1595
1595
  }
1596
1596
  }
1597
1597
  }, Yt = ge;
@@ -1601,13 +1601,13 @@ function x(n, e) {
1601
1601
  new Yt(t).cache.set(e, t[e]);
1602
1602
  });
1603
1603
  }
1604
- function qo(n) {
1604
+ function Lo(n) {
1605
1605
  return (e, t, o) => {
1606
1606
  const s = o.value;
1607
1607
  return o.value = n(s), o;
1608
1608
  };
1609
1609
  }
1610
- var at = qo(function(n) {
1610
+ var lt = Lo(function(n) {
1611
1611
  const { name: e } = n;
1612
1612
  return async function(...t) {
1613
1613
  if (!this.stripe)
@@ -1620,22 +1620,22 @@ function Rt(n) {
1620
1620
  throw n.error;
1621
1621
  return n;
1622
1622
  }
1623
- var Uo = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, l = (n, e, t, o) => {
1624
- for (var s = o > 1 ? void 0 : o ? Bo(e, t) : e, i = n.length - 1, r; i >= 0; i--)
1625
- (r = n[i]) && (s = (o ? r(e, t, s) : r(s)) || s);
1626
- return o && s && Uo(e, t, s), s;
1623
+ var qo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, a = (n, e, t, o) => {
1624
+ for (var s = o > 1 ? void 0 : o ? Uo(e, t) : e, r = n.length - 1, i; r >= 0; r--)
1625
+ (i = n[r]) && (s = (o ? i(e, t, s) : i(s)) || s);
1626
+ return o && s && qo(e, t, s), s;
1627
1627
  }, Zt = (n, e, t) => {
1628
1628
  if (!e.has(n))
1629
1629
  throw TypeError("Cannot " + t);
1630
- }, Nt = (n, e, t) => (Zt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), At = (n, e, t) => {
1630
+ }, Nt = (n, e, t) => (Zt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Mt = (n, e, t) => {
1631
1631
  if (e.has(n))
1632
1632
  throw TypeError("Cannot add the same private member more than once");
1633
1633
  e instanceof WeakSet ? e.add(n) : e.set(n, t);
1634
- }, Mt = (n, e, t, o) => (Zt(n, e, "write to private field"), e.set(n, t), t);
1634
+ }, At = (n, e, t, o) => (Zt(n, e, "write to private field"), e.set(n, t), t);
1635
1635
  function Vt() {
1636
1636
  return (Date.now() + Math.random() * 1e3).toString(36).substr(0, 8);
1637
1637
  }
1638
- var Do = class {
1638
+ var Bo = class {
1639
1639
  constructor(n, e) {
1640
1640
  this.host = n, this.options = e, this.initialized = !1, this.shadowHosts = [], this.host.addController(this), this.mountId = this.resetMountId(), this.slotName = this.options?.slotName ?? `breadcrumb-${Vt()}`;
1641
1641
  }
@@ -1677,11 +1677,11 @@ var Do = class {
1677
1677
  this.shadowHosts.push(n);
1678
1678
  const { shadowHosts: e, slotName: t } = this, o = [...e], s = o.pop();
1679
1679
  if (!s.querySelector(`[slot="${t}"]`)) {
1680
- const r = document.createElement("div");
1681
- r.slot = t, s.appendChild(r);
1680
+ const i = document.createElement("div");
1681
+ i.slot = t, s.appendChild(i);
1682
1682
  }
1683
- const i = s.querySelector(`[slot="${t}"]`);
1684
- this.appendTemplate(i), o.forEach((r) => this.appendTemplate(r, this.createSlot(t)));
1683
+ const r = s.querySelector(`[slot="${t}"]`);
1684
+ this.appendTemplate(r), o.forEach((i) => this.appendTemplate(i, this.createSlot(t)));
1685
1685
  }
1686
1686
  init() {
1687
1687
  this.destroyMountPoints(), this.initMountPoints(), this.initialized = !0;
@@ -1695,27 +1695,27 @@ function ve(n) {
1695
1695
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1696
1696
  }, ve(n);
1697
1697
  }
1698
- var Xt = "https://js.stripe.com/v3", Fo = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, zt = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", jo = function() {
1698
+ var Xt = "https://js.stripe.com/v3", Do = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, zt = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", Fo = function() {
1699
1699
  for (var e = document.querySelectorAll('script[src^="'.concat(Xt, '"]')), t = 0; t < e.length; t++) {
1700
1700
  var o = e[t];
1701
- if (Fo.test(o.src))
1701
+ if (Do.test(o.src))
1702
1702
  return o;
1703
1703
  }
1704
1704
  return null;
1705
- }, Wo = function(e) {
1705
+ }, jo = function(e) {
1706
1706
  var t = e && !e.advancedFraudSignals ? "?advancedFraudSignals=false" : "", o = document.createElement("script");
1707
1707
  o.src = "".concat(Xt).concat(t);
1708
1708
  var s = document.head || document.body;
1709
1709
  if (!s)
1710
1710
  throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
1711
1711
  return s.appendChild(o), o;
1712
- }, Ho = function(e, t) {
1712
+ }, Wo = function(e, t) {
1713
1713
  !e || !e._registerWrapper || e._registerWrapper({
1714
1714
  name: "stripe-js",
1715
1715
  version: "1.32.0",
1716
1716
  startTime: t
1717
1717
  });
1718
- }, de = null, Ko = function(e) {
1718
+ }, de = null, Ho = function(e) {
1719
1719
  return de !== null || (de = new Promise(function(t, o) {
1720
1720
  if (typeof window > "u") {
1721
1721
  t(null);
@@ -1726,23 +1726,23 @@ var Xt = "https://js.stripe.com/v3", Fo = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
1726
1726
  return;
1727
1727
  }
1728
1728
  try {
1729
- var s = jo();
1730
- s && e ? console.warn(zt) : s || (s = Wo(e)), s.addEventListener("load", function() {
1729
+ var s = Fo();
1730
+ s && e ? console.warn(zt) : s || (s = jo(e)), s.addEventListener("load", function() {
1731
1731
  window.Stripe ? t(window.Stripe) : o(new Error("Stripe.js not available"));
1732
1732
  }), s.addEventListener("error", function() {
1733
1733
  o(new Error("Failed to load Stripe.js"));
1734
1734
  });
1735
- } catch (i) {
1736
- o(i);
1735
+ } catch (r) {
1736
+ o(r);
1737
1737
  return;
1738
1738
  }
1739
1739
  })), de;
1740
- }, Go = function(e, t, o) {
1740
+ }, Ko = function(e, t, o) {
1741
1741
  if (e === null)
1742
1742
  return null;
1743
1743
  var s = e.apply(void 0, t);
1744
- return Ho(s, o), s;
1745
- }, Jo = function(e) {
1744
+ return Wo(s, o), s;
1745
+ }, Go = function(e) {
1746
1746
  var t = `invalid load parameters; expected object of shape
1747
1747
 
1748
1748
  {advancedFraudSignals: boolean}
@@ -1761,14 +1761,14 @@ but received
1761
1761
  t[o] = arguments[o];
1762
1762
  en = !0;
1763
1763
  var s = Date.now();
1764
- return Ko(Qt).then(function(i) {
1765
- return Go(i, t, s);
1764
+ return Ho(Qt).then(function(r) {
1765
+ return Ko(r, t, s);
1766
1766
  });
1767
1767
  };
1768
1768
  tn.setLoadParameters = function(n) {
1769
1769
  if (en)
1770
1770
  throw new Error("You cannot change load parameters after calling loadStripe");
1771
- Qt = Jo(n);
1771
+ Qt = Go(n);
1772
1772
  };
1773
1773
  var nn = class extends Error {
1774
1774
  constructor(n, e) {
@@ -1778,11 +1778,11 @@ var nn = class extends Error {
1778
1778
  function on(n) {
1779
1779
  return !!n && n instanceof nn;
1780
1780
  }
1781
- var Yo = {
1781
+ var Jo = {
1782
1782
  toAttribute: (n) => n ? on(n) ? n.originalMessage : n.message || "" : null
1783
1783
  }, p = class extends Y {
1784
1784
  constructor() {
1785
- super(...arguments), this.generate = "source", this.showError = !1, this.locale = "auto", this.paymentMethod = null, this.source = null, this.token = null, this.element = null, this.elements = null, this.error = null, this.focused = !1, this.ready = !1, this.stripe = null, this.theme = "none", this.precomputedStyle = getComputedStyle(this), this.breadcrumb = new Do(this, {
1785
+ super(...arguments), this.generate = "source", this.showError = !1, this.locale = "auto", this.paymentMethod = null, this.source = null, this.token = null, this.element = null, this.elements = null, this.error = null, this.focused = !1, this.ready = !1, this.stripe = null, this.theme = "none", this.precomputedStyle = getComputedStyle(this), this.breadcrumb = new Bo(this, {
1786
1786
  slotName: `${this.constructor.is}-slot`
1787
1787
  });
1788
1788
  }
@@ -1794,7 +1794,7 @@ var Yo = {
1794
1794
  }
1795
1795
  render() {
1796
1796
  const { error: n, showError: e } = this, { slotName: t } = this.breadcrumb, o = on(n) ? n.originalMessage : n?.message;
1797
- return bo`
1797
+ return vo`
1798
1798
  <div id="stripe" part="stripe">
1799
1799
  <slot id="stripe-slot" name="${t}"></slot>
1800
1800
  </div>
@@ -1803,7 +1803,7 @@ var Yo = {
1803
1803
  for="stripe"
1804
1804
  part="error"
1805
1805
  ?hidden="${!e}">
1806
- ${To(o)}
1806
+ ${xo(o)}
1807
1807
  </output>
1808
1808
  `;
1809
1809
  }
@@ -1858,8 +1858,8 @@ var Yo = {
1858
1858
  m.set(this, { elements: null, element: null, stripe: null });
1859
1859
  else
1860
1860
  try {
1861
- const o = { stripeAccount: e, locale: t }, s = window.Stripe ? window.Stripe(n, o) : await tn(n, o), i = s?.elements();
1862
- m.set(this, { elements: i, error: null, stripe: s });
1861
+ const o = { stripeAccount: e, locale: t }, s = window.Stripe ? window.Stripe(n, o) : await tn(n, o), r = s?.elements();
1862
+ m.set(this, { elements: r, error: null, stripe: s });
1863
1863
  } catch (o) {
1864
1864
  console.warn(o);
1865
1865
  const s = this.createError("Stripe.js must be loaded first.");
@@ -1886,11 +1886,11 @@ var Yo = {
1886
1886
  m.set(this, { ready: !0 }), await this.updateComplete, this.fire("ready", n);
1887
1887
  }
1888
1888
  async postRepresentation() {
1889
- const n = (a) => m.set(this, { error: a }), e = (a) => this.fire("success", a), t = this.token || void 0, o = this.source || void 0, s = this.paymentMethod || void 0, i = JSON.stringify({ token: t, source: o, paymentMethod: s }), r = { "Content-Type": "application/json" };
1890
- return fetch(this.action, { body: i, headers: r, method: "POST" }).then(Oo).then(e).catch(n);
1889
+ const n = (l) => m.set(this, { error: l }), e = (l) => this.fire("success", l), t = this.token || void 0, o = this.source || void 0, s = this.paymentMethod || void 0, r = JSON.stringify({ token: t, source: o, paymentMethod: s }), i = { "Content-Type": "application/json" };
1890
+ return fetch(this.action, { body: r, headers: i, method: "POST" }).then(zo).then(e).catch(n);
1891
1891
  }
1892
1892
  representationChanged(n) {
1893
- if (!zo(n))
1893
+ if (!Vo(n))
1894
1894
  return;
1895
1895
  const e = this[n];
1896
1896
  e && (this.fire(`${Jt(n)}`, e), this.action && this.postRepresentation());
@@ -1903,107 +1903,107 @@ var Yo = {
1903
1903
  });
1904
1904
  }
1905
1905
  };
1906
- l([
1906
+ a([
1907
1907
  u({ type: String })
1908
1908
  ], p.prototype, "action", 2);
1909
- l([
1909
+ a([
1910
1910
  u({ type: String, attribute: "client-secret" })
1911
1911
  ], p.prototype, "clientSecret", 2);
1912
- l([
1912
+ a([
1913
1913
  u({ type: String })
1914
1914
  ], p.prototype, "generate", 2);
1915
- l([
1915
+ a([
1916
1916
  x,
1917
1917
  u({ type: String, attribute: "publishable-key", reflect: !0 })
1918
1918
  ], p.prototype, "publishableKey", 2);
1919
- l([
1919
+ a([
1920
1920
  u({ type: Boolean, attribute: "show-error", reflect: !0 })
1921
1921
  ], p.prototype, "showError", 2);
1922
- l([
1922
+ a([
1923
1923
  u({ type: String, attribute: "stripe-account" })
1924
1924
  ], p.prototype, "stripeAccount", 2);
1925
- l([
1925
+ a([
1926
1926
  u({ type: String, attribute: "locale" })
1927
1927
  ], p.prototype, "locale", 2);
1928
- l([
1928
+ a([
1929
1929
  m,
1930
1930
  x,
1931
1931
  u({ type: Object, attribute: "payment-method" })
1932
1932
  ], p.prototype, "paymentMethod", 2);
1933
- l([
1933
+ a([
1934
1934
  m,
1935
1935
  x,
1936
1936
  u({ type: Object })
1937
1937
  ], p.prototype, "source", 2);
1938
- l([
1938
+ a([
1939
1939
  m,
1940
1940
  x,
1941
1941
  u({ type: Object })
1942
1942
  ], p.prototype, "token", 2);
1943
- l([
1943
+ a([
1944
1944
  m,
1945
1945
  u({ type: Object })
1946
1946
  ], p.prototype, "element", 2);
1947
- l([
1947
+ a([
1948
1948
  m,
1949
1949
  u({ type: Object })
1950
1950
  ], p.prototype, "elements", 2);
1951
- l([
1951
+ a([
1952
1952
  m,
1953
1953
  x,
1954
- u({ type: Object, reflect: !0, converter: Yo })
1954
+ u({ type: Object, reflect: !0, converter: Jo })
1955
1955
  ], p.prototype, "error", 2);
1956
- l([
1956
+ a([
1957
1957
  m,
1958
1958
  x,
1959
1959
  u({ type: Boolean, reflect: !0 })
1960
1960
  ], p.prototype, "focused", 2);
1961
- l([
1961
+ a([
1962
1962
  m,
1963
1963
  x,
1964
1964
  u({ type: Boolean, reflect: !0 })
1965
1965
  ], p.prototype, "ready", 2);
1966
- l([
1966
+ a([
1967
1967
  m,
1968
1968
  u({ type: Object })
1969
1969
  ], p.prototype, "stripe", 2);
1970
- l([
1970
+ a([
1971
1971
  u()
1972
1972
  ], p.prototype, "theme", 2);
1973
- l([
1973
+ a([
1974
1974
  u({ attribute: "border-radius" })
1975
1975
  ], p.prototype, "borderRadius", 2);
1976
- l([
1976
+ a([
1977
1977
  u({ attribute: "color-background" })
1978
1978
  ], p.prototype, "colorBackground", 2);
1979
- l([
1979
+ a([
1980
1980
  u({ attribute: "color-danger" })
1981
1981
  ], p.prototype, "colorDanger", 2);
1982
- l([
1982
+ a([
1983
1983
  u({ attribute: "color-primary" })
1984
1984
  ], p.prototype, "colorPrimary", 2);
1985
- l([
1985
+ a([
1986
1986
  u({ attribute: "color-text" })
1987
1987
  ], p.prototype, "colorText", 2);
1988
- l([
1988
+ a([
1989
1989
  u({ attribute: "font-family" })
1990
1990
  ], p.prototype, "fontFamily", 2);
1991
- l([
1991
+ a([
1992
1992
  u({ attribute: "spacing-unit" })
1993
1993
  ], p.prototype, "spacingUnit", 2);
1994
- l([
1995
- R
1994
+ a([
1995
+ k
1996
1996
  ], p.prototype, "handleResponse", 1);
1997
- l([
1998
- R
1997
+ a([
1998
+ k
1999
1999
  ], p.prototype, "onBlur", 1);
2000
- l([
2001
- R
2000
+ a([
2001
+ k
2002
2002
  ], p.prototype, "onFocus", 1);
2003
- l([
2004
- R
2003
+ a([
2004
+ k
2005
2005
  ], p.prototype, "onReady", 1);
2006
- var Zo = ot`[hidden] {
2006
+ var Yo = ot`[hidden] {
2007
2007
  display: none !important;
2008
2008
  }
2009
2009
 
@@ -2018,7 +2018,7 @@ var Zo = ot`[hidden] {
2018
2018
  padding-left: 42px;
2019
2019
  padding-bottom: 10px;
2020
2020
  }
2021
- `, sn = Zo, Xo = ot`:host {
2021
+ `, sn = Yo, Zo = ot`:host {
2022
2022
  min-width: var(--stripe-elements-width, 300px);
2023
2023
  min-height: var(--stripe-elements-height, 50px);
2024
2024
  }
@@ -2041,7 +2041,7 @@ var Zo = ot`[hidden] {
2041
2041
  :host([error]) #stripe {
2042
2042
  border-color: #fa755a;
2043
2043
  }
2044
- `, Qo = Xo, Ot = [
2044
+ `, Xo = Zo, Ot = [
2045
2045
  "color",
2046
2046
  "fontFamily",
2047
2047
  "fontSize",
@@ -2054,14 +2054,14 @@ var Zo = ot`[hidden] {
2054
2054
  "textDecoration",
2055
2055
  "textShadow",
2056
2056
  "textTransform"
2057
- ], es = [
2057
+ ], Qo = [
2058
2058
  ":hover",
2059
2059
  ":focus",
2060
2060
  "::placeholder",
2061
2061
  "::selection",
2062
2062
  ":-webkit-autofill",
2063
2063
  ":disabled"
2064
- ], C = class extends p {
2064
+ ], P = class extends p {
2065
2065
  constructor() {
2066
2066
  super(...arguments), this.hideIcon = !1, this.hidePostalCode = !1, this.iconStyle = "default", this.value = {}, this.brand = null, this.complete = !1, this.empty = !0, this.invalid = !1;
2067
2067
  }
@@ -2113,25 +2113,25 @@ var Zo = ot`[hidden] {
2113
2113
  };
2114
2114
  }
2115
2115
  getStripeElementsStyles() {
2116
- const n = (s) => this.getCSSCustomPropertyValue(s) || void 0, e = ["base", "complete", "empty", "invalid"], t = (s) => (i, r) => {
2116
+ const n = (s) => this.getCSSCustomPropertyValue(s) || void 0, e = ["base", "complete", "empty", "invalid"], t = (s) => (r, i) => {
2117
2117
  if (s.includes("-"))
2118
- return i;
2119
- const c = r.split(":").pop();
2118
+ return r;
2119
+ const c = i.split(":").pop();
2120
2120
  return {
2121
- ...i,
2122
- [r]: Ot.reduce(o(`${s}-${c}`), {})
2121
+ ...r,
2122
+ [i]: Ot.reduce(o(`${s}-${c}`), {})
2123
2123
  };
2124
- }, o = (s) => (i, r) => {
2125
- const c = `--stripe-elements-${s}-${Jt(r)}`;
2124
+ }, o = (s) => (r, i) => {
2125
+ const c = `--stripe-elements-${s}-${Jt(i)}`;
2126
2126
  return {
2127
- ...i,
2128
- [r]: n(c),
2129
- ...es.reduce(t(s), {})
2127
+ ...r,
2128
+ [i]: n(c),
2129
+ ...Qo.reduce(t(s), {})
2130
2130
  };
2131
2131
  };
2132
- return e.reduce((s, i) => ({
2132
+ return e.reduce((s, r) => ({
2133
2133
  ...s,
2134
- [i]: Ot.reduce(o(i), {})
2134
+ [r]: Ot.reduce(o(r), {})
2135
2135
  }), {});
2136
2136
  }
2137
2137
  async initElement() {
@@ -2139,94 +2139,94 @@ var Zo = ot`[hidden] {
2139
2139
  return;
2140
2140
  const { hidePostalCode: n, hideIcon: e, iconStyle: t, value: o } = this, s = this.getStripeElementsStyles();
2141
2141
  await this.updateComplete;
2142
- const i = this.createElement({
2142
+ const r = this.createElement({
2143
2143
  hideIcon: e,
2144
2144
  hidePostalCode: n,
2145
2145
  iconStyle: t,
2146
2146
  style: s,
2147
2147
  value: o
2148
2148
  });
2149
- i.on("change", this.onChange), m.set(this, { element: i }), await this.updateComplete;
2149
+ r.on("change", this.onChange), m.set(this, { element: r }), await this.updateComplete;
2150
2150
  }
2151
2151
  createElement(n) {
2152
2152
  return this.elements.create("card", n);
2153
2153
  }
2154
2154
  async onChange(n) {
2155
- const { brand: e, complete: t, empty: o, error: s = null } = n, i = !(s || !o && !t);
2156
- m.set(this, { brand: e, complete: t, empty: o, error: s, invalid: i }), await this.updateComplete, this.fire("change", n);
2155
+ const { brand: e, complete: t, empty: o, error: s = null } = n, r = !(s || !o && !t);
2156
+ m.set(this, { brand: e, complete: t, empty: o, error: s, invalid: r }), await this.updateComplete, this.fire("change", n);
2157
2157
  }
2158
2158
  };
2159
- C.is = "stripe-elements";
2160
- C.elementType = "card";
2161
- C.styles = [
2159
+ P.is = "stripe-elements";
2160
+ P.elementType = "card";
2161
+ P.styles = [
2162
2162
  sn,
2163
- Qo
2163
+ Xo
2164
2164
  ];
2165
- l([
2165
+ a([
2166
2166
  u({ type: Boolean, attribute: "hide-icon" })
2167
- ], C.prototype, "hideIcon", 2);
2168
- l([
2167
+ ], P.prototype, "hideIcon", 2);
2168
+ a([
2169
2169
  u({ type: Boolean, attribute: "hide-postal-code" })
2170
- ], C.prototype, "hidePostalCode", 2);
2171
- l([
2170
+ ], P.prototype, "hidePostalCode", 2);
2171
+ a([
2172
2172
  u({ type: String, attribute: "icon-style" })
2173
- ], C.prototype, "iconStyle", 2);
2174
- l([
2173
+ ], P.prototype, "iconStyle", 2);
2174
+ a([
2175
2175
  u({ type: Object })
2176
- ], C.prototype, "value", 2);
2177
- l([
2176
+ ], P.prototype, "value", 2);
2177
+ a([
2178
2178
  x,
2179
2179
  m,
2180
2180
  u({ type: String })
2181
- ], C.prototype, "brand", 2);
2182
- l([
2181
+ ], P.prototype, "brand", 2);
2182
+ a([
2183
2183
  x,
2184
2184
  m,
2185
2185
  u({ type: Boolean, reflect: !0 })
2186
- ], C.prototype, "complete", 2);
2187
- l([
2186
+ ], P.prototype, "complete", 2);
2187
+ a([
2188
2188
  x,
2189
2189
  m,
2190
2190
  u({ type: Boolean, reflect: !0 })
2191
- ], C.prototype, "empty", 2);
2192
- l([
2191
+ ], P.prototype, "empty", 2);
2192
+ a([
2193
2193
  x,
2194
2194
  m,
2195
2195
  u({ type: Boolean, reflect: !0 })
2196
- ], C.prototype, "invalid", 2);
2197
- l([
2198
- at
2199
- ], C.prototype, "createPaymentMethod", 1);
2200
- l([
2201
- at
2202
- ], C.prototype, "createSource", 1);
2203
- l([
2204
- at
2205
- ], C.prototype, "createToken", 1);
2206
- l([
2207
- R
2208
- ], C.prototype, "onChange", 1);
2209
- C = l([
2196
+ ], P.prototype, "invalid", 2);
2197
+ a([
2198
+ lt
2199
+ ], P.prototype, "createPaymentMethod", 1);
2200
+ a([
2201
+ lt
2202
+ ], P.prototype, "createSource", 1);
2203
+ a([
2204
+ lt
2205
+ ], P.prototype, "createToken", 1);
2206
+ a([
2207
+ k
2208
+ ], P.prototype, "onChange", 1);
2209
+ P = a([
2210
2210
  qt("stripe-elements")
2211
- ], C);
2212
- var ts = ot`#stripe {
2211
+ ], P);
2212
+ var es = ot`#stripe {
2213
2213
  box-sizing: border-box;
2214
2214
  min-width: var(--stripe-payment-request-element-min-width, 300px);
2215
2215
  padding: var(--stripe-payment-request-element-padding, 8px 12px);
2216
2216
  background: var(--stripe-payment-request-element-background, white);
2217
2217
  }
2218
- `, ns = ts;
2219
- function os(n) {
2218
+ `, ts = es;
2219
+ function ns(n) {
2220
2220
  return n.tagName.toLowerCase() === "stripe-display-item";
2221
2221
  }
2222
- function ss({ dataset: { amount: n, label: e, pending: t } }) {
2222
+ function os({ dataset: { amount: n, label: e, pending: t } }) {
2223
2223
  return {
2224
2224
  label: e,
2225
2225
  amount: parseInt(n),
2226
2226
  ...t !== void 0 && { pending: t === "true" }
2227
2227
  };
2228
2228
  }
2229
- function is({ dataset: { amount: n, detail: e, ...t } }) {
2229
+ function ss({ dataset: { amount: n, detail: e, ...t } }) {
2230
2230
  return {
2231
2231
  amount: parseInt(n),
2232
2232
  detail: e,
@@ -2234,11 +2234,11 @@ function is({ dataset: { amount: n, detail: e, ...t } }) {
2234
2234
  };
2235
2235
  }
2236
2236
  function rs(n) {
2237
- return os(n) ? ss(n) : is(n);
2237
+ return ns(n) ? os(n) : ss(n);
2238
2238
  }
2239
2239
  var be, _e, g = class extends p {
2240
2240
  constructor() {
2241
- super(...arguments), this.canMakePayment = null, At(this, be, void 0), this.paymentIntent = null, this.paymentRequest = null, this.pending = !1, At(this, _e, void 0), this.buttonType = "default", this.buttonTheme = "dark", this.complete = async (n, e) => {
2241
+ super(...arguments), this.canMakePayment = null, Mt(this, be, void 0), this.paymentIntent = null, this.paymentRequest = null, this.pending = !1, Mt(this, _e, void 0), this.buttonType = "default", this.buttonTheme = "dark", this.complete = async (n, e) => {
2242
2242
  const { error: t = null } = { ...n }, o = t || e ? "fail" : "success";
2243
2243
  return n.complete(o), this.fire(o, n), e ? { error: e } : n;
2244
2244
  };
@@ -2249,7 +2249,7 @@ var be, _e, g = class extends p {
2249
2249
  }
2250
2250
  set displayItems(n) {
2251
2251
  const e = this.displayItems;
2252
- Mt(this, be, n), this.requestUpdate("displayItems", e);
2252
+ At(this, be, n), this.requestUpdate("displayItems", e);
2253
2253
  }
2254
2254
  get shippingOptions() {
2255
2255
  const n = Nt(this, _e);
@@ -2257,7 +2257,7 @@ var be, _e, g = class extends p {
2257
2257
  }
2258
2258
  set shippingOptions(n) {
2259
2259
  const e = this.shippingOptions;
2260
- Mt(this, _e, n), this.requestUpdate("shippingOptions", e);
2260
+ At(this, _e, n), this.requestUpdate("shippingOptions", e);
2261
2261
  }
2262
2262
  reset() {
2263
2263
  super.reset(), m.set(this, { paymentIntent: null });
@@ -2272,22 +2272,22 @@ var be, _e, g = class extends p {
2272
2272
  displayItems: t,
2273
2273
  shippingOptions: o,
2274
2274
  requestShipping: s,
2275
- requestPayerEmail: i,
2276
- requestPayerName: r,
2275
+ requestPayerEmail: r,
2276
+ requestPayerName: i,
2277
2277
  requestPayerPhone: c,
2278
- label: a = "",
2278
+ label: l = "",
2279
2279
  amount: f = 0
2280
2280
  } = this;
2281
2281
  return {
2282
2282
  country: n,
2283
2283
  currency: e,
2284
2284
  displayItems: t,
2285
- requestPayerEmail: i,
2286
- requestPayerName: r,
2285
+ requestPayerEmail: r,
2286
+ requestPayerName: i,
2287
2287
  requestPayerPhone: c,
2288
2288
  requestShipping: s,
2289
2289
  shippingOptions: o,
2290
- total: { label: a, amount: f }
2290
+ total: { label: l, amount: f }
2291
2291
  };
2292
2292
  }
2293
2293
  async initElement() {
@@ -2303,11 +2303,11 @@ var be, _e, g = class extends p {
2303
2303
  const { buttonTheme: n, buttonType: e, canMakePayment: t } = this;
2304
2304
  if (!t || !this.elements)
2305
2305
  return;
2306
- const i = { paymentRequestButton: { height: this.getCSSCustomPropertyValue("--stripe-payment-request-button-height") || "40px", theme: n, type: e } }, r = this.elements.create("paymentRequestButton", {
2306
+ const r = { paymentRequestButton: { height: this.getCSSCustomPropertyValue("--stripe-payment-request-button-height") || "40px", theme: n, type: e } }, i = this.elements.create("paymentRequestButton", {
2307
2307
  paymentRequest: this.paymentRequest,
2308
- style: i
2308
+ style: r
2309
2309
  });
2310
- m.set(this, { element: r }), await this.updateComplete;
2310
+ m.set(this, { element: i }), await this.updateComplete;
2311
2311
  }
2312
2312
  async initPaymentRequestListeners() {
2313
2313
  if (this.canMakePayment)
@@ -2345,7 +2345,7 @@ var be, _e, g = class extends p {
2345
2345
  m.set(this, { error: e, paymentMethod: t, source: o, token: s }), this.clientSecret && !e ? this.confirmPaymentIntent(n) : this.complete(n);
2346
2346
  }
2347
2347
  async confirmPaymentIntent(n) {
2348
- const e = { payment_method: this.paymentMethod.id }, t = await this.confirmCardPayment(e, { handleActions: !1 }).then(({ error: i }) => this.complete(n, i)).then(Rt).then(() => this.confirmCardPayment()).then(Rt).catch((i) => ({ error: i })), { error: o = null } = t, s = t.paymentIntent ?? null;
2348
+ const e = { payment_method: this.paymentMethod.id }, t = await this.confirmCardPayment(e, { handleActions: !1 }).then(({ error: r }) => this.complete(n, r)).then(Rt).then(() => this.confirmCardPayment()).then(Rt).catch((r) => ({ error: r })), { error: o = null } = t, s = t.paymentIntent ?? null;
2349
2349
  m.set(this, { error: o, paymentIntent: s }), await this.updateComplete;
2350
2350
  }
2351
2351
  async confirmCardPayment(n, e) {
@@ -2367,91 +2367,91 @@ _e = /* @__PURE__ */ new WeakMap();
2367
2367
  g.is = "stripe-payment-request";
2368
2368
  g.styles = [
2369
2369
  sn,
2370
- ns
2370
+ ts
2371
2371
  ];
2372
- l([
2372
+ a([
2373
2373
  u({ type: Number, reflect: !0 })
2374
2374
  ], g.prototype, "amount", 2);
2375
- l([
2375
+ a([
2376
2376
  x,
2377
2377
  m,
2378
2378
  u({ type: Boolean, attribute: "can-make-payment", reflect: !0 })
2379
2379
  ], g.prototype, "canMakePayment", 2);
2380
- l([
2380
+ a([
2381
2381
  u({ type: String })
2382
2382
  ], g.prototype, "country", 2);
2383
- l([
2383
+ a([
2384
2384
  u({ type: String })
2385
2385
  ], g.prototype, "currency", 2);
2386
- l([
2386
+ a([
2387
2387
  u({ type: Array })
2388
2388
  ], g.prototype, "displayItems", 1);
2389
- l([
2389
+ a([
2390
2390
  u({ type: String, reflect: !0 })
2391
2391
  ], g.prototype, "label", 2);
2392
- l([
2392
+ a([
2393
2393
  x,
2394
2394
  m,
2395
2395
  u({ type: Object, attribute: "payment-intent" })
2396
2396
  ], g.prototype, "paymentIntent", 2);
2397
- l([
2397
+ a([
2398
2398
  m,
2399
2399
  u({ type: Object, attribute: "payment-request" })
2400
2400
  ], g.prototype, "paymentRequest", 2);
2401
- l([
2401
+ a([
2402
2402
  u({ type: Boolean, reflect: !0 })
2403
2403
  ], g.prototype, "pending", 2);
2404
- l([
2404
+ a([
2405
2405
  u({ type: Boolean, attribute: "request-payer-email" })
2406
2406
  ], g.prototype, "requestPayerEmail", 2);
2407
- l([
2407
+ a([
2408
2408
  u({ type: Boolean, attribute: "request-payer-name" })
2409
2409
  ], g.prototype, "requestPayerName", 2);
2410
- l([
2410
+ a([
2411
2411
  u({ type: Boolean, attribute: "request-payer-phone" })
2412
2412
  ], g.prototype, "requestPayerPhone", 2);
2413
- l([
2413
+ a([
2414
2414
  u({ type: Boolean, attribute: "request-shipping" })
2415
2415
  ], g.prototype, "requestShipping", 2);
2416
- l([
2416
+ a([
2417
2417
  u({ type: Array })
2418
2418
  ], g.prototype, "shippingOptions", 1);
2419
- l([
2419
+ a([
2420
2420
  u({ type: String, attribute: "button-type" })
2421
2421
  ], g.prototype, "buttonType", 2);
2422
- l([
2422
+ a([
2423
2423
  u({ type: String, attribute: "button-theme" })
2424
2424
  ], g.prototype, "buttonTheme", 2);
2425
- l([
2426
- R
2425
+ a([
2426
+ k
2427
2427
  ], g.prototype, "onCancel", 1);
2428
- l([
2429
- R
2428
+ a([
2429
+ k
2430
2430
  ], g.prototype, "onPaymentResponse", 1);
2431
- l([
2432
- R
2431
+ a([
2432
+ k
2433
2433
  ], g.prototype, "confirmPaymentIntent", 1);
2434
- l([
2435
- R
2434
+ a([
2435
+ k
2436
2436
  ], g.prototype, "confirmCardPayment", 1);
2437
- l([
2438
- R
2437
+ a([
2438
+ k
2439
2439
  ], g.prototype, "onShippingaddresschange", 1);
2440
- l([
2441
- R
2440
+ a([
2441
+ k
2442
2442
  ], g.prototype, "onShippingoptionchange", 1);
2443
- g = l([
2443
+ g = a([
2444
2444
  qt("stripe-payment-request")
2445
2445
  ], g);
2446
- var rn = "clover", ls = function(e) {
2446
+ var rn = "clover", is = function(e) {
2447
2447
  return e === 3 ? "v3" : e;
2448
- }, ln = "https://js.stripe.com", as = "".concat(ln, "/").concat(rn, "/stripe.js"), cs = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, ds = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
2449
- var us = function(e) {
2450
- return cs.test(e) || ds.test(e);
2451
- }, fs = function() {
2452
- for (var e = document.querySelectorAll('script[src^="'.concat(ln, '"]')), t = 0; t < e.length; t++) {
2448
+ }, an = "https://js.stripe.com", as = "".concat(an, "/").concat(rn, "/stripe.js"), ls = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, cs = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
2449
+ var ds = function(e) {
2450
+ return ls.test(e) || cs.test(e);
2451
+ }, us = function() {
2452
+ for (var e = document.querySelectorAll('script[src^="'.concat(an, '"]')), t = 0; t < e.length; t++) {
2453
2453
  var o = e[t];
2454
- if (us(o.src))
2454
+ if (ds(o.src))
2455
2455
  return o;
2456
2456
  }
2457
2457
  return null;
@@ -2462,23 +2462,23 @@ var us = function(e) {
2462
2462
  if (!s)
2463
2463
  throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");
2464
2464
  return s.appendChild(o), o;
2465
- }, ms = function(e, t) {
2465
+ }, fs = function(e, t) {
2466
2466
  !e || !e._registerWrapper || e._registerWrapper({
2467
2467
  name: "stripe-js",
2468
- version: "8.6.0",
2468
+ version: "8.5.3",
2469
2469
  startTime: t
2470
2470
  });
2471
- }, ne = null, ue = null, fe = null, ps = function(e) {
2471
+ }, ne = null, ue = null, fe = null, ms = function(e) {
2472
2472
  return function(t) {
2473
2473
  e(new Error("Failed to load Stripe.js", {
2474
2474
  cause: t
2475
2475
  }));
2476
2476
  };
2477
- }, hs = function(e, t) {
2477
+ }, ps = function(e, t) {
2478
2478
  return function() {
2479
2479
  window.Stripe ? e(window.Stripe) : t(new Error("Stripe.js not available"));
2480
2480
  };
2481
- }, ys = function(e) {
2481
+ }, hs = function(e) {
2482
2482
  return ne !== null ? ne : (ne = new Promise(function(t, o) {
2483
2483
  if (typeof window > "u" || typeof document > "u") {
2484
2484
  t(null);
@@ -2489,47 +2489,47 @@ var us = function(e) {
2489
2489
  return;
2490
2490
  }
2491
2491
  try {
2492
- var s = fs();
2492
+ var s = us();
2493
2493
  if (!(s && e)) {
2494
2494
  if (!s)
2495
2495
  s = It(e);
2496
2496
  else if (s && fe !== null && ue !== null) {
2497
- var i;
2498
- s.removeEventListener("load", fe), s.removeEventListener("error", ue), (i = s.parentNode) === null || i === void 0 || i.removeChild(s), s = It(e);
2497
+ var r;
2498
+ s.removeEventListener("load", fe), s.removeEventListener("error", ue), (r = s.parentNode) === null || r === void 0 || r.removeChild(s), s = It(e);
2499
2499
  }
2500
2500
  }
2501
- fe = hs(t, o), ue = ps(o), s.addEventListener("load", fe), s.addEventListener("error", ue);
2502
- } catch (r) {
2503
- o(r);
2501
+ fe = ps(t, o), ue = ms(o), s.addEventListener("load", fe), s.addEventListener("error", ue);
2502
+ } catch (i) {
2503
+ o(i);
2504
2504
  return;
2505
2505
  }
2506
2506
  }), ne.catch(function(t) {
2507
2507
  return ne = null, Promise.reject(t);
2508
2508
  }));
2509
- }, gs = function(e, t, o) {
2509
+ }, ys = function(e, t, o) {
2510
2510
  if (e === null)
2511
2511
  return null;
2512
- var s = t[0], i = s.match(/^pk_test/), r = ls(e.version), c = rn;
2513
- i && r !== c && console.warn("Stripe.js@".concat(r, " was loaded on the page, but @stripe/stripe-js@").concat("8.6.0", " expected Stripe.js@").concat(c, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
2514
- var a = e.apply(void 0, t);
2515
- return ms(a, o), a;
2516
- }, oe, an = !1, cn = function() {
2517
- return oe || (oe = ys(null).catch(function(e) {
2512
+ var s = t[0], r = s.match(/^pk_test/), i = is(e.version), c = rn;
2513
+ r && i !== c && console.warn("Stripe.js@".concat(i, " was loaded on the page, but @stripe/stripe-js@").concat("8.5.3", " expected Stripe.js@").concat(c, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
2514
+ var l = e.apply(void 0, t);
2515
+ return fs(l, o), l;
2516
+ }, oe, ln = !1, cn = function() {
2517
+ return oe || (oe = hs(null).catch(function(e) {
2518
2518
  return oe = null, Promise.reject(e);
2519
2519
  }), oe);
2520
2520
  };
2521
2521
  Promise.resolve().then(function() {
2522
2522
  return cn();
2523
2523
  }).catch(function(n) {
2524
- an || console.warn(n);
2524
+ ln || console.warn(n);
2525
2525
  });
2526
- var vs = function() {
2526
+ var gs = function() {
2527
2527
  for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
2528
2528
  t[o] = arguments[o];
2529
- an = !0;
2529
+ ln = !0;
2530
2530
  var s = Date.now();
2531
- return cn().then(function(i) {
2532
- return gs(i, t, s);
2531
+ return cn().then(function(r) {
2532
+ return ys(r, t, s);
2533
2533
  });
2534
2534
  };
2535
2535
  const dn = /* @__PURE__ */ bn({
@@ -2547,11 +2547,11 @@ const dn = /* @__PURE__ */ bn({
2547
2547
  setup(n, { expose: e, emit: t }) {
2548
2548
  const o = n, s = vt({
2549
2549
  prop: me(() => o.loading)
2550
- }), i = vt({
2550
+ }), r = vt({
2551
2551
  prop: me(() => o.disabled)
2552
- }), { locale: r, t: c } = _n(), a = H(null), f = H(!1), S = H(!1), v = H(null), h = H(null), y = t, { config: N } = Sn(), { eventBus: j } = wn();
2553
- function z(A) {
2554
- switch (A) {
2552
+ }), { locale: i, t: c } = _n(), l = H(null), f = H(!1), S = H(!1), v = H(null), h = H(null), y = t, { config: R } = Sn(), { eventBus: j } = wn();
2553
+ function V(N) {
2554
+ switch (N) {
2555
2555
  case X.Production:
2556
2556
  return "pk_live_x99EPirYIsCyUsRvPAfyhnRp";
2557
2557
  case X.Sandbox:
@@ -2563,25 +2563,25 @@ const dn = /* @__PURE__ */ bn({
2563
2563
  }
2564
2564
  }
2565
2565
  const Z = me(
2566
- () => z(N.value.apiEnvironment)
2566
+ () => V(R.value.apiEnvironment)
2567
2567
  );
2568
- function Ee(A) {
2569
- a.value = "", y("change", !!A.detail.complete);
2568
+ function Ee(N) {
2569
+ l.value = "", y("change", !!N.detail.complete);
2570
2570
  }
2571
- function W(A) {
2572
- a.value = `${A?.error?.message} - ${c("CreditCardStripeForm.error")}`, y("error", a.value);
2571
+ function W(N) {
2572
+ l.value = `${N?.error?.message} - ${c("CreditCardStripeForm.error")}`, y("error", l.value);
2573
2573
  }
2574
- async function xe(A) {
2574
+ async function xe(N) {
2575
2575
  try {
2576
- if (!window.Stripe || i.value)
2576
+ if (!window.Stripe || r.value)
2577
2577
  return;
2578
2578
  const Te = window.Stripe(Z.value, {
2579
- locale: Pn(r.value)
2579
+ locale: Cn(i.value)
2580
2580
  });
2581
2581
  f.value = !0;
2582
2582
  const ut = await Te.confirmCardPayment(o.stripeToken, {
2583
2583
  // eslint-disable-next-line camelcase
2584
- payment_method: A.detail.id
2584
+ payment_method: N.detail.id
2585
2585
  });
2586
2586
  ut.error ? W(ut.error) : o.withAction ? j.$emit(mt.PaymentSuccess) : y(mt.PaymentSuccess);
2587
2587
  } catch (Te) {
@@ -2591,16 +2591,16 @@ const dn = /* @__PURE__ */ bn({
2591
2591
  function ct() {
2592
2592
  try {
2593
2593
  return !h.value || o.withTerms && !S.value ? null : h.value.submit();
2594
- } catch (A) {
2595
- return W(A), null;
2594
+ } catch (N) {
2595
+ return W(N), null;
2596
2596
  }
2597
2597
  }
2598
- Cn(async () => {
2599
- v.value = await vs(Z.value);
2598
+ Pn(async () => {
2599
+ v.value = await gs(Z.value);
2600
2600
  }), e({
2601
2601
  pay: ct
2602
2602
  });
2603
- const dt = { props: o, loading: s, disabled: i, locale: r, t: c, error: a, isPaying: f, isTermsAccepted: S, stripe: v, payment: h, emit: y, config: N, eventBus: j, getStripePublishableKey: z, stripePublishableKey: Z, onCreditCardFormChange: Ee, onPaymentError: W, onStripePaymentMethodCreated: xe, pay: ct, BFormattedAmount: Vn };
2603
+ const dt = { props: o, loading: s, disabled: r, locale: i, t: c, error: l, isPaying: f, isTermsAccepted: S, stripe: v, payment: h, emit: y, config: R, eventBus: j, getStripePublishableKey: V, stripePublishableKey: Z, onCreditCardFormChange: Ee, onPaymentError: W, onStripePaymentMethodCreated: xe, pay: ct, BFormattedAmount: An };
2604
2604
  return Object.defineProperty(dt, "__isScriptSetup", { enumerable: !1, value: !0 }), dt;
2605
2605
  }
2606
2606
  });
@@ -2623,8 +2623,7 @@ function Lt(n) {
2623
2623
  title: { type: 0, start: 0, end: 34, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 35, offset: 34 }, source: "Total to pay with your credit card" }, body: { type: 2, start: 0, end: 34, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 35, offset: 34 } }, items: [{ type: 3, start: 0, end: 34, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 35, offset: 34 } } }], static: "Total to pay with your credit card" } },
2624
2624
  payNow: { type: 0, start: 0, end: 7, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 8, offset: 7 }, source: "Pay now" }, body: { type: 2, start: 0, end: 7, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 8, offset: 7 } }, items: [{ type: 3, start: 0, end: 7, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 8, offset: 7 } } }], static: "Pay now" } },
2625
2625
  termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
2626
- termsAndConditions: { type: 0, start: 0, end: 85, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 86, offset: 85 }, source: "By continuing with your reservation you agree to the terms and conditions: {linkText}" }, body: { type: 2, start: 0, end: 85, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 86, offset: 85 } }, items: [{ type: 3, start: 0, end: 75, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 76, offset: 75 } }, value: "By continuing with your reservation you agree to the terms and conditions: " }, { type: 4, start: 75, end: 85, loc: { start: { line: 1, column: 76, offset: 75 }, end: { line: 1, column: 86, offset: 85 } }, key: "linkText" }] } },
2627
- termsAndConditionsLinkText: { type: 0, start: 0, end: 21, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 22, offset: 21 }, source: "Click here to read it" }, body: { type: 2, start: 0, end: 21, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 22, offset: 21 } }, items: [{ type: 3, start: 0, end: 21, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 22, offset: 21 } } }], static: "Click here to read it" } }
2626
+ termsAndConditions: { type: 0, start: 0, end: 139, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 140, offset: 139 }, source: 'By continuing with your reservation you agree to the terms and conditions: <b><a href="{url}" target="_blank">Click here to read it</a></b>' }, body: { type: 2, start: 0, end: 139, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 140, offset: 139 } }, items: [{ type: 3, start: 0, end: 87, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 88, offset: 87 } }, value: 'By continuing with your reservation you agree to the terms and conditions: <b><a href="' }, { type: 4, start: 87, end: 92, loc: { start: { line: 1, column: 88, offset: 87 }, end: { line: 1, column: 93, offset: 92 } }, key: "url" }, { type: 3, start: 92, end: 139, loc: { start: { line: 1, column: 93, offset: 92 }, end: { line: 1, column: 140, offset: 139 } }, value: '" target="_blank">Click here to read it</a></b>' }] } }
2628
2627
  }
2629
2628
  },
2630
2629
  "fr-FR": {
@@ -2641,8 +2640,7 @@ function Lt(n) {
2641
2640
  title: { type: 0, start: 0, end: 40, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 41, offset: 40 }, source: "Montant total à payer par carte bancaire" }, body: { type: 2, start: 0, end: 40, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 41, offset: 40 } }, items: [{ type: 3, start: 0, end: 40, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 41, offset: 40 } } }], static: "Montant total à payer par carte bancaire" } },
2642
2641
  payNow: { type: 0, start: 0, end: 16, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 17, offset: 16 }, source: "Payer maintenant" }, body: { type: 2, start: 0, end: 16, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 17, offset: 16 } }, items: [{ type: 3, start: 0, end: 16, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 17, offset: 16 } } }], static: "Payer maintenant" } },
2643
2642
  termsURL: { type: 0, start: 0, end: 59, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 60, offset: 59 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo_fr.pdf" }, body: { type: 2, start: 0, end: 59, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 60, offset: 59 } }, items: [{ type: 3, start: 0, end: 59, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 60, offset: 59 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo_fr.pdf" } },
2644
- termsAndConditions: { type: 0, start: 0, end: 84, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 85, offset: 84 }, source: "En poursuivant votre réservation, vous acceptez les conditions générales: {linkText}" }, body: { type: 2, start: 0, end: 84, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 85, offset: 84 } }, items: [{ type: 3, start: 0, end: 74, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 75, offset: 74 } }, value: "En poursuivant votre réservation, vous acceptez les conditions générales: " }, { type: 4, start: 74, end: 84, loc: { start: { line: 1, column: 75, offset: 74 }, end: { line: 1, column: 85, offset: 84 } }, key: "linkText" }] } },
2645
- termsAndConditionsLinkText: { type: 0, start: 0, end: 30, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 31, offset: 30 }, source: "Cliquez ici pour les consulter" }, body: { type: 2, start: 0, end: 30, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 31, offset: 30 } }, items: [{ type: 3, start: 0, end: 30, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 31, offset: 30 } } }], static: "Cliquez ici pour les consulter" } }
2643
+ termsAndConditions: { type: 0, start: 0, end: 147, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 148, offset: 147 }, source: 'En poursuivant votre réservation, vous acceptez les conditions générales: <b><a href="{url}" target="_blank">Cliquez ici pour les consulter</a></b>' }, body: { type: 2, start: 0, end: 147, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 148, offset: 147 } }, items: [{ type: 3, start: 0, end: 86, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 87, offset: 86 } }, value: 'En poursuivant votre réservation, vous acceptez les conditions générales: <b><a href="' }, { type: 4, start: 86, end: 91, loc: { start: { line: 1, column: 87, offset: 86 }, end: { line: 1, column: 92, offset: 91 } }, key: "url" }, { type: 3, start: 91, end: 147, loc: { start: { line: 1, column: 92, offset: 91 }, end: { line: 1, column: 148, offset: 147 } }, value: '" target="_blank">Cliquez ici pour les consulter</a></b>' }] } }
2646
2644
  }
2647
2645
  },
2648
2646
  "de-DE": {
@@ -2659,8 +2657,7 @@ function Lt(n) {
2659
2657
  title: { type: 0, start: 0, end: 46, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 47, offset: 46 }, source: "Gesamtbetrag zur Zahlung mit Ihrer Kreditkarte" }, body: { type: 2, start: 0, end: 46, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 47, offset: 46 } }, items: [{ type: 3, start: 0, end: 46, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 47, offset: 46 } } }], static: "Gesamtbetrag zur Zahlung mit Ihrer Kreditkarte" } },
2660
2658
  payNow: { type: 0, start: 0, end: 14, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 15, offset: 14 }, source: "Jetzt bezahlen" }, body: { type: 2, start: 0, end: 14, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 15, offset: 14 } }, items: [{ type: 3, start: 0, end: 14, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 15, offset: 14 } } }], static: "Jetzt bezahlen" } },
2661
2659
  termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
2662
- termsAndConditions: { type: 0, start: 0, end: 108, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 109, offset: 108 }, source: "Indem Sie mit Ihrer Reservierung fortfahren, stimmen Sie den Allgemeinen Geschäftsbedingungen zu: {linkText}" }, body: { type: 2, start: 0, end: 108, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 109, offset: 108 } }, items: [{ type: 3, start: 0, end: 98, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 99, offset: 98 } }, value: "Indem Sie mit Ihrer Reservierung fortfahren, stimmen Sie den Allgemeinen Geschäftsbedingungen zu: " }, { type: 4, start: 98, end: 108, loc: { start: { line: 1, column: 99, offset: 98 }, end: { line: 1, column: 109, offset: 108 } }, key: "linkText" }] } },
2663
- termsAndConditionsLinkText: { type: 0, start: 0, end: 33, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 34, offset: 33 }, source: "Klicken Sie hier, um sie zu lesen" }, body: { type: 2, start: 0, end: 33, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 34, offset: 33 } }, items: [{ type: 3, start: 0, end: 33, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 34, offset: 33 } } }], static: "Klicken Sie hier, um sie zu lesen" } }
2660
+ termsAndConditions: { type: 0, start: 0, end: 174, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 175, offset: 174 }, source: 'Indem Sie mit Ihrer Reservierung fortfahren, stimmen Sie den Allgemeinen Geschäftsbedingungen zu: <b><a href="{url}" target="_blank">Klicken Sie hier, um sie zu lesen</a></b>' }, body: { type: 2, start: 0, end: 174, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 175, offset: 174 } }, items: [{ type: 3, start: 0, end: 110, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 111, offset: 110 } }, value: 'Indem Sie mit Ihrer Reservierung fortfahren, stimmen Sie den Allgemeinen Geschäftsbedingungen zu: <b><a href="' }, { type: 4, start: 110, end: 115, loc: { start: { line: 1, column: 111, offset: 110 }, end: { line: 1, column: 116, offset: 115 } }, key: "url" }, { type: 3, start: 115, end: 174, loc: { start: { line: 1, column: 116, offset: 115 }, end: { line: 1, column: 175, offset: 174 } }, value: '" target="_blank">Klicken Sie hier, um sie zu lesen</a></b>' }] } }
2664
2661
  }
2665
2662
  },
2666
2663
  "es-ES": {
@@ -2677,8 +2674,7 @@ function Lt(n) {
2677
2674
  title: { type: 0, start: 0, end: 39, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 40, offset: 39 }, source: "Total a pagar con su tarjeta de crédito" }, body: { type: 2, start: 0, end: 39, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 40, offset: 39 } }, items: [{ type: 3, start: 0, end: 39, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 40, offset: 39 } } }], static: "Total a pagar con su tarjeta de crédito" } },
2678
2675
  payNow: { type: 0, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 }, source: "Pagar ahora" }, body: { type: 2, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } }, items: [{ type: 3, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } } }], static: "Pagar ahora" } },
2679
2676
  termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
2680
- termsAndConditions: { type: 0, start: 0, end: 74, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 75, offset: 74 }, source: "Al continuar con su reserva, acepta los términos y condiciones: {linkText}" }, body: { type: 2, start: 0, end: 74, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 75, offset: 74 } }, items: [{ type: 3, start: 0, end: 64, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 65, offset: 64 } }, value: "Al continuar con su reserva, acepta los términos y condiciones: " }, { type: 4, start: 64, end: 74, loc: { start: { line: 1, column: 65, offset: 64 }, end: { line: 1, column: 75, offset: 74 } }, key: "linkText" }] } },
2681
- termsAndConditionsLinkText: { type: 0, start: 0, end: 27, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 28, offset: 27 }, source: "Haga clic aquí para leerlos" }, body: { type: 2, start: 0, end: 27, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 28, offset: 27 } }, items: [{ type: 3, start: 0, end: 27, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 28, offset: 27 } } }], static: "Haga clic aquí para leerlos" } }
2677
+ termsAndConditions: { type: 0, start: 0, end: 134, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 135, offset: 134 }, source: 'Al continuar con su reserva, acepta los términos y condiciones: <b><a href="{url}" target="_blank">Haga clic aquí para leerlos</a></b>' }, body: { type: 2, start: 0, end: 134, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 135, offset: 134 } }, items: [{ type: 3, start: 0, end: 76, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 77, offset: 76 } }, value: 'Al continuar con su reserva, acepta los términos y condiciones: <b><a href="' }, { type: 4, start: 76, end: 81, loc: { start: { line: 1, column: 77, offset: 76 }, end: { line: 1, column: 82, offset: 81 } }, key: "url" }, { type: 3, start: 81, end: 134, loc: { start: { line: 1, column: 82, offset: 81 }, end: { line: 1, column: 135, offset: 134 } }, value: '" target="_blank">Haga clic aquí para leerlos</a></b>' }] } }
2682
2678
  }
2683
2679
  },
2684
2680
  "it-IT": {
@@ -2695,8 +2691,7 @@ function Lt(n) {
2695
2691
  title: { type: 0, start: 0, end: 44, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 45, offset: 44 }, source: "Totale da pagare con la tua carta di credito" }, body: { type: 2, start: 0, end: 44, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 45, offset: 44 } }, items: [{ type: 3, start: 0, end: 44, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 45, offset: 44 } } }], static: "Totale da pagare con la tua carta di credito" } },
2696
2692
  payNow: { type: 0, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 }, source: "Paga adesso" }, body: { type: 2, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } }, items: [{ type: 3, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } } }], static: "Paga adesso" } },
2697
2693
  termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
2698
- termsAndConditions: { type: 0, start: 0, end: 78, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 79, offset: 78 }, source: "Continuando con la prenotazione, accetti i termini e le condizioni: {linkText}" }, body: { type: 2, start: 0, end: 78, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 79, offset: 78 } }, items: [{ type: 3, start: 0, end: 68, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 69, offset: 68 } }, value: "Continuando con la prenotazione, accetti i termini e le condizioni: " }, { type: 4, start: 68, end: 78, loc: { start: { line: 1, column: 69, offset: 68 }, end: { line: 1, column: 79, offset: 78 } }, key: "linkText" }] } },
2699
- termsAndConditionsLinkText: { type: 0, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 }, source: "Clicca qui per leggerli" }, body: { type: 2, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 } }, items: [{ type: 3, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 } } }], static: "Clicca qui per leggerli" } }
2694
+ termsAndConditions: { type: 0, start: 0, end: 134, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 135, offset: 134 }, source: 'Continuando con la prenotazione, accetti i termini e le condizioni: <b><a href="{url}" target="_blank">Clicca qui per leggerli</a></b>' }, body: { type: 2, start: 0, end: 134, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 135, offset: 134 } }, items: [{ type: 3, start: 0, end: 80, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 81, offset: 80 } }, value: 'Continuando con la prenotazione, accetti i termini e le condizioni: <b><a href="' }, { type: 4, start: 80, end: 85, loc: { start: { line: 1, column: 81, offset: 80 }, end: { line: 1, column: 86, offset: 85 } }, key: "url" }, { type: 3, start: 85, end: 134, loc: { start: { line: 1, column: 86, offset: 85 }, end: { line: 1, column: 135, offset: 134 } }, value: '" target="_blank">Clicca qui per leggerli</a></b>' }] } }
2700
2695
  }
2701
2696
  },
2702
2697
  "nl-NL": {
@@ -2713,8 +2708,7 @@ function Lt(n) {
2713
2708
  title: { type: 0, start: 0, end: 35, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 36, offset: 35 }, source: "Totaal te betalen met uw creditcard" }, body: { type: 2, start: 0, end: 35, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 36, offset: 35 } }, items: [{ type: 3, start: 0, end: 35, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 36, offset: 35 } } }], static: "Totaal te betalen met uw creditcard" } },
2714
2709
  payNow: { type: 0, start: 0, end: 9, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 10, offset: 9 }, source: "Betaal nu" }, body: { type: 2, start: 0, end: 9, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 10, offset: 9 } }, items: [{ type: 3, start: 0, end: 9, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 10, offset: 9 } } }], static: "Betaal nu" } },
2715
2710
  termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
2716
- termsAndConditions: { type: 0, start: 0, end: 94, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 95, offset: 94 }, source: "Door verder te gaan met uw reservering, gaat u akkoord met de algemene voorwaarden: {linkText}" }, body: { type: 2, start: 0, end: 94, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 95, offset: 94 } }, items: [{ type: 3, start: 0, end: 84, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 85, offset: 84 } }, value: "Door verder te gaan met uw reservering, gaat u akkoord met de algemene voorwaarden: " }, { type: 4, start: 84, end: 94, loc: { start: { line: 1, column: 85, offset: 84 }, end: { line: 1, column: 95, offset: 94 } }, key: "linkText" }] } },
2717
- termsAndConditionsLinkText: { type: 0, start: 0, end: 24, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 25, offset: 24 }, source: "Klik hier om ze te lezen" }, body: { type: 2, start: 0, end: 24, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 25, offset: 24 } }, items: [{ type: 3, start: 0, end: 24, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 25, offset: 24 } } }], static: "Klik hier om ze te lezen" } }
2711
+ termsAndConditions: { type: 0, start: 0, end: 151, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 152, offset: 151 }, source: 'Door verder te gaan met uw reservering, gaat u akkoord met de algemene voorwaarden: <b><a href="{url}" target="_blank">Klik hier om ze te lezen</a></b>' }, body: { type: 2, start: 0, end: 151, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 152, offset: 151 } }, items: [{ type: 3, start: 0, end: 96, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 97, offset: 96 } }, value: 'Door verder te gaan met uw reservering, gaat u akkoord met de algemene voorwaarden: <b><a href="' }, { type: 4, start: 96, end: 101, loc: { start: { line: 1, column: 97, offset: 96 }, end: { line: 1, column: 102, offset: 101 } }, key: "url" }, { type: 3, start: 101, end: 151, loc: { start: { line: 1, column: 102, offset: 101 }, end: { line: 1, column: 152, offset: 151 } }, value: '" target="_blank">Klik hier om ze te lezen</a></b>' }] } }
2718
2712
  }
2719
2713
  },
2720
2714
  "pt-PT": {
@@ -2731,34 +2725,32 @@ function Lt(n) {
2731
2725
  title: { type: 0, start: 0, end: 41, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 42, offset: 41 }, source: "Total a pagar com o seu cartão de crédito" }, body: { type: 2, start: 0, end: 41, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 42, offset: 41 } }, items: [{ type: 3, start: 0, end: 41, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 42, offset: 41 } } }], static: "Total a pagar com o seu cartão de crédito" } },
2732
2726
  payNow: { type: 0, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 }, source: "Pagar agora" }, body: { type: 2, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } }, items: [{ type: 3, start: 0, end: 11, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 12, offset: 11 } } }], static: "Pagar agora" } },
2733
2727
  termsURL: { type: 0, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 }, source: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" }, body: { type: 2, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } }, items: [{ type: 3, start: 0, end: 56, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 57, offset: 56 } } }], static: "https://revolugo.s3.amazonaws.com/legal/cgv_revolugo.pdf" } },
2734
- termsAndConditions: { type: 0, start: 0, end: 78, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 79, offset: 78 }, source: "Ao continuar com a sua reserva, concorda com os termos e condições: {linkText}" }, body: { type: 2, start: 0, end: 78, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 79, offset: 78 } }, items: [{ type: 3, start: 0, end: 68, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 69, offset: 68 } }, value: "Ao continuar com a sua reserva, concorda com os termos e condições: " }, { type: 4, start: 68, end: 78, loc: { start: { line: 1, column: 69, offset: 68 }, end: { line: 1, column: 79, offset: 78 } }, key: "linkText" }] } },
2735
- termsAndConditionsLinkText: { type: 0, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 }, source: "Clique aqui para os ler" }, body: { type: 2, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 } }, items: [{ type: 3, start: 0, end: 23, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 24, offset: 23 } } }], static: "Clique aqui para os ler" } }
2728
+ termsAndConditions: { type: 0, start: 0, end: 134, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 135, offset: 134 }, source: 'Ao continuar com a sua reserva, concorda com os termos e condições: <b><a href="{url}" target="_blank">Clique aqui para os ler</a></b>' }, body: { type: 2, start: 0, end: 134, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 135, offset: 134 } }, items: [{ type: 3, start: 0, end: 80, loc: { start: { line: 1, column: 1, offset: 0 }, end: { line: 1, column: 81, offset: 80 } }, value: 'Ao continuar com a sua reserva, concorda com os termos e condições: <b><a href="' }, { type: 4, start: 80, end: 85, loc: { start: { line: 1, column: 81, offset: 80 }, end: { line: 1, column: 86, offset: 85 } }, key: "url" }, { type: 3, start: 85, end: 134, loc: { start: { line: 1, column: 86, offset: 85 }, end: { line: 1, column: 135, offset: 134 } }, value: '" target="_blank">Clique aqui para os ler</a></b>' }] } }
2736
2729
  }
2737
2730
  }
2738
2731
  }
2739
2732
  });
2740
2733
  }
2741
- const bs = { class: "d-flex justify-space-between w-100 items-center" }, _s = { class: "text-caption font-weight-bold text-red my-0 rounded text-center" }, Ss = { class: "pr-3" }, ws = ["disable", "locale", "publishable-key"], Cs = ["href"], Ps = { class: "text-caption ml-1" }, Es = { class: "mr-1" };
2742
- function xs(n, e, t, o, s, i) {
2743
- const r = En("i18n-t");
2744
- return P(), $(gt, {
2734
+ const vs = { class: "d-flex justify-space-between w-100 items-center" }, bs = { class: "text-caption font-weight-bold text-red my-0 rounded text-center" }, _s = { class: "pr-3" }, Ss = ["disable", "locale", "publishable-key"], ws = ["innerHTML"], Ps = { class: "text-caption ml-1" }, Cs = { class: "mr-1" };
2735
+ function Es(n, e, t, o, s, r) {
2736
+ return C(), $(gt, {
2745
2737
  disabled: o.disabled,
2746
2738
  elevation: "0",
2747
2739
  border: "",
2748
- style: xn({
2740
+ style: En({
2749
2741
  borderColor: o.disabled ? "" : "rgb(var(--v-theme-primary))"
2750
2742
  })
2751
2743
  }, {
2752
2744
  default: b(() => [
2753
- _(kn, {
2745
+ _($n, {
2754
2746
  class: "text-white",
2755
2747
  color: "primary",
2756
2748
  density: "compact",
2757
2749
  elevation: "0"
2758
2750
  }, {
2759
2751
  default: b(() => [
2760
- k("div", bs, [
2761
- k("h4", null, [
2752
+ z("div", vs, [
2753
+ z("h4", null, [
2762
2754
  _(Re, {
2763
2755
  color: "white",
2764
2756
  start: "",
@@ -2769,15 +2761,15 @@ function xs(n, e, t, o, s, i) {
2769
2761
  ])]),
2770
2762
  _: 1
2771
2763
  }),
2772
- ce(" " + O(o.t("CreditCardStripeForm.title")) + ": ", 1),
2773
- o.loading ? (P(), $(On, {
2764
+ ce(" " + I(o.t("CreditCardStripeForm.title")) + ": ", 1),
2765
+ o.loading ? (C(), $(zn, {
2774
2766
  key: 0,
2775
2767
  class: "ml-2",
2776
2768
  color: "primary",
2777
2769
  indeterminate: "",
2778
2770
  size: "20",
2779
2771
  width: "1"
2780
- })) : (P(), $(o.BFormattedAmount, {
2772
+ })) : (C(), $(o.BFormattedAmount, {
2781
2773
  key: 1,
2782
2774
  amount: t.amount,
2783
2775
  class: "font-weight-bold",
@@ -2798,20 +2790,20 @@ function xs(n, e, t, o, s, i) {
2798
2790
  ]),
2799
2791
  _: 1
2800
2792
  }),
2801
- _(In, null, {
2793
+ _(On, null, {
2802
2794
  default: b(() => [
2803
2795
  _(Q, null, {
2804
2796
  default: b(() => [
2805
2797
  _(q, null, {
2806
2798
  default: b(() => [
2807
- o.error ? (P(), $(Ln, {
2799
+ o.error ? (C(), $(In, {
2808
2800
  key: 0,
2809
2801
  color: "red",
2810
2802
  density: "compact",
2811
2803
  variant: "outlined"
2812
2804
  }, {
2813
2805
  default: b(() => [
2814
- k("p", _s, O(o.t("CreditCardStripeForm.paymentDeclined")) + ": " + O(o.error), 1)
2806
+ z("p", bs, I(o.t("CreditCardStripeForm.paymentDeclined")) + ": " + I(o.error), 1)
2815
2807
  ]),
2816
2808
  _: 1
2817
2809
  })) : $e("", !0)
@@ -2828,7 +2820,7 @@ function xs(n, e, t, o, s, i) {
2828
2820
  default: b(() => [
2829
2821
  _(q, { cols: "8" }, {
2830
2822
  default: b(() => [
2831
- k("small", null, O(o.t("CreditCardStripeForm.cardNumber")), 1)
2823
+ z("small", null, I(o.t("CreditCardStripeForm.cardNumber")), 1)
2832
2824
  ]),
2833
2825
  _: 1
2834
2826
  }),
@@ -2837,8 +2829,8 @@ function xs(n, e, t, o, s, i) {
2837
2829
  cols: "4"
2838
2830
  }, {
2839
2831
  default: b(() => [
2840
- k("small", Ss, O(o.t("CreditCardStripeForm.expDate")), 1),
2841
- k("small", null, O(o.t("CreditCardStripeForm.cvc")), 1)
2832
+ z("small", _s, I(o.t("CreditCardStripeForm.expDate")), 1),
2833
+ z("small", null, I(o.t("CreditCardStripeForm.cvc")), 1)
2842
2834
  ]),
2843
2835
  _: 1
2844
2836
  })
@@ -2854,7 +2846,7 @@ function xs(n, e, t, o, s, i) {
2854
2846
  border: ""
2855
2847
  }, {
2856
2848
  default: b(() => [
2857
- o.stripe ? (P(), ke("stripe-elements", {
2849
+ o.stripe ? (C(), ke("stripe-elements", {
2858
2850
  key: 0,
2859
2851
  disable: o.loading,
2860
2852
  ref: "payment",
@@ -2865,7 +2857,7 @@ function xs(n, e, t, o, s, i) {
2865
2857
  onChange: o.onCreditCardFormChange,
2866
2858
  onError: o.onPaymentError,
2867
2859
  onPaymentMethod: o.onStripePaymentMethodCreated
2868
- }, null, 40, ws)) : (P(), $(ee, {
2860
+ }, null, 40, Ss)) : (C(), $(ee, {
2869
2861
  key: 1,
2870
2862
  class: "mx-auto",
2871
2863
  height: "36.8px",
@@ -2881,45 +2873,33 @@ function xs(n, e, t, o, s, i) {
2881
2873
  ]),
2882
2874
  _: 1
2883
2875
  }),
2884
- t.withTerms ? (P(), $(Q, {
2876
+ t.withTerms ? (C(), $(Q, {
2885
2877
  key: 0,
2886
2878
  class: "mt-2"
2887
2879
  }, {
2888
2880
  default: b(() => [
2889
2881
  _(q, null, {
2890
2882
  default: b(() => [
2891
- o.loading ? (P(), $(ee, {
2883
+ o.loading ? (C(), $(ee, {
2892
2884
  key: 0,
2893
2885
  class: "mt-3",
2894
2886
  height: "25px",
2895
2887
  type: "image",
2896
2888
  width: "50%"
2897
- })) : (P(), $(Fn, {
2889
+ })) : (C(), $(Dn, {
2898
2890
  key: 1,
2899
2891
  ref: "testing",
2900
2892
  modelValue: o.isTermsAccepted,
2901
- "onUpdate:modelValue": e[1] || (e[1] = (c) => o.isTermsAccepted = c)
2893
+ "onUpdate:modelValue": e[1] || (e[1] = (i) => o.isTermsAccepted = i)
2902
2894
  }, {
2903
2895
  label: b(() => [
2904
- k("span", {
2905
- onClick: e[0] || (e[0] = Tn(() => {
2906
- }, ["stop"]))
2907
- }, [
2908
- _(r, {
2909
- keypath: "CreditCardStripeForm.termsAndConditions",
2910
- tag: "span"
2911
- }, {
2912
- linkText: b(() => [
2913
- k("b", null, [
2914
- k("a", {
2915
- href: o.t("CreditCardStripeForm.termsURL"),
2916
- target: "_blank"
2917
- }, O(o.t("CreditCardStripeForm.termsAndConditionsLinkText")), 9, Cs)
2918
- ])
2919
- ]),
2920
- _: 1
2896
+ z("span", {
2897
+ onClick: e[0] || (e[0] = xn(() => {
2898
+ }, ["stop"])),
2899
+ innerHTML: o.t("CreditCardStripeForm.termsAndConditions", {
2900
+ url: o.t("CreditCardStripeForm.termsURL")
2921
2901
  })
2922
- ])
2902
+ }, null, 8, ws)
2923
2903
  ]),
2924
2904
  _: 1
2925
2905
  }, 8, ["modelValue"]))
@@ -2933,7 +2913,7 @@ function xs(n, e, t, o, s, i) {
2933
2913
  default: b(() => [
2934
2914
  _(q, { class: "v-col-12 v-col-sm-8 v-col-md-9" }, {
2935
2915
  default: b(() => [
2936
- o.loading ? (P(), ke(pt, { key: 0 }, [
2916
+ o.loading ? (C(), ke(pt, { key: 0 }, [
2937
2917
  _(ee, {
2938
2918
  height: "10px",
2939
2919
  type: "image",
@@ -2944,9 +2924,9 @@ function xs(n, e, t, o, s, i) {
2944
2924
  type: "image",
2945
2925
  width: "240px"
2946
2926
  })
2947
- ], 64)) : (P(), ke(pt, { key: 1 }, [
2948
- k("small", Ps, O(o.t("CreditCardStripeForm.acceptedPaymentMethods")), 1),
2949
- _(qn, {
2927
+ ], 64)) : (C(), ke(pt, { key: 1 }, [
2928
+ z("small", Ps, I(o.t("CreditCardStripeForm.acceptedPaymentMethods")), 1),
2929
+ _(Ln, {
2950
2930
  class: "mb-n1",
2951
2931
  height: "45",
2952
2932
  src: "https://revolugo.s3.eu-west-3.amazonaws.com/payment-methods.png",
@@ -2956,18 +2936,18 @@ function xs(n, e, t, o, s, i) {
2956
2936
  ]),
2957
2937
  _: 1
2958
2938
  }),
2959
- t.withAction ? (P(), $(q, {
2939
+ t.withAction ? (C(), $(q, {
2960
2940
  key: 0,
2961
2941
  class: "v-col-12 v-col-sm-4 v-col-md-3 align-self-end text-right"
2962
2942
  }, {
2963
2943
  default: b(() => [
2964
- o.loading ? (P(), $(ee, {
2944
+ o.loading ? (C(), $(ee, {
2965
2945
  key: 0,
2966
2946
  class: "align-self-end w-100",
2967
2947
  height: "36px",
2968
2948
  type: "image",
2969
2949
  width: "170px"
2970
- })) : (P(), $(Un, {
2950
+ })) : (C(), $(qn, {
2971
2951
  key: 1,
2972
2952
  "data-gtm-id": "payment-book",
2973
2953
  class: "w-sm-auto align-self-end w-100",
@@ -2984,7 +2964,7 @@ function xs(n, e, t, o, s, i) {
2984
2964
  ])]),
2985
2965
  _: 1
2986
2966
  }),
2987
- k("span", Es, O(o.t("CreditCardStripeForm.payNow")), 1),
2967
+ z("span", Cs, I(o.t("CreditCardStripeForm.payNow")), 1),
2988
2968
  _(o.BFormattedAmount, {
2989
2969
  amount: t.amount,
2990
2970
  class: "font-weight-bold",
@@ -3007,12 +2987,12 @@ function xs(n, e, t, o, s, i) {
3007
2987
  }, 8, ["disabled", "style"]);
3008
2988
  }
3009
2989
  typeof Lt == "function" && Lt(dn);
3010
- const Rs = /* @__PURE__ */ zn(dn, [["render", xs], ["__scopeId", "data-v-0626a2c5"], ["__file", "/home/runner/work/revolugo/revolugo/libs/front/elements/core/src/components/RevolugoElements/CreditCardStripeForm/CreditCardStripeForm.vue"]]);
2990
+ const ks = /* @__PURE__ */ Vn(dn, [["render", Es], ["__scopeId", "data-v-0626a2c5"], ["__file", "/home/runner/work/revolugo/revolugo/libs/front/elements/core/src/components/RevolugoElements/CreditCardStripeForm/CreditCardStripeForm.vue"]]);
3011
2991
  un("css/revolugo.creditcardstripeform.CuNCVfSx.css");
3012
2992
  export {
3013
- Rs as C,
3014
- Fn as V,
3015
- Bn as p,
2993
+ ks as C,
2994
+ Dn as V,
2995
+ Un as p,
3016
2996
  vt as u
3017
2997
  };
3018
- //# sourceMappingURL=revolugo.creditcardstripeform.CKnpscDt.min.js.map
2998
+ //# sourceMappingURL=revolugo.creditcardstripeform.BxLH3iZh.min.js.map