@builder.io/sdk-react 2.0.28 → 2.0.30

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 (70) hide show
  1. package/lib/browser/blocks-exports.cjs +18 -18
  2. package/lib/browser/blocks-exports.mjs +819 -814
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-ffd47885.js → server-entry-d133a206.js} +104 -95
  6. package/lib/browser/server-entry-d4ea1a12.cjs +2 -0
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-616460c1.js → accordion-359367e6.js} +5 -3
  10. package/lib/edge/{accordion-7ef6a928.cjs → accordion-93512a19.cjs} +1 -1
  11. package/lib/edge/{blocks-896a56b0.cjs → blocks-44a0617b.cjs} +3 -3
  12. package/lib/edge/{blocks-dd91ae28.js → blocks-d7ba8f6a.js} +63 -57
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-1fa8b647.cjs → button-0ae65c1d.cjs} +1 -1
  16. package/lib/edge/{button-f917a1c0.js → button-ae26a553.js} +2 -2
  17. package/lib/edge/{columns-dacb342b.js → columns-957c0468.js} +20 -20
  18. package/lib/edge/{columns-5756d7b8.cjs → columns-f7da8908.cjs} +3 -3
  19. package/lib/edge/{content-variants-afc4a718.cjs → content-variants-9bb0b7e9.cjs} +4 -4
  20. package/lib/edge/{content-variants-cd80b703.js → content-variants-d8a859a2.js} +118 -118
  21. package/lib/edge/{evaluate-2fcda9ec.cjs → evaluate-21c48a1d.cjs} +1 -1
  22. package/lib/edge/{evaluate-17c2cadd.js → evaluate-8e8c9fec.js} +1 -1
  23. package/lib/edge/form-0b09120c.cjs +1 -0
  24. package/lib/edge/{form-dc7f56c9.js → form-68fc4d5a.js} +30 -33
  25. package/lib/edge/{get-class-prop-name-5437ca23.js → get-class-prop-name-a6f0f92d.js} +1 -1
  26. package/lib/edge/{get-class-prop-name-2ce20e98.cjs → get-class-prop-name-ffeda28e.cjs} +1 -1
  27. package/lib/edge/{img-35a1343f.cjs → img-89e32a84.cjs} +1 -1
  28. package/lib/edge/{img-d187da14.js → img-912b190b.js} +1 -1
  29. package/lib/edge/index.cjs +1 -1
  30. package/lib/edge/index.mjs +1 -1
  31. package/lib/edge/{input-9a6498fd.cjs → input-5ff8ae2e.cjs} +1 -1
  32. package/lib/edge/{input-38f565ce.js → input-96ba83eb.js} +1 -1
  33. package/lib/edge/{select-135b7397.cjs → select-5f5fed1c.cjs} +1 -1
  34. package/lib/edge/{select-6cb0b4b7.js → select-f66026e1.js} +1 -1
  35. package/lib/edge/{server-entry-216eb1bf.js → server-entry-e26008c1.js} +110 -101
  36. package/lib/edge/server-entry-f09ee4f4.cjs +2 -0
  37. package/lib/edge/server-entry.cjs +1 -1
  38. package/lib/edge/server-entry.mjs +1 -1
  39. package/lib/edge/{slot-d692126c.js → slot-d09faa0a.js} +4 -4
  40. package/lib/edge/{slot-b0728030.cjs → slot-d3473421.cjs} +1 -1
  41. package/lib/edge/{symbol-df30241a.js → symbol-285d196c.js} +2 -2
  42. package/lib/edge/{symbol-0ac2655e.cjs → symbol-ebccca9b.cjs} +1 -1
  43. package/lib/edge/{tabs-b925777d.js → tabs-39d86f86.js} +15 -15
  44. package/lib/edge/tabs-61c59e0f.cjs +1 -0
  45. package/lib/edge/{text-0f85a76c.cjs → text-40a616f5.cjs} +1 -1
  46. package/lib/edge/{text-337389ba.js → text-dce27428.js} +2 -2
  47. package/lib/node/blocks-exports.cjs +20 -20
  48. package/lib/node/blocks-exports.mjs +802 -797
  49. package/lib/node/index.cjs +1 -1
  50. package/lib/node/index.mjs +3 -3
  51. package/lib/node/init.cjs +1 -1
  52. package/lib/node/init.mjs +3 -3
  53. package/lib/node/server-entry-8e901e75.cjs +2 -0
  54. package/lib/node/{server-entry-ca0dcb45.js → server-entry-c7147616.js} +104 -95
  55. package/lib/node/server-entry.cjs +1 -1
  56. package/lib/node/server-entry.mjs +1 -1
  57. package/lib/node/{setIvm-2100f4f5.js → setIvm-5ab140ad.js} +1 -1
  58. package/lib/node/{setIvm-2d47478e.cjs → setIvm-a85e255e.cjs} +1 -1
  59. package/lib/node/setIvm.cjs +1 -1
  60. package/lib/node/setIvm.mjs +2 -2
  61. package/lib/node/{should-force-browser-runtime-in-node-fd3ca2a8.cjs → should-force-browser-runtime-in-node-16ceec99.cjs} +1 -1
  62. package/lib/node/{should-force-browser-runtime-in-node-a77d7cfc.js → should-force-browser-runtime-in-node-1d3a044a.js} +1 -1
  63. package/package.json +1 -1
  64. package/types/constants/sdk-version.d.ts +1 -1
  65. package/types/functions/log-fetch.d.ts +1 -0
  66. package/lib/browser/server-entry-7260e494.cjs +0 -2
  67. package/lib/edge/form-efce5c78.cjs +0 -1
  68. package/lib/edge/server-entry-3e6518b6.cjs +0 -2
  69. package/lib/edge/tabs-47ed7dde.cjs +0 -1
  70. package/lib/node/server-entry-3e017173.cjs +0 -2
@@ -1,12 +1,12 @@
1
- "use strict";const c=require("react/jsx-runtime"),g=require("react"),T=require("./blocks-exports.cjs"),y=require("./server-entry-3e6518b6.cjs"),j=require("./evaluate-2fcda9ec.cjs"),G=require("./get-class-prop-name-2ce20e98.cjs"),V=require("./dynamic-renderer-b29b45ca.cjs"),N=g.createContext({registeredComponents:{}});function Z(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options}}function J(e,...t){const n=Object.assign({},e);for(const r of t)delete n[r];return n}const E=e=>JSON.parse(JSON.stringify(e)),$=(e,t,n)=>{if(Object(e)!==e)return e;const r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce((o,s,l)=>Object(o[s])===o[s]?o[s]:o[s]=Math.abs(Number(r[l+1]))>>0===+r[l+1]?[]:{},e)[r[r.length-1]]=n,e};function w(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(n=>w(n));if(e["@type"]==="@builder.io/sdk:Element")return e;const t={};for(const n in e)n!=="meta"&&Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=w(e[n]));return t}const Q=["svelte","vue","angular","qwik","solid"].includes(y.TARGET),X=e=>{if(Q){const t=E(e);return{...t,properties:{...t.properties},actions:{...t.actions}}}else{const t=w(J(e,"children","meta"));return{...t,properties:{...t.properties},actions:{...t.actions},children:e.children,meta:e.meta}}},Y=({block:e,context:t,localState:n,rootState:r,rootSetState:o})=>{if(!e.bindings)return e;const s=X(e);for(const l in e.bindings){const d=e.bindings[l],f=j.evaluate({code:d,localState:n,rootState:r,rootSetState:o,context:t});$(s,l,f)}return s};function ee({block:e,context:t,shouldEvaluateBindings:n,localState:r,rootState:o,rootSetState:s}){const l=e;return n?Y({block:l,localState:r,rootState:o,rootSetState:s,context:t}):l}const B=e=>e?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():"";function te(e,t,n={}){let r,o,s,l=null,d=0;const f=function(){d=n.leading===!1?0:Date.now(),l=null,s=e.apply(r,o),l||(r=o=null)};return function(){const a=Date.now();!d&&n.leading===!1&&(d=a);const m=t-(a-d);return r=this,o=arguments,m<=0||m>t?(l&&(clearTimeout(l),l=null),d=a,s=e.apply(r,o),l||(r=o=null)):!l&&n.trailing!==!1&&(l=setTimeout(f,m)),s}}function C(e,...t){const n=Object(e);for(let r=1;r<arguments.length;r++){const o=arguments[r];if(o!=null)for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n}function ne(e){for(const t of e)switch(t.trigger){case"pageLoad":M(t);break;case"scrollInView":re(t);break}}function D(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function F(e,t){const n=oe(e),r=getComputedStyle(t),o=e.steps[0].styles,s=e.steps[e.steps.length-1].styles,l=[o,s];for(const d of l)for(const f of n)f in d||(d[f]=r[f])}function oe(e){const t=[];for(const n of e.steps)for(const r in n.styles)t.indexOf(r)===-1&&t.push(r);return t}function M(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){D(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{F(e,n),n.style.transition="none",n.style.transitionDelay="0",C(n.style,e.steps[0].styles),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${B(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s"),C(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}function re(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){D(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{F(e,n);let r=!1,o=!1;function s(){!r&&d(n)?(r=!0,o=!0,setTimeout(()=>{C(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",l),setTimeout(()=>{o=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&r&&!o&&!d(n)&&(r=!1,C(n.style,e.steps[0].styles))}const l=te(s,200,{leading:!1});function d(m){const x=m.getBoundingClientRect(),k=window.innerHeight,i=(e.thresholdPercent||0)/100*k;return x.bottom>i&&x.top<k-i}const f=e.steps[0].styles;function a(){C(n.style,f)}a(),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${B(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",l,{capture:!0,passive:!0}),s()})}const L=e=>Object.entries(e).map(([n,r])=>{if(typeof r=="string")return`${B(n)}: ${r};`}).filter(y.checkIsDefined),se=e=>L(e).join(`
1
+ "use strict";const l=require("react/jsx-runtime"),g=require("react"),T=require("./blocks-exports.cjs"),y=require("./server-entry-f09ee4f4.cjs"),j=require("./evaluate-21c48a1d.cjs"),G=require("./get-class-prop-name-ffeda28e.cjs"),V=require("./dynamic-renderer-b29b45ca.cjs"),N=g.createContext({registeredComponents:{}});function Z(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options}}function J(e,...t){const n=Object.assign({},e);for(const r of t)delete n[r];return n}const E=e=>JSON.parse(JSON.stringify(e)),$=(e,t,n)=>{if(Object(e)!==e)return e;const r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce((o,s,c)=>Object(o[s])===o[s]?o[s]:o[s]=Math.abs(Number(r[c+1]))>>0===+r[c+1]?[]:{},e)[r[r.length-1]]=n,e};function w(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(n=>w(n));if(e["@type"]==="@builder.io/sdk:Element")return e;const t={};for(const n in e)n!=="meta"&&Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=w(e[n]));return t}const Q=["svelte","vue","angular","qwik","solid"].includes(y.TARGET),X=e=>{if(Q){const t=E(e);return{...t,properties:{...t.properties},actions:{...t.actions}}}else{const t=w(J(e,"children","meta"));return{...t,properties:{...t.properties},actions:{...t.actions},children:e.children,meta:e.meta}}},Y=({block:e,context:t,localState:n,rootState:r,rootSetState:o})=>{if(!e.bindings)return e;const s=X(e);for(const c in e.bindings){const u=e.bindings[c],f=j.evaluate({code:u,localState:n,rootState:r,rootSetState:o,context:t});$(s,c,f)}return s};function ee({block:e,context:t,shouldEvaluateBindings:n,localState:r,rootState:o,rootSetState:s}){const c=e;return n?Y({block:c,localState:r,rootState:o,rootSetState:s,context:t}):c}const B=e=>e?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():"";function te(e,t,n={}){let r,o,s,c=null,u=0;const f=function(){u=n.leading===!1?0:Date.now(),c=null,s=e.apply(r,o),c||(r=o=null)};return function(){const a=Date.now();!u&&n.leading===!1&&(u=a);const m=t-(a-u);return r=this,o=arguments,m<=0||m>t?(c&&(clearTimeout(c),c=null),u=a,s=e.apply(r,o),c||(r=o=null)):!c&&n.trailing!==!1&&(c=setTimeout(f,m)),s}}function C(e,...t){const n=Object(e);for(let r=1;r<arguments.length;r++){const o=arguments[r];if(o!=null)for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n}function ne(e){for(const t of e)switch(t.trigger){case"pageLoad":M(t);break;case"scrollInView":re(t);break}}function D(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function F(e,t){const n=oe(e),r=getComputedStyle(t),o=e.steps[0].styles,s=e.steps[e.steps.length-1].styles,c=[o,s];for(const u of c)for(const f of n)f in u||(u[f]=r[f])}function oe(e){const t=[];for(const n of e.steps)for(const r in n.styles)t.indexOf(r)===-1&&t.push(r);return t}function M(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){D(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{F(e,n),n.style.transition="none",n.style.transitionDelay="0",C(n.style,e.steps[0].styles),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${B(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s"),C(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}function re(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){D(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{F(e,n);let r=!1,o=!1;function s(){!r&&u(n)?(r=!0,o=!0,setTimeout(()=>{C(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",c),setTimeout(()=>{o=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&r&&!o&&!u(n)&&(r=!1,C(n.style,e.steps[0].styles))}const c=te(s,200,{leading:!1});function u(m){const x=m.getBoundingClientRect(),k=window.innerHeight,i=(e.thresholdPercent||0)/100*k;return x.bottom>i&&x.top<k-i}const f=e.steps[0].styles;function a(){C(n.style,f)}a(),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${B(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",c,{capture:!0,passive:!0}),s()})}const L=e=>Object.entries(e).map(([n,r])=>{if(typeof r=="string")return`${B(n)}: ${r};`}).filter(y.checkIsDefined),se=e=>L(e).join(`
2
2
  `),b=({mediaQuery:e,className:t,styles:n})=>{const r=`.${t} {
3
3
  ${se(n)}
4
4
  }`;return e?`${e} {
5
5
  ${r}
6
6
  }`:r};function ce({style:e}){return e}const le=({block:e,context:t})=>_(ce({style:e.style||{},context:t,block:e}));function _(e){switch(y.TARGET){case"svelte":case"vue":case"solid":case"angular":return L(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const ie=({block:e,registeredComponents:t})=>{var o;const n=(o=e.component)==null?void 0:o.name;if(!n)return null;const r=t[n];if(r)return r;console.warn(`
7
7
  Could not find a registered component named "${n}".
8
- If you registered it, is the file that registered it imported by the file that needs to render it?`)},ae=({block:e,context:t})=>{const{repeat:n,...r}=e;if(!(n!=null&&n.collection))return;const o=j.evaluate({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(o))return;const s=n.collection.split(".").pop(),l=n.itemName||(s?s+"Item":"item");return o.map((f,a)=>({context:{...t,localState:{...t.localState,$index:a,$item:f,[l]:f,[`$${l}Index`]:a}},block:r}))},ue=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderLinkComponent?{builderLinkComponent:t}:{}},de=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderComponents?{builderComponents:t}:{}},fe=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderBlock?{builderBlock:t}:{}},me=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderContext?{builderContext:t}:{}},q={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},I=(e,t=q)=>`@media (max-width: ${t[e].max}px)`,H=({small:e,medium:t})=>{const n=E(q);if(!e||!t)return n;const r=Math.floor(e/2);n.small={max:e,min:r,default:r+1};const o=n.small.max+1;n.medium={max:t,min:o,default:o+1};const s=n.medium.max+1;return n.large={max:2e3,min:s,default:s+1},n};function U(e){return c.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},"data-id":e.id,nonce:e.nonce})}function he(e){function t(){const r=e.block;return y.checkIsDefined(r.hide)?!r.hide:y.checkIsDefined(r.show)?r.show:!0}function n(){var h,p,A;const r=e.block,o=r.responsiveStyles,s=e.context.content,l=H(((h=s==null?void 0:s.meta)==null?void 0:h.breakpoints)||{}),d=o==null?void 0:o.large,f=o==null?void 0:o.medium,a=o==null?void 0:o.small,m=r.id;if(!m)return"";const x=d?b({className:m,styles:d}):"",k=f?b({className:m,styles:f,mediaQuery:I("medium",l)}):"",S=a?b({className:m,styles:a,mediaQuery:I("small",l)}):"",i=r.animations&&r.animations.find(P=>P.trigger==="hover");let u="";if(i){const P=((A=(p=i.steps)==null?void 0:p[1])==null?void 0:A.styles)||{};u=b({className:`${m}:hover`,styles:{...P,transition:`all ${i.duration}s ${B(i.easing)}`,transitionDelay:i.delay?`${i.delay}s`:"0s"}})||""}return[x,k,S,u].join(" ")}return c.jsx(c.Fragment,{children:n()&&t()?c.jsx(c.Fragment,{children:c.jsx(U,{id:"builderio-block",styles:n(),nonce:e.context.nonce})}):null})}function ge(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ye=e=>`on${ge(e)}`,pe=(e,t)=>n=>j.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1});function z(e){var r;const t={},n=(r=e.block.actions)!=null?r:{};for(const o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];let l=ye(o);if(e.stripPrefix)switch(y.TARGET){case"vue":l=l.replace("v-on:","");break;case"svelte":l=l.replace("on:","");break}t[l]=pe(s,e)}return t}function xe({properties:e}){return e}const ke=e=>({href:e.href});function R({block:e,context:t}){var r;const n={...ke(e),...e.properties,"builder-id":e.id,style:le({block:e,context:t}),[G.getClassPropName()]:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return xe({properties:n,context:t,block:e})}function Se(e){return c.jsx(V.DynamicRenderer,{TagName:e.Wrapper,attributes:R({block:e.block,context:e.context}),actionAttributes:z({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}),children:e.children})}function Ce(e){return g.useEffect(()=>{},[]),c.jsx(c.Fragment,{children:e.children})}function ve(e){function t(){return e.includeBlockProps?{...R({block:e.block,context:e.context}),...z({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}}return c.jsx(c.Fragment,{children:e.Wrapper.load?c.jsx(c.Fragment,{children:c.jsx(Ce,{load:e.Wrapper.load,fallback:e.Wrapper.fallback,props:e.wrapperProps,attributes:t(),children:e.children})}):c.jsx(e.Wrapper,{...e.wrapperProps,attributes:t(),children:e.children})})}const be=({componentOptions:e,builderBlock:t,context:n,componentRef:r,includeBlockProps:o,isInteractive:s,contextValue:l})=>{const d={...e,...o?{attributes:R({block:t,context:l})}:{}};return s?{Wrapper:r,block:t,context:n,wrapperProps:e,includeBlockProps:o}:d};function O(e){var r;const[t,n]=g.useState(()=>e.isInteractive?ve:e.componentRef);return c.jsx(c.Fragment,{children:e.componentRef?c.jsx(c.Fragment,{children:c.jsx(t,{...be({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),children:(r=e.blockChildren)==null?void 0:r.map(o=>c.jsx(v,{block:o,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},o.id))})}):null})}function W(e){const[t,n]=g.useState(()=>e.repeatContext);return c.jsx(T.BuilderContext.Provider,{value:t,children:c.jsx(v,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})})}function v(e){var m,x,k,S;function t(){return ae({block:e.block,context:e.context})}const[n,r]=g.useState(()=>({value:null,update:!1}));function o(){var u;if(n.value&&!n.update&&!y.isPreviewing())return n.value;const i=(u=e.block.repeat)!=null&&u.collection?e.block:ee({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0});return n.value=i,n.update=!1,i}function s(){return ie({block:o(),registeredComponents:e.registeredComponents})}function l(){var u;return e.block.tagName==="a"||((u=o().properties)==null?void 0:u.href)||o().href?e.linkComponent||"a":e.block.tagName||"div"}function d(){var h,p;if((h=e.block.repeat)!=null&&h.collection)return!!((p=t==null?void 0:t())!=null&&p.length);const i="hide"in o()?o().hide:!1;return("show"in o()?o().show:!0)&&!i}function f(){var u,h;return!((u=s==null?void 0:s())!=null&&u.component)&&!t()?(h=o().children)!=null?h:[]:[]}function a(){var i,u,h,p;return{blockChildren:(i=o().children)!=null?i:[],componentRef:(u=s==null?void 0:s())==null?void 0:u.component,componentOptions:{...Z(o()),...fe(s(),o()),...me(s(),e.context),...ue(s(),e.linkComponent),...de(s(),e.registeredComponents)},context:e.context,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:o(),includeBlockProps:((h=s==null?void 0:s())==null?void 0:h.noWrap)===!0,isInteractive:!((p=s==null?void 0:s())!=null&&p.isRSC&&y.TARGET==="rsc")}}return g.useEffect(()=>{const i=o().id,u=o().animations;u&&i&&ne(u.map(h=>({...h,elementId:i})))},[]),g.useEffect(()=>{n.update=!0}),c.jsx(c.Fragment,{children:d()?c.jsxs(c.Fragment,{children:[c.jsx(he,{block:o(),context:e.context}),(m=s==null?void 0:s())!=null&&m.noWrap?t()?c.jsx(c.Fragment,{children:(S=t())==null?void 0:S.map((i,u)=>c.jsx(W,{repeatContext:i.context,block:i.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},u))}):c.jsx(O,{componentRef:a().componentRef,componentOptions:a().componentOptions,blockChildren:a().blockChildren,context:a().context,registeredComponents:a().registeredComponents,linkComponent:a().linkComponent,builderBlock:a().builderBlock,includeBlockProps:a().includeBlockProps,isInteractive:a().isInteractive}):c.jsx(c.Fragment,{children:t()?c.jsx(c.Fragment,{children:(k=t())==null?void 0:k.map((i,u)=>c.jsx(W,{repeatContext:i.context,block:i.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},u))}):c.jsxs(Se,{Wrapper:l(),block:o(),context:e.context,children:[c.jsx(O,{componentRef:a().componentRef,componentOptions:a().componentOptions,blockChildren:a().blockChildren,context:a().context,registeredComponents:a().registeredComponents,linkComponent:a().linkComponent,builderBlock:a().builderBlock,includeBlockProps:a().includeBlockProps,isInteractive:a().isInteractive}),(x=f())==null?void 0:x.map(i=>c.jsx(v,{block:i,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent,context:e.context},i.id))]})})]}):null})}function Be(e){const t=g.useRef(null);function n(){var s;return["builder-blocks",(s=e.blocks)!=null&&s.length?"":"no-blocks",e.classNameProp].filter(Boolean).join(" ")}function r(){var s,l;y.isEditing()&&!((s=e.blocks)!=null&&s.length)&&((l=window.parent)==null||l.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function o(){var s,l;y.isEditing()&&!((s=e.blocks)!=null&&s.length)&&((l=window.parent)==null||l.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return g.useEffect(()=>{},[]),c.jsxs(c.Fragment,{children:[c.jsx(e.BlocksWrapper,{ref:t,className:n()+" props-blocks-wrapper-43ec7ac8","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:s=>r(),onMouseEnter:s=>o(),onKeyPress:s=>r(),...e.BlocksWrapperProps,children:e.children}),c.jsx("style",{children:`.props-blocks-wrapper-43ec7ac8 {
8
+ If you registered it, is the file that registered it imported by the file that needs to render it?`)},ae=({block:e,context:t})=>{const{repeat:n,...r}=e;if(!(n!=null&&n.collection))return;const o=j.evaluate({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(o))return;const s=n.collection.split(".").pop(),c=n.itemName||(s?s+"Item":"item");return o.map((f,a)=>({context:{...t,localState:{...t.localState,$index:a,$item:f,[c]:f,[`$${c}Index`]:a}},block:r}))},ue=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderLinkComponent?{builderLinkComponent:t}:{}},de=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderComponents?{builderComponents:t}:{}},fe=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderBlock?{builderBlock:t}:{}},me=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderContext?{builderContext:t}:{}},q={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},I=(e,t=q)=>`@media (max-width: ${t[e].max}px)`,H=({small:e,medium:t})=>{const n=E(q);if(!e||!t)return n;const r=Math.floor(e/2);n.small={max:e,min:r,default:r+1};const o=n.small.max+1;n.medium={max:t,min:o,default:o+1};const s=n.medium.max+1;return n.large={max:2e3,min:s,default:s+1},n};function U(e){return l.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},"data-id":e.id,nonce:e.nonce})}function he(e){function t(){const r=e.block;return y.checkIsDefined(r.hide)?!r.hide:y.checkIsDefined(r.show)?r.show:!0}function n(){var h,p,A;const r=e.block,o=r.responsiveStyles,s=e.context.content,c=H(((h=s==null?void 0:s.meta)==null?void 0:h.breakpoints)||{}),u=o==null?void 0:o.large,f=o==null?void 0:o.medium,a=o==null?void 0:o.small,m=r.id;if(!m)return"";const x=u?b({className:m,styles:u}):"",k=f?b({className:m,styles:f,mediaQuery:I("medium",c)}):"",S=a?b({className:m,styles:a,mediaQuery:I("small",c)}):"",i=r.animations&&r.animations.find(P=>P.trigger==="hover");let d="";if(i){const P=((A=(p=i.steps)==null?void 0:p[1])==null?void 0:A.styles)||{};d=b({className:`${m}:hover`,styles:{...P,transition:`all ${i.duration}s ${B(i.easing)}`,transitionDelay:i.delay?`${i.delay}s`:"0s"}})||""}return[x,k,S,d].join(" ")}return l.jsx(l.Fragment,{children:n()&&t()?l.jsx(l.Fragment,{children:l.jsx(U,{id:"builderio-block",styles:n(),nonce:e.context.nonce})}):null})}function ge(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ye=e=>`on${ge(e)}`,pe=(e,t)=>n=>j.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1});function z(e){var r;const t={},n=(r=e.block.actions)!=null?r:{};for(const o in n){if(!n.hasOwnProperty(o))continue;const s=n[o];let c=ye(o);if(e.stripPrefix)switch(y.TARGET){case"vue":c=c.replace("v-on:","");break;case"svelte":c=c.replace("on:","");break}t[c]=pe(s,e)}return t}function xe({properties:e}){return e}const ke=e=>({href:e.href});function R({block:e,context:t}){var r;const n={...ke(e),...e.properties,"builder-id":e.id,style:le({block:e,context:t}),[G.getClassPropName()]:[e.id,"builder-block",e.class,(r=e.properties)==null?void 0:r.class].filter(Boolean).join(" ")};return xe({properties:n,context:t,block:e})}function Se(e){return l.jsx(V.DynamicRenderer,{TagName:e.Wrapper,attributes:R({block:e.block,context:e.context}),actionAttributes:z({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context,stripPrefix:!0}),children:e.children})}function Ce(e){return g.useEffect(()=>{},[]),l.jsx(l.Fragment,{children:e.children})}function ve(e){function t(){return e.includeBlockProps?{...R({block:e.block,context:e.context}),...z({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}}return l.jsx(l.Fragment,{children:e.Wrapper.load?l.jsx(l.Fragment,{children:l.jsx(Ce,{load:e.Wrapper.load,fallback:e.Wrapper.fallback,props:e.wrapperProps,attributes:t(),children:e.children})}):l.jsx(e.Wrapper,{...e.wrapperProps,attributes:t(),children:e.children})})}const be=({componentOptions:e,builderBlock:t,context:n,componentRef:r,includeBlockProps:o,isInteractive:s,contextValue:c})=>{const u={...e,...o?{attributes:R({block:t,context:c})}:{}};return s?{Wrapper:r,block:t,context:n,wrapperProps:e,includeBlockProps:o}:u};function O(e){var r;const[t,n]=g.useState(()=>e.isInteractive?ve:e.componentRef);return l.jsx(l.Fragment,{children:e.componentRef?l.jsx(l.Fragment,{children:l.jsx(t,{...be({componentOptions:e.componentOptions,builderBlock:e.builderBlock,context:e.context,componentRef:e.componentRef,linkComponent:e.linkComponent,includeBlockProps:e.includeBlockProps,isInteractive:e.isInteractive,contextValue:e.context}),children:(r=e.blockChildren)==null?void 0:r.map(o=>l.jsx(v,{block:o,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},o.id))})}):null})}function W(e){const[t,n]=g.useState(()=>e.repeatContext);return l.jsx(T.BuilderContext.Provider,{value:t,children:l.jsx(v,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})})}function v(e){var m,x,k,S;function t(){return ae({block:e.block,context:e.context})}const[n,r]=g.useState(()=>({value:null,update:!1}));function o(){var d;if(n.value&&!n.update&&!y.isPreviewing())return n.value;const i=(d=e.block.repeat)!=null&&d.collection?e.block:ee({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0});return n.value=i,n.update=!1,i}function s(){return ie({block:o(),registeredComponents:e.registeredComponents})}function c(){var d;return e.block.tagName==="a"||((d=o().properties)==null?void 0:d.href)||o().href?e.linkComponent||"a":e.block.tagName||"div"}function u(){var h,p;if((h=e.block.repeat)!=null&&h.collection)return!!((p=t==null?void 0:t())!=null&&p.length);const i="hide"in o()?o().hide:!1;return("show"in o()?o().show:!0)&&!i}function f(){var d,h;return!((d=s==null?void 0:s())!=null&&d.component)&&!t()?(h=o().children)!=null?h:[]:[]}function a(){var i,d,h,p;return{blockChildren:(i=o().children)!=null?i:[],componentRef:(d=s==null?void 0:s())==null?void 0:d.component,componentOptions:{...Z(o()),...fe(s(),o()),...me(s(),e.context),...ue(s(),e.linkComponent),...de(s(),e.registeredComponents)},context:e.context,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:o(),includeBlockProps:((h=s==null?void 0:s())==null?void 0:h.noWrap)===!0,isInteractive:!((p=s==null?void 0:s())!=null&&p.isRSC&&y.TARGET==="rsc")}}return g.useEffect(()=>{const i=o().id,d=o().animations;d&&i&&ne(d.map(h=>({...h,elementId:i})))},[]),g.useEffect(()=>{n.update=!0}),l.jsx(l.Fragment,{children:u()?l.jsxs(l.Fragment,{children:[l.jsx(he,{block:o(),context:e.context}),(m=s==null?void 0:s())!=null&&m.noWrap?t()?l.jsx(l.Fragment,{children:(S=t())==null?void 0:S.map((i,d)=>l.jsx(W,{repeatContext:i.context,block:i.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},d))}):l.jsx(O,{componentRef:a().componentRef,componentOptions:a().componentOptions,blockChildren:a().blockChildren,context:a().context,registeredComponents:a().registeredComponents,linkComponent:a().linkComponent,builderBlock:a().builderBlock,includeBlockProps:a().includeBlockProps,isInteractive:a().isInteractive}):l.jsx(l.Fragment,{children:t()?l.jsx(l.Fragment,{children:(k=t())==null?void 0:k.map((i,d)=>l.jsx(W,{repeatContext:i.context,block:i.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},d))}):l.jsxs(Se,{Wrapper:c(),block:o(),context:e.context,children:[l.jsx(O,{componentRef:a().componentRef,componentOptions:a().componentOptions,blockChildren:a().blockChildren,context:a().context,registeredComponents:a().registeredComponents,linkComponent:a().linkComponent,builderBlock:a().builderBlock,includeBlockProps:a().includeBlockProps,isInteractive:a().isInteractive}),(x=f())==null?void 0:x.map(i=>l.jsx(v,{block:i,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent,context:e.context},i.id))]})})]}):null})}function Be(e){const t=g.useRef(null);function n(){var c;return["builder-blocks",(c=e.blocks)!=null&&c.length?"":"no-blocks",e.classNameProp].filter(Boolean).join(" ")}function r(){if(!e.path)return;const c="component.options.";return e.path.startsWith(c)?e.path:`${c}${e.path||""}`}function o(){var c,u;y.isEditing()&&!((c=e.blocks)!=null&&c.length)&&((u=window.parent)==null||u.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:r()}},"*"))}function s(){var c,u;y.isEditing()&&!((c=e.blocks)!=null&&c.length)&&((u=window.parent)==null||u.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:r()}},"*"))}return g.useEffect(()=>{},[]),l.jsxs(l.Fragment,{children:[l.jsx(e.BlocksWrapper,{ref:t,className:n()+" props-blocks-wrapper-215a41e0","builder-path":r(),"builder-parent-id":e.parent,style:e.styleProp,onClick:c=>o(),onMouseEnter:c=>s(),onKeyPress:c=>o(),...e.BlocksWrapperProps,children:e.children}),l.jsx("style",{children:`.props-blocks-wrapper-215a41e0 {
9
9
  display: flex;
10
10
  flex-direction: column;
11
11
  align-items: stretch;
12
- }`})]})}function K(e){var r,o,s;const t=g.useContext(T.BuilderContext),n=g.useContext(N);return c.jsx(Be,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,classNameProp:e.className,BlocksWrapper:((r=e.context)==null?void 0:r.BlocksWrapper)||(t==null?void 0:t.BlocksWrapper),BlocksWrapperProps:((o=e.context)==null?void 0:o.BlocksWrapperProps)||(t==null?void 0:t.BlocksWrapperProps),children:e.blocks?c.jsx(c.Fragment,{children:(s=e.blocks)==null?void 0:s.map(l=>c.jsx(v,{block:l,linkComponent:e.linkComponent,context:e.context||t,registeredComponents:e.registeredComponents||(n==null?void 0:n.registeredComponents)},l.id))}):null})}const Pe=Object.freeze(Object.defineProperty({__proto__:null,default:K},Symbol.toStringTag,{value:"Module"}));exports.Block=v;exports.Blocks=K;exports.ComponentsContext=N;exports.InlinedStyles=U;exports.blocks=Pe;exports.fastClone=E;exports.getSizesForBreakpoints=H;exports.mapStyleObjToStrIfNeeded=_;exports.set=$;exports.triggerAnimation=M;
12
+ }`})]})}function K(e){var r,o,s;const t=g.useContext(T.BuilderContext),n=g.useContext(N);return l.jsx(Be,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,classNameProp:e.className,BlocksWrapper:((r=e.context)==null?void 0:r.BlocksWrapper)||(t==null?void 0:t.BlocksWrapper),BlocksWrapperProps:((o=e.context)==null?void 0:o.BlocksWrapperProps)||(t==null?void 0:t.BlocksWrapperProps),children:e.blocks?l.jsx(l.Fragment,{children:(s=e.blocks)==null?void 0:s.map(c=>l.jsx(v,{block:c,linkComponent:e.linkComponent,context:e.context||t,registeredComponents:e.registeredComponents||(n==null?void 0:n.registeredComponents)},c.id))}):null})}const Pe=Object.freeze(Object.defineProperty({__proto__:null,default:K},Symbol.toStringTag,{value:"Module"}));exports.Block=v;exports.Blocks=K;exports.ComponentsContext=N;exports.InlinedStyles=U;exports.blocks=Pe;exports.fastClone=E;exports.getSizesForBreakpoints=H;exports.mapStyleObjToStrIfNeeded=_;exports.set=$;exports.triggerAnimation=M;
@@ -1,9 +1,9 @@
1
1
  import { jsx as i, Fragment as h, jsxs as R } from "react/jsx-runtime";
2
- import { createContext as V, useEffect as b, useState as O, useRef as Z, useContext as T } from "react";
2
+ import { createContext as V, useEffect as b, useState as O, useRef as Z, useContext as $ } from "react";
3
3
  import { BuilderContext as _ } from "./blocks-exports.mjs";
4
- import { TARGET as v, checkIsDefined as A, isPreviewing as q, isEditing as $ } from "./server-entry-216eb1bf.js";
5
- import { evaluate as W } from "./evaluate-17c2cadd.js";
6
- import { getClassPropName as J } from "./get-class-prop-name-5437ca23.js";
4
+ import { TARGET as v, checkIsDefined as A, isPreviewing as q, isEditing as T } from "./server-entry-e26008c1.js";
5
+ import { evaluate as W } from "./evaluate-8e8c9fec.js";
6
+ import { getClassPropName as J } from "./get-class-prop-name-a6f0f92d.js";
7
7
  import { DynamicRenderer as Q } from "./dynamic-renderer-8b343325.js";
8
8
  const G = V({ registeredComponents: {} });
9
9
  function X(e) {
@@ -74,8 +74,8 @@ const te = ["svelte", "vue", "angular", "qwik", "solid"].includes(v), ne = (e) =
74
74
  return e;
75
75
  const s = ne(e);
76
76
  for (const l in e.bindings) {
77
- const d = e.bindings[l], f = W({
78
- code: d,
77
+ const u = e.bindings[l], f = W({
78
+ code: u,
79
79
  localState: n,
80
80
  rootState: r,
81
81
  rootSetState: o,
@@ -104,15 +104,15 @@ function re({
104
104
  }
105
105
  const B = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
106
106
  function se(e, t, n = {}) {
107
- let r, o, s, l = null, d = 0;
107
+ let r, o, s, l = null, u = 0;
108
108
  const f = function() {
109
- d = n.leading === !1 ? 0 : Date.now(), l = null, s = e.apply(r, o), l || (r = o = null);
109
+ u = n.leading === !1 ? 0 : Date.now(), l = null, s = e.apply(r, o), l || (r = o = null);
110
110
  };
111
111
  return function() {
112
112
  const a = Date.now();
113
- !d && n.leading === !1 && (d = a);
114
- const m = t - (a - d);
115
- return r = this, o = arguments, m <= 0 || m > t ? (l && (clearTimeout(l), l = null), d = a, s = e.apply(r, o), l || (r = o = null)) : !l && n.trailing !== !1 && (l = setTimeout(f, m)), s;
113
+ !u && n.leading === !1 && (u = a);
114
+ const m = t - (a - u);
115
+ return r = this, o = arguments, m <= 0 || m > t ? (l && (clearTimeout(l), l = null), u = a, s = e.apply(r, o), l || (r = o = null)) : !l && n.trailing !== !1 && (l = setTimeout(f, m)), s;
116
116
  };
117
117
  }
118
118
  function C(e, ...t) {
@@ -141,9 +141,9 @@ function U(e) {
141
141
  }
142
142
  function j(e, t) {
143
143
  const n = ce(e), r = getComputedStyle(t), o = e.steps[0].styles, s = e.steps[e.steps.length - 1].styles, l = [o, s];
144
- for (const d of l)
144
+ for (const u of l)
145
145
  for (const f of n)
146
- f in d || (d[f] = r[f]);
146
+ f in u || (u[f] = r[f]);
147
147
  }
148
148
  function ce(e) {
149
149
  const t = [];
@@ -176,16 +176,16 @@ function ae(e) {
176
176
  j(e, n);
177
177
  let r = !1, o = !1;
178
178
  function s() {
179
- !r && d(n) ? (r = !0, o = !0, setTimeout(() => {
179
+ !r && u(n) ? (r = !0, o = !0, setTimeout(() => {
180
180
  C(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", l), setTimeout(() => {
181
181
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
182
182
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
183
- })) : e.repeat && r && !o && !d(n) && (r = !1, C(n.style, e.steps[0].styles));
183
+ })) : e.repeat && r && !o && !u(n) && (r = !1, C(n.style, e.steps[0].styles));
184
184
  }
185
185
  const l = se(s, 200, {
186
186
  leading: !1
187
187
  });
188
- function d(m) {
188
+ function u(m) {
189
189
  const g = m.getBoundingClientRect(), k = window.innerHeight, c = (e.thresholdPercent || 0) / 100 * k;
190
190
  return g.bottom > c && g.top < k - c;
191
191
  }
@@ -373,12 +373,12 @@ function be(e) {
373
373
  var p, y, N;
374
374
  const r = e.block, o = r.responsiveStyles, s = e.context.content, l = Ce(
375
375
  ((p = s == null ? void 0 : s.meta) == null ? void 0 : p.breakpoints) || {}
376
- ), d = o == null ? void 0 : o.large, f = o == null ? void 0 : o.medium, a = o == null ? void 0 : o.small, m = r.id;
376
+ ), u = o == null ? void 0 : o.large, f = o == null ? void 0 : o.medium, a = o == null ? void 0 : o.small, m = r.id;
377
377
  if (!m)
378
378
  return "";
379
- const g = d ? x({
379
+ const g = u ? x({
380
380
  className: m,
381
- styles: d
381
+ styles: u
382
382
  }) : "", k = f ? x({
383
383
  className: m,
384
384
  styles: f,
@@ -394,10 +394,10 @@ function be(e) {
394
394
  l
395
395
  )
396
396
  }) : "", c = r.animations && r.animations.find((w) => w.trigger === "hover");
397
- let u = "";
397
+ let d = "";
398
398
  if (c) {
399
399
  const w = ((N = (y = c.steps) == null ? void 0 : y[1]) == null ? void 0 : N.styles) || {};
400
- u = x({
400
+ d = x({
401
401
  className: `${m}:hover`,
402
402
  styles: {
403
403
  ...w,
@@ -412,7 +412,7 @@ function be(e) {
412
412
  g,
413
413
  k,
414
414
  S,
415
- u
415
+ d
416
416
  ].join(" ");
417
417
  }
418
418
  return /* @__PURE__ */ i(h, { children: n() && t() ? /* @__PURE__ */ i(h, { children: /* @__PURE__ */ i(
@@ -547,7 +547,7 @@ const We = ({
547
547
  isInteractive: s,
548
548
  contextValue: l
549
549
  }) => {
550
- const d = {
550
+ const u = {
551
551
  ...e,
552
552
  /**
553
553
  * If `noWrap` is set to `true`, then the block's props/attributes are provided to the
@@ -566,7 +566,7 @@ const We = ({
566
566
  context: n,
567
567
  wrapperProps: e,
568
568
  includeBlockProps: o
569
- } : d;
569
+ } : u;
570
570
  };
571
571
  function M(e) {
572
572
  var r;
@@ -624,10 +624,10 @@ function P(e) {
624
624
  update: !1
625
625
  }));
626
626
  function o() {
627
- var u;
627
+ var d;
628
628
  if (n.value && !n.update && !q())
629
629
  return n.value;
630
- const c = (u = e.block.repeat) != null && u.collection ? e.block : re({
630
+ const c = (d = e.block.repeat) != null && d.collection ? e.block : re({
631
631
  block: e.block,
632
632
  localState: e.context.localState,
633
633
  rootState: e.context.rootState,
@@ -644,10 +644,10 @@ function P(e) {
644
644
  });
645
645
  }
646
646
  function l() {
647
- var u;
648
- return e.block.tagName === "a" || ((u = o().properties) == null ? void 0 : u.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
647
+ var d;
648
+ return e.block.tagName === "a" || ((d = o().properties) == null ? void 0 : d.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
649
649
  }
650
- function d() {
650
+ function u() {
651
651
  var p, y;
652
652
  if ((p = e.block.repeat) != null && p.collection)
653
653
  return !!((y = t == null ? void 0 : t()) != null && y.length);
@@ -655,14 +655,14 @@ function P(e) {
655
655
  return ("show" in o() ? o().show : !0) && !c;
656
656
  }
657
657
  function f() {
658
- var u, p;
659
- return !((u = s == null ? void 0 : s()) != null && u.component) && !t() ? (p = o().children) != null ? p : [] : [];
658
+ var d, p;
659
+ return !((d = s == null ? void 0 : s()) != null && d.component) && !t() ? (p = o().children) != null ? p : [] : [];
660
660
  }
661
661
  function a() {
662
- var c, u, p, y;
662
+ var c, d, p, y;
663
663
  return {
664
664
  blockChildren: (c = o().children) != null ? c : [],
665
- componentRef: (u = s == null ? void 0 : s()) == null ? void 0 : u.component,
665
+ componentRef: (d = s == null ? void 0 : s()) == null ? void 0 : d.component,
666
666
  componentOptions: {
667
667
  ...X(o()),
668
668
  ...ke(s(), o()),
@@ -682,18 +682,18 @@ function P(e) {
682
682
  };
683
683
  }
684
684
  return b(() => {
685
- const c = o().id, u = o().animations;
686
- u && c && le(
687
- u.map((p) => ({
685
+ const c = o().id, d = o().animations;
686
+ d && c && le(
687
+ d.map((p) => ({
688
688
  ...p,
689
689
  elementId: c
690
690
  }))
691
691
  );
692
692
  }, []), b(() => {
693
693
  n.update = !0;
694
- }), /* @__PURE__ */ i(h, { children: d() ? /* @__PURE__ */ R(h, { children: [
694
+ }), /* @__PURE__ */ i(h, { children: u() ? /* @__PURE__ */ R(h, { children: [
695
695
  /* @__PURE__ */ i(be, { block: o(), context: e.context }),
696
- (m = s == null ? void 0 : s()) != null && m.noWrap ? t() ? /* @__PURE__ */ i(h, { children: (S = t()) == null ? void 0 : S.map((c, u) => /* @__PURE__ */ i(
696
+ (m = s == null ? void 0 : s()) != null && m.noWrap ? t() ? /* @__PURE__ */ i(h, { children: (S = t()) == null ? void 0 : S.map((c, d) => /* @__PURE__ */ i(
697
697
  L,
698
698
  {
699
699
  repeatContext: c.context,
@@ -701,7 +701,7 @@ function P(e) {
701
701
  registeredComponents: e.registeredComponents,
702
702
  linkComponent: e.linkComponent
703
703
  },
704
- u
704
+ d
705
705
  )) }) : /* @__PURE__ */ i(
706
706
  M,
707
707
  {
@@ -715,7 +715,7 @@ function P(e) {
715
715
  includeBlockProps: a().includeBlockProps,
716
716
  isInteractive: a().isInteractive
717
717
  }
718
- ) : /* @__PURE__ */ i(h, { children: t() ? /* @__PURE__ */ i(h, { children: (k = t()) == null ? void 0 : k.map((c, u) => /* @__PURE__ */ i(
718
+ ) : /* @__PURE__ */ i(h, { children: t() ? /* @__PURE__ */ i(h, { children: (k = t()) == null ? void 0 : k.map((c, d) => /* @__PURE__ */ i(
719
719
  L,
720
720
  {
721
721
  repeatContext: c.context,
@@ -723,7 +723,7 @@ function P(e) {
723
723
  registeredComponents: e.registeredComponents,
724
724
  linkComponent: e.linkComponent
725
725
  },
726
- u
726
+ d
727
727
  )) }) : /* @__PURE__ */ R(
728
728
  Ae,
729
729
  {
@@ -763,34 +763,40 @@ function P(e) {
763
763
  function Ee(e) {
764
764
  const t = Z(null);
765
765
  function n() {
766
- var s;
766
+ var l;
767
767
  return [
768
768
  "builder-blocks",
769
- (s = e.blocks) != null && s.length ? "" : "no-blocks",
769
+ (l = e.blocks) != null && l.length ? "" : "no-blocks",
770
770
  e.classNameProp
771
771
  ].filter(Boolean).join(" ");
772
772
  }
773
773
  function r() {
774
- var s, l;
775
- $() && !((s = e.blocks) != null && s.length) && ((l = window.parent) == null || l.postMessage(
774
+ if (!e.path)
775
+ return;
776
+ const l = "component.options.";
777
+ return e.path.startsWith(l) ? e.path : `${l}${e.path || ""}`;
778
+ }
779
+ function o() {
780
+ var l, u;
781
+ T() && !((l = e.blocks) != null && l.length) && ((u = window.parent) == null || u.postMessage(
776
782
  {
777
783
  type: "builder.clickEmptyBlocks",
778
784
  data: {
779
785
  parentElementId: e.parent,
780
- dataPath: e.path
786
+ dataPath: r()
781
787
  }
782
788
  },
783
789
  "*"
784
790
  ));
785
791
  }
786
- function o() {
787
- var s, l;
788
- $() && !((s = e.blocks) != null && s.length) && ((l = window.parent) == null || l.postMessage(
792
+ function s() {
793
+ var l, u;
794
+ T() && !((l = e.blocks) != null && l.length) && ((u = window.parent) == null || u.postMessage(
789
795
  {
790
796
  type: "builder.hoverEmptyBlocks",
791
797
  data: {
792
798
  parentElementId: e.parent,
793
- dataPath: e.path
799
+ dataPath: r()
794
800
  }
795
801
  },
796
802
  "*"
@@ -802,18 +808,18 @@ function Ee(e) {
802
808
  e.BlocksWrapper,
803
809
  {
804
810
  ref: t,
805
- className: n() + " props-blocks-wrapper-43ec7ac8",
806
- "builder-path": e.path,
811
+ className: n() + " props-blocks-wrapper-215a41e0",
812
+ "builder-path": r(),
807
813
  "builder-parent-id": e.parent,
808
814
  style: e.styleProp,
809
- onClick: (s) => r(),
810
- onMouseEnter: (s) => o(),
811
- onKeyPress: (s) => r(),
815
+ onClick: (l) => o(),
816
+ onMouseEnter: (l) => s(),
817
+ onKeyPress: (l) => o(),
812
818
  ...e.BlocksWrapperProps,
813
819
  children: e.children
814
820
  }
815
821
  ),
816
- /* @__PURE__ */ i("style", { children: `.props-blocks-wrapper-43ec7ac8 {
822
+ /* @__PURE__ */ i("style", { children: `.props-blocks-wrapper-215a41e0 {
817
823
  display: flex;
818
824
  flex-direction: column;
819
825
  align-items: stretch;
@@ -822,7 +828,7 @@ function Ee(e) {
822
828
  }
823
829
  function Ne(e) {
824
830
  var r, o, s;
825
- const t = T(_), n = T(G);
831
+ const t = $(_), n = $(G);
826
832
  return /* @__PURE__ */ i(
827
833
  Ee,
828
834
  {
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");require("./server-entry-3e6518b6.cjs");const t=e.lazy(()=>Promise.resolve().then(()=>require("./button-1fa8b647.cjs"))),r=e.lazy(()=>Promise.resolve().then(()=>require("./columns-5756d7b8.cjs"))),n=e.lazy(()=>Promise.resolve().then(()=>require("./fragment-b6e3a326.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./image-54d2f755.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./section-d655ea14.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./symbol-0ac2655e.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./text-0f85a76c.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./video-e20dcbbc.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./blocks-896a56b0.cjs")).then(o=>o.blocks)),m=e.lazy(()=>Promise.resolve().then(()=>require("./content-variants-afc4a718.cjs"))),y=e.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{},nonce:""});exports.Blocks=u;exports.BuilderContext=y;exports.Button=t;exports.Columns=r;exports.Content=m;exports.Fragment=n;exports.Image=s;exports.Section=i;exports.Symbol=l;exports.Text=c;exports.Video=a;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");require("./server-entry-f09ee4f4.cjs");const t=e.lazy(()=>Promise.resolve().then(()=>require("./button-0ae65c1d.cjs"))),r=e.lazy(()=>Promise.resolve().then(()=>require("./columns-f7da8908.cjs"))),n=e.lazy(()=>Promise.resolve().then(()=>require("./fragment-b6e3a326.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./image-54d2f755.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./section-d655ea14.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./symbol-ebccca9b.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./text-40a616f5.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./video-e20dcbbc.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./blocks-44a0617b.cjs")).then(o=>o.blocks)),m=e.lazy(()=>Promise.resolve().then(()=>require("./content-variants-9bb0b7e9.cjs"))),y=e.createContext({content:null,context:{},localState:void 0,rootSetState(){},rootState:{},apiKey:null,apiVersion:void 0,componentInfos:{},inheritedStyles:{},BlocksWrapper:"div",BlocksWrapperProps:{},nonce:""});exports.Blocks=u;exports.BuilderContext=y;exports.Button=t;exports.Columns=r;exports.Content=m;exports.Fragment=n;exports.Image=s;exports.Section=i;exports.Symbol=l;exports.Text=c;exports.Video=a;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { lazy as t, createContext as n } from "react";
3
- import "./server-entry-216eb1bf.js";
4
- const i = t(() => import("./button-f917a1c0.js")), r = t(() => import("./columns-dacb342b.js")), a = t(() => import("./fragment-1492bc7f.js")), c = t(() => import("./image-6970c193.js")), m = t(() => import("./section-d83e2dd3.js")), p = t(() => import("./symbol-df30241a.js")), l = t(() => import("./text-337389ba.js")), u = t(() => import("./video-58c2cc8d.js")), d = t(() => import("./blocks-dd91ae28.js").then((o) => o.blocks)), x = t(() => import("./content-variants-cd80b703.js")), S = n({
3
+ import "./server-entry-e26008c1.js";
4
+ const i = t(() => import("./button-ae26a553.js")), r = t(() => import("./columns-957c0468.js")), a = t(() => import("./fragment-1492bc7f.js")), c = t(() => import("./image-6970c193.js")), m = t(() => import("./section-d83e2dd3.js")), p = t(() => import("./symbol-285d196c.js")), l = t(() => import("./text-dce27428.js")), u = t(() => import("./video-58c2cc8d.js")), d = t(() => import("./blocks-d7ba8f6a.js").then((o) => o.blocks)), x = t(() => import("./content-variants-d8a859a2.js")), S = n({
5
5
  content: null,
6
6
  context: {},
7
7
  localState: void 0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),r=require("./dynamic-renderer-b29b45ca.cjs"),t=require("./get-class-prop-name-2ce20e98.cjs");require("./server-entry-3e6518b6.cjs");function u(e){function n(){return{...e.attributes,[t.getClassPropName()]:`${e.link?"":"builder-button"} ${e.attributes[t.getClassPropName()]||""}`,...e.link?{href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}}}return i.jsx(r.DynamicRenderer,{attributes:n(),TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:{},children:e.text})}exports.default=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),r=require("./dynamic-renderer-b29b45ca.cjs"),t=require("./get-class-prop-name-ffeda28e.cjs");require("./server-entry-f09ee4f4.cjs");function u(e){function n(){return{...e.attributes,[t.getClassPropName()]:`${e.link?"":"builder-button"} ${e.attributes[t.getClassPropName()]||""}`,...e.link?{href:e.link,target:e.openLinkInNewTab?"_blank":void 0,role:"link"}:{role:"button"}}}return i.jsx(r.DynamicRenderer,{attributes:n(),TagName:e.link?e.builderLinkComponent||"a":"button",actionAttributes:{},children:e.text})}exports.default=u;
@@ -1,7 +1,7 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { DynamicRenderer as r } from "./dynamic-renderer-8b343325.js";
3
- import { getClassPropName as n } from "./get-class-prop-name-5437ca23.js";
4
- import "./server-entry-216eb1bf.js";
3
+ import { getClassPropName as n } from "./get-class-prop-name-a6f0f92d.js";
4
+ import "./server-entry-e26008c1.js";
5
5
  function b(t) {
6
6
  function e() {
7
7
  return {
@@ -1,15 +1,15 @@
1
1
  import { jsxs as h, Fragment as $, jsx as r } from "react/jsx-runtime";
2
- import { InlinedStyles as B, Blocks as L, mapStyleObjToStrIfNeeded as W, getSizesForBreakpoints as z } from "./blocks-dd91ae28.js";
2
+ import { InlinedStyles as B, Blocks as L, mapStyleObjToStrIfNeeded as W, getSizesForBreakpoints as z } from "./blocks-d7ba8f6a.js";
3
3
  import { DynamicRenderer as A } from "./dynamic-renderer-8b343325.js";
4
- import { getClassPropName as N } from "./get-class-prop-name-5437ca23.js";
4
+ import { getClassPropName as N } from "./get-class-prop-name-a6f0f92d.js";
5
5
  import "react";
6
6
  import "./blocks-exports.mjs";
7
- import "./server-entry-216eb1bf.js";
8
- import "./evaluate-17c2cadd.js";
7
+ import "./server-entry-e26008c1.js";
8
+ import "./evaluate-8e8c9fec.js";
9
9
  const D = (e) => `builder-columns ${e}-breakpoints`;
10
10
  function R(e) {
11
11
  var b, f;
12
- function a() {
12
+ function c() {
13
13
  return typeof e.space == "number" ? e.space || 0 : 20;
14
14
  }
15
15
  function o() {
@@ -26,10 +26,10 @@ function R(e) {
26
26
  return ((n = o()[t]) == null ? void 0 : n.width) || 100 / o().length;
27
27
  }
28
28
  function x(t) {
29
- const n = S(t), i = a() * (o().length - 1) * (n / 100);
29
+ const n = S(t), i = c() * (o().length - 1) * (n / 100);
30
30
  return `calc(${n}% - ${i}px)`;
31
31
  }
32
- function c({
32
+ function a({
33
33
  stackedStyle: t,
34
34
  desktopStyle: n
35
35
  }) {
@@ -47,14 +47,14 @@ function R(e) {
47
47
  function C() {
48
48
  return {
49
49
  "--flex-dir": u(),
50
- "--flex-dir-tablet": c({
50
+ "--flex-dir-tablet": a({
51
51
  stackedStyle: u(),
52
52
  desktopStyle: "row"
53
53
  })
54
54
  };
55
55
  }
56
- function p(t) {
57
- const n = t === 0 ? 0 : a(), i = x(t), l = `${n}px`, k = "100%", g = 0;
56
+ function v(t) {
57
+ const n = t === 0 ? 0 : c(), i = x(t), l = `${n}px`, k = "100%", g = 0;
58
58
  return {
59
59
  ...{
60
60
  display: "flex",
@@ -71,11 +71,11 @@ function R(e) {
71
71
  stackedStyle: g,
72
72
  desktopStyle: l
73
73
  }),
74
- "--column-width-tablet": c({
74
+ "--column-width-tablet": a({
75
75
  stackedStyle: k,
76
76
  desktopStyle: i
77
77
  }),
78
- "--column-margin-left-tablet": c({
78
+ "--column-margin-left-tablet": a({
79
79
  stackedStyle: g,
80
80
  desktopStyle: l
81
81
  })
@@ -87,7 +87,7 @@ function R(e) {
87
87
  ((l = (i = e.builderContext.content) == null ? void 0 : i.meta) == null ? void 0 : l.breakpoints) || {}
88
88
  )[t].max;
89
89
  }
90
- function v() {
90
+ function w() {
91
91
  const t = `.${e.builderBlock.id}-breakpoints > .builder-column`;
92
92
  return `
93
93
  @media (max-width: ${d("medium")}px) {
@@ -115,27 +115,27 @@ function R(e) {
115
115
  },
116
116
  `;
117
117
  }
118
- function w(t, n) {
118
+ function p(t, n) {
119
119
  return {
120
120
  ...t.link ? {
121
121
  href: t.link
122
122
  } : {},
123
123
  [N()]: "builder-column",
124
- style: W(p(n))
124
+ style: W(v(n))
125
125
  };
126
126
  }
127
127
  return /* @__PURE__ */ h($, { children: [
128
128
  /* @__PURE__ */ h(
129
129
  "div",
130
130
  {
131
- className: D((b = e.builderBlock) == null ? void 0 : b.id) + " div-424156c6",
131
+ className: D((b = e.builderBlock) == null ? void 0 : b.id) + " div-49f40bae",
132
132
  style: C(),
133
133
  children: [
134
134
  /* @__PURE__ */ r(
135
135
  B,
136
136
  {
137
137
  id: "builderio-columns",
138
- styles: v(),
138
+ styles: w(),
139
139
  nonce: e.builderContext.nonce
140
140
  }
141
141
  ),
@@ -144,11 +144,11 @@ function R(e) {
144
144
  {
145
145
  TagName: y(t),
146
146
  actionAttributes: {},
147
- attributes: w(t, n),
147
+ attributes: p(t, n),
148
148
  children: /* @__PURE__ */ r(
149
149
  L,
150
150
  {
151
- path: `component.options.columns.${n}.blocks`,
151
+ path: `columns.${n}.blocks`,
152
152
  parent: e.builderBlock.id,
153
153
  styleProp: {
154
154
  flexGrow: "1"
@@ -165,7 +165,7 @@ function R(e) {
165
165
  ]
166
166
  }
167
167
  ),
168
- /* @__PURE__ */ r("style", { children: `.div-424156c6 {
168
+ /* @__PURE__ */ r("style", { children: `.div-49f40bae {
169
169
  display: flex;
170
170
  line-height: normal;
171
171
  }` })
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),o=require("./blocks-896a56b0.cjs"),j=require("./dynamic-renderer-b29b45ca.cjs"),p=require("./get-class-prop-name-2ce20e98.cjs");require("react");require("./blocks-exports.cjs");require("./server-entry-3e6518b6.cjs");require("./evaluate-2fcda9ec.cjs");const q=t=>`builder-columns ${t}-breakpoints`;function B(t){var f,k;function u(){return typeof t.space=="number"?t.space||0:20}function s(){return t.columns||[]}function a(){return t.stackColumnsAt||"tablet"}function y(e){return e.link?t.builderLinkComponent||"a":"div"}function x(e){var n;return((n=s()[e])==null?void 0:n.width)||100/s().length}function S(e){const n=x(e),i=u()*(s().length-1)*(n/100);return`calc(${n}% - ${i}px)`}function c({stackedStyle:e,desktopStyle:n}){return a()==="tablet"?e:n}function d({stackedStyle:e,desktopStyle:n}){return a()==="never"?n:e}function m(){return t.stackColumnsAt==="never"?"row":t.reverseColumnsWhenStacked?"column-reverse":"column"}function C(){return{"--flex-dir":m(),"--flex-dir-tablet":c({stackedStyle:m(),desktopStyle:"row"})}}function v(e){const n=e===0?0:u(),i=S(e),r=`${n}px`,g="100%",h=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:i,["marginLeft"]:r,"--column-width-mobile":d({stackedStyle:g,desktopStyle:i}),"--column-margin-left-mobile":d({stackedStyle:h,desktopStyle:r}),"--column-width-tablet":c({stackedStyle:g,desktopStyle:i}),"--column-margin-left-tablet":c({stackedStyle:h,desktopStyle:r})}}function b(e){var i,r;return o.getSizesForBreakpoints(((r=(i=t.builderContext.content)==null?void 0:i.meta)==null?void 0:r.breakpoints)||{})[e].max}function w(){const e=`.${t.builderBlock.id}-breakpoints > .builder-column`;return`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),o=require("./blocks-44a0617b.cjs"),j=require("./dynamic-renderer-b29b45ca.cjs"),q=require("./get-class-prop-name-ffeda28e.cjs");require("react");require("./blocks-exports.cjs");require("./server-entry-f09ee4f4.cjs");require("./evaluate-21c48a1d.cjs");const B=t=>`builder-columns ${t}-breakpoints`;function p(t){var f,k;function a(){return typeof t.space=="number"?t.space||0:20}function s(){return t.columns||[]}function u(){return t.stackColumnsAt||"tablet"}function y(e){return e.link?t.builderLinkComponent||"a":"div"}function x(e){var n;return((n=s()[e])==null?void 0:n.width)||100/s().length}function S(e){const n=x(e),i=a()*(s().length-1)*(n/100);return`calc(${n}% - ${i}px)`}function c({stackedStyle:e,desktopStyle:n}){return u()==="tablet"?e:n}function d({stackedStyle:e,desktopStyle:n}){return u()==="never"?n:e}function m(){return t.stackColumnsAt==="never"?"row":t.reverseColumnsWhenStacked?"column-reverse":"column"}function C(){return{"--flex-dir":m(),"--flex-dir-tablet":c({stackedStyle:m(),desktopStyle:"row"})}}function v(e){const n=e===0?0:a(),i=S(e),r=`${n}px`,g="100%",h=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:i,["marginLeft"]:r,"--column-width-mobile":d({stackedStyle:g,desktopStyle:i}),"--column-margin-left-mobile":d({stackedStyle:h,desktopStyle:r}),"--column-width-tablet":c({stackedStyle:g,desktopStyle:i}),"--column-margin-left-tablet":c({stackedStyle:h,desktopStyle:r})}}function b(e){var i,r;return o.getSizesForBreakpoints(((r=(i=t.builderContext.content)==null?void 0:i.meta)==null?void 0:r.breakpoints)||{})[e].max}function w(){const e=`.${t.builderBlock.id}-breakpoints > .builder-column`;return`
2
2
  @media (max-width: ${b("medium")}px) {
3
3
  .${t.builderBlock.id}-breakpoints {
4
4
  flex-direction: var(--flex-dir-tablet);
@@ -22,7 +22,7 @@
22
22
  margin-left: var(--column-margin-left-mobile) !important;
23
23
  }
24
24
  },
25
- `}function $(e,n){return{...e.link?{href:e.link}:{},[p.getClassPropName()]:"builder-column",style:o.mapStyleObjToStrIfNeeded(v(n))}}return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:q((f=t.builderBlock)==null?void 0:f.id)+" div-424156c6",style:C(),children:[l.jsx(o.InlinedStyles,{id:"builderio-columns",styles:w(),nonce:t.builderContext.nonce}),(k=t.columns)==null?void 0:k.map((e,n)=>l.jsx(j.DynamicRenderer,{TagName:y(e),actionAttributes:{},attributes:$(e,n),children:l.jsx(o.Blocks,{path:`component.options.columns.${n}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents,linkComponent:t.builderLinkComponent,blocks:e.blocks})},n))]}),l.jsx("style",{children:`.div-424156c6 {
25
+ `}function $(e,n){return{...e.link?{href:e.link}:{},[q.getClassPropName()]:"builder-column",style:o.mapStyleObjToStrIfNeeded(v(n))}}return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:B((f=t.builderBlock)==null?void 0:f.id)+" div-49f40bae",style:C(),children:[l.jsx(o.InlinedStyles,{id:"builderio-columns",styles:w(),nonce:t.builderContext.nonce}),(k=t.columns)==null?void 0:k.map((e,n)=>l.jsx(j.DynamicRenderer,{TagName:y(e),actionAttributes:{},attributes:$(e,n),children:l.jsx(o.Blocks,{path:`columns.${n}.blocks`,parent:t.builderBlock.id,styleProp:{flexGrow:"1"},context:t.builderContext,registeredComponents:t.builderComponents,linkComponent:t.builderLinkComponent,blocks:e.blocks})},n))]}),l.jsx("style",{children:`.div-49f40bae {
26
26
  display: flex;
27
27
  line-height: normal;
28
- }`})]})}exports.default=B;
28
+ }`})]})}exports.default=p;