1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`ffb0046c8e8c1cb8754733a8151a28fe3ec787c2`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:superpower-react-app":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`b87e3ec2-7a17-46c6-8a6e-ed2f41cd6e48`,e._sentryDebugIdIdentifier=`sentry-dbid-b87e3ec2-7a17-46c6-8a6e-ed2f41cd6e48`)}catch{}})();import{Hh as e,Lh as t,Rh as n}from"./index-Bo58OefK.js?dpl=dpl_6ytfK3hefeDpLCvMWnLCjmTSvGyZ";import{t as r}from"./use-shared-rive-file-CQP1X_T3.js?dpl=dpl_6ytfK3hefeDpLCvMWnLCjmTSvGyZ";var i=e(t(),1);function a(e,t,n){(0,i.useEffect)(()=>{if(e)return e.addEventListener(t,n),()=>{e.removeEventListener(t,n)}},[e,t,n])}var o=typeof window<`u`;function s(){let[e,t]=(0,i.useState)(o?window.innerWidth:null),n=(0,i.useCallback)(()=>t(window.innerWidth),[]);return a(o?window:null,`resize`,n),e}var c=e(n());const l=({state:e,size:t=24,className:n})=>{"use no memo";let{RiveComponent:a,rive:o}=r({src:`/animations/superpower_ai.riv`,autoplay:!0,artboard:`superpower-ai`,stateMachines:`states`});return(0,i.useEffect)(()=>{if(o==null)return;let t=o.stateMachineInputs(`states`);if(t){for(let n of t)if(n.name===`thinking`){let t=e===`thinking`;typeof n.value==`boolean`&&n.value!==t&&(n.value=t)}else if(n.name===`analyzing`){let t=e===`analyzing`;typeof n.value==`boolean`&&n.value!==t&&(n.value=t)}}},[o,e]),(0,c.jsx)(`div`,{style:{width:t,height:t},className:n,children:(0,c.jsx)(a,{})})};export{s as n,l as t};
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.