@builder.io/sdk-react-nextjs 0.11.2 → 0.11.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 (72) hide show
  1. package/lib/browser/{USE_CLIENT_BUNDLE-27f8858d.cjs → USE_CLIENT_BUNDLE-2986f66f.cjs} +4 -4
  2. package/lib/{node/USE_CLIENT_BUNDLE-fef58fdc.js → browser/USE_CLIENT_BUNDLE-812d744e.js} +32 -32
  3. package/lib/{edge/USE_SERVER_BUNDLE-8b1e2888.cjs → browser/USE_SERVER_BUNDLE-3646ae12.cjs} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-bc0c817b.js → browser/USE_SERVER_BUNDLE-7d93f151.js} +1 -1
  5. package/lib/browser/{bundle-4ee84dab.js → bundle-062859d6.js} +353 -378
  6. package/lib/browser/bundle-b781019e.cjs +168 -0
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +3 -3
  9. package/lib/{node/USE_CLIENT_BUNDLE-cdd14ec9.cjs → edge/USE_CLIENT_BUNDLE-7f127af4.cjs} +4 -4
  10. package/lib/{browser/USE_CLIENT_BUNDLE-336f80e4.js → edge/USE_CLIENT_BUNDLE-dc52931c.js} +32 -32
  11. package/lib/{node/USE_SERVER_BUNDLE-0bc450f5.js → edge/USE_SERVER_BUNDLE-207cbf86.js} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-830537df.cjs → edge/USE_SERVER_BUNDLE-29a862aa.cjs} +1 -1
  13. package/lib/edge/{bundle-d029deb6.cjs → bundle-24c6dba3.cjs} +32 -32
  14. package/lib/edge/{bundle-cd2b1a4d.js → bundle-52f65e64.js} +1018 -1043
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +3 -3
  17. package/lib/{edge/USE_CLIENT_BUNDLE-c3dc5e68.cjs → node/USE_CLIENT_BUNDLE-c9e8796d.cjs} +4 -4
  18. package/lib/{edge/USE_CLIENT_BUNDLE-73820ea9.js → node/USE_CLIENT_BUNDLE-d5a78124.js} +32 -32
  19. package/lib/{browser/USE_SERVER_BUNDLE-657cf8f3.js → node/USE_SERVER_BUNDLE-5a34a612.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-57d976dd.cjs → node/USE_SERVER_BUNDLE-f94a06b5.cjs} +1 -1
  21. package/lib/node/{bundle-e760a35e.js → bundle-829842dd.js} +232 -257
  22. package/lib/node/{bundle-a03659b6.cjs → bundle-b0598b3a.cjs} +11 -11
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +3 -3
  25. package/package.json +97 -5
  26. package/types/cjs/blocks/button/button.d.ts +1 -9
  27. package/types/cjs/blocks/button/button.types.d.ts +6 -0
  28. package/types/cjs/blocks/columns/columns.d.ts +2 -14
  29. package/types/cjs/blocks/columns/columns.types.d.ts +15 -0
  30. package/types/cjs/blocks/fragment/fragment.d.ts +1 -5
  31. package/types/cjs/blocks/fragment/fragment.types.d.ts +5 -0
  32. package/types/cjs/blocks/image/image.d.ts +1 -19
  33. package/types/cjs/blocks/image/image.types.d.ts +19 -0
  34. package/types/cjs/blocks/section/section.d.ts +1 -9
  35. package/types/cjs/blocks/section/section.types.d.ts +6 -0
  36. package/types/cjs/blocks/symbol/symbol.d.ts +2 -23
  37. package/types/cjs/blocks/symbol/symbol.types.d.ts +18 -0
  38. package/types/cjs/blocks/text/text.d.ts +1 -3
  39. package/types/cjs/blocks/text/text.types.d.ts +3 -0
  40. package/types/cjs/blocks/video/video.d.ts +1 -21
  41. package/types/cjs/blocks/video/video.types.d.ts +21 -0
  42. package/types/cjs/components/blocks/blocks.d.ts +1 -6
  43. package/types/cjs/components/blocks/blocks.types.d.ts +6 -0
  44. package/types/cjs/components/content-variants/content-variants.types.d.ts +30 -1
  45. package/types/cjs/constants/sdk-version.d.ts +1 -1
  46. package/types/cjs/functions/get-content/index.d.ts +1 -1
  47. package/types/cjs/functions/get-content/types.d.ts +2 -2
  48. package/types/cjs/server-index.d.ts +10 -1
  49. package/types/esm/blocks/button/button.d.ts +1 -9
  50. package/types/esm/blocks/button/button.types.d.ts +6 -0
  51. package/types/esm/blocks/columns/columns.d.ts +2 -14
  52. package/types/esm/blocks/columns/columns.types.d.ts +15 -0
  53. package/types/esm/blocks/fragment/fragment.d.ts +1 -5
  54. package/types/esm/blocks/fragment/fragment.types.d.ts +5 -0
  55. package/types/esm/blocks/image/image.d.ts +1 -19
  56. package/types/esm/blocks/image/image.types.d.ts +19 -0
  57. package/types/esm/blocks/section/section.d.ts +1 -9
  58. package/types/esm/blocks/section/section.types.d.ts +6 -0
  59. package/types/esm/blocks/symbol/symbol.d.ts +2 -23
  60. package/types/esm/blocks/symbol/symbol.types.d.ts +18 -0
  61. package/types/esm/blocks/text/text.d.ts +1 -3
  62. package/types/esm/blocks/text/text.types.d.ts +3 -0
  63. package/types/esm/blocks/video/video.d.ts +1 -21
  64. package/types/esm/blocks/video/video.types.d.ts +21 -0
  65. package/types/esm/components/blocks/blocks.d.ts +1 -6
  66. package/types/esm/components/blocks/blocks.types.d.ts +6 -0
  67. package/types/esm/components/content-variants/content-variants.types.d.ts +30 -1
  68. package/types/esm/constants/sdk-version.d.ts +1 -1
  69. package/types/esm/functions/get-content/index.d.ts +1 -1
  70. package/types/esm/functions/get-content/types.d.ts +2 -2
  71. package/types/esm/server-index.d.ts +10 -1
  72. package/lib/browser/bundle-343c6c9c.cjs +0 -168
@@ -1,17 +1,17 @@
1
- "use client";"use strict";const t=require("react/jsx-runtime"),c=require("./bundle-343c6c9c.cjs"),l=require("react"),V=require("./USE_SERVER_BUNDLE-57d976dd.cjs"),A=require("next/navigation");function D(e){return t.jsxs(t.Fragment,{children:[e.link?t.jsx(t.Fragment,{children:t.jsx("a",{...e.attributes,href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"button",children:e.text})}):t.jsx(t.Fragment,{children:t.jsx("button",{...e.attributes,style:e.attributes.style,className:e.attributes.className+" button-3ecc5438",children:e.text})}),t.jsx("style",{children:`.button-3ecc5438 {
1
+ "use client";"use strict";const t=require("react/jsx-runtime"),c=require("./bundle-b781019e.cjs"),l=require("react"),V=require("./USE_SERVER_BUNDLE-3646ae12.cjs"),A=require("next/navigation");function D(e){return t.jsxs(t.Fragment,{children:[e.link?t.jsx(t.Fragment,{children:t.jsx("a",{...e.attributes,href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"button",children:e.text})}):t.jsx(t.Fragment,{children:t.jsx("button",{...e.attributes,style:e.attributes.style,className:e.attributes.className+" button-fdf49de0",children:e.text})}),t.jsx("style",{children:`.button-fdf49de0 {
2
2
  all: unset;
3
3
  }`})]})}function U(e){return t.jsxs(t.Fragment,{children:[" ",e.hasChildren?t.jsx(t.Fragment,{children:t.jsxs(e.Wrapper,{...c.getBlockProperties({block:e.block,context:e.context}),...c.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}),children:[" ",e.children," "]})}):t.jsx(t.Fragment,{children:t.jsx(e.Wrapper,{...c.getBlockProperties({block:e.block,context:e.context}),...c.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0})})})," "]})}function H(e){return t.jsx(e.Wrapper,{...e.wrapperProps,attributes:e.includeBlockProps?{...c.getBlockProperties({block:e.block,context:e.context}),...c.getBlockActions({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{},children:e.children})}function O(e){function a(){var s;return"builder-blocks"+((s=e.blocks)!=null&&s.length?"":" no-blocks")}function g(){var s,f;c.isEditing()&&!((s=e.blocks)!=null&&s.length)&&((f=window.parent)==null||f.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function x(){var s,f;c.isEditing()&&!((s=e.blocks)!=null&&s.length)&&((f=window.parent)==null||f.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return t.jsxs(t.Fragment,{children:[t.jsx(e.BlocksWrapper,{className:a()+" props-blocks-wrapper-4f2c12d8","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:s=>g(),onMouseEnter:s=>x(),onKeyPress:s=>g(),...e.BlocksWrapperProps,children:e.children}),t.jsx("style",{children:`.props-blocks-wrapper-4f2c12d8 {
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  align-items: stretch;
7
- }`})]})}function J(e){return t.jsx("span",{children:e.children})}function $(e){var s,f,S,v;function a(){var b;const r=e.image||e.src;if(!r||!(r.match(/builder\.io/)||r.match(/cdn\.shopify\.com/)))return e.srcset;if(e.srcset&&((b=e.image)!=null&&b.includes("builder.io/api/v1/image"))){if(!e.srcset.includes(e.image.split("?")[0]))return console.debug("Removed given srcset"),c.getSrcSet(r)}else if(e.image&&!e.srcset)return c.getSrcSet(r);return c.getSrcSet(r)}function g(){var h;return(h=a==null?void 0:a())!=null&&h.match(/builder\.io/)&&!e.noWebp?a().replace(/\?/g,"?format=webp&"):""}function x(){const h={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return e.aspectRatio?h:void 0}return t.jsxs(t.Fragment,{children:[t.jsxs(t.Fragment,{children:[t.jsxs("picture",{children:[g()?t.jsx(t.Fragment,{children:t.jsx("source",{type:"image/webp",srcSet:g()})}):null,t.jsx("img",{loading:"lazy",alt:e.altText,role:e.altText?"presentation":void 0,style:{objectPosition:e.backgroundPosition||"center",objectFit:e.backgroundSize||"cover",...x()},className:"builder-image"+(e.className?" "+e.className:"")+" img-dbab4030",src:e.image,srcSet:a(),sizes:e.sizes})]}),e.aspectRatio&&!((f=(s=e.builderBlock)==null?void 0:s.children)!=null&&f.length&&e.fitContent)?t.jsx(t.Fragment,{children:t.jsx("div",{className:"builder-image-sizer div-dbab4030",style:{paddingTop:e.aspectRatio*100+"%"}})}):null,(v=(S=e.builderBlock)==null?void 0:S.children)!=null&&v.length&&e.fitContent?t.jsx(t.Fragment,{children:e.children}):null,!e.fitContent&&e.children?t.jsx(t.Fragment,{children:t.jsx("div",{className:"div-dbab4030-2",children:e.children})}):null]}),t.jsx("style",{children:`.img-dbab4030 {
7
+ }`})]})}function J(e){return t.jsx("span",{children:e.children})}function $(e){var s,f,S,v;function a(){var b;const r=e.image||e.src;if(!r||!(r.match(/builder\.io/)||r.match(/cdn\.shopify\.com/)))return e.srcset;if(e.srcset&&((b=e.image)!=null&&b.includes("builder.io/api/v1/image"))){if(!e.srcset.includes(e.image.split("?")[0]))return console.debug("Removed given srcset"),c.getSrcSet(r)}else if(e.image&&!e.srcset)return c.getSrcSet(r);return c.getSrcSet(r)}function g(){var h;return(h=a==null?void 0:a())!=null&&h.match(/builder\.io/)&&!e.noWebp?a().replace(/\?/g,"?format=webp&"):""}function x(){const h={position:"absolute",height:"100%",width:"100%",left:"0px",top:"0px"};return e.aspectRatio?h:void 0}return t.jsxs(t.Fragment,{children:[t.jsxs(t.Fragment,{children:[t.jsxs("picture",{children:[g()?t.jsx(t.Fragment,{children:t.jsx("source",{type:"image/webp",srcSet:g()})}):null,t.jsx("img",{loading:"lazy",alt:e.altText,role:e.altText?"presentation":void 0,style:{objectPosition:e.backgroundPosition||"center",objectFit:e.backgroundSize||"cover",...x()},className:"builder-image"+(e.className?" "+e.className:"")+" img-40c70c9b",src:e.image,srcSet:a(),sizes:e.sizes})]}),e.aspectRatio&&!((f=(s=e.builderBlock)==null?void 0:s.children)!=null&&f.length&&e.fitContent)?t.jsx(t.Fragment,{children:t.jsx("div",{className:"builder-image-sizer div-40c70c9b",style:{paddingTop:e.aspectRatio*100+"%"}})}):null,(v=(S=e.builderBlock)==null?void 0:S.children)!=null&&v.length&&e.fitContent?t.jsx(t.Fragment,{children:e.children}):null,!e.fitContent&&e.children?t.jsx(t.Fragment,{children:t.jsx("div",{className:"div-40c70c9b-2",children:e.children})}):null]}),t.jsx("style",{children:`.img-40c70c9b {
8
8
  opacity: 1;
9
9
  transition: opacity 0.2s ease-in-out;
10
- }.div-dbab4030 {
10
+ }.div-40c70c9b {
11
11
  width: 100%;
12
12
  pointer-events: none;
13
13
  font-size: 0;
14
- }.div-dbab4030-2 {
14
+ }.div-40c70c9b-2 {
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  align-items: stretch;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsxs as C, Fragment as m, jsx as i } from "react/jsx-runtime";
3
- import { g as T, a as B, i as E, b as R, c as Y, d as P, e as U, _ as H, f as Z, l as p, h as O, j as ee, k as te, r as ne, s as ie, m as ae, n as ce, o as re } from "./bundle-e760a35e.js";
3
+ import { g as T, a as B, i as E, b as R, c as Y, d as P, e as U, _ as H, f as Z, l as p, h as O, j as ee, k as te, r as ne, s as ie, m as ae, n as ce, o as re } from "./bundle-062859d6.js";
4
4
  import { useRef as N, useState as k, useEffect as v, createContext as oe, createElement as le } from "react";
5
- import { p as de } from "./USE_SERVER_BUNDLE-0bc450f5.js";
5
+ import { p as de } from "./USE_SERVER_BUNDLE-7d93f151.js";
6
6
  import { useRouter as se } from "next/navigation";
7
7
  function Se(e) {
8
8
  return /* @__PURE__ */ C(m, { children: [
@@ -20,11 +20,11 @@ function Se(e) {
20
20
  {
21
21
  ...e.attributes,
22
22
  style: e.attributes.style,
23
- className: e.attributes.className + " button-3ecc5438",
23
+ className: e.attributes.className + " button-fdf49de0",
24
24
  children: e.text
25
25
  }
26
26
  ) }),
27
- /* @__PURE__ */ i("style", { children: `.button-3ecc5438 {
27
+ /* @__PURE__ */ i("style", { children: `.button-fdf49de0 {
28
28
  all: unset;
29
29
  }` })
30
30
  ] });
@@ -113,7 +113,7 @@ function ye(e) {
113
113
  "*"
114
114
  ));
115
115
  }
116
- function f() {
116
+ function b() {
117
117
  var o, h;
118
118
  E() && !((o = e.blocks) != null && o.length) && ((h = window.parent) == null || h.postMessage(
119
119
  {
@@ -135,7 +135,7 @@ function ye(e) {
135
135
  "builder-parent-id": e.parent,
136
136
  style: e.styleProp,
137
137
  onClick: (o) => s(),
138
- onMouseEnter: (o) => f(),
138
+ onMouseEnter: (o) => b(),
139
139
  onKeyPress: (o) => s(),
140
140
  ...e.BlocksWrapperProps,
141
141
  children: e.children
@@ -168,18 +168,18 @@ function Ce(e) {
168
168
  return R(c);
169
169
  }
170
170
  function s() {
171
- var b;
172
- return (b = a == null ? void 0 : a()) != null && b.match(/builder\.io/) && !e.noWebp ? a().replace(/\?/g, "?format=webp&") : "";
171
+ var f;
172
+ return (f = a == null ? void 0 : a()) != null && f.match(/builder\.io/) && !e.noWebp ? a().replace(/\?/g, "?format=webp&") : "";
173
173
  }
174
- function f() {
175
- const b = {
174
+ function b() {
175
+ const f = {
176
176
  position: "absolute",
177
177
  height: "100%",
178
178
  width: "100%",
179
179
  left: "0px",
180
180
  top: "0px"
181
181
  };
182
- return e.aspectRatio ? b : void 0;
182
+ return e.aspectRatio ? f : void 0;
183
183
  }
184
184
  return /* @__PURE__ */ C(m, { children: [
185
185
  /* @__PURE__ */ C(m, { children: [
@@ -194,9 +194,9 @@ function Ce(e) {
194
194
  style: {
195
195
  objectPosition: e.backgroundPosition || "center",
196
196
  objectFit: e.backgroundSize || "cover",
197
- ...f()
197
+ ...b()
198
198
  },
199
- className: "builder-image" + (e.className ? " " + e.className : "") + " img-dbab4030",
199
+ className: "builder-image" + (e.className ? " " + e.className : "") + " img-40c70c9b",
200
200
  src: e.image,
201
201
  srcSet: a(),
202
202
  sizes: e.sizes
@@ -206,23 +206,23 @@ function Ce(e) {
206
206
  e.aspectRatio && !((h = (o = e.builderBlock) == null ? void 0 : o.children) != null && h.length && e.fitContent) ? /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(
207
207
  "div",
208
208
  {
209
- className: "builder-image-sizer div-dbab4030",
209
+ className: "builder-image-sizer div-40c70c9b",
210
210
  style: {
211
211
  paddingTop: e.aspectRatio * 100 + "%"
212
212
  }
213
213
  }
214
214
  ) }) : null,
215
215
  (x = (S = e.builderBlock) == null ? void 0 : S.children) != null && x.length && e.fitContent ? /* @__PURE__ */ i(m, { children: e.children }) : null,
216
- !e.fitContent && e.children ? /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i("div", { className: "div-dbab4030-2", children: e.children }) }) : null
216
+ !e.fitContent && e.children ? /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i("div", { className: "div-40c70c9b-2", children: e.children }) }) : null
217
217
  ] }),
218
- /* @__PURE__ */ i("style", { children: `.img-dbab4030 {
218
+ /* @__PURE__ */ i("style", { children: `.img-40c70c9b {
219
219
  opacity: 1;
220
220
  transition: opacity 0.2s ease-in-out;
221
- }.div-dbab4030 {
221
+ }.div-40c70c9b {
222
222
  width: 100%;
223
223
  pointer-events: none;
224
224
  font-size: 0;
225
- }.div-dbab4030-2 {
225
+ }.div-40c70c9b-2 {
226
226
  display: flex;
227
227
  flex-direction: column;
228
228
  align-items: stretch;
@@ -256,14 +256,14 @@ function we(e) {
256
256
  );
257
257
  }
258
258
  function Ee(e) {
259
- const a = N(null), [s, f] = k(() => []), [o, h] = k(() => []);
259
+ const a = N(null), [s, b] = k(() => []), [o, h] = k(() => []);
260
260
  return v(() => {
261
261
  var x;
262
262
  if (!((x = a.current) != null && x.getElementsByTagName) || typeof window > "u")
263
263
  return;
264
264
  const S = a.current.getElementsByTagName("script");
265
- for (let b = 0; b < S.length; b++) {
266
- const c = S[b];
265
+ for (let f = 0; f < S.length; f++) {
266
+ const c = S[f];
267
267
  if (c.src) {
268
268
  if (s.includes(c.src))
269
269
  continue;
@@ -294,8 +294,8 @@ function Ee(e) {
294
294
  );
295
295
  }
296
296
  function Ie(e) {
297
- const a = N(null), [s, f] = k(() => []), [o, h] = k(() => []), [S, x] = k(() => !1);
298
- function b() {
297
+ const a = N(null), [s, b] = k(() => []), [o, h] = k(() => []), [S, x] = k(() => !1);
298
+ function f() {
299
299
  if (!a.current || !a.current.getElementsByTagName)
300
300
  return;
301
301
  const c = a.current.getElementsByTagName("script");
@@ -314,7 +314,7 @@ function Ie(e) {
314
314
  }
315
315
  }
316
316
  return v(() => {
317
- a.current && !S && (x(!0), b());
317
+ a.current && !S && (x(!0), f());
318
318
  }, [a.current, S]), /* @__PURE__ */ i(
319
319
  "div",
320
320
  {
@@ -340,7 +340,7 @@ function Re(e) {
340
340
  );
341
341
  }
342
342
  function Pe(e) {
343
- var f, o, h, S, x, b, c;
343
+ var b, o, h, S, x, f, c;
344
344
  function a() {
345
345
  return {
346
346
  ...e.autoPlay === !0 ? {
@@ -381,7 +381,7 @@ function Pe(e) {
381
381
  style: {
382
382
  width: "100%",
383
383
  height: "100%",
384
- ...(f = e.attributes) == null ? void 0 : f.style,
384
+ ...(b = e.attributes) == null ? void 0 : b.style,
385
385
  objectFit: e.fit,
386
386
  objectPosition: e.position,
387
387
  // Hack to get object fit to work as expected and
@@ -419,7 +419,7 @@ function Pe(e) {
419
419
  children: e.children
420
420
  }
421
421
  ) }) : null,
422
- (c = (b = e.builderBlock) == null ? void 0 : b.children) != null && c.length && !e.fitContent ? /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(
422
+ (c = (f = e.builderBlock) == null ? void 0 : f.children) != null && c.length && !e.fitContent ? /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(
423
423
  "div",
424
424
  {
425
425
  style: {
@@ -456,7 +456,7 @@ const ue = oe({
456
456
  });
457
457
  function Te(e) {
458
458
  var F, z, M, _, V, q, A;
459
- const a = N(null), [s, f] = k(() => 0);
459
+ const a = N(null), [s, b] = k(() => 0);
460
460
  function o(t) {
461
461
  var r, l, d, u, D;
462
462
  const n = {
@@ -482,7 +482,7 @@ function Te(e) {
482
482
  k(() => 0);
483
483
  const [h, S] = k(
484
484
  () => !1
485
- ), [x, b] = k(
485
+ ), [x, f] = k(
486
486
  () => e.contentWrapper || "div"
487
487
  );
488
488
  function c(t) {
@@ -498,12 +498,12 @@ function Te(e) {
498
498
  meta: {
499
499
  breakpoints: d
500
500
  }
501
- }), f(s + 1);
501
+ }), b(s + 1);
502
502
  break;
503
503
  }
504
504
  case "builder.contentUpdate": {
505
505
  const l = n.data, d = l.key || l.alias || l.entry || l.modelName, u = l.data;
506
- d === e.model && (o(u), f(s + 1));
506
+ d === e.model && (o(u), b(s + 1));
507
507
  break;
508
508
  }
509
509
  }
@@ -589,7 +589,7 @@ function Te(e) {
589
589
  );
590
590
  }
591
591
  function W(t) {
592
- f(s + 1), window.addEventListener("message", c), ne(), ie({
592
+ b(s + 1), window.addEventListener("message", c), ne(), ie({
593
593
  ...e.locale ? {
594
594
  locale: e.locale
595
595
  } : {},
@@ -1 +1 @@
1
- "use server";"use strict";const n=require("./bundle-d029deb6.cjs");async function s({key:e,value:t}){return n.init(),globalThis._BUILDER_PREVIEW_LRU_CACHE.set(e,t),{[e]:t}}exports.postPreviewContent=s;
1
+ "use server";"use strict";const n=require("./bundle-b781019e.cjs");async function s({key:e,value:t}){return n.init(),globalThis._BUILDER_PREVIEW_LRU_CACHE.set(e,t),{[e]:t}}exports.postPreviewContent=s;
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { p as s } from "./bundle-cd2b1a4d.js";
2
+ import { p as s } from "./bundle-062859d6.js";
3
3
  async function n({
4
4
  key: t,
5
5
  value: r