1import{al as A,ar as u,av as h,r as i,X as C,as as V,Z as k,Y as x,aw as l}from"./index-DrLqtBaS.js";function E(...t){const s=!Array.isArray(t[0]),e=s?0:-1,n=t[0+e],o=t[1+e],r=t[2+e],c=t[3+e],a=A(o,r,c);return s?a(n):a}function L(t){const s=u(()=>h(t)),{isStatic:e}=i.useContext(C);if(e){const[,n]=i.useState(t);i.useEffect(()=>s.on("change",n),[])}return s}function d(t,s){const e=L(s()),n=()=>e.set(s());return n(),V(()=>{const o=()=>x.preRender(n,!1,!0),r=t.map(c=>c.on("change",o));return()=>{r.forEach(c=>c()),k(n)}}),e}function b(t){l.current=[],t();const s=d(l.current,t);return l.current=void 0,s}function p(t,s,e,n){if(typeof t=="function")return b(t);if(e!==void 0&&!Array.isArray(e)&&typeof s!="function")return v(t,s,e,n);const c=typeof s=="function"?s:E(s,e,n),a=Array.isArray(t)?y(t,c):y([t],([m])=>c(m)),f=Array.isArray(t)?void 0:t.accelerate;return f&&!f.isTransformed&&typeof s!="function"&&Array.isArray(e)&&n?.clamp!==!1&&(a.accelerate={...f,times:s,keyframes:e,isTransformed:!0}),a}function y(t,s){const e=u(()=>[]);return d(t,()=>{e.length=0;const n=t.length;for(let o=0;o<n;o++)e[o]=t[o].get();return s(e)})}function v(t,s,e,n){const o=u(()=>Object.keys(e)),r=u(()=>({}));for(const c of o)r[c]=p(t,s,e[c],n);return r}export{L as a,p as u};
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.