1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,110204,e=>{"use strict";var t=e.i(843476),i=e.i(271645);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var r=Symbol.for("radix.slottable"),a=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var o=i[" use ".trim().toString()],l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var l;let c,d=(l=`Primitive.${a}`,(c=i.forwardRef((e,t)=>{var a;let c,d,{children:u,...p}=e,h=null,f=!1,m=[];s(u)&&"function"==typeof o&&(u=o(u._payload)),i.Children.forEach(u,e=>{var t;if(t=e,i.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===r){f=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof o&&(t=o(t._payload)),h=((e,t)=>{if("child"in e.props){let t=e.props.child;return i.isValidElement(t)?i.cloneElement(t,void 0,e.props.children(t.props.children)):null}return i.isValidElement(t)?t:null})(e,t),m.push(h?.props?.children)}else m.push(e)}),h?h=i.cloneElement(h,void 0,m):!f&&1===i.Children.count(u)&&i.isValidElement(u)&&(h=u);let y=h?(a=h,(d=(c=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in c&&c.isReactWarning)?a.ref:(d=(c=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in c&&c.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,g=function(...e){return i.useCallback(function(...e){return t=>{let i=!1,r=e.map(e=>{let r=n(e,t);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let t=0;t<r.length;t++){let i=r[t];"function"==typeof i?i():n(e[t],null)}}}}(...e),e)}(t,y);if(!h){if(u||0===u){let e,t;throw Error(f?(e=l,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=l,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let i={...t};for(let n in t){let r=e[n],a=t[n];/^on[A-Z]/.test(n)?r&&a?i[n]=(...e)=>{let t=a(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...a}:"className"===n&&(i[n]=[r,a].filter(Boolean).join(" "))}return{...e,...i}}(p,h.props??{});return h.type!==i.Fragment&&(b.ref=t?g:y),i.cloneElement(h,b)})).displayName=`${l}.Slot`,c),u=i.forwardRef((e,i)=>{let{asChild:n,...r}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?d:a,{...r,ref:i})});return u.displayName=`Primitive.${a}`,{...e,[a]:u}},{}),c=i.forwardRef((e,i)=>(0,t.jsx)(l.label,{...e,ref:i,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));c.displayName="Label",e.s(["Label",0,c,"Root",0,c],973741);var d=e.i(973741),d=d,u=e.i(975157);e.s(["Label",0,function({className:e,...i}){return(0,t.jsx)(d.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...i})}],110204)},534397,e=>{"use strict";var t=e.i(846696);let i={search:{title:"Search could not be completed",description:"No leads were saved from this run. Check the search details and try again in a minute."},searchHistory:{title:"Saved search action could not be completed",description:"The original search is unchanged. Refresh the history and try again."},emailEnrichment:{title:"Email lookup needs another try",description:"We could not complete enrichment for this lead. Try again, or keep working and enrich it later."},phoneEnrichment:{title:"Phone lookup needs another try",description:"We could not complete phone enrichment for this lead. Try again, or add the number manually if you have it."},bulkEnrichment:{title:"Enrichment could not start",description:"The list was left unchanged. Try again shortly, or enrich individual leads from the table."},bulkAction:{title:"Bulk action could not be completed",description:"The selected leads were left unchanged. Review the selection and try again."},savePhone:{title:"Phone number was not saved",description:"The lead still has its previous phone value. Check the number and try saving again."},applyLabel:{title:"Label was not applied",description:"The lead was not updated. Try applying the label again from the row menu."},agentSave:{title:"Agent was not saved",description:"Your changes are still on screen. Review the setup and try saving again."},agentRun:{title:"Agent could not start",description:"The agent did not run. Check the agent setup, credits, and connected actions before retrying."},agentAutoSave:{title:"Agent changes were not auto-saved",description:"Your changes are still on screen. Use Save before leaving this page."},agentWebhook:{title:"Webhook was not added",description:"Enter a complete HTTP or HTTPS URL and try again."},agentCreate:{title:"Agent was not created",description:"Review the agent name and try again."},agentStatus:{title:"Agent status was not changed",description:"The agent kept its previous status. Try again."},agentDelete:{title:"Agent was not deleted",description:"The agent is still available. Try deleting it again."},businessProfile:{title:"Business profile was not updated",description:"Your AI context stayed the same. Review the fields and try saving again."},dataSource:{title:"Data source was not added",description:"The knowledge base did not change. Check the source details and try again."},pdfSource:{title:"PDF source was not added",description:"The file was not added to the knowledge base. Try a smaller PDF or upload it again."},deleteDataSource:{title:"Data source was not deleted",description:"The knowledge base still includes this
1source. Try deleting it again."},leadScoring:{title:"Lead scoring could not finish",description:"The list was not re-ranked. Check the AI provider setup and try scoring again."},exportCsv:{title:"CSV export was not created",description:"The download did not start. Refresh the list and try exporting again."},listCreate:{title:"List was not created",description:"Review the name and list type, then try again."},listRename:{title:"List was not renamed",description:"The previous name is still in place. Try again."},listStatus:{title:"List status was not changed",description:"The list stayed in its previous section. Try again."},listDelete:{title:"List was not deleted",description:"The list and its leads are still available. Try again."},labelCreate:{title:"Label was not created",description:"Review the label name and try again."},labelDelete:{title:"Label was not deleted",description:"The label is still available. Try again."}},n=new Set(["Search failed","Search failed. Please try again.","Email enrichment failed","Phone enrichment failed","Bulk enrichment failed","Data enrichment failed","Failed to save phone","Failed to apply label","Lead scoring failed","Export failed","Failed to export CSV","Failed to create template","Failed to update template","Failed to delete template"]);e.s(["appToast",0,{success(e,i){t.toast.success(e,{description:i})},info(e,i){t.toast.info(e,{description:i})},error(e,r){let a,s=i[e],o=r?r instanceof Error?r.message:"string"==typeof r?r:null:null,l=o&&!(!(a=o.trim())||n.has(a))&&a.length<=220?` Details: ${o}`:"";t.toast.error(s.title,{description:`${s.description}${l}`})}}])},141613,e=>{"use strict";var t=e.i(843476),i=e.i(975157);e.s(["PageHeader",0,function({title:e,description:n,actions:r,className:a}){return(0,t.jsxs)("header",{className:(0,i.cn)("flex flex-wrap items-start justify-between gap-3",a),children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h1",{className:"text-2xl font-bold tracking-tight",children:e}),n?(0,t.jsx)("p",{className:"text-muted-foreground",children:n}):null]}),r?(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:r}):null]})}])},954616,e=>{"use strict";var t=e.i(271645),i=e.i(114272),n=e.i(540143),r=e.i(915823),a=e.i(619273),s=class extends r.Subscribable{#e;#t=void 0;#i;#n;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,a.shallowEqualObjects)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#i,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,a.hashKey)(t.mutationKey)!==(0,a.hashKey)(this.options.mutationKey)?this.reset():this.#i?.state.status==="pending"&&this.#i.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#i?.removeObserver(this)}onMutationUpdate(e){this.#r(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#i?.removeObserver(this),this.#i=void 0,this.#r(),this.#a()}mutate(e,t){return this.#n=t,this.#i?.removeObserver(this),this.#i=this.#e.getMutationCache().build(this.#e,this.options),this.#i.addObserver(this),this.#i.execute(e)}#r(){let e=this.#i?.state??(0,i.getDefaultState)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#a(e){n.notifyManager.batch(()=>{if(this.#n&&this.hasListeners()){let t=this.#t.variables,i=this.#t.context,n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#n.onSuccess?.(e.data,t,i,n)}catch(e){Promise.reject(e)}try{this.#n.onSettled?.(e.data,null,t,i,n)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#n.onError?.(e.error,t,i,n)}catch(e){Promise.reject(e)}try{this.#n.onSettled?.(void 0,e.error,t,i,n)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},o=e.i(912598);e.s(["useMutation",0,function(e,i){let r=(0,o.useQueryClient)(i),[l]=t.useState(()=>new s(r,e));t.useEffect(()=>{l.setOptions(e)},[l,e]);let c=t.useSyncExternalStore(t.useCallback(e=>l.subscribe(n.notifyManager.batchCalls(e)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),d=t.useCallback((e,t)=>{l.mutate(e,t).catch(a.noop)},[l]);if(c.error&&(0,a.shouldThrowError)(l.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:d,mutateAsync:c.mutate}}],954616)},991810,e=>{"use strict";let t=(0,e.i(475254).default)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);e.s(["RotateCw",0,t],991810)},912505,e=>{"use strict";var t=e.i(843476),i=e.i(519455),n=e.i(975157);
1e.s(["EmptyState",0,function({icon:e,title:r,description:a,action:s,size:o="page",className:l}){return(0,t.jsxs)("div",{className:(0,n.cn)("flex flex-col items-center justify-center text-center","page"===o?"gap-4 px-6 py-16":"gap-3 px-4 py-10",l),children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute -inset-3 rounded-full border border-dashed border-border"}),(0,t.jsx)("div",{className:(0,n.cn)("relative flex items-center justify-center rounded-full bg-primary/10 text-primary","page"===o?"h-14 w-14":"h-11 w-11"),children:(0,t.jsx)(e,{className:"page"===o?"h-6 w-6":"h-5 w-5","aria-hidden":!0})})]}),(0,t.jsxs)("div",{className:"mt-2 max-w-sm space-y-1",children:[(0,t.jsx)("h3",{className:(0,n.cn)("font-semibold tracking-tight","page"===o?"text-lg":"text-base"),children:r}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:a})]}),s&&(0,t.jsx)(i.Button,{onClick:s.onClick,children:s.label})]})}])},59497,e=>{"use strict";var t=e.i(843476),i=e.i(678784),n=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return n.useCallback(function(...e){return t=>{let i=!1,n=e.map(e=>{let n=r(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t<n.length;t++){let i=n[t];"function"==typeof i?i():r(e[t],null)}}}}(...e),e)}var s=e.i(30030);function o(e,t,{checkForDefaultPrevented:i=!0}={}){return function(n){if(e?.(n),!1===i||!n||!n.defaultPrevented)return t?.(n)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?n.useLayoutEffect:()=>{};n[" useEffectEvent ".trim().toString()],n[" useInsertionEffect ".trim().toString()];var c=n[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),u=e.i(635804),p=e.i(296626);e.i(174080);var h=Symbol.for("radix.slottable"),f=Symbol.for("react.lazy");function m(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===f&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var y=n[" use ".trim().toString()],g=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{var r;let s,o=(r=`Primitive.${i}`,(s=n.forwardRef((e,t)=>{var i;let s,o,{children:l,...c}=e,d=null,u=!1,p=[];m(l)&&"function"==typeof y&&(l=y(l._payload)),n.Children.forEach(l,e=>{var t;if(t=e,n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===h){u=!0;let t="child"in e.props?e.props.child:e.props.children;m(t)&&"function"==typeof y&&(t=y(t._payload)),d=((e,t)=>{if("child"in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null})(e,t),p.push(d?.props?.children)}else p.push(e)}),d?d=n.cloneElement(d,void 0,p):!u&&1===n.Children.count(l)&&n.isValidElement(l)&&(d=l);let f=d?(i=d,(o=(s=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.ref:(o=(s=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,g=a(t,f);if(!d){if(l||0===l){let e,t;throw Error(u?(e=r,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=r,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return l}let b=function(e,t){let i={...t};for(let n in t){let r=e[n],a=t[n];/^on[A-Z]/.test(n)?r&&a?i[n]=(...e)=>{let t=a(...e);return r(...e),t}:r&&(i[n]=r):"style"===n?i[n]={...r,...a}:"className"===n&&(i[n]=[r,a].filter(Boolean).join(" "))}return{...e,...i}}(c,d.props??{});return d.type!==n.Fragment&&(b.ref=t?g:f),n.cloneElement(d,b)})).displayName=`${r}.Slot`,s),l=n.forwardRef((e,n)=>{let{asChild:r,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(r?o:i,{...a,ref:n})});return l.displayName=`Primitive.${i}`,{...e,[i]:l}},{}),b="Checkbox",[v,w]=(0,s.createContextScope)(b),[x,k]=v(b);function E(e){let{__scopeCheckbox:i,checked:r,children:a,defaultChecked:s,disabled:o,form:l,name:d,onCheckedChange:u,required:p,value:h="on",internal_do_not_use_render:f}=e,[m,y]=function({prop:e,defaultProp:t,onChange:i=()=>{},caller:r}){let[a,s,o]=function({defaultProp:e,onChange:t}){let[i,r]=n.useState(e),a=n.useRef(i),s=n.useRef(t);return c(()=>{s.current=t},[t]),n.useEffect(()=>{a.current!==i&&(s.current?.(i),a.current=i)},[i,a]),[i,r,s]}({defaultProp:t,onChange:i}),l=void 0!==e,d=l?e:a;{let t=n.useRef(void 0!==e);n.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,r])}return[d,n.useCallback(t=>{if(l){let i="function"==typeof t?t(e):t;i!==e&&o.current?.(i)}else s(t)},[l,e,s,o])]}({prop:r,defaultProp:s??!1,onChange:u,caller:b}),[g,v]=n.useState(null),[w,k]=n.useState(null),E=n.useRef(!1),S=!g||!!l||!!g.closest("form"),R={checked:m,disabled:o,setChecked:y,control:g,setControl:v,name:d,form:l,value:h,hasConsumerStoppedPropagationRef:E,required:p,defaultChecked:!O(s)&&s,isFormControl:S,bubbleInput:w,setBubbleInput:k};return(0,t.jsx)(x,{scope:i,...R,children:"function"==typeof f?f(R):a})}var S="CheckboxTrigger",R=n.forwardRef(({__scopeCheckbox:e,onKeyDown:i,onClick:r,...s},l)=>{let{control:c,value:d,disabled:u,checked:p,required:h,setControl:f,setChecked:m,hasConsumerStoppedPropagationRef:y,isFormControl:b,bubbleInput:v}=k(S,e),w=a(l,f),x=n.useRef(p);return n.useEffect(()=>{let e=c?.form;if(e){let t=()=>m(x.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[c,m]),(0,t.jsx)(g.button,{type:"button",role:"checkbox","aria-checked":O(p)?"mixed":p,"aria-required":h,"data-state":N(p),"data-disabled":u?"":void 0,disabled:u,value:d,...s,ref:w,onKeyDown:o(i,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:o(r,e=>{m(e=>!!O(e)||!e),v&&b&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})})});R.displayName=S;var j=n.forwardRef((e,i)=>{let{__scopeCheckbox:n,name:r,checked:a,defaultChecked:s,required:o,disabled:l,value:c,onCheckedChange:d,form:u,...p}=e;return(0,t.jsx)(E,{__scopeCheckbox:n,checked:a,defaultChecked:s,disabled:l,required:o,onCheckedChange:d,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(R,{...p,ref:i,__scopeCheckbox:n}),e&&(0,t.jsx)(M,{__scopeCheckbox:n})]})})});j.displayName=b;var C="CheckboxIndicator",T=n.forwardRef((e,i)=>{let{__scopeCheckbox:n,forceMount:r,...a}=e,s=k(C,n);return(0,t.jsx)(p.Presence,{present:r||O(s.checked)||!0===s.checked,children:(0,t.jsx)(g.span,{"data-state":N(s.checked),"data-disabled":s.disabled?"":void 0,...a,ref:i,style:{pointerEvents:"none",...e.style}})})});T.displayName=C;var P="CheckboxBubbleInput",M=n.forwardRef(({__scopeCheckbox:e,...i},r)=>{let{control:s,hasConsumerStoppedPropagationRef:o,checked:l,defaultChecked:c,required:p,disabled:h,name:f,value:m,form:y,bubbleInput:b,setBubbleInput:v}=k(P,e),w=a(r,v),x=(0,d.usePrevious)(l),E=(0,u.useSize)(s);n.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!o.current;if(x!==l&&e){let i=new Event("click",{bubbles:t});
1b.indeterminate=O(l),e.call(b,!O(l)&&l),b.dispatchEvent(i)}},[b,x,l,o]);let S=n.useRef(!O(l)&&l);return(0,t.jsx)(g.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??S.current,required:p,disabled:h,name:f,value:m,form:y,...i,tabIndex:-1,ref:w,style:{...i.style,...E,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function O(e){return"indeterminate"===e}function N(e){return O(e)?"indeterminate":e?"checked":"unchecked"}M.displayName=P,e.s(["Checkbox",0,j,"CheckboxIndicator",0,T,"Indicator",0,T,"Root",0,j,"createCheckboxScope",0,w,"unstable_BubbleInput",0,M,"unstable_CheckboxBubbleInput",0,M,"unstable_CheckboxProvider",0,E,"unstable_CheckboxTrigger",0,R,"unstable_Provider",0,E,"unstable_Trigger",0,R],388474);var L=e.i(388474),L=L,$=e.i(975157);e.s(["Checkbox",0,function({className:e,...n}){return(0,t.jsx)(L.Root,{"data-slot":"checkbox",className:(0,$.cn)("peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",e),...n,children:(0,t.jsx)(L.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:(0,t.jsx)(i.CheckIcon,{className:"size-3.5"})})})}],59497)},374619,e=>{"use strict";var t=e.i(266027),i=e.i(954616),n=e.i(912598);async function r(e,t){let i=new URLSearchParams;e&&i.set("type",e),t&&i.set("status",t);let n=await fetch(`/api/lists?${i.toString()}`);if(!n.ok)throw Error("Failed to fetch lists");return n.json()}e.s(["useCreateList",0,function(){let e=(0,n.useQueryClient)();return(0,i.useMutation)({mutationFn:async e=>{let t=await fetch("/api/lists",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error((await t.json()).error||"Failed to create list");return t.json()},onSuccess:async()=>{await e.invalidateQueries({queryKey:["lists"]})}})},"useDeleteList",0,function(){let e=(0,n.useQueryClient)();return(0,i.useMutation)({mutationFn:async e=>{let t=await fetch(`/api/lists/${e}`,{method:"DELETE"});if(!t.ok)throw Error((await t.json()).error||"Failed to delete list");return t.json()},onSuccess:()=>{e.invalidateQueries({queryKey:["lists"]})}})},"useLists",0,function(e,i){return(0,t.useQuery)({queryKey:["lists",e??"ALL",i??"ACTIVE"],queryFn:()=>r(e,i)})},"useUpdateList",0,function(){let e=(0,n.useQueryClient)();return(0,i.useMutation)({mutationFn:async({id:e,...t})=>{let i=await fetch(`/api/lists/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!i.ok)throw Error((await i.json()).error||"Failed to update list");return i.json()},onSuccess:()=>{e.invalidateQueries({queryKey:["lists"]})}})}])},565365,e=>{"use strict";let t=(0,e.i(475254).default)("message-square-text",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]]);e.s(["MessageSquareText",0,t],565365)}]);
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.