@builder.io/sdk-react 1.1.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/blocks-exports.cjs +25 -25
- package/lib/browser/blocks-exports.mjs +483 -548
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +1 -1
- package/lib/browser/init.mjs +1 -1
- package/lib/browser/{server-entry-ed2ca723.js → server-entry-709e09e3.js} +1 -1
- package/lib/browser/{server-entry-754040fc.cjs → server-entry-e0454364.cjs} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-dfb7894d.cjs → accordion-12c2d408.cjs} +1 -1
- package/lib/edge/{accordion-3e3c0eb7.js → accordion-bd80745a.js} +1 -1
- package/lib/edge/{blocks-b47dedc1.js → blocks-6d6258ba.js} +688 -684
- package/lib/edge/{blocks-e68d1b90.cjs → blocks-ac8970f1.cjs} +13 -13
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-03e45213.js → button-4e842584.js} +2 -2
- package/lib/edge/{button-eacbdcad.cjs → button-c2e45e64.cjs} +1 -1
- package/lib/edge/{columns-858746ca.js → columns-a51238cc.js} +16 -16
- package/lib/edge/columns-bc2b0674.cjs +28 -0
- package/lib/edge/content-variants-3fe9b1c0.cjs +134 -0
- package/lib/edge/{content-variants-c4559dfb.js → content-variants-f3c6baad.js} +127 -196
- package/lib/edge/{form-6f2d1077.js → form-00c8cc55.js} +3 -3
- package/lib/edge/{form-241a699e.cjs → form-b4cdf7cd.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-87b96bca.js → get-class-prop-name-1bbed5bf.js} +1 -1
- package/lib/edge/{get-class-prop-name-d471c28c.cjs → get-class-prop-name-3c5f7a7d.cjs} +1 -1
- package/lib/edge/{img-a7bbfda3.cjs → img-6671da9a.cjs} +1 -1
- package/lib/edge/{img-be88cdbc.js → img-e7db1475.js} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +1 -1
- package/lib/edge/init.mjs +1 -1
- package/lib/edge/{input-f1fbe38b.cjs → input-0f7a9f1c.cjs} +1 -1
- package/lib/edge/{input-22d61335.js → input-2db47a83.js} +1 -1
- package/lib/edge/{select-6371cc39.js → select-2facacf2.js} +1 -1
- package/lib/edge/{select-c58f67e3.cjs → select-f0859c5f.cjs} +1 -1
- package/lib/edge/{server-entry-97c99c4d.js → server-entry-75aa714e.js} +1 -1
- package/lib/edge/{server-entry-048c3043.cjs → server-entry-ff6a2e2d.cjs} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-e6c31d6c.js → slot-8159ca1d.js} +3 -3
- package/lib/edge/{slot-7666ffaf.cjs → slot-aee43b86.cjs} +1 -1
- package/lib/edge/{symbol-8e3447aa.js → symbol-36a155f3.js} +2 -2
- package/lib/edge/{symbol-a0838c62.cjs → symbol-a244cc31.cjs} +1 -1
- package/lib/edge/{tabs-02f569d1.cjs → tabs-4112a80e.cjs} +1 -1
- package/lib/edge/{tabs-20114ebb.js → tabs-f5357a4e.js} +3 -3
- package/lib/node/blocks-exports.cjs +25 -25
- package/lib/node/blocks-exports.mjs +477 -542
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +2 -2
- package/lib/node/{node-runtime-36670c0e.js → node-runtime-80c4bfc8.js} +1 -1
- package/lib/node/{node-runtime-819e5520.cjs → node-runtime-eb72e084.cjs} +1 -1
- package/lib/node/{server-entry-cc7910d7.cjs → server-entry-b2103255.cjs} +1 -1
- package/lib/node/{server-entry-2910f126.js → server-entry-e8ac67b5.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +1 -1
- package/types/components/block/block.helpers.d.ts +8 -8
- package/types/constants/sdk-version.d.ts +1 -1
- package/lib/edge/columns-26be75b9.cjs +0 -28
- package/lib/edge/content-variants-0c5ae6d6.cjs +0 -134
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { lazy as y, useRef as le, useState as
|
|
3
|
-
import { isBrowser as H, TARGET as te, isEditing as F, registerInsertMenu as se, setupBrowserForEditing as de, createRegisterComponentMessage as ue, getDefaultCanTrack as
|
|
4
|
-
import { Video as xe, Button as ye, Columns as ve, Fragment as Se, Image as
|
|
5
|
-
import { triggerAnimation as Ve, evaluate as Q, InlinedStyles as ne, ComponentsContext as Re, Blocks as Ee } from "./blocks-
|
|
6
|
-
import "./get-class-prop-name-
|
|
1
|
+
import { jsx as f, jsxs as L, Fragment as z } from "react/jsx-runtime";
|
|
2
|
+
import { lazy as y, useRef as le, useState as C, useEffect as x } from "react";
|
|
3
|
+
import { isBrowser as H, TARGET as te, isEditing as F, registerInsertMenu as se, setupBrowserForEditing as de, createRegisterComponentMessage as ue, getDefaultCanTrack as W, _track as J, isPreviewing as ce, fetchOneEntry as me, logger as pe, createEditorListener as ge, fetch as fe, fastClone as he, serializeComponentInfo as Y, handleABTestingSync as be } from "./server-entry-75aa714e.js";
|
|
4
|
+
import { Video as xe, Button as ye, Columns as ve, Fragment as Se, Image as Te, Section as ke, Symbol as Ce, Text as Ie, BuilderContext as we } from "./blocks-exports.mjs";
|
|
5
|
+
import { triggerAnimation as Ve, evaluate as Q, InlinedStyles as ne, ComponentsContext as Re, Blocks as Ee } from "./blocks-6d6258ba.js";
|
|
6
|
+
import "./get-class-prop-name-1bbed5bf.js";
|
|
7
7
|
import "./dynamic-renderer-8b343325.js";
|
|
8
|
-
const
|
|
8
|
+
const A = {
|
|
9
9
|
"@type": "@builder.io/sdk:Element",
|
|
10
10
|
layerName: "Accordion item title",
|
|
11
11
|
responsiveStyles: {
|
|
@@ -34,7 +34,7 @@ const W = {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}]
|
|
37
|
-
},
|
|
37
|
+
}, B = {
|
|
38
38
|
"@type": "@builder.io/sdk:Element",
|
|
39
39
|
layerName: "Accordion item detail",
|
|
40
40
|
responsiveStyles: {
|
|
@@ -82,19 +82,19 @@ const W = {
|
|
|
82
82
|
name: "title",
|
|
83
83
|
type: "uiBlocks",
|
|
84
84
|
hideFromUI: !0,
|
|
85
|
-
defaultValue: [
|
|
85
|
+
defaultValue: [A]
|
|
86
86
|
}, {
|
|
87
87
|
name: "detail",
|
|
88
88
|
type: "uiBlocks",
|
|
89
89
|
hideFromUI: !0,
|
|
90
|
-
defaultValue: [
|
|
90
|
+
defaultValue: [B]
|
|
91
91
|
}],
|
|
92
92
|
defaultValue: [{
|
|
93
|
-
title: [
|
|
94
|
-
detail: [
|
|
93
|
+
title: [A],
|
|
94
|
+
detail: [B]
|
|
95
95
|
}, {
|
|
96
|
-
title: [
|
|
97
|
-
detail: [
|
|
96
|
+
title: [A],
|
|
97
|
+
detail: [B]
|
|
98
98
|
}],
|
|
99
99
|
showIf: (e) => !e.get("useChildrenForItems")
|
|
100
100
|
}, {
|
|
@@ -129,7 +129,7 @@ const W = {
|
|
|
129
129
|
builderComponents: !0,
|
|
130
130
|
builderLinkComponent: !0
|
|
131
131
|
}
|
|
132
|
-
}, Pe = y(() => import("./accordion-
|
|
132
|
+
}, Pe = y(() => import("./accordion-bd80745a.js")), We = {
|
|
133
133
|
name: "Core:Button",
|
|
134
134
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
135
135
|
defaultStyles: {
|
|
@@ -163,12 +163,9 @@ const W = {
|
|
|
163
163
|
static: !0,
|
|
164
164
|
noWrap: !0,
|
|
165
165
|
shouldReceiveBuilderProps: {
|
|
166
|
-
builderBlock: !1,
|
|
167
|
-
builderContext: !1,
|
|
168
|
-
builderComponents: !1,
|
|
169
166
|
builderLinkComponent: !0
|
|
170
167
|
}
|
|
171
|
-
},
|
|
168
|
+
}, Ae = {
|
|
172
169
|
// TODO: ways to statically preprocess JSON for references, functions, etc
|
|
173
170
|
name: "Columns",
|
|
174
171
|
isRSC: !0,
|
|
@@ -375,19 +372,13 @@ const W = {
|
|
|
375
372
|
builderComponents: !0,
|
|
376
373
|
builderLinkComponent: !0
|
|
377
374
|
}
|
|
378
|
-
},
|
|
379
|
-
shouldReceiveBuilderProps: {
|
|
380
|
-
builderBlock: !1,
|
|
381
|
-
builderContext: !1,
|
|
382
|
-
builderComponents: !1,
|
|
383
|
-
builderLinkComponent: !1
|
|
384
|
-
},
|
|
375
|
+
}, Be = {
|
|
385
376
|
name: "Fragment",
|
|
386
377
|
static: !0,
|
|
387
378
|
hidden: !0,
|
|
388
379
|
canHaveChildren: !0,
|
|
389
380
|
noWrap: !0
|
|
390
|
-
},
|
|
381
|
+
}, De = {
|
|
391
382
|
name: "Image",
|
|
392
383
|
static: !0,
|
|
393
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",
|
|
@@ -408,15 +399,15 @@ const W = {
|
|
|
408
399
|
onChange: (e) => {
|
|
409
400
|
e.delete("srcset"), e.delete("noWebp");
|
|
410
401
|
function n(a, o = 6e4) {
|
|
411
|
-
return new Promise((m,
|
|
402
|
+
return new Promise((m, h) => {
|
|
412
403
|
const I = document.createElement("img");
|
|
413
404
|
let k = !1;
|
|
414
405
|
I.onload = () => {
|
|
415
406
|
k = !0, m(I);
|
|
416
407
|
}, I.addEventListener("error", (w) => {
|
|
417
|
-
console.warn("Image load failed", w.error),
|
|
408
|
+
console.warn("Image load failed", w.error), h(w.error);
|
|
418
409
|
}), I.src = a, setTimeout(() => {
|
|
419
|
-
k ||
|
|
410
|
+
k || h(new Error("Image load timed out"));
|
|
420
411
|
}, o);
|
|
421
412
|
});
|
|
422
413
|
}
|
|
@@ -493,18 +484,9 @@ const W = {
|
|
|
493
484
|
defaultValue: 0.7041
|
|
494
485
|
}],
|
|
495
486
|
shouldReceiveBuilderProps: {
|
|
496
|
-
builderBlock: !0
|
|
497
|
-
builderContext: !1,
|
|
498
|
-
builderComponents: !1,
|
|
499
|
-
builderLinkComponent: !1
|
|
487
|
+
builderBlock: !0
|
|
500
488
|
}
|
|
501
|
-
},
|
|
502
|
-
shouldReceiveBuilderProps: {
|
|
503
|
-
builderBlock: !1,
|
|
504
|
-
builderContext: !1,
|
|
505
|
-
builderComponents: !1,
|
|
506
|
-
builderLinkComponent: !1
|
|
507
|
-
},
|
|
489
|
+
}, Ue = {
|
|
508
490
|
name: "Core:Section",
|
|
509
491
|
static: !0,
|
|
510
492
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
|
|
@@ -543,7 +525,7 @@ const W = {
|
|
|
543
525
|
}
|
|
544
526
|
}
|
|
545
527
|
}]
|
|
546
|
-
},
|
|
528
|
+
}, Le = {
|
|
547
529
|
name: "Slot",
|
|
548
530
|
isRSC: !0,
|
|
549
531
|
description: "Allow child blocks to be inserted into this content when used as a Symbol",
|
|
@@ -557,12 +539,9 @@ const W = {
|
|
|
557
539
|
defaultValue: "children"
|
|
558
540
|
}],
|
|
559
541
|
shouldReceiveBuilderProps: {
|
|
560
|
-
|
|
561
|
-
builderContext: !0,
|
|
562
|
-
builderComponents: !1,
|
|
563
|
-
builderLinkComponent: !1
|
|
542
|
+
builderContext: !0
|
|
564
543
|
}
|
|
565
|
-
}, He = y(() => import("./slot-
|
|
544
|
+
}, He = y(() => import("./slot-8159ca1d.js")), $e = {
|
|
566
545
|
name: "Symbol",
|
|
567
546
|
noWrap: !0,
|
|
568
547
|
static: !0,
|
|
@@ -601,7 +580,7 @@ const W = {
|
|
|
601
580
|
builderComponents: !0,
|
|
602
581
|
builderLinkComponent: !0
|
|
603
582
|
}
|
|
604
|
-
},
|
|
583
|
+
}, D = {
|
|
605
584
|
"@type": "@builder.io/sdk:Element",
|
|
606
585
|
responsiveStyles: {
|
|
607
586
|
large: {
|
|
@@ -623,7 +602,7 @@ const W = {
|
|
|
623
602
|
text: "New tab"
|
|
624
603
|
}
|
|
625
604
|
}
|
|
626
|
-
},
|
|
605
|
+
}, U = {
|
|
627
606
|
"@type": "@builder.io/sdk:Element",
|
|
628
607
|
responsiveStyles: {
|
|
629
608
|
large: {
|
|
@@ -649,16 +628,16 @@ const W = {
|
|
|
649
628
|
name: "label",
|
|
650
629
|
type: "uiBlocks",
|
|
651
630
|
hideFromUI: !0,
|
|
652
|
-
defaultValue: [
|
|
631
|
+
defaultValue: [D]
|
|
653
632
|
}, {
|
|
654
633
|
name: "content",
|
|
655
634
|
type: "uiBlocks",
|
|
656
635
|
hideFromUI: !0,
|
|
657
|
-
defaultValue: [
|
|
636
|
+
defaultValue: [U]
|
|
658
637
|
}],
|
|
659
638
|
defaultValue: [{
|
|
660
639
|
label: [{
|
|
661
|
-
...
|
|
640
|
+
...D,
|
|
662
641
|
component: {
|
|
663
642
|
name: "Text",
|
|
664
643
|
options: {
|
|
@@ -667,7 +646,7 @@ const W = {
|
|
|
667
646
|
}
|
|
668
647
|
}],
|
|
669
648
|
content: [{
|
|
670
|
-
...
|
|
649
|
+
...U,
|
|
671
650
|
component: {
|
|
672
651
|
name: "Text",
|
|
673
652
|
options: {
|
|
@@ -677,7 +656,7 @@ const W = {
|
|
|
677
656
|
}]
|
|
678
657
|
}, {
|
|
679
658
|
label: [{
|
|
680
|
-
...
|
|
659
|
+
...D,
|
|
681
660
|
component: {
|
|
682
661
|
name: "Text",
|
|
683
662
|
options: {
|
|
@@ -686,7 +665,7 @@ const W = {
|
|
|
686
665
|
}
|
|
687
666
|
}],
|
|
688
667
|
content: [{
|
|
689
|
-
...
|
|
668
|
+
...U,
|
|
690
669
|
component: {
|
|
691
670
|
name: "Text",
|
|
692
671
|
options: {
|
|
@@ -742,12 +721,9 @@ const W = {
|
|
|
742
721
|
builderComponents: !0,
|
|
743
722
|
builderLinkComponent: !0
|
|
744
723
|
}
|
|
745
|
-
}, qe = y(() => import("./tabs-
|
|
724
|
+
}, qe = y(() => import("./tabs-f5357a4e.js")), je = {
|
|
746
725
|
shouldReceiveBuilderProps: {
|
|
747
|
-
builderBlock: !1
|
|
748
|
-
builderContext: !1,
|
|
749
|
-
builderComponents: !1,
|
|
750
|
-
builderLinkComponent: !1
|
|
726
|
+
builderBlock: !1
|
|
751
727
|
},
|
|
752
728
|
name: "Text",
|
|
753
729
|
static: !0,
|
|
@@ -767,12 +743,6 @@ const W = {
|
|
|
767
743
|
textAlign: "center"
|
|
768
744
|
}
|
|
769
745
|
}, Ke = {
|
|
770
|
-
shouldReceiveBuilderProps: {
|
|
771
|
-
builderBlock: !1,
|
|
772
|
-
builderContext: !1,
|
|
773
|
-
builderComponents: !1,
|
|
774
|
-
builderLinkComponent: !1
|
|
775
|
-
},
|
|
776
746
|
name: "Custom Code",
|
|
777
747
|
static: !0,
|
|
778
748
|
requiredPermissions: ["editCode"],
|
|
@@ -795,12 +765,6 @@ const W = {
|
|
|
795
765
|
advanced: !0
|
|
796
766
|
}]
|
|
797
767
|
}, Me = y(() => import("./custom-code-7786788e.js")), Oe = {
|
|
798
|
-
shouldReceiveBuilderProps: {
|
|
799
|
-
builderBlock: !1,
|
|
800
|
-
builderContext: !1,
|
|
801
|
-
builderComponents: !1,
|
|
802
|
-
builderLinkComponent: !1
|
|
803
|
-
},
|
|
804
768
|
name: "Embed",
|
|
805
769
|
static: !0,
|
|
806
770
|
inputs: [{
|
|
@@ -1052,13 +1016,7 @@ const W = {
|
|
|
1052
1016
|
builderComponents: !0,
|
|
1053
1017
|
builderLinkComponent: !0
|
|
1054
1018
|
}
|
|
1055
|
-
}, Je = y(() => import("./form-
|
|
1056
|
-
shouldReceiveBuilderProps: {
|
|
1057
|
-
builderBlock: !1,
|
|
1058
|
-
builderContext: !1,
|
|
1059
|
-
builderComponents: !1,
|
|
1060
|
-
builderLinkComponent: !1
|
|
1061
|
-
},
|
|
1019
|
+
}, Je = y(() => import("./form-00c8cc55.js")), Ye = {
|
|
1062
1020
|
name: "Form:Input",
|
|
1063
1021
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
1064
1022
|
inputs: [
|
|
@@ -1109,13 +1067,7 @@ const W = {
|
|
|
1109
1067
|
borderStyle: "solid",
|
|
1110
1068
|
borderColor: "#ccc"
|
|
1111
1069
|
}
|
|
1112
|
-
}, Qe = y(() => import("./input-
|
|
1113
|
-
shouldReceiveBuilderProps: {
|
|
1114
|
-
builderBlock: !1,
|
|
1115
|
-
builderContext: !1,
|
|
1116
|
-
builderComponents: !1,
|
|
1117
|
-
builderLinkComponent: !1
|
|
1118
|
-
},
|
|
1070
|
+
}, Qe = y(() => import("./input-2db47a83.js")), Ge = {
|
|
1119
1071
|
name: "Form:Select",
|
|
1120
1072
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
1121
1073
|
defaultStyles: {
|
|
@@ -1157,13 +1109,7 @@ const W = {
|
|
|
1157
1109
|
}],
|
|
1158
1110
|
static: !0,
|
|
1159
1111
|
noWrap: !0
|
|
1160
|
-
}, Xe = y(() => import("./select-
|
|
1161
|
-
shouldReceiveBuilderProps: {
|
|
1162
|
-
builderBlock: !1,
|
|
1163
|
-
builderContext: !1,
|
|
1164
|
-
builderComponents: !1,
|
|
1165
|
-
builderLinkComponent: !1
|
|
1166
|
-
},
|
|
1112
|
+
}, Xe = y(() => import("./select-2facacf2.js")), Ze = {
|
|
1167
1113
|
name: "Form:SubmitButton",
|
|
1168
1114
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
1169
1115
|
defaultStyles: {
|
|
@@ -1189,12 +1135,6 @@ const W = {
|
|
|
1189
1135
|
// TODO: defaultChildren
|
|
1190
1136
|
// canHaveChildren: true,
|
|
1191
1137
|
}, et = y(() => import("./submit-button-b48361a7.js")), tt = {
|
|
1192
|
-
shouldReceiveBuilderProps: {
|
|
1193
|
-
builderBlock: !1,
|
|
1194
|
-
builderContext: !1,
|
|
1195
|
-
builderComponents: !1,
|
|
1196
|
-
builderLinkComponent: !1
|
|
1197
|
-
},
|
|
1198
1138
|
name: "Form:TextArea",
|
|
1199
1139
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
|
|
1200
1140
|
inputs: [{
|
|
@@ -1231,12 +1171,6 @@ const W = {
|
|
|
1231
1171
|
static: !0,
|
|
1232
1172
|
noWrap: !0
|
|
1233
1173
|
}, nt = y(() => import("./textarea-d29025e9.js")), at = {
|
|
1234
|
-
shouldReceiveBuilderProps: {
|
|
1235
|
-
builderBlock: !1,
|
|
1236
|
-
builderContext: !1,
|
|
1237
|
-
builderComponents: !1,
|
|
1238
|
-
builderLinkComponent: !1
|
|
1239
|
-
},
|
|
1240
1174
|
// friendlyName?
|
|
1241
1175
|
name: "Raw:Img",
|
|
1242
1176
|
hideFromInsertMenu: !0,
|
|
@@ -1250,7 +1184,7 @@ const W = {
|
|
|
1250
1184
|
}],
|
|
1251
1185
|
noWrap: !0,
|
|
1252
1186
|
static: !0
|
|
1253
|
-
}, it = y(() => import("./img-
|
|
1187
|
+
}, it = y(() => import("./img-e7db1475.js")), ot = {
|
|
1254
1188
|
name: "Video",
|
|
1255
1189
|
canHaveChildren: !0,
|
|
1256
1190
|
defaultStyles: {
|
|
@@ -1332,10 +1266,7 @@ const W = {
|
|
|
1332
1266
|
advanced: !0
|
|
1333
1267
|
}],
|
|
1334
1268
|
shouldReceiveBuilderProps: {
|
|
1335
|
-
builderBlock: !0
|
|
1336
|
-
builderContext: !1,
|
|
1337
|
-
builderComponents: !1,
|
|
1338
|
-
builderLinkComponent: !1
|
|
1269
|
+
builderBlock: !0
|
|
1339
1270
|
}
|
|
1340
1271
|
}, rt = () => [{
|
|
1341
1272
|
component: Me,
|
|
@@ -1366,24 +1297,24 @@ const W = {
|
|
|
1366
1297
|
...ot
|
|
1367
1298
|
}], G = () => [{
|
|
1368
1299
|
component: ye,
|
|
1369
|
-
...
|
|
1300
|
+
...We
|
|
1370
1301
|
}, {
|
|
1371
1302
|
component: ve,
|
|
1372
|
-
...
|
|
1303
|
+
...Ae
|
|
1373
1304
|
}, {
|
|
1374
1305
|
component: Se,
|
|
1375
|
-
...
|
|
1306
|
+
...Be
|
|
1376
1307
|
}, {
|
|
1377
|
-
component:
|
|
1378
|
-
...
|
|
1308
|
+
component: Te,
|
|
1309
|
+
...De
|
|
1379
1310
|
}, {
|
|
1380
1311
|
component: ke,
|
|
1381
|
-
...
|
|
1312
|
+
...Ue
|
|
1382
1313
|
}, {
|
|
1383
1314
|
component: He,
|
|
1384
|
-
...
|
|
1315
|
+
...Le
|
|
1385
1316
|
}, {
|
|
1386
|
-
component:
|
|
1317
|
+
component: Ce,
|
|
1387
1318
|
...$e
|
|
1388
1319
|
}, {
|
|
1389
1320
|
component: Ie,
|
|
@@ -1504,7 +1435,7 @@ const W = {
|
|
|
1504
1435
|
"${t}", "${e}", ${oe}
|
|
1505
1436
|
)`;
|
|
1506
1437
|
function $(e) {
|
|
1507
|
-
return /* @__PURE__ */
|
|
1438
|
+
return /* @__PURE__ */ f(
|
|
1508
1439
|
"script",
|
|
1509
1440
|
{
|
|
1510
1441
|
dangerouslySetInnerHTML: { __html: e.scriptStr },
|
|
@@ -1515,7 +1446,7 @@ function $(e) {
|
|
|
1515
1446
|
function X(e) {
|
|
1516
1447
|
return Math.round(e * 1e3) / 1e3;
|
|
1517
1448
|
}
|
|
1518
|
-
const
|
|
1449
|
+
const gt = (e, t, n = !0) => {
|
|
1519
1450
|
if (!(e instanceof HTMLElement))
|
|
1520
1451
|
return null;
|
|
1521
1452
|
let i = n ? e : e.parentElement;
|
|
@@ -1526,7 +1457,7 @@ const ft = (e, t, n = !0) => {
|
|
|
1526
1457
|
return i;
|
|
1527
1458
|
} while (i = i.parentElement);
|
|
1528
1459
|
return null;
|
|
1529
|
-
},
|
|
1460
|
+
}, ft = (e) => gt(e, (t) => {
|
|
1530
1461
|
const n = t.getAttribute("builder-id") || t.id;
|
|
1531
1462
|
return (n == null ? void 0 : n.indexOf("builder-")) === 0;
|
|
1532
1463
|
}), Z = ({
|
|
@@ -1538,8 +1469,8 @@ const ft = (e, t, n = !0) => {
|
|
|
1538
1469
|
x: c,
|
|
1539
1470
|
y: a
|
|
1540
1471
|
};
|
|
1541
|
-
},
|
|
1542
|
-
const t = e.target, n = t &&
|
|
1472
|
+
}, ht = (e) => {
|
|
1473
|
+
const t = e.target, n = t && ft(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
|
|
1543
1474
|
return {
|
|
1544
1475
|
targetBuilderElement: i || void 0,
|
|
1545
1476
|
metadata: {
|
|
@@ -1554,7 +1485,7 @@ const ft = (e, t, n = !0) => {
|
|
|
1554
1485
|
builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
|
|
1555
1486
|
}
|
|
1556
1487
|
};
|
|
1557
|
-
},
|
|
1488
|
+
}, bt = (e) => {
|
|
1558
1489
|
var c, a;
|
|
1559
1490
|
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;
|
|
1560
1491
|
let d = "";
|
|
@@ -1569,11 +1500,11 @@ font-weight: 400;
|
|
|
1569
1500
|
for (const o in e.files) {
|
|
1570
1501
|
if (!(String(Number(o)) === o))
|
|
1571
1502
|
continue;
|
|
1572
|
-
const
|
|
1573
|
-
|
|
1503
|
+
const h = e.files[o];
|
|
1504
|
+
h && h !== i && (d += `
|
|
1574
1505
|
@font-face {
|
|
1575
1506
|
font-family: "${t}";
|
|
1576
|
-
src: url('${
|
|
1507
|
+
src: url('${h}') format('woff2');
|
|
1577
1508
|
font-display: fallback;
|
|
1578
1509
|
font-weight: ${o};
|
|
1579
1510
|
}
|
|
@@ -1584,7 +1515,7 @@ font-weight: ${o};
|
|
|
1584
1515
|
customFonts: e
|
|
1585
1516
|
}) => {
|
|
1586
1517
|
var t;
|
|
1587
|
-
return ((t = e == null ? void 0 : e.map((n) =>
|
|
1518
|
+
return ((t = e == null ? void 0 : e.map((n) => bt(n))) == null ? void 0 : t.join(" ")) || "";
|
|
1588
1519
|
}, yt = ({
|
|
1589
1520
|
cssCode: e,
|
|
1590
1521
|
contentId: t
|
|
@@ -1605,7 +1536,7 @@ font-weight: ${o};
|
|
|
1605
1536
|
text-align: inherit;
|
|
1606
1537
|
font-family: inherit;
|
|
1607
1538
|
}
|
|
1608
|
-
`, St = (e) => e ? "" : vt,
|
|
1539
|
+
`, St = (e) => e ? "" : vt, Tt = (e) => `variant-${e}`;
|
|
1609
1540
|
function kt(e) {
|
|
1610
1541
|
var N, q, j, K, M, O, _;
|
|
1611
1542
|
const t = le(null);
|
|
@@ -1621,7 +1552,7 @@ function kt(e) {
|
|
|
1621
1552
|
}));
|
|
1622
1553
|
}
|
|
1623
1554
|
function i(r) {
|
|
1624
|
-
var p, s, l,
|
|
1555
|
+
var p, s, l, g, V;
|
|
1625
1556
|
const u = {
|
|
1626
1557
|
...e.builderContextSignal.content,
|
|
1627
1558
|
...r,
|
|
@@ -1632,11 +1563,11 @@ function kt(e) {
|
|
|
1632
1563
|
meta: {
|
|
1633
1564
|
...(s = e.builderContextSignal.content) == null ? void 0 : s.meta,
|
|
1634
1565
|
...r == null ? void 0 : r.meta,
|
|
1635
|
-
breakpoints: ((l = r == null ? void 0 : r.meta) == null ? void 0 : l.breakpoints) || ((V = (
|
|
1566
|
+
breakpoints: ((l = r == null ? void 0 : r.meta) == null ? void 0 : l.breakpoints) || ((V = (g = e.builderContextSignal.content) == null ? void 0 : g.meta) == null ? void 0 : V.breakpoints)
|
|
1636
1567
|
}
|
|
1637
1568
|
};
|
|
1638
|
-
e.setBuilderContextSignal((
|
|
1639
|
-
...
|
|
1569
|
+
e.setBuilderContextSignal((b) => ({
|
|
1570
|
+
...b,
|
|
1640
1571
|
content: u
|
|
1641
1572
|
}));
|
|
1642
1573
|
}
|
|
@@ -1646,11 +1577,11 @@ function kt(e) {
|
|
|
1646
1577
|
"aria-hidden": !0
|
|
1647
1578
|
};
|
|
1648
1579
|
}
|
|
1649
|
-
const [c, a] =
|
|
1580
|
+
const [c, a] = C(
|
|
1650
1581
|
() => e.contentWrapper || "div"
|
|
1651
1582
|
);
|
|
1652
1583
|
function o(r) {
|
|
1653
|
-
return
|
|
1584
|
+
return ge({
|
|
1654
1585
|
model: e.model,
|
|
1655
1586
|
trustedHosts: e.trustedHosts,
|
|
1656
1587
|
callbacks: {
|
|
@@ -1687,18 +1618,18 @@ function kt(e) {
|
|
|
1687
1618
|
enableCache: !1
|
|
1688
1619
|
});
|
|
1689
1620
|
}
|
|
1690
|
-
const [
|
|
1621
|
+
const [h, I] = C(() => ({})), [k, w] = C(() => ({})), [R, E] = C(() => !1);
|
|
1691
1622
|
function v(r) {
|
|
1692
1623
|
var u, p;
|
|
1693
1624
|
if (e.builderContextSignal.content) {
|
|
1694
1625
|
const s = (u = e.builderContextSignal.content) == null ? void 0 : u.testVariationId, l = (p = e.builderContextSignal.content) == null ? void 0 : p.id;
|
|
1695
1626
|
J({
|
|
1696
1627
|
type: "click",
|
|
1697
|
-
canTrack:
|
|
1628
|
+
canTrack: W(e.canTrack),
|
|
1698
1629
|
contentId: l,
|
|
1699
1630
|
apiKey: e.apiKey,
|
|
1700
1631
|
variationId: s !== l ? s : void 0,
|
|
1701
|
-
...
|
|
1632
|
+
...ht(r),
|
|
1702
1633
|
unique: !R
|
|
1703
1634
|
});
|
|
1704
1635
|
}
|
|
@@ -1707,13 +1638,13 @@ function kt(e) {
|
|
|
1707
1638
|
function S() {
|
|
1708
1639
|
var u, p, s;
|
|
1709
1640
|
const r = (s = (p = (u = e.builderContextSignal.content) == null ? void 0 : u.data) == null ? void 0 : p.httpRequests) != null ? s : {};
|
|
1710
|
-
Object.entries(r).forEach(([l,
|
|
1711
|
-
if (!
|
|
1641
|
+
Object.entries(r).forEach(([l, g]) => {
|
|
1642
|
+
if (!g || k[l] || h[l] && !F())
|
|
1712
1643
|
return;
|
|
1713
1644
|
k[l] = !0;
|
|
1714
|
-
const V =
|
|
1645
|
+
const V = g.replace(
|
|
1715
1646
|
/{{([^}]+)}}/g,
|
|
1716
|
-
(
|
|
1647
|
+
(b, re) => String(
|
|
1717
1648
|
Q({
|
|
1718
1649
|
code: re,
|
|
1719
1650
|
context: e.context || {},
|
|
@@ -1724,24 +1655,24 @@ function kt(e) {
|
|
|
1724
1655
|
})
|
|
1725
1656
|
)
|
|
1726
1657
|
);
|
|
1727
|
-
|
|
1658
|
+
fe(V).then((b) => b.json()).then((b) => {
|
|
1728
1659
|
n({
|
|
1729
|
-
[l]:
|
|
1730
|
-
}),
|
|
1731
|
-
}).catch((
|
|
1732
|
-
console.error("error fetching dynamic data",
|
|
1660
|
+
[l]: b
|
|
1661
|
+
}), h[l] = !0;
|
|
1662
|
+
}).catch((b) => {
|
|
1663
|
+
console.error("error fetching dynamic data", g, b);
|
|
1733
1664
|
}).finally(() => {
|
|
1734
1665
|
k[l] = !1;
|
|
1735
1666
|
});
|
|
1736
1667
|
});
|
|
1737
1668
|
}
|
|
1738
|
-
function
|
|
1669
|
+
function T() {
|
|
1739
1670
|
F() && window.dispatchEvent(
|
|
1740
1671
|
new CustomEvent(
|
|
1741
1672
|
"builder:component:stateChange",
|
|
1742
1673
|
{
|
|
1743
1674
|
detail: {
|
|
1744
|
-
state:
|
|
1675
|
+
state: he(e.builderContextSignal.rootState),
|
|
1745
1676
|
ref: {
|
|
1746
1677
|
name: e.model
|
|
1747
1678
|
}
|
|
@@ -1766,39 +1697,39 @@ function kt(e) {
|
|
|
1766
1697
|
}), Object.values(
|
|
1767
1698
|
e.builderContextSignal.componentInfos
|
|
1768
1699
|
).forEach((s) => {
|
|
1769
|
-
var
|
|
1700
|
+
var g;
|
|
1770
1701
|
const l = ue(s);
|
|
1771
|
-
(
|
|
1702
|
+
(g = window.parent) == null || g.postMessage(l, "*");
|
|
1772
1703
|
}), window.addEventListener(
|
|
1773
1704
|
"builder:component:stateChangeListenerActivated",
|
|
1774
|
-
|
|
1775
|
-
)), e.builderContextSignal.content &&
|
|
1776
|
-
const s = (r = e.builderContextSignal.content) == null ? void 0 : r.testVariationId, l = (u = e.builderContextSignal.content) == null ? void 0 : u.id,
|
|
1705
|
+
T
|
|
1706
|
+
)), e.builderContextSignal.content && W(e.canTrack)) {
|
|
1707
|
+
const s = (r = e.builderContextSignal.content) == null ? void 0 : r.testVariationId, l = (u = e.builderContextSignal.content) == null ? void 0 : u.id, g = e.apiKey;
|
|
1777
1708
|
J({
|
|
1778
1709
|
type: "impression",
|
|
1779
1710
|
canTrack: !0,
|
|
1780
1711
|
contentId: l,
|
|
1781
|
-
apiKey:
|
|
1712
|
+
apiKey: g,
|
|
1782
1713
|
variationId: s !== l ? s : void 0
|
|
1783
1714
|
});
|
|
1784
1715
|
}
|
|
1785
1716
|
if (ce() && !F()) {
|
|
1786
|
-
const s = new URL(location.href).searchParams, l = s.get("builder.preview"),
|
|
1717
|
+
const s = new URL(location.href).searchParams, l = s.get("builder.preview"), g = s.get(
|
|
1787
1718
|
`builder.overrides.${l}`
|
|
1788
1719
|
), V = s.get("apiKey") || s.get("builder.space");
|
|
1789
|
-
l === e.model && V === e.apiKey && (!e.content ||
|
|
1720
|
+
l === e.model && V === e.apiKey && (!e.content || g === e.content.id) && me({
|
|
1790
1721
|
model: e.model,
|
|
1791
1722
|
apiKey: e.apiKey,
|
|
1792
1723
|
apiVersion: e.builderContextSignal.apiVersion
|
|
1793
|
-
}).then((
|
|
1794
|
-
|
|
1724
|
+
}).then((b) => {
|
|
1725
|
+
b && i(b);
|
|
1795
1726
|
});
|
|
1796
1727
|
}
|
|
1797
1728
|
}
|
|
1798
1729
|
}, []), x(() => {
|
|
1799
1730
|
e.apiKey || pe.error(
|
|
1800
1731
|
"No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
|
|
1801
|
-
), m(), S(),
|
|
1732
|
+
), m(), S(), T();
|
|
1802
1733
|
}, []), x(() => {
|
|
1803
1734
|
e.content && i(e.content);
|
|
1804
1735
|
}, [e.content]), x(() => {
|
|
@@ -1806,7 +1737,7 @@ function kt(e) {
|
|
|
1806
1737
|
}, [(q = (N = e.builderContextSignal.content) == null ? void 0 : N.data) == null ? void 0 : q.jsCode]), x(() => {
|
|
1807
1738
|
S();
|
|
1808
1739
|
}, [(K = (j = e.builderContextSignal.content) == null ? void 0 : j.data) == null ? void 0 : K.httpRequests]), x(() => {
|
|
1809
|
-
|
|
1740
|
+
T();
|
|
1810
1741
|
}, [e.builderContextSignal.rootState]), x(() => {
|
|
1811
1742
|
e.data && n(e.data);
|
|
1812
1743
|
}, [e.data]), x(() => {
|
|
@@ -1816,9 +1747,9 @@ function kt(e) {
|
|
|
1816
1747
|
}, [e.locale]), x(() => () => {
|
|
1817
1748
|
H() && (window.removeEventListener("message", o), window.removeEventListener(
|
|
1818
1749
|
"builder:component:stateChangeListenerActivated",
|
|
1819
|
-
|
|
1750
|
+
T
|
|
1820
1751
|
));
|
|
1821
|
-
}, []), /* @__PURE__ */
|
|
1752
|
+
}, []), /* @__PURE__ */ f(we.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ f(
|
|
1822
1753
|
c,
|
|
1823
1754
|
{
|
|
1824
1755
|
ref: t,
|
|
@@ -1827,15 +1758,15 @@ function kt(e) {
|
|
|
1827
1758
|
"builder-model": e.model,
|
|
1828
1759
|
...d(),
|
|
1829
1760
|
...e.contentWrapperProps,
|
|
1830
|
-
className:
|
|
1761
|
+
className: Tt(
|
|
1831
1762
|
((O = e.content) == null ? void 0 : O.testVariationId) || ((_ = e.content) == null ? void 0 : _.id)
|
|
1832
1763
|
),
|
|
1833
1764
|
children: e.children
|
|
1834
1765
|
}
|
|
1835
1766
|
) : null });
|
|
1836
1767
|
}
|
|
1837
|
-
function
|
|
1838
|
-
const [t, n] =
|
|
1768
|
+
function Ct(e) {
|
|
1769
|
+
const [t, n] = C(
|
|
1839
1770
|
() => `
|
|
1840
1771
|
${yt({
|
|
1841
1772
|
cssCode: e.cssCode,
|
|
@@ -1847,7 +1778,7 @@ ${xt({
|
|
|
1847
1778
|
${St(e.isNestedRender)}
|
|
1848
1779
|
`.trim()
|
|
1849
1780
|
);
|
|
1850
|
-
return /* @__PURE__ */
|
|
1781
|
+
return /* @__PURE__ */ f(ne, { id: "builderio-content", styles: t });
|
|
1851
1782
|
}
|
|
1852
1783
|
const It = ({
|
|
1853
1784
|
content: e,
|
|
@@ -1878,8 +1809,8 @@ const It = ({
|
|
|
1878
1809
|
meta: e == null ? void 0 : e.meta
|
|
1879
1810
|
} : void 0;
|
|
1880
1811
|
function ee(e) {
|
|
1881
|
-
var m,
|
|
1882
|
-
const [t, n] =
|
|
1812
|
+
var m, h, I, k, w, R, E;
|
|
1813
|
+
const [t, n] = C(
|
|
1883
1814
|
() => {
|
|
1884
1815
|
var v, S;
|
|
1885
1816
|
return pt({
|
|
@@ -1896,21 +1827,21 @@ function ee(e) {
|
|
|
1896
1827
|
rootState: v
|
|
1897
1828
|
}));
|
|
1898
1829
|
}
|
|
1899
|
-
const [d, c] =
|
|
1830
|
+
const [d, c] = C(
|
|
1900
1831
|
() => [
|
|
1901
1832
|
...G(),
|
|
1902
1833
|
...e.customComponents || []
|
|
1903
1834
|
].reduce(
|
|
1904
|
-
(v, { component: S, ...
|
|
1835
|
+
(v, { component: S, ...T }) => ({
|
|
1905
1836
|
...v,
|
|
1906
|
-
[
|
|
1837
|
+
[T.name]: {
|
|
1907
1838
|
component: S,
|
|
1908
|
-
...Y(
|
|
1839
|
+
...Y(T)
|
|
1909
1840
|
}
|
|
1910
1841
|
}),
|
|
1911
1842
|
{}
|
|
1912
1843
|
)
|
|
1913
|
-
), [a, o] =
|
|
1844
|
+
), [a, o] = C(() => ({
|
|
1914
1845
|
content: wt({
|
|
1915
1846
|
content: e.content,
|
|
1916
1847
|
data: e.data
|
|
@@ -1930,9 +1861,9 @@ function ee(e) {
|
|
|
1930
1861
|
...G(),
|
|
1931
1862
|
...e.customComponents || []
|
|
1932
1863
|
].reduce(
|
|
1933
|
-
(v, { component: S, ...
|
|
1864
|
+
(v, { component: S, ...T }) => ({
|
|
1934
1865
|
...v,
|
|
1935
|
-
[
|
|
1866
|
+
[T.name]: Y(T)
|
|
1936
1867
|
}),
|
|
1937
1868
|
{}
|
|
1938
1869
|
),
|
|
@@ -1940,13 +1871,13 @@ function ee(e) {
|
|
|
1940
1871
|
BlocksWrapper: e.blocksWrapper || "div",
|
|
1941
1872
|
BlocksWrapperProps: e.blocksWrapperProps || {}
|
|
1942
1873
|
}));
|
|
1943
|
-
return /* @__PURE__ */
|
|
1874
|
+
return /* @__PURE__ */ f(
|
|
1944
1875
|
Re.Provider,
|
|
1945
1876
|
{
|
|
1946
1877
|
value: {
|
|
1947
1878
|
registeredComponents: d
|
|
1948
1879
|
},
|
|
1949
|
-
children: /* @__PURE__ */
|
|
1880
|
+
children: /* @__PURE__ */ L(
|
|
1950
1881
|
kt,
|
|
1951
1882
|
{
|
|
1952
1883
|
content: e.content,
|
|
@@ -1964,23 +1895,23 @@ function ee(e) {
|
|
|
1964
1895
|
trustedHosts: e.trustedHosts,
|
|
1965
1896
|
setBuilderContextSignal: o,
|
|
1966
1897
|
children: [
|
|
1967
|
-
e.isSsrAbTest ? /* @__PURE__ */
|
|
1898
|
+
e.isSsrAbTest ? /* @__PURE__ */ f(
|
|
1968
1899
|
$,
|
|
1969
1900
|
{
|
|
1970
1901
|
id: "builderio-variant-visibility",
|
|
1971
1902
|
scriptStr: t
|
|
1972
1903
|
}
|
|
1973
1904
|
) : null,
|
|
1974
|
-
/* @__PURE__ */
|
|
1975
|
-
|
|
1905
|
+
/* @__PURE__ */ f(
|
|
1906
|
+
Ct,
|
|
1976
1907
|
{
|
|
1977
1908
|
isNestedRender: e.isNestedRender,
|
|
1978
1909
|
contentId: (m = a.content) == null ? void 0 : m.id,
|
|
1979
|
-
cssCode: (I = (
|
|
1910
|
+
cssCode: (I = (h = a.content) == null ? void 0 : h.data) == null ? void 0 : I.cssCode,
|
|
1980
1911
|
customFonts: (w = (k = a.content) == null ? void 0 : k.data) == null ? void 0 : w.customFonts
|
|
1981
1912
|
}
|
|
1982
1913
|
),
|
|
1983
|
-
/* @__PURE__ */
|
|
1914
|
+
/* @__PURE__ */ f(
|
|
1984
1915
|
Ee,
|
|
1985
1916
|
{
|
|
1986
1917
|
blocks: (E = (R = a.content) == null ? void 0 : R.data) == null ? void 0 : E.blocks,
|
|
@@ -1995,11 +1926,11 @@ function ee(e) {
|
|
|
1995
1926
|
}
|
|
1996
1927
|
);
|
|
1997
1928
|
}
|
|
1998
|
-
function
|
|
1929
|
+
function Bt(e) {
|
|
1999
1930
|
var a;
|
|
2000
|
-
const [t, n] =
|
|
1931
|
+
const [t, n] = C(
|
|
2001
1932
|
() => dt({
|
|
2002
|
-
canTrack:
|
|
1933
|
+
canTrack: W(e.canTrack),
|
|
2003
1934
|
content: e.content
|
|
2004
1935
|
})
|
|
2005
1936
|
);
|
|
@@ -2021,37 +1952,37 @@ function At(e) {
|
|
|
2021
1952
|
return t ? {
|
|
2022
1953
|
...e.content,
|
|
2023
1954
|
testVariationId: (o = e.content) == null ? void 0 : o.id
|
|
2024
|
-
} :
|
|
1955
|
+
} : be({
|
|
2025
1956
|
item: e.content,
|
|
2026
|
-
canTrack:
|
|
1957
|
+
canTrack: W(e.canTrack)
|
|
2027
1958
|
});
|
|
2028
1959
|
}
|
|
2029
1960
|
return x(() => {
|
|
2030
1961
|
}, []), x(() => {
|
|
2031
|
-
}), /* @__PURE__ */
|
|
2032
|
-
!e.isNestedRender && te !== "reactNative" ? /* @__PURE__ */
|
|
1962
|
+
}), /* @__PURE__ */ L(z, { children: [
|
|
1963
|
+
!e.isNestedRender && te !== "reactNative" ? /* @__PURE__ */ f(
|
|
2033
1964
|
$,
|
|
2034
1965
|
{
|
|
2035
1966
|
id: "builderio-init-variants-fns",
|
|
2036
1967
|
scriptStr: ct()
|
|
2037
1968
|
}
|
|
2038
1969
|
) : null,
|
|
2039
|
-
t ? /* @__PURE__ */
|
|
2040
|
-
/* @__PURE__ */
|
|
1970
|
+
t ? /* @__PURE__ */ L(z, { children: [
|
|
1971
|
+
/* @__PURE__ */ f(
|
|
2041
1972
|
ne,
|
|
2042
1973
|
{
|
|
2043
1974
|
id: "builderio-variants",
|
|
2044
1975
|
styles: d()
|
|
2045
1976
|
}
|
|
2046
1977
|
),
|
|
2047
|
-
/* @__PURE__ */
|
|
1978
|
+
/* @__PURE__ */ f(
|
|
2048
1979
|
$,
|
|
2049
1980
|
{
|
|
2050
1981
|
id: "builderio-variants-visibility",
|
|
2051
1982
|
scriptStr: i()
|
|
2052
1983
|
}
|
|
2053
1984
|
),
|
|
2054
|
-
(a = P(e.content)) == null ? void 0 : a.map((o) => /* @__PURE__ */
|
|
1985
|
+
(a = P(e.content)) == null ? void 0 : a.map((o) => /* @__PURE__ */ f(
|
|
2055
1986
|
ee,
|
|
2056
1987
|
{
|
|
2057
1988
|
isNestedRender: e.isNestedRender,
|
|
@@ -2077,7 +2008,7 @@ function At(e) {
|
|
|
2077
2008
|
o.testVariationId
|
|
2078
2009
|
))
|
|
2079
2010
|
] }) : null,
|
|
2080
|
-
/* @__PURE__ */
|
|
2011
|
+
/* @__PURE__ */ f(
|
|
2081
2012
|
ee,
|
|
2082
2013
|
{
|
|
2083
2014
|
isNestedRender: e.isNestedRender,
|
|
@@ -2104,5 +2035,5 @@ function At(e) {
|
|
|
2104
2035
|
] });
|
|
2105
2036
|
}
|
|
2106
2037
|
export {
|
|
2107
|
-
|
|
2038
|
+
Bt as default
|
|
2108
2039
|
};
|