@builder.io/sdk-react 3.0.0 → 3.0.2
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/lib/browser/blocks-exports.cjs +31 -31
- package/lib/browser/blocks-exports.mjs +1008 -962
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/server-entry-75ce8600.cjs +2 -0
- package/lib/browser/server-entry-a2495a20.js +748 -0
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-98d9699d.cjs → accordion-1c16f65e.cjs} +1 -1
- package/lib/edge/{accordion-19141399.js → accordion-c020e15b.js} +1 -1
- package/lib/edge/blocks-27ac5b23.js +3534 -0
- package/lib/edge/blocks-cd946d16.cjs +30 -0
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +8 -7
- package/lib/edge/{button-a335b33d.js → button-5cdb4f26.js} +2 -2
- package/lib/edge/{button-90d3b8fd.cjs → button-8572fca5.cjs} +1 -1
- package/lib/edge/{columns-34eb4f77.js → columns-3ac1fa96.js} +5 -6
- package/lib/edge/columns-c8a9cb89.cjs +28 -0
- package/lib/edge/{content-variants-eb0b71da.js → content-variants-23c8eec6.js} +348 -344
- package/lib/edge/content-variants-caa23bf7.cjs +134 -0
- package/lib/edge/form-3d9bf265.cjs +1 -0
- package/lib/edge/{form-f468b835.js → form-7fc5691b.js} +14 -15
- package/lib/edge/{get-class-prop-name-f431302d.cjs → get-class-prop-name-29fd576a.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-79a17608.js → get-class-prop-name-a4845b04.js} +1 -1
- package/lib/edge/{image-6970c193.js → image-5c9e156f.js} +28 -28
- package/lib/edge/image-94922c87.cjs +17 -0
- package/lib/edge/{img-da07f7ae.cjs → img-102acaa2.cjs} +1 -1
- package/lib/edge/{img-0d66e9e1.js → img-388698cb.js} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/{input-f7f73607.cjs → input-10e350a9.cjs} +1 -1
- package/lib/edge/{input-5962ba3b.js → input-5484e9e7.js} +1 -1
- package/lib/edge/{select-74305b69.js → select-b8406bcf.js} +1 -1
- package/lib/edge/{select-1f1bb9a6.cjs → select-f11be7a7.cjs} +1 -1
- package/lib/edge/server-entry-1879cbc4.cjs +2 -0
- package/lib/edge/server-entry-7ce03a4e.js +746 -0
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-ad2d5248.js → slot-23f75377.js} +5 -6
- package/lib/edge/slot-4ab390ec.cjs +1 -0
- package/lib/edge/{symbol-70bb59b7.js → symbol-2eafb4e0.js} +2 -2
- package/lib/edge/{symbol-5baac842.cjs → symbol-fa343d77.cjs} +1 -1
- package/lib/edge/{tabs-0244ee23.js → tabs-4c9c64f6.js} +15 -16
- package/lib/edge/tabs-7d258d82.cjs +1 -0
- package/lib/edge/text-5915f038.js +17 -0
- package/lib/edge/text-e6dbb721.cjs +1 -0
- package/lib/node/blocks-exports.cjs +29 -29
- package/lib/node/blocks-exports.mjs +903 -857
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +3 -3
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +3 -3
- package/lib/node/server-entry-2b263dde.js +749 -0
- package/lib/node/server-entry-ec330556.cjs +2 -0
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/lib/node/{setIvm-97b6edac.cjs → setIvm-1e6f0b60.cjs} +1 -1
- package/lib/node/{setIvm-bcada801.js → setIvm-7eb67cd6.js} +1 -1
- package/lib/node/setIvm.cjs +1 -1
- package/lib/node/setIvm.mjs +2 -2
- package/lib/node/{should-force-browser-runtime-in-node-16d6b365.cjs → should-force-browser-runtime-in-node-23218b19.cjs} +1 -1
- package/lib/node/{should-force-browser-runtime-in-node-f1c78223.js → should-force-browser-runtime-in-node-cdae9360.js} +1 -1
- package/package.json +1 -1
- package/types/components/block/block.helpers.d.ts +6 -3
- package/types/components/content/components/enable-editor.helpers.d.ts +11 -0
- package/types/constants/file-types.d.ts +2 -0
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/context/types.d.ts +1 -0
- package/types/functions/extract-localized-values.d.ts +2 -0
- package/types/functions/get-block-component-options.d.ts +2 -1
- package/types/functions/get-processed-block.d.ts +1 -6
- package/types/functions/traverse.d.ts +34 -0
- package/types/helpers/flatten.d.ts +6 -0
- package/types/server-index.d.ts +1 -1
- package/types/types/components.d.ts +3 -0
- package/lib/browser/server-entry-52c69986.js +0 -717
- package/lib/browser/server-entry-f3c2ac77.cjs +0 -2
- package/lib/edge/blocks-672d29ca.cjs +0 -12
- package/lib/edge/blocks-7299cf1f.js +0 -870
- package/lib/edge/columns-96859531.cjs +0 -28
- package/lib/edge/content-variants-30e475b2.cjs +0 -134
- package/lib/edge/evaluate-0793c18a.js +0 -2612
- package/lib/edge/evaluate-84062c52.cjs +0 -19
- package/lib/edge/form-99fe0879.cjs +0 -1
- package/lib/edge/image-54d2f755.cjs +0 -17
- package/lib/edge/server-entry-4f813956.cjs +0 -2
- package/lib/edge/server-entry-c793e7d2.js +0 -715
- package/lib/edge/slot-0add1d03.cjs +0 -1
- package/lib/edge/tabs-a4146223.cjs +0 -1
- package/lib/edge/text-214ed248.cjs +0 -1
- package/lib/edge/text-2e3cf22b.js +0 -37
- package/lib/node/server-entry-60acf7c6.js +0 -718
- package/lib/node/server-entry-e3ec26c9.cjs +0 -2
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { lazy as
|
|
3
|
-
import { isBrowser as j, TARGET as
|
|
4
|
-
import { Video as
|
|
5
|
-
import { triggerAnimation as
|
|
6
|
-
import
|
|
7
|
-
import "./get-class-prop-name-79a17608.js";
|
|
1
|
+
import { jsx as h, jsxs as $, Fragment as z } from "react/jsx-runtime";
|
|
2
|
+
import { lazy as S, useRef as _, useState as I, useEffect as V } from "react";
|
|
3
|
+
import { isBrowser as j, TARGET as O, isEditing as F, isPreviewing as te, registerInsertMenu as le, setupBrowserForEditing as se, createRegisterComponentMessage as de, getDefaultCanTrack as H, _track as J, fetchOneEntry as ce, createEditorListener as ue, logFetch as me, serializeIncludingFunctions as Y, logger as pe, handleABTestingSync as fe } from "./server-entry-7ce03a4e.js";
|
|
4
|
+
import { Video as ge, Button as he, Columns as be, Fragment as ye, Image as xe, Section as ve, Symbol as Se, Text as Te, BuilderContext as Ie } from "./blocks-exports.mjs";
|
|
5
|
+
import { triggerAnimation as ke, evaluate as ne, fastClone as Ce, InlinedStyles as ae, ComponentsContext as we, Blocks as Ve } from "./blocks-27ac5b23.js";
|
|
6
|
+
import "./get-class-prop-name-a4845b04.js";
|
|
8
7
|
import "./dynamic-renderer-8b343325.js";
|
|
9
|
-
const
|
|
8
|
+
const U = {
|
|
10
9
|
"@type": "@builder.io/sdk:Element",
|
|
11
10
|
layerName: "Accordion item title",
|
|
12
11
|
responsiveStyles: {
|
|
@@ -35,7 +34,7 @@ const D = {
|
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
}]
|
|
38
|
-
},
|
|
37
|
+
}, L = {
|
|
39
38
|
"@type": "@builder.io/sdk:Element",
|
|
40
39
|
layerName: "Accordion item detail",
|
|
41
40
|
responsiveStyles: {
|
|
@@ -66,7 +65,7 @@ const D = {
|
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
}]
|
|
69
|
-
},
|
|
68
|
+
}, Re = {
|
|
70
69
|
name: "Builder:Accordion",
|
|
71
70
|
canHaveChildren: !0,
|
|
72
71
|
image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
|
|
@@ -83,19 +82,19 @@ const D = {
|
|
|
83
82
|
name: "title",
|
|
84
83
|
type: "uiBlocks",
|
|
85
84
|
hideFromUI: !0,
|
|
86
|
-
defaultValue: [
|
|
85
|
+
defaultValue: [U]
|
|
87
86
|
}, {
|
|
88
87
|
name: "detail",
|
|
89
88
|
type: "uiBlocks",
|
|
90
89
|
hideFromUI: !0,
|
|
91
|
-
defaultValue: [
|
|
90
|
+
defaultValue: [L]
|
|
92
91
|
}],
|
|
93
92
|
defaultValue: [{
|
|
94
|
-
title: [
|
|
95
|
-
detail: [
|
|
93
|
+
title: [U],
|
|
94
|
+
detail: [L]
|
|
96
95
|
}, {
|
|
97
|
-
title: [
|
|
98
|
-
detail: [
|
|
96
|
+
title: [U],
|
|
97
|
+
detail: [L]
|
|
99
98
|
}],
|
|
100
99
|
showIf: (e) => !e.get("useChildrenForItems")
|
|
101
100
|
}, {
|
|
@@ -130,7 +129,7 @@ const D = {
|
|
|
130
129
|
builderComponents: !0,
|
|
131
130
|
builderLinkComponent: !0
|
|
132
131
|
}
|
|
133
|
-
},
|
|
132
|
+
}, Ee = S(() => import("./accordion-c020e15b.js")), Fe = {
|
|
134
133
|
name: "Core:Button",
|
|
135
134
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
136
135
|
defaultStyles: {
|
|
@@ -166,7 +165,7 @@ const D = {
|
|
|
166
165
|
shouldReceiveBuilderProps: {
|
|
167
166
|
builderLinkComponent: !0
|
|
168
167
|
}
|
|
169
|
-
},
|
|
168
|
+
}, Pe = {
|
|
170
169
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
171
170
|
name: "Columns",
|
|
172
171
|
isRSC: !0,
|
|
@@ -345,7 +344,7 @@ const D = {
|
|
|
345
344
|
});
|
|
346
345
|
}
|
|
347
346
|
const n = e.get("columns");
|
|
348
|
-
Array.isArray(n) && n.find((
|
|
347
|
+
Array.isArray(n) && n.find((l) => l.get("width")) && (n.find((c) => !c.get("width")) || n.reduce((o, u) => o + u.get("width"), 0) !== 100) && t();
|
|
349
348
|
}
|
|
350
349
|
}, {
|
|
351
350
|
name: "space",
|
|
@@ -373,13 +372,13 @@ const D = {
|
|
|
373
372
|
builderComponents: !0,
|
|
374
373
|
builderLinkComponent: !0
|
|
375
374
|
}
|
|
376
|
-
},
|
|
375
|
+
}, Ae = {
|
|
377
376
|
name: "Fragment",
|
|
378
377
|
static: !0,
|
|
379
378
|
hidden: !0,
|
|
380
379
|
canHaveChildren: !0,
|
|
381
380
|
noWrap: !0
|
|
382
|
-
},
|
|
381
|
+
}, M = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], We = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Be = {
|
|
383
382
|
name: "Image",
|
|
384
383
|
static: !0,
|
|
385
384
|
image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
|
|
@@ -394,34 +393,34 @@ const D = {
|
|
|
394
393
|
name: "image",
|
|
395
394
|
type: "file",
|
|
396
395
|
bubble: !0,
|
|
397
|
-
allowedFileTypes:
|
|
396
|
+
allowedFileTypes: M,
|
|
398
397
|
required: !0,
|
|
399
398
|
defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
|
|
400
399
|
onChange: (e) => {
|
|
401
400
|
e.delete("srcset"), e.delete("noWebp");
|
|
402
401
|
function n(a, o = 6e4) {
|
|
403
|
-
return new Promise((
|
|
404
|
-
const
|
|
405
|
-
let
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
},
|
|
409
|
-
console.warn("Image load failed", k.error),
|
|
410
|
-
}),
|
|
411
|
-
|
|
402
|
+
return new Promise((u, T) => {
|
|
403
|
+
const v = document.createElement("img");
|
|
404
|
+
let R = !1;
|
|
405
|
+
v.onload = () => {
|
|
406
|
+
R = !0, u(v);
|
|
407
|
+
}, v.addEventListener("error", (k) => {
|
|
408
|
+
console.warn("Image load failed", k.error), T(k.error);
|
|
409
|
+
}), v.src = a, setTimeout(() => {
|
|
410
|
+
R || T(new Error("Image load timed out"));
|
|
412
411
|
}, o);
|
|
413
412
|
});
|
|
414
413
|
}
|
|
415
414
|
function i(a) {
|
|
416
415
|
return Math.round(a * 1e3) / 1e3;
|
|
417
416
|
}
|
|
418
|
-
const
|
|
419
|
-
if (fetch(
|
|
417
|
+
const l = e.get("image"), c = e.get("aspectRatio");
|
|
418
|
+
if (fetch(l).then((a) => a.blob()).then((a) => {
|
|
420
419
|
a.type.includes("svg") && e.set("noWebp", !0);
|
|
421
|
-
}),
|
|
422
|
-
return n(
|
|
420
|
+
}), l && (!c || c === 0.7041))
|
|
421
|
+
return n(l).then((a) => {
|
|
423
422
|
const o = e.get("aspectRatio");
|
|
424
|
-
e.get("image") ===
|
|
423
|
+
e.get("image") === l && (!o || o === 0.7041) && a.width && a.height && (e.set("aspectRatio", i(a.height / a.width)), e.set("height", a.height), e.set("width", a.width));
|
|
425
424
|
});
|
|
426
425
|
}
|
|
427
426
|
}, {
|
|
@@ -487,7 +486,7 @@ const D = {
|
|
|
487
486
|
shouldReceiveBuilderProps: {
|
|
488
487
|
builderBlock: !0
|
|
489
488
|
}
|
|
490
|
-
},
|
|
489
|
+
}, De = {
|
|
491
490
|
name: "Core:Section",
|
|
492
491
|
static: !0,
|
|
493
492
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -526,7 +525,7 @@ const D = {
|
|
|
526
525
|
}
|
|
527
526
|
}
|
|
528
527
|
}]
|
|
529
|
-
},
|
|
528
|
+
}, He = {
|
|
530
529
|
name: "Slot",
|
|
531
530
|
isRSC: !0,
|
|
532
531
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -543,7 +542,7 @@ const D = {
|
|
|
543
542
|
builderContext: !0,
|
|
544
543
|
builderComponents: !0
|
|
545
544
|
}
|
|
546
|
-
},
|
|
545
|
+
}, Ue = S(() => import("./slot-23f75377.js")), Le = {
|
|
547
546
|
name: "Symbol",
|
|
548
547
|
noWrap: !0,
|
|
549
548
|
static: !0,
|
|
@@ -582,7 +581,7 @@ const D = {
|
|
|
582
581
|
builderComponents: !0,
|
|
583
582
|
builderLinkComponent: !0
|
|
584
583
|
}
|
|
585
|
-
},
|
|
584
|
+
}, N = {
|
|
586
585
|
"@type": "@builder.io/sdk:Element",
|
|
587
586
|
responsiveStyles: {
|
|
588
587
|
large: {
|
|
@@ -604,7 +603,7 @@ const D = {
|
|
|
604
603
|
text: "New tab"
|
|
605
604
|
}
|
|
606
605
|
}
|
|
607
|
-
},
|
|
606
|
+
}, q = {
|
|
608
607
|
"@type": "@builder.io/sdk:Element",
|
|
609
608
|
responsiveStyles: {
|
|
610
609
|
large: {
|
|
@@ -620,7 +619,7 @@ const D = {
|
|
|
620
619
|
text: "New tab content "
|
|
621
620
|
}
|
|
622
621
|
}
|
|
623
|
-
},
|
|
622
|
+
}, Ne = {
|
|
624
623
|
name: "Builder: Tabs",
|
|
625
624
|
inputs: [{
|
|
626
625
|
name: "tabs",
|
|
@@ -630,16 +629,16 @@ const D = {
|
|
|
630
629
|
name: "label",
|
|
631
630
|
type: "uiBlocks",
|
|
632
631
|
hideFromUI: !0,
|
|
633
|
-
defaultValue: [
|
|
632
|
+
defaultValue: [N]
|
|
634
633
|
}, {
|
|
635
634
|
name: "content",
|
|
636
635
|
type: "uiBlocks",
|
|
637
636
|
hideFromUI: !0,
|
|
638
|
-
defaultValue: [
|
|
637
|
+
defaultValue: [q]
|
|
639
638
|
}],
|
|
640
639
|
defaultValue: [{
|
|
641
640
|
label: [{
|
|
642
|
-
...
|
|
641
|
+
...N,
|
|
643
642
|
component: {
|
|
644
643
|
name: "Text",
|
|
645
644
|
options: {
|
|
@@ -648,7 +647,7 @@ const D = {
|
|
|
648
647
|
}
|
|
649
648
|
}],
|
|
650
649
|
content: [{
|
|
651
|
-
...
|
|
650
|
+
...q,
|
|
652
651
|
component: {
|
|
653
652
|
name: "Text",
|
|
654
653
|
options: {
|
|
@@ -658,7 +657,7 @@ const D = {
|
|
|
658
657
|
}]
|
|
659
658
|
}, {
|
|
660
659
|
label: [{
|
|
661
|
-
...
|
|
660
|
+
...N,
|
|
662
661
|
component: {
|
|
663
662
|
name: "Text",
|
|
664
663
|
options: {
|
|
@@ -667,7 +666,7 @@ const D = {
|
|
|
667
666
|
}
|
|
668
667
|
}],
|
|
669
668
|
content: [{
|
|
670
|
-
...
|
|
669
|
+
...q,
|
|
671
670
|
component: {
|
|
672
671
|
name: "Text",
|
|
673
672
|
options: {
|
|
@@ -723,7 +722,7 @@ const D = {
|
|
|
723
722
|
builderComponents: !0,
|
|
724
723
|
builderLinkComponent: !0
|
|
725
724
|
}
|
|
726
|
-
},
|
|
725
|
+
}, qe = S(() => import("./tabs-4c9c64f6.js")), $e = {
|
|
727
726
|
shouldReceiveBuilderProps: {
|
|
728
727
|
builderBlock: !1,
|
|
729
728
|
builderContext: !0
|
|
@@ -745,7 +744,7 @@ const D = {
|
|
|
745
744
|
height: "auto",
|
|
746
745
|
textAlign: "center"
|
|
747
746
|
}
|
|
748
|
-
},
|
|
747
|
+
}, _e = {
|
|
749
748
|
name: "Custom Code",
|
|
750
749
|
static: !0,
|
|
751
750
|
requiredPermissions: ["editCode"],
|
|
@@ -767,7 +766,7 @@ const D = {
|
|
|
767
766
|
helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
|
|
768
767
|
advanced: !0
|
|
769
768
|
}]
|
|
770
|
-
},
|
|
769
|
+
}, je = S(() => import("./custom-code-7786788e.js")), Ke = {
|
|
771
770
|
name: "Embed",
|
|
772
771
|
static: !0,
|
|
773
772
|
inputs: [{
|
|
@@ -782,7 +781,7 @@ const D = {
|
|
|
782
781
|
defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
|
|
783
782
|
hideFromUI: !0
|
|
784
783
|
}]
|
|
785
|
-
},
|
|
784
|
+
}, Oe = S(() => import("./embed-5c1bbe12.js")), Me = {
|
|
786
785
|
name: "Form:Form",
|
|
787
786
|
// editableTags: ['builder-form-error']
|
|
788
787
|
defaults: {
|
|
@@ -1019,7 +1018,7 @@ const D = {
|
|
|
1019
1018
|
builderComponents: !0,
|
|
1020
1019
|
builderLinkComponent: !0
|
|
1021
1020
|
}
|
|
1022
|
-
},
|
|
1021
|
+
}, ze = S(() => import("./form-7fc5691b.js")), Je = {
|
|
1023
1022
|
name: "Form:Input",
|
|
1024
1023
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
1025
1024
|
inputs: [
|
|
@@ -1070,7 +1069,7 @@ const D = {
|
|
|
1070
1069
|
borderStyle: "solid",
|
|
1071
1070
|
borderColor: "#ccc"
|
|
1072
1071
|
}
|
|
1073
|
-
},
|
|
1072
|
+
}, Ye = S(() => import("./input-5484e9e7.js")), Ge = {
|
|
1074
1073
|
name: "Form:Select",
|
|
1075
1074
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
1076
1075
|
defaultStyles: {
|
|
@@ -1112,7 +1111,7 @@ const D = {
|
|
|
1112
1111
|
}],
|
|
1113
1112
|
static: !0,
|
|
1114
1113
|
noWrap: !0
|
|
1115
|
-
},
|
|
1114
|
+
}, Qe = S(() => import("./select-b8406bcf.js")), Xe = {
|
|
1116
1115
|
name: "Form:SubmitButton",
|
|
1117
1116
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
1118
1117
|
defaultStyles: {
|
|
@@ -1137,7 +1136,7 @@ const D = {
|
|
|
1137
1136
|
// that only shows if advanced setting is flipped
|
|
1138
1137
|
// TODO: defaultChildren
|
|
1139
1138
|
// canHaveChildren: true,
|
|
1140
|
-
},
|
|
1139
|
+
}, Ze = S(() => import("./submit-button-b48361a7.js")), et = {
|
|
1141
1140
|
name: "Form:TextArea",
|
|
1142
1141
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
1143
1142
|
inputs: [{
|
|
@@ -1173,7 +1172,7 @@ const D = {
|
|
|
1173
1172
|
},
|
|
1174
1173
|
static: !0,
|
|
1175
1174
|
noWrap: !0
|
|
1176
|
-
},
|
|
1175
|
+
}, tt = S(() => import("./textarea-d29025e9.js")), nt = {
|
|
1177
1176
|
// friendlyName?
|
|
1178
1177
|
name: "Raw:Img",
|
|
1179
1178
|
hideFromInsertMenu: !0,
|
|
@@ -1182,12 +1181,12 @@ const D = {
|
|
|
1182
1181
|
name: "image",
|
|
1183
1182
|
bubble: !0,
|
|
1184
1183
|
type: "file",
|
|
1185
|
-
allowedFileTypes:
|
|
1184
|
+
allowedFileTypes: M,
|
|
1186
1185
|
required: !0
|
|
1187
1186
|
}],
|
|
1188
1187
|
noWrap: !0,
|
|
1189
1188
|
static: !0
|
|
1190
|
-
},
|
|
1189
|
+
}, at = S(() => import("./img-388698cb.js")), it = {
|
|
1191
1190
|
name: "Video",
|
|
1192
1191
|
canHaveChildren: !0,
|
|
1193
1192
|
defaultStyles: {
|
|
@@ -1198,14 +1197,14 @@ const D = {
|
|
|
1198
1197
|
inputs: [{
|
|
1199
1198
|
name: "video",
|
|
1200
1199
|
type: "file",
|
|
1201
|
-
allowedFileTypes:
|
|
1200
|
+
allowedFileTypes: We,
|
|
1202
1201
|
bubble: !0,
|
|
1203
1202
|
defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
|
|
1204
1203
|
required: !0
|
|
1205
1204
|
}, {
|
|
1206
1205
|
name: "posterImage",
|
|
1207
1206
|
type: "file",
|
|
1208
|
-
allowedFileTypes:
|
|
1207
|
+
allowedFileTypes: M,
|
|
1209
1208
|
helperText: "Image to show before the video plays"
|
|
1210
1209
|
}, {
|
|
1211
1210
|
name: "autoPlay",
|
|
@@ -1271,40 +1270,34 @@ const D = {
|
|
|
1271
1270
|
shouldReceiveBuilderProps: {
|
|
1272
1271
|
builderBlock: !0
|
|
1273
1272
|
}
|
|
1274
|
-
},
|
|
1275
|
-
component: $e,
|
|
1276
|
-
...Ne
|
|
1277
|
-
}, {
|
|
1273
|
+
}, ot = () => [{
|
|
1278
1274
|
component: je,
|
|
1279
|
-
...
|
|
1275
|
+
..._e
|
|
1280
1276
|
}, {
|
|
1281
|
-
component:
|
|
1277
|
+
component: Oe,
|
|
1282
1278
|
...Ke
|
|
1283
1279
|
}, {
|
|
1284
|
-
component:
|
|
1285
|
-
...
|
|
1280
|
+
component: ze,
|
|
1281
|
+
...Me
|
|
1286
1282
|
}, {
|
|
1287
|
-
component:
|
|
1288
|
-
...
|
|
1283
|
+
component: Ye,
|
|
1284
|
+
...Je
|
|
1289
1285
|
}, {
|
|
1290
|
-
component:
|
|
1291
|
-
...
|
|
1286
|
+
component: Ze,
|
|
1287
|
+
...Xe
|
|
1292
1288
|
}, {
|
|
1293
|
-
component:
|
|
1289
|
+
component: Qe,
|
|
1294
1290
|
...Ge
|
|
1295
1291
|
}, {
|
|
1296
|
-
component:
|
|
1297
|
-
...
|
|
1298
|
-
}, {
|
|
1299
|
-
component: pe,
|
|
1300
|
-
...tt
|
|
1301
|
-
}], z = () => [{
|
|
1302
|
-
component: ge,
|
|
1303
|
-
...Re
|
|
1292
|
+
component: tt,
|
|
1293
|
+
...et
|
|
1304
1294
|
}, {
|
|
1305
|
-
component:
|
|
1306
|
-
...
|
|
1295
|
+
component: at,
|
|
1296
|
+
...nt
|
|
1307
1297
|
}, {
|
|
1298
|
+
component: ge,
|
|
1299
|
+
...it
|
|
1300
|
+
}], G = () => [{
|
|
1308
1301
|
component: he,
|
|
1309
1302
|
...Fe
|
|
1310
1303
|
}, {
|
|
@@ -1312,23 +1305,29 @@ const D = {
|
|
|
1312
1305
|
...Pe
|
|
1313
1306
|
}, {
|
|
1314
1307
|
component: ye,
|
|
1315
|
-
...We
|
|
1316
|
-
}, {
|
|
1317
|
-
component: Be,
|
|
1318
1308
|
...Ae
|
|
1319
1309
|
}, {
|
|
1320
1310
|
component: xe,
|
|
1321
|
-
...
|
|
1311
|
+
...Be
|
|
1322
1312
|
}, {
|
|
1323
1313
|
component: ve,
|
|
1324
|
-
...
|
|
1314
|
+
...De
|
|
1325
1315
|
}, {
|
|
1326
1316
|
component: Ue,
|
|
1327
|
-
...
|
|
1317
|
+
...He
|
|
1318
|
+
}, {
|
|
1319
|
+
component: Se,
|
|
1320
|
+
...Le
|
|
1321
|
+
}, {
|
|
1322
|
+
component: Te,
|
|
1323
|
+
...$e
|
|
1324
|
+
}, {
|
|
1325
|
+
component: qe,
|
|
1326
|
+
...Ne
|
|
1328
1327
|
}, {
|
|
1329
|
-
component:
|
|
1330
|
-
...
|
|
1331
|
-
}, ...
|
|
1328
|
+
component: Ee,
|
|
1329
|
+
...Re
|
|
1330
|
+
}, ...ot()], rt = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
|
|
1332
1331
|
function getAndSetVariantId() {
|
|
1333
1332
|
function setCookie(name, value, days) {
|
|
1334
1333
|
let expires = '';
|
|
@@ -1384,7 +1383,7 @@ const D = {
|
|
|
1384
1383
|
}).join('');
|
|
1385
1384
|
styleEl.innerHTML = newStyleStr;
|
|
1386
1385
|
}
|
|
1387
|
-
}`,
|
|
1386
|
+
}`, lt = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
|
|
1388
1387
|
if (!navigator.cookieEnabled) {
|
|
1389
1388
|
return;
|
|
1390
1389
|
}
|
|
@@ -1418,27 +1417,27 @@ const D = {
|
|
|
1418
1417
|
thisScriptEl?.remove();
|
|
1419
1418
|
}
|
|
1420
1419
|
return;
|
|
1421
|
-
}`,
|
|
1420
|
+
}`, ie = "builderIoAbTest", oe = "builderIoRenderContent", D = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
|
|
1422
1421
|
...t,
|
|
1423
1422
|
testVariationId: t.id,
|
|
1424
1423
|
id: e == null ? void 0 : e.id
|
|
1425
|
-
})),
|
|
1424
|
+
})), st = ({
|
|
1426
1425
|
canTrack: e,
|
|
1427
1426
|
content: t
|
|
1428
|
-
}) => !(!(
|
|
1429
|
-
window.${
|
|
1430
|
-
window.${
|
|
1431
|
-
`,
|
|
1432
|
-
window.${
|
|
1433
|
-
"${t}",${JSON.stringify(e)}, ${
|
|
1434
|
-
)`,
|
|
1427
|
+
}) => !(!(D(t).length > 0) || !e || j()), dt = (e) => e === "react" || e === "reactNative", re = dt(O), ct = () => `
|
|
1428
|
+
window.${ie} = ${rt}
|
|
1429
|
+
window.${oe} = ${lt}
|
|
1430
|
+
`, ut = (e, t) => `
|
|
1431
|
+
window.${ie}(
|
|
1432
|
+
"${t}",${JSON.stringify(e)}, ${re}
|
|
1433
|
+
)`, mt = ({
|
|
1435
1434
|
contentId: e,
|
|
1436
1435
|
variationId: t
|
|
1437
|
-
}) => `window.${
|
|
1438
|
-
"${t}", "${e}", ${
|
|
1436
|
+
}) => `window.${oe}(
|
|
1437
|
+
"${t}", "${e}", ${re}
|
|
1439
1438
|
)`;
|
|
1440
1439
|
function K(e) {
|
|
1441
|
-
return /* @__PURE__ */
|
|
1440
|
+
return /* @__PURE__ */ h(
|
|
1442
1441
|
"script",
|
|
1443
1442
|
{
|
|
1444
1443
|
dangerouslySetInnerHTML: { __html: e.scriptStr },
|
|
@@ -1447,10 +1446,10 @@ function K(e) {
|
|
|
1447
1446
|
}
|
|
1448
1447
|
);
|
|
1449
1448
|
}
|
|
1450
|
-
function
|
|
1449
|
+
function Q(e) {
|
|
1451
1450
|
return Math.round(e * 1e3) / 1e3;
|
|
1452
1451
|
}
|
|
1453
|
-
const
|
|
1452
|
+
const pt = (e, t, n = !0) => {
|
|
1454
1453
|
if (!(e instanceof HTMLElement))
|
|
1455
1454
|
return null;
|
|
1456
1455
|
let i = n ? e : e.parentElement;
|
|
@@ -1461,39 +1460,39 @@ const ut = (e, t, n = !0) => {
|
|
|
1461
1460
|
return i;
|
|
1462
1461
|
} while (i = i.parentElement);
|
|
1463
1462
|
return null;
|
|
1464
|
-
},
|
|
1463
|
+
}, ft = (e) => pt(e, (t) => {
|
|
1465
1464
|
const n = t.getAttribute("builder-id") || t.id;
|
|
1466
1465
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
1467
|
-
}),
|
|
1466
|
+
}), X = ({
|
|
1468
1467
|
event: e,
|
|
1469
1468
|
target: t
|
|
1470
1469
|
}) => {
|
|
1471
|
-
const n = t.getBoundingClientRect(), i = e.clientX - n.left,
|
|
1470
|
+
const n = t.getBoundingClientRect(), i = e.clientX - n.left, l = e.clientY - n.top, c = Q(i / n.width), a = Q(l / n.height);
|
|
1472
1471
|
return {
|
|
1473
|
-
x:
|
|
1472
|
+
x: c,
|
|
1474
1473
|
y: a
|
|
1475
1474
|
};
|
|
1476
|
-
},
|
|
1477
|
-
const t = e.target, n = t &&
|
|
1475
|
+
}, gt = (e) => {
|
|
1476
|
+
const t = e.target, n = t && ft(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
1478
1477
|
return {
|
|
1479
1478
|
targetBuilderElement: i || void 0,
|
|
1480
1479
|
metadata: {
|
|
1481
|
-
targetOffset: t ?
|
|
1480
|
+
targetOffset: t ? X({
|
|
1482
1481
|
event: e,
|
|
1483
1482
|
target: t
|
|
1484
1483
|
}) : void 0,
|
|
1485
|
-
builderTargetOffset: n ?
|
|
1484
|
+
builderTargetOffset: n ? X({
|
|
1486
1485
|
event: e,
|
|
1487
1486
|
target: n
|
|
1488
1487
|
}) : void 0,
|
|
1489
1488
|
builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
|
|
1490
1489
|
}
|
|
1491
1490
|
};
|
|
1492
|
-
},
|
|
1493
|
-
var
|
|
1494
|
-
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (
|
|
1495
|
-
let
|
|
1496
|
-
if (i && t && n && (
|
|
1491
|
+
}, ht = ["svelte", "qwik", "vue"], Z = () => ht.includes(O) && (F() || te()), bt = (e) => {
|
|
1492
|
+
var c, a;
|
|
1493
|
+
const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (c = e == null ? void 0 : e.files) == null ? void 0 : c.regular;
|
|
1494
|
+
let l = "";
|
|
1495
|
+
if (i && t && n && (l += `
|
|
1497
1496
|
@font-face {
|
|
1498
1497
|
font-family: "${t}";
|
|
1499
1498
|
src: local("${n}"), url('${i}') format('woff2');
|
|
@@ -1504,26 +1503,26 @@ font-weight: 400;
|
|
|
1504
1503
|
for (const o in e.files) {
|
|
1505
1504
|
if (!(String(Number(o)) === o))
|
|
1506
1505
|
continue;
|
|
1507
|
-
const
|
|
1508
|
-
|
|
1506
|
+
const T = e.files[o];
|
|
1507
|
+
T && T !== i && (l += `
|
|
1509
1508
|
@font-face {
|
|
1510
1509
|
font-family: "${t}";
|
|
1511
|
-
src: url('${
|
|
1510
|
+
src: url('${T}') format('woff2');
|
|
1512
1511
|
font-display: fallback;
|
|
1513
1512
|
font-weight: ${o};
|
|
1514
1513
|
}
|
|
1515
1514
|
`.trim());
|
|
1516
1515
|
}
|
|
1517
|
-
return
|
|
1518
|
-
},
|
|
1516
|
+
return l;
|
|
1517
|
+
}, yt = ({
|
|
1519
1518
|
customFonts: e
|
|
1520
1519
|
}) => {
|
|
1521
1520
|
var t;
|
|
1522
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
1523
|
-
},
|
|
1521
|
+
return ((t = e == null ? void 0 : e.map((n) => bt(n))) == null ? void 0 : t.join(" ")) || "";
|
|
1522
|
+
}, xt = ({
|
|
1524
1523
|
cssCode: e,
|
|
1525
1524
|
contentId: t
|
|
1526
|
-
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "",
|
|
1525
|
+
}) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", vt = `
|
|
1527
1526
|
.builder-button {
|
|
1528
1527
|
all: unset;
|
|
1529
1528
|
}
|
|
@@ -1540,103 +1539,103 @@ font-weight: ${o};
|
|
|
1540
1539
|
text-align: inherit;
|
|
1541
1540
|
font-family: inherit;
|
|
1542
1541
|
}
|
|
1543
|
-
`,
|
|
1544
|
-
function
|
|
1545
|
-
var g,
|
|
1546
|
-
const t =
|
|
1547
|
-
function n(
|
|
1548
|
-
var
|
|
1549
|
-
const
|
|
1542
|
+
`, St = (e) => e ? "" : vt, Tt = (e) => `variant-${e}`;
|
|
1543
|
+
function It(e) {
|
|
1544
|
+
var g, b, C;
|
|
1545
|
+
const t = _(null);
|
|
1546
|
+
function n(s) {
|
|
1547
|
+
var m, f;
|
|
1548
|
+
const d = {
|
|
1550
1549
|
...e.builderContextSignal.rootState,
|
|
1551
|
-
...
|
|
1550
|
+
...s
|
|
1552
1551
|
};
|
|
1553
|
-
e.builderContextSignal.rootSetState ? (
|
|
1554
|
-
...
|
|
1555
|
-
rootState:
|
|
1552
|
+
e.builderContextSignal.rootSetState ? (f = (m = e.builderContextSignal).rootSetState) == null || f.call(m, d) : e.setBuilderContextSignal((r) => ({
|
|
1553
|
+
...r,
|
|
1554
|
+
rootState: d
|
|
1556
1555
|
}));
|
|
1557
1556
|
}
|
|
1558
|
-
function i(
|
|
1559
|
-
var
|
|
1560
|
-
const
|
|
1557
|
+
function i(s) {
|
|
1558
|
+
var m, f, r, p, y;
|
|
1559
|
+
const d = {
|
|
1561
1560
|
...e.builderContextSignal.content,
|
|
1562
|
-
...
|
|
1561
|
+
...s,
|
|
1563
1562
|
data: {
|
|
1564
|
-
...(
|
|
1565
|
-
...
|
|
1563
|
+
...(m = e.builderContextSignal.content) == null ? void 0 : m.data,
|
|
1564
|
+
...s == null ? void 0 : s.data
|
|
1566
1565
|
},
|
|
1567
1566
|
meta: {
|
|
1568
|
-
...(
|
|
1569
|
-
...
|
|
1570
|
-
breakpoints: ((
|
|
1567
|
+
...(f = e.builderContextSignal.content) == null ? void 0 : f.meta,
|
|
1568
|
+
...s == null ? void 0 : s.meta,
|
|
1569
|
+
breakpoints: ((r = s == null ? void 0 : s.meta) == null ? void 0 : r.breakpoints) || ((y = (p = e.builderContextSignal.content) == null ? void 0 : p.meta) == null ? void 0 : y.breakpoints)
|
|
1571
1570
|
}
|
|
1572
1571
|
};
|
|
1573
1572
|
e.setBuilderContextSignal((x) => ({
|
|
1574
1573
|
...x,
|
|
1575
|
-
content:
|
|
1574
|
+
content: d
|
|
1576
1575
|
}));
|
|
1577
1576
|
}
|
|
1578
|
-
function
|
|
1577
|
+
function l() {
|
|
1579
1578
|
return e.showContent ? {} : {
|
|
1580
1579
|
hidden: !0,
|
|
1581
1580
|
"aria-hidden": !0
|
|
1582
1581
|
};
|
|
1583
1582
|
}
|
|
1584
|
-
const [
|
|
1583
|
+
const [c, a] = I(
|
|
1585
1584
|
() => e.contentWrapper || "div"
|
|
1586
1585
|
);
|
|
1587
|
-
function o(
|
|
1588
|
-
return
|
|
1586
|
+
function o(s) {
|
|
1587
|
+
return ue({
|
|
1589
1588
|
model: e.model,
|
|
1590
1589
|
trustedHosts: e.trustedHosts,
|
|
1591
1590
|
callbacks: {
|
|
1592
|
-
configureSdk: (
|
|
1593
|
-
var
|
|
1594
|
-
const { breakpoints:
|
|
1595
|
-
!
|
|
1591
|
+
configureSdk: (d) => {
|
|
1592
|
+
var r;
|
|
1593
|
+
const { breakpoints: m, contentId: f } = d;
|
|
1594
|
+
!f || f !== ((r = e.builderContextSignal.content) == null ? void 0 : r.id) || m && i({
|
|
1596
1595
|
meta: {
|
|
1597
|
-
breakpoints:
|
|
1596
|
+
breakpoints: m
|
|
1598
1597
|
}
|
|
1599
1598
|
});
|
|
1600
1599
|
},
|
|
1601
|
-
animation: (
|
|
1602
|
-
|
|
1600
|
+
animation: (d) => {
|
|
1601
|
+
ke(d);
|
|
1603
1602
|
},
|
|
1604
|
-
contentUpdate: (
|
|
1605
|
-
i(
|
|
1603
|
+
contentUpdate: (d) => {
|
|
1604
|
+
i(d);
|
|
1606
1605
|
}
|
|
1607
1606
|
}
|
|
1608
|
-
})(
|
|
1607
|
+
})(s);
|
|
1609
1608
|
}
|
|
1610
|
-
const [
|
|
1611
|
-
function
|
|
1612
|
-
var
|
|
1609
|
+
const [u, T] = I(() => ({})), [v, R] = I(() => ({})), [k, P] = I(() => !1);
|
|
1610
|
+
function A(s) {
|
|
1611
|
+
var d, m;
|
|
1613
1612
|
if (e.builderContextSignal.content) {
|
|
1614
|
-
const
|
|
1615
|
-
|
|
1613
|
+
const f = (d = e.builderContextSignal.content) == null ? void 0 : d.testVariationId, r = (m = e.builderContextSignal.content) == null ? void 0 : m.id;
|
|
1614
|
+
J({
|
|
1616
1615
|
apiHost: e.apiHost,
|
|
1617
1616
|
type: "click",
|
|
1618
1617
|
canTrack: H(e.canTrack),
|
|
1619
|
-
contentId:
|
|
1618
|
+
contentId: r,
|
|
1620
1619
|
apiKey: e.apiKey,
|
|
1621
|
-
variationId:
|
|
1622
|
-
...
|
|
1620
|
+
variationId: f !== r ? f : void 0,
|
|
1621
|
+
...gt(s),
|
|
1623
1622
|
unique: !k
|
|
1624
1623
|
});
|
|
1625
1624
|
}
|
|
1626
|
-
k ||
|
|
1625
|
+
k || P(!0);
|
|
1627
1626
|
}
|
|
1628
1627
|
function W() {
|
|
1629
|
-
var
|
|
1630
|
-
const
|
|
1631
|
-
Object.entries(
|
|
1632
|
-
if (!
|
|
1628
|
+
var d, m, f;
|
|
1629
|
+
const s = (f = (m = (d = e.builderContextSignal.content) == null ? void 0 : d.data) == null ? void 0 : m.httpRequests) != null ? f : {};
|
|
1630
|
+
Object.entries(s).forEach(([r, p]) => {
|
|
1631
|
+
if (!p || v[r] || u[r] && !F())
|
|
1633
1632
|
return;
|
|
1634
|
-
|
|
1635
|
-
const
|
|
1633
|
+
v[r] = !0;
|
|
1634
|
+
const y = p.replace(
|
|
1636
1635
|
/{{([^}]+)}}/g,
|
|
1637
|
-
(x,
|
|
1638
|
-
|
|
1639
|
-
code:
|
|
1636
|
+
(x, B) => String(
|
|
1637
|
+
ne({
|
|
1638
|
+
code: B,
|
|
1640
1639
|
context: e.context || {},
|
|
1641
1640
|
localState: void 0,
|
|
1642
1641
|
rootState: e.builderContextSignal.rootState,
|
|
@@ -1644,24 +1643,24 @@ function xt(e) {
|
|
|
1644
1643
|
})
|
|
1645
1644
|
)
|
|
1646
1645
|
);
|
|
1647
|
-
|
|
1646
|
+
me(y), fetch(y).then((x) => x.json()).then((x) => {
|
|
1648
1647
|
n({
|
|
1649
|
-
[
|
|
1650
|
-
}),
|
|
1648
|
+
[r]: x
|
|
1649
|
+
}), u[r] = !0;
|
|
1651
1650
|
}).catch((x) => {
|
|
1652
|
-
console.error("error fetching dynamic data",
|
|
1651
|
+
console.error("error fetching dynamic data", p, x);
|
|
1653
1652
|
}).finally(() => {
|
|
1654
|
-
|
|
1653
|
+
v[r] = !1;
|
|
1655
1654
|
});
|
|
1656
1655
|
});
|
|
1657
1656
|
}
|
|
1658
|
-
function
|
|
1659
|
-
|
|
1657
|
+
function w() {
|
|
1658
|
+
F() && window.dispatchEvent(
|
|
1660
1659
|
new CustomEvent(
|
|
1661
1660
|
"builder:component:stateChange",
|
|
1662
1661
|
{
|
|
1663
1662
|
detail: {
|
|
1664
|
-
state:
|
|
1663
|
+
state: Ce(e.builderContextSignal.rootState),
|
|
1665
1664
|
ref: {
|
|
1666
1665
|
name: e.model
|
|
1667
1666
|
}
|
|
@@ -1670,11 +1669,11 @@ function xt(e) {
|
|
|
1670
1669
|
)
|
|
1671
1670
|
);
|
|
1672
1671
|
}
|
|
1673
|
-
const
|
|
1674
|
-
return
|
|
1675
|
-
var
|
|
1672
|
+
const E = _(!1);
|
|
1673
|
+
return E.current || (W(), w(), E.current = !0), V(() => {
|
|
1674
|
+
var s, d, m;
|
|
1676
1675
|
if (j()) {
|
|
1677
|
-
if (
|
|
1676
|
+
if (F() && !e.isNestedRender && (window.addEventListener("message", o), le(), se({
|
|
1678
1677
|
...e.locale ? {
|
|
1679
1678
|
locale: e.locale
|
|
1680
1679
|
} : {},
|
|
@@ -1686,83 +1685,93 @@ function xt(e) {
|
|
|
1686
1685
|
} : {}
|
|
1687
1686
|
}), Object.values(
|
|
1688
1687
|
e.builderContextSignal.componentInfos
|
|
1689
|
-
).forEach((
|
|
1690
|
-
var
|
|
1691
|
-
|
|
1692
|
-
|
|
1688
|
+
).forEach((r) => {
|
|
1689
|
+
var p, y;
|
|
1690
|
+
if (!e.model || !((p = r.models) != null && p.length) || r.models.includes(e.model)) {
|
|
1691
|
+
const x = de(r);
|
|
1692
|
+
(y = window.parent) == null || y.postMessage(x, "*");
|
|
1693
|
+
}
|
|
1693
1694
|
}), window.addEventListener(
|
|
1694
1695
|
"builder:component:stateChangeListenerActivated",
|
|
1695
|
-
|
|
1696
|
+
w
|
|
1696
1697
|
)), e.builderContextSignal.content && H(e.canTrack)) {
|
|
1697
|
-
const
|
|
1698
|
-
|
|
1698
|
+
const r = (s = e.builderContextSignal.content) == null ? void 0 : s.testVariationId, p = (d = e.builderContextSignal.content) == null ? void 0 : d.id, y = e.apiKey;
|
|
1699
|
+
J({
|
|
1699
1700
|
apiHost: e.apiHost,
|
|
1700
1701
|
type: "impression",
|
|
1701
1702
|
canTrack: !0,
|
|
1702
|
-
contentId:
|
|
1703
|
-
apiKey:
|
|
1704
|
-
variationId:
|
|
1703
|
+
contentId: p,
|
|
1704
|
+
apiKey: y,
|
|
1705
|
+
variationId: r !== p ? r : void 0
|
|
1705
1706
|
});
|
|
1706
1707
|
}
|
|
1707
|
-
if (
|
|
1708
|
-
const
|
|
1709
|
-
`builder.overrides.${
|
|
1710
|
-
),
|
|
1711
|
-
|
|
1712
|
-
model: e.model,
|
|
1708
|
+
if (te() && !F()) {
|
|
1709
|
+
const r = new URL(location.href).searchParams, p = r.get("builder.preview"), y = r.get(
|
|
1710
|
+
`builder.overrides.${p}`
|
|
1711
|
+
), x = r.get("apiKey") || r.get("builder.space");
|
|
1712
|
+
(p === "BUILDER_STUDIO" || p === e.model && x === e.apiKey && (!e.content || y === e.content.id)) && ce({
|
|
1713
|
+
model: e.model || "",
|
|
1713
1714
|
apiKey: e.apiKey,
|
|
1714
|
-
apiVersion: e.builderContextSignal.apiVersion
|
|
1715
|
-
|
|
1716
|
-
|
|
1715
|
+
apiVersion: e.builderContextSignal.apiVersion,
|
|
1716
|
+
...p === "BUILDER_STUDIO" && ((m = e.context) != null && m.symbolId) ? {
|
|
1717
|
+
query: {
|
|
1718
|
+
id: e.context.symbolId
|
|
1719
|
+
}
|
|
1720
|
+
} : {}
|
|
1721
|
+
}).then((B) => {
|
|
1722
|
+
B && i(B);
|
|
1717
1723
|
});
|
|
1718
1724
|
}
|
|
1719
1725
|
}
|
|
1720
|
-
}, []),
|
|
1726
|
+
}, []), V(() => {
|
|
1721
1727
|
e.content && i(e.content);
|
|
1722
|
-
}, [e.content]),
|
|
1723
|
-
|
|
1724
|
-
}, [e.builderContextSignal.rootState]),
|
|
1728
|
+
}, [e.content]), V(() => {
|
|
1729
|
+
w();
|
|
1730
|
+
}, [e.builderContextSignal.rootState]), V(() => {
|
|
1725
1731
|
e.data && n(e.data);
|
|
1726
|
-
}, [e.data]),
|
|
1732
|
+
}, [e.data]), V(() => {
|
|
1727
1733
|
e.locale && n({
|
|
1728
1734
|
locale: e.locale
|
|
1729
1735
|
});
|
|
1730
|
-
}, [e.locale]),
|
|
1736
|
+
}, [e.locale]), V(() => () => {
|
|
1731
1737
|
j() && (window.removeEventListener("message", o), window.removeEventListener(
|
|
1732
1738
|
"builder:component:stateChangeListenerActivated",
|
|
1733
|
-
|
|
1739
|
+
w
|
|
1734
1740
|
));
|
|
1735
|
-
}, []), /* @__PURE__ */
|
|
1736
|
-
|
|
1741
|
+
}, []), /* @__PURE__ */ h(Ie.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Z() ? /* @__PURE__ */ h(
|
|
1742
|
+
c,
|
|
1737
1743
|
{
|
|
1738
1744
|
ref: t,
|
|
1739
|
-
onClick: (
|
|
1745
|
+
onClick: (s) => A(s),
|
|
1740
1746
|
"builder-content-id": (g = e.builderContextSignal.content) == null ? void 0 : g.id,
|
|
1741
1747
|
"builder-model": e.model,
|
|
1742
|
-
className:
|
|
1743
|
-
((
|
|
1748
|
+
className: Tt(
|
|
1749
|
+
((b = e.content) == null ? void 0 : b.testVariationId) || ((C = e.content) == null ? void 0 : C.id)
|
|
1744
1750
|
),
|
|
1745
|
-
|
|
1751
|
+
style: {
|
|
1752
|
+
display: !e.builderContextSignal.content && Z() ? "none" : void 0
|
|
1753
|
+
},
|
|
1754
|
+
...l(),
|
|
1746
1755
|
...e.contentWrapperProps,
|
|
1747
1756
|
children: e.children
|
|
1748
1757
|
}
|
|
1749
1758
|
) : null });
|
|
1750
1759
|
}
|
|
1751
|
-
function
|
|
1752
|
-
const [t, n] =
|
|
1760
|
+
function kt(e) {
|
|
1761
|
+
const [t, n] = I(
|
|
1753
1762
|
() => `
|
|
1754
|
-
${
|
|
1763
|
+
${xt({
|
|
1755
1764
|
cssCode: e.cssCode,
|
|
1756
1765
|
contentId: e.contentId
|
|
1757
1766
|
})}
|
|
1758
|
-
${
|
|
1767
|
+
${yt({
|
|
1759
1768
|
customFonts: e.customFonts
|
|
1760
1769
|
})}
|
|
1761
|
-
${
|
|
1770
|
+
${St(e.isNestedRender)}
|
|
1762
1771
|
`.trim()
|
|
1763
1772
|
);
|
|
1764
|
-
return /* @__PURE__ */
|
|
1765
|
-
|
|
1773
|
+
return /* @__PURE__ */ h(
|
|
1774
|
+
ae,
|
|
1766
1775
|
{
|
|
1767
1776
|
id: "builderio-content",
|
|
1768
1777
|
styles: t,
|
|
@@ -1770,24 +1779,24 @@ ${bt(e.isNestedRender)}
|
|
|
1770
1779
|
}
|
|
1771
1780
|
);
|
|
1772
1781
|
}
|
|
1773
|
-
const
|
|
1782
|
+
const Ct = ({
|
|
1774
1783
|
content: e,
|
|
1775
1784
|
data: t,
|
|
1776
1785
|
locale: n
|
|
1777
1786
|
}) => {
|
|
1778
|
-
var
|
|
1779
|
-
const i = {},
|
|
1780
|
-
return (o = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || o.forEach((
|
|
1781
|
-
|
|
1787
|
+
var c, a, o;
|
|
1788
|
+
const i = {}, l = ((c = e == null ? void 0 : e.data) == null ? void 0 : c.state) || {};
|
|
1789
|
+
return (o = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || o.forEach((u) => {
|
|
1790
|
+
u.name && u.defaultValue !== void 0 && (i[u.name] = u.defaultValue);
|
|
1782
1791
|
}), {
|
|
1783
1792
|
...i,
|
|
1784
|
-
...
|
|
1793
|
+
...l,
|
|
1785
1794
|
...t,
|
|
1786
1795
|
...n ? {
|
|
1787
1796
|
locale: n
|
|
1788
1797
|
} : {}
|
|
1789
1798
|
};
|
|
1790
|
-
},
|
|
1799
|
+
}, wt = ({
|
|
1791
1800
|
content: e,
|
|
1792
1801
|
data: t
|
|
1793
1802
|
}) => e ? {
|
|
@@ -1798,100 +1807,95 @@ const St = ({
|
|
|
1798
1807
|
},
|
|
1799
1808
|
meta: e == null ? void 0 : e.meta
|
|
1800
1809
|
} : void 0;
|
|
1801
|
-
function
|
|
1802
|
-
var
|
|
1803
|
-
const [t, n] =
|
|
1810
|
+
function ee(e) {
|
|
1811
|
+
var T, v, R, k, P, A, W, w, E;
|
|
1812
|
+
const [t, n] = I(
|
|
1804
1813
|
() => {
|
|
1805
|
-
var g,
|
|
1806
|
-
return
|
|
1814
|
+
var g, b;
|
|
1815
|
+
return mt({
|
|
1807
1816
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
1808
1817
|
variationId: (g = e.content) == null ? void 0 : g.testVariationId,
|
|
1809
1818
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
|
|
1810
|
-
contentId: (
|
|
1819
|
+
contentId: (b = e.content) == null ? void 0 : b.id
|
|
1811
1820
|
});
|
|
1812
1821
|
}
|
|
1813
1822
|
);
|
|
1814
1823
|
function i(g) {
|
|
1815
|
-
o((
|
|
1816
|
-
...
|
|
1824
|
+
o((b) => ({
|
|
1825
|
+
...b,
|
|
1817
1826
|
rootState: g
|
|
1818
1827
|
}));
|
|
1819
1828
|
}
|
|
1820
|
-
const [
|
|
1821
|
-
() =>
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
..._(r)
|
|
1832
|
-
}
|
|
1833
|
-
}),
|
|
1834
|
-
{}
|
|
1835
|
-
);
|
|
1836
|
-
}
|
|
1837
|
-
), [a, o] = T(() => {
|
|
1838
|
-
var g;
|
|
1839
|
-
return {
|
|
1840
|
-
content: Tt({
|
|
1841
|
-
content: e.content,
|
|
1842
|
-
data: e.data
|
|
1829
|
+
const [l, c] = I(
|
|
1830
|
+
() => [
|
|
1831
|
+
...G(),
|
|
1832
|
+
...e.customComponents || []
|
|
1833
|
+
].reduce(
|
|
1834
|
+
(g, { component: b, ...C }) => ({
|
|
1835
|
+
...g,
|
|
1836
|
+
[C.name]: {
|
|
1837
|
+
component: b,
|
|
1838
|
+
...Y(C)
|
|
1839
|
+
}
|
|
1843
1840
|
}),
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1841
|
+
{}
|
|
1842
|
+
)
|
|
1843
|
+
), [a, o] = I(() => ({
|
|
1844
|
+
content: wt({
|
|
1845
|
+
content: e.content,
|
|
1846
|
+
data: e.data
|
|
1847
|
+
}),
|
|
1848
|
+
localState: void 0,
|
|
1849
|
+
rootState: Ct({
|
|
1850
|
+
content: e.content,
|
|
1851
|
+
data: e.data,
|
|
1852
|
+
locale: e.locale
|
|
1853
|
+
}),
|
|
1854
|
+
rootSetState: i,
|
|
1855
|
+
context: e.context || {},
|
|
1856
|
+
canTrack: e.canTrack,
|
|
1857
|
+
apiKey: e.apiKey,
|
|
1858
|
+
apiVersion: e.apiVersion,
|
|
1859
|
+
componentInfos: [
|
|
1860
|
+
...G(),
|
|
1861
|
+
...e.customComponents || []
|
|
1862
|
+
].reduce(
|
|
1863
|
+
(g, { component: b, ...C }) => ({
|
|
1864
|
+
...g,
|
|
1865
|
+
[C.name]: Y(C)
|
|
1849
1866
|
}),
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
...u,
|
|
1861
|
-
[r.name]: _(r)
|
|
1862
|
-
}),
|
|
1863
|
-
{}
|
|
1864
|
-
),
|
|
1865
|
-
inheritedStyles: {},
|
|
1866
|
-
BlocksWrapper: e.blocksWrapper || "div",
|
|
1867
|
-
BlocksWrapperProps: e.blocksWrapperProps || {},
|
|
1868
|
-
nonce: e.nonce || ""
|
|
1869
|
-
};
|
|
1870
|
-
}), p = q(!1);
|
|
1871
|
-
if (!p.current) {
|
|
1872
|
-
e.apiKey || ce.error(
|
|
1867
|
+
{}
|
|
1868
|
+
),
|
|
1869
|
+
inheritedStyles: {},
|
|
1870
|
+
BlocksWrapper: e.blocksWrapper || "div",
|
|
1871
|
+
BlocksWrapperProps: e.blocksWrapperProps || {},
|
|
1872
|
+
nonce: e.nonce || "",
|
|
1873
|
+
model: e.model || ""
|
|
1874
|
+
})), u = _(!1);
|
|
1875
|
+
if (!u.current) {
|
|
1876
|
+
e.apiKey || pe.error(
|
|
1873
1877
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
1874
1878
|
);
|
|
1875
|
-
const g = (
|
|
1876
|
-
g &&
|
|
1879
|
+
const g = (v = (T = a.content) == null ? void 0 : T.data) == null ? void 0 : v.jsCode;
|
|
1880
|
+
g && ne({
|
|
1877
1881
|
code: g,
|
|
1878
1882
|
context: e.context || {},
|
|
1879
1883
|
localState: void 0,
|
|
1880
1884
|
rootState: a.rootState,
|
|
1881
|
-
rootSetState: (
|
|
1882
|
-
Object.assign(a.rootState,
|
|
1885
|
+
rootSetState: (b) => {
|
|
1886
|
+
Object.assign(a.rootState, b);
|
|
1883
1887
|
},
|
|
1884
1888
|
isExpression: !1
|
|
1885
|
-
}),
|
|
1889
|
+
}), u.current = !0;
|
|
1886
1890
|
}
|
|
1887
|
-
return /* @__PURE__ */
|
|
1888
|
-
|
|
1891
|
+
return /* @__PURE__ */ h(
|
|
1892
|
+
we.Provider,
|
|
1889
1893
|
{
|
|
1890
1894
|
value: {
|
|
1891
|
-
registeredComponents:
|
|
1895
|
+
registeredComponents: l
|
|
1892
1896
|
},
|
|
1893
1897
|
children: /* @__PURE__ */ $(
|
|
1894
|
-
|
|
1898
|
+
It,
|
|
1895
1899
|
{
|
|
1896
1900
|
apiHost: e.apiHost,
|
|
1897
1901
|
nonce: e.nonce,
|
|
@@ -1911,7 +1915,7 @@ function Q(e) {
|
|
|
1911
1915
|
isNestedRender: e.isNestedRender,
|
|
1912
1916
|
setBuilderContextSignal: o,
|
|
1913
1917
|
children: [
|
|
1914
|
-
e.isSsrAbTest ? /* @__PURE__ */
|
|
1918
|
+
e.isSsrAbTest ? /* @__PURE__ */ h(
|
|
1915
1919
|
K,
|
|
1916
1920
|
{
|
|
1917
1921
|
id: "builderio-variant-visibility",
|
|
@@ -1919,22 +1923,22 @@ function Q(e) {
|
|
|
1919
1923
|
nonce: e.nonce || ""
|
|
1920
1924
|
}
|
|
1921
1925
|
) : null,
|
|
1922
|
-
/* @__PURE__ */
|
|
1923
|
-
|
|
1926
|
+
/* @__PURE__ */ h(
|
|
1927
|
+
kt,
|
|
1924
1928
|
{
|
|
1925
1929
|
nonce: e.nonce || "",
|
|
1926
1930
|
isNestedRender: e.isNestedRender,
|
|
1927
|
-
contentId: (
|
|
1928
|
-
cssCode: (
|
|
1929
|
-
customFonts: (W = (
|
|
1931
|
+
contentId: (R = a.content) == null ? void 0 : R.id,
|
|
1932
|
+
cssCode: (P = (k = a.content) == null ? void 0 : k.data) == null ? void 0 : P.cssCode,
|
|
1933
|
+
customFonts: (W = (A = a.content) == null ? void 0 : A.data) == null ? void 0 : W.customFonts
|
|
1930
1934
|
}
|
|
1931
1935
|
),
|
|
1932
|
-
/* @__PURE__ */
|
|
1933
|
-
|
|
1936
|
+
/* @__PURE__ */ h(
|
|
1937
|
+
Ve,
|
|
1934
1938
|
{
|
|
1935
|
-
blocks: (
|
|
1939
|
+
blocks: (E = (w = a.content) == null ? void 0 : w.data) == null ? void 0 : E.blocks,
|
|
1936
1940
|
context: a,
|
|
1937
|
-
registeredComponents:
|
|
1941
|
+
registeredComponents: l,
|
|
1938
1942
|
linkComponent: e.linkComponent
|
|
1939
1943
|
}
|
|
1940
1944
|
)
|
|
@@ -1944,57 +1948,57 @@ function Q(e) {
|
|
|
1944
1948
|
}
|
|
1945
1949
|
);
|
|
1946
1950
|
}
|
|
1947
|
-
function
|
|
1951
|
+
function Bt(e) {
|
|
1948
1952
|
var a;
|
|
1949
|
-
const [t, n] =
|
|
1950
|
-
() =>
|
|
1953
|
+
const [t, n] = I(
|
|
1954
|
+
() => st({
|
|
1951
1955
|
canTrack: H(e.canTrack),
|
|
1952
1956
|
content: e.content
|
|
1953
1957
|
})
|
|
1954
1958
|
);
|
|
1955
1959
|
function i() {
|
|
1956
1960
|
var o;
|
|
1957
|
-
return
|
|
1958
|
-
|
|
1959
|
-
id:
|
|
1960
|
-
testRatio:
|
|
1961
|
+
return ut(
|
|
1962
|
+
D(e.content).map((u) => ({
|
|
1963
|
+
id: u.testVariationId,
|
|
1964
|
+
testRatio: u.testRatio
|
|
1961
1965
|
})),
|
|
1962
1966
|
((o = e.content) == null ? void 0 : o.id) || ""
|
|
1963
1967
|
);
|
|
1964
1968
|
}
|
|
1965
|
-
function
|
|
1966
|
-
return
|
|
1969
|
+
function l() {
|
|
1970
|
+
return D(e.content).map((o) => `.variant-${o.testVariationId} { display: none; } `).join("");
|
|
1967
1971
|
}
|
|
1968
|
-
function
|
|
1972
|
+
function c() {
|
|
1969
1973
|
var o;
|
|
1970
1974
|
return t ? {
|
|
1971
1975
|
...e.content,
|
|
1972
1976
|
testVariationId: (o = e.content) == null ? void 0 : o.id
|
|
1973
|
-
} :
|
|
1977
|
+
} : fe({
|
|
1974
1978
|
item: e.content,
|
|
1975
1979
|
canTrack: H(e.canTrack)
|
|
1976
1980
|
});
|
|
1977
1981
|
}
|
|
1978
|
-
return
|
|
1979
|
-
}, []), /* @__PURE__ */ $(
|
|
1980
|
-
!e.isNestedRender &&
|
|
1982
|
+
return V(() => {
|
|
1983
|
+
}, []), /* @__PURE__ */ $(z, { children: [
|
|
1984
|
+
!e.isNestedRender && O !== "reactNative" ? /* @__PURE__ */ h(
|
|
1981
1985
|
K,
|
|
1982
1986
|
{
|
|
1983
1987
|
id: "builderio-init-variants-fns",
|
|
1984
|
-
scriptStr:
|
|
1988
|
+
scriptStr: ct(),
|
|
1985
1989
|
nonce: e.nonce || ""
|
|
1986
1990
|
}
|
|
1987
1991
|
) : null,
|
|
1988
|
-
t ? /* @__PURE__ */ $(
|
|
1989
|
-
/* @__PURE__ */
|
|
1990
|
-
|
|
1992
|
+
t ? /* @__PURE__ */ $(z, { children: [
|
|
1993
|
+
/* @__PURE__ */ h(
|
|
1994
|
+
ae,
|
|
1991
1995
|
{
|
|
1992
1996
|
id: "builderio-variants",
|
|
1993
|
-
styles:
|
|
1997
|
+
styles: l(),
|
|
1994
1998
|
nonce: e.nonce || ""
|
|
1995
1999
|
}
|
|
1996
2000
|
),
|
|
1997
|
-
/* @__PURE__ */
|
|
2001
|
+
/* @__PURE__ */ h(
|
|
1998
2002
|
K,
|
|
1999
2003
|
{
|
|
2000
2004
|
id: "builderio-variants-visibility",
|
|
@@ -2002,8 +2006,8 @@ function Pt(e) {
|
|
|
2002
2006
|
nonce: e.nonce || ""
|
|
2003
2007
|
}
|
|
2004
2008
|
),
|
|
2005
|
-
(a =
|
|
2006
|
-
|
|
2009
|
+
(a = D(e.content)) == null ? void 0 : a.map((o) => /* @__PURE__ */ h(
|
|
2010
|
+
ee,
|
|
2007
2011
|
{
|
|
2008
2012
|
apiHost: e.apiHost,
|
|
2009
2013
|
isNestedRender: e.isNestedRender,
|
|
@@ -2030,13 +2034,13 @@ function Pt(e) {
|
|
|
2030
2034
|
o.testVariationId
|
|
2031
2035
|
))
|
|
2032
2036
|
] }) : null,
|
|
2033
|
-
/* @__PURE__ */
|
|
2034
|
-
|
|
2037
|
+
/* @__PURE__ */ h(
|
|
2038
|
+
ee,
|
|
2035
2039
|
{
|
|
2036
2040
|
apiHost: e.apiHost,
|
|
2037
2041
|
nonce: e.nonce,
|
|
2038
2042
|
isNestedRender: e.isNestedRender,
|
|
2039
|
-
content:
|
|
2043
|
+
content: c(),
|
|
2040
2044
|
showContent: !0,
|
|
2041
2045
|
model: e.model,
|
|
2042
2046
|
data: e.data,
|
|
@@ -2059,5 +2063,5 @@ function Pt(e) {
|
|
|
2059
2063
|
] });
|
|
2060
2064
|
}
|
|
2061
2065
|
export {
|
|
2062
|
-
|
|
2066
|
+
Bt as default
|
|
2063
2067
|
};
|