@builder.io/sdk-react 2.0.2 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/blocks-exports.cjs +29 -29
- package/lib/browser/blocks-exports.mjs +300 -278
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +1 -1
- package/lib/browser/init.mjs +1 -1
- package/lib/browser/server-entry-0c6c220c.js +688 -0
- package/lib/browser/server-entry-7e145817.cjs +2 -0
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-4f96554c.cjs → accordion-72dab8ce.cjs} +1 -1
- package/lib/edge/{accordion-ca081054.js → accordion-99129d68.js} +1 -1
- package/lib/edge/blocks-426e0c44.js +808 -0
- package/lib/edge/blocks-53ae1b87.cjs +12 -0
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-41169061.js → button-778062cd.js} +2 -2
- package/lib/edge/{button-5d140f8e.cjs → button-967d0268.cjs} +1 -1
- package/lib/edge/{columns-f8916a18.js → columns-3a8c4d3f.js} +53 -51
- package/lib/edge/columns-3b921658.cjs +28 -0
- package/lib/edge/{content-variants-71ee0c76.js → content-variants-15d191de.js} +28 -26
- package/lib/edge/content-variants-4b8718f8.cjs +134 -0
- package/lib/edge/evaluate-26c0fdb7.js +2615 -0
- package/lib/edge/evaluate-c0eeb4f8.cjs +21 -0
- package/lib/edge/form-9d9dce5d.cjs +1 -0
- package/lib/edge/{form-ac2f2a0e.js → form-ccb0b912.js} +8 -7
- package/lib/edge/{get-class-prop-name-a677d7a5.js → get-class-prop-name-0a91c3bd.js} +1 -1
- package/lib/edge/{get-class-prop-name-a9b4959e.cjs → get-class-prop-name-eae60eae.cjs} +1 -1
- package/lib/edge/{image-e3fcd611.js → image-6a074aab.js} +27 -25
- package/lib/edge/image-eebfcbac.cjs +17 -0
- package/lib/edge/{img-b91cb4fd.cjs → img-183de27d.cjs} +1 -1
- package/lib/edge/{img-8fc26395.js → img-75751c89.js} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +1 -1
- package/lib/edge/init.mjs +1 -1
- package/lib/edge/{input-549f090e.js → input-27972020.js} +1 -1
- package/lib/edge/{input-ec7c695a.cjs → input-fd18a67d.cjs} +1 -1
- package/lib/edge/{select-6a5a28ac.js → select-60ff549c.js} +1 -1
- package/lib/edge/{select-3ffa9294.cjs → select-6ea0d59f.cjs} +1 -1
- package/lib/edge/server-entry-4133a544.cjs +2 -0
- package/lib/edge/server-entry-feff6177.js +689 -0
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-40de071b.js → slot-2347377e.js} +12 -11
- package/lib/edge/slot-a4509cae.cjs +1 -0
- package/lib/edge/{symbol-76e76298.cjs → symbol-98650b06.cjs} +1 -1
- package/lib/edge/{symbol-e6515a5f.js → symbol-dcef0d8e.js} +2 -2
- package/lib/edge/{tabs-b75be82d.js → tabs-0784574b.js} +10 -9
- package/lib/edge/tabs-4c131e17.cjs +1 -0
- package/lib/edge/text-1c1986aa.cjs +1 -0
- package/lib/edge/text-6f7cbc35.js +38 -0
- package/lib/node/blocks-exports.cjs +16 -16
- package/lib/node/blocks-exports.mjs +255 -233
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +2 -2
- package/lib/node/{node-runtime-0e37d6f7.cjs → node-runtime-4978bc21.cjs} +2 -2
- package/lib/node/{node-runtime-0f3a5df1.js → node-runtime-ce5c71e5.js} +3 -2
- package/lib/node/server-entry-0c6c220c.js +688 -0
- package/lib/node/server-entry-7e145817.cjs +2 -0
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +1 -1
- package/types/blocks/image/image.types.d.ts +2 -0
- package/types/blocks/symbol/symbol.types.d.ts +1 -0
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/functions/register-component.d.ts +2 -2
- package/lib/browser/server-entry-419c051e.cjs +0 -2
- package/lib/browser/server-entry-825b4408.js +0 -695
- package/lib/edge/blocks-078044bc.cjs +0 -32
- package/lib/edge/blocks-f55c7d3e.js +0 -3418
- package/lib/edge/columns-354bf349.cjs +0 -28
- package/lib/edge/content-variants-89a9389a.cjs +0 -134
- package/lib/edge/form-f2d2c2bf.cjs +0 -1
- package/lib/edge/image-344ddbb0.cjs +0 -17
- package/lib/edge/server-entry-966ac144.cjs +0 -2
- package/lib/edge/server-entry-d2020acf.js +0 -695
- package/lib/edge/slot-8b27e15e.cjs +0 -1
- package/lib/edge/tabs-9c5af0ec.cjs +0 -1
- package/lib/edge/text-5915f038.js +0 -17
- package/lib/edge/text-e6dbb721.cjs +0 -1
- package/lib/node/server-entry-5ebd1c9b.js +0 -695
- package/lib/node/server-entry-8002325b.cjs +0 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),S=require("react"),$=require("./blocks-exports.cjs"),p=require("./evaluate-c0eeb4f8.cjs"),g=require("./server-entry-4133a544.cjs"),_=require("./get-class-prop-name-eae60eae.cjs"),V=require("./dynamic-renderer-b29b45ca.cjs"),P=e=>JSON.parse(JSON.stringify(e)),N=S.createContext({registeredComponents:{}});function K(e){var t;return{...(t=e.component)==null?void 0:t.options,...e.options}}const Z=({block:e,context:t,localState:n,rootState:o,rootSetState:r})=>{if(!e.bindings)return e;const s=P(e),i={...s,properties:{...s.properties},actions:{...s.actions}};for(const l in e.bindings){const u=e.bindings[l],f=p.evaluate({code:u,localState:n,rootState:o,rootSetState:r,context:t,enableCache:!0});p.set(i,l,f)}return i};function b({block:e,context:t,shouldEvaluateBindings:n,localState:o,rootState:r,rootSetState:s}){const i=e;return n?Z({block:i,localState:o,rootState:r,rootSetState:s,context:t}):i}const B=e=>e?e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase():"";function G(e,t,n={}){let o,r,s,i=null,l=0;const u=function(){l=n.leading===!1?0:Date.now(),i=null,s=e.apply(o,r),i||(o=r=null)};return function(){const f=Date.now();!l&&n.leading===!1&&(l=f);const x=t-(f-l);return o=this,r=arguments,x<=0||x>t?(i&&(clearTimeout(i),i=null),l=f,s=e.apply(o,r),i||(o=r=null)):!i&&n.trailing!==!1&&(i=setTimeout(u,x)),s}}function y(e,...t){const n=Object(e);for(let o=1;o<arguments.length;o++){const r=arguments[o];if(r!=null)for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&(n[s]=r[s])}return n}function J(e){for(const t of e)switch(t.trigger){case"pageLoad":D(t);break;case"scrollInView":X(t);break}}function O(e){console.warn(`Cannot animate element: element with ID ${e} not found!`)}function T(e,t){const n=Q(e),o=getComputedStyle(t),r=e.steps[0].styles,s=e.steps[e.steps.length-1].styles,i=[r,s];for(const l of i)for(const u of n)u in l||(l[u]=o[u])}function Q(e){const t=[];for(const n of e.steps)for(const o in n.styles)t.indexOf(o)===-1&&t.push(o);return t}function D(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){O(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{T(e,n),n.style.transition="none",n.style.transitionDelay="0",y(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"),y(n.style,e.steps[1].styles),setTimeout(()=>{n.style.transition="",n.style.transitionDelay=""},(e.delay||0)*1e3+e.duration*1e3+100)})})}function X(e){const t=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!t.length){O(e.elementId||e.id||"");return}Array.from(t).forEach(n=>{T(e,n);let o=!1,r=!1;function s(){!o&&l(n)?(o=!0,r=!0,setTimeout(()=>{y(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",i),setTimeout(()=>{r=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&o&&!r&&!l(n)&&(o=!1,y(n.style,e.steps[0].styles))}const i=G(s,200,{leading:!1});function l(x){const a=x.getBoundingClientRect(),d=window.innerHeight,m=(e.thresholdPercent||0)/100*d;return a.bottom>m&&a.top<d-m}const u=e.steps[0].styles;function f(){y(n.style,u)}f(),setTimeout(()=>{n.style.transition=`all ${e.duration}s ${B(e.easing)}`,e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",i,{capture:!0,passive:!0}),s()})}const F=e=>Object.entries(e).map(([n,o])=>{if(typeof o=="string")return`${B(n)}: ${o};`}).filter(g.checkIsDefined),Y=e=>F(e).join(`
|
|
2
|
+
`),C=({mediaQuery:e,className:t,styles:n})=>{const o=`.${t} {
|
|
3
|
+
${Y(n)}
|
|
4
|
+
}`;return e?`${e} {
|
|
5
|
+
${o}
|
|
6
|
+
}`:o};function ee({style:e}){return e}const te=({block:e,context:t})=>M(ee({style:e.style||{},context:t,block:e}));function M(e){switch(g.TARGET){case"svelte":case"vue":case"solid":case"angular":return F(e).join(" ");case"qwik":case"reactNative":case"react":case"rsc":return e}}const ne=({block:e,context:t,registeredComponents:n})=>{var s;const o=(s=b({block:e,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context,shouldEvaluateBindings:!1}).component)==null?void 0:s.name;if(!o)return null;const r=n[o];if(r)return r;console.warn(`
|
|
7
|
+
Could not find a registered component named "${o}".
|
|
8
|
+
If you registered it, is the file that registered it imported by the file that needs to render it?`)},oe=({block:e,context:t})=>{const{repeat:n,...o}=e;if(!(n!=null&&n.collection))return;const r=p.evaluate({code:n.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context,enableCache:!0});if(!Array.isArray(r))return;const s=n.collection.split(".").pop(),i=n.itemName||(s?s+"Item":"item");return r.map((u,f)=>({context:{...t,localState:{...t.localState,$index:f,$item:u,[i]:u,[`$${i}Index`]:f}},block:o}))},re=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderLinkComponent?{builderLinkComponent:t}:{}},se=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderComponents?{builderComponents:t}:{}},ce=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderBlock?{builderBlock:t}:{}},le=(e,t)=>{var n;return(n=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&n.builderContext?{builderContext:t}:{}},L={small:{min:320,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200}},A=(e,t=L)=>`@media (max-width: ${t[e].max}px)`,q=({small:e,medium:t})=>{const n=P(L);if(!e||!t)return n;const o=Math.floor(e/2);n.small={max:e,min:o,default:o+1};const r=n.small.max+1;n.medium={max:t,min:r,default:r+1};const s=n.medium.max+1;return n.large={max:2e3,min:s,default:s+1},n};function z(e){return c.jsx("style",{dangerouslySetInnerHTML:{__html:e.styles},"data-id":e.id,nonce:e.nonce})}function ie(e){function t(){const o=b({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0});return g.checkIsDefined(o.hide)?!o.hide:g.checkIsDefined(o.show)?o.show:!0}function n(){var I,R,E;const o=b({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0}),r=o.responsiveStyles,s=e.context.content,i=q(((I=s==null?void 0:s.meta)==null?void 0:I.breakpoints)||{}),l=r==null?void 0:r.large,u=r==null?void 0:r.medium,f=r==null?void 0:r.small,x=o.id;if(!x)return"";const a=l?C({className:x,styles:l}):"",d=u?C({className:x,styles:u,mediaQuery:A("medium",i)}):"",h=f?C({className:x,styles:f,mediaQuery:A("small",i)}):"",m=o.animations&&o.animations.find(v=>v.trigger==="hover");let w="";if(m){const v=((E=(R=m.steps)==null?void 0:R[1])==null?void 0:E.styles)||{};w=C({className:`${x}:hover`,styles:{...v,transition:`all ${m.duration}s ${B(m.easing)}`,transitionDelay:m.delay?`${m.delay}s`:"0s"}})||""}return[a,d,h,w].join(" ")}return c.jsx(c.Fragment,{children:n()&&t()?c.jsx(c.Fragment,{children:c.jsx(z,{id:"builderio-block",styles:n(),nonce:e.context.nonce})}):null})}function ae(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ue=e=>`on${ae(e)}`,de=(e,t)=>n=>p.evaluate({code:e,context:t.context,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,event:n,isExpression:!1,enableCache:!0});function H(e){var o;const t={},n=(o=e.block.actions)!=null?o:{};for(const r in n){if(!n.hasOwnProperty(r))continue;const s=n[r];let i=ue(r);if(e.stripPrefix)switch(g.TARGET){case"vue":i=i.replace("v-on:","");break;case"svelte":i=i.replace("on:","");break}t[i]=de(s,e)}return t}function fe({properties:e}){return e}const me=e=>({href:e.href});function j({block:e,context:t}){var o;const n={...me(e),...e.properties,"builder-id":e.id,style:te({block:e,context:t}),[_.getClassPropName()]:[e.id,"builder-block",e.class,(o=e.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return fe({properties:n,context:t,block:e})}function xe(e){return c.jsx(V.DynamicRenderer,{TagName:e.Wrapper,attributes:j({block:e.block,context:e.context}),actionAttributes:H({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 he(e){function t(){return e.includeBlockProps?{...j({block:e.block,context:e.context}),...H({block:e.block,rootState:e.context.rootState,rootSetState:e.context.rootSetState,localState:e.context.localState,context:e.context.context})}:{}}return c.jsx(e.Wrapper,{...e.wrapperProps,attributes:t(),children:e.children})}const ge=({componentOptions:e,builderBlock:t,context:n,componentRef:o,includeBlockProps:r,isInteractive:s,contextValue:i})=>{const l={...e,...r?{attributes:j({block:t,context:i})}:{}};return s?{Wrapper:o,block:t,context:n,wrapperProps:e,includeBlockProps:r}:l};function W(e){var o;const[t,n]=S.useState(()=>e.isInteractive?he:e.componentRef);return c.jsx(c.Fragment,{children:e.componentRef?c.jsx(c.Fragment,{children:c.jsx(t,{...ge({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:(o=e.blockChildren)==null?void 0:o.map(r=>c.jsx(k,{block:r,context:e.context,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},r.id))})}):null})}function Se(e){const[t,n]=S.useState(()=>e.repeatContext);return c.jsx($.BuilderContext.Provider,{value:t,children:c.jsx(k,{block:e.block,context:t,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent})})}function k(e){var u,f,x;function t(){return ne({block:e.block,context:e.context,registeredComponents:e.registeredComponents})}function n(){return oe({block:e.block,context:e.context})}function o(){var a;return(a=e.block.repeat)!=null&&a.collection?e.block:b({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context,shouldEvaluateBindings:!0})}function r(){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 s(){var h,m;if((h=e.block.repeat)!=null&&h.collection)return!!((m=n==null?void 0:n())!=null&&m.length);const a="hide"in o()?o().hide:!1;return("show"in o()?o().show:!0)&&!a}function i(){var d,h;return!((d=t==null?void 0:t())!=null&&d.component)&&!n()?(h=o().children)!=null?h:[]:[]}function l(){var a,d,h,m;return{blockChildren:(a=o().children)!=null?a:[],componentRef:(d=t==null?void 0:t())==null?void 0:d.component,componentOptions:{...K(o()),...ce(t(),o()),...le(t(),e.context),...re(t(),e.linkComponent),...se(t(),e.registeredComponents)},context:e.context,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:o(),includeBlockProps:((h=t==null?void 0:t())==null?void 0:h.noWrap)===!0,isInteractive:!((m=t==null?void 0:t())!=null&&m.isRSC)}}return S.useEffect(()=>{const a=o().id,d=o().animations;d&&a&&J(d.map(h=>({...h,elementId:a})))},[]),c.jsx(c.Fragment,{children:s()?c.jsxs(c.Fragment,{children:[c.jsx(ie,{block:e.block,context:e.context}),(u=t==null?void 0:t())!=null&&u.noWrap?c.jsx(c.Fragment,{children:c.jsx(W,{componentRef:l().componentRef,componentOptions:l().componentOptions,blockChildren:l().blockChildren,context:l().context,registeredComponents:l().registeredComponents,linkComponent:l().linkComponent,builderBlock:l().builderBlock,includeBlockProps:l().includeBlockProps,isInteractive:l().isInteractive})}):c.jsx(c.Fragment,{children:n()?c.jsx(c.Fragment,{children:(x=n())==null?void 0:x.map((a,d)=>c.jsx(Se,{repeatContext:a.context,block:a.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},d))}):c.jsxs(xe,{Wrapper:r(),block:o(),context:e.context,children:[c.jsx(W,{componentRef:l().componentRef,componentOptions:l().componentOptions,blockChildren:l().blockChildren,context:l().context,registeredComponents:l().registeredComponents,linkComponent:l().linkComponent,builderBlock:l().builderBlock,includeBlockProps:l().includeBlockProps,isInteractive:l().isInteractive}),(f=i())==null?void 0:f.map(a=>c.jsx(k,{block:a,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent,context:e.context},a.id))]})})]}):null})}function ye(e){function t(){var r;return"builder-blocks"+((r=e.blocks)!=null&&r.length?"":" no-blocks")}function n(){var r,s;g.isEditing()&&!((r=e.blocks)!=null&&r.length)&&((s=window.parent)==null||s.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}function o(){var r,s;g.isEditing()&&!((r=e.blocks)!=null&&r.length)&&((s=window.parent)==null||s.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:e.parent,dataPath:e.path}},"*"))}return c.jsxs(c.Fragment,{children:[c.jsx(e.BlocksWrapper,{className:t()+" props-blocks-wrapper-7cd1560e","builder-path":e.path,"builder-parent-id":e.parent,style:e.styleProp,onClick:r=>n(),onMouseEnter:r=>o(),onKeyPress:r=>n(),...e.BlocksWrapperProps,children:e.children}),c.jsx("style",{children:`.props-blocks-wrapper-7cd1560e {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: stretch;
|
|
12
|
+
}`})]})}function U(e){var o,r,s;const t=S.useContext($.BuilderContext),n=S.useContext(N);return c.jsx(ye,{blocks:e.blocks,parent:e.parent,path:e.path,styleProp:e.styleProp,BlocksWrapper:((o=e.context)==null?void 0:o.BlocksWrapper)||t.BlocksWrapper,BlocksWrapperProps:((r=e.context)==null?void 0:r.BlocksWrapperProps)||t.BlocksWrapperProps,children:e.blocks?c.jsx(c.Fragment,{children:(s=e.blocks)==null?void 0:s.map(i=>c.jsx(k,{block:i,linkComponent:e.linkComponent,context:e.context||t,registeredComponents:e.registeredComponents||n.registeredComponents},i.id))}):null})}const ke=Object.freeze(Object.defineProperty({__proto__:null,default:U},Symbol.toStringTag,{value:"Module"}));exports.Block=k;exports.Blocks=U;exports.ComponentsContext=N;exports.InlinedStyles=z;exports.blocks=ke;exports.fastClone=P;exports.getSizesForBreakpoints=q;exports.mapStyleObjToStrIfNeeded=M;exports.triggerAnimation=D;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");require("./server-entry-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");require("./server-entry-4133a544.cjs");const t=e.lazy(()=>Promise.resolve().then(()=>require("./button-967d0268.cjs"))),r=e.lazy(()=>Promise.resolve().then(()=>require("./columns-3b921658.cjs"))),n=e.lazy(()=>Promise.resolve().then(()=>require("./fragment-b6e3a326.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./image-eebfcbac.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./section-d655ea14.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./symbol-98650b06.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./text-1c1986aa.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./video-e20dcbbc.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./blocks-53ae1b87.cjs")).then(o=>o.blocks)),m=e.lazy(()=>Promise.resolve().then(()=>require("./content-variants-4b8718f8.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-
|
|
4
|
-
const i = t(() => import("./button-
|
|
3
|
+
import "./server-entry-feff6177.js";
|
|
4
|
+
const i = t(() => import("./button-778062cd.js")), r = t(() => import("./columns-3a8c4d3f.js")), a = t(() => import("./fragment-1492bc7f.js")), c = t(() => import("./image-6a074aab.js")), m = t(() => import("./section-d83e2dd3.js")), p = t(() => import("./symbol-dcef0d8e.js")), l = t(() => import("./text-6f7cbc35.js")), u = t(() => import("./video-58c2cc8d.js")), d = t(() => import("./blocks-426e0c44.js").then((o) => o.blocks)), x = t(() => import("./content-variants-15d191de.js")), S = n({
|
|
5
5
|
content: null,
|
|
6
6
|
context: {},
|
|
7
7
|
localState: void 0,
|
|
@@ -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-
|
|
4
|
-
import "./server-entry-
|
|
3
|
+
import { getClassPropName as n } from "./get-class-prop-name-0a91c3bd.js";
|
|
4
|
+
import "./server-entry-feff6177.js";
|
|
5
5
|
function b(t) {
|
|
6
6
|
function e() {
|
|
7
7
|
return {
|
|
@@ -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-
|
|
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-eae60eae.cjs");require("./server-entry-4133a544.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,45 +1,46 @@
|
|
|
1
1
|
import { jsxs as y, Fragment as B, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r } from "react";
|
|
3
|
-
import { InlinedStyles as z, Blocks as A, mapStyleObjToStrIfNeeded as L, getSizesForBreakpoints as W } from "./blocks-
|
|
4
|
-
import { DynamicRenderer as
|
|
5
|
-
import { getClassPropName as
|
|
3
|
+
import { InlinedStyles as z, Blocks as A, mapStyleObjToStrIfNeeded as L, getSizesForBreakpoints as W } from "./blocks-426e0c44.js";
|
|
4
|
+
import { DynamicRenderer as D } from "./dynamic-renderer-8b343325.js";
|
|
5
|
+
import { getClassPropName as N } from "./get-class-prop-name-0a91c3bd.js";
|
|
6
6
|
import "./blocks-exports.mjs";
|
|
7
|
-
import "./server-entry-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import "./server-entry-feff6177.js";
|
|
8
|
+
import "./evaluate-26c0fdb7.js";
|
|
9
|
+
const F = (e) => `builder-columns ${e}-breakpoints`;
|
|
10
|
+
function Q(e) {
|
|
10
11
|
var f, k;
|
|
11
12
|
const [c, T] = r(
|
|
12
|
-
() => typeof
|
|
13
|
-
), [s, j] = r(() =>
|
|
14
|
-
() =>
|
|
13
|
+
() => typeof e.space == "number" ? e.space || 0 : 20
|
|
14
|
+
), [s, j] = r(() => e.columns || []), [m, I] = r(
|
|
15
|
+
() => e.stackColumnsAt || "tablet"
|
|
15
16
|
);
|
|
16
|
-
function S(
|
|
17
|
-
return
|
|
17
|
+
function S(t) {
|
|
18
|
+
return t.link ? e.builderLinkComponent || "a" : "div";
|
|
18
19
|
}
|
|
19
|
-
function x(
|
|
20
|
+
function x(t) {
|
|
20
21
|
var n;
|
|
21
|
-
return ((n = s[
|
|
22
|
+
return ((n = s[t]) == null ? void 0 : n.width) || 100 / s.length;
|
|
22
23
|
}
|
|
23
|
-
function C(
|
|
24
|
-
const n = x(
|
|
24
|
+
function C(t) {
|
|
25
|
+
const n = x(t), i = c * (s.length - 1) * (n / 100);
|
|
25
26
|
return `calc(${n}% - ${i}px)`;
|
|
26
27
|
}
|
|
27
28
|
function a({
|
|
28
|
-
stackedStyle:
|
|
29
|
+
stackedStyle: t,
|
|
29
30
|
desktopStyle: n
|
|
30
31
|
}) {
|
|
31
|
-
return m === "tablet" ?
|
|
32
|
+
return m === "tablet" ? t : n;
|
|
32
33
|
}
|
|
33
34
|
function u({
|
|
34
|
-
stackedStyle:
|
|
35
|
+
stackedStyle: t,
|
|
35
36
|
desktopStyle: n
|
|
36
37
|
}) {
|
|
37
|
-
return m === "never" ? n :
|
|
38
|
+
return m === "never" ? n : t;
|
|
38
39
|
}
|
|
39
40
|
const [d, P] = r(
|
|
40
|
-
() =>
|
|
41
|
+
() => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
|
|
41
42
|
);
|
|
42
|
-
function
|
|
43
|
+
function p() {
|
|
43
44
|
return {
|
|
44
45
|
"--flex-dir": d,
|
|
45
46
|
"--flex-dir-tablet": a({
|
|
@@ -48,8 +49,8 @@ function J(t) {
|
|
|
48
49
|
})
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
-
const n =
|
|
52
|
+
function v(t) {
|
|
53
|
+
const n = t === 0 ? 0 : c, i = C(t), l = `${n}px`, g = "100%", h = 0;
|
|
53
54
|
return {
|
|
54
55
|
...{
|
|
55
56
|
display: "flex",
|
|
@@ -76,81 +77,82 @@ function J(t) {
|
|
|
76
77
|
})
|
|
77
78
|
};
|
|
78
79
|
}
|
|
79
|
-
function b(
|
|
80
|
+
function b(t) {
|
|
80
81
|
var i, l;
|
|
81
82
|
return W(
|
|
82
|
-
((l = (i =
|
|
83
|
-
)[
|
|
83
|
+
((l = (i = e.builderContext.content) == null ? void 0 : i.meta) == null ? void 0 : l.breakpoints) || {}
|
|
84
|
+
)[t].max;
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function w() {
|
|
87
|
+
const t = `.${e.builderBlock.id}-breakpoints > .builder-column`;
|
|
86
88
|
return `
|
|
87
89
|
@media (max-width: ${b("medium")}px) {
|
|
88
|
-
.${
|
|
90
|
+
.${e.builderBlock.id}-breakpoints {
|
|
89
91
|
flex-direction: var(--flex-dir-tablet);
|
|
90
92
|
align-items: stretch;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
|
-
|
|
95
|
+
${t} {
|
|
94
96
|
width: var(--column-width-tablet) !important;
|
|
95
97
|
margin-left: var(--column-margin-left-tablet) !important;
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
@media (max-width: ${b("small")}px) {
|
|
100
|
-
.${
|
|
102
|
+
.${e.builderBlock.id}-breakpoints {
|
|
101
103
|
flex-direction: var(--flex-dir);
|
|
102
104
|
align-items: stretch;
|
|
103
105
|
}
|
|
104
106
|
|
|
105
|
-
|
|
107
|
+
${t} {
|
|
106
108
|
width: var(--column-width-mobile) !important;
|
|
107
109
|
margin-left: var(--column-margin-left-mobile) !important;
|
|
108
110
|
}
|
|
109
111
|
},
|
|
110
112
|
`;
|
|
111
113
|
}
|
|
112
|
-
function $(
|
|
114
|
+
function $(t, n) {
|
|
113
115
|
return {
|
|
114
|
-
...
|
|
115
|
-
href:
|
|
116
|
+
...t.link ? {
|
|
117
|
+
href: t.link
|
|
116
118
|
} : {},
|
|
117
|
-
[
|
|
118
|
-
style: L(
|
|
119
|
+
[N()]: "builder-column",
|
|
120
|
+
style: L(v(n))
|
|
119
121
|
};
|
|
120
122
|
}
|
|
121
123
|
return /* @__PURE__ */ y(B, { children: [
|
|
122
124
|
/* @__PURE__ */ y(
|
|
123
125
|
"div",
|
|
124
126
|
{
|
|
125
|
-
className: F((f =
|
|
126
|
-
style:
|
|
127
|
+
className: F((f = e.builderBlock) == null ? void 0 : f.id) + " div-34f576bb",
|
|
128
|
+
style: p(),
|
|
127
129
|
children: [
|
|
128
130
|
/* @__PURE__ */ o(
|
|
129
131
|
z,
|
|
130
132
|
{
|
|
131
133
|
id: "builderio-columns",
|
|
132
|
-
styles:
|
|
133
|
-
nonce:
|
|
134
|
+
styles: w(),
|
|
135
|
+
nonce: e.builderContext.nonce
|
|
134
136
|
}
|
|
135
137
|
),
|
|
136
|
-
(k =
|
|
137
|
-
|
|
138
|
+
(k = e.columns) == null ? void 0 : k.map((t, n) => /* @__PURE__ */ o(
|
|
139
|
+
D,
|
|
138
140
|
{
|
|
139
|
-
TagName: S(
|
|
141
|
+
TagName: S(t),
|
|
140
142
|
actionAttributes: {},
|
|
141
|
-
attributes: $(
|
|
143
|
+
attributes: $(t, n),
|
|
142
144
|
children: /* @__PURE__ */ o(
|
|
143
145
|
A,
|
|
144
146
|
{
|
|
145
147
|
path: `component.options.columns.${n}.blocks`,
|
|
146
|
-
parent:
|
|
148
|
+
parent: e.builderBlock.id,
|
|
147
149
|
styleProp: {
|
|
148
150
|
flexGrow: "1"
|
|
149
151
|
},
|
|
150
|
-
context:
|
|
151
|
-
registeredComponents:
|
|
152
|
-
linkComponent:
|
|
153
|
-
blocks:
|
|
152
|
+
context: e.builderContext,
|
|
153
|
+
registeredComponents: e.builderComponents,
|
|
154
|
+
linkComponent: e.builderLinkComponent,
|
|
155
|
+
blocks: t.blocks
|
|
154
156
|
}
|
|
155
157
|
)
|
|
156
158
|
},
|
|
@@ -159,12 +161,12 @@ function J(t) {
|
|
|
159
161
|
]
|
|
160
162
|
}
|
|
161
163
|
),
|
|
162
|
-
/* @__PURE__ */ o("style", { children: `.div-
|
|
164
|
+
/* @__PURE__ */ o("style", { children: `.div-34f576bb {
|
|
163
165
|
display: flex;
|
|
164
166
|
line-height: normal;
|
|
165
167
|
}` })
|
|
166
168
|
] });
|
|
167
169
|
}
|
|
168
170
|
export {
|
|
169
|
-
|
|
171
|
+
Q as default
|
|
170
172
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),o=require("react"),s=require("./blocks-53ae1b87.cjs"),p=require("./dynamic-renderer-b29b45ca.cjs"),q=require("./get-class-prop-name-eae60eae.cjs");require("./blocks-exports.cjs");require("./server-entry-4133a544.cjs");require("./evaluate-c0eeb4f8.cjs");const B=t=>`builder-columns ${t}-breakpoints`;function z(t){var f,g;const[u,A]=o.useState(()=>typeof t.space=="number"?t.space||0:20),[c,L]=o.useState(()=>t.columns||[]),[d,N]=o.useState(()=>t.stackColumnsAt||"tablet");function y(e){return e.link?t.builderLinkComponent||"a":"div"}function x(e){var n;return((n=c[e])==null?void 0:n.width)||100/c.length}function C(e){const n=x(e),i=u*(c.length-1)*(n/100);return`calc(${n}% - ${i}px)`}function a({stackedStyle:e,desktopStyle:n}){return d==="tablet"?e:n}function m({stackedStyle:e,desktopStyle:n}){return d==="never"?n:e}const[b,W]=o.useState(()=>t.stackColumnsAt==="never"?"row":t.reverseColumnsWhenStacked?"column-reverse":"column");function v(){return{"--flex-dir":b,"--flex-dir-tablet":a({stackedStyle:b,desktopStyle:"row"})}}function w(e){const n=e===0?0:u,i=C(e),r=`${n}px`,h="100%",S=0;return{...{display:"flex",flexDirection:"column",alignItems:"stretch"},width:i,["marginLeft"]:r,"--column-width-mobile":m({stackedStyle:h,desktopStyle:i}),"--column-margin-left-mobile":m({stackedStyle:S,desktopStyle:r}),"--column-width-tablet":a({stackedStyle:h,desktopStyle:i}),"--column-margin-left-tablet":a({stackedStyle:S,desktopStyle:r})}}function k(e){var i,r;return s.getSizesForBreakpoints(((r=(i=t.builderContext.content)==null?void 0:i.meta)==null?void 0:r.breakpoints)||{})[e].max}function $(){const e=`.${t.builderBlock.id}-breakpoints > .builder-column`;return`
|
|
2
|
+
@media (max-width: ${k("medium")}px) {
|
|
3
|
+
.${t.builderBlock.id}-breakpoints {
|
|
4
|
+
flex-direction: var(--flex-dir-tablet);
|
|
5
|
+
align-items: stretch;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
${e} {
|
|
9
|
+
width: var(--column-width-tablet) !important;
|
|
10
|
+
margin-left: var(--column-margin-left-tablet) !important;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (max-width: ${k("small")}px) {
|
|
15
|
+
.${t.builderBlock.id}-breakpoints {
|
|
16
|
+
flex-direction: var(--flex-dir);
|
|
17
|
+
align-items: stretch;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
${e} {
|
|
21
|
+
width: var(--column-width-mobile) !important;
|
|
22
|
+
margin-left: var(--column-margin-left-mobile) !important;
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
`}function j(e,n){return{...e.link?{href:e.link}:{},[q.getClassPropName()]:"builder-column",style:s.mapStyleObjToStrIfNeeded(w(n))}}return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:B((f=t.builderBlock)==null?void 0:f.id)+" div-34f576bb",style:v(),children:[l.jsx(s.InlinedStyles,{id:"builderio-columns",styles:$(),nonce:t.builderContext.nonce}),(g=t.columns)==null?void 0:g.map((e,n)=>l.jsx(p.DynamicRenderer,{TagName:y(e),actionAttributes:{},attributes:j(e,n),children:l.jsx(s.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-34f576bb {
|
|
26
|
+
display: flex;
|
|
27
|
+
line-height: normal;
|
|
28
|
+
}`})]})}exports.default=z;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as h, jsxs as H, Fragment as z } from "react/jsx-runtime";
|
|
2
2
|
import { lazy as v, useRef as le, useState as k, useEffect as S } from "react";
|
|
3
|
-
import { isBrowser as $, TARGET as te, isEditing as P, registerInsertMenu as se, setupBrowserForEditing as de, createRegisterComponentMessage as ue, getDefaultCanTrack as A, _track as J, isPreviewing as ce, fetchOneEntry as me, logger as pe, createEditorListener as ge, fetch as fe,
|
|
4
|
-
import { Video as
|
|
5
|
-
import { triggerAnimation as
|
|
6
|
-
import "./
|
|
3
|
+
import { isBrowser as $, TARGET as te, isEditing as P, registerInsertMenu as se, setupBrowserForEditing as de, createRegisterComponentMessage as ue, getDefaultCanTrack as A, _track as J, isPreviewing as ce, fetchOneEntry as me, logger as pe, createEditorListener as ge, fetch as fe, serializeComponentInfo as Y, handleABTestingSync as he } from "./server-entry-feff6177.js";
|
|
4
|
+
import { Video as be, Button as xe, Columns as ye, Fragment as ve, Image as Se, Section as Te, Symbol as ke, Text as Ce, BuilderContext as Ie } from "./blocks-exports.mjs";
|
|
5
|
+
import { triggerAnimation as we, fastClone as Ve, InlinedStyles as ne, ComponentsContext as Re, Blocks as Ee } from "./blocks-426e0c44.js";
|
|
6
|
+
import { evaluate as Q } from "./evaluate-26c0fdb7.js";
|
|
7
|
+
import "./get-class-prop-name-0a91c3bd.js";
|
|
7
8
|
import "./dynamic-renderer-8b343325.js";
|
|
8
9
|
const B = {
|
|
9
10
|
"@type": "@builder.io/sdk:Element",
|
|
@@ -129,7 +130,7 @@ const B = {
|
|
|
129
130
|
builderComponents: !0,
|
|
130
131
|
builderLinkComponent: !0
|
|
131
132
|
}
|
|
132
|
-
}, Pe = v(() => import("./accordion-
|
|
133
|
+
}, Pe = v(() => import("./accordion-99129d68.js")), We = {
|
|
133
134
|
name: "Core:Button",
|
|
134
135
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
|
|
135
136
|
defaultStyles: {
|
|
@@ -541,7 +542,7 @@ const B = {
|
|
|
541
542
|
shouldReceiveBuilderProps: {
|
|
542
543
|
builderContext: !0
|
|
543
544
|
}
|
|
544
|
-
}, He = v(() => import("./slot-
|
|
545
|
+
}, He = v(() => import("./slot-2347377e.js")), $e = {
|
|
545
546
|
name: "Symbol",
|
|
546
547
|
noWrap: !0,
|
|
547
548
|
static: !0,
|
|
@@ -721,9 +722,10 @@ const B = {
|
|
|
721
722
|
builderComponents: !0,
|
|
722
723
|
builderLinkComponent: !0
|
|
723
724
|
}
|
|
724
|
-
}, qe = v(() => import("./tabs-
|
|
725
|
+
}, qe = v(() => import("./tabs-0784574b.js")), je = {
|
|
725
726
|
shouldReceiveBuilderProps: {
|
|
726
|
-
builderBlock: !1
|
|
727
|
+
builderBlock: !1,
|
|
728
|
+
builderContext: !0
|
|
727
729
|
},
|
|
728
730
|
name: "Text",
|
|
729
731
|
static: !0,
|
|
@@ -1016,7 +1018,7 @@ const B = {
|
|
|
1016
1018
|
builderComponents: !0,
|
|
1017
1019
|
builderLinkComponent: !0
|
|
1018
1020
|
}
|
|
1019
|
-
}, Je = v(() => import("./form-
|
|
1021
|
+
}, Je = v(() => import("./form-ccb0b912.js")), Ye = {
|
|
1020
1022
|
name: "Form:Input",
|
|
1021
1023
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
|
|
1022
1024
|
inputs: [
|
|
@@ -1067,7 +1069,7 @@ const B = {
|
|
|
1067
1069
|
borderStyle: "solid",
|
|
1068
1070
|
borderColor: "#ccc"
|
|
1069
1071
|
}
|
|
1070
|
-
}, Qe = v(() => import("./input-
|
|
1072
|
+
}, Qe = v(() => import("./input-27972020.js")), Ge = {
|
|
1071
1073
|
name: "Form:Select",
|
|
1072
1074
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
|
|
1073
1075
|
defaultStyles: {
|
|
@@ -1109,7 +1111,7 @@ const B = {
|
|
|
1109
1111
|
}],
|
|
1110
1112
|
static: !0,
|
|
1111
1113
|
noWrap: !0
|
|
1112
|
-
}, Xe = v(() => import("./select-
|
|
1114
|
+
}, Xe = v(() => import("./select-60ff549c.js")), Ze = {
|
|
1113
1115
|
name: "Form:SubmitButton",
|
|
1114
1116
|
image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
|
|
1115
1117
|
defaultStyles: {
|
|
@@ -1184,7 +1186,7 @@ const B = {
|
|
|
1184
1186
|
}],
|
|
1185
1187
|
noWrap: !0,
|
|
1186
1188
|
static: !0
|
|
1187
|
-
}, it = v(() => import("./img-
|
|
1189
|
+
}, it = v(() => import("./img-75751c89.js")), ot = {
|
|
1188
1190
|
name: "Video",
|
|
1189
1191
|
canHaveChildren: !0,
|
|
1190
1192
|
defaultStyles: {
|
|
@@ -1293,31 +1295,31 @@ const B = {
|
|
|
1293
1295
|
component: it,
|
|
1294
1296
|
...at
|
|
1295
1297
|
}, {
|
|
1296
|
-
component:
|
|
1298
|
+
component: be,
|
|
1297
1299
|
...ot
|
|
1298
1300
|
}], G = () => [{
|
|
1299
|
-
component:
|
|
1301
|
+
component: xe,
|
|
1300
1302
|
...We
|
|
1301
1303
|
}, {
|
|
1302
|
-
component:
|
|
1304
|
+
component: ye,
|
|
1303
1305
|
...Ae
|
|
1304
1306
|
}, {
|
|
1305
|
-
component:
|
|
1307
|
+
component: ve,
|
|
1306
1308
|
...Be
|
|
1307
1309
|
}, {
|
|
1308
|
-
component:
|
|
1310
|
+
component: Se,
|
|
1309
1311
|
...De
|
|
1310
1312
|
}, {
|
|
1311
|
-
component:
|
|
1313
|
+
component: Te,
|
|
1312
1314
|
...Ue
|
|
1313
1315
|
}, {
|
|
1314
1316
|
component: He,
|
|
1315
1317
|
...Le
|
|
1316
1318
|
}, {
|
|
1317
|
-
component:
|
|
1319
|
+
component: ke,
|
|
1318
1320
|
...$e
|
|
1319
1321
|
}, {
|
|
1320
|
-
component:
|
|
1322
|
+
component: Ce,
|
|
1321
1323
|
...je
|
|
1322
1324
|
}, {
|
|
1323
1325
|
component: qe,
|
|
@@ -1596,7 +1598,7 @@ function kt(e) {
|
|
|
1596
1598
|
});
|
|
1597
1599
|
},
|
|
1598
1600
|
animation: (u) => {
|
|
1599
|
-
|
|
1601
|
+
we(u);
|
|
1600
1602
|
},
|
|
1601
1603
|
contentUpdate: (u) => {
|
|
1602
1604
|
i(u);
|
|
@@ -1673,7 +1675,7 @@ function kt(e) {
|
|
|
1673
1675
|
"builder:component:stateChange",
|
|
1674
1676
|
{
|
|
1675
1677
|
detail: {
|
|
1676
|
-
state:
|
|
1678
|
+
state: Ve(e.builderContextSignal.rootState),
|
|
1677
1679
|
ref: {
|
|
1678
1680
|
name: e.model
|
|
1679
1681
|
}
|
|
@@ -1750,7 +1752,7 @@ function kt(e) {
|
|
|
1750
1752
|
"builder:component:stateChangeListenerActivated",
|
|
1751
1753
|
w
|
|
1752
1754
|
));
|
|
1753
|
-
}, []), /* @__PURE__ */ h(
|
|
1755
|
+
}, []), /* @__PURE__ */ h(Ie.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ h(
|
|
1754
1756
|
m,
|
|
1755
1757
|
{
|
|
1756
1758
|
ref: t,
|
|
@@ -1944,7 +1946,7 @@ function ee(e) {
|
|
|
1944
1946
|
}
|
|
1945
1947
|
);
|
|
1946
1948
|
}
|
|
1947
|
-
function
|
|
1949
|
+
function Dt(e) {
|
|
1948
1950
|
var a;
|
|
1949
1951
|
const [t, n] = k(
|
|
1950
1952
|
() => dt({
|
|
@@ -1970,7 +1972,7 @@ function Bt(e) {
|
|
|
1970
1972
|
return t ? {
|
|
1971
1973
|
...e.content,
|
|
1972
1974
|
testVariationId: (o = e.content) == null ? void 0 : o.id
|
|
1973
|
-
} :
|
|
1975
|
+
} : he({
|
|
1974
1976
|
item: e.content,
|
|
1975
1977
|
canTrack: A(e.canTrack)
|
|
1976
1978
|
});
|
|
@@ -2057,5 +2059,5 @@ function Bt(e) {
|
|
|
2057
2059
|
] });
|
|
2058
2060
|
}
|
|
2059
2061
|
export {
|
|
2060
|
-
|
|
2062
|
+
Dt as default
|
|
2061
2063
|
};
|