pagepilot-visual-editor 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";const fe=require("./index-Ci34MwoG.cjs"),It=require("./_commonjs-dynamic-modules-DMkBISW1.cjs");function zl(e,n){for(var t=0;t<n.length;t++){const i=n[t];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(i,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var nn={},da="1.13.8",Ro=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},ui=Array.prototype,la=Object.prototype,No=typeof Symbol<"u"?Symbol.prototype:null,Xl=ui.push,Ft=ui.slice,mt=la.toString,Vl=la.hasOwnProperty,ku=typeof ArrayBuffer<"u",Hl=typeof DataView<"u",$l=Array.isArray,Io=Object.keys,Lo=Object.create,Mo=ku&&ArrayBuffer.isView,Gl=isNaN,Zl=isFinite,Wu=!{toString:null}.propertyIsEnumerable("toString"),qo=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Yl=Math.pow(2,53)-1;function Me(e,n){return n=n==null?e.length-1:+n,function(){for(var t=Math.max(arguments.length-n,0),i=Array(t),r=0;r<t;r++)i[r]=arguments[r+n];switch(n){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var a=Array(n+1);for(r=0;r<n;r++)a[r]=arguments[r];return a[n]=i,e.apply(this,a)}}function An(e){var n=typeof e;return n==="function"||n==="object"&&!!e}function Ou(e){return e===null}function fa(e){return e===void 0}function ha(e){return e===!0||e===!1||mt.call(e)==="[object Boolean]"}function Ru(e){return!!(e&&e.nodeType===1)}function Ie(e){var n="[object "+e+"]";return function(t){return mt.call(t)===n}}const si=Ie("String"),pa=Ie("Number"),Nu=Ie("Date"),Iu=Ie("RegExp"),Lu=Ie("Error"),ga=Ie("Symbol"),ma=Ie("ArrayBuffer");var Mu=Ie("Function"),Kl=Ro.document&&Ro.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof Kl!="function"&&(Mu=function(e){return typeof e=="function"||!1});const Ne=Mu,qu=Ie("Object");var Pu=Hl&&(!/\[native code\]/.test(String(DataView))||qu(new DataView(new ArrayBuffer(8)))),ba=typeof Map<"u"&&qu(new Map),Ql=Ie("DataView");function Jl(e){return e!=null&&Ne(e.getInt8)&&ma(e.buffer)}const bt=Pu?Jl:Ql,Fn=$l||Ie("Array");function Cn(e,n){return e!=null&&Vl.call(e,n)}var aa=Ie("Arguments");(function(){aa(arguments)||(aa=function(e){return Cn(e,"callee")})})();const di=aa;function ju(e){return!ga(e)&&Zl(e)&&!isNaN(parseFloat(e))}function ya(e){return pa(e)&&Gl(e)}function Da(e){return function(){return e}}function zu(e){return function(n){var t=e(n);return typeof t=="number"&&t>=0&&t<=Yl}}function Xu(e){return function(n){return n==null?void 0:n[e]}}const Zt=Xu("byteLength"),ef=zu(Zt);var nf=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function tf(e){return Mo?Mo(e)&&!bt(e):ef(e)&&nf.test(mt.call(e))}const va=ku?tf:Da(!1),Re=Xu("length");function rf(e){for(var n={},t=e.length,i=0;i<t;++i)n[e[i]]=!0;return{contains:function(r){return n[r]===!0},push:function(r){return n[r]=!0,e.push(r)}}}function Vu(e,n){n=rf(n);var t=qo.length,i=e.constructor,r=Ne(i)&&i.prototype||la,a="constructor";for(Cn(e,a)&&!n.contains(a)&&n.push(a);t--;)a=qo[t],a in e&&e[a]!==r[a]&&!n.contains(a)&&n.push(a)}function Ee(e){if(!An(e))return[];if(Io)return Io(e);var n=[];for(var t in e)Cn(e,t)&&n.push(t);return Wu&&Vu(e,n),n}function Hu(e){if(e==null)return!0;var n=Re(e);return typeof n=="number"&&(Fn(e)||si(e)||di(e))?n===0:Re(Ee(e))===0}function xa(e,n){var t=Ee(n),i=t.length;if(e==null)return!i;for(var r=Object(e),a=0;a<i;a++){var o=t[a];if(n[o]!==r[o]||!(o in r))return!1}return!0}function ye(e){if(e instanceof ye)return e;if(!(this instanceof ye))return new ye(e);this._wrapped=e}ye.VERSION=da;ye.prototype.value=function(){return this._wrapped};ye.prototype.valueOf=ye.prototype.toJSON=ye.prototype.value;ye.prototype.toString=function(){return String(this._wrapped)};function Po(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Zt(e))}var jo="[object DataView]";function $u(e,n){for(var t=[{a:e,b:n}],i=[],r=[];t.length;){var a=t.pop();if(a===!0){i.pop(),r.pop();continue}if(e=a.a,n=a.b,e===n){if(e!==0||1/e===1/n)continue;return!1}if(e==null||n==null)return!1;if(e!==e){if(n!==n)continue;return!1}var o=typeof e;if(o!=="function"&&o!=="object"&&typeof n!="object")return!1;e instanceof ye&&(e=e._wrapped),n instanceof ye&&(n=n._wrapped);var c=mt.call(e);if(c!==mt.call(n))return!1;if(Pu&&c=="[object Object]"&&bt(e)){if(!bt(n))return!1;c=jo}switch(c){case"[object RegExp]":case"[object String]":if(""+e==""+n)continue;return!1;case"[object Number]":t.push({a:+e,b:+n});continue;case"[object Date]":case"[object Boolean]":if(+e==+n)continue;return!1;case"[object Symbol]":if(No.valueOf.call(e)===No.valueOf.call(n))continue;return!1;case"[object ArrayBuffer]":case jo:t.push({a:Po(e),b:Po(n)});continue}var u=c==="[object Array]";if(!u&&va(e)){var s=Zt(e);if(s!==Zt(n))return!1;if(e.buffer===n.buffer&&e.byteOffset===n.byteOffset)continue;u=!0}if(!u){if(typeof e!="object"||typeof n!="object")return!1;var d=e.constructor,p=n.constructor;if(d!==p&&!(Ne(d)&&d instanceof d&&Ne(p)&&p instanceof p)&&"constructor"in e&&"constructor"in n)return!1}for(var b=i.length;b--;)if(i[b]===e){if(r[b]===n)break;return!1}if(!(b>=0))if(i.push(e),r.push(n),t.push(!0),u){if(b=e.length,b!==n.length)return!1;for(;b--;)t.push({a:e[b],b:n[b]})}else{var m=Ee(e),y;if(b=m.length,Ee(n).length!==b)return!1;for(;b--;){if(y=m[b],!Cn(n,y))return!1;t.push({a:e[y],b:n[y]})}}}return!0}function it(e){if(!An(e))return[];var n=[];for(var t in e)n.push(t);return Wu&&Vu(e,n),n}function _a(e){var n=Re(e);return function(t){if(t==null)return!1;var i=it(t);if(Re(i))return!1;for(var r=0;r<n;r++)if(!Ne(t[e[r]]))return!1;return e!==Yu||!Ne(t[Ua])}}var Ua="forEach",Gu="has",Ta=["clear","delete"],Zu=["get",Gu,"set"],af=Ta.concat(Ua,Zu),Yu=Ta.concat(Zu),of=["add"].concat(Ta,Ua,Gu);const Ku=ba?_a(af):Ie("Map"),Qu=ba?_a(Yu):Ie("WeakMap"),Ju=ba?_a(of):Ie("Set"),es=Ie("WeakSet");function Ln(e){for(var n=Ee(e),t=n.length,i=Array(t),r=0;r<t;r++)i[r]=e[n[r]];return i}function ns(e){for(var n=Ee(e),t=n.length,i=Array(t),r=0;r<t;r++)i[r]=[n[r],e[n[r]]];return i}function wa(e){for(var n={},t=Ee(e),i=0,r=t.length;i<r;i++)n[e[t[i]]]=t[i];return n}function yt(e){var n=[];for(var t in e)Ne(e[t])&&n.push(t);return n.sort()}function Ea(e,n){return function(t){var i=arguments.length;if(n&&(t=Object(t)),i<2||t==null)return t;for(var r=1;r<i;r++)for(var a=arguments[r],o=e(a),c=o.length,u=0;u<c;u++){var s=o[u];(!n||t[s]===void 0)&&(t[s]=a[s])}return t}}const Aa=Ea(it),Yn=Ea(Ee),Fa=Ea(it,!0);function cf(){return function(){}}function ts(e){if(!An(e))return{};if(Lo)return Lo(e);var n=cf();n.prototype=e;var t=new n;return n.prototype=null,t}function is(e,n){var t=ts(e);return n&&Yn(t,n),t}function rs(e){return An(e)?Fn(e)?e.slice():Aa({},e):e}function as(e,n){return n(e),e}function Ca(e){return Fn(e)?e:[e]}ye.toPath=Ca;function Ct(e){return ye.toPath(e)}function Sa(e,n){for(var t=n.length,i=0;i<t;i++){if(e==null)return;e=e[n[i]]}return t?e:void 0}function Ba(e,n,t){var i=Sa(e,Ct(n));return fa(i)?t:i}function os(e,n){n=Ct(n);for(var t=n.length,i=0;i<t;i++){var r=n[i];if(!Cn(e,r))return!1;e=e[r]}return!!t}function li(e){return e}function On(e){return e=Yn({},e),function(n){return xa(n,e)}}function fi(e){return e=Ct(e),function(n){return Sa(n,e)}}function St(e,n,t){if(n===void 0)return e;switch(t??3){case 1:return function(i){return e.call(n,i)};case 3:return function(i,r,a){return e.call(n,i,r,a)};case 4:return function(i,r,a,o){return e.call(n,i,r,a,o)}}return function(){return e.apply(n,arguments)}}function cs(e,n,t){return e==null?li:Ne(e)?St(e,n,t):An(e)&&!Fn(e)?On(e):fi(e)}function hi(e,n){return cs(e,n,1/0)}ye.iteratee=hi;function ze(e,n,t){return ye.iteratee!==hi?ye.iteratee(e,n):cs(e,n,t)}function us(e,n,t){n=ze(n,t);for(var i=Ee(e),r=i.length,a={},o=0;o<r;o++){var c=i[o];a[c]=n(e[c],c,e)}return a}function ka(){}function ss(e){return e==null?ka:function(n){return Ba(e,n)}}function ds(e,n,t){var i=Array(Math.max(0,e));n=St(n,t,1);for(var r=0;r<e;r++)i[r]=n(r);return i}function Yt(e,n){return n==null&&(n=e,e=0),e+Math.floor(Math.random()*(n-e+1))}const Kn=Date.now||function(){return new Date().getTime()};function ls(e){var n=function(a){return e[a]},t="(?:"+Ee(e).join("|")+")",i=RegExp(t),r=RegExp(t,"g");return function(a){return a=a==null?"":""+a,i.test(a)?a.replace(r,n):a}}const fs={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},hs=ls(fs),uf=wa(fs),ps=ls(uf),gs=ye.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Yi=/(.)^/,sf={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},df=/\\|'|\r|\n|\u2028|\u2029/g;function lf(e){return"\\"+sf[e]}var ff=/^\s*(\w|\$)+\s*$/;function ms(e,n,t){!n&&t&&(n=t),n=Fa({},n,ye.templateSettings);var i=RegExp([(n.escape||Yi).source,(n.interpolate||Yi).source,(n.evaluate||Yi).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,function(s,d,p,b,m){return a+=e.slice(r,m).replace(df,lf),r=m+s.length,d?a+=`'+
1
+ "use strict";const fe=require("./index-C74HSWbI.cjs"),It=require("./_commonjs-dynamic-modules-DMkBISW1.cjs");function zl(e,n){for(var t=0;t<n.length;t++){const i=n[t];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(i,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var nn={},da="1.13.8",Ro=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},ui=Array.prototype,la=Object.prototype,No=typeof Symbol<"u"?Symbol.prototype:null,Xl=ui.push,Ft=ui.slice,mt=la.toString,Vl=la.hasOwnProperty,ku=typeof ArrayBuffer<"u",Hl=typeof DataView<"u",$l=Array.isArray,Io=Object.keys,Lo=Object.create,Mo=ku&&ArrayBuffer.isView,Gl=isNaN,Zl=isFinite,Wu=!{toString:null}.propertyIsEnumerable("toString"),qo=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Yl=Math.pow(2,53)-1;function Me(e,n){return n=n==null?e.length-1:+n,function(){for(var t=Math.max(arguments.length-n,0),i=Array(t),r=0;r<t;r++)i[r]=arguments[r+n];switch(n){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var a=Array(n+1);for(r=0;r<n;r++)a[r]=arguments[r];return a[n]=i,e.apply(this,a)}}function An(e){var n=typeof e;return n==="function"||n==="object"&&!!e}function Ou(e){return e===null}function fa(e){return e===void 0}function ha(e){return e===!0||e===!1||mt.call(e)==="[object Boolean]"}function Ru(e){return!!(e&&e.nodeType===1)}function Ie(e){var n="[object "+e+"]";return function(t){return mt.call(t)===n}}const si=Ie("String"),pa=Ie("Number"),Nu=Ie("Date"),Iu=Ie("RegExp"),Lu=Ie("Error"),ga=Ie("Symbol"),ma=Ie("ArrayBuffer");var Mu=Ie("Function"),Kl=Ro.document&&Ro.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof Kl!="function"&&(Mu=function(e){return typeof e=="function"||!1});const Ne=Mu,qu=Ie("Object");var Pu=Hl&&(!/\[native code\]/.test(String(DataView))||qu(new DataView(new ArrayBuffer(8)))),ba=typeof Map<"u"&&qu(new Map),Ql=Ie("DataView");function Jl(e){return e!=null&&Ne(e.getInt8)&&ma(e.buffer)}const bt=Pu?Jl:Ql,Fn=$l||Ie("Array");function Cn(e,n){return e!=null&&Vl.call(e,n)}var aa=Ie("Arguments");(function(){aa(arguments)||(aa=function(e){return Cn(e,"callee")})})();const di=aa;function ju(e){return!ga(e)&&Zl(e)&&!isNaN(parseFloat(e))}function ya(e){return pa(e)&&Gl(e)}function Da(e){return function(){return e}}function zu(e){return function(n){var t=e(n);return typeof t=="number"&&t>=0&&t<=Yl}}function Xu(e){return function(n){return n==null?void 0:n[e]}}const Zt=Xu("byteLength"),ef=zu(Zt);var nf=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function tf(e){return Mo?Mo(e)&&!bt(e):ef(e)&&nf.test(mt.call(e))}const va=ku?tf:Da(!1),Re=Xu("length");function rf(e){for(var n={},t=e.length,i=0;i<t;++i)n[e[i]]=!0;return{contains:function(r){return n[r]===!0},push:function(r){return n[r]=!0,e.push(r)}}}function Vu(e,n){n=rf(n);var t=qo.length,i=e.constructor,r=Ne(i)&&i.prototype||la,a="constructor";for(Cn(e,a)&&!n.contains(a)&&n.push(a);t--;)a=qo[t],a in e&&e[a]!==r[a]&&!n.contains(a)&&n.push(a)}function Ee(e){if(!An(e))return[];if(Io)return Io(e);var n=[];for(var t in e)Cn(e,t)&&n.push(t);return Wu&&Vu(e,n),n}function Hu(e){if(e==null)return!0;var n=Re(e);return typeof n=="number"&&(Fn(e)||si(e)||di(e))?n===0:Re(Ee(e))===0}function xa(e,n){var t=Ee(n),i=t.length;if(e==null)return!i;for(var r=Object(e),a=0;a<i;a++){var o=t[a];if(n[o]!==r[o]||!(o in r))return!1}return!0}function ye(e){if(e instanceof ye)return e;if(!(this instanceof ye))return new ye(e);this._wrapped=e}ye.VERSION=da;ye.prototype.value=function(){return this._wrapped};ye.prototype.valueOf=ye.prototype.toJSON=ye.prototype.value;ye.prototype.toString=function(){return String(this._wrapped)};function Po(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Zt(e))}var jo="[object DataView]";function $u(e,n){for(var t=[{a:e,b:n}],i=[],r=[];t.length;){var a=t.pop();if(a===!0){i.pop(),r.pop();continue}if(e=a.a,n=a.b,e===n){if(e!==0||1/e===1/n)continue;return!1}if(e==null||n==null)return!1;if(e!==e){if(n!==n)continue;return!1}var o=typeof e;if(o!=="function"&&o!=="object"&&typeof n!="object")return!1;e instanceof ye&&(e=e._wrapped),n instanceof ye&&(n=n._wrapped);var c=mt.call(e);if(c!==mt.call(n))return!1;if(Pu&&c=="[object Object]"&&bt(e)){if(!bt(n))return!1;c=jo}switch(c){case"[object RegExp]":case"[object String]":if(""+e==""+n)continue;return!1;case"[object Number]":t.push({a:+e,b:+n});continue;case"[object Date]":case"[object Boolean]":if(+e==+n)continue;return!1;case"[object Symbol]":if(No.valueOf.call(e)===No.valueOf.call(n))continue;return!1;case"[object ArrayBuffer]":case jo:t.push({a:Po(e),b:Po(n)});continue}var u=c==="[object Array]";if(!u&&va(e)){var s=Zt(e);if(s!==Zt(n))return!1;if(e.buffer===n.buffer&&e.byteOffset===n.byteOffset)continue;u=!0}if(!u){if(typeof e!="object"||typeof n!="object")return!1;var d=e.constructor,p=n.constructor;if(d!==p&&!(Ne(d)&&d instanceof d&&Ne(p)&&p instanceof p)&&"constructor"in e&&"constructor"in n)return!1}for(var b=i.length;b--;)if(i[b]===e){if(r[b]===n)break;return!1}if(!(b>=0))if(i.push(e),r.push(n),t.push(!0),u){if(b=e.length,b!==n.length)return!1;for(;b--;)t.push({a:e[b],b:n[b]})}else{var m=Ee(e),y;if(b=m.length,Ee(n).length!==b)return!1;for(;b--;){if(y=m[b],!Cn(n,y))return!1;t.push({a:e[y],b:n[y]})}}}return!0}function it(e){if(!An(e))return[];var n=[];for(var t in e)n.push(t);return Wu&&Vu(e,n),n}function _a(e){var n=Re(e);return function(t){if(t==null)return!1;var i=it(t);if(Re(i))return!1;for(var r=0;r<n;r++)if(!Ne(t[e[r]]))return!1;return e!==Yu||!Ne(t[Ua])}}var Ua="forEach",Gu="has",Ta=["clear","delete"],Zu=["get",Gu,"set"],af=Ta.concat(Ua,Zu),Yu=Ta.concat(Zu),of=["add"].concat(Ta,Ua,Gu);const Ku=ba?_a(af):Ie("Map"),Qu=ba?_a(Yu):Ie("WeakMap"),Ju=ba?_a(of):Ie("Set"),es=Ie("WeakSet");function Ln(e){for(var n=Ee(e),t=n.length,i=Array(t),r=0;r<t;r++)i[r]=e[n[r]];return i}function ns(e){for(var n=Ee(e),t=n.length,i=Array(t),r=0;r<t;r++)i[r]=[n[r],e[n[r]]];return i}function wa(e){for(var n={},t=Ee(e),i=0,r=t.length;i<r;i++)n[e[t[i]]]=t[i];return n}function yt(e){var n=[];for(var t in e)Ne(e[t])&&n.push(t);return n.sort()}function Ea(e,n){return function(t){var i=arguments.length;if(n&&(t=Object(t)),i<2||t==null)return t;for(var r=1;r<i;r++)for(var a=arguments[r],o=e(a),c=o.length,u=0;u<c;u++){var s=o[u];(!n||t[s]===void 0)&&(t[s]=a[s])}return t}}const Aa=Ea(it),Yn=Ea(Ee),Fa=Ea(it,!0);function cf(){return function(){}}function ts(e){if(!An(e))return{};if(Lo)return Lo(e);var n=cf();n.prototype=e;var t=new n;return n.prototype=null,t}function is(e,n){var t=ts(e);return n&&Yn(t,n),t}function rs(e){return An(e)?Fn(e)?e.slice():Aa({},e):e}function as(e,n){return n(e),e}function Ca(e){return Fn(e)?e:[e]}ye.toPath=Ca;function Ct(e){return ye.toPath(e)}function Sa(e,n){for(var t=n.length,i=0;i<t;i++){if(e==null)return;e=e[n[i]]}return t?e:void 0}function Ba(e,n,t){var i=Sa(e,Ct(n));return fa(i)?t:i}function os(e,n){n=Ct(n);for(var t=n.length,i=0;i<t;i++){var r=n[i];if(!Cn(e,r))return!1;e=e[r]}return!!t}function li(e){return e}function On(e){return e=Yn({},e),function(n){return xa(n,e)}}function fi(e){return e=Ct(e),function(n){return Sa(n,e)}}function St(e,n,t){if(n===void 0)return e;switch(t??3){case 1:return function(i){return e.call(n,i)};case 3:return function(i,r,a){return e.call(n,i,r,a)};case 4:return function(i,r,a,o){return e.call(n,i,r,a,o)}}return function(){return e.apply(n,arguments)}}function cs(e,n,t){return e==null?li:Ne(e)?St(e,n,t):An(e)&&!Fn(e)?On(e):fi(e)}function hi(e,n){return cs(e,n,1/0)}ye.iteratee=hi;function ze(e,n,t){return ye.iteratee!==hi?ye.iteratee(e,n):cs(e,n,t)}function us(e,n,t){n=ze(n,t);for(var i=Ee(e),r=i.length,a={},o=0;o<r;o++){var c=i[o];a[c]=n(e[c],c,e)}return a}function ka(){}function ss(e){return e==null?ka:function(n){return Ba(e,n)}}function ds(e,n,t){var i=Array(Math.max(0,e));n=St(n,t,1);for(var r=0;r<e;r++)i[r]=n(r);return i}function Yt(e,n){return n==null&&(n=e,e=0),e+Math.floor(Math.random()*(n-e+1))}const Kn=Date.now||function(){return new Date().getTime()};function ls(e){var n=function(a){return e[a]},t="(?:"+Ee(e).join("|")+")",i=RegExp(t),r=RegExp(t,"g");return function(a){return a=a==null?"":""+a,i.test(a)?a.replace(r,n):a}}const fs={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},hs=ls(fs),uf=wa(fs),ps=ls(uf),gs=ye.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Yi=/(.)^/,sf={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},df=/\\|'|\r|\n|\u2028|\u2029/g;function lf(e){return"\\"+sf[e]}var ff=/^\s*(\w|\$)+\s*$/;function ms(e,n,t){!n&&t&&(n=t),n=Fa({},n,ye.templateSettings);var i=RegExp([(n.escape||Yi).source,(n.interpolate||Yi).source,(n.evaluate||Yi).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,function(s,d,p,b,m){return a+=e.slice(r,m).replace(df,lf),r=m+s.length,d?a+=`'+
2
2
  ((__t=(`+d+`))==null?'':_.escape(__t))+
3
3
  '`:p?a+=`'+
4
4
  ((__t=(`+p+`))==null?'':__t)+
@@ -1,4 +1,4 @@
1
- import { g as jl, c as fe } from "./index-CLGLU96X.js";
1
+ import { g as jl, c as fe } from "./index-9JekOUrW.js";
2
2
  import { c as It } from "./_commonjs-dynamic-modules-BpilXLfW.js";
3
3
  function Xl(e, n) {
4
4
  for (var t = 0; t < n.length; t++) {
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Ci34MwoG.cjs");exports.EditorContext=e.EditorContext;exports.PagePilotEditor=e.PagePilotEditor;exports.PagepilotApiClient=e.PagepilotApiClient;exports.Reader=e.Reader;exports.ReaderBlock=e.ReaderBlock;exports.ReaderBlockSchema=e.ReaderBlockSchema;exports.ReaderDocumentSchema=e.ReaderDocumentSchema;exports.pagePilotEditorDarkTheme=e.pagePilotEditorDarkTheme;exports.pagePilotEditorLightTheme=e.pagePilotEditorLightTheme;exports.renderToStaticHtml=e.renderToStaticHtml;exports.renderToStaticMarkup=e.renderToStaticMarkup;exports.resetDocument=e.resetDocument;exports.resetPagePilotEditorTranslations=e.resetPagePilotEditorTranslations;exports.setDocument=e.setDocument;exports.setPagePilotEditorTranslations=e.setPagePilotEditorTranslations;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-C74HSWbI.cjs");exports.EditorContext=e.EditorContext;exports.PagePilotEditor=e.PagePilotEditor;exports.PagepilotApiClient=e.PagepilotApiClient;exports.Reader=e.Reader;exports.ReaderBlock=e.ReaderBlock;exports.ReaderBlockSchema=e.ReaderBlockSchema;exports.ReaderDocumentSchema=e.ReaderDocumentSchema;exports.pagePilotEditorDarkTheme=e.pagePilotEditorDarkTheme;exports.pagePilotEditorLightTheme=e.pagePilotEditorLightTheme;exports.renderToStaticHtml=e.renderToStaticHtml;exports.renderToStaticMarkup=e.renderToStaticMarkup;exports.resetDocument=e.resetDocument;exports.resetPagePilotEditorTranslations=e.resetPagePilotEditorTranslations;exports.setDocument=e.setDocument;exports.setPagePilotEditorTranslations=e.setPagePilotEditorTranslations;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as t, P as o, b as s, R as r, d as i, e as d, f as l, p as n, h as P, r as c, i as m, j as g, k as p, s as E, l as h } from "./index-CLGLU96X.js";
1
+ import { E as t, P as o, b as s, R as r, d as i, e as d, f as l, p as n, h as P, r as c, i as m, j as g, k as p, s as E, l as h } from "./index-9JekOUrW.js";
2
2
  export {
3
3
  t as EditorContext,
4
4
  o as PagePilotEditor,
package/dist/render.cjs CHANGED
@@ -176,10 +176,10 @@ ul[data-mll="bullet-arrow"] > li::before { content: "▸"; position: absolute; l
176
176
  ul[data-mll="bullet-arrow"] ul { list-style-type: none; }
177
177
  ul[data-mll="bullet-arrow"] ul > li::before { content: "◦"; }
178
178
  ul[data-mll="bullet-arrow"] ul ul > li::before { content: "▪"; }
179
- `,Im=I(["MODERN_SANS","BOOK_SANS","ORGANIC_SANS","GEOMETRIC_SANS","HEAVY_SANS","ROUNDED_SANS","MODERN_SERIF","BOOK_SERIF","MONOSPACE","ROBOTO","OPEN_SANS","LATO","POPPINS","INTER","MONTSERRAT","RALEWAY","NUNITO","PLAYFAIR_DISPLAY","MERRIWEATHER","PT_SANS","OSWALD","SOURCE_SANS_PRO","RUBIK","WORK_SANS","NOTO_SANS","DANCING_SCRIPT","PACIFICO","LOBSTER","BEBAS_NEUE"]).nullable().optional();function Mm(e){switch(e){case"MODERN_SANS":return'Inter, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif';case"BOOK_SANS":return'Optima, Candara, "Noto Sans", source-sans-pro, sans-serif';case"ORGANIC_SANS":return'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif';case"GEOMETRIC_SANS":return'Avenir, "Avenir Next LT Pro", Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif';case"HEAVY_SANS":return'Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", sans-serif-condensed, sans-serif';case"ROUNDED_SANS":return'ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif';case"MODERN_SERIF":return'Charter, "Bitstream Charter", "Sitka Text", Cambria, serif';case"BOOK_SERIF":return'"Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif';case"MONOSPACE":return'"Nimbus Mono PS", "Courier New", "Cutive Mono", monospace';case"ROBOTO":return'Roboto, "Helvetica Neue", Arial, sans-serif';case"OPEN_SANS":return'"Open Sans", "Helvetica Neue", Arial, sans-serif';case"LATO":return'Lato, "Helvetica Neue", Arial, sans-serif';case"POPPINS":return'Poppins, "Helvetica Neue", Arial, sans-serif';case"INTER":return'Inter, "Helvetica Neue", Arial, sans-serif';case"MONTSERRAT":return'Montserrat, "Helvetica Neue", Arial, sans-serif';case"RALEWAY":return'Raleway, "Helvetica Neue", Arial, sans-serif';case"NUNITO":return'Nunito, "Helvetica Neue", Arial, sans-serif';case"PLAYFAIR_DISPLAY":return'"Playfair Display", Georgia, serif';case"MERRIWEATHER":return"Merriweather, Georgia, serif";case"PT_SANS":return'"PT Sans", "Helvetica Neue", Arial, sans-serif';case"OSWALD":return'Oswald, "Helvetica Neue", Arial, sans-serif';case"SOURCE_SANS_PRO":return'"Source Sans Pro", "Helvetica Neue", Arial, sans-serif';case"RUBIK":return'Rubik, "Helvetica Neue", Arial, sans-serif';case"WORK_SANS":return'"Work Sans", "Helvetica Neue", Arial, sans-serif';case"NOTO_SANS":return'"Noto Sans", "Helvetica Neue", Arial, sans-serif';case"DANCING_SCRIPT":return'"Dancing Script", cursive, sans-serif';case"PACIFICO":return"Pacifico, cursive, sans-serif";case"LOBSTER":return"Lobster, cursive, sans-serif";case"BEBAS_NEUE":return'"Bebas Neue", cursive, sans-serif'}}const Tm=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),Pm=x().regex(/^rgba?\([^\)]+\)$/i),Om=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Lm=re("transparent"),Cr=D([Tm,Pm,Om,Lm]).nullable().optional(),zm=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),jm=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Bm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Dm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Hm=C({style:C({color:Cr,backgroundColor:Cr,fontSize:f().gte(0).optional().nullable(),lineClamp:f().int().gte(0).optional().nullable(),fontFamily:Im,fontWeight:I(["bold","normal",...Ra]).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),padding:zm,margin:jm}).optional().nullable(),props:C({text:x().optional().nullable(),editorType:I(["summernote","quill"]).optional().nullable()}).optional().nullable()}),Fm={text:""};function Gm({style:e,props:t}){const n=e==null?void 0:e.lineClamp,o=n&&n>0?{display:"-webkit-box",WebkitLineClamp:n,WebkitBoxOrient:"vertical",overflow:"hidden"}:{},a={color:(e==null?void 0:e.color)??void 0,background:(e==null?void 0:e.backgroundColor)??void 0,fontSize:(e==null?void 0:e.fontSize)??void 0,fontFamily:Mm(e==null?void 0:e.fontFamily),fontWeight:(e==null?void 0:e.fontWeight)??void 0,textAlign:(e==null?void 0:e.textAlign)??void 0,padding:Bm(e==null?void 0:e.padding),margin:Dm(e==null?void 0:e.margin),wordBreak:"break-word",overflowWrap:"break-word",...o},i=(t==null?void 0:t.text)??Fm.text;return g.jsxs("div",{className:"text-block",style:a,children:[g.jsx("style",{children:`.text-block ul,.text-block ol{margin-block-start:0;margin-block-end:0;padding-inline-start:revert}.text-block li{display:list-item}
179
+ `,Im=I(["MODERN_SANS","BOOK_SANS","ORGANIC_SANS","GEOMETRIC_SANS","HEAVY_SANS","ROUNDED_SANS","MODERN_SERIF","BOOK_SERIF","MONOSPACE","ROBOTO","OPEN_SANS","LATO","POPPINS","INTER","MONTSERRAT","RALEWAY","NUNITO","PLAYFAIR_DISPLAY","MERRIWEATHER","PT_SANS","OSWALD","SOURCE_SANS_PRO","RUBIK","WORK_SANS","NOTO_SANS","DANCING_SCRIPT","PACIFICO","LOBSTER","BEBAS_NEUE"]).nullable().optional();function Mm(e){switch(e){case"MODERN_SANS":return'Inter, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif';case"BOOK_SANS":return'Optima, Candara, "Noto Sans", source-sans-pro, sans-serif';case"ORGANIC_SANS":return'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif';case"GEOMETRIC_SANS":return'Avenir, "Avenir Next LT Pro", Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif';case"HEAVY_SANS":return'Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", sans-serif-condensed, sans-serif';case"ROUNDED_SANS":return'ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif';case"MODERN_SERIF":return'Charter, "Bitstream Charter", "Sitka Text", Cambria, serif';case"BOOK_SERIF":return'"Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif';case"MONOSPACE":return'"Nimbus Mono PS", "Courier New", "Cutive Mono", monospace';case"ROBOTO":return'Roboto, "Helvetica Neue", Arial, sans-serif';case"OPEN_SANS":return'"Open Sans", "Helvetica Neue", Arial, sans-serif';case"LATO":return'Lato, "Helvetica Neue", Arial, sans-serif';case"POPPINS":return'Poppins, "Helvetica Neue", Arial, sans-serif';case"INTER":return'Inter, "Helvetica Neue", Arial, sans-serif';case"MONTSERRAT":return'Montserrat, "Helvetica Neue", Arial, sans-serif';case"RALEWAY":return'Raleway, "Helvetica Neue", Arial, sans-serif';case"NUNITO":return'Nunito, "Helvetica Neue", Arial, sans-serif';case"PLAYFAIR_DISPLAY":return'"Playfair Display", Georgia, serif';case"MERRIWEATHER":return"Merriweather, Georgia, serif";case"PT_SANS":return'"PT Sans", "Helvetica Neue", Arial, sans-serif';case"OSWALD":return'Oswald, "Helvetica Neue", Arial, sans-serif';case"SOURCE_SANS_PRO":return'"Source Sans Pro", "Helvetica Neue", Arial, sans-serif';case"RUBIK":return'Rubik, "Helvetica Neue", Arial, sans-serif';case"WORK_SANS":return'"Work Sans", "Helvetica Neue", Arial, sans-serif';case"NOTO_SANS":return'"Noto Sans", "Helvetica Neue", Arial, sans-serif';case"DANCING_SCRIPT":return'"Dancing Script", cursive, sans-serif';case"PACIFICO":return"Pacifico, cursive, sans-serif";case"LOBSTER":return"Lobster, cursive, sans-serif";case"BEBAS_NEUE":return'"Bebas Neue", cursive, sans-serif'}}const Tm=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),Pm=x().regex(/^rgba?\([^\)]+\)$/i),Om=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Lm=re("transparent"),Cr=D([Tm,Pm,Om,Lm]).nullable().optional(),zm=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),jm=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Bm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Dm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Hm=C({style:C({color:Cr,backgroundColor:Cr,fontSize:f().gte(0).optional().nullable(),lineClamp:f().int().gte(0).optional().nullable(),fontFamily:Im,fontWeight:I(["bold","normal",...Ra]).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),padding:zm,margin:jm}).optional().nullable(),props:C({text:x().optional().nullable(),editorType:I(["summernote","quill"]).optional().nullable()}).optional().nullable()}),Fm={text:""};function Gm({style:e,props:t}){const n=e==null?void 0:e.lineClamp,o=n&&n>0?{display:"-webkit-box",WebkitLineClamp:n,WebkitBoxOrient:"vertical",overflow:"hidden"}:{},a=(e==null?void 0:e.color)??void 0,i=typeof a=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(a),r={...i?{backgroundImage:a,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",color:"transparent"}:{color:a},background:i?void 0:(e==null?void 0:e.backgroundColor)??void 0,fontSize:(e==null?void 0:e.fontSize)??void 0,fontFamily:Mm(e==null?void 0:e.fontFamily),fontWeight:(e==null?void 0:e.fontWeight)??void 0,textAlign:(e==null?void 0:e.textAlign)??void 0,padding:Bm(e==null?void 0:e.padding),margin:Dm(e==null?void 0:e.margin),wordBreak:"break-word",overflowWrap:"break-word",...o},l=(t==null?void 0:t.text)??Fm.text;return g.jsxs("div",{className:"text-block",style:r,children:[g.jsx("style",{children:`.text-block ul,.text-block ol{margin-block-start:0;margin-block-end:0;padding-inline-start:revert}.text-block li{display:list-item}
180
180
  .text-block a{color:#2563eb;text-decoration:underline}/* keep in sync with LINK_COLOR (editor-sample InlineTextToolbar/types.ts) */
181
181
  .text-block pre,.text-block code{white-space:pre-wrap;word-break:break-all;overflow-x:auto;max-width:100%}
182
- ${Em}`}),g.jsx("div",{dangerouslySetInnerHTML:{__html:i}})]})}const Um=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Zm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Wm=C({style:C({padding:Um,backgroundColor:x().regex(/^#[0-9a-fA-F]{6}$/).optional().nullable(),textAlign:I(["center","left","right"]).optional().nullable()}).optional().nullable(),props:C({width:f().optional().nullable(),height:f().optional().nullable(),widthTablet:D([f(),x()]).optional().nullable(),widthMobile:D([f(),x()]).optional().nullable(),heightTablet:D([f(),x()]).optional().nullable(),heightMobile:D([f(),x()]).optional().nullable(),url:x().optional().nullable(),alt:x().optional().nullable(),linkHref:x().optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable()}).optional().nullable()});let qm=0;function Vm({style:e,props:t}){const n=`ahd-youtube-url-${++qm}`,o={padding:Zm(e==null?void 0:e.padding),backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,textAlign:(e==null?void 0:e.textAlign)??void 0},a=(t==null?void 0:t.linkHref)??null,i=(t==null?void 0:t.width)??void 0,r=(t==null?void 0:t.height)??void 0,l=(t==null?void 0:t.widthTablet)??null,s=(t==null?void 0:t.widthMobile)??null,c=(t==null?void 0:t.heightTablet)??null,u=(t==null?void 0:t.heightMobile)??null,p=l??i,d=s??p,h=c??r,m=u??h,b=i,v=r,k=w=>w==null?void 0:typeof w=="number"?`${w}px`:w,S=`
182
+ ${Em}`}),g.jsx("div",{dangerouslySetInnerHTML:{__html:l}})]})}const Um=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Zm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Wm=C({style:C({padding:Um,backgroundColor:x().regex(/^#[0-9a-fA-F]{6}$/).optional().nullable(),textAlign:I(["center","left","right"]).optional().nullable()}).optional().nullable(),props:C({width:f().optional().nullable(),height:f().optional().nullable(),widthTablet:D([f(),x()]).optional().nullable(),widthMobile:D([f(),x()]).optional().nullable(),heightTablet:D([f(),x()]).optional().nullable(),heightMobile:D([f(),x()]).optional().nullable(),url:x().optional().nullable(),alt:x().optional().nullable(),linkHref:x().optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable()}).optional().nullable()});let qm=0;function Vm({style:e,props:t}){const n=`ahd-youtube-url-${++qm}`,o={padding:Zm(e==null?void 0:e.padding),backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,textAlign:(e==null?void 0:e.textAlign)??void 0},a=(t==null?void 0:t.linkHref)??null,i=(t==null?void 0:t.width)??void 0,r=(t==null?void 0:t.height)??void 0,l=(t==null?void 0:t.widthTablet)??null,s=(t==null?void 0:t.widthMobile)??null,c=(t==null?void 0:t.heightTablet)??null,u=(t==null?void 0:t.heightMobile)??null,p=l??i,d=s??p,h=c??r,m=u??h,b=i,v=r,k=w=>w==null?void 0:typeof w=="number"?`${w}px`:w,S=`
183
183
  ${ot} { .${n} video { ${k(p)?`width: ${k(p)} !important;`:""} ${k(h)?`height: ${k(h)} !important;`:""} max-width: 100% !important; } }
184
184
  ${Oe} { .${n} video { ${k(d)?`width: ${k(d)} !important;`:""} ${k(m)?`height: ${k(m)} !important;`:""} max-width: 100% !important; } }
185
185
  `.trim(),$=g.jsx("video",{controls:!0,preload:"metadata","aria-label":(t==null?void 0:t.alt)??void 0,src:(t==null?void 0:t.url)??"",width:b,height:v,style:{width:b,height:v,outline:"none",border:"none",textDecoration:"none",verticalAlign:(t==null?void 0:t.contentAlignment)??"middle",display:"inline-block",maxWidth:"100%"}});return a?g.jsxs("div",{className:`youtube-url-block ${n}`,style:o,children:[S&&g.jsx("style",{dangerouslySetInnerHTML:{__html:S}}),g.jsx("a",{href:a,style:{textDecoration:"none"},target:"_blank",rel:"noopener noreferrer",children:$})]}):g.jsxs("div",{className:`youtube-url-block ${n}`,style:o,children:[S&&g.jsx("style",{dangerouslySetInnerHTML:{__html:S}}),$]})}const Ym=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Km=C({responsive:Te,style:C({padding:Ym,textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({src:x().optional().nullable(),width:x().optional().nullable(),height:x().optional().nullable(),title:x().optional().nullable(),allowFullscreen:P().optional().nullable()}).optional().nullable()}),Jm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function Xm({style:e,props:t}){const n=(t==null?void 0:t.src)??"",o=(t==null?void 0:t.width)??"100%",a=t==null?void 0:t.height,i=!a||/^\s*(0|0px|100vh)\s*$/i.test(a)?"800px":a,r=(t==null?void 0:t.title)??"Embedded content",l=(t==null?void 0:t.allowFullscreen)??!0,s=G.useRef(null),c={padding:Jm(e==null?void 0:e.padding),textAlign:(e==null?void 0:e.textAlign)??void 0,width:"100%"},u={width:`var(--ahd-iframe-width,${o})`,height:`var(--ahd-iframe-height,${i})`,minHeight:`var(--ahd-iframe-height,${i})`,border:"none",display:"inline-block",verticalAlign:"top"};return n?g.jsx("div",{className:"iframe-block",style:c,children:g.jsx("iframe",{ref:s,src:n,title:r,style:u,allowFullScreen:l})}):g.jsx("div",{className:"iframe-block",style:{...c,backgroundColor:"#F5F5F5",padding:"24px",textAlign:"center",color:"#888",fontSize:"14px"},children:"IFrame — enter a URL in the panel"})}const Qm=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),eg=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),tg=C({responsive:Te,style:C({padding:Qm,margin:eg,textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({src:x().optional().nullable(),width:x().optional().nullable(),height:x().optional().nullable(),title:x().optional().nullable(),allowFullscreen:P().optional().nullable()}).optional().nullable()}),ng=e=>{if(!e)return;if(typeof e=="string")return e;const{top:t=0,right:n=0,bottom:o=0,left:a=0}=e;return`${t}px ${n}px ${o}px ${a}px`},og=e=>{if(!e)return;if(typeof e=="string")return e;const{top:t=0,right:n=0,bottom:o=0,left:a=0}=e;return`${t}px ${n}px ${o}px ${a}px`},ag=({props:e,style:t})=>{var u,p;const{src:n,width:o,height:a,title:i,allowFullscreen:r=!0}=e??{};if(!n)return g.jsx(g.Fragment,{});const l=(((u=t==null?void 0:t.margin)==null?void 0:u.left)??0)+(((p=t==null?void 0:t.margin)==null?void 0:p.right)??0),s=t??{},c={width:l>0?`calc(100% - ${l}px)`:"100%",padding:ng(s.padding),margin:og(s.margin),textAlign:s.textAlign||void 0};return g.jsx("div",{className:"calendly-block",style:c,children:g.jsx("iframe",{src:n,title:i||"Calendly scheduling",allowFullScreen:r??!0,style:{width:`var(--ahd-calendly-width,${o||"100%"})`,height:`var(--ahd-calendly-height,${a||"800px"})`,border:"none",display:"inline-block",verticalAlign:"top"},loading:"lazy"})})};var rg=Object.defineProperty,Ar=Object.getOwnPropertySymbols,ig=Object.prototype.hasOwnProperty,lg=Object.prototype.propertyIsEnumerable,yr=(e,t,n)=>t in e?rg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sg=(e,t)=>{for(var n in t||(t={}))ig.call(t,n)&&yr(e,n,t[n]);if(Ar)for(var n of Ar(t))lg.call(t,n)&&yr(e,n,t[n]);return e};function cg(e){return function({type:n,data:o}){const a=e[n].Component;return G.createElement(a,sg({},o))}}function ug(e){const t=Object.keys(e).map(n=>C({type:re(n),data:e[n].schema}));return Eh("type",t).transform(n=>n)}const dg=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),hg=x().regex(/^rgba?\([^\)]+\)$/i),fg=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),pg=re("transparent"),mg=D([dg,hg,fg,pg]).nullable().optional(),gg=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),bg=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),lo=Xi([f().optional().nullish(),f().optional().nullish(),f().optional().nullish(),f().optional().nullish(),f().optional().nullish()]).optional().nullable(),so=I(["fixed","fill","fit"]).optional().nullable(),vg=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,xg=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,ul=C({style:C({backgroundColor:mg,padding:gg,margin:bg}).optional().nullable(),props:C({widthType:so,widthTypeTablet:so,widthTypeMobile:so,fixedWidths:lo,fixedWidthsTablet:lo,fixedWidthsMobile:lo,columnsCount:D([re(2),re(3),re(4),re(5)]).optional().nullable(),columnsGap:f().optional().nullable(),columnsGapTablet:f().optional().nullable(),columnsGapMobile:f().optional().nullable(),columnsDirection:I(["horizontal","vertical"]).optional().nullable(),columnsDirectionTablet:I(["horizontal","vertical"]).optional().nullable(),columnsDirectionMobile:I(["horizontal","vertical"]).optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable(),contentAlignmentTablet:I(["top","middle","bottom"]).optional().nullable(),contentAlignmentMobile:I(["top","middle","bottom"]).optional().nullable()}).optional().nullable()}),St={columnsCount:2,columnsGap:0,columnsDirection:"horizontal",contentAlignment:"middle",widthType:"fill"};function Nr(e){return`${e} table, ${e} tbody, ${e} tr, ${e} td { display: block !important; width: 100% !important; }
@@ -227,7 +227,7 @@ ${N}
227
227
  .${X} { transition: transform ${V.duration??500}ms ${V.easing??"ease-in-out"}; }
228
228
  .${X}:hover { transform: scale(${V.scale??1.05}); }
229
229
  `.trim():null,Q=[ye,te].filter(Boolean).join(`
230
- `)||null,qe=Yn(e==null?void 0:e.boxShadow),Pe=ae=>{if(ae!=null)return typeof ae=="number"?`${ae}px`:`${ae.topLeft}px ${ae.topRight}px ${ae.bottomRight}px ${ae.bottomLeft}px`},ke=(e==null?void 0:e.borderColor)??null,it=(e==null?void 0:e.borderWidth)??null,bt=db(ke,it),Ne=cb((e==null?void 0:e.backgroundColor)??""),Se=(e==null?void 0:e.backgroundSize)==="none",ie=!Se&&(e!=null&&e.backgroundImage)?`url(${e.backgroundImage})`:void 0,be=ub(e==null?void 0:e.backgroundColor,ie),Ie=Se?void 0:(e==null?void 0:e.backgroundSize)??void 0,Ft=(e==null?void 0:e.backgroundRepeat)??"no-repeat",lt=ke&&(ke.includes("linear-gradient")||ke.includes("radial-gradient")||ke.includes("repeating-linear-gradient")),Fe=Ee!=null,st=Fe?{"--ahd-cb-h":`${Ee}px`}:{},Me=Fe?" container-block-has-height":"";if(lt){const ae={...bt,borderRadius:Pe(e==null?void 0:e.borderRadius),width:me,maxWidth:"100%",height:Fe?`${Ee}px`:void 0,boxSizing:"border-box",...oe(R,e==null?void 0:e.margin,we==="100%"),...qe,...st},le={...Ne,backgroundImage:be,backgroundSize:Ie,backgroundRepeat:Ft,borderRadius:hb((e==null?void 0:e.borderRadius)??0,it),overflow:_?"auto":"hidden",padding:Mr(e==null?void 0:e.padding),width:"100%",height:Fe?"100%":void 0,boxSizing:"border-box"},Ge=`container-block${_?" container-block-overflow":""}${Me}${X?` ${X}`:""}`,Qe=`container-block-inner${_?" container-block-overflow":""}`,et=j?{...ae,...B.style}:ae;return g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Ge,"aria-label":M,id:T,...B,style:et,children:g.jsx("div",{className:Qe,style:le,children:n})})]})}const _t={...Ne,backgroundImage:be,backgroundSize:Ie,backgroundRepeat:Ft,...bt,borderRadius:Pe(e==null?void 0:e.borderRadius),padding:Mr(e==null?void 0:e.padding),...oe(R,e==null?void 0:e.margin,we==="100%"),width:me,maxWidth:"100%",height:Fe?`${Ee}px`:void 0,overflow:_?"auto":void 0,boxSizing:"border-box",..._?{}:{display:"flow-root"},...qe,...st},Gt=`container-block${_?" container-block-overflow":""}${Me}${X?` ${X}`:""}`,gn=j?{..._t,...B.style}:_t;return n?g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Gt,"aria-label":M,id:T,...B,style:gn,children:n})]}):g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Gt,"aria-label":M,id:T,...B,style:gn})]})}const gb=C({style:fb.shape.style,responsive:Te,props:C({childrenIds:W(x()).optional().nullable(),fullWidth:P().optional().nullable(),widthType:I(["fixed","fill","fit"]).optional().nullable(),widthTypeTablet:I(["fixed","fill","fit"]).optional().nullable(),widthTypeMobile:I(["fixed","fill","fit"]).optional().nullable(),width:f().min(0).optional().nullable(),widthUnit:I(["px","%"]).optional().nullable(),widthTablet:f().min(0).optional().nullable(),widthMobile:f().min(0).optional().nullable(),height:f().min(0).optional().nullable(),heightTablet:f().min(0).optional().nullable(),heightMobile:f().min(0).optional().nullable(),overflow:P().optional().nullable(),alignment:I(["left","center","right"]).optional().nullable(),alignmentTablet:I(["left","center","right"]).optional().nullable(),alignmentMobile:I(["left","center","right"]).optional().nullable(),tag:I(["div","section","article","nav","aside","header","footer","main"]).optional().nullable(),ariaLabel:x().optional().nullable(),elementId:x().optional().nullable(),showLink:P().optional().nullable(),linkHref:x().optional().nullable(),linkTarget:I(["_self","_blank"]).optional().nullable(),animation:un,hoverEffect:Ia}).optional().nullable()});function bb({style:e,props:t}){const n=(t==null?void 0:t.childrenIds)??[];return g.jsx(mb,{style:e,props:{fullWidth:(t==null?void 0:t.fullWidth)??void 0,widthType:(t==null?void 0:t.widthType)??void 0,widthTypeTablet:(t==null?void 0:t.widthTypeTablet)??void 0,widthTypeMobile:(t==null?void 0:t.widthTypeMobile)??void 0,width:(t==null?void 0:t.width)??void 0,widthUnit:(t==null?void 0:t.widthUnit)??void 0,widthTablet:(t==null?void 0:t.widthTablet)??void 0,widthMobile:(t==null?void 0:t.widthMobile)??void 0,height:(t==null?void 0:t.height)??void 0,heightTablet:(t==null?void 0:t.heightTablet)??void 0,heightMobile:(t==null?void 0:t.heightMobile)??void 0,overflow:(t==null?void 0:t.overflow)??void 0,alignment:(t==null?void 0:t.alignment)??void 0,alignmentTablet:(t==null?void 0:t.alignmentTablet)??void 0,alignmentMobile:(t==null?void 0:t.alignmentMobile)??void 0,tag:(t==null?void 0:t.tag)??void 0,ariaLabel:(t==null?void 0:t.ariaLabel)??void 0,elementId:(t==null?void 0:t.elementId)??void 0,showLink:(t==null?void 0:t.showLink)??void 0,linkHref:(t==null?void 0:t.linkHref)??void 0,linkTarget:(t==null?void 0:t.linkTarget)??void 0,hoverEffect:(t==null?void 0:t.hoverEffect)??void 0},children:n.map(o=>g.jsx(ve,{id:o},o))})}const vb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),xb=x().regex(/^rgba?\([^\)]+\)$/i),Sb=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),wb=re("transparent"),Et=D([vb,xb,Sb,wb]).nullable().optional(),kb=I(["MODERN_SANS","BOOK_SANS","ORGANIC_SANS","GEOMETRIC_SANS","HEAVY_SANS","ROUNDED_SANS","MODERN_SERIF","BOOK_SERIF","MONOSPACE","ROBOTO","OPEN_SANS","LATO","POPPINS","INTER","MONTSERRAT","RALEWAY","NUNITO","PLAYFAIR_DISPLAY","MERRIWEATHER","PT_SANS","OSWALD","SOURCE_SANS_PRO","RUBIK","WORK_SANS","NOTO_SANS","DANCING_SCRIPT","PACIFICO","LOBSTER","BEBAS_NEUE"]).nullable().optional(),_b=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),ho=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),fo=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),$b=x().regex(/^(auto|cover|contain|inherit|initial|revert-layer|revert|unset|\d+(px|em|rem|%)?(\s+\d+(px|em|rem|%)?)?)$/i,"Invalid CSS background-size value").nullable().optional(),Cb=C({color:Et,offsetX:f().default(0),offsetY:f().default(0),blur:f().default(0),spread:f().default(0),inset:P().default(!1)}).partial().optional().nullable(),Ab=C({position:I(["top","top-left","top-right","top-center","bottom","bottom-left","bottom-right","bottom-center","center","left","left-center","right","right-center"]).optional().default("right"),isCaret:P().optional().default(!0),selector:x().optional().default(""),showCloseIcon:P().optional(),iconCloseColor:Et,closeIconPosition:I(["left","center","right"]).optional(),closeIconPaddingTop:f().optional(),closeIconPaddingLeft:f().optional(),closeIconPaddingRight:f().optional(),bannerSubType:x().optional()}).passthrough().optional().nullable(),yb=W(C({id:x(),name:x(),type:x().optional().default("text"),value:x().optional()})).optional().nullable(),Nb=C({formFields:yb,backdropColor:Et.default(null),borderColor:Et.default(null),borderRadius:f().optional().nullable(),canvasColor:Et.default(null),textColor:Et,fontFamily:kb,childrenIds:W(x()).optional().nullable(),maxWidth:x().default(""),maxHeight:x().default(""),top:x().default(""),left:x().default(""),padding:ho,margin:fo,maxWidthTablet:x().optional().nullable(),maxWidthMobile:x().optional().nullable(),maxHeightTablet:x().optional().nullable(),maxHeightMobile:x().optional().nullable(),paddingTablet:ho,paddingMobile:ho,marginTablet:fo,marginMobile:fo,borderWidth:_b,boxShadow:Cb,behaviour:Ab,linkHref:x().optional().default(""),backgroundImage:x().default("").nullable().optional(),backgroundSize:$b,backgroundRepeat:I(["repeat","no-repeat"]).optional().nullable()});function Nt(e){return!(e==null||typeof e=="string"&&e.trim()==="")}function _n(e,t,n){const o=e??{},a=o[t];if(n==="desktop")return Nt(a)?a:null;const i=o[`${t}Tablet`];if(n==="tablet")return Nt(i)?i:Nt(a)?a:null;const r=o[`${t}Mobile`];return Nt(r)?r:Nt(i)?i:Nt(a)?a:null}function po(e,t){return{maxWidth:_n(e,"maxWidth",t)??null,maxHeight:_n(e,"maxHeight",t)??null,padding:_n(e,"padding",t)??null,margin:_n(e,"margin",t)??null}}function Rb(e){return`${e.top??0}px ${e.right??0}px ${e.bottom??0}px ${e.left??0}px`}function Eb(e){return`${e.top??0}px ${e.right??0}px ${e.bottom??0}px ${e.left??0}px`}function mo(e,t){const n=[];return t.maxWidth&&(n.push(`${e.width}{width:${t.maxWidth};max-width:100%;}`),n.push(`${e.table}{max-width:${t.maxWidth};min-width:0;}`)),t.maxHeight&&n.push(`${e.table}{height:${t.maxHeight};}`),t.padding&&n.push(`${e.padding}{padding:${Rb(t.padding)};}`),t.margin&&n.push(`${e.margin}{margin:${Eb(t.margin)};}`),n.join("")}function Ib(e,t,n){const o=`.${e}`,a={width:`${o} .ahd-layout-sizer`,table:`${o} .ahd-layout-table`,padding:`${o} .email-layout-content`,margin:`${o} .email-layout-content`},i=po(t,"desktop"),r=mo(a,{...i,maxWidth:i.maxWidth??n??null}),l=mo(a,po(t,"tablet")),s=mo(a,po(t,"mobile")),c=(u,p)=>p?`@media (max-width:${u}px){${p}}@container ahd-page (max-width:${u}px){${p}}`:"";return[r,c(je,l),c(Ae,s)].filter(Boolean).join("")}const Mb="Made with Page Pilot",Tb="https://pagepilot.fabbuilder.com";let Pb=0;function Ob(e){switch(e??"MODERN_SANS"){case"MODERN_SANS":return'Inter, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif';case"BOOK_SANS":return'Optima, Candara, "Noto Sans", source-sans-pro, sans-serif';case"ORGANIC_SANS":return'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif';case"GEOMETRIC_SANS":return'Avenir, "Avenir Next LT Pro", Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif';case"HEAVY_SANS":return'Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", sans-serif-condensed, sans-serif';case"ROUNDED_SANS":return'ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif';case"MODERN_SERIF":return'Charter, "Bitstream Charter", "Sitka Text", Cambria, serif';case"BOOK_SERIF":return'"Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif';case"MONOSPACE":return'"Nimbus Mono PS", "Courier New", "Cutive Mono", monospace';case"ROBOTO":return'Roboto, "Helvetica Neue", Arial, sans-serif';case"OPEN_SANS":return'"Open Sans", "Helvetica Neue", Arial, sans-serif';case"LATO":return'Lato, "Helvetica Neue", Arial, sans-serif';case"POPPINS":return'Poppins, "Helvetica Neue", Arial, sans-serif';case"INTER":return'Inter, "Helvetica Neue", Arial, sans-serif';case"MONTSERRAT":return'Montserrat, "Helvetica Neue", Arial, sans-serif';case"RALEWAY":return'Raleway, "Helvetica Neue", Arial, sans-serif';case"NUNITO":return'Nunito, "Helvetica Neue", Arial, sans-serif';case"PLAYFAIR_DISPLAY":return'"Playfair Display", Georgia, serif';case"MERRIWEATHER":return"Merriweather, Georgia, serif";case"PT_SANS":return'"PT Sans", "Helvetica Neue", Arial, sans-serif';case"OSWALD":return'Oswald, "Helvetica Neue", Arial, sans-serif';case"SOURCE_SANS_PRO":return'"Source Sans Pro", "Helvetica Neue", Arial, sans-serif';case"RUBIK":return'Rubik, "Helvetica Neue", Arial, sans-serif';case"WORK_SANS":return'"Work Sans", "Helvetica Neue", Arial, sans-serif';case"NOTO_SANS":return'"Noto Sans", "Helvetica Neue", Arial, sans-serif';case"DANCING_SCRIPT":return'"Dancing Script", cursive, sans-serif';case"PACIFICO":return"Pacifico, cursive, sans-serif";case"LOBSTER":return"Lobster, cursive, sans-serif";case"BEBAS_NEUE":return'"Bebas Neue", cursive, sans-serif'}}function Lb(e){const{borderColor:t,borderWidth:n,borderRadius:o}=e;if(!t)return{};if(t==="transparent")return{border:"none"};const a=t&&(t.includes("linear-gradient")||t.includes("radial-gradient")||t.includes("repeating-linear-gradient")),i=o??0,r=s=>typeof s=="number"?`${s}px`:`${s.topLeft}px ${s.topRight}px ${s.bottomRight}px ${s.bottomLeft}px`;if(((n==null?void 0:n.top)??0)+((n==null?void 0:n.right)??0)+((n==null?void 0:n.bottom)??0)+((n==null?void 0:n.left)??0)===0)return{borderRadius:i?r(i):void 0};if(a){const s=e.canvasColor,c=!s||s==="transparent"?"linear-gradient(transparent, transparent)":s.includes("gradient")?s:`linear-gradient(${s}, ${s})`;return{borderStyle:"solid",borderTopWidth:`${(n==null?void 0:n.top)??0}px`,borderRightWidth:`${(n==null?void 0:n.right)??0}px`,borderBottomWidth:`${(n==null?void 0:n.bottom)??0}px`,borderLeftWidth:`${(n==null?void 0:n.left)??0}px`,borderColor:"transparent",backgroundImage:`${c}, ${t}`,backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box",borderRadius:i?r(i):void 0}}return{borderTop:`${(n==null?void 0:n.top)||0}px solid ${t}`,borderRight:`${(n==null?void 0:n.right)||0}px solid ${t}`,borderBottom:`${(n==null?void 0:n.bottom)||0}px solid ${t}`,borderLeft:`${(n==null?void 0:n.left)||0}px solid ${t}`,borderRadius:i?r(i):void 0}}function zb(e){return e.includes("gradient")?(e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi)??[])[0]??"#000000":e}function Tr(e){if(!e||!e.color)return{};const{color:t,offsetX:n=0,offsetY:o=0,blur:a=0,spread:i=0,inset:r=!1}=e,l=zb(t);return{boxShadow:`${r?"inset ":""}${n}px ${o}px ${a}px ${i}px ${l}`}}function jb(e,t,n){return n==="appBanner"&&t?{backgroundColor:"transparent"}:!e||e==="transparent"?{backgroundColor:e??"transparent"}:e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")?{background:e}:{backgroundColor:e}}function Bb(e){switch(e){case"top":return"bottom";case"top-left":return"bottom-right";case"top-right":return"bottom-left";case"bottom":return"top";case"bottom-left":return"top-right";case"bottom-right":return"top-left";case"left":return"right";case"right":return"left";default:return e}}function Db(e){return e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi)??[]}function Hb(e,t){if(!e||e==="transparent")return"#ffffff";if(!e.includes("gradient"))return e;const n=Db(e);return n.length===0?"#ffffff":t==="right"||t==="bottom"||t==="bottom-left"||t==="bottom-right"?n[n.length-1]:n[0]}function Fb({position:e,color:t}){const a="20px",i={position:"absolute",background:t,pointerEvents:"none",zIndex:2},r="polygon(50% 0, 0 100%, 100% 100%)",l="polygon(0 0, 100% 0, 50% 100%)",s="polygon(100% 0, 100% 100%, 0 50%)",c="polygon(0 0, 0 100%, 100% 50%)";let u;switch(e){case"top":u={top:-8,left:"50%",transform:"translateX(-50%)",width:16,height:8,clipPath:r};break;case"top-left":u={top:-8,left:a,width:16,height:8,clipPath:r};break;case"top-right":u={top:-8,right:a,width:16,height:8,clipPath:r};break;case"bottom":u={bottom:-8,left:"50%",transform:"translateX(-50%)",width:16,height:8,clipPath:l};break;case"bottom-left":u={bottom:-8,left:a,width:16,height:8,clipPath:l};break;case"bottom-right":u={bottom:-8,right:a,width:16,height:8,clipPath:l};break;case"left":u={left:-8,top:"50%",transform:"translateY(-50%)",width:8,height:16,clipPath:s};break;case"right":u={right:-8,top:"50%",transform:"translateY(-50%)",width:8,height:16,clipPath:c};break;default:return null}return g.jsx("div",{"aria-hidden":!0,style:{...i,...u}})}function Gb({color:e,position:t,paddingTop:n,paddingLeft:o,paddingRight:a}){const i=e||"#262626",r=t??"right",l=typeof n=="number"?n:2,u=r==="left"?{left:typeof o=="number"?o:2}:r==="center"?{left:"50%",transform:"translateX(-50%)"}:{right:typeof a=="number"?a:2};return g.jsx("div",{role:"button","aria-label":"Close",tabIndex:0,"data-action":"onCloseStep",style:{position:"absolute",top:l,...u,width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",zIndex:11,cursor:"pointer",lineHeight:0,background:"transparent",border:0},children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:i,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:"none"},children:[g.jsx("line",{x1:"3",y1:"3",x2:"11",y2:"11"}),g.jsx("line",{x1:"11",y1:"3",x2:"3",y2:"11"})]})})}function Ub(){return g.jsx("div",{className:"ahd-branding-footer",style:{display:"block",width:"100%",textAlign:"left",fontSize:11,color:"#8a8a8a",marginTop:8},children:g.jsx("a",{href:Tb,target:"_blank",rel:"noopener noreferrer",style:{color:"inherit",textDecoration:"underline"},children:Mb})})}function Zb(e){var Y,de,oe,ee,Z,J,Ee,we,me,ne,V,U,X,ye;const t=e.childrenIds??[],n=typeof window<"u"&&window.location?window.location.pathname:"",o=n.includes("page")?"page":"",a=n.includes("app-banner"),i=n.includes("demo"),r=n.includes("faq"),l=n.includes("tour"),s=n.includes("tooltip"),c=l||s||i,u=["top-left","top-right","bottom-left","bottom-right","top-center","bottom-center","left-center","right-center","center"],p=a&&(((Y=e.behaviour)==null?void 0:Y.bannerSubType)==="floater"||u.includes((de=e.behaviour)==null?void 0:de.position)),d=a&&((oe=e.behaviour)==null?void 0:oe.bannerSubType)==="modal",h=(c||p||d)&&((ee=e.behaviour)==null?void 0:ee.showCloseIcon)!==!1,b=c&&!0,v=a&&e.linkHref?e.linkHref:null,k=G.useMemo(()=>`ahd-layout-${Pb+=1}`,[]),$=Ib(k,e,o==="page"||r?"100%":a&&!p?"900px":"320px"),w=(a||i)&&!!e.backgroundImage;e.borderRadius;const _=e.borderRadius??0,N=te=>typeof te=="number"?`${te}px`:`${te.topLeft}px ${te.topRight}px ${te.bottomRight}px ${te.bottomLeft}px`,y=(te=>te==null?!1:typeof te=="number"?te>0:(te.topLeft??0)>0||(te.topRight??0)>0||(te.bottomRight??0)>0||(te.bottomLeft??0)>0)(_),R=te=>v?g.jsx("a",{href:v,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",color:"inherit",display:"block"},children:te}):te,M=Lb(e),T=a&&!!((Z=e.boxShadow)!=null&&Z.color)&&!!e.boxShadow.inset,L=a&&!T?Tr(e.boxShadow):{},H=T?Tr(e.boxShadow):{},F=Bb(((J=e.behaviour)==null?void 0:J.position)??"right"),j=c&&!p&&!d&&((Ee=e.behaviour)==null?void 0:Ee.isCaret)!==!1,O=Hb(e.canvasColor,F),q=(((we=e.margin)==null?void 0:we.left)??0)+(((me=e.margin)==null?void 0:me.right)??0),B=q>0?`calc(100% - ${q}px)`:"100%";return R(g.jsxs("div",{className:k,style:{minHeight:"100%",display:"block",alignItems:"center"},children:[$&&g.jsx("style",{dangerouslySetInnerHTML:{__html:$}}),g.jsx("div",{style:{color:e.textColor??"#262626",fontFamily:Ob(e.fontFamily),fontSize:"16px",fontWeight:"400",letterSpacing:"normal",lineHeight:"1.5",margin:"0",minHeight:"100%",width:"100%"},children:g.jsxs("div",{className:"ahd-layout-sizer",style:{position:"relative",margin:"0 auto",...d||p?null:{maxWidth:"100%"}},children:[j&&g.jsx(Fb,{position:F,color:O}),g.jsxs("div",{style:{position:"relative",borderRadius:N(_),...y?{overflowX:"hidden",overflowY:"visible"}:{overflow:"visible"},...L},children:[T&&g.jsx("div",{"aria-hidden":!0,style:{position:"absolute",inset:0,pointerEvents:"none",borderRadius:N(_),zIndex:1,...H}}),h&&g.jsx(Gb,{color:(ne=e.behaviour)==null?void 0:ne.iconCloseColor,position:(V=e.behaviour)==null?void 0:V.closeIconPosition,paddingTop:(U=e.behaviour)==null?void 0:U.closeIconPaddingTop,paddingLeft:(X=e.behaviour)==null?void 0:X.closeIconPaddingLeft,paddingRight:(ye=e.behaviour)==null?void 0:ye.closeIconPaddingRight}),g.jsx("table",{width:"100%",className:"ahd-layout-table",style:{width:B,maxWidth:"100%",boxSizing:"border-box",flex:1,margin:e.margin?`${e.margin.top}px ${e.margin.right}px ${e.margin.bottom}px ${e.margin.left}px`:"0 auto",...d||p?{maxWidth:"100%"}:null,top:e.top||"",left:e.left||"",...jb(e.canvasColor,e.backgroundImage,a?"appBanner":""),borderCollapse:"separate",tableLayout:"fixed",...M,borderRadius:N(_),overflow:y?"clip":"visible",...w?{backgroundImage:`url(${e.backgroundImage})`,backgroundSize:e.backgroundSize??"cover",backgroundPosition:"center",backgroundRepeat:e.backgroundRepeat??"no-repeat"}:{}},role:"presentation",cellSpacing:"0",cellPadding:"0",children:g.jsx("tbody",{children:g.jsx("tr",{style:{width:"100%"},children:g.jsxs("td",{className:"email-layout-content",children:[t.map(te=>g.jsx(ve,{id:te},te)),b&&g.jsx(Ub,{})]})})})})]})]})})]}))}const Wb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),qb=x().regex(/^rgba?\([^\)]+\)$/i),Vb=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Yb=re("transparent"),$n=D([Wb,qb,Vb,Yb]).nullable().optional(),Kb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Jb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Xb=I(["left","center","right"]).optional().nullable(),zn={min:1,max:20},jn={min:4,max:48},hl=e=>typeof e=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e),Qb=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,e0=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,qt=(e,t,n)=>Math.min(Math.max(e,t),n),Pr=e=>e?hl(e)?{backgroundImage:e,backgroundColor:void 0}:{backgroundColor:e??void 0}:{},t0=C({style:C({backgroundColor:$n,textAlign:Xb,padding:Kb,margin:Jb}).optional().nullable(),props:C({stepperType:I(["dots","numeric","both"]).optional().nullable(),totalDots:f().min(zn.min).max(zn.max).optional().nullable(),activeIndex:f().min(1).optional().nullable(),activeColor:$n,inactiveColor:$n,dotSize:f().min(jn.min).max(jn.max).optional().nullable(),dotSpacing:f().min(0).max(40).optional().nullable(),numericColor:$n,numericFontSize:f().min(8).max(48).optional().nullable(),numericPosition:I(["above","below","left","right"]).optional().nullable()}).optional().nullable()}),Ve={stepperType:"dots",totalDots:5,activeIndex:1,activeColor:"#3F73FF",inactiveColor:"#FFFFFF",dotSize:14,dotSpacing:12,numericColor:"#000000",numericFontSize:14,numericPosition:"below"};function n0({style:e,props:t}){const o=al()==="mobile",i=typeof window<"u"&&window.location.pathname.includes("page")&&o,r=qt((t==null?void 0:t.totalDots)??Ve.totalDots,zn.min,zn.max),l=qt((t==null?void 0:t.dotSize)??Ve.dotSize,jn.min,jn.max),s=qt((t==null?void 0:t.dotSpacing)??Ve.dotSpacing,0,40),c=(t==null?void 0:t.activeIndex)??Ve.activeIndex,u=qt(c,1,r),p=(t==null?void 0:t.activeColor)??Ve.activeColor,d=(t==null?void 0:t.inactiveColor)??Ve.inactiveColor,h=(t==null?void 0:t.stepperType)??Ve.stepperType,m=h==="numeric"||h==="both",b=h==="dots"||h==="both",v=(t==null?void 0:t.numericColor)??Ve.numericColor,k=qt((t==null?void 0:t.numericFontSize)??Ve.numericFontSize,8,48),S=(t==null?void 0:t.numericPosition)??Ve.numericPosition,w={...Pr((e==null?void 0:e.backgroundColor)??void 0),padding:Qb(e==null?void 0:e.padding,i),margin:e0(e==null?void 0:e.margin,i),textAlign:(e==null?void 0:e.textAlign)??"center",width:"100%",boxSizing:"border-box"},_=m&&b&&(S==="above"||S==="below"),N={display:"inline-flex",flexDirection:_?"column":"row",alignItems:"center",justifyContent:(e==null?void 0:e.textAlign)==="left"?"flex-start":(e==null?void 0:e.textAlign)==="right"?"flex-end":"center",gap:_?"8px":b?`${s}px`:"0px"},A={display:"inline-flex",gap:`${s}px`,alignItems:"center",flexWrap:"wrap"},y=`${u}/${r}`,R=hl(v),M={fontSize:`${k}px`,fontWeight:500,lineHeight:1,whiteSpace:"nowrap",...R?{backgroundImage:v,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}:{color:v??void 0}},T=()=>m?g.jsx("span",{style:M,children:y}):null,L=()=>g.jsx("div",{style:A,"aria-hidden":"true",children:Array.from({length:r}).map((H,F)=>{const j=F===u-1,O={width:l,height:l,borderRadius:"50%",border:"2px solid #0000001a",transition:"background 120ms ease, transform 120ms ease",transform:j?"scale(1.1)":"scale(1)",...Pr(j?p:d)};return g.jsx("span",{style:O,"data-active":j?"true":"false"},F)})});return g.jsx("div",{className:"stepper-block",style:w,role:"progressbar","aria-valuenow":u,"aria-valuemin":1,"aria-valuemax":r,"aria-valuetext":`Step ${u} of ${r}`,"aria-label":`Step ${u} of ${r}`,children:g.jsxs("div",{style:N,children:[m&&S==="above"&&T(),m&&S==="left"&&T(),b&&L(),m&&S==="right"&&T(),m&&S==="below"&&T()]})})}const o0=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),a0=x().regex(/^rgba?\([^\)]+\)$/i),r0=re("transparent"),go=D([o0,a0,r0]).nullable().optional(),fl=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),i0=fl,l0=I(["left","center","right"]).optional().nullable(),s0=["disc","circle","square","dash","arrow","check","cross","none"],c0=["decimal","decimal-zero","lower-alpha","upper-alpha","lower-roman","upper-roman"],Or={disc:"●",circle:"○",square:"■",dash:"–",arrow:"➤",check:"✓",cross:"✗"},u0=C({text:x()}),d0=C({style:C({color:go,backgroundColor:go,textAlign:l0,fontSize:f().min(8).max(72).optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:D([f(),x()]).optional().nullable(),lineHeight:f().min(1).max(3).optional().nullable(),padding:fl,margin:i0}).optional().nullable(),props:C({listType:I(["unordered","ordered"]).optional().nullable(),marker:I([...s0,...c0]).optional().nullable(),numberSuffix:ol(e=>e===""?void 0:e,I([".",")"]).optional().nullable()),startNumber:f().min(0).max(9999).optional().nullable(),markerColor:go,markerSize:f().min(8).max(72).optional().nullable(),itemGap:f().min(0).max(64).optional().nullable(),items:W(u0).optional().nullable()}).optional().nullable(),responsive:Te}),dt={listType:"unordered",marker:"disc",numberSuffix:".",startNumber:1,markerColor:null,markerSize:16,itemGap:8,items:[{text:"First list item"},{text:"Second list item"},{text:"Third list item"}]},Lr=(e,t,n)=>Math.min(Math.max(e,t),n),zr=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,jr=e=>{if(e<=0)return String(e);const t=[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]];let n="",o=e;for(const[a,i]of t)for(;o>=a;)n+=i,o-=a;return n},Br=e=>{let t=e,n="";for(;t>0;){const o=(t-1)%26;n=String.fromCharCode(97+o)+n,t=Math.floor((t-1)/26)}return n||"a"},h0=(e,t,n,o)=>{const a=n+t;switch(e){case"decimal-zero":return`${String(a).padStart(2,"0")}${o}`;case"lower-alpha":return`${Br(a)}${o}`;case"upper-alpha":return`${Br(a).toUpperCase()}${o}`;case"lower-roman":return`${jr(a).toLowerCase()}${o}`;case"upper-roman":return`${jr(a)}${o}`;case"decimal":default:return`${a}${o}`}};function f0({style:e,props:t}){var v;const o=((t==null?void 0:t.listType)??dt.listType)==="ordered",a=(t==null?void 0:t.marker)??(o?"decimal":dt.marker),i=(t==null?void 0:t.numberSuffix)??dt.numberSuffix,r=(t==null?void 0:t.startNumber)??dt.startNumber,l=(t==null?void 0:t.markerColor)??dt.markerColor,s=Lr((t==null?void 0:t.markerSize)??dt.markerSize,8,72),c=Lr((t==null?void 0:t.itemGap)??dt.itemGap,0,64),u=(v=t==null?void 0:t.items)!=null&&v.length?t.items:dt.items.map(k=>({...k})),p=(e==null?void 0:e.color)??void 0,d={backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,padding:zr(e==null?void 0:e.padding),margin:zr(e==null?void 0:e.margin),width:"100%",boxSizing:"border-box"},h={color:p,textAlign:(e==null?void 0:e.textAlign)??"left",fontSize:e!=null&&e.fontSize?`${e.fontSize}px`:void 0,fontFamily:(e==null?void 0:e.fontFamily)??void 0,fontWeight:(e==null?void 0:e.fontWeight)??void 0,lineHeight:(e==null?void 0:e.lineHeight)??1.5},m={verticalAlign:"top",paddingRight:"8px",whiteSpace:"nowrap",color:l??p,fontSize:`${s}px`,lineHeight:(e==null?void 0:e.lineHeight)??1.5},b=k=>a==="none"?null:o?h0(a,k,r,i):Or[a]??Or.disc;return g.jsx("div",{className:"list-block",style:d,children:g.jsx("table",{role:"presentation",cellPadding:0,cellSpacing:0,style:{borderCollapse:"collapse",width:"100%"},children:g.jsx("tbody",{children:u.map((k,S)=>{const $=b(S);return g.jsxs("tr",{children:[a!=="none"&&g.jsx("td",{style:m,children:$}),g.jsx("td",{style:{...h,paddingBottom:S<u.length-1?`${c}px`:0,width:"100%"},children:k.text})]},S)})})})})}const p0=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),m0=x().regex(/^rgba?\([^\)]+\)$/i),g0=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),b0=re("transparent"),v0=D([p0,m0,g0,b0]).nullable().optional(),x0=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Zo=C({style:C({backgroundColor:v0,padding:x0}).optional().nullable(),props:C({direction:I(["row","column"]).optional().nullable(),directionTablet:I(["row","column"]).optional().nullable(),directionMobile:I(["row","column"]).optional().nullable(),gap:f().optional().nullable(),gapTablet:f().optional().nullable(),gapMobile:f().optional().nullable(),alignment:I(["start","center","end","space-between"]).optional().nullable(),alignmentTablet:I(["start","center","end","space-between"]).optional().nullable(),alignmentMobile:I(["start","center","end","space-between"]).optional().nullable(),wrap:P().optional().nullable(),ariaLabel:x().optional().nullable()}).optional().nullable(),responsive:Te}),Cn={direction:"row",gap:12,alignment:"start",wrap:!0},Bn={start:"flex-start",center:"center",end:"flex-end","space-between":"space-between"},S0=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function Dr(e,t,n,o){const a=e==="row"?Bn[t]:"flex-start",i=e==="column"?Bn[t]:"center";return`flex-direction:${e}!important;justify-content:${a}!important;align-items:${i}!important;flex-wrap:${e==="row"&&n?"wrap":"nowrap"}!important;gap:${o}px!important;`}let w0=0;function k0({style:e,buttons:t,props:n}){const o=(n==null?void 0:n.direction)??Cn.direction,a=(n==null?void 0:n.directionTablet)??o,i=(n==null?void 0:n.directionMobile)??a,r=(n==null?void 0:n.gap)??Cn.gap,l=(n==null?void 0:n.gapTablet)??r,s=(n==null?void 0:n.gapMobile)??l,c=(n==null?void 0:n.alignment)??Cn.alignment,u=(n==null?void 0:n.alignmentTablet)??c,p=(n==null?void 0:n.alignmentMobile)??u,d=(n==null?void 0:n.wrap)??Cn.wrap,h=(n==null?void 0:n.ariaLabel)??void 0,m=o,b=c,k={display:"flex",flexDirection:m,gap:`${r}px`,justifyContent:m==="row"?Bn[b]:"flex-start",alignItems:m==="column"?Bn[b]:"center",flexWrap:m==="row"&&d?"wrap":"nowrap",background:(e==null?void 0:e.backgroundColor)??void 0,padding:S0(e==null?void 0:e.padding),boxSizing:"border-box",width:"100%"},S=G.useMemo(()=>`ahd-bg-${w0+=1}`,[]),$=G.useMemo(()=>{const w=`.${S}`;let _="";return(a!==o||u!==c||l!==r)&&(_+=`@media (max-width:${je}px){${w}{${Dr(a,u,d,l)}}}`),(i!==a||p!==u||s!==l)&&(_+=`@media (max-width:${Ae}px){${w}{${Dr(i,p,d,s)}}}`),_},[S,o,a,i,c,u,p,r,l,s,d]);return g.jsxs("div",{className:`button-group ${S}`,style:k,role:"group","aria-label":h,children:[$&&g.jsx("style",{dangerouslySetInnerHTML:{__html:$}}),t]})}const _0=Zo.shape.props.unwrap().unwrap().shape,$0=C({style:Zo.shape.style,props:C({..._0,childrenIds:W(x()).optional().nullable()}).optional().nullable(),responsive:Zo.shape.responsive});function C0({style:e,props:t}){const{childrenIds:n,...o}=t??{},a=(n??[]).map(i=>g.jsx(ve,{id:i},i));return g.jsx(k0,{style:e,props:o,buttons:a})}const A0=C({titleChildrenIds:W(x()).optional().nullable(),contentChildrenIds:W(x()).optional().nullable()}),y0=C({responsive:Te,style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),marginBottom:f().optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable()}).optional().nullable(),props:C({items:W(A0).min(1).max(25).optional().nullable(),iconColor:x().optional().nullable(),iconSize:f().optional().nullable(),defaultOpen:P().optional().nullable(),activeBorderColor:x().optional().nullable()}).optional().nullable()});function N0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}const Hr=e=>typeof e=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e);function R0(e,t){if(!e)return;const n=Math.max(t.top,t.right,t.bottom,t.left),o=e.split(" ").map(a=>Math.max(0,parseFloat(a)-n));return o.length===1?`${o[0]}px`:o.map(a=>`${a}px`).join(" ")}function E0({style:e,props:t}){const n=G.useMemo(()=>{const $=t==null?void 0:t.items;return!$||$.length===0?{titleChildrenIds:[],contentChildrenIds:[]}:{titleChildrenIds:$[0].titleChildrenIds??[],contentChildrenIds:$[0].contentChildrenIds??[]}},[t==null?void 0:t.items]),o=G.useMemo(()=>`email-accordion-${Math.random().toString(36).slice(2,9)}`,[]),a=`${o}-content`,i=e==null?void 0:e.padding,r=e==null?void 0:e.margin,l=((r==null?void 0:r.left)??0)+((r==null?void 0:r.right)??0),s=t==null?void 0:t.activeBorderColor,c=e==null?void 0:e.borderColor,u=(e==null?void 0:e.borderWidth)??{top:1,right:1,bottom:1,left:1},p=`${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`,d=N0(e==null?void 0:e.borderRadius),h=Hr(c),m=Hr(s),b=h||m,v={width:l>0?`calc(100% - ${l}px)`:"100%",boxSizing:"border-box",borderRadius:d,margin:r?`${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`:void 0,boxShadow:"none"};(e==null?void 0:e.borderRadius)!=null&&(v.overflow="hidden"),b?(v.padding=p,h?v.background=c:c&&(v.borderStyle="solid",v.borderColor=c,v.borderWidth=p)):c&&(v.borderStyle="solid",v.borderColor=c,v.borderWidth=p);const k={background:(e==null?void 0:e.backgroundColor)??(b?"#ffffff":void 0),borderRadius:b?R0(d,u):void 0,padding:i?`${i.top}px ${i.right}px ${i.bottom}px ${i.left}px`:void 0,overflow:b&&(e==null?void 0:e.borderRadius)!=null?"hidden":void 0},S=[];return s&&(m?S.push(`#${o}:checked + .email-accordion-root { background:${s}; border-style:none; padding:${p}; }`):S.push(`#${o}:checked + .email-accordion-root { background:none; border-style:solid; border-color:${s}; border-width:${p}; ${b?"padding:0;":""} }`)),g.jsxs("div",{className:"accordion-block",style:{marginBottom:(e==null?void 0:e.marginBottom)!=null?`${e.marginBottom}px`:"5px"},children:[g.jsx("style",{children:`
230
+ `)||null,qe=Yn(e==null?void 0:e.boxShadow),Pe=ae=>{if(ae!=null)return typeof ae=="number"?`${ae}px`:`${ae.topLeft}px ${ae.topRight}px ${ae.bottomRight}px ${ae.bottomLeft}px`},ke=(e==null?void 0:e.borderColor)??null,it=(e==null?void 0:e.borderWidth)??null,bt=db(ke,it),Ne=cb((e==null?void 0:e.backgroundColor)??""),Se=(e==null?void 0:e.backgroundSize)==="none",ie=!Se&&(e!=null&&e.backgroundImage)?`url(${e.backgroundImage})`:void 0,be=ub(e==null?void 0:e.backgroundColor,ie),Ie=Se?void 0:(e==null?void 0:e.backgroundSize)??void 0,Ft=(e==null?void 0:e.backgroundRepeat)??"no-repeat",lt=ke&&(ke.includes("linear-gradient")||ke.includes("radial-gradient")||ke.includes("repeating-linear-gradient")),Fe=Ee!=null,st=Fe?{"--ahd-cb-h":`${Ee}px`}:{},Me=Fe?" container-block-has-height":"";if(lt){const ae={...bt,borderRadius:Pe(e==null?void 0:e.borderRadius),width:me,maxWidth:"100%",height:Fe?`${Ee}px`:void 0,boxSizing:"border-box",...oe(R,e==null?void 0:e.margin,we==="100%"),...qe,...st},le={...Ne,backgroundImage:be,backgroundSize:Ie,backgroundRepeat:Ft,borderRadius:hb((e==null?void 0:e.borderRadius)??0,it),overflow:_?"auto":"hidden",padding:Mr(e==null?void 0:e.padding),width:"100%",height:Fe?"100%":void 0,boxSizing:"border-box"},Ge=`container-block${_?" container-block-overflow":""}${Me}${X?` ${X}`:""}`,Qe=`container-block-inner${_?" container-block-overflow":""}`,et=j?{...ae,...B.style}:ae;return g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Ge,"aria-label":M,id:T,...B,style:et,children:g.jsx("div",{className:Qe,style:le,children:n})})]})}const _t={...Ne,backgroundImage:be,backgroundSize:Ie,backgroundRepeat:Ft,...bt,borderRadius:Pe(e==null?void 0:e.borderRadius),padding:Mr(e==null?void 0:e.padding),...oe(R,e==null?void 0:e.margin,we==="100%"),width:me,maxWidth:"100%",height:Fe?`${Ee}px`:void 0,overflow:_?"auto":void 0,boxSizing:"border-box",..._?{}:{display:"flow-root"},...qe,...st},Gt=`container-block${_?" container-block-overflow":""}${Me}${X?` ${X}`:""}`,gn=j?{..._t,...B.style}:_t;return n?g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Gt,"aria-label":M,id:T,...B,style:gn,children:n})]}):g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Gt,"aria-label":M,id:T,...B,style:gn})]})}const gb=C({style:fb.shape.style,responsive:Te,props:C({childrenIds:W(x()).optional().nullable(),fullWidth:P().optional().nullable(),widthType:I(["fixed","fill","fit"]).optional().nullable(),widthTypeTablet:I(["fixed","fill","fit"]).optional().nullable(),widthTypeMobile:I(["fixed","fill","fit"]).optional().nullable(),width:f().min(0).optional().nullable(),widthUnit:I(["px","%"]).optional().nullable(),widthTablet:f().min(0).optional().nullable(),widthMobile:f().min(0).optional().nullable(),height:f().min(0).optional().nullable(),heightTablet:f().min(0).optional().nullable(),heightMobile:f().min(0).optional().nullable(),overflow:P().optional().nullable(),alignment:I(["left","center","right"]).optional().nullable(),alignmentTablet:I(["left","center","right"]).optional().nullable(),alignmentMobile:I(["left","center","right"]).optional().nullable(),tag:I(["div","section","article","nav","aside","header","footer","main"]).optional().nullable(),ariaLabel:x().optional().nullable(),elementId:x().optional().nullable(),showLink:P().optional().nullable(),linkHref:x().optional().nullable(),linkTarget:I(["_self","_blank"]).optional().nullable(),animation:un,hoverEffect:Ia}).optional().nullable()});function bb({style:e,props:t}){const n=(t==null?void 0:t.childrenIds)??[];return g.jsx(mb,{style:e,props:{fullWidth:(t==null?void 0:t.fullWidth)??void 0,widthType:(t==null?void 0:t.widthType)??void 0,widthTypeTablet:(t==null?void 0:t.widthTypeTablet)??void 0,widthTypeMobile:(t==null?void 0:t.widthTypeMobile)??void 0,width:(t==null?void 0:t.width)??void 0,widthUnit:(t==null?void 0:t.widthUnit)??void 0,widthTablet:(t==null?void 0:t.widthTablet)??void 0,widthMobile:(t==null?void 0:t.widthMobile)??void 0,height:(t==null?void 0:t.height)??void 0,heightTablet:(t==null?void 0:t.heightTablet)??void 0,heightMobile:(t==null?void 0:t.heightMobile)??void 0,overflow:(t==null?void 0:t.overflow)??void 0,alignment:(t==null?void 0:t.alignment)??void 0,alignmentTablet:(t==null?void 0:t.alignmentTablet)??void 0,alignmentMobile:(t==null?void 0:t.alignmentMobile)??void 0,tag:(t==null?void 0:t.tag)??void 0,ariaLabel:(t==null?void 0:t.ariaLabel)??void 0,elementId:(t==null?void 0:t.elementId)??void 0,showLink:(t==null?void 0:t.showLink)??void 0,linkHref:(t==null?void 0:t.linkHref)??void 0,linkTarget:(t==null?void 0:t.linkTarget)??void 0,hoverEffect:(t==null?void 0:t.hoverEffect)??void 0},children:n.map(o=>g.jsx(ve,{id:o},o))})}const vb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),xb=x().regex(/^rgba?\([^\)]+\)$/i),Sb=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),wb=re("transparent"),Et=D([vb,xb,Sb,wb]).nullable().optional(),kb=I(["MODERN_SANS","BOOK_SANS","ORGANIC_SANS","GEOMETRIC_SANS","HEAVY_SANS","ROUNDED_SANS","MODERN_SERIF","BOOK_SERIF","MONOSPACE","ROBOTO","OPEN_SANS","LATO","POPPINS","INTER","MONTSERRAT","RALEWAY","NUNITO","PLAYFAIR_DISPLAY","MERRIWEATHER","PT_SANS","OSWALD","SOURCE_SANS_PRO","RUBIK","WORK_SANS","NOTO_SANS","DANCING_SCRIPT","PACIFICO","LOBSTER","BEBAS_NEUE"]).nullable().optional(),_b=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),ho=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),fo=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),$b=x().regex(/^(auto|cover|contain|inherit|initial|revert-layer|revert|unset|\d+(px|em|rem|%)?(\s+\d+(px|em|rem|%)?)?)$/i,"Invalid CSS background-size value").nullable().optional(),Cb=C({color:Et,offsetX:f().default(0),offsetY:f().default(0),blur:f().default(0),spread:f().default(0),inset:P().default(!1)}).partial().optional().nullable(),Ab=C({position:I(["top","top-left","top-right","top-center","bottom","bottom-left","bottom-right","bottom-center","center","left","left-center","right","right-center"]).optional().default("right"),isCaret:P().optional().default(!0),selector:x().optional().default(""),showCloseIcon:P().optional(),iconCloseColor:Et,closeIconPosition:I(["left","center","right"]).optional(),closeIconPaddingTop:f().optional(),closeIconPaddingLeft:f().optional(),closeIconPaddingRight:f().optional(),bannerSubType:x().optional()}).passthrough().optional().nullable(),yb=W(C({id:x(),name:x(),type:x().optional().default("text"),value:x().optional()})).optional().nullable(),Nb=C({formFields:yb,backdropColor:Et.default(null),borderColor:Et.default(null),borderRadius:f().optional().nullable(),canvasColor:Et.default(null),textColor:Et,fontFamily:kb,childrenIds:W(x()).optional().nullable(),maxWidth:x().default(""),maxHeight:x().default(""),top:x().default(""),left:x().default(""),padding:ho,margin:fo,maxWidthTablet:x().optional().nullable(),maxWidthMobile:x().optional().nullable(),maxHeightTablet:x().optional().nullable(),maxHeightMobile:x().optional().nullable(),paddingTablet:ho,paddingMobile:ho,marginTablet:fo,marginMobile:fo,borderWidth:_b,boxShadow:Cb,behaviour:Ab,linkHref:x().optional().default(""),backgroundImage:x().default("").nullable().optional(),backgroundSize:$b,backgroundRepeat:I(["repeat","no-repeat"]).optional().nullable()});function Nt(e){return!(e==null||typeof e=="string"&&e.trim()==="")}function _n(e,t,n){const o=e??{},a=o[t];if(n==="desktop")return Nt(a)?a:null;const i=o[`${t}Tablet`];if(n==="tablet")return Nt(i)?i:Nt(a)?a:null;const r=o[`${t}Mobile`];return Nt(r)?r:Nt(i)?i:Nt(a)?a:null}function po(e,t){return{maxWidth:_n(e,"maxWidth",t)??null,maxHeight:_n(e,"maxHeight",t)??null,padding:_n(e,"padding",t)??null,margin:_n(e,"margin",t)??null}}function Rb(e){return`${e.top??0}px ${e.right??0}px ${e.bottom??0}px ${e.left??0}px`}function Eb(e){return`${e.top??0}px ${e.right??0}px ${e.bottom??0}px ${e.left??0}px`}function mo(e,t){const n=[];return t.maxWidth&&(n.push(`${e.width}{width:${t.maxWidth};max-width:100%;}`),n.push(`${e.table}{max-width:${t.maxWidth};min-width:0;}`)),t.maxHeight&&n.push(`${e.table}{height:${t.maxHeight};}`),t.padding&&n.push(`${e.padding}{padding:${Rb(t.padding)};}`),t.margin&&n.push(`${e.margin}{margin:${Eb(t.margin)};}`),n.join("")}function Ib(e,t,n){const o=`.${e}`,a={width:`${o} .ahd-layout-sizer`,table:`${o} .ahd-layout-table`,padding:`${o} .email-layout-content`,margin:`${o} .email-layout-content`},i=po(t,"desktop"),r=mo(a,{...i,maxWidth:i.maxWidth??n??null}),l=mo(a,po(t,"tablet")),s=mo(a,po(t,"mobile")),c=(u,p)=>p?`@media (max-width:${u}px){${p}}@container ahd-page (max-width:${u}px){${p}}`:"";return[r,c(je,l),c(Ae,s)].filter(Boolean).join("")}const Mb="Made with Page Pilot",Tb="https://pagepilot.fabbuilder.com";let Pb=0;function Ob(e){switch(e??"MODERN_SANS"){case"MODERN_SANS":return'Inter, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif';case"BOOK_SANS":return'Optima, Candara, "Noto Sans", source-sans-pro, sans-serif';case"ORGANIC_SANS":return'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif';case"GEOMETRIC_SANS":return'Avenir, "Avenir Next LT Pro", Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif';case"HEAVY_SANS":return'Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", sans-serif-condensed, sans-serif';case"ROUNDED_SANS":return'ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif';case"MODERN_SERIF":return'Charter, "Bitstream Charter", "Sitka Text", Cambria, serif';case"BOOK_SERIF":return'"Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif';case"MONOSPACE":return'"Nimbus Mono PS", "Courier New", "Cutive Mono", monospace';case"ROBOTO":return'Roboto, "Helvetica Neue", Arial, sans-serif';case"OPEN_SANS":return'"Open Sans", "Helvetica Neue", Arial, sans-serif';case"LATO":return'Lato, "Helvetica Neue", Arial, sans-serif';case"POPPINS":return'Poppins, "Helvetica Neue", Arial, sans-serif';case"INTER":return'Inter, "Helvetica Neue", Arial, sans-serif';case"MONTSERRAT":return'Montserrat, "Helvetica Neue", Arial, sans-serif';case"RALEWAY":return'Raleway, "Helvetica Neue", Arial, sans-serif';case"NUNITO":return'Nunito, "Helvetica Neue", Arial, sans-serif';case"PLAYFAIR_DISPLAY":return'"Playfair Display", Georgia, serif';case"MERRIWEATHER":return"Merriweather, Georgia, serif";case"PT_SANS":return'"PT Sans", "Helvetica Neue", Arial, sans-serif';case"OSWALD":return'Oswald, "Helvetica Neue", Arial, sans-serif';case"SOURCE_SANS_PRO":return'"Source Sans Pro", "Helvetica Neue", Arial, sans-serif';case"RUBIK":return'Rubik, "Helvetica Neue", Arial, sans-serif';case"WORK_SANS":return'"Work Sans", "Helvetica Neue", Arial, sans-serif';case"NOTO_SANS":return'"Noto Sans", "Helvetica Neue", Arial, sans-serif';case"DANCING_SCRIPT":return'"Dancing Script", cursive, sans-serif';case"PACIFICO":return"Pacifico, cursive, sans-serif";case"LOBSTER":return"Lobster, cursive, sans-serif";case"BEBAS_NEUE":return'"Bebas Neue", cursive, sans-serif'}}function Lb(e){const{borderColor:t,borderWidth:n,borderRadius:o}=e;if(!t)return{};if(t==="transparent")return{border:"none"};const a=t&&(t.includes("linear-gradient")||t.includes("radial-gradient")||t.includes("repeating-linear-gradient")),i=o??0,r=s=>typeof s=="number"?`${s}px`:`${s.topLeft}px ${s.topRight}px ${s.bottomRight}px ${s.bottomLeft}px`;if(((n==null?void 0:n.top)??0)+((n==null?void 0:n.right)??0)+((n==null?void 0:n.bottom)??0)+((n==null?void 0:n.left)??0)===0)return{borderRadius:i?r(i):void 0};if(a){const s=e.canvasColor,c=!s||s==="transparent"?"linear-gradient(transparent, transparent)":s.includes("gradient")?s:`linear-gradient(${s}, ${s})`;return{borderStyle:"solid",borderTopWidth:`${(n==null?void 0:n.top)??0}px`,borderRightWidth:`${(n==null?void 0:n.right)??0}px`,borderBottomWidth:`${(n==null?void 0:n.bottom)??0}px`,borderLeftWidth:`${(n==null?void 0:n.left)??0}px`,borderColor:"transparent",backgroundImage:`${c}, ${t}`,backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box",borderRadius:i?r(i):void 0}}return{borderTop:`${(n==null?void 0:n.top)||0}px solid ${t}`,borderRight:`${(n==null?void 0:n.right)||0}px solid ${t}`,borderBottom:`${(n==null?void 0:n.bottom)||0}px solid ${t}`,borderLeft:`${(n==null?void 0:n.left)||0}px solid ${t}`,borderRadius:i?r(i):void 0}}function zb(e){return e.includes("gradient")?(e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi)??[])[0]??"#000000":e}function Tr(e){if(!e||!e.color)return{};const{color:t,offsetX:n=0,offsetY:o=0,blur:a=0,spread:i=0,inset:r=!1}=e,l=zb(t);return{boxShadow:`${r?"inset ":""}${n}px ${o}px ${a}px ${i}px ${l}`}}function jb(e,t,n){return n==="appBanner"&&t?{backgroundColor:"transparent"}:!e||e==="transparent"?{backgroundColor:e??"transparent"}:e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")?{background:e}:{backgroundColor:e}}function Bb(e){switch(e){case"top":return"bottom";case"top-left":return"bottom-right";case"top-right":return"bottom-left";case"bottom":return"top";case"bottom-left":return"top-right";case"bottom-right":return"top-left";case"left":return"right";case"right":return"left";default:return e}}function Db(e){return e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi)??[]}function Hb(e,t){if(!e||e==="transparent")return"#ffffff";if(!e.includes("gradient"))return e;const n=Db(e);return n.length===0?"#ffffff":t==="right"||t==="bottom"||t==="bottom-left"||t==="bottom-right"?n[n.length-1]:n[0]}function Fb({position:e,color:t}){const a="20px",i={position:"absolute",background:t,pointerEvents:"none",zIndex:2},r="polygon(50% 0, 0 100%, 100% 100%)",l="polygon(0 0, 100% 0, 50% 100%)",s="polygon(100% 0, 100% 100%, 0 50%)",c="polygon(0 0, 0 100%, 100% 50%)";let u;switch(e){case"top":u={top:-8,left:"50%",transform:"translateX(-50%)",width:16,height:8,clipPath:r};break;case"top-left":u={top:-8,left:a,width:16,height:8,clipPath:r};break;case"top-right":u={top:-8,right:a,width:16,height:8,clipPath:r};break;case"bottom":u={bottom:-8,left:"50%",transform:"translateX(-50%)",width:16,height:8,clipPath:l};break;case"bottom-left":u={bottom:-8,left:a,width:16,height:8,clipPath:l};break;case"bottom-right":u={bottom:-8,right:a,width:16,height:8,clipPath:l};break;case"left":u={left:-8,top:"50%",transform:"translateY(-50%)",width:8,height:16,clipPath:s};break;case"right":u={right:-8,top:"50%",transform:"translateY(-50%)",width:8,height:16,clipPath:c};break;default:return null}return g.jsx("div",{"aria-hidden":!0,style:{...i,...u}})}function Gb({color:e,position:t,paddingTop:n,paddingLeft:o,paddingRight:a}){const i=e||"#262626",r=t??"right",l=typeof n=="number"?n:2,u=r==="left"?{left:typeof o=="number"?o:2}:r==="center"?{left:"50%",transform:"translateX(-50%)"}:{right:typeof a=="number"?a:2};return g.jsx("div",{role:"button","aria-label":"Close",tabIndex:0,"data-action":"onCloseStep",style:{position:"absolute",top:l,...u,width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",zIndex:11,cursor:"pointer",lineHeight:0,background:"transparent",border:0},children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:i,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:"none"},children:[g.jsx("line",{x1:"3",y1:"3",x2:"11",y2:"11"}),g.jsx("line",{x1:"11",y1:"3",x2:"3",y2:"11"})]})})}function Ub(){return g.jsx("div",{className:"ahd-branding-footer",style:{display:"block",width:"100%",textAlign:"left",fontSize:11,color:"#8a8a8a",marginTop:8},children:g.jsx("a",{href:Tb,target:"_blank",rel:"noopener noreferrer",style:{color:"inherit",textDecoration:"underline"},children:Mb})})}function Zb(e){var Y,de,oe,ee,Z,J,Ee,we,me,ne,V,U,X,ye;const t=e.childrenIds??[],n=typeof window<"u"&&window.location?window.location.pathname:"",o=n.includes("page")?"page":"",a=n.includes("app-banner"),i=n.includes("demo"),r=n.includes("faq"),l=n.includes("tour"),s=n.includes("tooltip"),c=l||s||i,u=["top-left","top-right","bottom-left","bottom-right","top-center","bottom-center","left-center","right-center","center"],p=a&&(((Y=e.behaviour)==null?void 0:Y.bannerSubType)==="floater"||u.includes((de=e.behaviour)==null?void 0:de.position)),d=a&&((oe=e.behaviour)==null?void 0:oe.bannerSubType)==="modal",h=(c||p||d)&&((ee=e.behaviour)==null?void 0:ee.showCloseIcon)!==!1,b=c&&!0,v=a&&e.linkHref?e.linkHref:null,k=G.useMemo(()=>`ahd-layout-${Pb+=1}`,[]),$=Ib(k,e,o==="page"||r?"100%":a&&!p?"900px":"320px"),w=(a||i)&&!!e.backgroundImage;e.borderRadius;const _=e.borderRadius??0,N=te=>typeof te=="number"?`${te}px`:`${te.topLeft}px ${te.topRight}px ${te.bottomRight}px ${te.bottomLeft}px`,y=(te=>te==null?!1:typeof te=="number"?te>0:(te.topLeft??0)>0||(te.topRight??0)>0||(te.bottomRight??0)>0||(te.bottomLeft??0)>0)(_),R=te=>v?g.jsx("a",{href:v,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",color:"inherit",display:"block"},children:te}):te,M=Lb(e),T=a&&!!((Z=e.boxShadow)!=null&&Z.color)&&!!e.boxShadow.inset,L=a&&!T?Tr(e.boxShadow):{},H=T?Tr(e.boxShadow):{},F=Bb(((J=e.behaviour)==null?void 0:J.position)??"right"),j=c&&!p&&!d&&((Ee=e.behaviour)==null?void 0:Ee.isCaret)!==!1,O=Hb(e.canvasColor,F),q=(((we=e.margin)==null?void 0:we.left)??0)+(((me=e.margin)==null?void 0:me.right)??0),B=q>0?`calc(100% - ${q}px)`:"100%";return R(g.jsxs("div",{className:k,style:{minHeight:"100%",display:"block",alignItems:"center"},children:[$&&g.jsx("style",{dangerouslySetInnerHTML:{__html:$}}),g.jsx("div",{style:{color:e.textColor??"#262626",fontFamily:Ob(e.fontFamily),fontSize:"16px",fontWeight:"400",letterSpacing:"normal",lineHeight:"1.5",margin:"0",minHeight:"100%",width:"100%"},children:g.jsxs("div",{className:"ahd-layout-sizer",style:{position:"relative",margin:"0 auto",...d||p?null:{maxWidth:"100%"}},children:[j&&g.jsx(Fb,{position:F,color:O}),g.jsxs("div",{style:{position:"relative",borderRadius:N(_),...y?{overflowX:"hidden",overflowY:"visible"}:{overflow:"visible"},...L},children:[T&&g.jsx("div",{"aria-hidden":!0,style:{position:"absolute",inset:0,pointerEvents:"none",borderRadius:N(_),zIndex:1,...H}}),h&&g.jsx(Gb,{color:(ne=e.behaviour)==null?void 0:ne.iconCloseColor,position:(V=e.behaviour)==null?void 0:V.closeIconPosition,paddingTop:(U=e.behaviour)==null?void 0:U.closeIconPaddingTop,paddingLeft:(X=e.behaviour)==null?void 0:X.closeIconPaddingLeft,paddingRight:(ye=e.behaviour)==null?void 0:ye.closeIconPaddingRight}),g.jsx("table",{width:"100%",className:"ahd-layout-table",style:{width:B,maxWidth:"100%",boxSizing:"border-box",flex:1,margin:e.margin?`${e.margin.top}px ${e.margin.right}px ${e.margin.bottom}px ${e.margin.left}px`:"0 auto",...d||p?{maxWidth:"100%"}:null,top:e.top||"",left:e.left||"",...jb(e.canvasColor,e.backgroundImage,a?"appBanner":""),borderCollapse:"separate",tableLayout:"fixed",...M,borderRadius:N(_),overflow:y?"clip":"visible",...w?{backgroundImage:`url(${e.backgroundImage})`,backgroundSize:e.backgroundSize??"cover",backgroundPosition:"center",backgroundRepeat:e.backgroundRepeat??"no-repeat"}:{}},role:"presentation",cellSpacing:"0",cellPadding:"0",children:g.jsx("tbody",{children:g.jsx("tr",{style:{width:"100%"},children:g.jsxs("td",{className:"email-layout-content",children:[t.map(te=>g.jsx(ve,{id:te},te)),b&&g.jsx(Ub,{})]})})})})]})]})})]}))}const Wb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),qb=x().regex(/^rgba?\([^\)]+\)$/i),Vb=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Yb=re("transparent"),$n=D([Wb,qb,Vb,Yb]).nullable().optional(),Kb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Jb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Xb=I(["left","center","right"]).optional().nullable(),zn={min:1,max:20},jn={min:4,max:48},hl=e=>typeof e=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e),Qb=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,e0=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,qt=(e,t,n)=>Math.min(Math.max(e,t),n),Pr=e=>e?hl(e)?{backgroundImage:e,backgroundColor:void 0}:{backgroundColor:e??void 0}:{},t0=C({style:C({backgroundColor:$n,textAlign:Xb,padding:Kb,margin:Jb}).optional().nullable(),props:C({stepperType:I(["dots","numeric","both"]).optional().nullable(),totalDots:f().min(zn.min).max(zn.max).optional().nullable(),activeIndex:f().min(1).optional().nullable(),activeColor:$n,inactiveColor:$n,dotSize:f().min(jn.min).max(jn.max).optional().nullable(),dotSpacing:f().min(0).max(40).optional().nullable(),numericColor:$n,numericFontSize:f().min(8).max(48).optional().nullable(),numericPosition:I(["above","below","left","right"]).optional().nullable()}).optional().nullable()}),Ve={stepperType:"dots",totalDots:5,activeIndex:1,activeColor:"#3F73FF",inactiveColor:"#FFFFFF",dotSize:14,dotSpacing:12,numericColor:"#000000",numericFontSize:14,numericPosition:"below"};function n0({style:e,props:t}){const o=al()==="mobile",i=typeof window<"u"&&window.location.pathname.includes("page")&&o,r=qt((t==null?void 0:t.totalDots)??Ve.totalDots,zn.min,zn.max),l=qt((t==null?void 0:t.dotSize)??Ve.dotSize,jn.min,jn.max),s=qt((t==null?void 0:t.dotSpacing)??Ve.dotSpacing,0,40),c=(t==null?void 0:t.activeIndex)??Ve.activeIndex,u=qt(c,1,r),p=(t==null?void 0:t.activeColor)??Ve.activeColor,d=(t==null?void 0:t.inactiveColor)??Ve.inactiveColor,h=(t==null?void 0:t.stepperType)??Ve.stepperType,m=h==="numeric"||h==="both",b=h==="dots"||h==="both",v=(t==null?void 0:t.numericColor)??Ve.numericColor,k=qt((t==null?void 0:t.numericFontSize)??Ve.numericFontSize,8,48),S=(t==null?void 0:t.numericPosition)??Ve.numericPosition,w={...Pr((e==null?void 0:e.backgroundColor)??void 0),padding:Qb(e==null?void 0:e.padding,i),margin:e0(e==null?void 0:e.margin,i),textAlign:(e==null?void 0:e.textAlign)??"center",width:"100%",boxSizing:"border-box"},_=m&&b&&(S==="above"||S==="below"),N={display:"inline-flex",flexDirection:_?"column":"row",alignItems:"center",justifyContent:(e==null?void 0:e.textAlign)==="left"?"flex-start":(e==null?void 0:e.textAlign)==="right"?"flex-end":"center",gap:_?"8px":b?`${s}px`:"0px"},A={display:"inline-flex",gap:`${s}px`,alignItems:"center",flexWrap:"wrap"},y=`${u}/${r}`,R=hl(v),M={fontSize:`${k}px`,fontWeight:500,lineHeight:1,whiteSpace:"nowrap",...R?{backgroundImage:v,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}:{color:v??void 0}},T=()=>m?g.jsx("span",{style:M,children:y}):null,L=()=>g.jsx("div",{style:A,"aria-hidden":"true",children:Array.from({length:r}).map((H,F)=>{const j=F===u-1,O={width:l,height:l,borderRadius:"50%",border:"2px solid #0000001a",transition:"background 120ms ease, transform 120ms ease",transform:j?"scale(1.1)":"scale(1)",...Pr(j?p:d)};return g.jsx("span",{style:O,"data-active":j?"true":"false"},F)})});return g.jsx("div",{className:"stepper-block",style:w,role:"progressbar","aria-valuenow":u,"aria-valuemin":1,"aria-valuemax":r,"aria-valuetext":`Step ${u} of ${r}`,"aria-label":`Step ${u} of ${r}`,children:g.jsxs("div",{style:N,children:[m&&S==="above"&&T(),m&&S==="left"&&T(),b&&L(),m&&S==="right"&&T(),m&&S==="below"&&T()]})})}const o0=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),a0=x().regex(/^rgba?\([^\)]+\)$/i),r0=re("transparent"),go=D([o0,a0,r0]).nullable().optional(),fl=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),i0=fl,l0=I(["left","center","right"]).optional().nullable(),s0=["disc","circle","square","dash","arrow","check","cross","none"],c0=["decimal","decimal-zero","lower-alpha","upper-alpha","lower-roman","upper-roman"],Or={disc:"●",circle:"○",square:"■",dash:"–",arrow:"➤",check:"✓",cross:"✗"},u0=C({text:x()}),d0=C({style:C({color:go,backgroundColor:go,textAlign:l0,fontSize:f().min(8).max(72).optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:D([f(),x()]).optional().nullable(),lineHeight:f().min(1).max(3).optional().nullable(),padding:fl,margin:i0}).optional().nullable(),props:C({listType:I(["unordered","ordered"]).optional().nullable(),marker:I([...s0,...c0]).optional().nullable(),numberSuffix:ol(e=>e===""?void 0:e,I([".",")"]).optional().nullable()),startNumber:f().min(0).max(9999).optional().nullable(),markerColor:go,markerSize:f().min(8).max(72).optional().nullable(),itemGap:f().min(0).max(64).optional().nullable(),items:W(u0).optional().nullable()}).optional().nullable(),responsive:Te}),dt={listType:"unordered",marker:"disc",numberSuffix:".",startNumber:1,markerColor:null,markerSize:16,itemGap:8,items:[{text:"First list item"},{text:"Second list item"},{text:"Third list item"}]},Lr=(e,t,n)=>Math.min(Math.max(e,t),n),zr=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,jr=e=>{if(e<=0)return String(e);const t=[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]];let n="",o=e;for(const[a,i]of t)for(;o>=a;)n+=i,o-=a;return n},Br=e=>{let t=e,n="";for(;t>0;){const o=(t-1)%26;n=String.fromCharCode(97+o)+n,t=Math.floor((t-1)/26)}return n||"a"},h0=(e,t,n,o)=>{const a=n+t;switch(e){case"decimal-zero":return`${String(a).padStart(2,"0")}${o}`;case"lower-alpha":return`${Br(a)}${o}`;case"upper-alpha":return`${Br(a).toUpperCase()}${o}`;case"lower-roman":return`${jr(a).toLowerCase()}${o}`;case"upper-roman":return`${jr(a)}${o}`;case"decimal":default:return`${a}${o}`}};function f0({style:e,props:t}){var v;const o=((t==null?void 0:t.listType)??dt.listType)==="ordered",a=(t==null?void 0:t.marker)??(o?"decimal":dt.marker),i=(t==null?void 0:t.numberSuffix)??dt.numberSuffix,r=(t==null?void 0:t.startNumber)??dt.startNumber,l=(t==null?void 0:t.markerColor)??dt.markerColor,s=Lr((t==null?void 0:t.markerSize)??dt.markerSize,8,72),c=Lr((t==null?void 0:t.itemGap)??dt.itemGap,0,64),u=(v=t==null?void 0:t.items)!=null&&v.length?t.items:dt.items.map(k=>({...k})),p=(e==null?void 0:e.color)??void 0,d={backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,padding:zr(e==null?void 0:e.padding),margin:zr(e==null?void 0:e.margin),width:"100%",boxSizing:"border-box"},h={color:p,textAlign:(e==null?void 0:e.textAlign)??"left",fontSize:e!=null&&e.fontSize?`${e.fontSize}px`:void 0,fontFamily:(e==null?void 0:e.fontFamily)??void 0,fontWeight:(e==null?void 0:e.fontWeight)??void 0,lineHeight:(e==null?void 0:e.lineHeight)??1.5},m={verticalAlign:"top",paddingRight:"8px",whiteSpace:"nowrap",color:l??p,fontSize:`${s}px`,lineHeight:(e==null?void 0:e.lineHeight)??1.5},b=k=>a==="none"?null:o?h0(a,k,r,i):Or[a]??Or.disc;return g.jsx("div",{className:"list-block",style:d,children:g.jsx("table",{role:"presentation",cellPadding:0,cellSpacing:0,style:{borderCollapse:"collapse",width:"100%"},children:g.jsx("tbody",{children:u.map((k,S)=>{const $=b(S);return g.jsxs("tr",{children:[a!=="none"&&g.jsx("td",{style:m,children:$}),g.jsx("td",{style:{...h,paddingBottom:S<u.length-1?`${c}px`:0,width:"100%"},children:k.text})]},S)})})})})}const p0=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),m0=x().regex(/^rgba?\([^\)]+\)$/i),g0=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),b0=re("transparent"),v0=D([p0,m0,g0,b0]).nullable().optional(),x0=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Zo=C({style:C({backgroundColor:v0,padding:x0}).optional().nullable(),props:C({direction:I(["row","column"]).optional().nullable(),directionTablet:I(["row","column"]).optional().nullable(),directionMobile:I(["row","column"]).optional().nullable(),gap:f().optional().nullable(),gapTablet:f().optional().nullable(),gapMobile:f().optional().nullable(),alignment:I(["start","center","end","space-between"]).optional().nullable(),alignmentTablet:I(["start","center","end","space-between"]).optional().nullable(),alignmentMobile:I(["start","center","end","space-between"]).optional().nullable(),wrap:P().optional().nullable(),ariaLabel:x().optional().nullable()}).optional().nullable(),responsive:Te}),Cn={direction:"row",gap:12,alignment:"start",wrap:!0},Bn={start:"flex-start",center:"center",end:"flex-end","space-between":"space-between"},S0=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function Dr(e,t,n,o){const a=e==="row"?Bn[t]:"flex-start",i=e==="column"?Bn[t]:"center";return`flex-direction:${e}!important;justify-content:${a}!important;align-items:${i}!important;flex-wrap:${e==="row"&&n?"wrap":"nowrap"}!important;gap:${o}px!important;`}let w0=0;function k0({style:e,buttons:t,props:n}){const o=(n==null?void 0:n.direction)??Cn.direction,a=(n==null?void 0:n.directionTablet)??o,i=(n==null?void 0:n.directionMobile)??a,r=(n==null?void 0:n.gap)??Cn.gap,l=(n==null?void 0:n.gapTablet)??r,s=(n==null?void 0:n.gapMobile)??l,c=(n==null?void 0:n.alignment)??Cn.alignment,u=(n==null?void 0:n.alignmentTablet)??c,p=(n==null?void 0:n.alignmentMobile)??u,d=(n==null?void 0:n.wrap)??Cn.wrap,h=(n==null?void 0:n.ariaLabel)??void 0,m=o,b=c,k={display:"flex",flexDirection:m,gap:`${r}px`,justifyContent:m==="row"?Bn[b]:"flex-start",alignItems:m==="column"?Bn[b]:"center",flexWrap:m==="row"&&d?"wrap":"nowrap",background:(e==null?void 0:e.backgroundColor)??void 0,padding:S0(e==null?void 0:e.padding),boxSizing:"border-box",width:"100%"},S=G.useMemo(()=>`ahd-bg-${w0+=1}`,[]),$=G.useMemo(()=>{const w=`.${S}`;let _="";return(a!==o||u!==c||l!==r)&&(_+=`@media (max-width:${je}px){${w}{${Dr(a,u,d,l)}}}`),(i!==a||p!==u||s!==l)&&(_+=`@media (max-width:${Ae}px){${w}{${Dr(i,p,d,s)}}}`),_},[S,o,a,i,c,u,p,r,l,s,d]);return g.jsxs("div",{className:`button-group ${S}`,style:k,role:"group","aria-label":h,children:[$&&g.jsx("style",{dangerouslySetInnerHTML:{__html:$}}),t]})}const _0=Zo.shape.props.unwrap().unwrap().shape,$0=C({style:Zo.shape.style,props:C({..._0,childrenIds:W(x()).optional().nullable()}).optional().nullable(),responsive:Zo.shape.responsive});function C0({style:e,props:t}){const{childrenIds:n,...o}=t??{},a=(n??[]).map(i=>g.jsx(ve,{id:i},i));return g.jsx(k0,{style:e,props:o,buttons:a})}const A0=C({titleChildrenIds:W(x()).optional().nullable(),contentChildrenIds:W(x()).optional().nullable()}),y0=C({responsive:Te,style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),marginBottom:f().optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable()}).optional().nullable(),props:C({items:W(A0).min(1).max(25).optional().nullable(),iconColor:x().optional().nullable(),iconSize:f().optional().nullable(),defaultOpen:P().optional().nullable(),activeBorderColor:x().optional().nullable()}).optional().nullable()});function N0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}const Hr=e=>typeof e=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e);function R0(e,t){if(!e)return;const n=Math.max(t.top,t.right,t.bottom,t.left),o=e.split(" ").map(a=>Math.max(0,parseFloat(a)-n));return o.length===1?`${o[0]}px`:o.map(a=>`${a}px`).join(" ")}function E0({style:e,props:t}){const n=G.useMemo(()=>{const $=t==null?void 0:t.items;return!$||$.length===0?{titleChildrenIds:[],contentChildrenIds:[]}:{titleChildrenIds:$[0].titleChildrenIds??[],contentChildrenIds:$[0].contentChildrenIds??[]}},[t==null?void 0:t.items]),o=G.useMemo(()=>`email-accordion-${Math.random().toString(36).slice(2,9)}`,[]),a=`${o}-content`,i=e==null?void 0:e.padding,r=e==null?void 0:e.margin,l=((r==null?void 0:r.left)??0)+((r==null?void 0:r.right)??0),s=t==null?void 0:t.activeBorderColor,c=e==null?void 0:e.borderColor,u=(e==null?void 0:e.borderWidth)??{top:1,right:1,bottom:1,left:1},p=`${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`,d=N0(e==null?void 0:e.borderRadius),h=Hr(c),m=Hr(s),b=h||m,v={width:l>0?`calc(100% - ${l}px)`:"100%",boxSizing:"border-box",borderRadius:d,margin:r?`${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`:void 0,boxShadow:"none"};(e==null?void 0:e.borderRadius)!=null&&(v.overflow="hidden"),b?(v.padding=p,h?v.background=c:c&&(v.borderStyle="solid",v.borderColor=c,v.borderWidth=p)):c&&(v.borderStyle="solid",v.borderColor=c,v.borderWidth=p);const k={background:(e==null?void 0:e.backgroundColor)??(b?"#ffffff":void 0),borderRadius:b?R0(d,u):void 0,padding:i?`${i.top}px ${i.right}px ${i.bottom}px ${i.left}px`:void 0,overflow:b&&(e==null?void 0:e.borderRadius)!=null?"hidden":void 0},S=[];return s&&(m?S.push(`#${o}:checked + .email-accordion-root { background:${s}!important; border-style:none!important; padding:${p}!important; }`):S.push(`#${o}:checked + .email-accordion-root { background:none!important; border-style:solid!important; border-color:${s}!important; border-width:${p}!important; ${b?"padding:0!important;":""} }`)),g.jsxs("div",{className:"accordion-block",style:{marginBottom:(e==null?void 0:e.marginBottom)!=null?`${e.marginBottom}px`:"5px"},children:[g.jsx("style",{children:`
231
231
  .email-accordion-root { width:100%; }
232
232
  .email-accordion-toggle { display:none; }
233
233
  .email-accordion-label { display:flex; align-items:center; justify-content:space-between; gap:8px; cursor:pointer; padding:4px 12px; background:transparent; box-shadow:none; outline:none; }
package/dist/render.js CHANGED
@@ -6004,9 +6004,15 @@ function Jm({ style: e, props: t }) {
6004
6004
  WebkitLineClamp: n,
6005
6005
  WebkitBoxOrient: "vertical",
6006
6006
  overflow: "hidden"
6007
- } : {}, a = {
6008
- color: (e == null ? void 0 : e.color) ?? void 0,
6009
- background: (e == null ? void 0 : e.backgroundColor) ?? void 0,
6007
+ } : {}, a = (e == null ? void 0 : e.color) ?? void 0, i = typeof a == "string" && /^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(a), r = {
6008
+ ...i ? {
6009
+ backgroundImage: a,
6010
+ WebkitBackgroundClip: "text",
6011
+ WebkitTextFillColor: "transparent",
6012
+ backgroundClip: "text",
6013
+ color: "transparent"
6014
+ } : { color: a },
6015
+ background: i ? void 0 : (e == null ? void 0 : e.backgroundColor) ?? void 0,
6010
6016
  fontSize: (e == null ? void 0 : e.fontSize) ?? void 0,
6011
6017
  fontFamily: Hm(e == null ? void 0 : e.fontFamily),
6012
6018
  fontWeight: (e == null ? void 0 : e.fontWeight) ?? void 0,
@@ -6016,13 +6022,13 @@ function Jm({ style: e, props: t }) {
6016
6022
  wordBreak: "break-word",
6017
6023
  overflowWrap: "break-word",
6018
6024
  ...o
6019
- }, i = (t == null ? void 0 : t.text) ?? Km.text;
6020
- return /* @__PURE__ */ P("div", { className: "text-block", style: a, children: [
6025
+ }, l = (t == null ? void 0 : t.text) ?? Km.text;
6026
+ return /* @__PURE__ */ P("div", { className: "text-block", style: r, children: [
6021
6027
  /* @__PURE__ */ g("style", { children: `.text-block ul,.text-block ol{margin-block-start:0;margin-block-end:0;padding-inline-start:revert}.text-block li{display:list-item}
6022
6028
  .text-block a{color:#2563eb;text-decoration:underline}/* keep in sync with LINK_COLOR (editor-sample InlineTextToolbar/types.ts) */
6023
6029
  .text-block pre,.text-block code{white-space:pre-wrap;word-break:break-all;overflow-x:auto;max-width:100%}
6024
6030
  ${Bm}` }),
6025
- /* @__PURE__ */ g("div", { dangerouslySetInnerHTML: { __html: i } })
6031
+ /* @__PURE__ */ g("div", { dangerouslySetInnerHTML: { __html: l } })
6026
6032
  ] });
6027
6033
  }
6028
6034
  const Xm = C({
@@ -8089,9 +8095,9 @@ function B0({ style: e, props: t }) {
8089
8095
  overflow: b && (e == null ? void 0 : e.borderRadius) != null ? "hidden" : void 0
8090
8096
  }, S = [];
8091
8097
  return s && (m ? S.push(
8092
- `#${o}:checked + .email-accordion-root { background:${s}; border-style:none; padding:${p}; }`
8098
+ `#${o}:checked + .email-accordion-root { background:${s}!important; border-style:none!important; padding:${p}!important; }`
8093
8099
  ) : S.push(
8094
- `#${o}:checked + .email-accordion-root { background:none; border-style:solid; border-color:${s}; border-width:${p}; ${b ? "padding:0;" : ""} }`
8100
+ `#${o}:checked + .email-accordion-root { background:none!important; border-style:solid!important; border-color:${s}!important; border-width:${p}!important; ${b ? "padding:0!important;" : ""} }`
8095
8101
  )), /* @__PURE__ */ P("div", { className: "accordion-block", style: { marginBottom: (e == null ? void 0 : e.marginBottom) != null ? `${e.marginBottom}px` : "5px" }, children: [
8096
8102
  /* @__PURE__ */ g("style", { children: `
8097
8103
  .email-accordion-root { width:100%; }
@@ -1,4 +1,4 @@
1
- "use strict";const $0=require("./index-Ci34MwoG.cjs"),B0=require("./_commonjs-dynamic-modules-DMkBISW1.cjs");function op(i0,Wr){for(var l=0;l<Wr.length;l++){const x=Wr[l];if(typeof x!="string"&&!Array.isArray(x)){for(const a in x)if(a!=="default"&&!(a in i0)){const e=Object.getOwnPropertyDescriptor(x,a);e&&Object.defineProperty(i0,a,e.get?e:{enumerable:!0,get:()=>x[a]})}}}return Object.freeze(Object.defineProperty(i0,Symbol.toStringTag,{value:"Module"}))}var gi={exports:{}},xi={exports:{}},Ef;function Cf(){return Ef||(Ef=1,function(i0){var Wr={version:"1.14.0"};Wr[437]=function(){for(var l=`\0\x07\b
1
+ "use strict";const $0=require("./index-C74HSWbI.cjs"),B0=require("./_commonjs-dynamic-modules-DMkBISW1.cjs");function op(i0,Wr){for(var l=0;l<Wr.length;l++){const x=Wr[l];if(typeof x!="string"&&!Array.isArray(x)){for(const a in x)if(a!=="default"&&!(a in i0)){const e=Object.getOwnPropertyDescriptor(x,a);e&&Object.defineProperty(i0,a,e.get?e:{enumerable:!0,get:()=>x[a]})}}}return Object.freeze(Object.defineProperty(i0,Symbol.toStringTag,{value:"Module"}))}var gi={exports:{}},xi={exports:{}},Ef;function Cf(){return Ef||(Ef=1,function(i0){var Wr={version:"1.14.0"};Wr[437]=function(){for(var l=`\0\x07\b
2
2
  \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[620]=function(){for(var l=`\0\x07\b
3
3
  \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖܢ٥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[737]=function(){for(var l=`\0\x07\b
4
4
  \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ `,x=[],a={},e=0;e!=l.length;++e)l.charCodeAt(e)!==65533&&(a[l.charAt(e)]=e),x[e]=l.charAt(e);return{enc:a,dec:x}}(),Wr[850]=function(){for(var l=`\0\x07\b
@@ -1,4 +1,4 @@
1
- import { c as Ln, g as lp, a as op } from "./index-CLGLU96X.js";
1
+ import { c as Ln, g as lp, a as op } from "./index-9JekOUrW.js";
2
2
  import { c as B0 } from "./_commonjs-dynamic-modules-BpilXLfW.js";
3
3
  function up(i0, Wr) {
4
4
  for (var o = 0; o < Wr.length; o++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pagepilot-visual-editor",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "Standalone visual editor — drop <PagePilotEditor> into any React app and get Style/Layout/Inspect/Layers panels, drag-and-drop blocks, undo/redo, dirty-tracked save, multi-section pages, and light/dark themes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",