@mobileaction/action-kit 1.58.13 → 1.58.14
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/action-kit.mjs
CHANGED
|
@@ -10237,24 +10237,16 @@ var ac = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
|
10237
10237
|
t.exports = p;
|
|
10238
10238
|
})))(), 1);
|
|
10239
10239
|
function oc() {
|
|
10240
|
-
let e = R(/* @__PURE__ */ new Map())
|
|
10240
|
+
let e = R(/* @__PURE__ */ new Map());
|
|
10241
10241
|
return {
|
|
10242
10242
|
optionsMap: e,
|
|
10243
|
-
registerOption: (
|
|
10244
|
-
|
|
10245
|
-
t.value.set(n, i + 1), (r || !e.value.has(n)) && e.value.set(n, r);
|
|
10243
|
+
registerOption: (t, n) => {
|
|
10244
|
+
e.value.set(t.toString(), n);
|
|
10246
10245
|
},
|
|
10247
|
-
unregisterOption: (
|
|
10248
|
-
|
|
10249
|
-
if (r) {
|
|
10250
|
-
if (r <= 1) {
|
|
10251
|
-
t.value.delete(n), e.value.delete(n);
|
|
10252
|
-
return;
|
|
10253
|
-
}
|
|
10254
|
-
t.value.set(n, r - 1);
|
|
10255
|
-
}
|
|
10246
|
+
unregisterOption: (t) => {
|
|
10247
|
+
e.value.delete(t.toString());
|
|
10256
10248
|
},
|
|
10257
|
-
getOptionLabel: (t) => e.value.get(t) || null
|
|
10249
|
+
getOptionLabel: (t) => e.value.get(t.toString()) || null
|
|
10258
10250
|
};
|
|
10259
10251
|
}
|
|
10260
10252
|
//#endregion
|
|
@@ -14462,7 +14454,7 @@ var _c = [
|
|
|
14462
14454
|
active: i,
|
|
14463
14455
|
"data-index": n
|
|
14464
14456
|
}, {
|
|
14465
|
-
default: q(() => [(I(), d(U(
|
|
14457
|
+
default: q(() => [(I(), d(U(yh), {
|
|
14466
14458
|
key: n,
|
|
14467
14459
|
"checkbox-display": r.checkboxPosition,
|
|
14468
14460
|
"hide-check-icon": r.hideCheckIcon,
|
|
@@ -20315,7 +20307,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20315
20307
|
"aria-disabled",
|
|
20316
20308
|
"title",
|
|
20317
20309
|
"data-option-value"
|
|
20318
|
-
], vh = /* @__PURE__ */ y({
|
|
20310
|
+
], vh = { class: "ma-select-option-label" }, yh = /* @__PURE__ */ y({
|
|
20319
20311
|
__name: "selectOption",
|
|
20320
20312
|
props: {
|
|
20321
20313
|
checkboxPosition: { default: "left" },
|
|
@@ -20327,64 +20319,57 @@ var Op = (e) => (t) => Dp({
|
|
|
20327
20319
|
},
|
|
20328
20320
|
emits: ["selected"],
|
|
20329
20321
|
setup(e, { emit: t }) {
|
|
20330
|
-
let n = e, r = t, a = C("selectOption", () => {
|
|
20322
|
+
let n = e, r = t, a = ue(), o = C("selectOption", () => {
|
|
20331
20323
|
console.warn("selectOption function is not provided");
|
|
20332
|
-
}),
|
|
20333
|
-
s || console.warn("optionsRegistry is not provided. MaSelectOption must be used inside MaSelect.");
|
|
20334
|
-
let c = s?.registerOption ?? (() => {}), u = s?.unregisterOption ?? (() => {}), h = C("multiple", !1), _ = l(() => o.value.includes(n.value)), v = l(() => [
|
|
20324
|
+
}), s = C("selectedValues", l(() => (console.warn("selectedValues is not provided"), []))), { registerOption: c } = C("optionsRegistry"), u = C("multiple", !1), h = l(() => s.value.includes(n.value)), _ = l(() => [
|
|
20335
20325
|
"ma-select-option",
|
|
20336
20326
|
`ma-select-option--cb-${n.checkboxPosition}`,
|
|
20337
20327
|
{ "ma-select-option--disabled": n?.disabled },
|
|
20338
|
-
{ "ma-select-option--active":
|
|
20339
|
-
]),
|
|
20340
|
-
function
|
|
20341
|
-
n?.disabled || (
|
|
20328
|
+
{ "ma-select-option--active": h.value }
|
|
20329
|
+
]), v = l(() => h.value && !n.hideCheckIcon && !u);
|
|
20330
|
+
function y() {
|
|
20331
|
+
n?.disabled || (o(n.value), r("selected", n.value));
|
|
20342
20332
|
}
|
|
20343
|
-
function
|
|
20344
|
-
return (typeof
|
|
20333
|
+
function b(e) {
|
|
20334
|
+
return e.map((e) => typeof e.children == "string" ? e.children : Array.isArray(e.children) ? b(e.children) : "").join(" ");
|
|
20345
20335
|
}
|
|
20336
|
+
let x = () => n.label || a.default ? b(a.default()) : null;
|
|
20346
20337
|
return P(() => {
|
|
20347
|
-
c(n.value,
|
|
20348
|
-
}), N(() => {
|
|
20349
|
-
u(n.value);
|
|
20338
|
+
c(n.value, x());
|
|
20350
20339
|
}), (e, t) => (I(), p("div", {
|
|
20351
|
-
class: k(
|
|
20340
|
+
class: k(_.value),
|
|
20352
20341
|
"aria-disabled": n?.disabled,
|
|
20353
20342
|
title: n.label,
|
|
20354
20343
|
"data-option-value": n.value,
|
|
20355
20344
|
onPointerdown: t[0] ||= _e(() => {}, ["prevent"]),
|
|
20356
|
-
onClick:
|
|
20345
|
+
onClick: y
|
|
20357
20346
|
}, [
|
|
20358
|
-
U(
|
|
20347
|
+
U(u) ? (I(), p(i, { key: 0 }, [n.multiSelectionInput == "toggle" ? (I(), d(U(Oc), {
|
|
20359
20348
|
key: 0,
|
|
20360
|
-
checked:
|
|
20349
|
+
checked: h.value,
|
|
20361
20350
|
disabled: n?.disabled,
|
|
20362
20351
|
size: "small"
|
|
20363
20352
|
}, null, 8, ["checked", "disabled"])) : (I(), d(U(Bo), {
|
|
20364
20353
|
key: 1,
|
|
20365
|
-
checked:
|
|
20354
|
+
checked: h.value,
|
|
20366
20355
|
disabled: n?.disabled
|
|
20367
20356
|
}, null, 8, ["checked", "disabled"]))], 64)) : f("", !0),
|
|
20368
|
-
m("span", {
|
|
20369
|
-
|
|
20370
|
-
ref: b,
|
|
20371
|
-
class: "ma-select-option-label"
|
|
20372
|
-
}, [B(e.$slots, "default", {}, () => [g(H(n.label), 1)])], 512),
|
|
20373
|
-
y.value ? (I(), d(U(X), {
|
|
20357
|
+
m("span", vh, [B(e.$slots, "default", {}, () => [g(H(n.label), 1)])]),
|
|
20358
|
+
v.value ? (I(), d(U(X), {
|
|
20374
20359
|
key: 1,
|
|
20375
20360
|
name: "check-line",
|
|
20376
20361
|
class: "ma-selected-icon"
|
|
20377
20362
|
})) : f("", !0)
|
|
20378
20363
|
], 42, _h));
|
|
20379
20364
|
}
|
|
20380
|
-
}),
|
|
20365
|
+
}), bh = { class: "ma-select-option-group" }, xh = { class: "ma-select-option-group__label" }, Sh = { class: "ma-select-option-group__options" }, Ch = /* @__PURE__ */ y({
|
|
20381
20366
|
__name: "selectOptionGroup",
|
|
20382
20367
|
props: { label: {} },
|
|
20383
20368
|
setup(e) {
|
|
20384
20369
|
let t = e;
|
|
20385
|
-
return (e, n) => (I(), p("div",
|
|
20370
|
+
return (e, n) => (I(), p("div", bh, [m("span", xh, [B(e.$slots, "label", {}, () => [g(H(t?.label), 1)])]), m("div", Sh, [B(e.$slots, "default")])]));
|
|
20386
20371
|
}
|
|
20387
|
-
}),
|
|
20372
|
+
}), wh = /* @__PURE__ */ y({
|
|
20388
20373
|
__name: "option",
|
|
20389
20374
|
setup(e) {
|
|
20390
20375
|
return (e, t) => (I(), d(U(Ke), D(e.$attrs, {
|
|
@@ -20395,7 +20380,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20395
20380
|
fn: q(() => [B(e.$slots, n)])
|
|
20396
20381
|
}))]), 1040));
|
|
20397
20382
|
}
|
|
20398
|
-
}),
|
|
20383
|
+
}), Th = ["small", "medium"], Eh = { key: 1 }, Dh = /* @__PURE__ */ y({
|
|
20399
20384
|
name: "MaSideMenuButton2",
|
|
20400
20385
|
__name: "index",
|
|
20401
20386
|
props: {
|
|
@@ -20431,7 +20416,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20431
20416
|
}, null, 8, ["size", "name"]), [[me, c.value]]), J(_(X, {
|
|
20432
20417
|
size: s.value,
|
|
20433
20418
|
name: t.icon
|
|
20434
|
-
}, null, 8, ["size", "name"]), [[me, !c.value]])], 64)) : f("", !0), t.text ? (I(), p("span",
|
|
20419
|
+
}, null, 8, ["size", "name"]), [[me, !c.value]])], 64)) : f("", !0), t.text ? (I(), p("span", Eh, [g(H(t.text) + " ", 1), B(e.$slots, "default")])) : f("", !0)]),
|
|
20435
20420
|
_: 3
|
|
20436
20421
|
}, 16, [
|
|
20437
20422
|
"target",
|
|
@@ -20439,7 +20424,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20439
20424
|
"href"
|
|
20440
20425
|
]));
|
|
20441
20426
|
}
|
|
20442
|
-
}),
|
|
20427
|
+
}), Oh = /* @__PURE__ */ y({
|
|
20443
20428
|
name: "MaSideMenuItem2",
|
|
20444
20429
|
__name: "index",
|
|
20445
20430
|
props: {
|
|
@@ -20475,7 +20460,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20475
20460
|
"data-badge"
|
|
20476
20461
|
]));
|
|
20477
20462
|
}
|
|
20478
|
-
}),
|
|
20463
|
+
}), kh = /* @__PURE__ */ y({
|
|
20479
20464
|
name: "MaSideMenuAddNewAppButton",
|
|
20480
20465
|
__name: "index",
|
|
20481
20466
|
props: {
|
|
@@ -20503,7 +20488,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20503
20488
|
"disabled"
|
|
20504
20489
|
]));
|
|
20505
20490
|
}
|
|
20506
|
-
}),
|
|
20491
|
+
}), Ah = ["src", "alt"], jh = /* @__PURE__ */ y({
|
|
20507
20492
|
name: "MaSideMenuAppButton",
|
|
20508
20493
|
inheritAttrs: !1,
|
|
20509
20494
|
__name: "index",
|
|
@@ -20530,11 +20515,11 @@ var Op = (e) => (t) => Dp({
|
|
|
20530
20515
|
}, t.$attrs), [m("img", {
|
|
20531
20516
|
src: e.appImage,
|
|
20532
20517
|
alt: e.appName
|
|
20533
|
-
}, null, 8,
|
|
20518
|
+
}, null, 8, Ah), B(t.$slots, "default")], 16)]),
|
|
20534
20519
|
_: 3
|
|
20535
20520
|
}, 8, ["title"]));
|
|
20536
20521
|
}
|
|
20537
|
-
}),
|
|
20522
|
+
}), Mh = [
|
|
20538
20523
|
"dark",
|
|
20539
20524
|
"blue",
|
|
20540
20525
|
"jordy-blue",
|
|
@@ -20543,10 +20528,10 @@ var Op = (e) => (t) => Dp({
|
|
|
20543
20528
|
"red",
|
|
20544
20529
|
"purple",
|
|
20545
20530
|
"purple-light"
|
|
20546
|
-
],
|
|
20531
|
+
], Nh = {
|
|
20547
20532
|
key: 0,
|
|
20548
20533
|
class: "ma-side-menu-item-icon"
|
|
20549
|
-
},
|
|
20534
|
+
}, Ph = /* @__PURE__ */ y({
|
|
20550
20535
|
name: "MaSideMenuItem",
|
|
20551
20536
|
__name: "index",
|
|
20552
20537
|
props: {
|
|
@@ -20580,7 +20565,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20580
20565
|
href: t?.href
|
|
20581
20566
|
}, a.$attrs), {
|
|
20582
20567
|
default: q(() => [m("span", null, [
|
|
20583
|
-
t?.icon ? (I(), p("div",
|
|
20568
|
+
t?.icon ? (I(), p("div", Nh, [J(_(X, {
|
|
20584
20569
|
size: "xs",
|
|
20585
20570
|
name: i.value
|
|
20586
20571
|
}, null, 8, ["name"]), [[me, t.active]]), J(_(X, {
|
|
@@ -20605,7 +20590,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20605
20590
|
"href"
|
|
20606
20591
|
]));
|
|
20607
20592
|
}
|
|
20608
|
-
}),
|
|
20593
|
+
}), Fh = /* @__PURE__ */ y({
|
|
20609
20594
|
name: "MaSideMenuButton",
|
|
20610
20595
|
__name: "index",
|
|
20611
20596
|
props: {
|
|
@@ -20644,7 +20629,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20644
20629
|
"href"
|
|
20645
20630
|
]));
|
|
20646
20631
|
}
|
|
20647
|
-
}),
|
|
20632
|
+
}), Ih = /* @__PURE__ */ y({
|
|
20648
20633
|
name: "MaSideMenuIconButton",
|
|
20649
20634
|
inheritAttrs: !1,
|
|
20650
20635
|
__name: "index",
|
|
@@ -20724,7 +20709,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20724
20709
|
"target"
|
|
20725
20710
|
]));
|
|
20726
20711
|
}
|
|
20727
|
-
}),
|
|
20712
|
+
}), Lh = /* @__PURE__ */ y({
|
|
20728
20713
|
name: "MaSideMenuRoundIconButton",
|
|
20729
20714
|
inheritAttrs: !1,
|
|
20730
20715
|
__name: "index",
|
|
@@ -20739,7 +20724,7 @@ var Op = (e) => (t) => Dp({
|
|
|
20739
20724
|
name: t.icon
|
|
20740
20725
|
}, null, 8, ["name"]), B(e.$slots, "default")], 16));
|
|
20741
20726
|
}
|
|
20742
|
-
}),
|
|
20727
|
+
}), Rh = /* @__PURE__ */ y({
|
|
20743
20728
|
name: "MaSlider",
|
|
20744
20729
|
__name: "index",
|
|
20745
20730
|
props: {
|
|
@@ -20826,16 +20811,16 @@ var Op = (e) => (t) => Dp({
|
|
|
20826
20811
|
"tooltip-placement"
|
|
20827
20812
|
]));
|
|
20828
20813
|
}
|
|
20829
|
-
}),
|
|
20814
|
+
}), zh = ["data-size"], Bh = {
|
|
20830
20815
|
key: 0,
|
|
20831
20816
|
class: "ma-spin__overlay"
|
|
20832
|
-
},
|
|
20817
|
+
}, Vh = {
|
|
20833
20818
|
key: 0,
|
|
20834
20819
|
class: "custom-indicator"
|
|
20835
|
-
},
|
|
20820
|
+
}, Hh = {
|
|
20836
20821
|
key: 2,
|
|
20837
20822
|
class: "tip"
|
|
20838
|
-
},
|
|
20823
|
+
}, Uh = /* @__PURE__ */ y({
|
|
20839
20824
|
name: "MaSpin",
|
|
20840
20825
|
__name: "index",
|
|
20841
20826
|
props: {
|
|
@@ -20853,46 +20838,46 @@ var Op = (e) => (t) => Dp({
|
|
|
20853
20838
|
return (e, n) => (I(), p("div", D({
|
|
20854
20839
|
class: r.value,
|
|
20855
20840
|
"data-size": t.size
|
|
20856
|
-
}, e.$attrs), [t.spinning ? (I(), p("div",
|
|
20857
|
-
e.$slots.indicator ? (I(), p("div",
|
|
20841
|
+
}, e.$attrs), [t.spinning ? (I(), p("div", Bh, [
|
|
20842
|
+
e.$slots.indicator ? (I(), p("div", Vh, [B(e.$slots, "indicator")])) : f("", !0),
|
|
20858
20843
|
t.spinning && !e.$slots.indicator ? (I(), d(X, {
|
|
20859
20844
|
key: 1,
|
|
20860
20845
|
class: k(i.value),
|
|
20861
20846
|
name: a.value
|
|
20862
20847
|
}, null, 8, ["class", "name"])) : f("", !0),
|
|
20863
|
-
e.$slots?.tip || t?.tip ? (I(), p("div",
|
|
20864
|
-
])) : f("", !0), B(e.$slots, "default")], 16,
|
|
20848
|
+
e.$slots?.tip || t?.tip ? (I(), p("div", Hh, [g(H(t?.tip) + " ", 1), B(e.$slots, "tip")])) : f("", !0)
|
|
20849
|
+
])) : f("", !0), B(e.$slots, "default")], 16, zh));
|
|
20865
20850
|
}
|
|
20866
|
-
}),
|
|
20851
|
+
}), Wh = [
|
|
20867
20852
|
"round",
|
|
20868
20853
|
"dots",
|
|
20869
20854
|
"three-circles",
|
|
20870
20855
|
"three-dots"
|
|
20871
|
-
],
|
|
20856
|
+
], Gh = [
|
|
20872
20857
|
"dark",
|
|
20873
20858
|
"jordy",
|
|
20874
20859
|
"blue",
|
|
20875
20860
|
"orange",
|
|
20876
20861
|
"grey"
|
|
20877
|
-
],
|
|
20862
|
+
], Kh = [
|
|
20878
20863
|
"xs",
|
|
20879
20864
|
"sm",
|
|
20880
20865
|
"md",
|
|
20881
20866
|
"lg",
|
|
20882
20867
|
"xl"
|
|
20883
|
-
],
|
|
20868
|
+
], qh = { class: "ak-step__dot" }, Jh = {
|
|
20884
20869
|
key: 1,
|
|
20885
20870
|
class: "step-number"
|
|
20886
|
-
},
|
|
20871
|
+
}, Yh = {
|
|
20887
20872
|
key: 0,
|
|
20888
20873
|
class: "title-wrapper"
|
|
20889
|
-
},
|
|
20874
|
+
}, Xh = { class: "ak-step__title" }, Zh = { class: "ak-step__description" }, Qh = { class: "ak-step__description-list" }, $h = {
|
|
20890
20875
|
key: 0,
|
|
20891
20876
|
class: "title-wrapper"
|
|
20892
|
-
},
|
|
20877
|
+
}, eg = { class: "ak-step__title" }, tg = {
|
|
20893
20878
|
key: 0,
|
|
20894
20879
|
class: "ak-step__description"
|
|
20895
|
-
},
|
|
20880
|
+
}, ng = /* @__PURE__ */ y({
|
|
20896
20881
|
__name: "index",
|
|
20897
20882
|
props: {
|
|
20898
20883
|
title: {},
|
|
@@ -20917,16 +20902,16 @@ var Op = (e) => (t) => Dp({
|
|
|
20917
20902
|
ref: a,
|
|
20918
20903
|
class: k(h.value),
|
|
20919
20904
|
onClick: _
|
|
20920
|
-
}, [m("div",
|
|
20905
|
+
}, [m("div", qh, [c.value ? (I(), d(U(X), {
|
|
20921
20906
|
key: 0,
|
|
20922
20907
|
name: "tick"
|
|
20923
|
-
})) : (I(), p("span",
|
|
20924
|
-
m("h3",
|
|
20908
|
+
})) : (I(), p("span", Jh, H(o.value + 1), 1))]), u.value && (t?.title || e.$slots.title) ? (I(), p("div", Yh, [
|
|
20909
|
+
m("h3", Xh, [B(e.$slots, "title"), g(" " + H(t?.title), 1)]),
|
|
20925
20910
|
n[0] ||= m("div", { class: "ak-step__separator" }, null, -1),
|
|
20926
|
-
m("div",
|
|
20927
|
-
])) : (I(), p(i, { key: 1 }, [t?.title || e.$slots.title ? (I(), p("div",
|
|
20911
|
+
m("div", Zh, [B(e.$slots, "description"), m("ul", Qh, [(I(!0), p(i, null, z(t.description, (e, t) => (I(), p("li", { key: t }, H(e), 1))), 128))])])
|
|
20912
|
+
])) : (I(), p(i, { key: 1 }, [t?.title || e.$slots.title ? (I(), p("div", $h, [m("h3", eg, [B(e.$slots, "title"), g(" " + H(t?.title), 1)]), t?.description || e.$slots.description ? (I(), p("div", tg, [B(e.$slots, "description"), g(" " + H(t?.description), 1)])) : f("", !0)])) : f("", !0), n[1] ||= m("div", { class: "ak-step__separator" }, null, -1)], 64))], 2));
|
|
20928
20913
|
}
|
|
20929
|
-
}),
|
|
20914
|
+
}), rg = ["data-readonly"], ig = /* @__PURE__ */ y({
|
|
20930
20915
|
name: "MaSteps",
|
|
20931
20916
|
__name: "index",
|
|
20932
20917
|
props: {
|
|
@@ -20966,21 +20951,21 @@ var Op = (e) => (t) => Dp({
|
|
|
20966
20951
|
ref: a,
|
|
20967
20952
|
class: k(o.value),
|
|
20968
20953
|
"data-readonly": e.readonly
|
|
20969
|
-
}, [B(t.$slots, "default")], 10,
|
|
20954
|
+
}, [B(t.$slots, "default")], 10, rg));
|
|
20970
20955
|
}
|
|
20971
|
-
}),
|
|
20956
|
+
}), ag = { class: "ak-step-item__dot" }, og = {
|
|
20972
20957
|
key: 0,
|
|
20973
20958
|
class: "step-number"
|
|
20974
|
-
},
|
|
20959
|
+
}, sg = {
|
|
20975
20960
|
key: 1,
|
|
20976
20961
|
class: "step-number"
|
|
20977
|
-
},
|
|
20962
|
+
}, cg = { class: "title-wrapper" }, lg = {
|
|
20978
20963
|
key: 0,
|
|
20979
20964
|
class: "ak-step-item__title"
|
|
20980
|
-
},
|
|
20965
|
+
}, ug = {
|
|
20981
20966
|
key: 1,
|
|
20982
20967
|
class: "ak-step-item__description"
|
|
20983
|
-
},
|
|
20968
|
+
}, dg = /* @__PURE__ */ y({
|
|
20984
20969
|
__name: "index",
|
|
20985
20970
|
props: {
|
|
20986
20971
|
title: {},
|
|
@@ -21026,17 +21011,17 @@ var Op = (e) => (t) => Dp({
|
|
|
21026
21011
|
ref: a,
|
|
21027
21012
|
class: k(_.value),
|
|
21028
21013
|
onClick: v
|
|
21029
|
-
}, [m("div",
|
|
21014
|
+
}, [m("div", ag, [h.value ? (I(), p("span", og, H(u.value + 1), 1)) : (I(), p("span", sg, H(u.value + 1), 1))]), m("div", cg, [t?.title || e.$slots.title ? (I(), p("h3", lg, [
|
|
21030
21015
|
B(e.$slots, "title"),
|
|
21031
21016
|
g(" " + H(t?.title) + " ", 1),
|
|
21032
21017
|
B(e.$slots, "titleSlot")
|
|
21033
|
-
])) : f("", !0), t?.description || e.$slots.description ? (I(), p("p",
|
|
21018
|
+
])) : f("", !0), t?.description || e.$slots.description ? (I(), p("p", ug, [
|
|
21034
21019
|
B(e.$slots, "description"),
|
|
21035
21020
|
g(" " + H(t?.description) + " ", 1),
|
|
21036
21021
|
B(e.$slots, "descriptionSlot")
|
|
21037
21022
|
])) : f("", !0)])], 2), B(e.$slots, "default")], 64));
|
|
21038
21023
|
}
|
|
21039
|
-
}),
|
|
21024
|
+
}), fg = /* @__PURE__ */ y({
|
|
21040
21025
|
name: "MaStepItems",
|
|
21041
21026
|
__name: "index",
|
|
21042
21027
|
props: { current: { default: 0 } },
|
|
@@ -21051,7 +21036,7 @@ var Op = (e) => (t) => Dp({
|
|
|
21051
21036
|
}
|
|
21052
21037
|
}), c = R((e) => {
|
|
21053
21038
|
s.value = e;
|
|
21054
|
-
}), u = l(() => i.default().filter((e) => e.type ===
|
|
21039
|
+
}), u = l(() => i.default().filter((e) => e.type === dg).length);
|
|
21055
21040
|
function d() {
|
|
21056
21041
|
a.value.querySelectorAll(".ak-step-item").forEach((e, t) => {
|
|
21057
21042
|
e.setAttribute("data-index", t.toString());
|
|
@@ -21067,10 +21052,10 @@ var Op = (e) => (t) => Dp({
|
|
|
21067
21052
|
class: k(o.value)
|
|
21068
21053
|
}, [B(e.$slots, "default")], 2));
|
|
21069
21054
|
}
|
|
21070
|
-
}),
|
|
21055
|
+
}), pg = ["primary", "secondary"], mg = ["disabled"], hg = ["onClick"], gg = {
|
|
21071
21056
|
key: 1,
|
|
21072
21057
|
class: "text"
|
|
21073
|
-
},
|
|
21058
|
+
}, _g = /* @__PURE__ */ y({
|
|
21074
21059
|
name: "MaSwitch",
|
|
21075
21060
|
__name: "index",
|
|
21076
21061
|
props: {
|
|
@@ -21137,11 +21122,11 @@ var Op = (e) => (t) => Dp({
|
|
|
21137
21122
|
key: 0,
|
|
21138
21123
|
size: "xs",
|
|
21139
21124
|
name: e.icon
|
|
21140
|
-
}, null, 8, ["name"])) : f("", !0), e?.label ? (I(), p("span",
|
|
21125
|
+
}, null, 8, ["name"])) : f("", !0), e?.label ? (I(), p("span", gg, [t.$slots.optionLabel ? B(t.$slots, "optionLabel", {
|
|
21141
21126
|
key: 0,
|
|
21142
21127
|
label: e?.label,
|
|
21143
21128
|
value: e.value
|
|
21144
|
-
}) : (I(), p(i, { key: 1 }, [g(H(e.label), 1)], 64))])) : f("", !0)], 10,
|
|
21129
|
+
}) : (I(), p(i, { key: 1 }, [g(H(e.label), 1)], 64))])) : f("", !0)], 10, hg))), 128)),
|
|
21145
21130
|
m("div", {
|
|
21146
21131
|
ref_key: "mask",
|
|
21147
21132
|
ref: a,
|
|
@@ -21154,17 +21139,17 @@ var Op = (e) => (t) => Dp({
|
|
|
21154
21139
|
size: "xs",
|
|
21155
21140
|
class: "ma-loading-icon"
|
|
21156
21141
|
})) : f("", !0)
|
|
21157
|
-
], 16,
|
|
21142
|
+
], 16, mg));
|
|
21158
21143
|
}
|
|
21159
|
-
}),
|
|
21144
|
+
}), vg = ["horizontal", "vertical"], yg = [
|
|
21160
21145
|
"xxsmall",
|
|
21161
21146
|
"xsmall",
|
|
21162
21147
|
"small"
|
|
21163
|
-
],
|
|
21148
|
+
], bg = [
|
|
21164
21149
|
"rounded",
|
|
21165
21150
|
"rounded-dark",
|
|
21166
21151
|
"line"
|
|
21167
|
-
],
|
|
21152
|
+
], xg = ["small", "medium"], Sg = ["left", "right"], Cg = ["disabled", "data-tab-key"], wg = /* @__PURE__ */ y({
|
|
21168
21153
|
name: "MaTabButton",
|
|
21169
21154
|
__name: "tabButton",
|
|
21170
21155
|
props: {
|
|
@@ -21225,9 +21210,9 @@ var Op = (e) => (t) => Dp({
|
|
|
21225
21210
|
default: q(() => [g(H(n.badgeText), 1)]),
|
|
21226
21211
|
_: 1
|
|
21227
21212
|
}, 8, ["type"])) : f("", !0)
|
|
21228
|
-
], 10,
|
|
21213
|
+
], 10, Cg));
|
|
21229
21214
|
}
|
|
21230
|
-
}),
|
|
21215
|
+
}), Tg = /* @__PURE__ */ y({
|
|
21231
21216
|
name: "MaTabPane",
|
|
21232
21217
|
__name: "tabPane",
|
|
21233
21218
|
props: {
|
|
@@ -21246,25 +21231,25 @@ var Op = (e) => (t) => Dp({
|
|
|
21246
21231
|
let t = e, n = C("activeKey", R(null)), r = l(() => !t.disabled && t.tabKey == n.value);
|
|
21247
21232
|
return (e, t) => r.value ? B(e.$slots, "default", { key: 0 }) : f("", !0);
|
|
21248
21233
|
}
|
|
21249
|
-
}),
|
|
21234
|
+
}), Eg = /* @__PURE__ */ n(((e, t) => {
|
|
21250
21235
|
var n = As();
|
|
21251
21236
|
function r(e, t, r) {
|
|
21252
21237
|
var i = e.length;
|
|
21253
21238
|
return r = r === void 0 ? i : r, !t && r >= i ? e : n(e, t, r);
|
|
21254
21239
|
}
|
|
21255
21240
|
t.exports = r;
|
|
21256
|
-
})),
|
|
21241
|
+
})), Dg = /* @__PURE__ */ n(((e, t) => {
|
|
21257
21242
|
var n = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
|
|
21258
21243
|
function r(e) {
|
|
21259
21244
|
return n.test(e);
|
|
21260
21245
|
}
|
|
21261
21246
|
t.exports = r;
|
|
21262
|
-
})),
|
|
21247
|
+
})), Og = /* @__PURE__ */ n(((e, t) => {
|
|
21263
21248
|
function n(e) {
|
|
21264
21249
|
return e.split("");
|
|
21265
21250
|
}
|
|
21266
21251
|
t.exports = n;
|
|
21267
|
-
})),
|
|
21252
|
+
})), kg = /* @__PURE__ */ n(((e, t) => {
|
|
21268
21253
|
var n = "\\ud800-\\udfff", r = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", i = "\\ufe0e\\ufe0f", a = "[" + n + "]", o = "[" + r + "]", s = "\\ud83c[\\udffb-\\udfff]", c = "(?:" + o + "|" + s + ")", l = "[^" + n + "]", u = "(?:\\ud83c[\\udde6-\\uddff]){2}", d = "[\\ud800-\\udbff][\\udc00-\\udfff]", f = "\\u200d", p = c + "?", m = "[" + i + "]?", h = "(?:" + f + "(?:" + [
|
|
21269
21254
|
l,
|
|
21270
21255
|
u,
|
|
@@ -21280,14 +21265,14 @@ var Op = (e) => (t) => Dp({
|
|
|
21280
21265
|
return e.match(v) || [];
|
|
21281
21266
|
}
|
|
21282
21267
|
t.exports = y;
|
|
21283
|
-
})),
|
|
21284
|
-
var n =
|
|
21268
|
+
})), Ag = /* @__PURE__ */ n(((e, t) => {
|
|
21269
|
+
var n = Og(), r = Dg(), i = kg();
|
|
21285
21270
|
function a(e) {
|
|
21286
21271
|
return r(e) ? i(e) : n(e);
|
|
21287
21272
|
}
|
|
21288
21273
|
t.exports = a;
|
|
21289
|
-
})),
|
|
21290
|
-
var n =
|
|
21274
|
+
})), jg = /* @__PURE__ */ n(((e, t) => {
|
|
21275
|
+
var n = Eg(), r = Dg(), i = Ag(), a = Ts();
|
|
21291
21276
|
function o(e) {
|
|
21292
21277
|
return function(t) {
|
|
21293
21278
|
t = a(t);
|
|
@@ -21296,23 +21281,23 @@ var Op = (e) => (t) => Dp({
|
|
|
21296
21281
|
};
|
|
21297
21282
|
}
|
|
21298
21283
|
t.exports = o;
|
|
21299
|
-
})), jg = /* @__PURE__ */ n(((e, t) => {
|
|
21300
|
-
t.exports = Ag()("toUpperCase");
|
|
21301
21284
|
})), Mg = /* @__PURE__ */ n(((e, t) => {
|
|
21302
|
-
|
|
21285
|
+
t.exports = jg()("toUpperCase");
|
|
21286
|
+
})), Ng = /* @__PURE__ */ n(((e, t) => {
|
|
21287
|
+
var n = Ts(), r = Mg();
|
|
21303
21288
|
function i(e) {
|
|
21304
21289
|
return r(n(e).toLowerCase());
|
|
21305
21290
|
}
|
|
21306
21291
|
t.exports = i;
|
|
21307
|
-
})),
|
|
21308
|
-
var n =
|
|
21292
|
+
})), Pg = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
21293
|
+
var n = Ng();
|
|
21309
21294
|
t.exports = lp()(function(e, t, r) {
|
|
21310
21295
|
return t = t.toLowerCase(), e + (r ? n(t) : t);
|
|
21311
21296
|
});
|
|
21312
|
-
})))(), 1),
|
|
21297
|
+
})))(), 1), Fg = { class: "ma-tabs-nav" }, Ig = {
|
|
21313
21298
|
key: 0,
|
|
21314
21299
|
class: "ma-tabs-content"
|
|
21315
|
-
},
|
|
21300
|
+
}, Lg = /* @__PURE__ */ y({
|
|
21316
21301
|
__name: "index",
|
|
21317
21302
|
props: {
|
|
21318
21303
|
type: { default: "line" },
|
|
@@ -21333,12 +21318,12 @@ var Op = (e) => (t) => Dp({
|
|
|
21333
21318
|
o.value = (a.default?.() || []).flatMap((e) => e.type === i && Array.isArray(e.children) ? e.children.filter(T) : T(e) ? e : []).filter((e) => T(e) && e.type?.name === "MaTabPane").map((e) => {
|
|
21334
21319
|
let t = e.props || {};
|
|
21335
21320
|
return {
|
|
21336
|
-
props: Object.keys(t).reduce((e, n) => (e[(0,
|
|
21321
|
+
props: Object.keys(t).reduce((e, n) => (e[(0, Pg.default)(n)] = t[n], e), {}),
|
|
21337
21322
|
slots: e.children
|
|
21338
21323
|
};
|
|
21339
21324
|
});
|
|
21340
21325
|
}), L("activeKey", c), (e, t) => (I(), p("div", { class: k(u.value) }, [_(U(Qo), { "always-show-buttons": n.alwaysShowScrollerButtons }, {
|
|
21341
|
-
default: q(() => [m("div",
|
|
21326
|
+
default: q(() => [m("div", Fg, [(I(!0), p(i, null, z(o.value, (e) => (I(), d(wg, D({ ref_for: !0 }, e.props, {
|
|
21342
21327
|
key: e.props.tabKey,
|
|
21343
21328
|
"is-active": n.activeKey == e.props.tabKey,
|
|
21344
21329
|
type: n.type,
|
|
@@ -21354,14 +21339,14 @@ var Op = (e) => (t) => Dp({
|
|
|
21354
21339
|
"size"
|
|
21355
21340
|
]))), 128))])]),
|
|
21356
21341
|
_: 1
|
|
21357
|
-
}, 8, ["always-show-buttons"]), s.value ? (I(), p("div",
|
|
21342
|
+
}, 8, ["always-show-buttons"]), s.value ? (I(), p("div", Ig, [B(e.$slots, "default")])) : f("", !0)], 2));
|
|
21358
21343
|
}
|
|
21359
|
-
}),
|
|
21344
|
+
}), Rg = [
|
|
21360
21345
|
"left",
|
|
21361
21346
|
"right",
|
|
21362
21347
|
"top",
|
|
21363
21348
|
"bottom"
|
|
21364
|
-
],
|
|
21349
|
+
], zg = ["card", "line"], Bg = ["left", "right"], Vg = /* @__PURE__ */ y({
|
|
21365
21350
|
__name: "tabPane",
|
|
21366
21351
|
setup(e) {
|
|
21367
21352
|
return (e, t) => (I(), d(U(Ye), D({ tab: "test" }, e.$attrs), h({ _: 2 }, [z(e.$slots, (t, n) => ({
|
|
@@ -21369,7 +21354,7 @@ var Op = (e) => (t) => Dp({
|
|
|
21369
21354
|
fn: q(() => [B(e.$slots, n)])
|
|
21370
21355
|
}))]), 1040));
|
|
21371
21356
|
}
|
|
21372
|
-
}),
|
|
21357
|
+
}), Hg = /* @__PURE__ */ y({
|
|
21373
21358
|
name: "MaTabs",
|
|
21374
21359
|
__name: "index",
|
|
21375
21360
|
props: {
|
|
@@ -21424,17 +21409,17 @@ var Op = (e) => (t) => Dp({
|
|
|
21424
21409
|
"type"
|
|
21425
21410
|
]));
|
|
21426
21411
|
}
|
|
21427
|
-
}),
|
|
21412
|
+
}), Ug = {
|
|
21428
21413
|
key: 0,
|
|
21429
21414
|
class: "ma-tag-input-prefix"
|
|
21430
|
-
},
|
|
21415
|
+
}, Wg = { class: "ma-tag-wrapper" }, Gg = [
|
|
21431
21416
|
"disabled",
|
|
21432
21417
|
"placeholder",
|
|
21433
21418
|
"maxlength"
|
|
21434
|
-
],
|
|
21419
|
+
], Kg = {
|
|
21435
21420
|
key: 1,
|
|
21436
21421
|
class: "ma-tag-input-suffix"
|
|
21437
|
-
},
|
|
21422
|
+
}, qg = /* @__PURE__ */ y({
|
|
21438
21423
|
name: "MaTagInput",
|
|
21439
21424
|
__name: "index",
|
|
21440
21425
|
props: {
|
|
@@ -21506,12 +21491,12 @@ var Op = (e) => (t) => Dp({
|
|
|
21506
21491
|
class: k(g.value),
|
|
21507
21492
|
onClick: w
|
|
21508
21493
|
}, [
|
|
21509
|
-
u.value ? (I(), p("div",
|
|
21494
|
+
u.value ? (I(), p("div", Ug, [B(t.$slots, "prefix"), n.prefixIcon ? (I(), d(U(X), {
|
|
21510
21495
|
key: 0,
|
|
21511
21496
|
size: "xs",
|
|
21512
21497
|
name: n.prefixIcon
|
|
21513
21498
|
}, null, 8, ["name"])) : f("", !0)])) : f("", !0),
|
|
21514
|
-
m("div",
|
|
21499
|
+
m("div", Wg, [(I(!0), p(i, null, z(e.tags, (e) => (I(), p("span", {
|
|
21515
21500
|
key: e,
|
|
21516
21501
|
class: "single-tag"
|
|
21517
21502
|
}, [m("span", null, H(e), 1), _(U(X), {
|
|
@@ -21530,19 +21515,19 @@ var Op = (e) => (t) => Dp({
|
|
|
21530
21515
|
maxlength: n?.tagCharLimit,
|
|
21531
21516
|
onKeydown: x,
|
|
21532
21517
|
onPaste: T
|
|
21533
|
-
}, null, 40,
|
|
21534
|
-
h.value ? (I(), p("div",
|
|
21518
|
+
}, null, 40, Gg), [[pe, o.value]])], 4)]),
|
|
21519
|
+
h.value ? (I(), p("div", Kg, [B(t.$slots, "suffix"), n.suffixIcon ? (I(), d(U(X), {
|
|
21535
21520
|
key: 0,
|
|
21536
21521
|
size: "xs",
|
|
21537
21522
|
name: n.suffixIcon
|
|
21538
21523
|
}, null, 8, ["name"])) : f("", !0)])) : f("", !0)
|
|
21539
21524
|
], 2));
|
|
21540
21525
|
}
|
|
21541
|
-
}),
|
|
21526
|
+
}), Jg = [
|
|
21542
21527
|
"small",
|
|
21543
21528
|
"default",
|
|
21544
21529
|
"large"
|
|
21545
|
-
],
|
|
21530
|
+
], Yg = ["primary", "secondary"], Xg = [
|
|
21546
21531
|
"top",
|
|
21547
21532
|
"left",
|
|
21548
21533
|
"right",
|
|
@@ -21555,15 +21540,15 @@ var Op = (e) => (t) => Dp({
|
|
|
21555
21540
|
"leftBottom",
|
|
21556
21541
|
"rightTop",
|
|
21557
21542
|
"rightBottom"
|
|
21558
|
-
],
|
|
21543
|
+
], Zg = ["primary", "secondary"], Qg = [
|
|
21559
21544
|
"hover",
|
|
21560
21545
|
"focus",
|
|
21561
21546
|
"click",
|
|
21562
21547
|
"contextmenu"
|
|
21563
|
-
],
|
|
21548
|
+
], $g = { class: "ak-tooltip-overlay__content" }, e_ = { class: "ak-tooltip-overlay__content__title" }, t_ = {
|
|
21564
21549
|
key: 0,
|
|
21565
21550
|
class: "ak-tooltip-overlay__content__description"
|
|
21566
|
-
},
|
|
21551
|
+
}, n_ = /* @__PURE__ */ y({
|
|
21567
21552
|
name: "MaTooltip",
|
|
21568
21553
|
__name: "index",
|
|
21569
21554
|
props: {
|
|
@@ -21615,7 +21600,7 @@ var Op = (e) => (t) => Dp({
|
|
|
21615
21600
|
name: t.icon
|
|
21616
21601
|
}, null, 8, ["name"])) : f("", !0),
|
|
21617
21602
|
B(o.$slots, "icon"),
|
|
21618
|
-
m("div",
|
|
21603
|
+
m("div", $g, [m("span", e_, [g(H(t.title) + " ", 1), B(o.$slots, "title")]), t?.description || o.$slots.description ? (I(), p("span", t_, [g(H(t.description) + " ", 1), B(o.$slots, "description")])) : f("", !0)]),
|
|
21619
21604
|
t.closable ? (I(), d(X, {
|
|
21620
21605
|
key: 1,
|
|
21621
21606
|
class: "ak-tooltip-overlay__close",
|
|
@@ -21636,7 +21621,7 @@ var Op = (e) => (t) => Dp({
|
|
|
21636
21621
|
"trigger"
|
|
21637
21622
|
]));
|
|
21638
21623
|
}
|
|
21639
|
-
}),
|
|
21624
|
+
}), r_ = ["disabled"], i_ = { class: "icon-wrapper" }, a_ = /* @__PURE__ */ y({
|
|
21640
21625
|
__name: "index",
|
|
21641
21626
|
props: {
|
|
21642
21627
|
size: { default: "sm" },
|
|
@@ -21677,7 +21662,7 @@ var Op = (e) => (t) => Dp({
|
|
|
21677
21662
|
default: q(() => [g(H(t.badgeText), 1)]),
|
|
21678
21663
|
_: 1
|
|
21679
21664
|
}, 8, ["variant"])) : f("", !0),
|
|
21680
|
-
m("span",
|
|
21665
|
+
m("span", i_, [_(U(X), {
|
|
21681
21666
|
spin: t?.loading,
|
|
21682
21667
|
name: r.value,
|
|
21683
21668
|
size: i.value
|
|
@@ -21686,23 +21671,23 @@ var Op = (e) => (t) => Dp({
|
|
|
21686
21671
|
"name",
|
|
21687
21672
|
"size"
|
|
21688
21673
|
])])
|
|
21689
|
-
], 16,
|
|
21674
|
+
], 16, r_));
|
|
21690
21675
|
}
|
|
21691
|
-
}),
|
|
21676
|
+
}), o_ = [
|
|
21692
21677
|
"xs",
|
|
21693
21678
|
"sm",
|
|
21694
21679
|
"md",
|
|
21695
21680
|
"lg"
|
|
21696
|
-
],
|
|
21681
|
+
], s_ = {
|
|
21697
21682
|
key: 0,
|
|
21698
21683
|
class: "mr-2"
|
|
21699
|
-
},
|
|
21684
|
+
}, c_ = {
|
|
21700
21685
|
key: 1,
|
|
21701
21686
|
class: "mr-2 -mt-1"
|
|
21702
|
-
},
|
|
21687
|
+
}, l_ = { class: "flex items-center justify-between w-full" }, u_ = {
|
|
21703
21688
|
key: 0,
|
|
21704
21689
|
class: "ma-tree-list"
|
|
21705
|
-
},
|
|
21690
|
+
}, d_ = /* @__PURE__ */ y({
|
|
21706
21691
|
name: "MaTreeNode",
|
|
21707
21692
|
__name: "treeNode",
|
|
21708
21693
|
props: {
|
|
@@ -21758,12 +21743,12 @@ var Op = (e) => (t) => Dp({
|
|
|
21758
21743
|
class: k(["ma-tree-node-content", h.value]),
|
|
21759
21744
|
onClick: n[2] ||= (t) => b(e.node)
|
|
21760
21745
|
}, [
|
|
21761
|
-
a.value ? (I(), p("div",
|
|
21746
|
+
a.value ? (I(), p("div", s_, [_(U(X), {
|
|
21762
21747
|
name: "chevron-down",
|
|
21763
21748
|
size: "xs",
|
|
21764
21749
|
class: k({ "-rotate-90": !o.value })
|
|
21765
21750
|
}, null, 8, ["class"])])) : f("", !0),
|
|
21766
|
-
e.isMultiple ? (I(), p("div",
|
|
21751
|
+
e.isMultiple ? (I(), p("div", c_, [_(U(Bo), {
|
|
21767
21752
|
checked: c.value,
|
|
21768
21753
|
indeterminate: v.value,
|
|
21769
21754
|
disabled: s.value,
|
|
@@ -21775,12 +21760,12 @@ var Op = (e) => (t) => Dp({
|
|
|
21775
21760
|
"disabled"
|
|
21776
21761
|
])])) : f("", !0),
|
|
21777
21762
|
e.showIcon ? B(t.$slots, "icon", A(D({ key: 2 }, e.node))) : f("", !0),
|
|
21778
|
-
m("div",
|
|
21763
|
+
m("div", l_, [B(t.$slots, "label", A(x(e.node))), e.hideTick ? f("", !0) : (I(), p(i, { key: 0 }, [u.value && !e.isMultiple ? (I(), d(U(X), {
|
|
21779
21764
|
key: 0,
|
|
21780
21765
|
name: "tick",
|
|
21781
21766
|
size: "sm"
|
|
21782
21767
|
})) : f("", !0)], 64))])
|
|
21783
|
-
], 2), o.value && a.value ? (I(), p("ul",
|
|
21768
|
+
], 2), o.value && a.value ? (I(), p("ul", u_, [(I(!0), p(i, null, z(e.node.options, (i, a) => (I(), d(l, {
|
|
21784
21769
|
key: `${a}-tree-node`,
|
|
21785
21770
|
"selected-value": e.selectedValue,
|
|
21786
21771
|
"expanded-keys": e.expandedKeys,
|
|
@@ -21827,10 +21812,10 @@ var Op = (e) => (t) => Dp({
|
|
|
21827
21812
|
]))), 128)), B(t.$slots, "list-bottom-section", A(x(e.node)))])) : f("", !0)]);
|
|
21828
21813
|
};
|
|
21829
21814
|
}
|
|
21830
|
-
}),
|
|
21815
|
+
}), f_ = {
|
|
21831
21816
|
key: 1,
|
|
21832
21817
|
class: "ma-tree-list"
|
|
21833
|
-
},
|
|
21818
|
+
}, p_ = /* @__PURE__ */ y({
|
|
21834
21819
|
__name: "index",
|
|
21835
21820
|
props: {
|
|
21836
21821
|
value: {},
|
|
@@ -21925,7 +21910,7 @@ var Op = (e) => (t) => Dp({
|
|
|
21925
21910
|
checkNodeChange: b,
|
|
21926
21911
|
expandAll: S,
|
|
21927
21912
|
collapseAll: C
|
|
21928
|
-
}), (t, n) => (I(), p("div", { class: k(c.value) }, [h.value?.length ? (I(), p("ul",
|
|
21913
|
+
}), (t, n) => (I(), p("div", { class: k(c.value) }, [h.value?.length ? (I(), p("ul", f_, [(I(!0), p(i, null, z(h.value, (n, r) => (I(), d(d_, {
|
|
21929
21914
|
key: `node-${r}`,
|
|
21930
21915
|
node: n,
|
|
21931
21916
|
"selected-value": e.value,
|
|
@@ -21979,19 +21964,19 @@ var Op = (e) => (t) => Dp({
|
|
|
21979
21964
|
"description"
|
|
21980
21965
|
]))], 2));
|
|
21981
21966
|
}
|
|
21982
|
-
}),
|
|
21967
|
+
}), m_ = ["single", "multiple"], h_ = [
|
|
21983
21968
|
"button",
|
|
21984
21969
|
"box",
|
|
21985
21970
|
"small-box"
|
|
21986
|
-
],
|
|
21971
|
+
], g_ = [
|
|
21987
21972
|
"xs",
|
|
21988
21973
|
"sm",
|
|
21989
21974
|
"md",
|
|
21990
21975
|
"lg",
|
|
21991
21976
|
"xl"
|
|
21992
|
-
],
|
|
21977
|
+
], __ = /* @__PURE__ */ function(e) {
|
|
21993
21978
|
return e.error = "error", e.done = "done", e.uploading = "uploading", e;
|
|
21994
|
-
}({}),
|
|
21979
|
+
}({}), v_ = [
|
|
21995
21980
|
"display-1",
|
|
21996
21981
|
"display-2",
|
|
21997
21982
|
"heading-1",
|
|
@@ -22006,7 +21991,7 @@ var Op = (e) => (t) => Dp({
|
|
|
22006
21991
|
"body-4",
|
|
22007
21992
|
"caption-1",
|
|
22008
21993
|
"caption-2"
|
|
22009
|
-
],
|
|
21994
|
+
], y_ = [
|
|
22010
21995
|
"div",
|
|
22011
21996
|
"p",
|
|
22012
21997
|
"h1",
|
|
@@ -22016,7 +22001,7 @@ var Op = (e) => (t) => Dp({
|
|
|
22016
22001
|
"h5",
|
|
22017
22002
|
"h6",
|
|
22018
22003
|
"span"
|
|
22019
|
-
],
|
|
22004
|
+
], b_ = [
|
|
22020
22005
|
"light",
|
|
22021
22006
|
"regular",
|
|
22022
22007
|
"medium",
|
|
@@ -22025,14 +22010,14 @@ var Op = (e) => (t) => Dp({
|
|
|
22025
22010
|
];
|
|
22026
22011
|
//#endregion
|
|
22027
22012
|
//#region src/components/upload/composables/file.ts
|
|
22028
|
-
function
|
|
22013
|
+
function x_(e) {
|
|
22029
22014
|
try {
|
|
22030
22015
|
return JSON.parse(e);
|
|
22031
22016
|
} catch {
|
|
22032
22017
|
return e;
|
|
22033
22018
|
}
|
|
22034
22019
|
}
|
|
22035
|
-
function
|
|
22020
|
+
function S_(e, t = {}, n = {}, r) {
|
|
22036
22021
|
let i = R(0);
|
|
22037
22022
|
return {
|
|
22038
22023
|
progress: i,
|
|
@@ -22045,16 +22030,16 @@ function x_(e, t = {}, n = {}, r) {
|
|
|
22045
22030
|
c.open("POST", e), Object.entries(t).forEach(([e, t]) => {
|
|
22046
22031
|
c.setRequestHeader(e, t);
|
|
22047
22032
|
}), c.upload.onprogress = (e) => {
|
|
22048
|
-
e.lengthComputable && (i.value = e.loaded / e.total * 100, o(
|
|
22033
|
+
e.lengthComputable && (i.value = e.loaded / e.total * 100, o(__.uploading, i.value));
|
|
22049
22034
|
}, c.onload = () => {
|
|
22050
|
-
c.status >= 200 && c.status < 300 ? o(
|
|
22035
|
+
c.status >= 200 && c.status < 300 ? o(__.done, i.value, x_(c.responseText)) : o(__.error, i.value, x_(c.responseText));
|
|
22051
22036
|
}, c.onerror = () => {
|
|
22052
|
-
o(
|
|
22037
|
+
o(__.error, i.value, x_(c.responseText));
|
|
22053
22038
|
}, c.send(s), a.cancelRequest = () => c.abort();
|
|
22054
22039
|
}
|
|
22055
22040
|
};
|
|
22056
22041
|
}
|
|
22057
|
-
function
|
|
22042
|
+
function C_(e) {
|
|
22058
22043
|
return e.includes("*") ? {
|
|
22059
22044
|
kind: "wildcard",
|
|
22060
22045
|
mainType: e.split("/")[0]
|
|
@@ -22066,9 +22051,9 @@ function S_(e) {
|
|
|
22066
22051
|
mimeType: e
|
|
22067
22052
|
};
|
|
22068
22053
|
}
|
|
22069
|
-
function
|
|
22054
|
+
function w_(e, t) {
|
|
22070
22055
|
if (!t) return !0;
|
|
22071
|
-
let n = t.split(",").map((e) =>
|
|
22056
|
+
let n = t.split(",").map((e) => C_(e.trim())), r = e.name.split(".").pop()?.toLowerCase() || "";
|
|
22072
22057
|
return n.some((t) => {
|
|
22073
22058
|
switch (t.kind) {
|
|
22074
22059
|
case "wildcard": return e.type.startsWith(t.mainType);
|
|
@@ -22080,10 +22065,10 @@ function C_(e, t) {
|
|
|
22080
22065
|
}
|
|
22081
22066
|
//#endregion
|
|
22082
22067
|
//#region src/components/upload/singleFile.vue?vue&type=script&setup=true&lang.ts
|
|
22083
|
-
var
|
|
22068
|
+
var T_ = { class: "single-file" }, E_ = { class: "icon-wrapper" }, D_ = { class: "single-file__detail" }, O_ = { class: "file-name" }, k_ = {
|
|
22084
22069
|
key: 0,
|
|
22085
22070
|
class: "file-size"
|
|
22086
|
-
},
|
|
22071
|
+
}, A_ = { class: "file-progress" }, j_ = { class: "single-file__actions" }, M_ = /* @__PURE__ */ y({
|
|
22087
22072
|
__name: "singleFile",
|
|
22088
22073
|
props: {
|
|
22089
22074
|
file: {},
|
|
@@ -22093,17 +22078,17 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22093
22078
|
emits: ["remove", "cancel"],
|
|
22094
22079
|
setup(e, { emit: t }) {
|
|
22095
22080
|
let n = e, r = t, i = ft(), a = l(() => `${(n.file.file.size / (1024 * 1024)).toFixed(1)} MB`), o = l(() => typeof n.file.file.size == "number"), s = () => r("remove"), c = () => r("cancel");
|
|
22096
|
-
return (t, n) => (I(), p("div",
|
|
22097
|
-
m("div",
|
|
22098
|
-
m("div",
|
|
22099
|
-
m("span",
|
|
22100
|
-
o.value ? (I(), p("span",
|
|
22101
|
-
m("span",
|
|
22081
|
+
return (t, n) => (I(), p("div", T_, [
|
|
22082
|
+
m("div", E_, [_(X, { name: "document-bulk" })]),
|
|
22083
|
+
m("div", D_, [
|
|
22084
|
+
m("span", O_, H(e.file.file.name), 1),
|
|
22085
|
+
o.value ? (I(), p("span", k_, H(a.value), 1)) : f("", !0),
|
|
22086
|
+
m("span", A_, [m("span", {
|
|
22102
22087
|
class: "progress-item",
|
|
22103
22088
|
style: j({ width: `${e.file.progress}%` })
|
|
22104
22089
|
}, null, 4)])
|
|
22105
22090
|
]),
|
|
22106
|
-
m("div",
|
|
22091
|
+
m("div", j_, [e.file.status === U(__).uploading ? (I(), d(Z, {
|
|
22107
22092
|
key: 0,
|
|
22108
22093
|
disabled: e.disabled,
|
|
22109
22094
|
variant: "ghost",
|
|
@@ -22121,23 +22106,23 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22121
22106
|
}, null, 8, ["disabled", "title"])), m("span", null, "%" + H(parseInt(e.file.progress.toString())), 1)])
|
|
22122
22107
|
]));
|
|
22123
22108
|
}
|
|
22124
|
-
}),
|
|
22109
|
+
}), N_ = [
|
|
22125
22110
|
"accept",
|
|
22126
22111
|
"multiple",
|
|
22127
22112
|
"disabled"
|
|
22128
|
-
],
|
|
22113
|
+
], P_ = { class: "text" }, F_ = { class: "upload-icon" }, I_ = {
|
|
22129
22114
|
key: 0,
|
|
22130
22115
|
class: "upload-title"
|
|
22131
|
-
},
|
|
22116
|
+
}, L_ = {
|
|
22132
22117
|
key: 1,
|
|
22133
22118
|
class: "upload-title"
|
|
22134
|
-
},
|
|
22119
|
+
}, R_ = {
|
|
22135
22120
|
key: 2,
|
|
22136
22121
|
class: "upload-description"
|
|
22137
|
-
},
|
|
22122
|
+
}, z_ = {
|
|
22138
22123
|
key: 3,
|
|
22139
22124
|
class: "upload-description"
|
|
22140
|
-
},
|
|
22125
|
+
}, B_ = /* @__PURE__ */ y({
|
|
22141
22126
|
__name: "index",
|
|
22142
22127
|
props: {
|
|
22143
22128
|
fileList: {},
|
|
@@ -22192,11 +22177,11 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22192
22177
|
},
|
|
22193
22178
|
set(e) {
|
|
22194
22179
|
r("update:fileList", e), r("change", e), n?.action && e.forEach(async (e, t) => {
|
|
22195
|
-
if ([
|
|
22196
|
-
let { upload: i } =
|
|
22180
|
+
if ([__.done, __.error].includes(e.status)) return;
|
|
22181
|
+
let { upload: i } = S_(n?.action || "", n.headers, n.data, n.name);
|
|
22197
22182
|
n?.beforeUpload && (e.file = await n.beforeUpload(e.file)), i(e, (n, i, a) => {
|
|
22198
22183
|
if (y.value[t]) {
|
|
22199
|
-
if (n ===
|
|
22184
|
+
if (n === __.error) {
|
|
22200
22185
|
r("error", {
|
|
22201
22186
|
file: e.file,
|
|
22202
22187
|
message: a
|
|
@@ -22208,11 +22193,11 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22208
22193
|
});
|
|
22209
22194
|
});
|
|
22210
22195
|
}
|
|
22211
|
-
}), b = l(() => y.value.map((e) => e.file.name).join(", ")), x = l(() => n.type === "box" ? n.multiple ? !0 : !y.value.length : !0), S = l(() => n.wait || y.value.some((e) => e.status ===
|
|
22196
|
+
}), b = l(() => y.value.map((e) => e.file.name).join(", ")), x = l(() => n.type === "box" ? n.multiple ? !0 : !y.value.length : !0), S = l(() => n.wait || y.value.some((e) => e.status === __.uploading)), C = l(() => n.ordered && S.value ? !1 : y.value.length ? n.showFileList : !1), w = l(() => n?.disabled || S.value), T = l(() => [
|
|
22212
22197
|
`ma-upload ma-upload--${n.type} ma-upload--${n.type}--${n.size}`,
|
|
22213
22198
|
{ "ma-upload--active": c.value },
|
|
22214
22199
|
{ "ma-upload--disabled": w.value }
|
|
22215
|
-
]), E = l(() => ["ma-file-list", { "only-file-list": !x.value }]), O = l(() => zn[n?.size ?
|
|
22200
|
+
]), E = l(() => ["ma-file-list", { "only-file-list": !x.value }]), O = l(() => zn[n?.size ? g_.indexOf(n.size) : 0]);
|
|
22216
22201
|
function A(e) {
|
|
22217
22202
|
return Array.from(e).find((e) => n?.maxFileSize && e.size > n.maxFileSize);
|
|
22218
22203
|
}
|
|
@@ -22233,7 +22218,7 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22233
22218
|
c.value = !1;
|
|
22234
22219
|
}
|
|
22235
22220
|
function te(e) {
|
|
22236
|
-
w.value || e.dataTransfer?.files && ne(Array.from(e.dataTransfer.files).filter((e) => n?.accept && !
|
|
22221
|
+
w.value || e.dataTransfer?.files && ne(Array.from(e.dataTransfer.files).filter((e) => n?.accept && !w_(e, n.accept) ? (r("error", {
|
|
22237
22222
|
file: e,
|
|
22238
22223
|
message: a.config.locale.allowedFileTypesMessage
|
|
22239
22224
|
}), !1) : !0));
|
|
@@ -22250,7 +22235,7 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22250
22235
|
let i = Array.from(e).filter((e, t) => n?.maxCount ? t + 1 <= n.maxCount : !0).map((e) => ({
|
|
22251
22236
|
file: e,
|
|
22252
22237
|
id: crypto.randomUUID(),
|
|
22253
|
-
status: n?.action ?
|
|
22238
|
+
status: n?.action ? __.uploading : __.done,
|
|
22254
22239
|
progress: n?.action ? 0 : 100,
|
|
22255
22240
|
response: null
|
|
22256
22241
|
}));
|
|
@@ -22296,7 +22281,7 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22296
22281
|
multiple: n.multiple,
|
|
22297
22282
|
disabled: w.value,
|
|
22298
22283
|
onChange: j
|
|
22299
|
-
}, null, 40,
|
|
22284
|
+
}, null, 40, N_)), n.type === "button" ? (I(), d(Z, {
|
|
22300
22285
|
key: 0,
|
|
22301
22286
|
variant: e.fileList.length ? "filled" : "stroke",
|
|
22302
22287
|
"left-icon": "export-2",
|
|
@@ -22316,19 +22301,19 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22316
22301
|
key: 1,
|
|
22317
22302
|
class: "ma-upload__small_box",
|
|
22318
22303
|
onClick: M
|
|
22319
|
-
}, [S.value ? (I(), d(
|
|
22304
|
+
}, [S.value ? (I(), d(Uh, {
|
|
22320
22305
|
key: 0,
|
|
22321
22306
|
type: "three-circles",
|
|
22322
22307
|
color: "blue"
|
|
22323
22308
|
})) : (I(), d(X, {
|
|
22324
22309
|
key: 1,
|
|
22325
22310
|
name: "export-2-bulk"
|
|
22326
|
-
})), m("span",
|
|
22311
|
+
})), m("span", P_, [S.value ? (I(), p(i, { key: 0 }, [g(H(U(a).config.locale.uploading), 1)], 64)) : (I(), p(i, { key: 1 }, [g(H(n?.title || U(a).config.locale.clickToUpload) + " ", 1), B(t.$slots, "small-box-title")], 64))])])) : (I(), p("div", {
|
|
22327
22312
|
key: 2,
|
|
22328
22313
|
class: "ma-upload__box",
|
|
22329
22314
|
onClick: M
|
|
22330
22315
|
}, [n.ordered && S.value ? (I(), p(i, { key: 0 }, [
|
|
22331
|
-
_(
|
|
22316
|
+
_(Uh, {
|
|
22332
22317
|
type: "three-circles",
|
|
22333
22318
|
color: "blue"
|
|
22334
22319
|
}),
|
|
@@ -22342,13 +22327,13 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22342
22327
|
_: 1
|
|
22343
22328
|
})
|
|
22344
22329
|
], 64)) : (I(), p(i, { key: 1 }, [
|
|
22345
|
-
m("div",
|
|
22346
|
-
n?.title ? (I(), p("span",
|
|
22347
|
-
n?.description ? (I(), p("span",
|
|
22330
|
+
m("div", F_, [_(X, { name: "upload-bulk" })]),
|
|
22331
|
+
n?.title ? (I(), p("span", I_, [g(H(n?.title) + " ", 1), B(t.$slots, "box-title")])) : (I(), p("span", L_, [g(H(U(a).config.locale.dragDrop) + " ", 1), B(t.$slots, "box-title")])),
|
|
22332
|
+
n?.description ? (I(), p("span", R_, [g(H(n?.description) + " ", 1), B(t.$slots, "box-description")])) : (I(), p("span", z_, [g(H(U(a).config.locale.or) + " " + H(U(a).config.locale.clickToUpload) + " ", 1), B(t.$slots, "box-description")]))
|
|
22348
22333
|
], 64))]))], 34), [[me, x.value]]), C.value ? (I(), p("div", {
|
|
22349
22334
|
key: 0,
|
|
22350
22335
|
class: k(E.value)
|
|
22351
|
-
}, [(I(!0), p(i, null, z(y.value, (e, t) => (I(), d(
|
|
22336
|
+
}, [(I(!0), p(i, null, z(y.value, (e, t) => (I(), d(M_, {
|
|
22352
22337
|
key: t,
|
|
22353
22338
|
file: e,
|
|
22354
22339
|
disabled: n.disabled,
|
|
@@ -22361,7 +22346,7 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22361
22346
|
"onCancel"
|
|
22362
22347
|
]))), 128))], 2)) : f("", !0)], 16));
|
|
22363
22348
|
}
|
|
22364
|
-
}),
|
|
22349
|
+
}), V_ = /* @__PURE__ */ y({
|
|
22365
22350
|
__name: "button",
|
|
22366
22351
|
props: {
|
|
22367
22352
|
type: { default: "default" },
|
|
@@ -22433,7 +22418,7 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22433
22418
|
"disabled"
|
|
22434
22419
|
]));
|
|
22435
22420
|
}
|
|
22436
|
-
}),
|
|
22421
|
+
}), H_ = /* @__PURE__ */ y({
|
|
22437
22422
|
__name: "index",
|
|
22438
22423
|
props: {
|
|
22439
22424
|
type: { default: "default" },
|
|
@@ -22470,7 +22455,7 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22470
22455
|
placement: "bottom-start"
|
|
22471
22456
|
}, a.value), {
|
|
22472
22457
|
title: q(() => [B(e.$slots, "tooltip")]),
|
|
22473
|
-
default: q(() => [_(
|
|
22458
|
+
default: q(() => [_(V_, {
|
|
22474
22459
|
active: t.active,
|
|
22475
22460
|
size: t.size,
|
|
22476
22461
|
type: t.type,
|
|
@@ -22495,7 +22480,7 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22495
22480
|
"loading"
|
|
22496
22481
|
])]),
|
|
22497
22482
|
_: 3
|
|
22498
|
-
}, 16, ["overlay-class-name"])) : (I(), d(
|
|
22483
|
+
}, 16, ["overlay-class-name"])) : (I(), d(V_, {
|
|
22499
22484
|
key: 1,
|
|
22500
22485
|
active: t.active,
|
|
22501
22486
|
size: t.size,
|
|
@@ -22524,10 +22509,10 @@ var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class:
|
|
|
22524
22509
|
});
|
|
22525
22510
|
//#endregion
|
|
22526
22511
|
//#region src/components/chatbot/utils.ts
|
|
22527
|
-
function
|
|
22512
|
+
function U_() {
|
|
22528
22513
|
return crypto.randomUUID();
|
|
22529
22514
|
}
|
|
22530
|
-
function
|
|
22515
|
+
function W_(e) {
|
|
22531
22516
|
let t = e;
|
|
22532
22517
|
(t.match(/```/g) || []).length % 2 != 0 && (t += "\n```");
|
|
22533
22518
|
let n = t.split("\n"), r = n[n.length - 1];
|
|
@@ -22535,7 +22520,7 @@ function U_(e) {
|
|
|
22535
22520
|
}
|
|
22536
22521
|
//#endregion
|
|
22537
22522
|
//#region src/components/chatbot/composables/useMessages.ts
|
|
22538
|
-
function
|
|
22523
|
+
function G_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onResponseFinish: i }) {
|
|
22539
22524
|
let a = ft(), { isLoading: o, error: s, sendMessage: c, stopStream: u, logSession: d } = n, f = R([]), p = R(""), m = R(null), h = R(!0), g = R(!1), _ = null, v = 0, y = l(() => o.value || g.value), b = l(() => f.value.length > 0);
|
|
22540
22525
|
function x() {
|
|
22541
22526
|
h.value && (_ ||= requestAnimationFrame(() => {
|
|
@@ -22560,7 +22545,7 @@ function W_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22560
22545
|
});
|
|
22561
22546
|
function C(e, t = !1) {
|
|
22562
22547
|
if (!e) return "";
|
|
22563
|
-
let n = t ?
|
|
22548
|
+
let n = t ? W_(e) : e;
|
|
22564
22549
|
return lt.sanitize(ct.parse(n, { async: !1 }));
|
|
22565
22550
|
}
|
|
22566
22551
|
function w(e) {
|
|
@@ -22571,7 +22556,7 @@ function W_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22571
22556
|
}
|
|
22572
22557
|
function E(e, t = "") {
|
|
22573
22558
|
return {
|
|
22574
|
-
id:
|
|
22559
|
+
id: U_(),
|
|
22575
22560
|
role: e,
|
|
22576
22561
|
content: t,
|
|
22577
22562
|
timestamp: /* @__PURE__ */ new Date()
|
|
@@ -22650,11 +22635,11 @@ function W_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22650
22635
|
}
|
|
22651
22636
|
//#endregion
|
|
22652
22637
|
//#region src/components/chatbot/plugin.ts
|
|
22653
|
-
var
|
|
22654
|
-
function
|
|
22655
|
-
let t = R(!1), n = R(null), r = R(null), i = null, a = !1, o = R(`session-${
|
|
22638
|
+
var K_ = Symbol.for("MaChatbot");
|
|
22639
|
+
function q_(e) {
|
|
22640
|
+
let t = R(!1), n = R(null), r = R(null), i = null, a = !1, o = R(`session-${U_()}`);
|
|
22656
22641
|
function s() {
|
|
22657
|
-
o.value = `session-${
|
|
22642
|
+
o.value = `session-${U_()}`;
|
|
22658
22643
|
}
|
|
22659
22644
|
function c() {
|
|
22660
22645
|
n.value = null, r.value = null;
|
|
@@ -22825,22 +22810,22 @@ function K_(e) {
|
|
|
22825
22810
|
resetSession: s
|
|
22826
22811
|
};
|
|
22827
22812
|
}
|
|
22828
|
-
function
|
|
22829
|
-
let t =
|
|
22813
|
+
function J_(e) {
|
|
22814
|
+
let t = q_(e);
|
|
22830
22815
|
return { install(e) {
|
|
22831
|
-
e.provide(
|
|
22816
|
+
e.provide(K_, t);
|
|
22832
22817
|
} };
|
|
22833
22818
|
}
|
|
22834
22819
|
//#endregion
|
|
22835
22820
|
//#region src/components/chatbot/composables/useMaChatbot.ts
|
|
22836
|
-
function
|
|
22837
|
-
let e = C(
|
|
22821
|
+
function Y_() {
|
|
22822
|
+
let e = C(K_);
|
|
22838
22823
|
if (!e) throw Error("[MaChatbot] Plugin is not installed. Call app.use(createMaChatbot({ ... })) first.");
|
|
22839
22824
|
return e;
|
|
22840
22825
|
}
|
|
22841
22826
|
//#endregion
|
|
22842
22827
|
//#region src/components/chatbot/composables/useFeedback.ts
|
|
22843
|
-
function
|
|
22828
|
+
function X_({ submitFeedbackApi: e }) {
|
|
22844
22829
|
let t = R(!1), n = R(null);
|
|
22845
22830
|
function r(r) {
|
|
22846
22831
|
if (!r.recordId) return;
|
|
@@ -22900,13 +22885,13 @@ function Y_({ submitFeedbackApi: e }) {
|
|
|
22900
22885
|
}
|
|
22901
22886
|
//#endregion
|
|
22902
22887
|
//#region src/components/chatbot/components/MaChatbotPromptStarters.vue?vue&type=script&setup=true&lang.ts
|
|
22903
|
-
var
|
|
22888
|
+
var Z_ = {
|
|
22904
22889
|
key: 0,
|
|
22905
22890
|
class: "ma-chatbot-prompt-starters"
|
|
22906
|
-
},
|
|
22891
|
+
}, Q_ = {
|
|
22907
22892
|
key: 1,
|
|
22908
22893
|
class: "ma-chatbot-prompt-starters__list"
|
|
22909
|
-
},
|
|
22894
|
+
}, $_ = /* @__PURE__ */ y({
|
|
22910
22895
|
__name: "MaChatbotPromptStarters",
|
|
22911
22896
|
props: {
|
|
22912
22897
|
prompts: {},
|
|
@@ -22930,7 +22915,7 @@ var X_ = {
|
|
|
22930
22915
|
}
|
|
22931
22916
|
return K(() => n.initiallyOpen, (e) => {
|
|
22932
22917
|
o.value = e;
|
|
22933
|
-
}), (t, n) => e.prompts.length ? (I(), p("div",
|
|
22918
|
+
}), (t, n) => e.prompts.length ? (I(), p("div", Z_, [o.value ? f("", !0) : (I(), d(Z, {
|
|
22934
22919
|
key: 0,
|
|
22935
22920
|
disabled: e.disabled,
|
|
22936
22921
|
class: "ma-chatbot-prompt-starters__btn",
|
|
@@ -22942,7 +22927,7 @@ var X_ = {
|
|
|
22942
22927
|
}, {
|
|
22943
22928
|
default: q(() => [g(H(U(a).config.locale.chatbot?.getPromptStarters), 1)]),
|
|
22944
22929
|
_: 1
|
|
22945
|
-
}, 8, ["disabled"])), o.value ? (I(), p("div",
|
|
22930
|
+
}, 8, ["disabled"])), o.value ? (I(), p("div", Q_, [(I(!0), p(i, null, z(e.prompts, (t) => (I(), d(Z, {
|
|
22946
22931
|
key: t,
|
|
22947
22932
|
disabled: e.disabled,
|
|
22948
22933
|
class: "ma-chatbot-prompt-starters__btn",
|
|
@@ -22963,27 +22948,27 @@ var X_ = {
|
|
|
22963
22948
|
_: 1
|
|
22964
22949
|
}, 8, ["disabled"])])) : f("", !0)])) : f("", !0);
|
|
22965
22950
|
}
|
|
22966
|
-
}),
|
|
22951
|
+
}), ev = { class: "ma-chatbot__message-sender" }, tv = {
|
|
22967
22952
|
key: 0,
|
|
22968
22953
|
class: "ma-chatbot__message-time"
|
|
22969
|
-
},
|
|
22954
|
+
}, nv = {
|
|
22970
22955
|
key: 0,
|
|
22971
22956
|
class: "ma-chatbot__bubble ma-chatbot__bubble--user"
|
|
22972
|
-
},
|
|
22957
|
+
}, rv = {
|
|
22973
22958
|
key: 1,
|
|
22974
22959
|
class: "ma-chatbot__typing-wrapper",
|
|
22975
22960
|
"aria-label": "Assistant is typing"
|
|
22976
|
-
},
|
|
22961
|
+
}, iv = { class: "ma-chatbot__typing" }, av = { class: "ma-chatbot__typing-dots" }, ov = { class: "ma-chatbot__typing-info" }, sv = {
|
|
22977
22962
|
key: 2,
|
|
22978
22963
|
class: "ma-chatbot__reasoning",
|
|
22979
22964
|
"aria-label": "Assistant is thinking"
|
|
22980
|
-
},
|
|
22965
|
+
}, cv = { class: "ma-chatbot__reasoning-header" }, lv = { class: "ma-chatbot__reasoning-content" }, uv = {
|
|
22981
22966
|
key: 3,
|
|
22982
22967
|
class: "ma-chatbot__assistant-wrapper"
|
|
22983
|
-
},
|
|
22968
|
+
}, dv = { class: "ma-chatbot__error-text" }, fv = ["innerHTML"], pv = {
|
|
22984
22969
|
key: 2,
|
|
22985
22970
|
class: "ma-chatbot__feedback"
|
|
22986
|
-
},
|
|
22971
|
+
}, mv = { class: "ma-chatbot__feedback-text" }, hv = /* @__PURE__ */ y({
|
|
22987
22972
|
__name: "MaChatbotMessageBubble",
|
|
22988
22973
|
props: {
|
|
22989
22974
|
message: {},
|
|
@@ -23009,14 +22994,14 @@ var X_ = {
|
|
|
23009
22994
|
"ma-chatbot__error-bubble--error": e === "error"
|
|
23010
22995
|
};
|
|
23011
22996
|
});
|
|
23012
|
-
return (t, n) => (I(), p("div", { class: k(["ma-chatbot__message-row", `ma-chatbot__message-row--${e.message.role}`]) }, [m("div", { class: k(["ma-chatbot__message-header", `ma-chatbot__message-header--${e.message.role}`]) }, [m("span",
|
|
22997
|
+
return (t, n) => (I(), p("div", { class: k(["ma-chatbot__message-row", `ma-chatbot__message-row--${e.message.role}`]) }, [m("div", { class: k(["ma-chatbot__message-header", `ma-chatbot__message-header--${e.message.role}`]) }, [m("span", ev, H(s.value), 1), c.value ? (I(), p("span", tv, H(c.value), 1)) : f("", !0)], 2), e.message.role === "user" ? (I(), p("div", nv, H(e.message.content), 1)) : d.value ? (I(), p("output", rv, [m("div", iv, [m("div", av, [(I(), p(i, null, z(3, (e) => m("span", {
|
|
23013
22998
|
key: e,
|
|
23014
22999
|
class: "ma-chatbot__typing-dot"
|
|
23015
|
-
})), 64))])]), m("p",
|
|
23000
|
+
})), 64))])]), m("p", ov, H(U(a).config.locale.chatbot?.typingInfoText), 1)])) : h.value ? (I(), p("output", sv, [m("div", cv, [_(X, {
|
|
23016
23001
|
name: "ai-sparkle",
|
|
23017
23002
|
size: "xs",
|
|
23018
23003
|
class: "ma-chatbot__reasoning-icon"
|
|
23019
|
-
}), m("span", null, H(U(a).config.locale.chatbot?.reasoningLabel), 1)]), m("div",
|
|
23004
|
+
}), m("span", null, H(U(a).config.locale.chatbot?.reasoningLabel), 1)]), m("div", lv, H(e.message.reasoning), 1)])) : u.value || g.value ? (I(), p("div", uv, [u.value ? (I(), p("div", {
|
|
23020
23005
|
key: 0,
|
|
23021
23006
|
class: k(["ma-chatbot__error-bubble", b.value]),
|
|
23022
23007
|
role: "alert"
|
|
@@ -23024,12 +23009,12 @@ var X_ = {
|
|
|
23024
23009
|
name: e.message.status === "timeout" ? "timer" : "info-circle-bold",
|
|
23025
23010
|
class: k(`ma-chatbot__error-icon--${y.value}`),
|
|
23026
23011
|
size: "sm"
|
|
23027
|
-
}, null, 8, ["name", "class"]), m("span",
|
|
23012
|
+
}, null, 8, ["name", "class"]), m("span", dv, H(e.errorMessage), 1)], 2)) : g.value ? (I(), p("div", {
|
|
23028
23013
|
key: 1,
|
|
23029
23014
|
class: k(["ma-chatbot__content--assistant ma-chatbot__markdown", { "is-streaming": e.isStreaming }]),
|
|
23030
23015
|
innerHTML: e.renderedHtml
|
|
23031
|
-
}, null, 10,
|
|
23032
|
-
m("span",
|
|
23016
|
+
}, null, 10, fv)) : f("", !0), v.value ? (I(), p("div", pv, [
|
|
23017
|
+
m("span", mv, H(U(a).config.locale.chatbot?.generatedByText), 1),
|
|
23033
23018
|
_(Z, {
|
|
23034
23019
|
icon: "like",
|
|
23035
23020
|
variant: e.message.feedback === !0 ? "filled" : "stroke",
|
|
@@ -23042,10 +23027,10 @@ var X_ = {
|
|
|
23042
23027
|
}, null, 8, ["variant"])
|
|
23043
23028
|
])) : f("", !0)])) : f("", !0)], 2));
|
|
23044
23029
|
}
|
|
23045
|
-
}),
|
|
23030
|
+
}), gv = { class: "ma-chatbot__input-wrapper" }, _v = { class: "ma-chatbot__input-container" }, vv = { class: "ma-chatbot__input-actions" }, yv = {
|
|
23046
23031
|
key: 0,
|
|
23047
23032
|
class: "ma-chatbot__char-limit-hint"
|
|
23048
|
-
},
|
|
23033
|
+
}, bv = /* @__PURE__ */ y({
|
|
23049
23034
|
__name: "MaChatbotInputArea",
|
|
23050
23035
|
props: /* @__PURE__ */ E({
|
|
23051
23036
|
placeholder: { default: void 0 },
|
|
@@ -23074,7 +23059,7 @@ var X_ = {
|
|
|
23074
23059
|
function h() {
|
|
23075
23060
|
r("stop");
|
|
23076
23061
|
}
|
|
23077
|
-
return (t, n) => (I(), p("div",
|
|
23062
|
+
return (t, n) => (I(), p("div", gv, [m("div", _v, [_(Qc, {
|
|
23078
23063
|
value: i.value,
|
|
23079
23064
|
type: "textarea",
|
|
23080
23065
|
"input-class": o.value ? "ma-chatbot__input-error" : "",
|
|
@@ -23097,7 +23082,7 @@ var X_ = {
|
|
|
23097
23082
|
"maxlength",
|
|
23098
23083
|
"has-error",
|
|
23099
23084
|
"onKeydown"
|
|
23100
|
-
]), m("div",
|
|
23085
|
+
]), m("div", vv, [e.isBusy ? (I(), d(Z, {
|
|
23101
23086
|
key: 0,
|
|
23102
23087
|
icon: "stop",
|
|
23103
23088
|
class: "ma-chatbot__btn ma-chatbot__btn--stop",
|
|
@@ -23109,12 +23094,12 @@ var X_ = {
|
|
|
23109
23094
|
icon: "arrow-up",
|
|
23110
23095
|
color: "blue",
|
|
23111
23096
|
onClick: u
|
|
23112
|
-
}, null, 8, ["disabled"]))])]), o.value ? (I(), p("div",
|
|
23097
|
+
}, null, 8, ["disabled"]))])]), o.value ? (I(), p("div", yv, [_(X, {
|
|
23113
23098
|
name: "info-circle-2-bold",
|
|
23114
23099
|
size: "sm"
|
|
23115
23100
|
}), g(" " + H(U(hc)(U(a).config.locale.chatbot?.charLimitMessage, { 0: e.maxLength })), 1)])) : f("", !0)]));
|
|
23116
23101
|
}
|
|
23117
|
-
}),
|
|
23102
|
+
}), xv = { class: "ma-chatbot__feedback-panel" }, Sv = { class: "ma-chatbot__feedback-panel-title" }, Cv = { class: "ma-chatbot__feedback-topics" }, wv = ["onClick"], Tv = { class: "ma-chatbot__feedback-actions" }, Ev = /* @__PURE__ */ y({
|
|
23118
23103
|
__name: "MaChatbotFeedbackPanel",
|
|
23119
23104
|
props: { topics: { default: void 0 } },
|
|
23120
23105
|
emits: ["submit", "cancel"],
|
|
@@ -23132,9 +23117,9 @@ var X_ = {
|
|
|
23132
23117
|
function v() {
|
|
23133
23118
|
r("cancel");
|
|
23134
23119
|
}
|
|
23135
|
-
return (e, t) => (I(), p("div",
|
|
23136
|
-
m("div",
|
|
23137
|
-
m("div",
|
|
23120
|
+
return (e, t) => (I(), p("div", xv, [
|
|
23121
|
+
m("div", Sv, H(U(a).config.locale.chatbot?.shareFeedback), 1),
|
|
23122
|
+
m("div", Cv, [(I(!0), p(i, null, z(o.value, (e) => (I(), p("button", {
|
|
23138
23123
|
key: e,
|
|
23139
23124
|
class: k(["ma-chatbot__feedback-topic", { "ma-chatbot__feedback-topic--selected": s.value === e }]),
|
|
23140
23125
|
onClick: (t) => u(e)
|
|
@@ -23143,7 +23128,7 @@ var X_ = {
|
|
|
23143
23128
|
class: "ma-chatbot__feedback-topic-close",
|
|
23144
23129
|
name: "close-circle-bold",
|
|
23145
23130
|
size: "xs"
|
|
23146
|
-
})) : f("", !0)], 10,
|
|
23131
|
+
})) : f("", !0)], 10, wv))), 128))]),
|
|
23147
23132
|
_(Qc, {
|
|
23148
23133
|
value: c.value,
|
|
23149
23134
|
"onUpdate:value": t[0] ||= (e) => c.value = e,
|
|
@@ -23152,7 +23137,7 @@ var X_ = {
|
|
|
23152
23137
|
placeholder: U(a).config.locale.chatbot?.shareDetails,
|
|
23153
23138
|
size: "large"
|
|
23154
23139
|
}, null, 8, ["value", "placeholder"]),
|
|
23155
|
-
m("div",
|
|
23140
|
+
m("div", Tv, [_(Z, {
|
|
23156
23141
|
variant: "stroke",
|
|
23157
23142
|
onClick: v
|
|
23158
23143
|
}, {
|
|
@@ -23164,10 +23149,10 @@ var X_ = {
|
|
|
23164
23149
|
})])
|
|
23165
23150
|
]));
|
|
23166
23151
|
}
|
|
23167
|
-
}),
|
|
23152
|
+
}), Dv = { class: "ma-chatbot" }, Ov = {
|
|
23168
23153
|
key: 0,
|
|
23169
23154
|
class: "ma-chatbot__header-slot"
|
|
23170
|
-
},
|
|
23155
|
+
}, kv = { class: "ma-chatbot__input-area" }, Av = /* @__PURE__ */ y({
|
|
23171
23156
|
__name: "index",
|
|
23172
23157
|
props: {
|
|
23173
23158
|
placeholder: {},
|
|
@@ -23190,15 +23175,15 @@ var X_ = {
|
|
|
23190
23175
|
"responseFinished"
|
|
23191
23176
|
],
|
|
23192
23177
|
setup(e, { expose: t, emit: n }) {
|
|
23193
|
-
let r = e, a = n, o =
|
|
23178
|
+
let r = e, a = n, o = Y_(), s = ft();
|
|
23194
23179
|
F(() => o.stopStream());
|
|
23195
|
-
let { messages: c, userInput: u, messagesContainerRef: h, isBusy: g, hasMessages: v, error: y, renderMarkdown: b, isStreamingMessage: x, isErrorMessage: S, sendMessage: C, stopStream: w, resetChat: T, handlePromptSelect: E } =
|
|
23180
|
+
let { messages: c, userInput: u, messagesContainerRef: h, isBusy: g, hasMessages: v, error: y, renderMarkdown: b, isStreamingMessage: x, isErrorMessage: S, sendMessage: C, stopStream: w, resetChat: T, handlePromptSelect: E } = G_({
|
|
23196
23181
|
maOrgId: () => r.maOrgId,
|
|
23197
23182
|
mockStreamFn: () => r.mockStreamFn,
|
|
23198
23183
|
api: o,
|
|
23199
23184
|
onResponseStart: () => a("responseStarted"),
|
|
23200
23185
|
onResponseFinish: () => a("responseFinished")
|
|
23201
|
-
}), { showFeedbackPanel: D, handleThumbsUp: O, handleThumbsDown: k, submitNegativeFeedback: A, cancelFeedback: j } =
|
|
23186
|
+
}), { showFeedbackPanel: D, handleThumbsUp: O, handleThumbsDown: k, submitNegativeFeedback: A, cancelFeedback: j } = X_({ submitFeedbackApi: o.submitFeedback }), M = l(() => r.disabled || g.value), N = l(() => ({
|
|
23202
23187
|
guardrail: r.guardRailViolationMessage ?? s.config.locale.chatbot?.guardRailViolationMessage,
|
|
23203
23188
|
timeout: r.timeoutErrorMessage ?? s.config.locale.chatbot?.timeoutErrorMessage,
|
|
23204
23189
|
error: r.genericErrorMessage ?? s.config.locale.chatbot?.genericErrorMessage
|
|
@@ -23239,11 +23224,11 @@ var X_ = {
|
|
|
23239
23224
|
isBusy: g,
|
|
23240
23225
|
error: y,
|
|
23241
23226
|
showFeedbackPanel: D
|
|
23242
|
-
}), (t, n) => (I(), p("div",
|
|
23227
|
+
}), (t, n) => (I(), p("div", Dv, [m("div", {
|
|
23243
23228
|
ref_key: "messagesContainerRef",
|
|
23244
23229
|
ref: h,
|
|
23245
23230
|
class: "ma-chatbot__messages"
|
|
23246
|
-
}, [U(v) ? f("", !0) : (I(), p("div",
|
|
23231
|
+
}, [U(v) ? f("", !0) : (I(), p("div", Ov, [B(t.$slots, "header")])), (I(!0), p(i, null, z(U(c), (e) => (I(), d(hv, {
|
|
23247
23232
|
key: e.id,
|
|
23248
23233
|
message: e,
|
|
23249
23234
|
"is-streaming": U(x)(e),
|
|
@@ -23257,12 +23242,12 @@ var X_ = {
|
|
|
23257
23242
|
"error-message",
|
|
23258
23243
|
"rendered-html",
|
|
23259
23244
|
"onThumbsDown"
|
|
23260
|
-
]))), 128))], 512), m("div",
|
|
23245
|
+
]))), 128))], 512), m("div", kv, [U(D) ? (I(), d(Ev, {
|
|
23261
23246
|
key: 0,
|
|
23262
23247
|
onSubmit: ne,
|
|
23263
23248
|
onCancel: U(j)
|
|
23264
23249
|
}, null, 8, ["onCancel"])) : (I(), p(i, { key: 1 }, [
|
|
23265
|
-
e.suggestedPrompts.length ? (I(), d(
|
|
23250
|
+
e.suggestedPrompts.length ? (I(), d($_, {
|
|
23266
23251
|
key: 0,
|
|
23267
23252
|
prompts: e.suggestedPrompts,
|
|
23268
23253
|
disabled: e.disabled || U(g),
|
|
@@ -23275,7 +23260,7 @@ var X_ = {
|
|
|
23275
23260
|
"onSelect"
|
|
23276
23261
|
])) : f("", !0),
|
|
23277
23262
|
B(t.$slots, "input-prepend"),
|
|
23278
|
-
_(
|
|
23263
|
+
_(bv, {
|
|
23279
23264
|
"model-value": U(u),
|
|
23280
23265
|
placeholder: r.placeholder ?? U(s).config.locale.chatbot?.placeholder,
|
|
23281
23266
|
disabled: M.value,
|
|
@@ -23291,8 +23276,8 @@ var X_ = {
|
|
|
23291
23276
|
])
|
|
23292
23277
|
], 64))])]));
|
|
23293
23278
|
}
|
|
23294
|
-
}), Av = /* @__PURE__ */ JSON.parse("[{\"name\":\"United States\",\"alpha2\":\"US\",\"alpha3\":\"USA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-us\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"United Kingdom\",\"alpha2\":\"GB\",\"alpha3\":\"GBR\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gb\",\"countryCallingCodes\":[\"+44\"],\"currencies\":[\"GBP\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Australia\",\"alpha2\":\"AU\",\"alpha3\":\"AUS\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-au\",\"countryCallingCodes\":[\"+61\"],\"currencies\":[\"AUD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Brazil\",\"alpha2\":\"BR\",\"alpha3\":\"BRA\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-br\",\"countryCallingCodes\":[\"+55\"],\"currencies\":[\"BRL\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Canada\",\"alpha2\":\"CA\",\"alpha3\":\"CAN\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ca\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"CAD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Germany\",\"alpha2\":\"DE\",\"alpha3\":\"DEU\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-de\",\"countryCallingCodes\":[\"+49\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Albania\",\"alpha2\":\"AL\",\"alpha3\":\"ALB\",\"officialLanguageCode\":\"sq\",\"flag\":\"flag-al\",\"countryCallingCodes\":[\"+355\"],\"currencies\":[\"ALL\"],\"languages\":[{\"code\":\"sq\",\"name\":\"Albanian\",\"flag\":\"flag-al\"}]},{\"name\":\"Algeria\",\"alpha2\":\"DZ\",\"alpha3\":\"DZA\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-dz\",\"countryCallingCodes\":[\"+213\"],\"currencies\":[\"DZD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Argentina\",\"alpha2\":\"AR\",\"alpha3\":\"ARG\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ar\",\"countryCallingCodes\":[\"+54\"],\"currencies\":[\"ARS\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Austria\",\"alpha2\":\"AT\",\"alpha3\":\"AUT\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-at\",\"countryCallingCodes\":[\"+43\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Azerbaijan\",\"alpha2\":\"AZ\",\"alpha3\":\"AZE\",\"officialLanguageCode\":\"az\",\"flag\":\"flag-az\",\"countryCallingCodes\":[\"+994\"],\"currencies\":[\"AZN\"],\"languages\":[{\"code\":\"az\",\"name\":\"Azerbaijani\",\"flag\":\"flag-az\"}]},{\"name\":\"Bahrain\",\"alpha2\":\"BH\",\"alpha3\":\"BHR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-bh\",\"countryCallingCodes\":[\"+973\"],\"currencies\":[\"BHD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Bangladesh\",\"alpha2\":\"BD\",\"alpha3\":\"BGD\",\"officialLanguageCode\":\"bn\",\"flag\":\"flag-bd\",\"countryCallingCodes\":[\"+880\"],\"currencies\":[\"BDT\"],\"languages\":[{\"code\":\"bn\",\"name\":\"Bengali\",\"flag\":\"flag-bd\"}]},{\"name\":\"Belgium\",\"alpha2\":\"BE\",\"alpha3\":\"BEL\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-be\",\"countryCallingCodes\":[\"+32\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Bolivia\",\"alpha2\":\"BO\",\"alpha3\":\"BOL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-bo\",\"countryCallingCodes\":[\"+591\"],\"currencies\":[\"BOB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"ay\",\"name\":\"Aymara\",\"flag\":\"flag-bo\"},{\"code\":\"qu\",\"name\":\"Quechua\",\"flag\":\"flag-bo\"}]},{\"name\":\"Bulgaria\",\"alpha2\":\"BG\",\"alpha3\":\"BGR\",\"officialLanguageCode\":\"bg\",\"flag\":\"flag-bg\",\"countryCallingCodes\":[\"+359\"],\"currencies\":[\"BGN\"],\"languages\":[{\"code\":\"bg\",\"name\":\"Bulgarian\",\"flag\":\"flag-bg\"}]},{\"name\":\"Cambodia\",\"alpha2\":\"KH\",\"alpha3\":\"KHM\",\"officialLanguageCode\":\"km\",\"flag\":\"flag-kh\",\"countryCallingCodes\":[\"+855\"],\"currencies\":[\"KHR\"],\"languages\":[{\"code\":\"km\",\"name\":\"Khmer\",\"flag\":\"flag-kh\"}]},{\"name\":\"Chile\",\"alpha2\":\"CL\",\"alpha3\":\"CHL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cl\",\"countryCallingCodes\":[\"+56\"],\"currencies\":[\"CLP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"China\",\"alpha2\":\"CN\",\"alpha3\":\"CHN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-cn\",\"countryCallingCodes\":[\"+86\"],\"currencies\":[\"CNY\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Colombia\",\"alpha2\":\"CO\",\"alpha3\":\"COL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-co\",\"countryCallingCodes\":[\"+57\"],\"currencies\":[\"COP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Costa Rica\",\"alpha2\":\"CR\",\"alpha3\":\"CRI\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cr\",\"countryCallingCodes\":[\"+506\"],\"currencies\":[\"CRC\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Croatia\",\"alpha2\":\"HR\",\"alpha3\":\"HRV\",\"officialLanguageCode\":\"hr\",\"flag\":\"flag-hr\",\"countryCallingCodes\":[\"+385\"],\"currencies\":[\"HRK\"],\"languages\":[{\"code\":\"hr\",\"name\":\"Croatian\",\"flag\":\"flag-hr\"}]},{\"name\":\"Czech Republic\",\"alpha2\":\"CZ\",\"alpha3\":\"CZE\",\"officialLanguageCode\":\"cs\",\"flag\":\"flag-cz\",\"countryCallingCodes\":[\"+420\"],\"currencies\":[\"CZK\"],\"languages\":[{\"code\":\"cs\",\"name\":\"Czech\",\"flag\":\"flag-cz\"}]},{\"name\":\"Denmark\",\"alpha2\":\"DK\",\"alpha3\":\"DNK\",\"officialLanguageCode\":\"da\",\"flag\":\"flag-dk\",\"countryCallingCodes\":[\"+45\"],\"currencies\":[\"DKK\"],\"languages\":[{\"code\":\"da\",\"name\":\"Danish\",\"flag\":\"flag-dk\"}]},{\"name\":\"Dominican Republic\",\"alpha2\":\"DO\",\"alpha3\":\"DOM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-do\",\"countryCallingCodes\":[\"+1-809\"],\"currencies\":[\"DOP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Ecuador\",\"alpha2\":\"EC\",\"alpha3\":\"ECU\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ec\",\"countryCallingCodes\":[\"+593\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Egypt\",\"alpha2\":\"EG\",\"alpha3\":\"EGY\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-eg\",\"countryCallingCodes\":[\"+20\"],\"currencies\":[\"EGP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"El Salvador\",\"alpha2\":\"SV\",\"alpha3\":\"SLV\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-sv\",\"countryCallingCodes\":[\"+503\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Estonia\",\"alpha2\":\"EE\",\"alpha3\":\"EST\",\"officialLanguageCode\":\"et\",\"flag\":\"flag-ee\",\"countryCallingCodes\":[\"+372\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"et\",\"name\":\"Estonian\",\"flag\":\"flag-ee\"}]},{\"name\":\"Finland\",\"alpha2\":\"FI\",\"alpha3\":\"FIN\",\"officialLanguageCode\":\"fi\",\"flag\":\"flag-fi\",\"countryCallingCodes\":[\"+358\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fi\",\"name\":\"Finnish\",\"flag\":\"flag-fi\"},{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"France\",\"alpha2\":\"FR\",\"alpha3\":\"FRA\",\"officialLanguageCode\":\"fr\",\"flag\":\"flag-fr\",\"countryCallingCodes\":[\"+33\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Greece\",\"alpha2\":\"GR\",\"alpha3\":\"GRC\",\"officialLanguageCode\":\"el\",\"flag\":\"flag-gr\",\"countryCallingCodes\":[\"+30\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"}]},{\"name\":\"Guatemala\",\"alpha2\":\"GT\",\"alpha3\":\"GTM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-gt\",\"countryCallingCodes\":[\"+502\"],\"currencies\":[\"GTQ\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hong Kong\",\"alpha2\":\"HK\",\"alpha3\":\"HKG\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-hk\",\"countryCallingCodes\":[\"+852\"],\"currencies\":[\"HKD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Honduras\",\"alpha2\":\"HN\",\"alpha3\":\"HND\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-hn\",\"countryCallingCodes\":[\"+504\"],\"currencies\":[\"HNL\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hungary\",\"alpha2\":\"HU\",\"alpha3\":\"HUN\",\"officialLanguageCode\":\"hu\",\"flag\":\"flag-hu\",\"countryCallingCodes\":[\"+36\"],\"currencies\":[\"HUF\"],\"languages\":[{\"code\":\"hu\",\"name\":\"Hungarian\",\"flag\":\"flag-hu\"}]},{\"name\":\"Iceland\",\"alpha2\":\"IS\",\"alpha3\":\"ISL\",\"officialLanguageCode\":\"is\",\"flag\":\"flag-is\",\"countryCallingCodes\":[\"+354\"],\"currencies\":[\"ISK\"],\"languages\":[{\"code\":\"is\",\"name\":\"Icelandic\",\"flag\":\"flag-is\"}]},{\"name\":\"India\",\"alpha2\":\"IN\",\"alpha3\":\"IND\",\"officialLanguageCode\":\"hi\",\"flag\":\"flag-in\",\"countryCallingCodes\":[\"+91\"],\"currencies\":[\"INR\"],\"languages\":[{\"code\":\"hi\",\"name\":\"Hindi\",\"flag\":\"flag-in\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Indonesia\",\"alpha2\":\"ID\",\"alpha3\":\"IDN\",\"officialLanguageCode\":\"id\",\"flag\":\"flag-id\",\"countryCallingCodes\":[\"+62\"],\"currencies\":[\"IDR\"],\"languages\":[{\"code\":\"id\",\"name\":\"Indonesian\",\"flag\":\"flag-id\"}]},{\"name\":\"Iran\",\"alpha2\":\"IR\",\"alpha3\":\"IRN\",\"officialLanguageCode\":\"fa\",\"flag\":\"flag-ir\",\"countryCallingCodes\":[\"+98\"],\"currencies\":[\"IRR\"],\"languages\":[{\"code\":\"fa\",\"name\":\"Persian\",\"flag\":\"flag-ir\"}]},{\"name\":\"Iraq\",\"alpha2\":\"IQ\",\"alpha3\":\"IRQ\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-iq\",\"countryCallingCodes\":[\"+964\"],\"currencies\":[\"IQD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ku\",\"name\":\"Kurdish\",\"flag\":\"flag-iq\"}]},{\"name\":\"Ireland\",\"alpha2\":\"IE\",\"alpha3\":\"IRL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ie\",\"countryCallingCodes\":[\"+353\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"ga\",\"name\":\"Irish\",\"flag\":\"flag-ie\"}]},{\"name\":\"Israel\",\"alpha2\":\"IL\",\"alpha3\":\"ISR\",\"officialLanguageCode\":\"he\",\"flag\":\"flag-il\",\"countryCallingCodes\":[\"+972\"],\"currencies\":[\"ILS\"],\"languages\":[{\"code\":\"he\",\"name\":\"Hebrew\",\"flag\":\"flag-il\"},{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Italy\",\"alpha2\":\"IT\",\"alpha3\":\"ITA\",\"officialLanguageCode\":\"it\",\"flag\":\"flag-it\",\"countryCallingCodes\":[\"+39\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Jamaica\",\"alpha2\":\"JM\",\"alpha3\":\"JAM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-jm\",\"countryCallingCodes\":[\"+1-876\"],\"currencies\":[\"JMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Japan\",\"alpha2\":\"JP\",\"alpha3\":\"JPN\",\"officialLanguageCode\":\"ja\",\"flag\":\"flag-jp\",\"countryCallingCodes\":[\"+81\"],\"currencies\":[\"JPY\"],\"languages\":[{\"code\":\"ja\",\"name\":\"Japanese\",\"flag\":\"flag-jp\"}]},{\"name\":\"Jordan\",\"alpha2\":\"JO\",\"alpha3\":\"JOR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-jo\",\"countryCallingCodes\":[\"+962\"],\"currencies\":[\"JOD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Kazakhstan\",\"alpha2\":\"KZ\",\"alpha3\":\"KAZ\",\"officialLanguageCode\":\"kk\",\"flag\":\"flag-kz\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"KZT\"],\"languages\":[{\"code\":\"kk\",\"name\":\"Kazakh\",\"flag\":\"flag-kz\"},{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Kenya\",\"alpha2\":\"KE\",\"alpha3\":\"KEN\",\"officialLanguageCode\":\"sw\",\"flag\":\"flag-ke\",\"countryCallingCodes\":[\"+254\"],\"currencies\":[\"KES\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"sw\",\"name\":\"Swahili\",\"flag\":\"flag-ke\"}]},{\"name\":\"Kuwait\",\"alpha2\":\"KW\",\"alpha3\":\"KWT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-kw\",\"countryCallingCodes\":[\"+965\"],\"currencies\":[\"KWD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Lebanon\",\"alpha2\":\"LB\",\"alpha3\":\"LBN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-lb\",\"countryCallingCodes\":[\"+961\"],\"currencies\":[\"LBP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Liechtenstein\",\"alpha2\":\"LI\",\"alpha3\":\"LIE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-li\",\"countryCallingCodes\":[\"+423\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Lithuania\",\"alpha2\":\"LT\",\"alpha3\":\"LTU\",\"officialLanguageCode\":\"lt\",\"flag\":\"flag-lt\",\"countryCallingCodes\":[\"+370\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lt\",\"name\":\"Lithuanian\",\"flag\":\"flag-lt\"}]},{\"name\":\"Luxembourg\",\"alpha2\":\"LU\",\"alpha3\":\"LUX\",\"officialLanguageCode\":\"lb\",\"flag\":\"flag-lu\",\"countryCallingCodes\":[\"+352\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lb\",\"name\":\"Luxembourgish\",\"flag\":\"flag-lu\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Macau\",\"alpha2\":\"MO\",\"alpha3\":\"MAC\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-mo\",\"countryCallingCodes\":[\"+853\"],\"currencies\":[\"MOP\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Malaysia\",\"alpha2\":\"MY\",\"alpha3\":\"MYS\",\"officialLanguageCode\":\"ms\",\"flag\":\"flag-my\",\"countryCallingCodes\":[\"+60\"],\"currencies\":[\"MYR\"],\"languages\":[{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"}]},{\"name\":\"Malta\",\"alpha2\":\"MT\",\"alpha3\":\"MLT\",\"officialLanguageCode\":\"mt\",\"flag\":\"flag-mt\",\"countryCallingCodes\":[\"+356\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"mt\",\"name\":\"Maltese\",\"flag\":\"flag-mt\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Mexico\",\"alpha2\":\"MX\",\"alpha3\":\"MEX\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-mx\",\"countryCallingCodes\":[\"+52\"],\"currencies\":[\"MXN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Moldova\",\"alpha2\":\"MD\",\"alpha3\":\"MDA\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-md\",\"countryCallingCodes\":[\"+373\"],\"currencies\":[\"MDL\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Morocco\",\"alpha2\":\"MA\",\"alpha3\":\"MAR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ma\",\"countryCallingCodes\":[\"+212\"],\"currencies\":[\"MAD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Netherlands\",\"alpha2\":\"NL\",\"alpha3\":\"NLD\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-nl\",\"countryCallingCodes\":[\"+31\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"}]},{\"name\":\"New Zealand\",\"alpha2\":\"NZ\",\"alpha3\":\"NZL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-nz\",\"countryCallingCodes\":[\"+64\"],\"currencies\":[\"NZD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"mi\",\"name\":\"Maori\",\"flag\":\"flag-nz\"}]},{\"name\":\"Nicaragua\",\"alpha2\":\"NI\",\"alpha3\":\"NIC\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ni\",\"countryCallingCodes\":[\"+505\"],\"currencies\":[\"NIO\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Nigeria\",\"alpha2\":\"NG\",\"alpha3\":\"NGA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ng\",\"countryCallingCodes\":[\"+234\"],\"currencies\":[\"NGN\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"South Korea\",\"alpha2\":\"KR\",\"alpha3\":\"KOR\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kr\",\"countryCallingCodes\":[\"+82\"],\"currencies\":[\"KRW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"North Korea\",\"alpha2\":\"KP\",\"alpha3\":\"PRK\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kp\",\"countryCallingCodes\":[\"+850\"],\"currencies\":[\"KPW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"South Africa\",\"alpha2\":\"ZA\",\"alpha3\":\"ZAF\",\"officialLanguageCode\":\"af\",\"flag\":\"flag-za\",\"countryCallingCodes\":[\"+27\"],\"currencies\":[\"ZAR\"],\"languages\":[{\"code\":\"af\",\"name\":\"Afrikaans\",\"flag\":\"flag-za\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"nr\",\"name\":\"Southern Ndebele\",\"flag\":\"flag-za\"},{\"code\":\"st\",\"name\":\"Southern Sotho\",\"flag\":\"flag-za\"},{\"code\":\"ss\",\"name\":\"Swazi\",\"flag\":\"flag-za\"},{\"code\":\"tn\",\"name\":\"Tswana\",\"flag\":\"flag-za\"},{\"code\":\"ts\",\"name\":\"Tsonga\",\"flag\":\"flag-za\"},{\"code\":\"ve\",\"name\":\"Venda\",\"flag\":\"flag-za\"},{\"code\":\"xh\",\"name\":\"Xhosa\",\"flag\":\"flag-za\"},{\"code\":\"zu\",\"name\":\"Zulu\",\"flag\":\"flag-za\"}]},{\"name\":\"Norway\",\"alpha2\":\"NO\",\"alpha3\":\"NOR\",\"officialLanguageCode\":\"no\",\"flag\":\"flag-no\",\"countryCallingCodes\":[\"+47\"],\"currencies\":[\"NOK\"],\"languages\":[{\"code\":\"no\",\"name\":\"Norwegian\",\"flag\":\"flag-no\"},{\"code\":\"nb\",\"name\":\"Norwegian Bokmål\",\"flag\":\"flag-no\"},{\"code\":\"nn\",\"name\":\"Norwegian Nynorsk\",\"flag\":\"flag-no\"}]},{\"name\":\"Oman\",\"alpha2\":\"OM\",\"alpha3\":\"OMN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-om\",\"countryCallingCodes\":[\"+968\"],\"currencies\":[\"OMR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Pakistan\",\"alpha2\":\"PK\",\"alpha3\":\"PAK\",\"officialLanguageCode\":\"ur\",\"flag\":\"flag-pk\",\"countryCallingCodes\":[\"+92\"],\"currencies\":[\"PKR\"],\"languages\":[{\"code\":\"ur\",\"name\":\"Urdu\",\"flag\":\"flag-pk\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Panama\",\"alpha2\":\"PA\",\"alpha3\":\"PAN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pa\",\"countryCallingCodes\":[\"+507\"],\"currencies\":[\"PAB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Paraguay\",\"alpha2\":\"PY\",\"alpha3\":\"PRY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-py\",\"countryCallingCodes\":[\"+595\"],\"currencies\":[\"PYG\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"gn\",\"name\":\"Guarani\",\"flag\":\"flag-py\"}]},{\"name\":\"Peru\",\"alpha2\":\"PE\",\"alpha3\":\"PER\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pe\",\"countryCallingCodes\":[\"+51\"],\"currencies\":[\"PEN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Philippines\",\"alpha2\":\"PH\",\"alpha3\":\"PHL\",\"officialLanguageCode\":\"fil\",\"flag\":\"flag-ph\",\"countryCallingCodes\":[\"+63\"],\"currencies\":[\"PHP\"],\"languages\":[{\"code\":\"fil\",\"name\":\"Filipino\",\"flag\":\"flag-ph\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Poland\",\"alpha2\":\"PL\",\"alpha3\":\"POL\",\"officialLanguageCode\":\"pl\",\"flag\":\"flag-pl\",\"countryCallingCodes\":[\"+48\"],\"currencies\":[\"PLN\"],\"languages\":[{\"code\":\"pl\",\"name\":\"Polish\",\"flag\":\"flag-pl\"}]},{\"name\":\"Portugal\",\"alpha2\":\"PT\",\"alpha3\":\"PRT\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-pt\",\"countryCallingCodes\":[\"+351\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Qatar\",\"alpha2\":\"QA\",\"alpha3\":\"QAT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-qa\",\"countryCallingCodes\":[\"+974\"],\"currencies\":[\"QAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Romania\",\"alpha2\":\"RO\",\"alpha3\":\"ROU\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-ro\",\"countryCallingCodes\":[\"+40\"],\"currencies\":[\"RON\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Russia\",\"alpha2\":\"RU\",\"alpha3\":\"RUS\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-ru\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"RUB\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Saudi Arabia\",\"alpha2\":\"SA\",\"alpha3\":\"SAU\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-sa\",\"countryCallingCodes\":[\"+966\"],\"currencies\":[\"SAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Singapore\",\"alpha2\":\"SG\",\"alpha3\":\"SGP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-sg\",\"countryCallingCodes\":[\"+65\"],\"currencies\":[\"SGD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Slovakia\",\"alpha2\":\"SK\",\"alpha3\":\"SVK\",\"officialLanguageCode\":\"sk\",\"flag\":\"flag-sk\",\"countryCallingCodes\":[\"+421\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sk\",\"name\":\"Slovak\",\"flag\":\"flag-sk\"}]},{\"name\":\"Slovenia\",\"alpha2\":\"SI\",\"alpha3\":\"SVN\",\"officialLanguageCode\":\"sl\",\"flag\":\"flag-si\",\"countryCallingCodes\":[\"+386\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sl\",\"name\":\"Slovene\",\"flag\":\"flag-si\"}]},{\"name\":\"Spain\",\"alpha2\":\"ES\",\"alpha3\":\"ESP\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-es\",\"countryCallingCodes\":[\"+34\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Sri Lanka\",\"alpha2\":\"LK\",\"alpha3\":\"LKA\",\"officialLanguageCode\":\"si\",\"flag\":\"flag-lk\",\"countryCallingCodes\":[\"+94\"],\"currencies\":[\"LKR\"],\"languages\":[{\"code\":\"si\",\"name\":\"Sinhala\",\"flag\":\"flag-lk\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Sweden\",\"alpha2\":\"SE\",\"alpha3\":\"SWE\",\"officialLanguageCode\":\"sv\",\"flag\":\"flag-se\",\"countryCallingCodes\":[\"+46\"],\"currencies\":[\"SEK\"],\"languages\":[{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"Switzerland\",\"alpha2\":\"CH\",\"alpha3\":\"CHE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-ch\",\"countryCallingCodes\":[\"+41\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Taiwan\",\"alpha2\":\"TW\",\"alpha3\":\"TWN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-tw\",\"countryCallingCodes\":[\"+886\"],\"currencies\":[\"TWD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Thailand\",\"alpha2\":\"TH\",\"alpha3\":\"THA\",\"officialLanguageCode\":\"th\",\"flag\":\"flag-th\",\"countryCallingCodes\":[\"+66\"],\"currencies\":[\"THB\"],\"languages\":[{\"code\":\"th\",\"name\":\"Thai\",\"flag\":\"flag-th\"}]},{\"name\":\"Tunisia\",\"alpha2\":\"TN\",\"alpha3\":\"TUN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-tn\",\"countryCallingCodes\":[\"+216\"],\"currencies\":[\"TND\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Turkey\",\"alpha2\":\"TR\",\"alpha3\":\"TUR\",\"officialLanguageCode\":\"tr\",\"flag\":\"flag-tr\",\"countryCallingCodes\":[\"+90\"],\"currencies\":[\"TRY\"],\"languages\":[{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Ukraine\",\"alpha2\":\"UA\",\"alpha3\":\"UKR\",\"officialLanguageCode\":\"uk\",\"flag\":\"flag-ua\",\"countryCallingCodes\":[\"+380\"],\"currencies\":[\"UAH\"],\"languages\":[{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]},{\"name\":\"United Arab Emirates\",\"alpha2\":\"AE\",\"alpha3\":\"ARE\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ae\",\"countryCallingCodes\":[\"+971\"],\"currencies\":[\"AED\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Uruguay\",\"alpha2\":\"UY\",\"alpha3\":\"URY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-uy\",\"countryCallingCodes\":[\"+598\"],\"currencies\":[\"UYU\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Venezuela\",\"alpha2\":\"VE\",\"alpha3\":\"VEN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ve\",\"countryCallingCodes\":[\"+58\"],\"currencies\":[\"VES\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Vietnam\",\"alpha2\":\"VN\",\"alpha3\":\"VNM\",\"officialLanguageCode\":\"vi\",\"flag\":\"flag-vn\",\"countryCallingCodes\":[\"+84\"],\"currencies\":[\"VND\"],\"languages\":[{\"code\":\"vi\",\"name\":\"Vietnamese\",\"flag\":\"flag-vn\"}]},{\"name\":\"Latvia\",\"alpha2\":\"LV\",\"alpha3\":\"LVA\",\"officialLanguageCode\":\"lv\",\"flag\":\"flag-lv\",\"countryCallingCodes\":[\"+371\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lv\",\"name\":\"Latvian\",\"flag\":\"flag-lv\"}]},{\"name\":\"Mongolia\",\"alpha2\":\"MN\",\"alpha3\":\"MNG\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-mn\",\"countryCallingCodes\":[\"+976\"],\"currencies\":[\"MNT\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Uzbekistan\",\"alpha2\":\"UZ\",\"alpha3\":\"UZB\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-uz\",\"countryCallingCodes\":[\"+998\"],\"currencies\":[\"UZS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Ghana\",\"alpha2\":\"GH\",\"alpha3\":\"GHA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gh\",\"countryCallingCodes\":[\"+233\"],\"currencies\":[\"GHS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Cyprus\",\"alpha2\":\"CY\",\"alpha3\":\"CYP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-cy\",\"countryCallingCodes\":[\"+357\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"},{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Armenia\",\"alpha2\":\"AM\",\"alpha3\":\"ARM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-am\",\"countryCallingCodes\":[\"+374\"],\"currencies\":[\"AMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Nepal\",\"alpha2\":\"NP\",\"alpha3\":\"NPL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-np\",\"countryCallingCodes\":[\"+977\"],\"currencies\":[\"NPR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Kyrgyzstan\",\"alpha2\":\"KG\",\"alpha3\":\"KGZ\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-kg\",\"countryCallingCodes\":[\"+996\"],\"currencies\":[\"KGS\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]}]"), jv = "https://files.mobileaction.co/flags/svg", Mv = new class e {
|
|
23295
|
-
static countriesData = Object.freeze(
|
|
23279
|
+
}), jv = /* @__PURE__ */ JSON.parse("[{\"name\":\"United States\",\"alpha2\":\"US\",\"alpha3\":\"USA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-us\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"United Kingdom\",\"alpha2\":\"GB\",\"alpha3\":\"GBR\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gb\",\"countryCallingCodes\":[\"+44\"],\"currencies\":[\"GBP\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Australia\",\"alpha2\":\"AU\",\"alpha3\":\"AUS\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-au\",\"countryCallingCodes\":[\"+61\"],\"currencies\":[\"AUD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Brazil\",\"alpha2\":\"BR\",\"alpha3\":\"BRA\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-br\",\"countryCallingCodes\":[\"+55\"],\"currencies\":[\"BRL\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Canada\",\"alpha2\":\"CA\",\"alpha3\":\"CAN\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ca\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"CAD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Germany\",\"alpha2\":\"DE\",\"alpha3\":\"DEU\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-de\",\"countryCallingCodes\":[\"+49\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Albania\",\"alpha2\":\"AL\",\"alpha3\":\"ALB\",\"officialLanguageCode\":\"sq\",\"flag\":\"flag-al\",\"countryCallingCodes\":[\"+355\"],\"currencies\":[\"ALL\"],\"languages\":[{\"code\":\"sq\",\"name\":\"Albanian\",\"flag\":\"flag-al\"}]},{\"name\":\"Algeria\",\"alpha2\":\"DZ\",\"alpha3\":\"DZA\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-dz\",\"countryCallingCodes\":[\"+213\"],\"currencies\":[\"DZD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Argentina\",\"alpha2\":\"AR\",\"alpha3\":\"ARG\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ar\",\"countryCallingCodes\":[\"+54\"],\"currencies\":[\"ARS\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Austria\",\"alpha2\":\"AT\",\"alpha3\":\"AUT\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-at\",\"countryCallingCodes\":[\"+43\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Azerbaijan\",\"alpha2\":\"AZ\",\"alpha3\":\"AZE\",\"officialLanguageCode\":\"az\",\"flag\":\"flag-az\",\"countryCallingCodes\":[\"+994\"],\"currencies\":[\"AZN\"],\"languages\":[{\"code\":\"az\",\"name\":\"Azerbaijani\",\"flag\":\"flag-az\"}]},{\"name\":\"Bahrain\",\"alpha2\":\"BH\",\"alpha3\":\"BHR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-bh\",\"countryCallingCodes\":[\"+973\"],\"currencies\":[\"BHD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Bangladesh\",\"alpha2\":\"BD\",\"alpha3\":\"BGD\",\"officialLanguageCode\":\"bn\",\"flag\":\"flag-bd\",\"countryCallingCodes\":[\"+880\"],\"currencies\":[\"BDT\"],\"languages\":[{\"code\":\"bn\",\"name\":\"Bengali\",\"flag\":\"flag-bd\"}]},{\"name\":\"Belgium\",\"alpha2\":\"BE\",\"alpha3\":\"BEL\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-be\",\"countryCallingCodes\":[\"+32\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Bolivia\",\"alpha2\":\"BO\",\"alpha3\":\"BOL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-bo\",\"countryCallingCodes\":[\"+591\"],\"currencies\":[\"BOB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"ay\",\"name\":\"Aymara\",\"flag\":\"flag-bo\"},{\"code\":\"qu\",\"name\":\"Quechua\",\"flag\":\"flag-bo\"}]},{\"name\":\"Bulgaria\",\"alpha2\":\"BG\",\"alpha3\":\"BGR\",\"officialLanguageCode\":\"bg\",\"flag\":\"flag-bg\",\"countryCallingCodes\":[\"+359\"],\"currencies\":[\"BGN\"],\"languages\":[{\"code\":\"bg\",\"name\":\"Bulgarian\",\"flag\":\"flag-bg\"}]},{\"name\":\"Cambodia\",\"alpha2\":\"KH\",\"alpha3\":\"KHM\",\"officialLanguageCode\":\"km\",\"flag\":\"flag-kh\",\"countryCallingCodes\":[\"+855\"],\"currencies\":[\"KHR\"],\"languages\":[{\"code\":\"km\",\"name\":\"Khmer\",\"flag\":\"flag-kh\"}]},{\"name\":\"Chile\",\"alpha2\":\"CL\",\"alpha3\":\"CHL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cl\",\"countryCallingCodes\":[\"+56\"],\"currencies\":[\"CLP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"China\",\"alpha2\":\"CN\",\"alpha3\":\"CHN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-cn\",\"countryCallingCodes\":[\"+86\"],\"currencies\":[\"CNY\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Colombia\",\"alpha2\":\"CO\",\"alpha3\":\"COL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-co\",\"countryCallingCodes\":[\"+57\"],\"currencies\":[\"COP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Costa Rica\",\"alpha2\":\"CR\",\"alpha3\":\"CRI\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cr\",\"countryCallingCodes\":[\"+506\"],\"currencies\":[\"CRC\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Croatia\",\"alpha2\":\"HR\",\"alpha3\":\"HRV\",\"officialLanguageCode\":\"hr\",\"flag\":\"flag-hr\",\"countryCallingCodes\":[\"+385\"],\"currencies\":[\"HRK\"],\"languages\":[{\"code\":\"hr\",\"name\":\"Croatian\",\"flag\":\"flag-hr\"}]},{\"name\":\"Czech Republic\",\"alpha2\":\"CZ\",\"alpha3\":\"CZE\",\"officialLanguageCode\":\"cs\",\"flag\":\"flag-cz\",\"countryCallingCodes\":[\"+420\"],\"currencies\":[\"CZK\"],\"languages\":[{\"code\":\"cs\",\"name\":\"Czech\",\"flag\":\"flag-cz\"}]},{\"name\":\"Denmark\",\"alpha2\":\"DK\",\"alpha3\":\"DNK\",\"officialLanguageCode\":\"da\",\"flag\":\"flag-dk\",\"countryCallingCodes\":[\"+45\"],\"currencies\":[\"DKK\"],\"languages\":[{\"code\":\"da\",\"name\":\"Danish\",\"flag\":\"flag-dk\"}]},{\"name\":\"Dominican Republic\",\"alpha2\":\"DO\",\"alpha3\":\"DOM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-do\",\"countryCallingCodes\":[\"+1-809\"],\"currencies\":[\"DOP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Ecuador\",\"alpha2\":\"EC\",\"alpha3\":\"ECU\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ec\",\"countryCallingCodes\":[\"+593\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Egypt\",\"alpha2\":\"EG\",\"alpha3\":\"EGY\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-eg\",\"countryCallingCodes\":[\"+20\"],\"currencies\":[\"EGP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"El Salvador\",\"alpha2\":\"SV\",\"alpha3\":\"SLV\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-sv\",\"countryCallingCodes\":[\"+503\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Estonia\",\"alpha2\":\"EE\",\"alpha3\":\"EST\",\"officialLanguageCode\":\"et\",\"flag\":\"flag-ee\",\"countryCallingCodes\":[\"+372\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"et\",\"name\":\"Estonian\",\"flag\":\"flag-ee\"}]},{\"name\":\"Finland\",\"alpha2\":\"FI\",\"alpha3\":\"FIN\",\"officialLanguageCode\":\"fi\",\"flag\":\"flag-fi\",\"countryCallingCodes\":[\"+358\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fi\",\"name\":\"Finnish\",\"flag\":\"flag-fi\"},{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"France\",\"alpha2\":\"FR\",\"alpha3\":\"FRA\",\"officialLanguageCode\":\"fr\",\"flag\":\"flag-fr\",\"countryCallingCodes\":[\"+33\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Greece\",\"alpha2\":\"GR\",\"alpha3\":\"GRC\",\"officialLanguageCode\":\"el\",\"flag\":\"flag-gr\",\"countryCallingCodes\":[\"+30\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"}]},{\"name\":\"Guatemala\",\"alpha2\":\"GT\",\"alpha3\":\"GTM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-gt\",\"countryCallingCodes\":[\"+502\"],\"currencies\":[\"GTQ\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hong Kong\",\"alpha2\":\"HK\",\"alpha3\":\"HKG\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-hk\",\"countryCallingCodes\":[\"+852\"],\"currencies\":[\"HKD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Honduras\",\"alpha2\":\"HN\",\"alpha3\":\"HND\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-hn\",\"countryCallingCodes\":[\"+504\"],\"currencies\":[\"HNL\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hungary\",\"alpha2\":\"HU\",\"alpha3\":\"HUN\",\"officialLanguageCode\":\"hu\",\"flag\":\"flag-hu\",\"countryCallingCodes\":[\"+36\"],\"currencies\":[\"HUF\"],\"languages\":[{\"code\":\"hu\",\"name\":\"Hungarian\",\"flag\":\"flag-hu\"}]},{\"name\":\"Iceland\",\"alpha2\":\"IS\",\"alpha3\":\"ISL\",\"officialLanguageCode\":\"is\",\"flag\":\"flag-is\",\"countryCallingCodes\":[\"+354\"],\"currencies\":[\"ISK\"],\"languages\":[{\"code\":\"is\",\"name\":\"Icelandic\",\"flag\":\"flag-is\"}]},{\"name\":\"India\",\"alpha2\":\"IN\",\"alpha3\":\"IND\",\"officialLanguageCode\":\"hi\",\"flag\":\"flag-in\",\"countryCallingCodes\":[\"+91\"],\"currencies\":[\"INR\"],\"languages\":[{\"code\":\"hi\",\"name\":\"Hindi\",\"flag\":\"flag-in\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Indonesia\",\"alpha2\":\"ID\",\"alpha3\":\"IDN\",\"officialLanguageCode\":\"id\",\"flag\":\"flag-id\",\"countryCallingCodes\":[\"+62\"],\"currencies\":[\"IDR\"],\"languages\":[{\"code\":\"id\",\"name\":\"Indonesian\",\"flag\":\"flag-id\"}]},{\"name\":\"Iran\",\"alpha2\":\"IR\",\"alpha3\":\"IRN\",\"officialLanguageCode\":\"fa\",\"flag\":\"flag-ir\",\"countryCallingCodes\":[\"+98\"],\"currencies\":[\"IRR\"],\"languages\":[{\"code\":\"fa\",\"name\":\"Persian\",\"flag\":\"flag-ir\"}]},{\"name\":\"Iraq\",\"alpha2\":\"IQ\",\"alpha3\":\"IRQ\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-iq\",\"countryCallingCodes\":[\"+964\"],\"currencies\":[\"IQD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ku\",\"name\":\"Kurdish\",\"flag\":\"flag-iq\"}]},{\"name\":\"Ireland\",\"alpha2\":\"IE\",\"alpha3\":\"IRL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ie\",\"countryCallingCodes\":[\"+353\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"ga\",\"name\":\"Irish\",\"flag\":\"flag-ie\"}]},{\"name\":\"Israel\",\"alpha2\":\"IL\",\"alpha3\":\"ISR\",\"officialLanguageCode\":\"he\",\"flag\":\"flag-il\",\"countryCallingCodes\":[\"+972\"],\"currencies\":[\"ILS\"],\"languages\":[{\"code\":\"he\",\"name\":\"Hebrew\",\"flag\":\"flag-il\"},{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Italy\",\"alpha2\":\"IT\",\"alpha3\":\"ITA\",\"officialLanguageCode\":\"it\",\"flag\":\"flag-it\",\"countryCallingCodes\":[\"+39\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Jamaica\",\"alpha2\":\"JM\",\"alpha3\":\"JAM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-jm\",\"countryCallingCodes\":[\"+1-876\"],\"currencies\":[\"JMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Japan\",\"alpha2\":\"JP\",\"alpha3\":\"JPN\",\"officialLanguageCode\":\"ja\",\"flag\":\"flag-jp\",\"countryCallingCodes\":[\"+81\"],\"currencies\":[\"JPY\"],\"languages\":[{\"code\":\"ja\",\"name\":\"Japanese\",\"flag\":\"flag-jp\"}]},{\"name\":\"Jordan\",\"alpha2\":\"JO\",\"alpha3\":\"JOR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-jo\",\"countryCallingCodes\":[\"+962\"],\"currencies\":[\"JOD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Kazakhstan\",\"alpha2\":\"KZ\",\"alpha3\":\"KAZ\",\"officialLanguageCode\":\"kk\",\"flag\":\"flag-kz\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"KZT\"],\"languages\":[{\"code\":\"kk\",\"name\":\"Kazakh\",\"flag\":\"flag-kz\"},{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Kenya\",\"alpha2\":\"KE\",\"alpha3\":\"KEN\",\"officialLanguageCode\":\"sw\",\"flag\":\"flag-ke\",\"countryCallingCodes\":[\"+254\"],\"currencies\":[\"KES\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"sw\",\"name\":\"Swahili\",\"flag\":\"flag-ke\"}]},{\"name\":\"Kuwait\",\"alpha2\":\"KW\",\"alpha3\":\"KWT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-kw\",\"countryCallingCodes\":[\"+965\"],\"currencies\":[\"KWD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Lebanon\",\"alpha2\":\"LB\",\"alpha3\":\"LBN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-lb\",\"countryCallingCodes\":[\"+961\"],\"currencies\":[\"LBP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Liechtenstein\",\"alpha2\":\"LI\",\"alpha3\":\"LIE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-li\",\"countryCallingCodes\":[\"+423\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Lithuania\",\"alpha2\":\"LT\",\"alpha3\":\"LTU\",\"officialLanguageCode\":\"lt\",\"flag\":\"flag-lt\",\"countryCallingCodes\":[\"+370\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lt\",\"name\":\"Lithuanian\",\"flag\":\"flag-lt\"}]},{\"name\":\"Luxembourg\",\"alpha2\":\"LU\",\"alpha3\":\"LUX\",\"officialLanguageCode\":\"lb\",\"flag\":\"flag-lu\",\"countryCallingCodes\":[\"+352\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lb\",\"name\":\"Luxembourgish\",\"flag\":\"flag-lu\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Macau\",\"alpha2\":\"MO\",\"alpha3\":\"MAC\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-mo\",\"countryCallingCodes\":[\"+853\"],\"currencies\":[\"MOP\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Malaysia\",\"alpha2\":\"MY\",\"alpha3\":\"MYS\",\"officialLanguageCode\":\"ms\",\"flag\":\"flag-my\",\"countryCallingCodes\":[\"+60\"],\"currencies\":[\"MYR\"],\"languages\":[{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"}]},{\"name\":\"Malta\",\"alpha2\":\"MT\",\"alpha3\":\"MLT\",\"officialLanguageCode\":\"mt\",\"flag\":\"flag-mt\",\"countryCallingCodes\":[\"+356\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"mt\",\"name\":\"Maltese\",\"flag\":\"flag-mt\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Mexico\",\"alpha2\":\"MX\",\"alpha3\":\"MEX\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-mx\",\"countryCallingCodes\":[\"+52\"],\"currencies\":[\"MXN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Moldova\",\"alpha2\":\"MD\",\"alpha3\":\"MDA\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-md\",\"countryCallingCodes\":[\"+373\"],\"currencies\":[\"MDL\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Morocco\",\"alpha2\":\"MA\",\"alpha3\":\"MAR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ma\",\"countryCallingCodes\":[\"+212\"],\"currencies\":[\"MAD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Netherlands\",\"alpha2\":\"NL\",\"alpha3\":\"NLD\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-nl\",\"countryCallingCodes\":[\"+31\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"}]},{\"name\":\"New Zealand\",\"alpha2\":\"NZ\",\"alpha3\":\"NZL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-nz\",\"countryCallingCodes\":[\"+64\"],\"currencies\":[\"NZD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"mi\",\"name\":\"Maori\",\"flag\":\"flag-nz\"}]},{\"name\":\"Nicaragua\",\"alpha2\":\"NI\",\"alpha3\":\"NIC\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ni\",\"countryCallingCodes\":[\"+505\"],\"currencies\":[\"NIO\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Nigeria\",\"alpha2\":\"NG\",\"alpha3\":\"NGA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ng\",\"countryCallingCodes\":[\"+234\"],\"currencies\":[\"NGN\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"South Korea\",\"alpha2\":\"KR\",\"alpha3\":\"KOR\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kr\",\"countryCallingCodes\":[\"+82\"],\"currencies\":[\"KRW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"North Korea\",\"alpha2\":\"KP\",\"alpha3\":\"PRK\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kp\",\"countryCallingCodes\":[\"+850\"],\"currencies\":[\"KPW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"South Africa\",\"alpha2\":\"ZA\",\"alpha3\":\"ZAF\",\"officialLanguageCode\":\"af\",\"flag\":\"flag-za\",\"countryCallingCodes\":[\"+27\"],\"currencies\":[\"ZAR\"],\"languages\":[{\"code\":\"af\",\"name\":\"Afrikaans\",\"flag\":\"flag-za\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"nr\",\"name\":\"Southern Ndebele\",\"flag\":\"flag-za\"},{\"code\":\"st\",\"name\":\"Southern Sotho\",\"flag\":\"flag-za\"},{\"code\":\"ss\",\"name\":\"Swazi\",\"flag\":\"flag-za\"},{\"code\":\"tn\",\"name\":\"Tswana\",\"flag\":\"flag-za\"},{\"code\":\"ts\",\"name\":\"Tsonga\",\"flag\":\"flag-za\"},{\"code\":\"ve\",\"name\":\"Venda\",\"flag\":\"flag-za\"},{\"code\":\"xh\",\"name\":\"Xhosa\",\"flag\":\"flag-za\"},{\"code\":\"zu\",\"name\":\"Zulu\",\"flag\":\"flag-za\"}]},{\"name\":\"Norway\",\"alpha2\":\"NO\",\"alpha3\":\"NOR\",\"officialLanguageCode\":\"no\",\"flag\":\"flag-no\",\"countryCallingCodes\":[\"+47\"],\"currencies\":[\"NOK\"],\"languages\":[{\"code\":\"no\",\"name\":\"Norwegian\",\"flag\":\"flag-no\"},{\"code\":\"nb\",\"name\":\"Norwegian Bokmål\",\"flag\":\"flag-no\"},{\"code\":\"nn\",\"name\":\"Norwegian Nynorsk\",\"flag\":\"flag-no\"}]},{\"name\":\"Oman\",\"alpha2\":\"OM\",\"alpha3\":\"OMN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-om\",\"countryCallingCodes\":[\"+968\"],\"currencies\":[\"OMR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Pakistan\",\"alpha2\":\"PK\",\"alpha3\":\"PAK\",\"officialLanguageCode\":\"ur\",\"flag\":\"flag-pk\",\"countryCallingCodes\":[\"+92\"],\"currencies\":[\"PKR\"],\"languages\":[{\"code\":\"ur\",\"name\":\"Urdu\",\"flag\":\"flag-pk\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Panama\",\"alpha2\":\"PA\",\"alpha3\":\"PAN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pa\",\"countryCallingCodes\":[\"+507\"],\"currencies\":[\"PAB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Paraguay\",\"alpha2\":\"PY\",\"alpha3\":\"PRY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-py\",\"countryCallingCodes\":[\"+595\"],\"currencies\":[\"PYG\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"gn\",\"name\":\"Guarani\",\"flag\":\"flag-py\"}]},{\"name\":\"Peru\",\"alpha2\":\"PE\",\"alpha3\":\"PER\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pe\",\"countryCallingCodes\":[\"+51\"],\"currencies\":[\"PEN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Philippines\",\"alpha2\":\"PH\",\"alpha3\":\"PHL\",\"officialLanguageCode\":\"fil\",\"flag\":\"flag-ph\",\"countryCallingCodes\":[\"+63\"],\"currencies\":[\"PHP\"],\"languages\":[{\"code\":\"fil\",\"name\":\"Filipino\",\"flag\":\"flag-ph\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Poland\",\"alpha2\":\"PL\",\"alpha3\":\"POL\",\"officialLanguageCode\":\"pl\",\"flag\":\"flag-pl\",\"countryCallingCodes\":[\"+48\"],\"currencies\":[\"PLN\"],\"languages\":[{\"code\":\"pl\",\"name\":\"Polish\",\"flag\":\"flag-pl\"}]},{\"name\":\"Portugal\",\"alpha2\":\"PT\",\"alpha3\":\"PRT\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-pt\",\"countryCallingCodes\":[\"+351\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Qatar\",\"alpha2\":\"QA\",\"alpha3\":\"QAT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-qa\",\"countryCallingCodes\":[\"+974\"],\"currencies\":[\"QAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Romania\",\"alpha2\":\"RO\",\"alpha3\":\"ROU\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-ro\",\"countryCallingCodes\":[\"+40\"],\"currencies\":[\"RON\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Russia\",\"alpha2\":\"RU\",\"alpha3\":\"RUS\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-ru\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"RUB\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Saudi Arabia\",\"alpha2\":\"SA\",\"alpha3\":\"SAU\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-sa\",\"countryCallingCodes\":[\"+966\"],\"currencies\":[\"SAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Singapore\",\"alpha2\":\"SG\",\"alpha3\":\"SGP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-sg\",\"countryCallingCodes\":[\"+65\"],\"currencies\":[\"SGD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Slovakia\",\"alpha2\":\"SK\",\"alpha3\":\"SVK\",\"officialLanguageCode\":\"sk\",\"flag\":\"flag-sk\",\"countryCallingCodes\":[\"+421\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sk\",\"name\":\"Slovak\",\"flag\":\"flag-sk\"}]},{\"name\":\"Slovenia\",\"alpha2\":\"SI\",\"alpha3\":\"SVN\",\"officialLanguageCode\":\"sl\",\"flag\":\"flag-si\",\"countryCallingCodes\":[\"+386\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sl\",\"name\":\"Slovene\",\"flag\":\"flag-si\"}]},{\"name\":\"Spain\",\"alpha2\":\"ES\",\"alpha3\":\"ESP\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-es\",\"countryCallingCodes\":[\"+34\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Sri Lanka\",\"alpha2\":\"LK\",\"alpha3\":\"LKA\",\"officialLanguageCode\":\"si\",\"flag\":\"flag-lk\",\"countryCallingCodes\":[\"+94\"],\"currencies\":[\"LKR\"],\"languages\":[{\"code\":\"si\",\"name\":\"Sinhala\",\"flag\":\"flag-lk\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Sweden\",\"alpha2\":\"SE\",\"alpha3\":\"SWE\",\"officialLanguageCode\":\"sv\",\"flag\":\"flag-se\",\"countryCallingCodes\":[\"+46\"],\"currencies\":[\"SEK\"],\"languages\":[{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"Switzerland\",\"alpha2\":\"CH\",\"alpha3\":\"CHE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-ch\",\"countryCallingCodes\":[\"+41\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Taiwan\",\"alpha2\":\"TW\",\"alpha3\":\"TWN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-tw\",\"countryCallingCodes\":[\"+886\"],\"currencies\":[\"TWD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Thailand\",\"alpha2\":\"TH\",\"alpha3\":\"THA\",\"officialLanguageCode\":\"th\",\"flag\":\"flag-th\",\"countryCallingCodes\":[\"+66\"],\"currencies\":[\"THB\"],\"languages\":[{\"code\":\"th\",\"name\":\"Thai\",\"flag\":\"flag-th\"}]},{\"name\":\"Tunisia\",\"alpha2\":\"TN\",\"alpha3\":\"TUN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-tn\",\"countryCallingCodes\":[\"+216\"],\"currencies\":[\"TND\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Turkey\",\"alpha2\":\"TR\",\"alpha3\":\"TUR\",\"officialLanguageCode\":\"tr\",\"flag\":\"flag-tr\",\"countryCallingCodes\":[\"+90\"],\"currencies\":[\"TRY\"],\"languages\":[{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Ukraine\",\"alpha2\":\"UA\",\"alpha3\":\"UKR\",\"officialLanguageCode\":\"uk\",\"flag\":\"flag-ua\",\"countryCallingCodes\":[\"+380\"],\"currencies\":[\"UAH\"],\"languages\":[{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]},{\"name\":\"United Arab Emirates\",\"alpha2\":\"AE\",\"alpha3\":\"ARE\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ae\",\"countryCallingCodes\":[\"+971\"],\"currencies\":[\"AED\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Uruguay\",\"alpha2\":\"UY\",\"alpha3\":\"URY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-uy\",\"countryCallingCodes\":[\"+598\"],\"currencies\":[\"UYU\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Venezuela\",\"alpha2\":\"VE\",\"alpha3\":\"VEN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ve\",\"countryCallingCodes\":[\"+58\"],\"currencies\":[\"VES\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Vietnam\",\"alpha2\":\"VN\",\"alpha3\":\"VNM\",\"officialLanguageCode\":\"vi\",\"flag\":\"flag-vn\",\"countryCallingCodes\":[\"+84\"],\"currencies\":[\"VND\"],\"languages\":[{\"code\":\"vi\",\"name\":\"Vietnamese\",\"flag\":\"flag-vn\"}]},{\"name\":\"Latvia\",\"alpha2\":\"LV\",\"alpha3\":\"LVA\",\"officialLanguageCode\":\"lv\",\"flag\":\"flag-lv\",\"countryCallingCodes\":[\"+371\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lv\",\"name\":\"Latvian\",\"flag\":\"flag-lv\"}]},{\"name\":\"Mongolia\",\"alpha2\":\"MN\",\"alpha3\":\"MNG\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-mn\",\"countryCallingCodes\":[\"+976\"],\"currencies\":[\"MNT\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Uzbekistan\",\"alpha2\":\"UZ\",\"alpha3\":\"UZB\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-uz\",\"countryCallingCodes\":[\"+998\"],\"currencies\":[\"UZS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Ghana\",\"alpha2\":\"GH\",\"alpha3\":\"GHA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gh\",\"countryCallingCodes\":[\"+233\"],\"currencies\":[\"GHS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Cyprus\",\"alpha2\":\"CY\",\"alpha3\":\"CYP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-cy\",\"countryCallingCodes\":[\"+357\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"},{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Armenia\",\"alpha2\":\"AM\",\"alpha3\":\"ARM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-am\",\"countryCallingCodes\":[\"+374\"],\"currencies\":[\"AMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Nepal\",\"alpha2\":\"NP\",\"alpha3\":\"NPL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-np\",\"countryCallingCodes\":[\"+977\"],\"currencies\":[\"NPR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Kyrgyzstan\",\"alpha2\":\"KG\",\"alpha3\":\"KGZ\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-kg\",\"countryCallingCodes\":[\"+996\"],\"currencies\":[\"KGS\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]}]"), Mv = "https://files.mobileaction.co/flags/svg", Nv = new class e {
|
|
23280
|
+
static countriesData = Object.freeze(jv);
|
|
23296
23281
|
findCountryByCountryCode(t) {
|
|
23297
23282
|
let n = e.countriesData.find((e) => mc(e.alpha2, t) || mc(e.alpha3, t));
|
|
23298
23283
|
return n ? (0, pc.cloneDeep)(n) : void 0;
|
|
@@ -23359,12 +23344,12 @@ var X_ = {
|
|
|
23359
23344
|
}));
|
|
23360
23345
|
}
|
|
23361
23346
|
getFlagIconUrl(e, t = "1x1") {
|
|
23362
|
-
return `${
|
|
23347
|
+
return `${Mv}/${t}/${e.toLowerCase()}.svg`;
|
|
23363
23348
|
}
|
|
23364
23349
|
getGlobeIconUrl() {
|
|
23365
|
-
return `${
|
|
23350
|
+
return `${Mv}/globe.svg`;
|
|
23366
23351
|
}
|
|
23367
|
-
}(),
|
|
23352
|
+
}(), Pv = {
|
|
23368
23353
|
total: "合計",
|
|
23369
23354
|
itemsPerPage: "ページあたり{0}件",
|
|
23370
23355
|
page: "{1}ページ中{0}ページ",
|
|
@@ -23427,7 +23412,7 @@ var X_ = {
|
|
|
23427
23412
|
],
|
|
23428
23413
|
reasoningLabel: "考え中"
|
|
23429
23414
|
}
|
|
23430
|
-
},
|
|
23415
|
+
}, Fv = {
|
|
23431
23416
|
total: "총계",
|
|
23432
23417
|
itemsPerPage: "페이지당 {0}개",
|
|
23433
23418
|
page: "{1}페이지 중 {0}페이지",
|
|
@@ -23490,7 +23475,7 @@ var X_ = {
|
|
|
23490
23475
|
],
|
|
23491
23476
|
reasoningLabel: "생각 중"
|
|
23492
23477
|
}
|
|
23493
|
-
},
|
|
23478
|
+
}, Iv = {
|
|
23494
23479
|
total: "总计",
|
|
23495
23480
|
itemsPerPage: "{0} / 页",
|
|
23496
23481
|
page: "第{0}页,共{1}页",
|
|
@@ -23555,4 +23540,4 @@ var X_ = {
|
|
|
23555
23540
|
}
|
|
23556
23541
|
};
|
|
23557
23542
|
//#endregion
|
|
23558
|
-
export { xf as ACTION_KIT_LOCALE_EN,
|
|
23543
|
+
export { xf as ACTION_KIT_LOCALE_EN, Pv as ACTION_KIT_LOCALE_JA, Fv as ACTION_KIT_LOCALE_KO, Iv as ACTION_KIT_LOCALE_ZH, xu as ASSETS, wf as ActionKit, dt as ActionKitSymbol, Ut as Animations, qt as AppIconPlatforms, Kt as AppIconSizes, Rn as ButtonColors, Hn as ButtonHtmlTypes, Un as ButtonIconAlignMents, Bn as ButtonShapes, zn as ButtonSizes, Vn as ButtonTargets, Ln as ButtonVariants, Sr as CascaderSizes, bc as CheckboxPlacementRight, yc as CheckboxPlacements, Wo as CollapseItemState, Vo as CollapseModes, Bf as ConfirmModal2Types, yu as DEVICE_WIDTH, Sd as DeviceTypes, Td as DisplayModes, Cd as DisplayTypes, Wn as LinkButtonColors, Gn as LinkButtonSizes, kt as MaActionSheet, jt as MaActionSheetItem, Ht as MaAlert, Pt as MaAlertSizeList, Mt as MaAlertTypeList, Nt as MaAlertVariantList, Gt as MaAnimation, ln as MaAppIcon, bn as MaAppTrackButton, Cn as MaAvatar, kn as MaBadge, Dn as MaBadgePropIconAlignments, En as MaBadgePropSizes, Tn as MaBadgePropTypes, wn as MaBadgePropVariants, On as MaBadgeShape, In as MaBreadcrumb, Pn as MaBreadcrumbItem, An as MaBreadcrumbSeparators, Z as MaButton, xr as MaCard, ar as MaCardAlignments, sr as MaCardIconColors, or as MaCardSizes, ha as MaCascader, vo as MaChart, Av as MaChatbot, K_ as MaChatbotSymbol, Bo as MaCheckbox, Ro as MaCheckbox2, Do as MaCheckbox2Card, ko as MaCheckbox2Group, zo as MaCheckboxGroup, Yo as MaCollapse, Uo as MaCollapseIconAlignments, Jo as MaCollapseItem, Ho as MaCollapseSizes, Ff as MaConfirmModal2, Qo as MaContentScroller, ts as MaCountryRadio, Gs as MaCountrySelect, ef as MaCurrencyInput, wl as MaDatePicker, gl as MaDatePicker2, Uu as MaDevicePreviewAppDetailPreview, id as MaDevicePreviewAppTodayTabPreview, sd as MaDevicePreviewProductPages, ld as MaDevicePreviewSearchResults, hd as MaDevicePreviewSearchTab, xd as MaDevicePreviewTodayTab, Nl as MaDrawer, Fl as MaDropdown, Tl as MaDropdownPlacements, El as MaDropdownTriggers, tn as MaEllipsis, Hl as MaEmpty, Rl as MaEmptyIcons, Il as MaEmptySizes, Ll as MaEmptyVariants, mt as MaFlagIconRatios, Yl as MaForm, Xl as MaForm2, Ul as MaFormItem, ru as MaFormItem2, eu as MaFormItem2Label, Ql as MaFormItem2Message, Wl as MaFormLayouts, X as MaIcon, au as MaIconButton, ht as MaIconSizeClassNames, pt as MaIconSizes, vu as MaImage, mu as MaImage2, _u as MaImageGroup, gu as MaImageGroup2, uu as MaImagePreview, Qc as MaInput, Xd as MaInputBase, pf as MaInputBaseSizes, uc as MaInputCurrencies, kd as MaInputNumber, lc as MaInputSizes, cc as MaInputTypes, vf as MaKeywordInput, tr as MaLinkButton, bf as MaMenu, Th as MaMenuButtonPropSizes, yf as MaMenuItem, ep as MaModal, jf as MaModal2, Hf as MaModalTypeIcon, Vf as MaModalTypes, Sp as MaNotification, af as MaNumberInput, zp as MaNumericInput, tm as MaPagination, Vp as MaPaginationModes, Bp as MaPaginationSizes, cf as MaPasswordInput, _m as MaPopconfirm, lm as MaPopconfirm2, um as MaPopover, vm as MaPopover2, eh as MaProgress, Cm as MaProgressCircleSizes, Sm as MaProgressColors, wm as MaProgressPercentAlignments, xm as MaProgressTypes, pn as MaRadio, ih as MaRadioCard, nh as MaRadioGroup, th as MaRadioTypes, uh as MaRate, oh as MaRateColors, ah as MaRateSizes, gh as MaResult, Kc as MaSelect, sl as MaSelect2, yh as MaSelect2Option, Ch as MaSelect2OptionGroup, Ge as MaSelectOptGroup, wh as MaSelectOption, kh as MaSideMenuAddNewAppButton, jh as MaSideMenuAppButton, Fh as MaSideMenuButton, Dh as MaSideMenuButton2, Ih as MaSideMenuIconButton, Ph as MaSideMenuItem, Oh as MaSideMenuItem2, Mh as MaSideMenuItemColors, Lh as MaSideMenuRoundIconButton, Rh as MaSlider, ir as MaSocialButton, Uh as MaSpin, Gh as MaSpinColors, Kh as MaSpinSizes, Wh as MaSpinTypes, ng as MaStep, dg as MaStepItem, fg as MaStepItems, yg as MaStepSizes, ig as MaSteps, vg as MaStepsDirections, _g as MaSwitch, wg as MaTabButton2, Bg as MaTabIconAlignMents, Vg as MaTabPane, Tg as MaTabPane2, Sg as MaTabPanePlacements, Rg as MaTabPositions, zg as MaTabTypes, Hg as MaTabs, Lg as MaTabs2, xg as MaTabsSizes, bg as MaTabsTypes, qg as MaTagInput, uf as MaTextInput, ff as MaTextarea, Oc as MaToggle, n_ as MaTooltip, Qt as MaTooltip2, a_ as MaTrackButton, p_ as MaTree, Go as MaTypography, B_ as MaUpload, __ as MaUploadFileStatus, g_ as MaUploadSizes, h_ as MaUploadTypes, H_ as MaWatchlistButton, If as ModalManager, zf as ModalPositions, Sc as MultiSelectOptionCheckbox, xc as MultiSelectOptions, Ip as NumericInputSizes, Ed as PageTypes, nm as Popconfirm2Variants, bm as Popover2Placements, ym as Popover2TriggerTypes, bu as SCALE_FACTORS, wd as SearchResultsDisplayTypes, vc as SelectModes, wc as SelectOptionTypeRadio, Cc as SelectOptionTypes, _c as SelectSizes, Kn as SocialButtonBrands, qn as SocialButtonVariants, pg as SwitchTypes, Jg as ToggleSizes, Yg as Tooltip2Types, Xg as TooltipPlacements, Qg as TooltipTriggerTypes, Zg as TooltipTypes, o_ as TrackButtonSizes, m_ as TreeModes, y_ as TypographyTags, v_ as TypographyTypes, b_ as TypographyWeights, J_ as createMaChatbot, fc as currencyOptions, dc as currencySymbols, yt as loadIcon, oo as maChartDefaultOptions, Nv as maCountry, Lf as modalManager, ft as useActionKit, Y_ as useMaChatbot, Rf as useModal };
|