PageSourceSearch

https://cdn.supercut.ai/2758644bf8e07f54793a756e1b4e09c58f6dd65d/assets/index-BSnYh1Vl.js

js supercut.ai collected 2026-10-03 19:20:05 UTC 1,363 bytes, 1 lines download raw bytes

vendor: 1,363 bytes, line 1
1import{a as n,r as E}from"./index-BDiHYtDp.js";import{a as _}from"./index-CIv4RL2V.js";import{u as S,S as I}from"./index-COD0Br2G.js";import{j as f}from"./jsx-runtime-D_zvdyIk.js";function L(s){const i=s+"CollectionProvider",[A,N]=_(i),[v,u]=A(i,{collectionRef:{current:null},itemMap:new Map}),m=r=>{const{scope:e,children:l}=r,t=n.useRef(null),o=n.useRef(new Map).current;return f.jsx(v,{scope:e,itemMap:o,collectionRef:t,children:l})};m.displayName=i;const d=s+"CollectionSlot",p=n.forwardRef((r,e)=>{const{scope:l,children:t}=r,o=u(d,l),c=S(e,o.collectionRef);return f.jsx(I,{ref:c,children:t})});p.displayName=d;const C=s+"CollectionItemSlot",x="data-radix-collection-item",R=n.forwardRef((r,e)=>{const{scope:l,children:t,...o}=r,c=n.useRef(null),M=S(e,c),a=u(C,l);return n.useEffect(()=>(a.itemMap.set(c,{ref:c,...o}),()=>void a.itemMap.delete(c))),f.jsx(I,{[x]:"",ref:M,children:t})});R.displayName=C;function T(r){const e=u(s+"CollectionConsumer",r);return n.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((a,O)=>o.indexOf(a.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:m,Slot:p,ItemSlot:R},T,N]}var y=E.createContext(void 0);function g(s){const i=E.useContext(y);return s||i||"ltr"}export{L as c,g 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.