1import{R as r}from"./constants-C8rvLH7q.js";import{c as p}from"./unstated-next-N6VkwWss.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"[email protected]"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="07dc18ab-f91e-4267-bb53-31b1b1d0d0f8",t._sentryDebugIdIdentifier="sentry-dbid-07dc18ab-f91e-4267-bb53-31b1b1d0d0f8")}catch{}})();let s={type:null,data:null,name:null};function o(t,e){switch(e.type){case"clip":return{...t,type:e.type,data:e.clip,name:e.clip.name};case"project":return{...t,type:e.type,data:e.projectId,name:e.projectName};case"clear":return{...s,type:e.type};default:throw new Error(`${e.type} does not exist`)}}const c=()=>{let[t,e]=r.useReducer(o,s),a=r.useCallback((l,i)=>{e({type:"project",projectId:i,projectName:l})},[]),d=r.useCallback(l=>{e({type:"clip",clip:l})},[]),n=r.useCallback(()=>{e({type:"clear"})},[]);return{state:t,clearMoreLikeThis:n,handleMoreLikeThisProject:a,handleMoreLikeThisClip:d}},b=p(c);export{b as M};
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.