1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1726],{48181:function(e,t,s){var a=s(85893),n=s(9008),i=s.n(n);let r=()=>(0,a.jsxs)(i(),{children:[(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,a.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/icons/apple-touch-icon.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/icons/favicon-32x32.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"194x194",href:"/icons/favicon-194x194.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/icons/android-chrome-192x192.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/icons/favicon-16x16.png"}),(0,a.jsx)("link",{rel:"manifest",href:"/site.webmanifest"}),(0,a.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#051931"}),(0,a.jsx)("meta",{name:"apple-mobile-web-app-title",content:"PrivCo"}),(0,a.jsx)("meta",{name:"application-name",content:"PrivCo"}),(0,a.jsx)("meta",{name:"msapplication-TileColor",content:"#051931"}),(0,a.jsx)("meta",{name:"theme-color",content:"#ffffff"})]});t.Z=r},12198:function(e,t,s){s.d(t,{Z:function(){return w}});var a=s(67294),n=s(11163),i=s(93368);let r=()=>{let e=(0,n.useRouter)(),{query:{redirect:t},pathname:s}=e;(0,a.useEffect)(()=>{s!==t&&t&&t&&"string"==typeof t&&(t.startsWith("/system")?window.location.href="https://".concat(window.location.hostname).concat(t):e.push((0,i.m)(t)))},[s,t,e])};var l=s(47829),o=s(58344),c=s(31955),d=s(60374),u=s(81917),m=s(88792),h=s(91595),x=s(65477),f=s(484);let p=4*x.l6*x.LC,g=()=>{let{user:e}=(0,u.Z)(e=>({user:e.user}),d.Z),{updateIntercom:t}=(0,h.o)(),{updateHeap:s}=(0,m.W)(),i=(0,n.useRouter)(),{asPath:r}=i,l=(0,a.useRef)();(0,a.useEffect)(()=>{if(i.isReady&&!e.loading&&e.isLoggedIn){var a,n;(null===(a=e.details)||void 0===a?void 0:a.intercom)&&(null===(n=e.details)||void 0===n?void 0:n.username)&&(t({id:e.details.id,name:e.details.username,email:e.details.username,group:e.access.group,intercom:e.details.intercom}),s({...e.details,group:e.access.group}),(0,o.av)({email:e.details.username,...e}));let r=async()=>{try{if(!c.Z.get("payload"))throw Error("No payload cookie for postAuthRefresh");await (0,f.MY)()}catch(t){(0,o.Tb)(t),e.loading||i.push("/")}};return l.current=setInterval(r,p),()=>clearInterval(l.current)}return()=>{}},[r,i,s,t,e])},v=e=>{let{children:t}=e;return r(),g(),(0,l.Z)(),t};var w=v},47829:function(e,t,s){s.d(t,{Z:function(){return v}});var a=s(67294),n=s(11163),i=s(58344),r=s(31955),l=s(24188),o=s(60374),c=s(81917);let d=["^/company/[^/]+$","^/company/details/[^/]+/contacts$","^/investor/[^/]+$","^/robots.txt$","^/api/.*$"],u=e=>d.some(t=>RegExp(t).test(e)),m=e=>/^\/company\/.+?\/(funding|financials|deals|signals)$/.test(e),h=(e,t)=>!(!t||"/upgrade"===e||"/account"===e||e.startsWith("/watchlists"))&&(!u(e)||m(e)),x=(e,t)=>t&&e.startsWith("/watchlists");var f=s(9083),p=s(484);let g=(e,t,s)=>{!h(e.pathname,"free"===t)&&x(e.pathname,s)&&e.push("/")};var v=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,n.useRouter)(),{updateUser:s}=(0,c.Z)(e=>({updateUser:e.updateUser}),o.Z);(0,a.useEffect)(()=>{let a=async()=>{let a=!1;if(!r.Z.get("payload")&&r.Z.get("routing_group"))try{await (0,p.MY)(),a=!0}catch(e){r.Z.remove("routing_group",{path:"/"})}try{if(r.Z.get("payload")){(0,p.Wx)(s);let[n]=await Promise.all([(0,p.M_)(),a?void 0:(0,p.MY)()]),{directAccess:i}=(0,f.Z)().data;if((0,l.W)(n.userAccessGroup,n.id),(0,l.I)(n.userAccessGroup,i)){window.location.reload();return}s({isLoggedIn:!0,loading:!1,details:{id:n.id,username:n.username,intercom:n.intercom,firstName:n.firstName,lastName:n.lastName,directAccess:i,userAccessGroup:n.userAccessGroup,isTrialing:n.isTrialing,trialEndsAt:n.trialEndsAt,refundEligibleUntil:n.refundEligibleUntil,phone:n.phone,institution:n.institution,watchlistLimit:n.watchlistLimit,watchlistItemLimit:n.watchlistItemLimit},access:{group:n.userAccessGroup,sessionObjective:n.userHasSessionObjective,permissions:n.userPermissions}}),e&&g(t,n.userAccessGroup,i)}else throw Error("No cookie found")}catch(e){(0,i.Tb)(e),(0,p.Rz)(s)}};a()},[s,t,e])}},484:function(e,t,s){s.d(t,{MY:function(){return o},M_:function(){return l},Rz:function(){return r},Wx:function(){return i}});var a,n=s(27860);let i=e=>{e({isLoggedIn:!0})},r=e=>{e({isLoggedIn:!1,loading:!1})},l=async()=>
1(0,n.ZP)("/system/user/details",{},!0),o=async()=>{var e;return(0,n.v_)("/api/refresh",{host:null!==(a=null==window?void 0:null===(e=window.location)||void 0===e?void 0:e.hostname)&&void 0!==a?a:""})}},31726:function(e,t,s){s.d(t,{Z:function(){return Q}});var a=s(85893),n=s(5152),i=s.n(n),r=s(204),l=s(23100),o=s(48181),c=s(12198),d=s(67294),u=s(25675),m=s.n(u),h=s(41664),x=s.n(h),f=s(11163),p=s(62373),g=s(94933),v=s(8971),w=s(35162),j=s(84031),y=s(60693),b=s(76952),N=s(78051),k=s(77232),Z=s(39283),C=s(57349),R=s(93566),_=s(77785),W=s(73244),A=s(24103);let z=i()(()=>Promise.all([s.e(1796),s.e(6406),s.e(2339),s.e(167)]).then(s.bind(s,77830)),{loadableGenerated:{webpack:()=>[77830]},ssr:!1,loading:()=>(0,a.jsx)("div",{className:"h-10 w-full rounded-lg bg-[#3a3a3a] animate-pulse"})}),S=()=>{var e;let t=(0,f.useRouter)(),[s,n]=(0,d.useState)(!1),[i,r]=(0,d.useState)(),{isLoggedIn:l,signOut:o,isFree:c,isNew:u,access:h}=(0,W.Z)(),S=l&&(0,R.gz)(null==h?void 0:h.group,void 0),[I,E]=(0,d.useState)("/watchlists"),L=(null===(e=t.asPath)||void 0===e?void 0:e.split("?")[0])||t.pathname||"";return(0,d.useEffect)(()=>{switch(!0){case L.startsWith("/company/"):{let[,,e]=L.split("/");E("/company/".concat(e));break}case L.startsWith("/watchlists/"):{let[,,e]=L.split("/");E("/watchlists/".concat(e));break}case L.startsWith("/investor/"):{let[,,e]=L.split("/");E("/investor/".concat(e));break}case"/account"===L:E(L);break;default:E("/watchlists")}},[L]),(0,a.jsx)("nav",{className:"bg-[#2a2a2a] text-white sticky top-0 z-50 border-b border-gray-800",children:(0,a.jsx)("div",{className:"container-s container-e px-4 sm:px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"flex justify-between items-center h-16",children:[(0,a.jsxs)("div",{className:"flex items-center gap-8",children:[(0,a.jsx)(x(),{href:"/",className:"relative",children:(0,a.jsx)(m(),{src:"/assets/logo-white.png",alt:"PrivCo",width:"105",height:"32"})}),(0,a.jsxs)("div",{className:"hidden lg:flex items-center gap-6",children:[S&&(0,a.jsx)(x(),{href:"/ai-search",className:"text-sm text-gray-300 hover:text-white transition-colors whitespace-nowrap",children:"AI Search"}),l&&(0,a.jsx)(x(),{href:"/watchlists",className:"text-sm text-gray-300 hover:text-white transition-colors",children:"My Watchlists"}),(0,a.jsx)(x(),{href:"/deal-flow",className:"text-sm text-gray-300 hover:text-white transition-colors",children:"Deal Flow"})]}),l&&!c&&(0,a.jsx)("div",{className:"w-full min-w-0 lg:w-[500px] text-gray-900",children:(0,a.jsx)(z,{})})]}),(0,a.jsx)("div",{className:"flex items-center gap-4",children:l?(0,a.jsxs)(_.h_,{onOpenChange:n,children:[(0,a.jsx)(_.$F,{asChild:!0,children:(0,a.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg hover:bg-[#3a3a3a] transition-colors",children:[(0,a.jsx)("div",{className:"h-8 w-8 rounded-full bg-blue-600 flex items-center justify-center",children:(0,a.jsx)(g.Z,{className:"h-4 w-4 text-white"})}),(0,a.jsx)(v.Z,{className:(0,A.cn)("h-4 w-4 text-gray-300 transition-transform",{"rotate-180":s})})]})}),(0,a.jsxs)(_.AW,{align:"start",children:[(0,a.jsx)(_.Xi,{children:(0,a.jsxs)("a",{href:"/account",className:"flex items-center gap-2",children:[(0,a.jsx)(g.Z,{className:"w-4 h-4"}),"My Account"]})}),S&&(0,a.jsx)(_.Xi,{className:"lg:hidden",children:(0,a.jsxs)(x(),{href:"/ai-search",className:"flex items-center gap-2",children:[(0,a.jsx)(w.Z,{className:"w-4 h-4"}),"AI Search"]})}),l&&(0,a.jsx)(_.Xi,{className:"lg:hidden",children:(0,a.jsxs)(x(),{href:"/watchlists",className:"flex items-center gap-2",children:[(0,a.jsx)(j.Z,{className:"w-4 h-4"}),"My Watchlists"]})}),l&&!c&&!u&&(0,a.jsx)(_.Xi,{children:(0,a.jsxs)("a",{href:"/api/platform-switch?to=old&redirect=".concat(encodeURIComponent(I)),className:"flex items-center gap-2",children:[(0,a.jsx)(y.Z,{className:"w-4 h-4"}),"Back to Classic platform"]})}),(0,a.jsx)(_.Xi,{className:"lg:hidden",children:(0,a.jsxs)(x(),{href:"/deal-flow",className:"flex items-center gap-2",children:[(0,a.jsx)(b.Z,{className:"w-4 h-4"}),"Deal Flow"]})}),(0,a.jsx)(_.VD,{}),(0,a.jsxs)(_.Xi,{onClick:()=>o("/"),className:"flex items-center gap-2",children:[(0,a.jsx)(N.Z,{className:"w-4 h-4"}),"Logout"]})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"items-center gap-4 hidden lg:flex",children:[(0,a.jsx)(p.X,{isOnSignIn:!0,defaultStep:"emailPassword",children:(0,a.jsx)("div",{className:"text-sm text-gray-300 hover:text-white transition-colors hidden md:block whitespace-nowrap cursor-pointer",children:"Sign In"})}),(0,a.jsx)(p.X,{isDirectAccessRegister:!0,children:(0,a.jsx)("button",{className:"bg-green-600 hover:bg-green-700 text-white px-5 py-2 rounded-lg text-sm transition-colors",type:"button",children:"Create Free Account"})})]}),(0,a.jsxs)(_.h_,{onOpenChange:n,children:[(0,a.jsx)(_.$F,{asChild:!0,children:(0,a.jsx)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg hover:bg-[#3a3a3a] transition-colors lg:hidden",children:(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)(k.Z,{className:"h-6 w-6 text-white"})})})}),(0,a.jsxs)(_.AW,{align:"start",children:[(0,a.jsx)(p.X,{isOnSignIn:!0,defaultStep:"emailPassword",children:(0,a.jsxs)(_.Xi,{className:"flex items-center gap-2 whitespace-nowrap",children:[(0,a.jsx)(Z.Z,{className:"w-4 h-4"}),"Sign In"]})}),(0,a.jsx)(_.Xi,{children:(0,a.jsx)(p.X,{isDirectAccessRegister:!0,children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(C.Z,{className:"w-4 h-4"}),"Create Free Account"]})})}),l&&(0,a.jsx)(_.Xi,{className:"md:hidden",children:(0,a.jsxs)("a",{href:"/watchlists",className:"flex items-center gap-2",children:[(0,a.jsx)(j.Z,{className:"w-4 h-4"}),"My Watchlists"]})}),(0,a.jsx)(_.Xi,{className:"lg:hidden",children:(0,a.jsxs)(x(),{href:"/deal-flow",className:"flex items-center gap-2",children:[(0,a.jsx)(b.Z,{className:"w-4 h-4"}),"Deal Flow"]})})]})]})]})}),(0,a.jsx)(p.X,{open:!!i,onOpenChange:()=>r(void 0),isOnSignIn:"signin"===i},i)]})})})};var I=s(45077),E=s(8100),L=s(67896),M=s(38986),P=s(65477),X=s(27860),O=s(99042),Y=s(64712),F=s(26967);
1let T="[email protected]",G="cancel-trial",U=["failed","in_flight"],D=["refunded","already_refunded"];function $(e){return{tone:"error",message:e,sticky:!0,reload:!1}}let V=()=>{let{refundEligibleUntil:e}=(0,W.Z)(),[t,s]=(0,d.useState)(!1),[n,i]=(0,d.useState)(!1),[r,l]=(0,d.useState)(!1),[o,c]=(0,d.useState)(5),u=Boolean(e&&new Date(e)>new Date);(0,d.useEffect)(()=>{if(!t)return;c(5);let e=setInterval(()=>{c(e=>Math.max(0,e-1))},1e3);return()=>clearInterval(e)},[t]);let m=e=>{let t="success"===e.tone?Y.Am.success:Y.Am.error;t(e.message,e.sticky?{id:G,duration:1/0,closeButton:!0}:{id:G}),e.sticky&&(s(!1),l(!0)),e.reload&&window.location.reload()},h=async()=>{if(!n&&!r){i(!0),Y.Am.loading("Cancelling your trial",{id:G});try{let e=await (0,X.v_)("/system/user/cancel-subscription");m(function(e,t){var s,a;let n=null==e?void 0:e.refundStatus;return n&&U.includes(n)?$(null!==(s=null==e?void 0:e.message)&&void 0!==s?s:"Your cancellation is recorded and our team will complete your refund. Your access continues in the meantime. Contact ".concat(T," if you don't hear from us.")):n&&D.includes(n)&&(null==e?void 0:e.accessEndsImmediately)===!1?$("Your payment has been refunded in full. Your account hasn't been closed yet â our team has been alerted and will finish it, so you don't need to cancel again. Contact ".concat(T," with any questions.")):{tone:"success",message:null!==(a=null==e?void 0:e.message)&&void 0!==a?a:t?"Trial cancelled â your refund is on its way, typically within 5â10 business days.":"Your subscription has been cancelled.",sticky:!1,reload:!0}}(e,u))}catch(e){m(function(e){let t=null==e?void 0:e.info;return(null==t?void 0:t.refunded)?$("Your payment was refunded, but we couldn't confirm your cancellation finished. Our team has been alerted â please contact ".concat(T," rather than cancelling again.")):(null==t?void 0:t.refundStatus)&&U.includes(t.refundStatus)?$("We couldn't finish your cancellation, and your refund is with our team. Please contact ".concat(T," rather than trying again.")):(null==t?void 0:t.refundStatus)==="not_applicable"?{tone:"error",message:"Failed to cancel â please try again, or contact ".concat(T," if this keeps happening."),sticky:!1,reload:!1}:$("We couldn't confirm whether your cancellation went through. Please check your email for a cancellation confirmation, or contact ".concat(T,", before trying again."))}(e))}finally{i(!1)}}};return(0,a.jsxs)(F.Vq,{open:t,onOpenChange:s,children:[(0,a.jsx)(F.hg,{disabled:r,children:(0,a.jsx)(L.z,{variant:"link",disabled:r,className:"text-sm text-gray-500 hover:text-gray-700 transition-colors underline underline-offset-2",children:"Cancel trial"})}),(0,a.jsxs)(F.cZ,{className:"max-w-sm",children:[(0,a.jsxs)(F.fK,{className:"flex-row items-center gap-3 mb-4",children:[(0,a.jsx)("div",{className:"h-11 w-11 rounded-full bg-red-100 flex items-center justify-center flex-shrink-0",children:(0,a.jsx)("svg",{className:"h-5 w-5 text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"})})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-base text-gray-900",children:"Cancel your trial?"}),(0,a.jsx)("p",{className:"text-xs text-red-600 font-medium mt-0.5",children:"This cannot be undone"})]})]}),(0,a.jsx)("p",{className:"text-sm text-gray-600 leading-relaxed mb-6",children:u?"Cancelling now ends your access immediately, and refunds your original charge in full. Refunds are processed by our team, typically within 5â10 business days.":"Cancelling now stops your subscription from renewing â you won't be charged again. Your original charge is not refunded, as the refund window has closed, but you'll keep full access through the end of your current billing period."}),(0,a.jsxs)(F.cN,{className:"flex gap-3",children:[(0,a.jsx)(F.GG,{className:"flex-1 px-4 py-2.5 bg-gray-100 hover:bg-gray-200 text-gray-700 rounded-lg transition-colors text-sm",children:"Keep trial"}),(0,a.jsx)(L.z,{onClick:h,disabled:n||o>0,className:"flex-1 px-4 py-2.5 bg-red-600 hover:bg-red-700 text-white rounded-lg transition-colors text-sm font-medium disabled:opacity-60",children:n?"Cancellingâ¦":o>0?"Cancel trial (".concat(o,")"):"Cancel trial"})]})]})]})};var B=s(68766);let q=()=>{var e,t,s,n,i,r;let[l,o]=(0,d.useState)(!1),c=(0,W.Z)(),{data:u}
1=(0,E.ZP)(c.isLoggedIn&&!c.loading?["/system/user/usage",null===(e=c.details)||void 0===e?void 0:e.id]:null,e=>(0,X.ZP)(e));if(!c.isTrialing)return null;let m=(0,O.GC)(null==u?void 0:null===(t=u.profileView)||void 0===t?void 0:t.limit),h=null!==(i=null==u?void 0:null===(s=u.profileView)||void 0===s?void 0:null===(n=s.unlocked)||void 0===n?void 0:n.length)&&void 0!==i?i:0,x=m.value,f=null===x?null:Math.max(0,x-h),p=null!==(r=c.refundEligibleUntil)&&void 0!==r?r:c.trialEndsAt;return(0,a.jsx)("div",{className:"border-b bg-amber-50 border-amber-200",children:(0,a.jsxs)("div",{className:"max-w-[1400px] mx-auto px-4 lg:px-6 py-2 lg:py-2.5 flex flex-col flex-wrap lg:flex-row lg:items-center lg:gap-6 gap-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between lg:justify-start gap-2.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold shrink-0 bg-amber-100 text-amber-700",children:[(0,a.jsx)(I.Z,{className:"h-3 w-3"}),"Trial Period"]}),p&&(0,a.jsx)("span",{className:"text-sm font-medium shrink-0 text-amber-800",children:(0,P.kT)(p)})]}),(0,a.jsx)(L.z,{type:"button",variant:"ghost",size:"sm",onClick:()=>o(e=>!e),"aria-label":l?"Collapse trial banner":"Expand trial banner","aria-expanded":l,className:"lg:hidden h-7 w-7 p-0 text-amber-800 hover:bg-amber-100 hover:text-amber-900",children:(0,a.jsx)(v.Z,{className:(0,A.cn)("h-4 w-4 transition-transform duration-200",l&&"rotate-180")})})]}),(0,a.jsxs)("div",{className:(0,A.cn)("flex-col lg:flex-row lg:items-center gap-3 lg:gap-6 flex-1",l?"flex":"hidden lg:flex"),children:[(0,a.jsx)("div",{className:"h-4 w-px bg-amber-200 shrink-0 hidden lg:block"}),u?(0,a.jsxs)("div",{className:"flex items-center gap-2.5 shrink-0 flex-wrap",children:[(0,a.jsxs)("span",{className:"text-sm text-gray-600",children:["Company profiles:"," ",(0,a.jsx)("span",{className:"font-semibold text-gray-900",children:"limited"===m.kind?"".concat(h," / ").concat(x):"".concat(h," viewed")})]}),"limited"===m.kind&&(0,a.jsx)("div",{className:"w-24 h-1.5 bg-gray-200 rounded-full overflow-hidden",children:(0,a.jsx)("div",{className:(0,A.cn)("h-full rounded-full transition-all",0===f?"bg-red-500":"bg-amber-400"),style:{width:"".concat(x&&x>0?Math.min(100,h/x*100):0,"%")}})}),"limited"===m.kind&&(f&&f>0?(0,a.jsxs)("span",{className:"text-xs text-gray-500",children:[f," remaining"]}):(0,a.jsx)("span",{className:"text-xs text-red-600 font-medium",children:"Quota reached"}))]}):(0,a.jsx)(M.O,{className:"h-4 w-32"}),(0,a.jsx)("div",{className:"h-4 w-px bg-amber-200 shrink-0 hidden lg:block"}),(0,a.jsx)("span",{className:"text-xs text-gray-500 block lg:hidden xl:block",children:"limited"===m.kind?"Trial includes ".concat(x," company profiles \xb7 No exports or downloads"):"No exports or downloads during the trial"}),(0,a.jsx)("div",{className:"flex-1 hidden lg:block"}),(0,a.jsxs)("div",{className:"flex items-center gap-3 shrink-0 pt-1 lg:pt-0",children:[(0,a.jsx)(V,{}),(0,a.jsx)(B.R,{})]})]})]})})},H=i()(()=>Promise.all([s.e(6986),s.e(5949)]).then(s.bind(s,95949)),{loadableGenerated:{webpack:()=>[95949]},ssr:!1}),K=e=>{let{children:t}=e;return(0,a.jsx)(c.Z,{children:(0,a.jsxs)(r.k,{className:"app-layout",h:"100%",direction:"column",overflow:"hidden",children:[(0,a.jsx)(q,{}),(0,a.jsx)(o.Z,{}),(0,a.jsx)(S,{}),(0,a.jsx)(l.xu,{as:"main",bg:"slate.100",flex:"1",minH:"0",overflow:"hidden",children:t}),(0,a.jsx)(H,{})]})})};var Q=K},77785:function(e,t,s){s.d(t,{$F:function(){return u},AW:function(){return x},VD:function(){return w},Xi:function(){return f},h_:function(){return d}});var a=s(85893),n=s(67294),i=s(47639),r=s(64998),l=s(13742),o=s(50316),c=s(24103);let d=i.fC,u=i.xz;i.ZA,i.Uv,i.Tr,i.Ee;let m=n.forwardRef((e,t)=>{let{className:s,inset:n,children:l,...o}=e;return(0,a.jsxs)(i.fF,{ref:t,className:(0,c.cn)("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n&&"pl-8",s),...o,children:[l,(0,a.jsx)(r.Z,{className:"ml-auto"})]})});m.displayName=i.fF.displayName;let h=n.forwardRef((e,t)=>
1{let{className:s,...n}=e;return(0,a.jsx)(i.tu,{ref:t,className:(0,c.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",s),...n})});h.displayName=i.tu.displayName;let x=n.forwardRef((e,t)=>{let{className:s,sideOffset:n=4,...r}=e;return(0,a.jsx)(i.Uv,{children:(0,a.jsx)(i.VY,{ref:t,sideOffset:n,className:(0,c.cn)("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",s),...r})})});x.displayName=i.VY.displayName;let f=n.forwardRef((e,t)=>{let{className:s,inset:n,...r}=e;return(0,a.jsx)(i.ck,{ref:t,className:(0,c.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n&&"pl-8",s),...r})});f.displayName=i.ck.displayName;let p=n.forwardRef((e,t)=>{let{className:s,children:n,checked:r,...o}=e;return(0,a.jsxs)(i.oC,{ref:t,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),checked:r,...o,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(i.wU,{children:(0,a.jsx)(l.Z,{className:"h-4 w-4"})})}),n]})});p.displayName=i.oC.displayName;let g=n.forwardRef((e,t)=>{let{className:s,children:n,...r}=e;return(0,a.jsxs)(i.Rk,{ref:t,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s),...r,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(i.wU,{children:(0,a.jsx)(o.Z,{className:"h-2 w-2 fill-current"})})}),n]})});g.displayName=i.Rk.displayName;let v=n.forwardRef((e,t)=>{let{className:s,inset:n,...r}=e;return(0,a.jsx)(i.__,{ref:t,className:(0,c.cn)("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",s),...r})});v.displayName=i.__.displayName;let w=n.forwardRef((e,t)=>{let{className:s,...n}=e;return(0,a.jsx)(i.Z0,{ref:t,className:(0,c.cn)("-mx-1 my-1 h-px bg-muted",s),...n})});w.displayName=i.Z0.displayName;let j=e=>{let{className:t,...s}=e;return(0,a.jsx)("span",{className:(0,c.cn)("ml-auto text-xs tracking-widest opacity-60",t),...s})};j.displayName="DropdownMenuShortcut"},38986:function(e,t,s){s.d(t,{O:function(){return i}});var a=s(85893),n=s(24103);let i=e=>{let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,n.cn)("animate-pulse rounded-md bg-muted",t),...s})}},93368:function(e,t,s){s.d(t,{m:function(){return a}});let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";if(!e||!e.startsWith("/")||e.startsWith("//")||e.startsWith("/\\"))return t;try{let s="https://internal.invalid",a=new URL(e,s);if(a.origin!==s)return t;let n=a.pathname+a.search+a.hash;if(!n.startsWith("/")||n.startsWith("//")||n.startsWith("/\\"))return t;return n}catch(e){return t}}}}]);
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.