@builder.io/sdk-vue 0.4.4 → 0.4.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.
Files changed (58) hide show
  1. package/package.json +1 -1
  2. package/packages/_vue2/dist/block-styles.503c2141.cjs +1 -0
  3. package/packages/_vue2/dist/block-styles.76e698a7.js +72 -0
  4. package/packages/_vue2/dist/{css.5dc54b85.js → css.1601c108.js} +2 -2
  5. package/packages/_vue2/dist/{css.91bb94e8.cjs → css.6d92c2ca.cjs} +1 -1
  6. package/packages/_vue2/dist/{evaluate.f654f563.js → evaluate.5365c739.js} +1 -1
  7. package/packages/_vue2/dist/{evaluate.10e091b0.cjs → evaluate.97a0f474.cjs} +3 -3
  8. package/packages/_vue2/dist/index.4de025de.cjs +32 -0
  9. package/packages/_vue2/dist/{index.a1dfdaec.js → index.dcd9672f.js} +316 -297
  10. package/packages/_vue2/dist/inlined-script.5b4b5fc3.js +23 -0
  11. package/packages/_vue2/dist/inlined-script.6a6ca760.cjs +1 -0
  12. package/packages/_vue2/dist/inlined-styles.759d26e8.js +23 -0
  13. package/packages/_vue2/dist/inlined-styles.9ddda3d7.cjs +1 -0
  14. package/packages/_vue2/dist/{render-block.df744a97.js → render-block.844495c0.js} +6 -6
  15. package/packages/_vue2/dist/{render-block.55b40822.cjs → render-block.c0841b5d.cjs} +2 -2
  16. package/packages/_vue2/dist/{render-component.baf2d372.cjs → render-component.a3770d92.cjs} +1 -1
  17. package/packages/_vue2/dist/{render-component.9632b476.js → render-component.a57a8b32.js} +3 -3
  18. package/packages/_vue2/dist/render-content.19fe4991.cjs +1 -0
  19. package/packages/_vue2/dist/{render-content.30c701ec.js → render-content.8d297efd.js} +79 -78
  20. package/packages/_vue2/dist/{render-repeated-block.e9bfa3cd.cjs → render-repeated-block.be86aae1.cjs} +1 -1
  21. package/packages/_vue2/dist/{render-repeated-block.7f4862b2.js → render-repeated-block.f51da3f5.js} +2 -2
  22. package/packages/_vue2/dist/render-styles.b41f1309.js +87 -0
  23. package/packages/_vue2/dist/render-styles.ba0e223a.cjs +31 -0
  24. package/packages/_vue2/dist/sdk.cjs +1 -1
  25. package/packages/_vue2/dist/sdk.js +1 -1
  26. package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +1 -1
  27. package/packages/_vue2/dist/src/components/inlined-script.vue.d.ts +11 -0
  28. package/packages/_vue2/dist/src/components/render-content/render-content.types.d.ts +9 -23
  29. package/packages/_vue2/dist/src/components/render-content-variants/helpers.d.ts +3 -2
  30. package/packages/_vue2/dist/src/components/render-content-variants/render-content-variants.types.d.ts +20 -0
  31. package/packages/_vue2/dist/src/components/render-content-variants/render-content-variants.vue.d.ts +25 -2
  32. package/packages/_vue2/dist/src/constants/sdk-version.d.ts +1 -1
  33. package/packages/_vue2/dist/src/types/enforced-partials.d.ts +21 -0
  34. package/packages/_vue2/dist/src/types/typescript.d.ts +3 -0
  35. package/packages/_vue2/dist/style.css +1 -1
  36. package/packages/_vue3/dist/sdk.cjs +18 -18
  37. package/packages/_vue3/dist/sdk.js +657 -633
  38. package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +1 -1
  39. package/packages/_vue3/dist/src/components/inlined-script.vue.d.ts +11 -0
  40. package/packages/_vue3/dist/src/components/render-content/render-content.types.d.ts +9 -23
  41. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +3 -6
  42. package/packages/_vue3/dist/src/components/render-content-variants/helpers.d.ts +27 -3
  43. package/packages/_vue3/dist/src/components/render-content-variants/render-content-variants.types.d.ts +20 -0
  44. package/packages/_vue3/dist/src/components/render-content-variants/render-content-variants.vue.d.ts +50 -4
  45. package/packages/_vue3/dist/src/constants/sdk-version.d.ts +1 -1
  46. package/packages/_vue3/dist/src/types/enforced-partials.d.ts +21 -0
  47. package/packages/_vue3/dist/src/types/typescript.d.ts +3 -0
  48. package/packages/_vue3/dist/style.css +1 -1
  49. package/packages/_vue2/dist/block-styles.0037defd.cjs +0 -1
  50. package/packages/_vue2/dist/block-styles.bc8cdc9f.js +0 -76
  51. package/packages/_vue2/dist/index.a4e21f82.cjs +0 -32
  52. package/packages/_vue2/dist/render-content.d464cccb.cjs +0 -1
  53. package/packages/_vue2/dist/render-inlined-styles.36b7a3a4.js +0 -23
  54. package/packages/_vue2/dist/render-inlined-styles.469ed053.cjs +0 -1
  55. package/packages/_vue2/dist/render-styles.43e1e2a4.js +0 -87
  56. package/packages/_vue2/dist/render-styles.ad11935f.cjs +0 -31
  57. package/packages/_vue2/dist/src/components/{render-inlined-styles.vue.d.ts → inlined-styles.vue.d.ts} +3 -3
  58. package/packages/_vue3/dist/src/components/{render-inlined-styles.vue.d.ts → inlined-styles.vue.d.ts} +3 -3
@@ -0,0 +1,23 @@
1
+ import { defineComponent as t } from "vue";
2
+ import { n as e } from "./index.dcd9672f.js";
3
+ const s = t({
4
+ name: "inlined-script",
5
+ props: ["scriptStr", "id"]
6
+ });
7
+ var o = function() {
8
+ var n = this, r = n._self._c;
9
+ return n._self._setupProxy, r("script", { tag: "component", attrs: { id: n.id }, domProps: { innerHTML: n._s(n.scriptStr) } });
10
+ }, i = [], p = /* @__PURE__ */ e(
11
+ s,
12
+ o,
13
+ i,
14
+ !1,
15
+ null,
16
+ null,
17
+ null,
18
+ null
19
+ );
20
+ const a = p.exports;
21
+ export {
22
+ a as default
23
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),t=require("./index.4de025de.cjs"),s=r.defineComponent({name:"inlined-script",props:["scriptStr","id"]});var i=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("script",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.scriptStr)}})},o=[],c=t.normalizeComponent(s,i,o,!1,null,null,null,null);const l=c.exports;exports.default=l;
@@ -0,0 +1,23 @@
1
+ import { defineComponent as s } from "vue";
2
+ import { n as t } from "./index.dcd9672f.js";
3
+ const r = s({
4
+ name: "inlined-styles",
5
+ props: ["styles", "id"]
6
+ });
7
+ var o = function() {
8
+ var n = this, e = n._self._c;
9
+ return n._self._setupProxy, e("style", { tag: "component", attrs: { id: n.id }, domProps: { innerHTML: n._s(n.styles) } });
10
+ }, l = [], _ = /* @__PURE__ */ t(
11
+ r,
12
+ o,
13
+ l,
14
+ !1,
15
+ null,
16
+ null,
17
+ null,
18
+ null
19
+ );
20
+ const p = _.exports;
21
+ export {
22
+ p as default
23
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),t=require("./index.4de025de.cjs"),r=s.defineComponent({name:"inlined-styles",props:["styles","id"]});var l=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("style",{tag:"component",attrs:{id:e.id},domProps:{innerHTML:e._s(e.styles)}})},o=[],i=t.normalizeComponent(r,l,o,!1,null,null,null,null);const d=i.exports;exports.default=d;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m } from "vue";
2
- import { e as l } from "./evaluate.f654f563.js";
3
- import { T as u, n as d } from "./index.a1dfdaec.js";
4
- import { a as h, g as p } from "./css.5dc54b85.js";
2
+ import { e as l } from "./evaluate.5365c739.js";
3
+ import { T as u, n as d } from "./index.dcd9672f.js";
4
+ import { a as h, g as p } from "./css.1601c108.js";
5
5
  const f = (e) => `v-on:${e.toLowerCase()}`, k = (e, t) => (o) => l({
6
6
  code: e,
7
7
  context: t.context,
@@ -135,17 +135,17 @@ const _ = [
135
135
  },
136
136
  block: r
137
137
  }));
138
- }, R = () => import("./block-styles.bc8cdc9f.js").then((e) => e.default).catch((e) => {
138
+ }, R = () => import("./block-styles.76e698a7.js").then((e) => e.default).catch((e) => {
139
139
  throw console.error(
140
140
  "Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",
141
141
  e
142
142
  ), e;
143
- }), P = () => import("./render-repeated-block.7f4862b2.js").then((e) => e.default).catch((e) => {
143
+ }), P = () => import("./render-repeated-block.f51da3f5.js").then((e) => e.default).catch((e) => {
144
144
  throw console.error(
145
145
  "Error while attempting to dynamically import component RenderRepeatedBlock at ./render-repeated-block.vue",
146
146
  e
147
147
  ), e;
148
- }), T = () => import("./render-component.9632b476.js").then((e) => e.default).catch((e) => {
148
+ }), T = () => import("./render-component.a57a8b32.js").then((e) => e.default).catch((e) => {
149
149
  throw console.error(
150
150
  "Error while attempting to dynamically import component RenderComponent at ./render-component.vue",
151
151
  e
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("vue"),u=require("./evaluate.10e091b0.cjs"),d=require("./index.a4e21f82.cjs"),s=require("./css.91bb94e8.cjs"),m=t=>`v-on:${t.toLowerCase()}`,h=(t,e)=>o=>u.evaluate({code:t,context:e.context,localState:e.localState,rootState:e.rootState,rootSetState:e.rootSetState,event:o,isExpression:!1});function k(t){var r;const e={},o=(r=t.block.actions)!=null?r:{};for(const n in o){if(!o.hasOwnProperty(n))continue;const c=o[n];e[m(n)]=h(c,t)}return e}function f(t){var e;return{...(e=t.component)==null?void 0:e.options,...t.options,builderBlock:t}}function S(t){const e={};if(typeof t!="string")return e;const o=t.trim().split(/\\s+/);for(const r of o)e[r]=!0;return e}function b(t){return t.class=S(t.class),t}const v=t=>({href:t.href});function y(t){var o;const e={...v(t),...t.properties,"builder-id":t.id,style:g(t.style),class:[t.id,"builder-block",t.class,(o=t.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return b(e)}function g(t){if(!!t)switch(d.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return s.convertStyleMapToCSSArray(t).join(" ");case"qwik":case"reactNative":case"react":return t}}const x=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],B=t=>typeof t=="string"&&x.includes(t.toLowerCase()),_=({block:t,context:e})=>{var n;const o=(n=s.getProcessedBlock({block:t,localState:e.localState,rootState:e.rootState,rootSetState:e.rootSetState,context:e.context,shouldEvaluateBindings:!1}).component)==null?void 0:n.name;if(!o)return null;const r=e.registeredComponents[o];if(r)return r;console.warn(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("vue"),u=require("./evaluate.97a0f474.cjs"),d=require("./index.4de025de.cjs"),s=require("./css.6d92c2ca.cjs"),m=t=>`v-on:${t.toLowerCase()}`,h=(t,e)=>o=>u.evaluate({code:t,context:e.context,localState:e.localState,rootState:e.rootState,rootSetState:e.rootSetState,event:o,isExpression:!1});function k(t){var r;const e={},o=(r=t.block.actions)!=null?r:{};for(const n in o){if(!o.hasOwnProperty(n))continue;const c=o[n];e[m(n)]=h(c,t)}return e}function S(t){var e;return{...(e=t.component)==null?void 0:e.options,...t.options,builderBlock:t}}function f(t){const e={};if(typeof t!="string")return e;const o=t.trim().split(/\\s+/);for(const r of o)e[r]=!0;return e}function b(t){return t.class=f(t.class),t}const v=t=>({href:t.href});function y(t){var o;const e={...v(t),...t.properties,"builder-id":t.id,style:g(t.style),class:[t.id,"builder-block",t.class,(o=t.properties)==null?void 0:o.class].filter(Boolean).join(" ")};return b(e)}function g(t){if(!!t)switch(d.TARGET){case"svelte":case"vue2":case"vue3":case"solid":return s.convertStyleMapToCSSArray(t).join(" ");case"qwik":case"reactNative":case"react":return t}}const x=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],B=t=>typeof t=="string"&&x.includes(t.toLowerCase()),_=({block:t,context:e})=>{var n;const o=(n=s.getProcessedBlock({block:t,localState:e.localState,rootState:e.rootState,rootSetState:e.rootSetState,context:e.context,shouldEvaluateBindings:!1}).component)==null?void 0:n.name;if(!o)return null;const r=e.registeredComponents[o];if(r)return r;console.warn(`
2
2
  Could not find a registered component named "${o}".
3
- If you registered it, is the file that registered it imported by the file that needs to render it?`)},C=({block:t,context:e})=>{const{repeat:o,...r}=t;if(!(o!=null&&o.collection))return;const n=u.evaluate({code:o.collection,localState:e.localState,rootState:e.rootState,rootSetState:e.rootSetState,context:e.context});if(!Array.isArray(n))return;const c=o.collection.split(".").pop(),a=o.itemName||(c?c+"Item":"item");return n.map((i,l)=>({context:{...e,localState:{...e.localState,$index:l,$item:i,[a]:i,[`$${a}Index`]:l}},block:r}))},w=()=>Promise.resolve().then(()=>require("./block-styles.0037defd.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",t),t}),P=()=>Promise.resolve().then(()=>require("./render-repeated-block.e9bfa3cd.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RenderRepeatedBlock at ./render-repeated-block.vue",t),t}),E=()=>Promise.resolve().then(()=>require("./render-component.baf2d372.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RenderComponent at ./render-component.vue",t),t}),R=p.defineComponent({name:"render-block",components:{RenderComponent:E,RenderRepeatedBlock:P,BlockStyles:w},props:["block","context"],data(){return{component:_({block:this.block,context:this.context}),Tag:this.block.tagName||"div",childrenContext:this.context,isEmptyHtmlElement:B}},computed:{repeatItem(){return C({block:this.block,context:this.context})},useBlock(){return this.repeatItem?this.block:s.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0})},canShowBlock(){return"hide"in this.useBlock?!this.useBlock.hide:"show"in this.useBlock?this.useBlock.show:!0},actions(){return k({block:this.useBlock,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context})},attributes(){return{...y(this.useBlock)}},childrenWithoutParentComponent(){var e,o;return!((e=this.component)!=null&&e.component)&&!this.repeatItem?(o=this.useBlock.children)!=null?o:[]:[]},renderComponentProps(){var t,e,o;return{blockChildren:(t=this.useBlock.children)!=null?t:[],componentRef:(e=this.component)==null?void 0:e.component,componentOptions:{...f(this.useBlock),...(o=this.component)!=null&&o.noWrap?{attributes:{...this.attributes,...this.actions}}:{}},context:this.childrenContext}}},methods:{stripVOn:function(e={}){return Object.keys(e).reduce((o,r)=>({...o,[r.replace("v-on:","")]:e[r]}),{})}}});var T=function(){var r;var e=this,o=e._self._c;return e._self._setupProxy,!Boolean(!((r=e.component)!=null&&r.noWrap))&&e.canShowBlock?o("render-component",e._b({},"render-component",e.renderComponentProps,!1)):e.isEmptyHtmlElement(e.Tag)&&e.canShowBlock?o(e.Tag,e._g(e._b({tag:"component"},"component",e.attributes,!1),e.stripVOn(e.actions))):!e.isEmptyHtmlElement(e.Tag)&&e.repeatItem&&e.canShowBlock?o("div",{staticClass:"vue2-root-element-workaround"},e._l(e.repeatItem,function(n,c){return o("render-repeated-block",{key:c,attrs:{repeatContext:n.context,block:n.block}})}),1):e.canShowBlock?o(e.Tag,e._g(e._b({tag:"component"},"component",e.attributes,!1),e.stripVOn(e.actions)),[o("render-component",e._b({},"render-component",e.renderComponentProps,!1)),e._l(e.childrenWithoutParentComponent,function(n,c){return o("render-block",{key:"render-block-"+n.id,attrs:{block:n,context:e.childrenContext}})}),e._l(e.childrenWithoutParentComponent,function(n,c){return o("block-styles",{key:"block-style-"+n.id,attrs:{block:n,context:e.childrenContext}})})],2):e._e()},j=[],O=d.normalizeComponent(R,T,j,!1,null,null,null,null);const A=O.exports;exports.default=A;
3
+ If you registered it, is the file that registered it imported by the file that needs to render it?`)},C=({block:t,context:e})=>{const{repeat:o,...r}=t;if(!(o!=null&&o.collection))return;const n=u.evaluate({code:o.collection,localState:e.localState,rootState:e.rootState,rootSetState:e.rootSetState,context:e.context});if(!Array.isArray(n))return;const c=o.collection.split(".").pop(),a=o.itemName||(c?c+"Item":"item");return n.map((i,l)=>({context:{...e,localState:{...e.localState,$index:l,$item:i,[a]:i,[`$${a}Index`]:l}},block:r}))},w=()=>Promise.resolve().then(()=>require("./block-styles.503c2141.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",t),t}),P=()=>Promise.resolve().then(()=>require("./render-repeated-block.be86aae1.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RenderRepeatedBlock at ./render-repeated-block.vue",t),t}),E=()=>Promise.resolve().then(()=>require("./render-component.a3770d92.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RenderComponent at ./render-component.vue",t),t}),R=p.defineComponent({name:"render-block",components:{RenderComponent:E,RenderRepeatedBlock:P,BlockStyles:w},props:["block","context"],data(){return{component:_({block:this.block,context:this.context}),Tag:this.block.tagName||"div",childrenContext:this.context,isEmptyHtmlElement:B}},computed:{repeatItem(){return C({block:this.block,context:this.context})},useBlock(){return this.repeatItem?this.block:s.getProcessedBlock({block:this.block,localState:this.context.localState,rootState:this.context.rootState,rootSetState:this.context.rootSetState,context:this.context.context,shouldEvaluateBindings:!0})},canShowBlock(){return"hide"in this.useBlock?!this.useBlock.hide:"show"in this.useBlock?this.useBlock.show:!0},actions(){return k({block:this.useBlock,rootState:this.context.rootState,rootSetState:this.context.rootSetState,localState:this.context.localState,context:this.context.context})},attributes(){return{...y(this.useBlock)}},childrenWithoutParentComponent(){var e,o;return!((e=this.component)!=null&&e.component)&&!this.repeatItem?(o=this.useBlock.children)!=null?o:[]:[]},renderComponentProps(){var t,e,o;return{blockChildren:(t=this.useBlock.children)!=null?t:[],componentRef:(e=this.component)==null?void 0:e.component,componentOptions:{...S(this.useBlock),...(o=this.component)!=null&&o.noWrap?{attributes:{...this.attributes,...this.actions}}:{}},context:this.childrenContext}}},methods:{stripVOn:function(e={}){return Object.keys(e).reduce((o,r)=>({...o,[r.replace("v-on:","")]:e[r]}),{})}}});var T=function(){var r;var e=this,o=e._self._c;return e._self._setupProxy,!Boolean(!((r=e.component)!=null&&r.noWrap))&&e.canShowBlock?o("render-component",e._b({},"render-component",e.renderComponentProps,!1)):e.isEmptyHtmlElement(e.Tag)&&e.canShowBlock?o(e.Tag,e._g(e._b({tag:"component"},"component",e.attributes,!1),e.stripVOn(e.actions))):!e.isEmptyHtmlElement(e.Tag)&&e.repeatItem&&e.canShowBlock?o("div",{staticClass:"vue2-root-element-workaround"},e._l(e.repeatItem,function(n,c){return o("render-repeated-block",{key:c,attrs:{repeatContext:n.context,block:n.block}})}),1):e.canShowBlock?o(e.Tag,e._g(e._b({tag:"component"},"component",e.attributes,!1),e.stripVOn(e.actions)),[o("render-component",e._b({},"render-component",e.renderComponentProps,!1)),e._l(e.childrenWithoutParentComponent,function(n,c){return o("render-block",{key:"render-block-"+n.id,attrs:{block:n,context:e.childrenContext}})}),e._l(e.childrenWithoutParentComponent,function(n,c){return o("block-styles",{key:"block-style-"+n.id,attrs:{block:n,context:e.childrenContext}})})],2):e._e()},j=[],O=d.normalizeComponent(R,T,j,!1,null,null,null,null);const A=O.exports;exports.default=A;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),l=require("./index.a4e21f82.cjs"),s=()=>Promise.resolve().then(()=>require("./block-styles.0037defd.cjs")).then(n=>n.default).catch(n=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",n),n}),i=()=>Promise.resolve().then(()=>require("./render-block.55b40822.cjs")).then(n=>n.default).catch(n=>{throw console.error("Error while attempting to dynamically import component RenderBlock at ./render-block.vue",n),n}),a=c.defineComponent({name:"render-component",components:{RenderBlock:i,BlockStyles:s},props:["componentRef","componentOptions","blockChildren","context"]});var d=function(){var e=this,t=e._self._c;return e._self._setupProxy,e.componentRef?t(e.componentRef,e._b({tag:"component"},"component",e.componentOptions,!1),[e._l(e.blockChildren,function(o,r){return t("render-block",{key:"render-block-"+o.id,attrs:{block:o,context:e.context}})}),e._l(e.blockChildren,function(o,r){return t("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:e.context}})})],2):e._e()},m=[],p=l.normalizeComponent(a,d,m,!1,null,null,null,null);const u=p.exports;exports.default=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),l=require("./index.4de025de.cjs"),s=()=>Promise.resolve().then(()=>require("./block-styles.503c2141.cjs")).then(n=>n.default).catch(n=>{throw console.error("Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",n),n}),i=()=>Promise.resolve().then(()=>require("./render-block.c0841b5d.cjs")).then(n=>n.default).catch(n=>{throw console.error("Error while attempting to dynamically import component RenderBlock at ./render-block.vue",n),n}),d=c.defineComponent({name:"render-component",components:{RenderBlock:i,BlockStyles:s},props:["componentRef","componentOptions","blockChildren","context"]});var a=function(){var e=this,t=e._self._c;return e._self._setupProxy,e.componentRef?t(e.componentRef,e._b({tag:"component"},"component",e.componentOptions,!1),[e._l(e.blockChildren,function(o,r){return t("render-block",{key:"render-block-"+o.id,attrs:{block:o,context:e.context}})}),e._l(e.blockChildren,function(o,r){return t("block-styles",{key:"block-style-"+o.id,attrs:{block:o,context:e.context}})})],2):e._e()},m=[],p=l.normalizeComponent(d,a,m,!1,null,null,null,null);const u=p.exports;exports.default=u;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as c } from "vue";
2
- import { n as l } from "./index.a1dfdaec.js";
3
- const s = () => import("./block-styles.bc8cdc9f.js").then((e) => e.default).catch((e) => {
2
+ import { n as l } from "./index.dcd9672f.js";
3
+ const s = () => import("./block-styles.76e698a7.js").then((e) => e.default).catch((e) => {
4
4
  throw console.error(
5
5
  "Error while attempting to dynamically import component BlockStyles at ./block-styles.vue",
6
6
  e
7
7
  ), e;
8
- }), m = () => import("./render-block.df744a97.js").then((e) => e.default).catch((e) => {
8
+ }), m = () => import("./render-block.844495c0.js").then((e) => e.default).catch((e) => {
9
9
  throw console.error(
10
10
  "Error while attempting to dynamically import component RenderBlock at ./render-block.vue",
11
11
  e
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("vue"),o=require("./index.4de025de.cjs"),g=require("./evaluate.97a0f474.cjs"),v=require("./inlined-script.6a6ca760.cjs"),S={name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0},C={name:"Columns",inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]},{blocks:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:.7004048582995948}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}]}],onChange:o.serializeFn(t=>{function e(){n.forEach(i=>{i.delete("width")})}const n=t.get("columns");Array.isArray(n)&&!!n.find(a=>a.get("width"))&&(!!n.find(r=>!r.get("width"))||n.reduce((d,l)=>d+l.get("width"),0)!==100)&&e()})},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]},k={name:"Fragment",static:!0,hidden:!0,canHaveChildren:!0,noWrap:!0},T={name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:["jpeg","jpg","png","svg"],required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:o.serializeFn(t=>{t.delete("srcset"),t.delete("noWebp");function n(s,d=6e4){return new Promise((l,u)=>{const c=document.createElement("img");let p=!1;c.onload=()=>{p=!0,l(c)},c.addEventListener("error",m=>{console.warn("Image load failed",m.error),u(m.error)}),c.src=s,setTimeout(()=>{p||u(new Error("Image load timed out"))},d)})}function i(s){return Math.round(s*1e3)/1e3}const a=t.get("image"),r=t.get("aspectRatio");if(fetch(a).then(s=>s.blob()).then(s=>{s.type.includes("svg")&&t.set("noWebp",!0)}),a&&(!r||r===.7041))return n(a).then(s=>{const d=t.get("aspectRatio");t.get("image")===a&&(!d||d===.7041)&&s.width&&s.height&&(t.set("aspectRatio",i(s.height/s.width)),t.set("height",s.height),t.set("width",s.width))})})},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill it's box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}]},w={name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]},R={name:"Symbol",noWrap:!0,static:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:!1,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]},I={name:"Text",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}},_={name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:["mp4"],bubble:!0,defaultValue:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f",required:!0},{name:"posterImage",type:"file",allowedFileTypes:["jpeg","png"],helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:.7004048582995948},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]},E={name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc",onChange:o.serializeFn(t=>{const e=t.get("url");if(e)return t.set("content","Loading..."),fetch(`https://iframe.ly/api/iframely?url=${e}&api_key=ae0e60e78201a3f2b0de4b`).then(i=>i.json()).then(i=>{t.get("url")===e&&(i.html?t.set("content",i.html):t.set("content","Invalid url, please try another"))}).catch(i=>{t.set("content","There was an error embedding this URL, please try again or another URL")});t.delete("content")})},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]},F=["text/javascript","application/javascript","application/ecmascript"],A=t=>F.includes(t.type),V=h.defineComponent({name:"builder-embed",props:["content"],data(){return{scriptsInserted:[],scriptsRun:[],ranInitFn:!1}},watch:{onUpdateHook0:{handler(){this.$refs.elem&&!this.ranInitFn&&(this.ranInitFn=!0,this.findAndRunScripts())},immediate:!0}},computed:{onUpdateHook0(){return{0:this.$refs.elem,1:this.ranInitFn}}},methods:{findAndRunScripts(){if(!this.$refs.elem||!this.$refs.elem.getElementsByTagName)return;const t=this.$refs.elem.getElementsByTagName("script");for(let e=0;e<t.length;e++){const n=t[e];if(n.src&&!this.scriptsInserted.includes(n.src)){this.scriptsInserted.push(n.src);const i=document.createElement("script");i.async=!0,i.src=n.src,document.head.appendChild(i)}else if(A(n)&&!this.scriptsRun.includes(n.innerText))try{this.scriptsRun.push(n.innerText),new Function(n.innerText)()}catch(i){console.warn("`Embed`: Error running script:",i)}}}}});var U=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{ref:"elem",staticClass:"builder-embed",domProps:{innerHTML:e._s(e.content)}})},P=[],j=o.normalizeComponent(V,U,P,!1,null,null,null,null);const H=j.exports,$=h.defineComponent({name:"builder-img-component",props:["backgroundSize","backgroundPosition","imgSrc","altText","image","attributes"],data(){return{isEditing:o.isEditing}},methods:{filterAttrs:function(e={},n){const i="v-on:";return Object.keys(e).filter(a=>{if(!e[a])return!1;const r=a.startsWith(i);return n?r:!r}).reduce((a,r)=>({...a,[r.replace(i,"")]:e[r]}),{})}}});var W=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("img",e._g(e._b({key:e.isEditing()&&e.imgSrc||"default-key",style:{objectFit:e.backgroundSize||"cover",objectPosition:e.backgroundPosition||"center"},attrs:{alt:e.altText,src:e.imgSrc||e.image}},"img",e.filterAttrs(e.attributes,!1),!1),e.filterAttrs(e.attributes,!0)))},q=[],M=o.normalizeComponent($,W,q,!1,null,null,null,null);const L=M.exports,B={name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:["jpeg","jpg","png","svg","gif","webp"],required:!0}],noWrap:!0,static:!0},N=h.defineComponent({name:"builder-custom-code",props:["replaceNodes","code"],data(){return{scriptsInserted:[],scriptsRun:[]}},mounted(){this.findAndRunScripts()},methods:{findAndRunScripts(){if(this.$refs.elem&&this.$refs.elem.getElementsByTagName&&typeof window<"u"){const t=this.$refs.elem.getElementsByTagName("script");for(let e=0;e<t.length;e++){const n=t[e];if(n.src){if(this.scriptsInserted.includes(n.src))continue;this.scriptsInserted.push(n.src);const i=document.createElement("script");i.async=!0,i.src=n.src,document.head.appendChild(i)}else if(!n.type||["text/javascript","application/javascript","application/ecmascript"].includes(n.type)){if(this.scriptsRun.includes(n.innerText))continue;try{this.scriptsRun.push(n.innerText),new Function(n.innerText)()}catch(i){console.warn("`CustomCode`: Error running script:",i)}}}}},_classStringToObject(t){const e={};if(typeof t!="string")return e;const n=t.trim().split(/\s+/);for(const i of n)e[i]=!0;return e}}});var O=function(){var e=this,n=e._self._c;return e._self._setupProxy,n("div",{ref:"elem",class:e._classStringToObject("builder-custom-code"+(e.replaceNodes?" replace-nodes":"")),domProps:{innerHTML:e._s(e.code)}})},z=[],K=o.normalizeComponent(N,O,z,!1,null,null,null,null);const D=K.exports,J={name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},{name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},{name:"scriptsClientOnly",type:"boolean",defaultValue:!1,helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0}]},G=()=>[{component:o.Button,...S},{component:o.Columns,...C},{component:D,...J},{component:H,...E},{component:o.Fragment,...k},{component:o.Image,...T},{component:L,...B},{component:o.Section,...w},{component:o.Symbol,...R},{component:o.Text,...I},{component:o.Video,..._}],Y="0.4.5",X=()=>{o.register("insertMenu",{name:"_default",default:!0,items:[{name:"Box"},{name:"Text"},{name:"Image"},{name:"Columns"},{name:"Core:Section"},{name:"Core:Button"},{name:"Embed"},{name:"Custom Code"}]})};let b=!1;const Q=(t={})=>{var e,n;b||(b=!0,o.isBrowser()&&((e=window.parent)==null||e.postMessage({type:"builder.sdkInfo",data:{target:o.TARGET,version:Y,supportsPatchUpdates:!1,supportsAddBlockScoping:!0,supportsCustomBreakpoints:!0}},"*"),(n=window.parent)==null||n.postMessage({type:"builder.updateContent",data:{options:t}},"*"),window.addEventListener("message",({data:i})=>{var a,r;if(!!(i!=null&&i.type))switch(i.type){case"builder.evaluate":{const s=i.data.text,d=i.data.arguments||[],l=i.data.id,u=new Function(s);let c,p=null;try{c=u.apply(null,d)}catch(m){p=m}p?(a=window.parent)==null||a.postMessage({type:"builder.evaluateError",data:{id:l,error:p.message}},"*"):c&&typeof c.then=="function"?c.then(m=>{var f;(f=window.parent)==null||f.postMessage({type:"builder.evaluateResult",data:{id:l,result:m}},"*")}).catch(console.error):(r=window.parent)==null||r.postMessage({type:"builder.evaluateResult",data:{result:c,id:l}},"*");break}}})))};function x(t){return Math.round(t*1e3)/1e3}const Z=(t,e,n=!0)=>{if(!(t instanceof HTMLElement))return null;let i=n?t:t.parentElement;do{if(!i)return null;if(e(i))return i}while(i=i.parentElement);return null},ee=t=>Z(t,e=>{const n=e.getAttribute("builder-id")||e.id;return Boolean((n==null?void 0:n.indexOf("builder-"))===0)}),y=({event:t,target:e})=>{const n=e.getBoundingClientRect(),i=t.clientX-n.left,a=t.clientY-n.top,r=x(i/n.width),s=x(a/n.height);return{x:r,y:s}},te=t=>{const e=t.target,n=e&&ee(e),i=(n==null?void 0:n.getAttribute("builder-id"))||(n==null?void 0:n.id);return{targetBuilderElement:i||void 0,metadata:{targetOffset:e?y({event:t,target:e}):void 0,builderTargetOffset:n?y({event:t,target:n}):void 0,builderElementIndex:n&&i?[].slice.call(document.getElementsByClassName(i)).indexOf(n):void 0}}},ne=({content:t,data:e,locale:n})=>{var r,s,d;const i={};(s=(r=t==null?void 0:t.data)==null?void 0:r.inputs)==null||s.forEach(l=>{var u;l.name&&l.defaultValue!==void 0&&((u=t==null?void 0:t.data)==null?void 0:u.state)&&t.data.state[l.name]===void 0&&(i[l.name]=l.defaultValue)});const a={...(d=t==null?void 0:t.data)==null?void 0:d.state,...e,...n?{locale:n}:{}};return{...i,...a}},ie=({content:t,data:e})=>t?{...t,data:{...t==null?void 0:t.data,...e},meta:t==null?void 0:t.meta}:void 0,ae=()=>Promise.resolve().then(()=>require("./index.4de025de.cjs")).then(t=>t.renderBlocks$1).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",t),t}),oe=()=>Promise.resolve().then(()=>require("./render-styles.ba0e223a.cjs")).then(t=>t.default).catch(t=>{throw console.error("Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",t),t}),re=h.defineComponent({name:"render-content",components:{InlinedScript:v.default,RenderContentStyles:oe,RenderBlocks:ae},props:["canTrack","model","context","apiKey","content","data","locale","apiVersion","customComponents","showContent","classNameProp","isSsrAbTest","includeRefs","enrich"],data(){var t,e;return{forceReRenderCount:0,overrideContent:null,update:0,canTrackToUse:o.checkIsDefined(this.canTrack)?this.canTrack:!0,httpReqsData:{},clicked:!1,scriptStr:o.getRenderContentScriptString({variationId:(t=this.content)==null?void 0:t.testVariationId,contentId:(e=this.content)==null?void 0:e.id}),builderContextSignal:{content:ie({content:this.content,data:this.data}),localState:void 0,rootState:ne({content:this.content,data:this.data,locale:this.locale}),rootSetState:this.contentSetState,context:this.context||{},apiKey:this.apiKey,apiVersion:this.apiVersion,registeredComponents:[...G(),...o.components,...this.customComponents||[]].reduce((n,{component:i,...a})=>({...n,[a.name]:{component:i,...a}}),{}),inheritedStyles:{}},builderContext:o.BuilderContext,TARGET:o.TARGET}},provide(){const t=this;return{[o.BuilderContext.key]:t.builderContextSignal}},mounted(){var t,e;if(this.apiKey||o.logger.error("No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."),o.isBrowser()){if(o.isEditing()&&(this.forceReRenderCount=this.forceReRenderCount+1,X(),Q({...this.locale?{locale:this.locale}:{},...this.includeRefs?{includeRefs:this.includeRefs}:{},...this.enrich?{enrich:this.enrich}:{}}),Object.values(this.builderContextSignal.registeredComponents).forEach(n=>{var a;const i=o.createRegisterComponentMessage(n);(a=window.parent)==null||a.postMessage(i,"*")}),window.addEventListener("message",this.processMessage),window.addEventListener("builder:component:stateChangeListenerActivated",this.emitStateUpdate)),this.builderContextSignal.content){const n=(t=this.builderContextSignal.content)==null?void 0:t.testVariationId,i=(e=this.builderContextSignal.content)==null?void 0:e.id;o._track({type:"impression",canTrack:this.canTrackToUse,contentId:i,apiKey:this.apiKey,variationId:n!==i?n:void 0})}if(o.isPreviewing()){const n=new URL(location.href).searchParams,i=n.get("builder.preview"),a=n.get(`builder.preview.${i}`),r=n.get("apiKey")||n.get("builder.space");i===this.model&&r===this.apiKey&&(!this.content||a===this.content.id)&&o.getContent({model:this.model,apiKey:this.apiKey,apiVersion:this.apiVersion}).then(s=>{s&&this.mergeNewContent(s)})}this.evaluateJsCode(),this.runHttpRequests(),this.emitStateUpdate()}},watch:{onUpdateHook0:{handler(){this.content&&this.mergeNewContent(this.content)},immediate:!0},onUpdateHook1:{handler(){this.evaluateJsCode()},immediate:!0},onUpdateHook2:{handler(){this.runHttpRequests()},immediate:!0},onUpdateHook3:{handler(){this.emitStateUpdate()},immediate:!0}},unmounted(){o.isBrowser()&&(window.removeEventListener("message",this.processMessage),window.removeEventListener("builder:component:stateChangeListenerActivated",this.emitStateUpdate))},computed:{onUpdateHook0(){return{0:this.content}},onUpdateHook1(){var t,e;return{0:(e=(t=this.builderContextSignal.content)==null?void 0:t.data)==null?void 0:e.jsCode,1:this.builderContextSignal.rootState}},onUpdateHook2(){var t,e;return{0:(e=(t=this.builderContextSignal.content)==null?void 0:t.data)==null?void 0:e.httpRequests}},onUpdateHook3(){return{0:this.builderContextSignal.rootState}}},methods:{mergeNewContent(t){var e,n,i,a,r;this.builderContextSignal.content={...this.builderContextSignal.content,...t,data:{...(e=this.builderContextSignal.content)==null?void 0:e.data,...t==null?void 0:t.data},meta:{...(n=this.builderContextSignal.content)==null?void 0:n.meta,...t==null?void 0:t.meta,breakpoints:((i=t==null?void 0:t.meta)==null?void 0:i.breakpoints)||((r=(a=this.builderContextSignal.content)==null?void 0:a.meta)==null?void 0:r.breakpoints)}}},setBreakpoints(t){var e;this.builderContextSignal.content={...this.builderContextSignal.content,meta:{...(e=this.builderContextSignal.content)==null?void 0:e.meta,breakpoints:t}}},contentSetState(t){this.builderContextSignal.rootState=t},processMessage(t){var n;const{data:e}=t;if(e)switch(e.type){case"builder.configureSdk":{const i=e.data,{breakpoints:a,contentId:r}=i;if(!r||r!==((n=this.builderContextSignal.content)==null?void 0:n.id))return;a&&this.setBreakpoints(a),this.forceReRenderCount=this.forceReRenderCount+1;break}case"builder.contentUpdate":{const i=e.data,a=i.key||i.alias||i.entry||i.modelName,r=i.data;a===this.model&&(this.mergeNewContent(r),this.forceReRenderCount=this.forceReRenderCount+1);break}}},evaluateJsCode(){var e,n;const t=(n=(e=this.builderContextSignal.content)==null?void 0:e.data)==null?void 0:n.jsCode;t&&g.evaluate({code:t,context:this.context||{},localState:void 0,rootState:this.builderContextSignal.rootState,rootSetState:this.contentSetState})},onClick(t){var e,n;if(this.builderContextSignal.content){const i=(e=this.builderContextSignal.content)==null?void 0:e.testVariationId,a=(n=this.builderContextSignal.content)==null?void 0:n.id;o._track({type:"click",canTrack:this.canTrackToUse,contentId:a,apiKey:this.apiKey,variationId:i!==a?i:void 0,...te(t),unique:!this.clicked})}this.clicked||(this.clicked=!0)},evalExpression(t){return t.replace(/{{([^}]+)}}/g,(e,n)=>g.evaluate({code:n,context:this.context||{},localState:void 0,rootState:this.builderContextSignal.rootState,rootSetState:this.contentSetState}))},handleRequest({url:t,key:e}){o.fetch(t).then(n=>n.json()).then(n=>{const i={...this.builderContextSignal.rootState,[e]:n};this.contentSetState(i)}).catch(n=>{console.error("error fetching dynamic data",t,n)})},runHttpRequests(){var e,n,i;const t=(i=(n=(e=this.builderContextSignal.content)==null?void 0:e.data)==null?void 0:n.httpRequests)!=null?i:{};Object.entries(t).forEach(([a,r])=>{if(r&&(!this.httpReqsData[a]||o.isEditing())){const s=this.evalExpression(r);this.handleRequest({url:s,key:a})}})},emitStateUpdate(){o.isEditing()&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:this.builderContextSignal.rootState,ref:{name:this.model}}}))},_classStringToObject(t){const e={};if(typeof t!="string")return e;const n=t.trim().split(/\s+/);for(const i of n)e[i]=!0;return e}}});var se=function(){var i,a,r,s,d,l,u,c;var e=this,n=e._self._c;return e._self._setupProxy,e.builderContextSignal.content?n("div",e._b({ref:"elementRef",class:e._classStringToObject(e.classNameProp),attrs:{"builder-content-id":(i=e.builderContextSignal.content)==null?void 0:i.id,"builder-model":e.model},on:{click:function(p){return e.onClick(p)}}},"div",{...e.TARGET==="reactNative"?{dataSet:{"builder-content-id":""}}:{},...e.showContent?{}:{hidden:!0,"aria-hidden":!0}},!1),[e.isSsrAbTest?[n("inlined-script",{attrs:{scriptStr:e.scriptStr}})]:e._e(),e.TARGET!=="reactNative"?[n("render-content-styles",{attrs:{contentId:(a=e.builderContextSignal.content)==null?void 0:a.id,cssCode:(s=(r=e.builderContextSignal.content)==null?void 0:r.data)==null?void 0:s.cssCode,customFonts:(l=(d=e.builderContextSignal.content)==null?void 0:d.data)==null?void 0:l.customFonts}})]:e._e(),n("render-blocks",{key:e.forceReRenderCount,attrs:{blocks:(c=(u=e.builderContextSignal.content)==null?void 0:u.data)==null?void 0:c.blocks}})],2):e._e()},le=[],de=o.normalizeComponent(re,se,le,!1,null,null,null,null);const ce=de.exports;exports.default=ce;
@@ -1,7 +1,8 @@
1
1
  import { defineComponent as h } from "vue";
2
- import { s as b, n as f, i as m, B as I, C as R, F as _, I as E, S as F, d as V, e as A, V as U, r as P, b as g, T as w, c as j, h as H, j as $, k as y, l as W, m as L, _ as v, o as M, p as q, q as B } from "./index.a1dfdaec.js";
3
- import { e as S } from "./evaluate.f654f563.js";
4
- const N = {
2
+ import { s as b, n as f, i as m, B as I, C as R, F as _, I as E, S as F, d as V, e as A, V as U, r as P, b as g, T as w, c as j, h as $, j as H, k as y, l as W, m as L, _ as v, o as M, p as q, q as B } from "./index.dcd9672f.js";
3
+ import { e as S } from "./evaluate.5365c739.js";
4
+ import N from "./inlined-script.5b4b5fc3.js";
5
+ const O = {
5
6
  name: "Core:Button",
6
7
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
7
8
  defaultStyles: {
@@ -37,7 +38,7 @@ const N = {
37
38
  ],
38
39
  static: !0,
39
40
  noWrap: !0
40
- }, O = {
41
+ }, K = {
41
42
  name: "Columns",
42
43
  inputs: [
43
44
  {
@@ -261,13 +262,13 @@ const N = {
261
262
  advanced: !0
262
263
  }
263
264
  ]
264
- }, K = {
265
+ }, D = {
265
266
  name: "Fragment",
266
267
  static: !0,
267
268
  hidden: !0,
268
269
  canHaveChildren: !0,
269
270
  noWrap: !0
270
- }, D = {
271
+ }, z = {
271
272
  name: "Image",
272
273
  static: !0,
273
274
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -394,7 +395,7 @@ const N = {
394
395
  defaultValue: 0.7041
395
396
  }
396
397
  ]
397
- }, z = {
398
+ }, J = {
398
399
  name: "Core:Section",
399
400
  static: !0,
400
401
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -438,7 +439,7 @@ const N = {
438
439
  }
439
440
  }
440
441
  ]
441
- }, J = {
442
+ }, Y = {
442
443
  name: "Symbol",
443
444
  noWrap: !0,
444
445
  static: !0,
@@ -476,7 +477,7 @@ const N = {
476
477
  type: "boolean"
477
478
  }
478
479
  ]
479
- }, Y = {
480
+ }, G = {
480
481
  name: "Text",
481
482
  static: !0,
482
483
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",
@@ -495,7 +496,7 @@ const N = {
495
496
  height: "auto",
496
497
  textAlign: "center"
497
498
  }
498
- }, G = {
499
+ }, X = {
499
500
  name: "Video",
500
501
  canHaveChildren: !0,
501
502
  defaultStyles: {
@@ -596,7 +597,7 @@ const N = {
596
597
  advanced: !0
597
598
  }
598
599
  ]
599
- }, X = {
600
+ }, Q = {
600
601
  name: "Embed",
601
602
  static: !0,
602
603
  inputs: [
@@ -631,11 +632,11 @@ const N = {
631
632
  hideFromUI: !0
632
633
  }
633
634
  ]
634
- }, Q = [
635
+ }, Z = [
635
636
  "text/javascript",
636
637
  "application/javascript",
637
638
  "application/ecmascript"
638
- ], Z = (t) => Q.includes(t.type), ee = h({
639
+ ], ee = (t) => Z.includes(t.type), te = h({
639
640
  name: "builder-embed",
640
641
  props: ["content"],
641
642
  data() {
@@ -668,7 +669,7 @@ const N = {
668
669
  this.scriptsInserted.push(n.src);
669
670
  const a = document.createElement("script");
670
671
  a.async = !0, a.src = n.src, document.head.appendChild(a);
671
- } else if (Z(n) && !this.scriptsRun.includes(n.innerText))
672
+ } else if (ee(n) && !this.scriptsRun.includes(n.innerText))
672
673
  try {
673
674
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
674
675
  } catch (a) {
@@ -678,20 +679,20 @@ const N = {
678
679
  }
679
680
  }
680
681
  });
681
- var te = function() {
682
+ var ne = function() {
682
683
  var e = this, n = e._self._c;
683
684
  return e._self._setupProxy, n("div", { ref: "elem", staticClass: "builder-embed", domProps: { innerHTML: e._s(e.content) } });
684
- }, ne = [], ae = /* @__PURE__ */ f(
685
- ee,
685
+ }, ae = [], ie = /* @__PURE__ */ f(
686
686
  te,
687
687
  ne,
688
+ ae,
688
689
  !1,
689
690
  null,
690
691
  null,
691
692
  null,
692
693
  null
693
694
  );
694
- const ie = ae.exports, oe = h({
695
+ const oe = ie.exports, re = h({
695
696
  name: "builder-img-component",
696
697
  props: [
697
698
  "backgroundSize",
@@ -722,23 +723,23 @@ const ie = ae.exports, oe = h({
722
723
  }
723
724
  }
724
725
  });
725
- var re = function() {
726
+ var se = function() {
726
727
  var e = this, n = e._self._c;
727
728
  return e._self._setupProxy, n("img", e._g(e._b({ key: e.isEditing() && e.imgSrc || "default-key", style: {
728
729
  objectFit: e.backgroundSize || "cover",
729
730
  objectPosition: e.backgroundPosition || "center"
730
731
  }, attrs: { alt: e.altText, src: e.imgSrc || e.image } }, "img", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)));
731
- }, se = [], le = /* @__PURE__ */ f(
732
- oe,
732
+ }, le = [], de = /* @__PURE__ */ f(
733
733
  re,
734
734
  se,
735
+ le,
735
736
  !1,
736
737
  null,
737
738
  null,
738
739
  null,
739
740
  null
740
741
  );
741
- const de = le.exports, ce = {
742
+ const ce = de.exports, ue = {
742
743
  name: "Raw:Img",
743
744
  hideFromInsertMenu: !0,
744
745
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -753,7 +754,7 @@ const de = le.exports, ce = {
753
754
  ],
754
755
  noWrap: !0,
755
756
  static: !0
756
- }, ue = h({
757
+ }, pe = h({
757
758
  name: "builder-custom-code",
758
759
  props: ["replaceNodes", "code"],
759
760
  data() {
@@ -801,22 +802,22 @@ const de = le.exports, ce = {
801
802
  }
802
803
  }
803
804
  });
804
- var pe = function() {
805
+ var me = function() {
805
806
  var e = this, n = e._self._c;
806
807
  return e._self._setupProxy, n("div", { ref: "elem", class: e._classStringToObject(
807
808
  "builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")
808
809
  ), domProps: { innerHTML: e._s(e.code) } });
809
- }, me = [], he = /* @__PURE__ */ f(
810
- ue,
810
+ }, he = [], fe = /* @__PURE__ */ f(
811
811
  pe,
812
812
  me,
813
+ he,
813
814
  !1,
814
815
  null,
815
816
  null,
816
817
  null,
817
818
  null
818
819
  );
819
- const fe = he.exports, ge = {
820
+ const ge = fe.exports, be = {
820
821
  name: "Custom Code",
821
822
  static: !0,
822
823
  requiredPermissions: ["editCode"],
@@ -842,19 +843,19 @@ const fe = he.exports, ge = {
842
843
  advanced: !0
843
844
  }
844
845
  ]
845
- }, be = () => [
846
- { component: I, ...N },
847
- { component: R, ...O },
848
- { component: fe, ...ge },
849
- { component: ie, ...X },
850
- { component: _, ...K },
851
- { component: E, ...D },
852
- { component: de, ...ce },
853
- { component: F, ...z },
854
- { component: V, ...J },
855
- { component: A, ...Y },
856
- { component: U, ...G }
857
- ], xe = "0.4.4", ye = () => {
846
+ }, xe = () => [
847
+ { component: I, ...O },
848
+ { component: R, ...K },
849
+ { component: ge, ...be },
850
+ { component: oe, ...Q },
851
+ { component: _, ...D },
852
+ { component: E, ...z },
853
+ { component: ce, ...ue },
854
+ { component: F, ...J },
855
+ { component: V, ...Y },
856
+ { component: A, ...G },
857
+ { component: U, ...X }
858
+ ], ye = "0.4.5", ve = () => {
858
859
  P("insertMenu", {
859
860
  name: "_default",
860
861
  default: !0,
@@ -871,14 +872,14 @@ const fe = he.exports, ge = {
871
872
  });
872
873
  };
873
874
  let C = !1;
874
- const ve = (t = {}) => {
875
+ const Se = (t = {}) => {
875
876
  var e, n;
876
877
  C || (C = !0, g() && ((e = window.parent) == null || e.postMessage(
877
878
  {
878
879
  type: "builder.sdkInfo",
879
880
  data: {
880
881
  target: w,
881
- version: xe,
882
+ version: ye,
882
883
  supportsPatchUpdates: !1,
883
884
  supportsAddBlockScoping: !0,
884
885
  supportsCustomBreakpoints: !0
@@ -935,7 +936,7 @@ const ve = (t = {}) => {
935
936
  function k(t) {
936
937
  return Math.round(t * 1e3) / 1e3;
937
938
  }
938
- const Se = (t, e, n = !0) => {
939
+ const Ce = (t, e, n = !0) => {
939
940
  if (!(t instanceof HTMLElement))
940
941
  return null;
941
942
  let a = n ? t : t.parentElement;
@@ -946,7 +947,7 @@ const Se = (t, e, n = !0) => {
946
947
  return a;
947
948
  } while (a = a.parentElement);
948
949
  return null;
949
- }, Ce = (t) => Se(t, (e) => {
950
+ }, ke = (t) => Ce(t, (e) => {
950
951
  const n = e.getAttribute("builder-id") || e.id;
951
952
  return Boolean((n == null ? void 0 : n.indexOf("builder-")) === 0);
952
953
  }), T = ({
@@ -958,8 +959,8 @@ const Se = (t, e, n = !0) => {
958
959
  x: o,
959
960
  y: r
960
961
  };
961
- }, ke = (t) => {
962
- const e = t.target, n = e && Ce(e), a = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
962
+ }, Te = (t) => {
963
+ const e = t.target, n = e && ke(e), a = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
963
964
  return {
964
965
  targetBuilderElement: a || void 0,
965
966
  metadata: {
@@ -968,7 +969,7 @@ const Se = (t, e, n = !0) => {
968
969
  builderElementIndex: n && a ? [].slice.call(document.getElementsByClassName(a)).indexOf(n) : void 0
969
970
  }
970
971
  };
971
- }, Te = ({
972
+ }, we = ({
972
973
  content: t,
973
974
  data: e,
974
975
  locale: n
@@ -985,7 +986,7 @@ const Se = (t, e, n = !0) => {
985
986
  ...n ? { locale: n } : {}
986
987
  };
987
988
  return { ...a, ...i };
988
- }, we = ({
989
+ }, Ie = ({
989
990
  content: t,
990
991
  data: e
991
992
  }) => t ? {
@@ -995,21 +996,22 @@ const Se = (t, e, n = !0) => {
995
996
  ...e
996
997
  },
997
998
  meta: t == null ? void 0 : t.meta
998
- } : void 0, Ie = () => import("./index.a1dfdaec.js").then((t) => t.A).then((t) => t.default).catch((t) => {
999
+ } : void 0, Re = () => import("./index.dcd9672f.js").then((t) => t.A).then((t) => t.default).catch((t) => {
999
1000
  throw console.error(
1000
1001
  "Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
1001
1002
  t
1002
1003
  ), t;
1003
- }), Re = () => import("./render-styles.43e1e2a4.js").then((t) => t.default).catch((t) => {
1004
+ }), _e = () => import("./render-styles.b41f1309.js").then((t) => t.default).catch((t) => {
1004
1005
  throw console.error(
1005
1006
  "Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
1006
1007
  t
1007
1008
  ), t;
1008
- }), _e = h({
1009
+ }), Ee = h({
1009
1010
  name: "render-content",
1010
1011
  components: {
1011
- RenderContentStyles: Re,
1012
- RenderBlocks: Ie
1012
+ InlinedScript: N,
1013
+ RenderContentStyles: _e,
1014
+ RenderBlocks: Re
1013
1015
  },
1014
1016
  props: [
1015
1017
  "canTrack",
@@ -1017,19 +1019,18 @@ const Se = (t, e, n = !0) => {
1017
1019
  "context",
1018
1020
  "apiKey",
1019
1021
  "content",
1020
- "parentContentId",
1021
1022
  "data",
1022
1023
  "locale",
1023
1024
  "apiVersion",
1024
1025
  "customComponents",
1025
- "hideContent",
1026
+ "showContent",
1026
1027
  "classNameProp",
1027
1028
  "isSsrAbTest",
1028
1029
  "includeRefs",
1029
1030
  "enrich"
1030
1031
  ],
1031
1032
  data() {
1032
- var t;
1033
+ var t, e;
1033
1034
  return {
1034
1035
  forceReRenderCount: 0,
1035
1036
  overrideContent: null,
@@ -1037,17 +1038,17 @@ const Se = (t, e, n = !0) => {
1037
1038
  canTrackToUse: j(this.canTrack) ? this.canTrack : !0,
1038
1039
  httpReqsData: {},
1039
1040
  clicked: !1,
1040
- scriptStr: H({
1041
- contentId: (t = this.content) == null ? void 0 : t.id,
1042
- parentContentId: this.parentContentId
1041
+ scriptStr: $({
1042
+ variationId: (t = this.content) == null ? void 0 : t.testVariationId,
1043
+ contentId: (e = this.content) == null ? void 0 : e.id
1043
1044
  }),
1044
1045
  builderContextSignal: {
1045
- content: we({
1046
+ content: Ie({
1046
1047
  content: this.content,
1047
1048
  data: this.data
1048
1049
  }),
1049
1050
  localState: void 0,
1050
- rootState: Te({
1051
+ rootState: we({
1051
1052
  content: this.content,
1052
1053
  data: this.data,
1053
1054
  locale: this.locale
@@ -1057,15 +1058,15 @@ const Se = (t, e, n = !0) => {
1057
1058
  apiKey: this.apiKey,
1058
1059
  apiVersion: this.apiVersion,
1059
1060
  registeredComponents: [
1060
- ...be(),
1061
- ...$,
1061
+ ...xe(),
1062
+ ...H,
1062
1063
  ...this.customComponents || []
1063
1064
  ].reduce(
1064
- (e, { component: n, ...a }) => ({
1065
- ...e,
1066
- [a.name]: {
1067
- component: n,
1068
- ...a
1065
+ (n, { component: a, ...i }) => ({
1066
+ ...n,
1067
+ [i.name]: {
1068
+ component: a,
1069
+ ...i
1069
1070
  }
1070
1071
  }),
1071
1072
  {}
@@ -1087,7 +1088,7 @@ const Se = (t, e, n = !0) => {
1087
1088
  if (this.apiKey || W.error(
1088
1089
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
1089
1090
  ), g()) {
1090
- if (m() && (this.forceReRenderCount = this.forceReRenderCount + 1, ye(), ve({
1091
+ if (m() && (this.forceReRenderCount = this.forceReRenderCount + 1, ve(), Se({
1091
1092
  ...this.locale ? {
1092
1093
  locale: this.locale
1093
1094
  } : {},
@@ -1258,7 +1259,7 @@ const Se = (t, e, n = !0) => {
1258
1259
  contentId: i,
1259
1260
  apiKey: this.apiKey,
1260
1261
  variationId: a !== i ? a : void 0,
1261
- ...ke(t),
1262
+ ...Te(t),
1262
1263
  unique: !this.clicked
1263
1264
  });
1264
1265
  }
@@ -1326,7 +1327,7 @@ const Se = (t, e, n = !0) => {
1326
1327
  }
1327
1328
  }
1328
1329
  });
1329
- var Ee = function() {
1330
+ var Fe = function() {
1330
1331
  var a, i, o, r, l, s, c, d;
1331
1332
  var e = this, n = e._self._c;
1332
1333
  return e._self._setupProxy, e.builderContextSignal.content ? n("div", e._b({ ref: "elementRef", class: e._classStringToObject(e.classNameProp), attrs: { "builder-content-id": (a = e.builderContextSignal.content) == null ? void 0 : a.id, "builder-model": e.model }, on: { click: function(u) {
@@ -1337,22 +1338,22 @@ var Ee = function() {
1337
1338
  "builder-content-id": ""
1338
1339
  }
1339
1340
  } : {},
1340
- ...e.hideContent ? {
1341
+ ...e.showContent ? {} : {
1341
1342
  hidden: !0,
1342
1343
  "aria-hidden": !0
1343
- } : {}
1344
- }, !1), [e.isSsrAbTest ? [n("script", { tag: "component", domProps: { innerHTML: e._s(e.scriptStr) } })] : e._e(), e.TARGET !== "reactNative" ? [n("render-content-styles", { attrs: { contentId: (i = e.builderContextSignal.content) == null ? void 0 : i.id, cssCode: (r = (o = e.builderContextSignal.content) == null ? void 0 : o.data) == null ? void 0 : r.cssCode, customFonts: (s = (l = e.builderContextSignal.content) == null ? void 0 : l.data) == null ? void 0 : s.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: (d = (c = e.builderContextSignal.content) == null ? void 0 : c.data) == null ? void 0 : d.blocks } })], 2) : e._e();
1345
- }, Fe = [], Ve = /* @__PURE__ */ f(
1346
- _e,
1344
+ }
1345
+ }, !1), [e.isSsrAbTest ? [n("inlined-script", { attrs: { scriptStr: e.scriptStr } })] : e._e(), e.TARGET !== "reactNative" ? [n("render-content-styles", { attrs: { contentId: (i = e.builderContextSignal.content) == null ? void 0 : i.id, cssCode: (r = (o = e.builderContextSignal.content) == null ? void 0 : o.data) == null ? void 0 : r.cssCode, customFonts: (s = (l = e.builderContextSignal.content) == null ? void 0 : l.data) == null ? void 0 : s.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: (d = (c = e.builderContextSignal.content) == null ? void 0 : c.data) == null ? void 0 : d.blocks } })], 2) : e._e();
1346
+ }, Ve = [], Ae = /* @__PURE__ */ f(
1347
1347
  Ee,
1348
1348
  Fe,
1349
+ Ve,
1349
1350
  !1,
1350
1351
  null,
1351
1352
  null,
1352
1353
  null,
1353
1354
  null
1354
1355
  );
1355
- const je = Ve.exports;
1356
+ const He = Ae.exports;
1356
1357
  export {
1357
- je as default
1358
+ He as default
1358
1359
  };