1import{c as y,V as se,a as ae,r as _,j as t,o as le,S as ne,R as re,G as oe,aw as ie}from"./index-I0VlBWiI.js";import{N as ce,F as de,H as xe}from"./Footer-C0gkdNSg.js";import{P as he}from"./ParticlesBackground-CS2kkP3s.js";import{t as X}from"./trackDownload-BdysiP89.js";import{Z as me}from"./zap-BQglj48P.js";import{A as fe}from"./award-8cvANHHo.js";import{C as ue}from"./crown-B2ZRiIOc.js";import{B as ge}from"./bell-C_4EGfX9.js";import{L as be,M as ye}from"./megaphone-CvUfLJaG.js";import{T as pe}from"./target-B7u_KhKy.js";import{I as je}from"./info-hWmELUNn.js";import{C as ke}from"./camera-C3WykQjf.js";import"./index-D9iIC5Ax.js";import"./chevron-up-BzoisNU0.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const ve=y("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const Ne=y("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const we=y("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/** 17 * @license lucide-react v0.462.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const Ce=y("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 22 * @license lucide-react v0.462.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const Se=y("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
26],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/** 27 * @license lucide-react v0.462.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const Te=y("Diamond",[["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z",key:"1f1r0c"}]]);/** 32 * @license lucide-react v0.462.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */const Le=y("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** 37 * @license lucide-react v0.462.0 - ISC 38 * 39 * This source code is licensed under the ISC license. 40 * See the LICENSE file in the root directory of this source tree. 41 */const _e=y("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]);/** 42 * @license lucide-react v0.462.0 - ISC 43 * 44 * This source code is licensed under the ISC license. 45 * See the LICENSE file in the root directory of this source tree. 46 */const Me=y("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/** 47 * @license lucide-react v0.462.0 - ISC 48 * 49 * This source code is licensed under the ISC license. 50 * See the LICENSE file in the root directory of this source tree. 51 */const $e=y("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 52 * @license lucide-react v0.462.0 - ISC 53 * 54 * This source code is licensed under the ISC license. 55 * See the LICENSE file in the root directory of this source tree. 56 */const Be=y("Smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);/** 57 * @license lucide-react v0.462.0 - ISC 58 * 59 * This source code is licensed under the ISC license. 60 * See the LICENSE file in the root directory of this source tree. 61 */const ze=y("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 62 * @license lucide-react v0.462.0 - ISC 63 * 64 * This source code is licensed under the ISC license. 65 * See the LICENSE file in the root directory of this source tree. 66 */const Ee=y("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/** 67 * @license lucide-react v0.462.0 - ISC 68 * 69 * This source code is licensed under the ISC license. 70 * See the LICENSE file in the root directory of this source tree. 71 */const Ie=y("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]),Re={Zap:me,Star:ne,Rocket:re,Globe:oe,Award:fe,Sparkles:ze,Flame:Le,Crown:ue,Heart:xe,Bell:ge,Lightbulb:be,Trophy:Ie,Shield:$e,Tag:Ee,Bookmark:ve,Flag:ie,Target:pe,Compass:Ce,Diamond:Te,Info:je,CheckCircle2:Ne,Cpu:Se,Leaf:_e,Music:Me,Camera:ke,Coffee:we,Smile:Be,Megaphone:ye},Fe="https://d1tw4i991fao8q.cloudfront.net",He=/\.(pdf|zip|docx?|pptx?|xlsx?|csv|mp4|mp3|avi|mov|png|jpe?g|gif|svg|webp|eps|ai|psd)(\?.*)?$/i,P=[{url:"https://i.ibb.co/HLNfJjzX/Save-the-date-WSW-2026.png",filename:"Save-the-date-WSW-2026.png"},{url:"https://i.ibb.co/YFRcbLWB/Did-you-know-2026-Template.png",filename:"Did-you-know-2026-Template.png"},{url:"https://i.ibb.co/dwhBwkNV/Copy-of-Myth-or-Fact-2026-Template.png",filename:"Copy-of-Myth-or-Fact-2026-Template.png"}];let B=[],O="";
71const p=(a,e)=>{if(typeof a!="string")return e;try{return JSON.parse(a)}catch{return e}},s=(a,e="")=>typeof a=="string"?a:e,$=a=>(a||"").replace(/<[^>]*>/g,"").replace(/ /g," ").trim(),j=a=>!!a,d=(a,e=0)=>typeof a=="number"?a:e,De=a=>a.replace(/^\/+|\/+$/g,"")||"custom-page",Y=()=>window.location.pathname.replace(/\/+$/g,""),Z=()=>["/p/social-media-toolkit","/p/social-media-kit","/hold-event/media-kit/social-media-kit"].includes(Y()),J=a=>s(a).trim().toLowerCase()==="download",Ae=a=>{var e;try{const n=new URL(a,window.location.origin),l=n.pathname.split("/").filter(Boolean),r=l[l.length-1]||n.hostname;return decodeURIComponent(r).replace(/\.[a-z0-9]+$/i,"").replace(/[-_]+/g," ")}catch{return((e=a.split("/").pop())==null?void 0:e.split("?")[0])||a}},We=(a,e,n,l)=>{const r=De(a),o=(l==null?void 0:l.trim())||Ae(e),c=n&&!n.toLowerCase().includes(o.toLowerCase())?n:"";return[r,o,c].filter(Boolean).join(" - ")},k=a=>{const e=s(a);return!(!e||e==="#ffffff"||e==="#fff"||e==="white"||e==="#f8fafc"||e==="#f1f5f9"||e==="#f9fafb"||e.startsWith("#f")||e.startsWith("#e")||e.startsWith("#d"))},K=(a,e)=>{const n=s(e),l=!n||n==="#ffffff"||n==="#fff"||n==="white",r=n==="#000000"||n==="#000"||n==="black";return!k(a)&&l?"#1e293b":k(a)&&r?"#ffffff":n||void 0},U=async(a,e)=>{var l;const n=e||((l=a.split("/").pop())==null?void 0:l.split("?")[0])||"image";X({assetTitle:n,assetUrl:a,assetType:"custom-page"});try{const r=await fetch(a);if(!r.ok)throw new Error("Download request failed");const o=await r.blob(),c=URL.createObjectURL(o),x=document.createElement("a");x.href=c,x.download=n,document.body.appendChild(x),x.click(),document.body.removeChild(x),URL.revokeObjectURL(c)}catch{const r=document.createElement("a");r.href=a,r.download=n,r.target="_blank",r.rel="noopener noreferrer",document.body.appendChild(r),r.click(),document.body.removeChild(r)}},Oe=a=>`${s(a.heading)} ${s(a.subheading)}`.toLowerCase(),V=(a,e,n,l)=>{var r,o;return a&&((r=B[n])!=null&&r.url)?B[n]:a&&((o=P[n])!=null&&o.url)?P[n]:{url:s(e[l])||e.url,filename:e.alt||$(e.title)||void 0}},T=(a,e,n,l)=>{const r={};return a&&(r.color=a),r},f=(a,e)=>({background:s(a.bgColor)||void 0,color:K(a.bgColor,a.textColor),paddingTop:a.paddingY!==void 0?d(a.paddingY):64,paddingBottom:a.paddingY!==void 0?d(a.paddingY):64,minHeight:d(a.minHeight)||void 0,...e}),u=a=>({maxWidth:!a.maxWidth||a.maxWidth==="full"?"100%":`${s(a.maxWidth)}px`,marginLeft:"auto",marginRight:"auto",paddingLeft:a.paddingX!==void 0?d(a.paddingX):32,paddingRight:a.paddingX!==void 0?d(a.paddingX):32}),Q=a=>a.alignment==="center"?"text-center":a.alignment==="right"?"text-right":"text-left",G="/linkedin-logo.svg",C=(a,e)=>{const n=(a||"").trim().toLowerCase(),l=(e||"").toLowerCase();return n==="linkedin"||l.includes("linkedin.com")},z=(a,e)=>C(a,e)?{target:"_blank",rel:"noopener noreferrer"}:{},E=(a,e)=>C(a,e)?t.jsxs(t.Fragment,{children:[t.jsx("span",{"aria-hidden":"true",className:"h-5 w-5 bg-current",style:{WebkitMask:`url(${G}) center / contain no-repeat`,mask:`url(${G}) center / contain no-repeat`}}),t.jsx("span",{className:"sr-only",children:"LinkedIn"})]}):a,ee=(a,e)=>C(a,e)?"inline-flex items-center justify-center min-w-14 px-4 py-3 rounded-full font-semibold text-white transition hover:brightness-90 active:brightness-75":"inline-flex items-center justify-center px-7 py-3 text-base font-semibold rounded-full text-white transition hover:brightness-90 active:brightness-75",qe=(a,e)=>C(a,e)?"inline-flex items-center justify-center min-w-14 px-4 py-3 rounded-full border-2 transition hover:opacity-80":"inline-flex items-center justify-center px-7 py-3 text-base font-semibold rounded-full border-2 transition hover:opacity-80",R=({text:a,link:e,cls:n=""})=>a?t.jsx("a",{href:e||"#","aria-label":C(a,e)?"LinkedIn":void 0,...z(a,e),className:`inline-flex items-center justify-center px-6 py-2.5 rounded-full font-semibold text-white transition hover:brightness-90 active:brightness-75 ${n}`,style:{background:"#9326E0"},children:E(a,e)}):null,Pe=(a,e)=>{const n=s(e.headingColor)?{color:s(e.headingColor),...d(e.headingSize)?{fontSize:d(e.headingSize)}:{}}:{background:"linear-gradient(to right, #9326E0, #8c38c7)",WebkitBackgroun
71dClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",...d(e.headingSize)?{fontSize:d(e.headingSize)}:{}},l=s(e.bgColor),r=l&&l!=="#ffffff"&&l!=="#fff"&&l!=="white"?l:"linear-gradient(135deg, #220536 0%, #1a0429 50%, #0f0118 100%)";return t.jsxs("section",{className:"relative w-full flex items-center overflow-hidden",style:{...f(e),background:r,color:s(e.textColor)||"#ffffff",...e.backgroundImage?{backgroundImage:`url(${s(e.backgroundImage)})`,backgroundSize:"cover",backgroundPosition:"center"}:{}},children:[t.jsx(he,{count:80}),t.jsx("div",{className:"absolute top-10 left-10 w-48 h-48 rounded-full blur-3xl pointer-events-none",style:{background:"#9326E0",opacity:.08}}),t.jsx("div",{className:"absolute bottom-10 right-10 w-56 h-56 rounded-full blur-3xl pointer-events-none",style:{background:"#204d74",opacity:.1}}),j(e.overlay)&&e.backgroundImage&&t.jsx("div",{className:"absolute inset-0 bg-black/50"}),t.jsxs("div",{className:`relative z-10 w-full space-y-5 ${Q(e)}`,style:u(e),children:[e.badge&&(()=>{const o=Re[s(e.badgeIcon)],c=s(e.badgeColor)||"#ffffff";return t.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full px-6 py-2.5 text-base font-medium",style:{background:"rgba(255,255,255,0.05)",backdropFilter:"blur(12px)",border:"1px solid rgba(147,38,224,0.30)",color:c},children:[o?t.jsx(o,{className:"h-4 w-4",style:{color:c}}):t.jsx("span",{children:s(e.badgeIcon)||"â¦"}),t.jsx("span",{children:s(e.badge)})]})})(),t.jsx("h1",{className:"text-5xl font-bold leading-tight",style:n,children:s(e.heading,"Hero Heading")}),e.subheading&&t.jsx("p",{className:`text-xl max-w-3xl leading-relaxed${s(e.alignment)!=="left"?" mx-auto":""}`,style:{color:s(e.subheadingColor)||"#d1d5db",textAlign:s(e.alignment)==="right"?"right":s(e.alignment)==="left"?"left":"center",...d(e.subheadingSize)?{fontSize:d(e.subheadingSize)}:{}},children:s(e.subheading)}),e.body&&t.jsx("p",{className:"text-base opacity-70",children:s(e.body)}),e.ctaText&&t.jsx("div",{className:"pt-2",children:t.jsx("a",{href:s(e.ctaLink,"#"),"aria-label":C(s(e.ctaText),s(e.ctaLink))?"LinkedIn":void 0,...z(s(e.ctaText),s(e.ctaLink)),className:ee(s(e.ctaText),s(e.ctaLink)),style:{background:s(e.ctaBg)||"#9326E0"},children:E(s(e.ctaText),s(e.ctaLink))})})]})]},a)},Je=(a,e)=>{s(e.heading).trim()&&(O=s(e.heading).trim());const n=K(e.bgColor,e.textColor),l=k(e.bgColor),r=e.alignment==="center"?"center":e.alignment==="right"?"flex-end":"flex-start",o=l?"[&_a]:text-white [&_a]:font-bold [&_a]:underline [&_a]:hover:opacity-80":"[&_a]:text-purple-900 [&_a]:font-bold [&_a]:underline [&_a]:hover:opacity-80";return t.jsx("section",{className:`w-full ${Q(e)}`,style:f(e,{background:s(e.bgColor)||"#ffffff",color:n}),children:t.jsxs("div",{className:"space-y-4",style:u(e),children:[e.heading&&(j(e.richHeading)?t.jsx("h2",{className:"text-3xl font-bold",style:T(s(e.headingColor)),dangerouslySetInnerHTML:{__html:s(e.heading)}}):t.jsx("h2",{className:"text-3xl font-bold",style:T(s(e.headingColor)),children:s(e.heading)})),e.subheading&&(j(e.richSubheading)?t.jsx("div",{className:`text-lg opacity-60 [&_ul]:list-disc [&_ul]:pl-5 [&_ol]:list-decimal [&_ol]:pl-5 [&_li]:mb-0.5 ${o}`,style:T(s(e.subheadingColor)),dangerouslySetInnerHTML:{__html:s(e.subheading)}}):t.jsx("p",{className:"text-lg opacity-60",style:T(s(e.subheadingColor)),children:s(e.subheading)})),e.body&&(j(e.richText)?t.jsx("div",{className:`prose max-w-none [&_ul]:list-disc [&_ul]:pl-5 [&_ol]:list-decimal [&_ol]:pl-5 [&_li]:mb-0.5 ${o}`,style:T(s(e.bodyColor)),dangerouslySetInnerHTML:{__html:s(e.body)}}):t.jsx("p",{className:"leading-relaxed opacity-80",style:T(s(e.bodyColor)),children:s(e.body)})),e.ctaText&&t.jsx("div",{className:"mt-2",style:{display:"flex",justifyContent:r},children:t.jsx(R,{text:s(e.ctaText),link:s(e.ctaLink)})})]})},a)},Ue=(a,e)=>{const n=Z(),l={width:s(e.imgWidth)||"100%",height:s(e.imgHeight)||(n?"clamp(220px, 24vw, 333px)":"auto"),borderRadius:d(e.imgRadius,0),objectFit:s(e.imgObjectFit)||"cover",padding:d(e.imgPadding,0),border:s(e.imgBorder)||void 0,display:"block"};return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:`flex flex-col gap-2 ${e.alignment==="center"?"items-center":e.alignment==="right"?"items-end":"items-start"}`,style:u(e),children:[e.url?t.jsx("img",{src:s(e.url),alt:s(e.alt),style:l}):t.jsx("div",{className:"flex h-48 w-full items-center justify-center rounded-xl bg-muted text-muted-foreground",children:"No image"}),e.caption&&t.jsx("p",{className:"text-sm opacity-60",children:s(e.caption)})]})},a)},Ve=(a,e)=>{var o,c;const n=s(e.url),l=n.includes("youtube.com")||n.includes("youtu.be"),r=l?((o=n.split("v=")[1])==null?void 0:o.split("&")[0])??((c=n.split("/").pop())==null?void 0:c.split("?")[0])??"":"";return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#f8fafc"}),children:t.jsxs("div",{className:"space-y-3",style:u(e),children:[e.videoTitle&&t.jsx("h3",{className:"font-semibold text-xl",children:s(e.videoTitle)}),t.jsx("div",{className:"w-full aspect-video overflow-hidden rounded-xl bg-slate-900",children:l&&r?t.jsx("iframe",{className:"w-full h-full",src:`https://www.youtube.com/embed/${r}${j(e.autoplay)?"?autoplay=1&mute=1":""}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):n?t.jsx("video",{src:n,controls:j(e.controls),autoPlay:j(e.autoplay),muted:j(e.muted),loop:j(e.loop),className:"w-full h-full object-cover",poster:s(e.thumbnail)||void 0}):t.jsx("div",{className:"flex h-full items-center justify-center text-white/50",children:"No video URL"})})]})},a)},Ge=(a,e)=>{const n=p(e.imagesJson,[]),l=d(e.columns,3),r=e.showOverlay!==!1,o=n.length>0?Math.min(l,n.length):l,c=Y(),x=c==="/p/poster",g=Z(),w=Oe(e).trim()||O.toLowerCase(),b=g&&w.includes("visual resources"),m=(g||x)&&w.includes("educational resources");b&&(B=n.map(i=>({url:i.url,filename:i.alt||$(i.title)||void 0})));const h=x?280:365,S=x||c==="/p/board-directors"||o<l?o*h+(o-1)*20:void 0,F=s(e.bgColor)&&s(e.bgColor)!=="#ffffff"?s(e.bgColor):"linear-gradient(135deg, #220536 0%, #1a0429 50%, #0f0118 100%)",N=k(e.bgColor),q=N?"#ffffff"
71:"#9326E0",H=`${N?"[&_a]:text-white":"[&_a]:text-purple-800"} [&_a]:underline [&_a]:font-semibold [&_a]:hover:opacity-80`,te=x?{gridTemplateColumns:`repeat(auto-fit, minmax(220px, ${h}px))`,justifyContent:"center"}:{gridTemplateColumns:`repeat(${o}, minmax(0, 1fr))`};return t.jsx("section",{className:"w-full",style:f(e,{background:F}),children:t.jsxs("div",{className:"space-y-6",style:u(e),children:[(e.heading||e.subheading)&&t.jsxs("div",{className:"space-y-2",children:[e.heading&&t.jsx("h2",{className:"text-3xl font-bold text-white",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"text-white/60",children:s(e.subheading)})]}),t.jsx("div",{className:"grid gap-5",style:{...te,alignItems:"start",maxWidth:S,marginLeft:S?"auto":void 0,marginRight:S?"auto":void 0,width:"100%"},children:n.map((i,D)=>t.jsxs("div",{className:"group flex flex-col",style:{height:"100%"},children:[t.jsx("div",{className:`relative overflow-hidden rounded-2xl border border-[#9327e0]/20 bg-white/5 transition-all duration-500 hover:border-[#9327e0]/50 hover:shadow-[0_0_24px_rgba(147,39,224,0.25)]${!x&&!g?" aspect-square":""}`,style:{backdropFilter:"blur(4px)",...x?{height:220}:{}},children:i.url?t.jsx("img",{src:i.url,alt:i.alt||"",className:x?"h-full w-full object-contain p-2 transition-transform duration-500 group-hover:scale-105":g?"w-full h-auto block transition-transform duration-500 group-hover:scale-105":"h-full w-full object-cover transition-transform duration-500 group-hover:scale-110"}):t.jsx("div",{className:"h-full w-full",style:{background:"linear-gradient(135deg, rgba(147,39,224,0.15) 0%, rgba(32,77,116,0.15) 100%)"}})}),r&&t.jsxs("div",{className:"mt-3 px-1 flex flex-col flex-1",children:[t.jsxs("div",{className:"flex-1 space-y-1",children:[i.date&&t.jsx("p",{className:"text-xs opacity-50",children:s(i.date)}),i.title&&t.jsx("div",{className:`font-semibold text-base leading-tight ${H}`,dangerouslySetInnerHTML:{__html:s(i.title)}}),i.subheading&&t.jsx("div",{className:`text-sm opacity-80 ${H}`,dangerouslySetInnerHTML:{__html:s(i.subheading)}}),i.caption&&t.jsx("div",{className:`text-sm leading-snug opacity-70 ${H}`,dangerouslySetInnerHTML:{__html:s(i.caption)}})]}),(i.ctaText||i.cta2Text)&&t.jsxs("div",{className:"mt-3 flex flex-wrap gap-2",children:[i.ctaText&&(J(i.ctaText)?t.jsx("button",{type:"button",onClick:()=>{const L=V(m,i,D,"ctaLink");U(L.url,L.filename)},className:"inline-flex px-7 py-3 text-base font-semibold rounded-full text-white transition hover:brightness-90 active:brightness-75",style:{background:"#9326E0"},children:s(i.ctaText)}):t.jsx("a",{href:s(i.ctaLink)||"#","aria-label":C(s(i.ctaText),s(i.ctaLink))?"LinkedIn":void 0,...z(s(i.ctaText),s(i.ctaLink)),"data-download-title":$(s(i.title))||s(i.alt),className:ee(s(i.ctaText),s(i.ctaLink)),style:{background:"#9326E0"},children:E(s(i.ctaText),s(i.ctaLink))})),i.cta2Text&&(J(i.cta2Text)?t.jsx("button",{type:"button",onClick:()=>{const L=V(m,i,D,"cta2Link");U(L.url,L.filename)},className:"inline-flex px-7 py-3 text-base font-semibold rounded-full transition hover:opacity-80",style:{border:"2px solid #9326E0",color:q},children:s(i.cta2Text)}):t.jsx("a",{href:s(i.cta2Link)||"#","aria-label":C(s(i.cta2Text),s(i.cta2Link))?"LinkedIn":void 0,...z(s(i.cta2Text),s(i.cta2Link)),"data-download-title":$(s(i.title))||s(i.alt),className:qe(s(i.cta2Text),s(i.cta2Link)),style:{borderColor:"#9326E0",color:q},children:E(s(i.cta2Text),s(i.cta2Link))}))]})]})]},D))})]})},a)},Xe=(a,e)=>{const n=p(e.cardsJson,[]),l=d(e.columns,3),r=k(e.bgColor),o=r?{background:"rgba(255,255,255,0.07)",border:"1px solid rgba(255,255,255,0.12)"}:{background:"#ffffff",border:"1px solid #e2e8f0"}
71,c=r?"#ffffff":"#1e293b",x=d(e.labelFontSize,12),g=d(e.headingFontSize,30),w=d(e.subheadingFontSize,16),b=d(e.cardTitleFontSize,18),m=d(e.cardDescFontSize,14);return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#f8fafc"}),children:t.jsxs("div",{className:"space-y-10",style:u(e),children:[(e.label||e.heading||e.subheading)&&t.jsxs("div",{className:"text-center space-y-1",children:[e.label&&t.jsx("p",{className:"font-semibold uppercase tracking-widest",style:{color:"#9326E0",fontSize:`${x}px`},children:s(e.label)}),e.heading&&t.jsx("h2",{className:"font-bold",style:{fontSize:`${g}px`},children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",style:{fontSize:`${w}px`},children:s(e.subheading)})]}),t.jsx("div",{className:"grid gap-6",style:{gridTemplateColumns:`repeat(${Math.min(n.length||l,l)}, minmax(0, 1fr))`},children:n.map((h,v)=>{const M=r?"[&_a]:text-white [&_a]:font-bold [&_a]:underline [&_a]:hover:opacity-80":"[&_a]:text-purple-800 [&_a]:font-bold [&_a]:underline [&_a]:hover:opacity-80";return t.jsxs("div",{className:"rounded-xl p-6 shadow-sm space-y-2",style:o,children:[h.icon&&t.jsx("span",{className:"text-3xl block",children:h.icon}),h.title&&t.jsx("h3",{className:"font-semibold",style:{fontSize:`${b}px`,color:c},children:h.title}),h.description&&t.jsx("div",{className:`opacity-60 ${M}`,style:{fontSize:`${m}px`,color:c},dangerouslySetInnerHTML:{__html:h.description}}),h.link&&t.jsx("a",{href:h.link,className:"font-medium hover:underline",style:{color:"#9326E0",fontSize:`${m}px`},children:"Learn more â"})]},v)})})]})},a)},Ye=(a,e)=>{const n=p(e.testimonialsJson,[]),r=k(e.bgColor)?{background:"rgba(255,255,255,0.07)",border:"1px solid rgba(255,255,255,0.12)"}:{background:"hsl(var(--muted) / 0.3)",border:"1px solid hsl(var(--border))"};return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-10",style:u(e),children:[t.jsxs("div",{className:"text-center space-y-1",children:[e.label&&t.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest",style:{color:"#9326E0"},children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",children:s(e.subheading)})]}),t.jsx("div",{className:"grid gap-6 md:grid-cols-2",children:n.map((o,c)=>t.jsxs("div",{className:"rounded-xl p-6 space-y-3",style:r,children:[t.jsx("p",{className:"text-2xl opacity-30",children:'"'}),t.jsx("p",{className:"italic text-sm leading-relaxed",children:o.quote}),t.jsxs("div",{children:[t.jsx("p",{className:"font-semibold text-sm",children:o.author}),t.jsxs("p",{className:"text-xs opacity-50",children:[o.role,o.company?`, ${o.company}`:""]})]})]},c))})]})},a)},Ze=(a,e)=>{const n=p(e.faqsJson,[]),l=k(e.bgColor),r=l?{border:"1px solid rgba(255,255,255,0.12)",borderRadius:"0.75rem",overflow:"hidden"}:{border:"1px solid hsl(var(--border))",borderRadius:"0.75rem",overflow:"hidden"},o=l?{borderBottom:"1px solid rgba(255,255,255,0.08)",background:"rgba(255,255,255,0.04)"}:{borderBottom:"1px solid hsl(var(--border))",background:"hsl(var(--background))"};return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-10",style:u(e),children:[t.jsxs("div",{className:"text-center space-y-1",children:[e.label&&t.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest",style:{color:"#9326E0"},children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",children:s(e.subheading)})]}),t.jsx("div",{style:r,children:n.map((c,x)=>t.jsxs("div",{className:"px-5 py-4 space-y-1",style:x<n.length-1?o:{...o,borderBottom:"none"},children:[t.jsx("p",{className:"font-semibold text-sm",children:c.question}),c.answer&&t.jsx("p",{className:"text-sm opacity-60",children:c.answer})]},x))}),e.ctaText&&t.jsx("div",{className:"text-center",children:t.jsx(R,{text:s(e.ctaText),link:s(e.ctaLink)})})]})},a)},Ke=(a,e)=>{const n=p(e.fieldsJson,[]);return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-8",style:u(e),children:[t.jsxs("div",{className:"space-y-1",children:[e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",children:s(e.subheading)}),e.body&&t.jsx("p",{className:"text-sm opacity-40",children:s(e.body)})]}),t.jsxs("form",{className:"space-y-4",onSubmit:l=>l.preventDefault(),children:[n.map((l,r)=>t.jsxs("div",{className:"space-y-1",children:[t.jsxs("label",{className:"text-sm font-medium",children:[l.label,l.required&&t.jsx("span",{className:"text-destructive ml-0.5",children:"*"})]}),l.type==="textarea"?t.jsx("textarea",{name:l.name,required:l.required,
71className:"w-full rounded-md border px-3 py-2 text-sm min-h-[80px] bg-background"}):t.jsx("input",{type:l.type||"text",name:l.name,required:l.required,className:"w-full rounded-md border px-3 py-2 text-sm bg-background"})]},r)),t.jsx("button",{type:"submit",className:"w-full py-2.5 rounded-lg font-semibold text-white transition hover:brightness-90 active:brightness-75",style:{background:"#9326E0"},children:s(e.submitText,"Submit")})]})]})},a)},Qe=(a,e)=>{const n=p(e.plansJson,[]);return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#f8fafc"}),children:t.jsxs("div",{className:"space-y-10",style:u(e),children:[t.jsxs("div",{className:"text-center space-y-1",children:[e.label&&t.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-primary",children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",children:s(e.subheading)})]}),t.jsx("div",{className:"grid gap-6",style:{gridTemplateColumns:`repeat(${Math.min(n.length||2,3)}, minmax(0, 1fr))`},children:n.map((l,r)=>{const o=k(e.bgColor),c=l.highlighted?{background:"#9326E0",border:"2px solid #9326E0",color:"#ffffff"}:o?{background:"rgba(255,255,255,0.07)",border:"1px solid rgba(255,255,255,0.12)"}:{background:"hsl(var(--card))",border:"1px solid hsl(var(--border))"};return t.jsxs("div",{className:`rounded-xl p-6 flex flex-col space-y-4 ${l.highlighted?"shadow-lg":""}`,style:c,children:[t.jsxs("div",{children:[t.jsx("p",{className:"font-bold text-lg",children:l.name}),t.jsxs("p",{className:"text-3xl font-bold mt-1",children:[l.price,t.jsx("span",{className:"text-sm font-normal opacity-50",children:l.period})]}),l.description&&t.jsx("p",{className:"text-sm opacity-60 mt-1",children:l.description})]}),t.jsx("ul",{className:"space-y-1.5 flex-1",children:(l.features||[]).map((x,g)=>t.jsxs("li",{className:`text-sm flex gap-2 ${x.included===!1?"opacity-40":""}`,children:[t.jsx("span",{children:x.included!==!1?"â":"â"}),x.text]},g))}),l.ctaText&&t.jsx("a",{href:l.ctaLink||"#",className:"block w-full text-center py-2.5 rounded-lg font-semibold text-white transition hover:brightness-90 active:brightness-75",style:{background:"#9326E0"},children:l.ctaText})]},r)})})]})},a)},et=(a,e)=>{const n=p(e.membersJson,[]),l=d(e.columns,3);return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-10",style:u(e),children:[t.jsxs("div",{className:"text-center space-y-1",children:[e.label&&t.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-primary",children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",children:s(e.subheading)})]}),t.jsx("div",{className:"grid gap-8",style:{gridTemplateColumns:`repeat(${Math.min(n.length||l,l)}, minmax(0, 1fr))`},children:n.map((r,o)=>{var c;return t.jsxs("div",{className:"flex flex-col items-center text-center gap-3 p-4",children:[r.avatar?t.jsx("img",{src:r.avatar,alt:r.name,className:"w-20 h-20 rounded-full object-cover"}):t.jsx("div",{className:"w-20 h-20 rounded-full flex items-center justify-center text-2xl font-bold opacity-60",style:{background:"rgba(147,38,224,0.2)",color:"#c084fc"},children:(c=r.name)==null?void 0:c[0]}),t.jsxs("div",{children:[t.jsx("p",{className:"font-semibold",children:r.name}),t.jsx("p",{className:"text-xs font-medium",style:{color:"#9326E0"},children:r.role}),r.bio&&t.jsx("p",{className:"text-xs opacity-50 mt-1",children:r.bio})]})]},o)})})]})},a)},tt=(a,e)=>{const n=p(e.statsJson,[]);return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#0f172a",color:s(e.textColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-10",style:u(e),children:[(e.heading||e.subheading)&&t.jsxs("div",{className:"text-center space-y-1 max-w-2xl mx-auto",children:[e.label&&t.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest text-primary",children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",children:s(e.subheading)})]}),t.jsx("div",{className:"grid gap-8",style:{gridTemplateColumns:`repeat(${Math.min(n.length||4,4)}, minmax(0, 1fr))`},children:n.map((l,r)=>t.jsxs("div",{className:"text-center space-y-1",children:[l.icon&&t.jsx("span",{className:"text-2xl block",children:l.icon}),t.jsxs("p",{className:"text-4xl font-bold",children:[l.prefix,l.value,l.suffix]}),t.jsx("p",{className:"text-sm opacity-60",children:l.label})]},r))})]})},a)},st=(a,e)=>{const n=s(e.bgColor)||"#9326E0",l=!k(n),r=l?{background:"#9326E0",color:"#ffffff"}:{background:"rgba(255,255,255,0.2)",color:"inherit",border:"1px solid rgba(255,255,255,0.35)"};return t.jsxs("section",{className:"w-full flex flex-col items-center justify-center gap-1 text-center",style:{background:n,color:s(e.textColor)||(l?"#1e293b":"#ffffff"),paddingTop:e.paddingY!==void 0?d(e.paddingY):12,paddingBottom:e.paddingY!==void 0?d(e.paddingY):12,paddingLeft:e.paddingX!==void 0?d(e.paddingX
71):24,paddingRight:e.paddingX!==void 0?d(e.paddingX):24},children:[t.jsxs("div",{className:"flex items-center justify-center gap-3 flex-wrap",children:[e.icon&&t.jsx("span",{className:"text-lg",children:s(e.icon)}),t.jsx("p",{className:"text-sm font-medium",children:s(e.message,"Announcement message.")}),e.linkLabel&&t.jsx("a",{href:s(e.link,"#"),className:"inline-flex items-center px-4 py-1 text-sm font-semibold rounded-full transition hover:brightness-90 active:brightness-75",style:r,children:s(e.linkLabel)})]}),e.subheading&&t.jsx("p",{className:"text-xs opacity-70 mt-0.5",children:s(e.subheading)})]},a)},at=(a,e)=>t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-4",style:u(e),children:[e.heading&&t.jsx("h3",{className:"font-semibold text-xl",children:s(e.heading)}),e.embedCode?t.jsx("div",{dangerouslySetInnerHTML:{__html:s(e.embedCode)}}):e.url?t.jsx("div",{className:"w-full rounded-xl overflow-hidden",style:{aspectRatio:s(e.aspectRatio,"16/9")},children:t.jsx("iframe",{src:s(e.url),className:"w-full h-full border-0",title:s(e.heading,"Embed"),allowFullScreen:!0})}):t.jsx("div",{className:"w-full h-64 rounded-xl border-2 border-dashed border-muted flex items-center justify-center opacity-40 text-sm",children:"No embed content"})]})},a),lt=(a,e)=>{const n=s(e.alignment)||"center",l=n==="center"?"text-center":n==="right"?"text-right":"text-left",r=n==="center"?"justify-center":n==="right"?"justify-end":"justify-start";return t.jsxs("section",{className:"relative w-full flex items-center overflow-hidden",style:f(e,{background:s(e.bgColor)||"hsl(var(--primary))",color:s(e.textColor)||"#ffffff",backgroundImage:e.backgroundImage?`url(${s(e.backgroundImage)})`:void 0,backgroundSize:"cover",backgroundPosition:"center"}),children:[j(e.overlay)&&e.backgroundImage&&t.jsx("div",{className:"absolute inset-0 bg-black/50"}),t.jsxs("div",{className:`relative z-10 space-y-4 w-full ${l}`,style:u(e),children:[e.label&&t.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest opacity-70",children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"text-lg opacity-80",children:s(e.subheading)}),e.body&&t.jsx("p",{className:"opacity-70 text-sm",children:s(e.body)}),t.jsxs("div",{className:`flex flex-wrap gap-3 pt-2 ${r}`,children:[e.ctaText&&t.jsx("a",{href:s(e.ctaLink,"#"),className:"inline-flex px-6 py-3 bg-white text-sm font-semibold rounded-full transition hover:brightness-90 active:brightness-75",style:{color:"#9326E0"},children:s(e.ctaText)}),e.secondaryCtaText&&t.jsx("a",{href:s(e.secondaryCtaLink,"#"),className:"inline-flex px-6 py-3 border border-white/40 text-sm font-semibold rounded-full transition hover:brightness-90 active:brightness-75",children:s(e.secondaryCtaText)})]})]})]},a)},nt=(a,e)=>{const n=p(e.timelineJson,[]),l=k(e.bgColor),r="#9326E0",o=l?"rgba(255,255,255,0.15)":"hsl(var(--muted))",c=l?"#1a0429":"hsl(var(--background))";return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-10",style:u(e),children:[t.jsxs("div",{className:"text-center space-y-1",children:[e.label&&t.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest",style:{color:r},children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"text-base opacity-60",children:s(e.subheading)})]}),t.jsx("div",{className:"relative ml-4 space-y-8 pl-8",style:{borderLeft:`2px solid ${o}`},children:n.map((x,g)=>t.jsxs("div",{className:"relative",children:[t.jsx("span",{className:"absolute -left-[2.1rem] flex h-5 w-5 items-center justify-center rounded-full border-2 text-[10px] font-bold",style:{borderColor:r,background:c,color:r},children:x.icon||"â"}),x.date&&t.jsx("p",{className:"text-sm font-semibold mb-1",style:{color:r},children:x.date}),t.jsx("p",{className:"text-lg font-semibold",children:x.title}),x.description&&t.jsx("p",{className:"text-base opacity-60 mt-1",children:x.description})]},g))})]})},a)},rt=(a,e)=>{const n=p(e.logosJson,[]);return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#f8fafc"}),children:t.jsxs("div",{className:"space-y-6",style:u(e),children:[e.heading&&t.jsx("p",{className:"text-center text-sm font-medium opacity-60",children:s(e.heading)}),t.jsx("div",{className:"flex flex-wrap items-center justify-center gap-6",children:n.map((l,r)=>{const o=l.imageUrl?t.jsx("img",{src:l.imageUrl,alt:l.name,className:"h-full w-full object-contain"}):t.jsx("span",{className:"text-xl font-bold text-slate-800 px-4 text-center leading-tight",children:l.name});return l.url?t.jsx("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",className:"h-28 w-48 flex items-center justify-center rounded-lg border border-gray-100 bg-white shadow-sm overflow-hidden",children:o},r):t.jsx("div",{className:"h-28 w-48 flex items-center justify-center rounded-lg border border-gray-100 bg-white shadow-sm overflow-hidden",children:o},r)})})]})},a)},ot=(a,e)=>{const n=p(e.headersJson,[]),l=p(e.rowsJson,[]);return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-4 overflow-x-auto",style:u(e),children:[e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",children:s(e.subheading)}),t.jsx("div",{className:"overflow-hidden rounded-xl",style:{border:"1px solid #e2e8f0"},children:t.jsxs("table",{className:"w-full text-sm",style:{color:"#1e293b"},children:[t.jsx("thead",{style:{background:"#9326E0"},children:t.jsx("tr",{children:n.map((r,o)=>t.jsx("th",{className:"px-4 py-3 text-left font-semibold",style:{color:"#ffffff"},children:r},o))})}),t.jsx("tbody",{style:{background:"#ffffff"},children:l.map((r,o)=>t.jsx("tr",{style:{borderTop:"1px solid #e2e8f0"},className:"transition hover:bg-slate-50",children:r.map((c,x)=>t.jsx("td",{className:"px-4 py-3",style:{color:"#334155"},children:c},x))},o))})]})}),e.tableCaption&&t.jsx("p",{className:"text-xs text-center opacity-40",children:s(e.tableCaption)})]})},a)},it=(a,e)=>{const n=s(e.alignment)||"center",l=n==="center"?"justify-center":n==="right"?"justify-end":"justify-start",r={sm:"px-4 py-2 text-sm",md:"px-7 py-3 text-base",lg:"px-10 py-4 text-lg"},o=r[s(e.size)||"md"]||r.md,c=s(e.variant)||"filled",x=s(e.btnBg)||"#9326E0",g={borderRadius:d(e.radius,999),width:j(e.fullWidth)?"100%":void 0,fontWeight:600,display:"inline-flex",alignItems:"center",textDecoration:"none",transition:"opacity 0.2s",...c==="filled"?{background:x,color:s(e.btnTextColor)||"#ffffff"}:c==="outline"?{background:"transparent",border:`2px solid ${x}`,color:x}:{background:"transparent",color:x}};return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||void 0}),children:t.jsx("div",{className:`flex ${l}`,style:u(e),children:t.jsx("a",{href:s(e.link,"#"),className:o,style:g,children:s(e.text,"Click Here")})})},a)},ct=(a,e)=>{const n=p(e.stepsJson,[]),r=k(e.bgColor)?{background:"rgba(147,38,224,0.25)",color:"#c084fc"}:{background:"rgba(147,38,224,0.1)",color:"#9326E0"};return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:"space-y-10",style:u(e),children:[t.jsxs("div",{className:"text-center space-y-1",children:[e.label&&t.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest",style:{color:"#9326E0"},children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"opacity-60",children:s(e.subheading)})]}),t.jsx("div",{className:"grid gap-6",style:{gridTemplateColumns:`repeat(${Math.min(n.length||3,4)}, minmax(0, 1fr))`},children:n.map((o,c)=>t.jsxs("div",{className:"flex flex-col gap-3",children:[t.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-xl text-lg font-bold",style:r,children:o.icon||o.step||String(c+1).padStart(2,"0")}),t.jsxs("div",{children:[t.jsx("p",{className:"font-semibold",children:o.title}),o.description&&t.jsx("p",{className:"text-sm opacity-60 mt-0.5",children:o.description})]})]},c))}),e.ctaText&&t.jsx("div",{className:"text-center",children:t.jsx(R,{text:s(e.ctaText),link:s(e.ctaLink)})})]})},a)},dt=(a,e)=>{const n=(s(e.imageSide)||"left")==="left";return t.jsx("section",{className:"w-full",style:f(e,{background:s(e.bgColor)||"#ffffff"}),children:t.jsxs("div",{className:`flex flex-col md:flex-row gap-10 items-center ${n?"":"md:flex-row-reverse"}`,style:u(e),children:[t.jsx("div",{className:"w-full md:w-1/2",children:s(e.imageUrl)?t.jsx("img",{src:s(e.imageUrl),alt:s(e.imageAlt),className:"w-full rounded-2xl block",style:{maxHeight:480,objectFit:"contain"}}):t.jsx("div",{className:"w-full rounded-2xl flex items-center justify-center",style:{height:320,background:"rgba(147,39,224,0.06)",border:"2px dashed rgba(147,39,224,0.2)"},children:t.jsx("span",{className:"text-sm opacity-40",children:"Image"})})}),t.jsxs("div",{className:"w-full md:w-1/2 space-y-4",children:[e.label&&t.jsx("p",{className:"text-xs font-semibold uppercase tracking-widest",style:{color:"#9326E0"},children:s(e.label)}),e.heading&&t.jsx("h2",{className:"text-3xl font-bold",children:s(e.heading)}),e.subheading&&t.jsx("p",{className:"text-lg opacity-60",children:s(e.subheading)}),e.body&&t.jsx("p",{className:"leading-relaxed opacity-80",children:s(e.body)}),e.ctaText&&t.jsx(R,{text:s(e.ctaText),link:s(e.ctaLink)})]})]})},a)},I={SectionHero:Pe,SectionTextBlock:Je,SectionImage:Ue,SectionVideo:Ve,SectionGallery:Ge,SectionCardGrid:Xe,SectionTestimonials:Ye,SectionFaq:Ze,SectionForm:Ke,SectionPricing:Qe,SectionTeam:et,SectionStats:tt,SectionBanner:st,SectionEmbed:at,SectionCta:lt,SectionTimeline:nt,SectionLogos:rt,SectionTable:ot,SectionSteps:ct,SectionButton:it,SectionImageText:dt},A=(a,e=0)=>{if(!a||a.hidden)return null;const n=`${a.type}-${e}`,l=a.props,r=(a.children||[]).map((o,c)=>A(o,c));if(a.type in I)return I[a.type](n,l);
71switch(a.type){case"BuilderSection":return t.jsx("div",{style:{background:s(l.background),padding:d(l.padding),minHeight:d(l.minHeight)||void 0},children:r},n);case"BuilderContainer":return t.jsx("div",{style:{background:s(l.background),padding:d(l.padding),borderRadius:d(l.radius)},children:r},n);case"BuilderText":return t.jsx("p",{style:{color:s(l.color),fontSize:d(l.fontSize),textAlign:s(l.align),margin:0},children:s(l.text)},n);case"BuilderButton":return t.jsx("a",{href:s(l.href,"#"),style:{display:"inline-block",background:s(l.background),color:s(l.color),borderRadius:d(l.radius),padding:"10px 24px",textDecoration:"none",fontWeight:600},children:s(l.text)},n);case"BuilderImage":return t.jsx("img",{src:s(l.src),alt:s(l.alt),style:{borderRadius:d(l.radius),maxWidth:"100%"}},n);case"BuilderSpacer":return t.jsx("div",{style:{height:d(l.height)}},n);default:return t.jsx("div",{children:r},n)}},W=(a,e)=>{const n=e[a];if(!n||n.hidden)return null;const{resolvedName:l}=n.type,r=n.props;if(l in I)return I[l](a,r);const o=n.nodes.map(c=>W(c,e));switch(l){case"BuilderSection":return t.jsx("div",{style:{background:s(r.background),padding:d(r.padding),minHeight:d(r.minHeight)||void 0},children:o},a);case"BuilderContainer":return t.jsx("div",{style:{background:s(r.background),padding:d(r.padding),borderRadius:d(r.radius)},children:o},a);case"BuilderText":return t.jsx("p",{style:{color:s(r.color),fontSize:d(r.fontSize),textAlign:s(r.align),margin:0},children:s(r.text)},a);case"BuilderButton":return t.jsx("a",{href:s(r.href,"#"),style:{display:"inline-block",background:s(r.background),color:s(r.color),borderRadius:d(r.radius),padding:"10px 24px",textDecoration:"none",fontWeight:600},children:s(r.text)},a);case"BuilderImage":return t.jsx("img",{src:s(r.src),alt:s(r.alt),style:{borderRadius:d(r.radius),maxWidth:"100%"}},a);case"BuilderSpacer":return t.jsx("div",{style:{height:d(r.height)}},a);default:return t.jsx("div",{children:o},a)}},Ct=()=>{const e=se()["*"]??"",n=ae(),l=_.useCallback(b=>{var S;const m=b.target.closest("a");if(!m)return;const h=m.getAttribute("href")??"",v=((S=m.textContent)==null?void 0:S.trim())??"",M=h&&He.test(h)||v.toLowerCase().includes("download");if(h.toLowerCase().includes("linkedin.com")){b.preventDefault(),window.open(h,"_blank","noopener,noreferrer");return}if(h==="#"){b.preventDefault();return}if(M&&h&&h!=="#"){const F=m.getAttribute("data-download-title")||void 0;X({assetTitle:We(e,h,v,F),assetUrl:h,assetType:"custom-page"}),b.preventDefault();const N=document.createElement("a");N.href=h,N.download="",N.rel="noopener noreferrer",document.body.appendChild(N),N.click(),document.body.removeChild(N);return}h&&h.startsWith("/")&&(b.preventDefault(),n(h))},[n,e]),[r,o]=_.useState(null),[c,x]=_.useState(!0),[g,w]=_.useState(!1);return _.useEffect(()=>{if(!e){w(!0),x(!1);return}x(!0),w(!1),fetch(`${Fe}/pages/${e}`).then(b=>{if(!b.ok)throw new Error("not found");return b.json()}).then(b=>{var h;const m=(h=b.page)==null?void 0:h.content;if(B=[],O="",!m){o(t.jsx("p",{className:"text-center py-20 opacity-40",children:"This page has no content yet."}));return}if(typeof m=="object"&&"type"in m&&"children"in m&&!("ROOT"in m)){o(A(m));return}if(typeof m=="object"&&"ROOT"in m){o(W("ROOT",m));return}if(typeof m=="string"){try{const v=JSON.parse(m);o("ROOT"in v?W("ROOT",v):A(v))}catch{o(t.jsx("p",{className:"text-center py-20 opacity-40",children:"Unable to render page content."}))}return}o(t.jsx("p",{className:"text-center py-20 opacity-40",children:"This page has no content yet."}))}).catch(()=>w(!0)).finally(()=>x(!1))},[e]),t.jsxs("div",{className:"min-h-screen",children:[t.jsx(ce,{}),t.jsxs("main",{onClick:l,children:[c&&t.jsx("div",{className:"flex items-center justify-center py-40",children:t.jsx(le,{className:"w-8 h-8 text-brand animate-spin"})}),!c&&g&&t.jsxs("div",{className:"flex flex-col items-center justify-center py-40 gap-2",children:[t.jsx("h1",{className:"text-2xl font-semibold",children:"Page not found"}),t.jsxs("p",{className:"opacity-50",children:["No published page exists at ",t.jsxs("code",{children:["/",e]})]})]}),!c&&!g&&r]}),t.jsx(de,{})]})};export{Ct as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.