PageSourceSearch

https://citiesabc.com/_next/static/chunks/ca2053aa059a3a81.js

js citiesabc.com collected 2026-10-02 07:41:21 UTC 321,725 bytes, 243 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,797889,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(234913);function a(e,t){let l=e.tracking_url||e.cta_url,s=e.affiliate_id||t;if(!s)return l;try{let e=new URL(l);return e.searchParams.set("ref",s),e.toString()}catch{let e=l.includes("?")?"&":"?";return`${l}${e}ref=${encodeURIComponent(s)}`}}function r({rating:e,isLight:l}){let s=Math.floor(e),a=e-s>=.5,r=l?"text-gray-300":"text-gray-600";return(0,t.jsxs)("div",{className:"flex items-center gap-0.5",children:[Array.from({length:s}).map((e,l)=>(0,t.jsx)("svg",{className:"w-4 h-4 text-yellow-400",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},`f${l}`)),a&&(0,t.jsxs)("svg",{className:"w-4 h-4 text-yellow-400",fill:"currentColor",viewBox:"0 0 20 20",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"halfGrad",children:[(0,t.jsx)("stop",{offset:"50%",stopColor:"currentColor"}),(0,t.jsx)("stop",{offset:"50%",stopColor:l?"#d1d5db":"#4b5563"})]})}),(0,t.jsx)("path",{fill:"url(#halfGrad)",d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})]}),Array.from({length:5-s-!!a}).map((e,l)=>(0,t.jsx)("svg",{className:`w-4 h-4 ${r}`,fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},`e${l}`)),(0,t.jsx)("span",{className:`ml-1 text-xs ${l?"text-gray-500":"text-gray-400"}`,children:e.toFixed(1)})]})}function i({label:e,value:l,isLight:s}){return(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:`text-[10px] uppercase tracking-wider font-medium ${s?"text-gray-500":"text-gray-400"}`,children:e}),(0,t.jsx)("span",{className:`text-sm font-semibold ${s?"text-gray-900":"text-white"}`,children:l})]})}function n({offer:e,isLight:l}){let s=[{label:e.metric_label_1,value:e.metric_value_1},{label:e.metric_label_2,value:e.metric_value_2},{label:e.metric_label_3,value:e.metric_value_3}].filter(e=>e.label&&e.value);return 0===s.length?null:(0,t.jsx)("div",{className:"flex flex-wrap gap-4",children:s.map(e=>(0,t.jsx)(i,{label:e.label,value:e.value,isLight:l},e.label))})}function o({offer:e,isLight:l,partnerId:s}){return(0,t.jsx)("a",{href:a(e,s),target:e.cta_target,rel:"noopener noreferrer sponsored",className:`inline-flex items-center justify-center px-5 py-2.5 rounded-full text-sm font-medium transition-opacity whitespace-nowrap hover:opacity-90 ${l?"bg-primary text-white":"bg-white text-gray-900"}`,children:e.cta_label})}function c({label:e}){return(0,t.jsx)("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-emerald-100 text-emerald-800",children:e})}function d({text:e,isLight:l}){return(0,t.jsx)("p",{className:`text-[11px] leading-relaxed ${l?"text-gray-500":"text-gray-400"}`,children:e})}function u({block:e,isLight:s}){return(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-6",children:e.offers.map((a,i)=>(0,t.jsxs)("div",{className:`relative flex flex-col rounded-2xl border p-6 space-y-4 transition-shadow hover:shadow-lg w-full md:w-[calc(50%-12px)] lg:w-[calc(33.333%-16px)] ${s?"bg-white border-gray-200 text-gray-900":"bg-[#0f172a] border-white/10 text-white"}`,children:[a.highlight_label&&(0,t.jsx)("div",{className:"absolute -top-3 left-4",children:(0,t.jsx)(c,{label:a.highlight_label})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[a.provider_logo&&(0,t.jsx)("div",{className:`relative w-12 h-12 rounded-xl overflow-hidden flex-shrink-0 ${s?"bg-gray-100":"bg-white/10"}`,children:(0,t.jsx)(l.default,{src:a.provider_logo.url,alt:a.provider_logo.alternativeText||a.provider_name,fill:!0,className:"object-contain p-1.5"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-semibold",children:a.provider_name}),a.rating&&(0,t.jsx)(r,{rating:a.rating,isLight:s})]})]}),(0,t.jsx)("p",{className:`text-sm font-medium ${s?"text-gray-800":"text-gray-200"}`,children:a.title}),a.description&&(0,t.jsx)("p",{className:`text-xs leading-relaxed ${s?"text-gray-500":"text-gray-400"}`,children:a.description}),(0,t.jsx)(n,{offer:a,isLight:s}),(0,t.jsx)("div",{className:"mt-auto pt-2",children:(0,t.jsx)(o,{offer:a,isLight:s,partnerId:e.partner_id})}),a.disclaimer&&(0,t.jsx)(d,{text:a.disclaimer,isLight:s})]},i))})}let m={comparison_table:function({block:e,isLight:s}){return(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full text-left",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:`border-b ${s?"border-gray-200":"border-white/10"}`,children:[(0,t.jsx)("th",{className:`py-3 px-4 text-xs uppercase tracking-wider font-medium ${s?"text-gray-500":"text-gray-400"}`,children:"Provider"}),e.offers[0]?.metric_label_1&&(0,t.jsx)("th",{className:`py-3 px-4 text-xs uppercase tracking-wider font-medium ${s?"text-gray-500":"text-gray-400"}`,children:e.offers[0].metric_label_1}),e.offers[0]?.metric_label_2&&(0,t.jsx)("th",{className:`py-3 px-4 text-xs uppercase tracking-wider font-medium ${s?"text-gray-500":"text-gray-400"}`,children:e.offers[0].metric_label_2}),e.offers[0]?.metric_label_3&&(0,t.jsx)("th",{className:`py-3 px-4 text-xs uppercase tracking-wider font-medium ${s?"text-gray-500":"text-gray-400"}`,children:e.offers[0].metric_label_3}),(0,t.jsx)("th",{className:`py-3 px-4 text-xs uppercase tracking-wider font-medium ${s?"text-gray-500":"text-gray-400"}`,children:"Rating"}),(0,t.jsx)("th",{className:"py-3 px-4"})]})}),(0,t.jsx)("tbody",{children:e.offers.map((a,i)=>(0,t.jsxs)("tr",{className:`border-b ${s?"border-gray-100 hover:bg-gray-50":"border-white/5 hover:bg-white/5"} transition-colors`,children:[(0,t.jsx)("td",{className:"py-4 px-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[a.provider_logo&&(0,t.jsx)("div",{className:`relative w-10 h-10 rounded-lg overflow-hidden flex-shrink-0 ${s?"bg-gray-100":"bg-white/10"}`,children:(0,t.jsx)(l.default,{src:a.provider_logo.url,alt:a.provider_logo.alternativeText||a.provider_name,fill:!0,className:"object-contain p-1"})}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:`font-semibold text-sm ${s?"text-gray-900":"text-white"}`,children:a.provider_name}),a.highlight_label&&(0,t.jsx)(c,{label:a.highlight_label})]}),a.title&&(0,t.jsx)("p",{className:`text-xs mt-0.5 ${s?"text-gray-500":"text-gray-400"}`,children:a.title})]})]})}),e.offers[0]?.metric_label_1&&(0,t.jsx)("td",{className:`py-4 px-4 text-sm font-medium ${s?"text-gray-900":"text-white"}`,children:a.metric_value_1||"—"}),e.offers[0]?.metric_label_2&&(0,t.jsx)("td",{className:`py-4 px-4 text-sm font-medium ${s?"text-gray-900":"text-white"}`,children:a.metric_value_2||"—"}),e.offers[0]?.metric_label_3&&(0,t.jsx)("td",{className:`py-4 px-4 text-sm font-medium ${s?"text-gray-900":"text-white"}`,children:a.metric_value_3||"—"}),(0,t.jsx)("td",{className:"py-4 px-4",children:a.rating?(0,t.jsx)(r,{rating:a.rating,isLight:s}):(0,t.jsx)("span",{className:`text-sm ${s?"text-gray-400":"text-gray-500"}`,children:"—"})}),(0,t.jsx)("td",{className:"py-4 px-4",children:(0,t.jsx)(o,{offer:a,isLight:s,partnerId:e.partner_id})})]},i))})]})})},card_grid:u,featured_offer:function({block:e,isLight:s}){let i=e.offers[0];return i?(0,t.jsxs)("div",{className:`relative rounded-2xl border p-8 md:p-10 ${s?"bg-gradient-to-br from-white to-gray-50 border-gray-200":"bg-gradient-to-br from-[#0f172a] to-[#1e293b] border-white/10"}`,children:[i.highlight_label&&(0,t.jsx)("div",{className:"absolute top-4 right-4",children:(0,t.jsx)(c,{label:i.highlight_label})}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center gap-8",children:[(0,t.jsxs)("div",{className:"flex-1 space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[i.provider_logo&&(0,t.jsx)("div",{className:`relative w-16 h-16 rounded-xl overflow-hidden flex-shrink-0 ${s?"bg-gray-100":"bg-white/10"}`,children:(0,t.jsx)(l.default,{src:i.provider_logo.url,alt:i.provider_logo.alternativeText||i.provider_name,fill:!0,className:"object-contain p-2"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:`text-xl font-bold ${s?"text-gray-900":"text-white"}`,children:i.provider_name}),i.rating&&(0,t.jsx)(r,{rating:i.rating,isLight:s})]})]}),(0,t.jsx)("p",{className:`text-lg font-medium ${s?"text-gray-800":"text-gray-200"}`,children:i.title}),i.description&&(0,t.jsx)("p",{className:`text-sm leading-relaxed max-w-xl ${s?"text-gray-500":"text-gray-400"}`,children:i.description}),(0,t.jsx)(n,{offer:i,isLight:s})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[(0,t.jsx)(o,{offer:i,isLight:s,partnerId:e.partner_id}),i.disclaimer&&(0,t.jsx)("p",{className:`text-[10px] text-center max-w-[200px] ${s?"text-gray-500":"text-gray-400"}`,children:i.disclaimer})]})]}),e.offers.length>1&&(0,t.jsx)("div",{className:`mt-8 pt-6 border-t grid grid-cols-1 md:grid-cols-2 gap-4 ${s?"border-gray-200":"border-white/10"}`,children:e.offers.slice(1).map((r,i)=>(0,t.jsxs)("div",{className:`flex items-center justify-between gap-4 roun
1ded-xl border p-4 ${s?"border-gray-200 bg-white":"border-white/10 bg-white/5"}`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 min-w-0",children:[r.provider_logo&&(0,t.jsx)("div",{className:`relative w-8 h-8 rounded-lg overflow-hidden flex-shrink-0 ${s?"bg-gray-100":"bg-white/10"}`,children:(0,t.jsx)(l.default,{src:r.provider_logo.url,alt:r.provider_logo.alternativeText||r.provider_name,fill:!0,className:"object-contain p-1"})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("span",{className:`text-sm font-medium truncate block ${s?"text-gray-900":"text-white"}`,children:r.provider_name}),r.metric_value_1&&(0,t.jsxs)("span",{className:`text-xs ${s?"text-gray-500":"text-gray-400"}`,children:[r.metric_label_1,": ",r.metric_value_1]})]})]}),(0,t.jsx)("a",{href:a(r,e.partner_id),target:r.cta_target,rel:"noopener noreferrer sponsored",className:`text-xs font-medium whitespace-nowrap hover:underline ${s?"text-primary":"text-blue-400"}`,children:r.cta_label})]},i))})]}):null},lead_form:function({block:e,isLight:s}){return(0,t.jsx)("div",{className:"space-y-8",children:(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-4",children:e.offers.map((a,r)=>(0,t.jsxs)("div",{className:`flex flex-col rounded-xl border p-5 space-y-3 w-full md:w-[calc(50%-8px)] lg:w-[calc(33.333%-11px)] ${s?"bg-white border-gray-200":"bg-[#0f172a] border-white/10"}`,children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[a.provider_logo&&(0,t.jsx)("div",{className:`relative w-8 h-8 rounded-lg overflow-hidden flex-shrink-0 ${s?"bg-gray-100":"bg-white/10"}`,children:(0,t.jsx)(l.default,{src:a.provider_logo.url,alt:a.provider_logo.alternativeText||a.provider_name,fill:!0,className:"object-contain p-1"})}),(0,t.jsx)("span",{className:`text-sm font-semibold ${s?"text-gray-900":"text-white"}`,children:a.provider_name})]}),a.highlight_label&&(0,t.jsx)(c,{label:a.highlight_label})]}),(0,t.jsx)(n,{offer:a,isLight:s}),(0,t.jsx)("div",{className:"mt-auto pt-1",children:(0,t.jsx)(o,{offer:a,isLight:s,partnerId:e.partner_id})})]},r))})})},affiliate_links:function({block:e,isLight:s}){return(0,t.jsx)("div",{className:"space-y-3",children:e.offers.map((n,o)=>(0,t.jsxs)("div",{className:`flex items-center justify-between gap-4 rounded-xl border p-4 transition-shadow hover:shadow-md ${s?"bg-white border-gray-200":"bg-[#0f172a] border-white/10"}`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-4 min-w-0 flex-1",children:[n.provider_logo&&(0,t.jsx)("div",{className:`relative w-10 h-10 rounded-lg overflow-hidden flex-shrink-0 ${s?"bg-gray-100":"bg-white/10"}`,children:(0,t.jsx)(l.default,{src:n.provider_logo.url,alt:n.provider_logo.alternativeText||n.provider_name,fill:!0,className:"object-contain p-1"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:`font-semibold text-sm ${s?"text-gray-900":"text-white"}`,children:n.provider_name}),n.highlight_label&&(0,t.jsx)(c,{label:n.highlight_label})]}),(0,t.jsx)("p",{className:`text-xs truncate ${s?"text-gray-500":"text-gray-400"}`,children:n.title})]}),n.rating&&(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(r,{rating:n.rating,isLight:s})}),(0,t.jsxs)("div",{className:"hidden md:flex gap-6",children:[n.metric_label_1&&n.metric_value_1&&(0,t.jsx)(i,{label:n.metric_label_1,value:n.metric_value_1,isLight:s}),n.metric_label_2&&n.metric_value_2&&(0,t.jsx)(i,{label:n.metric_label_2,value:n.metric_value_2,isLight:s})]})]}),(0,t.jsx)("a",{href:a(n,e.partner_id),target:n.cta_target,rel:"noopener noreferrer sponsored",className:`inline-flex items-center justify-center px-4 py-2 rounded-full text-sm font-medium border transition-colors whitespace-nowrap ${s?"border-primary text-primary hover:bg-primary hover:text-white":"border-white text-white hover:bg-white hover:text-gray-900"}`,children:n.cta_label})]},o))})}};function x(e){let{isLightmode:a,paddingXClass:r}=(0,s.useAppContext)(),i="light"===e.background_style||"dark"!==e.background_style&&a,n=m[e.widget_type]??u,o=!!e.background_image;return(0,t.jsx)("div",{className:"px-4 my-8",children:(0,t.jsxs)("section",{className:`relative rounded-2xl w-full py-10 md:py-14 ${r} overflow-hidden ${o?"":"branded"===e.background_style?"bg-gradient-to-br from-primary/5 to-primary/10":i?"bg-gray-50 border border-gray-200":"bg-[#020617]"}`,children:[o&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{src:e.background_image.url,alt:e.background_image.alternativeText||e.title,fill:!0,className:"object-cover",priority:!1}),(0,t.jsx)("div",{className:`absolute inset-0 ${i?"bg-white/80":"bg-black/70"}`})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("h2",{className:`text-xl md:text-xl font-semibold ${i?"text-gray-900":"text-white"}`,children:e.title}),e.subtitle&&(0,t.jsx)("p",{className:`mt-2 text-sm md:text-base max-w-2xl ${i?"text-gray-600":"text-gray-100"}
1`,children:e.subtitle})]}),(0,t.jsx)(n,{block:e,isLight:i}),e.section_disclaimer&&(0,t.jsx)("div",{className:`mt-8 pt-4 border-t ${i?"border-gray-200":"border-white/10"}`,children:(0,t.jsx)("p",{className:`text-[11px] leading-relaxed max-w-4xl ${i?"text-gray-500":"text-gray-100"}`,children:e.section_disclaimer})})]})]})})}e.s(["default",()=>x])},54943,e=>{"use strict";let t=(0,e.i(475254).default)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);e.s(["default",()=>t])},555436,e=>{"use strict";var t=e.i(54943);e.s(["Search",()=>t.default])},870273,e=>{"use strict";let t=(0,e.i(475254).default)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",()=>t],870273)},232189,(e,t,l)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(e,t,l)=>{"use strict";var s=e.r(232189);function a(){}function r(){}r.resetWarningCache=a,t.exports=function(){function e(e,t,l,a,r,i){if(i!==s){var n=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw n.name="Invariant Violation",n}}function t(){return e}e.isRequired=e;var l={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:a};return l.PropTypes=l,l}},745009,(e,t,l)=>{t.exports=e.r(865156)()},608910,e=>{"use strict";var t=e.i(728956);function l(e){return e?.trim()==="#get-started"}function s(e,t="#get-started"){return e?.trim()||t}function a(e,a){let r=s(e),i="_self"===a||"_blank"===a?a:l(r)?"_self":"_blank",n=l(r);return{href:n?"#":r,onClick:n?e=>{(0,t.onOfficialWikiGetStartedAnchorClick)(e)}:void 0,target:i,rel:"_blank"===i?"noopener noreferrer":void 0}}e.s(["lpCtaAnchorProps",()=>a,"resolveLpCtaUrl",()=>s])},826595,e=>{"use strict";e.s(["BRAND_AUTHORITY_CTA_SHADOW",0,"0px 20px 12.5px rgba(0, 0, 0, 0.1), 0px 8px 5px rgba(0, 0, 0, 0.1)","CARD_GRADIENT",0,"linear-gradient(180deg, #0431CF 0%, #001554 100%)","COLORS",0,{heading:"#111827",brandBlue:"#1A3CDB",body:"#6B7280",white:"#FFFFFF",successGreen:"#10B981"},"COMPARISON_TABLE_SHADOW",0,"0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1)","GREEN_ICON_GRADIENT",0,"linear-gradient(180deg, #10B981 0%, #0FB67F 8%, #0EB37D 17%, #0DB07B 25%, #0CAD79 33%, #0BAA77 42%, #0AA775 50%, #09A473 58%, #08A271 67%, #079F6F 75%, #079C6D 83%, #06996B 92%, #059669 100%)","ICON_GRADIENT",0,"linear-gradient(180deg, #1A3CDB 0%, #163AD9 20%, #1238D6 40%, #0E36D4 60%, #0933D1 80%, #0431CF 100%)","LIST_ITEM_SHADOW",0,"0px 1px 1.5px rgba(0, 0, 0, 0.1), 0px 1px 1px rgba(0, 0, 0, 0.1)","SECTION_PAGE_PADDING_X",0,"px-4 md:px-8 lg:px-[8.5rem] xl:px-44","STEP_CARD_BODY",0,"#4B5563","STEP_CARD_GRADIENT",0,"linear-gradient(158.611deg, #EEF0FB 0%, #F0F2FC 14.29%, #F3F4FC 28.57%, #F5F6FD 42.86%, #F8F9FD 57.14%, #FAFBFE 71.43%, #FDFDFE 85.71%, #FFFFFF 100%)","TABLE_BORDER",0,"#E5E7EB","TABLE_HEADER_BG",0,"#F3F4F6","TABLE_HIGHLIGHT_CELL_BG",0,"#F8F9FF","TABLE_HIGHLIGHT_HEADER_BG",0,"#EEF0FB","TEXT_SUBHEAD",0,"#374151","VERIFICATION_BADGE_IMAGE",0,"https://hel1.your-objectstorage.com/ztudium-cms/BABC_verified_badge_3bb68057a4.png","VERIFICATION_ICON_GRADIENT",0,"linear-gradient(135deg, #3B82F6 0%, #387DF4 7.14%, #3579F2 14.29%, #3174F0 21.43%, #2E70EF 28.57%, #2C6BED 35.71%, #2966EB 42.86%, #2662E9 50%, #245DE7 57.14%, #2258E5 64.29%, #1F52E3 71.43%, #1E4DE1 78.57%, #1C48DF 85.71%, #1B42DD 92.86%, #1A3CDB 100%)","VERIFICATION_SECTION_BG",0,"#EEF0FB","VIDEO_GRADIENT",0,"linear-gradient(180deg, #0431cf 0%, #032fc6 7%, #032dbc 14%, #022bb3 21%, #0229aa 29%, #0227a1 36%, #012598 43%, #01238f 50%, #012186 57%, #001f7e 64%, #001d75 71%, #001b6d 79%, #001964 86%, #00155c 93%, #001554 100%)","WHO_SECTION_CARD_BG",0,"#F9FAFB","WHO_SECTION_TAG_BG",0,"#E8ECFB","WIKI_CTA_TEXT_CLASS",0,"text-base font-bold leading-6 sm:text-lg sm:leading-7 md:text-xl md:leading-8 lg:text-2xl lg:leading-9"])},69189,e=>{"use strict";var t=e.i(826595);function l(e){return e?.trim()||t.COLORS.brandBlue}function s(e){let t=Array.from({length:15},(t,l)=>{let s=14===l?100:Math.round(7.142857142857143*l*100)/100,a=Math.round(18*(1-l/14)*100)/100,r=a>0?`color-mix(in srgb, ${e} ${100-a}%, white)`:e;return`${r} ${s}%`});return`linear-gradient(135deg, ${t.join(", ")})`}function a(e,l){let a=e?.trim();return a?s(a):l??s(t.COLORS.brandBlue)}function r(e,t){return a(e,t)}function i(e){return a(e,t.VERIFICATION_ICON_GRADIENT)}function n(e){let l=e?.trim();return l?`linear-gradient(180deg, ${l} 0%, color-mix(in srgb, ${l} 40%, black) 100%)`:t.CARD_GRADIENT}function o(e){return e?.trim()||t.VIDEO_GRADIENT}function c(e){let l=e?.trim();return l?`linear-gradient(158.611deg, color-mix(in srgb, ${l} 10%, white) 0%, color-mix(in srgb, ${l} 4%, white) 14.29%, color-mix(in srgb, ${l} 3%, white) 28.57%, color-mix(in srgb, ${l} 2%, white) 42.86%, color-mix(in srgb, ${l} 1.5%, white) 57.14%, color-mix(in srgb, ${l} 1%, white) 71.43%, color-mix(in srgb, ${l} 0.5%, white) 85.71%, #FFFFFF 100%)`:t.STEP_CARD_GRADIENT}
1e.s(["lpAccentBackground",()=>a,"lpCardBackground",()=>n,"lpCtaBackground",()=>r,"lpStepCardBackground",()=>c,"lpVerificationIconBackground",()=>i,"lpVideoBackground",()=>o,"resolveLpThemeColor",()=>l])},728956,e=>{"use strict";function t(e,t){e.preventDefault(),e.stopPropagation(),t?.(e),requestAnimationFrame(()=>{!function(){let e=document.getElementById("get-started");if(!e)return;let t=window.matchMedia("(prefers-reduced-motion: reduce)").matches,l=Math.max(0,window.scrollY+e.getBoundingClientRect().top-80);if(t?window.scrollTo(0,l):!function(e){let t=window.scrollY,l=e-t;if(1>Math.abs(l))return;let s=performance.now();requestAnimationFrame(function e(a){let r=Math.min((a-s)/700,1);window.scrollTo(0,t+l*(r<.5?4*r*r*r:1-Math.pow(-2*r+2,3)/2)),r<1&&requestAnimationFrame(e)})}(l),window.history?.replaceState){let{pathname:e,search:t}=window.location;window.history.replaceState(null,"",`${e}${t}#get-started`)}}()})}e.s(["onOfficialWikiGetStartedAnchorClick",()=>t])},869230,e=>{"use strict";var t=e.i(175555),l=e.i(540143),s=e.i(286491),a=e.i(915823),r=e.i(793803),i=e.i(619273),n=class extends a.Subscribable{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#l=(0,r.pendingThenable)(),this.options.experimental_prefetchInRender||this.#l.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#e;#s=void 0;#a=void 0;#r=void 0;#i;#n;#l;#t;#o;#c;#d;#u;#m;#x;#h=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#s.addObserver(this),o(this.#s,this.options)?this.#p():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.#s,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.#s,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#f(),this.#b(),this.#s.removeObserver(this)}setOptions(e){let t=this.options,l=this.#s;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,i.resolveEnabled)(this.options.enabled,this.#s))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#y(),this.#s.setOptions(this.options),t._defaulted&&!(0,i.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#s,observer:this});let s=this.hasListeners();s&&d(this.#s,l,this.options,t)&&this.#p(),this.updateResult(),s&&(this.#s!==l||(0,i.resolveEnabled)(this.options.enabled,this.#s)!==(0,i.resolveEnabled)(t.enabled,this.#s)||(0,i.resolveStaleTime)(this.options.staleTime,this.#s)!==(0,i.resolveStaleTime)(t.staleTime,this.#s))&&this.#w();let a=this.#v();s&&(this.#s!==l||(0,i.resolveEnabled)(this.options.enabled,this.#s)!==(0,i.resolveEnabled)(t.enabled,this.#s)||a!==this.#x)&&this.#j(a)}getOptimisticResult(e){var t,l;let s=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(s,e);return t=this,l=a,(0,i.shallowEqualObjects)(t.getCurrentResult(),l)||(this.#r=a,this.#n=this.options,this.#i=this.#s.state),a}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,l)=>(this.trackProp(l),t?.(l),Reflect.get(e,l))})}trackProp(e){this.#h.add(e)}getCurrentQuery(){return this.#s}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),l=this.#e.getQueryCache().build(this.#e,t);return l.fetch().then(()=>this.createResult(l,t))}fetch(e){return this.#p({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#p(e){this.#y();let t=this.#s.fetch(this.options,e);return e?.throwOnError||(t=t.catch(i.noop)),t}#w(){this.#f();let e=(0,i.resolveStaleTime)(this.options.staleTime,this.#s);if(i.isServer||this.#r.isStale||!(0,i.isValidTimeout)(e))return;let t=(0,i.timeUntilStale)(this.#r.dataUpdatedAt,e);this.#u=setTimeout(()=>{this.#r.isStale||this.updateResult()},t+1)}#v(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#s):this.options.refetchInterval)??!1}#j(e){this.#b(),this.#x=e,!i.isServer&&!1!==(0,i.resolveEnabled)(this.options.enabled,this.#s)&&(0,i.isValidTimeout)(this.#x)&&0!==this.#x&&(this.#m=setInterval(()=>
1{(this.options.refetchIntervalInBackground||t.focusManager.isFocused())&&this.#p()},this.#x))}#g(){this.#w(),this.#j(this.#v())}#f(){this.#u&&(clearTimeout(this.#u),this.#u=void 0)}#b(){this.#m&&(clearInterval(this.#m),this.#m=void 0)}createResult(e,t){let l,a=this.#s,n=this.options,c=this.#r,m=this.#i,x=this.#n,h=e!==a?e.state:this.#a,{state:p}=e,g={...p},f=!1;if(t._optimisticResults){let l=this.hasListeners(),r=!l&&o(e,t),i=l&&d(e,a,t,n);(r||i)&&(g={...g,...(0,s.fetchState)(p.data,e.options)}),"isRestoring"===t._optimisticResults&&(g.fetchStatus="idle")}let{error:b,errorUpdatedAt:y,status:w}=g;l=g.data;let v=!1;if(void 0!==t.placeholderData&&void 0===l&&"pending"===w){let e;c?.isPlaceholderData&&t.placeholderData===x?.placeholderData?(e=c.data,v=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#d?.state.data,this.#d):t.placeholderData,void 0!==e&&(w="success",l=(0,i.replaceData)(c?.data,e,t),f=!0)}if(t.select&&void 0!==l&&!v)if(c&&l===m?.data&&t.select===this.#o)l=this.#c;else try{this.#o=t.select,l=t.select(l),l=(0,i.replaceData)(c?.data,l,t),this.#c=l,this.#t=null}catch(e){this.#t=e}this.#t&&(b=this.#t,l=this.#c,y=Date.now(),w="error");let j="fetching"===g.fetchStatus,N="pending"===w,k="error"===w,C=N&&j,S=void 0!==l,_={status:w,fetchStatus:g.fetchStatus,isPending:N,isSuccess:"success"===w,isError:k,isInitialLoading:C,isLoading:C,data:l,dataUpdatedAt:g.dataUpdatedAt,error:b,errorUpdatedAt:y,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>h.dataUpdateCount||g.errorUpdateCount>h.errorUpdateCount,isFetching:j,isRefetching:j&&!N,isLoadingError:k&&!S,isPaused:"paused"===g.fetchStatus,isPlaceholderData:f,isRefetchError:k&&S,isStale:u(e,t),refetch:this.refetch,promise:this.#l};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===_.status?e.reject(_.error):void 0!==_.data&&e.resolve(_.data)},l=()=>{t(this.#l=_.promise=(0,r.pendingThenable)())},s=this.#l;switch(s.status){case"pending":e.queryHash===a.queryHash&&t(s);break;case"fulfilled":("error"===_.status||_.data!==s.value)&&l();break;case"rejected":("error"!==_.status||_.error!==s.reason)&&l()}}return _}updateResult(){let e=this.#r,t=this.createResult(this.#s,this.options);if(this.#i=this.#s.state,this.#n=this.options,void 0!==this.#i.data&&(this.#d=this.#s),(0,i.shallowEqualObjects)(t,e))return;this.#r=t;let l=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,l="function"==typeof t?t():t;if("all"===l||!l&&!this.#h.size)return!0;let s=new Set(l??this.#h);return this.options.throwOnError&&s.add("error"),Object.keys(this.#r).some(t=>this.#r[t]!==e[t]&&s.has(t))};this.#N({listeners:l()})}#y(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#s)return;let t=this.#s;this.#s=e,this.#a=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#N(e){l.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#s,type:"observerResultsUpdated"})})}};function o(e,t){return!1!==(0,i.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&c(e,t,t.refetchOnMount)}function c(e,t,l){if(!1!==(0,i.resolveEnabled)(t.enabled,e)&&"static"!==(0,i.resolveStaleTime)(t.staleTime,e)){let s="function"==typeof l?l(e):l;return"always"===s||!1!==s&&u(e,t)}return!1}function d(e,t,l,s){return(e!==t||!1===(0,i.resolveEnabled)(s.enabled,e))&&(!l.suspense||"error"!==e.state.status)&&u(e,l)}function u(e,t){return!1!==(0,i.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,i.resolveStaleTime)(t.staleTime,e))}e.s(["QueryObserver",()=>n])},533710,e=>{"use strict";var t=e.i(869230),l=e.i(992571),s=class extends t.QueryObserver{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,l.infiniteQueryBehavior)()})}getOptimisticResult(e){return e.behavior=(0,l.infiniteQueryBehavior)(),super.getOptimisticResult(e)}
1fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:s}=e,a=super.createResult(e,t),{isFetching:r,isRefetching:i,isError:n,isRefetchError:o}=a,c=s.fetchMeta?.fetchMore?.direction,d=n&&"forward"===c,u=r&&"forward"===c,m=n&&"backward"===c,x=r&&"backward"===c;return{...a,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,l.hasNextPage)(t,s.data),hasPreviousPage:(0,l.hasPreviousPage)(t,s.data),isFetchNextPageError:d,isFetchingNextPage:u,isFetchPreviousPageError:m,isFetchingPreviousPage:x,isRefetchError:o&&!d&&!m,isRefetching:i&&!u&&!x}}};e.s(["InfiniteQueryObserver",()=>s])},469637,e=>{"use strict";let t;e.i(247167);var l=e.i(271645),s=e.i(619273),a=e.i(540143),r=e.i(912598);e.i(843476);var i=l.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),n=l.createContext(!1);n.Provider;var o=(e,t,l)=>t.fetchOptimistic(e).catch(()=>{l.clearReset()});function c(e,t,c){let d=l.useContext(n),u=l.useContext(i),m=(0,r.useQueryClient)(c),x=m.defaultQueryOptions(e);if(m.getDefaultOptions().queries?._experimental_beforeQuery?.(x),x._optimisticResults=d?"isRestoring":"optimistic",x.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=x.staleTime;x.staleTime="function"==typeof t?(...l)=>e(t(...l)):e(t),"number"==typeof x.gcTime&&(x.gcTime=Math.max(x.gcTime,1e3))}(x.suspense||x.throwOnError||x.experimental_prefetchInRender)&&!u.isReset()&&(x.retryOnMount=!1),l.useEffect(()=>{u.clearReset()},[u]);let h=!m.getQueryCache().get(x.queryHash),[p]=l.useState(()=>new t(m,x)),g=p.getOptimisticResult(x),f=!d&&!1!==e.subscribed;if(l.useSyncExternalStore(l.useCallback(e=>{let t=f?p.subscribe(a.notifyManager.batchCalls(e)):s.noop;return p.updateResult(),t},[p,f]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),l.useEffect(()=>{p.setOptions(x)},[x,p]),x?.suspense&&g.isPending)throw o(x,p,u);if((({result:e,errorResetBoundary:t,throwOnError:l,query:a,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&a&&(r&&void 0===e.data||(0,s.shouldThrowError)(l,[e.error,a])))({result:g,errorResetBoundary:u,throwOnError:x.throwOnError,query:m.getQueryCache().get(x.queryHash),suspense:x.suspense}))throw g.error;if(m.getDefaultOptions().queries?._experimental_afterQuery?.(x,g),x.experimental_prefetchInRender&&!s.isServer&&g.isLoading&&g.isFetching&&!d){let e=h?o(x,p,u):m.getQueryCache().get(x.queryHash)?.promise;e?.catch(s.noop).finally(()=>{p.updateResult()})}return x.notifyOnChangeProps?g:p.trackResult(g)}e.s(["useBaseQuery",()=>c],469637)},621482,e=>{"use strict";var t=e.i(533710),l=e.i(469637);function s(e,s){return(0,l.useBaseQuery)(e,t.InfiniteQueryObserver,s)}e.s(["useInfiniteQuery",()=>s])},266027,e=>{"use strict";var t=e.i(869230),l=e.i(469637);function s(e,s){return(0,l.useBaseQuery)(e,t.QueryObserver,s)}e.s(["useQuery",()=>s])},254326,e=>{"use strict";var t=e.i(621482),l=e.i(266027),s=e.i(702807);let a=s.gql`
2  query GetProductsByCollection(
3    $first: Int = 250,
4    $after: String,
5    $sortKey: ProductSortKeys = RELEVANCE,
6    $country: CountryCode
7  ) @inContext(country: $country) {
8    products(first: $first, after: $after, sortKey: $sortKey) {
9      pageInfo {
10        hasNextPage
11      }
12      edges {
13        cursor
14        node {
15          id
16          title
17          handle
18          featuredImage {
19            url
20            altText
21          }
22          options {
23            name
24            values
25          }
26          productType
27          priceRange {
28            minVariantPrice {
29              amount
30              currencyCode
31            }
32          }
33          compareAtPriceRange {
34            minVariantPrice {
35              amount
36              currencyCode
37            }
38          }
39          metafields(identifiers: [
40            { namespace: "custom", key: "featured_product" }
41          ]) {
42            key
43            type
44            value
45          }
46          collections(first: 50) {
47            edges {
48              node {
49                id
50                title
51                handle
52                image {
53                  url
54                }
55                metafields(identifiers: [
56                  { namespace: "custom", key: "special_series" },
57                  { namespace: "custom", key: "product_display_appearance" },
58                  { namespace: "custom", key: "order_of_product_display" }
59                ]) {
60                  key
61                  type
62                  value
63                }
64              }
65            }
66          }
67        }
68      }
69    }
70  }
71`,r=s.gql`
72  query CollectionByHandle(
73    $handle: String!,
74    $first: Int = 12,
75    $after: String,
76    $sortKey: ProductCollectionSortKeys = BEST_SELLING,
77    $reverse: Boolean = false,
78    $country: CountryCode,
79    $filters: [ProductFilter!]
80  )@inContext(country: $country) {
81    collection(handle: $handle) {
82      id
83      title
84      description
85      descriptionHtml
86      handle
87      image {
88        url
89        altText
90      }
91      metafield(namespace: "custom", key: "special_series") {
92        value
93      }
94      products(
95        first: $first,
96        after: $after,
97        sortKey: $sortKey,
98        reverse: $reverse,
99        filters: $filters
100      ) {
101        pageInfo {
102          hasNextPage
103          endCursor
104        }
105        edges {
106          node {
107            id
108            title
109            handle
110            description
111            productType
112            priceRange {
113              minVariantPrice {
114                amount
115                currencyCode
116              }
117            }
118            compareAtPriceRange {
119              minVariantPrice {
120                amount
121                currencyCode
122              }
123            }
124            options {
125              name
126              values
127            }
128            images(first: 1) {
129              edges {
130                node {
131                  url
132                  altText
133                }
134              }
135            }
136          }
137        }
138      }
139    }
140  }
141`,i=s.gql`
142  query GetCollectionHandles(
143    $first: Int = 250,
144    $sortKey: CollectionSortKeys = RELEVANCE,
145    $reverse: Boolean = false,
146    $country: CountryCode
147  ) @inContext(country: $country) {
148    collections(first: $first, sortKey: $sortKey, reverse: $reverse) {
149      edges {
150        node {
151          id
152          handle
153          title
154          description
155          image {
156            url
157            altText
158          }
159          metafields(identifiers: [
160            { namespace: "custom", key: "houver_image" },
161            { namespace: "custom", key: "collection_slider_appearance" }
162            { namespace: "custom", key: "order_of_collection_slider" }
163          ]) {
164            key
165            type
166            value
167            reference {
168              ... on Video {
169                sources {
170                  url
171                  format
172                }
173              }
174            }
175          }
176        }
177      }
178    }
179  }
180`;s.gql`
181  query CollectionFilters($handle: String!, $country: CountryCode) @inContext(country: $country) {
182    collection(handle: $handle) {
183      id
184      products(first: 1) {
185        filters {
186          id
187          label
188          type
189          values {
190            id
191            label
192            count
193            input
194          }
195        }
196      }
197    }
198  }
199`;let n=s.gql`
200  query CollectionProductCount(
201    $handle: String!,
202    $first: Int = 250,
203    $after: String,
204    $country: CountryCode
205  ) @inContext(country: $country) {
206    collection(handle: $handle) {
207      products(first: $first, after: $after) {
208        pageInfo {
209          hasNextPage
210          endCursor
211        }
212        edges {
213          node {
214            id
215          }
216        }
217      }
218    }
219  }
220`;var o=e.i(193049),c=e.i(806066);function d({handle:e,first:l=12,sortKey:s="BEST_SELLING",reverse:a=!1,filters:i=[]}){let{selectedCountry:n}=(0,c.useRegion)();return(0,t.useInfiniteQuery)({queryKey:["collection",e,s,a,JSON.stringify(i),n?.isoCode],queryFn:async({pageParam:t=null})=>{let{collection:c}=await o.shopifyClient.request(r,{handle:e,first:l,after:t,sortKey:s,reverse:a,filters:i,country:n?.isoCode});return{collection:c,specialSeries:c.metafield?.value||null,products:c.products.edges.map(e=>e.node),pageInfo:c.products.pageInfo}},initialPageParam:null,getNextPageParam:e=>e.pageInfo.hasNextPage?e.pageInfo.endCursor:void 0,enabled:!!n?.isoCode})}function u({first:e=250,sortKey:t="RELEVANCE"}={}){let{selectedCountry:s}=(0,c.useRegion)();return(0,l.useQuery)({queryKey:["products-by-collection",t,s?.isoCode],queryFn:async()=>{let l=[],r=!0,i=null;for(;r;){let{products:n}=await o.shopifyClient.request(a,{first:e,sortKey:t,country:s?.isoCode,after:i});if(l=[...l,...n.edges.map(e=>{let t=e.node.metafields||[],l=t.find(e=>e?.key==="featured_product")?.value==="true";
220return{...e.node,isFeatured:l,collections:e.node.collections.edges.map(e=>{let t=e.node.metafields||[];return{...e.node,orderOfProductDisplay:parseInt(t.find(e=>e?.key==="order_of_product_display")?.value||"999"),displayProduct:t.find(e=>e?.key==="product_display_appearance")?.value==="true",specialSeries:t.find(e=>e?.key==="special_series")?.value||null}})}})],!(i=(r=n.pageInfo.hasNextPage)&&n.edges.length>0?n.edges[n.edges.length-1].cursor:null))break}return l},enabled:!!s?.isoCode})}function m({first:e=250}={}){let{selectedCountry:t}=(0,c.useRegion)();return(0,l.useQuery)({queryKey:["collections",e,t?.isoCode],queryFn:async()=>{try{let l=await o.shopifyClient.request(i,{first:e,country:t?.isoCode});if(!l?.collections?.edges)return[];return l.collections.edges.map(e=>{let t=e.node,l=t.metafields||[],s=l.find(e=>e?.key==="houver_image")||null,a=l.find(e=>e?.key==="collection_slider_appearance")||null,r=l.find(e=>e?.key==="order_of_collection_slider")||null,i=null;s?.reference?.sources?.length>0&&(i=s.reference.sources.find(e=>"mp4"===e.format)?.url||null);let n=a?.value==="true",o=parseInt(r?.value||"999",10);return n?{id:t.id,title:t.title,handle:t.handle,image:t.image?.url||null,hoverVideo:i,orderOfCollectionSlider:o}:null}).filter(Boolean).sort((e,t)=>e.orderOfCollectionSlider-t.orderOfCollectionSlider)}catch(e){return[]}},enabled:!!t?.isoCode})}function x(e){let{selectedCountry:t}=(0,c.useRegion)();return(0,l.useQuery)({queryKey:["creations-count",e,t?.isoCode],queryFn:async()=>{if(!e)return 0;let l=0,s=!0,a=null;for(;s;){let r=await o.shopifyClient.request(n,{handle:e,first:250,after:a,country:t?.isoCode});l+=(r.collection?.products?.edges||[]).length,s=r.collection?.products?.pageInfo?.hasNextPage??!1,a=r.collection?.products?.pageInfo?.endCursor??null}return l},enabled:!!e,staleTime:3e5})}e.s(["useCollection",()=>d,"useCreationsCount",()=>x,"useListCollections",()=>m,"useProductsByCollection",()=>u],254326)},463059,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>t],463059)},373375,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",()=>t],373375)},382373,135116,e=>{"use strict";var t=e.i(475254);let l=(0,t.default)("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);e.s(["Volume2",()=>l],382373);let s=(0,t.default)("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);e.s(["VolumeX",()=>s],135116)},514764,e=>{"use strict";let t=(0,e.i(475254).default)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",()=>t],514764)},677842,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(693655),a=e.i(657688),r=e.i(522016);function i({post:e,isLightmode:l}){let s,i=e.post_author?.name||"",n=[...(e.other_authors||[]).map(e=>e.name),...(e.custom_authors||[]).map(e=>e.author_name)].filter(Boolean),o=e.publishedAt||"",c=!l;return(0,t.jsx)(r.default,{href:`/${e.slug}`,className:`block h-full rounded-lg border overflow-hidden shadow-sm hover:shadow-md transition-shadow ${c?"border-[#1F2937] bg-[#020617]":"border-gray-200 bg-white"}`,children:(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)("div",{className:"relative w-full pb-[60%] overflow-hidden",children:(0,t.jsx)(a.default,{src:(s=e.featureImageUrl||e.imageMedium)&&"https://hel1.your-objectstorage.com/ztudium-cms/post_placeholder_d23a2725c7.jpg"!==s?s:"https://hel1.your-objectstorage.com/ztudium-cms/post_placeholder_d23a2725c7.jpg",alt:e.title,fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 320px",className:"object-cover"})}),(0,t.jsxs)("div",{className:`flex flex-col px-4 pt-3 pb-4 ${c?"bg-[#020617]":"bg-white"}`,children:[(0,t.jsx)("h3",{className:`text-sm md:text-md font-semibold mb-3 ${c?"text-white":"text-black"}`,children:e.title}),(0,t.jsxs)("div",{className:`mt-auto pt-2 border-t text-xs flex flex-col gap-1 ${c?"border-white/10 text-white/80":"border-black/10 text-gray-700"}`,children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[i&&(0,t.jsx)("span",{className:`font-medium ${c?"text-white":"text-black"}`,children:i}),n.map((e,l)=>(0,t.jsx)("span",{className:`font-medium ${c?"text-white":"text-black"}`,children:e},l))]}),o&&(0,t.jsx)("span",{className:c?"text-white/60":"text-gray-500",children:o})]})]})]})})}var n=e.i(186346),o=e.i(234913);function c(e){return"xl"===e?5:"lg"===e?4:"md"===e?3:1}function d(e){let t=c(e);return 1===t?12:5*t}function u({initialCategory:e,categoryOptions:a,title:r,apiEndpoint:u="/api/posts",initialAuthor:m,initialAuthorSlug:x,backButton:h,showCategoryFilter:p=!0,showAuthorFilter:g=!0,containerClassName:f,forceLightMode:b=!1,fixedCategories:y,excludeCategory:w,filterByCategoryId:v,filterByTagSlug:j,initialPosts:N,initialPagination:k}){let{isLightmode:C}=(0,o.useAppContext)(),S=b||C,_=(0,l.useRef)((N?.length??0)>0),$=(0,l.useRef)(_.current),[E,I]=(0,l.useState)("lg"),[A,L]=(0,l.useState)(()=>N??[]),[T,R]=(0,l.useState)(1),[P,O]=(0,l.useState)(()=>k?{total:k.total,pageSize:k.pageSize??N?.length??12}:N?.length?{total:N.length,pageSize:N.length}:{total:0,pageSize:12}),[F,D]=(0,l.useState)(!1),[B,M]=(0,l.useState)(()=>!_.current),[U,z]=(0,l.useState)(e||"all"),[G,W]=(0,l.useState)([]),[H,V]=(0,l.useState)(m&&m.trim()?m:"all");(0,l.useEffect)(()=>{let e=()=>{let e=window.innerWidth,t="sm";e>=1280?t="xl":e>=1024?t="lg":e>=768&&(t="md"),I(t)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let q=(0,l.useMemo)(()=>c(E),[E]),Q=(0,l.useMemo)(()=>P.pageSize&&P.total?Math.max(1,Math.ceil(P.total/P.pageSize)):1,[P]);(0,l.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/authors");if(!e.ok)return;let t=(await e.json()).map(e=>({value:e.name,label:e.name}));m&&m.trim()&&!t.some(e=>e.value===m)&&t.unshift({value:m,label:m}),W(t)}catch{}})()},[]),(0,l.useEffect)(()=>{m&&m.trim()&&"all"===H&&G.length>0&&V(m)},[m,G,H]);let K=(0,l.useCallback)(async(e,t=!1)=>{let l;R(e),D(!0),M(1===e);let s=d(E);l=y&&y.length>0?y:U&&"all"!==U?[U]:void 0;try{let a={page:e,pageSize:s,sort:["published_date:desc"]};v?a.filterByCategory=v:j?a.filterByTagSlug=j:l&&l.length>
2200&&(a.categories=l),w&&(a.excludeCategories=[w]),x?a.filterByAuthorSlug=x:H&&"all"!==H&&(a.filterByAuthorName=H);let r=await fetch(u,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!r.ok)throw Error(`API error ${r.status}`);let i=await r.json(),n=i.items||[],o=i.pagination||{};L(e=>t?[...e,...n]:n),O({total:o.total??n.length,pageSize:o.pageSize??s})}catch(e){console.error("Error loading posts:",e)}finally{D(!1),M(!1)}},[u,a,H,U,q,y,w,v,j,x]);(0,l.useEffect)(()=>{if($.current){$.current=!1;return}L([]),R(1),K(1,!1)},[U,H]);let X=(0,l.useMemo)(()=>{if(a&&a.length>0)return a;let e=new Set,t=[];for(let l of A)for(let s of l.categories||[]){let l=s.title;l&&!e.has(l)&&(e.add(l),t.push({value:l,label:l}))}return t.sort((e,t)=>e.label.localeCompare(t.label))},[a,A]),Y=(0,l.useMemo)(()=>P.total>0?A.length<P.total:T<Q,[A.length,P.total,T,Q]),J=(0,l.useCallback)(()=>{!Y||F||K(T+1,!0)},[K,Y,F,T]),Z=(0,l.useMemo)(()=>{if(y&&y.length>0)return r;if(U&&"all"!==U){let e=a.find(e=>e.value===U);return e?.label??U}return r},[a,U,r,y]);return(0,t.jsx)("div",{className:f??`w-full z-10 mt-24 ${S?"text-black":"text-white"}`,children:(0,t.jsxs)("div",{className:"px-4",children:[h,(0,t.jsxs)("div",{className:"flex flex-wrap items-end gap-4 mb-6",children:[Z&&(0,t.jsx)("h1",{className:"text-2xl md:text-3xl font-semibold mb-1 flex-shrink-0",children:Z}),(0,t.jsxs)("div",{className:"flex flex-col justify-start md:flex-row gap-3 md:gap-4 flex-1 ml-12",children:[p&&X.length>1&&(0,t.jsxs)(s.Select,{value:U||"all",onValueChange:e=>z("all"===e?"all":e),children:[(0,t.jsx)(s.SelectTrigger,{className:`h-10 text-sm transition-colors w-full md:w-[220px] border ${S?"bg-white border-gray-300 text-black hover:bg-gray-100":"bg-black/40 border-white/10 text-white hover:bg-black/60"}`,children:(0,t.jsx)(s.SelectValue,{placeholder:"All Categories"})}),(0,t.jsxs)(s.SelectContent,{className:`w-[260px] border ${S?"bg-white border-gray-200":"bg-[#1a1a2e] border-white/10"}`,children:[(0,t.jsx)(s.SelectItem,{className:S?"text-black":"text-white",value:"all",children:"All Categories"}),X.map(e=>(0,t.jsx)(s.SelectItem,{className:S?"text-gray-700":"text-white/80",value:e.value,children:e.label},e.value))]})]}),g&&G.length>1&&(0,t.jsxs)(s.Select,{value:H||"all",onValueChange:e=>V("all"===e?"all":e),children:[(0,t.jsx)(s.SelectTrigger,{className:`h-10 text-sm transition-colors w-full md:w-[220px] border ${S?"bg-white border-gray-300 text-black hover:bg-gray-100":"bg-black/40 border-white/10 text-white hover:bg-black/60"}`,children:(0,t.jsx)(s.SelectValue,{placeholder:"All Authors"})}),(0,t.jsxs)(s.SelectContent,{className:`w-[260px] border ${S?"bg-white border-gray-200":"bg-[#1a1a2e] border-white/10"}`,children:[(0,t.jsx)(s.SelectItem,{className:S?"text-black":"text-white",value:"all",children:"All Authors"}),G.map(e=>(0,t.jsx)(s.SelectItem,{className:S?"text-gray-700":"text-white/80",value:e.value,children:e.label},e.value))]})]})]})]}),B&&0===A.length?(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4",children:Array.from({length:10}).map((e,l)=>(0,t.jsxs)("div",{className:`rounded-2xl overflow-hidden animate-pulse ${S?"bg-gray-100 border border-gray-200":"bg-white/5 border border-white/10"}`,children:[(0,t.jsx)("div",{className:`h-[200px] ${S?"bg-gray-200":"bg-white/10"}`}),(0,t.jsxs)("div",{className:"p-4 space-y-3",children:[(0,t.jsx)("div",{className:`h-4 rounded w-3/4 ${S?"bg-gray-200":"bg-white/10"}`}),(0,t.jsx)("div",{className:`h-3 rounded w-1/2 ${S?"bg-gray-200":"bg-white/10"}`})]})]},l))}):0===A.length?(0,t.jsx)("div",{className:`py-12 text-center ${S?"text-gray-500":"text-white/80"}`,children:"No posts found for this selection."}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4",children:A.map(e=>(0,t.jsx)("div",{children:(0,t.jsx)(i,{post:e,isLightmode:S})},e.slug))}),Y&&(0,t.jsx)("div",{className:"flex items-center justify-center mt-8",children:(0,t.jsx)(n.default,{text:F&&!B?"Loading...":"Load more",onClick:J,disabled:F||!Y,size:"sm"})})]})]})})}d("lg"),e.s(["default",()=>u],677842)},414885,e=>{"use strict";var t=e.i(843476),l=e.i(234913),s=e.i(975157);
220function a({title:e,subtitle:a,color:r,className:i}){let{isLightmode:n}=(0,l.useAppContext)();return(0,t.jsxs)("div",{className:(0,s.cn)("flex md:mb-8 md:mb-14 flex-col justify-center items-center gap-4",i),children:[(0,t.jsx)("h1",{className:(0,s.cn)(`${n?"text-black":"text-white"} text-xl lg:text-2xl font-bold`,r),children:e}),a&&(0,t.jsx)("h6",{className:(0,s.cn)("text-sm md:text-lg leading-7",r),children:a})]})}e.s(["default",()=>a])},549881,e=>{"use strict";var t=e.i(271645);e.s(["useDynamicCSS",0,(e,l)=>{let s=(0,t.useRef)(!1);(0,t.useEffect)(()=>{if(s.current||document.getElementById(l))return;let t=document.createElement("link");return t.rel="stylesheet",t.href=e,t.id=l,document.head.appendChild(t),s.current=!0,()=>{let e=document.getElementById(l);e&&(e.remove(),s.current=!1)}},[e,l])}])},183481,e=>{"use strict";var t=e.i(843476),l=e.i(770703),s=e.i(549881);let a=(0,l.default)(()=>e.A(342544),{loadableGenerated:{modules:[366099]},ssr:!1});e.s(["CustomCesiumMap",0,({centroidList:e,title:l,component:r,height:i=0,latitude:n="0",longitude:o="0",slug:c="",cesiumjsApiKey:d,googleApyKey:u,enableInfoButton:m=!0})=>{if((0,s.useDynamicCSS)("/cesium/Widgets/widgets.css","cesium-widgets-css"),"place"===r){let e={lat:parseFloat(n)??0,lon:parseFloat(o)??0,alt:i??0};return(0,t.jsx)("div",{className:"h-[500px] relative shadow-[0_12px_30px_rgba(15,23,42,0.2)]",children:(0,t.jsx)(a,{tokens:{cesiumjsApiKey:d,googleApyKey:u},centroidList:{features:[]},isDynamicGlobeEnable:!0,headerItemsZIndex:"z-30",headerContent:{isEnable:!1},isSearchEnable:!1,isCityDataEnable:!1,startupOnFly:!0,startupLocation:e,startupDistanceFromCenter:400,hideBackButton:!0,isMapInterationHanderEnable:!0,eventEntities:[{geometry:[e.lon,e.lat,e.alt],title:l}]})})}if("city"===r){let l=n&&o?{lat:parseFloat(n)??0,lon:parseFloat(o)??0,alt:i??1500}:null;return(0,t.jsx)("div",{className:"h-[500px] relative overflow-hidden shadow-[0_12px_30px_rgba(15,23,42,0.2)]",children:(0,t.jsx)(a,{tokens:{cesiumjsApiKey:d,googleApyKey:u},centroidList:e,startupCity:c,cityCoordinates:l,isDynamicGlobeEnable:!0,headerItemsZIndex:"z-30",headerContent:{isEnable:!1},isSearchEnable:!1,isCityDataEnable:m,isCityComponentEnable:m,startupOnFly:!0,isPointerHeliviewAnimationEnable:!0,isEarthSpinnig:!0,hideBackButton:!0,isMapInterationHanderEnable:!0})})}return"cityFullMap"===r?(0,t.jsx)("div",{className:"w-full h-screen relative overflow-hidden",children:(0,t.jsx)(a,{tokens:{cesiumjsApiKey:d,googleApyKey:u},centroidList:e,startupCity:c,isDynamicGlobeEnable:!0,headerItemsZIndex:"z-30",headerContent:{isEnable:!1},isCityComponentEnable:m,isSearchEnable:!1,isCityDataEnable:m,startupOnFly:!0,isPointerHeliviewAnimationEnable:!0,isCategoryDetailsComponentEnable:!0,isEarthSpinnig:!0})}):(0,t.jsx)("div",{className:"w-full relative overflow-hidden h-screen bg-indigo-dark-color flex items-center justify-center mb-48",children:(0,t.jsx)(a,{headerContent:{isEnable:!1},tokens:{cesiumjsApiKey:d,googleApyKey:u},centroidList:e,isSearchEnable:!0,isCityDataEnable:!0,isCityComponentEnable:!0,isHeaderEnable:!1,isEarthSpinnig:!0,isMapInterationHanderEnable:!0})})}])},454698,e=>{"use strict";var t=e.i(843476),l=e.i(334084),s=e.i(501477);function a({pageTitle:e,pricingConfig:a,children:r}){return(0,t.jsx)(s.LpPageProvider,{pageTitle:e,children:(0,t.jsx)(l.CmsWikiPricingProvider,{pricingConfig:a,children:r})})}e.s(["LpPagePricingShell",()=>a])},911332,e=>{"use strict";var t=e.i(843476),l=e.i(234913),s=e.i(271645);function a({headerStyle:e}){let{setHeaderStyle:a}=(0,l.useAppContext)();return(0,s.useEffect)(()=>{a(e)},[e,a]),(0,t.jsx)(t.Fragment,{})}e.s(["ConfigHeaderStyle",()=>a])},727421,e=>{"use strict";var t=e.i(271645),l=e.i(580406);function s(){let[e,s]=(0,t.useState)(null),[a,r]=(0,t.useState)(!0),[i,n]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return async function(){r(!0);let t=await (0,l.detectUserCountryCode)();e||(s(t),n(!0),r(!1))}(),()=>{e=!0}},[]),{countryCode:e,isLoading:a,isFinalized:i}}e.s(["useUserCountry",()=>s])},334084,e=>{"use strict";var t=e.i(843476),l=e.i(271645);let s=["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE"],a=["AE","QA","SA","KW","BH","OM"],r=["BN","KH","ID","LA","MY","MM","PH","SG","TH","TL","VN"],i=["US","CA","MX"],n=["AU","NZ"],o=["GB"],c=["AR","BO","BR","CL","CO","CR","EC","SV","GT","HN","MX","NI","PA","PY","PE","UY","VE"],d=["DZ","EG","EH","LY","MA","SD","TN"],u=["BJ","BF","CV","CI","GM","GH","GN","GW","LR","ML","MR","NE","NG","SN","SL","TG"],m=["BI","KM","DJ","ER","ET","KE","MG","MW","MU","MZ","RW","SC","SO","SS","TZ","UG","ZM","ZW"],x=["AO","CM","CF","TD","CG","CD","GQ","GA","ST"],h=["BW","SZ","LS","NA","ZA"],p=["AF","BD","BT","IN","MV","NP","PK","LK"],g=["CN","HK","JP","KR","MO","MN","TW"],f=["AM","AZ","CY","GE","IQ","IR","IL","JO","LB","PS","SY","TR","YE"],b=["AG","AI","AW","BB","BM","BQ","BS","CU","CW","DM","DO","GD","HT","JM","KN","KY","LC","MF","MS","PR","SX","TC","TT","VC","VG","VI","GP","MQ","BL"],y=["DK","FI","IS","NO","SE"];function w(e,t){return`${e} (${t.join(", ")})`}w("European Union",s),w("Gulf Cooperation Council",a),w("ASEAN",r),w("North America",i),w("Oceania",n),w("United Kingdom",o),w("Latin America",c),w("North Africa",d),w("West Africa",u),w("East Africa",m),w("Central Africa",x),w("Southern Africa",h),w("South Asia",p),w("East Asia",g),w("Middle East (non-GCC)",f),w("Caribbean",b),w("Nordics",y);
220let v={eu:new Set(s),gcc:new Set(a),asean:new Set(r),north_america:new Set(i),oceania:new Set(n),uk:new Set(o),latam:new Set(c),north_africa:new Set(d),west_africa:new Set(u),east_africa:new Set(m),central_africa:new Set(x),southern_africa:new Set(h),south_asia:new Set(p),east_asia:new Set(g),middle_east:new Set(f),caribbean:new Set(b),nordics:new Set(y)},j=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0});function N(e){return j.format(e)}function k(e){let t=e?.trim();if(!t)return;if(t.startsWith("$"))return t;let l=Number(t.replace(/[$,]/g,""));return Number.isFinite(l)?N(l):t}function C(e,t){let l=Math.max(0,e-t);return l>0?`Save ${N(l)}`:""}function S(e){let t=Math.max(0,e.originalPrice-e.price);return{price:e.price,originalPrice:e.originalPrice,savings:t,formattedPrice:N(e.price),formattedOriginal:N(e.originalPrice),savingsLabel:C(e.originalPrice,e.price)}}var _=e.i(727421);let $=(0,l.createContext)(null);function E({children:e,pricingConfig:s}){let{countryCode:a,isLoading:r,isFinalized:i}=(0,_.useUserCountry)(),n=(0,l.useMemo)(()=>(function(e,t,l){if(!e)return null;if(!e.useDynamicPricing)return function(e,t,l){let s=k(e);if(!s)return null;let a=k(t),r=Number(e?.replace(/[$,]/g,"")??""),i=Number(t?.replace(/[$,]/g,"")??""),n=Number.isFinite(r)&&Number.isFinite(i)?Math.max(0,i-r):0,o=l?.trim()||(n>0?C(i,r):"");return{price:Number.isFinite(r)?r:0,originalPrice:Number.isFinite(i)?i:0,savings:n,formattedPrice:s,formattedOriginal:a??"",savingsLabel:o}}(e.staticPrice,e.staticOriginalPrice,e.staticSavingsLabel);let s=e.tiers;if(!s.length||!l)return null;if(t){for(let e of s)if(("listed_countries"===e.matchMode||"region_based"===e.matchMode)&&function(e,t){switch(e.matchMode){case"listed_countries":return e.countryCodes.includes(t.toUpperCase());case"region_based":var l;let s;if(0===e.regionGroups.length)return!1;return l=e.regionGroups,s=t.toUpperCase(),l.some(e=>v[e].has(s));default:return!1}}(e,t))return S(e)}let a=s.find(e=>"default_fallback"===e.matchMode);return a?S(a):null})(s,a,i),[s,a,i]),o=(0,l.useMemo)(()=>({countryCode:a,isLoading:r,isFinalized:i,pricing:n,hasPricing:null!=n}),[a,r,i,n]);return(0,t.jsx)($.Provider,{value:o,children:e})}function I(){let e=(0,l.useContext)($);if(!e)throw Error("useCmsWikiPricing must be used within CmsWikiPricingProvider");return e}e.s(["CmsWikiPricingProvider",()=>E,"useCmsWikiPricing",()=>I],334084)},501477,e=>{"use strict";var t=e.i(843476),l=e.i(271645);let s=(0,l.createContext)({});function a({pageTitle:e,children:l}){return(0,t.jsx)(s.Provider,{value:{pageTitle:e?.trim()||void 0},children:l})}function r(){return(0,l.useContext)(s)}e.s(["LpPageProvider",()=>a,"useLpPageContext",()=>r])},431343,e=>{"use strict";let t=(0,e.i(475254).default)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);e.s(["Play",()=>t],431343)},162351,907130,187044,882492,640651,e=>{"use strict";var t=e.i(843476),l=e.i(618566),s=e.i(234913),a=e.i(271645),r=e.i(657688);let i="https://hel1.your-objectstorage.com/ztudium-cms/post_placeholder_d23a2725c7.jpg/";function n({src:e,alt:l,fill:s,sizes:n,className:o,width:c,height:d,fallbackSrc:u}){let m=u??i,[x,h]=(0,a.useState)(!1),p=x?m:e||m;return(0,a.useEffect)(()=>{h(!1)},[e]),(0,t.jsx)(r.default,{src:p,alt:l,fill:s,sizes:n,width:s?void 0:c??64,height:s?void 0:d??64,className:o,onError:()=>h(!0)})}function o({src:e,alt:l,className:s,fallbackSrc:r}){let n=r??i,[o,c]=(0,a.useState)(!1),d=o?n:e||n;return(0,a.useEffect)(()=>{c(!1)},[e]),(0,t.jsx)("img",{src:d,alt:l,className:s,onError:()=>c(!0)})}e.s(["ImageWithFallback",()=>n,"ImgWithFallback",()=>o,"SPORTS_FALLBACK_SRC",0,"https://hel1.your-objectstorage.com/ztudium-cms/post_placeholder_d23a2725c7.jpg"],907130);let c=["auto","square","ratio_4_3","ratio_3_4","ratio_16_9","contain"];function d(e){return e&&c.includes(e)?e:"auto"}let u="w-[120px] md:w-[160px] lg:w-[280px]",m="md:h-[160px] lg:h-[180px]";function x(e){return e.widget_picture||e.cover_imageSmall||e.cover_image||e.feature_imageSmall||e.feature_image||e.logo||e.business_logo||""}function h(e){return e.hero_mediaSmall||e.hero_media||e.widget_picture||e.feature_imageSmall||e.feature_image_small||e.feature_image||""}function p(e){return e.widget_picture||e.cover_imageSmall||e.cover_image||e.feature_imageSmall||e.feature_image_small||e.feature_image||""}e.s(["getSportsListingImage",()=>x],187044),e.s(["getAthleteListingImage",()=>h],882492),e.s(["getTeamListingImage",()=>p],640651);let g={education:"https://hel1.your-objectstorage.com/ztudium-cms/education_placeholder_6d275a08df.png",city:"https://hel1.your-objectstorage.com/ztudium-cms/city_placeholder_1_3654918e42.png"};function f({element:e,urlWiki:l,isLightmode:s,paddingXClass:a,imageSurfaceClass:r,fallbackSrc:i,cardImageAspectRatio:o,onNavigate:c}){let f=function(e){let t="object-cover object-center",l="shrink-0 overflow-hidden md:rounded-l-xl",s=(e,t,s)=>({imageColumnClass:`relative ${e} ${t} self-start ${l}`,imageInnerBoxClass:"absolute inset-0",imageObjectClass:s,cardRowClass:"md:items-start"});switch(e){case"square":return s("w-[120px] md:w-[200px] lg:w-[230px]","aspect-square",t);case"ratio_4_3":return s("w-[120px] md:w-[240px] lg:w-[280px]","aspect-[4/3]",t);case"ratio_3_4":return s("w-[96px] md:w-[135px] lg:w-[160px]","aspect-[3/4]",t);case"contain":return s("w-[120px] md:w-[200px] lg:w-[230px]","aspect-square","object-contain p-2");case"ratio_16_9":return s("w-[120px] md:w-[280px] lg:w-[320px]","aspect-[16/9]",`${t} md:rounded-l-xl`);default:return{imageColumnClass:`${u} ${l}`,imageInnerBoxClass:"relative w-full h-full min-h-[120px]",imageObjectClass:`${t} md:rounded-l-xl`,cardRowClass:m}}}(d(o)),b=e.listing_image||h(e)||p(e)||x(e)||e.feature_image||e.feature_image_small||e.business_logo||"",y=b?!b||"https://hel1.your-objectstorage.com/ztudium-cms/post_placeholder_d23a2725c7.jpg"===b&&g[l]?g[l]||"":b:"",w=(e.fields||[]).filter(e=>void 0!==e.value&&null!==e.value&&""!==e.value),v=e.links?.filter(e=>"website"===e.key)||[],j=e.links?.filter(e=>"website"!==e.key)||[],N=v.length>0,k=s?"text-gray-700":"text-white/80",C=s?"text-gray-700":"text-white/70",S=s?"text-gray-500":"text-white/60",_=s?"border-gray-200":"border-white/10",$=s?"bg-white":"bg-[#020617]",E=s?"bg-gray-50":"bg-[#020617]",I=l
220=>(0,t.jsxs)("div",{className:l,children:[(0,t.jsx)("h2",{className:"text-base md:text-lg font-semibold leading-tight uppercase",children:e.title||""}),e.headline?(0,t.jsx)("p",{className:`text-xs md:text-sm mt-1 ${k}`,children:e.headline}):null,(0,t.jsx)("p",{className:`text-xs md:text-sm leading-snug mt-1 line-clamp-3 ${C}`,children:e.description||""})]});return(0,t.jsx)("div",{className:"block w-full mb-4",children:(0,t.jsxs)("div",{className:`w-full flex flex-col md:flex-row ${f.cardRowClass} rounded-xl overflow-hidden shadow-sm cursor-pointer border gap-0 transition-all duration-300 ${s?"bg-white text-black border-gray-200":"bg-[#020617] text-white border-[#1F2937]"}`,onClick:c,role:"link",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),c())},children:[(0,t.jsxs)("div",{className:"flex flex-col md:contents",children:[(0,t.jsxs)("div",{className:"flex flex-row items-start md:contents",children:[(0,t.jsx)("div",{className:`${f.imageColumnClass} ${r}`,children:(0,t.jsx)("div",{className:f.imageInnerBoxClass,children:y?(0,t.jsx)(n,{src:y,alt:`${e.title} cover`,fill:!0,sizes:"(max-width: 768px) 120px, (max-width: 1024px) 160px, 280px",className:f.imageObjectClass,fallbackSrc:i}):(0,t.jsx)("div",{className:`w-full h-full ${s?"bg-gray-100":"bg-[#020617]"} md:rounded-l-xl`})})}),I("flex-1 md:hidden px-3 py-2 space-y-1 flex flex-col justify-center min-w-0")]}),0!==w.length||N?(0,t.jsx)("div",{className:`md:hidden border-t ${_} flex flex-col text-sm ${s?"text-gray-800":"text-white/80"}`,children:w.map((e,l)=>{let a="website"===e.label.toLowerCase();return(0,t.jsxs)("div",{className:`flex flex-col items-start justify-center px-3 py-2 ${l%2==0?$:s?"bg-gray-50":"bg-white/5"}`,children:[(0,t.jsx)("span",{className:`text-xs uppercase tracking-wide ${S}`,children:e.label}),a&&e.value?(0,t.jsx)("a",{href:e.value,target:"_blank",rel:"noreferrer","aria-label":"Website",onClick:e=>e.stopPropagation(),className:"mt-1",children:(0,t.jsx)("img",{src:"/assets/social-media/site.svg",alt:"Website",className:`h-5 w-5 ${s?"invert":""}`})}):(0,t.jsx)("span",{className:"mt-1 font-medium",children:e.value})]},`m-field-${l}`)})}):null]}),(0,t.jsxs)("div",{className:`hidden md:flex flex-1 flex-col self-stretch min-h-0 min-w-0 border-l ${_}`,children:[(0,t.jsx)("div",{className:"flex-1 min-h-0",children:I(`${a} py-4 md:py-6 space-y-2`)}),(0,t.jsx)("div",{className:"mt-auto w-full shrink-0",children:(()=>{if(0===w.length&&!N)return null;let e=w.length+ +!!N;return(0,t.jsxs)("div",{className:`border-t ${_} ${a} py-3 ${E} flex flex-row text-xs md:text-sm ${s?"text-gray-700":"text-white/80"}`,children:[w.map((l,a)=>{let r=a===e-1,i="website"===l.label.toLowerCase();return(0,t.jsxs)("div",{className:`flex-1 flex flex-col items-start justify-center ${!r?`border-r ${_}`:""} ${0===a?"pr-4":r?"pl-4":"px-4"}`,children:[(0,t.jsx)("span",{className:`text-xs uppercase tracking-wide ${S}`,children:l.label}),i&&l.value?(0,t.jsx)("a",{href:l.value,target:"_blank",rel:"noreferrer","aria-label":"Website",onClick:e=>e.stopPropagation(),className:"mt-1",children:(0,t.jsx)("img",{src:"/assets/social-media/site.svg",alt:"Website",className:`h-5 w-5 ${s?"invert":""}`})}):(0,t.jsx)("span",{className:"mt-1 font-medium line-clamp-2",children:l.value??"N/A"})]},`d-field-${a}`)}),N?(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center pl-4",children:(0,t.jsx)("div",{className:"flex items-center gap-4",children:[...v,...j].map(e=>(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer","aria-label":e.label,onClick:e=>e.stopPropagation(),children:(0,t.jsx)("img",{src:e.icon,alt:e.label,className:`h-4 w-4 ${s?"invert":""}`})},e.key))})}):null]})})()})]})]})})}let b={education:"https://hel1.your-objectstorage.com/ztudium-cms/education_placeholder_6d275a08df.png",city:"https://hel1.your-objectstorage.com/ztudium-cms/city_placeholder_1_3654918e42.png"};function y(e){if(e.aspectRatioCss)return{aspectRatio:e.aspectRatioCss,height:"auto",maxHeight:"none"}}function w({list:e=[],urlWiki:a="",fallbackSrc:r,cardImageAspectRatio:i,tableCardLayout:o=!1}){let c=(0,l.useRouter)(),{isLightmode:x,paddingXClass:h}=(0,s.useAppContext)(),p="education"===a,g="city"===a,w=p?"wiki":a,v=x||"wiki"===a?"bg-white":"bg-black",j=d(i),N=function(e){switch(e??"auto"){case"square":return{aspectRatioCss:"1 / 1",objectFit:"cover",imagePadding:!1,useLegacyLayout:!1};case"ratio_4_3":return{aspectRatioCss:"4 / 3",objectFit:"cover",imagePadding:!1,useLegacyLayout:!1};case"ratio_3_4":return{aspectRatioCss:"3 / 4",objectFit:"cover",imagePadding:!1,useLegacyLayout:!1};case"ratio_16_9":return{aspectRatioCss:"16 / 9",objectFit:"cover",imagePadding:!1,useLegacyLayout:!1};case"contain":return{aspectRatioCss:"1 / 1",objectFit:"contain",imagePadding:!0,useLegacyLayout:!1};default:return{objectFit:"cover",imagePadding:!1,useLegacyLayout:!0,cardWrapperLandscape:!0}}}(j),k=!!N.cardWrapperLandscape,C=!N.useLegacyLayout&&!k,S=C?function(e){switch(e){case"square":case"contain":return"aspect-square";case"ratio_4_3":return"aspect-[4/3]";case"ratio_3_4":return"aspect-[3/4]";case"ratio_16_9":return"aspect-[16/9]";default:return""}}(j):"",_=k?"items-stretch justify-center md:items-stretch":C?"items-start justify-start md:items-start md:self-start":"items-center justify-center md:items-stretch",$=(e,l)=>{var s,i,o,c,d;let u=e.hero_mediaSmall||e.hero_media_small||e.hero_media||e.widget_picture||e.cover_imageSmall||e.cover_image_small||e.cover_image||e.business_logo||e.feature_image_small||e.feature_image||"";if(!u){return(0,t.jsx)("div",{className:`${(s=l,i=g,N.useLegacyLayout?"desktop-city"===s||"desktop-default"===s&&i?"w-full h-[180px] md:h-[220px] lg:h-[240px]":"mobile"===s?"w-full h-full min-h-[72px]":"w-full h-full min-h-[120px]":"w-full")} bg-[#020617]`,style:y(N)})}let m=g&&("desktop-city"===l||"desktop-default"===l);return(0,t.jsx)("div",{className:(o=m?"desktop-city":l,c=v,(d=N).cardWrapperLandscape?`relative w-full h-full min-h-[120px] ${c}`:d.useLegacyLayout?"desktop-city"===o?"relative w-full h-[160px] md:h-[200px] lg:h-[220px]":"desktop-default"===o?`relative w-full h-full min-h-[120px] ${c}`:`relative w-full h-full min-h-[72px] ${c}`:`absolute inset-0 ${c}`),style:y(N),children:(0,t.jsx)(n,{src:!u||"https://hel1.your-objectstorage.com/ztudium-cms/post_placeholder_d23a2725c7.jpg"===u&&b[a]?b[a]||"":u,alt:`${e.title} cover`,fill:!0,sizes:"mobile"===(m?"desktop-city":l)?"72px":g?"(max-width: 768px) 100vw, 320px":"(max-width: 1024px) 200px, 230px",className:function(e,t){let l;if(t.cardWrapperLandscape)return"mobile"===e?"object-cover":"object-cover md:rounded-l-xl";if(t.useLegacyLayout)return"desktop-city"===e?"object-cover":"mobile"===e?"object-contain p-2":"object-contain p-4";let s=(l="cover"===t.objectFit?"object-cover":"object-contain",t.imagePadding?`${l} p-4`:l);return"mobile"===e&&t.imagePadding?s.replace("p-4","p-2"):s}(m?"desktop-city":l,N),fallbackSrc:r})})};return o||void 0!==i?(0,t.jsx)("div",{className:"w-full grid grid-cols-1 lg:grid-cols-1 gap-6 transition-all ease-in-out duration-300",children:e?.map((e,l)=>(0,t.jsx)(f,{element:e,urlWiki:a,isLightmode:x,paddingXClass:h,imageSurfaceClass:v,fallbackSrc:r,cardImageAspectRatio:i,onNavigate:()=>{a&&e.slug&&c.push(`/${w}/${e.slug}`)}},e.slug||l))}):(0,t.jsx)("div",{className:"w-full grid grid-cols-1 lg:grid-cols-1 gap-6 transition-all ease-in-out duration-300",children:e?.map((e,l)=>{let s,r,i,n,o,d;return(0,t.jsx)("div",{className:"block w-full",children:(0,t.jsxs)("div",{className:`w-full flex flex-col md:flex-row ${k?m:"md:min-h-[200px]"} rounded-xl overflow-hidden shadow-sm cursor-pointer border ${x?"bg-white text-black border-gray-200":"bg-[#020617] text-white border-[#1F2937]"}`,onClick:()=>{a&&e.slug&&c.push(`/${w}/${e.slug}`)},role:"link",tabIndex:0,onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),a&&e.slug&&c.push(`/${w}/${e.slug}`))},children:[(0,t.jsx)("div",{className:`${g?`md:w-1/3 lg:w-1/4 ${v}`:k?`hidden md:flex ${u} ${v}`:`hidden md:flex shrink-0 relative self-start ${v} ${C?`${S} ${"ratio_4_3"===j?"md:w-[240px] lg:w-[280px]":"ratio_3_4"===j?"md:w-[135px] lg:w-[160px]":"md:w-[200px] lg:w-[230px]"}`:"md:w-[200px] lg:w-[230px]"}`} flex ${_}`,children:$(e,g?"desktop-city":"desktop-default")}),(0,t.jsxs)("div",{className:`flex-1 flex flex-col justify-between min-h-0 md:border-l ${x?"md:border-gray-200":"md:border-white/10"}`,children:[g?(0,t.jsxs)("div",{className:`${h} py-4 md:py-6 space-y-2 md:space-y-3`,children:[(0,t.jsx)("h2",{className:"text-xl font-semibold leading-tight uppercase",children:e?.title||""}),e?.headline&&(0,t.jsx)("p",{className:`text-sm md:text-base ${x?"text-gray-700":"text-white/80"}`,children:e.headline}),(0,t.jsx)("p",{className:`text-sm leading-relaxed max-w-3xl line-clamp-3 ${x?"text-gray-700":"text-white/70"}`,children:e?.description||""})]}):(0,t.jsxs)("div",{className:"flex flex-row md:block",children:[(0,t.jsx)("div",{className:`md:hidden shrink-0 flex ${_} ${v} border-r ${x?"border-gray-200":"border-white/10"} ${k?"w-[120px]":C?`${S} w-[120px]`:"w-[72px]"}`,children:$(e,"mobile")}),(0,t.jsxs)("div",{className:"flex-1 px-3 py-2 md:px-6 md:py-6 space-y-1 md:space-y-3",children:[(0,t.jsx)("h2",{className:"text-sm md:text-xl font-semibold leading-tight uppercase",children:e?.title||""}),e?.headline&&(0,t.jsx)("p",{className:`text-xs md:text-base ${x?"text-gray-700":"text-white/80"}`,children:e.headline}),(0,t.jsx)("p",{className:`text-xs md:text-sm leading-relaxed max-w-3xl line-clamp-3 ${x?"text-gray-700":"text-white/70"}`,children:e?.description||""})]})]}),e?.fields&&e.fields.some(e=>void 0!==e.value&&null!==e.value&&""!==e.value)||e?.links&&e.links.some(e=>"website"===e.key)?(0,t.jsx)("div",{className:`border-t ${h} grid grid-cols-2 md:flex md:flex-row md:items-stretch text-xs md:text-sm ${x?"bg-white border-gray-200 text-gray-700":"bg-[#020617] border-white/10 text-white/80"}`,children:(s=(e.fields||[]).filter(e=>void 0!==e.value&&null!==e.value&&""!==e.value),r=e.links?.filter(e=>"website"===e.key)||[],i=e.links?.filter(e=>"website"!==e.key)||[],n=r.length>0,o=s.length+ +!!n,d=x?"md:border-gray-200":"md:border-white/10",Array.from({length:o}).map((e,l)=>{let a=l===o-1,c=0===l?"pr-0 md:pr-4":a?"pl-0 md:pl-4":"px-0 md:px-4";if(l<s.length){let e=s[l];return"website"===e.label.toLowerCase()?e.value?(0,t.jsxs)("div",{className:`flex-1 flex flex-col items-start justify-start py-3 md:py-4 ${!a?`md:border-r ${d}`:""} ${c}`,children:[(0,t.jsx)("span",{className:`text-xs uppercase tracking-wide ${x?"text-gray-500":"text-white/60"}`,children:e.label}),(0,t.jsx)("a",{href:e.value,target:"_blank",rel:"noreferrer","aria-label":"Website",onClick:e=>e.stopPropagation(),className:"mt-1",children:(0,t.jsx)("img",{src:"/assets/social-media/site.svg",alt:"Website",className:`h-5 w-5 ${x?"invert":""}`})})]},`field-${l}`):null:(0,t.jsxs)("div",{className:`flex-1 flex flex-col items-start justify-start py-3 md:py-4 ${!a?`md:border-r ${d}`:""} ${c}`,children:[(0,t.jsx)("span",{className:`text-xs uppercase tracking-wide ${x?"text-gray-500":"text-white/60"}`,children:e.label}),(0,t.jsx)("span",{className:"mt-1 font-medium line-clamp-2",children:void 0!==e.value&&null!==e.value?e.value:"N/A"})]},`field-${l}`)}if(!n)return null;let u=[...r,...i];return(0,t.jsx)("div",{className:`flex-1 flex items-center justify-center py-3 md:py-4 ${!a?`md:border-r ${d}`:""} ${c}`,children:(0,t.jsx)("div",{className:"flex items-center gap-4",children:u.map(e=>(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer","aria-label":e.label,onClick:e=>e.stopPropagation(),children:(0,t.jsx)("img",{src:e.icon,alt:e.label,className:`h-4 w-4 ${x?"invert":""}`})},e.key))})},"links")}))}):null]})]})},l)})})}e.s(["default",()=>w],162351)},91343,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(162351),a=e.i(618566),r=e.i(424083),i=e.i(555436),n=e.i(186346),o=e.i(693655);let c=e=>{switch(e){case"city":return"city";case"place":return"place";default:return"wiki"}};function d({category_id:e="",title:d="",entity:u,listParams:m=[],initialPagination:x}){let h=(m?.length??0)>0,[p,g]=(0,l.useState)(()=>m??[]),[f,b]=(0,l.useState)(""),[y,w]=(0,l.useState)(!0),[v,j]=(0,l.useState)(0),[N,k]=(0,l.useState)(!1),C=(0,a.useSearchParams)(),[S,_]=(0,l.useState)(!1),[$,E]=(0,l.useState)(null),[I,A]=(0,l.useState)(()=>x?.total!=null?m.length<x.total:m.length>=10),L=(0,l.useRef)(h),T=(0,l.useCallback)(async(t,l,s=0,a=!1)=>{try{_(!0),l!==y&&w(l);let r=window.location.origin,i=`${r}/api/${u}?size=10&sort=${l?"asc":"desc"}&category_id=${e}&search=${t}&page=${s}`,n=await fetch(i);if(!n.ok)throw console.error(`HTTP error! status: ${n.status}`),Error(`HTTP error! status: ${n.status}`);let{items:o,pagination:c}=await n.json();if(Array.isArray(o)){let e=0;a?g(t=>{let l=[...t,...o];return e=l.length,l}):(e=o.length,g(o)),j(s);let t=o.length>=10&&(!c?.total||e<c.total);A(t)}}catch(e){console.error(e)}finally{_(!1)}},[u,y,e]),R=async e=>{e.preventDefault();let t=new URLSearchParams(window.location.search);f?t.set("search",f):t.delete("search");let l=`${window.location.pathname}?${t.toString()}`;window.history.replaceState(null,"",l),j(0),A(!0),T(f,y,0,!1)},P=async()=>{T(f,y,v+1,!0)};return(0,l.useEffect)(()=>
220{if(!N){let e=C.get("search")||"";b(e),(e||!L.current)&&T(e,y,0,!1),k(!0)}},[N,C,T,y]),(0,l.useEffect)(()=>()=>{$&&clearTimeout($)},[$]),(0,t.jsxs)("div",{className:"p-6 overflow-hidden flex flex-col relative mb-24 bg-transparent mt-12",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:flex-wrap md:items-end gap-4 mt-12 mb-7",children:[d&&(0,t.jsx)("h2",{className:"text-xl md:text-2xl font-bold text-white flex-shrink-0",children:d}),(0,t.jsxs)("div",{className:"flex flex-col md:flex-row gap-3 md:gap-4 flex-1 md:ml-12",children:[(0,t.jsx)("form",{onSubmit:R,className:"relative w-full md:w-[320px]",children:(0,t.jsxs)("div",{className:"relative w-full rounded-xl",children:[(0,t.jsx)(r.Input,{type:"search",placeholder:"Filter",value:f,onChange:e=>{var t;b(t=e.target.value),$&&clearTimeout($),E(setTimeout(()=>{j(0),A(!0),T(t,y,0,!1)},300))},className:"h-12 pl-14 pr-4 rounded-xl text-gray-100 bg-[#04040F] backdrop-blur-sm border border-[#2C3C4C]/60 focus:outline-none w-full"}),(0,t.jsx)("div",{className:"flex absolute top-1/2 -translate-y-1/2 left-3 text-gray-400 pointer-events-none h-10 w-10 items-center justify-center",children:(0,t.jsx)(i.Search,{size:18})})]})}),(0,t.jsx)("div",{className:"w-full md:w-[220px]",children:(0,t.jsxs)(o.Select,{value:y?"asc":"desc",onValueChange:e=>{j(0),A(!0),T(f,"asc"===e,0,!1)},children:[(0,t.jsx)(o.SelectTrigger,{className:"h-12 bg-[#04040F] rounded-xl border border-[#2C3C4C]/60 text-white text-sm hover:bg-[#04040F]/80 transition-colors w-full",children:(0,t.jsx)(o.SelectValue,{placeholder:"Sort"})}),(0,t.jsxs)(o.SelectContent,{className:"bg-[#020617] border border-[#2C3C4C]/60 w-[220px] rounded-xl",children:[(0,t.jsx)(o.SelectItem,{className:"text-white",value:"asc",children:"A to Z"}),(0,t.jsx)(o.SelectItem,{className:"text-white/80",value:"desc",children:"Z to A"})]})]})})]})]}),(0,t.jsxs)("div",{className:"",children:[p.length>0?(0,t.jsx)(s.default,{urlWiki:c(u),list:p.map(e=>({description:e.description??"",feature_image:e.featureImage??"",feature_image_small:e.featureImageSmall??"",headline:"",...e}))}):""!==f.trim()&&N&&!S&&(0,t.jsx)("div",{className:"text-center py-12",children:(0,t.jsx)("div",{className:"text-white/60 text-lg mb-4",children:`No results found for "${f}"`})}),S&&0===p.length&&(0,t.jsx)("div",{className:"text-center py-12",children:(0,t.jsx)("div",{className:"text-white/60 text-lg",children:"Loading..."})})]}),p.length>0&&I&&(0,t.jsx)(n.default,{size:"sm",onClick:P,text:S?"Loading...":"Load More",disabled:S,className:"mt-4 mx-auto"})]})}e.s(["default",()=>d,"getEntityToList",0,c])},175342,e=>{"use strict";function t(e){return`/videos/${e}`}function l(e){return`/videos/${e}?play=true`}function s(e){return"true"===e||"1"===e}e.s(["getVideoDetailPath",()=>t,"getVideoPlayPath",()=>l,"shouldAutoOpenVideoPlayer",()=>s])},960485,e=>{"use strict";let t={title:"Thank you for your interest!",subtitle:"We'll review your submission and be in touch shortly with next steps.",buttonText:"home",buttonHref:"/"};function l(e){let l="string"==typeof e?.title&&e.title.trim()?e.title.trim():t.title,s="string"==typeof e?.subtitle&&e.subtitle.trim()?e.subtitle.trim():t.subtitle,a="string"==typeof e?.buttonText&&e.buttonText.trim()?e.buttonText.trim():t.buttonText,r="string"==typeof e?.buttonHref&&e.buttonHref.trim()?e.buttonHref.trim():t.buttonHref;return{title:l,subtitle:s,buttonText:a,buttonHref:!function(e){if(e.startsWith("/")&&!e.startsWith("//"))return!0;try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}(r)?t.buttonHref:r}}function s(e){let t=l(e),s=new URLSearchParams;return s.set("title",t.title),s.set("subtitle",t.subtitle),`/thankyou?${s.toString()}`}function a(e){return e&&"object"==typeof e?l(e.thankYou):{...t}}e.s(["buildThankYouPath",()=>s,"parseThankYouApiResponse",()=>a])},292154,e=>{"use strict";e.s(["BRAND_AUTHORITY_CTA_SHADOW",0,"0px 20px 12.5px rgba(0, 0, 0, 0.1), 0px 8px 5px rgba(0, 0, 0, 0.1)","CARD_GRADIENT",0,"linear-gradient(180deg, #0431CF 0%, #001554 100%)","COLORS",0,{heading:"#111827",brandBlue:"#1A3CDB",body:"#6B7280",white:"#FFFFFF",successGreen:"#10B981"},"COMPARISON_TABLE_SHADOW",0,"0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1)","FOUNDERS_SECTION_GRADIENT",0,"linear-gradient(180deg, #0431CF 0%, #032FC6 7.14%, #032DBC 14.29%, #022BB3 21.43%, #0229AA 28.57%, #0227A1 35.71%, #012598 42.86%, #01238F 50%, #012186 57.14%, #001F7E 64.29%, #001D75 71.43%, #001B6D 78.57%, #001964 85.71%, #00155C 92.86%, #001554 100%)","GREEN_ICON_GRADIENT",0,"linear-gradient(180deg, #10B981 0%, #0FB67F 8%, #0EB37D 17%, #0DB07B 25%, #0CAD79 33%, #0BAA77 42%, #0AA775 50%, #09A473 58%, #08A271 67%, #079F6F 75%, #079C6D 83%, #06996B 92%, #059669 100%)","HERO_VIDEO_URL",0,"https://hel1.your-objectstorage.com/ztudium-cms/Businessabc_wikis_compressed_51b81d525f.mp4","ICON_GRADIENT",0,"linear-gradient(180deg, #1A3CDB 0%, #163AD9 20%, #1238D6 40%, #0E36D4 60%, #0933D1 80%, #0431CF 100%)","LIST_ITEM_SHADOW",0,"0px 1px 1.5px rgba(0, 0, 0, 0.1), 0px 1px 1px rgba(0, 0, 0, 0.1)","SECTION_PAGE_PADDING_X",0,"px-4 md:px-8 lg:px-[8.5rem] xl:px-44","STEP_
220CARD_BODY",0,"#4B5563","STEP_CARD_GRADIENT",0,"linear-gradient(158.611deg, #EEF0FB 0%, #F0F2FC 14.29%, #F3F4FC 28.57%, #F5F6FD 42.86%, #F8F9FD 57.14%, #FAFBFE 71.43%, #FDFDFE 85.71%, #FFFFFF 100%)","TABLE_BORDER",0,"#E5E7EB","TABLE_HEADER_BG",0,"#F3F4F6","TABLE_HIGHLIGHT_CELL_BG",0,"#F8F9FF","TABLE_HIGHLIGHT_HEADER_BG",0,"#EEF0FB","TEXT_SUBHEAD",0,"#374151","VERIFICATION_BADGE_IMAGE",0,"https://hel1.your-objectstorage.com/ztudium-cms/BABC_verified_badge_3bb68057a4.png","VERIFICATION_ICON_GRADIENT",0,"linear-gradient(135deg, #3B82F6 0%, #387DF4 7.14%, #3579F2 14.29%, #3174F0 21.43%, #2E70EF 28.57%, #2C6BED 35.71%, #2966EB 42.86%, #2662E9 50%, #245DE7 57.14%, #2258E5 64.29%, #1F52E3 71.43%, #1E4DE1 78.57%, #1C48DF 85.71%, #1B42DD 92.86%, #1A3CDB 100%)","VERIFICATION_SECTION_BG",0,"#EEF0FB","VIDEO_GRADIENT",0,"linear-gradient(180deg, #0431cf 0%, #032fc6 7%, #032dbc 14%, #022bb3 21%, #0229aa 29%, #0227a1 36%, #012598 43%, #01238f 50%, #012186 57%, #001f7e 64%, #001d75 71%, #001b6d 79%, #001964 86%, #00155c 93%, #001554 100%)","WHO_SECTION_CARD_BG",0,"#F9FAFB","WHO_SECTION_TAG_BG",0,"#E8ECFB","WIKI_CTA_TEXT_CLASS",0,"text-base font-bold leading-6 sm:text-lg sm:leading-7 md:text-xl md:leading-8 lg:text-2xl lg:leading-9"])},868998,e=>{"use strict";var t=e.i(843476);e.s(["CurrencyFormatter",0,({regularPrice:e,compareAtPrice:l,country:s,className:a})=>{let r=(e,t)=>e&&t?new Intl.NumberFormat(t.locale||"en-US",{style:"currency",currency:t,minimumFractionDigits:2,maximumFractionDigits:2}).format(e):"";return(0,t.jsxs)("span",{className:"flex font-bold items-center gap-2",children:[(0,t.jsx)("span",{id:"price-collection",className:`font-bold ${a} `,children:r(e,s)}),0!==l&&(0,t.jsx)("span",{className:"text-sm text-gray-500 line-through",children:r(l,s)})]})}])},571548,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(522016),a=e.i(868998);function r({product:e}){let r=parseFloat(e.priceRange.minVariantPrice.amount),i=e.priceRange.minVariantPrice.currencyCode,n=e.compareAtPriceRange?.minVariantPrice?.amount?parseFloat(e.compareAtPriceRange.minVariantPrice.amount):null,o=n?Math.round((n-r)/n*100):null,c=e?.images?.edges[0]?.node.url,d=`/marketplace/${e.handle}`,u=e.title?.trim(),m=e.featuredImage?.altText?.trim()||e.images?.edges?.[0]?.node?.altText?.trim()||(u?`Product image for ${u}`:"Product image");return(0,t.jsx)(s.default,{href:d,className:"group block h-full",children:(0,t.jsxs)("div",{className:"relative aspect-square rounded-2xl overflow-hidden border border-[#2C3C4C]/60",children:[(0,t.jsx)(l.default,{src:e.featuredImage?.url||c,alt:m,fill:!0,className:"object-cover group-hover:scale-105 transition-transform duration-300"}),o&&(0,t.jsxs)("div",{className:"absolute z-40 top-2 left-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded",children:["Save ",o,"%"]}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-3/5 z-10 pointer-events-none",style:{background:"linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.35) 50%, transparent)"}}),(0,t.jsxs)("div",{className:"absolute inset-0 z-30 flex flex-col justify-end items-center p-4",children:[(0,t.jsx)("h3",{className:"text-sm md:text-base font-semibold leading-snug line-clamp-2 text-white drop-shadow-md text-center",children:e.title||"Product"}),(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsx)(a.CurrencyFormatter,{regularPrice:r,compareAtPrice:n,country:i,className:"text-white"})})]})]})})}e.s(["default",()=>r])},843383,e=>{"use strict";var t=e.i(843476),l=e.i(634966),s=e.i(657688),a=e.i(522016),r=e.i(975157);function i({isLightmode:e,...l}){let i=(0,r.formatDateEnGbUtc)(l.publishedAt,{year:"numeric",month:"long",day:"numeric"}),n=l.post_author?.name??"",o=l.description||l.seo?.metaDescription||"",c=l.title?.trim(),d=c?`Cover image for ${c}`:o.trim()||"Article cover image",u=!e;return(0,t.jsx)(a.default,{href:`/${l.slug}`,className:"block h-full",children:(0,t.jsxs)("article",{className:`rounded-lg overflow-hidden border flex flex-col cursor-pointer h-full min-h-[360px] ${u?"bg-[#05060B] border-[#2C3C4C]/60":"bg-white border-gray-200"}`,children:[(0,t.jsx)("div",{className:"relative aspect-[1.6/1] w-full h-[200px] shrink-0",children:(0,t.jsx)(s.default,{src:l.featureImageUrl||l.imageMedium||"/assets/images/placeholder.png",alt:d,className:"w-full h-full object-cover object-top",
220width:640,height:400,priority:!1})}),(0,t.jsxs)("div",{className:"px-5 py-4 flex flex-1 flex-col gap-2 min-h-[180px]",children:[(0,t.jsx)("p",{className:`text-base md:text-md font-semibold leading-snug line-clamp-2 ${u?"text-white":"text-black"}`,children:l.title}),o&&(0,t.jsx)("p",{className:`text-sm leading-relaxed line-clamp-2 ${u?"text-white/80":"text-gray-700"}`,children:o}),(n||i)&&(0,t.jsxs)("div",{className:`mt-auto pt-2 text-xs space-y-0.5 ${u?"text-white/80":"text-gray-500"}`,children:[n&&(0,t.jsx)("div",{children:n}),i&&(0,t.jsx)("div",{children:i})]})]})]})})}function n(e){return e.match(/(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/user\/\S+|\/ytscreeningroom\?v=|\/sandalsResorts#\w\/\w\/.*\/))([^\/&\n?\s]{11})/)?.[1]}function o({url:e,imageAlt:l}){let r,i=(r=n(e))?`https://img.youtube.com/vi/${r}/maxresdefault.jpg`:"",o=n(e),c=l?.trim()||(o?`Thumbnail for YouTube video ${o}`:"YouTube video thumbnail");return(0,t.jsx)(a.default,{href:e,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)("article",{className:"rounded-lg overflow-hidden bg-[#05060B] border border-[#2C3C4C]/60 flex flex-col cursor-pointer h-full",children:(0,t.jsxs)("div",{className:"relative aspect-video w-full group",children:[(0,t.jsx)(s.default,{src:i||"/assets/images/video-placeholder.jpg",alt:c,className:"w-full h-full object-cover",width:640,height:360,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent"}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-16 h-16 bg-white/20 rounded-full flex items-center justify-center backdrop-blur-sm group-hover:scale-110 transition-transform duration-300",children:(0,t.jsx)("div",{className:"w-0 h-0 border-t-[12px] border-t-transparent border-l-[20px] border-l-white border-b-[12px] border-b-transparent ml-1"})})})]})})})}var c=e.i(571548),d=e.i(186346),u=e.i(234913);function m({posts:e=[],videoLinks:s=[],products:a=[],title:r,ctaLabel:n,ctaUrl:m,isVideoLinks:x=!1,isProducts:h=!1}){let p=h?a:x?s:e,{isLightmode:g,appCode:f}=(0,u.useAppContext)();return p.length?(0,t.jsx)("div",{className:"w-full px-4 my-4 overflow-hidden",children:(0,t.jsxs)("div",{children:[r&&(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("p",{className:`text-xl md:text-2xl font-semibold ${g?"text-black":"text-white"} ${"new-wisdomia"===f?"goodtimes-font-family":""}`,children:r})}),(0,t.jsx)(l.Carousel,{opts:{align:"start",loop:!0},children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(l.CarouselContent,{children:p.map((e,s)=>(0,t.jsx)(l.CarouselItem,{className:"basis-[85%] sm:basis-[50%] md:basis-[33.3333%] lg:basis-[25%] xl:basis-[25%] h-full",children:h?(0,t.jsx)(c.default,{product:e}):x?(0,t.jsx)(o,{url:e.url,imageAlt:r?`${r} — video ${s+1}`:`Video ${s+1}`}):(0,t.jsx)(i,{...e,isLightmode:g})},s))}),(0,t.jsx)(l.CarouselPrevious,{className:`hidden md:flex h-10 w-10 rounded-full ${!g?"bg-[#04040F]/90 border border-[#2C3C4C]/60 text-white hover:bg-[#2C3C4C]/80":"bg-white border border-gray-200 text-black hover:bg-gray-200"} -left-4 top-1/2 -translate-y-1/2`}),(0,t.jsx)(l.CarouselNext,{className:`hidden md:flex h-10 w-10 rounded-full ${!g?"bg-[#04040F]/90 border border-[#2C3C4C]/60 text-white hover:bg-[#2C3C4C]/80":"bg-white border border-gray-200 text-black hover:bg-gray-200"} -right-4 top-1/2 -translate-y-1/2`})]})}),m&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(d.default,{href:m,size:"sm",text:n||"View more",className:"mt-2"})})]})}):null}e.s(["UnifiedCarousel",()=>m],843383)},924214,e=>{"use strict";var t=e.i(843476),l=e.i(843383);e.s(["default",0,({products:e,title:s})=>(0,t.jsx)(l.UnifiedCarousel,{isProducts:!0,products:e,title:s,ctaLabel:"View Marketplace",ctaUrl:"/marketplace"})])},477935,e=>{"use strict";var t=e.i(843476),l=e.i(522016),s=e.i(463059),a=e.i(254326),r=e.i(924214),i=e.i(234913);function n({onlyFirstFive:e=!1,showCollectionsSlider:n=!0}
220){let{paddingXClass:o}=(0,i.useAppContext)(),{data:c,isLoading:d}=(0,a.useProductsByCollection)({first:250});if(d)return(0,t.jsx)("div",{className:"min-h-[200px] flex items-center justify-center text-white",children:"Loading..."});let u=function(e){if(!e?.length)return[];let t={};return e.forEach(e=>{e.collections?.forEach(e=>{!t[e.handle]&&e.displayProduct&&(t[e.handle]={id:e.id,title:e.title,handle:e.handle,specialSeries:e.specialSeries,orderOfProductDisplay:e.orderOfProductDisplay,products:[]})})}),e.forEach(e=>{e.isFeatured&&e.collections?.forEach(l=>{if(t[l.handle]){let s=t[l.handle];s.products.some(t=>t.id===e.id)||s.products.push(e)}})}),Object.values(t).sort((e,t)=>e.orderOfProductDisplay-t.orderOfProductDisplay)}(c??[]),m=u.slice(0,5),x=u.slice(5),h=({handle:e,title:a,specialSeries:i,products:n})=>(0,t.jsxs)("section",{className:"w-full overflow-hidden",children:[(0,t.jsx)("div",{className:`mx-auto ${o} -mb-1`,children:(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-xl md:text-2xl font-semibold text-white",children:a}),i&&(0,t.jsx)("p",{className:"text-white text-sm md:text-lg italic mt-1 opacity-80",children:i})]}),(0,t.jsxs)(l.default,{href:`/marketplace/collections/${e}`,className:"flex items-center gap-2 text-white text-sm md:text-base",children:["SEE MORE...",(0,t.jsx)(s.ChevronRight,{className:"w-4 h-4 text-white"})]})]})}),(0,t.jsx)(r.default,{products:n})]},e);return(0,t.jsxs)("div",{className:"space-y-6 w-full my-6 overflow-hidden",children:[m.map(h),!e&&x.map(h)]})}e.s(["default",()=>n])},665012,580491,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(174080),a=e.i(618566),r=e.i(657688),i=e.i(506828);function n({onClick:e,avatarImage:n,avatarName:o,avatarTitle:c}){let d=(0,a.usePathname)(),[u,m]=(0,l.useState)({x:0,y:0}),[x,h]=(0,l.useState)(!1),[p,g]=(0,l.useState)({x:0,y:0}),[f,b]=(0,l.useState)(!1),[y,w]=(0,l.useState)(!1),[v,j]=(0,l.useState)(null),N=(0,l.useRef)(null);(0,l.useEffect)(()=>{if(!f){let e=window.innerWidth,t=window.innerHeight,l=e<768;w(l||e>=768&&e<1280),m({x:e-(l?160:220),y:t-(l?150:320)}),j(null),b(!0)}},[f]);let k=e=>{if(!x)return;let t=e.clientX-p.x,l=e.clientY-p.y,s=window.innerWidth<768;m({x:Math.max(0,Math.min(t,window.innerWidth-(s?140:196))),y:Math.max(0,Math.min(l,window.innerHeight-(s?120:220)))})},C=()=>{h(!1),j(null)},S=t=>{t.stopPropagation(),t.preventDefault(),x||e()};return((0,l.useEffect)(()=>{if(x)return document.addEventListener("mousemove",k),document.addEventListener("mouseup",C),()=>{document.removeEventListener("mousemove",k),document.removeEventListener("mouseup",C)}},[x,p,u]),"u"<typeof document||!f||i.LANDING_PAGE_PATHS.includes(d??""))?null:(0,s.createPortal)((0,t.jsxs)("button",{ref:N,onMouseDown:e=>{e.preventDefault(),h(!0),g({x:e.clientX-u.x,y:e.clientY-u.y})},style:{position:"fixed",left:u.x,top:u.y,zIndex:999999,border:"2px solid black",transform:x?"scale(1.02)":"scale(1)",transition:x?"none":"transform 0.2s ease",cursor:x?"grabbing":"grab"},className:"bg-black text-white rounded-[20px] md:rounded-lg flex items-center gap-3 md:flex-col md:gap-2 md:py-2 shadow-xl w-[140px] h-auto md:w-[196px] md:h-auto hover:scale-105 select-none relative py-3 px-3 md:p-0 md:justify-center",children:[(0,t.jsx)("div",{className:"mb-0 mr-auto md:mb-2 ml-2 hidden md:flex cursor-pointer rounded-lg py-3 px-2 transition-colors",onClick:S,children:(0,t.jsx)("svg",{width:"76",height:"22",viewBox:"0 0 76 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M10 1V20.0909M4.6 5.54545H6.4M4.6 9.18182H6.4M4.6 21H24.4C26.3882 21 28 19.3719 28 17.3636V4.63636C28 2.62806 26.3882 1 24.4 1H4.6C2.61177 1 1 2.62806 1 4.63636V17.3636C1 19.3719 2.61177 21 4.6 21Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round"})})}),(0,t.jsxs)("div",{className:"flex flex-col md:hidden cursor-pointer rounded-[20px] transition-colors items-center gap-2 w-full",onClick:S,children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-full overflow-hidden flex-shrink-0 relative",children:n?(0,t.jsx)(r.default,{src:n,alt:"Avatar",fill:!0,className:"object-cover",sizes:"64px"}):(0,t.jsx)("div",{className:"w-full h-full bg-gradient-to-br from-blue-400 to-purple-500 flex items-center justify-center",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 76 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M10 1V20.0909M4.6 5.54545H6.4M4.6 9.18182H6.4M4.6 21H24.4C26.3882 21 28 19.3719 28 17.3636V4.63636C28 2.62806 26.3882 1 24.4 1H4.6C2.61177 1 1 2.62806 1 4.63636V17.3636C1 19.3719 2.61177 21 4.6 21Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round"})})})}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsxs)("span",{className:"text-white font-semibold text-sm leading-tight",children:["Ask ",o||"AI"]}),c&&(0,t.jsx)("span",{className:"text-white/70 text-xs leading-tight",children:c})]})]}),n&&(0,t.jsx)("div",{className:"rounded-full hidden md:flex overflow-hidden w-[150px] h-[150px] mb-2 relative",children:(0,t.jsx)(r.default,{src:n,alt:"Avatar",fill:!0,className:"object-cover",sizes:"150px"})}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-center mt-4 hidden md:flex",children:[(0,t.jsxs)("span",{className:"text-white font-semibold leading-tight",children:["Ask ",o||"AI"]}),c&&(0,t.jsx)("span",{className:"text-white/70 text-sm leading-tight",children:c})]})]}),document.body)}var o=e.i(514764),c=e.i(382373),d=e.i(135116),u=e.i(752044),m=e.i(841537),x=e.i(603357),h=e.i(65723),p=e.i(17610),g=e.i(626281);let f=({feature_image:e,thumbnail_video:s,voice_id:a,chatMessages:r=[],character_id:i,projectId:n,agentId:f,isLayoutNull:b,placeholder:y="Ask about citiesabc",onClose:w=()=>{},summary:v="",show_search_results:j,sessionId:N})=>{let{messages:k,loading:C,muted:S,isOpen:_,conversations:$,chatBoxRef:E,formRef:I,streamingVideoRef:A,register:L,handleSubmit:T,isSubmitting:R,isConnectionReady:P,isStreamingReady:O,streamingVideoLoading:F,streamingVideoUrl:D,isVideoPlaying:B,sendUserMessage:M,onSubmit:U,toggleMute:z,handleStopStreaming:G,setIsOpen:W,setSelectedConv:H,setMessages:V,setConversations:q,userId:Q,appCode:K}=(0,g.useChatEngine)({feature_image:e,thumbnail_video:s,voice_id:a,chatMessages:r,character_id:i,projectId:n,agentId:f,placeholder:y,summary:v,show_search_results:j,sessionId:N,scrollBehavior:"smooth"});return(0,t.jsxs)("div",{className:`relative z-[9999] rounded-[24px] overflow-hidden bg-black flex flex-col ${b?"h-screen":""} w-full`,children:[Q&&"wisdomia"===K&&_&&(0,t.jsx)(p.default,{conversations:$,setSelectedConv:H,setMessages:V,isOpen:_,toggleMenu:()=>W(!1),setConversations:q}),(0,t.jsxs)("div",{className:`relative w-full flex-1 ${b?"h-full":"max-h-[70vh] aspect-[572/767]"} overflow-hidden`,children:[(0,t.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInl
220ine:!0,src:s||void 0,className:`absolute w-full h-full object-cover ${!P||O&&!B?"z-10":"z-0"} top-0 left-0`}),(0,t.jsx)("video",{ref:A,className:`${O&&!F&&B?"block z-20":"hidden"} w-full h-full object-cover bg-black transition-opacity duration-1000 absolute top-0 left-0`,autoPlay:!0,playsInline:!0,controls:!1,muted:S,src:D||void 0})]}),!b&&(0,t.jsx)("button",{onClick:w,className:"absolute top-4 left-4 z-40 text-white text-xl pointer-events-auto w-12 h-12",children:(0,t.jsx)("svg",{width:"76",height:"22",viewBox:"0 0 76 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M10 1V20.0909M4.6 5.54545H6.4M4.6 9.18182H6.4M4.6 21H24.4C26.3882 21 28 19.3719 28 17.3636V4.63636C28 2.62806 26.3882 1 24.4 1H4.6C2.61177 1 1 2.62806 1 4.63636V17.3636C1 19.3719 2.61177 21 4.6 21Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round"})})}),(0,t.jsx)("button",{onClick:z,className:"absolute top-4 right-4 z-30 text-white text-xl w-12 h-12 bg-black rounded-full flex justify-center items-center",children:S?(0,t.jsx)(d.VolumeX,{size:20}):(0,t.jsx)(c.Volume2,{size:20})}),(0,t.jsxs)("div",{ref:E,className:"absolute top-1/2 left-2 right-2 md:left-4 md:right-4 bottom-[116px] pt-2 z-40 overflow-y-auto flex flex-col gap-2 md:gap-3 pointer-events-auto",children:[k.map((s,a)=>(0,t.jsxs)(l.default.Fragment,{children:["Character"===s.speaker&&(0,t.jsx)(x.BotMessage,{message:s.message,feature_image:e,loading:a===k.length-1&&C,sourceDocuments:s.sourceDocuments,travelData:s.travelData,show_search_results:j,search:s.search,followUpSuggestions:s.followUpSuggestions,onFollowUpClick:e=>{M(e),setTimeout(()=>{E.current&&E.current.scrollTo({top:E.current.scrollHeight,behavior:"smooth"})},100)},searchQuery:s.searchQuery}),s.isAudio&&(0,t.jsx)(h.AudioLoading,{}),!s.isAudio&&"User"===s.speaker&&s.message&&(0,t.jsx)(m.UserMessage,{message:s.message})]},s.id)),C&&k[k.length-1]?.speaker!=="Character"&&(0,t.jsx)(x.BotMessage,{show_search_results:j,message:"",feature_image:e,loading:!0,sourceDocuments:[],travelData:[],search:[],followUpSuggestions:[]})]}),(0,t.jsxs)("div",{className:"w-full p-4 flex items-center gap-3 justify-end pointer-events-auto relative border border-2 border-white/10 rounded-b-[24px]",children:[Q&&"wisdomia"===K&&(0,t.jsxs)("button",{type:"button",onClick:()=>W(!0),className:`${_?"opacity-0 scale-95 pointer-events-none":"opacity-100 scale-100"} bg-white text-black h-10 flex gap-2 rounded-full px-4 items-center text-sm font-semibold transition-all duration-300 shrink-0`,children:[(0,t.jsx)("span",{className:"hidden md:block",children:"My Chats"}),(0,t.jsx)("span",{className:"bg-black flex items-center justify-center w-7 h-7 rounded-full",children:(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})})})]}),(0,t.jsxs)("form",{ref:I,onSubmit:e=>{O&&B?e.preventDefault():T(U)(e)},className:`flex-1 flex items-end gap-3 relative p-2 rounded-full ${"wisdomia"===K?"bg-gradient-linear-yellow":"impakt"===K?"bg-gradient-linear-green":"bg-gradient-linear-blue"}`,children:[(0,t.jsx)("input",{type:"text",placeholder:y,...L("message"),disabled:C||O&&B,className:"flex-1 bg-white/20 text-white placeholder-white/70 p-2 rounded-[11px] resize-none focus:outline-none",onKeyDown:e=>{O&&B?e.preventDefault():"Enter"!==e.key||e.shiftKey||(e.preventDefault(),I.current?.requestSubmit())}}),O&&B?(0,t.jsx)("button",{type:"button",onClick:G,className:`h-10 w-10 rounded-full flex items-center justify-center text-white transition-transform duration-200 ease-in-out hover:scale-110 ${"impakt"===K?"bg-[#166534]":"bg-[#1e3a8a]"}`,title:"Stop Video",children:(0,t.jsx)(u.Square,{size:16})}):(0,t.jsx)("button",{type:"submit",disabled:R||C||O&&B,className:`h-10 w-10 rounded-full flex items-center justify-center text-white transition-transform duration-200 ease-in-out hover:scale-110 ${"impakt"===K?"bg-[#166534]":"bg-[#1e3a8a]"}`,children:(0,t.jsx)(o.Send,{size:16})})]})]})]})};function b({onClose:e,avatarVoiceId:l,avatarPersonality:s,avatarIdleVideoUrl:a,projectId:r,agentId:i,avatarImageUrl:n,placeholder:o,isLayoutNull:c,summary:d,logo:u,personality:m,show_search_results:x}){return(0,t.jsx)(f,{onClose:e,character_id:s,feature_image:n,thumbnail_video:a,voice_id:l,projectId:r,agentId:i,placeholder:o,faqs:[],isLayoutNull:c,summary:m||d||s,logo:u,show_search_results:x})}function y(e){let{avatarIdleVideoUrl:a,avatarImageUrl:r,avatarPersonality:i,avatarVoiceId:o,projectId:c,agentId:d,placeholder:u,isLayoutNull:m,summary:x,logo:h,personality:p,show_search_results:g}=e,[f,y]=(0,l.useState)(!1),[w,v]=(0,l.useState)({x:0,y:0}),[j,N]=(0,l.useState)(!1),[k,C]=(0,l.useState)({x:0,y:0}),[S,_]=(0,l.useState)(!1),[$,E]=(0,l.useState)(!1),I=(0,l.useRef)(null);(0,l.useEffect)(()=>
220{if(!S){let e=window.innerWidth<768;v({x:m?0:e?10:(window.innerWidth-572)/2,y:m?0:e?20:(window.innerHeight-600)/2+50}),_(!0)}},[S,m]),(0,l.useEffect)(()=>{if(f){E(!0);let e=setTimeout(()=>{let e=window.innerWidth<768;v(t=>({x:m?t.x:e?10:(window.innerWidth-572)/2,y:m?t.y:e?10:(window.innerHeight-600)/2})),E(!1)},50);return()=>clearTimeout(e)}},[f,m]);let A=e=>{if(!j)return;let t=e.clientX-k.x,l=e.clientY-k.y,s=window.innerWidth<768,a=s?window.innerWidth-20:572,r=s?window.innerHeight-20:624;v({x:Math.max(0,Math.min(t,window.innerWidth-a)),y:Math.max(0,Math.min(l,window.innerHeight-r))})},L=()=>{N(!1)};return(0,l.useEffect)(()=>{if(j)return document.addEventListener("mousemove",A),document.addEventListener("mouseup",L),()=>{document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",L)}},[j,k,w]),(0,t.jsxs)(t.Fragment,{children:[!f&&(0,t.jsx)(n,{onClick:()=>y(!0),avatarImage:r,avatarName:e.avatarName,avatarTitle:e.avatarSubtitle}),f&&"u">typeof document&&(0,s.createPortal)((0,t.jsx)("div",{ref:I,onMouseDown:e=>{if(window.innerWidth<768)return;let t=e.target;"INPUT"===t.tagName||"TEXTAREA"===t.tagName||"BUTTON"===t.tagName||t.closest("form")||t.closest("input")||t.closest("button")||(e.preventDefault(),N(!0),C({x:e.clientX-w.x,y:e.clientY-w.y}))},style:{position:"fixed",left:w.x,top:w.y,zIndex:999999,transform:j?"scale(1.02)":"scale(1)",opacity:+!$,transition:j?"none":"all 0.5s ease, opacity 0.3s ease",cursor:window.innerWidth<768?"default":j?"grabbing":"grab"},className:`
221            bg-[#04040F]
222            text-white
223            shadow-2xl
224            rounded-[24px]
225            w-full
226            max-w-[calc(100vw-20px)] sm:max-w-[572px]
227            max-h-[calc(100vh-20px)]
228            h-fit
229            select-none
230          `,children:(0,t.jsx)(b,{show_search_results:g,avatarVoiceId:o,avatarPersonality:i,avatarIdleVideoUrl:a,avatarImageUrl:r,projectId:c,agentId:d,onClose:()=>y(!1),placeholder:u,isLayoutNull:m,summary:x,logo:h,personality:p})}),document.body)]})}e.s(["ChatContainer",0,f],580491),e.s(["default",()=>y],665012)},867840,e=>{"use strict";var t=e.i(843476),l=e.i(271645);let s=/\.(mp4|webm|ogg|mov|avi|m3u8)(\?.*)?$/i;function a({videoUrl:e,fallback:a}){let r,i,n,[o,c]=(0,l.useState)(a);return((0,l.useEffect)(()=>{if(!e||!s.test(e))return;let t=document.createElement("video");t.preload="metadata",t.src=e;let l=()=>{isFinite(t.duration)&&t.duration>0&&c(Math.round(t.duration)),t.src=""};return t.addEventListener("loadedmetadata",l),()=>{t.removeEventListener("loadedmetadata",l),t.src=""}},[e]),null==o)?null:(0,t.jsx)("span",{className:"absolute bottom-2 right-2 rounded bg-black/70 px-1.5 py-0.5 text-xs text-white",children:(r=Math.floor(o/3600),i=Math.floor(o%3600/60),n=Math.floor(o%60),r>0?`${r}:${String(i).padStart(2,"0")}:${String(n).padStart(2,"0")}`:`${i}:${String(n).padStart(2,"0")}`)})}var r=e.i(975157),i=e.i(431343),n=e.i(382373),o=e.i(135116),c=e.i(657688),d=e.i(522016),u=e.i(163652);let m=/\.(jpg|jpeg|png|gif|webp|svg|avif)(\?.*)?$/i,x=/youtube|youtu\.be|vimeo|dailymotion|twitch|facebook|wistia|soundcloud|streamable/i,h={left:"left center",right:"right center",center:"center center"};function p(e){return e?(0,r.getCmsImageUrl)(e):""}function g(e){return!!(e&&!m.test(e))&&!x.test(e)}function f(e){return e.readyState>=HTMLMediaElement.HAVE_FUTURE_DATA}function b(e){e.preload="auto",e.readyState===HTMLMediaElement.HAVE_NOTHING&&e.load()}function y(e,t){return!Number.isFinite(e.duration)||e.duration<=0?t:Math.min(t,Math.max(0,e.duration-.25))}function w({video:e,href:s,isLightmode:r=!1,hoverPreview:m=!1,showTitle:x=!1,expandOrigin:w="center"}){let v,j,N,k,C,S=(0,u.useVideoWatchGateContext)(),_=e=>{S&&!S.tryNavigateToVideo(s)&&e.preventDefault()},$=p(e.videoUrl),{playbackUrl:E,previewStartTime:I,usesPreviewReel:A}=(v=p(e.previewReelUrl),j=p(e.videoUrl),N=v&&g(v)?v:void 0,k=j&&g(j)?j:void 0,C=!!N,{playbackUrl:N||k||"",previewStartTime:C?0:Math.max(0,e.previewStartTime??0),usesPreviewReel:C}),L=m&&!!E,T=(0,l.useRef)(null),R=(0,l.useRef)(null),[P,O]=(0,l.useState)(!1),[F,D]=(0,l.useState)(!1),[B,M]=(0,l.useState)(!0),[U,z]=(0,l.useState)(!1);(0,l.useEffect)(()=>
230{if(!L||!A)return;let e=T.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(z(!0),t.disconnect())},{threshold:.15,rootMargin:"120px"});return t.observe(e),()=>t.disconnect()},[L,A]),(0,l.useEffect)(()=>{if(!U||!L)return;let e=R.current;e&&b(e)},[U,L,E]),(0,l.useEffect)(()=>{let e=R.current;e&&L&&(e.muted=B,B||(e.volume=1))},[L,B]);let G=(0,l.useCallback)(()=>{D(!1),M(!0);let e=R.current;e&&(e.pause(),e.currentTime=I>0?I:0,e.muted=!0)},[I]),W=(0,l.useCallback)(()=>{let e=R.current;e&&!(I<=0)&&(e.currentTime=y(e,I))},[I]),H=(0,l.useCallback)(()=>{let e=R.current;e&&(W(),e.play().then(()=>{D(!0)}).catch(()=>{D(!1)}))},[W]),V=(0,l.useCallback)(()=>{if(!P)return;let e=R.current;e&&(e.currentTime=I>0?y(e,I):0,e.play().catch(()=>void 0))},[P,I]);(0,l.useEffect)(()=>{if(!P||!L)return;let e=R.current;if(!e)return;let t=!1,l=()=>{t||H()},s=()=>{l()};return f(e)||b(e),f(e)?l():e.addEventListener("loadedmetadata",s,{once:!0}),()=>{t=!0,e.removeEventListener("loadedmetadata",s)}},[P,L,E,H]);let q=()=>{m&&O(!0)},Q=()=>{O(!1),G()},K=m&&F&&L?(0,t.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),M(e=>!e)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},className:"absolute bottom-2 right-2 z-40 flex h-10 w-10 items-center justify-center rounded-full border border-white/30 bg-black/40 text-white backdrop-blur-sm transition hover:bg-black/60 pointer-events-auto","aria-label":B?"Unmute video":"Mute video",children:B?(0,t.jsx)(o.VolumeX,{size:18}):(0,t.jsx)(n.Volume2,{size:18})}):null,X=(0,t.jsxs)("div",{className:"relative aspect-video w-full overflow-hidden rounded-lg bg-gray-900",children:[e.thumbnail?(0,t.jsx)(c.default,{src:e.thumbnail,alt:e.title,fill:!0,className:`object-cover transition-all duration-300 ${m?"":"group-hover:scale-105"} ${F?"opacity-0":"opacity-100"}`}):(0,t.jsx)("div",{className:"absolute inset-0 bg-gray-800"}),L&&(0,t.jsx)("video",{ref:R,src:E,muted:B,loop:I<=0,playsInline:!0,preload:U?"auto":"none",onPlaying:()=>{D(!0)},onEnded:I>0?V:void 0,className:`absolute inset-0 h-full w-full object-cover transition-opacity duration-300 ${F?"opacity-100":"opacity-0"}`}),!m&&!F&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/30 opacity-0 transition-opacity duration-200 group-hover:opacity-100",children:(0,t.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-white/90",children:(0,t.jsx)(i.Play,{size:20,fill:"black",className:"text-black"})})}),m?K:(0,t.jsx)(a,{videoUrl:$,fallback:e.duration})]}),Y=x?(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:`line-clamp-2 text-sm font-medium leading-snug ${r?"text-gray-900":"text-white"}`,children:e.title})}):null;return m?(0,t.jsx)("div",{ref:T,className:`relative w-full ${P?"z-30":"z-0"}`,onMouseEnter:q,onMouseLeave:Q,children:(0,t.jsx)("div",{className:`relative w-full transition-transform duration-300 ease-out ${P?"shadow-2xl":""}`,style:{transformOrigin:h[w],transform:P?"scale(1.1)":"scale(1)"},children:(0,t.jsxs)(d.default,{href:s,className:"group/card relative block w-full focus-visible:outline-none",onClick:_,onFocus:q,onBlur:Q,children:[X,Y]})})}):(0,t.jsxs)(d.default,{href:s,className:"group block",onClick:_,children:[X,Y]})}e.s(["default",()=>w],867840)},208631,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(634966),a=e.i(867840);let r={1:"basis-[85%] sm:basis-full",2:"basis-[85%] sm:basis-1/2",3:"basis-[85%] sm:basis-1/2 md:basis-1/3",4:"basis-[85%] sm:basis-1/2 md:basis-1/3 lg:basis-1/4",5:"basis-[85%] sm:basis-1/2 md:basis-1/3 lg:basis-1/5",6:"basis-[85%] sm:basis-1/2 md:basis-1/3 lg:basis-1/6"};function i({videos:e,isLightmode:l,showTitle:r}){return(0,t.jsx)(s.Carousel,{opts:{align:"start",loop:!0,containScroll:"trimSnaps"},children:(0,t.jsx)(s.CarouselContent,{children:e.map(e=>(0,t.jsx)(s.CarouselItem,{className:"basis-[85%]",children:(0,t.jsx)(a.default,{video:e,href:`/videos/${e.slug}`,isLightmode:l,hoverPreview:!1,showTitle:r})},e.id))})})}function n({videos:e,isLightmode:l,hoverPreview:i,columnCount:n,showTitle:o,navButtonClass:c,prevClass:d,nextClass:u}){let m=r[n],x=l?"bg-white border border-gray-200 text-black hover:bg-gray-200":"bg-[#04040F]/90 border border-[#2C3C4C]/60 text-white hover:bg-[#2C3C4C]/80";return(0,t.jsx)(s.Carousel,{opts:{align:"start",loop:!0},children:(0,t.jsxs)("div",{className:`relative ${i?"overflow-visible":""}`,children:[(0,t.jsx)(s.CarouselContent,{viewportClassName:i?"overflow-visible":void 0,className:i?"overflow-visible":void 0,children:e.map((r,n)=>{var c;return(0,t.jsx)(s.CarouselItem,{className:`${m} h-full ${i?"overflow-visible":""}`,children:(0,t.jsx)(a.default,{video:r,href:`/videos/${r.slug}`,isLightmode:l,hoverPreview:i,showTitle:o,expandOrigin:i?(c=e.length,0===n?"left":n===c-1?"right":"center"):void 0})},r.id)})}),(0,t.jsx)(s.CarouselPrevious,{className:`${c} ${x} ${d}`}),(0,t.jsx)(s.CarouselNext,{className:`${c} ${x} ${u}`})]})})}function o(e){let s=function(){let[e,t]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=window.matchMedia("(min-width: 768px)"),l=()=>t(e.matches);return l(),e.addEventListener("change",l),()=>e.removeEventListener("change",l)},[]),e}(),{hoverPreview:a=!1}=e,r={...e,navButtonClass:"flex h-8 w-8 md:h-10 md:w-10 rounded-full top-1/2 -translate-y-1/2",prevClass:s?"-left-4":"-left-1",nextClass:s?"-right-4":"-right-1"};return s?(0,t.jsx)("div",{className:a?"overflow-visible":"overflow-hidden",children:(0,t.jsx)(n,{...r},"desktop-carousel")}):(0,t.jsx)(i,{...r}
230,"mobile-carousel")}e.s(["default",()=>o])},337484,e=>{"use strict";var t=e.i(843476);function l({}){return(0,t.jsx)("div",{className:"bg-main-linear-gradient left-0 top-0 absolute w-full h-full"})}e.s(["default",()=>l])},189929,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(522016),a=e.i(271645);function r({kb:e,href:r,isLightmode:i=!1,isWisdomia:n=!1}){let o=(0,a.useRef)(null),c=(0,a.useRef)(!1),[d,u]=(0,a.useState)(!1),[m,x]=(0,a.useState)(!1),h=e.featureImage,p=()=>{c.current=!0,e.thumbnailVideo&&o.current&&(n?(o.current.load(),x(!0)):o.current.play().catch(()=>{}))},g=()=>{c.current=!1,x(!1),o.current&&(o.current.pause(),o.current.currentTime=0,u(!1))};return n?(0,t.jsxs)(s.default,{href:r,className:"flex flex-col relative rounded-2xl",onMouseEnter:p,onMouseLeave:g,children:[(0,t.jsxs)("div",{className:"flex w-full relative aspect-[1.58] items-end rounded-2xl overflow-hidden",children:[h?(0,t.jsx)(l.default,{fill:!0,alt:e.title,className:"object-cover rounded-2xl",src:h}):(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-gray-800 to-gray-700 rounded-2xl"}),e.thumbnailVideo&&(0,t.jsx)("video",{ref:o,muted:!0,loop:!0,playsInline:!0,preload:"none",onLoadedData:()=>{u(!0),m&&o.current&&o.current.play().catch(()=>{})},className:`absolute top-0 left-0 w-full h-full object-cover rounded-2xl transition-opacity duration-300 ${d?"opacity-100":"opacity-0"}`,children:(0,t.jsx)("source",{src:e.thumbnailVideo,type:"video/mp4"})})]}),(0,t.jsx)("div",{className:"z-10 flex w-full px-[12px] mt-2",children:(0,t.jsx)("span",{className:"font-bold text-[1.1rem] leading-7 tracking-[-0.02em] text-white line-clamp-2 uppercase",children:e.title})})]}):(0,t.jsx)(s.default,{href:r,className:"group block",onMouseEnter:p,onMouseLeave:g,children:(0,t.jsxs)("div",{className:`relative aspect-[4/3] w-full overflow-hidden rounded-lg ${i?"bg-gray-100":"bg-gray-900"}`,children:[h?(0,t.jsx)(l.default,{src:h,alt:e.title,fill:!0,className:`object-cover transition-all duration-300 group-hover:scale-105 ${d?"opacity-0":"opacity-100"}`}):(0,t.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${i?"from-gray-200 to-gray-300":"from-gray-800 to-gray-700"}`}),e.thumbnailVideo&&(0,t.jsx)("video",{ref:o,src:e.thumbnailVideo,muted:!0,loop:!0,playsInline:!0,preload:"none",onPlaying:()=>{c.current&&u(!0)},className:`absolute inset-0 h-full w-full object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"}`}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/75 from-0% via-trans
230parent via-[25%] to-transparent"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-3",children:(0,t.jsx)("p",{className:"text-sm font-medium leading-snug text-white line-clamp-2 uppercase",children:e.title})})]})})}function i({category:e,href:a,isLightmode:r=!1,isWisdomia:i=!1}){return i?(0,t.jsxs)(s.default,{href:a,className:"flex flex-col relative rounded-2xl",children:[(0,t.jsx)("div",{className:"flex w-full relative aspect-[1.58] items-end rounded-2xl overflow-hidden",children:e.featureImage?(0,t.jsx)(l.default,{fill:!0,alt:e.title,className:"object-cover rounded-2xl",src:e.featureImage}):(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-gray-800 to-gray-700 rounded-2xl"})}),(0,t.jsx)("div",{className:"z-10 flex w-full px-[12px] mt-2",children:(0,t.jsx)("span",{className:"font-bold text-[1.1rem] leading-7 tracking-[-0.02em] text-white line-clamp-2 uppercase",children:e.title})})]}):(0,t.jsx)(s.default,{href:a,className:"group block",children:(0,t.jsxs)("div",{className:`relative aspect-[4/3] w-full overflow-hidden rounded-lg ${r?"bg-gray-100":"bg-gray-900"}`,children:[e.featureImage?(0,t.jsx)(l.default,{src:e.featureImage,alt:e.title,fill:!0,className:"object-cover transition-transform duration-300 group-hover:scale-105"}):(0,t.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${r?"from-gray-200 to-gray-300":"from-gray-800 to-gray-700"}`}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/75 from-0% via-trans
230parent via-[25%] to-transparent"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 right-0 p-3",children:(0,t.jsx)("p",{className:"text-sm font-medium leading-snug text-white line-clamp-2 uppercase",children:e.title})})]})})}var n=e.i(337484),o=e.i(634966),c=e.i(234913);function d({categories:e,knowledgeBases:l,showCategories:s,showKnowledgeBases:d,showTabs:u,layout:m="GRID",title:x,description:h,isLightmode:p=!1,isWisdomia:g=!1,includeSubcategories:f=!1}){let{paddingXClass:b}=(0,c.useAppContext)(),[y,w]=(0,a.useState)(null),v=p?"text-gray-900":"text-white",j=p?"text-gray-500":"text-gray-400",N=e=>f?`/knowledge/${e}?include_subcategories=true`:`/knowledge/${e}`,k=y?l.filter(e=>e.categorySlugs.includes(y)):l,C=s&&u&&e.length>0&&d,S=s&&!d&&e.length>0;return g?0===(S?e:k).length?null:(0,t.jsxs)("section",{className:"relative",children:[(0,t.jsx)(n.default,{}),(0,t.jsx)("div",{className:b,children:(0,t.jsxs)("div",{className:"relative text-white z-10 pt-[40px] pb-[20px]",children:[x&&(0,t.jsx)("h2",{className:"w-full font-semibold text-xl md:text-2xl mb-4",children:x}),C&&(0,t.jsxs)("div",{className:"flex flex-wrap gap-2 mb-6",children:[(0,t.jsx)("button",{onClick:()=>w(null),className:`rounded-full px-4 py-1.5 text-sm transition-colors ${null===y?"bg-white text-gray-900":"bg-white/10 text-gray-300 hover:bg-white/20"}`,children:"All"}),e.map(e=>(0,t.jsx)("button",{onClick:()=>w(e.slug),className:`rounded-full px-4 py-1.5 text-sm transition-colors ${y===e.slug?"bg-white text-gray-900":"bg-white/10 text-gray-300 hover:bg-white/20"}`,children:e.title},e.id))]}),"CAROUSEL"===m?(0,t.jsx)(o.Carousel,{opts:{align:"start",loop:!0},children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.CarouselContent,{children:S?e.map(e=>(0,t.jsx)(o.CarouselItem,{className:"basis-[85%] sm:basis-[50%] md:basis-[33.3333%] lg:basis-[25%] xl:basis-[25%] h-full",children:(0,t.jsx)(i,{category:e,href:N(e.slug),isLightmode:!1,isWisdomia:!0})},e.id)):k.map(e=>{let l=y||e.categorySlugs[0],s=l?`/knowledge/${l}/${e.slug}`:`/wiki/${e.slug}`;return(0,t.jsx)(o.CarouselItem,{className:"basis-[85%] sm:basis-[50%] md:basis-[33.3333%] lg:basis-[25%] xl:basis-[25%] h-full",children:(0,t.jsx)(r,{kb:e,href:s,isLightmode:!1,isWisdomia:!0})},e.id)})}),(0,t.jsx)(o.CarouselPrevious,{className:"hidden md:flex h-10 w-10 rounded-full bg-[#04040F]/90 border border-[#2C3C4C]/60 text-white hover:bg-[#2C3C4C]/80 -left-4 top-1/2 -translate-y-1/2"}),(0,t.jsx)(o.CarouselNext,{className:"hidden md:flex h-10 w-10 rounded-full bg-[#04040F]/90 border border-[#2C3C4C]/60 text-white hover:bg-[#2C3C4C]/80 -right-4 top-1/2 -translate-y-1/2"})]})}):(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-[32px]",children:S?e.map(e=>(0,t.jsx)("div",{className:"w-full md:w-[calc(50%-16px)] lg:w-[calc(33.333%-21.333px)] xl:w-[calc(25%-24px)]",children:(0,t.jsx)(i,{category:e,href:N(e.slug),isLightmode:!1,isWisdomia:!0})},e.id)):k.map(e=>{let l=y||e.categorySlugs[0],s=l?`/knowledge/${l}/${e.slug}`:`/wiki/${e.slug}`;return(0,t.jsx)("div",{className:"w-full md:w-[calc(50%-16px)] lg:w-[calc(33.333%-21.333px)] xl:w-[calc(25%-24px)]",children:(0,t.jsx)(r,{kb:e,href:s,isLightmode:!1,isWisdomia:!0})},e.id)})})]})})]}):"CAROUSEL"===m?(S?e.length>0:k.length>0)?(0,t.jsxs)("div",{className:"w-full px-4 my-4 overflow-hidden",children:[(x||h)&&(0,t.jsxs)("div",{className:"mb-2",children:[x&&(0,t.jsx)("h2",{className:`text-xl font-bold ${v}`,children:x}),h&&(0,t.jsx)("p",{className:`mt-1 text-sm ${j}`,children:h})]}),(0,t.jsx)(o.Carousel,{opts:{align:"start",loop:!0},children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.CarouselContent,{children:S?e.map(e=>(0,t.jsx)(o.CarouselItem,{className:"basis-[85%] sm:basis-[50%] md:basis-[33.3333%] lg:basis-[25%] xl:basis-[25%] h-full",children:(0,t.jsx)(i,{category:e,href:N(e.slug),isLightmode:p})},e.id)):k.map(e=>{let l=y||e.categorySlugs[0],s=l?`/knowledge/${l}/${e.slug}`:`/wiki/${e.slug}`;return(0,t.jsx)(o.CarouselItem,{className:"basis-[85%] sm:basis-[50%] md:basis-[33.3333%] lg:basis-[25%] xl:basis-[25%] h-full",children:(0,t.jsx)(r,{kb:e,href:s,isLightmode:p})},e.id)})}),(0,t.jsx)(o.CarouselPrevious,{className:`hidden md:flex h-10 w-10 rounded-full ${!p?"bg-[#04040F]/90 border border-[#2C3C4C]/60 text-white hover:bg-[#2C3C4C]/80":"bg-white border border-gray-200 text-black hover:bg-gray-200"} -left-4 top-1/2 -translate-y-1/2`}),(0,t.jsx)(o.CarouselNext,{className:`hidden md:flex h-10 w-10 rounded-full ${!p?"bg-[#04040F]/90 border border-[#2C3C4C]/60 text-white hover:bg-[#2C3C4C]/80":"bg-white border border-gray-200 text-black hover:bg-gray-200"} -right-4 top-1/2 -translate-y-1/2`})]})})]}):null:(0,t.jsxs)("div",{className:"w-full px-4 pt-10 pb-6",children:[(x||h)&&(0,t.jsxs)("div",{className:"mb-2",children:[x&&(0,t.jsx)("h2",{className:`text-2xl font-bold ${v}`,children:x}),h&&(0,t.jsx)("p",{className:`mt-1 text-sm ${j}`,children:h})]}),S&&(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-4",children:e.map(e=>(0,t.jsx)("div",{className:"w-full sm:w-[calc(50%-8px)] lg:w-[calc(33.333%-10.667px)] xl:w-[calc(25%-12px)]",children:(0,t.jsx)(i,{category:e,href:N(e.slug),isLightmode:p})},e.id))}),C&&(0,t.jsxs)("div",{className:`flex flex-wrap gap-2 mb-6 pb-4 border-b ${p?"border-gray-200":"border-white/10"}`,children:[(0,t.jsx)("button",{onClick:()=>w(null),className:`rounded-full px-4 py-1.5 text-sm transition-colors ${null===y?p?"bg-gray-900 text-white":"bg-white text-gray-900":p?"bg-gray-100 text-gray-700 hover:bg-gray-200":"bg-white/10 text-gray-300 hover:bg-white/20"}`,children:"All"}),e.map(e=>(0,t.jsx)("button",{onClick:()=>w(e.slug),className:`rounded-full px-4 py-1.5 text-sm transition-colors ${y===e.slug?p?"bg-gray-900 text-white":"bg-white text-gray-900":p?"bg-gray-100 text-gray-700 hover:bg-gray-200":"bg-white/10 text-gray-300 hover:bg-white/20"}`,children:e.title},e.id))]}),d&&k.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-4",children:k.map(e=>{let l=y||e.categorySlugs[0],s=l?`/knowledge/${l}/${e.slug}`:`/wiki/${e.slug}`;return(0,t.jsx)("div",{className:"w-full sm:w-[calc(50%-8px)] lg:w-[calc(33.333%-10.667px)] xl:w-[calc(25%-12px)]",children:(0,t.jsx)(r,{kb:e,href:s,isLightmode:p})},e.id)})}),d&&0===k.length&&l.length>0&&(0,t.jsx)("p",{className:`text-sm ${j}`,children:"No knowledge bases found for this category."})]})}e.s(["default",()=>d],189929)},307621,e=>{"use strict";
230var t=e.i(843476),l=e.i(271645),s=e.i(657688),a=e.i(424083),r=e.i(37727),i=e.i(522016),n=e.i(13702),o=e.i(27368),c=e.i(968117),d=e.i(234913);e.s(["default",0,function({background_midia:e,video_poster:u,title:m,h1_title:x,description:h,input_placeholder_text:p,links:g,aiProductName:f,aiDisclaimerText:b,embed:y,resultsHeading:w}){let[v,j]=(0,l.useState)(""),[N,k]=(0,l.useState)([]),[C,S]=(0,l.useState)(!1),[_,$]=(0,l.useState)(!1),[E,I]=(0,l.useState)(void 0),[A,L]=(0,l.useState)([]),[T,R]=(0,l.useState)(""),[P,O]=(0,l.useState)(!1),[F,D]=(0,l.useState)([]),[B,M]=(0,l.useState)([]),[U,z]=(0,l.useState)(!1),[G,W]=(0,l.useState)(!1),[H,V]=(0,l.useState)(!1),q=!!u,[Q,K]=(0,l.useState)(!q),X=(0,l.useRef)(null),Y=(0,l.useCallback)(()=>{K(!0)},[]);(0,l.useEffect)(()=>{q&&!Q&&X.current?.complete&&K(!0)},[q,Q]);let{isLightmode:J,appCode:Z,hasSearch:ee,heroFullWidthVideo:et,heroImageFit:el,heroExtendedHeight:es,themeColor:ea}=(0,d.useAppContext)(),er="impakt"===Z,ei="new-wisdomia"===Z,en=ea?{background:ea}:void 0,eo=ea?"":er?"bg-gradient-to-r from-[#14532d] via-[#166534] to-[#15803d]":"bg-gradient-linear-blue",ec=e?.type==="video"&&!!e?.url,ed=e=>{let t=new Set,l=[];for(let s of e)t.has(s.id)||(t.add(s.id),l.push(s));return l};(0,l.useEffect)(()=>{R(`session_${Date.now()}`)},[]);let eu=()=>{j(""),k([]),$(!1),I(void 0),L([]),D([]),M([]),z(!1)},em=async e=>{if(e.trim()){S(!0);try{let t=await (0,c.clientSearchCities)(e,void 0,Z);k(ed(t.results||[])),I(t.nextPageToken)}catch(e){console.error("[HeroBanner] Search error:",e),k([])}finally{S(!1)}}},ex=async()=>{if(v.trim()&&E){$(!0);try{let e=await (0,c.clientSearchCities)(v,E,Z);k(t=>ed([...t,...e.results||[]])),I(e.nextPageToken)}catch(e){console.error("❌ [HeroBanner] Error loading more results:",e)}finally{$(!1)}}},eh=async e=>{O(!0),z(!0);try{var t;let l=new FormData;l.append("question",e),l.append("sessionId",T),l.append("projectId",h),l.append("agentId",m),l.append("appCode",Z),L(t=>[...t,{type:"user",text:e}]);let s=await fetch("/api/chats/search?fast=1",{method:"POST",body:l}),a=await s.json();a.knowledgeAnswers&&a.knowledgeAnswers.length>0&&M(a.knowledgeAnswers),((a.knowledgeAnswers?.length||0)>0||(a.sourceDocuments?.length||0)>0)&&L(e=>[...e,{type:"ai",text:"",sourceDocuments:a.sourceDocuments||[],answerPayload:a.answerPayload}]);let r=new FormData;r.append("question",e),r.append("sessionId",a.sessionID||T),r.append("appCode",Z),a.sessionPath&&r.append("sessionPath",a.sessionPath),a.queryId&&r.append("queryId",a.queryId),r.append("knowledgeAnswers",JSON.stringify(a.knowledgeAnswers||[])),r.append("sourceDocuments",JSON.stringify(a.sourceDocuments||[]));let i=e=>{L(t=>{let l=t.length-1,s=t[l];if(!s||"ai"!==s.type)return[...t,{type:"ai",text:e.text||"",sourceDocuments:e.sourceDocuments||[],answerPayload:e.answerPayload}];let a={...s,...e};return[...t.slice(0,l),a]})};t=a.sourceDocuments||[],L(e=>{let l=e[e.length-1];return l&&"ai"===l.type?e:[...e,{type:"ai",text:"",sourceDocuments:t||[]}]});let n=await fetch("/api/chats/answer?stream=1",{method:"POST",body:r});if(n.ok&&n.body){let e=n.body.getReader(),t=new TextDecoder,l="",s=e=>{let t=e.split("\n").filter(e=>e.startsWith("data:")).map(e=>e.replace(/^data:\s?/,"").trim()).join("");if(t&&"[DONE]"!==t)try{let e=JSON.parse(t);if("delta"===e.type){var l;(l=e.text||"")&&L(e=>{let t=e.length-1,s=e[t];if(!s||"ai"!==s.type)return[...e,{type:"ai",text:l,sourceDocuments:[]}];let a={...s,text:(s.text||"")+l};return[...e.slice(0,t),a]})}else"done"===e.type&&(i({text:e.responseText||"",sourceDocuments:e.sourceDocuments||[],answerPayload:e.answerPayload}),D(e.followUpSuggestions||[]))}catch{}};for(;;){let{value:a,done:r}=await e.read();if(r)break;let i=(l+=t.decode(a,{stream:!0})).indexOf("\n\n");for(;-1!==i;){let e=l.slice(0,i);l=l.slice(i+2),s(e),i=l.indexOf("\n\n")}}}else{let e=await fetch("/api/chats/answer",{method:"POST",body:r}),t=await e.json();t.responseText&&"No response"!==t.responseText?(i({text:t.responseText,sourceDocuments:t.sourceDocuments,answerPayload:t.answerPayload}),D(t.followUpSuggestions||[])):t.sourceDocuments&&t.sourceDocuments.length>0?i({text:`I found ${t.sourceDocuments.length} relevant results for your query. Please check the sources below for detailed information.`,sourceDocuments:t.sourceDocuments,answerPayload:t.answerPayload}):i({text:"I couldn't find specific information about that topic. Please try rephrasing your question or asking about a different topic."})}}catch(e){console.error("Error asking AI:",e),L(e=>[...e,{type:"ai",text:"Sorry, I encountered an error while processing your question. Please try again."}])}finally{O(!1)}},ep=e=>{j(e),eh(e),em(e)},eg=ee&&!!v.trim()&&(N.length>0||U);return y?(0,t.jsx)("div",{className:"w-full bg-transparent",children:(0,t.jsxs)("div",{className:`${J?"text-gray-900":"text-white"} w-full max-w-[768px] mx-auto px-4 pt-4 pb-4`,children:[ee&&(0,t.jsxs)("div",{className:"w-full relative",role:"search","aria-label":"Site search",children:[(0,t.jsxs)("div",{className:"group relative w-full",children:[(0,t.jsx)("span",{className:`absolute -inset-x-1 -inset-y-1 rounded-full blur-sm op
230acity-60 transition-opacity duration-300 pointer-events-none group-focus-within:opacity-100 ${eo}`,style:en}),(0,t.jsx)(a.Input,{type:"search",placeholder:p,className:`relative z-10 h-[64px] pl-14 pr-4 rounded-full backdrop-blur-sm border-2 focus:outline-none w-full ${J?"text-gray-900 bg-white border-gray-300":"text-gray-100 bg-[#04040F] border-transparent"}`,onChange:e=>j(e.target.value),value:v,onKeyDown:e=>{"Enter"===e.key&&v.trim()&&(e.preventDefault(),eh(v),em(v))}}),(0,t.jsx)("div",{className:"z-50 flex absolute top-1/2 -translate-y-1/2 left-2.5 text-gray-900 pointer-events-none h-12 w-12 items-center justify-center",children:(0,t.jsx)(n.default,{size:20})}),(0,t.jsx)("div",{onClick:eu,className:`z-50 cursor-pointer h-12 w-12 absolute top-1/2 -translate-y-1/2 right-1.5 p-2 border-[#2C3C4C]/60 border-2 rounded-full flex items-center justify-center ${J?"bg-white":"bg-[#04040F]"}`,children:(0,t.jsx)(r.X,{size:24})})]}),eg&&(0,t.jsx)(o.SearchResults,{results:N,isLoading:C,searchTerm:v,aiResponse:A.length>0&&A[A.length-1]?.type==="ai"?{responseText:A[A.length-1].text,sourceDocuments:A[A.length-1].sourceDocuments||[],answerPayload:A[A.length-1].answerPayload,followUpSuggestions:F,confidence:1,knowledgeAnswers:B}:void 0,isAiLoading:P,onFollowUpClick:ep,onLoadMoreResults:ex,isLoadingMore:_,totalResults:N.length,hasMoreResults:!!E,resultsHeading:w,embed:!0})]}),g&&g.length>0&&(0,t.jsx)("div",{className:`w-full max-w-[768px] mx-auto mt-2 transition-all ease-in-out duration-300 ${eg?"invisible":""}`,children:(0,t.jsx)("div",{className:`flex items-center flex-wrap gap-4 px-2 ${ee?"ml-4":"justify-center"}`,children:g?.map((e,l)=>{let s=e.url||"";return s.startsWith("/")?s=`${window.location.origin}${s}`:!s||s.startsWith("http://")||s.startsWith("https://")||(s=`https://${s}`),(0,t.jsx)("a",{href:s,target:"_blank"===e.target?"_blank":"_top",rel:"noopener noreferrer",className:`font-semibold font-medium transition-all duration-300 hover:scale-105 whitespace-nowrap ${J?"text-gray-700 hover:text-gray-900":"text-white/90 hover:text-white"}`,children:e?.label},e.label+l)})})}),b&&(0,t.jsx)("div",{className:`w-full max-w-[768px] mx-auto px-2 ml-4 ${g&&g.length>0?"mt-1":"mt-3"}`,children:(0,t.jsx)("p",{className:`text-xs ${J?"text-gray-500":"text-white/60"}`,children:b})})]})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:`w-full md:h-[38vh] h-[54vh] relative before:content-[''] before:bg-gradient-linear before:absolute before:inset-0 ${es>0?"mb-[-30px]":""} ${et&&ec?"":J?"bg-white":"bg-black after:content-[''] after:absolute after:left-0 after:right-0 after:-bottom-4 md:after:-bottom-8 after:h-4 md:after:h-8 after:bg-gradient-to-b after:from-black after:to-transparent after:z-0 after:pointer-events-none"}`,children:[ec&&(0,t.jsx)("div",{className:"absolute inset-x-0 top-0",style:{height:es>0?`calc(100% + ${es}px)`:"100%"},children:(0,t.jsxs)("div",{className:`absolute h-full left-1/2 -translate-x-1/2 ${et?"w-full":"w-[85%] md:w-[75%] lg:w-[65%]"}`,children:[q&&(0,t.jsx)("img",{ref:X,src:u,alt:"",fetchPriority:"high",decoding:"sync",onLoad:Y,className:`absolute inset-0 z-[1] h-full w-full object-cover transition-opacity duration-500 ${H?"opacity-0 pointer-events-none":"opacity-100"}`}),(0,t.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:Q?"auto":"none",onCanPlay:()=>V(!0),className:`h-full w-full object-cover transition-opacity duration-500 ${q&&!H?"o
230pacity-0":"opacity-100"}`,children:Q&&(0,t.jsx)("source",{src:e.url,type:"video/mp4"})}),!et&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 -left-1 w-[30%] bg-gradient-to-r from-black to-transparent"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 -right-1 w-[30%] bg-gradient-to-l from-black to-transparent"})]})]})}),e?.type==="image"&&e.url&&(0,t.jsx)("div",{className:"absolute inset-x-0 top-0",style:{height:es?`calc(100% + ${es}px)`:"100%"},children:(0,t.jsx)(s.default,{fill:!0,alt:"",className:"contain"===el?"object-contain":"object-cover",src:e.url,priority:!0,sizes:"100vw"})}),(0,t.jsx)("div",{className:"absolute inset-x-0 top-0 bg-black/10 z-10 pointer-events-none",style:{height:es>0?`calc(100% + ${es}px)`:"100%"}}),(0,t.jsx)("div",{className:"absolute w-full h-full z-30 flex items-center justify-center px-4",style:J?void 0:{textShadow:"0px 0px 8px rgba(0, 0, 0, 0.60)"},children:(0,t.jsxs)("div",{className:`${J?"text-gray-900":"text-white"} text-start flex flex-col items-center gap-3 md:gap-8 w-full max-w-[768px] mx-auto`,children:[x&&(0,t.jsx)("h1",{className:`w-full text-center text-xl md:text-2xl lg:text-3xl font-semibold leading-tight text-white drop-shadow-lg ${ei?"goodtimes-font-family":""}`,children:x}),(0,t.jsxs)("div",{className:"w-full relative flex flex-col gap-2 z-20",children:[ee&&(0,t.jsxs)("div",{className:"w-full relative z-20",role:"search","aria-label":"Site search",children:[(0,t.jsxs)("div",{className:"group relative w-full",children:[(0,t.jsx)("span",{className:`absolute -inset-x-1 -inset-y-1 rounded-full blur-sm opacity-60 transition-opacity duration-300 pointer-events-none group-focus-within:opacity-100 ${eo}`,style:en}),(0,t.jsx)(a.Input,{type:"search",placeholder:p,className:`relative z-10 h-[64px] pl-14 pr-4 rounded-full backdrop-blur-sm border-2 focus:outline-none w-full ${J?"text-gray-900 bg-white border-gray-300":"text-gray-100 bg-[#04040F] border-transparent"}`,onChange:e=>j(e.target.value),value:v,onKeyDown:e=>{"Enter"===e.key&&v.trim()&&(e.preventDefault(),eh(v),em(v))}}),(0,t.jsx)("div",{className:"z-50 flex absolute top-1/2 -translate-y-1/2 left-2.5 text-gray-900 pointer-events-none h-12 w-12 items-center justify-center",children:(0,t.jsx)(n.default,{size:20})}),(0,t.jsx)("div",{onClick:eu,className:`z-50 cursor-pointer h-12 w-12 absolute top-1/2 -translate-y-1/2 right-1.5 p-2 border-2 rounded-full flex items-center justify-center ${J?"bg-gray-100 border-gray-300":"bg-[#04040F] border-[#2C3C4C]/60"}`,children:(0,t.jsx)(r.X,{size:24,className:J?"text-gray-700":"text-white"})})]}),eg&&(0,t.jsx)(o.SearchResults,{results:N,isLoading:C,searchTerm:v,aiResponse:A.length>0&&A[A.length-1]?.type==="ai"?{responseText:A[A.length-1].text,sourceDocuments:A[A.length-1].sourceDocuments||[],answerPayload:A[A.length-1].answerPayload,followUpSuggestions:F,confidence:1,knowledgeAnswers:B}:void 0,isAiLoading:P,onFollowUpClick:ep,onLoadMoreResults:ex,isLoadingMore:_,totalResults:N.length,hasMoreResults:!!E,resultsHeading:w})]}),g&&g.length>0&&(0,t.jsxs)("div",{className:`w-full max-w-5xl z-10 transition-all ease-in-out duration-300 ${eg?"invisible":""}`,children:[(0,t.jsx)("div",{className:`hidden lg:block z-20 mt-1 p-2 ${ee?"ml-4":""}`,children:(0,t.jsx)("div",{className:`flex items-center text-base ${ee?"space-x-[16px]":"justify-center gap-4 flex-wrap"}`,children:g?.map((e,l)=>(0,t.jsx)(i.default,{href:e.url,target:e.target||"_self",rel:"_blank"===e.target?"noopener noreferrer":void 0,className:"font-semibold text-white/90 hover:text-white font-medium transition-all duration-300 hover:scale-105 whitespace-nowrap",children:e?.label},e.label+l))})}),(0,t.jsx)("div",{className:"block lg:hidden mt-3 p-2",children:(0,t.jsx)("div",{className:"flex items-center justify-center flex-wrap gap-4",children:g?.map((e,l)=>(0,t.jsx)(i.default,{href:e.url,target:e.target||"_self",rel:"_blank"===e.target?"noopener noreferrer":void 0,className:"font-semibold text-white/90 hover:text-white font-medium transition-all duration-300 hover:scale-105 whitespace-nowrap",children:e?.label},e.label+l))})})]}),ee&&(0,t.jsx)("div",{className:`w-full md:ml-4 px-2 ${g&&g.length>0?"-mt-2 md:-mt-5":""} text-center md:text-start`,children:(0,t.jsx)("button",{type:"button",onClick:()=>W(!0),className:"text-xs text-left transition-colors duration-300 ease-in-out text-white/80 hover:text-white",children:`${f||"AI.DNA"} is an AI Beta product.`})})]})]})}
230),J?(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute left-0 right-0 z-20",style:{top:`calc(100% + ${es-80}px)`,height:"80px",background:"linear-gradient(to top, rgba(249,250,251,1) 0%, rgba(249,250,251,1) 30%, rgba(249,250,251,0.7) 60%, rgba(249,250,251,0.3) 80%, rgba(249,250,251,0) 100%)"}}):(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute left-0 right-0 z-[1]",style:{top:`calc(100% + ${es-16}px)`,height:"16px",background:"linear-gradient(to bottom, transparent, rgba(0,0,0,0.4))"}})]}),G&&(0,t.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/70",onClick:()=>W(!1)}),(0,t.jsxs)("div",{className:`relative z-10 max-w-lg w-[90%] ${!J?"bg-[#0b0f18] text-white border border-white/10":"bg-white text-black border border-gray-200"} rounded-2xl p-6 shadow-2xl`,children:[(0,t.jsx)("button",{onClick:()=>W(!1),className:`absolute top-4 right-4 ${!J?"text-white/60 hover:text-white":"text-black/60 hover:text-black"} transition-colors duration-300 ease-in-out`,children:(0,t.jsx)(r.X,{size:24})}),(0,t.jsx)("div",{className:"pt-6",children:(0,t.jsx)("p",{className:`text-sm leading-6 ${!J?"text-white/90":"text-black/90"}`,children:b})})]})]})]})}])},670439,e=>{"use strict";var t=e.i(843476),l=e.i(69786),s=e.i(234913);function a({text:e}){let{fontClass:a,paddingXClass:r,contentWidthClass:i}=(0,s.useAppContext)();return(0,t.jsx)("div",{className:`${i} py-6 ${r} text-white ${a??""}`,children:(0,t.jsx)(l.default,{html:e})})}e.s(["default",()=>a])},607594,e=>{"use strict";var t=e.i(843476),l=e.i(634966),s=e.i(373375),a=e.i(463059);function r({children:e}){return(0,t.jsx)("div",{children:(0,t.jsxs)(l.Carousel,{className:"w-full",children:[(0,t.jsx)(l.CarouselContent,{className:"-ml-4",children:e}),(0,t.jsx)("div",{className:"absolute hidden md:block -left-12 top-1/2 -translate-y-1/2",children:(0,t.jsx)(l.CarouselPrevious,{className:"h-10 w-10 rounded-full border-none bg-[#E6E6E6] shadow-lg hover:bg-red-600 hover:text-white",children:(0,t.jsx)(s.ChevronLeft,{className:" h-6 w-6"})})}),(0,t.jsx)("div",{className:"absolute hidden md:block -right-12 top-1/2 -translate-y-1/2",children:(0,t.jsx)(l.CarouselNext,{className:"h-10 w-10 rounded-full border-none bg-[#E6E6E6] shadow-lg hover:bg-red-600 hover:text-white",children:(0,t.jsx)(a.ChevronRight,{className:"h-6 w-6"})})})]})})}e.s(["default",()=>r])},853755,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(271645),a=e.i(234913);function r(e){let{isLightmode:r,contentWidthClass:i}=(0,a.useAppContext)(),n=(0,s.useRef)(null);return((0,s.useEffect)(()=>{let t=n.current;if(!t||e.imagesUrl.length<=4)return;let l=setInterval(()=>{if(!t)return;let e=t.scrollWidth-t.clientWidth;t.scrollLeft>=e-10?t.scrollTo({left:0,behavior:"smooth"}):t.scrollBy({left:200,behavior:"smooth"})},3e3);return()=>clearInterval(l)},[e.imagesUrl.length]),e.imagesUrl.length)?(0,t.jsx)("section",{className:"py-12 px-4",children:(0,t.jsxs)("div",{className:i,children:[e.title&&(0,t.jsx)("h2",{className:`text-2xl md:text-3xl font-bold mb-8 text-center ${r?"text-gray-900":"text-white"}`,children:e.title}),(0,t.jsx)("div",{ref:n,className:"flex gap-6 overflow-x-auto scrollbar-hide pb-4 snap-x snap-mandatory",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:e.imagesUrl.map((e,s)=>(0,t.jsx)("div",{className:`shrink-0 snap-start flex items-center justify-center rounded-xl p-4 w-[150px] h-[100px] md:w-[180px] md:h-[120px] ${r?"bg-white border border-gray-200":"bg-white/5 border border-white/10"}`,children:(0,t.jsx)("div",{className:"relative w-full h-full",children:(0,t.jsx)(l.default,{src:e,alt:"",fill:!0,className:"object-contain",sizes:"180px"})})},s))})]})}):null}e.s(["default",()=>r])},798488,e=>{"use strict";var t=e.i(843476),l=e.i(234913);function s({title:e,primaryBackgroundColor:s=!1,images:a=[]}){let{themeColor:r,isLightmode:i}=(0,l.useAppContext)();return 0===a.length?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:`
231        @keyframes marquee {
232          0% { transform: translateX(0); }
233          100% { transform: translateX(-50%); }
234        }
235        .marquee-track {
236          animation: marquee 10s linear infinite;
237        }
238        @media (min-width: 768px) {
239          .marquee-track {
240            animation: marquee 20s linear infinite;
241          }
242        }
243      `}),(0,t.jsxs)("section",{className:"flex flex-row items-center w-full py-6",style:{backgroundColor:s&&r?r:"transparent",overflow:"hidden"},children:[(0,t.jsx)("div",{className:`pl-8 md:pl-16 lg:pl-32 xl:pl-48 pr-6 flex-shrink-0 text-lg font-bold whitespace-nowrap ${s&&r?"text-white":i?"text-black":"text-white"}`,children:e}),(0,t.jsx)("div",{style:{flex:1,overflow:"hidden",minWidth:0},children:(0,t.jsx)("div",{className:"marquee-track",style:{display:"flex",alignItems:"center",width:"max-content"},children:[...a,...a].map((e,l)=>(0,t.jsx)("img",{src:e,alt:"",loading:"lazy",style:{width:150,height:70,objectFit:"contain",flexShrink:0,marginRight:40}},l))})})]})]})}e.s(["default",()=>s])},652714,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(234913);function a({title:e,description:a,image:r,cta_label:i,cta_url:n,cta_target:o}){let{themeColor:c}=(0,s.useAppContext)();return(0,t.jsx)("section",{className:"w-full py-12 px-8 md:px-16 lg:px-32 xl:px-48",style:{backgroundColor:c??"#2B3FE8"},children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-10",children:[(0,t.jsxs)("div",{className:"flex-1 text-white",children:[(0,t.jsx)("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:e}),a&&(0,t.jsx)("p",{className:"text-base md:text-lg opacity-90 leading-relaxed",children:a}),i&&n&&(0,t.jsx)("a",{href:n,target:o??"_self",rel:"_blank"===o?"noopener noreferrer":void 0,className:"inline-block mt-6 px-6 py-3 bg-white font-semibold rounded-lg hover:opacity-90 transition-opacity",style:{color:c??"#2B3FE8"},children:i})]}),r&&(0,t.jsx)("div",{className:"flex-shrink-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"relative w-48 h-48 md:w-56 md:h-56",children:(0,t.jsx)(l.default,{src:r,alt:e,fill:!0,sizes:"(max-width: 768px) 192px, 224px",className:"object-contain"})})})]})})}e.s(["default",()=>a])},838097,e=>{"use strict";
243var t=e.i(843476),l=e.i(271645),s=e.i(657688),a=e.i(522016);e.s(["default",0,function({description:e,url:r,image:i,type:n,midia:o,autoPlay:c=!0}){let d=(0,l.useRef)(null),[,u]=(0,l.useState)(!1),m=null,x=o?.url||i,h=o?.type||n||"image",p="video"===h;return(0,t.jsx)(a.default,{href:r,className:p?"":"cursor-default",children:(0,t.jsxs)("div",{className:`relative w-full aspect-[1.6] overflow-hidden transition-all duration-300 ease-in-out ${p?"group hover:z-20 cursor-pointer":""}`,onMouseEnter:p?()=>{u(!0),o?.type==="video"&&!c&&d.current&&(m=setTimeout(()=>{d.current&&(d.current.currentTime=0,d.current.play().catch(e=>{"AbortError"!==e.name&&console.error("Error playing video:",e)}))},200))}:void 0,onMouseLeave:p?()=>{u(!1),m&&(clearTimeout(m),m=null),o?.type==="video"&&!c&&d.current&&(d.current.pause(),d.current.currentTime=0)}:void 0,children:["image"===h&&x&&(0,t.jsx)(s.default,{fill:!0,alt:e,src:x,className:"object-cover",sizes:"800px"}),"video"===h&&x&&(0,t.jsx)("video",{ref:d,muted:!0,loop:!0,className:"object-cover w-full h-full absolute top-0 left-0 transition-opacity duration-300 ease-in-out ",...c?{autoPlay:!0}:{},children:(0,t.jsx)("source",{src:x,type:"video/mp4"})}),(0,t.jsx)("div",{className:p?"absolute inset-0 z-10 flex items-center justify-center bg-black/40 group-hover:bg-transparent transition-colors duration-300":"absolute inset-0 z-10 flex items-center justify-center bg-black/50 pointer-events-none",children:(0,t.jsx)("div",{style:{textShadow:"0px 0px 24px 0px #0000003D"},className:"text-white text-2xl font-semibold lg:text-3xl text-center lg:font-bold px-6",dangerouslySetInnerHTML:{__html:e??""}})})]})})}])},494097,e=>{"use strict";var t=e.i(843476),l=e.i(826595),s=e.i(69189),a=e.i(608910);function r({title:e,body1:r,body2:i,ctaLabel:n,ctaUrl:o,ctaTarget:c="_self",backgroundColor:d,lightText:u=!1,themeColor:m,darkOverlay:x=!1}){let h=e?.trim(),p=r?.trim(),g=i?.trim(),f=n?.trim(),b=(0,a.resolveLpCtaUrl)(o),y=d?.trim(),w=(0,s.resolveLpThemeColor)(m),v=u?l.COLORS.white:l.COLORS.heading,j=u?"rgba(255,255,255,0.9)":"#4B5563";if(!h&&!p&&!g&&!f)return null;let N=y?{background:y}:{backgroundColor:l.COLORS.white};return(0,t.jsxs)("section",{className:`relative w-full py-12 md:py-16 lg:py-20 ${l.SECTION_PAGE_PADDING_X}`,style:N,children:[x&&(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto max-w-[1520px] text-center",children:[h?(0,t.jsx)("h2",{className:"text-[24px] font-black leading-[30px] md:text-[28px] md:leading-[34px] lg:text-[40px] lg:leading-[48px]",style:{color:v},children:h}):null,p?(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-[956px] text-[14px] font-normal leading-[22px] md:mt-5 md:text-[16px] md:leading-[26px] lg:mt-6 lg:text-[18px] lg:leading-[28px]",style:{color:j},children:p}):null,g?(0,t.jsx)("p",{className:"mx-auto mt-3 max-w-[896px] text-[14px] font-normal leading-[22px] md:mt-4 md:text-[16px] md:leading-[26px] lg:text-[18px] lg:leading-[28px]",style:{color:j},children:g}):null,f?(0,t.jsx)("div",{className:"mt-6 flex justify-center md:mt-8",children:(0,t.jsx)("a",{...(0,a.lpCtaAnchorProps)((0,a.resolveLpCtaUrl)(b),c),className:`inline-flex h-11 w-fit max-w-sm items-center justify-center rounded-xl bg-white px-8 transition-opacity hover:opacity-90 sm:max-w-md md:h-12 lg:h-14 lg:w-auto lg:max-w-none lg:px-14 ${l.WIKI_CTA_TEXT_CLASS}`,style:{color:w,boxShadow:l.BRAND_AUTHORITY_CTA_SHADOW},children:f})}):null]})]})}e.s(["LPBuildBrandAuthoritySection",()=>r])},372877,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(271645),a=e.i(234913);function r(e){let{isLightmode:r,themeColor:i,contentWidthClass:n}=(0,a.useAppContext)(),[o,c]=(0,s.useState)(0);if(!e.tabs?.length)return null;let d=e.tabs[o];return(0,t.jsx)("section",{className:"py-12 md:py-16 px-4",children:(0,t.jsxs)("div",{className:n,children:[e.title&&(0,t.jsx)("h2",{className:`text-xl md:text-2xl font-semibold text-center mb-2 ${r?"text-gray-900":"text-white"}`,children:e.title}),(0,t.jsx)("p",{className:`text-center mb-8 ${r?"text-gray-500":"text-white/60"}`,children:"Meet our customers"}),e.tabs.length>1&&(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-2 mb-8",children:e.tabs.map((e,l)=>(0,t.jsx)("button",{type:"button",onClick:()=>c(l),className:`px-4 py-2 rounded-full text-sm font-medium border transition-colors ${o===l?i?"text-white border-transparent":r?"bg-black text-white border-black":"bg-white text-black border-white":r?"border-gray-300 text-gray-700 hover:bg-gray-100":"border-white/30 text-white/70 hover:bg-white/10"}`,style:o===l&&i?{backgroundColor:i}:void 0,children:e.tabTitle},l))}),d&&(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-4",children:d.tabItems.map((e,s)=>(0,t.jsx)("div",{className:`flex items-center justify-center rounded-xl p-4 aspect-[3/2] w-[calc(50%-0.5rem)] sm:w-[calc(33.333%-0.75rem)] md:w-[calc(25%-0.75rem)] lg:w-[calc(16.666%-0.875rem)] ${r?"bg-white border border-gray-200":"bg-white/5 border border-white/10"}`,children:(0,t.jsx)("div",{className:"relative w-full h-full",children:(0,t.jsx)(l.default,{src:e,alt:"",fill:!0,className:"object-contain p-1",sizes:"(max-width: 768px) 50vw, (max-width: 1024px) 25vw, 16vw"})})},s))})]})})}e.s(["default",()=>r])},656170,e=>{"use strict";var t=e.i(843476),l=e.i(811488),s=e.i(468757),a=e.i(657688),r=e.i(271645),i=e.i(69786);function n({background:e,description:n,title:o="",bottomTitle:c="",images:d}){let[u,m]=(0,r.useState)(!0),[x,h]=(0,r.useState)(0),p=(0,r.useRef)(null);return(0,t.jsxs)("div",{className:"mb-4 mt-2",children:[(0,t.jsxs)("section",{className:"w-full h-[340px] md:h-[400px] lg:h-[90vh] relative before:content-['']  before:bg-gradient-linear before:absolute before:w-full before:h-full before:z-10 ",children:["video"===e.type&&e.url&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInl
243ine:!0,className:"absolute w-full h-full object-cover",ref:p,children:(0,t.jsx)("source",{src:e.url,type:"video/mp4"})}),(0,t.jsx)("button",{onClick:()=>{let e=p.current;h(x+1),e&&(u?(e.pause(),m(!1)):(e.play(),m(!0)))},className:"z-30 absolute right-8 bottom-8 bg-white/30 hover:bg-white/50 rounded-full w-[30px] h-[30px]",children:(0,t.jsx)(l.FontAwesomeIcon,{color:"white",icon:u?s.faPause:s.faPlay})})]}),"image"===e.type&&e.url&&(0,t.jsx)(a.default,{fill:!0,alt:"",className:"relative object-cover",src:e.url}),(0,t.jsx)("div",{className:`absolute w-full h-full z-20 flex flex-col ${c?"justify-end":"justify-center"} items-center py-[120px] gap-16`,children:(0,t.jsxs)("div",{className:"text-white text-center container flex flex-col items-center gap-2",children:[o&&(0,t.jsx)("h3",{className:"leading-[30px] md:leading-[80px] break-words goodtimes-font-family max-w-[900px] text-2xl md:text-3xl lg:text-4xl font-semibold",children:o}),c&&(0,t.jsx)("p",{className:"text-xl md:text-3xl",children:c}),n&&(0,t.jsx)(i.default,{html:n,className:"max-w-[816px] [&_h1]:text-2xl [&_h1]:md:text-3xl [&_h1]:lg:text-5xl [&_h1]:font-medium [&_h1]:leading-tight [&_h1]:goodtimes-font-family [&_h1]:break-words [&_h2]:text-2xl [&_h2]:md:text-3xl [&_h2]:lg:text-4xl [&_h2]:font-semibold [&_h2]:leading-tight [&_h2]:goodtimes-font-family [&_h2]:break-words"})]})})]}),(0,t.jsx)("section",{className:"w-screen grid md:grid-cols-2 grid-cols-1",children:d.map((e,l)=>(0,t.jsx)("div",{className:"relative w-full aspect-[1.77]",children:(0,t.jsx)(a.default,{fill:!0,className:"relative object-cover w-full h-full",src:e,alt:"logo"})},l))})]})}e.s(["default",()=>n])},358756,e=>{"use strict";var t=e.i(843476),l=e.i(826595),s=e.i(69189),a=e.i(608910);function r({number:e,title:a,description:r,themeColor:i}){return(0,t.jsxs)("article",{className:"flex flex-col rounded-2xl border-2 px-6 pt-5 pb-4 sm:px-6 sm:pb-4 md:px-5 md:pt-5 md:pb-3 lg:px-5",style:{borderColor:l.TABLE_BORDER,background:(0,s.lpStepCardBackground)(i)},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 lg:gap-2",children:[null!=e&&(0,t.jsx)("span",{className:"flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full text-[22px] font-black leading-none text-white md:h-12 md:w-12 md:text-[26px] lg:h-14 lg:w-14 lg:text-[32px]",style:{background:(0,s.lpAccentBackground)(i)},children:e}),a&&(0,t.jsx)("h3",{className:"text-base font-bold leading-6 md:text-[17px] md:leading-[26px] lg:text-[20px] lg:leading-[27px]",style:{color:l.COLORS.heading},children:a})]}),r&&(0,t.jsx)("p",{className:"mt-3 mb-0 text-[14px] font-normal leading-[22px] md:mt-3.5 md:text-[15px] md:leading-6 lg:mt-4 lg:text-[15px] lg:leading-6",style:{color:l.STEP_CARD_BODY},children:r})]})}function i({title:e,subtitle:i,ctaLabel:n,ctaUrl:o,ctaTarget:c="_self",backgroundColor:d,lightText:u=!1,themeColor:m,steps:x}){let h=u?l.COLORS.white:l.COLORS.heading,p=u?l.COLORS.white:l.COLORS.body,g=x?.filter(e=>null!=e.number||!!e.title?.trim()||!!e.description?.trim())??[],f=n?.trim(),b=(0,a.resolveLpCtaUrl)(o);return e?.trim()||i?.trim()||0!==g.length||f?(0,t.jsx)("section",{id:"how-it-works",className:`w-full pt-12 pb-6 md:pt-16 md:pb-8 lg:pb-10 ${l.SECTION_PAGE_PADDING_X}`,style:{scrollMarginTop:"80px",...d?{backgroundColor:d}:void 0},children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1520px]",children:[e&&(0,t.jsx)("h2",{className:"text-[24px] font-black leading-[30px] md:text-[28px] md:leading-[34px] lg:text-[36px] lg:leading-[40px]",style:{color:h},children:e}),i&&(0,t.jsx)("p",{className:"mt-3 text-base font-bold leading-6 md:mt-4 md:text-[17px] md:leading-[26px] lg:text-[18px] lg:leading-[27px]",style:{color:p},children:i}),g.length>0&&(0,t.jsx)("div",{className:"mt-6 grid grid-cols-1 gap-4 md:mt-8 md:gap-6 lg:grid-cols-3 lg:gap-8",children:g.map((e,l)=>(0,t.jsx)(r,{...e,themeColor:m},e.number??l))}),f&&(0,t.jsx)("div",{className:"mt-6 flex justify-center md:mt-8 lg:mt-10",children:(0,t.jsx)("a",{...(0,a.lpCtaAnchorProps)((0,a.resolveLpCtaUrl)(b),c),className:`inline-flex h-11 w-fit max-w-sm items-center justify-center rounded-xl px-8 transition-opacity hover:opacity-90 sm:max-w-md md:h-[52px] lg:h-14 lg:w-auto lg:min-w-[292px] lg:px-7 ${l.WIKI_CTA_TEXT_CLASS}
243`,style:{background:(0,s.lpCtaBackground)(m),color:l.COLORS.white},children:f})})]})}):null}e.s(["LPHowItWorksSection",()=>i])},972421,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(665012),a=e.i(580491),r=e.i(234913);function i({character_id:e,avatarVideoUrl:i,description:n,voice_id:o,avatarImageUrl:c,name:d,agent_id:u,layout:m,summary:x,logo:h,title:p,personality:g,background:f,links:b,placeholder:y,show_search_results:w}){let{setGlobalAvatar:v,setShowGlobalAvatar:j}=(0,r.useAppContext)();if((0,l.useEffect)(()=>{o&&c&&(v({character_id:e,avatarVideoUrl:i,description:n,title:p,voice_id:o,avatarImageUrl:c,name:d,agent_id:u,summary:x,logo:h,personality:g,background:f,links:b,placeholder:y,show_search_results:w}),j(!0))},[o,w,c,e,i,n,d,u,x,h,g,f,b,v,j,y]),!o)return null;let N="fixed"===m&&(0,t.jsx)(s.default,{avatarDescription:e||"",avatarName:d||"",avatarSubtitle:p||"",avatarVoiceId:o,avatarIdleVideoUrl:i||"",avatarImageUrl:c||"",avatarPersonality:n||"",projectId:e||"",agentId:u||"",placeholder:y||"",summary:x||"",logo:h||"",personality:g||"",show_search_results:w}),k=m&&"fixed"!==m&&(0,t.jsxs)("div",{className:"w-full",children:[(p||d||n)&&(0,t.jsxs)("div",{className:"bg-gray-900 text-white p-6 rounded-t-lg",children:[p&&(0,t.jsx)("h2",{className:"text-2xl font-bold mb-2",children:p}),d&&(0,t.jsx)("h3",{className:"text-xl font-semibold mb-2",children:d}),n&&(0,t.jsx)("p",{className:"text-gray-300 mb-4",children:n}),x&&(0,t.jsx)("p",{className:"text-gray-400 text-sm",children:x})]}),(0,t.jsx)(a.ChatContainer,{feature_image:c||"",thumbnail_video:i||"",voice_id:o,character_id:e||"",projectId:e||"",agentId:u||"",isLayoutNull:!0,placeholder:`Chat with ${d||"Assistant"}...`,summary:x||"",logo:h||"",show_search_results:w})]});return(0,t.jsxs)(t.Fragment,{children:[N,k]})}e.s(["default",()=>i])},208457,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(826595),a=e.i(69189);function r({label:e,iconUrl:r,fullWidth:i=!1,themeColor:n}){return(0,t.jsxs)("div",{className:`flex items-center gap-2.5 rounded-xl bg-white px-4 py-3.5 md:px-4 md:py-3 ${i?"md:col-span-2":""}`,style:{border:"2px solid #E5E7EB"},children:[r?(0,t.jsx)("span",{className:"flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full",style:{background:(0,a.lpAccentBackground)(n,s.GREEN_ICON_GRADIENT)},children:(0,t.jsx)(l.default,{src:r,alt:"",width:16,height:16,className:"h-4 w-4"})}):null,(0,t.jsx)("p",{className:"text-[14px] font-semibold leading-[22px] md:text-[15px] md:leading-6 lg:text-base lg:leading-6",style:{color:s.COLORS.heading},children:e})]})}function i({title:e,introText:a,introSubtitle:i,sectionImageUrl:n,closingText:o,backgroundColor:c,lightText:d,themeColor:u,benefitLabels:m}){let x=[];for(let e of m??[]){let t=e.label?.trim();t&&x.push({label:t,iconUrl:e.iconUrl?.trim()||void 0})}let h=d?s.COLORS.white:s.COLORS.heading,p=d?"rgba(255,255,255,0.75)":s.COLORS.body,g=x.length>0||!!n;return(0,t.jsx)("section",{className:`w-full pt-12 pb-6 md:pt-14 md:pb-8 lg:pt-16 lg:pb-10 ${s.SECTION_PAGE_PADDING_X}`,style:c?{backgroundColor:c}:void 0,children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1520px]",children:[e?(0,t.jsx)("h2",{className:"mb-3 text-[24px] font-black leading-[30px] md:text-[28px] md:leading-[34px] lg:text-[36px] lg:leading-[40px]",style:{color:h},children:e}):null,a?(0,t.jsx)("p",{className:"mb-4 max-w-4xl text-[15px] font-normal leading-6 md:mb-6 md:text-[16px] md:leading-7 lg:mb-6 lg:text-[18px] lg:leading-[28px]",style:{color:d?"rgba(255,255,255,0.85)":"#4B5563"},children:a}):null,i?(0,t.jsx)("p",{className:"mb-4 text-[16px] font-bold leading-6 md:text-[17px] md:leading-[26px] lg:text-[18px] lg:leading-[27px]",style:{color:h},children:i}):null,g?(0,t.jsxs)("div",{className:"grid grid-cols-1 items-start gap-6 md:gap-8 lg:grid-cols-[minmax(0,1fr)_minmax(260px,360px)] lg:gap-6",children:[x.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 md:gap-4",children:x.map((e,l)=>(0,t.jsx)(r,{label:e.label,iconUrl:e.iconUrl,fullWidth:x.length%2!=0&&l===x.length-1,themeColor:u},`${e.label}-${l}`))}):null,n?(0,t.jsx)("div",{className:"relative h-[220px] overflow-hidden rounded-2xl sm:h-[260px] md:h-[280px] lg:h-[360px]",children:(0,t.jsx)(l.default,{src:n,alt:"",fill:!0,className:"object-cover"})}):null]}):null,o?(0,t.jsx)("p",{className:"mt-5 max-w-4xl text-[14px] font-normal leading-[22px] md:mt-6 md:text-[15px] md:leading-6 lg:text-base lg:leading-6",style:{color:p},children:o}):null]})})}e.s(["LPWhyItMattersSection",()=>i])},896312,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(826595),a=e.i(69189),r=e.i(975157);function i({label:e,themeColor:l}){let r;return(0,t.jsx)("span",{className:"inline-flex h-fit w-fit items-center rounded-full px-2.5 py-1 text-[13px] font-semibold leading-5 md:px-3 md:text-[14px] md:leading-[21px]",style:{backgroundColor:(r=l?.trim())?`color-mix(in srgb, ${r}
243 12%, white)`:s.WHO_SECTION_TAG_BG,color:(0,a.resolveLpThemeColor)(l)},children:e})}function n({label:e,iconUrl:a}){let i=e?.trim();if(!i)return null;let n=a?.trim()?(0,r.getCmsImageUrl)(a):void 0;return(0,t.jsxs)("span",{className:"inline-flex h-fit w-fit items-center gap-1.5 rounded-full border-2 bg-white px-3 py-1 text-[14px] font-semibold leading-[21px] whitespace-nowrap md:gap-2 md:px-3.5 md:py-1.5 lg:px-4 lg:text-[15px] lg:leading-[22.5px]",style:{borderColor:s.TABLE_BORDER,boxShadow:s.LIST_ITEM_SHADOW,color:s.COLORS.heading},children:[n?(0,t.jsx)(l.default,{src:n,alt:"",width:18,height:18,className:"h-[18px] w-[18px] flex-shrink-0 object-contain"}):null,i]})}function o({tag:e,title:l,chips:a,themeColor:r}){let o=e?.trim(),c=l?.trim(),d=a?.map(e=>({label:e.label?.trim(),iconUrl:e.iconUrl?.trim()||void 0})).filter(e=>!!e.label)??[];return o||c||0!==d.length?(0,t.jsxs)("article",{className:"flex h-fit flex-col rounded-2xl px-5 py-5 sm:px-6 md:px-7 lg:px-9 lg:py-6",style:{backgroundColor:s.WHO_SECTION_CARD_BG},children:[o?(0,t.jsx)(i,{label:o,themeColor:r}):null,c?(0,t.jsx)("h3",{className:"mt-3 text-[20px] font-black leading-7 md:mt-4 md:text-[22px] md:leading-8 lg:mt-4 lg:text-[24px] lg:leading-9",style:{color:s.COLORS.heading},children:c}):null,d.length>0?(0,t.jsx)("div",{className:"mt-3 flex flex-wrap gap-2 md:mt-4 md:gap-2 lg:mt-4",children:d.map((e,l)=>(0,t.jsx)(n,{label:e.label,iconUrl:e.iconUrl},`${e.label}-${l}`))}):null]}):null}function c({title:e,backgroundColor:l,themeColor:a,audienceGroups:r}){let i=e?.trim(),n=r?.map(e=>({tag:e.tag?.trim()||void 0,title:e.title?.trim()||void 0,chips:e.chips})).filter(e=>!!e.tag||!!e.title||(e.chips?.some(e=>!!e.label?.trim())??!1))??[];return i||0!==n.length?(0,t.jsx)("section",{className:`w-full pt-6 pb-12 md:pt-8 md:pb-16 lg:pt-10 lg:pb-20 ${s.SECTION_PAGE_PADDING_X}`,style:l?{backgroundColor:l}:{backgroundColor:s.COLORS.white},children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1520px]",children:[i?(0,t.jsx)("h2",{className:"text-[24px] font-black leading-[30px] md:text-[28px] md:leading-[34px] lg:text-[36px] lg:leading-[40px]",style:{color:s.COLORS.heading},children:i}):null,n.length>0?(0,t.jsx)("div",{className:"mt-6 grid grid-cols-1 gap-6 md:mt-8 md:gap-8 lg:mt-12 lg:grid-cols-2 lg:items-stretch lg:gap-12",children:n.map((e,l)=>(0,t.jsx)(o,{...e,themeColor:a},`${e.title??e.tag??"group"}-${l}`))}):null]})}):null}e.s(["LPWhoThisIsForSection",()=>c])},371385,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(826595);function a({title:e,description:a,imageUrl:r,imageAlt:i,iconUrl:n,iconBackgroundColor:o}){return(0,t.jsxs)("article",{className:"flex h-full flex-col overflow-hidden rounded-2xl bg-white",style:{boxShadow:"0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1)"},children:[r?(0,t.jsxs)("div",{className:"relative h-40 w-full flex-shrink-0 md:h-48",children:[(0,t.jsx)(l.default,{src:r,alt:i??"",fill:!0,className:"object-cover",sizes:"(max-width: 1024px) 100vw, 50vw"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent","aria-hidden":"true"}),n?(0,t.jsx)("span",{className:"absolute bottom-4 left-4 flex h-10 w-10 items-center justify-center rounded-full md:bottom-6 md:left-6 md:h-12 md:w-12",style:{backgroundColor:o??void 0,boxShadow:"0px 10px 7.5px rgba(0, 0, 0, 0.1), 0px 4px 3px rgba(0, 0, 0, 0.1)"},children:(0,t.jsx)(l.default,{src:n,alt:"",width:24,height:24,className:"h-6 w-6 object-contain"})}):null]}):null,(0,t.jsxs)("div",{className:"flex flex-1 flex-col px-5 pb-5 pt-5 md:px-8 md:pb-8 md:pt-6",children:[e?(0,t.jsx)("h3",{className:"text-[18px] font-black leading-[27px] md:text-[19px] md:leading-[28px] lg:text-[20px] lg:leading-[30px]",style:{color:s.COLORS.heading},children:e}):null,a?(0,t.jsx)("p",{className:"mt-2 text-[14px] font-normal leading-[22px] md:mt-3 md:text-[14px] md:leading-6 lg:mt-4 lg:text-[15px] lg:leading-6",style:{color:"#4B5563"},children:a}):null]})]})}function r({title:e,backgroundColor:l,lightText:r=!1,benefits:i}){let n=r?s.COLORS.white:s.COLORS.heading,o=i?.filter(e=>!!e.title?.trim()||!!e.description?.trim()||!!e.imageUrl?.trim()||!!e.iconUrl?.trim())??[];return e||0!==o.length?(0,t.jsx)("section",{className:`w-full py-12 md:py-16 lg:py-20 ${s.SECTION_PAGE_PADDING_X}`,style:l?{background:l}:void 0,children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1520px]",children:[e?(0,t.jsx)("h2",{className:"mb-8 text-[24px] font-black leading-[30px] md:mb-10 md:text-[28px] md:leading-[34px] lg:mb-12 lg:text-[36px] lg:leading-[40px]",style:{color:n},children:e}):null,o.length>0?(0,t.jsx)("div",{className:"grid grid-cols-1 gap-5 md:gap-6 lg:grid-cols-2 lg:gap-8",children:o.map((e,l)=>(0,t.jsx)(a,{...e},`${e.title??"benefit"}-${l}`))}):null]})}):null}e.s(["LPWhyFoundersUseBusinessabcSection",()=>r])},168108,e=>{"use strict";var t=e.i(843476),l=e.i(826595);function s(){return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 5.87827 15.1571 3.84344 13.6569 2.34315C12.1566 0.842855 10.1217 0 8 0C5.87827 0 3.84344 0.842855 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.84344 15.1571 5.87827 16 8 16ZM11.707 6.707C11.8892 6.5184 11.99 6.2658 11.9877 6.0036C11.9854 5.7414 11.8802 5.49059 11.6948 5.30518C11.5094 5.11977 11.2586 5.0146 10.9964 5.01233C10.7342 5.01005 10.4816 5.11084 10.293 5.293L7 8.586L
2435.707 7.293C5.5184 7.11084 5.2658 7.01005 5.0036 7.01233C4.7414 7.0146 4.49059 7.11977 4.30518 7.30518C4.11977 7.49059 4.0146 7.7414 4.01233 8.0036C4.01005 8.2658 4.11084 8.5184 4.293 8.707L6.293 10.707C6.48053 10.8945 6.73484 10.9998 7 10.9998C7.26516 10.9998 7.51947 10.8945 7.707 10.707L11.707 6.707Z",fill:"#10B981"})})}function a({groupTitle:e,items:a}){let r=a?.filter(Boolean)??[];return e?.trim()||0!==r.length?(0,t.jsxs)("article",{className:"h-fit rounded-2xl border-2 border-[#E5E7EB] px-5 pb-6 pt-6 md:px-8 md:pb-8 md:pt-8",children:[e?.trim()?(0,t.jsx)("h3",{className:"text-[17px] font-black leading-[26px] md:text-[18px] md:leading-[27px] lg:text-lg lg:leading-[27px]",style:{color:l.COLORS.heading},children:e}):null,r.length>0?(0,t.jsx)("ul",{className:"mt-4 space-y-2 md:mt-5 md:space-y-3 lg:mt-6",children:r.map((e,l)=>(0,t.jsxs)("li",{className:"flex items-start gap-2 md:gap-3",children:[(0,t.jsx)("span",{className:"mt-0.5 flex h-4 w-4 flex-shrink-0 items-center justify-center",children:(0,t.jsx)(s,{})}),(0,t.jsx)("span",{className:"text-[14px] font-normal leading-[22px] md:text-[14px] md:leading-[21px] lg:text-[15px] lg:leading-[22.5px]",style:{color:"#374151"},children:e})]},`${e}-${l}`))}):null]}):null}function r({title:e,backgroundColor:s,lightText:r=!1,featureGroups:i}){let n=r?l.COLORS.white:l.COLORS.heading,o=i?.map(e=>({groupTitle:e.groupTitle?.trim()||void 0,items:e.items?.map(e=>e.trim()).filter(Boolean)})).filter(e=>!!e.groupTitle||!!(e.items&&e.items.length>0))??[];return e?.trim()||0!==o.length?(0,t.jsx)("section",{className:`w-full py-12 md:py-16 lg:py-20 ${l.SECTION_PAGE_PADDING_X}`,style:s?{background:s}:void 0,children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1520px]",children:[e?.trim()?(0,t.jsx)("h2",{className:"text-[24px] font-black leading-[30px] md:text-[28px] md:leading-[34px] lg:text-4xl lg:leading-10",style:{color:n},children:e}):null,o.length>0?(0,t.jsx)("div",{className:`grid grid-cols-1 items-start gap-6 md:gap-6 lg:grid-cols-3 lg:gap-8 ${e?.trim()?"mt-8 md:mt-10 lg:mt-12":""}`,children:o.map((e,l)=>(0,t.jsx)(a,{...e},`${e.groupTitle??"group"}-${l}`))}):null]})}):null}e.s(["LPIncludedFeaturesSection",()=>r])},173276,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(463059),a=e.i(373375);function r({title:e="",description:r="",fullscreen:i=!1,items:n=[]}){let[o,c]=(0,l.useState)(0),d=()=>{c(e=>e===n.length-1?0:e+1)},u=()=>{c(e=>0===e?n.length-1:e-1)};(0,l.useEffect)(()=>{if(n.length<=1)return;let e=setInterval(d,5e3);return()=>clearInterval(e)},[o,n.length]);let m=l=>"video"===l.backgroundType?(0,t.jsx)("video",{src:l.backgroundUrl,className:"w-full h-full mx-auto transition-all duration-300 ease-in-out object-cover",autoPlay:!0,loop:!0,muted:!0,playsInline:!0}):(0,t.jsx)("img",{src:l.backgroundUrl,alt:l.title||e,className:"w-full h-full mx-auto transition-all duration-300 ease-in-out object-cover"}),x=()=>n.length<=1?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{className:"absolute top-1/2 left-2 md:left-5 -translate-y-1/2 z-20 bg-white/30 border-none w-8 h-8 md:w-10 md:h-10 rounded-full flex items-center justify-center text-white transition-all duration-300 ease-in-out hover:bg-white/50",onClick:u,"aria-label":"Previous slide",children:(0,t.jsx)(a.ChevronLeft,{size:20})}),(0,t.jsx)("button",{className:"absolute top-1/2 right-2 md:right-5 -translate-y-1/2 z-20 bg-white/30 border-none w-8 h-8 md:w-10 md:h-10 rounded-full flex items-center justify-center text-white transition-all duration-300 ease-in-out hover:bg-white/50",onClick:d,"aria-label":"Next slide",children:(0,t.jsx)(s.ChevronRight,{size:20})})]});return n.length?(0,t.jsxs)("div",{className:`relative w-full py-12 mb-8 overflow-hidden max-w-full transition-all duration-300 ${i?"h-screen":""}`,children:[!i&&(0,t.jsxs)("div",{className:"flex flex-col gap-0 mb-10",children:[(0,t.jsx)("h2",{className:"w-full text-center break-words goodtimes-font-family text-xl md:text-3xl",children:e}),(0,t.jsx)("p",{className:"text-white text-lg text-center leading-normal mt-2",children:r})]}),n.map((l,s)=>(0,t.jsxs)("div",{className:`transition-opacity duration-500 ease-in-out ${s===o?"opacity-100 z-10":"opacity-0 hidden"}`,children:[(0,t.jsxs)("div",{className:`md:hidden w-full max-w-full flex flex-col ${i?"h-screen":""}`,children:[(0,t.jsxs)("div",{className:`relative w-full ${i?"h-4/5":""}`,children:[m(l),x()]}),(0,t.jsxs)("div",{className:`bg-[#04040F99] text-white p-4 w-full rounded ${i?"absolute bottom-0 left-0":""}`,children:[(0,t.jsx)("h2",{className:"text-xl uppercase m-0 mb-2",children:l.title||e}),(0,t.jsx)("p",{className:"text-sm leading-relaxed line-clamp-3 mb-4",children:l.description}),l.ctaLabel&&(0,t.jsx)("a",{href:l.ctaUrl,className:"text-sm block w-fit mx-auto text-center bg-white text-black py-2 px-6 rounded-full font-bold uppercase transition-all duration-300 hover:bg-gray-100 hover:-translate-y-0.5",children:l.ctaLabel})]})]}),(0,t.jsxs)("div",{className:`hidden md:block relative w-full max-w-full ${i?"h-screen":"h-96"}`,children:[(0,t.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:m(l)}),x(),(0,t.jsxs)("div",{className:"absolute bottom-8 left-[5%] bg-[#04040F99] text-white p-8 max-w-xl rounded",children:[(0,t.jsx)("h2",{className:"text-4xl uppercase m-0 mb-4",children:l.title||e}),(0,t.jsx)("p",{className:"text-base leading-relaxed mb-6",children:l.description}),l.ctaLabel&&(0,t.jsx)("a",{href:l.ctaUrl,className:"inline-block bg-white text-black py-3 px-8 rounded-md text-xs font-bold uppercase transition-all duration-300 hover:bg-gray-100 hover:-translate-y-0.5",children:l.ctaLabel})]})]})]},s)),n.length>1&&(0,t.jsx)("div",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 flex gap-2 md:gap-2.5 z-20 py-3",children:n.map((e,l)=>(0,t.jsx)("span",{className:`w-2 h-2 md:w-3 md:h-3 rounded-full cursor-pointer transition-all duration-300 ease-in-out ${l===o?"bg-white scale-110":"bg-white/50"}`,onClick:()=>c(l),"aria-label":`Go to slide ${l+1}`},l))})]}):null}e.s(["default",()=>r])},199390,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(826595),a=e.i(69189),r=e.i(608910);let i=[{id:"website",label:"Correct official website URL",iconUrl:"/images/official-wiki/verification-icon-website.svg"},{id:"social",label:"Authentic social media channels",iconUrl:"/images/official-wiki/verification-icon-social.svg"},{id:"wiki",label:"Official businessabc wiki page",iconUrl:"/images/official-wiki/verification-icon-wiki.svg"},{id:"protection",label:"Helps prevent scams, impersonation, and fake websites.",iconUrl:"/images/official-wiki/verification-icon-protection.svg"}];function n({label:e,iconUrl:r,themeColor:i}){return(0,t.jsxs)("li",{className:"flex items-center gap-3 rounded-[14px] border bg-white px-4 py-3 lg:px-4 lg:py-3",style:{borderColor:s.TABLE_BORDER,boxShadow:s.LIST_ITEM_SHADOW},children:[r?(0,t.jsx)("span",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-[10px]",style:{background:(0,a.lpVerificationIconBackgroun
243d)(i)},children:(0,t.jsx)(l.default,{src:r,alt:"",width:20,height:20,className:"h-5 w-5"})}):null,(0,t.jsx)("span",{className:"text-[14px] font-bold leading-[22px] md:text-[15px] md:leading-6 lg:text-[16px] lg:leading-6",style:{color:s.COLORS.heading},children:e})]})}function o({title:e,subtitle:o,ctaLabel:c,ctaUrl:d,ctaTarget:u="_self",badgeImageUrl:m,backgroundColor:x,themeColor:h,darkMode:p,confirmItems:g}){let f=(0,r.resolveLpCtaUrl)(d),b=g?.length?g.map((e,t)=>({id:i[t]?.id??`confirm-${t}`,label:e.label??i[t]?.label??"",iconUrl:e.iconUrl?.trim()||void 0})):i,y=p?s.COLORS.white:s.COLORS.heading,w=p?"#D1D5DB":s.STEP_CARD_BODY;return(0,t.jsx)("section",{className:`w-full py-12 md:py-16 ${s.SECTION_PAGE_PADDING_X}`,style:{backgroundColor:x??s.VERIFICATION_SECTION_BG},children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1520px] lg:grid lg:grid-cols-2 lg:gap-x-[58px]",children:[(0,t.jsx)("h2",{className:"max-w-[986px] text-[24px] font-black leading-[30px] md:text-[28px] md:leading-[34px] lg:col-span-2 lg:text-[36px] lg:leading-[44px]",style:{color:y},children:e??(0,t.jsxs)(t.Fragment,{children:["Protect your brand with a Verification Badge ",(0,t.jsx)("br",{}),"stored in a decentralised database for persistance"]})}),(0,t.jsx)("p",{className:"mt-1 max-w-[794px] text-[14px] font-normal leading-[22px] md:mt-2 md:text-[15px] md:leading-6 lg:col-span-2 lg:pb-4 lg:text-base lg:leading-6",style:{color:w},children:o??"You receive a clickable businessabc Verification Badge to place on your website footer or header. When visitors click the badge, they can confirm:"}),(0,t.jsx)("div",{className:"hidden lg:block","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-6 md:gap-8 lg:col-span-2 lg:mt-0 lg:flex-row lg:items-stretch lg:gap-x-[58px]",children:[(0,t.jsx)("ul",{className:"min-w-0 flex-1 space-y-4 md:space-y-5 lg:space-y-3",children:b.map(e=>(0,t.jsx)(n,{label:e.label,iconUrl:e.iconUrl,themeColor:h},e.id))}),(0,t.jsx)("div",{className:"flex h-full min-h-0 min-w-0 flex-1",children:(0,t.jsx)("div",{className:"relative flex h-full w-full items-center justify-center",children:(0,t.jsx)(l.default,{src:m??s.VERIFICATION_BADGE_IMAGE,alt:"businessabc Certification verification badge",width:520,height:520,className:"h-auto w-full max-w-[312px] object-contain sm:max-w-[338px] lg:absolute lg:left-[calc(50%+20px)] lg:top-1/2 lg:w-[429px] lg:max-w-none lg:-translate-x-1/2 lg:translate-y-[calc(-50%+24px)]"})})})]}),(0,t.jsx)("div",{className:"mt-6 lg:col-start-1 lg:row-start-5 lg:mt-5",children:(0,t.jsx)("div",{className:"flex justify-center lg:justify-start",children:(0,t.jsx)("a",{...(0,r.lpCtaAnchorProps)(f,u),className:`mt-6 flex min-h-16 w-full items-center justify-center rounded-[14px] px-4 py-3 transition-opacity hover:opacity-90 md:mt-8 lg:min-h-[60px] ${s.WIKI_CTA_TEXT_CLASS}`,style:{background:(0,a.lpCtaBackground)(h),color:s.COLORS.white},children:c??"Get Verified & Protect Your Brand"})})}),(0,t.jsx)("div",{className:"hidden lg:block","aria-hidden":"true"})]})})}e.s(["LPVerificationBadgeSection",()=>o])},717308,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(826595),a=e.i(69189),r=e.i(608910);function i(){return(0,t.jsx)("svg",{width:"12",height:"9",viewBox:"0 0 12 9",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 4L4.5 7.5L11 1",stroke:"white",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function n({iconUrl:e,themeColor:s}){return(0,t.jsx)("span",{className:"flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-md",style:{background:(0,a.lpAccentBackground)(s)},children:e?(0,t.jsx)(l.default,{src:e,alt:"",width:16,height:16,className:"h-4 w-4 object-contain"}):(0,t.jsx)(i,{})})}function o(e,t){return(0,r.lpCtaAnchorProps)((0,r.resolveLpCtaUrl)(e),t)}function c({title:e,ctaLabel:l,ctaUrl:i,ctaTarget:c="_self",cardTitle:d,cardSubtitle1:u,cardCtaLabel:m,cardCtaUrl:x,cardCtaTarget:h="_self",lightText:p=!1,backgroundColor:g,themeColor:f,youGet:b,steps:y}){let w=p?s.COLORS.white:s.COLORS.heading,v=(0,a.resolveLpThemeColor)(f),j=(0,r.resolveLpCtaUrl)(i),N=(0,r.resolveLpCtaUrl)(x);return(0,t.jsx)("section",{className:`w-full pt-16 pb-14 md:pt-20 md:pb-20 lg:pt-16 ${s.SECTION_PAGE_PADDING_X}`,style:{backgroundColor:g??"#ffffff"},children:(0,t.jsx)("div",{className:"mx-auto max-w-[1520px]",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 items-start gap-10 lg:grid-cols-2 lg:items-center lg:gap-16 xl:gap-20",children:[(0,t.jsxs)("div",{className:"w-full max-w-[728px]",children:[e&&(0,t.jsx)("h2",{className:"mb-6 text-xl font-bold leading-8 md:text-2xl md:leading-9 lg:text-[22px] lg:leading-8",style:{color:w},children:e}),b&&b.length>0&&(0,t.jsx)("ul",{className:"mb-9 space-y-3",children:b.map(({label:e,iconUrl:l},s)=>(0,t.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(n,{iconUrl:l,themeColor:f}),e&&(0,t.jsx)("span",{className:"text-lg font-semibold leading-7 md:text-xl md:leading-8 lg:text-[18px] lg:leading-7",style:{color:w},children:e})]},s))}),l&&(0,t.jsx)("div",{className:"flex justify-center lg:justify-start",children:(0,t.jsx)("a",{...o(j,c),className:`inline-flex items-center justify-center rounded-xl px-6 py-2.5 transition-colors hover:opacity-90 md:px-8 md:py-3 lg:py-3.5 ${s.WIKI_CTA_TEXT_CLASS}
243`,style:{background:(0,a.lpCtaBackground)(f),color:s.COLORS.white,boxShadow:"0px 10px 15px rgba(0, 0, 0, 0.1)"},children:l})})]}),(0,t.jsxs)("div",{className:"w-full rounded-2xl p-4 text-white md:p-5",style:{background:(0,a.lpCardBackground)(f)},children:[d&&(0,t.jsx)("div",{className:"mb-0.5 flex justify-center",children:(0,t.jsx)("h2",{className:"text-center text-[22px] font-black leading-7 md:text-[24px] md:leading-8 lg:text-[26px] lg:leading-9",children:d})}),u&&(0,t.jsx)("p",{className:"mb-4 px-2 text-center text-sm font-normal leading-5 text-white/80",children:u}),y&&y.length>0&&(0,t.jsx)("div",{className:"mb-4 space-y-2.5",children:y.map((e,l)=>(0,t.jsxs)("div",{className:"flex items-center rounded-md bg-white px-2.5 py-1.5",children:[(0,t.jsxs)("div",{className:"flex w-12 flex-shrink-0 flex-col items-center justify-center pr-3",children:[(0,t.jsx)("p",{className:"text-[11px] font-medium leading-3.5 text-gray-400",children:"Step"}),(0,t.jsx)("p",{className:"text-[32px] font-black leading-8",style:{color:v},children:e.number})]}),(0,t.jsxs)("div",{className:"border-l border-gray-200 pl-3",children:[e.title&&(0,t.jsx)("p",{className:"mb-0.5 text-[15px] font-bold leading-[22px] text-gray-900",children:e.title}),e.description&&(0,t.jsx)("p",{className:"text-xs font-normal leading-[18px] text-gray-500",children:e.description})]})]},l))}),m&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("hr",{className:"mb-4 border-white/20"}),(0,t.jsx)("a",{...o(N,h),className:`mb-0.5 block w-full rounded-xl py-2.5 text-center transition-colors hover:opacity-90 md:py-3 lg:py-3.5 ${s.WIKI_CTA_TEXT_CLASS}`,style:{background:(0,a.lpCtaBackground)(f),color:s.COLORS.white},children:m})]})]})]})})})}e.s(["LPProfileHowItWorksSection",()=>c])},542105,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(522016),a=e.i(234913);function r({block:e}){let{isLightmode:r}=(0,a.useAppContext)();return(0,t.jsx)("section",{className:"w-full my-10",children:(0,t.jsxs)("div",{className:"container mx-auto",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:items-end gap-6 mb-8",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h2",{className:"text-2xl md:text-3xl font-bold",children:e.title}),(0,t.jsx)("p",{className:"mt-2 text-sm md:text-base text-gray-400",children:e.subt
243itle})]}),e.promo_image&&(0,t.jsx)("div",{className:"relative w-40 h-24 md:w-56 md:h-32 flex-shrink-0 rounded-xl overflow-hidden",children:(0,t.jsx)(l.default,{src:e.promo_image.url,alt:e.promo_image.alternativeText||e.title,fill:!0,className:"object-cover"})})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:e.options.map(e=>(0,t.jsxs)("div",{className:`flex flex-col rounded-2xl border p-6 space-y-4 ${r?"bg-white border-gray-200 text-black":"bg-[#020617] border-white/10 text-white"}`,children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[e.icon?.url&&(0,t.jsx)("div",{className:"relative w-10 h-10 rounded-full overflow-hidden bg-black/10",children:(0,t.jsx)(l.default,{src:e.icon.url,alt:e.icon.alternativeText||e.title,fill:!0,className:"object-contain"})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"text-xs uppercase tracking-wide text-gray-400",children:e.period_title}),(0,t.jsx)("h3",{className:"text-lg font-semibold",children:e.title})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"text-3xl font-bold",children:[e.price,(0,t.jsx)("span",{className:"ml-1 text-sm font-normal",children:e.price_description})]}),e.period_description&&(0,t.jsx)("p",{className:"mt-1 text-xs text-gray-400",children:e.period_description})]}),(0,t.jsx)("div",{className:"mt-auto flex flex-col gap-3",children:(0,t.jsx)(s.default,{href:e.cta_slug||"#",className:"w-full h-11 inline-flex items-center justify-center rounded-full text-sm font-medium bg-primary text-white hover:opacity-90 transition-opacity",children:e.cta_label})})]},e.title))})]})})}e.s(["default",()=>r])},875479,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(234913);function a({block:e}){let{isLightmode:a,themeColor:r}=(0,s.useAppContext)(),[i,n]=(0,l.useState)(""),[o,c]=(0,l.useState)("idle"),[d,u]=(0,l.useState)(""),m=r||(a?"#f9fafb":"#020617"),x=!!r||!a,h=async e=>{if(e.preventDefault(),i.trim()){c("loading"),u("");try{let e=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:i})}),t=await e.json();if(!e.ok){c("error"),u(t.error||"Something went wrong. Please try again.");return}c("success"),u(t.message||"You're subscribed! Check your inbox."),n("")}catch{c("error"),u("Something went wrong. Please try again.")}}};return(0,t.jsxs)("section",{className:"w-full py-12 md:py-16 relative",style:{backgroundColor:m},children:[r&&(0,t.jsx)("div",{className:"absolute inset-0 bg-black/30"}),(0,t.jsxs)("div",{className:"relative z-10 container mx-auto px-6 flex flex-col md:flex-row items-center justify-center gap-6 md:gap-12",children:[(0,t.jsxs)("div",{className:"shrink-0 max-w-md",children:[(0,t.jsx)("h2",{className:`text-xl md:text-2xl font-bold leading-snug ${x?"text-white":"text-gray-900"}`,children:e.title}),e.description&&(0,t.jsx)("p",{className:`text-sm mb-1 ${x?"text-white/60":"text-gray-500"}`,children:e.description})]}),(0,t.jsxs)("form",{onSubmit:h,className:"flex flex-col w-full max-w-xl gap-2",children:[(0,t.jsxs)("div",{className:"flex w-full items-center gap-3",children:[(0,t.jsx)("input",{type:"email",required:!0,value:i,onChange:e=>n(e.target.value),placeholder:"[email protected]",disabled:"loading"===o,className:`flex-1 rounded-full px-6 py-3 text-sm outline-none focus:ring-2 disabled:opacity-50 ${x?"bg-white/10 text-white placeholder-white/40 focus:ring-white/30":"bg-white text-gray-900 placeholder-gray-400 border border-gray-300 focus:ring-gray-300"}`}),(0,t.jsx)("button",{type:"submit",disabled:"loading"===o,className:`rounded-full border-2 px-6 py-2.5 text-sm font-semibold transition-colors disabled:opacity-50 disabled:cursor-not-allowed ${x?"border-white text-white hover:bg-white hover:text-black":"border-gray-900 text-gray-900 hover:bg-gray-900 hover:text-white"}`,children:"loading"===o?"Submitting...":e.button_label||"Submit"})]}),d&&(0,t.jsx)("p",{className:`text-sm px-2 ${"success"===o?"text-green-400":"text-red-400"}`,children:d})]})]})]})}e.s(["default",()=>a])},541840,e=>{"use strict";var t=e.i(843476),l=e.i(37727);let s=(0,e.i(475254).default)("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);var a=e.i(657688),r=e.i(271645),i=e.i(522016),n=e.i(337484),o=e.i(234913);function c({midia:e,image:l,image_small:s,url:n,title:o,popup:c=!1,description:d="",item:u=null,selectItem:m=()=>{}}){let x=(0,r.useRef)(null),[h,p]=(0,r.useState)(!1),[g,f]=(0,r.useState)(!1),[b,y]=(0,r.useState)(!1);(0,r.useEffect)(()=>{h&&x.current&&g&&x.current.play().catch(e=>{console.error("Error playing video:",e)})},[h,g]);let w=()=>{p(!1),y(!1),x.current&&(x.current.pause(),x.current.currentTime=0)},v=(0,t.jsxs)("div",{className:"flex flex-col relative rounded-2xl",onMouseEnter:()=>{e&&(p(!0),!g&&x.current&&(x.current.load(),y(!0)))},onMouseLeave:w,children:[(0,t.jsxs)("div",{className:"flex w-full relative aspect-[1.58] items-end rounded-2xl",children:[l&&(0,t.jsx)(a.default,{fill:!0,alt:o,className:"object-cover transition-opacity duration-300 ease-in-out rounded-2xl",src:s??l}
243),e&&(0,t.jsx)("video",{ref:x,muted:!0,loop:!0,playsInline:!0,preload:"none",onLoadedData:()=>{f(!0),b&&x.current&&x.current.play().catch(e=>{console.error("Error playing video after load:",e)})},className:`absolute top-0 left-0 w-full h-full object-cover rounded-2xl transition-opacity duration-300 ease-in-out ${g?"opacity-100":"opacity-0"}`,children:(0,t.jsx)("source",{src:e,type:"video/mp4"})})]}),(0,t.jsx)("div",{className:"z-10 flex w-full justify-between px-[12px] items-center",children:(0,t.jsxs)("div",{className:"overflow-hidden flex flex-col mt-2 items-start text-white font-semibold rounded-2xl mr-11 py-1",children:[(0,t.jsx)("span",{className:"font-bold text-[1.1rem] leading-7 tracking-[-0.02em]",children:o}),d&&(0,t.jsx)("span",{className:"font-light text-[1rem] leading-7 tracking-[-0.02em]",children:d})]})})]});return c?(0,t.jsx)("button",{onClick:()=>{c&&u&&(m(u),w())},children:v}):(0,t.jsx)(i.default,{href:n??"#",children:v})}function d({items:e=[],title:d="",description:u=""}){let{paddingXClass:m,contentWidthClass:x}=(0,o.useAppContext)(),[h,p]=(0,r.useState)(null),[g,f]=(0,r.useState)(!1),b=e=>{f(!0),p(e)};return(0,t.jsxs)("section",{className:"relative bg-primary",children:[(0,t.jsx)(n.default,{}),(0,t.jsx)("div",{className:`${x} ${m}`,children:(0,t.jsxs)("div",{className:"relative mx-3 lg:mx-0 text-white z-10 pt-[40px] pb-[20px]",children:[(0,t.jsx)("h2",{className:"w-full text-center text-xl md:text-3xl break-words goodtimes-font-family mb-[40px]",children:d}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-[32px]",children:e.map((e,l)=>(0,t.jsx)(c,{description:e.description,image_small:e.image_small,popup:e.popup,item:e,selectItem:b,midia:e.video,icon:e.icon,title:e.title,image:e.image,url:e.iconUrl},l))})]})}),g&&(0,t.jsx)("div",{className:"fixed h-screen w-full z-40 top-0 p-3 animate-in fade-in duration-300",children:(0,t.jsxs)("div",{className:"mx-auto mt-[20%] sm:mt-[4%] flex items-center justify-center border relative max-h-[90%] aspect-[1.5] border-gray-500/50 rounded-[32px] bg-black/40",children:[h?.image&&(0,t.jsx)("div",{className:"absolute w-[98%] h-[98%] rounded-[24px]",children:(0,t.jsx)(a.default,{alt:h.title,src:h.image,className:"rounded-[38px] object-cover",fill:!0})}),h?.video&&(0,t.jsx)("video",{autoPlay:!0,loop:!0,className:"absolute z-10 rounded-[38px] w-[98%] h-[98%] object-cover",children:(0,t.jsx)("source",{src:h.video,type:"video/mp4"})}),(0,t.jsxs)("div",{className:"flex flex-row gap-2 left-8 bottom-8 z-20 absolute",children:[(0,t.jsxs)("span",{className:"bg-black/60 flex rounded-2xl px-3 py-1 text-white font-semibold",children:[h?.icon&&(0,t.jsx)("div",{className:"w-[20px] h-[20px] relative mr-2",children:(0,t.jsx)("div",{className:"absolute w-full h-full",children:(0,t.jsx)(a.default,{src:h.icon,className:"rounded-full object-cover",fill:!0,alt:h.title+" flag"})})}),(0,t.jsx)("span",{children:h?.title})]}),h?.iconUrl&&h.iconUrl.length>0&&(0,t.jsx)("div",{className:"bg-black/60 flex items-center justify-center text-white font-semibold rounded-2xl h-8 w-8",children:(0,t.jsx)(i.default,{href:h.iconUrl,children:(0,t.jsx)(s,{size:16,color:"white"})})})]}),(0,t.jsx)("button",{onClick:()=>f(!1),className:"z-20 absolute right-8 top-8 bg-white/30 hover:bg-white/50 rounded-full w-[30px] h-[30px]",children:(0,t.jsx)(l.X,{size:16,color:"white"})})]})}),u&&"string"==typeof u&&u.length>0&&(0,t.jsx)("div",{className:"container flex items-center justify-center pb-[80px]",children:(0,t.jsx)(i.default,{className:"border-gray-500/50 border-2 bg-primary text-white rounded-[100px] font-bold px-[32px] py-[10px] z-10",href:u,children:"Explore now"})})]})}e.s(["default",()=>d],541840)},704014,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(826595),a=e.i(69189),r=e.i(608910),i=e.i(657688);function n({src:e,mime:s,themeColor:r}){let n=(0,l.useRef)(null),o=(0,l.useRef)(null),[c,d]=(0,l.useState)(!1),u=!!s?.startsWith("video/")||!s?.startsWith("image/")&&/\.(mp4|webm|ogg|mov)(\?|$)/i.test(e??"");(0,l.useEffect)(()=>{if(!u)return;let e=n.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(d(!0),t.disconnect())},{threshold:.25}
243);return t.observe(e),()=>t.disconnect()},[u]),(0,l.useEffect)(()=>{if(!u||!c)return;let e=o.current;if(!e)return;let t=e.play();void 0!==t&&t.catch(()=>{})},[u,c]);let m={background:(0,a.lpVideoBackground)(r),boxShadow:`0 8px 24px ${(0,a.resolveLpThemeColor)(r)}1F, 0 2px 8px rgba(0, 0, 0, 0.06)`};return u?(0,t.jsx)("div",{ref:n,className:"relative aspect-video w-full overflow-hidden rounded-2xl",style:m,children:(0,t.jsx)("video",{ref:o,src:c?e:void 0,className:"absolute inset-0 h-full w-full object-cover",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,controls:!0,preload:c?"auto":"metadata","aria-label":"Hero media"})}):(0,t.jsx)("div",{ref:n,className:"relative aspect-video w-full overflow-hidden rounded-2xl",style:m,children:(0,t.jsx)(i.default,{src:e,alt:"",fill:!0,className:"object-cover",sizes:"(max-width: 1024px) 100vw, 50vw"})})}let o=[{label:"Company",items:["Startups","Enterprises","SMEs","Corporations"]},{label:"Individual",items:["CEOs, CTOs, founders","Influencers & personalities","Consultants & advisors"]}];function c({size:e=12,color:l="white"}){return(0,t.jsx)("svg",{width:e,height:Math.round(.75*e),viewBox:"0 0 12 9",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 4L4.5 7.5L11 1",stroke:l,strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function d({label:e,color:l}){return(0,t.jsx)("li",{children:(0,t.jsx)("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-3 py-1.5 text-[11px] font-medium leading-4 sm:px-3.5 sm:py-2 sm:text-xs md:text-sm",style:{color:l},children:e})})}function u({headline:e="Get Your Official Wiki Page on businessabc",subtitle:i="Get a professionally published, verified wiki-style profile on businessabc, designed to help entrepreneurs, founders, executives, brands, and businesses establish trust online and improve discoverability across search engines and AI platforms.",ctaLabel:u="Get Started Now",mediaUrl:m,mediaMime:x,tagline:h="Build Credibility. Increase Visibility. Strengthen Your Brand Authority.",backgroundColor:p,themeColor:g,ctaUrl:f="#get-started",ctaTarget:b="_self",lightText:y=!1,suitableForLabel:w="Suitable for:",tabs:v=o}){let j=y?"#FFFFFF":(0,a.resolveLpThemeColor)(g),N=y?{heading:"#FFFFFF",body:"rgba(255,255,255,0.8)",accent:j}:{heading:s.COLORS.heading,body:s.COLORS.body,accent:j},k=(0,a.lpAccentBackground)(g),C=(0,a.lpVerificationIconBackground)(g),[S,_]=(0,l.useState)(0),$=v[S]?.items??[],E=(0,r.resolveLpCtaUrl)(f);return(0,t.jsx)("section",{className:`w-full bg-white pb-6 pt-24 md:pb-8 md:pt-32 lg:pt-36 ${s.SECTION_PAGE_PADDING_X}`,style:p?{backgroundColor:p}:void 0,children:(0,t.jsx)("div",{className:"mx-auto max-w-[1520px]",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 items-start gap-8 lg:grid-cols-[minmax(0,480px)_minmax(0,1fr)] lg:gap-12 xl:grid-cols-[minmax(0,520px)_minmax(0,1fr)] xl:gap-16",children:[(0,t.jsxs)("div",{className:"w-full min-w-0",children:[(0,t.jsx)("h1",{className:"mb-4 text-[40px] font-black leading-[1.1] sm:text-[42px] sm:leading-[1.12] md:text-[44px] md:leading-[1.15] lg:text-[52px] lg:leading-[52px]",style:{color:N.heading,WebkitTextSizeAdjust:"100%"},children:e}),(0,t.jsx)("p",{className:"mb-6 text-base font-normal leading-6",style:{color:N.body},children:i}),(0,t.jsxs)("div",{className:"rounded-2xl border border-gray-100 bg-white p-3.5 sm:p-4",style:{boxShadow:"0 12px 32px rgba(17, 24, 39, 0.08), 0 2px 8px rgba(17, 24, 39, 0.04)"},children:[v.length>1&&(0,t.jsx)("div",{className:"mb-3 flex w-full overflow-hidden rounded-lg bg-gray-100",children:v.map((e,l)=>(0,t.jsx)("button",{type:"button",onClick:()=>_(l),className:`flex-1 px-3 py-2.5 text-sm font-semibold leading-5 transition-all duration-200 sm:px-4 md:text-base md:leading-6 lg:text-base lg:leading-6 ${l<v.length-1?"border-r border-white/40":""}`,style:S===l?{background:k,color:s.COLORS.white}:{backgroundColor:"transparent",color:s.COLORS.heading},children:e.label},l))}),(0,t.jsxs)("div",{className:"mb-1.5 flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full",style:{background:C},children:(0,t.jsx)(c,{size:8})}),(0,t.jsx)("p",{className:"text-base font-bold leading-6 sm:text-lg",style:{color:s.COLORS.heading},children:w})]}),(0,t.jsx)("ul",{className:"flex flex-wrap gap-2",children:$.map((e,l)=>(0,t.jsx)(d,{label:e,color:j},l))})]}),(0,t.jsx)("a",{...(0,r.lpCtaAnchorProps)(E,b),className:`mt-5 flex h-12 w-full items-center justify-center rounded-xl px-8 transition-opacity hover:opacity-90 md:h-[52px] lg:h-14 ${s.WIKI_CTA_TEXT_CLASS}`,style:{background:k,color:s.COLORS.white,boxShadow:`0 8px 20px ${(0,a.resolveLpTheme
243Color)(g)}4D`},children:u}),(m||h)&&(0,t.jsxs)("div",{className:"mt-6 lg:hidden",children:[m&&(0,t.jsx)(n,{src:m,mime:x,themeColor:g}),h&&(0,t.jsx)("p",{className:`text-center text-base font-bold leading-6 md:text-lg md:leading-7 ${m?"mt-4":""}`,style:{color:N.accent},children:h})]})]}),(m||h)&&(0,t.jsxs)("div",{className:"hidden min-w-0 w-full lg:block",children:[m&&(0,t.jsx)(n,{src:m,mime:x,themeColor:g}),h&&(0,t.jsx)("p",{className:`text-center text-base font-bold leading-6 md:text-lg md:leading-7 lg:text-[24px] lg:leading-[32px] ${m?"mt-4":""}`,style:{color:N.accent},children:h})]})]})})})}e.s(["LPHeroBanner",()=>u],704014)},239999,e=>{"use strict";var t=e.i(843476),l=e.i(271645);let s={eur_usd:{label:"EUR/USD",source:{provider:"yahoo",symbol:"EURUSD=X"}},gbp_usd:{label:"GBP/USD",source:{provider:"yahoo",symbol:"GBPUSD=X"}},usd_jpy:{label:"USD/JPY",source:{provider:"yahoo",symbol:"USDJPY=X"}},usd_chf:{label:"USD/CHF",source:{provider:"yahoo",symbol:"USDCHF=X"}},bitcoin:{label:"Bitcoin",source:{provider:"yahoo",symbol:"BTC-USD"}},ethereum:{label:"Ethereum",source:{provider:"yahoo",symbol:"ETH-USD"}},solana:{label:"Solana",source:{provider:"yahoo",symbol:"SOL-USD"}},xrp:{label:"XRP",source:{provider:"yahoo",symbol:"XRP-USD"}}
243,apple:{label:"Apple",source:{provider:"yahoo",symbol:"AAPL"}},microsoft:{label:"Microsoft",source:{provider:"yahoo",symbol:"MSFT"}},google:{label:"Alphabet",source:{provider:"yahoo",symbol:"GOOGL"}},amazon:{label:"Amazon",source:{provider:"yahoo",symbol:"AMZN"}},tesla:{label:"Tesla",source:{provider:"yahoo",symbol:"TSLA"}},nvidia:{label:"NVIDIA",source:{provider:"yahoo",symbol:"NVDA"}},gold:{label:"Gold",source:{provider:"yahoo",symbol:"GC=F"}},silver:{label:"Silver",source:{provider:"yahoo",symbol:"SI=F"}},oil:{label:"WTI Oil",source:{provider:"yahoo",symbol:"CL=F"}},sp500:{label:"S&P 500",source:{provider:"yahoo",symbol:"^GSPC"}},nasdaq:{label:"Nasdaq",source:{provider:"yahoo",symbol:"^IXIC"}},dow:{label:"Dow Jones",source:{provider:"yahoo",symbol:"^DJI"}}};["eur_usd","gbp_usd","usd_jpy","usd_chf","bitcoin","ethereum","solana","xrp","apple","microsoft","google","amazon","tesla","nvidia","gold","silver","oil","sp500","nasdaq","dow"].map(e=>({quoteKey:e,label:s[e].label}));let a=new Set(["eur_usd","gbp_usd","usd_chf"]),r=new Set(["usd_jpy"]),i=new Set(["bitcoin","ethereum","solana"]);var n=e.i(234913),o=e.i(975157);function c({quote:e,theme:l}){if(e.logoUrls?.length===2){let[s,a]=e.logoUrls;return(0,t.jsxs)("span",{className:"relative h-5 w-6 shrink-0",children:[(0,t.jsx)("img",{src:s,alt:"",className:(0,o.cn)("absolute left-0 top-0 h-3.5 w-3.5 rounded-full border object-cover",l.flagBorder)}),(0,t.jsx)("img",{src:a,alt:"",className:(0,o.cn)("absolute bottom-0 right-0 h-3.5 w-3.5 rounded-full border object-cover",l.flagBorder)})]})}return e.iconUrl?(0,t.jsx)("img",{src:e.iconUrl,alt:"",className:"h-5 w-5 shrink-0 rounded-full object-contain"}):(0,t.jsx)("span",{className:(0,o.cn)("flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-[9px] font-semibold",l.avatarFallback),children:e.label.charAt(0)})}function d({quote:e,theme:l}){var s,n,d,u,m,x;let h=(e.changePercent??0)>=0,p=!e.error&&h;return(0,t.jsx)("div",{className:(0,o.cn)("flex shrink-0 border-r px-3 py-2 min-w-[192px]",l.cellDivider),children:(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(c,{quote:e,theme:l}),(0,t.jsx)("span",{className:(0,o.cn)("truncate text-[13px] leading-tight",l.label),children:e.label}),(0,t.jsx)("span",{className:(0,o.cn)("ml-auto shrink-0 text-[13px] tabular-nums",l.price),children:e.error?(0,t.jsx)("span",{className:"inline-flex h-4 w-4 items-center justify-center rounded-full bg-[#f23645] text-[10px] text-white",children:"!"}):null==(s=e).price?"—":(n=s.id,d=s.price,a.has(n)?d.toFixed(5):r.has(n)?d.toFixed(3):"xrp"===n?d.toFixed(4):i.has(n)?d.toLocaleString("en-US",{maximumFractionDigits:0}):d.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}))})]}),!e.error&&(0,t.jsxs)("div",{className:(0,o.cn)("flex items-baseline gap-1 pl-7 tabular-nums",p?"text-[#089981]":"text-[#f23645]"),children:[(0,t.jsx)("span",{className:"text-[11px] leading-none","aria-hidden":!0,children:p?"▲":"▼"}),(0,t.jsx)("span",{className:"text-xl font-semibold leading-none tracking-tight",children:(function(e){if(null==e.changePercent)return"—";let t=e.changePercent>=0?"+":"";return`${t}${e.changePercent.toFixed(2)}%`})(e).replace(/^\+/,"")}),(0,t.jsx)("span",{className:"text-[13px] font-normal leading-none opacity-90",children:null==(u=e).change?"—":(m=u.id,x=Math.abs(u.change),a.has(m)?x.toFixed(5):r.has(m)?x.toFixed(3):"xrp"===m?x.toFixed(4):i.has(m)?x.toLocaleString("en-US",{maximumFractionDigits:0}):x.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}))})]})]})})}function u({instruments:e,initialQuotes:s,autoScroll:a=!0}){let{isLightmode:r}=(0,n.useAppContext)(),i=(0,l.useMemo)(()=>r?{section:"border-y border-gray-200 bg-gray-50 text-gray-900",cellDivider:"border-gray-200",label:"text-gray-600",price:"text-gray-900",flagBorder:"border-gray-50",avatarFallback:"bg-gray-200 text-gray-700"}:{section:"border-y border-[#2a2e39] bg-[#131722] text-white",cellDivider:"border-[#2a2e39]",label:"text-[#d1d4dc]",price:"text-[#d1d4dc]",flagBorder:"border-[#131722]",avatarFallback:"bg-white/10 text-white/90"},[r]),c=(0,l.useRef)(null),[u,m]=(0,l.useState)(35),[x,h]=(0,l.useState)(s),p=(0,l.useMemo)(()=>JSON.stringify(e),[e]);if((0,l.useEffect)(()=>{h(s)},[s]),(0,l.useEffect)(()=>{let e=!1,t=async()=>{try{let t=await fetch("/api/market-quotes",{method:"POST",headers:{"Content-Type":"application/json"},body:p,cache:"no-store"});if(!t.ok)return;let l=await t.json();!e&&Array.isArray(l.quotes)&&l.quotes.length&&h(l.quotes)}catch{}};t();let l=window.setInterval(t,15e3);return()=>{e=!0,window.clearInterval(l)}},[p]),(0,l.useEffect)(()=>
243{if(!a)return;let e=()=>{let e=c.current;if(!e)return;let t=e.scrollWidth/2;t<=0||m(Math.max(18,Math.round(t/72)))};e();let t=new ResizeObserver(e);return c.current&&t.observe(c.current),()=>t.disconnect()},[a,x]),!x.length)return null;let g=(e,l)=>(0,t.jsx)("div",{className:"flex shrink-0","aria-hidden":l||void 0,children:x.map((l,s)=>(0,t.jsx)(d,{quote:l,theme:i},`${e}-${l.id}-${s}`))});return(0,t.jsx)("section",{className:(0,o.cn)("relative w-full overflow-hidden",i.section),"aria-label":"Market ticker",children:(0,t.jsxs)("div",{ref:c,className:(0,o.cn)("flex w-max",a&&"finance-ticker-marquee hover:[animation-play-state:paused]"),style:a?{animationDuration:`${u}s`}:void 0,children:[g("a"),a?g("b",!0):null]})})}e.s(["default",()=>u],239999)},856883,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(618566),a=e.i(234913),r=e.i(557951),i=e.i(927587),n=e.i(376071),o=e.i(69786);function c({title:e,description:l,isLightmode:s,titleColor:a}){return(0,t.jsxs)("div",{className:"text-center flex flex-col w-full",children:[e&&(0,t.jsx)("p",{className:`${!a?s?"text-black":"text-white":""} text-xl lg:text-2xl font-semibold text-start mb-2 mt-2`,style:a?{color:a}:void 0,children:e}),l&&(0,t.jsx)(o.default,{html:l,className:"gap-[18px]"})]})}var d=e.i(811488),u=e.i(468757),m=e.i(107471);function x({block:e}){let{isLightmode:x}=(0,a.useAppContext)(),{user:h}=(0,r.useAuth)(),p=(0,s.useRouter)(),g=(0,s.usePathname)(),{showToast:f}=(0,i.useToast)(),[b,y]=(0,l.useState)(null),[w,v]=(0,l.useState)([]),[j,N]=(0,l.useState)({}),k=e.plans||[];l.default.useEffect(()=>{(async()=>{if(h)try{let e=await (0,m.fetchWithAuth)("/api/account/subscription/list",{method:"GET"}),t=await e.json();if(!e.ok)return void console.error("[SubscriptionCtaGrid] Failed to load subscription status",t);let l=[];Array.isArray(t.items)&&t.items.forEach(e=>{Array.isArray(e?.prices)&&e.prices.forEach(e=>{let t=e?.price_id,s=e?.stripe?.status;t&&"active"===s&&l.push(t)})}),v(l)}catch(e){console.error("[SubscriptionCtaGrid] Error loading subscription status",e)}})()},[h]),l.default.useEffect(()=>{let e=Array.from(new Set((k||[]).map(e=>e.priceId).filter(e=>"string"==typeof e&&!!e.trim())));0===e.length||(async()=>{try{let t=await fetch("/api/account/subscription/price",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({priceIds:e})}),l=await t.json();if(!t.ok)return void console.error("[SubscriptionCtaGrid] Failed to load Stripe prices",l);l?.prices&&"object"==typeof l.prices&&N(l.prices)}catch(e){console.error("[SubscriptionCtaGrid] Error loading Stripe prices",e)}})()},[k]);let C=(0,l.useCallback)(async t=>{let{priceId:l}=t;if(!l){console.error("Subscription CTA: missing priceId for plan",t.title),f("Unable to start subscription for this plan.","error");return}if(!h){let e=g||"/";p.push(`/login?redirect=${encodeURIComponent(e)}`);return}try{if(y(l),!e.productId){console.error("Subscription CTA: missing productId on block"),f("Subscription configuration error. Please try again later.","error");return}let t=await (0,m.fetchWithAuth)("/api/account/subscription/add",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({priceId:l,productId:e.productId})}),s=await t.json();if(t.ok&&s?.url){f("Redirecting to payment...","info",3e3),window.location.href=s.url;return}if(!t.ok){console.error("Subscription CTA error:",s?.error||s),f(s?.error||"Unable to process request. Try again later.","error");return}f("Subscription request processed.","success")}catch(e){console.error("Subscription CTA: failed to subscribe",e),f("Failed to update subscription. Please try again.","error")}finally{y(null)}},[e.productId,g,p,f,h]);return(0,t.jsx)("section",{className:"w-full my-4",children:(0,t.jsxs)("div",{className:"mx-4 md:mx-6",children:[(0,t.jsx)(c,{isLightmode:x,title:e.title}),e.description&&(0,t.jsx)("p",{className:"mb-2 text-sm md:text-base text-gray-400",children:e.description}),k.length>0&&(0,t.jsx)("div",{className:1===k.length?"grid grid-cols-1":2===k.length?"grid grid-cols-1 md:grid-cols-2 gap-6":"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-4 gap-6",children:k.map(e=>{let l=e.highlighted,s=b===e.priceId,a=!!e.priceId&&w.includes(e.priceId),r=j[e.priceId||""]||e.priceLabel||"",i=r,c="",m=r.indexOf("/");return -1!==m&&(i=r.slice(0,m).trim(),c=r.slice(m+1).trim()),(0,t.jsxs)("div",{className:"relative h-full",children:[!x&&(0,t.jsx)("span",{className:"pointer-events-none absolute -inset-[1px] rounded-2xl bg-gradient-to-r from-[#0040C1] via-[#3E1C96] to-[#1F235B] blur-sm op
243acity-80"}),(0,t.jsxs)("div",{className:`relative flex h-full flex-col rounded-2xl overflow-hidden bg-cover bg-center bg-no-repeat border ${x?"border-gray-300":"border-white/10"} bg-[#020617] text-white ${l?"ring-2 ring-primary":""}`,style:{backgroundImage:"url(/assets/images/footer-bg.png)"},children:[(0,t.jsx)("span",{className:"absolute inset-0 bg-black/80","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 flex h-full flex-col",children:[(0,t.jsxs)("div",{className:"relative bg-gradient-to-r from-[#0040C1] via-[#3E1C96] to-[#1F235B] px-2",children:[e.badgeLabel&&(0,t.jsx)("span",{className:"absolute left-3 top-3 inline-flex items-center justify-center text-yellow-300 drop-shadow-[0_0_10px_rgba(250,204,21,0.9)]",children:(0,t.jsx)(d.FontAwesomeIcon,{icon:u.faStar,className:"h-6 w-6"})}),(0,t.jsx)("div",{className:"flex items-center justify-center min-h-20",children:(0,t.jsx)("h3",{className:"text-xl font-semibold text-white text-center",children:e.title})})]}),(0,t.jsxs)("div",{className:"relative flex-1 flex flex-col gap-4 px-6 pt-6 pb-6",children:[a&&(0,t.jsx)("p",{className:"absolute top-4 right-6 text-sm font-semibold text-green-400 whitespace-nowrap",children:"Active subscription"}),(r||a)&&(0,t.jsxs)("div",{className:"flex items-start w-full",children:[(0,t.jsx)("div",{className:"flex-1"}),r&&(0,t.jsx)("div",{className:"flex-1 flex justify-center py-4",children:(0,t.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,t.jsx)("span",{className:"text-3xl md:text-4xl font-semibold",children:i}),c&&(0,t.jsxs)("span",{className:"text-sm md:text-base font-medium text-gray-400 whitespace-nowrap",children:["/ ",c]})]})}),(0,t.jsx)("div",{className:"flex-1"})]}),e.description&&(0,t.jsx)("p",{className:"text-gray-400 max-w-3xl",children:e.description}),e.features&&(0,t.jsx)(o.default,{html:e.features,className:"text-gray-200 html-formater prose max-w-none"})]}),!a&&(0,t.jsx)("div",{className:"mt-auto flex justify-center px-6 pb-6",children:(0,t.jsx)(n.Button,{type:"button",disabled:s,onClick:()=>{s||C(e)},className:"w-48 h-11 rounded-full text-white font-semibold text-sm disabled:opacity-60 disabled:cursor-not-allowed text-center bg-gradient-to-r from-[#4F46E5] to-[#7C3AED]",children:s?"Processing...":e.ctaLabel})})]})]})]},e.priceId||e.title)})}),e.legalNote&&(0,t.jsx)("p",{className:"mt-6 text-xs text-gray-500",children:e.legalNote})]})})}e.s(["default",()=>x],856883)},581971,e=>{"use strict";var t=e.i(843476),l=e.i(522016),s=e.i(657688),a=e.i(234913);let r=[{num:"01",label:"SUBSCRIPTION LISTING"},{num:"02",label:"SPONSORSHIP"},{num:"03",label:"AWARDS"},{num:"04",label:"ADVERTISING"}],i=["LISTING + WIKI CEO\n+ TOP 100 RANKING","WIKI COMPANY\n+ RANKING","IMMEDIATELY SHORTLISTED\nFOR AWARDS","MARKETPLACE CEO\nTRADE CORRIDORS ECOSYSTEM"],n=[{nameColor:"#9A968E",border:"rgba(244,241,234,0.09)",isGold:!1},{nameColor:"#C9A24C",border:"rgba(201,162,76,0.5)",isGold:!0},{nameColor:"#9FB6E8",border:"rgba(159,182,232,0.25)",isGold:!1}];function o({iconUrl:e,label:l}){return(0,t.jsxs)("div",{className:"flex h-full overflow-hidden",style:{background:"#0D1019",border:"1px solid rgba(244,241,234,0.08)",borderRadius:6},children:[e&&(0,t.jsx)("div",{className:"relative shrink-0",style:{width:"44%"},children:(0,t.jsx)(s.default,{src:e,fill:!0,alt:"",className:"object-cover",sizes:"160px"})}),(0,t.jsx)("div",{className:"flex items-center px-4 py-3",style:{width:e?"56%":"100%"},children:(0,t.jsx)("p",{className:"m-0 whitespace-pre-line text-[9px] md:text-[15px] uppercase leading-[1.65] tracking-[0.1em]",style:{color:"#F4F1EA"},children:l})})]})}function c({title:e,tiers:c=[],whySubscribeItems:d=[],ctaLabel:u,ctaUrl:m,ctaTarget:x}){let{appCode:h,fontClass:p,themeColor:g}=(0,a.useAppContext)(),f="world-top-ceo"===h,b=[i,["EXCLUSIVE INTERVIEW","PR OUTREACH MONTHLY","ACCESS TO AN EXCLUSIVE LEADERS INVESTMENT NETWORK"],["MAJOR MEDIA ASSETS HIGHLIGHT","1 PR OUTREACH","FEATURE VIP CEO NETWORK"]],y=c.map((e,t)=>e.featureItems.length>0?e.featureItems:(b[t]??[]).map(e=>({iconUrl:"",label:e}))),w="blank"===x?"_blank":"_self",v="blank"===x?"noopener noreferrer":void 0;return(0,t.jsx)("section",{className:`w-full py-12 px-8 lg:px-32 ${p??""}`,style:{backgroundColor:"#000"},children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"hidden lg:flex flex-col mb-5",children:[(0,t.jsx)("div",{className:"flex flex-col gap-0",style:{borderBottom:"1px solid rgba(244,241,234,0.06)"},children:e&&(0,t.jsx)("h2",{className:"m-0 mb-2 font-bold leading-[1.1] tracking-[-0.02em] whitespace-nowrap",style:{fontSize:"clamp(20px, 1.9vw, 28px)",color:g??"#F4F1EA"}
243,children:e})}),c.length>0&&(0,t.jsx)("div",{className:"flex gap-3 mt-2",children:c.map((e,a)=>{let r=n[a%n.length],i=e.highlighted||r.isGold,c=y[a]??[];return(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-2 p-3",style:{border:`3px solid ${r.nameColor}`,borderRadius:16},children:[(0,t.jsxs)("div",{className:"relative flex flex-row-reverse overflow-hidden",style:{background:"#0D1019",border:`1px solid ${r.border}`,borderRadius:10,minHeight:172,...i&&{boxShadow:"0 24px 64px -20px rgba(201,162,76,0.35)"}},children:[e.iconUrl?(0,t.jsxs)("div",{className:"relative shrink-0",style:{width:"42%"},children:[(0,t.jsx)(s.default,{src:e.iconUrl,fill:!0,alt:e.name,className:"object-cover",sizes:"280px"}),(0,t.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, transparent 55%, #0D1019 100%)"}})]}):(0,t.jsx)("div",{className:"shrink-0",style:{width:"42%",background:i?"linear-gradient(135deg, rgba(201,162,76,0.18) 0%, transparent 100%)":"linear-gradient(135deg, rgba(244,241,234,0.04) 0%, transparent 100%)"}}),(0,t.jsxs)("div",{className:"flex flex-col justify-center px-5 py-5 flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5 flex-wrap mb-0.5",children:[(0,t.jsx)("span",{className:"text-xl font-bold uppercase tracking-[0.08em]",style:{color:r.nameColor},children:e.name}),(0,t.jsx)("span",{className:"text-[10px] uppercase tracking-[0.1em]",style:{color:"gray"},children:"PACKAGE"})]}),e.includesLabel&&(0,t.jsx)("p",{className:"m-0 mb-3 text-[11px] uppercase tracking-[0.14em] font-semibold",style:{color:"gray"},children:e.includesLabel}),(0,t.jsx)("p",{className:"m-0 font-bold leading-none",style:{fontSize:"clamp(22px, 2.2vw, 32px)",color:"#F4F1EA"},children:e.price}),(0,t.jsx)("p",{className:"m-0 mt-1 text-[8px] uppercase tracking-[0.2em]",style:{color:"#3A3630"},children:e.packageLabel||"PER YEAR"}),m&&(0,t.jsx)(l.default,{href:m,target:w,rel:v,className:"mt-4 inline-block w-fit text-center text-[10px] no-underline rounded-lg py-2 px-4 font-bold uppercase tracking-[0.1em] transition-opacity hover:opacity-80",style:i?{background:"#C9A24C",color:"#0A0B0D",border:`1px solid ${g??"#C9A24C"}`}:{border:`1px solid ${g??"#F4F1EA"}`,color:g??"#F4F1EA"},children:u||`Choose ${e.name}`})]})]}),(0,t.jsx)("div",{className:"flex flex-col flex-1 gap-2",style:{minHeight:400},children:c.map((e,l)=>(0,t.jsx)("div",{className:"flex-1 min-h-0",children:(0,t.jsx)(o,{iconUrl:e.iconUrl||void 0,label:e.label})},l))})]},a)})})]}),(0,t.jsxs)("div",{className:f?"mb-3 lg:hidden":"mb-8 lg:hidden",children:[e&&(0,t.jsx)("h2",{className:"m-0 mb-2 font-bold leading-[1.1] tracking-[-0.02em]",style:{fontSize:"clamp(24px, 7vw, 32px)",color:g??"#F4F1EA"},children:e}),(0,t.jsx)("p",{className:"mb-6 text-[8px] uppercase tracking-[0.22em]",style:{color:"#3A3630"},children:"PREMIUM ACCESS. GLOBAL VISIBILITY. REAL-WORLD IMPACT."}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-2 mb-5",children:r.map(({num:e,label:l})=>(0,t.jsx)("div",{className:"flex items-center rounded-md px-3 py-3",style:{background:"#0D1019",border:"1px solid rgba(244,241,234,0.07)"},children:(0,t.jsx)("span",{className:"text-[8.5px] uppercase tracking-[0.12em]",style:{color:"#7A7570"},children:l})},e))}),c.length>0?c.map((e,a)=>{let r=n[a%n.length],i=e.highlighted||r.isGold,c=y[a]??[];return(0,t.jsxs)("div",{className:"mb-5 p-3",style:{border:`3px solid ${r.nameColor}`,borderRadius:16},children:[(0,t.jsxs)("div",{className:"relative flex overflow-hidden mb-2",style:{background:"#0D1019",border:`1px solid ${r.border}`,borderRadius:12,minHeight:172,...i&&{boxShadow:"0 24px 64px -20px rgba(201,162,76,0.35)"}},children:[e.iconUrl?(0,t.jsxs)("div",{className:"relative shrink-0",style:{width:"42%"},children:[(0,t.jsx)(s.default,{src:e.iconUrl,fill:!0,alt:e.name,className:"object-cover",sizes:"240px"}),(0,t.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, transparent 55%, #0D1019 100%)"}})]}):(0,t.jsx)("div",{className:"shrink-0",style:{width:"42%",background:i?"linear-gradient(135deg, rgba(201,162,76,0.18) 0%, transparent 100%)":"linear-gradient(135deg, rgba(244,241,234,0.04) 0%, transparent 100%)"}}),(0,t.jsxs)("div",{className:"flex flex-col justify-center px-5 py-5 flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5 flex-wrap mb-0.5",children:[(0,t.jsx)("span",{className:"text-xl font-bold uppercase tracking-[0.08em]",style:{color:r.nameColor},children:e.name}),(0,t.jsx)("span",{className:"text-[10px] uppercase tracking-[0.1em]",style:{color:"#42403C"}
243,children:"PACKAGE"})]}),e.includesLabel&&(0,t.jsx)("p",{className:"m-0 mb-3 text-[9px] uppercase tracking-[0.14em] font-semibold",style:{color:i?"#C9A24C":"#2E2C28"},children:e.includesLabel}),(0,t.jsx)("p",{className:"m-0 font-bold leading-none",style:{fontSize:"clamp(22px, 2.2vw, 32px)",color:"#F4F1EA"},children:e.price}),(0,t.jsx)("p",{className:"m-0 mt-1 text-[8px] uppercase tracking-[0.2em]",style:{color:"#3A3630"},children:e.packageLabel||"PER YEAR"}),m&&(0,t.jsx)(l.default,{href:m,target:w,rel:v,className:"mt-4 inline-block w-fit text-center text-[10px] no-underline rounded-lg py-2 px-4 font-bold uppercase tracking-[0.1em] transition-opacity hover:opacity-80",style:i?{background:"#C9A24C",color:"#0A0B0D",border:`1px solid ${g??"#C9A24C"}`}:{border:`1px solid ${g??"#F4F1EA"}`,color:g??"#F4F1EA"},children:u||`Choose ${e.name}`})]})]}),c.length>0&&(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2",style:{gridAutoRows:90},children:c.map((e,l)=>(0,t.jsx)(o,{iconUrl:e.iconUrl,label:e.label},l))})]},a)}):(0,t.jsx)("div",{className:"grid grid-cols-2 gap-2",style:{gridAutoRows:90},children:y.flat().map((e,l)=>(0,t.jsx)(o,{iconUrl:e.iconUrl||void 0,label:e.label},l))})]}),(d.length>0||m)&&(0,t.jsxs)("div",{className:f?"flex flex-col items-stretch gap-3 pt-2 sm:pt-3 lg:flex-row lg:gap-2 lg:pt-5":"flex items-stretch gap-2 pt-5",style:{borderTop:"1px solid rgba(244,241,234,0.06)"},children:[(0,t.jsx)("div",{className:f?"grid min-w-0 flex-1 grid-cols-1 gap-2 sm:grid-cols-3":"flex flex-1 gap-2",children:d.map((e,l)=>(0,t.jsxs)("div",{className:f?"flex w-full min-w-0 overflow-hidden":"flex flex-1 overflow-hidden",style:{background:"#0D1019",border:"1px solid rgba(244,241,234,0.08)",borderRadius:6,minHeight:72},children:[e.iconUrl&&(0,t.jsx)("div",{className:"relative shrink-0",style:{width:"42%"},children:(0,t.jsx)(s.default,{src:e.iconUrl,fill:!0,alt:"",className:"object-contain",sizes:"200px"})}),(0,t.jsx)("div",{className:"flex items-center px-4 py-3",style:{width:e.iconUrl?"58%":"100%"},children:(0,t.jsx)("p",{className:f?"m-0 break-words whitespace-pre-line text-[10px] font-bold uppercase leading-[1.45] tracking-[0.06em] sm:text-[11px] lg:text-[12px] lg:leading-[1.65] lg:tracking-[0.1em]":"m-0 whitespace-pre-line text-[12px] uppercase leading-[1.65] tracking-[0.1em] font-bold",style:{color:"#F4F1EA"},children:e.label})})]},l))}),m&&(0,t.jsx)(l.default,{href:m,target:w,rel:v,className:f?"inline-flex min-h-12 w-full shrink-0 items-center justify-center rounded-lg px-6 py-3 text-center text-[11px] font-bold uppercase tracking-[0.1em] no-underline transition-opacity hover:opacity-80 lg:w-auto lg:px-8 lg:py-0":"inl
243ine-flex items-center justify-center shrink-0 rounded-lg px-8 text-[11px] no-underline font-bold uppercase tracking-[0.1em] transition-opacity hover:opacity-80",style:{background:"#C9A24C",color:"#0A0B0D",border:`1px solid ${g??"#C9A24C"}`},children:u||"Subscribe Now"})]})]})})}e.s(["default",()=>c])},919220,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(653145),a=e.i(414885);function r({title:e,subtitle:r,form:i}){let[n,o]=(0,l.useState)("idle"),{register:c,handleSubmit:d,formState:{errors:u,isSubmitting:m},reset:x,watch:h}=(0,s.useForm)({defaultValues:{firstname:"",email:"",companyname:"",phone_number:"",role:"",interests:[],message:"",policy_and_privacy:!1}}),p=async e=>{try{o("idle");let{role:t,interests:l,message:s,...a}=e,r=[];t&&r.push(`<p><strong>Role:</strong> ${t}</p>`),l&&l.length>0&&r.push(`<p><strong>Areas of interest:</strong> ${l.join(", ")}</p>`);let n=r.join("");if(!(await fetch("/api/contact-form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...a,message:s,notes:n,subject:i.subject,emailTo:i.emailTo})})).ok)throw Error("Failed to submit contact form");o("success"),x({firstname:"",email:"",companyname:"",phone_number:"",role:"",interests:[],message:"",policy_and_privacy:!1}),setTimeout(()=>o("idle"),5e3)}catch(e){console.error("Error submitting contact form",e),o("error")}},g=h("policy_and_privacy");return(0,t.jsxs)("section",{className:"container mx-auto max-w-[768px] px-4 py-12",children:[(0,t.jsx)(a.default,{title:e??"",subtitle:r,color:"text-white",className:"mb-6 text-center"}),(0,t.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-black/50 p-6 shadow-lg shadow-black/30",children:["success"===n&&(0,t.jsx)("div",{className:"mb-4 rounded-md border border-emerald-500/40 bg-emerald-500/10 px-4 py-3 text-sm text-emerald-200",children:"Your message has been sent successfully."}),"error"===n&&(0,t.jsx)("div",{className:"mb-4 rounded-md border border-red-500/40 bg-red-500/10 px-4 py-3 text-sm text-red-200",children:"Something went wrong. Please try again."}),(0,t.jsxs)("form",{onSubmit:d(p),className:"space-y-4 text-sm text-white",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)("label",{htmlFor:"firstname",className:"flex items-center text-xs font-medium uppercase tracking-wide text-white/80",children:[i.firstNameInputLabel??"Full name",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)("input",{id:"firstname",type:"text",className:"h-11 w-full rounded-md border border-white/10 bg-black/40 px-3 text-sm text-white placeholder:text-white/40 focus:border-white/40 focus:outline-none focus:ring-0",...c("firstname",{required:"Full name is a required field."})}),u.firstname&&(0,t.jsx)("p",{className:"text-xs text-red-400",children:u.firstname.message})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)("label",{htmlFor:"email",className:"flex items-center text-xs font-medium uppercase tracking-wide text-white/80",children:[i.emailInputLabel??"Email",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)("input",{id:"email",type:"email",className:"h-11 w-full rounded-md border border-white/10 bg-black/40 px-3 text-sm text-white placeholder:text-white/40 focus:border-white/40 focus:outline-none focus:ring-0",...c("email",{required:"Email is a required field.",pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Please type a valid email address."}})}),u.email&&(0,t.jsx)("p",{className:"text-xs text-red-400",children:u.email.message})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)("label",{htmlFor:"companyname",className:"flex items-center text-xs font-medium uppercase tracking-wide text-white/80",children:[i.companyNameInputLabel??"Company name",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)("input",{id:"companyname",type:"text",className:"h-11 w-full rounded-md border border-white/10 bg-black/40 px-3 text-sm text-white placeholder:text-white/40 focus:border-white/40 focus:outline-none focus:ring-0",...c("companyname",{required:"Company name is a required field."})}),u.companyname&&(0,t.jsx)("p",{className:"text-xs text-red-400",children:u.companyname.message})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)("label",{htmlFor:"phone_number",className:"flex items-center text-xs font-medium uppercase tracking-wide text-white/80",children:[i.phoneNumberLabel??"Phone number",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)("input",{id:"phone_number",type:"tel",className:"h-11 w-full rounded-md border border-white/10 bg-black/40 px-3 text-sm text-white placeholder:text-white/40 focus:border-white/40 focus:outline-none focus:ring-0",...c("phone_number",{required:"Phone number is a required field.",validate:e=>e.replace(/[^0-9]/g,"").length>6||"Phone number is too short"})}),u.phone_number&&(0,t.jsx)("p",{className:"text-xs text-red-400",children:u.phone_number.message})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsxs)("label",{htmlFor:"role",className:"flex items-center text-xs font-medium uppercase tracking-wide text-white/80",children:["Role",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsxs)("select",{id:"role",className:"h-11 w-full rounded-md border border-white/10 bg-black/40 px-3 text-sm text-white focus:border-white/40 focus:outline-none focus:ring-0",...c("role",{required:"Please select your role."}),children:[(0,t.jsx)("option",{value:"",children:"Please select your role"}),["Farmer / Producer","Cooperative / Association","Financial Institution","Government / Policy Maker","NGO / Impact Organisation","Private Company","Investor","Other"].map(e=>(0,t.jsx)("option",{value:e,children:e},e))]}),u.role&&(0,t.jsx)("p",{className:"text-xs text-red-400",children:u.role.message})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-xs font-medium uppercase tracking-wide text-white/80",children:"Primary areas of interest"}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-1 sm:grid-cols-2",children:["Digital Farmer Identity","Marketplace & Services","AI Advisory & Intelligence","Financial Inclusion","Sustainability & Impact","Pilot Programs","Partnerships"].map(e=>(0,t.jsxs)("label",{className:"flex items-center gap-2 text-xs text-white/80",children:[(0,t.jsx)("input",{type:"checkbox",value:e,className:"h-4 w-4 roun
243ded border-white/20 bg-black/60 text-primary focus:ring-0",...c("interests")}),(0,t.jsx)("span",{children:e})]},e))})]})]}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("label",{htmlFor:"message",className:"flex items-center text-xs font-medium uppercase tracking-wide text-white/80",children:i.messageInputLabel??"Your message"}),(0,t.jsx)("textarea",{id:"message",rows:4,className:"w-full rounded-md border border-white/10 bg-black/40 px-3 py-2 text-sm text-white placeholder:text-white/40 focus:border-white/40 focus:outline-none focus:ring-0",...c("message")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("label",{className:"flex items-start gap-2 text-xs text-white/80",children:[(0,t.jsx)("input",{type:"checkbox",className:"mt-0.5 h-4 w-4 rounded border-white/20 bg-black/60 text-primary focus:ring-0",...c("policy_and_privacy",{validate:e=>e||"You must agree to the privacy policy."})}),(0,t.jsx)("span",{children:"I'm okay with getting emails and having that activity tracked to improve my experience."})]}),u.policy_and_privacy&&(0,t.jsx)("p",{className:"text-xs text-red-400",children:u.policy_and_privacy.message})]}),(0,t.jsx)("div",{className:"pt-2",children:(0,t.jsx)("button",{type:"submit",disabled:!g||m,className:"inline-flex w-full items-center justify-center rounded-full bg-white px-6 py-3 text-sm font-semibold text-black transition hover:bg-white/90 disabled:cursor-not-allowed disabled:opacity-60 md:w-auto",children:m?"Sending...":i.ctaLabel??"Send message"})})]})]})]})}e.s(["default",()=>r])},800931,e=>{"use strict";var t=e.i(843476),l=e.i(826595),s=e.i(334084),a=e.i(69189),r=e.i(608910);function i(e){let t=e?.trim();if(!t)return;if(t.startsWith("$"))return t;let l=Number(t.replace(/[$,]/g,""));return Number.isFinite(l)?new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(l):t}function n({children:e,className:s=""}){return(0,t.jsxs)("span",{className:`relative inline-block ${s}`,style:{color:l.COLORS.heading},children:[e,(0,t.jsx)("span",{className:"pointer-events-none absolute left-[-6%] top-1/2 h-0.5 w-[112%] -translate-y-1/2 rotate-[-12deg] rounded-full md:h-[3px]",style:{backgroundColor:"#FF3333"},"aria-hidden":"true"})]})}function o({originalPrice:e,salePrice:s,paymentLabel:a}){let r=i(e),o=i(s),c=a?.trim();return r||o||c?(0,t.jsxs)("span",{className:"inline-flex flex-wrap items-baseline gap-x-2 gap-y-1 sm:gap-x-2 md:gap-x-1.5",children:[r?(0,t.jsx)(n,{className:"font-semibold",children:r}):null,o?(0,t.jsx)("span",{className:"font-bold",style:{color:l.COLORS.successGreen},children:o}):null,c?(0,t.jsx)("span",{className:"font-semibold",children:c}):null]}):null}function c(){return(0,t.jsx)("span",{className:"mt-0.5 flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full",style:{backgroundColor:l.COLORS.successGreen},children:(0,t.jsx)("svg",{width:"10",height:"8",viewBox:"0 0 12 9",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 4L4.5 7.5L11 1",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})}let d="px-3 py-3 text-left text-[13px] font-bold leading-5 align-middle sm:px-4 md:px-6 md:text-sm md:leading-6 lg:px-8 lg:py-4 lg:text-base lg:leading-6";function u({title:e,subtitle:i,preTableText:n,ctaLabel:u,ctaUrl:m,ctaTarget:x="_self",backgroundColor:h,lightText:p=!1,themeColor:g,tableHeader1:f,tableHeader2:b,tableHeader3:y,bulletPoints:w,comparisonRows:v}){let j,N,{pricing:k}=(0,s.useCmsWikiPricing)(),C=(0,a.resolveLpThemeColor)(g),S=(j=g?.trim())?`color-mix(in srgb, ${j} 12%, white)`:l.TABLE_HIGHLIGHT_HEADER_BG,_=(N=g?.trim())?`color-mix(in srgb, ${N} 6%, white)`:l.TABLE_HIGHLIGHT_CELL_BG,$=p?l.COLORS.white:l.COLORS.heading,E=p?l.COLORS.white:l.TEXT_SUBHEAD,I=p?"rgba(255,255,255,0.85)":l.COLORS.body,A=w?.map(e=>e.trim()).filter(Boolean)??[],L=v?.filter(e=>{var t,l;return!!e.feature?.trim()||(t=e,l=k,t.showPricingBlock?l?!!(l.formattedOriginal||l.formattedPrice||t.paymentLabel?.trim()):!!t.paymentLabel?.trim():!!t.primaryValue?.trim())||!!e.secondaryValue?.trim()})??[],T=u?.trim(),R=(0,r.resolveLpCtaUrl)(m,""),P=!!f?.trim()||!!b?.trim()||!!y?.trim();return e?.trim()||i?.trim()||0!==A.length||n?.trim()||0!==L.length||T&&R?(0,t.jsx)("section",{className:`w-full py-12 md:py-16 lg:py-20 ${l.SECTION_PAGE_PADDING_X}`,style:h?{background:h}:void 0,children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1520px]",children:[e?.trim()?(0,t.jsx)("h2",{className:"text-[24px] font-black leading-[30px] md:text-[28px] md:leading-[34px] lg:text-4xl lg:leading-10",style:{color:$},children:e}):null,i?.trim()?(0,t.jsx)("p",{className:`text-base font-bold leading-6 md:text-lg md:leading-7 lg:text-xl lg:leading-[30px] ${e?.trim()?"mt-3 md:mt-4":""}`,style:{color:E},children:i}):null,A.length>0?(0,t.jsx)("ul",{className:`max-w-[896px] space-y-2.5 md:space-y-3 ${e?.trim()||i?.trim()?"mt-4 md:mt-6":""}`,children:A.map((e,l)=>(0,t.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,t.jsx)(c,{}),(0,t.jsx)("p",{className:"text-[14px] font-normal leading-[22px] md:text-[15px] md:leading-6 lg:text-base lg:leading-6",style:{color:I},children:e})]},`${e}-${l}`))}):null,n?.trim()?(0,t.jsx)("p",{className:"mt-6 text-[14px] font-bold leading-[22px] md:mt-8 md:text-[15px] md:leading-6 lg:text-base lg:leading-6",style:{color:E},children:n}):null,L.length>0?(0,t.jsx)("div",{className:`w-full overflow-x-auto overflow-y-hidden rounded-2xl bg-white lg:overflow-hidden ${n?.trim()||A.length>0||e?.trim()||i?.trim()?"mt-6 md:mt-8 lg:mt-10":""}`,style:{boxShadow:l.COMPARISON_TABLE_SHADOW},children:(0,t.jsxs)("table",{className:"w-full min-w-[520px] table-fixed border-collapse lg:min-w-0",children:[(0,t.jsxs)("colgroup",{children:[(0,t.jsx)("col",{style:{width:"34.3%"}}),(0,t.jsx)("col",{style:{width:"29.9%"}}),(0,t.jsx)("col",{style:{width:"35.8%"}})]}),P?(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{style:{backgroundColor:l.TABLE_HEADER_BG},children:[f?.trim()?(0,t.jsx)("th",{className:d,style:{color:l.COLORS.heading},children:f}):(0,t.jsx)("th",{className:d,"aria-hidden":"true"}),b?.trim()?(0,t.jsx)("th",{className:`${d} text-center`,style:{color:C,backgroundColor:S},children:b}):(0,t.jsx)("th",{className:d,"aria-hidden":"true"}),y?.trim()?(0,t.jsx)("th",{className:`${d} text-center`,style:{color:l.COLORS.heading},children:y}):(0,t.jsx)("th",{className:d,"aria-hidden":"true"})]})}):null,(0,t.jsx)("tbody",{children:L.map((e,s)=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"border-t px-3 py-2.5 text-[13px] font-medium leading-5 align-top sm:px-4 md:px-6 md:text-[14px] md:leading-[21px] lg:px-8 lg:py-[14.5px] lg:text-[15px] lg:leading-[22.5px]",style:{color:l.TEXT_SUBHEAD,borderColor:l.TABLE_BORDER},children:e.feature?.trim()??""}),(0,t.jsx)("td",{className:"border-t px-3 py-2.5 text-[13px] font-semibold leading-5 align-top sm:px-4 md:px-6 md:text-[14px] md:leading-[21px] lg:px-8 lg:py-[15.5px] lg:text-[15px] lg:font-semibold lg:leading-[22.5px]",style:{color:C,backgroundColor:_,borderColor:l.TABLE_BORDER}
243,children:e.showPricingBlock?(0,t.jsx)(o,{originalPrice:k?.formattedOriginal,salePrice:k?.formattedPrice,paymentLabel:e.paymentLabel}):e.primaryValue?.trim()??""}),(0,t.jsx)("td",{className:"border-t px-3 py-2.5 text-[13px] font-normal leading-5 align-top sm:px-4 md:px-6 md:text-[14px] md:leading-[21px] lg:px-8 lg:py-[14.5px] lg:text-[15px] lg:leading-[22.5px]",style:{color:l.COLORS.body,borderColor:l.TABLE_BORDER},children:e.secondaryValue?.trim()??""})]},`${e.feature??"row"}-${s}`))})]})}):null,T&&R?(0,t.jsx)("div",{className:"mt-8 flex justify-center lg:mt-10",children:(0,t.jsx)("a",{...(0,r.lpCtaAnchorProps)(R,x),className:`inline-flex h-11 w-fit max-w-sm items-center justify-center rounded-xl px-8 transition-opacity hover:opacity-90 sm:max-w-md md:h-[52px] lg:h-14 lg:w-auto lg:min-w-[351px] lg:px-12 ${l.WIKI_CTA_TEXT_CLASS}`,style:{background:(0,a.lpCtaBackground)(g),color:l.COLORS.white},children:T})}):null]})}):null}e.s(["LPComparisonSection",()=>u])},33146,e=>{"use strict";var t=e.i(843476),l=e.i(424083),s=e.i(54943),s=s,a=e.i(657688),r=e.i(522016),i=e.i(271645),n=e.i(234913),o=e.i(506828);function c({backgroundMedia:e={type:"video",url:""},title:c="",description:d="",autoplay:u=!0,searchPlaceholder:m="Search",onSearch:x,homePage:h=!1,tag:p,mainCtaLabel:g,mainCtaUrl:f,mainCtaTarget:b,secondaryCtaLabel:y,secondaryCtaUrl:w,secondaryCtaTarget:v,secondaryCtaIconUrl:j,iconItems:N=[],rightMedia:k,rightListTitle:C,rightListType:S="numbered",rightListItems:_=[]}){let $=(0,i.useRef)(null),{fontClass:E,paddingXClass:I,contentWidthClass:A,themeColor:L,appCode:T,basicHeroVideoSize:R}=(0,n.useAppContext)(),P="world-top-ceo"===T,O=L?.trim()||void 0,{mobileMediaClass:F,leftColumnClass:D,rightColumnClass:B}=(0,o.getBasicHeroVideoClasses)(R);if((0,i.useEffect)(()=>{$.current&&$.current.load()},[e?.url]),h){let e=`flex items-center justify-center gap-2 w-full ${P?"max-w-none sm:max-w-[450px]":"max-w-[450px]"} text-white text-sm sm:text-base font-semibold px-5 sm:px-6 py-2.5 sm:py-3 rounded-lg transition-colors ${!O?"bg-purple-600 hover:bg-purple-700":""}`,l=P?`flex items-start gap-2 font-semibold min-w-0 w-full ${!O?"text-gray-300":""}`:`flex items-start gap-2 font-semibold shrink-0 w-48 ${!O?"text-gray-300":""}`;return(0,t.jsxs)("section",{className:`relative w-full ${P?"overflow-visible xl:overflow-hidden":"overflow-hidden"} pt-[72px] lg:pt-24 ${E??""}`,children:[P?(0,t.jsx)("div",{className:"absolute inset-0 xl:hidden pointer-events-none z-0",style:{background:"radial-gradient(ellipse 100% 70% at 15% 52%, rgba(62,28,150,0.55) 0%, rgba(0,64,193,0.22) 45%, transparent 75%), linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%)"},"aria-hidden":"true"}):(0,t.jsx)("div",{className:"absolute top-0 left-0 right-0 lg:hidden pointer-events-none z-0",style:{height:"43vh",background:"linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%)"},"aria-hidden":"true"}),(0,t.jsx)("div",{className:`absolute inset-0 pointer-events-none ${P?"hidden xl:block":"hidden md:block"}`,style:{background:"radial-gradient(ellipse 32% 55% at 14% 50%, rgba(62,28,150,0.6) 0%, rgba(0,64,193,0.25) 60%, transparent 100%), linear-gradient(to right, transparent 48%, black 62%)"},"aria-hidden":"true"}),(0,t.jsxs)("div",{className:`relative z-10 ${A} ${P?"px-4 sm:px-6 lg:px-32":I} py-8 sm:py-10 lg:py-16 flex flex-col ${P?"xl:flex-row gap-4 sm:gap-4 xl:gap-3":"lg:flex-row gap-8 sm:gap-10 lg:gap-16"} items-center`,children:[(0,t.jsxs)("div",{className:`${D} flex flex-col gap-4 sm:gap-5 lg:gap-6 w-full min-w-0`,children:[p&&(0,t.jsx)("span",{className:`inline-flex items-center self-start text-[10px] sm:text-xs font-semibold tracking-widest uppercase px-3 sm:px-4 py-1 sm:py-1.5 rounded-full border ${P?"":"border-purple-400 text-purple-300"}`,style:P&&O?{borderColor:`color-mix(in srgb, ${O} 70%, white)`,color:`color-mix(in srgb, ${O} 80%, white)`}:void 0,children:p}),k?.url&&(0,t.jsx)("div",{className:`${P?"xl:hidden":"lg:hidden"} w-full flex justify-center`,children:"video"===k.type?(0,t.jsx)("video",{autoPlay:!0,loop:!0,playsInline:!0,muted:!0,className:F,preload:"metadata",children:(0,t.jsx)("source",{src:k.url,type:"video/mp4"})}):(0,t.jsx)(a.default,{src:k.url,width:800,height:800,alt:"Hero visual",className:F,sizes:"100vw",priority:!0})}),c&&(0,t.jsx)("h1",{className:P?"w-full text-white text-start text-2xl sm:text-3xl md:text-5xl xl:text-7xl leading-tight font-bold break-words":"text-white text-start text-3xl sm:text-4xl md:text-5xl lg:text-6xl xl:text-7xl leading-tight font-bold",children:c}),d&&(0,t.jsx)("p",{className:P?"w-[92%] max-w-[92%] text-gray-300 text-sm sm:text-base md:text-lg lg:text-xl leading-relaxed font-semibold xl:w-full xl:max-w-lg"
243:"text-gray-300 text-sm sm:text-base md:text-lg lg:text-xl leading-relaxed max-w-lg font-semibold",children:d}),(g||y)&&(0,t.jsxs)("div",{className:`flex flex-col sm:flex-row sm:flex-wrap gap-3 mt-2 ${P?"items-stretch sm:items-center w-full":"items-start sm:items-center"}`,children:[g&&f&&(0,t.jsxs)(r.default,{href:f,target:"blank"===b?"_blank":"_self",rel:"blank"===b?"noopener noreferrer":void 0,className:e,style:O?{backgroundColor:O}:void 0,children:[g,(0,t.jsx)("span",{"aria-hidden":"true",children:"→"})]}),y&&w&&(0,t.jsxs)(r.default,{href:w,target:"blank"===v?"_blank":"_self",rel:"blank"===v?"noopener noreferrer":void 0,className:"inline-flex items-center justify-center gap-1.5 border border-white/40 hover:border-white/70 text-white text-[10px] sm:text-xs font-semibold px-3 py-1.5 rounded-md transition-colors",children:[j&&(0,t.jsx)(a.default,{src:j,width:12,height:12,alt:"",className:"w-3 h-3 object-contain"}),y]})]}),N.length>0&&(0,t.jsx)("div",{className:P?"flex flex-col gap-3 sm:gap-4 mt-2 w-full min-w-0 max-w-none xl:max-w-md":"flex flex-nowrap gap-6 mt-2 overflow-x-auto",children:N.map((e,s)=>(0,t.jsxs)("div",{className:l,style:O?{color:`color-mix(in srgb, ${O} 55%, white)`}:void 0,children:[e.iconUrl&&!e.iconUrl.includes("placeholder")&&(0,t.jsx)(a.default,{src:e.iconUrl,width:20,height:20,alt:"",className:"w-5 h-5 object-contain shrink-0"}),(0,t.jsx)("span",{className:P?"min-w-0 break-words":void 0,children:e.label})]},s))})]}),(0,t.jsxs)("div",{className:`${B} flex flex-col gap-6 w-full min-w-0`,children:[k?.url&&("video"===k.type?(0,t.jsx)("div",{className:P?"hidden xl:block":"hidden lg:block",children:(0,t.jsx)("video",{autoPlay:!0,loop:!0,playsInline:!0,muted:!0,className:"w-full h-auto object-contain",preload:"metadata",children:(0,t.jsx)("source",{src:k.url,type:"video/mp4"})})}):(0,t.jsx)("div",{className:P?"hidden xl:block":"hidden lg:block",children:(0,t.jsx)(a.default,{src:k.url,width:800,height:800,alt:"Hero visual",className:"w-full h-auto object-contain",sizes:"(max-width: 1024px) 100vw, 50vw",priority:!0})})),(C||_.length>0)&&(0,t.jsxs)("div",{className:"p-4 sm:p-6",children:[C&&(0,t.jsx)("p",{className:"text-white text-sm sm:text-base font-semibold mb-3 sm:mb-4",children:C}),_.length>0&&("numbered"===S?(0,t.jsx)("ol",{className:"space-y-2",children:_.map((e,l)=>(0,t.jsxs)("li",{className:"flex gap-3 text-gray-300 text-xs sm:text-sm font-semibold",children:[(0,t.jsxs)("span",{className:"text-gray-500 shrink-0",children:[l+1,"."]}),(0,t.jsx)("span",{children:e})]},l))}):(0,t.jsx)("ul",{className:"space-y-2",children:_.map((e,l)=>(0,t.jsxs)("li",{className:"flex gap-3 text-gray-300 text-xs sm:text-sm font-semibold",children:[(0,t.jsx)("span",{className:"text-gray-500 shrink-0",children:"•"}),(0,t.jsx)("span",{children:e})]},l))}))]})]})]})]})}return(0,t.jsxs)("header",{className:"w-full h-[28vh] relative flex flex-col items-center justify-center",role:"banner",children:[(0,t.jsxs)("div",{className:"absolute inset-0","aria-hidden":"true",children:[e?.type==="image"&&(0,t.jsx)(a.default,{className:"object-cover",src:e.url,fill:!0,alt:e.alt||"Hero banner background",sizes:"100vw",priority:!0}),e?.type==="video"&&(0,t.jsx)("video",{ref:$,autoPlay:u,loop:!0,playsInline:!0,muted:!0,className:"w-full h-full object-cover","aria-hidden":"true",preload:"metadata",children:(0,t.jsx)("source",{src:e.url,type:"video/mp4"})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 to-transparent","aria-hidden":"true"})]}),(0,t.jsxs)("div",{className:`z-10 flex flex-col items-center gap-8 ${I} w-full ${A}`,children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h1",{className:"text-white text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight mb-4",children:c}),(0,t.jsx)("p",{className:"text-white text-sm md:text-base lg:text-lg font-medium",children:d})]}),(0,t.jsxs)("div",{className:"w-full hidden max-w-3xl relative",role:"search","aria-label":"Site search",children:[(0,t.jsx)(l.Input,{type:"search",placeholder:m,className:"h-12 pl-10 pr-4 rounded-full text-black bg-white/90 backdrop-blur-sm border-0 focus-visible:ring-2 focus-visible:ring-white w-full",onCh
243ange:e=>x?.(e.target.value),"aria-label":m}),(0,t.jsx)(s.default,{className:"absolute top-1/2 -translate-y-1/2 right-3 text-gray-900 pointer-events-none",size:20,"aria-hidden":"true"})]})]})]})}e.s(["default",()=>c],33146)},746788,e=>{"use strict";var t=e.i(843476),l=e.i(657688),s=e.i(271645),a=e.i(826595),r=e.i(69189),i=e.i(608910),n=e.i(334084);let o="#FF3333";function c(e,t,l,s,a){let r,i,n;return i=Math.floor((r=Math.max(0,Math.floor(Math.max(0,function(e,t,l,s,a){let r;if("duration"===e&&null!=a)return a;if("end_datetime"===e){let e=s?Date.parse(s):NaN;if(Number.isFinite(e))return e}return"duration"===e?t+1e3*l:Date.UTC((r=new Date(t)).getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()+1)}(t,e,l,s,a)-e)/1e3)))/3600),n=Math.floor(r%3600/60),{hours:String(i).padStart(2,"0"),minutes:String(n).padStart(2,"0"),seconds:String(r%60).padStart(2,"0")}}function d({themeColor:e,headingColor:l,badgeLabel:i,subtitle:n,countdownServerNow:d,mode:u,durationSeconds:m,endAt:x}){let h=function({countdownServerNow:e,mode:t,durationSeconds:l,endAt:a}){let r=(0,s.useMemo)(()=>{if("duration"===t&&null!=e)return e+1e3*l},[e,t,l]),i=(0,s.useRef)(r),[n,o]=(0,s.useState)(()=>null==e?null:c(e,t,l,a,r));return(0,s.useEffect)(()=>{"duration"===t&&null==i.current&&(i.current=Date.now()+1e3*l);let s=null!=e?e-Date.now():0,r=()=>{o(c(Date.now()+s,t,l,a,i.current))};r();let n=window.setInterval(r,1e3);return()=>window.clearInterval(n)},[e,t,l,a,r]),n}({countdownServerNow:d,mode:u,durationSeconds:m,endAt:x})??{hours:"--",minutes:"--",seconds:"--"};return(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-2 rounded-xl border-2 px-4 py-3.5 text-center sm:w-auto sm:shrink-0 sm:gap-2.5 sm:px-5 sm:py-4.5 sm:min-w-[180px] sm:max-w-[220px] lg:min-w-[200px] lg:max-w-[240px]",style:{borderColor:e,background:"linear-gradient(160deg, #EEF2FF 0%, #E0E7FF 45%, #DBEAFE 100%)",boxShadow:"0 10px 28px rgba(26, 60, 219, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75)"},role:"timer","aria-live":"polite","aria-label":`${i}. ${n} ${h.hours} hours, ${h.minutes} minutes, and ${h.seconds} seconds`,children:[(0,t.jsx)("span",{className:"inline-flex rounded-full px-3.5 py-1.5 text-[11px] font-bold uppercase tracking-widest text-white shadow-sm md:px-3.5 md:py-1.5 md:text-[11px] lg:text-xs",style:{background:(0,r.lpAccentBackground)(e,a.ICON_GRADIENT)},children:i}),(0,t.jsx)("p",{className:"text-[15px] font-semibold leading-5 md:text-sm lg:text-[15px]",style:{color:l},children:n}),(0,t.jsxs)("p",{className:"rounded-lg bg-white/80 px-3.5 py-2 text-[28px] font-black leading-8 tabular-nums shadow-sm md:px-3.5 md:py-2 md:text-[26px] md:leading-8 lg:text-[28px] lg:leading-9","aria-hidden":"true",children:[(0,t.jsx)("span",{style:{color:o},children:h.hours}),(0,t.jsx)("span",{className:"mx-0.5 font-bold",style:{color:l},children:":"}),(0,t.jsx)("span",{style:{color:o},children:h.minutes}),(0,t.jsx)("span",{className:"mx-0.5 font-bold",style:{color:l},children:":"}),(0,t.jsx)("span",{style:{color:o},children:h.seconds})]})]})}function u({children:e,className:l,color:s}){return(0,t.jsxs)("span",{className:`relative inline-block ${l}`,style:{color:s},children:[e,(0,t.jsx)("span",{className:"pointer-events-none absolute left-[-6%] top-1/2 h-1.5 w-[112%] -translate-y-1/2 rotate-[-12deg] rounded-full md:h-2 lg:h-2.5",style:{backgroundColor:o},"aria-hidden":"true"})]})}function m({className:e="h-2 w-2.5"}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 12 9",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 4L4.5 7.5L11 1",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function x({packageTitle:e,packageDescription:l,features:s,ctaLabel:n,ctaUrl:o,ctaTarget:c="_self",showPrice:x,showDiscount:h,price:p,originalPrice:g,savingsLabel:f,paymentLabel:b,showCountdown:y,countdownBadgeLabel:w,countdownSubtitle:v,countdownMode:j,countdownDurationSeconds:N,countdownEndAt:k,countdownServerNow:C,themeColor:S,headingColor:_,bodyColor:$,featureTextColor:E}){let I=(0,i.resolveLpCtaUrl)(o),A=n?.trim(),L=s??[],T=function({showCountdown:e,countdownMode:t,countdownDurationSeconds:l,countdownEndAt:s,countdownBadgeLabel:a,c
243ountdownSubtitle:r}){return!!e&&!!t&&!!a?.trim()&&!!r?.trim()&&("duration"===t?null!=l&&l>0:"end_datetime"!==t||!!s?.trim())}({showCountdown:y,countdownMode:j,countdownDurationSeconds:N,countdownEndAt:k,countdownBadgeLabel:w,countdownSubtitle:v});return(0,t.jsxs)("article",{className:"flex h-full w-full max-w-3xl flex-col rounded-2xl border-2 p-4 sm:p-5 md:p-8 lg:max-w-none lg:p-10",style:{borderColor:S,background:"#F8F9FF"},children:[(0,t.jsxs)("div",{className:"mb-5 lg:mb-6",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between sm:gap-5 lg:gap-6",children:[(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap sm:items-center md:gap-3",children:[e?(0,t.jsx)("h4",{className:"text-[20px] font-bold leading-7 sm:text-[22px] sm:leading-8 md:text-[24px] md:leading-9 lg:text-[28px] lg:leading-[42px]",style:{color:_},children:e}):null,!1!==x&&!1!==h&&f?(0,t.jsx)("span",{className:"w-fit rounded-full px-3 py-1 text-[11px] font-bold uppercase tracking-wide text-white md:text-xs",style:{backgroundColor:a.COLORS.successGreen},children:f}):null]}),!1!==x&&p?(0,t.jsxs)("div",{className:"mt-3 flex flex-col gap-1 md:mt-4",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-2.5 gap-y-0 sm:gap-x-3",children:[!1!==h&&g?(0,t.jsx)(u,{className:"text-[32px] font-bold leading-9 md:text-[34px] md:leading-10 lg:text-[38px] lg:leading-[44px]",color:_,children:g}):null,(0,t.jsx)("span",{className:"text-[32px] font-black leading-9 md:text-[34px] md:leading-10 lg:text-[38px] lg:leading-[44px]",style:{color:a.COLORS.successGreen},children:p})]}),b?(0,t.jsx)("span",{className:"text-[15px] font-medium leading-6 sm:text-[15px] md:text-base",style:{color:$},children:b}):null]}):null]}),T&&j?(0,t.jsx)(d,{themeColor:S,headingColor:_,badgeLabel:w.trim(),subtitle:v.trim(),countdownServerNow:C,mode:j,durationSeconds:N??0,endAt:k}):null]}),l?(0,t.jsx)("p",{className:"mt-4 text-[14px] font-medium leading-[22px] md:mt-5 md:text-[15px] md:leading-6 lg:text-base",style:{color:$},children:l}):null]}),L.length>0?(0,t.jsx)("ul",{className:"mb-6 flex-1 space-y-2.5 md:space-y-3 lg:mb-8",children:L.map((e,l)=>(0,t.jsxs)("li",{className:"flex items-start gap-2 md:gap-3",children:[(0,t.jsx)("span",{className:"mt-0.5 flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full md:h-5 md:w-5",style:{backgroundColor:a.COLORS.successGreen},children:(0,t.jsx)(m,{className:"h-2 w-2.5"})}),(0,t.jsx)("span",{className:"text-[13px] font-normal leading-5 md:text-[14px] md:leading-[21px] lg:text-[15px] lg:leading-[22.5px]",style:{color:E},children:e})]},`${l}-${e}`))}):null,A&&I?(0,t.jsx)("a",{...(0,i.lpCtaAnchorProps)(I,c),className:`flex h-11 w-full items-center justify-center rounded-xl text-white transition-opacity hover:opacity-90 md:h-12 lg:h-14 ${a.WIKI_CTA_TEXT_CLASS}`,style:{background:(0,r.lpCtaBackground)(S)},children:A}):null]})}function h(e){let{title:s,subline:i,description:o,packageTitle:c,packageDescription:d,ctaLabel:u,ctaUrl:m,ctaTarget:h="_self",badgeImageUrl:p,backgroundColor:g,lightText:f,themeColor:b,features:y,showPrice:w,showDiscount:v,paymentLabel:j,showCountdown:N,countdownBadgeLabel:k,countdownSubtitle:C,countdownMode:S,countdownDurationSeconds:_,countdownEndAt:$,countdownServerNow:E}=e,{pricing:I}=(0,n.useCmsWikiPricing)(),A=(0,r.resolveLpThemeColor)(b),L=f?a.COLORS.white:a.COLORS.heading,T=f?a.COLORS.white:A,R=a.COLORS.heading,P=a.COLORS.body,O=!1!==w,F=O?I?.formattedPrice:void 0,D=O?I?.formattedOriginal:void 0,B=O?I?.savingsLabel:void 0,M=!!c?.trim()||!!d?.trim()||(y?.length??0)>0||!!u?.trim()&&!!m?.trim()||O&&!!F;return s?.trim()||i?.trim()||o?.trim()||M||p?.trim()?(0,t.jsx)("section",{className:`w-full pt-6 pb-12 md:pt-8 md:pb-16 lg:pt-10 lg:pb-20 ${a.SECTION_PAGE_PADDING_X}`,style:g?{backgroundColor:g}:void 0,children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1520px]",children:[s?.trim()?(0,t.jsx)("h2",{className:"mb-4 text-[24px] font-black leading-[30px] md:text-[28px] md:leading-[34px] lg:text-[36px] lg:leading-[40px]",style:{color:L},children:s.trim()}):null,i?.trim()?(0,t.jsx)("p",{className:"mb-3 text-base font-medium leading-6 md:mb-2 md:text-lg md:leading-[27px]",style:{color:T},children:i.trim()}):null,o?.trim()?(0,t.jsx)("p",{className:"mb-6 max-w-3xl text-[14px] leading-[22px] md:mb-8 md:text-[15px] md:leading-6 lg:mb-10 lg:text-base lg:leading-6",style:{color:f?"rgba(255,255,255,0.85)":"#4B5563"},children:o.trim()}):null,M||p?.trim()?(0,t.jsxs)("div",{className:"flex flex-col items-center gap-8 lg:flex-row lg:items-center lg:justify-between lg:gap-10 xl:gap-14",children:[M?(0,t.jsx)("div",{className:"w-full min-w-0 lg:max-w-2xl xl:max-w-3xl",children:(0,t.jsx)(x,{packageTitle:c?.trim(),packageDescription:d?.trim(),features:y,ctaLabel:u?.trim(),ctaUrl:m?.trim(),ctaTarget:h,showPrice:O,
243showDiscount:!1!==v,price:F,originalPrice:D,savingsLabel:B,paymentLabel:j?.trim(),showCountdown:N,countdownBadgeLabel:k?.trim(),countdownSubtitle:C?.trim(),countdownMode:S,countdownDurationSeconds:_,countdownEndAt:$,countdownServerNow:E,themeColor:A,headingColor:R,bodyColor:P,featureTextColor:"#374151"})}):null,p?.trim()?(0,t.jsx)("div",{className:"flex w-full flex-shrink-0 justify-center lg:w-auto lg:justify-end",children:(0,t.jsx)(l.default,{src:p.trim(),alt:"",width:520,height:520,className:"h-auto w-full max-w-[220px] object-contain sm:max-w-[260px] lg:max-w-[300px] xl:max-w-[360px]"})}):null]}):null]})}):null}e.s(["LPWhatYouGetPackagesSection",()=>h])},227081,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(30030),a=e.i(75830),r=e.i(820783),i=e.i(981140),n=e.i(369340),o=e.i(248425),c=e.i(934620),d=e.i(296626),u=e.i(610772),m="Collapsible",[x,h]=(0,s.createContextScope)(m),[p,g]=x(m),f=l.forwardRef((e,s)=>{let{__scopeCollapsible:a,open:r,defaultOpen:i,disabled:c,onOpenChange:d,...x}=e,[h,g]=(0,n.useControllableState)({prop:r,defaultProp:i??!1,onChange:d,caller:m});return(0,t.jsx)(p,{scope:a,disabled:c,contentId:(0,u.useId)(),open:h,onOpenToggle:l.useCallback(()=>g(e=>!e),[g]),children:(0,t.jsx)(o.Primitive.div,{"data-state":N(h),"data-disabled":c?"":void 0,...x,ref:s})})});f.displayName=m;
243var b="CollapsibleTrigger",y=l.forwardRef((e,l)=>{let{__scopeCollapsible:s,...a}=e,r=g(b,s);return(0,t.jsx)(o.Primitive.button,{type:"button","aria-controls":r.contentId,"aria-expanded":r.open||!1,"data-state":N(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...a,ref:l,onClick:(0,i.composeEventHandlers)(e.onClick,r.onOpenToggle)})});y.displayName=b;var w="CollapsibleContent",v=l.forwardRef((e,l)=>{let{forceMount:s,...a}=e,r=g(w,e.__scopeCollapsible);return(0,t.jsx)(d.Presence,{present:s||r.open,children:({present:e})=>(0,t.jsx)(j,{...a,ref:l,present:e})})});v.displayName=w;var j=l.forwardRef((e,s)=>{let{__scopeCollapsible:a,present:i,children:n,...d}=e,u=g(w,a),[m,x]=l.useState(i),h=l.useRef(null),p=(0,r.useComposedRefs)(s,h),f=l.useRef(0),b=f.current,y=l.useRef(0),v=y.current,j=u.open||m,k=l.useRef(j),C=l.useRef(void 0);return l.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.useLayoutEffect)(()=>{let e=h.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();f.current=t.height,y.current=t.width,k.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),x(i)}},[u.open,i]),(0,t.jsx)(o.Primitive.div,{"data-state":N(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!j,...d,ref:p,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:j&&n})});function N(e){return e?"open":"closed"}var k=e.i(586318),C="Accordion",S=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[_,$,E]=(0,a.createCollection)(C),[I,A]=(0,s.createContextScope)(C,[E,h]),L=h(),T=l.default.forwardRef((e,l)=>{let{type:s,...a}=e;return(0,t.jsx)(_.Provider,{scope:e.__scopeAccordion,children:"multiple"===s?(0,t.jsx)(B,{...a,ref:l}):(0,t.jsx)(D,{...a,ref:l})})});T.displayName=C;var[R,P]=I(C),[O,F]=I(C,{collapsible:!1}),D=l.default.forwardRef((e,s)=>{let{value:a,defaultValue:r,onValueChange:i=()=>{},collapsible:o=!1,...c}=e,[d,u]=(0,n.useControllableState)({prop:a,defaultProp:r??"",onChange:i,caller:C});return(0,t.jsx)(R,{scope:e.__scopeAccordion,value:l.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:u,onItemClose:l.default.useCallback(()=>o&&u(""),[o,u]),children:(0,t.jsx)(O,{scope:e.__scopeAccordion,collapsible:o,children:(0,t.jsx)(z,{...c,ref:s})})})}),B=l.default.forwardRef((e,s)=>{let{value:a,defaultValue:r,onValueChange:i=()=>{},...o}=e,[c,d]=(0,n.useControllableState)({prop:a,defaultProp:r??[],onChange:i,caller:C}),u=l.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),m=l.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(R,{scope:e.__scopeAccordion,value:c,onItemOpen:u,onItemClose:m,children:(0,t.jsx)(O,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(z,{...o,ref:s})})})}),[M,U]=I(C),z=l.default.forwardRef((e,s)=>{let{__scopeAccordion:a,disabled:n,dir:c,orientation:d="vertical",...u}=e,m=l.default.useRef(null),x=(0,r.useComposedRefs)(m,s),h=$(a),p="ltr"===(0,k.useDirection)(c),g=(0,i.composeEventHandlers)(e.onKeyDown,e=>{if(!S.includes(e.key))return;let t=e.target,l=h().filter(e=>!e.ref.current?.disabled),s=l.findIndex(e=>e.ref.current===t),a=l.length;if(-1===s)return;e.preventDefault();let r=s,i=a-1,n=()=>{(r=s+1)>i&&(r=0)},o=()=>{(r=s-1)<0&&(r=i)};switch(e.key){case"Home":r=0;break;case"End":r=i;break;case"ArrowRight":"horizontal"===d&&(p?n():o());break;case"ArrowDown":"vertical"===d&&n();break;case"ArrowLeft":"horizontal"===d&&(p?o():n());break;case"ArrowUp":"vertical"===d&&o()}let c=r%a;l[c].ref.current?.focus()});return(0,t.jsx)(M,{scope:a,disabled:n,direction:c,orientation:d,children:(0,t.jsx)(_.Slot,{scope:a,children:(0,t.jsx)(o.Primitive.div,{...u,"data-orientation":d,ref:x,onKeyDown:n?void 0:g})})})}),G="AccordionItem",[W,H]=I(G),V=l.default.forwardRef((e,l)=>{let{__scopeAccordion:s,value:a,...r}=e,i=U(G,s),n=P(G,s),o=L(s),c=(0,u.useId)(),d=a&&n.value.includes(a)||!1,m=i.disabled||e.disabled;return(0,t.jsx)(W,{scope:s,open:d,disabled:m,triggerId:c,children:(0,t.jsx)(f,{"data-orientation":i.orientation,"data-state":Z(d),...o,...r,ref:l,disabled:m,open:d,onOpenChange:e=>{e?n.onItemOpen(a):n.onItemClose(a)}})})});V.displayName=G;var q="AccordionHeader",Q=l.default.forwardRef((e,l)=>{let{__scopeAccordion:s,...a}=e,r=U(C,s),i=H(q,s);return(0,t.jsx)(o.Primitive.h3,{"data-orientation":r.orientation,"data-state":Z(i.open),"data-disabled":i.disabled?"":void 0,...a,ref:l})});Q.displayName=q;var K="AccordionTrigger",X=l.default.forwardRef((e,l)=>{let{__scopeAccordion:s,...a}=e,r=U(C,s),i=H(K,s),n=F(K,s),o=L(s);return(0,t.jsx)(_.ItemSlot,{scope:s,children:(0,t.jsx)(y,{"aria-disabled":i.open&&!n.collapsible||void 0,"data-orientation":r.orientation,id:i.triggerId,...o,...a,ref:l})})});X.displayName=K;var Y="AccordionContent",J=l.default.forwardRef((e,l)=>{let{__scopeAccordion:s,...a}=e,r=U(C,s),i=H(Y,s),n=L(s);return(0,t.jsx)(v,{role:"region","aria-labelledby":i.triggerId,"data-orientation":r.orientation,...n,...a,ref:l,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Z(e){return e?"open":"closed"}J.displayName=Y;var ee=e.i(664659),et=e.i(975157),el=e.i(376071),es=e.i(727116),ea=e.i(574361);let er=l.forwardRef(({className:e,...l},s)=>(0,t.jsx)(V,{ref:s,className:(0,et.cn)("border-b",e),...l}));er.displayName="AccordionItem";let ei=l.forwardRef(({className:e,children:l,useButton:s,...a},r)=>(0,t.jsx)(Q,{className:"flex w-full justify-between items-center",children:(0,t.jsxs)(X,{ref:r,className:(0,et.cn)("group flex flex-1 text-start items-center justify-between py-4 font-medium transition-all",e),...a,children:[l,s?(0,t.jsx)(ea.default,{children:(0,t.jsxs)(el.Button,{size:"icon",variant:"border_light",asSpan:!0,children:[(0,t.jsx)(es.default,{name:"plus",className:"transition-opacity text-white duration-200 group-data-[state=open]:opacity-0 "}),(0,t.jsx)(es.default,{name:"minus",className:"transition-opacity duration-200 absolute opacity-0 group-data-[state=open]:opacity-100"})]})}):(0,t.jsx)(ee.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200 group-data-[state=open]:rotate-180"})]})}));ei.displayName=X.displayName;let en=l.forwardRef(({className:e,children:l,...s},a)=>(0,t.jsx)(J,{ref:a,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...s,children:(0,t.jsx)("div",{className:(0,et.cn)("pb-4 pt-0",e),children:l})}));en.displayName=J.displayName,e.s(["Accordion",()=>T,"AccordionContent",()=>en,"AccordionItem",()=>er,"AccordionTrigger",()=>ei],227081)},694912,e=>{"use strict";
243var t=e.i(843476),l=e.i(271645),s=e.i(657688),a=e.i(522016),r=e.i(618566),i=e.i(382373),n=e.i(135116),o=e.i(475254);let c=(0,o.default)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]),d=(0,o.default)("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"}]]);var u=e.i(870273);let m=(0,o.default)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var x=e.i(373375),h=e.i(463059),p=e.i(234913),g=e.i(163652),f=e.i(175342);let b="h-8 md:h-10",y=/\.(jpg|jpeg|png|gif|webp|svg|avif)(\?.*)?$/i;function w(e){return"new-wisdomia"===e?"goodtimes-font-family":""}function v(e){return!!(e&&!y.test(e))}function j(e,t){return!Number.isFinite(e.duration)||e.duration<=0?t:Math.min(t,Math.max(0,e.duration-.25))}let N={trending:"border-emerald-400/50 text-emerald-200 bg-emerald-950/35",new:"border-sky-400/50 text-sky-200 bg-sky-950/35",top_rated:"border-amber-400/50 text-amber-200 bg-amber-950/35",info:"border-white/30 text-white/85 bg-black/25"};function k({text:e,variant:l="info"}){let s="trending"===l?c:"new"===l?d:"top_rated"===l?u.Star:m;return(0,t.jsxs)("span",{className:`inline-flex w-fit items-center gap-1.5 rounded-full border px-2.5 py-1 text-xs font-medium md:text-sm ${N[l]}`,children:[(0,t.jsx)(s,{size:14,"aria-hidden":"true"}),e]})}function C({href:e,className:l,style:s,children:r}){let i=(0,g.useVideoWatchGateContext)();return/^https?:\/\//i.test(e)?(0,t.jsx)("a",{href:e,className:l,style:s,target:"_blank",rel:"noopener noreferrer","data-hero-interactive":!0,onClick:e=>e.stopPropagation(),children:r}):(0,t.jsx)(a.default,{href:e,className:l,style:s,"data-hero-interactive":!0,onClick:t=>{t.stopPropagation(),i&&!i.tryNavigateToVideo(e)&&t.preventDefault()},children:r})}function S({rating:e}){return(0,t.jsx)("div",{className:"w-fit rounded border border-white/35 bg-black/50 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-white md:text-xs",children:e})}function _({content:e,toggles:l,cta:a,titleFontClass:r,className:i=""}){var n;let o,c=l.showTitleLogo&&!!e.titleLogoUrl,d=l.showTitle&&!!e.title&&!c,u=[l.showSynopsis&&e.metaLine?e.metaLine:"",l.showSynopsis&&e.heroSynopsis?e.heroSynopsis:""].filter(Boolean).join(" · "),x=e.ctaTitle||a.ctaTitle,h=e.ctaUrl||a.ctaUrl,p=(n=a.ctaColor,o="inline-flex items-center rounded-full border-2 px-6 py-3 text-base font-semibold backdrop-blur-sm transition hover:opacity-90 md:px-7 md:py-3.5 md:text-xl",n?{className:`${o} border-transparent text-white`,style:{backgroundColor:n,borderColor:n}}:{className:`${o} border-white bg-white text-neutral-900 hover:bg-white/90`});return(0,t.jsxs)("div",{className:`relative w-full max-w-lg sm:max-w-xl md:max-w-2xl lg:max-w-3xl ${i}`,children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 md:gap-3",children:[l.showBrandLogo&&e.brandLogoUrl&&(0,t.jsx)("div",{className:"relative h-8 w-36 md:h-10 md:w-44",children:(0,t.jsx)(s.default,{src:e.brandLogoUrl,alt:"",fill:!0,className:"object-contain object-left",sizes:"176px"})}),l.showEyebrow&&e.eyebrow&&(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.2em] text-white/80 md:text-xs",children:e.eyebrow}),c&&e.titleLogoUrl&&(0,t.jsx)("div",{className:"relative h-24 w-full max-w-[min(100%,28rem)] sm:h-28 sm:max-w-[32rem] md:h-36 md:max-w-[40rem] lg:h-44",children:(0,t.jsx)(s.default,{src:e.titleLogoUrl,alt:e.title||"Title",fill:!0,className:"object-contain object-left",sizes:"(max-width: 640px) 448px, (max-width: 768px) 512px, 640px",priority:!0})}),d&&(0,t.jsx)("h2",{className:`text-2xl font-bold leading-tight text-white md:text-3xl lg:text-4xl ${r??""}`,children:e.title}),l.showBadge&&e.badgeText&&(0,t.jsx)(k,{text:e.badgeText,variant:e.badgeVariant}),l.showSubtitle&&e.subtitle&&(0,t.jsx)("p",{className:"text-sm md:max-w-[30vw] leading-relaxed text-white/90 md:text-base lg:text-lg line-clamp-2",children:e.subt
243itle}),u&&(0,t.jsx)("p",{className:"text-sm leading-relaxed text-white/80 md:text-base line-clamp-3",children:u}),l.showContentRating&&e.contentRating&&(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsx)(S,{rating:e.contentRating})})]}),(0,t.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-3",children:[e.watchHref?(0,t.jsxs)(C,{href:e.watchHref,className:"inline-flex min-w-[10rem] flex-col items-center justify-center text-center rounded-full border-2 border-white bg-neutral-900/80 px-6 py-3 text-white backdrop-blur-sm transition hover:bg-neutral-800 md:min-w-[12rem] md:px-7 md:py-3.5",children:[(0,t.jsx)("span",{className:"text-base font-semibold md:text-xl",children:a.watchNowLabel}),a.ctaSubtext&&(0,t.jsx)("span",{className:"mt-0.5 text-xs font-normal text-white/75 md:text-sm",children:a.ctaSubtext})]}):a.watchNowLabel&&(0,t.jsxs)("span",{className:"inline-flex min-w-[10rem] flex-col items-center justify-center text-center rounded-full border-2 border-white bg-neutral-900/80 px-6 py-3 text-white backdrop-blur-sm md:min-w-[12rem] md:px-7 md:py-3.5",children:[(0,t.jsx)("span",{className:"text-base font-semibold md:text-xl",children:a.watchNowLabel}),a.ctaSubtext&&(0,t.jsx)("span",{className:"mt-0.5 text-xs font-normal text-white/75 md:text-sm",children:a.ctaSubtext})]}),x&&h&&(0,t.jsx)(C,{href:h,className:p.className,style:p.style,children:x}),a.secondaryCtaLabel&&a.secondaryCtaUrl&&(0,t.jsxs)(C,{href:a.secondaryCtaUrl,className:"inline-flex h-12 w-12 items-center justify-center rounded-full border border-white/40 bg-black/40 text-white backdrop-blur-sm transition hover:bg-black/60 md:h-14 md:w-14",children:[(0,t.jsx)(m,{size:20,"aria-hidden":"true"}),(0,t.jsx)("span",{className:"sr-only",children:a.secondaryCtaLabel})]})]})]})}function $({slide:e,muted:a,isActive:r,shouldLoop:i,onClipEnded:n}){let o,c,d=(0,l.useRef)(null),[u,m]=(0,l.useState)(!0),{playbackUrl:x,playbackStartTime:h}=(o=v(e.previewReelUrl)?e.previewReelUrl:void 0,c=v(e.videoUrl)?e.videoUrl:void 0,{playbackUrl:o||c,playbackStartTime:o?0:Math.max(0,e.previewStartTime??0)}),p=!!x;return((0,l.useEffect)(()=>{let e=d.current;e&&(e.muted=a)},[a]),(0,l.useEffect)(()=>{let e=d.current;if(!e||!x)return;if(!r)return void e.pause();let t=!1,l=()=>{t||e.play().catch(()=>void 0)},s=()=>
243{if(t)return;if(h<=0){e.currentTime=0,l();return}let s=j(e,h),a=()=>{e.removeEventListener("seeked",a),l()};e.addEventListener("seeked",a),e.currentTime=s,.05>Math.abs(e.currentTime-s)&&(e.removeEventListener("seeked",a),l())},a=()=>{s()};return e.readyState>=HTMLMediaElement.HAVE_METADATA?s():e.addEventListener("loadedmetadata",a,{once:!0}),()=>{t=!0,e.removeEventListener("loadedmetadata",a),e.pause()}},[r,h,x,e.id]),p)?(0,t.jsx)("video",{ref:d,src:x,poster:u&&e.thumbnailUrl||void 0,className:"absolute inset-0 h-full w-full object-cover z-0",muted:a,loop:i,playsInline:!0,preload:"auto",onPlaying:()=>{m(!1)},onEnded:()=>{if(n)return void n();let e=d.current;e&&!(h<=0)&&(e.currentTime=j(e,h),e.play().catch(()=>void 0))}}):e.thumbnailUrl?(0,t.jsx)(s.default,{src:e.thumbnailUrl,alt:e.title,fill:!0,className:"object-cover z-0",sizes:"100vw",priority:!0}):(0,t.jsx)("div",{className:"absolute inset-0 bg-neutral-900"})}function E(){let{isLightmode:e}=(0,p.useAppContext)();return e?(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 z-[4] h-20",style:{background:"linear-gradient(to top, rgba(249,250,251,1) 0%, rgba(249,250,251,1) 30%, rgba(249,250,251,0.7) 60%, rgba(249,250,251,0.3) 80%, rgba(249,250,251,0) 100%)"}}):(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 z-[4] h-8 md:h-10",style:{background:"linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 55%, transparent 100%)"}})}function I(){let{isLightmode:e}=(0,p.useAppContext)();return e?(0,t.jsx)("div",{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 top-full z-20 bg-gradient-to-b from-gray-50 to-transparent ${b}`}):(0,t.jsx)("div",{"aria-hidden":!0,className:`pointer-events-none absolute inset-x-0 top-full z-20 bg-gradient-to-b from-black to-transparent ${b}`})}function A({children:e}){return(0,t.jsxs)("section",{className:"relative w-full mb-8 md:mb-10",children:[(0,t.jsxs)("div",{className:"relative overflow-hidden bg-black h-[70vh] min-h-[70vh]",children:[e,(0,t.jsx)(E,{})]}),(0,t.jsx)(I,{})]})}function L(){return(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0 z-[3]",children:[(0,t.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.72) 26%, rgba(0,0,0,0.44) 46%, rgba(0,0,0,0.14) 60%, transparent 72%)"}}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-[42%]",style:{background:"linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 38%, transparent 100%)"}}),(0,t.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to left, transparent 78%, rgba(0,0,0,0.28) 100%), linear-gradient(to top, transparent 78%, rgba(0,0,0,0.22) 100%)"}})]})}function T({headlineTitle:e,headlineSubtitle:l,watchNowLabel:s,ctaSubtext:a,secondaryCtaLabel:r,secondaryCtaUrl:i,ctaTitle:n,ctaUrl:o,ctaColor:c,brandLogoUrl:d,titleLogoUrl:u,eyebrow:m,metaLine:x,badgeText:h,badgeVariant:g,contentRating:f,showTitle:b,showSubtitle:y,showBrandLogo:v,showTitleLogo:j,showEyebrow:N,showBadge:k,showSynopsis:C,showContentRating:$,backgroundUrl:E}){let{appCode:I}=(0,p.useAppContext)(),T=w(I);return(0,t.jsx)(A,{children:(0,t.jsxs)("div",{className:"relative h-full w-full",children:[(0,t.jsx)("video",{src:E,className:"absolute inset-0 h-full w-full object-cover z-0",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto"}),(0,t.jsx)(L,{}),$&&f&&(0,t.jsx)("div",{className:"absolute bottom-[4.75rem] right-4 z-20 hidden md:block md:bottom-[5.75rem] md:right-6",children:(0,t.jsx)(S,{rating:f})}),(0,t.jsx)("div",{className:"relative z-10 flex h-full w-full items-end px-6 pb-12 pt-4 md:px-12 lg:px-16",children:(0,t.jsx)(_,{content:{title:e,subtitle:l,brandLogoUrl:d,titleLogoUrl:u,eyebrow:m,metaLine:x,badgeText:h,badgeVariant:g,contentRating:f},toggles:{showTitle:b,showSubtitle:y,showBrandLogo:v,showTitleLogo:j,showEyebrow:N,showBadge:k,showSynopsis:C,showContentRating:$},cta:{watchNowLabel:s||"",ctaSubtext:a,ctaTitle:n,ctaUrl:o,ctaColor:c,secondaryCtaLabel:r,secondaryCtaUrl:i},titleFontClass:T})})]})})}function R({duration:e,showTitle:s,showSubtitle:a,showBrandLogo:o,showTitleLogo:c,showEyebrow:d,showBadge:u,showSynopsis:m,showContentRating:g,watchNowLabel:b,ctaSubtext:y,ctaTitle:v,ctaUrl:j,ctaColor:N,secondaryCtaLabel:k,secondaryCtaUrl:C,slides:E}){let[I,T]=(0,l.useState)(0),[R,P]=(0,l.useState)(!0),{appCode:O}=(0,p.useAppContext)(),F=w(O),D=(0,r.useRouter)(),B=(0,l.useCallback)(e=>{T((e+E.length)%E.length)},[E.length]),M=(0,l.useCallback)(()=>{B(I+1)},[I,B]),U=(0,l.useCallback)(()=>{B(I-1)},[I,B]);(0,l.useEffect)(()=>
243{if(E.length<=1)return;let t=window.setTimeout(M,1e3*e);return()=>window.clearTimeout(t)},[I,e,M,E.length]);let z=E[I],G=E.length>1,W=(0,l.useCallback)(e=>{var t;!((t=e.target)instanceof Element&&t.closest("[data-hero-interactive]"))&&z.slug&&D.push((0,f.getVideoDetailPath)(z.slug))},[z.slug,D]);return(0,t.jsx)(A,{children:(0,t.jsxs)("div",{className:`relative h-full w-full ${z.slug?"cursor-pointer":""}`,onClick:W,role:z.slug?"link":void 0,"aria-label":z.slug?`View ${z.title}`:void 0,children:[E.map((e,l)=>(0,t.jsx)("div",{className:`absolute inset-0 transition-opacity duration-700 ease-in-out ${l===I?"z-[1] opacity-100":"z-0 opacity-0 pointer-events-none"}`,"aria-hidden":l!==I,children:(0,t.jsx)($,{slide:e,muted:R,isActive:l===I,shouldLoop:!G,onClipEnded:G&&l===I?M:void 0})},e.id)),(0,t.jsx)(L,{}),G&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button","data-hero-interactive":!0,onClick:e=>{e.stopPropagation(),U()},className:"absolute left-2 top-1/2 z-20 -translate-y-1/2 border-0 bg-transparent p-2 text-white transition hover:text-white/80 md:left-4 md:p-3","aria-label":"Previous slide",children:(0,t.jsx)(x.ChevronLeft,{size:36,strokeWidth:1.5,className:"md:h-10 md:w-10"})}),(0,t.jsx)("button",{type:"button","data-hero-interactive":!0,onClick:e=>{e.stopPropagation(),M()},className:"absolute right-2 top-1/2 z-20 -translate-y-1/2 border-0 bg-transparent p-2 text-white transition hover:text-white/80 md:right-4 md:p-3","aria-label":"Next slide",children:(0,t.jsx)(h.ChevronRight,{size:36,strokeWidth:1.5,className:"md:h-10 md:w-10"})})]}),(0,t.jsxs)("div",{className:"absolute bottom-5 right-4 z-20 flex flex-col items-end gap-2 md:bottom-6 md:right-6",children:[g&&z.contentRating&&(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(S,{rating:z.contentRating})}),(0,t.jsx)("button",{type:"button","data-hero-interactive":!0,onClick:e=>{e.stopPropagation(),P(e=>!e)},className:"flex h-10 w-10 items-center justify-center rounded-full border border-white/30 bg-black/40 text-white backdrop-blur-sm transition hover:bg-black/60","aria-label":R?"Unmute video":"Mute video",children:R?(0,t.jsx)(n.VolumeX,{size:18}):(0,t.jsx)(i.Volume2,{size:18})})]}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 z-10 px-6 pb-12 pt-4 md:px-12 lg:px-16",children:(0,t.jsx)(_,{content:{title:z.title,subtitle:z.subtitle,brandLogoUrl:z.brandLogoUrl,titleLogoUrl:z.titleLogoUrl,eyebrow:z.eyebrow,metaLine:z.metaLine,heroSynopsis:z.heroSynopsis,badgeText:z.badgeText,badgeVariant:z.badgeVariant,contentRating:z.contentRating,ctaTitle:z.ctaTitle,ctaUrl:z.ctaUrl,watchHref:(0,f.getVideoPlayPath)(z.slug)},toggles:{showTitle:s,showSubtitle:a,showBrandLogo:o,showTitleLogo:c,showEyebrow:d,showBadge:u,showSynopsis:m,showContentRating:g},cta:{watchNowLabel:b,ctaSubtext:y,ctaTitle:v,ctaUrl:j,ctaColor:N,secondaryCtaLabel:k,secondaryCtaUrl:C},titleFontClass:F})}),G&&(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-5 z-30 flex justify-center",role:"tablist","aria-label":"Hero carousel slides",children:(0,t.jsx)("div",{className:"pointer-events-auto flex items-center gap-2",children:E.map((e,l)=>(0,t.jsx)("button",{type:"button","data-hero-interactive":!0,onClick:e=>{e.stopPropagation(),B(l)},className:"flex h-6 w-6 shrink-0 items-center justify-center border-0 bg-transparent p-0","aria-label":`Go to slide ${l+1}`,"aria-current":l===I?"true":void 0,role:"tab",children:(0,t.jsx)("span",{"aria-hidden":"true",className:`block rounded-full transition-all duration-300 ${l===I?"h-2.5 w-6 min-h-[10px] min-w-[24px] bg-white":"h-2 w-2 min-h-[8px] min-w-[8px] bg-white/50"}`,style:{WebkitTransform:"translateZ(0)"}})},e.id))})})]})})}function P(e){return"carousel"===e.mode?e.slides.length?(0,t.jsx)(R,{...e}):null:e.backgroundUrl?(0,t.jsx)(T,{...e}):null}e.s(["default",()=>P],694912)},629401,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(618566),a=e.i(826595),r=e.i(334084),i=e.i(501477),n=e.i(889562),o=e.i(29891),o=o;let c={options_button:"pageType",name:"name",email:"email",phone:"phone",single_text:"singleText",links:"links",message:"message",interests:"interests"};function d(e){return e?.trim()??""}var u=e.i(960485);let m="w-full rounded-lg bg-white px-4 text-[14px] leading-5 text-gray-900 outline-none placeholder:text-[#9CA3AF] focus:ring-2 focus:ring-[#5b7cf7]",x=`h-11 ${m}`,h=`${m} min-h-[120px] resize-none py-3 md:min-h-[132px] lg:min-h-[144px]`;function p({title:e,required:l,labelClassName:s,labelColor:a}){return(0,t.jsxs)("label",{className:s,style:{color:a},children:[e,l?(0,t.jsx)("span",{className:"text-[#fca5a5]",children:" *"}):null]})}function g({field:e,state:l,setState:s,lightText:a,labelColor:r,helpTextClass:i,addLinkButtonClass:o,toggleContainerClass:c,defaultPhoneCountry:d}){let u="mb-1.5 block text-[13px] font-bold leading-5 md:mb-2 md:text-[14px] lg:text-[14px]",m=e.options??[];switch(e.fieldType){case"options_button":return(0,t.jsxs)("div",{children:[e.title&&(0,t.jsx)(p,{title:e.title,required:e.required,labelClassName:u,labelColor:r}),m.length>0&&(0,t.jsx)("div",{className:`flex h-11 w-full rounded-full p-1 lg:h-12 ${c}`,children:m.map(e=>{var r;return(0,t.jsx)("button",{type:"button",onClick:()=>s(t=>({...t,pageType:e.text})),className:(r=l.pageType===e.text,a?`flex-1 rounded-full py-2 text-[13px] font-semibold leading-5 transition-all md:py-2.5 md:text-[14px] lg:py-2.5 lg:text-[14px] ${r?"bg-white text-[#1a3cdb] shadow":"text-white/70 hover:text-white"}`:`flex-1 rounded-full py-2 text-[13px] font-semibold leading-5 transition-all md:py-2.5 md:text-[14px] lg:py-2.5 lg:text-[14px] ${r?"bg-[#1a3cdb] text-white shadow":"text-gray-600 hover:text-gray-900"}`),children:e.text},e.id)})})]});case"text":case"email":return(0,t.jsxs)("div",{children:[e.title&&(0,t.jsx)(p,{title:e.title,required:e.required,labelClassName:u,labelColor:r}),(0,t.jsx)("input",{type:"email"===e.fieldType?"email":"text",placeholder:e.placeholder,value:"name"===e.fieldKey?l.name??"":"email"===e.fieldKey?l.email??"":"single_text"===e.fieldKey?l.singleText??"":"",onChange:t=>{let l=t.target.value;s(t=>{switch(e.fieldKey){case"name":return{...t,name:l};case"email":return{...t,email:l};case"single_text":return{...t,singleText:l};default:return t}})},className:x,required:e.required})]});
243case"phone":{let a=l.phoneParts??{country:d,nationalNumber:""};return(0,t.jsxs)("div",{children:[e.title&&(0,t.jsx)(p,{title:e.title,required:e.required,labelClassName:u,labelColor:r}),(0,t.jsx)(n.LpPhoneInput,{country:a.country,nationalNumber:a.nationalNumber,placeholder:e.placeholder,required:e.required,onCountryChange:e=>s(t=>({...t,phoneParts:{country:e,nationalNumber:t.phoneParts?.nationalNumber??""}})),onNationalNumberChange:e=>s(t=>({...t,phoneParts:{country:t.phoneParts?.country??d,nationalNumber:e}}))})]})}case"textarea":return(0,t.jsxs)("div",{children:[e.title&&(0,t.jsx)(p,{title:e.title,required:e.required,labelClassName:u,labelColor:r}),(0,t.jsx)("textarea",{placeholder:e.placeholder,value:l.message??"",onChange:e=>s(t=>({...t,message:e.target.value})),rows:6,className:h,required:e.required})]});case"links":{let i=l.links??[""];return(0,t.jsxs)("div",{children:[e.title&&(0,t.jsx)(p,{title:e.title,required:e.required,labelClassName:u,labelColor:r}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[i.map((l,r)=>(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("input",{type:"text",placeholder:e.placeholder,value:l,onChange:e=>{let t=[...i];t[r]=e.target.value,s(e=>({...e,links:t}))},className:`flex-1 ${x}`,required:e.required&&0===r}),i.length>1&&(0,t.jsx)("button",{type:"button",onClick:()=>s(e=>({...e,links:(e.links??[]).filter((e,t)=>t!==r)})),className:`p-1 transition-colors ${a?"text-white/40 hover:text-white":"text-gray-400 hover:text-gray-700"}`,children:(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]},r)),i.length<5&&(0,t.jsxs)("button",{type:"button",onClick:()=>s(e=>({...e,links:[...e.links??[""],""]})),className:`mt-1 flex h-11 w-full items-center justify-center gap-2 rounded-lg border-2 border-dashed text-[14px] font-semibold leading-5 transition-colors ${o}`,children:[(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"})}),"Add another link"]})]})]})}case"checkboxes":return(0,t.jsxs)("div",{children:[e.title&&(0,t.jsx)(p,{title:e.title,required:e.required,labelClassName:`${u}${e.placeholder?"":" mb-3"}`,labelColor:r}),e.placeholder&&(0,t.jsx)("p",{className:`mb-3 text-[12px] leading-4 font-normal ${i}`,children:e.placeholder}),m.length>0&&(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2.5 sm:grid-cols-2 sm:gap-3 lg:gap-3",children:m.map(e=>{let i=l.selectedInterestIds?.includes(e.id)??!1;return(0,t.jsxs)("label",{className:"flex cursor-pointer items-center gap-2",children:[(0,t.jsx)("input",{type:"checkbox",checked:i,onChange:()=>s(t=>{let l=t.selectedInterestIds??[],s=l.includes(e.id)?l.filter(t=>t!==e.id):[...l,e.id];return{...t,selectedInterestIds:s}}),className:"sr-only"}),(0,t.jsx)("div",{className:`flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-[4px] border-2 transition-colors ${i?a?"border-white bg-white":"border-[#1a3cdb] bg-[#1a3cdb]":a?"border-white/40 bg-transparent":"border-gray-300 bg-white"}`,children:i&&(0,t.jsx)("svg",{className:`h-3 w-3 ${a?"text-[#1a3cdb]":"text-white"}`,fill:"none",stroke:"currentColor",strokeWidth:3,viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),(0,t.jsx)("span",{className:"text-[13px] leading-5 font-normal md:text-[14px]",style:{color:r},children:e.text})]},e.id)})})]});default:return null}}function f(e){return e?.trim()??""}function b({title:e,subtitle:m,backgroundColor:x,lightText:h=!1,darkOverlay:p=!1,formTypeId:b,notificationEmail:y,packageLabel:w,successTitle:v,successMessage:j,thankYouRedirectEnabled:N=!1,confirmEmail:k,validationErrorMessage:C,submitErrorMessage:S,formFields:_,submitLabel:$,submitLoadingLabel:E}){let I,A=(0,s.useRouter)(),{pageTitle:L}=(0,i.useLpPageContext)(),{countryCode:T,pricing:R,isFinalized:P}=(0,r.useCmsWikiPricing)(),O=(I=T?.trim().toUpperCase())&&2===I.length?I:"GB",[F,D]=(0,l.useState)(()=>(function(e){let t={links:[""],selectedInterestIds:[]};for(let l of e)switch(l.fieldKey){case"options_button":t.pageType=l.options?.[0]?.text??"";break;case"links":t.links=[""];break;case"interests":t.selectedInterestIds=[]}return t})(_)),[B,M]=(0,l.useState)(!1),[U,z]=(0,l.useState)(!1),[G,W]=(0,l.useState)(""),H={title:f(e),subtitle:f(m),background:f(x),packageLabel:f(w),successTitle:f(v),successMessage:f(j),validationErrorMessage:f(C),submitErrorMessage:f(S),submitLabel:f($),submitLoadingLabel:f(E)},V=(0,l.useMemo)(()=>(function(e){let t={};for(let l of e){let e=d(l.title);if(e)switch(l.fieldKey){case"options_button":t.pageType=e;break;case"name":t.name=e;break;case"email":t.email=e;break;case"phone":t.phone=e;break;case"single_text":t.singleText=e;break;case"links":t.links=e;break;case"message":t.message=e;break;case"interests":t.interests=e}}return t})(_),[_]),q=(0,l.useMemo)(()=>_.filter(e=>
243"left"===e.column),[_]),Q=(0,l.useMemo)(()=>_.filter(e=>"right"===e.column),[_]),K=h?a.COLORS.white:a.COLORS.heading,X=h?"text-white/60":"text-gray-500",Y=h?"text-white/50":"text-gray-500",J=h?"border-white/30 text-white/70 hover:border-white/60 hover:text-white":"border-gray-300 text-gray-600 hover:border-gray-400 hover:text-gray-900",Z=h?"bg-white/10":"bg-gray-100",ee=async e=>{e.preventDefault(),W("");let t=function(e,t,l){for(let l of e)if(l.required&&!function(e,t){switch(e.fieldKey){case"options_button":return!!d(t.pageType)||!e.options?.length;case"name":return!!d(t.name);case"email":return!!d(t.email);case"phone":return!!(t.phoneParts?(0,n.combinePhoneParts)(t.phoneParts.country,t.phoneParts.nationalNumber):d(t.phone));case"single_text":return!!d(t.singleText);case"links":return(t.links??[]).some(e=>d(e));case"message":return!!d(t.message);case"interests":return(t.selectedInterestIds?.length??0)>0||!e.options?.length;default:return!1}}(l,t))return{ok:!1};let s={pageType:d(t.pageType)||void 0,name:d(t.name)||void 0,email:d(t.email)||void 0,singleText:d(t.singleText)||void 0,message:d(t.message)||void 0,links:(t.links??[]).map(e=>d(e)).filter(Boolean),interests:void 0},a=e.find(e=>"interests"===e.fieldKey);a?.options?.length&&(s.interests=a.options.filter(e=>t.selectedInterestIds?.includes(e.id)).map(e=>e.text));let r=e.find(e=>"phone"===e.fieldKey);if(r){let e=t.phoneParts?(0,n.combinePhoneParts)(t.phoneParts.country,t.phoneParts.nationalNumber):d(t.phone);if(e){let t=function(e,t){let l=e?.trim();if(!l)return{ok:!0,e164:void 0};let s=l.trim();if(!s)return{ok:!1,error:"Phone number is required"};let a=(0,o.parsePhoneNumber)(s,t);return a?.isValid()?{ok:!0,e164:a.format("E.164")}:{ok:!1,error:"Enter a valid international phone number"}}(e,l);if(!t.ok)return{ok:!1,phoneError:t.error};t.e164&&(s.phone=t.e164)}else if(r.required)return{ok:!1,phoneError:"Phone number is required"}}return{ok:!0,values:s}}(_,F,O);
243if(!t.ok)return void(t.phoneError?W(t.phoneError):H.validationErrorMessage&&W(H.validationErrorMessage));let l=R?.formattedPrice;M(!0);try{let e=function(e){let{values:t,formFields:l,fieldLabels:s,packageLabel:a,pricingCountry:r,displayedPrice:i,formTypeId:n,notificationEmail:o,confirmEmail:d,pageTitle:u,formSectionTitle:m,successTitle:x,successMessage:h}=e;return{pageType:t.pageType,name:t.name,email:t.email,phone:t.phone,singleText:t.singleText,message:t.message,links:t.links??[],interests:t.interests??[],package:a||void 0,pricingCountry:r,displayedPrice:i,formTypeId:n,notificationEmail:o,confirmEmail:d,pageTitle:u,formSectionTitle:m,successTitle:x?.trim()||void 0,successMessage:h?.trim()||void 0,fieldLabels:s,requiredFieldKeys:l.filter(e=>e.required).map(e=>c[e.fieldKey])}}({values:t.values,formFields:_,fieldLabels:V,packageLabel:H.packageLabel,pricingCountry:T||(P?"unknown":"pending"),displayedPrice:l,formTypeId:b,notificationEmail:y,confirmEmail:f(k)||void 0,pageTitle:f(L)||void 0,formSectionTitle:H.title||void 0,successTitle:f(v)||void 0,successMessage:f(j)||void 0}),s=await fetch("/api/wiki-form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!s.ok){let e=await s.json();throw Error(e.message||H.submitErrorMessage||void 0)}let a=await s.json();if(N)return void A.push((0,u.buildThankYouPath)((0,u.parseThankYouApiResponse)(a)));z(!0)}catch(t){let e=t instanceof Error?t.message:H.submitErrorMessage;e&&W(e)}finally{M(!1)}};return(0,t.jsxs)("section",{id:"get-started",className:"relative overflow-hidden",style:{scrollMarginTop:"80px"},children:[H.background&&(0,t.jsx)("div",{className:"absolute inset-0",style:{background:H.background}}),p&&(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent","aria-hidden":"true"}),(0,t.jsxs)("div",{className:`relative z-10 mx-auto max-w-7xl py-12 md:py-14 lg:py-16 ${a.SECTION_PAGE_PADDING_X}`,children:[H.title&&(0,t.jsx)("h2",{className:"mb-2 text-center text-[24px] font-black leading-[30px] tracking-[-0.5px] md:mb-3 md:text-[28px] md:leading-[34px] md:tracking-[-0.7px] lg:text-[36px] lg:leading-[40px] lg:tracking-[-0.9px]",style:{color:K},children:H.title}),H.subtitle&&(0,t.jsx)("p",{className:`mx-auto mb-8 max-w-[687px] text-center text-[14px] font-normal leading-[22px] md:mb-10 md:text-[15px] md:leading-6 lg:mb-12 lg:text-[16px] lg:leading-6 ${X}`,children:H.subtitle}),U?(0,t.jsxs)("div",{className:"py-12 text-center md:py-16",children:[(0,t.jsx)("div",{className:"mb-6 inline-flex h-16 w-16 items-center justify-center rounded-full bg-white/10",children:(0,t.jsx)("svg",{className:"h-8 w-8 text-white",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),H.successTitle&&(0,t.jsx)("h3",{className:"mb-2 text-[20px] font-bold leading-7 md:text-[22px] md:leading-8 lg:text-[24px] lg:leading-9",style:{color:K},children:H.successTitle}),H.successMessage&&(0,t.jsx)("p",{className:`text-[14px] font-normal leading-[22px] md:text-[15px] md:leading-6 lg:text-[16px] lg:leading-6 ${X}`,children:H.successMessage})]}):(0,t.jsxs)("form",{onSubmit:ee,className:"mx-auto max-w-[1184px]",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-x-6 gap-y-5 md:grid-cols-2 md:gap-x-8 md:gap-y-6 lg:gap-x-10",children:[(0,t.jsx)("div",{className:"flex flex-col gap-2.5 md:gap-3",children:q.map(e=>(0,t.jsx)(g,{field:e,state:F,setState:D,lightText:h,labelColor:K,helpTextClass:Y,addLinkButtonClass:J,toggleContainerClass:Z,defaultPhoneCountry:O},e.id))}),(0,t.jsxs)("div",{className:"flex flex-col gap-2.5 md:gap-3",children:[Q.map(e=>(0,t.jsx)(g,{field:e,state:F,setState:D,lightText:h,labelColor:K,helpTextClass:Y,addLinkButtonClass:J,toggleContainerClass:Z,defaultPhoneCountry:O},e.id)),(H.submitLabel||H.submitLoadingLabel)&&(0,t.jsx)("button",{type:"submit",disabled:B,"aria-busy":B,className:`mt-auto flex h-11 w-full cursor-pointer items-center justify-center gap-2 rounded-lg bg-white text-[#1a3cdb] transition-all duration-200 hover:bg-gray-100 disabled:cursor-wait disabled:opacity-70 md:h-12 lg:h-14 ${a.WIKI_CTA_TEXT_CLASS}`,children:B?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{className:"h-4 w-4 animate-spin text-[#1a3cdb]/60",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8z"})]}),H.submitLoadingLabel&&(0,t.jsx)("span",{children:H.submitLoadingLabel})]}):H.submitLabel})]})]}),G&&(0,t.jsx)("p",{className:"mt-4 text-center text-[14px] leading-5 font-normal text-[#fca5a5]",children:G})]})]})]})}e.s(["LPOfficialWikiFormSection",()=>b],629401)},688466,e=>{"use strict";var t=e.i(843476),l=e.i(271645),s=e.i(96907),a=e.i(186346),r=e.i(234913),i=e.i(39609);function n(e,t,l,s,a){return"number"!=typeof a||Math.min(e.length,l*s)+t.length<a}function o({title:e,rowCount:o=3,categories:c=[],apiEndpoint:d="/api/posts",posts:u=[],totalPosts:m}){let{isLightmode:x,paddingXClass:h,contentWidthClass:p}=(0,r.useAppContext)(),[g,f]=(0,l.useState)(i.SSR_SCREEN_SIZE),[b,y]=(0,l.useState)(u),[w,v]=(0,l.useState)(0===u.length),[j,N]=(0,l.useState)(()=>(0,i.computeGridLargeItemPositions)(u,i.SSR_SCREEN_SIZE,o)),[k,C]=(0,l.useState)([]),[S,_]=(0,l.useState)([]),[$,E]=(0,l.useState)(!1),[I,A]=(0,l.useState)(m),[L,T]=(0,l.useState)(()=>n(u,[],o,(0,i.getPostsPerRow)(i.SSR_SCREEN_SIZE),m)),[R,P]=(0,l.useState)(0),[O,F]=(0,l.useState)([]);(0,l.useLayoutEffect)(()=>
243(f((0,i.resolveScreenSizeFromViewport)()),(0,i.subscribeScreenSize)(f)),[]);let D=(0,l.useMemo)(()=>(0,i.getPostsPerRow)(g),[g]);(0,l.useEffect)(()=>{u.length>0||(async()=>{v(!0);try{let e={page:1,pageSize:20,sort:["published_date:desc"]};c.length>0&&(e.categories=c);let t=await fetch(d,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return void y([]);let l=await t.json(),s=l.items||[];y(s),"number"==typeof l.pagination?.total&&A(l.pagination.total);let a=Math.ceil(s.length/D);N((0,i.computeGridLargeItemPositions)(s,g,a))}catch(e){console.error("Error fetching random post rows:",e),y([])}finally{v(!1)}})()},[d,c,o,D,u.length]),(0,l.useEffect)(()=>{if(!b.length)return void N([]);let e=Math.ceil(b.length/D);N((0,i.computeGridLargeItemPositions)(b,g,e))},[b,D,g]),(0,l.useEffect)(()=>{T(n(b,k,o,D,I))},[b,k,o,D,I]);let B=(0,l.useCallback)(async()=>{E(!0);let e=4*D,t=new Set([...b.map(e=>e.slug),...k.map(e=>e.slug)]),l=[...O],s=R,a=!0;0===s&&(s=Math.floor((b.length+k.length)/e));try{let r=async t=>{let l={page:t,pageSize:e,sort:["published_date:desc"]};c.length>0&&(l.categories=c);let s=await fetch(d,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!s.ok)throw Error(`API error: ${s.status}`);return s.json()};for(;l.length<e&&a;){s++;let i=await r(s);if(!i?.items?.length){a=!1;break}let n=new Set([...t,...l.map(e=>e.slug)]),o=i.items.filter(e=>!n.has(e.slug));l.push(...o),i.items.length<e&&(a=!1)}let u=l.slice(0,e),m=l.slice(e);if(0===u.length)T(!1);else{C(e=>[...e,...u]),F(m),P(s);let t=Math.ceil(u.length/D);_(e=>[...e,...Array.from({length:t},(t,l)=>{let s=l*D,a=Math.min(D,Math.max(0,u.length-s)),r=u.slice(s,s+a).map(e=>e.slug).join("|");return(0,i.getDeterministicLargeItemPosition)(e.length+l,r,Math.max(0,a-1))})]);let l=[...k,...u],r=a||m.length>=e;T(r&&n(b,l,o,D,I))}}catch(e){console.error("Error loading more posts:",e)}finally{E(!1)}},[d,c,k,R,O,b,D,o,I]);if(w&&0===b.length)return(0,t.jsxs)("div",{className:`w-full z-10 mt-8 ${x?"text-black":"text-white"}`,children:[e&&(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)("h2",{className:`text-xl lg:text-2xl font-bold ${x?"text-black":"text-white"}`,children:e})}),(0,t.jsxs)("div",{className:"flex items-center justify-center py-10",children:[(0,t.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-2 border-white/20 border-t-white"}),(0,t.jsx)("span",{className:"ml-3 text-white/70",children:"Loading posts…"})]})]});if(0===b.length)return null;let M=Math.min(o,Math.ceil(b.length/D));return(0,t.jsxs)("div",{className:`${p} w-full ${h} z-10 my-4 ${x?"text-black":"text-white"}`,children:[e&&(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("h2",{className:`text-xl lg:text-2xl font-semibold ${x?"text-black":"text-white"}`,children:e})}),Array.from({length:M},(e,l)=>{let a=l*D,r=b.slice(a,a+D);if(0===r.length)return null;let i=void 0!==j[l]?j[l]:0;return(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4 mb-4",children:r.map((e,a)=>(0,t.jsx)("div",{className:a===i?"col-span-1 md:col-span-2 xl:col-span-2":"col-span-1",children:(0,t.jsx)(s.default,{post:e})},`random-post-${l}-${a}`))},`random-row-${l}`)}),k.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden md:block",children:Array.from({length:Math.ceil(k.length/D)},(e,l)=>{let a=l*D,r=k.slice(a,a+D);if(0===r.length)return null;let i=S[l]??0,n=i>=r.length?0:i;return(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4 mb-4",children:r.map((e,a)=>(0,t.jsx)("div",{className:a===n?"col-span-1 md:col-span-2 xl:col-span-2":"col-span-1",children:(0,t.jsx)(s.default,{post:e})},`extra-post-${l}-${a}`))},`extra-row-${l}`)})}),(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:k.map((e,l)=>(0,t.jsx)("div",{className:"col-span-1",children:(0,t.jsx)(s.default,{post:e})},`mobile-extra-${l}`))})})]}),L&&b.length>0&&(0,t.jsx)("div",{className:"mt-4 mb-4",children:(0,t.jsx)(a.default,{size:"sm",href:"#",onClick:B,disabled:$,text:$?"Loading...":"Load More"})})]})}e.s(["default",()=>o])},511883,e=>{"use strict";
243var t=e.i(843476),l=e.i(271645),s=e.i(657688),a=e.i(522016),r=e.i(618566),i=e.i(811488),n=e.i(999763),o=e.i(468757),c=e.i(234913);function d({initialItems:e=[],initialTotal:d=0,initialPage:u=1}){let{isLightmode:m}=(0,c.useAppContext)(),x=(0,r.useRouter)(),h=e.length>0,p=(0,l.useRef)(h),[g,f]=(0,l.useState)(u),[b,y]=(0,l.useState)(e),[w,v]=(0,l.useState)(d),[j,N]=(0,l.useState)(!h);(0,l.useEffect)(()=>{if(p.current){p.current=!1;return}let e=!1;return(async()=>{N(!0);try{let t=await fetch("/api/influencers/top?page=1&perPage=100",{cache:"no-store"});if(!t.ok)throw Error(`HTTP ${t.status}`);let l=await t.json();e||(y(l.items||[]),v(l.pagination?.total||0),f(l.pagination?.page||1))}catch(e){console.error("Failed to load influencers:",e)}finally{e||N(!1)}})(),()=>{e=!0}},[]);let k=async()=>{let e=g+1;try{N(!0);let t=await fetch(`/api/influencers/top?page=${e}&perPage=100`,{cache:"no-store"});if(!t.ok)throw Error(`HTTP ${t.status}`);let l=await t.json();y(e=>[...e,...l.items||[]]),f(l.pagination?.page||e)}catch(e){console.error("Failed to load more influencers:",e)}finally{N(!1)}};return(0,t.jsx)("div",{className:"w-full overflow-x-auto",children:(0,t.jsxs)("section",{itemScope:!0,itemType:"https://schema.org/Person",className:`mt-5 mb-5 container mx-auto ${m?"text-black":"text-white"}`,children:[(0,t.jsxs)("table",{className:"min-w-full border-collapse text-sm md:text-base",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:`border-b text-left ${m?"border-gray-200 text-gray-600":"border-white/10 text-white/70"}`,children:[(0,t.jsx)("th",{className:"py-3 pr-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"uppercase tracking-wide text-xs",children:"Rank"}),(0,t.jsxs)("div",{className:`flex flex-col text-xs ${m?"text-gray-500":"text-white/50"}`,children:[(0,t.jsx)("button",{type:"button",onClick:()=>{y(e=>[...e].sort((e,t)=>(e.rank||0)-(t.rank||0)))},className:"hover:text-white",children:(0,t.jsx)(i.FontAwesomeIcon,{icon:o.faAngleUp})}),(0,t.jsx)("button",{type:"button",onClick:()=>{y(e=>[...e].sort((e,t)=>(t.rank||0)-(e.rank||0)))},className:"hover:text-white",children:(0,t.jsx)(i.FontAwesomeIcon,{icon:o.faAngleDown})})]})]})}),(0,t.jsx)("th",{className:"py-3 pr-4",children:"Name"}),(0,t.jsx)("th",{className:"py-3 pr-4",children:"Bio"}),(0,t.jsx)("th",{className:"py-3 pr-4",children:"Country"}),(0,t.jsx)("th",{className:"py-3 pr-4",children:"Social Presence"})]})}),(0,t.jsx)("tbody",{children:b.length?b.map((e,l)=>(0,t.jsxs)("tr",{className:`border-b last:border-0 cursor-pointer ${m?"border-gray-100":"border-white/5"}`,onClick:()=>x.push(`/wiki/${e.slug}`),children:[(0,t.jsx)("td",{className:"py-3 pr-4 align-top",children:(0,t.jsx)("span",{className:`font-semibold ${m?"text-black":"text-white"}`,children:e.rank??"-"})}),(0,t.jsx)("td",{className:"py-3 pr-4 align-top",children:(0,t.jsx)(a.default,{href:`/wiki/${e.slug}`,children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:`relative w-16 h-16 rounded overflow-hidden flex-shrink-0 ${m?"bg-gray-100":"bg-black/40"}`,children:(0,t.jsx)(s.default,{src:e.feature_image||"https://hel1.your-objectstorage.com/ztudium-cms/post_placeholder_d23a2725c7.jpg",alt:e.title,fill:!0,className:"object-cover"})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{itemProp:"name",className:`font-semibold uppercase ${m?"text-black":"text-white"}`,children:e.title}),e.occupation&&(0,t.jsx)("span",{itemProp:"jobTitle",className:`text-xs ${m?"text-gray-500":"text-white/60"}`,children:e.occupation})]})]})})}),(0,t.jsx)("td",{className:"py-3 pr-4 align-top",itemProp:"description",children:e.known_for||e.summary||e.description||"-"}),(0,t.jsx)("td",{className:"py-3 pr-4 align-top",children:(0,t.jsx)("span",{itemProp:"nationality",children:e.residence||e.nationality||"-"})}),(0,t.jsx)("td",{className:"py-3 pr-4 align-top",onClick:e=>e.stopPropagation(),children:(0,t.jsxs)("div",{className:`flex gap-3 ${m?"text-gray-500":"text-white/60"}`,children:[e.linkedin_url&&(0,t.jsx)("a",{itemProp:"sameAs",href:e.linkedin_url,target:"_blank",rel:"noopener noreferrer",className:"hover:text-white",children:(0,t.jsx)(i.FontAwesomeIcon,{icon:n.faLinkedinIn,size:"lg"})}),e.facebook_url&&(0,t.jsx)("a",{itemProp:"sameAs",href:e.facebook_url,target:"_blank",rel:"noopener noreferrer",className:"hover:text-white",children:(0,t.jsx)(i.FontAwesomeIcon,{icon:n.faFacebookF,size:"lg"})}),e.instagram_url&&(0,t.jsx)("a",{itemProp:"sameAs",href:e.instagram_url,target:"_blank",rel:"noopener noreferrer",className:"hover:text-white",children:(0,t.jsx)(i.FontAwesomeIcon,{icon:n.faInstagram,size:"lg"})}),e.twitter_url&&(0,t.jsx)("a",{itemProp:"sameAs",href:e.twitter_url,target:"_blank",rel:"noopener noreferrer",className:"hover:text-white",children:(0,t.jsx)(i.FontAwesomeIcon,{icon:n.faXTwitter,size:"lg"})})]})})]},e.id??l)):(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:5,className:`py-6 text-center ${m?"text-gray-500":"text-white/60"}`,children:j?"Loading...":"No results found"})})})]}),b.length<w&&(0,t.jsx)("div",{className:"flex justify-center mt-6",children:(0,t.jsx)("button",{type:"button",onClick:k,className:`px-4 py-2 rounded border text-sm md:text-base transition-colors ${m?"border-gray-300 text-gray-800 hover:bg-gray-100":"border-white/20 text-white/80 hover:bg-white/10"}`,children:j?"Loading...":"Load more"})})]})})}e.s(["default",()=>d])},106706,e=>{"use strict";
243var t=e.i(843476),l=e.i(271645),s=e.i(657688),a=e.i(522016),r=e.i(234913);function i({initialItems:e=[],initialTotal:i=0,initialPage:n=1}){let{isLightmode:o}=(0,r.useAppContext)(),c=e.length>0,d=(0,l.useRef)(c),[u,m]=(0,l.useState)(n),[x,h]=(0,l.useState)(e),[p,g]=(0,l.useState)(i),[f,b]=(0,l.useState)(!c);(0,l.useEffect)(()=>{if(d.current){d.current=!1;return}let e=!1;return(async()=>{b(!0);try{let t=await fetch("/api/companies/top?page=1&perPage=100",{cache:"no-store"});if(!t.ok)throw Error(`HTTP ${t.status}`);let l=await t.json();e||(h(l.items||[]),g(l.pagination?.total||0),m(l.pagination?.page||1))}catch(e){console.error("Failed to load companies:",e)}finally{e||b(!1)}})(),()=>{e=!0}},[]);let y=async()=>{let e=u+1;try{b(!0);let t=await fetch(`/api/companies/top?page=${e}&perPage=100`,{cache:"no-store"});if(!t.ok)throw Error(`HTTP ${t.status}`);let l=await t.json();h(e=>[...e,...l.items||[]]),m(l.pagination?.page||e)}catch(e){console.error("Failed to load more companies:",e)}finally{b(!1)}};return(0,t.jsx)("div",{className:"w-full overflow-x-auto",children:(0,t.jsxs)("section",{className:`mt-5 mb-5 container mx-auto ${o?"text-black":"text-white"}`,children:[(0,t.jsxs)("table",{className:"min-w-full border-collapse text-sm md:text-base",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:`border-b text-left ${o?"border-gray-200 text-gray-600":"border-white/10 text-white/70"}`,children:[(0,t.jsx)("th",{className:"py-3 pr-4",children:"Rank"}),(0,t.jsx)("th",{className:"py-3 pr-4",children:"Name"}),(0,t.jsx)("th",{className:"py-3 pr-4",children:"Market Cap"}),(0,t.jsx)("th",{className:"py-3 pr-4",children:"Country"})]})}),(0,t.jsx)("tbody",{children:x.length?x.map((e,l)=>(0,t.jsxs)("tr",{className:`border-b last:border-0 ${o?"border-gray-100":"border-white/5"}`,children:[(0,t.jsx)("td",{className:"py-3 pr-4 align-top",children:(0,t.jsx)("span",{className:`font-semibold ${o?"text-black":"text-white"}`,children:null!=e.market_cap_rank&&e.market_cap_rank<0x7fffffff?e.market_cap_rank:"-"})}),(0,t.jsx)("td",{className:"py-3 pr-4 align-top",children:(0,t.jsx)(a.default,{href:`/wiki/${e.slug}`,children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:`relative w-16 h-16 rounded overflow-hidden flex-shrink-0 ${o?"bg-gray-100":"bg-black/40"}`,children:(0,t.jsx)(s.default,{src:e.featureImageSmall||e.featureImage||"https://hel1.your-objectstorage.com/ztudium-cms/post_placeholder_d23a2725c7.jpg",alt:e.title,fill:!0,className:"object-cover"})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:`font-semibold uppercase ${o?"text-black":"text-white"}`,children:e.title}),e.traded_as&&(0,t.jsx)("span",{className:`text-xs ${o?"text-gray-500":"text-white/60"}`,children:e.traded_as})]})]})})}),(0,t.jsx)("td",{className:"py-3 pr-4 align-top",children:(e=>{if(null==e||""===e)return"-";let t="number"==typeof e?e:Number(String(e).replace(/,/g,""));return Number.isFinite(t)?t>=1e12?(t/1e12).toFixed(4).replace(/\.0+$/,"")+" T":t>=1e9?(t/1e9).toFixed(2).replace(/\.0+$/,"")+" B":t>=1e6?(t/1e6).toFixed(2).replace(/\.0+$/,"")+" M":t>=1e3?(t/1e3).toFixed(2).replace(/\.0+$/,"")+" k":t.toString():String(e)})(e.market_cap)}),(0,t.jsx)("td",{className:"py-3 pr-4 align-top",children:e.market_cap_country_code||e.market_cap_country?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[e.market_cap_country_code&&(0,t.jsx)("img",{src:`https://flagsapi.com/${e.market_cap_country_code}/shiny/64.png`,alt:e.market_cap_country||"",className:"w-5 h-5 object-contain",loading:"lazy"}),(0,t.jsx)("span",{children:e.market_cap_country||""})]}):"-"})]},e.id??l)):(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:4,className:`py-6 text-center ${o?"text-gray-500":"text-white/60"}`,children:f?"Loading...":"No results found"})})})]}),x.length<p&&(0,t.jsx)("div",{className:"flex justify-center mt-6",children:(0,t.jsx)("button",{type:"button",onClick:y,className:`px-4 py-2 rounded border text-sm md:text-base transition-colors ${o?"border-gray-300 text-gray-800 hover:bg-gray-100":"border-white/20 text-white/80 hover:bg-white/10"}`,children:f?"Loading...":"Load more"})})]})})}e.s(["default",()=>i])},379396,e=>{"use strict";
243var t=e.i(843476),l=e.i(271645),s=e.i(657688),a=e.i(522016),r=e.i(60475),i=e.i(826595),n=e.i(69189),o=e.i(608910);let c=["individuals","companies","websites"];function d(e){return"string"==typeof e&&c.includes(e)}let u=[{id:"validate",label:"Validating URL"},{id:"crawl",label:"Crawling your homepage"},{id:"technical",label:"Checking technical readiness"},{id:"content",label:"Analyzing content signals"},{id:"search",label:"Testing Google AI visibility"},{id:"finalize",label:"Calculating your score"}],m=[{id:"validate",label:"Validating name"},{id:"search",label:"Testing Google AI Mode visibility"},{id:"finalize",label:"Calculating your score"}];var x=e.i(292154);let h="Get listed in business directories, like the Businessabc Global Business Directory",p={individuals:[h,"Post consistently on social media so AI crawlers have fresh signals to reference.","Publish guest posts and answer on forums (LinkedIn, Medium, Quora, Reddit) for citable third-party sources.","Keep your name, bio, and links consistent everywhere to reduce ambiguity for AI models.","Get quoted or featured in credible press and industry publications for stronger citations.","Maintain an up-to-date LinkedIn profile with clear role, expertise, and achievements.","Speak at events or podcasts; transcripts become citable sources for AI models."],companies:[h,"Keep your company name, logo, and description consistent across platforms, and claim your Google Business Profile and industry listings.","Publish press releases and company news on credible media outlets for AI citation signals.","Ensure your About page, team bios, and product pages use structured data (Organization schema).","Publish case studies, whitepapers, or research that establishes topical authority.","Encourage customer reviews on trusted platforms; AI models use them as trust signals."],websites:[h,"Add structured data (schema markup) to your website so AI systems can parse your details accurately.","Keep page titles, meta descriptions, and canonical URLs consistent across your site.","Publish llms.txt and allow AI crawlers in robots.txt so models can discover your best content.","Create clear, topic-focused content pages that answer common questions in your niche.","Improve site speed and mobile usability; technical health affects crawlability.","Keep your business name, address, and contact details consistent in site footer and schema."]},g=["Structured, machine-readable profile","High-quality backlink from a DR 80+ site","Verification badge, 1 year placement"],f=[{id:"mastercard",src:"https://hel1.your-objectstorage.com/ztudium-cms/Mastercard_logo_b0cd0cb7cb.png",alt:"Mastercard"},{id:"microsoft",src:"https://hel1.your-objectstorage.com/ztudium-cms/Microsoft_logo_white_d1b07c9cdf.png",alt:"Microsoft"},{id:"nvidia",src:"https://hel1.your-objectstorage.com/ztudium-cms/Nvidia_logo_white_128126f28a.png",alt:"Nvidia"},{id:"aws",src:"https://hel1.your-objectstorage.com/ztudium-cms/AWS_logo_white_aa0d16ca9c.png",alt:"AWS"},{id:"ibm",src:"https://hel1.your-objectstorage.com/ztudium-cms/IBM_logo_7f2ea20c65.png",alt:"IBM"}];function b({className:e}){return(0,t.jsx)("svg",{viewBox:"0 0 16 16",className:e,fill:"none","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M3.5 8.2 6.2 11l6.3-6.3",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"})})}function y({category:e,ctaUrl:l,ctaTitle:r="Get My Businessabc AI Visibility ID",ctaColor:i="#2563eb",ctaTarget:n="_self"}){let o=!!l?.trim(),c=p[e]??p.websites;return(0,t.jsxs)("div",{className:"mt-5 min-w-0 max-w-full text-left",children:[(0,t.jsx)("p",{className:"text-center text-xs font-bold uppercase tracking-[0.2em] text-sky-400",children:"Next steps"}),(0,t.jsx)("h2",{className:"mx-auto mt-2 max-w-4xl pb-12 text-center text-2xl font-black text-white md:text-3xl",children:"Improve this score by getting a verified AI profile"}),(0,t.jsxs)("div",{className:"grid min-w-0 gap-6 lg:grid-cols-[2fr_3fr] lg:gap-8",children:[(0,t.jsx)("ul",{className:"min-w-0 space-y-3 [&>li:nth-child(n+4)]:hidden lg:[&>li:nth-child(n+4)]:flex",children:c.map(e=>(0,t.jsxs)("li",{className:"flex min-w-0 items-start gap-3 text-sm leading-relaxed text-white/80",children:[(0,t.jsx)("span",{className:"mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-emerald-500/15 text-emerald-300",children:(0,t.jsx)(b,{className:"h-3 w-3"})}),(0,t.jsx)("span",{className:"min-w-0 break-words",children:e})]},e))}),(0,t.jsxs)("div",{className:"min-w-0 max-w-full overflow-hidden rounded-2xl border border-sky-400/40 bg-gradient-to-br from-sky-950/50 via-slate-950/70 to-indigo-950/50 p-4 shadow-[0_0_40px_rgba(56,189,248,0.12)] sm:p-5 md:p-6",children:[(0,t.jsxs)("div",{className:"mb-4 flex min-w-0 items-start justify-between gap-3",children:[(0,t.jsx)("span",{className:"min-w-0 text-xs font-bold uppercase tracking-[0.18em] text-sky-400",children:"Make it official"}),(0,t.jsx)("span",{className:"shrink-0 rounded-full border border-sky-400/50 px-2.5 py-0.5 text-[10px] font-bold uppercase tracking-wide text-sky-300",children:"Recommended"})]}),(0,t.jsx)("h3",{className:"text-xl font-black leading-snug text-white md:text-2xl",children:"Improve this score by getting a verified AI profile"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-white/70",children:"A verified, structured profile AI systems can keep citing, backed by a DR 80+ authority domain."}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-4 lg:flex-row lg:items-center lg:gap-6",children:[(0,t.jsx)("ul",{className:"w-fit shrink-0 space-y-2.5",children:g.map(e=>(0,t.jsxs)("li",{className:"flex items-start gap-2.5 text-sm text-white/85",children:[(0,t.jsx)("span",{className:"mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-emerald-500/15 text-emerald-300",children:(0,t.jsx)(b,{className:"h-3 w-3"})}),(0,t.jsx)("span",{className:"whitespace-nowrap",children:e})]},e))}),(0,t.jsx)("div",{className:"hidden min-w-0 flex-1 lg:flex lg:items-center lg:justify-center",children:(0,t.jsx)(s.default,{src:x.VERIFICATION_BADGE_IMAGE,alt:"Bu
243sinessabc verified badge",width:140,height:140,className:"h-auto w-[104px] shrink-0 object-contain"})})]}),o&&(0,t.jsx)(a.default,{href:l,target:n,rel:"_blank"===n?"noopener noreferrer":void 0,className:"mt-5 block w-full max-w-full rounded-xl px-4 py-3.5 text-center text-sm font-semibold leading-snug text-white transition-opacity hover:opacity-90 sm:px-5 sm:whitespace-nowrap",style:{backgroundColor:i},children:r}),(0,t.jsx)("p",{className:"mt-3 text-center text-xs text-white/50",children:"Takes about 2 minutes to get started"}),(0,t.jsx)(s.default,{src:x.VERIFICATION_BADGE_IMAGE,alt:"Businessabc verified badge",width:160,height:160,className:"mx-auto mt-4 h-auto w-[112px] object-contain lg:hidden"}),(0,t.jsxs)("div",{className:"mt-5 border-t border-white/10 pt-5",children:[(0,t.jsx)("p",{className:"mb-3 text-center text-[10px] font-bold uppercase tracking-[0.18em] text-white/45",children:"Trusted by"}),(0,t.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-x-10 gap-y-5 px-2",children:f.map(e=>(0,t.jsx)(s.default,{src:e.src,alt:e.alt,width:120,height:36,className:"h-7 w-auto max-w-[96px] object-contain opacity-90 md:h-8 md:max-w-[110px]"},e.id))})]})]})]})]})}function w({src:e,mime:a,overlayOpacity:r}){let i=(0,l.useRef)(null),n=(0,l.useRef)(null),[o,c]=(0,l.useState)(!1),d=!!a?.startsWith("video/")||!a?.startsWith("image/")&&/\.(mp4|webm|ogg|mov)(\?|$)/i.test(e??"");return(0,l.useEffect)(()=>{if(!d)return;let e=i.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(c(!0),t.disconnect())},{threshold:.1});return t.observe(e),()=>t.disconnect()},[d]),(0,l.useEffect)(()=>{if(!d||!o)return;let e=n.current;if(!e)return;let t=e.play();t&&t.catch(()=>{})},[d,o]),(0,t.jsxs)("div",{ref:i,className:"absolute inset-0",children:[d?(0,t.jsx)("video",{ref:n,src:o?e:void 0,className:"absolute inset-0 h-full w-full object-cover",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:o?"auto":"metadata","aria-hidden":!0}):(0,t.jsx)(s.default,{src:e,alt:"",fill:!0,className:"object-cover",priority:!0,sizes:"100vw"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black",style:{opacity:r},"aria-hidden":!0})]})}function v({score:e,color:l}){let s=2*Math.PI*52;return(0,t.jsxs)("div",{className:"relative mx-auto h-32 w-32",children:[(0,t.jsxs)("svg",{className:"h-32 w-32 -rotate-90",viewBox:"0 0 120 120","aria-hidden":!0,children:[(0,t.jsx)("circle",{cx:"60",cy:"60",r:52,fill:"none",stroke:"rgba(255,255,255,0.2)",strokeWidth:"10"}),(0,t.jsx)("circle",{cx:"60",cy:"60",r:52,fill:"none",stroke:l,strokeWidth:"10",strokeDasharray:s,strokeDashoffset:s-e/100*s,strokeLinecap:"round"})]}),(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-white",children:[(0,t.jsx)("span",{className:"text-3xl font-black",children:e}),(0,t.jsx)("span",{className:"text-xs uppercase tracking-wide opacity-80",children:"Score"})]})]})}let j={pass:"text-emerald-300",warn:"text-amber-300",fail:"text-red-300"};function N({severity:e}){return"pass"===e?(0,t.jsx)("span",{className:"flex h-4 w-4 shrink-0 items-center justify-center text-emerald-400","aria-hidden":!0,children:(0,t.jsx)("svg",{viewBox:"0 0 12 12",className:"h-3.5 w-3.5",fill:"none",children:(0,t.jsx)("path",{d:"M2.5 6.2 4.8 8.5 9.5 3.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}):"fail"===e?(0,t.jsx)("span",{className:"flex h-4 w-4 shrink-0 items-center justify-center text-red-400","aria-hidden":!0,children:(0,t.jsx)("svg",{viewBox:"0 0 12 12",className:"h-3.5 w-3.5",fill:"none",children:(0,t.jsx)("path",{d:"M3 3 9 9M9 3 3 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})}):(0,t.jsx)("span",{className:"flex h-4 w-4 shrink-0 items-center justify-center text-amber-300","aria-hidden":!0,children:(0,t.jsx)("svg",{viewBox:"0 0 12 12",className:"h-3.5 w-3.5",fill:"none",children:(0,t.jsx)("path",{d:"M2.5 6h7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})}function k({findings:e}){return 0===e.length?null:(0,t.jsx)("ul",{className:"mt-2 space-y-1.5",children:e.map(e=>(0,t.jsxs)("li",{className:`flex gap-2 text-xs leading-relaxed ${j[e.severity]}`,children:[(0,t.jsx)(N,{severity:e.severity}),(0,t.jsx)("span",{className:"min-w-0 flex-1 break-words text-white/75 text-start",children:e.message})]},e.id))})}function C({activeStepId:e,accentColor:l,steps:s}){let a=e?s.findIndex(t=>t.id===e):-1;return(0,t.jsxs)("div",{className:"mx-auto mt-5 w-full max-w-xl rounded-xl border border-white/15 bg-black/35 px-5 py-4 text-left backdrop-blur-sm",role:"status","aria-live":"polite",children:[(0,t.jsx)("p",{className:"mb-3 text-xs font-semibold uppercase tracking-wide text-white/60",children:"Analysis in progress"}),(0,t.jsx)("ul",{className:"space-y-2.5",children:s.map((s,r)=>{let i=a>r,n=s.id===e;return(0,t.jsxs)("li",{className:`flex items-start gap-3 text-sm transition-opacity ${a>=0&&r>a?"opacity-40":"opacity-100"}`,children:[(0,t.jsx)("span",{className:"mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-xs font-bold",style:i?{backgroundColor:"#22c55e",color:"#fff"}:n?{backgroundColor:"transparent"}:{backgroundColor:"rgba(255,255,255,0.12)",color:"rgba(255,255,255,0.5)"}
243,"aria-hidden":!0,children:i?(0,t.jsx)("svg",{viewBox:"0 0 12 12",className:"h-3 w-3",fill:"none","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M2.5 6.2 4.8 8.5 9.5 3.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):n?(0,t.jsx)("span",{className:"h-2.5 w-2.5 rounded-full",style:{backgroundColor:l},"aria-hidden":!0}):r+1}),(0,t.jsx)("div",{className:"min-w-0 flex-1",children:(0,t.jsx)("p",{className:`font-medium ${n?"text-white":"text-white/75"}`,children:s.label})})]},s.id)})})]})}function S({report:e,accentColor:l,showDetailedResults:s,ctaUrl:r,ctaTitle:i,ctaColor:n,ctaTarget:c}){let d=[e.pillars.technical,e.pillars.content,e.pillars.googleAi,e.pillars.brandMentions].filter(e=>e.available||e.findings.length>0),u=!!r?.trim();return(0,t.jsxs)("div",{className:"mx-auto mt-8 min-w-0 w-full overflow-x-hidden rounded-2xl border border-white/20 bg-black/40 p-4 backdrop-blur-md sm:p-6 lg:p-8",children:[(0,t.jsxs)("div",{className:"mb-4 flex flex-col items-center justify-center gap-3 md:flex-row md:items-center md:gap-6",children:[(0,t.jsx)("div",{className:"shrink-0",children:(0,t.jsx)(v,{score:e.overallScore,color:l})}),(0,t.jsxs)("div",{className:"text-center md:text-left",children:[(0,t.jsx)("p",{className:"text-sm uppercase tracking-wide text-white/70",children:"AI Visibility Grade"}),(0,t.jsx)("p",{className:"text-4xl font-black text-white",children:e.grade}),(0,t.jsx)("p",{className:"mt-1 text-sm text-white/70",children:e.url})]})]}),(0,t.jsx)(y,{category:e.category,ctaUrl:r,ctaTitle:i,ctaColor:n,ctaTarget:c}),(0,t.jsxs)("h3",{className:"mt-8 mb-4 break-words text-lg font-bold text-white md:text-xl",children:["Results for ",e.url]}),(0,t.jsx)("div",{className:"grid min-w-0 gap-3 sm:grid-cols-2",children:d.map(e=>(0,t.jsxs)("div",{className:"rounded-xl border border-white/10 bg-white/5 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-white",children:e.label}),(0,t.jsx)("span",{className:"text-lg font-bold text-white",children:e.available?e.score:"—"})]}),s&&(0,t.jsx)(k,{findings:e.findings})]},e.label))}),u&&(0,t.jsx)("div",{className:"mt-6 flex justify-center",children:(0,t.jsx)(a.default,{...(0,o.lpCtaAnchorProps)(r,c),className:"inline-block w-auto rounded-xl px-6 py-3.5 text-center text-sm font-semibold leading-snug text-white transition-opacity hover:opacity-90 sm:px-8 sm:whitespace-nowrap",style:{backgroundColor:n||l},children:i||"Get My Businessabc AI Visibility ID"})})]})}function _(e,t){let l=e.trim();return l?l.startsWith("Please enter")||l.startsWith("Invalid URL")||l.startsWith("Only http")||l.startsWith("Name is too long")||l.endsWith("is required.")?l:t:t}function $({isOpen:e,onClose:l,accentColor:s,modalTitle:a,modalDescription:i,emailFieldLabel:n,emailFieldPlaceholder:o,interestFieldLabel:c,interestOptions:d,modalSubmitLabel:u,submitLoadingLabel:m,email:x,selectedInterestIds:h,onEmailChange:p,onToggleInterest:g,onSubmit:f,isSubmitting:b,error:y}){let w=d??[],v=w.length>0;return(0,t.jsx)(r.default,{isOpen:e,onClose:l,title:a,width:"32rem",fitContent:!0,theme:"dark",children:(0,t.jsxs)("form",{onSubmit:f,className:"min-w-0 space-y-5",children:[i&&(0,t.jsx)("p",{className:"text-sm leading-relaxed text-gray-400",children:i}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:"ai-visibility-email",className:"mb-1.5 block text-sm font-semibold text-white",children:[n,(0,t.jsx)("span",{className:"text-red-400",children:" *"})]}),(0,t.jsx)("input",{id:"ai-visibility-email",type:"email",autoComplete:"email",required:!0,value:x,onChange:e=>p(e.target.value),placeholder:o,className:"h-11 w-full rounded-lg border border-gray-600 bg-gray-800 px-4 text-sm text-white outline-none placeholder:text-gray-500 focus:border-transparent focus:ring-2 focus:ring-[#5b7cf7]"})]}),v&&(0,t.jsxs)("fieldset",{children:[(0,t.jsxs)("legend",{className:"mb-2 block text-sm font-semibold text-white",children:[c||"What would you like to improve?",(0,t.jsx)("span",{className:"text-red-400",children:" *"})]}),(0,t.jsx)("ul",{className:"space-y-2",children:w.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("label",{className:"flex min-w-0 cursor-pointer items-start gap-3 rounded-lg border border-gray-600 px-3 py-2.5 transition-colors hover:border-gray-500 has-[:checked]:border-[#5b7cf7] has-[:checked]:bg-blue-950/40",children:[(0,t.jsx)("input",{type:"checkbox",name:"ai-visibility-interest",value:e.id,checked:h.includes(e.id),onChange:()=>g(e.id),className:"mt-0.5 h-4 w-4 shrink-0 accent-[#5b7cf7]"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 break-words text-sm leading-relaxed text-gray-200",children:e.text})]})},e.id))})]}),y&&(0,t.jsx)("p",{className:"text-sm font-medium text-red-400",role:"alert",children:y}),(0,t.jsx)("button",{type:"submit",disabled:b,className:"w-full rounded-xl px-6 py-3.5 text-base font-semibold text-white transition-opacity disabled:opacity-60",style:{backgroundColor:s},children:b?m:u})]})})}function E({label:e,placeholder:l,fields:s,onChange:a}){return(0,t.jsxs)("div",{className:"text-left",children:[e?(0,t.jsx)("p",{className:"mb-1.5 block text-sm font-medium text-white/90",children:e}):null,(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[s.map((r,i)=>(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("input",{type:"url",inputMode:"url",autoComplete:"url",spellCheck:!1,value:r,onChange:e=>{let t=[...s];t[i]=e.target.value,a(t)},placeholder:l,className:"min-w-0 flex-1 rounded-xl border border-white/20 bg-white/95 px-4 py-3 text-sm text-gray-900 placeholder:text-gray-500 focus:border-white focus:outline-none focus:ring-2 focus:ring-white/40","aria-label":`${e} ${i+1}`}),s.length>1&&(0,t.jsx)("button",{type:"button",onClick:()=>a(s.filter((e,t)=>
243t!==i)),className:"shrink-0 rounded-lg p-2 text-white/50 transition-colors hover:bg-white/10 hover:text-white","aria-label":`Remove link ${i+1}`,children:(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24","aria-hidden":!0,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]},`social-link-${i}`)),s.length<5&&(0,t.jsxs)("button",{type:"button",onClick:()=>a([...s,""]),className:"flex h-11 w-full items-center justify-center gap-2 rounded-xl border-2 border-dashed border-white/30 bg-white/20 text-sm font-semibold text-white/75 transition-colors hover:border-white/50 hover:bg-white/30 hover:text-white",children:[(0,t.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24","aria-hidden":!0,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"})}),"Add another link"]})]})]})}function I({title:e="Check Your AI Visibility",description:s="Enter your website URL to see how discoverable your brand is across search engines and AI platforms.",enabledCategories:a,inputPlaceholder:r,namePlaceholder:o,socialLinksLabel:c,linkPlaceholder:x,buttonLabel:h="Analyze",mediaUrl:p,mediaMime:g,overlayOpacity:f=.55,themeColor:b,backgroundColor:y,lightText:v=!0,formTypeId:j,modalTitle:N="Get your AI visibility report",modalDescription:k,emailFieldLabel:I="Email address",emailFieldPlaceholder:A="[email protected]",interestFieldLabel:L,interestOptions:T=[],modalSubmitLabel:R="View my results",modalValidationError:P="Please enter your email and select an area to improve.",showDetailedResults:O=!0,fullHeight:F=!1,ctaUrl:D,ctaTitle:B,ctaColor:M,ctaTarget:U="_self"}){let z,G=(z=(Array.isArray(a)?a:null!=a?[a]:[]).filter(d)).length>0?z:["websites"],W=G.length>1,H=1===G.length?G[0]:null,V=(0,n.resolveLpThemeColor)(b),q=v?i.COLORS.white:i.COLORS.heading,Q=v?"rgba(255,255,255,0.85)":i.COLORS.body,[K,X]=(0,l.useState)(H??G[0]??"websites"),Y=H??K,[J,Z]=(0,l.useState)(""),[ee,et]=(0,l.useState)([""]),[el,es]=(0,l.useState)(!1),[ea,er]=(0,l.useState)(null),[ei,en]=(0,l.useState)(null),[eo,ec]=(0,l.useState)(null),[ed,eu]=(0,l.useState)(!1),[em,ex]=(0,l.useState)(null),[eh,ep]=(0,l.useState)(""),[eg,ef]=(0,l.useState)("websites"),[eb,ey]=(0,l.useState)(""),[ew,ev]=(0,l.useState)([]),[ej,eN]=(0,l.useState)(!1),[ek,eC]=(0,l.useState)(null),eS="number"==typeof j&&Number.isFinite(j),e_="companies"===Y||"individuals"===Y?o?.trim()||void 0:r?.trim()||void 0;async function e$(e,t,l){er(null),en(null),ex(null),es(!0),ec("validate");let s=null,a=null;try{let r=await fetch("/api/ai-visibility/analyze",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({input:e,category:t,socialLinks:l?.trim()||void 0,stream:!0})});if(!r.ok){let e=await r.json().catch(()=>({}));er(_("string"==typeof e.error?e.error:"",P));return}let i=r.body?.getReader();if(!i)return void er(P);let n=new TextDecoder,o="";for(;;){let{done:e,value:t}=await i.read();if(e)break;let l=(o+=n.decode(t,{stream:!0})).split("\n");for(let e of(o=l.pop()??"",l)){if(!e.trim())continue;let t=JSON.parse(e);"progress"===t.type?ec(t.id):"complete"===t.type?s=t.report:"error"===t.type&&(a=t.error)}}if(o.trim()){let e=JSON.parse(o);"complete"===e.type?s=e.report:"error"===e.type&&(a=e.error)}if(a)return void er(_(a,P));if(!s)return void er(P);eS?(ep(e),ef(t),ex(s),eC(null),eu(!0)):en(s)}catch{er(P)}finally{es(!1),ec(null)}}async function eE(e){e.preventDefault(),eC(null);let t=eb.trim(),l=T.length>0,s=T.filter(e=>ew.includes(e.id)).map(e=>e.text);if(!t||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t))return void eC("Please enter a valid email address.");if(l&&0===s.length)return void eC(P);if(!em)return void eC("Analysis results are unavailable. Please run the analysis again.");eN(!0);try{let e=await fetch("/api/ai-visibility/lead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,input:eh,category:eg,interests:s,formTypeId:j})});if(!e.ok){let t=await e.json().catch(()=>({}));throw Error(t.message??"Unable to save your details. Please try again.")}en(em),ex(null),eu(!1)}catch(e){eC(e instanceof Error?e.message:"Unable to save your details. Please try again.")}finally{eN(!1)}}return(0,t.jsxs)("section",{className:`relative flex w-full overflow-hidden py-24 md:py-32 ${F?"min-h-screen":"min-h-[70vh] items-center"} ${F?ei?"items-start":"items-center":""}`,style:y&&!p?{backgroundColor:y}:void 0,children:[p&&(0,t.jsx)(w,{src:p,mime:g,overlayOpacity:f}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto w-full min-w-0",children:[(0,t.jsxs)("div",{className:"mx-auto min-w-0 
243w-full max-w-4xl overflow-x-hidden px-4 text-center sm:px-6",children:[e&&(0,t.jsx)("h1",{className:"mb-4 text-4xl font-black leading-tight md:text-5xl lg:text-6xl",style:{color:q},children:e}),s&&(0,t.jsx)("p",{className:"mx-auto mb-8 max-w-2xl text-base leading-relaxed md:text-lg",style:{color:Q},children:s}),W&&(0,t.jsx)("div",{className:"mx-auto mb-4 flex w-full max-w-xl flex-wrap justify-center gap-2",role:"tablist","aria-label":"Analysis category",children:G.map(e=>{let l=e===Y;return(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":l,onClick:()=>{X(e),er(null),en(null)},className:`rounded-full px-4 py-2 text-sm font-semibold transition-colors ${l?"bg-white text-gray-900":"border border-white/40 bg-white/25 text-white hover:bg-white/35"}`,children:function(e){switch(e){case"websites":return"Websites";case"companies":return"Companies";case"individuals":return"Individuals";default:return e}}(e)},e)})}),(0,t.jsxs)("form",{onSubmit:function(e){e.preventDefault(),er(null);let t=J.trim();if(t){let e;e$(t,Y,(e=ee.map(e=>e.trim()).filter(Boolean)).length>0?e.join("\n"):void 0)}},className:"mx-auto flex w-full max-w-xl flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row",children:[(0,t.jsx)("input",{type:"text",inputMode:"websites"===Y?"url":"text",autoComplete:"websites"===Y?"url":"name",spellCheck:!1,value:J,onChange:e=>Z(e.target.value),placeholder:e_,required:!0,className:"min-w-0 flex-1 rounded-xl border border-white/20 bg-white/95 px-4 py-3.5 text-base text-gray-900 placeholder:text-gray-500 focus:border-white focus:outline-none focus:ring-2 focus:ring-white/40"}),(0,t.jsx)("button",{type:"submit",disabled:el||ej,className:"rounded-xl px-6 py-3.5 text-base font-semibold text-white transition-opacity disabled:opacity-60 sm:shrink-0",style:{background:(0,n.lpCtaBackground)(b)},children:el?"Analyzing…":h})]}),("companies"===Y||"individuals"===Y)&&(0,t.jsx)(E,{label:c,placeholder:x,fields:ee,onChange:et})]}),el&&(0,t.jsx)(C,{activeStepId:eo,accentColor:V,steps:"websites"===Y?u:m}),ea&&(0,t.jsx)("p",{className:"mt-4 text-sm font-medium text-red-300",role:"alert",children:ea})]}),ei&&(0,t.jsx)("div",{className:"mx-auto mt-0 w-full max-w-[88rem] px-4 sm:px-6 lg:px-10",children:(0,t.jsx)(S,{report:ei,accentColor:V,showDetailedResults:O,ctaUrl:D,ctaTitle:B,ctaColor:M,ctaTarget:U})})]}),eS&&(0,t.jsx)($,{isOpen:ed,onClose:function(){ej||(eu(!1),eC(null),ex(null))},accentColor:V,modalTitle:N,modalDescription:k,emailFieldLabel:I,emailFieldPlaceholder:A,interestFieldLabel:L,interestOptions:T,modalSubmitLabel:R,submitLoadingLabel:"Saving…",email:eb,selectedInterestIds:ew,onEmailChange:ey,onToggleInterest:function(e){ev(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},onSubmit:eE,isSubmitting:ej,error:ek})]})}e.s(["LPAiVisibilityHero",()=>I],379396)},3112,e=>{e.v(t=>Promise.all(["static/chunks/f8f2675b0ad99955.js","static/chunks/8b9c2f759b26f423.js","static/chunks/727d5f70e6bdb74a.js","static/chunks/4a30db3b01653ee4.js"].map(t=>e.l(t))).then(()=>t(255503)))},147745,e=>{e.v(t=>Promise.all(["static/chunks/5dd057edfccd5db9.js","static/chunks/b48d8b0602397d74.js","static/chunks/8b9c2f759b26f423.js"].map(t=>e.l(t))).then(()=>t(167889)))},277259,e=>{e.v(t=>Promise.all(["static/chunks/727d5f70e6bdb74a.js","static/chunks/38db6a61817b2c2b.js","static/chunks/62fefed124da8ab9.js"].map(t=>e.l(t))).then(()=>t(504451)))},760530,e=>{e.v(t=>Promise.all(["static/chunks/f60d7d733313b11a.js","static/chunks/8b9c2f759b26f423.js","static/chunks/727d5f70e6bdb74a.js","static/chunks/4a30db3b01653ee4.js"].map(t=>e.l(t))).then(()=>t(374441)))},814304,e=>{e.v(t=>Promise.all(["static/chunks/727d5f70e6bdb74a.js","static/chunks/38db6a61817b2c2b.js","static/chunks/e748d929b713e967.js"].map(t=>e.l(t))).then(()=>t(90702)))},526738,e=>{e.v(t=>Promise.all(["static/chunks/0f21cadac67514da.js","static/chunks/b48d8b0602397d74.js","static/chunks/8b9c2f759b26f423.js"].map(t=>e.l(t))).then(()=>t(711840)))},401671,e=>{e.v(t=>Promise.all(["static/chunks/a897efb88c0855d3.js","static/chunks/8b9c2f759b26f423.js","static/chunks/727d5f70e6bdb74a.js","static/chunks/4a30db3b01653ee4.js"].map(t=>e.l(t))).then(()=>t(236774)))},796636,e=>{e.v(t=>Promise.all(["static/chunks/c29179b0ec8630d6.js","static/chunks/8b9c2f759b26f423.js","static/chunks/727d5f70e6bdb74a.js","static/chunks/4a30db3b01653ee4.js"].map(t=>e.l(t))).then(()=>t(54060)))},342544,e=>{e.v(t=>Promise.all(["static/chunks/63f973a5bcffeb6c.js","static/chunks/dbc9ebc95bc16bdc.js","static/chunks/b302d1063f8
2430aa37.js"].map(t=>e.l(t))).then(()=>t(366099)))}]);

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.