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,OAAQ/N,EAAE+I,MAAQ,KAGxB,EACF,SAASgoB,kBACP,IAAI/wB,GAAI,qCAAAgxB,WAAS,GACf/wB,EAAID,EAAE,GACNM,EAAIN,EAAE,GACR,OAAO,qCAAAixB,YAAU,YACd,gDAAQ/jB,WAAa,gDAAQgH,eAAiB5T,GAAE,EACnD,GAAG,IAAKL,CACV,CACA,gDAAQ0e,kBAAkBmS,QAAS,CACjCjoB,KAAM,kBACNsY,oBAAoB,EACpB/I,OAAQ,CAAC,CACPvP,KAAM,OACN8X,QAAQ,EACRlhB,KAAM,WACNghB,UAAU,MAEV,gDAAQyQ,SAAU,C","sources":["webpack://www-differentdog-com/./node_modules/@builder.io/react/dist/builder-react.es5.js"],"sourcesContent":["import \"core-js/modules/esnext.global-this.js\";\nimport { Builder, builder, Subscription, BehaviorSubject } from \"@builder.io/sdk\";\nexport { Builder, builder, builder as default } from \"@builder.io/sdk\";\nimport { jsx, ClassNames, css } from \"@emotion/core\";\nimport * as React from \"react\";\nimport React__default, { useContext, useState, useEffect } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport hash from \"hash-sum\";\nvar version = \"3.0.4\",\n _a;\n\"undefined\" != typeof window && (null === (_a = window.parent) || void 0 === _a || _a.postMessage({\n type: \"builder.isReactSdk\",\n data: {\n value: !0,\n supportsPatchUpdates: \"v4\",\n supportsCustomBreakpoints: !0,\n priorVersion: version\n }\n}, \"*\"));\nvar _extendStatics = function extendStatics(e, t) {\n return (_extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (e, t) {\n e.__proto__ = t;\n } || function (e, t) {\n for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);\n })(e, t);\n};\nfunction __extends(e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Class extends value \" + String(t) + \" is not a constructor or null\");\n function n() {\n this.constructor = e;\n }\n _extendStatics(e, t), e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n());\n}\nvar _assign = function __assign() {\n return (_assign = Object.assign || function (e) {\n for (var t, n = 1, i = arguments.length; n < i; n++) for (var r in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);\n return e;\n }).apply(this, arguments);\n};\nfunction __decorate(e, t, n, i) {\n var r,\n o = arguments.length,\n a = o < 3 ? t : null === i ? i = Object.getOwnPropertyDescriptor(t, n) : i;\n if (\"object\" == typeof Reflect && \"function\" == typeof Reflect.decorate) a = Reflect.decorate(e, t, n, i);else for (var s = e.length - 1; s >= 0; s--) (r = e[s]) && (a = (o < 3 ? r(a) : o > 3 ? r(t, n, a) : r(t, n)) || a);\n return o > 3 && a && Object.defineProperty(t, n, a), a;\n}\nfunction __metadata(e, t) {\n if (\"object\" == typeof Reflect && \"function\" == typeof Reflect.metadata) return Reflect.metadata(e, t);\n}\nfunction __awaiter(e, t, n, i) {\n return new (n || (n = Promise))(function (r, o) {\n function a(e) {\n try {\n l(i.next(e));\n } catch (e) {\n o(e);\n }\n }\n function s(e) {\n try {\n l(i.throw(e));\n } catch (e) {\n o(e);\n }\n }\n function l(e) {\n var t;\n e.done ? r(e.value) : (t = e.value, t instanceof n ? t : new n(function (e) {\n e(t);\n })).then(a, s);\n }\n l((i = i.apply(e, t || [])).next());\n });\n}\nfunction __generator(e, t) {\n var n,\n i,\n r,\n o,\n a = {\n label: 0,\n sent: function sent() {\n if (1 & r[0]) throw r[1];\n return r[1];\n },\n trys: [],\n ops: []\n };\n return o = {\n next: s(0),\n throw: s(1),\n return: s(2)\n }, \"function\" == typeof Symbol && (o[Symbol.iterator] = function () {\n return this;\n }), o;\n function s(s) {\n return function (l) {\n return function (s) {\n if (n) throw new TypeError(\"Generator is already executing.\");\n for (; o && (o = 0, s[0] && (a = 0)), a;) try {\n if (n = 1, i && (r = 2 & s[0] ? i.return : s[0] ? i.throw || ((r = i.return) && r.call(i), 0) : i.next) && !(r = r.call(i, s[1])).done) return r;\n switch (i = 0, r && (s = [2 & s[0], r.value]), s[0]) {\n case 0:\n case 1:\n r = s;\n break;\n case 4:\n return a.label++, {\n value: s[1],\n done: !1\n };\n case 5:\n a.label++, i = s[1], s = [0];\n continue;\n case 7:\n s = a.ops.pop(), a.trys.pop();\n continue;\n default:\n if (!(r = a.trys, (r = r.length > 0 && r[r.length - 1]) || 6 !== s[0] && 2 !== s[0])) {\n a = 0;\n continue;\n }\n if (3 === s[0] && (!r || s[1] > r[0] && s[1] < r[3])) {\n a.label = s[1];\n break;\n }\n if (6 === s[0] && a.label < r[1]) {\n a.label = r[1], r = s;\n break;\n }\n if (r && a.label < r[2]) {\n a.label = r[2], a.ops.push(s);\n break;\n }\n r[2] && a.ops.pop(), a.trys.pop();\n continue;\n }\n s = t.call(e, a);\n } catch (e) {\n s = [6, e], i = 0;\n } finally {\n n = r = 0;\n }\n if (5 & s[0]) throw s[1];\n return {\n value: s[0] ? s[1] : void 0,\n done: !0\n };\n }([s, l]);\n };\n }\n}\nfunction __spreadArray(e, t, n) {\n if (n || 2 === arguments.length) for (var i, r = 0, o = t.length; r < o; r++) !i && r in t || (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);\n return e.concat(i || Array.prototype.slice.call(t));\n}\nvar fastClone = function fastClone(e) {\n return JSON.parse(JSON.stringify(e));\n },\n sizeNames = [\"xsmall\", \"small\", \"medium\", \"large\"],\n sizes = {\n xsmall: {\n min: 0,\n default: 0,\n max: 0\n },\n small: {\n min: 320,\n default: 321,\n max: 640\n },\n medium: {\n min: 641,\n default: 642,\n max: 991\n },\n large: {\n min: 990,\n default: 991,\n max: 1200\n },\n getWidthForSize: function getWidthForSize(e) {\n return this[e].default;\n },\n getSizeForWidth: function getSizeForWidth(e) {\n for (var t = 0, n = sizeNames; t < n.length; t++) {\n var i = n[t];\n if (e <= this[i].max) return i;\n }\n return \"large\";\n }\n },\n getSizesForBreakpoints = function getSizesForBreakpoints(e) {\n var t = e.small,\n n = e.medium,\n i = _assign(_assign({}, sizes), fastClone(sizes));\n if (!t || !n) return i;\n var r = Math.floor(t / 2);\n i.small = {\n max: t,\n min: r,\n default: r + 1\n };\n var o = i.small.max + 1;\n i.medium = {\n max: n,\n min: o,\n default: o + 1\n };\n var a = i.medium.max + 1;\n return i.large = {\n max: 2e3,\n min: a,\n default: a + 1\n }, i;\n },\n set = function set(e, t, n) {\n if (Object(e) !== e) return e;\n var i = Array.isArray(t) ? t : t.toString().match(/[^.[\\]]+/g);\n return i.slice(0, -1).reduce(function (e, t, n) {\n return Object(e[t]) === e[t] ? e[t] : e[t] = Math.abs(Number(i[n + 1])) >> 0 == +i[n + 1] ? [] : {};\n }, e)[i[i.length - 1]] = n, e;\n },\n noop = function noop() {\n return null;\n },\n safeDynamicRequire;\nif (\"function\" == typeof (null === globalThis || void 0 === globalThis ? void 0 : globalThis.require) || Builder.isServer && \"function\" == typeof require) try {\n safeDynamicRequire = eval(\"require\");\n} catch (e) {\n safeDynamicRequire = (null === globalThis || void 0 === globalThis ? void 0 : globalThis.require) ? globalThis.require : noop;\n}\nnull != safeDynamicRequire || (safeDynamicRequire = noop);\nvar fnCache = {},\n api = function api(e) {\n return builder;\n };\nfunction stringToFunction(e, t, n, i) {\n if (void 0 === t && (t = !0), !e || !e.trim()) return function () {};\n var r = e + \":\" + t;\n if (fnCache[r]) return fnCache[r];\n var o = t && !(e.includes(\";\") || e.includes(\" return \") || e.trim().startsWith(\"return \")) || e.trim().startsWith(\"builder.run\"),\n a = function a() {};\n try {\n Builder.isBrowser && (a = new Function(\"state\", \"event\", \"block\", \"builder\", \"Device\", \"update\", \"Builder\", \"context\", \"\\n var names = [\\n 'state',\\n 'event',\\n 'block',\\n 'builder',\\n 'Device',\\n 'update',\\n 'Builder',\\n 'context'\\n ];\\n var rootState = state;\\n if (typeof Proxy !== 'undefined') {\\n rootState = new Proxy(rootState, {\\n set: function () {\\n return false;\\n },\\n get: function (target, key) {\\n if (names.includes(key)) {\\n return undefined;\\n }\\n return target[key];\\n }\\n });\\n }\\n /* Alias */\\n var ctx = context;\\n with (rootState) {\\n \".concat(o ? \"return (\".concat(e, \");\") : e, \";\\n }\\n \")));\n } catch (t) {\n n && n.push(t);\n var s = t && t.message;\n s && \"string\" == typeof s && i && -1 === i.indexOf(s) && i.push(s), Builder.isBrowser && console.warn(\"Function compile error in \".concat(e), t);\n }\n var l = function l() {\n for (var t, i = [], r = 0; r < arguments.length; r++) i[r] = arguments[r];\n try {\n if (Builder.isBrowser) return a.apply(void 0, i);\n var o = safeDynamicRequire(\"vm2\").VM,\n s = i[0],\n l = i[1],\n u = (i[2], i[3], i[4], i[5], i[6], i[7]);\n return new o({\n timeout: 100,\n sandbox: _assign(_assign(_assign(_assign(_assign({}, s), {\n state: s\n }), {\n context: u\n }), {\n builder: api\n }), {\n event: l\n })\n }).run(e.replace(/(^|;)return /, \"$1\"));\n } catch (i) {\n return Builder.isBrowser ? console.warn(\"Builder custom code error:\", i.message || i, \"in\", e, i.stack || i) : (null === (t = null === process || void 0 === process ? void 0 : process.env) || void 0 === t ? void 0 : t.DEBUG) && console.debug(\"Builder custom code error:\", i.message || i, \"in\", e, i.stack || i), n && n.push(i), null;\n }\n };\n return Builder.isBrowser && (fnCache[r] = l), l;\n}\nvar isPromise = function isPromise(e) {\n return \"function\" == typeof e.then;\n },\n isRequestInfo = function isRequestInfo(e) {\n return !isPromise(e);\n },\n BuilderAsyncRequestsContext = React__default.createContext({\n requests: [],\n errors: [],\n logs: []\n }),\n BuilderStoreContext = React__default.createContext({\n state: {},\n rootState: {},\n content: {},\n context: {},\n update: function update(e) {\n return null;\n }\n }),\n applyPatchWithMinimalMutationChain = function applyPatchWithMinimalMutationChain(e, t, n) {\n if (void 0 === n && (n = !1), Object(e) !== e) return e;\n var i = t.path,\n r = t.op,\n o = t.value,\n a = i.split(/\\//);\n \"\" === a[0] && a.shift();\n for (var s = n ? e : _assign({}, e), l = s, u = 0; u < a.length; u++) {\n var d = u === a.length - 1,\n c = a[u];\n if (d) {\n if (\"replace\" === r) l[c] = o;else if (\"add\" === r) {\n var p = Number(c);\n Array.isArray(l) ? \"-\" === c ? l.push(o) : l.splice(p, 0, o) : l[c] = o;\n } else if (\"remove\" === r) {\n p = Number(c);\n Array.isArray(l) ? l.splice(p, 1) : delete l[c];\n }\n } else {\n var f = a[u + 1],\n m = Object(l[c]) === l[c] ? l[c] : String(Number(f)) === f ? [] : {};\n l = l[c] = Array.isArray(m) ? __spreadArray([], m, !0) : _assign({}, m);\n }\n }\n return s;\n },\n htmlEscape = function htmlEscape(e) {\n return e.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n },\n blockToHtmlString = function blockToHtmlString(e) {\n var t;\n return \"<\".concat(htmlEscape(e.tagName || \"div\"), ' \\n class=\"builder-block ').concat(e.id, \" \").concat(e.class || \"\", '\"\\n builder-id=\"').concat(e.id, '\"\\n ').concat(Object.keys(e.properties || {}).map(function (t) {\n return \"\".concat(htmlEscape(t), '=\"').concat(htmlEscape(e.properties[t]), '\"');\n }).join(\" \"), \"\\n >\").concat(\"Text\" === (null === (t = null == e ? void 0 : e.component) || void 0 === t ? void 0 : t.name) ? e.component.options.text : e.children ? e.children.map(function (e) {\n return blockToHtmlString(e);\n }).join(\"\") : \"\", \"\").replace(/\\s+/g, \" \");\n },\n Link = function Link(e) {\n return React__default.createElement(BuilderStoreContext.Consumer, null, function (t) {\n return t.renderLink ? t.renderLink(e) : React__default.createElement(\"a\", _assign({}, e));\n });\n },\n camelCaseToKebabCase = function camelCaseToKebabCase(e) {\n return e ? e.replace(/([A-Z])/g, function (e) {\n return \"-\".concat(e[0].toLowerCase());\n }) : \"\";\n },\n kebabCaseToCamelCase = function kebabCaseToCamelCase(e) {\n return void 0 === e && (e = \"\"), e.replace(/-([a-z])/g, function (e) {\n return e[1].toUpperCase();\n });\n },\n Device = {\n desktop: 0,\n tablet: 1,\n mobile: 2\n },\n voidElements = new Set([\"area\", \"base\", \"br\", \"col\", \"embed\", \"hr\", \"img\", \"input\", \"link\", \"meta\", \"param\", \"source\", \"track\", \"wbr\", \"textarea\"]),\n last = function last(e) {\n return e[e.length - 1];\n };\nfunction omit$1(e, t) {\n for (var n = Object.assign({}, e), i = 0, r = t; i < r.length; i++) {\n delete n[r[i]];\n }\n return n;\n}\nvar cssCase = function cssCase(e) {\n if (!e) return e;\n var t = camelCaseToKebabCase(e);\n return e[0] === e[0].toUpperCase() && (t = \"-\" + t), t;\n};\nfunction capitalize(e) {\n if (e) return e[0].toUpperCase() + e.slice(1);\n}\nvar BuilderBlock$1 = function (_super) {\n function BuilderBlock() {\n var _this = null !== _super && _super.apply(this, arguments) || this;\n return _this.state = {\n hasError: !1,\n updates: 0\n }, _this.privateState = {\n state: {},\n rootState: {},\n context: {},\n update: function update() {}\n }, _this.onWindowMessage = function (event) {\n var message = event.data;\n if (message) switch (message.type) {\n case \"builder.selectionChange\":\n var data = message.data;\n if (!data) break;\n var selection = data.selection,\n id = _this.block && _this.block.id;\n id && Array.isArray(selection) && selection.indexOf(id) > -1 && setTimeout(function () {\n window.$block = _this, window.$blocks || (window.$blocks = []), window.$blocks.push(_this);\n });\n break;\n case \"builder.patchUpdates\":\n var data = message.data;\n if (!data || !data.data) break;\n var patches = data.data[_this.block.id];\n if (!patches) return;\n location.href.includes(\"builder.debug=true\") && eval(\"debugger\");\n for (var _i = 0, patches_1 = patches; _i < patches_1.length; _i++) {\n var patch = patches_1[_i];\n applyPatchWithMinimalMutationChain(_this.props.block, patch, !0);\n }\n _this.setState({\n updates: _this.state.updates + 1\n });\n }\n }, _this;\n }\n return __extends(BuilderBlock, _super), Object.defineProperty(BuilderBlock.prototype, \"store\", {\n get: function get() {\n return this.privateState;\n },\n enumerable: !1,\n configurable: !0\n }), BuilderBlock.getDerivedStateFromError = function (e) {\n return {\n hasError: !0\n };\n }, BuilderBlock.prototype.componentDidCatch = function (e, t) {\n console.error(\"Builder block error:\", e, t);\n }, BuilderBlock.prototype.stringToFunction = function (e, t) {\n return void 0 === t && (t = !0), stringToFunction(e, t, this._errors, this._logs);\n }, Object.defineProperty(BuilderBlock.prototype, \"block\", {\n get: function get() {\n return this.props.block;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(BuilderBlock.prototype, \"emotionCss\", {\n get: function get() {\n var e,\n t,\n n,\n i,\n r,\n o = this.block;\n if (Builder.isServer) {\n var a = o.animations && o.animations[0];\n if (a && \"hover\" !== a.trigger) {\n var s = a && a.steps && a.steps[0],\n l = s && s.styles;\n l && (r = l);\n }\n }\n var u = sizeNames.slice().reverse(),\n d = this.block,\n c = {};\n if (d.responsiveStyles) for (var p = 0, f = u; p < f.length; p++) {\n var m = f[p];\n if (\"large\" === m) this.props.emailMode || (c[\"&.builder-block\"] = Object.assign({}, d.responsiveStyles[m], r));else {\n var h = getSizesForBreakpoints((null === (t = null === (e = this.privateState.context.builderContent) || void 0 === e ? void 0 : e.meta) || void 0 === t ? void 0 : t.breakpoints) || {});\n c[\"@media only screen and (max-width: \".concat(h[m].max, \"px)\")] = {\n \"&.builder-block\": d.responsiveStyles[m]\n };\n }\n }\n var g = o.animations && o.animations.find(function (e) {\n return \"hover\" === e.trigger;\n });\n return g && (c[\":hover\"] = (null === (i = null === (n = g.steps) || void 0 === n ? void 0 : n[1]) || void 0 === i ? void 0 : i.styles) || {}, c.transition = \"all \".concat(g.duration, \"s \").concat(camelCaseToKebabCase(g.easing)), g.delay && (c.transitionDelay = g.delay + \"s\")), c;\n },\n enumerable: !1,\n configurable: !0\n }), BuilderBlock.prototype.eval = function (e) {\n return this.stringToFunction(e)(this.privateState.state, void 0, this.block, builder, Device, this.privateState.update, Builder, this.privateState.context);\n }, BuilderBlock.prototype.componentWillUnmount = function () {\n Builder.isEditing && removeEventListener(\"message\", this.onWindowMessage);\n }, BuilderBlock.prototype.componentDidMount = function () {\n var e,\n t = this,\n n = this.block,\n i = n && n.animations;\n if (Builder.isEditing && addEventListener(\"message\", this.onWindowMessage), i) {\n var r = {\n animations: fastClone(i)\n };\n if (n.bindings) for (var o in n.bindings) if ((null === (e = o.trim) || void 0 === e ? void 0 : e.call(o)) && o.startsWith(\"animations.\")) {\n var a = this.stringToFunction(n.bindings[o]);\n void 0 !== a && set(r, o, a(this.privateState.state, null, n, builder, null, null, Builder, this.privateState.context));\n }\n Builder.animator.bindAnimations(r.animations.filter(function (e) {\n return \"hover\" !== e.trigger;\n }).map(function (e) {\n return _assign(_assign({}, e), {\n elementId: t.block.id\n });\n }));\n }\n }, BuilderBlock.prototype.getElement = function (e, t) {\n var n,\n i,\n r,\n o,\n a,\n s = this;\n void 0 === e && (e = 0), void 0 === t && (t = this.privateState.state);\n var l = this.props;\n l.child, l.fieldName;\n var u,\n d = this.block,\n c = (d.tagName || \"div\").toLowerCase();\n if (\"template\" === c) {\n var p = d.children ? d.children.map(function (e) {\n return blockToHtmlString(e);\n }).join(\" \") : \"\";\n return console.debug(\"template html\", p), jsx(\"template\", _assign({}, d.properties, {\n dangerouslySetInnerHTML: {\n __html: p\n }\n }));\n }\n var f = d.component && (d.component.name || d.component.component),\n m = null;\n d.component && !d.component.class && (d.component && d.component.tag ? u = d.component.tag : (m = Builder.components.find(function (e) {\n return e.name === f;\n }) || null) && m.class ? u = m.class : m && m.tag ? u = m.tag : (null == f ? void 0 : f.startsWith(\"Builder:\")) ? console.warn(\"Missing @builder.io/widgets installation, please install and import @builder.io/widgets to use \".concat(f.split(\":\")[1], \" in your content, more info here: https://github.com/BuilderIO/builder/tree/main/packages/widgets\")) : f && console.warn(\"Missing registration for \".concat(f, \", have you included the registration in your bundle?\")));\n var h = _assign(_assign({}, d.properties), {\n style: {}\n });\n if (h = _assign(_assign({}, h.properties), h), d.component && (h.component = fastClone(d.component)), d.bindings) for (var g in d.bindings) if (null === (i = g.trim) || void 0 === i ? void 0 : i.call(g)) {\n var v = this.stringToFunction(d.bindings[g]);\n set(h, g, v(t, null, d, api(), Device, null, Builder, this.privateState.context));\n }\n if (h.hide) return null;\n if (delete h.hide, (\"show\" in h || d.bindings && d.bindings.show) && !h.show) return null;\n if (delete h.show, d.actions) {\n var b = function b(e) {\n if (!(null === (r = e.trim) || void 0 === r ? void 0 : r.call(e))) return \"continue\";\n var n = d.actions[e];\n h[\"on\" + capitalize(e)] = function (e) {\n var i = t;\n return \"undefined\" != typeof Proxy && (i = new Proxy(t, {\n set: function set(e, t, n) {\n return e[t] = n, s.privateState.rootState[t] = n, !0;\n }\n })), s.stringToFunction(n, !1)(i, e, s.block, builder, Device, s.privateState.update, Builder, s.privateState.context);\n };\n };\n for (var g in d.actions) b(g);\n }\n var y = (h.component || h.options) && _assign(_assign({}, h.options), h.component.options || h.component.data),\n _ = voidElements.has(c),\n x = m && (m.fragment || m.noWrap),\n S = (null === (o = h.attr) || void 0 === o ? void 0 : o.style) || (\"string\" == typeof h.style ? h.style : \"\") || \"\";\n if (\"string\" == typeof S) {\n \"object\" != typeof h.style && (h.style = {});\n for (var B = 0, k = S.split(\";\"); B < k.length; B++) {\n var w = k[B].split(\":\");\n if (!w.length) return;\n g = w[0], v = w[1];\n g && (w.length > 2 && (v = w.slice(1).join(\":\")), h.style[kebabCaseToCamelCase(g)] = v);\n }\n }\n var C = _assign(_assign(_assign({}, omit$1(h, [\"class\", \"component\", \"attr\"])), ((n = {})[\"string\" != typeof c || c.includes(\"-\") ? \"class\" : \"className\"] = \"builder-block \".concat(this.id).concat(d.class ? \" \".concat(d.class) : \"\").concat(!d.component || [\"Image\", \"Video\", \"Banner\"].indexOf(f) > -1 ? \"\" : \" builder-has-component\") + (h.class ? \" \" + h.class : \"\") + (Builder.isEditing && (null === (a = this.privateState.state._spacer) || void 0 === a ? void 0 : a.parent) === d.id ? \" builder-spacer-parent\" : \"\"), n.key = this.id + e, n[\"builder-id\"] = this.id, n)), 0 !== e && {\n \"builder-index\": e\n });\n Builder.isEditing && (C[\"builder-inline-styles\"] = h.attr && h.attr.style ? Object.keys(h.style).reduce(function (e, t) {\n return (e ? \"\".concat(e, \";\") : \"\") + \"\".concat(cssCase(t), \":\").concat(h.style[t], \";\");\n }, \"\") : \"\"), (C.properties && C.properties.href || C.href) && \"div\" === c && (c = \"a\"), \"a\" === c && (c = Link);\n var R = d.children || C.children || [];\n return jsx(React__default.Fragment, null, jsx(ClassNames, null, function (e) {\n var t = e.css;\n if (e.cx, !s.props.emailMode) {\n var n = \" \" + t(s.emotionCss);\n C.class && (C.class += n), C.className && (C.className += n);\n }\n return jsx(BuilderAsyncRequestsContext.Consumer, null, function (e) {\n return s._asyncRequests = e && e.requests, s._errors = e && e.errors, s._logs = e && e.logs, _ ? jsx(c, _assign({}, C)) : u && (x || s.props.emailMode) ? jsx(u, _assign({}, y, {\n attributes: C,\n builderBlock: d,\n builderState: s.privateState\n })) : jsx(c, _assign({}, C), u && jsx(u, _assign({\n builderState: s.privateState,\n builderBlock: d\n }, y)), d.text || h.text ? h.text : !u && R && Array.isArray(R) && R.length ? R.map(function (e, t) {\n return jsx(BuilderBlock, {\n key: (s.id || \"\") + t,\n block: e,\n index: t,\n size: s.props.size,\n fieldName: s.props.fieldName,\n child: s.props.child,\n emailMode: s.props.emailMode\n });\n }) : null);\n });\n }));\n }, Object.defineProperty(BuilderBlock.prototype, \"id\", {\n get: function get() {\n var e = this.block;\n return e.id.startsWith(\"builder\") ? e.id : \"builder-\" + e.id;\n },\n enumerable: !1,\n configurable: !0\n }), BuilderBlock.prototype.contents = function (e) {\n var t = this,\n n = this.block;\n if (this.privateState = e, n.repeat && n.repeat.collection) {\n var i = n.repeat.collection,\n r = last((i || \"\").trim().split(\"(\")[0].trim().split(\".\")),\n o = n.repeat.itemName || (r ? r + \"Item\" : \"item\"),\n a = this.stringToFunction(i)(e.state, null, n, api(), Device, null, Builder, this.privateState.context);\n return Array.isArray(a) ? a.map(function (n, i) {\n var r,\n a = _assign(_assign({}, e.state), ((r = {\n $index: i,\n $item: n\n })[o] = n, r[\"$\".concat(o, \"Index\")] = i, r));\n return jsx(BuilderStoreContext.Provider, {\n key: i,\n value: _assign(_assign({}, e), {\n state: a\n })\n }, t.getElement(i, a));\n }) : null;\n }\n return this.getElement();\n }, BuilderBlock.prototype.render = function () {\n var e = this;\n return this.state.hasError ? jsx(\"span\", {\n css: {\n display: \"inline-block\",\n padding: 5,\n color: \"#999\",\n fontSize: 11,\n fontStyle: \"italic\"\n }\n }, \"Builder block error :( Check console for details\") : jsx(BuilderStoreContext.Consumer, null, function (t) {\n return e.contents(t);\n });\n }, BuilderBlock;\n }(React__default.Component),\n BuilderBlocks = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.onClickEmptyBlocks = function () {\n var e;\n Builder.isIframe && t.noBlocks && (null === (e = window.parent) || void 0 === e || e.postMessage({\n type: \"builder.clickEmptyBlocks\",\n data: {\n parentElementId: t.parentId,\n dataPath: t.path\n }\n }, \"*\"));\n }, t.onHoverEmptyBlocks = function () {\n var e;\n Builder.isEditing && t.noBlocks && (null === (e = window.parent) || void 0 === e || e.postMessage({\n type: \"builder.hoverEmptyBlocks\",\n data: {\n parentElementId: t.parentId,\n dataPath: t.path\n }\n }, \"*\"));\n }, t;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"isRoot\", {\n get: function get() {\n return !this.props.child;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"noBlocks\", {\n get: function get() {\n var e = this.props.blocks;\n return !(e && e.length);\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"path\", {\n get: function get() {\n var e = this.props.dataPath || \"\";\n return e.trim() && (e.startsWith(\"this.\") ? e = e.replace(\"this.\", \"\") : e.startsWith(\"component.options.\") || (e = \"component.options.\" + e)), e;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"parentId\", {\n get: function get() {\n return this.props.parentElementId ? this.props.parentElementId : this.props.parent && this.props.parent.id;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.render = function () {\n var e = this,\n t = this.props.blocks,\n n = this.props.emailMode ? \"span\" : \"div\";\n return jsx(n, _assign({\n className: \"builder-blocks\" + (this.noBlocks ? \" no-blocks\" : \"\") + (this.props.child ? \" builder-blocks-child\" : \"\") + (this.props.className ? \" \" + this.props.className : \"\"),\n \"builder-type\": \"blocks\",\n \"builder-path\": Builder.isIframe ? this.path : void 0,\n \"builder-parent-id\": this.parentId,\n css: _assign(_assign({}, !this.props.emailMode && {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\"\n }), this.props.style),\n onClick: function onClick() {\n e.noBlocks && e.onClickEmptyBlocks();\n }\n }, Builder.isEditing && {\n onMouseEnter: function onMouseEnter() {\n return e.onHoverEmptyBlocks();\n }\n }), t && Array.isArray(t) && t.map(function (t, n) {\n return t && \"@builder.io/sdk:Element\" === t[\"@type\"] ? jsx(BuilderBlock$1, {\n key: t.id,\n block: t,\n index: n,\n fieldName: e.props.fieldName,\n child: e.props.child,\n emailMode: e.props.emailMode\n }) : t;\n }) || t);\n }, t.renderInto = function (e, n, i) {\n if (void 0 === n && (n = {}), e) {\n var r = null;\n return \"string\" == typeof e ? r = document.querySelector(e) : e instanceof Element && (r = e), ReactDOM.render(jsx(BuilderStoreContext.Provider, {\n value: i\n }, jsx(t, _assign({}, n))), r);\n }\n }, t;\n }(React__default.Component),\n NoWrap = function NoWrap(e) {\n return e.children;\n };\nfunction getData(e) {\n if (void 0 !== (null == e ? void 0 : e.data)) {\n var t = e.data,\n n = t.blocks,\n i = t.blocksString,\n r = Array.isArray(n) || \"string\" == typeof i,\n o = _assign(_assign({}, e.data), r && {\n blocks: n || JSON.parse(i)\n });\n return delete o.blocksString, o;\n }\n}\nvar variantsScript = function variantsScript(e, t) {\n return \"\\n(function() {\\n if (window.builderNoTrack || !navigator.cookieEnabled) {\\n return;\\n }\\n\\n var variants = \".concat(e, \";\\n function removeVariants() {\\n variants.forEach(function (template) {\\n document.querySelector('template[data-template-variant-id=\\\"' + template.id + '\\\"]').remove();\\n });\\n document.getElementById('variants-script-\").concat(t, '\\').remove();\\n }\\n\\n if (typeof document.createElement(\"template\").content === \\'undefined\\') {\\n removeVariants();\\n return ;\\n }\\n\\n function setCookie(name,value,days) {\\n var expires = \"\";\\n if (days) {\\n var date = new Date();\\n date.setTime(date.getTime() + (days*24*60*60*1000));\\n expires = \"; expires=\" + date.toUTCString();\\n }\\n document.cookie = name + \"=\" + (value || \"\") + expires + \"; path=/\" + \"; Secure; SameSite=None\";\\n }\\n\\n function getCookie(name) {\\n var nameEQ = name + \"=\";\\n var ca = document.cookie.split(\\';\\');\\n for(var i=0;i < ca.length;i++) {\\n var c = ca[i];\\n while (c.charAt(0)==\\' \\') c = c.substring(1,c.length);\\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);\\n }\\n return null;\\n }\\n var cookieName = \\'builder.tests.').concat(t, \"';\\n var variantInCookie = getCookie(cookieName);\\n var availableIDs = variants.map(function(vr) { return vr.id }).concat('\").concat(t, \"');\\n var variantId;\\n if (availableIDs.indexOf(variantInCookie) > -1) {\\n variantId = variantInCookie;\\n }\\n if (!variantId) {\\n var n = 0;\\n var random = Math.random();\\n for (var i = 0; i < variants.length; i++) {\\n var variant = variants[i];\\n var testRatio = variant.testRatio;\\n n += testRatio;\\n if (random < n) {\\n setCookie(cookieName, variant.id);\\n variantId = variant.id;\\n break;\\n }\\n }\\n if (!variantId) {\\n variantId = \\\"\").concat(t, '\";\\n setCookie(cookieName, \"').concat(t, '\");\\n }\\n }\\n if (variantId && variantId !== \"').concat(t, \"\\\") {\\n var winningTemplate = document.querySelector('template[data-template-variant-id=\\\"' + variantId + '\\\"]');\\n if (winningTemplate) {\\n var parentNode = winningTemplate.parentNode;\\n var newParent = parentNode.cloneNode(false);\\n newParent.appendChild(winningTemplate.content.firstChild);\\n parentNode.parentNode.replaceChild(newParent, parentNode);\\n }\\n } else if (variants.length > 0) {\\n removeVariants();\\n }\\n})()\").replace(/\\s+/g, \" \");\n },\n VariantsProvider = function VariantsProvider(e) {\n var t = e.initialContent,\n n = e.children;\n if (Builder.isBrowser && !builder.canTrack) return n([t]);\n if (!Boolean(Object.keys((null == t ? void 0 : t.variations) || {}).length)) return n([t]);\n var i = Object.keys(t.variations).map(function (e) {\n return _assign(_assign({\n id: e\n }, t.variations[e]), {\n data: getData(t.variations[e])\n });\n }),\n r = __spreadArray(__spreadArray([], i, !0), [t], !1);\n if (Builder.isServer) {\n var o = JSON.stringify(Object.keys(t.variations || {}).map(function (e) {\n return {\n id: e,\n testRatio: t.variations[e].testRatio\n };\n }));\n return React.createElement(React.Fragment, null, n(r, function () {\n return React.createElement(\"script\", {\n id: \"variants-script-\".concat(t.id),\n dangerouslySetInnerHTML: {\n __html: variantsScript(o, t.id)\n }\n });\n }));\n }\n var a = \"builder.tests.\".concat(t.id),\n s = builder.getCookie(a);\n if (!s && Builder.isBrowser) for (var l = 0, u = Math.random(), d = 0; d < i.length; d++) {\n var c = i[d];\n if (u < (l += c.testRatio)) {\n builder.setCookie(a, c.id), s = c.id;\n break;\n }\n }\n return s || (s = t.id, builder.setCookie(a, s)), n([r.find(function (e) {\n return e.id === s;\n })]);\n },\n BuilderContent = function (_super) {\n function BuilderContent() {\n var _this = null !== _super && _super.apply(this, arguments) || this;\n return _this.ref = null, _this.state = {\n loading: !_this.props.content,\n data: getContentWithInfo(_this.props.content),\n updates: 1\n }, _this.onWindowMessage = function (event) {\n var _a,\n _b,\n message = event.data;\n if (message) switch (message.type) {\n case \"builder.patchUpdates\":\n if (null === (_a = _this.props.options) || void 0 === _a ? void 0 : _a.noEditorUpdates) return;\n var data = message.data;\n if (!data || !data.data) break;\n var patches = data.data[null === (_b = _this.state.data) || void 0 === _b ? void 0 : _b.id];\n if (!patches || !patches.length) return;\n location.href.includes(\"builder.debug=true\") && eval(\"debugger\");\n for (var newData = _this.state.data, _i = 0, patches_1 = patches; _i < patches_1.length; _i++) {\n var patch = patches_1[_i];\n newData = applyPatchWithMinimalMutationChain(newData, patch, !1);\n }\n _this.setState({\n updates: _this.state.updates + 1,\n data: newData\n }), _this.props.contentLoaded && _this.props.contentLoaded(newData.data, newData);\n }\n }, _this.subscriptions = new Subscription(), _this.firstLoad = !0, _this.clicked = !1, _this.trackedImpression = !1, _this.intersectionObserver = null, _this.onClick = function (e) {\n var t = e.nativeEvent,\n n = _this.data;\n n && (builder.autoTrack && _this.builder.trackInteraction(n.id, _this.renderedVariantId, _this.clicked, t, {\n content: n\n }), _this.clicked || (_this.clicked = !0));\n }, _this;\n }\n return __extends(BuilderContent, _super), Object.defineProperty(BuilderContent.prototype, \"builder\", {\n get: function get() {\n return this.props.builder || builder;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(BuilderContent.prototype, \"name\", {\n get: function get() {\n var e = this.props;\n return \"model\" in e ? e.model : e.modelName;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(BuilderContent.prototype, \"renderedVariantId\", {\n get: function get() {\n var e,\n t,\n n = this.props.isStatic ? this.builder.getCookie(\"builder.tests.\".concat(null === (e = this.data) || void 0 === e ? void 0 : e.id)) : null === (t = this.data) || void 0 === t ? void 0 : t.variationId;\n if (null !== n) return n;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(BuilderContent.prototype, \"options\", {\n get: function get() {\n var e,\n t,\n n = _assign({}, this.props.options || {});\n return n.key || !(null === (e = this.props.content) || void 0 === e ? void 0 : e.id) || Builder.isEditing || Builder.isPreviewing || (n.key = this.props.content.id), !this.props.content || (null === (t = n.initialContent) || void 0 === t ? void 0 : t.length) || !this.props.inline && Builder.isPreviewing || (n.initialContent = [this.props.content]), n;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(BuilderContent.prototype, \"data\", {\n get: function get() {\n var e = (this.props.inline || !Builder.isBrowser || this.firstLoad) && this.options.initialContent && this.options.initialContent[0] || this.state.data;\n return getContentWithInfo(e);\n },\n enumerable: !1,\n configurable: !0\n }), BuilderContent.prototype.componentDidMount = function () {\n var e, t;\n if (!this.props.inline || Builder.isEditing || Builder.isPreviewing) this.subscribeToContent();else if (this.props.inline && (null === (t = null === (e = this.options) || void 0 === e ? void 0 : e.initialContent) || void 0 === t ? void 0 : t.length)) {\n var n = this.options.initialContent[0];\n (null == n ? void 0 : n.id) && this.builder.trackImpression(n.id, this.renderedVariantId, void 0, {\n content: n\n });\n }\n Builder.isEditing && addEventListener(\"message\", this.onWindowMessage);\n }, BuilderContent.prototype.subscribeToContent = function () {\n var e = this;\n \"_inline\" !== this.name && this.subscriptions.add(builder.queueGetContent(this.name, this.options).subscribe(function (t) {\n var n = t && t[0];\n e.setState({\n data: n,\n loading: !1\n });\n var i = (builder.editingModel || builder.previewingModel) === e.name;\n if (!e.props.inline && e.props.content && e.firstLoad && i && (e.firstLoad = !1, e.subscriptions.unsubscribe(), e.subscribeToContent()), n && e.firstLoad && (e.firstLoad = !1, builder.autoTrack && !Builder.isEditing)) {\n var r = !1;\n if (\"function\" == typeof IntersectionObserver && e.ref) try {\n (e.intersectionObserver = new IntersectionObserver(function (t, i) {\n t.forEach(function (t) {\n t.intersectionRatio > 0 && !e.trackedImpression && (e.builder.trackImpression(n.id, e.renderedVariantId, void 0, {\n content: e.data\n }), e.data, e.trackedImpression = !0, e.ref && i.unobserve(e.ref));\n });\n })).observe(e.ref), r = !0;\n } catch (e) {\n console.warn(\"Could not bind intersection observer\");\n }\n r || (e.trackedImpression = !0, e.builder.trackImpression(n.id, e.renderedVariantId, void 0, {\n content: n\n }));\n }\n e.props.contentLoaded && e.props.contentLoaded(n && n.data, n);\n }, function (t) {\n e.props.contentError && (e.props.contentError(t), e.setState({\n loading: !1\n }));\n }));\n }, BuilderContent.prototype.componentWillUnmount = function () {\n Builder.isEditing && removeEventListener(\"message\", this.onWindowMessage), this.subscriptions.unsubscribe(), this.intersectionObserver && this.ref && this.intersectionObserver.unobserve(this.ref);\n }, BuilderContent.prototype.render = function () {\n var e = this;\n if (this.props.dataOnly) return null;\n var t = this.state.loading,\n n = this.data,\n i = this.props.dataOnly ? NoWrap : \"div\";\n return React__default.createElement(VariantsProvider, {\n initialContent: n\n }, function (r, o) {\n return React__default.createElement(React__default.Fragment, null, r.map(function (a, s) {\n var l = s === r.length - 1 ? React__default.Fragment : \"template\";\n return React__default.createElement(React__default.Fragment, {\n key: String((null == a ? void 0 : a.id) + s)\n }, \"template\" !== l && (null == o ? void 0 : o()), React__default.createElement(l, _assign({\n key: String((null == a ? void 0 : a.id) + s)\n }, \"template\" === l && {\n \"data-template-variant-id\": null == a ? void 0 : a.id\n }), React__default.createElement(i, _assign({}, 0 === s && !e.props.dataOnly && {\n ref: function ref(t) {\n return e.ref = t;\n }\n }, {\n className: \"builder-content\",\n onClick: e.onClick,\n \"builder-content-id\": null == a ? void 0 : a.id,\n \"builder-model\": e.name\n }), e.props.children(null == a ? void 0 : a.data, !e.props.inline && t, n))));\n }));\n });\n }, BuilderContent;\n }(React__default.Component),\n getContentWithInfo = function getContentWithInfo(e) {\n var t;\n if (e) {\n var n = builder.getCookie(\"builder.tests.\".concat(e.id)),\n i = n === e.id ? e : null === (t = e.variations) || void 0 === t ? void 0 : t[n],\n r = (null == i ? void 0 : i.name) || ((null == i ? void 0 : i.id) === e.id ? \"Default variation\" : \"\");\n return _assign(_assign({}, e), {\n variationId: n,\n testVariationId: n,\n testVariationName: r\n });\n }\n return null;\n };\nfunction unwrapExports(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nfunction createCommonjsModule(e, t) {\n return e(t = {\n exports: {}\n }, t.exports), t.exports;\n}\nvar onChange_1 = createCommonjsModule(function (e, t) {\n Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n var n = Symbol(\"target\"),\n i = Symbol(\"unsubscribe\"),\n r = function r(e, t) {\n return t && t.toString && (e && (e += \".\"), e += t.toString()), e;\n },\n o = function o(e) {\n return Array.isArray(e) ? e.slice() : Object.assign({}, e);\n },\n a = function a(e, t, _a2) {\n if (\"undefined\" == typeof Proxy) return e;\n void 0 === _a2 && (_a2 = {});\n var s,\n l,\n u = Symbol(\"ProxyTarget\"),\n d = !1,\n c = !1,\n p = !1,\n f = _a2.equals || Object.is,\n m = new WeakMap(),\n h = new WeakMap(),\n g = new WeakMap(),\n v = function v(e, n, i, a) {\n if (!p) if (d) {\n if (d && l && void 0 !== i && void 0 !== a && \"length\" !== n) {\n var u = l;\n e !== s && function (e, t) {\n for (var n; e;) -1 === (n = e.indexOf(\".\")) && (n = e.length), t(e.slice(0, n)), e = e.slice(n + 1);\n }(e = e.replace(s, \"\").slice(1), function (e) {\n u[e] = o(u[e]), u = u[e];\n }), u[n] = i;\n }\n c = !0;\n } else t(r(e, n), a, i);\n },\n b = function b(e, t) {\n var n = m ? m.get(e) : void 0;\n n && n.delete(t);\n },\n y = function y(e, t) {\n if (p) return e;\n h.set(e, t);\n var n = g.get(e);\n return void 0 === n && (n = new Proxy(e, x), g.set(e, n)), n;\n },\n _ = function _(e) {\n return p || !0 === _a2.ignoreSymbols && \"symbol\" == typeof e;\n },\n x = {\n get: function get(e, t, o) {\n if (t === u || t === n) return e;\n if (t === i && \"\" === h.get(e)) return function (e) {\n return p = !0, m = null, h = null, g = null, e;\n }(e);\n var s = Reflect.get(e, t, o);\n if (function (e) {\n return null === e || \"object\" != typeof e && \"function\" != typeof e;\n }(s) || function (e) {\n return e instanceof RegExp || e instanceof Number;\n }(s) || \"constructor\" === t || !0 === _a2.isShallow) return s;\n var l = function (e, t) {\n var n = m ? m.get(e) : void 0;\n if (n) return n;\n n = new Map(), m.set(e, n);\n var i = n.get(t);\n return i || (i = Reflect.getOwnPropertyDescriptor(e, t), n.set(t, i)), i;\n }(e, t);\n if (l && !l.configurable) {\n if (l.set && !l.get) return;\n if (!1 === l.writable) return s;\n }\n return y(s, r(h.get(e), t));\n },\n set: function set(e, t, n, i) {\n n && void 0 !== n[u] && (n = n[u]);\n var r = _(t),\n o = r ? null : Reflect.get(e, t, i),\n a = Reflect.set(e[u] || e, t, n);\n return r || f(o, n) || v(h.get(e), t, o, n), a;\n },\n defineProperty: function defineProperty(e, t, n) {\n var i = Reflect.defineProperty(e, t, n);\n return _(t) || (b(e, t), v(h.get(e), t, void 0, n.value)), i;\n },\n deleteProperty: function deleteProperty(e, t) {\n if (!Reflect.has(e, t)) return !0;\n var n = _(t),\n i = n ? null : Reflect.get(e, t),\n r = Reflect.deleteProperty(e, t);\n return n || (b(e, t), v(h.get(e), t, i)), r;\n },\n apply: function apply(e, t, n) {\n var i = t instanceof Date;\n if (i && (t = t[u]), !d) {\n d = !0, i && (l = t.valueOf()), (Array.isArray(t) || \"[object Object]\" === toString.call(t)) && (l = o(t[u])), s = (s = h.get(e)).slice(0, Math.max(s.lastIndexOf(\".\"), 0));\n var r = Reflect.apply(e, t, n);\n return d = !1, (c || i && !f(l, t.valueOf())) && (v(s, \"\", l, t[u] || t), l = null, c = !1), r;\n }\n return Reflect.apply(e, t, n);\n }\n },\n S = y(e, \"\");\n return t = t.bind(S), S;\n };\n a.target = function (e) {\n return e[n] || e;\n }, a.unsubscribe = function (e) {\n return e[i] || e;\n }, e.exports = a, t.default = a;\n }),\n onChange = unwrapExports(onChange_1),\n nextTick = Builder.nextTick;\nfunction debounceNextTick(e, t, n) {\n return void 0 === t && \"function\" == typeof e ? debounceNextTickImpl(e) : {\n configurable: !0,\n enumerable: n.enumerable,\n get: function get() {\n return Object.defineProperty(this, t, {\n configurable: !0,\n enumerable: n.enumerable,\n value: debounceNextTickImpl(n.value)\n }), this[t];\n }\n };\n}\nfunction debounceNextTickImpl(e) {\n var t = null,\n n = null;\n return function () {\n var e = t;\n if (t = [].slice.call(arguments), n = this, null !== e) return;\n nextTick(i);\n };\n function i() {\n e.apply(n, t), t = null, n = null;\n }\n}\nfunction throttle(e, t, n) {\n var i, r, o;\n void 0 === n && (n = {});\n var a = null,\n s = 0,\n l = function l() {\n s = !1 === n.leading ? 0 : Date.now(), a = null, o = e.apply(i, r), a || (i = r = null);\n };\n return function () {\n var u = Date.now();\n s || !1 !== n.leading || (s = u);\n var d = t - (u - s);\n return i = this, r = arguments, d <= 0 || d > t ? (a && (clearTimeout(a), a = null), s = u, o = e.apply(i, r), a || (i = r = null)) : a || !1 === n.trailing || (a = setTimeout(l, d)), o;\n };\n}\nvar BuilderMetaContext = React__default.createContext({\n emailMode: !1,\n ampMode: !1,\n isServer: !1\n }),\n tryEval = function tryEval(e, t, n) {\n var i;\n void 0 === t && (t = {});\n var r = e;\n if (\"string\" == typeof r && r.trim()) {\n var o = !(r.includes(\";\") || r.includes(\" return \")),\n a = function a() {};\n try {\n Builder.isBrowser && (a = new Function(\"state\", \"var rootState = state;\\n if (typeof Proxy !== 'undefined') {\\n rootState = new Proxy(rootState, {\\n set: function () {\\n return false;\\n },\\n get: function (target, key) {\\n if (key === 'state') {\\n return state;\\n }\\n return target[key]\\n }\\n });\\n }\\n with (rootState) {\\n \".concat(o ? \"return (\".concat(e, \");\") : e, \";\\n }\")));\n } catch (e) {\n Builder.isBrowser && console.warn(\"Could not compile javascript\", e);\n }\n try {\n return Builder.isBrowser ? a(t || {}) : new (0, safeDynamicRequire(\"vm2\").VM)({\n sandbox: _assign(_assign({}, t), {\n state: t\n })\n }).run(r.replace(/(^|;)return /, \"$1\"));\n } catch (t) {\n n && n.push(t), Builder.isBrowser ? console.warn(\"Builder custom code error:\", t.message, \"in\", e, t.stack) : (null === (i = null === process || void 0 === process ? void 0 : process.env) || void 0 === i ? void 0 : i.DEBUG) && console.debug(\"Builder custom code error:\", t.message, \"in\", e, t.stack);\n }\n }\n };\nfunction toError(e) {\n return e instanceof Error ? e : new Error(String(e));\n}\nfunction getBuilderPixel(e) {\n return {\n id: \"builder-pixel-\" + Math.random().toString(36).split(\".\")[1],\n \"@type\": \"@builder.io/sdk:Element\",\n tagName: \"img\",\n properties: {\n role: \"presentation\",\n \"aria-hidden\": \"true\",\n src: \"https://cdn.builder.io/api/v1/pixel?apiKey=\".concat(e)\n },\n responsiveStyles: {\n large: {\n height: \"0\",\n width: \"0\",\n display: \"inline-block\",\n opacity: \"0\",\n overflow: \"hidden\",\n pointerEvents: \"none\"\n }\n }\n };\n}\nfunction pick(e) {\n for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];\n var i = {};\n return t.forEach(function (t) {\n i[t] = e[t];\n }), i;\n}\nfunction omit(e) {\n for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];\n var i = _assign({}, e);\n return t.forEach(function (e) {\n delete i[e];\n }), i;\n}\nvar wrapComponent = function wrapComponent(e) {\n return function (t) {\n var n,\n i = t.builderTag || \"div\",\n r = [\"children\"].concat((null === (n = e.inputs) || void 0 === n ? void 0 : n.map(function (e) {\n return e.name;\n })) || []),\n o = omit.apply(void 0, __spreadArray(__spreadArray([t], r, !1), [\"attributes\"], !1)),\n a = t;\n return e.noWrap ? React__default.createElement(e.class, _assign({\n attributes: o\n }, a)) : React__default.createElement(i, _assign({}, o), React__default.createElement(e.class, _assign({}, a)));\n };\n },\n size$1 = function size$1(e) {\n return Object.keys(e).length;\n };\nfunction debounce(e, t, n) {\n var i;\n return void 0 === n && (n = !1), function () {\n var r = this,\n o = arguments;\n clearTimeout(i), i = setTimeout(function () {\n i = null, n || e.apply(r, o);\n }, t), n && !i && e.apply(r, o);\n };\n}\nvar fontsLoaded = new Set(),\n fetch$1;\nglobalThis.fetch && (fetch$1 = globalThis.fetch), null != fetch$1 || (fetch$1 = require(\"node-fetch\"));\nvar sizeMap = {\n desktop: \"large\",\n tablet: \"medium\",\n mobile: \"small\"\n },\n fetchCache = {};\nfunction searchToObject$1(e) {\n var t = (e.search || \"\").substring(1).split(\"&\"),\n n = {};\n for (var i in t) if (t[i] && \"string\" == typeof t[i]) {\n var r = t[i].split(\"=\");\n n[decodeURIComponent(r[0])] = decodeURIComponent(r[1]);\n }\n return n;\n}\nvar BuilderComponent = function (e) {\n function t(t) {\n var n,\n i = this;\n (i = e.call(this, t) || this).subscriptions = new Subscription(), i.onStateChange = new BehaviorSubject(null), i.asServer = Builder.isServer, i.contentRef = null, i.styleRef = null, i.rootState = Builder.isServer ? {} : onChange({}, function () {\n return i.updateState();\n }), i.lastJsCode = \"\", i.lastHttpRequests = {}, i.httpSubscriptionPerKey = {}, i.firstLoad = !0, i.ref = null, i.messageListener = function (e) {\n var t,\n n = e.data;\n switch (n.type) {\n case \"builder.configureSdk\":\n var r = n.data;\n if (!r.contentId || r.contentId !== (null === (t = i.useContent) || void 0 === t ? void 0 : t.id)) return;\n i.sizes = getSizesForBreakpoints(r.breakpoints || {}), i.setState({\n state: Object.assign(i.rootState, {\n deviceSize: i.deviceSizeState,\n device: i.device\n }),\n updates: (i.state && i.state.updates || 0) + 1,\n breakpoints: r.breakpoints\n });\n break;\n case \"builder.updateSpacer\":\n var o = n.data;\n i.rootState._spacer, i.updateState(function (e) {\n e._spacer = o;\n });\n break;\n case \"builder.resetState\":\n var a = n.data,\n s = a.state;\n if (a.model === i.name) {\n for (var l in i.rootState) \"function\" != typeof i.rootState[l] && delete i.rootState[l];\n Object.assign(i.rootState, s), i.setState(_assign(_assign({}, i.state), {\n state: i.rootState,\n updates: (i.state && i.state.updates || 0) + 1\n }));\n }\n break;\n case \"builder.resetSymbolState\":\n var u = n.data.state,\n d = (s = u.state, u.model, u.id);\n if (i.props.builderBlock && i.props.builderBlock === d) {\n for (var l in i.rootState) delete i.rootState[l];\n Object.assign(i.rootState, s), i.setState(_assign(_assign({}, i.state), {\n state: i.rootState,\n updates: (i.state && i.state.updates || 0) + 1\n }));\n }\n }\n }, i.resizeFn = function () {\n var e = i.deviceSizeState;\n e !== i.state.state.deviceSize && i.setState(_assign(_assign({}, i.state), {\n updates: (i.state && i.state.updates || 0) + 1,\n state: Object.assign(i.rootState, _assign(_assign({}, i.state.state), {\n deviceSize: e\n }))\n }));\n }, i.resizeListener = Builder.isEditing ? throttle(i.resizeFn, 200) : debounce(i.resizeFn, 400), i.mounted = !1, i.updateState = function (e) {\n var t = i.rootState;\n e && e(t), i.mounted ? i.setState({\n update: i.updateState,\n state: t,\n updates: (i.state && i.state.updates || 0) + 1\n }) : i.state = _assign(_assign({}, i.state), {\n update: i.updateState,\n state: t,\n updates: (i.state && i.state.updates || 0) + 1\n }), i.notifyStateChange();\n }, i.onContentLoaded = function (e, t) {\n var n;\n if (\"page\" === i.name && Builder.isBrowser && e) {\n var r = e.title,\n o = e.pageTitle,\n a = e.description,\n s = e.pageDescription;\n if ((r || o) && (document.title = r || o), a || s) {\n var l = document.querySelector('meta[name=\"description\"]');\n l || ((l = document.createElement(\"meta\")).setAttribute(\"name\", \"description\"), document.head.appendChild(l)), l.setAttribute(\"content\", a || s);\n }\n }\n if (Builder.isEditing && i.notifyStateChange(), i.props.contentLoaded && i.props.contentLoaded(e, t), e && e.inputs && Array.isArray(e.inputs) && e.inputs.length && (e.state || (e.state = {}), e.inputs.forEach(function (t) {\n t && t.name && void 0 !== t.defaultValue && void 0 === e.state[t.name] && (e.state[t.name] = t.defaultValue);\n })), e && e.state) {\n var u = _assign(_assign({}, i.state), {\n updates: (i.state && i.state.updates || 0) + 1,\n state: Object.assign(i.rootState, _assign(_assign(_assign(_assign({}, i.state.state), {\n location: i.locationState,\n deviceSize: i.deviceSizeState,\n device: i.device\n }), e.state), i.externalState))\n });\n i.mounted ? i.setState(u) : i.state = u;\n }\n if (e && e.jsCode && Builder.isBrowser && !i.options.codegen) {\n var d = !1;\n if (Builder.isEditing && (i.lastJsCode === e.jsCode ? d = !0 : i.lastJsCode = e.jsCode), !d) {\n var c = i.state.state;\n try {\n new Function(\"data\", \"ref\", \"state\", \"update\", \"element\", \"Builder\", \"builder\", \"context\", e.jsCode)(e, i, c, i.state.update, i.ref, Builder, builder, i.state.context);\n } catch (t) {\n var p = toError(t);\n Builder.isBrowser ? console.warn(\"Builder custom code error:\", p.message, \"in\", e.jsCode, p.stack) : (null === (n = null === process || void 0 === process ? void 0 : process.env) || void 0 === n ? void 0 : n.DEBUG) && console.debug(\"Builder custom code error:\", p.message, \"in\", e.jsCode, p.stack);\n }\n }\n }\n if (e && e.httpRequests && !i.props.noAsync && !(d = !1)) {\n var f = function f(t) {\n var n = e.httpRequests[t];\n if (n && (!i.data[t] || Builder.isEditing)) if (Builder.isBrowser) {\n var r = i.evalExpression(n);\n if (Builder.isEditing && i.lastHttpRequests[t] === r) return \"continue\";\n i.lastHttpRequests[t] = r;\n var o = n.match(/builder\\.io\\/api\\/v2\\/([^\\/\\?]+)/i);\n o && o[1], i.handleRequest(t, r);\n var a = i.httpSubscriptionPerKey[t];\n a && a.unsubscribe();\n var s = i.httpSubscriptionPerKey[t] = i.onStateChange.subscribe(function () {\n var e = i.evalExpression(n);\n e !== r && (i.handleRequest(t, e), i.lastHttpRequests[t] = e);\n });\n i.subscriptions.add(s);\n } else i.handleRequest(t, i.evalExpression(n));\n };\n for (var m in e.httpRequests) f(m);\n }\n };\n var r = i.inlinedContent;\n if (r && r.content && (r = r.content), i.sizes = getSizesForBreakpoints((null === (n = null == r ? void 0 : r.meta) || void 0 === n ? void 0 : n.breakpoints) || {}), i.state = {\n context: _assign(_assign({}, t.context), {\n apiKey: builder.apiKey || i.props.apiKey\n }),\n state: Object.assign(i.rootState, _assign(_assign(_assign(_assign({}, i.inlinedContent && i.inlinedContent.data && i.inlinedContent.data.state), {\n isBrowser: Builder.isBrowser,\n isServer: !Builder.isBrowser,\n _hydrate: t.hydrate,\n location: i.locationState,\n deviceSize: i.deviceSizeState,\n device: i.device\n }), i.getHtmlData()), t.data)),\n updates: 0,\n key: 0,\n update: i.updateState\n }, Builder.isBrowser) {\n var o = i.props.apiKey;\n if (o && o !== i.builder.apiKey && (i.builder.apiKey = o), i.inlinedContent) {\n var a = i.inlinedContent.content || i.inlinedContent;\n i.onContentLoaded(null == a ? void 0 : a.data, getContentWithInfo(a));\n }\n }\n return i;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"options\", {\n get: function get() {\n return _assign(_assign({}, t.defaults), this.props);\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"name\", {\n get: function get() {\n return this.props.model || this.props.modelName || this.props.name;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"element\", {\n get: function get() {\n return this.ref;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"inlinedContent\", {\n get: function get() {\n if (!this.isPreviewing || this.props.inlineContent) return this.props.content;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"builder\", {\n get: function get() {\n return this.props.builder || builder;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.getHtmlData = function () {\n var e = this.inlinedContent && this.inlinedContent.id || this.props.entry,\n t = e && Builder.isBrowser && document.querySelector('script[data-builder-json=\"'.concat(e, '\"],script[data-builder-state=\"').concat(e, '\"]'));\n if (t) try {\n return JSON.parse(t.innerText);\n } catch (e) {\n console.warn(\"Could not parse Builder.io HTML data transfer\", e, t.innerText);\n }\n return {};\n }, Object.defineProperty(t.prototype, \"device\", {\n get: function get() {\n return this.builder.getUserAttributes().device || \"desktop\";\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"locationState\", {\n get: function get() {\n return _assign(_assign({}, pick(this.location, \"pathname\", \"hostname\", \"search\", \"host\")), {\n path: this.location.pathname && this.location.pathname.split(\"/\").slice(1) || \"\",\n query: searchToObject$1(this.location)\n });\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"deviceSizeState\", {\n get: function get() {\n return Builder.isBrowser ? this.sizes.getSizeForWidth(window.innerWidth) : sizeMap[this.device] || \"large\";\n },\n enumerable: !1,\n configurable: !0\n }), t.renderInto = function (e, n, i, r) {\n if (void 0 === n && (n = {}), void 0 === i && (i = !0), void 0 === r && (r = !1), console.debug(\"BuilderPage.renderInto\", e, n, i, this), e) {\n var o = null;\n if (\"string\" == typeof e ? o = document.querySelector(e) : e instanceof Element && (o = e), o) {\n var a = o.classList.contains(\"builder-hydrated\");\n if (!a || r) {\n o.classList.add(\"builder-hydrated\");\n var s = i && o.innerHTML.includes(\"builder-block\");\n if (!o.classList.contains(\"builder-component\")) {\n var l = o.querySelector(\".builder-api-styles\") || (o.previousElementSibling && o.previousElementSibling.matches(\".builder-api-styles\") ? o.previousElementSibling : null),\n u = \"\";\n if (l) l.innerHTML.replace(/\\/\\*start:([^\\*]+?)\\*\\/([\\s\\S]*?)\\/\\*end:([^\\*]+?)\\*\\//g, function (e, t, n) {\n var i = null;\n try {\n i = document.querySelector('[data-emotion-css=\"'.concat(t, '\"]'));\n } catch (e) {\n console.warn(e);\n }\n return i ? i.innerHTML = n : Builder.isEditing || (u += e), e;\n }), Builder.nextTick(function () {\n l.innerHTML = u;\n });\n var d = o.querySelector(\".builder-component\");\n d ? o = d : s = !1;\n }\n location.search.includes(\"builder.debug=true\") && console.debug(\"hydrate\", s, o);\n var c = o;\n if (!a) {\n var p = document.createElement(\"div\");\n o.insertAdjacentElement(\"beforebegin\", p), p.appendChild(o), c = p;\n }\n if ((Builder.isEditing || Builder.isBrowser && location.search.includes(\"builder.preview=\")) && (s = !1), s && o) {\n var f = ReactDOM.render(React__default.createElement(t, _assign({}, n)), c, c.builderRootRef);\n return c.builderRootRef = f, f;\n }\n var m = ReactDOM.render(React__default.createElement(t, _assign({}, n)), c, c.builderRootRef);\n return c.builderRootRef = m, m;\n }\n console.debug(\"Tried to hydrate multiple times\");\n }\n }\n }, t.prototype.componentDidMount = function () {\n var e,\n t = this;\n this.mounted = !0, this.asServer && (this.asServer = !1, this.updateState(function (e) {\n e.isBrowser = !0, e.isServer = !1;\n })), Builder.isIframe && (null === (e = window.parent) || void 0 === e || e.postMessage({\n type: \"builder.sdkInjected\",\n data: {\n modelName: this.name\n }\n }, \"*\")), Builder.isBrowser && (window.addEventListener(\"resize\", this.resizeListener), Builder.isEditing && window.addEventListener(\"message\", this.messageListener), (Builder.isEditing || Builder.isPreviewing) && Builder.nextTick(function () {\n t.firstLoad = !1, t.reload();\n }), setTimeout(function () {\n window.dispatchEvent(new CustomEvent(\"builder:component:load\", {\n detail: {\n ref: t\n }\n }));\n }));\n }, Object.defineProperty(t.prototype, \"isPreviewing\", {\n get: function get() {\n return (Builder.isServer || Builder.isBrowser && Builder.isPreviewing && !this.firstLoad) && builder.previewingModel === this.name;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.notifyStateChange = function () {\n if (!Builder.isServer && this && this.state) {\n var e = this.state.state;\n this.props.onStateChange && this.props.onStateChange(e), Builder.isBrowser && window.dispatchEvent(new CustomEvent(\"builder:component:stateChange\", {\n detail: {\n state: e,\n ref: this\n }\n })), this.onStateChange.next(e);\n }\n }, t.prototype.processStateFromApi = function (e) {\n return e;\n }, Object.defineProperty(t.prototype, \"location\", {\n get: function get() {\n return this.props.location || (Builder.isBrowser ? location : {});\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.getCssFromFont = function (e, t) {\n var n = e.family + (e.kind && !e.kind.includes(\"#\") ? \", \" + e.kind : \"\"),\n i = n.split(\",\")[0],\n r = e.fileUrl ? e.fileUrl : e.files && e.files.regular,\n o = \"\";\n if (r && n && i && (o += '\\n@font-face {\\n font-family: \"'.concat(n, '\";\\n src: local(\"').concat(i, \"\\\"), url('\").concat(r, \"') format('woff2');\\n font-display: fallback;\\n font-weight: 400;\\n}\\n \").trim()), e.files) for (var a in e.files) {\n if (String(Number(a)) === a) {\n var s = e.files[a];\n s && s !== r && (o += '\\n@font-face {\\n font-family: \"'.concat(n, \"\\\";\\n src: url('\").concat(s, \"') format('woff2');\\n font-display: fallback;\\n font-weight: \").concat(a, \";\\n}\\n \").trim());\n }\n }\n return o;\n }, t.prototype.componentWillUnmount = function () {\n this.unsubscribe(), Builder.isBrowser && (window.removeEventListener(\"resize\", this.resizeListener), window.removeEventListener(\"message\", this.messageListener));\n }, t.prototype.getFontCss = function (e) {\n var t = this;\n return this.builder.allowCustomFonts && (null == e ? void 0 : e.customFonts) && e.customFonts.length && e.customFonts.map(function (n) {\n return t.getCssFromFont(n, e);\n }).join(\" \") || \"\";\n }, t.prototype.ensureFontsLoaded = function (e) {\n if (this.builder.allowCustomFonts && (null == e ? void 0 : e.customFonts) && Array.isArray(e.customFonts)) for (var t = 0, n = e.customFonts; t < n.length; t++) {\n var i = n[t],\n r = i.fileUrl ? i.fileUrl : i.files && i.files.regular;\n if (!fontsLoaded.has(r)) {\n var o = this.getCssFromFont(i, e);\n if (fontsLoaded.add(r), !o) continue;\n var a = document.createElement(\"style\");\n a.className = \"builder-custom-font\", a.setAttribute(\"data-builder-custom-font\", r), a.innerHTML = o, document.head.appendChild(a);\n }\n }\n }, t.prototype.getCss = function (e) {\n var t,\n n = null === (t = this.useContent) || void 0 === t ? void 0 : t.id,\n i = (null == e ? void 0 : e.cssCode) || \"\";\n return n && (i = i.replace(/&/g, \".builder-component-\".concat(n))), i + this.getFontCss(e);\n }, Object.defineProperty(t.prototype, \"data\", {\n get: function get() {\n var e,\n t = _assign(_assign(_assign({}, this.inlinedContent && (null === (e = this.inlinedContent.data) || void 0 === e ? void 0 : e.state)), this.externalState), this.state.state);\n return Object.assign(this.rootState, t), t;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.componentDidUpdate = function (e) {\n var t = this;\n this.props.data && e.data !== this.props.data && this.state.update(function (e) {\n Object.assign(e, t.externalState);\n }), Builder.isEditing && this.inlinedContent && e.content !== this.inlinedContent && this.onContentLoaded(this.inlinedContent.data, this.inlinedContent);\n }, t.prototype.checkStyles = function (e) {\n if (this.styleRef) {\n var t = this.getCss(e);\n this.styleRef.innerHTML !== t && (this.styleRef.innerHTML = t);\n }\n }, t.prototype.reload = function () {\n this.setState({\n key: this.state.key + 1\n });\n }, Object.defineProperty(t.prototype, \"content\", {\n get: function get() {\n var e = this.inlinedContent;\n return e && e.content && (e = _assign(_assign({}, e), {\n data: e.content\n })), e;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"externalState\", {\n get: function get() {\n return _assign(_assign({}, this.props.data), this.props.locale ? {\n locale: this.props.locale\n } : {});\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"useContent\", {\n get: function get() {\n return this.content || this.state.context.builderContent;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.render = function () {\n var e,\n t = this,\n n = this.content,\n i = Builder.isBrowser && this.externalState && size$1(this.externalState) && hash(this.externalState),\n r = Builder.isEditing ? this.name : this.props.entry;\n r && !Builder.isEditing && i && i.length < 300 && (r += \":\" + i);\n var o = this.props.dataOnly ? React__default.Fragment : \"div\",\n a = null === (e = this.useContent) || void 0 === e ? void 0 : e.id;\n return React__default.createElement(o, {\n onClick: function onClick(e) {\n !Builder.isEditing || t.props.isChild || t.props.stopClickPropagationWhenEditing || e.stopPropagation();\n },\n className: \"builder-component \".concat(a ? \"builder-component-\".concat(a) : \"\"),\n \"data-name\": this.name,\n \"data-source\": \"Rendered by Builder.io\",\n key: this.state.key,\n ref: function ref(e) {\n return t.ref = e;\n }\n }, React__default.createElement(BuilderMetaContext.Consumer, null, function (e) {\n return React__default.createElement(BuilderMetaContext.Provider, {\n value: \"boolean\" == typeof t.props.ampMode ? _assign(_assign({}, e), {\n ampMode: t.props.ampMode\n }) : e\n }, React__default.createElement(BuilderAsyncRequestsContext.Consumer, null, function (e) {\n var i;\n return t._asyncRequests = e && e.requests, t._errors = e && e.errors, t._logs = e && e.logs, React__default.createElement(BuilderContent, {\n isStatic: t.props.isStatic || Builder.isStatic,\n key: (null === (i = t.inlinedContent) || void 0 === i ? void 0 : i.id) || (\"content\" in t.props && !t.isPreviewing ? \"null-content-prop\" : \"no-content-prop\"),\n builder: t.builder,\n ref: function ref(e) {\n return t.contentRef = e;\n },\n contentLoaded: function contentLoaded(e, n) {\n return t.onContentLoaded(e, n);\n },\n options: _assign(_assign(_assign(_assign(_assign(_assign({\n key: r,\n entry: t.props.entry\n }, n && {\n initialContent: [n]\n }), !n && \"content\" in t.props && !t.isPreviewing && {\n initialContent: []\n }), t.props.url && {\n url: t.props.url\n }), t.props.options), t.props.locale ? {\n locale: t.props.locale\n } : {}), t.options.codegen && {\n format: \"react\"\n }),\n inline: t.props.inlineContent || !t.isPreviewing && \"content\" in t.props,\n contentError: t.props.contentError,\n modelName: t.name || \"page\"\n }, function (e, n, i) {\n var r;\n if (t.props.dataOnly) return null;\n i && i.id && (t.state.breakpoints && (i.meta = i.meta || {}, i.meta.breakpoints = t.state.breakpoints), t.state.context.builderContent = i), Builder.isBrowser && Builder.nextTick(function () {\n t.checkStyles(e);\n });\n var o = t.options.codegen;\n if (o && !t.Component && (null == e ? void 0 : e.blocksJs)) {\n var a = Array.from(new Set(Builder.components.map(function (e) {\n return e.name;\n }))),\n s = Builder.components.slice().reverse(),\n l = a.map(function (e) {\n return s.find(function (t) {\n return t.class && t.name === e;\n });\n }),\n u = a.map(function (e) {\n return (e || \"\").replace(/[^\\w]+/gi, \"\");\n }),\n d = l.map(function (e) {\n return wrapComponent(e);\n });\n t.Component = new (Function.bind.apply(Function, __spreadArray(__spreadArray([void 0, \"jsx\", \"_css\", \"Builder\", \"builder\", \"React\", \"useBuilderState\"], u, !1), [e.blocksJs], !1)))().apply(void 0, __spreadArray([jsx, css, Builder, builder, React__default, function (e) {\n var t = React__default.useState(0)[1];\n return React__default.useState(function () {\n return onChange(e, function () {\n t(function (e) {\n return e + 1;\n });\n });\n })[0];\n }], d, !1));\n }\n var c = (null == e ? void 0 : e.blocks) || [],\n p = c.find(function (e) {\n var t;\n return null === (t = e.id) || void 0 === t ? void 0 : t.startsWith(\"builder-pixel\");\n });\n return e && !p && c.length > 0 && c.push(getBuilderPixel(builder.apiKey)), e ? React__default.createElement(\"div\", _assign({\n \"data-builder-component\": t.name,\n \"data-builder-content-id\": i.id\n }, t.isPreviewing ? {\n \"data-builder-variation-id\": i.testVariationId || i.variationId || i.id\n } : {}), !o && t.getCss(e) && React__default.createElement(\"style\", {\n ref: function ref(e) {\n return t.styleRef = e;\n },\n className: \"builder-custom-styles\",\n dangerouslySetInnerHTML: {\n __html: t.getCss(e)\n }\n }), React__default.createElement(BuilderStoreContext.Provider, {\n value: _assign(_assign({}, t.state), {\n rootState: t.rootState,\n state: t.data,\n content: i,\n renderLink: t.props.renderLink\n })\n }, o && t.Component ? React__default.createElement(t.Component, {\n data: t.data,\n context: t.state.context\n }) : React__default.createElement(BuilderBlocks, {\n key: String(!!(null === (r = null == e ? void 0 : e.blocks) || void 0 === r ? void 0 : r.length)),\n emailMode: t.props.emailMode,\n fieldName: \"blocks\",\n blocks: c\n }))) : n ? React__default.createElement(\"div\", {\n \"data-builder-component\": t.name,\n className: \"builder-loading\"\n }, t.props.children) : React__default.createElement(\"div\", {\n \"data-builder-component\": t.name,\n className: \"builder-no-content\"\n });\n });\n }));\n }));\n }, t.prototype.evalExpression = function (e) {\n var t = this,\n n = this.data;\n return String(e).replace(/{{([^}]+)}}/g, function (e, i) {\n return tryEval(i, n, t._errors);\n });\n }, t.prototype.handleRequest = function (e, t) {\n return __awaiter(this, void 0, void 0, function () {\n var n,\n i,\n r,\n o,\n a = this;\n return __generator(this, function (s) {\n return Builder.isIframe && fetchCache[t] ? (this.updateState(function (n) {\n n[e] = fetchCache[t];\n }), [2, fetchCache[t]]) : (n = function n() {\n return __awaiter(a, void 0, void 0, function () {\n var n, i, r, o;\n return __generator(this, function (a) {\n switch (a.label) {\n case 0:\n n = Date.now(), Builder.isBrowser || console.time(\"Fetch \" + t), a.label = 1;\n case 1:\n return a.trys.push([1, 4, 5, 6]), [4, fetch$1(t)];\n case 2:\n return [4, a.sent().json()];\n case 3:\n return i = a.sent(), [3, 6];\n case 4:\n return r = a.sent(), o = toError(r), this._errors && this._errors.push(o), this._logs && this._logs.push(\"Fetch to \".concat(t, \" errored in \").concat(Date.now() - n, \"ms\")), [2];\n case 5:\n return Builder.isBrowser || (console.timeEnd(\"Fetch \" + t), this._logs && this._logs.push(\"Fetched \".concat(t, \" in \").concat(Date.now() - n, \"ms\"))), [7];\n case 6:\n return i && (Builder.isIframe && (fetchCache[t] = i), this.updateState(function (t) {\n t[e] = i;\n })), [2, i];\n }\n });\n });\n }, (i = this._asyncRequests && this._asyncRequests.find(function (e) {\n return isRequestInfo(e) && e.url === t;\n })) ? ((r = i.promise).then(function (t) {\n t && a.updateState(function (n) {\n n[e] = t;\n });\n }), [2, r]) : (o = n(), Builder.nextTick(function () {\n a._asyncRequests && a._asyncRequests.push(o);\n }), [2, o]));\n });\n });\n }, t.prototype.unsubscribe = function () {\n this.subscriptions && (this.subscriptions.unsubscribe(), this.subscriptions = new Subscription());\n }, t.prototype.handleBuilderRequest = function (e, t) {\n var n = this,\n i = tryEval(t, this.data, this._errors);\n this.subscriptions && this.unsubscribe(), i && this.subscriptions.add(this.builder.queueGetContent(i.model, i).subscribe(function (t) {\n t && n.updateState(function (n) {\n n[e] = t;\n });\n }));\n }, t.defaults = {\n codegen: Boolean(Builder.isBrowser && location.href.includes(\"builder.codegen=true\"))\n }, __decorate([debounceNextTick, __metadata(\"design:type\", Function), __metadata(\"design:paramtypes\", []), __metadata(\"design:returntype\", void 0)], t.prototype, \"notifyStateChange\", null), t;\n}(React__default.Component);\nfunction BuilderBlock(e) {\n return e.type = \"react\", Builder.Component(e);\n}\nfunction updateMetadata(e, t) {\n var n = Builder.components.find(function (t) {\n return \"string\" == typeof e ? t.name === e : t.class === t;\n }) || null,\n i = t(n);\n n && i ? Builder.registerComponent(i.class || n.class, i) : n && !i || !n && i && Builder.registerComponent(i.class, i);\n}\nfunction withBuilder(e, t) {\n return BuilderBlock(t)(e), e;\n}\nvar withChildren = function withChildren(e) {\n var t = React__default.forwardRef(function (t, n) {\n var i = t.children || t.builderBlock && t.builderBlock.children && t.builderBlock.children.map(function (e) {\n return React__default.createElement(BuilderBlock$1, {\n key: e.id,\n block: e\n });\n });\n return React__default.createElement(e, _assign({}, t, {\n ref: n\n }), i);\n });\n return t.builderOptions = {\n canHaveChildren: !0\n }, t;\n },\n noWrap = function noWrap(e) {\n var t = React__default.forwardRef(function (t, n) {\n var i = _assign(_assign({}, t), t.attributes);\n return React__default.createElement(e, _assign({}, i, {\n ref: n\n }));\n });\n return t.builderOptions = {\n noWrap: !0\n }, t;\n },\n iconUrl = \"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\",\n TextComponent = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.textRef = null, t;\n }\n return __extends(t, e), t.prototype.componentDidUpdate = function (e) {\n this.allowTextEdit && (!this.textRef || \"true\" === this.textRef.contentEditable && this.textRef === document.activeElement || this.props.text !== e.text && (this.textRef.innerHTML = this.props.text));\n }, t.prototype.componentDidMount = function () {\n this.textRef && (this.textRef.innerHTML = this.props.text);\n }, t.prototype.evalExpression = function (e, t) {\n return String(e).replace(/{{([^}]+)}}/g, function (e, n) {\n return tryEval(n, t);\n });\n }, Object.defineProperty(t.prototype, \"allowTextEdit\", {\n get: function get() {\n return Builder.isBrowser && Builder.isEditing && location.search.includes(\"builder.allowTextEdit=true\") && !(this.props.builderBlock && this.props.builderBlock.bindings && (this.props.builderBlock.bindings[\"component.options.text\"] || this.props.builderBlock.bindings[\"options.text\"] || this.props.builderBlock.bindings.text));\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.render = function () {\n var e = this,\n t = this.allowTextEdit,\n n = {\n outline: \"none\",\n \"& p:first-of-type, & .builder-paragraph:first-of-type\": {\n margin: 0\n },\n \"& > p, & .builder-paragraph\": {\n color: \"inherit\",\n lineHeight: \"inherit\",\n letterSpacing: \"inherit\",\n fontWeight: \"inherit\",\n fontSize: \"inherit\",\n textAlign: \"inherit\",\n fontFamily: \"inherit\"\n }\n };\n return jsx(BuilderStoreContext.Consumer, null, function (i) {\n var r;\n return (null === (r = i.content.meta) || void 0 === r ? void 0 : r.rtlMode) && (n.direction = \"rtl\"), jsx(React__default.Fragment, null, jsx(\"span\", _assign({\n ref: function ref(t) {\n e.textRef = t;\n },\n contentEditable: t || void 0,\n onInput: function onInput(n) {\n var i;\n t && (null === (i = window.parent) || void 0 === i || i.postMessage({\n type: \"builder.textEdited\",\n data: {\n id: e.props.builderBlock && e.props.builderBlock.id,\n value: n.currentTarget.innerHTML\n }\n }, \"*\"));\n },\n onKeyDown: function onKeyDown(n) {\n t && e.textRef && 27 === n.which && document.activeElement === e.textRef && e.textRef.blur();\n },\n onFocus: function onFocus(n) {\n var i;\n t && (null === (i = window.parent) || void 0 === i || i.postMessage({\n type: \"builder.textFocused\",\n data: {\n id: e.props.builderBlock && e.props.builderBlock.id\n }\n }, \"*\"));\n },\n onBlur: function onBlur(n) {\n var i;\n t && (null === (i = window.parent) || void 0 === i || i.postMessage({\n type: \"builder.textBlurred\",\n data: {\n id: e.props.builderBlock && e.props.builderBlock.id\n }\n }, \"*\"));\n },\n css: n,\n className: \"builder-text\"\n }, !t && {\n dangerouslySetInnerHTML: {\n __html: e.evalExpression(e.props.text || e.props.content || \"\", i.state)\n }\n })));\n });\n }, t;\n }(React__default.Component),\n Text = withBuilder(TextComponent, {\n name: \"Text\",\n static: !0,\n image: iconUrl,\n inputs: [{\n name: \"text\",\n type: \"html\",\n required: !0,\n autoFocus: !0,\n bubble: !0,\n defaultValue: \"Enter some text...\"\n }],\n defaultStyles: {\n lineHeight: \"normal\",\n height: \"auto\",\n textAlign: \"center\"\n }\n });\nfunction Slot(e) {\n var t = e.name,\n n = useContext(BuilderStoreContext),\n i = !n.context.symbolId;\n return jsx(\"div\", _assign({\n css: {\n pointerEvents: \"auto\"\n }\n }, i && {\n \"builder-slot\": t\n }), jsx(BuilderBlocks, {\n child: !0,\n parentElementId: n.context.symbolId,\n dataPath: \"symbol.data.\".concat(t),\n blocks: n.state[t] || []\n }));\n}\nBuilder.registerComponent(Slot, {\n name: \"Slot\",\n description: \"Allow child blocks to be inserted into this content when used as a Symbol\",\n docsLink: \"https://www.builder.io/c/docs/symbols-with-blocks\",\n image: \"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56\",\n inputs: [{\n name: \"name\",\n type: \"string\",\n required: !0,\n defaultValue: \"children\"\n }]\n});\nvar FragmentComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n return this.props.builderBlock && this.props.builderBlock.children && this.props.builderBlock.children.map(function (e, t) {\n return React__default.createElement(BuilderBlock$1, {\n block: e,\n key: e.id,\n index: t\n });\n });\n }, t;\n }(React__default.Component),\n Fragment = withBuilder(FragmentComponent, {\n name: \"Core:Fragment\",\n canHaveChildren: !0,\n noWrap: !0,\n static: !0,\n hideFromInsertMenu: !0\n }),\n DEFAULT_ASPECT_RATIO$2 = .7004048582995948,\n defaultBlocks = [{\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n flexShrink: \"0\",\n position: \"relative\",\n marginTop: \"30px\",\n textAlign: \"center\",\n lineHeight: \"normal\",\n height: \"auto\",\n minHeight: \"20px\",\n minWidth: \"20px\",\n overflow: \"hidden\"\n }\n },\n component: {\n name: \"Image\",\n options: {\n image: \"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d\",\n backgroundPosition: \"center\",\n backgroundSize: \"cover\",\n aspectRatio: DEFAULT_ASPECT_RATIO$2\n }\n }\n }, {\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n flexShrink: \"0\",\n position: \"relative\",\n marginTop: \"30px\",\n textAlign: \"center\",\n lineHeight: \"normal\",\n height: \"auto\"\n }\n },\n component: {\n name: \"Text\",\n options: {\n text: \"

Enter some text...

\"\n }\n }\n }],\n ColumnsComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"columns\", {\n get: function get() {\n return this.props.columns || [];\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"gutterSize\", {\n get: function get() {\n return \"number\" == typeof this.props.space ? this.props.space || 0 : 20;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.getWidth = function (e) {\n return this.columns[e] && this.columns[e].width || 100 / this.columns.length;\n }, t.prototype.getColumnWidth = function (e) {\n var t = this.columns,\n n = this.gutterSize * (t.length - 1) / t.length;\n return \"calc(\".concat(this.getWidth(e), \"% - \").concat(n, \"px)\");\n }, t.prototype.render = function () {\n var e,\n t,\n n,\n i,\n r = this,\n o = this.columns,\n a = this.gutterSize,\n s = (null === (i = null === (n = null === (t = this.props.builderState) || void 0 === t ? void 0 : t.context.builderContent) || void 0 === n ? void 0 : n.meta) || void 0 === i ? void 0 : i.breakpoints) || {},\n l = getSizesForBreakpoints(s);\n return jsx(React__default.Fragment, null, jsx(\"div\", {\n className: \"builder-columns\",\n css: _assign({\n display: \"flex\"\n }, \"never\" !== this.props.stackColumnsAt && (e = {}, e[\"@media (max-width: \".concat(\"tablet\" !== this.props.stackColumnsAt ? l.small.max : l.medium.max, \"px)\")] = {\n flexDirection: this.props.reverseColumnsWhenStacked ? \"column-reverse\" : \"column\",\n alignItems: \"stretch\"\n }, e))\n }, o.map(function (e, t) {\n var n,\n i,\n o = e.link ? Link : \"div\";\n return jsx(React__default.Fragment, {\n key: t\n }, jsx(o, _assign({\n className: \"builder-column\"\n }, e.link ? {\n href: e.link\n } : null, {\n css: _assign((n = {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n lineHeight: \"normal\"\n }, n[\"& > .builder-blocks\"] = {\n flexGrow: 1\n }, n.width = r.getColumnWidth(t), n.marginLeft = 0 === t ? 0 : a, n), \"never\" !== r.props.stackColumnsAt && (i = {}, i[\"@media (max-width: \".concat(\"tablet\" !== r.props.stackColumnsAt ? l.small.max : l.medium.max, \"px)\")] = {\n width: \"100%\",\n marginLeft: 0\n }, i))\n }), jsx(BuilderBlocks, {\n key: t,\n child: !0,\n parentElementId: r.props.builderBlock && r.props.builderBlock.id,\n blocks: e.blocks,\n dataPath: \"component.options.columns.\".concat(t, \".blocks\")\n })));\n })));\n }, t;\n }(React__default.Component),\n Columns = withBuilder(ColumnsComponent, {\n name: \"Columns\",\n static: !0,\n inputs: [{\n name: \"columns\",\n type: \"array\",\n broadcast: !0,\n subFields: [{\n name: \"blocks\",\n type: \"array\",\n hideFromUI: !0,\n defaultValue: defaultBlocks\n }, {\n name: \"width\",\n type: \"number\",\n hideFromUI: !0,\n helperText: \"Width %, e.g. set to 50 to fill half of the space\"\n }, {\n name: \"link\",\n type: \"url\",\n helperText: \"Optionally set a url that clicking this column will link to\"\n }],\n defaultValue: [{\n blocks: defaultBlocks\n }, {\n blocks: defaultBlocks\n }],\n onChange: function onChange(e) {\n function t() {\n n.forEach(function (e) {\n e.delete(\"width\");\n });\n }\n var n = e.get(\"columns\");\n Array.isArray(n) && (!n.find(function (e) {\n return e.get(\"width\");\n }) || (n.find(function (e) {\n return !e.get(\"width\");\n }) || 100 !== n.reduce(function (e, t) {\n return e + t.get(\"width\");\n }, 0)) && t());\n }\n }, {\n name: \"space\",\n type: \"number\",\n defaultValue: 20,\n helperText: \"Size of gap between columns\",\n advanced: !0\n }, {\n name: \"stackColumnsAt\",\n type: \"string\",\n defaultValue: \"tablet\",\n helperText: \"Convert horizontal columns to vertical at what device size\",\n enum: [\"tablet\", \"mobile\", \"never\"],\n advanced: !0\n }, {\n name: \"reverseColumnsWhenStacked\",\n type: \"boolean\",\n defaultValue: !1,\n helperText: \"When stacking columns for mobile devices, reverse the ordering\",\n advanced: !0\n }]\n }),\n EmbedComponent = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.elementRef = null, t.scriptsInserted = new Set(), t.scriptsRun = new Set(), t;\n }\n return __extends(t, e), t.prototype.componentDidUpdate = function (e) {\n this.props.content !== e.content && this.findAndRunScripts();\n }, t.prototype.componentDidMount = function () {\n this.findAndRunScripts();\n }, t.prototype.findAndRunScripts = function () {\n if (this.elementRef && \"undefined\" != typeof window) for (var e = this.elementRef.getElementsByTagName(\"script\"), t = 0; t < e.length; t++) {\n var n = e[t];\n if (n.src) {\n if (this.scriptsInserted.has(n.src)) continue;\n this.scriptsInserted.add(n.src);\n var i = document.createElement(\"script\");\n i.async = !0, i.src = n.src, document.head.appendChild(i);\n } else {\n if (this.scriptsRun.has(n.innerText)) continue;\n this.scriptsRun.add(n.innerText);\n try {\n new Function(n.innerText)();\n } catch (e) {\n console.warn(\"Builder custom code component error:\", e);\n }\n }\n }\n }, Object.defineProperty(t.prototype, \"content\", {\n get: function get() {\n return Builder.isServer ? (this.props.content || \"\").replace(//g, \"\") : this.props.content;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.render = function () {\n var e = this;\n return React__default.createElement(\"div\", {\n ref: function ref(t) {\n return e.elementRef = t;\n },\n className: \"builder-embed\",\n dangerouslySetInnerHTML: {\n __html: this.content\n }\n });\n }, t;\n }(React__default.Component),\n Embed = withBuilder(EmbedComponent, {\n name: \"Embed\",\n static: !0,\n inputs: [{\n name: \"url\",\n type: \"url\",\n required: !0,\n defaultValue: \"\",\n helperText: \"e.g. enter a youtube url, google map, etc\",\n onChange: function onChange(e) {\n var t = e.get(\"url\");\n if (t) {\n e.set(\"content\", \"Loading...\");\n return fetch(\"https://iframe.ly/api/iframely?url=\".concat(t, \"&api_key=\").concat(\"ae0e60e78201a3f2b0de4b\")).then(function (e) {\n return e.json();\n }).then(function (n) {\n e.get(\"url\") === t && (n.html ? e.set(\"content\", n.html) : e.set(\"content\", \"Invalid url, please try another\"));\n }).catch(function (t) {\n e.set(\"content\", \"There was an error embedding this URL, please try again or another URL\");\n });\n }\n e.delete(\"content\");\n }\n }, {\n name: \"content\",\n type: \"html\",\n defaultValue: '
(Choose an embed URL)
',\n hideFromUI: !0\n }]\n }),\n globalReplaceNodes = {} || null,\n isShopify$1 = Builder.isBrowser && \"Shopify\" in window;\nif (Builder.isBrowser && globalReplaceNodes) {\n var customCodeQuerySelector_1 = \".builder-custom-code\";\n try {\n var allCustomCodeElements_1 = Array.from(document.querySelectorAll(customCodeQuerySelector_1)),\n builderTemplates = document.querySelectorAll(\"template[data-template-variant-id]\");\n builderTemplates.length && Array.from(builderTemplates).forEach(function (e) {\n var t = e.content.querySelectorAll(customCodeQuerySelector_1);\n t.length && (allCustomCodeElements_1 = allCustomCodeElements_1.concat(Array.from(t)));\n }), allCustomCodeElements_1.forEach(function (e) {\n var t = e.parentElement,\n n = t && t.getAttribute(\"builder-id\");\n n && (globalReplaceNodes[n] = globalReplaceNodes[n] || [], globalReplaceNodes[n].push(isShopify$1 ? e : e.cloneNode(!0)));\n });\n } catch (e) {\n console.error(\"Builder replace nodes error:\", e);\n }\n}\nvar CustomCodeComponent = function (e) {\n function t(t) {\n var n,\n i = this;\n if ((i = e.call(this, t) || this).elementRef = null, i.originalRef = null, i.scriptsInserted = new Set(), i.scriptsRun = new Set(), i.firstLoad = !0, i.replaceNodes = !1, i.state = {\n hydrated: !1\n }, Builder.isBrowser) {\n var r = null === (n = i.props.builderBlock) || void 0 === n ? void 0 : n.id;\n if (i.replaceNodes = Boolean(Builder.isBrowser && (t.replaceNodes || isShopify$1) && r && (null == globalReplaceNodes ? void 0 : globalReplaceNodes[r])), i.firstLoad && i.props.builderBlock) if (r && (null == globalReplaceNodes ? void 0 : globalReplaceNodes[r])) {\n var o = globalReplaceNodes[r].shift() || null;\n i.originalRef = o, 0 === globalReplaceNodes[r].length && delete globalReplaceNodes[r];\n } else if (i.replaceNodes) {\n var a = document.querySelectorAll(\".\".concat(i.props.builderBlock.id, \" .builder-custom-code\"));\n if (1 === a.length) {\n var s = a[0];\n i.originalRef = s, i.originalRef.remove();\n }\n }\n }\n return i;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"noReactRender\", {\n get: function get() {\n var e;\n return Boolean(isShopify$1 && (null === (e = this.props.code) || void 0 === e ? void 0 : e.match(/{[{%]/g)));\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(t.prototype, \"isHydrating\", {\n get: function get() {\n return !isShopify$1 && this.originalRef;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.componentDidUpdate = function (e) {\n this.props.code !== e.code && this.findAndRunScripts();\n }, t.prototype.componentDidMount = function () {\n var e = this;\n this.firstLoad = !1, this.replaceNodes || (this.isHydrating ? (this.setState({\n hydrated: !0\n }), Builder.nextTick(function () {\n return e.findAndRunScripts();\n })) : this.findAndRunScripts()), Builder.isBrowser && this.replaceNodes && this.originalRef && this.elementRef && this.elementRef.appendChild(this.originalRef);\n }, t.prototype.findAndRunScripts = function () {\n if (this.elementRef && \"undefined\" != typeof window) for (var e = this.elementRef.getElementsByTagName(\"script\"), t = 0; t < e.length; t++) {\n var n = e[t];\n if (n.src) {\n if (this.scriptsInserted.has(n.src)) continue;\n this.scriptsInserted.add(n.src);\n var i = document.createElement(\"script\");\n i.async = !0, i.src = n.src, document.head.appendChild(i);\n } else if (!n.type || [\"text/javascript\", \"application/javascript\", \"application/ecmascript\"].includes(n.type)) {\n if (this.scriptsRun.has(n.innerText)) continue;\n try {\n this.scriptsRun.add(n.innerText), new Function(n.innerText)();\n } catch (e) {\n console.warn(\"Builder custom code component error:\", e);\n }\n }\n }\n }, Object.defineProperty(t.prototype, \"code\", {\n get: function get() {\n return (Builder.isServer || this.isHydrating && this.firstLoad) && this.props.scriptsClientOnly ? (this.props.code || \"\").replace(/)<[^<]*)*<\\/script>/gi, \"\") : this.props.code;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.render = function () {\n var e = this;\n return React__default.createElement(\"div\", _assign({\n ref: function ref(t) {\n return e.elementRef = t;\n },\n className: \"builder-custom-code\"\n }, !this.replaceNodes && !this.noReactRender && {\n dangerouslySetInnerHTML: {\n __html: this.code\n }\n }));\n }, t;\n }(React__default.Component),\n CustomCode = withBuilder(CustomCodeComponent, {\n name: \"Custom Code\",\n static: !0,\n requiredPermissions: [\"editCode\"],\n inputs: [{\n name: \"code\",\n type: \"html\",\n required: !0,\n defaultValue: \"

Hello there, I am custom HTML code!

\",\n code: !0\n }, _assign({\n name: \"replaceNodes\",\n type: \"boolean\",\n helperText: \"Preserve server rendered dom nodes\",\n advanced: !0\n }, isShopify$1 && {\n defaultValue: !0\n }), _assign({\n name: \"scriptsClientOnly\",\n type: \"boolean\",\n helperText: \"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads\",\n advanced: !0\n }, !isShopify$1 && {\n defaultValue: !0\n })]\n });\nfunction removeProtocol(e) {\n return e.replace(/http(s)?:/, \"\");\n}\nfunction isElementInViewport(e) {\n var t = e.getBoundingClientRect();\n return t.top >= 0 && t.left >= 0 && t.bottom <= (window.innerHeight || document.documentElement.clientHeight) && t.right <= (window.innerWidth || document.documentElement.clientWidth);\n}\nfunction getShopifyImageUrl(e, t) {\n if (!e || !(null == e ? void 0 : e.match(/cdn\\.shopify\\.com/)) || !t) return e;\n if (\"master\" === t) return removeProtocol(e);\n var n = e.match(/(_\\d+x(\\d+)?)?(\\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\\?v=\\d+)?)/i);\n if (n) {\n var i = e.split(n[0]),\n r = n[3],\n o = t.match(\"x\") ? t : \"\".concat(t, \"x\");\n return removeProtocol(\"\".concat(i[0], \"_\").concat(o).concat(r));\n }\n return null;\n}\nvar DEFAULT_ASPECT_RATIO$1 = .7041;\nfunction updateQueryParam(e, t, n) {\n void 0 === e && (e = \"\");\n var i = new RegExp(\"([?&])\" + t + \"=.*?(&|$)\", \"i\"),\n r = -1 !== e.indexOf(\"?\") ? \"&\" : \"?\";\n return e.match(i) ? e.replace(i, \"$1\" + t + \"=\" + encodeURIComponent(n) + \"$2\") : e + r + t + \"=\" + encodeURIComponent(n);\n}\nfunction getSrcSet(e) {\n if (!e) return e;\n var t = [100, 200, 400, 800, 1200, 1600, 2e3];\n if (e.match(/builder\\.io/)) {\n var n = e,\n i = Number(e.split(\"?width=\")[1]);\n return isNaN(i) || (n = \"\".concat(n, \" \").concat(i, \"w\")), t.filter(function (e) {\n return e !== i;\n }).map(function (t) {\n return \"\".concat(updateQueryParam(e, \"width\", t), \" \").concat(t, \"w\");\n }).concat([n]).join(\", \");\n }\n return e.match(/cdn\\.shopify\\.com/) ? t.map(function (t) {\n return [getShopifyImageUrl(e, \"\".concat(t, \"x\").concat(t)), t];\n }).filter(function (e) {\n return !!e[0];\n }).map(function (e) {\n var t = e[0],\n n = e[1];\n return \"\".concat(t, \" \").concat(n, \"w\");\n }).concat([e]).join(\", \") : e;\n}\nvar getSizes = function getSizes(e, t, n) {\n var i, r, o, a, s, l, u, d;\n void 0 === n && (n = {});\n var c = \"\";\n if (e) {\n var p = e.split(\",\"),\n f = p.length;\n c = p.map(function (e, t) {\n return f === t + 1 ? e.replace(/\\([\\s\\S]*?\\)/g, \"\").trim() : e;\n }).join(\", \");\n } else if (t && t.responsiveStyles) {\n var m = [],\n h = !1,\n g = /^\\d+/,\n v = getSizesForBreakpoints(n);\n if (null === (o = null === (r = null === (i = t.responsiveStyles) || void 0 === i ? void 0 : i.small) || void 0 === r ? void 0 : r.width) || void 0 === o ? void 0 : o.match(g)) {\n h = !0;\n var b = \"(max-width: \".concat(v.small.max, \"px)\"),\n y = \"\".concat(b, \" \").concat(t.responsiveStyles.small.width.replace(\"%\", \"vw\"));\n m.push(y);\n }\n if (null === (l = null === (s = null === (a = t.responsiveStyles) || void 0 === a ? void 0 : a.medium) || void 0 === s ? void 0 : s.width) || void 0 === l ? void 0 : l.match(g)) {\n h = !0;\n b = \"(max-width: \".concat(v.medium.max, \"px)\"), y = \"\".concat(b, \" \").concat(t.responsiveStyles.medium.width.replace(\"%\", \"vw\"));\n m.push(y);\n }\n if (null === (d = null === (u = t.responsiveStyles) || void 0 === u ? void 0 : u.large) || void 0 === d ? void 0 : d.width) {\n var _ = t.responsiveStyles.large.width.replace(\"%\", \"vw\");\n m.push(_);\n } else h && m.push(\"100vw\");\n m.length && (c = m.join(\", \"));\n }\n return c;\n },\n ImageComponent = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.state = {\n imageLoaded: !t.useLazyLoading,\n load: !t.useLazyLoading\n }, t.pictureRef = null, t.scrollListener = null, t.intersectionObserver = null, t;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"useLazyLoading\", {\n get: function get() {\n return (!Builder.isBrowser || !location.search.includes(\"builder.lazyLoadImages=false\")) && (!(!Builder.isBrowser || !location.href.includes(\"builder.lazyLoadImages=true\")) || this.props.lazy);\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.componentWillUnmount = function () {\n Builder.isBrowser && (this.scrollListener && (window.removeEventListener(\"scroll\", this.scrollListener), this.scrollListener = null), this.intersectionObserver && this.pictureRef && this.intersectionObserver.unobserve(this.pictureRef));\n }, t.prototype.componentDidMount = function () {\n var e = this;\n if (this.props.lazy && Builder.isBrowser) if (this.pictureRef && isElementInViewport(this.pictureRef)) this.setState({\n load: !0\n });else if (\"function\" == typeof IntersectionObserver && this.pictureRef) {\n (this.intersectionObserver = new IntersectionObserver(function (t, n) {\n t.forEach(function (t) {\n t.intersectionRatio > 0 && (e.setState({\n load: !0\n }), e.pictureRef && n.unobserve(e.pictureRef));\n });\n })).observe(this.pictureRef);\n } else {\n var t = throttle(function (n) {\n if (e.pictureRef) {\n var i = e.pictureRef.getBoundingClientRect(),\n r = window.innerHeight / 2;\n i.top < window.innerHeight + r && (e.setState(_assign(_assign({}, e.state), {\n load: !0\n })), window.removeEventListener(\"scroll\", t), e.scrollListener = null);\n }\n }, 400, {\n leading: !1,\n trailing: !0\n });\n this.scrollListener = t, window.addEventListener(\"scroll\", t, {\n capture: !0,\n passive: !0\n }), t();\n }\n }, Object.defineProperty(t.prototype, \"image\", {\n get: function get() {\n return this.props.image || this.props.src;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.getSrcSet = function () {\n var e = this.image;\n if (e && (e.match(/builder\\.io/) || e.match(/cdn\\.shopify\\.com/))) return getSrcSet(e);\n }, t.prototype.render = function () {\n var e,\n t,\n n = this,\n i = this.props,\n r = i.aspectRatio,\n o = i.lazy,\n a = i.builderBlock,\n s = i.builderState,\n l = this.props.builderBlock && this.props.builderBlock.children,\n u = this.props.srcset,\n d = getSizes(this.props.sizes, a, (null === (t = null === (e = null == s ? void 0 : s.context.builderContent) || void 0 === e ? void 0 : e.meta) || void 0 === t ? void 0 : t.breakpoints) || {}),\n c = this.image;\n u && c && c.includes(\"builder.io/api/v1/image\") ? u.includes(c.split(\"?\")[0]) || (console.debug(\"Removed given srcset\"), u = this.getSrcSet()) : c && !u && (u = this.getSrcSet());\n var p = null == a ? void 0 : a.id.startsWith(\"builder-pixel-\"),\n f = this.props.fitContent;\n return jsx(BuilderMetaContext.Consumer, null, function (e) {\n var t,\n i = e.ampMode,\n a = i ? \"amp-img\" : \"img\",\n s = (!o || n.state.load || i) && jsx(a, _assign({}, i ? {\n layout: \"responsive\",\n height: n.props.height || (r ? Math.round(1e3 * r) : void 0),\n width: n.props.width || (r ? Math.round(1e3 / r) : void 0)\n } : null, {\n alt: n.props.altText,\n key: Builder.isEditing && \"string\" == typeof n.image && n.image.split(\"?\")[0] || void 0,\n role: n.props.altText ? void 0 : \"presentation\",\n css: _assign(_assign({\n opacity: i ? 1 : n.useLazyLoading && !n.state.imageLoaded ? 0 : 1,\n transition: \"opacity 0.2s ease-in-out\",\n objectFit: n.props.backgroundSize || \"cover\",\n objectPosition: n.props.backgroundPosition || \"center\"\n }, r && !i && {\n position: \"absolute\",\n height: \"100%\",\n width: \"100%\",\n left: 0,\n top: 0\n }), i && (t = {}, t[\"& img\"] = {\n objectFit: n.props.backgroundSize,\n objectPosition: n.props.backgroundPosition\n }, t)),\n loading: p ? \"eager\" : \"lazy\",\n className: \"builder-image\" + (n.props.className ? \" \" + n.props.className : \"\"),\n src: n.image\n }, !i && {\n onLoad: function onLoad() {\n return n.setState({\n imageLoaded: !0\n });\n }\n }, {\n srcSet: u,\n sizes: !i && d ? d : void 0\n }));\n return jsx(React__default.Fragment, null, i ? s : jsx(\"picture\", {\n ref: function ref(e) {\n return n.pictureRef = e;\n }\n }, u && u.match(/builder\\.io/) && !n.props.noWebp && jsx(\"source\", {\n srcSet: u.replace(/\\?/g, \"?format=webp&\"),\n type: \"image/webp\"\n }), s), !r || i || f && l && l.length ? null : jsx(\"div\", {\n className: \"builder-image-sizer\",\n css: {\n width: \"100%\",\n paddingTop: 100 * r + \"%\",\n pointerEvents: \"none\",\n fontSize: 0\n }\n }, \" \"), l && l.length ? f ? l.map(function (e, t) {\n return jsx(BuilderBlock$1, {\n key: e.id,\n block: e\n });\n }) : jsx(\"div\", {\n css: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\"\n }\n }, l.map(function (e, t) {\n return jsx(BuilderBlock$1, {\n key: e.id,\n block: e\n });\n })) : null);\n });\n }, t;\n }(React__default.Component),\n Image = withBuilder(ImageComponent, {\n name: \"Image\",\n static: !0,\n 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\",\n defaultStyles: {\n position: \"relative\",\n minHeight: \"20px\",\n minWidth: \"20px\",\n overflow: \"hidden\"\n },\n canHaveChildren: !0,\n inputs: [{\n name: \"image\",\n type: \"file\",\n bubble: !0,\n allowedFileTypes: [\"jpeg\", \"jpg\", \"png\", \"svg\"],\n required: !0,\n defaultValue: \"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a\",\n onChange: function onChange(e) {\n e.delete(\"srcset\"), e.delete(\"noWebp\");\n var t,\n n,\n i = e.get(\"image\"),\n r = e.get(\"aspectRatio\");\n if (fetch(i).then(function (e) {\n return e.blob();\n }).then(function (t) {\n t.type.includes(\"svg\") && e.set(\"noWebp\", !0);\n }), i && (!r || .7041 === r)) return (t = i, void 0 === n && (n = 6e4), new Promise(function (e, i) {\n var r = document.createElement(\"img\"),\n o = !1;\n r.onload = function () {\n o = !0, e(r);\n }, r.addEventListener(\"error\", function (e) {\n console.warn(\"Image load failed\", e.error), i(e.error);\n }), r.src = t, setTimeout(function () {\n o || i(new Error(\"Image load timed out\"));\n }, n);\n })).then(function (t) {\n var n,\n r = e.get(\"aspectRatio\");\n e.get(\"image\") !== i || r && .7041 !== r || t.width && t.height && (e.set(\"aspectRatio\", (n = t.height / t.width, Math.round(1e3 * n) / 1e3)), e.set(\"height\", t.height), e.set(\"width\", t.width));\n });\n }\n }, {\n name: \"backgroundSize\",\n type: \"text\",\n defaultValue: \"cover\",\n enum: [{\n label: \"contain\",\n value: \"contain\",\n helperText: \"The image should never get cropped\"\n }, {\n label: \"cover\",\n value: \"cover\",\n helperText: \"The image should fill its box, cropping when needed\"\n }]\n }, {\n name: \"backgroundPosition\",\n type: \"text\",\n defaultValue: \"center\",\n enum: [\"center\", \"top\", \"left\", \"right\", \"bottom\", \"top left\", \"top right\", \"bottom left\", \"bottom right\"]\n }, {\n name: \"altText\",\n type: \"string\",\n helperText: \"Text to display when the user has images off\"\n }, {\n name: \"height\",\n type: \"number\",\n hideFromUI: !0\n }, {\n name: \"width\",\n type: \"number\",\n hideFromUI: !0\n }, {\n name: \"sizes\",\n type: \"string\",\n hideFromUI: !0\n }, {\n name: \"srcset\",\n type: \"string\",\n hideFromUI: !0\n }, {\n name: \"lazy\",\n type: \"boolean\",\n defaultValue: !0,\n hideFromUI: !0\n }, {\n name: \"fitContent\",\n type: \"boolean\",\n helperText: \"When child blocks are provided, fit to them instead of using the image's aspect ratio\",\n defaultValue: !0\n }, {\n name: \"aspectRatio\",\n type: \"number\",\n 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\",\n advanced: !0,\n defaultValue: DEFAULT_ASPECT_RATIO$1\n }]\n }),\n DEFAULT_ASPECT_RATIO = .7004048582995948,\n VideoComponent = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.video = null, t.containerRef = null, t.scrollListener = null, t.state = {\n load: !t.lazyLoad\n }, t;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"lazyLoad\", {\n get: function get() {\n return !1 !== this.props.lazyLoad;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.updateVideo = function () {\n var e = this,\n t = this.video;\n if (t) {\n [\"muted\", \"playsInline\", \"autoPlay\"].forEach(function (n) {\n var i = n.toLowerCase();\n e.props[n] ? t.setAttribute(i, i) : t.removeAttribute(i);\n });\n }\n }, t.prototype.componentDidUpdate = function () {\n this.updateVideo();\n }, t.prototype.componentDidMount = function () {\n var e = this;\n if (this.updateVideo(), this.lazyLoad && Builder.isBrowser) {\n var t = throttle(function (n) {\n if (e.containerRef) {\n var i = e.containerRef.getBoundingClientRect(),\n r = window.innerHeight / 2;\n i.top < window.innerHeight + r && (e.setState(function (e) {\n return _assign(_assign({}, e), {\n load: !0\n });\n }), window.removeEventListener(\"scroll\", t), e.scrollListener = null);\n }\n }, 400, {\n leading: !1,\n trailing: !0\n });\n this.scrollListener = t, window.addEventListener(\"scroll\", t, {\n capture: !0,\n passive: !0\n }), t();\n }\n }, t.prototype.componentWillUnmount = function () {\n Builder.isBrowser && this.scrollListener && (window.removeEventListener(\"scroll\", this.scrollListener), this.scrollListener = null);\n }, t.prototype.render = function () {\n var e = this,\n t = this.props,\n n = t.aspectRatio,\n i = t.children;\n return jsx(\"div\", {\n ref: function ref(t) {\n return e.containerRef = t;\n },\n css: {\n position: \"relative\"\n }\n }, jsx(\"video\", {\n key: this.props.video || \"no-src\",\n poster: this.props.posterImage,\n ref: function ref(t) {\n return e.video = t;\n },\n autoPlay: this.props.autoPlay,\n muted: this.props.muted,\n controls: this.props.controls,\n loop: this.props.loop,\n className: \"builder-video\",\n css: _assign({\n width: \"100%\",\n height: \"100%\",\n objectFit: this.props.fit,\n objectPosition: this.props.position,\n zIndex: 2,\n borderRadius: 1\n }, n ? {\n position: \"absolute\"\n } : null)\n }, (!this.lazyLoad || this.state.load) && jsx(\"source\", {\n type: \"video/mp4\",\n src: this.props.video\n })), !n || this.props.fitContent && i ? null : jsx(\"div\", {\n css: {\n width: \"100%\",\n paddingTop: 100 * n + \"%\",\n pointerEvents: \"none\",\n fontSize: 0\n }\n }), i && this.props.fitContent ? jsx(\"div\", {\n css: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\"\n }\n }, i) : i ? jsx(\"div\", {\n css: {\n pointerEvents: \"none\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\"\n }\n }, i) : null);\n }, t;\n }(React__default.Component),\n Video = Builder.registerComponent(withChildren(VideoComponent), {\n name: \"Video\",\n canHaveChildren: !0,\n defaultStyles: {\n minHeight: \"20px\",\n minWidth: \"20px\"\n },\n 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\",\n inputs: [{\n name: \"video\",\n type: \"file\",\n allowedFileTypes: [\"mp4\"],\n bubble: !0,\n defaultValue: \"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/assets%2FKQlEmWDxA0coC3PK6UvkrjwkIGI2%2F28cb070609f546cdbe5efa20e931aa4b?alt=media&token=912e9551-7a7c-4dfb-86b6-3da1537d1a7f\",\n required: !0\n }, {\n name: \"posterImage\",\n type: \"file\",\n allowedFileTypes: [\"jpeg\", \"png\"],\n helperText: \"Image to show before the video plays\"\n }, {\n name: \"autoPlay\",\n type: \"boolean\",\n defaultValue: !0\n }, {\n name: \"controls\",\n type: \"boolean\",\n defaultValue: !1\n }, {\n name: \"muted\",\n type: \"boolean\",\n defaultValue: !0\n }, {\n name: \"loop\",\n type: \"boolean\",\n defaultValue: !0\n }, {\n name: \"playsInline\",\n type: \"boolean\",\n defaultValue: !0\n }, {\n name: \"fit\",\n type: \"text\",\n defaultValue: \"cover\",\n enum: [\"contain\", \"cover\", \"fill\", \"auto\"]\n }, {\n name: \"fitContent\",\n type: \"boolean\",\n helperText: \"When child blocks are provided, fit to them instead of using the aspect ratio\",\n defaultValue: !0,\n advanced: !0\n }, {\n name: \"position\",\n type: \"text\",\n defaultValue: \"center\",\n enum: [\"center\", \"top\", \"left\", \"right\", \"bottom\", \"top left\", \"top right\", \"bottom left\", \"bottom right\"]\n }, {\n name: \"height\",\n type: \"number\",\n advanced: !0\n }, {\n name: \"width\",\n type: \"number\",\n advanced: !0\n }, {\n name: \"aspectRatio\",\n type: \"number\",\n advanced: !0,\n defaultValue: DEFAULT_ASPECT_RATIO\n }, {\n name: \"lazyLoad\",\n type: \"boolean\",\n helperText: 'Load this video \"lazily\" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',\n defaultValue: !0,\n advanced: !0\n }]\n }),\n size = function size(e) {\n return Object.keys(e).length;\n },\n isShopify = Builder.isBrowser && \"Shopify\" in window,\n refs = {};\nif (Builder.isBrowser) try {\n Array.from(document.querySelectorAll(\"[builder-static-symbol]\")).forEach(function (e) {\n var t = e.getAttribute(\"builder-static-symbol\");\n t && (refs[t] = e);\n });\n} catch (e) {\n console.error(\"Builder replace nodes error:\", e);\n}\nvar SymbolComponent = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.ref = null, t.staticRef = null, t;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"placeholder\", {\n get: function get() {\n return jsx(\"div\", {\n css: {\n padding: 10\n }\n }, \"Symbols let you reuse dynamic elements across your content. Please choose a model and entry for this symbol.\");\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.componentDidMount = function () {\n var e, t, n;\n this.useStatic && this.staticRef && refs[null === (e = this.props.builderBlock) || void 0 === e ? void 0 : e.id] && (null === (t = this.staticRef.parentNode) || void 0 === t || t.replaceChild(refs[null === (n = this.props.builderBlock) || void 0 === n ? void 0 : n.id], this.staticRef));\n }, Object.defineProperty(t.prototype, \"useStatic\", {\n get: function get() {\n var e;\n return Boolean(Builder.isBrowser && refs[null === (e = this.props.builderBlock) || void 0 === e ? void 0 : e.id] && !(Builder.isEditing || Builder.isPreviewing));\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.render = function () {\n var e,\n t = this;\n if (this.useStatic) return jsx(\"div\", {\n ref: function ref(e) {\n return t.staticRef = e;\n }\n });\n var n = this.props.symbol,\n i = !1;\n n || (i = !0);\n var r = this.props.dataOnly ? NoWrap : this.props.builderBlock && this.props.builderBlock.tagName || \"div\",\n o = n || {},\n a = o.model,\n s = o.entry,\n l = o.data,\n u = o.content,\n d = o.inline,\n c = (null == n ? void 0 : n.dynamic) || this.props.dynamic;\n a && (s || c) || (null === (e = null == u ? void 0 : u.data) || void 0 === e ? void 0 : e.blocksJs) || d || (i = !0);\n var p = c ? void 0 : [a, s].join(\":\"),\n f = Builder.isEditing ? null : l && size(l) && hash(l);\n p && f && f.length < 300 && (p += \":\" + f);\n var m = this.props.attributes || {};\n return jsx(BuilderStoreContext.Consumer, {\n key: (a || \"no model\") + \":\" + (s || \"no entry\")\n }, function (e) {\n var o,\n d,\n c,\n f,\n h,\n g,\n v,\n b,\n y,\n _,\n x,\n S = \"\".concat(p, \"_\").concat((null === (o = null == e ? void 0 : e.state) || void 0 === o ? void 0 : o.locale) || \"Default\");\n return jsx(r, _assign({\n \"data-model\": a\n }, m, {\n className: (m.class || m.className || \"\") + \" builder-symbol\" + ((null == n ? void 0 : n.inline) ? \" builder-inline-symbol\" : \"\") + ((null == n ? void 0 : n.dynamic) || t.props.dynamic ? \" builder-dynamic-symbol\" : \"\")\n }), i ? t.placeholder : jsx(BuilderComponent, _assign({}, (null === (d = e.state) || void 0 === d ? void 0 : d.locale) && {\n locale: e.state.locale\n }, {\n isChild: !0,\n ref: function ref(e) {\n return t.ref = e;\n },\n context: _assign(_assign({}, e.context), {\n symbolId: null === (c = t.props.builderBlock) || void 0 === c ? void 0 : c.id\n }),\n modelName: a,\n entry: s,\n data: _assign(_assign(_assign({}, l), !!t.props.inheritState && e.state), null === (y = null === (b = null === (v = null === (g = null === (h = null === (f = t.props.builderBlock) || void 0 === f ? void 0 : f.component) || void 0 === h ? void 0 : h.options) || void 0 === g ? void 0 : g.symbol) || void 0 === v ? void 0 : v.content) || void 0 === b ? void 0 : b.data) || void 0 === y ? void 0 : y.state),\n renderLink: e.renderLink,\n inlineContent: null == n ? void 0 : n.inline\n }, u && {\n content: u\n }, {\n key: S,\n options: {\n key: S,\n noEditorUpdates: !0\n },\n codegen: !!(null === (_ = null == u ? void 0 : u.data) || void 0 === _ ? void 0 : _.blocksJs),\n hydrate: null === (x = e.state) || void 0 === x ? void 0 : x._hydrate,\n builderBlock: t.props.builderBlock,\n dataOnly: t.props.dataOnly\n }), t.props.children));\n });\n }, t;\n }(React__default.Component),\n Symbol$1 = withBuilder(SymbolComponent, {\n name: \"Symbol\",\n noWrap: !0,\n static: !0,\n inputs: [{\n name: \"symbol\",\n type: \"uiSymbol\"\n }, {\n name: \"dataOnly\",\n helperText: \"Make this a data symbol that doesn't display any UI\",\n type: \"boolean\",\n defaultValue: !1,\n advanced: !0,\n hideFromUI: !0\n }, {\n name: \"inheritState\",\n helperText: \"Inherit the parent component state and data\",\n type: \"boolean\",\n defaultValue: isShopify,\n advanced: !0\n }, {\n name: \"renderToLiquid\",\n helperText: \"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting\",\n type: \"boolean\",\n defaultValue: isShopify,\n advanced: !0,\n hideFromUI: !0\n }, {\n name: \"useChildren\",\n hideFromUI: !0,\n type: \"boolean\"\n }]\n }),\n ButtonComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n var e = this.props.link ? Link : \"span\";\n return React__default.createElement(e, _assign({\n role: \"button\",\n href: this.props.link,\n target: this.props.openLinkInNewTab ? \"_blank\" : void 0\n }, this.props.attributes), this.props.text);\n }, t;\n }(React__default.Component),\n Button = withBuilder(ButtonComponent, {\n name: \"Core:Button\",\n image: \"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13\",\n defaultStyles: {\n appearance: \"none\",\n paddingTop: \"15px\",\n paddingBottom: \"15px\",\n paddingLeft: \"25px\",\n paddingRight: \"25px\",\n backgroundColor: \"#000000\",\n color: \"white\",\n borderRadius: \"4px\",\n textAlign: \"center\",\n cursor: \"pointer\"\n },\n inputs: [{\n name: \"text\",\n type: \"text\",\n defaultValue: \"Click me!\",\n bubble: !0\n }, {\n name: \"link\",\n type: \"url\",\n bubble: !0\n }, {\n name: \"openLinkInNewTab\",\n type: \"boolean\",\n defaultValue: !1,\n friendlyName: \"Open link in new tab\"\n }],\n static: !0,\n noWrap: !0\n }),\n SectionComponent = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.ref = null, t.unmountCallbacks = [], t.state = {\n inView: !1\n }, t;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"renderContents\", {\n get: function get() {\n return !0 !== this.props.lazyLoad || this.state.inView;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.componentWillUnmount = function () {\n this.unmountCallbacks.forEach(function (e) {\n return e();\n });\n }, t.prototype.componentDidMount = function () {\n var e = this;\n if (this.props.lazyLoad) if (\"undefined\" != typeof IntersectionObserver && this.ref) {\n var t = new IntersectionObserver(function (t, n) {\n t.forEach(function (t) {\n t.intersectionRatio > 0 && (e.setState({\n inView: !0\n }), e.ref && n.unobserve(e.ref));\n });\n }, {\n rootMargin: \"10px\"\n });\n t.observe(this.ref), this.unmountCallbacks.push(function () {\n e.ref && t.unobserve(e.ref);\n });\n } else this.setState({\n inView: !0\n });\n }, t.prototype.render = function () {\n var e = this;\n return jsx(\"section\", {\n ref: function ref(t) {\n return e.ref = t;\n },\n css: _assign({\n width: \"100%\",\n alignSelf: \"stretch\",\n flexGrow: 1,\n boxSizing: \"border-box\",\n maxWidth: this.props.maxWidth,\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"stretch\",\n marginLeft: \"auto\",\n marginRight: \"auto\"\n }, this.renderContents ? null : this.props.lazyStyles)\n }, this.renderContents ? jsx(React__default.Fragment, null, this.props.children, this.props.builderBlock && this.props.builderBlock.children && this.props.builderBlock.children.map(function (e, t) {\n return jsx(BuilderBlock$1, {\n key: e.id,\n block: e\n });\n })) : null);\n }, t;\n }(React__default.Component),\n Section = withBuilder(SectionComponent, {\n name: \"Core:Section\",\n static: !0,\n image: \"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a\",\n inputs: [{\n name: \"maxWidth\",\n type: \"number\",\n defaultValue: 1200\n }, {\n name: \"lazyLoad\",\n type: \"boolean\",\n defaultValue: !1,\n advanced: !0,\n description: \"Only render this section when in view\"\n }],\n defaultStyles: {\n paddingLeft: \"20px\",\n paddingRight: \"20px\",\n paddingTop: \"50px\",\n paddingBottom: \"50px\",\n marginTop: \"0px\",\n width: \"100vw\",\n marginLeft: \"calc(50% - 50vw)\"\n },\n canHaveChildren: !0,\n defaultChildren: [{\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n textAlign: \"center\"\n }\n },\n component: {\n name: \"Text\",\n options: {\n text: \"

I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.

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

\"\n }\n }\n }]\n }),\n StateProviderComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n var e = this;\n return React__default.createElement(BuilderStoreContext.Consumer, null, function (t) {\n return React__default.createElement(BuilderStoreContext.Provider, {\n value: _assign(_assign({}, t), {\n state: _assign(_assign({}, t.state), e.props.state),\n context: _assign(_assign({}, t.context), e.props.context)\n })\n }, e.props.builderBlock && e.props.builderBlock.children && e.props.builderBlock.children.map(function (e, t) {\n return React__default.createElement(BuilderBlock$1, {\n block: e,\n key: e.id,\n index: t,\n child: !0\n });\n }), e.props.children);\n });\n }, t;\n }(React__default.Component),\n StateProvider = withBuilder(StateProviderComponent, {\n name: \"Builder:StateProvider\",\n canHaveChildren: !0,\n static: !0,\n noWrap: !0,\n hideFromInsertMenu: !0\n }),\n prefetched = new Set();\nfunction searchToObject(e) {\n var t = (e.search || \"\").substring(1).split(\"&\"),\n n = {};\n for (var i in t) if (t[i] && \"string\" == typeof t[i]) {\n var r = t[i].split(\"=\");\n n[decodeURIComponent(r[0])] = decodeURIComponent(r[1]);\n }\n return n;\n}\nvar RouterComponent = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.builder = builder, t.routed = !1, t.preloadQueue = 0, t.onPopState = function (e) {\n t.updateLocationState();\n }, t.onMouseOverOrTouchStart = function (e) {\n if (!(t.preloadQueue > 4) && !1 !== t.props.preloadOnHover) {\n var n = t.findHrefTarget(e);\n if (n) {\n var i = n.getAttribute(\"href\");\n if (i) {\n if (!t.isRelative(i)) {\n var r = t.convertToRelative(i);\n if (!r) return;\n i = r;\n }\n if (!i.startsWith(\"#\") && !prefetched.has(i)) {\n prefetched.add(i);\n var o = t.parseUrl(i);\n t.preloadQueue++;\n var a = builder.getUserAttributes();\n a.urlPath = o.pathname, a.queryString = o.search;\n var s = builder.get(t.model, {\n userAttributes: a,\n key: t.model + \":\" + o.pathname + o.search\n }).subscribe(function () {\n t.preloadQueue--, s.unsubscribe();\n });\n }\n }\n }\n }\n }, t.onClick = function (e) {\n return __awaiter(t, void 0, void 0, function () {\n var t, n, i, r;\n return __generator(this, function (o) {\n if (!1 === this.props.handleRouting) return [2];\n if (0 !== e.button || e.ctrlKey || e.defaultPrevented || e.metaKey) return [2];\n if (!(t = this.findHrefTarget(e))) return [2];\n if (t.target && \"_client\" !== t.target) return [2];\n if (!(n = t.getAttribute(\"href\"))) return [2];\n if (this.props.onRoute && (i = {\n url: n,\n anchorNode: t,\n preventDefault: function preventDefault() {\n this.defaultPrevented = !0;\n },\n defaultPrevented: !1\n }, this.props.onRoute(i), i.defaultPrevented)) return [2];\n if (!this.isRelative(n)) {\n if (!(r = this.convertToRelative(n))) return [2];\n n = r;\n }\n return n.startsWith(\"#\") || (e.preventDefault(), this.route(n)), [2];\n });\n });\n }, t.privateState = null, t;\n }\n return __extends(t, e), t.prototype.route = function (e) {\n var t;\n return this.routed = !0, \"function\" == typeof (null === (t = window.history) || void 0 === t ? void 0 : t.pushState) ? (history.pushState(null, \"\", e), this.updateLocationState(), !0) : (location.href = e, !1);\n }, t.prototype.updateLocationState = function () {\n this.privateState && this.privateState.update(function (e) {\n e.location = _assign(_assign({}, e.location), {\n pathname: location.pathname,\n search: location.search,\n path: location.pathname.split(\"/\").slice(1),\n query: searchToObject(location)\n });\n });\n }, Object.defineProperty(t.prototype, \"model\", {\n get: function get() {\n return this.props.model || \"page\";\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.componentDidMount = function () {\n \"undefined\" != typeof document && (document.addEventListener(\"click\", this.onClick), window.addEventListener(\"popstate\", this.onPopState), document.addEventListener(\"mouseover\", this.onMouseOverOrTouchStart), document.addEventListener(\"touchstart\", this.onMouseOverOrTouchStart));\n }, t.prototype.componentWillUnmount = function () {\n \"undefined\" != typeof document && (document.removeEventListener(\"click\", this.onClick), document.removeEventListener(\"mouseover\", this.onMouseOverOrTouchStart), window.removeEventListener(\"popstate\", this.onPopState), document.removeEventListener(\"touchstart\", this.onMouseOverOrTouchStart));\n }, t.prototype.render = function () {\n var e = this,\n t = this.model;\n return jsx(BuilderStoreContext.Consumer, null, function (n) {\n e.privateState = n;\n var i = n.state && n.state.location && n.state.location.pathname + n.state.location.search;\n return jsx(\"div\", {\n className: \"builder-router\",\n \"data-model\": t\n }, jsx(\"style\", null, \"\\n @keyframes builderLoadingSpinner {\\n 0% {\\n transform: rotate(0deg);\\n }\\n 100% {\\n transform: rotate(360deg);\\n }\\n }\\n /* TODO: overridable tag */\\n .builder-page-loading {\\n -webkit-animation: builderLoadingSpinner 1s infinite linear;\\n animation: builderLoadingSpinner 1s infinite linear;\\n -webkit-transform: translateZ(0);\\n transform: translateZ(0);\\n border-radius: 50%;\\n width: 36px;\\n height: 36px;\\n margin: 6px auto;\\n position: relative;\\n border: 1px solid transparent;\\n border-left: 1px solid #808284;\\n }\\n \"), jsx(BuilderComponent, {\n key: i,\n data: e.props.data,\n content: e.routed ? void 0 : e.props.content,\n modelName: t,\n options: {\n key: Builder.isEditing ? void 0 : e.model + \":\" + i\n }\n }, e.props.children || jsx(\"div\", {\n css: {\n display: \"flex\"\n }\n }, jsx(\"div\", {\n css: {\n margin: \"40vh auto\"\n },\n className: \"builder-page-loading\"\n }))));\n });\n }, t.prototype.findHrefTarget = function (e) {\n for (var t = e.target; t;) {\n if (t instanceof HTMLAnchorElement && t.getAttribute(\"href\")) return t;\n if (t === e.currentTarget) break;\n t = t.parentElement;\n }\n return null;\n }, t.prototype.isRelative = function (e) {\n return !e.match(/^(\\/\\/|https?:\\/\\/)/i);\n }, t.prototype.parseUrl = function (e) {\n var t = document.createElement(\"a\");\n return t.href = e, t;\n }, t.prototype.convertToRelative = function (e) {\n var t = this.parseUrl(location.href),\n n = this.parseUrl(e);\n if (t.host === n.host) {\n var i = n.pathname + (n.search ? n.search : \"\");\n return i.startsWith(\"#\") ? null : i || \"/\";\n }\n return null;\n }, t;\n }(React__default.Component),\n Router = withBuilder(RouterComponent, {\n name: \"Core:Router\",\n hideFromInsertMenu: !0,\n inputs: [{\n name: \"model\",\n type: \"string\",\n defaultValue: \"page\",\n advanced: !0\n }, {\n name: \"handleRouting\",\n type: \"boolean\",\n defaultValue: !0,\n advanced: !0\n }, {\n name: \"preloadOnHover\",\n type: \"boolean\",\n defaultValue: !0,\n advanced: !0\n }, {\n name: \"onRoute\",\n type: \"function\",\n advanced: !0\n }]\n });\nfunction Mutation(e) {\n var t,\n n,\n i = React__default.useRef(null);\n useWaitForSelector(e.selector, function (t) {\n \"afterEnd\" !== e.type && (t.innerHTML = \"\"), t.appendChild(i.current.firstElementChild);\n });\n var r = null === (t = e.builderBlock) || void 0 === t ? void 0 : t.children;\n return jsx(\"span\", {\n style: {\n display: \"none\"\n },\n ref: i\n }, jsx(BuilderBlocks, {\n style: {\n display: \"inline\"\n },\n child: !0,\n parentElementId: null === (n = e.builderBlock) || void 0 === n ? void 0 : n.id,\n dataPath: \"this.children\",\n blocks: r\n }));\n}\nfunction useWaitForSelector(e, t) {\n React__default.useLayoutEffect(function () {\n try {\n var n = document.querySelector(e);\n if (n) return void t(n);\n } catch (e) {\n console.warn(e);\n }\n var i = new MutationObserver(function () {\n try {\n var n = document.querySelector(e);\n n && (i.disconnect(), t(n));\n } catch (e) {\n console.warn(e);\n }\n });\n return i.observe(document.body, {\n attributes: !0,\n subtree: !0,\n characterData: !0\n }), function () {\n i.disconnect();\n };\n }, [e]);\n}\nBuilder.registerComponent(Mutation, {\n name: \"Builder:Mutation\",\n canHaveChildren: !0,\n noWrap: !0,\n hideFromInsertMenu: !0,\n inputs: [{\n name: \"type\",\n type: \"string\",\n defaultValue: \"replace\",\n enum: [{\n label: \"Replace\",\n value: \"replace\",\n helperText: \"Replace the contents of this site region with content from Builder\"\n }, {\n label: \"Append\",\n value: \"afterEnd\",\n helperText: \"Append Builder content after the chosen site region\"\n }]\n }, {\n name: \"selector\",\n type: \"builder:domSelector\"\n }]\n});\nvar get = function get(e, t, n) {\n var i = String.prototype.split.call(t, /[,[\\].]+?/).filter(Boolean).reduce(function (e, t) {\n return null != e ? e[t] : e;\n }, e);\n return void 0 === i || i === e ? n : i;\n },\n MULTIPART_CONTENT_TYPE = \"multipart/form-data\",\n JSON_CONTENT_TYPE = \"application/json\",\n ENCODED_CONTENT_TYPE = \"application/x-www-form-urlencoded\",\n FormComponent = function (e) {\n function t() {\n var t = null !== e && e.apply(this, arguments) || this;\n return t.ref = null, t.state = {\n state: \"unsubmitted\",\n responseData: null,\n formErrorMessage: \"\"\n }, t;\n }\n return __extends(t, e), Object.defineProperty(t.prototype, \"submissionState\", {\n get: function get() {\n return Builder.isEditing && this.props.previewState || this.state.state;\n },\n enumerable: !1,\n configurable: !0\n }), t.prototype.render = function () {\n var e = this;\n return jsx(BuilderStoreContext.Consumer, null, function (t) {\n return jsx(BuilderStoreContext.Provider, {\n value: _assign(_assign({}, t), {\n state: _assign(_assign({}, t.state), {\n formErrorMessage: e.state.formErrorMessage\n })\n })\n }, jsx(\"form\", _assign({\n validate: e.props.validate,\n ref: function ref(t) {\n return e.ref = t;\n },\n action: !e.props.sendWithJs && e.props.action,\n method: e.props.method,\n name: e.props.name,\n onSubmit: function onSubmit(t) {\n var n,\n i = e.props.sendWithJs || \"email\" === e.props.sendSubmissionsTo;\n if (\"zapier\" === e.props.sendSubmissionsTo) t.preventDefault();else if (i) {\n if (!e.props.action && \"email\" !== e.props.sendSubmissionsTo) return void t.preventDefault();\n t.preventDefault();\n var r = t.currentTarget,\n o = e.props.customHeaders || {},\n a = void 0,\n s = new FormData(r),\n l = Array.from(t.currentTarget.querySelectorAll(\"input,select,textarea\")).filter(function (e) {\n return !!e.name;\n }).map(function (e) {\n var t,\n n = e.name;\n if (e instanceof HTMLInputElement) {\n if (\"radio\" === e.type) {\n if (e.checked) return {\n key: n,\n value: t = e.name\n };\n } else if (\"checkbox\" === e.type) t = e.checked;else if (\"number\" === e.type || \"range\" === e.type) {\n var i = e.valueAsNumber;\n isNaN(i) || (t = i);\n } else t = \"file\" === e.type ? e.files : e.value;\n } else t = e.value;\n return {\n key: n,\n value: t\n };\n }),\n u = e.props.contentType;\n if (\"email\" === e.props.sendSubmissionsTo && (u = MULTIPART_CONTENT_TYPE), Array.from(l).forEach(function (e) {\n var t = e.value;\n (t instanceof File || Array.isArray(t) && t[0] instanceof File || t instanceof FileList) && (u = MULTIPART_CONTENT_TYPE);\n }), u === MULTIPART_CONTENT_TYPE) a = s;else if (u === JSON_CONTENT_TYPE) {\n var d = {};\n Array.from(l).forEach(function (e) {\n var t = e.value,\n n = e.key;\n set(d, n, t);\n }), a = JSON.stringify(d);\n } else {\n if (u !== ENCODED_CONTENT_TYPE) return void console.error(\"Unsupported content type: \", u);\n a = Array.from(l).map(function (e) {\n var t = e.value,\n n = e.key;\n return encodeURIComponent(n) + \"=\" + encodeURIComponent(t);\n }).join(\"&\");\n }\n u && u !== MULTIPART_CONTENT_TYPE && (i && (null === (n = e.props.action) || void 0 === n ? void 0 : n.includes(\"zapier.com\")) || (o[\"content-type\"] = u));\n var c = new CustomEvent(\"presubmit\", {\n detail: {\n body: a\n }\n });\n if (e.ref && (e.ref.dispatchEvent(c), c.defaultPrevented)) return;\n e.setState(_assign(_assign({}, e.state), {\n state: \"sending\"\n }));\n var p = \"\".concat(\"dev\" === builder.env ? \"http://localhost:5000\" : \"https://builder.io\", \"/api/v1/form-submit?apiKey=\").concat(builder.apiKey, \"&to=\").concat(btoa(e.props.sendSubmissionsToEmail || \"\"), \"&name=\").concat(encodeURIComponent(e.props.name || \"\"));\n fetch(\"email\" === e.props.sendSubmissionsTo ? p : e.props.action, {\n body: a,\n headers: o,\n method: e.props.method || \"post\"\n }).then(function (t) {\n return __awaiter(e, void 0, void 0, function () {\n var e, n, i, r, o;\n return __generator(this, function (a) {\n switch (a.label) {\n case 0:\n return (n = t.headers.get(\"content-type\")) && -1 !== n.indexOf(JSON_CONTENT_TYPE) ? [4, t.json()] : [3, 2];\n case 1:\n return e = a.sent(), [3, 4];\n case 2:\n return [4, t.text()];\n case 3:\n e = a.sent(), a.label = 4;\n case 4:\n if (!t.ok && this.props.errorMessagePath && (i = get(e, this.props.errorMessagePath)) && (\"string\" != typeof i && (i = JSON.stringify(i)), this.setState(_assign(_assign({}, this.state), {\n formErrorMessage: i\n }))), this.setState(_assign(_assign({}, this.state), {\n responseData: e,\n state: t.ok ? \"success\" : \"error\"\n })), t.ok) {\n if (r = new CustomEvent(\"submit:success\", {\n detail: {\n res: t,\n body: e\n }\n }), this.ref) {\n if (this.ref.dispatchEvent(r), r.defaultPrevented) return [2];\n !1 !== this.props.resetFormOnSubmit && this.ref.reset();\n }\n this.props.successUrl && (this.ref ? (o = new CustomEvent(\"route\", {\n detail: {\n url: this.props.successUrl\n }\n }), this.ref.dispatchEvent(o), o.defaultPrevented || (location.href = this.props.successUrl)) : location.href = this.props.successUrl);\n }\n return [2];\n }\n });\n });\n }, function (t) {\n var n = new CustomEvent(\"submit:error\", {\n detail: {\n error: t\n }\n });\n e.ref && (e.ref.dispatchEvent(n), n.defaultPrevented) || e.setState(_assign(_assign({}, e.state), {\n responseData: t,\n state: \"error\"\n }));\n });\n }\n }\n }, e.props.attributes), e.props.builderBlock && e.props.builderBlock.children && e.props.builderBlock.children.map(function (e, t) {\n return jsx(BuilderBlock$1, {\n key: e.id,\n block: e\n });\n }), \"error\" === e.submissionState && jsx(BuilderBlocks, {\n dataPath: \"errorMessage\",\n blocks: e.props.errorMessage\n }), \"sending\" === e.submissionState && jsx(BuilderBlocks, {\n dataPath: \"sendingMessage\",\n blocks: e.props.sendingMessage\n }), \"error\" === e.submissionState && e.state.responseData && jsx(\"pre\", {\n className: \"builder-form-error-text\",\n css: {\n padding: 10,\n color: \"red\",\n textAlign: \"center\"\n }\n }, JSON.stringify(e.state.responseData, null, 2)), \"success\" === e.submissionState && jsx(BuilderBlocks, {\n dataPath: \"successMessage\",\n blocks: e.props.successMessage\n })));\n });\n }, t;\n }(React__default.Component),\n Form = withBuilder(FormComponent, {\n name: \"Form:Form\",\n defaults: {\n responsiveStyles: {\n large: {\n marginTop: \"15px\",\n paddingBottom: \"15px\"\n }\n }\n },\n image: \"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fef36d2a846134910b64b88e6d18c5ca5\",\n inputs: [{\n name: \"sendSubmissionsTo\",\n type: \"string\",\n enum: [{\n label: \"Send to email\",\n value: \"email\",\n helperText: \"Send form submissions to the email address of your choosing\"\n }, {\n label: \"Custom\",\n value: \"custom\",\n helperText: \"Handle where the form requests go manually with a little code, e.g. to your own custom backend\"\n }],\n defaultValue: \"email\"\n }, {\n name: \"sendSubmissionsToEmail\",\n type: \"string\",\n required: !0,\n defaultValue: \"your@email.com\",\n showIf: 'options.get(\"sendSubmissionsTo\") === \"email\"'\n }, {\n name: \"sendWithJs\",\n type: \"boolean\",\n helperText: \"Set to false to use basic html form action\",\n defaultValue: !0,\n showIf: 'options.get(\"sendSubmissionsTo\") === \"custom\"'\n }, {\n name: \"name\",\n type: \"string\",\n defaultValue: \"My form\"\n }, {\n name: \"action\",\n type: \"string\",\n helperText: \"URL to send the form data to\",\n showIf: 'options.get(\"sendSubmissionsTo\") === \"custom\"'\n }, {\n name: \"contentType\",\n type: \"string\",\n defaultValue: JSON_CONTENT_TYPE,\n advanced: !0,\n enum: [JSON_CONTENT_TYPE, MULTIPART_CONTENT_TYPE, ENCODED_CONTENT_TYPE],\n showIf: 'options.get(\"sendSubmissionsTo\") === \"custom\" && options.get(\"sendWithJs\") === true'\n }, {\n name: \"method\",\n type: \"string\",\n showIf: 'options.get(\"sendSubmissionsTo\") === \"custom\"',\n defaultValue: \"POST\",\n advanced: !0\n }, {\n name: \"previewState\",\n type: \"string\",\n enum: [\"unsubmitted\", \"sending\", \"success\", \"error\"],\n defaultValue: \"unsubmitted\",\n helperText: 'Choose a state to edit, e.g. choose \"success\" to show what users see on success and edit the message',\n showIf: 'options.get(\"sendSubmissionsTo\") !== \"zapier\" && options.get(\"sendWithJs\") === true'\n }, {\n name: \"successUrl\",\n type: \"url\",\n helperText: \"Optional URL to redirect the user to on form submission success\",\n showIf: 'options.get(\"sendSubmissionsTo\") !== \"zapier\" && options.get(\"sendWithJs\") === true'\n }, {\n name: \"resetFormOnSubmit\",\n type: \"boolean\",\n showIf: function showIf(e) {\n return \"custom\" === e.get(\"sendSubmissionsTo\") && !0 === e.get(\"sendWithJs\");\n },\n advanced: !0\n }, {\n name: \"successMessage\",\n type: \"uiBlocks\",\n hideFromUI: !0,\n defaultValue: [{\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n marginTop: \"10px\"\n }\n },\n component: {\n name: \"Text\",\n options: {\n text: \"Thanks!\"\n }\n }\n }]\n }, {\n name: \"validate\",\n type: \"boolean\",\n defaultValue: !0,\n advanced: !0\n }, {\n name: \"errorMessagePath\",\n type: \"text\",\n advanced: !0,\n helperText: 'Path to where to get the error message from in a JSON response to display to the user, e.g. \"error.message\" for a response like { \"error\": { \"message\": \"this username is taken\" }}'\n }, {\n name: \"errorMessage\",\n type: \"uiBlocks\",\n hideFromUI: !0,\n defaultValue: [{\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n marginTop: \"10px\"\n }\n },\n bindings: {\n \"component.options.text\": \"state.formErrorMessage || block.component.options.text\"\n },\n component: {\n name: \"Text\",\n options: {\n text: \"Form submission error :( Please check your answers and try again\"\n }\n }\n }]\n }, {\n name: \"sendingMessage\",\n type: \"uiBlocks\",\n hideFromUI: !0,\n defaultValue: [{\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n marginTop: \"10px\"\n }\n },\n component: {\n name: \"Text\",\n options: {\n text: \"Sending...\"\n }\n }\n }]\n }, _assign(_assign({\n name: \"customHeaders\",\n type: \"map\"\n }, {\n valueType: {\n type: \"string\"\n }\n }), {\n advanced: !0,\n showIf: 'options.get(\"sendSubmissionsTo\") === \"custom\" && options.get(\"sendWithJs\") === true'\n })],\n noWrap: !0,\n canHaveChildren: !0,\n defaultChildren: [{\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n marginTop: \"10px\"\n }\n },\n component: {\n name: \"Text\",\n options: {\n text: \"Enter your name\"\n }\n }\n }, {\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n marginTop: \"10px\"\n }\n },\n component: {\n name: \"Form:Input\",\n options: {\n name: \"name\",\n placeholder: \"Jane Doe\"\n }\n }\n }, {\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n marginTop: \"10px\"\n }\n },\n component: {\n name: \"Text\",\n options: {\n text: \"Enter your email\"\n }\n }\n }, {\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n marginTop: \"10px\"\n }\n },\n component: {\n name: \"Form:Input\",\n options: {\n name: \"email\",\n placeholder: \"jane@doe.com\"\n }\n }\n }, {\n \"@type\": \"@builder.io/sdk:Element\",\n responsiveStyles: {\n large: {\n marginTop: \"10px\"\n }\n },\n component: {\n name: \"Form:SubmitButton\",\n options: {\n text: \"Submit\"\n }\n }\n }]\n }),\n FormInputComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n return React__default.createElement(\"input\", _assign({\n key: Builder.isEditing && this.props.defaultValue ? this.props.defaultValue : \"default-key\",\n placeholder: this.props.placeholder,\n type: this.props.type,\n name: this.props.name,\n value: this.props.value,\n defaultValue: this.props.defaultValue,\n required: this.props.required\n }, this.props.attributes));\n }, t;\n }(React__default.Component),\n FormInput = withBuilder(FormInputComponent, {\n name: \"Form:Input\",\n image: \"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca\",\n inputs: [{\n name: \"type\",\n type: \"text\",\n enum: [\"text\", \"number\", \"email\", \"url\", \"checkbox\", \"radio\", \"range\", \"date\", \"datetime-local\", \"search\", \"tel\", \"time\", \"file\", \"month\", \"week\", \"password\", \"color\", \"hidden\"],\n defaultValue: \"text\"\n }, {\n name: \"name\",\n type: \"string\",\n required: !0,\n helperText: 'Every input in a form needs a unique name describing what it takes, e.g. \"email\"'\n }, {\n name: \"placeholder\",\n type: \"string\",\n defaultValue: \"Hello there\",\n helperText: \"Text to display when there is no value\"\n }, {\n name: \"defaultValue\",\n type: \"string\"\n }, {\n name: \"value\",\n type: \"string\",\n advanced: !0\n }, {\n name: \"required\",\n type: \"boolean\",\n helperText: \"Is this input required to be filled out to submit a form\",\n defaultValue: !1\n }],\n noWrap: !0,\n static: !0,\n defaultStyles: {\n paddingTop: \"10px\",\n paddingBottom: \"10px\",\n paddingLeft: \"10px\",\n paddingRight: \"10px\",\n borderRadius: \"3px\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"#ccc\"\n }\n }),\n FormSubmitButtonComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n return React__default.createElement(\"button\", _assign({\n type: \"submit\"\n }, this.props.attributes), this.props.text);\n }, t;\n }(React__default.Component),\n FormSubmitButton = withBuilder(FormSubmitButtonComponent, {\n name: \"Form:SubmitButton\",\n image: \"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98\",\n defaultStyles: {\n appearance: \"none\",\n paddingTop: \"15px\",\n paddingBottom: \"15px\",\n paddingLeft: \"25px\",\n paddingRight: \"25px\",\n backgroundColor: \"#3898EC\",\n color: \"white\",\n borderRadius: \"4px\",\n cursor: \"pointer\"\n },\n inputs: [{\n name: \"text\",\n type: \"text\",\n defaultValue: \"Click me\"\n }],\n static: !0,\n noWrap: !0\n }),\n LabelComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n return React__default.createElement(\"label\", _assign({\n htmlFor: this.props.for\n }, this.props.attributes), this.props.text && React__default.createElement(\"span\", {\n className: \"builder-label-text\",\n dangerouslySetInnerHTML: {\n __html: this.props.text\n }\n }), this.props.builderBlock && this.props.builderBlock.children && this.props.builderBlock.children.map(function (e) {\n return React__default.createElement(BuilderBlock$1, {\n key: e.id,\n block: e\n });\n }));\n }, t;\n }(React__default.Component),\n Label = withBuilder(LabelComponent, {\n name: \"Form:Label\",\n image: \"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F9322342f04b545fb9a8091cd801dfb5b\",\n inputs: [{\n name: \"text\",\n type: \"html\",\n richText: !0,\n defaultValue: \"Label\"\n }, {\n name: \"for\",\n type: \"text\",\n helperText: \"The name of the input this label is for\",\n advanced: !0\n }],\n noWrap: !0,\n static: !0,\n canHaveChildren: !0\n }),\n FormSelectComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n var e = this.props.options;\n return React__default.createElement(\"select\", _assign({\n value: this.props.value,\n key: Builder.isEditing && this.props.defaultValue ? this.props.defaultValue : \"default-key\",\n defaultValue: this.props.defaultValue,\n name: this.props.name\n }, this.props.attributes), e && e.map(function (e) {\n return React__default.createElement(\"option\", {\n value: e.value\n }, e.name || e.value);\n }));\n }, t;\n }(React__default.Component),\n FormSelect = withBuilder(FormSelectComponent, {\n name: \"Form:Select\",\n image: \"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045\",\n defaultStyles: {\n alignSelf: \"flex-start\"\n },\n inputs: [{\n name: \"options\",\n type: \"list\",\n required: !0,\n subFields: [{\n name: \"value\",\n type: \"text\",\n required: !0\n }, {\n name: \"name\",\n type: \"text\"\n }],\n defaultValue: [{\n value: \"option 1\"\n }, {\n value: \"option 2\"\n }]\n }, {\n name: \"name\",\n type: \"string\",\n required: !0,\n helperText: 'Every select in a form needs a unique name describing what it gets, e.g. \"email\"'\n }, {\n name: \"defaultValue\",\n type: \"string\"\n }, {\n name: \"value\",\n type: \"string\",\n advanced: !0\n }, {\n name: \"required\",\n type: \"boolean\",\n defaultValue: !1\n }],\n static: !0,\n noWrap: !0\n }),\n TextAreaComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n return React__default.createElement(\"textarea\", _assign({\n placeholder: this.props.placeholder,\n name: this.props.name,\n value: this.props.value,\n defaultValue: this.props.defaultValue\n }, this.props.attributes));\n }, t;\n }(React__default.Component),\n TextArea = withBuilder(TextAreaComponent, {\n name: \"Form:TextArea\",\n image: \"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3\",\n inputs: [{\n advanced: !0,\n name: \"value\",\n type: \"string\"\n }, {\n name: \"name\",\n type: \"string\",\n required: !0,\n helperText: 'Every input in a form needs a unique name describing what it gets, e.g. \"email\"'\n }, {\n name: \"defaultValue\",\n type: \"string\"\n }, {\n name: \"placeholder\",\n type: \"string\",\n defaultValue: \"Hello there\"\n }, {\n name: \"required\",\n type: \"boolean\",\n defaultValue: !1\n }],\n defaultStyles: {\n paddingTop: \"10px\",\n paddingBottom: \"10px\",\n paddingLeft: \"10px\",\n paddingRight: \"10px\",\n borderRadius: \"3px\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderColor: \"#ccc\"\n },\n static: !0,\n noWrap: !0\n }),\n ImgComponent = function (e) {\n function t() {\n return null !== e && e.apply(this, arguments) || this;\n }\n return __extends(t, e), t.prototype.render = function () {\n var e = this.props.attributes || {};\n return React__default.createElement(\"img\", _assign({}, this.props.attributes, {\n src: this.props.image || e.src\n }));\n }, t;\n }(React__default.Component),\n Img = withBuilder(ImgComponent, {\n name: \"Raw:Img\",\n hideFromInsertMenu: !0,\n 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\",\n inputs: [{\n name: \"image\",\n bubble: !0,\n type: \"file\",\n allowedFileTypes: [\"jpeg\", \"jpg\", \"png\", \"svg\"],\n required: !0\n }],\n noWrap: !0,\n static: !0\n }),\n RawText = function RawText(e) {\n var t = e.attributes || {};\n return React.createElement(\"span\", {\n className: (null == t ? void 0 : t.class) || (null == t ? void 0 : t.className),\n dangerouslySetInnerHTML: {\n __html: e.text || \"\"\n }\n });\n };\nfunction useIsPreviewing() {\n var e = useState(!1),\n t = e[0],\n n = e[1];\n return useEffect(function () {\n (Builder.isEditing || Builder.isPreviewing) && n(!0);\n }, []), t;\n}\nBuilder.registerComponent(RawText, {\n name: \"Builder:RawText\",\n hideFromInsertMenu: !0,\n inputs: [{\n name: \"text\",\n bubble: !0,\n type: \"longText\",\n required: !0\n }]\n}), Builder.isReact = !0;\nexport { BuilderAsyncRequestsContext, BuilderBlock, BuilderBlock$1 as BuilderBlockComponent, BuilderBlocks, BuilderComponent, BuilderContent, BuilderMetaContext, BuilderComponent as BuilderPage, BuilderStoreContext, Button, Columns, CustomCode, Slot as Dropzone, Embed, Form, FormInput, FormSelect, FormSubmitButton, Fragment, Image, Img, Label, Mutation, RawText, BuilderComponent as RenderContent, Router, Section, StateProvider, Symbol$1 as Symbol, Text, TextArea, Video, getSrcSet, noWrap, onChange, stringToFunction, updateMetadata, useIsPreviewing, withBuilder, withChildren };"],"names":["version","_a","window","parent","postMessage","type","data","value","supportsPatchUpdates","supportsCustomBreakpoints","priorVersion","_extendStatics","e","t","Object","setPrototypeOf","__proto__","Array","n","prototype","hasOwnProperty","call","__extends","TypeError","String","this","constructor","create","_assign","assign","i","arguments","length","r","apply","__decorate","o","a","getOwnPropertyDescriptor","Reflect","decorate","s","defineProperty","__metadata","metadata","__awaiter","Promise","l","next","throw","done","then","__generator","label","sent","trys","ops","return","Symbol","iterator","pop","push","__spreadArray","slice","concat","fastClone","JSON","parse","stringify","sizeNames","sizes","xsmall","min","default","max","small","medium","large","getWidthForSize","getSizeForWidth","getSizesForBreakpoints","Math","floor","set","isArray","toString","match","reduce","abs","Number","noop","safeDynamicRequire","globalThis","require","isServer","eval","fnCache","api","stringToFunction","trim","includes","startsWith","isBrowser","Function","message","indexOf","console","warn","VM","u","timeout","sandbox","state","context","builder","event","run","replace","stack","process","DEBUG","debug","isPromise","isRequestInfo","BuilderAsyncRequestsContext","requests","errors","logs","BuilderStoreContext","rootState","content","update","applyPatchWithMinimalMutationChain","path","op","split","shift","d","c","p","splice","f","m","htmlEscape","blockToHtmlString","tagName","id","class","keys","properties","map","join","component","name","options","text","children","Link","Consumer","renderLink","camelCaseToKebabCase","toLowerCase","kebabCaseToCamelCase","toUpperCase","Device","desktop","tablet","mobile","voidElements","Set","last","omit$1","cssCase","capitalize","BuilderBlock$1","_super","BuilderBlock","_this","hasError","updates","privateState","onWindowMessage","selection","block","setTimeout","$block","$blocks","patches","location","href","_i","patches_1","patch","props","setState","get","enumerable","configurable","getDerivedStateFromError","componentDidCatch","error","_errors","_logs","animations","trigger","steps","styles","reverse","responsiveStyles","emailMode","h","builderContent","meta","breakpoints","g","find","transition","duration","easing","delay","transitionDelay","componentWillUnmount","isEditing","removeEventListener","componentDidMount","addEventListener","bindings","animator","bindAnimations","filter","elementId","getElement","child","fieldName","dangerouslySetInnerHTML","__html","tag","components","style","v","hide","show","actions","b","Proxy","y","_","has","x","fragment","noWrap","S","attr","B","k","w","C","_spacer","key","R","css","cx","emotionCss","className","_asyncRequests","attributes","builderBlock","builderState","index","size","contents","repeat","collection","itemName","$index","$item","Provider","render","display","padding","color","fontSize","fontStyle","BuilderBlocks","onClickEmptyBlocks","isIframe","noBlocks","parentElementId","parentId","dataPath","onHoverEmptyBlocks","blocks","flexDirection","alignItems","onClick","onMouseEnter","renderInto","document","querySelector","Element","NoWrap","getData","blocksString","variantsScript","VariantsProvider","initialContent","canTrack","Boolean","variations","testRatio","getCookie","random","setCookie","BuilderContent","ref","loading","getContentWithInfo","_b","noEditorUpdates","newData","contentLoaded","subscriptions","firstLoad","clicked","trackedImpression","intersectionObserver","nativeEvent","autoTrack","trackInteraction","renderedVariantId","model","modelName","isStatic","variationId","isPreviewing","inline","subscribeToContent","trackImpression","add","queueGetContent","subscribe","editingModel","previewingModel","unsubscribe","IntersectionObserver","forEach","intersectionRatio","unobserve","observe","contentError","dataOnly","testVariationId","testVariationName","unwrapExports","__esModule","createCommonjsModule","exports","onChange_1","_a2","equals","is","WeakMap","delete","ignoreSymbols","RegExp","isShallow","Map","writable","deleteProperty","Date","valueOf","lastIndexOf","bind","target","onChange","nextTick","debounceNextTick","debounceNextTickImpl","throttle","leading","now","clearTimeout","trailing","BuilderMetaContext","ampMode","tryEval","toError","Error","getBuilderPixel","role","src","height","width","opacity","overflow","pointerEvents","pick","omit","wrapComponent","builderTag","inputs","size$1","debounce","fontsLoaded","fetch$1","fetch","sizeMap","fetchCache","searchToObject$1","search","substring","decodeURIComponent","BuilderComponent","onStateChange","asServer","contentRef","styleRef","updateState","lastJsCode","lastHttpRequests","httpSubscriptionPerKey","messageListener","contentId","useContent","deviceSize","deviceSizeState","device","resizeFn","resizeListener","mounted","notifyStateChange","onContentLoaded","title","pageTitle","description","pageDescription","createElement","setAttribute","head","appendChild","defaultValue","locationState","externalState","jsCode","codegen","httpRequests","noAsync","evalExpression","handleRequest","inlinedContent","apiKey","_hydrate","hydrate","getHtmlData","defaults","inlineContent","entry","innerText","getUserAttributes","pathname","query","innerWidth","classList","contains","innerHTML","previousElementSibling","matches","insertAdjacentElement","builderRootRef","reload","dispatchEvent","CustomEvent","detail","processStateFromApi","getCssFromFont","family","kind","fileUrl","files","regular","getFontCss","allowCustomFonts","customFonts","ensureFontsLoaded","getCss","cssCode","componentDidUpdate","checkStyles","locale","isChild","stopClickPropagationWhenEditing","stopPropagation","url","format","Component","blocksJs","from","time","json","timeEnd","promise","handleBuilderRequest","updateMetadata","registerComponent","withBuilder","withChildren","builderOptions","canHaveChildren","iconUrl","TextComponent","textRef","allowTextEdit","contentEditable","activeElement","outline","margin","lineHeight","letterSpacing","fontWeight","textAlign","fontFamily","rtlMode","direction","onInput","currentTarget","onKeyDown","which","blur","onFocus","onBlur","Text","static","image","required","autoFocus","bubble","defaultStyles","Slot","useContext","symbolId","docsLink","FragmentComponent","Fragment","hideFromInsertMenu","DEFAULT_ASPECT_RATIO$2","defaultBlocks","flexShrink","position","marginTop","minHeight","minWidth","backgroundPosition","backgroundSize","aspectRatio","ColumnsComponent","columns","space","getWidth","getColumnWidth","gutterSize","stackColumnsAt","reverseColumnsWhenStacked","link","flexGrow","marginLeft","Columns","broadcast","subFields","hideFromUI","helperText","advanced","enum","EmbedComponent","elementRef","scriptsInserted","scriptsRun","findAndRunScripts","getElementsByTagName","async","Embed","html","catch","globalReplaceNodes","isShopify$1","customCodeQuerySelector_1","allCustomCodeElements_1","querySelectorAll","builderTemplates","parentElement","getAttribute","cloneNode","CustomCodeComponent","originalRef","replaceNodes","hydrated","remove","code","isHydrating","scriptsClientOnly","noReactRender","CustomCode","requiredPermissions","removeProtocol","isElementInViewport","getBoundingClientRect","top","left","bottom","innerHeight","documentElement","clientHeight","right","clientWidth","getShopifyImageUrl","DEFAULT_ASPECT_RATIO$1","updateQueryParam","encodeURIComponent","getSrcSet","isNaN","getSizes","ImageComponent","imageLoaded","useLazyLoading","load","pictureRef","scrollListener","lazy","capture","passive","srcset","fitContent","layout","round","alt","altText","objectFit","objectPosition","onLoad","srcSet","noWebp","paddingTop","Image","allowedFileTypes","blob","onload","DEFAULT_ASPECT_RATIO","VideoComponent","video","containerRef","lazyLoad","updateVideo","removeAttribute","poster","posterImage","autoPlay","muted","controls","loop","fit","zIndex","borderRadius","Video","isShopify","refs","SymbolComponent","staticRef","useStatic","parentNode","replaceChild","symbol","dynamic","placeholder","inheritState","Symbol$1","ButtonComponent","openLinkInNewTab","Button","appearance","paddingBottom","paddingLeft","paddingRight","backgroundColor","cursor","friendlyName","SectionComponent","unmountCallbacks","inView","rootMargin","alignSelf","boxSizing","maxWidth","marginRight","renderContents","lazyStyles","Section","defaultChildren","StateProviderComponent","StateProvider","prefetched","searchToObject","RouterComponent","routed","preloadQueue","onPopState","updateLocationState","onMouseOverOrTouchStart","preloadOnHover","findHrefTarget","isRelative","convertToRelative","parseUrl","urlPath","queryString","userAttributes","handleRouting","button","ctrlKey","defaultPrevented","metaKey","onRoute","anchorNode","preventDefault","route","history","pushState","HTMLAnchorElement","host","Router","Mutation","useWaitForSelector","selector","current","firstElementChild","MutationObserver","disconnect","body","subtree","characterData","MULTIPART_CONTENT_TYPE","JSON_CONTENT_TYPE","ENCODED_CONTENT_TYPE","FormComponent","responseData","formErrorMessage","previewState","validate","action","sendWithJs","method","onSubmit","sendSubmissionsTo","customHeaders","FormData","HTMLInputElement","checked","valueAsNumber","contentType","File","FileList","env","btoa","sendSubmissionsToEmail","headers","ok","errorMessagePath","res","resetFormOnSubmit","reset","successUrl","submissionState","errorMessage","sendingMessage","successMessage","Form","showIf","valueType","FormInputComponent","FormInput","borderWidth","borderStyle","borderColor","FormSubmitButtonComponent","FormSubmitButton","LabelComponent","htmlFor","for","Label","richText","FormSelectComponent","FormSelect","TextAreaComponent","TextArea","ImgComponent","Img","RawText","useIsPreviewing","useState","useEffect","isReact"],"sourceRoot":""}