PageSourceSearch

https://app.teetsh.com/assets/Transition-DpyElz32.js

js teetsh.com collected 2026-10-01 15:50:27 UTC 2,090 bytes, 1 lines download raw bytes

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:`4fa065ab939b8bcce8c6ec0ff394058405ecdfa4`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`7b375235-c9ec-4070-afec-d8a0f7013997`,e._sentryDebugIdIdentifier=`sentry-dbid-7b375235-c9ec-4070-afec-d8a0f7013997`)}catch{}})();import{o as e}from"./rolldown-runtime-OyB8MmeY.js";import{ko as t,ya as n}from"./vendor-BO6UsE9Q.js";var r=e(t(),1),i=n();function a({show:e,appear:t,enter:n=``,enterFrom:a=``,enterTo:o=``,leave:s=``,leaveFrom:c=``,leaveTo:l=``,as:u=`div`,children:d}){let f=(0,r.useRef)(!0),[p,m]=(0,r.useState)(e),[h,g]=(0,r.useState)(()=>e&&t?`enter-from`:`idle`),_=(0,r.useRef)(null);if((0,r.useEffect)(()=>{if(f.current){f.current=!1;return}e?(m(!0),g(`enter-from`)):g(`leave-from`)},[e]),(0,r.useLayoutEffect)(()=>{if(h!==`enter-from`&&h!==`leave-from`)return;let e=h===`enter-from`?`enter-to`:`leave-to`,t=requestAnimationFrame(()=>g(e));return()=>cancelAnimationFrame(t)},[h]),(0,r.useEffect)(()=>{if(h!==`leave-to`)return;let e=_.current,t=()=>{m(!1),g(`idle`)};if(!e){t();return}let n=getComputedStyle(e),r=e=>(e.trim().endsWith(`ms`)?parseFloat(e):parseFloat(e)*1e3)||0,i=n.transitionDuration.split(`,`),a=n.transitionDelay.split(`,`),o=Math.max(0,...i.map((e,t)=>r(e)+r(a[t]??`0`)));if(o===0){t();return}let s=n=>{n.target===e&&t()};e.addEventListener(`transitionend`,s);let c=window.setTimeout(t,o+50);return()=>{e.removeEventListener(`transitionend`,s),window.clearTimeout(c)}},[h]),!p)return null;let v=(()=>{switch(h){case`enter-from`:return`${n} ${a}`;case`enter-to`:return`${n} ${o}`;case`leave-from`:return`${s} ${c}`;case`leave-to`:return`${s} ${l}`;default:return``}})().trim().replace(/\s+/g,` `);if(u===r.Fragment){if(!(0,r.isValidElement)(d))return d;
1let e=[d.props.className,v].filter(Boolean).join(` `);return(0,r.cloneElement)(d,{ref:e=>{_.current=e},className:e||void 0})}return(0,i.jsx)(`div`,{ref:e=>{_.current=e},className:v||void 0,children:d})}export{a 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.