@builder.io/sdk-react-nextjs 0.7.2 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/lib/browser/USE_CLIENT_BUNDLE-6b3887b7.js +711 -0
  2. package/lib/browser/USE_CLIENT_BUNDLE-f95a196a.cjs +23 -0
  3. package/lib/{edge/USE_SERVER_BUNDLE-e0effb0f.js → browser/USE_SERVER_BUNDLE-b314d0f7.js} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-ea7c665e.cjs → browser/USE_SERVER_BUNDLE-eed7792a.cjs} +1 -1
  5. package/lib/browser/{bundle-fc27d227.cjs → bundle-df55c296.cjs} +111 -19
  6. package/lib/browser/{bundle-6f6b7d63.js → bundle-fc3e7377.js} +528 -514
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +3 -3
  9. package/lib/edge/USE_CLIENT_BUNDLE-44225d7a.cjs +23 -0
  10. package/lib/edge/USE_CLIENT_BUNDLE-a32e462e.js +711 -0
  11. package/lib/{node/USE_SERVER_BUNDLE-787d0ec8.js → edge/USE_SERVER_BUNDLE-2c9d1a5d.js} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-842e66c9.cjs → edge/USE_SERVER_BUNDLE-e5ab43ec.cjs} +1 -1
  13. package/lib/edge/bundle-38f08fa1.cjs +188 -0
  14. package/lib/edge/{bundle-213a8bf7.js → bundle-bef73246.js} +1516 -1502
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +3 -3
  17. package/lib/node/USE_CLIENT_BUNDLE-539be307.cjs +23 -0
  18. package/lib/node/USE_CLIENT_BUNDLE-a5c6399c.js +711 -0
  19. package/lib/{browser/USE_SERVER_BUNDLE-ea1618f4.js → node/USE_SERVER_BUNDLE-21bf3ffc.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-4341bf5c.cjs → node/USE_SERVER_BUNDLE-7f4ba7e9.cjs} +1 -1
  21. package/lib/node/{bundle-fb3490a6.js → bundle-74479d5d.js} +297 -283
  22. package/lib/node/{bundle-df78531d.cjs → bundle-f7863fb3.cjs} +110 -18
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +3 -3
  25. package/package.json +8 -1
  26. package/types/cjs/blocks/video/video.d.ts +4 -0
  27. package/types/cjs/components/content/content.types.d.ts +0 -4
  28. package/types/cjs/components/content-variants/helpers.d.ts +3 -3
  29. package/types/cjs/components/content-variants/inlined-fns.d.ts +14 -0
  30. package/types/cjs/constants/sdk-version.d.ts +1 -1
  31. package/types/esm/blocks/video/video.d.ts +4 -0
  32. package/types/esm/components/content/content.types.d.ts +0 -4
  33. package/types/esm/components/content-variants/helpers.d.ts +3 -3
  34. package/types/esm/components/content-variants/inlined-fns.d.ts +14 -0
  35. package/types/esm/constants/sdk-version.d.ts +1 -1
  36. package/lib/browser/USE_CLIENT_BUNDLE-0e3e24e7.js +0 -657
  37. package/lib/browser/USE_CLIENT_BUNDLE-727780ee.cjs +0 -23
  38. package/lib/edge/USE_CLIENT_BUNDLE-372b4c60.js +0 -657
  39. package/lib/edge/USE_CLIENT_BUNDLE-f1bfb292.cjs +0 -23
  40. package/lib/edge/bundle-0fb39c43.cjs +0 -96
  41. package/lib/node/USE_CLIENT_BUNDLE-bdbc178a.cjs +0 -23
  42. package/lib/node/USE_CLIENT_BUNDLE-c6d9e08c.js +0 -657
@@ -1,9 +1,9 @@
1
- import { LRUCache as Pe } from "lru-cache";
2
- import { jsx as l, Fragment as x, jsxs as C } from "react/jsx-runtime";
3
- import { createElement as Ve } from "react";
4
- import { I as $e, B as J, a as Oe, b as Fe, C as Ne, E as We, F as Le, c as Ue, d as Me, S as _e, V as je, e as Ke } from "./USE_CLIENT_BUNDLE-0e3e24e7.js";
1
+ import { LRUCache as Be } from "lru-cache";
2
+ import { jsx as l, Fragment as b, jsxs as w } from "react/jsx-runtime";
3
+ import { createElement as Pe } from "react";
4
+ import { I as $e, B as Y, a as Oe, b as Fe, C as We, E as Ne, F as _e, c as Le, d as Ue, S as Me, V as De, e as je } from "./USE_CLIENT_BUNDLE-6b3887b7.js";
5
5
  import "next/navigation";
6
- function He(e) {
6
+ function Ke(e) {
7
7
  var t;
8
8
  return {
9
9
  ...(t = e.component) == null ? void 0 : t.options,
@@ -14,29 +14,29 @@ function He(e) {
14
14
  builderBlock: e
15
15
  };
16
16
  }
17
- const B = "[Builder.io]: ", k = {
18
- log: (...e) => console.log(B, ...e),
19
- error: (...e) => console.error(B, ...e),
20
- warn: (...e) => console.warn(B, ...e),
21
- debug: (...e) => console.debug(B, ...e)
17
+ const V = "[Builder.io]: ", k = {
18
+ log: (...e) => console.log(V, ...e),
19
+ error: (...e) => console.error(V, ...e),
20
+ warn: (...e) => console.warn(V, ...e),
21
+ debug: (...e) => console.debug(V, ...e)
22
22
  };
23
- function v() {
23
+ function x() {
24
24
  return typeof window < "u" && typeof document < "u";
25
25
  }
26
26
  const T = "rsc";
27
- function De() {
28
- return v() && window.self !== window.top;
27
+ function He() {
28
+ return x() && window.self !== window.top;
29
29
  }
30
- function j() {
31
- return De() && window.location.search.indexOf("builder.frameEditing=") !== -1;
30
+ function D() {
31
+ return He() && window.location.search.indexOf("builder.frameEditing=") !== -1;
32
32
  }
33
33
  const ze = () => {
34
- if (v()) {
34
+ if (x()) {
35
35
  const e = new URL(location.href);
36
36
  return e.pathname === "" && (e.pathname = "/"), e;
37
37
  } else
38
38
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
39
- }, qe = () => typeof navigator == "object" && navigator.userAgent || "", ue = () => {
39
+ }, qe = () => typeof navigator == "object" && navigator.userAgent || "", de = () => {
40
40
  const e = qe(), t = {
41
41
  Android() {
42
42
  return e.match(/Android/i);
@@ -74,69 +74,69 @@ const ze = () => {
74
74
  builder: e,
75
75
  context: t,
76
76
  event: n
77
- }), Je = () => ({
78
- isEditing: j(),
79
- isBrowser: v(),
80
- isServer: !v(),
81
- getUserAttributes: () => ue()
82
- }), Ye = (e, {
77
+ }), Ye = () => ({
78
+ isEditing: D(),
79
+ isBrowser: x(),
80
+ isServer: !x(),
81
+ getUserAttributes: () => de()
82
+ }), Je = (e, {
83
83
  isExpression: t = !0
84
- }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, Y = ({
84
+ }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, J = ({
85
85
  code: e,
86
86
  builder: t,
87
87
  context: n,
88
88
  event: o,
89
89
  localState: i,
90
- rootSetState: r,
91
- rootState: a
90
+ rootSetState: a,
91
+ rootState: r
92
92
  }) => {
93
93
  const s = Ge({
94
94
  builder: t,
95
95
  context: n,
96
96
  event: o,
97
- state: Xe(a, i, r)
97
+ state: Qe(r, i, a)
98
98
  });
99
99
  return new Function(...s.map(([c]) => c), e)(...s.map(([, c]) => c));
100
100
  };
101
- function Xe(e, t, n) {
101
+ function Qe(e, t, n) {
102
102
  if (e === t)
103
103
  throw new Error("rootState === localState");
104
104
  return new Proxy(e, {
105
105
  get: (o, i) => t && i in t ? t[i] : e[i],
106
- set: (o, i, r) => {
106
+ set: (o, i, a) => {
107
107
  if (t && i in t)
108
108
  throw new Error("Writing to local state is not allowed as it is read-only.");
109
- return e[i] = r, n == null || n(e), !0;
109
+ return e[i] = a, n == null || n(e), !0;
110
110
  }
111
111
  });
112
112
  }
113
- const Qe = (e) => (v(), Y(e));
114
- function K({
113
+ const Xe = (e) => (x(), J(e));
114
+ function j({
115
115
  code: e,
116
116
  context: t,
117
117
  localState: n,
118
118
  rootState: o,
119
119
  rootSetState: i,
120
- event: r,
121
- isExpression: a = !0
120
+ event: a,
121
+ isExpression: r = !0
122
122
  }) {
123
123
  if (e === "") {
124
124
  k.warn("Skipping evaluation of empty code block.");
125
125
  return;
126
126
  }
127
127
  const s = {
128
- code: Ye(e, {
129
- isExpression: a
128
+ code: Je(e, {
129
+ isExpression: r
130
130
  }),
131
- builder: Je(),
131
+ builder: Ye(),
132
132
  context: t,
133
- event: r,
133
+ event: a,
134
134
  rootSetState: i,
135
135
  rootState: o,
136
136
  localState: n
137
137
  };
138
138
  try {
139
- return Qe(s);
139
+ return Xe(s);
140
140
  } catch (c) {
141
141
  k.error("Failed code evaluation: " + c.message, {
142
142
  code: e
@@ -148,7 +148,7 @@ const O = (e) => JSON.parse(JSON.stringify(e)), Ze = (e, t, n) => {
148
148
  if (Object(e) !== e)
149
149
  return e;
150
150
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
151
- return o.slice(0, -1).reduce((i, r, a) => Object(i[r]) === i[r] ? i[r] : i[r] = Math.abs(Number(o[a + 1])) >> 0 === +o[a + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
151
+ return o.slice(0, -1).reduce((i, a, r) => Object(i[a]) === i[a] ? i[a] : i[a] = Math.abs(Number(o[r + 1])) >> 0 === +o[r + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
152
152
  };
153
153
  const et = ({
154
154
  block: e,
@@ -159,26 +159,26 @@ const et = ({
159
159
  }) => {
160
160
  if (!e.bindings)
161
161
  return e;
162
- const r = O(e), a = {
163
- ...r,
162
+ const a = O(e), r = {
163
+ ...a,
164
164
  properties: {
165
- ...r.properties
165
+ ...a.properties
166
166
  },
167
167
  actions: {
168
- ...r.actions
168
+ ...a.actions
169
169
  }
170
170
  };
171
171
  for (const s in e.bindings) {
172
- const c = e.bindings[s], d = K({
172
+ const c = e.bindings[s], u = j({
173
173
  code: c,
174
174
  localState: n,
175
175
  rootState: o,
176
176
  rootSetState: i,
177
177
  context: t
178
178
  });
179
- Ze(a, s, d);
179
+ Ze(r, s, u);
180
180
  }
181
- return a;
181
+ return r;
182
182
  };
183
183
  function $({
184
184
  block: e,
@@ -186,31 +186,31 @@ function $({
186
186
  shouldEvaluateBindings: n,
187
187
  localState: o,
188
188
  rootState: i,
189
- rootSetState: r
189
+ rootSetState: a
190
190
  }) {
191
- const a = e;
191
+ const r = e;
192
192
  return n ? et({
193
- block: a,
193
+ block: r,
194
194
  localState: o,
195
195
  rootState: i,
196
- rootSetState: r,
196
+ rootSetState: a,
197
197
  context: t
198
- }) : a;
198
+ }) : r;
199
199
  }
200
- const tt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], W = (e) => typeof e == "string" && tt.includes(e.toLowerCase()), nt = ({
200
+ const tt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], N = (e) => typeof e == "string" && tt.includes(e.toLowerCase()), nt = ({
201
201
  block: e,
202
202
  context: t,
203
203
  registeredComponents: n
204
204
  }) => {
205
- var r;
206
- const o = (r = $({
205
+ var a;
206
+ const o = (a = $({
207
207
  block: e,
208
208
  localState: t.localState,
209
209
  rootState: t.rootState,
210
210
  rootSetState: t.rootSetState,
211
211
  context: t.context,
212
212
  shouldEvaluateBindings: !1
213
- }).component) == null ? void 0 : r.name;
213
+ }).component) == null ? void 0 : a.name;
214
214
  if (!o)
215
215
  return null;
216
216
  const i = n[o];
@@ -229,7 +229,7 @@ const tt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
229
229
  } = e;
230
230
  if (!(n != null && n.collection))
231
231
  return;
232
- const i = K({
232
+ const i = j({
233
233
  code: n.collection,
234
234
  localState: t.localState,
235
235
  rootState: t.rootState,
@@ -238,21 +238,21 @@ const tt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
238
238
  });
239
239
  if (!Array.isArray(i))
240
240
  return;
241
- const r = n.collection.split(".").pop(), a = n.itemName || (r ? r + "Item" : "item");
242
- return i.map((c, d) => ({
241
+ const a = n.collection.split(".").pop(), r = n.itemName || (a ? a + "Item" : "item");
242
+ return i.map((c, u) => ({
243
243
  context: {
244
244
  ...t,
245
245
  localState: {
246
246
  ...t.localState,
247
- $index: d,
247
+ $index: u,
248
248
  $item: c,
249
- [a]: c,
250
- [`$${a}Index`]: d
249
+ [r]: c,
250
+ [`$${r}Index`]: u
251
251
  }
252
252
  },
253
253
  block: o
254
254
  }));
255
- }, de = {
255
+ }, ue = {
256
256
  small: {
257
257
  min: 320,
258
258
  default: 321,
@@ -268,11 +268,11 @@ const tt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
268
268
  default: 991,
269
269
  max: 1200
270
270
  }
271
- }, X = (e, t = de) => `@media (max-width: ${t[e].max}px)`, me = ({
271
+ }, Q = (e, t = ue) => `@media (max-width: ${t[e].max}px)`, me = ({
272
272
  small: e,
273
273
  medium: t
274
274
  }) => {
275
- const n = O(de);
275
+ const n = O(ue);
276
276
  if (!e || !t)
277
277
  return n;
278
278
  const o = Math.floor(e / 2);
@@ -287,24 +287,24 @@ const tt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
287
287
  min: i,
288
288
  default: i + 1
289
289
  };
290
- const r = n.medium.max + 1;
290
+ const a = n.medium.max + 1;
291
291
  return n.large = {
292
292
  max: 2e3,
293
293
  // TODO: decide upper limit
294
- min: r,
295
- default: r + 1
294
+ min: a,
295
+ default: a + 1
296
296
  }, n;
297
297
  }, it = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), I = (e) => e != null, fe = (e) => Object.entries(e).map(([n, o]) => {
298
298
  if (typeof o == "string")
299
299
  return `${it(n)}: ${o};`;
300
- }).filter(I), rt = (e) => fe(e).join(`
301
- `), L = ({
300
+ }).filter(I), at = (e) => fe(e).join(`
301
+ `), _ = ({
302
302
  mediaQuery: e,
303
303
  className: t,
304
304
  styles: n
305
305
  }) => {
306
306
  const o = `.${t} {
307
- ${rt(n)}
307
+ ${at(n)}
308
308
  }`;
309
309
  return e ? `${e} {
310
310
  ${o}
@@ -313,7 +313,7 @@ const tt = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
313
313
  function F(e) {
314
314
  return /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
315
315
  }
316
- function H(e) {
316
+ function K(e) {
317
317
  const t = function() {
318
318
  const i = $({
319
319
  block: e.block,
@@ -325,7 +325,7 @@ function H(e) {
325
325
  });
326
326
  return I(i.hide) ? !i.hide : I(i.show) ? i.show : !0;
327
327
  }, n = function() {
328
- var u;
328
+ var d;
329
329
  const i = $({
330
330
  block: e.block,
331
331
  localState: e.context.localState,
@@ -333,37 +333,37 @@ function H(e) {
333
333
  rootSetState: e.context.rootSetState,
334
334
  context: e.context.context,
335
335
  shouldEvaluateBindings: !0
336
- }), r = i.responsiveStyles, a = e.context.content, s = me(
337
- ((u = a == null ? void 0 : a.meta) == null ? void 0 : u.breakpoints) || {}
338
- ), c = r == null ? void 0 : r.large, d = r == null ? void 0 : r.medium, f = r == null ? void 0 : r.small, p = i.id;
339
- if (!p)
336
+ }), a = i.responsiveStyles, r = e.context.content, s = me(
337
+ ((d = r == null ? void 0 : r.meta) == null ? void 0 : d.breakpoints) || {}
338
+ ), c = a == null ? void 0 : a.large, u = a == null ? void 0 : a.medium, f = a == null ? void 0 : a.small, g = i.id;
339
+ if (!g)
340
340
  return "";
341
- const b = c ? L({
342
- className: p,
341
+ const y = c ? _({
342
+ className: g,
343
343
  styles: c
344
- }) : "", m = d ? L({
345
- className: p,
346
- styles: d,
347
- mediaQuery: X(
344
+ }) : "", m = u ? _({
345
+ className: g,
346
+ styles: u,
347
+ mediaQuery: Q(
348
348
  "medium",
349
349
  s
350
350
  )
351
- }) : "", h = f ? L({
352
- className: p,
351
+ }) : "", h = f ? _({
352
+ className: g,
353
353
  styles: f,
354
- mediaQuery: X(
354
+ mediaQuery: Q(
355
355
  "small",
356
356
  s
357
357
  )
358
358
  }) : "";
359
- return [b, m, h].join(" ");
359
+ return [y, m, h].join(" ");
360
360
  };
361
- return /* @__PURE__ */ l(x, { children: n() && t() ? /* @__PURE__ */ l(x, { children: /* @__PURE__ */ l(F, { styles: n() }) }) : null });
361
+ return /* @__PURE__ */ l(b, { children: n() && t() ? /* @__PURE__ */ l(b, { children: /* @__PURE__ */ l(F, { styles: n() }) }) : null });
362
362
  }
363
- function at(e) {
363
+ function rt(e) {
364
364
  return e.charAt(0).toUpperCase() + e.slice(1);
365
365
  }
366
- const st = (e) => `on${at(e)}`, ct = (e, t) => (n) => K({
366
+ const st = (e) => `on${rt(e)}`, ct = (e, t) => (n) => j({
367
367
  code: e,
368
368
  context: t.context,
369
369
  localState: t.localState,
@@ -372,40 +372,40 @@ const st = (e) => `on${at(e)}`, ct = (e, t) => (n) => K({
372
372
  event: n,
373
373
  isExpression: !1
374
374
  });
375
- function Mn(e) {
375
+ function Un(e) {
376
376
  const t = {}, n = e.block.actions ?? {};
377
377
  for (const o in n) {
378
378
  if (!n.hasOwnProperty(o))
379
379
  continue;
380
380
  const i = n[o];
381
- let r = st(o);
381
+ let a = st(o);
382
382
  if (e.stripPrefix)
383
383
  switch (T) {
384
384
  case "vue2":
385
385
  case "vue3":
386
- r = r.replace("v-on:", "");
386
+ a = a.replace("v-on:", "");
387
387
  break;
388
388
  case "svelte":
389
- r = r.replace("on:", "");
389
+ a = a.replace("on:", "");
390
390
  break;
391
391
  }
392
- t[r] = ct(i, e);
392
+ t[a] = ct(i, e);
393
393
  }
394
394
  return t;
395
395
  }
396
396
  function lt(e) {
397
397
  return e.className = e.class, delete e.class, e;
398
398
  }
399
- const ut = (e) => ({
399
+ const dt = (e) => ({
400
400
  href: e.href
401
401
  });
402
- function dt({
402
+ function ut({
403
403
  block: e,
404
404
  context: t
405
405
  }) {
406
406
  var o;
407
407
  const n = {
408
- ...ut(e),
408
+ ...dt(e),
409
409
  ...e.properties,
410
410
  "builder-id": e.id,
411
411
  style: e.style ? mt(e.style) : void 0,
@@ -433,9 +433,9 @@ const ft = ({
433
433
  context: n,
434
434
  componentRef: o,
435
435
  includeBlockProps: i,
436
- isInteractive: r,
437
- contextValue: a
438
- }) => r ? {
436
+ isInteractive: a,
437
+ contextValue: r
438
+ }) => a ? {
439
439
  Wrapper: o,
440
440
  block: t,
441
441
  context: n,
@@ -447,16 +447,16 @@ const ft = ({
447
447
  * component itself directly. Otherwise, they are provided to the wrapper element.
448
448
  */
449
449
  ...i ? {
450
- attributes: dt({
450
+ attributes: ut({
451
451
  block: t,
452
- context: a
452
+ context: r
453
453
  })
454
454
  } : {}
455
455
  };
456
- function Q(e) {
456
+ function X(e) {
457
457
  var n, o;
458
458
  const t = e.isInteractive ? $e : e.componentRef;
459
- return /* @__PURE__ */ l(x, { children: e.componentRef ? /* @__PURE__ */ l(x, { children: /* @__PURE__ */ C(
459
+ return /* @__PURE__ */ l(b, { children: e.componentRef ? /* @__PURE__ */ l(b, { children: /* @__PURE__ */ w(
460
460
  t,
461
461
  {
462
462
  ...ft({
@@ -470,7 +470,7 @@ function Q(e) {
470
470
  }),
471
471
  children: [
472
472
  (n = e.blockChildren) == null ? void 0 : n.map((i) => /* @__PURE__ */ l(
473
- N,
473
+ W,
474
474
  {
475
475
  block: i,
476
476
  context: e.context,
@@ -479,7 +479,7 @@ function Q(e) {
479
479
  "block-" + i.id
480
480
  )),
481
481
  (o = e.blockChildren) == null ? void 0 : o.map((i) => /* @__PURE__ */ l(
482
- H,
482
+ K,
483
483
  {
484
484
  block: i,
485
485
  context: e.context
@@ -493,7 +493,7 @@ function Q(e) {
493
493
  function ht(e) {
494
494
  const t = e.repeatContext;
495
495
  return /* @__PURE__ */ l(
496
- N,
496
+ W,
497
497
  {
498
498
  block: e.block,
499
499
  context: t,
@@ -501,8 +501,8 @@ function ht(e) {
501
501
  }
502
502
  );
503
503
  }
504
- function N(e) {
505
- var d, f, p, b;
504
+ function W(e) {
505
+ var u, f, g, y;
506
506
  const t = function() {
507
507
  return nt({
508
508
  block: e.block,
@@ -525,20 +525,20 @@ function N(e) {
525
525
  });
526
526
  }, i = function() {
527
527
  return e.block.tagName || "div";
528
- }, r = function() {
529
- return "hide" in o() ? !o().hide : "show" in o() ? o().show : !0;
530
528
  }, a = function() {
531
- var u;
532
- return !((u = t()) != null && u.component) && !n() ? o().children ?? [] : [];
529
+ return "hide" in o() ? !o().hide : "show" in o() ? o().show : !0;
530
+ }, r = function() {
531
+ var d;
532
+ return !((d = t()) != null && d.component) && !n() ? o().children ?? [] : [];
533
533
  }, s = function() {
534
- var h, u, y, S, g;
534
+ var h, d, v, S, p;
535
535
  return {
536
536
  blockChildren: o().children ?? [],
537
537
  componentRef: (h = t()) == null ? void 0 : h.component,
538
538
  componentOptions: {
539
- ...He(o()),
539
+ ...Ke(o()),
540
540
  builderContext: e.context,
541
- ...((u = t()) == null ? void 0 : u.name) === "Symbol" || ((y = t()) == null ? void 0 : y.name) === "Columns" ? {
541
+ ...((d = t()) == null ? void 0 : d.name) === "Symbol" || ((v = t()) == null ? void 0 : v.name) === "Columns" ? {
542
542
  builderComponents: e.registeredComponents
543
543
  } : {}
544
544
  },
@@ -546,11 +546,11 @@ function N(e) {
546
546
  registeredComponents: e.registeredComponents,
547
547
  builderBlock: o(),
548
548
  includeBlockProps: ((S = t()) == null ? void 0 : S.noWrap) === !0,
549
- isInteractive: !((g = t()) != null && g.isRSC)
549
+ isInteractive: !((p = t()) != null && p.isRSC)
550
550
  };
551
551
  }, c = e.context;
552
- return /* @__PURE__ */ l(x, { children: r() ? /* @__PURE__ */ l(x, { children: (d = t()) != null && d.noWrap ? /* @__PURE__ */ l(x, { children: /* @__PURE__ */ l(
553
- Q,
552
+ return /* @__PURE__ */ l(b, { children: a() ? /* @__PURE__ */ l(b, { children: (u = t()) != null && u.noWrap ? /* @__PURE__ */ l(b, { children: /* @__PURE__ */ l(
553
+ X,
554
554
  {
555
555
  componentRef: s().componentRef,
556
556
  componentOptions: s().componentOptions,
@@ -561,9 +561,9 @@ function N(e) {
561
561
  includeBlockProps: s().includeBlockProps,
562
562
  isInteractive: s().isInteractive
563
563
  }
564
- ) }) : /* @__PURE__ */ C(x, { children: [
565
- W(i()) ? /* @__PURE__ */ l(x, { children: /* @__PURE__ */ l(
566
- J,
564
+ ) }) : /* @__PURE__ */ w(b, { children: [
565
+ N(i()) ? /* @__PURE__ */ l(b, { children: /* @__PURE__ */ l(
566
+ Y,
567
567
  {
568
568
  Wrapper: i(),
569
569
  block: o(),
@@ -571,7 +571,7 @@ function N(e) {
571
571
  hasChildren: !1
572
572
  }
573
573
  ) }) : null,
574
- !W(i()) && n() ? /* @__PURE__ */ l(x, { children: (f = n()) == null ? void 0 : f.map((m, h) => /* @__PURE__ */ l(
574
+ !N(i()) && n() ? /* @__PURE__ */ l(b, { children: (f = n()) == null ? void 0 : f.map((m, h) => /* @__PURE__ */ l(
575
575
  ht,
576
576
  {
577
577
  repeatContext: m.context,
@@ -580,8 +580,8 @@ function N(e) {
580
580
  },
581
581
  h
582
582
  )) }) : null,
583
- !W(i()) && !n() ? /* @__PURE__ */ l(x, { children: /* @__PURE__ */ C(
584
- J,
583
+ !N(i()) && !n() ? /* @__PURE__ */ l(b, { children: /* @__PURE__ */ w(
584
+ Y,
585
585
  {
586
586
  Wrapper: i(),
587
587
  block: o(),
@@ -589,7 +589,7 @@ function N(e) {
589
589
  hasChildren: !0,
590
590
  children: [
591
591
  /* @__PURE__ */ l(
592
- Q,
592
+ X,
593
593
  {
594
594
  componentRef: s().componentRef,
595
595
  componentOptions: s().componentOptions,
@@ -601,8 +601,8 @@ function N(e) {
601
601
  isInteractive: s().isInteractive
602
602
  }
603
603
  ),
604
- (p = a()) == null ? void 0 : p.map((m) => /* @__PURE__ */ l(
605
- N,
604
+ (g = r()) == null ? void 0 : g.map((m) => /* @__PURE__ */ l(
605
+ W,
606
606
  {
607
607
  block: m,
608
608
  context: c,
@@ -610,8 +610,8 @@ function N(e) {
610
610
  },
611
611
  "block-" + m.id
612
612
  )),
613
- (b = a()) == null ? void 0 : b.map((m) => /* @__PURE__ */ l(
614
- H,
613
+ (y = r()) == null ? void 0 : y.map((m) => /* @__PURE__ */ l(
614
+ K,
615
615
  {
616
616
  block: m,
617
617
  context: c
@@ -623,9 +623,9 @@ function N(e) {
623
623
  ) }) : null
624
624
  ] }) }) : null });
625
625
  }
626
- function D(e) {
626
+ function H(e) {
627
627
  var t, n;
628
- return /* @__PURE__ */ C(
628
+ return /* @__PURE__ */ w(
629
629
  Oe,
630
630
  {
631
631
  blocks: e.blocks,
@@ -633,8 +633,8 @@ function D(e) {
633
633
  path: e.path,
634
634
  styleProp: e.styleProp,
635
635
  children: [
636
- e.blocks ? /* @__PURE__ */ l(x, { children: (t = e.blocks) == null ? void 0 : t.map((o) => /* @__PURE__ */ l(
637
- N,
636
+ e.blocks ? /* @__PURE__ */ l(b, { children: (t = e.blocks) == null ? void 0 : t.map((o) => /* @__PURE__ */ l(
637
+ W,
638
638
  {
639
639
  block: o,
640
640
  context: e.context,
@@ -642,8 +642,8 @@ function D(e) {
642
642
  },
643
643
  "render-block-" + o.id
644
644
  )) }) : null,
645
- e.blocks ? /* @__PURE__ */ l(x, { children: (n = e.blocks) == null ? void 0 : n.map((o) => /* @__PURE__ */ l(
646
- H,
645
+ e.blocks ? /* @__PURE__ */ l(b, { children: (n = e.blocks) == null ? void 0 : n.map((o) => /* @__PURE__ */ l(
646
+ K,
647
647
  {
648
648
  block: o,
649
649
  context: e.context
@@ -656,60 +656,60 @@ function D(e) {
656
656
  }
657
657
  function gt(e) {
658
658
  var m;
659
- const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], o = e.stackColumnsAt || "tablet", i = function(u) {
660
- var y;
661
- return ((y = n[u]) == null ? void 0 : y.width) || 100 / n.length;
662
- }, r = function(u) {
663
- const y = t * (n.length - 1) / n.length;
664
- return `calc(${i(u)}% - ${y}px)`;
665
- }, a = function({
666
- stackedStyle: u,
667
- desktopStyle: y
659
+ const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], o = e.stackColumnsAt || "tablet", i = function(d) {
660
+ var v;
661
+ return ((v = n[d]) == null ? void 0 : v.width) || 100 / n.length;
662
+ }, a = function(d) {
663
+ const v = t * (n.length - 1) / n.length;
664
+ return `calc(${i(d)}% - ${v}px)`;
665
+ }, r = function({
666
+ stackedStyle: d,
667
+ desktopStyle: v
668
668
  }) {
669
- return o === "tablet" ? u : y;
669
+ return o === "tablet" ? d : v;
670
670
  }, s = function({
671
- stackedStyle: u,
672
- desktopStyle: y
671
+ stackedStyle: d,
672
+ desktopStyle: v
673
673
  }) {
674
- return o === "never" ? y : u;
675
- }, c = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", d = function() {
674
+ return o === "never" ? v : d;
675
+ }, c = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", u = function() {
676
676
  return {
677
677
  "--flex-dir": c,
678
- "--flex-dir-tablet": a({
678
+ "--flex-dir-tablet": r({
679
679
  stackedStyle: c,
680
680
  desktopStyle: "row"
681
681
  })
682
682
  };
683
- }, f = function(u) {
684
- const y = u === 0 ? 0 : t, S = r(u), g = `${y}px`, A = "100%", R = 0;
683
+ }, f = function(d) {
684
+ const v = d === 0 ? 0 : t, S = a(d), p = `${v}px`, A = "100%", E = 0;
685
685
  return {
686
686
  width: S,
687
- ["marginLeft"]: g,
687
+ ["marginLeft"]: p,
688
688
  "--column-width-mobile": s({
689
689
  stackedStyle: A,
690
690
  desktopStyle: S
691
691
  }),
692
692
  "--column-margin-left-mobile": s({
693
- stackedStyle: R,
694
- desktopStyle: g
693
+ stackedStyle: E,
694
+ desktopStyle: p
695
695
  }),
696
- "--column-width-tablet": a({
696
+ "--column-width-tablet": r({
697
697
  stackedStyle: A,
698
698
  desktopStyle: S
699
699
  }),
700
- "--column-margin-left-tablet": a({
701
- stackedStyle: R,
702
- desktopStyle: g
700
+ "--column-margin-left-tablet": r({
701
+ stackedStyle: E,
702
+ desktopStyle: p
703
703
  })
704
704
  };
705
- }, p = function(u) {
706
- var S, g;
705
+ }, g = function(d) {
706
+ var S, p;
707
707
  return me(
708
- ((g = (S = e.builderContext.content) == null ? void 0 : S.meta) == null ? void 0 : g.breakpoints) || {}
709
- )[u].max;
710
- }, b = function() {
708
+ ((p = (S = e.builderContext.content) == null ? void 0 : S.meta) == null ? void 0 : p.breakpoints) || {}
709
+ )[d].max;
710
+ }, y = function() {
711
711
  return `
712
- @media (max-width: ${p("medium")}px) {
712
+ @media (max-width: ${g("medium")}px) {
713
713
  .${e.builderBlock.id}-breakpoints {
714
714
  flex-direction: var(--flex-dir-tablet);
715
715
  align-items: stretch;
@@ -721,7 +721,7 @@ function gt(e) {
721
721
  }
722
722
  }
723
723
 
724
- @media (max-width: ${p("small")}px) {
724
+ @media (max-width: ${g("small")}px) {
725
725
  .${e.builderBlock.id}-breakpoints {
726
726
  flex-direction: var(--flex-dir);
727
727
  align-items: stretch;
@@ -734,25 +734,25 @@ function gt(e) {
734
734
  },
735
735
  `;
736
736
  };
737
- return /* @__PURE__ */ C(x, { children: [
738
- /* @__PURE__ */ C(
737
+ return /* @__PURE__ */ w(b, { children: [
738
+ /* @__PURE__ */ w(
739
739
  "div",
740
740
  {
741
741
  className: `builder-columns ${e.builderBlock.id}-breakpoints div-0d69fe26`,
742
- style: d(),
742
+ style: u(),
743
743
  children: [
744
- /* @__PURE__ */ l(x, { children: /* @__PURE__ */ l(F, { styles: b() }) }),
745
- (m = e.columns) == null ? void 0 : m.map((h, u) => /* @__PURE__ */ Ve(
744
+ /* @__PURE__ */ l(b, { children: /* @__PURE__ */ l(F, { styles: y() }) }),
745
+ (m = e.columns) == null ? void 0 : m.map((h, d) => /* @__PURE__ */ Pe(
746
746
  "div",
747
747
  {
748
748
  className: "builder-column div-0d69fe26-2",
749
- style: f(u),
750
- key: u
749
+ style: f(d),
750
+ key: d
751
751
  },
752
752
  /* @__PURE__ */ l(
753
- D,
753
+ H,
754
754
  {
755
- path: `component.options.columns.${u}.blocks`,
755
+ path: `component.options.columns.${d}.blocks`,
756
756
  parent: e.builderBlock.id,
757
757
  styleProp: {
758
758
  flexGrow: "1"
@@ -790,12 +790,12 @@ function bt(e, t) {
790
790
  return Z(e);
791
791
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
792
792
  if (n) {
793
- const o = e.split(n[0]), i = n[3], r = t.match("x") ? t : `${t}x`;
794
- return Z(`${o[0]}_${r}${i}`);
793
+ const o = e.split(n[0]), i = n[3], a = t.match("x") ? t : `${t}x`;
794
+ return Z(`${o[0]}_${a}${i}`);
795
795
  }
796
796
  return null;
797
797
  }
798
- function _n(e) {
798
+ function Mn(e) {
799
799
  if (!e)
800
800
  return e;
801
801
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
@@ -822,13 +822,13 @@ const yt = (e) => {
822
822
  k.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
823
823
  return;
824
824
  }
825
- }, ge = async (e) => he(e), xt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(I).join("; "), St = [["secure", ""], ["SameSite", "None"]], vt = ({
825
+ }, ge = async (e) => he(e), vt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(I).join("; "), xt = [["secure", ""], ["SameSite", "None"]], St = ({
826
826
  name: e,
827
827
  value: t,
828
828
  expires: n
829
829
  }) => {
830
- const i = (v() ? location.protocol === "https:" : !0) ? St : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], a = [[e, t], ...r, ["path", "/"], ["domain", yt(window.location.hostname)], ...i];
831
- return xt(a);
830
+ const i = (x() ? location.protocol === "https:" : !0) ? xt : [[]], a = n ? [["expires", n.toUTCString()]] : [[]], r = [[e, t], ...a, ["path", "/"], ["domain", yt(window.location.hostname)], ...i];
831
+ return vt(r);
832
832
  }, pe = async ({
833
833
  name: e,
834
834
  value: t,
@@ -838,7 +838,7 @@ const yt = (e) => {
838
838
  try {
839
839
  if (!o)
840
840
  return;
841
- const i = vt({
841
+ const i = St({
842
842
  name: e,
843
843
  value: t,
844
844
  expires: n
@@ -847,12 +847,12 @@ const yt = (e) => {
847
847
  } catch (i) {
848
848
  k.warn("[COOKIE] SET error: ", (i == null ? void 0 : i.message) || i);
849
849
  }
850
- }, kt = "builder.tests", z = (e) => `${kt}.${e}`, wt = ({
850
+ }, kt = "builder.tests", z = (e) => `${kt}.${e}`, Ct = ({
851
851
  contentId: e
852
852
  }) => ge({
853
853
  name: z(e),
854
854
  canTrack: !0
855
- }), Ct = ({
855
+ }), wt = ({
856
856
  contentId: e
857
857
  }) => he({
858
858
  name: z(e),
@@ -871,10 +871,10 @@ const yt = (e) => {
871
871
  var i;
872
872
  let n = 0;
873
873
  const o = Math.random();
874
- for (const r in t) {
875
- const a = (i = t[r]) == null ? void 0 : i.testRatio;
876
- if (n += a, o < n)
877
- return r;
874
+ for (const a in t) {
875
+ const r = (i = t[a]) == null ? void 0 : i.testRatio;
876
+ if (n += r, o < n)
877
+ return a;
878
878
  }
879
879
  return e;
880
880
  }, ye = (e) => {
@@ -885,7 +885,7 @@ const yt = (e) => {
885
885
  }).catch((n) => {
886
886
  k.error("could not store A/B test variation: ", n);
887
887
  }), t;
888
- }, xe = ({
888
+ }, ve = ({
889
889
  item: e,
890
890
  testGroupId: t
891
891
  }) => {
@@ -899,7 +899,7 @@ const yt = (e) => {
899
899
  testVariationId: n.id,
900
900
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
901
901
  };
902
- }, Rt = ({
902
+ }, Et = ({
903
903
  item: e,
904
904
  canTrack: t
905
905
  }) => {
@@ -909,12 +909,12 @@ const yt = (e) => {
909
909
  return;
910
910
  if (!be(e))
911
911
  return e;
912
- const n = Ct({
912
+ const n = wt({
913
913
  contentId: e.id
914
914
  }) || ye({
915
915
  variations: e.variations,
916
916
  id: e.id
917
- }), o = xe({
917
+ }), o = ve({
918
918
  item: e,
919
919
  testGroupId: n
920
920
  });
@@ -922,18 +922,18 @@ const yt = (e) => {
922
922
  ...e,
923
923
  ...o
924
924
  };
925
- }, Et = async ({
925
+ }, Rt = async ({
926
926
  item: e,
927
927
  canTrack: t
928
928
  }) => {
929
929
  if (!t || !be(e))
930
930
  return e;
931
- const o = await wt({
931
+ const o = await Ct({
932
932
  contentId: e.id
933
933
  }) || ye({
934
934
  variations: e.variations,
935
935
  id: e.id
936
- }), i = xe({
936
+ }), i = ve({
937
937
  item: e,
938
938
  testGroupId: o
939
939
  });
@@ -941,7 +941,7 @@ const yt = (e) => {
941
941
  ...e,
942
942
  ...i
943
943
  };
944
- }, U = (e) => I(e) ? e : !0, At = {
944
+ }, L = (e) => I(e) ? e : !0, At = {
945
945
  name: "Core:Button",
946
946
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
947
947
  defaultStyles: {
@@ -974,7 +974,7 @@ const yt = (e) => {
974
974
  }],
975
975
  static: !0,
976
976
  noWrap: !0
977
- }, Bt = {
977
+ }, Vt = {
978
978
  // TODO: ways to statically preprocess JSON for references, functions, etc
979
979
  name: "Columns",
980
980
  isRSC: !0,
@@ -1153,7 +1153,7 @@ const yt = (e) => {
1153
1153
  });
1154
1154
  }
1155
1155
  const n = e.get("columns");
1156
- Array.isArray(n) && n.find((i) => i.get("width")) && (n.find((r) => !r.get("width")) || n.reduce((s, c) => s + c.get("width"), 0) !== 100) && t();
1156
+ Array.isArray(n) && n.find((i) => i.get("width")) && (n.find((a) => !a.get("width")) || n.reduce((s, c) => s + c.get("width"), 0) !== 100) && t();
1157
1157
  }
1158
1158
  }, {
1159
1159
  name: "space",
@@ -1175,7 +1175,7 @@ const yt = (e) => {
1175
1175
  helperText: "When stacking columns for mobile devices, reverse the ordering",
1176
1176
  advanced: !0
1177
1177
  }]
1178
- }, Pt = {
1178
+ }, Bt = {
1179
1179
  name: "Custom Code",
1180
1180
  static: !0,
1181
1181
  requiredPermissions: ["editCode"],
@@ -1197,7 +1197,7 @@ const yt = (e) => {
1197
1197
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
1198
1198
  advanced: !0
1199
1199
  }]
1200
- }, Vt = {
1200
+ }, Pt = {
1201
1201
  name: "Embed",
1202
1202
  static: !0,
1203
1203
  inputs: [{
@@ -1222,7 +1222,7 @@ const yt = (e) => {
1222
1222
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
1223
1223
  hideFromUI: !0
1224
1224
  }]
1225
- }, $t = ["text/javascript", "application/javascript", "application/ecmascript"], jn = (e) => $t.includes(e.type), Ot = {
1225
+ }, $t = ["text/javascript", "application/javascript", "application/ecmascript"], Dn = (e) => $t.includes(e.type), Ot = {
1226
1226
  name: "Fragment",
1227
1227
  static: !0,
1228
1228
  hidden: !0,
@@ -1248,29 +1248,29 @@ const yt = (e) => {
1248
1248
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1249
1249
  onChange: (e) => {
1250
1250
  e.delete("srcset"), e.delete("noWebp");
1251
- function n(a, s = 6e4) {
1252
- return new Promise((c, d) => {
1251
+ function n(r, s = 6e4) {
1252
+ return new Promise((c, u) => {
1253
1253
  const f = document.createElement("img");
1254
- let p = !1;
1254
+ let g = !1;
1255
1255
  f.onload = () => {
1256
- p = !0, c(f);
1257
- }, f.addEventListener("error", (b) => {
1258
- console.warn("Image load failed", b.error), d(b.error);
1259
- }), f.src = a, setTimeout(() => {
1260
- p || d(new Error("Image load timed out"));
1256
+ g = !0, c(f);
1257
+ }, f.addEventListener("error", (y) => {
1258
+ console.warn("Image load failed", y.error), u(y.error);
1259
+ }), f.src = r, setTimeout(() => {
1260
+ g || u(new Error("Image load timed out"));
1261
1261
  }, s);
1262
1262
  });
1263
1263
  }
1264
- function o(a) {
1265
- return Math.round(a * 1e3) / 1e3;
1264
+ function o(r) {
1265
+ return Math.round(r * 1e3) / 1e3;
1266
1266
  }
1267
- const i = e.get("image"), r = e.get("aspectRatio");
1268
- if (fetch(i).then((a) => a.blob()).then((a) => {
1269
- a.type.includes("svg") && e.set("noWebp", !0);
1270
- }), i && (!r || r === 0.7041))
1271
- return n(i).then((a) => {
1267
+ const i = e.get("image"), a = e.get("aspectRatio");
1268
+ if (fetch(i).then((r) => r.blob()).then((r) => {
1269
+ r.type.includes("svg") && e.set("noWebp", !0);
1270
+ }), i && (!a || a === 0.7041))
1271
+ return n(i).then((r) => {
1272
1272
  const s = e.get("aspectRatio");
1273
- e.get("image") === i && (!s || s === 0.7041) && a.width && a.height && (e.set("aspectRatio", o(a.height / a.width)), e.set("height", a.height), e.set("width", a.width));
1273
+ e.get("image") === i && (!s || s === 0.7041) && r.width && r.height && (e.set("aspectRatio", o(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
1274
1274
  });
1275
1275
  }
1276
1276
  }, {
@@ -1328,7 +1328,7 @@ const yt = (e) => {
1328
1328
  advanced: !0,
1329
1329
  defaultValue: 0.7041
1330
1330
  }]
1331
- }, Nt = {
1331
+ }, Wt = {
1332
1332
  // friendlyName?
1333
1333
  name: "Raw:Img",
1334
1334
  hideFromInsertMenu: !0,
@@ -1342,7 +1342,7 @@ const yt = (e) => {
1342
1342
  }],
1343
1343
  noWrap: !0,
1344
1344
  static: !0
1345
- }, Wt = {
1345
+ }, Nt = {
1346
1346
  name: "Core:Section",
1347
1347
  static: !0,
1348
1348
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1381,7 +1381,7 @@ const yt = (e) => {
1381
1381
  }
1382
1382
  }
1383
1383
  }]
1384
- }, Lt = {
1384
+ }, _t = {
1385
1385
  name: "Symbol",
1386
1386
  noWrap: !0,
1387
1387
  static: !0,
@@ -1414,7 +1414,7 @@ const yt = (e) => {
1414
1414
  hideFromUI: !0,
1415
1415
  type: "boolean"
1416
1416
  }]
1417
- }, Ut = {
1417
+ }, Lt = {
1418
1418
  name: "Text",
1419
1419
  static: !0,
1420
1420
  isRSC: !0,
@@ -1433,7 +1433,7 @@ const yt = (e) => {
1433
1433
  textAlign: "center"
1434
1434
  }
1435
1435
  };
1436
- function Mt(e) {
1436
+ function Ut(e) {
1437
1437
  var t;
1438
1438
  return /* @__PURE__ */ l(
1439
1439
  "div",
@@ -1446,7 +1446,7 @@ function Mt(e) {
1446
1446
  }
1447
1447
  );
1448
1448
  }
1449
- const _t = {
1449
+ const Mt = {
1450
1450
  name: "Video",
1451
1451
  canHaveChildren: !0,
1452
1452
  defaultStyles: {
@@ -1532,164 +1532,181 @@ const _t = {
1532
1532
  ...At
1533
1533
  }, {
1534
1534
  component: gt,
1535
+ ...Vt
1536
+ }, {
1537
+ component: We,
1535
1538
  ...Bt
1536
1539
  }, {
1537
1540
  component: Ne,
1538
1541
  ...Pt
1539
1542
  }, {
1540
- component: We,
1541
- ...Vt
1543
+ component: _e,
1544
+ ...Ot
1542
1545
  }, {
1543
1546
  component: Le,
1544
- ...Ot
1547
+ ...Ft
1545
1548
  }, {
1546
1549
  component: Ue,
1547
- ...Ft
1550
+ ...Wt
1548
1551
  }, {
1549
1552
  component: Me,
1550
1553
  ...Nt
1551
- }, {
1552
- component: _e,
1553
- ...Wt
1554
1554
  }, {
1555
1555
  component: On,
1556
- ...Lt
1556
+ ..._t
1557
1557
  }, {
1558
- component: Mt,
1559
- ...Ut
1558
+ component: Ut,
1559
+ ...Lt
1560
1560
  }, {
1561
- component: je,
1562
- ..._t
1563
- }], te = [], Kn = (e) => ({
1561
+ component: De,
1562
+ ...Mt
1563
+ }], te = [], jn = (e) => ({
1564
1564
  type: "builder.registerComponent",
1565
- data: M(e)
1566
- }), jt = (e) => {
1565
+ data: U(e)
1566
+ }), Dt = (e) => {
1567
1567
  const t = e.toString().trim();
1568
1568
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
1569
- }, Kt = (e) => typeof e == "function" ? jt(e) : O(e), M = ({
1569
+ }, jt = (e) => typeof e == "function" ? Dt(e) : O(e), U = ({
1570
1570
  inputs: e,
1571
1571
  ...t
1572
1572
  }) => ({
1573
1573
  ...O(t),
1574
- inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [i, r]) => ({
1574
+ inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [i, a]) => ({
1575
1575
  ...o,
1576
- [i]: Kt(r)
1576
+ [i]: jt(a)
1577
1577
  }), {}))
1578
- }), P = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
1579
- ...t,
1580
- testVariationId: t.id,
1581
- id: e == null ? void 0 : e.id
1582
- })), Ht = ({
1583
- canTrack: e,
1584
- content: t
1585
- }) => !(!(P(t).length > 0) || !e || v());
1586
- function Dt(e, t, n) {
1587
- var a;
1588
- function o() {
1589
- function s(h, u, y) {
1590
- let S = "";
1591
- if (y) {
1592
- const g = /* @__PURE__ */ new Date();
1593
- g.setTime(g.getTime() + y * 24 * 60 * 60 * 1e3), S = "; expires=" + g.toUTCString();
1578
+ }), Kt = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
1579
+ function getAndSetVariantId() {
1580
+ function setCookie(name, value, days) {
1581
+ let expires = '';
1582
+ if (days) {
1583
+ const date = new Date();
1584
+ date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
1585
+ expires = '; expires=' + date.toUTCString();
1594
1586
  }
1595
- document.cookie = h + "=" + (u || "") + S + "; path=/; Secure; SameSite=None";
1587
+ document.cookie = name + '=' + (value || '') + expires + '; path=/' + '; Secure; SameSite=None';
1596
1588
  }
1597
- function c(h) {
1598
- const u = h + "=", y = document.cookie.split(";");
1599
- for (let S = 0; S < y.length; S++) {
1600
- let g = y[S];
1601
- for (; g.charAt(0) === " "; )
1602
- g = g.substring(1, g.length);
1603
- if (g.indexOf(u) === 0)
1604
- return g.substring(u.length, g.length);
1589
+ function getCookie(name) {
1590
+ const nameEQ = name + '=';
1591
+ const ca = document.cookie.split(';');
1592
+ for (let i = 0; i < ca.length; i++) {
1593
+ let c = ca[i];
1594
+ while (c.charAt(0) === ' ') c = c.substring(1, c.length);
1595
+ if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
1605
1596
  }
1606
1597
  return null;
1607
1598
  }
1608
- const d = `builder.tests.${e}`, f = c(d), p = t.map((h) => h.id).concat(e);
1609
- if (f && p.includes(f))
1610
- return f;
1611
- let b = 0;
1612
- const m = Math.random();
1613
- for (let h = 0; h < t.length; h++) {
1614
- const u = t[h], y = u.testRatio;
1615
- if (b += y, m < b)
1616
- return s(d, u.id), u.id;
1599
+ const cookieName = \`builder.tests.\${contentId}\`;
1600
+ const variantInCookie = getCookie(cookieName);
1601
+ const availableIDs = variants.map(vr => vr.id).concat(contentId);
1602
+ if (variantInCookie && availableIDs.includes(variantInCookie)) {
1603
+ return variantInCookie;
1617
1604
  }
1618
- return s(d, e), e;
1605
+ let n = 0;
1606
+ const random = Math.random();
1607
+ for (let i = 0; i < variants.length; i++) {
1608
+ const variant = variants[i];
1609
+ const testRatio = variant.testRatio;
1610
+ n += testRatio;
1611
+ if (random < n) {
1612
+ setCookie(cookieName, variant.id);
1613
+ return variant.id;
1614
+ }
1615
+ }
1616
+ setCookie(cookieName, contentId);
1617
+ return contentId;
1619
1618
  }
1620
- const i = o(), r = (a = document.currentScript) == null ? void 0 : a.previousElementSibling;
1621
- if (n) {
1622
- r.remove();
1623
- const s = document.currentScript;
1624
- s == null || s.remove();
1619
+ const winningVariantId = getAndSetVariantId();
1620
+ const styleEl = document.currentScript?.previousElementSibling;
1621
+ if (isHydrationTarget) {
1622
+ styleEl.remove();
1623
+ const thisScriptEl = document.currentScript;
1624
+ thisScriptEl?.remove();
1625
1625
  } else {
1626
- const s = t.concat({
1627
- id: e
1628
- }).filter((c) => c.id !== i).map((c) => `.variant-${c.id} { display: none; }
1629
- `).join("");
1630
- r.innerHTML = s;
1626
+ const newStyleStr = variants.concat({
1627
+ id: contentId
1628
+ }).filter(variant => variant.id !== winningVariantId).map(value => {
1629
+ return \`.variant-\${value.id} { display: none; }
1630
+ \`;
1631
+ }).join('');
1632
+ styleEl.innerHTML = newStyleStr;
1631
1633
  }
1632
- }
1633
- function zt(e, t, n) {
1634
- var c;
1635
- if (!navigator.cookieEnabled)
1634
+ }`, Ht = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
1635
+ if (!navigator.cookieEnabled) {
1636
1636
  return;
1637
- function o(d) {
1638
- const f = d + "=", p = document.cookie.split(";");
1639
- for (let b = 0; b < p.length; b++) {
1640
- let m = p[b];
1641
- for (; m.charAt(0) === " "; )
1642
- m = m.substring(1, m.length);
1643
- if (m.indexOf(f) === 0)
1644
- return m.substring(f.length, m.length);
1637
+ }
1638
+ function getCookie(name) {
1639
+ const nameEQ = name + '=';
1640
+ const ca = document.cookie.split(';');
1641
+ for (let i = 0; i < ca.length; i++) {
1642
+ let c = ca[i];
1643
+ while (c.charAt(0) === ' ') c = c.substring(1, c.length);
1644
+ if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length, c.length);
1645
1645
  }
1646
1646
  return null;
1647
1647
  }
1648
- const i = `builder.tests.${t}`, r = o(i), a = (c = document.currentScript) == null ? void 0 : c.parentElement, s = e === t;
1649
- if (r === e) {
1650
- if (s)
1651
- return;
1652
- a == null || a.removeAttribute("hidden"), a == null || a.removeAttribute("aria-hidden");
1653
- } else {
1654
- s && (n ? a == null || a.remove() : (a == null || a.setAttribute("hidden", "true"), a == null || a.setAttribute("aria-hidden", "true")));
1655
- return;
1648
+ const cookieName = \`builder.tests.\${defaultContentId}\`;
1649
+ const winningVariant = getCookie(cookieName);
1650
+ const parentDiv = document.currentScript?.parentElement;
1651
+ const isDefaultContent = variantContentId === defaultContentId;
1652
+ const isWinningVariant = winningVariant === variantContentId;
1653
+ if (isWinningVariant && !isDefaultContent) {
1654
+ parentDiv?.removeAttribute('hidden');
1655
+ parentDiv?.removeAttribute('aria-hidden');
1656
+ } else if (!isWinningVariant && isDefaultContent) {
1657
+ parentDiv?.setAttribute('hidden', 'true');
1658
+ parentDiv?.setAttribute('aria-hidden', 'true');
1656
1659
  }
1657
- }
1658
- const qt = (e) => e === "react" || e === "reactNative", Se = qt(T), ve = "builderIoAbTest", ke = "builderIoRenderContent", Gt = () => {
1659
- const e = Dt.toString().replace(/\s+/g, " "), t = zt.toString().replace(/\s+/g, " ");
1660
- return `
1661
- window.${ve} = ${e}
1662
- window.${ke} = ${t}
1663
- `;
1664
- }, Jt = (e, t) => `
1665
- window.${ve}("${t}",${JSON.stringify(e)}, ${Se})`, Yt = ({
1660
+ if (isHydrationTarget) {
1661
+ if (!isWinningVariant) {
1662
+ parentDiv?.remove();
1663
+ }
1664
+ const thisScriptEl = document.currentScript;
1665
+ thisScriptEl?.remove();
1666
+ }
1667
+ return;
1668
+ }`, xe = "builderIoAbTest", Se = "builderIoRenderContent", B = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
1669
+ ...t,
1670
+ testVariationId: t.id,
1671
+ id: e == null ? void 0 : e.id
1672
+ })), zt = ({
1673
+ canTrack: e,
1674
+ content: t
1675
+ }) => !(!(B(t).length > 0) || !e || x()), qt = (e) => e === "react" || e === "reactNative", ke = qt(T), Gt = () => `
1676
+ window.${xe} = ${Kt}
1677
+ window.${Se} = ${Ht}
1678
+ `, Yt = (e, t) => `
1679
+ window.${xe}(
1680
+ "${t}",${JSON.stringify(e)}, ${ke}
1681
+ )`, Jt = ({
1666
1682
  contentId: e,
1667
1683
  variationId: t
1668
- }) => `
1669
- window.${ke}("${t}", "${e}", ${Se})`;
1670
- function _(e) {
1684
+ }) => `window.${Se}(
1685
+ "${t}", "${e}", ${ke}
1686
+ )`;
1687
+ function M(e) {
1671
1688
  return /* @__PURE__ */ l(
1672
1689
  "script",
1673
1690
  {
1674
1691
  dangerouslySetInnerHTML: { __html: e.scriptStr },
1675
- id: e.id
1692
+ id: e.id || ""
1676
1693
  }
1677
1694
  );
1678
1695
  }
1679
- const Xt = (e) => {
1696
+ const Qt = (e) => {
1680
1697
  const t = e.get("preview"), n = e.get("overrides." + t);
1681
1698
  return n || k.warn("No previewed ID found in search params."), n;
1682
1699
  };
1683
- function Qt() {
1684
- globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new Pe({
1700
+ function Xt() {
1701
+ globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new Be({
1685
1702
  max: 500,
1686
1703
  // how long to live in ms
1687
1704
  ttl: 1e3 * 60 * 5
1688
1705
  }));
1689
1706
  }
1690
1707
  function Zt(e) {
1691
- Qt();
1692
- const t = Xt(e);
1708
+ Xt();
1709
+ const t = Qt(e);
1693
1710
  return typeof t == "string" ? globalThis._BUILDER_PREVIEW_LRU_CACHE.get(t) : void 0;
1694
1711
  }
1695
1712
  function en() {
@@ -1703,39 +1720,39 @@ function tn() {
1703
1720
  return e;
1704
1721
  }
1705
1722
  const nn = tn();
1706
- function V(e, t = null, n = ".") {
1723
+ function P(e, t = null, n = ".") {
1707
1724
  return Object.keys(e).reduce((o, i) => {
1708
- const r = e[i], a = [t, i].filter(Boolean).join(n);
1709
- return [typeof r == "object", r !== null, !(Array.isArray(r) && r.length === 0)].every(Boolean) ? {
1725
+ const a = e[i], r = [t, i].filter(Boolean).join(n);
1726
+ return [typeof a == "object", a !== null, !(Array.isArray(a) && a.length === 0)].every(Boolean) ? {
1710
1727
  ...o,
1711
- ...V(r, a, n)
1728
+ ...P(a, r, n)
1712
1729
  } : {
1713
1730
  ...o,
1714
- [a]: r
1731
+ [r]: a
1715
1732
  };
1716
1733
  }, {});
1717
1734
  }
1718
- const on = "v3", ne = "builder.", rn = "options.", an = (e) => {
1735
+ const on = "v3", ne = "builder.", an = "options.", rn = (e) => {
1719
1736
  const t = {};
1720
1737
  return e.forEach((n, o) => {
1721
1738
  t[o] = n;
1722
1739
  }), t;
1723
- }, we = (e) => {
1740
+ }, Ce = (e) => {
1724
1741
  if (!e)
1725
1742
  return {};
1726
- const t = Ce(e), n = {};
1743
+ const t = we(e), n = {};
1727
1744
  return Object.keys(t).forEach((o) => {
1728
1745
  if (o.startsWith(ne)) {
1729
- const i = o.replace(ne, "").replace(rn, "");
1746
+ const i = o.replace(ne, "").replace(an, "");
1730
1747
  n[i] = t[o];
1731
1748
  }
1732
1749
  }), n;
1733
1750
  }, sn = () => {
1734
- if (!v())
1751
+ if (!x())
1735
1752
  return {};
1736
1753
  const e = new URLSearchParams(window.location.search);
1737
- return we(e);
1738
- }, Ce = (e) => e instanceof URLSearchParams ? an(e) : e, oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, q = (e) => {
1754
+ return Ce(e);
1755
+ }, we = (e) => e instanceof URLSearchParams ? rn(e) : e, oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, q = (e) => {
1739
1756
  let {
1740
1757
  noTraverse: t = !1
1741
1758
  } = e;
@@ -1743,47 +1760,47 @@ const on = "v3", ne = "builder.", rn = "options.", an = (e) => {
1743
1760
  limit: n = 30,
1744
1761
  userAttributes: o,
1745
1762
  query: i,
1746
- model: r,
1747
- apiKey: a,
1763
+ model: a,
1764
+ apiKey: r,
1748
1765
  includeRefs: s = !0,
1749
1766
  enrich: c,
1750
- locale: d,
1767
+ locale: u,
1751
1768
  apiVersion: f = on,
1752
- fields: p,
1753
- omit: b,
1769
+ fields: g,
1770
+ omit: y,
1754
1771
  offset: m,
1755
1772
  cacheSeconds: h,
1756
- staleCacheSeconds: u,
1757
- sort: y,
1773
+ staleCacheSeconds: d,
1774
+ sort: v,
1758
1775
  includeUnpublished: S
1759
1776
  } = e;
1760
- if (!a)
1777
+ if (!r)
1761
1778
  throw new Error("Missing API key");
1762
1779
  if (!["v2", "v3"].includes(f))
1763
1780
  throw new Error(`Invalid apiVersion: expected 'v2' or 'v3', received '${f}'`);
1764
1781
  (e.limit === void 0 || e.limit > 1) && !("noTraverse" in e) && (t = !0);
1765
- const g = new URL(`https://cdn.builder.io/api/${f}/content/${r}?apiKey=${a}&limit=${n}&noTraverse=${t}&includeRefs=${s}${d ? `&locale=${d}` : ""}${c ? `&enrich=${c}` : ""}`);
1766
- if (g.searchParams.set("omit", b || "meta.componentsUsed"), p && g.searchParams.set("fields", p), Number.isFinite(m) && m > -1 && g.searchParams.set("offset", String(Math.floor(m))), typeof S == "boolean" && g.searchParams.set("includeUnpublished", String(S)), h && oe(h) && g.searchParams.set("cacheSeconds", String(h)), u && oe(u) && g.searchParams.set("staleCacheSeconds", String(u)), y) {
1767
- const w = V({
1768
- sort: y
1782
+ const p = new URL(`https://cdn.builder.io/api/${f}/content/${a}?apiKey=${r}&limit=${n}&noTraverse=${t}&includeRefs=${s}${u ? `&locale=${u}` : ""}${c ? `&enrich=${c}` : ""}`);
1783
+ if (p.searchParams.set("omit", y || "meta.componentsUsed"), g && p.searchParams.set("fields", g), Number.isFinite(m) && m > -1 && p.searchParams.set("offset", String(Math.floor(m))), typeof S == "boolean" && p.searchParams.set("includeUnpublished", String(S)), h && oe(h) && p.searchParams.set("cacheSeconds", String(h)), d && oe(d) && p.searchParams.set("staleCacheSeconds", String(d)), v) {
1784
+ const C = P({
1785
+ sort: v
1769
1786
  });
1770
- for (const E in w)
1771
- g.searchParams.set(E, JSON.stringify(w[E]));
1787
+ for (const R in C)
1788
+ p.searchParams.set(R, JSON.stringify(C[R]));
1772
1789
  }
1773
1790
  const A = {
1774
1791
  ...sn(),
1775
- ...Ce(e.options || {})
1776
- }, R = V(A);
1777
- for (const w in R)
1778
- g.searchParams.set(w, String(R[w]));
1779
- if (o && g.searchParams.set("userAttributes", JSON.stringify(o)), i) {
1780
- const w = V({
1792
+ ...we(e.options || {})
1793
+ }, E = P(A);
1794
+ for (const C in E)
1795
+ p.searchParams.set(C, String(E[C]));
1796
+ if (o && p.searchParams.set("userAttributes", JSON.stringify(o)), i) {
1797
+ const C = P({
1781
1798
  query: i
1782
1799
  });
1783
- for (const E in w)
1784
- g.searchParams.set(E, JSON.stringify(w[E]));
1800
+ for (const R in C)
1801
+ p.searchParams.set(R, JSON.stringify(C[R]));
1785
1802
  }
1786
- return g;
1803
+ return p;
1787
1804
  }, cn = (e) => "results" in e;
1788
1805
  async function G(e) {
1789
1806
  const t = await Ie({
@@ -1792,38 +1809,38 @@ async function G(e) {
1792
1809
  });
1793
1810
  return t && t.results[0] || null;
1794
1811
  }
1795
- const Hn = G, ln = async (e) => {
1812
+ const Kn = G, ln = async (e) => {
1796
1813
  const t = q(e);
1797
1814
  return await (await nn(t.href)).json();
1798
- }, un = async (e, t, n = q(e)) => {
1799
- const o = U(e.canTrack);
1815
+ }, dn = async (e, t, n = q(e)) => {
1816
+ const o = L(e.canTrack);
1800
1817
  if (n.search.includes("preview=")) {
1801
- const r = [];
1802
- for (const a of t.results) {
1818
+ const a = [];
1819
+ for (const r of t.results) {
1803
1820
  const s = Zt(n.searchParams);
1804
- r.push(s || a);
1821
+ a.push(s || r);
1805
1822
  }
1806
- t.results = r;
1823
+ t.results = a;
1807
1824
  }
1808
- if (!o || !(v() || T === "reactNative"))
1825
+ if (!o || !(x() || T === "reactNative"))
1809
1826
  return t;
1810
1827
  try {
1811
- const r = [];
1812
- for (const a of t.results)
1813
- r.push(await Et({
1814
- item: a,
1828
+ const a = [];
1829
+ for (const r of t.results)
1830
+ a.push(await Rt({
1831
+ item: r,
1815
1832
  canTrack: o
1816
1833
  }));
1817
- t.results = r;
1818
- } catch (r) {
1819
- k.error("Could not process A/B tests. ", r);
1834
+ t.results = a;
1835
+ } catch (a) {
1836
+ k.error("Could not process A/B tests. ", a);
1820
1837
  }
1821
1838
  return t;
1822
1839
  };
1823
1840
  async function Ie(e) {
1824
1841
  try {
1825
1842
  const t = q(e), n = await ln(e);
1826
- return cn(n) ? un(e, n) : (k.error("Error fetching data. ", {
1843
+ return cn(n) ? dn(e, n) : (k.error("Error fetching data. ", {
1827
1844
  url: t,
1828
1845
  content: n,
1829
1846
  options: e
@@ -1832,26 +1849,26 @@ async function Ie(e) {
1832
1849
  return k.error("Error fetching data. ", t), null;
1833
1850
  }
1834
1851
  }
1835
- const Dn = Ie;
1852
+ const Hn = Ie;
1836
1853
  function zn() {
1837
- return !v() || j() ? !1 : location.search.indexOf("builder.preview=") !== -1;
1854
+ return !x() || D() ? !1 : location.search.indexOf("builder.preview=") !== -1;
1838
1855
  }
1839
- function dn() {
1856
+ function un() {
1840
1857
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
1841
1858
  const t = Math.random() * 16 | 0;
1842
1859
  return (e == "x" ? t : t & 3 | 8).toString(16);
1843
1860
  });
1844
1861
  }
1845
1862
  function Te() {
1846
- return dn().replace(/-/g, "");
1863
+ return un().replace(/-/g, "");
1847
1864
  }
1848
- const Re = "builderSessionId", mn = async ({
1865
+ const Ee = "builderSessionId", mn = async ({
1849
1866
  canTrack: e
1850
1867
  }) => {
1851
1868
  if (!e)
1852
1869
  return;
1853
1870
  const t = await ge({
1854
- name: Re,
1871
+ name: Ee,
1855
1872
  canTrack: e
1856
1873
  });
1857
1874
  if (I(t))
@@ -1867,16 +1884,16 @@ const Re = "builderSessionId", mn = async ({
1867
1884
  id: e,
1868
1885
  canTrack: t
1869
1886
  }) => pe({
1870
- name: Re,
1887
+ name: Ee,
1871
1888
  value: e,
1872
1889
  canTrack: t
1873
- }), Ee = () => v() && typeof localStorage < "u" ? localStorage : void 0, gn = ({
1890
+ }), Re = () => x() && typeof localStorage < "u" ? localStorage : void 0, gn = ({
1874
1891
  key: e,
1875
1892
  canTrack: t
1876
1893
  }) => {
1877
1894
  var n;
1878
1895
  try {
1879
- return t ? (n = Ee()) == null ? void 0 : n.getItem(e) : void 0;
1896
+ return t ? (n = Re()) == null ? void 0 : n.getItem(e) : void 0;
1880
1897
  } catch (o) {
1881
1898
  console.debug("[LocalStorage] GET error: ", o);
1882
1899
  return;
@@ -1888,7 +1905,7 @@ const Re = "builderSessionId", mn = async ({
1888
1905
  }) => {
1889
1906
  var o;
1890
1907
  try {
1891
- t && ((o = Ee()) == null || o.setItem(e, n));
1908
+ t && ((o = Re()) == null || o.setItem(e, n));
1892
1909
  } catch (i) {
1893
1910
  console.debug("[LocalStorage] SET error: ", i);
1894
1911
  }
@@ -1905,19 +1922,19 @@ const Re = "builderSessionId", mn = async ({
1905
1922
  return t;
1906
1923
  {
1907
1924
  const n = yn();
1908
- return xn({
1925
+ return vn({
1909
1926
  id: n,
1910
1927
  canTrack: e
1911
1928
  }), n;
1912
1929
  }
1913
- }, yn = () => Te(), xn = ({
1930
+ }, yn = () => Te(), vn = ({
1914
1931
  id: e,
1915
1932
  canTrack: t
1916
1933
  }) => pn({
1917
1934
  key: Ae,
1918
1935
  value: e,
1919
1936
  canTrack: t
1920
- }), Sn = async ({
1937
+ }), xn = async ({
1921
1938
  canTrack: e
1922
1939
  }) => {
1923
1940
  if (!e)
@@ -1934,7 +1951,7 @@ const Re = "builderSessionId", mn = async ({
1934
1951
  sessionId: t,
1935
1952
  visitorId: n
1936
1953
  };
1937
- }, vn = async ({
1954
+ }, Sn = async ({
1938
1955
  type: e,
1939
1956
  canTrack: t,
1940
1957
  apiKey: n,
@@ -1948,10 +1965,10 @@ const Re = "builderSessionId", mn = async ({
1948
1965
  url: location.href,
1949
1966
  ...o
1950
1967
  },
1951
- ...await Sn({
1968
+ ...await xn({
1952
1969
  canTrack: t
1953
1970
  }),
1954
- userAttributes: ue(),
1971
+ userAttributes: de(),
1955
1972
  ownerId: n
1956
1973
  }
1957
1974
  });
@@ -1960,11 +1977,11 @@ async function kn(e) {
1960
1977
  k.error("Missing API key for track call. Please provide your API key.");
1961
1978
  return;
1962
1979
  }
1963
- if (e.canTrack && !j() && (v() || T === "reactNative"))
1980
+ if (e.canTrack && !D() && (x() || T === "reactNative"))
1964
1981
  return fetch("https://cdn.builder.io/api/v1/track", {
1965
1982
  method: "POST",
1966
1983
  body: JSON.stringify({
1967
- events: [await vn(e)]
1984
+ events: [await Sn(e)]
1968
1985
  }),
1969
1986
  headers: {
1970
1987
  "content-type": "application/json"
@@ -1981,7 +1998,7 @@ const qn = (e) => kn({
1981
1998
  function ie(e) {
1982
1999
  return Math.round(e * 1e3) / 1e3;
1983
2000
  }
1984
- const wn = (e, t, n = !0) => {
2001
+ const Cn = (e, t, n = !0) => {
1985
2002
  if (!(e instanceof HTMLElement))
1986
2003
  return null;
1987
2004
  let o = n ? e : e.parentElement;
@@ -1992,38 +2009,38 @@ const wn = (e, t, n = !0) => {
1992
2009
  return o;
1993
2010
  } while (o = o.parentElement);
1994
2011
  return null;
1995
- }, Cn = (e) => wn(e, (t) => {
2012
+ }, wn = (e) => Cn(e, (t) => {
1996
2013
  const n = t.getAttribute("builder-id") || t.id;
1997
2014
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
1998
- }), re = ({
2015
+ }), ae = ({
1999
2016
  event: e,
2000
2017
  target: t
2001
2018
  }) => {
2002
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, i = e.clientY - n.top, r = ie(o / n.width), a = ie(i / n.height);
2019
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, i = e.clientY - n.top, a = ie(o / n.width), r = ie(i / n.height);
2003
2020
  return {
2004
- x: r,
2005
- y: a
2021
+ x: a,
2022
+ y: r
2006
2023
  };
2007
2024
  }, Gn = (e) => {
2008
- const t = e.target, n = t && Cn(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2025
+ const t = e.target, n = t && wn(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2009
2026
  return {
2010
2027
  targetBuilderElement: o || void 0,
2011
2028
  metadata: {
2012
- targetOffset: t ? re({
2029
+ targetOffset: t ? ae({
2013
2030
  event: e,
2014
2031
  target: t
2015
2032
  }) : void 0,
2016
- builderTargetOffset: n ? re({
2033
+ builderTargetOffset: n ? ae({
2017
2034
  event: e,
2018
2035
  target: n
2019
2036
  }) : void 0,
2020
2037
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
2021
2038
  }
2022
2039
  };
2023
- }, In = "0.7.2", ae = {};
2040
+ }, In = "0.7.4", re = {};
2024
2041
  function Tn(e, t) {
2025
- let n = ae[e];
2026
- if (n || (n = ae[e] = []), n.push(t), v()) {
2042
+ let n = re[e];
2043
+ if (n || (n = re[e] = []), n.push(t), x()) {
2027
2044
  const o = {
2028
2045
  type: "builder.register",
2029
2046
  data: {
@@ -2038,7 +2055,7 @@ function Tn(e, t) {
2038
2055
  }
2039
2056
  }
2040
2057
  }
2041
- const Jn = () => {
2058
+ const Yn = () => {
2042
2059
  Tn("insertMenu", {
2043
2060
  name: "_default",
2044
2061
  default: !0,
@@ -2062,9 +2079,9 @@ const Jn = () => {
2062
2079
  });
2063
2080
  };
2064
2081
  let se = !1;
2065
- const Yn = (e = {}) => {
2082
+ const Jn = (e = {}) => {
2066
2083
  var t, n;
2067
- se || (se = !0, v() && ((t = window.parent) == null || t.postMessage({
2084
+ se || (se = !0, x() && ((t = window.parent) == null || t.postMessage({
2068
2085
  type: "builder.sdkInfo",
2069
2086
  data: {
2070
2087
  target: T,
@@ -2083,33 +2100,33 @@ const Yn = (e = {}) => {
2083
2100
  }, "*"), window.addEventListener("message", ({
2084
2101
  data: o
2085
2102
  }) => {
2086
- var i, r;
2103
+ var i, a;
2087
2104
  if (o != null && o.type)
2088
2105
  switch (o.type) {
2089
2106
  case "builder.evaluate": {
2090
- const a = o.data.text, s = o.data.arguments || [], c = o.data.id, d = new Function(a);
2091
- let f, p = null;
2107
+ const r = o.data.text, s = o.data.arguments || [], c = o.data.id, u = new Function(r);
2108
+ let f, g = null;
2092
2109
  try {
2093
- f = d.apply(null, s);
2094
- } catch (b) {
2095
- p = b;
2110
+ f = u.apply(null, s);
2111
+ } catch (y) {
2112
+ g = y;
2096
2113
  }
2097
- p ? (i = window.parent) == null || i.postMessage({
2114
+ g ? (i = window.parent) == null || i.postMessage({
2098
2115
  type: "builder.evaluateError",
2099
2116
  data: {
2100
2117
  id: c,
2101
- error: p.message
2118
+ error: g.message
2102
2119
  }
2103
- }, "*") : f && typeof f.then == "function" ? f.then((b) => {
2120
+ }, "*") : f && typeof f.then == "function" ? f.then((y) => {
2104
2121
  var m;
2105
2122
  (m = window.parent) == null || m.postMessage({
2106
2123
  type: "builder.evaluateResult",
2107
2124
  data: {
2108
2125
  id: c,
2109
- result: b
2126
+ result: y
2110
2127
  }
2111
2128
  }, "*");
2112
- }).catch(console.error) : (r = window.parent) == null || r.postMessage({
2129
+ }).catch(console.error) : (a = window.parent) == null || a.postMessage({
2113
2130
  type: "builder.evaluateResult",
2114
2131
  data: {
2115
2132
  result: f,
@@ -2120,9 +2137,9 @@ const Yn = (e = {}) => {
2120
2137
  }
2121
2138
  }
2122
2139
  })));
2123
- }, Rn = (e) => {
2124
- var r;
2125
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((r = e == null ? void 0 : e.files) == null ? void 0 : r.regular);
2140
+ }, En = (e) => {
2141
+ var a;
2142
+ const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((a = e == null ? void 0 : e.files) == null ? void 0 : a.regular);
2126
2143
  let i = "";
2127
2144
  if (o && t && n && (i += `
2128
2145
  @font-face {
@@ -2132,36 +2149,36 @@ font-display: fallback;
2132
2149
  font-weight: 400;
2133
2150
  }
2134
2151
  `.trim()), e.files)
2135
- for (const a in e.files) {
2136
- if (!(String(Number(a)) === a))
2152
+ for (const r in e.files) {
2153
+ if (!(String(Number(r)) === r))
2137
2154
  continue;
2138
- const c = e.files[a];
2155
+ const c = e.files[r];
2139
2156
  c && c !== o && (i += `
2140
2157
  @font-face {
2141
2158
  font-family: "${t}";
2142
2159
  src: url('${c}') format('woff2');
2143
2160
  font-display: fallback;
2144
- font-weight: ${a};
2161
+ font-weight: ${r};
2145
2162
  }
2146
2163
  `.trim());
2147
2164
  }
2148
2165
  return i;
2149
- }, En = ({
2166
+ }, Rn = ({
2150
2167
  customFonts: e
2151
2168
  }) => {
2152
2169
  var t;
2153
- return ((t = e == null ? void 0 : e.map((n) => Rn(n))) == null ? void 0 : t.join(" ")) || "";
2170
+ return ((t = e == null ? void 0 : e.map((n) => En(n))) == null ? void 0 : t.join(" ")) || "";
2154
2171
  }, An = ({
2155
2172
  cssCode: e,
2156
2173
  contentId: t
2157
2174
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
2158
- function Bn(e) {
2175
+ function Vn(e) {
2159
2176
  const t = `
2160
2177
  ${An({
2161
2178
  cssCode: e.cssCode,
2162
2179
  contentId: e.contentId
2163
2180
  })}
2164
- ${En({
2181
+ ${Rn({
2165
2182
  customFonts: e.customFonts
2166
2183
  })}
2167
2184
 
@@ -2180,16 +2197,16 @@ ${En({
2180
2197
  `.trim();
2181
2198
  return /* @__PURE__ */ l(F, { styles: t });
2182
2199
  }
2183
- const Pn = ({
2200
+ const Bn = ({
2184
2201
  content: e,
2185
2202
  data: t,
2186
2203
  locale: n
2187
2204
  }) => {
2188
- var r, a, s;
2205
+ var a, r, s;
2189
2206
  const o = {};
2190
- (a = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || a.forEach((c) => {
2191
- var d;
2192
- c.name && c.defaultValue !== void 0 && ((d = e == null ? void 0 : e.data) != null && d.state) && e.data.state[c.name] === void 0 && (o[c.name] = c.defaultValue);
2207
+ (r = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || r.forEach((c) => {
2208
+ var u;
2209
+ c.name && c.defaultValue !== void 0 && ((u = e == null ? void 0 : e.data) != null && u.state) && e.data.state[c.name] === void 0 && (o[c.name] = c.defaultValue);
2193
2210
  });
2194
2211
  const i = {
2195
2212
  ...(s = e == null ? void 0 : e.data) == null ? void 0 : s.state,
@@ -2202,7 +2219,7 @@ const Pn = ({
2202
2219
  ...o,
2203
2220
  ...i
2204
2221
  };
2205
- }, Vn = ({
2222
+ }, Pn = ({
2206
2223
  content: e,
2207
2224
  data: t
2208
2225
  }) => e ? {
@@ -2214,12 +2231,12 @@ const Pn = ({
2214
2231
  meta: e == null ? void 0 : e.meta
2215
2232
  } : void 0;
2216
2233
  function ce(e) {
2217
- var i, r, a, s, c, d, f, p, b;
2218
- const t = Yt({
2234
+ var i, a, r, s, c, u, f, g, y;
2235
+ const t = Jt({
2219
2236
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
2220
2237
  variationId: (i = e.content) == null ? void 0 : i.testVariationId,
2221
2238
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
2222
- contentId: (r = e.content) == null ? void 0 : r.id
2239
+ contentId: (a = e.content) == null ? void 0 : a.id
2223
2240
  }), n = [
2224
2241
  ...ee(),
2225
2242
  // While this `components` object is deprecated, we must maintain support for it.
@@ -2230,21 +2247,21 @@ function ce(e) {
2230
2247
  ...te,
2231
2248
  ...e.customComponents || []
2232
2249
  ].reduce(
2233
- (m, { component: h, ...u }) => ({
2250
+ (m, { component: h, ...d }) => ({
2234
2251
  ...m,
2235
- [u.name]: {
2252
+ [d.name]: {
2236
2253
  component: h,
2237
- ...M(u)
2254
+ ...U(d)
2238
2255
  }
2239
2256
  }),
2240
2257
  {}
2241
2258
  ), o = {
2242
- content: Vn({
2259
+ content: Pn({
2243
2260
  content: e.content,
2244
2261
  data: e.data
2245
2262
  }),
2246
2263
  localState: void 0,
2247
- rootState: Pn({
2264
+ rootState: Bn({
2248
2265
  content: e.content,
2249
2266
  data: e.data,
2250
2267
  locale: e.locale
@@ -2263,16 +2280,16 @@ function ce(e) {
2263
2280
  ...te,
2264
2281
  ...e.customComponents || []
2265
2282
  ].reduce(
2266
- (m, { component: h, ...u }) => ({
2283
+ (m, { component: h, ...d }) => ({
2267
2284
  ...m,
2268
- [u.name]: M(u)
2285
+ [d.name]: U(d)
2269
2286
  }),
2270
2287
  {}
2271
2288
  ),
2272
2289
  inheritedStyles: {}
2273
2290
  };
2274
- return /* @__PURE__ */ C(
2275
- Ke,
2291
+ return /* @__PURE__ */ w(
2292
+ je,
2276
2293
  {
2277
2294
  content: e.content,
2278
2295
  model: e.model,
@@ -2282,23 +2299,22 @@ function ce(e) {
2282
2299
  locale: e.locale,
2283
2300
  includeRefs: e.includeRefs,
2284
2301
  enrich: e.enrich,
2285
- classNameProp: e.classNameProp,
2286
2302
  showContent: e.showContent,
2287
2303
  builderContextSignal: o,
2288
2304
  children: [
2289
- e.isSsrAbTest ? /* @__PURE__ */ l(x, { children: /* @__PURE__ */ l(_, { scriptStr: t }) }) : null,
2290
- /* @__PURE__ */ l(x, { children: /* @__PURE__ */ l(
2291
- Bn,
2305
+ e.isSsrAbTest ? /* @__PURE__ */ l(b, { children: /* @__PURE__ */ l(M, { scriptStr: t }) }) : null,
2306
+ /* @__PURE__ */ l(b, { children: /* @__PURE__ */ l(
2307
+ Vn,
2292
2308
  {
2293
- contentId: (a = o.content) == null ? void 0 : a.id,
2309
+ contentId: (r = o.content) == null ? void 0 : r.id,
2294
2310
  cssCode: (c = (s = o.content) == null ? void 0 : s.data) == null ? void 0 : c.cssCode,
2295
- customFonts: (f = (d = o.content) == null ? void 0 : d.data) == null ? void 0 : f.customFonts
2311
+ customFonts: (f = (u = o.content) == null ? void 0 : u.data) == null ? void 0 : f.customFonts
2296
2312
  }
2297
2313
  ) }),
2298
2314
  /* @__PURE__ */ l(
2299
- D,
2315
+ H,
2300
2316
  {
2301
- blocks: (b = (p = o.content) == null ? void 0 : p.data) == null ? void 0 : b.blocks,
2317
+ blocks: (y = (g = o.content) == null ? void 0 : g.data) == null ? void 0 : y.blocks,
2302
2318
  context: o,
2303
2319
  registeredComponents: n
2304
2320
  }
@@ -2307,49 +2323,48 @@ function ce(e) {
2307
2323
  }
2308
2324
  );
2309
2325
  }
2310
- function Be(e) {
2311
- var r, a, s;
2312
- const t = Ht({
2313
- canTrack: U(e.canTrack),
2326
+ function Ve(e) {
2327
+ var a, r;
2328
+ const t = zt({
2329
+ canTrack: L(e.canTrack),
2314
2330
  content: e.content
2315
2331
  }), n = function() {
2316
- var d;
2317
- return Jt(
2318
- P(e.content).map((f) => ({
2319
- id: f.testVariationId,
2320
- testRatio: f.testRatio
2332
+ var c;
2333
+ return Yt(
2334
+ B(e.content).map((u) => ({
2335
+ id: u.testVariationId,
2336
+ testRatio: u.testRatio
2321
2337
  })),
2322
- ((d = e.content) == null ? void 0 : d.id) || ""
2338
+ ((c = e.content) == null ? void 0 : c.id) || ""
2323
2339
  );
2324
2340
  }, o = function() {
2325
- return P(e.content).map((d) => `.variant-${d.testVariationId} { display: none; } `).join("");
2341
+ return B(e.content).map((c) => `.variant-${c.testVariationId} { display: none; } `).join("");
2326
2342
  }, i = function() {
2327
- var d;
2343
+ var c;
2328
2344
  return t ? {
2329
2345
  ...e.content,
2330
- testVariationId: (d = e.content) == null ? void 0 : d.id
2331
- } : Rt({
2346
+ testVariationId: (c = e.content) == null ? void 0 : c.id
2347
+ } : Et({
2332
2348
  item: e.content,
2333
- canTrack: U(e.canTrack)
2349
+ canTrack: L(e.canTrack)
2334
2350
  });
2335
2351
  };
2336
- return /* @__PURE__ */ C(x, { children: [
2337
- !e.__isNestedRender && T !== "reactNative" ? /* @__PURE__ */ l(x, { children: /* @__PURE__ */ l(_, { scriptStr: Gt() }) }) : null,
2338
- t ? /* @__PURE__ */ C(x, { children: [
2352
+ return /* @__PURE__ */ w(b, { children: [
2353
+ !e.__isNestedRender && T !== "reactNative" ? /* @__PURE__ */ l(b, { children: /* @__PURE__ */ l(M, { scriptStr: Gt() }) }) : null,
2354
+ t ? /* @__PURE__ */ w(b, { children: [
2339
2355
  /* @__PURE__ */ l(
2340
2356
  F,
2341
2357
  {
2342
- id: `variants-styles-${(r = e.content) == null ? void 0 : r.id}`,
2358
+ id: `variants-styles-${(a = e.content) == null ? void 0 : a.id}`,
2343
2359
  styles: o()
2344
2360
  }
2345
2361
  ),
2346
- /* @__PURE__ */ l(_, { scriptStr: n() }),
2347
- (a = P(e.content)) == null ? void 0 : a.map((c) => /* @__PURE__ */ l(
2362
+ /* @__PURE__ */ l(M, { scriptStr: n() }),
2363
+ (r = B(e.content)) == null ? void 0 : r.map((s) => /* @__PURE__ */ l(
2348
2364
  ce,
2349
2365
  {
2350
- content: c,
2366
+ content: s,
2351
2367
  showContent: !1,
2352
- classNameProp: void 0,
2353
2368
  model: e.model,
2354
2369
  data: e.data,
2355
2370
  context: e.context,
@@ -2362,14 +2377,13 @@ function Be(e) {
2362
2377
  enrich: e.enrich,
2363
2378
  isSsrAbTest: t
2364
2379
  },
2365
- c.testVariationId
2380
+ s.testVariationId
2366
2381
  ))
2367
2382
  ] }) : null,
2368
2383
  /* @__PURE__ */ l(
2369
2384
  ce,
2370
2385
  {
2371
2386
  content: i(),
2372
- classNameProp: `variant-${(s = e.content) == null ? void 0 : s.id}`,
2373
2387
  showContent: !0,
2374
2388
  model: e.model,
2375
2389
  data: e.data,
@@ -2406,21 +2420,21 @@ const $n = async ({
2406
2420
  });
2407
2421
  };
2408
2422
  async function On(e) {
2409
- var o, i, r, a;
2423
+ var o, i, a, r;
2410
2424
  const t = function() {
2411
- var c, d;
2425
+ var c, u;
2412
2426
  return [
2413
2427
  e.attributes.className,
2414
2428
  "builder-symbol",
2415
2429
  (c = e.symbol) != null && c.inline ? "builder-inline-symbol" : void 0,
2416
- (d = e.symbol) != null && d.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
2430
+ (u = e.symbol) != null && u.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
2417
2431
  ].filter(Boolean).join(" ");
2418
2432
  }, n = ((o = e.symbol) == null ? void 0 : o.content) || await $n({
2419
2433
  symbol: e.symbol,
2420
2434
  builderContextValue: e.builderContext
2421
2435
  });
2422
2436
  return /* @__PURE__ */ l("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ l(
2423
- Be,
2437
+ Ve,
2424
2438
  {
2425
2439
  __isNestedRender: !0,
2426
2440
  apiVersion: e.builderContext.apiVersion,
@@ -2430,16 +2444,16 @@ async function On(e) {
2430
2444
  data: {
2431
2445
  ...(i = e.symbol) == null ? void 0 : i.data,
2432
2446
  ...e.builderContext.localState,
2433
- ...(r = n == null ? void 0 : n.data) == null ? void 0 : r.state
2447
+ ...(a = n == null ? void 0 : n.data) == null ? void 0 : a.state
2434
2448
  },
2435
- model: (a = e.symbol) == null ? void 0 : a.model,
2449
+ model: (r = e.symbol) == null ? void 0 : r.model,
2436
2450
  content: n
2437
2451
  }
2438
2452
  ) });
2439
2453
  }
2440
- const Xn = D, Qn = Be, le = {};
2454
+ const Qn = H, Xn = Ve, le = {};
2441
2455
  function Zn(e) {
2442
- if (v()) {
2456
+ if (x()) {
2443
2457
  Object.assign(le, e);
2444
2458
  const t = {
2445
2459
  type: "builder.settingsChange",
@@ -2449,7 +2463,7 @@ function Zn(e) {
2449
2463
  }
2450
2464
  }
2451
2465
  const eo = async (e) => {
2452
- var o, i, r;
2466
+ var o, i, a;
2453
2467
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((i = e.userAttributes) == null ? void 0 : i.urlPath), n = {
2454
2468
  ...e,
2455
2469
  apiKey: e.apiKey,
@@ -2460,7 +2474,7 @@ const eo = async (e) => {
2460
2474
  urlPath: t
2461
2475
  } : {}
2462
2476
  },
2463
- options: we(e.searchParams || ((r = e.url) == null ? void 0 : r.searchParams) || e.options)
2477
+ options: Ce(e.searchParams || ((a = e.url) == null ? void 0 : a.searchParams) || e.options)
2464
2478
  };
2465
2479
  return {
2466
2480
  apiKey: n.apiKey,
@@ -2469,39 +2483,39 @@ const eo = async (e) => {
2469
2483
  };
2470
2484
  };
2471
2485
  export {
2472
- we as A,
2473
- D as B,
2474
- Be as C,
2486
+ Ce as A,
2487
+ H as B,
2488
+ Ve as C,
2475
2489
  qn as D,
2476
2490
  eo as E,
2477
- Xn as R,
2491
+ Qn as R,
2478
2492
  On as S,
2479
- Mt as T,
2493
+ Ut as T,
2480
2494
  kn as _,
2481
- Mn as a,
2482
- _n as b,
2483
- jn as c,
2484
- v as d,
2485
- U as e,
2495
+ Un as a,
2496
+ Mn as b,
2497
+ Dn as c,
2498
+ x as d,
2499
+ L as e,
2486
2500
  zn as f,
2487
- dt as g,
2488
- K as h,
2489
- j as i,
2501
+ ut as g,
2502
+ j as h,
2503
+ D as i,
2490
2504
  Gn as j,
2491
2505
  O as k,
2492
2506
  k as l,
2493
- Kn as m,
2507
+ jn as m,
2494
2508
  G as n,
2495
2509
  nn as o,
2496
- Qt as p,
2497
- Qn as q,
2498
- Jn as r,
2499
- Yn as s,
2510
+ Xt as p,
2511
+ Xn as q,
2512
+ Yn as r,
2513
+ Jn as s,
2500
2514
  gt as t,
2501
2515
  Tn as u,
2502
2516
  Zn as v,
2503
- un as w,
2517
+ dn as w,
2504
2518
  Ie as x,
2505
- Dn as y,
2506
- Hn as z
2519
+ Hn as y,
2520
+ Kn as z
2507
2521
  };