pagepilot-visual-editor 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +1 -1
- package/dist/editor-sample/App/shared/editor.styles.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/Table/TableImportDialog.styles.d.ts +4 -4
- package/dist/{index-DScxm18w.js → index-BN4p7EFp.js} +41149 -41053
- package/dist/{index-pQS27xrn.cjs → index-DQy-fuUn.cjs} +1 -1
- package/dist/{index-nJH3Oq5R.cjs → index-DfVeQ93g.cjs} +497 -478
- package/dist/{index-sAPSABTZ.js → index-dsyOMM7U.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/render.cjs +11 -8
- package/dist/render.js +42 -20
- package/dist/{xlsx-Be6fzxE8.cjs → xlsx-CIEMtIud.cjs} +1 -1
- package/dist/{xlsx-DlxnjX4w.js → xlsx-DxZt4s27.js} +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DfVeQ93g.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-
|
|
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-BN4p7EFp.js";
|
|
2
2
|
export {
|
|
3
3
|
t as EditorContext,
|
|
4
4
|
o as PagePilotEditor,
|
package/dist/render.cjs
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
`)}h.write("payload.value = newResult;"),h.write("return payload;");const S=h.compile();return(_,N)=>S(d,_,N)};let i;const r=nn,l=!ka.jitless,c=l&&ss.value,u=t.catchall;let p;e._zod.parse=(d,h)=>{p??(p=o.value);const m=d.value;return r(m)?l&&c&&(h==null?void 0:h.async)===!1&&h.jitless!==!0?(i||(i=a(t.shape)),d=i(d,h),u?Bi([],m,d,h,p,e):d):n(d,h):(d.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),d)}});function Va(e,t,n,o){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const a=e.filter(i=>!Rt(i));return a.length===1?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(r=>rt(r,o,at())))}),t)}const Di=E("$ZodUnion",(e,t)=>{se.init(e,t),K(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),K(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),K(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),K(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(a=>a._zod.pattern);return new RegExp(`^(${o.map(a=>$a(a.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(o,a)=>{if(n)return n(o,a);let i=!1;const r=[];for(const l of t.options){const s=l._zod.run({value:o.value,issues:[]},a);if(s instanceof Promise)r.push(s),i=!0;else{if(s.issues.length===0)return s;r.push(s)}}return i?Promise.all(r).then(l=>Va(l,o,e,a)):Va(r,o,e,a)}}),Jc=E("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Di.init(e,t);const n=e._zod.parse;K(e._zod,"propValues",()=>{const a={};for(const i of t.options){const r=i._zod.propValues;if(!r||Object.keys(r).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(i)}"`);for(const[l,s]of Object.entries(r)){a[l]||(a[l]=new Set);for(const c of s)a[l].add(c)}}return a});const o=Un(()=>{var r;const a=t.options,i=new Map;for(const l of a){const s=(r=l._zod.propValues)==null?void 0:r[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(l)}"`);for(const c of s){if(i.has(c))throw new Error(`Duplicate discriminator value "${String(c)}"`);i.set(c,l)}}return i});e._zod.parse=(a,i)=>{const r=a.value;if(!nn(r))return a.issues.push({code:"invalid_type",expected:"object",input:r,inst:e}),a;const l=o.value.get(r==null?void 0:r[t.discriminator]);return l?l._zod.run(a,i):t.unionFallback||i.direction==="backward"?n(a,i):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(o.value.keys()),input:r,path:[t.discriminator],inst:e}),a)}}),Xc=E("$ZodIntersection",(e,t)=>{se.init(e,t),e._zod.parse=(n,o)=>{const a=n.value,i=t.left._zod.run({value:a,issues:[]},o),r=t.right._zod.run({value:a,issues:[]},o);return i instanceof Promise||r instanceof Promise?Promise.all([i,r]).then(([s,c])=>Ya(n,s,c)):Ya(n,i,r)}});function Do(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Pt(e)&&Pt(t)){const n=Object.keys(t),o=Object.keys(e).filter(i=>n.indexOf(i)!==-1),a={...e,...t};for(const i of o){const r=Do(e[i],t[i]);if(!r.valid)return{valid:!1,mergeErrorPath:[i,...r.mergeErrorPath]};a[i]=r.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let o=0;o<e.length;o++){const a=e[o],i=t[o],r=Do(a,i);if(!r.valid)return{valid:!1,mergeErrorPath:[o,...r.mergeErrorPath]};n.push(r.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Ya(e,t,n){const o=new Map;let a;for(const l of t.issues)if(l.code==="unrecognized_keys"){a??(a=l);for(const s of l.keys)o.has(s)||o.set(s,{}),o.get(s).l=!0}else e.issues.push(l);for(const l of n.issues)if(l.code==="unrecognized_keys")for(const s of l.keys)o.has(s)||o.set(s,{}),o.get(s).r=!0;else e.issues.push(l);const i=[...o].filter(([,l])=>l.l&&l.r).map(([l])=>l);if(i.length&&a&&e.issues.push({...a,keys:i}),Rt(e))return e;const r=Do(t.value,n.value);if(!r.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return e.value=r.data,e}const Qc=E("$ZodTuple",(e,t)=>{se.init(e,t);const n=t.items;e._zod.parse=(o,a)=>{const i=o.value;if(!Array.isArray(i))return o.issues.push({input:i,inst:e,expected:"tuple",code:"invalid_type"}),o;o.value=[];const r=[],l=Ka(n,"optin"),s=Ka(n,"optout");if(!t.rest){if(i.length<l)return o.issues.push({code:"too_small",minimum:l,inclusive:!0,input:i,inst:e,origin:"array"}),o;i.length>n.length&&o.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:i,inst:e,origin:"array"})}const c=new Array(n.length);for(let u=0;u<n.length;u++){const p=n[u]._zod.run({value:i[u],issues:[]},a);p instanceof Promise?r.push(p.then(d=>{c[u]=d})):c[u]=p}if(t.rest){let u=n.length-1;const p=i.slice(n.length);for(const d of p){u++;const h=t.rest._zod.run({value:d,issues:[]},a);h instanceof Promise?r.push(h.then(m=>Ja(m,o,u))):Ja(h,o,u)}}return r.length?Promise.all(r).then(()=>Xa(c,o,n,i,s)):Xa(c,o,n,i,s)}});function Ka(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function Ja(e,t,n){e.issues.length&&t.issues.push(...ht(n,e.issues)),t.value[n]=e.value}function Xa(e,t,n,o,a){for(let i=0;i<n.length;i++){const r=e[i],l=i<o.length;if(r.issues.length){if(!l&&i>=a){t.value.length=i;break}t.issues.push(...ht(i,r.issues))}t.value[i]=r.value}for(let i=t.value.length-1;i>=o.length&&(n[i]._zod.optout==="optional"&&t.value[i]===void 0);i--)t.value.length=i;return t}const eu=E("$ZodRecord",(e,t)=>{se.init(e,t),e._zod.parse=(n,o)=>{const a=n.value;if(!Pt(a))return n.issues.push({expected:"record",code:"invalid_type",input:a,inst:e}),n;const i=[],r=t.keyType._zod.values;if(r){n.value={};const l=new Set;for(const c of r)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){l.add(typeof c=="number"?c.toString():c);const u=t.keyType._zod.run({value:c,issues:[]},o);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(u.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(h=>rt(h,o,at())),input:c,path:[c],inst:e});continue}const p=u.value,d=t.valueType._zod.run({value:a[c],issues:[]},o);d instanceof Promise?i.push(d.then(h=>{h.issues.length&&n.issues.push(...ht(c,h.issues)),n.value[p]=h.value})):(d.issues.length&&n.issues.push(...ht(c,d.issues)),n.value[p]=d.value)}let s;for(const c in a)l.has(c)||(s=s??[],s.push(c));s&&s.length>0&&n.issues.push({code:"unrecognized_keys",input:a,inst:e,keys:s})}else{n.value={};for(const l of Reflect.ownKeys(a)){if(l==="__proto__"||!Object.prototype.propertyIsEnumerable.call(a,l))continue;let s=t.keyType._zod.run({value:l,issues:[]},o);if(s instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof l=="string"&&Mi.test(l)&&s.issues.length){const p=t.keyType._zod.run({value:Number(l),issues:[]},o);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(s=p)}if(s.issues.length){t.mode==="loose"?n.value[l]=a[l]:n.issues.push({code:"invalid_key",origin:"record",issues:s.issues.map(p=>rt(p,o,at())),input:l,path:[l],inst:e});continue}const u=t.valueType._zod.run({value:a[l],issues:[]},o);u instanceof Promise?i.push(u.then(p=>{p.issues.length&&n.issues.push(...ht(l,p.issues)),n.value[s.value]=p.value})):(u.issues.length&&n.issues.push(...ht(l,u.issues)),n.value[s.value]=u.value)}}return i.length?Promise.all(i).then(()=>n):n}}),tu=E("$ZodEnum",(e,t)=>{se.init(e,t);const n=_i(t.entries),o=new Set(n);e._zod.values=o,e._zod.pattern=new RegExp(`^(${n.filter(a=>cs.has(typeof a)).map(a=>typeof a=="string"?Ot(a):a.toString()).join("|")})$`),e._zod.parse=(a,i)=>{const r=a.value;return o.has(r)||a.issues.push({code:"invalid_value",values:n,input:r,inst:e}),a}}),nu=E("$ZodLiteral",(e,t)=>{if(se.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(o=>typeof o=="string"?Ot(o):o?Ot(o.toString()):String(o)).join("|")})$`),e._zod.parse=(o,a)=>{const i=o.value;return n.has(i)||o.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),o}}),ou=E("$ZodTransform",(e,t)=>{se.init(e,t),e._zod.optin="optional",e._zod.parse=(n,o)=>{if(o.direction==="backward")throw new ki(e.constructor.name);const a=t.transform(n.value,n);if(o.async)return(a instanceof Promise?a:Promise.resolve(a)).then(r=>(n.value=r,n.fallback=!0,n));if(a instanceof Promise)throw new Mt;return n.value=a,n.fallback=!0,n}});function Qa(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const Hi=E("$ZodOptional",(e,t)=>{se.init(e,t),e._zod.optin="optional",e._zod.optout="optional",K(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),K(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${$a(n.source)})?$`):void 0}),e._zod.parse=(n,o)=>{if(t.innerType._zod.optin==="optional"){const a=n.value,i=t.innerType._zod.run(n,o);return i instanceof Promise?i.then(r=>Qa(r,a)):Qa(i,a)}return n.value===void 0?n:t.innerType._zod.run(n,o)}}),au=E("$ZodExactOptional",(e,t)=>{Hi.init(e,t),K(e._zod,"values",()=>t.innerType._zod.values),K(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,o)=>t.innerType._zod.run(n,o)}),ru=E("$ZodNullable",(e,t)=>{se.init(e,t),K(e._zod,"optin",()=>t.innerType._zod.optin),K(e._zod,"optout",()=>t.innerType._zod.optout),K(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${$a(n.source)}|null)$`):void 0}),K(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,o)=>n.value===null?n:t.innerType._zod.run(n,o)}),iu=E("$ZodDefault",(e,t)=>{se.init(e,t),e._zod.optin="optional",K(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);if(n.value===void 0)return n.value=t.defaultValue,n;const a=t.innerType._zod.run(n,o);return a instanceof Promise?a.then(i=>er(i,t)):er(a,t)}});function er(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const lu=E("$ZodPrefault",(e,t)=>{se.init(e,t),e._zod.optin="optional",K(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>(o.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,o))}),su=E("$ZodNonOptional",(e,t)=>{se.init(e,t),K(e._zod,"values",()=>{const n=t.innerType._zod.values;return n?new Set([...n].filter(o=>o!==void 0)):void 0}),e._zod.parse=(n,o)=>{const a=t.innerType._zod.run(n,o);return a instanceof Promise?a.then(i=>tr(i,e)):tr(a,e)}});function tr(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const cu=E("$ZodCatch",(e,t)=>{se.init(e,t),e._zod.optin="optional",K(e._zod,"optout",()=>t.innerType._zod.optout),K(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);const a=t.innerType._zod.run(n,o);return a instanceof Promise?a.then(i=>(n.value=i.value,i.issues.length&&(n.value=t.catchValue({...n,error:{issues:i.issues.map(r=>rt(r,o,at()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=a.value,a.issues.length&&(n.value=t.catchValue({...n,error:{issues:a.issues.map(i=>rt(i,o,at()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),Fi=E("$ZodPipe",(e,t)=>{se.init(e,t),K(e._zod,"values",()=>t.in._zod.values),K(e._zod,"optin",()=>t.in._zod.optin),K(e._zod,"optout",()=>t.out._zod.optout),K(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,o)=>{if(o.direction==="backward"){const i=t.out._zod.run(n,o);return i instanceof Promise?i.then(r=>xn(r,t.in,o)):xn(i,t.in,o)}const a=t.in._zod.run(n,o);return a instanceof Promise?a.then(i=>xn(i,t.out,o)):xn(a,t.out,o)}});function xn(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}const uu=E("$ZodPreprocess",(e,t)=>{Fi.init(e,t)}),du=E("$ZodReadonly",(e,t)=>{se.init(e,t),K(e._zod,"propValues",()=>t.innerType._zod.propValues),K(e._zod,"values",()=>t.innerType._zod.values),K(e._zod,"optin",()=>{var n,o;return(o=(n=t.innerType)==null?void 0:n._zod)==null?void 0:o.optin}),K(e._zod,"optout",()=>{var n,o;return(o=(n=t.innerType)==null?void 0:n._zod)==null?void 0:o.optout}),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);const a=t.innerType._zod.run(n,o);return a instanceof Promise?a.then(nr):nr(a)}});function nr(e){return e.value=Object.freeze(e.value),e}const hu=E("$ZodLazy",(e,t)=>{se.init(e,t),K(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),K(e._zod,"pattern",()=>{var n,o;return(o=(n=e._zod.innerType)==null?void 0:n._zod)==null?void 0:o.pattern}),K(e._zod,"propValues",()=>{var n,o;return(o=(n=e._zod.innerType)==null?void 0:n._zod)==null?void 0:o.propValues}),K(e._zod,"optin",()=>{var n,o;return((o=(n=e._zod.innerType)==null?void 0:n._zod)==null?void 0:o.optin)??void 0}),K(e._zod,"optout",()=>{var n,o;return((o=(n=e._zod.innerType)==null?void 0:n._zod)==null?void 0:o.optout)??void 0}),e._zod.parse=(n,o)=>e._zod.innerType._zod.run(n,o)}),fu=E("$ZodCustom",(e,t)=>{Re.init(e,t),se.init(e,t),e._zod.parse=(n,o)=>n,e._zod.check=n=>{const o=n.value,a=t.fn(o);if(a instanceof Promise)return a.then(i=>or(i,n,o,e));or(a,n,o,e)}});function or(e,t,n,o){if(!e){const a={code:"custom",input:n,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(a.params=o._zod.def.params),t.issues.push(on(a))}}var ar;class pu{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const o=n[0];return this._map.set(t,o),o&&typeof o=="object"&&"id"in o&&this._idmap.set(o.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const o={...this.get(n)??{}};delete o.id;const a={...o,...this._map.get(t)};return Object.keys(a).length?a:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function mu(){return new pu}(ar=globalThis).__zod_globalRegistry??(ar.__zod_globalRegistry=mu());const Xt=globalThis.__zod_globalRegistry;function gu(e,t){return new e({type:"string",...z(t)})}function bu(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...z(t)})}function rr(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...z(t)})}function vu(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...z(t)})}function xu(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...z(t)})}function Su(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...z(t)})}function wu(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...z(t)})}function ku(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...z(t)})}function _u(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...z(t)})}function $u(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...z(t)})}function Cu(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...z(t)})}function Au(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...z(t)})}function yu(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...z(t)})}function Nu(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...z(t)})}function Ru(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...z(t)})}function Eu(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...z(t)})}function Iu(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...z(t)})}function Mu(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...z(t)})}function Tu(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...z(t)})}function Pu(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...z(t)})}function Ou(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...z(t)})}function Lu(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...z(t)})}function zu(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...z(t)})}function ju(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...z(t)})}function Bu(e,t){return new e({type:"string",format:"date",check:"string_format",...z(t)})}function Du(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...z(t)})}function Hu(e,t){return new e({type:"string",format:"duration",check:"string_format",...z(t)})}function Fu(e,t){return new e({type:"number",checks:[],...z(t)})}function Gu(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...z(t)})}function Uu(e,t){return new e({type:"boolean",...z(t)})}function Zu(e){return new e({type:"any"})}function Wu(e){return new e({type:"unknown"})}function qu(e,t){return new e({type:"never",...z(t)})}function ir(e,t){return new Pi({check:"less_than",...z(t),value:e,inclusive:!1})}function eo(e,t){return new Pi({check:"less_than",...z(t),value:e,inclusive:!0})}function lr(e,t){return new Oi({check:"greater_than",...z(t),value:e,inclusive:!1})}function to(e,t){return new Oi({check:"greater_than",...z(t),value:e,inclusive:!0})}function sr(e,t){return new ac({check:"multiple_of",...z(t),value:e})}function Gi(e,t){return new ic({check:"max_length",...z(t),maximum:e})}function On(e,t){return new lc({check:"min_length",...z(t),minimum:e})}function Ui(e,t){return new sc({check:"length_equals",...z(t),length:e})}function Vu(e,t){return new cc({check:"string_format",format:"regex",...z(t),pattern:e})}function Yu(e){return new uc({check:"string_format",format:"lowercase",...z(e)})}function Ku(e){return new dc({check:"string_format",format:"uppercase",...z(e)})}function Ju(e,t){return new hc({check:"string_format",format:"includes",...z(t),includes:e})}function Xu(e,t){return new fc({check:"string_format",format:"starts_with",...z(t),prefix:e})}function Qu(e,t){return new pc({check:"string_format",format:"ends_with",...z(t),suffix:e})}function Bt(e){return new mc({check:"overwrite",tx:e})}function ed(e){return Bt(t=>t.normalize(e))}function td(){return Bt(e=>e.trim())}function nd(){return Bt(e=>e.toLowerCase())}function od(){return Bt(e=>e.toUpperCase())}function ad(){return Bt(e=>ls(e))}function rd(e,t,n){return new e({type:"array",element:t,...z(n)})}function id(e,t,n){return new e({type:"custom",check:"custom",fn:t,...z(n)})}function ld(e,t){const n=sd(o=>(o.addIssue=a=>{if(typeof a=="string")o.issues.push(on(a,o.value,n._zod.def));else{const i=a;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=o.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),o.issues.push(on(i))}},e(o.value,o)),t);return n}function sd(e,t){const n=new Re({check:"custom",...z(t)});return n._zod.check=e,n}function Zi(e){let t=(e==null?void 0:e.target)??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:(e==null?void 0:e.metadata)??Xt,target:t,unrepresentable:(e==null?void 0:e.unrepresentable)??"throw",override:(e==null?void 0:e.override)??(()=>{}),io:(e==null?void 0:e.io)??"output",counter:0,seen:new Map,cycles:(e==null?void 0:e.cycles)??"ref",reused:(e==null?void 0:e.reused)??"inline",external:(e==null?void 0:e.external)??void 0}}function fe(e,t,n={path:[],schemaPath:[]}){var u,p;var o;const a=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;const r={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,r);const l=(p=(u=e._zod).toJSONSchema)==null?void 0:p.call(u);if(l)r.schema=l;else{const d={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,r.schema,d);else{const m=r.schema,b=t.processors[a.type];if(!b)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);b(e,t,m,d)}const h=e._zod.parent;h&&(r.ref||(r.ref=h),fe(h,t,d),t.seen.get(h).isParent=!0)}const s=t.metadataRegistry.get(e);return s&&Object.assign(r.schema,s),t.io==="input"&&Ce(e)&&(delete r.schema.examples,delete r.schema.default),t.io==="input"&&"_prefault"in r.schema&&((o=r.schema).default??(o.default=r.schema._prefault)),delete r.schema._prefault,t.seen.get(e).schema}function Wi(e,t){var r,l,s,c;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=new Map;for(const u of e.seen.entries()){const p=(r=e.metadataRegistry.get(u[0]))==null?void 0:r.id;if(p){const d=o.get(p);if(d&&d!==u[0])throw new Error(`Duplicate schema id "${p}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(p,u[0])}}const a=u=>{var b;const p=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const v=(b=e.external.registry.get(u[0]))==null?void 0:b.id,k=e.external.uri??($=>$);if(v)return{ref:k(v)};const S=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=S,{defId:S,ref:`${k("__shared")}#/${p}/${S}`}}if(u[1]===n)return{ref:"#"};const h=`#/${p}/`,m=u[1].schema.id??`__schema${e.counter++}`;return{defId:m,ref:h+m}},i=u=>{if(u[1].schema.$ref)return;const p=u[1],{ref:d,defId:h}=a(u);p.def={...p.schema},h&&(p.defId=h);const m=p.schema;for(const b in m)delete m[b];m.$ref=d};if(e.cycles==="throw")for(const u of e.seen.entries()){const p=u[1];if(p.cycle)throw new Error(`Cycle detected: #/${(l=p.cycle)==null?void 0:l.join("/")}/<root>
|
|
63
63
|
|
|
64
64
|
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const p=u[1];if(t===u[0]){i(u);continue}if(e.external){const h=(s=e.external.registry.get(u[0]))==null?void 0:s.id;if(t!==u[0]&&h){i(u);continue}}if((c=e.metadataRegistry.get(u[0]))==null?void 0:c.id){i(u);continue}if(p.cycle){i(u);continue}if(p.count>1&&e.reused==="ref"){i(u);continue}}}function qi(e,t){var l,s,c,u;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=p=>{const d=e.seen.get(p);if(d.ref===null)return;const h=d.def??d.schema,m={...h},b=d.ref;if(d.ref=null,b){o(b);const k=e.seen.get(b),S=k.schema;if(S.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(h.allOf=h.allOf??[],h.allOf.push(S)):Object.assign(h,S),Object.assign(h,m),p._zod.parent===b)for(const w in h)w==="$ref"||w==="allOf"||w in m||delete h[w];if(S.$ref&&k.def)for(const w in h)w==="$ref"||w==="allOf"||w in k.def&&JSON.stringify(h[w])===JSON.stringify(k.def[w])&&delete h[w]}const v=p._zod.parent;if(v&&v!==b){o(v);const k=e.seen.get(v);if(k!=null&&k.schema.$ref&&(h.$ref=k.schema.$ref,k.def))for(const S in h)S==="$ref"||S==="allOf"||S in k.def&&JSON.stringify(h[S])===JSON.stringify(k.def[S])&&delete h[S]}e.override({zodSchema:p,jsonSchema:h,path:d.path??[]})};for(const p of[...e.seen.entries()].reverse())o(p[0]);const a={};if(e.target==="draft-2020-12"?a.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?a.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?a.$schema="http://json-schema.org/draft-04/schema#":e.target,(l=e.external)!=null&&l.uri){const p=(s=e.external.registry.get(t))==null?void 0:s.id;if(!p)throw new Error("Schema is missing an `id` property");a.$id=e.external.uri(p)}Object.assign(a,n.def??n.schema);const i=(c=e.metadataRegistry.get(t))==null?void 0:c.id;i!==void 0&&a.id===i&&delete a.id;const r=((u=e.external)==null?void 0:u.defs)??{};for(const p of e.seen.entries()){const d=p[1];d.def&&d.defId&&(d.def.id===d.defId&&delete d.def.id,r[d.defId]=d.def)}e.external||Object.keys(r).length>0&&(e.target==="draft-2020-12"?a.$defs=r:a.definitions=r);try{const p=JSON.parse(JSON.stringify(a));return Object.defineProperty(p,"~standard",{value:{...t["~standard"],jsonSchema:{input:Ln(t,"input",e.processors),output:Ln(t,"output",e.processors)}},enumerable:!1,writable:!1}),p}catch{throw new Error("Error converting schema to JSON.")}}function Ce(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return Ce(o.element,n);if(o.type==="set")return Ce(o.valueType,n);if(o.type==="lazy")return Ce(o.getter(),n);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault")return Ce(o.innerType,n);if(o.type==="intersection")return Ce(o.left,n)||Ce(o.right,n);if(o.type==="record"||o.type==="map")return Ce(o.keyType,n)||Ce(o.valueType,n);if(o.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Ce(o.in,n)||Ce(o.out,n);if(o.type==="object"){for(const a in o.shape)if(Ce(o.shape[a],n))return!0;return!1}if(o.type==="union"){for(const a of o.options)if(Ce(a,n))return!0;return!1}if(o.type==="tuple"){for(const a of o.items)if(Ce(a,n))return!0;return!!(o.rest&&Ce(o.rest,n))}return!1}const cd=(e,t={})=>n=>{const o=Zi({...n,processors:t});return fe(e,o),Wi(o,e),qi(o,e)},Ln=(e,t,n={})=>o=>{const{libraryOptions:a,target:i}=o??{},r=Zi({...a??{},target:i,io:t,processors:n});return fe(e,r),Wi(r,e),qi(r,e)},ud={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},dd=(e,t,n,o)=>{const a=n;a.type="string";const{minimum:i,maximum:r,format:l,patterns:s,contentEncoding:c}=e._zod.bag;if(typeof i=="number"&&(a.minLength=i),typeof r=="number"&&(a.maxLength=r),l&&(a.format=ud[l]??l,a.format===""&&delete a.format,l==="time"&&delete a.format),c&&(a.contentEncoding=c),s&&s.size>0){const u=[...s];u.length===1?a.pattern=u[0].source:u.length>1&&(a.allOf=[...u.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},hd=(e,t,n,o)=>{const a=n,{minimum:i,maximum:r,format:l,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:u}=e._zod.bag;typeof l=="string"&&l.includes("int")?a.type="integer":a.type="number";const p=typeof u=="number"&&u>=(i??Number.NEGATIVE_INFINITY),d=typeof c=="number"&&c<=(r??Number.POSITIVE_INFINITY),h=t.target==="draft-04"||t.target==="openapi-3.0";p?h?(a.minimum=u,a.exclusiveMinimum=!0):a.exclusiveMinimum=u:typeof i=="number"&&(a.minimum=i),d?h?(a.maximum=c,a.exclusiveMaximum=!0):a.exclusiveMaximum=c:typeof r=="number"&&(a.maximum=r),typeof s=="number"&&(a.multipleOf=s)},fd=(e,t,n,o)=>{n.type="boolean"},pd=(e,t,n,o)=>{n.not={}},md=(e,t,n,o)=>{},gd=(e,t,n,o)=>{},bd=(e,t,n,o)=>{const a=e._zod.def,i=_i(a.entries);i.every(r=>typeof r=="number")&&(n.type="number"),i.every(r=>typeof r=="string")&&(n.type="string"),n.enum=i},vd=(e,t,n,o)=>{const a=e._zod.def,i=[];for(const r of a.values)if(r===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof r=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");i.push(Number(r))}else i.push(r);if(i.length!==0)if(i.length===1){const r=i[0];n.type=r===null?"null":typeof r,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[r]:n.const=r}else i.every(r=>typeof r=="number")&&(n.type="number"),i.every(r=>typeof r=="string")&&(n.type="string"),i.every(r=>typeof r=="boolean")&&(n.type="boolean"),i.every(r=>r===null)&&(n.type="null"),n.enum=i},xd=(e,t,n,o)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Sd=(e,t,n,o)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},wd=(e,t,n,o)=>{const a=n,i=e._zod.def,{minimum:r,maximum:l}=e._zod.bag;typeof r=="number"&&(a.minItems=r),typeof l=="number"&&(a.maxItems=l),a.type="array",a.items=fe(i.element,t,{...o,path:[...o.path,"items"]})},kd=(e,t,n,o)=>{var c;const a=n,i=e._zod.def;a.type="object",a.properties={};const r=i.shape;for(const u in r)a.properties[u]=fe(r[u],t,{...o,path:[...o.path,"properties",u]});const l=new Set(Object.keys(r)),s=new Set([...l].filter(u=>{const p=i.shape[u]._zod;return t.io==="input"?p.optin===void 0:p.optout===void 0}));s.size>0&&(a.required=Array.from(s)),((c=i.catchall)==null?void 0:c._zod.def.type)==="never"?a.additionalProperties=!1:i.catchall?i.catchall&&(a.additionalProperties=fe(i.catchall,t,{...o,path:[...o.path,"additionalProperties"]})):t.io==="output"&&(a.additionalProperties=!1)},_d=(e,t,n,o)=>{const a=e._zod.def,i=a.inclusive===!1,r=a.options.map((l,s)=>fe(l,t,{...o,path:[...o.path,i?"oneOf":"anyOf",s]}));i?n.oneOf=r:n.anyOf=r},$d=(e,t,n,o)=>{const a=e._zod.def,i=fe(a.left,t,{...o,path:[...o.path,"allOf",0]}),r=fe(a.right,t,{...o,path:[...o.path,"allOf",1]}),l=c=>"allOf"in c&&Object.keys(c).length===1,s=[...l(i)?i.allOf:[i],...l(r)?r.allOf:[r]];n.allOf=s},Cd=(e,t,n,o)=>{const a=n,i=e._zod.def;a.type="array";const r=t.target==="draft-2020-12"?"prefixItems":"items",l=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",s=i.items.map((d,h)=>fe(d,t,{...o,path:[...o.path,r,h]})),c=i.rest?fe(i.rest,t,{...o,path:[...o.path,l,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;t.target==="draft-2020-12"?(a.prefixItems=s,c&&(a.items=c)):t.target==="openapi-3.0"?(a.items={anyOf:s},c&&a.items.anyOf.push(c),a.minItems=s.length,c||(a.maxItems=s.length)):(a.items=s,c&&(a.additionalItems=c));const{minimum:u,maximum:p}=e._zod.bag;typeof u=="number"&&(a.minItems=u),typeof p=="number"&&(a.maxItems=p)},Ad=(e,t,n,o)=>{const a=n,i=e._zod.def;a.type="object";const r=i.keyType,l=r._zod.bag,s=l==null?void 0:l.patterns;if(i.mode==="loose"&&s&&s.size>0){const u=fe(i.valueType,t,{...o,path:[...o.path,"patternProperties","*"]});a.patternProperties={};for(const p of s)a.patternProperties[p.source]=u}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(a.propertyNames=fe(i.keyType,t,{...o,path:[...o.path,"propertyNames"]})),a.additionalProperties=fe(i.valueType,t,{...o,path:[...o.path,"additionalProperties"]});const c=r._zod.values;if(c){const u=[...c].filter(p=>typeof p=="string"||typeof p=="number");u.length>0&&(a.required=u)}},yd=(e,t,n,o)=>{const a=e._zod.def,i=fe(a.innerType,t,o),r=t.seen.get(e);t.target==="openapi-3.0"?(r.ref=a.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},Nd=(e,t,n,o)=>{const a=e._zod.def;fe(a.innerType,t,o);const i=t.seen.get(e);i.ref=a.innerType},Rd=(e,t,n,o)=>{const a=e._zod.def;fe(a.innerType,t,o);const i=t.seen.get(e);i.ref=a.innerType,n.default=JSON.parse(JSON.stringify(a.defaultValue))},Ed=(e,t,n,o)=>{const a=e._zod.def;fe(a.innerType,t,o);const i=t.seen.get(e);i.ref=a.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},Id=(e,t,n,o)=>{const a=e._zod.def;fe(a.innerType,t,o);const i=t.seen.get(e);i.ref=a.innerType;let r;try{r=a.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=r},Md=(e,t,n,o)=>{const a=e._zod.def,i=a.in._zod.traits.has("$ZodTransform"),r=t.io==="input"?i?a.out:a.in:a.out;fe(r,t,o);const l=t.seen.get(e);l.ref=r},Td=(e,t,n,o)=>{const a=e._zod.def;fe(a.innerType,t,o);const i=t.seen.get(e);i.ref=a.innerType,n.readOnly=!0},Vi=(e,t,n,o)=>{const a=e._zod.def;fe(a.innerType,t,o);const i=t.seen.get(e);i.ref=a.innerType},Pd=(e,t,n,o)=>{const a=e._zod.innerType;fe(a,t,o);const i=t.seen.get(e);i.ref=a},Od=E("ZodISODateTime",(e,t)=>{Rc.init(e,t),pe.init(e,t)});function Ld(e){return ju(Od,e)}const zd=E("ZodISODate",(e,t)=>{Ec.init(e,t),pe.init(e,t)});function jd(e){return Bu(zd,e)}const Bd=E("ZodISOTime",(e,t)=>{Ic.init(e,t),pe.init(e,t)});function Dd(e){return Du(Bd,e)}const Hd=E("ZodISODuration",(e,t)=>{Mc.init(e,t),pe.init(e,t)});function Fd(e){return Hu(Hd,e)}const Gd=(e,t)=>{yi.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>ws(e,n)},flatten:{value:n=>Ss(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Bo,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Bo,2)}},isEmpty:{get(){return e.issues.length===0}}})},ze=E("ZodError",Gd,{Parent:Error}),Ud=Aa(ze),Zd=ya(ze),Wd=Zn(ze),qd=Wn(ze),Vd=$s(ze),Yd=Cs(ze),Kd=As(ze),Jd=ys(ze),Xd=Ns(ze),Qd=Rs(ze),eh=Es(ze),th=Is(ze),cr=new WeakMap;function cn(e,t,n){const o=Object.getPrototypeOf(e);let a=cr.get(o);if(a||(a=new Set,cr.set(o,a)),!a.has(t)){a.add(t);for(const i in n){const r=n[i];Object.defineProperty(o,i,{configurable:!0,enumerable:!1,get(){const l=r.bind(this);return Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:l}),l},set(l){Object.defineProperty(this,i,{configurable:!0,writable:!0,enumerable:!0,value:l})}})}}}const ce=E("ZodType",(e,t)=>(se.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Ln(e,"input"),output:Ln(e,"output")}}),e.toJSONSchema=cd(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,o)=>Ud(e,n,o,{callee:e.parse}),e.safeParse=(n,o)=>Wd(e,n,o),e.parseAsync=async(n,o)=>Zd(e,n,o,{callee:e.parseAsync}),e.safeParseAsync=async(n,o)=>qd(e,n,o),e.spa=e.safeParseAsync,e.encode=(n,o)=>Vd(e,n,o),e.decode=(n,o)=>Yd(e,n,o),e.encodeAsync=async(n,o)=>Kd(e,n,o),e.decodeAsync=async(n,o)=>Jd(e,n,o),e.safeEncode=(n,o)=>Xd(e,n,o),e.safeDecode=(n,o)=>Qd(e,n,o),e.safeEncodeAsync=async(n,o)=>eh(e,n,o),e.safeDecodeAsync=async(n,o)=>th(e,n,o),cn(e,"ZodType",{check(...n){const o=this.def;return this.clone(pt(o,{checks:[...o.checks??[],...n.map(a=>typeof a=="function"?{_zod:{check:a,def:{check:"custom"},onattach:[]}}:a)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,o){return mt(this,n,o)},brand(){return this},register(n,o){return n.add(this,o),this},refine(n,o){return this.check(Jh(n,o))},superRefine(n,o){return this.check(Xh(n,o))},overwrite(n){return this.check(Bt(n))},optional(){return pr(this)},exactOptional(){return Lh(this)},nullable(){return mr(this)},nullish(){return pr(mr(this))},nonoptional(n){return Fh(this,n)},array(){return W(this)},or(n){return D([this,n])},and(n){return Ih(this,n)},transform(n){return gr(this,Qi(n))},default(n){return Bh(this,n)},prefault(n){return Hh(this,n)},catch(n){return Uh(this,n)},pipe(n){return gr(this,n)},readonly(){return qh(this)},describe(n){const o=this.clone();return Xt.add(o,{description:n}),o},meta(...n){if(n.length===0)return Xt.get(this);const o=this.clone();return Xt.add(o,n[0]),o},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){var n;return(n=Xt.get(e))==null?void 0:n.description},configurable:!0}),e)),Yi=E("_ZodString",(e,t)=>{Na.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(o,a,i)=>dd(e,o,a);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,cn(e,"_ZodString",{regex(...o){return this.check(Vu(...o))},includes(...o){return this.check(Ju(...o))},startsWith(...o){return this.check(Xu(...o))},endsWith(...o){return this.check(Qu(...o))},min(...o){return this.check(On(...o))},max(...o){return this.check(Gi(...o))},length(...o){return this.check(Ui(...o))},nonempty(...o){return this.check(On(1,...o))},lowercase(o){return this.check(Yu(o))},uppercase(o){return this.check(Ku(o))},trim(){return this.check(td())},normalize(...o){return this.check(ed(...o))},toLowerCase(){return this.check(nd())},toUpperCase(){return this.check(od())},slugify(){return this.check(ad())}})}),nh=E("ZodString",(e,t)=>{Na.init(e,t),Yi.init(e,t),e.email=n=>e.check(bu(oh,n)),e.url=n=>e.check(ku(ah,n)),e.jwt=n=>e.check(zu(xh,n)),e.emoji=n=>e.check(_u(rh,n)),e.guid=n=>e.check(rr(ur,n)),e.uuid=n=>e.check(vu(Sn,n)),e.uuidv4=n=>e.check(xu(Sn,n)),e.uuidv6=n=>e.check(Su(Sn,n)),e.uuidv7=n=>e.check(wu(Sn,n)),e.nanoid=n=>e.check($u(ih,n)),e.guid=n=>e.check(rr(ur,n)),e.cuid=n=>e.check(Cu(lh,n)),e.cuid2=n=>e.check(Au(sh,n)),e.ulid=n=>e.check(yu(ch,n)),e.base64=n=>e.check(Pu(gh,n)),e.base64url=n=>e.check(Ou(bh,n)),e.xid=n=>e.check(Nu(uh,n)),e.ksuid=n=>e.check(Ru(dh,n)),e.ipv4=n=>e.check(Eu(hh,n)),e.ipv6=n=>e.check(Iu(fh,n)),e.cidrv4=n=>e.check(Mu(ph,n)),e.cidrv6=n=>e.check(Tu(mh,n)),e.e164=n=>e.check(Lu(vh,n)),e.datetime=n=>e.check(Ld(n)),e.date=n=>e.check(jd(n)),e.time=n=>e.check(Dd(n)),e.duration=n=>e.check(Fd(n))});function x(e){return gu(nh,e)}const pe=E("ZodStringFormat",(e,t)=>{he.init(e,t),Yi.init(e,t)}),oh=E("ZodEmail",(e,t)=>{Sc.init(e,t),pe.init(e,t)}),ur=E("ZodGUID",(e,t)=>{vc.init(e,t),pe.init(e,t)}),Sn=E("ZodUUID",(e,t)=>{xc.init(e,t),pe.init(e,t)}),ah=E("ZodURL",(e,t)=>{wc.init(e,t),pe.init(e,t)}),rh=E("ZodEmoji",(e,t)=>{kc.init(e,t),pe.init(e,t)}),ih=E("ZodNanoID",(e,t)=>{_c.init(e,t),pe.init(e,t)}),lh=E("ZodCUID",(e,t)=>{$c.init(e,t),pe.init(e,t)}),sh=E("ZodCUID2",(e,t)=>{Cc.init(e,t),pe.init(e,t)}),ch=E("ZodULID",(e,t)=>{Ac.init(e,t),pe.init(e,t)}),uh=E("ZodXID",(e,t)=>{yc.init(e,t),pe.init(e,t)}),dh=E("ZodKSUID",(e,t)=>{Nc.init(e,t),pe.init(e,t)}),hh=E("ZodIPv4",(e,t)=>{Tc.init(e,t),pe.init(e,t)}),fh=E("ZodIPv6",(e,t)=>{Pc.init(e,t),pe.init(e,t)}),ph=E("ZodCIDRv4",(e,t)=>{Oc.init(e,t),pe.init(e,t)}),mh=E("ZodCIDRv6",(e,t)=>{Lc.init(e,t),pe.init(e,t)}),gh=E("ZodBase64",(e,t)=>{zc.init(e,t),pe.init(e,t)}),bh=E("ZodBase64URL",(e,t)=>{Bc.init(e,t),pe.init(e,t)}),vh=E("ZodE164",(e,t)=>{Dc.init(e,t),pe.init(e,t)}),xh=E("ZodJWT",(e,t)=>{Fc.init(e,t),pe.init(e,t)}),Ki=E("ZodNumber",(e,t)=>{zi.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(o,a,i)=>hd(e,o,a),cn(e,"ZodNumber",{gt(o,a){return this.check(lr(o,a))},gte(o,a){return this.check(to(o,a))},min(o,a){return this.check(to(o,a))},lt(o,a){return this.check(ir(o,a))},lte(o,a){return this.check(eo(o,a))},max(o,a){return this.check(eo(o,a))},int(o){return this.check(dr(o))},safe(o){return this.check(dr(o))},positive(o){return this.check(lr(0,o))},nonnegative(o){return this.check(to(0,o))},negative(o){return this.check(ir(0,o))},nonpositive(o){return this.check(eo(0,o))},multipleOf(o,a){return this.check(sr(o,a))},step(o,a){return this.check(sr(o,a))},finite(){return this}});const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function f(e){return Fu(Ki,e)}const Sh=E("ZodNumberFormat",(e,t)=>{Gc.init(e,t),Ki.init(e,t)});function dr(e){return Gu(Sh,e)}const wh=E("ZodBoolean",(e,t)=>{Uc.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>fd(e,n,o)});function P(e){return Uu(wh,e)}const kh=E("ZodAny",(e,t)=>{Zc.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>md()});function an(){return Zu(kh)}const _h=E("ZodUnknown",(e,t)=>{Wc.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>gd()});function hr(){return Wu(_h)}const $h=E("ZodNever",(e,t)=>{qc.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>pd(e,n,o)});function Ch(e){return qu($h,e)}const Ah=E("ZodArray",(e,t)=>{Vc.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>wd(e,n,o,a),e.element=t.element,cn(e,"ZodArray",{min(n,o){return this.check(On(n,o))},nonempty(n){return this.check(On(1,n))},max(n,o){return this.check(Gi(n,o))},length(n,o){return this.check(Ui(n,o))},unwrap(){return this.element}})});function W(e,t){return rd(Ah,e,t)}const yh=E("ZodObject",(e,t)=>{Kc.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>kd(e,n,o,a),K(e,"shape",()=>t.shape),cn(e,"ZodObject",{keyof(){return I(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:hr()})},loose(){return this.clone({...this._zod.def,catchall:hr()})},strict(){return this.clone({...this._zod.def,catchall:Ch()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return ps(this,n)},safeExtend(n){return ms(this,n)},merge(n){return gs(this,n)},pick(n){return hs(this,n)},omit(n){return fs(this,n)},partial(...n){return bs(el,this,n[0])},required(...n){return vs(tl,this,n[0])}})});function C(e,t){const n={type:"object",shape:e??{},...z(t)};return new yh(n)}const Ji=E("ZodUnion",(e,t)=>{Di.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>_d(e,n,o,a),e.options=t.options});function D(e,t){return new Ji({type:"union",options:e,...z(t)})}const Nh=E("ZodDiscriminatedUnion",(e,t)=>{Ji.init(e,t),Jc.init(e,t)});function Rh(e,t,n){return new Nh({type:"union",options:t,discriminator:e,...z(n)})}const Eh=E("ZodIntersection",(e,t)=>{Xc.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>$d(e,n,o,a)});function Ih(e,t){return new Eh({type:"intersection",left:e,right:t})}const Mh=E("ZodTuple",(e,t)=>{Qc.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Cd(e,n,o,a),e.rest=n=>e.clone({...e._zod.def,rest:n})});function Xi(e,t,n){const o=t instanceof se,a=o?n:t,i=o?t:null;return new Mh({type:"tuple",items:e,rest:i,...z(a)})}const fr=E("ZodRecord",(e,t)=>{eu.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Ad(e,n,o,a),e.keyType=t.keyType,e.valueType=t.valueType});function Lt(e,t,n){return!t||!t._zod?new fr({type:"record",keyType:x(),valueType:e,...z(t)}):new fr({type:"record",keyType:e,valueType:t,...z(n)})}const Ho=E("ZodEnum",(e,t)=>{tu.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(o,a,i)=>bd(e,o,a),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(o,a)=>{const i={};for(const r of o)if(n.has(r))i[r]=t.entries[r];else throw new Error(`Key ${r} not found in enum`);return new Ho({...t,checks:[],...z(a),entries:i})},e.exclude=(o,a)=>{const i={...t.entries};for(const r of o)if(n.has(r))delete i[r];else throw new Error(`Key ${r} not found in enum`);return new Ho({...t,checks:[],...z(a),entries:i})}});function I(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Ho({type:"enum",entries:n,...z(t)})}const Th=E("ZodLiteral",(e,t)=>{nu.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>vd(e,n,o),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function re(e,t){return new Th({type:"literal",values:Array.isArray(e)?e:[e],...z(t)})}const Ph=E("ZodTransform",(e,t)=>{ou.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Sd(e,n),e._zod.parse=(n,o)=>{if(o.direction==="backward")throw new ki(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(on(i,n.value,t));else{const r=i;r.fatal&&(r.continue=!1),r.code??(r.code="custom"),r.input??(r.input=n.value),r.inst??(r.inst=e),n.issues.push(on(r))}};const a=t.transform(n.value,n);return a instanceof Promise?a.then(i=>(n.value=i,n.fallback=!0,n)):(n.value=a,n.fallback=!0,n)}});function Qi(e){return new Ph({type:"transform",transform:e})}const el=E("ZodOptional",(e,t)=>{Hi.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Vi(e,n,o,a),e.unwrap=()=>e._zod.def.innerType});function pr(e){return new el({type:"optional",innerType:e})}const Oh=E("ZodExactOptional",(e,t)=>{au.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Vi(e,n,o,a),e.unwrap=()=>e._zod.def.innerType});function Lh(e){return new Oh({type:"optional",innerType:e})}const zh=E("ZodNullable",(e,t)=>{ru.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>yd(e,n,o,a),e.unwrap=()=>e._zod.def.innerType});function mr(e){return new zh({type:"nullable",innerType:e})}const jh=E("ZodDefault",(e,t)=>{iu.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Rd(e,n,o,a),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Bh(e,t){return new jh({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():Ci(t)}})}const Dh=E("ZodPrefault",(e,t)=>{lu.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Ed(e,n,o,a),e.unwrap=()=>e._zod.def.innerType});function Hh(e,t){return new Dh({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():Ci(t)}})}const tl=E("ZodNonOptional",(e,t)=>{su.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Nd(e,n,o,a),e.unwrap=()=>e._zod.def.innerType});function Fh(e,t){return new tl({type:"nonoptional",innerType:e,...z(t)})}const Gh=E("ZodCatch",(e,t)=>{cu.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Id(e,n,o,a),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Uh(e,t){return new Gh({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const nl=E("ZodPipe",(e,t)=>{Fi.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Md(e,n,o,a),e.in=t.in,e.out=t.out});function gr(e,t){return new nl({type:"pipe",in:e,out:t})}const Zh=E("ZodPreprocess",(e,t)=>{nl.init(e,t),uu.init(e,t)}),Wh=E("ZodReadonly",(e,t)=>{du.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Td(e,n,o,a),e.unwrap=()=>e._zod.def.innerType});function qh(e){return new Wh({type:"readonly",innerType:e})}const Vh=E("ZodLazy",(e,t)=>{hu.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>Pd(e,n,o,a),e.unwrap=()=>e._zod.def.getter()});function Yh(e){return new Vh({type:"lazy",getter:e})}const Kh=E("ZodCustom",(e,t)=>{fu.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(n,o,a)=>xd(e,n)});function Jh(e,t={}){return id(Kh,e,t)}function Xh(e,t){return ld(e,t)}function Qh(e,t){return new Zh({type:"pipe",in:Qi(e),out:t})}var ef=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),tf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,br=C({style:C({textAlign:I(["left","center","right"]).optional().nullable(),padding:ef}).optional().nullable(),props:C({size:f().gt(0).optional().nullable(),shape:I(["circle","square","rounded"]).optional().nullable(),imageUrl:x().optional().nullable(),alt:x().optional().nullable()}).optional().nullable()});function nf(e,t){switch(e){case"rounded":return t*.125;case"circle":return t;case"square":default:return}}var wn={size:64,imageUrl:"",alt:"",shape:"square"};function vr({style:e,props:t}){var n,o,a,i,r;const l=(n=t==null?void 0:t.size)!=null?n:wn.size,s=(o=t==null?void 0:t.imageUrl)!=null?o:wn.imageUrl,c=(a=t==null?void 0:t.alt)!=null?a:wn.alt,u=(i=t==null?void 0:t.shape)!=null?i:wn.shape,p={textAlign:(r=e==null?void 0:e.textAlign)!=null?r:void 0,padding:tf(e==null?void 0:e.padding)};return G.createElement("div",{style:p},G.createElement("img",{alt:c,src:s,height:l,width:l,style:{outline:"none",border:"none",textDecoration:"none",objectFit:"cover",height:l,width:l,maxWidth:"100%",display:"inline-block",verticalAlign:"middle",textAlign:"center",borderRadius:nf(u,l)}}))}const un=C({type:I(["none","fade-in","slide-left","slide-right","slide-up","slide-down","zoom-in","bounce"]),trigger:I(["load","scroll","hover","click"]),speed:I(["slow","medium","fast"]),delay:f().min(0).max(1e4).optional().nullable(),disableOnMobile:P().optional().nullable()}).optional().nullable(),of=br.extend({props:br.shape.props.unwrap().unwrap().extend({decorative:P().optional().nullable(),animation:un}).optional().nullable()}),Qt={REGULAR:"400",MEDIUM:"500",SEMIBOLD:"600",BOLD:"700"},Ra=Object.values(Qt);function ol(){return"desktop"}const je=1024,Ae=640,ot=`@media (max-width: ${je}px)`,Oe=`@media (max-width: ${Ae}px)`,dn=`@media (min-width: ${Ae+1}px) and (max-width: ${je}px)`,Vn=C({color:x().optional().nullable(),offsetX:f().default(0),offsetY:f().default(0),blur:f().default(0),spread:f().default(0),inset:P().default(!1)}).partial().optional().nullable();function af(e){if(!(e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")))return e;const n=e.match(/#([0-9a-fA-F]{3,8})|rgba?\([^)]+\)/);return(n==null?void 0:n[0])??"#000000"}function Yn(e){if(!(e!=null&&e.color))return{};const{color:t,offsetX:n=0,offsetY:o=0,blur:a=0,spread:i=0,inset:r=!1}=e;return{boxShadow:`${r?"inset ":""}${n}px ${o}px ${a}px ${i}px ${af(t)}`}}const Te=C({tablet:Lt(x(),an()).optional().nullable(),mobile:Lt(x(),an()).optional().nullable()}).optional().nullable(),rf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M19 12H5M5 12L12 19M5 12L12 5",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},lf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M12 4V20M12 20L18 14M12 20L6 14",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},sf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M18 6L6 18M6 18H14M6 18V10",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},cf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M6 6L18 18M18 18V10M18 18H10",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},uf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M20 12H4M4 12L10 18M4 12L10 6",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},df=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M4 12H20M20 12L14 6M20 12L14 18",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},hf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M12 20V4M12 4L6 10M12 4L18 10",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},ff=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M18 18L6 6M6 6V14M6 6H14",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},pf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M6 18L18 6M18 6H10M18 6V14",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},mf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M5 12H19M19 12L12 5M19 12L12 19",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},gf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M6 9L12 15L18 9",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},bf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M7 13L12 18L17 13M7 6L12 11L17 6",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},vf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M15 18L9 12L15 6",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},xf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M18 17L13 12L18 7M11 17L6 12L11 7",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},Sf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M9 18L15 12L9 6",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},wf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M6 17L11 12L6 7M13 17L18 12L13 7",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},kf=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",children:g.jsx("path",{d:"M18 15L12 9L6 15",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},_f=e=>{const t=e.strokeColor||"black";return g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 14",fill:"none",children:g.jsx("path",{d:"M11 13L6 8L1 13M11 6L6 1L1 6",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};function ut(e,t={fontSize:16}){if(!e)return null;switch(e){case"arrow-left":return g.jsx(rf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-narrow-left":return g.jsx(uf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-right":return g.jsx(mf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-narrow-right":return g.jsx(df,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-narrow-down":return g.jsx(lf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-narrow-down-left":return g.jsx(sf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-narrow-down-right":return g.jsx(cf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-narrow-up":return g.jsx(hf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-narrow-up-left":return g.jsx(ff,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"arrow-narrow-up-right":return g.jsx(pf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"chevron-left":return g.jsx(vf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"chevron-right":return g.jsx(Sf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"chevron-up":return g.jsx(kf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"chevron-down":return g.jsx(gf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"chevron-left-double":return g.jsx(xf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"chevron-right-double":return g.jsx(wf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"chevron-up-double":return g.jsx(_f,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});case"chevron-down-double":return g.jsx(bf,{strokeColor:t.strokeColor,style:{fontSize:t.fontSize}});default:return null}}const $f=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 no(e){if(!e)return"inherit";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'}return"inherit"}const Cf=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),Af=x().regex(/^rgba?\([^\)]+\)$/i),yf=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Nf=re("transparent"),At=D([Cf,Af,yf,Nf]).nullable().optional(),Rf=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Ef=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),If=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Mf=D([f(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),Tf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Pf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Of=C({style:C({backgroundColor:At,fontSize:f().min(0).optional().nullable(),fontFamily:$f,fontWeight:I(["bold","normal",...Ra]).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),buttonTextAlign:I(["left","center","right"]).optional().nullable(),padding:Rf,margin:Ef}).optional().nullable(),props:C({buttonBackground:At,hoverBackground:At,hoverTextColor:At,borderRadius:Mf,borderWidth:If,borderColor:At,buttonTextColor:At,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(),size:I(["x-small","small","large","medium"]).optional().nullable(),sizeTablet:I(["x-small","small","large","medium"]).optional().nullable(),sizeMobile:I(["x-small","small","large","medium"]).optional().nullable(),text:x().optional().nullable(),url:x().optional().nullable(),action:I(["link","onNextStep","onPrevStep","onCloseStep","goToStep","postMessageEvent"]).optional().nullable(),openInNewTab:P().optional().nullable(),customAction:x().optional().nullable(),actionPayload:Lt(x(),an()).optional().nullable(),iconEnabled:P().optional().nullable(),iconName:x().optional().nullable(),iconAlignment:I(["left","right"]).optional().nullable(),ariaLabel:x().optional().nullable(),goToStep:x().optional().nullable(),postMessageEvent:x().optional().nullable(),animation:un,boxShadow:Vn}).optional().nullable(),responsive:Te});function xr(e){switch(e){case"x-small":return[4,8];case"small":return[8,12];case"large":return[16,32];case"medium":default:return[12,20]}}const ge={text:"",url:"",fullWidth:!1,widthType:"fit",width:200,widthUnit:"px",size:"medium",borderRadius:4,borderColor:"",buttonTextColor:"#000000",buttonBackground:"#ffffff",borderWidth:{top:0,right:0,bottom:0,left:0},action:"onNextStep",openInNewTab:!0,customAction:"",actionPayload:null,iconEnabled:!1,iconName:"",iconAlignment:"left",goToStep:"",postMessageEvent:"",boxShadow:null};function Lf({style:e,props:t}){const o=`bh-${G.useId().replace(/:/g,"")}`,a=(t==null?void 0:t.text)??ge.text,i=(t==null?void 0:t.url)??ge.url,r=(t==null?void 0:t.fullWidth)??ge.fullWidth,l=(t==null?void 0:t.widthType)??ge.widthType,s=(t==null?void 0:t.width)??ge.width,c=(t==null?void 0:t.widthUnit)??ge.widthUnit,u=(t==null?void 0:t.widthTablet)??null,p=(t==null?void 0:t.widthMobile)??null,d=u??s,h=p??d,m=(t==null?void 0:t.widthTypeTablet)??l,b=(t==null?void 0:t.widthTypeMobile)??m,v=(t==null?void 0:t.size)??ge.size,k=(t==null?void 0:t.sizeTablet)??v,S=(t==null?void 0:t.sizeMobile)??k,$=l,w=s,_=(t==null?void 0:t.buttonTextColor)??ge.buttonTextColor,N=(t==null?void 0:t.buttonBackground)??ge.buttonBackground,A=(t==null?void 0:t.iconEnabled)??ge.iconEnabled,y=(t==null?void 0:t.iconName)??ge.iconName,R=(t==null?void 0:t.iconAlignment)??ge.iconAlignment,M=(t==null?void 0:t.ariaLabel)??null,T=typeof a=="string"&&a.trim().length>0,L=M&&M.trim().length>0?M:!T&&A&&y?y:void 0,H=(t==null?void 0:t.action)??ge.action,F=(t==null?void 0:t.openInNewTab)??ge.openInNewTab,O=((t==null?void 0:t.customAction)??ge.customAction)||H,q=(t==null?void 0:t.actionPayload)??ge.actionPayload,B=(t==null?void 0:t.goToStep)??ge.goToStep,Y=(t==null?void 0:t.postMessageEvent)??ge.postMessageEvent,de=q||(O==="goToStep"?{goToStep:B||""}:null)||(O==="postMessageEvent"?{postMessageEvent:Y||""}:null),oe=de?JSON.stringify(de):void 0,ee=(t==null?void 0:t.borderRadius)??ge.borderRadius,Z=(t==null?void 0:t.borderWidth)??ge.borderWidth,J=(t==null?void 0:t.borderColor)??ge.borderColor,Ee=(t==null?void 0:t.boxShadow)??ge.boxShadow,we=Yn(Ee),me=(t==null?void 0:t.hoverBackground)??null,ne=(t==null?void 0:t.hoverTextColor)??null,V=xr(v),U=_e=>typeof _e=="number"?`${_e}px`:`${_e.topLeft}px ${_e.topRight}px ${_e.bottomRight}px ${_e.bottomLeft}px`,X=(_e,ct)=>{if(typeof _e=="number")return`${Math.max(0,_e-ct)}px`;const Xn=Math.max(0,(_e.topLeft||0)-ct),Qn=Math.max(0,(_e.topRight||0)-ct),$t=Math.max(0,(_e.bottomRight||0)-ct),Ct=Math.max(0,(_e.bottomLeft||0)-ct);return`${Xn}px ${Qn}px ${$t}px ${Ct}px`},ye=J&&(J.includes("linear-gradient")||J.includes("radial-gradient")||J.includes("repeating-linear-gradient")),te=Z&&((Z.top??0)>0||(Z.right??0)>0||(Z.bottom??0)>0||(Z.left??0)>0),Q={top:(Z==null?void 0:Z.top)??0,right:(Z==null?void 0:Z.right)??0,bottom:(Z==null?void 0:Z.bottom)??0,left:(Z==null?void 0:Z.left)??0},Pe=(()=>{if(r)return"100%";switch($){case"fill":return"100%";case"fixed":return`${w}${c}`;case"fit":default:return"auto"}})(),ke=(e==null?void 0:e.buttonTextAlign)??(e==null?void 0:e.textAlign)??"center",it=ke==="center"?"center":ke==="right"?"flex-end":"flex-start",bt=()=>!J||J==="transparent"||!te?{border:"none"}:ye?{borderTop:`${Q.top}px solid transparent`,borderRight:`${Q.right}px solid transparent`,borderBottom:`${Q.bottom}px solid transparent`,borderLeft:`${Q.left}px solid transparent`,borderImage:`${J} `,borderRadius:"0px"}:{borderTop:`${Q.top}px solid ${J}`,borderRight:`${Q.right}px solid ${J}`,borderBottom:`${Q.bottom}px solid ${J}`,borderLeft:`${Q.left}px solid ${J}`},Ne=N&&(N.includes("linear-gradient")||N.includes("radial-gradient")||N.includes("repeating-linear-gradient")),Se=_&&(_.includes("linear-gradient")||_.includes("radial-gradient")||_.includes("repeating-linear-gradient")),ie=(e==null?void 0:e.backgroundColor)&&(e.backgroundColor.includes("linear-gradient")||e.backgroundColor.includes("radial-gradient")||e.backgroundColor.includes("repeating-linear-gradient")),be={backgroundColor:ie?void 0:(e==null?void 0:e.backgroundColor)??void 0,backgroundImage:ie?(e==null?void 0:e.backgroundColor)??void 0:void 0,textAlign:(e==null?void 0:e.textAlign)??void 0,padding:Tf(e==null?void 0:e.padding),margin:Pf(e==null?void 0:e.margin)},Ie=bt(),lt=Se?{backgroundImage:_,backgroundRepeat:"no-repeat",backgroundSize:"100% 100%",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",display:"inline-block"}:{color:_||void 0},Fe=Se?"transparent":Ne?void 0:N,st=Se?void 0:Ne?N:void 0,Me=(e==null?void 0:e.fontSize)??16,_t=`${Me}px`,Gt={fontSize:_t,fontFamily:no(e==null?void 0:e.fontFamily),fontWeight:(e==null?void 0:e.fontWeight)??Qt.REGULAR,backgroundColor:Fe,backgroundImage:st,borderRadius:ye?"0px":U(ee),...Ie,...ye&&te?{}:we,display:Pe==="100%"?"block":"inline-block",width:Pe,padding:`${V[0]}px ${V[1]}px`,textDecoration:"none",boxSizing:"border-box",justifyContent:it,lineHeight:"normal"},gn=ye&&te?g.jsx("div",{style:{display:Pe==="100%"?"block":"inline-block",padding:`${Q.top}px ${Q.right}px ${Q.bottom}px ${Q.left}px`,background:J,borderRadius:U(ee),width:Pe,boxSizing:"border-box",...we},children:g.jsxs("button",{style:{cursor:"pointer",border:"none",borderRadius:X(ee,Math.max(Q.top,Q.right,Q.bottom,Q.left)),width:"100%",fontWeight:(e==null?void 0:e.fontWeight)??Qt.REGULAR,fontFamily:no(e==null?void 0:e.fontFamily),backgroundImage:st??(Ne?N:"#fffff"),backgroundColor:Fe??(Ne?"#ffffff":N),textAlign:ke,textDecoration:"none",fontSize:_t,padding:`${V[0]}px ${V[1]}px`,boxSizing:"border-box",lineHeight:"normal"},"data-action":O,"data-action-payload":oe,"data-goto-step":O==="goToStep"&&B?B:void 0,"data-post-message-event":O==="postMessageEvent"&&Y?Y:void 0,type:"button","aria-label":L,children:[A&&y&&R==="left"?g.jsx("span",{style:{marginRight:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},"data-action":O,children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null,g.jsx("span",{style:{...lt,pointerEvents:"none"},"data-action":O,children:a}),A&&y&&R==="right"?g.jsx("span",{style:{marginLeft:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},"data-action":O,children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null]})}):g.jsxs("button",{style:{cursor:"pointer",...Ie,...we,borderRadius:U(ee),width:Pe,fontWeight:(e==null?void 0:e.fontWeight)??Qt.REGULAR,fontFamily:no(e==null?void 0:e.fontFamily),backgroundColor:Fe??(Ne?"":N),backgroundImage:st??(Ne?N:""),textAlign:ke,textDecoration:"none",fontSize:_t,padding:`${V[0]}px ${V[1]}px`,boxSizing:"border-box",lineHeight:"normal"},"data-action":O,"data-action-payload":oe,"data-goto-step":O==="goToStep"&&B?B:void 0,"data-post-message-event":O==="postMessageEvent"&&Y?Y:void 0,type:"button","aria-label":L,children:[A&&y&&R==="left"?g.jsx("span",{style:{marginRight:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},"data-action":O,children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null,g.jsx("span",{style:{...lt,pointerEvents:"none"},"data-action":O,children:a}),A&&y&&R==="right"?g.jsx("span",{style:{marginLeft:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},"data-action":O,children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null]}),ae=[];me&&ae.push(`background-color: ${me} !important; background-image: none !important;`),ne&&ae.push(`color: ${ne} !important;`);const le=ae.length>0?`#${o} a:hover, #${o} button:hover { ${ae.join(" ")} transition: background-color 150ms ease, color 150ms ease; } #${o} a:hover span, #${o} button:hover span { ${ne?`color: ${ne} !important; -webkit-text-fill-color: ${ne} !important;`:""} }`:null,Ge=(_e,ct,Xn,Qn)=>{const $t=[],Ct=r||ct==="fill"?"100%":ct==="fixed"?`${Xn}${c}`:"auto";$t.push(`width: ${Ct} !important;`,"max-width: 100% !important;"),$t.push(`display: ${Ct==="100%"?"block":"inline-block"} !important;`);const[Fa,as]=xr(Qn);return $t.push(`padding: ${Fa}px ${as}px !important;`),`${_e} { #${o} a, #${o} button { ${$t.join(" ")} } #${o} > div { width: ${Ct} !important; max-width: 100% !important; display: ${Ct==="100%"?"block":"inline-block"} !important; } }`},Qe=m!==l||k!==v||m==="fixed"&&d!==s,et=b!==l||S!==v||b==="fixed"&&h!==s,bn=Qe||et?[Qe?Ge(ot,m,d,k):"",et?Ge(Oe,b,h,S):""].filter(Boolean).join(`
|
|
65
|
-
`):null;if(H!=="link")return g.jsxs("div",{id:o,className:"button-block",style:be,children:[le&&g.jsx("style",{children:le}),bn&&g.jsx("style",{children:bn}),gn]});const os=ye&&te?g.jsx("div",{style:{display:Pe==="100%"?"block":"inline-block",padding:`${Q.top}px ${Q.right}px ${Q.bottom}px ${Q.left}px`,background:J,borderRadius:U(ee),width:Pe,boxSizing:"border-box",...we},children:g.jsxs("a",{href:i,style:{...Gt,border:"none",borderRadius:X(ee,Math.max(Q.top,Q.right,Q.bottom,Q.left)),width:"100%",display:"inline-flex",alignItems:"center",justifyContent:it},target:F?"_blank":void 0,rel:F?"noopener noreferrer":void 0,"aria-label":L,children:[A&&y&&R==="left"?g.jsx("span",{style:{marginRight:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null,g.jsx("span",{style:{...lt,pointerEvents:"none"},children:a}),A&&y&&R==="right"?g.jsx("span",{style:{marginLeft:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null]})}):g.jsxs("a",{href:i,style:{...Gt,borderRadius:U(ee),display:"inline-flex",alignItems:"center",justifyContent:it},target:F?"_blank":void 0,rel:F?"noopener noreferrer":void 0,"aria-label":L,children:[A&&y&&R==="left"?g.jsx("span",{style:{marginRight:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null,g.jsx("span",{style:{...lt,pointerEvents:"none"},children:a}),A&&y&&R==="right"?g.jsx("span",{style:{marginLeft:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null]});return g.jsxs("div",{id:o,className:"button-block",style:be,children:[le&&g.jsx("style",{children:le}),bn&&g.jsx("style",{children:bn}),os]})}const zf=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),jf=x().regex(/^rgba?\([^\)]+\)$/i),Bf=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Df=re("transparent"),Sr=D([zf,jf,Bf,Df]).nullable().optional(),Hf=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Ff=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Gf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Uf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Zf=C({style:C({backgroundColor:Sr,padding:Hf,margin:Ff}).optional().nullable(),props:C({lineColor:Sr,lineHeight:f().optional().nullable()}).optional().nullable()}),wr={lineHeight:1,lineColor:"#333333"};function Wf({style:e,props:t}){const n=(t==null?void 0:t.lineHeight)??wr.lineHeight,o=(t==null?void 0:t.lineColor)??wr.lineColor,a={padding:Gf(e==null?void 0:e.padding),margin:Uf(e==null?void 0:e.margin),backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,"--ahd-divider-thickness":`${n}px`};return g.jsx("div",{className:"divider-block",style:a,children:g.jsx("hr",{style:{width:"100%",border:"none",borderTopStyle:"solid",borderTopColor:o,borderTopWidth:`var(--ahd-divider-thickness, ${n}px)`,margin:0}})})}const qf=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),Vf=x().regex(/^rgba?\([^\)]+\)$/i),Yf=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Kf=re("transparent"),oo=D([qf,Vf,Yf,Kf]).nullable().optional(),Jf=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Xf=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Qf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,ep=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,tp=I(["inherit","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 np(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 op=C({props:C({text:x().optional().nullable(),level:I(["h1","h2","h3","h4","h5","h6"]).optional().nullable(),linkType:I(["text","link"]).optional().nullable(),url:x().optional().nullable(),openInNewTab:P().optional().nullable()}).optional().nullable(),style:C({color:oo,textColor:oo,backgroundColor:oo,fontFamily:tp,fontSize:f().optional().nullable(),lineClamp:f().int().gte(0).optional().nullable(),fontWeight:I(["bold","normal",...Ra]).optional().nullable(),fontStyle:I(["italic","normal"]).optional().nullable(),textDecoration:I(["none","underline","line-through","underline line-through"]).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),padding:Jf,margin:Xf}).optional().nullable()}),Ut={level:"h2",text:"",linkType:"text",url:"",openInNewTab:!1};function ap({props:e,style:t}){const n=(e==null?void 0:e.level)??Ut.level,o=(e==null?void 0:e.text)??Ut.text,a=(e==null?void 0:e.linkType)??Ut.linkType,i=(e==null?void 0:e.url)??Ut.url,r=(e==null?void 0:e.openInNewTab)??Ut.openInNewTab,l=a==="link"&&i,s=(t==null?void 0:t.fontSize)??rp(n),c=(t==null?void 0:t.textColor)??(t==null?void 0:t.color),u=c&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(c),p=t==null?void 0:t.lineClamp,d=p&&p>0?{display:"-webkit-box",WebkitLineClamp:p,WebkitBoxOrient:"vertical",overflow:"hidden"}:{},h={fontWeight:(t==null?void 0:t.fontWeight)??Qt.REGULAR,fontStyle:(t==null?void 0:t.fontStyle)??"normal",textDecoration:(t==null?void 0:t.textDecoration)??"none",margin:0,fontFamily:np(t==null?void 0:t.fontFamily),fontSize:s,...d},m=u?{backgroundImage:c,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",display:"inline-block"}:{color:c??void 0},b=(t==null?void 0:t.backgroundColor)??void 0,v=typeof b=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(b),k={padding:Qf(t==null?void 0:t.padding),margin:ep(t==null?void 0:t.margin),display:"block",width:"100%",boxSizing:"border-box",textAlign:(t==null?void 0:t.textAlign)??void 0,wordBreak:"break-word",overflowWrap:"break-word",...v?{backgroundImage:b,backgroundRepeat:"no-repeat",backgroundSize:"cover"}:{backgroundColor:b}},S=n,$=g.jsx(S,{className:"heading-block",style:h,children:g.jsx("span",{style:m,children:o})});return g.jsx("div",{className:"heading-block-wrapper",style:k,children:l?g.jsx("a",{href:i,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,style:{display:"block",textDecoration:"none",color:!u&&c?c:void 0},children:$}):$})}function rp(e){switch(e){case"h1":return 32;case"h2":return 24;case"h3":return 20;case"h4":return 18;case"h5":return 16;case"h6":return 14}}var al="comm",rl="rule",il="decl",ip="@import",lp="@namespace",sp="@keyframes",cp="@layer",up=Math.abs,en=String.fromCharCode;function ll(e){return e.trim()}function Fo(e,t,n){return e.replace(t,n)}function Tt(e,t){return e.charCodeAt(t)|0}function zt(e,t,n){return e.slice(t,n)}function Je(e){return e.length}function dp(e){return e.length}function kn(e,t){return t.push(e),e}var Kn=1,jt=1,sl=0,Le=0,xe=0,Dt="";function Ea(e,t,n,o,a,i,r,l){return{value:e,root:t,parent:n,type:o,props:a,children:i,line:Kn,column:jt,length:r,return:"",siblings:l}}function hp(){return xe}function fp(){return xe=Le>0?Tt(Dt,--Le):0,jt--,xe===10&&(jt=1,Kn--),xe}function We(){return xe=Le<sl?Tt(Dt,Le++):0,jt++,xe===10&&(jt=1,Kn++),xe}function ft(){return Tt(Dt,Le)}function Rn(){return Le}function Jn(e,t){return zt(Dt,e,t)}function rn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function pp(e){return Kn=jt=1,sl=Je(Dt=e),Le=0,[]}function mp(e){return Dt="",e}function ao(e){return ll(Jn(Le-1,Go(e===91?e+2:e===40?e+1:e)))}function gp(e){for(;(xe=ft())&&xe<33;)We();return rn(e)>2||rn(xe)>3?"":" "}function bp(e,t){for(;--t&&We()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return Jn(e,Rn()+(t<6&&ft()==32&&We()==32))}function Go(e){for(;We();)switch(xe){case e:return Le;case 34:case 39:e!==34&&e!==39&&Go(xe);break;case 40:e===41&&Go(e);break;case 92:We();break}return Le}function vp(e,t){for(;We()&&e+xe!==57;)if(e+xe===84&&ft()===47)break;return"/*"+Jn(t,Le-1)+"*"+en(e===47?e:We())}function xp(e){for(;!rn(ft());)We();return Jn(e,Le)}function Sp(e){return mp(En("",null,null,null,[""],e=pp(e),0,[0],e))}function En(e,t,n,o,a,i,r,l,s){for(var c=0,u=0,p=r,d=0,h=0,m=0,b=1,v=1,k=1,S=0,$=0,w="",_=a,N=i,A=o,y=w;v;)switch(m=$,$=We()){case 40:m!=108&&Tt(y,p-1)==58?(S++,y+="("):y+=ao($);break;case 41:S--,y+=")";break;case 34:case 39:case 91:y+=ao($);break;case 9:case 10:case 13:case 32:if(S>0){y+=en($);break}y+=gp(m);break;case 92:y+=bp(Rn()-1,7);continue;case 47:switch(ft()){case 42:case 47:kn(wp(vp(We(),Rn()),t,n,s),s),(rn(m||1)==5||rn(ft()||1)==5)&&Je(y)&&zt(y,-1,void 0)!==" "&&(y+=" ");break;default:y+="/"}break;case 123*b:l[c++]=Je(y)*k;case 125*b:case 59:case 0:if(S>0&&$){y+=en($);break}switch($){case 0:case 125:v=0;case 59+u:k==-1&&(y=Fo(y,/\f/g,"")),h>0&&(Je(y)-p||b===0)&&kn(h>32?_r(y+";",o,n,p-1,s):_r(Fo(y," ","")+";",o,n,p-2,s),s);break;case 59:y+=";";default:if(kn(A=kr(y,t,n,c,u,a,l,w,_=[],N=[],p,i),i),$===123)if(u===0)En(y,t,A,A,_,i,p,l,N);else{switch(d){case 99:if(Tt(y,3)===110)break;case 108:if(Tt(y,2)===97)break;default:u=0;case 100:case 109:case 115:}u?En(e,A,A,o&&kn(kr(e,A,A,0,0,a,l,w,a,_=[],p,N),N),a,N,p,l,o?_:N):En(y,A,A,A,[""],N,0,l,N)}}c=u=h=0,b=k=1,w=y="",p=r;break;case 58:p=1+Je(y),h=m;default:if(b<1){if($==123)--b;else if($==125&&b++==0&&fp()==125)continue}switch(y+=en($),$*b){case 38:k=u>0?1:(y+="\f",-1);break;case 44:if(S>0)break;l[c++]=(Je(y)-1)*k,k=1;break;case 64:ft()===45&&(y+=ao(We())),d=ft(),u=p=Je(w=y+=xp(Rn())),$++;break;case 45:m===45&&Je(y)==2&&(b=0)}}return i}function kr(e,t,n,o,a,i,r,l,s,c,u,p){for(var d=a-1,h=a===0?i:[""],m=dp(h),b=0,v=0,k=0;b<o;++b)for(var S=0,$=zt(e,d+1,d=up(v=r[b])),w=e;S<m;++S)(w=ll(v>0?h[S]+" "+$:Fo($,/&\f/g,h[S])))&&(s[k++]=w);return Ea(e,t,n,a===0?rl:l,s,c,u,p)}function wp(e,t,n,o){return Ea(e,t,n,al,en(hp()),zt(e,2,-2),0,o)}function _r(e,t,n,o,a){return Ea(e,t,n,il,zt(e,0,o),zt(e,o+1,-1),o,a)}function Uo(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function kp(e,t,n,o){switch(e.type){case cp:if(e.children.length)break;case ip:case lp:case il:return e.return=e.return||e.value;case al:return"";case sp:return e.return=e.value+"{"+Uo(e.children,o)+"}";case rl:if(!Je(e.value=e.props.join(",")))return""}return Je(n=Uo(e.children,o))?e.return=e.value+"{"+n+"}":""}const _p=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),$p=x().regex(/^rgba?\([^\)]+\)$/i),Cp=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Ap=re("transparent"),$r=D([_p,$p,Cp,Ap]).nullable().optional(),yp=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Np=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Rp=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Ep=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Ip=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 Mp(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 Tp=C({style:C({color:$r,backgroundColor:$r,fontFamily:Ip,fontSize:f().min(0).optional().nullable(),textAlign:I(["left","right","center"]).optional().nullable(),padding:yp,margin:Np}).optional().nullable(),props:C({contents:x().optional().nullable()}).optional().nullable()}),Pp=/<style[^>]*>([\s\S]*?)<\/style>/gi;function Op(e,t){let n="";const o=e.replace(Pp,(i,r)=>(n+=r,""));if(!n.trim())return{markup:o,css:""};const a=Uo(Sp(`[${t}]{${n}}`),kp);return{markup:o,css:a}}function Lp({style:e,props:t}){const n=t==null?void 0:t.contents,[o,a]=G.useState(!1),r=`data-html-scope-${G.useId().replace(/[^a-zA-Z0-9-]/g,"")}`,{markup:l,css:s}=G.useMemo(()=>n?Op(n,r):{markup:"",css:""},[n,r]),c={color:(e==null?void 0:e.color)??void 0,backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,fontFamily:Mp(e==null?void 0:e.fontFamily),fontSize:(e==null?void 0:e.fontSize)??void 0,textAlign:(e==null?void 0:e.textAlign)??void 0,padding:Rp(e==null?void 0:e.padding),margin:Ep(e==null?void 0:e.margin)},u=G.useRef(null);G.useEffect(()=>{const b=u.current;if(!b)return;b.querySelectorAll("iframe").forEach(k=>{try{k.style.pointerEvents=o?"auto":"none"}catch{}})},[n,o]);const p=b=>{o||a(!0)},d=()=>{a(!1)},h=`[${r}] pre,[${r}] code{white-space:pre-wrap;word-break:break-all;overflow-x:auto;max-width:100%}`;if(!n)return g.jsx("div",{ref:u,className:"html-block",style:c,children:g.jsx("style",{dangerouslySetInnerHTML:{__html:h}})});const m=`<style>${h}${s}</style>${l}`;return g.jsx("div",{ref:u,className:"html-block",style:c,onClick:p,onBlur:d,tabIndex:0,[r]:"",dangerouslySetInnerHTML:{__html:m}})}const Ia=C({enabled:P(),scale:f().min(1).max(1.5).optional().nullable(),duration:f().min(0).max(3e3).optional().nullable(),easing:I(["ease","ease-in","ease-out","ease-in-out","linear"]).optional().nullable()}).optional().nullable(),zp=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),jp=x().regex(/^rgba?\([^\)]+\)$/i),Bp=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Dp=re("transparent"),Hp=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Fp=D([f(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),ro=D([zp,jp,Bp,Dp]).nullable().optional(),Gp=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Up=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function Zp(e){return!e||e==="transparent"?{backgroundColor:e??"transparent"}:e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")?{background:e}:{backgroundColor:e}}function Wp(e,t){return e?e==="transparent"?{border:"none"}:e&&(e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient"))?{background:e,padding:`${(t==null?void 0:t.top)||1}px ${(t==null?void 0:t.right)||1}px ${(t==null?void 0:t.bottom)||1}px ${(t==null?void 0:t.left)||1}px`}:{borderTop:`${(t==null?void 0:t.top)||1}px solid ${e}`,borderRight:`${(t==null?void 0:t.right)||1}px solid ${e}`,borderBottom:`${(t==null?void 0:t.bottom)||1}px solid ${e}`,borderLeft:`${(t==null?void 0:t.left)||1}px solid ${e}`}:{}}const qp=C({style:C({padding:Hp,backgroundColor:ro.default(null),textAlign:I(["center","left","right"]).optional().nullable()}).optional().nullable(),props:C({width:f().optional().nullable(),widthUnit:I(["px","%"]).optional().nullable(),widthTablet:f().positive().optional().nullable(),widthMobile:f().positive().optional().nullable(),height:f().optional().nullable(),heightTablet:f().positive().optional().nullable(),heightMobile:f().positive().optional().nullable(),widthType:I(["fixed","fill","fit"]).optional().nullable(),url:x().optional().nullable(),urlTablet:x().optional().nullable(),urlMobile:x().optional().nullable(),alt:x().optional().nullable(),decorative:P().optional().nullable(),linkHref:x().optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable(),borderRadius:Fp,borderColor:ro.default(null),borderWidth:Gp,rotation:f().min(0).max(360).optional().nullable(),rotationTablet:f().min(0).max(360).optional().nullable(),rotationMobile:f().min(0).max(360).optional().nullable(),iconName:x().optional().nullable(),iconFillColor:ro.default(null),animation:un,hoverEffect:Ia,boxShadow:Vn}).optional().nullable()}),$e={widthType:"fit",width:300,widthUnit:"px",height:null,url:"",alt:"",decorative:!1,linkHref:null,contentAlignment:"middle",borderRadius:0,borderColor:null,borderWidth:null,rotation:0,hoverEffect:{enabled:!1,scale:1.05,duration:500,easing:"ease-in-out"},boxShadow:null};let Vp=0;function Yp({style:e,props:t}){const n=G.useMemo(()=>`ahd-img-${++Vp}`,[]),o=(e==null?void 0:e.textAlign)??void 0,a=o==="center"?"center":o==="right"?"flex-end":"flex-start",i={padding:Up(e==null?void 0:e.padding),...Zp(e==null?void 0:e.backgroundColor),display:"flex",justifyContent:a,width:"100%",boxSizing:"border-box"},r=(t==null?void 0:t.linkHref)??$e.linkHref,l=(t==null?void 0:t.widthType)??$e.widthType,s=(t==null?void 0:t.width)??$e.width,c=(t==null?void 0:t.widthUnit)??$e.widthUnit,u=(t==null?void 0:t.widthTablet)??null,p=(t==null?void 0:t.widthMobile)??null,d=u??s,h=p??d,m=(t==null?void 0:t.height)??$e.height,b=(t==null?void 0:t.heightTablet)??null,v=(t==null?void 0:t.heightMobile)??null,k=b??m,S=v??k,$=m,w=(t==null?void 0:t.url)??$e.url,_=(t==null?void 0:t.urlTablet)??null,N=(t==null?void 0:t.urlMobile)??null,A=!r&&((t==null?void 0:t.decorative)??$e.decorative),y=A?"":(t==null?void 0:t.alt)??$e.alt,R=A?{role:"presentation","aria-hidden":!0}:{},M=(t==null?void 0:t.contentAlignment)??$e.contentAlignment,T=(t==null?void 0:t.borderRadius)??$e.borderRadius,L=(t==null?void 0:t.borderColor)??$e.borderColor,H=(t==null?void 0:t.borderWidth)??$e.borderWidth,F=(t==null?void 0:t.boxShadow)??$e.boxShadow,j=Yn(F),O=(t==null?void 0:t.rotation)??$e.rotation,q=(t==null?void 0:t.rotationTablet)??null,B=(t==null?void 0:t.rotationMobile)??null,Y=q??O,de=B??Y,oe=ie=>{const be=ie*Math.PI/180,Ie=ie%180!==0?1/(Math.abs(Math.cos(be))+Math.abs(Math.sin(be))):1;return`rotate(${ie}deg) scale(${Ie})`},ee=O,Z=ee?{transform:oe(ee),transformOrigin:"center"}:{},Ee=q!=null||B!=null?`
|
|
65
|
+
`):null;if(H!=="link")return g.jsxs("div",{id:o,className:"button-block",style:be,children:[le&&g.jsx("style",{children:le}),bn&&g.jsx("style",{children:bn}),gn]});const os=ye&&te?g.jsx("div",{style:{display:Pe==="100%"?"block":"inline-block",padding:`${Q.top}px ${Q.right}px ${Q.bottom}px ${Q.left}px`,background:J,borderRadius:U(ee),width:Pe,boxSizing:"border-box",...we},children:g.jsxs("a",{href:i,style:{...Gt,border:"none",borderRadius:X(ee,Math.max(Q.top,Q.right,Q.bottom,Q.left)),width:"100%",display:"inline-flex",alignItems:"center",justifyContent:it},target:F?"_blank":void 0,rel:F?"noopener noreferrer":void 0,"aria-label":L,children:[A&&y&&R==="left"?g.jsx("span",{style:{marginRight:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null,g.jsx("span",{style:{...lt,pointerEvents:"none"},children:a}),A&&y&&R==="right"?g.jsx("span",{style:{marginLeft:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null]})}):g.jsxs("a",{href:i,style:{...Gt,borderRadius:U(ee),display:"inline-flex",alignItems:"center",justifyContent:it},target:F?"_blank":void 0,rel:F?"noopener noreferrer":void 0,"aria-label":L,children:[A&&y&&R==="left"?g.jsx("span",{style:{marginRight:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null,g.jsx("span",{style:{...lt,pointerEvents:"none"},children:a}),A&&y&&R==="right"?g.jsx("span",{style:{marginLeft:4,display:"inline-flex",verticalAlign:"middle",pointerEvents:"none"},children:ut(y,{strokeColor:Se?void 0:_,fontSize:Me})}):null]});return g.jsxs("div",{id:o,className:"button-block",style:be,children:[le&&g.jsx("style",{children:le}),bn&&g.jsx("style",{children:bn}),os]})}const zf=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),jf=x().regex(/^rgba?\([^\)]+\)$/i),Bf=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Df=re("transparent"),Sr=D([zf,jf,Bf,Df]).nullable().optional(),Hf=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Ff=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Gf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Uf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Zf=C({style:C({backgroundColor:Sr,padding:Hf,margin:Ff}).optional().nullable(),props:C({lineColor:Sr,lineHeight:f().optional().nullable()}).optional().nullable()}),wr={lineHeight:1,lineColor:"#333333"};function Wf({style:e,props:t}){const n=(t==null?void 0:t.lineHeight)??wr.lineHeight,o=(t==null?void 0:t.lineColor)??wr.lineColor,a={padding:Gf(e==null?void 0:e.padding),margin:Uf(e==null?void 0:e.margin),backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,"--ahd-divider-thickness":`${n}px`};return g.jsx("div",{className:"divider-block",style:a,children:g.jsx("hr",{style:{width:"100%",border:"none",borderTopStyle:"solid",borderTopColor:o,borderTopWidth:`var(--ahd-divider-thickness, ${n}px)`,margin:0}})})}const qf=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),Vf=x().regex(/^rgba?\([^\)]+\)$/i),Yf=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Kf=re("transparent"),oo=D([qf,Vf,Yf,Kf]).nullable().optional(),Jf=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Xf=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Qf=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,ep=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,tp=I(["inherit","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 np(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 op=C({props:C({text:x().optional().nullable(),level:I(["h1","h2","h3","h4","h5","h6"]).optional().nullable(),linkType:I(["text","link"]).optional().nullable(),url:x().optional().nullable(),openInNewTab:P().optional().nullable()}).optional().nullable(),style:C({color:oo,textColor:oo,backgroundColor:oo,fontFamily:tp,fontSize:f().optional().nullable(),lineClamp:f().int().gte(0).optional().nullable(),fontWeight:I(["bold","normal",...Ra]).optional().nullable(),fontStyle:I(["italic","normal"]).optional().nullable(),textDecoration:I(["none","underline","line-through","underline line-through"]).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),padding:Jf,margin:Xf}).optional().nullable()}),Ut={level:"h2",text:"",linkType:"text",url:"",openInNewTab:!1};function ap({props:e,style:t}){const n=(e==null?void 0:e.level)??Ut.level,o=(e==null?void 0:e.text)??Ut.text,a=(e==null?void 0:e.linkType)??Ut.linkType,i=(e==null?void 0:e.url)??Ut.url,r=(e==null?void 0:e.openInNewTab)??Ut.openInNewTab,l=a==="link"&&i,s=(t==null?void 0:t.fontSize)??rp(n),c=(t==null?void 0:t.textColor)??(t==null?void 0:t.color),u=c&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(c),p=(t==null?void 0:t.textDecoration)??"none",d=u&&(p==="underline"||p==="underline line-through"),h=u&&(p==="line-through"||p==="underline line-through"),m=t==null?void 0:t.lineClamp,b=!!(m&&m>0),v=b?{display:"-webkit-box",WebkitLineClamp:m,WebkitBoxOrient:"vertical",overflow:"hidden"}:{},k={fontWeight:(t==null?void 0:t.fontWeight)??Qt.REGULAR,fontStyle:(t==null?void 0:t.fontStyle)??"normal",textDecoration:u?"none":p,margin:0,fontFamily:np(t==null?void 0:t.fontFamily),fontSize:s,...v},S=u?{lineHeight:"normal ",backgroundImage:c,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",position:"relative",...b?{}:{display:"inline-block"},...d?{paddingBottom:"0.08em"}:{}}:{color:c??void 0},$={position:"absolute",left:0,right:0,height:"0.08em",backgroundImage:c??void 0,pointerEvents:"none"},w={...$,bottom:0},_={...$,top:"50%",transform:"translateY(-50%)"},N=(t==null?void 0:t.backgroundColor)??void 0,A=typeof N=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(N),y={padding:Qf(t==null?void 0:t.padding),margin:ep(t==null?void 0:t.margin),display:"block",width:"100%",boxSizing:"border-box",textAlign:(t==null?void 0:t.textAlign)??void 0,wordBreak:"break-word",overflowWrap:"break-word",...A?{backgroundImage:N,backgroundRepeat:"no-repeat",backgroundSize:"cover"}:{backgroundColor:N}},R=n,M=g.jsx(R,{className:"heading-block",style:k,children:g.jsxs("span",{style:S,children:[o,d?g.jsx("span",{style:w}):null,h?g.jsx("span",{style:_}):null]})});return g.jsx("div",{className:"heading-block-wrapper",style:y,children:l?g.jsx("a",{href:i,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,style:{display:"block",textDecoration:"none",color:!u&&c?c:void 0},children:M}):M})}function rp(e){switch(e){case"h1":return 32;case"h2":return 24;case"h3":return 20;case"h4":return 18;case"h5":return 16;case"h6":return 14}}var al="comm",rl="rule",il="decl",ip="@import",lp="@namespace",sp="@keyframes",cp="@layer",up=Math.abs,en=String.fromCharCode;function ll(e){return e.trim()}function Fo(e,t,n){return e.replace(t,n)}function Tt(e,t){return e.charCodeAt(t)|0}function zt(e,t,n){return e.slice(t,n)}function Je(e){return e.length}function dp(e){return e.length}function kn(e,t){return t.push(e),e}var Kn=1,jt=1,sl=0,Le=0,xe=0,Dt="";function Ea(e,t,n,o,a,i,r,l){return{value:e,root:t,parent:n,type:o,props:a,children:i,line:Kn,column:jt,length:r,return:"",siblings:l}}function hp(){return xe}function fp(){return xe=Le>0?Tt(Dt,--Le):0,jt--,xe===10&&(jt=1,Kn--),xe}function We(){return xe=Le<sl?Tt(Dt,Le++):0,jt++,xe===10&&(jt=1,Kn++),xe}function ft(){return Tt(Dt,Le)}function Rn(){return Le}function Jn(e,t){return zt(Dt,e,t)}function rn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function pp(e){return Kn=jt=1,sl=Je(Dt=e),Le=0,[]}function mp(e){return Dt="",e}function ao(e){return ll(Jn(Le-1,Go(e===91?e+2:e===40?e+1:e)))}function gp(e){for(;(xe=ft())&&xe<33;)We();return rn(e)>2||rn(xe)>3?"":" "}function bp(e,t){for(;--t&&We()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return Jn(e,Rn()+(t<6&&ft()==32&&We()==32))}function Go(e){for(;We();)switch(xe){case e:return Le;case 34:case 39:e!==34&&e!==39&&Go(xe);break;case 40:e===41&&Go(e);break;case 92:We();break}return Le}function vp(e,t){for(;We()&&e+xe!==57;)if(e+xe===84&&ft()===47)break;return"/*"+Jn(t,Le-1)+"*"+en(e===47?e:We())}function xp(e){for(;!rn(ft());)We();return Jn(e,Le)}function Sp(e){return mp(En("",null,null,null,[""],e=pp(e),0,[0],e))}function En(e,t,n,o,a,i,r,l,s){for(var c=0,u=0,p=r,d=0,h=0,m=0,b=1,v=1,k=1,S=0,$=0,w="",_=a,N=i,A=o,y=w;v;)switch(m=$,$=We()){case 40:m!=108&&Tt(y,p-1)==58?(S++,y+="("):y+=ao($);break;case 41:S--,y+=")";break;case 34:case 39:case 91:y+=ao($);break;case 9:case 10:case 13:case 32:if(S>0){y+=en($);break}y+=gp(m);break;case 92:y+=bp(Rn()-1,7);continue;case 47:switch(ft()){case 42:case 47:kn(wp(vp(We(),Rn()),t,n,s),s),(rn(m||1)==5||rn(ft()||1)==5)&&Je(y)&&zt(y,-1,void 0)!==" "&&(y+=" ");break;default:y+="/"}break;case 123*b:l[c++]=Je(y)*k;case 125*b:case 59:case 0:if(S>0&&$){y+=en($);break}switch($){case 0:case 125:v=0;case 59+u:k==-1&&(y=Fo(y,/\f/g,"")),h>0&&(Je(y)-p||b===0)&&kn(h>32?_r(y+";",o,n,p-1,s):_r(Fo(y," ","")+";",o,n,p-2,s),s);break;case 59:y+=";";default:if(kn(A=kr(y,t,n,c,u,a,l,w,_=[],N=[],p,i),i),$===123)if(u===0)En(y,t,A,A,_,i,p,l,N);else{switch(d){case 99:if(Tt(y,3)===110)break;case 108:if(Tt(y,2)===97)break;default:u=0;case 100:case 109:case 115:}u?En(e,A,A,o&&kn(kr(e,A,A,0,0,a,l,w,a,_=[],p,N),N),a,N,p,l,o?_:N):En(y,A,A,A,[""],N,0,l,N)}}c=u=h=0,b=k=1,w=y="",p=r;break;case 58:p=1+Je(y),h=m;default:if(b<1){if($==123)--b;else if($==125&&b++==0&&fp()==125)continue}switch(y+=en($),$*b){case 38:k=u>0?1:(y+="\f",-1);break;case 44:if(S>0)break;l[c++]=(Je(y)-1)*k,k=1;break;case 64:ft()===45&&(y+=ao(We())),d=ft(),u=p=Je(w=y+=xp(Rn())),$++;break;case 45:m===45&&Je(y)==2&&(b=0)}}return i}function kr(e,t,n,o,a,i,r,l,s,c,u,p){for(var d=a-1,h=a===0?i:[""],m=dp(h),b=0,v=0,k=0;b<o;++b)for(var S=0,$=zt(e,d+1,d=up(v=r[b])),w=e;S<m;++S)(w=ll(v>0?h[S]+" "+$:Fo($,/&\f/g,h[S])))&&(s[k++]=w);return Ea(e,t,n,a===0?rl:l,s,c,u,p)}function wp(e,t,n,o){return Ea(e,t,n,al,en(hp()),zt(e,2,-2),0,o)}function _r(e,t,n,o,a){return Ea(e,t,n,il,zt(e,0,o),zt(e,o+1,-1),o,a)}function Uo(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function kp(e,t,n,o){switch(e.type){case cp:if(e.children.length)break;case ip:case lp:case il:return e.return=e.return||e.value;case al:return"";case sp:return e.return=e.value+"{"+Uo(e.children,o)+"}";case rl:if(!Je(e.value=e.props.join(",")))return""}return Je(n=Uo(e.children,o))?e.return=e.value+"{"+n+"}":""}const _p=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),$p=x().regex(/^rgba?\([^\)]+\)$/i),Cp=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Ap=re("transparent"),$r=D([_p,$p,Cp,Ap]).nullable().optional(),yp=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Np=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Rp=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Ep=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Ip=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 Mp(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 Tp=C({style:C({color:$r,backgroundColor:$r,fontFamily:Ip,fontSize:f().min(0).optional().nullable(),textAlign:I(["left","right","center"]).optional().nullable(),padding:yp,margin:Np}).optional().nullable(),props:C({contents:x().optional().nullable()}).optional().nullable()}),Pp=/<style[^>]*>([\s\S]*?)<\/style>/gi;function Op(e,t){let n="";const o=e.replace(Pp,(i,r)=>(n+=r,""));if(!n.trim())return{markup:o,css:""};const a=Uo(Sp(`[${t}]{${n}}`),kp);return{markup:o,css:a}}function Lp({style:e,props:t}){const n=t==null?void 0:t.contents,[o,a]=G.useState(!1),r=`data-html-scope-${G.useId().replace(/[^a-zA-Z0-9-]/g,"")}`,{markup:l,css:s}=G.useMemo(()=>n?Op(n,r):{markup:"",css:""},[n,r]),c={color:(e==null?void 0:e.color)??void 0,backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,fontFamily:Mp(e==null?void 0:e.fontFamily),fontSize:(e==null?void 0:e.fontSize)??void 0,textAlign:(e==null?void 0:e.textAlign)??void 0,padding:Rp(e==null?void 0:e.padding),margin:Ep(e==null?void 0:e.margin)},u=G.useRef(null);G.useEffect(()=>{const b=u.current;if(!b)return;b.querySelectorAll("iframe").forEach(k=>{try{k.style.pointerEvents=o?"auto":"none"}catch{}})},[n,o]);const p=b=>{o||a(!0)},d=()=>{a(!1)},h=`[${r}] pre,[${r}] code{white-space:pre-wrap;word-break:break-all;overflow-x:auto;max-width:100%}`;if(!n)return g.jsx("div",{ref:u,className:"html-block",style:c,children:g.jsx("style",{dangerouslySetInnerHTML:{__html:h}})});const m=`<style>${h}${s}</style>${l}`;return g.jsx("div",{ref:u,className:"html-block",style:c,onClick:p,onBlur:d,tabIndex:0,[r]:"",dangerouslySetInnerHTML:{__html:m}})}const Ia=C({enabled:P(),scale:f().min(1).max(1.5).optional().nullable(),duration:f().min(0).max(3e3).optional().nullable(),easing:I(["ease","ease-in","ease-out","ease-in-out","linear"]).optional().nullable()}).optional().nullable(),zp=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),jp=x().regex(/^rgba?\([^\)]+\)$/i),Bp=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Dp=re("transparent"),Hp=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Fp=D([f(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),ro=D([zp,jp,Bp,Dp]).nullable().optional(),Gp=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Up=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function Zp(e){return!e||e==="transparent"?{backgroundColor:e??"transparent"}:e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")?{background:e}:{backgroundColor:e}}function Wp(e,t){return e?e==="transparent"?{border:"none"}:e&&(e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient"))?{background:e,padding:`${(t==null?void 0:t.top)||1}px ${(t==null?void 0:t.right)||1}px ${(t==null?void 0:t.bottom)||1}px ${(t==null?void 0:t.left)||1}px`}:{borderTop:`${(t==null?void 0:t.top)||1}px solid ${e}`,borderRight:`${(t==null?void 0:t.right)||1}px solid ${e}`,borderBottom:`${(t==null?void 0:t.bottom)||1}px solid ${e}`,borderLeft:`${(t==null?void 0:t.left)||1}px solid ${e}`}:{}}const qp=C({style:C({padding:Hp,backgroundColor:ro.default(null),textAlign:I(["center","left","right"]).optional().nullable()}).optional().nullable(),props:C({width:f().optional().nullable(),widthUnit:I(["px","%"]).optional().nullable(),widthTablet:f().positive().optional().nullable(),widthMobile:f().positive().optional().nullable(),height:f().optional().nullable(),heightTablet:f().positive().optional().nullable(),heightMobile:f().positive().optional().nullable(),widthType:I(["fixed","fill","fit"]).optional().nullable(),url:x().optional().nullable(),urlTablet:x().optional().nullable(),urlMobile:x().optional().nullable(),alt:x().optional().nullable(),decorative:P().optional().nullable(),linkHref:x().optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable(),borderRadius:Fp,borderColor:ro.default(null),borderWidth:Gp,rotation:f().min(0).max(360).optional().nullable(),rotationTablet:f().min(0).max(360).optional().nullable(),rotationMobile:f().min(0).max(360).optional().nullable(),iconName:x().optional().nullable(),iconFillColor:ro.default(null),animation:un,hoverEffect:Ia,boxShadow:Vn}).optional().nullable()}),$e={widthType:"fit",width:300,widthUnit:"px",height:null,url:"",alt:"",decorative:!1,linkHref:null,contentAlignment:"middle",borderRadius:0,borderColor:null,borderWidth:null,rotation:0,hoverEffect:{enabled:!1,scale:1.05,duration:500,easing:"ease-in-out"},boxShadow:null};let Vp=0;function Yp({style:e,props:t}){const n=G.useMemo(()=>`ahd-img-${++Vp}`,[]),o=(e==null?void 0:e.textAlign)??void 0,a=o==="center"?"center":o==="right"?"flex-end":"flex-start",i={padding:Up(e==null?void 0:e.padding),...Zp(e==null?void 0:e.backgroundColor),display:"flex",justifyContent:a,width:"100%",boxSizing:"border-box"},r=(t==null?void 0:t.linkHref)??$e.linkHref,l=(t==null?void 0:t.widthType)??$e.widthType,s=(t==null?void 0:t.width)??$e.width,c=(t==null?void 0:t.widthUnit)??$e.widthUnit,u=(t==null?void 0:t.widthTablet)??null,p=(t==null?void 0:t.widthMobile)??null,d=u??s,h=p??d,m=(t==null?void 0:t.height)??$e.height,b=(t==null?void 0:t.heightTablet)??null,v=(t==null?void 0:t.heightMobile)??null,k=b??m,S=v??k,$=m,w=(t==null?void 0:t.url)??$e.url,_=(t==null?void 0:t.urlTablet)??null,N=(t==null?void 0:t.urlMobile)??null,A=!r&&((t==null?void 0:t.decorative)??$e.decorative),y=A?"":(t==null?void 0:t.alt)??$e.alt,R=A?{role:"presentation","aria-hidden":!0}:{},M=(t==null?void 0:t.contentAlignment)??$e.contentAlignment,T=(t==null?void 0:t.borderRadius)??$e.borderRadius,L=(t==null?void 0:t.borderColor)??$e.borderColor,H=(t==null?void 0:t.borderWidth)??$e.borderWidth,F=(t==null?void 0:t.boxShadow)??$e.boxShadow,j=Yn(F),O=(t==null?void 0:t.rotation)??$e.rotation,q=(t==null?void 0:t.rotationTablet)??null,B=(t==null?void 0:t.rotationMobile)??null,Y=q??O,de=B??Y,oe=ie=>{const be=ie*Math.PI/180,Ie=ie%180!==0?1/(Math.abs(Math.cos(be))+Math.abs(Math.sin(be))):1;return`rotate(${ie}deg) scale(${Ie})`},ee=O,Z=ee?{transform:oe(ee),transformOrigin:"center"}:{},Ee=q!=null||B!=null?`
|
|
66
66
|
${ot} { .${n} img, .${n} > div { transform: ${oe(Y)} !important; transform-origin: center !important; } }
|
|
67
67
|
${Oe} { .${n} img, .${n} > div { transform: ${oe(de)} !important; transform-origin: center !important; } }
|
|
68
68
|
`.trim():null,we=Wp(L,H),me=ie=>typeof ie=="number"?`${ie}px`:`${ie.topLeft}px ${ie.topRight}px ${ie.bottomRight}px ${ie.bottomLeft}px`,ne=(ie,be)=>{const Ie=Math.max((be==null?void 0:be.top)||0,(be==null?void 0:be.right)||0,(be==null?void 0:be.bottom)||0,(be==null?void 0:be.left)||0);if(typeof ie=="number")return`${Math.max(0,ie-Ie)}px`;const Ft=Math.max(0,(ie.topLeft||0)-Ie),lt=Math.max(0,(ie.topRight||0)-Ie),Fe=Math.max(0,(ie.bottomRight||0)-Ie),st=Math.max(0,(ie.bottomLeft||0)-Ie);return`${Ft}px ${lt}px ${Fe}px ${st}px`},U=(()=>{switch(l){case"fill":return"100%";case"fixed":return s;case"fit":default:return}})(),X=l==="fixed"?`${s}${c}`:void 0,ye=w,te=l==="fixed"?`
|
|
@@ -1108,7 +1108,6 @@ ${t?`.ahd-page-container {
|
|
|
1108
1108
|
|
|
1109
1109
|
@media (max-width: 1024px) {
|
|
1110
1110
|
.ahd-page-root .container-block {
|
|
1111
|
-
width: 100% !important;
|
|
1112
1111
|
max-width: 100% !important;
|
|
1113
1112
|
padding: clamp(8px, 1.8vw, 16px) !important;
|
|
1114
1113
|
}
|
|
@@ -1136,11 +1135,14 @@ ${t?`.ahd-page-container {
|
|
|
1136
1135
|
max-width: 100% !important;
|
|
1137
1136
|
height: auto !important;
|
|
1138
1137
|
}
|
|
1139
|
-
/* Logo block — never stretch. Width is
|
|
1140
|
-
|
|
1141
|
-
|
|
1138
|
+
/* Logo block — never stretch. Width is emitted per-instance by the block
|
|
1139
|
+
itself (scoped @media on its own class, same as Image); no width here, or
|
|
1140
|
+
the two would fight at different breakpoints. Overflow guard only.
|
|
1141
|
+
(The previous var(--ahd-logo-w-tablet, ..., auto) rule referred to CSS
|
|
1142
|
+
custom properties that nothing set — the auto fallback then had higher
|
|
1143
|
+
specificity than the block's .ahd-logo-N img { width: Npx } scoped rule
|
|
1144
|
+
and stretched every logo to its intrinsic image size.) */
|
|
1142
1145
|
.ahd-page-root .logo-block img {
|
|
1143
|
-
width: var(--ahd-logo-w-tablet, var(--ahd-logo-w, auto)) !important;
|
|
1144
1146
|
max-width: 100% !important;
|
|
1145
1147
|
height: auto !important;
|
|
1146
1148
|
display: inline-block !important;
|
|
@@ -1257,9 +1259,10 @@ ${t?`.ahd-page-container {
|
|
|
1257
1259
|
max-width: 100% !important;
|
|
1258
1260
|
height: auto !important;
|
|
1259
1261
|
}
|
|
1260
|
-
/* Logo block (mobile):
|
|
1262
|
+
/* Logo block (mobile): width comes from the block's own scoped @media CSS.
|
|
1263
|
+
See the tablet-breakpoint comment above — no width here or it clobbers
|
|
1264
|
+
the per-instance width the block emits. */
|
|
1261
1265
|
.ahd-page-root .logo-block img {
|
|
1262
|
-
width: var(--ahd-logo-w-mobile, var(--ahd-logo-w-tablet, var(--ahd-logo-w, auto))) !important;
|
|
1263
1266
|
max-width: 100% !important;
|
|
1264
1267
|
height: auto !important;
|
|
1265
1268
|
display: inline-block !important;
|
package/dist/render.js
CHANGED
|
@@ -4623,26 +4623,41 @@ const dp = C({
|
|
|
4623
4623
|
openInNewTab: !1
|
|
4624
4624
|
};
|
|
4625
4625
|
function hp({ props: e, style: t }) {
|
|
4626
|
-
const n = (e == null ? void 0 : e.level) ?? qt.level, o = (e == null ? void 0 : e.text) ?? qt.text, a = (e == null ? void 0 : e.linkType) ?? qt.linkType, i = (e == null ? void 0 : e.url) ?? qt.url, r = (e == null ? void 0 : e.openInNewTab) ?? qt.openInNewTab, l = a === "link" && i, s = (t == null ? void 0 : t.fontSize) ?? fp(n), c = (t == null ? void 0 : t.textColor) ?? (t == null ? void 0 : t.color), u = c && /^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(c), p = t == null ? void 0 : t.
|
|
4626
|
+
const n = (e == null ? void 0 : e.level) ?? qt.level, o = (e == null ? void 0 : e.text) ?? qt.text, a = (e == null ? void 0 : e.linkType) ?? qt.linkType, i = (e == null ? void 0 : e.url) ?? qt.url, r = (e == null ? void 0 : e.openInNewTab) ?? qt.openInNewTab, l = a === "link" && i, s = (t == null ? void 0 : t.fontSize) ?? fp(n), c = (t == null ? void 0 : t.textColor) ?? (t == null ? void 0 : t.color), u = c && /^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(c), p = (t == null ? void 0 : t.textDecoration) ?? "none", d = u && (p === "underline" || p === "underline line-through"), h = u && (p === "line-through" || p === "underline line-through"), m = t == null ? void 0 : t.lineClamp, b = !!(m && m > 0), v = b ? {
|
|
4627
4627
|
display: "-webkit-box",
|
|
4628
|
-
WebkitLineClamp:
|
|
4628
|
+
WebkitLineClamp: m,
|
|
4629
4629
|
WebkitBoxOrient: "vertical",
|
|
4630
4630
|
overflow: "hidden"
|
|
4631
|
-
} : {},
|
|
4631
|
+
} : {}, k = {
|
|
4632
4632
|
fontWeight: (t == null ? void 0 : t.fontWeight) ?? nn.REGULAR,
|
|
4633
4633
|
fontStyle: (t == null ? void 0 : t.fontStyle) ?? "normal",
|
|
4634
|
-
|
|
4634
|
+
// `background-clip: text` clips any text-decoration line painted within
|
|
4635
|
+
// the gradient span's box down to the glyph shapes, so a native
|
|
4636
|
+
// underline/strikethrough there is cut into fragments or invisible
|
|
4637
|
+
// entirely. When gradient text has a decoration, we paint it ourselves
|
|
4638
|
+
// as overlay bars (see gradientLineStyle below) instead of relying on this.
|
|
4639
|
+
textDecoration: u ? "none" : p,
|
|
4635
4640
|
margin: 0,
|
|
4636
4641
|
fontFamily: up(t == null ? void 0 : t.fontFamily),
|
|
4637
4642
|
fontSize: s,
|
|
4638
|
-
...
|
|
4639
|
-
},
|
|
4643
|
+
...v
|
|
4644
|
+
}, S = u ? {
|
|
4645
|
+
lineHeight: "normal ",
|
|
4640
4646
|
backgroundImage: c,
|
|
4641
4647
|
WebkitBackgroundClip: "text",
|
|
4642
4648
|
WebkitTextFillColor: "transparent",
|
|
4643
4649
|
backgroundClip: "text",
|
|
4644
|
-
|
|
4645
|
-
|
|
4650
|
+
position: "relative",
|
|
4651
|
+
...b ? {} : { display: "inline-block" },
|
|
4652
|
+
...d ? { paddingBottom: "0.08em" } : {}
|
|
4653
|
+
} : { color: c ?? void 0 }, $ = {
|
|
4654
|
+
position: "absolute",
|
|
4655
|
+
left: 0,
|
|
4656
|
+
right: 0,
|
|
4657
|
+
height: "0.08em",
|
|
4658
|
+
backgroundImage: c ?? void 0,
|
|
4659
|
+
pointerEvents: "none"
|
|
4660
|
+
}, w = { ...$, bottom: 0 }, _ = { ...$, top: "50%", transform: "translateY(-50%)" }, N = (t == null ? void 0 : t.backgroundColor) ?? void 0, A = typeof N == "string" && /^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(N), y = {
|
|
4646
4661
|
padding: lp(t == null ? void 0 : t.padding),
|
|
4647
4662
|
margin: sp(t == null ? void 0 : t.margin),
|
|
4648
4663
|
display: "block",
|
|
@@ -4651,18 +4666,22 @@ function hp({ props: e, style: t }) {
|
|
|
4651
4666
|
textAlign: (t == null ? void 0 : t.textAlign) ?? void 0,
|
|
4652
4667
|
wordBreak: "break-word",
|
|
4653
4668
|
overflowWrap: "break-word",
|
|
4654
|
-
...
|
|
4655
|
-
},
|
|
4656
|
-
|
|
4669
|
+
...A ? { backgroundImage: N, backgroundRepeat: "no-repeat", backgroundSize: "cover" } : { backgroundColor: N }
|
|
4670
|
+
}, M = /* @__PURE__ */ g(n, { className: "heading-block", style: k, children: /* @__PURE__ */ P("span", { style: S, children: [
|
|
4671
|
+
o,
|
|
4672
|
+
d ? /* @__PURE__ */ g("span", { style: w }) : null,
|
|
4673
|
+
h ? /* @__PURE__ */ g("span", { style: _ }) : null
|
|
4674
|
+
] }) });
|
|
4675
|
+
return /* @__PURE__ */ g("div", { className: "heading-block-wrapper", style: y, children: l ? /* @__PURE__ */ g(
|
|
4657
4676
|
"a",
|
|
4658
4677
|
{
|
|
4659
4678
|
href: i,
|
|
4660
4679
|
target: r ? "_blank" : void 0,
|
|
4661
4680
|
rel: r ? "noopener noreferrer" : void 0,
|
|
4662
4681
|
style: { display: "block", textDecoration: "none", color: !u && c ? c : void 0 },
|
|
4663
|
-
children:
|
|
4682
|
+
children: M
|
|
4664
4683
|
}
|
|
4665
|
-
) :
|
|
4684
|
+
) : M });
|
|
4666
4685
|
}
|
|
4667
4686
|
function fp(e) {
|
|
4668
4687
|
switch (e) {
|
|
@@ -15873,7 +15892,6 @@ ${t ? `.ahd-page-container {
|
|
|
15873
15892
|
|
|
15874
15893
|
@media (max-width: 1024px) {
|
|
15875
15894
|
.ahd-page-root .container-block {
|
|
15876
|
-
width: 100% !important;
|
|
15877
15895
|
max-width: 100% !important;
|
|
15878
15896
|
padding: clamp(8px, 1.8vw, 16px) !important;
|
|
15879
15897
|
}
|
|
@@ -15901,11 +15919,14 @@ ${t ? `.ahd-page-container {
|
|
|
15901
15919
|
max-width: 100% !important;
|
|
15902
15920
|
height: auto !important;
|
|
15903
15921
|
}
|
|
15904
|
-
/* Logo block — never stretch. Width is
|
|
15905
|
-
|
|
15906
|
-
|
|
15922
|
+
/* Logo block — never stretch. Width is emitted per-instance by the block
|
|
15923
|
+
itself (scoped @media on its own class, same as Image); no width here, or
|
|
15924
|
+
the two would fight at different breakpoints. Overflow guard only.
|
|
15925
|
+
(The previous var(--ahd-logo-w-tablet, ..., auto) rule referred to CSS
|
|
15926
|
+
custom properties that nothing set — the auto fallback then had higher
|
|
15927
|
+
specificity than the block's .ahd-logo-N img { width: Npx } scoped rule
|
|
15928
|
+
and stretched every logo to its intrinsic image size.) */
|
|
15907
15929
|
.ahd-page-root .logo-block img {
|
|
15908
|
-
width: var(--ahd-logo-w-tablet, var(--ahd-logo-w, auto)) !important;
|
|
15909
15930
|
max-width: 100% !important;
|
|
15910
15931
|
height: auto !important;
|
|
15911
15932
|
display: inline-block !important;
|
|
@@ -16022,9 +16043,10 @@ ${t ? `.ahd-page-container {
|
|
|
16022
16043
|
max-width: 100% !important;
|
|
16023
16044
|
height: auto !important;
|
|
16024
16045
|
}
|
|
16025
|
-
/* Logo block (mobile):
|
|
16046
|
+
/* Logo block (mobile): width comes from the block's own scoped @media CSS.
|
|
16047
|
+
See the tablet-breakpoint comment above — no width here or it clobbers
|
|
16048
|
+
the per-instance width the block emits. */
|
|
16026
16049
|
.ahd-page-root .logo-block img {
|
|
16027
|
-
width: var(--ahd-logo-w-mobile, var(--ahd-logo-w-tablet, var(--ahd-logo-w, auto))) !important;
|
|
16028
16050
|
max-width: 100% !important;
|
|
16029
16051
|
height: auto !important;
|
|
16030
16052
|
display: inline-block !important;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const $0=require("./index-
|
|
1
|
+
"use strict";const $0=require("./index-DfVeQ93g.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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pagepilot-visual-editor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
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",
|