PageSourceSearch

https://assets.cdn.soomgo.com/next/02bb940/_next/static/chunks/62135.cc6c7fcd2b8b3df5.js

js soomgo.com collected 2026-09-24 08:47:10 UTC 11,260 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[62135],{11008:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Z});var n,i=r(18153),a=r(14232),o=r(21053),l=r(75133),c=r(38993),s=r(63283),d=r(46678),u=r(53030),g=r(78928),h=r(62007),p=r(85649),f=r(66314),y=r(55417),v=r(45197),A=r(81977);let m=()=>{let{logout:e,isGuest:t,changeUserType:r,isProvider:n,me:a}=(0,f.A)();if(a){var o,l;let c=(0,v.J)(a);return(0,i.FD)(w,{children:[(0,i.FD)(x,{children:[(0,i.FD)(Y,{children:[(0,i.FD)(k,{children:[c," ",(0,v.g)(n),"님"]}),n?(0,i.FD)(D,{title:"프로필 관리",href:"/profile?from=hamburger",children:["프로필 관리",(0,i.Y)(A.A,{})]}):(0,i.Y)(F,{children:"안녕하세요"})]}),(0,i.Y)(u.A,{src:a.picture,alt:c,width:44,height:44})]}),n&&(0,i.FD)(C,{children:[(0,i.FD)(_,{children:["평점",(0,i.Y)("b",{children:(null==(o=a.provider)?void 0:o.review_rate)||0})]}),(0,i.FD)(_,{children:["리뷰",(0,i.Y)("b",{children:(null==(l=a.provider)?void 0:l.review_count)||0})]})]}),(0,i.FD)(j,{children:[(0,i.Y)(S,{variants:"outline-secondary",size:"xs",onClick:()=>e(),children:"로그아웃"}),(0,i.FD)(S,{variants:"outline-secondary",size:"xs",onClick:()=>{t||(d.ldt.click_user_type_change_button({target_user_type:n?"customer":"provider",button_name:n?"고객으로전환":"고수로전환",current_page_name:null}),r(n?y.ve.CUSTOMER:y.ve.PROVIDER))},children:[(0,v.g)(!n),"전환"]})]})]})}return(0,i.Y)(x,{children:(0,i.FD)(Y,{children:[(0,i.Y)(k,{children:"로그인 해주세요"}),(0,i.FD)(D,{title:"로그인/회원가입",href:"/login?from=hamburger&entry_point=signup_cta",children:["로그인 / 회원가입",(0,i.Y)(A.A,{})]})]})})},b=(0,c.AH)({flexDirection:"column"}),w=(0,o.A)(h.A,{target:"ez5e96p0"})(b),x=(0,o.A)(h.A,{target:"ez5e96p1"})({padding:"".concat(s.Kz.S20," 0"),justifyContent:"space-between"}),k=(0,o.A)("b",{target:"ez5e96p2"})({fontSize:16,fontWeight:"bold",color:s.Ig.S800,lineHeight:"24px"}),Y=(0,o.A)(h.A,{target:"ez5e96p3"})(b),z=(0,c.AH)({color:s.r7.secondary,fontSize:14,lineHeight:"20px",display:"flex",marginTop:4,alignItems:"center"}),D=(0,o.A)(p.A,{target:"ez5e96p4"})(z),F=(0,o.A)("p",{target:"ez5e96p5"})(z),C=(0,o.A)(h.A,{target:"ez5e96p6"})({color:s.r7.secondary,fontSize:14,gap:16,marginBottom:24}),_=(0,o.A)(h.A,{target:"ez5e96p7"})({alignItems:"flex-end",gap:4,b:{fontSize:16,color:s.Ig.S800,fontWeight:500}}),j=(0,o.A)(h.A,{target:"ez5e96p8"})({gap:8,margin:"".concat(s.Kz.S4," 0 ").concat(s.Kz.S24)}),S=(0,o.A)(g.A,{target:"ez5e96p9"})({padding:"10px 0",flex:1,lineHeight:"20px",borderRadius:4});var q=r(73352);let I=()=>(0,i.FD)(L,{children:[(0,i.Y)(N,{children:(0,i.Y)(q.A,{width:80,height:24})}),(0,i.Y)(N,{children:(0,i.Y)(q.A,{width:60,height:24})}),(0,i.Y)(N,{children:(0,i.Y)(q.A,{width:100,height:24})})]}),L=(0,o.A)(h.A,{target:"e14ibj50"})({flexDirection:"column",padding:"".concat(s.Kz.S12," 0"),borderTop:"1px solid ".concat(s.Ig.S050)}),N=(0,o.A)("div",{target:"e14ibj51"})({padding:"".concat(s.Kz.S12," 0"),height:"48px"});var E=r(90931),O=r(54543),R=r(6520),K=r(61685),P=r(31484);let H=e=>{let{userType:t}=(0,f.A)(),[r]=(0,K.A)(),n=(0,O.LY)((0,O.Sh)(t),!r),{navItemAppliedBadge:a}=(0,R.A)(n);return(0,i.Y)(T,{items:a,...e})},T=(0,o.A)(E.A,{target:"eaujnat0"})(P.Oc);var B=r(87229),U=r(31996),M=r(4134),Q=r(44538),W=r(4396),X=r(71945),G=r(63826);function J(){return(J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let V=function(e){return a.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),n||(n=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M0 0h24v24H0z"}),a.createElement("path",{stroke:"#2D2D2D",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.7,d:"M4.5 6h15m-15 6h15m-15 6h15"}))))},Z=e=>{let{className:t}=e,[r,n]=(0,a.useState)(!1),[o,l]=(0,a.useState)(""),{isMdPointUp:c}=(0,Q.A)(),s=()=>{l(""),setTimeout(()=>{n(!1)},300)};return(0,M.A)(r),(0,a.useEffect)(()=>{r&&c&&s()},[c,r]),(0,i.FD)($,{className:t,children:[(0,i.Y)(ee,{variants:"none",size:"xs",onClick:()=>{n(!0),setTimeout(()=>l("opened"))},children:(0,i.Y)(V,{})}
1),r&&(0,i.FD)(en,{className:o,children:[(0,i.FD)(et,{children:[(0,i.Y)(ei,{children:(0,i.Y)(ee,{variants:"none",size:"xs",children:(0,i.Y)(G.A,{onClick:s})})}),(0,i.Y)(m,{}),(0,i.Y)(a.Suspense,{fallback:(0,i.Y)(I,{}),children:(0,i.Y)(H,{onNavItemClick:s})}),(0,i.Y)(ea,{from:"mobile_web_hamburger"})]}),r&&(0,i.Y)(er,{onClick:s})]})]})},$=(0,o.A)("div",{target:"ejkv7l60"})({position:"relative",["".concat((0,W.JD)("md"))]:{display:"none"}}),ee=(0,o.A)(g.A,{target:"ejkv7l61"})({display:"flex"}),et=(0,o.A)("div",{target:"ejkv7l62"})(P.TH,{position:"relative",width:"80%",height:"100%",backgroundColor:B.y.whiteLegacy,overflow:"auto",zIndex:1,padding:20,transform:"translateX(-100%)",transition:"transform .3s ease-in-out","> *":{transition:"opacity .3s ease-in-out",opacity:0}}),er=(0,o.A)("div",{target:"ejkv7l63"})({width:"100%",height:"100%",backgroundColor:U.c3.black030,display:"block",position:"absolute",top:0,right:0,zIndex:0,opacity:0,transition:"opacity .3s ease-in-out"}),en=(0,o.A)("div",{target:"ejkv7l64"})({position:"fixed",width:"100%",height:"100%",left:0,top:0,zIndex:X.f.GNB,"&.opened":{[String(et)]:{transform:"translateX(0)","> *":{opacity:1}},[String(er)]:{opacity:1}}}),ei=(0,o.A)(h.A,{target:"ejkv7l65"})({justifyContent:"flex-end"}),ea=(0,o.A)(l.default,{target:"ejkv7l66"})(P.Oc)},30247:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(18153),i=r(38993),a=r(63283);let o=e=>{let{width:t,height:r,padding:o,margin:l,top:c,left:s,right:d,bottom:u,position:g="absolute",display:h,wrapperCss:p,children:f,...y}=e,v=[(e=>{let{width:t,height:r,padding:n,margin:a,display:o="inline-block"}=e;return(0,i.AH)("display:",o,";position:relative;width:",t,";height:",r,";padding:",n,";margin:",a,";")})({width:t,height:r,padding:o,margin:l,display:h}),p].filter(Boolean);return(0,n.FD)("div",{css:v,...y,children:[f,(0,n.Y)("span",{css:(e=>{let{position:t,top:r,left:n,bottom:o,right:l}=e;return(0,i.AH)("display:inline-block;","absolute"===t?{position:"absolute",top:0,right:0}:{position:"relative"},"  width:6px;height:6px;background-color:",a.i0.red_enabled,";margin:1px;border-radius:999px;",n&&"left: ".concat(n,";")," ",l&&"right: ".concat(l,";")," ",r&&"top: ".concat(r,";")," ",o&&"bottom: ".concat(o,";"))})({position:g,top:c,left:s,right:d,bottom:u}),"aria-live":"polite",role:"status"})]})}},34578:(e,t,r)=>{r.d(t,{Pb:()=>F,GF:()=>C,XM:()=>D,rd:()=>A,D3:()=>b,LV:()=>k,xA:()=>w,yI:()=>h,cb:()=>p,lI:()=>z,th:()=>y});var n=r(74359),i=r(15415),a=r(835),o=r(40097),l=r(32597),c=r(36461),s=r(35654),d=function(e){return e.Service="service",e.Cat1="cat1",e.Cat2="cat2",e.Category1="category1",e.Category2="category2",e}({}),u=r(55417);let g=()=>()=>l.Ay.get("/v1/popular-keyword/services"),h=()=>(0,n.I)({queryKey:c.A.headerPopularKeyword,queryFn:g(),select:e=>{let{response:t}=e;return{services:t.services.map(e=>({...e,type:d.Service})),ageRange:t.ageRange}}}),p=()=>(0,i.U)({queryKey:c.A.headerPopularKeyword,queryFn:g(),select:e=>{let{response:t}=e;return{services:t.services.map(e=>({...e,type:d.Service})),ageRange:t.ageRange}}}),f=()=>l.Ay.get("/v1/me/requests/received/unread"),y=e=>(0,s.A)({queryKey:c.A.headerRequestReceivedUnread,queryFn:f,enabled:e}),v=async e=>{let{role:t}=e,{response:r}=await l.Ay.get("/v1/accounts/user-notifications/categories",{role:t});return r},A=(e,t)=>(0,n.I)({queryKey:c.A.headerNotificationCategories(e),queryFn:()=>v({role:e}),enabled:t.enabled,staleTime:0}),m=async e=>{let{response:t}=await l.Ay.get("/v1/accounts/user-notifications",e);return t},b=e=>(0,a.U)({queryKey:c.A.headerNotificationList(e),queryFn:t=>{let{pageParam:r}=t;return m({...e,next_cursor:null==r?void 0:r.next_cursor})},getNextPageParam:e=>{let{pagination:{nextCursor:t,hasNextPage:r}}=e;return r?{next_cursor:t}:null},initialPageParam:null,staleTime:0}),w=()=>(0,o.n)({mutationFn:e=>{let{role:t,category2_id:r}=e;return(e=>{let{role:t,category2_id:r}=e;return l.Ay.patch("/v1/accounts/user-notifications/read",{role:t,category2_id:r})})({role:t,category2_id:r})}}),x=async e=>{let{response:t}=await l.Ay.get("/v1/accounts/user-notifications/unread-exist",{role:e});return t},k=e=>(0,n.I)({queryKey:c.A.headerNotificationReddot(e),queryFn:()=>x(e),staleTime:0}),Y=()=>l.Ay.get("/v1/me/quotes/unread"),z=e=>(0,s.A)({queryKey:c.A.headerQuoteUnread,queryFn:Y,enabled:e}),D=e=>(0,s.A)({queryKey:c.A.headerChatUnread(e),queryFn:()=>l.Ay.get("/api/v2/chats/badge-count",{role:e}),enabled:e!==u.tX.guest}),F=(e,t)=>{let{role:r,category2Id:n,showReddot:i}=t;e.setQueryData(c.A.headerNotificationCategories(r),e=>{if(!e)return;let{notificationCategory1List:t}=e;return{...e,notificationCategory1List:t.map(e=>({...e,notificationCategory2List:e.notificationCategory2List.map(e=>e.categoryId===n?{...e,unreadNotificationExist:i}:e)}))}})},C=(e,t)=>{var r;let n=null!=(r=e.getQueryData(c.A.headerNotificationCategories(t)))?r:null,i=null==n?void 0:n.notificationCategory1List.some(e=>e.notificationCategory2List.some(e=>e.unreadNotificationExist));e.setQueryData(c.A.headerNotificationReddot(t),{unreadNotificationExist:i})}},35654:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(74359),i=r(66314);let a=e=>{let{status:t}=(0,i.A)(),r="authenticated"===t,a=e&&void 0!==(null==e?void 0:e.enabled)?e.enabled&&r:r;return(0,n.I)({...e,enabled:a})}},63826:(e,t,r)=>{r.d(t,{A:()=>
1o});var n,i=r(14232);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let o=function(e){return i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:18,height:18},e),n||(n=i.createElement("path",{fill:"#323232",fillRule:"nonzero",d:"m16.43.43 1.131 1.131-7.434 7.435 7.434 7.434-1.131 1.131-7.435-7.434-7.434 7.434L.43 16.43l7.434-7.434L.43 1.561 1.561.43l7.434 7.434L16.43.43z"})))}},75133:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});var n=r(18153),i=r(90931),a=r(54543);let o=e=>{let{from:t,...r}=e,o=a.pe.map(e=>{let{label:r,href:n}=e;return{label:r,href:t?"".concat(n,"?from=").concat(t):n,isLeftSide:!0}});return(0,n.Y)(i.A,{items:o,...r})}},81977:(e,t,r)=>{r.d(t,{A:()=>o});var n,i=r(14232);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let o=function(e){return i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:18,height:18},e),n||(n=i.createElement("path",{fill:"none",stroke:"#B5B5B5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m7 14 5-5-5-5"})))}},85649:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(18153),i=r(14232),a=r(48230),o=r.n(a),l=r(89099),c=r(1006);let s=(0,i.forwardRef)((e,t)=>{let{href:r,target:i,children:a,...c}=e,s=(0,l.useRouter)(),d=/^(https?:)?\/\//.test(r),u=s.route===r?"#":r,g="_blank"===i;return d||g?(0,n.Y)("a",{ref:t,href:r,target:i,...c,children:a}):(0,n.Y)(o(),{ref:t,href:u,...c,children:a})}),d=s;s.displayName=(0,c.Mn)(s)}}]);

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.