@aws-amplify/ui-vue 2.2.2 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/authenticator-sign-up-form-fields.vue.d.ts.map +1 -1
- package/dist/index.cjs +17 -17
- package/dist/index.js +840 -799
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const _hoisted_1$c = {
|
|
|
67
67
|
style: { "align-items": "center", "justify-content": "space-between" },
|
|
68
68
|
role: "alert"
|
|
69
69
|
};
|
|
70
|
-
const _hoisted_2$
|
|
70
|
+
const _hoisted_2$8 = {
|
|
71
71
|
class: "amplify-flex",
|
|
72
72
|
style: { "align-items": "center" }
|
|
73
73
|
};
|
|
@@ -96,7 +96,7 @@ const _sfc_main$w = {
|
|
|
96
96
|
return (_ctx, _cache) => {
|
|
97
97
|
const _component_amplify_button = _sfc_main$x;
|
|
98
98
|
return show.value ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
99
|
-
createElementVNode("div", _hoisted_2$
|
|
99
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
100
100
|
_hoisted_3$5,
|
|
101
101
|
createElementVNode("div", null, [
|
|
102
102
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -253,7 +253,7 @@ function getRawTag$1(value) {
|
|
|
253
253
|
try {
|
|
254
254
|
value[symToStringTag$1] = void 0;
|
|
255
255
|
var unmasked = true;
|
|
256
|
-
} catch (
|
|
256
|
+
} catch (e) {
|
|
257
257
|
}
|
|
258
258
|
var result = nativeObjectToString$1.call(value);
|
|
259
259
|
if (unmasked) {
|
|
@@ -476,7 +476,7 @@ var _nodeUtil = { exports: {} };
|
|
|
476
476
|
return types2;
|
|
477
477
|
}
|
|
478
478
|
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
479
|
-
} catch (
|
|
479
|
+
} catch (e) {
|
|
480
480
|
}
|
|
481
481
|
}();
|
|
482
482
|
module.exports = nodeUtil2;
|
|
@@ -577,63 +577,63 @@ var __assign$5 = function() {
|
|
|
577
577
|
};
|
|
578
578
|
return __assign$5.apply(this, arguments);
|
|
579
579
|
};
|
|
580
|
-
function __rest$1(s,
|
|
580
|
+
function __rest$1(s, e) {
|
|
581
581
|
var t = {};
|
|
582
582
|
for (var p in s)
|
|
583
|
-
if (Object.prototype.hasOwnProperty.call(s, p) &&
|
|
583
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
584
584
|
t[p] = s[p];
|
|
585
585
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
586
586
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
587
|
-
if (
|
|
587
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
588
588
|
t[p[i]] = s[p[i]];
|
|
589
589
|
}
|
|
590
590
|
return t;
|
|
591
591
|
}
|
|
592
|
-
function __values(
|
|
593
|
-
var s = typeof Symbol === "function" && Symbol.iterator,
|
|
594
|
-
if (
|
|
595
|
-
return
|
|
596
|
-
if (
|
|
592
|
+
function __values(o2) {
|
|
593
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o2[s], i = 0;
|
|
594
|
+
if (m)
|
|
595
|
+
return m.call(o2);
|
|
596
|
+
if (o2 && typeof o2.length === "number")
|
|
597
597
|
return {
|
|
598
598
|
next: function() {
|
|
599
|
-
if (
|
|
600
|
-
|
|
601
|
-
return { value:
|
|
599
|
+
if (o2 && i >= o2.length)
|
|
600
|
+
o2 = void 0;
|
|
601
|
+
return { value: o2 && o2[i++], done: !o2 };
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
605
605
|
}
|
|
606
|
-
function __read(
|
|
607
|
-
var
|
|
608
|
-
if (!
|
|
609
|
-
return
|
|
610
|
-
var i =
|
|
606
|
+
function __read(o2, n) {
|
|
607
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
608
|
+
if (!m)
|
|
609
|
+
return o2;
|
|
610
|
+
var i = m.call(o2), r, ar2 = [], e;
|
|
611
611
|
try {
|
|
612
612
|
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
613
|
-
|
|
613
|
+
ar2.push(r.value);
|
|
614
614
|
} catch (error2) {
|
|
615
|
-
|
|
615
|
+
e = { error: error2 };
|
|
616
616
|
} finally {
|
|
617
617
|
try {
|
|
618
|
-
if (r && !r.done && (
|
|
619
|
-
|
|
618
|
+
if (r && !r.done && (m = i["return"]))
|
|
619
|
+
m.call(i);
|
|
620
620
|
} finally {
|
|
621
|
-
if (
|
|
622
|
-
throw
|
|
621
|
+
if (e)
|
|
622
|
+
throw e.error;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
return
|
|
625
|
+
return ar2;
|
|
626
626
|
}
|
|
627
627
|
function __spreadArray(to2, from, pack) {
|
|
628
628
|
if (pack || arguments.length === 2)
|
|
629
|
-
for (var i = 0, l = from.length,
|
|
630
|
-
if (
|
|
631
|
-
if (!
|
|
632
|
-
|
|
633
|
-
|
|
629
|
+
for (var i = 0, l = from.length, ar2; i < l; i++) {
|
|
630
|
+
if (ar2 || !(i in from)) {
|
|
631
|
+
if (!ar2)
|
|
632
|
+
ar2 = Array.prototype.slice.call(from, 0, i);
|
|
633
|
+
ar2[i] = from[i];
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
return to2.concat(
|
|
636
|
+
return to2.concat(ar2 || Array.prototype.slice.call(from));
|
|
637
637
|
}
|
|
638
638
|
var STATE_DELIMITER$1 = ".";
|
|
639
639
|
var EMPTY_ACTIVITY_MAP$1 = {};
|
|
@@ -669,7 +669,7 @@ function matchesState(parentStateId, childStateId, delimiter) {
|
|
|
669
669
|
function getEventType(event) {
|
|
670
670
|
try {
|
|
671
671
|
return isString$1(event) || typeof event === "number" ? "".concat(event) : event.type;
|
|
672
|
-
} catch (
|
|
672
|
+
} catch (e) {
|
|
673
673
|
throw new Error("Events must be strings or objects with a string event.type property.");
|
|
674
674
|
}
|
|
675
675
|
}
|
|
@@ -679,7 +679,7 @@ function toStatePath(stateId, delimiter) {
|
|
|
679
679
|
return stateId;
|
|
680
680
|
}
|
|
681
681
|
return stateId.toString().split(delimiter);
|
|
682
|
-
} catch (
|
|
682
|
+
} catch (e) {
|
|
683
683
|
throw new Error("'".concat(stateId, "' is not a valid state path."));
|
|
684
684
|
}
|
|
685
685
|
}
|
|
@@ -1000,7 +1000,7 @@ function toGuard(condition, guardMap) {
|
|
|
1000
1000
|
function isObservable(value) {
|
|
1001
1001
|
try {
|
|
1002
1002
|
return "subscribe" in value && isFunction$2(value.subscribe);
|
|
1003
|
-
} catch (
|
|
1003
|
+
} catch (e) {
|
|
1004
1004
|
return false;
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
@@ -1013,7 +1013,7 @@ var interopSymbols = (_a = {}, _a[symbolObservable] = function() {
|
|
|
1013
1013
|
function isMachine(value) {
|
|
1014
1014
|
try {
|
|
1015
1015
|
return "__xstatenode" in value;
|
|
1016
|
-
} catch (
|
|
1016
|
+
} catch (e) {
|
|
1017
1017
|
return false;
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
@@ -1455,10 +1455,10 @@ function getConfiguration(prevStateNodes, stateNodes) {
|
|
|
1455
1455
|
try {
|
|
1456
1456
|
for (var configuration_1 = __values(configuration), configuration_1_1 = configuration_1.next(); !configuration_1_1.done; configuration_1_1 = configuration_1.next()) {
|
|
1457
1457
|
var s = configuration_1_1.value;
|
|
1458
|
-
var
|
|
1459
|
-
while (
|
|
1460
|
-
configuration.add(
|
|
1461
|
-
|
|
1458
|
+
var m = s.parent;
|
|
1459
|
+
while (m && !configuration.has(m)) {
|
|
1460
|
+
configuration.add(m);
|
|
1461
|
+
m = m.parent;
|
|
1462
1462
|
}
|
|
1463
1463
|
}
|
|
1464
1464
|
} catch (e_1_1) {
|
|
@@ -1541,10 +1541,10 @@ function getConfiguration(prevStateNodes, stateNodes) {
|
|
|
1541
1541
|
try {
|
|
1542
1542
|
for (var configuration_3 = __values(configuration), configuration_3_1 = configuration_3.next(); !configuration_3_1.done; configuration_3_1 = configuration_3.next()) {
|
|
1543
1543
|
var s = configuration_3_1.value;
|
|
1544
|
-
var
|
|
1545
|
-
while (
|
|
1546
|
-
configuration.add(
|
|
1547
|
-
|
|
1544
|
+
var m = s.parent;
|
|
1545
|
+
while (m && !configuration.has(m)) {
|
|
1546
|
+
configuration.add(m);
|
|
1547
|
+
m = m.parent;
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
1550
1550
|
} catch (e_4_1) {
|
|
@@ -1898,7 +1898,7 @@ function createDeferredActor(entity, id, data) {
|
|
|
1898
1898
|
function isActor(item) {
|
|
1899
1899
|
try {
|
|
1900
1900
|
return typeof item.send === "function";
|
|
1901
|
-
} catch (
|
|
1901
|
+
} catch (e) {
|
|
1902
1902
|
return false;
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
@@ -2702,7 +2702,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2702
2702
|
if (typeof statePath === "string" && isStateId(statePath)) {
|
|
2703
2703
|
try {
|
|
2704
2704
|
return this.getStateNodeById(statePath.slice(1));
|
|
2705
|
-
} catch (
|
|
2705
|
+
} catch (e) {
|
|
2706
2706
|
}
|
|
2707
2707
|
}
|
|
2708
2708
|
var arrayStatePath = toStatePath(statePath, this.delimiter).slice();
|
|
@@ -3142,9 +3142,9 @@ var Scheduler = /* @__PURE__ */ function() {
|
|
|
3142
3142
|
this.processingEvent = true;
|
|
3143
3143
|
try {
|
|
3144
3144
|
callback();
|
|
3145
|
-
} catch (
|
|
3145
|
+
} catch (e) {
|
|
3146
3146
|
this.clear();
|
|
3147
|
-
throw
|
|
3147
|
+
throw e;
|
|
3148
3148
|
} finally {
|
|
3149
3149
|
this.processingEvent = false;
|
|
3150
3150
|
}
|
|
@@ -3614,8 +3614,8 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3614
3614
|
}
|
|
3615
3615
|
}
|
|
3616
3616
|
try {
|
|
3617
|
-
for (var _m = __values(this.doneListeners),
|
|
3618
|
-
var listener =
|
|
3617
|
+
for (var _m = __values(this.doneListeners), _o2 = _m.next(); !_o2.done; _o2 = _m.next()) {
|
|
3618
|
+
var listener = _o2.value;
|
|
3619
3619
|
this.doneListeners.delete(listener);
|
|
3620
3620
|
}
|
|
3621
3621
|
} catch (e_9_1) {
|
|
@@ -3624,7 +3624,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3624
3624
|
};
|
|
3625
3625
|
} finally {
|
|
3626
3626
|
try {
|
|
3627
|
-
if (
|
|
3627
|
+
if (_o2 && !_o2.done && (_d = _m.return))
|
|
3628
3628
|
_d.call(_m);
|
|
3629
3629
|
} finally {
|
|
3630
3630
|
if (e_9)
|
|
@@ -4036,15 +4036,15 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
4036
4036
|
var receivers = new Set();
|
|
4037
4037
|
var listeners = new Set();
|
|
4038
4038
|
var emitted;
|
|
4039
|
-
var receive = function(
|
|
4040
|
-
emitted =
|
|
4039
|
+
var receive = function(e) {
|
|
4040
|
+
emitted = e;
|
|
4041
4041
|
listeners.forEach(function(listener) {
|
|
4042
|
-
return listener(
|
|
4042
|
+
return listener(e);
|
|
4043
4043
|
});
|
|
4044
4044
|
if (canceled) {
|
|
4045
4045
|
return;
|
|
4046
4046
|
}
|
|
4047
|
-
_this.send(toSCXMLEvent(
|
|
4047
|
+
_this.send(toSCXMLEvent(e, {
|
|
4048
4048
|
origin: id
|
|
4049
4049
|
}));
|
|
4050
4050
|
};
|
|
@@ -4287,63 +4287,63 @@ var _tslib$1 = {};
|
|
|
4287
4287
|
};
|
|
4288
4288
|
return exports.__assign.apply(this, arguments);
|
|
4289
4289
|
};
|
|
4290
|
-
function __rest2(s,
|
|
4290
|
+
function __rest2(s, e) {
|
|
4291
4291
|
var t = {};
|
|
4292
4292
|
for (var p in s)
|
|
4293
|
-
if (Object.prototype.hasOwnProperty.call(s, p) &&
|
|
4293
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4294
4294
|
t[p] = s[p];
|
|
4295
4295
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4296
4296
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4297
|
-
if (
|
|
4297
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4298
4298
|
t[p[i]] = s[p[i]];
|
|
4299
4299
|
}
|
|
4300
4300
|
return t;
|
|
4301
4301
|
}
|
|
4302
|
-
function __values2(
|
|
4303
|
-
var s = typeof Symbol === "function" && Symbol.iterator,
|
|
4304
|
-
if (
|
|
4305
|
-
return
|
|
4306
|
-
if (
|
|
4302
|
+
function __values2(o2) {
|
|
4303
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o2[s], i = 0;
|
|
4304
|
+
if (m)
|
|
4305
|
+
return m.call(o2);
|
|
4306
|
+
if (o2 && typeof o2.length === "number")
|
|
4307
4307
|
return {
|
|
4308
4308
|
next: function() {
|
|
4309
|
-
if (
|
|
4310
|
-
|
|
4311
|
-
return { value:
|
|
4309
|
+
if (o2 && i >= o2.length)
|
|
4310
|
+
o2 = void 0;
|
|
4311
|
+
return { value: o2 && o2[i++], done: !o2 };
|
|
4312
4312
|
}
|
|
4313
4313
|
};
|
|
4314
4314
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4315
4315
|
}
|
|
4316
|
-
function __read2(
|
|
4317
|
-
var
|
|
4318
|
-
if (!
|
|
4319
|
-
return
|
|
4320
|
-
var i =
|
|
4316
|
+
function __read2(o2, n) {
|
|
4317
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
4318
|
+
if (!m)
|
|
4319
|
+
return o2;
|
|
4320
|
+
var i = m.call(o2), r, ar2 = [], e;
|
|
4321
4321
|
try {
|
|
4322
4322
|
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
4323
|
-
|
|
4323
|
+
ar2.push(r.value);
|
|
4324
4324
|
} catch (error2) {
|
|
4325
|
-
|
|
4325
|
+
e = { error: error2 };
|
|
4326
4326
|
} finally {
|
|
4327
4327
|
try {
|
|
4328
|
-
if (r && !r.done && (
|
|
4329
|
-
|
|
4328
|
+
if (r && !r.done && (m = i["return"]))
|
|
4329
|
+
m.call(i);
|
|
4330
4330
|
} finally {
|
|
4331
|
-
if (
|
|
4332
|
-
throw
|
|
4331
|
+
if (e)
|
|
4332
|
+
throw e.error;
|
|
4333
4333
|
}
|
|
4334
4334
|
}
|
|
4335
|
-
return
|
|
4335
|
+
return ar2;
|
|
4336
4336
|
}
|
|
4337
4337
|
function __spreadArray2(to2, from, pack) {
|
|
4338
4338
|
if (pack || arguments.length === 2)
|
|
4339
|
-
for (var i = 0, l = from.length,
|
|
4340
|
-
if (
|
|
4341
|
-
if (!
|
|
4342
|
-
|
|
4343
|
-
|
|
4339
|
+
for (var i = 0, l = from.length, ar2; i < l; i++) {
|
|
4340
|
+
if (ar2 || !(i in from)) {
|
|
4341
|
+
if (!ar2)
|
|
4342
|
+
ar2 = Array.prototype.slice.call(from, 0, i);
|
|
4343
|
+
ar2[i] = from[i];
|
|
4344
4344
|
}
|
|
4345
4345
|
}
|
|
4346
|
-
return to2.concat(
|
|
4346
|
+
return to2.concat(ar2 || Array.prototype.slice.call(from));
|
|
4347
4347
|
}
|
|
4348
4348
|
exports.__read = __read2;
|
|
4349
4349
|
exports.__rest = __rest2;
|
|
@@ -4399,7 +4399,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4399
4399
|
function getEventType2(event) {
|
|
4400
4400
|
try {
|
|
4401
4401
|
return isString2(event) || typeof event === "number" ? "".concat(event) : event.type;
|
|
4402
|
-
} catch (
|
|
4402
|
+
} catch (e) {
|
|
4403
4403
|
throw new Error("Events must be strings or objects with a string event.type property.");
|
|
4404
4404
|
}
|
|
4405
4405
|
}
|
|
@@ -4409,7 +4409,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4409
4409
|
return stateId;
|
|
4410
4410
|
}
|
|
4411
4411
|
return stateId.toString().split(delimiter);
|
|
4412
|
-
} catch (
|
|
4412
|
+
} catch (e) {
|
|
4413
4413
|
throw new Error("'".concat(stateId, "' is not a valid state path."));
|
|
4414
4414
|
}
|
|
4415
4415
|
}
|
|
@@ -4748,7 +4748,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4748
4748
|
function isObservable2(value) {
|
|
4749
4749
|
try {
|
|
4750
4750
|
return "subscribe" in value && isFunction2(value.subscribe);
|
|
4751
|
-
} catch (
|
|
4751
|
+
} catch (e) {
|
|
4752
4752
|
return false;
|
|
4753
4753
|
}
|
|
4754
4754
|
}
|
|
@@ -4761,7 +4761,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
|
|
|
4761
4761
|
function isMachine2(value) {
|
|
4762
4762
|
try {
|
|
4763
4763
|
return "__xstatenode" in value;
|
|
4764
|
-
} catch (
|
|
4764
|
+
} catch (e) {
|
|
4765
4765
|
return false;
|
|
4766
4766
|
}
|
|
4767
4767
|
}
|
|
@@ -5377,11 +5377,11 @@ function toSource$2(func) {
|
|
|
5377
5377
|
if (func != null) {
|
|
5378
5378
|
try {
|
|
5379
5379
|
return funcToString$2.call(func);
|
|
5380
|
-
} catch (
|
|
5380
|
+
} catch (e) {
|
|
5381
5381
|
}
|
|
5382
5382
|
try {
|
|
5383
5383
|
return func + "";
|
|
5384
|
-
} catch (
|
|
5384
|
+
} catch (e) {
|
|
5385
5385
|
}
|
|
5386
5386
|
}
|
|
5387
5387
|
return "";
|
|
@@ -5834,7 +5834,7 @@ var defineProperty$2 = function() {
|
|
|
5834
5834
|
var func = getNative(Object, "defineProperty");
|
|
5835
5835
|
func({}, "", {});
|
|
5836
5836
|
return func;
|
|
5837
|
-
} catch (
|
|
5837
|
+
} catch (e) {
|
|
5838
5838
|
}
|
|
5839
5839
|
}();
|
|
5840
5840
|
var _defineProperty = defineProperty$2;
|
|
@@ -7542,238 +7542,238 @@ function usesReference(value, regexOrOptions = {}) {
|
|
|
7542
7542
|
return false;
|
|
7543
7543
|
}
|
|
7544
7544
|
var usesReference_1 = usesReference;
|
|
7545
|
-
var
|
|
7546
|
-
var
|
|
7545
|
+
var Jr = Object.defineProperty, ea = Object.defineProperties;
|
|
7546
|
+
var oa = Object.getOwnPropertyDescriptors;
|
|
7547
7547
|
var H = Object.getOwnPropertySymbols;
|
|
7548
|
-
var
|
|
7549
|
-
var
|
|
7550
|
-
for (var a in
|
|
7551
|
-
|
|
7548
|
+
var Ae = Object.prototype.hasOwnProperty, Te = Object.prototype.propertyIsEnumerable;
|
|
7549
|
+
var De = (r, e, a) => e in r ? Jr(r, e, { enumerable: true, configurable: true, writable: true, value: a }) : r[e] = a, v = (r, e) => {
|
|
7550
|
+
for (var a in e || (e = {}))
|
|
7551
|
+
Ae.call(e, a) && De(r, a, e[a]);
|
|
7552
7552
|
if (H)
|
|
7553
|
-
for (var a of H(
|
|
7554
|
-
|
|
7553
|
+
for (var a of H(e))
|
|
7554
|
+
Te.call(e, a) && De(r, a, e[a]);
|
|
7555
7555
|
return r;
|
|
7556
|
-
}, C = (r,
|
|
7557
|
-
var q = (r,
|
|
7556
|
+
}, C = (r, e) => ea(r, oa(e));
|
|
7557
|
+
var q = (r, e) => {
|
|
7558
7558
|
var a = {};
|
|
7559
7559
|
for (var t in r)
|
|
7560
|
-
|
|
7560
|
+
Ae.call(r, t) && e.indexOf(t) < 0 && (a[t] = r[t]);
|
|
7561
7561
|
if (r != null && H)
|
|
7562
7562
|
for (var t of H(r))
|
|
7563
|
-
|
|
7563
|
+
e.indexOf(t) < 0 && Te.call(r, t) && (a[t] = r[t]);
|
|
7564
7564
|
return a;
|
|
7565
7565
|
};
|
|
7566
|
-
var
|
|
7567
|
-
var c = (r,
|
|
7568
|
-
var
|
|
7566
|
+
var ra = (r, e) => () => (r && (e = r(r = 0)), e);
|
|
7567
|
+
var c = (r, e) => () => (e || r((e = { exports: {} }).exports, e), e.exports);
|
|
7568
|
+
var o = ra(() => {
|
|
7569
7569
|
});
|
|
7570
|
-
var
|
|
7571
|
-
|
|
7572
|
-
|
|
7570
|
+
var Do = c((gi, To) => {
|
|
7571
|
+
o();
|
|
7572
|
+
To.exports = { alignItems: { value: "center" }, justifyContent: { value: "space-between" }, color: { value: "{colors.font.primary.value}" }, backgroundColor: { value: "{colors.background.tertiary.value}" }, paddingBlock: { value: "{space.small.value}" }, paddingInline: { value: "{space.medium.value}" }, icon: { size: { value: "{fontSizes.xl.value}" } }, heading: { fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" } }, info: { color: { value: "{colors.font.info.value}" }, backgroundColor: { value: "{colors.background.info.value}" } }, error: { color: { value: "{colors.font.error.value}" }, backgroundColor: { value: "{colors.background.error.value}" } }, warning: { color: { value: "{colors.font.warning.value}" }, backgroundColor: { value: "{colors.background.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" }, backgroundColor: { value: "{colors.background.success.value}" } } };
|
|
7573
7573
|
});
|
|
7574
|
-
var
|
|
7575
|
-
|
|
7576
|
-
|
|
7574
|
+
var Io = c((fi, Eo) => {
|
|
7575
|
+
o();
|
|
7576
|
+
Eo.exports = { maxWidth: { value: "60rem" }, modal: { width: { value: "{space.relative.full}" }, height: { value: "{space.relative.full}" }, backgroundColor: { value: "{colors.overlay.50.value}" }, top: { value: "{space.zero}" }, left: { value: "{space.zero}" } }, container: { widthMax: { value: "30rem" } }, router: { borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, backgroundColor: { value: "{colors.background.primary.value}" }, boxShadow: { value: "{shadows.medium.value}" } }, footer: { paddingBottom: { value: "{space.medium.value}" } }, form: { padding: { value: "{space.xl.value}" } }, state: { inactive: { backgroundColor: { value: "{colors.background.secondary.value}" } } }, orContainer: { color: { value: "{colors.neutral.80.value}" }, orLine: { backgroundColor: { value: "{colors.background.primary.value}" } } } };
|
|
7577
7577
|
});
|
|
7578
|
-
var
|
|
7579
|
-
|
|
7580
|
-
|
|
7578
|
+
var Ro = c((hi, Po) => {
|
|
7579
|
+
o();
|
|
7580
|
+
Po.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value: 1 }, fontWeight: { value: "{fontWeights.semibold.value}" }, fontSize: { value: "{fontSizes.small.value}" }, textAlign: { value: "center" }, paddingVertical: { value: "{space.xs.value}" }, paddingHorizontal: { value: "{space.small.value}" }, backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "{radii.xl.value}" }, info: { color: { value: "{colors.font.info.value}" }, backgroundColor: { value: "{colors.background.info.value}" } }, warning: { color: { value: "{colors.font.warning.value}" }, backgroundColor: { value: "{colors.background.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" }, backgroundColor: { value: "{colors.background.success.value}" } }, error: { color: { value: "{colors.font.error.value}" }, backgroundColor: { value: "{colors.background.error.value}" } }, small: { fontSize: { value: "{fontSizes.xs.value}" }, paddingVertical: { value: "{space.xxs.value}" }, paddingHorizontal: { value: "{space.xs.value}" } }, large: { fontSize: { value: "{fontSizes.medium.value}" }, paddingVertical: { value: "{space.small.value}" }, paddingHorizontal: { value: "{space.medium.value}" } } };
|
|
7581
7581
|
});
|
|
7582
|
-
var
|
|
7583
|
-
|
|
7584
|
-
|
|
7582
|
+
var Uo = c((bi, Wo) => {
|
|
7583
|
+
o();
|
|
7584
|
+
Wo.exports = { fontWeight: { value: "{fontWeights.bold.value}" }, transitionDuration: { value: "{components.fieldcontrol.transitionDuration.value}" }, fontSize: { value: "{components.fieldcontrol.fontSize.value}" }, lineHeight: { value: "{components.fieldcontrol.lineHeight.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.paddingInlineEnd.value}" }, borderColor: { value: "{components.fieldcontrol.borderColor.value}" }, borderWidth: { value: "{components.fieldcontrol.borderWidth.value}" }, borderStyle: { value: "{components.fieldcontrol.borderStyle.value}" }, borderRadius: { value: "{components.fieldcontrol.borderRadius.value}" }, color: { value: "{colors.font.primary.value}" }, _hover: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.brand.primary.60.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { color: { value: "{colors.font.active.value}" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, borderColor: { value: "{colors.brand.primary.100.value}" } }, _loading: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } }, primary: { borderColor: { value: "transparent" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, backgroundColor: { value: "{colors.brand.primary.80.value}" }, color: { value: "{colors.font.inverse.value}" }, _disabled: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.background.disabled.value}" }, color: { value: "{colors.font.disabled.value}" } }, _loading: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.background.disabled.value}" }, color: { value: "{colors.font.disabled.value}" } }, _hover: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.90.value}" }, color: { value: "{colors.font.inverse.value}" } }, _focus: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.90.value}" }, color: { value: "{colors.font.inverse.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.100.value}" }, color: { value: "{colors.font.inverse.value}" } } }, menu: { borderWidth: { value: 0 }, backgroundColor: { value: "transparent" }, justifyContent: { value: "start" }, _hover: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.80.value}" } }, _focus: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.80.value}" } }, _active: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.90.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" } } }, link: { borderWidth: { value: 0 }, borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.interactive.value}" }, _hover: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, color: { value: "{colors.font.hover.value}" } }, _focus: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, color: { value: "{colors.font.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, color: { value: "{colors.font.active.value}" } }, _disabled: { borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.disabled.value}" } }, _loading: { borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.disabled.value}" } } }, small: { fontSize: { value: "{components.fieldcontrol.small.fontSize.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.small.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.small.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.small.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.small.paddingInlineEnd.value}" } }, large: { fontSize: { value: "{components.fieldcontrol.large.fontSize.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.large.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.large.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.large.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.large.paddingInlineEnd.value}" } }, loaderWrapper: { alignItems: { value: "center" }, gap: { value: "{space.xs.value}" } } };
|
|
7585
7585
|
});
|
|
7586
|
-
var
|
|
7587
|
-
|
|
7588
|
-
|
|
7586
|
+
var _o = c((Si, Vo) => {
|
|
7587
|
+
o();
|
|
7588
|
+
Vo.exports = { backgroundColor: { value: "{colors.background.primary.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" }, padding: { value: "{space.medium.value}" }, outlined: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, boxShadow: { value: "{components.card.boxShadow.value}" } }, elevated: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "{shadows.medium.value}" } } };
|
|
7589
7589
|
});
|
|
7590
|
-
var
|
|
7591
|
-
|
|
7592
|
-
|
|
7590
|
+
var Oo = c((yi, Fo) => {
|
|
7591
|
+
o();
|
|
7592
|
+
Fo.exports = { cursor: { value: "pointer" }, alignItems: { value: "center" }, _disabled: { cursor: { value: "not-allowed" } }, button: { position: { value: "relative" }, alignItems: { value: "center" }, justifyContent: { value: "center" }, color: { value: "{colors.white.value}" }, before: { width: { value: "100%" }, height: { value: "100%" }, borderWidth: { value: "{borderWidths.medium.value}" }, borderRadius: { value: "20%" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" } }, _focus: { outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, borderColor: { value: "{colors.transparent.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "2px", color: "{colors.border.focus.value}" } } }, _disabled: { borderColor: { value: "{colors.border.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { borderColor: { value: "{colors.transparent.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "2px", color: "{colors.border.error.value}" } } } } }, icon: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "20%" }, opacity: { value: "{opacities.0.value}" }, transform: { value: "scale(0)" }, transitionProperty: { value: "all" }, transitionDuration: { value: "{time.short.value}" }, transitionTimingFunction: { value: "ease-in-out" }, _checked: { opacity: { value: "{opacities.100.value}" }, transform: { value: "scale(1)" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } } }, label: { _disabled: { color: { value: "{colors.font.disabled.value}" } } } };
|
|
7593
7593
|
});
|
|
7594
|
-
var
|
|
7595
|
-
|
|
7596
|
-
|
|
7594
|
+
var zo = c((Ci, No) => {
|
|
7595
|
+
o();
|
|
7596
|
+
No.exports = { alignItems: { value: "flex-start" }, alignContent: { value: "center" }, flexDirection: { value: "column" }, justifyContent: { value: "center" } };
|
|
7597
7597
|
});
|
|
7598
|
-
var
|
|
7599
|
-
|
|
7600
|
-
|
|
7598
|
+
var Bo = c((ki, Mo) => {
|
|
7599
|
+
o();
|
|
7600
|
+
Mo.exports = { fontSize: { value: "{font.sizes.xs.value}" }, gap: { value: "{space.relative.medium.value}" }, svg: { path: { fill: { value: "{colors.font.primary}" } } }, toolTip: { bottom: { value: "{space.large}" }, color: { value: "{colors.teal.100}" }, fontSize: { value: "{font.sizes.xxs}" } } };
|
|
7601
7601
|
});
|
|
7602
|
-
var
|
|
7603
|
-
|
|
7604
|
-
|
|
7602
|
+
var Lo = c((wi, Go) => {
|
|
7603
|
+
o();
|
|
7604
|
+
Go.exports = { height: { value: "100%" } };
|
|
7605
7605
|
});
|
|
7606
|
-
var
|
|
7607
|
-
|
|
7608
|
-
|
|
7606
|
+
var qo = c((xi, Ho) => {
|
|
7607
|
+
o();
|
|
7608
|
+
Ho.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.medium.value}" }, label: { color: { value: "{colors.font.tertiary.value}" }, paddingInline: { value: "{space.medium.value}" }, fontSize: { value: "{fontSizes.small.value}" }, backgroundColor: { value: "{colors.background.primary.value}" } }, small: { borderWidth: { value: "{borderWidths.small.value}" } }, large: { borderWidth: { value: "{borderWidths.large.value}" } }, opacity: { value: "{opacities.60.value}" } };
|
|
7609
7609
|
});
|
|
7610
|
-
var
|
|
7611
|
-
|
|
7612
|
-
|
|
7610
|
+
var Ko = c((Ai, jo) => {
|
|
7611
|
+
o();
|
|
7612
|
+
jo.exports = { display: { value: "block" }, backgroundColor: { value: "{colors.white.value}" }, borderRadius: { value: "{radii.medium.value}" }, boxShadow: { value: "{shadows.large.value}" }, width: { value: "100%" }, item: { marginTop: { value: "1px" }, boxShadow: { value: "{shadows.small.value}" }, borderBottomLeftRadius: { value: "{radii.medium.value}" }, borderBottomRightRadius: { value: "{radii.medium.value}" }, borderTopLeftRadius: { value: "{radii.medium.value}" }, borderTopRightRadius: { value: "{radii.medium.value}" }, borderStartStartRadius: { value: "{radii.medium.value}" }, borderStartEndRadius: { value: "{radii.medium.value}" }, borderEndStartRadius: { value: "{radii.medium.value}" }, borderEndEndRadius: { value: "{radii.medium.value}" }, _focus: { boxShadow: { value: { offsetX: "0", offsetY: "0", blurRadius: "0", spreadRadius: "2px", color: "{colors.border.focus.value}" } } } }, header: { boxShadow: { value: { offsetX: "0", offsetY: "1px", blurRadius: "0", color: "{colors.overlay.20.value}" } } }, trigger: { minHeight: { value: "3rem" }, paddingInlineStart: { value: "{space.large.value}" }, paddingInlineEnd: { value: "{space.large.value}" }, alignItems: { value: "center" }, justifyContent: { value: "space-between" }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" } } }, content: { paddingInlineStart: { value: "{space.large.value}" }, paddingInlineEnd: { value: "{space.large.value}" }, text: { color: { value: "{colors.font.secondary.value}" }, paddingBlockStart: { value: "{space.medium.value}" }, paddingBlockEnd: { value: "{space.medium.value}" } }, _open: { animationDuration: { value: "{time.medium.value}" }, animationTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } }, _closed: { animationDuration: { value: "{time.medium.value}" }, animationTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } } }, icon: { transitionDuration: { value: "{time.medium.value}" }, transitionTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } } };
|
|
7613
7613
|
});
|
|
7614
|
-
var
|
|
7615
|
-
|
|
7616
|
-
|
|
7614
|
+
var $o = c((Ti, Yo) => {
|
|
7615
|
+
o();
|
|
7616
|
+
Yo.exports = { gap: { value: "{space.xs.value}" }, fontSize: { value: "{fontSizes.medium.value}" }, small: { gap: { value: "{space.xxxs.value}" }, fontSize: { value: "{fontSizes.small.value}" } }, large: { gap: { value: "{space.small.value}" }, fontSize: { value: "{fontSizes.large.value}" } }, label: { color: { value: "{colors.font.secondary.value}" } } };
|
|
7617
7617
|
});
|
|
7618
|
-
var
|
|
7619
|
-
|
|
7620
|
-
|
|
7618
|
+
var Zo = c((Di, Xo) => {
|
|
7619
|
+
o();
|
|
7620
|
+
Xo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderRadius: { value: "{radii.small.value}" }, color: { value: "{colors.font.primary.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" }, fontSize: { value: "{components.field.fontSize.value}" }, lineHeight: { value: "{lineHeights.medium.value}" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, small: { fontSize: { value: "{components.field.small.fontSize.value}" }, paddingBlockStart: { value: "{space.xxs.value}" }, paddingBlockEnd: { value: "{space.xxs.value}" }, paddingInlineStart: { value: "{space.small.value}" }, paddingInlineEnd: { value: "{space.small.value}" } }, large: { fontSize: { value: "{components.field.large.fontSize.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" } }, quiet: { borderStyle: { value: "none" }, borderBlockEnd: { value: "{borderWidths.small.value} solid {colors.border.primary.value}" }, borderInlineStart: { value: "none" }, borderInlineEnd: { value: "none" }, borderBlockStart: { value: "none" }, borderRadius: { value: "0" }, _focus: { borderBlockEndColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.focus.value}" } } }, _error: { borderBlockEndColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.error.value}" } } } } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.focus.value}" } } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, cursor: { value: "not-allowed" }, borderColor: { value: "{colors.transparent.value}" }, backgroundColor: { value: "{colors.background.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.error.value}" } } } } };
|
|
7621
7621
|
});
|
|
7622
|
-
var
|
|
7623
|
-
|
|
7624
|
-
|
|
7622
|
+
var Jo = c((Ei, Qo) => {
|
|
7623
|
+
o();
|
|
7624
|
+
Qo.exports = { gap: { value: 0 }, vertical: { alignItems: { value: "center" } }, outer: { alignItems: { value: "center" } } };
|
|
7625
7625
|
});
|
|
7626
|
-
var
|
|
7627
|
-
|
|
7628
|
-
|
|
7626
|
+
var or = c((Ii, er) => {
|
|
7627
|
+
o();
|
|
7628
|
+
er.exports = { error: { color: { value: "{colors.font.error.value}" }, fontSize: { value: "{fontSizes.small.value}" } }, description: { color: { value: "{colors.font.secondary.value}" }, fontStyle: { value: "italic" }, fontSize: { value: "{fontSizes.small.value}" } } };
|
|
7629
7629
|
});
|
|
7630
|
-
var
|
|
7631
|
-
|
|
7632
|
-
|
|
7630
|
+
var ar = c((Pi, rr) => {
|
|
7631
|
+
o();
|
|
7632
|
+
rr.exports = { gap: { value: "{space.medium.value}" }, justifyContent: { value: "normal" }, alignItems: { value: "stretch" }, alignContent: { value: "normal" }, flexWrap: { value: "nowrap" } };
|
|
7633
7633
|
});
|
|
7634
|
-
var
|
|
7635
|
-
|
|
7636
|
-
|
|
7634
|
+
var nr = c((Ri, tr) => {
|
|
7635
|
+
o();
|
|
7636
|
+
tr.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value: "{lineHeights.small.value}" }, 1: { fontSize: { value: "{fontSizes.xxxxl.value}" }, fontWeight: { value: "{fontWeights.light.value}" } }, 2: { fontSize: { value: "{fontSizes.xxxl.value}" }, fontWeight: { value: "{fontWeights.normal.value}" } }, 3: { fontSize: { value: "{fontSizes.xxl.value}" }, fontWeight: { value: "{fontWeights.medium.value}" } }, 4: { fontSize: { value: "{fontSizes.xl.value}" }, fontWeight: { value: "{fontWeights.semibold.value}" } }, 5: { fontSize: { value: "{fontSizes.large.value}" }, fontWeight: { value: "{fontWeights.bold.value}" } }, 6: { fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.extrabold.value}" } } };
|
|
7637
7637
|
});
|
|
7638
|
-
var
|
|
7639
|
-
|
|
7640
|
-
|
|
7638
|
+
var sr = c((Wi, ir) => {
|
|
7639
|
+
o();
|
|
7640
|
+
ir.exports = { lineHeight: { value: 1 }, height: { value: "1em" } };
|
|
7641
7641
|
});
|
|
7642
|
-
var
|
|
7643
|
-
|
|
7644
|
-
|
|
7642
|
+
var ur = c((Ui, lr) => {
|
|
7643
|
+
o();
|
|
7644
|
+
lr.exports = { maxWidth: { value: "100%" }, height: { value: "auto" }, objectFit: { value: "initial" }, objectPosition: { value: "initial" } };
|
|
7645
7645
|
});
|
|
7646
|
-
var
|
|
7647
|
-
|
|
7648
|
-
|
|
7646
|
+
var cr = c((Vi, dr) => {
|
|
7647
|
+
o();
|
|
7648
|
+
dr.exports = { active: { color: { value: "{colors.font.active.value}" } }, color: { value: "{colors.font.interactive.value}" }, focus: { color: { value: "{colors.font.focus.value}" } }, hover: { color: { value: "{colors.font.hover.value}" } }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } }, visited: { color: { value: "{colors.font.interactive.value}" } } };
|
|
7649
7649
|
});
|
|
7650
|
-
var
|
|
7651
|
-
|
|
7652
|
-
|
|
7650
|
+
var vr = c((_i, mr) => {
|
|
7651
|
+
o();
|
|
7652
|
+
mr.exports = { width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { width: { value: "{fontSizes.small.value}" }, height: { value: "{fontSizes.small.value}" } }, large: { width: { value: "{fontSizes.large.value}" }, height: { value: "{fontSizes.large.value}" } }, linear: { width: { value: "100%" }, minWidth: { value: "5rem" }, height: { value: "{fontSizes.medium.value}" }, strokeWidth: { value: "{fontSizes.medium.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { height: { value: "{fontSizes.small.value}" }, strokeWidth: { value: "{fontSizes.small.value}" } }, large: { height: { value: "{fontSizes.large.value}" }, strokeWidth: { value: "{fontSizes.large.value}" } } } };
|
|
7653
7653
|
});
|
|
7654
|
-
var
|
|
7655
|
-
|
|
7656
|
-
|
|
7654
|
+
var gr = c((Fi, pr) => {
|
|
7655
|
+
o();
|
|
7656
|
+
pr.exports = { backgroundColor: { value: "{colors.white.value}" }, borderRadius: { value: "{radii.medium.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, boxShadow: { value: "{shadows.large.value}" }, flexDirection: { value: "column" }, gap: { value: 0 }, maxWidth: { value: "30rem" }, minWidth: { value: "14rem" }, small: { width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" } }, large: { width: { value: "{fontSizes.xxxl.value}" }, height: { value: "{fontSizes.xxxl.value}" } }, item: { minHeight: { value: "2.5rem" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" } } };
|
|
7657
7657
|
});
|
|
7658
|
-
var
|
|
7659
|
-
|
|
7660
|
-
|
|
7658
|
+
var hr = c((Oi, fr) => {
|
|
7659
|
+
o();
|
|
7660
|
+
fr.exports = { current: { alignItems: { value: "center" }, justifyContent: { value: "center" }, color: { value: "{colors.white.value}" }, fontSize: { value: "{fontSizes.small.value}" }, backgroundColor: { value: "{colors.overlay.40.value}" } }, button: { color: { value: "{colors.font.primary.value}" }, paddingInlineStart: { value: "{space.xxs.value}" }, paddingInlineEnd: { value: "{space.xxs.value}" }, transitionProperty: { value: "background-color" }, transitionDuration: { value: "{time.medium.value}" }, hover: { backgroundColor: { value: "{colors.overlay.10.value}" }, color: { value: "{colors.font.primary.value}" } }, disabled: { color: { value: "{colors.font.disabled.value}" } } }, ellipsis: { alignItems: { value: "baseline" }, justifyContent: { value: "center" }, paddingInlineStart: { value: "{space.xs.value}" }, paddingInlineEnd: { value: "{space.xs.value}" } }, itemContainer: { marginLeft: { value: "{space.xxxs.value}" }, marginRight: { value: "{space.xxxs.value}" } }, itemShared: { height: { value: "{fontSizes.xxl.value}" }, minWidth: { value: "{fontSizes.xxl.value}" }, borderRadius: { value: "{fontSizes.medium.value}" } } };
|
|
7661
7661
|
});
|
|
7662
|
-
var
|
|
7663
|
-
|
|
7664
|
-
|
|
7662
|
+
var Sr = c((Ni, br) => {
|
|
7663
|
+
o();
|
|
7664
|
+
br.exports = {};
|
|
7665
7665
|
});
|
|
7666
|
-
var
|
|
7667
|
-
|
|
7668
|
-
|
|
7666
|
+
var Cr = c((zi, yr) => {
|
|
7667
|
+
o();
|
|
7668
|
+
yr.exports = { borderRadius: { value: "{radii.small.value}" }, transitionDuration: { value: "{time.long.value}" }, startColor: { value: "{colors.background.secondary.value}" }, endColor: { value: "{colors.background.tertiary.value}" }, small: { height: { value: "{space.small.value}" } }, default: { height: { value: "{space.medium.value}" } }, large: { height: { value: "{space.large.value}" } } };
|
|
7669
7669
|
});
|
|
7670
|
-
var
|
|
7671
|
-
|
|
7672
|
-
|
|
7670
|
+
var wr = c((Mi, kr) => {
|
|
7671
|
+
o();
|
|
7672
|
+
kr.exports = { alignItems: { value: "center" }, justifyContent: { value: "flex-start" }, gap: { value: "inherit" }, _disabled: { cursor: { value: "not-allowed" } }, button: { alignItems: { value: "center" }, justifyContent: { value: "center" }, width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" }, boxSizing: { value: "border-box" }, borderWidth: { value: "{borderWidths.medium.value}" }, borderStyle: { value: "solid" }, borderRadius: { value: "50%" }, borderColor: { value: "{colors.border.primary.value}" }, color: { value: "{colors.white.value}" }, backgroundColor: { value: "{colors.white.value}" }, transitionProperty: { value: "all" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, padding: { value: "{borderWidths.medium.value}" }, small: { width: { value: "{fontSizes.small.value}" }, height: { value: "{fontSizes.small.value}" } }, large: { width: { value: "{fontSizes.large.value}" }, height: { value: "{fontSizes.large.value}" } }, _checked: { color: { value: "{colors.brand.primary.80.value}" }, _disabled: { color: { value: "{colors.background.disabled.value}" } } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: "{components.fieldcontrol._error._focus.boxShadow.value}" } } }, _disabled: { borderColor: { value: "{colors.border.disabled.value}" }, backgroundColor: { value: "{colors.background.primary.value}" } } }, label: { _disabled: { color: { value: "{colors.font.disabled.value}" } } } };
|
|
7673
7673
|
});
|
|
7674
|
-
var
|
|
7675
|
-
|
|
7676
|
-
|
|
7674
|
+
var Ar = c((Bi, xr) => {
|
|
7675
|
+
o();
|
|
7676
|
+
xr.exports = { large: { size: { value: "{fontSizes.xxxl.value}" } }, default: { size: { value: "{fontSizes.xl.value}" } }, small: { size: { value: "{fontSizes.small.value}" } }, filled: { color: { value: "{colors.brand.secondary.80.value}" } }, empty: { color: { value: "{colors.background.tertiary.value}" } } };
|
|
7677
7677
|
});
|
|
7678
|
-
var
|
|
7679
|
-
|
|
7680
|
-
|
|
7678
|
+
var Dr = c((Gi, Tr) => {
|
|
7679
|
+
o();
|
|
7680
|
+
Tr.exports = { paddingInlineEnd: { value: "{space.xxl.value}" }, wrapper: { flex: { value: "1" }, display: { value: "block" }, position: { value: "relative" }, cursor: { value: "pointer" } }, iconWrapper: { alignItems: { value: "center" }, position: { value: "absolute" }, top: { value: "50%" }, right: { value: "{space.medium.value}" }, transform: { value: "translateY(-50%)" }, pointerEvents: { value: "none" } }, option: { backgroundColor: { value: "{colors.background.primary.value}" } }, whiteSpace: { value: "nowrap" }, minWidth: { value: "6.5rem" }, small: { minWidth: { value: "5.5rem" } }, large: { minWidth: { value: "7.5rem" } } };
|
|
7681
7681
|
});
|
|
7682
|
-
var
|
|
7683
|
-
|
|
7684
|
-
|
|
7682
|
+
var Ir = c((Li, Er) => {
|
|
7683
|
+
o();
|
|
7684
|
+
Er.exports = { flexDirection: { value: "column" } };
|
|
7685
7685
|
});
|
|
7686
|
-
var
|
|
7687
|
-
|
|
7688
|
-
|
|
7686
|
+
var Rr = c((Hi, Pr) => {
|
|
7687
|
+
o();
|
|
7688
|
+
Pr.exports = { paddingBlock: { value: "{space.xs.value}" }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "9999px" }, height: { value: "0.375rem" }, minWidth: { value: "10rem" } }, range: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "9999px" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } }, thumb: { width: { value: "1.25rem" }, height: { value: "1.25rem" }, backgroundColor: { value: "{colors.background.primary.value}" }, boxShadow: { value: "{shadows.small.value}" }, borderRadius: { value: "50%" }, borderWidth: { value: "{borderWidths.small.value}" }, borderColor: { value: "{colors.border.primary.value}" }, borderStyle: { value: "solid" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" } }, _hover: { backgroundColor: { value: "{colors.background.primary.value}" }, borderColor: { value: "{colors.border.focus.value}" } }, _focus: { boxShadow: { value: { offsetX: "0", offsetY: "0", blurRadius: "0", spreadRadius: "3px", color: "{colors.border.focus.value}" } } } }, small: { track: { height: { value: "0.25rem" } }, thumb: { width: { value: "1rem" }, height: { value: "1rem" } } }, large: { track: { height: { value: "0.625rem" } }, thumb: { width: { value: "1.5rem" }, height: { value: "1.5rem" } } } };
|
|
7689
7689
|
});
|
|
7690
|
-
var
|
|
7691
|
-
|
|
7692
|
-
|
|
7690
|
+
var Ur = c((qi, Wr) => {
|
|
7691
|
+
o();
|
|
7692
|
+
Wr.exports = { flexDirection: { value: "column" }, input: { textAlign: { value: "center" } } };
|
|
7693
7693
|
});
|
|
7694
|
-
var
|
|
7695
|
-
|
|
7696
|
-
|
|
7694
|
+
var _r = c((ji, Vr) => {
|
|
7695
|
+
o();
|
|
7696
|
+
Vr.exports = { disabled: { opacity: { value: "{opacities.60.value}" } }, focused: { shadow: { value: "{shadows.small.value}" } }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } }, label: { padding: { value: "{space.xs.value}" } }, thumb: { backgroundColor: { value: "{colors.background.primary.value}" }, borderColor: { value: "{colors.border.tertiary.value}" }, borderRadius: { value: "{radii.xxxl.value}" }, checked: { transform: { value: "{transforms.slideX.medium.value}" } }, transition: { duration: { value: "{time.medium.value}" } }, width: { value: "{space.relative.medium.value}" } }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "{radii.xxxl.value}" }, checked: { backgroundColor: { value: "{colors.brand.primary.60.value}" } }, height: { value: "{space.relative.medium.value}" }, padding: { value: "{outlineWidths.medium.value}" }, transition: { duration: { value: "{time.short.value}" } }, width: { value: "{space.relative.xl.value}" } } };
|
|
7697
7697
|
});
|
|
7698
|
-
var
|
|
7699
|
-
|
|
7700
|
-
|
|
7698
|
+
var Or = c((Ki, Fr) => {
|
|
7699
|
+
o();
|
|
7700
|
+
Fr.exports = { borderCollapse: { value: "collapse" }, display: { value: "table" }, width: { value: "100%" }, head: { display: { value: "table-header-group" }, verticalAlign: { value: "middle" } }, body: { display: { value: "table-row-group" }, verticalAlign: { value: "middle" } }, foot: { display: { value: "table-footer-group" }, verticalAlign: { value: "middle" } }, row: { display: { value: "table-row" }, verticalAlign: { value: "middle" }, hover: { backgroundColor: { value: "{colors.background.tertiary.value}" } }, striped: { backgroundColor: { value: "{colors.background.secondary.value}" } } }, header: { borderColor: { value: "{colors.border.tertiary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.small.value}" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-cell" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" }, padding: { value: "{space.medium.value}" }, verticalAlign: { value: "middle" }, large: { fontSize: { value: "{fontSizes.large.value}" }, padding: { value: "{space.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" }, padding: { value: "{space.xs.value}" } } }, data: { borderColor: { value: "{colors.border.tertiary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.small.value}" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-cell" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.normal.value}" }, padding: { value: "{space.medium.value}" }, verticalAlign: { value: "middle" }, large: { fontSize: { value: "{fontSizes.large.value}" }, padding: { value: "{space.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" }, padding: { value: "{space.xs.value}" } } }, caption: { captionSide: { value: "bottom" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-caption" }, fontSize: { value: "{fontSizes.medium.value}" }, textAlign: { value: "center" }, wordBreak: { value: "break-all" }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } } } };
|
|
7701
7701
|
});
|
|
7702
|
-
var
|
|
7703
|
-
|
|
7704
|
-
|
|
7702
|
+
var zr = c((Yi, Nr) => {
|
|
7703
|
+
o();
|
|
7704
|
+
Nr.exports = { backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.secondary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.medium.value}" }, gap: { value: "0" }, item: { backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.secondary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.medium.value}" }, color: { value: "{colors.font.secondary.value}" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" }, paddingVertical: { value: "{space.small.value}" }, paddingHorizontal: { value: "{space.medium.value}" }, textAlign: { value: "center" }, transitionDuration: { value: "{time.medium.value}" }, _hover: { color: { value: "{colors.font.hover.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" } }, _active: { color: { value: "{colors.font.interactive.value}" }, borderColor: { value: "{colors.font.interactive.value}" }, backgroundColor: { value: "transparent" } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } } } };
|
|
7705
7705
|
});
|
|
7706
|
-
var
|
|
7707
|
-
|
|
7708
|
-
|
|
7706
|
+
var Br = c(($i, Mr) => {
|
|
7707
|
+
o();
|
|
7708
|
+
Mr.exports = { color: { value: "{colors.font.primary.value}" }, primary: { color: { value: "{colors.font.primary.value}" } }, secondary: { color: { value: "{colors.font.secondary.value}" } }, tertiary: { color: { value: "{colors.font.tertiary.value}" } }, error: { color: { value: "{colors.font.error.value}" } }, warning: { color: { value: "{colors.font.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" } }, info: { color: { value: "{colors.font.info.value}" } } };
|
|
7709
7709
|
});
|
|
7710
|
-
var
|
|
7711
|
-
|
|
7712
|
-
|
|
7710
|
+
var Lr = c((Xi, Gr) => {
|
|
7711
|
+
o();
|
|
7712
|
+
Gr.exports = { borderColor: { value: "{colors.border.primary.value}" }, color: { value: "{colors.overlay.50.value}" }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, color: { value: "{colors.overlay.50.value}" } }, _active: { backgroundColor: { value: "{colors.transparent.value}" } }, _disabled: { backgroundColor: { value: "{colors.transparent.value}" }, borderColor: { value: "{colors.border.secondary.value}" }, color: { value: "{colors.font.disabled.value}" } }, _pressed: { color: { value: "{colors.font.primary.value}" }, backgroundColor: { value: "{colors.overlay.20.value}" }, _hover: { backgroundColor: { value: "{colors.overlay.30.value}" } } }, primary: { backgroundColor: { value: "{colors.transparent.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, backgroundColor: { value: "{colors.transparent.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" }, color: { value: "{colors.overlay.50.value}" } }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" }, color: { value: "{colors.overlay.50.value}" } }, _disabled: { backgroundColor: { value: "{colors.background.tertiary.value}" }, color: { value: "{colors.font.disabled.value}" } }, _pressed: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderColor: { value: "{colors.brand.primary.80.value}" }, color: { value: "{colors.white.value}" }, _focus: { backgroundColor: { value: "{colors.border.focus.value}" }, borderColor: { value: "{colors.border.focus.value}" } }, _hover: { borderColor: { value: "{colors.brand.primary.60.value}" }, backgroundColor: { value: "{colors.brand.primary.60.value}" } } } }, link: { color: { value: "{colors.overlay.50.value}" }, _hover: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.50.value}" } }, _focus: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.50.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" } }, _pressed: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.90.value}" }, _hover: { backgroundColor: { value: "{colors.transparent.value}" } } } } };
|
|
7713
7713
|
});
|
|
7714
|
-
var
|
|
7715
|
-
|
|
7716
|
-
|
|
7714
|
+
var qr = c((Zi, Hr) => {
|
|
7715
|
+
o();
|
|
7716
|
+
Hr.exports = { alignItems: { value: "center" }, alignContent: { value: "center" }, justifyContent: { value: "flex-start" } };
|
|
7717
7717
|
});
|
|
7718
|
-
var
|
|
7719
|
-
|
|
7720
|
-
|
|
7718
|
+
var Kr = c((Qi, jr) => {
|
|
7719
|
+
o();
|
|
7720
|
+
jr.exports = { alert: Do(), authenticator: Io(), badge: Ro(), button: Uo(), card: _o(), checkbox: Oo(), checkboxfield: zo(), copy: Bo(), countrycodeselect: Lo(), divider: qo(), expander: Ko(), field: $o(), fieldcontrol: Zo(), fieldgroup: Jo(), fieldmessages: or(), flex: ar(), heading: nr(), icon: sr(), image: ur(), link: cr(), loader: vr(), menu: gr(), pagination: hr(), phonenumberfield: Sr(), placeholder: Cr(), radio: wr(), rating: Ar(), select: Dr(), selectfield: Ir(), sliderfield: Rr(), stepperfield: Ur(), switchfield: _r(), table: Or(), tabs: zr(), text: Br(), togglebutton: Lr(), togglebuttongroup: qr() };
|
|
7721
7721
|
});
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7722
|
+
o();
|
|
7723
|
+
o();
|
|
7724
|
+
o();
|
|
7725
|
+
o();
|
|
7726
7726
|
var j = (r) => {
|
|
7727
|
-
var
|
|
7728
|
-
return (
|
|
7729
|
-
},
|
|
7730
|
-
var
|
|
7731
|
-
return (
|
|
7727
|
+
var e;
|
|
7728
|
+
return (e = r.context.actorRef) == null ? void 0 : e.getSnapshot();
|
|
7729
|
+
}, Ee = (r) => {
|
|
7730
|
+
var e;
|
|
7731
|
+
return (e = j(r)) == null ? void 0 : e.context;
|
|
7732
7732
|
};
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
var k = ((l) => (l.SMS_MFA = "SMS_MFA", l.SOFTWARE_TOKEN_MFA = "SOFTWARE_TOKEN_MFA", l.NEW_PASSWORD_REQUIRED = "NEW_PASSWORD_REQUIRED", l.RESET_REQUIRED = "RESET_REQUIRED", l.MFA_SETUP = "MFA_SETUP", l))(k || {}),
|
|
7739
|
-
|
|
7740
|
-
|
|
7733
|
+
o();
|
|
7734
|
+
o();
|
|
7735
|
+
o();
|
|
7736
|
+
o();
|
|
7737
|
+
o();
|
|
7738
|
+
var k = ((l) => (l.SMS_MFA = "SMS_MFA", l.SOFTWARE_TOKEN_MFA = "SOFTWARE_TOKEN_MFA", l.NEW_PASSWORD_REQUIRED = "NEW_PASSWORD_REQUIRED", l.RESET_REQUIRED = "RESET_REQUIRED", l.MFA_SETUP = "MFA_SETUP", l))(k || {}), aa = ((s) => (s.Apple = "SignInWithApple", s.Amazon = "LoginWithAmazon", s.Facebook = "Facebook", s.Google = "Google", s))(aa || {});
|
|
7739
|
+
o();
|
|
7740
|
+
o();
|
|
7741
7741
|
var K = ["username", "email", "phone_number"];
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
var
|
|
7750
|
-
let
|
|
7751
|
-
return Object.fromEntries(
|
|
7752
|
-
},
|
|
7742
|
+
o();
|
|
7743
|
+
o();
|
|
7744
|
+
o();
|
|
7745
|
+
o();
|
|
7746
|
+
o();
|
|
7747
|
+
o();
|
|
7748
|
+
o();
|
|
7749
|
+
var E = { birthdate: { label: "Birthdate", placeholder: "Birthdate", type: "date", autocomplete: "bday" }, confirmation_code: { label: "Confirmation Code", placeholder: "Code", type: "number", autocomplete: "one-time-code" }, email: { label: "Email", type: "email", placeholder: "Email", autocomplete: "username" }, family_name: { label: "Family Name", placeholder: "Family Name", type: "text", autocomplete: "family-name" }, given_name: { label: "Given Name", placeholder: "Given Name", type: "text", autocomplete: "given-name" }, middle_name: { label: "Middle Name", placeholder: "Middle Name", type: "text", autocomplete: "additional-name" }, name: { label: "Name", placeholder: "Name", type: "text", autocomplete: "name" }, nickname: { label: "Nickname", placeholder: "Nickname", type: "text", autocomplete: "tel" }, password: { label: "Password", placeholder: "Password", type: "password", autocomplete: "password" }, phone_number: { label: "Phone Number", placeholder: "Phone", type: "tel", autocomplete: "tel" }, preferred_username: { label: "Preferred Username", placeholder: "Preferred Username", type: "text" }, profile: { label: "Profile", placeholder: "Profile", type: "url", autocomplete: "url" }, website: { label: "Website", placeholder: "Website", type: "url", autocomplete: "url" }, username: { label: "Username", type: "text", placeholder: "Username", autocomplete: "username" } }, ja = (r) => {
|
|
7750
|
+
let e = new FormData(r.target);
|
|
7751
|
+
return Object.fromEntries(e);
|
|
7752
|
+
}, Ka = (r, e) => {
|
|
7753
7753
|
let a = [];
|
|
7754
7754
|
return r && (a = Object.keys(r).reduce((t, s) => {
|
|
7755
7755
|
var l;
|
|
7756
7756
|
return t.push([s, (l = r[s]) == null ? void 0 : l.order]), t;
|
|
7757
|
-
}, []).sort((t, s) => t[1] - s[1]).filter((t) => t[1] !== void 0).map((t) => t[0])), Array.from(new Set([...a, ...
|
|
7757
|
+
}, []).sort((t, s) => t[1] - s[1]).filter((t) => t[1] !== void 0).map((t) => t[0])), Array.from(new Set([...a, ...e]));
|
|
7758
7758
|
};
|
|
7759
|
-
var
|
|
7760
|
-
var u,
|
|
7761
|
-
let a = (u = r.config) == null ? void 0 : u.loginMechanisms, t = (d = (
|
|
7762
|
-
if (K.includes(
|
|
7763
|
-
return { label:
|
|
7759
|
+
var et = (r, e) => {
|
|
7760
|
+
var u, m, d, f, g;
|
|
7761
|
+
let a = (u = r.config) == null ? void 0 : u.loginMechanisms, t = (d = (m = r.actorRef) == null ? void 0 : m.context) == null ? void 0 : d.validationError.username;
|
|
7762
|
+
if (K.includes(e))
|
|
7763
|
+
return { label: E[e].label, type: E[e].type, error: t };
|
|
7764
7764
|
let s = "text", l = a.filter((h2) => includes_1(K, h2)).map((h2) => {
|
|
7765
7765
|
var B, G;
|
|
7766
|
-
return (G = (B =
|
|
7766
|
+
return (G = (B = E[h2]) == null ? void 0 : B.label) != null ? G : E.username.label;
|
|
7767
7767
|
}).join(" or ");
|
|
7768
|
-
return a.length === 1 && (s = (g = (f =
|
|
7768
|
+
return a.length === 1 && (s = (g = (f = E[a[0]]) == null ? void 0 : f.type) != null ? g : "text"), { label: l, type: s, error: t };
|
|
7769
7769
|
};
|
|
7770
|
-
|
|
7771
|
-
var
|
|
7772
|
-
let
|
|
7773
|
-
return { resendCode:
|
|
7774
|
-
},
|
|
7770
|
+
o();
|
|
7771
|
+
var ta = (r) => {
|
|
7772
|
+
let e = (a) => (t) => r({ type: a, data: t });
|
|
7773
|
+
return { resendCode: e("RESEND"), signOut: e("SIGN_OUT"), submitForm: e("SUBMIT"), updateForm: e("CHANGE"), updateBlur: e("BLUR"), toFederatedSignIn: e("FEDERATED_SIGN_IN"), toResetPassword: e("RESET_PASSWORD"), toSignIn: e("SIGN_IN"), toSignUp: e("SIGN_UP"), skipVerification: e("SKIP") };
|
|
7774
|
+
}, na = (r) => {
|
|
7775
7775
|
var g, h2;
|
|
7776
|
-
let
|
|
7776
|
+
let e = (g = r.context) == null ? void 0 : g.user, a = j(r), t = Ee(r), s = t == null ? void 0 : t.remoteError, l = v({}, t == null ? void 0 : t.validationError), u = t == null ? void 0 : t.codeDeliveryDetails, m = Object.keys(l).length > 0, d = r.hasTag("pending") || ((h2 = j(r)) == null ? void 0 : h2.hasTag("pending")), f = (() => {
|
|
7777
7777
|
switch (true) {
|
|
7778
7778
|
case r.matches("idle"):
|
|
7779
7779
|
return "idle";
|
|
@@ -7807,200 +7807,225 @@ var oa = (r) => {
|
|
|
7807
7807
|
return console.debug("Cannot infer `route` from Authenticator state:", r.value), null;
|
|
7808
7808
|
}
|
|
7809
7809
|
})();
|
|
7810
|
-
return { error: s, hasValidationErrors:
|
|
7811
|
-
},
|
|
7812
|
-
let a =
|
|
7813
|
-
return
|
|
7810
|
+
return { error: s, hasValidationErrors: m, isPending: d, route: f, user: e, validationErrors: l, codeDeliveryDetails: u };
|
|
7811
|
+
}, tt = ({ send: r, state: e }) => {
|
|
7812
|
+
let a = ta(r), t = na(e);
|
|
7813
|
+
return v(v({}, a), t);
|
|
7814
7814
|
};
|
|
7815
|
-
|
|
7816
|
-
var
|
|
7817
|
-
switch (
|
|
7815
|
+
o();
|
|
7816
|
+
var ut = (r) => Hub.listen("auth", (e) => {
|
|
7817
|
+
switch (e.payload.event) {
|
|
7818
7818
|
case "signOut":
|
|
7819
7819
|
r("SIGN_OUT");
|
|
7820
7820
|
break;
|
|
7821
7821
|
}
|
|
7822
7822
|
});
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
var
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7823
|
+
o();
|
|
7824
|
+
o();
|
|
7825
|
+
var St = ["+1", "+7", "+20", "+27", "+30", "+31", "+32", "+33", "+34", "+36", "+39", "+40", "+41", "+43", "+44", "+45", "+46", "+47", "+48", "+49", "+51", "+52", "+53", "+54", "+55", "+56", "+57", "+58", "+60", "+61", "+62", "+63", "+64", "+65", "+66", "+81", "+82", "+84", "+86", "+90", "+91", "+92", "+93", "+94", "+95", "+98", "+212", "+213", "+216", "+218", "+220", "+221", "+222", "+223", "+224", "+225", "+226", "+227", "+228", "+229", "+230", "+231", "+232", "+233", "+234", "+235", "+236", "+237", "+238", "+239", "+240", "+241", "+242", "+243", "+244", "+245", "+246", "+248", "+249", "+250", "+251", "+252", "+253", "+254", "+255", "+256", "+257", "+258", "+260", "+261", "+262", "+263", "+264", "+265", "+266", "+267", "+268", "+269", "+290", "+291", "+297", "+298", "+299", "+345", "+350", "+351", "+352", "+353", "+354", "+355", "+356", "+357", "+358", "+359", "+370", "+371", "+372", "+373", "+374", "+375", "+376", "+377", "+378", "+379", "+380", "+381", "+382", "+385", "+386", "+387", "+389", "+420", "+421", "+423", "+500", "+501", "+502", "+503", "+504", "+505", "+506", "+507", "+508", "+509", "+537", "+590", "+591", "+593", "+594", "+595", "+596", "+597", "+598", "+599", "+670", "+672", "+673", "+674", "+675", "+676", "+677", "+678", "+679", "+680", "+681", "+682", "+683", "+685", "+686", "+687", "+688", "+689", "+690", "+691", "+692", "+850", "+852", "+853", "+855", "+856", "+872", "+880", "+886", "+960", "+961", "+962", "+963", "+964", "+965", "+966", "+967", "+968", "+970", "+971", "+972", "+973", "+974", "+975", "+976", "+977", "+992", "+993", "+994", "+995", "+996", "+998"];
|
|
7826
|
+
o();
|
|
7827
|
+
o();
|
|
7828
|
+
o();
|
|
7829
|
+
o();
|
|
7830
7830
|
var ee = { "Account recovery requires verified contact information": "Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account", "An account with the given email already exists.": "Ein Account mit dieser Email existiert bereits.", "Back to Sign In": "Zur\xFCck zur Anmeldung", "Change Password": "Passwort \xE4ndern", Code: "Code", Confirm: "Best\xE4tigen", "Confirm Password": "Passwort best\xE4tigen", "Confirm a Code": "Code best\xE4tigen", "Confirm Sign In": "Anmeldung best\xE4tigen", "Confirm Sign Up": "Registrierung best\xE4tigen", "Confirm SMS Code": "SMS-Code best\xE4tigen", "Confirm TOTP Code": "TOTP-Code best\xE4tigen", "Confirmation Code": "Best\xE4tigungs-Code", "Create a new account": "Einen neuen Account erstellen", "Create account": "Hier registrieren", "Create Account": "Account erstellen", "Creating Account": "Account wird erstellt", Email: "Email", "Enter your code": "Geben Sie Ihren Code ein", "Enter your password": "Geben Sie Ihr Passwort ein", "Enter your username": "Geben Sie Ihren Benutzernamen ein", "Enter your phone number": "Geben Sie Ihre Telefonnummer ein", "Enter your email": "Geben Sie ihre Email ein", "Forgot your password?": "Passwort vergessen? ", "Forgot Password": "Passwort vergessen", "Hide password": "Passwort verbergen", "Have an account? ": "Schon registriert? ", "Incorrect username or password": "Falscher Benutzername oder falsches Passwort", "Invalid password format": "Ung\xFCltiges Passwort-Format", "Invalid phone number format": "Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900", "Lost your code? ": "Code verloren? ", "New Password": "Neues Passwort", "No account? ": "Kein Account? ", or: "oder", Password: "Passwort", "Password attempts exceeded": "Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht", "Phone Number": "Telefonnummer", "Resend Code": "Code erneut senden", "Reset password": "Passwort zur\xFCcksetzen", "Reset your password": "Zur\xFCcksetzen des Passworts", "Send Code": "Code senden", "Sign in": "Anmelden", "Sign In": "Anmelden", "Sign in to your account": "Melden Sie sich mit Ihrem Account an", "Sign Out": "Abmelden", "Sign Up": "Registrieren", Skip: "\xDCberspringen", Submit: "Abschicken", "User already exists": "Dieser Benutzer existiert bereits", "User does not exist": "Dieser Benutzer existiert nicht", Username: "Benutzername", "Username cannot be empty": "Benutzername darf nicht leer sein", Verify: "Verifizieren", "Verify Contact": "Kontakt verifizieren" };
|
|
7831
|
-
|
|
7831
|
+
o();
|
|
7832
7832
|
var oe = { "Account recovery requires verified contact information": "Account recovery requires verified contact information", "Back to Sign In": "Back to Sign In", "Change Password": "Change Password", Changing: "Changing", Code: "Code", Confirm: "Confirm", "Confirm Password": "Confirm Password", "Confirm Sign Up": "Confirm Sign Up", "Confirm SMS Code": "Confirm SMS Code", "Confirm TOTP Code": "Confirm TOTP Code", "Confirmation Code": "Confirmation Code", Confirming: "Confirming", "Create Account": "Create Account", "Creating Account": "Creating Account", Email: "Email", "Enter your code": "Enter your code", "Enter your username": "Enter your username", "Enter your phone number": "Enter your phone number", "Enter your email": "Enter your email", "Forgot your password?": "Forgot your password?", "Hide password": "Hide password", Loading: "Loading", Username: "Username", "New password": "New password", Password: "Password", "Phone Number": "Phone Number", "Resend Code": "Resend Code", "Reset your password": "Reset your password", "Reset your Password": "Reset your Password", "Send Code": "Send Code", "Send code": "Send code", Sending: "Sending", "Setup TOTP": "Setup TOTP", "Show password": "Show password", "Sign in": "Sign in", "Sign In": "Sign In", "Sign In with Amazon": "Sign In with Amazon", "Sign In with Apple": "Sign In with Apple", "Sign In with Facebook": "Sign In with Facebook", "Sign In with Google": "Sign In with Google", "Sign in to your account": "Sign in to your account", "Create a new account": "Create a new account", "Signing in": "Signing in", Skip: "Skip", Submit: "Submit", Submitting: "Submitting", "Verify Contact": "Verify Contact", Verify: "Verify" };
|
|
7833
|
-
|
|
7833
|
+
o();
|
|
7834
7834
|
var re = { "Account recovery requires verified contact information": "La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada", "Back to Sign In": "Volver a inicio de sesi\xF3n", "Change Password": "Cambiar contrase\xF1a", Changing: "Cambiando", Code: "C\xF3digo", Confirm: "Confirmar", "Confirm a Code": "Confirmar un c\xF3digo", "Confirm Password": "Confirmar contrase\xF1a", "Confirm Sign In": "Confirmar inicio de sesi\xF3n", "Confirm Sign Up": "Confirmar registro", "Confirm TOTP Code": "Confirmar c\xF3digo TOTP", "Confirmation Code": "C\xF3digo de confirmaci\xF3n", Confirming: "Confirmando", "Create a new account": "Crear una cuenta nueva", "Creating Account": "Creando cuenta", Email: "Email", "Forgot Password": "Olvid\xE9 mi contrase\xF1a", "Incorrect username or password": "Nombre de usuario o contrase\xF1a incorrecta", "Invalid password format": "Formato de contrase\xF1a inv\xE1lido", "Invalid phone number format": "Formato de n\xFAmero de tel\xE9fono inv\xE1lido", "Forgot your password?": "\xBFOlvid\xF3 su contrase\xF1a?", "Hide password": "Ocultar contrase\xF1a", "Loading...": "Cargando...", "New Password": "Nueva contrase\xF1a", or: "o", Password: "Contrase\xF1a", "Phone Number": "N\xFAmero de tel\xE9fono", "Resend a Code": "Reenviar un c\xF3digo", "Reset your password": "Restablecer su contrase\xF1a", "Reset your Password": "Restablecer su Contrase\xF1a", "Resend Code": "Reenviar c\xF3digo", "Send Code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar contrase\xF1a", "Sign in": "Iniciar sesi\xF3n", "Sign In": "Iniciar Sesi\xF3n", "Sign In with Amazon": "Iniciar Sesi\xF3n con Amazon", "Sign In with Apple": "Iniciar Sesi\xF3n con Apple", "Sign In with Facebook": "Iniciar Sesi\xF3n con Facebook", "Sign In with Google": "Iniciar Sesi\xF3n con Google", "Sign in to your account": "Iniciar sesi\xF3n en tu cuenta", "Sign Out": "Cerrar sesi\xF3n", "Sign Up": "Crear cuenta", "Signing in": "Iniciando sesi\xF3n", Skip: "Omitir", Submit: "Enviar", "User already exists": "El usuario ya existe", "User does not exist": "El usuario no existe", Username: "Nombre de usuario", "Username cannot be empty": "El nombre de usuario no puede estar vac\xEDo", Verify: "Verificar", "Verify Contact": "Verificar contacto" };
|
|
7835
|
-
|
|
7835
|
+
o();
|
|
7836
7836
|
var ae = { "Account recovery requires verified contact information": "La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es", "An account with the given email already exists.": "Un utilisateur avec cette adresse email existe d\xE9j\xE0.", "Back to Sign In": "Retour \xE0 la connexion", Change: "Modifier", "Change Password": "Modifier le mot de passe", Code: "Code", Confirm: "Confirmer", "Confirm a Code": "Confirmer un code", "Confirm Password": "Confirmez le mot de passe", "Confirm Sign In": "Confirmer la connexion", "Confirm Sign Up": "Confirmer l'inscription", "Confirm SMS Code": "Confirmer le code SMS", "Confirm TOTP Code": "Confirmer le code TOTP", "Confirmation Code": "Code de confirmation", "Create a new account": "Cr\xE9er un nouveau compte", "Create account": "Cr\xE9er un compte", "Create Account": "Cr\xE9er un compte", Email: "Email", "Enter your code": "Saisissez cotre code de confirmation", "Enter your email": "Saisissez votre adresse email", "Enter your password": "Saisissez votre mot de passe", "Enter your phone number": "Saisissez votre num\xE9ro de t\xE9l\xE9phone", "Enter your username": "Saisissez votre nom d'utilisateur", "Forgot Password": "Mot de passe oubli\xE9", "Forgot your password?": "Mot de passe oubli\xE9 ? ", "Have an account? ": "D\xE9j\xE0 un compte ? ", Hello: "Bonjour", "Incorrect username or password": "Identifiant ou mot de passe incorrect", "Invalid password format": "Format de mot de passe invalide", "Invalid phone number format": "Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900", "Loading...": "Chargement...", "Lost your code? ": "Vous avez perdu votre code ? ", "Network error": "Erreur r\xE9seau", "New Password": "Nouveau mot de passe", "No account? ": "Pas de compte ? ", or: "ou", Password: "Mot de passe", "Phone Number": "Num\xE9ro de t\xE9l\xE9phone", "Resend a Code": "Renvoyer un code", "Resend Code": "Renvoyer le code", "Reset password": "R\xE9initialisez votre mot de passe", "Reset your password": "R\xE9initialisez votre mot de passe", Send: "Envoyer", "Send Code": "M'envoyer un code", "Sign in": "Se connecter", "Sign In": "Se connecter", "Sign in to your account": "Connexion \xE0 votre compte", "Sign In with Amazon": "Se connecter avec Amazon", "Sign In with AWS": "Se connecter avec AWS", "Sign In with Facebook": "Se connecter avec Facebook", "Sign In with Google": "Se connecter avec Google", "Sign Out": "D\xE9connexion", "Sign Up": "S'inscrire", Skip: "Passer", SMS: "SMS", Submit: "Soumettre", "User already exists": "L'utilisateur existe d\xE9j\xE0", "User does not exist": "L'utilisateur n'existe pas", Username: "Nom d'utilisateur", "Username cannot be empty": "Le nom d'utilisateur doit \xEAtre renseign\xE9", "Username/client id combination not found.": "L'utilisateur n'existe pas", Verify: "V\xE9rifier", "Verify Contact": "V\xE9rifier le contact" };
|
|
7837
|
-
|
|
7837
|
+
o();
|
|
7838
7838
|
var te = { "Account recovery requires verified contact information": "Il ripristino dell'account richiede informazioni di contatto verificate", "An account with the given email already exists.": "Questa email \xE8 gi\xE0 utilizzata da un'altro account.", "Back to Sign In": "Torna alla schermata di accesso", "Change Password": "Cambia la password", Code: "Codice", Confirm: "Conferma", "Confirm a Code": "Conferma un codice", "Confirm Password": "Conferma la password", "Confirm Sign In": "Conferma l'accesso", "Confirm Sign Up": "Conferma registrazione", "Confirmation Code": "Codice di verifica", "Create a new account": "Crea un nuovo account", "Create account": "Crea account", "Create Account": "Crea Account", Email: "Email", "Enter your password": "Inserisci la tua password", "Enter your username": "Inserisci il tuo nome utente", "Forgot Password": "Password dimenticata", "Forgot your password?": "Password dimenticata?", "Have an account? ": "Gi\xE0 registrato?", "Incorrect username or password": "Nome utente o password errati", "Invalid password format": "Formato della password non valido", "Invalid phone number format": "Formato del numero di telefono non valido", "Lost your code?": "Codice smarrito?", "New Password": "Nuova password", or: "o", "No account? ": "Non hai un account?", Password: "Password", "Password attempts exceeded": "Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto", "Phone Number": "Numero di telefono", "Resend Code": "Rispedisci codice", "Reset password": "Reimposta password", "Reset your password": "Reimposta la tua password", "Send Code": "Invia codice", "Sign in": "Accesso", "Sign In": "Accesso", "Sign in to your account": "Accedi al tuo account", "Sign Out": "Esci", "Sign Up": "Registrati", Skip: "Salta", Submit: "Invia", "User already exists": "Utente gi\xE0 esistente", "User does not exist": "Utente inesistente", Username: "Nome utente", "Username cannot be empty": "Il nome utente non pu\xF2 essere vuoto", Verify: "Verifica", "Verify Contact": "Verifica contatto" };
|
|
7839
|
-
|
|
7839
|
+
o();
|
|
7840
7840
|
var ne = { "Account recovery requires verified contact information": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059", "An account with the given email already exists.": "\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059", "Back to Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B", "Change Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ", Code: "\u30B3\u30FC\u30C9", Confirm: "\u78BA\u5B9A", "Confirm a Code": "\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D", "Confirm Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D", "Confirm Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B", "Confirm Sign Up": "\u767B\u9332\u3059\u308B", "Confirmation Code": "\u78BA\u8A8D\u30B3\u30FC\u30C9", "Create a new account": "\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B", "Create account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ", "Create Account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B", Email: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", "Enter your password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ", "Enter your username": "\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ", "Forgot Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ", "Forgot your password?": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ", "Have an account? ": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F", "Incorrect username or password": "\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ", "Invalid password format": "\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ", "Invalid phone number format": `\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
|
|
7841
7841
|
+12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`, "Lost your code? ": "\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F", "New Password": "\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9", "No account? ": "\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ", or: "\u53C8\u306F", Password: "\u30D1\u30B9\u30EF\u30FC\u30C9 ", "Password attempts exceeded": "\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F", "Phone Number": "\u96FB\u8A71\u756A\u53F7", "Resend Code": "\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1", "Reset password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ", "Reset your password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B", "Send Code": "\u30B3\u30FC\u30C9\u3092\u9001\u4FE1", "Sign in": "\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3 ", "Sign in to your account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ", "Sign In with Amazon": "Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Facebook": "Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Google": "Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign Out": "\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ", "Sign Up": "\u767B\u9332 ", Skip: "\u30B9\u30AD\u30C3\u30D7", Submit: "\u9001\u4FE1", "User already exists": "\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ", "User does not exist": "\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ", Username: "\u30E6\u30FC\u30B6\u30FC\u540D ", "Username cannot be empty": "\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059", Verify: "\u78BA\u8A8D", "Verify Contact": "\u9023\u7D61\u5148\u3092\u78BA\u8A8D" };
|
|
7842
|
-
|
|
7842
|
+
o();
|
|
7843
7843
|
var ie = { "Back to Sign In": "\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30", Birthdate: "\uC0DD\uB144\uC6D4\uC77C", "Change Password": "\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30", Changing: "\uBCC0\uACBD\uC911", Code: "\uCF54\uB4DC", "Confirm Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778", "Reset your Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", "Confirm Sign Up": "\uD68C\uC6D0\uAC00\uC785 \uD655\uC778", "Confirm SMS Code": "\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778", "Confirm TOTP Code": "TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778", Confirm: "\uD655\uC778", "Confirmation Code": "\uC778\uC99D\uBC88\uD638", Confirming: "\uD655\uC778\uC911", "Create Account": "\uD68C\uC6D0\uAC00\uC785", "Creating Account": "\uD68C\uC6D0\uAC00\uC785\uC911", Email: "\uC774\uBA54\uC77C", "Enter your code": "\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694", "Enter your username": "\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694", "Family Name": "\uC131", "Given Name": "\uC774\uB984", "Forgot your password?": "\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?", "Hide password": "\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30", Loading: "\uB85C\uB529\uC911", Username: "\uC544\uC774\uB514", Name: "\uC131\uD568", Nickname: "\uB2C9\uB124\uC784", "New password": "\uC0C8 \uBE44\uBC00\uBC88\uD638", Password: "\uBE44\uBC00\uBC88\uD638", "Phone Number": "\uC804\uD654\uBC88\uD638", "Preferred Username": "\uB2C9\uB124\uC784", Profile: "\uD504\uB85C\uD544", "Resend Code": "\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1", "Reset your password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", "Reset Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", "Send code": "\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30", Sending: "\uC804\uC1A1\uC911", "Setup TOTP": "TOTP \uC124\uC815\uD558\uAE30", "Show password": "\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30", "Sign in": "\uB85C\uADF8\uC778", "Sign In": "\uB85C\uADF8\uC778", "Sign In with Amazon": "Amazon \uB85C\uADF8\uC778", "Sign In with Apple": "Apple \uB85C\uADF8\uC778", "Sign In with Facebook": "Facebook \uB85C\uADF8\uC778", "Sign In with Google": "Google \uB85C\uADF8\uC778", "Sign in to your account": "\uB85C\uADF8\uC778", "Create a new account": "\uD68C\uC6D0\uAC00\uC785", "Signing in": "\uB85C\uADF8\uC778\uC911", Skip: "\uB2E4\uC74C\uC5D0 \uD558\uAE30", Submit: "\uD655\uC778", Submitting: "\uD655\uC778\uC911", "Verify Contact": "\uC5F0\uB77D\uCC98 \uD655\uC778", "Account recovery requires verified contact information": "\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4", Verify: "\uC778\uC99D", Website: "\uC6F9\uC0AC\uC774\uD2B8" };
|
|
7844
|
-
|
|
7844
|
+
o();
|
|
7845
7845
|
var se = { "Back to Sign In": "Terug naar inloggen", "Change Password": "Wachtwoord wijzigen", Changing: "Wordt aangepast", Code: "Code", "Confirm Password": "Bevestig Wachtwoord", "Reset your Password": "Wachtwoord resetten", "Confirm Sign Up": "Bevestig inschrijving", "Confirm SMS Code": "Bevestig SMS Code", "Confirm TOTP Code": "Bevestig TOTP Code", Confirm: "Bevestig", "Confirmation Code": "Bevestigingscode", Confirming: "Bevestigen", "Create Account": "Account aanmaken", "Creating Account": "Account wordt aangemaakt", Email: "E-mail", "Enter your code": "Vul je code in", "Enter your username": "Vul je gebruikersnaam in", "Enter your phone number": "Vul je telefoonnummer in", "Enter your email": "Vul je e-mail in", "Forgot your password?": "Wachtwoord vergeten? ", "Hide password": "Verberg wachtwoord", Loading: "Laden", Username: "Gebruikersnaam", "New password": "Nieuw wachtwoord", Password: "Wachtwoord", "Phone Number": "Telefoonnummer", "Resend Code": "Verstuur code nogmaals", "Reset your password": "Reset je wachtwoord", "Send Code": "Verstuur Code", "Send code": "Verstuur code", Sending: "Versturen", "Setup TOTP": "TOTP Instellingen", "Show password": "Toon wachtwoord", "Sign in": "Inloggen", "Sign In": "Inloggen", "Sign In with Amazon": "Inloggen met Amazon", "Sign In with Apple": "Inloggen met Apple", "Sign In with Facebook": "Inloggen met Facebook", "Sign In with Google": "Inloggen met Google", "Sign in to your account": "Inloggen op je account", "Create a new account": "Nieuw account aanmaken", "Signing in": "Inloggen", Skip: "Overslaan", Submit: "Versturen", Submitting: "Wordt verstuurd", "Verify Contact": "Verifieer Contact", "Account recovery requires verified contact information": "Accountherstel vereist geverifieerde contactgegevens", Verify: "Verifieer" };
|
|
7846
|
-
|
|
7846
|
+
o();
|
|
7847
7847
|
var le = { "Back to Sign In": "Powr\xF3t do logowania", Birthdate: "Data urodzenia", "Change Password": "Zmie\u0144 has\u0142o", Changing: "Zmienianie", Code: "Kod", "Confirm Password": "Potwierd\u017A Has\u0142o", "Reset your Password": "Zresetuj swoje has\u0142o", "Confirm Sign Up": "Potwierd\u017A rejestracj\u0119", "Confirm SMS Code": "Potwierd\u017A kod SMS", "Confirm TOTP Code": "Potwierd\u017A has\u0142o jednorazowe", Confirm: "Potwierd\u017A", "Confirmation Code": "Kod potwierdzenia", Confirming: "Potwierdzanie", "Create Account": "Utw\xF3rz konto", "Creating Account": "Tworzenie konta", Email: "E-mail", "Enter your code": "Wprowad\u017A sw\xF3j kod", "Enter your username": "Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika", "Family Name": "Nazwisko", "Given Name": "Pierwsze imi\u0119", "Forgot your password?": "Zapomnia\u0142e\u015B has\u0142a? ", "Hide password": "Ukryj has\u0142o", Loading: "\u0141adowanie", Username: "Nazwa u\u017Cytkownika", "Middle Name": "Drugie imi\u0119", Name: "Imi\u0119 i nazwisko", Nickname: "Pseudonim", "New password": "Nowe has\u0142o", Password: "Has\u0142o", "Phone Number": "Numer telefonu", "Preferred Username": "Preferowana nazwa u\u017Cytkownika", Profile: "Profil", "Resend Code": "Wy\u015Blij kod ponownie", "Reset your password": "Zresetuj swoje has\u0142o", "Send Code": "Zresetuj has\u0142o", "Send code": "Wy\u015Blij kod", Sending: "Wysy\u0142anie", "Setup TOTP": "Konfiguruj TOTP", "Show password": "Poka\u017C has\u0142o", "Sign in": "Zaloguj", "Sign In": "Logowanie", "Sign In with Amazon": "Zaloguj z Amazon", "Sign In with Apple": "Zaloguj z Apple", "Sign In with Facebook": "Zaloguj z Facebook", "Sign In with Google": "Zaloguj z Google", "Sign in to your account": "Zaloguj si\u0119 na swoje konto", "Create a new account": "Utw\xF3rz nowe konto", "Signing in": "Logowanie", Skip: "Pomi\u0144", Submit: "Wy\u015Blij", Submitting: "Wysy\u0142anie", "Verify Contact": "Weryfikacja danych kontaktowych", "Account recovery requires verified contact information": "Odzyskanie konta wymaga zweryfikowanych danych kontaktowych", Verify: "Zweryfikuj", Website: "Strona internetowa" };
|
|
7848
|
-
|
|
7848
|
+
o();
|
|
7849
7849
|
var ue = { "Back to Sign In": "Voltar para Entrar", "Change Password": "Mudar senha", Changing: "Mudando", Code: "C\xF3digo", "Confirm Password": "Confirme a Senha", "Reset your Password": "Redefina sua senha", "Confirm Sign Up": "Confirmar inscri\xE7\xE3o", "Confirm SMS Code": "Confirme o c\xF3digo SMS", "Confirm TOTP Code": "Confirme o c\xF3digo TOTP", Confirm: "confirme", "Confirmation Code": "C\xF3digo de confirma\xE7\xE3o", Confirming: "Confirmando", "Create Account": "Criar Conta", "Creating Account": "Criando conta", Email: "O email", "Enter your code": "Insira seu c\xF3digo", "Enter your username": "entre com seu nome de usu\xE1rio", "Enter your phone number": "Digite seu n\xFAmero de telefone", "Enter your email": "Digite seu e-mail", "Forgot your password?": "Esqueceu sua senha? ", "Hide password": "Esconder a senha", Loading: "Carregando", Username: "Nome do usu\xE1rio", "New password": "Nova Senha", Password: "Senha", "Phone Number": "N\xFAmero de telefone", "Resend Code": "Reenviar c\xF3digo", "Reset your password": "Redefina sua senha", "Send Code": "Enviar c\xF3digo", "Send code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar senha", "Sign In": "Entrar", "Sign in": "Entrar", "Sign In with Amazon": "Entrar com a Amazon", "Sign In with Apple": "Entrar com a Apple", "Sign In with Facebook": "Entrar com o Facebook", "Sign In with Google": "Fa\xE7a login no Google", "Sign in to your account": "Fa\xE7a login em sua conta", "Create a new account": "Criar uma nova conta", "Signing in": "Entrando", Skip: "Pular", Submit: "Enviar", Submitting: "Enviando", "Verify Contact": "Verificar contato", "Account recovery requires verified contact information": "A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas", Verify: "Verificar" };
|
|
7850
|
-
|
|
7850
|
+
o();
|
|
7851
7851
|
var de = { "Account recovery requires verified contact information": "\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F", "Back to Sign In": "\u56DE\u5230\u767B\u5F55", "Change Password": "\u66F4\u6539\u5BC6\u7801", Code: "\u786E\u8BA4\u7801", Confirm: "\u786E\u8BA4", "Confirm a Code": "\u786E\u8BA4\u7801", "Confirm Password": "\u786E\u8BA4\u5BC6\u7801", "Confirm Sign In": "\u786E\u8BA4\u767B\u5F55", "Confirm Sign Up": "\u786E\u8BA4\u6CE8\u518C", Email: "\u90AE\u7BB1", "Forgot Password": "\u5FD8\u8BB0\u5BC6\u7801", "Incorrect username or password": "\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF", "Invalid password format": "\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF", "Invalid phone number format": "\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900", "New Password": "\u65B0\u5BC6\u7801", or: "\u6216\u8005", Password: "\u5BC6\u7801", "Phone Number": "\u7535\u8BDD", "Resend a Code": "\u91CD\u53D1\u786E\u8BA4\u7801", "Send Code": "\u53D1\u9001\u786E\u8BA4\u7801", "Sign In": "\u767B\u5F55", "Sign Out": "\u9000\u51FA", "Sign Up": "\u6CE8\u518C", Skip: "\u8DF3\u8FC7", Submit: "\u63D0\u4EA4", "User already exists": "\u7528\u6237\u5DF2\u7ECF\u5B58\u5728", "User does not exist": "\u7528\u6237\u4E0D\u5B58\u5728", Username: "\u7528\u6237\u540D", Verify: "\u9A8C\u8BC1", "Verify Contact": "\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F" };
|
|
7852
|
-
|
|
7852
|
+
o();
|
|
7853
7853
|
var ce = { "Account recovery requires verified contact information": "F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto", "An account with the given email already exists.": "Det finns redan ett konto med denna e-postadress", "Back to Sign In": "Tillbaka till inloggningen", "Change Password": "Byt l\xF6senord", "Confirm Password": "Bekr\xE4fta l\xF6senord", Code: "Kod", Confirm: "Bekr\xE4fta", "Confirm a Code": "Bekr\xE4fta koden", "Confirm Sign In": "Bekr\xE4fta inloggning", "Confirm Sign Up": "Bekr\xE4fta registrering", "Confirmation Code": "Verifikationskod", "Create a new account": "Skapa ett nytt konto", "Create account": "Skapa konto", "Create Account": "Skapa konto", Email: "E-post", "Enter your password": "Ange ditt l\xF6senord", "Enter your username": "Ange ditt anv\xE4ndarnamn", "Forgot Password": "Gl\xF6mt l\xF6senordet", "Forgot your password?": "Gl\xF6mt ditt l\xF6senord? ", "Have an account? ": "Redan registrerad? ", "Incorrect username or password": "Felaktigt anv\xE4ndarnamn eller l\xF6senord", "Invalid password format": "Ogiltigt l\xF6senordsformat", "Invalid phone number format": "Ogiltigt format f\xF6r telefonnummer", "Lost your code? ": "F\xF6rlorat koden? ", "New Password": "Nytt l\xF6senord", "No account? ": "Inget konto? ", or: "eller", Password: "L\xF6senord", "Password attempts exceeded": "Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts", "Phone Number": "Telefonnummer", "Resend Code": "Skicka koden igen", "Reset password": "\xC5terst\xE4ll l\xF6senord", "Reset your password": "\xC5terst\xE4ll ditt l\xF6senord", "Send code": "Skicka kod", "Sign in": "Logga in", "Sign In": "Logga in", "Sign in to your account": "Logga in till ditt konto", "Sign Out": "Logga ut", "Sign Up": "Registrering", "We Emailed You": "Vi har skickat e-post till dig", "Enter your code": "Skriv din kod", Skip: "Hoppa \xF6ver", Submit: "Skicka", "User already exists": "Anv\xE4ndaren finns redan", "User does not exist": "Anv\xE4ndaren finns inte", Username: "Anv\xE4ndarnamn", "Username cannot be empty": "Anv\xE4ndarnamnet kan inte vara tomt", Verify: "Verifiera", "Verify Contact": "Verifiera kontakt" };
|
|
7854
|
-
|
|
7854
|
+
o();
|
|
7855
7855
|
var me = { "Account recovery requires verified contact information": "Pemulihan akun memerlukan informasi kontak terverifikasi", "An account with the given email already exists.": "Akun dengan email tersebut sudah terdaftar.", "Attempt limit exceeded, please try after some time.": "Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.", "Back to Sign In": "Kembali ke Masuk", "Cannot reset password for the user as there is no registered/verified email or phone_number": "Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon", Change: "Ubah", "Change Password": "Ubah kata sandi", Code: "Kode", Confirm: "Konfirmasi", "Confirm a Code": "Konfirmasi kode", "Confirm Password": "Konfirmasi kata sandi", "Confirmation Code": "Kode Konfirmasi", "Create a new account": "Buat akun baru", "Create account": "Buat akun", "Create Account": "Buat Akun", "Creating Account": "Membuat Akun", Confirming: "Mengkonfirmasi", Email: "Email", "Enter your code": "Masukkan kode anda", "Enter your email": "Masukkan email anda", "Enter your password": "Masukkan kata sandi anda", "Enter your phone number": "Masukkan nomor telepon anda", "Enter your username": "Masukkan nama akun anda", "Forgot Password": "Lupa kata sandi", "Forgot your password?": "Lupa kata sandi? ", "Have an account? ": "Sudah punya akun? ", Hello: "Halo", "Incorrect username or password.": "Nama akun atau kata sandi salah.", "Invalid phone number format": "Nomor telepon tidak sesuai dengan format.", "Invalid verification code provided, please try again.": "Kode verifikasi tidak sesuai, mohon coba lagi.", "It may take a minute to arrive.": "Mungkin perlu beberapa waktu untuk tiba.", "Lost your code? ": "Kode anda hilang?", Name: "Nama", "Network error": "Galat jaringan", "New password": "Kata sandi baru", "No account? ": "Tidak ada akun?", or: "atau", Password: "Kata sandi", "Password did not conform with policy: Password not long enough": "Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang", "Phone Number": "Nomor telepon", "Resend a Code": "Renvoyer un code", "Resend Code": "Kirim ulang kodenya", "Reset password": "Ubah kata sandi anda", "Reset your password": "Ubah kata sandi anda", Send: "Kirim", "Send Code": "Kirim Kode", "Send code": "Kirim kode", Sending: "Mengirim", "Sign in": "Masuk", "Sign In": "Masuk", "Sign in to your account": "Masuk akun anda", "Sign In with Amazon": "Masuk dengan Amazon", "Sign In with AWS": "Masuk dengan AWS", "Sign In with Facebook": "Masuk dengan Facebook", "Sign In with Google": "Masuk dengan Google", "Sign Up with Amazon": "Daftar dengan Amazon", "Sign Up with AWS": "Daftar dengan AWS", "Sign Up with Facebook": "Daftar dengan Facebook", "Sign Up with Google": "Daftar dengan Google", "Signing in": "Memasuki", Skip: "Lewati", SMS: "SMS", Submit: "Ajukan", Submitting: "Mengajukan", "User is disabled.": "Akun dinonaktifkan.", "User already exists": "Akun sudah terdaftar", "User does not exist.": "Akun tidak terdaftar.", Username: "Nama akun", "Username cannot be empty": "Nama akun tidak boleh kosong", "Username/client id combination not found.": "Nama akun atau id tidak ditemukan.", Verify: "Verifikasi", "Verify Contact": "Verifikasi Kontak", "We Emailed You": "Kami mengirimkanmu email", "Your code is on the way. To log in, enter the code we emailed to": "Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke", "Your code is on the way. To log in, enter the code we texted to": "Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke", "Your passwords must match": "Kata sandi harus sama" };
|
|
7856
|
-
|
|
7857
|
-
var ve = {
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7856
|
+
o();
|
|
7857
|
+
var ve = { "Account recovery requires verified contact information": "Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir", "An account with the given email already exists.": "Bu e-postaya ait zaten bir hesap var.", "Back to Sign In": "Oturum A\xE7maya Geri D\xF6n", "Change Password": "\u015Eifreyi De\u011Fi\u015Ftir", Changing: "De\u011Fi\u015Ftiriliyor", Code: "Kod", Confirm: "Do\u011Frula", "Confirm Password": "\u015Eifreyi Do\u011Frula", "Confirm Sign In": "Oturum A\xE7may\u0131 Do\u011Frula", "Confirm Sign Up": "Kay\u0131t \u0130\u015Flemini Do\u011Frula", "Confirm SMS Code": "SMS Kodunu Do\u011Frula", "Confirm TOTP Code": "Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula", "Confirmation Code": "Do\u011Frulama Kodu", Confirming: "Do\u011Frulan\u0131yor", "Create Account": "Hesap Olu\u015Ftur", "Creating Account": "Hesap Olu\u015Fturuluyor", Email: "E-posta", "Enter your code": "Kodu girin", "Enter your username": "Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin", "Enter your phone number": "Telefon numaran\u0131z\u0131 girin", "Enter your email": "E-posta adresinizi girin", "Forgot your password?": "\u015Eifrenizi mi unuttunuz?", "Hide password": "\u015Eifreyi gizle", "Have an account? ": "Hesab\u0131n\u0131z var m\u0131? ", "Incorrect username or password": "Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre", "Invalid password format": "Ge\xE7ersiz parola format\u0131", "Invalid phone number format": "Ge\xE7ersiz telefon numaras\u0131 format\u0131", "Lost your code? ": "Kodu mu kaybettiniz? ", Loading: "Y\xFCkleniyor", "New password": "Yeni \u015Fifre", "No account? ": "Hesab\u0131n\u0131z yok mu? ", or: "veya", Password: "\u015Eifre", "Password attempts exceeded": "Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131", "Phone Number": "Telefon Numaras\u0131", "Resend Code": "Kodu Yeniden G\xF6nder", "Reset your password": "\u015Eifrenizi s\u0131f\u0131rlay\u0131n", "Reset your Password": "\u015Eifrenizi S\u0131f\u0131rlay\u0131n", "Send Code": "Kod G\xF6nder", "Send code": "Kod g\xF6nder", Sending: "G\xF6nderiliyor", "Setup TOTP": "Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap", "Show password": "\u015Eifreyi g\xF6ster", "Sign in": "Oturum a\xE7", "Sign In": "Oturum A\xE7", "Sign In with Amazon": "Amazon ile Oturum A\xE7", "Sign In with Apple": "Apple ile Oturum A\xE7", "Sign In with Facebook": "Facebook ile Oturum A\xE7", "Sign In with Google": "Google ile Oturum A\xE7", "Sign in to your account": "Hesab\u0131n\u0131zda oturum a\xE7\u0131n", "Create a new account": "Yeni bir hesap olu\u015Ftur", "Signing in": "Oturum a\xE7\u0131l\u0131yor", "Sign Out": "\xC7\u0131k\u0131\u015F yap", "Sign Up": "Kay\u0131t Ol", Skip: "Atla", Submit: "G\xF6nder", Submitting: "G\xF6nderiliyor", "User already exists": "Bu kullan\u0131c\u0131 zaten var", "User does not exist": "B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil", Username: "Kullan\u0131c\u0131 ad\u0131", "Username cannot be empty": "Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz", "Verify Contact": "Ki\u015Fiyi Do\u011Frula", Verify: "Do\u011Frula" };
|
|
7858
|
+
o();
|
|
7859
|
+
var pe = { BACK_SIGN_IN: "Back to Sign In", BIRTHDATE: "Birthdate", CHANGE_PASSWORD: "Change Password", CHANGING_PASSWORD: "Changing", CODE: "Code", CONFIRM_PASSWORD: "Confirm Password", CONFIRM_RESET_PASSWORD_HEADING: "Reset your Password", CONFIRM_SIGNUP_HEADING: "Confirm Sign Up", CONFIRM_SMS: "Confirm SMS Code", CONFIRM_TOTP: "Confirm TOTP Code", CONFIRM: "Confirm", CONFIRMATION_CODE: "Confirmation Code", CONFIRMING: "Confirming", CREATE_ACCOUNT: "Create Account", CREATING_ACCOUNT: "Creating Account", EMAIL_ADDRESS: "Email", ENTER_CODE: "Enter your code", ENTER_USERNAME: "Enter your username", FAMILY_NAME: "Family Name", GIVEN_NAME: "Given Name", FORGOT_YOUR_PASSWORD: "Forgot your password?", FORGOT_YOUR_PASSWORD_LEGACY: "Forgot your password? ", HIDE_PASSWORD: "Hide password", LOADING: "Loading", LOGIN_NAME: "Username", MIDDLE_NAME: "Middle Name", NAME: "Name", NICKNAME: "Nickname", NEW_PASSWORD: "New password", PASSWORD: "Password", PHONE_NUMBER: "Phone Number", PREFERRED_USERNAME: "Preferred Username", PROFILE: "Profile", RESEND_CODE: "Resend Code", RESET_PASSWORD_HEADING: "Reset your password", RESET_PASSWORD: "Reset Password", SEND_CODE: "Send code", SENDING: "Sending", SETUP_TOTP: "Setup TOTP", SHOW_PASSWORD: "Show password", SIGN_IN_BUTTON: "Sign in", SIGN_IN_TAB: "Sign In", SIGN_IN_WITH_AMAZON: "Sign In with Amazon", SIGN_IN_WITH_APPLE: "Sign In with Apple", SIGN_IN_WITH_FACEBOOK: "Sign In with Facebook", SIGN_IN_WITH_GOOGLE: "Sign In with Google", SIGN_IN: "Sign in to your account", SIGN_UP_BUTTON: "Create a new account", SIGNING_IN_BUTTON: "Signing in", SKIP: "Skip", SUBMIT: "Submit", SUBMITTING: "Submitting", VERIFY_CONTACT: "Verify Contact", VERIFY_HEADING: "Account recovery requires verified contact information", VERIFY: "Verify", WEBSITE: "Website" };
|
|
7860
|
+
var Pe = v({}, ee), Re = v({}, oe), We = v({}, re), Ue = v({}, ae), Ve = v({}, te), _e = v({}, ne), Fe = v({}, ie), Oe = v({}, se), Ne = v({}, le), ze = v({}, ue), Me = v({}, de), Be = v({}, ce), Ge = v({}, me), Le = v({}, ve), He = v({}, pe);
|
|
7861
|
+
v({}, He);
|
|
7862
|
+
function on(r) {
|
|
7861
7863
|
return I18n.get(r);
|
|
7862
7864
|
}
|
|
7863
|
-
function
|
|
7865
|
+
function rn(r) {
|
|
7864
7866
|
return I18n.get(r) !== r;
|
|
7865
7867
|
}
|
|
7866
|
-
var
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
var L = (r) => stop_1(r),
|
|
7871
|
-
} }),
|
|
7872
|
-
} }),
|
|
7873
|
-
} }),
|
|
7874
|
-
} }),
|
|
7875
|
-
} }), W = assign_1({ validationError: (r) => ({}) }),
|
|
7868
|
+
var an = { de: Pe, en: Re, es: We, fr: Ue, id: Ge, it: Ve, ja: _e, kr: Fe, nl: Oe, pl: Ne, pt: ze, zh: Me, sv: Be, tr: Le };
|
|
7869
|
+
o();
|
|
7870
|
+
o();
|
|
7871
|
+
o();
|
|
7872
|
+
var L = (r) => stop_1(r), je = assign_1({ attributeToVerify: (r) => {
|
|
7873
|
+
} }), Ke = assign_1({ challengeName: (r) => {
|
|
7874
|
+
} }), Ye = assign_1({ requiredAttributes: (r) => {
|
|
7875
|
+
} }), I = assign_1({ remoteError: (r) => "" }), P = assign_1({ formValues: (r) => ({}) }), R = assign_1({ touched: (r) => ({}) }), $e = assign_1({ unverifiedAttributes: (r) => {
|
|
7876
|
+
} }), Xe = assign_1({ username: (r) => {
|
|
7877
|
+
} }), W = assign_1({ validationError: (r) => ({}) }), Ze = assign_1({ challengeName: (r, e) => {
|
|
7876
7878
|
var a;
|
|
7877
|
-
return (a =
|
|
7878
|
-
} }),
|
|
7879
|
+
return (a = e.data) == null ? void 0 : a.challengeName;
|
|
7880
|
+
} }), Qe = assign_1({ requiredAttributes: (r, e) => {
|
|
7879
7881
|
var a, t;
|
|
7880
|
-
return (t = (a =
|
|
7881
|
-
} }),
|
|
7882
|
+
return (t = (a = e.data) == null ? void 0 : a.challengeParam) == null ? void 0 : t.requiredAttributes;
|
|
7883
|
+
} }), Je = assign_1({ redirectIntent: (r) => "confirmPasswordReset" }), eo = assign_1({ redirectIntent: (r) => "confirmSignUp" }), Y = assign_1({ authAttributes: (r, e) => {
|
|
7882
7884
|
var l, u;
|
|
7883
7885
|
let [a] = r.loginMechanisms, t = (l = r.formValues[a]) != null ? l : r.formValues.username, s = (u = r.formValues) == null ? void 0 : u.password;
|
|
7884
7886
|
return { username: t, password: s };
|
|
7885
|
-
} }),
|
|
7887
|
+
} }), U = assign_1({ validationError: (r, e) => e.data }), V = assign_1({ remoteError: (r, e) => {
|
|
7886
7888
|
var a;
|
|
7887
|
-
return
|
|
7888
|
-
} }),
|
|
7889
|
-
let { name: a, value: t } =
|
|
7890
|
-
return C(
|
|
7891
|
-
} }), F = assign_1({ formValues: (r,
|
|
7892
|
-
let { name: a } =
|
|
7893
|
-
return C(
|
|
7894
|
-
} }), X = assign_1({ formValues: (r,
|
|
7889
|
+
return e.data.name === "NoUserPoolError" ? "Configuration error (see console) \u2013 please contact the administrator" : ((a = e.data) == null ? void 0 : a.message) || e.data;
|
|
7890
|
+
} }), oo = assign_1({ unverifiedAttributes: (r, e) => e.data.unverified }), $ = assign_1({ user: (r, e) => e.data.user || e.data }), ro = assign_1({ username: (r, e) => r.formValues.username }), ao = assign_1({ codeDeliveryDetails: (r, e) => e.data.codeDeliveryDetails }), to = assign_1({ authAttributes: (r, e) => ({ username: r.formValues.username }) }), _ = assign_1({ formValues: (r, e) => {
|
|
7891
|
+
let { name: a, value: t } = e.data;
|
|
7892
|
+
return C(v({}, r.formValues), { [a]: t });
|
|
7893
|
+
} }), F = assign_1({ formValues: (r, e) => v(v({}, r.formValues), e.data) }), O = assign_1({ touched: (r, e) => {
|
|
7894
|
+
let { name: a } = e.data;
|
|
7895
|
+
return C(v({}, r.touched), { [`${a}`]: true });
|
|
7896
|
+
} }), X = assign_1({ formValues: (r, e) => {
|
|
7895
7897
|
var d;
|
|
7896
7898
|
let [a = "username"] = r.loginMechanisms;
|
|
7897
7899
|
if (!r.formValues.phone_number && a !== "phone_number")
|
|
7898
7900
|
return r.formValues;
|
|
7899
|
-
let { formValues: t, country_code: s } = r, l = t.phone_number ? "phone_number" : "username", u = `${(d = t.country_code) != null ? d : s}${t[l]}`.replace(/[^A-Z0-9+]/gi, ""),
|
|
7900
|
-
return delete
|
|
7901
|
+
let { formValues: t, country_code: s } = r, l = t.phone_number ? "phone_number" : "username", u = `${(d = t.country_code) != null ? d : s}${t[l]}`.replace(/[^A-Z0-9+]/gi, ""), m = C(v({}, t), { [l]: u });
|
|
7902
|
+
return delete m.country_code, m;
|
|
7901
7903
|
} });
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
var
|
|
7906
|
-
let
|
|
7907
|
-
return isEmpty_1(
|
|
7904
|
+
o();
|
|
7905
|
+
o();
|
|
7906
|
+
o();
|
|
7907
|
+
var N = async (r, e, a, t) => {
|
|
7908
|
+
let s = await Promise.all(t.map((u) => u(r, e, a))), l = merge_1({}, ...s);
|
|
7909
|
+
return isEmpty_1(l) ? Promise.resolve() : Promise.reject(l);
|
|
7908
7910
|
};
|
|
7909
|
-
|
|
7911
|
+
o();
|
|
7910
7912
|
var z = { async getAmplifyConfig() {
|
|
7911
7913
|
return Amplify.configure();
|
|
7912
7914
|
}, async getCurrentUser() {
|
|
7913
7915
|
return Auth.currentAuthenticatedUser();
|
|
7914
7916
|
}, async handleSignUp(r) {
|
|
7915
7917
|
return Auth.signUp(r);
|
|
7916
|
-
}, async handleSignIn({ username: r, password:
|
|
7917
|
-
return Auth.signIn(r,
|
|
7918
|
-
}, async handleConfirmSignIn({ user: r, code:
|
|
7919
|
-
return Auth.confirmSignIn(r,
|
|
7920
|
-
}, async handleConfirmSignUp({ username: r, code:
|
|
7921
|
-
return await Auth.confirmSignUp(r,
|
|
7922
|
-
}, async handleForgotPasswordSubmit({ username: r, code:
|
|
7923
|
-
return Auth.forgotPasswordSubmit(r,
|
|
7918
|
+
}, async handleSignIn({ username: r, password: e }) {
|
|
7919
|
+
return Auth.signIn(r, e);
|
|
7920
|
+
}, async handleConfirmSignIn({ user: r, code: e, mfaType: a }) {
|
|
7921
|
+
return Auth.confirmSignIn(r, e, a);
|
|
7922
|
+
}, async handleConfirmSignUp({ username: r, code: e }) {
|
|
7923
|
+
return await Auth.confirmSignUp(r, e);
|
|
7924
|
+
}, async handleForgotPasswordSubmit({ username: r, code: e, password: a }) {
|
|
7925
|
+
return Auth.forgotPasswordSubmit(r, e, a);
|
|
7924
7926
|
}, async handleForgotPassword(r) {
|
|
7925
7927
|
return Auth.forgotPassword(r);
|
|
7926
|
-
}, async validateCustomSignUp(r,
|
|
7927
|
-
}, async
|
|
7928
|
-
let { password:
|
|
7928
|
+
}, async validateCustomSignUp(r, e) {
|
|
7929
|
+
}, async validateFormPassword(r, e, a) {
|
|
7930
|
+
let { password: t } = r, { password: s } = e;
|
|
7931
|
+
if (!s || !a)
|
|
7932
|
+
return null;
|
|
7933
|
+
let l = [], u = +(a == null ? void 0 : a.passwordPolicyMinLength);
|
|
7934
|
+
t.length < u && l.push(`Password must have at least ${u} characters`);
|
|
7935
|
+
let m = a == null ? void 0 : a.passwordPolicyCharacters;
|
|
7936
|
+
return m == null || m.forEach((d) => {
|
|
7937
|
+
switch (d) {
|
|
7938
|
+
case "REQUIRES_LOWERCASE":
|
|
7939
|
+
/[a-z]/.test(t) || l.push("Password must have lower case letters");
|
|
7940
|
+
break;
|
|
7941
|
+
case "REQUIRES_UPPERCASE":
|
|
7942
|
+
/[A-Z]/.test(t) || l.push("Password must have upper case letters");
|
|
7943
|
+
break;
|
|
7944
|
+
case "REQUIRES_NUMBERS":
|
|
7945
|
+
/[0-9]/.test(t) || l.push("Password must have numbers");
|
|
7946
|
+
break;
|
|
7947
|
+
case "REQUIRES_SYMBOLS":
|
|
7948
|
+
/[\W]/.test(t) || l.push("Password must have special characters");
|
|
7949
|
+
break;
|
|
7950
|
+
}
|
|
7951
|
+
}), l.length !== 0 ? { password: l } : null;
|
|
7952
|
+
}, async validateConfirmPassword(r, e) {
|
|
7953
|
+
let { password: a, confirm_password: t } = r, { confirm_password: s, password: l } = e;
|
|
7929
7954
|
if (!a && !t)
|
|
7930
7955
|
return null;
|
|
7931
|
-
if ((a || t) && a !== t && (s && l || a.length >= 6 && t.length >= 6))
|
|
7956
|
+
if ((a || t) && a !== t && (s && l || (a == null ? void 0 : a.length) >= 6 && (t == null ? void 0 : t.length) >= 6))
|
|
7932
7957
|
return { confirm_password: "Your passwords must match" };
|
|
7933
|
-
}, async validatePreferredUsername(r,
|
|
7958
|
+
}, async validatePreferredUsername(r, e) {
|
|
7934
7959
|
} };
|
|
7935
|
-
function
|
|
7936
|
-
return createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, CHANGE: { actions: "handleInput" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onError: { actions: "setRemoteError" } } }, submit: { tags: ["pending"], entry: ["parsePhoneNumber", "clearError", sendUpdate$1()], invoke: { src: "signIn", onDone: [{ cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldForceChangePassword", actions: ["setUser", "setChallengeName", "setRequiredAttributes"], target: "#signInActor.forceNewPassword" }, { actions: "setUser", target: "verifying" }], onError: [{ cond: "shouldRedirectToConfirmSignUp", actions: ["setCredentials", "setConfirmSignUpIntent"], target: "rejected" }, { cond: "shouldRedirectToConfirmResetPassword", actions: ["setUsernameAuthAttributes", "setConfirmResetPasswordIntent"], target: "rejected" }, { actions: "setRemoteError", target: "edit" }] } }, verifying: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "checkVerifiedContact", onDone: [{ cond: "shouldRequestVerification", target: "#signInActor.verifyUser", actions: "setUnverifiedAttributes" }, { target: "resolved" }], onError: { actions: "setRemoteError", target: "edit" } } }, resolved: { always: "#signInActor.resolved" }, rejected: { always: "#signInActor.rejected" } } }, confirmSignIn: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmSignIn", onDone: { target: "#signInActor.resolved", actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, forceNewPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "validate" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "forceNewPassword", onDone: [{ cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { target: "resolved", actions: ["setUser", "setCredentials"] }], onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signInActor.resolved" } } } } }, setupTOTP: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "verifyTotpToken", onDone: { actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"], target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, verifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "verifyUser", onDone: { target: "#signInActor.confirmVerifyUser" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, confirmVerifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearUnverifiedAttributes", "clearAttributeToVerify", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "confirmVerifyUser", onDone: { target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, resolved: { type: "final", data: (
|
|
7960
|
+
function io({ services: r }) {
|
|
7961
|
+
return createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, CHANGE: { actions: "handleInput" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onError: { actions: "setRemoteError" } } }, submit: { tags: ["pending"], entry: ["parsePhoneNumber", "clearError", sendUpdate$1()], invoke: { src: "signIn", onDone: [{ cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldForceChangePassword", actions: ["setUser", "setChallengeName", "setRequiredAttributes"], target: "#signInActor.forceNewPassword" }, { actions: "setUser", target: "verifying" }], onError: [{ cond: "shouldRedirectToConfirmSignUp", actions: ["setCredentials", "setConfirmSignUpIntent"], target: "rejected" }, { cond: "shouldRedirectToConfirmResetPassword", actions: ["setUsernameAuthAttributes", "setConfirmResetPasswordIntent"], target: "rejected" }, { actions: "setRemoteError", target: "edit" }] } }, verifying: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "checkVerifiedContact", onDone: [{ cond: "shouldRequestVerification", target: "#signInActor.verifyUser", actions: "setUnverifiedAttributes" }, { target: "resolved" }], onError: { actions: "setRemoteError", target: "edit" } } }, resolved: { always: "#signInActor.resolved" }, rejected: { always: "#signInActor.rejected" } } }, confirmSignIn: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmSignIn", onDone: { target: "#signInActor.resolved", actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, forceNewPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "validate" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "forceNewPassword", onDone: [{ cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { target: "resolved", actions: ["setUser", "setCredentials"] }], onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signInActor.resolved" } } } } }, setupTOTP: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "verifyTotpToken", onDone: { actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"], target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, verifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "verifyUser", onDone: { target: "#signInActor.confirmVerifyUser" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, confirmVerifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearUnverifiedAttributes", "clearAttributeToVerify", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "confirmVerifyUser", onDone: { target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, resolved: { type: "final", data: (e) => ({ user: e.user }) }, rejected: { type: "final", data: (e, a) => ({ intent: e.redirectIntent, authAttributes: e.authAttributes }) } } }, { actions: { clearAttributeToVerify: je, clearChallengeName: Ke, clearRequiredAttributes: Ye, clearError: I, clearFormValues: P, clearTouched: R, clearUnverifiedAttributes: $e, clearValidationError: W, handleInput: _, handleSubmit: F, handleBlur: O, parsePhoneNumber: X, setChallengeName: Ze, setConfirmResetPasswordIntent: Je, setConfirmSignUpIntent: eo, setRequiredAttributes: Qe, setCredentials: Y, setFieldErrors: U, setRemoteError: V, setUnverifiedAttributes: oo, setUser: $, setUsernameAuthAttributes: to }, guards: { shouldConfirmSignIn: (e, a) => {
|
|
7937
7962
|
let t = get_1(a, "data.challengeName");
|
|
7938
7963
|
return ["SMS_MFA", "SOFTWARE_TOKEN_MFA"].includes(t);
|
|
7939
|
-
}, shouldRedirectToConfirmSignUp: (
|
|
7964
|
+
}, shouldRedirectToConfirmSignUp: (e, a) => a.data.code === "UserNotConfirmedException", shouldRedirectToConfirmResetPassword: (e, a) => a.data.code === "PasswordResetRequiredException", shouldSetupTOTP: (e, a) => get_1(a, "data.challengeName") === "MFA_SETUP", shouldForceChangePassword: (e, a) => get_1(a, "data.challengeName") === "NEW_PASSWORD_REQUIRED", shouldRequestVerification: (e, a) => {
|
|
7940
7965
|
let { unverified: t, verified: s } = a.data;
|
|
7941
7966
|
return isEmpty_1(s) && !isEmpty_1(t);
|
|
7942
|
-
} }, services: { async signIn(
|
|
7943
|
-
let { username: a, password: t } =
|
|
7967
|
+
} }, services: { async signIn(e) {
|
|
7968
|
+
let { username: a, password: t } = e.formValues;
|
|
7944
7969
|
return await r.handleSignIn({ username: a, password: t });
|
|
7945
|
-
}, async confirmSignIn(
|
|
7946
|
-
let { challengeName: t, user: s } =
|
|
7970
|
+
}, async confirmSignIn(e, a) {
|
|
7971
|
+
let { challengeName: t, user: s } = e, { confirmation_code: l } = e.formValues, u;
|
|
7947
7972
|
return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await r.handleConfirmSignIn({ user: s, code: l, mfaType: u }), await Auth.currentAuthenticatedUser();
|
|
7948
|
-
}, async forceNewPassword(
|
|
7949
|
-
let { user: t, formValues: s } =
|
|
7950
|
-
return
|
|
7951
|
-
}, async verifyTotpToken(
|
|
7952
|
-
let { user: t } =
|
|
7973
|
+
}, async forceNewPassword(e, a) {
|
|
7974
|
+
let { user: t, formValues: s } = e, h2 = s, { password: l, confirm_password: u, phone_number: m, country_code: d } = h2, f = q(h2, ["password", "confirm_password", "phone_number", "country_code"]), g;
|
|
7975
|
+
return m && (g = `${d}${m}`.replace(/[^A-Z0-9+]/gi, ""), f = C(v({}, f), { phone_number: g })), Auth.completeNewPassword(t, l, f);
|
|
7976
|
+
}, async verifyTotpToken(e, a) {
|
|
7977
|
+
let { user: t } = e, { confirmation_code: s } = e.formValues;
|
|
7953
7978
|
return Auth.verifyTotpToken(t, s);
|
|
7954
|
-
}, async federatedSignIn(
|
|
7979
|
+
}, async federatedSignIn(e, a) {
|
|
7955
7980
|
let { provider: t } = a.data;
|
|
7956
7981
|
return await Auth.federatedSignIn({ provider: t });
|
|
7957
|
-
}, async checkVerifiedContact(
|
|
7958
|
-
let { user: t } =
|
|
7982
|
+
}, async checkVerifiedContact(e, a) {
|
|
7983
|
+
let { user: t } = e;
|
|
7959
7984
|
return await Auth.verifiedContact(t);
|
|
7960
|
-
}, async verifyUser(
|
|
7961
|
-
let { unverifiedAttr: t } =
|
|
7962
|
-
return
|
|
7963
|
-
}, async confirmVerifyUser(
|
|
7964
|
-
let { attributeToVerify: t } =
|
|
7985
|
+
}, async verifyUser(e, a) {
|
|
7986
|
+
let { unverifiedAttr: t } = e.formValues, s = await Auth.verifyCurrentUserAttribute(t);
|
|
7987
|
+
return e.attributeToVerify = t, s;
|
|
7988
|
+
}, async confirmVerifyUser(e, a) {
|
|
7989
|
+
let { attributeToVerify: t } = e, { confirmation_code: s } = e.formValues;
|
|
7965
7990
|
return await Auth.verifyCurrentUserAttributeSubmit(t, s);
|
|
7966
|
-
}, async validateFields(
|
|
7967
|
-
return
|
|
7991
|
+
}, async validateFields(e, a) {
|
|
7992
|
+
return N(e.formValues, e.touched, e.passwordSettings, [z.validateConfirmPassword]);
|
|
7968
7993
|
} } });
|
|
7969
7994
|
}
|
|
7970
|
-
|
|
7971
|
-
var
|
|
7972
|
-
|
|
7973
|
-
function
|
|
7974
|
-
return createMachine({ id: "resetPasswordActor", initial: "init", states: { init: { always: [{ target: "confirmResetPassword", cond: "shouldAutoConfirmReset" }, { target: "resetPassword" }] }, resetPassword: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "setUsername", "clearError"], invoke: { src: "resetPassword", onDone: { target: "#resetPasswordActor.confirmResetPassword" }, onError: { actions: ["setRemoteError"], target: "edit" } } } } }, confirmResetPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearUsername", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "validate" }, RESEND: "resendCode", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, resendCode: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "resetPassword", onDone: { target: "idle" }, onError: { actions: "setRemoteError", target: "idle" } } }, pending: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmResetPassword", onDone: { actions: "clearUsername", target: "#resetPasswordActor.resolved" }, onError: { actions: "setRemoteError", target: "idle" } } } } } } }, resolved: { type: "final" } } }, { actions: { clearError:
|
|
7995
|
+
o();
|
|
7996
|
+
var so = createMachine({ initial: "pending", id: "signOutActor", states: { pending: { tags: ["pending"], invoke: { src: "signOut", onDone: "resolved", onError: "rejected" } }, resolved: { type: "final" }, rejected: { type: "final" } } }, { services: { signOut: () => Auth.signOut() } });
|
|
7997
|
+
o();
|
|
7998
|
+
function lo({ services: r }) {
|
|
7999
|
+
return createMachine({ id: "resetPasswordActor", initial: "init", states: { init: { always: [{ target: "confirmResetPassword", cond: "shouldAutoConfirmReset" }, { target: "resetPassword" }] }, resetPassword: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "setUsername", "clearError"], invoke: { src: "resetPassword", onDone: { target: "#resetPasswordActor.confirmResetPassword" }, onError: { actions: ["setRemoteError"], target: "edit" } } } } }, confirmResetPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearUsername", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "validate" }, RESEND: "resendCode", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, resendCode: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "resetPassword", onDone: { target: "idle" }, onError: { actions: "setRemoteError", target: "idle" } } }, pending: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmResetPassword", onDone: { actions: "clearUsername", target: "#resetPasswordActor.resolved" }, onError: { actions: "setRemoteError", target: "idle" } } } } } } }, resolved: { type: "final" } } }, { actions: { clearError: I, clearFormValues: P, clearTouched: R, clearUsername: Xe, clearValidationError: W, handleInput: _, handleSubmit: F, handleBlur: O, setFieldErrors: U, setRemoteError: V, setUsername: ro }, guards: { shouldAutoConfirmReset: (e, a) => !!(e.intent && e.intent === "confirmPasswordReset") }, services: { async resetPassword(e) {
|
|
7975
8000
|
var t, s;
|
|
7976
|
-
let a = (s = (t =
|
|
8001
|
+
let a = (s = (t = e.formValues) == null ? void 0 : t.username) != null ? s : e.username;
|
|
7977
8002
|
return r.handleForgotPassword(a);
|
|
7978
|
-
}, async confirmResetPassword(
|
|
7979
|
-
let { username: a } =
|
|
8003
|
+
}, async confirmResetPassword(e) {
|
|
8004
|
+
let { username: a } = e, { confirmation_code: t, password: s } = e.formValues;
|
|
7980
8005
|
return r.handleForgotPasswordSubmit({ username: a, code: t, password: s });
|
|
7981
|
-
}, async validateFields(
|
|
7982
|
-
return
|
|
8006
|
+
}, async validateFields(e, a) {
|
|
8007
|
+
return N(e.formValues, e.touched, e.passwordSettings, [z.validateConfirmPassword]);
|
|
7983
8008
|
} } });
|
|
7984
8009
|
}
|
|
7985
|
-
|
|
7986
|
-
function
|
|
7987
|
-
return createMachine({ id: "signUpActor", initial: "init", states: { init: { always: [{ target: "confirmSignUp", cond: "shouldInitConfirmSignUp" }, { target: "signUp" }] }, signUp: { type: "parallel", exit: ["clearError", "clearFormValues", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateSignUp", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "validate" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onDone: "#signUpActor.resolved", onError: { actions: "setRemoteError" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateSignUp", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: ["parsePhoneNumber", sendUpdate$1(), "clearError"], invoke: { src: "signUp", onDone: [{ cond: "shouldSkipConfirm", target: "skipConfirm", actions: ["setUser"] }, { target: "resolved", actions: ["setUser", "setCredentials", "setCodeDeliveryDetails"] }], onError: { target: "idle", actions: "setRemoteError" } } }, skipConfirm: { invoke: { src: "signIn", onDone: { target: "#signUpActor.resolved", actions: "setUser" }, onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signUpActor.confirmSignUp" } } } } }, confirmSignUp: { initial: "edit", states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" }, RESEND: "resend" } }, resend: { tags: ["pending"], entry: sendUpdate$1(), invoke: { src: "resendConfirmationCode", onDone: { target: "edit" }, onError: [{ target: "#signUpActor.resolved", actions: "setUser", cond: "isUserAlreadyConfirmed" }, { target: "edit", actions: "setRemoteError" }] } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "confirmSignUp", onDone: { target: "#signUpActor.resolved", actions: ["setUser"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, resolved: { type: "final", data: (
|
|
7988
|
-
let { username: t, password: s } =
|
|
7989
|
-
return { user: get_1(a, "data.user") ||
|
|
7990
|
-
} } } }, { guards: { isUserAlreadyConfirmed: (
|
|
7991
|
-
let { user: t, authAttributes: s, formValues: l } =
|
|
7992
|
-
return await Auth.signIn(u,
|
|
7993
|
-
}, async confirmSignUp(
|
|
7994
|
-
let { user: t, authAttributes: s, formValues: l } =
|
|
7995
|
-
return await r.handleConfirmSignUp({ username:
|
|
7996
|
-
}, async resendConfirmationCode(
|
|
7997
|
-
let { user: t, authAttributes: s } =
|
|
8010
|
+
o();
|
|
8011
|
+
function uo({ services: r }) {
|
|
8012
|
+
return createMachine({ id: "signUpActor", initial: "init", states: { init: { always: [{ target: "confirmSignUp", cond: "shouldInitConfirmSignUp" }, { target: "signUp" }] }, signUp: { type: "parallel", exit: ["clearError", "clearFormValues", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateSignUp", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "validate" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onDone: "#signUpActor.resolved", onError: { actions: "setRemoteError" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateSignUp", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: ["parsePhoneNumber", sendUpdate$1(), "clearError"], invoke: { src: "signUp", onDone: [{ cond: "shouldSkipConfirm", target: "skipConfirm", actions: ["setUser"] }, { target: "resolved", actions: ["setUser", "setCredentials", "setCodeDeliveryDetails"] }], onError: { target: "idle", actions: "setRemoteError" } } }, skipConfirm: { invoke: { src: "signIn", onDone: { target: "#signUpActor.resolved", actions: "setUser" }, onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signUpActor.confirmSignUp" } } } } }, confirmSignUp: { initial: "edit", states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "submit" }, CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" }, RESEND: "resend" } }, resend: { tags: ["pending"], entry: sendUpdate$1(), invoke: { src: "resendConfirmationCode", onDone: { target: "edit" }, onError: [{ target: "#signUpActor.resolved", actions: "setUser", cond: "isUserAlreadyConfirmed" }, { target: "edit", actions: "setRemoteError" }] } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "confirmSignUp", onDone: { target: "#signUpActor.resolved", actions: ["setUser"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, resolved: { type: "final", data: (e, a) => {
|
|
8013
|
+
let { username: t, password: s } = e.authAttributes;
|
|
8014
|
+
return { user: get_1(a, "data.user") || e.user, authAttributes: { username: t, password: s } };
|
|
8015
|
+
} } } }, { guards: { isUserAlreadyConfirmed: (e, a) => a.data.message === "User is already confirmed.", shouldInitConfirmSignUp: (e) => e.intent && e.intent === "confirmSignUp", shouldSkipConfirm: (e, a) => a.data.userConfirmed }, actions: { clearError: I, clearFormValues: P, clearTouched: R, clearValidationError: W, handleInput: _, handleSubmit: F, handleBlur: O, parsePhoneNumber: X, setCredentials: Y, setFieldErrors: U, setRemoteError: V, setCodeDeliveryDetails: ao, setUser: $ }, services: { async signIn(e, a) {
|
|
8016
|
+
let { user: t, authAttributes: s, formValues: l } = e, u = get_1(t, "username") || get_1(s, "username"), m = get_1(l, "password");
|
|
8017
|
+
return await Auth.signIn(u, m);
|
|
8018
|
+
}, async confirmSignUp(e, a) {
|
|
8019
|
+
let { user: t, authAttributes: s, formValues: l } = e, { confirmation_code: u } = l, m = get_1(t, "username") || get_1(s, "username"), { password: d } = s;
|
|
8020
|
+
return await r.handleConfirmSignUp({ username: m, code: u }), await Auth.signIn(m, d);
|
|
8021
|
+
}, async resendConfirmationCode(e, a) {
|
|
8022
|
+
let { user: t, authAttributes: s } = e, l = get_1(t, "username") || get_1(s, "username");
|
|
7998
8023
|
return Auth.resendSignUp(l);
|
|
7999
|
-
}, async federatedSignIn(
|
|
8024
|
+
}, async federatedSignIn(e, a) {
|
|
8000
8025
|
let { provider: t } = a.data;
|
|
8001
8026
|
return await Auth.federatedSignIn({ provider: t });
|
|
8002
|
-
}, async signUp(
|
|
8003
|
-
let { formValues: t, loginMechanisms: s } =
|
|
8027
|
+
}, async signUp(e, a) {
|
|
8028
|
+
let { formValues: t, loginMechanisms: s } = e, [l = "username"] = s, { [l]: u, password: m } = t, d = pickBy_1(t, (f, g) => {
|
|
8004
8029
|
switch (g) {
|
|
8005
8030
|
case "address":
|
|
8006
8031
|
case "birthdate":
|
|
@@ -8024,140 +8049,140 @@ function io({ services: r }) {
|
|
|
8024
8049
|
return g.startsWith("custom:");
|
|
8025
8050
|
}
|
|
8026
8051
|
});
|
|
8027
|
-
return await r.handleSignUp({ username: u, password:
|
|
8028
|
-
}, async validateSignUp(
|
|
8029
|
-
return
|
|
8052
|
+
return await r.handleSignUp({ username: u, password: m, attributes: d });
|
|
8053
|
+
}, async validateSignUp(e, a) {
|
|
8054
|
+
return N(e.formValues, e.touched, e.passwordSettings, [r.validateFormPassword, r.validateConfirmPassword, r.validatePreferredUsername, r.validateCustomSignUp]);
|
|
8030
8055
|
} } });
|
|
8031
8056
|
}
|
|
8032
|
-
var
|
|
8033
|
-
function
|
|
8034
|
-
return createMachine({ id: "authenticator", initial: "idle", context: { user: void 0, config: {}, services: {}, actorRef: void 0 }, states: { idle: { on: { INIT: { target: "setup", actions: "configure" } } }, setup: { invoke: [{ src: (r,
|
|
8057
|
+
var co = "+1";
|
|
8058
|
+
function Zn() {
|
|
8059
|
+
return createMachine({ id: "authenticator", initial: "idle", context: { user: void 0, config: {}, services: {}, actorRef: void 0 }, states: { idle: { on: { INIT: { target: "setup", actions: "configure" } } }, setup: { invoke: [{ src: (r, e) => r.services.getCurrentUser(), onDone: { actions: "setUser", target: "authenticated" }, onError: [{ target: "signUp", cond: (r) => r.config.initialState === "signUp" }, { target: "resetPassword", cond: (r) => r.config.initialState === "resetPassword" }, { target: "signIn" }] }, { src: (r, e) => r.services.getAmplifyConfig(), onDone: { actions: "applyAmplifyConfig" } }] }, signIn: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignInActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: L("signInActor") } }, on: { SIGN_UP: "signUp", RESET_PASSWORD: "resetPassword", "done.invoke.signInActor": [{ target: "signUp", actions: "setActorDoneData", cond: "shouldRedirectToSignUp" }, { target: "resetPassword", actions: "setActorDoneData", cond: "shouldRedirectToResetPassword" }, { target: "authenticated", actions: "setActorDoneData" }] } }, signUp: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignUpActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: L("signUpActor") } }, on: { SIGN_IN: "signIn", "done.invoke.signUpActor": { target: "setup", actions: "setActorDoneData" } } }, resetPassword: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnResetPasswordActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: L("resetPasswordActor") } }, on: { SIGN_IN: "signIn", "done.invoke.resetPasswordActor": { target: "signIn", actions: "setActorDoneData" } } }, signOut: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignOutActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: [L("signOutActor"), "clearUser"] } }, on: { "done.invoke.signOutActor": "signIn" } }, authenticated: { on: { SIGN_OUT: "signOut" } } }, on: { CHANGE: { actions: "forwardToActor" }, BLUR: { actions: "forwardToActor" }, SUBMIT: { actions: "forwardToActor" }, FEDERATED_SIGN_IN: { actions: "forwardToActor" }, RESEND: { actions: "forwardToActor" }, SIGN_OUT: { actions: "forwardToActor" }, SIGN_IN: { actions: "forwardToActor" }, SKIP: { actions: "forwardToActor" } } }, { actions: { forwardToActor: forwardTo$1((r) => r.actorRef), setUser: assign$3({ user: (r, e) => e.data }), setActorDoneData: assign$3({ actorDoneData: (r, e) => {
|
|
8035
8060
|
var a, t;
|
|
8036
|
-
return { authAttributes:
|
|
8037
|
-
}, user: (r,
|
|
8061
|
+
return { authAttributes: v({}, (a = e.data) == null ? void 0 : a.authAttributes), intent: (t = e.data) == null ? void 0 : t.intent };
|
|
8062
|
+
}, user: (r, e) => {
|
|
8038
8063
|
var a;
|
|
8039
|
-
return (a =
|
|
8040
|
-
} }), clearUser: assign$3({ user: void 0 }), clearActorDoneData: assign$3({ actorDoneData: void 0 }), applyAmplifyConfig: assign$3({ config(r,
|
|
8041
|
-
var
|
|
8042
|
-
let a = (
|
|
8064
|
+
return (a = e.data) == null ? void 0 : a.user;
|
|
8065
|
+
} }), clearUser: assign$3({ user: void 0 }), clearActorDoneData: assign$3({ actorDoneData: void 0 }), applyAmplifyConfig: assign$3({ config(r, e) {
|
|
8066
|
+
var B, G, be, Se, ye, Ce, ke, we, xe;
|
|
8067
|
+
let a = (G = (B = e.data.aws_cognito_username_attributes) == null ? void 0 : B.map((A) => A.toLowerCase())) != null ? G : [], t = (Se = (be = e.data.aws_cognito_verification_mechanisms) == null ? void 0 : be.map((A) => A.toLowerCase())) != null ? Se : [], s = (Ce = (ye = e.data.aws_cognito_signup_attributes) == null ? void 0 : ye.map((A) => A.toLowerCase())) != null ? Ce : [], l = (we = (ke = e.data.aws_cognito_social_providers) == null ? void 0 : ke.map((A) => A.toLowerCase())) != null ? we : [], u = e.data.aws_cognito_password_protection_settings || {};
|
|
8043
8068
|
a.length === 0 && a.push("username");
|
|
8044
|
-
let { loginMechanisms:
|
|
8045
|
-
return { loginMechanisms:
|
|
8046
|
-
} }), spawnSignInActor: assign$3({ actorRef: (r,
|
|
8047
|
-
var s, l, u,
|
|
8048
|
-
let { services: a } = r, t =
|
|
8069
|
+
let { loginMechanisms: m, signUpAttributes: d, socialProviders: f, initialState: g, formFields: h2 } = r.config;
|
|
8070
|
+
return { loginMechanisms: m != null ? m : a, formFields: (xe = ya(h2)) != null ? xe : {}, passwordSettings: u, signUpAttributes: d != null ? d : Array.from(new Set([...t, ...s])), socialProviders: f != null ? f : l.sort(), initialState: g };
|
|
8071
|
+
} }), spawnSignInActor: assign$3({ actorRef: (r, e) => {
|
|
8072
|
+
var s, l, u, m, d;
|
|
8073
|
+
let { services: a } = r, t = io({ services: a }).withContext({ authAttributes: (s = r.actorDoneData) == null ? void 0 : s.authAttributes, user: r.user, intent: (l = r.actorDoneData) == null ? void 0 : l.intent, country_code: co, formValues: {}, touched: {}, validationError: {}, loginMechanisms: (u = r.config) == null ? void 0 : u.loginMechanisms, socialProviders: (m = r.config) == null ? void 0 : m.socialProviders, formFields: (d = r.config) == null ? void 0 : d.formFields });
|
|
8049
8074
|
return spawn(t, { name: "signInActor" });
|
|
8050
|
-
} }), spawnSignUpActor: assign$3({ actorRef: (r,
|
|
8051
|
-
var s, l, u,
|
|
8052
|
-
let { services: a } = r, t =
|
|
8075
|
+
} }), spawnSignUpActor: assign$3({ actorRef: (r, e) => {
|
|
8076
|
+
var s, l, u, m, d, f, g;
|
|
8077
|
+
let { services: a } = r, t = uo({ services: a }).withContext({ authAttributes: (l = (s = r.actorDoneData) == null ? void 0 : s.authAttributes) != null ? l : {}, country_code: co, intent: (u = r.actorDoneData) == null ? void 0 : u.intent, formValues: {}, touched: {}, validationError: {}, loginMechanisms: (m = r.config) == null ? void 0 : m.loginMechanisms, socialProviders: (d = r.config) == null ? void 0 : d.socialProviders, formFields: (f = r.config) == null ? void 0 : f.formFields, passwordSettings: (g = r.config) == null ? void 0 : g.passwordSettings });
|
|
8053
8078
|
return spawn(t, { name: "signUpActor" });
|
|
8054
|
-
} }), spawnResetPasswordActor: assign$3({ actorRef: (r,
|
|
8055
|
-
var s, l, u,
|
|
8056
|
-
let { services: a } = r, t =
|
|
8079
|
+
} }), spawnResetPasswordActor: assign$3({ actorRef: (r, e) => {
|
|
8080
|
+
var s, l, u, m;
|
|
8081
|
+
let { services: a } = r, t = lo({ services: a }).withContext({ formValues: {}, touched: {}, intent: (s = r.actorDoneData) == null ? void 0 : s.intent, username: (u = (l = r.actorDoneData) == null ? void 0 : l.authAttributes) == null ? void 0 : u.username, formFields: (m = r.config) == null ? void 0 : m.formFields, validationError: {} });
|
|
8057
8082
|
return spawn(t, { name: "resetPasswordActor" });
|
|
8058
8083
|
} }), spawnSignOutActor: assign$3({ actorRef: (r) => {
|
|
8059
|
-
let
|
|
8060
|
-
return spawn(
|
|
8061
|
-
} }), configure: assign$3((r,
|
|
8062
|
-
let s =
|
|
8063
|
-
return { services:
|
|
8064
|
-
}) }, guards: { shouldRedirectToSignUp: (r,
|
|
8084
|
+
let e = so.withContext({ user: r.user });
|
|
8085
|
+
return spawn(e, { name: "signOutActor" });
|
|
8086
|
+
} }), configure: assign$3((r, e) => {
|
|
8087
|
+
let s = e.data, { services: a } = s, t = q(s, ["services"]);
|
|
8088
|
+
return { services: v(v({}, z), a), config: t };
|
|
8089
|
+
}) }, guards: { shouldRedirectToSignUp: (r, e) => {
|
|
8065
8090
|
var a;
|
|
8066
|
-
return ((a =
|
|
8067
|
-
}, shouldRedirectToResetPassword: (r,
|
|
8091
|
+
return ((a = e.data) == null ? void 0 : a.intent) ? e.data.intent === "confirmSignUp" : false;
|
|
8092
|
+
}, shouldRedirectToResetPassword: (r, e) => {
|
|
8068
8093
|
var a;
|
|
8069
|
-
return ((a =
|
|
8094
|
+
return ((a = e.data) == null ? void 0 : a.intent) ? e.data.intent === "confirmPasswordReset" : false;
|
|
8070
8095
|
} } });
|
|
8071
8096
|
}
|
|
8072
|
-
function
|
|
8073
|
-
return r && Object.keys(r).forEach((
|
|
8074
|
-
Object.keys(r[
|
|
8075
|
-
let t = r[
|
|
8097
|
+
function ya(r) {
|
|
8098
|
+
return r && Object.keys(r).forEach((e) => {
|
|
8099
|
+
Object.keys(r[e]).forEach((a) => {
|
|
8100
|
+
let t = r[e][a];
|
|
8076
8101
|
t.required = t.isRequired;
|
|
8077
8102
|
});
|
|
8078
8103
|
}), r;
|
|
8079
8104
|
}
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
var
|
|
8086
|
-
|
|
8087
|
-
var
|
|
8088
|
-
|
|
8089
|
-
var
|
|
8105
|
+
o();
|
|
8106
|
+
o();
|
|
8107
|
+
o();
|
|
8108
|
+
o();
|
|
8109
|
+
o();
|
|
8110
|
+
var mo = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
8111
|
+
o();
|
|
8112
|
+
var vo = { red: { 10: { value: "hsl(0, 75%, 95%)" }, 20: { value: "hsl(0, 75%, 85%)" }, 40: { value: "hsl(0, 75%, 75%)" }, 60: { value: "hsl(0, 50%, 50%)" }, 80: { value: "hsl(0, 95%, 30%)" }, 90: { value: "hsl(0, 100%, 20%)" }, 100: { value: "hsl(0, 100%, 15%)" } }, orange: { 10: { value: "hsl(30, 75%, 95%)" }, 20: { value: "hsl(30, 75%, 85%)" }, 40: { value: "hsl(30, 75%, 75%)" }, 60: { value: "hsl(30, 50%, 50%)" }, 80: { value: "hsl(30, 95%, 30%)" }, 90: { value: "hsl(30, 100%, 20%)" }, 100: { value: "hsl(30, 100%, 15%)" } }, yellow: { 10: { value: "hsl(60, 75%, 95%)" }, 20: { value: "hsl(60, 75%, 85%)" }, 40: { value: "hsl(60, 75%, 75%)" }, 60: { value: "hsl(60, 50%, 50%)" }, 80: { value: "hsl(60, 95%, 30%)" }, 90: { value: "hsl(60, 100%, 20%)" }, 100: { value: "hsl(60, 100%, 15%)" } }, green: { 10: { value: "hsl(130, 60%, 95%)" }, 20: { value: "hsl(130, 60%, 90%)" }, 40: { value: "hsl(130, 44%, 63%)" }, 60: { value: "hsl(130, 43%, 46%)" }, 80: { value: "hsl(130, 33%, 37%)" }, 90: { value: "hsl(130, 27%, 29%)" }, 100: { value: "hsl(130, 22%, 23%)" } }, teal: { 10: { value: "hsl(190, 75%, 95%)" }, 20: { value: "hsl(190, 75%, 85%)" }, 40: { value: "hsl(190, 70%, 70%)" }, 60: { value: "hsl(190, 50%, 50%)" }, 80: { value: "hsl(190, 95%, 30%)" }, 90: { value: "hsl(190, 100%, 20%)" }, 100: { value: "hsl(190, 100%, 15%)" } }, blue: { 10: { value: "hsl(220, 95%, 95%)" }, 20: { value: "hsl(220, 85%, 85%)" }, 40: { value: "hsl(220, 70%, 70%)" }, 60: { value: "hsl(220, 50%, 50%)" }, 80: { value: "hsl(220, 95%, 30%)" }, 90: { value: "hsl(220, 100%, 20%)" }, 100: { value: "hsl(220, 100%, 15%)" } }, purple: { 10: { value: "hsl(300, 95%, 95%)" }, 20: { value: "hsl(300, 85%, 85%)" }, 40: { value: "hsl(300, 70%, 70%)" }, 60: { value: "hsl(300, 50%, 50%)" }, 80: { value: "hsl(300, 95%, 30%)" }, 90: { value: "hsl(300, 100%, 20%)" }, 100: { value: "hsl(300, 100%, 15%)" } }, pink: { 10: { value: "hsl(340, 95%, 95%)" }, 20: { value: "hsl(340, 90%, 85%)" }, 40: { value: "hsl(340, 70%, 70%)" }, 60: { value: "hsl(340, 50%, 50%)" }, 80: { value: "hsl(340, 95%, 30%)" }, 90: { value: "hsl(340, 100%, 20%)" }, 100: { value: "hsl(340, 100%, 15%)" } }, neutral: { 10: { value: "hsl(210, 5%, 98%)" }, 20: { value: "hsl(210, 5%, 94%)" }, 40: { value: "hsl(210, 5%, 87%)" }, 60: { value: "hsl(210, 6%, 70%)" }, 80: { value: "hsl(210, 10%, 40%)" }, 90: { value: "hsl(210, 25%, 25%)" }, 100: { value: "hsl(210, 50%, 10%)" } }, brand: { primary: { 10: { value: "{colors.teal.10.value}" }, 20: { value: "{colors.teal.20.value}" }, 40: { value: "{colors.teal.40.value}" }, 60: { value: "{colors.teal.60.value}" }, 80: { value: "{colors.teal.80.value}" }, 90: { value: "{colors.teal.90.value}" }, 100: { value: "{colors.teal.100.value}" } }, secondary: { 10: { value: "{colors.purple.10.value}" }, 20: { value: "{colors.purple.20.value}" }, 40: { value: "{colors.purple.40.value}" }, 60: { value: "{colors.purple.60.value}" }, 80: { value: "{colors.purple.80.value}" }, 90: { value: "{colors.purple.90.value}" }, 100: { value: "{colors.purple.100.value}" } } }, font: { primary: { value: "{colors.neutral.100.value}" }, secondary: { value: "{colors.neutral.90.value}" }, tertiary: { value: "{colors.neutral.80.value}" }, disabled: { value: "{colors.font.tertiary.value}" }, inverse: { value: "{colors.white.value}" }, interactive: { value: "{colors.brand.primary.80.value}" }, hover: { value: "{colors.brand.primary.90.value}" }, focus: { value: "{colors.brand.primary.100.value}" }, active: { value: "{colors.brand.primary.100.value}" }, info: { value: "{colors.blue.90.value}" }, warning: { value: "{colors.orange.90.value}" }, error: { value: "{colors.red.90.value}" }, success: { value: "{colors.green.90.value}" } }, background: { primary: { value: "{colors.white.value}" }, secondary: { value: "{colors.neutral.10.value}" }, tertiary: { value: "{colors.neutral.20.value}" }, disabled: { value: "{colors.background.tertiary.value}" }, info: { value: "{colors.blue.20.value}" }, warning: { value: "{colors.orange.20.value}" }, error: { value: "{colors.red.20.value}" }, success: { value: "{colors.green.20.value}" } }, border: { primary: { value: "{colors.neutral.60.value}" }, secondary: { value: "{colors.neutral.40.value}" }, tertiary: { value: "{colors.neutral.20.value}" }, disabled: { value: "{colors.border.tertiary.value}" }, focus: { value: "{colors.brand.primary.100.value}" }, error: { value: "{colors.red.80.value}" } }, shadow: { primary: { value: "hsla(210, 50%, 10%, 0.25)" }, secondary: { value: "hsla(210, 50%, 10%, 0.15)" }, tertiary: { value: "hsla(210, 50%, 10%, 0.05)" } }, overlay: { 10: { value: "hsla(0, 0%, 0%, 0.1)" }, 20: { value: "hsla(0, 0%, 0%, 0.2)" }, 30: { value: "hsla(0, 0%, 0%, 0.3)" }, 40: { value: "hsla(0, 0%, 0%, 0.4)" }, 50: { value: "hsla(0, 0%, 0%, 0.5)" }, 60: { value: "hsla(0, 0%, 0%, 0.6)" }, 70: { value: "hsla(0, 0%, 0%, 0.7)" }, 80: { value: "hsla(0, 0%, 0%, 0.8)" }, 90: { value: "hsla(0, 0%, 0%, 0.9)" } }, black: { value: "hsl(0, 0%, 0%)" }, white: { value: "hsl(0, 0%, 100%)" }, transparent: { value: "transparent" } };
|
|
8113
|
+
o();
|
|
8114
|
+
var po = { default: { variable: { value: `'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,
|
|
8090
8115
|
'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
|
8091
8116
|
sans-serif` }, static: { value: `'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
|
|
8092
8117
|
'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif` } } };
|
|
8093
|
-
|
|
8094
|
-
var
|
|
8095
|
-
|
|
8096
|
-
var
|
|
8097
|
-
|
|
8098
|
-
var
|
|
8099
|
-
|
|
8100
|
-
var
|
|
8101
|
-
|
|
8102
|
-
var
|
|
8103
|
-
|
|
8104
|
-
var
|
|
8105
|
-
|
|
8106
|
-
var
|
|
8107
|
-
|
|
8108
|
-
var
|
|
8109
|
-
|
|
8110
|
-
var
|
|
8111
|
-
|
|
8112
|
-
var
|
|
8113
|
-
|
|
8114
|
-
var
|
|
8115
|
-
var
|
|
8116
|
-
|
|
8117
|
-
var
|
|
8118
|
-
var J = { tokens:
|
|
8119
|
-
|
|
8120
|
-
var
|
|
8118
|
+
o();
|
|
8119
|
+
var go = { xxxs: { value: "0.375rem" }, xxs: { value: "0.5rem" }, xs: { value: "0.75rem" }, small: { value: "0.875rem" }, medium: { value: "1rem" }, large: { value: "1.25rem" }, xl: { value: "1.5rem" }, xxl: { value: "2rem" }, xxxl: { value: "2.5rem" }, xxxxl: { value: "3rem" } };
|
|
8120
|
+
o();
|
|
8121
|
+
var fo = { hairline: { value: 100 }, thin: { value: 200 }, light: { value: 300 }, normal: { value: 400 }, medium: { value: 500 }, semibold: { value: 600 }, bold: { value: 700 }, extrabold: { value: 800 }, black: { value: 900 } };
|
|
8122
|
+
o();
|
|
8123
|
+
var ho = { small: { value: "1.25" }, medium: { value: "1.5" }, large: { value: "2" } };
|
|
8124
|
+
o();
|
|
8125
|
+
var bo = { 0: { value: "0" }, 10: { value: "0.1" }, 20: { value: "0.2" }, 30: { value: "0.3" }, 40: { value: "0.4" }, 50: { value: "0.5" }, 60: { value: "0.6" }, 70: { value: "0.7" }, 80: { value: "0.8" }, 90: { value: "0.9" }, 100: { value: "1" } };
|
|
8126
|
+
o();
|
|
8127
|
+
var So = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
8128
|
+
o();
|
|
8129
|
+
var yo = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
8130
|
+
o();
|
|
8131
|
+
var Co = { xs: { value: "0.125rem" }, small: { value: "0.25rem" }, medium: { value: "0.5rem" }, large: { value: "1rem" }, xl: { value: "2rem" }, xxl: { value: "4rem" }, xxxl: { value: "8rem" } };
|
|
8132
|
+
o();
|
|
8133
|
+
var ko = { small: { value: { offsetX: "0px", offsetY: "2px", blurRadius: "4px", color: "{colors.shadow.tertiary.value}" } }, medium: { value: { offsetX: "0px", offsetY: "2px", blurRadius: "6px", color: "{colors.shadow.secondary.value}" } }, large: { value: { offsetX: "0px", offsetY: "4px", blurRadius: "12px", color: "{colors.shadow.primary.value}" } } };
|
|
8134
|
+
o();
|
|
8135
|
+
var wo = { zero: { value: "0" }, xxxs: { value: "0.25rem" }, xxs: { value: "0.375rem" }, xs: { value: "0.5rem" }, small: { value: "0.75rem" }, medium: { value: "1rem" }, large: { value: "1.5rem" }, xl: { value: "2.0rem" }, xxl: { value: "3.0rem" }, xxxl: { value: "4.5rem" }, relative: { xxxs: { value: "0.25em" }, xxs: { value: "0.375em" }, xs: { value: "0.5em" }, small: { value: "0.75em" }, medium: { value: "1em" }, large: { value: "1.5em" }, xl: { value: "2.0em" }, xxl: { value: "3.0em" }, xxxl: { value: "4.5em" }, full: { value: "100%" } } };
|
|
8136
|
+
o();
|
|
8137
|
+
var xo = { short: { value: "100ms" }, medium: { value: "250ms" }, long: { value: "500ms" } };
|
|
8138
|
+
o();
|
|
8139
|
+
var Ao = { slideX: { small: { value: "translateX(0.5em)" }, medium: { value: "translateX(1em)" }, large: { value: "translateX(2em)" } } };
|
|
8140
|
+
var Yr = { components: Kr(), borderWidths: mo, colors: vo, fonts: po, fontSizes: go, fontWeights: fo, lineHeights: ho, opacities: bo, outlineOffsets: So, outlineWidths: yo, radii: Co, shadows: ko, space: wo, time: xo, transforms: Ao };
|
|
8141
|
+
o();
|
|
8142
|
+
var $r = { values: { base: 0, small: 480, medium: 768, large: 992, xl: 1280, xxl: 1536 }, defaultBreakpoint: "base" };
|
|
8143
|
+
var J = { tokens: Yr, breakpoints: $r, name: "default-theme" };
|
|
8144
|
+
o();
|
|
8145
|
+
var wa = "amplify";
|
|
8121
8146
|
function M(r) {
|
|
8122
8147
|
if (usesReference_1(r)) {
|
|
8123
|
-
let
|
|
8124
|
-
return `var(--${
|
|
8148
|
+
let e = r.replace(/\{|\}/g, "").replace(".value", "").split(".");
|
|
8149
|
+
return `var(--${fe({ path: e })})`;
|
|
8125
8150
|
}
|
|
8126
8151
|
return r;
|
|
8127
8152
|
}
|
|
8128
|
-
function
|
|
8129
|
-
let { value:
|
|
8130
|
-
if (typeof
|
|
8131
|
-
return M(
|
|
8132
|
-
if (typeof
|
|
8133
|
-
let { offsetX: a = "", offsetY: t = "", blurRadius: s = "", spreadRadius: l = "", color: u = "" } =
|
|
8153
|
+
function Xr(r) {
|
|
8154
|
+
let { value: e } = r;
|
|
8155
|
+
if (typeof e == "string")
|
|
8156
|
+
return M(e);
|
|
8157
|
+
if (typeof e == "object" && "offsetX" in e) {
|
|
8158
|
+
let { offsetX: a = "", offsetY: t = "", blurRadius: s = "", spreadRadius: l = "", color: u = "" } = e;
|
|
8134
8159
|
return [M(a), M(t), M(s), M(l), M(u)].join(" ");
|
|
8135
8160
|
}
|
|
8136
|
-
return
|
|
8161
|
+
return e;
|
|
8137
8162
|
}
|
|
8138
|
-
function
|
|
8139
|
-
return `${kebabCase_1([
|
|
8163
|
+
function fe({ path: r = [] }) {
|
|
8164
|
+
return `${kebabCase_1([wa, ...r].join(" "))}`;
|
|
8140
8165
|
}
|
|
8141
|
-
function
|
|
8142
|
-
let a = `--${
|
|
8143
|
-
return { name: a, path:
|
|
8166
|
+
function Aa(r, e) {
|
|
8167
|
+
let a = `--${fe({ path: e })}`, { value: t } = r;
|
|
8168
|
+
return { name: a, path: e, value: Xr(r), original: t, toString: () => `var(${a})` };
|
|
8144
8169
|
}
|
|
8145
|
-
function
|
|
8170
|
+
function he(r, e = []) {
|
|
8146
8171
|
let a = {};
|
|
8147
8172
|
if (r.hasOwnProperty("value"))
|
|
8148
|
-
return
|
|
8173
|
+
return Aa(r, e);
|
|
8149
8174
|
for (let t in r)
|
|
8150
|
-
r.hasOwnProperty(t) && (a[t] =
|
|
8175
|
+
r.hasOwnProperty(t) && (a[t] = he(r[t], e.concat(t)));
|
|
8151
8176
|
return a;
|
|
8152
8177
|
}
|
|
8153
|
-
function
|
|
8154
|
-
let a = deepExtend_1([{},
|
|
8178
|
+
function Qr(r, e = J) {
|
|
8179
|
+
let a = deepExtend_1([{}, e, r]), t = he(a.tokens), { breakpoints: s, name: l } = a, u = `[data-amplify-theme="${l}"] {
|
|
8155
8180
|
` + flattenProperties_1(t).map((d) => `${d.name}: ${d.value};`).join(`
|
|
8156
8181
|
`) + `
|
|
8157
8182
|
}
|
|
8158
|
-
`,
|
|
8159
|
-
return a.overrides && (
|
|
8160
|
-
let f =
|
|
8183
|
+
`, m = [];
|
|
8184
|
+
return a.overrides && (m = a.overrides.map((d) => {
|
|
8185
|
+
let f = he(d.tokens), g = flattenProperties_1(f).map((h2) => `${h2.name}: ${h2.value};`).join(`
|
|
8161
8186
|
`);
|
|
8162
8187
|
return "selector" in d && (u += `
|
|
8163
8188
|
${d.selector} {
|
|
@@ -8185,12 +8210,12 @@ ${g}
|
|
|
8185
8210
|
[data-amplify-theme="${l}"][data-amplify-color-mode="${d.colorMode}"] {
|
|
8186
8211
|
${g}
|
|
8187
8212
|
}
|
|
8188
|
-
`), C(
|
|
8189
|
-
})), { tokens: t, breakpoints: s, name: l, cssText: u, overrides:
|
|
8213
|
+
`), C(v({}, d), { tokens: f });
|
|
8214
|
+
})), { tokens: t, breakpoints: s, name: l, cssText: u, overrides: m };
|
|
8190
8215
|
}
|
|
8191
|
-
|
|
8192
|
-
|
|
8193
|
-
|
|
8216
|
+
o();
|
|
8217
|
+
o();
|
|
8218
|
+
Qr({ name: "default-theme" }, J);
|
|
8194
8219
|
const useAliases = (login_mechanisms) => (login_mechanisms == null ? void 0 : login_mechanisms.length) === 1 && login_mechanisms[0] === "username" ? [...K] : login_mechanisms;
|
|
8195
8220
|
const facade = {
|
|
8196
8221
|
error: "",
|
|
@@ -8229,8 +8254,8 @@ const propsCreator = (name, show, formOverrides, labelHiddenDefault = false) =>
|
|
|
8229
8254
|
return {
|
|
8230
8255
|
labelHidden: (_a2 = fo2 == null ? void 0 : fo2.labelHidden) != null ? _a2 : labelHiddenDefault,
|
|
8231
8256
|
required: (_b = fo2 == null ? void 0 : fo2.required) != null ? _b : true,
|
|
8232
|
-
label: (_c = fo2 == null ? void 0 : fo2.label) != null ? _c :
|
|
8233
|
-
placeholder: (_d = fo2 == null ? void 0 : fo2.placeholder) != null ? _d :
|
|
8257
|
+
label: (_c = fo2 == null ? void 0 : fo2.label) != null ? _c : on(show),
|
|
8258
|
+
placeholder: (_d = fo2 == null ? void 0 : fo2.placeholder) != null ? _d : on(show)
|
|
8234
8259
|
};
|
|
8235
8260
|
};
|
|
8236
8261
|
const _sfc_main$s = {};
|
|
@@ -8244,8 +8269,8 @@ var __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render
|
|
|
8244
8269
|
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
8245
8270
|
emits: ["update:modelValue"],
|
|
8246
8271
|
setup(__props, { emit }) {
|
|
8247
|
-
const onInput = (
|
|
8248
|
-
emit("update:modelValue",
|
|
8272
|
+
const onInput = (e) => {
|
|
8273
|
+
emit("update:modelValue", e.target.value);
|
|
8249
8274
|
};
|
|
8250
8275
|
return (_ctx, _cache) => {
|
|
8251
8276
|
return openBlock(), createElementBlock("input", {
|
|
@@ -8256,7 +8281,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
8256
8281
|
}
|
|
8257
8282
|
});
|
|
8258
8283
|
const _hoisted_1$a = ["aria-label"];
|
|
8259
|
-
const _hoisted_2$
|
|
8284
|
+
const _hoisted_2$7 = {
|
|
8260
8285
|
key: 0,
|
|
8261
8286
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8262
8287
|
fill: "currentColor",
|
|
@@ -8286,8 +8311,8 @@ const _hoisted_8$2 = [
|
|
|
8286
8311
|
function setup(__props) {
|
|
8287
8312
|
var _a2;
|
|
8288
8313
|
const props = __props;
|
|
8289
|
-
const showPassword =
|
|
8290
|
-
const hidePassword =
|
|
8314
|
+
const showPassword = on("Show password");
|
|
8315
|
+
const hidePassword = on("Hide password");
|
|
8291
8316
|
const showHideType = ref("password");
|
|
8292
8317
|
const showHideLabel = ref(showPassword);
|
|
8293
8318
|
const random = Math.floor(Math.random() * 999999);
|
|
@@ -8297,8 +8322,8 @@ function setup(__props) {
|
|
|
8297
8322
|
showHideLabel.value = showHideLabel.value === showPassword ? hidePassword : showPassword;
|
|
8298
8323
|
showHideType.value = showHideType.value === "password" ? "text" : "password";
|
|
8299
8324
|
}
|
|
8300
|
-
const placeholderValue =
|
|
8301
|
-
const labelValue =
|
|
8325
|
+
const placeholderValue = on((_a2 = placeholder == null ? void 0 : placeholder.value) != null ? _a2 : label.value);
|
|
8326
|
+
const labelValue = on(label.value);
|
|
8302
8327
|
return (_ctx, _cache) => {
|
|
8303
8328
|
const _component_base_label = __unplugin_components_0;
|
|
8304
8329
|
const _component_base_input = _sfc_main$r;
|
|
@@ -8345,7 +8370,7 @@ function setup(__props) {
|
|
|
8345
8370
|
type: "button",
|
|
8346
8371
|
onClick: togglePasswordText
|
|
8347
8372
|
}, [
|
|
8348
|
-
showHideType.value === "password" ? (openBlock(), createElementBlock("svg", _hoisted_2$
|
|
8373
|
+
showHideType.value === "password" ? (openBlock(), createElementBlock("svg", _hoisted_2$7, _hoisted_4$3)) : (openBlock(), createElementBlock("svg", _hoisted_5$3, _hoisted_8$2))
|
|
8349
8374
|
], 8, _hoisted_1$a)
|
|
8350
8375
|
]),
|
|
8351
8376
|
_: 1
|
|
@@ -8384,8 +8409,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
8384
8409
|
emits: ["update:selectValue"],
|
|
8385
8410
|
setup(__props, { emit }) {
|
|
8386
8411
|
const { options, selectValue } = __props;
|
|
8387
|
-
const onChange = (
|
|
8388
|
-
emit("update:selectValue",
|
|
8412
|
+
const onChange = (e) => {
|
|
8413
|
+
emit("update:selectValue", e.target.value);
|
|
8389
8414
|
};
|
|
8390
8415
|
return (_ctx, _cache) => {
|
|
8391
8416
|
return openBlock(), createElementBlock("select", {
|
|
@@ -8414,14 +8439,14 @@ var __assign = globalThis && globalThis.__assign || function() {
|
|
|
8414
8439
|
};
|
|
8415
8440
|
return __assign.apply(this, arguments);
|
|
8416
8441
|
};
|
|
8417
|
-
var __rest = globalThis && globalThis.__rest || function(s,
|
|
8442
|
+
var __rest = globalThis && globalThis.__rest || function(s, e) {
|
|
8418
8443
|
var t = {};
|
|
8419
8444
|
for (var p in s)
|
|
8420
|
-
if (Object.prototype.hasOwnProperty.call(s, p) &&
|
|
8445
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
8421
8446
|
t[p] = s[p];
|
|
8422
8447
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
8423
8448
|
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8424
|
-
if (
|
|
8449
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8425
8450
|
t[p[i]] = s[p[i]];
|
|
8426
8451
|
}
|
|
8427
8452
|
return t;
|
|
@@ -8523,7 +8548,7 @@ function createValues() {
|
|
|
8523
8548
|
if (!service.value)
|
|
8524
8549
|
return;
|
|
8525
8550
|
const { state, send: send2 } = useAuth();
|
|
8526
|
-
const facadeValues =
|
|
8551
|
+
const facadeValues = tt({ send: send2, state: state.value });
|
|
8527
8552
|
for (const key of Object.keys(facade)) {
|
|
8528
8553
|
useAuthenticatorValue[key] = facadeValues[key];
|
|
8529
8554
|
}
|
|
@@ -8531,7 +8556,7 @@ function createValues() {
|
|
|
8531
8556
|
useAuthenticatorValue.state = state;
|
|
8532
8557
|
}
|
|
8533
8558
|
const _hoisted_1$8 = /* @__PURE__ */ createTextVNode(/* @__PURE__ */ toDisplayString("Country Code"));
|
|
8534
|
-
const _hoisted_2$
|
|
8559
|
+
const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
|
|
8535
8560
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8536
8561
|
class: "amplify-icon",
|
|
8537
8562
|
viewBox: "0 0 24 24",
|
|
@@ -8557,25 +8582,25 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
8557
8582
|
const { userNameAlias, userName, disabled, placeholder, required, label, dialCode, dialCodeList } = __props;
|
|
8558
8583
|
const { state } = useAuth();
|
|
8559
8584
|
const { value: { context } } = state;
|
|
8560
|
-
const actorContext = computed(() =>
|
|
8585
|
+
const actorContext = computed(() => Ee(state.value));
|
|
8561
8586
|
const defaultDialCode = dialCode != null ? dialCode : actorContext.value.country_code;
|
|
8562
8587
|
let uName = ref("");
|
|
8563
8588
|
if (userName) {
|
|
8564
8589
|
uName = computed(() => userName);
|
|
8565
8590
|
}
|
|
8566
|
-
const dialCodes = computed(() => dialCodeList != null ? dialCodeList :
|
|
8591
|
+
const dialCodes = computed(() => dialCodeList != null ? dialCodeList : St);
|
|
8567
8592
|
const [primaryAlias] = useAliases((_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.loginMechanisms);
|
|
8568
8593
|
let name = primaryAlias;
|
|
8569
|
-
let labelValue = (_c = (_b =
|
|
8570
|
-
let type = (_e2 = (_d =
|
|
8594
|
+
let labelValue = (_c = (_b = E[primaryAlias]) == null ? void 0 : _b.label) != null ? _c : E["username"].label;
|
|
8595
|
+
let type = (_e2 = (_d = E[name]) == null ? void 0 : _d.type) != null ? _e2 : E["username"].label;
|
|
8571
8596
|
if (userNameAlias) {
|
|
8572
|
-
const aliasInfo =
|
|
8573
|
-
labelValue = aliasInfo.label ||
|
|
8597
|
+
const aliasInfo = et(context);
|
|
8598
|
+
labelValue = aliasInfo.label || E["username"].label;
|
|
8574
8599
|
type = aliasInfo.type;
|
|
8575
8600
|
name = "username";
|
|
8576
8601
|
}
|
|
8577
|
-
const placeholderValue =
|
|
8578
|
-
labelValue =
|
|
8602
|
+
const placeholderValue = on(placeholder != null ? placeholder : labelValue);
|
|
8603
|
+
labelValue = on(label != null ? label : labelValue);
|
|
8579
8604
|
return (_ctx, _cache) => {
|
|
8580
8605
|
const _component_base_label = __unplugin_components_0;
|
|
8581
8606
|
const _component_base_select = _sfc_main$p;
|
|
@@ -8631,7 +8656,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
8631
8656
|
style: { "align-items": "center", "justify-content": "center" }
|
|
8632
8657
|
}, {
|
|
8633
8658
|
default: withCtx(() => [
|
|
8634
|
-
_hoisted_2$
|
|
8659
|
+
_hoisted_2$6
|
|
8635
8660
|
]),
|
|
8636
8661
|
_: 1
|
|
8637
8662
|
})
|
|
@@ -8678,7 +8703,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
8678
8703
|
setup(__props) {
|
|
8679
8704
|
const { provider } = __props;
|
|
8680
8705
|
const { send: send2 } = useAuth();
|
|
8681
|
-
const onClick = (
|
|
8706
|
+
const onClick = (e) => {
|
|
8682
8707
|
send2({
|
|
8683
8708
|
type: "FEDERATED_SIGN_IN",
|
|
8684
8709
|
data: {
|
|
@@ -8722,7 +8747,7 @@ const _hoisted_1$7 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
8722
8747
|
fill: "#FF9900"
|
|
8723
8748
|
})
|
|
8724
8749
|
], -1);
|
|
8725
|
-
const _hoisted_2$
|
|
8750
|
+
const _hoisted_2$5 = {
|
|
8726
8751
|
class: "amplify-text",
|
|
8727
8752
|
style: { "align-self": "center" }
|
|
8728
8753
|
};
|
|
@@ -8804,11 +8829,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8804
8829
|
const includeGoogle = socialProviders == null ? void 0 : socialProviders.includes("google");
|
|
8805
8830
|
const shouldShowFederatedSignIn = includeFacebook || includeGoogle || includeAmazon || includeApple;
|
|
8806
8831
|
const federatedText = route === "signUp" ? "Up" : "In";
|
|
8807
|
-
const fp = computed(() =>
|
|
8808
|
-
const signInWithAmazon = computed(() =>
|
|
8809
|
-
const signInWithApple = computed(() =>
|
|
8810
|
-
const signInWithFacebook = computed(() =>
|
|
8811
|
-
const signInWithGoogle = computed(() =>
|
|
8832
|
+
const fp = computed(() => aa);
|
|
8833
|
+
const signInWithAmazon = computed(() => on(`Sign ${federatedText} with Amazon`));
|
|
8834
|
+
const signInWithApple = computed(() => on(`Sign ${federatedText} with Apple`));
|
|
8835
|
+
const signInWithFacebook = computed(() => on(`Sign ${federatedText} with Facebook`));
|
|
8836
|
+
const signInWithGoogle = computed(() => on(`Sign ${federatedText} with Google`));
|
|
8812
8837
|
return (_ctx, _cache) => {
|
|
8813
8838
|
const _component_base_wrapper = __unplugin_components_2;
|
|
8814
8839
|
return unref(shouldShowFederatedSignIn) ? (openBlock(), createBlock(_component_base_wrapper, {
|
|
@@ -8823,7 +8848,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8823
8848
|
}, {
|
|
8824
8849
|
default: withCtx(() => [
|
|
8825
8850
|
_hoisted_1$7,
|
|
8826
|
-
createElementVNode("p", _hoisted_2$
|
|
8851
|
+
createElementVNode("p", _hoisted_2$5, toDisplayString(unref(signInWithAmazon)), 1)
|
|
8827
8852
|
]),
|
|
8828
8853
|
_: 1
|
|
8829
8854
|
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
@@ -8876,10 +8901,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
8876
8901
|
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
8877
8902
|
const props = useAuthShared();
|
|
8878
8903
|
const attrs = useAttrs();
|
|
8879
|
-
const passwordLabel = computed(() =>
|
|
8880
|
-
const forgotYourPasswordLink = computed(() => !
|
|
8881
|
-
const signInButtonText = computed(() =>
|
|
8882
|
-
const signIngButtonText = computed(() =>
|
|
8904
|
+
const passwordLabel = computed(() => on("Password"));
|
|
8905
|
+
const forgotYourPasswordLink = computed(() => !rn("Forgot your password? ") ? on("Forgot your password?") : on("Forgot your password? "));
|
|
8906
|
+
const signInButtonText = computed(() => on("Sign in"));
|
|
8907
|
+
const signIngButtonText = computed(() => on("Signing in"));
|
|
8883
8908
|
const { state, send: send2 } = useAuth();
|
|
8884
8909
|
const actorState = computed(() => j(state.value));
|
|
8885
8910
|
const { value: { context } } = state;
|
|
@@ -8889,22 +8914,22 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
8889
8914
|
let fieldNames;
|
|
8890
8915
|
fieldNames = Array.from(new Set([...loginMechanisms]));
|
|
8891
8916
|
const loginMechanism = fieldNames.shift();
|
|
8892
|
-
const onInput = (
|
|
8893
|
-
const { name, value } =
|
|
8917
|
+
const onInput = (e) => {
|
|
8918
|
+
const { name, value } = e.target;
|
|
8894
8919
|
send2({
|
|
8895
8920
|
type: "CHANGE",
|
|
8896
8921
|
data: { name, value }
|
|
8897
8922
|
});
|
|
8898
8923
|
};
|
|
8899
|
-
const onSignInSubmit = (
|
|
8924
|
+
const onSignInSubmit = (e) => {
|
|
8900
8925
|
if (attrs == null ? void 0 : attrs.onSignInSubmit) {
|
|
8901
|
-
emit("signInSubmit",
|
|
8926
|
+
emit("signInSubmit", e);
|
|
8902
8927
|
} else {
|
|
8903
|
-
submit(
|
|
8928
|
+
submit(e);
|
|
8904
8929
|
}
|
|
8905
8930
|
};
|
|
8906
|
-
const submit = (
|
|
8907
|
-
props.submitForm(
|
|
8931
|
+
const submit = (e) => {
|
|
8932
|
+
props.submitForm(ja(e));
|
|
8908
8933
|
};
|
|
8909
8934
|
const onForgotPasswordClicked = () => {
|
|
8910
8935
|
if (attrs == null ? void 0 : attrs.onForgotPasswordClicked) {
|
|
@@ -8977,7 +9002,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
8977
9002
|
}, 8, ["disabled"]),
|
|
8978
9003
|
unref(actorState).context.remoteError ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
8979
9004
|
default: withCtx(() => [
|
|
8980
|
-
createTextVNode(toDisplayString(unref(
|
|
9005
|
+
createTextVNode(toDisplayString(unref(on)(unref(actorState).context.remoteError)), 1)
|
|
8981
9006
|
]),
|
|
8982
9007
|
_: 1
|
|
8983
9008
|
})) : createCommentVNode("", true),
|
|
@@ -9031,7 +9056,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
9031
9056
|
}
|
|
9032
9057
|
});
|
|
9033
9058
|
const _hoisted_1$5 = /* @__PURE__ */ createTextVNode(/* @__PURE__ */ toDisplayString("Country Code"));
|
|
9034
|
-
const _hoisted_2$
|
|
9059
|
+
const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("svg", {
|
|
9035
9060
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9036
9061
|
"data-size": "large",
|
|
9037
9062
|
fill: "currentColor",
|
|
@@ -9056,10 +9081,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
9056
9081
|
const random = Math.floor(Math.random() * 999999);
|
|
9057
9082
|
const randomPhone = Math.floor(Math.random() * 999999);
|
|
9058
9083
|
const { state, send: send2 } = useAuth();
|
|
9059
|
-
const inputAttributes = computed(() =>
|
|
9060
|
-
const actorContext = computed(() =>
|
|
9084
|
+
const inputAttributes = computed(() => E);
|
|
9085
|
+
const actorContext = computed(() => Ee(state.value));
|
|
9061
9086
|
const defaultDialCode = dialCode != null ? dialCode : actorContext.value.country_code;
|
|
9062
|
-
const dialCodes = computed(() => dialCodeList != null ? dialCodeList :
|
|
9087
|
+
const dialCodes = computed(() => dialCodeList != null ? dialCodeList : St);
|
|
9063
9088
|
onMounted(() => {
|
|
9064
9089
|
var _a2;
|
|
9065
9090
|
if (((_a2 = inputAttributes.value[name]) == null ? void 0 : _a2.type) === "tel") {
|
|
@@ -9071,7 +9096,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
9071
9096
|
});
|
|
9072
9097
|
const inferAutocomplete = computed(() => {
|
|
9073
9098
|
var _a2;
|
|
9074
|
-
return autocomplete || ((_a2 =
|
|
9099
|
+
return autocomplete || ((_a2 = E[name]) == null ? void 0 : _a2.autocomplete) || name;
|
|
9075
9100
|
});
|
|
9076
9101
|
return (_ctx, _cache) => {
|
|
9077
9102
|
const _component_base_label = __unplugin_components_0;
|
|
@@ -9127,7 +9152,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
9127
9152
|
style: { "align-items": "center", "justify-content": "center" }
|
|
9128
9153
|
}, {
|
|
9129
9154
|
default: withCtx(() => [
|
|
9130
|
-
_hoisted_2$
|
|
9155
|
+
_hoisted_2$4
|
|
9131
9156
|
]),
|
|
9132
9157
|
_: 1
|
|
9133
9158
|
})
|
|
@@ -9168,6 +9193,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
9168
9193
|
}
|
|
9169
9194
|
});
|
|
9170
9195
|
const _hoisted_1$4 = {
|
|
9196
|
+
key: 0,
|
|
9197
|
+
"data-amplify-sign-up-errors": ""
|
|
9198
|
+
};
|
|
9199
|
+
const _hoisted_2$3 = {
|
|
9171
9200
|
key: 0,
|
|
9172
9201
|
role: "alert",
|
|
9173
9202
|
"data-variation": "error",
|
|
@@ -9182,22 +9211,22 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9182
9211
|
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
9183
9212
|
const { validationErrors } = toRefs(useAuthShared());
|
|
9184
9213
|
const props = useAuthShared();
|
|
9185
|
-
const inputAttributes = computed(() =>
|
|
9186
|
-
const passwordLabel = computed(() =>
|
|
9187
|
-
const confirmPasswordLabel = computed(() =>
|
|
9214
|
+
const inputAttributes = computed(() => E);
|
|
9215
|
+
const passwordLabel = computed(() => on("Password"));
|
|
9216
|
+
const confirmPasswordLabel = computed(() => on("Confirm Password"));
|
|
9188
9217
|
let fieldNames;
|
|
9189
9218
|
let loginMechanisms = (_c = context.config) == null ? void 0 : _c.loginMechanisms;
|
|
9190
9219
|
let signUpAttributes = (_d = context.config) == null ? void 0 : _d.signUpAttributes;
|
|
9191
9220
|
fieldNames = Array.from(new Set([...loginMechanisms, ...signUpAttributes]));
|
|
9192
9221
|
fieldNames = fieldNames.filter((fieldName) => {
|
|
9193
|
-
const hasDefaultField = !!
|
|
9222
|
+
const hasDefaultField = !!E[fieldName];
|
|
9194
9223
|
if (!hasDefaultField) {
|
|
9195
9224
|
console.debug(`Authenticator does not have a default implementation for ${fieldName}. Customize the authenticator sign-up-fields slot to add your own.`);
|
|
9196
9225
|
}
|
|
9197
9226
|
return hasDefaultField;
|
|
9198
9227
|
});
|
|
9199
|
-
function onBlur(
|
|
9200
|
-
const { name } =
|
|
9228
|
+
function onBlur(e) {
|
|
9229
|
+
const { name } = e.target;
|
|
9201
9230
|
props.updateBlur({ name });
|
|
9202
9231
|
}
|
|
9203
9232
|
const loginMechanism = fieldNames.shift();
|
|
@@ -9208,10 +9237,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9208
9237
|
"confirm_password"
|
|
9209
9238
|
];
|
|
9210
9239
|
const fieldNamesCombined = [...common, ...fieldNames];
|
|
9211
|
-
const order =
|
|
9240
|
+
const order = Ka(formOverrides, fieldNamesCombined);
|
|
9212
9241
|
return (_ctx, _cache) => {
|
|
9213
9242
|
return openBlock(true), createElementBlock(Fragment, null, renderList(unref(order), (field, idx) => {
|
|
9214
|
-
var _a3, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n,
|
|
9243
|
+
var _a3, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o2, _p, _q, _r2, _s, _t;
|
|
9215
9244
|
return openBlock(), createElementBlock(Fragment, { key: idx }, [
|
|
9216
9245
|
field === unref(loginMechanism) ? (openBlock(), createBlock(_sfc_main$o, {
|
|
9217
9246
|
key: 0,
|
|
@@ -9222,28 +9251,37 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9222
9251
|
label: (_d2 = unref(userOverrides)) == null ? void 0 : _d2.label,
|
|
9223
9252
|
dialCode: (_e2 = unref(userOverrides)) == null ? void 0 : _e2.dialCode,
|
|
9224
9253
|
dialCodeList: (_f = unref(userOverrides)) == null ? void 0 : _f.dialCodeList
|
|
9225
|
-
}, null, 8, ["label-hidden", "userName", "placeholder", "required", "label", "dialCode", "dialCodeList"])) : field === "password" ? (openBlock(),
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
ariainvalid
|
|
9231
|
-
|
|
9232
|
-
|
|
9254
|
+
}, null, 8, ["label-hidden", "userName", "placeholder", "required", "label", "dialCode", "dialCodeList"])) : field === "password" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
9255
|
+
createVNode(_sfc_main$q, mergeProps({ name: "password" }, unref(propsCreator)("password", unref(passwordLabel), unref(formOverrides), true), {
|
|
9256
|
+
autocomplete: "new-password",
|
|
9257
|
+
ariainvalid: !!unref(validationErrors).confirm_password,
|
|
9258
|
+
onBlur
|
|
9259
|
+
}), null, 16, ["ariainvalid"]),
|
|
9260
|
+
!!unref(validationErrors).password ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
9261
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(validationErrors).password, (error2, idx2) => {
|
|
9262
|
+
return openBlock(), createElementBlock("p", {
|
|
9263
|
+
key: idx2,
|
|
9264
|
+
role: "alert",
|
|
9265
|
+
"data-variation": "error",
|
|
9266
|
+
class: "amplify-text"
|
|
9267
|
+
}, toDisplayString(unref(on)(error2)), 1);
|
|
9268
|
+
}), 128))
|
|
9269
|
+
])) : createCommentVNode("", true)
|
|
9270
|
+
], 64)) : field === "confirm_password" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
9233
9271
|
createVNode(_sfc_main$q, mergeProps({ name: "confirm_password" }, unref(propsCreator)("confirm_password", unref(confirmPasswordLabel), unref(formOverrides), true), {
|
|
9234
9272
|
autocomplete: "new-password",
|
|
9235
9273
|
ariainvalid: !!unref(validationErrors).confirm_password,
|
|
9236
9274
|
onBlur
|
|
9237
9275
|
}), null, 16, ["ariainvalid"]),
|
|
9238
|
-
!!unref(validationErrors).confirm_password ? (openBlock(), createElementBlock("p",
|
|
9276
|
+
!!unref(validationErrors).confirm_password ? (openBlock(), createElementBlock("p", _hoisted_2$3, toDisplayString(unref(on)(unref(validationErrors).confirm_password)), 1)) : createCommentVNode("", true)
|
|
9239
9277
|
], 64)) : (openBlock(), createBlock(_sfc_main$k, {
|
|
9240
9278
|
key: 3,
|
|
9241
|
-
label: unref(
|
|
9279
|
+
label: unref(on)((_i = (_h = (_g = unref(formOverrides)) == null ? void 0 : _g[field]) == null ? void 0 : _h.label) != null ? _i : unref(inputAttributes)[field].label),
|
|
9242
9280
|
"label-hidden": (_k = (_j = unref(formOverrides)) == null ? void 0 : _j[field]) == null ? void 0 : _k.labelHidden,
|
|
9243
9281
|
required: (_m = (_l = unref(formOverrides)) == null ? void 0 : _l[field]) == null ? void 0 : _m.required,
|
|
9244
9282
|
name: field,
|
|
9245
|
-
placeholder: unref(
|
|
9246
|
-
dialCode: (
|
|
9283
|
+
placeholder: unref(on)((_p = (_o2 = (_n = unref(formOverrides)) == null ? void 0 : _n[field]) == null ? void 0 : _o2.placeholder) != null ? _p : unref(inputAttributes)[field].label),
|
|
9284
|
+
dialCode: (_r2 = (_q = unref(formOverrides)) == null ? void 0 : _q[field]) == null ? void 0 : _r2.dialCode,
|
|
9247
9285
|
dialCodeList: (_t = (_s = unref(formOverrides)) == null ? void 0 : _s[field]) == null ? void 0 : _t.dialCodeList
|
|
9248
9286
|
}, null, 8, ["label", "label-hidden", "required", "name", "placeholder", "dialCode", "dialCodeList"]))
|
|
9249
9287
|
], 64);
|
|
@@ -9259,22 +9297,22 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9259
9297
|
const props = useAuthShared();
|
|
9260
9298
|
const { hasValidationErrors, isPending, error: error2 } = toRefs(facadeValues);
|
|
9261
9299
|
const attrs = useAttrs();
|
|
9262
|
-
const createAccountLabel = computed(() =>
|
|
9263
|
-
const onInput = (
|
|
9264
|
-
let { checked, name, type, value } =
|
|
9300
|
+
const createAccountLabel = computed(() => on("Create Account"));
|
|
9301
|
+
const onInput = (e) => {
|
|
9302
|
+
let { checked, name, type, value } = e.target;
|
|
9265
9303
|
if (type === "checkbox" && !checked)
|
|
9266
9304
|
value = void 0;
|
|
9267
9305
|
props.updateForm({ name, value });
|
|
9268
9306
|
};
|
|
9269
|
-
const onSignUpSubmit = (
|
|
9307
|
+
const onSignUpSubmit = (e) => {
|
|
9270
9308
|
if (attrs == null ? void 0 : attrs.onSignUpSubmit) {
|
|
9271
|
-
emit("signUpSubmit",
|
|
9309
|
+
emit("signUpSubmit", e);
|
|
9272
9310
|
} else {
|
|
9273
|
-
submit(
|
|
9311
|
+
submit(e);
|
|
9274
9312
|
}
|
|
9275
9313
|
};
|
|
9276
|
-
const submit = (
|
|
9277
|
-
props.submitForm(
|
|
9314
|
+
const submit = (e) => {
|
|
9315
|
+
props.submitForm(ja(e));
|
|
9278
9316
|
};
|
|
9279
9317
|
return (_ctx, _cache) => {
|
|
9280
9318
|
const _component_base_field_set = _sfc_main$y;
|
|
@@ -9313,7 +9351,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9313
9351
|
}, 8, ["disabled"]),
|
|
9314
9352
|
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
9315
9353
|
default: withCtx(() => [
|
|
9316
|
-
createTextVNode(toDisplayString(unref(
|
|
9354
|
+
createTextVNode(toDisplayString(unref(on)(unref(error2))), 1)
|
|
9317
9355
|
]),
|
|
9318
9356
|
_: 1
|
|
9319
9357
|
})) : createCommentVNode("", true),
|
|
@@ -9453,36 +9491,36 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
9453
9491
|
const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.confirmSignUp;
|
|
9454
9492
|
const confirmSignUpHeading = computed(() => {
|
|
9455
9493
|
var _a3, _b2;
|
|
9456
|
-
return ((_a3 = codeDeliveryDetails.value) == null ? void 0 : _a3.DeliveryMedium) === "EMAIL" ?
|
|
9494
|
+
return ((_a3 = codeDeliveryDetails.value) == null ? void 0 : _a3.DeliveryMedium) === "EMAIL" ? on("We Emailed You") : ((_b2 = codeDeliveryDetails.value) == null ? void 0 : _b2.DeliveryMedium) === "SMS" ? on("We Texted You") : on("We Sent A Code");
|
|
9457
9495
|
});
|
|
9458
|
-
const enterCode = computed(() =>
|
|
9459
|
-
const confirmationCodeText = computed(() =>
|
|
9460
|
-
const resendCodeText = computed(() =>
|
|
9461
|
-
const confirmText = computed(() =>
|
|
9462
|
-
const emailMessage =
|
|
9463
|
-
const textedMessage =
|
|
9464
|
-
const defaultMessage =
|
|
9465
|
-
const minutesMessage =
|
|
9496
|
+
const enterCode = computed(() => on("Enter your code"));
|
|
9497
|
+
const confirmationCodeText = computed(() => on("Confirmation Code"));
|
|
9498
|
+
const resendCodeText = computed(() => on("Resend Code"));
|
|
9499
|
+
const confirmText = computed(() => on("Confirm"));
|
|
9500
|
+
const emailMessage = on("Your code is on the way. To log in, enter the code we emailed to");
|
|
9501
|
+
const textedMessage = on("Your code is on the way. To log in, enter the code we texted to");
|
|
9502
|
+
const defaultMessage = on("Your code is on the way. To log in, enter the code we sent you. It may take a minute to arrive.");
|
|
9503
|
+
const minutesMessage = on("It may take a minute to arrive.");
|
|
9466
9504
|
const subtitleText = computed(() => {
|
|
9467
9505
|
var _a3, _b2, _c2, _d;
|
|
9468
|
-
return ((_a3 = codeDeliveryDetails.value) == null ? void 0 : _a3.DeliveryMedium) === "EMAIL" ? `${emailMessage} ${(_b2 = codeDeliveryDetails.value) == null ? void 0 : _b2.Destination}. ${minutesMessage}` : ((_c2 = codeDeliveryDetails.value) == null ? void 0 : _c2.DeliveryMedium) === "SMS" ? `${textedMessage} ${(_d = codeDeliveryDetails.value) == null ? void 0 : _d.Destination}. ${minutesMessage}` :
|
|
9506
|
+
return ((_a3 = codeDeliveryDetails.value) == null ? void 0 : _a3.DeliveryMedium) === "EMAIL" ? `${emailMessage} ${(_b2 = codeDeliveryDetails.value) == null ? void 0 : _b2.Destination}. ${minutesMessage}` : ((_c2 = codeDeliveryDetails.value) == null ? void 0 : _c2.DeliveryMedium) === "SMS" ? `${textedMessage} ${(_d = codeDeliveryDetails.value) == null ? void 0 : _d.Destination}. ${minutesMessage}` : on(`${defaultMessage}`);
|
|
9469
9507
|
});
|
|
9470
9508
|
const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
|
|
9471
9509
|
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText;
|
|
9472
9510
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
9473
|
-
const onInput = (
|
|
9474
|
-
const { name, value } =
|
|
9511
|
+
const onInput = (e) => {
|
|
9512
|
+
const { name, value } = e.target;
|
|
9475
9513
|
updateForm({ name, value });
|
|
9476
9514
|
};
|
|
9477
|
-
const onConfirmSignUpSubmit = (
|
|
9515
|
+
const onConfirmSignUpSubmit = (e) => {
|
|
9478
9516
|
if (attrs == null ? void 0 : attrs.onConfirmSignUpSubmit) {
|
|
9479
|
-
emit("confirmSignUpSubmit",
|
|
9517
|
+
emit("confirmSignUpSubmit", e);
|
|
9480
9518
|
} else {
|
|
9481
|
-
submit(
|
|
9519
|
+
submit(e);
|
|
9482
9520
|
}
|
|
9483
9521
|
};
|
|
9484
|
-
const submit = (
|
|
9485
|
-
submitForm(
|
|
9522
|
+
const submit = (e) => {
|
|
9523
|
+
submitForm(ja(e));
|
|
9486
9524
|
};
|
|
9487
9525
|
const onLostCodeClicked = () => {
|
|
9488
9526
|
if (attrs == null ? void 0 : attrs.onLostCodeClicked) {
|
|
@@ -9587,7 +9625,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
9587
9625
|
default: withCtx(() => [
|
|
9588
9626
|
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
9589
9627
|
default: withCtx(() => [
|
|
9590
|
-
createTextVNode(toDisplayString(unref(
|
|
9628
|
+
createTextVNode(toDisplayString(unref(on)(unref(error2))), 1)
|
|
9591
9629
|
]),
|
|
9592
9630
|
_: 1
|
|
9593
9631
|
})) : createCommentVNode("", true),
|
|
@@ -9656,27 +9694,27 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9656
9694
|
mfaType = "TOTP";
|
|
9657
9695
|
}
|
|
9658
9696
|
const confirmSignInHeading = `Confirm ${mfaType} Code`;
|
|
9659
|
-
const backSignInText = computed(() =>
|
|
9660
|
-
const confirmText = computed(() =>
|
|
9661
|
-
const codeText = computed(() =>
|
|
9662
|
-
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c :
|
|
9697
|
+
const backSignInText = computed(() => on("Back to Sign In"));
|
|
9698
|
+
const confirmText = computed(() => on("Confirm"));
|
|
9699
|
+
const codeText = computed(() => on("Code"));
|
|
9700
|
+
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : on("Code *");
|
|
9663
9701
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
9664
|
-
const onInput = (
|
|
9665
|
-
const { name, value } =
|
|
9702
|
+
const onInput = (e) => {
|
|
9703
|
+
const { name, value } = e.target;
|
|
9666
9704
|
send2({
|
|
9667
9705
|
type: "CHANGE",
|
|
9668
9706
|
data: { name, value }
|
|
9669
9707
|
});
|
|
9670
9708
|
};
|
|
9671
|
-
const onConfirmSignInSubmit = (
|
|
9709
|
+
const onConfirmSignInSubmit = (e) => {
|
|
9672
9710
|
if (attrs == null ? void 0 : attrs.onConfirmSignInSubmit) {
|
|
9673
|
-
emit("confirmSignInSubmit",
|
|
9711
|
+
emit("confirmSignInSubmit", e);
|
|
9674
9712
|
} else {
|
|
9675
|
-
submit(
|
|
9713
|
+
submit(e);
|
|
9676
9714
|
}
|
|
9677
9715
|
};
|
|
9678
|
-
const submit = (
|
|
9679
|
-
props.submitForm(
|
|
9716
|
+
const submit = (e) => {
|
|
9717
|
+
props.submitForm(ja(e));
|
|
9680
9718
|
};
|
|
9681
9719
|
const onBackToSignInClicked = () => {
|
|
9682
9720
|
if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
|
|
@@ -9783,7 +9821,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9783
9821
|
default: withCtx(() => {
|
|
9784
9822
|
var _a4, _b3;
|
|
9785
9823
|
return [
|
|
9786
|
-
createTextVNode(toDisplayString(unref(
|
|
9824
|
+
createTextVNode(toDisplayString(unref(on)((_b3 = (_a4 = unref(actorState)) == null ? void 0 : _a4.context) == null ? void 0 : _b3.remoteError)), 1)
|
|
9787
9825
|
];
|
|
9788
9826
|
}),
|
|
9789
9827
|
_: 1
|
|
@@ -9953,7 +9991,7 @@ var errorCorrectionLevel = {};
|
|
|
9953
9991
|
}
|
|
9954
9992
|
try {
|
|
9955
9993
|
return fromString(value);
|
|
9956
|
-
} catch (
|
|
9994
|
+
} catch (e) {
|
|
9957
9995
|
return defaultValue;
|
|
9958
9996
|
}
|
|
9959
9997
|
};
|
|
@@ -10755,7 +10793,7 @@ regex.testAlphanumeric = function testAlphanumeric(str) {
|
|
|
10755
10793
|
}
|
|
10756
10794
|
try {
|
|
10757
10795
|
return fromString(value);
|
|
10758
|
-
} catch (
|
|
10796
|
+
} catch (e) {
|
|
10759
10797
|
return defaultValue;
|
|
10760
10798
|
}
|
|
10761
10799
|
};
|
|
@@ -11068,22 +11106,22 @@ var dijkstra = { exports: {} };
|
|
|
11068
11106
|
costs[s] = 0;
|
|
11069
11107
|
var open = dijkstra2.PriorityQueue.make();
|
|
11070
11108
|
open.push(s, 0);
|
|
11071
|
-
var closest, u,
|
|
11109
|
+
var closest, u, v2, cost_of_s_to_u, adjacent_nodes, cost_of_e, cost_of_s_to_u_plus_cost_of_e, cost_of_s_to_v, first_visit;
|
|
11072
11110
|
while (!open.empty()) {
|
|
11073
11111
|
closest = open.pop();
|
|
11074
11112
|
u = closest.value;
|
|
11075
11113
|
cost_of_s_to_u = closest.cost;
|
|
11076
11114
|
adjacent_nodes = graph[u] || {};
|
|
11077
|
-
for (
|
|
11078
|
-
if (adjacent_nodes.hasOwnProperty(
|
|
11079
|
-
cost_of_e = adjacent_nodes[
|
|
11115
|
+
for (v2 in adjacent_nodes) {
|
|
11116
|
+
if (adjacent_nodes.hasOwnProperty(v2)) {
|
|
11117
|
+
cost_of_e = adjacent_nodes[v2];
|
|
11080
11118
|
cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e;
|
|
11081
|
-
cost_of_s_to_v = costs[
|
|
11082
|
-
first_visit = typeof costs[
|
|
11119
|
+
cost_of_s_to_v = costs[v2];
|
|
11120
|
+
first_visit = typeof costs[v2] === "undefined";
|
|
11083
11121
|
if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) {
|
|
11084
|
-
costs[
|
|
11085
|
-
open.push(
|
|
11086
|
-
predecessors[
|
|
11122
|
+
costs[v2] = cost_of_s_to_u_plus_cost_of_e;
|
|
11123
|
+
open.push(v2, cost_of_s_to_u_plus_cost_of_e);
|
|
11124
|
+
predecessors[v2] = u;
|
|
11087
11125
|
}
|
|
11088
11126
|
}
|
|
11089
11127
|
}
|
|
@@ -11670,7 +11708,7 @@ var utils = {};
|
|
|
11670
11708
|
function getCanvasElement() {
|
|
11671
11709
|
try {
|
|
11672
11710
|
return document.createElement("canvas");
|
|
11673
|
-
} catch (
|
|
11711
|
+
} catch (e) {
|
|
11674
11712
|
throw new Error("You need to specify a canvas element");
|
|
11675
11713
|
}
|
|
11676
11714
|
}
|
|
@@ -11808,16 +11846,16 @@ function renderCanvas(renderFunc, canvas2, text, opts, cb) {
|
|
|
11808
11846
|
try {
|
|
11809
11847
|
const data = QRCode.create(text, opts);
|
|
11810
11848
|
resolve(renderFunc(data, canvas2, opts));
|
|
11811
|
-
} catch (
|
|
11812
|
-
reject(
|
|
11849
|
+
} catch (e) {
|
|
11850
|
+
reject(e);
|
|
11813
11851
|
}
|
|
11814
11852
|
});
|
|
11815
11853
|
}
|
|
11816
11854
|
try {
|
|
11817
11855
|
const data = QRCode.create(text, opts);
|
|
11818
11856
|
cb(null, renderFunc(data, canvas2, opts));
|
|
11819
|
-
} catch (
|
|
11820
|
-
cb(
|
|
11857
|
+
} catch (e) {
|
|
11858
|
+
cb(e);
|
|
11821
11859
|
}
|
|
11822
11860
|
}
|
|
11823
11861
|
browser.create = QRCode.create;
|
|
@@ -11856,10 +11894,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
11856
11894
|
isLoading: true
|
|
11857
11895
|
});
|
|
11858
11896
|
let secretKey = ref("");
|
|
11859
|
-
let copyTextLabel = ref(
|
|
11897
|
+
let copyTextLabel = ref(on("COPY"));
|
|
11860
11898
|
function copyText() {
|
|
11861
11899
|
navigator.clipboard.writeText(secretKey.value);
|
|
11862
|
-
copyTextLabel.value =
|
|
11900
|
+
copyTextLabel.value = on("COPIED");
|
|
11863
11901
|
}
|
|
11864
11902
|
onMounted(async () => {
|
|
11865
11903
|
var _a3, _b2;
|
|
@@ -11880,27 +11918,27 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
11880
11918
|
qrCode.isLoading = false;
|
|
11881
11919
|
}
|
|
11882
11920
|
});
|
|
11883
|
-
const backSignInText = computed(() =>
|
|
11884
|
-
const confirmText = computed(() =>
|
|
11885
|
-
const codeText = computed(() =>
|
|
11886
|
-
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c :
|
|
11921
|
+
const backSignInText = computed(() => on("Back to Sign In"));
|
|
11922
|
+
const confirmText = computed(() => on("Confirm"));
|
|
11923
|
+
const codeText = computed(() => on("Code"));
|
|
11924
|
+
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : on("Code *");
|
|
11887
11925
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
11888
|
-
const onInput = (
|
|
11889
|
-
const { name, value } =
|
|
11926
|
+
const onInput = (e) => {
|
|
11927
|
+
const { name, value } = e.target;
|
|
11890
11928
|
send2({
|
|
11891
11929
|
type: "CHANGE",
|
|
11892
11930
|
data: { name, value }
|
|
11893
11931
|
});
|
|
11894
11932
|
};
|
|
11895
|
-
const onSetupTOTPSubmit = (
|
|
11933
|
+
const onSetupTOTPSubmit = (e) => {
|
|
11896
11934
|
if (attrs == null ? void 0 : attrs.onConfirmSetupTOTPSubmit) {
|
|
11897
|
-
emit("confirmSetupTOTPSubmit",
|
|
11935
|
+
emit("confirmSetupTOTPSubmit", e);
|
|
11898
11936
|
} else {
|
|
11899
|
-
submit(
|
|
11937
|
+
submit(e);
|
|
11900
11938
|
}
|
|
11901
11939
|
};
|
|
11902
|
-
const submit = (
|
|
11903
|
-
props.submitForm(
|
|
11940
|
+
const submit = (e) => {
|
|
11941
|
+
props.submitForm(ja(e));
|
|
11904
11942
|
};
|
|
11905
11943
|
const onBackToSignInClicked = () => {
|
|
11906
11944
|
if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
|
|
@@ -12035,7 +12073,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
12035
12073
|
return [
|
|
12036
12074
|
((_a3 = unref(actorState).context) == null ? void 0 : _a3.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
12037
12075
|
default: withCtx(() => [
|
|
12038
|
-
createTextVNode(toDisplayString(unref(
|
|
12076
|
+
createTextVNode(toDisplayString(unref(on)(unref(actorState).context.remoteError)), 1)
|
|
12039
12077
|
]),
|
|
12040
12078
|
_: 1
|
|
12041
12079
|
})) : createCommentVNode("", true),
|
|
@@ -12104,12 +12142,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
12104
12142
|
var _a2, _b;
|
|
12105
12143
|
const { state } = useAuth();
|
|
12106
12144
|
const actorState = computed(() => j(state.value));
|
|
12107
|
-
const inputAttributes = computed(() =>
|
|
12145
|
+
const inputAttributes = computed(() => E);
|
|
12108
12146
|
const { value: { context } } = state;
|
|
12109
12147
|
const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.forceNewPassword;
|
|
12110
12148
|
let requiredAttributes = actorState.value.context.requiredAttributes;
|
|
12111
12149
|
requiredAttributes = requiredAttributes == null ? void 0 : requiredAttributes.filter((fieldName) => {
|
|
12112
|
-
const hasDefaultField = !!
|
|
12150
|
+
const hasDefaultField = !!E[fieldName];
|
|
12113
12151
|
if (!hasDefaultField) {
|
|
12114
12152
|
console.debug(`Authenticator does not have a default implementation for ${fieldName}. Customize the authenticator force-new-password-fields slot to add your own.`);
|
|
12115
12153
|
}
|
|
@@ -12120,11 +12158,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
12120
12158
|
var _a3, _b2, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
12121
12159
|
return openBlock(), createBlock(_sfc_main$k, {
|
|
12122
12160
|
key: idx,
|
|
12123
|
-
label: unref(
|
|
12161
|
+
label: unref(on)((_c = (_b2 = (_a3 = unref(formOverrides)) == null ? void 0 : _a3[field]) == null ? void 0 : _b2.label) != null ? _c : unref(inputAttributes)[field].label),
|
|
12124
12162
|
"label-hidden": (_e2 = (_d = unref(formOverrides)) == null ? void 0 : _d[field]) == null ? void 0 : _e2.labelHidden,
|
|
12125
12163
|
required: (_g = (_f = unref(formOverrides)) == null ? void 0 : _f[field]) == null ? void 0 : _g.required,
|
|
12126
12164
|
name: field,
|
|
12127
|
-
placeholder: unref(
|
|
12165
|
+
placeholder: unref(on)((_j = (_i = (_h = unref(formOverrides)) == null ? void 0 : _h[field]) == null ? void 0 : _i.placeholder) != null ? _j : unref(inputAttributes)[field].label),
|
|
12128
12166
|
dialCode: (_l = (_k = unref(formOverrides)) == null ? void 0 : _k[field]) == null ? void 0 : _l.dialCode,
|
|
12129
12167
|
dialCodeList: (_n = (_m = unref(formOverrides)) == null ? void 0 : _m[field]) == null ? void 0 : _n.dialCodeList
|
|
12130
12168
|
}, null, 8, ["label", "label-hidden", "required", "name", "placeholder", "dialCode", "dialCodeList"]);
|
|
@@ -12143,12 +12181,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
12143
12181
|
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
12144
12182
|
const props = useAuthShared();
|
|
12145
12183
|
const actorState = computed(() => j(state.value));
|
|
12146
|
-
const actorContext = computed(() =>
|
|
12147
|
-
const changePasswordLabel = computed(() =>
|
|
12148
|
-
const changingPasswordLabel = computed(() =>
|
|
12149
|
-
const backSignInText = computed(() =>
|
|
12150
|
-
const passwordLabel = computed(() =>
|
|
12151
|
-
const confirmPasswordLabel = computed(() =>
|
|
12184
|
+
const actorContext = computed(() => Ee(state.value));
|
|
12185
|
+
const changePasswordLabel = computed(() => on("Change Password"));
|
|
12186
|
+
const changingPasswordLabel = computed(() => on("Changing"));
|
|
12187
|
+
const backSignInText = computed(() => on("Back to Sign In"));
|
|
12188
|
+
const passwordLabel = computed(() => on("Password"));
|
|
12189
|
+
const confirmPasswordLabel = computed(() => on("Confirm Password"));
|
|
12152
12190
|
const onHaveAccountClicked = () => {
|
|
12153
12191
|
if (attrs == null ? void 0 : attrs.onHaveAccountClicked) {
|
|
12154
12192
|
emit("haveAccountClicked");
|
|
@@ -12158,25 +12196,25 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
12158
12196
|
});
|
|
12159
12197
|
}
|
|
12160
12198
|
};
|
|
12161
|
-
const onForceNewPasswordSubmit = (
|
|
12199
|
+
const onForceNewPasswordSubmit = (e) => {
|
|
12162
12200
|
if (attrs == null ? void 0 : attrs.onForceNewPasswordSubmit) {
|
|
12163
|
-
emit("forceNewPasswordSubmit",
|
|
12201
|
+
emit("forceNewPasswordSubmit", e);
|
|
12164
12202
|
} else {
|
|
12165
|
-
submit(
|
|
12203
|
+
submit(e);
|
|
12166
12204
|
}
|
|
12167
12205
|
};
|
|
12168
|
-
const submit = (
|
|
12169
|
-
props.submitForm(
|
|
12206
|
+
const submit = (e) => {
|
|
12207
|
+
props.submitForm(ja(e));
|
|
12170
12208
|
};
|
|
12171
|
-
const onInput = (
|
|
12172
|
-
const { name, value } =
|
|
12209
|
+
const onInput = (e) => {
|
|
12210
|
+
const { name, value } = e.target;
|
|
12173
12211
|
send2({
|
|
12174
12212
|
type: "CHANGE",
|
|
12175
12213
|
data: { name, value }
|
|
12176
12214
|
});
|
|
12177
12215
|
};
|
|
12178
|
-
function onBlur(
|
|
12179
|
-
const { name } =
|
|
12216
|
+
function onBlur(e) {
|
|
12217
|
+
const { name } = e.target;
|
|
12180
12218
|
props.updateBlur({ name });
|
|
12181
12219
|
}
|
|
12182
12220
|
return (_ctx, _cache) => {
|
|
@@ -12250,7 +12288,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
12250
12288
|
class: "amplify-text"
|
|
12251
12289
|
}, {
|
|
12252
12290
|
default: withCtx(() => [
|
|
12253
|
-
createTextVNode(toDisplayString(unref(
|
|
12291
|
+
createTextVNode(toDisplayString(unref(on)(unref(actorContext).validationError["confirm_password"])), 1)
|
|
12254
12292
|
]),
|
|
12255
12293
|
_: 1
|
|
12256
12294
|
})) : createCommentVNode("", true),
|
|
@@ -12259,7 +12297,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
12259
12297
|
"data-ui-error": ""
|
|
12260
12298
|
}, {
|
|
12261
12299
|
default: withCtx(() => [
|
|
12262
|
-
createTextVNode(toDisplayString(unref(
|
|
12300
|
+
createTextVNode(toDisplayString(unref(on)(unref(actorState).context.remoteError)), 1)
|
|
12263
12301
|
]),
|
|
12264
12302
|
_: 1
|
|
12265
12303
|
})) : createCommentVNode("", true),
|
|
@@ -12320,26 +12358,26 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
12320
12358
|
const { error: error2, isPending } = toRefs(useAuthShared());
|
|
12321
12359
|
const formOverrides = (_c = (_b = (_a2 = state.context) == null ? void 0 : _a2.config) == null ? void 0 : _b.formFields) == null ? void 0 : _c.resetPassword;
|
|
12322
12360
|
const userOverrides = formOverrides == null ? void 0 : formOverrides["username"];
|
|
12323
|
-
const { label } =
|
|
12361
|
+
const { label } = et(state.context);
|
|
12324
12362
|
const labelText = `Enter your ${label.toLowerCase()}`;
|
|
12325
|
-
const backSignInText = computed(() =>
|
|
12326
|
-
const resetPasswordHeading = computed(() =>
|
|
12327
|
-
const resetPasswordText = computed(() =>
|
|
12328
|
-
const enterUsernameText = computed(() =>
|
|
12363
|
+
const backSignInText = computed(() => on("Back to Sign In"));
|
|
12364
|
+
const resetPasswordHeading = computed(() => on("Reset your password"));
|
|
12365
|
+
const resetPasswordText = computed(() => on("Send Code"));
|
|
12366
|
+
const enterUsernameText = computed(() => on(labelText));
|
|
12329
12367
|
const labelValue = (_d = userOverrides == null ? void 0 : userOverrides.label) != null ? _d : labelText;
|
|
12330
12368
|
const labelHidden = userOverrides == null ? void 0 : userOverrides.labelHidden;
|
|
12331
|
-
const onResetPasswordSubmit = (
|
|
12369
|
+
const onResetPasswordSubmit = (e) => {
|
|
12332
12370
|
if (attrs == null ? void 0 : attrs.onResetPasswordSubmit) {
|
|
12333
|
-
emit("resetPasswordSubmit",
|
|
12371
|
+
emit("resetPasswordSubmit", e);
|
|
12334
12372
|
} else {
|
|
12335
|
-
submit(
|
|
12373
|
+
submit(e);
|
|
12336
12374
|
}
|
|
12337
12375
|
};
|
|
12338
|
-
const submit = (
|
|
12339
|
-
submitForm(
|
|
12376
|
+
const submit = (e) => {
|
|
12377
|
+
submitForm(ja(e));
|
|
12340
12378
|
};
|
|
12341
|
-
const onInput = (
|
|
12342
|
-
const { name, value } =
|
|
12379
|
+
const onInput = (e) => {
|
|
12380
|
+
const { name, value } = e.target;
|
|
12343
12381
|
send2({
|
|
12344
12382
|
type: "CHANGE",
|
|
12345
12383
|
data: { name, value }
|
|
@@ -12441,7 +12479,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
12441
12479
|
default: withCtx(() => [
|
|
12442
12480
|
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
12443
12481
|
default: withCtx(() => [
|
|
12444
|
-
createTextVNode(toDisplayString(unref(
|
|
12482
|
+
createTextVNode(toDisplayString(unref(on)(unref(error2))), 1)
|
|
12445
12483
|
]),
|
|
12446
12484
|
_: 1
|
|
12447
12485
|
})) : createCommentVNode("", true),
|
|
@@ -12501,40 +12539,40 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12501
12539
|
const props = useAuthShared();
|
|
12502
12540
|
const attrs = useAttrs();
|
|
12503
12541
|
const actorState = computed(() => j(state.value));
|
|
12504
|
-
const actorContext = computed(() =>
|
|
12505
|
-
const resendCodeText = computed(() =>
|
|
12506
|
-
const confirmationCodeText = computed(() =>
|
|
12507
|
-
const confirmResetPasswordHeading = computed(() =>
|
|
12508
|
-
const confirmResetPasswordText = computed(() =>
|
|
12509
|
-
const codeText = computed(() =>
|
|
12510
|
-
const newPasswordLabel = computed(() =>
|
|
12511
|
-
const confirmPasswordLabel = computed(() =>
|
|
12542
|
+
const actorContext = computed(() => Ee(state.value));
|
|
12543
|
+
const resendCodeText = computed(() => on("Resend Code"));
|
|
12544
|
+
const confirmationCodeText = computed(() => on("Confirmation Code"));
|
|
12545
|
+
const confirmResetPasswordHeading = computed(() => on("Reset your Password"));
|
|
12546
|
+
const confirmResetPasswordText = computed(() => on("Submit"));
|
|
12547
|
+
const codeText = computed(() => on("Code"));
|
|
12548
|
+
const newPasswordLabel = computed(() => on("New password"));
|
|
12549
|
+
const confirmPasswordLabel = computed(() => on("Confirm Password"));
|
|
12512
12550
|
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText;
|
|
12513
12551
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
12514
|
-
const onConfirmResetPasswordSubmit = (
|
|
12552
|
+
const onConfirmResetPasswordSubmit = (e) => {
|
|
12515
12553
|
if (attrs == null ? void 0 : attrs.onConfirmResetPasswordSubmit) {
|
|
12516
|
-
emit("confirmResetPasswordSubmit",
|
|
12554
|
+
emit("confirmResetPasswordSubmit", e);
|
|
12517
12555
|
} else {
|
|
12518
|
-
submit(
|
|
12556
|
+
submit(e);
|
|
12519
12557
|
}
|
|
12520
12558
|
};
|
|
12521
|
-
const submit = (
|
|
12522
|
-
props.submitForm(
|
|
12559
|
+
const submit = (e) => {
|
|
12560
|
+
props.submitForm(ja(e));
|
|
12523
12561
|
};
|
|
12524
12562
|
const onLostYourCodeClicked = () => {
|
|
12525
12563
|
send2({
|
|
12526
12564
|
type: "RESEND"
|
|
12527
12565
|
});
|
|
12528
12566
|
};
|
|
12529
|
-
const onInput = (
|
|
12530
|
-
const { name, value } =
|
|
12567
|
+
const onInput = (e) => {
|
|
12568
|
+
const { name, value } = e.target;
|
|
12531
12569
|
send2({
|
|
12532
12570
|
type: "CHANGE",
|
|
12533
12571
|
data: { name, value }
|
|
12534
12572
|
});
|
|
12535
12573
|
};
|
|
12536
|
-
function onBlur(
|
|
12537
|
-
const { name } =
|
|
12574
|
+
function onBlur(e) {
|
|
12575
|
+
const { name } = e.target;
|
|
12538
12576
|
props.updateBlur({ name });
|
|
12539
12577
|
}
|
|
12540
12578
|
return (_ctx, _cache) => {
|
|
@@ -12578,58 +12616,61 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12578
12616
|
class: "amplify-flex",
|
|
12579
12617
|
style: { "flex-direction": "column" }
|
|
12580
12618
|
}, {
|
|
12581
|
-
default: withCtx(() =>
|
|
12582
|
-
|
|
12583
|
-
|
|
12584
|
-
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12591
|
-
|
|
12592
|
-
|
|
12593
|
-
|
|
12594
|
-
|
|
12595
|
-
|
|
12596
|
-
|
|
12597
|
-
|
|
12598
|
-
|
|
12599
|
-
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
|
|
12605
|
-
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
|
-
|
|
12619
|
+
default: withCtx(() => {
|
|
12620
|
+
var _a3, _b2;
|
|
12621
|
+
return [
|
|
12622
|
+
createVNode(_component_base_wrapper, {
|
|
12623
|
+
class: "amplify-flex amplify-field amplify-textfield",
|
|
12624
|
+
style: { "flex-direction": "column" }
|
|
12625
|
+
}, {
|
|
12626
|
+
default: withCtx(() => {
|
|
12627
|
+
var _a4;
|
|
12628
|
+
return [
|
|
12629
|
+
createVNode(_component_base_label, {
|
|
12630
|
+
class: normalizeClass(["amplify-label", { "amplify-visually-hidden": (_a4 = unref(labelHidden)) != null ? _a4 : true }]),
|
|
12631
|
+
for: "amplify-field-d653"
|
|
12632
|
+
}, {
|
|
12633
|
+
default: withCtx(() => [
|
|
12634
|
+
createTextVNode(toDisplayString(unref(label)), 1)
|
|
12635
|
+
]),
|
|
12636
|
+
_: 1
|
|
12637
|
+
}, 8, ["class"]),
|
|
12638
|
+
createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
|
|
12639
|
+
default: withCtx(() => {
|
|
12640
|
+
var _a5, _b3, _c2, _d;
|
|
12641
|
+
return [
|
|
12642
|
+
createVNode(_component_base_input, {
|
|
12643
|
+
placeholder: (_b3 = (_a5 = unref(confOR)) == null ? void 0 : _a5.placeholder) != null ? _b3 : unref(codeText),
|
|
12644
|
+
required: (_d = (_c2 = unref(confOR)) == null ? void 0 : _c2.required) != null ? _d : true,
|
|
12645
|
+
class: "amplify-input amplify-field-group__control",
|
|
12646
|
+
id: "amplify-field-d653",
|
|
12647
|
+
"aria-invalid": "false",
|
|
12648
|
+
autocomplete: "one-time-code",
|
|
12649
|
+
name: "confirmation_code",
|
|
12650
|
+
type: "number"
|
|
12651
|
+
}, null, 8, ["placeholder", "required"])
|
|
12652
|
+
];
|
|
12653
|
+
}),
|
|
12654
|
+
_: 1
|
|
12655
|
+
})
|
|
12656
|
+
];
|
|
12657
|
+
}),
|
|
12658
|
+
_: 1
|
|
12617
12659
|
}),
|
|
12618
|
-
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
]),
|
|
12660
|
+
createVNode(_sfc_main$q, mergeProps(unref(propsCreator)("password", unref(newPasswordLabel), unref(formOverrides), true), {
|
|
12661
|
+
name: "password",
|
|
12662
|
+
autocomplete: "current-password",
|
|
12663
|
+
ariainvalid: !!((_a3 = unref(actorContext).validationError) == null ? void 0 : _a3["confirm_password"]),
|
|
12664
|
+
onBlur
|
|
12665
|
+
}), null, 16, ["ariainvalid"]),
|
|
12666
|
+
createVNode(_sfc_main$q, mergeProps(unref(propsCreator)("confirm_password", unref(confirmPasswordLabel), unref(formOverrides), true), {
|
|
12667
|
+
name: "confirm_password",
|
|
12668
|
+
autocomplete: "new-password",
|
|
12669
|
+
ariainvalid: !!((_b2 = unref(actorContext).validationError) == null ? void 0 : _b2["confirm_password"]),
|
|
12670
|
+
onBlur
|
|
12671
|
+
}), null, 16, ["ariainvalid"])
|
|
12672
|
+
];
|
|
12673
|
+
}),
|
|
12633
12674
|
_: 1
|
|
12634
12675
|
}),
|
|
12635
12676
|
createVNode(_component_base_footer, {
|
|
@@ -12637,9 +12678,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12637
12678
|
style: { "flex-direction": "column" }
|
|
12638
12679
|
}, {
|
|
12639
12680
|
default: withCtx(() => {
|
|
12640
|
-
var _a3, _b2;
|
|
12681
|
+
var _a3, _b2, _c2;
|
|
12641
12682
|
return [
|
|
12642
|
-
!!unref(actorContext).validationError["confirm_password"] ? (openBlock(), createBlock(_component_base_box, {
|
|
12683
|
+
!!((_a3 = unref(actorContext).validationError) == null ? void 0 : _a3["confirm_password"]) ? (openBlock(), createBlock(_component_base_box, {
|
|
12643
12684
|
key: 0,
|
|
12644
12685
|
"data-ui-error": "",
|
|
12645
12686
|
"data-variation": "error",
|
|
@@ -12649,16 +12690,16 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12649
12690
|
default: withCtx(() => {
|
|
12650
12691
|
var _a4;
|
|
12651
12692
|
return [
|
|
12652
|
-
createTextVNode(toDisplayString(unref(
|
|
12693
|
+
createTextVNode(toDisplayString(unref(on)((_a4 = unref(actorContext).validationError) == null ? void 0 : _a4.confirm_password)), 1)
|
|
12653
12694
|
];
|
|
12654
12695
|
}),
|
|
12655
12696
|
_: 1
|
|
12656
12697
|
})) : createCommentVNode("", true),
|
|
12657
|
-
((
|
|
12698
|
+
((_c2 = (_b2 = unref(actorState)) == null ? void 0 : _b2.context) == null ? void 0 : _c2.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 1 }, {
|
|
12658
12699
|
default: withCtx(() => {
|
|
12659
12700
|
var _a4, _b3;
|
|
12660
12701
|
return [
|
|
12661
|
-
createTextVNode(toDisplayString(unref(
|
|
12702
|
+
createTextVNode(toDisplayString(unref(on)((_b3 = (_a4 = unref(actorState)) == null ? void 0 : _a4.context) == null ? void 0 : _b3.remoteError)), 1)
|
|
12662
12703
|
];
|
|
12663
12704
|
}),
|
|
12664
12705
|
_: 1
|
|
@@ -12720,26 +12761,26 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
12720
12761
|
const { state, send: send2 } = useAuth();
|
|
12721
12762
|
const actorState = computed(() => j(state.value));
|
|
12722
12763
|
const unverifiedAttributes = actorState.value.context.unverifiedAttributes;
|
|
12723
|
-
const verifyHeading = computed(() =>
|
|
12724
|
-
const skipText = computed(() =>
|
|
12725
|
-
const verifyText = computed(() =>
|
|
12726
|
-
const verifyContactText = computed(() =>
|
|
12727
|
-
const onInput = (
|
|
12728
|
-
const { name, value } =
|
|
12764
|
+
const verifyHeading = computed(() => on("Account recovery requires verified contact information"));
|
|
12765
|
+
const skipText = computed(() => on("Skip"));
|
|
12766
|
+
const verifyText = computed(() => on("Verify"));
|
|
12767
|
+
const verifyContactText = computed(() => on("Verify Contact"));
|
|
12768
|
+
const onInput = (e) => {
|
|
12769
|
+
const { name, value } = e.target;
|
|
12729
12770
|
send2({
|
|
12730
12771
|
type: "CHANGE",
|
|
12731
12772
|
data: { name, value }
|
|
12732
12773
|
});
|
|
12733
12774
|
};
|
|
12734
|
-
const onVerifyUserSubmit = (
|
|
12775
|
+
const onVerifyUserSubmit = (e) => {
|
|
12735
12776
|
if (attrs == null ? void 0 : attrs.onVerifyUserSubmit) {
|
|
12736
|
-
emit("verifyUserSubmit",
|
|
12777
|
+
emit("verifyUserSubmit", e);
|
|
12737
12778
|
} else {
|
|
12738
|
-
submit(
|
|
12779
|
+
submit(e);
|
|
12739
12780
|
}
|
|
12740
12781
|
};
|
|
12741
|
-
const submit = (
|
|
12742
|
-
props.submitForm(
|
|
12782
|
+
const submit = (e) => {
|
|
12783
|
+
props.submitForm(ja(e));
|
|
12743
12784
|
};
|
|
12744
12785
|
const onSkipClicked = () => {
|
|
12745
12786
|
if (attrs == null ? void 0 : attrs.onSkipClicked) {
|
|
@@ -12827,7 +12868,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
12827
12868
|
}),
|
|
12828
12869
|
createVNode(_component_base_text, { class: "amplify-text amplify-radio__label" }, {
|
|
12829
12870
|
default: withCtx(() => [
|
|
12830
|
-
createTextVNode(toDisplayString(unref(
|
|
12871
|
+
createTextVNode(toDisplayString(unref(E)[key].label), 1)
|
|
12831
12872
|
]),
|
|
12832
12873
|
_: 2
|
|
12833
12874
|
}, 1024)
|
|
@@ -12852,7 +12893,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
12852
12893
|
default: withCtx(() => {
|
|
12853
12894
|
var _a3;
|
|
12854
12895
|
return [
|
|
12855
|
-
createTextVNode(toDisplayString(unref(
|
|
12896
|
+
createTextVNode(toDisplayString(unref(on)((_a3 = unref(actorState)) == null ? void 0 : _a3.context.remoteError)), 1)
|
|
12856
12897
|
];
|
|
12857
12898
|
}),
|
|
12858
12899
|
_: 1
|
|
@@ -12917,30 +12958,30 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
12917
12958
|
const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.confirmVerifyUser;
|
|
12918
12959
|
const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
|
|
12919
12960
|
const actorState = computed(() => j(state.value));
|
|
12920
|
-
const verifyHeading = computed(() =>
|
|
12921
|
-
const skipText = computed(() =>
|
|
12922
|
-
computed(() =>
|
|
12923
|
-
const confirmationCodeText = computed(() =>
|
|
12924
|
-
const codeText = computed(() =>
|
|
12925
|
-
const submitText = computed(() =>
|
|
12961
|
+
const verifyHeading = computed(() => on("Account recovery requires verified contact information"));
|
|
12962
|
+
const skipText = computed(() => on("Skip"));
|
|
12963
|
+
computed(() => on("Verify"));
|
|
12964
|
+
const confirmationCodeText = computed(() => on("Confirmation Code"));
|
|
12965
|
+
const codeText = computed(() => on("Code"));
|
|
12966
|
+
const submitText = computed(() => on("Submit"));
|
|
12926
12967
|
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText.value;
|
|
12927
12968
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
12928
|
-
const onInput = (
|
|
12929
|
-
const { name, value } =
|
|
12969
|
+
const onInput = (e) => {
|
|
12970
|
+
const { name, value } = e.target;
|
|
12930
12971
|
send2({
|
|
12931
12972
|
type: "CHANGE",
|
|
12932
12973
|
data: { name, value }
|
|
12933
12974
|
});
|
|
12934
12975
|
};
|
|
12935
|
-
const onConfirmVerifyUserSubmit = (
|
|
12976
|
+
const onConfirmVerifyUserSubmit = (e) => {
|
|
12936
12977
|
if (attrs == null ? void 0 : attrs.onConfirmVerifyUserSubmit) {
|
|
12937
|
-
emit("confirmVerifyUserSubmit",
|
|
12978
|
+
emit("confirmVerifyUserSubmit", e);
|
|
12938
12979
|
} else {
|
|
12939
|
-
submit(
|
|
12980
|
+
submit(e);
|
|
12940
12981
|
}
|
|
12941
12982
|
};
|
|
12942
|
-
const submit = (
|
|
12943
|
-
props.submitForm(
|
|
12983
|
+
const submit = (e) => {
|
|
12984
|
+
props.submitForm(ja(e));
|
|
12944
12985
|
};
|
|
12945
12986
|
const onSkipClicked = () => {
|
|
12946
12987
|
if (attrs == null ? void 0 : attrs.onSkipClicked) {
|
|
@@ -13043,7 +13084,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
13043
13084
|
default: withCtx(() => {
|
|
13044
13085
|
var _a4;
|
|
13045
13086
|
return [
|
|
13046
|
-
createTextVNode(toDisplayString(unref(
|
|
13087
|
+
createTextVNode(toDisplayString(unref(on)((_a4 = unref(actorState)) == null ? void 0 : _a4.context.remoteError)), 1)
|
|
13047
13088
|
];
|
|
13048
13089
|
}),
|
|
13049
13090
|
_: 1
|
|
@@ -13128,13 +13169,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13128
13169
|
setup(__props, { emit }) {
|
|
13129
13170
|
const { initialState, loginMechanisms, variation, services, signUpAttributes, socialProviders, hideSignUp, formFields } = __props;
|
|
13130
13171
|
const attrs = useAttrs();
|
|
13131
|
-
const machine =
|
|
13172
|
+
const machine = Zn();
|
|
13132
13173
|
const service2 = useInterpret(machine);
|
|
13133
13174
|
let unsubscribeHub;
|
|
13134
13175
|
const { state, send: send2 } = useActor(service2);
|
|
13135
13176
|
useAuth(service2);
|
|
13136
13177
|
onMounted(() => {
|
|
13137
|
-
unsubscribeHub =
|
|
13178
|
+
unsubscribeHub = ut(send2);
|
|
13138
13179
|
send2({
|
|
13139
13180
|
type: "INIT",
|
|
13140
13181
|
data: {
|
|
@@ -13162,83 +13203,83 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13162
13203
|
const confirmResetPasswordComponent = ref();
|
|
13163
13204
|
const verifyUserComponent = ref();
|
|
13164
13205
|
const confirmVerifyUserComponent = ref();
|
|
13165
|
-
const signInLabel = computed(() =>
|
|
13166
|
-
const createAccountLabel = computed(() =>
|
|
13167
|
-
const onSignInSubmitI = (
|
|
13206
|
+
const signInLabel = computed(() => on("Create Account"));
|
|
13207
|
+
const createAccountLabel = computed(() => on("Sign In"));
|
|
13208
|
+
const onSignInSubmitI = (e) => {
|
|
13168
13209
|
var _a2;
|
|
13169
13210
|
if (attrs == null ? void 0 : attrs.onSignInSubmit) {
|
|
13170
|
-
emit("signInSubmit",
|
|
13211
|
+
emit("signInSubmit", e);
|
|
13171
13212
|
} else {
|
|
13172
|
-
(_a2 = signInComponent.value) == null ? void 0 : _a2.submit(
|
|
13213
|
+
(_a2 = signInComponent.value) == null ? void 0 : _a2.submit(e);
|
|
13173
13214
|
}
|
|
13174
13215
|
};
|
|
13175
|
-
const onConfirmSignUpSubmitI = (
|
|
13216
|
+
const onConfirmSignUpSubmitI = (e) => {
|
|
13176
13217
|
if (attrs == null ? void 0 : attrs.onConfirmSignUpSubmit) {
|
|
13177
|
-
emit("confirmSignUpSubmit",
|
|
13218
|
+
emit("confirmSignUpSubmit", e);
|
|
13178
13219
|
} else {
|
|
13179
|
-
confirmSignUpComponent.value.submit(
|
|
13220
|
+
confirmSignUpComponent.value.submit(e);
|
|
13180
13221
|
}
|
|
13181
13222
|
};
|
|
13182
|
-
const onResetPasswordSubmitI = (
|
|
13223
|
+
const onResetPasswordSubmitI = (e) => {
|
|
13183
13224
|
if (attrs == null ? void 0 : attrs.onResetPasswordSubmit) {
|
|
13184
|
-
emit("resetPasswordSubmit",
|
|
13225
|
+
emit("resetPasswordSubmit", e);
|
|
13185
13226
|
} else {
|
|
13186
|
-
resetPasswordComponent.value.submit(
|
|
13227
|
+
resetPasswordComponent.value.submit(e);
|
|
13187
13228
|
}
|
|
13188
13229
|
};
|
|
13189
|
-
const onConfirmResetPasswordSubmitI = (
|
|
13230
|
+
const onConfirmResetPasswordSubmitI = (e) => {
|
|
13190
13231
|
if (attrs == null ? void 0 : attrs.onConfirmResetPasswordSubmit) {
|
|
13191
|
-
emit("confirmResetPasswordSubmit",
|
|
13232
|
+
emit("confirmResetPasswordSubmit", e);
|
|
13192
13233
|
} else {
|
|
13193
|
-
confirmResetPasswordComponent.value.submit(
|
|
13234
|
+
confirmResetPasswordComponent.value.submit(e);
|
|
13194
13235
|
}
|
|
13195
13236
|
};
|
|
13196
|
-
const onConfirmSignInSubmitI = (
|
|
13237
|
+
const onConfirmSignInSubmitI = (e) => {
|
|
13197
13238
|
if (attrs == null ? void 0 : attrs.onConfirmSignInSubmit) {
|
|
13198
|
-
emit("confirmSignInSubmit",
|
|
13239
|
+
emit("confirmSignInSubmit", e);
|
|
13199
13240
|
} else {
|
|
13200
|
-
confirmSignInComponent.value.submit(
|
|
13241
|
+
confirmSignInComponent.value.submit(e);
|
|
13201
13242
|
}
|
|
13202
13243
|
};
|
|
13203
|
-
const onConfirmSetupTOTPSubmitI = (
|
|
13244
|
+
const onConfirmSetupTOTPSubmitI = (e) => {
|
|
13204
13245
|
if (attrs == null ? void 0 : attrs.onForceNewPasswordSubmit) {
|
|
13205
|
-
emit("mSetupTOTPSubmit",
|
|
13246
|
+
emit("mSetupTOTPSubmit", e);
|
|
13206
13247
|
} else {
|
|
13207
|
-
confirmSetupTOTPComponent.value.submit(
|
|
13248
|
+
confirmSetupTOTPComponent.value.submit(e);
|
|
13208
13249
|
}
|
|
13209
13250
|
};
|
|
13210
|
-
const onForceNewPasswordSubmitI = (
|
|
13251
|
+
const onForceNewPasswordSubmitI = (e) => {
|
|
13211
13252
|
if (attrs == null ? void 0 : attrs.onForceNewPasswordSubmit) {
|
|
13212
|
-
emit("forceNewPasswordSubmit",
|
|
13253
|
+
emit("forceNewPasswordSubmit", e);
|
|
13213
13254
|
} else {
|
|
13214
|
-
forceNewPasswordComponent.value.submit(
|
|
13255
|
+
forceNewPasswordComponent.value.submit(e);
|
|
13215
13256
|
}
|
|
13216
13257
|
};
|
|
13217
|
-
const onSignUpSubmitI = (
|
|
13258
|
+
const onSignUpSubmitI = (e) => {
|
|
13218
13259
|
if (attrs == null ? void 0 : attrs.onSignUpSubmit) {
|
|
13219
|
-
emit("signUpSubmit",
|
|
13260
|
+
emit("signUpSubmit", e);
|
|
13220
13261
|
} else {
|
|
13221
13262
|
signUpComponent.value.submit();
|
|
13222
13263
|
}
|
|
13223
13264
|
};
|
|
13224
|
-
const onVerifyUserSubmitI = (
|
|
13265
|
+
const onVerifyUserSubmitI = (e) => {
|
|
13225
13266
|
if (attrs == null ? void 0 : attrs.onVerifyUserSubmit) {
|
|
13226
|
-
emit("verifyUserSubmit",
|
|
13267
|
+
emit("verifyUserSubmit", e);
|
|
13227
13268
|
} else {
|
|
13228
|
-
verifyUserComponent.value.submit(
|
|
13269
|
+
verifyUserComponent.value.submit(e);
|
|
13229
13270
|
}
|
|
13230
13271
|
};
|
|
13231
|
-
const onConfirmVerifyUserSubmitI = (
|
|
13272
|
+
const onConfirmVerifyUserSubmitI = (e) => {
|
|
13232
13273
|
if (attrs == null ? void 0 : attrs.onConfirmVerifyUserSubmit) {
|
|
13233
|
-
emit("confirmVerifyUserSubmit",
|
|
13274
|
+
emit("confirmVerifyUserSubmit", e);
|
|
13234
13275
|
} else {
|
|
13235
|
-
confirmVerifyUserComponent.value.submit(
|
|
13276
|
+
confirmVerifyUserComponent.value.submit(e);
|
|
13236
13277
|
}
|
|
13237
13278
|
};
|
|
13238
13279
|
const user = ref(null);
|
|
13239
13280
|
const signOut = ref();
|
|
13240
13281
|
watch(() => state.value.context, () => {
|
|
13241
|
-
const { user: u, signOut: s } =
|
|
13282
|
+
const { user: u, signOut: s } = tt({
|
|
13242
13283
|
send: send2,
|
|
13243
13284
|
state: state.value
|
|
13244
13285
|
});
|
|
@@ -13669,4 +13710,4 @@ var index = {
|
|
|
13669
13710
|
app.component("AuthenticatorForceNewPasswordFormFields", _sfc_main$9);
|
|
13670
13711
|
}
|
|
13671
13712
|
};
|
|
13672
|
-
export { _sfc_main$x as AmplifyButton, _sfc_main as AmplifyCheckBox, _sfc_main$1 as AmplifyTextField, _sfc_main$3 as Authenticator, _sfc_main$9 as AuthenticatorForceNewPasswordFormFields, _sfc_main$j as AuthenticatorSignUpFormFields, _sfc_main$6 as ConfirmResetPassword, _sfc_main$c as ConfirmSignIn, _sfc_main$d as ConfirmSignUp, _sfc_main$4 as ConfirmVerifyUser, _sfc_main$m as FederatedSignIn, _sfc_main$8 as ForceNewPassword, _sfc_main$q as PasswordControl, _sfc_main$2 as RenderInfo, _sfc_main$7 as ResetPassword, _sfc_main$l as SignIn, _sfc_main$i as SignUp, _sfc_main$o as UserNameAlias, _sfc_main$5 as VerifyUser, index as default,
|
|
13713
|
+
export { _sfc_main$x as AmplifyButton, _sfc_main as AmplifyCheckBox, _sfc_main$1 as AmplifyTextField, _sfc_main$3 as Authenticator, _sfc_main$9 as AuthenticatorForceNewPasswordFormFields, _sfc_main$j as AuthenticatorSignUpFormFields, _sfc_main$6 as ConfirmResetPassword, _sfc_main$c as ConfirmSignIn, _sfc_main$d as ConfirmSignUp, _sfc_main$4 as ConfirmVerifyUser, _sfc_main$m as FederatedSignIn, _sfc_main$8 as ForceNewPassword, _sfc_main$q as PasswordControl, _sfc_main$2 as RenderInfo, _sfc_main$7 as ResetPassword, _sfc_main$l as SignIn, _sfc_main$i as SignUp, _sfc_main$o as UserNameAlias, _sfc_main$5 as VerifyUser, index as default, an as translations, useAuthenticator };
|