PageSourceSearch

https://studydrome.com/_next/static/immutable/chunks/0i70m60yyecys.js

js studydrome.com collected 2026-10-09 21:42:58 UTC 31,692 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="89dfde40-63f6-f359-b296-02ef805a63db")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,316678,e=>{"use strict";var t=e.i(843476),r=e.i(522016),a=e.i(271645),l=e.i(729988),s=e.i(20921);e.s(["default",0,function(e){let{href:i,label:n,eventLabel:o}=e,[d,c]=(0,a.useState)(!1);if((0,a.useEffect)(()=>{let e=()=>{var e,t;return c((e=window.scrollY,(t=window.innerHeight)>0&&e>.75*t))};return e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[]),!d)return null;let m=(0,s.buttonClasses)("primary","md","w-full justify-center");return(0,t.jsx)("div",{className:"fixed inset-x-0 bottom-0 z-40 border-t border-stroke bg-white p-3 pb-[max(0.75rem,env(safe-area-inset-bottom))] shadow-lg dark:border-stroke-dark dark:bg-gray-dark md:hidden","data-sticky-cta":!0,children:o?(0,t.jsx)(l.default,{href:i,eventLabel:o,className:m,children:n}):(0,t.jsx)(r.default,{href:i,className:m,children:n})})}],316678)},818179,e=>{"use strict";var t=e.i(843476),r=e.i(522016),a=e.i(271645),l=e.i(20921),s=e.i(432655),i=e.i(914984),n=e.i(945060);let o={default:"",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},d={default:"",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl"},c={default:"",ink:"text-black dark:text-white",primary:"text-primary",muted:"text-body-color dark:text-body-color-dark",success:"text-success",danger:"text-danger",white:"text-white"};function m(e){var t,r,a,l,s,i;return e?[null!=(t=o[null!=(r=e.titleWeight)?r:"default"])?t:"",null!=(a=d[null!=(l=e.titleSize)?l:"default"])?a:"",null!=(s=c[null!=(i=e.titleColor)?i:"default"])?s:"",e.titleItalic?"italic":""].filter(Boolean).join(" "):""}var u=e.i(352473);let x=()=>(0,t.jsx)("svg",{className:"w-5 h-5 ml-2 transition-transform duration-200 group-hover:translate-x-1",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})});e.s(["default",0,function(e){let{allLabel:o,items:d,modern:c}=e,[p,h]=(0,a.useState)(o),b=[o];for(let e of d)e.category&&!b.includes(e.category)&&b.push(e.category);let f=p===o?d:d.filter(e=>e.category===p);return c?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"mb-10 flex flex-wrap justify-center gap-2",children:b.map(e=>(0,t.jsx)("button",{onClick:()=>h(e),"aria-pressed":p===e,className:p===e?"min-h-11 rounded-full bg-primary px-4 py-2 text-sm font-semibold text-white":"min-h-11 rounded-full border border-stroke bg-white px-4 py-2 text-sm font-medium text-black transition hover:border-primary hover:text-primary dark:border-stroke-dark dark:bg-gray-dark dark:text-white dark:hover:border-primary-bright dark:hover:text-primary-bright",children:e},e))}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-6",children:f.map((e,a)=>{var o;return(0,t.jsxs)("article",{className:(0,s.cardClasses)({elevation:1},"p-8"),children:[(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center gap-3",children:[(0,t.jsx)("h2",{className:(0,n.cn)("font-display text-h4 text-black dark:text-white",m(e)),children:e.title}),e.badge?(0,t.jsx)("span",{className:"rounded-full bg-primary/10 px-3 py-1 text-xs font-semibold text-primary dark:bg-primary/25 dark:text-primary-bright",children:e.badge}):null]}),e.subtitle?(0,t.jsx)("p",{className:"mb-3 font-medium text-black dark:text-white",children:e.subt
2itle}):null,e.description?(0,t.jsx)(u.InlineRichText,{data:e.description,className:"leading-relaxed text-body-color dark:text-body-color-dark"}):null,(0,t.jsx)("div",{className:"mb-8 mt-6 grid gap-8 md:grid-cols-2",children:[["Key Features",e.features,"bg-primary"],["Key Benefits",e.benefits,"bg-success"]].map(e=>{let[r,a,l]=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 font-semibold text-black dark:text-white",children:r}),(0,t.jsx)("ul",{className:"space-y-3",children:(null!=a?a:[]).map((e,r)=>{var a;return(0,t.jsxs)("li",{className:"flex items-start text-body-color dark:text-body-color-dark",children:[(0,t.jsx)("span",{className:`mr-3 mt-2 h-1.5 w-1.5 shrink-0 rounded-full ${l}`}),(0,t.jsx)("span",{className:"text-sm",children:e.text})]},null!=(a=e.id)?a:r)})})]},r)})}),(0,t.jsxs)("div",{className:"flex items-center justify-between border-t border-stroke pt-6 dark:border-stroke-dark",children:[(0,t.jsx)("span",{className:"rounded-full bg-gray-light px-3 py-1 text-sm font-medium text-body-color dark:bg-gray-dark dark:text-body-color-dark",children:e.category}),(0,t.jsxs)(r.default,{href:e.href,className:(0,l.buttonClasses)("primary","sm","group"),children:[e.ctaLabel||"Learn More",(0,t.jsx)(i.ChevronRightIcon,{className:"ml-1.5 h-4 w-4 transition-transform duration-200 group-hover:translate-x-1"})]})]})]},null!=(o=e.id)?o:a)})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"container mx-auto max-w-6xl px-6 sm:px-10 md:px-14 py-8",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:b.map(e=>(0,t.jsx)("button",{onClick:()=>h(e),className:`min-h-11 px-4 py-2 rounded-md font-medium text-sm transition-all ${p===e?"bg-primary text-white":"bg-white text-gray-700 hover:bg-gray-100 border border-gray-200"}`,children:e},e))})}),(0,t.jsx)("section",{className:"container mx-auto max-w-6xl px-6 sm:px-10 md:px-14 pb-20",children:(0,t.jsx)("div",{className:"grid grid-cols-1 gap-8",children:f.map((e,a)=>{var l,s,i;return(0,t.jsx)("article",{className:"bg-white border border-gray-200 rounded-lg hover:border-gray-300 transition-all duration-200",children:(0,t.jsxs)("div",{className:"p-8",children:[(0,t.jsx)("div",{className:"flex items-start justify-between mb-6",children:(0,t.jsx)("div",{className:"flex items-start",children:(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,t.jsx)("h2",{className:(0,n.cn)("text-2xl font-semibold text-gray-900",m(e)),children:e.title}),e.badge&&(0,t.jsx)("div",{className:"bg-gray-light text-primary text-xs font-medium px-3 py-1 rounded-full border border-stroke",children:e.badge})]}),e.subtitle&&(0,t.jsx)("p",{className:"text-gray-600 font-medium mb-3",children:e.subt
2itle}),e.description&&(0,t.jsx)(u.InlineRichText,{data:e.description,className:"text-gray-700 leading-relaxed"})]})})}),(0,t.jsxs)("div",{className:"grid md:grid-cols-2 gap-8 mb-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-semibold text-gray-900 mb-4",children:"Key Features"}),(0,t.jsx)("ul",{className:"space-y-3",children:(null!=(l=e.features)?l:[]).map((e,r)=>{var a;return(0,t.jsxs)("li",{className:"flex items-start text-gray-600",children:[(0,t.jsx)("div",{className:"w-1.5 h-1.5 bg-primary rounded-full mt-2 mr-3 flex-shrink-0"}),(0,t.jsx)("span",{className:"text-sm",children:e.text})]},null!=(a=e.id)?a:r)})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-semibold text-gray-900 mb-4",children:"Key Benefits"}),(0,t.jsx)("ul",{className:"space-y-3",children:(null!=(s=e.benefits)?s:[]).map((e,r)=>{var a;return(0,t.jsxs)("li",{className:"flex items-start text-gray-600",children:[(0,t.jsx)("div",{className:"w-1.5 h-1.5 bg-primary rounded-full mt-2 mr-3 flex-shrink-0"}),(0,t.jsx)("span",{className:"text-sm",children:e.text})]},null!=(a=e.id)?a:r)})})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between pt-6 border-t border-gray-100",children:[(0,t.jsx)("div",{className:"text-sm font-medium text-gray-500 bg-gray-50 px-3 py-1 rounded-full",children:e.category}),(0,t.jsxs)(r.default,{href:e.href,className:"inline-flex min-h-11 items-center bg-primary text-white font-medium py-2.5 px-5 rounded-md hover:bg-primary-strong transition-all group text-sm",children:[e.ctaLabel||"Learn More",(0,t.jsx)(x,{})]})]})]})},null!=(i=e.id)?i:a)})})})]})}],818179)},648578,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(618566),l=e.i(683623),s=e.i(736643),i=e.i(959155),n=e.i(914984);e.s(["default",0,function(e){let{formId:o,formTitle:d,fields:c,submitLabel:m,confirmation:u,redirectUrl:x,renderedMessages:p}=e,h=(0,a.useRouter)(),[b,f]=(0,r.useState)(()=>{let e={};return c.forEach(t=>{t.name&&("checkbox"===t.blockType?e[t.name]=!!t.defaultValue:e[t.name]=null!=t.defaultValue?String(t.defaultValue):"")}),e}),[g,y]=(0,r.useState)(""),v=(0,r.useId)(),[j,k]=(0,r.useState)("idle"),[w,N]=(0,r.useState)(""),C=(e,t)=>f(r=>({...r,[e]:t})),S=async e=>{if(e.preventDefault(),"sending"!==j){if(g)return void k("done");k("sending"),N("");try{let e=c.filter(e=>e.name&&"message"!==e.blockType).map(e=>{var t;return{field:e.name,value:String(null!=(t=b[e.name])?t:"")}}),a=await fetch("/api/form-submissions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({form:o,submissionData:e})});if(!a.ok){var t,r;let e=await a.json().catch(()=>null);throw Error((null==e||null==(r=e.errors)||null==(t=r[0])?void 0:t.message)||"Something went wrong — please try again.")}if((0,l.event)({action:"form_submit",category:"engagement",label:d,value:1}),x)return void h.push(x);k("done")}catch(e){N(e instanceof Error?e.message:"Something went wrong — please try again."),k("error")}}};return"done"===j?(0,t.jsx)("div",{className:"prose dark:prose-invert mx-auto max-w-none",children:u}):(0,t.jsxs)("form",{onSubmit:S,noValidate:!1,className:"space-y-5",children:[c.map((e,r)=>{var a,l,s,o;if("message"===e.blockType)return(0,t.jsx)("div",{className:"prose dark:prose-invert max-w-none text-sm",children:p[r]},r);if(!e.name)return null;let d=e.label||e.name,c=!!e.required,m=`${v}-${e.name}`;return"checkbox"===e.blockType?(0,t.jsxs)("label",{className:"flex items-start gap-2.5 text-sm text-body-color dark:text-body-color-dark",children:[(0,t.jsx)("input",{type:"checkbox",checked:!!b[e.name],required:c,onChange:t=>C(e.name,t.target.checked),className:"mt-0.5 h-5 w-5 accent-primary"}),(0,t.jsxs)("span",{children:[d,c?" *":""]})]},r):(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:m,className:(0,i.labelClasses)(),children:[d,c?" *":""]}),"textarea"===e.blockType?(0,t.jsx)("textarea",{id:m,name:e.name,value:String(null!=(a=b[e.name])?a:""),required:c,rows:5,onChange:t=>C(e.name,t.target.value),className:(0,i.inputClasses)()}):"select"===e.blockType?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("select",{id:m,name:e.name,value:String(null!=(l=b[e.name])?l:""),required:c,onChange:t=>C(e.name,t.target.value),className:(0,i.inputClasses)({}
2,"appearance-none pr-10"),children:[(0,t.jsx)("option",{value:"",children:"Select…"}),(null!=(s=e.options)?s:[]).map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))]}),(0,t.jsx)(n.ChevronDownIcon,{className:"pointer-events-none absolute right-3.5 top-1/2 h-4 w-4 -translate-y-1/2 text-body-color dark:text-body-color-dark"})]}):(0,t.jsx)("input",{id:m,name:e.name,type:"email"===e.blockType?"email":"number"===e.blockType?"number":"text",value:String(null!=(o=b[e.name])?o:""),required:c,onChange:t=>C(e.name,t.target.value),className:(0,i.inputClasses)()})]},r)}),(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute left-[-9999px] top-auto h-px w-px overflow-hidden",children:(0,t.jsxs)("label",{children:["Website",(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off",value:g,onChange:e=>y(e.target.value)})]})}),w?(0,t.jsx)("p",{role:"alert",className:"text-sm text-danger",children:w}):null,(0,t.jsx)(s.default,{type:"submit",variant:"primary",loading:"sending"===j,children:"sending"===j?"Sending…":m})]})}])},462208,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(533838);e.s(["default",0,function(e){let{src:l,mimeType:s,poster:i,width:n,height:o,className:d,children:c}=e,m=(0,r.useRef)(null);return(0,r.useEffect)(()=>{var e;(0,a.prefersReducedMotion)()||null==(e=m.current)||e.play().catch(()=>{})},[]),(0,t.jsxs)("video",{ref:m,loop:!0,muted:!0,playsInline:!0,poster:i,className:d,width:n,height:o,children:[(0,t.jsx)("source",{src:l,type:null!=s?s:"video/mp4"}),c]})}])},861515,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(618566),l=e.i(687271),s=e.i(736643),i=e.i(432655),n=e.i(959155),o=e.i(914984),d=e.i(970380),c=e.i(683623),m=e.i(759426),u=e.i(925599),x=e.i(965721);let p=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;e.s(["default",0,function(e){var h;let b,f,{formId:g,formTitle:y,steps:v,renderedIntros:j,renderedMessages:k,products:w,book:N,locale:C,submitLabel:S,successHeading:T,successMessage:$,redirectUrl:E}=e,R=(0,a.useRouter)(),I=(0,d.useChromeDict)().forms.preRegister,[L,M]=(0,r.useState)(0),[P,A]=(0,r.useState)({}),[B,q]=(0,r.useState)({}),[F,D]=(0,r.useState)(""),[O,z]=(0,r.useState)(""),[K,_]=(0,r.useState)("form"),[V,U]=(0,r.useState)(""),H=(0,r.useRef)(null),X=(0,r.useRef)(!0),J=(0,r.useRef)(null),[W,G]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=(0,u.decodeSelection)(new URLSearchParams(window.location.search).get(u.SELECTION_PARAM));if(!e)return;G(e);let t=v.flatMap(e=>e.fields),r={},a=t.find(e=>"frSelect"===e.blockType&&e.name&&["s","m","l","xl"].every(t=>{var r;return(null!=(r=e.options)?r:[]).some(e=>e.value===t)}));(null==a?void 0:a.name)&&(r[a.name]=e.band);let l=t.find(e=>"frProducts"===e.blockType&&e.name);if(null==l?void 0:l.name){let t=new Set((0,u.quote)(e,N).lines.map(e=>{var t;return null==(t=(0,x.productByKey)(e.productKey))?void 0:t.name}).filter(e=>!!e)),a=w.filter(e=>t.has(e.name)).map(e=>e.id);a.length&&(r[l.name]=!1===l.multiple?a.slice(0,1):a)}Object.keys(r).length&&A(e=>({...r,...e}))},[]);let Y=v[L],Z=L===v.length-1;(0,r.useEffect)(()=>{var e;if(X.current){X.current=!1;return}null==(e=H.current)||e.focus()},[L]);let Q=(e,t)=>{A(r=>({...r,[e]:t})),q(t=>{if(!(e in t))return t;let r={...t};return delete r[e],r})},ee=e=>{let t={};for(let r of v[e].fields){if("frMessage"===r.blockType||!r.name)continue;let e=P[r.name],a=r.label||r.name;if(void 0===e||""===e||!1===e||Array.isArray(e)&&0===e.length){r.required&&(t[r.name]="frCheckbox"===r.blockType?I.requiredCheckbox.replace("{label}",a):"frProducts"===r.blockType?I.requiredProducts:"frSelect"===r.blockType?I.requiredSelect:I.requiredField.replace("{label}",a));continue}"frEmail"!==r.blockType||p.test(String(e).trim())||(t[r.name]=I.invalidEmail),"frNumber"!==r.blockType||Number.isFinite(Number(String(e).trim()))||(t[r.name]=I.invalidNumber)}return t},et=e=>{var t;q(e);let r=Object.keys(e)[0];r&&(null==(t=document.getElementById(`prw-${r}`))||t.focus())},er=v.flatMap(e=>e.fields).find(e=>"frEmail"===e.blockType&&e.name),ea=(null==er?void 0:er.name)?String(null!=(h=P[er.name])?h:""):"",el=async e=>{if(e.preventDefault(),"form"!==K)return;let t=ee(L);if(Object.keys(t).length)return void et(t);if(!O)return void U(I.verificationRequired);_("sending"),U("");try{let e,t=await fetch("/api/pre-register/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formId:g,answers:P,turnstileToken:O,website:F,path:window.location.pathname,referrer:document.referrer||"",locale:C,...W?{[u.SELECTION_PARAM]:(0,u.encodeSelection)(W)}:{}})}),r=await t.json().catch(()=>null);if(!t.ok||!(null==r?void 0:r.ok))throw Error((null==r?void 0:r.error)||I.submitFailed);(0,c.event)({action:"pilot_request",category:"conversion",label:y,value:1}),(0,c.event)({action:"form_submit",category:"engagement",label:y,value:1}),e=window.matchMedia("(prefers-reduced-motion: reduce)").matches,_("creating"),window.setTimeout(()=>{E?R.push(E):_("done")},1600*!e)}catch(e){var r;U(e instanceof Error?e.message:I.submitFailed),null==(r=J.current)||r.reset(),_("form")}},es=(0,i.cardClasses)({radius:"panel",elevation:2},"p-6 sm:p-8");if("creating"===K)return(0,t.jsx)("div",{className:es,role:"status","aria-live":"polite",children:(0,t.jsxs)("div",{className:"flex flex-col items-center py-10 text-center",children:[(0,t.jsx)(o.SpinnerIcon,{className:"h-10 w-10 text-primary motion-reduce:animate-none"}),(0,t.jsx)("p",{className:"mt-5 font-display text-lg font-semibold text-black dark:text-white",children:I.creatingHeading}),(0,t.jsx)("p",{className:"mt-1 text-sm text-body-color dark:text-body-color-dark",children:I.creatingBody})]})});if("done"===K)return(0,t.jsx)("div",{className:es,role:"status","aria-live":"polite",children:(0,t.jsxs)("div",{className:"flex flex-col items-center py-8 text-center",children:[(0,t.jsx)("span",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-primary/10",children:(0,t.jsx)("svg",{className:"h-7 w-7 text-primary",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":!0,
2children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M16.704 5.29a1 1 0 010 1.415l-7.5 7.5a1 1 0 01-1.415 0l-3.5-3.5a1 1 0 111.415-1.415l2.792 2.793 6.793-6.793a1 1 0 011.415 0z",clipRule:"evenodd"})})}),(0,t.jsx)("h3",{className:"mt-5 font-display text-2xl font-bold text-black dark:text-white",children:T}),(0,t.jsx)("div",{className:"prose dark:prose-invert mt-3 max-w-none text-left sm:text-center",children:$}),ea?(0,t.jsxs)("p",{className:"mt-4 text-sm text-body-color dark:text-body-color-dark",children:[I.confirmationSentTo," ",(0,t.jsx)("span",{className:"font-semibold text-black dark:text-white",children:ea}),"."]}):null]})});let ei=W?(b=(0,u.quote)(W,N),f=e=>(0,u.formatMoney)(e,N),(0,t.jsxs)("div",{className:"mb-6 rounded-card border border-stroke bg-gray-light p-4 dark:border-stroke-dark dark:bg-black/30",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-4",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-black dark:text-white",children:I.pricingHeading}),(0,t.jsx)("a",{href:`${(0,m.localePath)(C,"/pricing/")}?${u.SELECTION_PARAM}=${encodeURIComponent((0,u.encodeSelection)(W))}`,className:"text-xs font-medium text-primary hover:underline",children:I.pricingChange})]}),(0,t.jsx)("ul",{className:"mt-2 space-y-1 text-sm text-body-color dark:text-body-color-dark",children:b.lines.map(e=>(0,t.jsxs)("li",{className:"flex justify-between gap-4",children:[(0,t.jsxs)("span",{children:[e.name," ",(0,t.jsxs)("span",{className:"text-xs",children:["(",e.detail,")"]})]}),(0,t.jsx)("span",{className:"tabular-nums",children:f(e.amount)})]},e.key))}),(0,t.jsxs)("p",{className:"mt-2 flex justify-between gap-4 border-t border-stroke pt-2 text-sm font-semibold text-black dark:border-stroke-dark dark:text-white",children:[(0,t.jsxs)("span",{children:[I.pricingTotal,b.bundleDiscount+b.termDiscount>0?(0,t.jsx)("span",{className:"block text-xs font-normal text-body-color dark:text-body-color-dark",children:I.pricingDiscounts.replace("{amount}",f(b.bundleDiscount+b.termDiscount))}):null]}),(0,t.jsx)("span",{className:"tabular-nums",children:f(b.annualTotal)})]}),(0,t.jsx)("p",{className:"mt-2 text-xs text-body-color dark:text-body-color-dark",children:I.pricingNote})]})):null;return(0,t.jsxs)("form",{onSubmit:el,noValidate:!0,className:es,children:[ei,(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between text-xs font-medium text-body-color dark:text-body-color-dark",children:[(0,t.jsx)("span",{children:I.stepOf.replace("{current}",String(L+1)).replace("{total}",String(v.length))}),(0,t.jsx)("span",{className:"truncate pl-3 text-right",children:Y.title})]}),(0,t.jsx)("ol",{className:"mt-2 flex gap-1.5","aria-label":I.progressLabel,children:v.map((e,r)=>(0,t.jsx)("li",{className:"h-1.5 flex-1 overflow-hidden rounded-full bg-primary-soft","aria-current":r===L?"step":void 0,title:e.title,children:(0,t.jsx)("div",{className:`h-full rounded-full bg-primary transition-all duration-300 ${r<L?"w-full":r===L?"w-1/2":"w-0"}`})},r))})]}),(0,t.jsxs)("fieldset",{className:"motion-safe:animate-step-in",children:[(0,t.jsx)("legend",{className:"sr-only",children:Y.title}),(0,t.jsx)("h3",{ref:H,tabIndex:-1,className:"font-display text-xl font-bold text-black dark:text-white",children:Y.title}),Y.subtext?(0,t.jsx)("p",{className:"mt-1 text-sm text-body-color dark:text-body-color-dark",children:Y.subtext}):null,j[L]?(0,t.jsx)("div",{className:"prose dark:prose-invert mt-3 max-w-none text-sm",children:j[L]}):null,(0,t.jsx)("div",{className:"mt-6 flex flex-wrap gap-5",children:Y.fields.map((e,r)=>{var a,l,s,i;if("frMessage"===e.blockType)return(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)("div",{className:"prose dark:prose-invert max-w-none text-sm",children:k[`${L}-${r}`]})},r);if(!e.name)return null;let o=e.name,d=e.label||o,c=!!e.required,m=B[o],u="half"===e.width,x=m?`prw-err-${o}`:void 0;if("frCheckbox"===e.blockType)return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsxs)("label",{className:"flex items-start gap-2.5 text-sm text-body-color dark:text-body-color-dark",children:[(0,t.jsx)("input",{id:`prw-${o}`,type:"checkbox",checked:!0===P[o],onChange:e=>Q(o,e.target.checked),"aria-invalid":!!m||void 0,"aria-describedby":x,className:"mt-0.5 h-5 w-5 accent-primary"}),(0,t.jsxs)("span",{children:[d,c?" *":""]})]}),m?(0,t.jsx)("p",{id:`prw-err-${o}`,className:(0,n.fieldErrorClasses)(),children:m}):null]},r);if("frProducts"===e.blockType){let a=Array.isArray(P[o])?P[o]:[];return(0,t.jsxs)("div",{className:"w-full",role:"group","aria-labelledby":`prw-lbl-${o}`,children:[(0,t.jsxs)("p",{id:`prw-lbl-${o}`,className:(0,n.labelClasses)("mb-2.5"),children:[d,c?" *":""]}),(0,t.jsx)("div",{className:"grid gap-3 sm:grid-cols-2",id:`prw-${o}
2`,tabIndex:-1,children:w.map(r=>{let l=a.some(e=>String(e)===String(r.id));return(0,t.jsxs)("div",{className:`relative rounded-card border p-4 text-left transition ${l?"border-primary bg-primary/5 ring-2 ring-primary/25":"border-stroke hover:border-primary/60 dark:border-stroke-dark"}`,children:[(0,t.jsxs)("label",{className:"flex cursor-pointer items-start gap-3",children:[(0,t.jsx)("input",{type:"checkbox",checked:l,onChange:()=>{var t;let l;return t=r.id,l=a.some(e=>String(e)===String(t)),void(!1===e.multiple?Q(o,l?[]:[t]):Q(o,l?a.filter(e=>String(e)!==String(t)):[...a,t]))},"aria-describedby":x,className:"mt-1 h-5 w-5 shrink-0 accent-primary"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"block text-sm font-semibold text-black dark:text-white",children:r.name}),r.description?(0,t.jsx)("span",{className:"mt-1 block text-xs leading-relaxed text-body-color dark:text-body-color-dark",children:r.description}):null]})]}),r.url?(0,t.jsx)("a",{href:r.url,target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-block pl-7 text-xs font-medium text-primary hover:underline",children:I.learnMore}):null]},r.id)})}),m?(0,t.jsx)("p",{id:`prw-err-${o}`,className:(0,n.fieldErrorClasses)(),children:m}):null]},r)}return(0,t.jsxs)("div",{className:u?"w-full sm:w-[calc(50%-0.625rem)]":"w-full",children:[(0,t.jsxs)("label",{htmlFor:`prw-${o}`,className:(0,n.labelClasses)(),children:[d,c?" *":""]}),"frTextarea"===e.blockType?(0,t.jsx)("textarea",{id:`prw-${o}`,value:String(null!=(a=P[o])?a:""),rows:4,placeholder:e.placeholder||void 0,onChange:e=>Q(o,e.target.value),"aria-invalid":!!m||void 0,"aria-describedby":x,className:(0,n.inputClasses)({invalid:!!m})}):"frSelect"===e.blockType?(0,t.jsxs)("select",{id:`prw-${o}`,value:String(null!=(l=P[o])?l:""),onChange:e=>Q(o,e.target.value),"aria-invalid":!!m||void 0,"aria-describedby":x,className:(0,n.inputClasses)({invalid:!!m}),children:[(0,t.jsx)("option",{value:"",children:I.selectPlaceholder}),(null!=(s=e.options)?s:[]).map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))]}):(0,t.jsx)("input",{id:`prw-${o}`,type:"frEmail"===e.blockType?"email":"frNumber"===e.blockType?"number":"text",inputMode:"frNumber"===e.blockType?"numeric":void 0,value:String(null!=(i=P[o])?i:""),placeholder:e.placeholder||void 0,onChange:e=>Q(o,e.target.value),"aria-invalid":!!m||void 0,"aria-describedby":x,className:(0,n.inputClasses)({invalid:!!m})}),m?(0,t.jsx)("p",{id:`prw-err-${o}`,className:(0,n.fieldErrorClasses)(),children:m}):null]},r)})})]},L),(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute left-[-9999px] top-auto h-px w-px overflow-hidden",children:(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,autoComplete:"off","data-1p-ignore":"","data-lpignore":"true","data-bwignore":"true","data-form-type":"other","aria-hidden":"true",value:F,onChange:e=>D(e.target.value)})}),Z?(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(l.default,{ref:J,onToken:e=>{z(e),e&&U("")},onError:()=>U(I.verificationLoadError)})}):null,V?(0,t.jsx)("p",{className:"mt-4 text-sm text-danger",role:"alert",children:V}):null,(0,t.jsxs)("div",{className:"mt-8 flex items-center justify-between gap-4",children:[L>0?(0,t.jsx)(s.default,{type:"button",variant:"ghost",onClick:()=>M(e=>Math.max(e-1,0)),children:I.back}):(0,t.jsx)("span",{}),Z?(0,t.jsx)(s.default,{type:"submit",variant:"primary",loading:"sending"===K,children:"sending"===K?I.submitting:S}):(0,t.jsx)(s.default,{type:"button",variant:"primary",onClick:()=>{let e=ee(L);Object.keys(e).length?et(e):((0,c.event)({action:"pre_register_step",category:"engagement",label:`${y}:step-${L+1}`,value:L+1}),M(e=>Math.min(e+1,v.length-1)))},children:I.continue})]})]})}])},406775,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(945060);e.s(["default",0,function(e){let{labels:l,panels:s,dark:i}=e,[n,o]=(0,r.useState)(0),d=(0,r.useId)();return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{role:"tablist",onKeyDown:e=>{var t;if("ArrowRight"!==e.key&&"ArrowLeft"!==e.key)return;e.preventDefault();let r="ArrowRight"===e.key?(n+1)%l.length:(n-1+l.length)%l.length;o(r),null==(t=document.getElementById(`${d}-tab-${r}
2`))||t.focus()},className:`flex flex-wrap gap-2 border-b ${i?"border-white/20":"border-stroke dark:border-stroke-dark"}`,children:l.map((e,r)=>{let{label:l,className:s}=e;return(0,t.jsx)("button",{id:`${d}-tab-${r}`,role:"tab",type:"button","aria-selected":r===n,"aria-controls":`${d}-panel-${r}`,tabIndex:r===n?0:-1,onClick:()=>o(r),className:(0,a.cn)("-mb-px min-h-11 border-b-2 px-4 py-2.5 text-sm font-semibold transition",r===n?"border-primary text-primary":(0,a.cn)("border-transparent",i?"text-white/70 hover:text-white":"text-body-color hover:text-black dark:hover:text-white"),s),children:l},r)})}),s.map((e,r)=>(0,t.jsx)("div",{id:`${d}-panel-${r}`,role:"tabpanel","aria-labelledby":`${d}-tab-${r}`,hidden:r!==n,className:"pt-6",children:e},r))]})}])},988475,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(914984);e.s(["default",0,function(e){let{videoId:l,title:s,posterNode:i,fallbackPosterUrl:n}=e,[o,d]=(0,r.useState)(!1);return(0,t.jsxs)("div",{className:"relative aspect-video w-full overflow-hidden rounded-img bg-black",children:[o?(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${l}?autoplay=1`,title:s,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"}):(0,t.jsxs)("button",{type:"button",onClick:()=>d(!0),"aria-label":`Play video: ${s}`,className:"group absolute inset-0 h-full w-full",children:[null!=i?i:(0,t.jsx)("img",{src:n,alt:"",loading:"lazy",className:"h-full w-full object-cover"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute inset-0 bg-black/10 transition group-hover:bg-black/20"}),(0,t.jsx)("span",{className:"absolute left-1/2 top-1/2 flex h-16 w-16 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-full bg-white text-primary shadow-elevation-2 transition group-hover:scale-105 sm:h-[72px] sm:w-[72px]",children:(0,t.jsx)(a.PlayIcon,{className:"ml-1 h-7 w-7"})})]}),(0,t.jsx)("noscript",{children:(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${l}`,title:s,allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 h-full w-full border-0"})})]})}])},848988,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(174080),l=e.i(945060),s=e.i(397157),i=e.i(631938),n=e.i(914984);let o=(0,r.createContext)(null);function d(e){var l,o;let{items:d,index:c,onClose:m,onNavigate:u}=e,x=(0,r.useRef)(null),p=(0,r.useRef)(null),h=(0,r.useRef)(null),b=d.length>1,f=d[c];(0,s.useBodyScrollLock)(!0),(0,s.useFocusTrap)(x,!0);let g=(0,r.useCallback)(e=>u((c+e+d.length)%d.length),[c,d.length,u]);return(0,r.useEffect)(()=>{var e;null==(e=p.current)||e.focus()},[]),(0,r.useEffect)(()=>{let e=e=>{"Escape"===e.key?m():b&&"ArrowRight"===e.key?g(1):b&&"ArrowLeft"===e.key&&g(-1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[b,m,g]),(0,a.createPortal)((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.Backdrop,{onClick:m,className:"bg-black/80"}),(0,t.jsxs)("div",{ref:x,role:"dialog","aria-modal":"true","aria-label":f.alt||"Image viewer",className:"fixed inset-0 z-modal flex flex-col items-center justify-center gap-3 p-4",onClick:e=>{e.target===e.currentTarget&&m()},onTouchStart:e=>{var t,r;h.current=null!=(t=null==(r=e.touches[0])?void 0:r.clientX)?t:null},onTouchEnd:e=>{var t,r;if(!b||null===h.current)return;let a=(null!=(t=null==(r=e.changedTouches[0])?void 0:r.clientX)?t:h.current)-h.current;h.current=null,Math.abs(a)>=48&&g(a<0?1:-1)},children:[(0,t.jsx)("button",{ref:p,type:"button",onClick:m,"aria-label":"Close image viewer",className:(0,i.iconButtonClasses)({onDark:!0},"absolute right-4 top-4"),children:(0,t.jsx)(n.XIcon,{className:"h-5 w-5"})}),b?(0,t.jsx)("button",{type:"button",onClick:()=>g(-1),"aria-label":"Previous image",className:(0,i.iconButtonClasses)({onDark:!0},"absolute left-2 top-1/2 -translate-y-1/2 sm:left-4"),children:(0,t.jsx)(n.ChevronLeftIcon,{className:"h-5 w-5"})}):null,b?(0,t.jsx)("button",{type:"button",onClick:()=>
2g(1),"aria-label":"Next image",className:(0,i.iconButtonClasses)({onDark:!0},"absolute right-2 top-1/2 -translate-y-1/2 sm:right-4"),children:(0,t.jsx)(n.ChevronRightIcon,{className:"h-5 w-5"})}):null,(0,t.jsx)("img",{src:f.src,alt:f.alt,width:null!=(l=f.width)?l:void 0,height:null!=(o=f.height)?o:void 0,className:"h-auto max-h-[80vh] w-auto max-w-[92vw] rounded-img object-contain"},f.src),f.caption?(0,t.jsx)("p",{className:"max-w-prose text-center text-body-sm text-white/80",children:f.caption}):null,b?(0,t.jsxs)("p",{"aria-live":"polite",className:"text-caption text-white/70",children:[c+1," / ",d.length]}):null]})]}),document.body)}function c(e){let{items:a,children:l}=e,[s,i]=(0,r.useState)(null),n=(0,r.useCallback)(e=>i(e),[]);return(0,t.jsxs)(o.Provider,{value:n,children:[l,null!==s&&a[s]?(0,t.jsx)(d,{items:a,index:s,onClose:()=>i(null),onNavigate:i}):null]})}function m(e){let{index:a,label:s,className:i,children:d}=e,c=(0,r.useContext)(o);return c?(0,t.jsxs)("button",{type:"button",onClick:()=>c(a),"aria-label":s,className:(0,l.cn)("group relative block cursor-zoom-in",i),children:[d,(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute right-3 top-3 inline-flex h-8 w-8 items-center justify-center rounded-full bg-black/25 text-white opacity-0 transition group-hover:opacity-100 group-focus-visible:opacity-100",children:(0,t.jsx)(n.ExpandIcon,{className:"h-4 w-4"})})]}):(0,t.jsx)(t.Fragment,{children:d})}e.s(["LightboxGroup",0,c,"LightboxTrigger",0,m,"ZoomableImage",0,function(e){let{item:r,className:a,children:l}=e;return(0,t.jsx)(c,{items:[r],children:(0,t.jsx)(m,{index:0,label:`View larger: ${r.alt||"image"}`,className:a,children:l})})}])}]);
3
4//# debugId=89dfde40-63f6-f359-b296-02ef805a63db

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.