@mobielnl/elements 0.10.2 → 0.10.4
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.
|
@@ -16657,7 +16657,7 @@ function Oh({
|
|
|
16657
16657
|
n !== ne.language && $P(n);
|
|
16658
16658
|
}, [n]), /* @__PURE__ */ m(gP, { i18n: ne, children: /* @__PURE__ */ m("div", { className: "mobielnl-elements", children: /* @__PURE__ */ m("div", { className: $("bg-background text-foreground antialiased", t), children: e }) }) });
|
|
16659
16659
|
}
|
|
16660
|
-
function
|
|
16660
|
+
function UB({ withShadowDOM: e, ...t }) {
|
|
16661
16661
|
if (!e) return /* @__PURE__ */ m(Oh, { ...t });
|
|
16662
16662
|
const r = typeof e == "object" ? e : void 0;
|
|
16663
16663
|
return /* @__PURE__ */ m(yP, { css: r?.css, cssUrl: r?.cssUrl, children: /* @__PURE__ */ m(Oh, { ...t }) });
|
|
@@ -17821,10 +17821,10 @@ function Ue(e, t = {}) {
|
|
|
17821
17821
|
function $d({ Component: e, props: t, renderCustom: r }) {
|
|
17822
17822
|
return r && typeof r == "function" ? r(t) : Kt.createElement(e, t);
|
|
17823
17823
|
}
|
|
17824
|
-
var [
|
|
17824
|
+
var [HB, JP] = Ln({
|
|
17825
17825
|
name: "AvatarGroupContext",
|
|
17826
17826
|
strict: !1
|
|
17827
|
-
}), [
|
|
17827
|
+
}), [qB, ut] = Ln({
|
|
17828
17828
|
name: "ProviderContext",
|
|
17829
17829
|
strict: !1
|
|
17830
17830
|
});
|
|
@@ -19042,8 +19042,8 @@ const Hh = /* @__PURE__ */ new Set();
|
|
|
19042
19042
|
function u5(e, t, r) {
|
|
19043
19043
|
e || Hh.has(t) || (console.warn(Td(t, r)), Hh.add(t));
|
|
19044
19044
|
}
|
|
19045
|
-
const xy = (e) => (t) => typeof t == "string" && t.startsWith(e), c5 = /* @__PURE__ */ xy("--"), d5 = /* @__PURE__ */ xy("var(--"),
|
|
19046
|
-
function
|
|
19045
|
+
const xy = (e) => (t) => typeof t == "string" && t.startsWith(e), c5 = /* @__PURE__ */ xy("--"), d5 = /* @__PURE__ */ xy("var(--"), GB = (e) => d5(e) ? f5.test(e.split("/*")[0].trim()) : !1, f5 = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
|
|
19046
|
+
function ZB(e) {
|
|
19047
19047
|
return typeof e != "string" ? !1 : e.split("/*")[0].includes("var(--");
|
|
19048
19048
|
}
|
|
19049
19049
|
const yi = {
|
|
@@ -19095,7 +19095,7 @@ const qh = {
|
|
|
19095
19095
|
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
|
|
19096
19096
|
parse: parseFloat,
|
|
19097
19097
|
transform: (t) => `${t}${e}`
|
|
19098
|
-
}), yn = /* @__PURE__ */ Ca("deg"), na = /* @__PURE__ */ Ca("%"), ge = /* @__PURE__ */ Ca("px"),
|
|
19098
|
+
}), yn = /* @__PURE__ */ Ca("deg"), na = /* @__PURE__ */ Ca("%"), ge = /* @__PURE__ */ Ca("px"), YB = /* @__PURE__ */ Ca("vh"), JB = /* @__PURE__ */ Ca("vw"), Gh = {
|
|
19099
19099
|
...na,
|
|
19100
19100
|
parse: (e) => na.parse(e) / 100,
|
|
19101
19101
|
transform: (e) => na.transform(e * 100)
|
|
@@ -22700,7 +22700,7 @@ var J1 = De((e, t) => {
|
|
|
22700
22700
|
] });
|
|
22701
22701
|
});
|
|
22702
22702
|
J1.displayName = "HeroUI.Badge";
|
|
22703
|
-
var k6 = J1, [
|
|
22703
|
+
var k6 = J1, [XB, E6] = Ln({
|
|
22704
22704
|
name: "ButtonGroupContext",
|
|
22705
22705
|
strict: !1
|
|
22706
22706
|
});
|
|
@@ -22766,7 +22766,7 @@ function Si(e, t) {
|
|
|
22766
22766
|
})
|
|
22767
22767
|
};
|
|
22768
22768
|
}
|
|
22769
|
-
var T6 = () => import("./index-
|
|
22769
|
+
var T6 = () => import("./index-ZSAmRwRv.js").then((e) => e.default), X1 = (e) => {
|
|
22770
22770
|
const { ripples: t = [], motionProps: r, color: n = "currentColor", style: o, onClear: a } = e;
|
|
22771
22771
|
return /* @__PURE__ */ m(st, { children: t.map((s) => {
|
|
22772
22772
|
const i = bS(0.01 * s.size, 0.2, s.size > 100 ? 0.75 : 0.5);
|
|
@@ -23498,7 +23498,7 @@ function Tm() {
|
|
|
23498
23498
|
height: wr && wr?.height || window.innerHeight
|
|
23499
23499
|
};
|
|
23500
23500
|
}
|
|
23501
|
-
var _m = () => import("./index-
|
|
23501
|
+
var _m = () => import("./index-ZSAmRwRv.js").then((e) => e.default), px = (e) => {
|
|
23502
23502
|
const { as: t, children: r, role: n = "dialog", ...o } = e, {
|
|
23503
23503
|
Component: a,
|
|
23504
23504
|
domRef: s,
|
|
@@ -32565,7 +32565,7 @@ function fD(e) {
|
|
|
32565
32565
|
getContentProps: Qe
|
|
32566
32566
|
};
|
|
32567
32567
|
}
|
|
32568
|
-
var Yw = () => import("./index-
|
|
32568
|
+
var Yw = () => import("./index-ZSAmRwRv.js").then((e) => e.default), Jw = De(
|
|
32569
32569
|
({
|
|
32570
32570
|
children: e,
|
|
32571
32571
|
motionProps: t,
|
|
@@ -35628,7 +35628,7 @@ He`
|
|
|
35628
35628
|
}
|
|
35629
35629
|
${C4}`;
|
|
35630
35630
|
He`
|
|
35631
|
-
query phoneSelectorProductVersion($slug: String!, $properties: [InputDistinctProperty]) {
|
|
35631
|
+
query phoneSelectorProductVersion($slug: String!, $properties: [InputDistinctProperty!]!) {
|
|
35632
35632
|
product(slug: $slug) {
|
|
35633
35633
|
fullName
|
|
35634
35634
|
brand {
|
|
@@ -36828,7 +36828,7 @@ function VI(e) {
|
|
|
36828
36828
|
getTooltipProps: Ae
|
|
36829
36829
|
};
|
|
36830
36830
|
}
|
|
36831
|
-
var KI = () => import("./index-
|
|
36831
|
+
var KI = () => import("./index-ZSAmRwRv.js").then((e) => e.default), E4 = De((e, t) => {
|
|
36832
36832
|
var r;
|
|
36833
36833
|
const {
|
|
36834
36834
|
Component: n,
|
|
@@ -41506,11 +41506,17 @@ function XM(e, t, r, n) {
|
|
|
41506
41506
|
const l = s.includes("internet") ? "" : ` ${ne.t("format.internet")}`;
|
|
41507
41507
|
return `${i.name}${l}${a}`;
|
|
41508
41508
|
}
|
|
41509
|
-
|
|
41509
|
+
function QM(e, t) {
|
|
41510
|
+
if (e.keepCurrentMsisdn === void 0) return ne.t("profile.askNumberPreservation");
|
|
41511
|
+
if (!e.keepCurrentMsisdn) return ne.t("profile.newNumber");
|
|
41512
|
+
const r = e.currentMsisdn ? `${e.currentMsisdn} • ` : "", n = t.find((o) => o.slug === e.currentProviderSlug)?.name || ne.t("numberPreservation.otherProvider");
|
|
41513
|
+
return `${r}${n}`;
|
|
41514
|
+
}
|
|
41515
|
+
async function eR() {
|
|
41510
41516
|
const e = Dp("mobielnl-ppt")?.token;
|
|
41511
41517
|
return e || Fp();
|
|
41512
41518
|
}
|
|
41513
|
-
function
|
|
41519
|
+
function tR(e, t) {
|
|
41514
41520
|
if (!e || e.length === 0 || !t || t.length === 0)
|
|
41515
41521
|
return [];
|
|
41516
41522
|
const r = new Set(e.map((n) => n.scope));
|
|
@@ -41532,11 +41538,11 @@ const g2 = Ct({
|
|
|
41532
41538
|
setProfile: (e) => {
|
|
41533
41539
|
}
|
|
41534
41540
|
}), b2 = 30;
|
|
41535
|
-
function
|
|
41541
|
+
function rR(e) {
|
|
41536
41542
|
const t = m2.safeParse(e);
|
|
41537
41543
|
return t.success ? (Np("mobielnl-profile", t.data, { expires: b2 }), t.data) : e;
|
|
41538
41544
|
}
|
|
41539
|
-
function
|
|
41545
|
+
function nR({
|
|
41540
41546
|
children: e,
|
|
41541
41547
|
initialProfile: t,
|
|
41542
41548
|
onProfileChange: r
|
|
@@ -41552,7 +41558,7 @@ function rR({
|
|
|
41552
41558
|
(l) => {
|
|
41553
41559
|
a((u) => {
|
|
41554
41560
|
const c = { ...u, ...l };
|
|
41555
|
-
return r?.(c),
|
|
41561
|
+
return r?.(c), rR(c), n({ type: "profile_changed", from: u, to: c }), c;
|
|
41556
41562
|
});
|
|
41557
41563
|
},
|
|
41558
41564
|
[r, n]
|
|
@@ -41562,7 +41568,7 @@ function rR({
|
|
|
41562
41568
|
function Ur() {
|
|
41563
41569
|
return ze(g2);
|
|
41564
41570
|
}
|
|
41565
|
-
function
|
|
41571
|
+
function oR() {
|
|
41566
41572
|
const [e, t] = re(!1);
|
|
41567
41573
|
return q0(() => {
|
|
41568
41574
|
Dp("mobielnl-attribution-tracked")?.tracked === !0 || t(!0);
|
|
@@ -41609,7 +41615,7 @@ function v2(e, t) {
|
|
|
41609
41615
|
}
|
|
41610
41616
|
];
|
|
41611
41617
|
}
|
|
41612
|
-
const
|
|
41618
|
+
const aR = He`
|
|
41613
41619
|
query getAllProviders {
|
|
41614
41620
|
providers {
|
|
41615
41621
|
slug
|
|
@@ -41623,12 +41629,12 @@ const oR = He`
|
|
|
41623
41629
|
}
|
|
41624
41630
|
`;
|
|
41625
41631
|
function y2(e = !0, t = []) {
|
|
41626
|
-
const { data: r } = sn(e ? [
|
|
41632
|
+
const { data: r } = sn(e ? [aR] : null, {
|
|
41627
41633
|
fetcher: Gt
|
|
41628
41634
|
});
|
|
41629
41635
|
return r ? r.providers.filter((n) => n.hasMobile && !t.includes(n.slug)).sort((n, o) => n.mobileRank - o.mobileRank) : [];
|
|
41630
41636
|
}
|
|
41631
|
-
const
|
|
41637
|
+
const sR = He`
|
|
41632
41638
|
query getModificationBlocks($version: String!, $productType: String!) {
|
|
41633
41639
|
modificationConfig(version: $version) {
|
|
41634
41640
|
fixedBlocks: blocks(types: ["fixed"], interface: $productType) {
|
|
@@ -41655,7 +41661,7 @@ const aR = He`
|
|
|
41655
41661
|
`;
|
|
41656
41662
|
function Lp(e, t = !0) {
|
|
41657
41663
|
const { data: r } = sn(
|
|
41658
|
-
t ? [
|
|
41664
|
+
t ? [sR, { version: "release", productType: e }] : null,
|
|
41659
41665
|
{ fetcher: Gt }
|
|
41660
41666
|
);
|
|
41661
41667
|
return r?.modificationConfig ? {
|
|
@@ -41667,19 +41673,19 @@ function Lp(e, t = !0) {
|
|
|
41667
41673
|
)
|
|
41668
41674
|
} : { fixedBlocks: [], otherBlocks: [] };
|
|
41669
41675
|
}
|
|
41670
|
-
function
|
|
41676
|
+
function iR(e, t) {
|
|
41671
41677
|
return !e && !t ? "" : t && /^\d+$/.test(t) ? `${e}/${t}` : `${e}${t ?? ""}`;
|
|
41672
41678
|
}
|
|
41673
|
-
function
|
|
41679
|
+
function lR({
|
|
41674
41680
|
street: e,
|
|
41675
41681
|
city: t,
|
|
41676
41682
|
number: r,
|
|
41677
41683
|
numberAddon: n
|
|
41678
41684
|
}) {
|
|
41679
41685
|
if (!(!e || !r || !t))
|
|
41680
|
-
return `${e} ${
|
|
41686
|
+
return `${e} ${iR(r, n)}, ${t}`;
|
|
41681
41687
|
}
|
|
41682
|
-
function
|
|
41688
|
+
function uR(e) {
|
|
41683
41689
|
var t, r;
|
|
41684
41690
|
const n = ut(), [o, a] = St(e, ch.variantKeys), {
|
|
41685
41691
|
ref: s,
|
|
@@ -41785,7 +41791,7 @@ var x2 = De((e, t) => {
|
|
|
41785
41791
|
getImgProps: d,
|
|
41786
41792
|
getWrapperProps: p,
|
|
41787
41793
|
getBlurredImgProps: f
|
|
41788
|
-
} =
|
|
41794
|
+
} = uR({
|
|
41789
41795
|
...e,
|
|
41790
41796
|
ref: t
|
|
41791
41797
|
}), h = /* @__PURE__ */ m(r, { ref: n, ...d() });
|
|
@@ -41802,7 +41808,7 @@ var x2 = De((e, t) => {
|
|
|
41802
41808
|
});
|
|
41803
41809
|
x2.displayName = "HeroUI.Image";
|
|
41804
41810
|
var ar = x2;
|
|
41805
|
-
function
|
|
41811
|
+
function cR({ productCategory: e }) {
|
|
41806
41812
|
const { t } = je(), { combiDealModal: r } = it(), { profile: n, setProfile: o } = Ur(), { popoverProps: a } = dn(), [s] = Co(), { isOpen: i, setModal: l } = Ki("combi-deal"), u = e === "fixed-proposition" ? "fixed" : "mobile", c = Lp(u), [d, p] = re(!1), f = G(
|
|
41807
41813
|
() => v2(c.fixedBlocks, u),
|
|
41808
41814
|
[c.fixedBlocks.length]
|
|
@@ -42086,7 +42092,7 @@ function uR({ productCategory: e }) {
|
|
|
42086
42092
|
}
|
|
42087
42093
|
);
|
|
42088
42094
|
}
|
|
42089
|
-
function
|
|
42095
|
+
function dR(e, t) {
|
|
42090
42096
|
let { inputElementType: r = "input", isDisabled: n = !1, isRequired: o = !1, isReadOnly: a = !1, type: s = "text", validationBehavior: i = "aria" } = e, [l, u] = Tr(e.value, e.defaultValue || "", e.onChange), { focusableProps: c } = cn(e, t), d = To({
|
|
42091
42097
|
...e,
|
|
42092
42098
|
value: l
|
|
@@ -42152,7 +42158,7 @@ function cR(e, t) {
|
|
|
42152
42158
|
validationDetails: h
|
|
42153
42159
|
};
|
|
42154
42160
|
}
|
|
42155
|
-
function
|
|
42161
|
+
function fR(e) {
|
|
42156
42162
|
var t, r, n, o, a, s, i;
|
|
42157
42163
|
const l = ut(), { validationBehavior: u } = _o(Nn) || {}, [c, d] = St(e, th.variantKeys), {
|
|
42158
42164
|
ref: p,
|
|
@@ -42199,7 +42205,7 @@ function dR(e) {
|
|
|
42199
42205
|
validationDetails: xe,
|
|
42200
42206
|
descriptionProps: ue,
|
|
42201
42207
|
errorMessageProps: Xe
|
|
42202
|
-
} =
|
|
42208
|
+
} = dR(
|
|
42203
42209
|
{
|
|
42204
42210
|
...e,
|
|
42205
42211
|
validationBehavior: N,
|
|
@@ -42503,7 +42509,7 @@ var w2 = De((e, t) => {
|
|
|
42503
42509
|
getDescriptionProps: S,
|
|
42504
42510
|
getErrorMessageProps: T,
|
|
42505
42511
|
getClearButtonProps: k
|
|
42506
|
-
} =
|
|
42512
|
+
} = fR({ ...e, ref: t }), _ = n ? /* @__PURE__ */ m("label", { ...b(), children: n }) : null, O = G(() => a ? /* @__PURE__ */ m("button", { ...k(), children: i || /* @__PURE__ */ m(ep, {}) }) : i, [a, k]), N = G(() => {
|
|
42507
42513
|
const z = h && f;
|
|
42508
42514
|
return !u || !(z || o) ? null : /* @__PURE__ */ m("div", { ...C(), children: z ? /* @__PURE__ */ m("div", { ...T(), children: f }) : /* @__PURE__ */ m("div", { ...S(), children: o }) });
|
|
42509
42515
|
}, [
|
|
@@ -42550,7 +42556,7 @@ var w2 = De((e, t) => {
|
|
|
42550
42556
|
});
|
|
42551
42557
|
w2.displayName = "HeroUI.Input";
|
|
42552
42558
|
var Ss = w2;
|
|
42553
|
-
function
|
|
42559
|
+
function pR() {
|
|
42554
42560
|
const { t: e } = je(), { numberPreservationModal: t } = it(), { isOpen: r, setModal: n } = Ki("number-preservation"), { popoverProps: o, isShadowRoot: a } = dn(), [s] = Co(), { profile: i, setProfile: l } = Ur(), [u, c] = re(i.currentMsisdn ?? ""), [d, p] = re(), [f, h] = re(!1), g = y2(), v = /^(\+31|0|0031)((6{1}[1-9]{1}[0-9]{7})|97([0-9]{9}))$/.test(u) || u.length === 0 || u === "", y = e("numberPreservation.otherProvider"), x = G(() => [
|
|
42555
42561
|
...g.map((T) => ({
|
|
42556
42562
|
slug: T.slug,
|
|
@@ -42849,7 +42855,7 @@ function fR() {
|
|
|
42849
42855
|
}
|
|
42850
42856
|
);
|
|
42851
42857
|
}
|
|
42852
|
-
const
|
|
42858
|
+
const hR = He`
|
|
42853
42859
|
query postcodeCheck($postcode: String!, $number: Int!, $numberAddon: String!) {
|
|
42854
42860
|
postcode(postcode: $postcode, number: $number, numberAddon: $numberAddon) {
|
|
42855
42861
|
address {
|
|
@@ -42870,10 +42876,10 @@ function cd(e, t) {
|
|
|
42870
42876
|
};
|
|
42871
42877
|
}, [e, t]), r;
|
|
42872
42878
|
}
|
|
42873
|
-
function
|
|
42879
|
+
function mR(e, t, r, n = "", o = !1) {
|
|
42874
42880
|
const [a, s] = re(o), i = cd(t, 500), l = cd(r, 500), u = cd(n, 500), { data: c, isValidating: d, error: p } = op(
|
|
42875
42881
|
i && l ? [
|
|
42876
|
-
|
|
42882
|
+
hR,
|
|
42877
42883
|
{
|
|
42878
42884
|
postcode: i,
|
|
42879
42885
|
number: parseInt(l, 10),
|
|
@@ -42913,14 +42919,14 @@ function hR(e, t, r, n = "", o = !1) {
|
|
|
42913
42919
|
error: f
|
|
42914
42920
|
};
|
|
42915
42921
|
}
|
|
42916
|
-
function
|
|
42922
|
+
function gR(e) {
|
|
42917
42923
|
const t = e.replace(/[^0-9a-zA-Z]/g, "").toUpperCase();
|
|
42918
42924
|
let r = "", n = "";
|
|
42919
42925
|
for (const o of t)
|
|
42920
42926
|
/\d/.test(o) && r.length < 4 ? r += o : /[A-Z]/.test(o) && r.length === 4 && n.length < 2 && (n += o);
|
|
42921
42927
|
return r + n;
|
|
42922
42928
|
}
|
|
42923
|
-
function
|
|
42929
|
+
function bR() {
|
|
42924
42930
|
const { t: e } = je(), { postcodeCheckModal: t } = it(), { profile: r, setProfile: n } = Ur(), { popoverProps: o } = dn(), [a] = Co(), { isOpen: s, setModal: i } = Ki("postcode-check"), [l, u] = re(r.address?.postcode || ""), [c, d] = re(r.address?.number || ""), [p, f] = re(r.address?.numberAddon || ""), [h, g] = re(r.address?.street || ""), [b, v] = re(r.address?.city || ""), [y, x] = re(!1), w = Y(!!(r.address?.street && r.address?.city)), C = Lp("fixed"), S = j((A) => {
|
|
42925
42931
|
A.street !== void 0 && g(A.street), A.city !== void 0 && v(A.city);
|
|
42926
42932
|
}, []);
|
|
@@ -42928,7 +42934,7 @@ function gR() {
|
|
|
42928
42934
|
const A = r.address;
|
|
42929
42935
|
u(A?.postcode || ""), d(A?.number || ""), f(A?.numberAddon || ""), g(A?.street || ""), v(A?.city || ""), w.current = !!(A?.street && A?.city);
|
|
42930
42936
|
}, [r.address]);
|
|
42931
|
-
const { manual: T, error: k } =
|
|
42937
|
+
const { manual: T, error: k } = mR(
|
|
42932
42938
|
S,
|
|
42933
42939
|
l,
|
|
42934
42940
|
c,
|
|
@@ -43046,7 +43052,7 @@ function gR() {
|
|
|
43046
43052
|
type: "text",
|
|
43047
43053
|
name: "postcode",
|
|
43048
43054
|
value: l,
|
|
43049
|
-
onValueChange: (A) => u(
|
|
43055
|
+
onValueChange: (A) => u(gR(A)),
|
|
43050
43056
|
classNames: O,
|
|
43051
43057
|
maxLength: 6,
|
|
43052
43058
|
label: e("postcodeCheck.postalCode"),
|
|
@@ -43213,7 +43219,7 @@ function gR() {
|
|
|
43213
43219
|
function r0({ productCategory: e }) {
|
|
43214
43220
|
const { t } = je(), { profile: r } = Ur(), { setModal: n } = Ki(), { profileButton: o } = it(), a = y2(), s = Lp(
|
|
43215
43221
|
e === "fixed-proposition" ? "fixed" : "mobile"
|
|
43216
|
-
), i =
|
|
43222
|
+
), i = tR(
|
|
43217
43223
|
r.currentMobileProviders,
|
|
43218
43224
|
s.otherBlocks
|
|
43219
43225
|
);
|
|
@@ -43224,27 +43230,27 @@ function r0({ productCategory: e }) {
|
|
|
43224
43230
|
vs,
|
|
43225
43231
|
{
|
|
43226
43232
|
title: t("profile.postcodeCheck"),
|
|
43227
|
-
description: r.address ?
|
|
43233
|
+
description: r.address ? lR(r.address) : t("profile.enterPostcode"),
|
|
43228
43234
|
selected: r.address !== void 0,
|
|
43229
43235
|
onClick: () => n("postcode-check"),
|
|
43230
43236
|
Icon: Y0,
|
|
43231
43237
|
classNames: o
|
|
43232
43238
|
}
|
|
43233
43239
|
),
|
|
43234
|
-
/* @__PURE__ */ m(
|
|
43240
|
+
/* @__PURE__ */ m(bR, {})
|
|
43235
43241
|
] }) : /* @__PURE__ */ F(st, { children: [
|
|
43236
43242
|
/* @__PURE__ */ m(
|
|
43237
43243
|
vs,
|
|
43238
43244
|
{
|
|
43239
43245
|
title: t("profile.numberPreservation"),
|
|
43240
|
-
description:
|
|
43246
|
+
description: QM(r, a),
|
|
43241
43247
|
selected: r.keepCurrentMsisdn !== void 0,
|
|
43242
43248
|
onClick: () => n("number-preservation"),
|
|
43243
43249
|
avatarName: "0 6",
|
|
43244
43250
|
classNames: o
|
|
43245
43251
|
}
|
|
43246
43252
|
),
|
|
43247
|
-
/* @__PURE__ */ m(
|
|
43253
|
+
/* @__PURE__ */ m(pR, {})
|
|
43248
43254
|
] }),
|
|
43249
43255
|
/* @__PURE__ */ m(
|
|
43250
43256
|
vs,
|
|
@@ -43269,10 +43275,10 @@ function r0({ productCategory: e }) {
|
|
|
43269
43275
|
classNames: o
|
|
43270
43276
|
}
|
|
43271
43277
|
),
|
|
43272
|
-
/* @__PURE__ */ m(
|
|
43278
|
+
/* @__PURE__ */ m(cR, { productCategory: e })
|
|
43273
43279
|
] });
|
|
43274
43280
|
}
|
|
43275
|
-
function
|
|
43281
|
+
function vR() {
|
|
43276
43282
|
const { t: e } = je(), [t, r] = re(!1), { sortSelect: n } = it(), { popoverContent: o, listbox: a, ...s } = n || {}, { sortOptions: i, handleFilterChange: l, getActiveFilterValue: u } = _r(), { popoverProps: c } = dn({ classNames: o });
|
|
43277
43283
|
return /* @__PURE__ */ m(
|
|
43278
43284
|
Pa,
|
|
@@ -43307,7 +43313,7 @@ function bR() {
|
|
|
43307
43313
|
}
|
|
43308
43314
|
);
|
|
43309
43315
|
}
|
|
43310
|
-
function
|
|
43316
|
+
function yR(e, t) {
|
|
43311
43317
|
return !e && !t ? "" : t && /^\d+$/.test(t) ? `${e}/${t}` : `${e}${t ?? ""}`;
|
|
43312
43318
|
}
|
|
43313
43319
|
function Ce(e, t) {
|
|
@@ -43396,7 +43402,7 @@ function sr(e, t) {
|
|
|
43396
43402
|
const r = (e / 1e3).toString().replace(".", ",");
|
|
43397
43403
|
return `${t === ne.t("format.gigabyte") ? r : e} ${t}`;
|
|
43398
43404
|
}
|
|
43399
|
-
const mf = ["kpn", "vodafone", "odido"],
|
|
43405
|
+
const mf = ["kpn", "vodafone", "odido"], xR = [
|
|
43400
43406
|
{
|
|
43401
43407
|
type: "isRetention",
|
|
43402
43408
|
rank: 1,
|
|
@@ -43487,9 +43493,9 @@ function Vp({
|
|
|
43487
43493
|
isFixed: n,
|
|
43488
43494
|
isSimOnly: o,
|
|
43489
43495
|
isSmartphone: a,
|
|
43490
|
-
budgetNetworkPropositionKeys: o || a ?
|
|
43496
|
+
budgetNetworkPropositionKeys: o || a ? wR(e) : []
|
|
43491
43497
|
}, i = /* @__PURE__ */ new Map();
|
|
43492
|
-
for (const u of
|
|
43498
|
+
for (const u of xR) {
|
|
43493
43499
|
const c = e.filter((f) => u.isApplicable(f, s));
|
|
43494
43500
|
if (c.length === 0) continue;
|
|
43495
43501
|
const d = [...c].sort((f, h) => {
|
|
@@ -43513,12 +43519,12 @@ function Vp({
|
|
|
43513
43519
|
all: e.map((u) => ({ ...u, label: i.get(u.key) }))
|
|
43514
43520
|
};
|
|
43515
43521
|
}
|
|
43516
|
-
function
|
|
43522
|
+
function wR(e) {
|
|
43517
43523
|
return mf.map(
|
|
43518
43524
|
(t) => [...e].filter((r) => (r.provider?.network || "").replace("-netwerk", "").toLowerCase() === t).sort((r, n) => r.tcoPerMonth - n.tcoPerMonth)[0]?.key
|
|
43519
43525
|
).filter((t) => !!t);
|
|
43520
43526
|
}
|
|
43521
|
-
function
|
|
43527
|
+
function CR({ channels: e, hdChannels: t, classNames: r }) {
|
|
43522
43528
|
const { t: n } = je();
|
|
43523
43529
|
return /* @__PURE__ */ F("div", { className: $("pb-4", r?.base), children: [
|
|
43524
43530
|
/* @__PURE__ */ m("div", { className: $(r?.description), children: n("detailsModal.channelsDescription", { channelsCount: e?.length }) }),
|
|
@@ -43532,7 +43538,7 @@ const Kp = /* @__PURE__ */ new WeakMap();
|
|
|
43532
43538
|
function gf(e) {
|
|
43533
43539
|
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
|
|
43534
43540
|
}
|
|
43535
|
-
function
|
|
43541
|
+
function $R(e, t) {
|
|
43536
43542
|
let r = Kp.get(e);
|
|
43537
43543
|
if (!r) throw new Error("Unknown grid");
|
|
43538
43544
|
return `${r}-${gf(t)}`;
|
|
@@ -44206,12 +44212,12 @@ class a3 {
|
|
|
44206
44212
|
}
|
|
44207
44213
|
constructor(t) {
|
|
44208
44214
|
if (this.collection = t.collection, this.disabledKeys = t.disabledKeys, this.disabledBehavior = t.disabledBehavior || "all", this.direction = t.direction, this.collator = t.collator, !t.layout && !t.ref) throw new Error("Either a layout or a ref must be specified.");
|
|
44209
|
-
this.layoutDelegate = t.layoutDelegate || (t.layout ? new
|
|
44215
|
+
this.layoutDelegate = t.layoutDelegate || (t.layout ? new SR(t.layout) : new ef(t.ref));
|
|
44210
44216
|
var r;
|
|
44211
44217
|
this.focusMode = (r = t.focusMode) !== null && r !== void 0 ? r : "row";
|
|
44212
44218
|
}
|
|
44213
44219
|
}
|
|
44214
|
-
class
|
|
44220
|
+
class SR {
|
|
44215
44221
|
getContentSize() {
|
|
44216
44222
|
return this.layout.getContentSize();
|
|
44217
44223
|
}
|
|
@@ -44709,11 +44715,11 @@ Gi = {
|
|
|
44709
44715
|
const L3 = 7e3;
|
|
44710
44716
|
let xr = null;
|
|
44711
44717
|
function V3(e, t = "assertive", r = L3) {
|
|
44712
|
-
xr ? xr.announce(e, t, r) : (xr = new
|
|
44718
|
+
xr ? xr.announce(e, t, r) : (xr = new PR(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? xr.announce(e, t, r) : setTimeout(() => {
|
|
44713
44719
|
xr?.isAttached() && xr?.announce(e, t, r);
|
|
44714
44720
|
}, 100));
|
|
44715
44721
|
}
|
|
44716
|
-
class
|
|
44722
|
+
class PR {
|
|
44717
44723
|
isAttached() {
|
|
44718
44724
|
var t;
|
|
44719
44725
|
return (t = this.node) === null || t === void 0 ? void 0 : t.isConnected;
|
|
@@ -44751,14 +44757,14 @@ class SR {
|
|
|
44751
44757
|
}), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));
|
|
44752
44758
|
}
|
|
44753
44759
|
}
|
|
44754
|
-
function
|
|
44760
|
+
function kR(e) {
|
|
44755
44761
|
return e && e.__esModule ? e.default : e;
|
|
44756
44762
|
}
|
|
44757
|
-
function
|
|
44763
|
+
function ER(e, t) {
|
|
44758
44764
|
let { getRowText: r = (i) => {
|
|
44759
44765
|
var l, u, c, d;
|
|
44760
44766
|
return (d = (l = (u = t.collection).getTextValue) === null || l === void 0 ? void 0 : l.call(u, i)) !== null && d !== void 0 ? d : (c = t.collection.getItem(i)) === null || c === void 0 ? void 0 : c.textValue;
|
|
44761
|
-
} } = e, n = ln(
|
|
44767
|
+
} } = e, n = ln(kR(Gi), "@react-aria/grid"), o = t.selectionManager.rawSelection, a = Y(o), s = j(() => {
|
|
44762
44768
|
var i;
|
|
44763
44769
|
if (!t.selectionManager.isFocused || o === a.current) {
|
|
44764
44770
|
a.current = o;
|
|
@@ -44820,11 +44826,11 @@ function n0(e, t) {
|
|
|
44820
44826
|
for (let n of e.keys()) t.has(n) || r.add(n);
|
|
44821
44827
|
return r;
|
|
44822
44828
|
}
|
|
44823
|
-
function
|
|
44829
|
+
function TR(e) {
|
|
44824
44830
|
return e && e.__esModule ? e.default : e;
|
|
44825
44831
|
}
|
|
44826
|
-
function
|
|
44827
|
-
let t = ln(
|
|
44832
|
+
function _R(e) {
|
|
44833
|
+
let t = ln(TR(Gi), "@react-aria/grid"), r = GE(), n = (r === "pointer" || r === "virtual" || r == null) && typeof window < "u" && "ontouchstart" in window, o = G(() => {
|
|
44828
44834
|
let s = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, l;
|
|
44829
44835
|
return n && (l = t.format("longPressToSelect")), i === "replace" && s !== "none" && e.hasItemActions ? l : void 0;
|
|
44830
44836
|
}, [
|
|
@@ -44836,7 +44842,7 @@ function TR(e) {
|
|
|
44836
44842
|
]);
|
|
44837
44843
|
return mi(o);
|
|
44838
44844
|
}
|
|
44839
|
-
function
|
|
44845
|
+
function DR(e, t, r) {
|
|
44840
44846
|
let { isVirtualized: n, disallowTypeAhead: o, keyboardDelegate: a, focusMode: s, scrollRef: i, getRowText: l, onRowAction: u, onCellAction: c, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: p } = e, { selectionManager: f } = t;
|
|
44841
44847
|
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
44842
44848
|
let h = bi({
|
|
@@ -44876,7 +44882,7 @@ function _R(e, t, r) {
|
|
|
44876
44882
|
},
|
|
44877
44883
|
shouldSelectOnPressUp: p
|
|
44878
44884
|
});
|
|
44879
|
-
let w =
|
|
44885
|
+
let w = _R({
|
|
44880
44886
|
selectionManager: f,
|
|
44881
44887
|
hasItemActions: !!(u || c)
|
|
44882
44888
|
}), C = Zt(e, {
|
|
@@ -44911,20 +44917,20 @@ function _R(e, t, r) {
|
|
|
44911
44917
|
} || void 0,
|
|
44912
44918
|
w
|
|
44913
44919
|
);
|
|
44914
|
-
return n && (_["aria-rowcount"] = t.collection.size, _["aria-colcount"] = t.collection.columnCount),
|
|
44920
|
+
return n && (_["aria-rowcount"] = t.collection.size, _["aria-colcount"] = t.collection.columnCount), ER({
|
|
44915
44921
|
getRowText: l
|
|
44916
44922
|
}, t), {
|
|
44917
44923
|
gridProps: _
|
|
44918
44924
|
};
|
|
44919
44925
|
}
|
|
44920
|
-
function
|
|
44926
|
+
function NR() {
|
|
44921
44927
|
return {
|
|
44922
44928
|
rowGroupProps: {
|
|
44923
44929
|
role: "rowgroup"
|
|
44924
44930
|
}
|
|
44925
44931
|
};
|
|
44926
44932
|
}
|
|
44927
|
-
function
|
|
44933
|
+
function IR(e, t, r) {
|
|
44928
44934
|
var n, o;
|
|
44929
44935
|
let { node: a, isVirtualized: s, shouldSelectOnPressUp: i, onAction: l } = e, { actions: u, shouldSelectOnPressUp: c } = jp.get(t), d = u.onRowAction ? () => {
|
|
44930
44936
|
var b;
|
|
@@ -45059,12 +45065,12 @@ function dd(e) {
|
|
|
45059
45065
|
while (r);
|
|
45060
45066
|
return t;
|
|
45061
45067
|
}
|
|
45062
|
-
function
|
|
45068
|
+
function AR(e) {
|
|
45063
45069
|
return e && e.__esModule ? e.default : e;
|
|
45064
45070
|
}
|
|
45065
|
-
function
|
|
45071
|
+
function OR(e, t) {
|
|
45066
45072
|
let { key: r } = e, n = t.selectionManager, o = Pt(), a = !t.selectionManager.canSelectItem(r), s = t.selectionManager.isSelected(r), i = () => n.toggleSelection(r);
|
|
45067
|
-
const l = ln(
|
|
45073
|
+
const l = ln(AR(Gi), "@react-aria/grid");
|
|
45068
45074
|
return {
|
|
45069
45075
|
checkboxProps: {
|
|
45070
45076
|
id: o,
|
|
@@ -45075,7 +45081,7 @@ function AR(e, t) {
|
|
|
45075
45081
|
}
|
|
45076
45082
|
};
|
|
45077
45083
|
}
|
|
45078
|
-
class
|
|
45084
|
+
class MR extends a3 {
|
|
45079
45085
|
isCell(t) {
|
|
45080
45086
|
return t.type === "cell" || t.type === "rowheader" || t.type === "column";
|
|
45081
45087
|
}
|
|
@@ -45158,14 +45164,14 @@ class OR extends a3 {
|
|
|
45158
45164
|
return null;
|
|
45159
45165
|
}
|
|
45160
45166
|
}
|
|
45161
|
-
function
|
|
45167
|
+
function RR(e) {
|
|
45162
45168
|
return e && e.__esModule ? e.default : e;
|
|
45163
45169
|
}
|
|
45164
|
-
function
|
|
45170
|
+
function BR(e, t, r) {
|
|
45165
45171
|
let { keyboardDelegate: n, isVirtualized: o, layoutDelegate: a, layout: s } = e, i = bi({
|
|
45166
45172
|
usage: "search",
|
|
45167
45173
|
sensitivity: "base"
|
|
45168
|
-
}), { direction: l } = Wt(), u = t.selectionManager.disabledBehavior, c = G(() => n || new
|
|
45174
|
+
}), { direction: l } = Wt(), u = t.selectionManager.disabledBehavior, c = G(() => n || new MR({
|
|
45169
45175
|
collection: t.collection,
|
|
45170
45176
|
disabledKeys: t.disabledKeys,
|
|
45171
45177
|
disabledBehavior: u,
|
|
@@ -45186,13 +45192,13 @@ function RR(e, t, r) {
|
|
|
45186
45192
|
s
|
|
45187
45193
|
]), d = Pt(e.id);
|
|
45188
45194
|
Kp.set(t, d);
|
|
45189
|
-
let { gridProps: p } =
|
|
45195
|
+
let { gridProps: p } = DR({
|
|
45190
45196
|
...e,
|
|
45191
45197
|
id: d,
|
|
45192
45198
|
keyboardDelegate: c
|
|
45193
45199
|
}, t, r);
|
|
45194
45200
|
o && (p["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), Os() && "expandedKeys" in t && (p.role = "treegrid");
|
|
45195
|
-
let { column: f, direction: h } = t.sortDescriptor || {}, g = ln(
|
|
45201
|
+
let { column: f, direction: h } = t.sortDescriptor || {}, g = ln(RR(qi), "@react-aria/table"), b = G(() => {
|
|
45196
45202
|
var y, x;
|
|
45197
45203
|
let w = (x = (y = t.collection.columns.find((C) => C.key === f)) === null || y === void 0 ? void 0 : y.textValue) !== null && x !== void 0 ? x : "";
|
|
45198
45204
|
return h && f ? g.format(`${h}Sort`, {
|
|
@@ -45217,7 +45223,7 @@ function RR(e, t, r) {
|
|
|
45217
45223
|
})
|
|
45218
45224
|
};
|
|
45219
45225
|
}
|
|
45220
|
-
function
|
|
45226
|
+
function zR(e) {
|
|
45221
45227
|
return e && e.__esModule ? e.default : e;
|
|
45222
45228
|
}
|
|
45223
45229
|
function j3(e, t, r) {
|
|
@@ -45233,7 +45239,7 @@ function j3(e, t, r) {
|
|
|
45233
45239
|
ref: r
|
|
45234
45240
|
}), { focusableProps: d } = cn({}, r), p, f = ((n = t.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === a.key, h = (o = t.sortDescriptor) === null || o === void 0 ? void 0 : o.direction;
|
|
45235
45241
|
a.props.allowsSorting && !ca() && (p = f ? h : "none");
|
|
45236
|
-
let g = ln(
|
|
45242
|
+
let g = ln(zR(qi), "@react-aria/table"), b;
|
|
45237
45243
|
s && (b = `${g.format("sortable")}`, f && h && ca() && (b = `${b}, ${g.format(h)}`));
|
|
45238
45244
|
let v = mi(b), y = t.collection.size === 0;
|
|
45239
45245
|
return ae(() => {
|
|
@@ -45255,7 +45261,7 @@ function j3(e, t, r) {
|
|
|
45255
45261
|
} : null
|
|
45256
45262
|
),
|
|
45257
45263
|
role: "columnheader",
|
|
45258
|
-
id:
|
|
45264
|
+
id: $R(t, a.key),
|
|
45259
45265
|
"aria-colspan": a.colSpan && a.colSpan > 1 ? a.colSpan : void 0,
|
|
45260
45266
|
"aria-sort": p
|
|
45261
45267
|
},
|
|
@@ -45272,8 +45278,8 @@ const o0 = {
|
|
|
45272
45278
|
rtl: "ArrowRight"
|
|
45273
45279
|
}
|
|
45274
45280
|
};
|
|
45275
|
-
function
|
|
45276
|
-
let { node: n, isVirtualized: o } = e, { rowProps: a, ...s } =
|
|
45281
|
+
function FR(e, t, r) {
|
|
45282
|
+
let { node: n, isVirtualized: o } = e, { rowProps: a, ...s } = IR(e, t, r), { direction: i } = Wt();
|
|
45277
45283
|
o && !(Os() && "expandedKeys" in t) ? a["aria-rowindex"] = n.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
|
|
45278
45284
|
let l = {};
|
|
45279
45285
|
if (Os() && "expandedKeys" in t) {
|
|
@@ -45302,7 +45308,7 @@ function zR(e, t, r) {
|
|
|
45302
45308
|
...s
|
|
45303
45309
|
};
|
|
45304
45310
|
}
|
|
45305
|
-
function
|
|
45311
|
+
function LR(e, t, r) {
|
|
45306
45312
|
let { node: n, isVirtualized: o } = e, a = {
|
|
45307
45313
|
role: "row"
|
|
45308
45314
|
};
|
|
@@ -45318,12 +45324,12 @@ function W3(e, t, r) {
|
|
|
45318
45324
|
isPressed: a
|
|
45319
45325
|
};
|
|
45320
45326
|
}
|
|
45321
|
-
function
|
|
45327
|
+
function VR(e) {
|
|
45322
45328
|
return e && e.__esModule ? e.default : e;
|
|
45323
45329
|
}
|
|
45324
|
-
function
|
|
45330
|
+
function KR(e, t) {
|
|
45325
45331
|
let { key: r } = e;
|
|
45326
|
-
const { checkboxProps: n } =
|
|
45332
|
+
const { checkboxProps: n } = OR(e, t);
|
|
45327
45333
|
return {
|
|
45328
45334
|
checkboxProps: {
|
|
45329
45335
|
...n,
|
|
@@ -45331,11 +45337,11 @@ function VR(e, t) {
|
|
|
45331
45337
|
}
|
|
45332
45338
|
};
|
|
45333
45339
|
}
|
|
45334
|
-
function
|
|
45340
|
+
function jR(e) {
|
|
45335
45341
|
let { isEmpty: t, isSelectAll: r, selectionMode: n } = e.selectionManager;
|
|
45336
45342
|
return {
|
|
45337
45343
|
checkboxProps: {
|
|
45338
|
-
"aria-label": ln(
|
|
45344
|
+
"aria-label": ln(VR(qi), "@react-aria/table").format(n === "single" ? "select" : "selectAll"),
|
|
45339
45345
|
isSelected: r,
|
|
45340
45346
|
isDisabled: n !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
|
|
45341
45347
|
isIndeterminate: !t && !r,
|
|
@@ -45344,7 +45350,7 @@ function KR(e) {
|
|
|
45344
45350
|
};
|
|
45345
45351
|
}
|
|
45346
45352
|
function Wp() {
|
|
45347
|
-
return
|
|
45353
|
+
return NR();
|
|
45348
45354
|
}
|
|
45349
45355
|
var U3 = De((e, t) => {
|
|
45350
45356
|
var r, n;
|
|
@@ -45360,7 +45366,7 @@ var U3 = De((e, t) => {
|
|
|
45360
45366
|
disableAnimation: p,
|
|
45361
45367
|
classNames: f,
|
|
45362
45368
|
...h
|
|
45363
|
-
} = e, g = o || "th", b = typeof g == "string", v = Ie(t), { columnHeaderProps: y } = j3({ node: s }, l, v), { isFocusVisible: x, focusProps: w } = dt(), { checkboxProps: C } =
|
|
45369
|
+
} = e, g = o || "th", b = typeof g == "string", v = Ie(t), { columnHeaderProps: y } = j3({ node: s }, l, v), { isFocusVisible: x, focusProps: w } = dt(), { checkboxProps: C } = jR(l), S = $(f?.th, a, (r = s.props) == null ? void 0 : r.className), T = u === "single", { onChange: k, ..._ } = C;
|
|
45364
45370
|
return /* @__PURE__ */ m(
|
|
45365
45371
|
g,
|
|
45366
45372
|
{
|
|
@@ -45391,7 +45397,7 @@ var U3 = De((e, t) => {
|
|
|
45391
45397
|
});
|
|
45392
45398
|
U3.displayName = "HeroUI.TableSelectAllCheckbox";
|
|
45393
45399
|
var H3 = U3;
|
|
45394
|
-
function
|
|
45400
|
+
function WR(e) {
|
|
45395
45401
|
let { collection: t, focusMode: r } = e, n = e.UNSAFE_selectionState || qx(e), o = G(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [
|
|
45396
45402
|
e.disabledKeys
|
|
45397
45403
|
]), a = n.setFocusedKey;
|
|
@@ -45448,7 +45454,7 @@ function jR(e) {
|
|
|
45448
45454
|
selectionManager: s
|
|
45449
45455
|
};
|
|
45450
45456
|
}
|
|
45451
|
-
class
|
|
45457
|
+
class UR {
|
|
45452
45458
|
*[Symbol.iterator]() {
|
|
45453
45459
|
yield* [
|
|
45454
45460
|
...this.rows
|
|
@@ -45551,7 +45557,7 @@ class WR {
|
|
|
45551
45557
|
const q3 = "row-header-column-" + Math.random().toString(36).slice(2);
|
|
45552
45558
|
let bf = "row-header-column-" + Math.random().toString(36).slice(2);
|
|
45553
45559
|
for (; q3 === bf; ) bf = "row-header-column-" + Math.random().toString(36).slice(2);
|
|
45554
|
-
function
|
|
45560
|
+
function HR(e, t) {
|
|
45555
45561
|
if (t.length === 0) return [];
|
|
45556
45562
|
let r = [], n = /* @__PURE__ */ new Map();
|
|
45557
45563
|
for (let c of t) {
|
|
@@ -45646,7 +45652,7 @@ function UR(e, t) {
|
|
|
45646
45652
|
textValue: ""
|
|
45647
45653
|
}));
|
|
45648
45654
|
}
|
|
45649
|
-
class
|
|
45655
|
+
class qR extends UR {
|
|
45650
45656
|
*[Symbol.iterator]() {
|
|
45651
45657
|
yield* this.body.childNodes;
|
|
45652
45658
|
}
|
|
@@ -45753,7 +45759,7 @@ class HR extends WR {
|
|
|
45753
45759
|
for (let p of d.childNodes) u(p);
|
|
45754
45760
|
};
|
|
45755
45761
|
for (let d of t) u(d);
|
|
45756
|
-
let c =
|
|
45762
|
+
let c = HR(l, s);
|
|
45757
45763
|
if (c.forEach((d, p) => i.splice(p, 0, d)), super({
|
|
45758
45764
|
columnCount: s.length,
|
|
45759
45765
|
items: i,
|
|
@@ -45769,11 +45775,11 @@ class HR extends WR {
|
|
|
45769
45775
|
}
|
|
45770
45776
|
}
|
|
45771
45777
|
}
|
|
45772
|
-
const
|
|
45778
|
+
const GR = {
|
|
45773
45779
|
ascending: "descending",
|
|
45774
45780
|
descending: "ascending"
|
|
45775
45781
|
};
|
|
45776
|
-
function
|
|
45782
|
+
function ZR(e) {
|
|
45777
45783
|
let [t, r] = re(!1), { selectionMode: n = "none", showSelectionCheckboxes: o, showDragButtons: a } = e, s = G(() => ({
|
|
45778
45784
|
showSelectionCheckboxes: o && n !== "none",
|
|
45779
45785
|
showDragButtons: a,
|
|
@@ -45784,9 +45790,9 @@ function GR(e) {
|
|
|
45784
45790
|
o,
|
|
45785
45791
|
n,
|
|
45786
45792
|
a
|
|
45787
|
-
]), i = Yx(e, j((d) => new
|
|
45793
|
+
]), i = Yx(e, j((d) => new qR(d, null, s), [
|
|
45788
45794
|
s
|
|
45789
|
-
]), s), { disabledKeys: l, selectionManager: u } =
|
|
45795
|
+
]), s), { disabledKeys: l, selectionManager: u } = WR({
|
|
45790
45796
|
...e,
|
|
45791
45797
|
collection: i,
|
|
45792
45798
|
disabledBehavior: e.disabledBehavior || "selection"
|
|
@@ -45804,7 +45810,7 @@ function GR(e) {
|
|
|
45804
45810
|
var f, h;
|
|
45805
45811
|
(h = e.onSortChange) === null || h === void 0 || h.call(e, {
|
|
45806
45812
|
column: d,
|
|
45807
|
-
direction: p ?? (((f = e.sortDescriptor) === null || f === void 0 ? void 0 : f.column) === d ?
|
|
45813
|
+
direction: p ?? (((f = e.sortDescriptor) === null || f === void 0 ? void 0 : f.column) === d ? GR[e.sortDescriptor.direction] : "ascending")
|
|
45808
45814
|
});
|
|
45809
45815
|
}
|
|
45810
45816
|
};
|
|
@@ -45831,7 +45837,7 @@ G3.getCollectionNode = function* (t, r) {
|
|
|
45831
45837
|
}), yield* a;
|
|
45832
45838
|
}
|
|
45833
45839
|
};
|
|
45834
|
-
let
|
|
45840
|
+
let YR = G3;
|
|
45835
45841
|
function Z3(e) {
|
|
45836
45842
|
return null;
|
|
45837
45843
|
}
|
|
@@ -45861,7 +45867,7 @@ Z3.getCollectionNode = function* (t) {
|
|
|
45861
45867
|
}
|
|
45862
45868
|
};
|
|
45863
45869
|
};
|
|
45864
|
-
let
|
|
45870
|
+
let JR = Z3;
|
|
45865
45871
|
function Y3(e) {
|
|
45866
45872
|
return null;
|
|
45867
45873
|
}
|
|
@@ -45895,7 +45901,7 @@ Y3.getCollectionNode = function* (t, r) {
|
|
|
45895
45901
|
};
|
|
45896
45902
|
u(r);
|
|
45897
45903
|
};
|
|
45898
|
-
let
|
|
45904
|
+
let XR = Y3;
|
|
45899
45905
|
function vf(e) {
|
|
45900
45906
|
return null;
|
|
45901
45907
|
}
|
|
@@ -45958,7 +45964,7 @@ vf.getCollectionNode = function* (t, r) {
|
|
|
45958
45964
|
}
|
|
45959
45965
|
};
|
|
45960
45966
|
};
|
|
45961
|
-
let
|
|
45967
|
+
let QR = vf;
|
|
45962
45968
|
function J3(e) {
|
|
45963
45969
|
return null;
|
|
45964
45970
|
}
|
|
@@ -45973,7 +45979,7 @@ J3.getCollectionNode = function* (t) {
|
|
|
45973
45979
|
hasChildNodes: !1
|
|
45974
45980
|
};
|
|
45975
45981
|
};
|
|
45976
|
-
let
|
|
45982
|
+
let eB = J3;
|
|
45977
45983
|
function X3(e) {
|
|
45978
45984
|
var t;
|
|
45979
45985
|
const r = ut(), [n, o] = St(e, nh.variantKeys), {
|
|
@@ -46000,13 +46006,13 @@ function X3(e) {
|
|
|
46000
46006
|
onRowAction: _,
|
|
46001
46007
|
onCellAction: O,
|
|
46002
46008
|
...N
|
|
46003
|
-
} = n, I = s || "table", A = typeof I == "string", z = Ie(a), D = Ie(i), B =
|
|
46009
|
+
} = n, I = s || "table", A = typeof I == "string", z = Ie(a), D = Ie(i), B = ZR({
|
|
46004
46010
|
...e,
|
|
46005
46011
|
children: l,
|
|
46006
46012
|
showSelectionCheckboxes: x
|
|
46007
46013
|
});
|
|
46008
46014
|
f && !B.isKeyboardNavigationDisabled && B.setKeyboardNavigationDisabled(!0);
|
|
46009
|
-
const { collection: M } = B, { layout: R, ...q } = e, { gridProps: P } =
|
|
46015
|
+
const { collection: M } = B, { layout: R, ...q } = e, { gridProps: P } = BR({ ...q }, B, z), V = h !== "none", E = h === "multiple", K = G(
|
|
46010
46016
|
() => nh({
|
|
46011
46017
|
...o,
|
|
46012
46018
|
isSelectable: V,
|
|
@@ -46141,7 +46147,7 @@ var eC = Q3, tC = De((e, t) => {
|
|
|
46141
46147
|
selectionMode: f,
|
|
46142
46148
|
classNames: h,
|
|
46143
46149
|
...g
|
|
46144
|
-
} = e, b = o || "td", v = typeof b == "string", y = Ie(t), { gridCellProps: x } = W3({ node: s }, u, y), { isFocusVisible: w, focusProps: C } = dt(), { checkboxProps: S } =
|
|
46150
|
+
} = e, b = o || "td", v = typeof b == "string", y = Ie(t), { gridCellProps: x } = W3({ node: s }, u, y), { isFocusVisible: w, focusProps: C } = dt(), { checkboxProps: S } = KR({ key: s?.parentKey || s.key }, u), T = $(h?.td, a, (r = s.props) == null ? void 0 : r.className), k = f === "single", { onChange: _, ...O } = S, N = u.selectionManager.isSelected(i);
|
|
46145
46151
|
return /* @__PURE__ */ m(
|
|
46146
46152
|
b,
|
|
46147
46153
|
{
|
|
@@ -46172,7 +46178,7 @@ var eC = Q3, tC = De((e, t) => {
|
|
|
46172
46178
|
tC.displayName = "HeroUI.TableCheckboxCell";
|
|
46173
46179
|
var rC = tC, nC = De((e, t) => {
|
|
46174
46180
|
var r, n;
|
|
46175
|
-
const { as: o, className: a, children: s, node: i, slots: l, state: u, isSelectable: c, classNames: d, ...p } = e, f = o || (e?.href ? "a" : "tr"), h = typeof f == "string", g = Ie(t), { rowProps: b } =
|
|
46181
|
+
const { as: o, className: a, children: s, node: i, slots: l, state: u, isSelectable: c, classNames: d, ...p } = e, f = o || (e?.href ? "a" : "tr"), h = typeof f == "string", g = Ie(t), { rowProps: b } = FR({ node: i }, u, g), v = $(d?.tr, a, (r = i.props) == null ? void 0 : r.className), { isFocusVisible: y, focusProps: x } = dt(), w = u.disabledKeys.has(i.key), C = u.selectionManager.isSelected(i.key), { isHovered: S, hoverProps: T } = kt({ isDisabled: w }), { isFirst: k, isLast: _, isMiddle: O, isOdd: N } = G(() => {
|
|
46176
46182
|
const I = i.key === u.collection.getFirstKey(), A = i.key === u.collection.getLastKey(), z = !I && !A, D = i?.index ? (i.index + 1) % 2 === 0 : !1;
|
|
46177
46183
|
return {
|
|
46178
46184
|
isFirst: I,
|
|
@@ -46312,7 +46318,7 @@ var oC = nC, aC = De((e, t) => {
|
|
|
46312
46318
|
);
|
|
46313
46319
|
});
|
|
46314
46320
|
aC.displayName = "HeroUI.VirtualizedTableBody";
|
|
46315
|
-
var
|
|
46321
|
+
var tB = aC, fd = (e) => typeof e == "number" ? `${e}px` : e, sC = De((e, t) => {
|
|
46316
46322
|
var r, n, o, a, s;
|
|
46317
46323
|
const { as: i, className: l, state: u, node: c, slots: d, classNames: p, sortIcon: f, ...h } = e, g = i || "th", b = typeof g == "string", v = Ie(t), { columnHeaderProps: y } = j3({ node: c }, u, v), x = $(p?.th, l, (r = c.props) == null ? void 0 : r.className), { isFocusVisible: w, focusProps: C } = dt(), { isHovered: S, hoverProps: T } = kt({}), { hideHeader: k, align: _, width: O, minWidth: N, maxWidth: I, ...A } = c.props, z = A.allowsSorting, D = {};
|
|
46318
46324
|
O && (D.width = fd(O)), N && (D.minWidth = fd(N)), I && (D.maxWidth = fd(I));
|
|
@@ -46351,7 +46357,7 @@ var eB = aC, fd = (e) => typeof e == "number" ? `${e}px` : e, sC = De((e, t) =>
|
|
|
46351
46357
|
sC.displayName = "HeroUI.TableColumnHeader";
|
|
46352
46358
|
var iC = sC, lC = De((e, t) => {
|
|
46353
46359
|
var r, n;
|
|
46354
|
-
const { as: o, className: a, children: s, node: i, slots: l, classNames: u, state: c, ...d } = e, p = o || "tr", f = typeof p == "string", h = Ie(t), { rowProps: g } =
|
|
46360
|
+
const { as: o, className: a, children: s, node: i, slots: l, classNames: u, state: c, ...d } = e, p = o || "tr", f = typeof p == "string", h = Ie(t), { rowProps: g } = LR({ node: i }, c), b = $(u?.tr, a, (r = i.props) == null ? void 0 : r.className);
|
|
46355
46361
|
return /* @__PURE__ */ m(
|
|
46356
46362
|
p,
|
|
46357
46363
|
{
|
|
@@ -46472,7 +46478,7 @@ var dC = cC, fC = De((e, t) => {
|
|
|
46472
46478
|
k?.key
|
|
46473
46479
|
)) }),
|
|
46474
46480
|
/* @__PURE__ */ m(
|
|
46475
|
-
|
|
46481
|
+
tB,
|
|
46476
46482
|
{
|
|
46477
46483
|
checkboxesProps: a.checkboxesProps,
|
|
46478
46484
|
classNames: a.classNames,
|
|
@@ -46495,7 +46501,7 @@ var dC = cC, fC = De((e, t) => {
|
|
|
46495
46501
|
] });
|
|
46496
46502
|
});
|
|
46497
46503
|
fC.displayName = "HeroUI.VirtualizedTable";
|
|
46498
|
-
var
|
|
46504
|
+
var rB = fC, pC = De((e, t) => {
|
|
46499
46505
|
var r;
|
|
46500
46506
|
const {
|
|
46501
46507
|
as: n,
|
|
@@ -46591,7 +46597,7 @@ var tB = fC, pC = De((e, t) => {
|
|
|
46591
46597
|
);
|
|
46592
46598
|
});
|
|
46593
46599
|
pC.displayName = "HeroUI.TableBody";
|
|
46594
|
-
var
|
|
46600
|
+
var nB = pC, hC = De((e, t) => {
|
|
46595
46601
|
const {
|
|
46596
46602
|
BaseComponent: r,
|
|
46597
46603
|
Component: n,
|
|
@@ -46614,7 +46620,7 @@ var rB = pC, hC = De((e, t) => {
|
|
|
46614
46620
|
[c, f]
|
|
46615
46621
|
);
|
|
46616
46622
|
return y ? /* @__PURE__ */ m(
|
|
46617
|
-
|
|
46623
|
+
rB,
|
|
46618
46624
|
{
|
|
46619
46625
|
...e,
|
|
46620
46626
|
ref: t,
|
|
@@ -46666,7 +46672,7 @@ var rB = pC, hC = De((e, t) => {
|
|
|
46666
46672
|
w?.key
|
|
46667
46673
|
)) }),
|
|
46668
46674
|
/* @__PURE__ */ m(
|
|
46669
|
-
|
|
46675
|
+
nB,
|
|
46670
46676
|
{
|
|
46671
46677
|
checkboxesProps: a.checkboxesProps,
|
|
46672
46678
|
classNames: a.classNames,
|
|
@@ -46686,8 +46692,8 @@ var rB = pC, hC = De((e, t) => {
|
|
|
46686
46692
|
] });
|
|
46687
46693
|
});
|
|
46688
46694
|
hC.displayName = "HeroUI.Table";
|
|
46689
|
-
var ei = hC,
|
|
46690
|
-
function
|
|
46695
|
+
var ei = hC, oB = XR, Mt = oB, aB = YR, ti = aB, sB = QR, ri = sB, iB = JR, ni = iB, lB = eB, Rt = lB;
|
|
46696
|
+
function uB({ proposition: e, buildClickOutUrl: t }) {
|
|
46691
46697
|
const { t: r } = je(), { results: { creditInfo: n } = {} } = it();
|
|
46692
46698
|
function o(a) {
|
|
46693
46699
|
return {
|
|
@@ -46791,7 +46797,7 @@ function lB({ proposition: e, buildClickOutUrl: t }) {
|
|
|
46791
46797
|
}
|
|
46792
46798
|
);
|
|
46793
46799
|
}
|
|
46794
|
-
function
|
|
46800
|
+
function cB(e, t) {
|
|
46795
46801
|
return e === 0 ? ne.t("format.firstMonth", { count: t }) : ne.t("format.thenMonth", { count: t });
|
|
46796
46802
|
}
|
|
46797
46803
|
function er({ label: e, price: t, classNames: r }) {
|
|
@@ -46812,7 +46818,7 @@ function a0({ icon: e, title: t, subtitle: r, price: n, classNames: o }) {
|
|
|
46812
46818
|
/* @__PURE__ */ m("div", { className: $("text-sm font-semibold", o?.price), children: n })
|
|
46813
46819
|
] });
|
|
46814
46820
|
}
|
|
46815
|
-
function
|
|
46821
|
+
function dB({
|
|
46816
46822
|
proposition: e,
|
|
46817
46823
|
classNames: t,
|
|
46818
46824
|
buildClickOutUrl: r
|
|
@@ -46963,7 +46969,7 @@ function cB({
|
|
|
46963
46969
|
er,
|
|
46964
46970
|
{
|
|
46965
46971
|
label: /* @__PURE__ */ F(st, { children: [
|
|
46966
|
-
C === s.length - 1 ? n("detailsModal.deviceBundle") :
|
|
46972
|
+
C === s.length - 1 ? n("detailsModal.deviceBundle") : cB(C, w),
|
|
46967
46973
|
" ",
|
|
46968
46974
|
w,
|
|
46969
46975
|
" x ",
|
|
@@ -47005,7 +47011,7 @@ function cB({
|
|
|
47005
47011
|
}
|
|
47006
47012
|
),
|
|
47007
47013
|
/* @__PURE__ */ m("div", { className: $("text-xs text-foreground-500 mt-6", t?.creditInfoLabel), children: n("creditInfo.creditBundleTitle") }),
|
|
47008
|
-
/* @__PURE__ */ m(
|
|
47014
|
+
/* @__PURE__ */ m(uB, { proposition: e, buildClickOutUrl: r })
|
|
47009
47015
|
] })
|
|
47010
47016
|
] });
|
|
47011
47017
|
}
|
|
@@ -47033,7 +47039,7 @@ function s0({ term: e, price: t, classNames: r }) {
|
|
|
47033
47039
|
/* @__PURE__ */ m("div", { className: $(r?.price), children: Ce(t) })
|
|
47034
47040
|
] });
|
|
47035
47041
|
}
|
|
47036
|
-
function
|
|
47042
|
+
function fB({
|
|
47037
47043
|
proposition: e,
|
|
47038
47044
|
classNames: t,
|
|
47039
47045
|
buildClickOutUrl: r
|
|
@@ -47186,7 +47192,7 @@ function dB({
|
|
|
47186
47192
|
] })
|
|
47187
47193
|
] }),
|
|
47188
47194
|
/* @__PURE__ */ m(
|
|
47189
|
-
|
|
47195
|
+
dB,
|
|
47190
47196
|
{
|
|
47191
47197
|
proposition: e,
|
|
47192
47198
|
classNames: t?.propositionOverview,
|
|
@@ -47229,7 +47235,7 @@ function Cr({ title: e, rows: t, classNames: r }) {
|
|
|
47229
47235
|
)
|
|
47230
47236
|
] });
|
|
47231
47237
|
}
|
|
47232
|
-
function
|
|
47238
|
+
function pB({ proposition: e, classNames: t, buildClickOutUrl: r }) {
|
|
47233
47239
|
const { t: n } = je(), o = e.bundles.filter((c) => c.isExtra), a = e.tags.find((c) => c.type === "internet"), s = e.productType === "fixed" ? [
|
|
47234
47240
|
{ label: n("detailsModal.provider"), value: e.provider.name, key: "provider" },
|
|
47235
47241
|
...e.provider.network ? [
|
|
@@ -47386,7 +47392,7 @@ function fB({ proposition: e, classNames: t, buildClickOutUrl: r }) {
|
|
|
47386
47392
|
)
|
|
47387
47393
|
] });
|
|
47388
47394
|
}
|
|
47389
|
-
function
|
|
47395
|
+
function hB({
|
|
47390
47396
|
proposition: e,
|
|
47391
47397
|
classNames: t,
|
|
47392
47398
|
onChannelsClick: r,
|
|
@@ -47552,7 +47558,7 @@ function pB({
|
|
|
47552
47558
|
)
|
|
47553
47559
|
] });
|
|
47554
47560
|
}
|
|
47555
|
-
function
|
|
47561
|
+
function mB(e) {
|
|
47556
47562
|
const t = [e.provider.name, e.plan?.name];
|
|
47557
47563
|
return e.planVariant.contractTerm === 24 ? t.push(`2 ${ne.t("format.year", { count: 2 })}`) : e.planVariant.contractTerm === 12 && t.push(`1 ${ne.t("format.year")}`), e.planVariant.contractType === "retention" && t.push(ne.t("detailsModal.renewal")), Array.from(new Set(t)).join(" ").trim();
|
|
47558
47564
|
}
|
|
@@ -47610,7 +47616,7 @@ function Zi({
|
|
|
47610
47616
|
}
|
|
47611
47617
|
),
|
|
47612
47618
|
/* @__PURE__ */ F("div", { className: $("text-sm", l?.propositionInfo?.content), children: [
|
|
47613
|
-
r.productType !== "smartphone" && /* @__PURE__ */ m("div", { className: $("font-semibold", l?.propositionInfo?.name), children:
|
|
47619
|
+
r.productType !== "smartphone" && /* @__PURE__ */ m("div", { className: $("font-semibold", l?.propositionInfo?.name), children: mB(r) }),
|
|
47614
47620
|
r.productType === "fixed" ? /* @__PURE__ */ F("div", { className: $(l?.propositionInfo?.details), children: [
|
|
47615
47621
|
r.content.dataSpeedDown / 1e3,
|
|
47616
47622
|
" ",
|
|
@@ -47661,7 +47667,7 @@ function Zi({
|
|
|
47661
47667
|
title: a("detailsModal.general"),
|
|
47662
47668
|
onClick: () => d("general"),
|
|
47663
47669
|
children: /* @__PURE__ */ m(
|
|
47664
|
-
|
|
47670
|
+
pB,
|
|
47665
47671
|
{
|
|
47666
47672
|
proposition: r,
|
|
47667
47673
|
classNames: l?.general,
|
|
@@ -47677,7 +47683,7 @@ function Zi({
|
|
|
47677
47683
|
title: r.productType === "fixed" ? a("detailsModal.bundles") : a("detailsModal.conditions"),
|
|
47678
47684
|
onClick: () => d("conditions"),
|
|
47679
47685
|
children: /* @__PURE__ */ m(
|
|
47680
|
-
|
|
47686
|
+
hB,
|
|
47681
47687
|
{
|
|
47682
47688
|
proposition: r,
|
|
47683
47689
|
classNames: l?.terms,
|
|
@@ -47694,7 +47700,7 @@ function Zi({
|
|
|
47694
47700
|
title: a("detailsModal.channels"),
|
|
47695
47701
|
onClick: () => d("channels"),
|
|
47696
47702
|
children: /* @__PURE__ */ m(
|
|
47697
|
-
|
|
47703
|
+
CR,
|
|
47698
47704
|
{
|
|
47699
47705
|
channels: r.content.channels,
|
|
47700
47706
|
hdChannels: r.content.hdChannels,
|
|
@@ -47710,7 +47716,7 @@ function Zi({
|
|
|
47710
47716
|
title: a("detailsModal.costs"),
|
|
47711
47717
|
onClick: () => d("costs"),
|
|
47712
47718
|
children: /* @__PURE__ */ m(
|
|
47713
|
-
|
|
47719
|
+
fB,
|
|
47714
47720
|
{
|
|
47715
47721
|
proposition: r,
|
|
47716
47722
|
classNames: l?.costOverview,
|
|
@@ -47748,7 +47754,7 @@ function mC({ label: e, classNames: t }) {
|
|
|
47748
47754
|
}
|
|
47749
47755
|
) });
|
|
47750
47756
|
}
|
|
47751
|
-
function
|
|
47757
|
+
function gB({
|
|
47752
47758
|
productStockStatus: e,
|
|
47753
47759
|
classNames: t
|
|
47754
47760
|
}) {
|
|
@@ -47820,7 +47826,7 @@ function gC({
|
|
|
47820
47826
|
}
|
|
47821
47827
|
),
|
|
47822
47828
|
/* @__PURE__ */ m(
|
|
47823
|
-
|
|
47829
|
+
gB,
|
|
47824
47830
|
{
|
|
47825
47831
|
productStockStatus: n,
|
|
47826
47832
|
classNames: i?.phoneImage?.stockIndicator
|
|
@@ -47970,7 +47976,7 @@ function vC({ promotions: e, urgentText: t, classNames: r }) {
|
|
|
47970
47976
|
))
|
|
47971
47977
|
] });
|
|
47972
47978
|
}
|
|
47973
|
-
function
|
|
47979
|
+
function bB({ slug: e, size: t = 16, className: r }) {
|
|
47974
47980
|
switch (e) {
|
|
47975
47981
|
case "contract-term":
|
|
47976
47982
|
return /* @__PURE__ */ m(RP, { size: t, className: r });
|
|
@@ -48095,7 +48101,7 @@ function yC({
|
|
|
48095
48101
|
},
|
|
48096
48102
|
children: [
|
|
48097
48103
|
/* @__PURE__ */ m(
|
|
48098
|
-
|
|
48104
|
+
bB,
|
|
48099
48105
|
{
|
|
48100
48106
|
slug: h.slug,
|
|
48101
48107
|
className: $(u?.proposition?.specifications?.icon)
|
|
@@ -48228,7 +48234,7 @@ function i0({
|
|
|
48228
48234
|
}
|
|
48229
48235
|
);
|
|
48230
48236
|
}
|
|
48231
|
-
function
|
|
48237
|
+
function vB({ label: e, ...t }) {
|
|
48232
48238
|
const { results: { propositionCard: r } = {} } = it();
|
|
48233
48239
|
return e ? /* @__PURE__ */ F("div", { className: $("flex flex-col", r?.cardWrapper), children: [
|
|
48234
48240
|
/* @__PURE__ */ m(
|
|
@@ -48366,7 +48372,7 @@ function l0({
|
|
|
48366
48372
|
}
|
|
48367
48373
|
);
|
|
48368
48374
|
}
|
|
48369
|
-
function
|
|
48375
|
+
function yB({ label: e, ...t }) {
|
|
48370
48376
|
const { results: { propositionCard: r } = {} } = it();
|
|
48371
48377
|
return e ? /* @__PURE__ */ F("div", { className: $("flex flex-col", r?.cardWrapper), children: [
|
|
48372
48378
|
/* @__PURE__ */ m(mC, { label: e, classNames: r?.label }),
|
|
@@ -48374,7 +48380,7 @@ function vB({ label: e, ...t }) {
|
|
|
48374
48380
|
] }) : /* @__PURE__ */ m(l0, { classNames: r, ...t });
|
|
48375
48381
|
}
|
|
48376
48382
|
function Rn({ horizontal: e, ...t }) {
|
|
48377
|
-
return e ? /* @__PURE__ */ m(
|
|
48383
|
+
return e ? /* @__PURE__ */ m(vB, { ...t }) : /* @__PURE__ */ m(yB, { ...t });
|
|
48378
48384
|
}
|
|
48379
48385
|
function yf(e, t) {
|
|
48380
48386
|
if (!t) return e;
|
|
@@ -48389,7 +48395,7 @@ function Jr(e, t = 500, r = 7) {
|
|
|
48389
48395
|
const n = new Date((/* @__PURE__ */ new Date()).toISOString().split("T")[0]), o = new Date(n.getTime() + r * 24 * 60 * 60 * 1e3);
|
|
48390
48396
|
return e.weight > t && new Date(e.validUntil) >= n && new Date(e.validUntil) < o;
|
|
48391
48397
|
}
|
|
48392
|
-
function
|
|
48398
|
+
function xB(e) {
|
|
48393
48399
|
return e.sort((t, r) => {
|
|
48394
48400
|
if (Jr(t) && Jr(r)) {
|
|
48395
48401
|
const n = new Date(t.validUntil), o = new Date(r.validUntil);
|
|
@@ -48399,7 +48405,7 @@ function yB(e) {
|
|
|
48399
48405
|
});
|
|
48400
48406
|
}
|
|
48401
48407
|
function Bn(e) {
|
|
48402
|
-
const t =
|
|
48408
|
+
const t = xB(
|
|
48403
48409
|
e.specialPromotions.filter(
|
|
48404
48410
|
(l) => l.shortDescription && !l.shortDescription.includes("toestelkorting") && l.weight > 200
|
|
48405
48411
|
)
|
|
@@ -48449,7 +48455,7 @@ function Yi({
|
|
|
48449
48455
|
}
|
|
48450
48456
|
);
|
|
48451
48457
|
}
|
|
48452
|
-
function
|
|
48458
|
+
function wB({
|
|
48453
48459
|
size: e,
|
|
48454
48460
|
height: t,
|
|
48455
48461
|
width: r,
|
|
@@ -48485,7 +48491,7 @@ function xB({
|
|
|
48485
48491
|
}
|
|
48486
48492
|
);
|
|
48487
48493
|
}
|
|
48488
|
-
function
|
|
48494
|
+
function CB({ address: e }) {
|
|
48489
48495
|
const { t } = je(), { results: { postcodeCheckLoading: r } = {} } = it();
|
|
48490
48496
|
return /* @__PURE__ */ F(
|
|
48491
48497
|
"div",
|
|
@@ -48496,7 +48502,7 @@ function wB({ address: e }) {
|
|
|
48496
48502
|
),
|
|
48497
48503
|
children: [
|
|
48498
48504
|
/* @__PURE__ */ m(
|
|
48499
|
-
|
|
48505
|
+
wB,
|
|
48500
48506
|
{
|
|
48501
48507
|
className: $("animate-pulse shrink-0 size-20 md:size-[106px]", r?.icon)
|
|
48502
48508
|
}
|
|
@@ -48526,7 +48532,7 @@ function wB({ address: e }) {
|
|
|
48526
48532
|
children: [
|
|
48527
48533
|
e.street,
|
|
48528
48534
|
" ",
|
|
48529
|
-
|
|
48535
|
+
yR(e.number, e.numberAddon),
|
|
48530
48536
|
", ",
|
|
48531
48537
|
e.city
|
|
48532
48538
|
]
|
|
@@ -48589,18 +48595,18 @@ function Fn({ count: e, horizontal: t, large: r }) {
|
|
|
48589
48595
|
a
|
|
48590
48596
|
)) });
|
|
48591
48597
|
}
|
|
48592
|
-
const
|
|
48593
|
-
},
|
|
48598
|
+
const $B = () => {
|
|
48599
|
+
}, SB = (
|
|
48594
48600
|
/*#__NOINLINE__*/
|
|
48595
|
-
|
|
48596
|
-
), xf = Object, u0 = (e) => e ===
|
|
48597
|
-
let
|
|
48601
|
+
$B()
|
|
48602
|
+
), xf = Object, u0 = (e) => e === SB, PB = (e) => typeof e == "function", ds = /* @__PURE__ */ new WeakMap(), kB = (e) => xf.prototype.toString.call(e), pd = (e, t) => e === `[object ${t}]`;
|
|
48603
|
+
let EB = 0;
|
|
48598
48604
|
const wf = (e) => {
|
|
48599
|
-
const t = typeof e, r =
|
|
48605
|
+
const t = typeof e, r = kB(e), n = pd(r, "Date"), o = pd(r, "RegExp"), a = pd(r, "Object");
|
|
48600
48606
|
let s, i;
|
|
48601
48607
|
if (xf(e) === e && !n && !o) {
|
|
48602
48608
|
if (s = ds.get(e), s) return s;
|
|
48603
|
-
if (s = ++
|
|
48609
|
+
if (s = ++EB + "~", ds.set(e, s), Array.isArray(e)) {
|
|
48604
48610
|
for (s = "@", i = 0; i < e.length; i++)
|
|
48605
48611
|
s += wf(e[i]) + ",";
|
|
48606
48612
|
ds.set(e, s);
|
|
@@ -48615,8 +48621,8 @@ const wf = (e) => {
|
|
|
48615
48621
|
} else
|
|
48616
48622
|
s = n ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
|
|
48617
48623
|
return s;
|
|
48618
|
-
},
|
|
48619
|
-
if (
|
|
48624
|
+
}, TB = (e) => {
|
|
48625
|
+
if (PB(e))
|
|
48620
48626
|
try {
|
|
48621
48627
|
e = e();
|
|
48622
48628
|
} catch {
|
|
@@ -48627,11 +48633,11 @@ const wf = (e) => {
|
|
|
48627
48633
|
e,
|
|
48628
48634
|
t
|
|
48629
48635
|
];
|
|
48630
|
-
},
|
|
48636
|
+
}, _B = (e) => TB(e ? e(0, null) : null)[0], hd = Promise.resolve(), DB = (e) => (t, r, n) => {
|
|
48631
48637
|
const o = Y(!1), { cache: a, initialSize: s = 1, revalidateAll: i = !1, persistSize: l = !1, revalidateFirstPage: u = !0, revalidateOnMount: c = !1, parallel: d = !1 } = n, [, , , p] = $r.get(np);
|
|
48632
48638
|
let f;
|
|
48633
48639
|
try {
|
|
48634
|
-
f =
|
|
48640
|
+
f = _B(t), f && (f = Cx + f);
|
|
48635
48641
|
} catch {
|
|
48636
48642
|
}
|
|
48637
48643
|
const [h, g, b] = Yr(a, f), v = j(() => Me(h()._l) ? s : h()._l, [
|
|
@@ -48772,7 +48778,7 @@ const wf = (e) => {
|
|
|
48772
48778
|
return C.isLoading;
|
|
48773
48779
|
}
|
|
48774
48780
|
};
|
|
48775
|
-
}, Xi = Px(op,
|
|
48781
|
+
}, Xi = Px(op, DB);
|
|
48776
48782
|
function Qi(e, t, r, n, o, a, s) {
|
|
48777
48783
|
if (a && !a.search?.records?.length) return null;
|
|
48778
48784
|
const i = o * n, l = {
|
|
@@ -48789,7 +48795,7 @@ function Qi(e, t, r, n, o, a, s) {
|
|
|
48789
48795
|
}
|
|
48790
48796
|
];
|
|
48791
48797
|
}
|
|
48792
|
-
function
|
|
48798
|
+
function NB({
|
|
48793
48799
|
query: e,
|
|
48794
48800
|
modificationBlocks: t,
|
|
48795
48801
|
address: r,
|
|
@@ -48818,7 +48824,7 @@ function DB({
|
|
|
48818
48824
|
use: [Er]
|
|
48819
48825
|
});
|
|
48820
48826
|
}
|
|
48821
|
-
function
|
|
48827
|
+
function IB({ query: e, modificationBlocks: t, pageSize: r }) {
|
|
48822
48828
|
function n(o, a) {
|
|
48823
48829
|
return Qi(
|
|
48824
48830
|
$I,
|
|
@@ -48837,7 +48843,7 @@ function NB({ query: e, modificationBlocks: t, pageSize: r }) {
|
|
|
48837
48843
|
use: [Er]
|
|
48838
48844
|
});
|
|
48839
48845
|
}
|
|
48840
|
-
function
|
|
48846
|
+
function AB({
|
|
48841
48847
|
query: e,
|
|
48842
48848
|
modificationBlocks: t,
|
|
48843
48849
|
pageSize: r
|
|
@@ -48860,7 +48866,7 @@ function IB({
|
|
|
48860
48866
|
use: [Er]
|
|
48861
48867
|
});
|
|
48862
48868
|
}
|
|
48863
|
-
function
|
|
48869
|
+
function OB({
|
|
48864
48870
|
query: e,
|
|
48865
48871
|
modificationBlocks: t,
|
|
48866
48872
|
pageSize: r
|
|
@@ -48904,7 +48910,7 @@ function el({
|
|
|
48904
48910
|
i.groupBy(
|
|
48905
48911
|
Array.isArray(l) && l.length === 1 ? "data_and_speed" : "provider"
|
|
48906
48912
|
);
|
|
48907
|
-
const u =
|
|
48913
|
+
const u = IB({
|
|
48908
48914
|
query: i.serialize(),
|
|
48909
48915
|
modificationBlocks: us(n, o),
|
|
48910
48916
|
pageSize: r
|
|
@@ -48913,7 +48919,7 @@ function el({
|
|
|
48913
48919
|
}
|
|
48914
48920
|
case "fixed-proposition": {
|
|
48915
48921
|
i.groupBy("provider_data_speed_down");
|
|
48916
|
-
const l =
|
|
48922
|
+
const l = NB({
|
|
48917
48923
|
query: i.serialize(),
|
|
48918
48924
|
modificationBlocks: us(n, o),
|
|
48919
48925
|
address: o.address,
|
|
@@ -48926,7 +48932,7 @@ function el({
|
|
|
48926
48932
|
i.groupBy(
|
|
48927
48933
|
Array.isArray(u) && u.length === 1 ? "data_and_speed" : "provider"
|
|
48928
48934
|
), l === "relevantie" && i.sort("top");
|
|
48929
|
-
const c =
|
|
48935
|
+
const c = AB({
|
|
48930
48936
|
query: i.serialize(),
|
|
48931
48937
|
modificationBlocks: us(n, o),
|
|
48932
48938
|
pageSize: r
|
|
@@ -48936,7 +48942,7 @@ function el({
|
|
|
48936
48942
|
case "smartphone-proposition-extended": {
|
|
48937
48943
|
const l = Pr(t, "sorteren");
|
|
48938
48944
|
i.groupBy(l === "relevantie" ? "product_provider_slug" : "product_slug");
|
|
48939
|
-
const u =
|
|
48945
|
+
const u = OB({
|
|
48940
48946
|
query: i.serialize(),
|
|
48941
48947
|
modificationBlocks: us(n, o),
|
|
48942
48948
|
pageSize: r
|
|
@@ -48958,7 +48964,7 @@ function el({
|
|
|
48958
48964
|
};
|
|
48959
48965
|
}
|
|
48960
48966
|
}
|
|
48961
|
-
function
|
|
48967
|
+
function MB(e, t, r, n) {
|
|
48962
48968
|
const { currentProviderSlug: o, currentFixedProviderScope: a, currentMobileProviders: s } = t, i = new URLSearchParams();
|
|
48963
48969
|
if (o && i.set("huidige-provider", o), a || s && s.length > 0) {
|
|
48964
48970
|
const c = [
|
|
@@ -48976,8 +48982,8 @@ function tl({
|
|
|
48976
48982
|
}) {
|
|
48977
48983
|
const { profile: t } = Ur();
|
|
48978
48984
|
async function r(n) {
|
|
48979
|
-
const o = await
|
|
48980
|
-
return
|
|
48985
|
+
const o = await eR();
|
|
48986
|
+
return MB(n, t, o, e);
|
|
48981
48987
|
}
|
|
48982
48988
|
return { buildClickOutUrl: r };
|
|
48983
48989
|
}
|
|
@@ -49004,7 +49010,7 @@ function rl({
|
|
|
49004
49010
|
loadMore: u
|
|
49005
49011
|
};
|
|
49006
49012
|
}
|
|
49007
|
-
function
|
|
49013
|
+
function RB({
|
|
49008
49014
|
productCategory: e,
|
|
49009
49015
|
showTopPropositions: t,
|
|
49010
49016
|
labelColorConfig: r,
|
|
@@ -49038,7 +49044,7 @@ function MB({
|
|
|
49038
49044
|
if (!N && !x && O.length === 0) return /* @__PURE__ */ m(Ji, {});
|
|
49039
49045
|
const { top: A, all: z } = y ? { top: [], all: [] } : Vp({ propositions: O, productCategory: e, labelColorConfig: r });
|
|
49040
49046
|
return /* @__PURE__ */ F("div", { children: [
|
|
49041
|
-
N && c.address && /* @__PURE__ */ m(
|
|
49047
|
+
N && c.address && /* @__PURE__ */ m(CB, { address: c.address }),
|
|
49042
49048
|
/* @__PURE__ */ F(
|
|
49043
49049
|
"div",
|
|
49044
49050
|
{
|
|
@@ -49185,7 +49191,7 @@ function MB({
|
|
|
49185
49191
|
)
|
|
49186
49192
|
] });
|
|
49187
49193
|
}
|
|
49188
|
-
function
|
|
49194
|
+
function BB({
|
|
49189
49195
|
productCategory: e,
|
|
49190
49196
|
showTopPropositions: t,
|
|
49191
49197
|
labelColorConfig: r,
|
|
@@ -49414,7 +49420,7 @@ function xC({ propositions: e, buildClickOutUrl: t }) {
|
|
|
49414
49420
|
) })
|
|
49415
49421
|
] });
|
|
49416
49422
|
}
|
|
49417
|
-
function
|
|
49423
|
+
function zB({
|
|
49418
49424
|
showTopPropositions: e,
|
|
49419
49425
|
labelColorConfig: t,
|
|
49420
49426
|
limit: r,
|
|
@@ -49574,7 +49580,7 @@ function BB({
|
|
|
49574
49580
|
)
|
|
49575
49581
|
] });
|
|
49576
49582
|
}
|
|
49577
|
-
function
|
|
49583
|
+
function FB({
|
|
49578
49584
|
productCategory: e,
|
|
49579
49585
|
limit: t,
|
|
49580
49586
|
propositionCardLayout: r,
|
|
@@ -49671,12 +49677,12 @@ function zB({
|
|
|
49671
49677
|
}
|
|
49672
49678
|
);
|
|
49673
49679
|
}
|
|
49674
|
-
function
|
|
49680
|
+
function LB({ ...e }) {
|
|
49675
49681
|
const { width: t } = G0(), { getActiveFilterValue: r } = _r(), n = t < 768, o = t >= 1024;
|
|
49676
49682
|
switch (e.productCategory) {
|
|
49677
49683
|
case "fixed-proposition":
|
|
49678
49684
|
return /* @__PURE__ */ m(
|
|
49679
|
-
|
|
49685
|
+
RB,
|
|
49680
49686
|
{
|
|
49681
49687
|
...e,
|
|
49682
49688
|
propositionCardLayout: n ? "vertical" : "horizontal",
|
|
@@ -49685,14 +49691,14 @@ function FB({ ...e }) {
|
|
|
49685
49691
|
);
|
|
49686
49692
|
case "smartphone-proposition":
|
|
49687
49693
|
return r("telefoons").length === 0 ? /* @__PURE__ */ m(
|
|
49688
|
-
|
|
49694
|
+
FB,
|
|
49689
49695
|
{
|
|
49690
49696
|
...e,
|
|
49691
49697
|
productCategory: "smartphone-proposition-extended",
|
|
49692
49698
|
propositionCardLayout: n || o ? "vertical" : "horizontal"
|
|
49693
49699
|
}
|
|
49694
49700
|
) : /* @__PURE__ */ m(
|
|
49695
|
-
|
|
49701
|
+
zB,
|
|
49696
49702
|
{
|
|
49697
49703
|
...e,
|
|
49698
49704
|
propositionCardLayout: n ? "vertical" : "horizontal",
|
|
@@ -49701,7 +49707,7 @@ function FB({ ...e }) {
|
|
|
49701
49707
|
);
|
|
49702
49708
|
case "sim-only-proposition":
|
|
49703
49709
|
return /* @__PURE__ */ m(
|
|
49704
|
-
|
|
49710
|
+
BB,
|
|
49705
49711
|
{
|
|
49706
49712
|
...e,
|
|
49707
49713
|
propositionCardLayout: n ? "vertical" : "horizontal",
|
|
@@ -49712,7 +49718,7 @@ function FB({ ...e }) {
|
|
|
49712
49718
|
return null;
|
|
49713
49719
|
}
|
|
49714
49720
|
}
|
|
49715
|
-
function
|
|
49721
|
+
function VB({
|
|
49716
49722
|
productCategory: e,
|
|
49717
49723
|
labelColorConfig: t = {},
|
|
49718
49724
|
limit: r = 12,
|
|
@@ -49743,13 +49749,13 @@ function LB({
|
|
|
49743
49749
|
{
|
|
49744
49750
|
className: $("flex flex-row-reverse justify-between items-center gap-2", s),
|
|
49745
49751
|
children: [
|
|
49746
|
-
/* @__PURE__ */ m(
|
|
49752
|
+
/* @__PURE__ */ m(vR, {}),
|
|
49747
49753
|
p ? /* @__PURE__ */ m(k4, {}) : /* @__PURE__ */ m(II, { children: /* @__PURE__ */ m(r0, { productCategory: e }) })
|
|
49748
49754
|
]
|
|
49749
49755
|
}
|
|
49750
49756
|
),
|
|
49751
49757
|
/* @__PURE__ */ m(
|
|
49752
|
-
|
|
49758
|
+
LB,
|
|
49753
49759
|
{
|
|
49754
49760
|
productCategory: e,
|
|
49755
49761
|
addClickoutSearchParams: o,
|
|
@@ -49761,7 +49767,7 @@ function LB({
|
|
|
49761
49767
|
] })
|
|
49762
49768
|
] });
|
|
49763
49769
|
}
|
|
49764
|
-
function
|
|
49770
|
+
function QB({
|
|
49765
49771
|
classNames: e,
|
|
49766
49772
|
initialSelectedFilters: t,
|
|
49767
49773
|
initialProfile: r,
|
|
@@ -49771,17 +49777,36 @@ function XB({
|
|
|
49771
49777
|
...s
|
|
49772
49778
|
}) {
|
|
49773
49779
|
return /* @__PURE__ */ F(uI, { onError: o, children: [
|
|
49774
|
-
/* @__PURE__ */ m(I6, { classNames: e, children: /* @__PURE__ */ m(dI, { onAction: a, children: /* @__PURE__ */ m(
|
|
49780
|
+
/* @__PURE__ */ m(I6, { classNames: e, children: /* @__PURE__ */ m(dI, { onAction: a, children: /* @__PURE__ */ m(nR, { initialProfile: r, onProfileChange: n, children: /* @__PURE__ */ m(
|
|
49775
49781
|
gI,
|
|
49776
49782
|
{
|
|
49777
49783
|
initialSelectedFilters: t,
|
|
49778
49784
|
productCategory: s.productCategory,
|
|
49779
|
-
children: /* @__PURE__ */ m(S7, { children: /* @__PURE__ */ m(
|
|
49785
|
+
children: /* @__PURE__ */ m(S7, { children: /* @__PURE__ */ m(VB, { ...s }) })
|
|
49780
49786
|
}
|
|
49781
49787
|
) }) }) }),
|
|
49782
|
-
/* @__PURE__ */ m(
|
|
49788
|
+
/* @__PURE__ */ m(oR, {})
|
|
49783
49789
|
] });
|
|
49784
49790
|
}
|
|
49791
|
+
const ez = {
|
|
49792
|
+
odido: "Odido",
|
|
49793
|
+
kpn: "KPN",
|
|
49794
|
+
vodafone: "Vodafone",
|
|
49795
|
+
ben: "Ben",
|
|
49796
|
+
hollandsnieuwe: "hollandsnieuwe",
|
|
49797
|
+
lebara: "Lebara",
|
|
49798
|
+
youfone: "Youfone",
|
|
49799
|
+
simyo: "Simyo",
|
|
49800
|
+
delta: "Delta",
|
|
49801
|
+
caiway: "Caiway",
|
|
49802
|
+
budget: "Budget Mobiel",
|
|
49803
|
+
"budget-alles-in-1": "Budget Alles-in-1",
|
|
49804
|
+
"budget-internet": "Budget Internet",
|
|
49805
|
+
"50plusmobiel": "50+ Mobiel",
|
|
49806
|
+
ziggo: "Ziggo",
|
|
49807
|
+
other: "Andere provider",
|
|
49808
|
+
"other/moving": "Geen i.v.m. verhuizing"
|
|
49809
|
+
};
|
|
49785
49810
|
export {
|
|
49786
49811
|
F5 as A,
|
|
49787
49812
|
Ty as B,
|
|
@@ -49800,10 +49825,11 @@ export {
|
|
|
49800
49825
|
z5 as O,
|
|
49801
49826
|
Iy as P,
|
|
49802
49827
|
B5 as Q,
|
|
49803
|
-
|
|
49804
|
-
|
|
49828
|
+
ez as R,
|
|
49829
|
+
UB as S,
|
|
49830
|
+
QB as T,
|
|
49805
49831
|
Ha as a,
|
|
49806
|
-
|
|
49832
|
+
GB as b,
|
|
49807
49833
|
kn as c,
|
|
49808
49834
|
Yh as d,
|
|
49809
49835
|
Py as e,
|
|
@@ -49812,18 +49838,18 @@ export {
|
|
|
49812
49838
|
qh as h,
|
|
49813
49839
|
yy as i,
|
|
49814
49840
|
yn as j,
|
|
49815
|
-
|
|
49841
|
+
YB as k,
|
|
49816
49842
|
wy as l,
|
|
49817
49843
|
S5 as m,
|
|
49818
49844
|
yi as n,
|
|
49819
49845
|
_y as o,
|
|
49820
49846
|
ge as p,
|
|
49821
|
-
|
|
49847
|
+
ZB as q,
|
|
49822
49848
|
Ho as r,
|
|
49823
49849
|
u5 as s,
|
|
49824
49850
|
xi as t,
|
|
49825
49851
|
k5 as u,
|
|
49826
|
-
|
|
49852
|
+
JB as v,
|
|
49827
49853
|
vy as w,
|
|
49828
49854
|
my as x,
|
|
49829
49855
|
En as y,
|