@revolugo/elements 6.9.4-beta.6 → 6.9.4-beta.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/{revolugo.cancellationpoliciesbadge.D3_jzRpg.css → revolugo.cancellationpoliciesbadge.BXhdkM2s.css} +1 -1
- package/dist/css/revolugo.index.BNlxBMG6.css +5 -0
- package/dist/css/revolugo.preferencesmenu.DQaHGrad.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.Dl8sLbtH.css → revolugo.webcomponentwrapper.C1XZLwwr.css} +1 -1
- package/dist/index.es.min.js +23 -12287
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +1 -19
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.C7bUv0G3.min.js → revolugo.banktransferdetails.Xl0Dtea6.min.js} +9 -9
- package/dist/{revolugo.bookingdetailssidebar.DWtKObfH.min.js → revolugo.bookingdetailssidebar.rpWOOfbs.min.js} +9 -9
- package/dist/revolugo.bookingmanager.CNMLugax.min.js +26 -0
- package/dist/revolugo.cancellationpoliciesbadge.DzR63R0Z.min.js +26 -0
- package/dist/{revolugo.cancellationpoliciesbadge.props.zST5IWK5.min.js → revolugo.cancellationpoliciesbadge.props.DWjgCykV.min.js} +8195 -8300
- package/dist/{revolugo.cancellationpolicieslist.CnrsdrBN.min.js → revolugo.cancellationpolicieslist.m1gExa2e.min.js} +9 -9
- package/dist/{revolugo.creditcardstripeform.DbJyjIMu.min.js → revolugo.creditcardstripeform.BM_6tB6o.min.js} +7 -7
- package/dist/{revolugo.creditcardstripeform.CNVW0szH.min.js → revolugo.creditcardstripeform.fJEiV2ta.min.js} +121 -124
- package/dist/revolugo.currencypickerbtn.CIKLgMUU.min.js +26 -0
- package/dist/{revolugo.dialog-attach.BfE8KjZT.min.js → revolugo.dialog-attach.Bb_YCKta.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.D6okBe92.min.js → revolugo.fastbookingflow.Yxr6BLk_.min.js} +9 -9
- package/dist/revolugo.fullbookingflow.tdbaaYuO.min.js +26 -0
- package/dist/revolugo.hoteldescriptionview.BfiYIAVy.min.js +26 -0
- package/dist/revolugo.hotelofferlist.Qt6inR2F.min.js +26 -0
- package/dist/{revolugo.hoteloffersearchmenu.D4WcyKvj.min.js → revolugo.hoteloffersearchmenu.MV47hDuk.min.js} +7 -7
- package/dist/revolugo.hoteloffersmap.CZR83TxH.min.js +26 -0
- package/dist/revolugo.hoteloffersview.GHKAQoRZ.min.js +21 -0
- package/dist/revolugo.hotelroomofferlist.C4goI5pK.min.js +26 -0
- package/dist/revolugo.hotelroomoffersbookingflow.ofPTlCQv.min.js +26 -0
- package/dist/revolugo.hotelroomoffersearchmenu.D1AweB47.min.js +26 -0
- package/dist/revolugo.hotelroomoffersview.LBNrmnA7.min.js +26 -0
- package/dist/{revolugo.index.BWs2Vhy_.min.js → revolugo.index.DGBrBJnJ.min.js} +2 -2
- package/dist/{revolugo.index.wc.CEvJQjpW.min.js → revolugo.index.wc.40MgzXpV.min.js} +9643 -14520
- package/dist/revolugo.langpickerbtn.D6_zKc-i.min.js +31 -0
- package/dist/{revolugo.leaflet-src.esm.DBQWLG1M.min.js → revolugo.leaflet-src.esm.BnEQV3J-.min.js} +16 -16
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.DczT7uMG.min.js +26 -0
- package/dist/{revolugo.preferencesmenu.CNfFgCqt.min.js → revolugo.preferencesmenu.C41rfCeD.min.js} +88 -91
- package/dist/revolugo.preferencesmenu.DdelmaiM.min.js +24 -0
- package/dist/revolugo.roominglisteditor.CzOx_kXr.min.js +26 -0
- package/dist/{revolugo.storybooktoolbar.CO2XYjy6.min.js → revolugo.storybooktoolbar.CJE1JI1P.min.js} +64 -71
- package/dist/{revolugo.termsandconditions.D6yxQ1tc.min.js → revolugo.termsandconditions.BlX67p6P.min.js} +8 -8
- package/dist/{revolugo.vtoolbar.BPn9Mpqr.min.js → revolugo.vtoolbar.D-hsWvbD.min.js} +25 -25
- package/dist/{revolugo.webcomponentwrapper.-NopeKky.min.js → revolugo.webcomponentwrapper.DPohzPWK.min.js} +13884 -11313
- package/package.json +2 -2
- package/dist/css/revolugo.index.ClC0OVqq.css +0 -5
- package/dist/css/revolugo.preferencesmenu.D76adt35.css +0 -1
- package/dist/revolugo.bookingmanager.C-0O3pue.min.js +0 -26
- package/dist/revolugo.cancellationpoliciesbadge.Bm6yAkm7.min.js +0 -26
- package/dist/revolugo.currencypickerbtn.8_lj7snS.min.js +0 -26
- package/dist/revolugo.fullbookingflow.BM0PtsK6.min.js +0 -26
- package/dist/revolugo.hoteldescriptionview.C1JP_ild.min.js +0 -26
- package/dist/revolugo.hotelofferlist.CCc-frCr.min.js +0 -26
- package/dist/revolugo.hoteloffersmap.FZ3_dVvU.min.js +0 -26
- package/dist/revolugo.hoteloffersview.DaSppZNl.min.js +0 -21
- package/dist/revolugo.hotelroomofferlist.CizhHBHD.min.js +0 -26
- package/dist/revolugo.hotelroomoffersbookingflow.CXzD2wOi.min.js +0 -26
- package/dist/revolugo.hotelroomoffersearchmenu.BcflGdOm.min.js +0 -26
- package/dist/revolugo.hotelroomoffersview.DMljGg55.min.js +0 -26
- package/dist/revolugo.langpickerbtn.BeG3rSug.min.js +0 -31
- package/dist/revolugo.prebookform.BVMfa8lx.min.js +0 -26
- package/dist/revolugo.preferencesmenu.Dbq4YK1R.min.js +0 -24
- package/dist/revolugo.roominglisteditor.DtX6pdka.min.js +0 -26
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { V as sr } from "./revolugo.vtoolbar.
|
1
|
+
import { R as Oe, S as Ne, T as Le, b9 as Ie, b as ce, ay as Ve, a as b, m as Lt, Y as Ue, d as qe, h as ze, i as st, aO as Be, x as De, c as k, o as E, w as g, ah as je, ba as H, z as M, p as nt, y as T, u as R, f as vt, j as gt, k as He, F as It, bb as Fe, M as We } from "./revolugo.index.wc.40MgzXpV.min.js";
|
2
|
+
import { az as Ge, t as Ke, aA as Vt, ba as Ut, aD as Je, bb as Ye, V as qt, k as bt, J as zt, K as Ze, d as F, e as L, b5 as Xe, O as W, ad as Qe, j as tr, b as er, _ as rr } from "./revolugo.webcomponentwrapper.DPohzPWK.min.js";
|
3
|
+
import { V as sr } from "./revolugo.vtoolbar.D-hsWvbD.min.js";
|
4
4
|
function Te(e) {
|
5
5
|
try {
|
6
6
|
if (typeof document < "u") {
|
@@ -21,10 +21,10 @@ function Te(e) {
|
|
21
21
|
console.error("[revolugo-elements] ", t);
|
22
22
|
}
|
23
23
|
}
|
24
|
-
const nr =
|
24
|
+
const nr = Ne({
|
25
25
|
...Je(),
|
26
26
|
...Ue(Ye(), ["inline"])
|
27
|
-
}, "VCheckbox"), ir =
|
27
|
+
}, "VCheckbox"), ir = Oe()({
|
28
28
|
name: "VCheckbox",
|
29
29
|
inheritAttrs: !1,
|
30
30
|
props: nr(),
|
@@ -48,20 +48,20 @@ const nr = Oe({
|
|
48
48
|
class: ["v-checkbox", e.class]
|
49
49
|
}, m, S, {
|
50
50
|
modelValue: n.value,
|
51
|
-
"onUpdate:modelValue": (
|
51
|
+
"onUpdate:modelValue": (N) => n.value = N,
|
52
52
|
id: d.value,
|
53
53
|
focused: i.value,
|
54
54
|
style: e.style
|
55
55
|
}), {
|
56
56
|
...s,
|
57
|
-
default: (
|
57
|
+
default: (N) => {
|
58
58
|
let {
|
59
59
|
id: A,
|
60
60
|
messagesId: ft,
|
61
61
|
isDisabled: rt,
|
62
62
|
isReadonly: y,
|
63
63
|
isValid: C
|
64
|
-
} =
|
64
|
+
} = N;
|
65
65
|
return b(Ut, Lt($, {
|
66
66
|
id: A.value,
|
67
67
|
"aria-describedby": ft.value,
|
@@ -114,15 +114,15 @@ function c(e) {
|
|
114
114
|
*/
|
115
115
|
var St;
|
116
116
|
((St = window.HTMLSlotElement) === null || St === void 0 ? void 0 : St.prototype.assignedElements) != null;
|
117
|
-
var
|
117
|
+
var Bt = !0;
|
118
118
|
function x(e, t, r) {
|
119
119
|
if (typeof r?.value != "function")
|
120
120
|
throw new TypeError(`Only methods can be decorated with @bound. <${t ?? e.name}> is not a method!`);
|
121
121
|
return {
|
122
|
-
configurable:
|
122
|
+
configurable: Bt,
|
123
123
|
get() {
|
124
124
|
const s = r.value.bind(this);
|
125
|
-
return Object.defineProperty(this, t, { value: s, configurable:
|
125
|
+
return Object.defineProperty(this, t, { value: s, configurable: Bt, writable: !0 }), s;
|
126
126
|
}
|
127
127
|
};
|
128
128
|
}
|
@@ -151,17 +151,17 @@ let de = class {
|
|
151
151
|
}
|
152
152
|
};
|
153
153
|
const lr = (e) => new de(typeof e == "string" ? e : e + "", void 0, Mt), Tt = (e, ...t) => {
|
154
|
-
const r = e.length === 1 ? e[0] : t.reduce((s, n, i) => s + ((o) => {
|
154
|
+
const r = e.length === 1 ? e[0] : t.reduce(((s, n, i) => s + ((o) => {
|
155
155
|
if (o._$cssResult$ === !0) return o.cssText;
|
156
156
|
if (typeof o == "number") return o;
|
157
157
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
158
|
-
})(n) + e[i + 1], e[0]);
|
158
|
+
})(n) + e[i + 1]), e[0]);
|
159
159
|
return new de(r, e, Mt);
|
160
160
|
}, cr = (e, t) => {
|
161
|
-
Rt ? e.adoptedStyleSheets = t.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet) : t.forEach((r) => {
|
161
|
+
Rt ? e.adoptedStyleSheets = t.map(((r) => r instanceof CSSStyleSheet ? r : r.styleSheet)) : t.forEach(((r) => {
|
162
162
|
const s = document.createElement("style"), n = lt.litNonce;
|
163
163
|
n !== void 0 && s.setAttribute("nonce", n), s.textContent = r.cssText, e.appendChild(s);
|
164
|
-
});
|
164
|
+
}));
|
165
165
|
}, jt = Rt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
166
166
|
let r = "";
|
167
167
|
for (const s of t.cssRules) r += s.cssText;
|
@@ -172,7 +172,7 @@ const lr = (e) => new de(typeof e == "string" ? e : e + "", void 0, Mt), Tt = (e
|
|
172
172
|
* Copyright 2017 Google LLC
|
173
173
|
* SPDX-License-Identifier: BSD-3-Clause
|
174
174
|
*/
|
175
|
-
var
|
175
|
+
var wt;
|
176
176
|
const ht = window, Ht = ht.trustedTypes, ur = Ht ? Ht.emptyScript : "", Ft = ht.reactiveElementPolyfillSupport, At = { toAttribute(e, t) {
|
177
177
|
switch (t) {
|
178
178
|
case Boolean:
|
@@ -201,8 +201,8 @@ const ht = window, Ht = ht.trustedTypes, ur = Ht ? Ht.emptyScript : "", Ft = ht.
|
|
201
201
|
}
|
202
202
|
}
|
203
203
|
return r;
|
204
|
-
} }, pe = (e, t) => t !== e && (t == t || e == e),
|
205
|
-
let
|
204
|
+
} }, pe = (e, t) => t !== e && (t == t || e == e), _t = { attribute: !0, type: String, converter: At, reflect: !1, hasChanged: pe }, kt = "finalized";
|
205
|
+
let z = class extends HTMLElement {
|
206
206
|
constructor() {
|
207
207
|
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
|
208
208
|
}
|
@@ -213,12 +213,12 @@ let B = class extends HTMLElement {
|
|
213
213
|
static get observedAttributes() {
|
214
214
|
this.finalize();
|
215
215
|
const t = [];
|
216
|
-
return this.elementProperties.forEach((r, s) => {
|
216
|
+
return this.elementProperties.forEach(((r, s) => {
|
217
217
|
const n = this._$Ep(s, r);
|
218
218
|
n !== void 0 && (this._$Ev.set(n, s), t.push(n));
|
219
|
-
}), t;
|
219
|
+
})), t;
|
220
220
|
}
|
221
|
-
static createProperty(t, r =
|
221
|
+
static createProperty(t, r = _t) {
|
222
222
|
if (r.state && (r.attribute = !1), this.finalize(), this.elementProperties.set(t, r), !r.noAccessor && !this.prototype.hasOwnProperty(t)) {
|
223
223
|
const s = typeof t == "symbol" ? Symbol() : "__" + t, n = this.getPropertyDescriptor(t, s, r);
|
224
224
|
n !== void 0 && Object.defineProperty(this.prototype, t, n);
|
@@ -233,7 +233,7 @@ let B = class extends HTMLElement {
|
|
233
233
|
}, configurable: !0, enumerable: !0 };
|
234
234
|
}
|
235
235
|
static getPropertyOptions(t) {
|
236
|
-
return this.elementProperties.get(t) ||
|
236
|
+
return this.elementProperties.get(t) || _t;
|
237
237
|
}
|
238
238
|
static finalize() {
|
239
239
|
if (this.hasOwnProperty(kt)) return !1;
|
@@ -259,7 +259,7 @@ let B = class extends HTMLElement {
|
|
259
259
|
}
|
260
260
|
_$Eu() {
|
261
261
|
var t;
|
262
|
-
this._$E_ = new Promise((r) => this.enableUpdating = r), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((r) => r(this));
|
262
|
+
this._$E_ = new Promise(((r) => this.enableUpdating = r)), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach(((r) => r(this)));
|
263
263
|
}
|
264
264
|
addController(t) {
|
265
265
|
var r, s;
|
@@ -270,9 +270,9 @@ let B = class extends HTMLElement {
|
|
270
270
|
(r = this._$ES) === null || r === void 0 || r.splice(this._$ES.indexOf(t) >>> 0, 1);
|
271
271
|
}
|
272
272
|
_$Eg() {
|
273
|
-
this.constructor.elementProperties.forEach((t, r) => {
|
273
|
+
this.constructor.elementProperties.forEach(((t, r) => {
|
274
274
|
this.hasOwnProperty(r) && (this._$Ei.set(r, this[r]), delete this[r]);
|
275
|
-
});
|
275
|
+
}));
|
276
276
|
}
|
277
277
|
createRenderRoot() {
|
278
278
|
var t;
|
@@ -281,24 +281,24 @@ let B = class extends HTMLElement {
|
|
281
281
|
}
|
282
282
|
connectedCallback() {
|
283
283
|
var t;
|
284
|
-
this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((r) => {
|
284
|
+
this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach(((r) => {
|
285
285
|
var s;
|
286
286
|
return (s = r.hostConnected) === null || s === void 0 ? void 0 : s.call(r);
|
287
|
-
});
|
287
|
+
}));
|
288
288
|
}
|
289
289
|
enableUpdating(t) {
|
290
290
|
}
|
291
291
|
disconnectedCallback() {
|
292
292
|
var t;
|
293
|
-
(t = this._$ES) === null || t === void 0 || t.forEach((r) => {
|
293
|
+
(t = this._$ES) === null || t === void 0 || t.forEach(((r) => {
|
294
294
|
var s;
|
295
295
|
return (s = r.hostDisconnected) === null || s === void 0 ? void 0 : s.call(r);
|
296
|
-
});
|
296
|
+
}));
|
297
297
|
}
|
298
298
|
attributeChangedCallback(t, r, s) {
|
299
299
|
this._$AK(t, s);
|
300
300
|
}
|
301
|
-
_$EO(t, r, s =
|
301
|
+
_$EO(t, r, s = _t) {
|
302
302
|
var n;
|
303
303
|
const i = this.constructor._$Ep(t, s);
|
304
304
|
if (i !== void 0 && s.reflect === !0) {
|
@@ -334,14 +334,14 @@ let B = class extends HTMLElement {
|
|
334
334
|
performUpdate() {
|
335
335
|
var t;
|
336
336
|
if (!this.isUpdatePending) return;
|
337
|
-
this.hasUpdated, this._$Ei && (this._$Ei.forEach((n, i) => this[i] = n), this._$Ei = void 0);
|
337
|
+
this.hasUpdated, this._$Ei && (this._$Ei.forEach(((n, i) => this[i] = n)), this._$Ei = void 0);
|
338
338
|
let r = !1;
|
339
339
|
const s = this._$AL;
|
340
340
|
try {
|
341
|
-
r = this.shouldUpdate(s), r ? (this.willUpdate(s), (t = this._$ES) === null || t === void 0 || t.forEach((n) => {
|
341
|
+
r = this.shouldUpdate(s), r ? (this.willUpdate(s), (t = this._$ES) === null || t === void 0 || t.forEach(((n) => {
|
342
342
|
var i;
|
343
343
|
return (i = n.hostUpdate) === null || i === void 0 ? void 0 : i.call(n);
|
344
|
-
}), this.update(s)) : this._$Ek();
|
344
|
+
})), this.update(s)) : this._$Ek();
|
345
345
|
} catch (n) {
|
346
346
|
throw r = !1, this._$Ek(), n;
|
347
347
|
}
|
@@ -351,10 +351,10 @@ let B = class extends HTMLElement {
|
|
351
351
|
}
|
352
352
|
_$AE(t) {
|
353
353
|
var r;
|
354
|
-
(r = this._$ES) === null || r === void 0 || r.forEach((s) => {
|
354
|
+
(r = this._$ES) === null || r === void 0 || r.forEach(((s) => {
|
355
355
|
var n;
|
356
356
|
return (n = s.hostUpdated) === null || n === void 0 ? void 0 : n.call(s);
|
357
|
-
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
357
|
+
})), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
358
358
|
}
|
359
359
|
_$Ek() {
|
360
360
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
@@ -369,23 +369,23 @@ let B = class extends HTMLElement {
|
|
369
369
|
return !0;
|
370
370
|
}
|
371
371
|
update(t) {
|
372
|
-
this._$EC !== void 0 && (this._$EC.forEach((r, s) => this._$EO(s, this[s], r)), this._$EC = void 0), this._$Ek();
|
372
|
+
this._$EC !== void 0 && (this._$EC.forEach(((r, s) => this._$EO(s, this[s], r))), this._$EC = void 0), this._$Ek();
|
373
373
|
}
|
374
374
|
updated(t) {
|
375
375
|
}
|
376
376
|
firstUpdated(t) {
|
377
377
|
}
|
378
378
|
};
|
379
|
-
|
379
|
+
z[kt] = !0, z.elementProperties = /* @__PURE__ */ new Map(), z.elementStyles = [], z.shadowRootOptions = { mode: "open" }, Ft?.({ ReactiveElement: z }), ((wt = ht.reactiveElementVersions) !== null && wt !== void 0 ? wt : ht.reactiveElementVersions = []).push("1.6.3");
|
380
380
|
/**
|
381
381
|
* @license
|
382
382
|
* Copyright 2017 Google LLC
|
383
383
|
* SPDX-License-Identifier: BSD-3-Clause
|
384
384
|
*/
|
385
385
|
var $t;
|
386
|
-
const mt = window,
|
386
|
+
const mt = window, B = mt.trustedTypes, Wt = B ? B.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, xt = "$lit$", O = `lit$${(Math.random() + "").slice(9)}$`, he = "?" + O, dr = `<${he}>`, U = document, X = () => U.createComment(""), Q = (e) => e === null || typeof e != "object" && typeof e != "function", me = Array.isArray, pr = (e) => me(e) || typeof e?.[Symbol.iterator] == "function", Ct = `[
|
387
387
|
\f\r]`, G = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gt = /-->/g, Kt = />/g, I = RegExp(`>|${Ct}(?:([^\\s"'>=/]+)(${Ct}*=${Ct}*(?:[^
|
388
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Yt = /"/g, ye = /^(?:script|style|textarea|title)$/i, hr = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), mr = hr(1), D = Symbol.for("lit-noChange"),
|
388
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Yt = /"/g, ye = /^(?:script|style|textarea|title)$/i, hr = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), mr = hr(1), D = Symbol.for("lit-noChange"), w = Symbol.for("lit-nothing"), Zt = /* @__PURE__ */ new WeakMap(), V = U.createTreeWalker(U, 129, null, !1);
|
389
389
|
function fe(e, t) {
|
390
390
|
if (!Array.isArray(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
391
391
|
return Wt !== void 0 ? Wt.createHTML(t) : t;
|
@@ -398,7 +398,7 @@ const yr = (e, t) => {
|
|
398
398
|
let d, m, v = -1, S = 0;
|
399
399
|
for (; S < l.length && (o.lastIndex = S, m = o.exec(l), m !== null); ) S = o.lastIndex, o === G ? m[1] === "!--" ? o = Gt : m[1] !== void 0 ? o = Kt : m[2] !== void 0 ? (ye.test(m[2]) && (n = RegExp("</" + m[2], "g")), o = I) : m[3] !== void 0 && (o = I) : o === I ? m[0] === ">" ? (o = n ?? G, v = -1) : m[1] === void 0 ? v = -2 : (v = o.lastIndex - m[2].length, d = m[1], o = m[3] === void 0 ? I : m[3] === '"' ? Yt : Jt) : o === Yt || o === Jt ? o = I : o === Gt || o === Kt ? o = G : (o = I, n = void 0);
|
400
400
|
const $ = o === I && e[u + 1].startsWith("/>") ? " " : "";
|
401
|
-
i += o === G ? l + dr : v >= 0 ? (s.push(d), l.slice(0, v) + xt + l.slice(v) +
|
401
|
+
i += o === G ? l + dr : v >= 0 ? (s.push(d), l.slice(0, v) + xt + l.slice(v) + O + $) : l + O + (v === -2 ? (s.push(void 0), u) : $);
|
402
402
|
}
|
403
403
|
return [fe(e, i + (e[r] || "<?>") + (t === 2 ? "</svg>" : "")), s];
|
404
404
|
};
|
@@ -416,19 +416,19 @@ class tt {
|
|
416
416
|
if (n.nodeType === 1) {
|
417
417
|
if (n.hasAttributes()) {
|
418
418
|
const v = [];
|
419
|
-
for (const S of n.getAttributeNames()) if (S.endsWith(xt) || S.startsWith(
|
419
|
+
for (const S of n.getAttributeNames()) if (S.endsWith(xt) || S.startsWith(O)) {
|
420
420
|
const $ = m[o++];
|
421
421
|
if (v.push(S), $ !== void 0) {
|
422
|
-
const
|
423
|
-
l.push({ type: 1, index: i, name: A[2], strings:
|
422
|
+
const N = n.getAttribute($.toLowerCase() + xt).split(O), A = /([.?@])?(.*)/.exec($);
|
423
|
+
l.push({ type: 1, index: i, name: A[2], strings: N, ctor: A[1] === "." ? vr : A[1] === "?" ? br : A[1] === "@" ? Sr : yt });
|
424
424
|
} else l.push({ type: 6, index: i });
|
425
425
|
}
|
426
426
|
for (const S of v) n.removeAttribute(S);
|
427
427
|
}
|
428
428
|
if (ye.test(n.tagName)) {
|
429
|
-
const v = n.textContent.split(
|
429
|
+
const v = n.textContent.split(O), S = v.length - 1;
|
430
430
|
if (S > 0) {
|
431
|
-
n.textContent =
|
431
|
+
n.textContent = B ? B.emptyScript : "";
|
432
432
|
for (let $ = 0; $ < S; $++) n.append(v[$], X()), V.nextNode(), l.push({ type: 2, index: ++i });
|
433
433
|
n.append(v[S], X());
|
434
434
|
}
|
@@ -436,7 +436,7 @@ class tt {
|
|
436
436
|
} else if (n.nodeType === 8) if (n.data === he) l.push({ type: 2, index: i });
|
437
437
|
else {
|
438
438
|
let v = -1;
|
439
|
-
for (; (v = n.data.indexOf(
|
439
|
+
for (; (v = n.data.indexOf(O, v + 1)) !== -1; ) l.push({ type: 7, index: i }), v += O.length - 1;
|
440
440
|
}
|
441
441
|
i++;
|
442
442
|
}
|
@@ -471,7 +471,7 @@ class fr {
|
|
471
471
|
for (; d !== void 0; ) {
|
472
472
|
if (u === d.index) {
|
473
473
|
let m;
|
474
|
-
d.type === 2 ? m = new et(o, o.nextSibling, this, t) : d.type === 1 ? m = new d.ctor(o, d.name, d.strings, this, t) : d.type === 6 && (m = new
|
474
|
+
d.type === 2 ? m = new et(o, o.nextSibling, this, t) : d.type === 1 ? m = new d.ctor(o, d.name, d.strings, this, t) : d.type === 6 && (m = new wr(o, this, t)), this._$AV.push(m), d = n[++l];
|
475
475
|
}
|
476
476
|
u !== d?.index && (o = V.nextNode(), u++);
|
477
477
|
}
|
@@ -485,7 +485,7 @@ class fr {
|
|
485
485
|
class et {
|
486
486
|
constructor(t, r, s, n) {
|
487
487
|
var i;
|
488
|
-
this.type = 2, this._$AH =
|
488
|
+
this.type = 2, this._$AH = w, this._$AN = void 0, this._$AA = t, this._$AB = r, this._$AM = s, this.options = n, this._$Cp = (i = n?.isConnected) === null || i === void 0 || i;
|
489
489
|
}
|
490
490
|
get _$AU() {
|
491
491
|
var t, r;
|
@@ -503,7 +503,7 @@ class et {
|
|
503
503
|
return this._$AB;
|
504
504
|
}
|
505
505
|
_$AI(t, r = this) {
|
506
|
-
t = j(this, t, r), Q(t) ? t ===
|
506
|
+
t = j(this, t, r), Q(t) ? t === w || t == null || t === "" ? (this._$AH !== w && this._$AR(), this._$AH = w) : t !== this._$AH && t !== D && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : pr(t) ? this.T(t) : this._(t);
|
507
507
|
}
|
508
508
|
k(t) {
|
509
509
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
@@ -512,7 +512,7 @@ class et {
|
|
512
512
|
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
513
513
|
}
|
514
514
|
_(t) {
|
515
|
-
this._$AH !==
|
515
|
+
this._$AH !== w && Q(this._$AH) ? this._$AA.nextSibling.data = t : this.$(U.createTextNode(t)), this._$AH = t;
|
516
516
|
}
|
517
517
|
g(t) {
|
518
518
|
var r;
|
@@ -548,7 +548,7 @@ class et {
|
|
548
548
|
}
|
549
549
|
class yt {
|
550
550
|
constructor(t, r, s, n, i) {
|
551
|
-
this.type = 1, this._$AH =
|
551
|
+
this.type = 1, this._$AH = w, this._$AN = void 0, this.element = t, this.name = r, this._$AM = n, this.options = i, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = w;
|
552
552
|
}
|
553
553
|
get tagName() {
|
554
554
|
return this.element.tagName;
|
@@ -563,12 +563,12 @@ class yt {
|
|
563
563
|
else {
|
564
564
|
const u = t;
|
565
565
|
let l, d;
|
566
|
-
for (t = i[0], l = 0; l < i.length - 1; l++) d = j(this, u[s + l], r, l), d === D && (d = this._$AH[l]), o || (o = !Q(d) || d !== this._$AH[l]), d ===
|
566
|
+
for (t = i[0], l = 0; l < i.length - 1; l++) d = j(this, u[s + l], r, l), d === D && (d = this._$AH[l]), o || (o = !Q(d) || d !== this._$AH[l]), d === w ? t = w : t !== w && (t += (d ?? "") + i[l + 1]), this._$AH[l] = d;
|
567
567
|
}
|
568
568
|
o && !n && this.j(t);
|
569
569
|
}
|
570
570
|
j(t) {
|
571
|
-
t ===
|
571
|
+
t === w ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
572
572
|
}
|
573
573
|
}
|
574
574
|
class vr extends yt {
|
@@ -576,16 +576,16 @@ class vr extends yt {
|
|
576
576
|
super(...arguments), this.type = 3;
|
577
577
|
}
|
578
578
|
j(t) {
|
579
|
-
this.element[this.name] = t ===
|
579
|
+
this.element[this.name] = t === w ? void 0 : t;
|
580
580
|
}
|
581
581
|
}
|
582
|
-
const gr =
|
582
|
+
const gr = B ? B.emptyScript : "";
|
583
583
|
class br extends yt {
|
584
584
|
constructor() {
|
585
585
|
super(...arguments), this.type = 4;
|
586
586
|
}
|
587
587
|
j(t) {
|
588
|
-
t && t !==
|
588
|
+
t && t !== w ? this.element.setAttribute(this.name, gr) : this.element.removeAttribute(this.name);
|
589
589
|
}
|
590
590
|
}
|
591
591
|
class Sr extends yt {
|
@@ -594,8 +594,8 @@ class Sr extends yt {
|
|
594
594
|
}
|
595
595
|
_$AI(t, r = this) {
|
596
596
|
var s;
|
597
|
-
if ((t = (s = j(this, t, r, 0)) !== null && s !== void 0 ? s :
|
598
|
-
const n = this._$AH, i = t ===
|
597
|
+
if ((t = (s = j(this, t, r, 0)) !== null && s !== void 0 ? s : w) === D) return;
|
598
|
+
const n = this._$AH, i = t === w && n !== w || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, o = t !== w && (n === w || i);
|
599
599
|
i && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
600
600
|
}
|
601
601
|
handleEvent(t) {
|
@@ -603,7 +603,7 @@ class Sr extends yt {
|
|
603
603
|
typeof this._$AH == "function" ? this._$AH.call((s = (r = this.options) === null || r === void 0 ? void 0 : r.host) !== null && s !== void 0 ? s : this.element, t) : this._$AH.handleEvent(t);
|
604
604
|
}
|
605
605
|
}
|
606
|
-
class
|
606
|
+
class wr {
|
607
607
|
constructor(t, r, s) {
|
608
608
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = s;
|
609
609
|
}
|
@@ -616,7 +616,7 @@ class _r {
|
|
616
616
|
}
|
617
617
|
const Xt = mt.litHtmlPolyfillSupport;
|
618
618
|
Xt?.(tt, et), (($t = mt.litHtmlVersions) !== null && $t !== void 0 ? $t : mt.litHtmlVersions = []).push("2.8.0");
|
619
|
-
const
|
619
|
+
const _r = (e, t, r) => {
|
620
620
|
var s, n;
|
621
621
|
const i = (s = r?.renderBefore) !== null && s !== void 0 ? s : t;
|
622
622
|
let o = i._$litPart$;
|
@@ -632,7 +632,7 @@ const wr = (e, t, r) => {
|
|
632
632
|
* SPDX-License-Identifier: BSD-3-Clause
|
633
633
|
*/
|
634
634
|
var Et, Pt;
|
635
|
-
class Z extends
|
635
|
+
class Z extends z {
|
636
636
|
constructor() {
|
637
637
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
638
638
|
}
|
@@ -643,7 +643,7 @@ class Z extends B {
|
|
643
643
|
}
|
644
644
|
update(t) {
|
645
645
|
const r = this.render();
|
646
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
646
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = _r(r, this.renderRoot, this.renderOptions);
|
647
647
|
}
|
648
648
|
connectedCallback() {
|
649
649
|
var t;
|
@@ -666,7 +666,7 @@ Qt?.({ LitElement: Z });
|
|
666
666
|
* Copyright 2018 Google LLC
|
667
667
|
* SPDX-License-Identifier: BSD-3-Clause
|
668
668
|
*/
|
669
|
-
const $r = (e) => e ??
|
669
|
+
const $r = (e) => e ?? w, Cr = /[A-ZÀ-ÖÙ-Ý]+/g, Er = /[a-zà-öù-ý]+/g;
|
670
670
|
function Pr(e) {
|
671
671
|
const t = e.replace(Cr, r).match(Er);
|
672
672
|
return t ? t.join("-") : "";
|
@@ -698,7 +698,7 @@ async function Tr(e) {
|
|
698
698
|
throw new Error(r);
|
699
699
|
return e;
|
700
700
|
}
|
701
|
-
function
|
701
|
+
function Or(e) {
|
702
702
|
return "addInitializer" in e.constructor;
|
703
703
|
}
|
704
704
|
var Y = class {
|
@@ -714,14 +714,14 @@ var Y = class {
|
|
714
714
|
}
|
715
715
|
set(e, t) {
|
716
716
|
const r = this.values.get(e);
|
717
|
-
this.values.set(e, t),
|
717
|
+
this.values.set(e, t), Or(this.host) ? this.host.requestUpdate(e, r) : this.host.requestUpdate();
|
718
718
|
}
|
719
|
-
},
|
720
|
-
|
719
|
+
}, Ot = Y;
|
720
|
+
Ot.instances = /* @__PURE__ */ new Map();
|
721
721
|
function p(e, t) {
|
722
722
|
const r = e.constructor;
|
723
723
|
r.addInitializer((s) => {
|
724
|
-
const n =
|
724
|
+
const n = Ot.for(s);
|
725
725
|
Object.defineProperty(s.constructor.prototype, t, {
|
726
726
|
enumerable: !0,
|
727
727
|
configurable: !0,
|
@@ -738,11 +738,11 @@ function p(e, t) {
|
|
738
738
|
});
|
739
739
|
}
|
740
740
|
p.set = function(e, t) {
|
741
|
-
const r =
|
741
|
+
const r = Ot.for(e);
|
742
742
|
for (const [s, n] of Object.entries(t))
|
743
743
|
r.set(s, n);
|
744
744
|
};
|
745
|
-
var
|
745
|
+
var Nr = class extends Event {
|
746
746
|
constructor(e, t, r, s) {
|
747
747
|
super(`${s ?? e.toLowerCase()}-changed`), this.key = e, this.oldValue = t, this.value = r, this.detail = { value: r };
|
748
748
|
}
|
@@ -755,7 +755,7 @@ var Or = class extends Event {
|
|
755
755
|
hostUpdated() {
|
756
756
|
for (const [e, t] of this.cache) {
|
757
757
|
const r = this.host[e], { attribute: s } = this.host.constructor.getPropertyOptions(e) ?? {}, n = typeof s == "string" ? s : null;
|
758
|
-
this.cache.set(e, r), this.host.dispatchEvent(new
|
758
|
+
this.cache.set(e, r), this.host.dispatchEvent(new Nr(e, t, r, n));
|
759
759
|
}
|
760
760
|
}
|
761
761
|
}, ge = ct;
|
@@ -771,7 +771,7 @@ function Lr(e) {
|
|
771
771
|
return s.value = e(n), s;
|
772
772
|
};
|
773
773
|
}
|
774
|
-
var
|
774
|
+
var Nt = Lr(function(e) {
|
775
775
|
const { name: t } = e;
|
776
776
|
return async function(...r) {
|
777
777
|
if (!this.stripe)
|
@@ -859,14 +859,14 @@ function ut(e) {
|
|
859
859
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
860
860
|
}, ut(e);
|
861
861
|
}
|
862
|
-
var Se = "https://js.stripe.com/v3", qr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, ie = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",
|
862
|
+
var Se = "https://js.stripe.com/v3", qr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, ie = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used", zr = function() {
|
863
863
|
for (var t = document.querySelectorAll('script[src^="'.concat(Se, '"]')), r = 0; r < t.length; r++) {
|
864
864
|
var s = t[r];
|
865
865
|
if (qr.test(s.src))
|
866
866
|
return s;
|
867
867
|
}
|
868
868
|
return null;
|
869
|
-
},
|
869
|
+
}, Br = function(t) {
|
870
870
|
var r = t && !t.advancedFraudSignals ? "?advancedFraudSignals=false" : "", s = document.createElement("script");
|
871
871
|
s.src = "".concat(Se).concat(r);
|
872
872
|
var n = document.head || document.body;
|
@@ -890,8 +890,8 @@ var Se = "https://js.stripe.com/v3", qr = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
|
|
890
890
|
return;
|
891
891
|
}
|
892
892
|
try {
|
893
|
-
var n =
|
894
|
-
n && t ? console.warn(ie) : n || (n =
|
893
|
+
var n = zr();
|
894
|
+
n && t ? console.warn(ie) : n || (n = Br(t)), n.addEventListener("load", function() {
|
895
895
|
window.Stripe ? r(window.Stripe) : s(new Error("Stripe.js not available"));
|
896
896
|
}), n.addEventListener("error", function() {
|
897
897
|
s(new Error("Failed to load Stripe.js"));
|
@@ -920,19 +920,19 @@ but received
|
|
920
920
|
if (Object.keys(t).length === 1 && typeof t.advancedFraudSignals == "boolean")
|
921
921
|
return t;
|
922
922
|
throw new Error(r);
|
923
|
-
},
|
923
|
+
}, we, _e = !1, $e = function() {
|
924
924
|
for (var t = arguments.length, r = new Array(t), s = 0; s < t; s++)
|
925
925
|
r[s] = arguments[s];
|
926
|
-
|
926
|
+
_e = !0;
|
927
927
|
var n = Date.now();
|
928
|
-
return jr(
|
928
|
+
return jr(we).then(function(i) {
|
929
929
|
return Hr(i, r, n);
|
930
930
|
});
|
931
931
|
};
|
932
932
|
$e.setLoadParameters = function(e) {
|
933
|
-
if (
|
933
|
+
if (_e)
|
934
934
|
throw new Error("You cannot change load parameters after calling loadStripe");
|
935
|
-
|
935
|
+
we = Fr(e);
|
936
936
|
};
|
937
937
|
var Ce = class extends Error {
|
938
938
|
constructor(e, t) {
|
@@ -1225,7 +1225,7 @@ var Gr = Tt`[hidden] {
|
|
1225
1225
|
"::selection",
|
1226
1226
|
":-webkit-autofill",
|
1227
1227
|
":disabled"
|
1228
|
-
],
|
1228
|
+
], _ = class extends h {
|
1229
1229
|
constructor() {
|
1230
1230
|
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;
|
1231
1231
|
}
|
@@ -1320,59 +1320,59 @@ var Gr = Tt`[hidden] {
|
|
1320
1320
|
p.set(this, { brand: t, complete: r, empty: s, error: n, invalid: i }), await this.updateComplete, this.fire("change", e);
|
1321
1321
|
}
|
1322
1322
|
};
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1323
|
+
_.is = "stripe-elements";
|
1324
|
+
_.elementType = "card";
|
1325
|
+
_.styles = [
|
1326
1326
|
Pe,
|
1327
1327
|
Jr
|
1328
1328
|
];
|
1329
1329
|
a([
|
1330
1330
|
c({ type: Boolean, attribute: "hide-icon" })
|
1331
|
-
],
|
1331
|
+
], _.prototype, "hideIcon", 2);
|
1332
1332
|
a([
|
1333
1333
|
c({ type: Boolean, attribute: "hide-postal-code" })
|
1334
|
-
],
|
1334
|
+
], _.prototype, "hidePostalCode", 2);
|
1335
1335
|
a([
|
1336
1336
|
c({ type: String, attribute: "icon-style" })
|
1337
|
-
],
|
1337
|
+
], _.prototype, "iconStyle", 2);
|
1338
1338
|
a([
|
1339
1339
|
c({ type: Object })
|
1340
|
-
],
|
1340
|
+
], _.prototype, "value", 2);
|
1341
1341
|
a([
|
1342
1342
|
P,
|
1343
1343
|
p,
|
1344
1344
|
c({ type: String })
|
1345
|
-
],
|
1345
|
+
], _.prototype, "brand", 2);
|
1346
1346
|
a([
|
1347
1347
|
P,
|
1348
1348
|
p,
|
1349
1349
|
c({ type: Boolean, reflect: !0 })
|
1350
|
-
],
|
1350
|
+
], _.prototype, "complete", 2);
|
1351
1351
|
a([
|
1352
1352
|
P,
|
1353
1353
|
p,
|
1354
1354
|
c({ type: Boolean, reflect: !0 })
|
1355
|
-
],
|
1355
|
+
], _.prototype, "empty", 2);
|
1356
1356
|
a([
|
1357
1357
|
P,
|
1358
1358
|
p,
|
1359
1359
|
c({ type: Boolean, reflect: !0 })
|
1360
|
-
],
|
1360
|
+
], _.prototype, "invalid", 2);
|
1361
1361
|
a([
|
1362
|
-
|
1363
|
-
],
|
1362
|
+
Nt
|
1363
|
+
], _.prototype, "createPaymentMethod", 1);
|
1364
1364
|
a([
|
1365
|
-
|
1366
|
-
],
|
1365
|
+
Nt
|
1366
|
+
], _.prototype, "createSource", 1);
|
1367
1367
|
a([
|
1368
|
-
|
1369
|
-
],
|
1368
|
+
Nt
|
1369
|
+
], _.prototype, "createToken", 1);
|
1370
1370
|
a([
|
1371
1371
|
x
|
1372
|
-
],
|
1373
|
-
|
1372
|
+
], _.prototype, "onChange", 1);
|
1373
|
+
_ = a([
|
1374
1374
|
ue("stripe-elements")
|
1375
|
-
],
|
1375
|
+
], _);
|
1376
1376
|
var Zr = Tt`#stripe {
|
1377
1377
|
box-sizing: border-box;
|
1378
1378
|
min-width: var(--stripe-payment-request-element-min-width, 300px);
|
@@ -1629,7 +1629,7 @@ var as = function(t) {
|
|
1629
1629
|
}, cs = function(t, r) {
|
1630
1630
|
!t || !t._registerWrapper || t._registerWrapper({
|
1631
1631
|
name: "stripe-js",
|
1632
|
-
version: "7.
|
1632
|
+
version: "7.9.0",
|
1633
1633
|
startTime: r
|
1634
1634
|
});
|
1635
1635
|
}, K = null, ot = null, at = null, us = function(t) {
|
@@ -1674,7 +1674,7 @@ var as = function(t) {
|
|
1674
1674
|
if (t === null)
|
1675
1675
|
return null;
|
1676
1676
|
var n = r[0], i = n.match(/^pk_test/), o = ss(t.version), u = Ae;
|
1677
|
-
i && o !== u && console.warn("Stripe.js@".concat(o, " was loaded on the page, but @stripe/stripe-js@").concat("7.
|
1677
|
+
i && o !== u && console.warn("Stripe.js@".concat(o, " was loaded on the page, but @stripe/stripe-js@").concat("7.9.0", " expected Stripe.js@").concat(u, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
|
1678
1678
|
var l = t.apply(void 0, r);
|
1679
1679
|
return cs(l, s), l;
|
1680
1680
|
}, J, xe = !1, Re = function() {
|
@@ -1696,7 +1696,7 @@ var ms = function() {
|
|
1696
1696
|
return hs(i, r, n);
|
1697
1697
|
});
|
1698
1698
|
};
|
1699
|
-
const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, vs = { class: "pr-3" }, gs = ["disable", "locale", "publishable-key"], bs = ["innerHTML"], Ss = { class: "ml-1 text-caption" },
|
1699
|
+
const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, vs = { class: "pr-3" }, gs = ["disable", "locale", "publishable-key"], bs = ["innerHTML"], Ss = { class: "ml-1 text-caption" }, ws = { class: "mr-1" }, Me = /* @__PURE__ */ qe({
|
1700
1700
|
__name: "CreditCardStripeForm",
|
1701
1701
|
props: {
|
1702
1702
|
amount: {},
|
@@ -1709,7 +1709,7 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
|
|
1709
1709
|
},
|
1710
1710
|
emits: ["change", "error", "payment:success"],
|
1711
1711
|
setup(e, { expose: t, emit: r }) {
|
1712
|
-
const s = e, { locale: n, t: i } =
|
1712
|
+
const s = e, { locale: n, t: i } = ze(), o = st(null), u = st(!1), l = st(null), d = st(null), m = r, { config: v } = Be();
|
1713
1713
|
function S(y) {
|
1714
1714
|
switch (y) {
|
1715
1715
|
case H.Production:
|
@@ -1725,7 +1725,7 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
|
|
1725
1725
|
const $ = ce(
|
1726
1726
|
() => S(v.value.apiEnvironment)
|
1727
1727
|
);
|
1728
|
-
function
|
1728
|
+
function N(y) {
|
1729
1729
|
o.value = "", m("change", !!y.detail.complete);
|
1730
1730
|
}
|
1731
1731
|
function A(y) {
|
@@ -1780,11 +1780,10 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
|
|
1780
1780
|
start: "",
|
1781
1781
|
size: "small"
|
1782
1782
|
}, {
|
1783
|
-
default: g(() => C[2] || (C[2] = [
|
1783
|
+
default: g(() => [...C[2] || (C[2] = [
|
1784
1784
|
nt(" fas fa-credit-card ", -1)
|
1785
|
-
])),
|
1786
|
-
_: 1
|
1787
|
-
__: [2]
|
1785
|
+
])]),
|
1786
|
+
_: 1
|
1788
1787
|
}),
|
1789
1788
|
nt(" " + T(R(i)("CreditCardStripeForm.title")) + ": ", 1),
|
1790
1789
|
y.loading ? (E(), k(Ze, {
|
@@ -1794,7 +1793,7 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
|
|
1794
1793
|
indeterminate: "",
|
1795
1794
|
size: "20",
|
1796
1795
|
width: "1"
|
1797
|
-
})) : (E(), k(
|
1796
|
+
})) : (E(), k(zt, {
|
1798
1797
|
key: 0,
|
1799
1798
|
amount: y.amount,
|
1800
1799
|
class: "font-weight-bold",
|
@@ -1806,11 +1805,10 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
|
|
1806
1805
|
end: "",
|
1807
1806
|
size: "small"
|
1808
1807
|
}, {
|
1809
|
-
default: g(() => C[3] || (C[3] = [
|
1808
|
+
default: g(() => [...C[3] || (C[3] = [
|
1810
1809
|
nt(" fas fa-lock ", -1)
|
1811
|
-
])),
|
1812
|
-
_: 1
|
1813
|
-
__: [3]
|
1810
|
+
])]),
|
1811
|
+
_: 1
|
1814
1812
|
})
|
1815
1813
|
])
|
1816
1814
|
]),
|
@@ -1881,7 +1879,7 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
|
|
1881
1879
|
"hide-postal-code": "",
|
1882
1880
|
locale: R(n),
|
1883
1881
|
"publishable-key": $.value,
|
1884
|
-
onChange:
|
1882
|
+
onChange: N,
|
1885
1883
|
onError: A,
|
1886
1884
|
onPaymentMethod: ft
|
1887
1885
|
}, null, 40, gs)) : (E(), k(W, {
|
@@ -1984,14 +1982,13 @@ const ys = { class: "w-100 d-flex justify-space-between items-center" }, fs = {
|
|
1984
1982
|
}, {
|
1985
1983
|
default: g(() => [
|
1986
1984
|
b(bt, { start: "" }, {
|
1987
|
-
default: g(() => C[4] || (C[4] = [
|
1985
|
+
default: g(() => [...C[4] || (C[4] = [
|
1988
1986
|
nt(" fas fa-lock ", -1)
|
1989
|
-
])),
|
1990
|
-
_: 1
|
1991
|
-
__: [4]
|
1987
|
+
])]),
|
1988
|
+
_: 1
|
1992
1989
|
}),
|
1993
|
-
M("span",
|
1994
|
-
b(
|
1990
|
+
M("span", ws, T(R(i)("CreditCardStripeForm.payNow")), 1),
|
1991
|
+
b(zt, {
|
1995
1992
|
amount: y.amount,
|
1996
1993
|
class: "font-weight-bold",
|
1997
1994
|
currency: y.currency
|
@@ -2147,4 +2144,4 @@ export {
|
|
2147
2144
|
As as C,
|
2148
2145
|
ir as V
|
2149
2146
|
};
|
2150
|
-
//# sourceMappingURL=revolugo.creditcardstripeform.
|
2147
|
+
//# sourceMappingURL=revolugo.creditcardstripeform.fJEiV2ta.min.js.map
|