@cognigy/chat-components-vue 0.3.0 → 0.3.1
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/chat-components-vue.css +1 -1
- package/dist/chat-components-vue.js +502 -496
- package/dist/components/common/ActionButton.vue.d.ts +2 -0
- package/dist/components/common/ActionButtons.vue.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/common/ActionButton.vue +37 -0
- package/src/components/common/ActionButtons.vue +4 -0
- package/src/components/messages/List.vue +3 -3
- package/src/components/messages/ListItem.vue +6 -9
|
@@ -190,7 +190,7 @@ function lt() {
|
|
|
190
190
|
throw console.error("useMessageContext: Context not provided. Make sure component is wrapped in MessageProvider."), new Error("useMessageContext must be used within a message context provider");
|
|
191
191
|
return t;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function tb() {
|
|
194
194
|
return Sr(Tr, void 0);
|
|
195
195
|
}
|
|
196
196
|
const {
|
|
@@ -973,7 +973,7 @@ function bs(t, e) {
|
|
|
973
973
|
Ws.removeAllHooks();
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
|
-
function
|
|
976
|
+
function ib(t, e, i) {
|
|
977
977
|
return t ? e ? bs(t, i) : t : "";
|
|
978
978
|
}
|
|
979
979
|
function Pr() {
|
|
@@ -4376,6 +4376,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4376
4376
|
dataMessageId: { default: void 0 },
|
|
4377
4377
|
onEmitAnalytics: { type: Function, default: void 0 },
|
|
4378
4378
|
size: { default: "small" },
|
|
4379
|
+
variant: { default: "primary" },
|
|
4379
4380
|
id: { default: void 0 },
|
|
4380
4381
|
className: { default: "" },
|
|
4381
4382
|
openXAppOverlay: { type: Function, default: void 0 }
|
|
@@ -4406,7 +4407,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4406
4407
|
return e.button.target;
|
|
4407
4408
|
}), b = w(() => {
|
|
4408
4409
|
const g = [i.button];
|
|
4409
|
-
return l.value && g.push(i.url), e.className && g.push(e.className), e.disabled && (g.push(i.disabled), g.push("disabled")), u.value && g.push("phone-number-or-url-anchor"), l.value && g.push("phone-number-or-url-anchor"), g;
|
|
4410
|
+
return e.variant === "secondary" && g.push(i.secondary), l.value && g.push(i.url), e.className && g.push(e.className), e.disabled && (g.push(i.disabled), g.push("disabled")), u.value && g.push("phone-number-or-url-anchor"), l.value && g.push("phone-number-or-url-anchor"), g;
|
|
4410
4411
|
}), E = (g) => {
|
|
4411
4412
|
if (g.stopPropagation(), e.onEmitAnalytics?.("action", e.button), u.value) {
|
|
4412
4413
|
e.disabled && g.preventDefault();
|
|
@@ -4468,26 +4469,27 @@ const jf = /* @__PURE__ */ me({
|
|
|
4468
4469
|
_: 3
|
|
4469
4470
|
}, 8, ["id", "href", "target", "class", "aria-label", "aria-disabled", "disabled", "tabindex"]));
|
|
4470
4471
|
}
|
|
4471
|
-
}), th = "
|
|
4472
|
+
}), th = "_button_1tzfd_2", ih = "_disabled_1tzfd_59", nh = "_secondary_1tzfd_68", sh = "_buttonLabelWithImage_1tzfd_101", rh = "_buttonImage_1tzfd_105", ah = "_imageDisabled_1tzfd_113", oh = "_buttonImageContainer_1tzfd_117", uh = {
|
|
4472
4473
|
button: th,
|
|
4473
4474
|
disabled: ih,
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4475
|
+
secondary: nh,
|
|
4476
|
+
buttonLabelWithImage: sh,
|
|
4477
|
+
buttonImage: rh,
|
|
4478
|
+
imageDisabled: ah,
|
|
4479
|
+
buttonImageContainer: oh
|
|
4480
|
+
}, lh = {
|
|
4481
|
+
$style: uh
|
|
4482
|
+
}, br = /* @__PURE__ */ Me(eh, [["__cssModules", lh]]), ch = {
|
|
4481
4483
|
width: "16",
|
|
4482
4484
|
height: "16",
|
|
4483
4485
|
viewBox: "0 0 16 16",
|
|
4484
4486
|
fill: "none",
|
|
4485
4487
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4486
4488
|
"aria-hidden": "true"
|
|
4487
|
-
},
|
|
4489
|
+
}, dh = /* @__PURE__ */ me({
|
|
4488
4490
|
__name: "CloseIcon",
|
|
4489
4491
|
setup(t) {
|
|
4490
|
-
return (e, i) => (B(), q("svg",
|
|
4492
|
+
return (e, i) => (B(), q("svg", ch, [...i[0] || (i[0] = [
|
|
4491
4493
|
W("path", {
|
|
4492
4494
|
"fill-rule": "evenodd",
|
|
4493
4495
|
"clip-rule": "evenodd",
|
|
@@ -4502,7 +4504,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4502
4504
|
}, null, -1)
|
|
4503
4505
|
])]));
|
|
4504
4506
|
}
|
|
4505
|
-
}),
|
|
4507
|
+
}), fh = {
|
|
4506
4508
|
width: "16",
|
|
4507
4509
|
height: "16",
|
|
4508
4510
|
viewBox: "0 0 16 16",
|
|
@@ -4512,7 +4514,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4512
4514
|
}, os = /* @__PURE__ */ me({
|
|
4513
4515
|
__name: "DownloadIcon",
|
|
4514
4516
|
setup(t) {
|
|
4515
|
-
return (e, i) => (B(), q("svg",
|
|
4517
|
+
return (e, i) => (B(), q("svg", fh, [...i[0] || (i[0] = [
|
|
4516
4518
|
W("path", {
|
|
4517
4519
|
d: "M9 1C9 0.447715 8.55228 0 8 0C7.44772 0 7 0.447715 7 1V10.0097L4.09689 7.84985C3.65379 7.5202 3.02734 7.61217 2.69768 8.05528C2.36802 8.49839 2.46 9.12484 2.90311 9.45449L7.40311 12.8023C7.75739 13.0659 8.24261 13.0659 8.5969 12.8023L13.0969 9.45449C13.54 9.12484 13.632 8.49839 13.3023 8.05528C12.9727 7.61217 12.3462 7.5202 11.9031 7.84985L9 10.0097V1Z",
|
|
4518
4520
|
fill: "#1A1A1A"
|
|
@@ -4523,7 +4525,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4523
4525
|
}, null, -1)
|
|
4524
4526
|
])]));
|
|
4525
4527
|
}
|
|
4526
|
-
}),
|
|
4528
|
+
}), hh = ["width", "height"], ph = /* @__PURE__ */ me({
|
|
4527
4529
|
__name: "VideoPlayIcon",
|
|
4528
4530
|
props: {
|
|
4529
4531
|
width: { default: "30" },
|
|
@@ -4551,19 +4553,19 @@ const jf = /* @__PURE__ */ me({
|
|
|
4551
4553
|
fill: "#1A1A1A"
|
|
4552
4554
|
})
|
|
4553
4555
|
], -1)
|
|
4554
|
-
])], 8,
|
|
4556
|
+
])], 8, hh));
|
|
4555
4557
|
}
|
|
4556
|
-
}),
|
|
4558
|
+
}), mh = {
|
|
4557
4559
|
width: "30",
|
|
4558
4560
|
height: "30",
|
|
4559
4561
|
viewBox: "0 0 30 30",
|
|
4560
4562
|
fill: "none",
|
|
4561
4563
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4562
4564
|
"aria-hidden": "true"
|
|
4563
|
-
},
|
|
4565
|
+
}, gh = /* @__PURE__ */ me({
|
|
4564
4566
|
__name: "AudioPlayIcon",
|
|
4565
4567
|
setup(t) {
|
|
4566
|
-
return (e, i) => (B(), q("svg",
|
|
4568
|
+
return (e, i) => (B(), q("svg", mh, [...i[0] || (i[0] = [
|
|
4567
4569
|
W("g", null, [
|
|
4568
4570
|
W("circle", {
|
|
4569
4571
|
cx: "15",
|
|
@@ -4578,17 +4580,17 @@ const jf = /* @__PURE__ */ me({
|
|
|
4578
4580
|
], -1)
|
|
4579
4581
|
])]));
|
|
4580
4582
|
}
|
|
4581
|
-
}),
|
|
4583
|
+
}), bh = {
|
|
4582
4584
|
width: "30",
|
|
4583
4585
|
height: "30",
|
|
4584
4586
|
viewBox: "0 0 30 30",
|
|
4585
4587
|
fill: "none",
|
|
4586
4588
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4587
4589
|
"aria-hidden": "true"
|
|
4588
|
-
},
|
|
4590
|
+
}, yh = /* @__PURE__ */ me({
|
|
4589
4591
|
__name: "AudioPauseIcon",
|
|
4590
4592
|
setup(t) {
|
|
4591
|
-
return (e, i) => (B(), q("svg",
|
|
4593
|
+
return (e, i) => (B(), q("svg", bh, [...i[0] || (i[0] = [
|
|
4592
4594
|
W("g", null, [
|
|
4593
4595
|
W("circle", {
|
|
4594
4596
|
cx: "15",
|
|
@@ -4613,7 +4615,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4613
4615
|
], -1)
|
|
4614
4616
|
])]));
|
|
4615
4617
|
}
|
|
4616
|
-
}),
|
|
4618
|
+
}), vh = ["width", "height"], Xa = /* @__PURE__ */ me({
|
|
4617
4619
|
__name: "ArrowBackIcon",
|
|
4618
4620
|
props: {
|
|
4619
4621
|
width: { default: "16" },
|
|
@@ -4634,9 +4636,9 @@ const jf = /* @__PURE__ */ me({
|
|
|
4634
4636
|
d: "M11.7578 1.34923C12.1172 1.76855 12.0687 2.39985 11.6494 2.75927L5.53516 8.00002L11.6494 13.2408C12.0687 13.6002 12.1172 14.2315 11.7578 14.6508C11.3984 15.0701 10.7671 15.1187 10.3478 14.7593L4.23357 9.51853C3.30235 8.72034 3.30235 7.2797 4.23357 6.4815L10.3478 1.24076C10.7671 0.881339 11.3984 0.929901 11.7578 1.34923Z",
|
|
4635
4637
|
fill: "white"
|
|
4636
4638
|
}, null, -1)
|
|
4637
|
-
])], 8,
|
|
4639
|
+
])], 8, vh));
|
|
4638
4640
|
}
|
|
4639
|
-
}),
|
|
4641
|
+
}), _h = ["tabindex", "role", "aria-label"], xh = ["src", "alt"], Ch = ["aria-label"], wh = ["alt", "src"], Eh = ["aria-label"], Ah = ["aria-label"], Sh = /* @__PURE__ */ me({
|
|
4640
4642
|
__name: "ImageMessage",
|
|
4641
4643
|
setup(t) {
|
|
4642
4644
|
const { message: e, config: i, action: n, onEmitAnalytics: s, onImageClick: r } = lt(), a = Je(), o = ce(!1), u = ce(!1), l = ce(), c = ce(), d = w(() => dt(e, i)), h = w(() => {
|
|
@@ -4707,8 +4709,8 @@ const jf = /* @__PURE__ */ me({
|
|
|
4707
4709
|
src: h.value.url,
|
|
4708
4710
|
alt: h.value.altText || "",
|
|
4709
4711
|
onError: M
|
|
4710
|
-
}, null, 40,
|
|
4711
|
-
], 42,
|
|
4712
|
+
}, null, 40, xh))
|
|
4713
|
+
], 42, _h),
|
|
4712
4714
|
h.value.button ? (B(), pe(br, {
|
|
4713
4715
|
key: 0,
|
|
4714
4716
|
button: h.value.button,
|
|
@@ -4740,7 +4742,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4740
4742
|
onClick: j[0] || (j[0] = is(() => {
|
|
4741
4743
|
}, ["stop"])),
|
|
4742
4744
|
onTouchmove: is(C, ["prevent"])
|
|
4743
|
-
}, null, 42,
|
|
4745
|
+
}, null, 42, wh)
|
|
4744
4746
|
], 2),
|
|
4745
4747
|
W("div", {
|
|
4746
4748
|
class: N(T(a).lightboxHeader)
|
|
@@ -4760,39 +4762,39 @@ const jf = /* @__PURE__ */ me({
|
|
|
4760
4762
|
onKeydown: D
|
|
4761
4763
|
}, [
|
|
4762
4764
|
We(T(os))
|
|
4763
|
-
], 42,
|
|
4765
|
+
], 42, Eh),
|
|
4764
4766
|
W("button", {
|
|
4765
4767
|
class: N(T(a).icon),
|
|
4766
4768
|
"aria-label": g.value,
|
|
4767
4769
|
onClick: C,
|
|
4768
4770
|
onKeydown: k
|
|
4769
4771
|
}, [
|
|
4770
|
-
We(T(
|
|
4771
|
-
], 42,
|
|
4772
|
+
We(T(dh))
|
|
4773
|
+
], 42, Ah)
|
|
4772
4774
|
], 2)
|
|
4773
4775
|
], 2)
|
|
4774
|
-
], 10,
|
|
4776
|
+
], 10, Ch)) : Q("", !0)
|
|
4775
4777
|
]))
|
|
4776
4778
|
], 2)) : Q("", !0);
|
|
4777
4779
|
}
|
|
4778
|
-
}),
|
|
4779
|
-
wrapper:
|
|
4780
|
-
fixedImage:
|
|
4781
|
-
flexImage:
|
|
4782
|
-
downloadable:
|
|
4783
|
-
webchatMediaTemplateImage:
|
|
4784
|
-
downloadButton:
|
|
4785
|
-
brokenImage:
|
|
4786
|
-
lightboxWrapper:
|
|
4787
|
-
lightboxContent:
|
|
4788
|
-
fullImage:
|
|
4789
|
-
lightboxHeader:
|
|
4790
|
-
caption:
|
|
4791
|
-
iconsGroup:
|
|
4792
|
-
icon:
|
|
4793
|
-
},
|
|
4794
|
-
$style:
|
|
4795
|
-
},
|
|
4780
|
+
}), kh = "_wrapper_60nm3_2", Ih = "_fixedImage_60nm3_14", Th = "_flexImage_60nm3_15", Ph = "_downloadable_60nm3_32", Dh = "_webchatMediaTemplateImage_60nm3_60", Mh = "_downloadButton_60nm3_64", Lh = "_brokenImage_60nm3_72", Fh = "_lightboxWrapper_60nm3_82", Oh = "_lightboxContent_60nm3_94", Bh = "_fullImage_60nm3_100", Rh = "_lightboxHeader_60nm3_112", Nh = "_caption_60nm3_123", zh = "_iconsGroup_60nm3_132", Vh = "_icon_60nm3_132", Hh = {
|
|
4781
|
+
wrapper: kh,
|
|
4782
|
+
fixedImage: Ih,
|
|
4783
|
+
flexImage: Th,
|
|
4784
|
+
downloadable: Ph,
|
|
4785
|
+
webchatMediaTemplateImage: Dh,
|
|
4786
|
+
downloadButton: Mh,
|
|
4787
|
+
brokenImage: Lh,
|
|
4788
|
+
lightboxWrapper: Fh,
|
|
4789
|
+
lightboxContent: Oh,
|
|
4790
|
+
fullImage: Bh,
|
|
4791
|
+
lightboxHeader: Rh,
|
|
4792
|
+
caption: Nh,
|
|
4793
|
+
iconsGroup: zh,
|
|
4794
|
+
icon: Vh
|
|
4795
|
+
}, $h = {
|
|
4796
|
+
$style: Hh
|
|
4797
|
+
}, Wh = /* @__PURE__ */ Me(Sh, [["__cssModules", $h]]), qh = ["role", "tabindex", "aria-label"], Uh = ["src", "title"], Gh = ["src", "title"], jh = ["crossorigin"], Jh = ["src"], Xh = ["src"], Zh = ["href"], Yh = /* @__PURE__ */ me({
|
|
4796
4798
|
__name: "VideoMessage",
|
|
4797
4799
|
setup(t) {
|
|
4798
4800
|
const { message: e, config: i } = lt(), n = Je(), s = ce(), r = ce(), a = ce(!1), o = ce(!1), u = w(() => dt(e, i)), l = w(() => {
|
|
@@ -4851,7 +4853,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4851
4853
|
class: N(T(n).lightOverlay),
|
|
4852
4854
|
onClick: g
|
|
4853
4855
|
}, [
|
|
4854
|
-
We(T(
|
|
4856
|
+
We(T(ph), {
|
|
4855
4857
|
width: "35",
|
|
4856
4858
|
height: "35"
|
|
4857
4859
|
})
|
|
@@ -4866,7 +4868,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4866
4868
|
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
4867
4869
|
allowfullscreen: "",
|
|
4868
4870
|
title: l.value.altText || "Video player"
|
|
4869
|
-
}, null, 10,
|
|
4871
|
+
}, null, 10, Uh)) : c.value === "vimeo" ? (B(), q("iframe", {
|
|
4870
4872
|
key: 2,
|
|
4871
4873
|
ref_key: "videoRef",
|
|
4872
4874
|
ref: s,
|
|
@@ -4876,7 +4878,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4876
4878
|
allow: "autoplay; fullscreen; picture-in-picture",
|
|
4877
4879
|
allowfullscreen: "",
|
|
4878
4880
|
title: l.value.altText || "Video player"
|
|
4879
|
-
}, null, 10,
|
|
4881
|
+
}, null, 10, Gh)) : (B(), q("video", {
|
|
4880
4882
|
key: 3,
|
|
4881
4883
|
ref_key: "videoRef",
|
|
4882
4884
|
ref: s,
|
|
@@ -4888,7 +4890,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
4888
4890
|
}, [
|
|
4889
4891
|
W("source", {
|
|
4890
4892
|
src: l.value.url
|
|
4891
|
-
}, null, 8,
|
|
4893
|
+
}, null, 8, Jh),
|
|
4892
4894
|
l.value.captionsUrl ? (B(), q("track", {
|
|
4893
4895
|
key: 0,
|
|
4894
4896
|
kind: "subtitles",
|
|
@@ -4896,10 +4898,10 @@ const jf = /* @__PURE__ */ me({
|
|
|
4896
4898
|
srclang: "en-US",
|
|
4897
4899
|
label: "English",
|
|
4898
4900
|
default: ""
|
|
4899
|
-
}, null, 8,
|
|
4901
|
+
}, null, 8, Xh)) : Q("", !0),
|
|
4900
4902
|
k[0] || (k[0] = Qi(" Your browser does not support the video tag. ", -1))
|
|
4901
|
-
], 42,
|
|
4902
|
-
], 42,
|
|
4903
|
+
], 42, jh))
|
|
4904
|
+
], 42, qh),
|
|
4903
4905
|
l.value.altText ? (B(), q("button", {
|
|
4904
4906
|
key: 0,
|
|
4905
4907
|
class: N([T(n).downloadButton, "webchat-buttons-template-button-video"]),
|
|
@@ -4918,20 +4920,20 @@ const jf = /* @__PURE__ */ me({
|
|
|
4918
4920
|
download: "video-transcript.txt",
|
|
4919
4921
|
style: { display: "none" },
|
|
4920
4922
|
"aria-hidden": "true"
|
|
4921
|
-
}, null, 8,
|
|
4923
|
+
}, null, 8, Zh)) : Q("", !0)
|
|
4922
4924
|
], 2)) : Q("", !0);
|
|
4923
4925
|
}
|
|
4924
|
-
}),
|
|
4925
|
-
wrapper:
|
|
4926
|
-
player:
|
|
4927
|
-
wrapperWithButton:
|
|
4928
|
-
playerWrapper:
|
|
4929
|
-
lightOverlay:
|
|
4930
|
-
downloadButton:
|
|
4931
|
-
downloadIcon:
|
|
4932
|
-
},
|
|
4933
|
-
$style:
|
|
4934
|
-
},
|
|
4926
|
+
}), Kh = "_wrapper_1evm2_2", Qh = "_player_1evm2_12", ep = "_wrapperWithButton_1evm2_32", tp = "_playerWrapper_1evm2_32", ip = "_lightOverlay_1evm2_44", np = "_downloadButton_1evm2_49", sp = "_downloadIcon_1evm2_77", rp = {
|
|
4927
|
+
wrapper: Kh,
|
|
4928
|
+
player: Qh,
|
|
4929
|
+
wrapperWithButton: ep,
|
|
4930
|
+
playerWrapper: tp,
|
|
4931
|
+
lightOverlay: ip,
|
|
4932
|
+
downloadButton: np,
|
|
4933
|
+
downloadIcon: sp
|
|
4934
|
+
}, ap = {
|
|
4935
|
+
$style: rp
|
|
4936
|
+
}, op = /* @__PURE__ */ Me(Yh, [["__cssModules", ap]]), up = ["src"], lp = { class: "duration" }, cp = ["value", "aria-valuetext", "aria-label"], dp = { class: "buttons" }, fp = ["aria-label"], hp = ["aria-label"], pp = ["href"], mp = /* @__PURE__ */ me({
|
|
4935
4937
|
__name: "AudioMessage",
|
|
4936
4938
|
setup(t) {
|
|
4937
4939
|
const { message: e, config: i } = lt(), n = Je(), s = ce(), r = ce(), a = ce(!1), o = ce(0), u = ce(0), l = ce(0), c = w(() => dt(e, i)), d = w(() => {
|
|
@@ -5008,7 +5010,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
5008
5010
|
onLoadedmetadata: k,
|
|
5009
5011
|
onEnded: M,
|
|
5010
5012
|
style: { display: "none" }
|
|
5011
|
-
}, null, 40,
|
|
5013
|
+
}, null, 40, up),
|
|
5012
5014
|
W("div", {
|
|
5013
5015
|
class: N(T(n).audioWrapper),
|
|
5014
5016
|
"data-testid": "audio-controls"
|
|
@@ -5016,7 +5018,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
5016
5018
|
W("div", {
|
|
5017
5019
|
class: N(T(n).controls)
|
|
5018
5020
|
}, [
|
|
5019
|
-
W("div",
|
|
5021
|
+
W("div", lp, [
|
|
5020
5022
|
W("time", null, fi(h.value), 1)
|
|
5021
5023
|
]),
|
|
5022
5024
|
W("div", {
|
|
@@ -5036,16 +5038,16 @@ const jf = /* @__PURE__ */ me({
|
|
|
5036
5038
|
onInput: j,
|
|
5037
5039
|
onMouseup: ee,
|
|
5038
5040
|
onTouchend: ee
|
|
5039
|
-
}, null, 44,
|
|
5041
|
+
}, null, 44, cp)
|
|
5040
5042
|
], 2),
|
|
5041
|
-
W("div",
|
|
5043
|
+
W("div", dp, [
|
|
5042
5044
|
W("button", {
|
|
5043
5045
|
class: N(T(n).playButton),
|
|
5044
5046
|
"aria-label": a.value ? p.value : _.value,
|
|
5045
5047
|
onClick: F
|
|
5046
5048
|
}, [
|
|
5047
|
-
a.value ? (B(), pe(T(
|
|
5048
|
-
], 10,
|
|
5049
|
+
a.value ? (B(), pe(T(yh), { key: 0 })) : (B(), pe(T(gh), { key: 1 }))
|
|
5050
|
+
], 10, fp)
|
|
5049
5051
|
])
|
|
5050
5052
|
], 2),
|
|
5051
5053
|
d.value.altText ? (B(), q("button", {
|
|
@@ -5056,7 +5058,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
5056
5058
|
onClick: se
|
|
5057
5059
|
}, [
|
|
5058
5060
|
We(T(os))
|
|
5059
|
-
], 10,
|
|
5061
|
+
], 10, hp)) : Q("", !0),
|
|
5060
5062
|
d.value.altText ? (B(), q("a", {
|
|
5061
5063
|
key: 1,
|
|
5062
5064
|
ref_key: "downloadLinkRef",
|
|
@@ -5065,20 +5067,20 @@ const jf = /* @__PURE__ */ me({
|
|
|
5065
5067
|
download: "audio-transcript.txt",
|
|
5066
5068
|
style: { display: "none" },
|
|
5067
5069
|
"aria-hidden": "true"
|
|
5068
|
-
}, null, 8,
|
|
5070
|
+
}, null, 8, pp)) : Q("", !0)
|
|
5069
5071
|
], 2)
|
|
5070
5072
|
], 2)) : Q("", !0);
|
|
5071
5073
|
}
|
|
5072
|
-
}),
|
|
5073
|
-
wrapper:
|
|
5074
|
-
audioWrapper:
|
|
5075
|
-
controls:
|
|
5076
|
-
downloadButton:
|
|
5077
|
-
playButton:
|
|
5078
|
-
progressBar:
|
|
5079
|
-
},
|
|
5080
|
-
$style:
|
|
5081
|
-
},
|
|
5074
|
+
}), gp = "_wrapper_1o32z_2", bp = "_audioWrapper_1o32z_9", yp = "_controls_1o32z_25", vp = "_downloadButton_1o32z_34", _p = "_playButton_1o32z_52", xp = "_progressBar_1o32z_76", Cp = {
|
|
5075
|
+
wrapper: gp,
|
|
5076
|
+
audioWrapper: bp,
|
|
5077
|
+
controls: yp,
|
|
5078
|
+
downloadButton: vp,
|
|
5079
|
+
playButton: _p,
|
|
5080
|
+
progressBar: xp
|
|
5081
|
+
}, wp = {
|
|
5082
|
+
$style: Cp
|
|
5083
|
+
}, Ep = /* @__PURE__ */ Me(mp, [["__cssModules", wp]]), Ap = ["aria-posinset", "aria-setsize"], Sp = /* @__PURE__ */ me({
|
|
5082
5084
|
__name: "ActionButtons",
|
|
5083
5085
|
props: {
|
|
5084
5086
|
payload: {},
|
|
@@ -5094,6 +5096,7 @@ const jf = /* @__PURE__ */ me({
|
|
|
5094
5096
|
dataMessageId: { default: void 0 },
|
|
5095
5097
|
onEmitAnalytics: { type: Function, default: void 0 },
|
|
5096
5098
|
size: { default: "small" },
|
|
5099
|
+
variant: { default: "primary" },
|
|
5097
5100
|
templateTextId: { default: void 0 },
|
|
5098
5101
|
openXAppOverlay: { type: Function, default: void 0 }
|
|
5099
5102
|
},
|
|
@@ -5133,11 +5136,12 @@ const jf = /* @__PURE__ */ me({
|
|
|
5133
5136
|
config: t.config,
|
|
5134
5137
|
"on-emit-analytics": t.onEmitAnalytics,
|
|
5135
5138
|
size: t.size,
|
|
5139
|
+
variant: t.variant,
|
|
5136
5140
|
"data-message-id": t.dataMessageId,
|
|
5137
5141
|
"class-name": t.buttonClassName,
|
|
5138
5142
|
"open-x-app-overlay": t.openXAppOverlay
|
|
5139
|
-
}, null, 8, ["id", "button", "action", "disabled", "position", "total", "custom-icon", "show-url-icon", "config", "on-emit-analytics", "size", "data-message-id", "class-name", "open-x-app-overlay"])
|
|
5140
|
-
], 10,
|
|
5143
|
+
}, null, 8, ["id", "button", "action", "disabled", "position", "total", "custom-icon", "show-url-icon", "config", "on-emit-analytics", "size", "variant", "data-message-id", "class-name", "open-x-app-overlay"])
|
|
5144
|
+
], 10, Ap))), 128)) : (B(!0), q(Pi, { key: 1 }, Di(s.value, (l, c) => (B(), pe(br, {
|
|
5141
5145
|
id: `${T(n)}-${c}`,
|
|
5142
5146
|
key: `${T(n)}-${c}`,
|
|
5143
5147
|
button: l,
|
|
@@ -5150,19 +5154,20 @@ const jf = /* @__PURE__ */ me({
|
|
|
5150
5154
|
config: t.config,
|
|
5151
5155
|
"on-emit-analytics": t.onEmitAnalytics,
|
|
5152
5156
|
size: t.size,
|
|
5157
|
+
variant: t.variant,
|
|
5153
5158
|
"data-message-id": t.dataMessageId,
|
|
5154
5159
|
"class-name": t.buttonClassName,
|
|
5155
5160
|
"open-x-app-overlay": t.openXAppOverlay
|
|
5156
|
-
}, null, 8, ["id", "button", "action", "disabled", "position", "total", "custom-icon", "show-url-icon", "config", "on-emit-analytics", "size", "data-message-id", "class-name", "open-x-app-overlay"]))), 128))
|
|
5161
|
+
}, null, 8, ["id", "button", "action", "disabled", "position", "total", "custom-icon", "show-url-icon", "config", "on-emit-analytics", "size", "variant", "data-message-id", "class-name", "open-x-app-overlay"]))), 128))
|
|
5157
5162
|
]),
|
|
5158
5163
|
_: 1
|
|
5159
5164
|
}, 8, ["class", "style", "aria-labelledby"])) : Q("", !0);
|
|
5160
5165
|
}
|
|
5161
|
-
}),
|
|
5162
|
-
buttons:
|
|
5163
|
-
},
|
|
5164
|
-
$style:
|
|
5165
|
-
}, Cs = /* @__PURE__ */ Me(
|
|
5166
|
+
}), kp = "_buttons_1ohyn_2", Ip = {
|
|
5167
|
+
buttons: kp
|
|
5168
|
+
}, Tp = {
|
|
5169
|
+
$style: Ip
|
|
5170
|
+
}, Cs = /* @__PURE__ */ Me(Sp, [["__cssModules", Tp]]), Pp = /* @__PURE__ */ me({
|
|
5166
5171
|
__name: "TextWithButtons",
|
|
5167
5172
|
setup(t) {
|
|
5168
5173
|
const { message: e, config: i, action: n, onEmitAnalytics: s, messageParams: r, openXAppOverlay: a } = lt(), o = Je(), u = w(() => dt(e, i)), l = w(() => u.value?.message?.attachment), c = w(() => l.value?.payload?.text || u.value?.message?.text || ""), d = w(() => {
|
|
@@ -5198,14 +5203,14 @@ const jf = /* @__PURE__ */ me({
|
|
|
5198
5203
|
}, null, 8, ["payload", "action", "buttonClassName", "containerClassName", "containerStyle", "config", "onEmitAnalytics", "templateTextId", "openXAppOverlay"])) : Q("", !0)
|
|
5199
5204
|
], 2));
|
|
5200
5205
|
}
|
|
5201
|
-
}),
|
|
5202
|
-
buttons:
|
|
5203
|
-
button:
|
|
5204
|
-
incoming:
|
|
5205
|
-
outgoing:
|
|
5206
|
-
},
|
|
5207
|
-
$style:
|
|
5208
|
-
},
|
|
5206
|
+
}), Dp = "_buttons_8qai3_2", Mp = "_button_8qai3_2", Lp = "_incoming_8qai3_15", Fp = "_outgoing_8qai3_19", Op = {
|
|
5207
|
+
buttons: Dp,
|
|
5208
|
+
button: Mp,
|
|
5209
|
+
incoming: Lp,
|
|
5210
|
+
outgoing: Fp
|
|
5211
|
+
}, Bp = {
|
|
5212
|
+
$style: Op
|
|
5213
|
+
}, Rp = /* @__PURE__ */ Me(Pp, [["__cssModules", Bp]]);
|
|
5209
5214
|
function Za(t) {
|
|
5210
5215
|
return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
|
|
5211
5216
|
}
|
|
@@ -5275,7 +5280,7 @@ function ti() {
|
|
|
5275
5280
|
const t = typeof document < "u" ? document : {};
|
|
5276
5281
|
return Hr(t, ou), t;
|
|
5277
5282
|
}
|
|
5278
|
-
const
|
|
5283
|
+
const Np = {
|
|
5279
5284
|
document: ou,
|
|
5280
5285
|
navigator: {
|
|
5281
5286
|
userAgent: ""
|
|
@@ -5335,12 +5340,12 @@ const Rp = {
|
|
|
5335
5340
|
};
|
|
5336
5341
|
function rt() {
|
|
5337
5342
|
const t = typeof window < "u" ? window : {};
|
|
5338
|
-
return Hr(t,
|
|
5343
|
+
return Hr(t, Np), t;
|
|
5339
5344
|
}
|
|
5340
|
-
function
|
|
5345
|
+
function zp(t) {
|
|
5341
5346
|
return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
|
|
5342
5347
|
}
|
|
5343
|
-
function
|
|
5348
|
+
function Vp(t) {
|
|
5344
5349
|
const e = t;
|
|
5345
5350
|
Object.keys(e).forEach((i) => {
|
|
5346
5351
|
try {
|
|
@@ -5359,29 +5364,29 @@ function uu(t, e) {
|
|
|
5359
5364
|
function us() {
|
|
5360
5365
|
return Date.now();
|
|
5361
5366
|
}
|
|
5362
|
-
function
|
|
5367
|
+
function Hp(t) {
|
|
5363
5368
|
const e = rt();
|
|
5364
5369
|
let i;
|
|
5365
5370
|
return e.getComputedStyle && (i = e.getComputedStyle(t, null)), !i && t.currentStyle && (i = t.currentStyle), i || (i = t.style), i;
|
|
5366
5371
|
}
|
|
5367
|
-
function
|
|
5372
|
+
function $p(t, e) {
|
|
5368
5373
|
e === void 0 && (e = "x");
|
|
5369
5374
|
const i = rt();
|
|
5370
5375
|
let n, s, r;
|
|
5371
|
-
const a =
|
|
5376
|
+
const a = Hp(t);
|
|
5372
5377
|
return i.WebKitCSSMatrix ? (s = a.transform || a.webkitTransform, s.split(",").length > 6 && (s = s.split(", ").map((o) => o.replace(",", ".")).join(", ")), r = new i.WebKitCSSMatrix(s === "none" ? "" : s)) : (r = a.MozTransform || a.OTransform || a.MsTransform || a.msTransform || a.transform || a.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = r.toString().split(",")), e === "x" && (i.WebKitCSSMatrix ? s = r.m41 : n.length === 16 ? s = parseFloat(n[12]) : s = parseFloat(n[4])), e === "y" && (i.WebKitCSSMatrix ? s = r.m42 : n.length === 16 ? s = parseFloat(n[13]) : s = parseFloat(n[5])), s || 0;
|
|
5373
5378
|
}
|
|
5374
5379
|
function Zn(t) {
|
|
5375
5380
|
return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
|
|
5376
5381
|
}
|
|
5377
|
-
function
|
|
5382
|
+
function Wp(t) {
|
|
5378
5383
|
return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
|
|
5379
5384
|
}
|
|
5380
5385
|
function ct() {
|
|
5381
5386
|
const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
|
|
5382
5387
|
for (let i = 1; i < arguments.length; i += 1) {
|
|
5383
5388
|
const n = i < 0 || arguments.length <= i ? void 0 : arguments[i];
|
|
5384
|
-
if (n != null &&
|
|
5389
|
+
if (n != null && !Wp(n)) {
|
|
5385
5390
|
const s = Object.keys(Object(n)).filter((r) => e.indexOf(r) < 0);
|
|
5386
5391
|
for (let r = 0, a = s.length; r < a; r += 1) {
|
|
5387
5392
|
const o = s[r], u = Object.getOwnPropertyDescriptor(n, o);
|
|
@@ -5427,7 +5432,7 @@ function Ht(t, e) {
|
|
|
5427
5432
|
const i = rt(), n = [...t.children];
|
|
5428
5433
|
return i.HTMLSlotElement && t instanceof HTMLSlotElement && n.push(...t.assignedElements()), e ? n.filter((s) => s.matches(e)) : n;
|
|
5429
5434
|
}
|
|
5430
|
-
function
|
|
5435
|
+
function qp(t, e) {
|
|
5431
5436
|
const i = [e];
|
|
5432
5437
|
for (; i.length > 0; ) {
|
|
5433
5438
|
const n = i.shift();
|
|
@@ -5436,10 +5441,10 @@ function Wp(t, e) {
|
|
|
5436
5441
|
i.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
|
|
5437
5442
|
}
|
|
5438
5443
|
}
|
|
5439
|
-
function
|
|
5444
|
+
function Up(t, e) {
|
|
5440
5445
|
const i = rt();
|
|
5441
5446
|
let n = e.contains(t);
|
|
5442
|
-
return !n && i.HTMLSlotElement && e instanceof HTMLSlotElement && (n = [...e.assignedElements()].includes(t), n || (n =
|
|
5447
|
+
return !n && i.HTMLSlotElement && e instanceof HTMLSlotElement && (n = [...e.assignedElements()].includes(t), n || (n = qp(t, e))), n;
|
|
5443
5448
|
}
|
|
5444
5449
|
function ls(t) {
|
|
5445
5450
|
try {
|
|
@@ -5451,9 +5456,9 @@ function ls(t) {
|
|
|
5451
5456
|
function Sn(t, e) {
|
|
5452
5457
|
e === void 0 && (e = []);
|
|
5453
5458
|
const i = document.createElement(t);
|
|
5454
|
-
return i.classList.add(...Array.isArray(e) ? e :
|
|
5459
|
+
return i.classList.add(...Array.isArray(e) ? e : zp(e)), i;
|
|
5455
5460
|
}
|
|
5456
|
-
function
|
|
5461
|
+
function Gp(t, e) {
|
|
5457
5462
|
const i = [];
|
|
5458
5463
|
for (; t.previousElementSibling; ) {
|
|
5459
5464
|
const n = t.previousElementSibling;
|
|
@@ -5461,7 +5466,7 @@ function Up(t, e) {
|
|
|
5461
5466
|
}
|
|
5462
5467
|
return i;
|
|
5463
5468
|
}
|
|
5464
|
-
function
|
|
5469
|
+
function jp(t, e) {
|
|
5465
5470
|
const i = [];
|
|
5466
5471
|
for (; t.nextElementSibling; ) {
|
|
5467
5472
|
const n = t.nextElementSibling;
|
|
@@ -5500,7 +5505,7 @@ function In(t, e) {
|
|
|
5500
5505
|
}).createHTML(e) : t.innerHTML = e;
|
|
5501
5506
|
}
|
|
5502
5507
|
let Ks;
|
|
5503
|
-
function
|
|
5508
|
+
function Jp() {
|
|
5504
5509
|
const t = rt(), e = ti();
|
|
5505
5510
|
return {
|
|
5506
5511
|
smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
|
|
@@ -5508,10 +5513,10 @@ function jp() {
|
|
|
5508
5513
|
};
|
|
5509
5514
|
}
|
|
5510
5515
|
function du() {
|
|
5511
|
-
return Ks || (Ks =
|
|
5516
|
+
return Ks || (Ks = Jp()), Ks;
|
|
5512
5517
|
}
|
|
5513
5518
|
let Qs;
|
|
5514
|
-
function
|
|
5519
|
+
function Xp(t) {
|
|
5515
5520
|
let {
|
|
5516
5521
|
userAgent: e
|
|
5517
5522
|
} = t === void 0 ? {} : t;
|
|
@@ -5526,10 +5531,10 @@ function Jp(t) {
|
|
|
5526
5531
|
return !c && f && i.touch && b.indexOf(`${o}x${u}`) >= 0 && (c = r.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), f = !1), l && !m && (a.os = "android", a.android = !0), (c || h || d) && (a.os = "ios", a.ios = !0), a;
|
|
5527
5532
|
}
|
|
5528
5533
|
function fu(t) {
|
|
5529
|
-
return t === void 0 && (t = {}), Qs || (Qs =
|
|
5534
|
+
return t === void 0 && (t = {}), Qs || (Qs = Xp(t)), Qs;
|
|
5530
5535
|
}
|
|
5531
5536
|
let er;
|
|
5532
|
-
function
|
|
5537
|
+
function Zp() {
|
|
5533
5538
|
const t = rt(), e = fu();
|
|
5534
5539
|
let i = !1;
|
|
5535
5540
|
function n() {
|
|
@@ -5552,9 +5557,9 @@ function Xp() {
|
|
|
5552
5557
|
};
|
|
5553
5558
|
}
|
|
5554
5559
|
function hu() {
|
|
5555
|
-
return er || (er =
|
|
5560
|
+
return er || (er = Zp()), er;
|
|
5556
5561
|
}
|
|
5557
|
-
function
|
|
5562
|
+
function Yp(t) {
|
|
5558
5563
|
let {
|
|
5559
5564
|
swiper: e,
|
|
5560
5565
|
on: i,
|
|
@@ -5597,7 +5602,7 @@ function Zp(t) {
|
|
|
5597
5602
|
l(), s.removeEventListener("resize", o), s.removeEventListener("orientationchange", c);
|
|
5598
5603
|
});
|
|
5599
5604
|
}
|
|
5600
|
-
function
|
|
5605
|
+
function Kp(t) {
|
|
5601
5606
|
let {
|
|
5602
5607
|
swiper: e,
|
|
5603
5608
|
extendParams: i,
|
|
@@ -5646,7 +5651,7 @@ function Yp(t) {
|
|
|
5646
5651
|
observeSlideChildren: !1
|
|
5647
5652
|
}), n("init", u), n("destroy", l);
|
|
5648
5653
|
}
|
|
5649
|
-
var
|
|
5654
|
+
var Qp = {
|
|
5650
5655
|
on(t, e, i) {
|
|
5651
5656
|
const n = this;
|
|
5652
5657
|
if (!n.eventsListeners || n.destroyed || typeof e != "function") return n;
|
|
@@ -5701,7 +5706,7 @@ var Kp = {
|
|
|
5701
5706
|
}), t;
|
|
5702
5707
|
}
|
|
5703
5708
|
};
|
|
5704
|
-
function
|
|
5709
|
+
function e0() {
|
|
5705
5710
|
const t = this;
|
|
5706
5711
|
let e, i;
|
|
5707
5712
|
const n = t.el;
|
|
@@ -5711,7 +5716,7 @@ function Qp() {
|
|
|
5711
5716
|
size: t.isHorizontal() ? e : i
|
|
5712
5717
|
}));
|
|
5713
5718
|
}
|
|
5714
|
-
function
|
|
5719
|
+
function t0() {
|
|
5715
5720
|
const t = this;
|
|
5716
5721
|
function e(M, F) {
|
|
5717
5722
|
return parseFloat(M.getPropertyValue(t.getDirectionLabel(F)) || 0);
|
|
@@ -5829,7 +5834,7 @@ function e0() {
|
|
|
5829
5834
|
d <= i.maxBackfaceHiddenSlides ? F || t.el.classList.add(M) : F && t.el.classList.remove(M);
|
|
5830
5835
|
}
|
|
5831
5836
|
}
|
|
5832
|
-
function
|
|
5837
|
+
function i0(t) {
|
|
5833
5838
|
const e = this, i = [], n = e.virtual && e.params.virtual.enabled;
|
|
5834
5839
|
let s = 0, r;
|
|
5835
5840
|
typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
|
|
@@ -5854,7 +5859,7 @@ function t0(t) {
|
|
|
5854
5859
|
}
|
|
5855
5860
|
(s || s === 0) && (e.wrapperEl.style.height = `${s}px`);
|
|
5856
5861
|
}
|
|
5857
|
-
function
|
|
5862
|
+
function n0() {
|
|
5858
5863
|
const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
|
|
5859
5864
|
for (let n = 0; n < e.length; n += 1)
|
|
5860
5865
|
e[n].swiperSlideOffset = (t.isHorizontal() ? e[n].offsetLeft : e[n].offsetTop) - i - t.cssOverflowAdjustment();
|
|
@@ -5862,7 +5867,7 @@ function i0() {
|
|
|
5862
5867
|
const Ya = (t, e, i) => {
|
|
5863
5868
|
e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
|
|
5864
5869
|
};
|
|
5865
|
-
function
|
|
5870
|
+
function s0(t) {
|
|
5866
5871
|
t === void 0 && (t = this && this.translate || 0);
|
|
5867
5872
|
const e = this, i = e.params, {
|
|
5868
5873
|
slides: n,
|
|
@@ -5883,7 +5888,7 @@ function n0(t) {
|
|
|
5883
5888
|
E && (e.visibleSlides.push(l), e.visibleSlidesIndexes.push(u)), Ya(l, E, i.slideVisibleClass), Ya(l, b, i.slideFullyVisibleClass), l.progress = s ? -d : d, l.originalProgress = s ? -h : h;
|
|
5884
5889
|
}
|
|
5885
5890
|
}
|
|
5886
|
-
function
|
|
5891
|
+
function r0(t) {
|
|
5887
5892
|
const e = this;
|
|
5888
5893
|
if (typeof t > "u") {
|
|
5889
5894
|
const c = e.rtlTranslate ? -1 : 1;
|
|
@@ -5918,7 +5923,7 @@ function s0(t) {
|
|
|
5918
5923
|
const tr = (t, e, i) => {
|
|
5919
5924
|
e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
|
|
5920
5925
|
};
|
|
5921
|
-
function
|
|
5926
|
+
function a0() {
|
|
5922
5927
|
const t = this, {
|
|
5923
5928
|
slides: e,
|
|
5924
5929
|
params: i,
|
|
@@ -5934,7 +5939,7 @@ function r0() {
|
|
|
5934
5939
|
u = o(`[data-swiper-slide-index="${s}"]`);
|
|
5935
5940
|
else
|
|
5936
5941
|
a ? (u = e.find((d) => d.column === s), c = e.find((d) => d.column === s + 1), l = e.find((d) => d.column === s - 1)) : u = e[s];
|
|
5937
|
-
u && (a || (c =
|
|
5942
|
+
u && (a || (c = jp(u, `.${i.slideClass}, swiper-slide`)[0], i.loop && !c && (c = e[0]), l = Gp(u, `.${i.slideClass}, swiper-slide`)[0], i.loop && !l === 0 && (l = e[e.length - 1]))), e.forEach((d) => {
|
|
5938
5943
|
tr(d, d === u, i.slideActiveClass), tr(d, d === c, i.slideNextClass), tr(d, d === l, i.slidePrevClass);
|
|
5939
5944
|
}), t.emitSlidesClasses();
|
|
5940
5945
|
}
|
|
@@ -5977,7 +5982,7 @@ const ts = (t, e) => {
|
|
|
5977
5982
|
for (let a = Math.max(s - e, 0); a <= Math.min(r + e, i - 1); a += 1)
|
|
5978
5983
|
a !== s && (a > r || a < s) && ir(t, a);
|
|
5979
5984
|
};
|
|
5980
|
-
function
|
|
5985
|
+
function o0(t) {
|
|
5981
5986
|
const {
|
|
5982
5987
|
slidesGrid: e,
|
|
5983
5988
|
params: i
|
|
@@ -5987,7 +5992,7 @@ function a0(t) {
|
|
|
5987
5992
|
typeof e[r + 1] < "u" ? n >= e[r] && n < e[r + 1] - (e[r + 1] - e[r]) / 2 ? s = r : n >= e[r] && n < e[r + 1] && (s = r + 1) : n >= e[r] && (s = r);
|
|
5988
5993
|
return i.normalizeSlideIndex && (s < 0 || typeof s > "u") && (s = 0), s;
|
|
5989
5994
|
}
|
|
5990
|
-
function
|
|
5995
|
+
function u0(t) {
|
|
5991
5996
|
const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
|
|
5992
5997
|
snapGrid: n,
|
|
5993
5998
|
params: s,
|
|
@@ -6000,7 +6005,7 @@ function o0(t) {
|
|
|
6000
6005
|
let f = m - e.virtual.slidesBefore;
|
|
6001
6006
|
return f < 0 && (f = e.virtual.slides.length + f), f >= e.virtual.slides.length && (f -= e.virtual.slides.length), f;
|
|
6002
6007
|
};
|
|
6003
|
-
if (typeof u > "u" && (u =
|
|
6008
|
+
if (typeof u > "u" && (u = o0(e)), n.indexOf(i) >= 0)
|
|
6004
6009
|
l = n.indexOf(i);
|
|
6005
6010
|
else {
|
|
6006
6011
|
const m = Math.min(s.slidesPerGroupSkip, u);
|
|
@@ -6036,7 +6041,7 @@ function o0(t) {
|
|
|
6036
6041
|
activeIndex: u
|
|
6037
6042
|
}), e.initialized && vr(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (a !== h && e.emit("realIndexChange"), e.emit("slideChange"));
|
|
6038
6043
|
}
|
|
6039
|
-
function
|
|
6044
|
+
function l0(t, e) {
|
|
6040
6045
|
const i = this, n = i.params;
|
|
6041
6046
|
let s = t.closest(`.${n.slideClass}, swiper-slide`);
|
|
6042
6047
|
!s && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((o) => {
|
|
@@ -6058,18 +6063,18 @@ function u0(t, e) {
|
|
|
6058
6063
|
}
|
|
6059
6064
|
n.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
|
|
6060
6065
|
}
|
|
6061
|
-
var
|
|
6062
|
-
updateSize:
|
|
6063
|
-
updateSlides:
|
|
6064
|
-
updateAutoHeight:
|
|
6065
|
-
updateSlidesOffset:
|
|
6066
|
-
updateSlidesProgress:
|
|
6067
|
-
updateProgress:
|
|
6068
|
-
updateSlidesClasses:
|
|
6069
|
-
updateActiveIndex:
|
|
6070
|
-
updateClickedSlide:
|
|
6066
|
+
var c0 = {
|
|
6067
|
+
updateSize: e0,
|
|
6068
|
+
updateSlides: t0,
|
|
6069
|
+
updateAutoHeight: i0,
|
|
6070
|
+
updateSlidesOffset: n0,
|
|
6071
|
+
updateSlidesProgress: s0,
|
|
6072
|
+
updateProgress: r0,
|
|
6073
|
+
updateSlidesClasses: a0,
|
|
6074
|
+
updateActiveIndex: u0,
|
|
6075
|
+
updateClickedSlide: l0
|
|
6071
6076
|
};
|
|
6072
|
-
function
|
|
6077
|
+
function d0(t) {
|
|
6073
6078
|
t === void 0 && (t = this.isHorizontal() ? "x" : "y");
|
|
6074
6079
|
const e = this, {
|
|
6075
6080
|
params: i,
|
|
@@ -6081,10 +6086,10 @@ function c0(t) {
|
|
|
6081
6086
|
return n ? -s : s;
|
|
6082
6087
|
if (i.cssMode)
|
|
6083
6088
|
return s;
|
|
6084
|
-
let a =
|
|
6089
|
+
let a = $p(r, t);
|
|
6085
6090
|
return a += e.cssOverflowAdjustment(), n && (a = -a), a || 0;
|
|
6086
6091
|
}
|
|
6087
|
-
function
|
|
6092
|
+
function f0(t, e) {
|
|
6088
6093
|
const i = this, {
|
|
6089
6094
|
rtlTranslate: n,
|
|
6090
6095
|
params: s,
|
|
@@ -6098,13 +6103,13 @@ function d0(t, e) {
|
|
|
6098
6103
|
const d = i.maxTranslate() - i.minTranslate();
|
|
6099
6104
|
d === 0 ? c = 0 : c = (t - i.minTranslate()) / d, c !== a && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
|
|
6100
6105
|
}
|
|
6101
|
-
function
|
|
6106
|
+
function h0() {
|
|
6102
6107
|
return -this.snapGrid[0];
|
|
6103
6108
|
}
|
|
6104
|
-
function
|
|
6109
|
+
function p0() {
|
|
6105
6110
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
6106
6111
|
}
|
|
6107
|
-
function
|
|
6112
|
+
function m0(t, e, i, n, s) {
|
|
6108
6113
|
t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), n === void 0 && (n = !0);
|
|
6109
6114
|
const r = this, {
|
|
6110
6115
|
params: a,
|
|
@@ -6136,14 +6141,14 @@ function p0(t, e, i, n, s) {
|
|
|
6136
6141
|
!r || r.destroyed || h.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
|
|
6137
6142
|
}), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
|
|
6138
6143
|
}
|
|
6139
|
-
var
|
|
6140
|
-
getTranslate:
|
|
6141
|
-
setTranslate:
|
|
6142
|
-
minTranslate:
|
|
6143
|
-
maxTranslate:
|
|
6144
|
-
translateTo:
|
|
6144
|
+
var g0 = {
|
|
6145
|
+
getTranslate: d0,
|
|
6146
|
+
setTranslate: f0,
|
|
6147
|
+
minTranslate: h0,
|
|
6148
|
+
maxTranslate: p0,
|
|
6149
|
+
translateTo: m0
|
|
6145
6150
|
};
|
|
6146
|
-
function
|
|
6151
|
+
function b0(t, e) {
|
|
6147
6152
|
const i = this;
|
|
6148
6153
|
i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
|
|
6149
6154
|
}
|
|
@@ -6161,7 +6166,7 @@ function pu(t) {
|
|
|
6161
6166
|
let o = n;
|
|
6162
6167
|
o || (r > a ? o = "next" : r < a ? o = "prev" : o = "reset"), e.emit(`transition${s}`), i && o === "reset" ? e.emit(`slideResetTransition${s}`) : i && r !== a && (e.emit(`slideChangeTransition${s}`), o === "next" ? e.emit(`slideNextTransition${s}`) : e.emit(`slidePrevTransition${s}`));
|
|
6163
6168
|
}
|
|
6164
|
-
function
|
|
6169
|
+
function y0(t, e) {
|
|
6165
6170
|
t === void 0 && (t = !0);
|
|
6166
6171
|
const i = this, {
|
|
6167
6172
|
params: n
|
|
@@ -6173,7 +6178,7 @@ function b0(t, e) {
|
|
|
6173
6178
|
step: "Start"
|
|
6174
6179
|
}));
|
|
6175
6180
|
}
|
|
6176
|
-
function
|
|
6181
|
+
function v0(t, e) {
|
|
6177
6182
|
t === void 0 && (t = !0);
|
|
6178
6183
|
const i = this, {
|
|
6179
6184
|
params: n
|
|
@@ -6185,12 +6190,12 @@ function y0(t, e) {
|
|
|
6185
6190
|
step: "End"
|
|
6186
6191
|
}));
|
|
6187
6192
|
}
|
|
6188
|
-
var
|
|
6189
|
-
setTransition:
|
|
6190
|
-
transitionStart:
|
|
6191
|
-
transitionEnd:
|
|
6193
|
+
var _0 = {
|
|
6194
|
+
setTransition: b0,
|
|
6195
|
+
transitionStart: y0,
|
|
6196
|
+
transitionEnd: v0
|
|
6192
6197
|
};
|
|
6193
|
-
function
|
|
6198
|
+
function x0(t, e, i, n, s) {
|
|
6194
6199
|
t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
|
|
6195
6200
|
const r = this;
|
|
6196
6201
|
let a = t;
|
|
@@ -6252,7 +6257,7 @@ function _0(t, e, i, n, s) {
|
|
|
6252
6257
|
!r || r.destroyed || D.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, p));
|
|
6253
6258
|
}), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
|
|
6254
6259
|
}
|
|
6255
|
-
function
|
|
6260
|
+
function C0(t, e, i, n) {
|
|
6256
6261
|
t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
|
|
6257
6262
|
const s = this;
|
|
6258
6263
|
if (s.destroyed) return;
|
|
@@ -6294,7 +6299,7 @@ function x0(t, e, i, n) {
|
|
|
6294
6299
|
s.slideTo(a, e, i, n);
|
|
6295
6300
|
}), s;
|
|
6296
6301
|
}
|
|
6297
|
-
function
|
|
6302
|
+
function w0(t, e, i) {
|
|
6298
6303
|
e === void 0 && (e = !0);
|
|
6299
6304
|
const n = this, {
|
|
6300
6305
|
enabled: s,
|
|
@@ -6317,7 +6322,7 @@ function C0(t, e, i) {
|
|
|
6317
6322
|
}
|
|
6318
6323
|
return r.rewind && n.isEnd ? n.slideTo(0, t, e, i) : n.slideTo(n.activeIndex + u, t, e, i);
|
|
6319
6324
|
}
|
|
6320
|
-
function
|
|
6325
|
+
function E0(t, e, i) {
|
|
6321
6326
|
e === void 0 && (e = !0);
|
|
6322
6327
|
const n = this, {
|
|
6323
6328
|
params: s,
|
|
@@ -6358,13 +6363,13 @@ function w0(t, e, i) {
|
|
|
6358
6363
|
}), !0;
|
|
6359
6364
|
return n.slideTo(_, t, e, i);
|
|
6360
6365
|
}
|
|
6361
|
-
function
|
|
6366
|
+
function A0(t, e, i) {
|
|
6362
6367
|
e === void 0 && (e = !0);
|
|
6363
6368
|
const n = this;
|
|
6364
6369
|
if (!n.destroyed)
|
|
6365
6370
|
return typeof t > "u" && (t = n.params.speed), n.slideTo(n.activeIndex, t, e, i);
|
|
6366
6371
|
}
|
|
6367
|
-
function
|
|
6372
|
+
function S0(t, e, i, n) {
|
|
6368
6373
|
e === void 0 && (e = !0), n === void 0 && (n = 0.5);
|
|
6369
6374
|
const s = this;
|
|
6370
6375
|
if (s.destroyed) return;
|
|
@@ -6380,7 +6385,7 @@ function A0(t, e, i, n) {
|
|
|
6380
6385
|
}
|
|
6381
6386
|
return r = Math.max(r, 0), r = Math.min(r, s.slidesGrid.length - 1), s.slideTo(r, t, e, i);
|
|
6382
6387
|
}
|
|
6383
|
-
function
|
|
6388
|
+
function k0() {
|
|
6384
6389
|
const t = this;
|
|
6385
6390
|
if (t.destroyed) return;
|
|
6386
6391
|
const {
|
|
@@ -6397,16 +6402,16 @@ function S0() {
|
|
|
6397
6402
|
} else
|
|
6398
6403
|
t.slideTo(s);
|
|
6399
6404
|
}
|
|
6400
|
-
var
|
|
6401
|
-
slideTo:
|
|
6402
|
-
slideToLoop:
|
|
6403
|
-
slideNext:
|
|
6404
|
-
slidePrev:
|
|
6405
|
-
slideReset:
|
|
6406
|
-
slideToClosest:
|
|
6407
|
-
slideToClickedSlide:
|
|
6405
|
+
var I0 = {
|
|
6406
|
+
slideTo: x0,
|
|
6407
|
+
slideToLoop: C0,
|
|
6408
|
+
slideNext: w0,
|
|
6409
|
+
slidePrev: E0,
|
|
6410
|
+
slideReset: A0,
|
|
6411
|
+
slideToClosest: S0,
|
|
6412
|
+
slideToClickedSlide: k0
|
|
6408
6413
|
};
|
|
6409
|
-
function
|
|
6414
|
+
function T0(t, e) {
|
|
6410
6415
|
const i = this, {
|
|
6411
6416
|
params: n,
|
|
6412
6417
|
slidesEl: s
|
|
@@ -6451,7 +6456,7 @@ function I0(t, e) {
|
|
|
6451
6456
|
initial: e
|
|
6452
6457
|
});
|
|
6453
6458
|
}
|
|
6454
|
-
function
|
|
6459
|
+
function P0(t) {
|
|
6455
6460
|
let {
|
|
6456
6461
|
slideRealIndex: e,
|
|
6457
6462
|
slideTo: i = !0,
|
|
@@ -6558,7 +6563,7 @@ function T0(t) {
|
|
|
6558
6563
|
}
|
|
6559
6564
|
l.emit("loopFix");
|
|
6560
6565
|
}
|
|
6561
|
-
function
|
|
6566
|
+
function D0() {
|
|
6562
6567
|
const t = this, {
|
|
6563
6568
|
params: e,
|
|
6564
6569
|
slidesEl: i
|
|
@@ -6575,12 +6580,12 @@ function P0() {
|
|
|
6575
6580
|
i.append(s);
|
|
6576
6581
|
}), t.recalcSlides(), t.slideTo(t.realIndex, 0);
|
|
6577
6582
|
}
|
|
6578
|
-
var
|
|
6579
|
-
loopCreate:
|
|
6580
|
-
loopFix:
|
|
6581
|
-
loopDestroy:
|
|
6583
|
+
var M0 = {
|
|
6584
|
+
loopCreate: T0,
|
|
6585
|
+
loopFix: P0,
|
|
6586
|
+
loopDestroy: D0
|
|
6582
6587
|
};
|
|
6583
|
-
function
|
|
6588
|
+
function L0(t) {
|
|
6584
6589
|
const e = this;
|
|
6585
6590
|
if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
|
|
6586
6591
|
const i = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
|
|
@@ -6588,17 +6593,17 @@ function M0(t) {
|
|
|
6588
6593
|
e.__preventObserver__ = !1;
|
|
6589
6594
|
});
|
|
6590
6595
|
}
|
|
6591
|
-
function
|
|
6596
|
+
function F0() {
|
|
6592
6597
|
const t = this;
|
|
6593
6598
|
t.params.watchOverflow && t.isLocked || t.params.cssMode || (t.isElement && (t.__preventObserver__ = !0), t[t.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", t.isElement && requestAnimationFrame(() => {
|
|
6594
6599
|
t.__preventObserver__ = !1;
|
|
6595
6600
|
}));
|
|
6596
6601
|
}
|
|
6597
|
-
var
|
|
6598
|
-
setGrabCursor:
|
|
6599
|
-
unsetGrabCursor:
|
|
6602
|
+
var O0 = {
|
|
6603
|
+
setGrabCursor: L0,
|
|
6604
|
+
unsetGrabCursor: F0
|
|
6600
6605
|
};
|
|
6601
|
-
function
|
|
6606
|
+
function B0(t, e) {
|
|
6602
6607
|
e === void 0 && (e = this);
|
|
6603
6608
|
function i(n) {
|
|
6604
6609
|
if (!n || n === ti() || n === rt()) return null;
|
|
@@ -6614,7 +6619,7 @@ function Ka(t, e, i) {
|
|
|
6614
6619
|
} = t, r = s.edgeSwipeDetection, a = s.edgeSwipeThreshold;
|
|
6615
6620
|
return r && (i <= a || i >= n.innerWidth - a) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
|
|
6616
6621
|
}
|
|
6617
|
-
function
|
|
6622
|
+
function R0(t) {
|
|
6618
6623
|
const e = this, i = ti();
|
|
6619
6624
|
let n = t;
|
|
6620
6625
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -6637,11 +6642,11 @@ function B0(t) {
|
|
|
6637
6642
|
return;
|
|
6638
6643
|
!e.animating && r.cssMode && r.loop && e.loopFix();
|
|
6639
6644
|
let u = n.target;
|
|
6640
|
-
if (r.touchEventsTarget === "wrapper" && !
|
|
6645
|
+
if (r.touchEventsTarget === "wrapper" && !Up(u, e.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || s.isTouched && s.isMoved) return;
|
|
6641
6646
|
const l = !!r.noSwipingClass && r.noSwipingClass !== "", c = n.composedPath ? n.composedPath() : n.path;
|
|
6642
6647
|
l && n.target && n.target.shadowRoot && c && (u = c[0]);
|
|
6643
6648
|
const d = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, h = !!(n.target && n.target.shadowRoot);
|
|
6644
|
-
if (r.noSwiping && (h ?
|
|
6649
|
+
if (r.noSwiping && (h ? B0(d, u) : u.closest(d))) {
|
|
6645
6650
|
e.allowClick = !0;
|
|
6646
6651
|
return;
|
|
6647
6652
|
}
|
|
@@ -6663,7 +6668,7 @@ function B0(t) {
|
|
|
6663
6668
|
const E = b && e.allowTouchMove && r.touchStartPreventDefault;
|
|
6664
6669
|
(r.touchStartForcePreventDefault || E) && !u.isContentEditable && n.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", n);
|
|
6665
6670
|
}
|
|
6666
|
-
function
|
|
6671
|
+
function N0(t) {
|
|
6667
6672
|
const e = ti(), i = this, n = i.touchEventsData, {
|
|
6668
6673
|
params: s,
|
|
6669
6674
|
touches: r,
|
|
@@ -6779,7 +6784,7 @@ function R0(t) {
|
|
|
6779
6784
|
}
|
|
6780
6785
|
!s.followFinger || s.cssMode || ((s.freeMode && s.freeMode.enabled && i.freeMode || s.watchSlidesProgress) && (i.updateActiveIndex(), i.updateSlidesClasses()), s.freeMode && s.freeMode.enabled && i.freeMode && i.freeMode.onTouchMove(), i.updateProgress(n.currentTranslate), i.setTranslate(n.currentTranslate));
|
|
6781
6786
|
}
|
|
6782
|
-
function
|
|
6787
|
+
function z0(t) {
|
|
6783
6788
|
const e = this, i = e.touchEventsData;
|
|
6784
6789
|
let n = t;
|
|
6785
6790
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -6868,11 +6873,11 @@ function Qa() {
|
|
|
6868
6873
|
t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
|
|
6869
6874
|
}, 500)), t.allowSlidePrev = s, t.allowSlideNext = n, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
|
|
6870
6875
|
}
|
|
6871
|
-
function
|
|
6876
|
+
function V0(t) {
|
|
6872
6877
|
const e = this;
|
|
6873
6878
|
e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
|
|
6874
6879
|
}
|
|
6875
|
-
function
|
|
6880
|
+
function H0() {
|
|
6876
6881
|
const t = this, {
|
|
6877
6882
|
wrapperEl: e,
|
|
6878
6883
|
rtlTranslate: i,
|
|
@@ -6884,11 +6889,11 @@ function V0() {
|
|
|
6884
6889
|
const r = t.maxTranslate() - t.minTranslate();
|
|
6885
6890
|
r === 0 ? s = 0 : s = (t.translate - t.minTranslate()) / r, s !== t.progress && t.updateProgress(i ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
|
|
6886
6891
|
}
|
|
6887
|
-
function
|
|
6892
|
+
function $0(t) {
|
|
6888
6893
|
const e = this;
|
|
6889
6894
|
ts(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
|
|
6890
6895
|
}
|
|
6891
|
-
function
|
|
6896
|
+
function W0() {
|
|
6892
6897
|
const t = this;
|
|
6893
6898
|
t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
|
|
6894
6899
|
}
|
|
@@ -6930,21 +6935,21 @@ const mu = (t, e) => {
|
|
|
6930
6935
|
capture: !0
|
|
6931
6936
|
}));
|
|
6932
6937
|
};
|
|
6933
|
-
function
|
|
6938
|
+
function q0() {
|
|
6934
6939
|
const t = this, {
|
|
6935
6940
|
params: e
|
|
6936
6941
|
} = t;
|
|
6937
|
-
t.onTouchStart =
|
|
6942
|
+
t.onTouchStart = R0.bind(t), t.onTouchMove = N0.bind(t), t.onTouchEnd = z0.bind(t), t.onDocumentTouchStart = W0.bind(t), e.cssMode && (t.onScroll = H0.bind(t)), t.onClick = V0.bind(t), t.onLoad = $0.bind(t), mu(t, "on");
|
|
6938
6943
|
}
|
|
6939
|
-
function
|
|
6944
|
+
function U0() {
|
|
6940
6945
|
mu(this, "off");
|
|
6941
6946
|
}
|
|
6942
|
-
var
|
|
6943
|
-
attachEvents:
|
|
6944
|
-
detachEvents:
|
|
6947
|
+
var G0 = {
|
|
6948
|
+
attachEvents: q0,
|
|
6949
|
+
detachEvents: U0
|
|
6945
6950
|
};
|
|
6946
6951
|
const eo = (t, e) => t.grid && e.grid && e.grid.rows > 1;
|
|
6947
|
-
function
|
|
6952
|
+
function j0() {
|
|
6948
6953
|
const t = this, {
|
|
6949
6954
|
realIndex: e,
|
|
6950
6955
|
initialized: i,
|
|
@@ -6969,7 +6974,7 @@ function G0() {
|
|
|
6969
6974
|
allowSlidePrev: t.params.allowSlidePrev
|
|
6970
6975
|
}), E && !v ? t.disable() : !E && v && t.enable(), t.currentBreakpoint = l, t.emit("_beforeBreakpoint", d), i && (p ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !g && C ? (t.loopCreate(e), t.updateSlides()) : g && !C && t.loopDestroy()), t.emit("breakpoint", d);
|
|
6971
6976
|
}
|
|
6972
|
-
function
|
|
6977
|
+
function J0(t, e, i) {
|
|
6973
6978
|
if (e === void 0 && (e = "window"), !t || e === "container" && !i) return;
|
|
6974
6979
|
let n = !1;
|
|
6975
6980
|
const s = rt(), r = e === "window" ? s.innerHeight : i.clientHeight, a = Object.keys(t).map((o) => {
|
|
@@ -6995,11 +7000,11 @@ function j0(t, e, i) {
|
|
|
6995
7000
|
}
|
|
6996
7001
|
return n || "max";
|
|
6997
7002
|
}
|
|
6998
|
-
var
|
|
6999
|
-
setBreakpoint:
|
|
7000
|
-
getBreakpoint:
|
|
7003
|
+
var X0 = {
|
|
7004
|
+
setBreakpoint: j0,
|
|
7005
|
+
getBreakpoint: J0
|
|
7001
7006
|
};
|
|
7002
|
-
function
|
|
7007
|
+
function Z0(t, e) {
|
|
7003
7008
|
const i = [];
|
|
7004
7009
|
return t.forEach((n) => {
|
|
7005
7010
|
typeof n == "object" ? Object.keys(n).forEach((s) => {
|
|
@@ -7007,14 +7012,14 @@ function X0(t, e) {
|
|
|
7007
7012
|
}) : typeof n == "string" && i.push(e + n);
|
|
7008
7013
|
}), i;
|
|
7009
7014
|
}
|
|
7010
|
-
function
|
|
7015
|
+
function Y0() {
|
|
7011
7016
|
const t = this, {
|
|
7012
7017
|
classNames: e,
|
|
7013
7018
|
params: i,
|
|
7014
7019
|
rtl: n,
|
|
7015
7020
|
el: s,
|
|
7016
7021
|
device: r
|
|
7017
|
-
} = t, a =
|
|
7022
|
+
} = t, a = Z0(["initialized", i.direction, {
|
|
7018
7023
|
"free-mode": t.params.freeMode && i.freeMode.enabled
|
|
7019
7024
|
}, {
|
|
7020
7025
|
autoheight: i.autoHeight
|
|
@@ -7037,18 +7042,18 @@ function Z0() {
|
|
|
7037
7042
|
}], i.containerModifierClass);
|
|
7038
7043
|
e.push(...a), s.classList.add(...e), t.emitContainerClasses();
|
|
7039
7044
|
}
|
|
7040
|
-
function
|
|
7045
|
+
function K0() {
|
|
7041
7046
|
const t = this, {
|
|
7042
7047
|
el: e,
|
|
7043
7048
|
classNames: i
|
|
7044
7049
|
} = t;
|
|
7045
7050
|
!e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
|
|
7046
7051
|
}
|
|
7047
|
-
var
|
|
7048
|
-
addClasses:
|
|
7049
|
-
removeClasses:
|
|
7052
|
+
var Q0 = {
|
|
7053
|
+
addClasses: Y0,
|
|
7054
|
+
removeClasses: K0
|
|
7050
7055
|
};
|
|
7051
|
-
function
|
|
7056
|
+
function em() {
|
|
7052
7057
|
const t = this, {
|
|
7053
7058
|
isLocked: e,
|
|
7054
7059
|
params: i
|
|
@@ -7062,8 +7067,8 @@ function Q0() {
|
|
|
7062
7067
|
t.isLocked = t.snapGrid.length === 1;
|
|
7063
7068
|
i.allowSlideNext === !0 && (t.allowSlideNext = !t.isLocked), i.allowSlidePrev === !0 && (t.allowSlidePrev = !t.isLocked), e && e !== t.isLocked && (t.isEnd = !1), e !== t.isLocked && t.emit(t.isLocked ? "lock" : "unlock");
|
|
7064
7069
|
}
|
|
7065
|
-
var
|
|
7066
|
-
checkOverflow:
|
|
7070
|
+
var tm = {
|
|
7071
|
+
checkOverflow: em
|
|
7067
7072
|
}, _r = {
|
|
7068
7073
|
init: !0,
|
|
7069
7074
|
direction: "horizontal",
|
|
@@ -7185,7 +7190,7 @@ var em = {
|
|
|
7185
7190
|
// Internals
|
|
7186
7191
|
_emitClasses: !1
|
|
7187
7192
|
};
|
|
7188
|
-
function
|
|
7193
|
+
function im(t, e) {
|
|
7189
7194
|
return function(n) {
|
|
7190
7195
|
n === void 0 && (n = {});
|
|
7191
7196
|
const s = Object.keys(n)[0], r = n[s];
|
|
@@ -7205,17 +7210,17 @@ function tm(t, e) {
|
|
|
7205
7210
|
};
|
|
7206
7211
|
}
|
|
7207
7212
|
const nr = {
|
|
7208
|
-
eventsEmitter:
|
|
7209
|
-
update:
|
|
7210
|
-
translate:
|
|
7211
|
-
transition:
|
|
7212
|
-
slide:
|
|
7213
|
-
loop:
|
|
7214
|
-
grabCursor:
|
|
7215
|
-
events:
|
|
7216
|
-
breakpoints:
|
|
7217
|
-
checkOverflow:
|
|
7218
|
-
classes:
|
|
7213
|
+
eventsEmitter: Qp,
|
|
7214
|
+
update: c0,
|
|
7215
|
+
translate: g0,
|
|
7216
|
+
transition: _0,
|
|
7217
|
+
slide: I0,
|
|
7218
|
+
loop: M0,
|
|
7219
|
+
grabCursor: O0,
|
|
7220
|
+
events: G0,
|
|
7221
|
+
breakpoints: X0,
|
|
7222
|
+
checkOverflow: tm,
|
|
7223
|
+
classes: Q0
|
|
7219
7224
|
}, sr = {};
|
|
7220
7225
|
let $r = class Yt {
|
|
7221
7226
|
constructor() {
|
|
@@ -7242,7 +7247,7 @@ let $r = class Yt {
|
|
|
7242
7247
|
c({
|
|
7243
7248
|
params: i,
|
|
7244
7249
|
swiper: o,
|
|
7245
|
-
extendParams:
|
|
7250
|
+
extendParams: im(i, u),
|
|
7246
7251
|
on: o.on.bind(o),
|
|
7247
7252
|
once: o.once.bind(o),
|
|
7248
7253
|
off: o.off.bind(o),
|
|
@@ -7503,7 +7508,7 @@ let $r = class Yt {
|
|
|
7503
7508
|
u.classList.remove(s.slideVisibleClass, s.slideFullyVisibleClass, s.slideActiveClass, s.slideNextClass, s.slidePrevClass), u.removeAttribute("style"), u.removeAttribute("data-swiper-slide-index");
|
|
7504
7509
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((u) => {
|
|
7505
7510
|
n.off(u);
|
|
7506
|
-
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null),
|
|
7511
|
+
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), Vp(n)), n.destroyed = !0), null;
|
|
7507
7512
|
}
|
|
7508
7513
|
static extendDefaults(e) {
|
|
7509
7514
|
ct(sr, e);
|
|
@@ -7528,7 +7533,7 @@ Object.keys(nr).forEach((t) => {
|
|
|
7528
7533
|
$r.prototype[e] = nr[t][e];
|
|
7529
7534
|
});
|
|
7530
7535
|
});
|
|
7531
|
-
$r.use([
|
|
7536
|
+
$r.use([Yp, Kp]);
|
|
7532
7537
|
const gu = [
|
|
7533
7538
|
"eventsPrefix",
|
|
7534
7539
|
"injectStyles",
|
|
@@ -7673,10 +7678,10 @@ function _u(t) {
|
|
|
7673
7678
|
i.indexOf(n) < 0 && i.push(n);
|
|
7674
7679
|
}), i.join(" ");
|
|
7675
7680
|
}
|
|
7676
|
-
function
|
|
7681
|
+
function nm(t) {
|
|
7677
7682
|
return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
|
|
7678
7683
|
}
|
|
7679
|
-
function
|
|
7684
|
+
function sm(t) {
|
|
7680
7685
|
let {
|
|
7681
7686
|
swiper: e,
|
|
7682
7687
|
slides: i,
|
|
@@ -7727,7 +7732,7 @@ function to(t, e) {
|
|
|
7727
7732
|
events: n
|
|
7728
7733
|
};
|
|
7729
7734
|
}
|
|
7730
|
-
function
|
|
7735
|
+
function rm(t, e) {
|
|
7731
7736
|
let {
|
|
7732
7737
|
el: i,
|
|
7733
7738
|
nextEl: n,
|
|
@@ -7738,7 +7743,7 @@ function sm(t, e) {
|
|
|
7738
7743
|
} = t;
|
|
7739
7744
|
bu(e) && n && s && (o.params.navigation.nextEl = n, o.originalParams.navigation.nextEl = n, o.params.navigation.prevEl = s, o.originalParams.navigation.prevEl = s), yu(e) && r && (o.params.pagination.el = r, o.originalParams.pagination.el = r), vu(e) && a && (o.params.scrollbar.el = a, o.originalParams.scrollbar.el = a), o.init(i);
|
|
7740
7745
|
}
|
|
7741
|
-
function
|
|
7746
|
+
function am(t, e, i, n, s) {
|
|
7742
7747
|
const r = [];
|
|
7743
7748
|
if (!e) return r;
|
|
7744
7749
|
const a = (u) => {
|
|
@@ -7760,7 +7765,7 @@ function rm(t, e, i, n, s) {
|
|
|
7760
7765
|
} else t[u] !== e[u] && a(u);
|
|
7761
7766
|
}), r;
|
|
7762
7767
|
}
|
|
7763
|
-
const
|
|
7768
|
+
const om = (t) => {
|
|
7764
7769
|
!t || t.destroyed || !t.params.virtual || t.params.virtual && !t.params.virtual.enabled || (t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.emit("_virtualUpdated"), t.parallax && t.params.parallax && t.params.parallax.enabled && t.parallax.setTranslate());
|
|
7765
7770
|
};
|
|
7766
7771
|
function rr(t, e, i) {
|
|
@@ -7785,7 +7790,7 @@ function rr(t, e, i) {
|
|
|
7785
7790
|
slots: s
|
|
7786
7791
|
};
|
|
7787
7792
|
}
|
|
7788
|
-
function
|
|
7793
|
+
function um(t, e, i) {
|
|
7789
7794
|
if (!i) return null;
|
|
7790
7795
|
const n = (c) => {
|
|
7791
7796
|
let d = c;
|
|
@@ -7811,7 +7816,7 @@ function om(t, e, i) {
|
|
|
7811
7816
|
}, c.componentOptions.children);
|
|
7812
7817
|
});
|
|
7813
7818
|
}
|
|
7814
|
-
const
|
|
7819
|
+
const lm = {
|
|
7815
7820
|
name: "Swiper",
|
|
7816
7821
|
props: {
|
|
7817
7822
|
tag: {
|
|
@@ -8325,8 +8330,8 @@ const um = {
|
|
|
8325
8330
|
!l.value && d.value && (d.value.emitSlidesClasses(), l.value = !0);
|
|
8326
8331
|
const {
|
|
8327
8332
|
passedParams: D
|
|
8328
|
-
} = to(t), k =
|
|
8329
|
-
h.value = D, (k.length || u.value) && d.value && !d.value.destroyed &&
|
|
8333
|
+
} = to(t), k = am(D, h.value, m.value, f.value, (M) => M.props && M.props.key);
|
|
8334
|
+
h.value = D, (k.length || u.value) && d.value && !d.value.destroyed && sm({
|
|
8330
8335
|
swiper: d.value,
|
|
8331
8336
|
slides: m.value,
|
|
8332
8337
|
passedParams: D,
|
|
@@ -8338,10 +8343,10 @@ const um = {
|
|
|
8338
8343
|
}), u.value = !1;
|
|
8339
8344
|
}), gs("swiper", d), Io(o, () => {
|
|
8340
8345
|
ns(() => {
|
|
8341
|
-
|
|
8346
|
+
om(d.value);
|
|
8342
8347
|
});
|
|
8343
8348
|
}), qt(() => {
|
|
8344
|
-
c.value && (
|
|
8349
|
+
c.value && (rm({
|
|
8345
8350
|
el: c.value,
|
|
8346
8351
|
nextEl: b.value,
|
|
8347
8352
|
prevEl: E.value,
|
|
@@ -8353,7 +8358,7 @@ const um = {
|
|
|
8353
8358
|
d.value && !d.value.destroyed && d.value.destroy(!0, !1);
|
|
8354
8359
|
});
|
|
8355
8360
|
function R(D) {
|
|
8356
|
-
return g.virtual ?
|
|
8361
|
+
return g.virtual ? um(d, D, o.value) : (D.forEach((k, M) => {
|
|
8357
8362
|
k.props || (k.props = {}), k.props.swiperRef = d, k.props.swiperSlideIndex = M;
|
|
8358
8363
|
}), D);
|
|
8359
8364
|
}
|
|
@@ -8366,7 +8371,7 @@ const um = {
|
|
|
8366
8371
|
ref: c,
|
|
8367
8372
|
class: _u(a.value)
|
|
8368
8373
|
}, [k["container-start"], wt(r, {
|
|
8369
|
-
class:
|
|
8374
|
+
class: nm(g.wrapperClass)
|
|
8370
8375
|
}, [k["wrapper-start"], R(D), k["wrapper-end"]]), bu(t) && [wt("div", {
|
|
8371
8376
|
ref: E,
|
|
8372
8377
|
class: "swiper-button-prev"
|
|
@@ -8382,7 +8387,7 @@ const um = {
|
|
|
8382
8387
|
}), k["container-end"]]);
|
|
8383
8388
|
};
|
|
8384
8389
|
}
|
|
8385
|
-
},
|
|
8390
|
+
}, cm = {
|
|
8386
8391
|
name: "SwiperSlide",
|
|
8387
8392
|
props: {
|
|
8388
8393
|
tag: {
|
|
@@ -8465,7 +8470,7 @@ function xu(t, e, i, n) {
|
|
|
8465
8470
|
}
|
|
8466
8471
|
}), i;
|
|
8467
8472
|
}
|
|
8468
|
-
function
|
|
8473
|
+
function dm(t) {
|
|
8469
8474
|
let {
|
|
8470
8475
|
swiper: e,
|
|
8471
8476
|
extendParams: i,
|
|
@@ -8590,7 +8595,7 @@ function cm(t) {
|
|
|
8590
8595
|
function ai(t) {
|
|
8591
8596
|
return t === void 0 && (t = ""), `.${t.trim().replace(/([\.:!+\/()[\]])/g, "\\$1").replace(/ /g, ".")}`;
|
|
8592
8597
|
}
|
|
8593
|
-
function
|
|
8598
|
+
function fm(t) {
|
|
8594
8599
|
let {
|
|
8595
8600
|
swiper: e,
|
|
8596
8601
|
extendParams: i,
|
|
@@ -8811,7 +8816,7 @@ function dm(t) {
|
|
|
8811
8816
|
destroy: b
|
|
8812
8817
|
});
|
|
8813
8818
|
}
|
|
8814
|
-
function
|
|
8819
|
+
function hm(t) {
|
|
8815
8820
|
let {
|
|
8816
8821
|
swiper: e,
|
|
8817
8822
|
extendParams: i,
|
|
@@ -8996,7 +9001,7 @@ function fm(t) {
|
|
|
8996
9001
|
e.params.a11y.enabled && H();
|
|
8997
9002
|
});
|
|
8998
9003
|
}
|
|
8999
|
-
const
|
|
9004
|
+
const pm = ["src", "alt"], mm = ["role", "id", "aria-describedby", "aria-labelledby", "aria-label", "tabindex"], gm = /* @__PURE__ */ me({
|
|
9000
9005
|
__name: "GalleryItem",
|
|
9001
9006
|
props: {
|
|
9002
9007
|
slide: {},
|
|
@@ -9036,7 +9041,7 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9036
9041
|
alt: t.slide.image_alt_text || "",
|
|
9037
9042
|
onError: E,
|
|
9038
9043
|
onClick: _
|
|
9039
|
-
}, null, 40,
|
|
9044
|
+
}, null, 40, pm))
|
|
9040
9045
|
], 2),
|
|
9041
9046
|
p.value ? (B(), q("div", {
|
|
9042
9047
|
key: 0,
|
|
@@ -9069,22 +9074,22 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9069
9074
|
templateTextId: t.slide.title ? T(m) : void 0,
|
|
9070
9075
|
openXAppOverlay: T(o)
|
|
9071
9076
|
}, null, 8, ["payload", "action", "buttonClassName", "buttonListItemClassName", "config", "dataMessageId", "onEmitAnalytics", "templateTextId", "openXAppOverlay"])) : Q("", !0)
|
|
9072
|
-
], 42,
|
|
9077
|
+
], 42, mm)) : Q("", !0)
|
|
9073
9078
|
], 2));
|
|
9074
9079
|
}
|
|
9075
|
-
}),
|
|
9076
|
-
slideItem:
|
|
9077
|
-
top:
|
|
9078
|
-
bottom:
|
|
9079
|
-
brokenImage:
|
|
9080
|
-
hasExtraInfo:
|
|
9081
|
-
buttonListItem:
|
|
9082
|
-
},
|
|
9083
|
-
$style:
|
|
9084
|
-
}, io = /* @__PURE__ */ Me(
|
|
9080
|
+
}), bm = "_slideItem_106tj_2", ym = "_top_106tj_13", vm = "_bottom_106tj_18", _m = "_brokenImage_106tj_40", xm = "_hasExtraInfo_106tj_49", Cm = "_buttonListItem_106tj_69", wm = {
|
|
9081
|
+
slideItem: bm,
|
|
9082
|
+
top: ym,
|
|
9083
|
+
bottom: vm,
|
|
9084
|
+
brokenImage: _m,
|
|
9085
|
+
hasExtraInfo: xm,
|
|
9086
|
+
buttonListItem: Cm
|
|
9087
|
+
}, Em = {
|
|
9088
|
+
$style: wm
|
|
9089
|
+
}, io = /* @__PURE__ */ Me(gm, [["__cssModules", Em]]), Am = /* @__PURE__ */ me({
|
|
9085
9090
|
__name: "Gallery",
|
|
9086
9091
|
setup(t) {
|
|
9087
|
-
const e = Je(), i = [
|
|
9092
|
+
const e = Je(), i = [dm, fm, hm], { message: n, config: s, onSlideChange: r } = lt(), a = w(() => dt(n, s)), o = w(() => a.value?.message?.attachment?.payload?.elements || []), u = Mi("webchatCarouselContentButton"), l = w(() => To(n)), c = w(() => s?.settings?.layout?.galleryVariant ?? "default"), d = w(() => {
|
|
9088
9093
|
if (c.value === "compact") return e.compact;
|
|
9089
9094
|
if (c.value === "copilot") return e.copilot;
|
|
9090
9095
|
}), h = w(() => ["webchat-carousel-template-root", e.wrapper, d.value].filter(Boolean)), m = w(() => c.value === "compact" ? { width: "170px" } : c.value === "copilot" ? o.value.length === 1 ? { width: "260px" } : o.value.length === 2 ? { width: "220px" } : { width: "190px" } : { width: "206px" }), f = (E) => {
|
|
@@ -9117,7 +9122,7 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9117
9122
|
slide: o.value[0],
|
|
9118
9123
|
contentId: `${T(u)}-0`
|
|
9119
9124
|
}, null, 8, ["slide", "contentId"])
|
|
9120
|
-
], 2)) : (B(), pe(T(
|
|
9125
|
+
], 2)) : (B(), pe(T(lm), {
|
|
9121
9126
|
key: 1,
|
|
9122
9127
|
modules: i,
|
|
9123
9128
|
"space-between": 8,
|
|
@@ -9133,7 +9138,7 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9133
9138
|
onSlideChange: f
|
|
9134
9139
|
}, {
|
|
9135
9140
|
default: At(() => [
|
|
9136
|
-
(B(!0), q(Pi, null, Di(o.value, (p, g) => (B(), pe(T(
|
|
9141
|
+
(B(!0), q(Pi, null, Di(o.value, (p, g) => (B(), pe(T(cm), {
|
|
9137
9142
|
key: g,
|
|
9138
9143
|
style: di(m.value)
|
|
9139
9144
|
}, {
|
|
@@ -9164,15 +9169,15 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9164
9169
|
}, 8, ["a11y", "class"]))
|
|
9165
9170
|
], 2)) : Q("", !0);
|
|
9166
9171
|
}
|
|
9167
|
-
}),
|
|
9168
|
-
galleryRoot:
|
|
9169
|
-
slideItem:
|
|
9170
|
-
wrapper:
|
|
9171
|
-
compact:
|
|
9172
|
-
copilot:
|
|
9173
|
-
},
|
|
9174
|
-
$style:
|
|
9175
|
-
},
|
|
9172
|
+
}), Sm = "_galleryRoot_bj09m_2", km = "_slideItem_bj09m_6", Im = "_wrapper_bj09m_18", Tm = "_compact_bj09m_188", Pm = "_copilot_bj09m_205", Dm = {
|
|
9173
|
+
galleryRoot: Sm,
|
|
9174
|
+
slideItem: km,
|
|
9175
|
+
wrapper: Im,
|
|
9176
|
+
compact: Tm,
|
|
9177
|
+
copilot: Pm
|
|
9178
|
+
}, Mm = {
|
|
9179
|
+
$style: Dm
|
|
9180
|
+
}, Lm = /* @__PURE__ */ Me(Am, [["__cssModules", Mm]]), Fm = ["role", "aria-label", "aria-describedby", "tabindex"], Om = ["aria-label"], Bm = /* @__PURE__ */ me({
|
|
9176
9181
|
__name: "ListItem",
|
|
9177
9182
|
props: {
|
|
9178
9183
|
element: {},
|
|
@@ -9288,10 +9293,10 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9288
9293
|
W("span", {
|
|
9289
9294
|
role: "img",
|
|
9290
9295
|
"aria-label": t.element.image_alt_text || ""
|
|
9291
|
-
}, null, 8,
|
|
9296
|
+
}, null, 8, Om)
|
|
9292
9297
|
], 6)) : Q("", !0)
|
|
9293
9298
|
], 2))
|
|
9294
|
-
], 46,
|
|
9299
|
+
], 46, Fm),
|
|
9295
9300
|
f.value ? (B(), pe(Cs, {
|
|
9296
9301
|
key: 1,
|
|
9297
9302
|
payload: [f.value],
|
|
@@ -9302,8 +9307,9 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9302
9307
|
dataMessageId: T(u),
|
|
9303
9308
|
openXAppOverlay: T(o),
|
|
9304
9309
|
onEmitAnalytics: T(r),
|
|
9305
|
-
size: "large"
|
|
9306
|
-
|
|
9310
|
+
size: "large",
|
|
9311
|
+
variant: t.isHeaderElement ? "primary" : "secondary"
|
|
9312
|
+
}, null, 8, ["payload", "action", "buttonClassName", "containerClassName", "config", "dataMessageId", "openXAppOverlay", "onEmitAnalytics", "variant"])) : Q("", !0),
|
|
9307
9313
|
!t.isHeaderElement && t.dividerAfter ? (B(), q("div", {
|
|
9308
9314
|
key: 2,
|
|
9309
9315
|
class: N(T(i).divider)
|
|
@@ -9312,25 +9318,25 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9312
9318
|
_: 1
|
|
9313
9319
|
}, 8, ["class", "style", "data-testid", "id"]));
|
|
9314
9320
|
}
|
|
9315
|
-
}),
|
|
9316
|
-
listItemRoot:
|
|
9317
|
-
divider:
|
|
9318
|
-
headerRoot:
|
|
9319
|
-
headerContentWrapper:
|
|
9320
|
-
headerContent:
|
|
9321
|
-
headerContentWithButton:
|
|
9322
|
-
itemTitle:
|
|
9323
|
-
itemTitleWithSubtitle:
|
|
9324
|
-
itemSubtitle:
|
|
9325
|
-
listItemWrapper:
|
|
9326
|
-
listItemContent:
|
|
9327
|
-
listItemText:
|
|
9328
|
-
listItemImage:
|
|
9329
|
-
listHeaderButtonWrapper:
|
|
9330
|
-
listItemButtonWrapper:
|
|
9331
|
-
},
|
|
9332
|
-
$style:
|
|
9333
|
-
}, no = /* @__PURE__ */ Me(
|
|
9321
|
+
}), Rm = "_listItemRoot_svmqm_2", Nm = "_divider_svmqm_6", zm = "_headerRoot_svmqm_11", Vm = "_headerContentWrapper_svmqm_37", Hm = "_headerContent_svmqm_37", $m = "_headerContentWithButton_svmqm_58", Wm = "_itemTitle_svmqm_63", qm = "_itemTitleWithSubtitle_svmqm_68", Um = "_itemSubtitle_svmqm_73", Gm = "_listItemWrapper_svmqm_81", jm = "_listItemContent_svmqm_95", Jm = "_listItemText_svmqm_106", Xm = "_listItemImage_svmqm_114", Zm = "_listHeaderButtonWrapper_svmqm_124", Ym = "_listItemButtonWrapper_svmqm_131", Km = {
|
|
9322
|
+
listItemRoot: Rm,
|
|
9323
|
+
divider: Nm,
|
|
9324
|
+
headerRoot: zm,
|
|
9325
|
+
headerContentWrapper: Vm,
|
|
9326
|
+
headerContent: Hm,
|
|
9327
|
+
headerContentWithButton: $m,
|
|
9328
|
+
itemTitle: Wm,
|
|
9329
|
+
itemTitleWithSubtitle: qm,
|
|
9330
|
+
itemSubtitle: Um,
|
|
9331
|
+
listItemWrapper: Gm,
|
|
9332
|
+
listItemContent: jm,
|
|
9333
|
+
listItemText: Jm,
|
|
9334
|
+
listItemImage: Xm,
|
|
9335
|
+
listHeaderButtonWrapper: Zm,
|
|
9336
|
+
listItemButtonWrapper: Ym
|
|
9337
|
+
}, Qm = {
|
|
9338
|
+
$style: Km
|
|
9339
|
+
}, no = /* @__PURE__ */ Me(Bm, [["__cssModules", Qm]]), eg = ["id"], tg = ["aria-labelledby"], ig = /* @__PURE__ */ me({
|
|
9334
9340
|
__name: "List",
|
|
9335
9341
|
setup(t) {
|
|
9336
9342
|
const e = Je(), { message: i, config: n, action: s, onEmitAnalytics: r, messageParams: a, openXAppOverlay: o } = lt(), u = window.__TEST_MESSAGE_ID__, l = w(() => dt(i, n)), c = w(
|
|
@@ -9369,7 +9375,7 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9369
9375
|
dividerBefore: P > 0,
|
|
9370
9376
|
dividerAfter: !!(E.value && P === b.value.length - 1)
|
|
9371
9377
|
}, null, 8, ["element", "headingLevel", "id", "dividerBefore", "dividerAfter"]))), 128))
|
|
9372
|
-
], 10,
|
|
9378
|
+
], 10, tg),
|
|
9373
9379
|
E.value ? (B(), pe(Cs, {
|
|
9374
9380
|
key: 1,
|
|
9375
9381
|
payload: [E.value],
|
|
@@ -9382,20 +9388,20 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9382
9388
|
onEmitAnalytics: T(r),
|
|
9383
9389
|
size: "large"
|
|
9384
9390
|
}, null, 8, ["payload", "action", "containerClassName", "config", "dataMessageId", "openXAppOverlay", "onEmitAnalytics"])) : Q("", !0)
|
|
9385
|
-
], 10,
|
|
9386
|
-
}
|
|
9387
|
-
}),
|
|
9388
|
-
wrapper:
|
|
9389
|
-
listItemRoot:
|
|
9390
|
-
list:
|
|
9391
|
-
mainButtonWrapper:
|
|
9392
|
-
},
|
|
9393
|
-
$style:
|
|
9394
|
-
},
|
|
9391
|
+
], 10, eg)) : Q("", !0);
|
|
9392
|
+
}
|
|
9393
|
+
}), ng = "_wrapper_8761h_2", sg = "_listItemRoot_8761h_13", rg = "_list_8761h_13", ag = "_mainButtonWrapper_8761h_29", og = {
|
|
9394
|
+
wrapper: ng,
|
|
9395
|
+
listItemRoot: sg,
|
|
9396
|
+
list: rg,
|
|
9397
|
+
mainButtonWrapper: ag
|
|
9398
|
+
}, ug = {
|
|
9399
|
+
$style: og
|
|
9400
|
+
}, lg = /* @__PURE__ */ Me(ig, [["__cssModules", ug]]), cg = { key: 0 }, dg = ["href"], fg = ["src", "alt", "title"], hg = ["href"], pg = /* @__PURE__ */ me({
|
|
9395
9401
|
__name: "FileMessage",
|
|
9396
9402
|
setup(t) {
|
|
9397
9403
|
const { message: e } = lt(), i = w(() => e.data?.attachments || []), n = w(() => e.text), s = w(() => i.value && i.value.length > 0), r = w(() => i.value.filter((o) => Ia(o.mimeType))), a = w(() => i.value.filter((o) => !Ia(o.mimeType)));
|
|
9398
|
-
return (o, u) => s.value ? (B(), q("div",
|
|
9404
|
+
return (o, u) => s.value ? (B(), q("div", cg, [
|
|
9399
9405
|
W("div", {
|
|
9400
9406
|
class: N(["webchat-media-files-template-root", o.$style.filesWrapper])
|
|
9401
9407
|
}, [
|
|
@@ -9419,8 +9425,8 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9419
9425
|
i.value.length > 1 ? o.$style.smallImagePreview : o.$style.imagePreview
|
|
9420
9426
|
]),
|
|
9421
9427
|
"data-testid": "image-attachment"
|
|
9422
|
-
}, null, 10,
|
|
9423
|
-
], 8,
|
|
9428
|
+
}, null, 10, fg)
|
|
9429
|
+
], 8, dg))), 128))
|
|
9424
9430
|
], 2)) : Q("", !0),
|
|
9425
9431
|
a.value.length > 0 ? (B(), q("div", {
|
|
9426
9432
|
key: 1,
|
|
@@ -9472,7 +9478,7 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9472
9478
|
_: 2
|
|
9473
9479
|
}, 1032, ["class"])
|
|
9474
9480
|
], 2)
|
|
9475
|
-
], 8,
|
|
9481
|
+
], 8, hg))), 128))
|
|
9476
9482
|
], 2)) : Q("", !0)
|
|
9477
9483
|
], 2),
|
|
9478
9484
|
n.value ? (B(), pe(zr, {
|
|
@@ -9481,20 +9487,20 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9481
9487
|
}, null, 8, ["content"])) : Q("", !0)
|
|
9482
9488
|
])) : Q("", !0);
|
|
9483
9489
|
}
|
|
9484
|
-
}),
|
|
9485
|
-
filesWrapper:
|
|
9486
|
-
filePreviewContainer:
|
|
9487
|
-
imagePreview:
|
|
9488
|
-
webchatImagePreviewPopIn:
|
|
9489
|
-
smallImagePreview:
|
|
9490
|
-
filePreview:
|
|
9491
|
-
fileNameWrapper:
|
|
9492
|
-
fileName:
|
|
9493
|
-
fileExtension:
|
|
9494
|
-
fileSize:
|
|
9495
|
-
},
|
|
9496
|
-
$style:
|
|
9497
|
-
},
|
|
9490
|
+
}), mg = "_filesWrapper_rolkh_2", gg = "_filePreviewContainer_rolkh_10", bg = "_imagePreview_rolkh_28", yg = "_webchatImagePreviewPopIn_rolkh_1", vg = "_smallImagePreview_rolkh_41", _g = "_filePreview_rolkh_10", xg = "_fileNameWrapper_rolkh_67", Cg = "_fileName_rolkh_67", wg = "_fileExtension_rolkh_81", Eg = "_fileSize_rolkh_85", Ag = {
|
|
9491
|
+
filesWrapper: mg,
|
|
9492
|
+
filePreviewContainer: gg,
|
|
9493
|
+
imagePreview: bg,
|
|
9494
|
+
webchatImagePreviewPopIn: yg,
|
|
9495
|
+
smallImagePreview: vg,
|
|
9496
|
+
filePreview: _g,
|
|
9497
|
+
fileNameWrapper: xg,
|
|
9498
|
+
fileName: Cg,
|
|
9499
|
+
fileExtension: wg,
|
|
9500
|
+
fileSize: Eg
|
|
9501
|
+
}, Sg = {
|
|
9502
|
+
$style: Ag
|
|
9503
|
+
}, kg = /* @__PURE__ */ Me(pg, [["__cssModules", Sg]]), Ig = ["disabled"], Tg = /* @__PURE__ */ me({
|
|
9498
9504
|
__name: "DatePicker",
|
|
9499
9505
|
setup(t) {
|
|
9500
9506
|
const { message: e } = lt(), i = w(() => e?.data?._plugin?.type === "date-picker"), n = w(() => i.value && e.data?._plugin?.data || null), s = w(() => n.value?.openPickerButtonText || "Pick date"), r = w(() => !!a.value), a = w(() => e.text && e.text.trim() ? e.text : n.value?.defaultDate ? n.value.defaultDate : null);
|
|
@@ -9508,7 +9514,7 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9508
9514
|
disabled: r.value,
|
|
9509
9515
|
"data-testid": "datepicker-button",
|
|
9510
9516
|
type: "button"
|
|
9511
|
-
}, fi(s.value), 11,
|
|
9517
|
+
}, fi(s.value), 11, Ig),
|
|
9512
9518
|
a.value ? (B(), q("div", {
|
|
9513
9519
|
key: 0,
|
|
9514
9520
|
class: N(["webchat-date-picker-selected", o.$style.selectedDate]),
|
|
@@ -9526,13 +9532,13 @@ const hm = ["src", "alt"], pm = ["role", "id", "aria-describedby", "aria-labelle
|
|
|
9526
9532
|
], 2)) : Q("", !0)
|
|
9527
9533
|
], 2)) : Q("", !0);
|
|
9528
9534
|
}
|
|
9529
|
-
}),
|
|
9530
|
-
wrapper:
|
|
9531
|
-
button:
|
|
9532
|
-
selectedDate:
|
|
9533
|
-
},
|
|
9534
|
-
$style:
|
|
9535
|
-
},
|
|
9535
|
+
}), Pg = "_wrapper_1olzv_2", Dg = "_button_1olzv_12", Mg = "_selectedDate_1olzv_34", Lg = {
|
|
9536
|
+
wrapper: Pg,
|
|
9537
|
+
button: Dg,
|
|
9538
|
+
selectedDate: Mg
|
|
9539
|
+
}, Fg = {
|
|
9540
|
+
$style: Lg
|
|
9541
|
+
}, Og = /* @__PURE__ */ Me(Tg, [["__cssModules", Fg]]);
|
|
9536
9542
|
class V {
|
|
9537
9543
|
}
|
|
9538
9544
|
V.errors = {
|
|
@@ -9840,10 +9846,10 @@ class we {
|
|
|
9840
9846
|
we.lut = [];
|
|
9841
9847
|
we.initialize();
|
|
9842
9848
|
var ar;
|
|
9843
|
-
function
|
|
9849
|
+
function Bg() {
|
|
9844
9850
|
return window.document.documentMode !== void 0;
|
|
9845
9851
|
}
|
|
9846
|
-
function
|
|
9852
|
+
function Rg() {
|
|
9847
9853
|
const t = window.navigator.userAgent;
|
|
9848
9854
|
return !!t.match(/Android/i) || !!t.match(/iPad/i) || !!t.match(/iPhone/i);
|
|
9849
9855
|
}
|
|
@@ -9883,7 +9889,7 @@ function Cu(t, e) {
|
|
|
9883
9889
|
}
|
|
9884
9890
|
}
|
|
9885
9891
|
}
|
|
9886
|
-
function
|
|
9892
|
+
function Ng(t, e, i) {
|
|
9887
9893
|
if (!e)
|
|
9888
9894
|
return i;
|
|
9889
9895
|
const n = Cu(t, e);
|
|
@@ -9899,11 +9905,11 @@ function zi(t) {
|
|
|
9899
9905
|
}
|
|
9900
9906
|
return t;
|
|
9901
9907
|
}
|
|
9902
|
-
function
|
|
9908
|
+
function zg(t, e, i, n, s) {
|
|
9903
9909
|
const r = () => e - t.scrollHeight >= -1;
|
|
9904
9910
|
if (r())
|
|
9905
9911
|
return;
|
|
9906
|
-
const a =
|
|
9912
|
+
const a = Hg(i);
|
|
9907
9913
|
let o = 0, u = a.length, l = 0;
|
|
9908
9914
|
for (; o < u; ) {
|
|
9909
9915
|
const c = Math.floor((o + u) / 2);
|
|
@@ -9916,15 +9922,15 @@ function Ng(t, e, i, n, s) {
|
|
|
9916
9922
|
n(i, l);
|
|
9917
9923
|
}
|
|
9918
9924
|
}
|
|
9919
|
-
function
|
|
9920
|
-
|
|
9925
|
+
function Vg(t, e, i) {
|
|
9926
|
+
zg(t, e, t.innerText, (n, s) => {
|
|
9921
9927
|
t.innerText = n.substring(0, s) + "...";
|
|
9922
9928
|
}, i);
|
|
9923
9929
|
}
|
|
9924
9930
|
typeof window > "u" || (ar = window.trustedTypes) === null || ar === void 0 || ar.createPolicy("adaptivecards#deprecatedExportedFunctionPolicy", {
|
|
9925
9931
|
createHTML: (t) => t
|
|
9926
9932
|
});
|
|
9927
|
-
function
|
|
9933
|
+
function Hg(t) {
|
|
9928
9934
|
const e = [];
|
|
9929
9935
|
let i = cs(t, -1);
|
|
9930
9936
|
for (; i < t.length; )
|
|
@@ -9937,7 +9943,7 @@ function cs(t, e) {
|
|
|
9937
9943
|
;
|
|
9938
9944
|
return e;
|
|
9939
9945
|
}
|
|
9940
|
-
function
|
|
9946
|
+
function $g(t, e) {
|
|
9941
9947
|
const i = t.offsetTop;
|
|
9942
9948
|
return i + t.clientHeight <= e ? hi.FullyInContainer : i < e ? hi.Overflowing : hi.FullyOutOfContainer;
|
|
9943
9949
|
}
|
|
@@ -9947,11 +9953,11 @@ function Zi() {
|
|
|
9947
9953
|
function Kn() {
|
|
9948
9954
|
return window.pageYOffset;
|
|
9949
9955
|
}
|
|
9950
|
-
function
|
|
9956
|
+
function Wg(t) {
|
|
9951
9957
|
for (; t.firstChild; )
|
|
9952
9958
|
t.removeChild(t.firstChild);
|
|
9953
9959
|
}
|
|
9954
|
-
function
|
|
9960
|
+
function qg(t, e) {
|
|
9955
9961
|
let i;
|
|
9956
9962
|
function n(...s) {
|
|
9957
9963
|
i && clearTimeout(i), i = setTimeout(() => {
|
|
@@ -10133,7 +10139,7 @@ class jt extends Pe {
|
|
|
10133
10139
|
super(e, i, n, s), this.targetVersion = e, this.name = i, this.defaultValue = n, this.onGetInitialValue = s;
|
|
10134
10140
|
}
|
|
10135
10141
|
}
|
|
10136
|
-
class
|
|
10142
|
+
class Ug extends Pe {
|
|
10137
10143
|
parse(e, i, n) {
|
|
10138
10144
|
let s;
|
|
10139
10145
|
const r = i[this.name];
|
|
@@ -10152,7 +10158,7 @@ class qg extends Pe {
|
|
|
10152
10158
|
s.serializeValue(i, this.name, typeof n == "number" && !isNaN(n) ? n + "px" : void 0);
|
|
10153
10159
|
}
|
|
10154
10160
|
}
|
|
10155
|
-
class
|
|
10161
|
+
class Gg extends Pe {
|
|
10156
10162
|
parse(e, i, n) {
|
|
10157
10163
|
const s = i[this.name];
|
|
10158
10164
|
if (s === void 0 || !Array.isArray(s))
|
|
@@ -10298,7 +10304,7 @@ class Hi extends Pe {
|
|
|
10298
10304
|
throw new Error("CustomPropertyDefinition instances must have an onToJSON handler.");
|
|
10299
10305
|
}
|
|
10300
10306
|
}
|
|
10301
|
-
class
|
|
10307
|
+
class jg {
|
|
10302
10308
|
constructor() {
|
|
10303
10309
|
this._properties = [];
|
|
10304
10310
|
}
|
|
@@ -10432,7 +10438,7 @@ class Ee {
|
|
|
10432
10438
|
}
|
|
10433
10439
|
getSchema() {
|
|
10434
10440
|
let e = Ee._schemaCache[this.getSchemaKey()];
|
|
10435
|
-
return e || (e = new
|
|
10441
|
+
return e || (e = new jg(), this.populateSchema(e), Ee._schemaCache[this.getSchemaKey()] = e), e;
|
|
10436
10442
|
}
|
|
10437
10443
|
}
|
|
10438
10444
|
Ee.defaultMaxVersion = x.latest;
|
|
@@ -10483,7 +10489,7 @@ class wr extends Ee {
|
|
|
10483
10489
|
}
|
|
10484
10490
|
function Et(t, e, i) {
|
|
10485
10491
|
if (typeof e == "string") {
|
|
10486
|
-
const n =
|
|
10492
|
+
const n = Ng(t, e, i);
|
|
10487
10493
|
return n !== void 0 ? n : i;
|
|
10488
10494
|
} else return typeof e == "number" ? e : i;
|
|
10489
10495
|
}
|
|
@@ -10519,7 +10525,7 @@ class lo {
|
|
|
10519
10525
|
};
|
|
10520
10526
|
}
|
|
10521
10527
|
}
|
|
10522
|
-
class
|
|
10528
|
+
class Jg {
|
|
10523
10529
|
constructor(e) {
|
|
10524
10530
|
this.allowInlinePlayback = !0, e && (this.defaultPoster = e.defaultPoster, this.allowInlinePlayback = e.allowInlinePlayback || this.allowInlinePlayback);
|
|
10525
10531
|
}
|
|
@@ -10530,7 +10536,7 @@ class jg {
|
|
|
10530
10536
|
};
|
|
10531
10537
|
}
|
|
10532
10538
|
}
|
|
10533
|
-
class
|
|
10539
|
+
class Xg {
|
|
10534
10540
|
constructor(e) {
|
|
10535
10541
|
this.cellSpacing = 8, e && (this.cellSpacing = e.cellSpacing && typeof e.cellSpacing == "number" ? e.cellSpacing : this.cellSpacing);
|
|
10536
10542
|
}
|
|
@@ -10677,7 +10683,7 @@ class vo {
|
|
|
10677
10683
|
};
|
|
10678
10684
|
}
|
|
10679
10685
|
}
|
|
10680
|
-
class
|
|
10686
|
+
class Zg {
|
|
10681
10687
|
parseSingleColor(e, i) {
|
|
10682
10688
|
e && this[i].parse(e[i]);
|
|
10683
10689
|
}
|
|
@@ -10693,7 +10699,7 @@ class wu {
|
|
|
10693
10699
|
e && (this.backgroundColor = e.backgroundColor, this.foregroundColors.parse(e.foregroundColors), this.highlightBackgroundColor = e.highlightBackgroundColor, this.highlightForegroundColor = e.highlightForegroundColor, this.borderColor = e.borderColor);
|
|
10694
10700
|
}
|
|
10695
10701
|
constructor(e) {
|
|
10696
|
-
this.foregroundColors = new
|
|
10702
|
+
this.foregroundColors = new Zg({
|
|
10697
10703
|
default: { default: "#333333", subtle: "#EE333333" },
|
|
10698
10704
|
dark: { default: "#000000", subtle: "#66000000" },
|
|
10699
10705
|
light: { default: "#FFFFFF", subtle: "#33000000" },
|
|
@@ -10779,7 +10785,7 @@ class ln {
|
|
|
10779
10785
|
}
|
|
10780
10786
|
}
|
|
10781
10787
|
ln.monospace = new ln("'Courier New', Courier, monospace");
|
|
10782
|
-
class
|
|
10788
|
+
class Yg {
|
|
10783
10789
|
constructor(e) {
|
|
10784
10790
|
this.default = new ln(), this.monospace = new ln("'Courier New', Courier, monospace"), e && (this.default.parse(e.default), this.monospace.parse(e.monospace));
|
|
10785
10791
|
}
|
|
@@ -10820,7 +10826,7 @@ class Eu {
|
|
|
10820
10826
|
small: 40,
|
|
10821
10827
|
medium: 80,
|
|
10822
10828
|
large: 160
|
|
10823
|
-
}, this.containerStyles = new _o(), this.inputs = new mo(), this.actions = new vo(), this.adaptiveCard = new uo(), this.imageSet = new lo(), this.media = new
|
|
10829
|
+
}, this.containerStyles = new _o(), this.inputs = new mo(), this.actions = new vo(), this.adaptiveCard = new uo(), this.imageSet = new lo(), this.media = new Jg(), this.factSet = new bo(), this.table = new Xg(), this.textStyles = new co(), this.textBlock = new fo(), this.carousel = new xo(), this.alwaysAllowBleed = !1, e && ((typeof e == "string" || e instanceof String) && (e = JSON.parse(e)), this.choiceSetInputValueSeparator = e && typeof e.choiceSetInputValueSeparator == "string" ? e.choiceSetInputValueSeparator : this.choiceSetInputValueSeparator, this.supportsInteractivity = e && typeof e.supportsInteractivity == "boolean" ? e.supportsInteractivity : this.supportsInteractivity, this._legacyFontType = new ln(), this._legacyFontType.parse(e), e.fontTypes && (this.fontTypes = new Yg(e.fontTypes)), e.lineHeights && (this.lineHeights = {
|
|
10824
10830
|
small: e.lineHeights.small,
|
|
10825
10831
|
default: e.lineHeights.default,
|
|
10826
10832
|
medium: e.lineHeights.medium,
|
|
@@ -11276,7 +11282,7 @@ var Au = function(t, e, i, n) {
|
|
|
11276
11282
|
else for (var o = t.length - 1; o >= 0; o--) (a = t[o]) && (r = (s < 3 ? a(r) : s > 3 ? a(e, i, r) : a(e, i)) || r);
|
|
11277
11283
|
return s > 3 && r && Object.defineProperty(e, i, r), r;
|
|
11278
11284
|
};
|
|
11279
|
-
class
|
|
11285
|
+
class Kg {
|
|
11280
11286
|
constructor() {
|
|
11281
11287
|
this.allIds = {}, this.validationEvents = [];
|
|
11282
11288
|
}
|
|
@@ -11337,7 +11343,7 @@ class Mt extends Ee {
|
|
|
11337
11343
|
this.id && (e.allIds.hasOwnProperty(this.id) ? (e.allIds[this.id] === 1 && e.addFailure(this, Y.DuplicateId, V.errors.duplicateId(this.id)), e.allIds[this.id] += 1) : e.allIds[this.id] = 1);
|
|
11338
11344
|
}
|
|
11339
11345
|
validateProperties() {
|
|
11340
|
-
const e = new
|
|
11346
|
+
const e = new Kg();
|
|
11341
11347
|
return this.internalValidateProperties(e), e;
|
|
11342
11348
|
}
|
|
11343
11349
|
/**
|
|
@@ -11384,7 +11390,7 @@ class Su {
|
|
|
11384
11390
|
return i;
|
|
11385
11391
|
}
|
|
11386
11392
|
}
|
|
11387
|
-
class
|
|
11393
|
+
class Qg extends Su {
|
|
11388
11394
|
internalFormat(e, i) {
|
|
11389
11395
|
const n = new Date(Date.parse(i[1])), s = i[2] !== void 0 ? i[2].toLowerCase() : "compact";
|
|
11390
11396
|
return s !== "compact" ? n.toLocaleDateString(e, {
|
|
@@ -11395,15 +11401,15 @@ class Kg extends Su {
|
|
|
11395
11401
|
}) : n.toLocaleDateString();
|
|
11396
11402
|
}
|
|
11397
11403
|
}
|
|
11398
|
-
class
|
|
11404
|
+
class e1 extends Su {
|
|
11399
11405
|
internalFormat(e, i) {
|
|
11400
11406
|
return new Date(Date.parse(i[1])).toLocaleTimeString(e, { hour: "numeric", minute: "2-digit" });
|
|
11401
11407
|
}
|
|
11402
11408
|
}
|
|
11403
11409
|
function ku(t, e) {
|
|
11404
11410
|
const i = [
|
|
11405
|
-
new
|
|
11406
|
-
new
|
|
11411
|
+
new Qg(/\{{2}DATE\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))(?:, ?(COMPACT|LONG|SHORT))?\)\}{2}/g),
|
|
11412
|
+
new e1(/\{{2}TIME\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))\)\}{2}/g)
|
|
11407
11413
|
];
|
|
11408
11414
|
let n = e;
|
|
11409
11415
|
for (const s of i)
|
|
@@ -11421,7 +11427,7 @@ nn.keys = {
|
|
|
11421
11427
|
down: "ArrowDown",
|
|
11422
11428
|
delete: "Delete"
|
|
11423
11429
|
};
|
|
11424
|
-
class
|
|
11430
|
+
class t1 {
|
|
11425
11431
|
click() {
|
|
11426
11432
|
this.isEnabled && this.onClick && this.onClick(this);
|
|
11427
11433
|
}
|
|
@@ -11466,7 +11472,7 @@ class e1 {
|
|
|
11466
11472
|
this._isEnabled !== e && (this._isEnabled = e, this.updateCssClasses());
|
|
11467
11473
|
}
|
|
11468
11474
|
}
|
|
11469
|
-
class
|
|
11475
|
+
class i1 {
|
|
11470
11476
|
constructor() {
|
|
11471
11477
|
this._items = [];
|
|
11472
11478
|
}
|
|
@@ -11487,7 +11493,7 @@ class t1 {
|
|
|
11487
11493
|
return this._items.length;
|
|
11488
11494
|
}
|
|
11489
11495
|
}
|
|
11490
|
-
class
|
|
11496
|
+
class n1 {
|
|
11491
11497
|
constructor() {
|
|
11492
11498
|
this._isOpen = !1;
|
|
11493
11499
|
}
|
|
@@ -11539,9 +11545,9 @@ class i1 {
|
|
|
11539
11545
|
return this._isOpen;
|
|
11540
11546
|
}
|
|
11541
11547
|
}
|
|
11542
|
-
class
|
|
11548
|
+
class s1 extends n1 {
|
|
11543
11549
|
constructor() {
|
|
11544
|
-
super(...arguments), this._items = new
|
|
11550
|
+
super(...arguments), this._items = new i1(), this._renderedItems = [], this._selectedIndex = -1;
|
|
11545
11551
|
}
|
|
11546
11552
|
renderContent() {
|
|
11547
11553
|
const e = document.createElement("div");
|
|
@@ -12137,7 +12143,7 @@ class De extends de {
|
|
|
12137
12143
|
const i = this.renderedElement.children, n = !i.length;
|
|
12138
12144
|
if (n || i.length === 1 && i[0].tagName.toLowerCase() === "p" && !i[0].children.length) {
|
|
12139
12145
|
const r = n ? this.renderedElement : i[0];
|
|
12140
|
-
return
|
|
12146
|
+
return Vg(r, e, this._computedLineHeight), !0;
|
|
12141
12147
|
}
|
|
12142
12148
|
}
|
|
12143
12149
|
return !1;
|
|
@@ -12195,7 +12201,7 @@ class De extends de {
|
|
|
12195
12201
|
o.classList.add(s.makeCssClassName("ac-anchor")), o.target = "_blank", o.onclick = (u) => {
|
|
12196
12202
|
Eo(this, o, u) && (u.preventDefault(), u.cancelBubble = !0);
|
|
12197
12203
|
}, o.oncontextmenu = (u) => Eo(this, o, u) ? (u.preventDefault(), u.cancelBubble = !0, !1) : !0;
|
|
12198
|
-
return this.wrap ? (r.style.wordWrap = "break-word", this.maxLines && this.maxLines > 0 && (r.style.overflow = "hidden",
|
|
12204
|
+
return this.wrap ? (r.style.wordWrap = "break-word", this.maxLines && this.maxLines > 0 && (r.style.overflow = "hidden", Bg() || !Z.useWebkitLineClamp ? r.style.maxHeight = this._computedLineHeight * this.maxLines + "px" : (r.style.removeProperty("line-height"), r.style.display = "-webkit-box", r.style.webkitBoxOrient = "vertical", r.style.webkitLineClamp = this.maxLines.toString()))) : (r.style.whiteSpace = "nowrap", r.style.textOverflow = "ellipsis"), (Z.useAdvancedTextBlockTruncation || Z.useAdvancedCardBottomTruncation) && (this._originalInnerHtml = r.innerHTML), r;
|
|
12199
12205
|
} else
|
|
12200
12206
|
return;
|
|
12201
12207
|
}
|
|
@@ -12574,7 +12580,7 @@ class oe extends ne {
|
|
|
12574
12580
|
return this.url ? [{ url: this.url, mimeType: "image" }] : [];
|
|
12575
12581
|
}
|
|
12576
12582
|
setImageSource(e) {
|
|
12577
|
-
const i = new
|
|
12583
|
+
const i = new r1(this.forceLoad, this.url);
|
|
12578
12584
|
i.configureImage(this), e.src = this.preProcessPropertyValue(oe.urlProperty), i.resetImage(this);
|
|
12579
12585
|
}
|
|
12580
12586
|
}
|
|
@@ -12616,7 +12622,7 @@ S([
|
|
|
12616
12622
|
S([
|
|
12617
12623
|
A(oe.shouldForceLoadProperty)
|
|
12618
12624
|
], oe.prototype, "forceLoad", void 0);
|
|
12619
|
-
class
|
|
12625
|
+
class r1 {
|
|
12620
12626
|
constructor(e, i) {
|
|
12621
12627
|
this.doForceLoad = e, this.url = i, i && i.length && e && (this.uniqueHash = "?" + Date.now(), this.urlWithForceLoadOption = i + this.uniqueHash);
|
|
12622
12628
|
}
|
|
@@ -12899,7 +12905,7 @@ ps.labelProperty = new U(x.v1_6, "label");
|
|
|
12899
12905
|
S([
|
|
12900
12906
|
A(ps.labelProperty)
|
|
12901
12907
|
], ps.prototype, "label", void 0);
|
|
12902
|
-
class
|
|
12908
|
+
class a1 extends yi {
|
|
12903
12909
|
getSchemaKey() {
|
|
12904
12910
|
return "MediaSource";
|
|
12905
12911
|
}
|
|
@@ -12946,7 +12952,7 @@ class Pn extends Du {
|
|
|
12946
12952
|
});
|
|
12947
12953
|
}
|
|
12948
12954
|
render() {
|
|
12949
|
-
this._selectedMediaType === "video" ? this._mediaElement = document.createElement("video") : this._mediaElement = document.createElement("audio"), this._mediaElement.setAttribute("aria-label", this.owner.altText ? this.owner.altText : V.defaults.mediaPlayerAriaLabel()), this._mediaElement.setAttribute("webkit-playsinline", ""), this._mediaElement.setAttribute("playsinline", ""), this._mediaElement.setAttribute("crossorigin", ""), this._mediaElement.autoplay = !0, this._mediaElement.controls = !0,
|
|
12955
|
+
this._selectedMediaType === "video" ? this._mediaElement = document.createElement("video") : this._mediaElement = document.createElement("audio"), this._mediaElement.setAttribute("aria-label", this.owner.altText ? this.owner.altText : V.defaults.mediaPlayerAriaLabel()), this._mediaElement.setAttribute("webkit-playsinline", ""), this._mediaElement.setAttribute("playsinline", ""), this._mediaElement.setAttribute("crossorigin", ""), this._mediaElement.autoplay = !0, this._mediaElement.controls = !0, Rg() && (this._mediaElement.muted = !0), this._mediaElement.preload = "none", this._mediaElement.style.width = "100%";
|
|
12950
12956
|
for (const e of this.owner.sources) {
|
|
12951
12957
|
const i = e.render();
|
|
12952
12958
|
fe(this._mediaElement, i);
|
|
@@ -12966,12 +12972,12 @@ class Pn extends Du {
|
|
|
12966
12972
|
}
|
|
12967
12973
|
}
|
|
12968
12974
|
Pn.supportedMediaTypes = ["audio", "video"];
|
|
12969
|
-
class
|
|
12975
|
+
class o1 extends Du {
|
|
12970
12976
|
constructor(e) {
|
|
12971
12977
|
super();
|
|
12972
12978
|
}
|
|
12973
12979
|
}
|
|
12974
|
-
class Jr extends
|
|
12980
|
+
class Jr extends o1 {
|
|
12975
12981
|
constructor(e, i) {
|
|
12976
12982
|
super(e), this.iFrameTitle = i, e.length >= 2 && (this._videoId = e[1]);
|
|
12977
12983
|
}
|
|
@@ -12988,7 +12994,7 @@ class Jr extends a1 {
|
|
|
12988
12994
|
return this._videoId;
|
|
12989
12995
|
}
|
|
12990
12996
|
}
|
|
12991
|
-
class
|
|
12997
|
+
class u1 extends Jr {
|
|
12992
12998
|
fetchVideoDetails() {
|
|
12993
12999
|
return Rn(this, void 0, void 0, function* () {
|
|
12994
13000
|
const e = `https://vimeo.com/api/oembed.json?url=${this.getEmbedVideoUrl()}`;
|
|
@@ -13003,7 +13009,7 @@ class o1 extends Jr {
|
|
|
13003
13009
|
return `https://player.vimeo.com/video/${this.videoId}?autoplay=1`;
|
|
13004
13010
|
}
|
|
13005
13011
|
}
|
|
13006
|
-
class
|
|
13012
|
+
class l1 extends Jr {
|
|
13007
13013
|
fetchVideoDetails() {
|
|
13008
13014
|
return Rn(this, void 0, void 0, function* () {
|
|
13009
13015
|
const e = `https://api.dailymotion.com/video/${this.videoId}?fields=thumbnail_720_url`;
|
|
@@ -13018,7 +13024,7 @@ class u1 extends Jr {
|
|
|
13018
13024
|
return `https://www.dailymotion.com/embed/video/${this.videoId}?autoplay=1`;
|
|
13019
13025
|
}
|
|
13020
13026
|
}
|
|
13021
|
-
class
|
|
13027
|
+
class c1 extends Jr {
|
|
13022
13028
|
constructor(e, i) {
|
|
13023
13029
|
super(e, i), this.iFrameTitle = i, e.length >= 3 && e[2] !== void 0 && (this._startTimeIndex = parseInt(e[2]));
|
|
13024
13030
|
}
|
|
@@ -13131,18 +13137,18 @@ Ve.customMediaPlayers = [
|
|
|
13131
13137
|
/^(?:https?:\/\/)?(?:www.)?youtube.com\/watch\?(?=.*v=([\w\d-_]+))(?=(?:.*t=(\d+))?).*/gi,
|
|
13132
13138
|
/^(?:https?:\/\/)?youtu.be\/([\w\d-_]+)(?:\?t=(\d+))?/gi
|
|
13133
13139
|
],
|
|
13134
|
-
createMediaPlayer: (t) => new
|
|
13140
|
+
createMediaPlayer: (t) => new c1(t, V.defaults.youTubeVideoPlayer())
|
|
13135
13141
|
},
|
|
13136
13142
|
{
|
|
13137
13143
|
urlPatterns: [/^(?:https?:\/\/)?vimeo.com\/([\w\d-_]+).*/gi],
|
|
13138
|
-
createMediaPlayer: (t) => new
|
|
13144
|
+
createMediaPlayer: (t) => new u1(t, V.defaults.vimeoVideoPlayer())
|
|
13139
13145
|
},
|
|
13140
13146
|
{
|
|
13141
13147
|
urlPatterns: [/^(?:https?:\/\/)?(?:www.)?dailymotion.com\/video\/([\w\d-_]+).*/gi],
|
|
13142
|
-
createMediaPlayer: (t) => new
|
|
13148
|
+
createMediaPlayer: (t) => new l1(t, V.defaults.dailymotionVideoPlayer())
|
|
13143
13149
|
}
|
|
13144
13150
|
];
|
|
13145
|
-
Ve.sourcesProperty = new Vi(x.v1_1, "sources",
|
|
13151
|
+
Ve.sourcesProperty = new Vi(x.v1_1, "sources", a1);
|
|
13146
13152
|
Ve.captionSourcesProperty = new Vi(x.v1_6, "captionSources", ps);
|
|
13147
13153
|
Ve.posterProperty = new U(x.v1_1, "poster");
|
|
13148
13154
|
Ve.altTextProperty = new U(x.v1_1, "altText");
|
|
@@ -13222,7 +13228,7 @@ class xe extends ne {
|
|
|
13222
13228
|
this.resetDirtyState();
|
|
13223
13229
|
}
|
|
13224
13230
|
valueChanged() {
|
|
13225
|
-
this.getRootElement().updateActionsEnabledState(), this.isValid() && this.resetValidationFailureCue(), this.onValueChanged && this.onValueChanged(this),
|
|
13231
|
+
this.getRootElement().updateActionsEnabledState(), this.isValid() && this.resetValidationFailureCue(), this.onValueChanged && this.onValueChanged(this), p1(this);
|
|
13226
13232
|
}
|
|
13227
13233
|
resetValidationFailureCue() {
|
|
13228
13234
|
this.renderedInputControlElement && (this instanceof le && this.isDynamicTypeahead() ? this.removeValidationFailureCue() : this.renderedInputControlElement.classList.remove(this.hostConfig.makeCssClassName("ac-input-validation-failed")), this.updateInputControlAriaLabelledBy(), this._renderedErrorMessageElement && (this._outerContainerElement.removeChild(this._renderedErrorMessageElement), this._renderedErrorMessageElement = void 0));
|
|
@@ -13623,10 +13629,10 @@ class le extends xe {
|
|
|
13623
13629
|
}
|
|
13624
13630
|
internalRender() {
|
|
13625
13631
|
if (this._uniqueCategoryName = le.getUniqueCategoryName(), this.isDynamicTypeahead()) {
|
|
13626
|
-
const e = new
|
|
13632
|
+
const e = new d1(le._uniqueCategoryCounter, this.choices, this.hostConfig);
|
|
13627
13633
|
if (e.render(), e.textInput) {
|
|
13628
13634
|
this._textInput = e.textInput, this.defaultValue && (this._textInput.value = this.defaultValue), this.placeholder && !this._textInput.value && (this._textInput.placeholder = this.placeholder, this._textInput.setAttribute("aria-label", this.placeholder)), this._textInput.tabIndex = this.isDesignMode() ? -1 : 0;
|
|
13629
|
-
const i =
|
|
13635
|
+
const i = qg(() => {
|
|
13630
13636
|
e.processChoices(), this.valueChanged(), this._textInput && (this.value ? (this._textInput.removeAttribute("placeholder"), this._textInput.removeAttribute("aria-label")) : this.placeholder && (this._textInput.placeholder = this.placeholder, this._textInput.setAttribute("aria-label", this.placeholder)));
|
|
13631
13637
|
}, this.hostConfig.inputs.debounceTimeInMilliSeconds);
|
|
13632
13638
|
this._textInput.onclick = i, this._textInput.oninput = i;
|
|
@@ -13758,7 +13764,7 @@ S([
|
|
|
13758
13764
|
S([
|
|
13759
13765
|
A(le.choicesDataProperty)
|
|
13760
13766
|
], le.prototype, "choicesData", void 0);
|
|
13761
|
-
class
|
|
13767
|
+
class d1 {
|
|
13762
13768
|
constructor(e, i, n) {
|
|
13763
13769
|
this._choiceSetId = e, this._choices = i, this._dynamicChoices = [], this._visibleChoiceCount = 0, this._highlightedChoiceId = -1, this._hostConfig = n;
|
|
13764
13770
|
}
|
|
@@ -13833,7 +13839,7 @@ class c1 {
|
|
|
13833
13839
|
}
|
|
13834
13840
|
}
|
|
13835
13841
|
resetDropdown() {
|
|
13836
|
-
this._dropdown && (
|
|
13842
|
+
this._dropdown && (Wg(this._dropdown), this._visibleChoiceCount = 0, this._highlightedChoiceId = -1);
|
|
13837
13843
|
}
|
|
13838
13844
|
showDropdown() {
|
|
13839
13845
|
var e;
|
|
@@ -14121,7 +14127,7 @@ class he extends Mt {
|
|
|
14121
14127
|
return e.actionRegistry.findByName(this.getJsonTypeName()) !== void 0;
|
|
14122
14128
|
}
|
|
14123
14129
|
raiseExecuteActionEvent() {
|
|
14124
|
-
this.onExecute && this.onExecute(this),
|
|
14130
|
+
this.onExecute && this.onExecute(this), h1(this);
|
|
14125
14131
|
}
|
|
14126
14132
|
internalAfterExecute() {
|
|
14127
14133
|
let e = this.getRootObject();
|
|
@@ -14564,7 +14570,7 @@ S([
|
|
|
14564
14570
|
], He.prototype, "_ignoreInputValidation", void 0);
|
|
14565
14571
|
class ni extends he {
|
|
14566
14572
|
constructor() {
|
|
14567
|
-
super(...arguments), this.card = new
|
|
14573
|
+
super(...arguments), this.card = new y1();
|
|
14568
14574
|
}
|
|
14569
14575
|
updateCssClasses() {
|
|
14570
14576
|
if (super.updateCssClasses(), this.renderedElement) {
|
|
@@ -14628,11 +14634,11 @@ class Lu extends he {
|
|
|
14628
14634
|
}
|
|
14629
14635
|
execute() {
|
|
14630
14636
|
var e;
|
|
14631
|
-
if (!
|
|
14632
|
-
const n = new
|
|
14637
|
+
if (!m1(this, this.renderedElement) && this.renderedElement) {
|
|
14638
|
+
const n = new s1();
|
|
14633
14639
|
n.hostConfig = this.hostConfig;
|
|
14634
14640
|
for (let s = 0; s < this._actions.length; s++) {
|
|
14635
|
-
const r = new
|
|
14641
|
+
const r = new t1(s.toString(), (e = this._actions[s].title) !== null && e !== void 0 ? e : "", this._actions[s].iconUrl);
|
|
14636
14642
|
r.isEnabled = this._actions[s].isEnabled, r.onClick = () => {
|
|
14637
14643
|
const a = this._actions[s];
|
|
14638
14644
|
n.closePopup(!1), a.isEnabled && a.execute();
|
|
@@ -14807,7 +14813,7 @@ class Fu {
|
|
|
14807
14813
|
if (u.length > 0) {
|
|
14808
14814
|
this._overflowAction || (this._overflowAction = new Lu(u), this._overflowAction.setParent(this._owner), this._overflowAction._actionCollection = this);
|
|
14809
14815
|
const h = this._owner instanceof ae && !this._owner.parent;
|
|
14810
|
-
d = !
|
|
14816
|
+
d = !g1(this._overflowAction, h);
|
|
14811
14817
|
}
|
|
14812
14818
|
this._overflowAction && d && o.push(this._overflowAction);
|
|
14813
14819
|
}
|
|
@@ -14950,7 +14956,7 @@ ms.orientationProperty = new Be(x.v1_1, "orientation", Se);
|
|
|
14950
14956
|
S([
|
|
14951
14957
|
A(ms.orientationProperty)
|
|
14952
14958
|
], ms.prototype, "orientation", void 0);
|
|
14953
|
-
class
|
|
14959
|
+
class f1 extends dn {
|
|
14954
14960
|
constructor(e, i, n, s) {
|
|
14955
14961
|
super(e, i, [
|
|
14956
14962
|
{ value: ie.Default },
|
|
@@ -15030,7 +15036,7 @@ class Nt extends bi {
|
|
|
15030
15036
|
return e || super.getEffectiveStyle();
|
|
15031
15037
|
}
|
|
15032
15038
|
}
|
|
15033
|
-
Nt.styleProperty = new
|
|
15039
|
+
Nt.styleProperty = new f1(x.v1_0, "style");
|
|
15034
15040
|
S([
|
|
15035
15041
|
A(Nt.styleProperty)
|
|
15036
15042
|
], Nt.prototype, "style", null);
|
|
@@ -15059,7 +15065,7 @@ class xi extends Nt {
|
|
|
15059
15065
|
}
|
|
15060
15066
|
}
|
|
15061
15067
|
xi.bleedProperty = new Oe(x.v1_2, "bleed", !1);
|
|
15062
|
-
xi.minHeightProperty = new
|
|
15068
|
+
xi.minHeightProperty = new Ug(x.v1_2, "minHeight");
|
|
15063
15069
|
S([
|
|
15064
15070
|
A(xi.bleedProperty)
|
|
15065
15071
|
], xi.prototype, "_bleed", void 0);
|
|
@@ -15191,7 +15197,7 @@ class je extends xi {
|
|
|
15191
15197
|
const i = this.renderedElement.offsetTop + e + 1, n = (s) => {
|
|
15192
15198
|
const r = s.renderedElement;
|
|
15193
15199
|
if (r)
|
|
15194
|
-
switch (
|
|
15200
|
+
switch ($g(r, i)) {
|
|
15195
15201
|
case hi.FullyInContainer:
|
|
15196
15202
|
s.resetOverflow() && n(s);
|
|
15197
15203
|
break;
|
|
@@ -15587,7 +15593,7 @@ function Eo(t, e, i) {
|
|
|
15587
15593
|
const n = t.getRootElement(), s = n && n.onAnchorClicked ? n.onAnchorClicked : ae.onAnchorClicked;
|
|
15588
15594
|
return s !== void 0 ? s(t, e, i) : !1;
|
|
15589
15595
|
}
|
|
15590
|
-
function
|
|
15596
|
+
function h1(t) {
|
|
15591
15597
|
const e = t.parent ? t.parent.getRootElement() : void 0, i = e && e.onExecuteAction ? e.onExecuteAction : ae.onExecuteAction;
|
|
15592
15598
|
t.prepareForExecution() && i && i(t);
|
|
15593
15599
|
}
|
|
@@ -15595,7 +15601,7 @@ function Ao(t, e) {
|
|
|
15595
15601
|
const i = t.parent ? t.parent.getRootElement() : void 0, n = i && i.onInlineCardExpanded ? i.onInlineCardExpanded : ae.onInlineCardExpanded;
|
|
15596
15602
|
n && n(t, e);
|
|
15597
15603
|
}
|
|
15598
|
-
function
|
|
15604
|
+
function p1(t) {
|
|
15599
15605
|
const e = t.getRootElement(), i = e && e.onInputValueChanged ? e.onInputValueChanged : ae.onInputValueChanged;
|
|
15600
15606
|
i && i(t);
|
|
15601
15607
|
}
|
|
@@ -15608,11 +15614,11 @@ function cr(t, e = !0) {
|
|
|
15608
15614
|
function Bu(t, e) {
|
|
15609
15615
|
e ? (t.readOnly = !0, t.required = !0) : (t.readOnly = !1, t.required = !1);
|
|
15610
15616
|
}
|
|
15611
|
-
function
|
|
15617
|
+
function m1(t, e) {
|
|
15612
15618
|
const i = t.parent ? t.parent.getRootElement() : void 0, n = i && i.onDisplayOverflowActionMenu ? i.onDisplayOverflowActionMenu : ae.onDisplayOverflowActionMenu;
|
|
15613
15619
|
return n !== void 0 ? n(t.getActions(), e) : !1;
|
|
15614
15620
|
}
|
|
15615
|
-
function
|
|
15621
|
+
function g1(t, e) {
|
|
15616
15622
|
const i = t.parent ? t.parent.getRootElement() : void 0, n = i && i.onRenderOverflowActions ? i.onRenderOverflowActions : ae.onRenderOverflowActions;
|
|
15617
15623
|
return n !== void 0 ? n(t.getActions(), e) : !1;
|
|
15618
15624
|
}
|
|
@@ -15695,7 +15701,7 @@ class Ru extends je {
|
|
|
15695
15701
|
return !1;
|
|
15696
15702
|
}
|
|
15697
15703
|
}
|
|
15698
|
-
class
|
|
15704
|
+
class b1 extends Pe {
|
|
15699
15705
|
parse(e, i, n) {
|
|
15700
15706
|
const s = n.parseAction(e.parent, i[this.name], [], !1);
|
|
15701
15707
|
if (s !== void 0) {
|
|
@@ -15723,8 +15729,8 @@ class $t extends Ee {
|
|
|
15723
15729
|
return "RefreshDefinition";
|
|
15724
15730
|
}
|
|
15725
15731
|
}
|
|
15726
|
-
$t.actionProperty = new
|
|
15727
|
-
$t.userIdsProperty = new
|
|
15732
|
+
$t.actionProperty = new b1(x.v1_4, "action");
|
|
15733
|
+
$t.userIdsProperty = new Gg(x.v1_4, "userIds");
|
|
15728
15734
|
S([
|
|
15729
15735
|
A($t.actionProperty)
|
|
15730
15736
|
], $t.prototype, "action", null);
|
|
@@ -15931,7 +15937,7 @@ S([
|
|
|
15931
15937
|
S([
|
|
15932
15938
|
A(ae.authenticationProperty)
|
|
15933
15939
|
], ae.prototype, "authentication", void 0);
|
|
15934
|
-
class
|
|
15940
|
+
class y1 extends ae {
|
|
15935
15941
|
constructor() {
|
|
15936
15942
|
super(...arguments), this.suppressStyle = !1;
|
|
15937
15943
|
}
|
|
@@ -16043,7 +16049,7 @@ K.defaultActions.register(Dn.JsonTypeName, Dn);
|
|
|
16043
16049
|
K.defaultActions.register(ni.JsonTypeName, ni);
|
|
16044
16050
|
K.defaultActions.register(_i.JsonTypeName, _i, x.v1_2);
|
|
16045
16051
|
K.defaultActions.register(ii.JsonTypeName, ii, x.v1_4);
|
|
16046
|
-
const
|
|
16052
|
+
const v1 = /* @__PURE__ */ me({
|
|
16047
16053
|
__name: "AdaptiveCardRenderer",
|
|
16048
16054
|
props: {
|
|
16049
16055
|
payload: {},
|
|
@@ -16124,7 +16130,7 @@ const y1 = /* @__PURE__ */ me({
|
|
|
16124
16130
|
"data-testid": "adaptive-card-renderer"
|
|
16125
16131
|
}, null, 512));
|
|
16126
16132
|
}
|
|
16127
|
-
}),
|
|
16133
|
+
}), _1 = /* @__PURE__ */ me({
|
|
16128
16134
|
__name: "AdaptiveCard",
|
|
16129
16135
|
setup(t) {
|
|
16130
16136
|
const e = Je(), { message: i, config: n } = lt(), s = {
|
|
@@ -16180,7 +16186,7 @@ const y1 = /* @__PURE__ */ me({
|
|
|
16180
16186
|
"data-testid": "adaptive-card-message"
|
|
16181
16187
|
}, {
|
|
16182
16188
|
default: At(() => [
|
|
16183
|
-
We(
|
|
16189
|
+
We(v1, {
|
|
16184
16190
|
payload: o.value,
|
|
16185
16191
|
"host-config": s,
|
|
16186
16192
|
readonly: c.value,
|
|
@@ -16190,11 +16196,11 @@ const y1 = /* @__PURE__ */ me({
|
|
|
16190
16196
|
_: 1
|
|
16191
16197
|
}, 8, ["class"])) : Q("", !0);
|
|
16192
16198
|
}
|
|
16193
|
-
}),
|
|
16194
|
-
adaptivecardWrapper:
|
|
16195
|
-
},
|
|
16196
|
-
$style:
|
|
16197
|
-
},
|
|
16199
|
+
}), x1 = "_adaptivecardWrapper_xjr4l_3", C1 = {
|
|
16200
|
+
adaptivecardWrapper: x1
|
|
16201
|
+
}, w1 = {
|
|
16202
|
+
$style: C1
|
|
16203
|
+
}, E1 = /* @__PURE__ */ Me(_1, [["__cssModules", w1]]), A1 = ["data-message-id"], S1 = ["id"], k1 = /* @__PURE__ */ me({
|
|
16198
16204
|
__name: "Message",
|
|
16199
16205
|
props: {
|
|
16200
16206
|
message: {},
|
|
@@ -16226,15 +16232,15 @@ const y1 = /* @__PURE__ */ me({
|
|
|
16226
16232
|
}), ul(s);
|
|
16227
16233
|
const r = {
|
|
16228
16234
|
Text: zr,
|
|
16229
|
-
Image:
|
|
16230
|
-
Video:
|
|
16231
|
-
Audio:
|
|
16232
|
-
TextWithButtons:
|
|
16233
|
-
Gallery:
|
|
16234
|
-
List:
|
|
16235
|
-
File:
|
|
16236
|
-
DatePicker:
|
|
16237
|
-
AdaptiveCard:
|
|
16235
|
+
Image: Wh,
|
|
16236
|
+
Video: op,
|
|
16237
|
+
Audio: Ep,
|
|
16238
|
+
TextWithButtons: Rp,
|
|
16239
|
+
Gallery: Lm,
|
|
16240
|
+
List: lg,
|
|
16241
|
+
File: kg,
|
|
16242
|
+
DatePicker: Og,
|
|
16243
|
+
AdaptiveCard: E1
|
|
16238
16244
|
}, a = w(() => {
|
|
16239
16245
|
const d = rl(i.message, i.config, i.plugins);
|
|
16240
16246
|
return !Array.isArray(d) || d.length < 1 ? [] : d.map((h) => tl(h) ? h.component : r[h.name] ?? null).filter((h) => h !== null);
|
|
@@ -16267,17 +16273,17 @@ const y1 = /* @__PURE__ */ me({
|
|
|
16267
16273
|
tabindex: -1,
|
|
16268
16274
|
class: N(T(e).srOnly),
|
|
16269
16275
|
"aria-hidden": "true"
|
|
16270
|
-
}, null, 10,
|
|
16271
|
-
], 14,
|
|
16272
|
-
}
|
|
16273
|
-
}),
|
|
16274
|
-
message:
|
|
16275
|
-
incoming:
|
|
16276
|
-
outgoing:
|
|
16277
|
-
srOnly:
|
|
16278
|
-
},
|
|
16279
|
-
$style:
|
|
16280
|
-
},
|
|
16276
|
+
}, null, 10, S1)
|
|
16277
|
+
], 14, A1)) : Q("", !0);
|
|
16278
|
+
}
|
|
16279
|
+
}), I1 = "_message_12aed_2", T1 = "_incoming_12aed_12", P1 = "_outgoing_12aed_16", D1 = "_srOnly_12aed_21", M1 = {
|
|
16280
|
+
message: I1,
|
|
16281
|
+
incoming: T1,
|
|
16282
|
+
outgoing: P1,
|
|
16283
|
+
srOnly: D1
|
|
16284
|
+
}, L1 = {
|
|
16285
|
+
$style: M1
|
|
16286
|
+
}, nb = /* @__PURE__ */ Me(k1, [["__cssModules", L1]]), F1 = /* @__PURE__ */ me({
|
|
16281
16287
|
__name: "TypingIndicator",
|
|
16282
16288
|
props: {
|
|
16283
16289
|
className: { default: "" },
|
|
@@ -16310,18 +16316,18 @@ const y1 = /* @__PURE__ */ me({
|
|
|
16310
16316
|
}, null, 2)
|
|
16311
16317
|
], 2));
|
|
16312
16318
|
}
|
|
16313
|
-
}),
|
|
16314
|
-
typingIndicator:
|
|
16315
|
-
disableBorder:
|
|
16316
|
-
incoming:
|
|
16317
|
-
outgoing:
|
|
16318
|
-
dot:
|
|
16319
|
-
dot1:
|
|
16320
|
-
dot2:
|
|
16321
|
-
dot3:
|
|
16322
|
-
},
|
|
16323
|
-
$style:
|
|
16324
|
-
},
|
|
16319
|
+
}), O1 = "_typingIndicator_1jqtz_2", B1 = "_disableBorder_1jqtz_22", R1 = "_incoming_1jqtz_27", N1 = "_outgoing_1jqtz_31", z1 = "_dot_1jqtz_35", V1 = "_dot1_1jqtz_1", H1 = "_dot2_1jqtz_1", $1 = "_dot3_1jqtz_1", W1 = {
|
|
16320
|
+
typingIndicator: O1,
|
|
16321
|
+
disableBorder: B1,
|
|
16322
|
+
incoming: R1,
|
|
16323
|
+
outgoing: N1,
|
|
16324
|
+
dot: z1,
|
|
16325
|
+
dot1: V1,
|
|
16326
|
+
dot2: H1,
|
|
16327
|
+
dot3: $1
|
|
16328
|
+
}, q1 = {
|
|
16329
|
+
$style: W1
|
|
16330
|
+
}, sb = /* @__PURE__ */ Me(F1, [["__cssModules", q1]]), U1 = ["id"], G1 = /* @__PURE__ */ me({
|
|
16325
16331
|
__name: "ChatEvent",
|
|
16326
16332
|
props: {
|
|
16327
16333
|
text: { default: "" },
|
|
@@ -16346,25 +16352,25 @@ const y1 = /* @__PURE__ */ me({
|
|
|
16346
16352
|
class: N(T(i).eventText)
|
|
16347
16353
|
}, fi(t.text), 3)
|
|
16348
16354
|
], 2)
|
|
16349
|
-
], 10,
|
|
16350
|
-
}
|
|
16351
|
-
}),
|
|
16352
|
-
eventPill:
|
|
16353
|
-
eventPillTextWrapper:
|
|
16354
|
-
eventText:
|
|
16355
|
-
},
|
|
16356
|
-
$style:
|
|
16357
|
-
},
|
|
16358
|
-
function
|
|
16355
|
+
], 10, U1));
|
|
16356
|
+
}
|
|
16357
|
+
}), j1 = "_eventPill_1kplp_2", J1 = "_eventPillTextWrapper_1kplp_12", X1 = "_eventText_1kplp_22", Z1 = {
|
|
16358
|
+
eventPill: j1,
|
|
16359
|
+
eventPillTextWrapper: J1,
|
|
16360
|
+
eventText: X1
|
|
16361
|
+
}, Y1 = {
|
|
16362
|
+
$style: Z1
|
|
16363
|
+
}, rb = /* @__PURE__ */ Me(G1, [["__cssModules", Y1]]), Nu = /* @__PURE__ */ Symbol("ImageContext");
|
|
16364
|
+
function ab(t) {
|
|
16359
16365
|
gs(Nu, t);
|
|
16360
16366
|
}
|
|
16361
|
-
function
|
|
16367
|
+
function ob() {
|
|
16362
16368
|
const t = Sr(Nu);
|
|
16363
16369
|
if (!t)
|
|
16364
16370
|
throw new Error("useImageContext must be used within an ImageMessage component");
|
|
16365
16371
|
return t;
|
|
16366
16372
|
}
|
|
16367
|
-
function
|
|
16373
|
+
function ub(t, e) {
|
|
16368
16374
|
const i = w(() => {
|
|
16369
16375
|
const u = xn(t), l = xn(e);
|
|
16370
16376
|
return dt(u, l);
|
|
@@ -16381,10 +16387,10 @@ function ob(t, e) {
|
|
|
16381
16387
|
attachmentType: o
|
|
16382
16388
|
};
|
|
16383
16389
|
}
|
|
16384
|
-
function
|
|
16390
|
+
function K1(t, e) {
|
|
16385
16391
|
return t.source === "bot" && e.source === "bot" && !!t.text && !!e.text && !t.data?._cognigy?._webchat && !e.data?._cognigy?._webchat && !t.data?.attachments && !e.data?.attachments && !t.data?._plugin && !e.data?._plugin;
|
|
16386
16392
|
}
|
|
16387
|
-
function
|
|
16393
|
+
function lb(t, e) {
|
|
16388
16394
|
const i = w(() => xn(e)?.settings?.behavior?.collateStreamedOutputs === !0), n = w(() => {
|
|
16389
16395
|
const a = xn(t);
|
|
16390
16396
|
if (!i.value || !a || a.length === 0)
|
|
@@ -16394,7 +16400,7 @@ function ub(t, e) {
|
|
|
16394
16400
|
const c = u.length - 1, d = u[c];
|
|
16395
16401
|
if (d) {
|
|
16396
16402
|
const h = d.collatedFrom, m = h ? h[h.length - 1] : d;
|
|
16397
|
-
if (
|
|
16403
|
+
if (K1(l, m)) {
|
|
16398
16404
|
const f = h ? [...h, l] : [m, l];
|
|
16399
16405
|
u[c] = {
|
|
16400
16406
|
...d,
|
|
@@ -16417,7 +16423,7 @@ function ub(t, e) {
|
|
|
16417
16423
|
};
|
|
16418
16424
|
}
|
|
16419
16425
|
const Ar = "webchat-live-region";
|
|
16420
|
-
function
|
|
16426
|
+
function Q1() {
|
|
16421
16427
|
let t = document.getElementById(Ar);
|
|
16422
16428
|
return t || (t = document.createElement("div"), t.id = Ar, t.setAttribute("role", "status"), t.setAttribute("aria-live", "polite"), t.setAttribute("aria-atomic", "true"), Object.assign(t.style, {
|
|
16423
16429
|
position: "absolute",
|
|
@@ -16432,10 +16438,10 @@ function K1() {
|
|
|
16432
16438
|
}), document.body.appendChild(t)), t;
|
|
16433
16439
|
}
|
|
16434
16440
|
let Qn = 0;
|
|
16435
|
-
function
|
|
16441
|
+
function cb(t) {
|
|
16436
16442
|
qt(() => {
|
|
16437
16443
|
if (Qn++, t.enabled === !1 || !t.announcement) return;
|
|
16438
|
-
const e =
|
|
16444
|
+
const e = Q1();
|
|
16439
16445
|
e.textContent = "", requestAnimationFrame(() => {
|
|
16440
16446
|
e.textContent = t.announcement;
|
|
16441
16447
|
});
|
|
@@ -16450,31 +16456,31 @@ function lb(t) {
|
|
|
16450
16456
|
export {
|
|
16451
16457
|
br as ActionButton,
|
|
16452
16458
|
Cs as ActionButtons,
|
|
16453
|
-
|
|
16459
|
+
E1 as AdaptiveCard,
|
|
16454
16460
|
Xa as ArrowBackIcon,
|
|
16455
|
-
|
|
16456
|
-
|
|
16457
|
-
|
|
16461
|
+
Ep as AudioMessage,
|
|
16462
|
+
yh as AudioPauseIcon,
|
|
16463
|
+
gh as AudioPlayIcon,
|
|
16458
16464
|
Fo as ChatBubble,
|
|
16459
|
-
|
|
16460
|
-
|
|
16461
|
-
|
|
16465
|
+
rb as ChatEvent,
|
|
16466
|
+
dh as CloseIcon,
|
|
16467
|
+
Og as DatePicker,
|
|
16462
16468
|
os as DownloadIcon,
|
|
16463
|
-
|
|
16464
|
-
|
|
16469
|
+
kg as FileMessage,
|
|
16470
|
+
Lm as Gallery,
|
|
16465
16471
|
Nu as ImageContextKey,
|
|
16466
|
-
|
|
16472
|
+
Wh as ImageMessage,
|
|
16467
16473
|
Kf as LinkIcon,
|
|
16468
|
-
|
|
16469
|
-
|
|
16474
|
+
lg as List,
|
|
16475
|
+
nb as Message,
|
|
16470
16476
|
Tr as MessageContextKey,
|
|
16471
16477
|
zr as TextMessage,
|
|
16472
|
-
|
|
16473
|
-
|
|
16478
|
+
Rp as TextWithButtons,
|
|
16479
|
+
sb as TypingIndicator,
|
|
16474
16480
|
Tt as Typography,
|
|
16475
16481
|
Yl as VALID_IMAGE_MIME_TYPES,
|
|
16476
|
-
|
|
16477
|
-
|
|
16482
|
+
op as VideoMessage,
|
|
16483
|
+
ph as VideoPlayIcon,
|
|
16478
16484
|
al as configColorsToCssVariables,
|
|
16479
16485
|
jl as getBackgroundImage,
|
|
16480
16486
|
dt as getChannelPayload,
|
|
@@ -16487,17 +16493,17 @@ export {
|
|
|
16487
16493
|
Ia as isImageAttachment,
|
|
16488
16494
|
rl as match,
|
|
16489
16495
|
ql as moveFocusToMessageFocusTarget,
|
|
16490
|
-
|
|
16496
|
+
ab as provideImageContext,
|
|
16491
16497
|
ul as provideMessageContext,
|
|
16492
16498
|
Gl as replaceUrlsWithHTMLanchorElem,
|
|
16493
|
-
|
|
16499
|
+
ib as sanitizeContent,
|
|
16494
16500
|
bs as sanitizeHTMLWithConfig,
|
|
16495
16501
|
ol as themeFontToCssVariable,
|
|
16496
|
-
|
|
16497
|
-
|
|
16498
|
-
|
|
16499
|
-
|
|
16502
|
+
ub as useChannelPayload,
|
|
16503
|
+
lb as useCollation,
|
|
16504
|
+
ob as useImageContext,
|
|
16505
|
+
cb as useLiveRegion,
|
|
16500
16506
|
lt as useMessageContext,
|
|
16501
|
-
|
|
16507
|
+
tb as useMessageContextOptional,
|
|
16502
16508
|
Pr as useSanitize
|
|
16503
16509
|
};
|