1import{r as h,p as e}from"./chunk-framework-9C8vVeBV.js";(function(){try{var c=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};c.SENTRY_RELEASE={id:"0a5f7eaafc85ec9bb1383407d23818d08c4d7bdd"};var n=new c.Error().stack;n&&(c._sentryDebugIds=c._sentryDebugIds||{},c._sentryDebugIds[n]="6405eeee-245b-4030-8028-ca7cc9082ee6",c._sentryDebugIdIdentifier="sentry-dbid-6405eeee-245b-4030-8028-ca7cc9082ee6")}catch{}})();const V={"#A66236":{dark:"#7C4423",mid:"#A66236",light:"#C28652",outline:"#5A2D14"},"#F59E0B":{dark:"#B45309",mid:"#F59E0B",light:"#FBBF24",outline:"#7C2D12"},"#F43F5E":{dark:"#9F1239",mid:"#F43F5E",light:"#FB7185",outline:"#7F1D1D"},"#6366F1":{dark:"#3730A3",mid:"#6366F1",light:"#818CF8",outline:"#1E1B4B"},"#10B981":{dark:"#047857",mid:"#10B981",light:"#34D399",outline:"#064E3B"}};function ie(c,n,k,D,u,r,t){let F="";for(let j=0;j<k;j++){const x=-Math.PI/2+j/k*Math.PI*2,L=x-Math.PI/k,A=x+Math.PI/k,_=1+t*Math.max(0,Math.sin(x)),M=D*_,C=c+Math.cos(x)*M,Y=n+Math.sin(x)*M*r,N=c+Math.cos(L)*u,b=n+Math.sin(L)*u*r,Z=c+Math.cos(A)*u,G=n+Math.sin(A)*u*r,I=(L+x)/2,P=(u+M)/2+10,w=c+Math.cos(I)*P,K=n+Math.sin(I)*P*r,d=(x+A)/2,f=(M+u)/2+10,E=c+Math.cos(d)*f,g=n+Math.sin(d)*f*r;j===0&&(F+=`M ${N.toFixed(1)} ${b.toFixed(1)} `),F+=`Q ${w.toFixed(1)} ${K.toFixed(1)}, ${C.toFixed(1)} ${Y.toFixed(1)} `,F+=`Q ${E.toFixed(1)} ${g.toFixed(1)}, ${Z.toFixed(1)} ${G.toFixed(1)} `}return F+"Z"}const O="#F5A547",J="#E18B2F",X="#FBF3E9",ee="#F4C5A6",m="#1F1009",ce="#F87171",te={x:178,y:188},se={x:222,y:188},le=4.5,S=.18,re={x:200,y:180},ae=.12,de=230,xe=9,ne=["#FBBF24","#FBF3E9","#F5A547"],oe=7,fe=720,pe=({size:c=320,mood:n="curious",maneColor:k="#A66236",floating:D=!0,className:u})=>{const r=V[k.toUpperCase()]??V["#A66236"],t=r.outline,F=h.useMemo(()=>ie(200,178,11,102,80,1.08,.22),[]),j=h.useRef(null),x=h.useRef(null),L=h.useRef(null),A=h.useRef(null),_=h.useRef(null),[M,C]=h.useState([]),Y=h.useRef(0),N=h.useRef(null),b=n==="curious"||n==="confused";h.useEffect(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let f=0,E=0,g=!1;const o={left:{x:0,y:0},right:{x:0,y:0},perk:0};let Q=0;const a=()=>{const s=j.current;if(!s)return null;const l=s.getBoundingClientRect();return l.width===0?null:{rect:l,scale:l.width/400}},p=(s,l,i)=>{const y=i.rect.left+s*i.scale,R=i.rect.top+l*i.scale,W=(f-y)/i.scale,B=(E-R)/i.scale,$=Math.hypot(W,B);if($<.01)return{x:0,y:0};const H=Math.min($,le);return{x:W/$*H,y:B/$*H}},v=s=>{const l=s.rect.left+re.x*s.scale,i=s.rect.top+re.y*s.scale,y=(f-l)/s.scale,R=(E-i)/s.scale,W=Math.hypot(y,R);return Math.max(0,1-W/de)},T=(s,l)=>{const i=s.current;i&&i.setAttribute("transform",`translate(${l.x.toFixed(2)} ${l.y.toFixed(2)})`)},U=(s,l,i,y)=>{const R=s.current;if(!R)return;const W=(y*xe*i).toFixed(2),B=(-3*i).toFixed(2);R.setAttribute("transform",`rotate(${W} ${l} 138) translate(0 ${B})`)},z=()=>{const s=a();if(s&&g){if(b){const i=p(te.x,te.y,s),y=p(se.x,se.y,s);o.left.x+=(i.x-o.left.x)*S,o.left.y+=(i.y-o.left.y)*S,o.right.x+=(y.x-o.right.x)*S,o.right.y+=(y.y-o.right.y)*S,T(x,o.left),T(L,o.right)}const l=v(s);o.perk+=(l-o.perk)*ae,U(A,148,o.perk,1),U(_,252,o.perk,-1)}Q=requestAnimationFrame(z)},q=s=>{f=s.clientX,E=s.clientY,g=!0};return window.addEventListener("mousemove",q,{passive:!0}),Q=requestAnimationFrame(z),()=>{window.removeEventListener("mousemove",q),cancelAnimationFrame(Q)}},[b]);const Z=()=>{const d=window.matchMedia("(prefers-reduced-motion: reduce)").matches,f=N.current;f&&!d&&(f.getAnimations().forEach(a=>a.cancel()),f.animate([{transform:"scale(1)"},{transform:"scale(1.055)",offset:.35},{transform:"scale(1)"}],{duration:540,easing:"cubic-bezier(0.22, 1, 0.36, 1)"}));const E=102,g={x:200,y:178},o=[];for(let a=0;a<oe;a++){const p=a/oe*Math.PI*2+(Math.random()-.5)*.5,v=E+(Math.random()-.5)*18,T=34+Math.random()*16;o.push({id:Y.current++,x:g.x+Math.cos(p)*v,y:g.y+Math.sin(p)*v,dx:Math.cos(p)*T,dy:Math.sin(p)*T,color:ne[Math.floor(Math.random()*ne.length)]})}C(a=>[...a,...o]);const Q=new Set(o.map(a=>a.id));setTimeout(()=>{C(a=>a.filter(p=>!Q.has(p.id)))},fe+50)},G=n==="sleepy"?e.jsxs("g",{fill:"none",stroke:m,strokeWidth:"5.5",strokeLinecap:"round",children:[e.jsx("path",{d:"M167 192 Q 178 200, 189 192"}),e.jsx("path",{d:"M211 192 Q 222 200, 233 192"})]}):n==="happy"?e.jsxs("g",{fill:"none",stroke:m,strokeWidth:"5.5",strokeLinecap:"round",children:[e.jsx("path",{d:"M167 196 Q 178 184, 189 196"}),e.jsx("path",{d:"M211 196 Q 222 184, 233 196"})]}):n==="confused"?e.jsxs("g",{children:[e.jsx("g",{ref:x,children:e.jsxs("g",{className:"lion-eye lion-eye-left",children:[e.jsx("ellipse",{cx:"178",cy:"188",rx:"9",ry:"13",fill:m}),e.jsx("circle",{cx:"181",cy:"183",r:"3.6",fill:"#fff"}),e.jsx("circle",{cx:"174",cy:"192",r:"1.8",fill:"#fff",opacity:"0.9"})]})}),e.jsx("path",{d:"M213 194 Q 222 187, 231 194",stroke:m,strokeWidth:"5.5",fill:"none",strokeLinecap:"round"})]}):e.jsxs("g",{children:[e.jsx("g",{ref:x,children:e.jsxs("g",{className:"lion-eye lion-eye-left",children:[e.jsx("ellipse",{cx:"178",cy:"188",rx:"9",ry:"13",fill:m}),e.jsx("circle",{cx:"181",cy:"183",r:"3.6",fill:"#fff"}),e.jsx("circle",{cx:"174",cy:"193",r:"1.8",fill:"#fff",opacity:"0.9"})]})}),e.jsx("g",{ref:L,children:e.jsxs("g",{className:"lion-eye lion-eye-right",children:[e.jsx("ellipse",{cx:"222",cy:"188",rx:"9",ry:"13",fill:m}),e.jsx("circle",{cx:"225",cy:"183",r:"3.6",fill:"#fff"}),e.jsx("circle",{cx:"218",cy:"193",r:"1.8",fill:"#fff",opacity:"0.9"})]})})]}),I=n==="sleepy"?e.jsx("path",{d:"M194 230 Q 200 234, 206 230",stroke:t,strokeWidth:"3",fill:"none",strokeLinecap:"round"}):n==="confused"?e.jsx("path",{d:"M192 232 Q 200 228, 208 232",stroke:t,strokeWidth:"3",fill:"none",strokeLinecap:"round"}):e.jsxs("g",{children:[e.jsx("path",{d:"M188 226 Q 200 244, 212 226",stroke:t,strokeWidth:"4.5",fill:X,strokeLinejoin:"round",strokeLinecap:"round"}),e.jsx("path",{d:"M196 233 Q 200 244, 204 233 Q 200 240, 196 233 Z",fill:ce,stroke:t,strokeWidth:"2.5",strokeLinejoin:"round"})]}),P=n==="confused"?e.jsxs("g",{className:"lion-accent-bob",transform:"translate(322 72)",children:[e.jsx("circle",{cx:"0",cy:"0",r:"22",fill:"#fff",stroke:"#E6E8EE",strokeWidth:"1"}),e.jsx("text",{x:"0",y:"9",textAnchor:"middle",fontFamily:"Inter, system-ui, sans-serif",fontSize:"28",fontWeight:"800",fill:"#6366F1",children:"?"})]}):n==="sleepy"?e.jsxs("g",{className:"lion-accent-bob",children:[e.jsx("text",{x:"312",y:"86",fontFamily:"Inter, system-ui, sans-serif",fontSize:"28",fontWeight:"800",fill:r.dark,opacity:"0.9",children:"z"}),e.jsx("text",{x:"340",y:"60",fontFamily:"Inter, system-ui, sans-serif",fontSize:"18",fontWeight:"800",fill:r.dark,opacity:"0.7",children:"z"})]}):null,w=typeof c=="number"?`${c}
1px`:c,K=["lion-pet-wrapper",u].filter(Boolean).join(" ");return e.jsx("div",{ref:N,className:K,style:{width:w,height:w,position:"relative",display:"inline-block"},"aria-hidden":"true",children:e.jsx("div",{className:D?"lion-float":"",style:{width:"100%",height:"100%"},children:e.jsxs("svg",{ref:j,onClick:Z,width:"100%",height:"100%",viewBox:"0 0 400 400",preserveAspectRatio:"xMidYMid meet",children:[e.jsx("defs",{children:e.jsxs("radialGradient",{id:"lion-halo",cx:"50%",cy:"50%",r:"55%",children:[e.jsx("stop",{offset:"0%",stopColor:r.light,stopOpacity:"0.4"}),e.jsx("stop",{offset:"100%",stopColor:r.light,stopOpacity:"0"})]})}),e.jsx("circle",{cx:"200",cy:"220",r:"180",fill:"url(#lion-halo)"}),e.jsxs("g",{className:"lion-tail",style:{transformOrigin:"70px 270px"},children:[e.jsx("path",{d:"M120 326 Q 78 326, 70 290 Q 65 268, 86 256",stroke:t,strokeWidth:"7",fill:"none",strokeLinecap:"round"}),e.jsx("path",{d:"M82 260 C 64 248, 64 230, 80 224 C 94 218, 112 230, 110 248 C 116 256, 108 270, 96 270 C 86 274, 76 268, 82 260 Z",fill:r.mid,stroke:t,strokeWidth:"5",strokeLinejoin:"round"}),e.jsx("ellipse",{cx:"92",cy:"240",rx:"6",ry:"4",fill:r.light,opacity:"0.6"})]}),e.jsx("ellipse",{cx:"130",cy:"362",rx:"42",ry:"22",fill:J,stroke:t,strokeWidth:"6"}),e.jsx("ellipse",{cx:"270",cy:"362",rx:"42",ry:"22",fill:J,stroke:t,strokeWidth:"6"}),e.jsx("path",{d:"M130 290 C 124 360, 160 384, 200 384 C 240 384, 276 360, 270 290 Z",fill:O,stroke:t,strokeWidth:"6",strokeLinejoin:"round"}),e.jsx("path",{d:"M180 296 C 176 350, 190 378, 200 378 C 210 378, 224 350, 220 296 Z",fill:X,stroke:t,strokeWidth:"4"}),e.jsxs("g",{children:[e.jsx("ellipse",{cx:"166",cy:"370",rx:"26",ry:"16",fill:O,stroke:t,strokeWidth:"6"}),e.jsx("ellipse",{cx:"234",cy:"370",rx:"26",ry:"16",fill:O,stroke:t,strokeWidth:"6"}),e.jsxs("g",{stroke:t,strokeWidth:"3",strokeLinecap:"round",fill:"none",children:[e.jsx("path",{d:"M158 378 L 158 372"}),e.jsx("path",{d:"M166 380 L 166 374"}),e.jsx("path",{d:"M174 378 L 174 372"}),e.jsx("path",{d:"M226 378 L 226 372"}),e.jsx("path",{d:"M234 380 L 234 374"}),e.jsx("path",{d:"M242 378 L 242 372"})]})]}),e.jsxs("g",{className:"lion-mane",children:[e.jsx("path",{d:F,fill:r.mid,stroke:t,strokeWidth:"6",strokeLinejoin:"round"}),e.jsx("path",{d:"M150 252 Q 175 290, 200 290 Q 225 290, 250 252 Q 234 280, 200 286 Q 166 280, 150 252 Z",fill:r.dark,opacity:"0.55"})]}),e.jsxs("g",{ref:A,children:[e.jsx("ellipse",{cx:"148",cy:"138",rx:"22",ry:"24",fill:r.mid,stroke:t,strokeWidth:"6"}),e.jsx("ellipse",{cx:"148",cy:"142",rx:"11",ry:"13",fill:ee,stroke:t,strokeWidth:"3.5"})]}),e.jsxs("g",{ref:_,children:[e.jsx("ellipse",{cx:"252",cy:"138",rx:"22",ry:"24",fill:r.mid,stroke:t,strokeWidth:"6"}),e.jsx("ellipse",{cx:"252",cy:"142",rx:"11",ry:"13",fill:ee,stroke:t,strokeWidth:"3.5"})]}),e.jsxs("g",{className:"lion-face",children:[e.jsx("ellipse",{cx:"200",cy:"180",rx:"74",ry:"66",fill:O,stroke:t,strokeWidth:"6"}),e.jsx("path",{d:"M186 116 Q 188 130, 196 130 Q 200 130, 200 122 Q 200 130, 204 130 Q 212 130, 214 116 Q 200 124, 186 116 Z",fill:r.mid,stroke:t,strokeWidth:"4",strokeLinejoin:"round"}),e.jsx("path",{d:"M158 162 Q 173 148, 188 162",stroke:r.dark,strokeWidth:"9",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M212 162 Q 227 148, 242 162",stroke:r.dark,strokeWidth:"9",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("ellipse",{cx:"200",cy:"216",rx:"44",ry:"32",fill:X,stroke:t,strokeWidth:"5"}),G,e.jsx("path",{d:"M195 206 Q 200 202, 205 206 Q 207 213, 200 216 Q 193 213, 195 206 Z",fill:m}),e.jsx("line",{x1:"200",y1:"216",x2:"200",y2:"225",stroke:t,strokeWidth:"2.5",strokeLinecap:"round"}),I]}),P,M.length>0&&e.jsx("g",{className:"lion-sparkles",pointerEvents:"none",children:M.map(d=>e.jsx("g",{transform:`translate(${d.x.toFixed(1)} ${d.y.toFixed(1)})`,children:e.jsx("path",{className:"lion-sparkle",d:"M0,-6 L1.5,-1.5 L6,0 L1.5,1.5 L0,6 L-1.5,1.5 L-6,0 L-1.5,-1.5 Z",fill:d.color,style:{"--sparkle-dx":d.dx.toFixed(1),"--sparkle-dy":d.dy.toFixed(1)}})},d.id))})]})})})};export{pe as LionMascot};
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.