1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3333],{93333:function(e,n,s){s.r(n);var l=s(85893),a=s(67294),i=s(41664),c=s.n(i),o=s(67421);s(36027);var t=s(91562),r=s(99305),d=s(20041),m=s(36869),p=s(38689),_=s(46554);s(85242);var j=s(66864),h=s.n(j);n.default=function(e){let{tab_active:n=!1,userLogined:s=!1,utm_source:i="",utm_medium:j="",utm_campaign:N="",tab_update:x=!1,set_tab_update:u=null,showLoginLayout:g=null,alertClick:E=null,set_alert_type:v=null,set_is_loading:f=null,setLetsplChatOpen:U=null,letsplChatSocket:C=null}=e,{t:S}=(0,o.$G)(["main","common","data","alert"]),[R,I]=(0,a.useState)(0),[b,y]=(0,a.useState)([0,0,0]),[L,k]=(0,a.useState)([]),[O,A]=(0,a.useState)([]),[T,w]=(0,a.useState)([]),M=L.filter((e,n,s)=>s.findIndex(n=>n.PROJECT_NO===e.PROJECT_NO)===n);async function P(){let e=await (0,d.C4)();e.result&&y([e.count_info[0].PROJECT_COUNT,e.count_info[0].USER_COUNT,e.count_info[0].BOOTH_COUNT])}function D(e,n,s,l){e?F(e,n,l):v({type:"confirm",isActive:!0,title:S("follow_project_title",{name:s,ns:"alert"}),body:S("follow_project_body",{ns:"alert"}),onClick:E,onConfirmClick:()=>F(e,n,l),onCancelClick:E})}async function F(e,n,s){e||E(),(await (0,d.vb)(n,s,"my_following")).result&&G("project")}async function B(e){(await (0,d.VV)(e,"my_following")).result&&G("people")}async function K(e,n){(await (0,d.B2)(e,n,"my_following")).result&&G("booth")}async function G(e){f(!0);let s=await (0,t.hf)(n,i,j,N,e);f(!1),(0,r.XB)("page_view",{value1:"/my",value2:"my_favorite",value3:""}),(0,r.XB)("event",{value1:"navigation",value2:"my_favorite",value3:"my"}),s.result&&("project"==e?k(s.project_info):"people"==e?A(s.people_info):w(s.booth_info),P())}function V(e){I(e),G({0:"project",1:"people",2:"booth"}[e])}return(0,a.useEffect)(()=>{s&&(P(),G("project"))},[s]),(0,a.useEffect)(()=>{x&&(P(),G("project"),G("people"),G("booth"),u(!1))},[x]),s?(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)("div",{className:"workTabMenu",children:(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{className:0==R?"active":"",children:(0,l.jsxs)("a",{onClick:()=>V(0),children:[S("project",{ns:"common"}),"\xa0(",M.length,")"]})}),(0,l.jsx)("li",{className:2==R?"active":"",children:(0,l.jsxs)("a",{onClick:()=>V(2),children:[S("booth",{ns:"common"}),"(",b[2],")"]})}),(0,l.jsx)("li",{className:1==R?"active":"",children:(0,l.jsxs)("a",{onClick:()=>V(1),children:[S("people",{ns:"common"}),"(",b[1],")"]})})]})}),0==R&&L.length>=1?(0,l.jsx)("div",{className:"projectContentWrap",children:M.map(e=>(0,l.jsx)(_.t,{index:index,page:"my",section:"followingproject",showLike:!0,project:e,project_list:L,ad_banners:[],banners:[],projectLikeConfirm:D,part:"recruiting"}))}):0==R&&0==L.length?(0,l.jsx)("div",{className:"noProject",children:(0,l.jsx)("p",{children:S("no_following_project",{ns:"common"})})}):null,1==R&&O.length>=1?(0,l.jsx)("div",{className:"peopleGrid",children:(0,l.jsx)("ul",{className:"peopleGridList",children:O.map((e,n)=>{var i,o,t,d,p,_;return(0,l.jsxs)("li",{className:"letspler_Re ".concat(e.PRO_NO?"proChat":""),children:[(0,l.jsxs)("div",{className:"top",children:[(0,l.jsxs)("div",{className:"profilePicWrap",children:[(0,l.jsx)("div",{className:"profilePic",children:(0,l.jsx)(c(),{legacyBehavior:!0,href:"/people/[nickname]",as:"/people/".concat(e.USER_NICKNAME),children:(0,l.jsx)("img",{loading:"lazy",src:e.USER_IMG_URL?e.USER_IMG_URL:"/assets/images/prof-no-img.png",alt:e.USER_NICKNAME})})}),(0,l.jsx)("a",{className:"favorite active",onClick:()=>B(e.USER_NO,"my_favorite")})]}),(0,l.jsx)(c(),{legacyBehavior:!0,href:"/people/[nickname]",as:"/people/".concat(e.USER_NICKNAME),children:(0,l.jsxs)("div",{className:"profileTxt",children:[(0,l.jsxs)("div",{className:"idWrap",children:[(0,l.jsx)("img",{loading:"lazy",className:"userLv",src:"https://d1s1r4xme959x6.cloudfront.net/images/level/level_".concat(e.USER_LEVEL,".png"),alt:"letspl level"}),(0,l.jsx)("div",{className:"certiWrap",children:"01"==e.CI_VERIFIED?(0,l.jsx)("img",{loading:"lazy",className:"userCertIcon",src:"/assets/images/ic-certi-red.png",alt:"auth"}):"01"==e.USER_PHONE?(0,l.jsx)("img",{loading:"lazy",className:"userCertIcon",src:"/assets/images/ic-certi-gray.png",alt:"phone"}):null}),(0,l.jsx)("p",{className:"userName",children:e.USER_NICKNAME?e.USER_NICKNAME:"Unknown"})]}),(0,l.jsxs)("div",{className:"coffeAndHeart",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("img",{loading:"lazy",src:"/assets/images/ic-coffee-cup-20.png",alt:"coffeePoint"}),(0,l.jsx)("span",{children:e.PRO_NO?e.PRO_POINT:e.USER_POINT_SETTING})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("img",{loading:"lazy",style:{width:"20px",height:"20px"},src:"/assets/images/ico_like.png",alt:"coffeePoint"}),(0,l.jsx)("span",{children:e.USER_LIKE?e.USER_LIKE:0})]})]})]})}),(0,l.jsxs)("div",{className:"moreBtnWrap",children:[(0,l.jsx)("button",{className:"moreBtnDot",href:"",children:(0,l.jsx)("img",{src:"/assets/images/ic-dot-menu.svg",alt:""})}),(0,l.jsxs)("ul",{children:[(0,l.jsx)(c(),{legacyBehavior:!0,href:"/people/[nickname]",as:"/people/".concat(e.USER_NICKNAME),children:(0,l.jsx)("li",{children:(0,l.jsx)("a",{onClick:()=>(0,r.XB)("event",{value1:"navigation",value2:"people_detail",value3:"people_list"}),children:S("go_profile",{ns:"common"})})})}),(0,l.jsx)("li",{children:(0,l.jsx)("a",{onClick:()=>(0,m.cY)(e.USER_NO,e.USER_NICKNAME,s,g,E,v,"people_list"),children:S("invite_project",{ns:"common"})})})]})]})]}),(0,l.jsxs)("div",{className:"bottom",children:[(0,l.jsxs)("ul",{className:"userFavorite",children:[(0,l.jsxs)("li",{children:[(0,l.jsxs)("span",{children:[S("bracket_main_
1job",{ns:"common"}),"\xa0","0000"==e.USER_MAIN_FUNC_DETAIL?S("no_input",{ns:"common"}):S("jobDetailString.".concat(e.USER_MAIN_FUNC_DETAIL),{ns:"data"})]}),(0,l.jsx)("span",{children:"0000"==e.USER_MAIN_FUNC_DETAIL?S("no_input",{ns:"common"}):S("jobLevelString.".concat(e.USER_MAIN_FUNC_LEVEL),{ns:"data"})})]}),(0,l.jsxs)("li",{children:[(0,l.jsxs)("span",{children:[S("bracket_sub_job",{ns:"common"}),"\xa0","0000"==e.USER_SUB_FUNC_DETAIL?S("no_input",{ns:"common"}):S("jobDetailString.".concat(e.USER_SUB_FUNC_DETAIL),{ns:"data"})]}),(0,l.jsx)("span",{children:"0000"!==e.USER_SUB_FUNC_DETAIL&&S("jobLevelString.".concat(e.USER_SUB_FUNC_LEVEL),{ns:"data"})})]})]}),(0,l.jsxs)("div",{className:"userInfoTagWrap",children:[e.PRO_NO?(0,l.jsx)("div",{className:"proChatMark",children:(0,l.jsxs)("h4",{children:["\uD83E\uDD47 ",S("pro",{ns:"common"})]})}):null,(i=e.USER_COMMENT,o=e.USER_MAIN_FUNC,t=e.USER_MAIN_FUNC_DETAIL,d=e.USER_MAIN_FUNC_LEVEL,p=e.USER_NICKNAME,""!=i&&i||o?(""==i||!i)&&o?(0,l.jsxs)(a.Fragment,{children:[void 0,[S("jobString.".concat(o),{ns:"data"}),S("jobDetailString2.".concat(t),{ns:"data"}),S("jobLevelString.".concat(d),{ns:"data"}),p].map((e,n)=>(0,l.jsxs)("h4",{className:h().badge2xlOutline,children:["#",e]},"tag_".concat(n)))]}):(0,l.jsxs)(a.Fragment,{children:[_&&(0,l.jsx)("div",{className:h().proBadge,children:"\uD83E\uDD47 íë¡"}),i.split(",").map((e,n)=>(0,l.jsx)("h4",{className:h().badge2xlOutline,children:e}))]}):null)]})]})]},"people_".concat(n))})})}):1==R&&0==O.length?(0,l.jsx)("div",{className:"noProject",children:(0,l.jsx)("p",{children:S("no_following_people",{ns:"common"})})}):null,2==R&&T.length>=1?(0,l.jsx)("div",{className:"peopleGrid",children:(0,l.jsx)("div",{className:"projectGridView2",children:T.map((e,n)=>(0,l.jsx)(a.Fragment,{children:(0,l.jsx)(p.Rs,{data:e,onLike:(e,n,s,l,a)=>K(l,a)})},"booth_".concat(n)))})}):2==R&&0==T.length?(0,l.jsx)("div",{className:"noProject",children:(0,l.jsx)("p",{children:S("no_following_booth",{ns:"common"})})}):null]}):(0,l.jsx)("div",{className:"myTabContents myProfileTab active",children:(0,l.jsx)("div",{className:"noProject",children:(0,l.jsx)("p",{children:S("login_please")})})})}}}]);
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.