1(self.webpackChunkcontainer=self.webpackChunkcontainer||[]).push([[3366],{81428:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return Y},default:function(){return $}});var r=t(30315),i=t(91682),o=t.n(i),s=t(68885),l=t.n(s),u=t(65492),c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t="".concat(e,"/qna/question/complete/").concat(n),r="ê¸ ë±ë¡ ìë£ - ì¨ë¼ì¸ ìë´ | ë¡í¡";return[(0,u.jsx)("title",{children:r},"title"),(0,u.jsx)("meta",{name:"description",content:"ë¡í¡ìì ê¶ê¸í ë²ë¥ 문ì 를 ê²ìíì¸ì!"},"description"),(0,u.jsx)("meta",{name:"keywords",content:"ë³í¸ì¬,ë³í¸ì¬ì¶ì²,ë³í¸ì¬ì ìë¹ì©,ë³í¸ì¬ê²ì,ë²ë¥ ì¬ë¬´ì,ë²ë¬´ë²ì¸,ë¡í,무ë£ë²ë¥ ìë´,ì íë²ë¥ ìë´,ë²ë¥ ìë´"},"keywords"),(0,u.jsx)("meta",{property:"og:title",content:r},"ogTitle"),(0,u.jsx)("meta",{property:"og:url",content:t},"ogUrl")]},a=t(5375),d=t(5897),f=t(35890),y=function(e){var n=e.availableInquiry,t=e.onGoToQuestion,r=e.onInquire;return(0,u.jsx)(f.g,{primaryLabel:"ìì±ê¸ íì¸",secondaryLabel:n?"30ì´ ë§ì ê°í¸ë¬¸ìí기":void 0,onPrimaryClick:t,onSecondaryClick:r})},p=t(85543),w=t(10344),h=t(91659),m=t.n(h),g=t(50385),v=t(38254),b=t.n(v);function _(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var O=m().bind(b()),k=function(e){var n=e.isMobile,t=e.viewedLawyerWithFocus,r=e.selectedLawyers,i=e.hasViewedLawyerWithFocus,o=e.onToggleLawyer,l=e.onClickCard,c=e.onSendImpressionEvent,a=e.onGoToQuestion,d=(0,s.useRef)(null),f=(0,s.useState)(!1),y=f[0],p=f[1];return(0,s.useEffect)(function(){var e=function(){d.current&&p(d.current.scrollHeight>d.current.clientHeight)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[t]),(0,u.jsxs)("div",{className:O("container"),children:[(0,u.jsx)(x,{isMobile:n,hasViewedLawyerWithFocus:i,onGoToQuestion:a}),i&&(0,u.jsxs)("section",{className:O("viewed-lawyer-with-focus",{"has-scroll":y}),children:[(0,u.jsx)(w.Z,{className:O("section-title"),purpose:"label/semibold",size:n?14:16,color:n?"grey80":"grey70",children:"ìë´ê¸ ë§ì¶¤ ë¶ì¼ ê´ê³ \xb7 ìµê·¼ 본 ë³í¸ì¬ 리ì¤í¸"}),(0,u.jsx)("ul",{ref:d,className:O("lawyer-list"),children:t.map(function(e,t){return(0,u.jsx)(g.u,{element:"li",index:t,isMobile:n,item:e,selectedLawyers:r,onToggleLawyer:o,onClickCard:l,onSendImpressionEvent:c},e._id)})})]})]})},x=function(e){var n=e.isMobile,t=e.hasViewedLawyerWithFocus,r=e.onGoToQuestion;return(0,u.jsxs)("div",{className:O("header",!t&&"no-viewed-lawyer"),children:[(0,u.jsxs)(w.Z,j(j({className:O("title"),variant:"h2",color:"grey80"},n?{purpose:"label/bold",size:20}:{purpose:"title/bold",size:24}),{},{children:[(0,u.jsx)("span",{children:"ìë´ê¸ ë±ë¡"}),"ì´ ìë£ëììµëë¤!"]})),t?(0,u.jsxs)(w.Z,{purpose:"body/regular",size:n?14:16,color:"grey70",children:["ìì±í"," ",(0,u.jsx)(C,{isMobile:n,children:"ìë´ê¸ ê·¸ëë¡"})," ","ì¬ë¬ ë³í¸ì¬ìê² ë¬¸ì를 ë³´ë´ë³´ì¸ì.",(0,u.jsx)("br",{}),(0,u.jsx)(C,{isMobile:n,children:"ëµë³ ê°ë¥ì±ì´ ëìì§ëë¤."})]}):(0,u.jsx)(p.F$,{style:"contained",size:"L",variant:"dark",onClick:r,children:"ìì±ê¸ íì¸"})]})},C=function(e){var n=e.isMobile,t=e.children;return(0,u.jsx)(w.Z,{variant:"span",purpose:"label/semibold",size:n?14:16,color:"grey70",children:t})},E=t(14792),P=t(43287),I=t(25049),L=t(9626),T=function(){function e(n,t){(0,E.Z)(this,e),this.amplitude=n,this.marketing=t}return(0,P.Z)(e,[{key:"buildSimpleLawyerInfo",value:function(e){return{lawyer_slug:e.slug,lawyer_segment:e.isAd?"focus-ad":"recent-view"}}},{key:"logClickQnaCompleteViewQuestion",value:function(){var e;this.amplitude.logEventTyped(I.MU.QNA_COMPLETE,{label:"view-question"}),null===(e=this.marketing)||void 0===e||e.events.clickQnaComplete({label:"view-question"})}},{key:"logClickQnaCompleteSimpleInquiry",value:function(e,n){var t,r=this,i=e.length,o={label:"simple-inquiry_quick-chat",select_all:n.filter(function(e){var n;return(null===(n=e.simpleInquiry)||void 0===n||null===(n=n.email)||void 0===n?void 0:n.status)==="on"}).length===i,"select-lawyer_num":i,lawyer_info:e.map(function(e){return r.buildSimpleLawyerInfo(e)})};this.amplitude.logEventTyped(I.MU.QNA_COMPLETE,o),null===(t=this.marketing)||void 0===t||t.events.clickQnaComplete(o)}},{key:"logRegisterQuestion",value:function(e){var n={question_id:e.questionId,user_id:e.userId,question_title:e.questionTitle,event_time:new Date().toISOString()};L.c.track(I.MU.REGISTER_QUESTION,n)}}]),e}(),S=t(44068),q=t(16361),N=t(91647),Q=t(23845),M=t(19538),A=t(14291),D=t(37630),B=t(16882);function F(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function R(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?F(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var V=function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,s.useEffect)(function(){if(n){var t=new URL(window.location.href),r=!1;if(e.forEach(function(e){t.searchParams.has(e)&&(t.searchParams.delete(e),r=!0)}),r){var i=t.pathname+t.search;window.history.replaceState(R(R({},window.history.state),{},{as:i,url:i}),"",i)}}},[e,n])},z=t(73008),U=t(52654),Z=t(39591),G=t(22639),W=function(e){var n=e.questionId,t=e.question,r=e.showCouponBanner,i=e.viewedLawyerWithFocus,o=(0,d.useRouter)(),l=(0,A.I)(),c=(0,D.J)().goToReservation,f=(0,z.L)()._id,p=(0,s.useRef)(!1),w="success"===o.query.from,h=(0,s.useMemo)(function(){return i.length>0},[i]),m=(0,M.e)().amplitudeService,g=(0,B.a)().marketingService,v=(0,Q.ni)(i),b=v.selectedLawyers,_=v.toggleLawyer,j=(0,s.useMemo)(function(){return m?new T(m,g):null}
1,[m,g]),O=(0,Q.w9)(m,Z.g1.QNA_QUESTION_COMPLETE,Z.xg.QNA_QUESTION_COMPLETE),x=O.logImpressionCard,C=O.logClickCard,E=(0,q.Rc)(),P=E.trackSendBulkInquiry,I=E.trackCloseBulkInquiry;V(["from"],w),(0,s.useEffect)(function(){w&&n&&a.E.success("ìë´ê¸ì´ ì±ê³µì ì¼ë¡ ë±ë¡ëììµëë¤.")},[w,n]),(0,s.useEffect)(function(){if(w&&n&&!p.current){var e;null==j||j.logRegisterQuestion({questionId:n,userId:null!=f?f:"",questionTitle:null!==(e=null==t?void 0:t.title)&&void 0!==e?e:""}),p.current=!0}},[w,n,j,f,null==t?void 0:t.title]),(0,s.useEffect)(function(){return function(){a.E.dismiss()}},[]);var L=(0,s.useCallback)(function(e){if(t){var n=S.ln.QNA_DETAIL(t.number);if(e&&!l){window.open(n,"_blank");return}o.push(n)}},[t,o,l]),F=(0,s.useCallback)(function(){null==j||j.logClickQnaCompleteViewQuestion(),L(!0)},[L,j]),R=(0,q.zt)({selectedLawyers:b,defaultContent:(null==t?void 0:t.body)||"",onSubmitSuccess:function(e){P({lawyers:b,channels:e,pageLocation:Z.g1.QNA_QUESTION_COMPLETE}),L(!1)},onCloseSuccess:function(){I({pageLocation:Z.g1.QNA_QUESTION_COMPLETE})},onUnauthenticated:N.wm}).handleInquireQuickChat,W=(0,s.useCallback)(function(){null==j||j.logClickQnaCompleteSimpleInquiry(b,i),R()},[j,R,b,i]),H=(0,s.useMemo)(function(){return i.some(function(e){var n;return(null===(n=e.simpleInquiry)||void 0===n||null===(n=n.quickChat)||void 0===n?void 0:n.status)==="on"})},[i]),X=(0,s.useMemo)(function(){return i.filter(function(e){return!e.isAd}).length},[i]),J=(0,s.useMemo)(function(){return(null==t?void 0:t.focusAdCategories)||""},[t]),Y=(0,s.useMemo)(function(){return(null==t?void 0:t.modelType)||""},[t]),$=(0,s.useCallback)(function(e){C({orderNum:i.findIndex(function(n){return n._id===e._id})+1,category:J,modelType:Y,lawyer:e,id:n,recentViewCount:X});var r,o,s="",u="";e.isAd?(s="focus",e.fieldBadgeNames&&e.fieldBadgeNames.length>0?u=(e.fieldBadgeNames||[]).join(","):null!=t&&t.focusAdCategories&&(u=t.focusAdCategories)):(s=(null===(r=e.toParams)||void 0===r?void 0:r.sc)||"",u=(null===(o=e.toParams)||void 0===o?void 0:o.sca)||""),c({lawyerSlug:e.slug,isNewPage:!l,isAdLawyer:!0,source:e.isAd?"focus_ad":"recent-view",selectContext:s,selectContextAdditional:u,position:i.findIndex(function(n){return n._id===e._id})},{open:!0})},[C,J,Y,t,n,X,i,c,l]),K=(0,s.useCallback)(function(e){x({orderNum:i.findIndex(function(n){return n._id===e._id})+1,category:J,modelType:Y,lawyer:e,id:n,recentViewCount:X})},[x,J,Y,n,X,i]);return(0,u.jsxs)(G.A,{disableBodyScroll:!0,children:[(0,u.jsx)(G.A.Header,{children:(0,u.jsx)(U.m,{searchType:"none",showHistoryBackButton:!0,showLogo:!1,displayTextPerPage:"ìë´ê¸ ë±ë¡ ìë£",headerRightSideProps:{showAccountButton:!0,showBubble:!0,showBubbleText:r?"ìë´ë£ 100% ì¿ í°ì íì¸íì¸ì!":""}})}),(0,u.jsx)(G.A.Body,{children:(0,u.jsx)(k,{isMobile:l,viewedLawyerWithFocus:i,selectedLawyers:b,hasViewedLawyerWithFocus:h,onToggleLawyer:_,onClickCard:$,onSendImpressionEvent:K,onGoToQuestion:F})}),h&&(0,u.jsx)(G.A.Floating,{children:(0,u.jsx)(y,{availableInquiry:H,onGoToQuestion:F,onInquire:W})})]})},H=t(74353);function X(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}var J=function(){return(0,H.f)(),null},Y=!0,$=function(e){var n=e.origin,t=e.questionId;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(o(),{children:c(n,t).map(function(e,n){return(0,u.jsx)(l().Fragment,{children:e},"meta-".concat(n))})}),(0,u.jsx)(J,{}),(0,u.jsx)(W,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?X(Object(t),!0).forEach(function(n){(0,r.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):X(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({},e))]})}},60500:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/qna/question/complete/[id]",function(){return t(81428)}])},38254:function(e){e.exports={ltDesktop:"style_ltDesktop__Rx8qB",ltMobile:"style_ltMobile__Zdd_v","loader-wrap":"style_loader-wrap__muno7",container:"style_container__Ahuwj",header:"style_header__NVuyc","no-viewed-lawyer":"style_no-viewed-lawyer__rNmWP",title:"style_title__5h5VN","viewed-lawyer-with-focus":"style_viewed-lawyer-with-focus__GY8Gf","has-scroll":"style_has-scroll__V1g2I","section-title":"style_section-title__Vmh2y","lawyer-list":"style_lawyer
1-list__s8Azz"}}},function(e){"function"==typeof e.x?e.x():console.warn("[Module Federation] __webpack_require__.x is not a function, skipping startup extension"),_N_E=Promise.all([e.f.consumes||function(e,n){},e.f.remotes||function(e,n){}].reduce(function(e,n){return n("3366",e),e},[])).then(function(){return e.X(0,[4178,3846,7338,9965,8574,4992,686,1318,730,5798,6472,2654,7841,9916,6893,5509,2183,2888,179],function(){return e(e.s=60500)})})}]);
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.