@pontive/pontkit-core 1.3.2 → 1.3.3
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/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/index.js +171 -171
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +657 -603
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var N = (t, e, n) => Zu(t, typeof e != "symbol" ? e + "" : e, n);
|
|
|
6
6
|
* Copyright 2019 Google LLC
|
|
7
7
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const ki = globalThis, Il = ki.ShadowRoot && (ki.ShadyCSS === void 0 || ki.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Al = Symbol(), Pc = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
let ph = class {
|
|
11
11
|
constructor(e, n, o) {
|
|
12
12
|
if (this._$cssResult$ = !0, o !== Al) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -35,7 +35,7 @@ const Ju = (t) => new ph(typeof t == "string" ? t : t + "", void 0, Al), hh = (t
|
|
|
35
35
|
}, Qu = (t, e) => {
|
|
36
36
|
if (Il) t.adoptedStyleSheets = e.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
|
|
37
37
|
else for (const n of e) {
|
|
38
|
-
const o = document.createElement("style"), r =
|
|
38
|
+
const o = document.createElement("style"), r = ki.litNonce;
|
|
39
39
|
r !== void 0 && o.setAttribute("nonce", r), o.textContent = n.cssText, t.appendChild(o);
|
|
40
40
|
}
|
|
41
41
|
}, Rc = Il ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
|
|
@@ -48,7 +48,7 @@ const Ju = (t) => new ph(typeof t == "string" ? t : t + "", void 0, Al), hh = (t
|
|
|
48
48
|
* Copyright 2017 Google LLC
|
|
49
49
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
50
|
*/
|
|
51
|
-
const { is: Xu, defineProperty: tg, getOwnPropertyDescriptor: eg, getOwnPropertyNames: rg, getOwnPropertySymbols: ng, getPrototypeOf: og } = Object, Nr = globalThis, Ic = Nr.trustedTypes, ig = Ic ? Ic.emptyScript : "", Ks = Nr.reactiveElementPolyfillSupport, No = (t, e) => t,
|
|
51
|
+
const { is: Xu, defineProperty: tg, getOwnPropertyDescriptor: eg, getOwnPropertyNames: rg, getOwnPropertySymbols: ng, getPrototypeOf: og } = Object, Nr = globalThis, Ic = Nr.trustedTypes, ig = Ic ? Ic.emptyScript : "", Ks = Nr.reactiveElementPolyfillSupport, No = (t, e) => t, ji = { toAttribute(t, e) {
|
|
52
52
|
switch (e) {
|
|
53
53
|
case Boolean:
|
|
54
54
|
t = t ? ig : null;
|
|
@@ -76,7 +76,7 @@ const { is: Xu, defineProperty: tg, getOwnPropertyDescriptor: eg, getOwnProperty
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
return n;
|
|
79
|
-
} }, Tl = (t, e) => !Xu(t, e), Ac = { attribute: !0, type: String, converter:
|
|
79
|
+
} }, Tl = (t, e) => !Xu(t, e), Ac = { attribute: !0, type: String, converter: ji, reflect: !1, useDefault: !1, hasChanged: Tl };
|
|
80
80
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Nr.litPropertyMetadata ?? (Nr.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
81
81
|
let Kn = class extends HTMLElement {
|
|
82
82
|
static addInitializer(e) {
|
|
@@ -187,7 +187,7 @@ let Kn = class extends HTMLElement {
|
|
|
187
187
|
var i;
|
|
188
188
|
const o = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, o);
|
|
189
189
|
if (r !== void 0 && o.reflect === !0) {
|
|
190
|
-
const s = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter :
|
|
190
|
+
const s = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter : ji).toAttribute(n, o.type);
|
|
191
191
|
this._$Em = e, s == null ? this.removeAttribute(r) : this.setAttribute(r, s), this._$Em = null;
|
|
192
192
|
}
|
|
193
193
|
}
|
|
@@ -195,7 +195,7 @@ let Kn = class extends HTMLElement {
|
|
|
195
195
|
var i, s;
|
|
196
196
|
const o = this.constructor, r = o._$Eh.get(e);
|
|
197
197
|
if (r !== void 0 && this._$Em !== r) {
|
|
198
|
-
const c = o.getPropertyOptions(r), d = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((i = c.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? c.converter :
|
|
198
|
+
const c = o.getPropertyOptions(r), d = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((i = c.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? c.converter : ji;
|
|
199
199
|
this._$Em = r;
|
|
200
200
|
const g = d.fromAttribute(n, c.type);
|
|
201
201
|
this[r] = g ?? ((s = this._$Ej) == null ? void 0 : s.get(r)) ?? g, this._$Em = null;
|
|
@@ -287,7 +287,7 @@ Kn.elementStyles = [], Kn.shadowRootOptions = { mode: "open" }, Kn[No("elementPr
|
|
|
287
287
|
* Copyright 2017 Google LLC
|
|
288
288
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
289
289
|
*/
|
|
290
|
-
const jo = globalThis, Tc = (t) => t,
|
|
290
|
+
const jo = globalThis, Tc = (t) => t, Ui = jo.trustedTypes, Dc = Ui ? Ui.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, uh = "$lit$", Mr = `lit$${Math.random().toFixed(9).slice(2)}$`, gh = "?" + Mr, sg = `<${gh}>`, dn = document, Fo = () => dn.createComment(""), zo = (t) => t === null || typeof t != "object" && typeof t != "function", Dl = Array.isArray, ag = (t) => Dl(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ws = `[
|
|
291
291
|
\f\r]`, Ro = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lc = /-->/g, kc = />/g, rn = RegExp(`>|${Ws}(?:([^\\s"'>=/]+)(${Ws}*=${Ws}*(?:[^
|
|
292
292
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Mc = /'/g, Nc = /"/g, mh = /^(?:script|style|textarea|title)$/i, fh = (t) => (e, ...n) => ({ _$litType$: t, strings: e, values: n }), l = fh(1), Q = fh(2), Ur = Symbol.for("lit-noChange"), h = Symbol.for("lit-nothing"), jc = /* @__PURE__ */ new WeakMap(), an = dn.createTreeWalker(dn, 129);
|
|
293
293
|
function vh(t, e) {
|
|
@@ -306,13 +306,13 @@ const lg = (t, e) => {
|
|
|
306
306
|
}
|
|
307
307
|
return [vh(t, i + (t[n] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
|
|
308
308
|
};
|
|
309
|
-
class
|
|
309
|
+
class Vo {
|
|
310
310
|
constructor({ strings: e, _$litType$: n }, o) {
|
|
311
311
|
let r;
|
|
312
312
|
this.parts = [];
|
|
313
313
|
let i = 0, s = 0;
|
|
314
314
|
const c = e.length - 1, d = this.parts, [g, v] = lg(e, n);
|
|
315
|
-
if (this.el =
|
|
315
|
+
if (this.el = Vo.createElement(g, o), an.currentNode = this.el.content, n === 2 || n === 3) {
|
|
316
316
|
const y = this.el.content.firstChild;
|
|
317
317
|
y.replaceWith(...y.childNodes);
|
|
318
318
|
}
|
|
@@ -325,9 +325,9 @@ class zo {
|
|
|
325
325
|
if (mh.test(r.tagName)) {
|
|
326
326
|
const y = r.textContent.split(Mr), w = y.length - 1;
|
|
327
327
|
if (w > 0) {
|
|
328
|
-
r.textContent =
|
|
329
|
-
for (let _ = 0; _ < w; _++) r.append(y[_],
|
|
330
|
-
r.append(y[w],
|
|
328
|
+
r.textContent = Ui ? Ui.emptyScript : "";
|
|
329
|
+
for (let _ = 0; _ < w; _++) r.append(y[_], Fo()), an.nextNode(), d.push({ type: 2, index: ++i });
|
|
330
|
+
r.append(y[w], Fo());
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
} else if (r.nodeType === 8) if (r.data === gh) d.push({ type: 2, index: i });
|
|
@@ -347,7 +347,7 @@ function Yn(t, e, n = t, o) {
|
|
|
347
347
|
var s, c;
|
|
348
348
|
if (e === Ur) return e;
|
|
349
349
|
let r = o !== void 0 ? (s = n._$Co) == null ? void 0 : s[o] : n._$Cl;
|
|
350
|
-
const i =
|
|
350
|
+
const i = zo(e) ? void 0 : e._$litDirective$;
|
|
351
351
|
return (r == null ? void 0 : r.constructor) !== i && ((c = r == null ? void 0 : r._$AO) == null || c.call(r, !1), i === void 0 ? r = void 0 : (r = new i(t), r._$AT(t, n, o)), o !== void 0 ? (n._$Co ?? (n._$Co = []))[o] = r : n._$Cl = r), r !== void 0 && (e = Yn(t, r._$AS(t, e.values), r, o)), e;
|
|
352
352
|
}
|
|
353
353
|
class cg {
|
|
@@ -367,7 +367,7 @@ class cg {
|
|
|
367
367
|
for (; d !== void 0; ) {
|
|
368
368
|
if (s === d.index) {
|
|
369
369
|
let g;
|
|
370
|
-
d.type === 2 ? g = new
|
|
370
|
+
d.type === 2 ? g = new li(i, i.nextSibling, this, e) : d.type === 1 ? g = new d.ctor(i, d.name, d.strings, this, e) : d.type === 6 && (g = new ug(i, this, e)), this._$AV.push(g), d = o[++c];
|
|
371
371
|
}
|
|
372
372
|
s !== (d == null ? void 0 : d.index) && (i = an.nextNode(), s++);
|
|
373
373
|
}
|
|
@@ -378,7 +378,7 @@ class cg {
|
|
|
378
378
|
for (const o of this._$AV) o !== void 0 && (o.strings !== void 0 ? (o._$AI(e, o, n), n += o.strings.length - 2) : o._$AI(e[n])), n++;
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
|
-
class
|
|
381
|
+
class li {
|
|
382
382
|
get _$AU() {
|
|
383
383
|
var e;
|
|
384
384
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
|
@@ -398,7 +398,7 @@ class ai {
|
|
|
398
398
|
return this._$AB;
|
|
399
399
|
}
|
|
400
400
|
_$AI(e, n = this) {
|
|
401
|
-
e = Yn(this, e, n),
|
|
401
|
+
e = Yn(this, e, n), zo(e) ? e === h || e == null || e === "" ? (this._$AH !== h && this._$AR(), this._$AH = h) : e !== this._$AH && e !== Ur && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : ag(e) ? this.k(e) : this._(e);
|
|
402
402
|
}
|
|
403
403
|
O(e) {
|
|
404
404
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -407,11 +407,11 @@ class ai {
|
|
|
407
407
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
408
408
|
}
|
|
409
409
|
_(e) {
|
|
410
|
-
this._$AH !== h &&
|
|
410
|
+
this._$AH !== h && zo(this._$AH) ? this._$AA.nextSibling.data = e : this.T(dn.createTextNode(e)), this._$AH = e;
|
|
411
411
|
}
|
|
412
412
|
$(e) {
|
|
413
413
|
var i;
|
|
414
|
-
const { values: n, _$litType$: o } = e, r = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el =
|
|
414
|
+
const { values: n, _$litType$: o } = e, r = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = Vo.createElement(vh(o.h, o.h[0]), this.options)), o);
|
|
415
415
|
if (((i = this._$AH) == null ? void 0 : i._$AD) === r) this._$AH.p(n);
|
|
416
416
|
else {
|
|
417
417
|
const s = new cg(r, this), c = s.u(this.options);
|
|
@@ -420,13 +420,13 @@ class ai {
|
|
|
420
420
|
}
|
|
421
421
|
_$AC(e) {
|
|
422
422
|
let n = jc.get(e.strings);
|
|
423
|
-
return n === void 0 && jc.set(e.strings, n = new
|
|
423
|
+
return n === void 0 && jc.set(e.strings, n = new Vo(e)), n;
|
|
424
424
|
}
|
|
425
425
|
k(e) {
|
|
426
426
|
Dl(this._$AH) || (this._$AH = [], this._$AR());
|
|
427
427
|
const n = this._$AH;
|
|
428
428
|
let o, r = 0;
|
|
429
|
-
for (const i of e) r === n.length ? n.push(o = new
|
|
429
|
+
for (const i of e) r === n.length ? n.push(o = new li(this.O(Fo()), this.O(Fo()), this, this.options)) : o = n[r], o._$AI(i), r++;
|
|
430
430
|
r < n.length && (this._$AR(o && o._$AB.nextSibling, r), n.length = r);
|
|
431
431
|
}
|
|
432
432
|
_$AR(e = this._$AA.nextSibling, n) {
|
|
@@ -454,11 +454,11 @@ class ys {
|
|
|
454
454
|
_$AI(e, n = this, o, r) {
|
|
455
455
|
const i = this.strings;
|
|
456
456
|
let s = !1;
|
|
457
|
-
if (i === void 0) e = Yn(this, e, n, 0), s = !
|
|
457
|
+
if (i === void 0) e = Yn(this, e, n, 0), s = !zo(e) || e !== this._$AH && e !== Ur, s && (this._$AH = e);
|
|
458
458
|
else {
|
|
459
459
|
const c = e;
|
|
460
460
|
let d, g;
|
|
461
|
-
for (e = i[0], d = 0; d < i.length - 1; d++) g = Yn(this, c[o + d], n, d), g === Ur && (g = this._$AH[d]), s || (s = !
|
|
461
|
+
for (e = i[0], d = 0; d < i.length - 1; d++) g = Yn(this, c[o + d], n, d), g === Ur && (g = this._$AH[d]), s || (s = !zo(g) || g !== this._$AH[d]), g === h ? e = h : e !== h && (e += (g ?? "") + i[d + 1]), this._$AH[d] = g;
|
|
462
462
|
}
|
|
463
463
|
s && !r && this.j(e);
|
|
464
464
|
}
|
|
@@ -508,13 +508,13 @@ class ug {
|
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
const Ys = jo.litHtmlPolyfillSupport;
|
|
511
|
-
Ys == null || Ys(
|
|
511
|
+
Ys == null || Ys(Vo, li), (jo.litHtmlVersions ?? (jo.litHtmlVersions = [])).push("3.3.3");
|
|
512
512
|
const gg = (t, e, n) => {
|
|
513
513
|
const o = (n == null ? void 0 : n.renderBefore) ?? e;
|
|
514
514
|
let r = o._$litPart$;
|
|
515
515
|
if (r === void 0) {
|
|
516
516
|
const i = (n == null ? void 0 : n.renderBefore) ?? null;
|
|
517
|
-
o._$litPart$ = r = new
|
|
517
|
+
o._$litPart$ = r = new li(e.insertBefore(Fo(), i), i, void 0, n ?? {});
|
|
518
518
|
}
|
|
519
519
|
return r._$AI(t), r;
|
|
520
520
|
};
|
|
@@ -569,7 +569,7 @@ const p = (t) => (e, n) => {
|
|
|
569
569
|
* Copyright 2017 Google LLC
|
|
570
570
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
571
571
|
*/
|
|
572
|
-
const mg = { attribute: !0, type: String, converter:
|
|
572
|
+
const mg = { attribute: !0, type: String, converter: ji, reflect: !1, hasChanged: Tl }, fg = (t = mg, e, n) => {
|
|
573
573
|
const { kind: o, metadata: r } = n;
|
|
574
574
|
let i = globalThis.litPropertyMetadata.get(r);
|
|
575
575
|
if (i === void 0 && globalThis.litPropertyMetadata.set(r, i = /* @__PURE__ */ new Map()), o === "setter" && ((t = Object.create(t)).wrapped = !0), i.set(n.name, t), o === "accessor") {
|
|
@@ -615,7 +615,7 @@ const vg = (t, e, n) => (n.configurable = !0, n.enumerable = !0, Reflect.decorat
|
|
|
615
615
|
* Copyright 2017 Google LLC
|
|
616
616
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
617
617
|
*/
|
|
618
|
-
function
|
|
618
|
+
function ci(t, e) {
|
|
619
619
|
return (n, o, r) => {
|
|
620
620
|
const i = (s) => {
|
|
621
621
|
var c;
|
|
@@ -1031,7 +1031,7 @@ const pt = (t) => {
|
|
|
1031
1031
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1032
1032
|
Mg.test(t) && !Ng.test(t)
|
|
1033
1033
|
), Eh = () => !1, Wg = (t) => jg.test(t), Yg = (t) => Ug.test(t), Zg = () => {
|
|
1034
|
-
const t = pt("colors"), e = pt("spacing"), n = pt("blur"), o = pt("brightness"), r = pt("borderColor"), i = pt("borderRadius"), s = pt("borderSpacing"), c = pt("borderWidth"), d = pt("contrast"), g = pt("grayscale"), v = pt("hueRotate"), y = pt("invert"), w = pt("gap"), _ = pt("gradientColorStops"), S = pt("gradientColorStopPositions"), E = pt("inset"), L = pt("margin"), R = pt("opacity"), q = pt("padding"), B = pt("saturate"), M = pt("scale"), dt = pt("sepia"), k = pt("skew"), j = pt("space"), U = pt("translate"), I = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", W, e], C = () => [W, e], z = () => ["", fr, Tr], K = () => ["auto", Wn, W], Ee = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], qe = () => ["solid", "dashed", "dotted", "double", "none"],
|
|
1034
|
+
const t = pt("colors"), e = pt("spacing"), n = pt("blur"), o = pt("brightness"), r = pt("borderColor"), i = pt("borderRadius"), s = pt("borderSpacing"), c = pt("borderWidth"), d = pt("contrast"), g = pt("grayscale"), v = pt("hueRotate"), y = pt("invert"), w = pt("gap"), _ = pt("gradientColorStops"), S = pt("gradientColorStopPositions"), E = pt("inset"), L = pt("margin"), R = pt("opacity"), q = pt("padding"), B = pt("saturate"), M = pt("scale"), dt = pt("sepia"), k = pt("skew"), j = pt("space"), U = pt("translate"), I = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", W, e], C = () => [W, e], z = () => ["", fr, Tr], K = () => ["auto", Wn, W], Ee = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], qe = () => ["solid", "dashed", "dotted", "double", "none"], xi = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Mn = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], en = () => ["", "0", W], Nn = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Jt = () => [Wn, W];
|
|
1035
1035
|
return {
|
|
1036
1036
|
cacheSize: 500,
|
|
1037
1037
|
separator: ":",
|
|
@@ -2425,14 +2425,14 @@ const pt = (t) => {
|
|
|
2425
2425
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2426
2426
|
*/
|
|
2427
2427
|
"mix-blend": [{
|
|
2428
|
-
"mix-blend": [...
|
|
2428
|
+
"mix-blend": [...xi(), "plus-lighter", "plus-darker"]
|
|
2429
2429
|
}],
|
|
2430
2430
|
/**
|
|
2431
2431
|
* Background Blend Mode
|
|
2432
2432
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2433
2433
|
*/
|
|
2434
2434
|
"bg-blend": [{
|
|
2435
|
-
"bg-blend":
|
|
2435
|
+
"bg-blend": xi()
|
|
2436
2436
|
}],
|
|
2437
2437
|
// Filters
|
|
2438
2438
|
/**
|
|
@@ -3102,7 +3102,7 @@ const Uo = (t, e) => {
|
|
|
3102
3102
|
if (n === void 0) return !1;
|
|
3103
3103
|
for (const r of n) (o = r._$AO) == null || o.call(r, e, !1), Uo(r, e);
|
|
3104
3104
|
return !0;
|
|
3105
|
-
},
|
|
3105
|
+
}, qi = (t) => {
|
|
3106
3106
|
let e, n;
|
|
3107
3107
|
do {
|
|
3108
3108
|
if ((e = t._$AM) === void 0) break;
|
|
@@ -3117,12 +3117,12 @@ const Uo = (t, e) => {
|
|
|
3117
3117
|
}
|
|
3118
3118
|
};
|
|
3119
3119
|
function tm(t) {
|
|
3120
|
-
this._$AN !== void 0 ? (
|
|
3120
|
+
this._$AN !== void 0 ? (qi(this), this._$AM = t, xh(this)) : this._$AM = t;
|
|
3121
3121
|
}
|
|
3122
3122
|
function em(t, e = !1, n = 0) {
|
|
3123
3123
|
const o = this._$AH, r = this._$AN;
|
|
3124
|
-
if (r !== void 0 && r.size !== 0) if (e) if (Array.isArray(o)) for (let i = n; i < o.length; i++) Uo(o[i], !1),
|
|
3125
|
-
else o != null && (Uo(o, !1),
|
|
3124
|
+
if (r !== void 0 && r.size !== 0) if (e) if (Array.isArray(o)) for (let i = n; i < o.length; i++) Uo(o[i], !1), qi(o[i]);
|
|
3125
|
+
else o != null && (Uo(o, !1), qi(o));
|
|
3126
3126
|
else Uo(this, t);
|
|
3127
3127
|
}
|
|
3128
3128
|
const rm = (t) => {
|
|
@@ -3137,7 +3137,7 @@ class Oh extends _s {
|
|
|
3137
3137
|
}
|
|
3138
3138
|
_$AO(e, n = !0) {
|
|
3139
3139
|
var o, r;
|
|
3140
|
-
e !== this.isConnected && (this.isConnected = e, e ? (o = this.reconnected) == null || o.call(this) : (r = this.disconnected) == null || r.call(this)), n && (Uo(this, e),
|
|
3140
|
+
e !== this.isConnected && (this.isConnected = e, e ? (o = this.reconnected) == null || o.call(this) : (r = this.disconnected) == null || r.call(this)), n && (Uo(this, e), qi(this));
|
|
3141
3141
|
}
|
|
3142
3142
|
setValue(e) {
|
|
3143
3143
|
if (Jg(this._$Ct)) this._$Ct._$AI(e, this);
|
|
@@ -3277,7 +3277,7 @@ const Wt = lo(im);
|
|
|
3277
3277
|
* Copyright 2017 Google LLC
|
|
3278
3278
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3279
3279
|
*/
|
|
3280
|
-
let
|
|
3280
|
+
let Bi = class extends _s {
|
|
3281
3281
|
constructor(e) {
|
|
3282
3282
|
if (super(e), this.it = h, e.type !== Nl.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
3283
3283
|
}
|
|
@@ -3291,8 +3291,8 @@ let qi = class extends _s {
|
|
|
3291
3291
|
return n.raw = n, this._t = { _$litType$: this.constructor.resultType, strings: n, values: [] };
|
|
3292
3292
|
}
|
|
3293
3293
|
};
|
|
3294
|
-
|
|
3295
|
-
const Ph = lo(
|
|
3294
|
+
Bi.directiveName = "unsafeHTML", Bi.resultType = 1;
|
|
3295
|
+
const Ph = lo(Bi), Ho = {
|
|
3296
3296
|
base: [""],
|
|
3297
3297
|
item: [
|
|
3298
3298
|
"pont-border-b-accordion-item-width-border pont-border-b-accordion-item-color-border"
|
|
@@ -3386,7 +3386,7 @@ let Aa = class extends b {
|
|
|
3386
3386
|
role="region"
|
|
3387
3387
|
data-state=${t ? "open" : "closed"}
|
|
3388
3388
|
data-orientation="vertical"
|
|
3389
|
-
class=${u(
|
|
3389
|
+
class=${u(Ho.content, this.className)}
|
|
3390
3390
|
@click=${(n) => n.stopPropagation()}
|
|
3391
3391
|
>
|
|
3392
3392
|
<div>${Ph(((e = this.textContent) == null ? void 0 : e.trim()) || "")}</div>
|
|
@@ -3450,7 +3450,7 @@ let Ve = class extends b {
|
|
|
3450
3450
|
return l`
|
|
3451
3451
|
<div
|
|
3452
3452
|
data-state=${t ? "open" : "closed"}
|
|
3453
|
-
class="${u(
|
|
3453
|
+
class="${u(Ho.item, this.className)}"
|
|
3454
3454
|
value=${this.value}
|
|
3455
3455
|
role="tablist"
|
|
3456
3456
|
data-orientation="vertical"
|
|
@@ -3513,7 +3513,7 @@ let Ta = class extends b {
|
|
|
3513
3513
|
aria-selected=${t}
|
|
3514
3514
|
aria-expanded=${t}
|
|
3515
3515
|
data-state=${t ? "open" : "closed"}
|
|
3516
|
-
class="${u(
|
|
3516
|
+
class="${u(Ho.trigger, this.className)}"
|
|
3517
3517
|
tabindex="-1"
|
|
3518
3518
|
data-orientation="horizontal"
|
|
3519
3519
|
data-radix-collection-item
|
|
@@ -3529,7 +3529,7 @@ let Ta = class extends b {
|
|
|
3529
3529
|
stroke-linecap="round"
|
|
3530
3530
|
stroke-linejoin="round"
|
|
3531
3531
|
class=${u(
|
|
3532
|
-
|
|
3532
|
+
Ho.chevron,
|
|
3533
3533
|
"lucide lucide-chevron-down-icon lucide-chevron-down"
|
|
3534
3534
|
)}
|
|
3535
3535
|
>
|
|
@@ -3606,7 +3606,7 @@ let Zn = class extends b {
|
|
|
3606
3606
|
data-orientation="vertical"
|
|
3607
3607
|
${Wt(this.getFilteredAttributes())}
|
|
3608
3608
|
part="accordion"
|
|
3609
|
-
class="${u(
|
|
3609
|
+
class="${u(Ho.base, this.className)}"
|
|
3610
3610
|
>
|
|
3611
3611
|
${t}
|
|
3612
3612
|
</div>
|
|
@@ -3806,7 +3806,7 @@ var Em = Object.defineProperty, Sm = Object.getOwnPropertyDescriptor, ws = (t, e
|
|
|
3806
3806
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
3807
3807
|
return o && r && Em(e, n, r), r;
|
|
3808
3808
|
};
|
|
3809
|
-
let
|
|
3809
|
+
let Go = class extends f {
|
|
3810
3810
|
constructor() {
|
|
3811
3811
|
super(...arguments), this.size = "default", this._imageLoaded = !1, this._imageError = !1;
|
|
3812
3812
|
}
|
|
@@ -3881,22 +3881,22 @@ let Ho = class extends f {
|
|
|
3881
3881
|
};
|
|
3882
3882
|
ws([
|
|
3883
3883
|
a({ type: String })
|
|
3884
|
-
],
|
|
3884
|
+
], Go.prototype, "size", 2);
|
|
3885
3885
|
ws([
|
|
3886
3886
|
m()
|
|
3887
|
-
],
|
|
3887
|
+
], Go.prototype, "_imageLoaded", 2);
|
|
3888
3888
|
ws([
|
|
3889
3889
|
m()
|
|
3890
|
-
],
|
|
3891
|
-
|
|
3890
|
+
], Go.prototype, "_imageError", 2);
|
|
3891
|
+
Go = ws([
|
|
3892
3892
|
p("pont-avatar")
|
|
3893
|
-
],
|
|
3893
|
+
], Go);
|
|
3894
3894
|
var xm = Object.defineProperty, Om = Object.getOwnPropertyDescriptor, Ul = (t, e, n, o) => {
|
|
3895
3895
|
for (var r = o > 1 ? void 0 : o ? Om(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
3896
3896
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
3897
3897
|
return o && r && xm(e, n, r), r;
|
|
3898
3898
|
};
|
|
3899
|
-
let
|
|
3899
|
+
let Fi = class extends f {
|
|
3900
3900
|
/**
|
|
3901
3901
|
* Handles the image load event.
|
|
3902
3902
|
*/
|
|
@@ -3936,13 +3936,13 @@ let Bi = class extends f {
|
|
|
3936
3936
|
};
|
|
3937
3937
|
Ul([
|
|
3938
3938
|
a({ type: String })
|
|
3939
|
-
],
|
|
3939
|
+
], Fi.prototype, "src", 2);
|
|
3940
3940
|
Ul([
|
|
3941
3941
|
a({ type: String })
|
|
3942
|
-
],
|
|
3943
|
-
|
|
3942
|
+
], Fi.prototype, "alt", 2);
|
|
3943
|
+
Fi = Ul([
|
|
3944
3944
|
p("pont-avatar-image")
|
|
3945
|
-
],
|
|
3945
|
+
], Fi);
|
|
3946
3946
|
var Pm = Object.getOwnPropertyDescriptor, Rm = (t, e, n, o) => {
|
|
3947
3947
|
for (var r = o > 1 ? void 0 : o ? Pm(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
3948
3948
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -4071,7 +4071,7 @@ let Wc = class extends f {
|
|
|
4071
4071
|
Wc = km([
|
|
4072
4072
|
p("pont-avatar-group-count")
|
|
4073
4073
|
], Wc);
|
|
4074
|
-
var Mm = Object.defineProperty, Nm = Object.getOwnPropertyDescriptor,
|
|
4074
|
+
var Mm = Object.defineProperty, Nm = Object.getOwnPropertyDescriptor, di = (t, e, n, o) => {
|
|
4075
4075
|
for (var r = o > 1 ? void 0 : o ? Nm(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
4076
4076
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
4077
4077
|
return o && r && Mm(e, n, r), r;
|
|
@@ -4120,19 +4120,19 @@ let Jn = class extends f {
|
|
|
4120
4120
|
`;
|
|
4121
4121
|
}
|
|
4122
4122
|
};
|
|
4123
|
-
|
|
4123
|
+
di([
|
|
4124
4124
|
a({ type: String })
|
|
4125
4125
|
], Jn.prototype, "variant", 2);
|
|
4126
|
-
|
|
4126
|
+
di([
|
|
4127
4127
|
a({ type: Boolean })
|
|
4128
4128
|
], Jn.prototype, "invalid", 2);
|
|
4129
|
-
|
|
4129
|
+
di([
|
|
4130
4130
|
a({ type: String })
|
|
4131
4131
|
], Jn.prototype, "href", 2);
|
|
4132
|
-
|
|
4132
|
+
di([
|
|
4133
4133
|
a({ type: String })
|
|
4134
4134
|
], Jn.prototype, "target", 2);
|
|
4135
|
-
Jn =
|
|
4135
|
+
Jn = di([
|
|
4136
4136
|
p("pont-badge")
|
|
4137
4137
|
], Jn);
|
|
4138
4138
|
const co = {
|
|
@@ -4749,7 +4749,7 @@ const ed = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, rd = kl, q
|
|
|
4749
4749
|
]
|
|
4750
4750
|
}
|
|
4751
4751
|
};
|
|
4752
|
-
var nf = Object.defineProperty, of = Object.getOwnPropertyDescriptor,
|
|
4752
|
+
var nf = Object.defineProperty, of = Object.getOwnPropertyDescriptor, pi = (t, e, n, o) => {
|
|
4753
4753
|
for (var r = o > 1 ? void 0 : o ? of(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
4754
4754
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
4755
4755
|
return o && r && nf(e, n, r), r;
|
|
@@ -5022,19 +5022,19 @@ let Qn = class extends f {
|
|
|
5022
5022
|
`;
|
|
5023
5023
|
}
|
|
5024
5024
|
};
|
|
5025
|
-
|
|
5025
|
+
pi([
|
|
5026
5026
|
a({ type: Object })
|
|
5027
5027
|
], Qn.prototype, "currentDate", 2);
|
|
5028
|
-
|
|
5028
|
+
pi([
|
|
5029
5029
|
a({ type: Object })
|
|
5030
5030
|
], Qn.prototype, "selectedStartDate", 2);
|
|
5031
|
-
|
|
5031
|
+
pi([
|
|
5032
5032
|
a({ type: Object })
|
|
5033
5033
|
], Qn.prototype, "selectedEndDate", 2);
|
|
5034
|
-
|
|
5034
|
+
pi([
|
|
5035
5035
|
a({ type: String })
|
|
5036
5036
|
], Qn.prototype, "mode", 2);
|
|
5037
|
-
Qn =
|
|
5037
|
+
Qn = pi([
|
|
5038
5038
|
p("pont-calendar")
|
|
5039
5039
|
], Qn);
|
|
5040
5040
|
var sf = Object.defineProperty, af = Object.getOwnPropertyDescriptor, Dh = (t, e, n, o) => {
|
|
@@ -5611,7 +5611,7 @@ po([
|
|
|
5611
5611
|
a({ type: Boolean })
|
|
5612
5612
|
], pn.prototype, "size", 2);
|
|
5613
5613
|
po([
|
|
5614
|
-
|
|
5614
|
+
ci(".slides")
|
|
5615
5615
|
], pn.prototype, "slides", 2);
|
|
5616
5616
|
pn = po([
|
|
5617
5617
|
p("pont-carousel")
|
|
@@ -5777,7 +5777,7 @@ let ld = class extends b {
|
|
|
5777
5777
|
}
|
|
5778
5778
|
get _collapsible() {
|
|
5779
5779
|
let t = this.parentElement;
|
|
5780
|
-
for (; t && !(t instanceof
|
|
5780
|
+
for (; t && !(t instanceof zi); )
|
|
5781
5781
|
t = t.parentElement;
|
|
5782
5782
|
return t;
|
|
5783
5783
|
}
|
|
@@ -5857,7 +5857,7 @@ var Nf = Object.defineProperty, jf = Object.getOwnPropertyDescriptor, Mh = (t, e
|
|
|
5857
5857
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
5858
5858
|
return o && r && Nf(e, n, r), r;
|
|
5859
5859
|
};
|
|
5860
|
-
let
|
|
5860
|
+
let zi = class extends b {
|
|
5861
5861
|
constructor() {
|
|
5862
5862
|
super(...arguments), this.open = !1, this._clickHandler = () => {
|
|
5863
5863
|
var t;
|
|
@@ -5899,10 +5899,10 @@ let Fi = class extends b {
|
|
|
5899
5899
|
};
|
|
5900
5900
|
Mh([
|
|
5901
5901
|
a({ type: Boolean })
|
|
5902
|
-
],
|
|
5903
|
-
|
|
5902
|
+
], zi.prototype, "open", 2);
|
|
5903
|
+
zi = Mh([
|
|
5904
5904
|
p("pont-collapsible")
|
|
5905
|
-
],
|
|
5905
|
+
], zi);
|
|
5906
5906
|
const ho = {
|
|
5907
5907
|
empty: [
|
|
5908
5908
|
"pont-py-combo-box-empty-space-py",
|
|
@@ -6043,7 +6043,7 @@ let Ua = class extends b {
|
|
|
6043
6043
|
}
|
|
6044
6044
|
};
|
|
6045
6045
|
Nh([
|
|
6046
|
-
|
|
6046
|
+
ci("button")
|
|
6047
6047
|
], Ua.prototype, "buttonElement", 2);
|
|
6048
6048
|
Ua = Nh([
|
|
6049
6049
|
p("pont-combo-box-trigger")
|
|
@@ -6103,7 +6103,7 @@ var zf = Object.defineProperty, Vf = Object.getOwnPropertyDescriptor, Bl = (t, e
|
|
|
6103
6103
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
6104
6104
|
return o && r && zf(e, n, r), r;
|
|
6105
6105
|
};
|
|
6106
|
-
let
|
|
6106
|
+
let Vi = class extends f {
|
|
6107
6107
|
constructor() {
|
|
6108
6108
|
super(...arguments), this.orientation = "horizontal";
|
|
6109
6109
|
}
|
|
@@ -6123,14 +6123,14 @@ let zi = class extends f {
|
|
|
6123
6123
|
};
|
|
6124
6124
|
Bl([
|
|
6125
6125
|
a({ type: String })
|
|
6126
|
-
],
|
|
6126
|
+
], Vi.prototype, "orientation", 2);
|
|
6127
6127
|
Bl([
|
|
6128
6128
|
a({ type: Boolean })
|
|
6129
|
-
],
|
|
6130
|
-
|
|
6129
|
+
], Vi.prototype, "decorative", 2);
|
|
6130
|
+
Vi = Bl([
|
|
6131
6131
|
p("pont-separator")
|
|
6132
|
-
],
|
|
6133
|
-
var Hf = Object.defineProperty, Gf = Object.getOwnPropertyDescriptor,
|
|
6132
|
+
], Vi);
|
|
6133
|
+
var Hf = Object.defineProperty, Gf = Object.getOwnPropertyDescriptor, hi = (t, e, n, o) => {
|
|
6134
6134
|
for (var r = o > 1 ? void 0 : o ? Gf(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
6135
6135
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
6136
6136
|
return o && r && Hf(e, n, r), r;
|
|
@@ -6315,19 +6315,19 @@ let hn = class extends b {
|
|
|
6315
6315
|
`;
|
|
6316
6316
|
}
|
|
6317
6317
|
};
|
|
6318
|
-
|
|
6318
|
+
hi([
|
|
6319
6319
|
m()
|
|
6320
6320
|
], hn.prototype, "searchKey", 2);
|
|
6321
|
-
|
|
6321
|
+
hi([
|
|
6322
6322
|
m()
|
|
6323
6323
|
], hn.prototype, "focusedIndex", 2);
|
|
6324
|
-
|
|
6324
|
+
hi([
|
|
6325
6325
|
m()
|
|
6326
6326
|
], hn.prototype, "selectedValue", 2);
|
|
6327
|
-
|
|
6327
|
+
hi([
|
|
6328
6328
|
m()
|
|
6329
6329
|
], hn.prototype, "isOpen", 2);
|
|
6330
|
-
hn =
|
|
6330
|
+
hn = hi([
|
|
6331
6331
|
p("pont-combo-box-group")
|
|
6332
6332
|
], hn);
|
|
6333
6333
|
var Kf = Object.defineProperty, Wf = Object.getOwnPropertyDescriptor, Me = (t, e, n, o) => {
|
|
@@ -6412,7 +6412,7 @@ Me([
|
|
|
6412
6412
|
a({ type: Function })
|
|
6413
6413
|
], ge.prototype, "onMouseOver", 2);
|
|
6414
6414
|
Me([
|
|
6415
|
-
|
|
6415
|
+
ci("#pont-combo-box-item")
|
|
6416
6416
|
], ge.prototype, "itemDivContainer", 2);
|
|
6417
6417
|
ge = Me([
|
|
6418
6418
|
p("pont-combo-box-item")
|
|
@@ -6422,7 +6422,7 @@ var Yf = Object.defineProperty, Zf = Object.getOwnPropertyDescriptor, Fl = (t, e
|
|
|
6422
6422
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
6423
6423
|
return o && r && Yf(e, n, r), r;
|
|
6424
6424
|
};
|
|
6425
|
-
let
|
|
6425
|
+
let Hi = class extends f {
|
|
6426
6426
|
constructor() {
|
|
6427
6427
|
super(...arguments), this.placeholder = "Search Item ...", this.searchValue = "";
|
|
6428
6428
|
}
|
|
@@ -6467,13 +6467,13 @@ let Vi = class extends f {
|
|
|
6467
6467
|
};
|
|
6468
6468
|
Fl([
|
|
6469
6469
|
a({ type: String })
|
|
6470
|
-
],
|
|
6470
|
+
], Hi.prototype, "placeholder", 2);
|
|
6471
6471
|
Fl([
|
|
6472
6472
|
m()
|
|
6473
|
-
],
|
|
6474
|
-
|
|
6473
|
+
], Hi.prototype, "searchValue", 2);
|
|
6474
|
+
Hi = Fl([
|
|
6475
6475
|
p("pont-combo-box-input")
|
|
6476
|
-
],
|
|
6476
|
+
], Hi);
|
|
6477
6477
|
var Jf = Object.getOwnPropertyDescriptor, Qf = (t, e, n, o) => {
|
|
6478
6478
|
for (var r = o > 1 ? void 0 : o ? Jf(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
6479
6479
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -6597,7 +6597,7 @@ nr([
|
|
|
6597
6597
|
a({ type: Array })
|
|
6598
6598
|
], te.prototype, "items", 2);
|
|
6599
6599
|
nr([
|
|
6600
|
-
|
|
6600
|
+
ci('[part="combo-box"]')
|
|
6601
6601
|
], te.prototype, "parentDiveElement", 2);
|
|
6602
6602
|
te = nr([
|
|
6603
6603
|
p("pont-combo-box")
|
|
@@ -6806,7 +6806,7 @@ var iv = Object.defineProperty, sv = Object.getOwnPropertyDescriptor, Vl = (t, e
|
|
|
6806
6806
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
6807
6807
|
return o && r && iv(e, n, r), r;
|
|
6808
6808
|
};
|
|
6809
|
-
let
|
|
6809
|
+
let Gi = class extends f {
|
|
6810
6810
|
constructor() {
|
|
6811
6811
|
super(...arguments), this.placeholder = "Type a command or search...", this._value = "";
|
|
6812
6812
|
}
|
|
@@ -6890,13 +6890,13 @@ let Hi = class extends f {
|
|
|
6890
6890
|
};
|
|
6891
6891
|
Vl([
|
|
6892
6892
|
a({ type: String })
|
|
6893
|
-
],
|
|
6893
|
+
], Gi.prototype, "placeholder", 2);
|
|
6894
6894
|
Vl([
|
|
6895
6895
|
a({ attribute: "value", type: String })
|
|
6896
|
-
],
|
|
6897
|
-
|
|
6896
|
+
], Gi.prototype, "_value", 2);
|
|
6897
|
+
Gi = Vl([
|
|
6898
6898
|
p("pont-command-input")
|
|
6899
|
-
],
|
|
6899
|
+
], Gi);
|
|
6900
6900
|
var av = Object.defineProperty, lv = Object.getOwnPropertyDescriptor, uo = (t, e, n, o) => {
|
|
6901
6901
|
for (var r = o > 1 ? void 0 : o ? lv(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
6902
6902
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -7376,7 +7376,7 @@ var wv = Object.defineProperty, $v = Object.getOwnPropertyDescriptor, Gl = (t, e
|
|
|
7376
7376
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
7377
7377
|
return o && r && wv(e, n, r), r;
|
|
7378
7378
|
};
|
|
7379
|
-
let
|
|
7379
|
+
let Ki = class extends b {
|
|
7380
7380
|
constructor() {
|
|
7381
7381
|
super(...arguments), this.disabled = !1;
|
|
7382
7382
|
}
|
|
@@ -7430,13 +7430,13 @@ let Gi = class extends b {
|
|
|
7430
7430
|
};
|
|
7431
7431
|
Gl([
|
|
7432
7432
|
a({ attribute: "data-value", type: String })
|
|
7433
|
-
],
|
|
7433
|
+
], Ki.prototype, "value", 1);
|
|
7434
7434
|
Gl([
|
|
7435
7435
|
a({ attribute: "data-disabled", type: Boolean })
|
|
7436
|
-
],
|
|
7437
|
-
|
|
7436
|
+
], Ki.prototype, "disabled", 2);
|
|
7437
|
+
Ki = Gl([
|
|
7438
7438
|
p("pont-context-menu-item")
|
|
7439
|
-
],
|
|
7439
|
+
], Ki);
|
|
7440
7440
|
var Cv = Object.defineProperty, Ev = Object.getOwnPropertyDescriptor, mo = (t, e, n, o) => {
|
|
7441
7441
|
for (var r = o > 1 ? void 0 : o ? Ev(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
7442
7442
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -7705,7 +7705,7 @@ const Kl = {
|
|
|
7705
7705
|
// 'data-[side=top]:pont-slide-in-from-bottom-2',
|
|
7706
7706
|
]
|
|
7707
7707
|
};
|
|
7708
|
-
var Dv = Object.defineProperty, Lv = Object.getOwnPropertyDescriptor,
|
|
7708
|
+
var Dv = Object.defineProperty, Lv = Object.getOwnPropertyDescriptor, ui = (t, e, n, o) => {
|
|
7709
7709
|
for (var r = o > 1 ? void 0 : o ? Lv(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
7710
7710
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
7711
7711
|
return o && r && Dv(e, n, r), r;
|
|
@@ -7716,7 +7716,7 @@ let Xn = class extends b {
|
|
|
7716
7716
|
}
|
|
7717
7717
|
get _popover() {
|
|
7718
7718
|
let t = this.parentElement;
|
|
7719
|
-
for (; t && !(t instanceof
|
|
7719
|
+
for (; t && !(t instanceof Ko); )
|
|
7720
7720
|
t = t.parentElement;
|
|
7721
7721
|
return t;
|
|
7722
7722
|
}
|
|
@@ -7754,19 +7754,19 @@ let Xn = class extends b {
|
|
|
7754
7754
|
`;
|
|
7755
7755
|
}
|
|
7756
7756
|
};
|
|
7757
|
-
|
|
7757
|
+
ui([
|
|
7758
7758
|
a({ type: Boolean })
|
|
7759
7759
|
], Xn.prototype, "enableDefaultStyle", 2);
|
|
7760
|
-
|
|
7760
|
+
ui([
|
|
7761
7761
|
a({ type: Boolean })
|
|
7762
7762
|
], Xn.prototype, "styleContent", 2);
|
|
7763
|
-
|
|
7763
|
+
ui([
|
|
7764
7764
|
a({ type: String })
|
|
7765
7765
|
], Xn.prototype, "side", 2);
|
|
7766
|
-
|
|
7766
|
+
ui([
|
|
7767
7767
|
a({ attribute: "data-state", type: String })
|
|
7768
7768
|
], Xn.prototype, "state", 2);
|
|
7769
|
-
Xn =
|
|
7769
|
+
Xn = ui([
|
|
7770
7770
|
p("pont-popover-content")
|
|
7771
7771
|
], Xn);
|
|
7772
7772
|
var kv = Object.getOwnPropertyDescriptor, Mv = (t, e, n, o) => {
|
|
@@ -7783,7 +7783,7 @@ let md = class extends b {
|
|
|
7783
7783
|
}
|
|
7784
7784
|
get _popover() {
|
|
7785
7785
|
let t = this.parentElement;
|
|
7786
|
-
for (; t && !(t instanceof
|
|
7786
|
+
for (; t && !(t instanceof Ko); )
|
|
7787
7787
|
t = t.parentElement;
|
|
7788
7788
|
return t;
|
|
7789
7789
|
}
|
|
@@ -7818,7 +7818,7 @@ var Nv = Object.defineProperty, jv = Object.getOwnPropertyDescriptor, zh = (t, e
|
|
|
7818
7818
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
7819
7819
|
return o && r && Nv(e, n, r), r;
|
|
7820
7820
|
};
|
|
7821
|
-
let
|
|
7821
|
+
let Ko = class extends b {
|
|
7822
7822
|
constructor() {
|
|
7823
7823
|
super(...arguments), this.isOpen = !1;
|
|
7824
7824
|
}
|
|
@@ -7845,11 +7845,11 @@ let Go = class extends b {
|
|
|
7845
7845
|
};
|
|
7846
7846
|
zh([
|
|
7847
7847
|
m()
|
|
7848
|
-
],
|
|
7849
|
-
|
|
7848
|
+
], Ko.prototype, "isOpen", 2);
|
|
7849
|
+
Ko = zh([
|
|
7850
7850
|
p("pont-popover")
|
|
7851
|
-
],
|
|
7852
|
-
const
|
|
7851
|
+
], Ko);
|
|
7852
|
+
const Oi = {
|
|
7853
7853
|
root: [""],
|
|
7854
7854
|
trigger: [""],
|
|
7855
7855
|
triggerButton: [
|
|
@@ -7883,12 +7883,12 @@ let Ha = class extends f {
|
|
|
7883
7883
|
render() {
|
|
7884
7884
|
return l`
|
|
7885
7885
|
<pont-popover
|
|
7886
|
-
class=${u("date-picker",
|
|
7886
|
+
class=${u("date-picker", Oi.root, this.className)}
|
|
7887
7887
|
@date-selected=${this.handleDateSelected}
|
|
7888
7888
|
>
|
|
7889
7889
|
<pont-popover-trigger
|
|
7890
7890
|
as-child
|
|
7891
|
-
class=${u("date-picker-trigger",
|
|
7891
|
+
class=${u("date-picker-trigger", Oi.trigger)}
|
|
7892
7892
|
>
|
|
7893
7893
|
<button
|
|
7894
7894
|
data-variant="outline"
|
|
@@ -7896,7 +7896,7 @@ let Ha = class extends f {
|
|
|
7896
7896
|
data-empty=${this.selectedDate ? "false" : "true"}
|
|
7897
7897
|
class=${u(
|
|
7898
7898
|
"date-picker-trigger-button",
|
|
7899
|
-
|
|
7899
|
+
Oi.triggerButton
|
|
7900
7900
|
)}
|
|
7901
7901
|
>
|
|
7902
7902
|
<svg
|
|
@@ -7929,7 +7929,7 @@ let Ha = class extends f {
|
|
|
7929
7929
|
</pont-popover-trigger>
|
|
7930
7930
|
|
|
7931
7931
|
<pont-popover-content
|
|
7932
|
-
class=${u("date-picker-content",
|
|
7932
|
+
class=${u("date-picker-content", Oi.content)}
|
|
7933
7933
|
>
|
|
7934
7934
|
<pont-calendar mode="single"></pont-calendar>
|
|
7935
7935
|
</pont-popover-content>
|
|
@@ -8049,7 +8049,7 @@ var Vv = Object.defineProperty, Hv = Object.getOwnPropertyDescriptor, Wl = (t, e
|
|
|
8049
8049
|
return o && r && Vv(e, n, r), r;
|
|
8050
8050
|
};
|
|
8051
8051
|
const Qs = "closed";
|
|
8052
|
-
let
|
|
8052
|
+
let Wi = class extends b {
|
|
8053
8053
|
constructor() {
|
|
8054
8054
|
super(...arguments), this.state = Qs, this.showCloseButton = !1, this.handleCloseButtonClick = () => {
|
|
8055
8055
|
const t = this._dialog;
|
|
@@ -8129,13 +8129,13 @@ let Ki = class extends b {
|
|
|
8129
8129
|
};
|
|
8130
8130
|
Wl([
|
|
8131
8131
|
a({ attribute: "data-state", type: String })
|
|
8132
|
-
],
|
|
8132
|
+
], Wi.prototype, "state", 2);
|
|
8133
8133
|
Wl([
|
|
8134
8134
|
a({ attribute: "show-close-button", type: Boolean })
|
|
8135
|
-
],
|
|
8136
|
-
|
|
8135
|
+
], Wi.prototype, "showCloseButton", 2);
|
|
8136
|
+
Wi = Wl([
|
|
8137
8137
|
p("pont-dialog-content")
|
|
8138
|
-
],
|
|
8138
|
+
], Wi);
|
|
8139
8139
|
var Gv = Object.getOwnPropertyDescriptor, Kv = (t, e, n, o) => {
|
|
8140
8140
|
for (var r = o > 1 ? void 0 : o ? Gv(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
8141
8141
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -8171,7 +8171,7 @@ var Wv = Object.defineProperty, Yv = Object.getOwnPropertyDescriptor, Yl = (t, e
|
|
|
8171
8171
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
8172
8172
|
return o && r && Wv(e, n, r), r;
|
|
8173
8173
|
};
|
|
8174
|
-
let
|
|
8174
|
+
let Yi = class extends f {
|
|
8175
8175
|
constructor() {
|
|
8176
8176
|
super(...arguments), this._title = "", this.description = "";
|
|
8177
8177
|
}
|
|
@@ -8195,13 +8195,13 @@ let Wi = class extends f {
|
|
|
8195
8195
|
};
|
|
8196
8196
|
Yl([
|
|
8197
8197
|
a({ attribute: "title", type: String })
|
|
8198
|
-
],
|
|
8198
|
+
], Yi.prototype, "_title", 2);
|
|
8199
8199
|
Yl([
|
|
8200
8200
|
a({ type: String })
|
|
8201
|
-
],
|
|
8202
|
-
|
|
8201
|
+
], Yi.prototype, "description", 2);
|
|
8202
|
+
Yi = Yl([
|
|
8203
8203
|
p("pont-dialog-header")
|
|
8204
|
-
],
|
|
8204
|
+
], Yi);
|
|
8205
8205
|
var Zv = Object.getOwnPropertyDescriptor, Jv = (t, e, n, o) => {
|
|
8206
8206
|
for (var r = o > 1 ? void 0 : o ? Zv(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
8207
8207
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -8375,7 +8375,7 @@ let _d = class extends b {
|
|
|
8375
8375
|
get _drawer() {
|
|
8376
8376
|
let t = this.parentElement;
|
|
8377
8377
|
for (; t; ) {
|
|
8378
|
-
if (t instanceof
|
|
8378
|
+
if (t instanceof Wo)
|
|
8379
8379
|
return t;
|
|
8380
8380
|
t = t.parentElement;
|
|
8381
8381
|
}
|
|
@@ -8647,7 +8647,7 @@ let xd = class extends b {
|
|
|
8647
8647
|
get _drawer() {
|
|
8648
8648
|
let t = this.parentElement;
|
|
8649
8649
|
for (; t; ) {
|
|
8650
|
-
if (t instanceof
|
|
8650
|
+
if (t instanceof Wo)
|
|
8651
8651
|
return t;
|
|
8652
8652
|
t = t.parentElement;
|
|
8653
8653
|
}
|
|
@@ -8684,7 +8684,7 @@ var wb = Object.defineProperty, $b = Object.getOwnPropertyDescriptor, Kh = (t, e
|
|
|
8684
8684
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
8685
8685
|
return o && r && wb(e, n, r), r;
|
|
8686
8686
|
};
|
|
8687
|
-
let
|
|
8687
|
+
let Wo = class extends b {
|
|
8688
8688
|
constructor() {
|
|
8689
8689
|
super(...arguments), this.state = Fe.closed, this.handleOutsideClick = (t) => {
|
|
8690
8690
|
const e = this._content;
|
|
@@ -8738,10 +8738,10 @@ let Ko = class extends b {
|
|
|
8738
8738
|
};
|
|
8739
8739
|
Kh([
|
|
8740
8740
|
a({ attribute: "data-state", type: String })
|
|
8741
|
-
],
|
|
8742
|
-
|
|
8741
|
+
], Wo.prototype, "state", 2);
|
|
8742
|
+
Wo = Kh([
|
|
8743
8743
|
p("pont-drawer")
|
|
8744
|
-
],
|
|
8744
|
+
], Wo);
|
|
8745
8745
|
const Xt = {
|
|
8746
8746
|
root: ["pont-relative"],
|
|
8747
8747
|
content: [
|
|
@@ -8939,7 +8939,7 @@ var Sb = Object.defineProperty, xb = Object.getOwnPropertyDescriptor, Jl = (t, e
|
|
|
8939
8939
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
8940
8940
|
return o && r && Sb(e, n, r), r;
|
|
8941
8941
|
};
|
|
8942
|
-
let
|
|
8942
|
+
let Zi = class extends b {
|
|
8943
8943
|
constructor() {
|
|
8944
8944
|
super(), this.state = Zl, this.isOpen = !1, this.handleWindowChange = this.handleWindowChange.bind(this);
|
|
8945
8945
|
}
|
|
@@ -9011,19 +9011,19 @@ let Yi = class extends b {
|
|
|
9011
9011
|
};
|
|
9012
9012
|
Jl([
|
|
9013
9013
|
a({ attribute: "data-state", type: String })
|
|
9014
|
-
],
|
|
9014
|
+
], Zi.prototype, "state", 2);
|
|
9015
9015
|
Jl([
|
|
9016
9016
|
m()
|
|
9017
|
-
],
|
|
9018
|
-
|
|
9017
|
+
], Zi.prototype, "isOpen", 2);
|
|
9018
|
+
Zi = Jl([
|
|
9019
9019
|
p("pont-dropdown-menu-content")
|
|
9020
|
-
],
|
|
9020
|
+
], Zi);
|
|
9021
9021
|
var Ob = Object.defineProperty, Pb = Object.getOwnPropertyDescriptor, Cs = (t, e, n, o) => {
|
|
9022
9022
|
for (var r = o > 1 ? void 0 : o ? Pb(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
9023
9023
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
9024
9024
|
return o && r && Ob(e, n, r), r;
|
|
9025
9025
|
};
|
|
9026
|
-
let
|
|
9026
|
+
let Yo = class extends b {
|
|
9027
9027
|
constructor() {
|
|
9028
9028
|
super(...arguments), this.heading = "", this._id = "", this._hidden = "";
|
|
9029
9029
|
}
|
|
@@ -9055,16 +9055,16 @@ let Wo = class extends b {
|
|
|
9055
9055
|
};
|
|
9056
9056
|
Cs([
|
|
9057
9057
|
a({ type: String })
|
|
9058
|
-
],
|
|
9058
|
+
], Yo.prototype, "heading", 2);
|
|
9059
9059
|
Cs([
|
|
9060
9060
|
a({ attribute: "id", type: String })
|
|
9061
|
-
],
|
|
9061
|
+
], Yo.prototype, "_id", 2);
|
|
9062
9062
|
Cs([
|
|
9063
9063
|
a({ attribute: "aria-hidden", type: String })
|
|
9064
|
-
],
|
|
9065
|
-
|
|
9064
|
+
], Yo.prototype, "_hidden", 2);
|
|
9065
|
+
Yo = Cs([
|
|
9066
9066
|
p("pont-dropdown-menu-group")
|
|
9067
|
-
],
|
|
9067
|
+
], Yo);
|
|
9068
9068
|
var Rb = Object.defineProperty, Ib = Object.getOwnPropertyDescriptor, vo = (t, e, n, o) => {
|
|
9069
9069
|
for (var r = o > 1 ? void 0 : o ? Ib(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
9070
9070
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -9697,7 +9697,7 @@ var iy = Object.defineProperty, sy = Object.getOwnPropertyDescriptor, Es = (t, e
|
|
|
9697
9697
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
9698
9698
|
return o && r && iy(e, n, r), r;
|
|
9699
9699
|
};
|
|
9700
|
-
let
|
|
9700
|
+
let Zo = class extends f {
|
|
9701
9701
|
constructor() {
|
|
9702
9702
|
super(...arguments), this.orientation = "vertical";
|
|
9703
9703
|
}
|
|
@@ -9735,16 +9735,16 @@ let Yo = class extends f {
|
|
|
9735
9735
|
};
|
|
9736
9736
|
Es([
|
|
9737
9737
|
a({ type: String })
|
|
9738
|
-
],
|
|
9738
|
+
], Zo.prototype, "orientation", 2);
|
|
9739
9739
|
Es([
|
|
9740
9740
|
a({ type: Boolean })
|
|
9741
|
-
],
|
|
9741
|
+
], Zo.prototype, "disabled", 2);
|
|
9742
9742
|
Es([
|
|
9743
9743
|
a({ type: Boolean })
|
|
9744
|
-
],
|
|
9745
|
-
|
|
9744
|
+
], Zo.prototype, "invalid", 2);
|
|
9745
|
+
Zo = Es([
|
|
9746
9746
|
p("pont-field")
|
|
9747
|
-
],
|
|
9747
|
+
], Zo);
|
|
9748
9748
|
var ay = Object.getOwnPropertyDescriptor, ly = (t, e, n, o) => {
|
|
9749
9749
|
for (var r = o > 1 ? void 0 : o ? ay(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
9750
9750
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -10064,7 +10064,7 @@ let ru = class extends Event {
|
|
|
10064
10064
|
* Copyright 2021 Google LLC
|
|
10065
10065
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10066
10066
|
*/
|
|
10067
|
-
let
|
|
10067
|
+
let Ji = class {
|
|
10068
10068
|
constructor(e, n, o, r) {
|
|
10069
10069
|
if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (i, s) => {
|
|
10070
10070
|
this.unsubscribe && (this.unsubscribe !== s && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = i, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(i, s)), this.unsubscribe = s;
|
|
@@ -10190,14 +10190,14 @@ function be({ context: t }) {
|
|
|
10190
10190
|
* Copyright 2022 Google LLC
|
|
10191
10191
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10192
10192
|
*/
|
|
10193
|
-
function
|
|
10193
|
+
function wt({ context: t, subscribe: e }) {
|
|
10194
10194
|
return (n, o) => {
|
|
10195
10195
|
typeof o == "object" ? o.addInitializer((function() {
|
|
10196
|
-
new
|
|
10196
|
+
new Ji(this, { context: t, callback: (r) => {
|
|
10197
10197
|
n.set.call(this, r);
|
|
10198
10198
|
}, subscribe: e });
|
|
10199
10199
|
})) : n.constructor.addInitializer(((r) => {
|
|
10200
|
-
new
|
|
10200
|
+
new Ji(r, { context: t, callback: (i) => {
|
|
10201
10201
|
r[o] = i;
|
|
10202
10202
|
}, subscribe: e });
|
|
10203
10203
|
}));
|
|
@@ -10247,7 +10247,7 @@ class nu {
|
|
|
10247
10247
|
return { ...this.errors };
|
|
10248
10248
|
}
|
|
10249
10249
|
}
|
|
10250
|
-
const
|
|
10250
|
+
const gi = "pont-form-context", Xs = /* @__PURE__ */ new WeakMap(), Cy = lo(class extends Oh {
|
|
10251
10251
|
render(t) {
|
|
10252
10252
|
return h;
|
|
10253
10253
|
}
|
|
@@ -10312,7 +10312,7 @@ let tl = class extends b {
|
|
|
10312
10312
|
};
|
|
10313
10313
|
ou([
|
|
10314
10314
|
m(),
|
|
10315
|
-
be({ context:
|
|
10315
|
+
be({ context: gi })
|
|
10316
10316
|
], tl.prototype, "form", 2);
|
|
10317
10317
|
tl = ou([
|
|
10318
10318
|
p("pont-form-controller")
|
|
@@ -10344,7 +10344,7 @@ let el = class extends b {
|
|
|
10344
10344
|
}
|
|
10345
10345
|
};
|
|
10346
10346
|
su([
|
|
10347
|
-
|
|
10347
|
+
wt({ context: iu })
|
|
10348
10348
|
], el.prototype, "itemContext", 2);
|
|
10349
10349
|
el = su([
|
|
10350
10350
|
p("pont-form-description")
|
|
@@ -10399,7 +10399,7 @@ let _r = class extends b {
|
|
|
10399
10399
|
}
|
|
10400
10400
|
};
|
|
10401
10401
|
bo([
|
|
10402
|
-
|
|
10402
|
+
wt({ context: gi })
|
|
10403
10403
|
], _r.prototype, "form", 2);
|
|
10404
10404
|
bo([
|
|
10405
10405
|
a({ type: String })
|
|
@@ -10452,7 +10452,7 @@ var qy = Object.defineProperty, By = Object.getOwnPropertyDescriptor, Ql = (t, e
|
|
|
10452
10452
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
10453
10453
|
return o && r && qy(e, n, r), r;
|
|
10454
10454
|
};
|
|
10455
|
-
let
|
|
10455
|
+
let Qi = class extends b {
|
|
10456
10456
|
constructor() {
|
|
10457
10457
|
super(...arguments), this.hasError = !1, this.unsubscribe = null;
|
|
10458
10458
|
}
|
|
@@ -10497,20 +10497,20 @@ let Ji = class extends b {
|
|
|
10497
10497
|
}
|
|
10498
10498
|
};
|
|
10499
10499
|
Ql([
|
|
10500
|
-
|
|
10501
|
-
],
|
|
10500
|
+
wt({ context: gi })
|
|
10501
|
+
], Qi.prototype, "form", 2);
|
|
10502
10502
|
Ql([
|
|
10503
10503
|
m()
|
|
10504
|
-
],
|
|
10505
|
-
|
|
10504
|
+
], Qi.prototype, "hasError", 2);
|
|
10505
|
+
Qi = Ql([
|
|
10506
10506
|
p("pont-form-label")
|
|
10507
|
-
],
|
|
10507
|
+
], Qi);
|
|
10508
10508
|
var Fy = Object.defineProperty, zy = Object.getOwnPropertyDescriptor, Xl = (t, e, n, o) => {
|
|
10509
10509
|
for (var r = o > 1 ? void 0 : o ? zy(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
10510
10510
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
10511
10511
|
return o && r && Fy(e, n, r), r;
|
|
10512
10512
|
};
|
|
10513
|
-
let
|
|
10513
|
+
let Xi = class extends f {
|
|
10514
10514
|
constructor() {
|
|
10515
10515
|
super(...arguments), this.error = null, this.unsubscribe = null;
|
|
10516
10516
|
}
|
|
@@ -10541,20 +10541,20 @@ let Qi = class extends f {
|
|
|
10541
10541
|
}
|
|
10542
10542
|
};
|
|
10543
10543
|
Xl([
|
|
10544
|
-
|
|
10545
|
-
],
|
|
10544
|
+
wt({ context: gi })
|
|
10545
|
+
], Xi.prototype, "form", 2);
|
|
10546
10546
|
Xl([
|
|
10547
10547
|
m()
|
|
10548
|
-
],
|
|
10549
|
-
|
|
10548
|
+
], Xi.prototype, "error", 2);
|
|
10549
|
+
Xi = Xl([
|
|
10550
10550
|
p("pont-form-message")
|
|
10551
|
-
],
|
|
10551
|
+
], Xi);
|
|
10552
10552
|
var Vy = Object.defineProperty, Hy = Object.getOwnPropertyDescriptor, tc = (t, e, n, o) => {
|
|
10553
10553
|
for (var r = o > 1 ? void 0 : o ? Hy(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
10554
10554
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
10555
10555
|
return o && r && Vy(e, n, r), r;
|
|
10556
10556
|
};
|
|
10557
|
-
let
|
|
10557
|
+
let ts = class extends b {
|
|
10558
10558
|
constructor() {
|
|
10559
10559
|
super(...arguments), this.form = new nu(), this.onSubmit = () => {
|
|
10560
10560
|
}, this.handleSubmit = (e) => {
|
|
@@ -10582,14 +10582,14 @@ let Xi = class extends b {
|
|
|
10582
10582
|
}
|
|
10583
10583
|
};
|
|
10584
10584
|
tc([
|
|
10585
|
-
be({ context:
|
|
10586
|
-
],
|
|
10585
|
+
be({ context: gi })
|
|
10586
|
+
], ts.prototype, "form", 2);
|
|
10587
10587
|
tc([
|
|
10588
10588
|
a({ type: Function })
|
|
10589
|
-
],
|
|
10590
|
-
|
|
10589
|
+
], ts.prototype, "onSubmit", 2);
|
|
10590
|
+
ts = tc([
|
|
10591
10591
|
p("pont-form-root")
|
|
10592
|
-
],
|
|
10592
|
+
], ts);
|
|
10593
10593
|
const ec = {
|
|
10594
10594
|
root: [""],
|
|
10595
10595
|
trigger: [""],
|
|
@@ -10611,7 +10611,7 @@ var Gy = Object.defineProperty, Ky = Object.getOwnPropertyDescriptor, rc = (t, e
|
|
|
10611
10611
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
10612
10612
|
return o && r && Gy(e, n, r), r;
|
|
10613
10613
|
};
|
|
10614
|
-
let
|
|
10614
|
+
let es = class extends b {
|
|
10615
10615
|
constructor() {
|
|
10616
10616
|
super(...arguments), this.state = "closed", this.isOpen = !1, this.onStateChange = (t) => {
|
|
10617
10617
|
const e = t.detail.isOpen;
|
|
@@ -10659,13 +10659,13 @@ let ts = class extends b {
|
|
|
10659
10659
|
};
|
|
10660
10660
|
rc([
|
|
10661
10661
|
a({ attribute: "data-state", type: String })
|
|
10662
|
-
],
|
|
10662
|
+
], es.prototype, "state", 2);
|
|
10663
10663
|
rc([
|
|
10664
10664
|
m()
|
|
10665
|
-
],
|
|
10666
|
-
|
|
10665
|
+
], es.prototype, "isOpen", 2);
|
|
10666
|
+
es = rc([
|
|
10667
10667
|
p("pont-hover-card-content")
|
|
10668
|
-
],
|
|
10668
|
+
], es);
|
|
10669
10669
|
var Wy = Object.getOwnPropertyDescriptor, Yy = (t, e, n, o) => {
|
|
10670
10670
|
for (var r = o > 1 ? void 0 : o ? Wy(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
10671
10671
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -10808,7 +10808,7 @@ var t_ = Object.defineProperty, e_ = Object.getOwnPropertyDescriptor, nc = (t, e
|
|
|
10808
10808
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
10809
10809
|
return o && r && t_(e, n, r), r;
|
|
10810
10810
|
};
|
|
10811
|
-
let
|
|
10811
|
+
let rs = class extends f {
|
|
10812
10812
|
constructor() {
|
|
10813
10813
|
super(...arguments), this.align = "inline-start";
|
|
10814
10814
|
}
|
|
@@ -10845,13 +10845,13 @@ let es = class extends f {
|
|
|
10845
10845
|
};
|
|
10846
10846
|
nc([
|
|
10847
10847
|
a({ type: String })
|
|
10848
|
-
],
|
|
10848
|
+
], rs.prototype, "align", 2);
|
|
10849
10849
|
nc([
|
|
10850
10850
|
a({ type: Boolean })
|
|
10851
|
-
],
|
|
10852
|
-
|
|
10851
|
+
], rs.prototype, "border", 2);
|
|
10852
|
+
rs = nc([
|
|
10853
10853
|
p("pont-input-group-addon")
|
|
10854
|
-
],
|
|
10854
|
+
], rs);
|
|
10855
10855
|
var r_ = Object.defineProperty, n_ = Object.getOwnPropertyDescriptor, Pr = (t, e, n, o) => {
|
|
10856
10856
|
for (var r = o > 1 ? void 0 : o ? n_(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
10857
10857
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -11524,7 +11524,7 @@ var g_ = Object.defineProperty, m_ = Object.getOwnPropertyDescriptor, At = (t, e
|
|
|
11524
11524
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
11525
11525
|
return o && r && g_(e, n, r), r;
|
|
11526
11526
|
};
|
|
11527
|
-
let
|
|
11527
|
+
let St = class extends f {
|
|
11528
11528
|
/**
|
|
11529
11529
|
* Initialise `_children`, capturing the user children before Lit renders.
|
|
11530
11530
|
*/
|
|
@@ -11781,67 +11781,67 @@ let Et = class extends f {
|
|
|
11781
11781
|
};
|
|
11782
11782
|
At([
|
|
11783
11783
|
a({ type: String })
|
|
11784
|
-
],
|
|
11784
|
+
], St.prototype, "autocomplete", 2);
|
|
11785
11785
|
At([
|
|
11786
11786
|
a({ attribute: "default-value", type: String })
|
|
11787
|
-
],
|
|
11787
|
+
], St.prototype, "defaultValue", 2);
|
|
11788
11788
|
At([
|
|
11789
11789
|
a({ type: Boolean })
|
|
11790
|
-
],
|
|
11790
|
+
], St.prototype, "disabled", 2);
|
|
11791
11791
|
At([
|
|
11792
11792
|
a({ type: String })
|
|
11793
|
-
],
|
|
11793
|
+
], St.prototype, "form", 2);
|
|
11794
11794
|
At([
|
|
11795
11795
|
a({ type: String })
|
|
11796
|
-
],
|
|
11796
|
+
], St.prototype, "id", 2);
|
|
11797
11797
|
At([
|
|
11798
11798
|
a({ type: String })
|
|
11799
|
-
],
|
|
11799
|
+
], St.prototype, "inputmode", 2);
|
|
11800
11800
|
At([
|
|
11801
11801
|
a({ type: Number })
|
|
11802
|
-
],
|
|
11802
|
+
], St.prototype, "maxlength", 2);
|
|
11803
11803
|
At([
|
|
11804
11804
|
a({ type: String })
|
|
11805
|
-
],
|
|
11805
|
+
], St.prototype, "name", 2);
|
|
11806
11806
|
At([
|
|
11807
11807
|
a({ type: String })
|
|
11808
|
-
],
|
|
11808
|
+
], St.prototype, "pattern", 2);
|
|
11809
11809
|
At([
|
|
11810
11810
|
a({ type: Boolean })
|
|
11811
|
-
],
|
|
11811
|
+
], St.prototype, "required", 2);
|
|
11812
11812
|
At([
|
|
11813
11813
|
a({ type: String })
|
|
11814
|
-
],
|
|
11814
|
+
], St.prototype, "value", 2);
|
|
11815
11815
|
At([
|
|
11816
11816
|
a({ attribute: !1 })
|
|
11817
|
-
],
|
|
11817
|
+
], St.prototype, "onChange", 2);
|
|
11818
11818
|
At([
|
|
11819
11819
|
a({ attribute: !1 })
|
|
11820
|
-
],
|
|
11820
|
+
], St.prototype, "onComplete", 2);
|
|
11821
11821
|
At([
|
|
11822
11822
|
a({ attribute: !1 })
|
|
11823
|
-
],
|
|
11823
|
+
], St.prototype, "onBlur", 2);
|
|
11824
11824
|
At([
|
|
11825
11825
|
a({ attribute: !1 })
|
|
11826
|
-
],
|
|
11826
|
+
], St.prototype, "onFocus", 2);
|
|
11827
11827
|
At([
|
|
11828
11828
|
a({ attribute: !1 })
|
|
11829
|
-
],
|
|
11829
|
+
], St.prototype, "onPaste", 2);
|
|
11830
11830
|
At([
|
|
11831
11831
|
a({ attribute: !1 })
|
|
11832
|
-
],
|
|
11832
|
+
], St.prototype, "pasteTransformer", 2);
|
|
11833
11833
|
At([
|
|
11834
11834
|
m()
|
|
11835
|
-
],
|
|
11835
|
+
], St.prototype, "_activeSlot", 2);
|
|
11836
11836
|
At([
|
|
11837
11837
|
m()
|
|
11838
|
-
],
|
|
11838
|
+
], St.prototype, "_hasFocus", 2);
|
|
11839
11839
|
At([
|
|
11840
11840
|
m()
|
|
11841
|
-
],
|
|
11842
|
-
|
|
11841
|
+
], St.prototype, "_value", 2);
|
|
11842
|
+
St = At([
|
|
11843
11843
|
p("pont-input-otp")
|
|
11844
|
-
],
|
|
11844
|
+
], St);
|
|
11845
11845
|
var f_ = Object.getOwnPropertyDescriptor, v_ = (t, e, n, o) => {
|
|
11846
11846
|
for (var r = o > 1 ? void 0 : o ? f_(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
11847
11847
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -11881,7 +11881,7 @@ var b_ = Object.defineProperty, y_ = Object.getOwnPropertyDescriptor, oc = (t, e
|
|
|
11881
11881
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
11882
11882
|
return o && r && b_(e, n, r), r;
|
|
11883
11883
|
};
|
|
11884
|
-
let
|
|
11884
|
+
let ns = class extends f {
|
|
11885
11885
|
constructor() {
|
|
11886
11886
|
super(...arguments), this._handleClick = () => {
|
|
11887
11887
|
this.dispatchEvent(
|
|
@@ -11916,13 +11916,13 @@ let rs = class extends f {
|
|
|
11916
11916
|
};
|
|
11917
11917
|
oc([
|
|
11918
11918
|
a({ type: Number })
|
|
11919
|
-
],
|
|
11919
|
+
], ns.prototype, "index", 2);
|
|
11920
11920
|
oc([
|
|
11921
11921
|
a({ type: Boolean })
|
|
11922
|
-
],
|
|
11923
|
-
|
|
11922
|
+
], ns.prototype, "invalid", 2);
|
|
11923
|
+
ns = oc([
|
|
11924
11924
|
p("pont-input-otp-slot")
|
|
11925
|
-
],
|
|
11925
|
+
], ns);
|
|
11926
11926
|
var __ = Object.getOwnPropertyDescriptor, w_ = (t, e, n, o) => {
|
|
11927
11927
|
for (var r = o > 1 ? void 0 : o ? __(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
11928
11928
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -11946,7 +11946,7 @@ let Vd = class extends f {
|
|
|
11946
11946
|
Vd = w_([
|
|
11947
11947
|
p("pont-input-otp-separator")
|
|
11948
11948
|
], Vd);
|
|
11949
|
-
var $_ = Object.defineProperty, C_ = Object.getOwnPropertyDescriptor,
|
|
11949
|
+
var $_ = Object.defineProperty, C_ = Object.getOwnPropertyDescriptor, mi = (t, e, n, o) => {
|
|
11950
11950
|
for (var r = o > 1 ? void 0 : o ? C_(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
11951
11951
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
11952
11952
|
return o && r && $_(e, n, r), r;
|
|
@@ -11993,19 +11993,19 @@ let eo = class extends f {
|
|
|
11993
11993
|
`;
|
|
11994
11994
|
}
|
|
11995
11995
|
};
|
|
11996
|
-
|
|
11996
|
+
mi([
|
|
11997
11997
|
a({ type: String })
|
|
11998
11998
|
], eo.prototype, "variant", 2);
|
|
11999
|
-
|
|
11999
|
+
mi([
|
|
12000
12000
|
a({ type: String })
|
|
12001
12001
|
], eo.prototype, "size", 2);
|
|
12002
|
-
|
|
12002
|
+
mi([
|
|
12003
12003
|
a({ type: String })
|
|
12004
12004
|
], eo.prototype, "href", 2);
|
|
12005
|
-
|
|
12005
|
+
mi([
|
|
12006
12006
|
a({ type: String })
|
|
12007
12007
|
], eo.prototype, "target", 2);
|
|
12008
|
-
eo =
|
|
12008
|
+
eo = mi([
|
|
12009
12009
|
p("pont-item")
|
|
12010
12010
|
], eo);
|
|
12011
12011
|
var E_ = Object.getOwnPropertyDescriptor, S_ = (t, e, n, o) => {
|
|
@@ -12743,7 +12743,7 @@ yo([
|
|
|
12743
12743
|
Fr = yo([
|
|
12744
12744
|
p("pont-menubar-menu")
|
|
12745
12745
|
], Fr);
|
|
12746
|
-
var Z_ = Object.defineProperty, J_ = Object.getOwnPropertyDescriptor,
|
|
12746
|
+
var Z_ = Object.defineProperty, J_ = Object.getOwnPropertyDescriptor, fi = (t, e, n, o) => {
|
|
12747
12747
|
for (var r = o > 1 ? void 0 : o ? J_(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
12748
12748
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
12749
12749
|
return o && r && Z_(e, n, r), r;
|
|
@@ -12803,19 +12803,19 @@ let ro = class extends b {
|
|
|
12803
12803
|
`;
|
|
12804
12804
|
}
|
|
12805
12805
|
};
|
|
12806
|
-
|
|
12806
|
+
fi([
|
|
12807
12807
|
a({ attribute: "data-state", type: String })
|
|
12808
12808
|
], ro.prototype, "state", 2);
|
|
12809
|
-
|
|
12809
|
+
fi([
|
|
12810
12810
|
a({ type: String })
|
|
12811
12811
|
], ro.prototype, "id", 2);
|
|
12812
|
-
|
|
12812
|
+
fi([
|
|
12813
12813
|
a({ type: String })
|
|
12814
12814
|
], ro.prototype, "side", 2);
|
|
12815
|
-
|
|
12815
|
+
fi([
|
|
12816
12816
|
m()
|
|
12817
12817
|
], ro.prototype, "isOpen", 2);
|
|
12818
|
-
ro =
|
|
12818
|
+
ro = fi([
|
|
12819
12819
|
p("pont-menubar-content")
|
|
12820
12820
|
], ro);
|
|
12821
12821
|
var Q_ = Object.defineProperty, X_ = Object.getOwnPropertyDescriptor, Ss = (t, e, n, o) => {
|
|
@@ -13443,7 +13443,7 @@ wo([
|
|
|
13443
13443
|
Vr = wo([
|
|
13444
13444
|
p("pont-navigation-menu-item")
|
|
13445
13445
|
], Vr);
|
|
13446
|
-
var fw = Object.defineProperty, vw = Object.getOwnPropertyDescriptor,
|
|
13446
|
+
var fw = Object.defineProperty, vw = Object.getOwnPropertyDescriptor, vi = (t, e, n, o) => {
|
|
13447
13447
|
for (var r = o > 1 ? void 0 : o ? vw(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
13448
13448
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
13449
13449
|
return o && r && fw(e, n, r), r;
|
|
@@ -13509,19 +13509,19 @@ let no = class extends b {
|
|
|
13509
13509
|
`;
|
|
13510
13510
|
}
|
|
13511
13511
|
};
|
|
13512
|
-
|
|
13512
|
+
vi([
|
|
13513
13513
|
a({ attribute: "data-state", type: String })
|
|
13514
13514
|
], no.prototype, "state", 2);
|
|
13515
|
-
|
|
13515
|
+
vi([
|
|
13516
13516
|
a({ type: String })
|
|
13517
13517
|
], no.prototype, "id", 2);
|
|
13518
|
-
|
|
13518
|
+
vi([
|
|
13519
13519
|
a({ type: String })
|
|
13520
13520
|
], no.prototype, "side", 2);
|
|
13521
|
-
|
|
13521
|
+
vi([
|
|
13522
13522
|
m()
|
|
13523
13523
|
], no.prototype, "isOpen", 2);
|
|
13524
|
-
no =
|
|
13524
|
+
no = vi([
|
|
13525
13525
|
p("pont-navigation-menu-content")
|
|
13526
13526
|
], no);
|
|
13527
13527
|
var bw = Object.defineProperty, yw = Object.getOwnPropertyDescriptor, du = (t, e, n, o) => {
|
|
@@ -13728,7 +13728,7 @@ let lp = class extends b {
|
|
|
13728
13728
|
lp = Ow([
|
|
13729
13729
|
p("pont-pagination-ellipsis")
|
|
13730
13730
|
], lp);
|
|
13731
|
-
var Pw = Object.defineProperty, Rw = Object.getOwnPropertyDescriptor,
|
|
13731
|
+
var Pw = Object.defineProperty, Rw = Object.getOwnPropertyDescriptor, bi = (t, e, n, o) => {
|
|
13732
13732
|
for (var r = o > 1 ? void 0 : o ? Rw(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
13733
13733
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
13734
13734
|
return o && r && Pw(e, n, r), r;
|
|
@@ -13770,19 +13770,19 @@ let wn = class extends b {
|
|
|
13770
13770
|
`;
|
|
13771
13771
|
}
|
|
13772
13772
|
};
|
|
13773
|
-
|
|
13773
|
+
bi([
|
|
13774
13774
|
a({ attribute: "data-state", type: String })
|
|
13775
13775
|
], wn.prototype, "state", 2);
|
|
13776
|
-
|
|
13776
|
+
bi([
|
|
13777
13777
|
a({ type: Boolean })
|
|
13778
13778
|
], wn.prototype, "isActive", 2);
|
|
13779
|
-
|
|
13779
|
+
bi([
|
|
13780
13780
|
a({ type: String })
|
|
13781
13781
|
], wn.prototype, "size", 2);
|
|
13782
|
-
|
|
13782
|
+
bi([
|
|
13783
13783
|
a({ type: String })
|
|
13784
13784
|
], wn.prototype, "href", 2);
|
|
13785
|
-
wn =
|
|
13785
|
+
wn = bi([
|
|
13786
13786
|
p("pont-pagination-link")
|
|
13787
13787
|
], wn);
|
|
13788
13788
|
var Iw = Object.defineProperty, Aw = Object.getOwnPropertyDescriptor, sc = (t, e, n, o) => {
|
|
@@ -13790,7 +13790,7 @@ var Iw = Object.defineProperty, Aw = Object.getOwnPropertyDescriptor, sc = (t, e
|
|
|
13790
13790
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
13791
13791
|
return o && r && Iw(e, n, r), r;
|
|
13792
13792
|
};
|
|
13793
|
-
let
|
|
13793
|
+
let os = class extends b {
|
|
13794
13794
|
constructor() {
|
|
13795
13795
|
super(...arguments), this.uniqueIds = [], this.isActive = !1;
|
|
13796
13796
|
}
|
|
@@ -13853,13 +13853,13 @@ let ns = class extends b {
|
|
|
13853
13853
|
};
|
|
13854
13854
|
sc([
|
|
13855
13855
|
m()
|
|
13856
|
-
],
|
|
13856
|
+
], os.prototype, "uniqueIds", 2);
|
|
13857
13857
|
sc([
|
|
13858
13858
|
a({ type: Boolean })
|
|
13859
|
-
],
|
|
13860
|
-
|
|
13859
|
+
], os.prototype, "isActive", 2);
|
|
13860
|
+
os = sc([
|
|
13861
13861
|
p("pont-pagination-item")
|
|
13862
|
-
],
|
|
13862
|
+
], os);
|
|
13863
13863
|
var Tw = Object.defineProperty, Dw = Object.getOwnPropertyDescriptor, pu = (t, e, n, o) => {
|
|
13864
13864
|
for (var r = o > 1 ? void 0 : o ? Dw(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
13865
13865
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -14459,7 +14459,7 @@ let dl = class extends b {
|
|
|
14459
14459
|
}
|
|
14460
14460
|
};
|
|
14461
14461
|
mu([
|
|
14462
|
-
|
|
14462
|
+
ci("[data-radix-scroll-area-viewport]")
|
|
14463
14463
|
], dl.prototype, "viewportEl", 2);
|
|
14464
14464
|
dl = mu([
|
|
14465
14465
|
p("pont-scroll-area")
|
|
@@ -14705,7 +14705,7 @@ var e$ = Object.defineProperty, r$ = Object.getOwnPropertyDescriptor, lc = (t, e
|
|
|
14705
14705
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
14706
14706
|
return o && r && e$(e, n, r), r;
|
|
14707
14707
|
};
|
|
14708
|
-
let
|
|
14708
|
+
let is = class extends b {
|
|
14709
14709
|
constructor() {
|
|
14710
14710
|
super(...arguments), this.focusedIndex = 0, this._dropdownStyle = {
|
|
14711
14711
|
display: "none",
|
|
@@ -14813,13 +14813,13 @@ let os = class extends b {
|
|
|
14813
14813
|
};
|
|
14814
14814
|
lc([
|
|
14815
14815
|
m()
|
|
14816
|
-
],
|
|
14816
|
+
], is.prototype, "focusedIndex", 2);
|
|
14817
14817
|
lc([
|
|
14818
14818
|
m()
|
|
14819
|
-
],
|
|
14820
|
-
|
|
14819
|
+
], is.prototype, "_dropdownStyle", 2);
|
|
14820
|
+
is = lc([
|
|
14821
14821
|
p("pont-select-group")
|
|
14822
|
-
],
|
|
14822
|
+
], is);
|
|
14823
14823
|
var n$ = Object.defineProperty, o$ = Object.getOwnPropertyDescriptor, On = (t, e, n, o) => {
|
|
14824
14824
|
for (var r = o > 1 ? void 0 : o ? o$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
14825
14825
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -14973,7 +14973,7 @@ var a$ = Object.defineProperty, l$ = Object.getOwnPropertyDescriptor, cc = (t, e
|
|
|
14973
14973
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
14974
14974
|
return o && r && a$(e, n, r), r;
|
|
14975
14975
|
};
|
|
14976
|
-
let
|
|
14976
|
+
let ss = class extends b {
|
|
14977
14977
|
constructor() {
|
|
14978
14978
|
super(...arguments), this.state = Zl, this.isOpen = !1;
|
|
14979
14979
|
}
|
|
@@ -15003,19 +15003,19 @@ let is = class extends b {
|
|
|
15003
15003
|
};
|
|
15004
15004
|
cc([
|
|
15005
15005
|
a({ attribute: "data-state", type: String })
|
|
15006
|
-
],
|
|
15006
|
+
], ss.prototype, "state", 2);
|
|
15007
15007
|
cc([
|
|
15008
15008
|
m()
|
|
15009
|
-
],
|
|
15010
|
-
|
|
15009
|
+
], ss.prototype, "isOpen", 2);
|
|
15010
|
+
ss = cc([
|
|
15011
15011
|
p("pont-select-list")
|
|
15012
|
-
],
|
|
15012
|
+
], ss);
|
|
15013
15013
|
var c$ = Object.defineProperty, d$ = Object.getOwnPropertyDescriptor, dc = (t, e, n, o) => {
|
|
15014
15014
|
for (var r = o > 1 ? void 0 : o ? d$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15015
15015
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15016
15016
|
return o && r && c$(e, n, r), r;
|
|
15017
15017
|
};
|
|
15018
|
-
let
|
|
15018
|
+
let as = class extends f {
|
|
15019
15019
|
constructor() {
|
|
15020
15020
|
super(...arguments), this._id = "", this._hidden = "";
|
|
15021
15021
|
}
|
|
@@ -15035,13 +15035,13 @@ let ss = class extends f {
|
|
|
15035
15035
|
};
|
|
15036
15036
|
dc([
|
|
15037
15037
|
a({ type: String })
|
|
15038
|
-
],
|
|
15038
|
+
], as.prototype, "_id", 2);
|
|
15039
15039
|
dc([
|
|
15040
15040
|
a({ attribute: "aria-hidden", type: String })
|
|
15041
|
-
],
|
|
15042
|
-
|
|
15041
|
+
], as.prototype, "_hidden", 2);
|
|
15042
|
+
as = dc([
|
|
15043
15043
|
p("pont-select-separator")
|
|
15044
|
-
],
|
|
15044
|
+
], as);
|
|
15045
15045
|
var p$ = Object.defineProperty, h$ = Object.getOwnPropertyDescriptor, vu = (t, e, n, o) => {
|
|
15046
15046
|
for (var r = o > 1 ? void 0 : o ? h$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15047
15047
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -15343,7 +15343,7 @@ var _$ = Object.defineProperty, w$ = Object.getOwnPropertyDescriptor, pc = (t, e
|
|
|
15343
15343
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15344
15344
|
return o && r && _$(e, n, r), r;
|
|
15345
15345
|
};
|
|
15346
|
-
let
|
|
15346
|
+
let ls = class extends f {
|
|
15347
15347
|
constructor() {
|
|
15348
15348
|
super(...arguments), this.disabled = "false", this.state = "unchecked";
|
|
15349
15349
|
}
|
|
@@ -15375,13 +15375,13 @@ let as = class extends f {
|
|
|
15375
15375
|
};
|
|
15376
15376
|
pc([
|
|
15377
15377
|
a({ attribute: "data-disabled", type: String })
|
|
15378
|
-
],
|
|
15378
|
+
], ls.prototype, "disabled", 2);
|
|
15379
15379
|
pc([
|
|
15380
15380
|
a({ attribute: "data-state", type: String })
|
|
15381
|
-
],
|
|
15382
|
-
|
|
15381
|
+
], ls.prototype, "state", 2);
|
|
15382
|
+
ls = pc([
|
|
15383
15383
|
p("pont-switch")
|
|
15384
|
-
],
|
|
15384
|
+
], ls);
|
|
15385
15385
|
const Ft = {
|
|
15386
15386
|
preview: [
|
|
15387
15387
|
"pont-flex pont-bg-table-preview-color-bg pont-w-table-preview-space-w pont-items-center pont-justify-center pont-px-table-preview-space-px pont-py-table-preview-space-py"
|
|
@@ -15444,7 +15444,7 @@ var $$ = Object.defineProperty, C$ = Object.getOwnPropertyDescriptor, xs = (t, e
|
|
|
15444
15444
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15445
15445
|
return o && r && $$(e, n, r), r;
|
|
15446
15446
|
};
|
|
15447
|
-
let
|
|
15447
|
+
let Jo = class extends b {
|
|
15448
15448
|
constructor() {
|
|
15449
15449
|
super(...arguments), this.dataTable = [], this.footerData = [], this.captionText = "";
|
|
15450
15450
|
}
|
|
@@ -15552,23 +15552,23 @@ let Zo = class extends b {
|
|
|
15552
15552
|
};
|
|
15553
15553
|
xs([
|
|
15554
15554
|
a({ type: Array })
|
|
15555
|
-
],
|
|
15555
|
+
], Jo.prototype, "dataTable", 2);
|
|
15556
15556
|
xs([
|
|
15557
15557
|
a({ type: Array })
|
|
15558
|
-
],
|
|
15558
|
+
], Jo.prototype, "footerData", 2);
|
|
15559
15559
|
xs([
|
|
15560
15560
|
a({ type: String })
|
|
15561
|
-
],
|
|
15562
|
-
|
|
15561
|
+
], Jo.prototype, "captionText", 2);
|
|
15562
|
+
Jo = xs([
|
|
15563
15563
|
p("pont-table")
|
|
15564
|
-
],
|
|
15565
|
-
const E$ = "pont-account-settings-dashboard-width", S$ = "pont-account-settings-modal-width", x$ = "pont-account-settings-dashboard", O$ = "pont-account-settings-page-reset-margin", P$ = "pont-account-settings-modal-root",
|
|
15564
|
+
], Jo);
|
|
15565
|
+
const E$ = "pont-account-settings-dashboard-width", S$ = "pont-account-settings-modal-width", x$ = "pont-account-settings-dashboard", O$ = "pont-account-settings-page-reset-margin", P$ = "pont-account-settings-modal-root", Ct = "pont", gp = {
|
|
15566
15566
|
xs: 640,
|
|
15567
15567
|
sm: 768
|
|
15568
15568
|
};
|
|
15569
15569
|
function R$() {
|
|
15570
15570
|
const t = Date.now().toString(36), e = Math.random().toString(36).substring(2, 7);
|
|
15571
|
-
return `${
|
|
15571
|
+
return `${Ct}-${t}${e}`;
|
|
15572
15572
|
}
|
|
15573
15573
|
function I$(t, e) {
|
|
15574
15574
|
return `${t}-trigger-${e}`;
|
|
@@ -15746,7 +15746,7 @@ var M$ = Object.defineProperty, N$ = Object.getOwnPropertyDescriptor, hc = (t, e
|
|
|
15746
15746
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15747
15747
|
return o && r && M$(e, n, r), r;
|
|
15748
15748
|
};
|
|
15749
|
-
let
|
|
15749
|
+
let cs = class extends f {
|
|
15750
15750
|
constructor() {
|
|
15751
15751
|
super(...arguments), this.value = "", this._onClick = () => {
|
|
15752
15752
|
this._emitSelect();
|
|
@@ -15804,13 +15804,13 @@ let ls = class extends f {
|
|
|
15804
15804
|
};
|
|
15805
15805
|
hc([
|
|
15806
15806
|
a({ type: String })
|
|
15807
|
-
],
|
|
15807
|
+
], cs.prototype, "value", 2);
|
|
15808
15808
|
hc([
|
|
15809
15809
|
a({ type: Boolean })
|
|
15810
|
-
],
|
|
15811
|
-
|
|
15810
|
+
], cs.prototype, "disabled", 2);
|
|
15811
|
+
cs = hc([
|
|
15812
15812
|
p("pont-tabs-trigger")
|
|
15813
|
-
],
|
|
15813
|
+
], cs);
|
|
15814
15814
|
var j$ = Object.defineProperty, U$ = Object.getOwnPropertyDescriptor, wu = (t, e, n, o) => {
|
|
15815
15815
|
for (var r = o > 1 ? void 0 : o ? U$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15816
15816
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -15859,7 +15859,7 @@ wu([
|
|
|
15859
15859
|
ml = wu([
|
|
15860
15860
|
p("pont-tabs-content")
|
|
15861
15861
|
], ml);
|
|
15862
|
-
const
|
|
15862
|
+
const yi = {
|
|
15863
15863
|
viewportRoot: [
|
|
15864
15864
|
"pont-fixed pont-top-0 pont-z-[100] pont-flex pont-max-h-screen pont-w-toast-viewport-root-space-w pont-flex-col-reverse pont-px-toast-viewport-root-space-px pont-py-toast-viewport-root-space-py sm:pont-bottom-0 sm:pont-right-0 sm:pont-top-auto sm:pont-flex-col md:pont-max-w-toast-viewport-root-space-w-md"
|
|
15865
15865
|
],
|
|
@@ -15938,7 +15938,7 @@ let $n = class extends b {
|
|
|
15938
15938
|
tabindex="-1"
|
|
15939
15939
|
@click="${(t) => t.stopPropagation()}"
|
|
15940
15940
|
class="${u(
|
|
15941
|
-
|
|
15941
|
+
yi.viewportRoot,
|
|
15942
15942
|
this.className,
|
|
15943
15943
|
`${this.state === mp ? "hidden" : "block"} `
|
|
15944
15944
|
)}"
|
|
@@ -15962,7 +15962,7 @@ let $n = class extends b {
|
|
|
15962
15962
|
</ol>`;
|
|
15963
15963
|
}
|
|
15964
15964
|
};
|
|
15965
|
-
$n.toastVariants =
|
|
15965
|
+
$n.toastVariants = yi.viewportItem;
|
|
15966
15966
|
uc([
|
|
15967
15967
|
a({ type: String })
|
|
15968
15968
|
], $n.prototype, "variant", 2);
|
|
@@ -16016,7 +16016,7 @@ let oo = class extends b {
|
|
|
16016
16016
|
`;
|
|
16017
16017
|
}
|
|
16018
16018
|
};
|
|
16019
|
-
oo.toastVariants =
|
|
16019
|
+
oo.toastVariants = yi.action;
|
|
16020
16020
|
$u([
|
|
16021
16021
|
a({ type: String })
|
|
16022
16022
|
], oo.prototype, "variant", 2);
|
|
@@ -16041,7 +16041,7 @@ let fp = class extends b {
|
|
|
16041
16041
|
render() {
|
|
16042
16042
|
return l`
|
|
16043
16043
|
<div
|
|
16044
|
-
class="${u(
|
|
16044
|
+
class="${u(yi.description, this.className)}"
|
|
16045
16045
|
part="toast-description"
|
|
16046
16046
|
>
|
|
16047
16047
|
<slot></slot>
|
|
@@ -16071,7 +16071,7 @@ let vp = class extends b {
|
|
|
16071
16071
|
return l`
|
|
16072
16072
|
<div
|
|
16073
16073
|
part="toast-title"
|
|
16074
|
-
class="${u(
|
|
16074
|
+
class="${u(yi.title, this.className)}"
|
|
16075
16075
|
></div>
|
|
16076
16076
|
`;
|
|
16077
16077
|
}
|
|
@@ -16093,7 +16093,7 @@ let bp = class extends b {
|
|
|
16093
16093
|
}
|
|
16094
16094
|
get _toast() {
|
|
16095
16095
|
let t = this.parentElement;
|
|
16096
|
-
for (; t && !(t instanceof
|
|
16096
|
+
for (; t && !(t instanceof ds); )
|
|
16097
16097
|
t = t.parentElement;
|
|
16098
16098
|
return t;
|
|
16099
16099
|
}
|
|
@@ -16124,7 +16124,7 @@ var Z$ = Object.defineProperty, J$ = Object.getOwnPropertyDescriptor, Cu = (t, e
|
|
|
16124
16124
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
16125
16125
|
return o && r && Z$(e, n, r), r;
|
|
16126
16126
|
};
|
|
16127
|
-
let
|
|
16127
|
+
let ds = class extends b {
|
|
16128
16128
|
constructor() {
|
|
16129
16129
|
super(...arguments), this.isOpen = !1;
|
|
16130
16130
|
}
|
|
@@ -16161,11 +16161,11 @@ let cs = class extends b {
|
|
|
16161
16161
|
};
|
|
16162
16162
|
Cu([
|
|
16163
16163
|
m()
|
|
16164
|
-
],
|
|
16165
|
-
|
|
16164
|
+
], ds.prototype, "isOpen", 2);
|
|
16165
|
+
ds = Cu([
|
|
16166
16166
|
p("pont-toast")
|
|
16167
|
-
],
|
|
16168
|
-
var
|
|
16167
|
+
], ds);
|
|
16168
|
+
var ps = /* @__PURE__ */ ((t) => (t.MULTIPLE = "multiple", t.SINGLE = "single", t))(ps || {}), hs = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.OUTLINE = "outline", t))(hs || {}), us = /* @__PURE__ */ ((t) => (t.SMALL = "sm", t.MEDIUM = "md", t.LARGE = "lg", t))(us || {});
|
|
16169
16169
|
const Q$ = ql(
|
|
16170
16170
|
"pont-inline-flex pont-items-center pont-justify-center pont-rounded-toggle-group-item-radius pont-text-toggle-group-item-font pont-font-toggle-group-item-font-weight pont-transition-colors focus-visible:pont-outline-none focus-visible:pont-ring-toggle-group-item-width-ring-focus focus-visible:pont-ring-toggle-group-item-color-ring-focus focus-visible:pont-ring-offset-toggle-group-item-width-ring-offset-focus disabled:pont-pointer-events-none disabled:pont-opacity-toggle-group-item-opacity-disabled data-[state=on]:pont-bg-toggle-group-item-color-bg-on data-[state=on]:pont-text-toggle-group-item-color-text-on pont-bg-transparent",
|
|
16171
16171
|
{
|
|
@@ -16197,7 +16197,7 @@ let er = class extends b {
|
|
|
16197
16197
|
* Parent → child sync (guarded)
|
|
16198
16198
|
* ------------------------------------------ */
|
|
16199
16199
|
constructor() {
|
|
16200
|
-
super(), this.checked = !1, this.id = Ll(), this.variant =
|
|
16200
|
+
super(), this.checked = !1, this.id = Ll(), this.variant = hs.DEFAULT, this.size = us.SMALL, this.disabled = !1, this.type = ps.SINGLE, this.variant = hs.DEFAULT, this.size = us.SMALL;
|
|
16201
16201
|
}
|
|
16202
16202
|
/* --------------------------------------------
|
|
16203
16203
|
* DOM helpers
|
|
@@ -16252,7 +16252,7 @@ let er = class extends b {
|
|
|
16252
16252
|
toggleSelection(t) {
|
|
16253
16253
|
if (this.disabled || !this._parent) return;
|
|
16254
16254
|
const e = this._parent, n = e.selectedItems.indexOf(t);
|
|
16255
|
-
this.type ===
|
|
16255
|
+
this.type === ps.SINGLE ? (n !== -1 ? e.selectedItems.splice(n, 1) : e.selectedItems[0] = t, this._siblings.forEach((o) => o.syncSelection())) : n !== -1 ? e.selectedItems.splice(n, 1) : e.selectedItems.push(t), this.syncSelection();
|
|
16256
16256
|
}
|
|
16257
16257
|
/* --------------------------------------------
|
|
16258
16258
|
* Render
|
|
@@ -16311,7 +16311,7 @@ var r1 = Object.defineProperty, n1 = Object.getOwnPropertyDescriptor, Rn = (t, e
|
|
|
16311
16311
|
};
|
|
16312
16312
|
let Cr = class extends b {
|
|
16313
16313
|
constructor() {
|
|
16314
|
-
super(...arguments), this.disabled = !1, this.type =
|
|
16314
|
+
super(...arguments), this.disabled = !1, this.type = ps.SINGLE, this.required = !1, this.variant = hs.DEFAULT, this.size = us.SMALL, this.selectedItems = [];
|
|
16315
16315
|
}
|
|
16316
16316
|
get _containerElement() {
|
|
16317
16317
|
return this.querySelector("div[part=toggle-group]");
|
|
@@ -16371,7 +16371,7 @@ Rn([
|
|
|
16371
16371
|
Cr = Rn([
|
|
16372
16372
|
p("pont-toggle-group")
|
|
16373
16373
|
], Cr);
|
|
16374
|
-
var
|
|
16374
|
+
var Mi = /* @__PURE__ */ ((t) => (t.SMALL = "sm", t.MEDIUM = "md", t.LARGE = "lg", t))(Mi || {}), Ni = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.OUTLINE = "outline", t))(Ni || {});
|
|
16375
16375
|
const o1 = ql(
|
|
16376
16376
|
"pont-inline-flex pont-items-center pont-justify-center pont-rounded-toggle-radius pont-text-toggle-font pont-font-toggle-font-weight pont-transition-colors focus-visible:pont-outline-none focus-visible:pont-ring-toggle-width-ring-focus focus-visible:pont-ring-toggle-color-ring-focus focus-visible:pont-ring-offset-toggle-width-ring-offset-focus disabled:pont-pointer-events-none disabled:pont-opacity-toggle-opacity-disabled data-[state=on]:pont-bg-toggle-color-bg-on data-[state=on]:pont-text-toggle-color-text-on pont-bg-transparent",
|
|
16377
16377
|
{
|
|
@@ -16395,14 +16395,14 @@ var i1 = Object.defineProperty, s1 = Object.getOwnPropertyDescriptor, $o = (t, e
|
|
|
16395
16395
|
};
|
|
16396
16396
|
let Er = class extends b {
|
|
16397
16397
|
constructor() {
|
|
16398
|
-
super(...arguments), this.disabled = !1, this.checked = !1, this.required = !1, this.variant =
|
|
16398
|
+
super(...arguments), this.disabled = !1, this.checked = !1, this.required = !1, this.variant = Ni.DEFAULT, this.size = Mi.SMALL;
|
|
16399
16399
|
}
|
|
16400
16400
|
willUpdate(t) {
|
|
16401
16401
|
t.has("variant") && (this.variant = this.normalizeEnum(
|
|
16402
16402
|
this.variant,
|
|
16403
|
-
|
|
16404
|
-
|
|
16405
|
-
)), t.has("size") && (this.size = this.normalizeEnum(this.size,
|
|
16403
|
+
Ni,
|
|
16404
|
+
Ni.DEFAULT
|
|
16405
|
+
)), t.has("size") && (this.size = this.normalizeEnum(this.size, Mi, Mi.SMALL));
|
|
16406
16406
|
}
|
|
16407
16407
|
get _containerElement() {
|
|
16408
16408
|
return this.querySelector("button[part=toggle]");
|
|
@@ -17221,7 +17221,7 @@ Nt([
|
|
|
17221
17221
|
It = Nt([
|
|
17222
17222
|
p("pont-data-table")
|
|
17223
17223
|
], It);
|
|
17224
|
-
var
|
|
17224
|
+
var bt = class extends Error {
|
|
17225
17225
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17226
17226
|
constructor(e, n, o, r) {
|
|
17227
17227
|
super(n);
|
|
@@ -17243,10 +17243,10 @@ var _t = class extends Error {
|
|
|
17243
17243
|
function Su(t) {
|
|
17244
17244
|
const e = (t ?? "").trim();
|
|
17245
17245
|
if (!e)
|
|
17246
|
-
throw new
|
|
17246
|
+
throw new bt("CONFIG_ERROR", "domain is required");
|
|
17247
17247
|
if (e.startsWith("/")) {
|
|
17248
17248
|
if (typeof location > "u")
|
|
17249
|
-
throw new
|
|
17249
|
+
throw new bt(
|
|
17250
17250
|
"CONFIG_ERROR",
|
|
17251
17251
|
`domain "${e}" is relative to the page origin, and there is no page here`
|
|
17252
17252
|
);
|
|
@@ -17256,7 +17256,7 @@ function Su(t) {
|
|
|
17256
17256
|
try {
|
|
17257
17257
|
return Pp(new URL(`${n}${e}`));
|
|
17258
17258
|
} catch {
|
|
17259
|
-
throw new
|
|
17259
|
+
throw new bt(
|
|
17260
17260
|
"CONFIG_ERROR",
|
|
17261
17261
|
`domain "${e}" is not a hostname, an origin, or a path`
|
|
17262
17262
|
);
|
|
@@ -17322,14 +17322,14 @@ var He, A1 = (He = class {
|
|
|
17322
17322
|
clear() {
|
|
17323
17323
|
this.data.clear();
|
|
17324
17324
|
}
|
|
17325
|
-
}, N(He, "instance"), He),
|
|
17325
|
+
}, N(He, "instance"), He), yt = A1.Instance, Ge, Bo = (Ge = class {
|
|
17326
17326
|
constructor() {
|
|
17327
17327
|
}
|
|
17328
17328
|
static get Instance() {
|
|
17329
17329
|
return Ge.instance || (Ge.instance = new Ge()), Ge.instance;
|
|
17330
17330
|
}
|
|
17331
17331
|
async request(e, n = {}) {
|
|
17332
|
-
const o =
|
|
17332
|
+
const o = yt.getConfig(), r = `${yt.getApiBaseUrl()}${e}`, i = 5e4, s = new AbortController(), c = setTimeout(() => s.abort(), i);
|
|
17333
17333
|
try {
|
|
17334
17334
|
const d = await fetch(r, {
|
|
17335
17335
|
...n,
|
|
@@ -17342,7 +17342,7 @@ var He, A1 = (He = class {
|
|
|
17342
17342
|
});
|
|
17343
17343
|
if (clearTimeout(c), !d.ok) {
|
|
17344
17344
|
const g = await d.json().catch(() => ({}));
|
|
17345
|
-
throw new
|
|
17345
|
+
throw new bt(
|
|
17346
17346
|
g.code || g.error || "API_ERROR",
|
|
17347
17347
|
g.message || g.error_description || `HTTP ${d.status}: ${d.statusText}`,
|
|
17348
17348
|
g.details,
|
|
@@ -17353,7 +17353,7 @@ var He, A1 = (He = class {
|
|
|
17353
17353
|
}
|
|
17354
17354
|
return await d.json();
|
|
17355
17355
|
} catch (d) {
|
|
17356
|
-
throw clearTimeout(c), d instanceof
|
|
17356
|
+
throw clearTimeout(c), d instanceof bt ? d : d instanceof Error ? d.name === "AbortError" ? new bt("TIMEOUT", "Request timeout") : new bt("NETWORK_ERROR", d.message) : new bt("UNKNOWN_ERROR", "An unknown error occurred");
|
|
17357
17357
|
}
|
|
17358
17358
|
}
|
|
17359
17359
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -17370,6 +17370,28 @@ var He, A1 = (He = class {
|
|
|
17370
17370
|
method: "GET"
|
|
17371
17371
|
});
|
|
17372
17372
|
}
|
|
17373
|
+
/**
|
|
17374
|
+
* GETs a resource that may legitimately be absent: 204 No Content resolves to
|
|
17375
|
+
* null rather than failing to parse an empty body. Any other failure throws,
|
|
17376
|
+
* as get() does.
|
|
17377
|
+
*/
|
|
17378
|
+
async getOptional(e) {
|
|
17379
|
+
const n = yt.getConfig(), o = await fetch(`${yt.getApiBaseUrl()}${e}`, {
|
|
17380
|
+
credentials: "include",
|
|
17381
|
+
method: "GET",
|
|
17382
|
+
headers: { ...n.headers }
|
|
17383
|
+
});
|
|
17384
|
+
if (o.status === 204)
|
|
17385
|
+
return null;
|
|
17386
|
+
if (!o.ok)
|
|
17387
|
+
throw new bt(
|
|
17388
|
+
"API_ERROR",
|
|
17389
|
+
`HTTP ${o.status}: ${o.statusText}`,
|
|
17390
|
+
void 0,
|
|
17391
|
+
o.status
|
|
17392
|
+
);
|
|
17393
|
+
return await o.json();
|
|
17394
|
+
}
|
|
17373
17395
|
/**
|
|
17374
17396
|
* POSTs an application/x-www-form-urlencoded body.
|
|
17375
17397
|
*
|
|
@@ -17416,12 +17438,12 @@ function D1() {
|
|
|
17416
17438
|
}
|
|
17417
17439
|
}
|
|
17418
17440
|
function L1(t) {
|
|
17419
|
-
return t !== "" ||
|
|
17441
|
+
return t !== "" || yt.apiIsSameOrigin();
|
|
17420
17442
|
}
|
|
17421
17443
|
function k1() {
|
|
17422
17444
|
let t;
|
|
17423
17445
|
try {
|
|
17424
|
-
t = new URL(
|
|
17446
|
+
t = new URL(yt.getApiBaseUrl()).hostname;
|
|
17425
17447
|
} catch {
|
|
17426
17448
|
return "";
|
|
17427
17449
|
}
|
|
@@ -17523,7 +17545,7 @@ var Vt, se = (Vt = class {
|
|
|
17523
17545
|
}
|
|
17524
17546
|
/** Channel and lock names are per app, so unrelated apps on one origin do not queue behind each other. */
|
|
17525
17547
|
channelKey(e) {
|
|
17526
|
-
const n =
|
|
17548
|
+
const n = yt.getConfig();
|
|
17527
17549
|
return `pontive-${e}:${(n == null ? void 0 : n.domain) ?? ""}:${(n == null ? void 0 : n.appId) ?? ""}`;
|
|
17528
17550
|
}
|
|
17529
17551
|
ensureChannel() {
|
|
@@ -17701,7 +17723,7 @@ var Vt, se = (Vt = class {
|
|
|
17701
17723
|
*/
|
|
17702
17724
|
async fetchUserInfo(e) {
|
|
17703
17725
|
try {
|
|
17704
|
-
return await
|
|
17726
|
+
return await Bo.Instance.request("/oauth2/userinfo", {
|
|
17705
17727
|
method: "GET",
|
|
17706
17728
|
credentials: "include",
|
|
17707
17729
|
// Overrides the apiKey bearer request() would otherwise apply:
|
|
@@ -17728,10 +17750,10 @@ var Vt, se = (Vt = class {
|
|
|
17728
17750
|
var r;
|
|
17729
17751
|
const n = {
|
|
17730
17752
|
grant_type: "refresh_token",
|
|
17731
|
-
client_id: (r =
|
|
17753
|
+
client_id: (r = yt.getConfig()) == null ? void 0 : r.appId
|
|
17732
17754
|
};
|
|
17733
17755
|
e != null && e.refresh_token && (n.refresh_token = e.refresh_token);
|
|
17734
|
-
const o = await
|
|
17756
|
+
const o = await Bo.Instance.postForm("/oauth2/token", n);
|
|
17735
17757
|
return {
|
|
17736
17758
|
// An id_token comes back only when the openid scope is in play.
|
|
17737
17759
|
// Keeping the previous one is what stops getAuthenticatedUser()
|
|
@@ -17747,6 +17769,38 @@ var Vt, se = (Vt = class {
|
|
|
17747
17769
|
expires_at: Date.now() + o.expires_in * 1e3
|
|
17748
17770
|
};
|
|
17749
17771
|
}
|
|
17772
|
+
/**
|
|
17773
|
+
* The access token this browser already holds, read back from the
|
|
17774
|
+
* auth server's HttpOnly access cookie (GET /oauth2/session/token), or null
|
|
17775
|
+
* when there is none worth having.
|
|
17776
|
+
*
|
|
17777
|
+
* The SDK keeps its tokens in memory only, so every full page load used to
|
|
17778
|
+
* start empty and spend the refresh token to fill itself in — a rotation,
|
|
17779
|
+
* a write and a round trip to the token service, per page view, even with
|
|
17780
|
+
* a perfectly good access token sitting in a cookie. This reads that token
|
|
17781
|
+
* instead. It writes nothing; null means refresh.
|
|
17782
|
+
*
|
|
17783
|
+
* Any failure is null too: this is an optimisation, and an auth server that
|
|
17784
|
+
* does not have the endpoint yet, or a network blip, must fall back to the
|
|
17785
|
+
* refresh that always worked rather than look like a sign-out.
|
|
17786
|
+
*/
|
|
17787
|
+
async readCurrentToken() {
|
|
17788
|
+
var n;
|
|
17789
|
+
const e = (n = yt.getConfig()) == null ? void 0 : n.appId;
|
|
17790
|
+
if (!e)
|
|
17791
|
+
return null;
|
|
17792
|
+
try {
|
|
17793
|
+
const o = await Bo.Instance.getOptional(`/oauth2/session/token?client_id=${encodeURIComponent(e)}`);
|
|
17794
|
+
return !(o != null && o.access_token) || !(o.expires_in > 0) ? null : {
|
|
17795
|
+
id_token: "",
|
|
17796
|
+
access_token: o.access_token,
|
|
17797
|
+
expires_in: o.expires_in,
|
|
17798
|
+
expires_at: Date.now() + o.expires_in * 1e3
|
|
17799
|
+
};
|
|
17800
|
+
} catch {
|
|
17801
|
+
return null;
|
|
17802
|
+
}
|
|
17803
|
+
}
|
|
17750
17804
|
/**
|
|
17751
17805
|
* Rebuilds the session from the refresh token the browser is holding.
|
|
17752
17806
|
*
|
|
@@ -17775,7 +17829,7 @@ var Vt, se = (Vt = class {
|
|
|
17775
17829
|
if (n && !this.isSessionExpired(n))
|
|
17776
17830
|
return n;
|
|
17777
17831
|
try {
|
|
17778
|
-
const o = await this.requestTokens(null);
|
|
17832
|
+
const o = await this.readCurrentToken() ?? await this.requestTokens(null);
|
|
17779
17833
|
return o.id_token || (o.user = await this.fetchUserInfo(o.access_token) ?? void 0), this.setCurrentSession(o), this.scheduleTokenRefresh(), o;
|
|
17780
17834
|
} catch (o) {
|
|
17781
17835
|
return q1(o) && vl(), console.debug("No session to restore:", To(o)), null;
|
|
@@ -17809,14 +17863,14 @@ var Vt, se = (Vt = class {
|
|
|
17809
17863
|
}
|
|
17810
17864
|
}, N(Vt, "MAX_REFRESH_RETRIES", 5), N(Vt, "REFRESH_RETRY_BASE_MS", 5e3), N(Vt, "MAX_REFRESH_RETRY_DELAY_MS", 6e4), N(Vt, "instance"), Vt);
|
|
17811
17865
|
function j1(t) {
|
|
17812
|
-
return !(t instanceof
|
|
17866
|
+
return !(t instanceof bt) || t.status === void 0 ? !1 : t.status === 401 ? !0 : t.status === 400 && U1.has(t.code);
|
|
17813
17867
|
}
|
|
17814
17868
|
var U1 = /* @__PURE__ */ new Set(["invalid_grant", "invalid_client"]);
|
|
17815
17869
|
function q1(t) {
|
|
17816
|
-
return t instanceof
|
|
17870
|
+
return t instanceof bt && t.status !== void 0 && t.status >= 400 && t.status < 500;
|
|
17817
17871
|
}
|
|
17818
17872
|
function To(t) {
|
|
17819
|
-
return t instanceof
|
|
17873
|
+
return t instanceof bt ? `${t.code} (status ${t.status ?? "none"}): ${t.message}` : String(t);
|
|
17820
17874
|
}
|
|
17821
17875
|
var Pu = class {
|
|
17822
17876
|
// 9 minutes
|
|
@@ -17959,7 +18013,7 @@ var Pu = class {
|
|
|
17959
18013
|
}
|
|
17960
18014
|
}, F1 = class Iu {
|
|
17961
18015
|
constructor(e, n, o = window.location, r, i) {
|
|
17962
|
-
N(this, "httpClient",
|
|
18016
|
+
N(this, "httpClient", Bo.Instance);
|
|
17963
18017
|
N(this, "flowId");
|
|
17964
18018
|
N(this, "redirectTimeoutId", null);
|
|
17965
18019
|
N(this, "flowStateManager");
|
|
@@ -17971,11 +18025,11 @@ var Pu = class {
|
|
|
17971
18025
|
["switch_to_signin", this.handleSwitchToSignin.bind(this)],
|
|
17972
18026
|
["switch_to_signup", this.handleSwitchToSignup.bind(this)]
|
|
17973
18027
|
]));
|
|
17974
|
-
const s =
|
|
18028
|
+
const s = yt.getConfig();
|
|
17975
18029
|
if (!s.domain)
|
|
17976
|
-
throw new
|
|
18030
|
+
throw new bt("CONFIG_ERROR", "Domain is required");
|
|
17977
18031
|
if (!s.appId)
|
|
17978
|
-
throw new
|
|
18032
|
+
throw new bt("CONFIG_ERROR", "App ID is required");
|
|
17979
18033
|
this.flowId = e, this.location = o, this.flowStateManager = r || new Pu(), this.flowEventBus = n || new Ru(), this.navigationTypeDetector = i || new B1(), se.Instance.cleanExpiredSession(), se.Instance.scheduleTokenRefresh();
|
|
17980
18034
|
}
|
|
17981
18035
|
static async init(e, n, o, r, i) {
|
|
@@ -18000,7 +18054,7 @@ var Pu = class {
|
|
|
18000
18054
|
*/
|
|
18001
18055
|
async startFlow(e, n) {
|
|
18002
18056
|
if (!n.app_id)
|
|
18003
|
-
throw new
|
|
18057
|
+
throw new bt("VALIDATION_ERROR", "Client ID is required");
|
|
18004
18058
|
const o = `/auth/v1/authflows/${e}/start`;
|
|
18005
18059
|
return this.executeFlowRequest(
|
|
18006
18060
|
() => this.httpClient.post(o, n),
|
|
@@ -18024,7 +18078,7 @@ var Pu = class {
|
|
|
18024
18078
|
*/
|
|
18025
18079
|
async processEvent(e, n) {
|
|
18026
18080
|
if (!e.event)
|
|
18027
|
-
throw new
|
|
18081
|
+
throw new bt("VALIDATION_ERROR", "Event type is required");
|
|
18028
18082
|
const o = this.eventHandlers.get(e.event);
|
|
18029
18083
|
return o ? await o() : await this.processServerEvent(e, n);
|
|
18030
18084
|
}
|
|
@@ -18036,7 +18090,7 @@ var Pu = class {
|
|
|
18036
18090
|
const i = await e();
|
|
18037
18091
|
return r && await r(i), this.processAuthResult(i.auth_result), i.redirection && this.redirect(i.redirection), i;
|
|
18038
18092
|
} catch (i) {
|
|
18039
|
-
throw i instanceof
|
|
18093
|
+
throw i instanceof bt ? i : new bt(
|
|
18040
18094
|
n,
|
|
18041
18095
|
o,
|
|
18042
18096
|
i instanceof Error ? { originalError: i.message, stack: i.stack } : i
|
|
@@ -18051,7 +18105,7 @@ var Pu = class {
|
|
|
18051
18105
|
if (!o && (console.warn(
|
|
18052
18106
|
"Flow state expired, restarting flow before processing event"
|
|
18053
18107
|
), await this.initializeFlowInternal(), o = this.flowStateManager.getFlowState(), !o))
|
|
18054
|
-
throw new
|
|
18108
|
+
throw new bt(
|
|
18055
18109
|
"FLOW_RESTART_ERROR",
|
|
18056
18110
|
"Failed to restart flow - no flow state after initialization"
|
|
18057
18111
|
);
|
|
@@ -18091,7 +18145,7 @@ var Pu = class {
|
|
|
18091
18145
|
expires_at: Date.now() + e.expires_in * 1e3
|
|
18092
18146
|
};
|
|
18093
18147
|
se.Instance.setCurrentSession(n), se.Instance.scheduleTokenRefresh(), this.flowStateManager.clearFlowState();
|
|
18094
|
-
const { onAuthenticated: o } =
|
|
18148
|
+
const { onAuthenticated: o } = yt.getConfig();
|
|
18095
18149
|
if (o) {
|
|
18096
18150
|
o(n);
|
|
18097
18151
|
return;
|
|
@@ -18105,7 +18159,7 @@ var Pu = class {
|
|
|
18105
18159
|
* Initialize or resume the flow.
|
|
18106
18160
|
*/
|
|
18107
18161
|
async initializeFlowInternal() {
|
|
18108
|
-
const e =
|
|
18162
|
+
const e = yt.getConfig(), n = gs.detect(e, this.location);
|
|
18109
18163
|
this.validateFlowType(n);
|
|
18110
18164
|
const o = this.flowStateManager.getFlowState();
|
|
18111
18165
|
return this.shouldResumeFlow(o, n) ? await this.resumeExistingFlow(o, n) : await this.startNewFlow(n);
|
|
@@ -18115,7 +18169,7 @@ var Pu = class {
|
|
|
18115
18169
|
*/
|
|
18116
18170
|
validateFlowType(e) {
|
|
18117
18171
|
if (e === "custom" && !this.flowId)
|
|
18118
|
-
throw new
|
|
18172
|
+
throw new bt(
|
|
18119
18173
|
"FLOW_ID_ERROR",
|
|
18120
18174
|
"Flow ID is required for custom flows"
|
|
18121
18175
|
);
|
|
@@ -18172,7 +18226,7 @@ var Pu = class {
|
|
|
18172
18226
|
* Start a new flow.
|
|
18173
18227
|
*/
|
|
18174
18228
|
async startNewFlow(e) {
|
|
18175
|
-
const n =
|
|
18229
|
+
const n = yt.getConfig(), o = new URLSearchParams(this.location.search), r = {};
|
|
18176
18230
|
o.forEach((d, g) => {
|
|
18177
18231
|
r[g] = d;
|
|
18178
18232
|
}), console.log("metadata", r);
|
|
@@ -18215,7 +18269,7 @@ var Pu = class {
|
|
|
18215
18269
|
return this.flowId || "invitation-flow";
|
|
18216
18270
|
case "custom":
|
|
18217
18271
|
if (!this.flowId)
|
|
18218
|
-
throw new
|
|
18272
|
+
throw new bt(
|
|
18219
18273
|
"FLOW_ID_ERROR",
|
|
18220
18274
|
"Flow ID is required for custom flows"
|
|
18221
18275
|
);
|
|
@@ -18226,14 +18280,14 @@ var Pu = class {
|
|
|
18226
18280
|
* Handle switch to signin event.
|
|
18227
18281
|
*/
|
|
18228
18282
|
async handleSwitchToSignin() {
|
|
18229
|
-
const e =
|
|
18283
|
+
const e = yt.getConfig();
|
|
18230
18284
|
return this.redirect({ url: this.withCurrentQuery(e.signinUrl), redirect_delay: 0 }), { state: "End" };
|
|
18231
18285
|
}
|
|
18232
18286
|
/**
|
|
18233
18287
|
* Handle switch to signup event.
|
|
18234
18288
|
*/
|
|
18235
18289
|
async handleSwitchToSignup() {
|
|
18236
|
-
const e =
|
|
18290
|
+
const e = yt.getConfig();
|
|
18237
18291
|
return this.redirect({ url: this.withCurrentQuery(e.signupUrl), redirect_delay: 0 }), { state: "End" };
|
|
18238
18292
|
}
|
|
18239
18293
|
/**
|
|
@@ -18368,7 +18422,7 @@ var Pu = class {
|
|
|
18368
18422
|
}
|
|
18369
18423
|
console.log("[NavigationManager] Starting popstate processing"), this.isProcessing = !0, this.isHandlingNavigationEvent = !0;
|
|
18370
18424
|
try {
|
|
18371
|
-
const e = t.state, n = this.flowStateManager.getFlowState(), o =
|
|
18425
|
+
const e = t.state, n = this.flowStateManager.getFlowState(), o = yt.getConfig(), r = gs.detect(o, this.location);
|
|
18372
18426
|
if (e && this.restoreHistoryStateToSession(e), this.shouldRestartFlow(e, n, r)) {
|
|
18373
18427
|
await this.triggerFlowRestart();
|
|
18374
18428
|
return;
|
|
@@ -18390,7 +18444,7 @@ var Pu = class {
|
|
|
18390
18444
|
}
|
|
18391
18445
|
console.log("[NavigationManager] Starting bfcache restoration processing"), this.isProcessing = !0, this.isHandlingNavigationEvent = !0;
|
|
18392
18446
|
try {
|
|
18393
|
-
const t = this.historyAdapter.state, e = this.flowStateManager.getFlowState(), n =
|
|
18447
|
+
const t = this.historyAdapter.state, e = this.flowStateManager.getFlowState(), n = yt.getConfig(), o = gs.detect(n, this.location);
|
|
18394
18448
|
if (t && this.restoreHistoryStateToSession(t), this.shouldRestartFlow(t, e, o)) {
|
|
18395
18449
|
await this.triggerFlowRestart();
|
|
18396
18450
|
return;
|
|
@@ -18474,7 +18528,7 @@ var Pu = class {
|
|
|
18474
18528
|
}
|
|
18475
18529
|
}, nn = new AbortController(), G1 = class {
|
|
18476
18530
|
constructor() {
|
|
18477
|
-
N(this, "httpClient",
|
|
18531
|
+
N(this, "httpClient", Bo.Instance);
|
|
18478
18532
|
N(this, "capabilities", {
|
|
18479
18533
|
webauthn: !1
|
|
18480
18534
|
});
|
|
@@ -18878,14 +18932,14 @@ var Ke, W1 = (Ke = class {
|
|
|
18878
18932
|
}
|
|
18879
18933
|
ensureConfigured() {
|
|
18880
18934
|
if (!this.configured)
|
|
18881
|
-
throw new
|
|
18935
|
+
throw new bt(
|
|
18882
18936
|
"NOT_CONFIGURED",
|
|
18883
18937
|
"Auth.configure() must be called before using Auth methods"
|
|
18884
18938
|
);
|
|
18885
18939
|
}
|
|
18886
18940
|
ensureLoginflowInitialized() {
|
|
18887
18941
|
if (!this.loginflow)
|
|
18888
|
-
throw new
|
|
18942
|
+
throw new bt(
|
|
18889
18943
|
"LOGINFLOW_NOT_INITIALIZED",
|
|
18890
18944
|
"Call Auth.startLoginflow() first"
|
|
18891
18945
|
);
|
|
@@ -18902,7 +18956,7 @@ var Ke, W1 = (Ke = class {
|
|
|
18902
18956
|
},
|
|
18903
18957
|
n
|
|
18904
18958
|
);
|
|
18905
|
-
const o = await F1.init(e, this.flowEventBus), r =
|
|
18959
|
+
const o = await F1.init(e, this.flowEventBus), r = yt.getConfig();
|
|
18906
18960
|
this.startPasskeyAuthentication(o.flowType, !0), this.loginflow = o.sdk;
|
|
18907
18961
|
const i = {
|
|
18908
18962
|
flowType: o.flowType,
|
|
@@ -18922,11 +18976,11 @@ var Ke, W1 = (Ke = class {
|
|
|
18922
18976
|
}
|
|
18923
18977
|
configure(e) {
|
|
18924
18978
|
if (!e.domain || !e.appId)
|
|
18925
|
-
throw new
|
|
18979
|
+
throw new bt(
|
|
18926
18980
|
"CONFIG_ERROR",
|
|
18927
18981
|
"domain and appId are required"
|
|
18928
18982
|
);
|
|
18929
|
-
|
|
18983
|
+
yt.setConfig(e), this.configured = !0, this.configuredResolve();
|
|
18930
18984
|
}
|
|
18931
18985
|
/**
|
|
18932
18986
|
* Resolves once configure() has been called, immediately if it already has.
|
|
@@ -18972,7 +19026,7 @@ var Ke, W1 = (Ke = class {
|
|
|
18972
19026
|
async processLoginflowEvent(e) {
|
|
18973
19027
|
var i, s;
|
|
18974
19028
|
this.ensureConfigured(), this.ensureLoginflowInitialized();
|
|
18975
|
-
const n =
|
|
19029
|
+
const n = yt.getConfig(), o = gs.detect(n, location);
|
|
18976
19030
|
if (e.event === "signin_with_passkey" && !((i = e.data) != null && i.credential_request)) {
|
|
18977
19031
|
const c = await this.getPasskeyCredential(o, !1);
|
|
18978
19032
|
if (!c || !c.cred)
|
|
@@ -19142,8 +19196,8 @@ var Ke, W1 = (Ke = class {
|
|
|
19142
19196
|
async signOut(e) {
|
|
19143
19197
|
var r;
|
|
19144
19198
|
this.ensureConfigured();
|
|
19145
|
-
const n = Y1(se.Instance.peekSession()), o = ((r =
|
|
19146
|
-
if (vl(), se.Instance.clearSession(), se.Instance.cleanup(), this.loginflow && (this.loginflow.cleanup(), this.loginflow = null), this.navigationManager && (this.navigationManager.destroy(), this.navigationManager = null), this.flowEventBus && (this.flowEventBus.clear(), this.flowEventBus = null), !
|
|
19199
|
+
const n = Y1(se.Instance.peekSession()), o = ((r = yt.getConfig()) == null ? void 0 : r.appId) ?? "";
|
|
19200
|
+
if (vl(), se.Instance.clearSession(), se.Instance.cleanup(), this.loginflow && (this.loginflow.cleanup(), this.loginflow = null), this.navigationManager && (this.navigationManager.destroy(), this.navigationManager = null), this.flowEventBus && (this.flowEventBus.clear(), this.flowEventBus = null), !yt.apiIsSameOrigin()) {
|
|
19147
19201
|
window.location.assign(this.logoutUrl(n, o, e == null ? void 0 : e.returnTo));
|
|
19148
19202
|
return;
|
|
19149
19203
|
}
|
|
@@ -19159,7 +19213,7 @@ var Ke, W1 = (Ke = class {
|
|
|
19159
19213
|
*/
|
|
19160
19214
|
async endServerSession(e, n) {
|
|
19161
19215
|
try {
|
|
19162
|
-
await fetch(`${
|
|
19216
|
+
await fetch(`${yt.getApiBaseUrl()}/oauth2/logout`, {
|
|
19163
19217
|
method: "POST",
|
|
19164
19218
|
credentials: "include",
|
|
19165
19219
|
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
@@ -19186,7 +19240,7 @@ var Ke, W1 = (Ke = class {
|
|
|
19186
19240
|
post_logout_redirect_uri: o ?? `${window.location.origin}${window.location.pathname}`,
|
|
19187
19241
|
client_id: n
|
|
19188
19242
|
});
|
|
19189
|
-
return e && r.set("logout_hint", e), `${
|
|
19243
|
+
return e && r.set("logout_hint", e), `${yt.getApiBaseUrl()}/oauth2/logout?${r.toString()}`;
|
|
19190
19244
|
}
|
|
19191
19245
|
}, N(Ke, "instance"), Ke);
|
|
19192
19246
|
function Y1(t) {
|
|
@@ -19314,7 +19368,7 @@ J1([
|
|
|
19314
19368
|
const In = "pont:auth", An = { showWatermark: !0 }, Co = "pont:branding";
|
|
19315
19369
|
class Q1 {
|
|
19316
19370
|
constructor(e) {
|
|
19317
|
-
this.consumer = new
|
|
19371
|
+
this.consumer = new Ji(e, {
|
|
19318
19372
|
context: Co,
|
|
19319
19373
|
subscribe: !0
|
|
19320
19374
|
});
|
|
@@ -19326,9 +19380,9 @@ class Q1 {
|
|
|
19326
19380
|
}
|
|
19327
19381
|
}
|
|
19328
19382
|
const Au = "pont:design-mode";
|
|
19329
|
-
class
|
|
19383
|
+
class _i {
|
|
19330
19384
|
constructor(e) {
|
|
19331
|
-
this.host = e, this.consumer = new
|
|
19385
|
+
this.host = e, this.consumer = new Ji(e, {
|
|
19332
19386
|
context: Au,
|
|
19333
19387
|
subscribe: !0
|
|
19334
19388
|
});
|
|
@@ -19338,8 +19392,8 @@ class yi {
|
|
|
19338
19392
|
return this.host.hasAttribute("design-mode") ? this.host.getAttribute("design-mode") !== "false" : this.consumer.value ?? !1;
|
|
19339
19393
|
}
|
|
19340
19394
|
}
|
|
19341
|
-
const Tu = "pont:env", Os = Symbol("renderSpecContext"),
|
|
19342
|
-
var X1 = Object.defineProperty, t0 = Object.getOwnPropertyDescriptor,
|
|
19395
|
+
const Tu = "pont:env", Os = Symbol("renderSpecContext"), wi = "pont-user-context", Ps = "";
|
|
19396
|
+
var X1 = Object.defineProperty, t0 = Object.getOwnPropertyDescriptor, $i = (t, e, n, o) => {
|
|
19343
19397
|
for (var r = o > 1 ? void 0 : o ? t0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
19344
19398
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
19345
19399
|
return o && r && X1(e, n, r), r;
|
|
@@ -19393,21 +19447,21 @@ let he = class extends f {
|
|
|
19393
19447
|
};
|
|
19394
19448
|
he.reportedUnregistered = /* @__PURE__ */ new Set();
|
|
19395
19449
|
he.UNREGISTERED_ELEMENT_EVENT = "pont:unregistered-element";
|
|
19396
|
-
|
|
19450
|
+
$i([
|
|
19397
19451
|
m()
|
|
19398
19452
|
], he.prototype, "spec", 2);
|
|
19399
|
-
|
|
19453
|
+
$i([
|
|
19400
19454
|
a({ attribute: !1 })
|
|
19401
19455
|
], he.prototype, "renderSpec", 1);
|
|
19402
|
-
|
|
19456
|
+
$i([
|
|
19403
19457
|
a({ type: Boolean, attribute: "design-mode" }),
|
|
19404
19458
|
be({ context: Au })
|
|
19405
19459
|
], he.prototype, "designMode", 2);
|
|
19406
|
-
|
|
19460
|
+
$i([
|
|
19407
19461
|
a({ attribute: !1 }),
|
|
19408
19462
|
be({ context: Co })
|
|
19409
19463
|
], he.prototype, "branding", 2);
|
|
19410
|
-
he =
|
|
19464
|
+
he = $i([
|
|
19411
19465
|
p("pont-layout")
|
|
19412
19466
|
], he);
|
|
19413
19467
|
let yl = null;
|
|
@@ -19841,7 +19895,7 @@ let Cl = class extends f {
|
|
|
19841
19895
|
}
|
|
19842
19896
|
};
|
|
19843
19897
|
Du([
|
|
19844
|
-
|
|
19898
|
+
wt({ context: In, subscribe: !0 }),
|
|
19845
19899
|
a({ attribute: !1 })
|
|
19846
19900
|
], Cl.prototype, "auth", 2);
|
|
19847
19901
|
Cl = Du([
|
|
@@ -19877,7 +19931,7 @@ let El = class extends f {
|
|
|
19877
19931
|
}
|
|
19878
19932
|
};
|
|
19879
19933
|
Lu([
|
|
19880
|
-
|
|
19934
|
+
wt({ context: In, subscribe: !0 }),
|
|
19881
19935
|
a({ attribute: !1 })
|
|
19882
19936
|
], El.prototype, "auth", 2);
|
|
19883
19937
|
El = Lu([
|
|
@@ -19888,7 +19942,7 @@ var y0 = Object.defineProperty, _0 = Object.getOwnPropertyDescriptor, As = (t, e
|
|
|
19888
19942
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
19889
19943
|
return o && r && y0(e, n, r), r;
|
|
19890
19944
|
};
|
|
19891
|
-
let
|
|
19945
|
+
let Qo = class extends f {
|
|
19892
19946
|
constructor() {
|
|
19893
19947
|
super(...arguments), this._cachedChildren = [], this._loadingChildren = [], this._captured = !1, this.redirectUrl = "", this.env = null;
|
|
19894
19948
|
}
|
|
@@ -19910,18 +19964,18 @@ let Jo = class extends f {
|
|
|
19910
19964
|
};
|
|
19911
19965
|
As([
|
|
19912
19966
|
a({ type: String })
|
|
19913
|
-
],
|
|
19967
|
+
], Qo.prototype, "redirectUrl", 2);
|
|
19914
19968
|
As([
|
|
19915
|
-
|
|
19969
|
+
wt({ context: Tu }),
|
|
19916
19970
|
a({ attribute: !1 })
|
|
19917
|
-
],
|
|
19971
|
+
], Qo.prototype, "env", 2);
|
|
19918
19972
|
As([
|
|
19919
|
-
|
|
19973
|
+
wt({ context: In, subscribe: !0 }),
|
|
19920
19974
|
a({ attribute: !1 })
|
|
19921
|
-
],
|
|
19922
|
-
|
|
19975
|
+
], Qo.prototype, "auth", 2);
|
|
19976
|
+
Qo = As([
|
|
19923
19977
|
p("pont-authenticated")
|
|
19924
|
-
],
|
|
19978
|
+
], Qo);
|
|
19925
19979
|
var w0 = Object.defineProperty, $0 = Object.getOwnPropertyDescriptor, ku = (t, e, n, o) => {
|
|
19926
19980
|
for (var r = o > 1 ? void 0 : o ? $0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
19927
19981
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -19956,13 +20010,13 @@ let Sl = class extends f {
|
|
|
19956
20010
|
}
|
|
19957
20011
|
};
|
|
19958
20012
|
ku([
|
|
19959
|
-
|
|
20013
|
+
wt({ context: In, subscribe: !0 }),
|
|
19960
20014
|
a({ attribute: !1 })
|
|
19961
20015
|
], Sl.prototype, "auth", 2);
|
|
19962
20016
|
Sl = ku([
|
|
19963
20017
|
p("pont-auth-state")
|
|
19964
20018
|
], Sl);
|
|
19965
|
-
var ze = /* @__PURE__ */ ((t) => (t.PROFILE = "Profile", t.SECURITY = "Security", t.APPEARANCE = "Appearance", t.NOTIFICATION = "Notification", t))(ze || {}), jr = /* @__PURE__ */ ((t) => (t.MODAL = "MODAL", t.PAGE = "PAGE", t))(jr || {}), yr = /* @__PURE__ */ ((t) => (t.BURGER = "BURGER", t.REGULAR = "REGULAR", t))(yr || {}), cn = /* @__PURE__ */ ((t) => (t.VERTICAL = "VERTICAL", t.HORIZONTAL = "HORIZONTAL", t))(cn || {}),
|
|
20019
|
+
var ze = /* @__PURE__ */ ((t) => (t.PROFILE = "Profile", t.SECURITY = "Security", t.APPEARANCE = "Appearance", t.NOTIFICATION = "Notification", t))(ze || {}), jr = /* @__PURE__ */ ((t) => (t.MODAL = "MODAL", t.PAGE = "PAGE", t))(jr || {}), yr = /* @__PURE__ */ ((t) => (t.BURGER = "BURGER", t.REGULAR = "REGULAR", t))(yr || {}), cn = /* @__PURE__ */ ((t) => (t.VERTICAL = "VERTICAL", t.HORIZONTAL = "HORIZONTAL", t))(cn || {}), Et = /* @__PURE__ */ ((t) => (t.COLUMN = "COLUMN", t.ROW = "ROW", t))(Et || {});
|
|
19966
20020
|
function Ts() {
|
|
19967
20021
|
return Q`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
19968
20022
|
<path d="M6.66501 1.32926H1.99834C1.64472 1.32926 1.30558 1.46974 1.05553 1.71979C0.805484 1.96984 0.665009 2.30898 0.665009 2.6626V11.9959C0.665009 12.3496 0.805484 12.6887 1.05553 12.9387C1.30558 13.1888 1.64472 13.3293 1.99834 13.3293H11.3317C11.6853 13.3293 12.0244 13.1888 12.2745 12.9387C12.5245 12.6887 12.665 12.3496 12.665 11.9959V7.32926M10.9151 1.07925C11.1803 0.814036 11.54 0.665039 11.9151 0.665039C12.2901 0.665039 12.6499 0.814036 12.9151 1.07925C13.1803 1.34447 13.3293 1.70418 13.3293 2.07925C13.3293 2.45433 13.1803 2.81404 12.9151 3.07925L6.90641 9.08859C6.7481 9.24675 6.55254 9.36253 6.33774 9.42525L4.4224 9.98525C4.36504 10.002 4.30423 10.003 4.24634 9.98816C4.18846 9.97333 4.13562 9.94321 4.09337 9.90096C4.05112 9.8587 4.021 9.80587 4.00617 9.74798C3.99134 9.69009 3.99234 9.62929 4.00907 9.57192L4.56907 7.65659C4.63209 7.44195 4.74809 7.24662 4.9064 7.08859L10.9151 1.07925Z" stroke="currentColor" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -20072,7 +20126,7 @@ var A0 = Object.defineProperty, T0 = Object.getOwnPropertyDescriptor, Ds = (t, e
|
|
|
20072
20126
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
20073
20127
|
return o && r && A0(e, n, r), r;
|
|
20074
20128
|
};
|
|
20075
|
-
let
|
|
20129
|
+
let Xo = class extends f {
|
|
20076
20130
|
constructor() {
|
|
20077
20131
|
super(...arguments), this._cachedChildren = [], this.isOpen = !1, this.showClose = !0, this.layoutClass = "", this._handleClose = (t) => {
|
|
20078
20132
|
t && t.stopPropagation(), this.dispatchEvent(
|
|
@@ -20118,17 +20172,17 @@ let Qo = class extends f {
|
|
|
20118
20172
|
};
|
|
20119
20173
|
Ds([
|
|
20120
20174
|
a({ type: Boolean })
|
|
20121
|
-
],
|
|
20175
|
+
], Xo.prototype, "isOpen", 2);
|
|
20122
20176
|
Ds([
|
|
20123
20177
|
a({ type: Boolean })
|
|
20124
|
-
],
|
|
20178
|
+
], Xo.prototype, "showClose", 2);
|
|
20125
20179
|
Ds([
|
|
20126
20180
|
a({ type: String })
|
|
20127
|
-
],
|
|
20128
|
-
|
|
20181
|
+
], Xo.prototype, "layoutClass", 2);
|
|
20182
|
+
Xo = Ds([
|
|
20129
20183
|
p("pont-modal")
|
|
20130
|
-
],
|
|
20131
|
-
const Ls = "pont-account-settings-card-header-container",
|
|
20184
|
+
], Xo);
|
|
20185
|
+
const Ls = "pont-account-settings-card-header-container", ti = "pont-account-settings-card-title", Ye = "pont-account-settings-input-label pont-shrink-0 md:pont-block", ks = "pont-account-settings-card-container", ei = () => l`<pont-typography-muted>Not Added</pont-typography-muted>`;
|
|
20132
20186
|
class D0 extends Error {
|
|
20133
20187
|
constructor(e, n, o) {
|
|
20134
20188
|
super(e), this.name = "ApiError", this.status = n, this.data = o;
|
|
@@ -20272,7 +20326,7 @@ var z0 = Object.defineProperty, V0 = Object.getOwnPropertyDescriptor, Yt = (t, e
|
|
|
20272
20326
|
};
|
|
20273
20327
|
let Gt = class extends f {
|
|
20274
20328
|
constructor() {
|
|
20275
|
-
super(...arguments), this.showAvatarMenu = !1, this.showIcons = !0, this.content = null, this.layout =
|
|
20329
|
+
super(...arguments), this.showAvatarMenu = !1, this.showIcons = !0, this.content = null, this.layout = Et.ROW, this.isUploadingImage = !1, this.isEditingAvatarMobile = !1, this.isMobile = !1, this._isAvatarEditorOpen = !1, this._popoverObserver = null, this._intentionalClose = !1, this.avatarDraft = "", this._committedAvatar = "", this._onMobileChange = (t) => {
|
|
20276
20330
|
this.isMobile = t.matches, t.matches || (this.isEditingAvatarMobile = !1);
|
|
20277
20331
|
}, this.handleAvatarInput = (t) => {
|
|
20278
20332
|
this.avatarDraft = t.target.value, this.account = { ...this.account, avatar: this.avatarDraft };
|
|
@@ -20354,7 +20408,7 @@ let Gt = class extends f {
|
|
|
20354
20408
|
* column and take Email and Phone with it.
|
|
20355
20409
|
*/
|
|
20356
20410
|
renderRow(t, e) {
|
|
20357
|
-
const n = this.layout ===
|
|
20411
|
+
const n = this.layout === Et.COLUMN;
|
|
20358
20412
|
return l`
|
|
20359
20413
|
<div
|
|
20360
20414
|
class=${ue(
|
|
@@ -20369,7 +20423,7 @@ let Gt = class extends f {
|
|
|
20369
20423
|
<div class="pont-flex-1 pont-min-w-0">${e}</div>
|
|
20370
20424
|
` : l`
|
|
20371
20425
|
<div
|
|
20372
|
-
class=${this.layout ===
|
|
20426
|
+
class=${this.layout === Et.ROW ? "pont-flex pont-w-full pont-items-center" : ""}
|
|
20373
20427
|
>
|
|
20374
20428
|
<div
|
|
20375
20429
|
part="label"
|
|
@@ -20392,7 +20446,7 @@ let Gt = class extends f {
|
|
|
20392
20446
|
return this.renderRow(
|
|
20393
20447
|
t,
|
|
20394
20448
|
l`
|
|
20395
|
-
${e ? l`<pont-typography-p>${e}</pont-typography-p>` :
|
|
20449
|
+
${e ? l`<pont-typography-p>${e}</pont-typography-p>` : ei()}
|
|
20396
20450
|
`
|
|
20397
20451
|
);
|
|
20398
20452
|
}
|
|
@@ -20459,7 +20513,7 @@ let Gt = class extends f {
|
|
|
20459
20513
|
return l`
|
|
20460
20514
|
<div class="pont-flex pont-flex-col pont-gap-6">
|
|
20461
20515
|
<div class="pont-account-settings-form-body">
|
|
20462
|
-
<div class=${
|
|
20516
|
+
<div class=${ti}>
|
|
20463
20517
|
<span>Avatar</span>
|
|
20464
20518
|
</div>
|
|
20465
20519
|
<div class="pont-flex pont-gap-2 pont-flex-col">
|
|
@@ -20568,7 +20622,7 @@ let Gt = class extends f {
|
|
|
20568
20622
|
<pont-card-header>
|
|
20569
20623
|
<div class=${Ls}>
|
|
20570
20624
|
<pont-card-title>
|
|
20571
|
-
<div class=${
|
|
20625
|
+
<div class=${ti}>
|
|
20572
20626
|
${(t = this.content) == null ? void 0 : t.icon}
|
|
20573
20627
|
<span>${((e = this.content) == null ? void 0 : e.title) || "Login Info"}</span>
|
|
20574
20628
|
</div>
|
|
@@ -20640,7 +20694,7 @@ Yt([
|
|
|
20640
20694
|
m()
|
|
20641
20695
|
], Gt.prototype, "avatarDraft", 2);
|
|
20642
20696
|
Yt([
|
|
20643
|
-
|
|
20697
|
+
wt({ context: wi, subscribe: !0 })
|
|
20644
20698
|
], Gt.prototype, "userContextValue", 2);
|
|
20645
20699
|
Gt = Yt([
|
|
20646
20700
|
p("pont-account-info")
|
|
@@ -20653,7 +20707,7 @@ var H0 = Object.defineProperty, G0 = Object.getOwnPropertyDescriptor, sr = (t, e
|
|
|
20653
20707
|
const Ap = 100;
|
|
20654
20708
|
let Ae = class extends f {
|
|
20655
20709
|
constructor() {
|
|
20656
|
-
super(...arguments), this.showIcons = !0, this.layout =
|
|
20710
|
+
super(...arguments), this.showIcons = !0, this.layout = Et.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = {
|
|
20657
20711
|
location: "",
|
|
20658
20712
|
zoneInfo: ""
|
|
20659
20713
|
}, this.errors = {}, this.handleSave = async () => {
|
|
@@ -20768,7 +20822,7 @@ let Ae = class extends f {
|
|
|
20768
20822
|
>${t}</pont-field-label
|
|
20769
20823
|
>
|
|
20770
20824
|
`;
|
|
20771
|
-
return this.layout ===
|
|
20825
|
+
return this.layout === Et.ROW ? l`
|
|
20772
20826
|
<div class="pont-flex pont-w-full pont-account-settings-info-card-rows">
|
|
20773
20827
|
${o}
|
|
20774
20828
|
<div class="pont-account-settings-field-input-wrapper">${n}</div>
|
|
@@ -20822,7 +20876,7 @@ let Ae = class extends f {
|
|
|
20822
20876
|
<pont-card-header>
|
|
20823
20877
|
<div class=${Ls}>
|
|
20824
20878
|
<pont-card-title>
|
|
20825
|
-
<div class=${
|
|
20879
|
+
<div class=${ti}>
|
|
20826
20880
|
${(e = this.content) == null ? void 0 : e.icon}
|
|
20827
20881
|
<span>${((n = this.content) == null ? void 0 : n.title) ?? "Location"}</span>
|
|
20828
20882
|
</div>
|
|
@@ -20846,16 +20900,16 @@ let Ae = class extends f {
|
|
|
20846
20900
|
<pont-card-content>
|
|
20847
20901
|
${this.isEditing ? l`
|
|
20848
20902
|
<div
|
|
20849
|
-
class=${this.layout ===
|
|
20903
|
+
class=${this.layout === Et.ROW ? "pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
20850
20904
|
>
|
|
20851
20905
|
${t.map((o) => this.renderField(o.label, o.key))}
|
|
20852
20906
|
</div>
|
|
20853
20907
|
` : l`
|
|
20854
20908
|
<div
|
|
20855
|
-
class=${this.layout ===
|
|
20909
|
+
class=${this.layout === Et.ROW ? "pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
20856
20910
|
>
|
|
20857
20911
|
<div
|
|
20858
|
-
class=${this.layout ===
|
|
20912
|
+
class=${this.layout === Et.ROW ? "pont-flex pont-w-full pont-account-settings-info-card-rows" : "pont-account-settings-info-card-rows"}
|
|
20859
20913
|
>
|
|
20860
20914
|
<pont-typography-p
|
|
20861
20915
|
><div
|
|
@@ -20869,12 +20923,12 @@ let Ae = class extends f {
|
|
|
20869
20923
|
</div></pont-typography-p
|
|
20870
20924
|
>
|
|
20871
20925
|
<div>
|
|
20872
|
-
${this.locationInfo.location ? l`<pont-typography-p>${this.locationInfo.location}</pont-typography-p>` :
|
|
20926
|
+
${this.locationInfo.location ? l`<pont-typography-p>${this.locationInfo.location}</pont-typography-p>` : ei()}
|
|
20873
20927
|
</div>
|
|
20874
20928
|
</div>
|
|
20875
20929
|
|
|
20876
20930
|
<div
|
|
20877
|
-
class=${this.layout ===
|
|
20931
|
+
class=${this.layout === Et.ROW ? "pont-flex pont-w-full pont-account-settings-info-card-rows" : "pont-account-settings-info-card-rows"}
|
|
20878
20932
|
>
|
|
20879
20933
|
<pont-typography-p
|
|
20880
20934
|
><div
|
|
@@ -20888,7 +20942,7 @@ let Ae = class extends f {
|
|
|
20888
20942
|
</div></pont-typography-p
|
|
20889
20943
|
>
|
|
20890
20944
|
<div>
|
|
20891
|
-
${this.locationInfo.zoneInfo ? l`<pont-typography-p>${this.locationInfo.zoneInfo}</pont-typography-p>` :
|
|
20945
|
+
${this.locationInfo.zoneInfo ? l`<pont-typography-p>${this.locationInfo.zoneInfo}</pont-typography-p>` : ei()}
|
|
20892
20946
|
</div>
|
|
20893
20947
|
</div>
|
|
20894
20948
|
</div>
|
|
@@ -20915,7 +20969,7 @@ sr([
|
|
|
20915
20969
|
a({ type: Object })
|
|
20916
20970
|
], Ae.prototype, "content", 2);
|
|
20917
20971
|
sr([
|
|
20918
|
-
|
|
20972
|
+
wt({ context: wi, subscribe: !0 })
|
|
20919
20973
|
], Ae.prototype, "userContextValue", 2);
|
|
20920
20974
|
sr([
|
|
20921
20975
|
m()
|
|
@@ -20940,7 +20994,7 @@ var K0 = Object.defineProperty, W0 = Object.getOwnPropertyDescriptor, ar = (t, e
|
|
|
20940
20994
|
const Tp = 100, Dp = 500;
|
|
20941
20995
|
let Te = class extends f {
|
|
20942
20996
|
constructor() {
|
|
20943
|
-
super(...arguments), this.showIcons = !0, this.layout =
|
|
20997
|
+
super(...arguments), this.showIcons = !0, this.layout = Et.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = this.personal, this.errors = {}, this.handleSave = async () => {
|
|
20944
20998
|
if (!this.isSaving && this.validate()) {
|
|
20945
20999
|
this.isSaving = !0;
|
|
20946
21000
|
try {
|
|
@@ -21067,7 +21121,7 @@ let Te = class extends f {
|
|
|
21067
21121
|
`;
|
|
21068
21122
|
}
|
|
21069
21123
|
renderField(t, e) {
|
|
21070
|
-
return this.layout ===
|
|
21124
|
+
return this.layout === Et.ROW ? l`
|
|
21071
21125
|
<div class="pont-flex pont-w-full pont-account-settings-info-card-rows">
|
|
21072
21126
|
<pont-field-label
|
|
21073
21127
|
part="label"
|
|
@@ -21146,7 +21200,7 @@ let Te = class extends f {
|
|
|
21146
21200
|
<pont-card-header>
|
|
21147
21201
|
<div class=${Ls}>
|
|
21148
21202
|
<pont-card-title>
|
|
21149
|
-
<div class=${
|
|
21203
|
+
<div class=${ti}>
|
|
21150
21204
|
${(e = this.content) == null ? void 0 : e.icon}
|
|
21151
21205
|
<span>${((n = this.content) == null ? void 0 : n.title) ?? "Personal Info"}</span>
|
|
21152
21206
|
</div>
|
|
@@ -21170,18 +21224,18 @@ let Te = class extends f {
|
|
|
21170
21224
|
<pont-card-content>
|
|
21171
21225
|
${this.isEditing ? l`
|
|
21172
21226
|
<div
|
|
21173
|
-
class=${this.layout ===
|
|
21227
|
+
class=${this.layout === Et.ROW ? "pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
21174
21228
|
>
|
|
21175
21229
|
${t.map((o) => this.renderField(o.label, o.key))}
|
|
21176
21230
|
</div>
|
|
21177
21231
|
` : l`
|
|
21178
21232
|
<div
|
|
21179
|
-
class=${this.layout ===
|
|
21233
|
+
class=${this.layout === Et.ROW ? "pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
21180
21234
|
>
|
|
21181
21235
|
${t.map(
|
|
21182
21236
|
(o) => l`
|
|
21183
21237
|
<div
|
|
21184
|
-
class=${this.layout ===
|
|
21238
|
+
class=${this.layout === Et.ROW ? "pont-flex pont-w-full pont-account-settings-info-card-rows" : "pont-account-settings-info-card-rows"}
|
|
21185
21239
|
>
|
|
21186
21240
|
<pont-typography-p>
|
|
21187
21241
|
<div
|
|
@@ -21195,7 +21249,7 @@ let Te = class extends f {
|
|
|
21195
21249
|
</div>
|
|
21196
21250
|
</pont-typography-p>
|
|
21197
21251
|
<div>
|
|
21198
|
-
${this.personal[o.key] ? l`<pont-typography-p>${this.personal[o.key]}</pont-typography-p>` :
|
|
21252
|
+
${this.personal[o.key] ? l`<pont-typography-p>${this.personal[o.key]}</pont-typography-p>` : ei()}
|
|
21199
21253
|
</div>
|
|
21200
21254
|
</div>
|
|
21201
21255
|
`
|
|
@@ -21224,7 +21278,7 @@ ar([
|
|
|
21224
21278
|
a({ type: Object })
|
|
21225
21279
|
], Te.prototype, "content", 2);
|
|
21226
21280
|
ar([
|
|
21227
|
-
|
|
21281
|
+
wt({ context: wi, subscribe: !0 })
|
|
21228
21282
|
], Te.prototype, "userContextValue", 2);
|
|
21229
21283
|
ar([
|
|
21230
21284
|
m()
|
|
@@ -21248,7 +21302,7 @@ var Y0 = Object.defineProperty, Z0 = Object.getOwnPropertyDescriptor, lr = (t, e
|
|
|
21248
21302
|
};
|
|
21249
21303
|
let De = class extends f {
|
|
21250
21304
|
constructor() {
|
|
21251
|
-
super(...arguments), this.showIcons = !0, this.layout =
|
|
21305
|
+
super(...arguments), this.showIcons = !0, this.layout = Et.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = {
|
|
21252
21306
|
website: ""
|
|
21253
21307
|
}, this.errors = {}, this.handleSave = async () => {
|
|
21254
21308
|
if (!this.isSaving && this.validate()) {
|
|
@@ -21329,7 +21383,7 @@ let De = class extends f {
|
|
|
21329
21383
|
>${t}</pont-field-label
|
|
21330
21384
|
>
|
|
21331
21385
|
`;
|
|
21332
|
-
return this.layout ===
|
|
21386
|
+
return this.layout === Et.ROW ? l`
|
|
21333
21387
|
<div class="pont-flex pont-w-full pont-account-settings-info-card-rows">
|
|
21334
21388
|
${o}
|
|
21335
21389
|
<div class="pont-account-settings-field-input-wrapper">${n}</div>
|
|
@@ -21384,7 +21438,7 @@ let De = class extends f {
|
|
|
21384
21438
|
<pont-card-header>
|
|
21385
21439
|
<div class=${Ls}>
|
|
21386
21440
|
<pont-card-title>
|
|
21387
|
-
<div class=${
|
|
21441
|
+
<div class=${ti}>
|
|
21388
21442
|
${(e = this.content) == null ? void 0 : e.icon}
|
|
21389
21443
|
<span>${((n = this.content) == null ? void 0 : n.title) ?? "Links"}</span>
|
|
21390
21444
|
</div>
|
|
@@ -21408,16 +21462,16 @@ let De = class extends f {
|
|
|
21408
21462
|
<pont-card-content>
|
|
21409
21463
|
${this.isEditing ? l`
|
|
21410
21464
|
<div
|
|
21411
|
-
class=${this.layout ===
|
|
21465
|
+
class=${this.layout === Et.ROW ? "pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
21412
21466
|
>
|
|
21413
21467
|
${t.map((o) => this.renderField(o.label, o.key))}
|
|
21414
21468
|
</div>
|
|
21415
21469
|
` : l`
|
|
21416
21470
|
<div
|
|
21417
|
-
class=${this.layout ===
|
|
21471
|
+
class=${this.layout === Et.ROW ? "pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
21418
21472
|
>
|
|
21419
21473
|
<div
|
|
21420
|
-
class=${this.layout ===
|
|
21474
|
+
class=${this.layout === Et.ROW ? "pont-flex pont-w-full pont-account-settings-info-card-rows" : "pont-account-settings-info-card-rows"}
|
|
21421
21475
|
>
|
|
21422
21476
|
<pont-typography-p
|
|
21423
21477
|
><div
|
|
@@ -21435,7 +21489,7 @@ let De = class extends f {
|
|
|
21435
21489
|
@click=${this.handleLinkClick}
|
|
21436
21490
|
class=${this.URLsInfo.website ? "pont-underline pont-cursor-pointer" : ""}
|
|
21437
21491
|
>
|
|
21438
|
-
${this.URLsInfo.website ? l`<pont-typography-p>${this.URLsInfo.website}</pont-typography-p>` :
|
|
21492
|
+
${this.URLsInfo.website ? l`<pont-typography-p>${this.URLsInfo.website}</pont-typography-p>` : ei()}
|
|
21439
21493
|
</div>
|
|
21440
21494
|
${this.URLsInfo.website ? l`<div
|
|
21441
21495
|
@click=${this.handleLinkClick}
|
|
@@ -21469,7 +21523,7 @@ lr([
|
|
|
21469
21523
|
a({ type: Object })
|
|
21470
21524
|
], De.prototype, "content", 2);
|
|
21471
21525
|
lr([
|
|
21472
|
-
|
|
21526
|
+
wt({ context: wi, subscribe: !0 })
|
|
21473
21527
|
], De.prototype, "userContextValue", 2);
|
|
21474
21528
|
lr([
|
|
21475
21529
|
m()
|
|
@@ -21493,7 +21547,7 @@ var J0 = Object.defineProperty, Q0 = Object.getOwnPropertyDescriptor, Zt = (t, e
|
|
|
21493
21547
|
};
|
|
21494
21548
|
let Kt = class extends f {
|
|
21495
21549
|
constructor() {
|
|
21496
|
-
super(...arguments), this.showAvatarMenu = !1, this.orientation = cn.HORIZONTAL, this.sidebarDisplayType = yr.REGULAR, this.mode = jr == null ? void 0 : jr.PAGE, this.widgetsLayout =
|
|
21550
|
+
super(...arguments), this.showAvatarMenu = !1, this.orientation = cn.HORIZONTAL, this.sidebarDisplayType = yr.REGULAR, this.mode = jr == null ? void 0 : jr.PAGE, this.widgetsLayout = Et.ROW, this.content = null;
|
|
21497
21551
|
}
|
|
21498
21552
|
createRenderRoot() {
|
|
21499
21553
|
return this;
|
|
@@ -21575,7 +21629,7 @@ Zt([
|
|
|
21575
21629
|
Kt = Zt([
|
|
21576
21630
|
p("pont-profile")
|
|
21577
21631
|
], Kt);
|
|
21578
|
-
const
|
|
21632
|
+
const Pi = {
|
|
21579
21633
|
vertical: "pont-account-settings-sidebar-vertical",
|
|
21580
21634
|
horizontal: "pont-account-settings-sidebar-horizontal",
|
|
21581
21635
|
horizontalBurger: "pont-account-settings-sidebar-horizontal-burger"
|
|
@@ -21710,7 +21764,7 @@ let Kr = class extends f {
|
|
|
21710
21764
|
`;
|
|
21711
21765
|
}
|
|
21712
21766
|
getSidebarContainerClass() {
|
|
21713
|
-
return this.isBurger && this.isModal ?
|
|
21767
|
+
return this.isBurger && this.isModal ? Pi.horizontalBurger : this.isModal && this.isVertical ? `${Pi.vertical} pont-account-settings-sidebar-modal-margin` : this.isVertical ? Pi.vertical : Pi.horizontal;
|
|
21714
21768
|
}
|
|
21715
21769
|
render() {
|
|
21716
21770
|
const t = !this.isVertical && !this.isBurger;
|
|
@@ -21805,7 +21859,7 @@ var a2 = Object.defineProperty, pe = (t, e, n, o) => {
|
|
|
21805
21859
|
};
|
|
21806
21860
|
class ee extends f {
|
|
21807
21861
|
constructor() {
|
|
21808
|
-
super(), this.showAvatarMenu = !1, this.orientation = cn.HORIZONTAL, this.mobileDisplay = yr.REGULAR, this.mode = jr.PAGE, this.widgetsLayout =
|
|
21862
|
+
super(), this.showAvatarMenu = !1, this.orientation = cn.HORIZONTAL, this.mobileDisplay = yr.REGULAR, this.mode = jr.PAGE, this.widgetsLayout = Et.ROW, this.content = null, this.isOpen = !1, this.currentBreakpoint = "md", this.activeTab = ze.PROFILE, this._userLoaded = !1, this._userLoading = !1, this.userContextValue = {
|
|
21809
21863
|
user: null,
|
|
21810
21864
|
identifier: null
|
|
21811
21865
|
}, this.__initialized = !1, this.account = {
|
|
@@ -22100,7 +22154,7 @@ pe([
|
|
|
22100
22154
|
m()
|
|
22101
22155
|
], ee.prototype, "activeTab");
|
|
22102
22156
|
pe([
|
|
22103
|
-
|
|
22157
|
+
wt({ context: In, subscribe: !0 }),
|
|
22104
22158
|
a({ attribute: !1 })
|
|
22105
22159
|
], ee.prototype, "auth");
|
|
22106
22160
|
pe([
|
|
@@ -22110,7 +22164,7 @@ pe([
|
|
|
22110
22164
|
m()
|
|
22111
22165
|
], ee.prototype, "_userLoading");
|
|
22112
22166
|
pe([
|
|
22113
|
-
be({ context:
|
|
22167
|
+
be({ context: wi }),
|
|
22114
22168
|
m()
|
|
22115
22169
|
], ee.prototype, "userContextValue");
|
|
22116
22170
|
customElements.define("pont-account-settings", ee);
|
|
@@ -22197,7 +22251,7 @@ let me = class extends f {
|
|
|
22197
22251
|
}
|
|
22198
22252
|
};
|
|
22199
22253
|
me.ROOT = "divider";
|
|
22200
|
-
me.TAG = `${
|
|
22254
|
+
me.TAG = `${Ct}-${me.ROOT}`;
|
|
22201
22255
|
me.PARTS = { root: me.ROOT };
|
|
22202
22256
|
Ns([
|
|
22203
22257
|
a({ type: String })
|
|
@@ -24021,7 +24075,7 @@ function E2(t) {
|
|
|
24021
24075
|
pagination: { page: 1, limit: 20, total: e.length, total_pages: 1 }
|
|
24022
24076
|
};
|
|
24023
24077
|
}
|
|
24024
|
-
const
|
|
24078
|
+
const Ri = "2026-08-05T10:00:00Z", Ii = "2026-08-04T10:00:00Z", S2 = [
|
|
24025
24079
|
// Existing members (unchanged)
|
|
24026
24080
|
{
|
|
24027
24081
|
id: "mem_1",
|
|
@@ -24151,10 +24205,10 @@ const Pi = "2026-08-05T10:00:00Z", Ri = "2026-08-04T10:00:00Z", S2 = [
|
|
|
24151
24205
|
organization_slug: "acme",
|
|
24152
24206
|
instance_id: "inst_1",
|
|
24153
24207
|
roles: [{ key: "manager", name: "Manager" }],
|
|
24154
|
-
joined_at:
|
|
24155
|
-
last_active_at:
|
|
24156
|
-
created_at:
|
|
24157
|
-
updated_at:
|
|
24208
|
+
joined_at: Ri,
|
|
24209
|
+
last_active_at: Ri,
|
|
24210
|
+
created_at: Ri,
|
|
24211
|
+
updated_at: Ri,
|
|
24158
24212
|
object: "member",
|
|
24159
24213
|
user: {
|
|
24160
24214
|
id: "user_6",
|
|
@@ -24176,10 +24230,10 @@ const Pi = "2026-08-05T10:00:00Z", Ri = "2026-08-04T10:00:00Z", S2 = [
|
|
|
24176
24230
|
organization_slug: "acme",
|
|
24177
24231
|
instance_id: "inst_1",
|
|
24178
24232
|
roles: [{ key: "viewer", name: "Viewer" }],
|
|
24179
|
-
joined_at:
|
|
24180
|
-
last_active_at:
|
|
24181
|
-
created_at:
|
|
24182
|
-
updated_at:
|
|
24233
|
+
joined_at: Ii,
|
|
24234
|
+
last_active_at: Ii,
|
|
24235
|
+
created_at: Ii,
|
|
24236
|
+
updated_at: Ii,
|
|
24183
24237
|
object: "member",
|
|
24184
24238
|
user: {
|
|
24185
24239
|
id: "user_7",
|
|
@@ -24933,7 +24987,7 @@ var I2 = Object.defineProperty, A2 = Object.getOwnPropertyDescriptor, js = (t, e
|
|
|
24933
24987
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
24934
24988
|
return o && r && I2(e, n, r), r;
|
|
24935
24989
|
};
|
|
24936
|
-
let
|
|
24990
|
+
let ri = class extends f {
|
|
24937
24991
|
constructor() {
|
|
24938
24992
|
super(...arguments), this.loading = !1, this.renderSpec = null, this.branding = An;
|
|
24939
24993
|
}
|
|
@@ -24958,22 +25012,22 @@ let ei = class extends f {
|
|
|
24958
25012
|
};
|
|
24959
25013
|
js([
|
|
24960
25014
|
a({ type: Boolean })
|
|
24961
|
-
],
|
|
25015
|
+
], ri.prototype, "loading", 2);
|
|
24962
25016
|
js([
|
|
24963
25017
|
a({ type: Object })
|
|
24964
|
-
],
|
|
25018
|
+
], ri.prototype, "renderSpec", 2);
|
|
24965
25019
|
js([
|
|
24966
25020
|
a({ attribute: !1 })
|
|
24967
|
-
],
|
|
24968
|
-
|
|
25021
|
+
], ri.prototype, "branding", 2);
|
|
25022
|
+
ri = js([
|
|
24969
25023
|
p("pont-preview")
|
|
24970
|
-
],
|
|
25024
|
+
], ri);
|
|
24971
25025
|
var T2 = Object.defineProperty, D2 = Object.getOwnPropertyDescriptor, Us = (t, e, n, o) => {
|
|
24972
25026
|
for (var r = o > 1 ? void 0 : o ? D2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
24973
25027
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
24974
25028
|
return o && r && T2(e, n, r), r;
|
|
24975
25029
|
};
|
|
24976
|
-
let
|
|
25030
|
+
let ni = class extends f {
|
|
24977
25031
|
constructor() {
|
|
24978
25032
|
super(...arguments), this.renderSpec = null, this.branding = An, this.locales = "", this.__flowStarted = !1, this.__initialized = !1, this.__previousLocale = null;
|
|
24979
25033
|
}
|
|
@@ -25014,23 +25068,23 @@ let ri = class extends f {
|
|
|
25014
25068
|
}
|
|
25015
25069
|
};
|
|
25016
25070
|
Us([
|
|
25017
|
-
|
|
25018
|
-
],
|
|
25071
|
+
wt({ context: Os, subscribe: !0 })
|
|
25072
|
+
], ni.prototype, "renderSpec", 2);
|
|
25019
25073
|
Us([
|
|
25020
|
-
|
|
25021
|
-
],
|
|
25074
|
+
wt({ context: Co, subscribe: !0 })
|
|
25075
|
+
], ni.prototype, "branding", 2);
|
|
25022
25076
|
Us([
|
|
25023
|
-
|
|
25024
|
-
],
|
|
25025
|
-
|
|
25077
|
+
wt({ context: Ps, subscribe: !0 })
|
|
25078
|
+
], ni.prototype, "locales", 2);
|
|
25079
|
+
ni = Us([
|
|
25026
25080
|
p("pont-invitation")
|
|
25027
|
-
],
|
|
25081
|
+
], ni);
|
|
25028
25082
|
var L2 = Object.defineProperty, k2 = Object.getOwnPropertyDescriptor, qs = (t, e, n, o) => {
|
|
25029
25083
|
for (var r = o > 1 ? void 0 : o ? k2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25030
25084
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25031
25085
|
return o && r && L2(e, n, r), r;
|
|
25032
25086
|
};
|
|
25033
|
-
let
|
|
25087
|
+
let oi = class extends f {
|
|
25034
25088
|
constructor() {
|
|
25035
25089
|
super(...arguments), this.renderSpec = null, this.branding = An, this.locales = "", this.__flowStarted = !1, this.__initialized = !1, this.__previousLocale = null;
|
|
25036
25090
|
}
|
|
@@ -25071,23 +25125,23 @@ let ni = class extends f {
|
|
|
25071
25125
|
}
|
|
25072
25126
|
};
|
|
25073
25127
|
qs([
|
|
25074
|
-
|
|
25075
|
-
],
|
|
25128
|
+
wt({ context: Os, subscribe: !0 })
|
|
25129
|
+
], oi.prototype, "renderSpec", 2);
|
|
25076
25130
|
qs([
|
|
25077
|
-
|
|
25078
|
-
],
|
|
25131
|
+
wt({ context: Co, subscribe: !0 })
|
|
25132
|
+
], oi.prototype, "branding", 2);
|
|
25079
25133
|
qs([
|
|
25080
|
-
|
|
25081
|
-
],
|
|
25082
|
-
|
|
25134
|
+
wt({ context: Ps, subscribe: !0 })
|
|
25135
|
+
], oi.prototype, "locales", 2);
|
|
25136
|
+
oi = qs([
|
|
25083
25137
|
p("pont-signin")
|
|
25084
|
-
],
|
|
25138
|
+
], oi);
|
|
25085
25139
|
var M2 = Object.defineProperty, N2 = Object.getOwnPropertyDescriptor, Bs = (t, e, n, o) => {
|
|
25086
25140
|
for (var r = o > 1 ? void 0 : o ? N2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25087
25141
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25088
25142
|
return o && r && M2(e, n, r), r;
|
|
25089
25143
|
};
|
|
25090
|
-
let
|
|
25144
|
+
let ii = class extends f {
|
|
25091
25145
|
constructor() {
|
|
25092
25146
|
super(...arguments), this.renderSpec = null, this.branding = An, this.locales = "", this.__flowStarted = !1, this.__initialized = !1, this.__previousLocale = null;
|
|
25093
25147
|
}
|
|
@@ -25128,17 +25182,17 @@ let oi = class extends f {
|
|
|
25128
25182
|
}
|
|
25129
25183
|
};
|
|
25130
25184
|
Bs([
|
|
25131
|
-
|
|
25132
|
-
],
|
|
25185
|
+
wt({ context: Os, subscribe: !0 })
|
|
25186
|
+
], ii.prototype, "renderSpec", 2);
|
|
25133
25187
|
Bs([
|
|
25134
|
-
|
|
25135
|
-
],
|
|
25188
|
+
wt({ context: Co, subscribe: !0 })
|
|
25189
|
+
], ii.prototype, "branding", 2);
|
|
25136
25190
|
Bs([
|
|
25137
|
-
|
|
25138
|
-
],
|
|
25139
|
-
|
|
25191
|
+
wt({ context: Ps, subscribe: !0 })
|
|
25192
|
+
], ii.prototype, "locales", 2);
|
|
25193
|
+
ii = Bs([
|
|
25140
25194
|
p("pont-signup")
|
|
25141
|
-
],
|
|
25195
|
+
], ii);
|
|
25142
25196
|
var j2 = Object.defineProperty, dr = (t, e, n, o) => {
|
|
25143
25197
|
for (var r = void 0, i = t.length - 1, s; i >= 0; i--)
|
|
25144
25198
|
(s = t[i]) && (r = s(e, n, r) || r);
|
|
@@ -25449,7 +25503,7 @@ dr([
|
|
|
25449
25503
|
a({ attribute: !1 })
|
|
25450
25504
|
], Rr.prototype, "menuItems");
|
|
25451
25505
|
dr([
|
|
25452
|
-
|
|
25506
|
+
wt({ context: In, subscribe: !0 }),
|
|
25453
25507
|
a({ attribute: !1 })
|
|
25454
25508
|
], Rr.prototype, "auth");
|
|
25455
25509
|
dr([
|
|
@@ -25964,7 +26018,7 @@ Dn([
|
|
|
25964
26018
|
Wr = Dn([
|
|
25965
26019
|
p("pont-sidedrawer")
|
|
25966
26020
|
], Wr);
|
|
25967
|
-
var W2 = Object.defineProperty, Y2 = Object.getOwnPropertyDescriptor,
|
|
26021
|
+
var W2 = Object.defineProperty, Y2 = Object.getOwnPropertyDescriptor, Ci = (t, e, n, o) => {
|
|
25968
26022
|
for (var r = o > 1 ? void 0 : o ? Y2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25969
26023
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25970
26024
|
return o && r && W2(e, n, r), r;
|
|
@@ -26024,19 +26078,19 @@ let so = class extends f {
|
|
|
26024
26078
|
return this;
|
|
26025
26079
|
}
|
|
26026
26080
|
};
|
|
26027
|
-
|
|
26081
|
+
Ci([
|
|
26028
26082
|
a({ type: Array })
|
|
26029
26083
|
], so.prototype, "options", 2);
|
|
26030
|
-
|
|
26084
|
+
Ci([
|
|
26031
26085
|
a({ type: Array })
|
|
26032
26086
|
], so.prototype, "selected", 2);
|
|
26033
|
-
|
|
26087
|
+
Ci([
|
|
26034
26088
|
a({ type: String })
|
|
26035
26089
|
], so.prototype, "placeholder", 2);
|
|
26036
|
-
|
|
26090
|
+
Ci([
|
|
26037
26091
|
a({ type: String })
|
|
26038
26092
|
], so.prototype, "label", 2);
|
|
26039
|
-
so =
|
|
26093
|
+
so = Ci([
|
|
26040
26094
|
p("pont-multi-select-filter")
|
|
26041
26095
|
], so);
|
|
26042
26096
|
const Un = {
|
|
@@ -26206,7 +26260,7 @@ let J = class extends f {
|
|
|
26206
26260
|
};
|
|
26207
26261
|
J.ROOT = "passkey-button";
|
|
26208
26262
|
J.ICON = "icon";
|
|
26209
|
-
J.TAG = `${
|
|
26263
|
+
J.TAG = `${Ct}-${J.ROOT}`;
|
|
26210
26264
|
J.CLICK_EVENT = `${J.TAG}:click`;
|
|
26211
26265
|
J.SUCCESS_EVENT = `${J.TAG}:success`;
|
|
26212
26266
|
J.ERROR_EVENT = `${J.TAG}:error`;
|
|
@@ -26257,7 +26311,7 @@ var tC = Object.defineProperty, eC = Object.getOwnPropertyDescriptor, re = (t, e
|
|
|
26257
26311
|
};
|
|
26258
26312
|
let Z = class extends f {
|
|
26259
26313
|
constructor() {
|
|
26260
|
-
super(...arguments), this.seed = qt(), this.design = new
|
|
26314
|
+
super(...arguments), this.seed = qt(), this.design = new _i(this), this.variant = qn.variant, this.size = qn.size, this.content = qn.content, this.iconAlign = qn.iconAlign, this._prompt = qn.prompt, this._loading = !1, this._handleClick = async () => {
|
|
26261
26315
|
if (!this.isDisabled) {
|
|
26262
26316
|
this._loading = !0, this.dispatchEvent(
|
|
26263
26317
|
new CustomEvent(Z.CLICK_EVENT, {
|
|
@@ -26393,7 +26447,7 @@ let Z = class extends f {
|
|
|
26393
26447
|
};
|
|
26394
26448
|
Z.ROOT = "provider-button";
|
|
26395
26449
|
Z.ICON = "icon";
|
|
26396
|
-
Z.TAG = `${
|
|
26450
|
+
Z.TAG = `${Ct}-${Z.ROOT}`;
|
|
26397
26451
|
Z.CLICK_EVENT = `${Z.TAG}:click`;
|
|
26398
26452
|
Z.SUCCESS_EVENT = `${Z.TAG}:success`;
|
|
26399
26453
|
Z.ERROR_EVENT = `${Z.TAG}:error`;
|
|
@@ -26540,7 +26594,7 @@ let et = class extends f {
|
|
|
26540
26594
|
};
|
|
26541
26595
|
et.ROOT = "submit-button";
|
|
26542
26596
|
et.ICON = "icon";
|
|
26543
|
-
et.TAG = `${
|
|
26597
|
+
et.TAG = `${Ct}-${et.ROOT}`;
|
|
26544
26598
|
et.CLICK_EVENT = `${et.TAG}:click`;
|
|
26545
26599
|
et.PARTS = {
|
|
26546
26600
|
root: et.ROOT,
|
|
@@ -26916,7 +26970,7 @@ $.FORGOT = "forgot";
|
|
|
26916
26970
|
$.DESCRIPTION = "description";
|
|
26917
26971
|
$.INPUT = "input";
|
|
26918
26972
|
$.ERROR = "error";
|
|
26919
|
-
$.TAG = `${
|
|
26973
|
+
$.TAG = `${Ct}-${$.ROOT}`;
|
|
26920
26974
|
$.VALIDATE_EVENT = `${$.TAG}:validate`;
|
|
26921
26975
|
$.FORGOT_CLICK_EVENT = `${$.TAG}:forgot-click`;
|
|
26922
26976
|
$.FORGOT_SUCCESS_EVENT = `${$.TAG}:forgot-success`;
|
|
@@ -27093,7 +27147,7 @@ const ne = (t) => `${t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()} is a
|
|
|
27093
27147
|
requiredError: ne("Confirm Password"),
|
|
27094
27148
|
matchError: "Passwords do not match."
|
|
27095
27149
|
};
|
|
27096
|
-
var sC = Object.defineProperty, aC = Object.getOwnPropertyDescriptor,
|
|
27150
|
+
var sC = Object.defineProperty, aC = Object.getOwnPropertyDescriptor, xt = (t, e, n, o) => {
|
|
27097
27151
|
for (var r = o > 1 ? void 0 : o ? aC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
27098
27152
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
27099
27153
|
return o && r && sC(e, n, r), r;
|
|
@@ -27311,7 +27365,7 @@ P.MARK = "mark";
|
|
|
27311
27365
|
P.DESCRIPTION = "description";
|
|
27312
27366
|
P.INPUT = "input";
|
|
27313
27367
|
P.ERROR = "error";
|
|
27314
|
-
P.TAG = `${
|
|
27368
|
+
P.TAG = `${Ct}-${P.ROOT}`;
|
|
27315
27369
|
P.VALIDATE_EVENT = `${P.TAG}:validate`;
|
|
27316
27370
|
P.PARTS = {
|
|
27317
27371
|
root: P.ROOT,
|
|
@@ -27322,70 +27376,70 @@ P.PARTS = {
|
|
|
27322
27376
|
error: `${P.ROOT}-${P.ERROR}`
|
|
27323
27377
|
};
|
|
27324
27378
|
P.INPUT_SELECTORS = `pont-input[part="${P.PARTS.input}"], pont-password-input[part="${P.PARTS.input}"]`;
|
|
27325
|
-
|
|
27379
|
+
xt([
|
|
27326
27380
|
a({ type: String })
|
|
27327
27381
|
], P.prototype, "seed", 2);
|
|
27328
|
-
|
|
27382
|
+
xt([
|
|
27329
27383
|
a({ type: String, attribute: "custom-id" })
|
|
27330
27384
|
], P.prototype, "customId", 2);
|
|
27331
|
-
|
|
27385
|
+
xt([
|
|
27332
27386
|
a({ type: String, attribute: "input-id" })
|
|
27333
27387
|
], P.prototype, "inputId", 1);
|
|
27334
|
-
|
|
27388
|
+
xt([
|
|
27335
27389
|
a({ type: String })
|
|
27336
27390
|
], P.prototype, "name", 1);
|
|
27337
|
-
|
|
27391
|
+
xt([
|
|
27338
27392
|
a({ type: String, attribute: "default-value" })
|
|
27339
27393
|
], P.prototype, "defaultValue", 2);
|
|
27340
|
-
|
|
27394
|
+
xt([
|
|
27341
27395
|
a({ type: String })
|
|
27342
27396
|
], P.prototype, "label", 1);
|
|
27343
|
-
|
|
27397
|
+
xt([
|
|
27344
27398
|
a({ type: String })
|
|
27345
27399
|
], P.prototype, "placeholder", 2);
|
|
27346
|
-
|
|
27400
|
+
xt([
|
|
27347
27401
|
a({ type: String })
|
|
27348
27402
|
], P.prototype, "description", 2);
|
|
27349
|
-
|
|
27403
|
+
xt([
|
|
27350
27404
|
a({ type: String })
|
|
27351
27405
|
], P.prototype, "variant", 2);
|
|
27352
|
-
|
|
27406
|
+
xt([
|
|
27353
27407
|
a({ type: String })
|
|
27354
27408
|
], P.prototype, "mark", 2);
|
|
27355
|
-
|
|
27409
|
+
xt([
|
|
27356
27410
|
a({ type: Boolean })
|
|
27357
27411
|
], P.prototype, "caret", 2);
|
|
27358
|
-
|
|
27412
|
+
xt([
|
|
27359
27413
|
a({ type: String })
|
|
27360
27414
|
], P.prototype, "autocomplete", 2);
|
|
27361
|
-
|
|
27415
|
+
xt([
|
|
27362
27416
|
a({ type: Boolean })
|
|
27363
27417
|
], P.prototype, "disabled", 2);
|
|
27364
|
-
|
|
27418
|
+
xt([
|
|
27365
27419
|
a({ type: Boolean })
|
|
27366
27420
|
], P.prototype, "required", 2);
|
|
27367
|
-
|
|
27421
|
+
xt([
|
|
27368
27422
|
a({ type: String })
|
|
27369
27423
|
], P.prototype, "pair", 2);
|
|
27370
|
-
|
|
27424
|
+
xt([
|
|
27371
27425
|
a({ type: String })
|
|
27372
27426
|
], P.prototype, "validation", 2);
|
|
27373
|
-
|
|
27427
|
+
xt([
|
|
27374
27428
|
a({ type: String, attribute: "required-error" })
|
|
27375
27429
|
], P.prototype, "requiredError", 1);
|
|
27376
|
-
|
|
27430
|
+
xt([
|
|
27377
27431
|
a({ type: String, attribute: "match-error" })
|
|
27378
27432
|
], P.prototype, "matchError", 1);
|
|
27379
|
-
|
|
27433
|
+
xt([
|
|
27380
27434
|
m()
|
|
27381
27435
|
], P.prototype, "_invalid", 2);
|
|
27382
|
-
|
|
27436
|
+
xt([
|
|
27383
27437
|
m()
|
|
27384
27438
|
], P.prototype, "_error", 2);
|
|
27385
|
-
|
|
27439
|
+
xt([
|
|
27386
27440
|
m()
|
|
27387
27441
|
], P.prototype, "_value", 2);
|
|
27388
|
-
P =
|
|
27442
|
+
P = xt([
|
|
27389
27443
|
p("pont-confirm-field")
|
|
27390
27444
|
], P);
|
|
27391
27445
|
var lC = Object.defineProperty, cC = Object.getOwnPropertyDescriptor, Tt = (t, e, n, o) => {
|
|
@@ -27590,7 +27644,7 @@ A.MARK = "mark";
|
|
|
27590
27644
|
A.DESCRIPTION = "description";
|
|
27591
27645
|
A.INPUT = "input";
|
|
27592
27646
|
A.ERROR = "error";
|
|
27593
|
-
A.TAG = `${
|
|
27647
|
+
A.TAG = `${Ct}-${A.ROOT}`;
|
|
27594
27648
|
A.VALIDATE_EVENT = `${A.TAG}:validate`;
|
|
27595
27649
|
A.PARTS = {
|
|
27596
27650
|
root: A.ROOT,
|
|
@@ -27671,7 +27725,7 @@ var dC = Object.defineProperty, pC = Object.getOwnPropertyDescriptor, jt = (t, e
|
|
|
27671
27725
|
};
|
|
27672
27726
|
let D = class extends f {
|
|
27673
27727
|
constructor() {
|
|
27674
|
-
super(...arguments), this.seed = qt(), this._name = Do.name, this.identifiers = Do.identifiers, this.design = new
|
|
27728
|
+
super(...arguments), this.seed = qt(), this._name = Do.name, this.identifiers = Do.identifiers, this.design = new _i(this), this.validation = Do.validation, this._invalid = !1, this._error = "", this._value = "", this._dirty = !1, this._form = null, this._handleInput = (t) => {
|
|
27675
27729
|
const e = t.target, n = `${D.INPUT_SELECTORS} > input`;
|
|
27676
27730
|
e.matches(n) && (this._dirty = !0, this._value = e.value);
|
|
27677
27731
|
}, this._handleFormSubmit = (t) => {
|
|
@@ -27886,7 +27940,7 @@ D.MARK = "mark";
|
|
|
27886
27940
|
D.DESCRIPTION = "description";
|
|
27887
27941
|
D.INPUT = "input";
|
|
27888
27942
|
D.ERROR = "error";
|
|
27889
|
-
D.TAG = `${
|
|
27943
|
+
D.TAG = `${Ct}-${D.ROOT}`;
|
|
27890
27944
|
D.VALIDATE_EVENT = `${D.TAG}:validate`;
|
|
27891
27945
|
D.PARTS = {
|
|
27892
27946
|
root: D.ROOT,
|
|
@@ -28207,7 +28261,7 @@ x.MARK = "mark";
|
|
|
28207
28261
|
x.DESCRIPTION = "description";
|
|
28208
28262
|
x.INPUT = "input";
|
|
28209
28263
|
x.ERROR = "error";
|
|
28210
|
-
x.TAG = `${
|
|
28264
|
+
x.TAG = `${Ct}-${x.ROOT}`;
|
|
28211
28265
|
x.VALIDATE_EVENT = `${x.TAG}:validate`;
|
|
28212
28266
|
x.PARTS = {
|
|
28213
28267
|
root: x.ROOT,
|
|
@@ -28495,7 +28549,7 @@ T.MARK = "mark";
|
|
|
28495
28549
|
T.DESCRIPTION = "description";
|
|
28496
28550
|
T.INPUT = "input";
|
|
28497
28551
|
T.ERROR = "error";
|
|
28498
|
-
T.TAG = `${
|
|
28552
|
+
T.TAG = `${Ct}-${T.ROOT}`;
|
|
28499
28553
|
T.VALIDATE_EVENT = `${T.TAG}:validate`;
|
|
28500
28554
|
T.PARTS = {
|
|
28501
28555
|
root: T.ROOT,
|
|
@@ -28819,7 +28873,7 @@ O.MARK = "mark";
|
|
|
28819
28873
|
O.DESCRIPTION = "description";
|
|
28820
28874
|
O.INPUT = "input";
|
|
28821
28875
|
O.ERROR = "error";
|
|
28822
|
-
O.TAG = `${
|
|
28876
|
+
O.TAG = `${Ct}-${O.ROOT}`;
|
|
28823
28877
|
O.VALIDATE_EVENT = `${O.TAG}:validate`;
|
|
28824
28878
|
O.PARTS = {
|
|
28825
28879
|
root: O.ROOT,
|
|
@@ -29017,7 +29071,7 @@ let Y = class extends f {
|
|
|
29017
29071
|
Y.ROOT = "link";
|
|
29018
29072
|
Y.BUTTON = "button";
|
|
29019
29073
|
Y.PROMPT = "prompt";
|
|
29020
|
-
Y.TAG = `${
|
|
29074
|
+
Y.TAG = `${Ct}-${Y.ROOT}`;
|
|
29021
29075
|
Y.CLICK_EVENT = `${Y.TAG}:click`;
|
|
29022
29076
|
Y.SUCCESS_EVENT = `${Y.TAG}:success`;
|
|
29023
29077
|
Y.ERROR_EVENT = `${Y.TAG}:error`;
|
|
@@ -29233,7 +29287,7 @@ let ut = class extends ye {
|
|
|
29233
29287
|
}
|
|
29234
29288
|
};
|
|
29235
29289
|
ut.ROOT = "otp";
|
|
29236
|
-
ut.TAG = `${
|
|
29290
|
+
ut.TAG = `${Ct}-${ut.ROOT}`;
|
|
29237
29291
|
Ut([
|
|
29238
29292
|
a({
|
|
29239
29293
|
type: Boolean,
|
|
@@ -29308,7 +29362,7 @@ Ut([
|
|
|
29308
29362
|
ut = Ut([
|
|
29309
29363
|
p("pont-otp")
|
|
29310
29364
|
], ut);
|
|
29311
|
-
const
|
|
29365
|
+
const Ai = {
|
|
29312
29366
|
duration: 60,
|
|
29313
29367
|
resend_event: "",
|
|
29314
29368
|
resend_button_label: "Resend code",
|
|
@@ -29321,7 +29375,7 @@ var SC = Object.defineProperty, xC = Object.getOwnPropertyDescriptor, Qr = (t, e
|
|
|
29321
29375
|
};
|
|
29322
29376
|
let at = class extends f {
|
|
29323
29377
|
constructor() {
|
|
29324
|
-
super(...arguments), this.seed = qt(), this.duration =
|
|
29378
|
+
super(...arguments), this.seed = qt(), this.duration = Ai.duration, this.resend_event = Ai.resend_event, this.resend_button_label = Ai.resend_button_label, this.count_down_text = Ai.count_down_text, this._remaining = 0, this._handleResendClick = () => {
|
|
29325
29379
|
ht.processLoginflowEvent({ event: this.resend_event }), this._startCountdown();
|
|
29326
29380
|
};
|
|
29327
29381
|
}
|
|
@@ -29393,7 +29447,7 @@ let at = class extends f {
|
|
|
29393
29447
|
at.ROOT = "otp-resend";
|
|
29394
29448
|
at.COUNTDOWN = "countdown";
|
|
29395
29449
|
at.RESEND_BUTTON = "resend-button";
|
|
29396
|
-
at.TAG = `${
|
|
29450
|
+
at.TAG = `${Ct}-${at.ROOT}`;
|
|
29397
29451
|
at.PARTS = {
|
|
29398
29452
|
root: at.ROOT,
|
|
29399
29453
|
countdown: `${at.ROOT}-${at.COUNTDOWN}`,
|
|
@@ -29433,7 +29487,7 @@ const OC = [
|
|
|
29433
29487
|
P,
|
|
29434
29488
|
ut
|
|
29435
29489
|
], PC = [J, Z, Y];
|
|
29436
|
-
var RC = Object.defineProperty, IC = Object.getOwnPropertyDescriptor,
|
|
29490
|
+
var RC = Object.defineProperty, IC = Object.getOwnPropertyDescriptor, Ei = (t, e, n, o) => {
|
|
29437
29491
|
for (var r = o > 1 ? void 0 : o ? IC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
29438
29492
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
29439
29493
|
return o && r && RC(e, n, r), r;
|
|
@@ -29579,25 +29633,25 @@ let st = class extends f {
|
|
|
29579
29633
|
}
|
|
29580
29634
|
};
|
|
29581
29635
|
st.ROOT = "form";
|
|
29582
|
-
st.TAG = `${
|
|
29636
|
+
st.TAG = `${Ct}-${st.ROOT}`;
|
|
29583
29637
|
st.SUBMIT_EVENT = `${st.TAG}:submit`;
|
|
29584
29638
|
st.SUCCESS_EVENT = `${st.TAG}:success`;
|
|
29585
29639
|
st.ERROR_EVENT = `${st.TAG}:error`;
|
|
29586
29640
|
st.RESET_EVENT = `${st.TAG}:reset`;
|
|
29587
29641
|
st.PARTS = { root: st.ROOT };
|
|
29588
|
-
|
|
29642
|
+
Ei([
|
|
29589
29643
|
a({ type: String })
|
|
29590
29644
|
], st.prototype, "seed", 2);
|
|
29591
|
-
|
|
29645
|
+
Ei([
|
|
29592
29646
|
a({ type: String, attribute: "custom-id" })
|
|
29593
29647
|
], st.prototype, "customId", 2);
|
|
29594
|
-
|
|
29648
|
+
Ei([
|
|
29595
29649
|
a({ attribute: !1 })
|
|
29596
29650
|
], st.prototype, "onSubmit", 2);
|
|
29597
|
-
|
|
29651
|
+
Ei([
|
|
29598
29652
|
a({ attribute: !1 })
|
|
29599
29653
|
], st.prototype, "onReset", 2);
|
|
29600
|
-
st =
|
|
29654
|
+
st = Ei([
|
|
29601
29655
|
p("pont-form")
|
|
29602
29656
|
], st);
|
|
29603
29657
|
var AC = Object.defineProperty, TC = Object.getOwnPropertyDescriptor, oe = (t, e, n, o) => {
|
|
@@ -29605,9 +29659,9 @@ var AC = Object.defineProperty, TC = Object.getOwnPropertyDescriptor, oe = (t, e
|
|
|
29605
29659
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
29606
29660
|
return o && r && AC(e, n, r), r;
|
|
29607
29661
|
};
|
|
29608
|
-
let
|
|
29662
|
+
let $t = class extends f {
|
|
29609
29663
|
constructor() {
|
|
29610
|
-
super(...arguments), this.seed = qt(), this.providers = [], this.overrides = [], this.design = new
|
|
29664
|
+
super(...arguments), this.seed = qt(), this.providers = [], this.overrides = [], this.design = new _i(this);
|
|
29611
29665
|
}
|
|
29612
29666
|
/**
|
|
29613
29667
|
* The stable CSS part names exposed for external targeting.
|
|
@@ -29627,14 +29681,14 @@ let wt = class extends f {
|
|
|
29627
29681
|
* derived from the component's part name and `seed`.
|
|
29628
29682
|
*/
|
|
29629
29683
|
get rootId() {
|
|
29630
|
-
return this.customId ?? `${
|
|
29684
|
+
return this.customId ?? `${Ct}-${$t.parts.root}-${this.seed}`;
|
|
29631
29685
|
}
|
|
29632
29686
|
/**
|
|
29633
29687
|
* The `id` of the provider button element, derived from `rootId` with the
|
|
29634
29688
|
* button part name appended.
|
|
29635
29689
|
*/
|
|
29636
29690
|
get buttonId() {
|
|
29637
|
-
return `${this.rootId}-${
|
|
29691
|
+
return `${this.rootId}-${$t._BUTTON}`;
|
|
29638
29692
|
}
|
|
29639
29693
|
/**
|
|
29640
29694
|
* The number of columns within the field, given to the root element via its
|
|
@@ -29650,7 +29704,7 @@ let wt = class extends f {
|
|
|
29650
29704
|
* The `providers` array without any duplicates.
|
|
29651
29705
|
*/
|
|
29652
29706
|
get _providers() {
|
|
29653
|
-
return this.providers.length === 0 && this.design.active ? [
|
|
29707
|
+
return this.providers.length === 0 && this.design.active ? [...$t.DESIGN_PROVIDERS] : [...new Set(this.providers)];
|
|
29654
29708
|
}
|
|
29655
29709
|
/**
|
|
29656
29710
|
* The `overrides` array without any duplicate `provider` entries (i.e. no
|
|
@@ -29671,7 +29725,7 @@ let wt = class extends f {
|
|
|
29671
29725
|
return l`
|
|
29672
29726
|
<pont-provider-button
|
|
29673
29727
|
id="${this.buttonId}"
|
|
29674
|
-
part="${
|
|
29728
|
+
part="${$t.parts.button}"
|
|
29675
29729
|
seed="${t.seed ?? this.seed}"
|
|
29676
29730
|
custom-id="${t.customId ?? h}"
|
|
29677
29731
|
provider="${t.provider}"
|
|
@@ -29692,7 +29746,7 @@ let wt = class extends f {
|
|
|
29692
29746
|
return l`
|
|
29693
29747
|
<pont-field
|
|
29694
29748
|
id="${this.rootId}"
|
|
29695
|
-
part="${
|
|
29749
|
+
part="${$t.parts.root}"
|
|
29696
29750
|
data-columns="${this.columns}"
|
|
29697
29751
|
>
|
|
29698
29752
|
${this._providers.map(
|
|
@@ -29704,59 +29758,59 @@ let wt = class extends f {
|
|
|
29704
29758
|
`;
|
|
29705
29759
|
}
|
|
29706
29760
|
};
|
|
29707
|
-
|
|
29708
|
-
|
|
29709
|
-
|
|
29761
|
+
$t._ROOT = "provider-field";
|
|
29762
|
+
$t._BUTTON = "button";
|
|
29763
|
+
$t.DESIGN_PROVIDERS = [
|
|
29710
29764
|
"google",
|
|
29711
29765
|
"apple",
|
|
29712
29766
|
"github"
|
|
29713
29767
|
];
|
|
29714
29768
|
oe([
|
|
29715
29769
|
a({ type: String })
|
|
29716
|
-
],
|
|
29770
|
+
], $t.prototype, "seed", 2);
|
|
29717
29771
|
oe([
|
|
29718
29772
|
a({ attribute: "custom-id", type: String })
|
|
29719
|
-
],
|
|
29773
|
+
], $t.prototype, "customId", 2);
|
|
29720
29774
|
oe([
|
|
29721
29775
|
a({ type: Array })
|
|
29722
|
-
],
|
|
29776
|
+
], $t.prototype, "providers", 2);
|
|
29723
29777
|
oe([
|
|
29724
29778
|
a({ type: String })
|
|
29725
|
-
],
|
|
29779
|
+
], $t.prototype, "content", 2);
|
|
29726
29780
|
oe([
|
|
29727
29781
|
a({ type: String })
|
|
29728
|
-
],
|
|
29782
|
+
], $t.prototype, "variant", 2);
|
|
29729
29783
|
oe([
|
|
29730
29784
|
a({ type: String })
|
|
29731
|
-
],
|
|
29785
|
+
], $t.prototype, "size", 2);
|
|
29732
29786
|
oe([
|
|
29733
29787
|
a({ type: String })
|
|
29734
|
-
],
|
|
29788
|
+
], $t.prototype, "prompt", 2);
|
|
29735
29789
|
oe([
|
|
29736
29790
|
a({ attribute: "icon-align", type: String })
|
|
29737
|
-
],
|
|
29791
|
+
], $t.prototype, "iconAlign", 2);
|
|
29738
29792
|
oe([
|
|
29739
29793
|
a({ type: String })
|
|
29740
|
-
],
|
|
29794
|
+
], $t.prototype, "label", 2);
|
|
29741
29795
|
oe([
|
|
29742
29796
|
a({ type: Boolean })
|
|
29743
|
-
],
|
|
29797
|
+
], $t.prototype, "disabled", 2);
|
|
29744
29798
|
oe([
|
|
29745
29799
|
a({ type: Boolean })
|
|
29746
|
-
],
|
|
29800
|
+
], $t.prototype, "loading", 2);
|
|
29747
29801
|
oe([
|
|
29748
29802
|
a({ type: String })
|
|
29749
|
-
],
|
|
29803
|
+
], $t.prototype, "event", 2);
|
|
29750
29804
|
oe([
|
|
29751
29805
|
a({ type: Array })
|
|
29752
|
-
],
|
|
29753
|
-
|
|
29806
|
+
], $t.prototype, "overrides", 2);
|
|
29807
|
+
$t = oe([
|
|
29754
29808
|
p("pont-provider-field")
|
|
29755
|
-
],
|
|
29809
|
+
], $t);
|
|
29756
29810
|
const DC = {
|
|
29757
29811
|
identifier: ""
|
|
29758
29812
|
};
|
|
29759
|
-
var LC = Object.defineProperty, kC = Object.getOwnPropertyDescriptor,
|
|
29813
|
+
var LC = Object.defineProperty, kC = Object.getOwnPropertyDescriptor, Si = (t, e, n, o) => {
|
|
29760
29814
|
for (var r = o > 1 ? void 0 : o ? kC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
29761
29815
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
29762
29816
|
return o && r && LC(e, n, r), r;
|
|
@@ -29802,25 +29856,25 @@ let Bt = class extends f {
|
|
|
29802
29856
|
};
|
|
29803
29857
|
Bt.ROOT = "edit-identifier";
|
|
29804
29858
|
Bt.ICON = "icon";
|
|
29805
|
-
Bt.TAG = `${
|
|
29859
|
+
Bt.TAG = `${Ct}-${Bt.ROOT}`;
|
|
29806
29860
|
Bt.CLICK_EVENT = `${Bt.TAG}:click`;
|
|
29807
29861
|
Bt.PARTS = {
|
|
29808
29862
|
root: Bt.ROOT,
|
|
29809
29863
|
icon: `${Bt.ROOT}-${Bt.ICON}`
|
|
29810
29864
|
};
|
|
29811
|
-
|
|
29865
|
+
Si([
|
|
29812
29866
|
a({ type: String })
|
|
29813
29867
|
], Bt.prototype, "seed", 2);
|
|
29814
|
-
|
|
29868
|
+
Si([
|
|
29815
29869
|
a({ type: String, attribute: "custom-id" })
|
|
29816
29870
|
], Bt.prototype, "customId", 2);
|
|
29817
|
-
|
|
29871
|
+
Si([
|
|
29818
29872
|
a({ type: String })
|
|
29819
29873
|
], Bt.prototype, "identifier", 2);
|
|
29820
|
-
|
|
29874
|
+
Si([
|
|
29821
29875
|
a({ type: String })
|
|
29822
29876
|
], Bt.prototype, "event", 2);
|
|
29823
|
-
Bt =
|
|
29877
|
+
Bt = Si([
|
|
29824
29878
|
p("pont-edit-identifier")
|
|
29825
29879
|
], Bt);
|
|
29826
29880
|
function MC(t) {
|
|
@@ -30120,9 +30174,9 @@ function FC() {
|
|
|
30120
30174
|
};
|
|
30121
30175
|
})(pa)), pa;
|
|
30122
30176
|
}
|
|
30123
|
-
var
|
|
30177
|
+
var Ti = {}, zp;
|
|
30124
30178
|
function Vu() {
|
|
30125
|
-
if (zp) return
|
|
30179
|
+
if (zp) return Ti;
|
|
30126
30180
|
zp = 1;
|
|
30127
30181
|
const t = yc(), e = [
|
|
30128
30182
|
// L M Q H
|
|
@@ -30449,7 +30503,7 @@ function Vu() {
|
|
|
30449
30503
|
2040,
|
|
30450
30504
|
2430
|
|
30451
30505
|
];
|
|
30452
|
-
return
|
|
30506
|
+
return Ti.getBlocksCount = function(r, i) {
|
|
30453
30507
|
switch (i) {
|
|
30454
30508
|
case t.L:
|
|
30455
30509
|
return e[(r - 1) * 4 + 0];
|
|
@@ -30462,7 +30516,7 @@ function Vu() {
|
|
|
30462
30516
|
default:
|
|
30463
30517
|
return;
|
|
30464
30518
|
}
|
|
30465
|
-
},
|
|
30519
|
+
}, Ti.getTotalCodewordsCount = function(r, i) {
|
|
30466
30520
|
switch (i) {
|
|
30467
30521
|
case t.L:
|
|
30468
30522
|
return n[(r - 1) * 4 + 0];
|
|
@@ -30475,7 +30529,7 @@ function Vu() {
|
|
|
30475
30529
|
default:
|
|
30476
30530
|
return;
|
|
30477
30531
|
}
|
|
30478
|
-
},
|
|
30532
|
+
}, Ti;
|
|
30479
30533
|
}
|
|
30480
30534
|
var ha = {}, Lo = {}, Vp;
|
|
30481
30535
|
function zC() {
|
|
@@ -31132,13 +31186,13 @@ function tE() {
|
|
|
31132
31186
|
return M(I, k, j);
|
|
31133
31187
|
}
|
|
31134
31188
|
function M(k, j, U) {
|
|
31135
|
-
const I = t.getSymbolTotalCodewords(j), V = c.getTotalCodewordsCount(j, U), F = I - V, C = c.getBlocksCount(j, U), z = I % C, K = C - z, Ee = Math.floor(I / C), qe = Math.floor(F / C),
|
|
31189
|
+
const I = t.getSymbolTotalCodewords(j), V = c.getTotalCodewordsCount(j, U), F = I - V, C = c.getBlocksCount(j, U), z = I % C, K = C - z, Ee = Math.floor(I / C), qe = Math.floor(F / C), xi = qe + 1, Mn = Ee - qe, en = new d(Mn);
|
|
31136
31190
|
let Nn = 0;
|
|
31137
31191
|
const Jt = new Array(C), xc = new Array(C);
|
|
31138
31192
|
let Vs = 0;
|
|
31139
31193
|
const Wu = new Uint8Array(k.buffer);
|
|
31140
31194
|
for (let jn = 0; jn < C; jn++) {
|
|
31141
|
-
const Gs = jn < K ? qe :
|
|
31195
|
+
const Gs = jn < K ? qe : xi;
|
|
31142
31196
|
Jt[jn] = Wu.slice(Nn, Nn + Gs), xc[jn] = en.encode(Jt[jn]), Nn += Gs, Vs = Math.max(Vs, Gs);
|
|
31143
31197
|
}
|
|
31144
31198
|
const Hs = new Uint8Array(I);
|
|
@@ -31340,7 +31394,7 @@ function nE() {
|
|
|
31340
31394
|
}), Gn;
|
|
31341
31395
|
}
|
|
31342
31396
|
var oE = nE();
|
|
31343
|
-
const iE = /* @__PURE__ */ MC(oE),
|
|
31397
|
+
const iE = /* @__PURE__ */ MC(oE), Di = {
|
|
31344
31398
|
url: "",
|
|
31345
31399
|
timeout: 10,
|
|
31346
31400
|
reappearButtonText: "Show QR Code",
|
|
@@ -31353,7 +31407,7 @@ var sE = Object.defineProperty, aE = Object.getOwnPropertyDescriptor, Ir = (t, e
|
|
|
31353
31407
|
};
|
|
31354
31408
|
let X = class extends f {
|
|
31355
31409
|
constructor() {
|
|
31356
|
-
super(...arguments), this.seed = qt(), this.url =
|
|
31410
|
+
super(...arguments), this.seed = qt(), this.url = Di.url, this.timeout = Di.timeout, this.reappearButtonText = Di.reappearButtonText, this.disabled = !1, this.errorCorrection = Di.errorCorrection, this._obscured = !1, this._canvasElement = null, this._handleReappear = () => {
|
|
31357
31411
|
this.disabled || (this._obscured = !1, this._clearTimer(), this._startTimer(), this.emit("pont-qr:reappear", { id: this.rootId, url: this.url }));
|
|
31358
31412
|
};
|
|
31359
31413
|
}
|
|
@@ -31466,7 +31520,7 @@ X.ROOT = "qr-code";
|
|
|
31466
31520
|
X.QR_CANVAS = "canvas";
|
|
31467
31521
|
X.OVERLAY = "overlay";
|
|
31468
31522
|
X.REAPPEAR_BUTTON = "reappear-button";
|
|
31469
|
-
X.TAG = `${
|
|
31523
|
+
X.TAG = `${Ct}-${X.ROOT}`;
|
|
31470
31524
|
X.PARTS = {
|
|
31471
31525
|
root: X.ROOT,
|
|
31472
31526
|
canvas: `${X.ROOT}-${X.QR_CANVAS}`,
|
|
@@ -31608,7 +31662,7 @@ G.METADATA = "metadata";
|
|
|
31608
31662
|
G.ISSUER = "issuer";
|
|
31609
31663
|
G.ACCOUNT = "account";
|
|
31610
31664
|
G.TOOLTIP = "tooltip";
|
|
31611
|
-
G.TAG = `${
|
|
31665
|
+
G.TAG = `${Ct}-${G.ROOT}`;
|
|
31612
31666
|
G.PARTS = {
|
|
31613
31667
|
root: G.ROOT,
|
|
31614
31668
|
card: `${G.ROOT}-${G.CARD}`,
|
|
@@ -31776,7 +31830,7 @@ H.BUTTONS = "buttons";
|
|
|
31776
31830
|
H.COPY_BUTTON = "copy-button";
|
|
31777
31831
|
H.DOWNLOAD_BUTTON = "download-button";
|
|
31778
31832
|
H.TOOLTIP = "tooltip";
|
|
31779
|
-
H.TAG = `${
|
|
31833
|
+
H.TAG = `${Ct}-${H.ROOT}`;
|
|
31780
31834
|
H.PARTS = {
|
|
31781
31835
|
root: H.ROOT,
|
|
31782
31836
|
card: `${H.ROOT}-${H.CARD}`,
|
|
@@ -31934,7 +31988,7 @@ tt.ROOT = "alert";
|
|
|
31934
31988
|
tt.ICON = "icon";
|
|
31935
31989
|
tt.TITLE = "title";
|
|
31936
31990
|
tt.DESCRIPTION = "description";
|
|
31937
|
-
tt.TAG = `${
|
|
31991
|
+
tt.TAG = `${Ct}-${tt.ROOT}`;
|
|
31938
31992
|
tt.PARTS = {
|
|
31939
31993
|
root: tt.ROOT,
|
|
31940
31994
|
icon: `${tt.ROOT}-${tt.ICON}`,
|
|
@@ -32046,7 +32100,7 @@ var vE = Object.defineProperty, bE = Object.getOwnPropertyDescriptor, Fs = (t, e
|
|
|
32046
32100
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32047
32101
|
return o && r && vE(e, n, r), r;
|
|
32048
32102
|
};
|
|
32049
|
-
let
|
|
32103
|
+
let si = class extends ye {
|
|
32050
32104
|
constructor() {
|
|
32051
32105
|
super(...arguments), this.id = "", this.align = "center", this.justify = "start", this.branding = new Q1(this);
|
|
32052
32106
|
}
|
|
@@ -32089,16 +32143,16 @@ let ii = class extends ye {
|
|
|
32089
32143
|
};
|
|
32090
32144
|
Fs([
|
|
32091
32145
|
a()
|
|
32092
|
-
],
|
|
32146
|
+
], si.prototype, "id", 2);
|
|
32093
32147
|
Fs([
|
|
32094
32148
|
a()
|
|
32095
|
-
],
|
|
32149
|
+
], si.prototype, "align", 2);
|
|
32096
32150
|
Fs([
|
|
32097
32151
|
a()
|
|
32098
|
-
],
|
|
32099
|
-
|
|
32152
|
+
], si.prototype, "justify", 2);
|
|
32153
|
+
si = Fs([
|
|
32100
32154
|
p("pont-block")
|
|
32101
|
-
],
|
|
32155
|
+
], si);
|
|
32102
32156
|
var yE = Object.defineProperty, _E = Object.getOwnPropertyDescriptor, _c = (t, e, n, o) => {
|
|
32103
32157
|
for (var r = o > 1 ? void 0 : o ? _E(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
32104
32158
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -32107,7 +32161,7 @@ var yE = Object.defineProperty, _E = Object.getOwnPropertyDescriptor, _c = (t, e
|
|
|
32107
32161
|
const wE = "data-pont-design", $E = "data-pont-design-empty", CE = "data-pont-container";
|
|
32108
32162
|
let ms = class extends ye {
|
|
32109
32163
|
constructor() {
|
|
32110
|
-
super(...arguments), this.id = "", this.type = "flex_column", this.design = new
|
|
32164
|
+
super(...arguments), this.id = "", this.type = "flex_column", this.design = new _i(this);
|
|
32111
32165
|
}
|
|
32112
32166
|
createRenderRoot() {
|
|
32113
32167
|
return this;
|
|
@@ -32160,7 +32214,7 @@ var EE = Object.defineProperty, SE = Object.getOwnPropertyDescriptor, zs = (t, e
|
|
|
32160
32214
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32161
32215
|
return o && r && EE(e, n, r), r;
|
|
32162
32216
|
};
|
|
32163
|
-
let
|
|
32217
|
+
let ai = class extends ye {
|
|
32164
32218
|
constructor() {
|
|
32165
32219
|
super(...arguments), this.size = "8px", this.type = "vertical", this.id = "";
|
|
32166
32220
|
}
|
|
@@ -32190,16 +32244,16 @@ let si = class extends ye {
|
|
|
32190
32244
|
};
|
|
32191
32245
|
zs([
|
|
32192
32246
|
a()
|
|
32193
|
-
],
|
|
32247
|
+
], ai.prototype, "size", 2);
|
|
32194
32248
|
zs([
|
|
32195
32249
|
a()
|
|
32196
|
-
],
|
|
32250
|
+
], ai.prototype, "type", 2);
|
|
32197
32251
|
zs([
|
|
32198
32252
|
a()
|
|
32199
|
-
],
|
|
32200
|
-
|
|
32253
|
+
], ai.prototype, "id", 2);
|
|
32254
|
+
ai = zs([
|
|
32201
32255
|
p("pont-gap")
|
|
32202
|
-
],
|
|
32256
|
+
], ai);
|
|
32203
32257
|
var xE = Object.defineProperty, OE = Object.getOwnPropertyDescriptor, wc = (t, e, n, o) => {
|
|
32204
32258
|
for (var r = o > 1 ? void 0 : o ? OE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
32205
32259
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
@@ -32315,7 +32369,7 @@ bs = Cc([
|
|
|
32315
32369
|
* Copyright 2017 Google LLC
|
|
32316
32370
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32317
32371
|
*/
|
|
32318
|
-
class Rl extends
|
|
32372
|
+
class Rl extends Bi {
|
|
32319
32373
|
}
|
|
32320
32374
|
Rl.directiveName = "unsafeSVG", Rl.resultType = 2;
|
|
32321
32375
|
const ch = lo(Rl);
|
|
@@ -32338,7 +32392,7 @@ const kE = `
|
|
|
32338
32392
|
</svg>`;
|
|
32339
32393
|
let xr = class extends ye {
|
|
32340
32394
|
constructor() {
|
|
32341
|
-
super(...arguments), this.align = "center", this.width = "", this.height = "", this.theme = this.getTheme(), this.isSvg = !1, this.design = new
|
|
32395
|
+
super(...arguments), this.align = "center", this.width = "", this.height = "", this.theme = this.getTheme(), this.isSvg = !1, this.design = new _i(this);
|
|
32342
32396
|
}
|
|
32343
32397
|
get _containerElement() {
|
|
32344
32398
|
return this.querySelector(".pont-logo-wrapper");
|
|
@@ -32414,7 +32468,7 @@ tn([
|
|
|
32414
32468
|
xr = tn([
|
|
32415
32469
|
p("pont-logo")
|
|
32416
32470
|
], xr);
|
|
32417
|
-
const
|
|
32471
|
+
const Li = {
|
|
32418
32472
|
variant: "brand",
|
|
32419
32473
|
logoAlign: "end",
|
|
32420
32474
|
label: "Powered by"
|
|
@@ -32424,16 +32478,16 @@ var ME = Object.defineProperty, NE = Object.getOwnPropertyDescriptor, Po = (t, e
|
|
|
32424
32478
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32425
32479
|
return o && r && ME(e, n, r), r;
|
|
32426
32480
|
};
|
|
32427
|
-
let
|
|
32481
|
+
let _t = class extends f {
|
|
32428
32482
|
constructor() {
|
|
32429
|
-
super(...arguments), this.seed = qt(), this.variant =
|
|
32483
|
+
super(...arguments), this.seed = qt(), this.variant = Li.variant, this.logoAlign = Li.logoAlign, this._label = Li.label;
|
|
32430
32484
|
}
|
|
32431
32485
|
get label() {
|
|
32432
32486
|
return this._label;
|
|
32433
32487
|
}
|
|
32434
32488
|
set label(t) {
|
|
32435
32489
|
const e = this._label;
|
|
32436
|
-
this._label = t.length ? t :
|
|
32490
|
+
this._label = t.length ? t : Li.label, this.requestUpdate("label", e);
|
|
32437
32491
|
}
|
|
32438
32492
|
/* ------------------------------------------------------------ */
|
|
32439
32493
|
createRenderRoot() {
|
|
@@ -32441,18 +32495,18 @@ let bt = class extends f {
|
|
|
32441
32495
|
}
|
|
32442
32496
|
/* ------------------------------------------------------------ */
|
|
32443
32497
|
get rootId() {
|
|
32444
|
-
return this.customId ?? `${
|
|
32498
|
+
return this.customId ?? `${_t.TAG}-${this.seed}`;
|
|
32445
32499
|
}
|
|
32446
32500
|
get labelId() {
|
|
32447
|
-
return `${this.rootId}-${
|
|
32501
|
+
return `${this.rootId}-${_t.LABEL}`;
|
|
32448
32502
|
}
|
|
32449
32503
|
get logoId() {
|
|
32450
|
-
return `${this.rootId}-${
|
|
32504
|
+
return `${this.rootId}-${_t.LOGO}`;
|
|
32451
32505
|
}
|
|
32452
32506
|
/* ------------------------------------------------------------ */
|
|
32453
32507
|
_renderLabel() {
|
|
32454
32508
|
return l`
|
|
32455
|
-
<span id="${this.labelId}" part="${
|
|
32509
|
+
<span id="${this.labelId}" part="${_t.PARTS.label}">
|
|
32456
32510
|
${this.label}
|
|
32457
32511
|
</span>
|
|
32458
32512
|
`;
|
|
@@ -32482,7 +32536,7 @@ let bt = class extends f {
|
|
|
32482
32536
|
return l`
|
|
32483
32537
|
<svg
|
|
32484
32538
|
id="${this.logoId}"
|
|
32485
|
-
part="${
|
|
32539
|
+
part="${_t.PARTS.logo}"
|
|
32486
32540
|
class="pontive-logo pont-icon-inline-${this.logoAlign}"
|
|
32487
32541
|
xmlns="http://www.w3.org/2000/svg"
|
|
32488
32542
|
viewBox="0 0 1270.79 256.16"
|
|
@@ -32529,7 +32583,7 @@ let bt = class extends f {
|
|
|
32529
32583
|
return l`
|
|
32530
32584
|
<span
|
|
32531
32585
|
id="${this.rootId}"
|
|
32532
|
-
part="${
|
|
32586
|
+
part="${_t.PARTS.root}"
|
|
32533
32587
|
data-variant="${this.variant}"
|
|
32534
32588
|
>
|
|
32535
32589
|
${this.logoAlign === "start" ? l`${this._renderLogo()} ${this._renderLabel()}` : l`${this._renderLabel()} ${this._renderLogo()}`}
|
|
@@ -32537,33 +32591,33 @@ let bt = class extends f {
|
|
|
32537
32591
|
`;
|
|
32538
32592
|
}
|
|
32539
32593
|
};
|
|
32540
|
-
|
|
32541
|
-
|
|
32542
|
-
|
|
32543
|
-
|
|
32544
|
-
|
|
32545
|
-
root:
|
|
32546
|
-
label: `${
|
|
32547
|
-
logo: `${
|
|
32594
|
+
_t.ROOT = "watermark";
|
|
32595
|
+
_t.LABEL = "label";
|
|
32596
|
+
_t.LOGO = "logo";
|
|
32597
|
+
_t.TAG = `${Ct}-${_t.ROOT}`;
|
|
32598
|
+
_t.PARTS = {
|
|
32599
|
+
root: _t.ROOT,
|
|
32600
|
+
label: `${_t.ROOT}-${_t.LABEL}`,
|
|
32601
|
+
logo: `${_t.ROOT}-${_t.LOGO}`
|
|
32548
32602
|
};
|
|
32549
32603
|
Po([
|
|
32550
32604
|
a({ type: String })
|
|
32551
|
-
],
|
|
32605
|
+
], _t.prototype, "seed", 2);
|
|
32552
32606
|
Po([
|
|
32553
32607
|
a({ type: String, attribute: "custom-id" })
|
|
32554
|
-
],
|
|
32608
|
+
], _t.prototype, "customId", 2);
|
|
32555
32609
|
Po([
|
|
32556
32610
|
a({ type: String })
|
|
32557
|
-
],
|
|
32611
|
+
], _t.prototype, "variant", 2);
|
|
32558
32612
|
Po([
|
|
32559
32613
|
a({ type: String, attribute: "logo-align" })
|
|
32560
|
-
],
|
|
32614
|
+
], _t.prototype, "logoAlign", 2);
|
|
32561
32615
|
Po([
|
|
32562
32616
|
a({ type: String })
|
|
32563
|
-
],
|
|
32564
|
-
|
|
32617
|
+
], _t.prototype, "label", 1);
|
|
32618
|
+
_t = Po([
|
|
32565
32619
|
p("pont-watermark")
|
|
32566
|
-
],
|
|
32620
|
+
], _t);
|
|
32567
32621
|
function JE() {
|
|
32568
32622
|
return ht;
|
|
32569
32623
|
}
|
|
@@ -32576,8 +32630,8 @@ export {
|
|
|
32576
32630
|
Rr as PontAccountMenu,
|
|
32577
32631
|
ee as PontAccountSettings,
|
|
32578
32632
|
tt as PontAlert,
|
|
32579
|
-
|
|
32580
|
-
|
|
32633
|
+
Qo as PontAuthenticated,
|
|
32634
|
+
si as PontBlock,
|
|
32581
32635
|
P as PontConfirmField,
|
|
32582
32636
|
ms as PontContainer,
|
|
32583
32637
|
Cn as PontCountdown,
|
|
@@ -32585,17 +32639,17 @@ export {
|
|
|
32585
32639
|
Bt as PontEditIdentifier,
|
|
32586
32640
|
A as PontEmailField,
|
|
32587
32641
|
st as PontForm,
|
|
32588
|
-
|
|
32642
|
+
ai as PontGap,
|
|
32589
32643
|
fs as PontHeader,
|
|
32590
32644
|
Pl as PontHint,
|
|
32591
32645
|
D as PontIdentifierField,
|
|
32592
|
-
|
|
32646
|
+
ni as PontInvitation,
|
|
32593
32647
|
he as PontKitLayout,
|
|
32594
32648
|
Y as PontLink,
|
|
32595
32649
|
Ae as PontLocationInfo,
|
|
32596
32650
|
xr as PontLogo,
|
|
32597
32651
|
nt as PontMemberManagement,
|
|
32598
|
-
|
|
32652
|
+
Xo as PontModal,
|
|
32599
32653
|
so as PontMultiSelectFilter,
|
|
32600
32654
|
x as PontNameField,
|
|
32601
32655
|
ut as PontOtp,
|
|
@@ -32607,22 +32661,22 @@ export {
|
|
|
32607
32661
|
T as PontPhoneField,
|
|
32608
32662
|
Sr as PontProvider,
|
|
32609
32663
|
Z as PontProviderButton,
|
|
32610
|
-
|
|
32664
|
+
$t as PontProviderField,
|
|
32611
32665
|
X as PontQrCode,
|
|
32612
32666
|
H as PontRecoveryCodes,
|
|
32613
32667
|
G as PontSecret,
|
|
32614
32668
|
Ol as PontSecuritySettings,
|
|
32615
32669
|
Wr as PontSideDrawer,
|
|
32616
|
-
|
|
32617
|
-
|
|
32670
|
+
oi as PontSignIn,
|
|
32671
|
+
ii as PontSignUp,
|
|
32618
32672
|
et as PontSubmitButton,
|
|
32619
32673
|
vs as PontSubtitle,
|
|
32620
32674
|
bs as PontTitle,
|
|
32621
32675
|
De as PontUrlsInfo,
|
|
32622
32676
|
bc as PontUserSnippet,
|
|
32623
32677
|
O as PontUsernameField,
|
|
32624
|
-
|
|
32625
|
-
|
|
32678
|
+
_t as PontWatermark,
|
|
32679
|
+
ri as PreviewComponent,
|
|
32626
32680
|
Kt as Profile,
|
|
32627
32681
|
El as SignedIn,
|
|
32628
32682
|
Cl as SignedOut,
|