1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,825241,e=>{"use strict";var t=e.i(843476),a=e.i(271645);let r={},i=(0,a.createContext)(null);e.s(["PageTitleProvider",0,function({children:e}){let[n,s]=(0,a.useState)(r),u=(0,a.useMemo)(()=>({page:n,setPage:s}),[n]);return(0,t.jsx)(i.Provider,{value:u,children:e})},"usePublishedPage",0,function(){return(0,a.useContext)(i)?.page??r},"useSetPageTitle",0,function(e,t,n,s){let u=(0,a.useContext)(i)?.setPage,o=JSON.stringify(t??[]);(0,a.useEffect)(()=>{if(!u)return;let t=JSON.parse(o);return u({title:e,parents:t.length?t:void 0,headed:n,onParentNavigate:s}),()=>u(r)},[u,e,o,n,s])}])},600133,e=>{"use strict";var t=e.i(843476),a=e.i(522016),r=e.i(618566),i=e.i(694677);e.i(513036);var n=e.i(207675),s=e.i(105180),u=e.i(825241),o=e.i(736690),l=e.i(798021),c=e.i(212225);function p({href:e,...r}){let{onParentNavigate:i}=(0,u.usePublishedPage)();return(0,t.jsx)(a.default,{...r,href:e,onNavigate:t=>{i?.(e)&&t.preventDefault()}})}function h({title:e,parents:a,currentIcon:r,quiet:i}){return 0===a.length&&(i||!e)?null:(0,t.jsx)(n.Breadcrumbs,{variant:"quiet",crumbs:a,current:e,currentIcon:r,link:p})}function d(){let e=(0,o.useBrainCrumbs)();return e?(0,t.jsx)(h,{...e,quiet:0===e.parents.length}):null}function y(){return(0,t.jsx)(h,{...(0,o.usePageStrip)()})}e.s(["BrainPageTrail",0,function(){let e=(0,r.usePathname)();return(0,o.isBrainRoute)(e)?(0,t.jsx)("div",{className:"w-full px-4 pt-4 md:px-8",children:(0,t.jsx)(d,{})}):null},"DrawerButton",0,function({className:e}){let{openMobile:a,setOpenMobile:r}=(0,s.useSidebar)();return(0,t.jsx)("button",{type:"button","aria-label":"Open menu","aria-expanded":a,"aria-haspopup":"dialog","data-track-id":c.TRACK_IDS.navSidebarMobile,onClick:()=>r(!0),className:e?`${l.DRAWER_BUTTON} ${e}`:l.DRAWER_BUTTON,children:(0,t.jsx)(i.Menu,{size:20,strokeWidth:1.9,"aria-hidden":"true"})})},"Trail",0,function(){let e=(0,r.usePathname)();return(0,o.isBrainRoute)(e)?(0,t.jsx)(d,{}):(0,t.jsx)(y,{})}])},736690,e=>{"use strict";var t=e.i(16205),a=e.i(618566),r=e.i(825241),i=e.i(578380),n=e.i(389517),s=e.i(367e3),u=e.i(318803);let o={label:"Second Brain",href:"/brain?view=list",icon:t.Brain};function l(e){return e.charAt(0).toUpperCase()+e.slice(1)}e.s(["isBrainRoute",0,function(e){return!!(e&&("/brain"===e||e.startsWith("/brain/object/")))},"useBrainCrumbs",0,function(){let e=(0,a.usePathname)(),i=(0,a.useSearchParams)(),{plurals:c}=(0,n.useObjectTypes)(),p=(0,r.usePublishedPage)(),h=e?.startsWith("/brain/object/")?e.slice(14).split("/")[0]:null,{data:d}=(0,u.useGraphObject)(h??"");if(h){var y=d?.object;if(!y)return null;let e=c[y.type];return{title:y.name||h,currentIcon:(0,s.iconFor)(y.type),parents:[o,...e?[{label:l(e),href:`/brain?view=list&type=${encodeURIComponent(y.type)}`,icon:(0,s.iconFor)(y.type)}]:[]]}}let f=i.get("view");return function(e,a,r,i,n){let u={label:o.label,href:`/brain?view=${e}`,icon:t.Brain};if("shared"===e)return{title:"Shared with me",parents:[o]};if(r.length>0&&i)return{title:i,parents:[u,...r]};if(!a)return{title:"Second Brain",parents:[],currentIcon:t.Brain};let c=n[a];return{title:c?l(c):a,currentIcon:(0,s.iconFor)(a),parents:[u]}}("network"===f?"graph":f??"list",i.get("type"),p.parents??[],p.title,c)},"usePageStrip",0,function(){let e=(0,a.usePathname)(),{title:t,parents:n,headed:s}=(0,r.usePublishedPage)(),u=(0,i.sidebarRowForPath)(e),o=t?{title:t,parents:n??[]}:(0,i.navCrumbsForPath)(e);if(!o)return{title:"",parents:[],quiet:!0};let l=s||o.title===u;return{...o,quiet:l&&0===o.parents.length}}])},798021,e=>{"use strict";let t="text-muted-foreground hover:bg-accent hover:text-foreground flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md no-underline transition-colors duration-(--motion-fast) ease-out",a=`${t} -ml-1 xl:hidden`;e.s(["DRAWER_BUTTON",0,a,"ICON_BUTTON",0,t,"ROW_BUTTON",0,"text-muted-foreground hover:bg-accent hover:text-foreground flex h-8 cursor-pointer items-center gap-2 rounded-md px-2 text-sm transition-colors duration-(--motion-fast) ease-out"])},578380,e=>{"use strict";let t,a,r;var i=e.i(466463),n=e.i(373159),s=e.i(119346),u=e.i(747164),o=e.i(799507),l=e.i(662324),c=e.i(16205),p=e.i(700327),h=e.i(994576),d=e.i(527454),y=e.i(835508),f=e.i(319575),g=e.i(387115),b=e.i(219335),m=e.i(17296),k=e.i(31762),v=e.i(29150),q=e.i(555389),P=e.i(135741),j=e.i(843305),w=e.i(206815),K=e.i(671488),S=e.i(525064),M=e.i(326613),O=e.i(882087),C=e.i(103893),T=e.i(996516),_=e.i(398349),x=e.i(509985),F=e.i(455022),A=e.i(566730),D=e.i(248363),Q=e.i(430704),I=e.i(710459),R=e.i(955201),B=e.i(321432),L=e.i(275332),N=e.i(387200),U=e.i(539950),G=e.i(881356),H=e.i(366617),W=e.i(818825),E=e.i(231192);
1let V="/about",z={label:"How it works",href:"/how-it-works"},$={label:"Features",href:"/features"},Z={label:"Use cases",href:"/use-cases"},Y={label:"FAQ",href:"/faq"},J={label:"Pricing",href:"/pricing"},X={label:"Ideas",href:"/ideas"},ee={label:"Developers",href:"/docs"},et=[z,$,Z,{label:"Second Brain",href:"/secondbrain"},J,Y,{label:"Changelog",href:"/changelog"}],ea=[{label:"Chat",href:"/chat",icon:"chat"},{label:"Second Brain",href:"/brain",icon:"brain"}],er={"/hubspot":P.Import,"/prospectfinder":H.UserSearch,"/brandgrader":s.BadgeCheck,"/brandget":_.Palette,"/chimpgrader":q.Gauge,"/dadjoke":w.Laugh,"/delights":I.Sparkles,"/domainsales":k.Database,"/emaillookup":n.AtSign,"/execbriefing":x.Presentation,"/ghero":O.Mail,"/hubcli":L.Terminal,"/hubcode":g.Code,"/signupagent":G.UserPlus,"/socialboard":N.TrendingUp,"/socialpro":D.Share2},ei=(t=new Map(E.TOOL_CARDS.map(e=>[e.href,e.icon])),r=new Set((a=[[{label:"List",href:"/tools"}],[{label:"HubSpot Import",href:"/hubspot"},{label:"GMail Import",href:"/user/integrations/gmail"}],[{label:"Linked Connections",href:"/connections"},{label:"Linked Invitations",href:"/invitations"},{label:"Linked Messages",href:"/linked_messages"},{label:"Linked Posts",href:"/linked_posts"}],[{label:"Company Research",href:"/companyresearch"},{label:"ProspectFinder",href:"/prospectfinder"},{label:"HubGrader",href:"/hubgrader"},{label:"ImageGen",href:"/imagegen"},{label:"DomainValue",href:"/domainvalue"}]].flat().filter(e=>"/tools"!==e.href&&!e.href.startsWith("/user/"))).map(e=>e.href)),[...a.map(e=>({label:e.label,href:e.href,icon:t.get(e.href)??er[e.href]})),...E.TOOL_CARDS.flatMap(e=>r.has(e.href)?[]:[{label:e.title,href:e.href,icon:e.icon}])]),en={label:E.STUDIO_TOOL_CARD.title,href:E.STUDIO_TOOL_CARD.href,icon:E.STUDIO_TOOL_CARD.icon,flag:"brand_kits"},es={label:"Apps",href:"/tools",icon:K.LayoutGrid,children:[en,...ei]};function eu(e,t){return e.filter(e=>(!e.flag||t.flags[e.flag])&&(!e.adminOnly||t.showAdmin||e.multiSpace&&t.multiSpace||!!(e.accessFlag&&t.flags[e.accessFlag]))).map(e=>e.children?{...e,children:eu(e.children,t)}:e)}let eo={Chat:C.MessageCircle,"Second Brain":c.Brain},el="/chat";function ec(e){return"/"===e||null!==e&&(0,W.pathMatches)(e,el)}let ep=[{label:"Member directory",href:"/network",icon:T.Network},{label:z.label,href:z.href,icon:F.Route},{label:$.label,href:$.href,icon:l.Boxes},{label:Z.label,href:Z.href,icon:B.Telescope},{label:Y.label,href:Y.href,icon:y.CircleHelp},{label:J.label,href:J.href,icon:R.Tag},{label:X.label,href:X.href,icon:M.Lightbulb},{label:"About",href:V,icon:j.Info},{label:ee.label,href:ee.href,icon:b.Code2},{label:"Support",href:"/support",icon:S.LifeBuoy}],eh={chat:["/user/cloudagents"],brain:["/import","/people","/companies","/user/files","/user/memories"]},ed=[{label:"Personal Profile",href:"/user/profile",icon:f.CircleUser},{label:"Spaces",href:"/user/spaces",icon:p.Building2,adminOnly:!0,multiSpace:!0,accessFlag:"graph_dreaming"},{label:"Messages",href:"/user/messages",icon:O.Mail},{label:"Integrations",href:"/user/integrations",icon:d.Plug},{label:"Background Tasks",href:"/user/status",icon:i.Activity},{label:"Settings",href:"/user/settings",icon:A.Settings},{label:"Notifications",href:"/user/notifications",icon:h.Bell},{label:"Billing",href:"/user/billing",icon:m.CreditCard}],ey={label:"Admin console",href:"/admin",icon:Q.Shield},ef=new Set(["/user/messages"]),eg=[{title:"Workspace",items:[...ea.map(e=>({label:e.label,href:e.href,icon:eo[e.label]})),{label:"People",href:"/people",icon:U.Users},{label:"Companies",href:"/companies",icon:p.Building2},{label:"Files",href:"/user/files",icon:v.FileText},{label:"Import",href:"/import",icon:P.Import,flag:"file_import"},{label:"Agents",href:"/user/cloudagents",icon:o.Bot},{label:"Memories",href:"/user/memories",icon:u.BookMarked},es]},{title:"Account",items:ed},{title:"YouSpot",items:ep},{title:"Admin",adminOnly:!0,items:[ey]}],eb=["/about","/how-it-works","/features","/use-cases","/faq","/docs","/pricing","/privacy","/terms","/omni","/ideas","/lp","/human","/company"],em=[z.href,Z.href,J.href,X.href,V].flatMap(e=>ep.filter(t=>t.href===e));function ek(e){if(!e)return null;let t="/"===e?el:null,a=null;for(let r of eg)for(let i of r.items)for(let r of[i,...i.children??[]])(t?r.href===t:(0,W.pathMatches)(e,r.href))&&(!a||r.href.length>a.node.href.length)&&(a={node:r,parent:r===i?void 0:i});return a}let ev=new Set([el,"/brain",...eh.chat,...eh.brain]);e.s(["ADMIN_NAV",0,ey,"APPS_NODE",0,es,"BAR_EXTRA_HREFS",0,["/user/cloudagents"],"CHAT_HREF",0,el,"DOCS_LINK",0,ee,"FOOTER_PRODUCT_LINKS",0,et,"IDEAS_LINK",0,X,"LEGAL_NAV",0,[{label:"Privacy",href:"/privacy",match:null},{label:"Terms",href:"/terms",match:null}],"PRODUCT_LINKS",0,ea,"RAIL_PRIMARY",0,eh,"SIDEBAR_NAV",0,eg,"SIGNED_OUT_NAV",0,em,"YOUSPOT_MENU",0,ep,"accountNavItems",0,function(e,t){let[a,...r]=eu(ed,e);return[{...a,label:"Profile",detail:t?`youspot.com/human/${t}`:"Claim your profile URL"},...r.filter(e=>!ef.has(e.href))]},"activeHrefForPath",0,function(e){return ek(e)?.node.href},"iconForPath",0,function(e){let t=ek(e)?.node;if(t?.icon)return t.icon;if(!e)return;let a=Object.keys(er).find(t=>(0,W.pathMatches)(e,t));return a?er[a]:void 0},"isChatPath",0,ec,"isPublicPage",0,function(e){return!!e&&eb.some(t=>(0,W.pathMatches)(e,t))},"navCrumbsForPath",0,function(e){let t=ek(e);return t?{title:t.node.label,parents:t.parent?[{label:t.parent.label,href:t.parent.href}]:[]}:null},"navItemIsCurrent",0,function(e,t){return null!==e.match&&!!t&&(0,W.pathMatches)(t,e.match??e.href)},"sectionHasRail",0,function(e){return!!ec(e)||!!e&&["/brain",...eh.brain].some(t=>(0,W.pathMatches)(e,t))}
1,"showsTopBar",0,function(e){return!e||!(0,W.pathMatches)(e,"/lp")},"sidebarRowForPath",0,function(e){let t=ek(e);return!t||t.parent?null:ev.has(t.node.href)?t.node.label:null},"visibleNav",0,function(e,t){return e.flatMap(e=>e.adminOnly&&!t.showAdmin?[]:[{...e,items:eu(e.items,t)}])},"visibleNavItems",0,eu],578380)},818825,e=>{"use strict";e.s(["pathMatches",0,function(e,t){return e===t||e.startsWith(`${t}/`)}])},389517,e=>{"use strict";var t=e.i(271645),a=e.i(318803);e.s(["useObjectTypes",0,function(){let{data:e}=(0,a.useGraphObjectTypes)();return(0,t.useMemo)(()=>{let t={icons:{},backgrounds:{},viewModules:{},plurals:{},addable:[]};for(let a of e)a.icon_url&&(t.icons[a.type]=a.icon_url),a.icon_background_color&&(t.backgrounds[a.type]=a.icon_background_color),a.view_module&&(t.viewModules[a.type]=a.view_module),a.plural_name&&(t.plurals[a.type]=a.plural_name),a.is_user_addable&&t.addable.push(a.type);return t},[e])}])},318803,916527,e=>{"use strict";var t=e.i(619273),a=e.i(13348),r=e.i(933818),i=e.i(954616),n=e.i(266027),s=e.i(912598),u=e.i(689605),o=e.i(857177),l=e.i(921110),c=e.i(358719),p=e.i(701281),h=e.i(621482),d=e.i(271645);function y({queryKey:e,fetchPage:a,rowsOf:r,enabled:i=!0,staleTime:n=6e4}){let s=(0,d.useCallback)(e=>({rows:e.pages.flatMap(r),first:e.pages[0]}),[r]),u=(0,h.useInfiniteQuery)({queryKey:e,queryFn:({pageParam:e,signal:t})=>a(e,t),initialPageParam:null,getNextPageParam:e=>e.has_more?e.next_cursor:void 0,enabled:i,staleTime:n,placeholderData:t.keepPreviousData,select:s});return{rows:u.data?.rows??[],first:u.data?.first,status:u.status,error:u.error,isRefreshing:u.isPlaceholderData||u.isFetching&&!u.isFetchingNextPage,hasMore:u.hasNextPage,isLoadingMore:u.isFetchingNextPage,loadMore:()=>{u.hasNextPage&&!u.isFetchingNextPage&&u.fetchNextPage()},dataUpdatedAt:u.dataUpdatedAt}}function f(e,{perPage:t}){return{objects:e.objects||[],has_more:!!e.has_more,next_cursor:e.next_cursor??null,per_page:e.per_page||t,sort:e.sort||"created_at",dir:e.dir||"desc",page:e.page,types:e.types||[],grid_columns:e.grid_columns||[],total:e.total,counts:e.counts}}function g(){let{authenticated:e,loading:t}=(0,o.useAuth)();return e&&!t}e.s(["useInfiniteList",0,y],916527);let b=e=>e.objects,m=e=>[...p.queryKeys.graph.object(e),"add-tag"],k=e=>[...p.queryKeys.graph.object(e),"remove-tag"];function v(e,t,a){e.invalidateQueries({queryKey:p.queryKeys.graph.object(t)}),e.invalidateQueries({queryKey:p.queryKeys.graph.object(a)}),e.invalidateQueries({queryKey:p.queryKeys.graph.allNetworks()})}function q(e,t,a){e.setQueryData(p.queryKeys.graph.object(t),e=>e&&{...e,connected:e.connected.filter(e=>e.object.object_id!==a||!e.disconnectable)})}function P(e,t){return Promise.all([e.invalidateQueries({queryKey:p.queryKeys.graph.allObjects()}),e.invalidateQueries({queryKey:p.queryKeys.graph.allNetworks()}),...t?[e.invalidateQueries({queryKey:p.queryKeys.graph.object(t)})]:[]])}function j(e){for(let t of(e.invalidateQueries({queryKey:p.queryKeys.graph.allObjectPages(),refetchType:"none"}),e.invalidateQueries({queryKey:p.queryKeys.graph.counts()}),["people","companies"]))e.invalidateQueries({queryKey:p.queryKeys.directory.allPages(t),refetchType:"none"}),e.invalidateQueries({queryKey:p.queryKeys.directory.allFacets(t)})}e.s(["addObjectTagKey",0,m,"removeObjectTagKey",0,k,"useAddObjectNote",0,function(e){var t;return(0,i.useMutation)((t=(0,s.useQueryClient)(),(0,a.mutationOptions)({retry:!1,mutationFn:t=>u.api.graph.addNote(e,t),onSuccess:()=>P(t,e)})))},"useAddObjectTag",0,function(e){let t=(0,s.useQueryClient)();return(0,i.useMutation)({mutationKey:m(e),mutationFn:t=>u.api.graph.addTag(e,t),onSuccess:()=>t.invalidateQueries({queryKey:p.queryKeys.graph.object(e)})})},"useAddProfileProduct",0,function(){let e=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:e=>u.api.profile.addProduct(e),onSuccess:(t,a)=>e.invalidateQueries({queryKey:p.queryKeys.graph.object(a)})})},"useBrainCapacity",0,function(){let e=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.capacity(),queryFn:({signal:e})=>u.api.graph.capacity(e),enabled:e,staleTime:6e5})},"useConnectGraphObject",0,function(e){let t=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:t=>u.api.graph.connect(e,t),onSuccess:(a,r)=>
1{v(t,e,r),a.created&&t.invalidateQueries({queryKey:p.queryKeys.feed.pages()})}})},"useConnectionSuggestions",0,function(e){let t=g(),a=e.trim();return(0,n.useQuery)({queryKey:p.queryKeys.graph.connectionSuggestions(a),queryFn:async({signal:e})=>(await u.api.graph.objects({q:a,page:1,perPage:8,owned:!0,includeCounts:!1,fields:"list",filters:[{id:"type",op:"neq",value:"tag"}]},e)).objects,enabled:t&&a.length>=2})},"useCreateGraphObject",0,function(){var e;return(0,i.useMutation)((e=(0,s.useQueryClient)(),(0,a.mutationOptions)({retry:!1,mutationFn:async e=>(await u.api.graph.create(e)).object,onSuccess:(t,a)=>P(e,a.connect_to)})))},"useDeleteGraphObject",0,function(){let e=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:e=>u.api.graph.remove(e),onSuccess:(t,a)=>{e.setQueriesData({queryKey:p.queryKeys.graph.allObjectPages()},e=>e&&{...e,pages:e.pages.map(e=>({...e,objects:e.objects.filter(e=>e.object_id!==a)}))});var r=new Set([a]);for(let t of["people","companies"])e.setQueriesData({queryKey:p.queryKeys.directory.allPages(t)},e=>e&&{...e,pages:e.pages.map(e=>({...e,rows:e.rows.filter(e=>!r.has(e.object_id))}))});j(e)}})},"useDeleteObjectNote",0,function(e){let t=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:e=>u.api.graph.remove(e),onSuccess:()=>{t.invalidateQueries({queryKey:p.queryKeys.graph.object(e)}),t.invalidateQueries({queryKey:p.queryKeys.graph.allObjects()})}})},"useDisconnectGraphObject",0,function(e){let t=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:t=>u.api.graph.disconnect(e,t),onSuccess:(a,r)=>{q(t,e,r),q(t,r,e),v(t,e,r)}})},"useGraphCounts",0,function(){let e=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.counts(),queryFn:({signal:e})=>u.api.graph.counts({},e),enabled:e,staleTime:6e4,placeholderData:t.keepPreviousData})},"useGraphNetwork",0,function(e,t={}){let a=g();return(0,n.useQuery)(function({focus:e,depth:t=2,perNode:a,offset:i=0},n){return(0,r.queryOptions)({queryKey:p.queryKeys.graph.network(e,t,a,i),queryFn:async({signal:r})=>{var n;return n=await u.api.graph.network({focus:e,depth:t,perNode:a,offset:i},r),{focus:n.focus,root:n.root??null,depth:n.depth??t,nodes:n.nodes||[],edges:n.edges||[],truncated:!!n.truncated,owned_total:n.owned_total,offset:n.offset,total:n.total,parent:n.parent}},enabled:n,retry:(e,t)=>e<1&&!(t instanceof l.ApiError&&t.status<500&&t.status>0)})}(e,a&&!1!==t.enabled))},"useGraphObject",0,function(e){let t=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.object(e),queryFn:async({signal:t})=>await u.api.graph.object(e,t),enabled:t&&!!e})},"useGraphObjectPages",0,function({type:e,q:t,sort:a,dir:r,filters:i},n={}){let s=g();return y({queryKey:p.queryKeys.graph.objectPages(function({type:e,q:t,sort:a,dir:r,filters:i}){let n={};return e&&(n.type=e),t&&(n.q=t),a&&(n.sort=a),r&&(n.dir=r),i?.length&&(n.filters=i.map(e=>JSON.stringify(e)).sort()),n}({type:e,q:t,sort:a,dir:r,filters:i})),fetchPage:(n,s)=>u.api.graph.objects({type:e,q:t,sort:a,dir:r,filters:i,cursor:n,perPage:50,includeCounts:!1,fields:"list"},s).then(e=>f(e,{perPage:50})),rowsOf:b,enabled:s&&!1!==n.enabled})},"useGraphObjectTypes",0,function(){let e=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.types(),queryFn:async({signal:e})=>(await u.api.graph.objectTypes(e)).types||[],enabled:e,staleTime:6e5,initialData:[],initialDataUpdatedAt:0})},"useGraphPurgeCount",0,function(e,t){let a=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.purgeCount(e),queryFn:async()=>(await u.api.graph.purge(e,!1)).count,enabled:a&&t})},"useGraphSearch",0,function(e){var t;let a,i=g(),s=e.trim(),o=(0,c.useDebouncedValue)(s,300),l=s!==o;return{...(0,n.useQuery)((t=i&&!l,a=o.trim(),(0,r.queryOptions)({queryKey:p.queryKeys.graph.search(a),queryFn:async({signal:e})=>(await u.api.graph.objects({q:a,perPage:8,owned:!0,includeCounts:!1,fields:"list"},e)).objects,enabled:t&&a.length>=2}))),isDebouncing:l}},"useGraphTagOptions",0,function(e,t=!0){let a=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.tagOptions(e),queryFn:({signal:t})=>u.api.graph.tagOptions(e,t),enabled:t&&a&&!!e,staleTime:6e4})},"useObjectDirectory",0,function({type:e,q:a,perPage:r=8},i={}){let s=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.directory(e,a),queryFn:async({signal:t})=>f(await u.api.graph.objects({type:e,q:a,page:1,perPage:r,owned:!1}
1,t),{perPage:r}),enabled:s&&!1!==i.enabled,placeholderData:t.keepPreviousData})},"useObjectShares",0,function(e,t){let a=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.shares(e),queryFn:async({signal:t})=>(await u.api.graph.shares(e,t)).shares||[],enabled:a&&t,initialData:[],initialDataUpdatedAt:0})},"useObjectTypeFields",0,function(e){let t=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.typeFields(e),queryFn:async({signal:t})=>(await u.api.graph.objectTypeFields(e,t)).fields||[],enabled:t&&!!e,staleTime:6e5,initialData:[],initialDataUpdatedAt:0})},"usePreviewWebLink",0,function(){return(0,i.useMutation)({mutationFn:e=>u.api.graph.previewWebLink(e)})},"usePurgeGraphObjects",0,function(){let e=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:({scope:e,confirm:t})=>u.api.graph.purge(e,t),onSuccess:t=>{t.queued&&j(e)}})},"useRemoveObjectTag",0,function(e){let t=(0,s.useQueryClient)();return(0,i.useMutation)({mutationKey:k(e),mutationFn:t=>u.api.graph.removeTag(e,t),onSuccess:()=>t.invalidateQueries({queryKey:p.queryKeys.graph.object(e)})})},"useRemoveProfileProduct",0,function(){let e=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:e=>u.api.profile.removeProduct(e),onSuccess:(t,a)=>e.invalidateQueries({queryKey:p.queryKeys.graph.object(a)})})},"useRemoveShare",0,function(e){let t=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:t=>u.api.graph.removeShare(e,t),onSuccess:(a,r)=>t.setQueryData(p.queryKeys.graph.shares(e),(e=[])=>e.filter(e=>e.id!==r))})},"useSaveWebLink",0,function(){let e=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:async e=>(await u.api.graph.createWebLink(e)).object,onSuccess:(t,a)=>P(e,a.connect_to)})},"useShareTargets",0,function(e,t){let a=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.shareTargets(e),queryFn:async({signal:t})=>(await u.api.graph.shareTargets(e,t)).users||[],enabled:a&&t&&e.length>=3,staleTime:6e5,initialData:[],initialDataUpdatedAt:0})},"useSharedWithMe",0,function(){let e=g();return(0,n.useQuery)({queryKey:p.queryKeys.graph.sharedWithMe(),queryFn:async({signal:e})=>(await u.api.graph.sharedWithMe(e)).shares||[],enabled:e,initialData:[],initialDataUpdatedAt:0})},"useUpdateGraphObject",0,function(e){let t=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:t=>u.api.graph.update(e,t),onSuccess:()=>{t.invalidateQueries({queryKey:p.queryKeys.graph.object(e)}),t.invalidateQueries({queryKey:p.queryKeys.graph.allObjects()})}})},"useUploadGraphFile",0,function(){let e=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:async e=>(await u.api.graph.createFile(e)).object,onSuccess:(t,a)=>P(e,a.connect_to)})},"useUpsertShare",0,function(e){let t=(0,s.useQueryClient)();return(0,i.useMutation)({mutationFn:async t=>(await u.api.graph.upsertShare(e,t)).share,onSuccess:a=>t.setQueryData(p.queryKeys.graph.shares(e),(e=[])=>[...e.filter(e=>e.id!==a.id),a])})}],318803)},231192,e=>{"use strict";var t=e.i(555389),a=e.i(978396),r=e.i(495576),i=e.i(326613),n=e.i(700327),s=e.i(882087),u=e.i(710459),o=e.i(558196),l=e.i(539950),c=e.i(881356),p=e.i(576053),h=e.i(29150);let d={title:"Studio",description:"Social images, emails and PDFs made in your own brand, from your brand kit.",href:"/studio/og",icon:u.Sparkles},y={gauge:t.Gauge,building:n.Building2,image:a.Image,globe:r.Globe,lightbulb:i.Lightbulb,wand:o.Wand2,users:l.Users,"user-plus":c.UserPlus,"message-square":p.MessageSquare,"file-text":h.FileText,mail:s.Mail},f=[{icon:"gauge",title:"HubGrader",description:"Grade any HubSpot portal and see how your setup stacks up against best practices.",href:"/hubgrader"},{icon:"building",title:"CompanyResearch",description:"AI research reports on any company: people, products, funding and news.",href:"/companyresearch"},{icon:"image",title:"ImageGen",description:"Generate and edit on-brand images with AI, right in your browser.",href:"/imagegen"},{icon:"mail",title:"GHero",description:"Search your Gmail in plain English and see the matching emails.",href:"/ghero"},{icon:"globe",title:"DomainValue",description:"AI-powered domain valuations to price and compare any name in seconds.",href:"/domainvalue"},{icon:"lightbulb",title:"DomainSuggest",description:"AI-powered domain name suggestions for your next idea.",href:"/domainsuggest"},{icon:"wand",title:"MetaPrompt",description:"Paste any AI prompt and get a sharper, more effective version back.",href:"/metaprompt"}
1,{icon:"users",title:"Connections",description:"Browse and search your LinkedIn connections by name, company, role or date.",href:"/connections"},{icon:"user-plus",title:"Invitations",description:"Score and tag the LinkedIn invitations you sent and received against a prompt.",href:"/invitations"},{icon:"message-square",title:"Linked Messages",description:"Score and tag your LinkedIn messages so the ones worth answering rise to the top.",href:"/linked_messages"},{icon:"file-text",title:"Linked Posts",description:"Your LinkedIn posts, synced from your profile into one browsable table.",href:"/linked_posts"}].map(e=>({title:e.title,description:e.description,href:e.href,icon:y[e.icon]}));e.s(["STUDIO_TOOL_CARD",0,d,"TOOL_CARDS",0,f],231192)},119346,e=>{"use strict";let t=(0,e.i(235884).default)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["BadgeCheck",0,t],119346)},747164,e=>{"use strict";let t=(0,e.i(235884).default)("book-marked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]);e.s(["BookMarked",0,t],747164)},662324,e=>{"use strict";let t=(0,e.i(235884).default)("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);e.s(["Boxes",0,t],662324)},835508,e=>{"use strict";var t=e.i(584652);e.s(["CircleHelp",()=>t.default])},319575,e=>{"use strict";let t=(0,e.i(235884).default)("circle-user",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);e.s(["CircleUser",0,t],319575)},555389,e=>{"use strict";let t=(0,e.i(235884).default)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);e.s(["Gauge",0,t],555389)},135741,e=>{"use strict";let t=(0,e.i(235884).default)("import",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m8 11 4 4 4-4",key:"1dohi6"}],["path",{d:"M8 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-4",key:"1ywtjm"}]]);e.s(["Import",0,t],135741)},206815,e=>{"use strict";let t=(0,e.i(235884).default)("laugh",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M18 13a6 6 0 0 1-6 5 6 6 0 0 1-6-5h12Z",key:"b2q4dd"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]);e.s(["Laugh",0,t],206815)},671488,e=>{"use strict";var t=e.i(808813);e.s(["LayoutGrid",()=>t.default])},996516,e=>{"use strict";let t=(0,e.i(235884).default)("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);e.s(["Network",0,t],996516)},509985,455022,321432,e=>{"use strict";var t=e.i(235884);let a=(0,t.default)("presentation",[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]]);e.s(["Presentation",0,a],509985);let r=(0,t.default)("route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);e.s(["Route",0,r],455022);let i=(0,t.default)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}
1],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);e.s(["Telescope",0,i],321432)},275332,e=>{"use strict";let t=(0,e.i(235884).default)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);e.s(["Terminal",0,t],275332)},558196,e=>{"use strict";let t=(0,e.i(235884).default)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);e.s(["Wand2",0,t],558196)}]);
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.