1import{i as e,n as t,r as n,t as r}from"./index-BBz9V2Mp.js";var i=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),a=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),o=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),s=e=>{let t=o(e);return t.charAt(0).toUpperCase()+t.slice(1)},c={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},l=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},u=e(n()),d=(0,u.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a=``,children:o,iconNode:s,...d},f)=>(0,u.createElement)(`svg`,{ref:f,...c,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:i(`lucide`,a),...!o&&!l(d)&&{"aria-hidden":`true`},...d},[...s.map(([e,t])=>(0,u.createElement)(e,t)),...Array.isArray(o)?o:[o]])),f=(e,t)=>{let n=(0,u.forwardRef)(({className:n,...r},o)=>(0,u.createElement)(d,{ref:o,iconNode:t,className:i(`lucide-${a(s(e))}`,`lucide-${e}`,n),...r}));return n.displayName=s(e),n},p=f(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),m=f(`award`,[[`path`,{d:`m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526`,key:`1yiouv`}],[`circle`,{cx:`12`,cy:`8`,r:`6`,key:`1vp47v`}]]),h=f(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),g=f(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),_=f(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),v=f(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),y=f(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),b=f(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),x=f(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),S=f(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),C=f(`clipboard-check`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`m9 14 2 2 4-4`,key:`df797q`}]]),ee=f(`clipboard-list`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`,key:`116196`}],[`path`,{d:`M12 11h4`,key:`1jrz19`}],[`path`,{d:`M12 16h4`,key:`n85exb`}],[`path`,{d:`M8 11h.01`,key:`1dfujw`}],[`path`,{d:`M8 16h.01`,key:`18s6g9`}]]),te=f(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),ne=f(`credit-card`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`5`,rx:`2`,key:`ynyp8z`}],[`line`,{x1:`2`,x2:`22`,y1:`10`,y2:`10`,key:`1b3vmo`}]]),re=f(`file-check-corner`,[[`path`,{d:`M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6`,key:`g5mvt7`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`m14 20 2 2 4-4`,key:`15kota`}]]),ie=f(`file-spreadsheet`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M8 13h2`,key:`yr2amv`}],[`path`,{d:`M14 13h2`,key:`un5t4a`}],[`path`,{d:`M8 17h2`,key:`2yhykz`}],[`path`,{d:`M14 17h2`,key:`10kma7`}]]),ae=f(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),oe=f(`folder-open`,[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]),se=f(`gift`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8`,key:`1sqzm4`}],[`path`,{d:`M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5`,key:`kc0143`}],[`rect`,{x:`3`,y:`7`,width:`18`,height:`4`,rx:`1`,key:`1hberx`}]]),ce=f(`graduation-cap`,[[`path`,{d:`M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z`,key:`j76jl0`}],[`path`,{d:`M22 10v6`,key:`1lu8f3`}],[`path`,{d:`M6 12.5V16a6 3 0 0 0 12 0v-3.5`,key:`1r8lef`}]]),le=f(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),ue=f(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}
1]]),de=f(`mail-check`,[[`path`,{d:`M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8`,key:`12jkf8`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`,key:`1ocrg3`}],[`path`,{d:`m16 19 2 2 4-4`,key:`1b14m6`}]]),fe=f(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),pe=f(`printer`,[[`path`,{d:`M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2`,key:`143wyd`}],[`path`,{d:`M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6`,key:`1itne7`}],[`rect`,{x:`6`,y:`14`,width:`12`,height:`8`,rx:`1`,key:`1ue0tg`}]]),me=f(`quote`,[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]),he=f(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),ge=f(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),_e=f(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),ve=f(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),ye=f(`smartphone`,[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`,key:`1yt0o3`}],[`path`,{d:`M12 18h.01`,key:`mhygvu`}]]),be=f(`smile`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M8 14s1.5 2 4 2 4-2 4-2`,key:`1y1vjs`}],[`line`,{x1:`9`,x2:`9.01`,y1:`9`,y2:`9`,key:`yxxnd0`}],[`line`,{x1:`15`,x2:`15.01`,y1:`9`,y2:`9`,key:`1p4y9e`}]]),xe=f(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),Se=f(`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`}]]),Ce=f(`user`,[[`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`,key:`975kel`}],[`circle`,{cx:`12`,cy:`7`,r:`4`,key:`17ys0d`}]]),we=f(`volume-2`,[[`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`}]]),Te=f(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Ee=f(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]),De=(0,u.createContext)({});function Oe(e){let t=(0,u.useRef)(null);return t.current===null&&(t.current=e()),t.current}var ke=typeof window<`u`?u.useLayoutEffect:u.useEffect,Ae=(0,u.createContext)(null);function je(e,t){e.indexOf(t)===-1&&e.push(t)}function Me(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var w=(e,t,n)=>n>t?t:n<e?e:n,T={},Ne=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Pe=e=>typeof e==`object`&&!!e,Fe=e=>/^0[^.\s]+$/u.test(e);function Ie(e){let t;return()=>(t===void 0&&(t=e()),t)}var E=e=>e,Le=(...e)=>e.reduce((e,t)=>
1n=>t(e(n))),Re=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},ze=class{constructor(){this.subscriptions=[]}add(e){return je(this.subscriptions,e),()=>this.remove(e)}remove(e){Me(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},D=e=>e*1e3,O=e=>e/1e3,Be=(e,t)=>t?1e3/t*e:0,Ve=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,He=1e-7,Ue=12;function We(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Ve(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>He&&++s<Ue);return o}function Ge(e,t,n,r){if(e===t&&n===r)return E;let i=t=>We(t,0,1,e,n);return e=>e===0||e===1?e:Ve(i(e),t,r)}var Ke=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,qe=e=>t=>1-e(1-t),Je=Ge(.33,1.53,.69,.99),Ye=qe(Je),Xe=Ke(Ye),Ze=e=>e>=1?1:(e*=2)<1?.5*Ye(e):.5*(2-2**(-10*(e-1))),Qe=e=>1-Math.sin(Math.acos(e)),$e=qe(Qe),et=Ke(Qe),tt=Ge(.42,0,1,1),nt=Ge(0,0,.58,1),rt=Ge(.42,0,.58,1),it=e=>Array.isArray(e)&&typeof e[0]!=`number`,at=e=>Array.isArray(e)&&typeof e[0]==`number`,ot={linear:E,easeIn:tt,easeInOut:rt,easeOut:nt,circIn:Qe,circInOut:et,circOut:$e,backIn:Ye,backInOut:Xe,backOut:Je,anticipate:Ze},st=e=>typeof e==`string`,ct=e=>{if(at(e)){e.length;let[t,n,r,i]=e;return Ge(t,n,r,i)}return st(e)?(ot[e],`${e}`,ot[e]):e},lt=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`];function ut(e){let t=new Set,n=new Set,r=!1,i=!1,a=new Set,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(n.add(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}var dt=40;function ft(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=lt.reduce((e,t)=>(e[t]=ut(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=T.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,dt),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:lt.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<lt.length;t++)o[lt[t]].cancel(e)},state:i,steps:o}}var{schedule:k,cancel:A,state:j,steps:pt}=ft(typeof requestAnimationFrame<`u`?requestAnimationFrame:E,!0),mt;function ht(){mt=void 0}var M={now:()=>(mt===void 0&&M.set(j.isProcessing||T.useManualTiming?j.timestamp:performance.now()),mt),set:e=>{mt=e,queueMicrotask(ht)}},gt=e=>Math.round(e*1e5)/1e5,_t=e=>t=>typeof t==`string`&&t.startsWith(e),vt=_t(`--`),yt=_t(`var(--`),bt=e=>yt(e)?xt.test(e.split(`/*`)[0].trim()):!1,xt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function St(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var Ct={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},wt={...Ct,transform:e=>w(0,1,e)},Tt={...Ct,default:1},Et=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Dt(e){return e==null}var Ot=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,kt=(e,t)=>n=>!!(typeof n==`string`&&Ot.test(n)&&n.startsWith(e)||t&&!Dt(n)&&Object.prototype.hasOwnProperty.call(n,t)),At=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Et);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},jt=e=>w(0,255,e),Mt={...Ct,transform:e=>Math.round(jt(e))},Nt={test:kt(`rgb`,`red`),parse:At(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Mt.transform(e)+`, `+Mt.transform(t)+`, `+Mt.transform(n)+`, `+gt(wt.transform(r))+`)`};function Pt(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:i?parseInt(i,16)/255:1}}var Ft={test:kt(`#`),parse:Pt,transform:Nt.transform},It=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),N=It(`deg`),P=It(`%`),F=It(`px`),Lt=It(`vh`),Rt=It(`vw`),zt={...P,parse:e=>P.parse(e)/100,transform:e=>P.transform(e*100)},Bt={test:kt(`hsl`,`hue`),parse:At(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+P.transform(gt(t))+`, `+P.transform(gt(n))+`, `+gt(wt.transform(r))+`)`},I={test:e=>Nt.test(e)||Ft.test(e)||Bt.test(e),parse:e=>Nt.test(e)?Nt.parse(e):Bt.test(e)?Bt.parse(e):Ft.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Nt.transform(e):Bt.transform(e),getAnimatableNone:e=>{let t=I.parse(e);return t.alpha=0,I.transform(t)}},Vt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Ht=new RegExp(Et.source),Ut=new RegExp(Vt.source,`i`);function Wt(e){return isNaN(e)&&typeof e==`string`&&(Ht.test(e)||Ut.test(e))}var Gt=`number`,Kt=`color`,qt=`var`,Jt=`var(`,Yt="${}",Xt=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Zt(e){let t=e.toString();return Ht.test(t)||Ut.test(t)}function Qt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Xt,e=>(I.test(e)?(r.color.push(a),i.push(Kt),n.push(I.parse(e))):e.startsWith(Jt)?(r.var.push(a),i.push(qt),n.push(e)):(r.number.push(a),i.push(Gt),n.push(parseFloat(e))),++a,Yt)).split(Yt),indexes:r,types:i}}function $t(e){return Qt(e).values}function en({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Gt?gt(r[a]):e===Kt?I.transform(r[a]):r[a]}return i}}function tn(e){return en(Qt(e))}var nn=e=>typeof e==`number`?0:I.test(e)?I.getAnimatableNone(e):e,rn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:nn(e);function an(e){let t=Qt(e);return en(t)(t.values.map((e,n)=>rn(e,t.split[n])))}var L={test:Wt,parse:$t,createTransformer:tn,getAnimatableNone:an};function on(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sn({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=on(s,r,e+1/3),a=on(s,r,e),o=on(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function cn(e,t){return n=>n>0?t:e}var R=(e,t,n)=>e+(t-e)*n,ln=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},un=[Ft,Nt,Bt],dn=e=>un.find(t=>t.test(e));function fn(e){let t=dn(e);if(!t)return`${e}`,!1;let n=t.parse(e);return t===Bt&&(n=sn(n)),n}var pn=(e,t)=>{let n=fn(e),r=fn(t);if(!n||!r)return cn(e,t);let i={...n};return e=>(i.red=ln(n.red,r.red,e),i.green=ln(n.green,r.green,e),i.blue=ln(n.blue,r.blue,e),i.alpha=R(n.alpha,r.alpha,e),Nt.transform(i))},mn=new Set([`none`,`hidden`]);function hn(e,t){return mn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function gn(e,t){return n=>R(e,t,n)}function _n(e){return typeof e==`number`?gn:typeof e==`string`?bt(e)?cn:I.test(e)?pn:xn:Array.isArray(e)?vn:typeof e==`object`?I.test(e)?pn:yn:cn}function vn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>_n(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function yn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=_n(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function bn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var xn=(e,t)=>{let n=L.createTransformer(t),r=Qt(e),i=Qt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?mn.has(e)&&!i.values.length||mn.has(t)&&!r.values.length?hn(e,t):Le(vn(bn(r,i),i.values),n):(`${e}${t}`,cn(e,t))},Sn=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function Cn(e,t){let n=Sn.exec(e);if(!n)return;let r=Sn.exec(t);if(!r||n[2]!==r[2])return;let i=n[2],a=parseFloat(n[1]),o=parseFloat(r[1]);return e=>gt(R(a,o,e))+i}function wn(e,t,n){if(typeof e==`number`&&typeof t==`number`&&typeof n==`
1number`)return R(e,t,n);if(typeof e==`string`&&typeof t==`string`){let n=Cn(e,t);if(n)return n}return _n(e)(e,t)}var Tn=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>k.update(t,e),stop:()=>A(t),now:()=>j.isProcessing?j.timestamp:M.now()}},En=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Dn=2e4;function On(e,t=50,n=Dn,r){let i=0,a=e.next(i);for(r?.push(a.value);!a.done&&i<n;)i+=t,a=e.next(i),r?.push(a.value);return i>=n?1/0:i}function kn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(On(r),Dn);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:O(i)}}var z={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function An(e,t){return e*Math.sqrt(1-t*t)}var jn=12;function Mn(e,t,n){let r=n;for(let n=1;n<jn;n++)r-=e(r)/t(r);return r}var Nn=.001;function Pn({duration:e=z.duration,bounce:t=z.bounce,velocity:n=z.velocity,mass:r=z.mass}){let i,a;z.maxDuration;let o=1-t;o=w(z.minDamping,z.maxDamping,o),e=w(z.minDuration,z.maxDuration,O(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=An(t,o),c=Math.exp(-i);return Nn-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o*o*t*t*e,c=Math.exp(-r),l=An(t*t,o);return(-i(t)+Nn>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Mn(i,a,s);if(e=D(e),isNaN(c))return{stiffness:z.stiffness,damping:z.damping,duration:e};{let t=c*c*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Fn=[`duration`,`bounce`],In=[`stiffness`,`damping`,`mass`];function Ln(e,t){return t.some(t=>e[t]!==void 0)}function Rn(e){let t={velocity:z.velocity,stiffness:z.stiffness,damping:z.damping,mass:z.mass,isResolvedFromDuration:!1,...e};if(!Ln(e,In)&&Ln(e,Fn))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*w(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:z.mass,stiffness:i,damping:a}}else{let n=Pn({...e,velocity:0});t={...t,...n,mass:z.mass},t.isResolvedFromDuration=!0}return t}function zn(e=z.visualDuration,t=z.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},r=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:o,damping:s,mass:c,duration:l,velocity:u,isResolvedFromDuration:d}=Rn({...n,velocity:-O(n.velocity||0)}),f=s/(2*Math.sqrt(o*c)),p=O(Math.sqrt(o/c)),m=f*p,h={target:i,delta:i-r,velocity:u||0,restSpeed:0,restDelta:0},g=()=>{let e=Math.abs(h.delta)<5;h.restSpeed=n.restSpeed||(e?z.restSpeed.granular:z.restSpeed.default),h.restDelta=n.restDelta||(e?z.restDelta.granular:z.restDelta.default)};g();let _,v,y;if(f<1){let e=An(p,f),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};y=()=>{t.A=(h.velocity+m*h.delta)/e,t.sinC=m*t.A+h.delta*e,t.cosC=m*h.delta-t.A*e};let n=n=>{n!==t.t&&(t.t=n,t.env=Math.exp(-m*n),t.sin=Math.sin(e*n),t.cos=Math.cos(e*n))};_=e=>(n(e),h.target-t.env*(t.A*t.sin+h.delta*t.cos)),v=e=>(n(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(f===1){_=e=>h.target-Math.exp(-p*e)*(h.delta+(h.velocity+p*h.delta)*e);let e={C:0};y=()=>{e.C=h.velocity+p*h.delta},v=t=>Math.exp(-p*t)*(p*e.C*t-h.velocity)}else{let e=p*Math.sqrt(f*f-1);_=t=>{let n=Math.exp(-m*t),r=Math.min(e*t,300);return h.target-n*((h.velocity+m*h.delta)*Math.sinh(r)+e*h.delta*Math.cosh(r))/e};let t={P:0,sinh:0,cosh:0};y=()=>{t.P=(h.velocity+m*h.delta)/e,t.sinh=m*t.P-h.delta*e,t.cosh=m*h.delta-t.P*e},v=n=>{let r=Math.exp(-m*n),i=Math.min(e*n,300);return r*(t.sinh*Math.sinh(i)+t.cosh*Math.cosh(i))}}y();let b=!Ln(n,In)&&Ln(n,Fn),x=d&&l||null,S={calculatedDuration:x,retarget:(e,t)=>{h.target=e[e.length-1],h.delta=h.target-e[0],h.velocity=b?0:-O(t),n.restSpeed&&n.restDelta||g(),S.calculatedDuration=x,a.done=!1,y()},velocity:e=>D(v(e)),next:e=>{let t=_(e);if(d)a.done=e>=l;else{let n=D(v(e));a.done=Math.abs(n)<=h.restSpeed&&Math.abs(h.target-t)<=h.restDelta}return a.value=a.done?h.target:t,a},toString:()=>{let e=Math.min(On(S),Dn),t=En(t=>S.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return S}zn.applyToOptions=e=>{let t=kn(e,100,zn);return e.ease=t.ease,e.duration=D(t.duration),e.type=`keyframes`,e};function Bn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=
1500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>e<s||e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>{let t=v(e);f.done=Math.abs(t)<=l,f.value=f.done?_:_+t},b,x,S=e=>{p(f.value)&&(b=e,x=zn({keyframes:[f.value,m(f.value)],velocity:-v(e)/r*1e3,damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return!x&&b===void 0&&(t=!0,y(e),S(e)),b!==void 0&&e>=b?x.next(e-b):(!t&&y(e),f)}}}function Vn(e,t,n){let r=[],i=n||T.mix||wn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Le(Array.isArray(t)?t[n]||E:t,a)),r.push(a)}return r}function Hn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Vn(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Re(e[r],e[r+1],n);return s[r](i)};return n?t=>l(w(e[0],e[a-1],t)):l}function Un(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Re(0,t,r);e.push(R(n,1,i))}}function Wn(e){let t=[0];return Un(t,e.length-1),t}function Gn(e,t){return e.map(e=>e*t)}function Kn(e,t){return e.map(()=>t||rt).splice(0,e.length-1)}function qn({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=it(r)?r.map(ct):ct(r),a={done:!1,value:t[0]};if(t.length===2&&!Array.isArray(i)&&(!n||n.length!==2||n[0]===0&&n[1]===1)){let[n,r]=t,o=n===r?void 0:(T.mix||wn)(n,r);return{calculatedDuration:e,next:t=>(a.value=o?o(i(e>0?w(0,1,t/e):1)):r,a.done=t>=e,a)}}let o=Hn(Gn(n&&n.length===t.length?n:Wn(t),e),t,{ease:Array.isArray(i)?i:Kn(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Jn=5;function Yn(e,t,n){let r=Math.max(t-Jn,0);return Be(n-e(r),t-r)}function Xn(e,t,n=0){return t<=0?n:e.velocity?e.velocity(t):Yn(t=>e.next(t).value,t,e.next(t).value)}var Zn=e=>e!==null;function Qn(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Zn),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var $n={decay:Bn,inertia:Bn,tween:qn,keyframes:qn,spring:zn};function er(e){typeof e.type==`string`&&(e.type=$n[e.type])}function tr(e,t){return{kind:e,animation:t,timestamp:M.now(),frameTimestamp:j.timestamp,frameIsProcessing:j.isProcessing}}function nr(e,t,n){let r=globalThis.__MOTION_INSPECT__;if(r)try{r({...tr(`animation-start`,e),options:n?{...t,...n}:t})}catch{}}function rr(e,t){let n=globalThis.__MOTION_INSPECT__;if(n)try{n({...tr(`layout-animation-start`,e),node:t})}catch{}}var ir=class{constructor(){this.isResolved=!1}get finished(){return this._finished||=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e}),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}},ar=e=>e/100,or=class extends ir{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==M.now()&&this.tick(M.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause(),nr(this,this.options)}initAnimation(){let{options:e}=this;er(e);let{type:t=qn,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||qn;s!==qn&&typeof o[0]!=`number`&&(this.mixKeyframes=Le(ar,wn(o[0],o[1])),o=[0,100]);let c=s(o===e.keyframes?e:{...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=On(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=w(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Bn&&(b.value=Qn(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return O(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O(e)}get time(){return O(this.currentTime)}set time(e){e=D(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){return Xn(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(M.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=O(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Tn,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(M.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}},sr=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function cr(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Et)||[];if(!r)return e;let i=n.replace(r,``),a=+!!sr.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var lr=/\b([a-z-]*)\(.*?\)/gu,ur={...L,getAnimatableNone:e=>{let t=e.match(lr);return t?t.map(cr).join(` `):e}},dr={...L,getAnimatableNone:e=>{let t=L.parse(e);return L.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},fr={...Ct,transform:Math.round},pr={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,rotate:N,pathRotation:N,rotateX:N,rotateY:N,rotateZ:N,scale:Tt,scaleX:Tt,scaleY:Tt,scaleZ:Tt,skew:N,skewX:N,skewY:N,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:wt,originX:zt,originY:zt,originZ:F,zIndex:fr,fillOpacity:wt,strokeOpacity:wt,numOctaves:fr},mr={...pr,color:I,backgroundColor:I,outlineColor:I,fill:I,stroke:I,borderColor:I,borderTopColor:I,borderRightColor:I,borderBottomColor:I,borderLeftColor:I,filter:ur,WebkitFilter:ur,mask:dr,WebkitMask:dr},hr=e=>mr[e],gr=new Set([ur,dr]);function _r(e,t){let n=hr(e);return gr.has(n)||(n=L),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function vr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var B=e=>e*180/Math.PI,yr=e=>xr(B(Math.atan2(e[1],e[0]))),br={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:yr,rotateZ:yr,skewX:e=>B(Math.atan(e[1])),skewY:e=>B(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},xr=e=>(e%=360,e<0&&(e+=360),e),Sr=yr,Cr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),wr=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Tr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Cr,scaleY:wr,scale:e=>(Cr(e)+wr(e))/2,rotateX:e=>xr(B(Math.atan2(e[6],e[5]))),rotateY:e=>xr(B(Math.atan2(-e[2],e[0]))),rotateZ:Sr,rotate:Sr,skewX:e=>B(Math.atan(e[4])),skewY:e=>B(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Er(e){return+!!e.includes(`scale`)}
1function Dr(e,t){if(!e||e===`none`)return Er(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Tr,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=br,i=t}if(!i)return Er(t);let a=r[t],o=i[1].split(`,`).map(kr);return typeof a==`function`?a(o):o[a]}var Or=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Dr(n,t)};function kr(e){return parseFloat(e.trim())}var Ar=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],jr=new Set([...Ar,`pathRotation`]),Mr=e=>e===Ct||e===F,Nr=new Set([`x`,`y`,`z`]),Pr=Ar.filter(e=>!Nr.has(e));function Fr(e){let t=[];return Pr.forEach(n=>{let r=e.getValue(n);if(r!==void 0){let e=r.get(),i=+!!n.startsWith(`scale`);if(e===i)return;t.push([n,e]),r.set(i)}}),t}var Ir=new Set([`bottom`,`right`]);function Lr(e,t,n,r,i,a){let o=parseFloat(e);if(!isNaN(o))return o;let{min:s,max:c}=t()[n],l=c-s;return a===`border-box`?l:l-parseFloat(r)-parseFloat(i)}var V={width:({width:e,paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r},i)=>Lr(e,i,`x`,t,n,r),height:({height:e,paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r},i)=>Lr(e,i,`y`,t,n,r),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{let{y:n}=t();return parseFloat(e)+(n.max-n.min)},right:({left:e},t)=>{let{x:n}=t();return parseFloat(e)+(n.max-n.min)},x:({transform:e})=>Dr(e,`x`),y:({transform:e})=>Dr(e,`y`)};V.translateX=V.x,V.translateY=V.y;var H=new Set,Rr=!1,zr=!1,Br=!1;function Vr(){if(zr){let e=[],t=new Set,n=new Set;H.forEach(r=>{r.needsMeasurement&&(e.push(r),t.add(r.element),Ir.has(r.name)&&n.add(r.element))});let r=new Map;n.forEach(e=>{let t=Fr(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}zr=!1,Rr=!1,H.forEach(e=>e.complete(Br)),H.clear()}function Hr(){H.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(zr=!0)})}function Ur(){Br=!0,Hr(),Vr(),Br=!1}function Wr(e,t,n){if(typeof e==`string`){if(Ne(e)||Fe(e))return parseFloat(e);if(!L.test(e)&&L.test(n))return _r(t,n)}return e??void 0}var Gr=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(H.add(this),Rr||(Rr=!0,k.read(Hr),k.resolveKeyframes(Vr))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=Wr(n.readValue(t,a),t,a);r!==void 0&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}vr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),H.delete(this)}cancel(){this.state===`scheduled`&&(H.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Kr=e=>e.startsWith(`--`);function qr(e,t,n){Kr(t)?e.style.setProperty(t,n):e.style[t]=n}var Jr={};function Yr(e,t){let n=Ie(e);return()=>Jr[t]??n()}var Xr=Yr(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Zr=Yr(()=>{try{document.createElement(`div`).animate({opacity:0}
1,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Qr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,$r={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Qr([0,.65,.55,1]),circOut:Qr([.55,0,1,.45]),backIn:Qr([.31,.01,.66,-.59]),backOut:Qr([.33,1.53,.69,.99])};function ei(e,t){if(e)return typeof e==`function`?Zr()?En(e,t):`ease-out`:at(e)?Qr(e):Array.isArray(e)?e.map(e=>ei(e,t)||$r.easeOut):$r[e]}function ti(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=ei(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function ni(e){return typeof e==`function`&&`applyToOptions`in e}function ri({type:e,...t}){return ni(e)&&Zr()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var ii=class extends ir{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=ri(e);this.animation=ti(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Qn(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),qr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()},nr(this,e,c)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return O(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O(e)}get time(){return O(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=D(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
1inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Xr()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),E):r(this)}},ai={anticipate:Ze,backInOut:Xe,circInOut:et};function oi(e){return e in ai}function si(e){typeof e.ease==`string`&&oi(e.ease)&&(e.ease=ai[e.ease])}var ci=10,li=class extends ii{constructor(e){si(e),er(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new or({...a,autoplay:!1}),s=Math.max(ci,M.now()-this.startTime),c=w(0,ci,s-ci),l=o.sample(s).value,{name:u}=this.options;i&&u&&qr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},ui=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(L.test(e)||e===`0`)&&!e.startsWith(`url(`));function di(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function fi(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=ui(i,t),s=ui(a,t);return!o||!s?(o!==s&&`${t}${i}${a}${o?a:i}`,!1):di(e)||(n===`spring`||ni(n))&&r}function pi(e){e.duration=0,e.type=`keyframes`}var mi=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`]),hi=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function gi(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&hi.test(e[t]))return!0;return!1}var _i=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),vi=Ie(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function yi(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!n||!(mi.has(n)||_i.has(n)))return!1;let c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return vi()&&(mi.has(n)||_i.has(n)&&gi(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var bi=40,xi=class extends ir{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=M.now();let{keyframes:t,name:n,motionValue:r,element:i}=e,a=e;a.autoplay??=!0,a.delay??=0,a.type??=`keyframes`,a.repeat??=0,a.repeatDelay??=0,a.repeatType??=`loop`;let o=i?.KeyframeResolver||Gr;this.keyframeResolver=new o(t,(e,t,n)=>this.onKeyframesResolved(e,t,a,!n),n,r,i),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=M.now();let u=!0;fi(e,i,a,o)||(u=!1,(T.instantAnimations||!s)&&l?.(Qn(e,n,t)),e[0]=e[e.length-1],pi(n),n.repeat=0);let d=r?this.resolvedAt&&this.resolvedAt-this.createdAt>bi?this.resolvedAt:this.createdAt:void 0,{onComplete:f}=n;n.startTime??=d,n.finalKeyframe=t,n.keyframes=e,n.onComplete=()=>{f?.(),this.notifyFinished()};let p=u&&!c&&yi(n),m;if(p){n.element=n.motionValue?.owner?.current;try{m=new li(n)}catch{m=new or(n)}}else m=new or(n);this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this._animation.finished:super.finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ur()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Si(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Ci=30,wi=e=>!isNaN(parseFloat(e)),Ti={current:void 0},Ei=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=M.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=M.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=wi(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){var n;return e===`change`?this.onChangeSubscribe(t):((n=this.events)[e]||(n[e]=new ze)).add(t)}onChangeSubscribe(e){let{events:t}=this;return!t.change&&!this.changeSubscriber?this.changeSubscriber=e:(t.change||(t.change=new ze,t.change.add(this.changeSubscriber),this.changeSubscriber=void 0),t.change.add(e)),()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:t.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){k.read(()=>{!this.changeSubscriber&&!this.events.change?.getSize()&&this.stop()})}clearListeners(){this.changeSubscriber=void 0;for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:e,changeSubscriber:t}=this;t?t(e):this.events.change?.notify(e)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Ti.current&&Ti.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=M.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Ci)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Ci);return Be(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0;let n=!1,r;r=e(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===r&&this.clearAnimation(),t()}),n||(this.animation=r),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Di(e,t){return new Ei(e,t)}function Oi(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function ki(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Oi(n,e)}var Ai={type:`spring`,stiffness:500,damping:25,restSpeed:10},ji=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Mi={type:`keyframes`,duration:.8},Ni={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Pi=(e,{keyframes:t})=>t.length>2?Mi:jr.has(e)?e.startsWith(`scale`)?ji(t[1]):Ai:Ni,Fi=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Ii(e){for(let t in e)if(!Fi.has(t))return!0;return!1}var Li=(e,t,n,r={},i,a)=>o=>{let s=ki(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=D(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Ii(s)||Object.assign(u,Pi(e,u)),u.duration&&=D(u.duration),u.repeatDelay&&=D(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(pi(u),u.delay===0&&(
1d=!0)),(T.instantAnimations||T.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,pi(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Qn(u.keyframes,s);if(e!==void 0){k.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new or(u):new xi(u)},Ri=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function zi(e){let t=Ri.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Bi(e,t,n=1){`${e}`;let[r,i]=zi(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Ne(e)?parseFloat(e):e}return bt(i)?Bi(i,t,n+1):i}function Vi(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Hi(e,t,n,r){if(typeof t==`function`){let[i,a]=Vi(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Vi(r);t=t(n===void 0?e.custom:n,i,a)}return t}function U(e,t,n){let r=e.getProps();return Hi(r,t,n===void 0?r.custom:n,e)}var Ui=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ar]),Wi=e=>Array.isArray(e);function Gi(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Di(n))}function Ki(e){return Wi(e)?e[e.length-1]||0:e}function qi(e,t){let{transitionEnd:n={},transition:r={},...i}=U(e,t)||{};i={...i,...n};for(let t in i)Gi(e,t,Ki(i[t]))}var W=e=>!!(e&&e.getVelocity);function Ji(e){return!!(W(e)&&e.add)}function Yi(e,t){let n=e.getValue(`willChange`);if(Ji(n))return n.add(t);if(!n&&T.WillChange){let n=new T.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Xi(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Zi=`data-`+Xi(`framerAppearId`);function Qi(e){return e.props[Zi]}var $i=typeof window<`u`;function ea({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ta(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Oi(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&ea(f,t))continue;let o={delay:n,...ki(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){k.update(()=>r.set(i));continue}let p=!1;if($i&&window.MotionHandoffAnimation){let n=Qi(e);if(n){let e=window.MotionHandoffAnimation(n,t,k);e!==null&&(o.startTime=e,p=!0)}}Yi(e,t);let m=l??e.shouldReduceMotion;r.start(Li(t,r,i,m&&Ui.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>k.update(()=>{o&&qi(e,o)});d.length?Promise.all(d).then(t):t()}return d}function na(e,t,n={}){let r=U(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(ta(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return ra(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function ra(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(na(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Si(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function ia(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>
1na(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=na(e,t,n);else{let i=typeof t==`function`?U(e,t,n.custom):t;r=Promise.all(ta(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var aa={test:e=>e===`auto`,parse:e=>e},oa=e=>t=>t.test(e),sa=[Ct,F,P,N,Rt,Lt,aa],ca=e=>sa.find(oa(e));function la(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||Fe(e)}var ua=new Set([`auto`,`none`,`0`]);function da(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!ua.has(t)&&Zt(t)&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]!==i&&(e[r]=_r(n,i))}var fa=class extends Gr{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),bt(r))){let i=Bi(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Ui.has(n)||e.length!==2)return;let[r,i]=e;if(typeof r==`number`&&typeof i==`number`)return;let a=ca(r),o=ca(i);if(St(r)!==St(i)&&V[n]){this.needsMeasurement=!0;return}if(a!==o)if(Mr(a)&&Mr(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else V[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||la(e[t]))&&n.push(t);n.length&&da(e,n,t)}measure(){let{element:e,name:t}=this;return V[t](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&this.motionValue?.jump(r,!1)}measureEndState(){let{element:e,unresolvedKeyframes:t}=this;if(!e||!e.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let n=t.length-1,r=t[n];t[n]=this.measure(),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},pa=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`];function ma(e){return Pe(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function ha(e){return Pe(e)&&`ownerSVGElement`in e}var ga=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function _a(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var va={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},ya=Ar.length;function ba(e,t,n){let r=``,i=!0;for(let a=0;a<ya;a++){let o=Ar[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=ga(s,pr[o]);if(!c){i=!1;let t=va[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${ga(a,pr.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function xa(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(jr.has(e)){o=!0;continue}if(vt(e)){i[e]=n;continue}{let t=ga(n,pr[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=ba(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var Sa={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Ca={offset:`strokeDashoffset`,array:`strokeDasharray`};function wa(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Sa:Ca;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Ta=[`transform`,`opacity`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Ea(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(xa(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;for(let e of Ta)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&wa(d,i,a,o,!1)}function Da({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Oa({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function ka(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Aa(e){return e===void 0||e===1}function ja({scale:e,scaleX:t,scaleY:n}){return!Aa(e)||!Aa(t)||!Aa(n)}function Ma(e){return ja(e)||Na(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Na(e){return Pa(e.x)||Pa(e.y)}function Pa(e){return e&&e!==`0%`}function Fa(e,t,n){return n+t*(e-n)}function Ia(e,t,n,r,i){return i!==void 0&&(e=Fa(e,i,r)),Fa(e,n,r)+t}function La(e,t=0,n=1,r,i){e.min=Ia(e.min,t,n,r,i),e.max=Ia(e.max,t,n,r,i)}function Ra(e,{x:t,y:n}){La(e.x,t.translate,t.scale,t.originPoint),La(e.y,n.translate,n.scale,n.originPoint)}var za=.999999999999,Ba=1.0000000000001;function Va(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(G(e.x,-a.scroll.offset.x),G(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ra(e,o)),r&&Ma(a.latestValues)&&Wa(e,a.latestValues,a.layout?.layoutBox))}t.x<Ba&&t.x>za&&(t.x=1),t.y<Ba&&t.y>za&&(t.y=1)}function G(e,t){e.min+=t,e.max+=t}function Ha(e,t,n,r,i=.5){La(e,t,n,R(e.min,e.max,i),r)}function Ua(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Wa(e,t,n){let r=n??e;Ha(e.x,Ua(t.x,r.x),t.scaleX,t.scale,t.originX),Ha(e.y,Ua(t.y,r.y),t.scaleY,t.scale,t.originY)}function Ga(e,t){return Da(ka(e.getBoundingClientRect(),t))}function Ka(e,t,n){let r=Ga(e,n),{scroll:i}=t;return i&&(G(r.x,i.offset.x),G(r.y,i.offset.y)),r}var{schedule:qa,cancel:Ja}=ft(queueMicrotask,!1),K={x:!1,y:!1};function Ya(){return K.x||K.y}function Xa(e){return e===`x`||e===`y`?K[e]?null:(K[e]=!0,()=>{K[e]=!1}):K.x||K.y?null:(K.x=K.y=!0,()=>{K.x=K.y=!1})}function Za(e,t){let n=_a(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Qa(e){return!(e.pointerType===`touch`||Ya())}function $a(e,t,n={}){let[r,i,a]=Za(e,n);
1return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Qa(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var eo=(e,t)=>t?e===t||eo(e,t.parentElement):!1,to=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,no=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function ro(e){return no.has(e.tagName)||e.isContentEditable===!0}var io=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function ao(e){return io.has(e.tagName)||e.isContentEditable===!0}var oo=new WeakSet;function so(e){return t=>{t.key===`Enter`&&e(t)}}function co(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var lo=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=so(()=>{if(oo.has(n))return;co(n,`down`);let e=so(()=>{co(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>co(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function uo(e){return to(e)&&!Ya()}var fo=new WeakSet;function po(e,t,n={}){let[r,i,a]=Za(e,n),o=e=>{let r=e.currentTarget;if(!uo(e)||fo.has(e))return;oo.add(r),n.stopPropagation&&fo.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),oo.has(r)&&oo.delete(r),uo(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||eo(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),ma(e)&&(e.addEventListener(`focus`,e=>lo(e,i)),!ro(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var mo=new WeakMap,ho,go=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:ha(r)&&`getBBox`in r?r.getBBox()[t]:r[n],_o=go(`inline`,`width`,`offsetWidth`),vo=go(`block`,`height`,`offsetHeight`);function yo({target:e,borderBoxSize:t}){mo.get(e)?.forEach(n=>{n(e,{get width(){return _o(e,t)},get height(){return vo(e,t)}})})}function bo(e){e.forEach(yo)}function xo(){typeof ResizeObserver>`u`||(ho=new ResizeObserver(bo))}function So(e,t){ho||xo();let n=_a(e);return n.forEach(e=>{let n=mo.get(e);n||(n=new Set,mo.set(e,n)),n.add(t),ho?.observe(e)}),()=>{n.forEach(e=>{let n=mo.get(e);n?.delete(t),n?.size||ho?.unobserve(e)})}}var Co=new Set,wo;function To(){wo=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Co.forEach(t=>t(e))},window.addEventListener(`resize`,wo)}function Eo(e){return Co.add(e),wo||To(),()=>{Co.delete(e),!Co.size&&typeof wo==`function`&&(window.removeEventListener(`resize`,wo),wo=void 0)}}function Do(e,t){return typeof e==`function`?Eo(e):So(e,t)}var Oo={value:null,addProjectionMetrics:null};function ko(e){return ha(e)&&e.tagName===`svg`}var Ao=()=>({translate:0,scale:1,origin:0,originPoint:0}),jo=()=>({x:Ao(),y:Ao()}),Mo=()=>({min:0,max:0}),q=()=>({x:Mo(),y:Mo()}),No=new WeakMap;function Po(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Fo(e){return typeof e==`string`||Array.isArray(e)}var Io=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Lo=[`initial`,...Io];function Ro(e){if(Po(e.animate))return!0;for(let t=0;t<Lo.length;t++)if(Fo(e[Lo[t]]))return!0;return!1}function zo(e){return!!(Ro(e)||e.variants)}function Bo(e,t,n){for(let r in t){let i=t[r],a=n[r];if(W(i))e.addValue(r,i);else if(W(a))e.addValue(r,Di(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Di(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Vo={current:null},Ho={current:!1},Uo=typeof window<`u`;function Wo(){if(Ho.current=!0,Uo)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Vo.current=e.matches;e.addEventListener(`change`,t),t()}else Vo.current=!1}var Go=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Ko={};function qo(e){Ko=e}function Jo(){return Ko}var Yo=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Gr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=M.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,k.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Ro(t),this.isVariantNode=zo(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&W(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,No.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Ho.current||Wo(),this.shouldReduceMotion=Vo.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),A(this.notifyUpdate),A(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&mi.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new ii({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:D(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=jr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&k.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Ko){let t=Ko[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):q()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Go.length;t++){let n=Go[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Bo(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Di(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Ne(n)||Fe(n))?n=parseFloat(n):typeof n!=`number`&&!L.test(n)&&L.test(t)&&(n=_r(e,t)),this.setBaseTarget(e,W(n)?n.get():n)),W(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Hi(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!W(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new ze),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){qa.render(this.render)}},Xo=class extends Yo{constructor(){super(...arguments),this.KeyframeResolver=fa}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;W(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},J=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Zo(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Qo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var $o={correct:(e,t)=>
1{if(!t.target)return e;if(typeof e==`string`)if(F.test(e))e=parseFloat(e);else return e;return`${Qo(e,t.target.x)}% ${Qo(e,t.target.y)}%`}},es={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=L.parse(e);if(i.length>5)return r;let a=L.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=R(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},ts={borderRadius:{...$o,applyTo:[...pa]},borderTopLeftRadius:$o,borderTopRightRadius:$o,borderBottomLeftRadius:$o,borderBottomRightRadius:$o,boxShadow:es};function ns(e,{layout:t,layoutId:n}){return jr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!ts[e]||e===`opacity`)}function rs(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(W(r[t])||i&&W(i[t])||ns(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function is(e){return window.getComputedStyle(e)}var as=class extends Xo{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Zo}mount(e){e.style,super.mount(e)}readValueFromInstance(e,t){if(jr.has(t))return this.projection?.isProjecting?Er(t):Or(e,t);{let n=is(e),r=(vt(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ga(e,t)}build(e,t,n){xa(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return rs(e,t,n)}},os=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),ss=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function cs(e,t,n,r){Zo(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(os.has(n)?n:Xi(n),t.attrs[n])}function ls(e,t,n){let r=rs(e,t,n);for(let n in e)if(W(e[n])||W(t[n])){let t=Ar.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var us=class extends Xo{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=q}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(jr.has(t)){let e=hr(t);return e&&e.default||0}if(Ta.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=os.has(t)?t:Xi(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return ls(e,t,n)}
1build(e,t,n){Ea(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){cs(e,t,n,r)}mount(e){this.isSVGTag=ss(e.tagName),super.mount(e)}},ds=Lo.length;function fs(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&fs(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<ds;n++){let r=Lo[n],i=e.props[r];(Fo(i)||i===!1)&&(t[r]=i)}return t}function ps(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var ms=[...Io].reverse(),hs=Io.length;function gs(e){return t=>Promise.all(t.map(({animation:t,options:n})=>ia(e,t,n)))}function _s(e){let t=gs(e),n=bs(),r=!0,i=!1,a=t=>(n,r)=>{let i=U(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=fs(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<hs;t++){let p=ms[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Fo(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Po(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=vs(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:ee={}}=m,te={...ee,...C},ne=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in te){let t=C[e],n=ee[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Wi(t)&&Wi(n)?!ps(t,n)||y:t!==n,r?t==null?u.add(e):ne(e):t!==void 0&&u.has(e)?ne(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let re=v&&y;b&&(!re||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!re&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=U(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Si(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=U(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=bs(),i=!0}}}function vs(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!ps(t,e):!1}function ys(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bs(){return{animate:ys(!0),whileInView:ys(),whileHover:ys(),whileTap:ys(),whileDrag:ys(),whileFocus:ys(),exit:ys()}}function xs(e,t){e.min=t.min,e.max=t.max}function Y(e,t){xs(e.x,t.x),xs(e.y,t.y)}function Ss(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Cs=.9999,ws=1.0001,Ts=-.01,Es=.01;function X(e){return e.max-e.min}function Ds(e,t,n){return Math.abs(e-t)<=n}function Os(e,t,n,r=.5){e.origin=r,e.originPoint=R(t.min,t.max,e.origin),e.scale=X(n)/X(t),e.translate=R(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Cs&&e.scale<=ws||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ts&&e.translate<=Es||isNaN(e.translate))&&(e.translate=0)}function ks(e,t,n,r){Os(e.x,t.x,n.x,r?r.originX:void 0),Os(e.y,t.y,n.y,r?r.originY:void 0)}function As(e,t,n,r=0){e.min=(r?R(n.min,n.max,r):n.min)+t.min,e.max=e.min+X(t)}function js(e,t,n,r){As(e.x,t.x,n.x,r?.x),As(e.y,t.y,n.y,r?.y)}function Ms(e,t,n,r=0){let i=r?R(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+X(t)}function Ns(e,t,n,r){Ms(e.x,t.x,n.x,r?.x),Ms(e.y,t.y,n.y,r?.y)}function Ps(e,t,n,r,i){return e-=t,e=Fa(e,1/n,r),i!==void 0&&(e=Fa(e,1/i,r)),e}function Fs(e,t=0,n=1,r=.5,i,a=e,o=e){if(P.test(t)&&(t=parseFloat(t),t=R(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=R(a.min,a.max,r);e===a&&(s-=t),e.min=Ps(e.min,t,n,s,i),e.max=Ps(e.max,t,n,s,i)}function Is(e,t,[n,r,i],a,o){Fs(e,t[n],t[r],t[i],t.scale,a,o)}var Ls=[`x`,`scaleX`,`originX`],Rs=[`y`,`scaleY`,`originY`];function zs(e,t,n,r){Is(e.x,t,Ls,n?n.x:void 0,r?r.x:void 0),Is(e.y,t,Rs,n?n.y:void 0,r?r.y:void 0)}function Bs(e){return e.translate===0&&e.scale===1}function Vs(e){return Bs(e.x)&&Bs(e.y)}function Hs(e,t){return e.min===t.min&&e.max===t.max}function Us(e,t){return Hs(e.x,t.x)&&Hs(e.y,t.y)}function Ws(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Gs(e,t){return Ws(e.x,t.x)&&Ws(e.y,t.y)}function Ks(e){return X(e.x)/X(e.y)}function qs(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Z(e){return[e(`x`),e(`y`)]}
1function Js(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Ys=pa.length,Xs=e=>typeof e==`string`?parseFloat(e):e,Zs=e=>typeof e==`number`||F.test(e);function Qs(e,t,n,r,i,a){i?(e.opacity=R(0,n.opacity??1,ec(r)),e.opacityExit=R(t.opacity??1,0,tc(r))):a&&(e.opacity=R(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ys;i++){let a=pa[i],o=$s(t,a),s=$s(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||Zs(o)===Zs(s)?(e[a]=Math.max(R(Xs(o),Xs(s),r),0),(P.test(s)||P.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=R(t.rotate||0,n.rotate||0,r))}function $s(e,t){return e[t]===void 0?e.borderRadius:e[t]}var ec=nc(0,.5,$e),tc=nc(.5,.95,E);function nc(e,t,n){return r=>r<e?0:r>t?1:n(Re(e,t,r))}function rc(e,t,n){let r=W(e)?e:Di(e);return r.start(Li(``,r,t,n)),r.animation}function ic(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var ac=(e,t)=>e.depth-t.depth,oc=class{constructor(){this.children=[],this.isDirty=!1}add(e){je(this.children,e),this.isDirty=!0}remove(e){Me(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ac),this.isDirty=!1,this.children.forEach(e)}};function sc(e,t){let n=M.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(A(r),e(a-t))};return k.setup(r,!0),()=>A(r)}function cc(e){return W(e)?e.get():e}var lc=class{constructor(){this.members=[]}add(e){je(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Me(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Me(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},uc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},dc={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},fc=[``,`X`,`Y`,`Z`],pc=1e3,mc=0;function hc(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function gc(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Qi(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,k,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&gc(r)}function _c({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=mc++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Oo.value&&(dc.nodes=dc.calculatedTargetDeltas=dc.calculatedProjections=0),this.nodes.forEac
1h(bc),this.nodes.forEach(kc),this.nodes.forEach(Ac),this.nodes.forEach(xc),Oo.addProjectionMetrics&&Oo.addProjectionMetrics(dc)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new oc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ze),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=ha(t)&&!ko(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;k.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=sc(i,250),uc.hasAnimatedSinceResize&&(uc.hasAnimatedSinceResize=!1,this.nodes.forEach(Oc)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||Lc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Gs(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...ki(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||Oc(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),A(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(jc),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&gc(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(wc),this.nodes.forEach(Cc);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Tc);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
1h(Ec),this.nodes.forEach(Dc),this.nodes.forEach(vc),this.nodes.forEach(yc)):this.nodes.forEach(Tc),this.clearAllSnapshots();let e=M.now();j.delta=w(0,1e3/60,e-j.timestamp),j.timestamp=e,j.isProcessing=!0,pt.update.process(j),pt.preRender.process(j),pt.render.process(j),j.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,qa.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Sc),this.sharedNodes.forEach(Mc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,k.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){k.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!X(this.snapshot.measuredBox.x)&&!X(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=q(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Vs(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Ma(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),Vc(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return q();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Uc))){let{scroll:e}=this.root;e&&(G(t.x,e.offset.x),G(t.y,e.offset.y))}return t}removeElementScroll(e){let t=q();if(Y(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Y(t,e),G(t.x,i.offset.x),G(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||q();Y(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(G(r.x,-n.scroll.offset.x),G(r.y,-n.scroll.offset.y)),Ma(n.latestValues)&&Wa(r,n.latestValues,n.layout?.layoutBox)}return Ma(this.latestValues)&&Wa(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=q();Y(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Ma(n.latestValues))continue;let r;n.instance&&(ja(n.latestValues)&&n.updateSnapshot(),r=q(),Y(r,n.measurePageBox())),zs(t,n.latestValues,n.snapshot?.layoutBox,r)}return Ma(this.latestValues)&&zs(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==j.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
1if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=j.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=q(),this.targetWithTransforms=q()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),js(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Y(this.target,this.layout.layoutBox),Ra(this.target,this.targetDelta)):Y(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Oo.value&&dc.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||ja(this.parent.latestValues)||Na(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=q(),this.relativeTargetOrigin=q(),Ns(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Y(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===j.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Y(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Va(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=q());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ss(this.prevProjectionDelta.x,this.projectionDelta.x),Ss(this.prevProjectionDelta.y,this.projectionDelta.y)),ks(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!qs(this.projectionDelta.x,this.prevProjectionDelta.x)||!qs(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Oo.value&&dc.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=jo(),this.projectionDelta=jo(),this.projectionDeltaWithTransform=jo()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=jo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=q(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(Ic));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=R(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=R(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(Nc(o.x,e.x,n),Nc(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ns(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Fc(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&Us(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=q(),Y(f,this.relativeTarget)),c&&(this.animationValues=a,Qs(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(A(this.pendingAnimation),void 0),this.pendingAnimation=k.update(()=>{uc.hasAnimatedSinceResize=!0,this.motionValue||=Di(0),this.motionValue.jump(0,!1),this.currentAnimation=rc(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),rr(this.currentAnimation,this),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(pc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,layout:n,latestValues:r}=e,{target:i}=e;
1if(!(!t||!i||!n)){if(this!==e&&this.layout&&n&&Hc(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||q();let t=X(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=X(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}Y(t,i),Wa(t,r),ks(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new lc),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&hc(`z`,e,r,this.animationValues);for(let t=0;t<fc.length;t++)hc(`rotate${fc[t]}`,e,r,this.animationValues),hc(`skew${fc[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=cc(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=cc(t?.pointerEvents)||``),this.hasProjected&&!Ma(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Js(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in ts){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=ts[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?cc(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Cc),this.root.sharedNodes.clear()}}}function vc(e){e.updateLayout()}function yc(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Z(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=X(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;xs(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Hc(i,t.layoutBox,n)&&Z(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=X(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=jo();ks(o,n,t.layoutBox);let s=jo();a?ks(s,e.applyTransform(r,!0),t.measuredBox):ks(s,n,t.layoutBox);let c=!Vs(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=q();
1Ns(s,t.layoutBox,i.layoutBox,o);let c=q();Ns(c,n,a.layoutBox,o),Gs(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function bc(e){Oo.value&&dc.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function xc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Sc(e){e.clearSnapshot()}function Cc(e){e.clearMeasurements()}function wc(e){e.isLayoutDirty=!0,e.updateLayout()}function Tc(e){e.isLayoutDirty=!1}function Ec(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Dc(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Oc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function kc(e){e.resolveTargetDelta()}function Ac(e){e.calcProjection()}function jc(e){e.resetSkewAndRotation()}function Mc(e){e.removeLeadSnapshot()}function Nc(e,t,n){e.translate=R(t.translate,0,n),e.scale=R(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Pc(e,t,n,r){e.min=R(t.min,n.min,r),e.max=R(t.max,n.max,r)}function Fc(e,t,n,r){Pc(e.x,t.x,n.x,r),Pc(e.y,t.y,n.y,r)}function Ic(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Lc={duration:.45,ease:[.4,0,.1,1]},Rc=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),zc=Rc(`applewebkit/`)&&!Rc(`chrome/`)?Math.round:E;function Bc(e){e.min=zc(e.min),e.max=zc(e.max)}function Vc(e){Bc(e.x),Bc(e.y)}function Hc(e,t,n){return e===`position`||e===`preserve-aspect`&&!Ds(Ks(t),Ks(n),.2)}function Uc(e){return e!==e.root&&e.scroll?.wasRoot}var Wc=_c({attachResizeListener:(e,t)=>ic(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Gc={current:void 0},Kc=_c({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Gc.current){let e=new Wc({});e.mount(window),e.setOptions({layoutScroll:!0}),Gc.current=e}return Gc.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),qc=(0,u.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function Jc(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Yc(...e){return t=>{let n=!1,r=e.map(e=>{let r=Jc(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Jc(e[t],null)}}}}function Xc(...e){return u.useCallback(Yc(...e),e)}var Q=t(),Zc=class extends u.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(ma(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=ma(e)&&e.offsetWidth||0,r=ma(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}};function Qc({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,u.useId)(),s=(0,u.useRef)(null),c=(0,u.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,u.useContext)(qc),d=Xc(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,u.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(` 2 [data-motion-pop-id="${o}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${u}px !important; 6 ${_}px !important; 7 ${v}px !important; 8 } 9 `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,Q.jsx)(Zc,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:u.cloneElement(e,{ref:d})})}var $c=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let d=Oe(el),f=(0,u.useId)(),p=(0,u.useRef)(n),m=(0,u.useRef)(r);ke(()=>{p.current=n,m.current=r});let h=!0,g=(0,u.useMemo)(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:e=>{d.set(e,!0);for(let e of d.values())if(!e)return;r&&r()},register:e=>(d.set(e,!1),()=>{d.delete(e),!p.current&&!d.size&&m.current?.()})}),[n,d,r]);return a&&h&&(g={...g}),(0,u.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[n]),u.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=(0,Q.jsx)(Qc,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,Q.jsx)(Ae.Provider,{value:g,children:e})};function el(){return new Map}function tl(e=!0){let t=(0,u.useContext)(Ae);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,u.useId)();(0,u.useEffect)(()=>
9{if(e)return i(a)},[e]);let o=(0,u.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var nl=e=>e.key||``;function rl(e){let t=[];return u.Children.forEach(e,e=>{(0,u.isValidElement)(e)&&t.push(e)}),t}var il=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[d,f]=tl(o),p=(0,u.useMemo)(()=>rl(e),[e]),m=o&&!d?[]:p.map(nl),h=(0,u.useRef)(!0),g=(0,u.useRef)(p),_=Oe(()=>new Map),v=(0,u.useRef)(new Set),[y,b]=(0,u.useState)(p),[x,S]=(0,u.useState)(p);ke(()=>{o&&!d&&!x.length&&f?.()},[d,o,x.length,f]),ke(()=>{h.current=!1,g.current=p;for(let e=0;e<x.length;e++){let t=nl(x[e]);m.includes(t)?(_.delete(t),v.current.delete(t)):_.get(t)!==!0&&_.set(t,!1)}},[x,m.length,m.join(`-`)]);let C=[];if(p!==y){let e=[...p],t=0;for(let n of x){let r=m.indexOf(nl(n));r===-1?(e.splice(t++,0,n),C.push(n)):t=r+C.length+1}return a===`wait`&&C.length&&(e=C),S(rl(e)),b(p),null}let{forceRender:ee}=(0,u.useContext)(De);return(0,Q.jsx)(Q.Fragment,{children:x.map(e=>{let u=nl(e),y=o&&!d?!1:p===x||m.includes(u);return(0,Q.jsx)($c,{isPresent:y,initial:!h.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(v.current.has(u))return;if(_.has(u))v.current.add(u),_.set(u,!0);else return;let e=!0;_.forEach(t=>{t||(e=!1)}),e&&(ee?.(),S(g.current),o&&f?.(),r&&r())},anchorX:s,anchorY:c,children:e},u)})})},al=(0,u.createContext)({strict:!1}),ol={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},sl=!1;function cl(){if(sl)return;let e={};for(let t in ol)e[t]={isEnabled:e=>ol[t].some(t=>!!e[t])};qo(e),sl=!0}function ll(){return cl(),Jo()}function ul(e){let t=ll();for(let n in e)t[n]={...t[n],...e[n]};qo(t)}var dl=(0,u.createContext)({});function fl(e,t){if(Ro(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Fo(t)?t:void 0,animate:Fo(n)?n:void 0}}return e.inherit===!1?{}:t}function pl(e){let{initial:t,animate:n}=fl(e,(0,u.useContext)(dl));return(0,u.useMemo)(()=>({initial:t,animate:n}),[ml(t),ml(n)])}function ml(e){return Array.isArray(e)?e.join(` `):e}var hl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function gl(e,t,n){for(let r in t)!W(t[r])&&!ns(r,n)&&(e[r]=t[r])}function _l({transformTemplate:e},t){return(0,u.useMemo)(()=>{let n=hl();return xa(n,t,e),Object.assign({},n.vars,n.style)},[t])}function vl(e,t){let n=e.style||{},r={};return gl(r,n,e),Object.assign(r,_l(e,t)),r}function yl(e,t){let n={},r=vl(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var bl=()=>({...hl(),attrs:{}});function xl(e,t,n,r){let i=(0,u.useMemo)(()=>{let n=bl();return Ea(n,t,ss(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};gl(t,e.style,e),i.style={...t,...i.style}}return i}var Sl=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`));function Cl(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Sl.has(e)}function wl(e,t){return e.startsWith(`on`)?!Cl(e):t?.(e)??!Cl(e)}function Tl(e,t,n,r){let i={};
9for(let a in e)(a!==`values`||typeof e.values!=`object`)&&(W(e[a])||(wl(a,r)||n===!0&&Cl(a)||!t&&!Cl(a)||e.draggable&&a.startsWith(`onDrag`))&&(i[a]=e[a]));return i}var El=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`];function Dl(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(El.indexOf(e)>-1||/[A-Z]/u.test(e))}function Ol(e,t,n,{latestValues:r},i,a=!1,o,s){let c=(o??Dl(e)?xl:yl)(t,r,i,e),l=Tl(t,typeof e==`string`,a,s),d=e===u.Fragment?{}:{...l,...c,ref:n},{children:f}=t,p=(0,u.useMemo)(()=>W(f)?f.get():f,[f]);return(0,u.createElement)(e,{...d,children:p})}function kl({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Al(n,r,i,e),renderState:t()}}function Al(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=cc(a[e]);let{initial:o,animate:s}=e,c=Ro(e),l=zo(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Po(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Hi(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var jl=e=>(t,n)=>{let r=(0,u.useContext)(dl),i=(0,u.useContext)(Ae),a=()=>kl(e,t,r,i);return n?a():Oe(a)},Ml=jl({scrapeMotionValuesFromProps:rs,createRenderState:hl}),Nl=jl({scrapeMotionValuesFromProps:ls,createRenderState:bl}),Pl=Symbol.for(`motionComponentSymbol`);function Fl(e,t,n){let r=(0,u.useRef)(n);(0,u.useInsertionEffect)(()=>{r.current=n});let i=(0,u.useRef)(null);return(0,u.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var Il=(0,u.createContext)({});function Ll(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function Rl(e,t,n,r,i,a){let{visualElement:o}=(0,u.useContext)(dl),s=(0,u.useContext)(al),c=(0,u.useContext)(Ae),l=(0,u.useContext)(qc),d=l.reducedMotion,f=l.skipAnimations,p=(0,u.useRef)(null),m=(0,u.useRef)(!1);r||=s.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:a}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let h=p.current,g=(0,u.useContext)(Il);h&&!h.projection&&i&&(h.type===`html`||h.type===`svg`)&&zl(p.current,n,i,g);let _=(0,u.useRef)(!1);(0,u.useInsertionEffect)(()=>{h&&_.current&&h.update(n,c)});let v=n[Zi],y=(0,u.useRef)(!!v&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return ke(()=>{m.current=!0,h&&(_.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),y.current&&h.animationState&&h.animationState.animateChanges())}),(0,u.useEffect)(()=>{h&&(!y.current&&h.animationState&&h.animationState.animateChanges(),y.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),!1),h.enteringChildren=void 0)}),h}function zl(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:Bl(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&Ll(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function Bl(e){if(e)return e.options.allowProjection===!1?Bl(e.parent):e.projection}function Vl(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&ul(r);let a=n?n===`svg`:Dl(e),o=a?Nl:Ml;function s(n,s){let c,l={...(0,u.useContext)(qc),...n,layoutId:Hl(n)},{isStatic:d,isValidProp:f}=l,p=pl(n),m=o(n,d);if(!d&&typeof window<`u`){Ul(l,r);let t=Wl(l);c=t.MeasureLayout,p.visualElement=Rl(e,m,l,i,t.ProjectionNode,a)}return(0,Q.jsxs)(dl.Provider,{value:p,children:[c&&p.visualElement?(0,Q.jsx)(c,{visualElement:p.visualElement,...l}):null,Ol(e,n,Fl(m,p.visualElement,s),m,d,t,a,f)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,u.forwardRef)(s);return c[Pl]=e,c}function Hl({layoutId:e}){let t=(0,u.useContext)(De).id;return t&&e!==void 0?t+`-`+e:e}function Ul(e,t){(0,u.useContext)(al).strict}function Wl(e){let{drag:t,layout:n}=ll();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
9function Gl(e,t){if(typeof Proxy>`u`)return Vl;let n=new Map,r=(n,r)=>Vl(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,Vl(a,void 0,e,t)),n.get(a))})}var Kl=(e,t)=>t.isSVG??Dl(e)?new us(t):new as(t,{allowProjection:e!==u.Fragment}),ql=class extends J{constructor(e){super(e),e.animationState||=_s(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Po(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},Jl=0,Yl={animation:{Feature:ql},exit:{Feature:class extends J{constructor(){super(...arguments),this.id=Jl++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=U(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function Xl(e){return{point:{x:e.pageX,y:e.pageY}}}var Zl=e=>t=>to(t)&&e(t,Xl(t));function Ql(e,t,n,r){return ic(e,t,Zl(n),r)}var $l=({current:e})=>e?e.ownerDocument.defaultView:null,eu=(e,t)=>Math.abs(e-t);function tu(e,t){let n=eu(e.x,t.x),r=eu(e.y,t.y);return Math.sqrt(n**2+r**2)}var nu=new Set([`auto`,`scroll`]),ru=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=iu(this.lastRawMoveEventInfo,this.transformPagePoint));let e=ou(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=tu(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=j;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=iu(t,this.transformPagePoint),k.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=ou(e.type===`pointercancel`?this.lastMoveEventInfo:iu(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!to(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=iu(Xl(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=j;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,ou(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=Le(Ql(this.contextWindow,`pointermove`,this.handlePointerMove,d),Ql(this.contextWindow,`pointerup`,this.handlePointerUp,d),Ql(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(nu.has(e.overflowX)||nu.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(i.x!==0||i.y!==0)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),k.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),A(this.updatePoint)}};function iu(e,t){return t?{point:t(e.point)}:e}function au(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ou({point:e},t){return{point:e,delta:au(e,cu(t)),offset:au(e,su(t)),velocity:lu(t,.1)}}function su(e){return e[0]}function cu(e){return e[e.length-1]}function lu(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=cu(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>D(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>D(t)*2&&(r=e[1]);let a=O(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function uu(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?R(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?R(n,e,r.max):Math.min(e,n)),e}function du(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function fu(e,{top:t,left:n,bottom:r,right:i}){return{x:du(e.x,n,i),y:du(e.y,t,r)}}function pu(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function mu(e,t){return{x:pu(e.x,t.x),y:pu(e.y,t.y)}}function hu(e,t){let n=.5,r=X(e),i=X(t);return i>r?n=Re(t.min,t.max-r,e.min):r>i&&(n=Re(e.min,e.max-i,t.min)),w(0,1,n)}function gu(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var _u=.35;function vu(e=_u){return e===!1?e=0:e===!0&&(e=_u),{x:yu(e,`left`,`right`),y:yu(e,`top`,`bottom`)}}function yu(e,t,n){return{min:bu(e,t),max:bu(e,n)}}function bu(e,t){return typeof e==`number`?e:e[t]||0}var xu=new WeakMap,Su=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=q(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(Xl(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Xa(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Z(e=>{let t=this.getAxisMotionValue(e).get()||0;if(P.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=X(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&k.update(()=>i(e,t),!1,!0),Yi(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=Eu(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&k.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new ru(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:$l(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&k.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Tu(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=uu(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&Ll(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?fu(n.layoutBox,e):!1,this.elastic=vu(t),r!==this.constraints&&!Ll(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Z(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=gu(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Ll(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=Ka(n,r.root,this.visualElement.getTransformPagePoint()),a=mu(r.layout.layoutBox,i);if(t){let e=t(Oa(a));this.hasMutatedConstraints=!!e,e&&(a=Da(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Z(o=>{if(!Tu(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return Yi(this.visualElement,e),n.start(Li(e,n,0,t,this.visualElement,!1))}stopAnimation(){Z(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Z(t=>{let{drag:n}=this.getProps();if(!Tu(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-R(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Ll(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Z(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=hu({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Z(t=>{if(!Tu(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(R(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;xu.set(this.visualElement,this);let e=this.visualElement.current,t=Ql(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&ao(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();Ll(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=wu(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),k.read(r);let o=ic(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Z(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=_u,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Cu(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function wu(e,t,n){let r=Do(e,Cu(n)),i=Do(t,Cu(n));return()=>{r(),i()}}function Tu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Eu(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Du=class extends J{constructor(e){super(e),this.removeGroupControls=E,this.removeListeners=E,this.controls=new Su(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||E}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},Ou=e=>(t,n)=>{e&&k.update(()=>e(t,n),!1,!0)},ku=class extends J{constructor(){super(...arguments),this.removePointerDownListener=E}
9onPointerDown(e){this.session=new ru(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:$l(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ou(e),onStart:Ou(t),onMove:Ou(n),onEnd:(e,t)=>{delete this.session,r&&k.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Ql(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Au=!1,ju=class extends u.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),Au&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),uc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),Au=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||k.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),qa.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Au=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function Mu(e){let[t,n]=tl(),r=(0,u.useContext)(De);return(0,Q.jsx)(ju,{...e,layoutGroup:r,switchLayoutGroup:(0,u.useContext)(Il),isPresent:t,safeToRemove:n})}var Nu={pan:{Feature:ku},drag:{Feature:Du,ProjectionNode:Kc,MeasureLayout:Mu}};function Pu(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&k.postRender(()=>i(t,Xl(t)))}var Fu=class extends J{mount(){let{current:e}=this.node;e&&(this.unmount=$a(e,(e,t)=>(Pu(this.node,t,`Start`),e=>Pu(this.node,e,`End`))))}unmount(){}},Iu=class extends J{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=Le(ic(this.node.current,`focus`,()=>this.onFocus()),ic(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function Lu(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&k.postRender(()=>i(t,Xl(t)))}var Ru=class extends J{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=po(e,(e,t)=>(Lu(this.node,t,`Start`),(e,{success:t})=>Lu(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},zu=new WeakMap,Bu=new WeakMap,Vu=e=>{let t=zu.get(e.target);t&&t(e)},Hu=e=>{e.forEach(Vu)};function Uu({root:e,...t}){let n=e||document;Bu.has(n)||Bu.set(n,{});let r=Bu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Hu,{root:e,...t})),r[i]}function Wu(e,t,n){let r=Uu(t);return zu.set(e,n),r.observe(e),()=>{zu.delete(e),r.unobserve(e)}}var Gu={some:0,all:1},Ku=class extends J{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:Gu[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=Wu(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(qu(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function qu({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Ju={inView:{Feature:Ku},tap:{Feature:Ru},focus:{Feature:Iu},hover:{Feature:Fu}},Yu={layout:{ProjectionNode:Kc,MeasureLayout:Mu}},$=Gl({...Yl,...Ju,...Nu,...Yu},Kl);function Xu({isOpen:e,onClose:t,productPrice:n,productName:r}){let[i,a]=(0,u.useState)(`form`),[o,s]=(0,u.useState)(`pix`),[c,l]=(0,u.useState)({name:`Dr(a). Walter`,email:`[email protected]`,phone:`(11) 99999-5555`}),[d,f]=(0,u.useState)({number:``,expiry:``,cvv:``,name:``});(0,u.useEffect)(()=>{e&&a(`form`)},[e]);let p=e=>{e.preventDefault(),i===`form`?a(`payment`):i===`payment`&&(a(`processing`),setTimeout(()=>{a(`success`)},3e3))},m=e=>{l({...c,[e.target.name]:e.target.value})},h=e=>{f({...d,[e.target.name]:e.target.value})};return e?(0,Q.jsxs)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center p-4`,children:[(0,Q.jsx)($.div,{initial:{opacity:0}
9,animate:{opacity:1},exit:{opacity:0},onClick:t,className:`fixed inset-0 bg-slate-900/60 backdrop-blur-sm`}),(0,Q.jsxs)($.div,{initial:{opacity:0,scale:.95,y:30},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:30},className:`bg-white rounded-2xl shadow-2xl w-full max-w-lg overflow-hidden border border-slate-100 z-10 text-slate-700`,children:[(0,Q.jsxs)(`div`,{className:`bg-[#5B67F1] text-white p-6 relative flex items-center justify-between`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`span`,{className:`text-white/80 font-semibold tracking-wider text-xs uppercase block mb-1`,children:`Ambiente Seguro`}),(0,Q.jsxs)(`h3`,{className:`text-xl font-bold font-display flex items-center gap-2`,children:[(0,Q.jsx)(ue,{className:`w-5 h-5 text-emerald-400`}),` Checkout Simplificado`]})]}),(0,Q.jsx)(`button`,{onClick:t,className:`w-8 h-8 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center text-white transition-colors cursor-pointer`,children:(0,Q.jsx)(Te,{className:`w-4 h-4`})})]}),(0,Q.jsxs)(`div`,{className:`bg-emerald-50 px-6 py-2 border-b border-emerald-100/50 flex items-center justify-between text-xs text-emerald-800 font-medium`,children:[(0,Q.jsxs)(`span`,{className:`flex items-center gap-1.5`,children:[(0,Q.jsx)(ve,{className:`w-4 h-4 text-emerald-600`}),` Compra 100% Protegida`]}),(0,Q.jsxs)(`span`,{className:`text-emerald-600`,children:[`Preço Promocional: R$ `,n.toFixed(2)]})]}),(0,Q.jsx)(`div`,{className:`p-6`,children:(0,Q.jsxs)(il,{mode:`wait`,children:[i===`form`&&(0,Q.jsx)($.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},exit:{opacity:0,x:10},children:(0,Q.jsxs)(`form`,{onSubmit:p,className:`space-y-4`,children:[(0,Q.jsx)(`h4`,{className:`font-semibold text-slate-800 text-base mb-2`,children:`1. Dados de Faturamento & Envio`}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`label`,{className:`block text-xs font-semibold text-slate-500 uppercase tracking-wider mb-1`,children:`Nome Completo`}),(0,Q.jsxs)(`div`,{className:`relative`,children:[(0,Q.jsx)(Ce,{className:`absolute left-3 top-3 w-4 h-4 text-slate-400`}),(0,Q.jsx)(`input`,{type:`text`,name:`name`,required:!0,value:c.name,onChange:m,placeholder:`Seu nome profissional`,className:`w-full bg-slate-50 border border-slate-200 rounded-xl py-2.5 pl-10 pr-4 text-sm focus:outline-none focus:border-[#5B67F1] focus:bg-white transition-all text-slate-800 font-medium`})]})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`label`,{className:`block text-xs font-semibold text-slate-500 uppercase tracking-wider mb-1`,children:`E-mail para Recebimento`}),(0,Q.jsxs)(`div`,{className:`relative`,children:[(0,Q.jsx)(fe,{className:`absolute left-3 top-3 w-4 h-4 text-slate-400`}),(0,Q.jsx)(`input`,{type:`email`,name:`email`,required:!0,value:c.email,onChange:m,placeholder:`Ex: [email protected]`,className:`w-full bg-slate-50 border border-slate-200 rounded-xl py-2.5 pl-10 pr-4 text-sm focus:outline-none focus:border-[#5B67F1] focus:bg-white transition-all text-slate-800 font-medium`})]}),(0,Q.jsx)(`span`,{className:`text-[11px] text-[#5B67F1] mt-1 block`,children:`* O material completo e bônus serão enviados para este endereço.`})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`label`,{className:`block text-xs font-semibold text-slate-500 uppercase tracking-wider mb-1`,children:`WhatsApp para Notificação (opcional)`}),(0,Q.jsxs)(`div`,{className:`relative`,children:[(0,Q.jsx)(ye,{className:`absolute left-3 top-3 w-4 h-4 text-slate-400`}),(0,Q.jsx)(`input`,{type:`text`,name:`phone`,value:c.phone,onChange:m,placeholder:`(11) 99999-9999`,className:`w-full bg-slate-50 border border-slate-200 rounded-xl py-2.5 pl-10 pr-4 text-sm focus:outline-none focus:border-[#5B67F1] focus:bg-white transition-all text-slate-800 font-medium`})]})]}),(0,Q.jsx)(`button`,{type:`submit`,className:`w-full bg-[#2DBE60] hover:bg-[#25A753] text-white font-bold py-3.5 rounded-xl transition-all shadow-md shadow-emerald-200 hover:shadow-emerald-300 transform hover:-translate-y-0.5 mt-6 cursor-pointer text-center text-sm`,children:`AVANÃAR PARA O PAGAMENTO`})]})},`form`),i===`payment`&&(0,Q.jsx)($.div,{initial:{opacity:0,x:-10}
9,animate:{opacity:1,x:0},exit:{opacity:0,x:10},children:(0,Q.jsxs)(`form`,{onSubmit:p,className:`space-y-4`,children:[(0,Q.jsxs)(`h4`,{className:`font-semibold text-slate-800 text-base mb-2`,children:[`2. Escolha como pagar (Apenas R$ `,n.toFixed(2),`)`]}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-2 gap-3 mb-4`,children:[(0,Q.jsxs)(`button`,{type:`button`,onClick:()=>s(`pix`),className:`py-3 px-4 rounded-xl border-2 font-semibold text-sm flex flex-col items-center gap-1.5 transition-all cursor-pointer ${o===`pix`?`border-[#5B67F1] bg-[#5B67F1]/5 text-[#5B67F1]`:`border-slate-200 bg-white text-slate-500 hover:bg-slate-50`}`,children:[(0,Q.jsx)(`span`,{className:`text-lg`,children:`⡠PIX`}),(0,Q.jsx)(`span`,{className:`text-[10px] opacity-80`,children:`Aprovação imediata`})]}),(0,Q.jsxs)(`button`,{type:`button`,onClick:()=>s(`card`),className:`py-3 px-4 rounded-xl border-2 font-semibold text-sm flex flex-col items-center gap-1.5 transition-all cursor-pointer ${o===`card`?`border-[#5B67F1] bg-[#5B67F1]/5 text-[#5B67F1]`:`border-slate-200 bg-white text-slate-500 hover:bg-slate-50`}`,children:[(0,Q.jsx)(ne,{className:`w-5 h-5`}),(0,Q.jsx)(`span`,{className:`text-[10px] opacity-80`,children:`Cartão de Crédito`})]})]}),o===`pix`?(0,Q.jsxs)(`div`,{className:`bg-slate-50 rounded-2xl p-4 border border-slate-100 text-center space-y-3`,children:[(0,Q.jsx)(`p`,{className:`text-xs font-semibold text-slate-500 uppercase tracking-widest`,children:`Instruções para PIX`}),(0,Q.jsx)(`div`,{className:`w-40 h-40 bg-white border border-slate-200 rounded-xl mx-auto flex items-center justify-center p-2`,children:(0,Q.jsxs)(`div`,{className:`w-full h-full border border-dashed border-slate-300 rounded flex flex-col items-center justify-center bg-slate-50 relative overflow-hidden`,children:[(0,Q.jsx)(`span`,{className:`text-[11px] font-bold text-[#5B67F1]`,children:`QR CODE PIX`}),(0,Q.jsx)(`span`,{className:`text-[10px] text-slate-400 mt-1`,children:`Simulação de Pagamento`}),(0,Q.jsx)(`div`,{className:`absolute inset-x-0 bottom-0 bg-[#5B67F1] text-white text-[9px] py-0.5 uppercase tracking-widest font-bold`,children:`Pronto para aprovar`})]})}),(0,Q.jsx)(`p`,{className:`text-xs text-slate-500 max-w-xs mx-auto`,children:`Clique em finalizar compra para simular o recebimento instantâneo pelo celular.`})]}):(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`label`,{className:`block text-xs font-semibold text-slate-500 uppercase mb-1`,children:`Número do Cartão (Simulado)`}),(0,Q.jsx)(`input`,{type:`text`,required:!0,name:`number`,value:d.number,onChange:h,placeholder:`4444 5555 6666 7777`,className:`w-full bg-slate-50 border border-slate-200 rounded-xl py-2.5 px-3.5 text-sm focus:outline-none focus:border-[#5B67F1] focus:bg-white text-slate-800 font-medium`})]}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-2 gap-3`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`label`,{className:`block text-xs font-semibold text-slate-500 uppercase mb-1`,children:`Validade`}),(0,Q.jsx)(`input`,{type:`text`,required:!0,name:`expiry`,value:d.expiry,onChange:h,placeholder:`MM/AA`,className:`w-full bg-slate-50 border border-slate-200 rounded-xl py-2.5 px-3.5 text-sm focus:outline-none focus:border-[#5B67F1] focus:bg-white text-slate-800 font-medium`})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`label`,{className:`block text-xs font-semibold text-slate-500 uppercase mb-1`,children:`CVV`}),(0,Q.jsx)(`input`,{type:`text`,required:!0,name:`cvv`,value:d.cvv,onChange:h,placeholder:`123`,className:`w-full bg-slate-50 border border-slate-200 rounded-xl py-2.5 px-3.5 text-sm focus:outline-none focus:border-[#5B67F1] focus:bg-white text-slate-800 font-medium`})]})]})]}),(0,Q.jsxs)(`div`,{className:`flex gap-2.5 pt-4`,children:[(0,Q.jsx)(`button`,{type:`button`,onClick:()=>a(`form`),className:`px-4 py-3.5 border border-slate-200 text-slate-500 font-bold rounded-xl hover:bg-slate-50 transition-colors text-sm cursor-pointer`,children:`Voltar`}),(0,Q.jsx)(`button`,{type:`submit`,className:`flex-1 bg-[#2DBE60] hover:bg-[#25A753] text-white font-bold py-3.5 rounded-xl transition-all shadow-md shadow-emerald-200 hover:shadow-emerald-300 transform hover:-translate-y-0.5 cursor-pointer text-center text-sm`,children:`CONFIRMAR PAGAMENTO SIMULADO`})]})]})},`payment`),i===`processing`&&(0,Q.jsxs)($.div,{initial:{opacity:0}
9,animate:{opacity:1},exit:{opacity:0},className:`py-12 text-center space-y-4`,children:[(0,Q.jsx)(he,{className:`w-12 h-12 text-[#5B67F1] animate-spin mx-auto`}),(0,Q.jsx)(`h4`,{className:`text-lg font-bold text-slate-800 font-display`,children:`Processando seu pagamento...`}),(0,Q.jsx)(`p`,{className:`text-sm text-slate-500 max-w-xs mx-auto`,children:`Por favor, não feche esta janela. Estamos registrando sua licença de uso da Apostila Psicopedagógica.`})]},`processing`),i===`success`&&(0,Q.jsxs)($.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},className:`py-6 text-center space-y-5`,children:[(0,Q.jsx)(`div`,{className:`w-16 h-16 bg-emerald-100 rounded-full flex items-center justify-center text-emerald-600 mx-auto`,children:(0,Q.jsx)(x,{className:`w-10 h-10`})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h4`,{className:`text-xl font-bold text-slate-800 font-display`,children:`Acesso Liberado com Sucesso! ð`}),(0,Q.jsx)(`p`,{className:`text-sm text-emerald-600 font-semibold mt-1`,children:`Parabéns, seu pagamento foi identificado!`})]}),(0,Q.jsxs)(`div`,{className:`bg-slate-50 rounded-2xl p-5 border border-slate-100 text-left space-y-2 mt-4`,children:[(0,Q.jsx)(`p`,{className:`text-xs font-semibold text-slate-500 uppercase tracking-widest`,children:`Detalhes do Envio:`}),(0,Q.jsxs)(`p`,{className:`text-sm text-slate-600`,children:[(0,Q.jsx)(`strong`,{className:`text-slate-800`,children:`Email destinatário:`}),` `,(0,Q.jsx)(`span`,{className:`text-[#5B67F1] font-semibold`,children:c.email})]}),(0,Q.jsxs)(`p`,{className:`text-sm text-slate-600`,children:[(0,Q.jsx)(`strong`,{className:`text-slate-800`,children:`Produto:`}),` `,r||`Apostila Completa + Bônus Drive Profissional`]}),(0,Q.jsx)(`p`,{className:`text-xs text-slate-400 mt-2 italic`,children:`* Um email com o botão para download da apostila em PDF de alta qualidade e o convite exclusivo para o Google Drive acaba de ser enviado!`})]}),(0,Q.jsxs)(`div`,{className:`pt-2 flex flex-col gap-2`,children:[(0,Q.jsx)(`a`,{href:`https://drive.google.com`,target:`_blank`,className:`w-full bg-[#5B67F1] hover:bg-[#4a55d3] text-white font-bold py-3.5 rounded-xl transition-all shadow-md shadow-indigo-100 cursor-pointer text-center text-sm`,children:`ACESSAR CONTEÃDO AGORA`}),(0,Q.jsx)(`button`,{onClick:t,className:`text-xs text-slate-400 font-medium hover:text-slate-600 transition-colors`,children:`Fechar Checkout`})]})]},`success`)]})})]})]}):null}function Zu({question:e,answer:t,index:n}){let[r,i]=(0,u.useState)(!1);return(0,Q.jsxs)($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.08,duration:.4},className:`bg-white rounded-2xl border border-slate-100 shadow-sm overflow-hidden`,children:[(0,Q.jsxs)(`button`,{type:`button`,id:`faq-btn-${n}`,onClick:()=>i(!r),className:`w-full text-left p-5 md:p-6 flex items-start gap-3.5 justify-between focus:outline-none cursor-pointer`,children:[(0,Q.jsxs)(`span`,{className:`flex gap-3 items-center`,children:[(0,Q.jsx)(S,{className:`w-5 h-5 text-[#5B67F1] shrink-0 mt-0.5`}),(0,Q.jsx)(`h4`,{className:`font-semibold text-slate-800 text-sm md:text-base pr-4`,children:e})]}),(0,Q.jsx)(`span`,{className:`shrink-0 w-8 h-8 rounded-full bg-slate-50 flex items-center justify-center text-slate-500 transition-transform duration-300 ${r?`rotate-180 bg-[#5B67F1]/10 text-[#5B67F1]`:``}`,children:(0,Q.jsx)(v,{className:`w-4 h-4`})})]}),(0,Q.jsx)(il,{initial:!1,children:r&&(0,Q.jsx)($.div,{initial:{height:0,opacity:0},animate:{height:`auto`,opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:`easeInOut`},children:(0,Q.jsx)(`div`,{className:`px-6 pb-6 pt-1 text-xs md:text-sm text-slate-600 border-t border-slate-50 leading-relaxed font-normal`,children:t})})})]})}var Qu=[r.url,{version:1,asset_id:`ca0f7fd5-37cc-47a3-b94b-d0a54cca2008`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/ca0f7fd5-37cc-47a3-b94b-d0a54cca2008/hero-2.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/ca0f7fd5-37cc-47a3-b94b-d0a54cca2008/hero-2.webp`,original_filename:`hero-2.webp`,size:23240,content_type:`image/webp`,created_at:`2026-09-17T00:28:40Z`}.url,{version:1,asset_id:`dacb0d01-c8c7-4a10-a6aa-3237204d1de1`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/dacb0d01-c8c7-4a10-a6aa-3237204d1de1/hero-3.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/dacb0d01-c8c7-4a10-a6aa-3237204d1de1/hero-3.webp`,original_filename:`hero-3.webp`,size:94570,content_type:`image/webp`,created_at:`2026-09-17T00:28:42Z`}.url,{version:1,asset_id:`82148664-83b6-4a2c-a9f8-7df2d83e6fcf`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/82148664-83b6-4a2c-a9f8-7df2d83e6fcf/hero-4.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/82148664-83b6-4a2c-a9f8-7df2d83e6fcf/hero-4.webp`,original_filename:`hero-4.webp`,size:33778,content_type:`image/webp`,created_at:`2026-09-17T00:28:45Z`}.url,{version:1,asset_id:`8979150f-790e-4fff-b441-53f846e22e26`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/8979150f-790e-4fff-b441-53f846e22e26/hero-5.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/8979150f-790e-4fff-b441-53f846e22e26/hero-5.webp`,original_filename:`hero-5.webp`,size:83822,content_type:`image/webp`,created_at:`2026-09-17T00:28:48Z`}.url,{version:1,asset_id:`4057cdd0-daa0-4398-8b2f-c322ec3d1143`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/4057cdd0-daa0-4398-8b2f-c322ec3d1143/hero-6.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/4057cdd0-daa0-4398-8b2f-c322ec3d1143/hero-6.webp`,original_filename:`hero-6.webp`,size:23994,content_type:`image/webp`,created_at:`2026-09-17T00:28:51Z`}.url,{version:1,asset_id:`7cc38e5b-0f50-4f8f-b136-29ad8d1a5010`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/7cc38e5b-0f50-4f8f-b136-29ad8d1a5010/hero-7.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/7cc38e5b-0f50-4f8f-b136-29ad8d1a5010/hero-7.webp`,original_filename:`hero-7.webp`,size:94570,content_type:`image/webp`,created_at:`2026-09-17T00:28:53Z`}.url,{version:1,asset_id:`e0eb66e7-56d0-4f56-a9a5-1649c4430659`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/e0eb66e7-56d0-4f56-a9a5-1649c4430659/hero-8.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/e0eb66e7-56d0-4f56-a9a5-1649c4430659/hero-8.webp`,original_filename:`hero-8.webp`,size:15932,content_type:`image/webp`,created_at:`2026-09-17T00:28:56Z`}.url];function $u({onCtaClick:e,countdownText:t}){let[n,r]=(0,u.useState)(0);return(0,u.useEffect)(()=>{let e=setInterval(()=>{r(e=>(e+1)%Qu.length)},4500);return()=>clearInterval(e)},[n]),(0,Q.jsxs)(`section`,{className:`relative overflow-hidden pt-28 pb-8 sm:pt-32 md:pt-36 md:pb-12 bg-gradient-to-b from-[#5B67F1]/5 via-[#F5F6FB] to-[#F5F6FB]`,children:[(0,Q.jsx)(`div`,{className:`absolute top-1/4 -right-1/4 w-96 h-96 bg-[#5B67F1]/8 rounded-full blur-3xl`}),(0,Q.jsx)(`div`,{className:`absolute top-2/3 -left-1/4 w-80 h-80 bg-emerald-100/30 rounded-full blur-3xl`}),(0,Q.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10`,children:[(0,Q.jsxs)(`div`,{className:`text-center max-w-4xl mx-auto
9space-y-6`,children:[(0,Q.jsxs)($.h1,{initial:{opacity:0,y:15},animate:{opacity:1,y:0},transition:{duration:.5},className:`text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-extrabold text-slate-900 tracking-tight font-display leading-[1.12]`,children:[`+50 Testes ClÃnicos para`,` `,(0,Q.jsx)(`span`,{className:`text-[#5B67F1] underline decoration-yellow-400 decoration-4 underline-offset-8`,children:`Avaliação e Intervenção Psicopedagógica`})]}),(0,Q.jsxs)($.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:`my-6 max-w-md sm:max-w-lg mx-auto relative group`,children:[(0,Q.jsxs)(`div`,{className:`relative w-full aspect-[1122/1402] overflow-hidden rounded-xl`,children:[Qu.map((e,t)=>(0,Q.jsx)(`img`,{src:e,alt:`Apostila Completa - Imagem ${t+1}`,width:1122,height:1402,loading:t===0?`eager`:`lazy`,fetchPriority:t===0?`high`:`low`,decoding:t===0?`sync`:`async`,className:`absolute inset-0 w-full h-full object-contain select-none mx-auto drop-shadow-md rounded-xl transition-all duration-300 ease-in-out ${t===n?`opacity-100 scale-100 z-10`:`opacity-0 scale-95 z-0 pointer-events-none`}`,referrerPolicy:`no-referrer`},t)),(0,Q.jsx)(`button`,{onClick:()=>{r(e=>e===0?Qu.length-1:e-1)},className:`absolute left-2 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white text-slate-800 p-2 rounded-full shadow-lg transition-all hover:scale-110 active:scale-95 border border-slate-200/80 cursor-pointer z-20 opacity-80 group-hover:opacity-100`,"aria-label":`Imagem anterior`,children:(0,Q.jsx)(y,{className:`w-5 h-5 text-slate-700`})}),(0,Q.jsx)(`button`,{onClick:()=>{r(e=>(e+1)%Qu.length)},className:`absolute right-2 top-1/2 -translate-y-1/2 bg-white/90 hover:bg-white text-slate-800 p-2 rounded-full shadow-lg transition-all hover:scale-110 active:scale-95 border border-slate-200/80 cursor-pointer z-20 opacity-80 group-hover:opacity-100`,"aria-label":`Próxima imagem`,children:(0,Q.jsx)(b,{className:`w-5 h-5 text-slate-700`})})]}),(0,Q.jsx)(`div`,{className:`absolute bottom-2 sm:bottom-2.5 right-2 sm:right-3 z-30 pointer-events-none`,children:(0,Q.jsxs)(`div`,{className:`inline-flex items-center gap-2 px-2.5 sm:px-3 py-1 sm:py-1.5 rounded-full bg-white/95 backdrop-blur-sm text-slate-800 text-[11px] sm:text-xs font-bold shadow-lg border border-slate-200/90 select-none whitespace-nowrap`,children:[(0,Q.jsx)(`img`,{src:`/canva-icon.svg`,alt:`Canva`,className:`w-4 h-4 sm:w-5 sm:h-5 rounded-full object-contain shrink-0 drop-shadow-sm`}),(0,Q.jsx)(`span`,{className:`leading-none tracking-tight`,children:`Personalizável no Canva`})]})}),(0,Q.jsx)(`div`,{className:`flex justify-center items-center gap-2 mt-3`,children:Qu.map((e,t)=>(0,Q.jsx)(`button`,{onClick:()=>r(t),className:`h-2.5 rounded-full transition-all duration-300 cursor-pointer ${t===n?`w-7 bg-[#5B67F1]`:`w-2.5 bg-slate-300 hover:bg-slate-400`}`,"aria-label":`Ir para imagem ${t+1}`},t))})]})]}),(0,Q.jsxs)($.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.4},className:`mt-6 max-w-4xl mx-auto text-center`,children:[(0,Q.jsxs)(`p`,{className:`text-slate-700 text-base sm:text-lg md:text-xl font-medium leading-relaxed max-w-2xl mx-auto mt-2 text-balance`,children:[`Um material completo que reúne `,(0,Q.jsx)(`span`,{className:`text-slate-900 font-bold underline decoration-[#5B67F1]/40 decoration-2 underline-offset-4`,children:`teoria, prática e instrumentos`}),` utilizados por profissionais para identificar e intervir em dificuldades de aprendizagem.`]}),(0,Q.jsxs)(`div`,{className:`mt-5 inline-flex items-center gap-2.5 px-5 py-2 rounded-full bg-emerald-50/95 border-2 border-[#25D366] text-emerald-950 font-extrabold text-xs sm:text-sm shadow-[0_0_20px_rgba(37,211,102,0.4)] ring-2 ring-emerald-400/30 backdrop-blur-xs transition-all hover:scale-105`,children:[(0,Q.jsx)(`svg`,{className:`w-4.5 h-4.5 sm:w-5 sm:h-5 fill-current text-[#25D366] shrink-0 filter drop-shadow-[0_0_4px_rgba(37,211,102,0.6)]`,viewBox:`0 0 24 24`,children:(0,Q.jsx)(`path`,{d:`M12.012 2c-5.506 0-9.989 4.478-9.99 9.984a9.96 9.96 0 001.333 4.993L2 22l5.233-1.237a9.96 9.96 0 004.779 1.217h.004c5.505 0 9.988-4.478 9.989-9.984 0-2.669-1.038-5.176-2.925-7.062A9.925 9.925 0 0012.012 2zm0 1.636c4.603 0 8.351 3.744 8.352 8.348 0 2.233-.869 4.331-2.449 5.912a8.307 8.307 0 01-5.903 2.436h-.003c-1.423 0-2.818-.363-4.043-1.052l-.29-.163-3.003.71.797-2.924-.184-.298A8.308 8.308 0 013.658 11.99c.001-4.604 3.749-8.352 8.354-8.354zm4.586 10.666c-.252-.126-1.488-.734-1.719-.818-.231-.084-.399-.126-.567.126-.168.252-.651.818-.798.986-.147.168-.294.189-.546.063-.252-.126-1.063-.392-2.025-1.249-.748-.667-1.253-1.492-1.4-1.744-.147-.252-.016-.388.11-.513.113-.113.252-.294.378-.441.126-.147.168-.252.252-.42.084-.168.042-.315-.021-.441-.063-.126-.567-1.365-.777-1.869-.204-.492-.412-.425-.567-.433-.147-.008-.315-.01-.483-.01-.168 0-.441.063-.672.315-.231.252-.882.861-.882 2.1 0 1.239.903 2.436 1.029 2.604.126.168 1.777 2.713 4.305 3.803.602.26 1.072.415 1.439.531.605.192 1.156.165 1.591.1.485-.072 1.488-.609 1.698-1.197.21-.588.21-1.092.147-1.197-.063-.105-.231-.168-.483-.294z`})}),(0,Q.jsx)(`span`,{className:`tracking-wide`,children:`Receba direto no Whatsapp`})]}),(0,Q.jsxs)(`div`,{className:`mt-8 flex flex-col items-center justify-center space-y-3`,children:[(0,Q.jsxs)($.button,{whileHover:{scale:1.03},whileTap:{scale:.98},onClick:e,className:`w-full sm:w-auto px-8 md:px-12 py-5 bg-[#2DBE60] hover:bg-[#25A753] text-white font-black text-sm md:text-lg rounded-2xl shadow-lg shadow-emerald-200 hover:shadow-emerald-300 transition-all tracking-wider inline-flex items-center justify-center gap-3 cursor-pointer`,children:[`QUERO GARANTIR MINHA APOSTILA `,(0,Q.jsx)(`span`,{className:`text-xl`,children:`ð`})]}),(0,Q.jsxs)(`span`,{className:`text-slate-500 text-xs flex items-center gap-1.5 font-medium`,children:[(0,Q.jsx)(ve,{className:`w-4 h-4 text-[#2DBE60]`}),` ð Acesso imediato após a compra`]})]}),(0,Q.jsxs)(`div`,{className:`mt-8 pt-6 border-t border-slate-200/60 max-w-3xl mx-auto flex flex-col sm:flex-row items-stretch sm:items-center justify-center gap-3 sm:gap-4`,children:[(0,Q.jsxs)($.div,{whileHover:{scale:1.07,rotate:0},className:`relative -rotate-2 p-[3px] rounded-2xl bg-gradient-to-br from-amber-300 to-orange-400 shadow-[0_6px_0_rgba(217,119,6,0.35)] curs
9or-default`,children:[(0,Q.jsxs)(`div`,{className:`rounded-[13px] bg-amber-50 px-4 py-3 flex items-center gap-3`,children:[(0,Q.jsx)(`span`,{className:`text-2xl sm:text-3xl shrink-0`,"aria-hidden":!0,children:`ð`}),(0,Q.jsxs)(`span`,{className:`text-[11px] sm:text-xs font-extrabold text-amber-900 leading-tight`,children:[`120 páginas`,(0,Q.jsx)(`br`,{}),`+50 testes ⢠Ed. 2026`]})]}),(0,Q.jsx)(`span`,{className:`absolute -top-2 -right-2 text-lg`,"aria-hidden":!0,children:`â¨`})]}),(0,Q.jsxs)($.div,{whileHover:{scale:1.07,rotate:0},className:`relative rotate-[1.5deg] p-[3px] rounded-2xl bg-gradient-to-br from-[#5B67F1] to-violet-500 shadow-[0_6px_0_rgba(79,70,229,0.35)] sm:-mt-1 cursor-default`,children:[(0,Q.jsxs)(`div`,{className:`rounded-[13px] bg-indigo-50 px-4 py-3 flex items-center gap-3`,children:[(0,Q.jsx)(`span`,{className:`text-2xl sm:text-3xl shrink-0`,"aria-hidden":!0,children:`ð¨`}),(0,Q.jsxs)(`span`,{className:`text-[11px] sm:text-xs font-extrabold text-indigo-900 leading-tight`,children:[`Modelos 100%`,(0,Q.jsx)(`br`,{}),`editáveis no Canva`]})]}),(0,Q.jsx)(`span`,{className:`absolute -bottom-2 -left-2 text-lg`,"aria-hidden":!0,children:`ðï¸`})]}),(0,Q.jsxs)($.div,{whileHover:{scale:1.07,rotate:0},className:`relative -rotate-1 p-[3px] rounded-2xl bg-gradient-to-br from-emerald-300 to-[#25D366] shadow-[0_6px_0_rgba(22,163,74,0.35)] cursor-default`,children:[(0,Q.jsxs)(`div`,{className:`rounded-[13px] bg-emerald-50 px-4 py-3 flex items-center gap-3`,children:[(0,Q.jsx)(`span`,{className:`text-2xl sm:text-3xl shrink-0`,"aria-hidden":!0,children:`ð¬`}),(0,Q.jsxs)(`span`,{className:`text-[11px] sm:text-xs font-extrabold text-emerald-900 leading-tight`,children:[`Entrega na hora`,(0,Q.jsx)(`br`,{}),`via WhatsApp e e-mail`]})]}),(0,Q.jsx)(`span`,{className:`absolute -top-2 -left-2 text-lg`,"aria-hidden":!0,children:`â¡`})]})]})]})]})]})}var ed=`/assets/target-audience-DDMbS1rn.jpg`,td=[`Psicopedagogos clÃnicos`,`Psicopedagogos institucionais`,`Professores da educação infantil`,`Professores do ensino fundamental`,`Neuropsicopedagogos`,`Estudantes de pedagogia`,`Estudantes de psicopedagogia`,`Profissionais que trabalham com dificuldades de aprendizagem`];function nd(){return(0,Q.jsx)(`section`,{className:`pt-10 pb-20 bg-[#F5F6FB] border-t border-slate-100 relative overflow-hidden`,children:(0,Q.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8`,children:[(0,Q.jsxs)(`div`,{className:`text-center max-w-3xl mx-auto mb-12 space-y-4`,children:[(0,Q.jsx)(`span`,{className:`text-[#5B67F1] font-extrabold uppercase tracking-widest text-xs px-3 py-1 bg-[#5B67F1]/8 rounded-full`,children:`PÃBLICO-ALVO`}),(0,Q.jsx)(`h2`,{className:`text-3xl md:text-4xl font-extrabold text-slate-900 font-display`,children:`Para quem é este material?`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-sm md:text-base`,children:`Desenvolvido sob medida para simplificar a jornada de diagnóstico e tratamento clÃnico e institucional.`})]}),(0,Q.jsxs)($.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.45},className:`max-w-5xl mx-auto bg-white rounded-3xl border border-slate-200/60 shadow-lg shadow-[#5B67F1]/5 overflow-hidden grid grid-cols-1 md:grid-cols-2`,children:[(0,Q.jsxs)(`div`,{className:`relative bg-[#F5F6FB] flex items-center justify-center p-4 sm:p-6`,children:[(0,Q.jsx)(`img`,{src:ed,alt:`Psicopedagogos, professores, estudantes e crianças em volta de uma apostila de avaliação`,width:1200,height:900,loading:`lazy`,decoding:`async`,className:`w-full h-auto max-w-md rounded-2xl`}),(0,Q.jsx)(`span`,{className:`absolute top-4 left-4 bg-[#5B67F1] text-white text-[10px] sm:text-xs font-extrabold uppercase tracking-wider px-3 py-1.5 rounded-full shadow-md shadow-[#5B67F1]/30`,children:`+50 testes inclusos`})]}),(0,Q.jsxs)(`div`,{className:`p-6 sm:p-8 flex flex-col justify-center`,children:[(0,Q.jsx)(`h3`,{className:`font-display font-extrabold text-slate-900 text-lg md:text-xl mb-4`,children:`Feito para profissionais como você:`}),(0,Q.jsx)(`ul`,{className:`grid grid-cols-1 sm:grid-cols-2 md:grid-cols-1 gap-x-6 gap-y-2.5`,children:td.map(e=>(0,Q.jsxs)(`li`,{className:`flex items-start gap-2.5`,children:[(0,Q.jsx)(`span`,{className:`w-5 h-5 rounded-full bg-emerald-50 flex items-center justify-center text-emerald-600 shrink-0 mt-0.5`,children:(0,Q.jsx)(_,{className:`w-3.5 h-3.5`,strokeWidth:3})}),(0,Q.jsx)(`span`,{className:`text-slate-700 text-sm font-medium leading-snug`,children:e})]},e))})]})]})]})})}var rd=[{icon:te,title:`Economia de até 15 horas semanais`,description:`Elimine horas exaustivas construindo materiais e testes do zero. Toda a estrutura de aplicação e análise diagnóstica está totalmente formatada para você imprimir e aplicar no mesmo instante.`,bentoSpan:`col-span-1 lg:col-span-2`,isGold:!0},{icon:ie,title:`Super Relatórios e Devolutivas Fáceis`,description:`Tenha em mãos modelos em Word (.docx) editáveis para estruturar laudos, relatórios circunstanciais, devolutivas e encaminhamentos precisos de altÃssima reputação profissional e cientÃfica.`,bentoSpan:`col-span-1 lg:col-span-2`,isGold:!0},{icon:le,title:`Avaliações organizadas`,description:`Estrutura e sequenciamento lógico que facilitam o andamento do diagnóstico de forma sistemática.`,bentoSpan:`col-span-1`},{icon:_e,title:`Segurança profissional inabalável`,description:`Tome decisões com embasamento teórico-prático de alta solidez, reduzindo a ansiedade e as hesitações comuns nos relatórios de prognóstico.`,bentoSpan:`col-span-1`},{icon:xe,title:`Alinhado com a neurociência moderna`,description:`Estratégias atuais e tendências clÃnicas recomendadas pelas maiores referências psicopedagógicas do paÃs.`,bentoSpan:`col-span-1`}
9,{icon:be,title:`Autoridade e credibilidade com escolas e pais`,description:`Apresente pareceres técnicos completos, seguros e didáticos que impressionam e garantem o retorno recorrente dos seus clientes.`,bentoSpan:`col-span-1`},{emojiIcon:`ð`,icon:ae,title:`Ãreas avaliativas completas`,description:`Orientações extremamente detalhadas e didáticas para guiar você no processo de entendimento do diagnóstico e planejamento de tratamentos estruturados.`,bentoSpan:`col-span-1 lg:col-span-2`,isSpecial:!0},{emojiIcon:`ð`,icon:C,title:`Documentos administrativos prontos`,description:`Fichas de anamnese, contratos de prestação de serviços e relatórios de triagem sem dor de cabeça.`,bentoSpan:`col-span-1`},{emojiIcon:`ð`,icon:h,title:`Avaliação de leitura e escrita`,description:`Instrumentos práticos com nÃveis de complexidade adequados para identificar dislexia ou dificuldades.`,bentoSpan:`col-span-1`},{emojiIcon:`ð§ `,icon:g,title:`Avaliação da atenção e memória`,description:`Métodos validados para rastreamento de foco executivo, memória imediata e canais perceptivos de atenção.`,bentoSpan:`col-span-1`},{icon:re,title:`Protocolos prontos para aplicação imediata`,description:`Apenas selecione e imprima os testes adequados à idade e queixa do seu paciente. Tudo simplificado com fichas de registro rápido e gabarito.`,bentoSpan:`col-span-1`},{emojiIcon:`ð¬`,icon:ge,title:`Transtornos de aprendizagem`,description:`Instrumentos e trilhas de observação para identificação precoce de TDAH, Discalculia, Dislexia e TEA.`,bentoSpan:`col-span-1 lg:col-span-2`,isSpecial:!0},{emojiIcon:`ð`,icon:we,title:`Consciência fonológica`,description:`Bateria completa de estÃmulos e registros fonéticos para analisar habilidades linguÃsticas essenciais.`,bentoSpan:`col-span-1`},{emojiIcon:`â¡ï¸`,icon:p,title:`Orientações para encaminhamento`,description:`Fluxos ideais de encaminhamento para neuropediatras, psicólogos, fonoaudiólogos e terapeutas ocupacionais.`,bentoSpan:`col-span-1`},{emojiIcon:`ð`,icon:ee,title:`Fichas de acompanhamento`,description:`Planilhas de evolução e fichas de monitoramento de sessão a sessão para avaliar a eficácia.`,bentoSpan:`col-span-1`},{emojiIcon:`ð`,icon:oe,title:`Material complementar profissional`,description:`Textos de apoio e guias rápidos de consulta clÃnica para carregar no seu tablet ou celular.`,bentoSpan:`col-span-1`}];function id(){return(0,Q.jsx)(`section`,{className:`py-20 bg-white relative overflow-hidden`,children:(0,Q.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8`,children:[(0,Q.jsxs)(`div`,{className:`text-center max-w-3xl mx-auto mb-16 space-y-4`,children:[(0,Q.jsx)(`span`,{className:`text-[#5B67F1] font-extrabold uppercase tracking-widest text-xs px-4 py-1.5 bg-[#5B67F1]/8 rounded-full`,children:`CONTEÃDO & VANTAGENS`}),(0,Q.jsx)(`h2`,{className:`text-3xl md:text-5xl font-black text-slate-900 font-display tracking-tight leading-none`,children:`Por que utilizar esta Apostila?`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-sm md:text-base leading-relaxed`,children:`Tudo o que você encontra dentro do material â e o motivo pelo qual ele poupa o seu tempo e eleva a credibilidade técnica do seu consultório ou ambiente de atuação.`})]}),(0,Q.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6`,children:rd.map((e,t)=>{let n=e.icon,r=e.bentoSpan||`col-span-1`;return(0,Q.jsxs)($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.04,duration:.4},whileHover:{y:-5,transition:{duration:.2}},className:`group relative p-6 sm:p-8 rounded-3xl border transition-all duration-300 flex flex-col justify-between ${r} ${e.isGold?`bg-[#5B67F1] text-white border-[#5B67F1] shadow-lg shadow-[#5B67F1]/10 hover:shadow-indigo-200`:e.isSpecial?`bg-[#5B67F1]/5 border-[#5B67F1]/20 hover:bg-[#5B67F1]/10 hover:shadow-md`:`bg-slate-50 border-slate-200/60 shadow-sm hover:bg-white hover:shadow-md hover:border-[#5B67F1]/20`}`,children:[!e.isGold&&(0,Q.jsx)(`div`,{className:`absolute top-0 left-8 right-8 h-1 rounded-b-full bg-[#5B67F1] scale-x-0 group-hover:scale-x-100 transition-transform duration-300`}),(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,Q.jsx)(`span`,{className:`text-[10px] uppercase font-bold tracking-widest px-2 py-1 rounded-md ${e.isGold?`bg-white/15 text-white`:e.isSpecial?`bg-[#5B67F1]/8 text-[#5B67F1]`:`bg-slate-200/70 text-slate-500`}`,children:e.isGold?`DIFERENCIAL DE OURO`:e.isSpecial?`DESTAQUE DO MATERIAL`:`INCLUSO NO MATERIAL`}),(0,Q.jsxs)(`span`,{className:`text-xs font-mono opacity-45 ${e.isGold?`text-white`:`text-slate-400`}`,children:[`0`,t+1]})]}),(0,Q.jsxs)(`div`,{className:`flex items-center justify-center gap-3`,children:[(0,Q.jsx)(`div`,{className:`w-11 h-11 rounded-xl flex items-center justify-center shrink-0 transition-transform duration-300 group-hover:scale-110 ${e.isGold?`bg-white text-[#5B67F1]`:e.isSpecial?`bg-[#5B67F1] text-white`:`bg-[#5B67F1]/10 text-[#5B67F1]`}`,children:(0,Q.jsx)(n,{className:`w-5 h-5`})}),(0,Q.jsxs)(`h3`,{className:`font-extrabold text-base md:text-lg tracking-tight text-left leading-snug flex items-center gap-2 flex-1 ${e.isGold?`text-white`:`text-slate-900 group-hover:text-[#5B67F1] transition-colors`}`,children:[e.emojiIcon&&(0,Q.jsx)(`span`,{className:`text-sm opacity-80 shrink-0`,children:e.emojiIcon}),(0,Q.jsx)(`span`,{children:e.title})]})]}),(0,Q.jsx)(`p`,{className:`text-xs md:text-sm leading-relaxed text-left ${e.isGold?`text-white/85`:`text-slate-500 font-medium`}`,children:e.description})]}
9),(0,Q.jsxs)(`div`,{className:`mt-6 pt-4 border-t ${e.isGold?`border-white/10 text-white/70`:`border-slate-100/50 text-[#5B67F1]`} text-[11px] font-bold flex items-center justify-between`,children:[(0,Q.jsx)(`span`,{children:`Incluso no Acesso VitalÃcio`}),(0,Q.jsx)(`span`,{children:`â Garantido`})]})]},t)})})]})})}var ad=[{name:`Rastreamento clÃnico rápido integrado`,description:`Identifique sinais e organize as primeiras observações com mais agilidade.`,image:{version:1,asset_id:`6465a1ec-d6b9-4f28-8c87-cc3fc32eee56`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/6465a1ec-d6b9-4f28-8c87-cc3fc32eee56/bonus-rastreamento.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/6465a1ec-d6b9-4f28-8c87-cc3fc32eee56/bonus-rastreamento.webp`,original_filename:`bonus-rastreamento.webp`,size:41792,content_type:`image/webp`,created_at:`2026-09-30T14:22:09Z`}.url,alt:`Material de rastreamento clÃnico rápido com checklist e perfil de aprendizagem`},{name:`Modelos de avaliação psicopedagógica completa`,description:`Estruture cada etapa da avaliação com modelos claros e prontos para usar.`,image:{version:1,asset_id:`09a8aaf3-1ed5-4db0-a9ca-4d6a94e25427`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/09a8aaf3-1ed5-4db0-a9ca-4d6a94e25427/bonus-avaliacao.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/09a8aaf3-1ed5-4db0-a9ca-4d6a94e25427/bonus-avaliacao.webp`,original_filename:`bonus-avaliacao.webp`,size:51008,content_type:`image/webp`,created_at:`2026-09-30T14:22:13Z`}.url,alt:`Modelos completos de avaliação psicopedagógica`},{name:`Escalas de monitoramento e protocolos padronizados`,description:`Acompanhe a evolução e registre resultados de forma consistente.`,image:{version:1,asset_id:`8500bd01-b8e6-4c3d-9640-2980c6aa757d`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/8500bd01-b8e6-4c3d-9640-2980c6aa757d/bonus-escalas.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/8500bd01-b8e6-4c3d-9640-2980c6aa757d/bonus-escalas.webp`,original_filename:`bonus-escalas.webp`,size:59706,content_type:`image/webp`,created_at:`2026-09-30T14:22:16Z`}.url,alt:`Escalas de monitoramento, gráficos e protocolos padronizados`},{name:`Materiais prontos para intervenções práticas`,description:`Aplique atividades lúdicas e direcionadas sem começar do zero.`,image:{version:1,asset_id:`b5e088b7-f6d1-4b9f-8bc7-99b93d7c257d`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/b5e088b7-f6d1-4b9f-8bc7-99b93d7c257d/bonus-intervencoes.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/b5e088b7-f6d1-4b9f-8bc7-99b93d7c257d/bonus-intervencoes.webp`,original_filename:`bonus-intervencoes.webp`,size:47344,content_type:`image/webp`,created_at:`2026-09-30T14:22:20Z`}.url,alt:`Materiais lúdicos prontos para intervenções psicopedagógicas`},{name:`Instrumentos psicométricos complementares para diagnóstico`,description:`Amplie sua análise com recursos complementares organizados por objetivo.`,image:{version:1,asset_id:`9090e3ad-c0e6-4a59-9e7a-14e91a195cf9`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/9090e3ad-c0e6-4a59-9e7a-14e91a195cf9/bonus-psicometricos.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/9090e3ad-c0e6-4a59-9e7a-14e91a195cf9/bonus-psicometricos.webp`,original_filename:`bonus-psicometricos.webp`,size:43112,content_type:`image/webp`,created_at:`2026-09-30T14:22:23Z`}.url,alt:`Instrumentos psicométricos complementares para diagnóstico`},{name:`Modelos estruturados de relatórios profissionais`,description:`Documente resultados e recomendações com clareza e apresentação profissional.`,image:{version:1,asset_id:`c130743b-f6d4-4a9e-88be-7c8631ba4467`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/c130743b-f6d4-4a9e-88be-7c8631ba4467/bonus-relatorios.webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/c130743b-f6d4-4a9e-88be-7c8631ba4467/bonus-relatorios.webp`,original_filename:`bonus-relatorios.webp`,size:46100,content_type:`image/webp`,created_at:`2026-09-30T14:22:26Z`}.url,alt:`Modelos estruturados de relatórios psicopedagógicos profissionais`}],od=[`Fichas de acompanhamento geral e ferramentas de controle`];function sd(){return(0,Q.jsx)(`section`,{className:`bg-[#F5F6FB] px-3 py-14 sm:px-6 sm:py-20 lg:px-8`,children:(0,Q.jsxs)(`div`,{className:`mx-auto max-w-7xl rounded-[28px] border-2 border-dashed border-[#5B67F1]/45 bg-[#EEF0FF]/55 p-3 sm:rounded-[32px] sm:p-7 lg:p-10`,children:[(0,Q.jsxs)(`header`,{className:`mx-auto mb-9 max-w-3xl text-center sm:mb-12`,children:[(0,Q.jsxs)(`div`,{className:`mb-4 inline-flex items-center gap-2 rounded-full bg-[#5B67F1] px-4 py-2 text-[11px] font-black uppercase tracking-widest text-white shadow-lg shadow-[#5B67F1]/20`,children:[(0,Q.jsx)(se,{className:`h-4 w-4`,"aria-hidden":`true`}),` Conteúdo complementar`]}),(0,Q.jsxs)(`h2`,{className:`font-display text-3xl font-black leading-tight text-slate-950 sm:text-4xl md:text-5xl`,children:[`+6 Bônus `,(0,Q.jsx)(`span`,{className:`text-[#5B67F1]`,children:`Exclusivos`})]}),(0,Q.jsx)(`p`,{className:`mx-auto mt-4 max-w-2xl text-sm font-semibold leading-relaxed text-slate-600 sm:text-base`,children:`Todos são seções dentro do mesmo material â nada é entregue separado`})]}),(0,Q.jsx)(`div`,{className:`grid grid-cols-1 gap-5 md:grid-cols-2 xl:grid-cols-3`,children:ad.map((e,t)=>(0,Q.jsxs)(`article`,{className:`overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-lg shadow-slate-200/70 transition-transform duration-300 hover:-translate-y-1`,children:[(0,Q.jsx)(`div`,{className:`aspect-[3/2] w-full overflow-hidden bg-slate-100`,children:(0,Q.jsx)(`img`,{src:e.image,alt:e.alt,width:800,height:533,loading:`lazy`,decoding:`async`,className:`h-full w-full object-cover transition-transform duration-500 hover:scale-[1.02]`})}),(0,Q.jsxs)(`div`,{className:`flex items-start gap-3 p-5 sm:p-6`,children:[(0,Q.jsx)(`span`,{className:`flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-[#5B67F1]/10 text-[#5B67F1]`,children:(0,Q.jsx)(re,{className:`h-5 w-5`,"aria-hidden":`true`})}),(0,Q.jsxs)(`div`,{className:`min-w-0`,children:[(0,Q.jsxs)(`h3`,{className:`text-base font-black leading-snug text-slate-900`,children:[`Bônus `,t+1,` â `,e.name]}),(0,Q.jsx)(`p`,{className:`mt-2 text-sm leading-relaxed text-slate-600`,children:e.description})]})]})]},e.name))}),(0,Q.jsxs)(`div`,{className:`mx-auto mt-8 max-w-4xl rounded-2xl border border-[#5B67F1]/15 bg-white p-5 shadow-sm sm:p-7`,children:[(0,Q.jsx)(`p`,{className:`mb-4 text-center text-xs font-black uppercase tracking-widest text-[#5B67F1] sm:text-sm`,children:`E também incluso:`}),(0,Q.jsx)(`ul`,{className:`space-y-3`,children:od.map(e=>(0,Q.jsxs)(`li`,{className:`flex items-start justify-center gap-3 text-sm font-bold leading-relaxed text-slate-700 sm:text-base`,children:[(0,Q.jsx)(`span`,{className:`mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-emerald-50 text-emerald-600`,children:(0,Q.jsx)(_,{className:`h-4 w-4`,"aria-hidden":`true`})}),(0,Q.jsx)(`span`,{children:e})]},e))})]}),(0,Q.jsxs)(`div`,{className:`relative mx-auto mt-8 w-full max-w-sm`,children:[(0,Q.jsx)(`div`,{className:`absolute inset-0 rounded-3xl bg-red-600 opacity-30 blur-2xl`,"aria-hidden":`true`}),(0,Q.jsx)(`div`,{className:`absolute inset-2 rounded-2xl bg-red-500 opacity-20 blur-xl animate-pulse`,"aria-hidden":`true`}),(0,Q.jsx)(`div`,{className:`absolute -top-4 -right-2 z-10 rotate-6 rounded-lg border-2 border-white bg-red-600 px-4 py-2 text-xs font-black uppercase tracking-wider text-white shadow-xl shadow-red-600/50 sm:-right-5 sm:text-sm`,children:`Oferta Final`}),(0,Q.jsxs)(`div`,{className:`relative overflow-hidden rounded-2xl border-[4px] border-red-600 bg-white p-6 text-center shadow-2xl shadow-red-600/40 sm:p-8`,children:[(0,Q.jsx)(`div`,{className:`absolute -left-8 -top-8 h-20 w-20 rounded-full bg-red-500/10`,"aria-hidden":`true`}),(0,Q.jsx)(`div`,{className:`absolute -bottom-10 -right-10 h-24 w-24 rounded-full bg-red-500/15`,"aria-hidden":`true`}),(0,Q.jsxs)(`div`,{className:`mb-5`,children:[(0,Q.jsx)(`p`,{className:`mb-1 text-[10px] font-bold uppercase tracking-widest text-red-400 sm:text-xs`,children:`Vendido separadamente por`}),(0,Q.jsxs)(`div`,{className:`relative inline-block`,children:[(0,Q.jsx)(`span`,{className:`font-display text-3xl font-bold italic text-slate-400 sm:text-4xl`,children:`R$ 97,00`}),(0,Q.jsx)(`div`,{className:`absolute left-0 top-1/2 h-[5px] w-full -rotate-6 rounded-full bg-red-600`,"aria-hidden":`true`})]})]}),(0,Q.jsxs)(`div`,{className:`flex flex-col items-center gap-2`,children:[(0,Q.jsx)(`p`,{className:`text-sm font-black uppercase tracking-tight text-red-600 sm:text-base`,children:`Hoje você recebe:`}),(0,Q.jsx)(`div`,{className:`relative -rotate-1 rounded-xl bg-linear-to-r from-red-600 to-red-500 px-10 py-3 shadow-[0_8px_0_0_#991B1B] sm:px-14 sm:py-4`,children:(0,Q.jsx)(`h3`,{className:`font-display text-6xl font-black italic leading-none tracking-tighter text-white sm:text-7xl animate-pulse`,children:`GRÃTIS`})})]}),(0,Q.jsxs)(`div`,{className:`mt-7 flex items-center justify-center gap-3`,children:[(0,Q.jsx)(`div`,{className:`h-px flex-1 bg-red-200`,"aria-hidden":`true`}),(0,Q.jsx)(`p`,{className:`px-2 text-[11px] font-bold uppercase italic text-red-500 sm:text-xs`,children:`na compra da Apostila`}),(0,Q.jsx)(`div`,{className:`h-px flex-1 bg-red-200`,"aria-hidden":`true`})]})]})]}),(0,Q.jsx)(`div`,{className:`mt-8 flex justify-center sm:mt-10`,children:(0,Q.jsx)(`a`,{href:`#oferta`,className:`inline-flex items-center justify-center gap-2 rounded-full bg-[#5B67F1] px-8 py-4 text-sm font-black uppercase tracking-widest text-white shadow-xl shadow-[#5B67F1]/30 transition-all duration-300 hover:-translate-y-0.5 hover:bg-[#4a56e0] sm:px-10 sm:text-base`,children:`Quero garantir meu acesso`})})]})})}var cd=[{name:`Juliana Mendes`,role:`Psicopedagoga ClÃnica`,avatar:`JM`,imageUrl:`https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&q=80&w=150&h=150`,text:`Espetacular! Esse material é de longe um dos melhores investimentos que já fiz para o meu consultório. Economizou horas preciosas de preparação clÃnica e trouxe um nÃvel extraordinário de segurança para a minha tomada de decisão. Os protocolos de leitura e escrita mudaram a dinâmica dos meus atendimentos diários de forma espetacular.`,gridSpan:`col-span-1 lg:col-span-2`,isFeatured:!0}
9,{name:`Márcia Rodrigues`,role:`Neuropsicopedagoga`,avatar:`MR`,imageUrl:`https://images.unsplash.com/photo-1580489944761-15a19d654956?auto=format&fit=crop&q=80&w=150&h=150`,text:`A estrutura de cada relatório explicativo é impecável. Minhas sessões de devolutiva com os familiares ganharam uma seriedade clÃnica impecável.`,gridSpan:`col-span-1`},{name:`Carla Souza`,role:`Professora e Pedagoga`,avatar:`CS`,imageUrl:`https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&q=80&w=150&h=150`,text:`Me deu total clareza sobre como funciona o rastreamento das dificuldades e transtornos na escola antes de prosseguir com encaminhamentos.`,gridSpan:`col-span-1`},{name:`Roberto Fonseca`,role:`Psicopedagogo Institucional`,avatar:`RF`,imageUrl:`https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80&w=150&h=150`,text:`Excelente custo-benefÃcio. As fichas de acompanhamento sessão a sessão possibilitam mensurar a evolução prática dos alunos com precisão.`,gridSpan:`col-span-1`},{name:`Dra. PatrÃcia Limeira`,role:`Psicóloga e Psicopedagoga`,avatar:`PL`,imageUrl:`https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&q=80&w=150&h=150`,text:`Altamente sistematizada e fácil de repassar para a prática. Todo o material complementar tem referências fortes e fundamentadas na neuropsicopedagogia.`,gridSpan:`col-span-1 lg:col-span-2`,isFeatured:!0},{name:`Sandra Gomes`,role:`Psicopedagoga e Terapeuta`,avatar:`SG`,imageUrl:`https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&q=80&w=150&h=150`,text:`Economizei mais de 15 horas na escrita de laudos e devoluções na primeira semana! O retorno sobre o investimento foi imediato.`,gridSpan:`col-span-1`}];function ld(){return(0,Q.jsx)(`section`,{className:`py-24 bg-[#F5F6FB] border-t border-b border-slate-100/60 relative overflow-hidden`,children:(0,Q.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8`,children:[(0,Q.jsxs)(`div`,{className:`text-center max-w-3xl mx-auto mb-16 space-y-4`,children:[(0,Q.jsx)(`span`,{className:`text-[#5B67F1] font-extrabold uppercase tracking-widest text-xs px-4 py-1.5 bg-[#5B67F1]/8 rounded-full`,children:`DEPOIMENTOS REAIS`}),(0,Q.jsx)(`h2`,{className:`text-3xl md:text-5xl font-black text-slate-900 font-display tracking-tight leading-none`,children:`Quem já comprou, recomenda!`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-sm md:text-base leading-relaxed`,children:`Veja o depoimento real e sincero de profissionais que transformaram sua rotina clÃnica e escolar utilizando as nossas ferramentas estruturadas.`})]}),(0,Q.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6`,children:cd.map((e,t)=>{let n=e.gridSpan||`col-span-1`;return(0,Q.jsxs)($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.05,duration:.4},whileHover:{y:-5,transition:{duration:.2}},className:`p-6 sm:p-8 rounded-3xl border transition-all duration-300 flex flex-col justify-between ${n} ${e.isFeatured?`bg-white border-slate-200/80 shadow-md shadow-slate-200/50 hover:shadow-lg`:`bg-white border-slate-200/50 shadow-sm hover:shadow-md hover:border-slate-300/40`}`,children:[(0,Q.jsxs)(`div`,{className:`space-y-4 relative`,children:[(0,Q.jsx)(`div`,{className:`absolute -top-3 -right-2 text-slate-200/40 select-none pointer-events-none`,children:(0,Q.jsx)(me,{className:`w-12 h-12 rotate-180 fill-current`})}),(0,Q.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,Q.jsx)(`div`,{className:`flex gap-1 text-amber-400`,children:[...[,,,,,]].map((e,t)=>(0,Q.jsx)(Se,{className:`w-4 h-4 fill-amber-400 border-none`},t))}),(0,Q.jsx)(`span`,{className:`text-[10px] text-emerald-500 font-extrabold uppercase bg-emerald-50 px-2 py-0.5 rounded`,children:`Compra Verificada`})]}),(0,Q.jsxs)(`p`,{className:`text-slate-600 text-xs md:text-sm leading-relaxed ${e.isFeatured?`font-medium`:`italic`}`,children:[`"`,e.text,`"`]})]}),(0,Q.jsxs)(`div`,{className:`mt-8 pt-4 border-t border-slate-100/80 flex items-center gap-3`,children:[(0,Q.jsx)(`img`,{src:e.imageUrl,alt:e.name,width:40,height:40,loading:`lazy`,decoding:`async`,className:`w-10 h-10 rounded-full object-cover shadow-sm bg-slate-100 border border-slate-200/80`,referrerPolicy:`no-referrer`}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h4`,{className:`font-bold text-slate-800 text-xs md:text-sm leading-none`,children:e.name}),(0,Q.jsx)(`span`,{className:`text-slate-400 text-[10px] md:text-xs font-semibold mt-1 block`,children:e.role})]})]})]},t)})})]})})}function ud({onSelectBasic:e,onSelectPremium:t,countdownText:n}){return(0,Q.jsxs)(`section`,{id:`oferta`,className:`py-24 bg-[#F5F6FB] relative overflow-hidden border-t border-slate-200/55`,children:[(0,Q.jsx)(`div`,{className:`absolute top-1/2 left-1/4 -translate-y-1/2 w-[500px] h-[500px] bg-[#5B67F1]/3 rounded-full blur-3xl pointer-events-none`}),(0,Q.jsx)(`div`,{className:`absolute top-1/2 right-1/4 -translate-y-1/2 w-[500px] h-[500px] bg-emerald-500/3 rounded-full blur-3xl pointer-events-none`}),(0,Q.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 relative z-10`,children:[(0,Q.jsxs)(`div`,{className:`text-center max-w-3xl mx-auto mb-16 space-y-4`,children:[(0,Q.jsx)(`div`,{className:`inline-flex justify-center`,children:(0,Q.jsxs)(`span`,{className:`bg-rose-50 border border-rose-100 text-rose-700 font-extrabold text-xs px-4 py-1.5 rounded-full flex items-center gap-1.5 animate-bounce`,children:[`â° ATUALIZAÃÃO RECENTE ⢠DESCONTO EXPIRA EM: `,n]})}),(0,Q.jsx)(`h2`,{className:`text-3xl md:text-5xl font-black text-slate-900 tracking-tight font-display uppercase`,children:`Escolha seu Plano Promocional`})]}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 gap-6 lg:gap-8 max-w-5xl mx-auto items-start`,children:[(0,Q.jsxs)($.div,{initial:{opacity:0,x:-25},whileInView:{opacity:1,x:0},viewport:{once:!0},whileHover:{y:-4},className:`bg-white border-2 border-slate-200 rounded-3xl p-8 sm:p-10 flex flex-col justify-between shadow-xl relative text-center items-center transition-all duration-350`,children:[(0,Q.jsxs)(`div`,{className:`w-full flex flex-col items-center`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center justify-between mb-8 w-full border-b border-slate-100 pb-4`,children:[(0,Q.jsx)(`span`,{className:`bg-slate-100 border border-slate-200 text-slate-700 font-black text-xs uppercase px-3.5 py-1.5 rounded-full tracking-wider`,children:`PACOTE ESSENCIAL`}),(0,Q.jsx)(`span`,{className:`text-slate-500 text-xs font-mono font-bold`,children:`Código: ESSENCIAL`})]}),(0,Q.jsxs)(`div`,{className:`space-y-2 mb-8 text-center`,children:[(0,Q.jsx)(`h3`,{className:`text-3xl sm:text-4xl font-black text-slate-900 tracking-tight font-display`,children:`Plano Básico`}),(0,Q.jsx)(`p`,{className:`text-slate-600 text-sm sm:text-base font-semibold leading-relaxed max-w-sm`,children:`Material teórico essencial focado exclusivamente nos testes e protocolos centrais em formato comprimido PDF.`})]}),(0,Q.jsxs)(`div`,{className:`py-6 border-t-2 border-b-2 border-slate-150/80 mb-8 space-y-1.5 text-center w-full flex flex-col items-center bg-slate-50/55 rounded-2xl p-4`,children:[(0,Q.jsx)(`p`,{className:`text-sm text-slate-400 line-through font-extrabold tracking-wide`,children:`De R$ 97,00 por apenas`}),(0,Q.jsxs)(`div`,{className:`flex items-baseline justify-center gap-1.5`,children:[(0,Q.jsx)(`span`,{className:`text-xs text-slate-500 font-extrabold uppercase`,children:`Por apen
9as`}),(0,Q.jsx)(`span`,{className:`text-4xl sm:text-5xl font-black text-slate-900 tracking-tight font-display`,children:`R$ 9,99`}),(0,Q.jsx)(`span`,{className:`text-xs text-slate-400 font-bold uppercase tracking-wider`,children:`Ãnico`})]}),(0,Q.jsx)(`p`,{className:`text-emerald-700 text-xs font-black uppercase tracking-wide flex items-center gap-1 mt-1`,children:`â ENTREGA VIA WHATSAPP E E-MAIL`})]}),(0,Q.jsxs)(`div`,{className:`space-y-4 mb-10 w-full flex flex-col items-center`,children:[(0,Q.jsx)(`p`,{className:`text-slate-600 text-xs font-black uppercase tracking-widest text-center font-display border-b border-slate-200 pb-2 w-full`,children:`O que você leva no Básico:`}),(0,Q.jsxs)(`ul`,{className:`space-y-4 text-sm sm:text-base text-slate-700 w-full max-w-sm px-1`,children:[(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-500 shrink-0 mt-0.5 bg-emerald-50 rounded-full p-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-slate-900 font-bold`,children:`Entrega Imediata:`}),` Receba direto no WhatsApp e E-mail`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-500 shrink-0 mt-0.5 bg-emerald-50 rounded-full p-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-slate-900 font-bold`,children:`Apostila Completa:`}),` Material de Avaliação (.PDF)`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-500 shrink-0 mt-0.5 bg-emerald-50 rounded-full p-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-slate-900 font-bold`,children:`Mais de 50 Testes:`}),` Sistematizados e prontos.`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-500 shrink-0 mt-0.5 bg-emerald-50 rounded-full p-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-slate-900 font-bold font-semibold`,children:`Guias ClÃnicos:`}),` Protocolos de aplicação incluÃdos.`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-slate-400 text-left`,children:[(0,Q.jsx)(`span`,{className:`text-rose-500 font-black text-lg shrink-0 leading-none`,children:`Ã`}),(0,Q.jsx)(`span`,{className:`line-through text-slate-400 text-sm`,children:`Sem Drive Secreto de Bônus (+100 arquivos extras)`})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-slate-400 text-left`,children:[(0,Q.jsx)(`span`,{className:`text-rose-500 font-black text-lg shrink-0 leading-none`,children:`Ã`}),(0,Q.jsx)(`span`,{className:`line-through text-slate-400 text-sm`,children:`Sem Relatórios Word Editáveis (.docx)`})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-slate-400 text-left`,children:[(0,Q.jsx)(`span`,{className:`text-rose-500 font-black text-lg shrink-0 leading-none`,children:`Ã`}),(0,Q.jsx)(`span`,{className:`line-through text-slate-400 text-sm`,children:`Sem Modelos de Devolutiva de Suporte`})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-slate-400 text-left`,children:[(0,Q.jsx)(`span`,{className:`text-rose-500 font-black text-lg shrink-0 leading-none`,children:`Ã`}),(0,Q.jsx)(`span`,{className:`line-through text-slate-400 text-sm`,children:`Suporte limitado apenas via e-mail`})]})]})]})]}),(0,Q.jsxs)(`div`,{className:`space-y-4 w-full flex flex-col items-center`,children:[(0,Q.jsx)($.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:e,className:`w-full py-5 bg-slate-800 hover:bg-slate-900 text-white font-extrabold text-base rounded-2xl tracking-wider transition-colors uppercase cursor-pointer text-center shadow-md`,children:`QUERO O PLANO BÃSICO â`}),(0,Q.jsx)(`div`,{className:`text-center text-xs text-slate-400 font-bold uppercase tracking-wider`,children:`Garantia Incondicional de 7 Dias ⢠Baixar Imediatamente`})]})]}),(0,Q.jsxs)($.div,{initial:{opacity:0,x:25},whileInView:{opacity:1,x:0},viewport:{once:!0},whileHover:{y:-6},className:`bg-gradient-to-br from-[#5B67F1] to-[#3B46C7] text-white border-4 border-amber-400 rounded-3xl p-8 sm:p-10 flex flex-col justify-between shadow-2xl relative overflow-hidden items-center transition-all duration-350`,children:[(0,Q.jsx)(`div`,{className:`absolute -top-12 -right-12 w-48 h-48 bg-white/10 rounded-full blur-2xl pointer-events-none`}),(0,Q.jsx)(`div`,{className:`absolute -bottom-12 -left-12 w-48 h-48 bg-emerald-400/10 rounded-full blur-2xl pointer-events-none`}),(0,Q.jsx)(`div`,{className:`absolute top-0 right-0 bg-gradient-to-r from-amber-400 via-amber-500 to-orange-400 text-slate-950 px-5 sm:px-8 py-2 font-black text-[10px] sm:text-xs uppercase tracking-widest shadow-lg rounded-bl-2xl animate-pulse whitespace-nowrap`,children:`ð MAIS ADQUIRIDO ⢠RECOMENDADO`}),(0,Q.jsxs)(`div`,{className:`w-full flex flex-col items-center`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center justify-between mb-8 w-full border-b border-white/10 pb-4`,children:[(0,Q.jsxs)(`span`,{className:`bg-white/20 text-white font-black text-xs uppercase px-4 py-2 rounded-full tracking-wider flex items-center gap-2 mx-auto md:mx-0`,children:[(0,Q.jsx)(xe,{className:`w-4 h-4 text-amber-300 fill-amber-300 animate-pulse`}),` ACESSO PREMIUM COMPLETO`]}),(0,Q.jsx)(`span`,{className:`hidden md:inline text-white/70 text-xs font-mono font-bold`,children:`Código: DRIVE2026`})]}),(0,Q.jsxs)(`div`,{className:`space-y-2 mb-8 text-center font-display`,children:[(0,Q.jsx)(`h3`,{className:`text-3xl sm:text-4xl font-extrabold tracking-tight justify-center flex items-center gap-2 drop-shadow`,children:`Plano Premium`}),(0,Q.jsx)(`p`,{className:`text-indigo-100 text-sm sm:text-base font-semibold leading-relaxed max-w-sm`,children:`Kit ClÃnico Definitivo Completo: Apostila em altÃssima qualidade, Drive com +100 bônus e arquivos Word editáveis (.docx).`})]}),(0,Q.jsxs)(`div`,{className:`py-6 border-t-2 border-b-2 border-white/20 mb-8 space-y-1.5 text-center w-full flex flex-col items-center bg-white/10 rounded-2xl p-4`,children:[(0,Q.jsx)(`p`,{className:`text-sm text-indigo-200 line-through font-extrabold uppercase tracking-widest`,children:`VALOR REAL AVULSO: R$ 197,00`}),(0,Q.jsxs)(`div`,{className:`flex items-baseline justify-center gap-1.5`,children:[(0,Q.jsx)(`span`,{className:`text-xs text-indigo-100 font-extrabold uppercase`,children:`Por apen
9as`}),(0,Q.jsx)(`span`,{className:`text-5xl sm:text-6xl font-black text-amber-300 tracking-tight font-display drop-shadow-lg`,children:`R$ 27,00`}),(0,Q.jsx)(`span`,{className:`text-xs text-indigo-100 font-bold uppercase tracking-wider`,children:`Ãnico`})]}),(0,Q.jsx)(`p`,{className:`text-emerald-300 text-xs font-black uppercase mt-2 flex items-center justify-center gap-1.5 tracking-wider bg-emerald-950/40 px-3.5 py-1.5 rounded-full border border-emerald-500/30`,children:`â¡ ENTREGA IMEDIATA NO SEU WHATSAPP E E-MAIL`})]}),(0,Q.jsxs)(`div`,{className:`space-y-4 mb-10 w-full flex flex-col items-center`,children:[(0,Q.jsx)(`p`,{className:`text-indigo-150 text-xs font-black uppercase tracking-widest text-center font-display border-b border-white/15 pb-2 w-full`,children:`O QUE VOCà VAI RECEBER COMPLETO AGORA:`}),(0,Q.jsxs)(`ul`,{className:`space-y-4 text-sm sm:text-base text-indigo-50 w-full max-w-sm px-1`,children:[(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left bg-emerald-500/20 p-3 rounded-2xl border border-emerald-400/40 hover:bg-emerald-500/30 transition-all duration-300 w-full shadow-md`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-300 font-extrabold shrink-0 mt-0.5 bg-emerald-950/50 rounded-full p-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-emerald-200 font-black`,children:`Entrega Imediata:`}),` Receba direto no seu WhatsApp e E-mail`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left bg-white/10 p-3 rounded-2xl border border-white/20 hover:bg-white/15 transition-all duration-300 w-full shadow-md`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-300 font-extrabold shrink-0 mt-0.5 bg-emerald-950/40 rounded-full p-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-white font-black`,children:`Apostila Completa Premium:`}),` Material de altÃssimo impacto visual (.PDF)`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-300 font-bold shrink-0 mt-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-white font-bold`,children:`50+ Testes Sistematizados:`}),` Organizados e editáveis de forma prática.`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-300 font-bold shrink-0 mt-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-white font-bold`,children:`Guia Prático Ilustrado:`}),` Protocolos de aplicação passo a passo de alta resolução.`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left bg-white/10 p-3 rounded-2xl border border-white/20 hover:bg-white/15 transition-all duration-300 w-full shadow-md`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-amber-300 font-extrabold shrink-0 mt-0.5 bg-amber-950/40 rounded-full p-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-amber-350 font-black`,children:`Drive Secreto VitalÃcio:`}),` Mais de 100 jogos, atividades, materiais e bônus na nuvem.`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-300 font-bold shrink-0 mt-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-white font-bold`,children:`Relatórios no Word (.docx):`}),` 100% editáveis prontos para colocar sua logo.`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-300 font-bold shrink-0 mt-0.5`}),(0,Q.jsx)(`span`,{children:`Fichas de anamnese, acompanhamento e modelos de Devolutiva.`})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left font-semibold`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-300 font-extrabold shrink-0 mt-0.5 bg-emerald-950/40 rounded-full p-0.5 text-white`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-emerald-300 font-black`,children:`Atualizações Gratuitas:`}),` Todo novo teste adicionado sem taxas extras.`]})]}),(0,Q.jsxs)(`li`,{className:`flex items-start gap-3 text-left`,children:[(0,Q.jsx)(_,{className:`w-5 h-5 text-emerald-300 font-bold shrink-0 mt-0.5`}),(0,Q.jsx)(`span`,{children:`Acesso a suporte preferencial dedicado via e-mail.`})]})]})]})]}),(0,Q.jsxs)(`div`,{className:`space-y-4 w-full flex flex-col items-center`,children:[(0,Q.jsxs)($.button,{whileHover:{scale:1.03},whileTap:{scale:.98},onClick:t,className:`w-full py-5 px-4 bg-[#2DBE60] hover:bg-[#25A753] text-white font-black text-sm xs:text-base sm:text-lg rounded-2xl shadow-2xl shadow-emerald-400/35 uppercase tracking-wider transition-all duration-300 cursor-pointer block text-center relative`,children:[`OBTER ACESSO PREMIUM COMPLETO `,(0,Q.jsx)(`span`,{className:`inline-block animate-pulse ml-1.5 align-middle`,children:`ð`})]}),(0,Q.jsxs)(`div`,{className:`flex items-center justify-center gap-1.5 text-xs text-indigo-200 text-center font-semibold`,children:[(0,Q.jsx)(ve,{className:`w-5 h-5 text-emerald-300`}),` Compra Totalmente Segura ⢠Garantia de 7 Dias`]})]})]})]}),(0,Q.jsxs)($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},className:`mt-16 bg-gradient-to-br from-white to-slate-50 border border-slate-200 rounded-3xl p-6 sm:p-8 flex flex-col sm:flex-row items-center gap-6 max-w-3xl mx-auto
9shadow-sm`,children:[(0,Q.jsxs)(`div`,{className:`w-24 h-24 sm:w-28 sm:h-28 rounded-full bg-amber-50 border-4 border-amber-300/40 flex flex-col items-center justify-center shrink-0 shadow-inner`,children:[(0,Q.jsx)(m,{className:`w-10 h-10 text-amber-500 animate-spin-slow`}),(0,Q.jsx)(`span`,{className:`text-[9px] font-black text-amber-600 block uppercase tracking-wide mt-1`,children:`7 DIAS`}),(0,Q.jsx)(`span`,{className:`text-[7px] font-bold text-amber-500 leading-none`,children:`GARANTIA`})]}),(0,Q.jsxs)(`div`,{className:`text-center sm:text-left space-y-2`,children:[(0,Q.jsx)(`h3`,{className:`font-bold text-slate-900 text-lg font-display`,children:`Garantia Incondicional de 7 Dias de Satisfação`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-xs sm:text-sm leading-relaxed`,children:`Você possui garantia de 7 dias para testar todo o material livremente. Se você não ficar extremamente satisfeita com a qualidade técnica ou os bônus oferecidos, devolvemos 100% do seu investimento de imediato. Sem perguntas ou complicação.`})]})]})]})]})}function dd({onSelectBasic:e,onSelectPremium:t}){return(0,Q.jsxs)(`section`,{className:`py-10 bg-slate-50 border-b border-slate-200/60 relative overflow-hidden`,children:[(0,Q.jsx)(`div`,{className:`absolute -top-10 left-1/3 w-72 h-72 bg-[#5B67F1]/4 rounded-full blur-2xl pointer-events-none`}),(0,Q.jsx)(`div`,{className:`absolute -bottom-10 right-1/4 w-72 h-72 bg-emerald-500/3 rounded-full blur-2xl pointer-events-none`}),(0,Q.jsxs)(`div`,{className:`max-w-5xl mx-auto px-4 sm:px-6 relative z-10`,children:[(0,Q.jsxs)(`div`,{className:`text-center max-w-xl mx-auto mb-8 space-y-2`,children:[(0,Q.jsxs)(`span`,{className:`inline-flex items-center gap-1 bg-amber-100 border border-amber-200 text-amber-800 text-[11px] font-black uppercase px-2.5 py-1 rounded-full`,children:[(0,Q.jsx)(Ee,{className:`w-3 h-3 fill-amber-500 text-amber-500`}),` Acesso Imediato ⢠Sem Mensalidades`]}),(0,Q.jsx)(`h3`,{className:`text-xl sm:text-2xl font-extrabold text-slate-900 tracking-tight font-display`,children:`Acesso Rápido & Promocional`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-xs sm:text-sm font-semibold`,children:`Clique no plano ideal abaixo e inicie o download em poucos minutos!`})]}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 gap-4 max-w-4xl mx-auto items-stretch`,children:[(0,Q.jsxs)($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},whileHover:{y:-2},className:`bg-white border border-slate-200 rounded-2xl p-5 sm:p-6 flex flex-col justify-between shadow-md relative text-center transition-all duration-300`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{className:`flex items-center justify-between mb-3 border-b border-slate-100 pb-2`,children:[(0,Q.jsx)(`span`,{className:`text-[10px] font-black text-slate-400 uppercase tracking-wider`,children:`Teoria & Testes`}),(0,Q.jsx)(`span`,{className:`bg-slate-100 text-slate-600 text-[10px] font-bold px-2 py-0.5 rounded-md`,children:`R$ 9,99`})]}),(0,Q.jsx)(`h4`,{className:`text-lg font-black text-slate-900 font-display text-left`,children:`Plano Básico`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-xs mt-1 text-left leading-relaxed`,children:`Apostila de Avaliação teórica e testes principais em formato PDF.`}),(0,Q.jsxs)(`ul`,{className:`space-y-1.5 mt-4 text-xs text-slate-600 border-t border-slate-100 pt-3`,children:[(0,Q.jsxs)(`li`,{className:`flex items-center gap-2 text-left`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-500 shrink-0`}),(0,Q.jsx)(`span`,{className:`font-semibold text-slate-800`,children:`Entrega via WhatsApp e E-mail`})]}),(0,Q.jsxs)(`li`,{className:`flex items-center gap-2 text-left`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-500 shrink-0`}),(0,Q.jsx)(`span`,{children:`Apostila em PDF com 50+ Testes`})]}),(0,Q.jsxs)(`li`,{className:`flex items-center gap-2 text-left`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-500 shrink-0`}),(0,Q.jsx)(`span`,{children:`Protocolos de Aplicação Teóricos`})]}),(0,Q.jsx)(`li`,{className:`flex items-center gap-2 text-left text-slate-400 line-through`,children:(0,Q.jsx)(`span`,{children:`Sem Drive de Bônus nem Arquivos Editáveis Word`})})]})]}),(0,Q.jsxs)(`div`,{className:`mt-5 pt-3 border-t border-slate-100`,children:[(0,Q.jsxs)(`div`,{className:`flex items-baseline justify-between mb-3`,children:[(0,Q.jsx)(`span`,{className:`text-slate-400 text-[11px] font-bold`,children:`Pagamento Ãnico`}),(0,Q.jsx)(`span`,{className:`text-lg font-extrabold text-slate-900`,children:`R$ 9,99`})]}),(0,Q.jsx)($.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:e,className:`w-full py-3 bg-slate-800 hover:bg-slate-900 text-white font-extrabold text-xs rounded-xl tracking-wider up
9percase cursor-pointer shadow-sm transition-colors`,children:`Quero o Básico`})]})]}),(0,Q.jsxs)($.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0},whileHover:{y:-2},className:`bg-gradient-to-br from-[#5B67F1] to-[#4A55E1] text-white border-2 border-amber-400 rounded-2xl p-5 sm:p-6 flex flex-col justify-between shadow-lg relative transition-all duration-300`,children:[(0,Q.jsx)(`div`,{className:`absolute top-0 right-0 bg-gradient-to-r from-amber-400 to-amber-500 text-slate-950 px-3 py-1 font-black text-[9px] uppercase tracking-wider rounded-bl-xl rounded-tr-lg`,children:`â
RECOMENDADO`}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`div`,{className:`flex items-center justify-between mb-3 border-b border-white/10 pb-2`,children:[(0,Q.jsxs)(`span`,{className:`text-[10px] font-black text-amber-300 uppercase tracking-wider flex items-center gap-1`,children:[(0,Q.jsx)(xe,{className:`w-3 h-3 fill-amber-300`}),` Completo + Drive`]}),(0,Q.jsx)(`span`,{className:`bg-white/20 text-white text-[10px] font-bold px-2 py-0.5 rounded-md`,children:`R$ 27,00`})]}),(0,Q.jsx)(`h4`,{className:`text-lg font-black text-white font-display text-left`,children:`Plano Premium`}),(0,Q.jsx)(`p`,{className:`text-indigo-100 text-xs mt-1 text-left leading-relaxed`,children:`Apostila Completa Premium, Relatórios editáveis em Word (.docx) e Drive com bônus.`}),(0,Q.jsxs)(`ul`,{className:`space-y-1.5 mt-4 text-xs text-indigo-50 border-t border-white/10 pt-3`,children:[(0,Q.jsxs)(`li`,{className:`flex items-center gap-2 text-left`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-300 shrink-0 font-bold`}),(0,Q.jsx)(`span`,{className:`text-emerald-200 font-extrabold`,children:`Entrega Imediata via WhatsApp e E-mail`})]}),(0,Q.jsxs)(`li`,{className:`flex items-center gap-2 text-left`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-300 shrink-0`}),(0,Q.jsx)(`span`,{children:`Apostila PDF + Relatórios Editáveis (.DOCX)`})]}),(0,Q.jsxs)(`li`,{className:`flex items-center gap-2 text-left`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-300 shrink-0`}),(0,Q.jsx)(`span`,{children:`Drive Secreto VitalÃcio (+100 Bônus)`})]}),(0,Q.jsxs)(`li`,{className:`flex items-center gap-2 text-left`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-300 shrink-0 font-bold`}),(0,Q.jsx)(`span`,{className:`text-amber-300 font-extrabold`,children:`Atualizações Gratuitas Sem Custos`})]})]})]}),(0,Q.jsxs)(`div`,{className:`mt-5 pt-3 border-t border-white/10`,children:[(0,Q.jsxs)(`div`,{className:`flex items-baseline justify-between mb-3`,children:[(0,Q.jsx)(`span`,{className:`text-indigo-200 text-[11px] font-semibold`,children:`Acesso VitalÃcio`}),(0,Q.jsx)(`span`,{className:`text-lg font-black text-amber-300`,children:`R$ 27,00`})]}),(0,Q.jsx)($.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:t,className:`w-full py-3 bg-[#2DBE60] hover:bg-[#25A753] text-white font-black text-xs rounded-xl tracking-wider uppercase cursor-pointer shadow-md transition-colors`,children:`Quero o Completo`})]})]})]})]})]})}function fd({isOpen:e,onClose:t,onAccept:n,onDecline:r}){let[i,a]=(0,u.useState)(59),[o,s]=(0,u.useState)(99);return(0,u.useEffect)(()=>{if(!e)return;let t=setInterval(()=>{s(e=>e<=0?(a(e=>e>0?e-1:59),99):e-1)},10);return()=>clearInterval(t)},[e]),e?(0,Q.jsxs)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center p-4`,children:[(0,Q.jsx)($.div,{initial:{opacity:0}
9,animate:{opacity:1},exit:{opacity:0},onClick:t,className:`fixed inset-0 bg-slate-950/80 backdrop-blur-sm`}),(0,Q.jsxs)($.div,{initial:{opacity:0,scale:.9,y:50},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:50},className:`bg-white rounded-2xl shadow-2xl w-full max-w-sm max-h-[92vh] overflow-y-auto border-2 border-orange-500 z-10 text-slate-700 relative scrollbar-none`,children:[(0,Q.jsxs)(`div`,{className:`bg-gradient-to-r from-orange-600 via-amber-500 to-red-600 text-white p-4 relative`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-1.5 mb-1`,children:[(0,Q.jsx)(`span`,{className:`bg-white/20 text-white text-[9px] uppercase font-black px-1.5 py-0.5 rounded animate-pulse`,children:`OPORTUNIDADE ÃNICA`}),(0,Q.jsxs)(`span`,{className:`flex items-center gap-1 text-[11px] text-amber-200 font-extrabold`,children:[(0,Q.jsx)(xe,{className:`w-3.5 h-3.5 fill-current`}),` OFERTA IMPEDÃVEL`]})]}),(0,Q.jsx)(`h3`,{className:`text-lg font-black font-display tracking-tight uppercase leading-snug`,children:`ESPERE! NÃO LEVE Sà O BÃSICO...`}),(0,Q.jsx)(`p`,{className:`text-white/95 text-[11px] font-semibold leading-relaxed mt-0.5`,children:`Recomendamos fortemente fazer o upgrade para o Premium agora e economizar 80%!`}),(0,Q.jsx)(`button`,{onClick:t,className:`absolute top-3 right-3 w-7 h-7 rounded-full bg-white/10 hover:bg-white/20 flex items-center justify-center text-white transition-colors cursor-pointer`,children:(0,Q.jsx)(Te,{className:`w-4 h-4`})})]}),(0,Q.jsxs)(`div`,{className:`bg-amber-50 px-4 py-1.5 border-b border-amber-100 flex items-center justify-between text-[11px] font-bold text-amber-900`,children:[(0,Q.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,Q.jsx)(Ee,{className:`w-3.5 h-3.5 text-orange-500 animate-bounce shrink-0`}),` ESTE DESCONTO EXTRA EXPIRA EM:`]}),(0,Q.jsxs)(`span`,{className:`font-mono text-red-600 tracking-wider`,children:[i.toString().padStart(2,`0`),`:`,o.toString().padStart(2,`0`),`s`]})]}),(0,Q.jsxs)(`div`,{className:`p-4 space-y-4`,children:[(0,Q.jsxs)(`div`,{className:`bg-slate-50 rounded-xl p-3 border border-slate-200/60 relative overflow-hidden flex flex-col items-center text-center`,children:[(0,Q.jsx)(`div`,{className:`absolute top-0 right-0 bg-rose-500 text-white font-extrabold text-[8px] px-2 py-0.5 rounded-bl-lg uppercase tracking-wider`,children:`-80% OFF EXTRA`}),(0,Q.jsx)(`span`,{className:`text-[10px] text-slate-400 font-bold uppercase tracking-wider block`,children:`Upgrade de plano imediato`}),(0,Q.jsx)(`h4`,{className:`text-sm font-black text-slate-805 uppercase mt-0.5 mb-1.5`,children:`PLANO PREMIUM COMPLETO`}),(0,Q.jsxs)(`div`,{className:`flex flex-col items-center`,children:[(0,Q.jsx)(`span`,{className:`text-[10px] text-slate-400 line-through font-semibold leading-none`,children:`Preço normal hoje: R$ 27,00`}),(0,Q.jsxs)(`div`,{className:`flex items-baseline justify-center gap-0.5 mt-0.5`,children:[(0,Q.jsx)(`span`,{className:`text-[10px] font-bold text-slate-500`,children:`Por apenas`}),(0,Q.jsx)(`span`,{className:`text-3xl font-black text-orange-600 font-display tracking-tight leading-none`,children:`R$ 19,90`}),(0,Q.jsx)(`span`,{className:`text-[10px] font-extrabold text-slate-500`,children:`pagamento único`})]})]}),(0,Q.jsx)(`p`,{className:`text-emerald-600 text-[10px] font-black uppercase tracking-wide mt-1.5 flex items-center gap-0.5`,children:`â¡ Economize mais R$ 7,10 adicionais agora!`})]}),(0,Q.jsxs)(`div`,{className:`space-y-2`,children:[(0,Q.jsx)(`p`,{className:`text-[9px] font-extrabold text-slate-500 uppercase tracking-widest block font-display`,children:`O QUE VOCà VAI DEIXAR DE GANHAR NO PLANO BÃSICO:`}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-1 gap-1.5 text-[11px] leading-tight`,children:[(0,Q.jsxs)(`div`,{className:`flex items-start gap-1.5 text-slate-600`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-500 font-bold shrink-0 mt-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-slate-800`,children:`Drive Bônus:`}),` Acesso à pasta na nuvem com +100 arquivos extras de suporte.`]})]}),(0,Q.jsxs)(`div`,{className:`flex items-start gap-1.5 text-slate-600`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-500 font-bold shrink-0 mt-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-slate-800`,children:`Relatórios Word Editáveis:`}),` Modelos estruturados (.docx).`]})]}),(0,Q.jsxs)(`div`,{className:`flex items-start gap-1.5 text-slate-600`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-500 font-bold shrink-0 mt-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-slate-800`,children:`Modelos de Devolutiva Prontos:`}),` Sistema para orientar e guiar as fámilias.`]})]}),(0,Q.jsxs)(`div`,{className:`flex items-start gap-1.5 text-slate-600`,children:[(0,Q.jsx)(_,{className:`w-3.5 h-3.5 text-emerald-500 font-bold shrink-0 mt-0.5`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`strong`,{className:`text-slate-800`,children:`Atualizações de Prática CrÃtica:`}),` Novos arquivos inclusos grátis.`]})]})]})]}),(0,Q.jsxs)(`div`,{className:`space-y-1.5 pt-1`,children:[(0,Q.jsxs)($.button,{whileHover:{scale:1.01},whileTap:{scale:.99},onClick:n,className:`w-full py-3 bg-[#2DBE60] hover:bg-[#25A753] text-white font-black text-xs rounded-xl shadow-md shadow-emerald-200 transition-all uppercase tracking-wide flex items-center justify-center gap-1.5 cursor-pointer text-center`,children:[`SIM! ATUALIZAR HOJE POR R$ 19,90 `,(0,Q.jsx)(p,{className:`w-3.5 h-3.5`})]}),(0,Q.jsx)(`button`,{onClick:r,className:`w-full py-1.5 bg-slate-50 hover:bg-slate-100 text-slate-450 hover:text-slate-600 font-bold text-[10px] rounded-lg transition-all uppercase tracking-wide cursor-pointer text-center`,children:`Não, obrigado. Prefiro o Básico por R$ 9,99`})]}),(0,Q.jsxs)(`div`,{className:`pt-2 border-t border-slate-100/80 flex items-center justify-between text-[9px] text-slate-400 font-semibold uppercase`,children:[(0,Q.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,Q.jsx)(ve,{className:`w-3.5 h-3.5 text-emerald-500`}),` Transação Segura SSL`]}),(0,Q.jsx)(`span`,{children:`Garantia de 7 dias mantida`})]})]})]})]}):null}var pd=[{label:`Tempo de preparação`,without:`Horas montando testes e fichas do zero`,with:`Material pronto: imprima e aplique no mesmo dia`},{label:`Organização do diagnóstico`,without:`Anotações soltas, sem sequência clara`,with:`+50 testes organizados por área e faixa etária`},{label:`Relatórios e devolutivas`,without:`Começar cada laudo com a página em branco`,with:`Modelos edit
9áveis de laudo, devolutiva e encaminhamento`},{label:`Segurança profissional`,without:`Dúvida se o instrumento escolhido é o certo`,with:`Protocolos com embasamento e critérios de análise`},{label:`Percepção das famÃlias`,without:`Atendimento parece improvisado`,with:`Documentos claros que transmitem autoridade`},{label:`Custo`,without:`Cursos e materiais avulsos a cada nova demanda`,with:`Acesso único, a partir de R$ 9,99, para usar sempre`}];function md(){return(0,Q.jsx)(`section`,{className:`py-20 bg-white border-t border-slate-100 relative overflow-hidden`,children:(0,Q.jsxs)(`div`,{className:`max-w-6xl mx-auto px-4 sm:px-6 lg:px-8`,children:[(0,Q.jsxs)(`div`,{className:`text-center max-w-3xl mx-auto mb-14 space-y-4`,children:[(0,Q.jsx)(`span`,{className:`text-[#5B67F1] font-extrabold uppercase tracking-widest text-xs px-3 py-1 bg-[#5B67F1]/8 rounded-full`,children:`COMPARATIVO`}),(0,Q.jsx)(`h2`,{className:`text-3xl md:text-4xl font-extrabold text-slate-900 font-display`,children:`Sua rotina sem o material vs. com o material`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-sm md:text-base`,children:`A diferença aparece já no primeiro atendimento depois do acesso liberado.`})]}),(0,Q.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-8`,children:[(0,Q.jsxs)($.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.45},className:`rounded-3xl border border-rose-100 bg-rose-50/50 p-6 sm:p-8 shadow-sm`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-3 mb-6`,children:[(0,Q.jsx)(`div`,{className:`w-10 h-10 rounded-2xl bg-rose-100 text-rose-600 flex items-center justify-center shrink-0`,children:(0,Q.jsx)(Te,{className:`w-5 h-5`})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h3`,{className:`font-extrabold text-slate-900 font-display text-lg`,children:`Sem o material`}),(0,Q.jsx)(`p`,{className:`text-[11px] uppercase tracking-widest font-bold text-rose-500`,children:`Rotina travada`})]})]}),(0,Q.jsx)(`ul`,{className:`space-y-4`,children:pd.map((e,t)=>(0,Q.jsxs)(`li`,{className:`flex gap-3 items-start`,children:[(0,Q.jsx)(Te,{className:`w-4 h-4 text-rose-500 mt-1 shrink-0`}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`span`,{className:`block text-[11px] font-bold uppercase tracking-wider text-slate-400`,children:e.label}),(0,Q.jsx)(`span`,{className:`text-sm text-slate-600 leading-snug`,children:e.without})]})]},t))})]}),(0,Q.jsxs)($.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.45,delay:.1},className:`relative rounded-3xl border-2 border-[#5B67F1] bg-white p-6 sm:p-8 shadow-xl shadow-[#5B67F1]/10 glow-effect`,children:[(0,Q.jsx)(`span`,{className:`absolute -top-3 right-6 bg-[#2DBE60] text-white text-[10px] font-black uppercase tracking-widest px-3 py-1.5 rounded-full shadow-md`,children:`Recomendado`}),(0,Q.jsxs)(`div`,{className:`flex items-center gap-3 mb-6`,children:[(0,Q.jsx)(`div`,{className:`w-10 h-10 rounded-2xl bg-[#5B67F1] text-white flex items-center justify-center shrink-0 shadow-md shadow-[#5B67F1]/20`,children:(0,Q.jsx)(_,{className:`w-5 h-5`})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`h3`,{className:`font-extrabold text-slate-900 font-display text-lg`,children:`Com a Apostila Psicopedagógica`}),(0,Q.jsx)(`p`,{className:`text-[11px] uppercase tracking-widest font-bold text-[#5B67F1]`,children:`Prática profissional`})]})]}),(0,Q.jsx)(`ul`,{className:`space-y-4`,children:pd.map((e,t)=>(0,Q.jsxs)(`li`,{className:`flex gap-3 items-start`,children:[(0,Q.jsx)(_,{className:`w-4 h-4 text-emerald-600 mt-1 shrink-0`}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`span`,{className:`block text-[11px] font-bold uppercase tracking-wider text-slate-400`,children:e.label}),(0,Q.jsx)(`span`,{className:`text-sm text-slate-800 font-semibold leading-snug`,children:e.with})]})]},t))})]})]})]})})}var hd=[{icon:ne,title:`Finalize seu acesso`,description:`Escolha o plano ideal e conclua o pagamento em poucos segundos, com PIX ou cartão de crédito.`},{icon:de,title:`Receba no seu e-mail`,description:`O link da apostila completa e do Drive de bônus chega em minutos, direto na sua caixa de entrada.`},{icon:pe,title:`Aplique no próximo atendimento`,description:`Baixe, edite no Canva ou imprima somente os testes que vai usar e já aplique com segurança.`}];function gd({onCtaClick:e}){return(0,Q.jsx)(`section`,{className:`py-20 bg-[#F5F6FB] border-t border-slate-100 relative overflow-hidden`,children:(0,Q.jsxs)(`div`,{className:`max-w-6xl mx-auto px-4 sm:px-6 lg:px-8`,children:[(0,Q.jsxs)(`div`,{className:`text-center max-w-3xl mx-auto mb-14 space-y-4`,children:[(0,Q.jsx)(`span`,{className:`text-[#5B67F1] font-extrabold uppercase tracking-widest text-xs px-3 py-1 bg-[#5B67F1]/8 rounded-full`,children:`PASSO A PASSO`}),(0,Q.jsx)(`h2`,{className:`text-3xl md:text-4xl font-extrabold text-slate-900 font-display`,children:`Comece a usar em 3 passos simples`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-sm md:text-base`,children:`Sem espera, sem burocracia: o material fica disponÃvel no mesmo dia da compra.`})]}),(0,Q.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-6`,children:hd.map((e,t)=>(0,Q.jsxs)($.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1,duration:.45},whileHover:{y:-5},className:`relative bg-white rounded-3xl p-7 border border-slate-200/60 shadow-sm hover:shadow-lg hover:border-[#5B67F1]/25 transition-all duration-300`,children:[(0,Q.jsxs)(`span`,{className:`absolute top-6 right-6 text-4xl font-black text-[#5B67F1]/10 font-display leading-none`,children:[`0`,t+1]}),(0,Q.jsx)(`div`,{className:`w-12 h-12 rounded-2xl bg-[#5B67F1]/10 text-[#5B67F1] flex items-center justify-center mb-5`,children:(0,Q.jsx)(e.icon,{className:`w-6 h-6`})}),(0,Q.jsx)(`h3`,{className:`font-extrabold text-slate-900 font-display text-lg mb-2 leading-snug`,children:e.title}),(0,Q.jsx)(`p`,{className:`text-sm text-slate-500 leading-relaxed`,children:e.description})]},t))}),(0,Q.jsx)(`div`,{className:`mt-12 flex justify-center`,children:(0,Q.jsxs)($.button,{whileHover:{scale:1.03},whileTap:{scale:.98},onClick:e,className:`px-8 py-4 bg-[#2DBE60] hover:bg-[#25A753] text-white font-black text-sm md:text-base rounded-2xl shadow-xl shadow-[#2DBE60]/20 cursor-pointer uppercase tracking-wider flex items-center gap-2`,children:[`Quero começar agora `,(0,Q.jsx)(p,{className:`w-4 h-4`})]})})]})})}var _d={version:1,asset_id:`b2fde09d-aaa7-4213-8406-3705e371582b`,project_id:`3d0f8372-c01b-4418-83e3-7291fb675ffb`,url:`/__l5e/assets-v1/b2fde09d-aaa7-4213-8406-3705e371582b/impact-image.
9webp`,r2_key:`a/v1/3d0f8372-c01b-4418-83e3-7291fb675ffb/b2fde09d-aaa7-4213-8406-3705e371582b/impact-image.webp`,original_filename:`impact-image.webp`,size:90658,content_type:`image/webp`,created_at:`2026-09-17T00:28:59Z`}.url,vd=[{question:`O acesso é imediato?`,answer:`Sim! Assim que o seu pagamento for aprovado, você receberá um e-mail com os dados de acesso imediatamente. Se pagar via PIX ou Cartão de Crédito, chega em poucos minutos.`},{question:`Como receberei o material?`,answer:`Você receberá um link de acesso exclusivo em seu e-mail. Através dele, você poderá fazer o download de toda a apostila em formato PDF de alta qualidade e acessar o Drive do Bônus com todos os arquivos adicionais e editáveis.`},{question:`Funciona no celular?`,answer:`Sim, perfeitamente! Todo o material pode ser visualizado, lido e baixado diretamente em seu smartphone, tablet, notebook ou computador.`},{question:`Posso imprimir?`,answer:`Com certeza! O PDF foi otimizado para impressão doméstica ou profissional. Você pode optar por imprimir apenas os testes que irá aplicar ou a apostila completa.`},{question:`O material é editável?`,answer:`Sim! Os relatórios diagnósticos, modelos de devolutiva e relatórios de encaminhamento inclusos como materiais extras estão em formatos editáveis para você personalizar com seus dados e logomarca.`},{question:`Receberei os bônus?`,answer:`Sim! O acesso ao Drive do Bônus 1 (com materiais adicionais, planilhas e modelos) está incluso sem nenhum custo extra e será liberado junto com a apostila principal.`}];function yd(){let[e,t]=(0,u.useState)(!1),[n,r]=(0,u.useState)(27),[i,a]=(0,u.useState)(`Plano Premium Completo`),[o,s]=(0,u.useState)(!1),[c,l]=(0,u.useState)(1182);(0,u.useEffect)(()=>{let e=localStorage.getItem(`countdown_secs`);l(e&&parseInt(e)>0?parseInt(e):1182)},[]),(0,u.useEffect)(()=>{if(c<=0){l(1182);return}let e=setTimeout(()=>{let e=c-1;l(e),localStorage.setItem(`countdown_secs`,e.toString())},1e3);return()=>clearTimeout(e)},[c]);let d=`${Math.floor(c/60)}min ${(c%60).toString().padStart(2,`0`)}seg`,f=()=>{let e=document.getElementById(`oferta`);e?e.scrollIntoView({behavior:`smooth`}):h()},p=e=>{let t=window.location.search;if(!t)return e;let n=t.startsWith(`?`)?t.substring(1):t;return`${e}${e.includes(`?`)?`&`:`?`}${n}`},m=e=>{let t=p(e);try{if(typeof window<`u`){let e=window;e.fbq?(console.log(`Utmify/Meta Pixel: Disparando evento InitiateCheckout manual...`),e.fbq(`track`,`InitiateCheckout`)):console.log(`Meta Pixel (fbq) não detectado no window ainda, a requisição seguirá em segundo plano.`),e.ttq&&(console.log(`TikTok Pixel: Disparando evento InitiateCheckout manual...`),e.ttq.track(`InitiateCheckout`))}}catch(e){console.error(`Erro ao disparar pixel manual:`,e)}setTimeout(()=>{window.location.href=t},400)},h=()=>{m(`https://pay.hotmart.com/N107851306J?checkoutMode=10`)},g=()=>{s(!0)},v=()=>{m(`https://pay.hotmart.com/N107851306J?checkoutMode=10`)};return(0,Q.jsxs)(`div`,{className:`min-h-screen bg-[#F5F6FB] flex flex-col font-sans relative antialiased selection:bg-[#5B67F1]/20 selection:text-[#5B67F1]`,children:[(0,Q.jsxs)(`header`,{className:`fixed top-0 inset-x-0 z-40 transition-all duration-300 shadow-sm`,children:[(0,Q.jsx)(`div`,{className:`bg-white/90 backdrop-blur-md border-b border-slate-100`,children:(0,Q.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-14 sm:h-16 flex items-center justify-between`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-2 cursor-pointer`,onClick:()=>window.scrollTo({top:0,behavior:`smooth`}),children:[(0,Q.jsx)(`div`,{className:`w-8 h-8 sm:w-9 sm:h-9 rounded-xl bg-[#5B67F1] flex items-center justify-center text-white font-bold shadow-md shadow-[#5B67F1]/20`,children:(0,Q.jsx)(ce,{className:`w-4 h-4 sm:w-5 sm:h-5`})}),(0,Q.jsxs)(`span`,{className:`font-extrabold text-slate-950 font-display text-sm md:text-base tracking-tight`,children:[`Apostila `,(0,Q.jsx)(`span`,{className:`text-[#5B67F1]`,children:`Psicopedagógica`})]})]}),(0,Q.jsx)(`div`,{className:`flex items-center gap-3 sm:gap-6`,children:(0,Q.jsxs)(`button`,{onClick:f,className:`px-3.5 sm:px-4 py-1.5 sm:py-2 bg-[#2DBE60] hover:bg-[#25A753] text-white text-xs sm:text-sm font-bold rounded-xl shadow-md cursor-pointer transition-transform duration-200 active:scale-95 flex items-center gap-1.5`,children:[`Garantir Desconto `,(0,Q.jsx)(`span`,{className:`hidden sm:inline`,children:`A partir de R$ 9,99`})]})})]})}),(0,Q.jsxs)(`div`,{className:`bg-gradient-to-r from-red-600 via-rose-600 to-red-600 text-white text-[11px] sm:text-xs font-bold py-1.5 px-4 text-center shadow-md flex items-center justify-center gap-1.5 tracking-wide`,children:[(0,Q.jsx)(xe,{className:`w-3.5 h-3.5 animate-pulse text-yellow-300 shrink-0`}),(0,Q.jsxs)(`span`,{children:[`OFERTA EXCLUSIVA ⢠ACABA EM: `,(0,Q.jsx)(`strong`,{className:`font-mono text-yellow-300 font-extrabold text-xs sm:text-sm ml-1`,children:d})]})]})]}),(0,Q.jsxs)(`main`,{className:`flex-1`,children:[(0,Q.jsx)($u,{onCtaClick:f,countdownText:d}),(0,Q.jsx)(dd,{onSelectBasic:g,onSelectPremium:v}),(0,Q.jsx)(sd,{}),(0,Q.jsx)(nd,{}),(0,Q.jsx)(id,{}),(0,Q.jsx)(md,{}),(0,Q.jsx)(`section`,{className:`py-12 bg-[#F5F6FB] border-t border-b border-slate-100 relative overflow-hidden`,children:(0,Q.jsx)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8`,children:(0,Q.jsxs)($.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:`relative rounded-3xl overflow-hidden shadow-2xl border border-white/60 bg-white p-2 sm:p-4 max-w-5xl mx-auto`,children:[(0,Q.jsx)(`img`,{src:_d,alt:`Ambiente educacional infantil de desenvolvimento cognitivo`,width:1376,height:768,loading:`lazy`,decoding:`async`,className:`w-full h-auto object-cover rounded-2xl hover:scale-[1.01] transition-transform duration-700`,referrerPolicy:`no-referrer`}),(0,Q.jsx)(`div`,{className:`absolute inset-x-8 bottom-8 text-center bg-slate-900/85 backdrop-blur-md text-white p-4 sm:p-6 rounded-2xl max-w-2xl mx-auto border border-white/10 shadow-lg hidden sm:block`,children:(0,Q.jsx)(`p`,{className:`text-sm md:text-base font-semibold leading-relaxed`,children:`"O diagnóstico estruturado é a chave para planejar intervenções pedagógicas eficazes e promover o pleno desenvolvimento cognitivo infantil."`})})]})})}),(0,Q.jsx)(ld,{}),(0,Q.jsx)(gd,{onCtaClick:f}),(0,Q.jsx)(ud,{onSelectBasic:g,onSelectPremium:v,countdownText:d}),(0,Q.jsx)(`section`,{className:`py-20 bg-[#F5F6FB] border-t border-slate-200/50 relative overflow-hidden`,children:(0,Q.jsxs)(`div`,{className:`max-w-4xl mx-auto px-4 sm:px-6`,children:[(0,Q.jsxs)(`div`,{className:`text-center mb-14 space-y-4`,children:[(0,Q.jsx)(`span`,{className:`text-[#5B67F1] font-extrabold uppercase tracking-widest text-xs px-3 py-1 bg-[#5B67F1]/8 rounded-full`,children:`DÃVIDAS FREQUENTES`}),(0,Q.jsx)(`h2`,{className:`text-3xl md:text-4xl font-extrabold text-slate-900 font-display`,children:`Perguntas Frequentes`}),(0,Q.jsx)(`p`,{className:`text-slate-500 text-sm md:text-base`,children:`Tem alguma hesitação? Nós compilamos as principais respostas sobre o material para você.`})]}),(0,Q.jsx)(`div`,{className:`space-y-4 max-w-3xl mx-auto`,children:vd.map((e,t)=>(0,Q.jsx)(Zu,{question:e.question,answer:e.answer,index:t},t))})]})}),(0,Q.jsxs)(`section`,{className:`py-24 bg-[#5B67F1] text-white text-center relative overflow-hidden`,children:[(0,Q.jsx)(`div`,{className:`absolute top-0 right-0 transform translate-x-12 -translate-y-12 w-64 h-64 bg-white/5 rounded-full blur-xl`}),(0,Q.jsx)(`div`,{className:`absolute bottom-0 left-0 transform -translate-x-12 translate-y-12 w-72 h-72 bg-emerald-400/10 rounded-full blur-2xl`}),(0,Q.jsxs)(`div`,{className:`max-w-4xl mx-auto px-4 sm:px-6 relative z-10 space-y-8`,children:[(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(`span`,{className:`text-emerald-400 text-xs font-black tracking-widest uppercase block bg-emerald-400/10 px-3 py-1.5 rounded-full w-max mx-auto`,children:`Lote promocional ativo`}),(0,Q.jsx)(`h2`,{className:`text-3xl sm:text-4xl md:text-5xl font-black font-display leading-tight max-w-3xl mx-auto`,children:`Tenha acesso agora ao material que vai transformar sua prática psicopedagógica`}),(0,Q.jsx)(`p`,{className:`text-white/80 text-sm sm:text-base md:text-lg max-w-2xl mx-auto leading-relaxed`,children:`Mais de 50 instrumentos organizados para facilitar suas avaliações e intervenções de maneira ágil, segura e muito mais profissional.`})]}),(0,Q.jsxs)(`div`,{className:`flex flex-col items-center justify-center space-y-3 pt-4`,children:[(0,Q.jsx)($.button,{whileHover:{scale:1.03},whileTap:{scale:.98},onClick:f,className:`w-full sm:w-auto px-10 py-5 bg-[#2DBE60] hover:bg-[#25A753] text-white font-black text-sm md:text-lg rounded-2xl shadow-xl shadow-[#2DBE60]/10 cursor-pointer uppercase tracking-wider`,children:`QUERO GARANTIR MINHA APOSTILA AGORA`}),(0,Q.jsxs)(`span`,{className:`text-white/80 text-xs flex items-center gap-1.5 justify-center`,children:[(0,Q.jsx)(_,{className:`w-4 h-4 text-emerald-400 font-bold`}),` Acesso liberado no mesmo minuto`]})]})]})]})]}),(0,Q.jsx)(`footer`,{className:`bg-slate-900 text-slate-400 text-xs py-8 border-t border-slate-800`,children:(0,Q.jsxs)(`div`,{className:`max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-col md:flex-row items-center justify-between gap-4`,children:[(0,Q.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Q.jsx)(`div`,{className:`w-8 h-8 rounded bg-slate-800 flex items-center justify-center text-white font-bold text-xs`,children:(0,Q.jsx)(ce,{className:`w-4 h-4 text-[#5B67F1]`})}),(0,Q.jsx)(`span`,{className:`font-extrabold text-[#F5F6FB] tracking-wider text-xs uppercase`,children:`Psicopedagogia Premium`})]}),(0,Q.jsxs)(`p`,{className:`text-center md:text-right text-[11px] opacity-75`,children:[`© `,new Date().getFullYear(),` ⢠Todos os direitos reservados.`,(0,Q.jsx)(`span`,{className:`block mt-1 text-slate-500`,children:`Desenvolvido com foco em alta performance e credibilidade terapêutica.`})]})]})}),(0,Q.jsx)(Xu,{isOpen:e,onClose:()=>t(!1),productPrice:n,productName:i}),(0,Q.jsx)(fd,{isOpen:o,onClose:()=>s(!1),onAccept:()=>{s(!1),m(`https://pay.hotmart.com/N107851306J?off=r8bsso9u&checkoutMode=10`)},onDecline:()=>{s(!1),m(`https://pay.wiapy.com/19MzatisRMG`)}})]})}var bd=yd;export{bd as component};
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.