@pontive/pontkit-core 1.1.1 → 1.1.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/constants/components.d.ts +1 -1
- package/dist/index.js +115 -115
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +717 -742
- package/dist/index.mjs.map +1 -1
- package/dist/service/http/fetch.d.ts +9 -0
- package/dist/service/http/user/index.d.ts +7 -2
- package/dist/types/core/index.d.ts +12 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10165,7 +10165,7 @@ function ye({ context: t }) {
|
|
|
10165
10165
|
* Copyright 2022 Google LLC
|
|
10166
10166
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
10167
10167
|
*/
|
|
10168
|
-
function
|
|
10168
|
+
function At({ context: t, subscribe: e }) {
|
|
10169
10169
|
return (n, o) => {
|
|
10170
10170
|
typeof o == "object" ? o.addInitializer((function() {
|
|
10171
10171
|
new Wi(this, { context: t, callback: (r) => {
|
|
@@ -10319,7 +10319,7 @@ let Wa = class extends b {
|
|
|
10319
10319
|
}
|
|
10320
10320
|
};
|
|
10321
10321
|
Jh([
|
|
10322
|
-
|
|
10322
|
+
At({ context: Zh })
|
|
10323
10323
|
], Wa.prototype, "itemContext", 2);
|
|
10324
10324
|
Wa = Jh([
|
|
10325
10325
|
p("pont-form-description")
|
|
@@ -10374,7 +10374,7 @@ let _r = class extends b {
|
|
|
10374
10374
|
}
|
|
10375
10375
|
};
|
|
10376
10376
|
vo([
|
|
10377
|
-
|
|
10377
|
+
At({ context: di })
|
|
10378
10378
|
], _r.prototype, "form", 2);
|
|
10379
10379
|
vo([
|
|
10380
10380
|
a({ type: String })
|
|
@@ -10472,7 +10472,7 @@ let Yi = class extends b {
|
|
|
10472
10472
|
}
|
|
10473
10473
|
};
|
|
10474
10474
|
Vl([
|
|
10475
|
-
|
|
10475
|
+
At({ context: di })
|
|
10476
10476
|
], Yi.prototype, "form", 2);
|
|
10477
10477
|
Vl([
|
|
10478
10478
|
m()
|
|
@@ -10516,7 +10516,7 @@ let Zi = class extends f {
|
|
|
10516
10516
|
}
|
|
10517
10517
|
};
|
|
10518
10518
|
Hl([
|
|
10519
|
-
|
|
10519
|
+
At({ context: di })
|
|
10520
10520
|
], Zi.prototype, "form", 2);
|
|
10521
10521
|
Hl([
|
|
10522
10522
|
m()
|
|
@@ -11235,7 +11235,7 @@ var t_ = Object.defineProperty, e_ = Object.getOwnPropertyDescriptor, Mt = (t, e
|
|
|
11235
11235
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
11236
11236
|
return o && r && t_(e, n, r), r;
|
|
11237
11237
|
};
|
|
11238
|
-
let
|
|
11238
|
+
let Pt = class extends f {
|
|
11239
11239
|
constructor() {
|
|
11240
11240
|
super(...arguments), this.id = "", this._onInput = (t) => {
|
|
11241
11241
|
const e = t.target;
|
|
@@ -11316,70 +11316,70 @@ let Ot = class extends f {
|
|
|
11316
11316
|
};
|
|
11317
11317
|
Mt([
|
|
11318
11318
|
a({ type: String })
|
|
11319
|
-
],
|
|
11319
|
+
], Pt.prototype, "autocomplete", 2);
|
|
11320
11320
|
Mt([
|
|
11321
11321
|
a({ type: Number })
|
|
11322
|
-
],
|
|
11322
|
+
], Pt.prototype, "cols", 2);
|
|
11323
11323
|
Mt([
|
|
11324
11324
|
a({ type: Boolean })
|
|
11325
|
-
],
|
|
11325
|
+
], Pt.prototype, "disabled", 2);
|
|
11326
11326
|
Mt([
|
|
11327
11327
|
a({ type: String })
|
|
11328
|
-
],
|
|
11328
|
+
], Pt.prototype, "form", 2);
|
|
11329
11329
|
Mt([
|
|
11330
11330
|
a({ type: String })
|
|
11331
|
-
],
|
|
11331
|
+
], Pt.prototype, "id", 2);
|
|
11332
11332
|
Mt([
|
|
11333
11333
|
a({ type: Boolean })
|
|
11334
|
-
],
|
|
11334
|
+
], Pt.prototype, "invalid", 2);
|
|
11335
11335
|
Mt([
|
|
11336
11336
|
a({ type: Number })
|
|
11337
|
-
],
|
|
11337
|
+
], Pt.prototype, "maxlength", 2);
|
|
11338
11338
|
Mt([
|
|
11339
11339
|
a({ type: Number })
|
|
11340
|
-
],
|
|
11340
|
+
], Pt.prototype, "minlength", 2);
|
|
11341
11341
|
Mt([
|
|
11342
11342
|
a({ type: String })
|
|
11343
|
-
],
|
|
11343
|
+
], Pt.prototype, "name", 2);
|
|
11344
11344
|
Mt([
|
|
11345
11345
|
a({ type: String })
|
|
11346
|
-
],
|
|
11346
|
+
], Pt.prototype, "placeholder", 2);
|
|
11347
11347
|
Mt([
|
|
11348
11348
|
a({ type: Boolean })
|
|
11349
|
-
],
|
|
11349
|
+
], Pt.prototype, "readonly", 2);
|
|
11350
11350
|
Mt([
|
|
11351
11351
|
a({ type: Boolean })
|
|
11352
|
-
],
|
|
11352
|
+
], Pt.prototype, "required", 2);
|
|
11353
11353
|
Mt([
|
|
11354
11354
|
a({ type: Number })
|
|
11355
|
-
],
|
|
11355
|
+
], Pt.prototype, "rows", 2);
|
|
11356
11356
|
Mt([
|
|
11357
11357
|
a({ type: String })
|
|
11358
|
-
],
|
|
11358
|
+
], Pt.prototype, "wrap", 2);
|
|
11359
11359
|
Mt([
|
|
11360
11360
|
a({ type: String })
|
|
11361
|
-
],
|
|
11361
|
+
], Pt.prototype, "value", 2);
|
|
11362
11362
|
Mt([
|
|
11363
11363
|
a({ attribute: !1 })
|
|
11364
|
-
],
|
|
11364
|
+
], Pt.prototype, "onInput", 2);
|
|
11365
11365
|
Mt([
|
|
11366
11366
|
a({ attribute: !1 })
|
|
11367
|
-
],
|
|
11367
|
+
], Pt.prototype, "onChange", 2);
|
|
11368
11368
|
Mt([
|
|
11369
11369
|
a({ attribute: !1 })
|
|
11370
|
-
],
|
|
11370
|
+
], Pt.prototype, "onFocus", 2);
|
|
11371
11371
|
Mt([
|
|
11372
11372
|
a({ attribute: !1 })
|
|
11373
|
-
],
|
|
11374
|
-
|
|
11373
|
+
], Pt.prototype, "onBlur", 2);
|
|
11374
|
+
Pt = Mt([
|
|
11375
11375
|
p("pont-textarea")
|
|
11376
|
-
],
|
|
11376
|
+
], Pt);
|
|
11377
11377
|
var r_ = Object.defineProperty, n_ = Object.getOwnPropertyDescriptor, Nt = (t, e, n, o) => {
|
|
11378
11378
|
for (var r = o > 1 ? void 0 : o ? n_(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
11379
11379
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
11380
11380
|
return o && r && r_(e, n, r), r;
|
|
11381
11381
|
};
|
|
11382
|
-
let
|
|
11382
|
+
let Rt = class extends f {
|
|
11383
11383
|
constructor() {
|
|
11384
11384
|
super(...arguments), this.id = "";
|
|
11385
11385
|
}
|
|
@@ -11436,70 +11436,70 @@ let Pt = class extends f {
|
|
|
11436
11436
|
};
|
|
11437
11437
|
Nt([
|
|
11438
11438
|
a({ type: String })
|
|
11439
|
-
],
|
|
11439
|
+
], Rt.prototype, "autocomplete", 2);
|
|
11440
11440
|
Nt([
|
|
11441
11441
|
a({ type: Number })
|
|
11442
|
-
],
|
|
11442
|
+
], Rt.prototype, "cols", 2);
|
|
11443
11443
|
Nt([
|
|
11444
11444
|
a({ type: Boolean })
|
|
11445
|
-
],
|
|
11445
|
+
], Rt.prototype, "disabled", 2);
|
|
11446
11446
|
Nt([
|
|
11447
11447
|
a({ type: String })
|
|
11448
|
-
],
|
|
11448
|
+
], Rt.prototype, "form", 2);
|
|
11449
11449
|
Nt([
|
|
11450
11450
|
a({ type: String })
|
|
11451
|
-
],
|
|
11451
|
+
], Rt.prototype, "id", 2);
|
|
11452
11452
|
Nt([
|
|
11453
11453
|
a({ type: Boolean })
|
|
11454
|
-
],
|
|
11454
|
+
], Rt.prototype, "invalid", 2);
|
|
11455
11455
|
Nt([
|
|
11456
11456
|
a({ type: Number })
|
|
11457
|
-
],
|
|
11457
|
+
], Rt.prototype, "maxlength", 2);
|
|
11458
11458
|
Nt([
|
|
11459
11459
|
a({ type: Number })
|
|
11460
|
-
],
|
|
11460
|
+
], Rt.prototype, "minlength", 2);
|
|
11461
11461
|
Nt([
|
|
11462
11462
|
a({ type: String })
|
|
11463
|
-
],
|
|
11463
|
+
], Rt.prototype, "name", 2);
|
|
11464
11464
|
Nt([
|
|
11465
11465
|
a({ type: String })
|
|
11466
|
-
],
|
|
11466
|
+
], Rt.prototype, "placeholder", 2);
|
|
11467
11467
|
Nt([
|
|
11468
11468
|
a({ type: Boolean })
|
|
11469
|
-
],
|
|
11469
|
+
], Rt.prototype, "readonly", 2);
|
|
11470
11470
|
Nt([
|
|
11471
11471
|
a({ type: Boolean })
|
|
11472
|
-
],
|
|
11472
|
+
], Rt.prototype, "required", 2);
|
|
11473
11473
|
Nt([
|
|
11474
11474
|
a({ type: Number })
|
|
11475
|
-
],
|
|
11475
|
+
], Rt.prototype, "rows", 2);
|
|
11476
11476
|
Nt([
|
|
11477
11477
|
a({ type: String })
|
|
11478
|
-
],
|
|
11478
|
+
], Rt.prototype, "wrap", 2);
|
|
11479
11479
|
Nt([
|
|
11480
11480
|
a({ type: String })
|
|
11481
|
-
],
|
|
11481
|
+
], Rt.prototype, "value", 2);
|
|
11482
11482
|
Nt([
|
|
11483
11483
|
a({ attribute: !1 })
|
|
11484
|
-
],
|
|
11484
|
+
], Rt.prototype, "onInput", 2);
|
|
11485
11485
|
Nt([
|
|
11486
11486
|
a({ attribute: !1 })
|
|
11487
|
-
],
|
|
11487
|
+
], Rt.prototype, "onChange", 2);
|
|
11488
11488
|
Nt([
|
|
11489
11489
|
a({ attribute: !1 })
|
|
11490
|
-
],
|
|
11490
|
+
], Rt.prototype, "onFocus", 2);
|
|
11491
11491
|
Nt([
|
|
11492
11492
|
a({ attribute: !1 })
|
|
11493
|
-
],
|
|
11494
|
-
|
|
11493
|
+
], Rt.prototype, "onBlur", 2);
|
|
11494
|
+
Rt = Nt([
|
|
11495
11495
|
p("pont-input-group-textarea")
|
|
11496
|
-
],
|
|
11497
|
-
var o_ = Object.defineProperty, i_ = Object.getOwnPropertyDescriptor,
|
|
11496
|
+
], Rt);
|
|
11497
|
+
var o_ = Object.defineProperty, i_ = Object.getOwnPropertyDescriptor, Dt = (t, e, n, o) => {
|
|
11498
11498
|
for (var r = o > 1 ? void 0 : o ? i_(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
11499
11499
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
11500
11500
|
return o && r && o_(e, n, r), r;
|
|
11501
11501
|
};
|
|
11502
|
-
let
|
|
11502
|
+
let Et = class extends f {
|
|
11503
11503
|
/**
|
|
11504
11504
|
* Initialise `_children`, capturing the user children before Lit renders.
|
|
11505
11505
|
*/
|
|
@@ -11754,69 +11754,69 @@ let Ct = class extends f {
|
|
|
11754
11754
|
`;
|
|
11755
11755
|
}
|
|
11756
11756
|
};
|
|
11757
|
-
|
|
11757
|
+
Dt([
|
|
11758
11758
|
a({ type: String })
|
|
11759
|
-
],
|
|
11760
|
-
|
|
11759
|
+
], Et.prototype, "autocomplete", 2);
|
|
11760
|
+
Dt([
|
|
11761
11761
|
a({ attribute: "default-value", type: String })
|
|
11762
|
-
],
|
|
11763
|
-
|
|
11762
|
+
], Et.prototype, "defaultValue", 2);
|
|
11763
|
+
Dt([
|
|
11764
11764
|
a({ type: Boolean })
|
|
11765
|
-
],
|
|
11766
|
-
|
|
11765
|
+
], Et.prototype, "disabled", 2);
|
|
11766
|
+
Dt([
|
|
11767
11767
|
a({ type: String })
|
|
11768
|
-
],
|
|
11769
|
-
|
|
11768
|
+
], Et.prototype, "form", 2);
|
|
11769
|
+
Dt([
|
|
11770
11770
|
a({ type: String })
|
|
11771
|
-
],
|
|
11772
|
-
|
|
11771
|
+
], Et.prototype, "id", 2);
|
|
11772
|
+
Dt([
|
|
11773
11773
|
a({ type: String })
|
|
11774
|
-
],
|
|
11775
|
-
|
|
11774
|
+
], Et.prototype, "inputmode", 2);
|
|
11775
|
+
Dt([
|
|
11776
11776
|
a({ type: Number })
|
|
11777
|
-
],
|
|
11778
|
-
|
|
11777
|
+
], Et.prototype, "maxlength", 2);
|
|
11778
|
+
Dt([
|
|
11779
11779
|
a({ type: String })
|
|
11780
|
-
],
|
|
11781
|
-
|
|
11780
|
+
], Et.prototype, "name", 2);
|
|
11781
|
+
Dt([
|
|
11782
11782
|
a({ type: String })
|
|
11783
|
-
],
|
|
11784
|
-
|
|
11783
|
+
], Et.prototype, "pattern", 2);
|
|
11784
|
+
Dt([
|
|
11785
11785
|
a({ type: Boolean })
|
|
11786
|
-
],
|
|
11787
|
-
|
|
11786
|
+
], Et.prototype, "required", 2);
|
|
11787
|
+
Dt([
|
|
11788
11788
|
a({ type: String })
|
|
11789
|
-
],
|
|
11790
|
-
|
|
11789
|
+
], Et.prototype, "value", 2);
|
|
11790
|
+
Dt([
|
|
11791
11791
|
a({ attribute: !1 })
|
|
11792
|
-
],
|
|
11793
|
-
|
|
11792
|
+
], Et.prototype, "onChange", 2);
|
|
11793
|
+
Dt([
|
|
11794
11794
|
a({ attribute: !1 })
|
|
11795
|
-
],
|
|
11796
|
-
|
|
11795
|
+
], Et.prototype, "onComplete", 2);
|
|
11796
|
+
Dt([
|
|
11797
11797
|
a({ attribute: !1 })
|
|
11798
|
-
],
|
|
11799
|
-
|
|
11798
|
+
], Et.prototype, "onBlur", 2);
|
|
11799
|
+
Dt([
|
|
11800
11800
|
a({ attribute: !1 })
|
|
11801
|
-
],
|
|
11802
|
-
|
|
11801
|
+
], Et.prototype, "onFocus", 2);
|
|
11802
|
+
Dt([
|
|
11803
11803
|
a({ attribute: !1 })
|
|
11804
|
-
],
|
|
11805
|
-
|
|
11804
|
+
], Et.prototype, "onPaste", 2);
|
|
11805
|
+
Dt([
|
|
11806
11806
|
a({ attribute: !1 })
|
|
11807
|
-
],
|
|
11808
|
-
|
|
11807
|
+
], Et.prototype, "pasteTransformer", 2);
|
|
11808
|
+
Dt([
|
|
11809
11809
|
m()
|
|
11810
|
-
],
|
|
11811
|
-
|
|
11810
|
+
], Et.prototype, "_activeSlot", 2);
|
|
11811
|
+
Dt([
|
|
11812
11812
|
m()
|
|
11813
|
-
],
|
|
11814
|
-
|
|
11813
|
+
], Et.prototype, "_hasFocus", 2);
|
|
11814
|
+
Dt([
|
|
11815
11815
|
m()
|
|
11816
|
-
],
|
|
11817
|
-
|
|
11816
|
+
], Et.prototype, "_value", 2);
|
|
11817
|
+
Et = Dt([
|
|
11818
11818
|
p("pont-input-otp")
|
|
11819
|
-
],
|
|
11819
|
+
], Et);
|
|
11820
11820
|
var s_ = Object.getOwnPropertyDescriptor, a_ = (t, e, n, o) => {
|
|
11821
11821
|
for (var r = o > 1 ? void 0 : o ? s_(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
11822
11822
|
(s = t[i]) && (r = s(r) || r);
|
|
@@ -13978,7 +13978,7 @@ var Pw = Object.defineProperty, Rw = Object.getOwnPropertyDescriptor, jt = (t, e
|
|
|
13978
13978
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
13979
13979
|
return o && r && Pw(e, n, r), r;
|
|
13980
13980
|
};
|
|
13981
|
-
let
|
|
13981
|
+
let It = class extends f {
|
|
13982
13982
|
constructor() {
|
|
13983
13983
|
super(...arguments), this.id = "", this._showPassword = !1, this._handleToggle = () => {
|
|
13984
13984
|
this._showPassword = !this._showPassword;
|
|
@@ -14102,64 +14102,64 @@ let Rt = class extends f {
|
|
|
14102
14102
|
};
|
|
14103
14103
|
jt([
|
|
14104
14104
|
a({ type: String })
|
|
14105
|
-
],
|
|
14105
|
+
], It.prototype, "autocomplete", 2);
|
|
14106
14106
|
jt([
|
|
14107
14107
|
a({ type: Boolean })
|
|
14108
|
-
],
|
|
14108
|
+
], It.prototype, "disabled", 2);
|
|
14109
14109
|
jt([
|
|
14110
14110
|
a({ type: String })
|
|
14111
|
-
],
|
|
14111
|
+
], It.prototype, "form", 2);
|
|
14112
14112
|
jt([
|
|
14113
14113
|
a({ type: String })
|
|
14114
|
-
],
|
|
14114
|
+
], It.prototype, "id", 2);
|
|
14115
14115
|
jt([
|
|
14116
14116
|
a({ type: Boolean })
|
|
14117
|
-
],
|
|
14117
|
+
], It.prototype, "invalid", 2);
|
|
14118
14118
|
jt([
|
|
14119
14119
|
a({ type: Number })
|
|
14120
|
-
],
|
|
14120
|
+
], It.prototype, "maxlength", 2);
|
|
14121
14121
|
jt([
|
|
14122
14122
|
a({ type: Number })
|
|
14123
|
-
],
|
|
14123
|
+
], It.prototype, "minlength", 2);
|
|
14124
14124
|
jt([
|
|
14125
14125
|
a({ type: String })
|
|
14126
|
-
],
|
|
14126
|
+
], It.prototype, "name", 2);
|
|
14127
14127
|
jt([
|
|
14128
14128
|
a({ type: String })
|
|
14129
|
-
],
|
|
14129
|
+
], It.prototype, "pattern", 2);
|
|
14130
14130
|
jt([
|
|
14131
14131
|
a({ type: String })
|
|
14132
|
-
],
|
|
14132
|
+
], It.prototype, "placeholder", 2);
|
|
14133
14133
|
jt([
|
|
14134
14134
|
a({ type: Boolean })
|
|
14135
|
-
],
|
|
14135
|
+
], It.prototype, "readonly", 2);
|
|
14136
14136
|
jt([
|
|
14137
14137
|
a({ type: Boolean })
|
|
14138
|
-
],
|
|
14138
|
+
], It.prototype, "required", 2);
|
|
14139
14139
|
jt([
|
|
14140
14140
|
a({ type: String })
|
|
14141
|
-
],
|
|
14141
|
+
], It.prototype, "value", 2);
|
|
14142
14142
|
jt([
|
|
14143
14143
|
a({ attribute: !1 })
|
|
14144
|
-
],
|
|
14144
|
+
], It.prototype, "onClick", 2);
|
|
14145
14145
|
jt([
|
|
14146
14146
|
a({ attribute: !1 })
|
|
14147
|
-
],
|
|
14147
|
+
], It.prototype, "onInput", 2);
|
|
14148
14148
|
jt([
|
|
14149
14149
|
a({ attribute: !1 })
|
|
14150
|
-
],
|
|
14150
|
+
], It.prototype, "onChange", 2);
|
|
14151
14151
|
jt([
|
|
14152
14152
|
a({ attribute: !1 })
|
|
14153
|
-
],
|
|
14153
|
+
], It.prototype, "onFocus", 2);
|
|
14154
14154
|
jt([
|
|
14155
14155
|
a({ attribute: !1 })
|
|
14156
|
-
],
|
|
14156
|
+
], It.prototype, "onBlur", 2);
|
|
14157
14157
|
jt([
|
|
14158
14158
|
m()
|
|
14159
|
-
],
|
|
14160
|
-
|
|
14159
|
+
], It.prototype, "_showPassword", 2);
|
|
14160
|
+
It = jt([
|
|
14161
14161
|
p("pont-password-input")
|
|
14162
|
-
],
|
|
14162
|
+
], It);
|
|
14163
14163
|
const np = {
|
|
14164
14164
|
root: [
|
|
14165
14165
|
"pont-relative pont-overflow-hidden",
|
|
@@ -15525,24 +15525,28 @@ Es([
|
|
|
15525
15525
|
Yo = Es([
|
|
15526
15526
|
p("pont-table")
|
|
15527
15527
|
], Yo);
|
|
15528
|
-
|
|
15528
|
+
const g$ = "pont-account-settings-dashboard-width", m$ = "pont-account-settings-modal-width", f$ = "pont-account-settings-dashboard", v$ = "pont-account-settings-page-reset-margin", b$ = "pont-account-settings-modal-root", $t = "pont", lp = {
|
|
15529
|
+
xs: 640,
|
|
15530
|
+
sm: 768
|
|
15531
|
+
};
|
|
15532
|
+
function y$() {
|
|
15529
15533
|
const t = Date.now().toString(36), e = Math.random().toString(36).substring(2, 7);
|
|
15530
|
-
return
|
|
15534
|
+
return `${$t}-${t}${e}`;
|
|
15531
15535
|
}
|
|
15532
|
-
function
|
|
15536
|
+
function _$(t, e) {
|
|
15533
15537
|
return `${t}-trigger-${e}`;
|
|
15534
15538
|
}
|
|
15535
|
-
function
|
|
15539
|
+
function w$(t, e) {
|
|
15536
15540
|
return `${t}-content-${e}`;
|
|
15537
15541
|
}
|
|
15538
|
-
var
|
|
15539
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15542
|
+
var $$ = Object.defineProperty, C$ = Object.getOwnPropertyDescriptor, Zr = (t, e, n, o) => {
|
|
15543
|
+
for (var r = o > 1 ? void 0 : o ? C$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15540
15544
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15541
|
-
return o && r &&
|
|
15545
|
+
return o && r && $$(e, n, r), r;
|
|
15542
15546
|
};
|
|
15543
15547
|
let $r = class extends f {
|
|
15544
15548
|
constructor() {
|
|
15545
|
-
super(...arguments), this._initialSyncDone = !1, this.orientation = "horizontal", this.dir = "ltr", this.activationMode = "automatic", this._baseId =
|
|
15549
|
+
super(...arguments), this._initialSyncDone = !1, this.orientation = "horizontal", this.dir = "ltr", this.activationMode = "automatic", this._baseId = y$(), this._onTriggerSelect = (t) => {
|
|
15546
15550
|
var n;
|
|
15547
15551
|
const e = t.detail.value;
|
|
15548
15552
|
this._isControlled ? (n = this.onValueChange) == null || n.call(this, e) : this._activeValue = e;
|
|
@@ -15593,11 +15597,11 @@ let $r = class extends f {
|
|
|
15593
15597
|
var d;
|
|
15594
15598
|
const i = r._triggerSlot;
|
|
15595
15599
|
if (!i) return;
|
|
15596
|
-
i.setAttribute("data-orientation", this.orientation), i.id || (i.id =
|
|
15600
|
+
i.setAttribute("data-orientation", this.orientation), i.id || (i.id = _$(this._baseId, r.value));
|
|
15597
15601
|
const s = r.value === this._currentValue;
|
|
15598
15602
|
i.setAttribute("data-state", s ? "active" : "inactive"), i.tabIndex = s ? 0 : -1, i.setAttribute("aria-selected", String(s));
|
|
15599
15603
|
const c = e.find((g) => g.value === r.value);
|
|
15600
|
-
c != null && c._contentSlot && ((d = c._contentSlot).id || (d.id =
|
|
15604
|
+
c != null && c._contentSlot && ((d = c._contentSlot).id || (d.id = w$(this._baseId, c.value)), c._contentSlot.setAttribute("aria-labelledby", i.id), i.setAttribute("aria-controls", c._contentSlot.id));
|
|
15601
15605
|
}), e.forEach((r) => {
|
|
15602
15606
|
const i = r._contentSlot;
|
|
15603
15607
|
if (!i) return;
|
|
@@ -15652,10 +15656,10 @@ Zr([
|
|
|
15652
15656
|
$r = Zr([
|
|
15653
15657
|
p("pont-tabs")
|
|
15654
15658
|
], $r);
|
|
15655
|
-
var
|
|
15656
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15659
|
+
var E$ = Object.defineProperty, S$ = Object.getOwnPropertyDescriptor, du = (t, e, n, o) => {
|
|
15660
|
+
for (var r = o > 1 ? void 0 : o ? S$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15657
15661
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15658
|
-
return o && r &&
|
|
15662
|
+
return o && r && E$(e, n, r), r;
|
|
15659
15663
|
};
|
|
15660
15664
|
let sl = class extends f {
|
|
15661
15665
|
constructor() {
|
|
@@ -15700,10 +15704,10 @@ du([
|
|
|
15700
15704
|
sl = du([
|
|
15701
15705
|
p("pont-tabs-list")
|
|
15702
15706
|
], sl);
|
|
15703
|
-
var
|
|
15704
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15707
|
+
var x$ = Object.defineProperty, O$ = Object.getOwnPropertyDescriptor, oc = (t, e, n, o) => {
|
|
15708
|
+
for (var r = o > 1 ? void 0 : o ? O$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15705
15709
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15706
|
-
return o && r &&
|
|
15710
|
+
return o && r && x$(e, n, r), r;
|
|
15707
15711
|
};
|
|
15708
15712
|
let ss = class extends f {
|
|
15709
15713
|
constructor() {
|
|
@@ -15770,10 +15774,10 @@ oc([
|
|
|
15770
15774
|
ss = oc([
|
|
15771
15775
|
p("pont-tabs-trigger")
|
|
15772
15776
|
], ss);
|
|
15773
|
-
var
|
|
15774
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15777
|
+
var P$ = Object.defineProperty, R$ = Object.getOwnPropertyDescriptor, pu = (t, e, n, o) => {
|
|
15778
|
+
for (var r = o > 1 ? void 0 : o ? R$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15775
15779
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15776
|
-
return o && r &&
|
|
15780
|
+
return o && r && P$(e, n, r), r;
|
|
15777
15781
|
};
|
|
15778
15782
|
let al = class extends f {
|
|
15779
15783
|
constructor() {
|
|
@@ -15872,15 +15876,15 @@ const mi = {
|
|
|
15872
15876
|
"pont-text-toast-description-font pont-opacity-toast-description-opacity"
|
|
15873
15877
|
]
|
|
15874
15878
|
};
|
|
15875
|
-
var
|
|
15876
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15879
|
+
var I$ = Object.defineProperty, T$ = Object.getOwnPropertyDescriptor, ic = (t, e, n, o) => {
|
|
15880
|
+
for (var r = o > 1 ? void 0 : o ? T$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15877
15881
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15878
|
-
return o && r &&
|
|
15882
|
+
return o && r && I$(e, n, r), r;
|
|
15879
15883
|
};
|
|
15880
|
-
const
|
|
15884
|
+
const cp = "closed";
|
|
15881
15885
|
let $n = class extends b {
|
|
15882
15886
|
constructor() {
|
|
15883
|
-
super(...arguments), this.variant = "default", this.state =
|
|
15887
|
+
super(...arguments), this.variant = "default", this.state = cp;
|
|
15884
15888
|
}
|
|
15885
15889
|
get _containerElement() {
|
|
15886
15890
|
return this.querySelector("li[part=toast-view-port-li]");
|
|
@@ -15899,7 +15903,7 @@ let $n = class extends b {
|
|
|
15899
15903
|
class="${u(
|
|
15900
15904
|
mi.viewportRoot,
|
|
15901
15905
|
this.className,
|
|
15902
|
-
`${this.state ===
|
|
15906
|
+
`${this.state === cp ? "hidden" : "block"} `
|
|
15903
15907
|
)}"
|
|
15904
15908
|
>
|
|
15905
15909
|
<li
|
|
@@ -15931,10 +15935,10 @@ ic([
|
|
|
15931
15935
|
$n = ic([
|
|
15932
15936
|
p("pont-toast-view-port")
|
|
15933
15937
|
], $n);
|
|
15934
|
-
var
|
|
15935
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15938
|
+
var A$ = Object.defineProperty, D$ = Object.getOwnPropertyDescriptor, hu = (t, e, n, o) => {
|
|
15939
|
+
for (var r = o > 1 ? void 0 : o ? D$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15936
15940
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
15937
|
-
return o && r &&
|
|
15941
|
+
return o && r && A$(e, n, r), r;
|
|
15938
15942
|
};
|
|
15939
15943
|
let no = class extends b {
|
|
15940
15944
|
constructor() {
|
|
@@ -15982,12 +15986,12 @@ hu([
|
|
|
15982
15986
|
no = hu([
|
|
15983
15987
|
p("pont-toast-action")
|
|
15984
15988
|
], no);
|
|
15985
|
-
var
|
|
15986
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15989
|
+
var L$ = Object.getOwnPropertyDescriptor, k$ = (t, e, n, o) => {
|
|
15990
|
+
for (var r = o > 1 ? void 0 : o ? L$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
15987
15991
|
(s = t[i]) && (r = s(r) || r);
|
|
15988
15992
|
return r;
|
|
15989
15993
|
};
|
|
15990
|
-
let
|
|
15994
|
+
let dp = class extends b {
|
|
15991
15995
|
get _containerElement() {
|
|
15992
15996
|
return this.querySelector("div[part=toast-description]");
|
|
15993
15997
|
}
|
|
@@ -16008,15 +16012,15 @@ let cp = class extends b {
|
|
|
16008
16012
|
`;
|
|
16009
16013
|
}
|
|
16010
16014
|
};
|
|
16011
|
-
|
|
16015
|
+
dp = k$([
|
|
16012
16016
|
p("pont-toast-description")
|
|
16013
|
-
],
|
|
16014
|
-
var
|
|
16015
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16017
|
+
], dp);
|
|
16018
|
+
var M$ = Object.getOwnPropertyDescriptor, N$ = (t, e, n, o) => {
|
|
16019
|
+
for (var r = o > 1 ? void 0 : o ? M$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16016
16020
|
(s = t[i]) && (r = s(r) || r);
|
|
16017
16021
|
return r;
|
|
16018
16022
|
};
|
|
16019
|
-
let
|
|
16023
|
+
let pp = class extends b {
|
|
16020
16024
|
get _containerElement() {
|
|
16021
16025
|
return this.querySelector("div[part=toast-title]");
|
|
16022
16026
|
}
|
|
@@ -16035,15 +16039,15 @@ let dp = class extends b {
|
|
|
16035
16039
|
`;
|
|
16036
16040
|
}
|
|
16037
16041
|
};
|
|
16038
|
-
|
|
16042
|
+
pp = N$([
|
|
16039
16043
|
p("pont-toast-title")
|
|
16040
|
-
],
|
|
16041
|
-
var
|
|
16042
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16044
|
+
], pp);
|
|
16045
|
+
var j$ = Object.getOwnPropertyDescriptor, U$ = (t, e, n, o) => {
|
|
16046
|
+
for (var r = o > 1 ? void 0 : o ? j$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16043
16047
|
(s = t[i]) && (r = s(r) || r);
|
|
16044
16048
|
return r;
|
|
16045
16049
|
};
|
|
16046
|
-
let
|
|
16050
|
+
let hp = class extends b {
|
|
16047
16051
|
constructor() {
|
|
16048
16052
|
super(), this.handleClick = this.handleClick.bind(this);
|
|
16049
16053
|
}
|
|
@@ -16075,13 +16079,13 @@ let pp = class extends b {
|
|
|
16075
16079
|
`;
|
|
16076
16080
|
}
|
|
16077
16081
|
};
|
|
16078
|
-
|
|
16082
|
+
hp = U$([
|
|
16079
16083
|
p("pont-toast-trigger")
|
|
16080
|
-
],
|
|
16081
|
-
var
|
|
16082
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16084
|
+
], hp);
|
|
16085
|
+
var q$ = Object.defineProperty, B$ = Object.getOwnPropertyDescriptor, uu = (t, e, n, o) => {
|
|
16086
|
+
for (var r = o > 1 ? void 0 : o ? B$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16083
16087
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
16084
|
-
return o && r &&
|
|
16088
|
+
return o && r && q$(e, n, r), r;
|
|
16085
16089
|
};
|
|
16086
16090
|
let as = class extends b {
|
|
16087
16091
|
constructor() {
|
|
@@ -16125,7 +16129,7 @@ as = uu([
|
|
|
16125
16129
|
p("pont-toast")
|
|
16126
16130
|
], as);
|
|
16127
16131
|
var ls = /* @__PURE__ */ ((t) => (t.MULTIPLE = "multiple", t.SINGLE = "single", t))(ls || {}), cs = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.OUTLINE = "outline", t))(cs || {}), ds = /* @__PURE__ */ ((t) => (t.SMALL = "sm", t.MEDIUM = "md", t.LARGE = "lg", t))(ds || {});
|
|
16128
|
-
const
|
|
16132
|
+
const F$ = Al(
|
|
16129
16133
|
"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",
|
|
16130
16134
|
{
|
|
16131
16135
|
variants: {
|
|
@@ -16140,11 +16144,11 @@ const N$ = Al(
|
|
|
16140
16144
|
}
|
|
16141
16145
|
}
|
|
16142
16146
|
}
|
|
16143
|
-
),
|
|
16144
|
-
var
|
|
16145
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16147
|
+
), z$ = "pont-flex pont-items-center pont-justify-center pont-gap-toggle-group-space-gap";
|
|
16148
|
+
var V$ = Object.defineProperty, H$ = Object.getOwnPropertyDescriptor, Pn = (t, e, n, o) => {
|
|
16149
|
+
for (var r = o > 1 ? void 0 : o ? H$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16146
16150
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
16147
|
-
return o && r &&
|
|
16151
|
+
return o && r && V$(e, n, r), r;
|
|
16148
16152
|
};
|
|
16149
16153
|
let er = class extends b {
|
|
16150
16154
|
/**
|
|
@@ -16241,7 +16245,7 @@ let er = class extends b {
|
|
|
16241
16245
|
`;
|
|
16242
16246
|
}
|
|
16243
16247
|
};
|
|
16244
|
-
er.toggleGroupVariants =
|
|
16248
|
+
er.toggleGroupVariants = F$;
|
|
16245
16249
|
Pn([
|
|
16246
16250
|
a({ attribute: !0, type: Boolean, reflect: !0 })
|
|
16247
16251
|
], er.prototype, "checked", 2);
|
|
@@ -16263,10 +16267,10 @@ Pn([
|
|
|
16263
16267
|
er = Pn([
|
|
16264
16268
|
p("pont-toggle-group-item")
|
|
16265
16269
|
], er);
|
|
16266
|
-
var
|
|
16267
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16270
|
+
var G$ = Object.defineProperty, K$ = Object.getOwnPropertyDescriptor, Rn = (t, e, n, o) => {
|
|
16271
|
+
for (var r = o > 1 ? void 0 : o ? K$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16268
16272
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
16269
|
-
return o && r &&
|
|
16273
|
+
return o && r && G$(e, n, r), r;
|
|
16270
16274
|
};
|
|
16271
16275
|
let Cr = class extends b {
|
|
16272
16276
|
constructor() {
|
|
@@ -16303,7 +16307,7 @@ let Cr = class extends b {
|
|
|
16303
16307
|
part="toggle-group"
|
|
16304
16308
|
role="group"
|
|
16305
16309
|
${Zt(t)}
|
|
16306
|
-
class="${u(
|
|
16310
|
+
class="${u(z$, this.className)}"
|
|
16307
16311
|
?disable="${this.disabled}"
|
|
16308
16312
|
></div>
|
|
16309
16313
|
`;
|
|
@@ -16331,7 +16335,7 @@ Cr = Rn([
|
|
|
16331
16335
|
p("pont-toggle-group")
|
|
16332
16336
|
], Cr);
|
|
16333
16337
|
var Di = /* @__PURE__ */ ((t) => (t.SMALL = "sm", t.MEDIUM = "md", t.LARGE = "lg", t))(Di || {}), Li = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.OUTLINE = "outline", t))(Li || {});
|
|
16334
|
-
const
|
|
16338
|
+
const W$ = Al(
|
|
16335
16339
|
"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",
|
|
16336
16340
|
{
|
|
16337
16341
|
variants: {
|
|
@@ -16347,10 +16351,10 @@ const z$ = Al(
|
|
|
16347
16351
|
}
|
|
16348
16352
|
}
|
|
16349
16353
|
);
|
|
16350
|
-
var
|
|
16351
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16354
|
+
var Y$ = Object.defineProperty, Z$ = Object.getOwnPropertyDescriptor, wo = (t, e, n, o) => {
|
|
16355
|
+
for (var r = o > 1 ? void 0 : o ? Z$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16352
16356
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
16353
|
-
return o && r &&
|
|
16357
|
+
return o && r && Y$(e, n, r), r;
|
|
16354
16358
|
};
|
|
16355
16359
|
let Er = class extends b {
|
|
16356
16360
|
constructor() {
|
|
@@ -16409,7 +16413,7 @@ let Er = class extends b {
|
|
|
16409
16413
|
`;
|
|
16410
16414
|
}
|
|
16411
16415
|
};
|
|
16412
|
-
Er.toggleVariants =
|
|
16416
|
+
Er.toggleVariants = W$;
|
|
16413
16417
|
wo([
|
|
16414
16418
|
a({ type: Boolean })
|
|
16415
16419
|
], Er.prototype, "disabled", 2);
|
|
@@ -16434,12 +16438,12 @@ wo([
|
|
|
16434
16438
|
Er = wo([
|
|
16435
16439
|
p("pont-toggle")
|
|
16436
16440
|
], Er);
|
|
16437
|
-
var
|
|
16438
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16441
|
+
var J$ = Object.getOwnPropertyDescriptor, Q$ = (t, e, n, o) => {
|
|
16442
|
+
for (var r = o > 1 ? void 0 : o ? J$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16439
16443
|
(s = t[i]) && (r = s(r) || r);
|
|
16440
16444
|
return r;
|
|
16441
16445
|
};
|
|
16442
|
-
let
|
|
16446
|
+
let up = class extends f {
|
|
16443
16447
|
/**
|
|
16444
16448
|
* Overrides the default behaviour to render into the light DOM.
|
|
16445
16449
|
*/
|
|
@@ -16464,15 +16468,15 @@ let hp = class extends f {
|
|
|
16464
16468
|
return l`<blockquote data-slot="typography-blockquote"></blockquote>`;
|
|
16465
16469
|
}
|
|
16466
16470
|
};
|
|
16467
|
-
|
|
16471
|
+
up = Q$([
|
|
16468
16472
|
p("pont-typography-blockquote")
|
|
16469
|
-
],
|
|
16470
|
-
var
|
|
16471
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16473
|
+
], up);
|
|
16474
|
+
var X$ = Object.getOwnPropertyDescriptor, t1 = (t, e, n, o) => {
|
|
16475
|
+
for (var r = o > 1 ? void 0 : o ? X$(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16472
16476
|
(s = t[i]) && (r = s(r) || r);
|
|
16473
16477
|
return r;
|
|
16474
16478
|
};
|
|
16475
|
-
let
|
|
16479
|
+
let gp = class extends f {
|
|
16476
16480
|
/**
|
|
16477
16481
|
* Overrides the default behaviour to render into the light DOM.
|
|
16478
16482
|
*/
|
|
@@ -16497,13 +16501,13 @@ let up = class extends f {
|
|
|
16497
16501
|
return l`<code data-slot="typography-code"></code>`;
|
|
16498
16502
|
}
|
|
16499
16503
|
};
|
|
16500
|
-
|
|
16504
|
+
gp = t1([
|
|
16501
16505
|
p("pont-typography-code")
|
|
16502
|
-
],
|
|
16503
|
-
var
|
|
16504
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16506
|
+
], gp);
|
|
16507
|
+
var e1 = Object.defineProperty, r1 = Object.getOwnPropertyDescriptor, gu = (t, e, n, o) => {
|
|
16508
|
+
for (var r = o > 1 ? void 0 : o ? r1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16505
16509
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
16506
|
-
return o && r &&
|
|
16510
|
+
return o && r && e1(e, n, r), r;
|
|
16507
16511
|
};
|
|
16508
16512
|
let ll = class extends f {
|
|
16509
16513
|
constructor() {
|
|
@@ -16545,12 +16549,12 @@ gu([
|
|
|
16545
16549
|
ll = gu([
|
|
16546
16550
|
p("pont-typography-h")
|
|
16547
16551
|
], ll);
|
|
16548
|
-
var
|
|
16549
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16552
|
+
var n1 = Object.getOwnPropertyDescriptor, o1 = (t, e, n, o) => {
|
|
16553
|
+
for (var r = o > 1 ? void 0 : o ? n1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16550
16554
|
(s = t[i]) && (r = s(r) || r);
|
|
16551
16555
|
return r;
|
|
16552
16556
|
};
|
|
16553
|
-
let
|
|
16557
|
+
let mp = class extends f {
|
|
16554
16558
|
/**
|
|
16555
16559
|
* Overrides the default behaviour to render into the light DOM.
|
|
16556
16560
|
*/
|
|
@@ -16575,15 +16579,15 @@ let gp = class extends f {
|
|
|
16575
16579
|
return l`<div data-slot="typography-large"></div>`;
|
|
16576
16580
|
}
|
|
16577
16581
|
};
|
|
16578
|
-
|
|
16582
|
+
mp = o1([
|
|
16579
16583
|
p("pont-typography-large")
|
|
16580
|
-
],
|
|
16581
|
-
var
|
|
16582
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16584
|
+
], mp);
|
|
16585
|
+
var i1 = Object.getOwnPropertyDescriptor, s1 = (t, e, n, o) => {
|
|
16586
|
+
for (var r = o > 1 ? void 0 : o ? i1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16583
16587
|
(s = t[i]) && (r = s(r) || r);
|
|
16584
16588
|
return r;
|
|
16585
16589
|
};
|
|
16586
|
-
let
|
|
16590
|
+
let fp = class extends f {
|
|
16587
16591
|
/**
|
|
16588
16592
|
* Overrides the default behaviour to render into the light DOM.
|
|
16589
16593
|
*/
|
|
@@ -16608,15 +16612,15 @@ let mp = class extends f {
|
|
|
16608
16612
|
return l`<p data-slot="typography-lead"></p>`;
|
|
16609
16613
|
}
|
|
16610
16614
|
};
|
|
16611
|
-
|
|
16615
|
+
fp = s1([
|
|
16612
16616
|
p("pont-typography-lead")
|
|
16613
|
-
],
|
|
16614
|
-
var
|
|
16615
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16617
|
+
], fp);
|
|
16618
|
+
var a1 = Object.getOwnPropertyDescriptor, l1 = (t, e, n, o) => {
|
|
16619
|
+
for (var r = o > 1 ? void 0 : o ? a1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16616
16620
|
(s = t[i]) && (r = s(r) || r);
|
|
16617
16621
|
return r;
|
|
16618
16622
|
};
|
|
16619
|
-
let
|
|
16623
|
+
let vp = class extends f {
|
|
16620
16624
|
/**
|
|
16621
16625
|
* Overrides the default behaviour to render into the light DOM.
|
|
16622
16626
|
*/
|
|
@@ -16641,15 +16645,15 @@ let fp = class extends f {
|
|
|
16641
16645
|
return l`<ul data-slot="typography-list"></ul>`;
|
|
16642
16646
|
}
|
|
16643
16647
|
};
|
|
16644
|
-
|
|
16648
|
+
vp = l1([
|
|
16645
16649
|
p("pont-typography-list")
|
|
16646
|
-
],
|
|
16647
|
-
var
|
|
16648
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16650
|
+
], vp);
|
|
16651
|
+
var c1 = Object.getOwnPropertyDescriptor, d1 = (t, e, n, o) => {
|
|
16652
|
+
for (var r = o > 1 ? void 0 : o ? c1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16649
16653
|
(s = t[i]) && (r = s(r) || r);
|
|
16650
16654
|
return r;
|
|
16651
16655
|
};
|
|
16652
|
-
let
|
|
16656
|
+
let bp = class extends f {
|
|
16653
16657
|
/**
|
|
16654
16658
|
* Overrides the default behaviour to render into the light DOM.
|
|
16655
16659
|
*/
|
|
@@ -16674,15 +16678,15 @@ let vp = class extends f {
|
|
|
16674
16678
|
return l`<p data-slot="typography-muted"></p>`;
|
|
16675
16679
|
}
|
|
16676
16680
|
};
|
|
16677
|
-
|
|
16681
|
+
bp = d1([
|
|
16678
16682
|
p("pont-typography-muted")
|
|
16679
|
-
],
|
|
16680
|
-
var
|
|
16681
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16683
|
+
], bp);
|
|
16684
|
+
var p1 = Object.getOwnPropertyDescriptor, h1 = (t, e, n, o) => {
|
|
16685
|
+
for (var r = o > 1 ? void 0 : o ? p1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16682
16686
|
(s = t[i]) && (r = s(r) || r);
|
|
16683
16687
|
return r;
|
|
16684
16688
|
};
|
|
16685
|
-
let
|
|
16689
|
+
let yp = class extends f {
|
|
16686
16690
|
/**
|
|
16687
16691
|
* Overrides the default behaviour to render into the light DOM.
|
|
16688
16692
|
*/
|
|
@@ -16707,15 +16711,15 @@ let bp = class extends f {
|
|
|
16707
16711
|
return l`<p data-slot="typography-p"></p>`;
|
|
16708
16712
|
}
|
|
16709
16713
|
};
|
|
16710
|
-
|
|
16714
|
+
yp = h1([
|
|
16711
16715
|
p("pont-typography-p")
|
|
16712
|
-
],
|
|
16713
|
-
var
|
|
16714
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16716
|
+
], yp);
|
|
16717
|
+
var u1 = Object.getOwnPropertyDescriptor, g1 = (t, e, n, o) => {
|
|
16718
|
+
for (var r = o > 1 ? void 0 : o ? u1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16715
16719
|
(s = t[i]) && (r = s(r) || r);
|
|
16716
16720
|
return r;
|
|
16717
16721
|
};
|
|
16718
|
-
let
|
|
16722
|
+
let _p = class extends f {
|
|
16719
16723
|
/**
|
|
16720
16724
|
* Overrides the default behaviour to render into the light DOM.
|
|
16721
16725
|
*/
|
|
@@ -16740,15 +16744,15 @@ let yp = class extends f {
|
|
|
16740
16744
|
return l`<small data-slot="typography-small"></small>`;
|
|
16741
16745
|
}
|
|
16742
16746
|
};
|
|
16743
|
-
|
|
16747
|
+
_p = g1([
|
|
16744
16748
|
p("pont-typography-small")
|
|
16745
|
-
],
|
|
16746
|
-
var
|
|
16747
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16749
|
+
], _p);
|
|
16750
|
+
var m1 = Object.getOwnPropertyDescriptor, f1 = (t, e, n, o) => {
|
|
16751
|
+
for (var r = o > 1 ? void 0 : o ? m1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16748
16752
|
(s = t[i]) && (r = s(r) || r);
|
|
16749
16753
|
return r;
|
|
16750
16754
|
};
|
|
16751
|
-
let
|
|
16755
|
+
let wp = class extends f {
|
|
16752
16756
|
/**
|
|
16753
16757
|
* Overrides the default behaviour to render into the light DOM.
|
|
16754
16758
|
*/
|
|
@@ -16756,15 +16760,15 @@ let _p = class extends f {
|
|
|
16756
16760
|
return this;
|
|
16757
16761
|
}
|
|
16758
16762
|
};
|
|
16759
|
-
|
|
16763
|
+
wp = f1([
|
|
16760
16764
|
p("pont-typography-table")
|
|
16761
|
-
],
|
|
16762
|
-
var
|
|
16763
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16765
|
+
], wp);
|
|
16766
|
+
var v1 = Object.defineProperty, b1 = Object.getOwnPropertyDescriptor, Ut = (t, e, n, o) => {
|
|
16767
|
+
for (var r = o > 1 ? void 0 : o ? b1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
16764
16768
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
16765
|
-
return o && r &&
|
|
16769
|
+
return o && r && v1(e, n, r), r;
|
|
16766
16770
|
};
|
|
16767
|
-
let
|
|
16771
|
+
let Tt = class extends b {
|
|
16768
16772
|
constructor() {
|
|
16769
16773
|
super(...arguments), this.placeholder = "Filter emails...", this.dataTable = [], this.hasDefaultSelect = !0, this.hasDefaultPagination = !0, this.hasDefaultSearch = !0, this.checkedRows = {}, this.searchTerm = "", this.columnVisibility = {}, this.sortColumn = null, this.sortDirection = "asc", this.cellRenderers = {}, this.rowActions = [], this.paginationLabels = ["Previous", "Next"], this.pageSize = 5, this.currentPage = 1, this.sortableColumns = ["email"], this.columnOrder = [];
|
|
16770
16774
|
}
|
|
@@ -17122,64 +17126,64 @@ let It = class extends b {
|
|
|
17122
17126
|
};
|
|
17123
17127
|
Ut([
|
|
17124
17128
|
a({ type: String })
|
|
17125
|
-
],
|
|
17129
|
+
], Tt.prototype, "placeholder", 2);
|
|
17126
17130
|
Ut([
|
|
17127
17131
|
a({ type: Array })
|
|
17128
|
-
],
|
|
17132
|
+
], Tt.prototype, "dataTable", 2);
|
|
17129
17133
|
Ut([
|
|
17130
17134
|
a({ type: Boolean })
|
|
17131
|
-
],
|
|
17135
|
+
], Tt.prototype, "hasDefaultSelect", 2);
|
|
17132
17136
|
Ut([
|
|
17133
17137
|
a({ type: Boolean })
|
|
17134
|
-
],
|
|
17138
|
+
], Tt.prototype, "hasDefaultPagination", 2);
|
|
17135
17139
|
Ut([
|
|
17136
17140
|
a({ type: Boolean })
|
|
17137
|
-
],
|
|
17141
|
+
], Tt.prototype, "hasDefaultSearch", 2);
|
|
17138
17142
|
Ut([
|
|
17139
17143
|
a({ type: Object })
|
|
17140
|
-
],
|
|
17144
|
+
], Tt.prototype, "checkedRows", 2);
|
|
17141
17145
|
Ut([
|
|
17142
17146
|
a({ type: String })
|
|
17143
|
-
],
|
|
17147
|
+
], Tt.prototype, "searchTerm", 2);
|
|
17144
17148
|
Ut([
|
|
17145
17149
|
a({ type: Object })
|
|
17146
|
-
],
|
|
17150
|
+
], Tt.prototype, "columnVisibility", 2);
|
|
17147
17151
|
Ut([
|
|
17148
17152
|
a({ type: String })
|
|
17149
|
-
],
|
|
17153
|
+
], Tt.prototype, "sortColumn", 2);
|
|
17150
17154
|
Ut([
|
|
17151
17155
|
a({ type: String })
|
|
17152
|
-
],
|
|
17156
|
+
], Tt.prototype, "sortDirection", 2);
|
|
17153
17157
|
Ut([
|
|
17154
17158
|
a({ type: Object })
|
|
17155
|
-
],
|
|
17159
|
+
], Tt.prototype, "cellRenderers", 2);
|
|
17156
17160
|
Ut([
|
|
17157
17161
|
a({ type: Object })
|
|
17158
|
-
],
|
|
17162
|
+
], Tt.prototype, "headerRenderers", 2);
|
|
17159
17163
|
Ut([
|
|
17160
17164
|
a({ type: Array })
|
|
17161
|
-
],
|
|
17165
|
+
], Tt.prototype, "rowActions", 2);
|
|
17162
17166
|
Ut([
|
|
17163
17167
|
a({ type: Array })
|
|
17164
|
-
],
|
|
17168
|
+
], Tt.prototype, "paginationLabels", 2);
|
|
17165
17169
|
Ut([
|
|
17166
17170
|
a({ type: Number })
|
|
17167
|
-
],
|
|
17171
|
+
], Tt.prototype, "pageSize", 2);
|
|
17168
17172
|
Ut([
|
|
17169
17173
|
a({ type: Number })
|
|
17170
|
-
],
|
|
17174
|
+
], Tt.prototype, "currentPage", 2);
|
|
17171
17175
|
Ut([
|
|
17172
17176
|
a({ type: Array })
|
|
17173
|
-
],
|
|
17177
|
+
], Tt.prototype, "sortableColumns", 2);
|
|
17174
17178
|
Ut([
|
|
17175
17179
|
a({ type: Array })
|
|
17176
|
-
],
|
|
17180
|
+
], Tt.prototype, "columnOrder", 2);
|
|
17177
17181
|
Ut([
|
|
17178
17182
|
a({ type: Function })
|
|
17179
|
-
],
|
|
17180
|
-
|
|
17183
|
+
], Tt.prototype, "isRowDisabled", 2);
|
|
17184
|
+
Tt = Ut([
|
|
17181
17185
|
p("pont-data-table")
|
|
17182
|
-
],
|
|
17186
|
+
], Tt);
|
|
17183
17187
|
var bt = class extends Error {
|
|
17184
17188
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17185
17189
|
constructor(e, n, o, r) {
|
|
@@ -17209,11 +17213,11 @@ function mu(t) {
|
|
|
17209
17213
|
"CONFIG_ERROR",
|
|
17210
17214
|
`domain "${e}" is relative to the page origin, and there is no page here`
|
|
17211
17215
|
);
|
|
17212
|
-
return
|
|
17216
|
+
return $p(new URL(e, location.origin));
|
|
17213
17217
|
}
|
|
17214
|
-
const n = /^https?:\/\//i.test(e) ? "" : `${
|
|
17218
|
+
const n = /^https?:\/\//i.test(e) ? "" : `${_1(y1(e)) ? "http" : "https"}://`;
|
|
17215
17219
|
try {
|
|
17216
|
-
return
|
|
17220
|
+
return $p(new URL(`${n}${e}`));
|
|
17217
17221
|
} catch {
|
|
17218
17222
|
throw new bt(
|
|
17219
17223
|
"CONFIG_ERROR",
|
|
@@ -17221,16 +17225,16 @@ function mu(t) {
|
|
|
17221
17225
|
);
|
|
17222
17226
|
}
|
|
17223
17227
|
}
|
|
17224
|
-
function
|
|
17228
|
+
function $p(t) {
|
|
17225
17229
|
return `${t.origin}${t.pathname}`.replace(/\/+$/, "");
|
|
17226
17230
|
}
|
|
17227
|
-
function
|
|
17231
|
+
function y1(t) {
|
|
17228
17232
|
return t.split("/")[0];
|
|
17229
17233
|
}
|
|
17230
|
-
function
|
|
17234
|
+
function _1(t) {
|
|
17231
17235
|
return /^(localhost|127\.0\.0\.1|\[::1\])(:\d+)?$/i.test(t);
|
|
17232
17236
|
}
|
|
17233
|
-
var Ge,
|
|
17237
|
+
var Ge, w1 = (Ge = class {
|
|
17234
17238
|
constructor() {
|
|
17235
17239
|
N(this, "data", /* @__PURE__ */ new Map());
|
|
17236
17240
|
}
|
|
@@ -17281,14 +17285,14 @@ var Ge, f1 = (Ge = class {
|
|
|
17281
17285
|
clear() {
|
|
17282
17286
|
this.data.clear();
|
|
17283
17287
|
}
|
|
17284
|
-
}, N(Ge, "instance"), Ge),
|
|
17288
|
+
}, N(Ge, "instance"), Ge), Ot = w1.Instance, Ke, ps = (Ke = class {
|
|
17285
17289
|
constructor() {
|
|
17286
17290
|
}
|
|
17287
17291
|
static get Instance() {
|
|
17288
17292
|
return Ke.instance || (Ke.instance = new Ke()), Ke.instance;
|
|
17289
17293
|
}
|
|
17290
17294
|
async request(e, n = {}) {
|
|
17291
|
-
const o =
|
|
17295
|
+
const o = Ot.getConfig(), r = `${Ot.getApiBaseUrl()}${e}`, i = 5e4, s = new AbortController(), c = setTimeout(() => s.abort(), i);
|
|
17292
17296
|
try {
|
|
17293
17297
|
const d = await fetch(r, {
|
|
17294
17298
|
...n,
|
|
@@ -17354,33 +17358,33 @@ var Ge, f1 = (Ge = class {
|
|
|
17354
17358
|
});
|
|
17355
17359
|
}
|
|
17356
17360
|
}, N(Ke, "instance"), Ke), fu = "__Secure-pontive_session_state", Ks = "__Secure-pontive_session_probe";
|
|
17357
|
-
function
|
|
17358
|
-
return vu(fu) ? "present" :
|
|
17361
|
+
function $1() {
|
|
17362
|
+
return vu(fu) ? "present" : C1() ? "absent" : "unknown";
|
|
17359
17363
|
}
|
|
17360
17364
|
function cl() {
|
|
17361
17365
|
if (!(typeof document > "u" || typeof location > "u"))
|
|
17362
|
-
for (const t of ["", ...
|
|
17366
|
+
for (const t of ["", ...x1(location.hostname)])
|
|
17363
17367
|
dl(fu, "", t, 0);
|
|
17364
17368
|
}
|
|
17365
|
-
function
|
|
17369
|
+
function C1() {
|
|
17366
17370
|
if (typeof document > "u" || typeof location > "u")
|
|
17367
17371
|
return !1;
|
|
17368
|
-
const t =
|
|
17372
|
+
const t = S1();
|
|
17369
17373
|
try {
|
|
17370
17374
|
dl(Ks, "1", t, 60);
|
|
17371
17375
|
const e = vu(Ks) === "1";
|
|
17372
|
-
return dl(Ks, "", t, 0), e &&
|
|
17376
|
+
return dl(Ks, "", t, 0), e && E1(t);
|
|
17373
17377
|
} catch {
|
|
17374
17378
|
return !1;
|
|
17375
17379
|
}
|
|
17376
17380
|
}
|
|
17377
|
-
function
|
|
17378
|
-
return t !== "" ||
|
|
17381
|
+
function E1(t) {
|
|
17382
|
+
return t !== "" || Ot.apiIsSameOrigin();
|
|
17379
17383
|
}
|
|
17380
|
-
function
|
|
17384
|
+
function S1() {
|
|
17381
17385
|
let t;
|
|
17382
17386
|
try {
|
|
17383
|
-
t = new URL(
|
|
17387
|
+
t = new URL(Ot.getApiBaseUrl()).hostname;
|
|
17384
17388
|
} catch {
|
|
17385
17389
|
return "";
|
|
17386
17390
|
}
|
|
@@ -17393,17 +17397,17 @@ function _1() {
|
|
|
17393
17397
|
r += 1;
|
|
17394
17398
|
return r < 2 ? "" : o.slice(o.length - r).join(".");
|
|
17395
17399
|
}
|
|
17396
|
-
function
|
|
17400
|
+
function x1(t) {
|
|
17397
17401
|
const e = t.split("."), n = [];
|
|
17398
17402
|
for (let o = 1; o + 2 <= e.length; o += 1)
|
|
17399
17403
|
n.push(e.slice(o).join("."));
|
|
17400
17404
|
return n;
|
|
17401
17405
|
}
|
|
17402
17406
|
function dl(t, e, n, o) {
|
|
17403
|
-
const r =
|
|
17407
|
+
const r = O1() ? "; Secure" : "", i = n ? `; Domain=${n}` : "";
|
|
17404
17408
|
document.cookie = `${t}=${e}; Path=/; Max-Age=${o}; SameSite=Lax${i}${r}`;
|
|
17405
17409
|
}
|
|
17406
|
-
function
|
|
17410
|
+
function O1() {
|
|
17407
17411
|
return typeof globalThis.isSecureContext == "boolean" ? globalThis.isSecureContext : location.protocol === "https:";
|
|
17408
17412
|
}
|
|
17409
17413
|
function vu(t) {
|
|
@@ -17482,7 +17486,7 @@ var Kt, he = (Kt = class {
|
|
|
17482
17486
|
}
|
|
17483
17487
|
/** Channel and lock names are per app, so unrelated apps on one origin do not queue behind each other. */
|
|
17484
17488
|
channelKey(e) {
|
|
17485
|
-
const n =
|
|
17489
|
+
const n = Ot.getConfig();
|
|
17486
17490
|
return `pontive-${e}:${(n == null ? void 0 : n.domain) ?? ""}:${(n == null ? void 0 : n.appId) ?? ""}`;
|
|
17487
17491
|
}
|
|
17488
17492
|
ensureChannel() {
|
|
@@ -17647,7 +17651,7 @@ var Kt, he = (Kt = class {
|
|
|
17647
17651
|
const o = await this.requestTokens(e);
|
|
17648
17652
|
return this.isCurrentGeneration(n) ? o : (console.warn("Token refresh returned after the session changed; discarding it"), null);
|
|
17649
17653
|
} catch (o) {
|
|
17650
|
-
return this.isCurrentGeneration(n) ?
|
|
17654
|
+
return this.isCurrentGeneration(n) ? P1(o) ? (console.error("Token refresh rejected, signing out:", To(o)), cl(), this.clearSession(), null) : (console.warn("Token refresh failed, keeping session and retrying:", To(o)), this.scheduleRefreshRetry(e), null) : (console.warn("Token refresh failed after the session changed; ignoring:", To(o)), null);
|
|
17651
17655
|
}
|
|
17652
17656
|
}
|
|
17653
17657
|
/**
|
|
@@ -17687,7 +17691,7 @@ var Kt, he = (Kt = class {
|
|
|
17687
17691
|
var r;
|
|
17688
17692
|
const n = {
|
|
17689
17693
|
grant_type: "refresh_token",
|
|
17690
|
-
client_id: (r =
|
|
17694
|
+
client_id: (r = Ot.getConfig()) == null ? void 0 : r.appId
|
|
17691
17695
|
};
|
|
17692
17696
|
e != null && e.refresh_token && (n.refresh_token = e.refresh_token);
|
|
17693
17697
|
const o = await ps.Instance.postForm("/oauth2/token", n);
|
|
@@ -17729,7 +17733,7 @@ var Kt, he = (Kt = class {
|
|
|
17729
17733
|
*/
|
|
17730
17734
|
async restoreSession() {
|
|
17731
17735
|
const e = this.getStoredSession();
|
|
17732
|
-
return e && !this.isSessionExpired(e) ? e :
|
|
17736
|
+
return e && !this.isSessionExpired(e) ? e : $1() === "absent" ? null : this.restorePromise ? this.restorePromise : (this.restorePromise = this.withRefreshLock(async () => {
|
|
17733
17737
|
const n = this.getStoredSession();
|
|
17734
17738
|
if (n && !this.isSessionExpired(n))
|
|
17735
17739
|
return n;
|
|
@@ -17737,7 +17741,7 @@ var Kt, he = (Kt = class {
|
|
|
17737
17741
|
const o = await this.requestTokens(null);
|
|
17738
17742
|
return o.id_token || (o.user = await this.fetchUserInfo(o.access_token) ?? void 0), this.setCurrentSession(o), this.scheduleTokenRefresh(), o;
|
|
17739
17743
|
} catch (o) {
|
|
17740
|
-
return
|
|
17744
|
+
return I1(o) && cl(), console.debug("No session to restore:", To(o)), null;
|
|
17741
17745
|
}
|
|
17742
17746
|
}).finally(() => {
|
|
17743
17747
|
this.restorePromise = null;
|
|
@@ -17767,11 +17771,11 @@ var Kt, he = (Kt = class {
|
|
|
17767
17771
|
}, n);
|
|
17768
17772
|
}
|
|
17769
17773
|
}, N(Kt, "MAX_REFRESH_RETRIES", 5), N(Kt, "REFRESH_RETRY_BASE_MS", 5e3), N(Kt, "MAX_REFRESH_RETRY_DELAY_MS", 6e4), N(Kt, "instance"), Kt);
|
|
17770
|
-
function
|
|
17771
|
-
return !(t instanceof bt) || t.status === void 0 ? !1 : t.status === 401 ? !0 : t.status === 400 &&
|
|
17774
|
+
function P1(t) {
|
|
17775
|
+
return !(t instanceof bt) || t.status === void 0 ? !1 : t.status === 401 ? !0 : t.status === 400 && R1.has(t.code);
|
|
17772
17776
|
}
|
|
17773
|
-
var
|
|
17774
|
-
function
|
|
17777
|
+
var R1 = /* @__PURE__ */ new Set(["invalid_grant", "invalid_client"]);
|
|
17778
|
+
function I1(t) {
|
|
17775
17779
|
return t instanceof bt && t.status !== void 0 && t.status >= 400 && t.status < 500;
|
|
17776
17780
|
}
|
|
17777
17781
|
function To(t) {
|
|
@@ -17899,7 +17903,7 @@ var bu = class {
|
|
|
17899
17903
|
clearEvent(t) {
|
|
17900
17904
|
this.listeners.delete(t);
|
|
17901
17905
|
}
|
|
17902
|
-
},
|
|
17906
|
+
}, T1 = class {
|
|
17903
17907
|
getNavigationType() {
|
|
17904
17908
|
const t = performance.getEntriesByType("navigation");
|
|
17905
17909
|
if (t.length > 0)
|
|
@@ -17916,7 +17920,7 @@ var bu = class {
|
|
|
17916
17920
|
}
|
|
17917
17921
|
return "navigate";
|
|
17918
17922
|
}
|
|
17919
|
-
},
|
|
17923
|
+
}, A1 = class _u {
|
|
17920
17924
|
constructor(e, n, o = window.location, r, i) {
|
|
17921
17925
|
N(this, "httpClient", ps.Instance);
|
|
17922
17926
|
N(this, "flowId");
|
|
@@ -17930,12 +17934,12 @@ var bu = class {
|
|
|
17930
17934
|
["switch_to_signin", this.handleSwitchToSignin.bind(this)],
|
|
17931
17935
|
["switch_to_signup", this.handleSwitchToSignup.bind(this)]
|
|
17932
17936
|
]));
|
|
17933
|
-
const s =
|
|
17937
|
+
const s = Ot.getConfig();
|
|
17934
17938
|
if (!s.domain)
|
|
17935
17939
|
throw new bt("CONFIG_ERROR", "Domain is required");
|
|
17936
17940
|
if (!s.appId)
|
|
17937
17941
|
throw new bt("CONFIG_ERROR", "App ID is required");
|
|
17938
|
-
this.flowId = e, this.location = o, this.flowStateManager = r || new bu(), this.flowEventBus = n || new yu(), this.navigationTypeDetector = i || new
|
|
17942
|
+
this.flowId = e, this.location = o, this.flowStateManager = r || new bu(), this.flowEventBus = n || new yu(), this.navigationTypeDetector = i || new T1(), he.Instance.cleanExpiredSession(), he.Instance.scheduleTokenRefresh();
|
|
17939
17943
|
}
|
|
17940
17944
|
static async init(e, n, o, r, i) {
|
|
17941
17945
|
const s = new _u(
|
|
@@ -18050,7 +18054,7 @@ var bu = class {
|
|
|
18050
18054
|
expires_at: Date.now() + e.expires_in * 1e3
|
|
18051
18055
|
};
|
|
18052
18056
|
he.Instance.setCurrentSession(n), he.Instance.scheduleTokenRefresh(), this.flowStateManager.clearFlowState();
|
|
18053
|
-
const { onAuthenticated: o } =
|
|
18057
|
+
const { onAuthenticated: o } = Ot.getConfig();
|
|
18054
18058
|
if (o) {
|
|
18055
18059
|
o(n);
|
|
18056
18060
|
return;
|
|
@@ -18064,7 +18068,7 @@ var bu = class {
|
|
|
18064
18068
|
* Initialize or resume the flow.
|
|
18065
18069
|
*/
|
|
18066
18070
|
async initializeFlowInternal() {
|
|
18067
|
-
const e =
|
|
18071
|
+
const e = Ot.getConfig(), n = hs.detect(e, this.location);
|
|
18068
18072
|
this.validateFlowType(n);
|
|
18069
18073
|
const o = this.flowStateManager.getFlowState();
|
|
18070
18074
|
return this.shouldResumeFlow(o, n) ? await this.resumeExistingFlow(o, n) : await this.startNewFlow(n);
|
|
@@ -18131,7 +18135,7 @@ var bu = class {
|
|
|
18131
18135
|
* Start a new flow.
|
|
18132
18136
|
*/
|
|
18133
18137
|
async startNewFlow(e) {
|
|
18134
|
-
const n =
|
|
18138
|
+
const n = Ot.getConfig(), o = new URLSearchParams(this.location.search), r = {};
|
|
18135
18139
|
o.forEach((d, g) => {
|
|
18136
18140
|
r[g] = d;
|
|
18137
18141
|
}), console.log("metadata", r);
|
|
@@ -18183,14 +18187,14 @@ var bu = class {
|
|
|
18183
18187
|
* Handle switch to signin event.
|
|
18184
18188
|
*/
|
|
18185
18189
|
async handleSwitchToSignin() {
|
|
18186
|
-
const e =
|
|
18190
|
+
const e = Ot.getConfig();
|
|
18187
18191
|
return this.redirect({ url: this.withCurrentQuery(e.signinUrl), redirect_delay: 0 }), { state: "End" };
|
|
18188
18192
|
}
|
|
18189
18193
|
/**
|
|
18190
18194
|
* Handle switch to signup event.
|
|
18191
18195
|
*/
|
|
18192
18196
|
async handleSwitchToSignup() {
|
|
18193
|
-
const e =
|
|
18197
|
+
const e = Ot.getConfig();
|
|
18194
18198
|
return this.redirect({ url: this.withCurrentQuery(e.signupUrl), redirect_delay: 0 }), { state: "End" };
|
|
18195
18199
|
}
|
|
18196
18200
|
/**
|
|
@@ -18244,7 +18248,7 @@ var bu = class {
|
|
|
18244
18248
|
cleanup() {
|
|
18245
18249
|
this.redirectTimeoutId && (clearTimeout(this.redirectTimeoutId), this.redirectTimeoutId = null), this.flowEventBus.clear();
|
|
18246
18250
|
}
|
|
18247
|
-
},
|
|
18251
|
+
}, D1 = class {
|
|
18248
18252
|
constructor(t) {
|
|
18249
18253
|
N(this, "delayMs");
|
|
18250
18254
|
N(this, "timerId", null);
|
|
@@ -18271,7 +18275,7 @@ var bu = class {
|
|
|
18271
18275
|
isPending() {
|
|
18272
18276
|
return this.timerId !== null;
|
|
18273
18277
|
}
|
|
18274
|
-
},
|
|
18278
|
+
}, L1 = class {
|
|
18275
18279
|
pushState(t, e, n) {
|
|
18276
18280
|
history.pushState(t, e, n);
|
|
18277
18281
|
}
|
|
@@ -18281,7 +18285,7 @@ var bu = class {
|
|
|
18281
18285
|
get state() {
|
|
18282
18286
|
return history.state;
|
|
18283
18287
|
}
|
|
18284
|
-
},
|
|
18288
|
+
}, k1 = class {
|
|
18285
18289
|
constructor(t, e, n = !1, o = window.location, r, i) {
|
|
18286
18290
|
N(this, "popstateListener", null);
|
|
18287
18291
|
N(this, "pageshowListener", null);
|
|
@@ -18293,7 +18297,7 @@ var bu = class {
|
|
|
18293
18297
|
N(this, "flowStateManager");
|
|
18294
18298
|
N(this, "historyAdapter");
|
|
18295
18299
|
N(this, "location");
|
|
18296
|
-
this.onFlowRestartNeeded = e, this.skipHistoryTracking = n, this.debouncer = new
|
|
18300
|
+
this.onFlowRestartNeeded = e, this.skipHistoryTracking = n, this.debouncer = new D1(200), this.location = o, this.flowStateManager = r || new bu(), this.historyAdapter = i || new L1(), this.subscribeToFlowEvents(t), this.initializeListener();
|
|
18297
18301
|
}
|
|
18298
18302
|
/**
|
|
18299
18303
|
* Subscribe to flow events from the event bus.
|
|
@@ -18325,7 +18329,7 @@ var bu = class {
|
|
|
18325
18329
|
}
|
|
18326
18330
|
console.log("[NavigationManager] Starting popstate processing"), this.isProcessing = !0, this.isHandlingNavigationEvent = !0;
|
|
18327
18331
|
try {
|
|
18328
|
-
const e = t.state, n = this.flowStateManager.getFlowState(), o =
|
|
18332
|
+
const e = t.state, n = this.flowStateManager.getFlowState(), o = Ot.getConfig(), r = hs.detect(o, this.location);
|
|
18329
18333
|
if (e && this.restoreHistoryStateToSession(e), this.shouldRestartFlow(e, n, r)) {
|
|
18330
18334
|
await this.triggerFlowRestart();
|
|
18331
18335
|
return;
|
|
@@ -18347,7 +18351,7 @@ var bu = class {
|
|
|
18347
18351
|
}
|
|
18348
18352
|
console.log("[NavigationManager] Starting bfcache restoration processing"), this.isProcessing = !0, this.isHandlingNavigationEvent = !0;
|
|
18349
18353
|
try {
|
|
18350
|
-
const t = this.historyAdapter.state, e = this.flowStateManager.getFlowState(), n =
|
|
18354
|
+
const t = this.historyAdapter.state, e = this.flowStateManager.getFlowState(), n = Ot.getConfig(), o = hs.detect(n, this.location);
|
|
18351
18355
|
if (t && this.restoreHistoryStateToSession(t), this.shouldRestartFlow(t, e, o)) {
|
|
18352
18356
|
await this.triggerFlowRestart();
|
|
18353
18357
|
return;
|
|
@@ -18429,7 +18433,7 @@ var bu = class {
|
|
|
18429
18433
|
destroy() {
|
|
18430
18434
|
this.debouncer.cancel(), this.popstateListener && (window.removeEventListener("popstate", this.popstateListener), this.popstateListener = null), this.pageshowListener && (window.removeEventListener("pageshow", this.pageshowListener), this.pageshowListener = null), this.onFlowRestartNeeded = null;
|
|
18431
18435
|
}
|
|
18432
|
-
}, nn = new AbortController(),
|
|
18436
|
+
}, nn = new AbortController(), M1 = class {
|
|
18433
18437
|
constructor() {
|
|
18434
18438
|
N(this, "httpClient", ps.Instance);
|
|
18435
18439
|
N(this, "capabilities", {
|
|
@@ -18723,7 +18727,7 @@ var bu = class {
|
|
|
18723
18727
|
});
|
|
18724
18728
|
if (t.name === "SecurityError") {
|
|
18725
18729
|
const o = window.location.hostname;
|
|
18726
|
-
if (
|
|
18730
|
+
if (N1(o)) {
|
|
18727
18731
|
if (n.rpId !== o)
|
|
18728
18732
|
return new on({
|
|
18729
18733
|
message: `The RP ID "${n.rpId}" is invalid for this domain`,
|
|
@@ -18800,13 +18804,13 @@ var on = class extends Error {
|
|
|
18800
18804
|
this.name = r ?? o.name, this.code = n;
|
|
18801
18805
|
}
|
|
18802
18806
|
};
|
|
18803
|
-
function
|
|
18807
|
+
function N1(t) {
|
|
18804
18808
|
return (
|
|
18805
18809
|
// Consider localhost valid as well since it's okay wrt Secure Contexts
|
|
18806
18810
|
t === "localhost" || /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(t)
|
|
18807
18811
|
);
|
|
18808
18812
|
}
|
|
18809
|
-
var We,
|
|
18813
|
+
var We, j1 = (We = class {
|
|
18810
18814
|
constructor() {
|
|
18811
18815
|
N(this, "configured", !1);
|
|
18812
18816
|
/**
|
|
@@ -18850,7 +18854,7 @@ var We, D1 = (We = class {
|
|
|
18850
18854
|
async startLoginflowInternal(e, n = !1) {
|
|
18851
18855
|
this.ensureConfigured(), this.webauthnService && (console.log(
|
|
18852
18856
|
"[AuthService] Cleaning up and aborting ongoing webauthn flows"
|
|
18853
|
-
), this.webauthnService.destroy(), this.webauthnService = null), this.loginflow && (console.log("[AuthService] Cleaning up old loginflow instance"), this.loginflow.cleanup(), this.loginflow = null), this.navigationManager && (console.log("[AuthService] Cleaning up old navigation manager instance"), this.navigationManager.destroy(), this.navigationManager = null), this.webauthnService = new
|
|
18857
|
+
), this.webauthnService.destroy(), this.webauthnService = null), this.loginflow && (console.log("[AuthService] Cleaning up old loginflow instance"), this.loginflow.cleanup(), this.loginflow = null), this.navigationManager && (console.log("[AuthService] Cleaning up old navigation manager instance"), this.navigationManager.destroy(), this.navigationManager = null), this.webauthnService = new M1(), this.webauthnService.detectCapabilities(), this.flowEventBus = new yu(), this.navigationManager = new k1(
|
|
18854
18858
|
this.flowEventBus,
|
|
18855
18859
|
async () => {
|
|
18856
18860
|
console.log(
|
|
@@ -18859,7 +18863,7 @@ var We, D1 = (We = class {
|
|
|
18859
18863
|
},
|
|
18860
18864
|
n
|
|
18861
18865
|
);
|
|
18862
|
-
const o = await
|
|
18866
|
+
const o = await A1.init(e, this.flowEventBus), r = Ot.getConfig();
|
|
18863
18867
|
this.startPasskeyAuthentication(o.flowType, !0), this.loginflow = o.sdk;
|
|
18864
18868
|
const i = {
|
|
18865
18869
|
flowType: o.flowType,
|
|
@@ -18883,7 +18887,7 @@ var We, D1 = (We = class {
|
|
|
18883
18887
|
"CONFIG_ERROR",
|
|
18884
18888
|
"domain and appId are required"
|
|
18885
18889
|
);
|
|
18886
|
-
|
|
18890
|
+
Ot.setConfig(e), this.configured = !0, this.configuredResolve();
|
|
18887
18891
|
}
|
|
18888
18892
|
/**
|
|
18889
18893
|
* Resolves once configure() has been called, immediately if it already has.
|
|
@@ -18929,7 +18933,7 @@ var We, D1 = (We = class {
|
|
|
18929
18933
|
async processLoginflowEvent(e) {
|
|
18930
18934
|
var i, s;
|
|
18931
18935
|
this.ensureConfigured(), this.ensureLoginflowInitialized();
|
|
18932
|
-
const n =
|
|
18936
|
+
const n = Ot.getConfig(), o = hs.detect(n, location);
|
|
18933
18937
|
if (e.event === "signin_with_passkey" && !((i = e.data) != null && i.credential_request)) {
|
|
18934
18938
|
const c = await this.getPasskeyCredential(o, !1);
|
|
18935
18939
|
if (!c || !c.cred)
|
|
@@ -19095,8 +19099,8 @@ var We, D1 = (We = class {
|
|
|
19095
19099
|
async signOut(e) {
|
|
19096
19100
|
var r, i;
|
|
19097
19101
|
this.ensureConfigured();
|
|
19098
|
-
const n = (r = he.Instance.peekSession()) == null ? void 0 : r.id_token, o = ((i =
|
|
19099
|
-
if (cl(), he.Instance.clearSession(), he.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), !
|
|
19102
|
+
const n = (r = he.Instance.peekSession()) == null ? void 0 : r.id_token, o = ((i = Ot.getConfig()) == null ? void 0 : i.appId) ?? "";
|
|
19103
|
+
if (cl(), he.Instance.clearSession(), he.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), !Ot.apiIsSameOrigin()) {
|
|
19100
19104
|
window.location.assign(this.endSessionUrl(n, o, e == null ? void 0 : e.returnTo));
|
|
19101
19105
|
return;
|
|
19102
19106
|
}
|
|
@@ -19112,7 +19116,7 @@ var We, D1 = (We = class {
|
|
|
19112
19116
|
*/
|
|
19113
19117
|
async endServerSession(e, n) {
|
|
19114
19118
|
try {
|
|
19115
|
-
await fetch(`${
|
|
19119
|
+
await fetch(`${Ot.getApiBaseUrl()}/oauth2/end_session`, {
|
|
19116
19120
|
method: "POST",
|
|
19117
19121
|
credentials: "include",
|
|
19118
19122
|
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
|
@@ -19139,12 +19143,12 @@ var We, D1 = (We = class {
|
|
|
19139
19143
|
post_logout_redirect_uri: o ?? `${window.location.origin}${window.location.pathname}`,
|
|
19140
19144
|
client_id: n
|
|
19141
19145
|
});
|
|
19142
|
-
return e && r.set("id_token_hint", e), `${
|
|
19146
|
+
return e && r.set("id_token_hint", e), `${Ot.getApiBaseUrl()}/oauth2/end_session?${r.toString()}`;
|
|
19143
19147
|
}
|
|
19144
|
-
}, N(We, "instance"), We), _t =
|
|
19148
|
+
}, N(We, "instance"), We), _t = j1.Instance, U1 = Object.defineProperty, q1 = (t, e, n, o) => {
|
|
19145
19149
|
for (var r = void 0, i = t.length - 1, s; i >= 0; i--)
|
|
19146
19150
|
(s = t[i]) && (r = s(e, n, r) || r);
|
|
19147
|
-
return r &&
|
|
19151
|
+
return r && U1(e, n, r), r;
|
|
19148
19152
|
};
|
|
19149
19153
|
class _e extends f {
|
|
19150
19154
|
constructor() {
|
|
@@ -19252,11 +19256,11 @@ class _e extends f {
|
|
|
19252
19256
|
), o.forEach((r) => e.appendChild(r));
|
|
19253
19257
|
}
|
|
19254
19258
|
}
|
|
19255
|
-
|
|
19259
|
+
q1([
|
|
19256
19260
|
a({ type: Boolean })
|
|
19257
19261
|
], _e.prototype, "shadow");
|
|
19258
19262
|
const In = "pont:auth", $o = { showWatermark: !0 }, fi = "pont:branding";
|
|
19259
|
-
class
|
|
19263
|
+
class B1 {
|
|
19260
19264
|
constructor(e) {
|
|
19261
19265
|
this.consumer = new Wi(e, {
|
|
19262
19266
|
context: fi,
|
|
@@ -19283,10 +19287,10 @@ class vi {
|
|
|
19283
19287
|
}
|
|
19284
19288
|
}
|
|
19285
19289
|
const $u = "pont:env", sc = Symbol("renderSpecContext"), bi = "pont-user-context", ac = "";
|
|
19286
|
-
var
|
|
19287
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19290
|
+
var F1 = Object.defineProperty, z1 = Object.getOwnPropertyDescriptor, yi = (t, e, n, o) => {
|
|
19291
|
+
for (var r = o > 1 ? void 0 : o ? z1(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
19288
19292
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
19289
|
-
return o && r &&
|
|
19293
|
+
return o && r && F1(e, n, r), r;
|
|
19290
19294
|
};
|
|
19291
19295
|
let ue = class extends f {
|
|
19292
19296
|
constructor() {
|
|
@@ -19355,18 +19359,14 @@ ue = yi([
|
|
|
19355
19359
|
p("pont-layout")
|
|
19356
19360
|
], ue);
|
|
19357
19361
|
let pl = null;
|
|
19358
|
-
function
|
|
19362
|
+
function V1(t) {
|
|
19359
19363
|
pl = t;
|
|
19360
19364
|
}
|
|
19361
|
-
function
|
|
19365
|
+
function H1() {
|
|
19362
19366
|
return pl || console.warn(
|
|
19363
19367
|
"SDK environment not initialized. Call initSdk({...}) before using <pont-provider>."
|
|
19364
19368
|
), pl;
|
|
19365
19369
|
}
|
|
19366
|
-
const B1 = "pont-account-settings-dashboard-width", F1 = "pont-account-settings-modal-width", z1 = "pont-account-settings-dashboard", V1 = "pont-account-settings-page-reset-margin", H1 = "pont-account-settings-modal-root", Dt = "sb", $p = {
|
|
19367
|
-
xs: 640,
|
|
19368
|
-
sm: 768
|
|
19369
|
-
};
|
|
19370
19370
|
function ge(...t) {
|
|
19371
19371
|
return fh(Ol(t));
|
|
19372
19372
|
}
|
|
@@ -19571,7 +19571,7 @@ let Sr = class extends f {
|
|
|
19571
19571
|
updateLocaleAndAuth() {
|
|
19572
19572
|
if (!this.env) return;
|
|
19573
19573
|
const t = this.locales || this.env.locales || "";
|
|
19574
|
-
this.effectiveLocales !== t && (this.effectiveLocales = t, this.dispatchLocaleChangedEvent(t)), this.configureAuth(this.env),
|
|
19574
|
+
this.effectiveLocales !== t && (this.effectiveLocales = t, this.dispatchLocaleChangedEvent(t)), this.configureAuth(this.env), V1(this.env), this.restoreThenRefreshAuthState(), this.loadBrandingCss(this.getBrandingCssUrl());
|
|
19575
19575
|
}
|
|
19576
19576
|
updated(t) {
|
|
19577
19577
|
var e;
|
|
@@ -19768,7 +19768,7 @@ let ml = class extends f {
|
|
|
19768
19768
|
}
|
|
19769
19769
|
};
|
|
19770
19770
|
Su([
|
|
19771
|
-
|
|
19771
|
+
At({ context: In, subscribe: !0 }),
|
|
19772
19772
|
a({ attribute: !1 })
|
|
19773
19773
|
], ml.prototype, "auth", 2);
|
|
19774
19774
|
ml = Su([
|
|
@@ -19804,7 +19804,7 @@ let fl = class extends f {
|
|
|
19804
19804
|
}
|
|
19805
19805
|
};
|
|
19806
19806
|
xu([
|
|
19807
|
-
|
|
19807
|
+
At({ context: In, subscribe: !0 }),
|
|
19808
19808
|
a({ attribute: !1 })
|
|
19809
19809
|
], fl.prototype, "auth", 2);
|
|
19810
19810
|
fl = xu([
|
|
@@ -19839,11 +19839,11 @@ Ss([
|
|
|
19839
19839
|
a({ type: String })
|
|
19840
19840
|
], Zo.prototype, "redirectUrl", 2);
|
|
19841
19841
|
Ss([
|
|
19842
|
-
|
|
19842
|
+
At({ context: $u }),
|
|
19843
19843
|
a({ attribute: !1 })
|
|
19844
19844
|
], Zo.prototype, "env", 2);
|
|
19845
19845
|
Ss([
|
|
19846
|
-
|
|
19846
|
+
At({ context: In, subscribe: !0 }),
|
|
19847
19847
|
a({ attribute: !1 })
|
|
19848
19848
|
], Zo.prototype, "auth", 2);
|
|
19849
19849
|
Zo = Ss([
|
|
@@ -19883,13 +19883,13 @@ let vl = class extends f {
|
|
|
19883
19883
|
}
|
|
19884
19884
|
};
|
|
19885
19885
|
Ou([
|
|
19886
|
-
|
|
19886
|
+
At({ context: In, subscribe: !0 }),
|
|
19887
19887
|
a({ attribute: !1 })
|
|
19888
19888
|
], vl.prototype, "auth", 2);
|
|
19889
19889
|
vl = Ou([
|
|
19890
19890
|
p("pont-auth-state")
|
|
19891
19891
|
], vl);
|
|
19892
|
-
var Ve = /* @__PURE__ */ ((t) => (t.PROFILE = "Profile", t.SECURITY = "Security", t.APPEARANCE = "Appearance", t.NOTIFICATION = "Notification", t))(Ve || {}), 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 || {}),
|
|
19892
|
+
var Ve = /* @__PURE__ */ ((t) => (t.PROFILE = "Profile", t.SECURITY = "Security", t.APPEARANCE = "Appearance", t.NOTIFICATION = "Notification", t))(Ve || {}), 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 || {}), Ct = /* @__PURE__ */ ((t) => (t.COLUMN = "COLUMN", t.ROW = "ROW", t))(Ct || {});
|
|
19893
19893
|
function xs() {
|
|
19894
19894
|
return Q`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
19895
19895
|
<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"/>
|
|
@@ -20061,131 +20061,114 @@ class _0 extends Error {
|
|
|
20061
20061
|
super(e), this.name = "ApiError", this.status = n, this.data = o;
|
|
20062
20062
|
}
|
|
20063
20063
|
}
|
|
20064
|
+
const w0 = "/mgmt/v1";
|
|
20064
20065
|
async function ir(t, e = {}) {
|
|
20065
|
-
var y;
|
|
20066
|
-
const { token: n, headers: o, ...r } = e, i =
|
|
20066
|
+
var v, y;
|
|
20067
|
+
const { token: n, headers: o, ...r } = e, i = H1(), s = ((v = i == null ? void 0 : i.apiBaseUrl) == null ? void 0 : v.replace(/\/+$/, "")) ?? "", c = {
|
|
20067
20068
|
"Content-Type": "application/json",
|
|
20068
20069
|
...i == null ? void 0 : i.headers,
|
|
20069
20070
|
...n ? { Authorization: `Bearer ${n}` } : {}
|
|
20070
20071
|
};
|
|
20071
20072
|
o && (o instanceof Headers ? o.forEach((w, _) => {
|
|
20072
|
-
|
|
20073
|
+
c[_] = w;
|
|
20073
20074
|
}) : Array.isArray(o) ? o.forEach(([w, _]) => {
|
|
20074
|
-
|
|
20075
|
-
}) : Object.assign(
|
|
20076
|
-
|
|
20077
|
-
"x-pontive-project-id"
|
|
20078
|
-
) || (d["x-pontive-project-id"] = c);
|
|
20079
|
-
const g = await fetch(`${s}${t}`, {
|
|
20075
|
+
c[w] = _;
|
|
20076
|
+
}) : Object.assign(c, o));
|
|
20077
|
+
const d = await fetch(`${s}${w0}${t}`, {
|
|
20080
20078
|
...r,
|
|
20081
|
-
headers:
|
|
20079
|
+
headers: c
|
|
20082
20080
|
});
|
|
20083
|
-
let
|
|
20081
|
+
let g = null;
|
|
20084
20082
|
try {
|
|
20085
|
-
|
|
20083
|
+
g = await d.json();
|
|
20086
20084
|
} catch {
|
|
20087
20085
|
}
|
|
20088
|
-
if (!
|
|
20086
|
+
if (!d.ok) {
|
|
20087
|
+
const w = (y = g == null ? void 0 : g.error) == null ? void 0 : y.message;
|
|
20089
20088
|
throw new _0(
|
|
20090
|
-
|
|
20091
|
-
|
|
20092
|
-
|
|
20089
|
+
w || d.statusText || "Something went wrong",
|
|
20090
|
+
d.status,
|
|
20091
|
+
g
|
|
20093
20092
|
);
|
|
20094
|
-
|
|
20093
|
+
}
|
|
20094
|
+
return g;
|
|
20095
20095
|
}
|
|
20096
|
-
async function
|
|
20097
|
-
return ir(
|
|
20096
|
+
async function $0() {
|
|
20097
|
+
return ir("/me", {
|
|
20098
20098
|
method: "GET",
|
|
20099
|
-
token: or()
|
|
20100
|
-
headers: {
|
|
20101
|
-
//TO DO: THIS SHOULD BE TEMPORARILY
|
|
20102
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8"
|
|
20103
|
-
}
|
|
20104
|
-
// token,
|
|
20099
|
+
token: or()
|
|
20105
20100
|
});
|
|
20106
20101
|
}
|
|
20107
|
-
async function Is(t
|
|
20108
|
-
return ir(
|
|
20102
|
+
async function Is(t) {
|
|
20103
|
+
return ir("/me", {
|
|
20109
20104
|
method: "PATCH",
|
|
20110
|
-
body: JSON.stringify(
|
|
20111
|
-
token: or()
|
|
20112
|
-
headers: {
|
|
20113
|
-
//TO DO: THIS SHOULD BE TEMPORARILY
|
|
20114
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8"
|
|
20115
|
-
}
|
|
20105
|
+
body: JSON.stringify(t),
|
|
20106
|
+
token: or()
|
|
20116
20107
|
});
|
|
20117
20108
|
}
|
|
20118
|
-
async function
|
|
20109
|
+
async function C0(t, e) {
|
|
20119
20110
|
var i, s;
|
|
20120
20111
|
const n = new URLSearchParams();
|
|
20121
20112
|
e && (e.search && n.append("search", e.search), e.page !== void 0 && n.append("page", e.page.toString()), e.limit !== void 0 && n.append("limit", e.limit.toString()), e.order && n.append("order", e.order), (i = e.user_ids) != null && i.length && e.user_ids.forEach((c) => n.append("user_ids", c)), (s = e.emails) != null && s.length && e.emails.forEach((c) => n.append("emails", c)), e.roles && n.append("roles", e.roles));
|
|
20122
20113
|
const o = n.toString(), r = `/organizations/${encodeURIComponent(t)}/members${o ? `?${o}` : ""}`;
|
|
20123
20114
|
return ir(r, {
|
|
20124
20115
|
method: "GET",
|
|
20125
|
-
token: or()
|
|
20126
|
-
headers: {
|
|
20127
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8"
|
|
20128
|
-
}
|
|
20116
|
+
token: or()
|
|
20129
20117
|
});
|
|
20130
20118
|
}
|
|
20131
|
-
async function
|
|
20119
|
+
async function E0(t, e, n) {
|
|
20132
20120
|
const o = `/organizations/${encodeURIComponent(t)}/members/${encodeURIComponent(e)}/roles`;
|
|
20133
20121
|
await ir(o, {
|
|
20134
20122
|
method: "PUT",
|
|
20135
20123
|
token: or(),
|
|
20136
20124
|
headers: {
|
|
20137
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8",
|
|
20138
20125
|
"Content-Type": "application/json"
|
|
20139
20126
|
},
|
|
20140
20127
|
body: JSON.stringify(n)
|
|
20141
20128
|
});
|
|
20142
20129
|
}
|
|
20143
|
-
async function
|
|
20130
|
+
async function S0(t, e) {
|
|
20144
20131
|
const n = `/organizations/${encodeURIComponent(t)}/members/${encodeURIComponent(e)}`;
|
|
20145
20132
|
await ir(n, {
|
|
20146
20133
|
method: "DELETE",
|
|
20147
20134
|
token: or(),
|
|
20148
20135
|
headers: {
|
|
20149
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8",
|
|
20150
20136
|
"Content-Type": "application/json"
|
|
20151
20137
|
}
|
|
20152
20138
|
});
|
|
20153
20139
|
}
|
|
20154
|
-
async function
|
|
20140
|
+
async function x0(t, e) {
|
|
20155
20141
|
const n = `/organizations/${encodeURIComponent(t)}/invitations`;
|
|
20156
20142
|
return ir(n, {
|
|
20157
20143
|
method: "POST",
|
|
20158
20144
|
token: or(),
|
|
20159
20145
|
headers: {
|
|
20160
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8",
|
|
20161
20146
|
"Content-Type": "application/json"
|
|
20162
20147
|
},
|
|
20163
20148
|
body: JSON.stringify(e)
|
|
20164
20149
|
});
|
|
20165
20150
|
}
|
|
20166
|
-
async function
|
|
20151
|
+
async function O0(t, e) {
|
|
20167
20152
|
const n = `/organizations/${encodeURIComponent(t)}/invitations/${encodeURIComponent(e)}/resend`;
|
|
20168
20153
|
return ir(n, {
|
|
20169
20154
|
method: "POST",
|
|
20170
20155
|
token: or(),
|
|
20171
20156
|
headers: {
|
|
20172
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8",
|
|
20173
20157
|
"Content-Type": "application/json"
|
|
20174
20158
|
}
|
|
20175
20159
|
});
|
|
20176
20160
|
}
|
|
20177
|
-
async function
|
|
20161
|
+
async function P0(t, e) {
|
|
20178
20162
|
const n = `/organizations/${encodeURIComponent(t)}/invitations/${encodeURIComponent(e)}/cancel`;
|
|
20179
20163
|
return ir(n, {
|
|
20180
20164
|
method: "POST",
|
|
20181
20165
|
token: or(),
|
|
20182
20166
|
headers: {
|
|
20183
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8",
|
|
20184
20167
|
"Content-Type": "application/json"
|
|
20185
20168
|
}
|
|
20186
20169
|
});
|
|
20187
20170
|
}
|
|
20188
|
-
async function
|
|
20171
|
+
async function R0(t, e) {
|
|
20189
20172
|
var i;
|
|
20190
20173
|
const n = new URLSearchParams();
|
|
20191
20174
|
e && (e.search && n.append("search", e.search), e.status && n.append("status", e.status), e.expired !== void 0 && n.append("expired", e.expired.toString()), e.invited_by && n.append("invited_by", e.invited_by), e.page !== void 0 && n.append("page", e.page.toString()), e.limit !== void 0 && n.append("limit", e.limit.toString()), e.order && n.append("order", e.order), (i = e.invitee_emails) != null && i.length && e.invitee_emails.forEach(
|
|
@@ -20194,10 +20177,7 @@ async function P0(t, e) {
|
|
|
20194
20177
|
const o = n.toString(), r = `/organizations/${encodeURIComponent(t)}/invitations${o ? `?${o}` : ""}`;
|
|
20195
20178
|
return ir(r, {
|
|
20196
20179
|
method: "GET",
|
|
20197
|
-
token: or()
|
|
20198
|
-
headers: {
|
|
20199
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8"
|
|
20200
|
-
}
|
|
20180
|
+
token: or()
|
|
20201
20181
|
});
|
|
20202
20182
|
}
|
|
20203
20183
|
async function cc(t) {
|
|
@@ -20209,20 +20189,17 @@ async function cc(t) {
|
|
|
20209
20189
|
const n = e.toString(), o = `/roles${n ? `?${n}` : ""}`;
|
|
20210
20190
|
return ir(o, {
|
|
20211
20191
|
method: "GET",
|
|
20212
|
-
token: or()
|
|
20213
|
-
headers: {
|
|
20214
|
-
"x-pontive-project-id": "proj_06fghx60hnrcxftadsj44e0pj8"
|
|
20215
|
-
}
|
|
20192
|
+
token: or()
|
|
20216
20193
|
});
|
|
20217
20194
|
}
|
|
20218
|
-
var
|
|
20219
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20195
|
+
var I0 = Object.defineProperty, T0 = Object.getOwnPropertyDescriptor, St = (t, e, n, o) => {
|
|
20196
|
+
for (var r = o > 1 ? void 0 : o ? T0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
20220
20197
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
20221
|
-
return o && r &&
|
|
20198
|
+
return o && r && I0(e, n, r), r;
|
|
20222
20199
|
};
|
|
20223
20200
|
let wt = class extends f {
|
|
20224
20201
|
constructor() {
|
|
20225
|
-
super(...arguments), this.showAvatarMenu = !1, this.showIcons = !0, this.content = null, this.otpVariant = "simple", this.otpLength = 6, this.layout =
|
|
20202
|
+
super(...arguments), this.showAvatarMenu = !1, this.showIcons = !0, this.content = null, this.otpVariant = "simple", this.otpLength = 6, this.layout = Ct.ROW, this.isEditingEmail = !1, this.isVerifyingEmail = !1, this.isEditingPhone = !1, this.isVerifyingPhone = !1, this.isUploadingImage = !1, this.isEditingAvatarMobile = !1, this.isMobile = !1, this._isAvatarEditorOpen = !1, this._popoverObserver = null, this._intentionalClose = !1, this.avatarDraft = "", this._committedAvatar = "", this.formData = { avatar: "", email: "", phone: "" }, this._onMobileChange = (t) => {
|
|
20226
20203
|
this.isMobile = t.matches, t.matches || (this.isEditingAvatarMobile = !1);
|
|
20227
20204
|
}, this.handleAvatarInput = (t) => {
|
|
20228
20205
|
this.avatarDraft = t.target.value, this.account = { ...this.account, avatar: this.avatarDraft };
|
|
@@ -20230,7 +20207,7 @@ let wt = class extends f {
|
|
|
20230
20207
|
if (!this.isUploadingImage) {
|
|
20231
20208
|
this.isUploadingImage = !0;
|
|
20232
20209
|
try {
|
|
20233
|
-
const t = await Is(
|
|
20210
|
+
const t = await Is({
|
|
20234
20211
|
picture: this.avatarDraft
|
|
20235
20212
|
});
|
|
20236
20213
|
this.account = { ...this.account, avatar: t.picture ?? "" }, this._committedAvatar = this.account.avatar, this.avatarDraft = this.account.avatar, this._isAvatarEditorOpen = !1, this.isMobile ? this.isEditingAvatarMobile = !1 : (this._intentionalClose = !0, this.querySelector("pont-popover-content").state = "closed");
|
|
@@ -20296,7 +20273,7 @@ let wt = class extends f {
|
|
|
20296
20273
|
}
|
|
20297
20274
|
// ─── Shared rendering helpers ─────────────────────────────────────────────
|
|
20298
20275
|
renderDisplayRow(t, e, n) {
|
|
20299
|
-
const o = this.layout ===
|
|
20276
|
+
const o = this.layout === Ct.COLUMN;
|
|
20300
20277
|
return l`
|
|
20301
20278
|
<div
|
|
20302
20279
|
class=${ge(
|
|
@@ -20315,7 +20292,7 @@ let wt = class extends f {
|
|
|
20315
20292
|
</div>
|
|
20316
20293
|
` : l`
|
|
20317
20294
|
<div
|
|
20318
|
-
class=${this.layout ===
|
|
20295
|
+
class=${this.layout === Ct.ROW ? "pont-flex pont-w-full pont-items-center" : ""}
|
|
20319
20296
|
>
|
|
20320
20297
|
<div
|
|
20321
20298
|
part="label"
|
|
@@ -20605,80 +20582,80 @@ let wt = class extends f {
|
|
|
20605
20582
|
return this;
|
|
20606
20583
|
}
|
|
20607
20584
|
};
|
|
20608
|
-
|
|
20585
|
+
St([
|
|
20609
20586
|
a({ type: Object })
|
|
20610
20587
|
], wt.prototype, "account", 2);
|
|
20611
|
-
|
|
20588
|
+
St([
|
|
20612
20589
|
a({ type: Boolean })
|
|
20613
20590
|
], wt.prototype, "showAvatarMenu", 2);
|
|
20614
|
-
|
|
20591
|
+
St([
|
|
20615
20592
|
a({ attribute: !1 })
|
|
20616
20593
|
], wt.prototype, "toggleAvatarMenu", 2);
|
|
20617
|
-
|
|
20594
|
+
St([
|
|
20618
20595
|
a({ attribute: !1 })
|
|
20619
20596
|
], wt.prototype, "onAvatarChange", 2);
|
|
20620
|
-
|
|
20597
|
+
St([
|
|
20621
20598
|
a({ attribute: !1 })
|
|
20622
20599
|
], wt.prototype, "onAvatarRemove", 2);
|
|
20623
|
-
|
|
20600
|
+
St([
|
|
20624
20601
|
a({ type: Boolean })
|
|
20625
20602
|
], wt.prototype, "showIcons", 2);
|
|
20626
|
-
|
|
20603
|
+
St([
|
|
20627
20604
|
a({ type: Object })
|
|
20628
20605
|
], wt.prototype, "content", 2);
|
|
20629
|
-
|
|
20606
|
+
St([
|
|
20630
20607
|
a({ type: String })
|
|
20631
20608
|
], wt.prototype, "otpVariant", 2);
|
|
20632
|
-
|
|
20609
|
+
St([
|
|
20633
20610
|
a({ type: Number })
|
|
20634
20611
|
], wt.prototype, "otpLength", 2);
|
|
20635
|
-
|
|
20612
|
+
St([
|
|
20636
20613
|
a({ type: String })
|
|
20637
20614
|
], wt.prototype, "layout", 2);
|
|
20638
|
-
|
|
20615
|
+
St([
|
|
20639
20616
|
m()
|
|
20640
20617
|
], wt.prototype, "isEditingEmail", 2);
|
|
20641
|
-
|
|
20618
|
+
St([
|
|
20642
20619
|
m()
|
|
20643
20620
|
], wt.prototype, "isVerifyingEmail", 2);
|
|
20644
|
-
|
|
20621
|
+
St([
|
|
20645
20622
|
m()
|
|
20646
20623
|
], wt.prototype, "isEditingPhone", 2);
|
|
20647
|
-
|
|
20624
|
+
St([
|
|
20648
20625
|
m()
|
|
20649
20626
|
], wt.prototype, "isVerifyingPhone", 2);
|
|
20650
|
-
|
|
20627
|
+
St([
|
|
20651
20628
|
m()
|
|
20652
20629
|
], wt.prototype, "isUploadingImage", 2);
|
|
20653
|
-
|
|
20630
|
+
St([
|
|
20654
20631
|
m()
|
|
20655
20632
|
], wt.prototype, "isEditingAvatarMobile", 2);
|
|
20656
|
-
|
|
20633
|
+
St([
|
|
20657
20634
|
m()
|
|
20658
20635
|
], wt.prototype, "isMobile", 2);
|
|
20659
|
-
|
|
20636
|
+
St([
|
|
20660
20637
|
m()
|
|
20661
20638
|
], wt.prototype, "_isAvatarEditorOpen", 2);
|
|
20662
|
-
|
|
20639
|
+
St([
|
|
20663
20640
|
m()
|
|
20664
20641
|
], wt.prototype, "avatarDraft", 2);
|
|
20665
|
-
|
|
20642
|
+
St([
|
|
20666
20643
|
m()
|
|
20667
20644
|
], wt.prototype, "formData", 2);
|
|
20668
|
-
|
|
20669
|
-
|
|
20645
|
+
St([
|
|
20646
|
+
At({ context: bi, subscribe: !0 })
|
|
20670
20647
|
], wt.prototype, "userContextValue", 2);
|
|
20671
|
-
wt =
|
|
20648
|
+
wt = St([
|
|
20672
20649
|
p("pont-account-info")
|
|
20673
20650
|
], wt);
|
|
20674
|
-
var
|
|
20675
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20651
|
+
var A0 = Object.defineProperty, D0 = Object.getOwnPropertyDescriptor, sr = (t, e, n, o) => {
|
|
20652
|
+
for (var r = o > 1 ? void 0 : o ? D0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
20676
20653
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
20677
|
-
return o && r &&
|
|
20654
|
+
return o && r && A0(e, n, r), r;
|
|
20678
20655
|
};
|
|
20679
20656
|
let Ae = class extends f {
|
|
20680
20657
|
constructor() {
|
|
20681
|
-
super(...arguments), this.showIcons = !0, this.layout =
|
|
20658
|
+
super(...arguments), this.showIcons = !0, this.layout = Ct.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = {
|
|
20682
20659
|
location: "",
|
|
20683
20660
|
zoneInfo: ""
|
|
20684
20661
|
}, this.errors = {}, this.handleSave = async () => {
|
|
@@ -20686,7 +20663,7 @@ let Ae = class extends f {
|
|
|
20686
20663
|
if (!this.isSaving && this.validate()) {
|
|
20687
20664
|
this.isSaving = !0;
|
|
20688
20665
|
try {
|
|
20689
|
-
const r = await Is(
|
|
20666
|
+
const r = await Is({
|
|
20690
20667
|
address: {
|
|
20691
20668
|
...(t = this.userContextValue.user) == null ? void 0 : t.address,
|
|
20692
20669
|
locality: this.formData.location
|
|
@@ -20731,7 +20708,7 @@ let Ae = class extends f {
|
|
|
20731
20708
|
return this.errors = t, Object.keys(t).length === 0;
|
|
20732
20709
|
}
|
|
20733
20710
|
renderField(t, e) {
|
|
20734
|
-
return this.layout ===
|
|
20711
|
+
return this.layout === Ct.ROW ? l`
|
|
20735
20712
|
<div class="pont-flex pont-w-full pont-account-settings-info-card-rows">
|
|
20736
20713
|
<pont-typography-p
|
|
20737
20714
|
><div
|
|
@@ -20846,16 +20823,16 @@ let Ae = class extends f {
|
|
|
20846
20823
|
<pont-card-content>
|
|
20847
20824
|
${this.isEditing ? l`
|
|
20848
20825
|
<div
|
|
20849
|
-
class=${this.layout ===
|
|
20826
|
+
class=${this.layout === Ct.ROW ? "pont-grid pont-account-settings-row-layout pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
20850
20827
|
>
|
|
20851
20828
|
${t.map((o) => this.renderField(o.label, o.key))}
|
|
20852
20829
|
</div>
|
|
20853
20830
|
` : l`
|
|
20854
20831
|
<div
|
|
20855
|
-
class=${this.layout ===
|
|
20832
|
+
class=${this.layout === Ct.ROW ? "pont-grid pont-account-settings-row-layout pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
20856
20833
|
>
|
|
20857
20834
|
<div
|
|
20858
|
-
class=${this.layout ===
|
|
20835
|
+
class=${this.layout === Ct.ROW ? "pont-flex pont-w-full pont-account-settings-info-card-rows" : "pont-account-settings-info-card-rows"}
|
|
20859
20836
|
>
|
|
20860
20837
|
<pont-typography-p
|
|
20861
20838
|
><div
|
|
@@ -20877,7 +20854,7 @@ let Ae = class extends f {
|
|
|
20877
20854
|
</div>
|
|
20878
20855
|
|
|
20879
20856
|
<div
|
|
20880
|
-
class=${this.layout ===
|
|
20857
|
+
class=${this.layout === Ct.ROW ? "pont-flex pont-w-full pont-account-settings-info-card-rows" : "pont-account-settings-info-card-rows"}
|
|
20881
20858
|
>
|
|
20882
20859
|
<pont-typography-p
|
|
20883
20860
|
><div
|
|
@@ -20921,7 +20898,7 @@ sr([
|
|
|
20921
20898
|
a({ type: Object })
|
|
20922
20899
|
], Ae.prototype, "content", 2);
|
|
20923
20900
|
sr([
|
|
20924
|
-
|
|
20901
|
+
At({ context: bi, subscribe: !0 })
|
|
20925
20902
|
], Ae.prototype, "userContextValue", 2);
|
|
20926
20903
|
sr([
|
|
20927
20904
|
m()
|
|
@@ -20938,19 +20915,19 @@ sr([
|
|
|
20938
20915
|
Ae = sr([
|
|
20939
20916
|
p("pont-location-info")
|
|
20940
20917
|
], Ae);
|
|
20941
|
-
var
|
|
20942
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20918
|
+
var L0 = Object.defineProperty, k0 = Object.getOwnPropertyDescriptor, ar = (t, e, n, o) => {
|
|
20919
|
+
for (var r = o > 1 ? void 0 : o ? k0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
20943
20920
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
20944
|
-
return o && r &&
|
|
20921
|
+
return o && r && L0(e, n, r), r;
|
|
20945
20922
|
};
|
|
20946
20923
|
let De = class extends f {
|
|
20947
20924
|
constructor() {
|
|
20948
|
-
super(...arguments), this.showIcons = !0, this.layout =
|
|
20925
|
+
super(...arguments), this.showIcons = !0, this.layout = Ct.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = this.personal, this.errors = {}, this.handleSave = async () => {
|
|
20949
20926
|
var t, e;
|
|
20950
20927
|
if (!this.isSaving && this.validate()) {
|
|
20951
20928
|
this.isSaving = !0;
|
|
20952
20929
|
try {
|
|
20953
|
-
const n = await Is(
|
|
20930
|
+
const n = await Is({
|
|
20954
20931
|
username: this.formData.username,
|
|
20955
20932
|
given_name: this.formData.first,
|
|
20956
20933
|
middle_name: this.formData.middle,
|
|
@@ -21031,7 +21008,7 @@ let De = class extends f {
|
|
|
21031
21008
|
`;
|
|
21032
21009
|
}
|
|
21033
21010
|
renderField(t, e, n = !1) {
|
|
21034
|
-
return this.layout ===
|
|
21011
|
+
return this.layout === Ct.ROW ? l`
|
|
21035
21012
|
<div class="pont-flex pont-w-full pont-account-settings-info-card-rows">
|
|
21036
21013
|
<pont-typography-p>
|
|
21037
21014
|
<div
|
|
@@ -21135,18 +21112,18 @@ let De = class extends f {
|
|
|
21135
21112
|
<pont-card-content>
|
|
21136
21113
|
${this.isEditing ? l`
|
|
21137
21114
|
<div
|
|
21138
|
-
class=${this.layout ===
|
|
21115
|
+
class=${this.layout === Ct.ROW ? "pont-grid pont-account-settings-row-layout pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
21139
21116
|
>
|
|
21140
21117
|
${t.map((o) => this.renderField(o.label, o.key))}
|
|
21141
21118
|
</div>
|
|
21142
21119
|
` : l`
|
|
21143
21120
|
<div
|
|
21144
|
-
class=${this.layout ===
|
|
21121
|
+
class=${this.layout === Ct.ROW ? "pont-grid pont-account-settings-row-layout pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
21145
21122
|
>
|
|
21146
21123
|
${t.map(
|
|
21147
21124
|
(o) => l`
|
|
21148
21125
|
<div
|
|
21149
|
-
class=${this.layout ===
|
|
21126
|
+
class=${this.layout === Ct.ROW ? "pont-flex pont-w-full pont-account-settings-info-card-rows" : "pont-account-settings-info-card-rows"}
|
|
21150
21127
|
>
|
|
21151
21128
|
<pont-typography-p>
|
|
21152
21129
|
<div
|
|
@@ -21192,7 +21169,7 @@ ar([
|
|
|
21192
21169
|
a({ type: Object })
|
|
21193
21170
|
], De.prototype, "content", 2);
|
|
21194
21171
|
ar([
|
|
21195
|
-
|
|
21172
|
+
At({ context: bi, subscribe: !0 })
|
|
21196
21173
|
], De.prototype, "userContextValue", 2);
|
|
21197
21174
|
ar([
|
|
21198
21175
|
m()
|
|
@@ -21209,21 +21186,21 @@ ar([
|
|
|
21209
21186
|
De = ar([
|
|
21210
21187
|
p("pont-personal-info")
|
|
21211
21188
|
], De);
|
|
21212
|
-
var
|
|
21213
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21189
|
+
var M0 = Object.defineProperty, N0 = Object.getOwnPropertyDescriptor, lr = (t, e, n, o) => {
|
|
21190
|
+
for (var r = o > 1 ? void 0 : o ? N0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
21214
21191
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
21215
|
-
return o && r &&
|
|
21192
|
+
return o && r && M0(e, n, r), r;
|
|
21216
21193
|
};
|
|
21217
21194
|
let Le = class extends f {
|
|
21218
21195
|
constructor() {
|
|
21219
|
-
super(...arguments), this.showIcons = !0, this.layout =
|
|
21196
|
+
super(...arguments), this.showIcons = !0, this.layout = Ct.ROW, this.content = null, this.isEditing = !1, this.isSaving = !1, this.formData = {
|
|
21220
21197
|
website: ""
|
|
21221
21198
|
}, this.errors = {}, this.handleSave = async () => {
|
|
21222
21199
|
var t, e;
|
|
21223
21200
|
if (!this.isSaving && this.validate()) {
|
|
21224
21201
|
this.isSaving = !0;
|
|
21225
21202
|
try {
|
|
21226
|
-
const n = await Is(
|
|
21203
|
+
const n = await Is({
|
|
21227
21204
|
website: this.formData.website
|
|
21228
21205
|
});
|
|
21229
21206
|
this.URLsInfo = {
|
|
@@ -21263,7 +21240,7 @@ let Le = class extends f {
|
|
|
21263
21240
|
return this.errors = t, Object.keys(t).length === 0;
|
|
21264
21241
|
}
|
|
21265
21242
|
renderField(t, e, n = !1) {
|
|
21266
|
-
return this.layout ===
|
|
21243
|
+
return this.layout === Ct.ROW ? l`
|
|
21267
21244
|
<div class="pont-flex pont-w-full pont-account-settings-info-card-rows">
|
|
21268
21245
|
<pont-typography-p
|
|
21269
21246
|
><div
|
|
@@ -21379,16 +21356,16 @@ let Le = class extends f {
|
|
|
21379
21356
|
<pont-card-content>
|
|
21380
21357
|
${this.isEditing ? l`
|
|
21381
21358
|
<div
|
|
21382
|
-
class=${this.layout ===
|
|
21359
|
+
class=${this.layout === Ct.ROW ? "pont-grid pont-account-settings-row-layout pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
21383
21360
|
>
|
|
21384
21361
|
${t.map((o) => this.renderField(o.label, o.key))}
|
|
21385
21362
|
</div>
|
|
21386
21363
|
` : l`
|
|
21387
21364
|
<div
|
|
21388
|
-
class=${this.layout ===
|
|
21365
|
+
class=${this.layout === Ct.ROW ? "pont-grid pont-account-settings-row-layout pont-account-settings-form-body" : "pont-account-settings-column-layout pont-account-settings-form-body"}
|
|
21389
21366
|
>
|
|
21390
21367
|
<div
|
|
21391
|
-
class=${this.layout ===
|
|
21368
|
+
class=${this.layout === Ct.ROW ? "pont-flex pont-w-full pont-account-settings-info-card-rows" : "pont-account-settings-info-card-rows"}
|
|
21392
21369
|
>
|
|
21393
21370
|
<pont-typography-p
|
|
21394
21371
|
><div
|
|
@@ -21443,7 +21420,7 @@ lr([
|
|
|
21443
21420
|
a({ type: Object })
|
|
21444
21421
|
], Le.prototype, "content", 2);
|
|
21445
21422
|
lr([
|
|
21446
|
-
|
|
21423
|
+
At({ context: bi, subscribe: !0 })
|
|
21447
21424
|
], Le.prototype, "userContextValue", 2);
|
|
21448
21425
|
lr([
|
|
21449
21426
|
m()
|
|
@@ -21460,14 +21437,14 @@ lr([
|
|
|
21460
21437
|
Le = lr([
|
|
21461
21438
|
p("pont-urls-info")
|
|
21462
21439
|
], Le);
|
|
21463
|
-
var
|
|
21464
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21440
|
+
var j0 = Object.defineProperty, U0 = Object.getOwnPropertyDescriptor, Jt = (t, e, n, o) => {
|
|
21441
|
+
for (var r = o > 1 ? void 0 : o ? U0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
21465
21442
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
21466
|
-
return o && r &&
|
|
21443
|
+
return o && r && j0(e, n, r), r;
|
|
21467
21444
|
};
|
|
21468
21445
|
let Yt = class extends f {
|
|
21469
21446
|
constructor() {
|
|
21470
|
-
super(...arguments), this.showAvatarMenu = !1, this.orientation = cn.HORIZONTAL, this.sidebarDisplayType = yr.REGULAR, this.mode = jr == null ? void 0 : jr.PAGE, this.widgetsLayout =
|
|
21447
|
+
super(...arguments), this.showAvatarMenu = !1, this.orientation = cn.HORIZONTAL, this.sidebarDisplayType = yr.REGULAR, this.mode = jr == null ? void 0 : jr.PAGE, this.widgetsLayout = Ct.ROW, this.content = null;
|
|
21471
21448
|
}
|
|
21472
21449
|
createRenderRoot() {
|
|
21473
21450
|
return this;
|
|
@@ -21553,7 +21530,7 @@ const Si = {
|
|
|
21553
21530
|
vertical: "pont-account-settings-sidebar-vertical",
|
|
21554
21531
|
horizontal: "pont-account-settings-sidebar-horizontal",
|
|
21555
21532
|
horizontalBurger: "pont-account-settings-sidebar-horizontal-burger"
|
|
21556
|
-
},
|
|
21533
|
+
}, q0 = "pont-account-settings-sidebar-burger-button pont-rounded-lg pont-cursor-pointer", B0 = "mobile-sidebar-drawer pont-account-settings-sidebar-mobile-drawer pont-transform pont-transition-all pont-duration-300 pont-ease-in-out", F0 = "mobile-sidebar-overlay pont-account-settings-sidebar-mobile-overlay pont-transition-opacity pont-duration-300 pont-ease-in-out";
|
|
21557
21534
|
/**
|
|
21558
21535
|
* @license
|
|
21559
21536
|
* Copyright 2021 Google LLC
|
|
@@ -21570,10 +21547,10 @@ const Iu = ao(class extends bs {
|
|
|
21570
21547
|
return e !== this.key && (Vg(t), this.key = e), n;
|
|
21571
21548
|
}
|
|
21572
21549
|
});
|
|
21573
|
-
var
|
|
21574
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21550
|
+
var z0 = Object.defineProperty, V0 = Object.getOwnPropertyDescriptor, Tn = (t, e, n, o) => {
|
|
21551
|
+
for (var r = o > 1 ? void 0 : o ? V0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
21575
21552
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
21576
|
-
return o && r &&
|
|
21553
|
+
return o && r && z0(e, n, r), r;
|
|
21577
21554
|
};
|
|
21578
21555
|
let Kr = class extends f {
|
|
21579
21556
|
constructor() {
|
|
@@ -21623,7 +21600,7 @@ let Kr = class extends f {
|
|
|
21623
21600
|
return l`
|
|
21624
21601
|
<div class="pont-flex pont-justify-between pont-w-full">
|
|
21625
21602
|
<div class="pont-flex pont-items-center pont-gap-2">
|
|
21626
|
-
<div class="${
|
|
21603
|
+
<div class="${q0}" @click=${this.toggleMenu}>
|
|
21627
21604
|
${d0()}
|
|
21628
21605
|
</div>
|
|
21629
21606
|
<pont-typography-h part="burger-title-label" level="h3"
|
|
@@ -21653,7 +21630,7 @@ let Kr = class extends f {
|
|
|
21653
21630
|
<div
|
|
21654
21631
|
part="mobile-drawer"
|
|
21655
21632
|
class="${ge(
|
|
21656
|
-
|
|
21633
|
+
B0,
|
|
21657
21634
|
this.isMenuOpen ? "pont-translate-x-0 pont-opacity-100" : "pont-translate-x-[-100%] pont-opacity-0"
|
|
21658
21635
|
)}"
|
|
21659
21636
|
>
|
|
@@ -21678,7 +21655,7 @@ let Kr = class extends f {
|
|
|
21678
21655
|
</div>
|
|
21679
21656
|
</div>
|
|
21680
21657
|
<div
|
|
21681
|
-
class="${
|
|
21658
|
+
class="${F0} ${this.isMenuOpen ? "pont-block pont-opacity-100" : "pont-hidden pont-opacity-0"}"
|
|
21682
21659
|
@click=${this.toggleMenu}
|
|
21683
21660
|
></div>
|
|
21684
21661
|
`;
|
|
@@ -21730,7 +21707,7 @@ Tn([
|
|
|
21730
21707
|
Kr = Tn([
|
|
21731
21708
|
p("pont-profile-sidebar")
|
|
21732
21709
|
], Kr);
|
|
21733
|
-
function
|
|
21710
|
+
function H0() {
|
|
21734
21711
|
document.dispatchEvent(
|
|
21735
21712
|
new CustomEvent("open-user-profile", {
|
|
21736
21713
|
bubbles: !0,
|
|
@@ -21746,7 +21723,7 @@ function Tu() {
|
|
|
21746
21723
|
})
|
|
21747
21724
|
);
|
|
21748
21725
|
}
|
|
21749
|
-
function
|
|
21726
|
+
function G0() {
|
|
21750
21727
|
document.dispatchEvent(
|
|
21751
21728
|
new CustomEvent("open-member-management", {
|
|
21752
21729
|
bubbles: !0,
|
|
@@ -21754,7 +21731,7 @@ function H0() {
|
|
|
21754
21731
|
})
|
|
21755
21732
|
);
|
|
21756
21733
|
}
|
|
21757
|
-
function
|
|
21734
|
+
function K0() {
|
|
21758
21735
|
document.dispatchEvent(
|
|
21759
21736
|
new CustomEvent("close-member-management", {
|
|
21760
21737
|
bubbles: !0,
|
|
@@ -21762,7 +21739,7 @@ function G0() {
|
|
|
21762
21739
|
})
|
|
21763
21740
|
);
|
|
21764
21741
|
}
|
|
21765
|
-
function
|
|
21742
|
+
function W0(t) {
|
|
21766
21743
|
document.dispatchEvent(
|
|
21767
21744
|
new CustomEvent("pont:set-locales", {
|
|
21768
21745
|
detail: { locales: t },
|
|
@@ -21771,15 +21748,15 @@ function K0(t) {
|
|
|
21771
21748
|
})
|
|
21772
21749
|
);
|
|
21773
21750
|
}
|
|
21774
|
-
typeof window < "u" && (window.__pontCoreSdk || (window.__pontCoreSdk = {}), window.__pontCoreSdk.openAccountSettingsModal =
|
|
21775
|
-
var
|
|
21751
|
+
typeof window < "u" && (window.__pontCoreSdk || (window.__pontCoreSdk = {}), window.__pontCoreSdk.openAccountSettingsModal = H0, window.__pontCoreSdk.closeAccountSettingsModal = Tu, window.__pontCoreSdk.openMemberManagementModal = G0, window.__pontCoreSdk.closeMemberManagementModal = K0, window.__pontCoreSdk.setLocales = W0);
|
|
21752
|
+
var Y0 = Object.defineProperty, pe = (t, e, n, o) => {
|
|
21776
21753
|
for (var r = void 0, i = t.length - 1, s; i >= 0; i--)
|
|
21777
21754
|
(s = t[i]) && (r = s(e, n, r) || r);
|
|
21778
|
-
return r &&
|
|
21755
|
+
return r && Y0(e, n, r), r;
|
|
21779
21756
|
};
|
|
21780
21757
|
class re extends f {
|
|
21781
21758
|
constructor() {
|
|
21782
|
-
super(), this.showAvatarMenu = !1, this.orientation = cn.HORIZONTAL, this.mobileDisplay = yr.REGULAR, this.mode = jr.PAGE, this.widgetsLayout =
|
|
21759
|
+
super(), this.showAvatarMenu = !1, this.orientation = cn.HORIZONTAL, this.mobileDisplay = yr.REGULAR, this.mode = jr.PAGE, this.widgetsLayout = Ct.ROW, this.content = null, this.isOpen = !1, this.currentBreakpoint = "md", this.activeTab = Ve.PROFILE, this._userLoaded = !1, this._userLoading = !1, this.userContextValue = {
|
|
21783
21760
|
user: null,
|
|
21784
21761
|
identifier: null
|
|
21785
21762
|
}, this.__initialized = !1, this.account = {
|
|
@@ -21846,9 +21823,9 @@ class re extends f {
|
|
|
21846
21823
|
get containerClasses() {
|
|
21847
21824
|
const e = this.isBurger || this.isVerticalOrientation;
|
|
21848
21825
|
return ge(
|
|
21849
|
-
|
|
21850
|
-
this.isModal ?
|
|
21851
|
-
this.isModal ?
|
|
21826
|
+
f$,
|
|
21827
|
+
this.isModal ? b$ : v$,
|
|
21828
|
+
this.isModal ? m$ : g$,
|
|
21852
21829
|
e ? "!pont-flex-col" : "!pont-flex-row"
|
|
21853
21830
|
);
|
|
21854
21831
|
}
|
|
@@ -21903,9 +21880,7 @@ class re extends f {
|
|
|
21903
21880
|
if (!(!((e = this.auth) != null && e.resolved) || !this.auth.isAuthenticated) && !(this._userLoaded || this._userLoading) && (this.userContextValue.identifier = ((n = _t.getAuthenticatedUser()) == null ? void 0 : n.email) ?? "", !!this.userContextValue.identifier)) {
|
|
21904
21881
|
this._userLoading = !0;
|
|
21905
21882
|
try {
|
|
21906
|
-
this.userContextValue.user = await
|
|
21907
|
-
this.userContextValue.identifier
|
|
21908
|
-
), this.tryRemoveFallback(), this.fillProfileData(this.userContextValue.user), this._userLoaded = !0;
|
|
21883
|
+
this.userContextValue.user = await $0(), this.tryRemoveFallback(), this.fillProfileData(this.userContextValue.user), this._userLoaded = !0;
|
|
21909
21884
|
} catch (o) {
|
|
21910
21885
|
console.error("[pont-account-settings] Failed loading user:", o);
|
|
21911
21886
|
} finally {
|
|
@@ -21921,7 +21896,7 @@ class re extends f {
|
|
|
21921
21896
|
}
|
|
21922
21897
|
_updateBreakpoint() {
|
|
21923
21898
|
const e = window.innerWidth;
|
|
21924
|
-
this.currentBreakpoint = e <
|
|
21899
|
+
this.currentBreakpoint = e < lp.xs ? "xs" : e < lp.sm ? "sm" : "md";
|
|
21925
21900
|
}
|
|
21926
21901
|
// === Render Helpers ===
|
|
21927
21902
|
renderWatermark() {
|
|
@@ -22046,7 +22021,7 @@ pe([
|
|
|
22046
22021
|
m()
|
|
22047
22022
|
], re.prototype, "activeTab");
|
|
22048
22023
|
pe([
|
|
22049
|
-
|
|
22024
|
+
At({ context: In, subscribe: !0 }),
|
|
22050
22025
|
a({ attribute: !1 })
|
|
22051
22026
|
], re.prototype, "auth");
|
|
22052
22027
|
pe([
|
|
@@ -22060,10 +22035,10 @@ pe([
|
|
|
22060
22035
|
m()
|
|
22061
22036
|
], re.prototype, "userContextValue");
|
|
22062
22037
|
customElements.define("pont-account-settings", re);
|
|
22063
|
-
var
|
|
22064
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22038
|
+
var Z0 = Object.defineProperty, J0 = Object.getOwnPropertyDescriptor, Au = (t, e, n, o) => {
|
|
22039
|
+
for (var r = o > 1 ? void 0 : o ? J0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
22065
22040
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
22066
|
-
return o && r &&
|
|
22041
|
+
return o && r && Z0(e, n, r), r;
|
|
22067
22042
|
};
|
|
22068
22043
|
let yl = class extends f {
|
|
22069
22044
|
constructor() {
|
|
@@ -22123,10 +22098,10 @@ Au([
|
|
|
22123
22098
|
yl = Au([
|
|
22124
22099
|
p("pont-security-settings")
|
|
22125
22100
|
], yl);
|
|
22126
|
-
var
|
|
22127
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22101
|
+
var Q0 = Object.defineProperty, X0 = Object.getOwnPropertyDescriptor, Ts = (t, e, n, o) => {
|
|
22102
|
+
for (var r = o > 1 ? void 0 : o ? X0(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
22128
22103
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
22129
|
-
return o && r &&
|
|
22104
|
+
return o && r && Q0(e, n, r), r;
|
|
22130
22105
|
};
|
|
22131
22106
|
let fe = class extends f {
|
|
22132
22107
|
constructor() {
|
|
@@ -22150,7 +22125,7 @@ let fe = class extends f {
|
|
|
22150
22125
|
}
|
|
22151
22126
|
};
|
|
22152
22127
|
fe.ROOT = "divider";
|
|
22153
|
-
fe.TAG = `${
|
|
22128
|
+
fe.TAG = `${$t}-${fe.ROOT}`;
|
|
22154
22129
|
fe.PARTS = { root: fe.ROOT };
|
|
22155
22130
|
Ts([
|
|
22156
22131
|
a({ type: String })
|
|
@@ -22164,10 +22139,10 @@ Ts([
|
|
|
22164
22139
|
fe = Ts([
|
|
22165
22140
|
p("pont-divider")
|
|
22166
22141
|
], fe);
|
|
22167
|
-
var
|
|
22142
|
+
var t2 = Object.defineProperty, dc = (t, e, n, o) => {
|
|
22168
22143
|
for (var r = void 0, i = t.length - 1, s; i >= 0; i--)
|
|
22169
22144
|
(s = t[i]) && (r = s(e, n, r) || r);
|
|
22170
|
-
return r &&
|
|
22145
|
+
return r && t2(e, n, r), r;
|
|
22171
22146
|
};
|
|
22172
22147
|
const bc = class bc extends f {
|
|
22173
22148
|
constructor() {
|
|
@@ -22310,7 +22285,7 @@ dc([
|
|
|
22310
22285
|
a({ type: Boolean })
|
|
22311
22286
|
], oo.prototype, "hideGoTo");
|
|
22312
22287
|
customElements.define("pont-paginator", oo);
|
|
22313
|
-
class
|
|
22288
|
+
class e2 extends f {
|
|
22314
22289
|
createRenderRoot() {
|
|
22315
22290
|
return this;
|
|
22316
22291
|
}
|
|
@@ -22361,11 +22336,11 @@ class t2 extends f {
|
|
|
22361
22336
|
`;
|
|
22362
22337
|
}
|
|
22363
22338
|
}
|
|
22364
|
-
customElements.define("pont-monitoring-cards",
|
|
22365
|
-
var
|
|
22366
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22339
|
+
customElements.define("pont-monitoring-cards", e2);
|
|
22340
|
+
var r2 = Object.defineProperty, n2 = Object.getOwnPropertyDescriptor, we = (t, e, n, o) => {
|
|
22341
|
+
for (var r = o > 1 ? void 0 : o ? n2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
22367
22342
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
22368
|
-
return o && r &&
|
|
22343
|
+
return o && r && r2(e, n, r), r;
|
|
22369
22344
|
};
|
|
22370
22345
|
let le = class extends f {
|
|
22371
22346
|
constructor() {
|
|
@@ -22447,7 +22422,7 @@ let le = class extends f {
|
|
|
22447
22422
|
};
|
|
22448
22423
|
this.isLoading = !0;
|
|
22449
22424
|
try {
|
|
22450
|
-
const o = await
|
|
22425
|
+
const o = await x0(this.organizationId, e);
|
|
22451
22426
|
this.emails = [], this.roles = [], this.expiryDays = "7", this.customMessage = "", this.errors = {}, window.dispatchEvent(
|
|
22452
22427
|
new CustomEvent("invite-members-success", {
|
|
22453
22428
|
detail: { organizationId: this.organizationId, response: o }
|
|
@@ -22641,10 +22616,10 @@ we([
|
|
|
22641
22616
|
le = we([
|
|
22642
22617
|
p("pont-invite-members-form")
|
|
22643
22618
|
], le);
|
|
22644
|
-
var
|
|
22645
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22619
|
+
var o2 = Object.defineProperty, i2 = Object.getOwnPropertyDescriptor, cr = (t, e, n, o) => {
|
|
22620
|
+
for (var r = o > 1 ? void 0 : o ? i2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
22646
22621
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
22647
|
-
return o && r &&
|
|
22622
|
+
return o && r && o2(e, n, r), r;
|
|
22648
22623
|
};
|
|
22649
22624
|
let ke = class extends f {
|
|
22650
22625
|
constructor() {
|
|
@@ -22717,7 +22692,7 @@ let ke = class extends f {
|
|
|
22717
22692
|
};
|
|
22718
22693
|
this.isLoading = !0;
|
|
22719
22694
|
try {
|
|
22720
|
-
const o = await
|
|
22695
|
+
const o = await E0(
|
|
22721
22696
|
this.organizationId,
|
|
22722
22697
|
this.member.user.id,
|
|
22723
22698
|
e
|
|
@@ -22874,10 +22849,10 @@ cr([
|
|
|
22874
22849
|
ke = cr([
|
|
22875
22850
|
p("pont-manage-roles-form")
|
|
22876
22851
|
], ke);
|
|
22877
|
-
var
|
|
22878
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22852
|
+
var s2 = Object.defineProperty, a2 = Object.getOwnPropertyDescriptor, je = (t, e, n, o) => {
|
|
22853
|
+
for (var r = o > 1 ? void 0 : o ? a2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
22879
22854
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
22880
|
-
return o && r &&
|
|
22855
|
+
return o && r && s2(e, n, r), r;
|
|
22881
22856
|
};
|
|
22882
22857
|
let ve = class extends f {
|
|
22883
22858
|
constructor() {
|
|
@@ -22997,10 +22972,10 @@ je([
|
|
|
22997
22972
|
ve = je([
|
|
22998
22973
|
p("pont-members-action-modal")
|
|
22999
22974
|
], ve);
|
|
23000
|
-
var
|
|
23001
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22975
|
+
var l2 = Object.defineProperty, c2 = Object.getOwnPropertyDescriptor, Ue = (t, e, n, o) => {
|
|
22976
|
+
for (var r = o > 1 ? void 0 : o ? c2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
23002
22977
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
23003
|
-
return o && r &&
|
|
22978
|
+
return o && r && l2(e, n, r), r;
|
|
23004
22979
|
};
|
|
23005
22980
|
let be = class extends f {
|
|
23006
22981
|
constructor() {
|
|
@@ -23422,10 +23397,10 @@ Ue([
|
|
|
23422
23397
|
be = Ue([
|
|
23423
23398
|
p("pont-member-management-members-panel")
|
|
23424
23399
|
], be);
|
|
23425
|
-
var
|
|
23426
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23400
|
+
var d2 = Object.defineProperty, p2 = Object.getOwnPropertyDescriptor, $e = (t, e, n, o) => {
|
|
23401
|
+
for (var r = o > 1 ? void 0 : o ? p2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
23427
23402
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
23428
|
-
return o && r &&
|
|
23403
|
+
return o && r && d2(e, n, r), r;
|
|
23429
23404
|
};
|
|
23430
23405
|
let ce = class extends f {
|
|
23431
23406
|
constructor() {
|
|
@@ -23901,7 +23876,7 @@ ce = $e([
|
|
|
23901
23876
|
p("pont-member-management-invitations-panel")
|
|
23902
23877
|
], ce);
|
|
23903
23878
|
var kr = /* @__PURE__ */ ((t) => (t.MEMBERS = "Members", t.INVITATIONS = "Invitations", t))(kr || {});
|
|
23904
|
-
function
|
|
23879
|
+
function h2(t) {
|
|
23905
23880
|
const e = [
|
|
23906
23881
|
{
|
|
23907
23882
|
key: "admin",
|
|
@@ -23974,7 +23949,7 @@ function p2(t) {
|
|
|
23974
23949
|
pagination: { page: 1, limit: 20, total: e.length, total_pages: 1 }
|
|
23975
23950
|
};
|
|
23976
23951
|
}
|
|
23977
|
-
const xi = "2026-08-05T10:00:00Z", Oi = "2026-08-04T10:00:00Z",
|
|
23952
|
+
const xi = "2026-08-05T10:00:00Z", Oi = "2026-08-04T10:00:00Z", u2 = [
|
|
23978
23953
|
// Existing members (unchanged)
|
|
23979
23954
|
{
|
|
23980
23955
|
id: "mem_1",
|
|
@@ -24147,8 +24122,8 @@ const xi = "2026-08-05T10:00:00Z", Oi = "2026-08-04T10:00:00Z", h2 = [
|
|
|
24147
24122
|
}
|
|
24148
24123
|
}
|
|
24149
24124
|
];
|
|
24150
|
-
function
|
|
24151
|
-
let e = [...
|
|
24125
|
+
function g2(t) {
|
|
24126
|
+
let e = [...u2];
|
|
24152
24127
|
if (t != null && t.search) {
|
|
24153
24128
|
const c = t.search.toLowerCase();
|
|
24154
24129
|
e = e.filter(
|
|
@@ -24173,7 +24148,7 @@ function u2(t) {
|
|
|
24173
24148
|
}
|
|
24174
24149
|
};
|
|
24175
24150
|
}
|
|
24176
|
-
const
|
|
24151
|
+
const m2 = [
|
|
24177
24152
|
{
|
|
24178
24153
|
id: "inv_1",
|
|
24179
24154
|
organization_id: "org_123",
|
|
@@ -24246,8 +24221,8 @@ const g2 = [
|
|
|
24246
24221
|
object: "invitation"
|
|
24247
24222
|
}
|
|
24248
24223
|
];
|
|
24249
|
-
function
|
|
24250
|
-
let e = [...
|
|
24224
|
+
function f2(t) {
|
|
24225
|
+
let e = [...m2];
|
|
24251
24226
|
if (t != null && t.search) {
|
|
24252
24227
|
const d = t.search.toLowerCase();
|
|
24253
24228
|
e = e.filter(
|
|
@@ -24274,10 +24249,10 @@ function m2(t) {
|
|
|
24274
24249
|
}
|
|
24275
24250
|
};
|
|
24276
24251
|
}
|
|
24277
|
-
var
|
|
24252
|
+
var v2 = Object.defineProperty, it = (t, e, n, o) => {
|
|
24278
24253
|
for (var r = void 0, i = t.length - 1, s; i >= 0; i--)
|
|
24279
24254
|
(s = t[i]) && (r = s(e, n, r) || r);
|
|
24280
|
-
return r &&
|
|
24255
|
+
return r && v2(e, n, r), r;
|
|
24281
24256
|
};
|
|
24282
24257
|
class nt extends f {
|
|
24283
24258
|
constructor() {
|
|
@@ -24340,7 +24315,7 @@ class nt extends f {
|
|
|
24340
24315
|
this.isLoadingRoles = !0;
|
|
24341
24316
|
let e;
|
|
24342
24317
|
if (this.useMockData)
|
|
24343
|
-
e =
|
|
24318
|
+
e = h2({
|
|
24344
24319
|
resource_id: this.organizationId,
|
|
24345
24320
|
resource_type: "organization"
|
|
24346
24321
|
});
|
|
@@ -24369,7 +24344,7 @@ class nt extends f {
|
|
|
24369
24344
|
const s = r || this.memberFilters;
|
|
24370
24345
|
s.roles && s.roles.length && (i.roles = s.roles.join(","));
|
|
24371
24346
|
let c;
|
|
24372
|
-
this.useMockData ? c =
|
|
24347
|
+
this.useMockData ? c = g2(i) : c = await C0(this.organizationId, i), this.members = c.data, this.membersPage = c.pagination.page, this.membersTotalPages = c.pagination.total_pages, this.membersTotal = c.pagination.total, this.useMockData = !1;
|
|
24373
24348
|
} catch (i) {
|
|
24374
24349
|
console.error("[pont-member-management] Failed loading members:", i);
|
|
24375
24350
|
} finally {
|
|
@@ -24385,7 +24360,7 @@ class nt extends f {
|
|
|
24385
24360
|
let c = "pending";
|
|
24386
24361
|
s.status && s.status.length > 0 && (c = s.status.join(",")), i.status = c, s.roles && s.roles.length && (i.roles = s.roles.join(","));
|
|
24387
24362
|
let d;
|
|
24388
|
-
this.useMockData ? d =
|
|
24363
|
+
this.useMockData ? d = f2(i) : d = await R0(this.organizationId, i), this.invitations = d.data, this.invitationsPage = d.pagination.page, this.invitationsTotalPages = d.pagination.total_pages, this.invitationsTotal = d.pagination.total;
|
|
24389
24364
|
} catch (i) {
|
|
24390
24365
|
console.error(
|
|
24391
24366
|
"[pont-member-management] Failed loading invitations:",
|
|
@@ -24578,7 +24553,7 @@ class nt extends f {
|
|
|
24578
24553
|
variant: "danger",
|
|
24579
24554
|
warningText: "This member will be permanently removed from the organization and will immediately lose access to all projects, billing, and shared resources. They will need to be re-invited to regain access.",
|
|
24580
24555
|
onConfirm: async () => {
|
|
24581
|
-
await
|
|
24556
|
+
await S0(this.organizationId, n.user.id), this.loadMembers(
|
|
24582
24557
|
this.membersPage,
|
|
24583
24558
|
this.rowsPerPage,
|
|
24584
24559
|
this.membersSearchTerm,
|
|
@@ -24601,7 +24576,7 @@ class nt extends f {
|
|
|
24601
24576
|
confirmLabel: "Resend",
|
|
24602
24577
|
variant: "default",
|
|
24603
24578
|
onConfirm: async () => {
|
|
24604
|
-
await
|
|
24579
|
+
await O0(this.organizationId, n.id), this.loadInvitations(
|
|
24605
24580
|
this.invitationsPage,
|
|
24606
24581
|
this.rowsPerPage,
|
|
24607
24582
|
this.invitationsSearchTerm,
|
|
@@ -24625,7 +24600,7 @@ class nt extends f {
|
|
|
24625
24600
|
variant: "danger",
|
|
24626
24601
|
warningText: "This invitation will be permanently revoked and the recipient will lose access to join the organization.",
|
|
24627
24602
|
onConfirm: async () => {
|
|
24628
|
-
await
|
|
24603
|
+
await P0(this.organizationId, n.id), this.loadInvitations(
|
|
24629
24604
|
this.invitationsPage,
|
|
24630
24605
|
this.rowsPerPage,
|
|
24631
24606
|
this.invitationsSearchTerm,
|
|
@@ -24881,10 +24856,10 @@ it([
|
|
|
24881
24856
|
a({ type: String })
|
|
24882
24857
|
], nt.prototype, "manageRolesDrawerId");
|
|
24883
24858
|
customElements.define("pont-member-management", nt);
|
|
24884
|
-
var
|
|
24885
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24859
|
+
var b2 = Object.defineProperty, y2 = Object.getOwnPropertyDescriptor, As = (t, e, n, o) => {
|
|
24860
|
+
for (var r = o > 1 ? void 0 : o ? y2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
24886
24861
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
24887
|
-
return o && r &&
|
|
24862
|
+
return o && r && b2(e, n, r), r;
|
|
24888
24863
|
};
|
|
24889
24864
|
let Xo = class extends f {
|
|
24890
24865
|
constructor() {
|
|
@@ -24921,10 +24896,10 @@ As([
|
|
|
24921
24896
|
Xo = As([
|
|
24922
24897
|
p("pont-preview")
|
|
24923
24898
|
], Xo);
|
|
24924
|
-
var
|
|
24925
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24899
|
+
var _2 = Object.defineProperty, w2 = Object.getOwnPropertyDescriptor, Ds = (t, e, n, o) => {
|
|
24900
|
+
for (var r = o > 1 ? void 0 : o ? w2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
24926
24901
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
24927
|
-
return o && r &&
|
|
24902
|
+
return o && r && _2(e, n, r), r;
|
|
24928
24903
|
};
|
|
24929
24904
|
let ti = class extends f {
|
|
24930
24905
|
constructor() {
|
|
@@ -24967,21 +24942,21 @@ let ti = class extends f {
|
|
|
24967
24942
|
}
|
|
24968
24943
|
};
|
|
24969
24944
|
Ds([
|
|
24970
|
-
|
|
24945
|
+
At({ context: sc, subscribe: !0 })
|
|
24971
24946
|
], ti.prototype, "renderSpec", 2);
|
|
24972
24947
|
Ds([
|
|
24973
|
-
|
|
24948
|
+
At({ context: fi, subscribe: !0 })
|
|
24974
24949
|
], ti.prototype, "branding", 2);
|
|
24975
24950
|
Ds([
|
|
24976
|
-
|
|
24951
|
+
At({ context: ac, subscribe: !0 })
|
|
24977
24952
|
], ti.prototype, "locales", 2);
|
|
24978
24953
|
ti = Ds([
|
|
24979
24954
|
p("pont-signin")
|
|
24980
24955
|
], ti);
|
|
24981
|
-
var
|
|
24982
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24956
|
+
var $2 = Object.defineProperty, C2 = Object.getOwnPropertyDescriptor, Ls = (t, e, n, o) => {
|
|
24957
|
+
for (var r = o > 1 ? void 0 : o ? C2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
24983
24958
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
24984
|
-
return o && r &&
|
|
24959
|
+
return o && r && $2(e, n, r), r;
|
|
24985
24960
|
};
|
|
24986
24961
|
let ei = class extends f {
|
|
24987
24962
|
constructor() {
|
|
@@ -25024,21 +24999,21 @@ let ei = class extends f {
|
|
|
25024
24999
|
}
|
|
25025
25000
|
};
|
|
25026
25001
|
Ls([
|
|
25027
|
-
|
|
25002
|
+
At({ context: sc, subscribe: !0 })
|
|
25028
25003
|
], ei.prototype, "renderSpec", 2);
|
|
25029
25004
|
Ls([
|
|
25030
|
-
|
|
25005
|
+
At({ context: fi, subscribe: !0 })
|
|
25031
25006
|
], ei.prototype, "branding", 2);
|
|
25032
25007
|
Ls([
|
|
25033
|
-
|
|
25008
|
+
At({ context: ac, subscribe: !0 })
|
|
25034
25009
|
], ei.prototype, "locales", 2);
|
|
25035
25010
|
ei = Ls([
|
|
25036
25011
|
p("pont-signup")
|
|
25037
25012
|
], ei);
|
|
25038
|
-
var
|
|
25013
|
+
var E2 = Object.defineProperty, dr = (t, e, n, o) => {
|
|
25039
25014
|
for (var r = void 0, i = t.length - 1, s; i >= 0; i--)
|
|
25040
25015
|
(s = t[i]) && (r = s(e, n, r) || r);
|
|
25041
|
-
return r &&
|
|
25016
|
+
return r && E2(e, n, r), r;
|
|
25042
25017
|
};
|
|
25043
25018
|
class pc extends f {
|
|
25044
25019
|
constructor() {
|
|
@@ -25318,7 +25293,7 @@ dr([
|
|
|
25318
25293
|
a({ attribute: !1 })
|
|
25319
25294
|
], Rr.prototype, "menuItems");
|
|
25320
25295
|
dr([
|
|
25321
|
-
|
|
25296
|
+
At({ context: In, subscribe: !0 }),
|
|
25322
25297
|
a({ attribute: !1 })
|
|
25323
25298
|
], Rr.prototype, "auth");
|
|
25324
25299
|
dr([
|
|
@@ -25337,10 +25312,10 @@ dr([
|
|
|
25337
25312
|
m()
|
|
25338
25313
|
], Rr.prototype, "_subMenuOpen");
|
|
25339
25314
|
customElements.define("pont-nav-user", Rr);
|
|
25340
|
-
var
|
|
25341
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
25315
|
+
var S2 = Object.defineProperty, x2 = Object.getOwnPropertyDescriptor, Du = (t, e, n, o) => {
|
|
25316
|
+
for (var r = o > 1 ? void 0 : o ? x2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25342
25317
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25343
|
-
return o && r &&
|
|
25318
|
+
return o && r && S2(e, n, r), r;
|
|
25344
25319
|
};
|
|
25345
25320
|
let _l = class extends f {
|
|
25346
25321
|
constructor() {
|
|
@@ -25360,12 +25335,12 @@ Du([
|
|
|
25360
25335
|
_l = Du([
|
|
25361
25336
|
p("pont-hint")
|
|
25362
25337
|
], _l);
|
|
25363
|
-
var
|
|
25364
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
25338
|
+
var O2 = Object.defineProperty, P2 = Object.getOwnPropertyDescriptor, pr = (t, e, n, o) => {
|
|
25339
|
+
for (var r = o > 1 ? void 0 : o ? P2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25365
25340
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25366
|
-
return o && r &&
|
|
25341
|
+
return o && r && O2(e, n, r), r;
|
|
25367
25342
|
};
|
|
25368
|
-
const
|
|
25343
|
+
const R2 = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
25369
25344
|
let Me = class extends f {
|
|
25370
25345
|
constructor() {
|
|
25371
25346
|
super(...arguments), this.label = "", this.value = [], this.placeholder = "Enter email addresses", this.disabled = !1, this.maxEmails = 50, this.className = "", this.inputValue = "", this.error = null;
|
|
@@ -25377,7 +25352,7 @@ let Me = class extends f {
|
|
|
25377
25352
|
/* Helpers */
|
|
25378
25353
|
/* ------------------------------------------------------------------ */
|
|
25379
25354
|
validateEmail(t) {
|
|
25380
|
-
return
|
|
25355
|
+
return R2.test(t.trim());
|
|
25381
25356
|
}
|
|
25382
25357
|
addEmails(t) {
|
|
25383
25358
|
const e = [], n = [];
|
|
@@ -25522,10 +25497,10 @@ pr([
|
|
|
25522
25497
|
Me = pr([
|
|
25523
25498
|
p("pont-multi-email-input")
|
|
25524
25499
|
], Me);
|
|
25525
|
-
var
|
|
25526
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
25500
|
+
var I2 = Object.defineProperty, T2 = Object.getOwnPropertyDescriptor, Ce = (t, e, n, o) => {
|
|
25501
|
+
for (var r = o > 1 ? void 0 : o ? T2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25527
25502
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25528
|
-
return o && r &&
|
|
25503
|
+
return o && r && I2(e, n, r), r;
|
|
25529
25504
|
};
|
|
25530
25505
|
let de = class extends f {
|
|
25531
25506
|
constructor() {
|
|
@@ -25752,10 +25727,10 @@ Ce([
|
|
|
25752
25727
|
de = Ce([
|
|
25753
25728
|
p("pont-badge-selector")
|
|
25754
25729
|
], de);
|
|
25755
|
-
var
|
|
25756
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
25730
|
+
var A2 = Object.defineProperty, D2 = Object.getOwnPropertyDescriptor, An = (t, e, n, o) => {
|
|
25731
|
+
for (var r = o > 1 ? void 0 : o ? D2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25757
25732
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25758
|
-
return o && r &&
|
|
25733
|
+
return o && r && A2(e, n, r), r;
|
|
25759
25734
|
};
|
|
25760
25735
|
let Wr = class extends f {
|
|
25761
25736
|
constructor() {
|
|
@@ -25833,10 +25808,10 @@ An([
|
|
|
25833
25808
|
Wr = An([
|
|
25834
25809
|
p("pont-sidedrawer")
|
|
25835
25810
|
], Wr);
|
|
25836
|
-
var
|
|
25837
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
25811
|
+
var L2 = Object.defineProperty, k2 = Object.getOwnPropertyDescriptor, _i = (t, e, n, o) => {
|
|
25812
|
+
for (var r = o > 1 ? void 0 : o ? k2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25838
25813
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25839
|
-
return o && r &&
|
|
25814
|
+
return o && r && L2(e, n, r), r;
|
|
25840
25815
|
};
|
|
25841
25816
|
let io = class extends f {
|
|
25842
25817
|
constructor() {
|
|
@@ -25926,7 +25901,7 @@ const jn = {
|
|
|
25926
25901
|
content: "label",
|
|
25927
25902
|
iconAlign: "end",
|
|
25928
25903
|
label: "Submit"
|
|
25929
|
-
},
|
|
25904
|
+
}, M2 = {
|
|
25930
25905
|
apple: "Apple",
|
|
25931
25906
|
discord: "Discord",
|
|
25932
25907
|
facebook: "Facebook",
|
|
@@ -25936,7 +25911,7 @@ const jn = {
|
|
|
25936
25911
|
meta: "Meta",
|
|
25937
25912
|
microsoft: "Microsoft",
|
|
25938
25913
|
x: "X"
|
|
25939
|
-
},
|
|
25914
|
+
}, N2 = {
|
|
25940
25915
|
apple: Q`<path d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701" />`,
|
|
25941
25916
|
discord: Q`<path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z" />`,
|
|
25942
25917
|
facebook: Q`<path d="M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z" />`,
|
|
@@ -25947,10 +25922,10 @@ const jn = {
|
|
|
25947
25922
|
microsoft: Q`<path d="M11.4 24H0V12.6h11.4V24zM24 24H12.6V12.6H24V24zM11.4 11.4H0V0h11.4v11.4zM24 11.4H12.6V0H24v11.4z" />`,
|
|
25948
25923
|
x: Q`<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.763l7.726-8.835L1.254 2.25H8.08l4.713 6.231 5.45-6.231zm-1.161 17.52h1.833L7.084 4.126H5.117L17.083 19.77z" />`
|
|
25949
25924
|
};
|
|
25950
|
-
var
|
|
25951
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
25925
|
+
var j2 = Object.defineProperty, U2 = Object.getOwnPropertyDescriptor, Ee = (t, e, n, o) => {
|
|
25926
|
+
for (var r = o > 1 ? void 0 : o ? U2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
25952
25927
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
25953
|
-
return o && r &&
|
|
25928
|
+
return o && r && j2(e, n, r), r;
|
|
25954
25929
|
};
|
|
25955
25930
|
let J = class extends f {
|
|
25956
25931
|
constructor() {
|
|
@@ -26075,7 +26050,7 @@ let J = class extends f {
|
|
|
26075
26050
|
};
|
|
26076
26051
|
J.ROOT = "passkey-button";
|
|
26077
26052
|
J.ICON = "icon";
|
|
26078
|
-
J.TAG = `${
|
|
26053
|
+
J.TAG = `${$t}-${J.ROOT}`;
|
|
26079
26054
|
J.CLICK_EVENT = `${J.TAG}:click`;
|
|
26080
26055
|
J.SUCCESS_EVENT = `${J.TAG}:success`;
|
|
26081
26056
|
J.ERROR_EVENT = `${J.TAG}:error`;
|
|
@@ -26119,10 +26094,10 @@ Ee([
|
|
|
26119
26094
|
J = Ee([
|
|
26120
26095
|
p("pont-passkey-button")
|
|
26121
26096
|
], J);
|
|
26122
|
-
var
|
|
26123
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
26097
|
+
var q2 = Object.defineProperty, B2 = Object.getOwnPropertyDescriptor, ne = (t, e, n, o) => {
|
|
26098
|
+
for (var r = o > 1 ? void 0 : o ? B2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
26124
26099
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
26125
|
-
return o && r &&
|
|
26100
|
+
return o && r && q2(e, n, r), r;
|
|
26126
26101
|
};
|
|
26127
26102
|
let Z = class extends f {
|
|
26128
26103
|
constructor() {
|
|
@@ -26235,13 +26210,13 @@ let Z = class extends f {
|
|
|
26235
26210
|
fill="currentColor"
|
|
26236
26211
|
class="simple-icons simple-icons-${this._provider} ${t}"
|
|
26237
26212
|
>
|
|
26238
|
-
${
|
|
26213
|
+
${N2[this._provider]}
|
|
26239
26214
|
</svg>
|
|
26240
26215
|
` : h;
|
|
26241
26216
|
}
|
|
26242
26217
|
/* ---------------------------------------- */
|
|
26243
26218
|
render() {
|
|
26244
|
-
const t =
|
|
26219
|
+
const t = M2[this._provider], e = this.label ?? l`${this.prompt} ${t}`;
|
|
26245
26220
|
return l`
|
|
26246
26221
|
<pont-button
|
|
26247
26222
|
id="${this.rootId}"
|
|
@@ -26262,7 +26237,7 @@ let Z = class extends f {
|
|
|
26262
26237
|
};
|
|
26263
26238
|
Z.ROOT = "provider-button";
|
|
26264
26239
|
Z.ICON = "icon";
|
|
26265
|
-
Z.TAG = `${
|
|
26240
|
+
Z.TAG = `${$t}-${Z.ROOT}`;
|
|
26266
26241
|
Z.CLICK_EVENT = `${Z.TAG}:click`;
|
|
26267
26242
|
Z.SUCCESS_EVENT = `${Z.TAG}:success`;
|
|
26268
26243
|
Z.ERROR_EVENT = `${Z.TAG}:error`;
|
|
@@ -26312,10 +26287,10 @@ ne([
|
|
|
26312
26287
|
Z = ne([
|
|
26313
26288
|
p("pont-provider-button")
|
|
26314
26289
|
], Z);
|
|
26315
|
-
var
|
|
26316
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
26290
|
+
var F2 = Object.defineProperty, z2 = Object.getOwnPropertyDescriptor, qe = (t, e, n, o) => {
|
|
26291
|
+
for (var r = o > 1 ? void 0 : o ? z2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
26317
26292
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
26318
|
-
return o && r &&
|
|
26293
|
+
return o && r && F2(e, n, r), r;
|
|
26319
26294
|
};
|
|
26320
26295
|
let et = class extends f {
|
|
26321
26296
|
constructor() {
|
|
@@ -26409,7 +26384,7 @@ let et = class extends f {
|
|
|
26409
26384
|
};
|
|
26410
26385
|
et.ROOT = "submit-button";
|
|
26411
26386
|
et.ICON = "icon";
|
|
26412
|
-
et.TAG = `${
|
|
26387
|
+
et.TAG = `${$t}-${et.ROOT}`;
|
|
26413
26388
|
et.CLICK_EVENT = `${et.TAG}:click`;
|
|
26414
26389
|
et.PARTS = {
|
|
26415
26390
|
root: et.ROOT,
|
|
@@ -26448,10 +26423,10 @@ qe([
|
|
|
26448
26423
|
et = qe([
|
|
26449
26424
|
p("pont-submit-button")
|
|
26450
26425
|
], et);
|
|
26451
|
-
var
|
|
26452
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
26426
|
+
var V2 = Object.defineProperty, H2 = Object.getOwnPropertyDescriptor, ot = (t, e, n, o) => {
|
|
26427
|
+
for (var r = o > 1 ? void 0 : o ? H2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
26453
26428
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
26454
|
-
return o && r &&
|
|
26429
|
+
return o && r && V2(e, n, r), r;
|
|
26455
26430
|
};
|
|
26456
26431
|
let $ = class extends f {
|
|
26457
26432
|
constructor() {
|
|
@@ -26785,7 +26760,7 @@ $.FORGOT = "forgot";
|
|
|
26785
26760
|
$.DESCRIPTION = "description";
|
|
26786
26761
|
$.INPUT = "input";
|
|
26787
26762
|
$.ERROR = "error";
|
|
26788
|
-
$.TAG = `${
|
|
26763
|
+
$.TAG = `${$t}-${$.ROOT}`;
|
|
26789
26764
|
$.VALIDATE_EVENT = `${$.TAG}:validate`;
|
|
26790
26765
|
$.FORGOT_CLICK_EVENT = `${$.TAG}:forgot-click`;
|
|
26791
26766
|
$.FORGOT_SUCCESS_EVENT = `${$.TAG}:forgot-success`;
|
|
@@ -26962,10 +26937,10 @@ const oe = (t) => `${t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()} is a
|
|
|
26962
26937
|
requiredError: oe("Confirm Password"),
|
|
26963
26938
|
matchError: "Passwords do not match."
|
|
26964
26939
|
};
|
|
26965
|
-
var
|
|
26966
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
26940
|
+
var G2 = Object.defineProperty, K2 = Object.getOwnPropertyDescriptor, xt = (t, e, n, o) => {
|
|
26941
|
+
for (var r = o > 1 ? void 0 : o ? K2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
26967
26942
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
26968
|
-
return o && r &&
|
|
26943
|
+
return o && r && G2(e, n, r), r;
|
|
26969
26944
|
};
|
|
26970
26945
|
let P = class extends f {
|
|
26971
26946
|
constructor() {
|
|
@@ -27180,7 +27155,7 @@ P.MARK = "mark";
|
|
|
27180
27155
|
P.DESCRIPTION = "description";
|
|
27181
27156
|
P.INPUT = "input";
|
|
27182
27157
|
P.ERROR = "error";
|
|
27183
|
-
P.TAG = `${
|
|
27158
|
+
P.TAG = `${$t}-${P.ROOT}`;
|
|
27184
27159
|
P.VALIDATE_EVENT = `${P.TAG}:validate`;
|
|
27185
27160
|
P.PARTS = {
|
|
27186
27161
|
root: P.ROOT,
|
|
@@ -27191,76 +27166,76 @@ P.PARTS = {
|
|
|
27191
27166
|
error: `${P.ROOT}-${P.ERROR}`
|
|
27192
27167
|
};
|
|
27193
27168
|
P.INPUT_SELECTORS = `pont-input[part="${P.PARTS.input}"], pont-password-input[part="${P.PARTS.input}"]`;
|
|
27194
|
-
|
|
27169
|
+
xt([
|
|
27195
27170
|
a({ type: String })
|
|
27196
27171
|
], P.prototype, "seed", 2);
|
|
27197
|
-
|
|
27172
|
+
xt([
|
|
27198
27173
|
a({ type: String, attribute: "custom-id" })
|
|
27199
27174
|
], P.prototype, "customId", 2);
|
|
27200
|
-
|
|
27175
|
+
xt([
|
|
27201
27176
|
a({ type: String, attribute: "input-id" })
|
|
27202
27177
|
], P.prototype, "inputId", 1);
|
|
27203
|
-
|
|
27178
|
+
xt([
|
|
27204
27179
|
a({ type: String })
|
|
27205
27180
|
], P.prototype, "name", 1);
|
|
27206
|
-
|
|
27181
|
+
xt([
|
|
27207
27182
|
a({ type: String, attribute: "default-value" })
|
|
27208
27183
|
], P.prototype, "defaultValue", 2);
|
|
27209
|
-
|
|
27184
|
+
xt([
|
|
27210
27185
|
a({ type: String })
|
|
27211
27186
|
], P.prototype, "label", 1);
|
|
27212
|
-
|
|
27187
|
+
xt([
|
|
27213
27188
|
a({ type: String })
|
|
27214
27189
|
], P.prototype, "placeholder", 2);
|
|
27215
|
-
|
|
27190
|
+
xt([
|
|
27216
27191
|
a({ type: String })
|
|
27217
27192
|
], P.prototype, "description", 2);
|
|
27218
|
-
|
|
27193
|
+
xt([
|
|
27219
27194
|
a({ type: String })
|
|
27220
27195
|
], P.prototype, "variant", 2);
|
|
27221
|
-
|
|
27196
|
+
xt([
|
|
27222
27197
|
a({ type: String })
|
|
27223
27198
|
], P.prototype, "mark", 2);
|
|
27224
|
-
|
|
27199
|
+
xt([
|
|
27225
27200
|
a({ type: Boolean })
|
|
27226
27201
|
], P.prototype, "caret", 2);
|
|
27227
|
-
|
|
27202
|
+
xt([
|
|
27228
27203
|
a({ type: String })
|
|
27229
27204
|
], P.prototype, "autocomplete", 2);
|
|
27230
|
-
|
|
27205
|
+
xt([
|
|
27231
27206
|
a({ type: Boolean })
|
|
27232
27207
|
], P.prototype, "disabled", 2);
|
|
27233
|
-
|
|
27208
|
+
xt([
|
|
27234
27209
|
a({ type: Boolean })
|
|
27235
27210
|
], P.prototype, "required", 2);
|
|
27236
|
-
|
|
27211
|
+
xt([
|
|
27237
27212
|
a({ type: String })
|
|
27238
27213
|
], P.prototype, "pair", 2);
|
|
27239
|
-
|
|
27214
|
+
xt([
|
|
27240
27215
|
a({ type: String })
|
|
27241
27216
|
], P.prototype, "validation", 2);
|
|
27242
|
-
|
|
27217
|
+
xt([
|
|
27243
27218
|
a({ type: String, attribute: "required-error" })
|
|
27244
27219
|
], P.prototype, "requiredError", 1);
|
|
27245
|
-
|
|
27220
|
+
xt([
|
|
27246
27221
|
a({ type: String, attribute: "match-error" })
|
|
27247
27222
|
], P.prototype, "matchError", 1);
|
|
27248
|
-
|
|
27223
|
+
xt([
|
|
27249
27224
|
m()
|
|
27250
27225
|
], P.prototype, "_invalid", 2);
|
|
27251
|
-
|
|
27226
|
+
xt([
|
|
27252
27227
|
m()
|
|
27253
27228
|
], P.prototype, "_error", 2);
|
|
27254
|
-
|
|
27229
|
+
xt([
|
|
27255
27230
|
m()
|
|
27256
27231
|
], P.prototype, "_value", 2);
|
|
27257
|
-
P =
|
|
27232
|
+
P = xt([
|
|
27258
27233
|
p("pont-confirm-field")
|
|
27259
27234
|
], P);
|
|
27260
|
-
var
|
|
27261
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
27235
|
+
var W2 = Object.defineProperty, Y2 = Object.getOwnPropertyDescriptor, Lt = (t, e, n, o) => {
|
|
27236
|
+
for (var r = o > 1 ? void 0 : o ? Y2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
27262
27237
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
27263
|
-
return o && r &&
|
|
27238
|
+
return o && r && W2(e, n, r), r;
|
|
27264
27239
|
};
|
|
27265
27240
|
let T = class extends f {
|
|
27266
27241
|
constructor() {
|
|
@@ -27459,7 +27434,7 @@ T.MARK = "mark";
|
|
|
27459
27434
|
T.DESCRIPTION = "description";
|
|
27460
27435
|
T.INPUT = "input";
|
|
27461
27436
|
T.ERROR = "error";
|
|
27462
|
-
T.TAG = `${
|
|
27437
|
+
T.TAG = `${$t}-${T.ROOT}`;
|
|
27463
27438
|
T.VALIDATE_EVENT = `${T.TAG}:validate`;
|
|
27464
27439
|
T.PARTS = {
|
|
27465
27440
|
root: T.ROOT,
|
|
@@ -27533,10 +27508,10 @@ Lt([
|
|
|
27533
27508
|
T = Lt([
|
|
27534
27509
|
p("pont-email-field")
|
|
27535
27510
|
], T);
|
|
27536
|
-
var
|
|
27537
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
27511
|
+
var Z2 = Object.defineProperty, J2 = Object.getOwnPropertyDescriptor, qt = (t, e, n, o) => {
|
|
27512
|
+
for (var r = o > 1 ? void 0 : o ? J2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
27538
27513
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
27539
|
-
return o && r &&
|
|
27514
|
+
return o && r && Z2(e, n, r), r;
|
|
27540
27515
|
};
|
|
27541
27516
|
let D = class extends f {
|
|
27542
27517
|
constructor() {
|
|
@@ -27755,7 +27730,7 @@ D.MARK = "mark";
|
|
|
27755
27730
|
D.DESCRIPTION = "description";
|
|
27756
27731
|
D.INPUT = "input";
|
|
27757
27732
|
D.ERROR = "error";
|
|
27758
|
-
D.TAG = `${
|
|
27733
|
+
D.TAG = `${$t}-${D.ROOT}`;
|
|
27759
27734
|
D.VALIDATE_EVENT = `${D.TAG}:validate`;
|
|
27760
27735
|
D.PARTS = {
|
|
27761
27736
|
root: D.ROOT,
|
|
@@ -27826,10 +27801,10 @@ qt([
|
|
|
27826
27801
|
D = qt([
|
|
27827
27802
|
p("pont-identifier-field")
|
|
27828
27803
|
], D);
|
|
27829
|
-
var
|
|
27830
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
27804
|
+
var Q2 = Object.defineProperty, X2 = Object.getOwnPropertyDescriptor, mt = (t, e, n, o) => {
|
|
27805
|
+
for (var r = o > 1 ? void 0 : o ? X2(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
27831
27806
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
27832
|
-
return o && r &&
|
|
27807
|
+
return o && r && Q2(e, n, r), r;
|
|
27833
27808
|
};
|
|
27834
27809
|
let x = class extends f {
|
|
27835
27810
|
constructor() {
|
|
@@ -28076,7 +28051,7 @@ x.MARK = "mark";
|
|
|
28076
28051
|
x.DESCRIPTION = "description";
|
|
28077
28052
|
x.INPUT = "input";
|
|
28078
28053
|
x.ERROR = "error";
|
|
28079
|
-
x.TAG = `${
|
|
28054
|
+
x.TAG = `${$t}-${x.ROOT}`;
|
|
28080
28055
|
x.VALIDATE_EVENT = `${x.TAG}:validate`;
|
|
28081
28056
|
x.PARTS = {
|
|
28082
28057
|
root: x.ROOT,
|
|
@@ -28162,10 +28137,10 @@ mt([
|
|
|
28162
28137
|
x = mt([
|
|
28163
28138
|
p("pont-name-field")
|
|
28164
28139
|
], x);
|
|
28165
|
-
var
|
|
28166
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
28140
|
+
var tC = Object.defineProperty, eC = Object.getOwnPropertyDescriptor, kt = (t, e, n, o) => {
|
|
28141
|
+
for (var r = o > 1 ? void 0 : o ? eC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
28167
28142
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
28168
|
-
return o && r &&
|
|
28143
|
+
return o && r && tC(e, n, r), r;
|
|
28169
28144
|
};
|
|
28170
28145
|
let A = class extends f {
|
|
28171
28146
|
constructor() {
|
|
@@ -28364,7 +28339,7 @@ A.MARK = "mark";
|
|
|
28364
28339
|
A.DESCRIPTION = "description";
|
|
28365
28340
|
A.INPUT = "input";
|
|
28366
28341
|
A.ERROR = "error";
|
|
28367
|
-
A.TAG = `${
|
|
28342
|
+
A.TAG = `${$t}-${A.ROOT}`;
|
|
28368
28343
|
A.VALIDATE_EVENT = `${A.TAG}:validate`;
|
|
28369
28344
|
A.PARTS = {
|
|
28370
28345
|
root: A.ROOT,
|
|
@@ -28438,10 +28413,10 @@ kt([
|
|
|
28438
28413
|
A = kt([
|
|
28439
28414
|
p("pont-phone-field")
|
|
28440
28415
|
], A);
|
|
28441
|
-
var
|
|
28442
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
28416
|
+
var rC = Object.defineProperty, nC = Object.getOwnPropertyDescriptor, ft = (t, e, n, o) => {
|
|
28417
|
+
for (var r = o > 1 ? void 0 : o ? nC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
28443
28418
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
28444
|
-
return o && r &&
|
|
28419
|
+
return o && r && rC(e, n, r), r;
|
|
28445
28420
|
};
|
|
28446
28421
|
let O = class extends f {
|
|
28447
28422
|
constructor() {
|
|
@@ -28688,7 +28663,7 @@ O.MARK = "mark";
|
|
|
28688
28663
|
O.DESCRIPTION = "description";
|
|
28689
28664
|
O.INPUT = "input";
|
|
28690
28665
|
O.ERROR = "error";
|
|
28691
|
-
O.TAG = `${
|
|
28666
|
+
O.TAG = `${$t}-${O.ROOT}`;
|
|
28692
28667
|
O.VALIDATE_EVENT = `${O.TAG}:validate`;
|
|
28693
28668
|
O.PARTS = {
|
|
28694
28669
|
root: O.ROOT,
|
|
@@ -28778,10 +28753,10 @@ const Ys = {
|
|
|
28778
28753
|
label: "Link",
|
|
28779
28754
|
service: "auth"
|
|
28780
28755
|
};
|
|
28781
|
-
var
|
|
28782
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
28756
|
+
var oC = Object.defineProperty, iC = Object.getOwnPropertyDescriptor, ur = (t, e, n, o) => {
|
|
28757
|
+
for (var r = o > 1 ? void 0 : o ? iC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
28783
28758
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
28784
|
-
return o && r &&
|
|
28759
|
+
return o && r && oC(e, n, r), r;
|
|
28785
28760
|
};
|
|
28786
28761
|
let Y = class extends f {
|
|
28787
28762
|
constructor() {
|
|
@@ -28886,7 +28861,7 @@ let Y = class extends f {
|
|
|
28886
28861
|
Y.ROOT = "link";
|
|
28887
28862
|
Y.BUTTON = "button";
|
|
28888
28863
|
Y.PROMPT = "prompt";
|
|
28889
|
-
Y.TAG = `${
|
|
28864
|
+
Y.TAG = `${$t}-${Y.ROOT}`;
|
|
28890
28865
|
Y.CLICK_EVENT = `${Y.TAG}:click`;
|
|
28891
28866
|
Y.SUCCESS_EVENT = `${Y.TAG}:success`;
|
|
28892
28867
|
Y.ERROR_EVENT = `${Y.TAG}:error`;
|
|
@@ -28930,15 +28905,15 @@ Y = ur([
|
|
|
28930
28905
|
* Copyright 2020 Google LLC
|
|
28931
28906
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
28932
28907
|
*/
|
|
28933
|
-
const Lu = Symbol.for(""),
|
|
28908
|
+
const Lu = Symbol.for(""), sC = (t) => {
|
|
28934
28909
|
if ((t == null ? void 0 : t.r) === Lu) return t == null ? void 0 : t._$litStatic$;
|
|
28935
|
-
},
|
|
28910
|
+
}, aC = (t) => ({ _$litStatic$: t, r: Lu }), Sp = /* @__PURE__ */ new Map(), lC = (t) => (e, ...n) => {
|
|
28936
28911
|
const o = n.length;
|
|
28937
28912
|
let r, i;
|
|
28938
28913
|
const s = [], c = [];
|
|
28939
28914
|
let d, g = 0, v = !1;
|
|
28940
28915
|
for (; g < o; ) {
|
|
28941
|
-
for (d = e[g]; g < o && (i = n[g], (r =
|
|
28916
|
+
for (d = e[g]; g < o && (i = n[g], (r = sC(i)) !== void 0); ) d += r + e[++g], v = !0;
|
|
28942
28917
|
g !== o && c.push(i), s.push(d), g++;
|
|
28943
28918
|
}
|
|
28944
28919
|
if (g === o && s.push(e[o]), v) {
|
|
@@ -28946,11 +28921,11 @@ const Lu = Symbol.for(""), iC = (t) => {
|
|
|
28946
28921
|
(e = Sp.get(y)) === void 0 && (s.raw = s, Sp.set(y, e = s)), n = c;
|
|
28947
28922
|
}
|
|
28948
28923
|
return t(e, ...n);
|
|
28949
|
-
}, Zs =
|
|
28950
|
-
var
|
|
28951
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
28924
|
+
}, Zs = lC(l);
|
|
28925
|
+
var cC = Object.defineProperty, dC = Object.getOwnPropertyDescriptor, Bt = (t, e, n, o) => {
|
|
28926
|
+
for (var r = o > 1 ? void 0 : o ? dC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
28952
28927
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
28953
|
-
return o && r &&
|
|
28928
|
+
return o && r && cC(e, n, r), r;
|
|
28954
28929
|
};
|
|
28955
28930
|
let ht = class extends _e {
|
|
28956
28931
|
constructor() {
|
|
@@ -29077,7 +29052,7 @@ let ht = class extends _e {
|
|
|
29077
29052
|
.onBlur=${this.handleBlur}
|
|
29078
29053
|
.onChange=${(e) => this._value = e}
|
|
29079
29054
|
>
|
|
29080
|
-
${
|
|
29055
|
+
${aC(this.buildOTPContentHTML())}
|
|
29081
29056
|
</pont-input-otp>
|
|
29082
29057
|
${this._invalid ? Zs`
|
|
29083
29058
|
<pont-field-error
|
|
@@ -29102,7 +29077,7 @@ let ht = class extends _e {
|
|
|
29102
29077
|
}
|
|
29103
29078
|
};
|
|
29104
29079
|
ht.ROOT = "otp";
|
|
29105
|
-
ht.TAG = `${
|
|
29080
|
+
ht.TAG = `${$t}-${ht.ROOT}`;
|
|
29106
29081
|
Bt([
|
|
29107
29082
|
a({
|
|
29108
29083
|
type: Boolean,
|
|
@@ -29183,10 +29158,10 @@ const Pi = {
|
|
|
29183
29158
|
resend_button_label: "Resend code",
|
|
29184
29159
|
count_down_text: "Resend code in "
|
|
29185
29160
|
};
|
|
29186
|
-
var
|
|
29187
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
29161
|
+
var pC = Object.defineProperty, hC = Object.getOwnPropertyDescriptor, Qr = (t, e, n, o) => {
|
|
29162
|
+
for (var r = o > 1 ? void 0 : o ? hC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
29188
29163
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
29189
|
-
return o && r &&
|
|
29164
|
+
return o && r && pC(e, n, r), r;
|
|
29190
29165
|
};
|
|
29191
29166
|
let at = class extends f {
|
|
29192
29167
|
constructor() {
|
|
@@ -29262,7 +29237,7 @@ let at = class extends f {
|
|
|
29262
29237
|
at.ROOT = "otp-resend";
|
|
29263
29238
|
at.COUNTDOWN = "countdown";
|
|
29264
29239
|
at.RESEND_BUTTON = "resend-button";
|
|
29265
|
-
at.TAG = `${
|
|
29240
|
+
at.TAG = `${$t}-${at.ROOT}`;
|
|
29266
29241
|
at.PARTS = {
|
|
29267
29242
|
root: at.ROOT,
|
|
29268
29243
|
countdown: `${at.ROOT}-${at.COUNTDOWN}`,
|
|
@@ -29292,7 +29267,7 @@ Qr([
|
|
|
29292
29267
|
at = Qr([
|
|
29293
29268
|
p("pont-otp-resend")
|
|
29294
29269
|
], at);
|
|
29295
|
-
const
|
|
29270
|
+
const uC = [
|
|
29296
29271
|
T,
|
|
29297
29272
|
A,
|
|
29298
29273
|
O,
|
|
@@ -29301,11 +29276,11 @@ const hC = [
|
|
|
29301
29276
|
$,
|
|
29302
29277
|
P,
|
|
29303
29278
|
ht
|
|
29304
|
-
],
|
|
29305
|
-
var
|
|
29306
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
29279
|
+
], gC = [J, Z, Y];
|
|
29280
|
+
var mC = Object.defineProperty, fC = Object.getOwnPropertyDescriptor, wi = (t, e, n, o) => {
|
|
29281
|
+
for (var r = o > 1 ? void 0 : o ? fC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
29307
29282
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
29308
|
-
return o && r &&
|
|
29283
|
+
return o && r && mC(e, n, r), r;
|
|
29309
29284
|
};
|
|
29310
29285
|
let st = class extends f {
|
|
29311
29286
|
constructor() {
|
|
@@ -29389,7 +29364,7 @@ let st = class extends f {
|
|
|
29389
29364
|
get _fields() {
|
|
29390
29365
|
const t = this._form;
|
|
29391
29366
|
return t ? Array.from(
|
|
29392
|
-
t.querySelectorAll(
|
|
29367
|
+
t.querySelectorAll(uC.map((n) => n.TAG).join(", "))
|
|
29393
29368
|
).filter((n) => typeof n.isFormField > "u" ? !0 : n.isFormField) : [];
|
|
29394
29369
|
}
|
|
29395
29370
|
get _submit() {
|
|
@@ -29401,7 +29376,7 @@ let st = class extends f {
|
|
|
29401
29376
|
get _interactives() {
|
|
29402
29377
|
const t = this._form;
|
|
29403
29378
|
if (!t) return [];
|
|
29404
|
-
const e =
|
|
29379
|
+
const e = gC.map((n) => n.TAG).join(", ");
|
|
29405
29380
|
return Array.from(t.querySelectorAll(e));
|
|
29406
29381
|
}
|
|
29407
29382
|
/* ------------------------------------------------------------ */
|
|
@@ -29448,7 +29423,7 @@ let st = class extends f {
|
|
|
29448
29423
|
}
|
|
29449
29424
|
};
|
|
29450
29425
|
st.ROOT = "form";
|
|
29451
|
-
st.TAG = `${
|
|
29426
|
+
st.TAG = `${$t}-${st.ROOT}`;
|
|
29452
29427
|
st.SUBMIT_EVENT = `${st.TAG}:submit`;
|
|
29453
29428
|
st.SUCCESS_EVENT = `${st.TAG}:success`;
|
|
29454
29429
|
st.ERROR_EVENT = `${st.TAG}:error`;
|
|
@@ -29469,10 +29444,10 @@ wi([
|
|
|
29469
29444
|
st = wi([
|
|
29470
29445
|
p("pont-form")
|
|
29471
29446
|
], st);
|
|
29472
|
-
var
|
|
29473
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
29447
|
+
var vC = Object.defineProperty, bC = Object.getOwnPropertyDescriptor, ie = (t, e, n, o) => {
|
|
29448
|
+
for (var r = o > 1 ? void 0 : o ? bC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
29474
29449
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
29475
|
-
return o && r &&
|
|
29450
|
+
return o && r && vC(e, n, r), r;
|
|
29476
29451
|
};
|
|
29477
29452
|
let yt = class extends f {
|
|
29478
29453
|
constructor() {
|
|
@@ -29496,7 +29471,7 @@ let yt = class extends f {
|
|
|
29496
29471
|
* derived from the component's part name and `seed`.
|
|
29497
29472
|
*/
|
|
29498
29473
|
get rootId() {
|
|
29499
|
-
return this.customId ??
|
|
29474
|
+
return this.customId ?? `${$t}-${yt.parts.root}-${this.seed}`;
|
|
29500
29475
|
}
|
|
29501
29476
|
/**
|
|
29502
29477
|
* The `id` of the provider button element, derived from `rootId` with the
|
|
@@ -29622,17 +29597,17 @@ ie([
|
|
|
29622
29597
|
yt = ie([
|
|
29623
29598
|
p("pont-provider-field")
|
|
29624
29599
|
], yt);
|
|
29625
|
-
const
|
|
29600
|
+
const yC = {
|
|
29626
29601
|
identifier: ""
|
|
29627
29602
|
};
|
|
29628
|
-
var
|
|
29629
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
29603
|
+
var _C = Object.defineProperty, wC = Object.getOwnPropertyDescriptor, $i = (t, e, n, o) => {
|
|
29604
|
+
for (var r = o > 1 ? void 0 : o ? wC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
29630
29605
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
29631
|
-
return o && r &&
|
|
29606
|
+
return o && r && _C(e, n, r), r;
|
|
29632
29607
|
};
|
|
29633
29608
|
let Vt = class extends f {
|
|
29634
29609
|
constructor() {
|
|
29635
|
-
super(...arguments), this.seed = Ft(), this.identifier =
|
|
29610
|
+
super(...arguments), this.seed = Ft(), this.identifier = yC.identifier, this.event = "", this._handleClick = () => {
|
|
29636
29611
|
_t.processLoginflowEvent({ event: this.event });
|
|
29637
29612
|
};
|
|
29638
29613
|
}
|
|
@@ -29671,7 +29646,7 @@ let Vt = class extends f {
|
|
|
29671
29646
|
};
|
|
29672
29647
|
Vt.ROOT = "edit-identifier";
|
|
29673
29648
|
Vt.ICON = "icon";
|
|
29674
|
-
Vt.TAG = `${
|
|
29649
|
+
Vt.TAG = `${$t}-${Vt.ROOT}`;
|
|
29675
29650
|
Vt.CLICK_EVENT = `${Vt.TAG}:click`;
|
|
29676
29651
|
Vt.PARTS = {
|
|
29677
29652
|
root: Vt.ROOT,
|
|
@@ -29692,11 +29667,11 @@ $i([
|
|
|
29692
29667
|
Vt = $i([
|
|
29693
29668
|
p("pont-edit-identifier")
|
|
29694
29669
|
], Vt);
|
|
29695
|
-
function
|
|
29670
|
+
function $C(t) {
|
|
29696
29671
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
29697
29672
|
}
|
|
29698
29673
|
var Hn = {}, Js, xp;
|
|
29699
|
-
function
|
|
29674
|
+
function CC() {
|
|
29700
29675
|
return xp || (xp = 1, Js = function() {
|
|
29701
29676
|
return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
|
|
29702
29677
|
}), Js;
|
|
@@ -29809,7 +29784,7 @@ function hc() {
|
|
|
29809
29784
|
})(Xs)), Xs;
|
|
29810
29785
|
}
|
|
29811
29786
|
var ta, Rp;
|
|
29812
|
-
function
|
|
29787
|
+
function EC() {
|
|
29813
29788
|
if (Rp) return ta;
|
|
29814
29789
|
Rp = 1;
|
|
29815
29790
|
function t() {
|
|
@@ -29834,7 +29809,7 @@ function CC() {
|
|
|
29834
29809
|
}, ta = t, ta;
|
|
29835
29810
|
}
|
|
29836
29811
|
var ea, Ip;
|
|
29837
|
-
function
|
|
29812
|
+
function SC() {
|
|
29838
29813
|
if (Ip) return ea;
|
|
29839
29814
|
Ip = 1;
|
|
29840
29815
|
function t(e) {
|
|
@@ -29854,7 +29829,7 @@ function EC() {
|
|
|
29854
29829
|
}, ea = t, ea;
|
|
29855
29830
|
}
|
|
29856
29831
|
var ra = {}, Tp;
|
|
29857
|
-
function
|
|
29832
|
+
function xC() {
|
|
29858
29833
|
return Tp || (Tp = 1, (function(t) {
|
|
29859
29834
|
const e = Dn().getSymbolSize;
|
|
29860
29835
|
t.getRowColCoords = function(o) {
|
|
@@ -29875,7 +29850,7 @@ function SC() {
|
|
|
29875
29850
|
})(ra)), ra;
|
|
29876
29851
|
}
|
|
29877
29852
|
var na = {}, Ap;
|
|
29878
|
-
function
|
|
29853
|
+
function OC() {
|
|
29879
29854
|
if (Ap) return na;
|
|
29880
29855
|
Ap = 1;
|
|
29881
29856
|
const t = Dn().getSymbolSize, e = 7;
|
|
@@ -29892,7 +29867,7 @@ function xC() {
|
|
|
29892
29867
|
}, na;
|
|
29893
29868
|
}
|
|
29894
29869
|
var oa = {}, Dp;
|
|
29895
|
-
function
|
|
29870
|
+
function PC() {
|
|
29896
29871
|
return Dp || (Dp = 1, (function(t) {
|
|
29897
29872
|
t.Patterns = {
|
|
29898
29873
|
PATTERN000: 0,
|
|
@@ -30347,7 +30322,7 @@ function ku() {
|
|
|
30347
30322
|
}, Ri;
|
|
30348
30323
|
}
|
|
30349
30324
|
var ia = {}, Do = {}, kp;
|
|
30350
|
-
function
|
|
30325
|
+
function RC() {
|
|
30351
30326
|
if (kp) return Do;
|
|
30352
30327
|
kp = 1;
|
|
30353
30328
|
const t = new Uint8Array(512), e = new Uint8Array(256);
|
|
@@ -30367,9 +30342,9 @@ function PC() {
|
|
|
30367
30342
|
}, Do;
|
|
30368
30343
|
}
|
|
30369
30344
|
var Mp;
|
|
30370
|
-
function
|
|
30345
|
+
function IC() {
|
|
30371
30346
|
return Mp || (Mp = 1, (function(t) {
|
|
30372
|
-
const e =
|
|
30347
|
+
const e = RC();
|
|
30373
30348
|
t.mul = function(o, r) {
|
|
30374
30349
|
const i = new Uint8Array(o.length + r.length - 1);
|
|
30375
30350
|
for (let s = 0; s < o.length; s++)
|
|
@@ -30396,10 +30371,10 @@ function RC() {
|
|
|
30396
30371
|
})(ia)), ia;
|
|
30397
30372
|
}
|
|
30398
30373
|
var sa, Np;
|
|
30399
|
-
function
|
|
30374
|
+
function TC() {
|
|
30400
30375
|
if (Np) return sa;
|
|
30401
30376
|
Np = 1;
|
|
30402
|
-
const t =
|
|
30377
|
+
const t = IC();
|
|
30403
30378
|
function e(n) {
|
|
30404
30379
|
this.genPoly = void 0, this.degree = n, this.degree && this.initialize(this.degree);
|
|
30405
30380
|
}
|
|
@@ -30506,7 +30481,7 @@ function Ln() {
|
|
|
30506
30481
|
})(la)), la;
|
|
30507
30482
|
}
|
|
30508
30483
|
var Bp;
|
|
30509
|
-
function
|
|
30484
|
+
function AC() {
|
|
30510
30485
|
return Bp || (Bp = 1, (function(t) {
|
|
30511
30486
|
const e = Dn(), n = ku(), o = hc(), r = Ln(), i = Mu(), s = 7973, c = e.getBCHDigit(s);
|
|
30512
30487
|
function d(w, _, S) {
|
|
@@ -30572,7 +30547,7 @@ function TC() {
|
|
|
30572
30547
|
})(aa)), aa;
|
|
30573
30548
|
}
|
|
30574
30549
|
var da = {}, Fp;
|
|
30575
|
-
function
|
|
30550
|
+
function DC() {
|
|
30576
30551
|
if (Fp) return da;
|
|
30577
30552
|
Fp = 1;
|
|
30578
30553
|
const t = Dn(), e = 1335, n = 21522, o = t.getBCHDigit(e);
|
|
@@ -30585,7 +30560,7 @@ function AC() {
|
|
|
30585
30560
|
}, da;
|
|
30586
30561
|
}
|
|
30587
30562
|
var pa = {}, ha, zp;
|
|
30588
|
-
function
|
|
30563
|
+
function LC() {
|
|
30589
30564
|
if (zp) return ha;
|
|
30590
30565
|
zp = 1;
|
|
30591
30566
|
const t = Ln();
|
|
@@ -30607,7 +30582,7 @@ function DC() {
|
|
|
30607
30582
|
}, ha = e, ha;
|
|
30608
30583
|
}
|
|
30609
30584
|
var ua, Vp;
|
|
30610
|
-
function
|
|
30585
|
+
function kC() {
|
|
30611
30586
|
if (Vp) return ua;
|
|
30612
30587
|
Vp = 1;
|
|
30613
30588
|
const t = Ln(), e = [
|
|
@@ -30676,7 +30651,7 @@ function LC() {
|
|
|
30676
30651
|
}, ua = n, ua;
|
|
30677
30652
|
}
|
|
30678
30653
|
var ga, Hp;
|
|
30679
|
-
function
|
|
30654
|
+
function MC() {
|
|
30680
30655
|
if (Hp) return ga;
|
|
30681
30656
|
Hp = 1;
|
|
30682
30657
|
const t = Ln();
|
|
@@ -30695,7 +30670,7 @@ function kC() {
|
|
|
30695
30670
|
}, ga = e, ga;
|
|
30696
30671
|
}
|
|
30697
30672
|
var ma, Gp;
|
|
30698
|
-
function
|
|
30673
|
+
function NC() {
|
|
30699
30674
|
if (Gp) return ma;
|
|
30700
30675
|
Gp = 1;
|
|
30701
30676
|
const t = Ln(), e = Dn();
|
|
@@ -30726,7 +30701,7 @@ Make sure your charset is UTF-8`
|
|
|
30726
30701
|
}, ma = n, ma;
|
|
30727
30702
|
}
|
|
30728
30703
|
var fa = { exports: {} }, Kp;
|
|
30729
|
-
function
|
|
30704
|
+
function jC() {
|
|
30730
30705
|
return Kp || (Kp = 1, (function(t) {
|
|
30731
30706
|
var e = {
|
|
30732
30707
|
single_source_shortest_paths: function(n, o, r) {
|
|
@@ -30794,9 +30769,9 @@ function NC() {
|
|
|
30794
30769
|
})(fa)), fa.exports;
|
|
30795
30770
|
}
|
|
30796
30771
|
var Wp;
|
|
30797
|
-
function
|
|
30772
|
+
function UC() {
|
|
30798
30773
|
return Wp || (Wp = 1, (function(t) {
|
|
30799
|
-
const e = Ln(), n =
|
|
30774
|
+
const e = Ln(), n = LC(), o = kC(), r = MC(), i = NC(), s = Nu(), c = Dn(), d = jC();
|
|
30800
30775
|
function g(R) {
|
|
30801
30776
|
return unescape(encodeURIComponent(R)).length;
|
|
30802
30777
|
}
|
|
@@ -30928,10 +30903,10 @@ function jC() {
|
|
|
30928
30903
|
})(pa)), pa;
|
|
30929
30904
|
}
|
|
30930
30905
|
var Yp;
|
|
30931
|
-
function
|
|
30906
|
+
function qC() {
|
|
30932
30907
|
if (Yp) return Qs;
|
|
30933
30908
|
Yp = 1;
|
|
30934
|
-
const t = Dn(), e = hc(), n =
|
|
30909
|
+
const t = Dn(), e = hc(), n = EC(), o = SC(), r = xC(), i = OC(), s = PC(), c = ku(), d = TC(), g = AC(), v = DC(), y = Ln(), w = UC();
|
|
30935
30910
|
function _(k, j) {
|
|
30936
30911
|
const U = k.size, I = i.getPositions(j);
|
|
30937
30912
|
for (let V = 0; V < I.length; V++) {
|
|
@@ -31119,7 +31094,7 @@ function ju() {
|
|
|
31119
31094
|
})(ba)), ba;
|
|
31120
31095
|
}
|
|
31121
31096
|
var Jp;
|
|
31122
|
-
function
|
|
31097
|
+
function BC() {
|
|
31123
31098
|
return Jp || (Jp = 1, (function(t) {
|
|
31124
31099
|
const e = ju();
|
|
31125
31100
|
function n(r, i, s) {
|
|
@@ -31146,7 +31121,7 @@ function qC() {
|
|
|
31146
31121
|
})(va)), va;
|
|
31147
31122
|
}
|
|
31148
31123
|
var ya = {}, Qp;
|
|
31149
|
-
function
|
|
31124
|
+
function FC() {
|
|
31150
31125
|
if (Qp) return ya;
|
|
31151
31126
|
Qp = 1;
|
|
31152
31127
|
const t = ju();
|
|
@@ -31173,10 +31148,10 @@ function BC() {
|
|
|
31173
31148
|
}, ya;
|
|
31174
31149
|
}
|
|
31175
31150
|
var Xp;
|
|
31176
|
-
function
|
|
31151
|
+
function zC() {
|
|
31177
31152
|
if (Xp) return Hn;
|
|
31178
31153
|
Xp = 1;
|
|
31179
|
-
const t =
|
|
31154
|
+
const t = CC(), e = qC(), n = BC(), o = FC();
|
|
31180
31155
|
function r(i, s, c, d, g) {
|
|
31181
31156
|
const v = [].slice.call(arguments, 1), y = v.length, w = typeof v[y - 1] == "function";
|
|
31182
31157
|
if (!w && !t())
|
|
@@ -31208,17 +31183,17 @@ function FC() {
|
|
|
31208
31183
|
return o.render(i, c);
|
|
31209
31184
|
}), Hn;
|
|
31210
31185
|
}
|
|
31211
|
-
var
|
|
31212
|
-
const
|
|
31186
|
+
var VC = zC();
|
|
31187
|
+
const HC = /* @__PURE__ */ $C(VC), Ii = {
|
|
31213
31188
|
url: "",
|
|
31214
31189
|
timeout: 10,
|
|
31215
31190
|
reappearButtonText: "Show QR Code",
|
|
31216
31191
|
errorCorrection: "M"
|
|
31217
31192
|
};
|
|
31218
|
-
var
|
|
31219
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
31193
|
+
var GC = Object.defineProperty, KC = Object.getOwnPropertyDescriptor, Ir = (t, e, n, o) => {
|
|
31194
|
+
for (var r = o > 1 ? void 0 : o ? KC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
31220
31195
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
31221
|
-
return o && r &&
|
|
31196
|
+
return o && r && GC(e, n, r), r;
|
|
31222
31197
|
};
|
|
31223
31198
|
let X = class extends f {
|
|
31224
31199
|
constructor() {
|
|
@@ -31275,7 +31250,7 @@ let X = class extends f {
|
|
|
31275
31250
|
const o = {
|
|
31276
31251
|
errorCorrectionLevel: this.errorCorrection
|
|
31277
31252
|
};
|
|
31278
|
-
|
|
31253
|
+
HC.toCanvas(this._canvasElement, this.url, o, (r) => {
|
|
31279
31254
|
r && (console.warn("QR generation failed:", r), this.emit("pont-qr:error", { error: r, url: this.url }));
|
|
31280
31255
|
});
|
|
31281
31256
|
}
|
|
@@ -31335,7 +31310,7 @@ X.ROOT = "qr-code";
|
|
|
31335
31310
|
X.QR_CANVAS = "canvas";
|
|
31336
31311
|
X.OVERLAY = "overlay";
|
|
31337
31312
|
X.REAPPEAR_BUTTON = "reappear-button";
|
|
31338
|
-
X.TAG = `${
|
|
31313
|
+
X.TAG = `${$t}-${X.ROOT}`;
|
|
31339
31314
|
X.PARTS = {
|
|
31340
31315
|
root: X.ROOT,
|
|
31341
31316
|
canvas: `${X.ROOT}-${X.QR_CANVAS}`,
|
|
@@ -31376,10 +31351,10 @@ const Lo = {
|
|
|
31376
31351
|
account: "",
|
|
31377
31352
|
secretLabel: "Manual secret"
|
|
31378
31353
|
};
|
|
31379
|
-
var
|
|
31380
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
31354
|
+
var WC = Object.defineProperty, YC = Object.getOwnPropertyDescriptor, Xr = (t, e, n, o) => {
|
|
31355
|
+
for (var r = o > 1 ? void 0 : o ? YC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
31381
31356
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
31382
|
-
return o && r &&
|
|
31357
|
+
return o && r && WC(e, n, r), r;
|
|
31383
31358
|
};
|
|
31384
31359
|
let G = class extends _e {
|
|
31385
31360
|
constructor() {
|
|
@@ -31477,7 +31452,7 @@ G.METADATA = "metadata";
|
|
|
31477
31452
|
G.ISSUER = "issuer";
|
|
31478
31453
|
G.ACCOUNT = "account";
|
|
31479
31454
|
G.TOOLTIP = "tooltip";
|
|
31480
|
-
G.TAG = `${
|
|
31455
|
+
G.TAG = `${$t}-${G.ROOT}`;
|
|
31481
31456
|
G.PARTS = {
|
|
31482
31457
|
root: G.ROOT,
|
|
31483
31458
|
card: `${G.ROOT}-${G.CARD}`,
|
|
@@ -31518,10 +31493,10 @@ const _a = {
|
|
|
31518
31493
|
subtitle: "Use these codes if you lose access to your authenticator app.",
|
|
31519
31494
|
codes: []
|
|
31520
31495
|
};
|
|
31521
|
-
var
|
|
31522
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
31496
|
+
var ZC = Object.defineProperty, JC = Object.getOwnPropertyDescriptor, So = (t, e, n, o) => {
|
|
31497
|
+
for (var r = o > 1 ? void 0 : o ? JC(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
31523
31498
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
31524
|
-
return o && r &&
|
|
31499
|
+
return o && r && ZC(e, n, r), r;
|
|
31525
31500
|
};
|
|
31526
31501
|
let H = class extends _e {
|
|
31527
31502
|
constructor() {
|
|
@@ -31645,7 +31620,7 @@ H.BUTTONS = "buttons";
|
|
|
31645
31620
|
H.COPY_BUTTON = "copy-button";
|
|
31646
31621
|
H.DOWNLOAD_BUTTON = "download-button";
|
|
31647
31622
|
H.TOOLTIP = "tooltip";
|
|
31648
|
-
H.TAG = `${
|
|
31623
|
+
H.TAG = `${$t}-${H.ROOT}`;
|
|
31649
31624
|
H.PARTS = {
|
|
31650
31625
|
root: H.ROOT,
|
|
31651
31626
|
card: `${H.ROOT}-${H.CARD}`,
|
|
@@ -31676,7 +31651,7 @@ So([
|
|
|
31676
31651
|
H = So([
|
|
31677
31652
|
p("pont-recovery-codes")
|
|
31678
31653
|
], H);
|
|
31679
|
-
const
|
|
31654
|
+
const QC = {
|
|
31680
31655
|
default: Q`
|
|
31681
31656
|
<circle cx="12" cy="12" r="10"/>
|
|
31682
31657
|
<line x1="12" x2="12" y1="8" y2="12"/>
|
|
@@ -31706,10 +31681,10 @@ const JC = {
|
|
|
31706
31681
|
palette: "default",
|
|
31707
31682
|
variant: "default"
|
|
31708
31683
|
};
|
|
31709
|
-
var
|
|
31710
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
31684
|
+
var XC = Object.defineProperty, tE = Object.getOwnPropertyDescriptor, Tr = (t, e, n, o) => {
|
|
31685
|
+
for (var r = o > 1 ? void 0 : o ? tE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
31711
31686
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
31712
|
-
return o && r &&
|
|
31687
|
+
return o && r && XC(e, n, r), r;
|
|
31713
31688
|
};
|
|
31714
31689
|
let tt = class extends f {
|
|
31715
31690
|
constructor() {
|
|
@@ -31750,7 +31725,7 @@ let tt = class extends f {
|
|
|
31750
31725
|
/* ------------------------------------------------------------ */
|
|
31751
31726
|
_renderIcon() {
|
|
31752
31727
|
if (!this.icon) return h;
|
|
31753
|
-
const t =
|
|
31728
|
+
const t = QC[this.status];
|
|
31754
31729
|
return l`
|
|
31755
31730
|
<svg
|
|
31756
31731
|
id="${this.iconId}"
|
|
@@ -31803,7 +31778,7 @@ tt.ROOT = "alert";
|
|
|
31803
31778
|
tt.ICON = "icon";
|
|
31804
31779
|
tt.TITLE = "title";
|
|
31805
31780
|
tt.DESCRIPTION = "description";
|
|
31806
|
-
tt.TAG = `${
|
|
31781
|
+
tt.TAG = `${$t}-${tt.ROOT}`;
|
|
31807
31782
|
tt.PARTS = {
|
|
31808
31783
|
root: tt.ROOT,
|
|
31809
31784
|
icon: `${tt.ROOT}-${tt.ICON}`,
|
|
@@ -31837,10 +31812,10 @@ Tr([
|
|
|
31837
31812
|
tt = Tr([
|
|
31838
31813
|
p("pont-alert")
|
|
31839
31814
|
], tt);
|
|
31840
|
-
var
|
|
31841
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
31815
|
+
var eE = Object.defineProperty, rE = Object.getOwnPropertyDescriptor, xo = (t, e, n, o) => {
|
|
31816
|
+
for (var r = o > 1 ? void 0 : o ? rE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
31842
31817
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
31843
|
-
return o && r &&
|
|
31818
|
+
return o && r && eE(e, n, r), r;
|
|
31844
31819
|
};
|
|
31845
31820
|
let Cn = class extends _e {
|
|
31846
31821
|
constructor() {
|
|
@@ -31910,14 +31885,14 @@ xo([
|
|
|
31910
31885
|
Cn = xo([
|
|
31911
31886
|
p("pont-countdown")
|
|
31912
31887
|
], Cn);
|
|
31913
|
-
var
|
|
31914
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
31888
|
+
var nE = Object.defineProperty, oE = Object.getOwnPropertyDescriptor, ks = (t, e, n, o) => {
|
|
31889
|
+
for (var r = o > 1 ? void 0 : o ? oE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
31915
31890
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
31916
|
-
return o && r &&
|
|
31891
|
+
return o && r && nE(e, n, r), r;
|
|
31917
31892
|
};
|
|
31918
31893
|
let ri = class extends _e {
|
|
31919
31894
|
constructor() {
|
|
31920
|
-
super(...arguments), this.id = "", this.align = "center", this.justify = "start", this.branding = new
|
|
31895
|
+
super(...arguments), this.id = "", this.align = "center", this.justify = "start", this.branding = new B1(this);
|
|
31921
31896
|
}
|
|
31922
31897
|
createRenderRoot() {
|
|
31923
31898
|
return this;
|
|
@@ -31968,12 +31943,12 @@ ks([
|
|
|
31968
31943
|
ri = ks([
|
|
31969
31944
|
p("pont-block")
|
|
31970
31945
|
], ri);
|
|
31971
|
-
var
|
|
31972
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
31946
|
+
var iE = Object.defineProperty, sE = Object.getOwnPropertyDescriptor, uc = (t, e, n, o) => {
|
|
31947
|
+
for (var r = o > 1 ? void 0 : o ? sE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
31973
31948
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
31974
|
-
return o && r &&
|
|
31949
|
+
return o && r && iE(e, n, r), r;
|
|
31975
31950
|
};
|
|
31976
|
-
const
|
|
31951
|
+
const aE = "data-pont-design", lE = "data-pont-design-empty", cE = "data-pont-container";
|
|
31977
31952
|
let us = class extends _e {
|
|
31978
31953
|
constructor() {
|
|
31979
31954
|
super(...arguments), this.id = "", this.type = "flex_column", this.design = new vi(this);
|
|
@@ -31985,7 +31960,7 @@ let us = class extends _e {
|
|
|
31985
31960
|
* `:scope >` ensures the container finds itself before any container children.
|
|
31986
31961
|
*/
|
|
31987
31962
|
get innerElement() {
|
|
31988
|
-
return this.querySelector(`:scope > [${
|
|
31963
|
+
return this.querySelector(`:scope > [${cE}]`);
|
|
31989
31964
|
}
|
|
31990
31965
|
async firstUpdated() {
|
|
31991
31966
|
await this.updateComplete;
|
|
@@ -32002,8 +31977,8 @@ let us = class extends _e {
|
|
|
32002
31977
|
syncDesignState() {
|
|
32003
31978
|
var e;
|
|
32004
31979
|
const t = this.design.active;
|
|
32005
|
-
this.toggleAttribute(
|
|
32006
|
-
|
|
31980
|
+
this.toggleAttribute(aE, t), this.toggleAttribute(
|
|
31981
|
+
lE,
|
|
32007
31982
|
t && (((e = this.innerElement) == null ? void 0 : e.childElementCount) ?? 0) === 0
|
|
32008
31983
|
);
|
|
32009
31984
|
}
|
|
@@ -32024,10 +31999,10 @@ uc([
|
|
|
32024
31999
|
us = uc([
|
|
32025
32000
|
p("pont-container")
|
|
32026
32001
|
], us);
|
|
32027
|
-
var
|
|
32028
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
32002
|
+
var dE = Object.defineProperty, pE = Object.getOwnPropertyDescriptor, Ms = (t, e, n, o) => {
|
|
32003
|
+
for (var r = o > 1 ? void 0 : o ? pE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
32029
32004
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32030
|
-
return o && r &&
|
|
32005
|
+
return o && r && dE(e, n, r), r;
|
|
32031
32006
|
};
|
|
32032
32007
|
let ni = class extends _e {
|
|
32033
32008
|
constructor() {
|
|
@@ -32069,12 +32044,12 @@ Ms([
|
|
|
32069
32044
|
ni = Ms([
|
|
32070
32045
|
p("pont-gap")
|
|
32071
32046
|
], ni);
|
|
32072
|
-
var
|
|
32073
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
32047
|
+
var hE = Object.defineProperty, uE = Object.getOwnPropertyDescriptor, gc = (t, e, n, o) => {
|
|
32048
|
+
for (var r = o > 1 ? void 0 : o ? uE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
32074
32049
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32075
|
-
return o && r &&
|
|
32050
|
+
return o && r && hE(e, n, r), r;
|
|
32076
32051
|
};
|
|
32077
|
-
const
|
|
32052
|
+
const gE = "data-pont-header";
|
|
32078
32053
|
let gs = class extends _e {
|
|
32079
32054
|
constructor() {
|
|
32080
32055
|
super(...arguments), this.id = "", this.align = "center";
|
|
@@ -32085,7 +32060,7 @@ let gs = class extends _e {
|
|
|
32085
32060
|
* attribute-selector value — an id like `7f3a` made this lookup throw.
|
|
32086
32061
|
*/
|
|
32087
32062
|
get innerElement() {
|
|
32088
|
-
return this.querySelector(`:scope > [${
|
|
32063
|
+
return this.querySelector(`:scope > [${gE}]`);
|
|
32089
32064
|
}
|
|
32090
32065
|
createRenderRoot() {
|
|
32091
32066
|
return this;
|
|
@@ -32113,10 +32088,10 @@ gc([
|
|
|
32113
32088
|
gs = gc([
|
|
32114
32089
|
p("pont-header")
|
|
32115
32090
|
], gs);
|
|
32116
|
-
var
|
|
32117
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
32091
|
+
var mE = Object.defineProperty, fE = Object.getOwnPropertyDescriptor, mc = (t, e, n, o) => {
|
|
32092
|
+
for (var r = o > 1 ? void 0 : o ? fE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
32118
32093
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32119
|
-
return o && r &&
|
|
32094
|
+
return o && r && mE(e, n, r), r;
|
|
32120
32095
|
};
|
|
32121
32096
|
let ms = class extends _e {
|
|
32122
32097
|
get _containerElement() {
|
|
@@ -32144,10 +32119,10 @@ mc([
|
|
|
32144
32119
|
ms = mc([
|
|
32145
32120
|
p("pont-subtitle")
|
|
32146
32121
|
], ms);
|
|
32147
|
-
var
|
|
32148
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
32122
|
+
var vE = Object.defineProperty, bE = Object.getOwnPropertyDescriptor, fc = (t, e, n, o) => {
|
|
32123
|
+
for (var r = o > 1 ? void 0 : o ? bE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
32149
32124
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32150
|
-
return o && r &&
|
|
32125
|
+
return o && r && vE(e, n, r), r;
|
|
32151
32126
|
};
|
|
32152
32127
|
let fs = class extends _e {
|
|
32153
32128
|
get _containerElement() {
|
|
@@ -32188,12 +32163,12 @@ class wl extends ji {
|
|
|
32188
32163
|
}
|
|
32189
32164
|
wl.directiveName = "unsafeSVG", wl.resultType = 2;
|
|
32190
32165
|
const th = ao(wl);
|
|
32191
|
-
var
|
|
32192
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
32166
|
+
var yE = Object.defineProperty, _E = Object.getOwnPropertyDescriptor, tn = (t, e, n, o) => {
|
|
32167
|
+
for (var r = o > 1 ? void 0 : o ? _E(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
32193
32168
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32194
|
-
return o && r &&
|
|
32169
|
+
return o && r && yE(e, n, r), r;
|
|
32195
32170
|
};
|
|
32196
|
-
const
|
|
32171
|
+
const wE = `
|
|
32197
32172
|
<svg viewBox="0 0 120 32" role="img" aria-label="Logo placeholder"
|
|
32198
32173
|
xmlns="http://www.w3.org/2000/svg" width="120" height="32">
|
|
32199
32174
|
<rect x="0.75" y="0.75" width="118.5" height="30.5" rx="6"
|
|
@@ -32242,7 +32217,7 @@ let xr = class extends _e {
|
|
|
32242
32217
|
if (!t && this.design.active)
|
|
32243
32218
|
return this.isSvg = !0, l`
|
|
32244
32219
|
<div class="pont-logo-wrapper" part=${this.id ? this.id : "logo"}>
|
|
32245
|
-
${th(
|
|
32220
|
+
${th(wE)}
|
|
32246
32221
|
</div>
|
|
32247
32222
|
`;
|
|
32248
32223
|
const e = t ? Q1(t) : null;
|
|
@@ -32288,10 +32263,10 @@ const Ti = {
|
|
|
32288
32263
|
logoAlign: "end",
|
|
32289
32264
|
label: "Powered by"
|
|
32290
32265
|
};
|
|
32291
|
-
var
|
|
32292
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
32266
|
+
var $E = Object.defineProperty, CE = Object.getOwnPropertyDescriptor, Oo = (t, e, n, o) => {
|
|
32267
|
+
for (var r = o > 1 ? void 0 : o ? CE(e, n) : e, i = t.length - 1, s; i >= 0; i--)
|
|
32293
32268
|
(s = t[i]) && (r = (o ? s(e, n, r) : s(r)) || r);
|
|
32294
|
-
return o && r &&
|
|
32269
|
+
return o && r && $E(e, n, r), r;
|
|
32295
32270
|
};
|
|
32296
32271
|
let vt = class extends f {
|
|
32297
32272
|
constructor() {
|
|
@@ -32367,7 +32342,7 @@ let vt = class extends f {
|
|
|
32367
32342
|
vt.ROOT = "watermark";
|
|
32368
32343
|
vt.LABEL = "label";
|
|
32369
32344
|
vt.LOGO = "logo";
|
|
32370
|
-
vt.TAG = `${
|
|
32345
|
+
vt.TAG = `${$t}-${vt.ROOT}`;
|
|
32371
32346
|
vt.PARTS = {
|
|
32372
32347
|
root: vt.ROOT,
|
|
32373
32348
|
label: `${vt.ROOT}-${vt.LABEL}`,
|
|
@@ -32391,7 +32366,7 @@ Oo([
|
|
|
32391
32366
|
vt = Oo([
|
|
32392
32367
|
p("pont-watermark")
|
|
32393
32368
|
], vt);
|
|
32394
|
-
function
|
|
32369
|
+
function NE() {
|
|
32395
32370
|
return _t;
|
|
32396
32371
|
}
|
|
32397
32372
|
export {
|
|
@@ -32453,10 +32428,10 @@ export {
|
|
|
32453
32428
|
fl as SignedIn,
|
|
32454
32429
|
ml as SignedOut,
|
|
32455
32430
|
Tu as closeAccountSettingsModal,
|
|
32456
|
-
|
|
32457
|
-
|
|
32458
|
-
|
|
32459
|
-
|
|
32460
|
-
|
|
32431
|
+
K0 as closeMemberManagementModal,
|
|
32432
|
+
H0 as openAccountSettingsModal,
|
|
32433
|
+
G0 as openMemberManagementModal,
|
|
32434
|
+
W0 as setLocales,
|
|
32435
|
+
NE as useAuthProvider
|
|
32461
32436
|
};
|
|
32462
32437
|
//# sourceMappingURL=index.mjs.map
|