@builder.io/sdk-vue 0.4.2 → 0.4.3

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.
Files changed (50) hide show
  1. package/package.json +1 -1
  2. package/packages/_vue2/dist/{block-styles.cacb4849.cjs → block-styles.aaf62526.cjs} +1 -1
  3. package/packages/_vue2/dist/{block-styles.6a1d7394.js → block-styles.c38fdaef.js} +4 -4
  4. package/packages/_vue2/dist/{css.49cc4003.js → css.377600fa.js} +2 -2
  5. package/packages/{_vue3/dist/css.627e21ae.cjs → _vue2/dist/css.4a664d41.cjs} +1 -1
  6. package/packages/_vue2/dist/{evaluate.6ab6e7cb.js → evaluate.d2d16952.js} +1 -1
  7. package/packages/_vue2/dist/{evaluate.7d21bb04.cjs → evaluate.d837a845.cjs} +2 -2
  8. package/packages/_vue2/dist/{index.2473a355.js → index.1074d675.js} +102 -102
  9. package/packages/_vue2/dist/{index.95d9006f.cjs → index.3d5a7a37.cjs} +6 -6
  10. package/packages/_vue2/dist/{render-block.22052bd8.js → render-block.1ec27d4d.js} +6 -6
  11. package/packages/_vue2/dist/{render-block.9342f7b5.cjs → render-block.43f24cc4.cjs} +2 -2
  12. package/packages/_vue2/dist/{render-component.ec485884.js → render-component.82a8e6f7.js} +3 -3
  13. package/packages/_vue2/dist/{render-component.f3cccaa9.cjs → render-component.ba549c84.cjs} +1 -1
  14. package/packages/_vue2/dist/{render-content.d53085e5.cjs → render-content.2c57f5bb.cjs} +1 -1
  15. package/packages/_vue2/dist/{render-content.a6b17a6c.js → render-content.3afd4a46.js} +5 -5
  16. package/packages/_vue2/dist/{render-inlined-styles.b322c74a.cjs → render-inlined-styles.1ed1b531.cjs} +1 -1
  17. package/packages/_vue2/dist/{render-inlined-styles.2286ef7c.js → render-inlined-styles.f76aba42.js} +1 -1
  18. package/packages/_vue2/dist/{render-repeated-block.253c96e6.cjs → render-repeated-block.625e26fc.cjs} +1 -1
  19. package/packages/_vue2/dist/{render-repeated-block.ac4f1559.js → render-repeated-block.d3c2411b.js} +2 -2
  20. package/packages/_vue2/dist/{render-styles.a148b748.js → render-styles.7b01db22.js} +2 -2
  21. package/packages/_vue2/dist/{render-styles.0cb949b0.cjs → render-styles.f1413001.cjs} +3 -3
  22. package/packages/_vue2/dist/sdk.cjs +1 -1
  23. package/packages/_vue2/dist/sdk.js +1 -1
  24. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +0 -9
  25. package/packages/_vue2/dist/src/constants/sdk-version.d.ts +1 -1
  26. package/packages/_vue3/dist/sdk.cjs +72 -1
  27. package/packages/_vue3/dist/sdk.js +3251 -22
  28. package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +0 -9
  29. package/packages/_vue3/dist/src/constants/sdk-version.d.ts +1 -1
  30. package/packages/_vue3/dist/style.css +1 -1
  31. package/packages/_vue2/dist/css.c26b7ab4.cjs +0 -6
  32. package/packages/_vue3/dist/block-styles.5b949efb.cjs +0 -1
  33. package/packages/_vue3/dist/block-styles.e91165b8.js +0 -72
  34. package/packages/_vue3/dist/css.41ed2294.js +0 -75
  35. package/packages/_vue3/dist/evaluate.0662f166.js +0 -63
  36. package/packages/_vue3/dist/evaluate.da45a33b.cjs +0 -4
  37. package/packages/_vue3/dist/index.3a561c6a.js +0 -1394
  38. package/packages/_vue3/dist/index.3e17c057.cjs +0 -32
  39. package/packages/_vue3/dist/render-block.20c07cb1.cjs +0 -3
  40. package/packages/_vue3/dist/render-block.e9a2cb71.js +0 -273
  41. package/packages/_vue3/dist/render-component.20ef18f7.cjs +0 -1
  42. package/packages/_vue3/dist/render-component.afa60a7b.js +0 -42
  43. package/packages/_vue3/dist/render-content.20bd0f8d.js +0 -1354
  44. package/packages/_vue3/dist/render-content.e790eee5.cjs +0 -1
  45. package/packages/_vue3/dist/render-inlined-styles.0444f4fe.js +0 -16
  46. package/packages/_vue3/dist/render-inlined-styles.14d9ba36.cjs +0 -1
  47. package/packages/_vue3/dist/render-repeated-block.5a245883.js +0 -32
  48. package/packages/_vue3/dist/render-repeated-block.75230844.cjs +0 -1
  49. package/packages/_vue3/dist/render-styles.73c7ba5a.js +0 -80
  50. package/packages/_vue3/dist/render-styles.bd7475f8.cjs +0 -31
@@ -1,1354 +0,0 @@
1
- import { defineComponent as g, openBlock as m, createElementBlock as b, mergeProps as $, toHandlers as j, normalizeClass as L, markRaw as M, defineAsyncComponent as w, resolveComponent as I, createBlock as v, resolveDynamicComponent as W, createCommentVNode as x } from "vue";
2
- import { s as C, _ as y, i as f, B as _, C as B, F as q, I as N, S as O, d as D, e as K, V as z, r as J, b as S, T as H, c as Y, h as G, j as X, k as R, l as Q, m as Z, n as E, o as ee, p as te, q as ne } from "./index.3a561c6a.js";
3
- import { e as F } from "./evaluate.0662f166.js";
4
- const ae = {
5
- name: "Core:Button",
6
- image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
7
- defaultStyles: {
8
- appearance: "none",
9
- paddingTop: "15px",
10
- paddingBottom: "15px",
11
- paddingLeft: "25px",
12
- paddingRight: "25px",
13
- backgroundColor: "#000000",
14
- color: "white",
15
- borderRadius: "4px",
16
- textAlign: "center",
17
- cursor: "pointer"
18
- },
19
- inputs: [
20
- {
21
- name: "text",
22
- type: "text",
23
- defaultValue: "Click me!",
24
- bubble: !0
25
- },
26
- {
27
- name: "link",
28
- type: "url",
29
- bubble: !0
30
- },
31
- {
32
- name: "openLinkInNewTab",
33
- type: "boolean",
34
- defaultValue: !1,
35
- friendlyName: "Open link in new tab"
36
- }
37
- ],
38
- static: !0,
39
- noWrap: !0
40
- }, ie = {
41
- name: "Columns",
42
- inputs: [
43
- {
44
- name: "columns",
45
- type: "array",
46
- broadcast: !0,
47
- subFields: [
48
- {
49
- name: "blocks",
50
- type: "array",
51
- hideFromUI: !0,
52
- defaultValue: [
53
- {
54
- "@type": "@builder.io/sdk:Element",
55
- responsiveStyles: {
56
- large: {
57
- display: "flex",
58
- flexDirection: "column",
59
- alignItems: "stretch",
60
- flexShrink: "0",
61
- position: "relative",
62
- marginTop: "30px",
63
- textAlign: "center",
64
- lineHeight: "normal",
65
- height: "auto",
66
- minHeight: "20px",
67
- minWidth: "20px",
68
- overflow: "hidden"
69
- }
70
- },
71
- component: {
72
- name: "Image",
73
- options: {
74
- image: "https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",
75
- backgroundPosition: "center",
76
- backgroundSize: "cover",
77
- aspectRatio: 0.7004048582995948
78
- }
79
- }
80
- },
81
- {
82
- "@type": "@builder.io/sdk:Element",
83
- responsiveStyles: {
84
- large: {
85
- display: "flex",
86
- flexDirection: "column",
87
- alignItems: "stretch",
88
- flexShrink: "0",
89
- position: "relative",
90
- marginTop: "30px",
91
- textAlign: "center",
92
- lineHeight: "normal",
93
- height: "auto"
94
- }
95
- },
96
- component: {
97
- name: "Text",
98
- options: {
99
- text: "<p>Enter some text...</p>"
100
- }
101
- }
102
- }
103
- ]
104
- },
105
- {
106
- name: "width",
107
- type: "number",
108
- hideFromUI: !0,
109
- helperText: "Width %, e.g. set to 50 to fill half of the space"
110
- },
111
- {
112
- name: "link",
113
- type: "url",
114
- helperText: "Optionally set a url that clicking this column will link to"
115
- }
116
- ],
117
- defaultValue: [
118
- {
119
- blocks: [
120
- {
121
- "@type": "@builder.io/sdk:Element",
122
- responsiveStyles: {
123
- large: {
124
- display: "flex",
125
- flexDirection: "column",
126
- alignItems: "stretch",
127
- flexShrink: "0",
128
- position: "relative",
129
- marginTop: "30px",
130
- textAlign: "center",
131
- lineHeight: "normal",
132
- height: "auto",
133
- minHeight: "20px",
134
- minWidth: "20px",
135
- overflow: "hidden"
136
- }
137
- },
138
- component: {
139
- name: "Image",
140
- options: {
141
- image: "https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",
142
- backgroundPosition: "center",
143
- backgroundSize: "cover",
144
- aspectRatio: 0.7004048582995948
145
- }
146
- }
147
- },
148
- {
149
- "@type": "@builder.io/sdk:Element",
150
- responsiveStyles: {
151
- large: {
152
- display: "flex",
153
- flexDirection: "column",
154
- alignItems: "stretch",
155
- flexShrink: "0",
156
- position: "relative",
157
- marginTop: "30px",
158
- textAlign: "center",
159
- lineHeight: "normal",
160
- height: "auto"
161
- }
162
- },
163
- component: {
164
- name: "Text",
165
- options: {
166
- text: "<p>Enter some text...</p>"
167
- }
168
- }
169
- }
170
- ]
171
- },
172
- {
173
- blocks: [
174
- {
175
- "@type": "@builder.io/sdk:Element",
176
- responsiveStyles: {
177
- large: {
178
- display: "flex",
179
- flexDirection: "column",
180
- alignItems: "stretch",
181
- flexShrink: "0",
182
- position: "relative",
183
- marginTop: "30px",
184
- textAlign: "center",
185
- lineHeight: "normal",
186
- height: "auto",
187
- minHeight: "20px",
188
- minWidth: "20px",
189
- overflow: "hidden"
190
- }
191
- },
192
- component: {
193
- name: "Image",
194
- options: {
195
- image: "https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",
196
- backgroundPosition: "center",
197
- backgroundSize: "cover",
198
- aspectRatio: 0.7004048582995948
199
- }
200
- }
201
- },
202
- {
203
- "@type": "@builder.io/sdk:Element",
204
- responsiveStyles: {
205
- large: {
206
- display: "flex",
207
- flexDirection: "column",
208
- alignItems: "stretch",
209
- flexShrink: "0",
210
- position: "relative",
211
- marginTop: "30px",
212
- textAlign: "center",
213
- lineHeight: "normal",
214
- height: "auto"
215
- }
216
- },
217
- component: {
218
- name: "Text",
219
- options: {
220
- text: "<p>Enter some text...</p>"
221
- }
222
- }
223
- }
224
- ]
225
- }
226
- ],
227
- onChange: C((e) => {
228
- function n() {
229
- t.forEach((a) => {
230
- a.delete("width");
231
- });
232
- }
233
- const t = e.get("columns");
234
- Array.isArray(t) && !!t.find(
235
- (i) => i.get("width")
236
- ) && (!!t.find(
237
- (o) => !o.get("width")
238
- ) || t.reduce((l, s) => l + s.get("width"), 0) !== 100) && n();
239
- })
240
- },
241
- {
242
- name: "space",
243
- type: "number",
244
- defaultValue: 20,
245
- helperText: "Size of gap between columns",
246
- advanced: !0
247
- },
248
- {
249
- name: "stackColumnsAt",
250
- type: "string",
251
- defaultValue: "tablet",
252
- helperText: "Convert horizontal columns to vertical at what device size",
253
- enum: ["tablet", "mobile", "never"],
254
- advanced: !0
255
- },
256
- {
257
- name: "reverseColumnsWhenStacked",
258
- type: "boolean",
259
- defaultValue: !1,
260
- helperText: "When stacking columns for mobile devices, reverse the ordering",
261
- advanced: !0
262
- }
263
- ]
264
- }, oe = {
265
- name: "Fragment",
266
- static: !0,
267
- hidden: !0,
268
- canHaveChildren: !0,
269
- noWrap: !0
270
- }, re = {
271
- name: "Image",
272
- static: !0,
273
- 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",
274
- defaultStyles: {
275
- position: "relative",
276
- minHeight: "20px",
277
- minWidth: "20px",
278
- overflow: "hidden"
279
- },
280
- canHaveChildren: !0,
281
- inputs: [
282
- {
283
- name: "image",
284
- type: "file",
285
- bubble: !0,
286
- allowedFileTypes: ["jpeg", "jpg", "png", "svg"],
287
- required: !0,
288
- defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
289
- onChange: C(
290
- (e) => {
291
- e.delete("srcset"), e.delete("noWebp");
292
- function t(r, l = 6e4) {
293
- return new Promise((s, c) => {
294
- const d = document.createElement("img");
295
- let u = !1;
296
- d.onload = () => {
297
- u = !0, s(d);
298
- }, d.addEventListener("error", (p) => {
299
- console.warn("Image load failed", p.error), c(p.error);
300
- }), d.src = r, setTimeout(() => {
301
- u || c(new Error("Image load timed out"));
302
- }, l);
303
- });
304
- }
305
- function a(r) {
306
- return Math.round(r * 1e3) / 1e3;
307
- }
308
- const i = e.get("image"), o = e.get("aspectRatio");
309
- if (fetch(i).then((r) => r.blob()).then((r) => {
310
- r.type.includes("svg") && e.set("noWebp", !0);
311
- }), i && (!o || o === 0.7041))
312
- return t(i).then((r) => {
313
- const l = e.get("aspectRatio");
314
- e.get("image") === i && (!l || l === 0.7041) && r.width && r.height && (e.set("aspectRatio", a(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
315
- });
316
- }
317
- )
318
- },
319
- {
320
- name: "backgroundSize",
321
- type: "text",
322
- defaultValue: "cover",
323
- enum: [
324
- {
325
- label: "contain",
326
- value: "contain",
327
- helperText: "The image should never get cropped"
328
- },
329
- {
330
- label: "cover",
331
- value: "cover",
332
- helperText: "The image should fill it's box, cropping when needed"
333
- }
334
- ]
335
- },
336
- {
337
- name: "backgroundPosition",
338
- type: "text",
339
- defaultValue: "center",
340
- enum: [
341
- "center",
342
- "top",
343
- "left",
344
- "right",
345
- "bottom",
346
- "top left",
347
- "top right",
348
- "bottom left",
349
- "bottom right"
350
- ]
351
- },
352
- {
353
- name: "altText",
354
- type: "string",
355
- helperText: "Text to display when the user has images off"
356
- },
357
- {
358
- name: "height",
359
- type: "number",
360
- hideFromUI: !0
361
- },
362
- {
363
- name: "width",
364
- type: "number",
365
- hideFromUI: !0
366
- },
367
- {
368
- name: "sizes",
369
- type: "string",
370
- hideFromUI: !0
371
- },
372
- {
373
- name: "srcset",
374
- type: "string",
375
- hideFromUI: !0
376
- },
377
- {
378
- name: "lazy",
379
- type: "boolean",
380
- defaultValue: !0,
381
- hideFromUI: !0
382
- },
383
- {
384
- name: "fitContent",
385
- type: "boolean",
386
- helperText: "When child blocks are provided, fit to them instead of using the image's aspect ratio",
387
- defaultValue: !0
388
- },
389
- {
390
- name: "aspectRatio",
391
- type: "number",
392
- helperText: "This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",
393
- advanced: !0,
394
- defaultValue: 0.7041
395
- }
396
- ]
397
- }, se = {
398
- name: "Core:Section",
399
- static: !0,
400
- image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
401
- inputs: [
402
- {
403
- name: "maxWidth",
404
- type: "number",
405
- defaultValue: 1200
406
- },
407
- {
408
- name: "lazyLoad",
409
- type: "boolean",
410
- defaultValue: !1,
411
- advanced: !0,
412
- description: "Only render this section when in view"
413
- }
414
- ],
415
- defaultStyles: {
416
- paddingLeft: "20px",
417
- paddingRight: "20px",
418
- paddingTop: "50px",
419
- paddingBottom: "50px",
420
- marginTop: "0px",
421
- width: "100vw",
422
- marginLeft: "calc(50% - 50vw)"
423
- },
424
- canHaveChildren: !0,
425
- defaultChildren: [
426
- {
427
- "@type": "@builder.io/sdk:Element",
428
- responsiveStyles: {
429
- large: {
430
- textAlign: "center"
431
- }
432
- },
433
- component: {
434
- name: "Text",
435
- options: {
436
- text: "<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"
437
- }
438
- }
439
- }
440
- ]
441
- }, le = {
442
- name: "Symbol",
443
- noWrap: !0,
444
- static: !0,
445
- inputs: [
446
- {
447
- name: "symbol",
448
- type: "uiSymbol"
449
- },
450
- {
451
- name: "dataOnly",
452
- helperText: "Make this a data symbol that doesn't display any UI",
453
- type: "boolean",
454
- defaultValue: !1,
455
- advanced: !0,
456
- hideFromUI: !0
457
- },
458
- {
459
- name: "inheritState",
460
- helperText: "Inherit the parent component state and data",
461
- type: "boolean",
462
- defaultValue: !1,
463
- advanced: !0
464
- },
465
- {
466
- name: "renderToLiquid",
467
- helperText: "Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",
468
- type: "boolean",
469
- defaultValue: !1,
470
- advanced: !0,
471
- hideFromUI: !0
472
- },
473
- {
474
- name: "useChildren",
475
- hideFromUI: !0,
476
- type: "boolean"
477
- }
478
- ]
479
- }, de = {
480
- name: "Text",
481
- static: !0,
482
- image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",
483
- inputs: [
484
- {
485
- name: "text",
486
- type: "html",
487
- required: !0,
488
- autoFocus: !0,
489
- bubble: !0,
490
- defaultValue: "Enter some text..."
491
- }
492
- ],
493
- defaultStyles: {
494
- lineHeight: "normal",
495
- height: "auto",
496
- textAlign: "center"
497
- }
498
- }, ce = {
499
- name: "Video",
500
- canHaveChildren: !0,
501
- defaultStyles: {
502
- minHeight: "20px",
503
- minWidth: "20px"
504
- },
505
- image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",
506
- inputs: [
507
- {
508
- name: "video",
509
- type: "file",
510
- allowedFileTypes: ["mp4"],
511
- bubble: !0,
512
- defaultValue: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",
513
- required: !0
514
- },
515
- {
516
- name: "posterImage",
517
- type: "file",
518
- allowedFileTypes: ["jpeg", "png"],
519
- helperText: "Image to show before the video plays"
520
- },
521
- {
522
- name: "autoPlay",
523
- type: "boolean",
524
- defaultValue: !0
525
- },
526
- {
527
- name: "controls",
528
- type: "boolean",
529
- defaultValue: !1
530
- },
531
- {
532
- name: "muted",
533
- type: "boolean",
534
- defaultValue: !0
535
- },
536
- {
537
- name: "loop",
538
- type: "boolean",
539
- defaultValue: !0
540
- },
541
- {
542
- name: "playsInline",
543
- type: "boolean",
544
- defaultValue: !0
545
- },
546
- {
547
- name: "fit",
548
- type: "text",
549
- defaultValue: "cover",
550
- enum: ["contain", "cover", "fill", "auto"]
551
- },
552
- {
553
- name: "fitContent",
554
- type: "boolean",
555
- helperText: "When child blocks are provided, fit to them instead of using the aspect ratio",
556
- defaultValue: !0,
557
- advanced: !0
558
- },
559
- {
560
- name: "position",
561
- type: "text",
562
- defaultValue: "center",
563
- enum: [
564
- "center",
565
- "top",
566
- "left",
567
- "right",
568
- "bottom",
569
- "top left",
570
- "top right",
571
- "bottom left",
572
- "bottom right"
573
- ]
574
- },
575
- {
576
- name: "height",
577
- type: "number",
578
- advanced: !0
579
- },
580
- {
581
- name: "width",
582
- type: "number",
583
- advanced: !0
584
- },
585
- {
586
- name: "aspectRatio",
587
- type: "number",
588
- advanced: !0,
589
- defaultValue: 0.7004048582995948
590
- },
591
- {
592
- name: "lazyLoad",
593
- type: "boolean",
594
- helperText: 'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',
595
- defaultValue: !0,
596
- advanced: !0
597
- }
598
- ]
599
- }, ue = {
600
- name: "Embed",
601
- static: !0,
602
- inputs: [
603
- {
604
- name: "url",
605
- type: "url",
606
- required: !0,
607
- defaultValue: "",
608
- helperText: "e.g. enter a youtube url, google map, etc",
609
- onChange: C(
610
- (e) => {
611
- const n = e.get("url");
612
- if (n)
613
- return e.set("content", "Loading..."), fetch(
614
- `https://iframe.ly/api/iframely?url=${n}&api_key=ae0e60e78201a3f2b0de4b`
615
- ).then((a) => a.json()).then((a) => {
616
- e.get("url") === n && (a.html ? e.set("content", a.html) : e.set("content", "Invalid url, please try another"));
617
- }).catch((a) => {
618
- e.set(
619
- "content",
620
- "There was an error embedding this URL, please try again or another URL"
621
- );
622
- });
623
- e.delete("content");
624
- }
625
- )
626
- },
627
- {
628
- name: "content",
629
- type: "html",
630
- defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
631
- hideFromUI: !0
632
- }
633
- ]
634
- }, pe = [
635
- "text/javascript",
636
- "application/javascript",
637
- "application/ecmascript"
638
- ], me = (e) => pe.includes(e.type), he = g({
639
- name: "builder-embed",
640
- props: ["content"],
641
- data() {
642
- return { scriptsInserted: [], scriptsRun: [], ranInitFn: !1 };
643
- },
644
- watch: {
645
- onUpdateHook0: {
646
- handler() {
647
- this.$refs.elem && !this.ranInitFn && (this.ranInitFn = !0, this.findAndRunScripts());
648
- },
649
- immediate: !0
650
- }
651
- },
652
- computed: {
653
- onUpdateHook0() {
654
- return {
655
- 0: this.$refs.elem,
656
- 1: this.ranInitFn
657
- };
658
- }
659
- },
660
- methods: {
661
- findAndRunScripts() {
662
- if (!this.$refs.elem || !this.$refs.elem.getElementsByTagName)
663
- return;
664
- const e = this.$refs.elem.getElementsByTagName("script");
665
- for (let n = 0; n < e.length; n++) {
666
- const t = e[n];
667
- if (t.src && !this.scriptsInserted.includes(t.src)) {
668
- this.scriptsInserted.push(t.src);
669
- const a = document.createElement("script");
670
- a.async = !0, a.src = t.src, document.head.appendChild(a);
671
- } else if (me(t) && !this.scriptsRun.includes(t.innerText))
672
- try {
673
- this.scriptsRun.push(t.innerText), new Function(t.innerText)();
674
- } catch (a) {
675
- console.warn("`Embed`: Error running script:", a);
676
- }
677
- }
678
- }
679
- }
680
- }), fe = ["innerHTML"];
681
- function ge(e, n, t, a, i, o) {
682
- return m(), b("div", {
683
- class: "builder-embed",
684
- ref: "elem",
685
- innerHTML: e.content
686
- }, null, 8, fe);
687
- }
688
- const be = /* @__PURE__ */ y(he, [["render", ge]]), ye = g({
689
- name: "builder-img-component",
690
- props: [
691
- "backgroundSize",
692
- "backgroundPosition",
693
- "imgSrc",
694
- "altText",
695
- "image",
696
- "attributes"
697
- ],
698
- data() {
699
- return { isEditing: f };
700
- },
701
- methods: {
702
- filterAttrs: function(n = {}, t) {
703
- const a = "v-on:";
704
- return Object.keys(n).filter((i) => {
705
- if (!n[i])
706
- return !1;
707
- const o = i.startsWith(a);
708
- return t ? o : !o;
709
- }).reduce(
710
- (i, o) => ({
711
- ...i,
712
- [o.replace(a, "")]: n[o]
713
- }),
714
- {}
715
- );
716
- }
717
- }
718
- }), ve = ["alt", "src"];
719
- function xe(e, n, t, a, i, o) {
720
- return m(), b("img", $({
721
- style: {
722
- objectFit: e.backgroundSize || "cover",
723
- objectPosition: e.backgroundPosition || "center"
724
- },
725
- key: e.isEditing() && e.imgSrc || "default-key",
726
- alt: e.altText,
727
- src: e.imgSrc || e.image
728
- }, e.filterAttrs(e.attributes, !1), j(e.filterAttrs(e.attributes, !0), !0)), null, 16, ve);
729
- }
730
- const Se = /* @__PURE__ */ y(ye, [["render", xe]]), Ce = {
731
- name: "Raw:Img",
732
- hideFromInsertMenu: !0,
733
- 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",
734
- inputs: [
735
- {
736
- name: "image",
737
- bubble: !0,
738
- type: "file",
739
- allowedFileTypes: ["jpeg", "jpg", "png", "svg", "gif", "webp"],
740
- required: !0
741
- }
742
- ],
743
- noWrap: !0,
744
- static: !0
745
- }, ke = g({
746
- name: "builder-custom-code",
747
- props: ["replaceNodes", "code"],
748
- data() {
749
- return { scriptsInserted: [], scriptsRun: [] };
750
- },
751
- mounted() {
752
- this.findAndRunScripts();
753
- },
754
- methods: {
755
- findAndRunScripts() {
756
- if (this.$refs.elem && this.$refs.elem.getElementsByTagName && typeof window < "u") {
757
- const e = this.$refs.elem.getElementsByTagName("script");
758
- for (let n = 0; n < e.length; n++) {
759
- const t = e[n];
760
- if (t.src) {
761
- if (this.scriptsInserted.includes(t.src))
762
- continue;
763
- this.scriptsInserted.push(t.src);
764
- const a = document.createElement("script");
765
- a.async = !0, a.src = t.src, document.head.appendChild(a);
766
- } else if (!t.type || [
767
- "text/javascript",
768
- "application/javascript",
769
- "application/ecmascript"
770
- ].includes(t.type)) {
771
- if (this.scriptsRun.includes(t.innerText))
772
- continue;
773
- try {
774
- this.scriptsRun.push(t.innerText), new Function(t.innerText)();
775
- } catch (a) {
776
- console.warn("`CustomCode`: Error running script:", a);
777
- }
778
- }
779
- }
780
- }
781
- },
782
- _classStringToObject(e) {
783
- const n = {};
784
- if (typeof e != "string")
785
- return n;
786
- const t = e.trim().split(/\s+/);
787
- for (const a of t)
788
- n[a] = !0;
789
- return n;
790
- }
791
- }
792
- }), Te = ["innerHTML"];
793
- function we(e, n, t, a, i, o) {
794
- return m(), b("div", {
795
- ref: "elem",
796
- class: L(
797
- e._classStringToObject(
798
- "builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")
799
- )
800
- ),
801
- innerHTML: e.code
802
- }, null, 10, Te);
803
- }
804
- const Ie = /* @__PURE__ */ y(ke, [["render", we]]), Re = {
805
- name: "Custom Code",
806
- static: !0,
807
- requiredPermissions: ["editCode"],
808
- inputs: [
809
- {
810
- name: "code",
811
- type: "html",
812
- required: !0,
813
- defaultValue: "<p>Hello there, I am custom HTML code!</p>",
814
- code: !0
815
- },
816
- {
817
- name: "replaceNodes",
818
- type: "boolean",
819
- helperText: "Preserve server rendered dom nodes",
820
- advanced: !0
821
- },
822
- {
823
- name: "scriptsClientOnly",
824
- type: "boolean",
825
- defaultValue: !1,
826
- helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
827
- advanced: !0
828
- }
829
- ]
830
- }, Ee = () => [
831
- { component: _, ...ae },
832
- { component: B, ...ie },
833
- { component: Ie, ...Re },
834
- { component: be, ...ue },
835
- { component: q, ...oe },
836
- { component: N, ...re },
837
- { component: Se, ...Ce },
838
- { component: O, ...se },
839
- { component: D, ...le },
840
- { component: K, ...de },
841
- { component: z, ...ce }
842
- ], Fe = "0.4.2", Ve = () => {
843
- J("insertMenu", {
844
- name: "_default",
845
- default: !0,
846
- items: [
847
- { name: "Box" },
848
- { name: "Text" },
849
- { name: "Image" },
850
- { name: "Columns" },
851
- { name: "Core:Section" },
852
- { name: "Core:Button" },
853
- { name: "Embed" },
854
- { name: "Custom Code" }
855
- ]
856
- });
857
- };
858
- let V = !1;
859
- const Ae = (e = {}) => {
860
- var n, t;
861
- V || (V = !0, S() && ((n = window.parent) == null || n.postMessage(
862
- {
863
- type: "builder.sdkInfo",
864
- data: {
865
- target: H,
866
- version: Fe,
867
- supportsPatchUpdates: !1,
868
- supportsAddBlockScoping: !0,
869
- supportsCustomBreakpoints: !0
870
- }
871
- },
872
- "*"
873
- ), (t = window.parent) == null || t.postMessage(
874
- {
875
- type: "builder.updateContent",
876
- data: {
877
- options: e
878
- }
879
- },
880
- "*"
881
- ), window.addEventListener("message", ({ data: a }) => {
882
- var i, o;
883
- if (!!(a != null && a.type))
884
- switch (a.type) {
885
- case "builder.evaluate": {
886
- const r = a.data.text, l = a.data.arguments || [], s = a.data.id, c = new Function(r);
887
- let d, u = null;
888
- try {
889
- d = c.apply(null, l);
890
- } catch (p) {
891
- u = p;
892
- }
893
- u ? (i = window.parent) == null || i.postMessage(
894
- {
895
- type: "builder.evaluateError",
896
- data: { id: s, error: u.message }
897
- },
898
- "*"
899
- ) : d && typeof d.then == "function" ? d.then((p) => {
900
- var h;
901
- (h = window.parent) == null || h.postMessage(
902
- {
903
- type: "builder.evaluateResult",
904
- data: { id: s, result: p }
905
- },
906
- "*"
907
- );
908
- }).catch(console.error) : (o = window.parent) == null || o.postMessage(
909
- {
910
- type: "builder.evaluateResult",
911
- data: { result: d, id: s }
912
- },
913
- "*"
914
- );
915
- break;
916
- }
917
- }
918
- })));
919
- };
920
- function A(e) {
921
- return Math.round(e * 1e3) / 1e3;
922
- }
923
- const Ue = (e, n, t = !0) => {
924
- if (!(e instanceof HTMLElement))
925
- return null;
926
- let a = t ? e : e.parentElement;
927
- do {
928
- if (!a)
929
- return null;
930
- if (n(a))
931
- return a;
932
- } while (a = a.parentElement);
933
- return null;
934
- }, $e = (e) => Ue(e, (n) => {
935
- const t = n.getAttribute("builder-id") || n.id;
936
- return Boolean((t == null ? void 0 : t.indexOf("builder-")) === 0);
937
- }), U = ({
938
- event: e,
939
- target: n
940
- }) => {
941
- const t = n.getBoundingClientRect(), a = e.clientX - t.left, i = e.clientY - t.top, o = A(a / t.width), r = A(i / t.height);
942
- return {
943
- x: o,
944
- y: r
945
- };
946
- }, He = (e) => {
947
- const n = e.target, t = n && $e(n), a = (t == null ? void 0 : t.getAttribute("builder-id")) || (t == null ? void 0 : t.id);
948
- return {
949
- targetBuilderElement: a || void 0,
950
- metadata: {
951
- targetOffset: n ? U({ event: e, target: n }) : void 0,
952
- builderTargetOffset: t ? U({ event: e, target: t }) : void 0,
953
- builderElementIndex: t && a ? [].slice.call(document.getElementsByClassName(a)).indexOf(t) : void 0
954
- }
955
- };
956
- }, Pe = ({
957
- content: e,
958
- data: n,
959
- locale: t
960
- }) => {
961
- var o, r, l;
962
- const a = {};
963
- (r = (o = e == null ? void 0 : e.data) == null ? void 0 : o.inputs) == null || r.forEach((s) => {
964
- var c;
965
- s.name && s.defaultValue !== void 0 && ((c = e == null ? void 0 : e.data) == null ? void 0 : c.state) && e.data.state[s.name] === void 0 && (a[s.name] = s.defaultValue);
966
- });
967
- const i = {
968
- ...(l = e == null ? void 0 : e.data) == null ? void 0 : l.state,
969
- ...n,
970
- ...t ? { locale: t } : {}
971
- };
972
- return { ...a, ...i };
973
- }, je = ({
974
- content: e,
975
- data: n
976
- }) => e ? {
977
- ...e,
978
- data: {
979
- ...e == null ? void 0 : e.data,
980
- ...n
981
- },
982
- meta: e == null ? void 0 : e.meta
983
- } : void 0, Le = M, Me = () => import("./index.3a561c6a.js").then((e) => e.A).then((e) => e.default).catch((e) => {
984
- throw console.error(
985
- "Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
986
- e
987
- ), e;
988
- }), We = () => import("./render-styles.73c7ba5a.js").then((e) => e.default).catch((e) => {
989
- throw console.error(
990
- "Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
991
- e
992
- ), e;
993
- }), _e = g({
994
- name: "render-content",
995
- components: {
996
- RenderContentStyles: w(We),
997
- RenderBlocks: w(Me)
998
- },
999
- props: [
1000
- "canTrack",
1001
- "model",
1002
- "context",
1003
- "apiKey",
1004
- "content",
1005
- "parentContentId",
1006
- "data",
1007
- "locale",
1008
- "apiVersion",
1009
- "customComponents",
1010
- "hideContent",
1011
- "classNameProp",
1012
- "isSsrAbTest",
1013
- "includeRefs",
1014
- "enrich"
1015
- ],
1016
- data() {
1017
- var e;
1018
- return {
1019
- forceReRenderCount: 0,
1020
- overrideContent: null,
1021
- update: 0,
1022
- canTrackToUse: Y(this.canTrack) ? this.canTrack : !0,
1023
- httpReqsData: {},
1024
- clicked: !1,
1025
- scriptStr: G({
1026
- contentId: (e = this.content) == null ? void 0 : e.id,
1027
- parentContentId: this.parentContentId
1028
- }),
1029
- builderContextSignal: {
1030
- content: je({
1031
- content: this.content,
1032
- data: this.data
1033
- }),
1034
- localState: void 0,
1035
- rootState: Pe({
1036
- content: this.content,
1037
- data: this.data,
1038
- locale: this.locale
1039
- }),
1040
- rootSetState: this.contentSetState,
1041
- context: this.context || {},
1042
- apiKey: this.apiKey,
1043
- apiVersion: this.apiVersion,
1044
- registeredComponents: [
1045
- ...Ee(),
1046
- ...X,
1047
- ...this.customComponents || []
1048
- ].reduce(
1049
- (n, { component: t, ...a }) => ({
1050
- ...n,
1051
- [a.name]: {
1052
- component: Le(t),
1053
- ...a
1054
- }
1055
- }),
1056
- {}
1057
- ),
1058
- inheritedStyles: {}
1059
- },
1060
- builderContext: R,
1061
- TARGET: H
1062
- };
1063
- },
1064
- provide() {
1065
- const e = this;
1066
- return {
1067
- [R.key]: e.builderContextSignal
1068
- };
1069
- },
1070
- mounted() {
1071
- var e, n;
1072
- if (this.apiKey || Q.error(
1073
- "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
1074
- ), S()) {
1075
- if (f() && (this.forceReRenderCount = this.forceReRenderCount + 1, Ve(), Ae({
1076
- ...this.locale ? {
1077
- locale: this.locale
1078
- } : {},
1079
- ...this.includeRefs ? {
1080
- includeRefs: this.includeRefs
1081
- } : {},
1082
- ...this.enrich ? {
1083
- enrich: this.enrich
1084
- } : {}
1085
- }), Object.values(
1086
- this.builderContextSignal.registeredComponents
1087
- ).forEach((t) => {
1088
- var i;
1089
- const a = Z(t);
1090
- (i = window.parent) == null || i.postMessage(a, "*");
1091
- }), window.addEventListener("message", this.processMessage), window.addEventListener(
1092
- "builder:component:stateChangeListenerActivated",
1093
- this.emitStateUpdate
1094
- )), this.builderContextSignal.content) {
1095
- const t = (e = this.builderContextSignal.content) == null ? void 0 : e.testVariationId, a = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
1096
- E({
1097
- type: "impression",
1098
- canTrack: this.canTrackToUse,
1099
- contentId: a,
1100
- apiKey: this.apiKey,
1101
- variationId: t !== a ? t : void 0
1102
- });
1103
- }
1104
- if (ee()) {
1105
- const t = new URL(location.href).searchParams, a = t.get("builder.preview"), i = t.get(
1106
- `builder.preview.${a}`
1107
- ), o = t.get("apiKey") || t.get("builder.space");
1108
- a === this.model && o === this.apiKey && (!this.content || i === this.content.id) && te({
1109
- model: this.model,
1110
- apiKey: this.apiKey,
1111
- apiVersion: this.apiVersion
1112
- }).then((r) => {
1113
- r && this.mergeNewContent(r);
1114
- });
1115
- }
1116
- this.evaluateJsCode(), this.runHttpRequests(), this.emitStateUpdate();
1117
- }
1118
- },
1119
- watch: {
1120
- onUpdateHook0: {
1121
- handler() {
1122
- this.content && this.mergeNewContent(this.content);
1123
- },
1124
- immediate: !0
1125
- },
1126
- onUpdateHook1: {
1127
- handler() {
1128
- this.evaluateJsCode();
1129
- },
1130
- immediate: !0
1131
- },
1132
- onUpdateHook2: {
1133
- handler() {
1134
- this.runHttpRequests();
1135
- },
1136
- immediate: !0
1137
- },
1138
- onUpdateHook3: {
1139
- handler() {
1140
- this.emitStateUpdate();
1141
- },
1142
- immediate: !0
1143
- }
1144
- },
1145
- unmounted() {
1146
- S() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
1147
- "builder:component:stateChangeListenerActivated",
1148
- this.emitStateUpdate
1149
- ));
1150
- },
1151
- computed: {
1152
- onUpdateHook0() {
1153
- return {
1154
- 0: this.content
1155
- };
1156
- },
1157
- onUpdateHook1() {
1158
- var e, n;
1159
- return {
1160
- 0: (n = (e = this.builderContextSignal.content) == null ? void 0 : e.data) == null ? void 0 : n.jsCode,
1161
- 1: this.builderContextSignal.rootState
1162
- };
1163
- },
1164
- onUpdateHook2() {
1165
- var e, n;
1166
- return {
1167
- 0: (n = (e = this.builderContextSignal.content) == null ? void 0 : e.data) == null ? void 0 : n.httpRequests
1168
- };
1169
- },
1170
- onUpdateHook3() {
1171
- return {
1172
- 0: this.builderContextSignal.rootState
1173
- };
1174
- }
1175
- },
1176
- methods: {
1177
- mergeNewContent(e) {
1178
- var n, t, a, i, o;
1179
- this.builderContextSignal.content = {
1180
- ...this.builderContextSignal.content,
1181
- ...e,
1182
- data: {
1183
- ...(n = this.builderContextSignal.content) == null ? void 0 : n.data,
1184
- ...e == null ? void 0 : e.data
1185
- },
1186
- meta: {
1187
- ...(t = this.builderContextSignal.content) == null ? void 0 : t.meta,
1188
- ...e == null ? void 0 : e.meta,
1189
- breakpoints: ((a = e == null ? void 0 : e.meta) == null ? void 0 : a.breakpoints) || ((o = (i = this.builderContextSignal.content) == null ? void 0 : i.meta) == null ? void 0 : o.breakpoints)
1190
- }
1191
- };
1192
- },
1193
- setBreakpoints(e) {
1194
- var n;
1195
- this.builderContextSignal.content = {
1196
- ...this.builderContextSignal.content,
1197
- meta: {
1198
- ...(n = this.builderContextSignal.content) == null ? void 0 : n.meta,
1199
- breakpoints: e
1200
- }
1201
- };
1202
- },
1203
- contentSetState(e) {
1204
- this.builderContextSignal.rootState = e;
1205
- },
1206
- processMessage(e) {
1207
- var t;
1208
- const { data: n } = e;
1209
- if (n)
1210
- switch (n.type) {
1211
- case "builder.configureSdk": {
1212
- const a = n.data, { breakpoints: i, contentId: o } = a;
1213
- if (!o || o !== ((t = this.builderContextSignal.content) == null ? void 0 : t.id))
1214
- return;
1215
- i && this.setBreakpoints(i), this.forceReRenderCount = this.forceReRenderCount + 1;
1216
- break;
1217
- }
1218
- case "builder.contentUpdate": {
1219
- const a = n.data, i = a.key || a.alias || a.entry || a.modelName, o = a.data;
1220
- i === this.model && (this.mergeNewContent(o), this.forceReRenderCount = this.forceReRenderCount + 1);
1221
- break;
1222
- }
1223
- }
1224
- },
1225
- evaluateJsCode() {
1226
- var n, t;
1227
- const e = (t = (n = this.builderContextSignal.content) == null ? void 0 : n.data) == null ? void 0 : t.jsCode;
1228
- e && F({
1229
- code: e,
1230
- context: this.context || {},
1231
- localState: void 0,
1232
- rootState: this.builderContextSignal.rootState,
1233
- rootSetState: this.contentSetState
1234
- });
1235
- },
1236
- onClick(e) {
1237
- var n, t;
1238
- if (this.builderContextSignal.content) {
1239
- const a = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, i = (t = this.builderContextSignal.content) == null ? void 0 : t.id;
1240
- E({
1241
- type: "click",
1242
- canTrack: this.canTrackToUse,
1243
- contentId: i,
1244
- apiKey: this.apiKey,
1245
- variationId: a !== i ? a : void 0,
1246
- ...He(e),
1247
- unique: !this.clicked
1248
- });
1249
- }
1250
- this.clicked || (this.clicked = !0);
1251
- },
1252
- evalExpression(e) {
1253
- return e.replace(
1254
- /{{([^}]+)}}/g,
1255
- (n, t) => F({
1256
- code: t,
1257
- context: this.context || {},
1258
- localState: void 0,
1259
- rootState: this.builderContextSignal.rootState,
1260
- rootSetState: this.contentSetState
1261
- })
1262
- );
1263
- },
1264
- handleRequest({ url: e, key: n }) {
1265
- ne(e).then((t) => t.json()).then((t) => {
1266
- const a = {
1267
- ...this.builderContextSignal.rootState,
1268
- [n]: t
1269
- };
1270
- this.contentSetState(a);
1271
- }).catch((t) => {
1272
- console.error("error fetching dynamic data", e, t);
1273
- });
1274
- },
1275
- runHttpRequests() {
1276
- var n, t, a;
1277
- const e = (a = (t = (n = this.builderContextSignal.content) == null ? void 0 : n.data) == null ? void 0 : t.httpRequests) != null ? a : {};
1278
- Object.entries(e).forEach(([i, o]) => {
1279
- if (o && (!this.httpReqsData[i] || f())) {
1280
- const r = this.evalExpression(o);
1281
- this.handleRequest({
1282
- url: r,
1283
- key: i
1284
- });
1285
- }
1286
- });
1287
- },
1288
- emitStateUpdate() {
1289
- f() && window.dispatchEvent(
1290
- new CustomEvent(
1291
- "builder:component:stateChange",
1292
- {
1293
- detail: {
1294
- state: this.builderContextSignal.rootState,
1295
- ref: {
1296
- name: this.model
1297
- }
1298
- }
1299
- }
1300
- )
1301
- );
1302
- },
1303
- _classStringToObject(e) {
1304
- const n = {};
1305
- if (typeof e != "string")
1306
- return n;
1307
- const t = e.trim().split(/\s+/);
1308
- for (const a of t)
1309
- n[a] = !0;
1310
- return n;
1311
- }
1312
- }
1313
- }), Be = ["builder-content-id", "builder-model"];
1314
- function qe(e, n, t, a, i, o) {
1315
- var s, c, d, u, p, h, k, T;
1316
- const r = I("render-content-styles"), l = I("render-blocks");
1317
- return e.builderContextSignal.content ? (m(), b("div", $({
1318
- key: 0,
1319
- ref: "elementRef",
1320
- onClick: n[0] || (n[0] = (P) => e.onClick(P)),
1321
- "builder-content-id": (s = e.builderContextSignal.content) == null ? void 0 : s.id,
1322
- "builder-model": e.model,
1323
- class: e._classStringToObject(e.classNameProp)
1324
- }, {
1325
- ...e.TARGET === "reactNative" ? {
1326
- dataSet: {
1327
- "builder-content-id": ""
1328
- }
1329
- } : {},
1330
- ...e.hideContent ? {
1331
- hidden: !0,
1332
- "aria-hidden": !0
1333
- } : {}
1334
- }), [
1335
- e.isSsrAbTest ? (m(), v(W("script"), {
1336
- key: 0,
1337
- innerHTML: e.scriptStr
1338
- }, null, 8, ["innerHTML"])) : x("", !0),
1339
- e.TARGET !== "reactNative" ? (m(), v(r, {
1340
- key: 1,
1341
- contentId: (c = e.builderContextSignal.content) == null ? void 0 : c.id,
1342
- cssCode: (u = (d = e.builderContextSignal.content) == null ? void 0 : d.data) == null ? void 0 : u.cssCode,
1343
- customFonts: (h = (p = e.builderContextSignal.content) == null ? void 0 : p.data) == null ? void 0 : h.customFonts
1344
- }, null, 8, ["contentId", "cssCode", "customFonts"])) : x("", !0),
1345
- (m(), v(l, {
1346
- blocks: (T = (k = e.builderContextSignal.content) == null ? void 0 : k.data) == null ? void 0 : T.blocks,
1347
- key: e.forceReRenderCount
1348
- }, null, 8, ["blocks"]))
1349
- ], 16, Be)) : x("", !0);
1350
- }
1351
- const Ke = /* @__PURE__ */ y(_e, [["render", qe]]);
1352
- export {
1353
- Ke as default
1354
- };