1(self.webpackChunkcontainer=self.webpackChunkcontainer||[]).push([[519],{87608:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},58578:function(e){var t;t=function(){return function(e,t,n){e=e||{};var r=t.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,o,a,u){for(var s,c,l,f=o.$locale().relativeTime||i,h=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=h.length,v=0;v<d;v+=1){var m=h[v];m.d&&(s=a?n(t).diff(o,m.d,!0):o.diff(t,m.d,!0));var p=(e.rounding||Math.round)(Math.abs(s));if(l=s>0,p<=m.r||!m.r){p<=1&&v>0&&(m=h[v-1]);var g=f[m.l];
1u&&(p=u(""+p)),c="string"==typeof g?g.replace("%d",p):g(p,r,m.l,l);break}}if(r)return c;var b=l?f.future:f.past;return"function"==typeof b?b(c):b.replace("%s",c)},r.to=function(e,t){return o(e,t,this,!0)},r.from=function(e,t){return o(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}},e.exports=t()},14698:function(e){e.exports=function(e){return null==e}},19753:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(68885),i=n(85221),o=function(e){var t=(0,i.Ld)(function(e){return e.handlers.setPageHandler});(0,r.useEffect)(function(){return t(e),function(){t({})}},[])}},3707:function(e,t,n){"use strict";n.d(t,{V:function(){return R}});var r=n(19538),i=n(14291),o=n(69444),a=n(30315),u=n(55068),s=n(91659),c=n.n(s),l=n(66784),f=n.n(l),h=n(83806),d=n(10344),v=n(65492);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){(0,a.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var g=c().bind(f()),b=function(e){var t=e.itemName,n=e.isActive,r=e.onClick;return(0,v.jsxs)("button",{className:g("menuItemButton",n?"active":"inactive"),onClick:r,children:[(0,v.jsx)(y,{menuIconProps:{className:f().menuIcon,width:24,height:24},name:t,isActive:n}),(0,v.jsx)("div",{className:f().menuNameWrap,children:(0,v.jsx)(d.Z,{className:f().itemNameText,purpose:n?"label/bold":"label/semibold",size:10,color:n?"orange50":"grey60",children:t})})]})},y=function(e){var t=e.menuIconProps,n=e.name,r=e.isActive;return(0,v.jsxs)(v.Fragment,{children:[n===h.F.HOME&&(r?(0,v.jsx)(u.u9t,p({},t)):(0,v.jsx)(u.U8i,p({},t))),n===h.F.SEARCH&&(r?(0,v.jsx)(u.DyO,p({},t)):(0,v.jsx)(u.ujQ,p({},t))),n===h.F.ONLINE_INQUIRY&&(r?(0,v.jsx)(u.bED,p({},t)):(0,v.jsx)(u.Wi3,p({},t))),n===h.F.RECENTLY_VIEWED&&(r?(0,v.jsx)(u.QBR,p({},t)):(0,v.jsx)(u.V9o,p({},t))),n===h.F.MY_PAGE&&(r?(0,v.jsx)(u.JBT,p({},t)):(0,v.jsx)(u.ADY,p({},t)))]})},E=function(e){var t=e.activeTabMenu,n=e.handleClickTabMenu;return(0,v.jsx)("div",{className:f().bottomTabMenu,children:h.T.map(function(e,r){var i=t===e;return(0,v.jsx)(b,{isActive:i,itemName:e,onClick:function(){n&&n(e)}},r)})})},I=n(51044),j=n(9327),O=n(68885),w=n(44068),S=n(91647),T=n(48322),P=n(34559),k=n(16882),M=n(85468),_=n(73008),C=n(61445),N=n(9626),x=n(27296),A=function(e){var t=e.activeTabMenu,n=e.mobileSearch,i=(0,P.O)().showFullscreen,o=(0,T.A)(),a=(0,r.e)(),u=a.amplitudePageLocation,s=a.amplitudeService,c=(0,O.useState)(!1),l=c[0],f=c[1],h=(0,O.useCallback)(function(){var e=window.location.pathname,t=!!new URLSearchParams(window.location.search).get("keyword");(0,I.C$)(e,t)?(0,I.k3)():o({goTo:"/"})},[o]),d=(0,O.useCallback)(function(){(0,x.s)().showFullscreen(n,{bottom:I.C3})},[n]),m=(0,O.useCallback)(function(){var e=(0,I.ym)();null==s||s.logEvent(e.eventName,e.eventParams),N.c.track(e.eventName,e.eventParams),o({goTo:"/qna/question/compose"})},[s,o]),p=(0,O.useCallback)(function(){f(!0)},[]),g=(0,O.useCallback)(function(){o({goTo:"/my"})},[o]),b=(0,O.useCallback)(function(e){var t=(0,I.$r)(e,u),n=t.eventName,r=t.eventParams;switch(null==s||s.logEvent(n,r),e){case I.F5.HOME:return h();case I.F5.SEARCH:return d();case I.F5.ONLINE_INQUIRY:return m();case I.F5.RECENTLY_VIEWED:return p();case I.F5.MY_PAGE:return g()}},[u,s,h,d,m,p,g]),y=(0,O.useCallback)(function(){f(!1)},[]);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(L,{isOpen:l,onClose:y,navigate:o,amplitudeService:s,amplitudePageLocation:u}),(0,v.jsx)(E,{activeTabMenu:null!=t?t:i?"ê²ì":"í",handleClickTabMenu:b})]})},L=function(e){var t=e.isOpen,n=e.onClose,r=e.navigate,o=e.amplitudeService,a=e.amplitudePageLocation,u=(0,i.I)(),s=(0,_.L)(),c=(0,M.e)(function(e){return e.lawtalkNexusApiUrl}),l=(0,C.A)({isMobile:u,amplitudePageLocation:a,navigate:r}).handleGoLawyerProfile,f=(0,O.useMemo)(function(){return o?{logEvent:o.logEvent}:void 0},[o]),h=(0,k.a)().marketingService,d=(0,O.useCallback)(function(){r({goTo:w.ln.FIND_CATEGORY})},[r]),m=(0,O.useCallback)(function(e,t){n(),setTimeout(function(){l(e,t)},100)},[]);return(0,v.jsx)(j.zB,{nexusApiUrl:c,user:s,isOpen:t,onClose:n,onClick:m,amplitude:f,analytics:N.c,marketing:null==h?void 0:h.events,pageLocation:a,onClickSearchLawyer:d,onUnauthenticated:S.wm})},D=n(85406),R=function(e){var t=e.searchRedirectPath,n=e.activeTabMenu,a=(0,i.I)(),u=(0,r.e)(),s=u.amplitudePageLocation,c=u.amplitudeService,l=(0,o.R)({searchRedirectPath:t,amplitudePageLocation:s,amplitudeService:c,autoFetch:!0});return a?(0,v.jsx)(A,{activeTabMenu:n,mobileSearch:(0,v.jsx)(D.g,{searchInputValue:l.searchInputValue,keywords:l.ke
1ywords,showSearchHistoryList:l.isRoleAccessible,searchHistoryList:l.searchHistoryList,onSearchInputChange:l.setSearchInputValue,onSearchSubmit:l.handleSearchSubmit,onHistoryDeleteItem:function(e){return l.handleHistoryDeleteItem(void 0,e)},onHistoryDeleteAll:l.handleHistoryDeleteAll,onAmplitudeLog:l.handleAmplitudeLogEvent})}):null}},60639:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r,i=n(14792),o=n(43287),a=n(85221),u=function(){function e(t){(0,i.Z)(this,e),this.store=t}return(0,o.Z)(e,[{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:150;this.store.open(e,t)}},{key:"close",value:function(){this.store.close()}}]),e}(),s=function(){return r||(r=new u((0,a.LR)("bottomDrawer").fns))}},98019:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r,i=n(14792),o=n(43287),a=n(85221),u=function(){function e(t){(0,i.Z)(this,e),this.fns=t}return(0,o.Z)(e,[{key:"open",value:function(e,t){this.fns.open(e,t)}},{key:"close",value:function(e){this.fns.close(e)}},{key:"closeAll",value:function(){this.fns.closeAll()}},{key:"getComponents",value:function(){this.fns.getComponents()}}]),e}(),s=function(){return r||(r=new u((0,a.LR)("popup").fns))}},12594:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(68885),i=n(65492),o=function(e){var t=e.children,n=(0,r.useState)(!1),o=n[0],a=n[1];return(0,r.useEffect)(function(){a(!0)},[]),o?(0,i.jsx)(i.Fragment,{children:t}):null}},46738:function(e,t,n){"use strict";n.d(t,{lW:function(){return i},TA:function(){return o},Wf:function(){return a.W},RT:function(){return u.R}});var r=n(68885),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.axis,n=void 0===t?"vertical":t,i=(0,r.useRef)(null),o=(0,r.useState)(!1),a=o[0],u=o[1];return(0,r.useEffect)(function(){var e=i.current;if(e){var t=function(){var t="horizontal"===n?e.scrollWidth>e.clientWidth:e.scrollHeight>e.clientHeight;u(function(e){return e===t?e:t})};t();var r=new ResizeObserver(t);r.observe(e);var o=new MutationObserver(t);return o.observe(e,{childList:!0,subtree:!0,characterData:!0}),function(){r.disconnect(),o.disconnect()}}},[n]),[i,a]},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=(0,r.useRef)(null),i=(0,r.useCallback)(function(){n.current&&(clearTimeout(n.current),n.current=null)},[]);return{onTouchStart:(0,r.useCallback)(function(){i(),n.current=setTimeout(e,t)},[e,i,t]),onTouchEnd:i,onTouchMove:i,onTouchCancel:i}},a=n(55904),u=n(37373)},55904:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(68885),i=function(e,t){(0,r.useEffect)(function(){var n=setInterval(function(){document.hidden||e()},t);return function(){return clearInterval(n)}},[e,t])}},37373:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r=n(68885),i=function(e){(0,r.useEffect)(function(){var t=0,n=function(){var n=Date.now();n-t<300||(t=n,"visible"===document.visibilityState&&e())};return document.addEventListener("visibilitychange",n),window.addEventListener("focus",n),function(){document.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}},[e])}},75712:function(e,t,n){"use strict";n.d(t,{MAP_MENU_NAME_TO_INFO:function(){return i},useHasScroll:function(){return o.lW},usePolling:function(){return o.Wf},useVisibilityRefetch:function(){return o.RT}});var r=n(44068),i={í:{path:r.ln.MAIN},íµí©:{path:r.ln.MAIN},ë³í¸ì¬:{path:r.ln.LAWYERS()},ë¡í:{path:r.ln.LAW_FIRMS},ìë´ì¬ë¡:{path:r.ln.QNA_LIST,query:{pg:1,sort:"recentAnswer"}},ë³í¸ì¬í¬ì¤í¸:{path:r.ln.CASE_LIST},í´ê²°ì¬ë¡:{path:r.ln.CASE_LIST},ë²ë¥ ê°ì´ë:{path:r.ln.GUIDE_LIST},íë¡ë보기:{path:r.ln.CASE_LENS_LIST},ë²ë¥ ëìì:{path:r.ln.VIDEO_LIST}};n(19441);var o=n(46738)},19441:function(){},50222:function(e,t,n){"use strict";n.d(t,{L:function(){return c}});var r=n(30315),i=n(30538),o=n(68885),a=n(65492);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var c=function(e){var t=e.children,n=e.params,r=(0,o.useContext)(i.f);return(0,a.jsx)(i.f.Provider,{value:function(e){var t,i=e.componentName,o=e.as,a=e.eventName,u=e.provided,c=e.data;n&&u?t=s(s({},n),u):n&&!u?t=n:!n&&u&&(t=u),r({componentName:i,as:o,eventName:a,data:c,provided:t})},children:t})}},66784:function(e){e.exports={bottomTabMenu:"BottomTabMenu_bottomTabMenu__xaaqn",menuItemButton:"BottomTabMenu_menuItemButton___DSsM",menuNameWrap:"BottomTabMenu_menuNameWrap__LsSSi",inactive:"BottomTabMenu_inactive__CcGbA",menuIcon:"BottomTabMenu_menuIcon__mXMFu",active:"BottomTabMenu_active__fElXS",itemNameText:"BottomTabMenu_itemNameText__kkwim"}},28937:function(e,t,n){"use strict";n.d(t,{ZH:function(){return i}});var r=class{plugins=[];initialized=!1;debug=!1;init(e){for(let t of(this.initialized&&this.destroy(),this.debug=e.debug??!1,this.plugins=[...e.plugins],this.plugins))try{t.init()}catch(e){this.handleError(t.name,"init",e)}this.initialized=!0}track(...e){this.assertInitialized();let t=e[0],n=e[1],r=e[2];for(let e of this.plugins)try{e.track(t,n,r)}catch(t){this.handleError(e.name,"track",t)}}setPage(e,t){for(let n of(this.assertInitialized(),this.plugins))try{n.setPage(e,t)}catch(e){this.handleError(n.name,"setPage",e)}}setUserId(e){for(let t of(this.assertInitialized(),this.plugins))try{t.setUserId(e)}catch(e){this.handleError(t.name,"setUserId",e)}}setUserProperties(e){for(let t of(this.assertInitialized(),this.plugins))try{t.setUserProperties(e)}catch(e){this.handleError(t.name,"setUserProperties",e)}}resetUser(){for(let e of(this.assertInitialized(),this.plugins))try{e.resetUser()}catch(t){this.handleError(e.name,"resetUser",t)}}getPlugin(e){if(this.initialized)return this.plugins.find(t=>t.name===e)}getDeviceId(e){if(this.assertInitialized(),e){let t=this.plugins.find(t=>t.name===e);if(!t)return this.debug&&console.warn(`[Analytics] Plugin "${e}" not found`),null;try{return t.getDeviceId()}catch(e){return this.handleError(t.name,"getDeviceId",e),null}}for(let e of this.plugins)try{let t=e.getDeviceId();if(null!==t)return t}catch(t){this.handleError(e.name,"getDeviceId",t)}return null}destroy(){for(let e of this.plugins)try{e.destroy?.()}catch(t){this.handleError(e.name,"destroy",t)}this.plugins=[],this.initialized=!1}assertInitialized(){if(!this.initialized)throw Error("[Analytics] Not initialized. Call init() first.")}handleError(e,t,n){this.debug&&console.error(`[Analytics] Plugin "${e}" error in "${t}":`,n)}};function i(e){let t=new r;return e&&t.init(e),t}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.