1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1558],{11587:function(e,t,a){"use strict";let n,r;a.r(t),a.d(t,{default:function(){return e1}});var i=a(96486),l=a.n(i),s=a(11163),o=a(26975),d=a(28386),c=a(75072),m=a(82348),u=a(54080),p=a(9977),h=a(41365);let f=(e,t)=>{let a=t?.options?.name??"anon";return 0===a.indexOf("Mui")?`${a}-${e.key}`:`sdi-${a}-${e.key}`};var x=a(43359),g=a(85091),b=a(34891);let j=(0,b.wC)("InvestorCardSurface");var v=a(8307),y=a(67294),N=a(39859),w=a(85893);let $=(0,x.Z)(()=>(0,g.Z)({sentinel:{height:0},nav:{position:"sticky",top:54,zIndex:10,display:"flex",flexWrap:"wrap",padding:"10px 14px",backgroundColor:"#fff",border:"1px solid #e5e7eb",borderRadius:14,boxShadow:"none",transition:N.$6,marginBottom:20},navStuck:{boxShadow:N.qr},tab:{padding:"3px 9px",borderRadius:99,fontSize:12,fontWeight:600,color:"rgba(0,0,0,0.6)",backgroundColor:"#fff",border:"none",cursor:"pointer",whiteSpace:"nowrap",marginRight:5},tabActive:{color:"#fff",backgroundColor:"#0f1e3d"}}),{name:"InvestorTabNav"}),k=({items:e})=>{let t=$(),{0:a,1:n}=(0,y.useState)(e[0]?.id),r=(0,y.useRef)(null),{0:i,1:l}=(0,y.useState)(!1);(0,y.useEffect)(()=>{let e=r.current;if(!e)return;let t=new IntersectionObserver(([e])=>{l(!e.isIntersecting&&e.boundingClientRect.top<54)},{rootMargin:"-54px 0px 0px 0px"});return t.observe(e),()=>t.disconnect()},[]),(0,y.useEffect)(()=>{let t=0,a=()=>{t=0;let a=e.map(({id:e})=>document.getElementById(e)).filter(e=>null!==e);if(0===a.length)return;let r=parseFloat(getComputedStyle(a[0]).scrollMarginTop)||0,i=a[0];a.forEach(e=>{e.getBoundingClientRect().top<=r+8&&(i=e)}),window.scrollY+window.innerHeight>=document.documentElement.scrollHeight-2&&(i=a[a.length-1]),n(e=>e===i.id?e:i.id)},r=()=>{0===t&&(t=window.requestAnimationFrame(a))};return a(),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),()=>{0!==t&&window.cancelAnimationFrame(t),window.removeEventListener("scroll",r),window.removeEventListener("resize",r)}},[e]);let s=e=>{document.getElementById(e)?.scrollIntoView({behavior:"smooth",block:"start"})};return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{ref:r,className:t.sentinel,"aria-hidden":"true"}),(0,w.jsx)("nav",{className:`${t.nav} ${i?t.navStuck:""}`,children:e.map(({id:e,label:n})=>(0,w.jsx)("button",{type:"button",className:`${t.tab} ${a===e?t.tabActive:""}`,onClick:()=>s(e),children:n},e))})]})};function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function C(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?S(Object(a),!0).forEach(function(t){(0,v.Z)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):S(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let O=(e,t)=>`clamp(138px, calc(${138-16*e}px + ${e}em), ${t}px)`,D=(0,x.Z)(()=>(0,g.Z)({section:{minWidth:0,marginBottom:20,fallbacks:{scrollMarginTop:"138px"},scrollMarginTop:O(7.5,274),"@media (max-width: 699.98px)":{scrollMarginTop:O(10.5,372)},"@media (max-width: 499.98px)":{scrollMarginTop:O(24,288)},"@media (max-width: 600px)":C(C({},b.OI),{},{marginBottom:0,"&:first-of-type":C({},b.Ho)})}}),{name:"InvestorSection"}),B=(0,x.Z)(()=>(0,g.Z)({head:{display:"flex",alignItems:"baseline",marginBottom:10},title:{margin:0,fontSize:17,fontWeight:700,color:"rgb(17,24,39)"},sub:{marginLeft:10,fontSize:12.5,color:"#9ca3af"},right:{marginLeft:"auto",fontSize:12.5,color:"#9ca3af"},body:{minWidth:0,padding:"18px 20px 20px"},surface:{overflow:"hidden","@media (max-width: 600px)":{border:"none",borderRadius:0,boxShadow:"none"}}}),{name:"InvestorSectionCard"}),I=({id:e,title:t,subtitle:a,right:n,children:r})=>{let i=B(),l=j(),s=D();return(0,w.jsxs)("section",{id:e,className:s.section,children:[(0,w.jsxs)("div",{className:i.head,children:[(0,w.jsx)("h2",{className:i.title,children:t}),a&&(0,w.jsx)("span",{className:i.sub,children:a}),n&&(0,w.jsx)("span",{className:i.right,children:n})]}),(0,w.jsx)("div",{className:`${l.card} ${i.surface}`,children:(0,w.jsx)("div",{className:i.body,children:r})})]})};var z=a(75356),T=a(41664),L=a.n(T),P=a(33275),A=a(94016),W=a(5348);function R(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function M(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1t%2?R(Object(a),!0).forEach(function(t){(0,v.Z)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):R(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let E=[{id:"basic-info",label:"기본 ì ë³´"},{id:"activity-summary",label:"í¬ì íë ìì½"},{id:"portfolio",label:"í¬í¸í´ë¦¬ì¤ \xb7 í¬ìì´ë ¥"},{id:"invest-style",label:"í¬ì ì±í¥"},{id:"dry-powder",label:"ëë¼ì´íì°ë"},{id:"executives",label:"ì´ì¬ì§"},{id:"investment-network",label:"í¬ìì¬ ë¤í¸ìí¬"},{id:"profit-finance",label:"ììµ \xb7 ì¬ë¬´"},{id:"news",label:"ë´ì¤"}],Z=(0,x.Z)(()=>(0,g.Z)({utilityRow:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:12},utilityRight:{display:"flex",alignItems:"center"},breadcrumb:{fontSize:14,color:"rgba(0,0,0,0.4)"},breadcrumbMain:{fontWeight:700,color:"rgb(17,24,39)"},sourceText:{fontSize:12.5,color:"rgba(0,0,0,0.4)"},sourceBrand:{fontWeight:700,color:"#2563eb"},card:{padding:"20px 22px",marginBottom:20},head:{display:"flex",alignItems:"flex-start"},main:{flex:"1 1 auto",minWidth:0,marginLeft:18},h1:{margin:0,fontSize:21,fontWeight:800,color:"rgb(17,24,39)"},tags:{display:"flex",marginTop:10,"& > * + *":{marginLeft:6}},tag:{fontSize:12,fontWeight:600,padding:"3px 10px",borderRadius:99},tagNavy:{backgroundColor:"#0f1e3d",color:"#fff"},metaGrid:{display:"grid",gridTemplateColumns:"repeat(3, calc((100% - 48px) / 3))",justifyContent:"space-between",padding:"14px 4px 0",marginTop:14,borderTop:"1px solid #f3f4f6","@media (max-width: 600px)":{gridTemplateColumns:"repeat(2, calc((100% - 16px) / 2))"}},metaItem:{display:"flex",minWidth:0,fontSize:13.5,"&:nth-child(n+4)":{marginTop:8},"@media (max-width: 600px)":{"&:nth-child(n+3)":{marginTop:8}}},metaItemWide:{"@media (max-width: 600px)":{gridColumn:"span 2"}},metaLabel:{color:"#9ca3af",flex:"0 0 auto"},metaValue:{color:"rgb(17,24,39)",marginLeft:8,whiteSpace:"nowrap"},metaValueWide:{color:"rgb(17,24,39)",marginLeft:8,minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},metaLink:{color:"#2563eb !important",textDecoration:"none",minWidth:0,marginLeft:8,overflowWrap:"anywhere"}}),{name:"InvestorHeader"}),F=({investor:e,code:t,showNewsTab:a,dryPowderTabLabel:n,profile:r})=>{let i=Z(),l=j(),s=function(e,t){let a=[];return e.ceo&&a.push({label:"ëíì",value:e.ceo}),e.startYear&&a.push({label:"ì¤ë¦½ì°ë",value:e.startYear}),e.web&&a.push({label:"ííì´ì§",value:e.web,href:`https://${e.web.replace(/^https?:\/\//,"")}`}),e.country&&a.push({label:"êµê°",value:e.country}),t&&(t.industries.length>0&&a.push({label:"주ì í¬ì ë¶ì¼",value:t.industries.join(" \xb7 "),wide:!0}),t.stages.length>0&&a.push({label:"주ì í¬ì ë¨ê³",value:t.stages.join(" \xb7 "),wide:!0}),t.companyCount>0&&a.push({label:"ì´ í¬ì 기ì
ì",value:`${(0,z.uf)(t.companyCount)}ê°ì¬`}),void 0!==t.fundCount&&t.fundCount>0&&a.push({label:"ê²°ì± ì¡°í©",value:`${(0,z.uf)(t.fundCount)}ê°`})),a}(e,r),o=E.filter(e=>"news"!==e.id||a).filter(e=>"dry-powder"!==e.id||void 0!==n).map(e=>"dry-powder"===e.id?M(M({},e),{},{label:n??e.label}):e),d=(0,W.sg)(String(e.bizNo??""));return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)("div",{className:i.utilityRow,children:[(0,w.jsxs)("span",{className:i.breadcrumb,children:[(0,w.jsx)(L(),{href:"/startup-db",className:i.breadcrumbMain,children:"ì¤íí¸ì
DB"})," \xb7 í¬ìì¬ ìì¸"]}),(0,w.jsxs)("span",{className:i.utilityRight,children:[(0,w.jsx)("span",{style:{marginRight:12},children:(0,w.jsx)(P.l7,{target:{kind:"investor",code:t,name:e.name,status:e.investType,bizNo:(0,W.UL)(d)?d:void 0}})}),(0,w.jsxs)("span",{className:i.sourceText,children:["data by ",(0,w.jsx)("span",{className:i.sourceBrand,children:"pitchdeck"})]})]})]}),(0,w.jsxs)("div",{className:`${l.card} ${i.card}`,children:[(0,w.jsxs)("div",{className:i.head,children:[(0,w.jsx)(A.L,{name:e.name,size:"hero",code:t}),(0,w.jsxs)("div",{className:i.main,children:[(0,w.jsx)("h1",{className:i.h1,children:e.name}),e.investType&&(0,w.jsx)("div",{className:i.tags,children:(0,w.jsx)("span",{className:`${i.tag} ${i.tagNavy}`,title:"í¼ì¹ë± ê¸°ê´ ì í ë¶ë¥ì
ëë¤. ê°ë³ í¬ì ê±´ì FI\xb7SI(ì¬ë¬´ì \xb7ì ëµì í¬ìì) ê´ê³ìë ë¤ë¦
ëë¤.",children:e.investType})})]})]}),s.length>0&&(0,w.jsx)("div",{className:i.metaGrid,children:s.map(e=>(0,w.jsxs)("div",{className:e.wide?`${i.metaItem} ${i.metaItemWide}`:i.metaItem,children:[(0,w.jsx)("span",{className:i.metaLabel,children:e.label}),e.href?(0,w.jsx)("a",{className:i.metaLink,href:e.href,target:"_blank",rel:"noopener noreferrer",children:e.value}):e.wide?(0,w.jsx)("span",{className:i.metaValueWide,title:e.value,children:e.value}):(0,w.jsx)("span",{className:i.metaValue,children:e.value})]},e.label))})]}),(0,w.jsx)(k,{items:o})]})},H=(0,x.Z)(()=>(0,g.Z)({grid:{display:"grid",gridTemplateColumns:"repeat(2, calc((100% - 32px) / 2))",justifyContent:"space-between","@media (max-width: 600px)":{gridTemplateColumns:"repeat(2, calc((100% - 16px) / 2))"}},row:{display:"flex",minWidth:0,padding:"10px 0",borderBottom:"1px solid #f3f4f6",fontSize:14},label:{width:128,flex:"0 0 auto",color:"#6b7280","@media (max-width: 600px)":{width:88}},value:{minWidth:0,color:"rgb(17,24,39)",overflowWrap:"anywhere"}}
1),{name:"InvestorInfoGrid"}),Y=({items:e})=>{let t=H();return(0,w.jsx)("div",{className:t.grid,children:e.map(e=>(0,w.jsxs)("div",{className:t.row,children:[(0,w.jsx)("span",{className:t.label,children:e.label}),(0,w.jsx)("span",{className:t.value,children:e.value})]},e.label))})},_=({investor:e})=>(0,w.jsx)(I,{id:"basic-info",title:"기본 ì ë³´",subtitle:"ê¸°ê´ ê°ì",children:(0,w.jsx)(Y,{items:function(e){let t=[{label:"기ê´ëª
",value:e.name}];return e.startYear&&t.push({label:"ì¤ë¦½ì°ë",value:`${e.startYear}ë
`}),e.ceo&&t.push({label:"ëíì",value:e.ceo}),e.investType&&t.push({label:"ê¸°ê´ ì í",value:e.investType}),e.country&&t.push({label:"êµê°",value:e.country}),e.web&&t.push({label:"ííì´ì§",value:e.web}),t}(e)})});var V=a(37234),U=a(80742);let K=(0,x.Z)(()=>(0,g.Z)({row:{display:"flex",flexWrap:"nowrap",margin:-6,"@media (max-width: 600px)":{flexWrap:"wrap"}},kpi:{flex:"1 1 0",minWidth:0,backgroundColor:"#f3f4f6",borderRadius:9,padding:"14px 16px",margin:6,"@media (max-width: 600px)":{boxSizing:"border-box",flex:"0 0 calc(100% - 12px)"}},label:{fontSize:12.5,color:"#6b7280",marginBottom:6},value:{fontSize:21,fontWeight:800,color:"rgb(17,24,39)",whiteSpace:"nowrap"},unit:{fontSize:13,fontWeight:400,marginLeft:2},valueLink:{fontSize:14,fontWeight:700,color:"#2563eb !important",textDecoration:"none",whiteSpace:"nowrap"},delta:{marginTop:4,fontSize:12,color:"#6b7280"},deltaUp:{color:"#16a34a"}}),{name:"InvestorKpiRow"}),q=({items:e})=>{let t=K();return(0,w.jsx)("div",{className:t.row,children:e.map(e=>(0,w.jsxs)("div",{className:t.kpi,children:[(0,w.jsx)("div",{className:t.label,children:e.label}),e.valueHref?(0,w.jsxs)("a",{className:t.valueLink,href:e.valueHref,children:["â ",e.value]}):(0,w.jsxs)("div",{className:t.value,children:[e.value,e.unit&&(0,w.jsx)("span",{className:t.unit,children:e.unit})]}),e.delta&&(0,w.jsxs)("div",{className:`${t.delta} ${e.deltaUp?t.deltaUp:""}`,children:[e.deltaUp?"â² ":"",e.delta]})]},e.label))})},X=(0,x.Z)(()=>(0,g.Z)({wrap:{overflowX:"auto"},chart:{display:"block",minWidth:720,width:"100%",height:210},legend:{display:"flex",justifyContent:"flex-end",fontSize:12,color:"#6b7280",marginBottom:6},legendItem:{display:"flex",alignItems:"center","& + &":{marginLeft:16}},swatch:{width:12,height:8,borderRadius:2,marginRight:5},basis:{marginTop:6,fontSize:11.5,color:"#6b7280",textAlign:"right"}}),{name:"InvestorExecutionChart"}),Q=({years:e,counts:t,amounts:a})=>{let n=X(),r=Math.max(1,...t),i=Math.max(1,...a),l=a.some(e=>e>0),s=l?"ì°ëë³ í¬ì ê±´ìì ìë ¤ì§ í¬ìê¸ì¡ ë³µí© ì°¨í¸":"ì°ëë³ í¬ì ê±´ì ì°¨í¸",o=838/Math.max(e.length,1),d=Math.min(26,Math.max(7,.46*o)),c=l?a.map((e,t)=>`${34+o*t+o/2},${152-e/i*140}`).join(" "):"";return(0,w.jsxs)("div",{children:[(0,w.jsxs)("div",{className:n.legend,children:[(0,w.jsxs)("span",{className:n.legendItem,children:[(0,w.jsx)("i",{className:n.swatch,style:{backgroundColor:"#9ec1f2"}}),"í¬ì ê±´ì"]}),l&&(0,w.jsxs)("span",{className:n.legendItem,children:[(0,w.jsx)("i",{className:n.swatch,style:{backgroundColor:"#1b64da",height:3}}),"ìë ¤ì§ í¬ìê¸ì¡(ìµì)"]})]}),(0,w.jsx)("div",{className:n.wrap,children:(0,w.jsxs)("svg",{className:n.chart,viewBox:"0 0 900 180",role:"img","aria-label":s,children:[[0,1,2,3,4].map(e=>{let t=12+35*e;return(0,w.jsx)("line",{x1:34,y1:t,x2:872,y2:t,stroke:"#eef1f5"},e)}),(0,w.jsx)("text",{x:34,y:10,fontSize:"10",fill:"#778195",children:"ê±´ì ì¶"}),(0,w.jsx)("text",{x:28,y:155,textAnchor:"end",fontSize:"10",fill:"#778195",children:"0"}),(0,w.jsx)("text",{x:28,y:15,textAnchor:"end",fontSize:"10",fill:"#778195",children:r}),l&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("text",{x:872,y:10,textAnchor:"end",fontSize:"10",fill:"#1b64da",children:"ê³µê° ê¸ì¡ ì¶(ìµì)"}),(0,w.jsx)("text",{x:878,y:155,fontSize:"10",fill:"#1b64da",children:"0"}),(0,w.jsx)("text",{x:878,y:15,fontSize:"10",fill:"#1b64da",children:i.toLocaleString("ko-KR")})]}),t.map((t,a)=>{let n=t/r*140;return(0,w.jsx)("rect",{x:34+o*a+(o-d)/2,y:152-n,width:d,height:n,rx:"3",fill:"#9ec1f2",children:(0,w.jsx)("title",{children:`${e[a]}ë
í¬ì ${t}ê±´`})},e[a])}),c&&(0,w.jsx)("polyline",{points:c,fill:"none",stroke:"#1b64da",strokeWidth:"2.5",strokeLinejoin:"round",strokeLinecap:"round"}),l&&a.map((t,a)=>
1(0,w.jsx)("circle",{cx:34+o*a+o/2,cy:152-t/i*140,r:"3.5",fill:"#fff",stroke:"#1b64da",strokeWidth:"2",children:(0,w.jsx)("title",{children:`${e[a]}ë
ê³µê° í¬ìê¸ì¡ ${t.toLocaleString("ko-KR")}ìµì`})},`${e[a]}-${t}`)),e.map((e,t)=>(0,w.jsx)("text",{x:34+o*t+o/2,y:173,textAnchor:"middle",fontSize:"10",fill:"#778195",children:e.slice(2)},e))]})}),(0,w.jsx)("div",{className:n.basis,children:l?"ê±´ìì ê³µê° ê¸ì¡ì ê° ê³ì´ì ì¢\xb7ì° ì¶ì ë
립 ì ê·í":"ê³µê°ë í¬ìê¸ì¡ì´ ìì´ í¬ì ê±´ìë§ íì"})]})};function G(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function J(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?G(Object(a),!0).forEach(function(t){(0,v.Z)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):G(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let ee=(0,x.Z)(()=>(0,g.Z)({wrap:{width:"100%",maxWidth:"100%",minWidth:0,overflowX:"auto"},table:{width:"100%",minWidth:640,borderCollapse:"collapse",fontSize:13.5},theadRow:{backgroundColor:"#f3f4f6",position:"sticky",top:0},scrollBody:J(J({maxHeight:480,overflowY:"auto"},(0,N.x5)(!0)),{},{"&::-webkit-scrollbar":{width:8},"&::-webkit-scrollbar-thumb":{backgroundColor:"rgba(0,0,0,0.2)",borderRadius:4},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"}}),th:{textAlign:"left",padding:"10px 12px",fontSize:12,fontWeight:700,color:"#6b7280",whiteSpace:"nowrap"},thNum:{textAlign:"right"},td:{padding:"11px 12px",borderBottom:"1px solid #f3f4f6",color:"rgb(17,24,39)",whiteSpace:"nowrap"},tdNum:{textAlign:"right"},moreRow:{textAlign:"center",marginTop:10},moreLink:{color:"#2563eb",fontWeight:600,fontSize:13,textDecoration:"none",background:"none",border:"none",padding:0,cursor:"pointer",fontFamily:"inherit"}}),{name:"InvestorTable"});var et=a(72760),ea=a(6891);let en=0;async function er(){let e=Date.now();if(n&&n.expiresAt>e)return n.value;if(r)return r;if(e<en)return!1;let t=(async()=>{let e=await (0,U.zx)("/api/pdeck/tier");if("string"!=typeof e?.tier||"unknown"===e.tier)return en=Date.now()+3e3,!1;let t="db"===e.tier||"staff"===e.tier;return n={value:t,expiresAt:Date.now()+6e4},t})();r=t;try{return await t}finally{r=void 0}}let ei=(0,x.Z)(()=>
1(0,g.Z)({chartLabel:{fontSize:12.5,color:"#6b7280",marginBottom:6},listLabel:{fontSize:12.5,color:"#6b7280",marginBottom:8,marginTop:20},stageTag:{fontSize:12,fontWeight:600,padding:"2px 8px",borderRadius:99},companyLink:{color:"#106cc8 !important",textDecoration:"none"},empty:{fontSize:13.5,color:"#9ca3af",padding:"24px 0",textAlign:"center"},coInvestors:{display:"block",maxWidth:360,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},muted:{color:"#6b7280"},followTag:{fontSize:12,fontWeight:600,padding:"2px 8px",borderRadius:99,backgroundColor:"#ede9fe",color:"#6d28d9"},lockedName:{display:"flex",alignItems:"center",color:"#9ca3af",fontSize:12.5},lockedNameIcon:{fontSize:14,marginRight:6}}),{name:"InvestorPortfolio"}),el=({portfolio:e,isLoading:t})=>{let a=ei(),n=ee(),{0:r,1:i}=(0,y.useState)(!1),o=!0===function(){let{0:e,1:t}=(0,y.useState)(void 0);return(0,y.useEffect)(()=>{let e=!1;return(async()=>{let a=await er();e||t(a)})(),()=>{e=!0}},[]),e}(),d=e.list,c=(0,s.useRouter)().query.code,m=Array.isArray(c)?c[0]:c??"",u=(0,p.md)("DataframePdeckInvestor",{code:m},{enabled:(0,z.OF)(m)}),h=u.data?.name,f=u.data?.nameAlias;if(t)return(0,w.jsx)(I,{id:"portfolio",title:"í¬í¸í´ë¦¬ì¤ \xb7 í¬ìì´ë ¥",subtitle:"ì°ê° í¬ì ì§í ì¶ì´",children:(0,w.jsx)("div",{className:a.empty,children:"ë¶ë¬ì¤ë ì¤â¦"})});if(0===d.length)return(0,w.jsx)(I,{id:"portfolio",title:"í¬í¸í´ë¦¬ì¤ \xb7 í¬ìì´ë ¥",subtitle:"ì°ê° í¬ì ì§í ì¶ì´",children:(0,w.jsx)("div",{className:a.empty,children:"ë±ë¡ë í¬ì ì´ë ¥ì´ ììµëë¤."})});let x=d.length,g=new Set(d.map(z.As)).size,b=d.filter(e=>null!==e.amountNumber&&void 0!==e.amountNumber),j=l().sumBy(b,e=>e.amountNumber??0)/1e3,v=b.length>0?j/b.length:0,N=l()(d).filter(e=>!!e.investDate).groupBy(e=>e.investDate.slice(0,4)).map((e,t)=>({year:t,count:e.length})).filter(e=>/^\d{4}$/.test(e.year)).keyBy("year").value(),$=new Date().getFullYear(),k=Object.keys(N).map(Number),S=k.length>0?l().range(Math.min(...k),$+1).map(e=>({year:String(e),count:N[String(e)]?.count??0})):[],C=l()(b).filter(e=>!!e.investDate).groupBy(e=>e.investDate.slice(0,4)).mapValues(e=>l().sumBy(e,e=>e.amountNumber??0)).value(),O=S.map(e=>(0,z.QY)(C[e.year]??0)),D=l().sum(O)>0,B=(0,z._l)(d.map(e=>e.investor),h,f),T=l()(d).filter(e=>!!e.investDate).groupBy(z.As).mapValues(e=>l().minBy(e,e=>e.investDate)?.investDate??"").value(),P=l().uniqBy(d,e=>e.investDate?`${(0,z.As)(e)}|${e.investDate}`:e),A=l().orderBy(P,e=>e.investDate,"desc");return(0,w.jsxs)(I,{id:"portfolio",title:"í¬í¸í´ë¦¬ì¤ \xb7 í¬ìì´ë ¥",subtitle:"ì°ê° í¬ì ì§í ì¶ì´",children:[(0,w.jsx)(q,{items:[{label:"ì´ í¬ì íì",value:String(x),unit:"í"},{label:"ì´ í¬ì 기ì
ì",value:String(g),unit:"ê°ì¬"},{label:"ì´ ì§í ê¸ì¡",value:(0,z.D3)(j)},{label:"íê· ì§í ê¸ì¡",value:(0,z.D3)(v)}]}),S.length>0&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:a.chartLabel,style:{marginTop:16},children:D?`ì°ëë³ í¬ì ì§í (ì ì²´ ${x}ê±´ ì¤ ê¸ì¡ ê³µê° ${b.length}ê±´ 기ì¤)`:"ì°ëë³ í¬ì ì§í (í¬ì ê±´ì 기ì¤)"}),(0,w.jsx)(Q,{years:S.map(e=>e.year),counts:S.map(e=>e.count),amounts:O})]}),(0,w.jsx)("div",{className:a.listLabel,children:"í¬ì ìì¸ ë¦¬ì¤í¸"}),(0,w.jsx)("div",{className:`${n.wrap} ${r?n.scrollBody:""}`,children:(0,w.jsxs)("table",{className:n.table,children:[(0,w.jsx)("thead",{children:(0,w.jsxs)("tr",{className:n.theadRow,children:[(0,w.jsx)("th",{className:n.th,children:"í¬ì기ì
"}),(0,w.jsx)("th",{className:n.th,children:"í¬ìì¼"}),(0,w.jsx)("th",{className:n.th,children:"í¬ìë¨ê³"}),(0,w.jsx)("th",{className:`${n.th} ${n.thNum}`,children:"í¬ìê¸ì¡"}),(0,w.jsx)("th",{className:n.th,children:"ê³µëí¬ìì¬"}),(0,w.jsx)("th",{className:n.th,title:"ì´ í¬ìì¬ê° ê°ì 기ì
ì ë¤ì í¬ìí ê±´",children:"íìí¬ì"})]})}),(0,w.jsx)("tbody",{children:(r?A:A.slice(0,10)).map((e,t)=>{let r=(0,z.rX)(e.series),i=ea.U8[(0,ea.k3)(e.series)],l=(0,z.wD)((0,z.JZ)(e.investor),h,f,B).join(", "),s=!!e.investDate&&e.investDate>(T[(0,z.As)(e)]??"");return(0,w.jsxs)("tr",{children:[(0,w.jsx)("td",{className:n.td,children:e.companyCode?(0,w.jsx)(L(),{href:`/startup-db/company/${e.companyCode}`,className:a.companyLink,children:(0,w.jsx)("b",{children:e.companyName})}):e.companyName?(0,w.jsx)("b",{children:e.companyName}):(0,w.jsxs)("span",{className:a.lockedName,children:[(0,w.jsx)(V.Z,{className:a.lockedNameIcon}),"ì¤íí¸ì
DB구ë
ì ì ì©"]})}),(0,w.jsx)("td",{className:n.td,children:e.investDate}),(0,w.jsx)("td",{className:n.td,children:e.series&&(0,w.jsx)("span",{className:a.stageTag,style:{backgroundColor:i.badgeBg,color:i.badgeColor},children:r})}),(0,w.jsx)("td",{className:`${n.td} ${n.tdNum}`,children:null!==e.amountNumber&&void 0!==e.amountNumber?(0,z.D3)(e.amountNumber/1e3):e.amount||"-"}),(0,w.jsx)("td",{className:n.td,children:e.investor?l?(0,w.jsx)("span",{className:a.coInvestors,title:l,children:l}):(0,w.jsx)("span",{className:a.muted,children:"í´ë¹ ìì"}):(0,w.jsx)("span",{className:a.muted,children:"-"})}),(0,w.jsx)("td",{className:n.td,children:s?(0,w.jsx)("span",{className:a.followTag,children:"íì"}):(0,w.jsx)("span",{className:a.muted,children:"ìµì´"})})]},`${e.companyName??e.portfolioKey??"masked"}-${t}`)})})]})}),A.length>10&&(0,w.jsx)("div",{className:n.moreRow,children:(0,w.jsx)("button",{type:"button",className:n.moreLink,onClick:()=>i(e=>!e),children:r?"ì 기 â":`ì ì²´ ${A.length}ê±´ 보기 â`})}),!o&&d.some(e=>!e.companyName)&&(0,w.jsx)(et.a,{variant:"bar",message:"í¬í¸í´ë¦¬ì¤ 기ì
ëª
ì´ ê°ë ¤ì ¸ ììµëë¤ \xb7 í¬ìì¼\xb7ë¨ê³\xb7ê¸ì¡ì ê³µê°",style:{marginTop:16}})]})};function es(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function eo(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1t%2?es(Object(a),!0).forEach(function(t){(0,v.Z)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):es(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let ed=[{label:"SEED \xb7 ìë¦¬ì¦ A\xb7B",tone:"green"},{label:"ìë¦¬ì¦ C~F",tone:"blue"},{label:"í리IPO",tone:"purple"},{label:"M&A",tone:"orange"},{label:"ì ì ìì",tone:"gray"}],ec=(0,x.Z)(()=>(0,g.Z)({summary:{padding:"12px 14px",borderRadius:8,backgroundColor:"#f7f8fa",fontSize:13.5,lineHeight:1.55,color:"#25324a",marginBottom:18},stageBar:{display:"flex",height:30,borderRadius:7,overflow:"hidden"},stageSegment:{display:"flex",alignItems:"center",justifyContent:"center",fontSize:12,fontWeight:700,minWidth:2},legend:{display:"grid",gridTemplateColumns:"repeat(5, 1fr)",marginTop:10,"@media (max-width: 700px)":{gridTemplateColumns:"repeat(2, 1fr)"}},legendItem:{paddingLeft:10,borderLeft:"3px solid",fontSize:12,color:"#556173","&:nth-child(n+3)":{"@media (max-width: 700px)":{marginTop:10}}},columns:{display:"grid",gridTemplateColumns:"1fr 1.25fr",marginTop:22,paddingTop:18,borderTop:"1px solid #edf0f4","& > * + *":{marginLeft:36},"@media (max-width: 700px)":{gridTemplateColumns:"1fr","& > * + *":{marginLeft:0,marginTop:24}}},groupTitle:{fontSize:13,fontWeight:700,color:"#18243a",marginBottom:10},row:{display:"flex",alignItems:"center",marginBottom:9,fontSize:12.5},rowLabel:{width:88,flex:"0 0 auto"},track:{height:8,flex:"1 1 auto",backgroundColor:"#eef1f5",borderRadius:99,overflow:"hidden"},fill:{display:"block",height:"100%",borderRadius:99,backgroundColor:"#8fb3e8"},count:{width:38,textAlign:"right",color:"#6b7280"},ticketBars:{display:"flex",alignItems:"flex-end",height:86,borderBottom:"1px solid #dfe4eb"},ticket:{flex:"1 1 0",textAlign:"center",minWidth:0,"& + &":{marginLeft:7}},ticketBar:{display:"block",margin:"0 auto 5px",width:"100%",maxWidth:74,backgroundColor:"#a7c2e8",borderRadius:"5px 5px 0 0"},ticketCount:{fontSize:11,fontWeight:700,color:"#21304b"},ticketLabel:{fontSize:10,color:"#7b8494",marginTop:7,whiteSpace:"nowrap"},footer:{display:"grid",gridTemplateColumns:"1fr 1fr",marginTop:18,"& > * + *":{marginLeft:10}},footBox:{padding:"10px 12px",backgroundColor:"#f7f8fa",borderRadius:8,fontSize:12,color:"#7b8494"},footValue:{display:"block",marginTop:4,color:"#111827",fontSize:14,fontWeight:750},empty:{padding:"24px 0",textAlign:"center",color:"#6b7280"}}),{name:"InvestorInvestmentStyle"}),em=({portfolio:e,isLoading:t})=>{let a=ec();if(t)return(0,w.jsx)(I,{id:"invest-style",title:"í¬ì ì±í¥",subtitle:"ìµê·¼ 5ë
ì§í 기ì¤",children:(0,w.jsx)("div",{className:a.empty,children:"ë¶ë¬ì¤ë ì¤â¦"})});let n=(0,z.zT)(e.list);if(0===n.length)return(0,w.jsx)(I,{id:"invest-style",title:"í¬ì ì±í¥",subtitle:"ìµê·¼ 5ë
ì§í 기ì¤",children:(0,w.jsx)("div",{className:a.empty,children:"ìµê·¼ 5ë
ì§ê³í í¬ì ì´ë ¥ì´ ììµëë¤."})});let r=ed.map(e=>eo(eo({},e),{},{count:n.filter(t=>(0,ea.k3)(t.series)===e.tone).length})),i=l()(n).filter(e=>!!e.mainCategory).countBy("mainCategory").map((e,t)=>({label:t,count:e})).orderBy("count","desc").take(5).value(),s=n.map(e=>e.amountNumber).filter(e=>null!=e).sort((e,t)=>e-t),o=-1/0,d=[{label:"~20ìµ",max:2e9},{label:"20~50ìµ",max:5e9},{label:"50~150ìµ",max:15e9},{label:"150~300ìµ",max:3e10},{label:"300ìµ~",max:1/0}].map(e=>{let t=s.filter(t=>t>o&&t<=e.max).length;return o=e.max,eo(eo({},e),{},{count:t})}),c=l().maxBy(r,"count"),m=i[0],u=(0,z.Nh)(s),p=(0,z.K1)(n,e.list),h=p.total>0?Math.round(p.followUp/p.total*100):void 0,f=[c?.count?`ì£¼ë¡ ${c.label} ë¨ê³`:"",m?`${m.label} ë¶ì¼`:"",void 0!==u?`ì¤ì í°ì¼ ${(0,z.D3)(u/1e3)}`:"",void 0!==h?`íì ì°¸ì¬ì¨ ${h}%`:""].filter(Boolean),x=Math.max(1,...i.map(e=>e.count)),g=Math.max(1,...d.map(e=>e.count));return(0,w.jsxs)(I,{id:"invest-style",title:"í¬ì ì±í¥",subtitle:"ìµê·¼ 5ë
ì§í 기ì¤",children:[f.length>0&&(0,w.jsxs)("div",{className:a.summary,children:[(0,w.jsx)("b",{children:"í ì¤ ìì½"}),"ã",f.join(" \xb7 ")]}),(0,w.jsxs)("div",{className:a.groupTitle,children:["í¬ì ë¨ê³ ë¶í¬ ",(0,w.jsxs)("span",{style:{fontWeight:400,color:"#9aa3b2"},children:["ê±´ì ê¸°ì¤ \xb7 ì´ ",n.length,"ê±´"]})]}),(0,w.jsx)("div",{className:a.stageBar,children:r.map(e=>{if(0===e.count)return null;let t=ea.U8[e.tone??"gray"];return(0,w.jsxs)("span",{className:a.stageSegment,style:{width:`${e.count/n.length*100}%`,backgroundColor:t.bar,color:t.barText},children:[Math.round(e.count/n.length*100),"%"]},e.label)})}),(0,w.jsx)("div",{className:a.legend,children:r.map(e=>(0,w.jsxs)("div",{className:a.legendItem,style:{borderColor:ea.U8[e.tone??"gray"].bar},children:[e.label,(0,w.jsx)("br",{}),(0,w.jsxs)("b",{children:[e.count,"ê±´"]})]},e.label))}),(0,w.jsxs)("div",{className:a.columns,children:[(0,w.jsxs)("div",{children:[(0,w.jsx)("div",{className:a.groupTitle,children:"주ì í¬ì ì°ì
"}),i.map(e=>(0,w.jsxs)("div",{className:a.row,children:[(0,w.jsx)("span",{className:a.rowLabel,children:e.label}),(0,w.jsx)("span",{className:a.track,children:(0,w.jsx)("span",{className:a.fill,style:{width:`${e.count/x*100}%`}})}),(0,w.jsxs)("span",{className:a.count,children:[e.count,"ê±´"]})]},e.label))]}),(0,w.jsxs)("div",{children:[(0,w.jsxs)("div",{className:a.groupTitle,children:["í°ì¼ ì¬ì´ì¦ ë¶í¬ ",(0,w.jsxs)("span",{style:{fontWeight:400,color:"#9aa3b2"},children:["ê¸ì¡ ê³µê° ",s.length,"ê±´"]})]}),s.length>0?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:a.ticketBars,children:d.map(e=>(0,w.jsxs)("div",{className:a.ticket,children:[(0,w.jsx)("span",{className:a.ticketCount,children:e.count}),e.count>0&&(0,w.jsx)("span",{className:a.ticketBar,style:{height:`${e.count/g*66}
1px`}})]},e.label))}),(0,w.jsx)("div",{style:{display:"flex"},children:d.map(e=>(0,w.jsx)("div",{className:a.ticket,style:{marginTop:0},children:(0,w.jsx)("div",{className:a.ticketLabel,children:e.label})},e.label))})]}):(0,w.jsx)("div",{className:a.empty,children:"ê³µê°ë í¬ìê¸ì¡ì´ ììµëë¤."}),(0,w.jsxs)("div",{className:a.footer,children:[(0,w.jsxs)("div",{className:a.footBox,children:["ì¤ì í°ì¼",(0,w.jsx)("span",{className:a.footValue,children:void 0!==u?(0,z.D3)(u/1e3):"-"})]}),(0,w.jsxs)("div",{className:a.footBox,children:["íì ì°¸ì¬ì¨",(0,w.jsx)("span",{className:a.footValue,children:void 0!==h?`${p.followUp}/${p.total}ê±´ (${h}%)`:"-"})]})]})]})]})]})};function eu(e,t){return l()(e).filter(Boolean).countBy().toPairs().orderBy(([,e])=>e,"desc").take(t).map(([e])=>e).value().join(" \xb7 ")}let ep=(0,x.Z)(()=>(0,g.Z)({grid:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",border:"1px solid #e6eaf0",borderRadius:10,overflow:"hidden","@media (max-width: 700px)":{gridTemplateColumns:"1fr"}},item:{padding:"14px 16px",minWidth:0,borderRight:"1px solid #eef1f5","&:nth-child(n+4)":{borderTop:"1px solid #eef1f5"},"@media (max-width: 700px)":{borderRight:0,"& + &":{borderTop:"1px solid #eef1f5"}}},label:{fontSize:12,color:"#7b8494"},value:{marginTop:6,fontSize:18,lineHeight:1.25,fontWeight:750,color:"#0f1e3d",wordBreak:"keep-all"},empty:{padding:"24px 0",textAlign:"center",color:"#6b7280",fontSize:13.5}}),{name:"InvestorActivitySummary"}),eh=({portfolio:e,isLoading:t})=>{let a=ep();if(t)return(0,w.jsx)(I,{id:"activity-summary",title:"í¬ì íë ìì½",subtitle:"ìµê·¼ 5ë
ì§í 기ì¤",children:(0,w.jsx)("div",{className:a.empty,children:"ë¶ë¬ì¤ë ì¤â¦"})});let n=(0,z.zT)(e.list);if(0===n.length)return(0,w.jsx)(I,{id:"activity-summary",title:"í¬ì íë ìì½",subtitle:"ìµê·¼ 5ë
ì§í 기ì¤",children:(0,w.jsx)("div",{className:a.empty,children:"ìµê·¼ 5ë
í¬ì ì´ë ¥ì´ ììµëë¤."})});let r=l().max(n.map(e=>e.investDate).filter(Boolean)),i=eu(n.map(e=>(0,z.rX)(e.series)).filter(e=>"-"!==e),2),s=eu(n.map(e=>e.mainCategory),2),o=n.map(e=>e.amountNumber).filter(e=>null!=e),d=(0,z.K1)(n,e.list),c=[];r&&c.push({label:"ìµê·¼ í¬ì",value:r}),i&&c.push({label:"주ì ë¨ê³",value:i}),o.length>0&&c.push({label:"í°ì¼ ì¬ì´ì¦",value:`${(0,z.D3)(Math.min(...o)/1e3)} ~ ${(0,z.D3)(Math.max(...o)/1e3)}`}),s&&c.push({label:"주ì ì°ì
",value:s});let m=Math.round(n.length/5*10)/10,u=new Set(n.map(e=>e.investDate.slice(0,4))).size;return c.push({label:"ì°íê· í¬ì \xb7 í¬ì íëë¥ ",value:`${m}ê±´ \xb7 ${u}/5ë
(${20*u}%)`}),d.total>0&&c.push({label:"íì ì°¸ì¬ì¨",value:`${d.followUp}/${d.total}ê±´ (${Math.round(d.followUp/d.total*100)}%)`}),(0,w.jsx)(I,{id:"activity-summary",title:"í¬ì íë ìì½",subtitle:"ìµê·¼ 5ë
ì§í 기ì¤",children:(0,w.jsx)("div",{className:a.grid,children:c.map(e=>(0,w.jsxs)("div",{className:a.item,children:[(0,w.jsx)("div",{className:a.label,children:e.label}),(0,w.jsx)("div",{className:a.value,children:e.value})]},e.label))})})};var ef=a(46643),ex=a(25689),eg=a(80910),eb=a(59757);function ej(e){var t;let a=(0,z.R0)(e.birthYmd),n=(0,eg.Hy)(e.registryEvent);return{name:e.name,birthYear:a,age:void 0!==a?(0,z.e$)(a):void 0,zodiac:void 0!==a?(0,z.Fg)(a):void 0,position:e.position,positionVariant:"ëíì´ì¬"===(t=e.position)||"ì¬ë´ì´ì¬"===t?"default":"ì¬ì¸ì´ì¬"===t?"out":"etc",history:(0,eg.vm)(n.events),externalCompanies:(0,eg.zi)(e.registryOfficerData?.registryOfficer,e.corpNo)}}let ev={default:"#2563eb",out:"#7c3aed",etc:"#6b7280"},ey=["íì¬ ìì","과거 ìì"],eN=(0,x.Z)(()=>(0,g.Z)({avatarSm:{width:26,height:26,borderRadius:"50%",backgroundColor:"#eff6ff",color:"#2563eb",fontSize:12,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",flex:"0 0 auto"},block:{marginTop:4},blockHead:{display:"flex",alignItems:"center",fontSize:13.5,fontWeight:700,marginBottom:8,color:"rgb(17,24,39)"},blockHeadPast:{color:"#6b7280"},blockHeadLabel:{minWidth:0},countBadge:{display:"inline-block",marginLeft:"auto",padding:"1px 8px",borderRadius:14,backgroundColor:"#eff6ff",color:"#2563eb",fontSize:11,fontWeight:700,flexShrink:0},accHead:{display:"flex",alignItems:"center",width:"100%",padding:"11px 14px",border:"none",backgroundColor:"transparent",curs
1or:"pointer",borderBottom:"1px solid #f3f4f6",fontSize:13.5,textAlign:"left"},nm:{marginLeft:9,fontWeight:600,color:"rgb(17,24,39)"},meta:{marginLeft:9,fontSize:12,color:"#9ca3af"},pos:{marginLeft:"auto",fontSize:12,fontWeight:600},chevron:{color:"#9ca3af",transition:"transform 0.15s",fontSize:18},chevronOpen:{transform:"rotate(180deg)"},accBody:{padding:"6px 14px 14px",borderBottom:"1px solid #f3f4f6"},expandedList:{maxHeight:480,overflowY:"auto","&::-webkit-scrollbar":{width:8},"&::-webkit-scrollbar-thumb":{backgroundColor:"#9ca3af",borderRadius:4},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"}},moreRow:{marginTop:8,textAlign:"center"},moreButton:{padding:"4px 8px",border:"none",backgroundColor:"transparent",color:"#106cc8",fontSize:13,fontWeight:500,fontFamily:"inherit",cursor:"pointer"},panels:{display:"flex",alignItems:"flex-start",margin:"0 -8px","@media (max-width: 900px)":{display:"block",margin:0}},panelColumn:{padding:"0 8px",boxSizing:"border-box",minWidth:0,"@media (max-width: 900px)":{padding:0}},panelCurrent:{flex:"0 0 60%",maxWidth:"60%","@media (max-width: 900px)":{flex:"1 1 auto",maxWidth:"100%"}},panelPast:{flex:"0 0 40%",maxWidth:"40%","@media (max-width: 900px)":{flex:"1 1 auto",maxWidth:"100%"}},panelSolo:{flex:"1 1 auto",maxWidth:"100%"},panelHiddenOnNarrow:{"@media (max-width: 900px)":{display:"none"}},panelTabs:{display:"none","@media (max-width: 900px)":{display:"flex",flexWrap:"wrap",marginBottom:12}},panelTab:{marginRight:8,marginBottom:8,padding:"6px 16px",borderRadius:20,border:"1px solid #d0d7e6",backgroundColor:"#fff",color:"rgba(0,0,0,0.6)",fontSize:13,fontWeight:600,fontFamily:"inherit",cursor:"pointer"},panelTabActive:{backgroundColor:"#106cc8",borderColor:"#106cc8",color:"#fff"},empty:{fontSize:13.5,color:"#9ca3af",padding:"24px 0",textAlign:"center"}}),{name:"InvestorExecutives"}),ew=({exec:e,isCurrentPanel:t})=>{let a=eN(),{0:n,1:r}=(0,y.useState)(!1),{tenures:i,orphanEndEvents:l,unclassifiedEvents:s}=e.history,o=i.length>0||l.length>0||s.length>0||e.externalCompanies.length>0;return(0,w.jsxs)("div",{children:[(0,w.jsxs)("button",{type:"button",className:a.accHead,onClick:o?()=>r(e=>!e):void 0,children:[(0,w.jsx)("span",{className:a.avatarSm,children:e.name?e.name[0]:""}),(0,w.jsx)("span",{className:a.nm,children:e.name}),void 0!==e.birthYear&&(0,w.jsxs)("span",{className:a.meta,children:[e.birthYear,"ë
ì(",e.age,"ì¸)"]}),(0,w.jsx)("span",{className:a.pos,style:{color:ev[e.positionVariant]},children:e.position}),o&&(0,w.jsx)(ef.Z,{className:`${a.chevron} ${n?a.chevronOpen:""}`})]}),n&&o&&(0,w.jsx)("div",{className:a.accBody,children:(0,w.jsx)(ex.k,{ownLabel:"ì´ ë²ì¸ ì¬ì",externalLabel:"í ë²ì¸ ë±ê¸°",tenures:i,orphanEndEvents:l,unclassifiedEvents:s,externalCompanies:e.externalCompanies,isCurrentPanel:t,renderCompanyName:e=>e.name})})]})},e$=({label:e,execs:t,isCurrentPanel:a,past:n})=>{let r=eN(),{0:i,1:l}=(0,y.useState)(!1),s=i?t:t.slice(0,5);return 0===t.length?null:(0,w.jsxs)("div",{className:r.block,children:[(0,w.jsxs)("div",{className:`${r.blockHead} ${n?r.blockHeadPast:""}`,children:[(0,w.jsx)("span",{className:r.blockHeadLabel,children:e}),(0,w.jsx)("span",{className:r.countBadge,children:t.length})]}),(0,w.jsx)("div",{className:i?r.expandedList:void 0,children:s.map((e,t)=>(0,w.jsx)(ew,{exec:e,isCurrentPanel:a},`${e.name??"masked"}-${t}`))}),t.length>5&&(0,w.jsx)("div",{className:r.moreRow,children:(0,w.jsx)("button",{type:"button",className:r.moreButton,onClick:()=>l(!i),children:i?"ì 기":`ì 체보기 (${t.length}ëª
)`})})]})},ek=({officerList:e,isLoading:t})=>{let a=eN(),n=void 0!==e&&!1!==e.isMasked,{0:r,1:i}=(0,y.useState)("íì¬ ìì");if(t)return(0,w.jsx)(I,{id:"executives",title:"ì´ì¬ì§",subtitle:"ë²ì¸ ë±ê¸° ì´ë ¥ \xb7 ìì íí©",children:(0,w.jsx)("div",{className:a.empty,children:"ë¶ë¬ì¤ë ì¤â¦"})});if(n)return(0,w.jsx)(I,{id:"executives",title:"ì´ì¬ì§",subtitle:"ë²ì¸ ë±ê¸° ì´ë ¥ \xb7 ìì íí©",children:(0,w.jsx)(eb.f,{})});let l=e?.isMasked===!1?e.currentExecutiveInfoList.map(ej):[],s=e?.isMasked===!1?e.deletedExecutiveInfoList.map(ej):[];if(0===l.length&&0===s.length)return(0,w.jsx)(I,{id:"executives",title:"ì´ì¬ì§",subtitle:"ë²ì¸ ë±ê¸° ì´ë ¥ \xb7 ìì íí©",children:(0,w.jsx)("div",{className:a.empty,children:"ë±ê¸°ìì ì 보를 ìì§ ì¡°ííì§ ëª»íìµëë¤."})});let o=l.length>0,d=s.length>0,c=o&&d,m=[a.panelColumn,c?a.panelCurrent:a.panelSolo,c&&"íì¬ ìì"!==r?a.panelHiddenOnNarrow:""].filter(
1Boolean).join(" "),u=[a.panelColumn,c?a.panelPast:a.panelSolo,c&&"과거 ìì"!==r?a.panelHiddenOnNarrow:""].filter(Boolean).join(" ");return(0,w.jsxs)(I,{id:"executives",title:"ì´ì¬ì§",subtitle:"ë²ì¸ ë±ê¸° ì´ë ¥ \xb7 ìì íí©",children:[c&&(0,w.jsx)("div",{className:a.panelTabs,role:"group","aria-label":"ìì 구ë¶",children:ey.map(e=>(0,w.jsx)("button",{type:"button",className:e===r?`${a.panelTab} ${a.panelTabActive}`:a.panelTab,"aria-pressed":e===r,onClick:()=>i(e),children:e},e))}),(0,w.jsxs)("div",{className:a.panels,children:[o&&(0,w.jsx)("div",{className:m,children:(0,w.jsx)(e$,{label:"íì¬ ìì",execs:l,isCurrentPanel:!0})}),d&&(0,w.jsx)("div",{className:u,children:(0,w.jsx)(e$,{label:"과거 ìì",execs:s,isCurrentPanel:!1,past:!0})})]})]})};function eS(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function eC(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?eS(Object(a),!0).forEach(function(t){(0,v.Z)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):eS(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let eO=(e,t,a)=>{let n=Math.max(1,Math.ceil(e.length/a)),r=Math.min(Math.max(0,t),n-1),i=r*a;return{items:e.slice(i,i+a),page:r,totalPages:n,start:0===e.length?0:i+1,end:Math.min(i+a,e.length)}},eD=(0,x.Z)(()=>(0,g.Z)({block:{marginTop:22,paddingTop:18,borderTop:"1px solid #e9edf2"},title:{fontSize:14,fontWeight:750,color:"#172238",marginBottom:5},sub:{fontSize:12,color:"#8a94a4",marginBottom:12},table:{width:"100%",borderCollapse:"collapse",fontSize:13},th:{padding:"9px 10px",backgroundColor:"#f7f8fa",color:"#718096",textAlign:"left"},td:{padding:"10px",borderBottom:"1px solid #edf0f4"},num:{textAlign:"right"},tableWrap:{overflowX:"auto",minHeight:401,"@media (max-width: 650px)":{minHeight:471}},link:{color:"#106cc8 !important",textDecoration:"none",fontWeight:650},cards:{display:"grid",gridTemplateColumns:"1fr 1fr",minHeight:194,"@media (max-width: 650px)":{gridTemplateColumns:"1fr",minHeight:398}},peer:{padding:"12px 14px",border:"1px solid #e5e9ef",borderRadius:8,"&:nth-child(even)":{marginLeft:10},"&:nth-child(n+3)":{marginTop:10},"@media (max-width: 650px)":{"&:nth-child(even)":{marginLeft:0},"& + &":{marginTop:10}}},peerHead:{display:"flex",justifyContent:"space-between",fontSize:13},track:{display:"block",marginTop:9,height:6,borderRadius:99,backgroundColor:"#eef1f5",overflow:"hidden"},fill:{display:"block",height:"100%",backgroundColor:"#7a54d8",borderRadius:99},relationTrack:{display:"flex",width:112,height:7,borderRadius:99,overflow:"hidden",backgroundColor:"#eef1f5"},preFill:{display:"block",height:"100%",backgroundColor:"#2f6bdf"},postFill:{display:"block",height:"100%",backgroundColor:"#8a4fe3"},relationText:{display:"block",marginTop:5,fontSize:11,color:"#6b7280",whiteSpace:"nowrap"},pagination:{display:"flex",alignItems:"center",justifyContent:"center",marginTop:14},pageButton:{minWidth:54,height:32,padding:"0 12px",border:"1px solid #dbe2ea",borderRadius:7,backgroundColor:"#fff",color:"#2563eb",cursor:"pointer",fontSize:13,"&:focus-visible":{outline:"2px solid #2563eb",outlineOffset:2},"&:disabled":{backgroundColor:"#f7f8fa",color:"#a8b0bd",cursor:"default"}},pageRange:{minWidth:142,margin:"0 10px",color:"#5f6b7a",fontSize:12,textAlign:"center",whiteSpace:"nowrap"},empty:{padding:"18px 0",color:"#6b7280",fontSize:13}}),{name:"InvestorInvestmentNetwork"}),eB=({label:e,listId:t,page:a,totalPages:n,start:r,end:i,total:l,onPageChange:s})=>{let o=eD();return n<=1?null:(0,w.jsxs)("nav",{className:o.pagination,"aria-label":`${e} íì´ì§`,children:[(0,w.jsx)("button",{className:o.pageButton,type:"button","aria-label":`${e} ì´ì íì´ì§`,"aria-controls":t,disabled:0===a,onClick:()=>s(a-1),children:"ì´ì "}),(0,w.jsxs)("span",{className:o.pageRange,"aria-live":"polite","aria-atomic":"true",children:[r,"â",i," / ì ì²´ ",l,"ê°ì¬"]}),(0,w.jsx)("button",{className:o.pageButton,type:"button","aria-label":`${e} ë¤ì íì´ì§`,"aria-controls":t,disabled:a===n-1,onClick:()=>s(a+1),children:"ë¤ì"})]})},eI=({investorName:e,selfCode:t,chain:a,coInvestor:n,chainLoading:r,coLoading:i,chainError:l,coError:s})=>{let o=eD(),{0:d,1:c}=(0,y.useState)(0),{0:m,1:u}=(0,y.useState)(0);(0,y.useEffect)(()=>{c(0),u(0)},[t]);let p=(0,z.iU)(t,e,a?.preInvestList??[],a?.postInvestList??[]),h=(0,z.Nw)(a?.preInvestList??[],p),f=(0,z.Nw)(a?.postInvestList??[],p),x=new Map;for(let e of h){let t=e.code||e.name;x.set(t,eC(eC({},e),{},{preCount:e.count,postCount:x.get(t)?.postCount??0}))}for(let e of f){let t=e.code||e.name,a=x.get(t);x.set(t,eC(eC({},e),{}
1,{preCount:a?.preCount??0,postCount:e.count}))}let g=Array.from(x.values()).sort((e,t)=>Math.max(t.preCount,t.postCount)-Math.max(e.preCount,e.postCount)),b=(0,z.Nw)(n?.list??[],p).sort((e,t)=>t.count-e.count),j=Math.max(1,...b.map(e=>e.count)),v=eO(g,d,8),N=eO(b,m,6);return(0,w.jsxs)(I,{id:"investment-network",title:"í¬ìì¬ ë¤í¸ìí¬",subtitle:"ì í í¬ì \xb7 ê³µë í¬ì ê´ê³",children:[(0,w.jsx)(q,{items:[{label:"ì í í¬ì ê´ê³",value:String(h.length),unit:"ê°ì¬"},{label:"íí í¬ì ê´ê³",value:String(f.length),unit:"ê°ì¬"},{label:"ê³µë í¬ì ê´ê³",value:String(b.length),unit:"ê°ì¬"}]}),(0,w.jsxs)("div",{className:o.block,children:[(0,w.jsx)("div",{className:o.title,children:"ì í \xb7 íí í¬ìì¬"}),(0,w.jsx)("div",{className:o.sub,children:"ê°ì 기ì
ìì ì´ í¬ìì¬ë³´ë¤ ì\xb7ë¤ ë¼ì´ëì ì°¸ì¬í íìì ê´ê³ ë°©í¥"}),l?(0,w.jsx)("div",{className:o.empty,children:"ì í í¬ì ê´ê³ë¥¼ ë¶ë¬ì¤ì§ 못íìµëë¤."}):r?(0,w.jsx)("div",{className:o.empty,children:"ë¶ë¬ì¤ë ì¤â¦"}):0===g.length?(0,w.jsx)("div",{className:o.empty,children:"ë±ë¡ë ì í í¬ì ê´ê³ê° ììµëë¤."}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:o.tableWrap,id:"investment-network-relations",children:(0,w.jsxs)("table",{className:o.table,children:[(0,w.jsx)("thead",{children:(0,w.jsxs)("tr",{children:[(0,w.jsx)("th",{className:o.th,children:"í¬ìì¬"}),(0,w.jsx)("th",{className:`${o.th} ${o.num}`,children:"ì í"}),(0,w.jsx)("th",{className:`${o.th} ${o.num}`,children:"íí"}),(0,w.jsx)("th",{className:o.th,children:"ê´ê³ ë°©í¥"})]})}),(0,w.jsx)("tbody",{children:v.items.map(e=>{let t=e.preCount+e.postCount,a=t>0?e.preCount/t*100:0,n=t>0?e.postCount/t*100:0;return(0,w.jsxs)("tr",{children:[(0,w.jsx)("td",{className:o.td,children:e.code?(0,w.jsx)(L(),{className:o.link,href:`/startup-db/investor/${e.code}`,children:e.name}):e.name}),(0,w.jsxs)("td",{className:`${o.td} ${o.num}`,children:[e.preCount,"í"]}),(0,w.jsxs)("td",{className:`${o.td} ${o.num}`,children:[e.postCount,"í"]}),(0,w.jsxs)("td",{className:o.td,children:[(0,w.jsxs)("span",{className:o.relationTrack,title:`ì í ${e.preCount}í \xb7 íí ${e.postCount}í`,children:[(0,w.jsx)("span",{className:o.preFill,style:{width:`${a}%`}}),(0,w.jsx)("span",{className:o.postFill,style:{width:`${n}%`}})]}),(0,w.jsx)("span",{className:o.relationText,children:e.preCount===e.postCount?"ê· í":e.preCount>e.postCount?"ì í ì°ì¸":"íí ì°ì¸"})]})]},e.code||e.name)})})]})}),(0,w.jsx)(eB,{label:"ì í\xb7íí í¬ìì¬",listId:"investment-network-relations",page:v.page,totalPages:v.totalPages,start:v.start,end:v.end,total:g.length,onPageChange:c})]})]}),(0,w.jsxs)("div",{className:o.block,children:[(0,w.jsx)("div",{className:o.title,children:"ê³µë í¬ìì¬"}),(0,w.jsx)("div",{className:o.sub,children:"API ì ê³µ ë²ì: í¬ìì¬ë³ ëì¼ ë¼ì´ë ê³µë ì°¸ì¬ íì"}),s?(0,w.jsx)("div",{className:o.empty,children:"ê³µë í¬ì ê´ê³ë¥¼ ë¶ë¬ì¤ì§ 못íìµëë¤."}):i?(0,w.jsx)("div",{className:o.empty,children:"ë¶ë¬ì¤ë ì¤â¦"}):0===b.length?(0,w.jsx)("div",{className:o.empty,children:"ë±ë¡ë ê³µë í¬ì ê´ê³ê° ììµëë¤."}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:o.cards,id:"investment-network-peers",children:N.items.map(e=>(0,w.jsxs)("div",{className:o.peer,"data-network-peer":"true",children:[(0,w.jsxs)("div",{className:o.peerHead,children:[e.code?(0,w.jsx)(L(),{className:o.link,href:`/startup-db/investor/${e.code}`,children:e.name}):(0,w.jsx)("b",{children:e.name}),(0,w.jsxs)("b",{children:[e.count,"í"]})]}),(0,w.jsx)("span",{className:o.track,children:(0,w.jsx)("span",{className:o.fill,style:{width:`${e.count/j*100}%`}})})]},e.code||e.name))}),(0,w.jsx)(eB,{label:"ê³µë í¬ìì¬",listId:"investment-network-peers",page:N.page,totalPages:N.totalPages,start:N.start,end:N.end,total:b.length,onPageChange:u})]})]})]})},ez=(0,x.Z)(()=>(0,g.Z)({wrap:{border:"1px solid #e5e7eb",borderRadius:10,padding:"14px 16px"},legend:{display:"flex",justifyContent:"flex-end",gap:16,marginTop:6},legendItem:{display:"flex",alignItems:"center",gap:5,fontSize:11.5,color:"#6b7280"},swatch:{width:9,height:9,borderRadius:2}}),{name:"InvestorBarChart"}),eT=({categories:e,series:t,ariaLabel:a,unit:n})=>{let r=ez(),i=Math.max(1,...t.flatMap(e=>e.values)),l=774/e.length,s=(l-4*(t.length+1))/t.length,o=function(e,t=4){let a=Math.max(1,function(e){let t=Math.floor(Math.log10(e)),a=e/10**t;return(a<1.5?1:a<3?2:a<7?5:10)*10**t}(e/t||1)),n=Math.ceil(e/a)*a,r=[];for(let e=0;e<=n+a/2;e+=a)r.push(Math.round(e));return r}(i),d=o[o.length-1],c=e=>170-e/d*154;return(0,w.jsxs)("div",{className:r.wrap,children:[(0,w.jsxs)("svg",{viewBox:"0 0 840 200",width:"100%",role:"img","aria-label":a,children:[(0,w.jsx)("g",{stroke:"#f3f4f6",children:o.slice(1).map(e=>(0,w.jsx)("line",{x1:46,y1:c(e),x2:820,y2:c(e)},e))}),(0,w.jsx)("line",{x1:46,y1:170,x2:820,y2:170,stroke:"#e5e7eb"}),(0,w.jsx)("g",{fill:"#9ca3af",fontSize:"10",textAnchor:"end",children:o.map(e=>
1(0,w.jsx)("text",{x:40,y:c(e)+3,children:e.toLocaleString("ko-KR")},e))}),e.map((e,a)=>{let n=46+l*a;return(0,w.jsxs)("g",{children:[t.map((e,t)=>{let r=e.values[a]??0,i=n+4*(t+1)+s*t,l=c(r);return(0,w.jsxs)("g",{children:[(0,w.jsx)("rect",{x:i,y:l,width:s,height:170-l,rx:2.5,fill:e.highlightColors?.[a]??e.color}),(0,w.jsx)("text",{x:i+s/2,y:l-5,fontSize:"10.5",fontWeight:700,fill:"#374151",textAnchor:"middle",children:r.toLocaleString("ko-KR")})]},e.label)}),(0,w.jsx)("text",{x:n+l/2,y:192,fontSize:"10",fill:"#9ca3af",textAnchor:"middle",children:e})]},e)})]}),t.length>1&&(0,w.jsx)("div",{className:r.legend,children:t.map(e=>(0,w.jsxs)("span",{className:r.legendItem,children:[(0,w.jsx)("span",{className:r.swatch,style:{backgroundColor:e.color}}),e.label,n?` (${n})`:""]},e.label))})]})};function eL(e){return l()(e).groupBy("asctId").map(e=>l().orderBy(e,["baseYear","accountingYm"],["desc","desc"])[0]).filter(e=>void 0!==e).value()}function eP(e,t){let a=eL(e),n=new Map(a.map(e=>[e.asctId,e])),r=new Set,i=[];return t.forEach((e,t)=>{let a=r.has(e.asctId)?void 0:n.get(e.asctId);a&&r.add(e.asctId),i.push({key:a?e.asctId:`${e.asctId}:profile:${t}`,name:e.asctName||a?.fundName||"-",financial:a,profile:e})}),a.forEach(e=>{r.has(e.asctId)||i.push({key:`${e.asctId}:financial`,name:e.fundName||"-",financial:e})}),l().orderBy(i,[e=>e.profile?.registrationDate||"",e=>e.name],["desc","asc"])}function eA(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function eW(e){return e>0?(0,z.D3)(e):"-"}let eR=(0,x.Z)(()=>
1(0,g.Z)({chartLabel:{fontSize:12.5,color:"#6b7280",marginBottom:6},empty:{fontSize:13.5,color:"#9ca3af",padding:"24px 0",textAlign:"center"},basisNote:{fontSize:12,lineHeight:1.5,color:"#6b7280"}}),{name:"InvestorRecentActivity"});function eM(e){return null===e?"-":(0,z.D3)(e/1e3)}function eE(e){return(0,z.lm)(e)||"-"}let eZ=({portfolio:e,fundFinancialList:t,associationFundInfoList:a,dryPowderTotal:n,hasDisclosure:r,isLoading:i})=>{let s=eR(),o=ee(),d=e.list,c=t??[],m=eL(c),u=eP(c,a??[]),p=(0,z.Zd)(t,n,r)||(a?.length??0)>0,h=p?"ëë¼ì´íì°ë":"ìµê·¼ í¬ì íë",f=void 0!==n?[{label:"ìì¬ í¬ì ì¬ë ¥",value:(0,z.D3)(n/1e3)}]:[],x=m.filter(e=>null!==e.totalAssets),g=m.filter(e=>null!==e.paidInCapital),b=[...f,...x.length>0?[{label:"ê³µì ì´ìì° í©ê³",value:(0,z.D3)(l().sumBy(x,e=>e.totalAssets??0)/1e3)}]:[],...u.length>0?[{label:"ê³µì ì¡°í©",value:String(u.length),unit:"ê°"}]:[],...g.length>0?[{label:"ë©ì
ì본 í©ê³",value:(0,z.D3)(l().sumBy(g,e=>e.paidInCapital??0)/1e3)}]:[]],j=l().sortBy(l().uniq(m.map(e=>e.accountingYm||String(e.baseYear)))),y=0===j.length?void 0:1===j.length?`ìë ì¡°í©ë³ ì¬ë¬´í 기ì¤ì ${j[0]}`:`ìë ì¡°í©ë³ ì¬ë¬´í 기ì¤ì ${j[0]}~${j[j.length-1]}(ì¡°í©ë§ë¤ ë¤ë¦)`,N=l().compact([y,void 0!==n?"ì°ì¶ ë°©ìê³¼ íì \xb7ì¶ì 구ë¶ì 미ì ê³µ":void 0,m.length>0?"ì¡°í©ë³ ìì¬í¬ìì¬ë ¥ì ì ê³µëì§ ììµëë¤":void 0]),$=N.length>0?`â» ${N.join(" \xb7 ")}`:void 0,k=function(e){let t=new Date,a=t.getFullYear(),n=Math.ceil((t.getMonth()+1)/3),r=[];for(let e=0;e<8;e+=1)r.unshift(`${a}-Q${n}`),0==(n-=1)&&(n=4,a-=1);return r}(0),S=l().groupBy(d,e=>(function(e){let t=/^(\d{4})-(\d{2})/.exec(e);if(!t)return;let a=Math.ceil(Number(t[2])/3);return`${t[1]}-Q${a}`})(e.investDate)),C=k.map(e=>{let t=S[e]??[];return{key:e,label:function(e){let t=/^(\d{4})-Q(\d)$/.exec(e);return t?`${t[1].slice(2)}.Q${t[2]}`:e}(e),count:t.length,amountThousand:l().sumBy(t,e=>e.amountNumber??0)/1e3}}),O=C.slice(4),D=C.slice(0,4),B=l().sumBy(O,"count"),T=l().sumBy(D,"count"),L=l().sumBy(O,"amountThousand"),P=T>0?Math.round((B-T)/T*100):void 0,A=l().sumBy(C,"count")>0,W=l().orderBy(C,e=>(function(e){let t=/^(\d{4})-Q([1-4])$/.exec(e);return t?10*Number(t[1])+Number(t[2]):0})(e.key),"desc");return i?(0,w.jsx)(I,{id:"dry-powder",title:"ëë¼ì´íì°ë",children:(0,w.jsx)("div",{className:s.empty,children:"ì§ê³ ì¤â¦"})}):p||A?(0,w.jsxs)(I,{id:"dry-powder",title:h,subtitle:p?"ì¡°í©ë³ ìµì ì¬ë¬´ ê³µì(DIVA) 기ì¤":"ë¶ê¸°ë³ í¬ì ê±´ì \xb7 ê¸ì¡",right:A?`ìµê·¼ 8ê° ë¶ê¸°`:void 0,children:[b.length>0&&(0,w.jsx)(q,{items:b}),!0===r&&(0,w.jsx)(et.a,{variant:"bar",message:"ì¡°í©ë³ ì¬ë¬´ ê³µìì ëë¼ì´íì°ë ê¸ì¡ì´ ê°ë ¤ì ¸ ììµëë¤."}),$&&(0,w.jsx)("div",{className:s.basisNote,style:{marginTop:b.length>0?10:0},children:$}),u.length>0&&(0,w.jsx)("div",{className:o.wrap,style:{marginTop:b.length>0||$?16:0},children:(0,w.jsxs)("table",{className:o.table,style:{minWidth:1120},children:[(0,w.jsx)("thead",{children:(0,w.jsxs)("tr",{className:o.theadRow,children:[(0,w.jsx)("th",{className:o.th,children:"ì¡°í©ëª
"}),(0,w.jsx)("th",{className:`${o.th} ${o.thNum}`,children:"ê²°ì±ê·ëª¨"}),(0,w.jsx)("th",{className:o.th,children:"ê²°ì±ì¼"}),(0,w.jsx)("th",{className:o.th,children:"ë§ê¸°ì¼"}),(0,w.jsx)("th",{className:o.th,children:"기ì¤ì"}),(0,w.jsx)("th",{className:`${o.th} ${o.thNum}`,children:"ê³µì ì´ìì°"}),(0,w.jsx)("th",{className:`${o.th} ${o.thNum}`,children:"ì ëìì°"}),(0,w.jsx)("th",{className:`${o.th} ${o.thNum}`,children:"ì°½ì
í¬ììì°"}),(0,w.jsx)("th",{className:`${o.th} ${o.thNum}`,children:"ë©ì
ì본"}),(0,w.jsx)("th",{className:`${o.th} ${o.thNum}`,children:"ì´ìµìì¬ê¸"})]})}),(0,w.jsx)("tbody",{children:u.map(e=>{var t;return(0,w.jsxs)("tr",{children:[(0,w.jsx)("td",{className:o.td,children:e.name}),(0,w.jsx)("td",{className:`${o.td} ${o.tdNum}`,children:void 0===(t=e.profile?.formationTotalAmount)?"-":(0,z.D3)(t/1e3)}),(0,w.jsx)("td",{className:o.td,children:eE(e.profile?.registrationDate)}),(0,w.jsx)("td",{className:o.td,children:eE(e.profile?.maturityDate)}),(0,w.jsx)("td",{className:o.td,children:e.financial?e.financial.accountingYm||String(e.financial.baseYear):"-"}),(0,w.jsx)("td",{className:`${o.td} ${o.tdNum}`,children:e.financial?eM(e.financial.totalAssets):"-"}),(0,w.jsx)("td",{className:`${o.td} ${o.tdNum}`,children:e.financial?eM(e.financial.currentAssets):"-"}),(0,w.jsx)("td",{className:`${o.td} ${o.tdNum}`,children:e.financial?eM(e.financial.startupInvestAssets):"-"}),(0,w.jsx)("td",{className:`${o.td} ${o.tdNum}`,children:e.financial?eM(e.financial.paidInCapital):"-"}),(0,w.jsx)("td",{className:`${o.td} ${o.tdNum}`,children:e.financial?eM(e.financial.retainedEarnings):"-"})]},e.key)})})]})}),A&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{style:{marginTop:20,marginBottom:16},children:(0,w.jsx)(q,{items:[{label:"ìµê·¼ 12ê°ì í¬ì ê±´ì",value:String(B),unit:"ê±´"},function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1t%2?eA(Object(a),!0).forEach(function(t){(0,v.Z)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):eA(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}({label:"ìµê·¼ 12ê°ì ìë ¤ì§ í¬ìê¸ì¡",value:eW(L)},void 0!==P?{delta:`ì§ì 12ê°ì ëë¹ ${P>=0?"+":""}${P}%`,deltaUp:P>=0}:{})]})}),(0,w.jsx)("div",{className:s.chartLabel,children:"ë¶ê¸°ë³ í¬ì ê±´ì"}),(0,w.jsx)(eT,{categories:C.map(e=>e.label),series:[{label:"í¬ì ê±´ì",color:"#93c5fd",values:C.map(e=>e.count)}],ariaLabel:"ë¶ê¸°ë³ í¬ì ê±´ì ì°¨í¸"}),(0,w.jsx)("div",{className:o.wrap,style:{marginTop:20},children:(0,w.jsxs)("table",{className:o.table,children:[(0,w.jsx)("thead",{children:(0,w.jsxs)("tr",{className:o.theadRow,children:[(0,w.jsx)("th",{className:o.th,children:"ë¶ê¸°"}),(0,w.jsx)("th",{className:`${o.th} ${o.thNum}`,children:"í¬ìê±´ì"}),(0,w.jsx)("th",{className:`${o.th} ${o.thNum}`,children:"ìë ¤ì§ í¬ìê¸ì¡"})]})}),(0,w.jsx)("tbody",{children:W.map(e=>(0,w.jsxs)("tr",{children:[(0,w.jsx)("td",{className:o.td,children:e.label}),(0,w.jsxs)("td",{className:`${o.td} ${o.tdNum}`,children:[e.count,"ê±´"]}),(0,w.jsx)("td",{className:`${o.td} ${o.tdNum}`,children:eW(e.amountThousand)})]},e.key))})]})})]})]}):(0,w.jsx)(I,{id:"dry-powder",title:h,subtitle:"ë¶ê¸°ë³ í¬ì ê±´ì \xb7 ê¸ì¡",children:(0,w.jsx)("div",{className:s.empty,children:"ê³µìë ì¡°í© ì¬ë¬´ ë° ìµê·¼ í¬ì ì´ë ¥ì´ ììµëë¤."})})};var eF=a(68620),eH=a(96596);let eY=(0,x.Z)(()=>
1(0,g.Z)({chartLabel:{fontSize:12.5,color:"#6b7280",marginBottom:6},empty:{fontSize:13.5,color:"#9ca3af",padding:"24px 0",textAlign:"center"},pagerRow:{minHeight:28,display:"flex",alignItems:"center",justifyContent:"center",flexWrap:"wrap",marginTop:10},pageRange:{margin:"2px 6px",fontSize:12.5,color:"#6b7280",whiteSpace:"nowrap"},pagerButton:{display:"inline-flex",alignItems:"center",margin:"2px 6px",padding:"3px 8px",border:"1px solid #e5e7eb",borderRadius:6,backgroundColor:"#fff",color:"#374151",fontFamily:"inherit",fontSize:12.5,fontWeight:500,cursor:"pointer",whiteSpace:"nowrap"},pagerButtonDisabled:{opacity:.35,cursor:"default"},pagerIcon:{fontSize:16}}),{name:"InvestorProfitFinance"});function e_(e){return null===e?"-":(0,z.D3)(e/1e3)}let eV=({fundFinancialList:e,dryPowderTotal:t,hasDisclosure:a,isLoading:n})=>{let r=eY(),i=ee(),{0:s,1:o}=(0,y.useState)(0),d=e??[],c=(0,z.Zd)(e,t,a);if(n)return(0,w.jsx)(I,{id:"profit-finance",title:"ììµ \xb7 ì¬ë¬´",children:(0,w.jsx)("div",{className:r.empty,children:"ë¶ë¬ì¤ë ì¤â¦"})});if(!0===a&&0===d.length)return(0,w.jsx)(I,{id:"profit-finance",title:"ììµ \xb7 ì¬ë¬´",subtitle:"íëë³ ì¬ë¬´ ê³µì(DIVA) 기ì¤",children:(0,w.jsx)(et.a,{variant:"bar",message:"ì¡°í©ë³ ìì° \xb7 ì본 \xb7 ì¶ìì½ì \xb7 ë¹ê¸°ìì´ìµì´ ê°ë ¤ì ¸ ììµëë¤."})});if(0===d.length)return(0,w.jsx)(I,{id:"profit-finance",title:"ììµ \xb7 ì¬ë¬´",subtitle:c?"íëë³ ì¬ë¬´ ê³µì(DIVA) 기ì¤":"DIVA ê³µì ìì",children:(0,w.jsx)("div",{className:r.empty,children:"ê³µìë ì¡°í© ì¬ë¬´ ì ë³´ê° ììµëë¤."})});let m=l()(d).groupBy("fundName").map(e=>l().maxBy(e,"baseYear")).filter(e=>void 0!==e).orderBy(e=>e.totalAssets??0,"desc").value(),u=l().sortBy(l().uniq(d.map(e=>String(e.baseYear)))),p=u[u.length-1],h=u.length>1?`${u[0]}~${p}`:p,f=u.map(e=>{let t=d.filter(t=>String(t.baseYear)===e);return{year:e,totalAssets:Math.round(l().sumBy(t,e=>e.totalAssets??0)/1e8),totalEquity:Math.round(l().sumBy(t,e=>e.totalEquity??0)/1e8)}}),x=l().sumBy(m,e=>e.totalAssets??0),g=l().sumBy(m,e=>e.totalEquity??0),b=l().sumBy(m,e=>e.netIncome??0),j=Math.max(0,Math.ceil(m.length/8)-1),v=Math.min(s,j),N=8*v,$=m.slice(N,N+8),k=`ì ì²´ ${m.length}ê° ì¡°í© ì¤ ${N+1}~${N+$.length}ë²ì§¸ íì`,S=[{label:"ì´ì© ì¡°í© ì",value:String(m.length),unit:"ê°"},{label:"ì´ìì° í©ê³ (ì¡°í©ë³ ìµì ê³µì 기ì¤)",value:(0,z.D3)(x/1e3)},{label:"ì´ì본 í©ê³ (ì¡°í©ë³ ìµì ê³µì 기ì¤)",value:(0,z.D3)(g/1e3)},{label:"ë¹ê¸°ìì´ìµ í©ê³ (ì¡°í©ë³ ìµì ê³µì 기ì¤)",value:(0,z.D3)(b/1e3)}];return void 0!==t&&S.push({label:"ìì¬ í¬ì ì¬ë ¥",value:(0,z.D3)(t/1e3)}),(0,w.jsxs)(I,{id:"profit-finance",title:"ììµ \xb7 ì¬ë¬´",subtitle:`íëë³ ì¬ë¬´ ê³µì(DIVA) ê¸°ì¤ \xb7 ${h}`,children:[(0,w.jsx)(q,{items:S}),(0,w.jsx)("div",{className:r.chartLabel,style:{marginTop:16},children:"ì°ëë³ ì´ìì° \xb7 ì´ì본 í©ê³"}),(0,w.jsx)(eT,{categories:u,series:[{label:"ì´ìì°",color:"#2563eb",values:f.map(e=>e.totalAssets)},{label:"ì´ì본",color:"#93c5fd",values:f.map(e=>e.totalEquity)}],ariaLabel:"í¬ìì¬ ì°ëë³ ì´ìì° ì´ì본 ì¶ì´",unit:"ìµì"}),(0,w.jsx)("div",{className:i.wrap,style:{marginTop:20},children:(0,w.jsxs)("table",{className:i.table,children:[(0,w.jsx)("thead",{children:(0,w.jsxs)("tr",{className:i.theadRow,children:[(0,w.jsx)("th",{className:i.th,children:"ì¡°í©ëª
"}),(0,w.jsx)("th",{className:`${i.th} ${i.thNum}`,children:"기ì¤ì°ë"}),(0,w.jsx)("th",{className:`${i.th} ${i.thNum}`,children:"ì´ìì°"}),(0,w.jsx)("th",{className:`${i.th} ${i.thNum}`,children:"ì´ì본"}),(0,w.jsx)("th",{className:`${i.th} ${i.thNum}`,children:"ë¹ê¸°ìì´ìµ"})]})}),(0,w.jsx)("tbody",{children:$.map(e=>(0,w.jsxs)("tr",{children:[(0,w.jsx)("td",{className:i.td,children:(0,w.jsx)("b",{children:e.fundName})}),(0,w.jsx)("td",{className:`${i.td} ${i.tdNum}`,children:e.baseYear}),(0,w.jsx)("td",{className:`${i.td} ${i.tdNum}`,children:e_(e.totalAssets)}),(0,w.jsx)("td",{className:`${i.td} ${i.tdNum}`,children:e_(e.totalEquity)}),(0,w.jsx)("td",{className:`${i.td} ${i.tdNum}`,children:e_(e.netIncome)})]},e.fundName))})]})}),(0,w.jsxs)("div",{className:r.pagerRow,children:[(0,w.jsxs)("button",{type:"button",className:`${r.pagerButton} ${0===v?r.pagerButtonDisabled:""}`,disabled:0===v,onClick:()=>o(v-1),"aria-label":"ì´ì ì¡°í© ì¬ë¬´ 묶ì",children:[(0,w.jsx)(eF.Z,{className:r.pagerIcon}),"ì´ì "]}),(0,w.jsx)("span",{className:r.pageRange,role:"status","aria-live":"polite",children:k}),(0,w.jsxs)("button",{type:"button",className:`${r.pagerButton} ${v>=j?r.pagerButtonDisabled:""}`,disabled:v>=j,onClick:()=>o(v+1),"aria-label":"ë¤ì ì¡°í© ì¬ë¬´ 묶ì",children:["ë¤ì",(0,w.jsx)(eH.Z,{className:r.pagerIcon})]})]})]})},eU=(0,x.Z)(()=>(0,g.Z)({item:{display:"flex",alignItems:"baseline",padding:"11px 0",borderBottom:"1px solid #f3f4f6",fontSize:14,textDecoration:"none",color:"inherit"},date:{flex:"0 0 auto",width:84,fontSize:12.5,color:"#9ca3af",marginRight:14},title:{flex:"1 1 auto",color:"rgb(17,24,39)"},source:{flex:"0 0 auto",fontSize:12,color:"rgb(31,58,110)",marginLeft:14},status:{fontSize:13.5,color:"#9ca3af",padding:"24px 0",textAlign:"center"}}),{name:"InvestorNews"}),eK=({newsEpoch:e,isLoading:t})=>{let a=eU(),n=l().orderBy(e?.articles??[],"publishedAt","desc");return t?(0,w.jsx)(I,{id:"news",title:"ë´ì¤",subtitle:"ë´ì¤ ìí¬í¬ ê¸°ì¬ í¬í¨",children:(0,w.jsx)("div",{className:a.status,children:"ê´ë ¨ ë´ì¤ë¥¼ ë¶ë¬ì¤ë ì¤â¦"})}):0===n.length?null:(0,w.jsx)(I,{id:"news",title:"ë´ì¤",subtitle:"ë´ì¤ ìí¬í¬ ê¸°ì¬ í¬í¨",children:n.map(e=>(0,w.jsxs)("a",{className:a.item,href:`https://newsepoch.co.kr/news/${encodeURIComponent(e.slug)}`,target:"_blank",rel:"noopener noreferrer",children:[(0,w.jsx)("span",{className:a.date,children:function(e){if(!e)return"";let t=Date.parse(e);if(Number.isNaN(t)){let t=/^(\d{4})-(\d{2})-(\d{2})/.exec(e);return t?`${t[1]}-${t[2]}-${t[3]}`:e}return new Date(t+324e5).toISOString().slice(0,10)}(e.publishedAt)}),(0,w.jsx)("span",{className:a.title,children:e.title}),(0,w.jsx)("span",{className:a.source,children:"ë´ì¤ ìí¬í¬"})]},e.id))})};var eq=a(79266),eX=a(7304),eQ=a(5127);let eG={padding:"48px 24px",fontSize:15,color:"rgba(0,0,0,0.6)",textAlign:"center"},eJ=[{id:"basic-info",label:"기본 ì ë³´"},{id:"activity-summary",label:"í¬ì íë ìì½"},{id:"portfolio",label:"í¬í¸í´ë¦¬ì¤ \xb7 í¬ìì´ë ¥"},{id:"invest-style",label:"í¬ì ì±í¥"},{id:"dry-powder",label:"ëë¼ì´íì°ë"},{id:"executives",label:"ì´ì¬ì§"},{id:"investment-network",label:"í¬ìì¬ ë¤í¸ìí¬"},{id:"profit-finance",label:"ììµ \xb7 ì¬ë¬´"},{id:"news",label:"ë´ì¤"}];function e0(e){return l()(e).filter(e=>!!e).countBy().map((e,t)=>({label:t,count:e})).orderBy("count","desc").take(2).map("label").value()}var e1=(0,d.y7)({seoProps:!1,layoutTitle:eX.vL})((0,c.w)((0,eX.DP)((0,u.C)((0,m.s)(({startupDbDetailBootstrap:e})=>{let t=(0,s.useRouter)().query.code,a=Array.isArray(t)?t[0]:t??"",n=(0,z.OF)(a),r=(0,p.md)("DataframePdeckInvestor",{code:a},{enabled:n,retryTransientOnce:!0}),i=(0,p.md)("DataframePdeckInvestListByInvestor",{code:a},{enabled:n}),l=(0,p.md)("DataframePdeckCoInvestor",{code:a},{enabled:n}),d=(0,p.md)("DataframePdeckInvestorChain",{code:a},{enabled:n}),c=String(r.data?.bizNo??""),m=(0,p.md)("DataframePdeckCompanyBaseInfo",{bizNo:c},{enabled:!!c}),u=m.data?.code??"",x=(0,p.md)("DataframePdeckCompanyRegistryOfficerList",{code:u},{enabled:!!u}),g=!!c&&void 0===m.data||!!u&&void 0===x.data,b=(0,p.md)("DataframeNewsEpochCompanyArticleList",{bizNo:c},{enabled:!!c}
1),j=(0,p.md)("DataframeDivaCompanyDetail",{code:a},{enabled:n}),v=j.data?.hasDisclosure,y=j.isLoading||void 0===j.data,N=void 0===b.data&&!b.error;if((0,eq.wX)(r.data?.name,a,eJ,N),r.error)return(0,w.jsx)("div",{style:eG,children:"ì¡°í ì¤í¨"});if(!a)return(0,w.jsx)("div",{style:h.V,children:"ë¶ë¬ì¤ë ì¤â¦"});if(!n)return(0,w.jsx)("div",{style:eG,children:"í¬ìì ì 보를 ì°¾ì ì ììµëë¤"});if(r.isLoading||void 0===r.data)return e?.state==="resolved"?(0,w.jsx)(eQ.vw,{snapshot:e.entity}):(0,w.jsx)("div",{style:h.V,children:"ë¶ë¬ì¤ë ì¤â¦"});if(null===r.data)return(0,w.jsx)("div",{style:eG,children:"í¬ìì ì 보를 ì°¾ì ì ììµëë¤"});let $=r.data,k={list:(0,z.yc)(i.data?.list)},S=void 0===i.data,C=void 0===d.data,O=void 0===l.data,D=void 0!==b.data&&(b.data?.articles??[]).length>0,B=j.error?"ëë¼ì´íì°ë":void 0===j.data?void 0:(0,z.Zd)(j.data?.fundFinancialList,j.data?.dryPowderTotal,v)||(j.data?.associationFundInfoList?.length??0)>0?"ëë¼ì´íì°ë":"ìµê·¼ í¬ì íë",T=eP(j.data?.fundFinancialList??[],j.data?.associationFundInfoList??[]),L={industries:e0(k.list.map(e=>e.mainCategory)),stages:e0(k.list.map(e=>(0,z.rX)(e.series))),companyCount:new Set(k.list.map(z.As)).size,fundCount:j.data?T.length:void 0};return(0,w.jsx)("div",{style:h.V,"data-code":a,children:(0,w.jsxs)(o.ZP,{generateClassName:f,children:[(0,w.jsx)(F,{investor:$,code:a,showNewsTab:D,dryPowderTabLabel:B,profile:L}),(0,w.jsx)(_,{investor:$}),i.error?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(I,{id:"activity-summary",title:"í¬ì íë ìì½",children:(0,w.jsx)("div",{children:"ì¡°í ì¤í¨"})}),(0,w.jsx)(I,{id:"portfolio",title:"í¬í¸í´ë¦¬ì¤ \xb7 í¬ìì´ë ¥",children:(0,w.jsx)("div",{children:"ì¡°í ì¤í¨"})}),(0,w.jsx)(I,{id:"invest-style",title:"í¬ì ì±í¥",children:(0,w.jsx)("div",{children:"ì¡°í ì¤í¨"})})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(eh,{portfolio:k,isLoading:S}),(0,w.jsx)(el,{portfolio:k,isLoading:S}),(0,w.jsx)(em,{portfolio:k,isLoading:S})]}),j.error?(0,w.jsx)(I,{id:"dry-powder",title:"ëë¼ì´íì°ë",children:(0,w.jsx)("div",{children:"ì¡°í ì¤í¨"})}):(0,w.jsx)(eZ,{portfolio:k,fundFinancialList:j.data?.fundFinancialList,associationFundInfoList:j.data?.associationFundInfoList,dryPowderTotal:j.data?.dryPowderTotal,hasDisclosure:v,isLoading:y}),m.error||x.error?(0,w.jsx)(I,{id:"executives",title:"ì´ì¬ì§",children:(0,w.jsx)("div",{children:"ì¡°í ì¤í¨"})}):(0,w.jsx)(ek,{officerList:x.data??void 0,isLoading:g}),(0,w.jsx)(eI,{investorName:$.name,selfCode:a,chain:d.data??void 0,coInvestor:l.data??void 0,chainLoading:C,coLoading:O,chainError:!!d.error,coError:!!l.error}),j.error?(0,w.jsx)(I,{id:"profit-finance",title:"ììµ \xb7 ì¬ë¬´",children:(0,w.jsx)("div",{children:"ì¡°í ì¤í¨"})}):(0,w.jsx)(eV,{fundFinancialList:j.data?.fundFinancialList,dryPowderTotal:j.data?.dryPowderTotal,hasDisclosure:v,isLoading:y},a),(0,w.jsx)(eK,{newsEpoch:b.data??void 0,isLoading:N})]})})}),"investor",{deferInitialEligibility:!0}),"investor")))},75356:function(e,t,a){"use strict";a.d(t,{As:function(){return S},D3:function(){return s},Fg:function(){return u},JZ:function(){return x},K1:function(){return O},Nh:function(){return D},Nw:function(){return N},OF:function(){return o},QY:function(){return w},R0:function(){return c},Zd:function(){return B},_l:function(){return j},e$:function(){return p},iU:function(){return y},lm:function(){return d},rX:function(){return f},uf:function(){return l},wD:function(){return v},yc:function(){return k},zT:function(){return C}});var n=a(8307);function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach(function(t){(0,n.Z)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function l(e){if(null==e||""===e)return"-";let t="string"==typeof e?Number(e):e;
1return Number.isNaN(t)?String(e):t.toLocaleString("ko-KR")}function s(e){if(void 0===e||!Number.isFinite(e))return"-";let t=1e3*e,a=t<0,n=Math.abs(t);if(n<1e7)return`${a?"-":""}${l(Math.trunc(n))}ì`;let r=Math.trunc(n/1e7)/10,i=["ìµ","ì¡°","ê²½"].map(e=>{let t=Math.trunc(10*r%1e5)/10;return r=Math.floor(r/1e4),0!==t?`${t.toLocaleString()}${e}`:""});return`${a?"-":""}${i.reverse().join(" ").trim()}ì`}function o(e){return/^[0-9a-fA-F]{16}$/.test(e)}function d(e){if(!e)return"";if(/^\d{8}$/.test(e))return`${e.slice(0,4)}-${e.slice(4,6)}-${e.slice(6,8)}`;let t=/^(\d{4})-(\d{2})-(\d{2})/.exec(e);return t?`${t[1]}-${t[2]}-${t[3]}`:e}function c(e){if(!e)return;let t=/^(\d{4})/.exec(e);if(!t)return;let a=Number(t[1]);return Number.isFinite(a)&&a>=1900?a:void 0}let m=["ì¥","ì","í¸ëì´","í ë¼","ì©","ë±","ë§","ì","ììì´","ë","ê°","ë¼ì§"];function u(e){return`${m[((e-4)%12+12)%12]}ë `}function p(e){return new Date().getFullYear()-e+1}let h={A:"ìë¦¬ì¦ A",B:"ìë¦¬ì¦ B",C:"ìë¦¬ì¦ C"};function f(e){return e?h[e]??e:""}function x(e){return e?e.split(",").map(e=>e.trim()).filter(Boolean):[]}function g(e){return e.replace(/[\s().·]/g,"").toLowerCase()}function b(e,t){return new Set([...x(e),...x(t)].map(g).filter(Boolean))}function j(e,t,a){if(e.length<20)return;let n=b(t,a),r=new Map;for(let t of e){let e=new Set;for(let a of x(t)){let t=g(a);if(!t||n.has(t)||e.has(t))continue;e.add(t);let i=r.get(t);i?i.count+=1:r.set(t,{count:1,name:a})}}let i=[...r.values()].filter(t=>t.count/e.length>.5);return 1===i.length?i[0].name:void 0}function v(e,t,a,n){let r=b(t,a),i=r.size>0?e.filter(e=>!r.has(g(e))):e;if(i.length!==e.length||!n)return i;let l=g(n);return i.filter(e=>g(e)!==l)}function y(e,t,a,n){let r=new Set([e.toLowerCase()]),i=g(t);if(!i)return r;let l=new Set(a.filter(e=>g(e.name.trim())===i).map(e=>(e.code??"").toLowerCase()).filter(Boolean));for(let e of n){let t=(e.code??"").toLowerCase();t&&l.has(t)&&g(e.name.trim())===i&&r.add(t)}return r}function N(e,t){return e.filter(e=>!t.has((e.code??"").toLowerCase())).map(e=>({name:e.name.trim(),count:e.count,code:e.code}))}function w(e){let t=e/1e8;return Math.abs(t)>=100?Math.trunc(t):Math.trunc(10*t)/10}function $(e,...t){if("object"!=typeof e||null===e)return"";for(let a of t){let t=e[a];if("string"==typeof t&&""!==t)return t}return""}function k(e){return Array.isArray(e)?e.map(e=>i(i({},e),{},{companyName:$(e,"companyName","company_name")||e.companyName,investDate:$(e,"investDate","invest_date")||e.investDate,bizNo:$(e,"bizNo","biz_no")||e.bizNo,mainCategory:$(e,"mainCategory","main_category")||e.mainCategory,subCategory:$(e,"subCategory","sub_category")||e.subCategory,companyCode:$(e,"companyCode","company_code")||e.companyCode,portfolioKey:e.portfolioKey})):[]}function S(e){return e.companyCode||e.bizNo||e.companyName||e.portfolioKey||""}function C(e){let t=new Date().getFullYear(),a=t-4;return e.filter(e=>{let n=Number(e.investDate?.slice(0,4));return Number.isInteger(n)&&n>=a&&n<=t})}function O(e,t=e){let a=new Map;for(let t of e){if(!t.investDate)continue;let e=S(t);if(!e)continue;let n=`${e}|${t.investDate}`;a.has(n)||a.set(n,t)}let n=new Map,r=0;for(let e of t){if(!e.investDate)continue;let t=S(e);if(!t)continue;let a=n.get(t);(!a||e.investDate<a)&&n.set(t,e.investDate)}for(let e of a.values())e.investDate>(n.get(S(e))??"")&&(r+=1);return{total:a.size,followUp:r}}function D(e){if(0===e.length)return;let t=Math.floor(e.length/2);return e.length%2==1?e[t]:(e[t-1]+e[t])/2}function B(e,t,a){return"boolean"==typeof a?a:(e?.length??0)>0||void 0!==t}},98109:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/startup-db/investor/[code]",function(){return a(11587)}])}},function(e){e.O(0,[6326,5048,9763,387,4764,2594,2888,9774,179],function(){return e(e.s=98109)}),_N_E=e.O()}]);
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.