pagepilot-visual-editor 1.0.23 → 1.0.25
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/blocks-internal/block-iframe/src/index.d.ts +6 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatePreviewDialog.d.ts +3 -1
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateApplyHelpers.d.ts +14 -0
- package/dist/editor-sample/documents/editor/core.d.ts +6 -0
- package/dist/host-stubs/modules/_hostListShim.d.ts +1 -1
- package/dist/host-stubs/modules/forms/formsService.d.ts +2 -1
- package/dist/host-stubs/modules/forms/useFormsList.d.ts +12 -0
- package/dist/{index-GFzSAPVu.cjs → index-Cx_nuxVE.cjs} +1 -1
- package/dist/{index-C74HSWbI.cjs → index-RcTlEXS2.cjs} +266 -266
- package/dist/{index-9JekOUrW.js → index-txCEAgzG.js} +28027 -27162
- package/dist/{index-RE2xshRk.js → index-uAL1Hpt1.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/render.cjs +33 -33
- package/dist/render.js +697 -688
- package/dist/{xlsx-BQgSA_Gx.cjs → xlsx-CMNIZUaT.cjs} +1 -1
- package/dist/{xlsx-DltID3D9.js → xlsx-DSQPVb8u.js} +1 -1
- package/package.json +1 -1
package/dist/render.cjs
CHANGED
|
@@ -182,7 +182,7 @@ ul[data-mll="bullet-arrow"] ul ul > li::before { content: "▪"; }
|
|
|
182
182
|
${Em}`}),g.jsx("div",{dangerouslySetInnerHTML:{__html:l}})]})}const Um=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Zm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Wm=C({style:C({padding:Um,backgroundColor:x().regex(/^#[0-9a-fA-F]{6}$/).optional().nullable(),textAlign:I(["center","left","right"]).optional().nullable()}).optional().nullable(),props:C({width:f().optional().nullable(),height:f().optional().nullable(),widthTablet:D([f(),x()]).optional().nullable(),widthMobile:D([f(),x()]).optional().nullable(),heightTablet:D([f(),x()]).optional().nullable(),heightMobile:D([f(),x()]).optional().nullable(),url:x().optional().nullable(),alt:x().optional().nullable(),linkHref:x().optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable()}).optional().nullable()});let qm=0;function Vm({style:e,props:t}){const n=`ahd-youtube-url-${++qm}`,o={padding:Zm(e==null?void 0:e.padding),backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,textAlign:(e==null?void 0:e.textAlign)??void 0},a=(t==null?void 0:t.linkHref)??null,i=(t==null?void 0:t.width)??void 0,r=(t==null?void 0:t.height)??void 0,l=(t==null?void 0:t.widthTablet)??null,s=(t==null?void 0:t.widthMobile)??null,c=(t==null?void 0:t.heightTablet)??null,u=(t==null?void 0:t.heightMobile)??null,p=l??i,d=s??p,h=c??r,m=u??h,b=i,v=r,k=w=>w==null?void 0:typeof w=="number"?`${w}px`:w,S=`
|
|
183
183
|
${ot} { .${n} video { ${k(p)?`width: ${k(p)} !important;`:""} ${k(h)?`height: ${k(h)} !important;`:""} max-width: 100% !important; } }
|
|
184
184
|
${Oe} { .${n} video { ${k(d)?`width: ${k(d)} !important;`:""} ${k(m)?`height: ${k(m)} !important;`:""} max-width: 100% !important; } }
|
|
185
|
-
`.trim(),$=g.jsx("video",{controls:!0,preload:"metadata","aria-label":(t==null?void 0:t.alt)??void 0,src:(t==null?void 0:t.url)??"",width:b,height:v,style:{width:b,height:v,outline:"none",border:"none",textDecoration:"none",verticalAlign:(t==null?void 0:t.contentAlignment)??"middle",display:"inline-block",maxWidth:"100%"}});return a?g.jsxs("div",{className:`youtube-url-block ${n}`,style:o,children:[S&&g.jsx("style",{dangerouslySetInnerHTML:{__html:S}}),g.jsx("a",{href:a,style:{textDecoration:"none"},target:"_blank",rel:"noopener noreferrer",children:$})]}):g.jsxs("div",{className:`youtube-url-block ${n}`,style:o,children:[S&&g.jsx("style",{dangerouslySetInnerHTML:{__html:S}}),$]})}const Ym=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Km=C({responsive:Te,style:C({padding:Ym,textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({src:x().optional().nullable(),width:x().optional().nullable(),height:x().optional().nullable(),title:x().optional().nullable(),allowFullscreen:P().optional().nullable()}).optional().nullable()}),
|
|
185
|
+
`.trim(),$=g.jsx("video",{controls:!0,preload:"metadata","aria-label":(t==null?void 0:t.alt)??void 0,src:(t==null?void 0:t.url)??"",width:b,height:v,style:{width:b,height:v,outline:"none",border:"none",textDecoration:"none",verticalAlign:(t==null?void 0:t.contentAlignment)??"middle",display:"inline-block",maxWidth:"100%"}});return a?g.jsxs("div",{className:`youtube-url-block ${n}`,style:o,children:[S&&g.jsx("style",{dangerouslySetInnerHTML:{__html:S}}),g.jsx("a",{href:a,style:{textDecoration:"none"},target:"_blank",rel:"noopener noreferrer",children:$})]}):g.jsxs("div",{className:`youtube-url-block ${n}`,style:o,children:[S&&g.jsx("style",{dangerouslySetInnerHTML:{__html:S}}),$]})}const Ym=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Km=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Jm=C({responsive:Te,style:C({padding:Ym,margin:Km,textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({src:x().optional().nullable(),width:x().optional().nullable(),height:x().optional().nullable(),title:x().optional().nullable(),allowFullscreen:P().optional().nullable()}).optional().nullable()}),Xm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Qm=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function eg({style:e,props:t}){var d,h;const n=(t==null?void 0:t.src)??"",o=(t==null?void 0:t.width)??"100%",a=t==null?void 0:t.height,i=!a||/^\s*(0|0px|100vh)\s*$/i.test(a)?"800px":a,r=(t==null?void 0:t.title)??"Embedded content",l=(t==null?void 0:t.allowFullscreen)??!0,s=G.useRef(null),c=(((d=e==null?void 0:e.margin)==null?void 0:d.left)??0)+(((h=e==null?void 0:e.margin)==null?void 0:h.right)??0),u={padding:Xm(e==null?void 0:e.padding),margin:Qm(e==null?void 0:e.margin),textAlign:(e==null?void 0:e.textAlign)??void 0,width:`calc(100% - ${c}px)`},p={width:`var(--ahd-iframe-width,${o})`,height:`var(--ahd-iframe-height,${i})`,minHeight:`var(--ahd-iframe-height,${i})`,border:"none",display:"inline-block",verticalAlign:"top"};return n?g.jsx("div",{className:"iframe-block",style:u,children:g.jsx("iframe",{ref:s,src:n,title:r,style:p,allowFullScreen:l})}):g.jsx("div",{className:"iframe-block",style:{...u,backgroundColor:"#F5F5F5",padding:"24px",textAlign:"center",color:"#888",fontSize:"14px"},children:"IFrame — enter a URL in the panel"})}const tg=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),ng=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),og=C({responsive:Te,style:C({padding:tg,margin:ng,textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({src:x().optional().nullable(),width:x().optional().nullable(),height:x().optional().nullable(),title:x().optional().nullable(),allowFullscreen:P().optional().nullable()}).optional().nullable()}),ag=e=>{if(!e)return;if(typeof e=="string")return e;const{top:t=0,right:n=0,bottom:o=0,left:a=0}=e;return`${t}px ${n}px ${o}px ${a}px`},rg=e=>{if(!e)return;if(typeof e=="string")return e;const{top:t=0,right:n=0,bottom:o=0,left:a=0}=e;return`${t}px ${n}px ${o}px ${a}px`},ig=({props:e,style:t})=>{var u,p;const{src:n,width:o,height:a,title:i,allowFullscreen:r=!0}=e??{};if(!n)return g.jsx(g.Fragment,{});const l=(((u=t==null?void 0:t.margin)==null?void 0:u.left)??0)+(((p=t==null?void 0:t.margin)==null?void 0:p.right)??0),s=t??{},c={width:l>0?`calc(100% - ${l}px)`:"100%",padding:ag(s.padding),margin:rg(s.margin),textAlign:s.textAlign||void 0};return g.jsx("div",{className:"calendly-block",style:c,children:g.jsx("iframe",{src:n,title:i||"Calendly scheduling",allowFullScreen:r??!0,style:{width:`var(--ahd-calendly-width,${o||"100%"})`,height:`var(--ahd-calendly-height,${a||"800px"})`,border:"none",display:"inline-block",verticalAlign:"top"},loading:"lazy"})})};var lg=Object.defineProperty,Ar=Object.getOwnPropertySymbols,sg=Object.prototype.hasOwnProperty,cg=Object.prototype.propertyIsEnumerable,yr=(e,t,n)=>t in e?lg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ug=(e,t)=>{for(var n in t||(t={}))sg.call(t,n)&&yr(e,n,t[n]);if(Ar)for(var n of Ar(t))cg.call(t,n)&&yr(e,n,t[n]);return e};function dg(e){return function({type:n,data:o}){const a=e[n].Component;return G.createElement(a,ug({},o))}}function hg(e){const t=Object.keys(e).map(n=>C({type:re(n),data:e[n].schema}));return Eh("type",t).transform(n=>n)}const fg=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),pg=x().regex(/^rgba?\([^\)]+\)$/i),mg=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),gg=re("transparent"),bg=D([fg,pg,mg,gg]).nullable().optional(),vg=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),xg=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),lo=Xi([f().optional().nullish(),f().optional().nullish(),f().optional().nullish(),f().optional().nullish(),f().optional().nullish()]).optional().nullable(),so=I(["fixed","fill","fit"]).optional().nullable(),Sg=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,wg=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,ul=C({style:C({backgroundColor:bg,padding:vg,margin:xg}).optional().nullable(),props:C({widthType:so,widthTypeTablet:so,widthTypeMobile:so,fixedWidths:lo,fixedWidthsTablet:lo,fixedWidthsMobile:lo,columnsCount:D([re(2),re(3),re(4),re(5)]).optional().nullable(),columnsGap:f().optional().nullable(),columnsGapTablet:f().optional().nullable(),columnsGapMobile:f().optional().nullable(),columnsDirection:I(["horizontal","vertical"]).optional().nullable(),columnsDirectionTablet:I(["horizontal","vertical"]).optional().nullable(),columnsDirectionMobile:I(["horizontal","vertical"]).optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable(),contentAlignmentTablet:I(["top","middle","bottom"]).optional().nullable(),contentAlignmentMobile:I(["top","middle","bottom"]).optional().nullable()}).optional().nullable()}),St={columnsCount:2,columnsGap:0,columnsDirection:"horizontal",contentAlignment:"middle",widthType:"fill"};function Nr(e){return`${e} table, ${e} tbody, ${e} tr, ${e} td { display: block !important; width: 100% !important; }
|
|
186
186
|
${e} table { table-layout: auto !important; }
|
|
187
187
|
${e} td { box-sizing: border-box; padding-left: 0 !important; padding-right: 0 !important; vertical-align: top !important; }
|
|
188
188
|
${e} td + td { margin-top: var(--columns-gap, 0px) !important; }`}function Rr(e){return`${e} table { display: table !important; table-layout: fixed !important; }
|
|
@@ -190,7 +190,7 @@ ${e} tbody { display: table-row-group !important; }
|
|
|
190
190
|
${e} tr { display: table-row !important; width: auto !important; }
|
|
191
191
|
${e} td { display: table-cell !important; width: auto !important; }
|
|
192
192
|
${e} td + td { margin-top: 0 !important; }`}function Er(e,t,n,o,a,i){const r=[];for(let l=0;l<t;l+=1){const s=`${e} td:nth-child(${l+1})`,c=l===0?0:n/2,u=l===t-1?0:n/2,p=[`padding-left: ${c}px !important`,`padding-right: ${u}px !important`];o==="fixed"&&(a==null?void 0:a[l])!=null?p.push(`width: ${a[l]}px !important`):p.push("width: auto !important"),r.push(`${s} { ${p.join("; ")}; }`)}return r.join(`
|
|
193
|
-
`)}function
|
|
193
|
+
`)}function kg(e,t){const n=`.${e}.columns-container`,o=(a,i)=>!i&&a?`${n} td { vertical-align: ${a} !important; }`:"";return`
|
|
194
194
|
@media (max-width: ${je}px) {
|
|
195
195
|
${n} { --columns-gap: ${t.tabletGap}px; }
|
|
196
196
|
${t.tabletVertical?Nr(n):Rr(n)}
|
|
@@ -203,9 +203,9 @@ ${e} td + td { margin-top: 0 !important; }`}function Er(e,t,n,o,a,i){const r=[];
|
|
|
203
203
|
${t.mobileVertical?"":Er(n,t.columnsCount,t.mobileGap,t.mobileWidthType,t.mobileFixedWidths)}
|
|
204
204
|
${o(t.mobileAlign,t.mobileVertical)}
|
|
205
205
|
}
|
|
206
|
-
`.trim()}let
|
|
207
|
-
`);const u=[`${e} { flex-direction: ${i?"row-reverse":"row"}; flex-wrap: nowrap; gap: ${r}px; }`],p=new Map;for(const d of s){const h=
|
|
208
|
-
`)}function
|
|
206
|
+
`.trim()}let _g=0;function $g({style:e,columns:t,props:n}){const o=(n==null?void 0:n.widthType)??St.widthType,a=(n==null?void 0:n.widthTypeTablet)??o,i=(n==null?void 0:n.widthTypeMobile)??a,r=n==null?void 0:n.fixedWidths,l=(n==null?void 0:n.fixedWidthsTablet)??r,s=(n==null?void 0:n.fixedWidthsMobile)??l,c=(n==null?void 0:n.columnsGap)??St.columnsGap,u=(n==null?void 0:n.columnsGapTablet)??c,p=(n==null?void 0:n.columnsGapMobile)??u,d=(n==null?void 0:n.columnsDirection)??St.columnsDirection,h=(n==null?void 0:n.columnsDirectionTablet)??d,m=(n==null?void 0:n.columnsDirectionMobile)??h,b=(n==null?void 0:n.contentAlignment)??St.contentAlignment,v=(n==null?void 0:n.contentAlignmentTablet)??b,k=(n==null?void 0:n.contentAlignmentMobile)??v,S=(n==null?void 0:n.columnsCount)??St.columnsCount,$=o,w=r,_=c,N=d,y={widthType:$,columnsCount:S,columnsGap:_,columnsDirection:N,contentAlignment:b,fixedWidths:w},R=N==="vertical",M=G.useMemo(()=>`ahd-cc-${_g+=1}`,[]),T=kg(M,{tabletVertical:h==="vertical",mobileVertical:m==="vertical",columnsCount:S,tabletGap:u,mobileGap:p,tabletWidthType:a,mobileWidthType:i,tabletFixedWidths:l,mobileFixedWidths:s,tabletAlign:v,mobileAlign:k}),L={background:(e==null?void 0:e.backgroundColor)??void 0,padding:Sg(e==null?void 0:e.padding),margin:wg(e==null?void 0:e.margin),"--columns-gap":`${_}px`};return g.jsxs("div",{className:`columns-container ${M}${R?" is-stacked":""}`,style:L,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:T}}),g.jsx("table",{role:"presentation","aria-hidden":"false",align:"center",width:"100%",cellPadding:"0",border:0,style:{tableLayout:R||$==="fit"?"auto":"fixed",borderCollapse:"collapse",...R?{display:"block",width:"100%"}:{}},children:g.jsx("tbody",{style:{width:"100%",...R?{display:"block"}:{}},children:g.jsxs("tr",{style:{width:"100%",...R?{display:"block"}:{}},children:[g.jsx(Wt,{index:0,props:y,columns:t}),g.jsx(Wt,{index:1,props:y,columns:t}),g.jsx(Wt,{index:2,props:y,columns:t}),g.jsx(Wt,{index:3,props:y,columns:t}),g.jsx(Wt,{index:4,props:y,columns:t})]})})})]})}function Wt({index:e,props:t,columns:n}){var p;const o=(t==null?void 0:t.columnsCount)??St.columnsCount;if(e>=o)return null;const a=t.columnsDirection==="vertical",i=a?0:Cg(e,t),r=a?0:Ag(e,t),l=(p=t.fixedWidths)==null?void 0:p[e],s={boxSizing:a?"border-box":"content-box",verticalAlign:a?"top":(t==null?void 0:t.contentAlignment)??St.contentAlignment,paddingLeft:i?`${i}px`:0,paddingRight:r?`${r}px`:0,width:t.widthType==="fixed"&&!a&&l!=null?`${l}px`:void 0,...a?{display:"block",width:"100%",marginTop:e>0?`${t.columnsGap}px`:void 0}:{}},c=(n==null?void 0:n[e])??null,u=t.widthType==="fixed"&&l!=null?l:void 0;return g.jsx("td",{style:s,width:u,children:c})}function Cg(e,{columnsGap:t}){return e===0?0:t/2}function Ag(e,{columnsGap:t,columnsCount:n}){return e===n-1?0:t/2}const yg=ul.shape.props.unwrap().unwrap().shape,Ng=ul.shape.style.unwrap().unwrap().shape,Rg=C({style:C({...Ng,borderRadius:D([f(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable()}).optional().nullable(),props:C({...yg,columns:Xi([C({childrenIds:W(x())}),C({childrenIds:W(x())}),C({childrenIds:W(x())})])}).optional().nullable()});function Eg(e){if(e!=null)return typeof e=="number"?`${e}px`:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function Ig({style:e,props:t}){const{columns:n,...o}=t??{};let a;n&&(a=n.map(d=>((d==null?void 0:d.childrenIds)??[]).map(h=>g.jsx(ve,{id:h},h))));const{borderRadius:i,borderColor:r,borderWidth:l,...s}=e??{},c={};if(i!=null&&(c.borderRadius=Eg(i)),r){const d=l??{top:1,right:1,bottom:1,left:1};c.borderStyle="solid",c.borderColor=r,c.borderWidth=`${d.top}px ${d.right}px ${d.bottom}px ${d.left}px`}c.overflow="hidden";const u=i!=null||!!r,p=g.jsx($g,{props:o,columns:a,style:s});return u?g.jsx("div",{style:c,children:p}):g.jsx(g.Fragment,{children:p})}const Mg=C({style:C({backgroundColor:x().optional().nullable(),padding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),margin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),borderRadius:D([f(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable()}).optional().nullable(),props:C({columnsCount:f().int().min(2).optional().nullable(),columnsGap:f().optional().nullable(),columnsGapTablet:f().optional().nullable(),columnsGapMobile:f().optional().nullable(),wrap:P().optional().nullable(),desktopLayout:I(["wrap","row"]).optional().nullable(),mobileLayout:I(["wrap","row"]).optional().nullable(),tabletLayout:I(["wrap","row"]).optional().nullable(),columnShrink:W(P()).optional().nullable(),columnShrinkTablet:W(P()).optional().nullable(),columnShrinkMobile:W(P()).optional().nullable(),equalColumns:P().optional().nullable(),columns:W(C({childrenIds:W(x())})).optional().nullable(),align:I(["flex-start","center","flex-end","stretch"]).optional().nullable(),justify:I(["flex-start","center","flex-end","space-between","space-around"]).optional().nullable(),reverseColumns:P().optional().nullable(),repeatableEnabled:P().optional().nullable()}).optional().nullable()});function Tg(e){if(e!=null)return typeof e=="number"?`${e}px`:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function Pg(e){var a,i;const t=e??{},n=(((a=t.margin)==null?void 0:a.left)??0)+(((i=t.margin)==null?void 0:i.right)??0),o={boxSizing:"border-box",width:n>0?`calc(100% - ${n}px)`:"100%"};if(t.backgroundColor&&(o.backgroundColor=t.backgroundColor),t.padding){const r=t.padding;o.padding=`${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`}if(t.margin){const r=t.margin;o.margin=`${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`}if(t.borderRadius!=null&&(o.borderRadius=Tg(t.borderRadius),o.overflow="hidden"),t.borderColor){const r=t.borderWidth??{top:1,right:1,bottom:1,left:1};o.borderStyle="solid",o.borderColor=t.borderColor,o.borderWidth=`${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`}return o}function co(e,t,n){const o=e??{},a=o.desktopLayout??(o.wrap?"wrap":"row"),i=o.tabletLayout??a,r=o.mobileLayout??"wrap",l=o.columnShrink??[],s=o.columnShrinkTablet??l,c=o.columnShrinkMobile??s,u=o.columnsGap??16,p=o.columnsGapTablet??u,d=o.columnsGapMobile??p,h={desktop:{layout:a,shrink:l,gap:u},tablet:{layout:i,shrink:s,gap:p},mobile:{layout:r,shrink:c,gap:d}}[t];return{layout:h.layout,gap:h.gap,shrink:Array.from({length:n},(m,b)=>h.shrink[b]===!0),equalColumns:o.equalColumns===!0,reverseColumns:o.reverseColumns===!0}}function Og(e){switch(e){case"shrink":return"flex: 0 0 auto; width: auto;";case"equal":return"flex: 1 1 0; width: 0;";default:return"flex: 1 1 auto; width: auto;"}}function Lg(e,{shrink:t,equalColumns:n}){return t[e]?"shrink":n?"equal":"plain"}function uo(e,t,n,o){const{layout:a,reverseColumns:i,gap:r}=n,l=d=>d.map(h=>`${t}:nth-child(${h+1})`).join(", "),s=Array.from({length:o},(d,h)=>h);if(a==="wrap")return[`${e} { flex-direction: column; flex-wrap: nowrap; gap: ${r}px; }`,`${l(s)} { flex: 0 0 100%; width: 100%; max-width: 100%; }`].join(`
|
|
207
|
+
`);const u=[`${e} { flex-direction: ${i?"row-reverse":"row"}; flex-wrap: nowrap; gap: ${r}px; }`],p=new Map;for(const d of s){const h=Lg(d,n);p.set(h,[...p.get(h)??[],d])}for(const[d,h]of p)u.push(`${l(h)} { ${Og(d)} max-width: 100%; }`);return u.join(`
|
|
208
|
+
`)}function zg(e,t){const{columnsCount:n,desktop:o,tablet:a,mobile:i}=t,r=`.${e}.flex-columns-block > .fc-row`,l=`${r} > .fc-col`,s=[`${r} { display: flex; width: 100%; box-sizing: border-box; }`,`${l} { min-width: 0; box-sizing: border-box; }`,`${l} > * { max-width: 100%; }`,`${l} img { max-width: 100%; height: auto; }`].join(`
|
|
209
209
|
`),u=[o,a,i].some(d=>d.shrink.some(Boolean))?[o,a,i].flatMap(d=>d.shrink.map((h,m)=>h?m:-1).filter(h=>h>=0)).filter((d,h,m)=>m.indexOf(d)===h).map(d=>{const h=`${l}:nth-child(${d+1})`;return`${h} > *, ${h} .container-block { width: auto; max-width: 100%; }`}).join(`
|
|
210
210
|
`):"",p=(d,h)=>`@media (max-width: ${d}px) {
|
|
211
211
|
${h}
|
|
@@ -213,21 +213,21 @@ ${h}
|
|
|
213
213
|
@container ahd-page (max-width: ${d}px) {
|
|
214
214
|
${h}
|
|
215
215
|
}`;return[s,u,uo(r,l,o,n),p(je,uo(r,l,a,n)),p(Ae,uo(r,l,i,n))].filter(Boolean).join(`
|
|
216
|
-
`)}let
|
|
216
|
+
`)}let jg=0;function Bg({style:e,props:t}){const n=(t==null?void 0:t.columnsCount)??2,o=(t==null?void 0:t.align)??"flex-start",a=(t==null?void 0:t.justify)??"flex-start",i=(t==null?void 0:t.columns)??[],r=Array.from({length:n},(u,p)=>i[p]??{childrenIds:[]}),l=G.useMemo(()=>`ahd-fc-${jg+=1}`,[]),s=zg(l,{columnsCount:n,desktop:co(t,"desktop",n),tablet:co(t,"tablet",n),mobile:co(t,"mobile",n)}),c={alignItems:o,justifyContent:a};return g.jsxs("div",{className:`flex-columns-block ${l}`,style:Pg(e),"data-cols":n,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:s}}),g.jsx("div",{className:"fc-row",style:c,children:r.map((u,p)=>g.jsx("div",{className:"fc-col",children:u.childrenIds.map(d=>g.jsx(ve,{id:d},d))},p))})]})}const Dg=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),Hg=x().regex(/^rgba?\([^\)]+\)$/i),Fg=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Gg=re("transparent"),Ug=D([Dg,Hg,Fg,Gg]).nullable().optional(),Zg=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Wg=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),qg=C({style:C({backgroundColor:Ug,padding:Zg,margin:Wg}).optional().nullable(),props:C({columnsCount:f().int().min(1).optional().nullable(),columnsCountTablet:f().int().min(1).optional().nullable(),columnsCountMobile:f().int().min(1).optional().nullable(),rowsCount:f().int().min(1).optional().nullable(),columnsGap:f().optional().nullable(),rowsGap:f().optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable()}).optional().nullable()}),Vg=qg.shape.props.unwrap().unwrap().shape,Yg=C({backgroundColor:x().optional().nullable(),padding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),margin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),borderRadius:D([f(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable()}).optional().nullable(),Kg=C({style:Yg,props:C({...Vg,cells:W(C({childrenIds:W(x()),colStart:f().int().min(1).optional().nullable(),colSpan:f().int().min(1).optional().nullable(),rowStart:f().int().min(1).optional().nullable(),rowSpan:f().int().min(1).optional().nullable()})),columnsCountTablet:D([re(1),re(2),re(3),re(4),re(5)]).optional().nullable(),columnsCountMobile:D([re(1),re(2),re(3),re(4),re(5)]).optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable(),horizontalAlignment:I(["left","center","right"]).optional().nullable()}).optional().nullable()}),Jg={top:"flex-start",middle:"center",bottom:"flex-end"},Xg={left:"flex-start",center:"center",right:"flex-end"};let Qg=0;function eb({style:e,props:t}){const n=(t==null?void 0:t.columnsCount)??2,o=(t==null?void 0:t.columnsCountTablet)??n,a=(t==null?void 0:t.columnsCountMobile)??1,i=(t==null?void 0:t.rowsCount)??2,r=(t==null?void 0:t.columnsGap)??0,l=(t==null?void 0:t.rowsGap)??0,s=(t==null?void 0:t.contentAlignment)??"middle",c=(t==null?void 0:t.horizontalAlignment)??"left",u=(t==null?void 0:t.cells)??[],d=u.some(R=>(R==null?void 0:R.colStart)!=null||(R==null?void 0:R.rowStart)!=null||(R==null?void 0:R.colSpan)!=null||(R==null?void 0:R.rowSpan)!=null)?u.length:n*i,h=G.useMemo(()=>`ahd-grid-${Qg+=1}`,[]),m=Array.from({length:d},(R,M)=>u[M]??{childrenIds:[]}),b=e==null?void 0:e.padding,v=e==null?void 0:e.margin,k=((v==null?void 0:v.left)??0)+((v==null?void 0:v.right)??0),S=k>0?`calc(100% - ${k}px)`:"100%",$={backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,padding:b?`${b.top}px ${b.right}px ${b.bottom}px ${b.left}px`:void 0,boxSizing:"border-box",margin:v?`${v.top}px ${v.right}px ${v.bottom}px ${v.left}px`:void 0,width:S,maxWidth:"100%"},w=e==null?void 0:e.borderRadius;if(w!=null&&($.borderRadius=typeof w=="number"?`${w}px`:`${w.topLeft}px ${w.topRight}px ${w.bottomRight}px ${w.bottomLeft}px`,$.overflow="hidden"),e!=null&&e.borderColor){const R=e.borderWidth??{top:1,right:1,bottom:1,left:1};$.borderStyle="solid",$.borderColor=e.borderColor,$.borderWidth=`${R.top}px ${R.right}px ${R.bottom}px ${R.left}px`}const _={display:"grid",columnGap:`${r}px`,rowGap:`${l}px`,alignItems:Jg[s]??"center",justifyContent:Xg[c]??"flex-start",width:"100%",boxSizing:"border-box"},N=m.map((R,M)=>{if(R.colStart==null&&R.rowStart==null)return"";const T=[];return R.colStart!=null&&R.colSpan!=null&&T.push(`grid-column: ${R.colStart} / span ${R.colSpan};`),R.rowStart!=null&&R.rowSpan!=null&&T.push(`grid-row: ${R.rowStart} / span ${R.rowSpan};`),T.length===0?"":`.${h}-cell-${M} { ${T.join(" ")} }
|
|
217
217
|
@media (max-width: ${Ae}px) { .${h}-cell-${M} { grid-column: auto; grid-row: auto; } }`}).filter(Boolean).join(`
|
|
218
218
|
`),A=`
|
|
219
219
|
.${h} > .grid-block-inner { grid-template-columns: repeat(${n}, minmax(0, 1fr)); }
|
|
220
220
|
@media (max-width: ${je}px) { .${h} > .grid-block-inner { grid-template-columns: repeat(${o}, minmax(0, 1fr)); } }
|
|
221
221
|
@media (max-width: ${Ae}px) { .${h} > .grid-block-inner { grid-template-columns: repeat(${a}, minmax(0, 1fr)); } }
|
|
222
222
|
${N}
|
|
223
|
-
`.trim(),y=()=>({minWidth:0,boxSizing:"border-box"});return g.jsxs("div",{className:`grid-block ${h}`,style:$,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:A}}),g.jsx("div",{className:"grid-block-inner",style:_,children:m.map((R,M)=>g.jsx("div",{className:`grid-cell ${h}-cell-${M}`,style:y(),children:R.childrenIds.map(T=>g.jsx(ve,{id:T},T))},M))})]})}const
|
|
223
|
+
`.trim(),y=()=>({minWidth:0,boxSizing:"border-box"});return g.jsxs("div",{className:`grid-block ${h}`,style:$,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:A}}),g.jsx("div",{className:"grid-block-inner",style:_,children:m.map((R,M)=>g.jsx("div",{className:`grid-cell ${h}-cell-${M}`,style:y(),children:R.childrenIds.map(T=>g.jsx(ve,{id:T},T))},M))})]})}const tb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),nb=x().regex(/^rgba?\([^\)]+\)$/i),ob=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),ab=re("transparent"),Ir=ol(e=>typeof e=="string"?e.trim():e,D([tb,nb,ob,ab]).nullable().optional()),rb=x().url().regex(/^https?:\/\//,"URL must start with http:// or https://").nullable().optional(),ib=x().regex(/^(none|auto|cover|contain|inherit|initial|revert-layer|revert|unset|\d+(px|em|rem|%)?(\s+\d+(px|em|rem|%)?)?)$/i,"Invalid CSS background-size value").nullable().optional(),lb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),sb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),cb=D([f(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),ub=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Mr=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function dl(e){return e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")}function db(e){return!e||e==="transparent"?{backgroundColor:e??"transparent"}:dl(e)?{backgroundColor:"transparent"}:{backgroundColor:e}}function hb(e,t){const n=e&&dl(e)?e:void 0;return n&&t?`${n}, ${t}`:n??t}function fb(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}`}:{}}function pb(e,t){const n=Math.max((t==null?void 0:t.top)||0,(t==null?void 0:t.right)||0,(t==null?void 0:t.bottom)||0,(t==null?void 0:t.left)||0);if(e==null)return;if(typeof e=="number")return`${Math.max(0,e-n)}px`;const o=Math.max(0,(e.topLeft||0)-n),a=Math.max(0,(e.topRight||0)-n),i=Math.max(0,(e.bottomRight||0)-n),r=Math.max(0,(e.bottomLeft||0)-n);return`${o}px ${a}px ${i}px ${r}px`}const mb=C({style:C({backgroundColor:Ir,backgroundImage:rb,backgroundSize:ib,backgroundRepeat:I(["repeat","no-repeat"]).optional().nullable(),borderColor:Ir,borderRadius:cb,padding:lb,margin:sb,borderWidth:ub,boxShadow:Vn}).optional().nullable(),props:C({fullWidth:P().optional().nullable(),widthType:I(["fixed","fill","fit"]).optional().nullable(),widthTypeTablet:I(["fixed","fill","fit"]).optional().nullable(),widthTypeMobile:I(["fixed","fill","fit"]).optional().nullable(),width:f().min(0).optional().nullable(),widthUnit:I(["px","%"]).optional().nullable(),widthTablet:f().min(0).optional().nullable(),widthMobile:f().min(0).optional().nullable(),height:f().min(0).optional().nullable(),heightTablet:f().min(0).optional().nullable(),heightMobile:f().min(0).optional().nullable(),overflow:P().optional().nullable(),alignment:I(["left","center","right"]).optional().nullable(),alignmentTablet:I(["left","center","right"]).optional().nullable(),alignmentMobile:I(["left","center","right"]).optional().nullable(),tag:I(["div","section","article","nav","aside","header","footer","main"]).optional().nullable(),ariaLabel:x().optional().nullable(),elementId:x().optional().nullable(),showLink:P().optional().nullable(),linkHref:x().optional().nullable(),linkTarget:I(["_self","_blank"]).optional().nullable(),hoverEffect:Ia}).optional().nullable()}),yt={fullWidth:!1,widthType:"fill",width:300,widthUnit:"px",alignment:"left",hoverEffect:{enabled:!1,scale:1.05,duration:500,easing:"ease-in-out"}};let gb=0;function bb({style:e,props:t,children:n}){const o=al(),a=(t==null?void 0:t.fullWidth)??yt.fullWidth,i=(t==null?void 0:t.widthType)??yt.widthType,r=(t==null?void 0:t.widthTypeTablet)??null,l=(t==null?void 0:t.widthTypeMobile)??null,s=r??i,c=l??s,u=(t==null?void 0:t.width)??yt.width,p=(t==null?void 0:t.widthUnit)??yt.widthUnit,d=(t==null?void 0:t.widthTablet)??null,h=(t==null?void 0:t.widthMobile)??null,m=d??u,b=h??m,v=(t==null?void 0:t.height)??null,k=(t==null?void 0:t.heightTablet)??null,S=(t==null?void 0:t.heightMobile)??null,$=k??v,w=S??$,_=(t==null?void 0:t.overflow)===!0,N=(t==null?void 0:t.alignment)??yt.alignment,A=(t==null?void 0:t.alignmentTablet)??null,y=(t==null?void 0:t.alignmentMobile)??null,R=N,M=(t==null?void 0:t.ariaLabel)??void 0,T=(t==null?void 0:t.elementId)??void 0,L=!!(t!=null&&t.showLink),H=(t==null?void 0:t.linkHref)??null,F=typeof H=="string"?H.trim():H,j=L&&typeof F=="string"&&F.length>0,O=(t==null?void 0:t.linkTarget)??"_blank",q=j?"a":(t==null?void 0:t.tag)??"div",B=j?{href:F,target:O,...O==="_blank"?{rel:"noopener noreferrer"}:{},style:{textDecoration:"none",color:"inherit",display:"block"}}:{},Y=(ae,le,Ge=!1)=>{if(Ge&&a)return"100%";switch(ae){case"fill":return"100%";case"fixed":return`${le}${p}`;case"fit":default:return"auto"}},de=ae=>((ae==null?void 0:ae.left)??0)+((ae==null?void 0:ae.right)??0),oe=(ae,le,Ge)=>{const Qe=(le==null?void 0:le.top)??0,et=(le==null?void 0:le.bottom)??0;if(Ge)return{marginTop:Qe,marginBottom:et,marginLeft:(le==null?void 0:le.left)??0,marginRight:(le==null?void 0:le.right)??0};switch(ae){case"center":return{marginTop:Qe,marginBottom:et,marginLeft:"auto",marginRight:"auto"};case"right":return{marginTop:Qe,marginBottom:et,marginLeft:"auto",marginRight:(le==null?void 0:le.right)??0};case"left":default:return{marginTop:Qe,marginBottom:et,marginLeft:(le==null?void 0:le.left)??0,marginRight:"auto"}}},ee=(ae,le)=>{const Ge=de(le);return Ge<=0?ae:ae==="100%"?`calc(100% - ${Ge}px)`:ae},Z=i,J=u,Ee=v,we=Y(Z,J,o==="desktop"),me=ee(we,e==null?void 0:e.margin),ne=r!=null||l!=null||d!=null||h!=null||k!=null||S!=null||A!=null||y!=null,V=(t==null?void 0:t.hoverEffect)??yt.hoverEffect,U=!!(V!=null&&V.enabled),X=ne||U?`ahd-cb-${++gb}`:"",ye=ne?`
|
|
224
224
|
${ot} { .${X} { width: ${ee(Y(s,m),e==null?void 0:e.margin)} !important; ${$!=null?`height: ${$}px !important;`:""} max-width: 100% !important; } }
|
|
225
225
|
${Oe} { .${X} { width: ${ee(Y(c,b),e==null?void 0:e.margin)} !important; ${w!=null?`height: ${w}px !important;`:""} max-width: 100% !important; } }
|
|
226
226
|
`.trim():null,te=U?`
|
|
227
227
|
.${X} { transition: transform ${V.duration??500}ms ${V.easing??"ease-in-out"}; }
|
|
228
228
|
.${X}:hover { transform: scale(${V.scale??1.05}); }
|
|
229
229
|
`.trim():null,Q=[ye,te].filter(Boolean).join(`
|
|
230
|
-
`)||null,qe=Yn(e==null?void 0:e.boxShadow),Pe=ae=>{if(ae!=null)return typeof ae=="number"?`${ae}px`:`${ae.topLeft}px ${ae.topRight}px ${ae.bottomRight}px ${ae.bottomLeft}px`},ke=(e==null?void 0:e.borderColor)??null,it=(e==null?void 0:e.borderWidth)??null,bt=db(ke,it),Ne=cb((e==null?void 0:e.backgroundColor)??""),Se=(e==null?void 0:e.backgroundSize)==="none",ie=!Se&&(e!=null&&e.backgroundImage)?`url(${e.backgroundImage})`:void 0,be=ub(e==null?void 0:e.backgroundColor,ie),Ie=Se?void 0:(e==null?void 0:e.backgroundSize)??void 0,Ft=(e==null?void 0:e.backgroundRepeat)??"no-repeat",lt=ke&&(ke.includes("linear-gradient")||ke.includes("radial-gradient")||ke.includes("repeating-linear-gradient")),Fe=Ee!=null,st=Fe?{"--ahd-cb-h":`${Ee}px`}:{},Me=Fe?" container-block-has-height":"";if(lt){const ae={...bt,borderRadius:Pe(e==null?void 0:e.borderRadius),width:me,maxWidth:"100%",height:Fe?`${Ee}px`:void 0,boxSizing:"border-box",...oe(R,e==null?void 0:e.margin,we==="100%"),...qe,...st},le={...Ne,backgroundImage:be,backgroundSize:Ie,backgroundRepeat:Ft,borderRadius:hb((e==null?void 0:e.borderRadius)??0,it),overflow:_?"auto":"hidden",padding:Mr(e==null?void 0:e.padding),width:"100%",height:Fe?"100%":void 0,boxSizing:"border-box"},Ge=`container-block${_?" container-block-overflow":""}${Me}${X?` ${X}`:""}`,Qe=`container-block-inner${_?" container-block-overflow":""}`,et=j?{...ae,...B.style}:ae;return g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Ge,"aria-label":M,id:T,...B,style:et,children:g.jsx("div",{className:Qe,style:le,children:n})})]})}const _t={...Ne,backgroundImage:be,backgroundSize:Ie,backgroundRepeat:Ft,...bt,borderRadius:Pe(e==null?void 0:e.borderRadius),padding:Mr(e==null?void 0:e.padding),...oe(R,e==null?void 0:e.margin,we==="100%"),width:me,maxWidth:"100%",height:Fe?`${Ee}px`:void 0,overflow:_?"auto":void 0,boxSizing:"border-box",..._?{}:{display:"flow-root"},...qe,...st},Gt=`container-block${_?" container-block-overflow":""}${Me}${X?` ${X}`:""}`,gn=j?{..._t,...B.style}:_t;return n?g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Gt,"aria-label":M,id:T,...B,style:gn,children:n})]}):g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Gt,"aria-label":M,id:T,...B,style:gn})]})}const gb=C({style:fb.shape.style,responsive:Te,props:C({childrenIds:W(x()).optional().nullable(),fullWidth:P().optional().nullable(),widthType:I(["fixed","fill","fit"]).optional().nullable(),widthTypeTablet:I(["fixed","fill","fit"]).optional().nullable(),widthTypeMobile:I(["fixed","fill","fit"]).optional().nullable(),width:f().min(0).optional().nullable(),widthUnit:I(["px","%"]).optional().nullable(),widthTablet:f().min(0).optional().nullable(),widthMobile:f().min(0).optional().nullable(),height:f().min(0).optional().nullable(),heightTablet:f().min(0).optional().nullable(),heightMobile:f().min(0).optional().nullable(),overflow:P().optional().nullable(),alignment:I(["left","center","right"]).optional().nullable(),alignmentTablet:I(["left","center","right"]).optional().nullable(),alignmentMobile:I(["left","center","right"]).optional().nullable(),tag:I(["div","section","article","nav","aside","header","footer","main"]).optional().nullable(),ariaLabel:x().optional().nullable(),elementId:x().optional().nullable(),showLink:P().optional().nullable(),linkHref:x().optional().nullable(),linkTarget:I(["_self","_blank"]).optional().nullable(),animation:un,hoverEffect:Ia}).optional().nullable()});function bb({style:e,props:t}){const n=(t==null?void 0:t.childrenIds)??[];return g.jsx(mb,{style:e,props:{fullWidth:(t==null?void 0:t.fullWidth)??void 0,widthType:(t==null?void 0:t.widthType)??void 0,widthTypeTablet:(t==null?void 0:t.widthTypeTablet)??void 0,widthTypeMobile:(t==null?void 0:t.widthTypeMobile)??void 0,width:(t==null?void 0:t.width)??void 0,widthUnit:(t==null?void 0:t.widthUnit)??void 0,widthTablet:(t==null?void 0:t.widthTablet)??void 0,widthMobile:(t==null?void 0:t.widthMobile)??void 0,height:(t==null?void 0:t.height)??void 0,heightTablet:(t==null?void 0:t.heightTablet)??void 0,heightMobile:(t==null?void 0:t.heightMobile)??void 0,overflow:(t==null?void 0:t.overflow)??void 0,alignment:(t==null?void 0:t.alignment)??void 0,alignmentTablet:(t==null?void 0:t.alignmentTablet)??void 0,alignmentMobile:(t==null?void 0:t.alignmentMobile)??void 0,tag:(t==null?void 0:t.tag)??void 0,ariaLabel:(t==null?void 0:t.ariaLabel)??void 0,elementId:(t==null?void 0:t.elementId)??void 0,showLink:(t==null?void 0:t.showLink)??void 0,linkHref:(t==null?void 0:t.linkHref)??void 0,linkTarget:(t==null?void 0:t.linkTarget)??void 0,hoverEffect:(t==null?void 0:t.hoverEffect)??void 0},children:n.map(o=>g.jsx(ve,{id:o},o))})}const vb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),xb=x().regex(/^rgba?\([^\)]+\)$/i),Sb=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),wb=re("transparent"),Et=D([vb,xb,Sb,wb]).nullable().optional(),kb=I(["MODERN_SANS","BOOK_SANS","ORGANIC_SANS","GEOMETRIC_SANS","HEAVY_SANS","ROUNDED_SANS","MODERN_SERIF","BOOK_SERIF","MONOSPACE","ROBOTO","OPEN_SANS","LATO","POPPINS","INTER","MONTSERRAT","RALEWAY","NUNITO","PLAYFAIR_DISPLAY","MERRIWEATHER","PT_SANS","OSWALD","SOURCE_SANS_PRO","RUBIK","WORK_SANS","NOTO_SANS","DANCING_SCRIPT","PACIFICO","LOBSTER","BEBAS_NEUE"]).nullable().optional(),_b=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),ho=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),fo=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),$b=x().regex(/^(auto|cover|contain|inherit|initial|revert-layer|revert|unset|\d+(px|em|rem|%)?(\s+\d+(px|em|rem|%)?)?)$/i,"Invalid CSS background-size value").nullable().optional(),Cb=C({color:Et,offsetX:f().default(0),offsetY:f().default(0),blur:f().default(0),spread:f().default(0),inset:P().default(!1)}).partial().optional().nullable(),Ab=C({position:I(["top","top-left","top-right","top-center","bottom","bottom-left","bottom-right","bottom-center","center","left","left-center","right","right-center"]).optional().default("right"),isCaret:P().optional().default(!0),selector:x().optional().default(""),showCloseIcon:P().optional(),iconCloseColor:Et,closeIconPosition:I(["left","center","right"]).optional(),closeIconPaddingTop:f().optional(),closeIconPaddingLeft:f().optional(),closeIconPaddingRight:f().optional(),bannerSubType:x().optional()}).passthrough().optional().nullable(),yb=W(C({id:x(),name:x(),type:x().optional().default("text"),value:x().optional()})).optional().nullable(),Nb=C({formFields:yb,backdropColor:Et.default(null),borderColor:Et.default(null),borderRadius:f().optional().nullable(),canvasColor:Et.default(null),textColor:Et,fontFamily:kb,childrenIds:W(x()).optional().nullable(),maxWidth:x().default(""),maxHeight:x().default(""),top:x().default(""),left:x().default(""),padding:ho,margin:fo,maxWidthTablet:x().optional().nullable(),maxWidthMobile:x().optional().nullable(),maxHeightTablet:x().optional().nullable(),maxHeightMobile:x().optional().nullable(),paddingTablet:ho,paddingMobile:ho,marginTablet:fo,marginMobile:fo,borderWidth:_b,boxShadow:Cb,behaviour:Ab,linkHref:x().optional().default(""),backgroundImage:x().default("").nullable().optional(),backgroundSize:$b,backgroundRepeat:I(["repeat","no-repeat"]).optional().nullable()});function Nt(e){return!(e==null||typeof e=="string"&&e.trim()==="")}function _n(e,t,n){const o=e??{},a=o[t];if(n==="desktop")return Nt(a)?a:null;const i=o[`${t}Tablet`];if(n==="tablet")return Nt(i)?i:Nt(a)?a:null;const r=o[`${t}Mobile`];return Nt(r)?r:Nt(i)?i:Nt(a)?a:null}function po(e,t){return{maxWidth:_n(e,"maxWidth",t)??null,maxHeight:_n(e,"maxHeight",t)??null,padding:_n(e,"padding",t)??null,margin:_n(e,"margin",t)??null}}function Rb(e){return`${e.top??0}px ${e.right??0}px ${e.bottom??0}px ${e.left??0}px`}function Eb(e){return`${e.top??0}px ${e.right??0}px ${e.bottom??0}px ${e.left??0}px`}function mo(e,t){const n=[];return t.maxWidth&&(n.push(`${e.width}{width:${t.maxWidth};max-width:100%;}`),n.push(`${e.table}{max-width:${t.maxWidth};min-width:0;}`)),t.maxHeight&&n.push(`${e.table}{height:${t.maxHeight};}`),t.padding&&n.push(`${e.padding}{padding:${Rb(t.padding)};}`),t.margin&&n.push(`${e.margin}{margin:${Eb(t.margin)};}`),n.join("")}function Ib(e,t,n){const o=`.${e}`,a={width:`${o} .ahd-layout-sizer`,table:`${o} .ahd-layout-table`,padding:`${o} .email-layout-content`,margin:`${o} .email-layout-content`},i=po(t,"desktop"),r=mo(a,{...i,maxWidth:i.maxWidth??n??null}),l=mo(a,po(t,"tablet")),s=mo(a,po(t,"mobile")),c=(u,p)=>p?`@media (max-width:${u}px){${p}}@container ahd-page (max-width:${u}px){${p}}`:"";return[r,c(je,l),c(Ae,s)].filter(Boolean).join("")}const Mb="Made with Page Pilot",Tb="https://pagepilot.fabbuilder.com";let Pb=0;function Ob(e){switch(e??"MODERN_SANS"){case"MODERN_SANS":return'Inter, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif';case"BOOK_SANS":return'Optima, Candara, "Noto Sans", source-sans-pro, sans-serif';case"ORGANIC_SANS":return'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif';case"GEOMETRIC_SANS":return'Avenir, "Avenir Next LT Pro", Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif';case"HEAVY_SANS":return'Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", sans-serif-condensed, sans-serif';case"ROUNDED_SANS":return'ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif';case"MODERN_SERIF":return'Charter, "Bitstream Charter", "Sitka Text", Cambria, serif';case"BOOK_SERIF":return'"Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif';case"MONOSPACE":return'"Nimbus Mono PS", "Courier New", "Cutive Mono", monospace';case"ROBOTO":return'Roboto, "Helvetica Neue", Arial, sans-serif';case"OPEN_SANS":return'"Open Sans", "Helvetica Neue", Arial, sans-serif';case"LATO":return'Lato, "Helvetica Neue", Arial, sans-serif';case"POPPINS":return'Poppins, "Helvetica Neue", Arial, sans-serif';case"INTER":return'Inter, "Helvetica Neue", Arial, sans-serif';case"MONTSERRAT":return'Montserrat, "Helvetica Neue", Arial, sans-serif';case"RALEWAY":return'Raleway, "Helvetica Neue", Arial, sans-serif';case"NUNITO":return'Nunito, "Helvetica Neue", Arial, sans-serif';case"PLAYFAIR_DISPLAY":return'"Playfair Display", Georgia, serif';case"MERRIWEATHER":return"Merriweather, Georgia, serif";case"PT_SANS":return'"PT Sans", "Helvetica Neue", Arial, sans-serif';case"OSWALD":return'Oswald, "Helvetica Neue", Arial, sans-serif';case"SOURCE_SANS_PRO":return'"Source Sans Pro", "Helvetica Neue", Arial, sans-serif';case"RUBIK":return'Rubik, "Helvetica Neue", Arial, sans-serif';case"WORK_SANS":return'"Work Sans", "Helvetica Neue", Arial, sans-serif';case"NOTO_SANS":return'"Noto Sans", "Helvetica Neue", Arial, sans-serif';case"DANCING_SCRIPT":return'"Dancing Script", cursive, sans-serif';case"PACIFICO":return"Pacifico, cursive, sans-serif";case"LOBSTER":return"Lobster, cursive, sans-serif";case"BEBAS_NEUE":return'"Bebas Neue", cursive, sans-serif'}}function Lb(e){const{borderColor:t,borderWidth:n,borderRadius:o}=e;if(!t)return{};if(t==="transparent")return{border:"none"};const a=t&&(t.includes("linear-gradient")||t.includes("radial-gradient")||t.includes("repeating-linear-gradient")),i=o??0,r=s=>typeof s=="number"?`${s}px`:`${s.topLeft}px ${s.topRight}px ${s.bottomRight}px ${s.bottomLeft}px`;if(((n==null?void 0:n.top)??0)+((n==null?void 0:n.right)??0)+((n==null?void 0:n.bottom)??0)+((n==null?void 0:n.left)??0)===0)return{borderRadius:i?r(i):void 0};if(a){const s=e.canvasColor,c=!s||s==="transparent"?"linear-gradient(transparent, transparent)":s.includes("gradient")?s:`linear-gradient(${s}, ${s})`;return{borderStyle:"solid",borderTopWidth:`${(n==null?void 0:n.top)??0}px`,borderRightWidth:`${(n==null?void 0:n.right)??0}px`,borderBottomWidth:`${(n==null?void 0:n.bottom)??0}px`,borderLeftWidth:`${(n==null?void 0:n.left)??0}px`,borderColor:"transparent",backgroundImage:`${c}, ${t}`,backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box",borderRadius:i?r(i):void 0}}return{borderTop:`${(n==null?void 0:n.top)||0}px solid ${t}`,borderRight:`${(n==null?void 0:n.right)||0}px solid ${t}`,borderBottom:`${(n==null?void 0:n.bottom)||0}px solid ${t}`,borderLeft:`${(n==null?void 0:n.left)||0}px solid ${t}`,borderRadius:i?r(i):void 0}}function zb(e){return e.includes("gradient")?(e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi)??[])[0]??"#000000":e}function Tr(e){if(!e||!e.color)return{};const{color:t,offsetX:n=0,offsetY:o=0,blur:a=0,spread:i=0,inset:r=!1}=e,l=zb(t);return{boxShadow:`${r?"inset ":""}${n}px ${o}px ${a}px ${i}px ${l}`}}function jb(e,t,n){return n==="appBanner"&&t?{backgroundColor:"transparent"}:!e||e==="transparent"?{backgroundColor:e??"transparent"}:e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")?{background:e}:{backgroundColor:e}}function Bb(e){switch(e){case"top":return"bottom";case"top-left":return"bottom-right";case"top-right":return"bottom-left";case"bottom":return"top";case"bottom-left":return"top-right";case"bottom-right":return"top-left";case"left":return"right";case"right":return"left";default:return e}}function Db(e){return e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi)??[]}function Hb(e,t){if(!e||e==="transparent")return"#ffffff";if(!e.includes("gradient"))return e;const n=Db(e);return n.length===0?"#ffffff":t==="right"||t==="bottom"||t==="bottom-left"||t==="bottom-right"?n[n.length-1]:n[0]}function Fb({position:e,color:t}){const a="20px",i={position:"absolute",background:t,pointerEvents:"none",zIndex:2},r="polygon(50% 0, 0 100%, 100% 100%)",l="polygon(0 0, 100% 0, 50% 100%)",s="polygon(100% 0, 100% 100%, 0 50%)",c="polygon(0 0, 0 100%, 100% 50%)";let u;switch(e){case"top":u={top:-8,left:"50%",transform:"translateX(-50%)",width:16,height:8,clipPath:r};break;case"top-left":u={top:-8,left:a,width:16,height:8,clipPath:r};break;case"top-right":u={top:-8,right:a,width:16,height:8,clipPath:r};break;case"bottom":u={bottom:-8,left:"50%",transform:"translateX(-50%)",width:16,height:8,clipPath:l};break;case"bottom-left":u={bottom:-8,left:a,width:16,height:8,clipPath:l};break;case"bottom-right":u={bottom:-8,right:a,width:16,height:8,clipPath:l};break;case"left":u={left:-8,top:"50%",transform:"translateY(-50%)",width:8,height:16,clipPath:s};break;case"right":u={right:-8,top:"50%",transform:"translateY(-50%)",width:8,height:16,clipPath:c};break;default:return null}return g.jsx("div",{"aria-hidden":!0,style:{...i,...u}})}function Gb({color:e,position:t,paddingTop:n,paddingLeft:o,paddingRight:a}){const i=e||"#262626",r=t??"right",l=typeof n=="number"?n:2,u=r==="left"?{left:typeof o=="number"?o:2}:r==="center"?{left:"50%",transform:"translateX(-50%)"}:{right:typeof a=="number"?a:2};return g.jsx("div",{role:"button","aria-label":"Close",tabIndex:0,"data-action":"onCloseStep",style:{position:"absolute",top:l,...u,width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",zIndex:11,cursor:"pointer",lineHeight:0,background:"transparent",border:0},children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:i,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:"none"},children:[g.jsx("line",{x1:"3",y1:"3",x2:"11",y2:"11"}),g.jsx("line",{x1:"11",y1:"3",x2:"3",y2:"11"})]})})}function Ub(){return g.jsx("div",{className:"ahd-branding-footer",style:{display:"block",width:"100%",textAlign:"left",fontSize:11,color:"#8a8a8a",marginTop:8},children:g.jsx("a",{href:Tb,target:"_blank",rel:"noopener noreferrer",style:{color:"inherit",textDecoration:"underline"},children:Mb})})}function Zb(e){var Y,de,oe,ee,Z,J,Ee,we,me,ne,V,U,X,ye;const t=e.childrenIds??[],n=typeof window<"u"&&window.location?window.location.pathname:"",o=n.includes("page")?"page":"",a=n.includes("app-banner"),i=n.includes("demo"),r=n.includes("faq"),l=n.includes("tour"),s=n.includes("tooltip"),c=l||s||i,u=["top-left","top-right","bottom-left","bottom-right","top-center","bottom-center","left-center","right-center","center"],p=a&&(((Y=e.behaviour)==null?void 0:Y.bannerSubType)==="floater"||u.includes((de=e.behaviour)==null?void 0:de.position)),d=a&&((oe=e.behaviour)==null?void 0:oe.bannerSubType)==="modal",h=(c||p||d)&&((ee=e.behaviour)==null?void 0:ee.showCloseIcon)!==!1,b=c&&!0,v=a&&e.linkHref?e.linkHref:null,k=G.useMemo(()=>`ahd-layout-${Pb+=1}`,[]),$=Ib(k,e,o==="page"||r?"100%":a&&!p?"900px":"320px"),w=(a||i)&&!!e.backgroundImage;e.borderRadius;const _=e.borderRadius??0,N=te=>typeof te=="number"?`${te}px`:`${te.topLeft}px ${te.topRight}px ${te.bottomRight}px ${te.bottomLeft}px`,y=(te=>te==null?!1:typeof te=="number"?te>0:(te.topLeft??0)>0||(te.topRight??0)>0||(te.bottomRight??0)>0||(te.bottomLeft??0)>0)(_),R=te=>v?g.jsx("a",{href:v,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",color:"inherit",display:"block"},children:te}):te,M=Lb(e),T=a&&!!((Z=e.boxShadow)!=null&&Z.color)&&!!e.boxShadow.inset,L=a&&!T?Tr(e.boxShadow):{},H=T?Tr(e.boxShadow):{},F=Bb(((J=e.behaviour)==null?void 0:J.position)??"right"),j=c&&!p&&!d&&((Ee=e.behaviour)==null?void 0:Ee.isCaret)!==!1,O=Hb(e.canvasColor,F),q=(((we=e.margin)==null?void 0:we.left)??0)+(((me=e.margin)==null?void 0:me.right)??0),B=q>0?`calc(100% - ${q}px)`:"100%";return R(g.jsxs("div",{className:k,style:{minHeight:"100%",display:"block",alignItems:"center"},children:[$&&g.jsx("style",{dangerouslySetInnerHTML:{__html:$}}),g.jsx("div",{style:{color:e.textColor??"#262626",fontFamily:Ob(e.fontFamily),fontSize:"16px",fontWeight:"400",letterSpacing:"normal",lineHeight:"1.5",margin:"0",minHeight:"100%",width:"100%"},children:g.jsxs("div",{className:"ahd-layout-sizer",style:{position:"relative",margin:"0 auto",...d||p?null:{maxWidth:"100%"}},children:[j&&g.jsx(Fb,{position:F,color:O}),g.jsxs("div",{style:{position:"relative",borderRadius:N(_),...y?{overflowX:"hidden",overflowY:"visible"}:{overflow:"visible"},...L},children:[T&&g.jsx("div",{"aria-hidden":!0,style:{position:"absolute",inset:0,pointerEvents:"none",borderRadius:N(_),zIndex:1,...H}}),h&&g.jsx(Gb,{color:(ne=e.behaviour)==null?void 0:ne.iconCloseColor,position:(V=e.behaviour)==null?void 0:V.closeIconPosition,paddingTop:(U=e.behaviour)==null?void 0:U.closeIconPaddingTop,paddingLeft:(X=e.behaviour)==null?void 0:X.closeIconPaddingLeft,paddingRight:(ye=e.behaviour)==null?void 0:ye.closeIconPaddingRight}),g.jsx("table",{width:"100%",className:"ahd-layout-table",style:{width:B,maxWidth:"100%",boxSizing:"border-box",flex:1,margin:e.margin?`${e.margin.top}px ${e.margin.right}px ${e.margin.bottom}px ${e.margin.left}px`:"0 auto",...d||p?{maxWidth:"100%"}:null,top:e.top||"",left:e.left||"",...jb(e.canvasColor,e.backgroundImage,a?"appBanner":""),borderCollapse:"separate",tableLayout:"fixed",...M,borderRadius:N(_),overflow:y?"clip":"visible",...w?{backgroundImage:`url(${e.backgroundImage})`,backgroundSize:e.backgroundSize??"cover",backgroundPosition:"center",backgroundRepeat:e.backgroundRepeat??"no-repeat"}:{}},role:"presentation",cellSpacing:"0",cellPadding:"0",children:g.jsx("tbody",{children:g.jsx("tr",{style:{width:"100%"},children:g.jsxs("td",{className:"email-layout-content",children:[t.map(te=>g.jsx(ve,{id:te},te)),b&&g.jsx(Ub,{})]})})})})]})]})})]}))}const Wb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),qb=x().regex(/^rgba?\([^\)]+\)$/i),Vb=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Yb=re("transparent"),$n=D([Wb,qb,Vb,Yb]).nullable().optional(),Kb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Jb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Xb=I(["left","center","right"]).optional().nullable(),zn={min:1,max:20},jn={min:4,max:48},hl=e=>typeof e=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e),Qb=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,e0=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,qt=(e,t,n)=>Math.min(Math.max(e,t),n),Pr=e=>e?hl(e)?{backgroundImage:e,backgroundColor:void 0}:{backgroundColor:e??void 0}:{},t0=C({style:C({backgroundColor:$n,textAlign:Xb,padding:Kb,margin:Jb}).optional().nullable(),props:C({stepperType:I(["dots","numeric","both"]).optional().nullable(),totalDots:f().min(zn.min).max(zn.max).optional().nullable(),activeIndex:f().min(1).optional().nullable(),activeColor:$n,inactiveColor:$n,dotSize:f().min(jn.min).max(jn.max).optional().nullable(),dotSpacing:f().min(0).max(40).optional().nullable(),numericColor:$n,numericFontSize:f().min(8).max(48).optional().nullable(),numericPosition:I(["above","below","left","right"]).optional().nullable()}).optional().nullable()}),Ve={stepperType:"dots",totalDots:5,activeIndex:1,activeColor:"#3F73FF",inactiveColor:"#FFFFFF",dotSize:14,dotSpacing:12,numericColor:"#000000",numericFontSize:14,numericPosition:"below"};function n0({style:e,props:t}){const o=al()==="mobile",i=typeof window<"u"&&window.location.pathname.includes("page")&&o,r=qt((t==null?void 0:t.totalDots)??Ve.totalDots,zn.min,zn.max),l=qt((t==null?void 0:t.dotSize)??Ve.dotSize,jn.min,jn.max),s=qt((t==null?void 0:t.dotSpacing)??Ve.dotSpacing,0,40),c=(t==null?void 0:t.activeIndex)??Ve.activeIndex,u=qt(c,1,r),p=(t==null?void 0:t.activeColor)??Ve.activeColor,d=(t==null?void 0:t.inactiveColor)??Ve.inactiveColor,h=(t==null?void 0:t.stepperType)??Ve.stepperType,m=h==="numeric"||h==="both",b=h==="dots"||h==="both",v=(t==null?void 0:t.numericColor)??Ve.numericColor,k=qt((t==null?void 0:t.numericFontSize)??Ve.numericFontSize,8,48),S=(t==null?void 0:t.numericPosition)??Ve.numericPosition,w={...Pr((e==null?void 0:e.backgroundColor)??void 0),padding:Qb(e==null?void 0:e.padding,i),margin:e0(e==null?void 0:e.margin,i),textAlign:(e==null?void 0:e.textAlign)??"center",width:"100%",boxSizing:"border-box"},_=m&&b&&(S==="above"||S==="below"),N={display:"inline-flex",flexDirection:_?"column":"row",alignItems:"center",justifyContent:(e==null?void 0:e.textAlign)==="left"?"flex-start":(e==null?void 0:e.textAlign)==="right"?"flex-end":"center",gap:_?"8px":b?`${s}px`:"0px"},A={display:"inline-flex",gap:`${s}px`,alignItems:"center",flexWrap:"wrap"},y=`${u}/${r}`,R=hl(v),M={fontSize:`${k}px`,fontWeight:500,lineHeight:1,whiteSpace:"nowrap",...R?{backgroundImage:v,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}:{color:v??void 0}},T=()=>m?g.jsx("span",{style:M,children:y}):null,L=()=>g.jsx("div",{style:A,"aria-hidden":"true",children:Array.from({length:r}).map((H,F)=>{const j=F===u-1,O={width:l,height:l,borderRadius:"50%",border:"2px solid #0000001a",transition:"background 120ms ease, transform 120ms ease",transform:j?"scale(1.1)":"scale(1)",...Pr(j?p:d)};return g.jsx("span",{style:O,"data-active":j?"true":"false"},F)})});return g.jsx("div",{className:"stepper-block",style:w,role:"progressbar","aria-valuenow":u,"aria-valuemin":1,"aria-valuemax":r,"aria-valuetext":`Step ${u} of ${r}`,"aria-label":`Step ${u} of ${r}`,children:g.jsxs("div",{style:N,children:[m&&S==="above"&&T(),m&&S==="left"&&T(),b&&L(),m&&S==="right"&&T(),m&&S==="below"&&T()]})})}const o0=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),a0=x().regex(/^rgba?\([^\)]+\)$/i),r0=re("transparent"),go=D([o0,a0,r0]).nullable().optional(),fl=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),i0=fl,l0=I(["left","center","right"]).optional().nullable(),s0=["disc","circle","square","dash","arrow","check","cross","none"],c0=["decimal","decimal-zero","lower-alpha","upper-alpha","lower-roman","upper-roman"],Or={disc:"●",circle:"○",square:"■",dash:"–",arrow:"➤",check:"✓",cross:"✗"},u0=C({text:x()}),d0=C({style:C({color:go,backgroundColor:go,textAlign:l0,fontSize:f().min(8).max(72).optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:D([f(),x()]).optional().nullable(),lineHeight:f().min(1).max(3).optional().nullable(),padding:fl,margin:i0}).optional().nullable(),props:C({listType:I(["unordered","ordered"]).optional().nullable(),marker:I([...s0,...c0]).optional().nullable(),numberSuffix:ol(e=>e===""?void 0:e,I([".",")"]).optional().nullable()),startNumber:f().min(0).max(9999).optional().nullable(),markerColor:go,markerSize:f().min(8).max(72).optional().nullable(),itemGap:f().min(0).max(64).optional().nullable(),items:W(u0).optional().nullable()}).optional().nullable(),responsive:Te}),dt={listType:"unordered",marker:"disc",numberSuffix:".",startNumber:1,markerColor:null,markerSize:16,itemGap:8,items:[{text:"First list item"},{text:"Second list item"},{text:"Third list item"}]},Lr=(e,t,n)=>Math.min(Math.max(e,t),n),zr=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,jr=e=>{if(e<=0)return String(e);const t=[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]];let n="",o=e;for(const[a,i]of t)for(;o>=a;)n+=i,o-=a;return n},Br=e=>{let t=e,n="";for(;t>0;){const o=(t-1)%26;n=String.fromCharCode(97+o)+n,t=Math.floor((t-1)/26)}return n||"a"},h0=(e,t,n,o)=>{const a=n+t;switch(e){case"decimal-zero":return`${String(a).padStart(2,"0")}${o}`;case"lower-alpha":return`${Br(a)}${o}`;case"upper-alpha":return`${Br(a).toUpperCase()}${o}`;case"lower-roman":return`${jr(a).toLowerCase()}${o}`;case"upper-roman":return`${jr(a)}${o}`;case"decimal":default:return`${a}${o}`}};function f0({style:e,props:t}){var v;const o=((t==null?void 0:t.listType)??dt.listType)==="ordered",a=(t==null?void 0:t.marker)??(o?"decimal":dt.marker),i=(t==null?void 0:t.numberSuffix)??dt.numberSuffix,r=(t==null?void 0:t.startNumber)??dt.startNumber,l=(t==null?void 0:t.markerColor)??dt.markerColor,s=Lr((t==null?void 0:t.markerSize)??dt.markerSize,8,72),c=Lr((t==null?void 0:t.itemGap)??dt.itemGap,0,64),u=(v=t==null?void 0:t.items)!=null&&v.length?t.items:dt.items.map(k=>({...k})),p=(e==null?void 0:e.color)??void 0,d={backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,padding:zr(e==null?void 0:e.padding),margin:zr(e==null?void 0:e.margin),width:"100%",boxSizing:"border-box"},h={color:p,textAlign:(e==null?void 0:e.textAlign)??"left",fontSize:e!=null&&e.fontSize?`${e.fontSize}px`:void 0,fontFamily:(e==null?void 0:e.fontFamily)??void 0,fontWeight:(e==null?void 0:e.fontWeight)??void 0,lineHeight:(e==null?void 0:e.lineHeight)??1.5},m={verticalAlign:"top",paddingRight:"8px",whiteSpace:"nowrap",color:l??p,fontSize:`${s}px`,lineHeight:(e==null?void 0:e.lineHeight)??1.5},b=k=>a==="none"?null:o?h0(a,k,r,i):Or[a]??Or.disc;return g.jsx("div",{className:"list-block",style:d,children:g.jsx("table",{role:"presentation",cellPadding:0,cellSpacing:0,style:{borderCollapse:"collapse",width:"100%"},children:g.jsx("tbody",{children:u.map((k,S)=>{const $=b(S);return g.jsxs("tr",{children:[a!=="none"&&g.jsx("td",{style:m,children:$}),g.jsx("td",{style:{...h,paddingBottom:S<u.length-1?`${c}px`:0,width:"100%"},children:k.text})]},S)})})})})}const p0=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),m0=x().regex(/^rgba?\([^\)]+\)$/i),g0=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),b0=re("transparent"),v0=D([p0,m0,g0,b0]).nullable().optional(),x0=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Zo=C({style:C({backgroundColor:v0,padding:x0}).optional().nullable(),props:C({direction:I(["row","column"]).optional().nullable(),directionTablet:I(["row","column"]).optional().nullable(),directionMobile:I(["row","column"]).optional().nullable(),gap:f().optional().nullable(),gapTablet:f().optional().nullable(),gapMobile:f().optional().nullable(),alignment:I(["start","center","end","space-between"]).optional().nullable(),alignmentTablet:I(["start","center","end","space-between"]).optional().nullable(),alignmentMobile:I(["start","center","end","space-between"]).optional().nullable(),wrap:P().optional().nullable(),ariaLabel:x().optional().nullable()}).optional().nullable(),responsive:Te}),Cn={direction:"row",gap:12,alignment:"start",wrap:!0},Bn={start:"flex-start",center:"center",end:"flex-end","space-between":"space-between"},S0=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function Dr(e,t,n,o){const a=e==="row"?Bn[t]:"flex-start",i=e==="column"?Bn[t]:"center";return`flex-direction:${e}!important;justify-content:${a}!important;align-items:${i}!important;flex-wrap:${e==="row"&&n?"wrap":"nowrap"}!important;gap:${o}px!important;`}let w0=0;function k0({style:e,buttons:t,props:n}){const o=(n==null?void 0:n.direction)??Cn.direction,a=(n==null?void 0:n.directionTablet)??o,i=(n==null?void 0:n.directionMobile)??a,r=(n==null?void 0:n.gap)??Cn.gap,l=(n==null?void 0:n.gapTablet)??r,s=(n==null?void 0:n.gapMobile)??l,c=(n==null?void 0:n.alignment)??Cn.alignment,u=(n==null?void 0:n.alignmentTablet)??c,p=(n==null?void 0:n.alignmentMobile)??u,d=(n==null?void 0:n.wrap)??Cn.wrap,h=(n==null?void 0:n.ariaLabel)??void 0,m=o,b=c,k={display:"flex",flexDirection:m,gap:`${r}px`,justifyContent:m==="row"?Bn[b]:"flex-start",alignItems:m==="column"?Bn[b]:"center",flexWrap:m==="row"&&d?"wrap":"nowrap",background:(e==null?void 0:e.backgroundColor)??void 0,padding:S0(e==null?void 0:e.padding),boxSizing:"border-box",width:"100%"},S=G.useMemo(()=>`ahd-bg-${w0+=1}`,[]),$=G.useMemo(()=>{const w=`.${S}`;let _="";return(a!==o||u!==c||l!==r)&&(_+=`@media (max-width:${je}px){${w}{${Dr(a,u,d,l)}}}`),(i!==a||p!==u||s!==l)&&(_+=`@media (max-width:${Ae}px){${w}{${Dr(i,p,d,s)}}}`),_},[S,o,a,i,c,u,p,r,l,s,d]);return g.jsxs("div",{className:`button-group ${S}`,style:k,role:"group","aria-label":h,children:[$&&g.jsx("style",{dangerouslySetInnerHTML:{__html:$}}),t]})}const _0=Zo.shape.props.unwrap().unwrap().shape,$0=C({style:Zo.shape.style,props:C({..._0,childrenIds:W(x()).optional().nullable()}).optional().nullable(),responsive:Zo.shape.responsive});function C0({style:e,props:t}){const{childrenIds:n,...o}=t??{},a=(n??[]).map(i=>g.jsx(ve,{id:i},i));return g.jsx(k0,{style:e,props:o,buttons:a})}const A0=C({titleChildrenIds:W(x()).optional().nullable(),contentChildrenIds:W(x()).optional().nullable()}),y0=C({responsive:Te,style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),marginBottom:f().optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable()}).optional().nullable(),props:C({items:W(A0).min(1).max(25).optional().nullable(),iconColor:x().optional().nullable(),iconSize:f().optional().nullable(),defaultOpen:P().optional().nullable(),activeBorderColor:x().optional().nullable()}).optional().nullable()});function N0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}const Hr=e=>typeof e=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e);function R0(e,t){if(!e)return;const n=Math.max(t.top,t.right,t.bottom,t.left),o=e.split(" ").map(a=>Math.max(0,parseFloat(a)-n));return o.length===1?`${o[0]}px`:o.map(a=>`${a}px`).join(" ")}function E0({style:e,props:t}){const n=G.useMemo(()=>{const $=t==null?void 0:t.items;return!$||$.length===0?{titleChildrenIds:[],contentChildrenIds:[]}:{titleChildrenIds:$[0].titleChildrenIds??[],contentChildrenIds:$[0].contentChildrenIds??[]}},[t==null?void 0:t.items]),o=G.useMemo(()=>`email-accordion-${Math.random().toString(36).slice(2,9)}`,[]),a=`${o}-content`,i=e==null?void 0:e.padding,r=e==null?void 0:e.margin,l=((r==null?void 0:r.left)??0)+((r==null?void 0:r.right)??0),s=t==null?void 0:t.activeBorderColor,c=e==null?void 0:e.borderColor,u=(e==null?void 0:e.borderWidth)??{top:1,right:1,bottom:1,left:1},p=`${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`,d=N0(e==null?void 0:e.borderRadius),h=Hr(c),m=Hr(s),b=h||m,v={width:l>0?`calc(100% - ${l}px)`:"100%",boxSizing:"border-box",borderRadius:d,margin:r?`${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`:void 0,boxShadow:"none"};(e==null?void 0:e.borderRadius)!=null&&(v.overflow="hidden"),b?(v.padding=p,h?v.background=c:c&&(v.borderStyle="solid",v.borderColor=c,v.borderWidth=p)):c&&(v.borderStyle="solid",v.borderColor=c,v.borderWidth=p);const k={background:(e==null?void 0:e.backgroundColor)??(b?"#ffffff":void 0),borderRadius:b?R0(d,u):void 0,padding:i?`${i.top}px ${i.right}px ${i.bottom}px ${i.left}px`:void 0,overflow:b&&(e==null?void 0:e.borderRadius)!=null?"hidden":void 0},S=[];return s&&(m?S.push(`#${o}:checked + .email-accordion-root { background:${s}!important; border-style:none!important; padding:${p}!important; }`):S.push(`#${o}:checked + .email-accordion-root { background:none!important; border-style:solid!important; border-color:${s}!important; border-width:${p}!important; ${b?"padding:0!important;":""} }`)),g.jsxs("div",{className:"accordion-block",style:{marginBottom:(e==null?void 0:e.marginBottom)!=null?`${e.marginBottom}px`:"5px"},children:[g.jsx("style",{children:`
|
|
230
|
+
`)||null,qe=Yn(e==null?void 0:e.boxShadow),Pe=ae=>{if(ae!=null)return typeof ae=="number"?`${ae}px`:`${ae.topLeft}px ${ae.topRight}px ${ae.bottomRight}px ${ae.bottomLeft}px`},ke=(e==null?void 0:e.borderColor)??null,it=(e==null?void 0:e.borderWidth)??null,bt=fb(ke,it),Ne=db((e==null?void 0:e.backgroundColor)??""),Se=(e==null?void 0:e.backgroundSize)==="none",ie=!Se&&(e!=null&&e.backgroundImage)?`url(${e.backgroundImage})`:void 0,be=hb(e==null?void 0:e.backgroundColor,ie),Ie=Se?void 0:(e==null?void 0:e.backgroundSize)??void 0,Ft=(e==null?void 0:e.backgroundRepeat)??"no-repeat",lt=ke&&(ke.includes("linear-gradient")||ke.includes("radial-gradient")||ke.includes("repeating-linear-gradient")),Fe=Ee!=null,st=Fe?{"--ahd-cb-h":`${Ee}px`}:{},Me=Fe?" container-block-has-height":"";if(lt){const ae={...bt,borderRadius:Pe(e==null?void 0:e.borderRadius),width:me,maxWidth:"100%",height:Fe?`${Ee}px`:void 0,boxSizing:"border-box",...oe(R,e==null?void 0:e.margin,we==="100%"),...qe,...st},le={...Ne,backgroundImage:be,backgroundSize:Ie,backgroundRepeat:Ft,borderRadius:pb((e==null?void 0:e.borderRadius)??0,it),overflow:_?"auto":"hidden",padding:Mr(e==null?void 0:e.padding),width:"100%",height:Fe?"100%":void 0,boxSizing:"border-box"},Ge=`container-block${_?" container-block-overflow":""}${Me}${X?` ${X}`:""}`,Qe=`container-block-inner${_?" container-block-overflow":""}`,et=j?{...ae,...B.style}:ae;return g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Ge,"aria-label":M,id:T,...B,style:et,children:g.jsx("div",{className:Qe,style:le,children:n})})]})}const _t={...Ne,backgroundImage:be,backgroundSize:Ie,backgroundRepeat:Ft,...bt,borderRadius:Pe(e==null?void 0:e.borderRadius),padding:Mr(e==null?void 0:e.padding),...oe(R,e==null?void 0:e.margin,we==="100%"),width:me,maxWidth:"100%",height:Fe?`${Ee}px`:void 0,overflow:_?"auto":void 0,boxSizing:"border-box",..._?{}:{display:"flow-root"},...qe,...st},Gt=`container-block${_?" container-block-overflow":""}${Me}${X?` ${X}`:""}`,gn=j?{..._t,...B.style}:_t;return n?g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Gt,"aria-label":M,id:T,...B,style:gn,children:n})]}):g.jsxs(g.Fragment,{children:[Q&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Q}}),g.jsx(q,{className:Gt,"aria-label":M,id:T,...B,style:gn})]})}const vb=C({style:mb.shape.style,responsive:Te,props:C({childrenIds:W(x()).optional().nullable(),fullWidth:P().optional().nullable(),widthType:I(["fixed","fill","fit"]).optional().nullable(),widthTypeTablet:I(["fixed","fill","fit"]).optional().nullable(),widthTypeMobile:I(["fixed","fill","fit"]).optional().nullable(),width:f().min(0).optional().nullable(),widthUnit:I(["px","%"]).optional().nullable(),widthTablet:f().min(0).optional().nullable(),widthMobile:f().min(0).optional().nullable(),height:f().min(0).optional().nullable(),heightTablet:f().min(0).optional().nullable(),heightMobile:f().min(0).optional().nullable(),overflow:P().optional().nullable(),alignment:I(["left","center","right"]).optional().nullable(),alignmentTablet:I(["left","center","right"]).optional().nullable(),alignmentMobile:I(["left","center","right"]).optional().nullable(),tag:I(["div","section","article","nav","aside","header","footer","main"]).optional().nullable(),ariaLabel:x().optional().nullable(),elementId:x().optional().nullable(),showLink:P().optional().nullable(),linkHref:x().optional().nullable(),linkTarget:I(["_self","_blank"]).optional().nullable(),animation:un,hoverEffect:Ia}).optional().nullable()});function xb({style:e,props:t}){const n=(t==null?void 0:t.childrenIds)??[];return g.jsx(bb,{style:e,props:{fullWidth:(t==null?void 0:t.fullWidth)??void 0,widthType:(t==null?void 0:t.widthType)??void 0,widthTypeTablet:(t==null?void 0:t.widthTypeTablet)??void 0,widthTypeMobile:(t==null?void 0:t.widthTypeMobile)??void 0,width:(t==null?void 0:t.width)??void 0,widthUnit:(t==null?void 0:t.widthUnit)??void 0,widthTablet:(t==null?void 0:t.widthTablet)??void 0,widthMobile:(t==null?void 0:t.widthMobile)??void 0,height:(t==null?void 0:t.height)??void 0,heightTablet:(t==null?void 0:t.heightTablet)??void 0,heightMobile:(t==null?void 0:t.heightMobile)??void 0,overflow:(t==null?void 0:t.overflow)??void 0,alignment:(t==null?void 0:t.alignment)??void 0,alignmentTablet:(t==null?void 0:t.alignmentTablet)??void 0,alignmentMobile:(t==null?void 0:t.alignmentMobile)??void 0,tag:(t==null?void 0:t.tag)??void 0,ariaLabel:(t==null?void 0:t.ariaLabel)??void 0,elementId:(t==null?void 0:t.elementId)??void 0,showLink:(t==null?void 0:t.showLink)??void 0,linkHref:(t==null?void 0:t.linkHref)??void 0,linkTarget:(t==null?void 0:t.linkTarget)??void 0,hoverEffect:(t==null?void 0:t.hoverEffect)??void 0},children:n.map(o=>g.jsx(ve,{id:o},o))})}const Sb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),wb=x().regex(/^rgba?\([^\)]+\)$/i),kb=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),_b=re("transparent"),Et=D([Sb,wb,kb,_b]).nullable().optional(),$b=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(),Cb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),ho=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),fo=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Ab=x().regex(/^(auto|cover|contain|inherit|initial|revert-layer|revert|unset|\d+(px|em|rem|%)?(\s+\d+(px|em|rem|%)?)?)$/i,"Invalid CSS background-size value").nullable().optional(),yb=C({color:Et,offsetX:f().default(0),offsetY:f().default(0),blur:f().default(0),spread:f().default(0),inset:P().default(!1)}).partial().optional().nullable(),Nb=C({position:I(["top","top-left","top-right","top-center","bottom","bottom-left","bottom-right","bottom-center","center","left","left-center","right","right-center"]).optional().default("right"),isCaret:P().optional().default(!0),selector:x().optional().default(""),showCloseIcon:P().optional(),iconCloseColor:Et,closeIconPosition:I(["left","center","right"]).optional(),closeIconPaddingTop:f().optional(),closeIconPaddingLeft:f().optional(),closeIconPaddingRight:f().optional(),bannerSubType:x().optional()}).passthrough().optional().nullable(),Rb=W(C({id:x(),name:x(),type:x().optional().default("text"),value:x().optional()})).optional().nullable(),Eb=C({formFields:Rb,backdropColor:Et.default(null),borderColor:Et.default(null),borderRadius:f().optional().nullable(),canvasColor:Et.default(null),textColor:Et,fontFamily:$b,childrenIds:W(x()).optional().nullable(),maxWidth:x().default(""),maxHeight:x().default(""),top:x().default(""),left:x().default(""),padding:ho,margin:fo,maxWidthTablet:x().optional().nullable(),maxWidthMobile:x().optional().nullable(),maxHeightTablet:x().optional().nullable(),maxHeightMobile:x().optional().nullable(),paddingTablet:ho,paddingMobile:ho,marginTablet:fo,marginMobile:fo,borderWidth:Cb,boxShadow:yb,behaviour:Nb,linkHref:x().optional().default(""),backgroundImage:x().default("").nullable().optional(),backgroundSize:Ab,backgroundRepeat:I(["repeat","no-repeat"]).optional().nullable()});function Nt(e){return!(e==null||typeof e=="string"&&e.trim()==="")}function _n(e,t,n){const o=e??{},a=o[t];if(n==="desktop")return Nt(a)?a:null;const i=o[`${t}Tablet`];if(n==="tablet")return Nt(i)?i:Nt(a)?a:null;const r=o[`${t}Mobile`];return Nt(r)?r:Nt(i)?i:Nt(a)?a:null}function po(e,t){return{maxWidth:_n(e,"maxWidth",t)??null,maxHeight:_n(e,"maxHeight",t)??null,padding:_n(e,"padding",t)??null,margin:_n(e,"margin",t)??null}}function Ib(e){return`${e.top??0}px ${e.right??0}px ${e.bottom??0}px ${e.left??0}px`}function Mb(e){return`${e.top??0}px ${e.right??0}px ${e.bottom??0}px ${e.left??0}px`}function mo(e,t){const n=[];return t.maxWidth&&(n.push(`${e.width}{width:${t.maxWidth};max-width:100%;}`),n.push(`${e.table}{max-width:${t.maxWidth};min-width:0;}`)),t.maxHeight&&n.push(`${e.table}{height:${t.maxHeight};}`),t.padding&&n.push(`${e.padding}{padding:${Ib(t.padding)};}`),t.margin&&n.push(`${e.margin}{margin:${Mb(t.margin)};}`),n.join("")}function Tb(e,t,n){const o=`.${e}`,a={width:`${o} .ahd-layout-sizer`,table:`${o} .ahd-layout-table`,padding:`${o} .email-layout-content`,margin:`${o} .email-layout-content`},i=po(t,"desktop"),r=mo(a,{...i,maxWidth:i.maxWidth??n??null}),l=mo(a,po(t,"tablet")),s=mo(a,po(t,"mobile")),c=(u,p)=>p?`@media (max-width:${u}px){${p}}@container ahd-page (max-width:${u}px){${p}}`:"";return[r,c(je,l),c(Ae,s)].filter(Boolean).join("")}const Pb="Made with Page Pilot",Ob="https://pagepilot.fabbuilder.com";let Lb=0;function zb(e){switch(e??"MODERN_SANS"){case"MODERN_SANS":return'Inter, "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif';case"BOOK_SANS":return'Optima, Candara, "Noto Sans", source-sans-pro, sans-serif';case"ORGANIC_SANS":return'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif';case"GEOMETRIC_SANS":return'Avenir, "Avenir Next LT Pro", Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif';case"HEAVY_SANS":return'Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", sans-serif-condensed, sans-serif';case"ROUNDED_SANS":return'ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif';case"MODERN_SERIF":return'Charter, "Bitstream Charter", "Sitka Text", Cambria, serif';case"BOOK_SERIF":return'"Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif';case"MONOSPACE":return'"Nimbus Mono PS", "Courier New", "Cutive Mono", monospace';case"ROBOTO":return'Roboto, "Helvetica Neue", Arial, sans-serif';case"OPEN_SANS":return'"Open Sans", "Helvetica Neue", Arial, sans-serif';case"LATO":return'Lato, "Helvetica Neue", Arial, sans-serif';case"POPPINS":return'Poppins, "Helvetica Neue", Arial, sans-serif';case"INTER":return'Inter, "Helvetica Neue", Arial, sans-serif';case"MONTSERRAT":return'Montserrat, "Helvetica Neue", Arial, sans-serif';case"RALEWAY":return'Raleway, "Helvetica Neue", Arial, sans-serif';case"NUNITO":return'Nunito, "Helvetica Neue", Arial, sans-serif';case"PLAYFAIR_DISPLAY":return'"Playfair Display", Georgia, serif';case"MERRIWEATHER":return"Merriweather, Georgia, serif";case"PT_SANS":return'"PT Sans", "Helvetica Neue", Arial, sans-serif';case"OSWALD":return'Oswald, "Helvetica Neue", Arial, sans-serif';case"SOURCE_SANS_PRO":return'"Source Sans Pro", "Helvetica Neue", Arial, sans-serif';case"RUBIK":return'Rubik, "Helvetica Neue", Arial, sans-serif';case"WORK_SANS":return'"Work Sans", "Helvetica Neue", Arial, sans-serif';case"NOTO_SANS":return'"Noto Sans", "Helvetica Neue", Arial, sans-serif';case"DANCING_SCRIPT":return'"Dancing Script", cursive, sans-serif';case"PACIFICO":return"Pacifico, cursive, sans-serif";case"LOBSTER":return"Lobster, cursive, sans-serif";case"BEBAS_NEUE":return'"Bebas Neue", cursive, sans-serif'}}function jb(e){const{borderColor:t,borderWidth:n,borderRadius:o}=e;if(!t)return{};if(t==="transparent")return{border:"none"};const a=t&&(t.includes("linear-gradient")||t.includes("radial-gradient")||t.includes("repeating-linear-gradient")),i=o??0,r=s=>typeof s=="number"?`${s}px`:`${s.topLeft}px ${s.topRight}px ${s.bottomRight}px ${s.bottomLeft}px`;if(((n==null?void 0:n.top)??0)+((n==null?void 0:n.right)??0)+((n==null?void 0:n.bottom)??0)+((n==null?void 0:n.left)??0)===0)return{borderRadius:i?r(i):void 0};if(a){const s=e.canvasColor,c=!s||s==="transparent"?"linear-gradient(transparent, transparent)":s.includes("gradient")?s:`linear-gradient(${s}, ${s})`;return{borderStyle:"solid",borderTopWidth:`${(n==null?void 0:n.top)??0}px`,borderRightWidth:`${(n==null?void 0:n.right)??0}px`,borderBottomWidth:`${(n==null?void 0:n.bottom)??0}px`,borderLeftWidth:`${(n==null?void 0:n.left)??0}px`,borderColor:"transparent",backgroundImage:`${c}, ${t}`,backgroundOrigin:"border-box",backgroundClip:"padding-box, border-box",borderRadius:i?r(i):void 0}}return{borderTop:`${(n==null?void 0:n.top)||0}px solid ${t}`,borderRight:`${(n==null?void 0:n.right)||0}px solid ${t}`,borderBottom:`${(n==null?void 0:n.bottom)||0}px solid ${t}`,borderLeft:`${(n==null?void 0:n.left)||0}px solid ${t}`,borderRadius:i?r(i):void 0}}function Bb(e){return e.includes("gradient")?(e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi)??[])[0]??"#000000":e}function Tr(e){if(!e||!e.color)return{};const{color:t,offsetX:n=0,offsetY:o=0,blur:a=0,spread:i=0,inset:r=!1}=e,l=Bb(t);return{boxShadow:`${r?"inset ":""}${n}px ${o}px ${a}px ${i}px ${l}`}}function Db(e,t,n){return n==="appBanner"&&t?{backgroundColor:"transparent"}:!e||e==="transparent"?{backgroundColor:e??"transparent"}:e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")?{background:e}:{backgroundColor:e}}function Hb(e){switch(e){case"top":return"bottom";case"top-left":return"bottom-right";case"top-right":return"bottom-left";case"bottom":return"top";case"bottom-left":return"top-right";case"bottom-right":return"top-left";case"left":return"right";case"right":return"left";default:return e}}function Fb(e){return e.match(/#[0-9a-fA-F]{3,8}|(?:rgba?|hsla?)\([^)]*\)/gi)??[]}function Gb(e,t){if(!e||e==="transparent")return"#ffffff";if(!e.includes("gradient"))return e;const n=Fb(e);return n.length===0?"#ffffff":t==="right"||t==="bottom"||t==="bottom-left"||t==="bottom-right"?n[n.length-1]:n[0]}function Ub({position:e,color:t}){const a="20px",i={position:"absolute",background:t,pointerEvents:"none",zIndex:2},r="polygon(50% 0, 0 100%, 100% 100%)",l="polygon(0 0, 100% 0, 50% 100%)",s="polygon(100% 0, 100% 100%, 0 50%)",c="polygon(0 0, 0 100%, 100% 50%)";let u;switch(e){case"top":u={top:-8,left:"50%",transform:"translateX(-50%)",width:16,height:8,clipPath:r};break;case"top-left":u={top:-8,left:a,width:16,height:8,clipPath:r};break;case"top-right":u={top:-8,right:a,width:16,height:8,clipPath:r};break;case"bottom":u={bottom:-8,left:"50%",transform:"translateX(-50%)",width:16,height:8,clipPath:l};break;case"bottom-left":u={bottom:-8,left:a,width:16,height:8,clipPath:l};break;case"bottom-right":u={bottom:-8,right:a,width:16,height:8,clipPath:l};break;case"left":u={left:-8,top:"50%",transform:"translateY(-50%)",width:8,height:16,clipPath:s};break;case"right":u={right:-8,top:"50%",transform:"translateY(-50%)",width:8,height:16,clipPath:c};break;default:return null}return g.jsx("div",{"aria-hidden":!0,style:{...i,...u}})}function Zb({color:e,position:t,paddingTop:n,paddingLeft:o,paddingRight:a}){const i=e||"#262626",r=t??"right",l=typeof n=="number"?n:2,u=r==="left"?{left:typeof o=="number"?o:2}:r==="center"?{left:"50%",transform:"translateX(-50%)"}:{right:typeof a=="number"?a:2};return g.jsx("div",{role:"button","aria-label":"Close",tabIndex:0,"data-action":"onCloseStep",style:{position:"absolute",top:l,...u,width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",zIndex:11,cursor:"pointer",lineHeight:0,background:"transparent",border:0},children:g.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",stroke:i,strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",style:{pointerEvents:"none"},children:[g.jsx("line",{x1:"3",y1:"3",x2:"11",y2:"11"}),g.jsx("line",{x1:"11",y1:"3",x2:"3",y2:"11"})]})})}function Wb(){return g.jsx("div",{className:"ahd-branding-footer",style:{display:"block",width:"100%",textAlign:"left",fontSize:11,color:"#8a8a8a",marginTop:8},children:g.jsx("a",{href:Ob,target:"_blank",rel:"noopener noreferrer",style:{color:"inherit",textDecoration:"underline"},children:Pb})})}function qb(e){var Y,de,oe,ee,Z,J,Ee,we,me,ne,V,U,X,ye;const t=e.childrenIds??[],n=typeof window<"u"&&window.location?window.location.pathname:"",o=n.includes("page")?"page":"",a=n.includes("app-banner"),i=n.includes("demo"),r=n.includes("faq"),l=n.includes("tour"),s=n.includes("tooltip"),c=l||s||i,u=["top-left","top-right","bottom-left","bottom-right","top-center","bottom-center","left-center","right-center","center"],p=a&&(((Y=e.behaviour)==null?void 0:Y.bannerSubType)==="floater"||u.includes((de=e.behaviour)==null?void 0:de.position)),d=a&&((oe=e.behaviour)==null?void 0:oe.bannerSubType)==="modal",h=(c||p||d)&&((ee=e.behaviour)==null?void 0:ee.showCloseIcon)!==!1,b=c&&!0,v=a&&e.linkHref?e.linkHref:null,k=G.useMemo(()=>`ahd-layout-${Lb+=1}`,[]),$=Tb(k,e,o==="page"||r?"100%":a&&!p?"900px":"320px"),w=(a||i)&&!!e.backgroundImage;e.borderRadius;const _=e.borderRadius??0,N=te=>typeof te=="number"?`${te}px`:`${te.topLeft}px ${te.topRight}px ${te.bottomRight}px ${te.bottomLeft}px`,y=(te=>te==null?!1:typeof te=="number"?te>0:(te.topLeft??0)>0||(te.topRight??0)>0||(te.bottomRight??0)>0||(te.bottomLeft??0)>0)(_),R=te=>v?g.jsx("a",{href:v,target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none",color:"inherit",display:"block"},children:te}):te,M=jb(e),T=a&&!!((Z=e.boxShadow)!=null&&Z.color)&&!!e.boxShadow.inset,L=a&&!T?Tr(e.boxShadow):{},H=T?Tr(e.boxShadow):{},F=Hb(((J=e.behaviour)==null?void 0:J.position)??"right"),j=c&&!p&&!d&&((Ee=e.behaviour)==null?void 0:Ee.isCaret)!==!1,O=Gb(e.canvasColor,F),q=(((we=e.margin)==null?void 0:we.left)??0)+(((me=e.margin)==null?void 0:me.right)??0),B=q>0?`calc(100% - ${q}px)`:"100%";return R(g.jsxs("div",{className:k,style:{minHeight:"100%",display:"block",alignItems:"center"},children:[$&&g.jsx("style",{dangerouslySetInnerHTML:{__html:$}}),g.jsx("div",{style:{color:e.textColor??"#262626",fontFamily:zb(e.fontFamily),fontSize:"16px",fontWeight:"400",letterSpacing:"normal",lineHeight:"1.5",margin:"0",minHeight:"100%",width:"100%"},children:g.jsxs("div",{className:"ahd-layout-sizer",style:{position:"relative",margin:"0 auto",...d||p?null:{maxWidth:"100%"}},children:[j&&g.jsx(Ub,{position:F,color:O}),g.jsxs("div",{style:{position:"relative",borderRadius:N(_),...y?{overflowX:"hidden",overflowY:"visible"}:{overflow:"visible"},...L},children:[T&&g.jsx("div",{"aria-hidden":!0,style:{position:"absolute",inset:0,pointerEvents:"none",borderRadius:N(_),zIndex:1,...H}}),h&&g.jsx(Zb,{color:(ne=e.behaviour)==null?void 0:ne.iconCloseColor,position:(V=e.behaviour)==null?void 0:V.closeIconPosition,paddingTop:(U=e.behaviour)==null?void 0:U.closeIconPaddingTop,paddingLeft:(X=e.behaviour)==null?void 0:X.closeIconPaddingLeft,paddingRight:(ye=e.behaviour)==null?void 0:ye.closeIconPaddingRight}),g.jsx("table",{width:"100%",className:"ahd-layout-table",style:{width:B,maxWidth:"100%",boxSizing:"border-box",flex:1,margin:e.margin?`${e.margin.top}px ${e.margin.right}px ${e.margin.bottom}px ${e.margin.left}px`:"0 auto",...d||p?{maxWidth:"100%"}:null,top:e.top||"",left:e.left||"",...Db(e.canvasColor,e.backgroundImage,a?"appBanner":""),borderCollapse:"separate",tableLayout:"fixed",...M,borderRadius:N(_),overflow:y?"clip":"visible",...w?{backgroundImage:`url(${e.backgroundImage})`,backgroundSize:e.backgroundSize??"cover",backgroundPosition:"center",backgroundRepeat:e.backgroundRepeat??"no-repeat"}:{}},role:"presentation",cellSpacing:"0",cellPadding:"0",children:g.jsx("tbody",{children:g.jsx("tr",{style:{width:"100%"},children:g.jsxs("td",{className:"email-layout-content",children:[t.map(te=>g.jsx(ve,{id:te},te)),b&&g.jsx(Wb,{})]})})})})]})]})})]}))}const Vb=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),Yb=x().regex(/^rgba?\([^\)]+\)$/i),Kb=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),Jb=re("transparent"),$n=D([Vb,Yb,Kb,Jb]).nullable().optional(),Xb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Qb=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),e0=I(["left","center","right"]).optional().nullable(),zn={min:1,max:20},jn={min:4,max:48},hl=e=>typeof e=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e),t0=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,n0=(e,t=!1)=>t?"16px":e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,qt=(e,t,n)=>Math.min(Math.max(e,t),n),Pr=e=>e?hl(e)?{backgroundImage:e,backgroundColor:void 0}:{backgroundColor:e??void 0}:{},o0=C({style:C({backgroundColor:$n,textAlign:e0,padding:Xb,margin:Qb}).optional().nullable(),props:C({stepperType:I(["dots","numeric","both"]).optional().nullable(),totalDots:f().min(zn.min).max(zn.max).optional().nullable(),activeIndex:f().min(1).optional().nullable(),activeColor:$n,inactiveColor:$n,dotSize:f().min(jn.min).max(jn.max).optional().nullable(),dotSpacing:f().min(0).max(40).optional().nullable(),numericColor:$n,numericFontSize:f().min(8).max(48).optional().nullable(),numericPosition:I(["above","below","left","right"]).optional().nullable()}).optional().nullable()}),Ve={stepperType:"dots",totalDots:5,activeIndex:1,activeColor:"#3F73FF",inactiveColor:"#FFFFFF",dotSize:14,dotSpacing:12,numericColor:"#000000",numericFontSize:14,numericPosition:"below"};function a0({style:e,props:t}){const o=al()==="mobile",i=typeof window<"u"&&window.location.pathname.includes("page")&&o,r=qt((t==null?void 0:t.totalDots)??Ve.totalDots,zn.min,zn.max),l=qt((t==null?void 0:t.dotSize)??Ve.dotSize,jn.min,jn.max),s=qt((t==null?void 0:t.dotSpacing)??Ve.dotSpacing,0,40),c=(t==null?void 0:t.activeIndex)??Ve.activeIndex,u=qt(c,1,r),p=(t==null?void 0:t.activeColor)??Ve.activeColor,d=(t==null?void 0:t.inactiveColor)??Ve.inactiveColor,h=(t==null?void 0:t.stepperType)??Ve.stepperType,m=h==="numeric"||h==="both",b=h==="dots"||h==="both",v=(t==null?void 0:t.numericColor)??Ve.numericColor,k=qt((t==null?void 0:t.numericFontSize)??Ve.numericFontSize,8,48),S=(t==null?void 0:t.numericPosition)??Ve.numericPosition,w={...Pr((e==null?void 0:e.backgroundColor)??void 0),padding:t0(e==null?void 0:e.padding,i),margin:n0(e==null?void 0:e.margin,i),textAlign:(e==null?void 0:e.textAlign)??"center",width:"100%",boxSizing:"border-box"},_=m&&b&&(S==="above"||S==="below"),N={display:"inline-flex",flexDirection:_?"column":"row",alignItems:"center",justifyContent:(e==null?void 0:e.textAlign)==="left"?"flex-start":(e==null?void 0:e.textAlign)==="right"?"flex-end":"center",gap:_?"8px":b?`${s}px`:"0px"},A={display:"inline-flex",gap:`${s}px`,alignItems:"center",flexWrap:"wrap"},y=`${u}/${r}`,R=hl(v),M={fontSize:`${k}px`,fontWeight:500,lineHeight:1,whiteSpace:"nowrap",...R?{backgroundImage:v,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}:{color:v??void 0}},T=()=>m?g.jsx("span",{style:M,children:y}):null,L=()=>g.jsx("div",{style:A,"aria-hidden":"true",children:Array.from({length:r}).map((H,F)=>{const j=F===u-1,O={width:l,height:l,borderRadius:"50%",border:"2px solid #0000001a",transition:"background 120ms ease, transform 120ms ease",transform:j?"scale(1.1)":"scale(1)",...Pr(j?p:d)};return g.jsx("span",{style:O,"data-active":j?"true":"false"},F)})});return g.jsx("div",{className:"stepper-block",style:w,role:"progressbar","aria-valuenow":u,"aria-valuemin":1,"aria-valuemax":r,"aria-valuetext":`Step ${u} of ${r}`,"aria-label":`Step ${u} of ${r}`,children:g.jsxs("div",{style:N,children:[m&&S==="above"&&T(),m&&S==="left"&&T(),b&&L(),m&&S==="right"&&T(),m&&S==="below"&&T()]})})}const r0=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),i0=x().regex(/^rgba?\([^\)]+\)$/i),l0=re("transparent"),go=D([r0,i0,l0]).nullable().optional(),fl=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),s0=fl,c0=I(["left","center","right"]).optional().nullable(),u0=["disc","circle","square","dash","arrow","check","cross","none"],d0=["decimal","decimal-zero","lower-alpha","upper-alpha","lower-roman","upper-roman"],Or={disc:"●",circle:"○",square:"■",dash:"–",arrow:"➤",check:"✓",cross:"✗"},h0=C({text:x()}),f0=C({style:C({color:go,backgroundColor:go,textAlign:c0,fontSize:f().min(8).max(72).optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:D([f(),x()]).optional().nullable(),lineHeight:f().min(1).max(3).optional().nullable(),padding:fl,margin:s0}).optional().nullable(),props:C({listType:I(["unordered","ordered"]).optional().nullable(),marker:I([...u0,...d0]).optional().nullable(),numberSuffix:ol(e=>e===""?void 0:e,I([".",")"]).optional().nullable()),startNumber:f().min(0).max(9999).optional().nullable(),markerColor:go,markerSize:f().min(8).max(72).optional().nullable(),itemGap:f().min(0).max(64).optional().nullable(),items:W(h0).optional().nullable()}).optional().nullable(),responsive:Te}),dt={listType:"unordered",marker:"disc",numberSuffix:".",startNumber:1,markerColor:null,markerSize:16,itemGap:8,items:[{text:"First list item"},{text:"Second list item"},{text:"Third list item"}]},Lr=(e,t,n)=>Math.min(Math.max(e,t),n),zr=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,jr=e=>{if(e<=0)return String(e);const t=[[1e3,"M"],[900,"CM"],[500,"D"],[400,"CD"],[100,"C"],[90,"XC"],[50,"L"],[40,"XL"],[10,"X"],[9,"IX"],[5,"V"],[4,"IV"],[1,"I"]];let n="",o=e;for(const[a,i]of t)for(;o>=a;)n+=i,o-=a;return n},Br=e=>{let t=e,n="";for(;t>0;){const o=(t-1)%26;n=String.fromCharCode(97+o)+n,t=Math.floor((t-1)/26)}return n||"a"},p0=(e,t,n,o)=>{const a=n+t;switch(e){case"decimal-zero":return`${String(a).padStart(2,"0")}${o}`;case"lower-alpha":return`${Br(a)}${o}`;case"upper-alpha":return`${Br(a).toUpperCase()}${o}`;case"lower-roman":return`${jr(a).toLowerCase()}${o}`;case"upper-roman":return`${jr(a)}${o}`;case"decimal":default:return`${a}${o}`}};function m0({style:e,props:t}){var v;const o=((t==null?void 0:t.listType)??dt.listType)==="ordered",a=(t==null?void 0:t.marker)??(o?"decimal":dt.marker),i=(t==null?void 0:t.numberSuffix)??dt.numberSuffix,r=(t==null?void 0:t.startNumber)??dt.startNumber,l=(t==null?void 0:t.markerColor)??dt.markerColor,s=Lr((t==null?void 0:t.markerSize)??dt.markerSize,8,72),c=Lr((t==null?void 0:t.itemGap)??dt.itemGap,0,64),u=(v=t==null?void 0:t.items)!=null&&v.length?t.items:dt.items.map(k=>({...k})),p=(e==null?void 0:e.color)??void 0,d={backgroundColor:(e==null?void 0:e.backgroundColor)??void 0,padding:zr(e==null?void 0:e.padding),margin:zr(e==null?void 0:e.margin),width:"100%",boxSizing:"border-box"},h={color:p,textAlign:(e==null?void 0:e.textAlign)??"left",fontSize:e!=null&&e.fontSize?`${e.fontSize}px`:void 0,fontFamily:(e==null?void 0:e.fontFamily)??void 0,fontWeight:(e==null?void 0:e.fontWeight)??void 0,lineHeight:(e==null?void 0:e.lineHeight)??1.5},m={verticalAlign:"top",paddingRight:"8px",whiteSpace:"nowrap",color:l??p,fontSize:`${s}px`,lineHeight:(e==null?void 0:e.lineHeight)??1.5},b=k=>a==="none"?null:o?p0(a,k,r,i):Or[a]??Or.disc;return g.jsx("div",{className:"list-block",style:d,children:g.jsx("table",{role:"presentation",cellPadding:0,cellSpacing:0,style:{borderCollapse:"collapse",width:"100%"},children:g.jsx("tbody",{children:u.map((k,S)=>{const $=b(S);return g.jsxs("tr",{children:[a!=="none"&&g.jsx("td",{style:m,children:$}),g.jsx("td",{style:{...h,paddingBottom:S<u.length-1?`${c}px`:0,width:"100%"},children:k.text})]},S)})})})})}const g0=x().regex(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/),b0=x().regex(/^rgba?\([^\)]+\)$/i),v0=x().regex(/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i),x0=re("transparent"),S0=D([g0,b0,v0,x0]).nullable().optional(),w0=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),Zo=C({style:C({backgroundColor:S0,padding:w0}).optional().nullable(),props:C({direction:I(["row","column"]).optional().nullable(),directionTablet:I(["row","column"]).optional().nullable(),directionMobile:I(["row","column"]).optional().nullable(),gap:f().optional().nullable(),gapTablet:f().optional().nullable(),gapMobile:f().optional().nullable(),alignment:I(["start","center","end","space-between"]).optional().nullable(),alignmentTablet:I(["start","center","end","space-between"]).optional().nullable(),alignmentMobile:I(["start","center","end","space-between"]).optional().nullable(),wrap:P().optional().nullable(),ariaLabel:x().optional().nullable()}).optional().nullable(),responsive:Te}),Cn={direction:"row",gap:12,alignment:"start",wrap:!0},Bn={start:"flex-start",center:"center",end:"flex-end","space-between":"space-between"},k0=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0;function Dr(e,t,n,o){const a=e==="row"?Bn[t]:"flex-start",i=e==="column"?Bn[t]:"center";return`flex-direction:${e}!important;justify-content:${a}!important;align-items:${i}!important;flex-wrap:${e==="row"&&n?"wrap":"nowrap"}!important;gap:${o}px!important;`}let _0=0;function $0({style:e,buttons:t,props:n}){const o=(n==null?void 0:n.direction)??Cn.direction,a=(n==null?void 0:n.directionTablet)??o,i=(n==null?void 0:n.directionMobile)??a,r=(n==null?void 0:n.gap)??Cn.gap,l=(n==null?void 0:n.gapTablet)??r,s=(n==null?void 0:n.gapMobile)??l,c=(n==null?void 0:n.alignment)??Cn.alignment,u=(n==null?void 0:n.alignmentTablet)??c,p=(n==null?void 0:n.alignmentMobile)??u,d=(n==null?void 0:n.wrap)??Cn.wrap,h=(n==null?void 0:n.ariaLabel)??void 0,m=o,b=c,k={display:"flex",flexDirection:m,gap:`${r}px`,justifyContent:m==="row"?Bn[b]:"flex-start",alignItems:m==="column"?Bn[b]:"center",flexWrap:m==="row"&&d?"wrap":"nowrap",background:(e==null?void 0:e.backgroundColor)??void 0,padding:k0(e==null?void 0:e.padding),boxSizing:"border-box",width:"100%"},S=G.useMemo(()=>`ahd-bg-${_0+=1}`,[]),$=G.useMemo(()=>{const w=`.${S}`;let _="";return(a!==o||u!==c||l!==r)&&(_+=`@media (max-width:${je}px){${w}{${Dr(a,u,d,l)}}}`),(i!==a||p!==u||s!==l)&&(_+=`@media (max-width:${Ae}px){${w}{${Dr(i,p,d,s)}}}`),_},[S,o,a,i,c,u,p,r,l,s,d]);return g.jsxs("div",{className:`button-group ${S}`,style:k,role:"group","aria-label":h,children:[$&&g.jsx("style",{dangerouslySetInnerHTML:{__html:$}}),t]})}const C0=Zo.shape.props.unwrap().unwrap().shape,A0=C({style:Zo.shape.style,props:C({...C0,childrenIds:W(x()).optional().nullable()}).optional().nullable(),responsive:Zo.shape.responsive});function y0({style:e,props:t}){const{childrenIds:n,...o}=t??{},a=(n??[]).map(i=>g.jsx(ve,{id:i},i));return g.jsx($0,{style:e,props:o,buttons:a})}const N0=C({titleChildrenIds:W(x()).optional().nullable(),contentChildrenIds:W(x()).optional().nullable()}),R0=C({responsive:Te,style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),marginBottom:f().optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable()}).optional().nullable(),props:C({items:W(N0).min(1).max(25).optional().nullable(),iconColor:x().optional().nullable(),iconSize:f().optional().nullable(),defaultOpen:P().optional().nullable(),activeBorderColor:x().optional().nullable()}).optional().nullable()});function E0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}const Hr=e=>typeof e=="string"&&/^(linear-gradient|radial-gradient|repeating-linear-gradient)\(.+\)$/i.test(e);function I0(e,t){if(!e)return;const n=Math.max(t.top,t.right,t.bottom,t.left),o=e.split(" ").map(a=>Math.max(0,parseFloat(a)-n));return o.length===1?`${o[0]}px`:o.map(a=>`${a}px`).join(" ")}function M0({style:e,props:t}){const n=G.useMemo(()=>{const $=t==null?void 0:t.items;return!$||$.length===0?{titleChildrenIds:[],contentChildrenIds:[]}:{titleChildrenIds:$[0].titleChildrenIds??[],contentChildrenIds:$[0].contentChildrenIds??[]}},[t==null?void 0:t.items]),o=G.useMemo(()=>`email-accordion-${Math.random().toString(36).slice(2,9)}`,[]),a=`${o}-content`,i=e==null?void 0:e.padding,r=e==null?void 0:e.margin,l=((r==null?void 0:r.left)??0)+((r==null?void 0:r.right)??0),s=t==null?void 0:t.activeBorderColor,c=e==null?void 0:e.borderColor,u=(e==null?void 0:e.borderWidth)??{top:1,right:1,bottom:1,left:1},p=`${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`,d=E0(e==null?void 0:e.borderRadius),h=Hr(c),m=Hr(s),b=h||m,v={width:l>0?`calc(100% - ${l}px)`:"100%",boxSizing:"border-box",borderRadius:d,margin:r?`${r.top}px ${r.right}px ${r.bottom}px ${r.left}px`:void 0,boxShadow:"none"};(e==null?void 0:e.borderRadius)!=null&&(v.overflow="hidden"),b?(v.padding=p,h?v.background=c:c&&(v.borderStyle="solid",v.borderColor=c,v.borderWidth=p)):c&&(v.borderStyle="solid",v.borderColor=c,v.borderWidth=p);const k={background:(e==null?void 0:e.backgroundColor)??(b?"#ffffff":void 0),borderRadius:b?I0(d,u):void 0,padding:i?`${i.top}px ${i.right}px ${i.bottom}px ${i.left}px`:void 0,overflow:b&&(e==null?void 0:e.borderRadius)!=null?"hidden":void 0},S=[];return s&&(m?S.push(`#${o}:checked + .email-accordion-root { background:${s}!important; border-style:none!important; padding:${p}!important; }`):S.push(`#${o}:checked + .email-accordion-root { background:none!important; border-style:solid!important; border-color:${s}!important; border-width:${p}!important; ${b?"padding:0!important;":""} }`)),g.jsxs("div",{className:"accordion-block",style:{marginBottom:(e==null?void 0:e.marginBottom)!=null?`${e.marginBottom}px`:"5px"},children:[g.jsx("style",{children:`
|
|
231
231
|
.email-accordion-root { width:100%; }
|
|
232
232
|
.email-accordion-toggle { display:none; }
|
|
233
233
|
.email-accordion-label { display:flex; align-items:center; justify-content:space-between; gap:8px; cursor:pointer; padding:4px 12px; background:transparent; box-shadow:none; outline:none; }
|
|
@@ -238,7 +238,7 @@ ${N}
|
|
|
238
238
|
.email-accordion-toggle:checked + .email-accordion-root .email-accordion-arrow { transform: rotate(180deg); }
|
|
239
239
|
${S.join(`
|
|
240
240
|
`)}
|
|
241
|
-
`}),g.jsx("input",{id:o,className:"email-accordion-toggle",type:"checkbox",role:"switch","aria-label":"Toggle section","aria-controls":a,defaultChecked:(t==null?void 0:t.defaultOpen)??!1}),g.jsx("div",{className:"email-accordion-root",style:v,children:g.jsxs("div",{className:"email-accordion-inner",style:k,children:[g.jsxs("label",{htmlFor:o,className:"email-accordion-label",children:[g.jsx("div",{className:"title",children:n.titleChildrenIds.map($=>g.jsx(ve,{id:$},$))}),g.jsx("span",{className:"email-accordion-arrow","aria-hidden":"true",style:{color:(t==null?void 0:t.iconColor)??void 0},children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:(t==null?void 0:t.iconSize)??14,height:(t==null?void 0:t.iconSize)??14,viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",children:g.jsx("path",{fillRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"})})})]}),g.jsx("div",{id:a,className:"email-accordion-content",role:"region",children:n.contentChildrenIds.map($=>g.jsx(ve,{id:$},$))})]})})]})}const
|
|
241
|
+
`}),g.jsx("input",{id:o,className:"email-accordion-toggle",type:"checkbox",role:"switch","aria-label":"Toggle section","aria-controls":a,defaultChecked:(t==null?void 0:t.defaultOpen)??!1}),g.jsx("div",{className:"email-accordion-root",style:v,children:g.jsxs("div",{className:"email-accordion-inner",style:k,children:[g.jsxs("label",{htmlFor:o,className:"email-accordion-label",children:[g.jsx("div",{className:"title",children:n.titleChildrenIds.map($=>g.jsx(ve,{id:$},$))}),g.jsx("span",{className:"email-accordion-arrow","aria-hidden":"true",style:{color:(t==null?void 0:t.iconColor)??void 0},children:g.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:(t==null?void 0:t.iconSize)??14,height:(t==null?void 0:t.iconSize)??14,viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",children:g.jsx("path",{fillRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"})})})]}),g.jsx("div",{id:a,className:"email-accordion-content",role:"region",children:n.contentChildrenIds.map($=>g.jsx(ve,{id:$},$))})]})})]})}const T0=C({label:x().optional().nullable(),cardChildrenIds:W(x()).optional().nullable(),detailChildrenIds:W(x()).optional().nullable()}),P0=C({style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:f().optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),cardGap:f().optional().nullable(),equalCardWidth:P().optional().nullable(),cardBgColor:x().optional().nullable(),cardBorderColor:x().optional().nullable(),cardBorderWidth:f().optional().nullable(),cardBorderRadius:f().optional().nullable(),cardPadding:f().optional().nullable(),cardShadow:x().optional().nullable(),cardTextColor:x().optional().nullable(),cardFontSize:f().optional().nullable(),cardFontFamily:x().optional().nullable(),cardFontWeight:x().optional().nullable(),cardTextAlign:I(["left","center","right"]).optional().nullable(),cardHoverBgColor:x().optional().nullable(),cardHoverShadow:x().optional().nullable(),activeCardBgColor:x().optional().nullable(),activeCardBorderColor:x().optional().nullable(),activeCardShadow:x().optional().nullable(),activeCardTextColor:x().optional().nullable(),arrowColor:x().optional().nullable(),arrowActiveColor:x().optional().nullable(),arrowSize:f().optional().nullable(),detailBgColor:x().optional().nullable(),detailBorderColor:x().optional().nullable(),detailBorderWidth:f().optional().nullable(),detailBorderRadius:f().optional().nullable(),detailPadding:f().optional().nullable(),detailShadow:x().optional().nullable(),detailGap:f().optional().nullable(),rightCardWidth:f().optional().nullable(),cardListWidth:f().optional().nullable(),panelGap:f().optional().nullable()}).optional().nullable(),props:C({items:W(T0).min(1).max(10).optional().nullable(),defaultOpenIndex:f().optional().nullable(),accordionEnabled:P().optional().nullable(),detailPosition:I(["bottom","right"]).optional().nullable()}).optional().nullable()});function O0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function L0({style:e,props:t}){const n=G.useMemo(()=>t!=null&&t.items&&t.items.length>0?t.items:[{label:"Plan 1",cardChildrenIds:[],detailChildrenIds:[]}],[t==null?void 0:t.items]),o=G.useMemo(()=>`pacc-${Math.random().toString(36).slice(2,9)}`,[]),a=(t==null?void 0:t.accordionEnabled)??!1,i=(t==null?void 0:t.defaultOpenIndex)??null,r=(t==null?void 0:t.detailPosition)??"bottom",l=(e==null?void 0:e.cardGap)??16,s=(e==null?void 0:e.equalCardWidth)??!0,c=(e==null?void 0:e.cardBgColor)??"#ffffff",u=(e==null?void 0:e.cardBorderColor)??"rgba(0,0,0,0.12)",p=(e==null?void 0:e.cardBorderWidth)??1,d=(e==null?void 0:e.cardBorderRadius)??12,h=(e==null?void 0:e.cardPadding)??16,m=(e==null?void 0:e.cardShadow)??"none",b=(e==null?void 0:e.cardTextColor)??"inherit",v=(e==null?void 0:e.cardFontSize)??null,k=(e==null?void 0:e.cardFontFamily)??"inherit",S=(e==null?void 0:e.cardFontWeight)??"inherit",$=(e==null?void 0:e.cardTextAlign)??"left",w=(e==null?void 0:e.cardHoverBgColor)??null,_=(e==null?void 0:e.cardHoverShadow)??"0 2px 6px rgba(0,0,0,0.07)",N=(e==null?void 0:e.activeCardBgColor)??c,A=(e==null?void 0:e.activeCardBorderColor)??u,y=(e==null?void 0:e.activeCardShadow)??m,R=(e==null?void 0:e.activeCardTextColor)??b,M=(e==null?void 0:e.arrowColor)??"currentColor",T=(e==null?void 0:e.arrowActiveColor)??M,L=(e==null?void 0:e.arrowSize)??13,H=(e==null?void 0:e.detailBgColor)??"#f8fafc",F=(e==null?void 0:e.detailBorderColor)??"rgba(0,0,0,0.08)",j=(e==null?void 0:e.detailBorderWidth)??1,O=(e==null?void 0:e.detailBorderRadius)??12,q=(e==null?void 0:e.detailPadding)??24,B=(e==null?void 0:e.detailShadow)??"none",Y=(e==null?void 0:e.detailGap)??12,de=(e==null?void 0:e.rightCardWidth)??280,oe=e==null?void 0:e.padding,ee={width:"100%",boxSizing:"border-box",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`${e.borderWidth??1}px solid ${e.borderColor}`:void 0,borderRadius:O0(e==null?void 0:e.borderRadius),padding:oe?`${oe.top}px ${oe.right}px ${oe.bottom}px ${oe.left}px`:void 0},Z=s?`repeat(${n.length}, minmax(0, 1fr))`:`repeat(${n.length}, minmax(0, auto))`,J=v?`${v}px`:"inherit";if(!a){const me=`
|
|
242
242
|
.pacc-grid{display:grid;grid-template-columns:${Z};gap:${l}px;width:100%;box-sizing:border-box}
|
|
243
243
|
.pacc-grid-card{background:${c};border:${p}px solid ${u};border-radius:${d}px;padding:${h}px;box-sizing:border-box;box-shadow:${m};color:${b};font-size:${J};font-family:${k};font-weight:${S};text-align:${$}}
|
|
244
244
|
${w?`.pacc-grid-card:hover{background:${w};box-shadow:${_}}`:`.pacc-grid-card:hover{box-shadow:${_}}`}
|
|
@@ -265,13 +265,13 @@ ${N}
|
|
|
265
265
|
.pacc-detail{display:none;background:${H};border:${j}px solid ${F};border-radius:${O}px;padding:${q}px;box-sizing:border-box;box-shadow:${B}}
|
|
266
266
|
@media(max-width:640px){.pacc-wrap{grid-template-columns:1fr!important}.pacc-item.pacc-item--open{flex-direction:column!important}.pacc-item.pacc-item--open .pacc-card{width:100%!important}}
|
|
267
267
|
${Ee}
|
|
268
|
-
`;return g.jsxs("div",{style:ee,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:we}}),n.map((me,ne)=>g.jsx("input",{type:"radio",name:o,id:`${o}-cb${ne}`,className:"pacc-cb",defaultChecked:ne===i},ne)),g.jsx("div",{className:"pacc-wrap",children:n.map((me,ne)=>g.jsxs("div",{className:"pacc-item",children:[g.jsxs("label",{htmlFor:`${o}-cb${ne}`,className:"pacc-card",children:[(me.cardChildrenIds??[]).map(V=>g.jsx(ve,{id:V},V)),g.jsx("span",{className:"pacc-arrow","aria-hidden":"true",children:g.jsx("i",{className:"bi bi-chevron-right"})})]}),g.jsx("div",{className:"pacc-detail",children:(me.detailChildrenIds??[]).map(V=>g.jsx(ve,{id:V},V))})]},ne))})]})}const
|
|
268
|
+
`;return g.jsxs("div",{style:ee,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:we}}),n.map((me,ne)=>g.jsx("input",{type:"radio",name:o,id:`${o}-cb${ne}`,className:"pacc-cb",defaultChecked:ne===i},ne)),g.jsx("div",{className:"pacc-wrap",children:n.map((me,ne)=>g.jsxs("div",{className:"pacc-item",children:[g.jsxs("label",{htmlFor:`${o}-cb${ne}`,className:"pacc-card",children:[(me.cardChildrenIds??[]).map(V=>g.jsx(ve,{id:V},V)),g.jsx("span",{className:"pacc-arrow","aria-hidden":"true",children:g.jsx("i",{className:"bi bi-chevron-right"})})]}),g.jsx("div",{className:"pacc-detail",children:(me.detailChildrenIds??[]).map(V=>g.jsx(ve,{id:V},V))})]},ne))})]})}const z0=C({label:x().optional().nullable(),contentChildrenIds:W(x()).optional().nullable()}),j0=C({responsive:Te,style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),tabActiveColor:x().optional().nullable(),tabTextColor:x().optional().nullable(),tabBgColor:x().optional().nullable(),tabGap:f().optional().nullable(),contentGap:f().optional().nullable(),navBorderColor:x().optional().nullable(),navWidth:f().optional().nullable(),fontSize:D([x(),f()]).optional().nullable(),lineHeight:D([x(),f()]).optional().nullable(),activeFontSize:D([x(),f()]).optional().nullable(),showActiveBorder:P().optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:x().optional().nullable()}).optional().nullable(),props:C({orientation:I(["horizontal","vertical"]).optional().nullable(),orientationTablet:I(["horizontal","vertical"]).optional().nullable(),orientationMobile:I(["horizontal","vertical"]).optional().nullable(),behavior:I(["showSelectedSection","scrollToSelectedSection"]).optional().nullable(),activeTabIndex:f().optional().nullable(),stickyNav:P().optional().nullable(),items:W(z0).min(1).max(20).optional().nullable()}).optional().nullable()}),Xe=[{key:"inherit",label:"Inherit",value:"inherit"},{key:"MODERN_SANS",label:"Modern sans",value:'"Modern Sans", "Inter", "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif'},{key:"BOOK_SANS",label:"Book sans",value:'Optima, Candara, "Noto Sans", source-sans-pro, sans-serif'},{key:"ORGANIC_SANS",label:"Organic sans",value:'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif'},{key:"GEOMETRIC_SANS",label:"Geometric sans",value:'Avenir, "Avenir Next LT Pro", Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif'},{key:"HEAVY_SANS",label:"Heavy sans",value:'Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", sans-serif-condensed, sans-serif'},{key:"ROUNDED_SANS",label:"Rounded sans",value:'ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif'},{key:"MODERN_SERIF",label:"Modern serif",value:'Charter, "Bitstream Charter", "Sitka Text", Cambria, serif'},{key:"BOOK_SERIF",label:"Book serif",value:'"Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif'},{key:"MONOSPACE",label:"Monospace",value:'"Nimbus Mono PS", "Courier New", "Cutive Mono", monospace'},{key:"ROBOTO",label:"Roboto",value:'Roboto, "Helvetica Neue", Arial, sans-serif'},{key:"OPEN_SANS",label:"Open Sans",value:'"Open Sans", "Helvetica Neue", Arial, sans-serif'},{key:"LATO",label:"Lato",value:'Lato, "Helvetica Neue", Arial, sans-serif'},{key:"POPPINS",label:"Poppins",value:'Poppins, "Helvetica Neue", Arial, sans-serif'},{key:"INTER",label:"Inter",value:'Inter, "Helvetica Neue", Arial, sans-serif'},{key:"MONTSERRAT",label:"Montserrat",value:'Montserrat, "Helvetica Neue", Arial, sans-serif'},{key:"RALEWAY",label:"Raleway",value:'Raleway, "Helvetica Neue", Arial, sans-serif'},{key:"NUNITO",label:"Nunito",value:'Nunito, "Helvetica Neue", Arial, sans-serif'},{key:"PLAYFAIR_DISPLAY",label:"Playfair Display",value:'"Playfair Display", Georgia, serif'},{key:"MERRIWEATHER",label:"Merriweather",value:"Merriweather, Georgia, serif"},{key:"PT_SANS",label:"PT Sans",value:'"PT Sans", "Helvetica Neue", Arial, sans-serif'},{key:"OSWALD",label:"Oswald",value:'Oswald, "Helvetica Neue", Arial, sans-serif'},{key:"SOURCE_SANS_PRO",label:"Source Sans Pro",value:'"Source Sans Pro", "Helvetica Neue", Arial, sans-serif'},{key:"RUBIK",label:"Rubik",value:'Rubik, "Helvetica Neue", Arial, sans-serif'},{key:"WORK_SANS",label:"Work Sans",value:'"Work Sans", "Helvetica Neue", Arial, sans-serif'},{key:"NOTO_SANS",label:"Noto Sans",value:'"Noto Sans", "Helvetica Neue", Arial, sans-serif'},{key:"DANCING_SCRIPT",label:"Dancing Script",value:'"Dancing Script", cursive, sans-serif'},{key:"PACIFICO",label:"Pacifico",value:"Pacifico, cursive, sans-serif"},{key:"LOBSTER",label:"Lobster",value:"Lobster, cursive, sans-serif"},{key:"BEBAS_NEUE",label:"Bebas Neue",value:'"Bebas Neue", cursive, sans-serif'}],B0={Inter:[400,500,600,700],Roboto:[400,500,700],"Open Sans":[400,500,600,700],Lato:[400,700],Poppins:[400,500,600,700],Montserrat:[400,500,600,700],Raleway:[400,500,600,700],Nunito:[400,500,600,700],"Playfair Display":[400,500,600,700],Merriweather:[400,700],"PT Sans":[400,700],Oswald:[400,500,600,700],"Source Sans Pro":[400,600,700],Rubik:[400,500,600,700],"Work Sans":[400,500,600,700],"Noto Sans":[400,500,600,700],"Titillium Web":[400,600,700],"Dancing Script":[400,500,600,700],Pacifico:[400],Lobster:[400],"Bebas Neue":[400],"Permanent Marker":[400],"Great Vibes":[400],"Libre Baskerville":[400,700],"EB Garamond":[400,500,700],Lora:[400,500,700]},D0=(e,t)=>{const n=e.replace(/ /g,"+");return t.length===1&&t[0]===400?n:`${n}:wght@${t.join(";")}`};`${Object.entries(B0).map(([e,t])=>`family=${D0(e,t)}`).join("&")}`;const pl=Xe.filter(e=>e.key!=="inherit").map(e=>({label:e.label,css:e.value}));pl.map(e=>e.css);const H0=e=>e.replace(/"/g,'\\"'),F0=e=>((e||"").split(",")[0]||"").replace(/['"]/g,"").trim().toLowerCase();new Set(Xe.filter(e=>e.key!=="inherit").map(e=>F0(e.value)));const Fr=Xe.find(e=>e.key==="INTER");Fr&&Fr.value;pl.map(e=>{const t=H0(e.css);return`
|
|
269
269
|
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="${t}"]::before,
|
|
270
270
|
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="${t}"]::before {
|
|
271
271
|
content: '${e.label}';
|
|
272
272
|
font-family: ${e.css};
|
|
273
273
|
}`}).join(`
|
|
274
|
-
`);function H0(e){if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)??e}function F0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function Gr(e){if(e!=null)return typeof e=="number"?`${e}px`:e}const G0={position:"absolute",opacity:0,pointerEvents:"none",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",clip:"rect(0 0 0 0)"},U0={display:"inline-block",minWidth:0,maxWidth:"100%",overflowWrap:"break-word",wordBreak:"break-word"};function bo(e,t,n,o,a,i){if(t==="horizontal")return`${e}{display:block}${e} .ahd-tabs-nav{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;gap:${o};align-items:center;width:100%;border-bottom:${n} solid var(--ahd-tabs-nav-border,transparent);border-right:0}${e} .ahd-tabs-label{display:inline-flex;border-bottom:3px solid transparent;border-left:0;margin-bottom:calc(-1 * ${n});margin-right:0}${e} .ahd-tabs-panels{width:100%;margin-top:${a};margin-left:0}`;const r=i?`${i}px`:void 0,l=`var(--ahd-tabs-nav-width,${r??"minmax(0,max-content)"})`,s=`width:var(--ahd-tabs-nav-width,${r??"auto"});max-width:var(--ahd-tabs-nav-width,${r??"40%"})`;return`${e}{display:grid;grid-template-columns:${l} minmax(0,1fr);column-gap:${a};align-items:start}${e} .ahd-tabs-nav{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;grid-column:1;grid-row:1;align-self:start;${s};min-width:0;overflow:visible;border-right:${n} solid var(--ahd-tabs-nav-border,transparent);border-bottom:0}${e} .ahd-tabs-label{display:flex;border-left:3px solid transparent;border-bottom:0;margin-right:calc(-1 * ${n});margin-bottom:${o};white-space:normal!important;word-break:break-word;overflow-wrap:anywhere;min-width:0;max-width:100%;box-sizing:border-box}${e} .ahd-tabs-panels{grid-column:2;grid-row:1;width:100%;margin-top:0}`}function Z0({style:e,props:t}){const n=(t==null?void 0:t.orientation)??"horizontal",o=(t==null?void 0:t.orientationTablet)??n,a=(t==null?void 0:t.orientationMobile)??o,r=((t==null?void 0:t.behavior)??"showSelectedSection")==="scrollToSelectedSection",l=(t==null?void 0:t.stickyNav)??!1,s=G.useMemo(()=>t!=null&&t.items&&t.items.length>0?t.items:[{label:"Tab 1",contentChildrenIds:[]}],[t==null?void 0:t.items]),c=G.useMemo(()=>`tabs-${Math.random().toString(36).slice(2,9)}`,[]),u=(e==null?void 0:e.tabActiveColor)??void 0,p=(e==null?void 0:e.tabTextColor)??void 0,d=(e==null?void 0:e.tabBgColor)??"transparent",h=(e==null?void 0:e.navBorderColor)??void 0,m=h?"2px":"0px",b=(e==null?void 0:e.tabGap)!=null?`${e.tabGap}px`:"0px",v=(e==null?void 0:e.contentGap)!=null?`${e.contentGap}px`:"0px",k=String((e==null?void 0:e.navWidth)??160),S="var(--ahd-tabs-tab-gap,"+b+")",$="var(--ahd-tabs-content-gap,"+v+")",w=(e==null?void 0:e.activeFontSize)!=null?Gr(e.activeFontSize):void 0,N=(e==null?void 0:e.showActiveBorder)??!0?u||"currentColor":"transparent",A=e==null?void 0:e.padding,y=e==null?void 0:e.margin,R=((y==null?void 0:y.left)??0)+((y==null?void 0:y.right)??0),M={width:R>0?`calc(100% - ${R}px)`:"100%",boxSizing:"border-box",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`1px solid ${e.borderColor}`:void 0,borderRadius:F0(e==null?void 0:e.borderRadius),padding:A?`${A.top}px ${A.right}px ${A.bottom}px ${A.left}px`:void 0,margin:y?`${y.top}px ${y.right}px ${y.bottom}px ${y.left}px`:void 0,fontFamily:H0(e==null?void 0:e.fontFamily),fontSize:Gr(e==null?void 0:e.fontSize),fontWeight:(e==null?void 0:e.fontWeight)??void 0,lineHeight:(e==null?void 0:e.lineHeight)??1.5,color:p,"--ahd-tabs-nav-border":h??"transparent"},T=()=>s.map((j,O)=>g.jsx("input",{type:"radio",id:`${c}-r${O}`,name:c,className:"ahd-tabs-radio",defaultChecked:O===0,style:G0},O)),L=G.useMemo(()=>{const j=`.${c}`,O=u||"currentColor";let B=`${j} .ahd-tabs-label{color:${p||"inherit"}}`+(r?"":`${j} .ahd-tabs-panel{display:none}`);return s.forEach((Y,de)=>{const oe=`#${c}-r${de}:checked`,ee=`${oe} ~ .ahd-tabs-nav .ahd-tabs-label:nth-of-type(${de+1})`,Z=`${oe} ~ .ahd-tabs-panels .ahd-tabs-panel:nth-of-type(${de+1})`,J=`color:${O}!important;border-left-color:var(--ahd-tabs-active-border-color,${N})!important;border-bottom-color:var(--ahd-tabs-active-border-color,${N})!important`;B+=`${ee}{${J}}`,B+=`${ee} .ahd-tabs-label-text{font-size:var(--ahd-tabs-active-font-size,${w??"inherit"})!important}`,r||(B+=`${Z}{display:block!important}`)}),B+=bo(j,n,m,S,$,k),o!==n&&(B+=`${W0}{${bo(j,o,m,S,$,k)}}`),a!==o&&(B+=`${q0}{${bo(j,a,m,S,$,k)}}`),l&&(B+=`${j} .ahd-tabs-nav{position:sticky;top:0;z-index:50}:where(.ahd-block-wrapper,[id]):has(> ${j}){position:sticky;top:0;z-index:50}`),B},[s,c,u,p,w,N,n,o,a,r,m,k,S,$,l]),H=j=>r?{display:"block",width:"100%",overflow:"visible",scrollMarginTop:24,marginTop:j===0?void 0:$}:{width:"100%",minWidth:0,overflow:"hidden"},F=n==="vertical"?"ahd-tabs-o-v":"ahd-tabs-o-h";return g.jsxs("div",{className:`${c} ahd-tabs ${F}${l?" ahd-tabs-sticky":""}${r?" ahd-tabs-scroll-sections":""}`,style:M,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:L}}),T(),g.jsx("div",{className:"ahd-tabs-nav",style:{background:d,...l?{position:"sticky",top:0}:{}},children:s.map((j,O)=>g.jsx("label",{htmlFor:`${c}-r${O}`,className:"ahd-tabs-label","data-ahd-tab-index":O,style:{alignItems:"center",cursor:"pointer",padding:n==="vertical"?"10px 16px":"10px 18px",whiteSpace:"nowrap",transition:"color .15s ease,border-color .15s ease",userSelect:"none",position:"relative"},children:g.jsx("span",{className:"ahd-tabs-label-text",style:U0,children:j.label??`Tab ${O+1}`})},O))}),g.jsx("div",{className:"ahd-tabs-panels",children:s.map((j,O)=>g.jsx("div",{id:`${c}-panel-${O}`,className:"ahd-tabs-panel","data-ahd-tab-index":O,style:H(O),children:(j.contentChildrenIds??[]).map(q=>g.jsx(ve,{id:q},q))},O))})]})}const W0=`@media (max-width:${je}px)`,q0=`@media (max-width:${Ae}px)`,V0=C({contentChildrenIds:W(x()).optional().nullable()}),Y0=C({style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),slideGap:f().optional().nullable(),arrowColor:x().optional().nullable(),arrowBgColor:x().optional().nullable(),arrowBorderColor:x().optional().nullable(),arrowSize:f().min(16).max(80).optional().nullable(),dotColor:x().optional().nullable(),dotActiveColor:x().optional().nullable(),dotSize:f().min(4).max(24).optional().nullable()}).optional().nullable(),props:C({slidesPerView:f().min(1).max(6).optional().nullable(),slidesPerViewTablet:f().min(1).max(6).optional().nullable(),slidesPerViewMobile:f().min(1).max(6).optional().nullable(),showArrows:P().optional().nullable(),showDots:P().optional().nullable(),autoplay:P().optional().nullable(),autoplayInterval:f().min(500).max(2e4).optional().nullable(),loop:P().optional().nullable(),transitionMs:f().min(0).max(3e3).optional().nullable(),items:W(V0).min(1).max(20).optional().nullable()}).optional().nullable()});function K0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}const J0="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",X0="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",Ur=({d:e,size:t=20})=>g.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:g.jsx("path",{d:e})});function Q0({style:e,props:t}){const n=G.useMemo(()=>t!=null&&t.items&&t.items.length>0?t.items:[{contentChildrenIds:[]}],[t==null?void 0:t.items]),o=G.useMemo(()=>`carousel-${Math.random().toString(36).slice(2,9)}`,[]),a=Math.max(1,(t==null?void 0:t.slidesPerView)??1),i=Math.max(1,(t==null?void 0:t.slidesPerViewTablet)??Math.min(a,2)),r=Math.max(1,(t==null?void 0:t.slidesPerViewMobile)??1),l=(t==null?void 0:t.showArrows)??!0,s=(t==null?void 0:t.showDots)??!0,c=(t==null?void 0:t.autoplay)??!1,u=(t==null?void 0:t.autoplayInterval)??4e3,p=(t==null?void 0:t.loop)??!0,d=(t==null?void 0:t.transitionMs)??400,h=(e==null?void 0:e.slideGap)??16,m=(e==null?void 0:e.arrowColor)??"#262626",b=(e==null?void 0:e.arrowBgColor)??"#ffffff",v=(e==null?void 0:e.arrowBorderColor)??"rgba(0,0,0,.12)",k=(e==null?void 0:e.arrowSize)??40,S=(e==null?void 0:e.dotColor)??"#d4d4d4",$=(e==null?void 0:e.dotActiveColor)??"#262626",w=(e==null?void 0:e.dotSize)??8,_=Math.max(12,Math.min(40,Math.round(k*.5))),N=e==null?void 0:e.padding,A=e==null?void 0:e.margin,y=((A==null?void 0:A.left)??0)+((A==null?void 0:A.right)??0),R={width:y>0?`calc(100% - ${y}px)`:"100%",boxSizing:"border-box",position:"relative",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`1px solid ${e.borderColor}`:void 0,borderRadius:K0(e==null?void 0:e.borderRadius),padding:N?`${N.top}px ${N.right}px ${N.bottom}px ${N.left}px`:void 0,margin:A?`${A.top}px ${A.right}px ${A.bottom}px ${A.left}px`:void 0},M=G.useMemo(()=>{const F=`.${o}`,j=O=>`calc((100% - ${h*(O-1)}px) / ${O})`;return`${F} .ahd-carousel-viewport{overflow:hidden;width:100%}${F} .ahd-carousel-track{display:flex;gap:var(--ahd-carousel-slide-gap,${h}px);transition:transform ${d}ms ease;will-change:transform}${F} .ahd-carousel-slide{flex:0 0 ${j(a)};min-width:0;box-sizing:border-box}${F} .ahd-carousel-prev svg,${F} .ahd-carousel-next svg{width:var(--ahd-carousel-chevron-size,${_}px);height:var(--ahd-carousel-chevron-size,${_}px)}@media (max-width:${je}px){${F} .ahd-carousel-slide{flex-basis:${j(i)}}}@media (max-width:${Ae}px){${F} .ahd-carousel-slide{flex-basis:${j(r)}}}`},[o,h,d,a,i,r,_]),T={appearance:"none",WebkitAppearance:"none",width:`var(--ahd-carousel-arrow-size, ${k}px)`,height:`var(--ahd-carousel-arrow-size, ${k}px)`,minWidth:`var(--ahd-carousel-arrow-size, ${k}px)`,borderRadius:"50%",border:`1px solid ${v}`,backgroundColor:b,backgroundImage:"none",color:m,boxShadow:"none",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,lineHeight:1,padding:0},L=Math.min(a,i,r),H=Math.max(1,n.length-L+1);return g.jsxs("div",{className:`${o} ahd-carousel`,style:R,"data-per-view":a,"data-per-view-tablet":i,"data-per-view-mobile":r,"data-autoplay":c?"1":"0","data-autoplay-interval":u,"data-loop":p?"1":"0",children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:M}}),g.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[l&&g.jsx("button",{type:"button",className:"ahd-carousel-prev",style:T,"aria-label":"Previous slide",children:g.jsx(Ur,{d:J0,size:_})}),g.jsx("div",{className:"ahd-carousel-viewport",children:g.jsx("div",{className:"ahd-carousel-track",children:n.map((F,j)=>g.jsx("div",{className:"ahd-carousel-slide","data-ahd-slide-index":j,children:(F.contentChildrenIds??[]).map(O=>g.jsx(ve,{id:O},O))},j))})}),l&&g.jsx("button",{type:"button",className:"ahd-carousel-next",style:T,"aria-label":"Next slide",children:g.jsx(Ur,{d:X0,size:_})})]}),s&&H>1&&g.jsx("div",{className:"ahd-carousel-dots",style:{display:"flex",justifyContent:"center",gap:8,marginTop:16},"data-dot-color":S,"data-dot-active-color":$,children:Array.from({length:H}).map((F,j)=>g.jsx("button",{type:"button",className:"ahd-carousel-dot","data-ahd-dot-index":j,"aria-label":`Go to slide ${j+1}`,style:{appearance:"none",WebkitAppearance:"none",width:`var(--ahd-carousel-dot-size, ${w}px)`,height:`var(--ahd-carousel-dot-size, ${w}px)`,minWidth:`var(--ahd-carousel-dot-size, ${w}px)`,padding:0,border:"none",borderRadius:"50%",cursor:"pointer",boxShadow:"none",backgroundColor:j===0?$:S,backgroundImage:"none"}},j))})]})}const ev=C({style:C({starColor:x().optional().nullable(),starEmptyColor:x().optional().nullable(),starSize:f().min(8).max(80).optional().nullable(),starGap:f().min(0).max(40).optional().nullable(),textColor:x().optional().nullable(),fontSize:D([x(),f()]).optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:x().optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable()}).optional().nullable(),props:C({value:D([f(),x()]).optional().nullable(),max:D([f(),x()]).optional().nullable(),showValue:P().optional().nullable()}).optional().nullable()}),Zr="M12 .587l3.668 7.431 8.2 1.193-5.934 5.787 1.401 8.168L12 18.896l-7.335 3.866 1.401-8.168L.132 9.211l8.2-1.193z";function tv(e){if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)??e}function nv(e){if(e!=null)return typeof e=="number"?`${e}px`:e}function ov({fillPct:e,size:t,filledColor:n,emptyColor:o}){return g.jsxs("span",{className:"ahd-rating-star",style:{position:"relative",display:"inline-block",width:`var(--ahd-rating-star-size, ${t}px)`,height:`var(--ahd-rating-star-size, ${t}px)`,lineHeight:0},children:[g.jsx("svg",{viewBox:"0 0 24 24",fill:o,style:{display:"block",width:"100%",height:"100%"},"aria-hidden":"true",children:g.jsx("path",{d:Zr})}),g.jsx("span",{className:"ahd-rating-star-fill",style:{position:"absolute",top:0,left:0,height:"100%",width:`${e}%`,overflow:"hidden",lineHeight:0},children:g.jsx("svg",{viewBox:"0 0 24 24",fill:n,style:{display:"block",width:`var(--ahd-rating-star-size, ${t}px)`,height:`var(--ahd-rating-star-size, ${t}px)`},"aria-hidden":"true",children:g.jsx("path",{d:Zr})})})]})}function av({style:e,props:t}){const n=G.useMemo(()=>`rating-${Math.random().toString(36).slice(2,9)}`,[]),o=(k,S)=>{if(typeof k=="number")return Number.isFinite(k)?k:S;const $=parseFloat(String(k??""));return Number.isFinite($)?$:S},a=Math.max(1,Math.min(10,Math.round(o(t==null?void 0:t.max,5)))),i=Math.max(0,Math.min(a,o(t==null?void 0:t.value,0))),r=(t==null?void 0:t.showValue)??!0,l=(e==null?void 0:e.starColor)??"#facc15",s=(e==null?void 0:e.starEmptyColor)??"#e5e7eb",c=(e==null?void 0:e.starSize)??24,u=(e==null?void 0:e.starGap)??4,p=(e==null?void 0:e.textColor)??"#262626",d=(e==null?void 0:e.textAlign)??"left",h=e==null?void 0:e.padding,m=e==null?void 0:e.margin,b={display:"flex",alignItems:"center",gap:`calc(var(--ahd-rating-star-gap, ${u}px) + 4px)`,justifyContent:d==="center"?"center":d==="right"?"flex-end":"flex-start",flexWrap:"wrap",color:p,fontFamily:tv(e==null?void 0:e.fontFamily),fontSize:nv(e==null?void 0:e.fontSize),fontWeight:(e==null?void 0:e.fontWeight)??void 0,padding:h?`${h.top}px ${h.right}px ${h.bottom}px ${h.left}px`:void 0,margin:m?`${m.top}px ${m.right}px ${m.bottom}px ${m.left}px`:void 0,boxSizing:"border-box"},v=k=>{const S=i-k;return S>=1?100:S>=.5?50:S>0?Math.round(S*100):0};return g.jsxs("div",{className:`${n} ahd-rating rating-block`,style:b,children:[g.jsx("span",{className:"ahd-rating-stars",style:{display:"inline-flex",alignItems:"center",gap:`var(--ahd-rating-star-gap, ${u}px)`},children:Array.from({length:a}).map((k,S)=>g.jsx(ov,{fillPct:v(S),size:c,filledColor:l,emptyColor:s},S))}),r&&g.jsxs("span",{className:"ahd-rating-value",style:{fontWeight:600},children:[Number.isInteger(i)?i:i.toFixed(1),g.jsxs("span",{style:{opacity:.55},children:["/",a]})]})]})}const rv=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),iv=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),lv=C({style:C({trackColor:x().optional().nullable(),fillColor:x().optional().nullable(),textColor:x().optional().nullable(),fontSize:D([x(),f()]).optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:x().optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),barHeight:f().min(2).max(60).optional().nullable(),barRadius:f().min(0).max(40).optional().nullable(),circleSize:f().min(40).max(320).optional().nullable(),strokeWidth:f().min(2).max(40).optional().nullable(),stepSize:f().min(4).max(48).optional().nullable(),stepGap:f().min(0).max(40).optional().nullable(),padding:rv,margin:iv}).optional().nullable(),props:C({variant:I(["linear","circular","steps"]).optional().nullable(),value:D([f(),x()]).optional().nullable(),max:D([f(),x()]).optional().nullable(),showLabel:P().optional().nullable(),labelFormat:I(["percent","fraction"]).optional().nullable(),steps:f().min(2).max(20).optional().nullable(),striped:P().optional().nullable(),animated:P().optional().nullable()}).optional().nullable()});function sv(e){if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)??e}function cv(e){if(e!=null)return typeof e=="number"?`${e}px`:e}function Wr(e,t){if(typeof e=="number")return Number.isFinite(e)?e:t;const n=parseFloat(String(e??""));return Number.isFinite(n)?n:t}function qr(e,t,n,o){return o==="fraction"?`${Number.isInteger(t)?t:t.toFixed(1)}/${n}`:`${Math.round(e)}%`}function uv({pct:e,label:t,trackColor:n,fillColor:o,barHeight:a,barRadius:i,striped:r,animated:l,ariaLabel:s,value:c,max:u}){return g.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6,width:"100%"},children:[l&&g.jsx("style",{dangerouslySetInnerHTML:{__html:"@keyframes ahd-progress-stripes{from{background-position:1rem 0}to{background-position:0 0}}.ahd-progress-animated{animation:ahd-progress-stripes 1s linear infinite}@media (prefers-reduced-motion: reduce){.ahd-progress-animated{animation:none}}"}}),g.jsx("div",{className:"ahd-progress-track",role:"progressbar","aria-valuenow":c,"aria-valuemin":0,"aria-valuemax":u,"aria-label":s,style:{width:"100%",height:a,borderRadius:i,backgroundColor:n,overflow:"hidden",boxSizing:"border-box"},children:g.jsx("div",{className:`ahd-progress-fill${r?" ahd-progress-striped":""}${l?" ahd-progress-animated":""}`,style:{width:`${e}%`,height:"100%",borderRadius:i,backgroundColor:o,backgroundImage:r||l?"linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)":void 0,backgroundSize:r||l?"1rem 1rem":void 0,transition:"width 300ms ease"}})}),t!=null&&g.jsx("span",{children:t})]})}function dv({pct:e,label:t,trackColor:n,fillColor:o,size:a,strokeWidth:i,textColor:r,ariaLabel:l,value:s,max:c}){const u=(a-i)/2,p=2*Math.PI*u,d=p*(1-e/100),h=a/2;return g.jsxs("div",{className:"ahd-progress-circular",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":c,"aria-label":l,style:{position:"relative",width:a,height:a,display:"inline-flex"},children:[g.jsxs("svg",{width:a,height:a,viewBox:`0 0 ${a} ${a}`,children:[g.jsx("circle",{cx:h,cy:h,r:u,fill:"none",stroke:n,strokeWidth:i}),g.jsx("circle",{cx:h,cy:h,r:u,fill:"none",stroke:o,strokeWidth:i,strokeLinecap:"round",strokeDasharray:p,strokeDashoffset:d,transform:`rotate(-90 ${h} ${h})`,style:{transition:"stroke-dashoffset 300ms ease"}})]}),t!=null&&g.jsx("span",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:r,fontWeight:600},children:t})]})}function hv({steps:e,activeIndex:t,trackColor:n,fillColor:o,stepSize:a,stepGap:i,label:r,ariaLabel:l,value:s,max:c}){return g.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[g.jsx("div",{className:"ahd-progress-steps",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":c,"aria-label":l,style:{display:"inline-flex",alignItems:"center",gap:i},children:Array.from({length:e}).map((u,p)=>g.jsx("span",{"data-active":p<t?"true":"false",style:{width:a,height:a,borderRadius:"50%",backgroundColor:p<t?o:n,transition:"background-color 200ms ease",display:"inline-block"}},p))}),r!=null&&g.jsx("span",{children:r})]})}function fv({style:e,props:t}){const n=G.useMemo(()=>`progress-${Math.random().toString(36).slice(2,9)}`,[]),o=(t==null?void 0:t.variant)??"linear",a=Math.max(1,Wr(t==null?void 0:t.max,100)),i=Math.max(0,Math.min(a,Wr(t==null?void 0:t.value,0))),r=i/a*100,l=(t==null?void 0:t.showLabel)??!0,s=(t==null?void 0:t.labelFormat)??"percent",c=l?qr(r,i,a,s):null,u=`Progress: ${qr(r,i,a,"percent")}`,p=(e==null?void 0:e.trackColor)??"#e5e7eb",d=(e==null?void 0:e.fillColor)??"#3F73FF",h=(e==null?void 0:e.textColor)??"#262626",m=(e==null?void 0:e.textAlign)??"left",b=e==null?void 0:e.padding,v=e==null?void 0:e.margin,k={display:"flex",justifyContent:m==="center"?"center":m==="right"?"flex-end":"flex-start",color:h,fontFamily:sv(e==null?void 0:e.fontFamily),fontSize:cv((e==null?void 0:e.fontSize)??13),fontWeight:(e==null?void 0:e.fontWeight)??void 0,padding:b?`${b.top}px ${b.right}px ${b.bottom}px ${b.left}px`:void 0,margin:v?`${v.top}px ${v.right}px ${v.bottom}px ${v.left}px`:void 0,boxSizing:"border-box"},S=Math.max(2,Math.min(20,Math.round((t==null?void 0:t.steps)??5))),$=Math.round(r/100*S);return g.jsx("div",{className:`${n} ahd-progress progress-block`,style:k,children:o==="circular"?g.jsx(dv,{pct:r,label:c,trackColor:p,fillColor:d,size:(e==null?void 0:e.circleSize)??96,strokeWidth:(e==null?void 0:e.strokeWidth)??8,textColor:h,ariaLabel:u,value:i,max:a}):o==="steps"?g.jsx(hv,{steps:S,activeIndex:$,trackColor:p,fillColor:d,stepSize:(e==null?void 0:e.stepSize)??14,stepGap:(e==null?void 0:e.stepGap)??12,label:c,ariaLabel:u,value:i,max:a}):g.jsx(uv,{pct:r,label:c,trackColor:p,fillColor:d,barHeight:(e==null?void 0:e.barHeight)??12,barRadius:(e==null?void 0:e.barRadius)??6,striped:(t==null?void 0:t.striped)??!1,animated:(t==null?void 0:t.animated)??!1,ariaLabel:u,value:i,max:a})})}const pv=C({responsive:Te,style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),itemGap:f().min(0).max(200).optional().nullable(),viewportHeight:f().min(40).max(1200).optional().nullable()}).optional().nullable(),props:C({direction:I(["left","right","up","down"]).optional().nullable(),speed:f().min(5).max(200).optional().nullable(),pauseOnHover:P().optional().nullable(),repeat:f().min(2).max(6).optional().nullable(),fadeEdges:P().optional().nullable(),verticalAlign:I(["top","middle","bottom"]).optional().nullable(),items:W(C({contentChildrenIds:W(x()).optional().nullable()})).min(1).max(30).optional().nullable()}).optional().nullable()}),mv=40,gv=32,bv=200,ml=(e,t)=>typeof e=="number"?Math.max(40,Math.min(1200,e)):t,gl=(e,t)=>typeof e=="number"?Math.max(5,Math.min(200,e)):t,vv=e=>Math.max(2,Math.round(1200/e)),xv=e=>Math.max(2,Math.min(6,typeof e=="number"?e:2)),bl=e=>e==="up"||e==="down",Sv=e=>e==="top"?"flex-start":e==="bottom"?"flex-end":"center",Dn=e=>e?"linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent)":"linear-gradient(to right, transparent, #000 12%, #000 88%, transparent)";function wv(e,t){return{speed:gl(t==null?void 0:t.speed,mv),pauseOnHover:(t==null?void 0:t.pauseOnHover)??!1,fadeEdges:(t==null?void 0:t.fadeEdges)??!1,itemGap:(e==null?void 0:e.itemGap)??gv,viewportHeight:ml(e==null?void 0:e.viewportHeight,bv)}}function kv(e,t,n){var a,i,r,l,s;const o=e==null?void 0:e[t];return{speed:gl((a=o==null?void 0:o.props)==null?void 0:a.speed,n.speed),pauseOnHover:((i=o==null?void 0:o.props)==null?void 0:i.pauseOnHover)??n.pauseOnHover,fadeEdges:((r=o==null?void 0:o.props)==null?void 0:r.fadeEdges)??n.fadeEdges,itemGap:((l=o==null?void 0:o.style)==null?void 0:l.itemGap)??n.itemGap,viewportHeight:ml((s=o==null?void 0:o.style)==null?void 0:s.viewportHeight,n.viewportHeight)}}const _v=(e,t)=>{const n=e==null?void 0:e[t];return!!(n!=null&&n.props||n!=null&&n.style)},Vr=e=>`--ahd-mq-gap:${e.itemGap}px;--ahd-mq-duration:${vv(e.speed)}s;--ahd-mq-height:${e.viewportHeight}px;--ahd-mq-hover:${e.pauseOnHover?"paused":"running"}`,$v=(e,t)=>e.fadeEdges?`-webkit-mask-image:${Dn(t)}!important;mask-image:${Dn(t)}!important`:"-webkit-mask-image:none!important;mask-image:none!important";function Cv({instanceId:e,direction:t,repeat:n,desktop:o,responsive:a,verticalAlign:i}){const r=`.${e}`,l=bl(t),s=l?"column":"row",c=t==="right"||t==="down"?"reverse":"normal",u=l?"flex-start":Sv(i),p=100/n,d=l?`@keyframes ${e}-kf{from{transform:translateY(0)}to{transform:translateY(-${p}%)}}`:`@keyframes ${e}-kf{from{transform:translateX(0)}to{transform:translateX(-${p}%)}}`,h=(b,v)=>{if(!_v(a,v))return"";const k=kv(a,v,o);return`${b}{${r}{${Vr(k)};${$v(k,l)}}}`},m=l?`${r} .ahd-marquee-viewport{height:var(--ahd-mq-height);overflow:hidden;position:relative}`:`${r} .ahd-marquee-viewport{overflow:hidden;position:relative;max-width:100%}`;return d+`${r}{${Vr(o)}}`+m+`${r} .ahd-marquee-track{display:flex;flex-direction:${s};gap:var(--ahd-mq-gap);width:${l?"100%":"max-content"};animation:${e}-kf var(--ahd-mq-duration) linear infinite ${c};will-change:transform}${r} .ahd-marquee-group{display:flex;flex-direction:${s};gap:var(--ahd-mq-gap);flex:0 0 auto;align-items:${u}}${r} .ahd-marquee-item{flex:0 0 auto;${l?"width:100%":""}}${r}:hover .ahd-marquee-track{animation-play-state:var(--ahd-mq-hover)}`+h(dn,"tablet")+h(Oe,"mobile")+`@media (prefers-reduced-motion: reduce){${r} .ahd-marquee-track{animation:none}}`}function Av(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function yv(e,t){if(!e)return{};const n=(t==null?void 0:t.top)??1,o=(t==null?void 0:t.bottom)??1;return{borderTop:n>0?`${n}px solid ${e}`:void 0,borderBottom:o>0?`${o}px solid ${e}`:void 0}}function Nv({style:e,props:t,responsive:n}){const o=G.useMemo(()=>`marquee-${Math.random().toString(36).slice(2,9)}`,[]),a=t!=null&&t.items&&t.items.length>0?t.items:[{contentChildrenIds:[]}],i=(t==null?void 0:t.direction)??"left",r=xv(t==null?void 0:t.repeat),l=bl(i),s=wv(e,t),c=e==null?void 0:e.padding,u=e==null?void 0:e.margin,p=((u==null?void 0:u.left)??0)+((u==null?void 0:u.right)??0),d={width:p>0?`calc(100% - ${p}px)`:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"hidden",position:"relative",background:(e==null?void 0:e.backgroundColor)??void 0,...yv(e==null?void 0:e.borderColor,e==null?void 0:e.borderWidth),borderRadius:Av(e==null?void 0:e.borderRadius),padding:c?`${c.top}px ${c.right}px ${c.bottom}px ${c.left}px`:void 0,margin:u?`${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`:void 0,...s.fadeEdges?{WebkitMaskImage:Dn(l),maskImage:Dn(l)}:{}},h=(t==null?void 0:t.verticalAlign)??"middle",m=G.useMemo(()=>Cv({instanceId:o,direction:i,repeat:r,desktop:s,responsive:n,verticalAlign:h}),[o,i,r,s.speed,s.pauseOnHover,s.fadeEdges,s.itemGap,s.viewportHeight,n,h]),b=v=>g.jsx("div",{className:"ahd-marquee-group","aria-hidden":v>0?!0:void 0,children:a.map((k,S)=>g.jsx("div",{className:"ahd-marquee-item",children:(k.contentChildrenIds??[]).map($=>g.jsx(ve,{id:$},$))},S))},v);return g.jsxs("div",{className:`${o} ahd-marquee`,style:d,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:m}}),g.jsx("div",{className:"ahd-marquee-viewport",children:g.jsx("div",{className:"ahd-marquee-track",children:Array.from({length:r}).map((v,k)=>b(k))})})]})}const Rv=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),Ev=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),Iv=C({style:C({backgroundColor:x().optional().nullable(),textColor:x().optional().nullable(),accentColor:x().optional().nullable(),numberColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:Rv,margin:Ev}).optional().nullable(),props:C({layout:I(["digitalFlip","circularProgress","textInline"]).default("digitalFlip"),targetDate:x().default(()=>new Date(Date.now()+24*60*60*1e3).toISOString()),showLabels:P().default(!0),expiredBehavior:I(["hide","showMessage","showZeros"]).default("showMessage"),expiredMessage:x().default("Offer has ended")}).optional().nullable()});function Mv(e){return String(Math.max(0,e)).padStart(2,"0")}function Tv({days:e,hours:t,minutes:n,seconds:o,showLabels:a,accentColor:i,textColor:r,numberColor:l}){const s=[{value:e,label:"Days"},{value:t,label:"Hours"},{value:n,label:"Minutes"},{value:o,label:"Seconds"}];return g.jsx("div",{className:"ahd-timer-digital",style:{display:"flex",gap:12,alignItems:"flex-start",justifyContent:"center"},children:s.map(c=>g.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[g.jsx("div",{"data-ahd-timer-unit":c.label.toLowerCase(),style:{minWidth:48,padding:"8px 10px",borderRadius:8,background:i??"#1f1f1f",color:l??"#ffffff",fontVariantNumeric:"tabular-nums",fontSize:22,fontWeight:700,textAlign:"center",lineHeight:1},children:Mv(c.value)}),a&&g.jsx("span",{style:{fontSize:11,color:r??"#6b7280",textTransform:"uppercase"},children:c.label})]},c.label))})}function Pv(e){return String(Math.max(0,e)).padStart(2,"0")}const Wo=26,Yr=2*Math.PI*Wo;function Ov({value:e,max:t,accentColor:n,numberColor:o,unit:a}){const i=t>0?Math.min(1,Math.max(0,e/t)):0,r=Yr*(1-i);return g.jsxs("svg",{"data-ahd-timer-unit":a,"data-ahd-timer-max":t,width:64,height:64,viewBox:"0 0 64 64",children:[g.jsx("circle",{cx:32,cy:32,r:Wo,fill:"none",stroke:"#e5e7eb",strokeWidth:5}),g.jsx("circle",{"data-ahd-timer-ring":!0,cx:32,cy:32,r:Wo,fill:"none",stroke:n,strokeWidth:5,strokeLinecap:"round",strokeDasharray:Yr,strokeDashoffset:r,transform:"rotate(-90 32 32)",style:{transition:"stroke-dashoffset 1s linear"}}),g.jsx("text",{"data-ahd-timer-text":!0,x:32,y:37,textAnchor:"middle",fontSize:15,fontWeight:700,fill:o,children:Pv(e)})]})}function Lv({days:e,hours:t,minutes:n,seconds:o,showLabels:a,accentColor:i,textColor:r,numberColor:l}){const s=i??"#7c3aed",c=l??"#1f1f1f",u=[{value:e,max:30,label:"Days"},{value:t,max:24,label:"Hours"},{value:n,max:60,label:"Minutes"},{value:o,max:60,label:"Seconds"}];return g.jsx("div",{className:"ahd-timer-circular",style:{display:"flex",gap:16,alignItems:"flex-start",justifyContent:"center"},children:u.map(p=>g.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:4},children:[g.jsx(Ov,{value:p.value,max:p.max,accentColor:s,numberColor:c,unit:p.label.toLowerCase()}),a&&g.jsx("span",{style:{fontSize:11,color:r??"#6b7280",textTransform:"uppercase"},children:p.label})]},p.label))})}function vt(e){return String(Math.max(0,e)).padStart(2,"0")}function zv({days:e,hours:t,minutes:n,seconds:o,showLabels:a,accentColor:i,textColor:r}){const l=[{key:"days",text:a?`${e}d`:vt(e)},{key:"hours",text:a?`${vt(t)}h`:vt(t)},{key:"minutes",text:a?`${vt(n)}m`:vt(n)},{key:"seconds",text:a?`${vt(o)}s`:vt(o)}],s=a?" ":" : ";return g.jsxs("div",{className:"ahd-timer-inline","data-ahd-timer-show-labels":a?"1":"0",style:{textAlign:"center",fontVariantNumeric:"tabular-nums",fontSize:16,fontWeight:600,color:r??"#1f1f1f"},children:[g.jsx("span",{style:{color:i??"#7c3aed",marginRight:6},children:"Ends in"}),l.map((c,u)=>g.jsxs(G.Fragment,{children:[u>0&&s,g.jsx("span",{"data-ahd-timer-unit":c.key,children:c.text})]},c.key))]})}function jv(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function Bv(e,t=Date.now()){const n=e?new Date(e).getTime():NaN;if(Number.isNaN(n))return{days:0,hours:0,minutes:0,seconds:0,completed:!0};const o=Math.max(0,n-t),a=o<=0,i=Math.floor(o/1e3);return{days:Math.floor(i/86400),hours:Math.floor(i%86400/3600),minutes:Math.floor(i%3600/60),seconds:i%60,completed:a}}function Dv({style:e,props:t}){const n=t??{},o=n.layout??"digitalFlip",a=n.showLabels??!0,i=n.expiredBehavior??"showMessage",r=n.expiredMessage||"Offer has ended",l=Bv(n.targetDate),s=l.completed,c=e==null?void 0:e.padding,u=e==null?void 0:e.margin,p=((u==null?void 0:u.left)??0)+((u==null?void 0:u.right)??0),d={width:p>0?`calc(100% - ${p}px)`:"100%",boxSizing:"border-box",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`1px solid ${e.borderColor}`:void 0,borderRadius:jv(e==null?void 0:e.borderRadius),padding:c?`${c.top}px ${c.right}px ${c.bottom}px ${c.left}px`:"16px",margin:u?`${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`:void 0},h={days:l.days,hours:l.hours,minutes:l.minutes,seconds:l.seconds,showLabels:a,accentColor:e==null?void 0:e.accentColor,textColor:e==null?void 0:e.textColor,numberColor:e==null?void 0:e.numberColor},m=s&&i==="showMessage",b=s&&i==="hide";return g.jsxs("div",{className:"ahd-timer","data-layout":o,"data-ahd-timer-target-date":n.targetDate,"data-ahd-timer-expired-behavior":i,"data-ahd-timer-expired-message":r,"data-ahd-timer-show-labels":a?"1":"0",style:{...d,display:b?"none":void 0},children:[g.jsx("div",{"data-ahd-timer-message":!0,style:{textAlign:"center",color:(e==null?void 0:e.textColor)??"#1f1f1f",display:m?void 0:"none"},children:r}),g.jsxs("div",{"data-ahd-timer-body":!0,style:{display:m?"none":void 0},children:[o==="digitalFlip"&&g.jsx(Tv,{...h}),o==="circularProgress"&&g.jsx(Lv,{...h}),o==="textInline"&&g.jsx(zv,{...h})]})]})}const Hv=I(["left","center","right","space-between"]),Fv=C({contentChildrenIds:W(x()).optional().nullable()}),Gv=C({childrenIds:W(x())}),Uv=C({style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),itemGap:f().min(0).max(120).optional().nullable(),columnsGap:f().min(0).max(120).optional().nullable(),rowsGap:f().min(0).max(120).optional().nullable(),controlGap:f().min(0).max(120).optional().nullable(),controlAlign:Hv.optional().nullable(),buttonSize:f().min(20).max(72).optional().nullable(),buttonGap:f().min(0).max(40).optional().nullable(),buttonRadius:f().min(0).max(999).optional().nullable(),buttonBg:x().optional().nullable(),buttonColor:x().optional().nullable(),buttonBorderColor:x().optional().nullable(),activeButtonBg:x().optional().nullable(),activeButtonColor:x().optional().nullable(),activeButtonBorderColor:x().optional().nullable(),arrowColor:x().optional().nullable(),fontSize:f().min(8).max(40).optional().nullable(),fontFamily:x().optional().nullable()}).optional().nullable(),props:C({items:W(Fv).min(1).max(50).optional().nullable(),cells:W(Gv).optional().nullable(),columnsCount:f().int().min(1).max(12).optional().nullable(),rowsCount:f().int().min(1).max(24).optional().nullable(),columnsCountTablet:f().int().min(1).max(12).optional().nullable(),columnsCountMobile:f().int().min(1).max(12).optional().nullable(),rowsCountTablet:f().int().min(1).max(24).optional().nullable(),rowsCountMobile:f().int().min(1).max(24).optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable(),horizontalAlignment:I(["left","center","right"]).optional().nullable(),cellsPerPage:f().int().min(1).max(100).optional().nullable(),repeatableEnabled:P().optional().nullable(),pageParam:x().min(1).max(40).optional().nullable(),syncUrl:P().optional().nullable(),showNumbers:P().optional().nullable(),showPrevNext:P().optional().nullable(),showFirstLast:P().optional().nullable(),maxVisiblePages:f().min(0).max(50).optional().nullable(),prevLabel:x().max(24).optional().nullable(),nextLabel:x().max(24).optional().nullable(),firstLabel:x().max(24).optional().nullable(),lastLabel:x().max(24).optional().nullable(),scrollToTopOnChange:P().optional().nullable(),explicitFirstPage:P().optional().nullable()}).optional().nullable()}),qo={columnsCount:2,rowsCount:2};function vo(e,t="desktop"){const n=qo,o=(e==null?void 0:e.columnsCount)??n.columnsCount,a=(e==null?void 0:e.rowsCount)??n.rowsCount,i=t==="mobile"?(e==null?void 0:e.columnsCountMobile)??1:t==="tablet"?(e==null?void 0:e.columnsCountTablet)??o:o,r=t==="mobile"?(e==null?void 0:e.rowsCountMobile)??a:t==="tablet"?(e==null?void 0:e.rowsCountTablet)??a:a;let l;Array.isArray(e==null?void 0:e.cells)?l=e.cells:Array.isArray(e==null?void 0:e.items)?l=e.items.map(u=>({childrenIds:Array.isArray(u==null?void 0:u.contentChildrenIds)?u.contentChildrenIds:[]})):l=[];const s=Math.max(1,o*a,i*r,l.length),c=Array.from({length:s},(u,p)=>{var d;return{childrenIds:Array.isArray((d=l[p])==null?void 0:d.childrenIds)?l[p].childrenIds:[]}});return{columnsCount:i,rowsCount:r,cells:c}}function xo(e,t="desktop"){if((e==null?void 0:e.cellsPerPage)!=null)return Math.max(1,e.cellsPerPage);const n=(e==null?void 0:e.columnsCount)??qo.columnsCount,o=(e==null?void 0:e.rowsCount)??qo.rowsCount,a=t==="mobile"?(e==null?void 0:e.columnsCountMobile)??1:t==="tablet"?(e==null?void 0:e.columnsCountTablet)??n:n,i=t==="mobile"?(e==null?void 0:e.rowsCountMobile)??o:t==="tablet"?(e==null?void 0:e.rowsCountTablet)??o:o;return Math.max(1,a*i)}function Zv(e,t,n){const o=Math.max(1,e),a=Math.min(Math.max(1,n),o*Math.max(1,t));return Math.max(1,Math.ceil(a/o))}function Wv(e,t){const n=Math.max(1,t);if(e.length===0)return[[]];const o=[];for(let a=0;a<e.length;a+=n)o.push(e.slice(a,a+n));return o}const qv={pageParam:"page",syncUrl:!0,showNumbers:!0,showPrevNext:!0,showFirstLast:!1,maxVisiblePages:7,scrollToTopOnChange:!0,prevLabel:"‹",nextLabel:"›",firstLabel:"«",lastLabel:"»",itemGap:16,controlGap:24,controlAlign:"center",buttonSize:36,buttonGap:8,buttonRadius:8,buttonBg:"#ffffff",buttonColor:"#262626",buttonBorderColor:"rgba(0,0,0,.12)",activeButtonBg:"#5550ff",activeButtonColor:"#ffffff",activeButtonBorderColor:"#5550ff",arrowColor:"#262626",fontSize:14};function Vv({style:e,props:t}){const n=qv;return{pageParam:((t==null?void 0:t.pageParam)??n.pageParam).trim()||n.pageParam,syncUrl:(t==null?void 0:t.syncUrl)??n.syncUrl,showNumbers:(t==null?void 0:t.showNumbers)??n.showNumbers,showPrevNext:(t==null?void 0:t.showPrevNext)??n.showPrevNext,showFirstLast:(t==null?void 0:t.showFirstLast)??n.showFirstLast,maxVisiblePages:(()=>{const o=(t==null?void 0:t.maxVisiblePages)??n.maxVisiblePages;return o<=0?0:Math.max(5,o)})(),scrollToTopOnChange:(t==null?void 0:t.scrollToTopOnChange)??n.scrollToTopOnChange,explicitFirstPage:(t==null?void 0:t.syncUrl)??n.syncUrl,prevLabel:(t==null?void 0:t.prevLabel)??n.prevLabel,nextLabel:(t==null?void 0:t.nextLabel)??n.nextLabel,firstLabel:(t==null?void 0:t.firstLabel)??n.firstLabel,lastLabel:(t==null?void 0:t.lastLabel)??n.lastLabel,itemGap:(e==null?void 0:e.itemGap)??n.itemGap,controlGap:(e==null?void 0:e.controlGap)??n.controlGap,controlAlign:(e==null?void 0:e.controlAlign)??n.controlAlign,buttonSize:(e==null?void 0:e.buttonSize)??n.buttonSize,buttonGap:(e==null?void 0:e.buttonGap)??n.buttonGap,buttonRadius:(e==null?void 0:e.buttonRadius)??n.buttonRadius,buttonBg:(e==null?void 0:e.buttonBg)??n.buttonBg,buttonColor:(e==null?void 0:e.buttonColor)??n.buttonColor,buttonBorderColor:(e==null?void 0:e.buttonBorderColor)??n.buttonBorderColor,activeButtonBg:(e==null?void 0:e.activeButtonBg)??n.activeButtonBg,activeButtonColor:(e==null?void 0:e.activeButtonColor)??n.activeButtonColor,activeButtonBorderColor:(e==null?void 0:e.activeButtonBorderColor)??n.activeButtonBorderColor,arrowColor:(e==null?void 0:e.arrowColor)??n.arrowColor,fontSize:(e==null?void 0:e.fontSize)??n.fontSize,fontFamily:(e==null?void 0:e.fontFamily)??void 0}}function Yv(e){return Math.max(1,e)}function Kv(e,t,n){if(t<=1)return[1];if(n<=0||t<=n)return Array.from({length:t},(s,c)=>c+1);const o=[],a=Math.max(1,n-2),i=Math.floor(a/2);let r=Math.max(2,e-i),l=Math.min(t-1,r+a-1);r=Math.max(2,Math.min(r,l-a+1)),o.push(1),r>2&&o.push("ellipsis");for(let s=r;s<=l;s++)o.push(s);return l<t-1&&o.push("ellipsis"),o.push(t),o}function Jv(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function Xv({style:e,props:t}){const n=Vv({style:e,props:t}),o=vo(t,"desktop"),a=vo(t,"tablet"),i=vo(t,"mobile"),r=Math.max(xo(t,"desktop"),xo(t,"tablet"),xo(t,"mobile")),l=G.useMemo(()=>o.cells.length>=r?o.cells:Array.from({length:r},(A,y)=>o.cells[y]??{childrenIds:[]}),[o.cells,r]),s=G.useMemo(()=>Wv(l,r),[l,r]),c=Yv(s.length),u=(e==null?void 0:e.columnsGap)??n.itemGap,p=(e==null?void 0:e.rowsGap)??n.itemGap,d=G.useMemo(()=>`pgn-${Math.random().toString(36).slice(2,9)}`,[]),h=G.useMemo(()=>Kv(1,c,n.maxVisiblePages),[c,n.maxVisiblePages]),m=e==null?void 0:e.padding,b=e==null?void 0:e.margin,v=((b==null?void 0:b.left)??0)+((b==null?void 0:b.right)??0),k={width:v>0?`calc(100% - ${v}px)`:"100%",boxSizing:"border-box",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`1px solid ${e.borderColor}`:void 0,borderRadius:Jv(e==null?void 0:e.borderRadius),padding:m?`${m.top}px ${m.right}px ${m.bottom}px ${m.left}px`:void 0,margin:b?`${b.top}px ${b.right}px ${b.bottom}px ${b.left}px`:void 0,fontFamily:n.fontFamily},S=n.controlAlign==="left"?"flex-start":n.controlAlign==="right"?"flex-end":n.controlAlign==="space-between"?"space-between":"center",$={appearance:"none",WebkitAppearance:"none",minWidth:`var(--ahd-pgn-btn-size, ${n.buttonSize}px)`,height:`var(--ahd-pgn-btn-size, ${n.buttonSize}px)`,padding:"0 8px",borderRadius:`var(--ahd-pgn-btn-radius, ${n.buttonRadius}px)`,border:`1px solid ${n.buttonBorderColor}`,backgroundColor:n.buttonBg,backgroundImage:"none",color:n.buttonColor,fontSize:n.fontSize,lineHeight:1,boxShadow:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:"pointer",boxSizing:"border-box"},w={...$,color:n.arrowColor},_=G.useMemo(()=>{const A=M=>`grid-template-columns:repeat(${M.columnsCount},minmax(0,1fr));grid-template-rows:repeat(${Zv(M.columnsCount,M.rowsCount,r)},auto)`,y=(M,T)=>{const L=Math.min(Math.max(1,T.columnsCount*T.rowsCount),Math.max(1,r));return L>=r?"":`${M} .ahd-pgn-item>.ahd-pgn-cell:nth-child(n+${L+1}){display:none}`},R=`.${d}`;return`${R} .ahd-pgn-item{display:grid;${A(o)};column-gap:${u}px;row-gap:${p}px}${R} .ahd-pgn-cell{display:flex;flex-direction:column;gap:${n.itemGap}px;min-width:0;box-sizing:border-box}`+y(R,o)+`@media (max-width:${je}px){${R} .ahd-pgn-item{${A(a)}}${R} .ahd-pgn-item>.ahd-pgn-cell{display:flex}`+y(R,a)+`}@media (max-width:${Ae}px){${R} .ahd-pgn-item{${A(i)}}${R} .ahd-pgn-item>.ahd-pgn-cell{display:flex}`+y(R,i)+"}"},[d,o,a,i,r,u,p,n.itemGap]),N=(A,y,R)=>g.jsx("button",{type:"button",className:`ahd-pgn-btn ${A}`,"data-ahd-page":R,style:w,"aria-label":y,children:y});return g.jsxs("div",{className:`${d} ahd-pagination`,style:k,"data-total-pages":c,"data-page-param":n.pageParam,"data-sync-url":n.syncUrl?"1":"0","data-explicit-first-page":n.explicitFirstPage?"1":"0","data-scroll-top":n.scrollToTopOnChange?"1":"0","data-max-visible":n.maxVisiblePages,"data-btn-bg":n.buttonBg,"data-btn-color":n.buttonColor,"data-btn-border":n.buttonBorderColor,"data-active-bg":n.activeButtonBg,"data-active-color":n.activeButtonColor,"data-active-border":n.activeButtonBorderColor,"data-first-label":n.firstLabel,"data-last-label":n.lastLabel,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:_}}),g.jsx("div",{className:"ahd-pgn-content",style:{display:"flex",flexDirection:"column",gap:n.itemGap},children:s.map((A,y)=>g.jsx("div",{className:"ahd-pgn-item","data-ahd-page-index":y,style:y===0?void 0:{display:"none"},children:A.map((R,M)=>g.jsx("div",{className:"ahd-pgn-cell",children:(R.childrenIds??[]).map(T=>g.jsx(ve,{id:T},T))},M))},y))}),(n.showNumbers||n.showPrevNext||n.showFirstLast)&&g.jsxs("div",{className:"ahd-pgn-control",style:{display:"flex",alignItems:"center",gap:`var(--ahd-pgn-btn-gap, ${n.buttonGap}px)`,justifyContent:S,marginTop:`var(--ahd-pgn-control-gap, ${n.controlGap}px)`,flexWrap:"wrap"},"data-show-numbers":n.showNumbers?"1":"0","data-show-prev-next":n.showPrevNext?"1":"0","data-show-first-last":n.showFirstLast?"1":"0",children:[n.showFirstLast&&N("ahd-pgn-first",n.firstLabel,1),n.showPrevNext&&N("ahd-pgn-prev",n.prevLabel,Math.max(1,0)),n.showNumbers&&g.jsx("span",{className:"ahd-pgn-numbers",style:{display:"inline-flex",alignItems:"center",gap:`var(--ahd-pgn-btn-gap, ${n.buttonGap}px)`,flexWrap:"wrap"},children:h.map((A,y)=>A==="ellipsis"?g.jsx("span",{className:"ahd-pgn-ellipsis",style:{...$,border:"none",background:"transparent",cursor:"default"},children:"…"},`e${y}`):g.jsx("button",{type:"button",className:"ahd-pgn-btn ahd-pgn-number","data-ahd-page":A,"aria-label":`Page ${A}`,"aria-current":A===1?"true":void 0,style:A===1?{...$,backgroundColor:n.activeButtonBg,color:n.activeButtonColor,border:`1px solid ${n.activeButtonBorderColor}`}:$,children:A},A))}),n.showPrevNext&&N("ahd-pgn-next",n.nextLabel,2),n.showFirstLast&&N("ahd-pgn-last",n.lastLabel,c)]})]})}const Qv=C({responsive:Te,style:C({padding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),margin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),tableAlign:I(["left","center","right"]).optional().nullable(),fontSize:f().optional().nullable(),fontFamily:x().optional().nullable(),color:x().optional().nullable(),backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:f().optional().nullable(),cellPadding:f().optional().nullable(),headerBackground:x().optional().nullable(),headerColor:x().optional().nullable(),stripedRowColor:x().optional().nullable(),stripedColColor:x().optional().nullable()}).optional().nullable(),props:C({rows:f().int().min(1).max(50).optional().nullable(),columns:f().int().min(1).max(20).optional().nullable(),hasHeader:P().optional().nullable(),cells:W(x()).optional().nullable(),caption:x().optional().nullable(),width:x().optional().nullable(),enableScroll:P().optional().nullable(),enableScrollTablet:P().optional().nullable(),enableScrollMobile:P().optional().nullable()}).optional().nullable()}),Ze={rows:3,columns:3,hasHeader:!0,borderColor:"#e5e7eb",borderWidth:2,cellPadding:8,headerBackground:"#f3f4f6",headerColor:"#111827",color:"#262626",fontSize:14,stripedRowColor:"#F8F6F6"};function Ma(e){if(e)return`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`}function Ta(e){if(e)return`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`}function ex(e,t,n){return t?(typeof e=="string"?e.trim():"").length===0?n:typeof e=="string"?e:n:null}function tx(e){if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)??e}let nx=0;function vl(e){return e?e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient"):!1}function An(e){return e?vl(e)?`background: ${e} !important; background-color: transparent !important;`:`background-color: ${e} !important;`:""}function So(e){return e?vl(e)?[`background-image: ${e};`,"-webkit-background-clip: text;","background-clip: text;","-webkit-text-fill-color: transparent;","color: transparent;"].join(" "):`color: ${e};`:""}function ox({style:e,props:t,renderCell:n}){const o=Math.max(1,Math.min(50,(t==null?void 0:t.rows)??Ze.rows)),a=Math.max(1,Math.min(20,(t==null?void 0:t.columns)??Ze.columns)),i=(t==null?void 0:t.hasHeader)??Ze.hasHeader,r=(t==null?void 0:t.cells)??[],l=o*a,s=r.length===l?r:Array.from({length:l},(O,q)=>r[q]??""),c=(e==null?void 0:e.borderColor)??Ze.borderColor,u=(e==null?void 0:e.borderWidth)??Ze.borderWidth,p=(e==null?void 0:e.cellPadding)??Ze.cellPadding,d=(e==null?void 0:e.headerBackground)??Ze.headerBackground,h=(e==null?void 0:e.headerColor)??Ze.headerColor,m=(e==null?void 0:e.color)??Ze.color,b=(e==null?void 0:e.fontSize)??Ze.fontSize,v=(e==null?void 0:e.backgroundColor)??null,k=(e==null?void 0:e.stripedRowColor)===void 0?Ze.stripedRowColor:e.stripedRowColor,S=(e==null?void 0:e.stripedColColor)??null,$=`ahd-table-${++nx}`,w={padding:Ma(e==null?void 0:e.padding),margin:Ta(e==null?void 0:e.margin),textAlign:(e==null?void 0:e.textAlign)??void 0},_=tx(e==null?void 0:e.fontFamily),N={borderCollapse:"collapse",width:(t==null?void 0:t.width)||"100%",fontSize:b,textAlign:(e==null?void 0:e.textAlign)??void 0},A={border:`${u}px solid ${c}`,padding:p,verticalAlign:"top"},y=_?`.${$}, .${$} * { font-family: ${_} !important; }`:"",R=k?`.${$} > tbody > tr:nth-child(even) > td { ${An(k)} }`:"",M=S?`.${$} > tbody > tr > td:nth-child(even) { ${An(S)} }`:"",T=`
|
|
274
|
+
`);function G0(e){if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)??e}function U0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function Gr(e){if(e!=null)return typeof e=="number"?`${e}px`:e}const Z0={position:"absolute",opacity:0,pointerEvents:"none",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",clip:"rect(0 0 0 0)"},W0={display:"inline-block",minWidth:0,maxWidth:"100%",overflowWrap:"break-word",wordBreak:"break-word"};function bo(e,t,n,o,a,i){if(t==="horizontal")return`${e}{display:block}${e} .ahd-tabs-nav{display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;gap:${o};align-items:center;width:100%;border-bottom:${n} solid var(--ahd-tabs-nav-border,transparent);border-right:0}${e} .ahd-tabs-label{display:inline-flex;border-bottom:3px solid transparent;border-left:0;margin-bottom:calc(-1 * ${n});margin-right:0}${e} .ahd-tabs-panels{width:100%;margin-top:${a};margin-left:0}`;const r=i?`${i}px`:void 0,l=`var(--ahd-tabs-nav-width,${r??"minmax(0,max-content)"})`,s=`width:var(--ahd-tabs-nav-width,${r??"auto"});max-width:var(--ahd-tabs-nav-width,${r??"40%"})`;return`${e}{display:grid;grid-template-columns:${l} minmax(0,1fr);column-gap:${a};align-items:start}${e} .ahd-tabs-nav{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;grid-column:1;grid-row:1;align-self:start;${s};min-width:0;overflow:visible;border-right:${n} solid var(--ahd-tabs-nav-border,transparent);border-bottom:0}${e} .ahd-tabs-label{display:flex;border-left:3px solid transparent;border-bottom:0;margin-right:calc(-1 * ${n});margin-bottom:${o};white-space:normal!important;word-break:break-word;overflow-wrap:anywhere;min-width:0;max-width:100%;box-sizing:border-box}${e} .ahd-tabs-panels{grid-column:2;grid-row:1;width:100%;margin-top:0}`}function q0({style:e,props:t}){const n=(t==null?void 0:t.orientation)??"horizontal",o=(t==null?void 0:t.orientationTablet)??n,a=(t==null?void 0:t.orientationMobile)??o,r=((t==null?void 0:t.behavior)??"showSelectedSection")==="scrollToSelectedSection",l=(t==null?void 0:t.stickyNav)??!1,s=G.useMemo(()=>t!=null&&t.items&&t.items.length>0?t.items:[{label:"Tab 1",contentChildrenIds:[]}],[t==null?void 0:t.items]),c=G.useMemo(()=>`tabs-${Math.random().toString(36).slice(2,9)}`,[]),u=(e==null?void 0:e.tabActiveColor)??void 0,p=(e==null?void 0:e.tabTextColor)??void 0,d=(e==null?void 0:e.tabBgColor)??"transparent",h=(e==null?void 0:e.navBorderColor)??void 0,m=h?"2px":"0px",b=(e==null?void 0:e.tabGap)!=null?`${e.tabGap}px`:"0px",v=(e==null?void 0:e.contentGap)!=null?`${e.contentGap}px`:"0px",k=String((e==null?void 0:e.navWidth)??160),S="var(--ahd-tabs-tab-gap,"+b+")",$="var(--ahd-tabs-content-gap,"+v+")",w=(e==null?void 0:e.activeFontSize)!=null?Gr(e.activeFontSize):void 0,N=(e==null?void 0:e.showActiveBorder)??!0?u||"currentColor":"transparent",A=e==null?void 0:e.padding,y=e==null?void 0:e.margin,R=((y==null?void 0:y.left)??0)+((y==null?void 0:y.right)??0),M={width:R>0?`calc(100% - ${R}px)`:"100%",boxSizing:"border-box",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`1px solid ${e.borderColor}`:void 0,borderRadius:U0(e==null?void 0:e.borderRadius),padding:A?`${A.top}px ${A.right}px ${A.bottom}px ${A.left}px`:void 0,margin:y?`${y.top}px ${y.right}px ${y.bottom}px ${y.left}px`:void 0,fontFamily:G0(e==null?void 0:e.fontFamily),fontSize:Gr(e==null?void 0:e.fontSize),fontWeight:(e==null?void 0:e.fontWeight)??void 0,lineHeight:(e==null?void 0:e.lineHeight)??1.5,color:p,"--ahd-tabs-nav-border":h??"transparent"},T=()=>s.map((j,O)=>g.jsx("input",{type:"radio",id:`${c}-r${O}`,name:c,className:"ahd-tabs-radio",defaultChecked:O===0,style:Z0},O)),L=G.useMemo(()=>{const j=`.${c}`,O=u||"currentColor";let B=`${j} .ahd-tabs-label{color:${p||"inherit"}}`+(r?"":`${j} .ahd-tabs-panel{display:none}`);return s.forEach((Y,de)=>{const oe=`#${c}-r${de}:checked`,ee=`${oe} ~ .ahd-tabs-nav .ahd-tabs-label:nth-of-type(${de+1})`,Z=`${oe} ~ .ahd-tabs-panels .ahd-tabs-panel:nth-of-type(${de+1})`,J=`color:${O}!important;border-left-color:var(--ahd-tabs-active-border-color,${N})!important;border-bottom-color:var(--ahd-tabs-active-border-color,${N})!important`;B+=`${ee}{${J}}`,B+=`${ee} .ahd-tabs-label-text{font-size:var(--ahd-tabs-active-font-size,${w??"inherit"})!important}`,r||(B+=`${Z}{display:block!important}`)}),B+=bo(j,n,m,S,$,k),o!==n&&(B+=`${V0}{${bo(j,o,m,S,$,k)}}`),a!==o&&(B+=`${Y0}{${bo(j,a,m,S,$,k)}}`),l&&(B+=`${j} .ahd-tabs-nav{position:sticky;top:0;z-index:50}:where(.ahd-block-wrapper,[id]):has(> ${j}){position:sticky;top:0;z-index:50}`),B},[s,c,u,p,w,N,n,o,a,r,m,k,S,$,l]),H=j=>r?{display:"block",width:"100%",overflow:"visible",scrollMarginTop:24,marginTop:j===0?void 0:$}:{width:"100%",minWidth:0,overflow:"hidden"},F=n==="vertical"?"ahd-tabs-o-v":"ahd-tabs-o-h";return g.jsxs("div",{className:`${c} ahd-tabs ${F}${l?" ahd-tabs-sticky":""}${r?" ahd-tabs-scroll-sections":""}`,style:M,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:L}}),T(),g.jsx("div",{className:"ahd-tabs-nav",style:{background:d,...l?{position:"sticky",top:0}:{}},children:s.map((j,O)=>g.jsx("label",{htmlFor:`${c}-r${O}`,className:"ahd-tabs-label","data-ahd-tab-index":O,style:{alignItems:"center",cursor:"pointer",padding:n==="vertical"?"10px 16px":"10px 18px",whiteSpace:"nowrap",transition:"color .15s ease,border-color .15s ease",userSelect:"none",position:"relative"},children:g.jsx("span",{className:"ahd-tabs-label-text",style:W0,children:j.label??`Tab ${O+1}`})},O))}),g.jsx("div",{className:"ahd-tabs-panels",children:s.map((j,O)=>g.jsx("div",{id:`${c}-panel-${O}`,className:"ahd-tabs-panel","data-ahd-tab-index":O,style:H(O),children:(j.contentChildrenIds??[]).map(q=>g.jsx(ve,{id:q},q))},O))})]})}const V0=`@media (max-width:${je}px)`,Y0=`@media (max-width:${Ae}px)`,K0=C({contentChildrenIds:W(x()).optional().nullable()}),J0=C({style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),slideGap:f().optional().nullable(),arrowColor:x().optional().nullable(),arrowBgColor:x().optional().nullable(),arrowBorderColor:x().optional().nullable(),arrowSize:f().min(16).max(80).optional().nullable(),dotColor:x().optional().nullable(),dotActiveColor:x().optional().nullable(),dotSize:f().min(4).max(24).optional().nullable()}).optional().nullable(),props:C({slidesPerView:f().min(1).max(6).optional().nullable(),slidesPerViewTablet:f().min(1).max(6).optional().nullable(),slidesPerViewMobile:f().min(1).max(6).optional().nullable(),showArrows:P().optional().nullable(),showDots:P().optional().nullable(),autoplay:P().optional().nullable(),autoplayInterval:f().min(500).max(2e4).optional().nullable(),loop:P().optional().nullable(),transitionMs:f().min(0).max(3e3).optional().nullable(),items:W(K0).min(1).max(20).optional().nullable()}).optional().nullable()});function X0(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}const Q0="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",ev="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",Ur=({d:e,size:t=20})=>g.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:g.jsx("path",{d:e})});function tv({style:e,props:t}){const n=G.useMemo(()=>t!=null&&t.items&&t.items.length>0?t.items:[{contentChildrenIds:[]}],[t==null?void 0:t.items]),o=G.useMemo(()=>`carousel-${Math.random().toString(36).slice(2,9)}`,[]),a=Math.max(1,(t==null?void 0:t.slidesPerView)??1),i=Math.max(1,(t==null?void 0:t.slidesPerViewTablet)??Math.min(a,2)),r=Math.max(1,(t==null?void 0:t.slidesPerViewMobile)??1),l=(t==null?void 0:t.showArrows)??!0,s=(t==null?void 0:t.showDots)??!0,c=(t==null?void 0:t.autoplay)??!1,u=(t==null?void 0:t.autoplayInterval)??4e3,p=(t==null?void 0:t.loop)??!0,d=(t==null?void 0:t.transitionMs)??400,h=(e==null?void 0:e.slideGap)??16,m=(e==null?void 0:e.arrowColor)??"#262626",b=(e==null?void 0:e.arrowBgColor)??"#ffffff",v=(e==null?void 0:e.arrowBorderColor)??"rgba(0,0,0,.12)",k=(e==null?void 0:e.arrowSize)??40,S=(e==null?void 0:e.dotColor)??"#d4d4d4",$=(e==null?void 0:e.dotActiveColor)??"#262626",w=(e==null?void 0:e.dotSize)??8,_=Math.max(12,Math.min(40,Math.round(k*.5))),N=e==null?void 0:e.padding,A=e==null?void 0:e.margin,y=((A==null?void 0:A.left)??0)+((A==null?void 0:A.right)??0),R={width:y>0?`calc(100% - ${y}px)`:"100%",boxSizing:"border-box",position:"relative",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`1px solid ${e.borderColor}`:void 0,borderRadius:X0(e==null?void 0:e.borderRadius),padding:N?`${N.top}px ${N.right}px ${N.bottom}px ${N.left}px`:void 0,margin:A?`${A.top}px ${A.right}px ${A.bottom}px ${A.left}px`:void 0},M=G.useMemo(()=>{const F=`.${o}`,j=O=>`calc((100% - ${h*(O-1)}px) / ${O})`;return`${F} .ahd-carousel-viewport{overflow:hidden;width:100%}${F} .ahd-carousel-track{display:flex;gap:var(--ahd-carousel-slide-gap,${h}px);transition:transform ${d}ms ease;will-change:transform}${F} .ahd-carousel-slide{flex:0 0 ${j(a)};min-width:0;box-sizing:border-box}${F} .ahd-carousel-prev svg,${F} .ahd-carousel-next svg{width:var(--ahd-carousel-chevron-size,${_}px);height:var(--ahd-carousel-chevron-size,${_}px)}@media (max-width:${je}px){${F} .ahd-carousel-slide{flex-basis:${j(i)}}}@media (max-width:${Ae}px){${F} .ahd-carousel-slide{flex-basis:${j(r)}}}`},[o,h,d,a,i,r,_]),T={appearance:"none",WebkitAppearance:"none",width:`var(--ahd-carousel-arrow-size, ${k}px)`,height:`var(--ahd-carousel-arrow-size, ${k}px)`,minWidth:`var(--ahd-carousel-arrow-size, ${k}px)`,borderRadius:"50%",border:`1px solid ${v}`,backgroundColor:b,backgroundImage:"none",color:m,boxShadow:"none",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,lineHeight:1,padding:0},L=Math.min(a,i,r),H=Math.max(1,n.length-L+1);return g.jsxs("div",{className:`${o} ahd-carousel`,style:R,"data-per-view":a,"data-per-view-tablet":i,"data-per-view-mobile":r,"data-autoplay":c?"1":"0","data-autoplay-interval":u,"data-loop":p?"1":"0",children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:M}}),g.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[l&&g.jsx("button",{type:"button",className:"ahd-carousel-prev",style:T,"aria-label":"Previous slide",children:g.jsx(Ur,{d:Q0,size:_})}),g.jsx("div",{className:"ahd-carousel-viewport",children:g.jsx("div",{className:"ahd-carousel-track",children:n.map((F,j)=>g.jsx("div",{className:"ahd-carousel-slide","data-ahd-slide-index":j,children:(F.contentChildrenIds??[]).map(O=>g.jsx(ve,{id:O},O))},j))})}),l&&g.jsx("button",{type:"button",className:"ahd-carousel-next",style:T,"aria-label":"Next slide",children:g.jsx(Ur,{d:ev,size:_})})]}),s&&H>1&&g.jsx("div",{className:"ahd-carousel-dots",style:{display:"flex",justifyContent:"center",gap:8,marginTop:16},"data-dot-color":S,"data-dot-active-color":$,children:Array.from({length:H}).map((F,j)=>g.jsx("button",{type:"button",className:"ahd-carousel-dot","data-ahd-dot-index":j,"aria-label":`Go to slide ${j+1}`,style:{appearance:"none",WebkitAppearance:"none",width:`var(--ahd-carousel-dot-size, ${w}px)`,height:`var(--ahd-carousel-dot-size, ${w}px)`,minWidth:`var(--ahd-carousel-dot-size, ${w}px)`,padding:0,border:"none",borderRadius:"50%",cursor:"pointer",boxShadow:"none",backgroundColor:j===0?$:S,backgroundImage:"none"}},j))})]})}const nv=C({style:C({starColor:x().optional().nullable(),starEmptyColor:x().optional().nullable(),starSize:f().min(8).max(80).optional().nullable(),starGap:f().min(0).max(40).optional().nullable(),textColor:x().optional().nullable(),fontSize:D([x(),f()]).optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:x().optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable()}).optional().nullable(),props:C({value:D([f(),x()]).optional().nullable(),max:D([f(),x()]).optional().nullable(),showValue:P().optional().nullable()}).optional().nullable()}),Zr="M12 .587l3.668 7.431 8.2 1.193-5.934 5.787 1.401 8.168L12 18.896l-7.335 3.866 1.401-8.168L.132 9.211l8.2-1.193z";function ov(e){if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)??e}function av(e){if(e!=null)return typeof e=="number"?`${e}px`:e}function rv({fillPct:e,size:t,filledColor:n,emptyColor:o}){return g.jsxs("span",{className:"ahd-rating-star",style:{position:"relative",display:"inline-block",width:`var(--ahd-rating-star-size, ${t}px)`,height:`var(--ahd-rating-star-size, ${t}px)`,lineHeight:0},children:[g.jsx("svg",{viewBox:"0 0 24 24",fill:o,style:{display:"block",width:"100%",height:"100%"},"aria-hidden":"true",children:g.jsx("path",{d:Zr})}),g.jsx("span",{className:"ahd-rating-star-fill",style:{position:"absolute",top:0,left:0,height:"100%",width:`${e}%`,overflow:"hidden",lineHeight:0},children:g.jsx("svg",{viewBox:"0 0 24 24",fill:n,style:{display:"block",width:`var(--ahd-rating-star-size, ${t}px)`,height:`var(--ahd-rating-star-size, ${t}px)`},"aria-hidden":"true",children:g.jsx("path",{d:Zr})})})]})}function iv({style:e,props:t}){const n=G.useMemo(()=>`rating-${Math.random().toString(36).slice(2,9)}`,[]),o=(k,S)=>{if(typeof k=="number")return Number.isFinite(k)?k:S;const $=parseFloat(String(k??""));return Number.isFinite($)?$:S},a=Math.max(1,Math.min(10,Math.round(o(t==null?void 0:t.max,5)))),i=Math.max(0,Math.min(a,o(t==null?void 0:t.value,0))),r=(t==null?void 0:t.showValue)??!0,l=(e==null?void 0:e.starColor)??"#facc15",s=(e==null?void 0:e.starEmptyColor)??"#e5e7eb",c=(e==null?void 0:e.starSize)??24,u=(e==null?void 0:e.starGap)??4,p=(e==null?void 0:e.textColor)??"#262626",d=(e==null?void 0:e.textAlign)??"left",h=e==null?void 0:e.padding,m=e==null?void 0:e.margin,b={display:"flex",alignItems:"center",gap:`calc(var(--ahd-rating-star-gap, ${u}px) + 4px)`,justifyContent:d==="center"?"center":d==="right"?"flex-end":"flex-start",flexWrap:"wrap",color:p,fontFamily:ov(e==null?void 0:e.fontFamily),fontSize:av(e==null?void 0:e.fontSize),fontWeight:(e==null?void 0:e.fontWeight)??void 0,padding:h?`${h.top}px ${h.right}px ${h.bottom}px ${h.left}px`:void 0,margin:m?`${m.top}px ${m.right}px ${m.bottom}px ${m.left}px`:void 0,boxSizing:"border-box"},v=k=>{const S=i-k;return S>=1?100:S>=.5?50:S>0?Math.round(S*100):0};return g.jsxs("div",{className:`${n} ahd-rating rating-block`,style:b,children:[g.jsx("span",{className:"ahd-rating-stars",style:{display:"inline-flex",alignItems:"center",gap:`var(--ahd-rating-star-gap, ${u}px)`},children:Array.from({length:a}).map((k,S)=>g.jsx(rv,{fillPct:v(S),size:c,filledColor:l,emptyColor:s},S))}),r&&g.jsxs("span",{className:"ahd-rating-value",style:{fontWeight:600},children:[Number.isInteger(i)?i:i.toFixed(1),g.jsxs("span",{style:{opacity:.55},children:["/",a]})]})]})}const lv=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),sv=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),cv=C({style:C({trackColor:x().optional().nullable(),fillColor:x().optional().nullable(),textColor:x().optional().nullable(),fontSize:D([x(),f()]).optional().nullable(),fontFamily:x().optional().nullable(),fontWeight:x().optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),barHeight:f().min(2).max(60).optional().nullable(),barRadius:f().min(0).max(40).optional().nullable(),circleSize:f().min(40).max(320).optional().nullable(),strokeWidth:f().min(2).max(40).optional().nullable(),stepSize:f().min(4).max(48).optional().nullable(),stepGap:f().min(0).max(40).optional().nullable(),padding:lv,margin:sv}).optional().nullable(),props:C({variant:I(["linear","circular","steps"]).optional().nullable(),value:D([f(),x()]).optional().nullable(),max:D([f(),x()]).optional().nullable(),showLabel:P().optional().nullable(),labelFormat:I(["percent","fraction"]).optional().nullable(),steps:f().min(2).max(20).optional().nullable(),striped:P().optional().nullable(),animated:P().optional().nullable()}).optional().nullable()});function uv(e){if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)??e}function dv(e){if(e!=null)return typeof e=="number"?`${e}px`:e}function Wr(e,t){if(typeof e=="number")return Number.isFinite(e)?e:t;const n=parseFloat(String(e??""));return Number.isFinite(n)?n:t}function qr(e,t,n,o){return o==="fraction"?`${Number.isInteger(t)?t:t.toFixed(1)}/${n}`:`${Math.round(e)}%`}function hv({pct:e,label:t,trackColor:n,fillColor:o,barHeight:a,barRadius:i,striped:r,animated:l,ariaLabel:s,value:c,max:u}){const p=r&&l;return g.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6,width:"100%"},children:[p&&g.jsx("style",{dangerouslySetInnerHTML:{__html:"@keyframes ahd-progress-stripes{from{background-position:1rem 0}to{background-position:0 0}}.ahd-progress-animated{animation:ahd-progress-stripes 1s linear infinite}@media (prefers-reduced-motion: reduce){.ahd-progress-animated{animation:none}}"}}),g.jsx("div",{className:"ahd-progress-track",role:"progressbar","aria-valuenow":c,"aria-valuemin":0,"aria-valuemax":u,"aria-label":s,style:{width:"100%",height:a,borderRadius:i,backgroundColor:n,overflow:"hidden",boxSizing:"border-box"},children:g.jsx("div",{className:`ahd-progress-fill${r?" ahd-progress-striped":""}${p?" ahd-progress-animated":""}`,style:{width:`${e}%`,height:"100%",borderRadius:i,backgroundColor:o,backgroundImage:r?"linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)":void 0,backgroundSize:r?"1rem 1rem":void 0,transition:"width 300ms ease"}})}),t!=null&&g.jsx("span",{children:t})]})}function fv({pct:e,label:t,trackColor:n,fillColor:o,size:a,strokeWidth:i,textColor:r,ariaLabel:l,value:s,max:c}){const u=(a-i)/2,p=2*Math.PI*u,d=p*(1-e/100),h=a/2;return g.jsxs("div",{className:"ahd-progress-circular",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":c,"aria-label":l,style:{position:"relative",width:a,height:a,display:"inline-flex"},children:[g.jsxs("svg",{width:a,height:a,viewBox:`0 0 ${a} ${a}`,children:[g.jsx("circle",{cx:h,cy:h,r:u,fill:"none",stroke:n,strokeWidth:i}),g.jsx("circle",{cx:h,cy:h,r:u,fill:"none",stroke:o,strokeWidth:i,strokeLinecap:"round",strokeDasharray:p,strokeDashoffset:d,transform:`rotate(-90 ${h} ${h})`,style:{transition:"stroke-dashoffset 300ms ease"}})]}),t!=null&&g.jsx("span",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:r,fontWeight:600},children:t})]})}function pv({steps:e,activeIndex:t,trackColor:n,fillColor:o,stepSize:a,stepGap:i,label:r,ariaLabel:l,value:s,max:c}){return g.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[g.jsx("div",{className:"ahd-progress-steps",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":c,"aria-label":l,style:{display:"inline-flex",alignItems:"center",gap:i},children:Array.from({length:e}).map((u,p)=>g.jsx("span",{"data-active":p<t?"true":"false",style:{width:a,height:a,borderRadius:"50%",backgroundColor:p<t?o:n,transition:"background-color 200ms ease",display:"inline-block"}},p))}),r!=null&&g.jsx("span",{children:r})]})}function mv({style:e,props:t}){const n=G.useMemo(()=>`progress-${Math.random().toString(36).slice(2,9)}`,[]),o=(t==null?void 0:t.variant)??"linear",a=Math.max(1,Wr(t==null?void 0:t.max,100)),i=Math.max(0,Math.min(a,Wr(t==null?void 0:t.value,0))),r=i/a*100,l=(t==null?void 0:t.showLabel)??!0,s=(t==null?void 0:t.labelFormat)??"percent",c=l?qr(r,i,a,s):null,u=`Progress: ${qr(r,i,a,"percent")}`,p=(e==null?void 0:e.trackColor)??"#e5e7eb",d=(e==null?void 0:e.fillColor)??"#3F73FF",h=(e==null?void 0:e.textColor)??"#262626",m=(e==null?void 0:e.textAlign)??"left",b=e==null?void 0:e.padding,v=e==null?void 0:e.margin,k={display:"flex",justifyContent:m==="center"?"center":m==="right"?"flex-end":"flex-start",color:h,fontFamily:uv(e==null?void 0:e.fontFamily),fontSize:dv((e==null?void 0:e.fontSize)??13),fontWeight:(e==null?void 0:e.fontWeight)??void 0,padding:b?`${b.top}px ${b.right}px ${b.bottom}px ${b.left}px`:void 0,margin:v?`${v.top}px ${v.right}px ${v.bottom}px ${v.left}px`:void 0,boxSizing:"border-box"},S=Math.max(2,Math.min(20,Math.round((t==null?void 0:t.steps)??5))),$=Math.round(r/100*S);return g.jsx("div",{className:`${n} ahd-progress progress-block`,style:k,children:o==="circular"?g.jsx(fv,{pct:r,label:c,trackColor:p,fillColor:d,size:(e==null?void 0:e.circleSize)??96,strokeWidth:(e==null?void 0:e.strokeWidth)??8,textColor:h,ariaLabel:u,value:i,max:a}):o==="steps"?g.jsx(pv,{steps:S,activeIndex:$,trackColor:p,fillColor:d,stepSize:(e==null?void 0:e.stepSize)??14,stepGap:(e==null?void 0:e.stepGap)??12,label:c,ariaLabel:u,value:i,max:a}):g.jsx(hv,{pct:r,label:c,trackColor:p,fillColor:d,barHeight:(e==null?void 0:e.barHeight)??12,barRadius:(e==null?void 0:e.barRadius)??6,striped:(t==null?void 0:t.striped)??!1,animated:(t==null?void 0:t.animated)??!1,ariaLabel:u,value:i,max:a})})}const gv=C({responsive:Te,style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),itemGap:f().min(0).max(200).optional().nullable(),viewportHeight:f().min(40).max(1200).optional().nullable()}).optional().nullable(),props:C({direction:I(["left","right","up","down"]).optional().nullable(),speed:f().min(5).max(200).optional().nullable(),pauseOnHover:P().optional().nullable(),repeat:f().min(2).max(6).optional().nullable(),fadeEdges:P().optional().nullable(),verticalAlign:I(["top","middle","bottom"]).optional().nullable(),items:W(C({contentChildrenIds:W(x()).optional().nullable()})).min(1).max(30).optional().nullable()}).optional().nullable()}),bv=40,vv=32,xv=200,ml=(e,t)=>typeof e=="number"?Math.max(40,Math.min(1200,e)):t,gl=(e,t)=>typeof e=="number"?Math.max(5,Math.min(200,e)):t,Sv=e=>Math.max(2,Math.round(1200/e)),wv=e=>Math.max(2,Math.min(6,typeof e=="number"?e:2)),bl=e=>e==="up"||e==="down",kv=e=>e==="top"?"flex-start":e==="bottom"?"flex-end":"center",Dn=e=>e?"linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent)":"linear-gradient(to right, transparent, #000 12%, #000 88%, transparent)";function _v(e,t){return{speed:gl(t==null?void 0:t.speed,bv),pauseOnHover:(t==null?void 0:t.pauseOnHover)??!1,fadeEdges:(t==null?void 0:t.fadeEdges)??!1,itemGap:(e==null?void 0:e.itemGap)??vv,viewportHeight:ml(e==null?void 0:e.viewportHeight,xv)}}function $v(e,t,n){var a,i,r,l,s;const o=e==null?void 0:e[t];return{speed:gl((a=o==null?void 0:o.props)==null?void 0:a.speed,n.speed),pauseOnHover:((i=o==null?void 0:o.props)==null?void 0:i.pauseOnHover)??n.pauseOnHover,fadeEdges:((r=o==null?void 0:o.props)==null?void 0:r.fadeEdges)??n.fadeEdges,itemGap:((l=o==null?void 0:o.style)==null?void 0:l.itemGap)??n.itemGap,viewportHeight:ml((s=o==null?void 0:o.style)==null?void 0:s.viewportHeight,n.viewportHeight)}}const Cv=(e,t)=>{const n=e==null?void 0:e[t];return!!(n!=null&&n.props||n!=null&&n.style)},Vr=e=>`--ahd-mq-gap:${e.itemGap}px;--ahd-mq-duration:${Sv(e.speed)}s;--ahd-mq-height:${e.viewportHeight}px;--ahd-mq-hover:${e.pauseOnHover?"paused":"running"}`,Av=(e,t)=>e.fadeEdges?`-webkit-mask-image:${Dn(t)}!important;mask-image:${Dn(t)}!important`:"-webkit-mask-image:none!important;mask-image:none!important";function yv({instanceId:e,direction:t,repeat:n,desktop:o,responsive:a,verticalAlign:i}){const r=`.${e}`,l=bl(t),s=l?"column":"row",c=t==="right"||t==="down"?"reverse":"normal",u=l?"flex-start":kv(i),p=100/n,d=l?`@keyframes ${e}-kf{from{transform:translateY(0)}to{transform:translateY(-${p}%)}}`:`@keyframes ${e}-kf{from{transform:translateX(0)}to{transform:translateX(-${p}%)}}`,h=(b,v)=>{if(!Cv(a,v))return"";const k=$v(a,v,o);return`${b}{${r}{${Vr(k)};${Av(k,l)}}}`},m=l?`${r} .ahd-marquee-viewport{height:var(--ahd-mq-height);overflow:hidden;position:relative}`:`${r} .ahd-marquee-viewport{overflow:hidden;position:relative;max-width:100%}`;return d+`${r}{${Vr(o)}}`+m+`${r} .ahd-marquee-track{display:flex;flex-direction:${s};gap:var(--ahd-mq-gap);width:${l?"100%":"max-content"};animation:${e}-kf var(--ahd-mq-duration) linear infinite ${c};will-change:transform}${r} .ahd-marquee-group{display:flex;flex-direction:${s};gap:var(--ahd-mq-gap);flex:0 0 auto;align-items:${u}}${r} .ahd-marquee-item{flex:0 0 auto;${l?"width:100%":""}}${r}:hover .ahd-marquee-track{animation-play-state:var(--ahd-mq-hover)}`+h(dn,"tablet")+h(Oe,"mobile")+`@media (prefers-reduced-motion: reduce){${r} .ahd-marquee-track{animation:none}}`}function Nv(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function Rv(e,t){if(!e)return{};const n=(t==null?void 0:t.top)??1,o=(t==null?void 0:t.bottom)??1;return{borderTop:n>0?`${n}px solid ${e}`:void 0,borderBottom:o>0?`${o}px solid ${e}`:void 0}}function Ev({style:e,props:t,responsive:n}){const o=G.useMemo(()=>`marquee-${Math.random().toString(36).slice(2,9)}`,[]),a=t!=null&&t.items&&t.items.length>0?t.items:[{contentChildrenIds:[]}],i=(t==null?void 0:t.direction)??"left",r=wv(t==null?void 0:t.repeat),l=bl(i),s=_v(e,t),c=e==null?void 0:e.padding,u=e==null?void 0:e.margin,p=((u==null?void 0:u.left)??0)+((u==null?void 0:u.right)??0),d={width:p>0?`calc(100% - ${p}px)`:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"hidden",position:"relative",background:(e==null?void 0:e.backgroundColor)??void 0,...Rv(e==null?void 0:e.borderColor,e==null?void 0:e.borderWidth),borderRadius:Nv(e==null?void 0:e.borderRadius),padding:c?`${c.top}px ${c.right}px ${c.bottom}px ${c.left}px`:void 0,margin:u?`${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`:void 0,...s.fadeEdges?{WebkitMaskImage:Dn(l),maskImage:Dn(l)}:{}},h=(t==null?void 0:t.verticalAlign)??"middle",m=G.useMemo(()=>yv({instanceId:o,direction:i,repeat:r,desktop:s,responsive:n,verticalAlign:h}),[o,i,r,s.speed,s.pauseOnHover,s.fadeEdges,s.itemGap,s.viewportHeight,n,h]),b=v=>g.jsx("div",{className:"ahd-marquee-group","aria-hidden":v>0?!0:void 0,children:a.map((k,S)=>g.jsx("div",{className:"ahd-marquee-item",children:(k.contentChildrenIds??[]).map($=>g.jsx(ve,{id:$},$))},S))},v);return g.jsxs("div",{className:`${o} ahd-marquee`,style:d,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:m}}),g.jsx("div",{className:"ahd-marquee-viewport",children:g.jsx("div",{className:"ahd-marquee-track",children:Array.from({length:r}).map((v,k)=>b(k))})})]})}const Iv=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),Mv=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),Tv=C({style:C({backgroundColor:x().optional().nullable(),textColor:x().optional().nullable(),accentColor:x().optional().nullable(),numberColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:Iv,margin:Mv}).optional().nullable(),props:C({layout:I(["digitalFlip","circularProgress","textInline"]).default("digitalFlip"),targetDate:x().default(()=>new Date(Date.now()+24*60*60*1e3).toISOString()),showLabels:P().default(!0),expiredBehavior:I(["hide","showMessage","showZeros"]).default("showMessage"),expiredMessage:x().default("Offer has ended")}).optional().nullable()});function Pv(e){return String(Math.max(0,e)).padStart(2,"0")}function Ov({days:e,hours:t,minutes:n,seconds:o,showLabels:a,accentColor:i,textColor:r,numberColor:l}){const s=[{value:e,label:"Days"},{value:t,label:"Hours"},{value:n,label:"Minutes"},{value:o,label:"Seconds"}];return g.jsx("div",{className:"ahd-timer-digital",style:{display:"flex",gap:12,alignItems:"flex-start",justifyContent:"center"},children:s.map(c=>g.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:6},children:[g.jsx("div",{"data-ahd-timer-unit":c.label.toLowerCase(),style:{minWidth:48,padding:"8px 10px",borderRadius:8,background:i??"#1f1f1f",color:l??"#ffffff",fontVariantNumeric:"tabular-nums",fontSize:22,fontWeight:700,textAlign:"center",lineHeight:1},children:Pv(c.value)}),a&&g.jsx("span",{style:{fontSize:11,color:r??"#6b7280",textTransform:"uppercase"},children:c.label})]},c.label))})}function Lv(e){return String(Math.max(0,e)).padStart(2,"0")}const Wo=26,Yr=2*Math.PI*Wo;function zv({value:e,max:t,accentColor:n,numberColor:o,unit:a}){const i=t>0?Math.min(1,Math.max(0,e/t)):0,r=Yr*(1-i);return g.jsxs("svg",{"data-ahd-timer-unit":a,"data-ahd-timer-max":t,width:64,height:64,viewBox:"0 0 64 64",children:[g.jsx("circle",{cx:32,cy:32,r:Wo,fill:"none",stroke:"#e5e7eb",strokeWidth:5}),g.jsx("circle",{"data-ahd-timer-ring":!0,cx:32,cy:32,r:Wo,fill:"none",stroke:n,strokeWidth:5,strokeLinecap:"round",strokeDasharray:Yr,strokeDashoffset:r,transform:"rotate(-90 32 32)",style:{transition:"stroke-dashoffset 1s linear"}}),g.jsx("text",{"data-ahd-timer-text":!0,x:32,y:37,textAnchor:"middle",fontSize:15,fontWeight:700,fill:o,children:Lv(e)})]})}function jv({days:e,hours:t,minutes:n,seconds:o,showLabels:a,accentColor:i,textColor:r,numberColor:l}){const s=i??"#7c3aed",c=l??"#1f1f1f",u=[{value:e,max:30,label:"Days"},{value:t,max:24,label:"Hours"},{value:n,max:60,label:"Minutes"},{value:o,max:60,label:"Seconds"}];return g.jsx("div",{className:"ahd-timer-circular",style:{display:"flex",gap:16,alignItems:"flex-start",justifyContent:"center"},children:u.map(p=>g.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:4},children:[g.jsx(zv,{value:p.value,max:p.max,accentColor:s,numberColor:c,unit:p.label.toLowerCase()}),a&&g.jsx("span",{style:{fontSize:11,color:r??"#6b7280",textTransform:"uppercase"},children:p.label})]},p.label))})}function vt(e){return String(Math.max(0,e)).padStart(2,"0")}function Bv({days:e,hours:t,minutes:n,seconds:o,showLabels:a,accentColor:i,textColor:r}){const l=[{key:"days",text:a?`${e}d`:vt(e)},{key:"hours",text:a?`${vt(t)}h`:vt(t)},{key:"minutes",text:a?`${vt(n)}m`:vt(n)},{key:"seconds",text:a?`${vt(o)}s`:vt(o)}],s=a?" ":" : ";return g.jsxs("div",{className:"ahd-timer-inline","data-ahd-timer-show-labels":a?"1":"0",style:{textAlign:"center",fontVariantNumeric:"tabular-nums",fontSize:16,fontWeight:600,color:r??"#1f1f1f"},children:[g.jsx("span",{style:{color:i??"#7c3aed",marginRight:6},children:"Ends in"}),l.map((c,u)=>g.jsxs(G.Fragment,{children:[u>0&&s,g.jsx("span",{"data-ahd-timer-unit":c.key,children:c.text})]},c.key))]})}function Dv(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function Hv(e,t=Date.now()){const n=e?new Date(e).getTime():NaN;if(Number.isNaN(n))return{days:0,hours:0,minutes:0,seconds:0,completed:!0};const o=Math.max(0,n-t),a=o<=0,i=Math.floor(o/1e3);return{days:Math.floor(i/86400),hours:Math.floor(i%86400/3600),minutes:Math.floor(i%3600/60),seconds:i%60,completed:a}}function Fv({style:e,props:t}){const n=t??{},o=n.layout??"digitalFlip",a=n.showLabels??!0,i=n.expiredBehavior??"showMessage",r=n.expiredMessage||"Offer has ended",l=Hv(n.targetDate),s=l.completed,c=e==null?void 0:e.padding,u=e==null?void 0:e.margin,p=((u==null?void 0:u.left)??0)+((u==null?void 0:u.right)??0),d={width:p>0?`calc(100% - ${p}px)`:"100%",boxSizing:"border-box",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`1px solid ${e.borderColor}`:void 0,borderRadius:Dv(e==null?void 0:e.borderRadius),padding:c?`${c.top}px ${c.right}px ${c.bottom}px ${c.left}px`:"16px",margin:u?`${u.top}px ${u.right}px ${u.bottom}px ${u.left}px`:void 0},h={days:l.days,hours:l.hours,minutes:l.minutes,seconds:l.seconds,showLabels:a,accentColor:e==null?void 0:e.accentColor,textColor:e==null?void 0:e.textColor,numberColor:e==null?void 0:e.numberColor},m=s&&i==="showMessage",b=s&&i==="hide";return g.jsxs("div",{className:"ahd-timer","data-layout":o,"data-ahd-timer-target-date":n.targetDate,"data-ahd-timer-expired-behavior":i,"data-ahd-timer-expired-message":r,"data-ahd-timer-show-labels":a?"1":"0",style:{...d,display:b?"none":void 0},children:[g.jsx("div",{"data-ahd-timer-message":!0,style:{textAlign:"center",color:(e==null?void 0:e.textColor)??"#1f1f1f",display:m?void 0:"none"},children:r}),g.jsxs("div",{"data-ahd-timer-body":!0,style:{display:m?"none":void 0},children:[o==="digitalFlip"&&g.jsx(Ov,{...h}),o==="circularProgress"&&g.jsx(jv,{...h}),o==="textInline"&&g.jsx(Bv,{...h})]})]})}const Gv=I(["left","center","right","space-between"]),Uv=C({contentChildrenIds:W(x()).optional().nullable()}),Zv=C({childrenIds:W(x())}),Wv=C({style:C({backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderRadius:D([f(),x(),C({topLeft:f(),topRight:f(),bottomRight:f(),bottomLeft:f()})]).optional().nullable(),padding:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),margin:C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),itemGap:f().min(0).max(120).optional().nullable(),columnsGap:f().min(0).max(120).optional().nullable(),rowsGap:f().min(0).max(120).optional().nullable(),controlGap:f().min(0).max(120).optional().nullable(),controlAlign:Gv.optional().nullable(),buttonSize:f().min(20).max(72).optional().nullable(),buttonGap:f().min(0).max(40).optional().nullable(),buttonRadius:f().min(0).max(999).optional().nullable(),buttonBg:x().optional().nullable(),buttonColor:x().optional().nullable(),buttonBorderColor:x().optional().nullable(),activeButtonBg:x().optional().nullable(),activeButtonColor:x().optional().nullable(),activeButtonBorderColor:x().optional().nullable(),arrowColor:x().optional().nullable(),fontSize:f().min(8).max(40).optional().nullable(),fontFamily:x().optional().nullable()}).optional().nullable(),props:C({items:W(Uv).min(1).max(50).optional().nullable(),cells:W(Zv).optional().nullable(),columnsCount:f().int().min(1).max(12).optional().nullable(),rowsCount:f().int().min(1).max(24).optional().nullable(),columnsCountTablet:f().int().min(1).max(12).optional().nullable(),columnsCountMobile:f().int().min(1).max(12).optional().nullable(),rowsCountTablet:f().int().min(1).max(24).optional().nullable(),rowsCountMobile:f().int().min(1).max(24).optional().nullable(),contentAlignment:I(["top","middle","bottom"]).optional().nullable(),horizontalAlignment:I(["left","center","right"]).optional().nullable(),cellsPerPage:f().int().min(1).max(100).optional().nullable(),repeatableEnabled:P().optional().nullable(),pageParam:x().min(1).max(40).optional().nullable(),syncUrl:P().optional().nullable(),showNumbers:P().optional().nullable(),showPrevNext:P().optional().nullable(),showFirstLast:P().optional().nullable(),maxVisiblePages:f().min(0).max(50).optional().nullable(),prevLabel:x().max(24).optional().nullable(),nextLabel:x().max(24).optional().nullable(),firstLabel:x().max(24).optional().nullable(),lastLabel:x().max(24).optional().nullable(),scrollToTopOnChange:P().optional().nullable(),explicitFirstPage:P().optional().nullable()}).optional().nullable()}),qo={columnsCount:2,rowsCount:2};function vo(e,t="desktop"){const n=qo,o=(e==null?void 0:e.columnsCount)??n.columnsCount,a=(e==null?void 0:e.rowsCount)??n.rowsCount,i=t==="mobile"?(e==null?void 0:e.columnsCountMobile)??1:t==="tablet"?(e==null?void 0:e.columnsCountTablet)??o:o,r=t==="mobile"?(e==null?void 0:e.rowsCountMobile)??a:t==="tablet"?(e==null?void 0:e.rowsCountTablet)??a:a;let l;Array.isArray(e==null?void 0:e.cells)?l=e.cells:Array.isArray(e==null?void 0:e.items)?l=e.items.map(u=>({childrenIds:Array.isArray(u==null?void 0:u.contentChildrenIds)?u.contentChildrenIds:[]})):l=[];const s=Math.max(1,o*a,i*r,l.length),c=Array.from({length:s},(u,p)=>{var d;return{childrenIds:Array.isArray((d=l[p])==null?void 0:d.childrenIds)?l[p].childrenIds:[]}});return{columnsCount:i,rowsCount:r,cells:c}}function xo(e,t="desktop"){if((e==null?void 0:e.cellsPerPage)!=null)return Math.max(1,e.cellsPerPage);const n=(e==null?void 0:e.columnsCount)??qo.columnsCount,o=(e==null?void 0:e.rowsCount)??qo.rowsCount,a=t==="mobile"?(e==null?void 0:e.columnsCountMobile)??1:t==="tablet"?(e==null?void 0:e.columnsCountTablet)??n:n,i=t==="mobile"?(e==null?void 0:e.rowsCountMobile)??o:t==="tablet"?(e==null?void 0:e.rowsCountTablet)??o:o;return Math.max(1,a*i)}function qv(e,t,n){const o=Math.max(1,e),a=Math.min(Math.max(1,n),o*Math.max(1,t));return Math.max(1,Math.ceil(a/o))}function Vv(e,t){const n=Math.max(1,t);if(e.length===0)return[[]];const o=[];for(let a=0;a<e.length;a+=n)o.push(e.slice(a,a+n));return o}const Yv={pageParam:"page",syncUrl:!0,showNumbers:!0,showPrevNext:!0,showFirstLast:!1,maxVisiblePages:7,scrollToTopOnChange:!0,prevLabel:"‹",nextLabel:"›",firstLabel:"«",lastLabel:"»",itemGap:16,controlGap:24,controlAlign:"center",buttonSize:36,buttonGap:8,buttonRadius:8,buttonBg:"#ffffff",buttonColor:"#262626",buttonBorderColor:"rgba(0,0,0,.12)",activeButtonBg:"#5550ff",activeButtonColor:"#ffffff",activeButtonBorderColor:"#5550ff",arrowColor:"#262626",fontSize:14};function Kv({style:e,props:t}){const n=Yv;return{pageParam:((t==null?void 0:t.pageParam)??n.pageParam).trim()||n.pageParam,syncUrl:(t==null?void 0:t.syncUrl)??n.syncUrl,showNumbers:(t==null?void 0:t.showNumbers)??n.showNumbers,showPrevNext:(t==null?void 0:t.showPrevNext)??n.showPrevNext,showFirstLast:(t==null?void 0:t.showFirstLast)??n.showFirstLast,maxVisiblePages:(()=>{const o=(t==null?void 0:t.maxVisiblePages)??n.maxVisiblePages;return o<=0?0:Math.max(5,o)})(),scrollToTopOnChange:(t==null?void 0:t.scrollToTopOnChange)??n.scrollToTopOnChange,explicitFirstPage:(t==null?void 0:t.syncUrl)??n.syncUrl,prevLabel:(t==null?void 0:t.prevLabel)??n.prevLabel,nextLabel:(t==null?void 0:t.nextLabel)??n.nextLabel,firstLabel:(t==null?void 0:t.firstLabel)??n.firstLabel,lastLabel:(t==null?void 0:t.lastLabel)??n.lastLabel,itemGap:(e==null?void 0:e.itemGap)??n.itemGap,controlGap:(e==null?void 0:e.controlGap)??n.controlGap,controlAlign:(e==null?void 0:e.controlAlign)??n.controlAlign,buttonSize:(e==null?void 0:e.buttonSize)??n.buttonSize,buttonGap:(e==null?void 0:e.buttonGap)??n.buttonGap,buttonRadius:(e==null?void 0:e.buttonRadius)??n.buttonRadius,buttonBg:(e==null?void 0:e.buttonBg)??n.buttonBg,buttonColor:(e==null?void 0:e.buttonColor)??n.buttonColor,buttonBorderColor:(e==null?void 0:e.buttonBorderColor)??n.buttonBorderColor,activeButtonBg:(e==null?void 0:e.activeButtonBg)??n.activeButtonBg,activeButtonColor:(e==null?void 0:e.activeButtonColor)??n.activeButtonColor,activeButtonBorderColor:(e==null?void 0:e.activeButtonBorderColor)??n.activeButtonBorderColor,arrowColor:(e==null?void 0:e.arrowColor)??n.arrowColor,fontSize:(e==null?void 0:e.fontSize)??n.fontSize,fontFamily:(e==null?void 0:e.fontFamily)??void 0}}function Jv(e){return Math.max(1,e)}function Xv(e,t,n){if(t<=1)return[1];if(n<=0||t<=n)return Array.from({length:t},(s,c)=>c+1);const o=[],a=Math.max(1,n-2),i=Math.floor(a/2);let r=Math.max(2,e-i),l=Math.min(t-1,r+a-1);r=Math.max(2,Math.min(r,l-a+1)),o.push(1),r>2&&o.push("ellipsis");for(let s=r;s<=l;s++)o.push(s);return l<t-1&&o.push("ellipsis"),o.push(t),o}function Qv(e){if(e!=null)return typeof e=="number"?`${e}px`:typeof e=="string"?e:`${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px`}function ex({style:e,props:t}){const n=Kv({style:e,props:t}),o=vo(t,"desktop"),a=vo(t,"tablet"),i=vo(t,"mobile"),r=Math.max(xo(t,"desktop"),xo(t,"tablet"),xo(t,"mobile")),l=G.useMemo(()=>o.cells.length>=r?o.cells:Array.from({length:r},(A,y)=>o.cells[y]??{childrenIds:[]}),[o.cells,r]),s=G.useMemo(()=>Vv(l,r),[l,r]),c=Jv(s.length),u=(e==null?void 0:e.columnsGap)??n.itemGap,p=(e==null?void 0:e.rowsGap)??n.itemGap,d=G.useMemo(()=>`pgn-${Math.random().toString(36).slice(2,9)}`,[]),h=G.useMemo(()=>Xv(1,c,n.maxVisiblePages),[c,n.maxVisiblePages]),m=e==null?void 0:e.padding,b=e==null?void 0:e.margin,v=((b==null?void 0:b.left)??0)+((b==null?void 0:b.right)??0),k={width:v>0?`calc(100% - ${v}px)`:"100%",boxSizing:"border-box",background:(e==null?void 0:e.backgroundColor)??void 0,border:e!=null&&e.borderColor?`1px solid ${e.borderColor}`:void 0,borderRadius:Qv(e==null?void 0:e.borderRadius),padding:m?`${m.top}px ${m.right}px ${m.bottom}px ${m.left}px`:void 0,margin:b?`${b.top}px ${b.right}px ${b.bottom}px ${b.left}px`:void 0,fontFamily:n.fontFamily},S=n.controlAlign==="left"?"flex-start":n.controlAlign==="right"?"flex-end":n.controlAlign==="space-between"?"space-between":"center",$={appearance:"none",WebkitAppearance:"none",minWidth:`var(--ahd-pgn-btn-size, ${n.buttonSize}px)`,height:`var(--ahd-pgn-btn-size, ${n.buttonSize}px)`,padding:"0 8px",borderRadius:`var(--ahd-pgn-btn-radius, ${n.buttonRadius}px)`,border:`1px solid ${n.buttonBorderColor}`,backgroundColor:n.buttonBg,backgroundImage:"none",color:n.buttonColor,fontSize:n.fontSize,lineHeight:1,boxShadow:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:"pointer",boxSizing:"border-box"},w={...$,color:n.arrowColor},_=G.useMemo(()=>{const A=M=>`grid-template-columns:repeat(${M.columnsCount},minmax(0,1fr));grid-template-rows:repeat(${qv(M.columnsCount,M.rowsCount,r)},auto)`,y=(M,T)=>{const L=Math.min(Math.max(1,T.columnsCount*T.rowsCount),Math.max(1,r));return L>=r?"":`${M} .ahd-pgn-item>.ahd-pgn-cell:nth-child(n+${L+1}){display:none}`},R=`.${d}`;return`${R} .ahd-pgn-item{display:grid;${A(o)};column-gap:${u}px;row-gap:${p}px}${R} .ahd-pgn-cell{display:flex;flex-direction:column;gap:${n.itemGap}px;min-width:0;box-sizing:border-box}`+y(R,o)+`@media (max-width:${je}px){${R} .ahd-pgn-item{${A(a)}}${R} .ahd-pgn-item>.ahd-pgn-cell{display:flex}`+y(R,a)+`}@media (max-width:${Ae}px){${R} .ahd-pgn-item{${A(i)}}${R} .ahd-pgn-item>.ahd-pgn-cell{display:flex}`+y(R,i)+"}"},[d,o,a,i,r,u,p,n.itemGap]),N=(A,y,R)=>g.jsx("button",{type:"button",className:`ahd-pgn-btn ${A}`,"data-ahd-page":R,style:w,"aria-label":y,children:y});return g.jsxs("div",{className:`${d} ahd-pagination`,style:k,"data-total-pages":c,"data-page-param":n.pageParam,"data-sync-url":n.syncUrl?"1":"0","data-explicit-first-page":n.explicitFirstPage?"1":"0","data-scroll-top":n.scrollToTopOnChange?"1":"0","data-max-visible":n.maxVisiblePages,"data-btn-bg":n.buttonBg,"data-btn-color":n.buttonColor,"data-btn-border":n.buttonBorderColor,"data-active-bg":n.activeButtonBg,"data-active-color":n.activeButtonColor,"data-active-border":n.activeButtonBorderColor,"data-first-label":n.firstLabel,"data-last-label":n.lastLabel,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:_}}),g.jsx("div",{className:"ahd-pgn-content",style:{display:"flex",flexDirection:"column",gap:n.itemGap},children:s.map((A,y)=>g.jsx("div",{className:"ahd-pgn-item","data-ahd-page-index":y,style:y===0?void 0:{display:"none"},children:A.map((R,M)=>g.jsx("div",{className:"ahd-pgn-cell",children:(R.childrenIds??[]).map(T=>g.jsx(ve,{id:T},T))},M))},y))}),(n.showNumbers||n.showPrevNext||n.showFirstLast)&&g.jsxs("div",{className:"ahd-pgn-control",style:{display:"flex",alignItems:"center",gap:`var(--ahd-pgn-btn-gap, ${n.buttonGap}px)`,justifyContent:S,marginTop:`var(--ahd-pgn-control-gap, ${n.controlGap}px)`,flexWrap:"wrap"},"data-show-numbers":n.showNumbers?"1":"0","data-show-prev-next":n.showPrevNext?"1":"0","data-show-first-last":n.showFirstLast?"1":"0",children:[n.showFirstLast&&N("ahd-pgn-first",n.firstLabel,1),n.showPrevNext&&N("ahd-pgn-prev",n.prevLabel,Math.max(1,0)),n.showNumbers&&g.jsx("span",{className:"ahd-pgn-numbers",style:{display:"inline-flex",alignItems:"center",gap:`var(--ahd-pgn-btn-gap, ${n.buttonGap}px)`,flexWrap:"wrap"},children:h.map((A,y)=>A==="ellipsis"?g.jsx("span",{className:"ahd-pgn-ellipsis",style:{...$,border:"none",background:"transparent",cursor:"default"},children:"…"},`e${y}`):g.jsx("button",{type:"button",className:"ahd-pgn-btn ahd-pgn-number","data-ahd-page":A,"aria-label":`Page ${A}`,"aria-current":A===1?"true":void 0,style:A===1?{...$,backgroundColor:n.activeButtonBg,color:n.activeButtonColor,border:`1px solid ${n.activeButtonBorderColor}`}:$,children:A},A))}),n.showPrevNext&&N("ahd-pgn-next",n.nextLabel,2),n.showFirstLast&&N("ahd-pgn-last",n.lastLabel,c)]})]})}const tx=C({responsive:Te,style:C({padding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),margin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable(),tableAlign:I(["left","center","right"]).optional().nullable(),fontSize:f().optional().nullable(),fontFamily:x().optional().nullable(),color:x().optional().nullable(),backgroundColor:x().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:f().optional().nullable(),cellPadding:f().optional().nullable(),headerBackground:x().optional().nullable(),headerColor:x().optional().nullable(),stripedRowColor:x().optional().nullable(),stripedColColor:x().optional().nullable()}).optional().nullable(),props:C({rows:f().int().min(1).max(50).optional().nullable(),columns:f().int().min(1).max(20).optional().nullable(),hasHeader:P().optional().nullable(),cells:W(x()).optional().nullable(),caption:x().optional().nullable(),width:x().optional().nullable(),enableScroll:P().optional().nullable(),enableScrollTablet:P().optional().nullable(),enableScrollMobile:P().optional().nullable()}).optional().nullable()}),Ze={rows:3,columns:3,hasHeader:!0,borderColor:"#e5e7eb",borderWidth:2,cellPadding:8,headerBackground:"#f3f4f6",headerColor:"#111827",color:"#262626",fontSize:14,stripedRowColor:"#F8F6F6"};function Ma(e){if(e)return`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`}function Ta(e){if(e)return`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`}function nx(e,t,n){return t?(typeof e=="string"?e.trim():"").length===0?n:typeof e=="string"?e:n:null}function ox(e){if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)??e}let ax=0;function vl(e){return e?e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient"):!1}function An(e){return e?vl(e)?`background: ${e} !important; background-color: transparent !important;`:`background-color: ${e} !important;`:""}function So(e){return e?vl(e)?[`background-image: ${e};`,"-webkit-background-clip: text;","background-clip: text;","-webkit-text-fill-color: transparent;","color: transparent;"].join(" "):`color: ${e};`:""}function rx({style:e,props:t,renderCell:n}){const o=Math.max(1,Math.min(50,(t==null?void 0:t.rows)??Ze.rows)),a=Math.max(1,Math.min(20,(t==null?void 0:t.columns)??Ze.columns)),i=(t==null?void 0:t.hasHeader)??Ze.hasHeader,r=(t==null?void 0:t.cells)??[],l=o*a,s=r.length===l?r:Array.from({length:l},(O,q)=>r[q]??""),c=(e==null?void 0:e.borderColor)??Ze.borderColor,u=(e==null?void 0:e.borderWidth)??Ze.borderWidth,p=(e==null?void 0:e.cellPadding)??Ze.cellPadding,d=(e==null?void 0:e.headerBackground)??Ze.headerBackground,h=(e==null?void 0:e.headerColor)??Ze.headerColor,m=(e==null?void 0:e.color)??Ze.color,b=(e==null?void 0:e.fontSize)??Ze.fontSize,v=(e==null?void 0:e.backgroundColor)??null,k=(e==null?void 0:e.stripedRowColor)===void 0?Ze.stripedRowColor:e.stripedRowColor,S=(e==null?void 0:e.stripedColColor)??null,$=`ahd-table-${++ax}`,w={padding:Ma(e==null?void 0:e.padding),margin:Ta(e==null?void 0:e.margin),textAlign:(e==null?void 0:e.textAlign)??void 0},_=ox(e==null?void 0:e.fontFamily),N={borderCollapse:"collapse",width:(t==null?void 0:t.width)||"100%",fontSize:b,textAlign:(e==null?void 0:e.textAlign)??void 0},A={border:`${u}px solid ${c}`,padding:p,verticalAlign:"top"},y=_?`.${$}, .${$} * { font-family: ${_} !important; }`:"",R=k?`.${$} > tbody > tr:nth-child(even) > td { ${An(k)} }`:"",M=S?`.${$} > tbody > tr > td:nth-child(even) { ${An(S)} }`:"",T=`
|
|
275
275
|
.${$} { ${An(v)} }
|
|
276
276
|
${y}
|
|
277
277
|
.${$} > tbody > tr > td > .ahd-table-cell-text { ${So(m)} display: block; }
|
|
@@ -281,10 +281,10 @@ ${N}
|
|
|
281
281
|
${R}
|
|
282
282
|
${M}
|
|
283
283
|
`,L=Array.from({length:o},(O,q)=>q),H=Array.from({length:a},(O,q)=>q),F=O=>O.includes("<"),j=(O,q,B,Y)=>n?n({row:O,col:q,value:B,isHeader:Y}):F(B)?g.jsx("span",{dangerouslySetInnerHTML:{__html:B}}):B.split(`
|
|
284
|
-
`).map((de,oe,ee)=>g.jsxs(G.Fragment,{children:[de,oe<ee.length-1?g.jsx("br",{}):null]},oe));return g.jsxs("div",{className:"table-block",style:w,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:T}}),g.jsxs("table",{className:$,style:N,role:"table",children:[t!=null&&t.caption?g.jsx("caption",{style:{captionSide:"top",textAlign:"left",padding:"4px 0",fontSize:b-1},children:g.jsx("div",{className:"ahd-table-cell-text",children:t.caption})}):null,i?g.jsx("thead",{children:g.jsx("tr",{children:H.map(O=>g.jsx("th",{scope:"col",style:{...A,fontWeight:600},children:g.jsx("div",{className:"ahd-table-cell-text",children:j(0,O,s[O]??"",!0)})},O))})}):null,g.jsx("tbody",{children:L.slice(i?1:0).map(O=>g.jsx("tr",{children:H.map(q=>g.jsx("td",{style:A,children:g.jsx("div",{className:"ahd-table-cell-text",children:j(O,q,s[O*a+q]??"",!1)})},q))},O))})]})]})}const Kr=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),ax=C({responsive:Te,style:C({padding:Kr,margin:Kr,textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({demoId:x().default(""),iframeSrc:x().default(""),width:D([f(),x()]).optional().nullable(),height:D([f(),x()]).optional().nullable(),borderRadius:f().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:f().optional().nullable()}).optional().nullable()}),Jr=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,rx=(e,t)=>e==null||e===""?t:typeof e=="number"?`${e}px`:e,wo=1440,ko=830,ix=({style:e,props:t})=>{const{demoId:n,iframeSrc:o,width:a,borderRadius:i,borderColor:r,borderWidth:l}=t??{},s={padding:Jr(e==null?void 0:e.padding),margin:Jr(e==null?void 0:e.margin),textAlign:(e==null?void 0:e.textAlign)??void 0,width:"100%"};if(!n||!o)return g.jsx(g.Fragment,{});const c=(e==null?void 0:e.textAlign)==="left"?"flex-start":(e==null?void 0:e.textAlign)==="right"?"flex-end":"center";return g.jsx("div",{className:"demo-picker-block",style:{...s,display:"flex",justifyContent:c},children:g.jsx("div",{id:"demoAspect",style:{width:`var(--ahd-demo-width,${rx(a,"100%")})`,aspectRatio:`${wo} / ${ko}`,maxWidth:"100%",overflow:"hidden",borderRadius:`${i??10}px`,border:r?`${l??1}px solid ${r}`:"none"},children:g.jsx("div",{id:"demoScaler",style:{width:wo,height:ko,transformOrigin:"top left"},children:g.jsx("iframe",{src:o,style:{width:wo,height:ko,display:"block",border:"none"},allowFullScreen:!0,title:"Demo Preview"},o)})})})},xl=Kh(()=>C({id:x().optional(),name:x().optional(),href:x().optional(),menuImage:x().optional(),children:W(xl).optional()})),_o=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),lx=C({menuId:x().default(""),useCustomMenu:P().default(!1),stickyNav:P().default(!1),stickyNavTablet:P().optional().nullable(),stickyNavMobile:P().optional().nullable(),position:I(["left","center","right"]).default("left"),orientation:I(["horizontal","vertical"]).default("horizontal"),menuItems:W(xl).optional().nullable(),startChildrenIds:W(x()).optional().nullable(),endChildrenIds:W(x()).optional().nullable(),layout:I(["menu-only","logo-menu","menu-cta","logo-menu-cta"]).default("menu-only"),backgroundColor:x().default("transparent"),textColor:x().default("#000000"),burgerDropdownBackgroundColor:x().optional().nullable(),submenuBackgroundColor:x().optional().nullable(),submenuRadius:f().optional().nullable(),submenuIconSize:f().optional().nullable(),submenuPadding:_o,submenuItemPadding:_o,submenuMinWidth:f().optional().nullable(),fontSize:x().default("14px"),fontFamily:x().optional().nullable(),fontWeight:x().default("400"),padding:x().default("8px 16px"),blockPadding:_o,gap:x().default("16px"),showIcons:P().default(!0),iconSize:x().default("24px")}),sx=C({style:C({}).passthrough().optional().nullable(),responsive:Te,props:lx.optional().nullable()}),cx={left:"flex-start",center:"center",right:"flex-end"},ux=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,dx=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,hx=e=>e?e.left+e.right:0,fx=(e,t,n=!1,o,a)=>{const i=hx(a);return{backgroundColor:e,width:`calc(100% - ${i}px)`,display:"flex",alignItems:"center",gap:"16px",padding:ux(o),margin:dx(a),justifyContent:n?"space-between":cx[t]||"flex-start"}},$o=(e,t=!1)=>({display:"flex",alignItems:"center",flex:t?"1 1 auto":"0 0 auto",justifyContent:e==="start"?"flex-start":e==="end"?"flex-end":"center",minWidth:0}),px=(e,t,n)=>({listStyle:"none",margin:0,padding:0,display:e==="horizontal"&&t===0?"flex":"block",flexDirection:"row",flexWrap:"wrap",gap:e==="horizontal"&&t===0?n:"0"}),mx={position:"relative"},gx=(e,t,n,o,a,i,r,l)=>({display:"flex",alignItems:"center",gap:e&&t?"8px":"0",color:(l==null?void 0:l.textColor)??n,fontSize:o,fontWeight:(l==null?void 0:l.fontWeight)??a,fontFamily:r||void 0,padding:(l==null?void 0:l.padding)??i,textDecoration:"none",whiteSpace:"nowrap",backgroundColor:(l==null?void 0:l.backgroundColor)||void 0,...l!=null&&l.borderColor?{borderStyle:"solid",borderColor:l.borderColor,borderWidth:l.borderWidth??1}:void 0,borderRadius:(l==null?void 0:l.borderRadius)!=null?`${l.borderRadius}px`:void 0}),bx=e=>({width:e,height:e,objectFit:"contain",flexShrink:0}),vx=e=>({paddingLeft:e===0?"0":"12px"}),xx={position:"absolute",opacity:0,pointerEvents:"none",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",clip:"rect(0 0 0 0)"},Sx=e=>({color:e});function wx(e,t){const n=`.ahd-menu-${e}`,o=(t==null?void 0:t.dropdownBackground)||"#fff",a=[`${n}{position:relative}`,`${n} .ahd-menu-toggle{position:absolute!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}`,`${n} .ahd-menu-burger{display:none;width:20px;height:16px;cursor:pointer;flex-direction:column;justify-content:space-between;padding:0;margin:8px 12px;background:transparent;border:0}`,`${n} .ahd-menu-burger>span{display:block;height:2px;width:100%;background:currentColor;border-radius:2px;transition:transform .2s ease,opacity .2s ease}`,`${n} .ahd-menu-backdrop{display:none}`].join(""),i=[`${n}{flex-wrap:nowrap!important;align-items:center!important;min-height:48px}`,`${n} .ahd-menu-center{display:none!important}`,`${n} .ahd-menu-start{flex:0 0 auto!important}`,`${n} .ahd-menu-end{flex:0 0 auto!important;margin-left:auto!important}`,`${n} .ahd-menu-burger{display:flex!important;margin-left:0!important;margin-right:0!important;z-index:2}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:90;background:transparent;cursor:default;border:0}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-center{display:flex!important;flex-direction:column!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;z-index:100;background:${o};box-shadow:0 6px 16px rgba(0,0,0,.12);width:100%!important}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-center .ahd-menu-list{flex-direction:column!important;width:100%!important;gap:0!important}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-center .ahd-menu-list>li{width:100%;border-top:1px solid rgba(0,0,0,.08)}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-center .ahd-menu-list>li>a{padding:12px 16px!important}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-burger>span:nth-child(1){transform:translateY(7px) rotate(45deg)}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-burger>span:nth-child(2){opacity:0}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-burger>span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}`].join(""),r=`(max-width:${je}px)`;return a+`@media ${r}{${i}}@container ahd-page ${r}{${i}}`}const kx=(e,t)=>{const n=!!t.stickyNav,o=t.stickyNavTablet??n,a=t.stickyNavMobile??o,i=l=>l?`.ahd-menu-sticky-${e}{position:sticky;top:0;z-index:50}:where(.ahd-block-wrapper,[id]):has(> .ahd-menu-sticky-${e}){position:sticky;top:0;z-index:50}`:`.ahd-menu-sticky-${e}{position:static}:where(.ahd-block-wrapper,[id]):has(> .ahd-menu-sticky-${e}){position:static}`;let r=n?i(!0):"";if(o!==n){const l=`(max-width:${je}px)`;r+=`@media ${l}{${i(o)}}`,r+=`@container ahd-page ${l}{${i(o)}}`}if(a!==o){const l=`(max-width:${Ae}px)`;r+=`@media ${l}{${i(a)}}`,r+=`@container ahd-page ${l}{${i(a)}}`}return r},_x=e=>{if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)||e},Xr=e=>t=>{t.stopPropagation(),t.preventDefault();const n=typeof document<"u"?document.getElementById(e):null;n&&(n.checked=!n.checked)},Vo=(e,t,n,o,a,i,r,l,s,c,u,p,d=0)=>!e||e.length===0?null:g.jsx("ul",{id:d===0?u:void 0,className:d===0?"ahd-menu-list":"ahd-menu-sublist",style:px(i,d,r),children:e.map((h,m)=>g.jsxs("li",{style:mx,children:[g.jsx("label",{htmlFor:c,className:"ahd-menu-item-label",style:{display:"contents"},onClick:b=>b.stopPropagation(),children:g.jsxs("a",{href:h.href||"#",style:gx(l,!!h.menuImage,t,n,o,a,p,h),children:[l&&h.menuImage&&g.jsx("img",{src:h.menuImage,alt:"","aria-hidden":"true",style:bx(s)}),h.name||h.label||""]})}),h.children&&h.children.length>0&&g.jsx("div",{style:vx(d),children:Vo(h.children,t,n,o,a,"vertical",r,l,s,c,u,p,d+1)})]},h.id||m))}),$x=({props:e})=>{const{menuId:t,useCustomMenu:n=!1,stickyNav:o=!1,stickyNavTablet:a,stickyNavMobile:i,menuItems:r,startChildrenIds:l,endChildrenIds:s,layout:c="menu-only",position:u="left",orientation:p="horizontal",backgroundColor:d="transparent",textColor:h="#000000",burgerDropdownBackgroundColor:m,fontSize:b="14px",fontFamily:v,fontWeight:k="400",padding:S="8px 16px",blockPadding:$,blockMargin:w,gap:_="16px",showIcons:N=!0,iconSize:A="24px",borderColor:y,borderWidth:R,borderRadius:M,bare:T}=e??{};if(!(Array.isArray(r)&&r.length>0)||!n&&!t)return g.jsx(g.Fragment,{});const H=c==="logo-menu"||c==="logo-menu-cta",F=c==="menu-cta"||c==="logo-menu-cta",j=H||F,O=u==="right"?"end":u==="center"?"center":"start",q=G.useMemo(()=>`c${Math.random().toString(36).slice(2,9)}`,[]),B=t||q,Y=(T==null?void 0:T.toggleId)??`ahd-menu-toggle-${B}`,de=(T==null?void 0:T.listId)??`ahd-menu-list-${B}`,oe=_x(v);if(T)return g.jsx(g.Fragment,{children:Vo(r,h,b,k,S,p,_,N,A,Y,de,oe)});const ee=kx(B,{stickyNav:o,stickyNavTablet:a,stickyNavMobile:i}),Z=wx(B,{dropdownBackground:m??(d!=="transparent"?d:null)});return g.jsxs(g.Fragment,{children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:Z}},B),ee&&g.jsx("style",{dangerouslySetInnerHTML:{__html:ee}}),g.jsxs("nav",{className:`ahd-menu ahd-menu-${B} ahd-menu-sticky-${B}`,"data-block":"menu","data-layout":c,style:{...fx(d,u,j,$,w),...y?{borderStyle:"solid",borderColor:y,borderWidth:R?`${R.top??1}px ${R.right??1}px ${R.bottom??1}px ${R.left??1}px`:"1px"}:{},...M!=null?{borderRadius:typeof M=="number"?`${M}px`:`${(M==null?void 0:M.topLeft)??0}px ${(M==null?void 0:M.topRight)??0}px ${(M==null?void 0:M.bottomRight)??0}px ${(M==null?void 0:M.bottomLeft)??0}px`}:{}},"aria-label":"Main navigation",children:[g.jsx("input",{type:"checkbox",id:Y,className:"ahd-menu-toggle",role:"switch","aria-label":"Toggle main menu","aria-controls":de,style:xx,onClick:J=>J.stopPropagation()}),g.jsx("label",{htmlFor:Y,className:"ahd-menu-backdrop","aria-hidden":"true",onClick:Xr(Y)}),H&&g.jsx("div",{className:"ahd-menu-start",style:$o("start"),children:(l??[]).map(J=>g.jsx(ve,{id:J},J))}),g.jsx("div",{className:"ahd-menu-center",style:$o(O,j),children:Vo(r,h,b,k,S,p,_,N,A,Y,de,oe)}),F&&g.jsx("div",{className:"ahd-menu-end",style:$o("end"),children:(s??[]).map(J=>g.jsx(ve,{id:J},J))}),g.jsxs("label",{htmlFor:Y,className:"ahd-menu-burger","aria-hidden":"true",style:Sx(h),onClick:Xr(Y),children:[g.jsx("span",{}),g.jsx("span",{}),g.jsx("span",{})]})]})]})},Cx=C({id:x().optional(),label:x().optional(),href:x().optional(),textColor:x().optional().nullable()}),Ax=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),yx=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),Nx=C({items:W(Cx).optional().nullable(),separator:I(["slash","chevron","dot","pipe","custom"]).default("chevron"),customSeparator:x().optional().nullable(),showHomeIcon:P().default(!1),homeHref:x().default("/"),collapseOnMobile:P().default(!0),currentItemLinked:P().default(!1),textColor:x().default("#595959"),currentItemColor:x().optional().nullable(),separatorColor:x().optional().nullable(),fontSize:x().default("14px"),fontFamily:x().optional().nullable(),fontWeight:x().default("400"),gap:x().default("8px"),blockPadding:Ax,blockMargin:yx}),Rx=C({style:C({}).passthrough().optional().nullable(),responsive:Te,props:Nx.optional().nullable()}),Co={slash:"/",chevron:"›",dot:"•",pipe:"|"};function Ex(e,t){return e==="custom"?t||"›":e&&Co[e]?Co[e]:Co.chevron}function Ix(e){const t=`.ahd-breadcrumb-${e}`,n=[`${t} .ahd-breadcrumb-collapsible{display:none!important}`,`${t} .ahd-breadcrumb-ellipsis{display:flex!important}`].join(""),o=`(max-width:${Ae}px)`;return`@media ${o}{${n}}@container ahd-page ${o}{${n}}`}const Mx=e=>{if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)||e},Sl=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Tx=Sl,Px="M12 3.1 3 10.4V21h6v-6h6v6h6V10.4L12 3.1zm0 2.56 7 5.6V19h-2v-6H9v6H5v-7.74l7-5.6z",Ox=({size:e,color:t})=>g.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24","aria-hidden":"true",style:{display:"block",flex:"0 0 auto"},children:g.jsx("path",{d:Px,fill:t})}),Lx=({color:e,fontSize:t})=>g.jsx("span",{"aria-hidden":"true",style:{color:e,fontSize:t},children:"…"}),zx=({props:e,renderLabel:t})=>{const{items:n,separator:o="chevron",customSeparator:a,showHomeIcon:i=!1,homeHref:r="/",collapseOnMobile:l=!0,currentItemLinked:s=!1,textColor:c="#595959",currentItemColor:u,separatorColor:p,fontSize:d="14px",fontFamily:h,fontWeight:m="400",gap:b="8px",blockPadding:v,blockMargin:k}=e??{};if(!(Array.isArray(n)&&n.length>0))return g.jsx(g.Fragment,{});const $=Mx(h),w=Ex(o,a),_=n.length-1,N=G.useMemo(()=>`b${Math.random().toString(36).slice(2,9)}`,[]),A=l?Ix(N):"",y=(R,M,T)=>{const L=(T?u:null)||R.textColor||c,H=!T||s,F={color:L,textDecoration:"none",whiteSpace:"nowrap"};return t?t({item:R,index:M,isLast:T,style:F}):H?g.jsx("a",{href:R.href||"#",style:F,"aria-current":T?"page":void 0,children:R.label||""}):g.jsx("span",{style:F,"aria-current":"page",children:R.label||""})};return g.jsxs(g.Fragment,{children:[A&&g.jsx("style",{dangerouslySetInnerHTML:{__html:A}}),g.jsx("nav",{className:l?`ahd-breadcrumb ahd-breadcrumb-${N}`:"ahd-breadcrumb","aria-label":"Breadcrumb",style:{padding:Sl(v),margin:Tx(k)},children:g.jsxs("ol",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",listStyle:"none",margin:0,padding:0,gap:b,fontSize:d,fontFamily:$,fontWeight:m},children:[i&&g.jsxs("li",{className:"ahd-breadcrumb-home",style:{display:"flex",alignItems:"center",gap:b},children:[g.jsx("a",{href:r||"/",style:{display:"flex",color:c},children:g.jsx(Ox,{size:parseInt(d,10)||14,color:c})}),g.jsx("span",{"aria-hidden":"true",style:{color:p||c},children:w})]}),n.map((R,M)=>{const T=M===_,L=l&&M!==0&&!T;return g.jsxs("li",{className:L?"ahd-breadcrumb-collapsible":void 0,style:{display:"flex",alignItems:"center",gap:b},children:[y(R,M,T),!T&&g.jsx("span",{"aria-hidden":"true",style:{color:p||c},children:w})]},R.id||M)}),l&&n.length>2&&g.jsxs("li",{className:"ahd-breadcrumb-ellipsis",style:{display:"none",alignItems:"center",gap:b},children:[g.jsx(Lx,{color:c,fontSize:d}),g.jsx("span",{"aria-hidden":"true",style:{color:p||c},children:w})]})]})})]})},jx=C({style:C({}).passthrough().optional().nullable(),props:C({formId:x().default(""),formName:x().default(""),iframeSrc:x().default(""),width:x().default("100%"),height:x().default("500px"),heightTablet:x().optional(),heightMobile:x().optional(),alignment:I(["left","center","right"]).default("left")}).optional().nullable()}),Bx=e=>{let t=0;for(let n=0;n<e.length;n+=1)t=t*31+e.charCodeAt(n)|0;return`form-${Math.abs(t).toString(36)}`},Dx=e=>{if(!e)return;if(typeof e=="string")return e;const{top:t=0,right:n=0,bottom:o=0,left:a=0}=e;return`${t}px ${n}px ${o}px ${a}px`},Hx=({props:e,style:t})=>{const{formId:n,iframeSrc:o,width:a,height:i,heightTablet:r,heightMobile:l,alignment:s="left",formName:c}=e??{};if(!n||!o)return g.jsx(g.Fragment,{});const u=s==="center"?"center":s==="right"?"flex-end":"flex-start",p=t??{},d={display:"flex",justifyContent:u,width:"100%",padding:Dx(p.padding),backgroundColor:p.backgroundColor||void 0,borderRadius:p.borderRadius||void 0},h=Bx(`${n}|${o??""}`),m=r||l?`
|
|
284
|
+
`).map((de,oe,ee)=>g.jsxs(G.Fragment,{children:[de,oe<ee.length-1?g.jsx("br",{}):null]},oe));return g.jsxs("div",{className:"table-block",style:w,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:T}}),g.jsxs("table",{className:$,style:N,role:"table",children:[t!=null&&t.caption?g.jsx("caption",{style:{captionSide:"top",textAlign:"left",padding:"4px 0",fontSize:b-1},children:g.jsx("div",{className:"ahd-table-cell-text",children:t.caption})}):null,i?g.jsx("thead",{children:g.jsx("tr",{children:H.map(O=>g.jsx("th",{scope:"col",style:{...A,fontWeight:600},children:g.jsx("div",{className:"ahd-table-cell-text",children:j(0,O,s[O]??"",!0)})},O))})}):null,g.jsx("tbody",{children:L.slice(i?1:0).map(O=>g.jsx("tr",{children:H.map(q=>g.jsx("td",{style:A,children:g.jsx("div",{className:"ahd-table-cell-text",children:j(O,q,s[O*a+q]??"",!1)})},q))},O))})]})]})}const Kr=C({top:f(),bottom:f(),right:f(),left:f()}).optional().nullable(),ix=C({responsive:Te,style:C({padding:Kr,margin:Kr,textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({demoId:x().default(""),iframeSrc:x().default(""),width:D([f(),x()]).optional().nullable(),height:D([f(),x()]).optional().nullable(),borderRadius:f().optional().nullable(),borderColor:x().optional().nullable(),borderWidth:f().optional().nullable()}).optional().nullable()}),Jr=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,lx=(e,t)=>e==null||e===""?t:typeof e=="number"?`${e}px`:e,wo=1440,ko=830,sx=({style:e,props:t})=>{const{demoId:n,iframeSrc:o,width:a,borderRadius:i,borderColor:r,borderWidth:l}=t??{},s={padding:Jr(e==null?void 0:e.padding),margin:Jr(e==null?void 0:e.margin),textAlign:(e==null?void 0:e.textAlign)??void 0,width:"100%"};if(!n||!o)return g.jsx(g.Fragment,{});const c=(e==null?void 0:e.textAlign)==="left"?"flex-start":(e==null?void 0:e.textAlign)==="right"?"flex-end":"center";return g.jsx("div",{className:"demo-picker-block",style:{...s,display:"flex",justifyContent:c},children:g.jsx("div",{id:"demoAspect",style:{width:`var(--ahd-demo-width,${lx(a,"100%")})`,aspectRatio:`${wo} / ${ko}`,maxWidth:"100%",overflow:"hidden",borderRadius:`${i??10}px`,border:r?`${l??1}px solid ${r}`:"none"},children:g.jsx("div",{id:"demoScaler",style:{width:wo,height:ko,transformOrigin:"top left"},children:g.jsx("iframe",{src:o,style:{width:wo,height:ko,display:"block",border:"none"},allowFullScreen:!0,title:"Demo Preview"},o)})})})},xl=Kh(()=>C({id:x().optional(),name:x().optional(),href:x().optional(),menuImage:x().optional(),children:W(xl).optional()})),_o=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),cx=C({menuId:x().default(""),useCustomMenu:P().default(!1),stickyNav:P().default(!1),stickyNavTablet:P().optional().nullable(),stickyNavMobile:P().optional().nullable(),position:I(["left","center","right"]).default("left"),orientation:I(["horizontal","vertical"]).default("horizontal"),menuItems:W(xl).optional().nullable(),startChildrenIds:W(x()).optional().nullable(),endChildrenIds:W(x()).optional().nullable(),layout:I(["menu-only","logo-menu","menu-cta","logo-menu-cta"]).default("menu-only"),backgroundColor:x().default("transparent"),textColor:x().default("#000000"),burgerDropdownBackgroundColor:x().optional().nullable(),submenuBackgroundColor:x().optional().nullable(),submenuRadius:f().optional().nullable(),submenuIconSize:f().optional().nullable(),submenuPadding:_o,submenuItemPadding:_o,submenuMinWidth:f().optional().nullable(),fontSize:x().default("14px"),fontFamily:x().optional().nullable(),fontWeight:x().default("400"),padding:x().default("8px 16px"),blockPadding:_o,gap:x().default("16px"),showIcons:P().default(!0),iconSize:x().default("24px")}),ux=C({style:C({}).passthrough().optional().nullable(),responsive:Te,props:cx.optional().nullable()}),dx={left:"flex-start",center:"center",right:"flex-end"},hx=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,fx=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,px=e=>e?e.left+e.right:0,mx=(e,t,n=!1,o,a)=>{const i=px(a);return{backgroundColor:e,width:`calc(100% - ${i}px)`,display:"flex",alignItems:"center",gap:"16px",padding:hx(o),margin:fx(a),justifyContent:n?"space-between":dx[t]||"flex-start"}},$o=(e,t=!1)=>({display:"flex",alignItems:"center",flex:t?"1 1 auto":"0 0 auto",justifyContent:e==="start"?"flex-start":e==="end"?"flex-end":"center",minWidth:0}),gx=(e,t,n)=>({listStyle:"none",margin:0,padding:0,display:e==="horizontal"&&t===0?"flex":"block",flexDirection:"row",flexWrap:"wrap",gap:e==="horizontal"&&t===0?n:"0"}),bx={position:"relative"},vx=(e,t,n,o,a,i,r,l)=>({display:"flex",alignItems:"center",gap:e&&t?"8px":"0",color:(l==null?void 0:l.textColor)??n,fontSize:o,fontWeight:(l==null?void 0:l.fontWeight)??a,fontFamily:r||void 0,padding:(l==null?void 0:l.padding)??i,textDecoration:"none",whiteSpace:"nowrap",backgroundColor:(l==null?void 0:l.backgroundColor)||void 0,...l!=null&&l.borderColor?{borderStyle:"solid",borderColor:l.borderColor,borderWidth:l.borderWidth??1}:void 0,borderRadius:(l==null?void 0:l.borderRadius)!=null?`${l.borderRadius}px`:void 0}),xx=e=>({width:e,height:e,objectFit:"contain",flexShrink:0}),Sx=e=>({paddingLeft:e===0?"0":"12px"}),wx={position:"absolute",opacity:0,pointerEvents:"none",width:0,height:0,margin:0,padding:0,border:0,overflow:"hidden",clip:"rect(0 0 0 0)"},kx=e=>({color:e});function _x(e,t){const n=`.ahd-menu-${e}`,o=(t==null?void 0:t.dropdownBackground)||"#fff",a=[`${n}{position:relative}`,`${n} .ahd-menu-toggle{position:absolute!important;opacity:0!important;pointer-events:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}`,`${n} .ahd-menu-burger{display:none;width:20px;height:16px;cursor:pointer;flex-direction:column;justify-content:space-between;padding:0;margin:8px 12px;background:transparent;border:0}`,`${n} .ahd-menu-burger>span{display:block;height:2px;width:100%;background:currentColor;border-radius:2px;transition:transform .2s ease,opacity .2s ease}`,`${n} .ahd-menu-backdrop{display:none}`].join(""),i=[`${n}{flex-wrap:nowrap!important;align-items:center!important;min-height:48px}`,`${n} .ahd-menu-center{display:none!important}`,`${n} .ahd-menu-start{flex:0 0 auto!important}`,`${n} .ahd-menu-end{flex:0 0 auto!important;margin-left:auto!important}`,`${n} .ahd-menu-burger{display:flex!important;margin-left:0!important;margin-right:0!important;z-index:2}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:90;background:transparent;cursor:default;border:0}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-center{display:flex!important;flex-direction:column!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;z-index:100;background:${o};box-shadow:0 6px 16px rgba(0,0,0,.12);width:100%!important}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-center .ahd-menu-list{flex-direction:column!important;width:100%!important;gap:0!important}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-center .ahd-menu-list>li{width:100%;border-top:1px solid rgba(0,0,0,.08)}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-center .ahd-menu-list>li>a{padding:12px 16px!important}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-burger>span:nth-child(1){transform:translateY(7px) rotate(45deg)}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-burger>span:nth-child(2){opacity:0}`,`${n} .ahd-menu-toggle:checked~.ahd-menu-burger>span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}`].join(""),r=`(max-width:${je}px)`;return a+`@media ${r}{${i}}@container ahd-page ${r}{${i}}`}const $x=(e,t)=>{const n=!!t.stickyNav,o=t.stickyNavTablet??n,a=t.stickyNavMobile??o,i=l=>l?`.ahd-menu-sticky-${e}{position:sticky;top:0;z-index:50}:where(.ahd-block-wrapper,[id]):has(> .ahd-menu-sticky-${e}){position:sticky;top:0;z-index:50}`:`.ahd-menu-sticky-${e}{position:static}:where(.ahd-block-wrapper,[id]):has(> .ahd-menu-sticky-${e}){position:static}`;let r=n?i(!0):"";if(o!==n){const l=`(max-width:${je}px)`;r+=`@media ${l}{${i(o)}}`,r+=`@container ahd-page ${l}{${i(o)}}`}if(a!==o){const l=`(max-width:${Ae}px)`;r+=`@media ${l}{${i(a)}}`,r+=`@container ahd-page ${l}{${i(a)}}`}return r},Cx=e=>{if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)||e},Xr=e=>t=>{t.stopPropagation(),t.preventDefault();const n=typeof document<"u"?document.getElementById(e):null;n&&(n.checked=!n.checked)},Vo=(e,t,n,o,a,i,r,l,s,c,u,p,d=0)=>!e||e.length===0?null:g.jsx("ul",{id:d===0?u:void 0,className:d===0?"ahd-menu-list":"ahd-menu-sublist",style:gx(i,d,r),children:e.map((h,m)=>g.jsxs("li",{style:bx,children:[g.jsx("label",{htmlFor:c,className:"ahd-menu-item-label",style:{display:"contents"},onClick:b=>b.stopPropagation(),children:g.jsxs("a",{href:h.href||"#",style:vx(l,!!h.menuImage,t,n,o,a,p,h),children:[l&&h.menuImage&&g.jsx("img",{src:h.menuImage,alt:"","aria-hidden":"true",style:xx(s)}),h.name||h.label||""]})}),h.children&&h.children.length>0&&g.jsx("div",{style:Sx(d),children:Vo(h.children,t,n,o,a,"vertical",r,l,s,c,u,p,d+1)})]},h.id||m))}),Ax=({props:e})=>{const{menuId:t,useCustomMenu:n=!1,stickyNav:o=!1,stickyNavTablet:a,stickyNavMobile:i,menuItems:r,startChildrenIds:l,endChildrenIds:s,layout:c="menu-only",position:u="left",orientation:p="horizontal",backgroundColor:d="transparent",textColor:h="#000000",burgerDropdownBackgroundColor:m,fontSize:b="14px",fontFamily:v,fontWeight:k="400",padding:S="8px 16px",blockPadding:$,blockMargin:w,gap:_="16px",showIcons:N=!0,iconSize:A="24px",borderColor:y,borderWidth:R,borderRadius:M,bare:T}=e??{};if(!(Array.isArray(r)&&r.length>0)||!n&&!t)return g.jsx(g.Fragment,{});const H=c==="logo-menu"||c==="logo-menu-cta",F=c==="menu-cta"||c==="logo-menu-cta",j=H||F,O=u==="right"?"end":u==="center"?"center":"start",q=G.useMemo(()=>`c${Math.random().toString(36).slice(2,9)}`,[]),B=t||q,Y=(T==null?void 0:T.toggleId)??`ahd-menu-toggle-${B}`,de=(T==null?void 0:T.listId)??`ahd-menu-list-${B}`,oe=Cx(v);if(T)return g.jsx(g.Fragment,{children:Vo(r,h,b,k,S,p,_,N,A,Y,de,oe)});const ee=$x(B,{stickyNav:o,stickyNavTablet:a,stickyNavMobile:i}),Z=_x(B,{dropdownBackground:m??(d!=="transparent"?d:null)});return g.jsxs(g.Fragment,{children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:Z}},B),ee&&g.jsx("style",{dangerouslySetInnerHTML:{__html:ee}}),g.jsxs("nav",{className:`ahd-menu ahd-menu-${B} ahd-menu-sticky-${B}`,"data-block":"menu","data-layout":c,style:{...mx(d,u,j,$,w),...y?{borderStyle:"solid",borderColor:y,borderWidth:R?`${R.top??1}px ${R.right??1}px ${R.bottom??1}px ${R.left??1}px`:"1px"}:{},...M!=null?{borderRadius:typeof M=="number"?`${M}px`:`${(M==null?void 0:M.topLeft)??0}px ${(M==null?void 0:M.topRight)??0}px ${(M==null?void 0:M.bottomRight)??0}px ${(M==null?void 0:M.bottomLeft)??0}px`}:{}},"aria-label":"Main navigation",children:[g.jsx("input",{type:"checkbox",id:Y,className:"ahd-menu-toggle",role:"switch","aria-label":"Toggle main menu","aria-controls":de,style:wx,onClick:J=>J.stopPropagation()}),g.jsx("label",{htmlFor:Y,className:"ahd-menu-backdrop","aria-hidden":"true",onClick:Xr(Y)}),H&&g.jsx("div",{className:"ahd-menu-start",style:$o("start"),children:(l??[]).map(J=>g.jsx(ve,{id:J},J))}),g.jsx("div",{className:"ahd-menu-center",style:$o(O,j),children:Vo(r,h,b,k,S,p,_,N,A,Y,de,oe)}),F&&g.jsx("div",{className:"ahd-menu-end",style:$o("end"),children:(s??[]).map(J=>g.jsx(ve,{id:J},J))}),g.jsxs("label",{htmlFor:Y,className:"ahd-menu-burger","aria-hidden":"true",style:kx(h),onClick:Xr(Y),children:[g.jsx("span",{}),g.jsx("span",{}),g.jsx("span",{})]})]})]})},yx=C({id:x().optional(),label:x().optional(),href:x().optional(),textColor:x().optional().nullable()}),Nx=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),Rx=C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),Ex=C({items:W(yx).optional().nullable(),separator:I(["slash","chevron","dot","pipe","custom"]).default("chevron"),customSeparator:x().optional().nullable(),showHomeIcon:P().default(!1),homeHref:x().default("/"),collapseOnMobile:P().default(!0),currentItemLinked:P().default(!1),textColor:x().default("#595959"),currentItemColor:x().optional().nullable(),separatorColor:x().optional().nullable(),fontSize:x().default("14px"),fontFamily:x().optional().nullable(),fontWeight:x().default("400"),gap:x().default("8px"),blockPadding:Nx,blockMargin:Rx}),Ix=C({style:C({}).passthrough().optional().nullable(),responsive:Te,props:Ex.optional().nullable()}),Co={slash:"/",chevron:"›",dot:"•",pipe:"|"};function Mx(e,t){return e==="custom"?t||"›":e&&Co[e]?Co[e]:Co.chevron}function Tx(e){const t=`.ahd-breadcrumb-${e}`,n=[`${t} .ahd-breadcrumb-collapsible{display:none!important}`,`${t} .ahd-breadcrumb-ellipsis{display:flex!important}`].join(""),o=`(max-width:${Ae}px)`;return`@media ${o}{${n}}@container ahd-page ${o}{${n}}`}const Px=e=>{if(!e)return;const t=Xe.find(n=>n.key===e);return(t==null?void 0:t.value)||e},Sl=e=>e?`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`:void 0,Ox=Sl,Lx="M12 3.1 3 10.4V21h6v-6h6v6h6V10.4L12 3.1zm0 2.56 7 5.6V19h-2v-6H9v6H5v-7.74l7-5.6z",zx=({size:e,color:t})=>g.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24","aria-hidden":"true",style:{display:"block",flex:"0 0 auto"},children:g.jsx("path",{d:Lx,fill:t})}),jx=({color:e,fontSize:t})=>g.jsx("span",{"aria-hidden":"true",style:{color:e,fontSize:t},children:"…"}),Bx=({props:e,renderLabel:t})=>{const{items:n,separator:o="chevron",customSeparator:a,showHomeIcon:i=!1,homeHref:r="/",collapseOnMobile:l=!0,currentItemLinked:s=!1,textColor:c="#595959",currentItemColor:u,separatorColor:p,fontSize:d="14px",fontFamily:h,fontWeight:m="400",gap:b="8px",blockPadding:v,blockMargin:k}=e??{};if(!(Array.isArray(n)&&n.length>0))return g.jsx(g.Fragment,{});const $=Px(h),w=Mx(o,a),_=n.length-1,N=G.useMemo(()=>`b${Math.random().toString(36).slice(2,9)}`,[]),A=l?Tx(N):"",y=(R,M,T)=>{const L=(T?u:null)||R.textColor||c,H=!T||s,F={color:L,textDecoration:"none",whiteSpace:"nowrap"};return t?t({item:R,index:M,isLast:T,style:F}):H?g.jsx("a",{href:R.href||"#",style:F,"aria-current":T?"page":void 0,children:R.label||""}):g.jsx("span",{style:F,"aria-current":"page",children:R.label||""})};return g.jsxs(g.Fragment,{children:[A&&g.jsx("style",{dangerouslySetInnerHTML:{__html:A}}),g.jsx("nav",{className:l?`ahd-breadcrumb ahd-breadcrumb-${N}`:"ahd-breadcrumb","aria-label":"Breadcrumb",style:{padding:Sl(v),margin:Ox(k)},children:g.jsxs("ol",{style:{display:"flex",flexWrap:"wrap",alignItems:"center",listStyle:"none",margin:0,padding:0,gap:b,fontSize:d,fontFamily:$,fontWeight:m},children:[i&&g.jsxs("li",{className:"ahd-breadcrumb-home",style:{display:"flex",alignItems:"center",gap:b},children:[g.jsx("a",{href:r||"/",style:{display:"flex",color:c},children:g.jsx(zx,{size:parseInt(d,10)||14,color:c})}),g.jsx("span",{"aria-hidden":"true",style:{color:p||c},children:w})]}),n.map((R,M)=>{const T=M===_,L=l&&M!==0&&!T;return g.jsxs("li",{className:L?"ahd-breadcrumb-collapsible":void 0,style:{display:"flex",alignItems:"center",gap:b},children:[y(R,M,T),!T&&g.jsx("span",{"aria-hidden":"true",style:{color:p||c},children:w})]},R.id||M)}),l&&n.length>2&&g.jsxs("li",{className:"ahd-breadcrumb-ellipsis",style:{display:"none",alignItems:"center",gap:b},children:[g.jsx(jx,{color:c,fontSize:d}),g.jsx("span",{"aria-hidden":"true",style:{color:p||c},children:w})]})]})})]})},Dx=C({style:C({}).passthrough().optional().nullable(),props:C({formId:x().default(""),formName:x().default(""),iframeSrc:x().default(""),width:x().default("100%"),height:x().default("500px"),heightTablet:x().optional(),heightMobile:x().optional(),alignment:I(["left","center","right"]).default("left")}).optional().nullable()}),Hx=e=>{let t=0;for(let n=0;n<e.length;n+=1)t=t*31+e.charCodeAt(n)|0;return`form-${Math.abs(t).toString(36)}`},Fx=e=>{if(!e)return;if(typeof e=="string")return e;const{top:t=0,right:n=0,bottom:o=0,left:a=0}=e;return`${t}px ${n}px ${o}px ${a}px`},Gx=({props:e,style:t})=>{const{formId:n,iframeSrc:o,width:a,height:i,heightTablet:r,heightMobile:l,alignment:s="left",formName:c}=e??{};if(!n||!o)return g.jsx(g.Fragment,{});const u=s==="center"?"center":s==="right"?"flex-end":"flex-start",p=t??{},d={display:"flex",justifyContent:u,width:"100%",padding:Fx(p.padding),backgroundColor:p.backgroundColor||void 0,borderRadius:p.borderRadius||void 0},h=Hx(`${n}|${o??""}`),m=r||l?`
|
|
285
285
|
${r?`${dn} { #${h} { height: ${r} !important; } }`:""}
|
|
286
286
|
${l?`${Oe} { #${h} { height: ${l} !important; } }`:""}
|
|
287
|
-
`:"";return g.jsxs(g.Fragment,{children:[m&&g.jsx("style",{dangerouslySetInnerHTML:{__html:m}}),g.jsx("div",{style:d,children:g.jsx("iframe",{id:h,src:o,title:c||"Form",style:{width:a||"100%",height:i||"500px",border:"none",display:"block",borderRadius:p.borderRadius||void 0},loading:"lazy"})})]})},
|
|
287
|
+
`:"";return g.jsxs(g.Fragment,{children:[m&&g.jsx("style",{dangerouslySetInnerHTML:{__html:m}}),g.jsx("div",{style:d,children:g.jsx("iframe",{id:h,src:o,title:c||"Form",style:{width:a||"100%",height:i||"500px",border:"none",display:"block",borderRadius:p.borderRadius||void 0},loading:"lazy"})})]})},Ux=C({style:C({}).passthrough().optional().nullable(),props:C({bannerId:x().default(""),bannerName:x().optional().nullable(),contentDocument:Lt(x(),an()).optional().nullable(),padding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),margin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable()}).optional().nullable()}),Zx=e=>e?{paddingTop:e.top,paddingRight:e.right,paddingBottom:e.bottom,paddingLeft:e.left}:{},Wx=e=>e?{marginTop:e.top,marginRight:e.right,marginBottom:e.bottom,marginLeft:e.left}:{},qx=({props:e})=>{const{bannerId:t,contentDocument:n,padding:o,margin:a}=e??{};return t?n&&n.root?g.jsx("div",{className:"app-banner-picker-block",style:{...Zx(o),...Wx(a)},children:g.jsx(sn,{document:n,rootBlockId:"root"})}):g.jsx(g.Fragment,{}):g.jsx(g.Fragment,{})},Vx=C({style:C({}).passthrough().optional().nullable(),props:C({faqGroupId:x().default(""),faqGroupName:x().optional().nullable(),contentDocument:Lt(x(),an()).optional().nullable(),padding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),margin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable()}).optional().nullable()}),Yx=e=>e?{paddingTop:e.top,paddingRight:e.right,paddingBottom:e.bottom,paddingLeft:e.left}:{},Kx=e=>e?{marginTop:e.top,marginRight:e.right,marginBottom:e.bottom,marginLeft:e.left}:{},Jx=({props:e})=>{const{faqGroupId:t,contentDocument:n,padding:o,margin:a}=e??{};return t?!n||!n.root?g.jsx(g.Fragment,{}):g.jsx("div",{className:"faq-picker-block",style:{...Yx(o),...Kx(a)},children:g.jsx(sn,{document:n,rootBlockId:"root"})}):g.jsx(g.Fragment,{})},Xx=C({style:C({padding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),margin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({text:x().optional().nullable(),targetId:x().optional().nullable(),backgroundColor:x().optional().nullable(),textColor:x().optional().nullable(),fontSize:f().optional().nullable(),borderRadius:f().optional().nullable(),paddingX:f().optional().nullable(),paddingY:f().optional().nullable(),marginX:f().optional().nullable(),marginY:f().optional().nullable(),displayMode:I(["focus-only","always-visible"]).optional().nullable()}).optional().nullable()}),Ye={text:"Skip to main content",targetId:"main-content",backgroundColor:"#000000",textColor:"#ffffff",fontSize:14,borderRadius:4,paddingX:12,paddingY:8,marginX:0,marginY:0};let Qx=0;function wl({style:e,props:t}){var k,S;const n=((k=t==null?void 0:t.text)==null?void 0:k.trim())||Ye.text,o=((S=t==null?void 0:t.targetId)==null?void 0:S.trim())||Ye.targetId,a=(t==null?void 0:t.backgroundColor)??Ye.backgroundColor,i=(t==null?void 0:t.textColor)??Ye.textColor,r=(t==null?void 0:t.fontSize)??Ye.fontSize,l=(t==null?void 0:t.borderRadius)??Ye.borderRadius,s=(t==null?void 0:t.paddingX)??Ye.paddingX,c=(t==null?void 0:t.paddingY)??Ye.paddingY,u=(t==null?void 0:t.marginX)??Ye.marginX,p=(t==null?void 0:t.marginY)??Ye.marginY,d="always-visible",h=`skip-link-${++Qx}`,m={padding:Ma(e==null?void 0:e.padding),margin:Ta(e==null?void 0:e.margin),textAlign:(e==null?void 0:e.textAlign)??void 0},b=`
|
|
288
288
|
display:inline-block;
|
|
289
289
|
background:${a};
|
|
290
290
|
color:${i};
|
|
@@ -297,7 +297,7 @@ ${N}
|
|
|
297
297
|
line-height:1.2;
|
|
298
298
|
font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
|
|
299
299
|
`,v=`.${h}{${b}}
|
|
300
|
-
.${h}:focus-visible{outline:3px solid #000;outline-offset:3px}`;return g.jsxs("div",{className:"skip-link-block",style:m,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:v}}),g.jsx("a",{href:`#${o}`,className:h,"data-skip-link":d,children:n})]})}const
|
|
300
|
+
.${h}:focus-visible{outline:3px solid #000;outline-offset:3px}`;return g.jsxs("div",{className:"skip-link-block",style:m,children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:v}}),g.jsx("a",{href:`#${o}`,className:h,"data-skip-link":d,children:n})]})}const e1=C({style:C({padding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),margin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),textAlign:I(["left","center","right"]).optional().nullable()}).optional().nullable(),props:C({renderMode:I(["inline","floating"]).optional().nullable(),position:I(["top-right","top-left","bottom-right","bottom-left"]).optional().nullable(),triggerLabel:x().optional().nullable(),triggerText:x().optional().nullable(),showLabelText:P().optional().nullable(),triggerBg:x().optional().nullable(),triggerColor:x().optional().nullable(),triggerFontSize:f().optional().nullable(),triggerBorderRadius:f().optional().nullable(),triggerPadding:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),triggerMargin:C({top:f(),right:f(),bottom:f(),left:f()}).optional().nullable(),icon:I(["accessibility","universal-access","person","eye","info"]).optional().nullable(),features:C({contrast:P().optional().nullable(),invert:P().optional().nullable(),saturation:P().optional().nullable(),highlightLinks:P().optional().nullable(),textSize:P().optional().nullable(),textSpacing:P().optional().nullable(),lineHeight:P().optional().nullable(),hideImages:P().optional().nullable(),bigCursor:P().optional().nullable(),reset:P().optional().nullable()}).optional().nullable()}).optional().nullable()}),Ke={renderMode:"floating",position:"top-right",triggerLabel:"Accessibility tools",triggerBg:"#2563eb",triggerColor:"#ffffff",triggerFontSize:13,triggerBorderRadius:999,triggerPadding:{top:8,right:14,bottom:8,left:14},triggerMargin:{top:0,right:0,bottom:0,left:0},icon:"accessibility"},Ao={accessibility:"M12 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2zm-9 2.5c1.38 0 2.5-1.12 2.5-2.5S13.38 6.5 12 6.5 9.5 7.62 9.5 9s1.12 2.5 2.5 2.5z","universal-access":"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm5 5.2l-3.5.8v2l1.2 4.5-1.7.4-1-3.9-1 3.9-1.7-.4L9.5 13v-2L6 10.2l.3-1.5L12 10l5.7-1.3z",person:"M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-3.3 0-8 1.67-8 5v3h16v-3c0-3.33-4.7-5-8-5z",eye:"M12 5c-7 0-11 7-11 7s4 7 11 7 11-7 11-7-4-7-11-7zm0 11a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",info:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 15h-2v-6h2zm0-8h-2V7h2z"};function t1(e){return e&&Ao[e]?Ao[e]:Ao.accessibility}function n1(e){return`<svg viewBox="0 0 24 24" aria-hidden="true"><path d="${t1(e)}"/></svg>`}const o1={contrast:!0,invert:!0,saturation:!0,highlightLinks:!0,textSize:!0,textSpacing:!0,lineHeight:!0,hideImages:!0,bigCursor:!0,reset:!0};function a1(e){const t=e??"top-right";return{containerPos:t==="top-right"?"top:16px;right:16px;":t==="top-left"?"top:16px;left:16px;":t==="bottom-right"?"bottom:16px;right:16px;":"bottom:16px;left:16px;"}}function kl(e){const{containerPos:t}=a1(e.position);return`
|
|
301
301
|
/* Accessibility Tools widget */
|
|
302
302
|
.ahd-a11y-widget{position:relative;display:inline-block}
|
|
303
303
|
.ahd-a11y-widget.ahd-a11y-floating{position:fixed;${t}z-index:99999}
|
|
@@ -329,7 +329,7 @@ html.a11y-spacing,html.a11y-spacing *{letter-spacing:0.12em !important;word-spac
|
|
|
329
329
|
html.a11y-lineheight,html.a11y-lineheight *{line-height:1.8 !important}
|
|
330
330
|
html.a11y-hide-images img,html.a11y-hide-images picture,html.a11y-hide-images video{visibility:hidden !important}
|
|
331
331
|
html.a11y-big-cursor,html.a11y-big-cursor *{cursor:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M4 2 L4 26 L10 20 L14 30 L18 28 L14 18 L22 18 Z" fill="black" stroke="white" stroke-width="1.5"/></svg>') 4 2, auto !important}
|
|
332
|
-
`.trim()}function _l(e){const t={...
|
|
332
|
+
`.trim()}function _l(e){const t={...o1,...e.features??{}},n=(p,d)=>`<button type="button" class="ahd-a11y-btn" data-a11y="${p}" aria-pressed="false">${d}</button>`,o=t.contrast||t.invert||t.saturation?`<div class="ahd-a11y-group"><div class="ahd-a11y-group-title">Color & Contrast</div><div class="ahd-a11y-row">${[t.contrast?n("contrast","High contrast"):"",t.invert?n("invert","Invert colors"):"",t.saturation?n("desat","Grayscale"):""].filter(Boolean).join("")}</div></div>`:"",a=t.textSize||t.textSpacing||t.lineHeight?`<div class="ahd-a11y-group"><div class="ahd-a11y-group-title">Text</div><div class="ahd-a11y-row">${[t.textSize?n("text-sm","A-"):"",t.textSize?n("text-lg","A+"):"",t.textSize?n("text-xl","A++"):"",t.textSpacing?n("spacing","Spacing"):"",t.lineHeight?n("lineheight","Line height"):"",t.highlightLinks?n("highlight-links","Highlight links"):""].filter(Boolean).join("")}</div></div>`:"",i=t.hideImages||t.bigCursor?`<div class="ahd-a11y-group"><div class="ahd-a11y-group-title">Other</div><div class="ahd-a11y-row">${[t.hideImages?n("hide-images","Hide images"):"",t.bigCursor?n("big-cursor","Big cursor"):""].filter(Boolean).join("")}</div></div>`:"",r=t.reset?'<button type="button" class="ahd-a11y-reset" data-a11y-reset>Reset all</button>':"",l=e.renderMode==="floating"?"floating":"inline",s=n1(e.icon??"accessibility"),c=nx(e.triggerText,e.showLabelText!==!1,"Accessibility"),u=typeof e.triggerLabel=="string"&&e.triggerLabel.trim()||"Accessibility tools";return`
|
|
333
333
|
<div class="ahd-a11y-widget ahd-a11y-${l}">
|
|
334
334
|
<button type="button" class="ahd-a11y-trigger" aria-label="${u}" aria-expanded="false" aria-controls="ahd-a11y-panel">${s}${c!==null?`<span>${c}</span>`:""}</button>
|
|
335
335
|
<div class="ahd-a11y-panel" id="ahd-a11y-panel" role="dialog" aria-label="Accessibility tools" aria-hidden="true" data-open="false">
|
|
@@ -445,16 +445,16 @@ html.a11y-big-cursor,html.a11y-big-cursor *{cursor:url('data:image/svg+xml;utf8,
|
|
|
445
445
|
init();
|
|
446
446
|
}
|
|
447
447
|
})();
|
|
448
|
-
`.trim()}function Cl({style:e,props:t}){const n=(t==null?void 0:t.renderMode)??Ke.renderMode,o=(t==null?void 0:t.position)??Ke.position,a=(t==null?void 0:t.features)??void 0,i=(t==null?void 0:t.triggerBg)??Ke.triggerBg,r=(t==null?void 0:t.triggerColor)??Ke.triggerColor,l=(t==null?void 0:t.triggerLabel)??Ke.triggerLabel,s=(t==null?void 0:t.showLabelText)!==!1,c=(t==null?void 0:t.triggerFontSize)??Ke.triggerFontSize,u=(t==null?void 0:t.triggerBorderRadius)??Ke.triggerBorderRadius,p=(t==null?void 0:t.triggerPadding)??Ke.triggerPadding,d=(t==null?void 0:t.triggerMargin)??Ke.triggerMargin,h=(t==null?void 0:t.icon)??Ke.icon,m={padding:Ma(e==null?void 0:e.padding),margin:Ta(e==null?void 0:e.margin),textAlign:(e==null?void 0:e.textAlign)??void 0},b={position:o,features:a,renderMode:n,triggerText:t==null?void 0:t.triggerText,showLabelText:s,icon:h,triggerLabel:l},v=kl(b),k=`.ahd-a11y-trigger{background:${i};color:${r};font-size:${c}px;border-radius:${u}px;padding:${p.top}px ${p.right}px ${p.bottom}px ${p.left}px};margin:${d.top}px ${d.right}px ${d.bottom}px ${d.left}px}`,S=_l(b),$=$l();return g.jsxs("div",{className:"accessibility-tools-block",style:m,"data-a11y-instance":"1",children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:v+k}}),g.jsx("div",{dangerouslySetInnerHTML:{__html:S}}),g.jsx("script",{dangerouslySetInnerHTML:{__html:$}}),g.jsx("span",{"aria-hidden":"true",style:{display:"none"},children:l})]})}function
|
|
448
|
+
`.trim()}function Cl({style:e,props:t}){const n=(t==null?void 0:t.renderMode)??Ke.renderMode,o=(t==null?void 0:t.position)??Ke.position,a=(t==null?void 0:t.features)??void 0,i=(t==null?void 0:t.triggerBg)??Ke.triggerBg,r=(t==null?void 0:t.triggerColor)??Ke.triggerColor,l=(t==null?void 0:t.triggerLabel)??Ke.triggerLabel,s=(t==null?void 0:t.showLabelText)!==!1,c=(t==null?void 0:t.triggerFontSize)??Ke.triggerFontSize,u=(t==null?void 0:t.triggerBorderRadius)??Ke.triggerBorderRadius,p=(t==null?void 0:t.triggerPadding)??Ke.triggerPadding,d=(t==null?void 0:t.triggerMargin)??Ke.triggerMargin,h=(t==null?void 0:t.icon)??Ke.icon,m={padding:Ma(e==null?void 0:e.padding),margin:Ta(e==null?void 0:e.margin),textAlign:(e==null?void 0:e.textAlign)??void 0},b={position:o,features:a,renderMode:n,triggerText:t==null?void 0:t.triggerText,showLabelText:s,icon:h,triggerLabel:l},v=kl(b),k=`.ahd-a11y-trigger{background:${i};color:${r};font-size:${c}px;border-radius:${u}px;padding:${p.top}px ${p.right}px ${p.bottom}px ${p.left}px};margin:${d.top}px ${d.right}px ${d.bottom}px ${d.left}px}`,S=_l(b),$=$l();return g.jsxs("div",{className:"accessibility-tools-block",style:m,"data-a11y-instance":"1",children:[g.jsx("style",{dangerouslySetInnerHTML:{__html:v+k}}),g.jsx("div",{dangerouslySetInnerHTML:{__html:S}}),g.jsx("script",{dangerouslySetInnerHTML:{__html:$}}),g.jsx("span",{"aria-hidden":"true",style:{display:"none"},children:l})]})}function r1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Yo={exports:{}},Ko={exports:{}},Be={},ue={};ue.__esModule=!0;ue.extend=Al;ue.indexOf=u1;ue.escapeExpression=d1;ue.isEmpty=h1;ue.createFrame=f1;ue.blockParams=p1;ue.appendContextPath=m1;var i1={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},l1=/[&<>"'`=]/g,s1=/[&<>"'`=]/;function c1(e){return i1[e]}function Al(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var Pa=Object.prototype.toString;ue.toString=Pa;var Jo=function(t){return typeof t=="function"};Jo(/x/)&&(ue.isFunction=Jo=function(e){return typeof e=="function"&&Pa.call(e)==="[object Function]"});ue.isFunction=Jo;var yl=Array.isArray||function(e){return e&&typeof e=="object"?Pa.call(e)==="[object Array]":!1};ue.isArray=yl;function u1(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1}function d1(e){if(typeof e!="string"){if(e&&e.toHTML)return e.toHTML();if(e==null)return"";if(!e)return e+"";e=""+e}return s1.test(e)?e.replace(l1,c1):e}function h1(e){return!e&&e!==0?!0:!!(yl(e)&&e.length===0)}function f1(e){var t=Al({},e);return t._parent=e,t}function p1(e,t){return e.path=t,e}function m1(e,t){return(e?e+".":"")+t}var Xo={exports:{}};(function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function o(a,i){var r=i&&i.loc,l=void 0,s=void 0,c=void 0,u=void 0;r&&(l=r.start.line,s=r.end.line,c=r.start.column,u=r.end.column,a+=" - "+l+":"+c);for(var p=Error.prototype.constructor.call(this,a),d=0;d<n.length;d++)this[n[d]]=p[n[d]];Error.captureStackTrace&&Error.captureStackTrace(this,o);try{r&&(this.lineNumber=l,this.endLineNumber=s,Object.defineProperty?(Object.defineProperty(this,"column",{value:c,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:u,enumerable:!0})):(this.column=c,this.endColumn=u))}catch{}}o.prototype=new Error,t.default=o,e.exports=t.default})(Xo,Xo.exports);var De=Xo.exports,hn={},Qo={exports:{}};(function(e,t){t.__esModule=!0;var n=ue;t.default=function(o){o.registerHelper("blockHelperMissing",function(a,i){var r=i.inverse,l=i.fn;if(a===!0)return l(this);if(a===!1||a==null)return r(this);if(n.isArray(a))return a.length>0?(i.ids&&(i.ids=[i.name]),o.helpers.each(a,i)):r(this);if(i.data&&i.ids){var s=n.createFrame(i.data);s.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:s}}return l(a,i)})},e.exports=t.default})(Qo,Qo.exports);var g1=Qo.exports,ea={exports:{}};(function(e,t){t.__esModule=!0;function n(r){return r&&r.__esModule?r:{default:r}}var o=ue,a=De,i=n(a);t.default=function(r){r.registerHelper("each",function(l,s){if(!s)throw new i.default("Must pass iterator to #each");var c=s.fn,u=s.inverse,p=0,d="",h=void 0,m=void 0;s.data&&s.ids&&(m=o.appendContextPath(s.data.contextPath,s.ids[0])+"."),o.isFunction(l)&&(l=l.call(this)),s.data&&(h=o.createFrame(s.data));function b(w,_,N){h&&(h.key=w,h.index=_,h.first=_===0,h.last=!!N,m&&(h.contextPath=m+w)),d=d+c(l[w],{data:h,blockParams:o.blockParams([l[w],w],[m+w,null])})}if(l&&typeof l=="object")if(o.isArray(l))for(var v=l.length;p<v;p++)p in l&&b(p,p,p===l.length-1);else if(typeof Symbol=="function"&&l[Symbol.iterator]){for(var k=[],S=l[Symbol.iterator](),$=S.next();!$.done;$=S.next())k.push($.value);l=k;for(var v=l.length;p<v;p++)b(p,p,p===l.length-1)}else(function(){var w=void 0;Object.keys(l).forEach(function(_){w!==void 0&&b(w,p-1),w=_,p++}),w!==void 0&&b(w,p-1,!0)})();return p===0&&(d=u(this)),d})},e.exports=t.default})(ea,ea.exports);var b1=ea.exports,ta={exports:{}};(function(e,t){t.__esModule=!0;function n(i){return i&&i.__esModule?i:{default:i}}var o=De,a=n(o);t.default=function(i){i.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new a.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default})(ta,ta.exports);var v1=ta.exports,na={exports:{}};(function(e,t){t.__esModule=!0;function n(r){return r&&r.__esModule?r:{default:r}}var o=ue,a=De,i=n(a);t.default=function(r){r.registerHelper("if",function(l,s){if(arguments.length!=2)throw new i.default("#if requires exactly one argument");return o.isFunction(l)&&(l=l.call(this)),!s.hash.includeZero&&!l||o.isEmpty(l)?s.inverse(this):s.fn(this)}),r.registerHelper("unless",function(l,s){if(arguments.length!=2)throw new i.default("#unless requires exactly one argument");return r.helpers.if.call(this,l,{fn:s.inverse,inverse:s.fn,hash:s.hash})})},e.exports=t.default})(na,na.exports);var x1=na.exports,oa={exports:{}};(function(e,t){t.__esModule=!0,t.default=function(n){n.registerHelper("log",function(){for(var o=[void 0],a=arguments[arguments.length-1],i=0;i<arguments.length-1;i++)o.push(arguments[i]);var r=1;a.hash.level!=null?r=a.hash.level:a.data&&a.data.level!=null&&(r=a.data.level),o[0]=r,n.log.apply(n,o)})},e.exports=t.default})(oa,oa.exports);var S1=oa.exports,aa={exports:{}};(function(e,t){t.__esModule=!0,t.default=function(n){n.registerHelper("lookup",function(o,a,i){return o&&i.lookupProperty(o,a)})},e.exports=t.default})(aa,aa.exports);var w1=aa.exports,ra={exports:{}};(function(e,t){t.__esModule=!0;function n(r){return r&&r.__esModule?r:{default:r}}var o=ue,a=De,i=n(a);t.default=function(r){r.registerHelper("with",function(l,s){if(arguments.length!=2)throw new i.default("#with requires exactly one argument");o.isFunction(l)&&(l=l.call(this));var c=s.fn;if(o.isEmpty(l))return s.inverse(this);var u=s.data;return s.data&&s.ids&&(u=o.createFrame(s.data),u.contextPath=o.appendContextPath(s.data.contextPath,s.ids[0])),c(l,{data:u,blockParams:o.blockParams([l],[u&&u.contextPath])})})},e.exports=t.default})(ra,ra.exports);var k1=ra.exports;hn.__esModule=!0;hn.registerDefaultHelpers=z1;hn.moveHelperToHooks=j1;function kt(e){return e&&e.__esModule?e:{default:e}}var _1=g1,$1=kt(_1),C1=b1,A1=kt(C1),y1=v1,N1=kt(y1),R1=x1,E1=kt(R1),I1=S1,M1=kt(I1),T1=w1,P1=kt(T1),O1=k1,L1=kt(O1);function z1(e){$1.default(e),A1.default(e),N1.default(e),E1.default(e),M1.default(e),P1.default(e),L1.default(e)}function j1(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||(e.helpers[t]=void 0))}var Oa={},ia={exports:{}};(function(e,t){t.__esModule=!0;var n=ue;t.default=function(o){o.registerDecorator("inline",function(a,i,r,l){var s=a;return i.partials||(i.partials={},s=function(c,u){var p=r.partials;r.partials=n.extend({},p,i.partials);var d=a(c,u);return r.partials=p,d}),i.partials[l.args[0]]=l.fn,s})},e.exports=t.default})(ia,ia.exports);var B1=ia.exports;Oa.__esModule=!0;Oa.registerDefaultDecorators=G1;function D1(e){return e&&e.__esModule?e:{default:e}}var H1=B1,F1=D1(H1);function G1(e){F1.default(e)}var la={exports:{}};(function(e,t){t.__esModule=!0;var n=ue,o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(i){if(typeof i=="string"){var r=n.indexOf(o.methodMap,i.toLowerCase());r>=0?i=r:i=parseInt(i,10)}return i},log:function(i){if(i=o.lookupLevel(i),typeof console<"u"&&o.lookupLevel(o.level)<=i){var r=o.methodMap[i];console[r]||(r="log");for(var l=arguments.length,s=Array(l>1?l-1:0),c=1;c<l;c++)s[c-1]=arguments[c];console[r].apply(console,s)}}};t.default=o,e.exports=t.default})(la,la.exports);var Nl=la.exports,Ht={};Ht.__esModule=!0;Ht.createProtoAccessControl=q1;Ht.resultIsAllowed=V1;Ht.resetLoggedProperties=K1;function U1(e){return e&&e.__esModule?e:{default:e}}var Qr=ue,Z1=Nl,W1=U1(Z1),Hn=Object.create(null);function q1(e){var t=Object.create(null);t.__proto__=!1,Qr.extend(t,e.allowedProtoProperties);var n=Object.create(null);return n.constructor=!1,n.__defineGetter__=!1,n.__defineSetter__=!1,n.__lookupGetter__=!1,n.__lookupSetter__=!1,Qr.extend(n,e.allowedProtoMethods),{properties:{whitelist:t,defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:n,defaultValue:e.allowProtoMethodsByDefault}}}function V1(e,t,n){return ei(typeof e=="function"?t.methods:t.properties,n)}function ei(e,t){return e.whitelist[t]!==void 0?e.whitelist[t]===!0:e.defaultValue!==void 0?e.defaultValue:(Y1(t),!1)}function Y1(e){Hn[e]!==!0&&(Hn[e]=!0,W1.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+`" because it is not an "own property" of its parent.
|
|
449
449
|
You can add a runtime option to disable the check or this warning:
|
|
450
|
-
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function
|
|
450
|
+
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function K1(){Object.keys(Hn).forEach(function(e){delete Hn[e]})}Be.__esModule=!0;Be.HandlebarsEnvironment=sa;function Rl(e){return e&&e.__esModule?e:{default:e}}var xt=ue,J1=De,yo=Rl(J1),X1=hn,Q1=Oa,eS=Nl,Fn=Rl(eS),tS=Ht,nS="4.7.9";Be.VERSION=nS;var oS=8;Be.COMPILER_REVISION=oS;var aS=7;Be.LAST_COMPATIBLE_COMPILER_REVISION=aS;var rS={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};Be.REVISION_CHANGES=rS;var No="[object Object]";function sa(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},X1.registerDefaultHelpers(this),Q1.registerDefaultDecorators(this)}sa.prototype={constructor:sa,logger:Fn.default,log:Fn.default.log,registerHelper:function(t,n){if(xt.toString.call(t)===No){if(n)throw new yo.default("Arg not supported with multiple helpers");xt.extend(this.helpers,t)}else this.helpers[t]=n},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,n){if(xt.toString.call(t)===No)xt.extend(this.partials,t);else{if(typeof n>"u")throw new yo.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=n}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,n){if(xt.toString.call(t)===No){if(n)throw new yo.default("Arg not supported with multiple decorators");xt.extend(this.decorators,t)}else this.decorators[t]=n},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){tS.resetLoggedProperties()}};var iS=Fn.default.log;Be.log=iS;Be.createFrame=xt.createFrame;Be.logger=Fn.default;var ca={exports:{}};(function(e,t){t.__esModule=!0;function n(o){this.string=o}n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default})(ca,ca.exports);var lS=ca.exports,gt={},La={};La.__esModule=!0;La.wrapHelper=sS;function sS(e,t){if(typeof e!="function")return e;var n=function(){var a=arguments[arguments.length-1];return arguments[arguments.length-1]=t(a),e.apply(this,arguments)};return n}gt.__esModule=!0;gt.checkRevision=pS;gt.template=mS;gt.wrapProgram=In;gt.resolvePartial=gS;gt.invokePartial=bS;gt.noop=El;function cS(e){return e&&e.__esModule?e:{default:e}}function uS(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var dS=ue,It=uS(dS),hS=De,tt=cS(hS),nt=Be,ti=hn,fS=La,ni=Ht;function pS(e){var t=e&&e[0]||1,n=nt.COMPILER_REVISION;if(!(t>=nt.LAST_COMPATIBLE_COMPILER_REVISION&&t<=nt.COMPILER_REVISION))if(t<nt.LAST_COMPATIBLE_COMPILER_REVISION){var o=nt.REVISION_CHANGES[n],a=nt.REVISION_CHANGES[t];throw new tt.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+o+") or downgrade your runtime to an older version ("+a+").")}else throw new tt.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}function mS(e,t){if(!t)throw new tt.default("No environment passed to template");if(!e||!e.main)throw new tt.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&e.compiler[0]===7;function o(r,l,s){s.hash&&(l=It.extend({},l,s.hash),s.ids&&(s.ids[0]=!0)),r=t.VM.resolvePartial.call(this,r,l,s),s.hooks=this.hooks,s.protoAccessControl=this.protoAccessControl;var c=t.VM.invokePartial.call(this,r,l,s);if(c==null&&t.compile&&(s.partials[s.name]=t.compile(r,e.compilerOptions,t),c=s.partials[s.name](l,s)),c!=null){if(s.indent){for(var u=c.split(`
|
|
451
451
|
`),p=0,d=u.length;p<d&&!(!u[p]&&p+1===d);p++)u[p]=s.indent+u[p];c=u.join(`
|
|
452
|
-
`)}return c}else throw new tt.default("The partial "+s.name+" could not be compiled when running in runtime-only mode")}var a={strict:function(l,s,c){if(!l||!(s in l))throw new tt.default('"'+s+'" not defined in '+l,{loc:c});return a.lookupProperty(l,s)},lookupProperty:function(l,s){var c=l[s];if(c==null||Object.prototype.hasOwnProperty.call(l,s)||ni.resultIsAllowed(c,a.protoAccessControl,s))return c},lookup:function(l,s){for(var c=l.length,u=0;u<c;u++){var p=l[u]&&a.lookupProperty(l[u],s);if(p!=null)return p}},lambda:function(l,s){return typeof l=="function"?l.call(s):l},escapeExpression:It.escapeExpression,invokePartial:o,fn:function(l){var s=e[l];return s.decorator=e[l+"_d"],s},programs:[],program:function(l,s,c,u,p){var d=this.programs[l],h=this.fn(l);return s||p||u||c?d=In(this,l,h,s,c,u,p):d||(d=this.programs[l]=In(this,l,h)),d},data:function(l,s){for(;l&&s--;)l=l._parent;return l},mergeIfNeeded:function(l,s){var c=l||s;return l&&s&&l!==s&&(c=It.extend({},s,l)),c},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function i(r){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],s=l.data;i._setup(l),!l.partial&&e.useData&&(s=gS(r,s));var c=void 0,u=e.useBlockParams?[]:void 0;e.useDepths&&(l.depths?c=r!=l.depths[0]?[r].concat(l.depths):l.depths:c=[r]);function p(d){return""+e.main(a,d,a.helpers,a.partials,s,u,c)}return p=Il(e.main,p,a,l.depths||[],s,u),p(r,l)}return i.isTop=!0,i._setup=function(r){if(r.partial)a.protoAccessControl=r.protoAccessControl,a.helpers=r.helpers,a.partials=r.partials,a.decorators=r.decorators,a.hooks=r.hooks;else{var l={};oi(l,t.helpers,a),oi(l,r.helpers,a),a.helpers=l,e.usePartial&&(a.partials=a.mergeIfNeeded(r.partials,t.partials)),(e.usePartial||e.useDecorators)&&(a.decorators=It.extend({},t.decorators,r.decorators)),a.hooks={},a.protoAccessControl=ni.createProtoAccessControl(r);var s=r.allowCallsToHelperMissing||n;ti.moveHelperToHooks(a,"helperMissing",s),ti.moveHelperToHooks(a,"blockHelperMissing",s)}},i._child=function(r,l,s,c){if(e.useBlockParams&&!s)throw new tt.default("must pass block params");if(e.useDepths&&!c)throw new tt.default("must pass parent depths");return In(a,r,e[r],l,0,s,c)},i}function In(e,t,n,o,a,i,r){function l(s){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=r;return r&&s!=r[0]&&!(s===e.nullContext&&r[0]===null)&&(u=[s].concat(r)),n(e,s,e.helpers,e.partials,c.data||o,i&&[c.blockParams].concat(i),u)}return l=Il(n,l,e,r,o,i),l.program=t,l.depth=r?r.length:0,l.blockParams=a||0,l}function pS(e,t,n){return e?!e.call&&!n.name&&(n.name=e,e=Mn(n.partials,e)):n.name==="@partial-block"?e=Mn(n.data,"partial-block"):e=Mn(n.partials,n.name),e}function mS(e,t,n){var o=Mn(n.data,"partial-block");n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var a=void 0;if(n.fn&&n.fn!==El&&function(){n.data=nt.createFrame(n.data);var i=n.fn;a=n.data["partial-block"]=function(l){var s=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return s.data=nt.createFrame(s.data),s.data["partial-block"]=o,i(l,s)},i.partials&&(n.partials=It.extend({},n.partials,i.partials))}(),e===void 0&&a&&(e=a),e===void 0)throw new tt.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)}function El(){return""}function Mn(e,t){if(e&&Object.prototype.hasOwnProperty.call(e,t))return e[t]}function gS(e,t){return(!t||!("root"in t))&&(t=t?nt.createFrame(t):{},t.root=e),t}function Il(e,t,n,o,a,i){if(e.decorator){var r={};t=e.decorator(t,r,n,o&&o[0],a,i,o),It.extend(t,r)}return t}function oi(e,t,n){t&&Object.keys(t).forEach(function(o){var a=t[o];e[o]=bS(a,n)})}function bS(e,t){var n=t.lookupProperty;return dS.wrapHelper(e,function(o){return o.lookupProperty=n,o})}var ua={exports:{}};(function(e,t){t.__esModule=!0,t.default=function(n){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var o=globalThis.Handlebars;n.noConflict=function(){return globalThis.Handlebars===n&&(globalThis.Handlebars=o),n}},e.exports=t.default})(ua,ua.exports);var Ml=ua.exports;(function(e,t){t.__esModule=!0;function n(S){return S&&S.__esModule?S:{default:S}}function o(S){if(S&&S.__esModule)return S;var $={};if(S!=null)for(var w in S)Object.prototype.hasOwnProperty.call(S,w)&&($[w]=S[w]);return $.default=S,$}var a=Be,i=o(a),r=rS,l=n(r),s=De,c=n(s),u=ue,p=o(u),d=gt,h=o(d),m=Ml,b=n(m);function v(){var S=new i.HandlebarsEnvironment;return p.extend(S,i),S.SafeString=l.default,S.Exception=c.default,S.Utils=p,S.escapeExpression=p.escapeExpression,S.VM=h,S.template=function($){return h.template($,S)},S}var k=v();k.create=v,b.default(k),k.default=k,t.default=k,e.exports=t.default})(Ko,Ko.exports);var vS=Ko.exports,da={exports:{}};(function(e,t){t.__esModule=!0;var n={helpers:{helperExpression:function(a){return a.type==="SubExpression"||(a.type==="MustacheStatement"||a.type==="BlockStatement")&&!!(a.params&&a.params.length||a.hash)},scopedId:function(a){return/^\.|this\b/.test(a.original)},simpleId:function(a){return a.parts.length===1&&!n.helpers.scopedId(a)&&!a.depth}}};t.default=n,e.exports=t.default})(da,da.exports);var Tl=da.exports,fn={},ha={exports:{}};(function(e,t){t.__esModule=!0;var n=function(){var o={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(l,s,c,u,p,d,h){var m=d.length-1;switch(p){case 1:return d[m-1];case 2:this.$=u.prepareProgram(d[m]);break;case 3:this.$=d[m];break;case 4:this.$=d[m];break;case 5:this.$=d[m];break;case 6:this.$=d[m];break;case 7:this.$=d[m];break;case 8:this.$=d[m];break;case 9:this.$={type:"CommentStatement",value:u.stripComment(d[m]),strip:u.stripFlags(d[m],d[m]),loc:u.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:d[m],value:d[m],loc:u.locInfo(this._$)};break;case 11:this.$=u.prepareRawBlock(d[m-2],d[m-1],d[m],this._$);break;case 12:this.$={path:d[m-3],params:d[m-2],hash:d[m-1]};break;case 13:this.$=u.prepareBlock(d[m-3],d[m-2],d[m-1],d[m],!1,this._$);break;case 14:this.$=u.prepareBlock(d[m-3],d[m-2],d[m-1],d[m],!0,this._$);break;case 15:this.$={open:d[m-5],path:d[m-4],params:d[m-3],hash:d[m-2],blockParams:d[m-1],strip:u.stripFlags(d[m-5],d[m])};break;case 16:this.$={path:d[m-4],params:d[m-3],hash:d[m-2],blockParams:d[m-1],strip:u.stripFlags(d[m-5],d[m])};break;case 17:this.$={path:d[m-4],params:d[m-3],hash:d[m-2],blockParams:d[m-1],strip:u.stripFlags(d[m-5],d[m])};break;case 18:this.$={strip:u.stripFlags(d[m-1],d[m-1]),program:d[m]};break;case 19:var b=u.prepareBlock(d[m-2],d[m-1],d[m],d[m],!1,this._$),v=u.prepareProgram([b],d[m-1].loc);v.chained=!0,this.$={strip:d[m-2].strip,program:v,chain:!0};break;case 20:this.$=d[m];break;case 21:this.$={path:d[m-1],strip:u.stripFlags(d[m-2],d[m])};break;case 22:this.$=u.prepareMustache(d[m-3],d[m-2],d[m-1],d[m-4],u.stripFlags(d[m-4],d[m]),this._$);break;case 23:this.$=u.prepareMustache(d[m-3],d[m-2],d[m-1],d[m-4],u.stripFlags(d[m-4],d[m]),this._$);break;case 24:this.$={type:"PartialStatement",name:d[m-3],params:d[m-2],hash:d[m-1],indent:"",strip:u.stripFlags(d[m-4],d[m]),loc:u.locInfo(this._$)};break;case 25:this.$=u.preparePartialBlock(d[m-2],d[m-1],d[m],this._$);break;case 26:this.$={path:d[m-3],params:d[m-2],hash:d[m-1],strip:u.stripFlags(d[m-4],d[m])};break;case 27:this.$=d[m];break;case 28:this.$=d[m];break;case 29:this.$={type:"SubExpression",path:d[m-3],params:d[m-2],hash:d[m-1],loc:u.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:d[m],loc:u.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:u.id(d[m-2]),value:d[m],loc:u.locInfo(this._$)};break;case 32:this.$=u.id(d[m-1]);break;case 33:this.$=d[m];break;case 34:this.$=d[m];break;case 35:this.$={type:"StringLiteral",value:d[m],original:d[m],loc:u.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(d[m]),original:Number(d[m]),loc:u.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:d[m]==="true",original:d[m]==="true",loc:u.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:u.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:u.locInfo(this._$)};break;case 40:this.$=d[m];break;case 41:this.$=d[m];break;case 42:this.$=u.preparePath(!0,d[m],this._$);break;case 43:this.$=u.preparePath(!1,d[m],this._$);break;case 44:d[m-2].push({part:u.id(d[m]),original:d[m],separator:d[m-1]}),this.$=d[m-2];break;case 45:this.$=[{part:u.id(d[m]),original:d[m]}];break;case 46:this.$=[];break;case 47:d[m-1].push(d[m]);break;case 48:this.$=[];break;case 49:d[m-1].push(d[m]);break;case 50:this.$=[];break;case 51:d[m-1].push(d[m]);break;case 58:this.$=[];break;case 59:d[m-1].push(d[m]);break;case 64:this.$=[];break;case 65:d[m-1].push(d[m]);break;case 70:this.$=[];break;case 71:d[m-1].push(d[m]);break;case 78:this.$=[];break;case 79:d[m-1].push(d[m]);break;case 82:this.$=[];break;case 83:d[m-1].push(d[m]);break;case 86:this.$=[];break;case 87:d[m-1].push(d[m]);break;case 90:this.$=[];break;case 91:d[m-1].push(d[m]);break;case 94:this.$=[];break;case 95:d[m-1].push(d[m]);break;case 98:this.$=[d[m]];break;case 99:d[m-1].push(d[m]);break;case 100:this.$=[d[m]];break;case 101:d[m-1].push(d[m]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(l,s){throw new Error(l)},parse:function(l){var s=this,c=[0],u=[null],p=[],d=this.table,h="",m=0,b=0;this.lexer.setInput(l),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var v=this.lexer.yylloc;p.push(v);var k=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function S(){var H;return H=s.lexer.lex()||1,typeof H!="number"&&(H=s.symbols_[H]||H),H}for(var $,w,_,N,A={},y,R,M,T;;){if(w=c[c.length-1],this.defaultActions[w]?_=this.defaultActions[w]:(($===null||typeof $>"u")&&($=S()),_=d[w]&&d[w][$]),typeof _>"u"||!_.length||!_[0]){var L="";{T=[];for(y in d[w])this.terminals_[y]&&y>2&&T.push("'"+this.terminals_[y]+"'");this.lexer.showPosition?L="Parse error on line "+(m+1)+`:
|
|
452
|
+
`)}return c}else throw new tt.default("The partial "+s.name+" could not be compiled when running in runtime-only mode")}var a={strict:function(l,s,c){if(!l||!(s in l))throw new tt.default('"'+s+'" not defined in '+l,{loc:c});return a.lookupProperty(l,s)},lookupProperty:function(l,s){var c=l[s];if(c==null||Object.prototype.hasOwnProperty.call(l,s)||ni.resultIsAllowed(c,a.protoAccessControl,s))return c},lookup:function(l,s){for(var c=l.length,u=0;u<c;u++){var p=l[u]&&a.lookupProperty(l[u],s);if(p!=null)return p}},lambda:function(l,s){return typeof l=="function"?l.call(s):l},escapeExpression:It.escapeExpression,invokePartial:o,fn:function(l){var s=e[l];return s.decorator=e[l+"_d"],s},programs:[],program:function(l,s,c,u,p){var d=this.programs[l],h=this.fn(l);return s||p||u||c?d=In(this,l,h,s,c,u,p):d||(d=this.programs[l]=In(this,l,h)),d},data:function(l,s){for(;l&&s--;)l=l._parent;return l},mergeIfNeeded:function(l,s){var c=l||s;return l&&s&&l!==s&&(c=It.extend({},s,l)),c},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function i(r){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],s=l.data;i._setup(l),!l.partial&&e.useData&&(s=vS(r,s));var c=void 0,u=e.useBlockParams?[]:void 0;e.useDepths&&(l.depths?c=r!=l.depths[0]?[r].concat(l.depths):l.depths:c=[r]);function p(d){return""+e.main(a,d,a.helpers,a.partials,s,u,c)}return p=Il(e.main,p,a,l.depths||[],s,u),p(r,l)}return i.isTop=!0,i._setup=function(r){if(r.partial)a.protoAccessControl=r.protoAccessControl,a.helpers=r.helpers,a.partials=r.partials,a.decorators=r.decorators,a.hooks=r.hooks;else{var l={};oi(l,t.helpers,a),oi(l,r.helpers,a),a.helpers=l,e.usePartial&&(a.partials=a.mergeIfNeeded(r.partials,t.partials)),(e.usePartial||e.useDecorators)&&(a.decorators=It.extend({},t.decorators,r.decorators)),a.hooks={},a.protoAccessControl=ni.createProtoAccessControl(r);var s=r.allowCallsToHelperMissing||n;ti.moveHelperToHooks(a,"helperMissing",s),ti.moveHelperToHooks(a,"blockHelperMissing",s)}},i._child=function(r,l,s,c){if(e.useBlockParams&&!s)throw new tt.default("must pass block params");if(e.useDepths&&!c)throw new tt.default("must pass parent depths");return In(a,r,e[r],l,0,s,c)},i}function In(e,t,n,o,a,i,r){function l(s){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=r;return r&&s!=r[0]&&!(s===e.nullContext&&r[0]===null)&&(u=[s].concat(r)),n(e,s,e.helpers,e.partials,c.data||o,i&&[c.blockParams].concat(i),u)}return l=Il(n,l,e,r,o,i),l.program=t,l.depth=r?r.length:0,l.blockParams=a||0,l}function gS(e,t,n){return e?!e.call&&!n.name&&(n.name=e,e=Mn(n.partials,e)):n.name==="@partial-block"?e=Mn(n.data,"partial-block"):e=Mn(n.partials,n.name),e}function bS(e,t,n){var o=Mn(n.data,"partial-block");n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var a=void 0;if(n.fn&&n.fn!==El&&function(){n.data=nt.createFrame(n.data);var i=n.fn;a=n.data["partial-block"]=function(l){var s=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return s.data=nt.createFrame(s.data),s.data["partial-block"]=o,i(l,s)},i.partials&&(n.partials=It.extend({},n.partials,i.partials))}(),e===void 0&&a&&(e=a),e===void 0)throw new tt.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)}function El(){return""}function Mn(e,t){if(e&&Object.prototype.hasOwnProperty.call(e,t))return e[t]}function vS(e,t){return(!t||!("root"in t))&&(t=t?nt.createFrame(t):{},t.root=e),t}function Il(e,t,n,o,a,i){if(e.decorator){var r={};t=e.decorator(t,r,n,o&&o[0],a,i,o),It.extend(t,r)}return t}function oi(e,t,n){t&&Object.keys(t).forEach(function(o){var a=t[o];e[o]=xS(a,n)})}function xS(e,t){var n=t.lookupProperty;return fS.wrapHelper(e,function(o){return o.lookupProperty=n,o})}var ua={exports:{}};(function(e,t){t.__esModule=!0,t.default=function(n){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var o=globalThis.Handlebars;n.noConflict=function(){return globalThis.Handlebars===n&&(globalThis.Handlebars=o),n}},e.exports=t.default})(ua,ua.exports);var Ml=ua.exports;(function(e,t){t.__esModule=!0;function n(S){return S&&S.__esModule?S:{default:S}}function o(S){if(S&&S.__esModule)return S;var $={};if(S!=null)for(var w in S)Object.prototype.hasOwnProperty.call(S,w)&&($[w]=S[w]);return $.default=S,$}var a=Be,i=o(a),r=lS,l=n(r),s=De,c=n(s),u=ue,p=o(u),d=gt,h=o(d),m=Ml,b=n(m);function v(){var S=new i.HandlebarsEnvironment;return p.extend(S,i),S.SafeString=l.default,S.Exception=c.default,S.Utils=p,S.escapeExpression=p.escapeExpression,S.VM=h,S.template=function($){return h.template($,S)},S}var k=v();k.create=v,b.default(k),k.default=k,t.default=k,e.exports=t.default})(Ko,Ko.exports);var SS=Ko.exports,da={exports:{}};(function(e,t){t.__esModule=!0;var n={helpers:{helperExpression:function(a){return a.type==="SubExpression"||(a.type==="MustacheStatement"||a.type==="BlockStatement")&&!!(a.params&&a.params.length||a.hash)},scopedId:function(a){return/^\.|this\b/.test(a.original)},simpleId:function(a){return a.parts.length===1&&!n.helpers.scopedId(a)&&!a.depth}}};t.default=n,e.exports=t.default})(da,da.exports);var Tl=da.exports,fn={},ha={exports:{}};(function(e,t){t.__esModule=!0;var n=function(){var o={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(l,s,c,u,p,d,h){var m=d.length-1;switch(p){case 1:return d[m-1];case 2:this.$=u.prepareProgram(d[m]);break;case 3:this.$=d[m];break;case 4:this.$=d[m];break;case 5:this.$=d[m];break;case 6:this.$=d[m];break;case 7:this.$=d[m];break;case 8:this.$=d[m];break;case 9:this.$={type:"CommentStatement",value:u.stripComment(d[m]),strip:u.stripFlags(d[m],d[m]),loc:u.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:d[m],value:d[m],loc:u.locInfo(this._$)};break;case 11:this.$=u.prepareRawBlock(d[m-2],d[m-1],d[m],this._$);break;case 12:this.$={path:d[m-3],params:d[m-2],hash:d[m-1]};break;case 13:this.$=u.prepareBlock(d[m-3],d[m-2],d[m-1],d[m],!1,this._$);break;case 14:this.$=u.prepareBlock(d[m-3],d[m-2],d[m-1],d[m],!0,this._$);break;case 15:this.$={open:d[m-5],path:d[m-4],params:d[m-3],hash:d[m-2],blockParams:d[m-1],strip:u.stripFlags(d[m-5],d[m])};break;case 16:this.$={path:d[m-4],params:d[m-3],hash:d[m-2],blockParams:d[m-1],strip:u.stripFlags(d[m-5],d[m])};break;case 17:this.$={path:d[m-4],params:d[m-3],hash:d[m-2],blockParams:d[m-1],strip:u.stripFlags(d[m-5],d[m])};break;case 18:this.$={strip:u.stripFlags(d[m-1],d[m-1]),program:d[m]};break;case 19:var b=u.prepareBlock(d[m-2],d[m-1],d[m],d[m],!1,this._$),v=u.prepareProgram([b],d[m-1].loc);v.chained=!0,this.$={strip:d[m-2].strip,program:v,chain:!0};break;case 20:this.$=d[m];break;case 21:this.$={path:d[m-1],strip:u.stripFlags(d[m-2],d[m])};break;case 22:this.$=u.prepareMustache(d[m-3],d[m-2],d[m-1],d[m-4],u.stripFlags(d[m-4],d[m]),this._$);break;case 23:this.$=u.prepareMustache(d[m-3],d[m-2],d[m-1],d[m-4],u.stripFlags(d[m-4],d[m]),this._$);break;case 24:this.$={type:"PartialStatement",name:d[m-3],params:d[m-2],hash:d[m-1],indent:"",strip:u.stripFlags(d[m-4],d[m]),loc:u.locInfo(this._$)};break;case 25:this.$=u.preparePartialBlock(d[m-2],d[m-1],d[m],this._$);break;case 26:this.$={path:d[m-3],params:d[m-2],hash:d[m-1],strip:u.stripFlags(d[m-4],d[m])};break;case 27:this.$=d[m];break;case 28:this.$=d[m];break;case 29:this.$={type:"SubExpression",path:d[m-3],params:d[m-2],hash:d[m-1],loc:u.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:d[m],loc:u.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:u.id(d[m-2]),value:d[m],loc:u.locInfo(this._$)};break;case 32:this.$=u.id(d[m-1]);break;case 33:this.$=d[m];break;case 34:this.$=d[m];break;case 35:this.$={type:"StringLiteral",value:d[m],original:d[m],loc:u.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(d[m]),original:Number(d[m]),loc:u.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:d[m]==="true",original:d[m]==="true",loc:u.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:u.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:u.locInfo(this._$)};break;case 40:this.$=d[m];break;case 41:this.$=d[m];break;case 42:this.$=u.preparePath(!0,d[m],this._$);break;case 43:this.$=u.preparePath(!1,d[m],this._$);break;case 44:d[m-2].push({part:u.id(d[m]),original:d[m],separator:d[m-1]}),this.$=d[m-2];break;case 45:this.$=[{part:u.id(d[m]),original:d[m]}];break;case 46:this.$=[];break;case 47:d[m-1].push(d[m]);break;case 48:this.$=[];break;case 49:d[m-1].push(d[m]);break;case 50:this.$=[];break;case 51:d[m-1].push(d[m]);break;case 58:this.$=[];break;case 59:d[m-1].push(d[m]);break;case 64:this.$=[];break;case 65:d[m-1].push(d[m]);break;case 70:this.$=[];break;case 71:d[m-1].push(d[m]);break;case 78:this.$=[];break;case 79:d[m-1].push(d[m]);break;case 82:this.$=[];break;case 83:d[m-1].push(d[m]);break;case 86:this.$=[];break;case 87:d[m-1].push(d[m]);break;case 90:this.$=[];break;case 91:d[m-1].push(d[m]);break;case 94:this.$=[];break;case 95:d[m-1].push(d[m]);break;case 98:this.$=[d[m]];break;case 99:d[m-1].push(d[m]);break;case 100:this.$=[d[m]];break;case 101:d[m-1].push(d[m]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(l,s){throw new Error(l)},parse:function(l){var s=this,c=[0],u=[null],p=[],d=this.table,h="",m=0,b=0;this.lexer.setInput(l),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var v=this.lexer.yylloc;p.push(v);var k=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function S(){var H;return H=s.lexer.lex()||1,typeof H!="number"&&(H=s.symbols_[H]||H),H}for(var $,w,_,N,A={},y,R,M,T;;){if(w=c[c.length-1],this.defaultActions[w]?_=this.defaultActions[w]:(($===null||typeof $>"u")&&($=S()),_=d[w]&&d[w][$]),typeof _>"u"||!_.length||!_[0]){var L="";{T=[];for(y in d[w])this.terminals_[y]&&y>2&&T.push("'"+this.terminals_[y]+"'");this.lexer.showPosition?L="Parse error on line "+(m+1)+`:
|
|
453
453
|
`+this.lexer.showPosition()+`
|
|
454
454
|
Expecting `+T.join(", ")+", got '"+(this.terminals_[$]||$)+"'":L="Parse error on line "+(m+1)+": Unexpected "+($==1?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(L,{text:this.lexer.match,token:this.terminals_[$]||$,line:this.lexer.yylineno,loc:v,expected:T})}}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+$);switch(_[0]){case 1:c.push($),u.push(this.lexer.yytext),p.push(this.lexer.yylloc),c.push(_[1]),$=null,b=this.lexer.yyleng,h=this.lexer.yytext,m=this.lexer.yylineno,v=this.lexer.yylloc;break;case 2:if(R=this.productions_[_[1]][1],A.$=u[u.length-R],A._$={first_line:p[p.length-(R||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(R||1)].first_column,last_column:p[p.length-1].last_column},k&&(A._$.range=[p[p.length-(R||1)].range[0],p[p.length-1].range[1]]),N=this.performAction.call(A,h,b,m,this.yy,_[1],u,p),typeof N<"u")return N;R&&(c=c.slice(0,-1*R*2),u=u.slice(0,-1*R),p=p.slice(0,-1*R)),c.push(this.productions_[_[1]][0]),u.push(A.$),p.push(A._$),M=d[c[c.length-2]][c[c.length-1]],c.push(M);break;case 3:return!0}}return!0}},a=function(){var r={EOF:1,parseError:function(s,c){if(this.yy.parser)this.yy.parser.parseError(s,c);else throw new Error(s)},setInput:function(s){return this._input=s,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var c=s.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},unput:function(s){var c=s.length,u=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c-1),this.offset-=c;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===p.length?this.yylloc.first_column:0)+p[p.length-u.length].length-u[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-c]),this},more:function(){return this._more=!0,this},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),c=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
455
455
|
`+c+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,c,u,p,d;this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),m=0;m<h.length&&(u=this._input.match(this.rules[h[m]]),!(u&&(!c||u[0].length>c[0].length)&&(c=u,p=m,!this.options.flex)));m++);return c?(d=c[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(c[0].length),this.matched+=c[0],s=this.performAction.call(this,this.yy,this,h[p],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
456
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var s=this.next();return typeof s<"u"?s:this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(s){this.begin(s)}};return r.options={},r.performAction=function(s,c,u,p){function d(h,m){return c.yytext=c.yytext.substring(h,c.yyleng-m+h)}switch(u){case 0:if(c.yytext.slice(-2)==="\\\\"?(d(0,1),this.begin("mu")):c.yytext.slice(-1)==="\\"?(d(0,1),this.begin("emu")):this.begin("mu"),c.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(d(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(c.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return c.yytext=d(1,2).replace(/\\"/g,'"'),80;case 32:return c.yytext=d(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return c.yytext=c.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},r.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],r.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},r}();o.lexer=a;function i(){this.yy={}}return i.prototype=o,o.Parser=i,new i}();t.default=n,e.exports=t.default})(ha,ha.exports);var xS=ha.exports,fa={exports:{}},pa={exports:{}};(function(e,t){t.__esModule=!0;function n(c){return c&&c.__esModule?c:{default:c}}var o=De,a=n(o);function i(){this.parents=[]}i.prototype={constructor:i,mutating:!1,acceptKey:function(u,p){var d=this.accept(u[p]);if(this.mutating){if(d&&!i.prototype[d.type])throw new a.default('Unexpected node type "'+d.type+'" found when accepting '+p+" on "+u.type);u[p]=d}},acceptRequired:function(u,p){if(this.acceptKey(u,p),!u[p])throw new a.default(u.type+" requires "+p)},acceptArray:function(u){for(var p=0,d=u.length;p<d;p++)this.acceptKey(u,p),u[p]||(u.splice(p,1),p--,d--)},accept:function(u){if(u){if(!this[u.type])throw new a.default("Unknown type: "+u.type,u);this.current&&this.parents.unshift(this.current),this.current=u;var p=this[u.type](u);if(this.current=this.parents.shift(),!this.mutating||p)return p;if(p!==!1)return u}},Program:function(u){this.acceptArray(u.body)},MustacheStatement:r,Decorator:r,BlockStatement:l,DecoratorBlock:l,PartialStatement:s,PartialBlockStatement:function(u){s.call(this,u),this.acceptKey(u,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:r,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(u){this.acceptArray(u.pairs)},HashPair:function(u){this.acceptRequired(u,"value")}};function r(c){this.acceptRequired(c,"path"),this.acceptArray(c.params),this.acceptKey(c,"hash")}function l(c){r.call(this,c),this.acceptKey(c,"program"),this.acceptKey(c,"inverse")}function s(c){this.acceptRequired(c,"name"),this.acceptArray(c.params),this.acceptKey(c,"hash")}t.default=i,e.exports=t.default})(pa,pa.exports);var Pl=pa.exports;(function(e,t){t.__esModule=!0;function n(u){return u&&u.__esModule?u:{default:u}}var o=Pl,a=n(o);function i(){var u=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=u}i.prototype=new a.default,i.prototype.Program=function(u){var p=!this.options.ignoreStandalone,d=!this.isRootSeen;this.isRootSeen=!0;for(var h=u.body,m=0,b=h.length;m<b;m++){var v=h[m],k=this.accept(v);if(k){var S=r(h,m,d),$=l(h,m,d),w=k.openStandalone&&S,_=k.closeStandalone&&$,N=k.inlineStandalone&&S&&$;k.close&&s(h,m,!0),k.open&&c(h,m,!0),p&&N&&(s(h,m),c(h,m)&&v.type==="PartialStatement"&&(v.indent=/([ \t]+$)/.exec(h[m-1].original)[1])),p&&w&&(s((v.program||v.inverse).body),c(h,m)),p&&_&&(s(h,m),c((v.inverse||v.program).body))}}return u},i.prototype.BlockStatement=i.prototype.DecoratorBlock=i.prototype.PartialBlockStatement=function(u){this.accept(u.program),this.accept(u.inverse);var p=u.program||u.inverse,d=u.program&&u.inverse,h=d,m=d;if(d&&d.chained)for(h=d.body[0].program;m.chained;)m=m.body[m.body.length-1].program;var b={open:u.openStrip.open,close:u.closeStrip.close,openStandalone:l(p.body),closeStandalone:r((h||p).body)};if(u.openStrip.close&&s(p.body,null,!0),d){var v=u.inverseStrip;v.open&&c(p.body,null,!0),v.close&&s(h.body,null,!0),u.closeStrip.open&&c(m.body,null,!0),!this.options.ignoreStandalone&&r(p.body)&&l(h.body)&&(c(p.body),s(h.body))}else u.closeStrip.open&&c(p.body,null,!0);return b},i.prototype.Decorator=i.prototype.MustacheStatement=function(u){return u.strip},i.prototype.PartialStatement=i.prototype.CommentStatement=function(u){var p=u.strip||{};return{inlineStandalone:!0,open:p.open,close:p.close}};function r(u,p,d){p===void 0&&(p=u.length);var h=u[p-1],m=u[p-2];if(!h)return d;if(h.type==="ContentStatement")return(m||!d?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(h.original)}function l(u,p,d){p===void 0&&(p=-1);var h=u[p+1],m=u[p+2];if(!h)return d;if(h.type==="ContentStatement")return(m||!d?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(h.original)}function s(u,p,d){var h=u[p==null?0:p+1];if(!(!h||h.type!=="ContentStatement"||!d&&h.rightStripped)){var m=h.value;h.value=h.value.replace(d?/^\s+/:/^[ \t]*\r?\n?/,""),h.rightStripped=h.value!==m}}function c(u,p,d){var h=u[p==null?u.length-1:p-1];if(!(!h||h.type!=="ContentStatement"||!d&&h.leftStripped)){var m=h.value;return h.value=h.value.replace(d?/\s+$/:/[ \t]+$/,""),h.leftStripped=h.value!==m,h.leftStripped}}t.default=i,e.exports=t.default})(fa,fa.exports);var SS=fa.exports,He={};He.__esModule=!0;He.SourceLocation=_S;He.id=$S;He.stripFlags=CS;He.stripComment=AS;He.preparePath=yS;He.prepareMustache=NS;He.prepareRawBlock=RS;He.prepareBlock=ES;He.prepareProgram=IS;He.preparePartialBlock=MS;function wS(e){return e&&e.__esModule?e:{default:e}}var kS=De,za=wS(kS);function ja(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new za.default(e.path.original+" doesn't match "+t,n)}}function _S(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function $S(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e}function CS(e,t){return{open:e.charAt(2)==="~",close:t.charAt(t.length-3)==="~"}}function AS(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function yS(e,t,n){n=this.locInfo(n);for(var o=e?"@":"",a=[],i=0,r=0,l=t.length;r<l;r++){var s=t[r].part,c=t[r].original!==s;if(o+=(t[r].separator||"")+s,!c&&(s===".."||s==="."||s==="this")){if(a.length>0)throw new za.default("Invalid path: "+o,{loc:n});s===".."&&i++}else a.push(s)}return{type:"PathExpression",data:e,depth:i,parts:a,original:o,loc:n}}function NS(e,t,n,o,a,i){var r=o.charAt(3)||o.charAt(2),l=r!=="{"&&r!=="&",s=/\*/.test(o);return{type:s?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:l,strip:a,loc:this.locInfo(i)}}function RS(e,t,n,o){ja(e,n),o=this.locInfo(o);var a={type:"Program",body:t,strip:{},loc:o};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:a,openStrip:{},inverseStrip:{},closeStrip:{},loc:o}}function ES(e,t,n,o,a,i){o&&o.path&&ja(e,o);var r=/\*/.test(e.open);t.blockParams=e.blockParams;var l=void 0,s=void 0;if(n){if(r)throw new za.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=o.strip),s=n.strip,l=n.program}return a&&(a=l,l=t,t=a),{type:r?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:l,openStrip:e.strip,inverseStrip:s,closeStrip:o&&o.strip,loc:this.locInfo(i)}}function IS(e,t){if(!t&&e.length){var n=e[0].loc,o=e[e.length-1].loc;n&&o&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:o.end.line,column:o.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function MS(e,t,n,o){return ja(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(o)}}fn.__esModule=!0;fn.parseWithoutProcessing=Ol;fn.parse=HS;function TS(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function Ba(e){return e&&e.__esModule?e:{default:e}}var PS=xS,ma=Ba(PS),OS=SS,LS=Ba(OS),zS=He,jS=TS(zS),BS=De,Vt=Ba(BS),DS=ue;fn.parser=ma.default;var Tn={};DS.extend(Tn,jS);function Ol(e,t){if(e.type==="Program")return FS(e),e;ma.default.yy=Tn,Tn.locInfo=function(o){return new Tn.SourceLocation(t&&t.srcName,o)};var n=ma.default.parse(e);return n}function HS(e,t){var n=Ol(e,t),o=new LS.default(t);return o.accept(n)}function FS(e){ga(e)}function ga(e){if(e!=null){if(Array.isArray(e)){e.forEach(ga);return}if(typeof e=="object"){if(e.type==="PathExpression"){if(!GS(e.depth))throw new Vt.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(e.parts))throw new Vt.default("Invalid AST: PathExpression.parts must be an array");for(var t=0;t<e.parts.length;t++)if(typeof e.parts[t]!="string")throw new Vt.default("Invalid AST: PathExpression.parts must only contain strings")}else if(e.type==="NumberLiteral"){if(typeof e.value!="number"||!isFinite(e.value))throw new Vt.default("Invalid AST: NumberLiteral.value must be a number")}else if(e.type==="BooleanLiteral"&&typeof e.value!="boolean")throw new Vt.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(e).forEach(function(n){n!=="loc"&&ga(e[n])})}}}function GS(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}var pn={};pn.__esModule=!0;pn.Compiler=ba;pn.precompile=qS;pn.compile=VS;function Ll(e){return e&&e.__esModule?e:{default:e}}var US=De,tn=Ll(US),ln=ue,ZS=Tl,Yt=Ll(ZS),WS=[].slice;function ba(){}ba.prototype={compiler:ba,equals:function(t){var n=this.opcodes.length;if(t.opcodes.length!==n)return!1;for(var o=0;o<n;o++){var a=this.opcodes[o],i=t.opcodes[o];if(a.opcode!==i.opcode||!zl(a.args,i.args))return!1}n=this.children.length;for(var o=0;o<n;o++)if(!this.children[o].equals(t.children[o]))return!1;return!0},guid:0,compile:function(t,n){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=n,this.stringParams=n.stringParams,this.trackIds=n.trackIds,n.blockParams=n.blockParams||[],n.knownHelpers=ln.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},n.knownHelpers),this.accept(t)},compileProgram:function(t){var n=new this.compiler,o=n.compile(t,this.options),a=this.guid++;return this.usePartial=this.usePartial||o.usePartial,this.children[a]=o,this.useDepths=this.useDepths||o.useDepths,a},accept:function(t){if(!this[t.type])throw new tn.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var n=this[t.type](t);return this.sourceNode.shift(),n},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var n=t.body,o=n.length,a=0;a<o;a++)this.accept(n[a]);return this.options.blockParams.shift(),this.isSimple=o===1,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){ai(t);var n=t.program,o=t.inverse;n=n&&this.compileProgram(n),o=o&&this.compileProgram(o);var a=this.classifySexpr(t);a==="helper"?this.helperSexpr(t,n,o):a==="simple"?(this.simpleSexpr(t),this.opcode("pushProgram",n),this.opcode("pushProgram",o),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,n,o),this.opcode("pushProgram",n),this.opcode("pushProgram",o),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var n=t.program&&this.compileProgram(t.program),o=this.setupFullMustacheParams(t,n,void 0),a=t.path;this.useDecorators=!0,this.opcode("registerDecorator",o.length,a.original)},PartialStatement:function(t){this.usePartial=!0;var n=t.program;n&&(n=this.compileProgram(t.program));var o=t.params;if(o.length>1)throw new tn.default("Unsupported number of partial arguments: "+o.length,t);o.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):o.push({type:"PathExpression",parts:[],depth:0}));var a=t.name.original,i=t.name.type==="SubExpression";i&&this.accept(t.name),this.setupFullMustacheParams(t,n,void 0,!0);var r=t.indent||"";this.options.preventIndent&&r&&(this.opcode("appendContent",r),r=""),this.opcode("invokePartial",i,a,r),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){ai(t);var n=this.classifySexpr(t);n==="simple"?this.simpleSexpr(t):n==="helper"?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,n,o){var a=t.path,i=a.parts[0],r=n!=null||o!=null;this.opcode("getContext",a.depth),this.opcode("pushProgram",n),this.opcode("pushProgram",o),a.strict=!0,this.accept(a),this.opcode("invokeAmbiguous",i,r)},simpleSexpr:function(t){var n=t.path;n.strict=!0,this.accept(n),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,n,o){var a=this.setupFullMustacheParams(t,n,o),i=t.path,r=i.parts[0];if(this.options.knownHelpers[r])this.opcode("invokeKnownHelper",a.length,r);else{if(this.options.knownHelpersOnly)throw new tn.default("You specified knownHelpersOnly, but used the unknown helper "+r,t);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",a.length,i.original,Yt.default.helpers.simpleId(i))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var n=t.parts[0],o=Yt.default.helpers.scopedId(t),a=!t.depth&&!o&&this.blockParamIndex(n);a?this.opcode("lookupBlockParam",a,t.parts):n?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,o):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var n=t.pairs,o=0,a=n.length;for(this.opcode("pushHash");o<a;o++)this.pushParam(n[o].value);for(;o--;)this.opcode("assignToHash",n[o].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:WS.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var n=Yt.default.helpers.simpleId(t.path),o=n&&!!this.blockParamIndex(t.path.parts[0]),a=!o&&Yt.default.helpers.helperExpression(t),i=!o&&(a||n);if(i&&!a){var r=t.path.parts[0],l=this.options;l.knownHelpers[r]?a=!0:l.knownHelpersOnly&&(i=!1)}return a?"helper":i?"ambiguous":"simple"},pushParams:function(t){for(var n=0,o=t.length;n<o;n++)this.pushParam(t[n])},pushParam:function(t){var n=t.value!=null?t.value:t.original||"";if(this.stringParams)n.replace&&(n=n.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",n,t.type),t.type==="SubExpression"&&this.accept(t);else{if(this.trackIds){var o=void 0;if(t.parts&&!Yt.default.helpers.scopedId(t)&&!t.depth&&(o=this.blockParamIndex(t.parts[0])),o){var a=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",o,a)}else n=t.original||n,n.replace&&(n=n.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,n)}this.accept(t)}},setupFullMustacheParams:function(t,n,o,a){var i=t.params;return this.pushParams(i),this.opcode("pushProgram",n),this.opcode("pushProgram",o),t.hash?this.accept(t.hash):this.opcode("emptyHash",a),i},blockParamIndex:function(t){for(var n=0,o=this.options.blockParams.length;n<o;n++){var a=this.options.blockParams[n],i=a&&ln.indexOf(a,t);if(a&&i>=0)return[n,i]}}};function qS(e,t,n){if(e==null||typeof e!="string"&&e.type!=="Program")throw new tn.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var o=n.parse(e,t),a=new n.Compiler().compile(o,t);return new n.JavaScriptCompiler().compile(a,t)}function VS(e,t,n){if(t===void 0&&(t={}),e==null||typeof e!="string"&&e.type!=="Program")throw new tn.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);t=ln.extend({},t),"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var o=void 0;function a(){var r=n.parse(e,t),l=new n.Compiler().compile(r,t),s=new n.JavaScriptCompiler().compile(l,t,void 0,!0);return n.template(s)}function i(r,l){return o||(o=a()),o.call(this,r,l)}return i._setup=function(r){return o||(o=a()),o._setup(r)},i._child=function(r,l,s,c){return o||(o=a()),o._child(r,l,s,c)},i}function zl(e,t){if(e===t)return!0;if(ln.isArray(e)&&ln.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!zl(e[n],t[n]))return!1;return!0}}function ai(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}var va={exports:{}},xa={exports:{}},Kt={},Ro={},yn={},Nn={},ri;function YS(){if(ri)return Nn;ri=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Nn.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Nn.decode=function(t){var n=65,o=90,a=97,i=122,r=48,l=57,s=43,c=47,u=26,p=52;return n<=t&&t<=o?t-n:a<=t&&t<=i?t-a+u:r<=t&&t<=l?t-r+p:t==s?62:t==c?63:-1},Nn}var ii;function jl(){if(ii)return yn;ii=1;var e=YS(),t=5,n=1<<t,o=n-1,a=n;function i(l){return l<0?(-l<<1)+1:(l<<1)+0}function r(l){var s=(l&1)===1,c=l>>1;return s?-c:c}return yn.encode=function(s){var c="",u,p=i(s);do u=p&o,p>>>=t,p>0&&(u|=a),c+=e.encode(u);while(p>0);return c},yn.decode=function(s,c,u){var p=s.length,d=0,h=0,m,b;do{if(c>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(b=e.decode(s.charCodeAt(c++)),b===-1)throw new Error("Invalid base64 digit: "+s.charAt(c-1));m=!!(b&a),b&=o,d=d+(b<<h),h+=t}while(m);u.value=r(d),u.rest=c},yn}var Eo={},li;function mn(){return li||(li=1,function(e){function t(w,_,N){if(_ in w)return w[_];if(arguments.length===3)return N;throw new Error('"'+_+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,o=/^data:.+\,.+$/;function a(w){var _=w.match(n);return _?{scheme:_[1],auth:_[2],host:_[3],port:_[4],path:_[5]}:null}e.urlParse=a;function i(w){var _="";return w.scheme&&(_+=w.scheme+":"),_+="//",w.auth&&(_+=w.auth+"@"),w.host&&(_+=w.host),w.port&&(_+=":"+w.port),w.path&&(_+=w.path),_}e.urlGenerate=i;function r(w){var _=w,N=a(w);if(N){if(!N.path)return w;_=N.path}for(var A=e.isAbsolute(_),y=_.split(/\/+/),R,M=0,T=y.length-1;T>=0;T--)R=y[T],R==="."?y.splice(T,1):R===".."?M++:M>0&&(R===""?(y.splice(T+1,M),M=0):(y.splice(T,2),M--));return _=y.join("/"),_===""&&(_=A?"/":"."),N?(N.path=_,i(N)):_}e.normalize=r;function l(w,_){w===""&&(w="."),_===""&&(_=".");var N=a(_),A=a(w);if(A&&(w=A.path||"/"),N&&!N.scheme)return A&&(N.scheme=A.scheme),i(N);if(N||_.match(o))return _;if(A&&!A.host&&!A.path)return A.host=_,i(A);var y=_.charAt(0)==="/"?_:r(w.replace(/\/+$/,"")+"/"+_);return A?(A.path=y,i(A)):y}e.join=l,e.isAbsolute=function(w){return w.charAt(0)==="/"||n.test(w)};function s(w,_){w===""&&(w="."),w=w.replace(/\/$/,"");for(var N=0;_.indexOf(w+"/")!==0;){var A=w.lastIndexOf("/");if(A<0||(w=w.slice(0,A),w.match(/^([^\/]+:\/)?\/*$/)))return _;++N}return Array(N+1).join("../")+_.substr(w.length+1)}e.relative=s;var c=function(){var w=Object.create(null);return!("__proto__"in w)}();function u(w){return w}function p(w){return h(w)?"$"+w:w}e.toSetString=c?u:p;function d(w){return h(w)?w.slice(1):w}e.fromSetString=c?u:d;function h(w){if(!w)return!1;var _=w.length;if(_<9||w.charCodeAt(_-1)!==95||w.charCodeAt(_-2)!==95||w.charCodeAt(_-3)!==111||w.charCodeAt(_-4)!==116||w.charCodeAt(_-5)!==111||w.charCodeAt(_-6)!==114||w.charCodeAt(_-7)!==112||w.charCodeAt(_-8)!==95||w.charCodeAt(_-9)!==95)return!1;for(var N=_-10;N>=0;N--)if(w.charCodeAt(N)!==36)return!1;return!0}function m(w,_,N){var A=v(w.source,_.source);return A!==0||(A=w.originalLine-_.originalLine,A!==0)||(A=w.originalColumn-_.originalColumn,A!==0||N)||(A=w.generatedColumn-_.generatedColumn,A!==0)||(A=w.generatedLine-_.generatedLine,A!==0)?A:v(w.name,_.name)}e.compareByOriginalPositions=m;function b(w,_,N){var A=w.generatedLine-_.generatedLine;return A!==0||(A=w.generatedColumn-_.generatedColumn,A!==0||N)||(A=v(w.source,_.source),A!==0)||(A=w.originalLine-_.originalLine,A!==0)||(A=w.originalColumn-_.originalColumn,A!==0)?A:v(w.name,_.name)}e.compareByGeneratedPositionsDeflated=b;function v(w,_){return w===_?0:w===null?1:_===null?-1:w>_?1:-1}function k(w,_){var N=w.generatedLine-_.generatedLine;return N!==0||(N=w.generatedColumn-_.generatedColumn,N!==0)||(N=v(w.source,_.source),N!==0)||(N=w.originalLine-_.originalLine,N!==0)||(N=w.originalColumn-_.originalColumn,N!==0)?N:v(w.name,_.name)}e.compareByGeneratedPositionsInflated=k;function S(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=S;function $(w,_,N){if(_=_||"",w&&(w[w.length-1]!=="/"&&_[0]!=="/"&&(w+="/"),_=w+_),N){var A=a(N);if(!A)throw new Error("sourceMapURL could not be parsed");if(A.path){var y=A.path.lastIndexOf("/");y>=0&&(A.path=A.path.substring(0,y+1))}_=l(i(A),_)}return r(_)}e.computeSourceURL=$}(Eo)),Eo}var Io={},si;function Bl(){if(si)return Io;si=1;var e=mn(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function o(){this._array=[],this._set=n?new Map:Object.create(null)}return o.fromArray=function(i,r){for(var l=new o,s=0,c=i.length;s<c;s++)l.add(i[s],r);return l},o.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(i,r){var l=n?i:e.toSetString(i),s=n?this.has(i):t.call(this._set,l),c=this._array.length;(!s||r)&&this._array.push(i),s||(n?this._set.set(i,c):this._set[l]=c)},o.prototype.has=function(i){if(n)return this._set.has(i);var r=e.toSetString(i);return t.call(this._set,r)},o.prototype.indexOf=function(i){if(n){var r=this._set.get(i);if(r>=0)return r}else{var l=e.toSetString(i);if(t.call(this._set,l))return this._set[l]}throw new Error('"'+i+'" is not in the set.')},o.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)},o.prototype.toArray=function(){return this._array.slice()},Io.ArraySet=o,Io}var Mo={},ci;function KS(){if(ci)return Mo;ci=1;var e=mn();function t(o,a){var i=o.generatedLine,r=a.generatedLine,l=o.generatedColumn,s=a.generatedColumn;return r>i||r==i&&s>=l||e.compareByGeneratedPositionsInflated(o,a)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(a,i){this._array.forEach(a,i)},n.prototype.add=function(a){t(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Mo.MappingList=n,Mo}var ui;function Dl(){if(ui)return Ro;ui=1;var e=jl(),t=mn(),n=Bl().ArraySet,o=KS().MappingList;function a(i){i||(i={}),this._file=t.getArg(i,"file",null),this._sourceRoot=t.getArg(i,"sourceRoot",null),this._skipValidation=t.getArg(i,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new o,this._sourcesContents=null}return a.prototype._version=3,a.fromSourceMap=function(r){var l=r.sourceRoot,s=new a({file:r.file,sourceRoot:l});return r.eachMapping(function(c){var u={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source!=null&&(u.source=c.source,l!=null&&(u.source=t.relative(l,u.source)),u.original={line:c.originalLine,column:c.originalColumn},c.name!=null&&(u.name=c.name)),s.addMapping(u)}),r.sources.forEach(function(c){var u=c;l!==null&&(u=t.relative(l,c)),s._sources.has(u)||s._sources.add(u);var p=r.sourceContentFor(c);p!=null&&s.setSourceContent(c,p)}),s},a.prototype.addMapping=function(r){var l=t.getArg(r,"generated"),s=t.getArg(r,"original",null),c=t.getArg(r,"source",null),u=t.getArg(r,"name",null);this._skipValidation||this._validateMapping(l,s,c,u),c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),u!=null&&(u=String(u),this._names.has(u)||this._names.add(u)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:c,name:u})},a.prototype.setSourceContent=function(r,l){var s=r;this._sourceRoot!=null&&(s=t.relative(this._sourceRoot,s)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(s)]=l):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(r,l,s){var c=l;if(l==null){if(r.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=r.file}var u=this._sourceRoot;u!=null&&(c=t.relative(u,c));var p=new n,d=new n;this._mappings.unsortedForEach(function(h){if(h.source===c&&h.originalLine!=null){var m=r.originalPositionFor({line:h.originalLine,column:h.originalColumn});m.source!=null&&(h.source=m.source,s!=null&&(h.source=t.join(s,h.source)),u!=null&&(h.source=t.relative(u,h.source)),h.originalLine=m.line,h.originalColumn=m.column,m.name!=null&&(h.name=m.name))}var b=h.source;b!=null&&!p.has(b)&&p.add(b);var v=h.name;v!=null&&!d.has(v)&&d.add(v)},this),this._sources=p,this._names=d,r.sources.forEach(function(h){var m=r.sourceContentFor(h);m!=null&&(s!=null&&(h=t.join(s,h)),u!=null&&(h=t.relative(u,h)),this.setSourceContent(h,m))},this)},a.prototype._validateMapping=function(r,l,s,c){if(l&&typeof l.line!="number"&&typeof l.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(r&&"line"in r&&"column"in r&&r.line>0&&r.column>=0&&!l&&!s&&!c)){if(r&&"line"in r&&"column"in r&&l&&"line"in l&&"column"in l&&r.line>0&&r.column>=0&&l.line>0&&l.column>=0&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:r,source:s,original:l,name:c}))}},a.prototype._serializeMappings=function(){for(var r=0,l=1,s=0,c=0,u=0,p=0,d="",h,m,b,v,k=this._mappings.toArray(),S=0,$=k.length;S<$;S++){if(m=k[S],h="",m.generatedLine!==l)for(r=0;m.generatedLine!==l;)h+=";",l++;else if(S>0){if(!t.compareByGeneratedPositionsInflated(m,k[S-1]))continue;h+=","}h+=e.encode(m.generatedColumn-r),r=m.generatedColumn,m.source!=null&&(v=this._sources.indexOf(m.source),h+=e.encode(v-p),p=v,h+=e.encode(m.originalLine-1-c),c=m.originalLine-1,h+=e.encode(m.originalColumn-s),s=m.originalColumn,m.name!=null&&(b=this._names.indexOf(m.name),h+=e.encode(b-u),u=b)),d+=h}return d},a.prototype._generateSourcesContent=function(r,l){return r.map(function(s){if(!this._sourcesContents)return null;l!=null&&(s=t.relative(l,s));var c=t.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},a.prototype.toJSON=function(){var r={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(r.file=this._file),this._sourceRoot!=null&&(r.sourceRoot=this._sourceRoot),this._sourcesContents&&(r.sourcesContent=this._generateSourcesContent(r.sources,r.sourceRoot)),r},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},Ro.SourceMapGenerator=a,Ro}var Jt={},To={},di;function JS(){return di||(di=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,o,a,i,r,l){var s=Math.floor((o-n)/2)+n,c=r(a,i[s],!0);return c===0?s:c>0?o-s>1?t(s,o,a,i,r,l):l==e.LEAST_UPPER_BOUND?o<i.length?o:-1:s:s-n>1?t(n,s,a,i,r,l):l==e.LEAST_UPPER_BOUND?s:n<0?-1:n}e.search=function(o,a,i,r){if(a.length===0)return-1;var l=t(-1,a.length,o,a,i,r||e.GREATEST_LOWER_BOUND);if(l<0)return-1;for(;l-1>=0&&i(a[l],a[l-1],!0)===0;)--l;return l}}(To)),To}var Po={},hi;function XS(){if(hi)return Po;hi=1;function e(o,a,i){var r=o[a];o[a]=o[i],o[i]=r}function t(o,a){return Math.round(o+Math.random()*(a-o))}function n(o,a,i,r){if(i<r){var l=t(i,r),s=i-1;e(o,l,r);for(var c=o[r],u=i;u<r;u++)a(o[u],c)<=0&&(s+=1,e(o,s,u));e(o,s+1,u);var p=s+1;n(o,a,i,p-1),n(o,a,p+1,r)}}return Po.quickSort=function(o,a){n(o,a,0,o.length-1)},Po}var fi;function QS(){if(fi)return Jt;fi=1;var e=mn(),t=JS(),n=Bl().ArraySet,o=jl(),a=XS().quickSort;function i(c,u){var p=c;return typeof c=="string"&&(p=e.parseSourceMapInput(c)),p.sections!=null?new s(p,u):new r(p,u)}i.fromSourceMap=function(c,u){return r.fromSourceMap(c,u)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(u,p){var d=u.charAt(p);return d===";"||d===","},i.prototype._parseMappings=function(u,p){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(u,p,d){var h=p||null,m=d||i.GENERATED_ORDER,b;switch(m){case i.GENERATED_ORDER:b=this._generatedMappings;break;case i.ORIGINAL_ORDER:b=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var v=this.sourceRoot;b.map(function(k){var S=k.source===null?null:this._sources.at(k.source);return S=e.computeSourceURL(v,S,this._sourceMapURL),{source:S,generatedLine:k.generatedLine,generatedColumn:k.generatedColumn,originalLine:k.originalLine,originalColumn:k.originalColumn,name:k.name===null?null:this._names.at(k.name)}},this).forEach(u,h)},i.prototype.allGeneratedPositionsFor=function(u){var p=e.getArg(u,"line"),d={source:e.getArg(u,"source"),originalLine:p,originalColumn:e.getArg(u,"column",0)};if(d.source=this._findSourceIndex(d.source),d.source<0)return[];var h=[],m=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(m>=0){var b=this._originalMappings[m];if(u.column===void 0)for(var v=b.originalLine;b&&b.originalLine===v;)h.push({line:e.getArg(b,"generatedLine",null),column:e.getArg(b,"generatedColumn",null),lastColumn:e.getArg(b,"lastGeneratedColumn",null)}),b=this._originalMappings[++m];else for(var k=b.originalColumn;b&&b.originalLine===p&&b.originalColumn==k;)h.push({line:e.getArg(b,"generatedLine",null),column:e.getArg(b,"generatedColumn",null),lastColumn:e.getArg(b,"lastGeneratedColumn",null)}),b=this._originalMappings[++m]}return h},Jt.SourceMapConsumer=i;function r(c,u){var p=c;typeof c=="string"&&(p=e.parseSourceMapInput(c));var d=e.getArg(p,"version"),h=e.getArg(p,"sources"),m=e.getArg(p,"names",[]),b=e.getArg(p,"sourceRoot",null),v=e.getArg(p,"sourcesContent",null),k=e.getArg(p,"mappings"),S=e.getArg(p,"file",null);if(d!=this._version)throw new Error("Unsupported version: "+d);b&&(b=e.normalize(b)),h=h.map(String).map(e.normalize).map(function($){return b&&e.isAbsolute(b)&&e.isAbsolute($)?e.relative(b,$):$}),this._names=n.fromArray(m.map(String),!0),this._sources=n.fromArray(h,!0),this._absoluteSources=this._sources.toArray().map(function($){return e.computeSourceURL(b,$,u)}),this.sourceRoot=b,this.sourcesContent=v,this._mappings=k,this._sourceMapURL=u,this.file=S}r.prototype=Object.create(i.prototype),r.prototype.consumer=i,r.prototype._findSourceIndex=function(c){var u=c;if(this.sourceRoot!=null&&(u=e.relative(this.sourceRoot,u)),this._sources.has(u))return this._sources.indexOf(u);var p;for(p=0;p<this._absoluteSources.length;++p)if(this._absoluteSources[p]==c)return p;return-1},r.fromSourceMap=function(u,p){var d=Object.create(r.prototype),h=d._names=n.fromArray(u._names.toArray(),!0),m=d._sources=n.fromArray(u._sources.toArray(),!0);d.sourceRoot=u._sourceRoot,d.sourcesContent=u._generateSourcesContent(d._sources.toArray(),d.sourceRoot),d.file=u._file,d._sourceMapURL=p,d._absoluteSources=d._sources.toArray().map(function(N){return e.computeSourceURL(d.sourceRoot,N,p)});for(var b=u._mappings.toArray().slice(),v=d.__generatedMappings=[],k=d.__originalMappings=[],S=0,$=b.length;S<$;S++){var w=b[S],_=new l;_.generatedLine=w.generatedLine,_.generatedColumn=w.generatedColumn,w.source&&(_.source=m.indexOf(w.source),_.originalLine=w.originalLine,_.originalColumn=w.originalColumn,w.name&&(_.name=h.indexOf(w.name)),k.push(_)),v.push(_)}return a(d.__originalMappings,e.compareByOriginalPositions),d},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}r.prototype._parseMappings=function(u,p){for(var d=1,h=0,m=0,b=0,v=0,k=0,S=u.length,$=0,w={},_={},N=[],A=[],y,R,M,T,L;$<S;)if(u.charAt($)===";")d++,$++,h=0;else if(u.charAt($)===",")$++;else{for(y=new l,y.generatedLine=d,T=$;T<S&&!this._charIsMappingSeparator(u,T);T++);if(R=u.slice($,T),M=w[R],M)$+=R.length;else{for(M=[];$<T;)o.decode(u,$,_),L=_.value,$=_.rest,M.push(L);if(M.length===2)throw new Error("Found a source, but no line and column");if(M.length===3)throw new Error("Found a source and line, but no column");w[R]=M}y.generatedColumn=h+M[0],h=y.generatedColumn,M.length>1&&(y.source=v+M[1],v+=M[1],y.originalLine=m+M[2],m=y.originalLine,y.originalLine+=1,y.originalColumn=b+M[3],b=y.originalColumn,M.length>4&&(y.name=k+M[4],k+=M[4])),A.push(y),typeof y.originalLine=="number"&&N.push(y)}a(A,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,a(N,e.compareByOriginalPositions),this.__originalMappings=N},r.prototype._findMapping=function(u,p,d,h,m,b){if(u[d]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+u[d]);if(u[h]<0)throw new TypeError("Column must be greater than or equal to 0, got "+u[h]);return t.search(u,p,m,b)},r.prototype.computeColumnSpans=function(){for(var u=0;u<this._generatedMappings.length;++u){var p=this._generatedMappings[u];if(u+1<this._generatedMappings.length){var d=this._generatedMappings[u+1];if(p.generatedLine===d.generatedLine){p.lastGeneratedColumn=d.generatedColumn-1;continue}}p.lastGeneratedColumn=1/0}},r.prototype.originalPositionFor=function(u){var p={generatedLine:e.getArg(u,"line"),generatedColumn:e.getArg(u,"column")},d=this._findMapping(p,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(u,"bias",i.GREATEST_LOWER_BOUND));if(d>=0){var h=this._generatedMappings[d];if(h.generatedLine===p.generatedLine){var m=e.getArg(h,"source",null);m!==null&&(m=this._sources.at(m),m=e.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var b=e.getArg(h,"name",null);return b!==null&&(b=this._names.at(b)),{source:m,line:e.getArg(h,"originalLine",null),column:e.getArg(h,"originalColumn",null),name:b}}}return{source:null,line:null,column:null,name:null}},r.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(u){return u==null}):!1},r.prototype.sourceContentFor=function(u,p){if(!this.sourcesContent)return null;var d=this._findSourceIndex(u);if(d>=0)return this.sourcesContent[d];var h=u;this.sourceRoot!=null&&(h=e.relative(this.sourceRoot,h));var m;if(this.sourceRoot!=null&&(m=e.urlParse(this.sourceRoot))){var b=h.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(b))return this.sourcesContent[this._sources.indexOf(b)];if((!m.path||m.path=="/")&&this._sources.has("/"+h))return this.sourcesContent[this._sources.indexOf("/"+h)]}if(p)return null;throw new Error('"'+h+'" is not in the SourceMap.')},r.prototype.generatedPositionFor=function(u){var p=e.getArg(u,"source");if(p=this._findSourceIndex(p),p<0)return{line:null,column:null,lastColumn:null};var d={source:p,originalLine:e.getArg(u,"line"),originalColumn:e.getArg(u,"column")},h=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(u,"bias",i.GREATEST_LOWER_BOUND));if(h>=0){var m=this._originalMappings[h];if(m.source===d.source)return{line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Jt.BasicSourceMapConsumer=r;function s(c,u){var p=c;typeof c=="string"&&(p=e.parseSourceMapInput(c));var d=e.getArg(p,"version"),h=e.getArg(p,"sections");if(d!=this._version)throw new Error("Unsupported version: "+d);this._sources=new n,this._names=new n;var m={line:-1,column:0};this._sections=h.map(function(b){if(b.url)throw new Error("Support for url field in sections not implemented.");var v=e.getArg(b,"offset"),k=e.getArg(v,"line"),S=e.getArg(v,"column");if(k<m.line||k===m.line&&S<m.column)throw new Error("Section offsets must be ordered and non-overlapping.");return m=v,{generatedOffset:{generatedLine:k+1,generatedColumn:S+1},consumer:new i(e.getArg(b,"map"),u)}})}return s.prototype=Object.create(i.prototype),s.prototype.constructor=i,s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){for(var c=[],u=0;u<this._sections.length;u++)for(var p=0;p<this._sections[u].consumer.sources.length;p++)c.push(this._sections[u].consumer.sources[p]);return c}}),s.prototype.originalPositionFor=function(u){var p={generatedLine:e.getArg(u,"line"),generatedColumn:e.getArg(u,"column")},d=t.search(p,this._sections,function(m,b){var v=m.generatedLine-b.generatedOffset.generatedLine;return v||m.generatedColumn-b.generatedOffset.generatedColumn}),h=this._sections[d];return h?h.consumer.originalPositionFor({line:p.generatedLine-(h.generatedOffset.generatedLine-1),column:p.generatedColumn-(h.generatedOffset.generatedLine===p.generatedLine?h.generatedOffset.generatedColumn-1:0),bias:u.bias}):{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(u){return u.consumer.hasContentsOfAllSources()})},s.prototype.sourceContentFor=function(u,p){for(var d=0;d<this._sections.length;d++){var h=this._sections[d],m=h.consumer.sourceContentFor(u,!0);if(m)return m}if(p)return null;throw new Error('"'+u+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(u){for(var p=0;p<this._sections.length;p++){var d=this._sections[p];if(d.consumer._findSourceIndex(e.getArg(u,"source"))!==-1){var h=d.consumer.generatedPositionFor(u);if(h){var m={line:h.line+(d.generatedOffset.generatedLine-1),column:h.column+(d.generatedOffset.generatedLine===h.line?d.generatedOffset.generatedColumn-1:0)};return m}}}return{line:null,column:null}},s.prototype._parseMappings=function(u,p){this.__generatedMappings=[],this.__originalMappings=[];for(var d=0;d<this._sections.length;d++)for(var h=this._sections[d],m=h.consumer._generatedMappings,b=0;b<m.length;b++){var v=m[b],k=h.consumer._sources.at(v.source);k=e.computeSourceURL(h.consumer.sourceRoot,k,this._sourceMapURL),this._sources.add(k),k=this._sources.indexOf(k);var S=null;v.name&&(S=h.consumer._names.at(v.name),this._names.add(S),S=this._names.indexOf(S));var $={source:k,generatedLine:v.generatedLine+(h.generatedOffset.generatedLine-1),generatedColumn:v.generatedColumn+(h.generatedOffset.generatedLine===v.generatedLine?h.generatedOffset.generatedColumn-1:0),originalLine:v.originalLine,originalColumn:v.originalColumn,name:S};this.__generatedMappings.push($),typeof $.originalLine=="number"&&this.__originalMappings.push($)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},Jt.IndexedSourceMapConsumer=s,Jt}var Oo={},pi;function e2(){if(pi)return Oo;pi=1;var e=Dl().SourceMapGenerator,t=mn(),n=/(\r?\n)/,o=10,a="$$$isSourceNode$$$";function i(r,l,s,c,u){this.children=[],this.sourceContents={},this.line=r??null,this.column=l??null,this.source=s??null,this.name=u??null,this[a]=!0,c!=null&&this.add(c)}return i.fromStringWithSourceMap=function(l,s,c){var u=new i,p=l.split(n),d=0,h=function(){var S=w(),$=w()||"";return S+$;function w(){return d<p.length?p[d++]:void 0}},m=1,b=0,v=null;return s.eachMapping(function(S){if(v!==null)if(m<S.generatedLine)k(v,h()),m++,b=0;else{var $=p[d]||"",w=$.substr(0,S.generatedColumn-b);p[d]=$.substr(S.generatedColumn-b),b=S.generatedColumn,k(v,w),v=S;return}for(;m<S.generatedLine;)u.add(h()),m++;if(b<S.generatedColumn){var $=p[d]||"";u.add($.substr(0,S.generatedColumn)),p[d]=$.substr(S.generatedColumn),b=S.generatedColumn}v=S},this),d<p.length&&(v&&k(v,h()),u.add(p.splice(d).join(""))),s.sources.forEach(function(S){var $=s.sourceContentFor(S);$!=null&&(c!=null&&(S=t.join(c,S)),u.setSourceContent(S,$))}),u;function k(S,$){if(S===null||S.source===void 0)u.add($);else{var w=c?t.join(c,S.source):S.source;u.add(new i(S.originalLine,S.originalColumn,w,$,S.name))}}},i.prototype.add=function(l){if(Array.isArray(l))l.forEach(function(s){this.add(s)},this);else if(l[a]||typeof l=="string")l&&this.children.push(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.prepend=function(l){if(Array.isArray(l))for(var s=l.length-1;s>=0;s--)this.prepend(l[s]);else if(l[a]||typeof l=="string")this.children.unshift(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.walk=function(l){for(var s,c=0,u=this.children.length;c<u;c++)s=this.children[c],s[a]?s.walk(l):s!==""&&l(s,{source:this.source,line:this.line,column:this.column,name:this.name})},i.prototype.join=function(l){var s,c,u=this.children.length;if(u>0){for(s=[],c=0;c<u-1;c++)s.push(this.children[c]),s.push(l);s.push(this.children[c]),this.children=s}return this},i.prototype.replaceRight=function(l,s){var c=this.children[this.children.length-1];return c[a]?c.replaceRight(l,s):typeof c=="string"?this.children[this.children.length-1]=c.replace(l,s):this.children.push("".replace(l,s)),this},i.prototype.setSourceContent=function(l,s){this.sourceContents[t.toSetString(l)]=s},i.prototype.walkSourceContents=function(l){for(var s=0,c=this.children.length;s<c;s++)this.children[s][a]&&this.children[s].walkSourceContents(l);for(var u=Object.keys(this.sourceContents),s=0,c=u.length;s<c;s++)l(t.fromSetString(u[s]),this.sourceContents[u[s]])},i.prototype.toString=function(){var l="";return this.walk(function(s){l+=s}),l},i.prototype.toStringWithSourceMap=function(l){var s={code:"",line:1,column:0},c=new e(l),u=!1,p=null,d=null,h=null,m=null;return this.walk(function(b,v){s.code+=b,v.source!==null&&v.line!==null&&v.column!==null?((p!==v.source||d!==v.line||h!==v.column||m!==v.name)&&c.addMapping({source:v.source,original:{line:v.line,column:v.column},generated:{line:s.line,column:s.column},name:v.name}),p=v.source,d=v.line,h=v.column,m=v.name,u=!0):u&&(c.addMapping({generated:{line:s.line,column:s.column}}),p=null,u=!1);for(var k=0,S=b.length;k<S;k++)b.charCodeAt(k)===o?(s.line++,s.column=0,k+1===S?(p=null,u=!1):u&&c.addMapping({source:v.source,original:{line:v.line,column:v.column},generated:{line:s.line,column:s.column},name:v.name})):s.column++}),this.walkSourceContents(function(b,v){c.setSourceContent(b,v)}),{code:s.code,map:c}},Oo.SourceNode=i,Oo}var mi;function t2(){return mi||(mi=1,Kt.SourceMapGenerator=Dl().SourceMapGenerator,Kt.SourceMapConsumer=QS().SourceMapConsumer,Kt.SourceNode=e2().SourceNode),Kt}(function(e,t){t.__esModule=!0;var n=ue,o=void 0;try{var a=t2();o=a.SourceNode}catch{}o||(o=function(l,s,c,u){this.src="",u&&this.add(u)},o.prototype={add:function(s){n.isArray(s)&&(s=s.join("")),this.src+=s},prepend:function(s){n.isArray(s)&&(s=s.join("")),this.src=s+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function i(l,s,c){if(n.isArray(l)){for(var u=[],p=0,d=l.length;p<d;p++)u.push(s.wrap(l[p],c));return u}else if(typeof l=="boolean"||typeof l=="number")return l+"";return l}function r(l){this.srcFile=l,this.source=[]}r.prototype={isEmpty:function(){return!this.source.length},prepend:function(s,c){this.source.unshift(this.wrap(s,c))},push:function(s,c){this.source.push(this.wrap(s,c))},merge:function(){var s=this.empty();return this.each(function(c){s.add([" ",c,`
|
|
457
|
-
`])}),s},each:function(s){for(var c=0,u=this.source.length;c<u;c++)s(this.source[c])},empty:function(){var s=this.currentLocation||{start:{}};return new o(s.start.line,s.start.column,this.srcFile)},wrap:function(s){var c=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return s instanceof o?s:(s=i(s,this,c),new o(c.start.line,c.start.column,this.srcFile,s))},functionCall:function(s,c,u){return u=this.generateList(u),this.wrap([s,c?"."+c+"(":"(",u,")"])},quotedString:function(s){return'"'+(s+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(s){var c=this,u=[];Object.keys(s).forEach(function(d){var h=i(s[d],c);h!=="undefined"&&u.push([c.quotedString(d),":",h])});var p=this.generateList(u);return p.prepend("{"),p.add("}"),p},generateList:function(s){for(var c=this.empty(),u=0,p=s.length;u<p;u++)u&&c.add(","),c.add(i(s[u],this));return c},generateArray:function(s){var c=this.generateList(s);return c.prepend("["),c.add("]"),c}},t.default=r,e.exports=t.default})(xa,xa.exports);var
|
|
456
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var s=this.next();return typeof s<"u"?s:this.lex()},begin:function(s){this.conditionStack.push(s)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(s){this.begin(s)}};return r.options={},r.performAction=function(s,c,u,p){function d(h,m){return c.yytext=c.yytext.substring(h,c.yyleng-m+h)}switch(u){case 0:if(c.yytext.slice(-2)==="\\\\"?(d(0,1),this.begin("mu")):c.yytext.slice(-1)==="\\"?(d(0,1),this.begin("emu")):this.begin("mu"),c.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(d(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(c.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return c.yytext=d(1,2).replace(/\\"/g,'"'),80;case 32:return c.yytext=d(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return c.yytext=c.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},r.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],r.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},r}();o.lexer=a;function i(){this.yy={}}return i.prototype=o,o.Parser=i,new i}();t.default=n,e.exports=t.default})(ha,ha.exports);var wS=ha.exports,fa={exports:{}},pa={exports:{}};(function(e,t){t.__esModule=!0;function n(c){return c&&c.__esModule?c:{default:c}}var o=De,a=n(o);function i(){this.parents=[]}i.prototype={constructor:i,mutating:!1,acceptKey:function(u,p){var d=this.accept(u[p]);if(this.mutating){if(d&&!i.prototype[d.type])throw new a.default('Unexpected node type "'+d.type+'" found when accepting '+p+" on "+u.type);u[p]=d}},acceptRequired:function(u,p){if(this.acceptKey(u,p),!u[p])throw new a.default(u.type+" requires "+p)},acceptArray:function(u){for(var p=0,d=u.length;p<d;p++)this.acceptKey(u,p),u[p]||(u.splice(p,1),p--,d--)},accept:function(u){if(u){if(!this[u.type])throw new a.default("Unknown type: "+u.type,u);this.current&&this.parents.unshift(this.current),this.current=u;var p=this[u.type](u);if(this.current=this.parents.shift(),!this.mutating||p)return p;if(p!==!1)return u}},Program:function(u){this.acceptArray(u.body)},MustacheStatement:r,Decorator:r,BlockStatement:l,DecoratorBlock:l,PartialStatement:s,PartialBlockStatement:function(u){s.call(this,u),this.acceptKey(u,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:r,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(u){this.acceptArray(u.pairs)},HashPair:function(u){this.acceptRequired(u,"value")}};function r(c){this.acceptRequired(c,"path"),this.acceptArray(c.params),this.acceptKey(c,"hash")}function l(c){r.call(this,c),this.acceptKey(c,"program"),this.acceptKey(c,"inverse")}function s(c){this.acceptRequired(c,"name"),this.acceptArray(c.params),this.acceptKey(c,"hash")}t.default=i,e.exports=t.default})(pa,pa.exports);var Pl=pa.exports;(function(e,t){t.__esModule=!0;function n(u){return u&&u.__esModule?u:{default:u}}var o=Pl,a=n(o);function i(){var u=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=u}i.prototype=new a.default,i.prototype.Program=function(u){var p=!this.options.ignoreStandalone,d=!this.isRootSeen;this.isRootSeen=!0;for(var h=u.body,m=0,b=h.length;m<b;m++){var v=h[m],k=this.accept(v);if(k){var S=r(h,m,d),$=l(h,m,d),w=k.openStandalone&&S,_=k.closeStandalone&&$,N=k.inlineStandalone&&S&&$;k.close&&s(h,m,!0),k.open&&c(h,m,!0),p&&N&&(s(h,m),c(h,m)&&v.type==="PartialStatement"&&(v.indent=/([ \t]+$)/.exec(h[m-1].original)[1])),p&&w&&(s((v.program||v.inverse).body),c(h,m)),p&&_&&(s(h,m),c((v.inverse||v.program).body))}}return u},i.prototype.BlockStatement=i.prototype.DecoratorBlock=i.prototype.PartialBlockStatement=function(u){this.accept(u.program),this.accept(u.inverse);var p=u.program||u.inverse,d=u.program&&u.inverse,h=d,m=d;if(d&&d.chained)for(h=d.body[0].program;m.chained;)m=m.body[m.body.length-1].program;var b={open:u.openStrip.open,close:u.closeStrip.close,openStandalone:l(p.body),closeStandalone:r((h||p).body)};if(u.openStrip.close&&s(p.body,null,!0),d){var v=u.inverseStrip;v.open&&c(p.body,null,!0),v.close&&s(h.body,null,!0),u.closeStrip.open&&c(m.body,null,!0),!this.options.ignoreStandalone&&r(p.body)&&l(h.body)&&(c(p.body),s(h.body))}else u.closeStrip.open&&c(p.body,null,!0);return b},i.prototype.Decorator=i.prototype.MustacheStatement=function(u){return u.strip},i.prototype.PartialStatement=i.prototype.CommentStatement=function(u){var p=u.strip||{};return{inlineStandalone:!0,open:p.open,close:p.close}};function r(u,p,d){p===void 0&&(p=u.length);var h=u[p-1],m=u[p-2];if(!h)return d;if(h.type==="ContentStatement")return(m||!d?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(h.original)}function l(u,p,d){p===void 0&&(p=-1);var h=u[p+1],m=u[p+2];if(!h)return d;if(h.type==="ContentStatement")return(m||!d?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(h.original)}function s(u,p,d){var h=u[p==null?0:p+1];if(!(!h||h.type!=="ContentStatement"||!d&&h.rightStripped)){var m=h.value;h.value=h.value.replace(d?/^\s+/:/^[ \t]*\r?\n?/,""),h.rightStripped=h.value!==m}}function c(u,p,d){var h=u[p==null?u.length-1:p-1];if(!(!h||h.type!=="ContentStatement"||!d&&h.leftStripped)){var m=h.value;return h.value=h.value.replace(d?/\s+$/:/[ \t]+$/,""),h.leftStripped=h.value!==m,h.leftStripped}}t.default=i,e.exports=t.default})(fa,fa.exports);var kS=fa.exports,He={};He.__esModule=!0;He.SourceLocation=CS;He.id=AS;He.stripFlags=yS;He.stripComment=NS;He.preparePath=RS;He.prepareMustache=ES;He.prepareRawBlock=IS;He.prepareBlock=MS;He.prepareProgram=TS;He.preparePartialBlock=PS;function _S(e){return e&&e.__esModule?e:{default:e}}var $S=De,za=_S($S);function ja(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var n={loc:e.path.loc};throw new za.default(e.path.original+" doesn't match "+t,n)}}function CS(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function AS(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e}function yS(e,t){return{open:e.charAt(2)==="~",close:t.charAt(t.length-3)==="~"}}function NS(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function RS(e,t,n){n=this.locInfo(n);for(var o=e?"@":"",a=[],i=0,r=0,l=t.length;r<l;r++){var s=t[r].part,c=t[r].original!==s;if(o+=(t[r].separator||"")+s,!c&&(s===".."||s==="."||s==="this")){if(a.length>0)throw new za.default("Invalid path: "+o,{loc:n});s===".."&&i++}else a.push(s)}return{type:"PathExpression",data:e,depth:i,parts:a,original:o,loc:n}}function ES(e,t,n,o,a,i){var r=o.charAt(3)||o.charAt(2),l=r!=="{"&&r!=="&",s=/\*/.test(o);return{type:s?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:l,strip:a,loc:this.locInfo(i)}}function IS(e,t,n,o){ja(e,n),o=this.locInfo(o);var a={type:"Program",body:t,strip:{},loc:o};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:a,openStrip:{},inverseStrip:{},closeStrip:{},loc:o}}function MS(e,t,n,o,a,i){o&&o.path&&ja(e,o);var r=/\*/.test(e.open);t.blockParams=e.blockParams;var l=void 0,s=void 0;if(n){if(r)throw new za.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=o.strip),s=n.strip,l=n.program}return a&&(a=l,l=t,t=a),{type:r?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:l,openStrip:e.strip,inverseStrip:s,closeStrip:o&&o.strip,loc:this.locInfo(i)}}function TS(e,t){if(!t&&e.length){var n=e[0].loc,o=e[e.length-1].loc;n&&o&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:o.end.line,column:o.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function PS(e,t,n,o){return ja(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(o)}}fn.__esModule=!0;fn.parseWithoutProcessing=Ol;fn.parse=GS;function OS(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function Ba(e){return e&&e.__esModule?e:{default:e}}var LS=wS,ma=Ba(LS),zS=kS,jS=Ba(zS),BS=He,DS=OS(BS),HS=De,Vt=Ba(HS),FS=ue;fn.parser=ma.default;var Tn={};FS.extend(Tn,DS);function Ol(e,t){if(e.type==="Program")return US(e),e;ma.default.yy=Tn,Tn.locInfo=function(o){return new Tn.SourceLocation(t&&t.srcName,o)};var n=ma.default.parse(e);return n}function GS(e,t){var n=Ol(e,t),o=new jS.default(t);return o.accept(n)}function US(e){ga(e)}function ga(e){if(e!=null){if(Array.isArray(e)){e.forEach(ga);return}if(typeof e=="object"){if(e.type==="PathExpression"){if(!ZS(e.depth))throw new Vt.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(e.parts))throw new Vt.default("Invalid AST: PathExpression.parts must be an array");for(var t=0;t<e.parts.length;t++)if(typeof e.parts[t]!="string")throw new Vt.default("Invalid AST: PathExpression.parts must only contain strings")}else if(e.type==="NumberLiteral"){if(typeof e.value!="number"||!isFinite(e.value))throw new Vt.default("Invalid AST: NumberLiteral.value must be a number")}else if(e.type==="BooleanLiteral"&&typeof e.value!="boolean")throw new Vt.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(e).forEach(function(n){n!=="loc"&&ga(e[n])})}}}function ZS(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}var pn={};pn.__esModule=!0;pn.Compiler=ba;pn.precompile=YS;pn.compile=KS;function Ll(e){return e&&e.__esModule?e:{default:e}}var WS=De,tn=Ll(WS),ln=ue,qS=Tl,Yt=Ll(qS),VS=[].slice;function ba(){}ba.prototype={compiler:ba,equals:function(t){var n=this.opcodes.length;if(t.opcodes.length!==n)return!1;for(var o=0;o<n;o++){var a=this.opcodes[o],i=t.opcodes[o];if(a.opcode!==i.opcode||!zl(a.args,i.args))return!1}n=this.children.length;for(var o=0;o<n;o++)if(!this.children[o].equals(t.children[o]))return!1;return!0},guid:0,compile:function(t,n){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=n,this.stringParams=n.stringParams,this.trackIds=n.trackIds,n.blockParams=n.blockParams||[],n.knownHelpers=ln.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},n.knownHelpers),this.accept(t)},compileProgram:function(t){var n=new this.compiler,o=n.compile(t,this.options),a=this.guid++;return this.usePartial=this.usePartial||o.usePartial,this.children[a]=o,this.useDepths=this.useDepths||o.useDepths,a},accept:function(t){if(!this[t.type])throw new tn.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var n=this[t.type](t);return this.sourceNode.shift(),n},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var n=t.body,o=n.length,a=0;a<o;a++)this.accept(n[a]);return this.options.blockParams.shift(),this.isSimple=o===1,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){ai(t);var n=t.program,o=t.inverse;n=n&&this.compileProgram(n),o=o&&this.compileProgram(o);var a=this.classifySexpr(t);a==="helper"?this.helperSexpr(t,n,o):a==="simple"?(this.simpleSexpr(t),this.opcode("pushProgram",n),this.opcode("pushProgram",o),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,n,o),this.opcode("pushProgram",n),this.opcode("pushProgram",o),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var n=t.program&&this.compileProgram(t.program),o=this.setupFullMustacheParams(t,n,void 0),a=t.path;this.useDecorators=!0,this.opcode("registerDecorator",o.length,a.original)},PartialStatement:function(t){this.usePartial=!0;var n=t.program;n&&(n=this.compileProgram(t.program));var o=t.params;if(o.length>1)throw new tn.default("Unsupported number of partial arguments: "+o.length,t);o.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):o.push({type:"PathExpression",parts:[],depth:0}));var a=t.name.original,i=t.name.type==="SubExpression";i&&this.accept(t.name),this.setupFullMustacheParams(t,n,void 0,!0);var r=t.indent||"";this.options.preventIndent&&r&&(this.opcode("appendContent",r),r=""),this.opcode("invokePartial",i,a,r),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){ai(t);var n=this.classifySexpr(t);n==="simple"?this.simpleSexpr(t):n==="helper"?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,n,o){var a=t.path,i=a.parts[0],r=n!=null||o!=null;this.opcode("getContext",a.depth),this.opcode("pushProgram",n),this.opcode("pushProgram",o),a.strict=!0,this.accept(a),this.opcode("invokeAmbiguous",i,r)},simpleSexpr:function(t){var n=t.path;n.strict=!0,this.accept(n),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,n,o){var a=this.setupFullMustacheParams(t,n,o),i=t.path,r=i.parts[0];if(this.options.knownHelpers[r])this.opcode("invokeKnownHelper",a.length,r);else{if(this.options.knownHelpersOnly)throw new tn.default("You specified knownHelpersOnly, but used the unknown helper "+r,t);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",a.length,i.original,Yt.default.helpers.simpleId(i))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var n=t.parts[0],o=Yt.default.helpers.scopedId(t),a=!t.depth&&!o&&this.blockParamIndex(n);a?this.opcode("lookupBlockParam",a,t.parts):n?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,o):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var n=t.pairs,o=0,a=n.length;for(this.opcode("pushHash");o<a;o++)this.pushParam(n[o].value);for(;o--;)this.opcode("assignToHash",n[o].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:VS.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var n=Yt.default.helpers.simpleId(t.path),o=n&&!!this.blockParamIndex(t.path.parts[0]),a=!o&&Yt.default.helpers.helperExpression(t),i=!o&&(a||n);if(i&&!a){var r=t.path.parts[0],l=this.options;l.knownHelpers[r]?a=!0:l.knownHelpersOnly&&(i=!1)}return a?"helper":i?"ambiguous":"simple"},pushParams:function(t){for(var n=0,o=t.length;n<o;n++)this.pushParam(t[n])},pushParam:function(t){var n=t.value!=null?t.value:t.original||"";if(this.stringParams)n.replace&&(n=n.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",n,t.type),t.type==="SubExpression"&&this.accept(t);else{if(this.trackIds){var o=void 0;if(t.parts&&!Yt.default.helpers.scopedId(t)&&!t.depth&&(o=this.blockParamIndex(t.parts[0])),o){var a=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",o,a)}else n=t.original||n,n.replace&&(n=n.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,n)}this.accept(t)}},setupFullMustacheParams:function(t,n,o,a){var i=t.params;return this.pushParams(i),this.opcode("pushProgram",n),this.opcode("pushProgram",o),t.hash?this.accept(t.hash):this.opcode("emptyHash",a),i},blockParamIndex:function(t){for(var n=0,o=this.options.blockParams.length;n<o;n++){var a=this.options.blockParams[n],i=a&&ln.indexOf(a,t);if(a&&i>=0)return[n,i]}}};function YS(e,t,n){if(e==null||typeof e!="string"&&e.type!=="Program")throw new tn.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var o=n.parse(e,t),a=new n.Compiler().compile(o,t);return new n.JavaScriptCompiler().compile(a,t)}function KS(e,t,n){if(t===void 0&&(t={}),e==null||typeof e!="string"&&e.type!=="Program")throw new tn.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);t=ln.extend({},t),"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var o=void 0;function a(){var r=n.parse(e,t),l=new n.Compiler().compile(r,t),s=new n.JavaScriptCompiler().compile(l,t,void 0,!0);return n.template(s)}function i(r,l){return o||(o=a()),o.call(this,r,l)}return i._setup=function(r){return o||(o=a()),o._setup(r)},i._child=function(r,l,s,c){return o||(o=a()),o._child(r,l,s,c)},i}function zl(e,t){if(e===t)return!0;if(ln.isArray(e)&&ln.isArray(t)&&e.length===t.length){for(var n=0;n<e.length;n++)if(!zl(e[n],t[n]))return!1;return!0}}function ai(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}var va={exports:{}},xa={exports:{}},Kt={},Ro={},yn={},Nn={},ri;function JS(){if(ri)return Nn;ri=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Nn.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},Nn.decode=function(t){var n=65,o=90,a=97,i=122,r=48,l=57,s=43,c=47,u=26,p=52;return n<=t&&t<=o?t-n:a<=t&&t<=i?t-a+u:r<=t&&t<=l?t-r+p:t==s?62:t==c?63:-1},Nn}var ii;function jl(){if(ii)return yn;ii=1;var e=JS(),t=5,n=1<<t,o=n-1,a=n;function i(l){return l<0?(-l<<1)+1:(l<<1)+0}function r(l){var s=(l&1)===1,c=l>>1;return s?-c:c}return yn.encode=function(s){var c="",u,p=i(s);do u=p&o,p>>>=t,p>0&&(u|=a),c+=e.encode(u);while(p>0);return c},yn.decode=function(s,c,u){var p=s.length,d=0,h=0,m,b;do{if(c>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(b=e.decode(s.charCodeAt(c++)),b===-1)throw new Error("Invalid base64 digit: "+s.charAt(c-1));m=!!(b&a),b&=o,d=d+(b<<h),h+=t}while(m);u.value=r(d),u.rest=c},yn}var Eo={},li;function mn(){return li||(li=1,function(e){function t(w,_,N){if(_ in w)return w[_];if(arguments.length===3)return N;throw new Error('"'+_+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,o=/^data:.+\,.+$/;function a(w){var _=w.match(n);return _?{scheme:_[1],auth:_[2],host:_[3],port:_[4],path:_[5]}:null}e.urlParse=a;function i(w){var _="";return w.scheme&&(_+=w.scheme+":"),_+="//",w.auth&&(_+=w.auth+"@"),w.host&&(_+=w.host),w.port&&(_+=":"+w.port),w.path&&(_+=w.path),_}e.urlGenerate=i;function r(w){var _=w,N=a(w);if(N){if(!N.path)return w;_=N.path}for(var A=e.isAbsolute(_),y=_.split(/\/+/),R,M=0,T=y.length-1;T>=0;T--)R=y[T],R==="."?y.splice(T,1):R===".."?M++:M>0&&(R===""?(y.splice(T+1,M),M=0):(y.splice(T,2),M--));return _=y.join("/"),_===""&&(_=A?"/":"."),N?(N.path=_,i(N)):_}e.normalize=r;function l(w,_){w===""&&(w="."),_===""&&(_=".");var N=a(_),A=a(w);if(A&&(w=A.path||"/"),N&&!N.scheme)return A&&(N.scheme=A.scheme),i(N);if(N||_.match(o))return _;if(A&&!A.host&&!A.path)return A.host=_,i(A);var y=_.charAt(0)==="/"?_:r(w.replace(/\/+$/,"")+"/"+_);return A?(A.path=y,i(A)):y}e.join=l,e.isAbsolute=function(w){return w.charAt(0)==="/"||n.test(w)};function s(w,_){w===""&&(w="."),w=w.replace(/\/$/,"");for(var N=0;_.indexOf(w+"/")!==0;){var A=w.lastIndexOf("/");if(A<0||(w=w.slice(0,A),w.match(/^([^\/]+:\/)?\/*$/)))return _;++N}return Array(N+1).join("../")+_.substr(w.length+1)}e.relative=s;var c=function(){var w=Object.create(null);return!("__proto__"in w)}();function u(w){return w}function p(w){return h(w)?"$"+w:w}e.toSetString=c?u:p;function d(w){return h(w)?w.slice(1):w}e.fromSetString=c?u:d;function h(w){if(!w)return!1;var _=w.length;if(_<9||w.charCodeAt(_-1)!==95||w.charCodeAt(_-2)!==95||w.charCodeAt(_-3)!==111||w.charCodeAt(_-4)!==116||w.charCodeAt(_-5)!==111||w.charCodeAt(_-6)!==114||w.charCodeAt(_-7)!==112||w.charCodeAt(_-8)!==95||w.charCodeAt(_-9)!==95)return!1;for(var N=_-10;N>=0;N--)if(w.charCodeAt(N)!==36)return!1;return!0}function m(w,_,N){var A=v(w.source,_.source);return A!==0||(A=w.originalLine-_.originalLine,A!==0)||(A=w.originalColumn-_.originalColumn,A!==0||N)||(A=w.generatedColumn-_.generatedColumn,A!==0)||(A=w.generatedLine-_.generatedLine,A!==0)?A:v(w.name,_.name)}e.compareByOriginalPositions=m;function b(w,_,N){var A=w.generatedLine-_.generatedLine;return A!==0||(A=w.generatedColumn-_.generatedColumn,A!==0||N)||(A=v(w.source,_.source),A!==0)||(A=w.originalLine-_.originalLine,A!==0)||(A=w.originalColumn-_.originalColumn,A!==0)?A:v(w.name,_.name)}e.compareByGeneratedPositionsDeflated=b;function v(w,_){return w===_?0:w===null?1:_===null?-1:w>_?1:-1}function k(w,_){var N=w.generatedLine-_.generatedLine;return N!==0||(N=w.generatedColumn-_.generatedColumn,N!==0)||(N=v(w.source,_.source),N!==0)||(N=w.originalLine-_.originalLine,N!==0)||(N=w.originalColumn-_.originalColumn,N!==0)?N:v(w.name,_.name)}e.compareByGeneratedPositionsInflated=k;function S(w){return JSON.parse(w.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=S;function $(w,_,N){if(_=_||"",w&&(w[w.length-1]!=="/"&&_[0]!=="/"&&(w+="/"),_=w+_),N){var A=a(N);if(!A)throw new Error("sourceMapURL could not be parsed");if(A.path){var y=A.path.lastIndexOf("/");y>=0&&(A.path=A.path.substring(0,y+1))}_=l(i(A),_)}return r(_)}e.computeSourceURL=$}(Eo)),Eo}var Io={},si;function Bl(){if(si)return Io;si=1;var e=mn(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function o(){this._array=[],this._set=n?new Map:Object.create(null)}return o.fromArray=function(i,r){for(var l=new o,s=0,c=i.length;s<c;s++)l.add(i[s],r);return l},o.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(i,r){var l=n?i:e.toSetString(i),s=n?this.has(i):t.call(this._set,l),c=this._array.length;(!s||r)&&this._array.push(i),s||(n?this._set.set(i,c):this._set[l]=c)},o.prototype.has=function(i){if(n)return this._set.has(i);var r=e.toSetString(i);return t.call(this._set,r)},o.prototype.indexOf=function(i){if(n){var r=this._set.get(i);if(r>=0)return r}else{var l=e.toSetString(i);if(t.call(this._set,l))return this._set[l]}throw new Error('"'+i+'" is not in the set.')},o.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)},o.prototype.toArray=function(){return this._array.slice()},Io.ArraySet=o,Io}var Mo={},ci;function XS(){if(ci)return Mo;ci=1;var e=mn();function t(o,a){var i=o.generatedLine,r=a.generatedLine,l=o.generatedColumn,s=a.generatedColumn;return r>i||r==i&&s>=l||e.compareByGeneratedPositionsInflated(o,a)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(a,i){this._array.forEach(a,i)},n.prototype.add=function(a){t(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Mo.MappingList=n,Mo}var ui;function Dl(){if(ui)return Ro;ui=1;var e=jl(),t=mn(),n=Bl().ArraySet,o=XS().MappingList;function a(i){i||(i={}),this._file=t.getArg(i,"file",null),this._sourceRoot=t.getArg(i,"sourceRoot",null),this._skipValidation=t.getArg(i,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new o,this._sourcesContents=null}return a.prototype._version=3,a.fromSourceMap=function(r){var l=r.sourceRoot,s=new a({file:r.file,sourceRoot:l});return r.eachMapping(function(c){var u={generated:{line:c.generatedLine,column:c.generatedColumn}};c.source!=null&&(u.source=c.source,l!=null&&(u.source=t.relative(l,u.source)),u.original={line:c.originalLine,column:c.originalColumn},c.name!=null&&(u.name=c.name)),s.addMapping(u)}),r.sources.forEach(function(c){var u=c;l!==null&&(u=t.relative(l,c)),s._sources.has(u)||s._sources.add(u);var p=r.sourceContentFor(c);p!=null&&s.setSourceContent(c,p)}),s},a.prototype.addMapping=function(r){var l=t.getArg(r,"generated"),s=t.getArg(r,"original",null),c=t.getArg(r,"source",null),u=t.getArg(r,"name",null);this._skipValidation||this._validateMapping(l,s,c,u),c!=null&&(c=String(c),this._sources.has(c)||this._sources.add(c)),u!=null&&(u=String(u),this._names.has(u)||this._names.add(u)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:c,name:u})},a.prototype.setSourceContent=function(r,l){var s=r;this._sourceRoot!=null&&(s=t.relative(this._sourceRoot,s)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(s)]=l):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(r,l,s){var c=l;if(l==null){if(r.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);c=r.file}var u=this._sourceRoot;u!=null&&(c=t.relative(u,c));var p=new n,d=new n;this._mappings.unsortedForEach(function(h){if(h.source===c&&h.originalLine!=null){var m=r.originalPositionFor({line:h.originalLine,column:h.originalColumn});m.source!=null&&(h.source=m.source,s!=null&&(h.source=t.join(s,h.source)),u!=null&&(h.source=t.relative(u,h.source)),h.originalLine=m.line,h.originalColumn=m.column,m.name!=null&&(h.name=m.name))}var b=h.source;b!=null&&!p.has(b)&&p.add(b);var v=h.name;v!=null&&!d.has(v)&&d.add(v)},this),this._sources=p,this._names=d,r.sources.forEach(function(h){var m=r.sourceContentFor(h);m!=null&&(s!=null&&(h=t.join(s,h)),u!=null&&(h=t.relative(u,h)),this.setSourceContent(h,m))},this)},a.prototype._validateMapping=function(r,l,s,c){if(l&&typeof l.line!="number"&&typeof l.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(r&&"line"in r&&"column"in r&&r.line>0&&r.column>=0&&!l&&!s&&!c)){if(r&&"line"in r&&"column"in r&&l&&"line"in l&&"column"in l&&r.line>0&&r.column>=0&&l.line>0&&l.column>=0&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:r,source:s,original:l,name:c}))}},a.prototype._serializeMappings=function(){for(var r=0,l=1,s=0,c=0,u=0,p=0,d="",h,m,b,v,k=this._mappings.toArray(),S=0,$=k.length;S<$;S++){if(m=k[S],h="",m.generatedLine!==l)for(r=0;m.generatedLine!==l;)h+=";",l++;else if(S>0){if(!t.compareByGeneratedPositionsInflated(m,k[S-1]))continue;h+=","}h+=e.encode(m.generatedColumn-r),r=m.generatedColumn,m.source!=null&&(v=this._sources.indexOf(m.source),h+=e.encode(v-p),p=v,h+=e.encode(m.originalLine-1-c),c=m.originalLine-1,h+=e.encode(m.originalColumn-s),s=m.originalColumn,m.name!=null&&(b=this._names.indexOf(m.name),h+=e.encode(b-u),u=b)),d+=h}return d},a.prototype._generateSourcesContent=function(r,l){return r.map(function(s){if(!this._sourcesContents)return null;l!=null&&(s=t.relative(l,s));var c=t.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,c)?this._sourcesContents[c]:null},this)},a.prototype.toJSON=function(){var r={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(r.file=this._file),this._sourceRoot!=null&&(r.sourceRoot=this._sourceRoot),this._sourcesContents&&(r.sourcesContent=this._generateSourcesContent(r.sources,r.sourceRoot)),r},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},Ro.SourceMapGenerator=a,Ro}var Jt={},To={},di;function QS(){return di||(di=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,o,a,i,r,l){var s=Math.floor((o-n)/2)+n,c=r(a,i[s],!0);return c===0?s:c>0?o-s>1?t(s,o,a,i,r,l):l==e.LEAST_UPPER_BOUND?o<i.length?o:-1:s:s-n>1?t(n,s,a,i,r,l):l==e.LEAST_UPPER_BOUND?s:n<0?-1:n}e.search=function(o,a,i,r){if(a.length===0)return-1;var l=t(-1,a.length,o,a,i,r||e.GREATEST_LOWER_BOUND);if(l<0)return-1;for(;l-1>=0&&i(a[l],a[l-1],!0)===0;)--l;return l}}(To)),To}var Po={},hi;function e2(){if(hi)return Po;hi=1;function e(o,a,i){var r=o[a];o[a]=o[i],o[i]=r}function t(o,a){return Math.round(o+Math.random()*(a-o))}function n(o,a,i,r){if(i<r){var l=t(i,r),s=i-1;e(o,l,r);for(var c=o[r],u=i;u<r;u++)a(o[u],c)<=0&&(s+=1,e(o,s,u));e(o,s+1,u);var p=s+1;n(o,a,i,p-1),n(o,a,p+1,r)}}return Po.quickSort=function(o,a){n(o,a,0,o.length-1)},Po}var fi;function t2(){if(fi)return Jt;fi=1;var e=mn(),t=QS(),n=Bl().ArraySet,o=jl(),a=e2().quickSort;function i(c,u){var p=c;return typeof c=="string"&&(p=e.parseSourceMapInput(c)),p.sections!=null?new s(p,u):new r(p,u)}i.fromSourceMap=function(c,u){return r.fromSourceMap(c,u)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(u,p){var d=u.charAt(p);return d===";"||d===","},i.prototype._parseMappings=function(u,p){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(u,p,d){var h=p||null,m=d||i.GENERATED_ORDER,b;switch(m){case i.GENERATED_ORDER:b=this._generatedMappings;break;case i.ORIGINAL_ORDER:b=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var v=this.sourceRoot;b.map(function(k){var S=k.source===null?null:this._sources.at(k.source);return S=e.computeSourceURL(v,S,this._sourceMapURL),{source:S,generatedLine:k.generatedLine,generatedColumn:k.generatedColumn,originalLine:k.originalLine,originalColumn:k.originalColumn,name:k.name===null?null:this._names.at(k.name)}},this).forEach(u,h)},i.prototype.allGeneratedPositionsFor=function(u){var p=e.getArg(u,"line"),d={source:e.getArg(u,"source"),originalLine:p,originalColumn:e.getArg(u,"column",0)};if(d.source=this._findSourceIndex(d.source),d.source<0)return[];var h=[],m=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(m>=0){var b=this._originalMappings[m];if(u.column===void 0)for(var v=b.originalLine;b&&b.originalLine===v;)h.push({line:e.getArg(b,"generatedLine",null),column:e.getArg(b,"generatedColumn",null),lastColumn:e.getArg(b,"lastGeneratedColumn",null)}),b=this._originalMappings[++m];else for(var k=b.originalColumn;b&&b.originalLine===p&&b.originalColumn==k;)h.push({line:e.getArg(b,"generatedLine",null),column:e.getArg(b,"generatedColumn",null),lastColumn:e.getArg(b,"lastGeneratedColumn",null)}),b=this._originalMappings[++m]}return h},Jt.SourceMapConsumer=i;function r(c,u){var p=c;typeof c=="string"&&(p=e.parseSourceMapInput(c));var d=e.getArg(p,"version"),h=e.getArg(p,"sources"),m=e.getArg(p,"names",[]),b=e.getArg(p,"sourceRoot",null),v=e.getArg(p,"sourcesContent",null),k=e.getArg(p,"mappings"),S=e.getArg(p,"file",null);if(d!=this._version)throw new Error("Unsupported version: "+d);b&&(b=e.normalize(b)),h=h.map(String).map(e.normalize).map(function($){return b&&e.isAbsolute(b)&&e.isAbsolute($)?e.relative(b,$):$}),this._names=n.fromArray(m.map(String),!0),this._sources=n.fromArray(h,!0),this._absoluteSources=this._sources.toArray().map(function($){return e.computeSourceURL(b,$,u)}),this.sourceRoot=b,this.sourcesContent=v,this._mappings=k,this._sourceMapURL=u,this.file=S}r.prototype=Object.create(i.prototype),r.prototype.consumer=i,r.prototype._findSourceIndex=function(c){var u=c;if(this.sourceRoot!=null&&(u=e.relative(this.sourceRoot,u)),this._sources.has(u))return this._sources.indexOf(u);var p;for(p=0;p<this._absoluteSources.length;++p)if(this._absoluteSources[p]==c)return p;return-1},r.fromSourceMap=function(u,p){var d=Object.create(r.prototype),h=d._names=n.fromArray(u._names.toArray(),!0),m=d._sources=n.fromArray(u._sources.toArray(),!0);d.sourceRoot=u._sourceRoot,d.sourcesContent=u._generateSourcesContent(d._sources.toArray(),d.sourceRoot),d.file=u._file,d._sourceMapURL=p,d._absoluteSources=d._sources.toArray().map(function(N){return e.computeSourceURL(d.sourceRoot,N,p)});for(var b=u._mappings.toArray().slice(),v=d.__generatedMappings=[],k=d.__originalMappings=[],S=0,$=b.length;S<$;S++){var w=b[S],_=new l;_.generatedLine=w.generatedLine,_.generatedColumn=w.generatedColumn,w.source&&(_.source=m.indexOf(w.source),_.originalLine=w.originalLine,_.originalColumn=w.originalColumn,w.name&&(_.name=h.indexOf(w.name)),k.push(_)),v.push(_)}return a(d.__originalMappings,e.compareByOriginalPositions),d},r.prototype._version=3,Object.defineProperty(r.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}r.prototype._parseMappings=function(u,p){for(var d=1,h=0,m=0,b=0,v=0,k=0,S=u.length,$=0,w={},_={},N=[],A=[],y,R,M,T,L;$<S;)if(u.charAt($)===";")d++,$++,h=0;else if(u.charAt($)===",")$++;else{for(y=new l,y.generatedLine=d,T=$;T<S&&!this._charIsMappingSeparator(u,T);T++);if(R=u.slice($,T),M=w[R],M)$+=R.length;else{for(M=[];$<T;)o.decode(u,$,_),L=_.value,$=_.rest,M.push(L);if(M.length===2)throw new Error("Found a source, but no line and column");if(M.length===3)throw new Error("Found a source and line, but no column");w[R]=M}y.generatedColumn=h+M[0],h=y.generatedColumn,M.length>1&&(y.source=v+M[1],v+=M[1],y.originalLine=m+M[2],m=y.originalLine,y.originalLine+=1,y.originalColumn=b+M[3],b=y.originalColumn,M.length>4&&(y.name=k+M[4],k+=M[4])),A.push(y),typeof y.originalLine=="number"&&N.push(y)}a(A,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,a(N,e.compareByOriginalPositions),this.__originalMappings=N},r.prototype._findMapping=function(u,p,d,h,m,b){if(u[d]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+u[d]);if(u[h]<0)throw new TypeError("Column must be greater than or equal to 0, got "+u[h]);return t.search(u,p,m,b)},r.prototype.computeColumnSpans=function(){for(var u=0;u<this._generatedMappings.length;++u){var p=this._generatedMappings[u];if(u+1<this._generatedMappings.length){var d=this._generatedMappings[u+1];if(p.generatedLine===d.generatedLine){p.lastGeneratedColumn=d.generatedColumn-1;continue}}p.lastGeneratedColumn=1/0}},r.prototype.originalPositionFor=function(u){var p={generatedLine:e.getArg(u,"line"),generatedColumn:e.getArg(u,"column")},d=this._findMapping(p,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(u,"bias",i.GREATEST_LOWER_BOUND));if(d>=0){var h=this._generatedMappings[d];if(h.generatedLine===p.generatedLine){var m=e.getArg(h,"source",null);m!==null&&(m=this._sources.at(m),m=e.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var b=e.getArg(h,"name",null);return b!==null&&(b=this._names.at(b)),{source:m,line:e.getArg(h,"originalLine",null),column:e.getArg(h,"originalColumn",null),name:b}}}return{source:null,line:null,column:null,name:null}},r.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(u){return u==null}):!1},r.prototype.sourceContentFor=function(u,p){if(!this.sourcesContent)return null;var d=this._findSourceIndex(u);if(d>=0)return this.sourcesContent[d];var h=u;this.sourceRoot!=null&&(h=e.relative(this.sourceRoot,h));var m;if(this.sourceRoot!=null&&(m=e.urlParse(this.sourceRoot))){var b=h.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(b))return this.sourcesContent[this._sources.indexOf(b)];if((!m.path||m.path=="/")&&this._sources.has("/"+h))return this.sourcesContent[this._sources.indexOf("/"+h)]}if(p)return null;throw new Error('"'+h+'" is not in the SourceMap.')},r.prototype.generatedPositionFor=function(u){var p=e.getArg(u,"source");if(p=this._findSourceIndex(p),p<0)return{line:null,column:null,lastColumn:null};var d={source:p,originalLine:e.getArg(u,"line"),originalColumn:e.getArg(u,"column")},h=this._findMapping(d,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(u,"bias",i.GREATEST_LOWER_BOUND));if(h>=0){var m=this._originalMappings[h];if(m.source===d.source)return{line:e.getArg(m,"generatedLine",null),column:e.getArg(m,"generatedColumn",null),lastColumn:e.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Jt.BasicSourceMapConsumer=r;function s(c,u){var p=c;typeof c=="string"&&(p=e.parseSourceMapInput(c));var d=e.getArg(p,"version"),h=e.getArg(p,"sections");if(d!=this._version)throw new Error("Unsupported version: "+d);this._sources=new n,this._names=new n;var m={line:-1,column:0};this._sections=h.map(function(b){if(b.url)throw new Error("Support for url field in sections not implemented.");var v=e.getArg(b,"offset"),k=e.getArg(v,"line"),S=e.getArg(v,"column");if(k<m.line||k===m.line&&S<m.column)throw new Error("Section offsets must be ordered and non-overlapping.");return m=v,{generatedOffset:{generatedLine:k+1,generatedColumn:S+1},consumer:new i(e.getArg(b,"map"),u)}})}return s.prototype=Object.create(i.prototype),s.prototype.constructor=i,s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){for(var c=[],u=0;u<this._sections.length;u++)for(var p=0;p<this._sections[u].consumer.sources.length;p++)c.push(this._sections[u].consumer.sources[p]);return c}}),s.prototype.originalPositionFor=function(u){var p={generatedLine:e.getArg(u,"line"),generatedColumn:e.getArg(u,"column")},d=t.search(p,this._sections,function(m,b){var v=m.generatedLine-b.generatedOffset.generatedLine;return v||m.generatedColumn-b.generatedOffset.generatedColumn}),h=this._sections[d];return h?h.consumer.originalPositionFor({line:p.generatedLine-(h.generatedOffset.generatedLine-1),column:p.generatedColumn-(h.generatedOffset.generatedLine===p.generatedLine?h.generatedOffset.generatedColumn-1:0),bias:u.bias}):{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(u){return u.consumer.hasContentsOfAllSources()})},s.prototype.sourceContentFor=function(u,p){for(var d=0;d<this._sections.length;d++){var h=this._sections[d],m=h.consumer.sourceContentFor(u,!0);if(m)return m}if(p)return null;throw new Error('"'+u+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(u){for(var p=0;p<this._sections.length;p++){var d=this._sections[p];if(d.consumer._findSourceIndex(e.getArg(u,"source"))!==-1){var h=d.consumer.generatedPositionFor(u);if(h){var m={line:h.line+(d.generatedOffset.generatedLine-1),column:h.column+(d.generatedOffset.generatedLine===h.line?d.generatedOffset.generatedColumn-1:0)};return m}}}return{line:null,column:null}},s.prototype._parseMappings=function(u,p){this.__generatedMappings=[],this.__originalMappings=[];for(var d=0;d<this._sections.length;d++)for(var h=this._sections[d],m=h.consumer._generatedMappings,b=0;b<m.length;b++){var v=m[b],k=h.consumer._sources.at(v.source);k=e.computeSourceURL(h.consumer.sourceRoot,k,this._sourceMapURL),this._sources.add(k),k=this._sources.indexOf(k);var S=null;v.name&&(S=h.consumer._names.at(v.name),this._names.add(S),S=this._names.indexOf(S));var $={source:k,generatedLine:v.generatedLine+(h.generatedOffset.generatedLine-1),generatedColumn:v.generatedColumn+(h.generatedOffset.generatedLine===v.generatedLine?h.generatedOffset.generatedColumn-1:0),originalLine:v.originalLine,originalColumn:v.originalColumn,name:S};this.__generatedMappings.push($),typeof $.originalLine=="number"&&this.__originalMappings.push($)}a(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),a(this.__originalMappings,e.compareByOriginalPositions)},Jt.IndexedSourceMapConsumer=s,Jt}var Oo={},pi;function n2(){if(pi)return Oo;pi=1;var e=Dl().SourceMapGenerator,t=mn(),n=/(\r?\n)/,o=10,a="$$$isSourceNode$$$";function i(r,l,s,c,u){this.children=[],this.sourceContents={},this.line=r??null,this.column=l??null,this.source=s??null,this.name=u??null,this[a]=!0,c!=null&&this.add(c)}return i.fromStringWithSourceMap=function(l,s,c){var u=new i,p=l.split(n),d=0,h=function(){var S=w(),$=w()||"";return S+$;function w(){return d<p.length?p[d++]:void 0}},m=1,b=0,v=null;return s.eachMapping(function(S){if(v!==null)if(m<S.generatedLine)k(v,h()),m++,b=0;else{var $=p[d]||"",w=$.substr(0,S.generatedColumn-b);p[d]=$.substr(S.generatedColumn-b),b=S.generatedColumn,k(v,w),v=S;return}for(;m<S.generatedLine;)u.add(h()),m++;if(b<S.generatedColumn){var $=p[d]||"";u.add($.substr(0,S.generatedColumn)),p[d]=$.substr(S.generatedColumn),b=S.generatedColumn}v=S},this),d<p.length&&(v&&k(v,h()),u.add(p.splice(d).join(""))),s.sources.forEach(function(S){var $=s.sourceContentFor(S);$!=null&&(c!=null&&(S=t.join(c,S)),u.setSourceContent(S,$))}),u;function k(S,$){if(S===null||S.source===void 0)u.add($);else{var w=c?t.join(c,S.source):S.source;u.add(new i(S.originalLine,S.originalColumn,w,$,S.name))}}},i.prototype.add=function(l){if(Array.isArray(l))l.forEach(function(s){this.add(s)},this);else if(l[a]||typeof l=="string")l&&this.children.push(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.prepend=function(l){if(Array.isArray(l))for(var s=l.length-1;s>=0;s--)this.prepend(l[s]);else if(l[a]||typeof l=="string")this.children.unshift(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},i.prototype.walk=function(l){for(var s,c=0,u=this.children.length;c<u;c++)s=this.children[c],s[a]?s.walk(l):s!==""&&l(s,{source:this.source,line:this.line,column:this.column,name:this.name})},i.prototype.join=function(l){var s,c,u=this.children.length;if(u>0){for(s=[],c=0;c<u-1;c++)s.push(this.children[c]),s.push(l);s.push(this.children[c]),this.children=s}return this},i.prototype.replaceRight=function(l,s){var c=this.children[this.children.length-1];return c[a]?c.replaceRight(l,s):typeof c=="string"?this.children[this.children.length-1]=c.replace(l,s):this.children.push("".replace(l,s)),this},i.prototype.setSourceContent=function(l,s){this.sourceContents[t.toSetString(l)]=s},i.prototype.walkSourceContents=function(l){for(var s=0,c=this.children.length;s<c;s++)this.children[s][a]&&this.children[s].walkSourceContents(l);for(var u=Object.keys(this.sourceContents),s=0,c=u.length;s<c;s++)l(t.fromSetString(u[s]),this.sourceContents[u[s]])},i.prototype.toString=function(){var l="";return this.walk(function(s){l+=s}),l},i.prototype.toStringWithSourceMap=function(l){var s={code:"",line:1,column:0},c=new e(l),u=!1,p=null,d=null,h=null,m=null;return this.walk(function(b,v){s.code+=b,v.source!==null&&v.line!==null&&v.column!==null?((p!==v.source||d!==v.line||h!==v.column||m!==v.name)&&c.addMapping({source:v.source,original:{line:v.line,column:v.column},generated:{line:s.line,column:s.column},name:v.name}),p=v.source,d=v.line,h=v.column,m=v.name,u=!0):u&&(c.addMapping({generated:{line:s.line,column:s.column}}),p=null,u=!1);for(var k=0,S=b.length;k<S;k++)b.charCodeAt(k)===o?(s.line++,s.column=0,k+1===S?(p=null,u=!1):u&&c.addMapping({source:v.source,original:{line:v.line,column:v.column},generated:{line:s.line,column:s.column},name:v.name})):s.column++}),this.walkSourceContents(function(b,v){c.setSourceContent(b,v)}),{code:s.code,map:c}},Oo.SourceNode=i,Oo}var mi;function o2(){return mi||(mi=1,Kt.SourceMapGenerator=Dl().SourceMapGenerator,Kt.SourceMapConsumer=t2().SourceMapConsumer,Kt.SourceNode=n2().SourceNode),Kt}(function(e,t){t.__esModule=!0;var n=ue,o=void 0;try{var a=o2();o=a.SourceNode}catch{}o||(o=function(l,s,c,u){this.src="",u&&this.add(u)},o.prototype={add:function(s){n.isArray(s)&&(s=s.join("")),this.src+=s},prepend:function(s){n.isArray(s)&&(s=s.join("")),this.src=s+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function i(l,s,c){if(n.isArray(l)){for(var u=[],p=0,d=l.length;p<d;p++)u.push(s.wrap(l[p],c));return u}else if(typeof l=="boolean"||typeof l=="number")return l+"";return l}function r(l){this.srcFile=l,this.source=[]}r.prototype={isEmpty:function(){return!this.source.length},prepend:function(s,c){this.source.unshift(this.wrap(s,c))},push:function(s,c){this.source.push(this.wrap(s,c))},merge:function(){var s=this.empty();return this.each(function(c){s.add([" ",c,`
|
|
457
|
+
`])}),s},each:function(s){for(var c=0,u=this.source.length;c<u;c++)s(this.source[c])},empty:function(){var s=this.currentLocation||{start:{}};return new o(s.start.line,s.start.column,this.srcFile)},wrap:function(s){var c=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return s instanceof o?s:(s=i(s,this,c),new o(c.start.line,c.start.column,this.srcFile,s))},functionCall:function(s,c,u){return u=this.generateList(u),this.wrap([s,c?"."+c+"(":"(",u,")"])},quotedString:function(s){return'"'+(s+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(s){var c=this,u=[];Object.keys(s).forEach(function(d){var h=i(s[d],c);h!=="undefined"&&u.push([c.quotedString(d),":",h])});var p=this.generateList(u);return p.prepend("{"),p.add("}"),p},generateList:function(s){for(var c=this.empty(),u=0,p=s.length;u<p;u++)u&&c.add(","),c.add(i(s[u],this));return c},generateArray:function(s){var c=this.generateList(s);return c.prepend("["),c.add("]"),c}},t.default=r,e.exports=t.default})(xa,xa.exports);var a2=xa.exports;(function(e,t){t.__esModule=!0;function n(d){return d&&d.__esModule?d:{default:d}}var o=Be,a=De,i=n(a),r=ue,l=a2,s=n(l);function c(d){this.value=d}function u(){}u.prototype={nameLookup:function(h,m){return this.internalNameLookup(h,m)},depthedLookup:function(h){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(h),")"]},compilerInfo:function(){var h=o.COMPILER_REVISION,m=o.REVISION_CHANGES[h];return[h,m]},appendToBuffer:function(h,m,b){return r.isArray(h)||(h=[h]),h=this.source.wrap(h,m),this.environment.isSimple?["return ",h,";"]:b?["buffer += ",h,";"]:(h.appendToBuffer=!0,h)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(h,m){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",h,",",JSON.stringify(m),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(h,m,b,v){this.environment=h,this.options=m,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!v,this.name=this.environment.name,this.isChild=!!b,this.context=b||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(h,m),this.useDepths=this.useDepths||h.useDepths||h.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||h.useBlockParams;var k=h.opcodes,S=void 0,$=void 0,w=void 0,_=void 0;for(w=0,_=k.length;w<_;w++)S=k[w],this.source.currentLocation=S.loc,$=$||S.loc,this[S.opcode].apply(this,S.args);if(this.source.currentLocation=$,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new i.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
|
|
458
458
|
`]),this.decorators.push("return fn;"),v?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
|
|
459
459
|
`),this.decorators.push(`}
|
|
460
460
|
`),this.decorators=this.decorators.merge()));var N=this.createFunctionContext(v);if(this.isChild)return N;var A={compiler:this.compilerInfo(),main:N};this.decorators&&(A.main_d=this.decorators,A.useDecorators=!0);var y=this.context,R=y.programs,M=y.decorators;for(w=0,_=R.length;w<_;w++)A[w]=R[w],M[w]&&(A[w+"_d"]=M[w],A.useDecorators=!0);return this.environment.usePartial&&(A.usePartial=!0),this.options.data&&(A.useData=!0),this.useDepths&&(A.useDepths=!0),this.useBlockParams&&(A.useBlockParams=!0),this.options.compat&&(A.compat=!0),v?A.compilerOptions=this.options:(A.compiler=JSON.stringify(A.compiler),this.source.currentLocation={start:{line:1,column:0}},A=this.objectLiteral(A),m.srcName?(A=A.toStringWithSourceMap({file:m.destName}),A.map=A.map&&A.map.toString()):A=A.toString()),A},preamble:function(){this.lastContext=0,this.source=new s.default(this.options.srcName),this.decorators=new s.default(this.options.srcName)},createFunctionContext:function(h){var m=this,b="",v=this.stackVars.concat(this.registers.list);v.length>0&&(b+=", "+v.join(", "));var k=0;Object.keys(this.aliases).forEach(function(w){var _=m.aliases[w];_.children&&_.referenceCount>1&&(b+=", alias"+ ++k+"="+w,_.children[0]="alias"+k)}),this.lookupPropertyFunctionIsUsed&&(b+=", "+this.lookupPropertyFunctionVarDeclaration());var S=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&S.push("blockParams"),this.useDepths&&S.push("depths");var $=this.mergeSource(b);return h?(S.push($),Function.apply(this,S)):this.source.wrap(["function(",S.join(","),`) {
|
|
@@ -466,10 +466,10 @@ Expecting `+T.join(", ")+", got '"+(this.terminals_[$]||$)+"'":L="Parse error on
|
|
|
466
466
|
}
|
|
467
467
|
return undefined
|
|
468
468
|
}
|
|
469
|
-
`.trim()},blockValue:function(h){var m=this.aliasable("container.hooks.blockHelperMissing"),b=[this.contextName(0)];this.setupHelperArgs(h,0,b);var v=this.popStack();b.splice(1,0,v),this.push(this.source.functionCall(m,"call",b))},ambiguousBlockValue:function(){var h=this.aliasable("container.hooks.blockHelperMissing"),m=[this.contextName(0)];this.setupHelperArgs("",0,m,!0),this.flushInline();var b=this.topStack();m.splice(1,0,b),this.pushSource(["if (!",this.lastHelper,") { ",b," = ",this.source.functionCall(h,"call",m),"}"])},appendContent:function(h){this.pendingContent?h=this.pendingContent+h:this.pendingLocation=this.source.currentLocation,this.pendingContent=h},append:function(){if(this.isInline())this.replaceStack(function(m){return[" != null ? ",m,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var h=this.popStack();this.pushSource(["if (",h," != null) { ",this.appendToBuffer(h,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(h){this.lastContext=h},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(h,m,b,v){var k=0;!v&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(h[k++])):this.pushContext(),this.resolvePath("context",h,k,m,b)},lookupBlockParam:function(h,m){this.useBlockParams=!0,this.push(["blockParams[",h[0],"][",h[1],"]"]),this.resolvePath("context",m,1)},lookupData:function(h,m,b){h?this.pushStackLiteral("container.data(data, "+h+")"):this.pushStackLiteral("data"),this.resolvePath("data",m,0,!0,b)},resolvePath:function(h,m,b,v,k){var S=this;if(this.options.strict||this.options.assumeObjects){this.push(p(this.options.strict&&k,this,m,b,h));return}for(var $=m.length,w=function(N){S.replaceStack(function(A){var y=S.nameLookup(A,m[N],h);return v?[" && ",y]:[" != null ? ",y," : ",A]})},_=b;_<$;_++)w(_)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(h,m){this.pushContext(),this.pushString(m),m!=="SubExpression"&&(typeof h=="string"?this.pushString(h):this.pushStackLiteral(h))},emptyHash:function(h){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(h?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var h=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(h.ids)),this.stringParams&&(this.push(this.objectLiteral(h.contexts)),this.push(this.objectLiteral(h.types))),this.push(this.objectLiteral(h.values))},pushString:function(h){this.pushStackLiteral(this.quotedString(h))},pushLiteral:function(h){this.pushStackLiteral(h)},pushProgram:function(h){h!=null?this.pushStackLiteral(this.programExpression(h)):this.pushStackLiteral(null)},registerDecorator:function(h,m){var b=this.nameLookup("decorators",m,"decorator"),v=this.setupHelperArgs(m,h);this.decorators.push(["var decorator = ",b,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+m+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",v])," || fn;"])},invokeHelper:function(h,m,b){var v=this.popStack(),k=this.setupHelper(h,m),S=[];b&&S.push(k.name),S.push(v),this.options.strict||S.push(this.aliasable("container.hooks.helperMissing"));var $=["(",this.itemsSeparatedBy(S,"||"),")"],w=this.source.functionCall($,"call",k.callParams);this.push(w)},itemsSeparatedBy:function(h,m){var b=[];b.push(h[0]);for(var v=1;v<h.length;v++)b.push(m,h[v]);return b},invokeKnownHelper:function(h,m){var b=this.setupHelper(h,m);this.push(this.source.functionCall(b.name,"call",b.callParams))},invokeAmbiguous:function(h,m){this.useRegister("helper");var b=this.popStack();this.emptyHash();var v=this.setupHelper(0,h,m),k=this.lastHelper=this.nameLookup("helpers",h,"helper"),S=["(","(helper = ",k," || ",b,")"];this.options.strict||(S[0]="(helper = ",S.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",S,v.paramsInit?["),(",v.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",v.callParams)," : helper))"])},invokePartial:function(h,m,b){var v=[],k=this.setupParams(m,1,v);h&&(m=this.popStack(),delete k.name),b&&(k.indent=JSON.stringify(b)),k.helpers="helpers",k.partials="partials",k.decorators="container.decorators",h?v.unshift(m):v.unshift(this.nameLookup("partials",m,"partial")),this.options.compat&&(k.depths="depths"),k=this.objectLiteral(k),v.push(k),this.push(this.source.functionCall("container.invokePartial","",v))},assignToHash:function(h){var m=this.popStack(),b=void 0,v=void 0,k=void 0;this.trackIds&&(k=this.popStack()),this.stringParams&&(v=this.popStack(),b=this.popStack());var S=this.hash;b&&(S.contexts[h]=b),v&&(S.types[h]=v),k&&(S.ids[h]=k),S.values[h]=m},pushId:function(h,m,b){h==="BlockParam"?this.pushStackLiteral("blockParams["+m[0]+"].path["+m[1]+"]"+(b?" + "+JSON.stringify("."+b):"")):h==="PathExpression"?this.pushString(m):h==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:u,compileChildren:function(h,m){for(var b=h.children,v=void 0,k=void 0,S=0,$=b.length;S<$;S++){v=b[S],k=new this.compiler;var w=this.matchExistingProgram(v);if(w==null){var _=this.context.programs.push("")-1;v.index=_,v.name="program"+_,this.context.programs[_]=k.compile(v,m,this.context,!this.precompile),this.context.decorators[_]=k.decorators,this.context.environments[_]=v,this.useDepths=this.useDepths||k.useDepths,this.useBlockParams=this.useBlockParams||k.useBlockParams,v.useDepths=this.useDepths,v.useBlockParams=this.useBlockParams}else v.index=w.index,v.name="program"+w.index,this.useDepths=this.useDepths||w.useDepths,this.useBlockParams=this.useBlockParams||w.useBlockParams}},matchExistingProgram:function(h){for(var m=0,b=this.context.environments.length;m<b;m++){var v=this.context.environments[m];if(v&&v.equals(h))return v}},programExpression:function(h){var m=this.environment.children[h],b=[m.index,"data",m.blockParams];return(this.useBlockParams||this.useDepths)&&b.push("blockParams"),this.useDepths&&b.push("depths"),"container.program("+b.join(", ")+")"},useRegister:function(h){this.registers[h]||(this.registers[h]=!0,this.registers.list.push(h))},push:function(h){return h instanceof c||(h=this.source.wrap(h)),this.inlineStack.push(h),h},pushStackLiteral:function(h){this.push(new c(h))},pushSource:function(h){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),h&&this.source.push(h)},replaceStack:function(h){var m=["("],b=void 0,v=void 0,k=void 0;if(!this.isInline())throw new i.default("replaceStack on non-inline");var S=this.popStack(!0);if(S instanceof c)b=[S.value],m=["(",b],k=!0;else{v=!0;var $=this.incrStack();m=["((",this.push($)," = ",S,")"],b=this.topStack()}var w=h.call(this,b);k||this.popStack(),v&&this.stackSlot--,this.push(m.concat(w,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var h=this.inlineStack;this.inlineStack=[];for(var m=0,b=h.length;m<b;m++){var v=h[m];if(v instanceof c)this.compileStack.push(v);else{var k=this.incrStack();this.pushSource([k," = ",v,";"]),this.compileStack.push(k)}}},isInline:function(){return this.inlineStack.length},popStack:function(h){var m=this.isInline(),b=(m?this.inlineStack:this.compileStack).pop();if(!h&&b instanceof c)return b.value;if(!m){if(!this.stackSlot)throw new i.default("Invalid stack pop");this.stackSlot--}return b},topStack:function(){var h=this.isInline()?this.inlineStack:this.compileStack,m=h[h.length-1];return m instanceof c?m.value:m},contextName:function(h){return this.useDepths&&h?"depths["+h+"]":"depth"+h},quotedString:function(h){return this.source.quotedString(h)},objectLiteral:function(h){return this.source.objectLiteral(h)},aliasable:function(h){var m=this.aliases[h];return m?(m.referenceCount++,m):(m=this.aliases[h]=this.source.wrap(h),m.aliasable=!0,m.referenceCount=1,m)},setupHelper:function(h,m,b){var v=[],k=this.setupHelperArgs(m,h,v,b),S=this.nameLookup("helpers",m,"helper"),$=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:v,paramsInit:k,name:S,callParams:[$].concat(v)}},setupParams:function(h,m,b){var v={},k=[],S=[],$=[],w=!b,_=void 0;w&&(b=[]),v.name=this.quotedString(h),v.hash=this.popStack(),this.trackIds&&(v.hashIds=this.popStack()),this.stringParams&&(v.hashTypes=this.popStack(),v.hashContexts=this.popStack());var N=this.popStack(),A=this.popStack();(A||N)&&(v.fn=A||"container.noop",v.inverse=N||"container.noop");for(var y=m;y--;)_=this.popStack(),b[y]=_,this.trackIds&&($[y]=this.popStack()),this.stringParams&&(S[y]=this.popStack(),k[y]=this.popStack());return w&&(v.args=this.source.generateArray(b)),this.trackIds&&(v.ids=this.source.generateArray($)),this.stringParams&&(v.types=this.source.generateArray(S),v.contexts=this.source.generateArray(k)),this.options.data&&(v.data="data"),this.useBlockParams&&(v.blockParams="blockParams"),v},setupHelperArgs:function(h,m,b,v){var k=this.setupParams(h,m,b);return k.loc=JSON.stringify(this.source.currentLocation),k=this.objectLiteral(k),v?(this.useRegister("options"),b.push("options"),["options=",k]):b?(b.push(k),""):k}},function(){for(var d="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),h=u.RESERVED_WORDS={},m=0,b=d.length;m<b;m++)h[d[m]]=!0}(),u.isValidJavaScriptVariableName=function(d){return!u.RESERVED_WORDS[d]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(d)};function p(d,h,m,b,v){var k=h.popStack(),S=m.length;d&&S--;for(var $=b;$<S;$++)k=h.nameLookup(k,m[$],v);return d?[h.aliasable("container.strict"),"(",k,", ",h.quotedString(m[S]),", ",JSON.stringify(h.source.currentLocation)," )"]:k}t.default=u,e.exports=t.default})(va,va.exports);var o2=va.exports;(function(e,t){t.__esModule=!0;function n(S){return S&&S.__esModule?S:{default:S}}var o=vS,a=n(o),i=Tl,r=n(i),l=fn,s=pn,c=o2,u=n(c),p=Pl,d=n(p),h=Ml,m=n(h),b=a.default.create;function v(){var S=b();return S.compile=function($,w){return s.compile($,w,S)},S.precompile=function($,w){return s.precompile($,w,S)},S.AST=r.default,S.Compiler=s.Compiler,S.JavaScriptCompiler=u.default,S.Parser=l.parser,S.parse=l.parse,S.parseWithoutProcessing=l.parseWithoutProcessing,S}var k=v();k.create=v,m.default(k),k.Visitor=d.default,k.default=k,t.default=k,e.exports=t.default})(Yo,Yo.exports);var a2=Yo.exports;const r2=o1(a2);function i2(e,t){const n=[],o=new Set,a=i=>{var l,s,c,u,p,d,h,m,b,v;if(o.has(i)||!e[i])return;o.add(i),n.push(i);const r=e[i];switch(r.type){case"Container":case"ButtonGroup":(((l=r.data.props)==null?void 0:l.childrenIds)||[]).forEach(a);break;case"ColumnsContainer":case"FlexColumns":(((s=r.data.props)==null?void 0:s.columns)||[]).forEach(k=>(k.childrenIds||[]).forEach(a));break;case"Grid":(((c=r.data.props)==null?void 0:c.cells)||[]).forEach(k=>(k.childrenIds||[]).forEach(a));break;case"Accordion":(((u=r.data.props)==null?void 0:u.items)||[]).forEach(k=>{(k.titleChildrenIds||[]).forEach(a),(k.contentChildrenIds||[]).forEach(a)});break;case"TabsBlock":case"Carousel":case"Marquee":(((p=r.data.props)==null?void 0:p.items)||[]).forEach(k=>{(k.contentChildrenIds||[]).forEach(a)});break;case"Pagination":(((d=r.data.props)==null?void 0:d.cells)||[]).forEach(k=>(k.childrenIds||[]).forEach(a)),(((h=r.data.props)==null?void 0:h.items)||[]).forEach(k=>{(k.contentChildrenIds||[]).forEach(a)});break;case"PricingAccordion":(((m=r.data.props)==null?void 0:m.items)||[]).forEach(k=>{(k.cardChildrenIds||[]).forEach(a),(k.detailChildrenIds||[]).forEach(a)});break;case"MenuPicker":(((b=r.data.props)==null?void 0:b.startChildrenIds)||[]).forEach(a),(((v=r.data.props)==null?void 0:v.endChildrenIds)||[]).forEach(a);break;case"EmailLayout":(r.data.childrenIds||[]).forEach(a);break}};return a(t),n}function Hl(e,t){const n=new Map;if(!e||!Array.isArray(t))return n;const o=e;for(const a of t){if((a==null?void 0:a.type)!=="array"||!a.sourceBlockId)continue;(Array.isArray(a.value)?a.value:[]).forEach((r,l)=>{var c;const s=l===0?a.sourceBlockId:(c=a.rowIds)==null?void 0:c[l-1];if(!(!s||!o[s]))for(const u of i2(o,s))n.set(u,r||{})})}return n}const l2={Text:["text"],Heading:["text"],Button:["text","url"],Image:["url"],Avatar:["imageUrl"],Logo:["url"],Rating:["value","max"],Progress:["value","max"],Container:["linkHref"]};function s2(e){return e?l2[e]:void 0}const Sa=r2.create();Sa.registerHelper("helperMissing",function(...e){const t=e[e.length-1];return new Sa.SafeString(`{{${t.name}}}`)});const gi=new Map;function c2(e){let t=gi.get(e);return t||(t=Sa.compile(e,{noEscape:!0,strict:!1}),gi.set(e,t)),t}function Fl(e){const t={};for(const n of e)if(!(!n||!n.id)){if(n.type==="array"){if(!Array.isArray(n.value)||n.value.length===0)continue;const o=n.value.map(a=>{const i={};if(a&&typeof a=="object")for(const r of Object.keys(a)){const l=a[r];l!=null&&l!==""&&(i[r]=l)}return i});Object.defineProperty(o,"toString",{value:()=>`{{${n.id}}}`,enumerable:!1}),t[n.id]=o;continue}typeof n.value!="string"||n.value===""||(t[n.id]=n.value)}return t}function Gl(e){var n,o;const t=(o=(n=e==null?void 0:e.root)==null?void 0:n.data)==null?void 0:o.formFields;return Array.isArray(t)?t:[]}const u2=/\{\{\s*#each\s+([\w.[\]]+)\s*\}\}([\s\S]*?)\{\{\s*\/each\s*\}\}/g;function d2(e,t){const n=new Map;if(e.indexOf("#each")===-1)return{masked:e,restore:n};let o=0;return{masked:e.replace(u2,(i,r)=>{const l=t[r];if(Array.isArray(l)&&l.length>0)return i;const c="HB_EACH_"+o+++"_";return n.set(c,i),c}),restore:n}}const Ul=/\{\{\s*this\.([\w]+)\s*\}\}/g;function h2(e,t){return e.replace(Ul,(n,o)=>{const a=t==null?void 0:t[o];return a!=null&&a!==""?String(a):n})}function Lo(e,t,n){if(!e)return e??"";if(e.indexOf("{{")===-1)return e;let o=e;if(n&&(o=h2(o,n),o.indexOf("{{")===-1)||!t||t.length===0)return o;try{const a=t&&t.length>0?Fl(t):{},{masked:i,restore:r}=d2(o,a),l=new Map;let s=i;if(i.indexOf("{{")!==-1&&i.indexOf("#each")===-1){let u=0;s=i.replace(Ul,p=>{const d="HB_THIS_"+u+++"_";return l.set(d,p),d})}let c=c2(s)(a);for(const[u,p]of l)c=c.split(u).join(p);if(r.size>0)for(const[u,p]of r)c=c.split(u).join(p);return c}catch{return o}}function Zl(e,t,n){var r,l,s,c,u;if(!e||(!t||t.length===0)&&!n)return e;if(e.type==="List"){const p=(l=(r=e.data)==null?void 0:r.props)==null?void 0:l.items;if(!Array.isArray(p)||p.length===0)return e;let d=null;return p.forEach((h,m)=>{const b=h==null?void 0:h.text;if(typeof b!="string"||b.indexOf("{{")===-1)return;const v=Lo(b,t,n);v!==b&&(d||(d=p.map(k=>({...k}))),d[m]={...d[m],text:v})}),d?{...e,data:{...e.data,props:{...e.data.props,items:d}}}:e}if(e.type==="Breadcrumb"){const p=(c=(s=e.data)==null?void 0:s.props)==null?void 0:c.items;if(!Array.isArray(p)||p.length===0)return e;let d=null;return p.forEach((h,m)=>{for(const b of["label","href"]){const v=h==null?void 0:h[b];if(typeof v!="string"||v.indexOf("{{")===-1)continue;const k=Lo(v,t,n);k!==v&&(d||(d=p.map(S=>({...S}))),d[m]={...d[m],[b]:k})}}),d?{...e,data:{...e.data,props:{...e.data.props,items:d}}}:e}const o=s2(e.type);if(!o)return e;const a=(u=e.data)==null?void 0:u.props;if(!a)return e;let i=null;for(const p of o){const d=a[p];if(typeof d!="string"||d.indexOf("{{")===-1)continue;const h=Lo(d,t,n);h!==d&&(i||(i={...a}),i[p]=h)}return i?{...e,data:{...e.data,props:i}}:e}function Wl(e,t){var l;if(!e)return e;const n=t??Gl(e);let o={...e},a=!1;const i=Hl(e,n);if(n&&n.length>0&&(Object.keys(Fl(n)).length>0||i.size>0))for(const s of Object.keys(o)){const c=o[s],u=Zl(c,n,i.get(s));u!==c&&(o[s]=u,a=!0)}const r=o.root;if(((l=r==null?void 0:r.data)==null?void 0:l.formFields)!==void 0){const{formFields:s,...c}=r.data;o.root={...r,data:c},a=!0}return a?o:e}const bi=Object.fromEntries(Xe.map(e=>[e.key,e.value]));function Gn(e){return!!e&&typeof e=="object"&&"top"in e&&"left"in e}function f2(e){return e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")}function p2(e){const t=e.borderColor??null;if(!t)return"";if(t==="transparent")return"border:none!important";const n=Gn(e.borderWidth)?e.borderWidth:null;return f2(t)?"":[`border-top:${(n==null?void 0:n.top)??0}px solid ${t}!important`,`border-right:${(n==null?void 0:n.right)??0}px solid ${t}!important`,`border-bottom:${(n==null?void 0:n.bottom)??0}px solid ${t}!important`,`border-left:${(n==null?void 0:n.left)??0}px solid ${t}!important`].join(";")}function m2(e){const t=[];if(e.borderColor!==void 0||e.borderWidth!==void 0){const o=p2(e);o&&t.push(o)}const n=e.backgroundSize==="none";n&&t.push("background-image:none!important");for(const o of Object.keys(e)){const a=e[o];if(a!=null)switch(o){case"borderColor":case"borderWidth":break;case"fontSize":t.push(`font-size:${a}px!important`);break;case"fontFamily":bi[a]&&t.push(`font-family:${bi[a]}!important`);break;case"fontWeight":t.push(`font-weight:${a}!important`);break;case"fontStyle":t.push(`font-style:${a}!important`);break;case"textDecoration":t.push(`text-decoration:${a}!important`);break;case"lineHeight":t.push(`line-height:${a}!important`);break;case"textAlign":t.push(`text-align:${a}!important`);break;case"buttonTextAlign":t.push(`justify-content:${a==="center"?"center":a==="right"?"flex-end":"flex-start"}!important`);break;case"padding":case"margin":Gn(a)&&t.push(`${o}:${a.top}px ${a.right}px ${a.bottom}px ${a.left}px!important`);break;case"marginBottom":t.push(`margin-bottom:${a}px!important`);break;case"width":t.push(`width:${typeof a=="number"?`${a}px`:a}!important`);break;case"height":t.push(`height:${typeof a=="number"?`${a}px`:a}!important`);break;case"backgroundImage":t.push(a&&!n?`background-image:url("${String(a).replace(/"/g,'\\"')}")!important`:"background-image:none!important");break;case"backgroundSize":n||t.push(`background-size:${a}!important`);break;case"backgroundRepeat":t.push(`background-repeat:${a}!important`);break;case"activeFontSize":t.push(`--ahd-tabs-active-font-size:${typeof a=="number"?`${a}px`:a}`);break;case"showActiveBorder":t.push(`--ahd-tabs-active-border-color:${a?"currentColor":"transparent"}`);break;case"tabGap":t.push(`--ahd-tabs-tab-gap:${a}px`);break;case"contentGap":t.push(`--ahd-tabs-content-gap:${a}px`);break;case"navWidth":t.push(`--ahd-tabs-nav-width:${a}px`);break;case"starSize":t.push(`--ahd-rating-star-size:${a}px`);break;case"starGap":t.push(`--ahd-rating-star-gap:${a}px`);break;case"arrowSize":t.push(`--ahd-carousel-arrow-size:${a}px`),t.push(`--ahd-carousel-chevron-size:${Math.max(12,Math.min(40,Math.round(Number(a)*.5)))}px`);break;case"dotSize":t.push(`--ahd-carousel-dot-size:${a}px`);break;case"slideGap":t.push(`--ahd-carousel-slide-gap:${a}px`);break;case"buttonSize":t.push(`--ahd-pgn-btn-size:${a}px`);break;case"buttonGap":t.push(`--ahd-pgn-btn-gap:${a}px`);break;case"buttonRadius":t.push(`--ahd-pgn-btn-radius:${a}px`);break;case"controlGap":t.push(`--ahd-pgn-control-gap:${a}px`);break;case"borderRadius":if(typeof a=="number")t.push(`border-radius:${a}px!important`);else if(a&&typeof a=="object"){const{topLeft:i=0,topRight:r=0,bottomRight:l=0,bottomLeft:s=0}=a;t.push(`border-radius:${i}px ${r}px ${l}px ${s}px!important`)}else t.push(`border-radius:${a}!important`);break}}return t.join(";")}function g2(e){const t=[];for(const n of Object.keys(e)){const o=e[n];if(o!=null)switch(n){case"lineHeight":t.push(`--ahd-divider-thickness:${o}px!important`);break;case"height":{const a=typeof o=="number"?`${o}px`:o;t.push(`height:${a}!important`),t.push(`--ahd-iframe-height:${a}`),t.push(`--ahd-calendly-height:${a}`),t.push(`--ahd-demo-height:${a}`);break}case"width":{const a=typeof o=="number"?`${o}px`:o;t.push(`--ahd-iframe-width:${a}`),t.push(`--ahd-calendly-width:${a}`),t.push(`--ahd-demo-width:${a}`);break}case"blockPadding":Gn(o)&&t.push(`padding:${o.top}px ${o.right}px ${o.bottom}px ${o.left}px!important`);break;case"blockMargin":Gn(o)&&t.push(`margin:${o.top}px ${o.right}px ${o.bottom}px ${o.left}px!important`);break}}return t.join(";")}function vi(e,t){if(!t)return null;const n=e??{},o={};for(const a of Object.keys(t)){const i=t[a],r=n[a],l=!!i&&typeof i=="object"&&!Array.isArray(i)&&!!r&&typeof r=="object"&&!Array.isArray(r);o[a]=l?{...r,...i}:i}return o}function b2(e,t,n,o){if(!t)return"";const a=`#${e}`,i=x2(a),r=[],l=(c,u)=>{const p=vi(n,u==null?void 0:u.style),d=vi(o,u==null?void 0:u.props),h=[p?m2(p):"",d?g2(d):""].filter(Boolean).join(";"),m=[h?`${i}{${h}}`:"",u!=null&&u.hidden?`${a}{display:none}`:""].filter(Boolean).join("");m&&r.push(`${c}{${m}}`)};l(dn,t.tablet),l(`@media (max-width:${Ae}px)`,t.mobile);const s=w2(e,t,n,o);return s&&r.push(s),r.join("")}function v2(e,t){return t?e?{...e,...t}:t:e}function wa(e,t){return(t==null?void 0:t.blockMargin)??(e==null?void 0:e.margin)??(t==null?void 0:t.margin)??null}function xi(e,t,n){const o=wa(e,t),a=wa(n==null?void 0:n.style,n==null?void 0:n.props);return v2(o,a)}function zo(e){const t=((e==null?void 0:e.left)??0)+((e==null?void 0:e.right)??0);return t>0?`calc(100% - ${t}px)`:"100%"}function x2(e){return[`${e}>.text-block`,`${e}>.button-block`,`${e}>.button-group`,`${e}>.heading-block-wrapper`,`${e}>.heading-block-wrapper>.heading-block`,`${e}>.image-block`,`${e}>.logo-block`,`${e}>.avatar-block`,`${e}>.container-block`,`${e}>.flex-columns-block`,`${e}>.grid-block`,`${e}>.video-block`,`${e}>.youtube-url-block`,`${e}>.divider-block`,`${e}>.mdx-block`,`${e}>.quill-block`,`${e}>.html-block`,`${e}>.stepper-block`,`${e}>.list-block`,`${e}>.rating-block`,`${e}>.table-block`,`${e}>.table-block table`,`${e}>.spacer-block`,`${e}>.accordion-block`,`${e}>.columns-container`,`${e}>.ahd-carousel`,`${e}>.ahd-marquee`,`${e}>.ahd-pagination`,`${e}>.ahd-tabs`,`${e}>.calendly-block`,`${e}>.iframe-block`,`${e}>.demo-picker-block`,`${e}>.ahd-menu`].join(",")}function S2(e){return[`${e}>.text-block`,`${e}>.button-block`,`${e}>.button-group`,`${e}>.heading-block-wrapper`,`${e}>.heading-block-wrapper>.heading-block`,`${e}>.image-block`,`${e}>.logo-block`,`${e}>.avatar-block`,`${e}>.container-block`,`${e}>.flex-columns-block`,`${e}>.grid-block`,`${e}>.video-block`,`${e}>.youtube-url-block`,`${e}>.divider-block`,`${e}>.mdx-block`,`${e}>.quill-block`,`${e}>.html-block`,`${e}>.stepper-block`,`${e}>.list-block`,`${e}>.rating-block`,`${e}>.table-block`,`${e}>.table-block table`,`${e}>.spacer-block`,`${e}>.accordion-block`,`${e}>.columns-container`,`${e}>.ahd-carousel`,`${e}>.ahd-marquee`,`${e}>.ahd-pagination`,`${e}>.ahd-tabs`,`${e}>.calendly-block`,`${e}>.iframe-block`,`${e}>.demo-picker-block`,`${e}>.forms-picker-block`,`${e}>.ahd-timer`,`${e}>.ahd-menu`].join(",")}function w2(e,t,n,o){if(!t)return"";const a=`#${e}`,i=S2(a),r=wa(n,o),l=zo(r),s=zo(xi(n,o,t.tablet)),c=zo(xi(n,o,t.mobile));return s===l&&c===l?"":`
|
|
469
|
+
`.trim()},blockValue:function(h){var m=this.aliasable("container.hooks.blockHelperMissing"),b=[this.contextName(0)];this.setupHelperArgs(h,0,b);var v=this.popStack();b.splice(1,0,v),this.push(this.source.functionCall(m,"call",b))},ambiguousBlockValue:function(){var h=this.aliasable("container.hooks.blockHelperMissing"),m=[this.contextName(0)];this.setupHelperArgs("",0,m,!0),this.flushInline();var b=this.topStack();m.splice(1,0,b),this.pushSource(["if (!",this.lastHelper,") { ",b," = ",this.source.functionCall(h,"call",m),"}"])},appendContent:function(h){this.pendingContent?h=this.pendingContent+h:this.pendingLocation=this.source.currentLocation,this.pendingContent=h},append:function(){if(this.isInline())this.replaceStack(function(m){return[" != null ? ",m,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var h=this.popStack();this.pushSource(["if (",h," != null) { ",this.appendToBuffer(h,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(h){this.lastContext=h},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(h,m,b,v){var k=0;!v&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(h[k++])):this.pushContext(),this.resolvePath("context",h,k,m,b)},lookupBlockParam:function(h,m){this.useBlockParams=!0,this.push(["blockParams[",h[0],"][",h[1],"]"]),this.resolvePath("context",m,1)},lookupData:function(h,m,b){h?this.pushStackLiteral("container.data(data, "+h+")"):this.pushStackLiteral("data"),this.resolvePath("data",m,0,!0,b)},resolvePath:function(h,m,b,v,k){var S=this;if(this.options.strict||this.options.assumeObjects){this.push(p(this.options.strict&&k,this,m,b,h));return}for(var $=m.length,w=function(N){S.replaceStack(function(A){var y=S.nameLookup(A,m[N],h);return v?[" && ",y]:[" != null ? ",y," : ",A]})},_=b;_<$;_++)w(_)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(h,m){this.pushContext(),this.pushString(m),m!=="SubExpression"&&(typeof h=="string"?this.pushString(h):this.pushStackLiteral(h))},emptyHash:function(h){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(h?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var h=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(h.ids)),this.stringParams&&(this.push(this.objectLiteral(h.contexts)),this.push(this.objectLiteral(h.types))),this.push(this.objectLiteral(h.values))},pushString:function(h){this.pushStackLiteral(this.quotedString(h))},pushLiteral:function(h){this.pushStackLiteral(h)},pushProgram:function(h){h!=null?this.pushStackLiteral(this.programExpression(h)):this.pushStackLiteral(null)},registerDecorator:function(h,m){var b=this.nameLookup("decorators",m,"decorator"),v=this.setupHelperArgs(m,h);this.decorators.push(["var decorator = ",b,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+m+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",v])," || fn;"])},invokeHelper:function(h,m,b){var v=this.popStack(),k=this.setupHelper(h,m),S=[];b&&S.push(k.name),S.push(v),this.options.strict||S.push(this.aliasable("container.hooks.helperMissing"));var $=["(",this.itemsSeparatedBy(S,"||"),")"],w=this.source.functionCall($,"call",k.callParams);this.push(w)},itemsSeparatedBy:function(h,m){var b=[];b.push(h[0]);for(var v=1;v<h.length;v++)b.push(m,h[v]);return b},invokeKnownHelper:function(h,m){var b=this.setupHelper(h,m);this.push(this.source.functionCall(b.name,"call",b.callParams))},invokeAmbiguous:function(h,m){this.useRegister("helper");var b=this.popStack();this.emptyHash();var v=this.setupHelper(0,h,m),k=this.lastHelper=this.nameLookup("helpers",h,"helper"),S=["(","(helper = ",k," || ",b,")"];this.options.strict||(S[0]="(helper = ",S.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",S,v.paramsInit?["),(",v.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",v.callParams)," : helper))"])},invokePartial:function(h,m,b){var v=[],k=this.setupParams(m,1,v);h&&(m=this.popStack(),delete k.name),b&&(k.indent=JSON.stringify(b)),k.helpers="helpers",k.partials="partials",k.decorators="container.decorators",h?v.unshift(m):v.unshift(this.nameLookup("partials",m,"partial")),this.options.compat&&(k.depths="depths"),k=this.objectLiteral(k),v.push(k),this.push(this.source.functionCall("container.invokePartial","",v))},assignToHash:function(h){var m=this.popStack(),b=void 0,v=void 0,k=void 0;this.trackIds&&(k=this.popStack()),this.stringParams&&(v=this.popStack(),b=this.popStack());var S=this.hash;b&&(S.contexts[h]=b),v&&(S.types[h]=v),k&&(S.ids[h]=k),S.values[h]=m},pushId:function(h,m,b){h==="BlockParam"?this.pushStackLiteral("blockParams["+m[0]+"].path["+m[1]+"]"+(b?" + "+JSON.stringify("."+b):"")):h==="PathExpression"?this.pushString(m):h==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:u,compileChildren:function(h,m){for(var b=h.children,v=void 0,k=void 0,S=0,$=b.length;S<$;S++){v=b[S],k=new this.compiler;var w=this.matchExistingProgram(v);if(w==null){var _=this.context.programs.push("")-1;v.index=_,v.name="program"+_,this.context.programs[_]=k.compile(v,m,this.context,!this.precompile),this.context.decorators[_]=k.decorators,this.context.environments[_]=v,this.useDepths=this.useDepths||k.useDepths,this.useBlockParams=this.useBlockParams||k.useBlockParams,v.useDepths=this.useDepths,v.useBlockParams=this.useBlockParams}else v.index=w.index,v.name="program"+w.index,this.useDepths=this.useDepths||w.useDepths,this.useBlockParams=this.useBlockParams||w.useBlockParams}},matchExistingProgram:function(h){for(var m=0,b=this.context.environments.length;m<b;m++){var v=this.context.environments[m];if(v&&v.equals(h))return v}},programExpression:function(h){var m=this.environment.children[h],b=[m.index,"data",m.blockParams];return(this.useBlockParams||this.useDepths)&&b.push("blockParams"),this.useDepths&&b.push("depths"),"container.program("+b.join(", ")+")"},useRegister:function(h){this.registers[h]||(this.registers[h]=!0,this.registers.list.push(h))},push:function(h){return h instanceof c||(h=this.source.wrap(h)),this.inlineStack.push(h),h},pushStackLiteral:function(h){this.push(new c(h))},pushSource:function(h){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),h&&this.source.push(h)},replaceStack:function(h){var m=["("],b=void 0,v=void 0,k=void 0;if(!this.isInline())throw new i.default("replaceStack on non-inline");var S=this.popStack(!0);if(S instanceof c)b=[S.value],m=["(",b],k=!0;else{v=!0;var $=this.incrStack();m=["((",this.push($)," = ",S,")"],b=this.topStack()}var w=h.call(this,b);k||this.popStack(),v&&this.stackSlot--,this.push(m.concat(w,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var h=this.inlineStack;this.inlineStack=[];for(var m=0,b=h.length;m<b;m++){var v=h[m];if(v instanceof c)this.compileStack.push(v);else{var k=this.incrStack();this.pushSource([k," = ",v,";"]),this.compileStack.push(k)}}},isInline:function(){return this.inlineStack.length},popStack:function(h){var m=this.isInline(),b=(m?this.inlineStack:this.compileStack).pop();if(!h&&b instanceof c)return b.value;if(!m){if(!this.stackSlot)throw new i.default("Invalid stack pop");this.stackSlot--}return b},topStack:function(){var h=this.isInline()?this.inlineStack:this.compileStack,m=h[h.length-1];return m instanceof c?m.value:m},contextName:function(h){return this.useDepths&&h?"depths["+h+"]":"depth"+h},quotedString:function(h){return this.source.quotedString(h)},objectLiteral:function(h){return this.source.objectLiteral(h)},aliasable:function(h){var m=this.aliases[h];return m?(m.referenceCount++,m):(m=this.aliases[h]=this.source.wrap(h),m.aliasable=!0,m.referenceCount=1,m)},setupHelper:function(h,m,b){var v=[],k=this.setupHelperArgs(m,h,v,b),S=this.nameLookup("helpers",m,"helper"),$=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:v,paramsInit:k,name:S,callParams:[$].concat(v)}},setupParams:function(h,m,b){var v={},k=[],S=[],$=[],w=!b,_=void 0;w&&(b=[]),v.name=this.quotedString(h),v.hash=this.popStack(),this.trackIds&&(v.hashIds=this.popStack()),this.stringParams&&(v.hashTypes=this.popStack(),v.hashContexts=this.popStack());var N=this.popStack(),A=this.popStack();(A||N)&&(v.fn=A||"container.noop",v.inverse=N||"container.noop");for(var y=m;y--;)_=this.popStack(),b[y]=_,this.trackIds&&($[y]=this.popStack()),this.stringParams&&(S[y]=this.popStack(),k[y]=this.popStack());return w&&(v.args=this.source.generateArray(b)),this.trackIds&&(v.ids=this.source.generateArray($)),this.stringParams&&(v.types=this.source.generateArray(S),v.contexts=this.source.generateArray(k)),this.options.data&&(v.data="data"),this.useBlockParams&&(v.blockParams="blockParams"),v},setupHelperArgs:function(h,m,b,v){var k=this.setupParams(h,m,b);return k.loc=JSON.stringify(this.source.currentLocation),k=this.objectLiteral(k),v?(this.useRegister("options"),b.push("options"),["options=",k]):b?(b.push(k),""):k}},function(){for(var d="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),h=u.RESERVED_WORDS={},m=0,b=d.length;m<b;m++)h[d[m]]=!0}(),u.isValidJavaScriptVariableName=function(d){return!u.RESERVED_WORDS[d]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(d)};function p(d,h,m,b,v){var k=h.popStack(),S=m.length;d&&S--;for(var $=b;$<S;$++)k=h.nameLookup(k,m[$],v);return d?[h.aliasable("container.strict"),"(",k,", ",h.quotedString(m[S]),", ",JSON.stringify(h.source.currentLocation)," )"]:k}t.default=u,e.exports=t.default})(va,va.exports);var r2=va.exports;(function(e,t){t.__esModule=!0;function n(S){return S&&S.__esModule?S:{default:S}}var o=SS,a=n(o),i=Tl,r=n(i),l=fn,s=pn,c=r2,u=n(c),p=Pl,d=n(p),h=Ml,m=n(h),b=a.default.create;function v(){var S=b();return S.compile=function($,w){return s.compile($,w,S)},S.precompile=function($,w){return s.precompile($,w,S)},S.AST=r.default,S.Compiler=s.Compiler,S.JavaScriptCompiler=u.default,S.Parser=l.parser,S.parse=l.parse,S.parseWithoutProcessing=l.parseWithoutProcessing,S}var k=v();k.create=v,m.default(k),k.Visitor=d.default,k.default=k,t.default=k,e.exports=t.default})(Yo,Yo.exports);var i2=Yo.exports;const l2=r1(i2);function s2(e,t){const n=[],o=new Set,a=i=>{var l,s,c,u,p,d,h,m,b,v;if(o.has(i)||!e[i])return;o.add(i),n.push(i);const r=e[i];switch(r.type){case"Container":case"ButtonGroup":(((l=r.data.props)==null?void 0:l.childrenIds)||[]).forEach(a);break;case"ColumnsContainer":case"FlexColumns":(((s=r.data.props)==null?void 0:s.columns)||[]).forEach(k=>(k.childrenIds||[]).forEach(a));break;case"Grid":(((c=r.data.props)==null?void 0:c.cells)||[]).forEach(k=>(k.childrenIds||[]).forEach(a));break;case"Accordion":(((u=r.data.props)==null?void 0:u.items)||[]).forEach(k=>{(k.titleChildrenIds||[]).forEach(a),(k.contentChildrenIds||[]).forEach(a)});break;case"TabsBlock":case"Carousel":case"Marquee":(((p=r.data.props)==null?void 0:p.items)||[]).forEach(k=>{(k.contentChildrenIds||[]).forEach(a)});break;case"Pagination":(((d=r.data.props)==null?void 0:d.cells)||[]).forEach(k=>(k.childrenIds||[]).forEach(a)),(((h=r.data.props)==null?void 0:h.items)||[]).forEach(k=>{(k.contentChildrenIds||[]).forEach(a)});break;case"PricingAccordion":(((m=r.data.props)==null?void 0:m.items)||[]).forEach(k=>{(k.cardChildrenIds||[]).forEach(a),(k.detailChildrenIds||[]).forEach(a)});break;case"MenuPicker":(((b=r.data.props)==null?void 0:b.startChildrenIds)||[]).forEach(a),(((v=r.data.props)==null?void 0:v.endChildrenIds)||[]).forEach(a);break;case"EmailLayout":(r.data.childrenIds||[]).forEach(a);break}};return a(t),n}function Hl(e,t){const n=new Map;if(!e||!Array.isArray(t))return n;const o=e;for(const a of t){if((a==null?void 0:a.type)!=="array"||!a.sourceBlockId)continue;(Array.isArray(a.value)?a.value:[]).forEach((r,l)=>{var c;const s=l===0?a.sourceBlockId:(c=a.rowIds)==null?void 0:c[l-1];if(!(!s||!o[s]))for(const u of s2(o,s))n.set(u,r||{})})}return n}const c2={Text:["text"],Heading:["text"],Button:["text","url"],Image:["url"],Avatar:["imageUrl"],Logo:["url"],Rating:["value","max"],Progress:["value","max"],Container:["linkHref"]};function u2(e){return e?c2[e]:void 0}const Sa=l2.create();Sa.registerHelper("helperMissing",function(...e){const t=e[e.length-1];return new Sa.SafeString(`{{${t.name}}}`)});const gi=new Map;function d2(e){let t=gi.get(e);return t||(t=Sa.compile(e,{noEscape:!0,strict:!1}),gi.set(e,t)),t}function Fl(e){const t={};for(const n of e)if(!(!n||!n.id)){if(n.type==="array"){if(!Array.isArray(n.value)||n.value.length===0)continue;const o=n.value.map(a=>{const i={};if(a&&typeof a=="object")for(const r of Object.keys(a)){const l=a[r];l!=null&&l!==""&&(i[r]=l)}return i});Object.defineProperty(o,"toString",{value:()=>`{{${n.id}}}`,enumerable:!1}),t[n.id]=o;continue}typeof n.value!="string"||n.value===""||(t[n.id]=n.value)}return t}function Gl(e){var n,o;const t=(o=(n=e==null?void 0:e.root)==null?void 0:n.data)==null?void 0:o.formFields;return Array.isArray(t)?t:[]}const h2=/\{\{\s*#each\s+([\w.[\]]+)\s*\}\}([\s\S]*?)\{\{\s*\/each\s*\}\}/g;function f2(e,t){const n=new Map;if(e.indexOf("#each")===-1)return{masked:e,restore:n};let o=0;return{masked:e.replace(h2,(i,r)=>{const l=t[r];if(Array.isArray(l)&&l.length>0)return i;const c="HB_EACH_"+o+++"_";return n.set(c,i),c}),restore:n}}const Ul=/\{\{\s*this\.([\w]+)\s*\}\}/g;function p2(e,t){return e.replace(Ul,(n,o)=>{const a=t==null?void 0:t[o];return a!=null&&a!==""?String(a):n})}function Lo(e,t,n){if(!e)return e??"";if(e.indexOf("{{")===-1)return e;let o=e;if(n&&(o=p2(o,n),o.indexOf("{{")===-1)||!t||t.length===0)return o;try{const a=t&&t.length>0?Fl(t):{},{masked:i,restore:r}=f2(o,a),l=new Map;let s=i;if(i.indexOf("{{")!==-1&&i.indexOf("#each")===-1){let u=0;s=i.replace(Ul,p=>{const d="HB_THIS_"+u+++"_";return l.set(d,p),d})}let c=d2(s)(a);for(const[u,p]of l)c=c.split(u).join(p);if(r.size>0)for(const[u,p]of r)c=c.split(u).join(p);return c}catch{return o}}function Zl(e,t,n){var r,l,s,c,u;if(!e||(!t||t.length===0)&&!n)return e;if(e.type==="List"){const p=(l=(r=e.data)==null?void 0:r.props)==null?void 0:l.items;if(!Array.isArray(p)||p.length===0)return e;let d=null;return p.forEach((h,m)=>{const b=h==null?void 0:h.text;if(typeof b!="string"||b.indexOf("{{")===-1)return;const v=Lo(b,t,n);v!==b&&(d||(d=p.map(k=>({...k}))),d[m]={...d[m],text:v})}),d?{...e,data:{...e.data,props:{...e.data.props,items:d}}}:e}if(e.type==="Breadcrumb"){const p=(c=(s=e.data)==null?void 0:s.props)==null?void 0:c.items;if(!Array.isArray(p)||p.length===0)return e;let d=null;return p.forEach((h,m)=>{for(const b of["label","href"]){const v=h==null?void 0:h[b];if(typeof v!="string"||v.indexOf("{{")===-1)continue;const k=Lo(v,t,n);k!==v&&(d||(d=p.map(S=>({...S}))),d[m]={...d[m],[b]:k})}}),d?{...e,data:{...e.data,props:{...e.data.props,items:d}}}:e}const o=u2(e.type);if(!o)return e;const a=(u=e.data)==null?void 0:u.props;if(!a)return e;let i=null;for(const p of o){const d=a[p];if(typeof d!="string"||d.indexOf("{{")===-1)continue;const h=Lo(d,t,n);h!==d&&(i||(i={...a}),i[p]=h)}return i?{...e,data:{...e.data,props:i}}:e}function Wl(e,t){var l;if(!e)return e;const n=t??Gl(e);let o={...e},a=!1;const i=Hl(e,n);if(n&&n.length>0&&(Object.keys(Fl(n)).length>0||i.size>0))for(const s of Object.keys(o)){const c=o[s],u=Zl(c,n,i.get(s));u!==c&&(o[s]=u,a=!0)}const r=o.root;if(((l=r==null?void 0:r.data)==null?void 0:l.formFields)!==void 0){const{formFields:s,...c}=r.data;o.root={...r,data:c},a=!0}return a?o:e}const bi=Object.fromEntries(Xe.map(e=>[e.key,e.value]));function Gn(e){return!!e&&typeof e=="object"&&"top"in e&&"left"in e}function m2(e){return e.includes("linear-gradient")||e.includes("radial-gradient")||e.includes("repeating-linear-gradient")}function g2(e){const t=e.borderColor??null;if(!t)return"";if(t==="transparent")return"border:none!important";const n=Gn(e.borderWidth)?e.borderWidth:null;return m2(t)?"":[`border-top:${(n==null?void 0:n.top)??0}px solid ${t}!important`,`border-right:${(n==null?void 0:n.right)??0}px solid ${t}!important`,`border-bottom:${(n==null?void 0:n.bottom)??0}px solid ${t}!important`,`border-left:${(n==null?void 0:n.left)??0}px solid ${t}!important`].join(";")}function b2(e){const t=[];if(e.borderColor!==void 0||e.borderWidth!==void 0){const o=g2(e);o&&t.push(o)}const n=e.backgroundSize==="none";n&&t.push("background-image:none!important");for(const o of Object.keys(e)){const a=e[o];if(a!=null)switch(o){case"borderColor":case"borderWidth":break;case"fontSize":t.push(`font-size:${a}px!important`);break;case"fontFamily":bi[a]&&t.push(`font-family:${bi[a]}!important`);break;case"fontWeight":t.push(`font-weight:${a}!important`);break;case"fontStyle":t.push(`font-style:${a}!important`);break;case"textDecoration":t.push(`text-decoration:${a}!important`);break;case"lineHeight":t.push(`line-height:${a}!important`);break;case"textAlign":t.push(`text-align:${a}!important`);break;case"buttonTextAlign":t.push(`justify-content:${a==="center"?"center":a==="right"?"flex-end":"flex-start"}!important`);break;case"padding":case"margin":Gn(a)&&t.push(`${o}:${a.top}px ${a.right}px ${a.bottom}px ${a.left}px!important`);break;case"marginBottom":t.push(`margin-bottom:${a}px!important`);break;case"width":t.push(`width:${typeof a=="number"?`${a}px`:a}!important`);break;case"height":t.push(`height:${typeof a=="number"?`${a}px`:a}!important`);break;case"backgroundImage":t.push(a&&!n?`background-image:url("${String(a).replace(/"/g,'\\"')}")!important`:"background-image:none!important");break;case"backgroundSize":n||t.push(`background-size:${a}!important`);break;case"backgroundRepeat":t.push(`background-repeat:${a}!important`);break;case"activeFontSize":t.push(`--ahd-tabs-active-font-size:${typeof a=="number"?`${a}px`:a}`);break;case"showActiveBorder":t.push(`--ahd-tabs-active-border-color:${a?"currentColor":"transparent"}`);break;case"tabGap":t.push(`--ahd-tabs-tab-gap:${a}px`);break;case"contentGap":t.push(`--ahd-tabs-content-gap:${a}px`);break;case"navWidth":t.push(`--ahd-tabs-nav-width:${a}px`);break;case"starSize":t.push(`--ahd-rating-star-size:${a}px`);break;case"starGap":t.push(`--ahd-rating-star-gap:${a}px`);break;case"arrowSize":t.push(`--ahd-carousel-arrow-size:${a}px`),t.push(`--ahd-carousel-chevron-size:${Math.max(12,Math.min(40,Math.round(Number(a)*.5)))}px`);break;case"dotSize":t.push(`--ahd-carousel-dot-size:${a}px`);break;case"slideGap":t.push(`--ahd-carousel-slide-gap:${a}px`);break;case"buttonSize":t.push(`--ahd-pgn-btn-size:${a}px`);break;case"buttonGap":t.push(`--ahd-pgn-btn-gap:${a}px`);break;case"buttonRadius":t.push(`--ahd-pgn-btn-radius:${a}px`);break;case"controlGap":t.push(`--ahd-pgn-control-gap:${a}px`);break;case"borderRadius":if(typeof a=="number")t.push(`border-radius:${a}px!important`);else if(a&&typeof a=="object"){const{topLeft:i=0,topRight:r=0,bottomRight:l=0,bottomLeft:s=0}=a;t.push(`border-radius:${i}px ${r}px ${l}px ${s}px!important`)}else t.push(`border-radius:${a}!important`);break}}return t.join(";")}function v2(e){const t=[];for(const n of Object.keys(e)){const o=e[n];if(o!=null)switch(n){case"lineHeight":t.push(`--ahd-divider-thickness:${o}px!important`);break;case"height":{const a=typeof o=="number"?`${o}px`:o;t.push(`height:${a}!important`),t.push(`--ahd-iframe-height:${a}`),t.push(`--ahd-calendly-height:${a}`),t.push(`--ahd-demo-height:${a}`);break}case"width":{const a=typeof o=="number"?`${o}px`:o;t.push(`--ahd-iframe-width:${a}`),t.push(`--ahd-calendly-width:${a}`),t.push(`--ahd-demo-width:${a}`);break}case"blockPadding":Gn(o)&&t.push(`padding:${o.top}px ${o.right}px ${o.bottom}px ${o.left}px!important`);break;case"blockMargin":Gn(o)&&t.push(`margin:${o.top}px ${o.right}px ${o.bottom}px ${o.left}px!important`);break}}return t.join(";")}function vi(e,t){if(!t)return null;const n=e??{},o={};for(const a of Object.keys(t)){const i=t[a],r=n[a],l=!!i&&typeof i=="object"&&!Array.isArray(i)&&!!r&&typeof r=="object"&&!Array.isArray(r);o[a]=l?{...r,...i}:i}return o}function x2(e,t,n,o){if(!t)return"";const a=`#${e}`,i=w2(a),r=[],l=(c,u)=>{const p=vi(n,u==null?void 0:u.style),d=vi(o,u==null?void 0:u.props),h=[p?b2(p):"",d?v2(d):""].filter(Boolean).join(";"),m=[h?`${i}{${h}}`:"",u!=null&&u.hidden?`${a}{display:none}`:""].filter(Boolean).join("");m&&r.push(`${c}{${m}}`)};l(dn,t.tablet),l(`@media (max-width:${Ae}px)`,t.mobile);const s=_2(e,t,n,o);return s&&r.push(s),r.join("")}function S2(e,t){return t?e?{...e,...t}:t:e}function wa(e,t){return(t==null?void 0:t.blockMargin)??(e==null?void 0:e.margin)??(t==null?void 0:t.margin)??null}function xi(e,t,n){const o=wa(e,t),a=wa(n==null?void 0:n.style,n==null?void 0:n.props);return S2(o,a)}function zo(e){const t=((e==null?void 0:e.left)??0)+((e==null?void 0:e.right)??0);return t>0?`calc(100% - ${t}px)`:"100%"}function w2(e){return[`${e}>.text-block`,`${e}>.button-block`,`${e}>.button-group`,`${e}>.heading-block-wrapper`,`${e}>.heading-block-wrapper>.heading-block`,`${e}>.image-block`,`${e}>.logo-block`,`${e}>.avatar-block`,`${e}>.container-block`,`${e}>.flex-columns-block`,`${e}>.grid-block`,`${e}>.video-block`,`${e}>.youtube-url-block`,`${e}>.divider-block`,`${e}>.mdx-block`,`${e}>.quill-block`,`${e}>.html-block`,`${e}>.stepper-block`,`${e}>.list-block`,`${e}>.rating-block`,`${e}>.table-block`,`${e}>.table-block table`,`${e}>.spacer-block`,`${e}>.accordion-block`,`${e}>.columns-container`,`${e}>.ahd-carousel`,`${e}>.ahd-marquee`,`${e}>.ahd-pagination`,`${e}>.ahd-tabs`,`${e}>.calendly-block`,`${e}>.iframe-block`,`${e}>.demo-picker-block`,`${e}>.ahd-menu`].join(",")}function k2(e){return[`${e}>.text-block`,`${e}>.button-block`,`${e}>.button-group`,`${e}>.heading-block-wrapper`,`${e}>.heading-block-wrapper>.heading-block`,`${e}>.image-block`,`${e}>.logo-block`,`${e}>.avatar-block`,`${e}>.container-block`,`${e}>.flex-columns-block`,`${e}>.grid-block`,`${e}>.video-block`,`${e}>.youtube-url-block`,`${e}>.divider-block`,`${e}>.mdx-block`,`${e}>.quill-block`,`${e}>.html-block`,`${e}>.stepper-block`,`${e}>.list-block`,`${e}>.rating-block`,`${e}>.table-block`,`${e}>.table-block table`,`${e}>.spacer-block`,`${e}>.accordion-block`,`${e}>.columns-container`,`${e}>.ahd-carousel`,`${e}>.ahd-marquee`,`${e}>.ahd-pagination`,`${e}>.ahd-tabs`,`${e}>.calendly-block`,`${e}>.iframe-block`,`${e}>.demo-picker-block`,`${e}>.forms-picker-block`,`${e}>.ahd-timer`,`${e}>.ahd-menu`].join(",")}function _2(e,t,n,o){if(!t)return"";const a=`#${e}`,i=k2(a),r=wa(n,o),l=zo(r),s=zo(xi(n,o,t.tablet)),c=zo(xi(n,o,t.mobile));return s===l&&c===l?"":`
|
|
470
470
|
${dn} { ${i} { width: ${s} !important; max-width: 100% !important; } }
|
|
471
471
|
@media (max-width:${Ae}px) { ${i} { width: ${c} !important; max-width: 100% !important; } }
|
|
472
|
-
`.trim()}const
|
|
472
|
+
`.trim()}const $2=e=>{var o,a;const t=!!((o=e==null?void 0:e.props)!=null&&o.decorative),n=((a=e==null?void 0:e.props)==null?void 0:a.alt)??"";return t?g.jsx("div",{"aria-hidden":"true",role:"presentation",style:{display:"contents"},children:g.jsx(vr,{...e,props:{...(e==null?void 0:e.props)??{},alt:""}})}):g.jsx(vr,{...e,props:{...(e==null?void 0:e.props)??{},alt:n}})},C2=e=>g.jsx("div",{"aria-hidden":"true",style:{display:"contents"},children:g.jsx(ym,{...e})}),A2=qb,ql=G.createContext({});function Vl(e){var n,o;const t=(o=(n=e==null?void 0:e.root)==null?void 0:n.data)==null?void 0:o.formFields;return Array.isArray(t)?t:[]}const Si=new WeakMap;function y2(e){if(!e||typeof e!="object")return new Map;let t=Si.get(e);return t||(t=Hl(e,Vl(e)),Si.set(e,t)),t}const Yl=G.createContext({});function N2(){return G.useContext(ql)}function R2(){return G.useContext(Yl)}const Kl={ColumnsContainer:{schema:Rg,Component:Ig},FlexColumns:{schema:Mg,Component:Bg},Grid:{schema:Kg,Component:eb},ButtonGroup:{schema:A0,Component:y0},Container:{schema:vb,Component:xb},EmailLayout:{schema:Eb,Component:A2},Accordion:{schema:R0,Component:M0},PricingAccordion:{schema:P0,Component:L0},TabsBlock:{schema:j0,Component:q0},Carousel:{schema:J0,Component:tv},Rating:{schema:nv,Component:iv},Progress:{schema:cv,Component:mv},Marquee:{schema:gv,Component:Ev},Timer:{schema:Tv,Component:Fv},Pagination:{schema:Wv,Component:ex},Table:{schema:tx,Component:rx},DemoPicker:{schema:ix,Component:e=>g.jsx(sx,{...e})},MenuPicker:{schema:ux,Component:e=>g.jsx(Ax,{...e})},Breadcrumb:{schema:Ix,Component:Bx},FormsPicker:{schema:Dx,Component:e=>g.jsx(Gx,{...e})},AppBannerPicker:{schema:Ux,Component:e=>g.jsx(qx,{...e})},FaqPicker:{schema:Vx,Component:e=>g.jsx(Jx,{...e})},Avatar:{schema:of,Component:$2},Button:{schema:Of,Component:Lf},Divider:{schema:Zf,Component:Wf},Heading:{schema:op,Component:ap},Html:{schema:Tp,Component:Lp},Image:{schema:qp,Component:Yp},Logo:{schema:im,Component:sm},Video:{schema:Sm,Component:$m},IFrame:{schema:Jm,Component:eg},Calendly:{schema:og,Component:ig},YouTubeUrl:{schema:Wm,Component:Vm},Spacer:{schema:Cm,Component:C2},SkipLink:{schema:Xx,Component:wl},AccessibilityTools:{schema:e1,Component:Cl},Stepper:{schema:o0,Component:a0},List:{schema:f0,Component:m0},Text:{schema:Hm,Component:Gm}},Jl=hg(Kl),E2=Lt(x(),Jl),I2=dg(Kl);function ve({id:e}){var $,w,_,N,A,y,R;const t=N2(),{staticRender:n,injectElementIds:o,mainBlockId:a,hoistedSkipLinkId:i,hoistedA11yToolsId:r}=R2(),l=t[e];if(i&&e===i&&(l==null?void 0:l.type)==="SkipLink"||r&&e===r&&(l==null?void 0:l.type)==="AccessibilityTools")return null;const s=a&&e===a&&(l==null?void 0:l.type)==="Container"?{...l,data:{...l.data,props:{...(($=l.data)==null?void 0:$.props)??{},elementId:"main-content"}}}:l,c=Vl(t),u=y2(t).get(e),p=Zl(s,c,u),d=g.jsx(I2,{...p});if(e==="root")return d;const h=!!((w=l==null?void 0:l.data)!=null&&w.hidden),b=new Set(["Image","Container","Button","Avatar","Logo"]).has(p==null?void 0:p.type)?(N=(_=p==null?void 0:p.data)==null?void 0:_.props)==null?void 0:N.animation:null,v=b&&b.type&&b.type!=="none"?{"data-animate-type":b.type,"data-animate-trigger":b.trigger??"load","data-animate-speed":b.speed??"medium","data-animate-delay":b.delay??0,...b.disableOnMobile?{"data-animate-disable-mobile":"true"}:{}}:{},k=n&&o?`ahd-${e}`:e,S=x2(k,(A=p==null?void 0:p.data)==null?void 0:A.responsive,(y=p==null?void 0:p.data)==null?void 0:y.style,(R=p==null?void 0:p.data)==null?void 0:R.props);return n&&o?g.jsxs("div",{id:`ahd-${e}`,className:"ahd-block-wrapper",style:h?{display:"none"}:void 0,...v,children:[S?g.jsx("style",{dangerouslySetInnerHTML:{__html:S}}):null,d]}):g.jsxs("div",{id:e,style:{scrollMarginTop:"80px",...h?{display:"none"}:null},...v,children:[S?g.jsx("style",{dangerouslySetInnerHTML:{__html:S}}):null,d]})}function sn({document:e,rootBlockId:t,staticRender:n,injectElementIds:o,isBanner:a,mainBlockId:i,hoistedSkipLinkId:r,hoistedA11yToolsId:l}){const s=G.useMemo(()=>({staticRender:!!n,injectElementIds:!!o,isBanner:!!a,mainBlockId:i,hoistedSkipLinkId:r,hoistedA11yToolsId:l}),[n,o,a,i,r,l]);return g.jsx(ql.Provider,{value:e,children:g.jsx(Yl.Provider,{value:s,children:g.jsx(ve,{id:t})})})}function M2(e){for(const[t,n]of Object.entries(e??{}))if((n==null?void 0:n.type)==="SkipLink")return t}function T2(e){for(const[t,n]of Object.entries(e??{}))if((n==null?void 0:n.type)==="AccessibilityTools")return t}function P2(e,t){const n=new Set;function o(a){var s,c,u,p;if(n.has(a))return;n.add(a);const i=e[a];if(!i)return;if(i.type==="Container"&&((c=(s=i.data)==null?void 0:s.props)==null?void 0:c.tag)==="main")return a;const r=((u=i.data)==null?void 0:u.props)??{},l=[];Array.isArray(r.childrenIds)&&l.push(r.childrenIds),Array.isArray((p=i.data)==null?void 0:p.childrenIds)&&l.push(i.data.childrenIds),Array.isArray(r.columns)&&r.columns.forEach(d=>{Array.isArray(d==null?void 0:d.childrenIds)&&l.push(d.childrenIds)});for(const d of l)for(const h of d){const m=o(h);if(m)return m}}return o(t)}const O2=e=>Object.values(e??{}).some(t=>(t==null?void 0:t.type)==="TabsBlock"),L2=e=>Object.values(e??{}).some(t=>(t==null?void 0:t.type)==="DemoPicker"),z2=e=>Object.values(e??{}).some(t=>(t==null?void 0:t.type)==="Carousel"),j2=new Set(["Image","Container","Button","Avatar","Logo","Heading","Text"]),B2=e=>Object.values(e??{}).some(t=>{var n,o,a;return j2.has(t==null?void 0:t.type)&&((a=(o=(n=t==null?void 0:t.data)==null?void 0:n.props)==null?void 0:o.animation)==null?void 0:a.type)&&t.data.props.animation.type!=="none"}),D2=()=>`
|
|
473
473
|
(function () {
|
|
474
474
|
if (window.__ahdAnimationBound) return;
|
|
475
475
|
window.__ahdAnimationBound = true;
|
|
@@ -577,7 +577,7 @@ ${dn} { ${i} { width: ${s} !important; max-width: 100% !important; } }
|
|
|
577
577
|
var timer = setInterval(function () { initAll(); if (++tries > 20) clearInterval(timer); }, 250);
|
|
578
578
|
}
|
|
579
579
|
})();
|
|
580
|
-
`.trim(),
|
|
580
|
+
`.trim(),H2=()=>`
|
|
581
581
|
(function () {
|
|
582
582
|
var BASE_WIDTH = 1440;
|
|
583
583
|
var BASE_HEIGHT = 830;
|
|
@@ -606,7 +606,7 @@ ${dn} { ${i} { width: ${s} !important; max-width: 100% !important; } }
|
|
|
606
606
|
init();
|
|
607
607
|
}
|
|
608
608
|
})();
|
|
609
|
-
`,
|
|
609
|
+
`,F2=()=>`
|
|
610
610
|
(function () {
|
|
611
611
|
if (window.__ahdTabsBound) return;
|
|
612
612
|
window.__ahdTabsBound = true;
|
|
@@ -730,7 +730,7 @@ ${dn} { ${i} { width: ${s} !important; max-width: 100% !important; } }
|
|
|
730
730
|
var timer = setInterval(function () { initAll(); if (++tries > 20) clearInterval(timer); }, 250);
|
|
731
731
|
}
|
|
732
732
|
})();
|
|
733
|
-
`,
|
|
733
|
+
`,G2=()=>`
|
|
734
734
|
(function () {
|
|
735
735
|
if (window.__ahdCarouselBound) return;
|
|
736
736
|
window.__ahdCarouselBound = true;
|
|
@@ -912,7 +912,7 @@ ${dn} { ${i} { width: ${s} !important; max-width: 100% !important; } }
|
|
|
912
912
|
var timer = setInterval(function () { initAll(); if (++tries > 20) clearInterval(timer); }, 250);
|
|
913
913
|
}
|
|
914
914
|
})();
|
|
915
|
-
`,
|
|
915
|
+
`,U2=`
|
|
916
916
|
@keyframes ahd-anim-fade-in { from { opacity: 0; } to { opacity: 1; } }
|
|
917
917
|
@keyframes ahd-anim-slide-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
|
|
918
918
|
@keyframes ahd-anim-slide-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
|
|
@@ -925,8 +925,8 @@ ${dn} { ${i} { width: ${s} !important; max-width: 100% !important; } }
|
|
|
925
925
|
80% { transform: translateY(-2px); }
|
|
926
926
|
100% { opacity: 1; transform: translateY(0); }
|
|
927
927
|
}
|
|
928
|
-
`.trim(),
|
|
929
|
-
${
|
|
928
|
+
`.trim(),Z2=`
|
|
929
|
+
${U2}
|
|
930
930
|
|
|
931
931
|
/* Elements that animate on scroll/hover/click start hidden so there is no
|
|
932
932
|
flash of the final state before the trigger fires. Load-triggered elements
|
|
@@ -944,7 +944,7 @@ html.ahd-anim-ready [data-animate-type]:not([data-animate-trigger="load"]):not(.
|
|
|
944
944
|
animation-fill-mode: both;
|
|
945
945
|
animation-timing-function: ease-out;
|
|
946
946
|
}
|
|
947
|
-
`.trim(),
|
|
947
|
+
`.trim(),W2=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{}:;,>~+])\s*/g,"$1").replace(/\s+/g," ").replace(/;}/g,"}").trim(),q2=(e,t=!1)=>W2(`
|
|
948
948
|
|
|
949
949
|
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css');
|
|
950
950
|
|
|
@@ -1776,19 +1776,19 @@ table[style*="maxHeight"] {
|
|
|
1776
1776
|
transform: translateY(-7px) rotate(-45deg);
|
|
1777
1777
|
}
|
|
1778
1778
|
}
|
|
1779
|
-
`),
|
|
1779
|
+
`),V2=[{key:"inherit",label:"Inherit",value:"inherit"},{key:"MODERN_SANS",label:"Modern sans",value:'"Modern Sans", "Inter", "Helvetica Neue", "Arial Nova", "Nimbus Sans", Arial, sans-serif'},{key:"BOOK_SANS",label:"Book sans",value:'Optima, Candara, "Noto Sans", source-sans-pro, sans-serif'},{key:"ORGANIC_SANS",label:"Organic sans",value:'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif'},{key:"GEOMETRIC_SANS",label:"Geometric sans",value:'Avenir, "Avenir Next LT Pro", Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif'},{key:"HEAVY_SANS",label:"Heavy sans",value:'Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", sans-serif-condensed, sans-serif'},{key:"ROUNDED_SANS",label:"Rounded sans",value:'ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari, "Arial Rounded MT Bold", Calibri, source-sans-pro, sans-serif'},{key:"MODERN_SERIF",label:"Modern serif",value:'Charter, "Bitstream Charter", "Sitka Text", Cambria, serif'},{key:"BOOK_SERIF",label:"Book serif",value:'"Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif'},{key:"MONOSPACE",label:"Monospace",value:'"Nimbus Mono PS", "Courier New", "Cutive Mono", monospace'},{key:"ROBOTO",label:"Roboto",value:'Roboto, "Helvetica Neue", Arial, sans-serif'},{key:"OPEN_SANS",label:"Open Sans",value:'"Open Sans", "Helvetica Neue", Arial, sans-serif'},{key:"LATO",label:"Lato",value:'Lato, "Helvetica Neue", Arial, sans-serif'},{key:"POPPINS",label:"Poppins",value:'Poppins, "Helvetica Neue", Arial, sans-serif'},{key:"INTER",label:"Inter",value:'Inter, "Helvetica Neue", Arial, sans-serif'},{key:"MONTSERRAT",label:"Montserrat",value:'Montserrat, "Helvetica Neue", Arial, sans-serif'},{key:"RALEWAY",label:"Raleway",value:'Raleway, "Helvetica Neue", Arial, sans-serif'},{key:"NUNITO",label:"Nunito",value:'Nunito, "Helvetica Neue", Arial, sans-serif'},{key:"PLAYFAIR_DISPLAY",label:"Playfair Display",value:'"Playfair Display", Georgia, serif'},{key:"MERRIWEATHER",label:"Merriweather",value:"Merriweather, Georgia, serif"},{key:"PT_SANS",label:"PT Sans",value:'"PT Sans", "Helvetica Neue", Arial, sans-serif'},{key:"OSWALD",label:"Oswald",value:'Oswald, "Helvetica Neue", Arial, sans-serif'},{key:"SOURCE_SANS_PRO",label:"Source Sans Pro",value:'"Source Sans Pro", "Helvetica Neue", Arial, sans-serif'},{key:"RUBIK",label:"Rubik",value:'Rubik, "Helvetica Neue", Arial, sans-serif'},{key:"WORK_SANS",label:"Work Sans",value:'"Work Sans", "Helvetica Neue", Arial, sans-serif'},{key:"NOTO_SANS",label:"Noto Sans",value:'"Noto Sans", "Helvetica Neue", Arial, sans-serif'},{key:"DANCING_SCRIPT",label:"Dancing Script",value:'"Dancing Script", cursive, sans-serif'},{key:"PACIFICO",label:"Pacifico",value:"Pacifico, cursive, sans-serif"},{key:"LOBSTER",label:"Lobster",value:"Lobster, cursive, sans-serif"},{key:"BEBAS_NEUE",label:"Bebas Neue",value:'"Bebas Neue", cursive, sans-serif'}],Y2={Inter:[400,500,600,700],Roboto:[400,500,700],"Open Sans":[400,500,600,700],Lato:[400,700],Poppins:[400,500,600,700],Montserrat:[400,500,600,700],Raleway:[400,500,600,700],Nunito:[400,500,600,700],"Playfair Display":[400,500,600,700],Merriweather:[400,700],"PT Sans":[400,700],Oswald:[400,500,600,700],"Source Sans Pro":[400,600,700],Rubik:[400,500,600,700],"Work Sans":[400,500,600,700],"Noto Sans":[400,500,600,700],"Titillium Web":[400,600,700],"Dancing Script":[400,500,600,700],Pacifico:[400],Lobster:[400],"Bebas Neue":[400],"Permanent Marker":[400],"Great Vibes":[400],"Libre Baskerville":[400,700],"EB Garamond":[400,500,700],Lora:[400,500,700]},K2=(e,t)=>{const n=e.replace(/ /g,"+");return t.length===1&&t[0]===400?n:`${n}:wght@${t.join(";")}`},J2=`https://fonts.googleapis.com/css2?${Object.entries(Y2).map(([e,t])=>`family=${K2(e,t)}`).join("&")}&display=swap`,Xl=V2.filter(e=>e.key!=="inherit").map(e=>({label:e.label,css:e.value}));Xl.map(e=>e.css);const X2=e=>e.replace(/"/g,'\\"');Xl.map(e=>{const t=X2(e.css);return`
|
|
1780
1780
|
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="${t}"]::before,
|
|
1781
1781
|
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="${t}"]::before {
|
|
1782
1782
|
content: '${e.label}';
|
|
1783
1783
|
font-family: ${e.css};
|
|
1784
1784
|
}`}).join(`
|
|
1785
|
-
`);const
|
|
1785
|
+
`);const Q2=e=>{let t=0;const n=e.replace(/<style([^>]*)>([\s\S]*?)<\/style>/gi,(o,a,i)=>{t++;const r=String(i).replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s+/g," ").replace(/\s*([{};:,])\s*/g,"$1").trim();return`<style${a}>${r}</style>`});return console.log("[renderToStaticMarkup] minified",t,"style block(s)"),n};function Da(e,{rootBlockId:t,seo:n,injectElementIds:o,minifyCss:a,lang:i,skipLink:r,accessibilityTools:l,includePageCSS:s,headHtml:c,bodyBottomHtml:u,isBanner:p,injectTabsScrollSyncScript:d=!0,injectCarouselScript:h=!0,injectAnimationScript:m=!0,injectFontAssets:b=!0}){var q;const v=((q=e==null?void 0:e[t])==null?void 0:q.data)??{};i??v.lang;const k=r??v.skipLink??void 0,S=l??v.accessibilityTools??void 0,$=Object.values(e??{}).some(B=>(B==null?void 0:B.type)==="SkipLink"),w=Object.values(e??{}).some(B=>(B==null?void 0:B.type)==="AccessibilityTools");!$&&(k==null||k.enabled);const _=!w&&!!(S!=null&&S.enabled),N=_?kl(S):"",A=_?_l(S):"",y=_?$l():"",R=d&&O2(e)?F2():"",M=h&&z2(e)?G2():"",T=L2(e)?H2():"",L=B2(e),H=m&&L?D2():"",F=g.jsxs("div",{style:{margin:0,padding:0},children:[s&&g.jsx("style",{dangerouslySetInnerHTML:{__html:q2()}}),N&&g.jsx("style",{dangerouslySetInnerHTML:{__html:N}}),L&&g.jsx("style",{dangerouslySetInnerHTML:{__html:Z2}}),b&&g.jsx("link",{rel:"stylesheet",href:J2}),g.jsx("style",{children:`.gc-tooltip * {
|
|
1786
1786
|
margin: 0;
|
|
1787
1787
|
padding: 0;
|
|
1788
1788
|
box-sizing: border-box;
|
|
1789
1789
|
}
|
|
1790
1790
|
.gc-tooltip .gc-close { display: none !important; }
|
|
1791
|
-
.gc-tooltip .gc-copyright { display: none !important; }`}),A&&g.jsx("div",{dangerouslySetInnerHTML:{__html:A}}),y&&g.jsx("script",{dangerouslySetInnerHTML:{__html:y}}),(()=>{const B=
|
|
1791
|
+
.gc-tooltip .gc-copyright { display: none !important; }`}),A&&g.jsx("div",{dangerouslySetInnerHTML:{__html:A}}),y&&g.jsx("script",{dangerouslySetInnerHTML:{__html:y}}),(()=>{const B=M2(e),Y=T2(e),de=P2(e,t),oe=B?e[B]:null,ee=Y?e[Y]:null,Z=de?g.jsx(sn,{document:e,rootBlockId:t,staticRender:!0,injectElementIds:!!o,isBanner:!!p,mainBlockId:de,hoistedSkipLinkId:B,hoistedA11yToolsId:Y}):g.jsx("main",{id:"main-content",tabIndex:-1,children:g.jsx(sn,{document:e,rootBlockId:t,staticRender:!0,injectElementIds:!!o,isBanner:!!p,hoistedSkipLinkId:B,hoistedA11yToolsId:Y})});return g.jsxs(g.Fragment,{children:[oe&&g.jsx(wl,{...oe.data??{}}),p?Z:g.jsx("div",{className:"ahd-page-root",children:Z}),ee&&g.jsx(Cl,{...ee.data??{}})]})})(),R&&g.jsx("script",{dangerouslySetInnerHTML:{__html:R}}),M&&g.jsx("script",{dangerouslySetInnerHTML:{__html:M}}),T&&g.jsx("script",{dangerouslySetInnerHTML:{__html:T}}),H&&g.jsx("script",{dangerouslySetInnerHTML:{__html:H}})]}),j=is.renderToStaticMarkup(F);let O=a?Q2(j):j;return c&&(O=O.replace("</head>",`${c}</head>`)),u&&(O=O.replace("</body>",`${u}</body>`)),O}function wi(e){return((e==null?void 0:e.sectionType)||"internal")==="external"}function ew(e,t={}){var a;if(!e)return"";const n=t.rootBlockId??"root",o=((a=e==null?void 0:e[n])==null?void 0:a.data)??{};try{return Da(e,{rootBlockId:n,injectElementIds:!0,minifyCss:!0,includePageCSS:!0,lang:o.lang,skipLink:o.skipLink,accessibilityTools:o.accessibilityTools,injectTabsScrollSyncScript:t.injectTabsScrollSyncScript,injectCarouselScript:t.injectCarouselScript,injectAnimationScript:t.injectAnimationScript,injectFontAssets:t.injectFontAssets,headHtml:t.headHtml,bodyBottomHtml:t.bodyBottomHtml,isBanner:t.isBanner,seo:t.seo})}catch(i){return console.error("[PagePilotEditor] renderToStaticMarkup failed:",i),""}}function jo(e){return String(e).replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function tw(e,t={}){var k,S,$;const n=t.includeExternalSections??!0,o=t.wrapInDocumentShell??!0,a=[],i=e.map(w=>{var A;if(wi(w))return n&&a.push(String((w==null?void 0:w.content)??"")),w;const _=(A=w==null?void 0:w.contentMetadata)==null?void 0:A.document;if(!_)return w!=null&&w.content&&a.push(String(w.content)),w;const N=ew(_,t);return N&&a.push(N),{...w,content:N,contentMetadata:{...w.contentMetadata??{},document:_}}}),r=a.join(`
|
|
1792
1792
|
`);if(!o)return{html:r,sectionHtml:a,flushedSections:i};const l=e.find(w=>!wi(w)),s=(($=(S=(k=l==null?void 0:l.contentMetadata)==null?void 0:k.document)==null?void 0:S.root)==null?void 0:$.data)??{},c=t.lang||s.lang||"en",u=t.canvasColor||s.canvasColor||"#FFFFFF",p=t.fontFamily||(typeof s.fontFamily=="string"?s.fontFamily:"Inter, system-ui, sans-serif"),d=t.seoTitle?`<title>${jo(t.seoTitle)}</title>`:"",h=t.seoDescription?`<meta name="description" content="${jo(t.seoDescription)}" />`:"",m=t.extraHead??"",b=t.extraBodyBottom??"";return{html:`<!doctype html>
|
|
1793
1793
|
<html lang="${jo(c)}">
|
|
1794
1794
|
<head>
|
|
@@ -1807,4 +1807,4 @@ ${m}
|
|
|
1807
1807
|
${r}
|
|
1808
1808
|
${b}
|
|
1809
1809
|
</body>
|
|
1810
|
-
</html>`,sectionHtml:a,flushedSections:i}}function
|
|
1810
|
+
</html>`,sectionHtml:a,flushedSections:i}}function nw(e){var i,r,l,s,c,u,p,d,h,m,b;if(!e)return[];const t=e.configuration??{},n=(r=(i=t==null?void 0:t.root)==null?void 0:i.data)==null?void 0:r.formFields;if(Array.isArray(n)&&n.length>0)return n;if(t!=null&&t.isIndividualBlock&&Array.isArray(t.formFields)&&t.formFields.length>0)return t.formFields;const o=Array.isArray(t==null?void 0:t.steps)?t.steps:Array.isArray(t==null?void 0:t.slides)?t.slides:null;if(o){const v=new Set,k=[];for(const S of o){const $=(u=(c=(s=(l=S==null?void 0:S.contentMetadata)==null?void 0:l.document)==null?void 0:s.root)==null?void 0:c.data)==null?void 0:u.formFields;if(Array.isArray($))for(const w of $)!(w!=null&&w.id)||v.has(w.id)||(v.add(w.id),k.push(w))}if(k.length>0)return k}const a=(b=(m=(h=(d=(p=t==null?void 0:t.step)==null?void 0:p.contentMetadata)==null?void 0:d.document)==null?void 0:h.root)==null?void 0:m.data)==null?void 0:b.formFields;return Array.isArray(a)&&a.length>0?a:Array.isArray(e.formFields)?e.formFields:[]}function ow(e){var n,o,a,i,r,l,s;if(!e||typeof e!="object")return null;const t=e.configuration;if(!t||typeof t!="object")return null;if(t.root)return t;if(t.isIndividualBlock&&typeof t.rootBlockId=="string"&&t.blocks&&typeof t.blocks=="object"&&t.blocks[t.rootBlockId]){const c=Array.isArray(t.formFields)?t.formFields:[];return{...t.blocks,root:{type:"EmailLayout",data:{backdropColor:"#FFFFFF",canvasColor:"#FFFFFF",textColor:"#262626",fontFamily:"MODERN_SANS",childrenIds:[t.rootBlockId],maxWidth:"100%",formFields:c}}}}return(a=(o=(n=t.content)==null?void 0:n.contentMetadata)==null?void 0:o.document)!=null&&a.root?t.content.contentMetadata.document:(r=(i=t.contentMetadata)==null?void 0:i.document)!=null&&r.root?t.contentMetadata.document:(s=(l=e.contentMetadata)==null?void 0:l.document)!=null&&s.root?e.contentMetadata.document:null}function aw(e){const t=e;return!!(t.pageId&&t.baseUrl&&t.tenantId)}function rw(e){const t=e;return!!(t.templateId&&t.baseUrl)}function Ql(e){if(!e||typeof e!="object")return e;const t=Gl(e);return!t||t.length===0?e:Wl(e,t)}const iw=new Set(["ColumnsContainer","FlexColumns","Grid","ButtonGroup","Container","EmailLayout","Accordion","PricingAccordion","TabsBlock","Carousel","Rating","Marquee","Timer","Pagination","Table","DemoPicker","MenuPicker","FormsPicker","AppBannerPicker","FaqPicker","Avatar","Button","Divider","Heading","Html","Image","Logo","Video","IFrame","Calendly","YouTubeUrl","Spacer","SkipLink","AccessibilityTools","Stepper","List","Text"]);function lw(e){var o,a,i;const t=((o=e==null?void 0:e.data)==null?void 0:o.props)??{};return{type:"Text",data:{props:{text:typeof t.html=="string"&&t.html||typeof t.text=="string"&&t.text||typeof t.markdown=="string"&&t.markdown||""},style:((a=e==null?void 0:e.data)==null?void 0:a.style)??{},hidden:(i=e==null?void 0:e.data)==null?void 0:i.hidden}}}function es(e){if(!e||typeof e!="object")return e;let t=!1;const n={};for(const[o,a]of Object.entries(e)){const i=a==null?void 0:a.type;i&&!iw.has(i)?(n[o]=lw(a),t=!0,console.warn(`[pagepilot-visual-editor] renderToStaticHtml: block "${o}" has unsupported type "${i}" — coerced to Text.`)):n[o]=a}return t?n:e}function Ha(e,t){var r;if(!e)return"";const n=t.rootBlockId??"root",o=Ql(e),a=es(o),i=((r=a==null?void 0:a[n])==null?void 0:r.data)??{};return Da(a,{rootBlockId:n,injectElementIds:t.injectElementIds??!0,minifyCss:t.minifyCss??!0,includePageCSS:t.includePageCSS??!0,lang:t.lang??i.lang,skipLink:t.skipLink??i.skipLink,accessibilityTools:t.accessibilityTools??i.accessibilityTools,injectTabsScrollSyncScript:t.injectTabsScrollSyncScript,injectCarouselScript:t.injectCarouselScript,injectFontAssets:t.injectFontAssets,seo:t.seo,headHtml:t.headHtml,bodyBottomHtml:t.bodyBottomHtml,isBanner:t.isBanner})}function ts(e){const t=e.fetchFn??(typeof fetch<"u"?fetch:void 0);if(!t)throw new Error("[pagepilot-visual-editor] renderToStaticHtml: global fetch is not available — pass `fetchFn`.");return t}function ns(e){const t={"Content-Type":"application/json"};return e.authToken&&(t.Authorization=`Bearer ${e.authToken}`),t}async function os(e,t,n){const o=await n(e,t);if(!o.ok){const a=await o.text().catch(()=>"");return{ok:!1,body:null,status:o.status,text:a}}return{ok:!0,body:await o.json(),status:o.status,text:""}}async function sw(e,t){var v;const{baseUrl:n,tenantId:o,pageId:a}=t,r=`${n.replace(/\/+$/,"")}/tenant/${o}/page/${a}`,l=ts(t),s=await os(r,{method:"GET",headers:ns(t)},l);if(!s.ok)throw new Error(`[pagepilot-visual-editor] renderToStaticHtml: GET ${r} → ${s.status}${s.text?`: ${s.text}`:""}`);const c=s.body,{wrapInDocumentShell:u=!0,headHtml:p,bodyBottomHtml:d}=t,h=Array.isArray(c==null?void 0:c.sections)?c.sections:[];if(h.length===0)return Ha(((v=c==null?void 0:c.contentMetadata)==null?void 0:v.document)??e,t);const m=h.map(k=>{var _;const S=(_=k==null?void 0:k.contentMetadata)==null?void 0:_.document;if(!S)return k;const $=Ql(S),w=es($);return{...k,contentMetadata:{...k.contentMetadata??{},document:w}}}),{html:b}=tw(m,{rootBlockId:t.rootBlockId,injectTabsScrollSyncScript:t.injectTabsScrollSyncScript,injectCarouselScript:t.injectCarouselScript,injectFontAssets:t.injectFontAssets,isBanner:t.isBanner,seo:t.seo,wrapInDocumentShell:u,seoTitle:(c==null?void 0:c.metaTitle)??(c==null?void 0:c.title)??(c==null?void 0:c.name),seoDescription:c==null?void 0:c.metaDescription,lang:t.lang??(c==null?void 0:c.lang),extraHead:p??(c==null?void 0:c.head)??"",extraBodyBottom:d??(c==null?void 0:c.bodyBottom)??""});return b}async function cw(e){const{baseUrl:t,tenantId:n,templateId:o,isGlobal:a=!1}=e,i=t.replace(/\/+$/,""),r=ts(e),l=a?`${i}/global-template/${o}`:`${i}/tenant/${n}/template/${o}`,s=a?{"Content-Type":"application/json"}:ns(e),c=await os(l,{method:"GET",headers:s},r);if(c.ok)return c.body;throw new Error(`[pagepilot-visual-editor] renderToStaticHtml: GET ${l} → ${c.status}${c.text?`: ${c.text}`:""}`)}function uw(e,t){if(!t)return e;const n=new Map;for(const a of e)a!=null&&a.id&&n.set(a.id,a);if(Array.isArray(t)){for(const a of t){if(!(a!=null&&a.id))continue;const r={...n.get(a.id)??{id:a.id,name:a.id,type:"text"},...a};n.set(a.id,r)}return Array.from(n.values())}const o=Object.entries(t).filter(([,a])=>a!=null);if(o.length===0)return e;for(const[a,i]of o){const r=String(i),l=n.get(a);l?n.set(a,{...l,value:r}):n.set(a,{id:a,name:a,type:"text",value:r})}return Array.from(n.values())}async function dw(e,t){const n=await cw(t),o=ow(n)??(e&&Object.keys(e).length>0?e:null);if(!o)return"";const a=nw(n),i=uw(a,t.variables),r=Wl(o,i);return Ha(r,t)}function hw(e,t){return rw(t)?dw(e,t):aw(t)?sw(e,t):Ha(e,t)}exports.Reader=sn;exports.ReaderBlock=ve;exports.ReaderBlockSchema=Jl;exports.ReaderDocumentSchema=E2;exports.renderToStaticHtml=hw;exports.renderToStaticMarkup=Da;
|