PageSourceSearch

https://www.hankookilbo.com/_next/static/chunks/7970-9ff51c00eefcb0ec.js

js hankookilbo.com collected 2026-10-01 10:32:17 UTC 108,435 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7970],{1081:(e,t,a)=>{a.d(t,{P:()=>r});var l=a(97251),i=a(2081),n=a(42914);let r=e=>{let{topComponent:t,bottomComponent:a,main:r}=e,s=(0,n.A)(e=>e.isHeaderTop);return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:(0,i.cn)("flex items-center justify-end",r&&s&&"mb-16"),children:t}),(0,l.jsx)("div",{className:(0,i.cn)("flex items-center justify-end sm:gap-32 md:gap-36"),children:a})]})}},2850:(e,t,a)=>{a.d(t,{PB:()=>n,Q7:()=>i,of:()=>r});var l=a(13602);let i=e=>"LoginWall"===e.viewType,n=e=>{if(!e.viewPublicStartDt||!e.viewPublicEndDt)return!1;let t=(0,l.A)(e.viewPublicStartDt.replaceAll(".","/")),a=(0,l.A)(e.viewPublicEndDt.replaceAll(".","/"));return(0,l.A)().isBetween(t,a,"day","[]")},r=e=>i(e)&&!n(e)},4190:(e,t,a)=>{a.d(t,{Et:()=>n,Mj:()=>r,jb:()=>o,xK:()=>d});let l=["small","medium","big","original"],i=(e,t)=>{if(!e)return null;if(/\.gif($|\?)/i.test(e)||"original"===t||e.endsWith(".gif"))return e;try{let a=new URL(e);if(!a.hostname.includes("newsimg.hankookilbo.com"))return e;let i=a.pathname.split("/").filter(Boolean);if(i.length<4)return e;let n=-1;for(let e=0;e<i.length-2;e++)if(/^\d{4}$/.test(i[e])&&/^\d{2}$/.test(i[e+1])&&/^\d{2}$/.test(i[e+2])){n=e;break}if(-1===n)return e;let r=n>0?i.slice(0,n).filter(e=>!l.includes(e)):[],s=i[n],c=i[n+1],o=i[n+2],d=i.slice(n+3).join("/"),m=r.length>0?"/".concat(r.join("/")):"";return"".concat(a.protocol,"//").concat(a.hostname).concat(m).concat("big"===t||"medium"===t?"/".concat(t):"","/").concat(s,"/").concat(c,"/").concat(o,"/").concat(d)}catch(t){return e}},n=e=>i(e,"big"),r=(e,t,a,l,r)=>(e=>{let t=[],a=new Set;for(let l=e.length-1;l>=0;l--){let i=e[l];i&&!a.has(i)&&(t.unshift(i),a.add(i))}return t})(r.reduce((r,s)=>(1===s?(l&&r.push(t),r.push(e)):2===s?r.push(a):3===s?r.push(i(a,"medium")):4===s&&r.push(n(a)),r),[]).filter(Boolean)),s=[1,3,2],c=[2,3,1];function o(e,t,a,l,i){return r(e,t,a,l,function(e,t,a){if("cartoon"===e||"Z2"===t)return!0;if(a){let e=a.replace(/<[^>]*>/g,"").trim();return/한국일보\s*\d{1,2}월\s*\d{1,2}일자\s*만평/.test(e)}return!1}(null==i?void 0:i.subSectionCd,null==i?void 0:i.articleSubtype,null==i?void 0:i.displayTitle)?c:s)}let d=e=>{let t=e.trim();return/^data:/i.test(t)?/^data:image\//i.test(t):/\.(webp|svg|gif|a?png|avif|jpe?g)$/i.test(t.split(/[?#]/)[0])}},4899:(e,t,a)=>{a.d(t,{W:()=>d});var l=a(94568),i=a(33),n=a(90187),r=a(33559),s=a(23834);let c={GNB_MENU:300},o=async()=>await r.W.get(s.Q.MENU_GNB,{next:{revalidate:c.GNB_MENU,tags:["gnb-menu"]},timeout:3e3}),d=e=>{var t;let a=(0,i.useDevice)(e=>e.device),r=(0,i.useDevice)(e=>e.isSmallTablet),{data:s}=(0,n.useQuery)({queryKey:["gnbMenu"],queryFn:()=>o(),throwOnError:!1}),c=function(e){return e&&"N"!=e.displayYn?{label:"main_topic",title:e.title,path:e.path,displayYn:e.displayYn}:null}(null==s||null==(t=s.data)?void 0:t.detail),d=l.sc.slice(0,9);if("pc"===a&&c&&(null==c?void 0:c.displayYn)==="Y"&&(d[0]=c),e&&(d=d.filter(e=>"premium"!==e.label)),"mobile"===a||"tablet"===a||r){let e=d.filter((e,t)=>0===t||"premium"===e.label);return{visibleMenu:c?[...e,c]:e}}return{visibleMenu:d}}},4910:(e,t,a)=>{a.d(t,{z:()=>u});var l=a(93915),i=a(30529),n=a(96103),r=a(79277),s=a(30523),c=a(99882);let o=e=>"Y"===e?"like":"N"===e?"dislike":null,d=e=>"like"===e?"Y":"N";var m=a(51844),p=a(95506);let u=()=>{var e,t,a;let u=(0,m.useQueryClient)(),h=(0,s.A)(e=>e.isLoginStatus),x=(0,l.x)(e=>e.currentEmotions),g=(0,l.x)(e=>e.isEmotionApiResolved),y=(0,l.x)(e=>e.setCurrentEmotions),v=(0,c.Ph)(),A=(0,n.N)(e=>e.currentArticle),f=(0,i.xw)(),b=(0,r.w)(e=>
1e.saveActivity),w=(0,r.w)(e=>e.getActivity),N=A?w(A.articleId,"Sympathy"):void 0,j=o(null==x?void 0:x.sympathyYn),C=o(null==N?void 0:N.activityYn),E=h?null!=j?j:C:null!=C?C:j,k=f.isPending;return{handleReact:e=>{if(!x||!A||k)return;E!==e&&v("like"===e?"좋아요":"싫어요");let t=d(e);f.mutate({targetId:A.articleId,activityType:"Sympathy",activityYn:t,...!h&&{activityId:(null==N?void 0:N.activityId)||""}},{onSuccess:t=>{((e,t,a)=>{var l,i,n;if(!x||!A)return;let r=(e=>{if(null==e)return null;if("string"==typeof e)return{activityId:e};let t={};return("number"==typeof e.likes&&(t.likes=e.likes),"number"==typeof e.dislikes&&(t.dislikes=e.dislikes),"number"==typeof e.totalEmotion&&(t.totalEmotion=e.totalEmotion),"string"==typeof e.activityId&&(t.activityId=e.activityId),void 0!==t.likes||void 0!==t.dislikes||void 0!==t.totalEmotion||t.activityId)?t:null})(e.data),s=((e,t)=>e===t?null:d(t))(t,a),c=null===s?void 0:s;r?(y({...void 0!==r.likes||void 0!==r.dislikes||void 0!==r.totalEmotion?((e,t)=>{var a,l,i;return{...e,likes:null!=(a=t.likes)?a:e.likes,dislikes:null!=(l=t.dislikes)?l:e.dislikes,totalEmotion:null!=(i=t.totalEmotion)?i:e.totalEmotion}})(x,r):x,sympathyYn:s}),h||b(A.articleId,"Sympathy",{activityId:null!=(i=null!=(l=r.activityId)?l:null==N?void 0:N.activityId)?i:"",activityYn:c})):(y({...x,sympathyYn:s}),h||b(A.articleId,"Sympathy",{activityId:null!=(n=null==N?void 0:N.activityId)?n:"",activityYn:c}
1)),u.invalidateQueries({queryKey:[p.zX]}),u.invalidateQueries({queryKey:[p.To]})})(t,E,e)}})},currentSelected:E,emotions:x,isEmotionApiResolved:g,isPending:k,likes:null!=(e=null==x?void 0:x.likes)?e:0,dislikes:null!=(t=null==x?void 0:x.dislikes)?t:0,totalEmotion:null!=(a=null==x?void 0:x.totalEmotion)?a:0}}},4947:(e,t,a)=>{a.d(t,{i:()=>c});var l=a(20232),i=a(88176),n=a(59913);let r={size:18,label:"base"},s=(0,l.y)()((0,n.Zr)((e,t)=>({options:[{size:14,label:"min"},{size:16,label:"small"},{size:18,label:"base"},{size:22,label:"large"},{size:26,label:"max"}],selectedOption:r,setSelectedOption:t=>e({selectedOption:t}),initSelectedOption:()=>e({selectedOption:r})}),{name:"text-resize-storage",storage:(0,n.KU)(()=>localStorage),partialize:e=>({selectedOption:e.selectedOption})})),c=e=>(0,i.P)(s,e)},6677:(e,t,a)=>{a.d(t,{H:()=>r});var l=a(97251),i=a(2081),n=a(17382);let r=e=>{let{counts:t,selected:a,onClickAction:r,size:s="large",reactions:c=[{key:"like",label:"좋아요",icon:"smile_gif"},{key:"dislike",label:"싫어요",icon:"rage_gif"}],variant:o,disabled:d}=e,m="premium"===o;return(0,l.jsx)("div",{className:"flex items-center justify-center gap-8",children:c.map(e=>{let c=a===e.key,p="like"===e.key?"text-reverse-green-40":"text-status-negative";return(0,l.jsx)(n.A,{ga4Trigger:"article_reaction",size:s,color:"default"===o?"neutral_gray":"premium",label:e.label,text:t[e.key],leftIconName:e.icon,active:c,disabled:d,labelStyle:{size:"14",bold:"bold",color:""},textStyle:{size:"18",bold:"bold",color:"",className:"ml-0 w-36"},className:(0,i.cn)("transition","py-12! pr-12! pl-16! sm:py-8! sm:pr-16! sm:pl-24!",m&&"border-button-neutral-gray-ghost-border! hover:border-button-neutral-black-ghost-hover-border!","like"===e.key?"gtm-reaction-like":"gtm-reaction-dislike",d&&"cursor-not-allowed opacity-50"),iconSize:"3.2rem",activeTextClassName:p,activeClassName:"premium:border-common-0!",onClick:()=>r(e.key)},e.key)})})}},7e3:(e,t,a)=>{a.d(t,{MainNavigation:()=>p});var l=a(97251),i=a(61141),n=a(2081),r=a(94568),s=a(42914),c=a(4899),o=a(1940),d=a(33),m=a(52931);let p=e=>{let{isWhite:t=!1,className:a}=e,p=(0,s.A)(e=>e.isOpenSiteMap);(0,o.usePathname)();let u=(0,d.useDevice)(e=>e.device),h=(0,d.useDevice)(e=>e.isSmallTablet),x="tablet"===u||h,g="mobile"===u&&!h||x,{visibleMenu:y}=(0,c.W)(),v=t&&!p,A=v?"text-green-70 dark:text-reverse-green-70":"text-reverse-green-40 dark:text-reverse-green-70",f=v?"text-gold-40":"text-reverse-gold-70",b=v?"text-common-100":"text-reverse-grayscale-10";return(0,l.jsx)("nav",{className:(0,n.cn)("absolute left-1/2 -translate-x-1/2",a),"aria-label":"메인 메뉴",children:(0,l.jsx)("ul",{className:(0,n.cn)("flex gap-12 md:gap-32",x&&"max-w-[360px]"),role:"list",children:y.map((e,t)=>{let a="premium"===e.label,s="deep"===e.label,c="main_topic"===e.label;return(0,l.jsxs)(m.Fragment,{children:[(0,l.jsx)("li",{className:"relative",children:(0,l.jsx)(i.A,{"data-ga4":"main_gnb_mainpanel",href:(0,r.b0)(e),children:(0,l.jsx)("p",{className:(0,n.cn)("text-18 md:text-20 px-4 font-semibold whitespace-nowrap transition-all hover:[-webkit-text-stroke:0.05rem_currentColor]",a&&"text-19",!g&&c&&A,a&&f,s&&"text-teal-50 dark:text-teal-70",!c&&!a&&!s&&b),children:e.title})})}),g&&t<y.length-1&&(0,l.jsx)("li",{className:"flex flex-1 items-center justify-center",children:(0,l.jsx)("span",{className:"bg-grayscale-92 dark:bg-grayscale-30 h-16 w-px"})})]},e.title)})})})}},8340:(e,t,a)=>{a.d(t,{A:()=>s});var l=a(97251);a(52931);var i=a(27391),n=a(62332),r=a(4947);let s=()=>{let e=(0,r.i)(e=>e.options),t=(0,r.i)(e=>e.selectedOption),a=(0,r.i)(e=>e.setSelectedOption),s=e.reduce((e,t,a)=>(e[a]=(0,l.jsx)("span",{}),e),{}),c=e.findIndex(e=>e.size===t.size);return(0,l.jsxs)("div",{className:"bg-reverse-grayscale-99 flex items-center gap-25 px-24 py-6 shadow-md",children:[(0,l.jsx)(n.A,{type:"18",bold:"medium",children:"가"}),(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(i.A,{min:0,max:e.length-1,step:null,marks:s,value:c,onChange:t=>{let l=e[t];l&&a(l)},tooltip:{open:!1}})}),(0,l.jsx)(n.A,{type:"28",bold:"extrabold",children:"가"})]})}},9351:(e,t,a)=>{a.d(t,{EtcHeaderLayout:()=>m});var l=a(97251),i=a(52931),n=a(2081),r=a(42914),s=a(33),c=a(27970),o=a(1940),d=a(95369);let m=e=>{let{children:t,className:a,isMyPage:m=!1,isTopFixed:p=!0}=e,u=(0,s.useDevice)(e=>e.device),h="tablet"===u,x="mobile"===u,g=(0,r.A)(e=>e.isHeaderScroll),y=(0,r.A)(e=>e.isHeaderTop),v=(0,r.A)(e=>e.isOpenSiteMap),A=(0,r.A)(e=>e.setOpenSiteMap),f=(0,r.A)(e=>e.hasMoreDepthChildren),b=(0,o.usePathname)();(0,i.useEffect)(()=>{(v||g)&&A(!1)},[b,g]),(0,i.useEffect)(()=>{let e=d.A.getState().clickAlarm;v&&!e&&r.A.getState().setIsAlarmLayerOpen(!1)},[v]);let w=f||!p?!y&&"-translate-y-[100%]":g&&"",N=v&&"bg-reverse-common-100 shadow-none";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("header",{className:(0,n.cn)("header","fixed w-full top-0 transition-all duration-400 z-650",w,y?"top-0 bg-none":"shadow-sm bg-reverse-common-100",N,a),children:(0,l.jsx)("div",{className:(0,n.cn)("flex items-center justify-between gap-60",x?"h-64 px-16 xssm:px-20":h?"h-64 px-20":"h-76 wrap"),children:t})}),!x&&!h&&v&&(0,l.jsx)(c.iq,{}),(x||h)&&m&&v&&(0,l.jsx)(c.Du,{})]})}},11331:(e,t,a)=>{a.d(t,{EtcPcIconUtility:()=>p});var l=a(97251),i=a(61141),n=a(65294),r=a(14938),s=a(2081),c=a(57190),o=a(30523),d=a(52642),m=a(92062);let p=e=>{let{showShare:t=!0,className:a,iconColor:p,links:u}=e,h=(0,o.A)(e=>e.isLoginStatus),x=(0,d.O)(null==u?void 0:u.login,null==u?void 0:u.sp),g=u?(0,m.Ly)(u.mypage,u.sp):"/mypage";return(0,l.jsxs)(r.A,{gap:16,className:(0,s.cn)("items-center sm:gap-4",a),children:[(0,l.jsx)(i.A,{href:h?g:x,"aria-label":h?"마이페이지":"로그인",className:(0,s.cn)("sm:hover:bg-opacity-light-5 sm:active:bg-opacity-light-12 rounded-circle","p-0",h?"sm:p-4":"sm:p-8"),children:(0,l.jsx)("div",{className:(0,s.cn)(h&&"rounded-circle bg-reverse-grayscale-10 p-4"),children:(0,l.jsx)(n.A,{name:"user",width:h?"20px":"24px",height:h?"20px":"24px",color:h?"text-reverse-common-100":p})})}),t&&(0,l.jsx)("div",{className:(0,s.cn)("sm:hover:bg-opacity-light-5 sm:active:bg-opacity-light-12 rounded-circle flex sm:p-8",p),children:(0,l.jsx)(c.A,{})})]})}},11586:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(88176);let i={isLayerOpen:!1,autoFocus:!1},n=(0,l.v)(e=>({...i,toggleLayer:()=>e(e=>({isLayerOpen:!e.isLayerOpen})),openLayer:function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e({isLayerOpen:!0,autoFocus:t})},closeLayer:()=>e({isLayerOpen:!1,autoFocus:!1}),init:()=>e({...i})}))},11886:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(97251),i=a(2081),n=a(90047);let r=e=>{let{minHeight:t,className:a}=e;return(0,l.jsx)("div",{className:(0,i.cn)("relative inset-0 z-500 flex h-full w-full items-center justify-center",a),style:{minHeight:void 0!==t?"number"==typeof t?"".concat(t,"px"):t:"200px"},children:(0,l.jsx)(n.default,{className:"animate-spin",width:24,height:24})})}},12947:(e,t,a)=>{a.d(t,{ArticleHeaderLayout:()=>m});var l=a(97251),i=a(52931),n=a(2081),r=a(42914),s=a(16369),c=a(27970),o=a(1940),d=a(95369);let m=e=>{let{children:t,className:a,isMobile:m,pageVariant:p,as:u}=e,h=(0,r.A)(e=>e.isHeaderScroll),x=(0,r.A)(e=>e.isHeaderTop),g=(0,r.A)(e=>e.isOpenSiteMap),y=(0,r.A)(e=>e.setOpenSiteMap),v=(0,o.usePathname)();(0,i.useEffect)(()=>{(g||h)&&y(!1)},[v,h]),(0,i.useEffect)(()=>{let e=d.A.getState().clickAlarm;g&&!e&&r.A.getState().setIsAlarmLayerOpen(!1)},[g]);let A=x?"bg-none":(0,n.cn)("shadow-sm","premium"===p?"bg-grayscale-5":"bg-reverse-common-100"),f=g&&"shadow-none",b=g&&"transition-bg duration-200 md:bg-reverse-common-100 ";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(null!=u?u:"header",{className:(0,n.cn)("header","fixed left-0 top-0 z-650 w-full transition-colors duration-400",A,f,a),children:(0,l.jsx)("div",{className:(0,n.cn)("w-full",b),children:(0,l.jsx)("div",{className:"wrap wrap--v2 flex h-64 items-center px-16! md:h-80 md:px-40!",children:t})})}),!m&&g&&(0,l.jsx)(s.SiteMap,{className:"top-64 sm:top-80"}),m&&g&&(0,l.jsx)(c.Du,{})]})}},14938:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(97251),i=a(2081);let n=e=>{let{gap:t,children:a,className:n}=e;return(0,l.jsx)("div",{className:(0,i.cn)("relative flex gap-".concat(t),n),children:a})}},16369:(e,t,a)=>{a.d(t,{SiteMap:()=>A});var l=a(97251),i=a(61141),n=a(62332),r=a(63972),s=a(2081);let c={normal:"shadow-sm",emphasize:"shadow-md",strong:"shadow-lg",heavy:"shadow-xl"},o=e=>{let{type:t,TagName:a="div",className:i,children:n}=e;return(0,l.jsx)(a,{className:(0,s.cn)(c[t],i),children:n})};
1var d=a(42914),m=a(32522),p=a(92062),u=a(65294),h=a(36762),x=a(52931);let g=(0,l.jsx)(r.A,{width:1,height:"100%",color:"var(--color-list-border)"}),y=e=>{let{item:t}=e;return(0,l.jsxs)(i.A,{href:(0,p.sX)(t.path),className:"flex gap-4 py-8",target:t.target?"_blank":"",children:[(0,l.jsx)(n.A,{type:"17",bold:"semibold",className:(0,s.cn)("text-reverse-grayscale-10","Premium"===t.name&&"text-reverse-gold-70","H 탐사 플러스"===t.name&&"dark:text-teal-70 text-teal-50","휙"===t.name&&"text-reverse-huick"),children:t.name}),t.premium&&(0,l.jsx)(u.A,{name:"premium",width:"12",height:"12",className:"mt-5"})]})},v=e=>{let{child:t}=e;return(0,l.jsx)(i.A,{href:(0,p.sX)(t.path),className:"py-8",target:t.target?"_blank":"",children:(0,l.jsx)(n.A,{type:"16",bold:"medium",className:(0,s.cn)("text-reverse-grayscale-40","Premium"===t.name&&"text-reverse-gold-70","H 탐사 플러스"===t.name&&"dark:text-teal-70 text-teal-50","휙"===t.name&&"text-reverse-huick"),children:t.name})})},A=e=>{let{main:t=!1,className:a,isSearch:i=!1}=e,n=(0,x.useRef)(null),r=(0,d.A)(e=>e.isHeaderTop),c=(0,d.A)(e=>e.setOpenSiteMap),p=(0,h.a)(e=>e.isBanner),u=(0,h.a)(e=>e.isBannerFold),[A,f,b,w,N,j,C,E]=m.C;return(0,x.useEffect)(()=>{let e=e=>{n.current&&!n.current.contains(e.target)&&c(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,x.useEffect)(()=>{let e=document.activeElement,t=e=>{"Escape"===e.key&&c(!1)};return document.addEventListener("keydown",t),()=>{var a;document.removeEventListener("keydown",t),null==e||null==(a=e.focus)||a.call(e)}},[c]),(0,l.jsx)("nav",{id:"site-map-panel","aria-label":"전체 메뉴",ref:n,children:(0,l.jsx)(o,{type:"emphasize",className:(0,s.cn)("bg-reverse-common-100 border-reverse-grayscale-97 fixed top-76 z-600 h-391 w-full border-t pt-40 pb-50",t&&"left-0",(()=>{let e=!i&&t&&p;return e&&u?r?"top-[18rem]":"top-[13.6rem]":e?r?"top-[31.6rem]":"top-[27.6rem]":t&&r?"top-[12rem]":""})(),a),children:(0,l.jsx)("div",{className:"wrap",children:(0,l.jsxs)("div",{className:"flex gap-37",children:[(0,l.jsxs)("div",{className:"flex gap-37",children:[(0,l.jsx)("ul",{role:"list",children:A.title.map(e=>(0,l.jsxs)("li",{className:"w-125",children:[(0,l.jsx)(y,{item:e}),A.children&&(0,l.jsx)("ul",{role:"list",children:A.children.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(v,{child:e})},e.id))})]},e.id))}),g]}),(0,l.jsxs)("div",{className:"flex gap-37",children:[(0,l.jsxs)("div",{className:"w-200",children:[(0,l.jsx)("ul",{role:"list",className:"flex flex-wrap",children:f.title.map(e=>(0,l.jsx)("li",{className:"w-[50%]",children:(0,l.jsx)(y,{item:e})},e.id))}),(0,l.jsx)("ul",{role:"list",className:"mt-37",children:b.title.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(y,{item:e})},e.id))})]}),g]}),(0,l.jsxs)("div",{className:"flex gap-37",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("ul",{role:"list",children:w.title.map(e=>(0,l.jsxs)("li",{className:"w-125",children:[(0,l.jsx)(y,{item:e}),w.children&&(0,l.jsx)("ul",{role:"list",children:w.children.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(v,{child:e})},e.id))})]},e.id))}),(0,l.jsx)("ul",{role:"list",children:N.title.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(y,{item:e})},e.id))})]}),g]}),(0,l.jsxs)("div",{className:"flex gap-37",children:[(0,l.jsx)("ul",{role:"list",children:j.title.map(e=>(0,l.jsxs)("li",{className:"w-125",children:[(0,l.jsx)(y,{item:e}),j.children&&(0,l.jsx)("ul",{role:"list",children:j.children.map(e=>(0,l.jsx)("li",{children:(0,l.jsx)(v,{child:e})},e.id))})]},e.id))}),g]}),(0,l.jsxs)("div",{className:"flex gap-37",children:[(0,l.jsx)("div",{children:(0,l.jsx)("ul",{role:"list",className:"mb-24",children:C.title.map(e=>(0,l.jsx)("li",{className:"w-125",children:(0,l.jsx)(y,{item:e})},e.id))})}),g]}),(0,l.jsx)("div",{className:"flex gap-37",children:(0,l.jsx)("ul",{role:"list",children:E.title.map(e=>(0,l.jsx)("li",{className:"w-125",children:(0,l.jsx)(y,{item:e})},e.id))})})]})})})})}},17382:(e,t,a)=>{a.d(t,{A:()=>m});var l=a(97251),i=a(2081),n=a(62332);a(52931);var r=a(79164);let s={default:"btn ghost",primary:"btn-primary",secondary:"btn-secondary",neutral_black:"btn-neutral-black",neutral_gray:"btn-neutral-gray",white:"btn-white",premium:"btn-premium"},c={default:"btn-size rounded-[0.4rem]",giant:"giant",large:"large",medium:"medium",small:"small",tiny:"tiny"},o={giant:"18",large:"16",medium:"14",small:"13",tiny:"11"},d={giant:"2.4rem",large:"2rem",medium:"2rem",small:"1.8rem",tiny:"1.6rem"},m=e=>{var t,a,m,p;let{color:u,size:h,label:x,text:g,className:y,disabled:v,leftIconName:A,active:f=!1,onClick:b,iconSize:w,iconColor:N,leftIconClassName:j,activeTextClassName:C,activeClassName:E,labelStyle:k,textStyle:I,ga4Trigger:O}=e,S=(0,i.cn)(s.default,s[u],c.default,c[h],"group",y,f&&E,f&&"gtm-reaction-active");return(0,l.jsxs)("button",{...O?{"data-ga4":O,"data-ga4-direct":!0}:{},type:"button",className:S,disabled:v,onClick:b,"aria-pressed":f,children:[A&&(0,l.jsx)(r.EmpathyGIFIcons,{name:A,width:null!=w?w:d[h],height:null!=w?w:d[h],className:(0,i.cn)(j)}),(0,l.jsx)(n.A,{type:null!=(t=null==k?void 0:k.size)?t:o[h],bold:null!=(a=null==k?void 0:k.bold)?a:"semibold",TagName:"span",className:(0,i.cn)("!leading-none",null==k?void 0:k.className,null==k?void 0:k.color),children:x}),(0,l.jsx)(n.A,{type:null!=(m=null==I?void 0:I.size)?m:"18",bold:null!=(p=null==I?void 0:I.bold)?p:"extrabold",TagName:"span",className:(0,i.cn)("ml-6 inline-block min-w-[3.2rem]",f&&C,null==I?void 0:I.className,null==I?void 0:I.color),"aria-live":"polite","aria-atomic":"true",children:g})]})}},18994:(e,t,a)=>{a.d(t,{ArticlePcNavigation:()=>d});var l=a(97251),i=a(61141),n=a(2081),r=a(94568),s=a(4899),c=a(33),o=a(52931);let d=e=>{let{color:t,isPremiumPage:a}=e,{visibleMenu:d}=(0,s.W)(a),m=(0,c.useDevice)(e=>e.device),p=(0,c.useDevice)(e=>e.isSmallTablet),u="tablet"===m||p,h="mobile"===m&&!p||u,x="black"===t?"text-green-40":"text-green-70",g="black"===t?"text-gold-70 dark:text-gold-40":"text-gold-40",y="black"===t?"text-teal-50 dark:text-teal-70":"text-teal-70",v="black"===t?"text-reverse-grayscale-10":"text-common-100";return(0,l.jsx)("nav",{className:(0,n.cn)(u&&"absolute left-1/2 -translate-x-1/2"),"aria-label":"메인 메뉴",children:(0,l.jsx)("ul",{className:(0,n.cn)("flex gap-12 md:gap-32",u&&"max-w-[360px]"),role:"list",children:d.map((e,t)=>{let a="premium"===e.label,s="deep"===e.label,c="main_topic"===e.label;return(0,l.jsxs)(o.Fragment,{children:[(0,l.jsx)("li",{className:"relative",children:(0,l.jsx)(i.A,{"data-ga4":"main_gnb_mainpanel",href:(0,r.b0)(e),children:(0,l.jsx)("p",{className:(0,n.cn)("text-18 md:text-20 px-4 font-semibold whitespace-nowrap transition-all hover:[-webkit-text-stroke:0.05rem_currentColor]",a&&u&&"text-19",!h&&c&&x,a&&g,s&&y,!c&&!a&&!s&&v),
1children:e.title})})}),u&&t<d.length-1&&(0,l.jsx)("li",{className:"flex flex-1 items-center justify-center",children:(0,l.jsx)("span",{className:"bg-grayscale-30 h-16 w-px"})})]},t)})})})}},20426:(e,t,a)=>{a.d(t,{default:()=>n});var l=a(97251),i=a(65664);let n=e=>{let{size:t,children:a,id:n,tooltip:r,openOnClick:s,isDisabled:c,style:o}=e;return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{"data-tooltip-id":n,children:a}),(0,l.jsx)(i.m_,{id:n,place:r.place,content:r.content,style:{backgroundColor:"var(--color-tooltip-bg)",padding:"large"===t?"1.6rem":"medium"===t?"0.8rem 1.6rem":"0.3rem 1rem 0.4rem 1rem",fontSize:"small"===t?"var(--text-13)":"var(--text-15)",borderRadius:"0.4rem",zIndex:"101",...o},openOnClick:s,hidden:null!=c&&c})]})}},22707:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});let l={src:"/_next/static/media/mbti_thumbnail.96498a78.png",height:720,width:1200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAPFBMVEX27+KPjon/+ezRzMLV1NH68+aJgHnh3tH+/Pr/9uiwraW4tavK18nq7OjXx7+oaJDKxsejjpmAeYqNbaMrOHO0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAALUlEQVR4nAXBhwEAIAjAsKoo4B7//2oCoAoQaykhJCdLu2dqBte3uoPZkC1mHxMeARIUUu15AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5}},25169:(e,t,a)=>{a.d(t,{AlarmLayer:()=>L});var l=a(97251),i=a(2081),n=a(91596),r=a(98455),s=a(96264),c=a(52931),o=a(20182),d=a(53352),m=a(33),p=a(62332),u=a(42914),h=a(61141);let x=e=>{let{data:t}=e,a="mobile"===(0,m.useDevice)(e=>e.device),r=t.link?h.A:"div",s=(0,u.A)(e=>e.setIsAlarmLayerOpen),x="속보"===t.articleType?"text-orange-red-50":"단독"===t.articleType?"text-green-40":"구독"===t.articleType?"text-green-30":null,g="속보"===t.articleType,[y,v]=(0,c.useState)(!g&&(!t.thumbnail||0===t.thumbnail.length));return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:(0,i.cn)("flex flex-row flex-wrap gap-8 md:flex-nowrap md:gap-20"),children:[a&&(0,l.jsxs)("div",{className:"flex w-full items-center justify-between",children:[t.articleType&&(0,l.jsx)(p.A,{type:"13",bold:"semibold",className:(0,i.cn)(x),children:t.articleType}),t.deployDt&&(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)(d.A,{type:"small",className:"text-reverse-grayscale-70 text-13",children:t.deployDt})})]}),(0,l.jsxs)("div",{className:"flex w-full flex-row gap-16 md:gap-20",children:[(0,l.jsx)("div",{className:(0,i.cn)(y?"w-full":"w-[calc(100%-10.3rem)] md:w-[calc(100%-10.7rem)]"),children:(0,l.jsxs)(r,{"data-ga4":"main_alarm_list_txt",...t.link?{href:t.link,onClick:()=>s(!1)}:{},children:[(0,l.jsxs)(n.A,{className:(0,i.cn)("line-clamp-2"),type:"xx_small",bold:"medium",TagName:"span",children:[!a&&(0,l.jsx)(l.Fragment,{children:t.articleType&&(0,l.jsx)(n.A,{type:"xx_small",bold:"semibold",className:(0,i.cn)("mr-6 inline-block",x),children:t.articleType})}),t.title]}),!a&&(0,l.jsx)(l.Fragment,{children:t.deployDt&&(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)(d.A,{type:"small",className:"text-reverse-grayscale-70",children:t.deployDt})})})]})}),(t.thumbnail||g)&&(0,l.jsx)(r,{"data-ga4":"main_alarm_list_img",...t.link?{href:t.link,onClick:()=>s(!1)}:{},children:(0,l.jsx)(o.A,{src:t.thumbnail,ratio:"5/3",className:(0,i.cn)("w-87 bg-[#D9DBDF]"),onLoadError:()=>v(!0)})})]})]})})};var g=a(90187),y=a(33559),v=a(23834),A=a(92062);let f=async()=>y.W.get((0,A.sX)("".concat(v.Q.BUNDLE,"/alarm")));var b=a(98874);let w="seen_alarm_ids",N=e=>{try{localStorage.setItem(w,JSON.stringify(e))}catch(e){}};var j=a(97560),C=a(4190),E=a(65797),k=a(65294),I=a(60741),O=a(11886),S=a(30153);let L=e=>{var t;let{show:a,alarmButtonRef:o}=e,d="mobile"===(0,m.useDevice)(e=>e.device),{data:p,isError:h}=(()=>{var e;let t=(0,u.A)(e=>e.setIsAlarm),[a,l]=(0,c.useState)(!1);(0,c.useEffect)(()=>
1{l(!0)},[]);let i=(0,g.useQuery)({queryKey:["alarmList"],queryFn:()=>f(),enabled:a,refetchInterval:6e4,structuralSharing:!1,select:e=>{let t=(()=>{try{let e=localStorage.getItem(w);return e?new Set(JSON.parse(e)):new Set}catch(e){return new Set}})(),a=e.data.list.filter(e=>b.s.IS_TODAY(e.deployDt)),l=a.some(e=>!t.has(e.articleId));return{...e,hasNewAlarm:l,data:{...e.data,list:a}}}});return(0,c.useEffect)(()=>{var e;(null==(e=i.data)?void 0:e.hasNewAlarm)&&t(!0)},[null==(e=i.data)?void 0:e.hasNewAlarm,t]),i})(),y=(0,u.A)(e=>e.dismissAlarmLayer),v=(0,u.A)(e=>e.setIsAlarm),{dialogRef:A,dialogElementRef:L}=(0,S.f)({open:a,onClose:y}),M=(0,c.useRef)([]);if(M.current=null!=(t=null==p?void 0:p.data.list.map(e=>e.articleId))?t:[],(0,c.useEffect)(()=>{if(a&&p)return N(M.current),v(!1),()=>{N(M.current)}},[a,p,v]),(0,c.useEffect)(()=>{if(!a||d)return;let e=e=>{var t,a;let l=null==(t=L.current)?void 0:t.contains(e.target),i=null==o||null==(a=o.current)?void 0:a.contains(e.target);l||i||y()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[a,d,y,o,L]),!a)return null;let T=p?function(e,t){return e.list.map(e=>{let a=(0,j.lD)(e.webTitle||e.title),l=(0,E.k)(a),i=null!=l?l:(0,C.jb)(e.webImageFilePath,e.mobileImageFilePath,e.articleImageFilePath,t,{articleSubtype:e.articleSubtype,subSectionCd:e.subSectionCd,displayTitle:(0,j.lD)((t?e.mobileTitle:e.webTitle)||e.title)});return i=(0,E.q)(i,"속보"===e.articleType),{link:"/news/article/".concat(e.articleId),title:a,deployDt:b.s.PUBLISHING_LIST_TIME(e.deployDt),thumbnail:i,articleType:e.articleType}})}(p.data,d):[];return(0,l.jsxs)("div",{ref:A,tabIndex:-1,role:"dialog","aria-modal":"true","aria-label":"알림",className:(0,i.cn)("md:rounded-2xl md:shadow-md z-700 bg-common-100 dark:bg-grayscale-5 md:absolute md:right-0 md:w-360 md:py-8 fixed left-0 top-0 md:left-auto w-full h-[100vh] md:h-auto","top-0 md:top-50 md:right-18"),children:[(0,l.jsxs)("div",{className:(0,i.cn)("border-reverse-grayscale-97 flex items-center justify-between border-b px-20 py-16 md:px-20 md:pt-8 md:pb-12"),children:[(0,l.jsx)(n.A,{type:"small",bold:"semibold",className:"text-18",children:"알림"}),(0,l.jsxs)("div",{className:"flex items-center gap-10",children:[(0,I.KR)()&&(0,l.jsx)("button",{type:"button",className:"block md:hidden",onClick:()=>{var e,t;null==(t=window)||null==(e=t.ReactNativeWebView)||e.postMessage(JSON.stringify({type:"OPEN_SETTING"}))},"aria-label":"알림 설정",children:(0,l.jsx)(k.A,{name:"setting",width:"24px",height:"24px",className:"text-reverse-grayscale-10"})}),(0,l.jsx)("button",{type:"button",className:"block md:hidden",onClick:y,"aria-label":"닫기",children:(0,l.jsx)(k.A,{name:"cancel",width:"24px",height:"24px",className:"text-reverse-grayscale-10"})})]})]}),(0,l.jsx)("div",{className:(0,i.cn)("small_scroll h-[calc(100%-6rem)] max-h-[calc(100%-7rem)] overflow-y-auto p-16 pb-0 md:px-20 md:pt-8"),children:p||h?T.length>0?(0,l.jsx)(s.A,{className:(0,i.cn)(""),liClassName:(0,i.cn)("py-16 first:pt-0 md:first:pt-16"),items:T,renderItem:e=>(0,l.jsx)(x,{data:e})}):(0,l.jsx)("div",{className:"flex h-full items-center justify-center pb-16",children:(0,l.jsx)(r.ph,{})}):(0,l.jsx)("div",{className:"flex h-full min-h-120 items-center justify-center pb-16",children:(0,l.jsx)(O.A,{})})})]})}},25283:(e,t,a)=>{a.d(t,{d:()=>c});var l=a(20232),i=a(88176);let n=[],r=e=>{e.forEach(e=>{"Y"===e.deleteYn&&(e.contents="삭제된 글입니다."),"Y"===e.blindYn&&(e.contents="사용자 신고에 따라 가려진 댓글입니다.")})},s=(0,l.y)((e,t)=>({orderBy:"recently",commentsMap:new Map,bestCommentsMap:new Map,additionalCommentsMap:new Map,sympathiesMap:new Map,cursorKeyMap:new Map,totalMap:new Map,openRepliesForOpinionId:null,
1setOrderBy:t=>{e({orderBy:t})},getComments:e=>t().commentsMap.get(e),setComments:(t,a)=>{e(e=>{let l=new Map(e.commentsMap);if(l.has(t)&&l.delete(t),l.size>=20){let e=l.keys().next().value;e&&l.delete(e)}return r(a),l.set(t,a),{commentsMap:l}})},getBestComments:e=>t().bestCommentsMap.get(e),setBestComments:(t,a)=>{e(e=>{let l=new Map(e.bestCommentsMap);if(l.has(t)&&l.delete(t),l.size>=20){let e=l.keys().next().value;e&&l.delete(e)}return r(a),l.set(t,a),{bestCommentsMap:l}})},getAdditionalComments:e=>t().additionalCommentsMap.get(e)||n,setAdditionalComments:(t,a)=>{e(e=>{let l=new Map(e.additionalCommentsMap);return r(a),l.set(t,a),{additionalCommentsMap:l}})},getSympathies:e=>t().sympathiesMap.get(e),setSympathies:(t,a)=>{e(e=>{let l=new Map(e.sympathiesMap);if(l.has(t)&&l.delete(t),l.size>=20){let e=l.keys().next().value;e&&l.delete(e)}return l.set(t,a),{sympathiesMap:l}})},mergeSympathies:(t,a)=>{0!==a.length&&e(e=>{let l=new Map(e.sympathiesMap),i=l.get(t)||[],n=new Set(a.map(e=>e.opinionId));return l.set(t,[...i.filter(e=>!n.has(e.opinionId)),...a]),{sympathiesMap:l}})},applySympathyResult:(t,a,l)=>{e(e=>{let{userReaction:i,counts:n}=l,r=e=>{var t;if(e.opinionId===a)return{...e,likeCount:n.likeCount,dislikeCount:n.dislikeCount};if(null==(t=e.children)?void 0:t.length){let t=e.children.map(r);if(t.some((t,a)=>t!==e.children[a]))return{...e,children:t}}return e},s=e=>{let a=e.get(t);if(!a)return e;let l=a.map(r);if(l.every((e,t)=>e===a[t]))return e;let i=new Map(e);return i.set(t,l),i};return{commentsMap:s(e.commentsMap),bestCommentsMap:s(e.bestCommentsMap),additionalCommentsMap:s(e.additionalCommentsMap),sympathiesMap:(()=>{let l=new Map(e.sympathiesMap),n=l.get(t)||[],r="LIKE"===i?"Y":"N",s="DISLIKE"===i?"Y":"N",c=n.find(e=>e.opinionId===a)?n.map(e=>e.opinionId===a?{...e,likeYn:r,dislikeYn:s}:e):[...n,{opinionId:a,selfYn:"N",likeYn:r,dislikeYn:s,reportYn:"N"}];return l.set(t,c),l})()}})},getCursorKey:e=>t().cursorKeyMap.get(e),setCursorKey:(t,a)=>{e(e=>{let l=new Map(e.cursorKeyMap);return l.set(t,a),{cursorKeyMap:l}})},getTotal:e=>t().totalMap.get(e),setTotal:(t,a)=>{e(e=>{let l=new Map(e.totalMap);return l.set(t,a),{totalMap:l}})},setOpenRepliesForOpinionId:t=>{e({openRepliesForOpinionId:t})},clearComments:t=>{e(e=>{let a=new Map(e.commentsMap),l=new Map(e.bestCommentsMap),i=new Map(e.additionalCommentsMap),n=new Map(e.sympathiesMap),r=new Map(e.cursorKeyMap),s=new Map(e.totalMap);return a.delete(t),l.delete(t),i.delete(t),n.delete(t),r.delete(t),s.delete(t),{commentsMap:a,bestCommentsMap:l,additionalCommentsMap:i,sympathiesMap:n,cursorKeyMap:r,totalMap:s}})},clearAll:()=>{e({commentsMap:new Map,bestCommentsMap:new Map,additionalCommentsMap:new Map,sympathiesMap:new Map,cursorKeyMap:new Map,totalMap:new Map,openRepliesForOpinionId:null})}})),c=e=>(0,i.P)(s,e)},27970:(e,t,a)=>{a.d(t,{HM:()=>c.AlarmLayer,bc:()=>x.ArticleEmpathy,cY:()=>g.ArticlePcNavigation,GN:()=>y.EtcHeaderLayout,tZ:()=>v.EtcPcIconUtility,Du:()=>m.Lnb,Cd:()=>p.MainNavigation,k9:()=>d.MoIconUtility,P:()=>u.MoreDepthNavigation,UY:()=>n,Lu:()=>r.PcIconUtility,KX:()=>h.SectionNavigation,iq:()=>s.SiteMap,n4:()=>o.Utility});var l=a(97251),i=a(2081);let n=e=>{let{children:t}=e;return(0,l.jsx)("div",{className:"w-full pl-51",children:(0,l.jsx)("div",{className:(0,i.cn)("flex items-center gap-36","justify-end"),children:t})})};var r=a(92946),s=a(16369),c=a(25169),o=a(50763),d=a(74933),m=a(71808);a(35091);var p=a(7e3);a(1081),a(36227);var u=a(86259),h=a(90664);a(12947);var x=a(30510);a(65294),a(14938),a(40697);var g=a(18994);a(55421);var y=a(9351),v=a(11331)},28837:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});let l={src:"/_next/static/media/article_speed_thumbnail.bf042135.jpg",height:630,width:1200,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAVAQEBAAAAAAAAAAAAAAAAAAACBf/aAAwDAQACEAMQAAAAjgY//8QAGxAAAgEFAAAAAAAAAAAAAAAAEhMAAiMyQXH/2gAIAQEAAT8AZaWNOZFvk//EABcRAAMBAAAAAAAAAAAAAAAAAAACQXH/2gAIAQIBAT8AW6f/xAAaEQEAAQUAAAAAAAAAAAAAAAABAAIEERND/9oACAEDAQE/ALkDTg5Uz//Z",blurWidth:8,blurHeight:4}},29173:(e,t,a)=>{a.d(t,{A:()=>g});var l=a(97251),i=a(65294),n=a(2081),r=a(33),s=a(98932),c=a(79972),o=a(30529),d=a(96103),m=a(62332),p=a(79827),u=a(30523),h=a(95369);let x={popup:{wrapper:"flex items-center justify-center gap-24",button:"flex flex-col items-center gap-8",icon:{width:"48px",height:"48px"},label:"text-13"},page:{wrapper:"flex items-center gap-16",button:"flex flex-col items-center gap-6",icon:{width:"32px",height:"32px"},label:"text-11"}},g=e=>{let{variant:t="popup"}=e,a=(0,r.useDevice)(e=>e.device),g=(0,s.d)();(0,c.l)();
1let{copy:y,copied:v}=(0,p.C)(),A=(0,u.A)(e=>e.isLoginStatus),f=(0,d.N)(e=>e.currentArticle),b=(0,o.xw)(),w=x[null!=t?t:"mobile"===a?"popup":"page"],N=(0,h.A)(e=>e.sendMessage),j=async()=>{var e,t,a,l,i;let n=window.location.pathname.startsWith("/news/article"),r=window.location.origin+window.location.pathname,s=null==(e=document.querySelector('meta[property="og:title"]'))?void 0:e.getAttribute("content");if(n){let e=(null==f?void 0:f.articleType)==="Speed";f&&(s=e?"[속보] ".concat(f.title):f.title)}let o=(null==(t=document.querySelector('meta[property="og:description"]'))?void 0:t.getAttribute("content"))||(null==(a=document.querySelector('meta[property="description"]'))?void 0:a.getAttribute("content"))||"",d=(null==(l=document.querySelector('meta[name="kakao_og_image"]'))?void 0:l.getAttribute("content"))||(null==(i=document.querySelector('meta[name="og:image"]'))?void 0:i.getAttribute("content"))||"";if(window.ReactNativeWebView)return void N("KAKAO_SHARE",{title:s||document.title,description:o,url:r,imageUrl:d});let m=await (0,c.m)().catch(()=>null);if(!m)return void g("카카오 공유를 사용할 수 없습니다.");try{m.Share.sendDefault({objectType:"feed",content:{title:s||document.title,description:o,imageUrl:d,link:{mobileWebUrl:r,webUrl:r}},buttons:[{title:"자세히 보기",link:{mobileWebUrl:r,webUrl:r}}]})}catch(e){g("카카오 공유를 사용할 수 없습니다.")}};return(0,l.jsxs)("div",{"data-ga4":"share","data-ga4-direct":!0,className:(0,n.cn)(w.wrapper),children:[(0,l.jsxs)("button",{type:"button",className:(0,n.cn)(w.button,"gtm-share-kakao"),onClick:j,children:[(0,l.jsx)(i.A,{name:"kakaotalk_fill",width:w.icon.width,height:w.icon.height}),(0,l.jsx)(m.A,{color:"text-reverse-grayscale-30",className:w.label,children:"카카오톡"})]}),(0,l.jsxs)("button",{type:"button",className:(0,n.cn)(w.button,"gtm-share-facebook"),onClick:()=>{let e="https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(window.location.origin+window.location.pathname));window.open(e,"_blank")},children:[(0,l.jsx)(i.A,{name:"facebook_fill",width:w.icon.width,height:w.icon.height}),(0,l.jsx)(m.A,{color:"text-reverse-grayscale-30",className:w.label,children:"페이스북"})]}),(0,l.jsxs)("button",{type:"button",className:(0,n.cn)(w.button,"gtm-share-twitter"),onClick:()=>{let e="https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(document.title),"%20").concat(encodeURIComponent(window.location.origin+window.location.pathname));window.open(e,"_blank")},children:[(0,l.jsx)(i.A,{name:"x_fill",width:w.icon.width,height:w.icon.height}),(0,l.jsx)(m.A,{color:"text-reverse-grayscale-30",className:w.label,children:"엑스"})]}),(0,l.jsxs)("button",{type:"button",className:(0,n.cn)(w.button,"gtm-share-url"),onClick:()=>{y(window.location.href).then(e=>{g("주소가 복사되었습니다."),f&&A&&b.mutate({targetId:f.articleId,activityType:"Share"},{onSuccess:e=>{},onError:e=>{}})}).catch(e=>{alert("복사 실패!")})},children:[(0,l.jsx)(i.A,{name:"social_link",width:w.icon.width,height:w.icon.height}),(0,l.jsx)(m.A,{color:"text-reverse-grayscale-30",className:w.label,children:"링크복사"})]})]})}},30510:(e,t,a)=>{a.d(t,{ArticleEmpathy:()=>y});var l=a(97251),i=a(65294),n=a(62332),r=a(93915),s=a(95682),c=a(42456),o=a(64130),d=a(52931),m=a(33),p=a(41146),u=a(96103),h=a(25283);let x=(0,a(28381).default)(()=>Promise.resolve().then(a.bind(a,79164)).then(e=>e.EmpathyGIFIcons),{loadableGenerated:{webpack:()=>[79164]}}),g={normal:{empathy:{name:"empathy_gif",width:"2.4rem",height:"2.4rem"},comment:{name:"reply"}},obituary:{empathy:{name:"remembrance",width:"2.4rem",height:"2.4rem"},comment:{name:"reply_remembrance"}},premium:{empathy:{name:"empathy_gif",width:"2.4rem",height:"2.4rem"},comment:{name:"reply_sharp"}}},y=e=>{var t;let{type:a}=e,y="mobile"===(0,m.useDevice)(e=>e.device),v=(0,r.x)(e=>e.currentEmotions),A=(0,u.N)(e=>e.currentArticle),[f,b]=(0,d.useState)(!1),[w,N]=(0,d.useState)(!1),{openLayer:j}=(0,p.B)(),C=(0,h.d)(e=>{var t;return A&&null!=(t=e.totalMap.get(A.articleId))?t:0}),E=null!=(t=g[a])?t:g.normal,{name:k,width:I,height:O}
1=E.empathy,S="empathy_gif"===k?x:i.A,L=E.comment.name,M="obituary"===a||(null==v?void 0:v.memberOpinionYn)==="Y";(0,d.useEffect)(()=>{let e=()=>{N(!1)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let T=(0,l.jsxs)("button",{type:"button",className:"flex items-center",onClick:()=>y&&b(!0),"aria-label":"공감하기",children:[(0,l.jsx)(S,{name:k,width:I,height:O,className:"mr-4"}),(0,l.jsx)(n.A,{type:"16",bold:"medium",className:"whitespace-nowrap",children:null==v?void 0:v.totalEmotion})]});return(0,l.jsxs)("div",{className:"flex items-center gap-16 px-0 sm:gap-20 md:px-12",children:[y?(0,l.jsxs)(l.Fragment,{children:[T,(0,l.jsx)(s.P2,{open:f,onClose:()=>b(!1),className:"w-full",title:"공감하기",text:(0,l.jsx)(c.A,{})})]}):(0,l.jsx)(o.A,{content:(0,l.jsx)(c.A,{}),label:"공감하기",trigger:"click",placement:"bottom",align:{offset:[0,10]},open:w,onOpenChange:N,children:T}),M&&(0,l.jsxs)("button",{type:"button",className:"inline-flex items-center","aria-label":"댓글",onClick:j,"data-ga4":"article_comment_view","data-ga4-direct":!0,children:[(0,l.jsx)(i.A,{name:L,width:"2.4rem",height:"2.4rem",className:"mr-4",color:"text-inherit"}),(0,l.jsx)(n.A,{type:"16",bold:"medium",className:"whitespace-nowrap",children:C})]})]})}},30529:(e,t,a)=>{a.d(t,{PO:()=>L,OB:()=>O,dW:()=>k,_4:()=>A,Q7:()=>v,hL:()=>M,$T:()=>w,dk:()=>y,df:()=>I,V7:()=>f,xw:()=>E,FM:()=>N,_o:()=>S,jz:()=>C,aH:()=>j,de:()=>b});var l=a(90187),i=a(16676),n=a(51844),r=a(48285),s=a(64799),c=a(39714),o=a(93120),d=a(33559),m=a(30523),p=a(2850),u=a(67151);let h=async e=>u.zm.get("/commentSummary/".concat(e));var x=a(37358),g=a(93402);let y=e=>{let t=(0,m.A)(e=>e.isLoginStatus),a=!!((null==e?void 0:e.articleId)&&!0===t&&(0,p.of)(e));return(0,l.useQuery)({queryKey:[c.Mv,null==e?void 0:e.articleId],queryFn:()=>d.W.get("/api/premium-content/".concat(e.articleId)),enabled:a,staleTime:3e5,retry:1,throwOnError:!1})},v=e=>(0,l.useQuery)({queryKey:[c.z3,e],queryFn:async()=>await (0,o.p)({articleId:e}),throwOnError:!1,retry:!1}),A=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,l.useQuery)({queryKey:[c.he,e.articleId,e.orderBy,e.bestMode],staleTime:0,queryFn:async()=>await (0,o.fz)({...e}),enabled:t,throwOnError:!1,retry:!1})},f=(e,t)=>(0,l.useQuery)({queryKey:[c.he,e.articleId,e.orderBy,e.bestMode,e.cursorKey],queryFn:async()=>await (0,o.fz)({...e}),enabled:t}),b=(e,t)=>(0,l.useQuery)({queryKey:[c.Wf,e],queryFn:()=>(0,o.WT)(e),enabled:t}),w=e=>(0,l.useQuery)({queryKey:[c.wm,e],queryFn:()=>(0,o.lp)(e),throwOnError:!1,retry:!1}),N=()=>(0,i.useMutation)({mutationFn:e=>(0,o.qq)(e)}),j=()=>(0,i.useMutation)({mutationFn:e=>(0,o.Hl)(e)}),C=()=>(0,i.useMutation)({mutationFn:e=>(0,o.Ot)(e)}),E=()=>(0,i.useMutation)({mutationFn:e=>(0,o.k8)(e)}),k=e=>(0,l.useQuery)({queryKey:[c.Lc,e],queryFn:()=>h(e),throwOnError:!1,retry:!1}),I=e=>(0,l.useQuery)({queryKey:[c.ys],queryFn:()=>(0,o.mO)(e),throwOnError:!1,retry:!1}),O=e=>(0,l.useQuery)({queryKey:[c.X9,e],queryFn:()=>(0,o.BO)(e),throwOnError:!1,retry:!1,enabled:!!e}),S=()=>{let e=(0,n.useQueryClient)();return(0,i.useMutation)({mutationFn:e=>(0,o.rA)(e),onSuccess:()=>{e.invalidateQueries({queryKey:[c.he]}),e.invalidateQueries({queryKey:[c.z3]})}})},L=(e,t)=>(0,r.useQueries)({queries:e.map(e=>({queryKey:[x.MJ,t,e.bundleId],queryFn:()=>(0,g.wM)(t,e.bundleId)}))}),M=e=>(0,s.useSuspenseInfiniteQuery)({queryKey:[c.yI,e],queryFn:t=>{let{pageParam:a=e.pageNum}=t;return(0,g.tx)({...e,pageNum:a,articleSize:3},"T2025092311212934454")},initialPageParam:e.pageNum,getNextPageParam:e=>e.lastPage?void 0:e.pageNum+1,getPreviousPageParam:e=>e.firstPage?void 0:e.pageNum-1})},32522:(e,t,a)=>{a.d(t,{C:()=>l});let l=[{id:1,title:[{id:"opinion",name:"오피니언",path:"/news/opinion"}],children:[{id:"editorial",name:"사설",path:"/news/opinion/editorial"},{id:"column",name:"칼럼",path:"/news/opinion/column"},{id:"cartoon",name:"만평",path:"/news/opinion/cartoon"}]},{id:2,title:[{id:"politics",name:"정치",path:"/news/politics"},{id:"economy",name:"경제",path:"/news/economy"},{id:"society",name:"사회",path:"/news/society"},{id:"world",name:"국제",path:"/news/world"},{id:"culture",name:"문화",path:"/news/culture"},{id:"sports",name:"스포츠",path:"/news/sports"},{id:"life",name:"라이프",path:"/news/life"},{id:"people",name:"사람",path:"/news/people"},{id:"local",name:"지역",path:"/news/local"}]},{id:3,title:[{id:"accident",name:"사고\xb7알림",path:"/news/notification"}]},{id:4,title:[{id:"plan",name:"기획/연재",path:"/news/focus"}],children:[{id:"plan",name:"기획",path:"/news/focus/feature"},{id:"serial",name:"연재",path:"/news/focus/series"}]},{id:5,title:[{id:"live_issue",name:"라이브 이슈",path:"/liveissue"}
1,{id:"animal",name:"동물",path:"/animal"},{id:"video",name:"영상",path:"/video"},{id:"photo_news",name:"포토",path:"/photo"}]},{id:6,title:[{id:"premium",name:"Premium",path:"/premium"},{id:"deep",name:"H 탐사 플러스",path:"/deep"},{id:"huick",name:"휙",path:"/huick"},{id:"interactive",name:"인터랙티브",path:"/interactive"},{id:"careerup",name:"커리업",path:"/careerup/",target:!0},{id:"touchyou",name:"터치유",path:"/touchyou/",target:!0}]},{id:7,title:[{id:"subscription",name:"구독+",path:"/subscription"},{id:"newsletter",name:"뉴스레터",path:"/newsletter"},{id:"reporter",name:"기자",path:"/reporter"},{id:"tip",name:"제보",path:"/tip"},{id:"game",name:"게임",path:"/game"},{id:"occasion",name:"시즈널 제호",path:"/occasion"}]},{id:8,title:[{id:"paper",name:"지면PDF",path:"/paper"},{id:"membership",name:"신문구독",path:"".concat("https://member.hankookilbo.com","/membership/subscription")},{id:"inquiry",name:"고객센터",path:"".concat("https://member.hankookilbo.com","/membership/support/faq")},{id:"notice",name:"알립니다",path:"/notice"}]}]},35091:(e,t,a)=>{a.d(t,{MainHeaderLayout:()=>h});var l=a(97251),i=a(52931),n=a(2081),r=a(42914),s=a(95369),c=a(16369),o=a(27970),d=a(1940),m=a(36762),p=a(33),u=a(7e3);let h=e=>{let{children:t,className:a,isMobile:h,isSearch:x=!1}=e,g=(0,r.A)(e=>e.isHeaderScroll),y=(0,r.A)(e=>e.isHeaderTop),v=(0,r.A)(e=>e.isOpenSiteMap),A=(0,r.A)(e=>e.setOpenSiteMap),f=(0,m.a)(e=>e.isBanner),b=(0,m.a)(e=>e.isBannerFold),w=(0,d.usePathname)(),N=(0,p.useDevice)(e=>e.device),j=(0,p.useDevice)(e=>e.isSmallTablet),C="tablet"===N&&j;(0,i.useEffect)(()=>{(v||g)&&A(!1)},[w,g]),(0,i.useEffect)(()=>{let e=s.A.getState().clickAlarm;v&&!e&&r.A.getState().setIsAlarmLayerOpen(!1)},[v]);let E=(0,r.A)(e=>e.isKeywordTabBarSticky),k=(0,r.A)(e=>e.isAiTabBarSticky),I=v&&"bg-reverse-common-100 shadow-none",O=!x&&f&&"top-200",S=!x&&f&&b&&"top-60";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("header",{className:(0,n.cn)("header",a,"fixed left-0 top-0 z-650 w-full transition-all duration-200 ",y?"shadow-none top-0 bg-transparent":"shadow-sm bg-reverse-common-100",I,O,S,(E||k)&&"-translate-y-[100%]"),children:(0,l.jsxs)("div",{className:(0,n.cn)("sm:max-w-1232 md:max-w-1240 mx-auto flex",y?"py-20 xssm:py-17 sm:py-17 md:py-20 h-64 md:h-auto":"py-20 xssm:py-17 sm:py-17 h-64 md:h-auto md:py-18",h?y&&"items-center":y&&"items-end",C&&"h-100 flex flex-col gap-16"),children:[(0,l.jsx)("div",{className:(0,n.cn)("m-auto w-full px-16 xssm:px-20 md:px-20 sm:px-20 md:px-20"),children:(0,l.jsx)("div",{className:(0,n.cn)("relative z-10 flex items-center justify-between"),children:t})}),C&&(0,l.jsx)("div",{className:"relative w-full px-12",children:(0,l.jsx)("div",{className:"mx-auto flex w-full leading-19",children:(0,l.jsx)(u.MainNavigation,{className:"relative left-auto w-full translate-x-0"})})})]})}),!h&&v&&(0,l.jsx)(c.SiteMap,{main:!0,isSearch:x}),h&&v&&(0,l.jsx)(o.Du,{})]})}},36227:(e,t,a)=>{a.r(t),a.d(t,{SectionHeaderLayout:()=>p});var l=a(97251),i=a(52931),n=a(2081),r=a(42914),s=a(16369),c=a(27970),o=a(1940),d=a(33),m=a(95369);let p=e=>{let{children:t,className:a,isMobile:p,hideNavi:u=!1,pageVariant:h}=e,x="tablet"===(0,d.useDevice)(e=>e.device),g=(0,d.useDevice)(e=>e.isSmallTablet),y=x||g,v=(0,r.A)(e=>e.isHeaderScroll),A=(0,r.A)(e=>e.isHeaderTop),f=(0,r.A)(e=>e.isOpenSiteMap),b=(0,r.A)(e=>e.setOpenSiteMap),w=(0,r.A)(e=>e.hasMoreDepthChildren),N=(0,i.useRef)(f),j=(0,o.usePathname)();(0,i.useEffect)(()=>{(f||v)&&b(!1)},[j,v,p,x]),(0,i.useEffect)(()=>{if(p||x)return;let e=m.A.getState().clickAlarm;!f||N.current||e||r.A.getState().setIsAlarmLayerOpen(!1),N.current=f},[f,p,x]);let C=f?"bg-reverse-common-100 shadow-none":A?"top-0 shadow-none":"shadow-sm ".concat("premium"===h||"game"===h?"bg-grayscale-10":"bg-reverse-common-100");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("header",{className:(0,n.cn)("header","fixed w-full top-0 transition-all duration-400 z-650",!u&&w&&!A&&"-translate-y-[100%]",a,C),children:(0,l.jsx)("div",{className:(0,n.cn)("wrap flex items-center justify-between sm:gap-60 flex-wrap py-20 xssm:py-17 md:py-18",y&&"h-64"),children:t})}),!p&&f&&(0,l.jsx)(s.SiteMap,{}),p&&f&&(0,l.jsx)(c.Du,{})]})}},36360:(e,t,a)=>{a.d(t,{T:()=>i});var l=a(52931);let i=()=>{let e=(0,l.useRef)(null),t=(0,l.useRef)(!1),a=(0,l.useRef)(!1),i=(0,l.useRef)(0),n=(0,l.useRef)(0);return(0,l.useEffect)(()=>{let l=e.current;if(!l)return;let r=e=>{e.preventDefault(),e.stopImmediatePropagation()},s=e=>{e.preventDefault()},c=e=>{t.current=!0,i.current=e.pageX-l.offsetLeft,n.current=l.scrollLeft,l.style.userSelect="none"},o=()=>{t.current=!1,l.style.userSelect=""},d=()=>
1{if(t.current=!1,l.style.userSelect="",a.current){let e=l.querySelectorAll("a");for(let t=0;t<e.length;t++)e[t].addEventListener("click",r,{once:!0})}a.current=!1},m=e=>{if(!t.current)return;let r=e.pageX-l.offsetLeft-i.current;5>Math.abs(r)||(a.current=!0,e.preventDefault(),l.scrollLeft=n.current-1.5*r)},p=l.querySelectorAll("a");return p.forEach(e=>{e.addEventListener("dragstart",s)}),l.addEventListener("mousedown",c),l.addEventListener("mouseleave",o),l.addEventListener("mouseup",d),l.addEventListener("mousemove",m),()=>{p.forEach(e=>{e.removeEventListener("dragstart",s)}),l.removeEventListener("mousedown",c),l.removeEventListener("mouseleave",o),l.removeEventListener("mouseup",d),l.removeEventListener("mousemove",m)}},[]),{scrollRef:e}}},36762:(e,t,a)=>{a.d(t,{MainBannerProvider:()=>s,a:()=>o});var l=a(97251),i=a(52931),n=a(88176),r=a(20232);function s(e){let t,{children:a,device:n,bannerEnabled:s=!0}=e,o=(0,i.useRef)((t={isBanner:s},(0,r.y)(e=>{var a;return{isBanner:null==(a=null==t?void 0:t.isBanner)||a,isBannerFold:!0,setIsBanner:t=>{e({isBanner:t})},setIsBannerFold:t=>{e({isBannerFold:t})}}})));return(0,l.jsx)(c.Provider,{value:o.current,children:a})}let c=(0,i.createContext)(null);function o(e){let t=(0,i.useContext)(c);if(!t)throw Error("BannerProvider is missing");return(0,n.P)(t,e)}},37358:(e,t,a)=>{a.d(t,{MJ:()=>n,f:()=>i,fX:()=>r,lq:()=>l});let l="liveIssueBanner",i="liveIssueList",n="liveIssueTimeline",r="liveIssueAi"},38137:(e,t,a)=>{a.d(t,{l:()=>r});var l=a(20232),i=a(88176);let n=(0,l.y)(e=>({isBookmarked:!1,setBookmarked:t=>{e({isBookmarked:t})}})),r=e=>(0,i.P)(n,e)},38798:(e,t,a)=>{a.d(t,{G4:()=>r,Kc:()=>n,L0:()=>i,Zz:()=>l});let l={SERIES_CORNER:"T2025052216182341522",LIVE_ISSUE:"T2025052316182341522",PLAN:"T2025072917303745355",SERIES_COLUMN:"T2025072917305542631",BYLINE_COLUMN:"T2025081209150370784",ANIMAL:"T2025090515242940700",OLYMPICS:"L2025123011070002119",PHOTO:"T2025090817522610102",INVESTIGATIVE_JOURNALISM:"T2025092310302733788",PREMIUM:"T2025092311212934454",ELECTION:"B2026022217285525828",WORLDCUP:"B2026052711020263004"},i={T2025052216182341522:"연재/코너",T2025052316182341522:"라이브이슈",T2025072917303745355:"기획",T2025072917305542631:"연재칼럼",T2025081209150370784:"기명칼럼",T2025090515242940700:"동물",L2025123011070002119:"동계올림픽",T2025090817522610102:"포토",T2025092310302733788:"탐사보도",T2025092311212934454:"프리미엄"},n={MAIN:"pancode_main",POLITICS:"pancode_politics",ECONOMY:"pancode_economy",SOCIETY:"pancode_society",WORLD:"pancode_world",CULTURE:"pancode_culture",SPORTS:"pancode_sports",PEOPLE:"pancode_people",LIFE:"pancode_life",OPINION:"pancode_opinion",LOCAL:"pancode_local",LIVEISSUE:"pancode_liveissue",ANIMAL:"pancode_animal",OLYMPICS:"pancode_winter2026",ELECTION:"pancode_local2026",WORLDCUP:"pancode_worldcup2026",DEEP:"section_pancode_deep"},r={POLITICS:"politics",ASSEMBLY:"assembly",PRESIDENT:"president",DIPLOMACY:"diplomacy",ND:"ND",GENERAL:"general",ECONOMY:"economy",POLICY:"policy",INDUSTRY:"industry",FINANCE:"finance",REALESTATE:"realestate",TECH_SCIENCE:"tech_science",SOCIETY:"society",ACCIDENT:"accident",JUSTICE:"justice",EDUCATION:"education",LABOR:"labor",WELFARE:"welfare",ENVIRONMENT:"environment",WORLD:"world",GLOBALISSUE:"globalissue",ASIA:"asia",AMERICA:"america",EUROPE:"europe",MEA:"MEA",CULTURE:"culture",BOOK:"book",PLAY:"play",MOVIE:"movie",BROADCAST:"broadcast",MUSIC:"music",SPORTS:"sports",BASEBALL:"baseball",FOOTBALL:"football",BASKET_VOLLEY:"basket_volley",GOLF:"golf",BADUK:"baduk",LIFE:"life",FOOD:"food",TRAVEL:"travel",HEALTH:"health",FORTUNE:"fortune",PEOPLE:"people",INTERVIEW:"interview",APPOINTMENTS:"appointments",OBITUARY:"obituary",LOCAL:"local",CAPITAL:"capital",CENTRAL:"central",GYEONGBUK:"gyeongbuk",GYEONGNAM:"gyeongnam",HONAM_JEJU:"honam_jeju",NOTIFICATION:"notification",OPINION:"opinion",EDITORIAL:"editorial",COLUMN:"column",CARTOON:"cartoon"}},40697:(e,t,a)=>{a.d(t,{ArticleNaviBar:()=>r});var l=a(97251),i=a(2081),n=a(84704);let r=e=>{let{children:t}=e,{isTop:a}=(0,n.A)();return(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)("div",{className:(0,i.cn)("flex items-center gap-36",a?"justify-end":"justify-between"),children:t})})}},41146:(e,t,a)=>{a.d(t,{B:()=>i});var l=a(11586);let i=()=>{let{openLayer:e}=(0,l.A)();return{openLayer:(t,a)=>{t.stopPropagation(),e(a)}}}},42456:(e,t,a)=>{a.d(t,{A:()=>y});var l=a(97251);a(52931);var i=a(62332),n=a(2081),r=a(79164);let s={btn:"flex items-center transition-colors",active:"",iconW:"2.4rem",iconH:"2.4rem",iconMr:"mr-4",labelType:"16"},c=e=>{let{item:t,icon:a,label:c,value:o,selected:d,onClick:m,className:p,disabled:u}=e;return(0,l.jsxs)("button",{type:"button",className:(0,n.cn)(p,s.btn,d===t&&s.active,d===t&&"gtm-reaction-active",u&&"cursor-not-allowed opacity-50"),onClick:()=>{u||m(t)},"aria-disabled":u||void 0,"aria-label":"".concat(c," ").concat(o),"aria-pressed":d===t,"data-ga4":"article_reaction","data-ga4-direct":!0,children:[(0,l.jsx)(r.EmpathyGIFIcons,{name:a,width:s.iconW,height:s.iconH,className:s.iconMr}),(0,l.jsx)(i.A,{type:s.labelType,bold:"bold",color:d===t?"like"===t?"font-bold text-reverse-green-40":"font-bold text-status-negative":"font-medium text-reverse-grayscale-10",children:o})]})},o={wrap:"flex gap-20"},d=e=>{let{counts:t,onClick:a,selected:i,disabled:n}=e;return(0,l.jsxs)("div",{className:o.wrap,children:[(0,l.jsx)(c,{item:"like",icon:"smile_gif",label:"좋아요",value:t.like,selected:i,onClick:a,disabled:n,className:"gtm-reaction-like"}),(0,l.jsx)(c,{item:"dislike",icon:"rage_gif",label:"싫어요",value:t.dislike,selected:i,onClick:a,disabled:n,className:"gtm-reaction-dislike"})]})},m={btn:"flex items-center h-56 px-16 rounded-[0.4rem] border border-grayscale-95",active:"!bg-reverse-grayscale-98",iconW:"3.2rem",iconH:"3.2rem",iconMr:"mr-6",labelType:"16"},p=e=>{let{item:t,icon:a,label:s,value:c,selected:o,onClick:d,className:p,disabled:u}=e;return(0,l.jsxs)("button",{type:"button",className:(0,n.cn)(p,m.btn,o===t&&m.active,o===t&&"gtm-reaction-active",u&&"cursor-not-allowed opacity-50"),onClick:()=>{u||d(t)},"aria-disabled":u||void 0,"aria-pressed":o===t,"data-ga4":"article_reaction","data-ga4-direct":!0,children:[(0,l.jsx)(r.EmpathyGIFIcons,{name:a,width:m.iconW,height:m.iconH,className:m.iconMr}),(0,l.jsxs)("div",{className:"flex items-center gap-8",children:[(0,l.jsx)(i.A,{type:m.labelType,bold:"bold",color:"!text-14 text-reverbtnStylee-grayscale-10",children:s}),(0,l.jsx)(i.A,{type:m.labelType,bold:"bold",className:"!text-18 min-w-[3.6rem]",color:o===t?"like"===t?"font-extrabold text-reverse-green-40":"font-extrabold text-status-negative":"text-reverse-grayscale-10",children:c})]})]})},u={wrap:"flex gap-8 justify-center"},h=e=>{let{counts:t,onClick:a,selected:i,disabled:n}=e;return(0,l.jsxs)("div",{className:u.wrap,children:[(0,l.jsx)(p,{item:"like",icon:"smile_gif",label:"좋아요",value:t.like,selected:i,onClick:a,disabled:n,className:"gtm-reaction-like"}),(0,l.jsx)(p,{item:"dislike",icon:"rage_gif",label:"싫어요",value:t.dislike,selected:i,onClick:a,disabled:n,className:"gtm-reaction-dislike"})]})};var x=a(33),g=a(4910);function y(){let e=(0,x.useDevice)(e=>e.device),{handleReact:t,currentSelected:a,emotions:i,isPending:n,likes:r,dislikes:s}=(0,g.z)();if(!i)return null;
1let c={counts:{like:r,dislike:s},onClick:t,selected:a,disabled:n};return(0,l.jsxs)(l.Fragment,{children:["mobile"===e?(0,l.jsx)(h,{...c}):(0,l.jsx)(d,{...c}),(0,l.jsxs)("p",{role:"status","aria-live":"polite",className:"sr-only",children:["좋아요 ",r,", 싫어요 ",s]})]})}},42524:(e,t,a)=>{a.d(t,{B8:()=>l,Ik:()=>i,rR:()=>s,vX:()=>n,w7:()=>r});let l=[{key:"제호",value:"한국일보"},{key:"주소",value:"서울특별시 중구 세종대로 17 한국일보사"},{key:"인터넷신문등록번호",value:"서울 아 51553"},{key:"발행일자",value:"2018. 11. 23"},{key:"발행\xb7편집인",value:"이성철"},{key:"전화",value:"(02) 724-2114"},{key:"사업자명",value:"(주) 한국일보사"},{key:"사업자등록번호",value:"102-81-00358"},{key:"대표자명",value:"이성철"},{key:"통신판매업신고번호",value:"2014-서울중구-1326"}],i=[{label:"회사소개",href:"".concat("https://www.hankookilbo.com","/company")},{label:"광고안내",href:"".concat("https://www.hankookilbo.com","/company/advertisement/dep")},{label:"사업제휴",href:"".concat("https://www.hankookilbo.com","/company/business/contact")},{label:"저작물 구매안내",href:"".concat("https://www.hankookilbo.com","/company/copyright/info")},{label:"사진 검색 & 구매",href:"".concat("https://www.hankookilbo.com","/hkphoto")}],n=[{label:"이용약관",href:"".concat("https://www.hankookilbo.com","/company/terms_conditions")},{label:"개인정보처리방침",href:"".concat("https://www.hankookilbo.com","/company/privacy_policy")},{label:"청소년보호정책",href:"".concat("https://www.hankookilbo.com","/company/privacy_policychild")},{label:"고충처리인",href:"".concat("https://www.hankookilbo.com","/company/grievance")}],r=[{label:"유튜브",href:"https://www.youtube.com/thehankookilbo",iconName:"youtube_gray"},{label:"인스타그램",href:"https://www.instagram.com/hankookilbo/",iconName:"insta_gray"},{label:"페이스북",href:"https://www.facebook.com/hkilbo/",iconName:"facebook_gray"},{label:"엑스",href:"https://x.com/hankookilbo",iconName:"x_gray"}],s=[{group:"MEDIA",links:[{label:"코리아타임스",href:"https://www.koreatimes.co.kr/www/index.asp"}]},{group:"문화사업",links:[{label:"미스코리아",href:"https://www.misskorea.or.kr/"},{label:"거북이 마라톤",href:"http://www.hkturtle.com/"},{label:"봉황대기 전국고교야구대회",href:"https://www.hankookilbo.com/bonghwang/"},{label:"철원DMZ국제평화마라톤대회",href:"http://www.dmzrun.kr/"},{label:"코라시아포럼",href:"http://www.kor-asiaforum.com/ "},{label:"한국포럼",href:"http://www.thekoreaforum.com/"}]},{group:"WOOD PANEL",links:[{label:"동화그룹",href:"https://www.dongwha.com"},{label:"동화자연마루",href:"https://www.greendongwha.com/"},{label:"동화컬처빌리지",href:"https://www.dongwhaculturevillage.com/"}]},{group:"CHEMICAL",links:[{label:"태양합성",href:"http://www.sunresin.co.kr"},{label:"동화일렉트로라이트",href:"http://www.dongwhaelectrolyte.com/"}]},{group:"AUTO LIFE",links:[{label:"엠파크",href:"https://www.m-park.co.kr"}]}]},42914:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(88176),i=a(60741);let n=(0,l.v)(e=>({isHeaderScroll:!1,isHeaderTop:!0,progressValue:0,isOpenSiteMap:!1,isOpenLnb:!1,isAlarm:!1,isAlarmLayerOpen:!1,isArticleMainTop:0,moreDepthMenu:null,hasMoreDepthChildren:!1,isKeywordTabBarSticky:!1,isAiTabBarSticky:!1,setHeaderScroll:t=>e({isHeaderScroll:t}),setHeaderTop:t=>e({isHeaderTop:t}),setProgressValue:t=>e({progressValue:t}),setOpenSiteMap:t=>e({isOpenSiteMap:t}),setOpenLnb:t=>e({isOpenLnb:t}),setIsAlarm:t=>e({isAlarm:t}),setIsAlarmLayerOpen:t=>e(e=>{let a=e.isAlarmLayerOpen;return{isAlarmLayerOpen:t,...t&&!a||!t&&a?{isAlarm:!1}:{}}}),dismissAlarmLayer:()=>e({isAlarmLayerOpen:!1,isAlarm:!1,...(0,i.KR)()?{isOpenSiteMap:!1}:{}}),setIsArticleMainTop:t=>e({isArticleMainTop:t}),setMoreDepthMenu:t=>e({moreDepthMenu:t}),setHasMoreDepthChildren:t=>e({hasMoreDepthChildren:t}),setKeywordTabBarSticky:t=>e({isKeywordTabBarSticky:t}),setAiTabBarSticky:t=>e({isAiTabBarSticky:t})}))},47589:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(88176).v)(e=>({activeMenu:null,setActiveMenu:t=>e({activeMenu:t})}))},50763:(e,t,a)=>{a.d(t,{Utility:()=>u});var l=a(97251),i=a(61141),n=a(62332),r=a(63972),s=a(2081),c=a(42914),o=a(30523),d=a(1940),m=a(76097),p=a(52642);let u=e=>{let{isWhite:t=!1}=e,a=(0,d.usePathname)()||"/",u=(0,o.A)(e=>e.isLoginStatus),h=(0,c.A)(e=>e.isOpenSiteMap),x=(0,p.O)(),g=u?{href:(0,m.bm)(a),label:"로그아웃"}:{href:x,label:"로그인"},y=u?{href:"/mypage",label:"마이페이지"}:{href:"".concat("https://member.hankookilbo.com","/auth/signUp?userType=individual"),label:"회원가입"};return(0,l.jsx)("div",{className:"flex min-h-24 items-center gap-12",children:null!=u&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.A,{"data-ga4":"main_gnb_quickmenu",href:g.href,children:(0,l.jsx)(n.A,{type:"13",TagName:"span",className:(0,s.cn)("text-reverse-grayscale-60 dark:text-grayscale-97",t&&!h&&"text-reverse-grayscale-92 dark:text-grayscale-97",t&&h&&"text-reverse-grayscale-60 dark:text-grayscale-97"),children:g.label})}),(0,l.jsx)(r.A,{width:1,height:10,className:"bg-reverse-common-0 opacity-8"}),(0,l.jsx)(i.A,{"data-ga4":"main_gnb_quickmenu",href:y.href,children:(0,l.jsx)(n.A,{type:"13",TagName:"span",className:(0,s.cn)("text-reverse-grayscale-60 dark:text-grayscale-97",t&&!h&&"text-reverse-grayscale-92 dark:text-grayscale-97",t&&h&&"text-reverse-grayscale-60 dark:text-grayscale-97"),children:y.label})})]})})}},52642:(e,t,a)=>{a.d(t,{O:()=>c});var l=a(52931),i=a(60741),n=a(92062);let r="/auth/login";function s(){let{pathname:e}=window.location,t="/auth"===e||e.startsWith("/auth/");return!e.startsWith("/")||e.startsWith("//")||t?null:e+window.location.search}function c(e,t){let[a,c]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{c(!0)},[]),a?function(e,t){if(e)return(0,n.lo)(e,{callbackPath:"dotcom"===e?s():null,sp:t});if(!(0,i.KR)())return r;let a=s();return a?"".concat(r,"?callbackUrl=").concat(encodeURIComponent(a)):r}(e,t):e?(0,n.lo)(e,{sp:t}):r}},55421:(e,t,a)=>{a.d(t,{ArticleMoNavigation:()=>p});var l=a(97251),i=a(2081),n=a(65294),r=a(27970),s=a(84704),c=a(33),o=a(61773),d=a(1940),m=a(42914);let p=()=>{let{isScrolled:e,scrollY:t}=(0,s.A)(),a=(0,m.A)(e=>
1e.isArticleMainTop),p=(0,c.useDevice)(e=>e.device),u=e&&"shadow-sm",h=e&&t>a?"top-62":"top-[-6.4rem]",x=(0,d.useRouter)();return(0,l.jsx)("nav",{className:(0,i.cn)("hide_scroll bg-reverse-common-100 overflow-x-auto overflow-y-hidden px-10 md:px-16 py-17 absolute z-500 transition-all duration-400 w-full flex items-center justify-between w-full",h,u),"aria-label":"메인 메뉴",children:(0,l.jsxs)("div",{className:(0,i.cn)("flex w-full items-center justify-between gap-8 !p-0","mobile"!==p&&"wrap"),children:[(0,l.jsxs)("div",{className:"flex items-center gap-8",children:[(0,l.jsx)("button",{type:"button",onClick:()=>x.back(),"aria-label":"뒤로가기",children:(0,l.jsx)(n.A,{name:"arrow_left",width:"2.4rem",height:"2.4rem"})}),(0,l.jsx)(r.bc,{})]}),(0,l.jsx)(o._B,{buttons:["text_size","share","bookmark"]})]})})}},57190:(e,t,a)=>{a.d(t,{A:()=>p,e:()=>m});var l=a(97251),i=a(52931),n=a(65294),r=a(2081),s=a(64130),c=a(29173),o=a(95682),d=a(33);let m=e=>{let{buttonPadding:t,className:a,title:m="공유하기",children:p,variant:u="default",ga4Trigger:h,ga4TriggerDirect:x,popoverId:g}=e,y=(0,d.useDevice)(e=>e.device),[v,A]=(0,i.useState)(!1),f=null!=p?p:(0,l.jsx)(n.A,{name:"default"===u?"share":"share_sharp02",width:"24px",height:"24px",color:"text-inherit"});return"mobile"===y?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button","aria-label":"공유",className:(0,r.cn)(t,a),onClick:()=>A(!0),"data-ga4":h,"data-ga4-direct":x,children:f}),(0,l.jsx)(o.P2,{open:v,className:"w-full",onClose:()=>A(!1),title:m,text:(0,l.jsx)(c.A,{variant:"popup"})})]}):(0,l.jsx)(s.A,{content:(0,l.jsx)(c.A,{variant:"page"}),title:m,overlayClassName:"share-popover",trigger:"click",placement:"topRight",align:{offset:[9,-12]},id:g,children:(0,l.jsx)("button",{type:"button","aria-label":"공유",className:(0,r.cn)(t,a),"data-ga4":h,"data-ga4-direct":x,children:f})})},p=m},60576:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});let l={src:"/_next/static/media/fortune_thumbnail.db8da32f.png",height:720,width:1200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAGFBMVEXo4srp5dH39N/x7dbk3cXd28DCwarZ2sZGpcQCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJUlEQVR4nAXBhwEAMAzDIHml/39cQMWmQs1mCdjdo2gpJkDsoA8IsQBey9eSxgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5}},61773:(e,t,a)=>{a.d(t,{_B:()=>s,Ds:()=>C,ex:()=>I,e$:()=>c.e,mW:()=>x}),a(6677);var l=a(97251),i=a(52931),n=a(2081),r=a(93915);let s=e=>{let{buttons:t,buttonPadding:a,buttonClassName:s,className:o,variant:d}=e,m={buttonPadding:a,buttonClassName:s,variant:d,ga4Trigger:"article_tool",ga4TriggerDirect:!0},p=(0,r.x)(e=>e.currentEmotions),u={share:(0,l.jsx)(c.e,{...m,popoverId:"article_share_popover"}),text_size:(0,l.jsx)(x,{...m,popoverId:"article_text_resize_popover"}),bookmark:(0,l.jsx)(C,{...m,initialValue:(null==p?void 0:p.saveYn)==="Y"}),print:(0,l.jsx)(I,{...m})};return(0,l.jsx)("div",{className:(0,n.cn)("flex items-center gap-x-16 sm:gap-x-24",o),children:t.map(e=>(0,l.jsx)(i.Fragment,{children:u[e]},e))})};var c=a(57190),o=a(65294),d=a(64130),m=a(95682),p=a(8340),u=a(89867),h=a(33);let x=e=>{let{buttonPadding:t,className:a,variant:r="default",ga4Trigger:s,ga4TriggerDirect:c,popoverId:x}=e,g=(0,h.useDevice)(e=>e.device),[y,v]=(0,i.useState)(!1);return"mobile"===g?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button","aria-label":"텍스트 크기 변경",className:(0,n.cn)(t,a),onClick:()=>v(!0),"data-ga4":s,"data-ga4-direct":c,children:(0,l.jsx)(o.A,{name:"default"===r?"text_size":"text_size_sharp",width:"2.4rem",height:"2.4rem",color:"text-inherit"})}),(0,l.jsx)(m.P2,{open:y,onClose:()=>v(!1),title:"텍스트 크기 변경",text:(0,l.jsx)(p.A,{}),className:"w-full"})]}):(0,l.jsx)(d.A,{content:(0,l.jsx)(u.A,{}),label:"텍스트 크기 변경",trigger:"click",placement:"topRight",align:{offset:[9,-12]},id:x,children:(0,l.jsx)("button",{type:"button","aria-label":"텍스트 크기 변경",className:(0,n.cn)(t,a),"data-ga4":s,"data-ga4-direct":c,children:(0,l.jsx)(o.A,{name:"text_size",width:"2.4rem",height:"2.4rem",color:"text-inherit"})})})};
1var g=a(38137),y=a(30529),v=a(96103),A=a(30523),f=a(91343),b=a(99882),w=a(51844),N=a(95506),j=a(39714);let C=e=>{let{buttonPadding:t,className:a,initialValue:i,variant:r="default",ga4Trigger:s,ga4TriggerDirect:c}=e,d=(0,w.useQueryClient)(),m=(0,A.A)(e=>e.isLoginStatus),p=(0,g.l)(e=>e.isBookmarked),u=(0,g.l)(e=>e.setBookmarked),h=(0,b.hF)(),{open:x}=(0,f.A)(),C=(0,v.N)(e=>e.currentArticle),E=(0,y.xw)();return(0,l.jsx)("button",{type:"button",className:(0,n.cn)(t,a),"aria-label":"북마크",onClick:()=>{if(!C)return;if(!m)return void x();let e=!p;u(e),E.mutate({targetId:C.articleId,activityType:"Save"},{onSuccess:t=>{console.log("북마크 활동 등록 성공"),d.invalidateQueries({queryKey:[j.z3,C.articleId]}),d.invalidateQueries({queryKey:[N.QR]}),d.invalidateQueries({queryKey:[N.ex]}),e&&h()},onError:t=>{console.log("북마크 활동 등록 실패:",t),u(!e)}})},"data-ga4":s,"data-ga4-direct":c,children:(0,l.jsx)(o.A,{name:"default"===r?p?"bookmark_fill":"bookmark_empty":p?"bookmark_fill_sharp":"bookmark_sharp",width:"2.4rem",height:"2.4rem",color:p?"text-reverse-green-40":"text-inherit"})})};var E=a(99470),k=a(99570);let I=e=>{let{buttonPadding:t,className:a,variant:i="default",ga4Trigger:r,ga4TriggerDirect:s}=e,c=(0,E.W)(e=>e.targetRef),d=(0,k.A)(e=>e.setPrintMode);return(0,l.jsx)("button",{type:"button",className:(0,n.cn)(t,a),"aria-label":"인쇄",onClick:()=>{var e;if(!c.current)return;d(!0);let t=document.createElement("style");t.id="print-styles",t.textContent="\n    @media print {\n      /* 모든 요소 숨김 */\n      body * {\n        visibility: hidden;\n      }\n      \n      /* 프린트 대상만 보이기 */\n      #print-content,\n      #print-content * {\n        visibility: visible !important;\n      }\n      \n      /* 프린트 대상 위치 조정 */\n      #print-content {\n        position: absolute;\n        left: 0;\n        top: 0;\n        width: 100%;\n      }\n      \n      /* 프린트 대상만 라이트모드 강제 적용 */\n      #print-content {\n        color: black !important;\n      }\n      \n      #print-content * {\n        color: inherit !important;\n      }\n      \n      @page {\n        size: A4;\n        margin: 1cm 2cm;\n      }\n      \n      .no-print {\n        display: none !important;\n      }\n    }\n  ",document.head.appendChild(t);let a=c.current.id;c.current.id="print-content",window.print(),c.current.id=a,null==(e=document.getElementById("print-styles"))||e.remove(),d(!1)},"data-ga4":r,"data-ga4-direct":s,children:(0,l.jsx)(o.A,{name:"default"===i?"printing":"print_sharp",width:"2.4rem",height:"2.4rem",color:"text-inherit"})})}},63972:(e,t,a)=>{a.d(t,{A:()=>i});var l=a(97251);a(52931);let i=e=>{let{width:t=1,height:a=10,margin:i=0,color:n="var(--color-reverse-grayscale-97)",className:r}=e,s={width:"100%"===t?"100%":"".concat(t/10,"rem"),height:"100%"===a?"100%":"auto"===a?"auto":"".concat(a/10,"rem"),margin:i?"".concat(i,"px 0"):void 0,backgroundColor:n.startsWith("gray")?"var(--".concat(n,")"):n};return(0,l.jsx)("div",{className:r,style:s})}},64130:(e,t,a)=>{a.d(t,{A:()=>s});var l=a(97251),i=a(33536),n=a(52931),r=a(30153);let s=e=>{let{content:t,title:a,children:s,placement:c="bottomRight",trigger:o="click",dialog:d=!0,label:m,open:p,onOpenChange:u,afterOpenChange:h,...x}=e,[g,y]=(0,n.useState)(!1),v=void 0!==p,A=v?p:g,[f,b]=(0,n.useState)(!1);(0,n.useEffect)(()=>{A||b(!1)},[A]);let w=e=>{v||y(e),null==u||u(e)},{dialogRef:N}=(0,r.f)({open:d&&A&&f,onClose:()=>w(!1)}),j=null!=m?m:"string"==typeof a?a:void 0;return(0,l.jsx)(i.A,{content:d?(0,l.jsx)("div",{ref:N,role:"dialog","aria-label":j,tabIndex:-1,children:t}):t,title:a,placement:c,trigger:o,open:A,onOpenChange:w,afterOpenChange:e=>{b(e),null==h||h(e)},...x,children:d&&(0,n.isValidElement)(s)?(0,n.cloneElement)(s,{"aria-haspopup":"dialog","aria-expanded":A}):s})}},65797:(e,t,a)=>{a.d(t,{k:()=>r,q:()=>s});var l=a(60576),i=a(22707),n=a(28837);let r=e=>{let t=e.replace(/<[^>]*>/g,"");return t.includes("[MBTI 오늘의 운세]")?[i.default]:t.includes("[백운산 오늘의 운세]")?[l.default]:null},s=(e,t)=>t?[...e,n.default]:e},67151:(e,t,a)=>{a.d(t,{_1:()=>i,tR:()=>s,ts:()=>r,zm:()=>n});var l=a(37951);let i=new l.i({baseUrl:"https://ai-home-api.hankookilbo.com",credentials:!0,responseInterceptors:[async e=>{if(!e.ok)throw{code:"",message:"",data:await e.text(),status:e.status};return e}]}),n=new l.i({baseUrl:"https://ai-home-api.hankookilbo.com",credentials:!0,responseInterceptors:[async e=>{if(!e.ok)throw{code:"",message:"",data:await e.text(),status:e.status};return e}]}),r=new l.i({baseUrl:"https://ai-search-api.hankookilbo.com",credentials:!1,responseInterceptors:[async e=>{if(!e.ok)throw{code:"",message:"",data:await e.text(),status:e.status};return e}]}
1),s=new l.i({baseUrl:"https://d2aw50g8irt5xc.cloudfront.net",credentials:!0,responseInterceptors:[async e=>{if(!e.ok)throw{code:"",message:"",data:await e.text(),status:e.status};return e}]})},71808:(e,t,a)=>{a.d(t,{Lnb:()=>w});var l=a(97251),i=a(61141),n=a(62332),r=a(2081),s=a(14938),c=a(65294),o=a(30418),d=a(42914),m=a(52931),p=a(32522),u=a(92062),h=a(77503),x=a(42524),g=a(30523),y=a(60741),v=a(18973),A=a(30153);let f=e=>{let{item:t,hasChildren:a,onClick:s}=e;return(0,l.jsxs)(i.A,{href:(0,u.sX)(t.path),className:(0,r.cn)("block flex gap-4 py-7",a?"w-full":"w-[50%]"),onClick:s,children:[(0,l.jsx)(n.A,{type:"17",bold:"semibold",className:(0,r.cn)("text-reverse-grayscale-10","Premium"===t.name&&"text-reverse-gold-70","H 탐사 플러스"===t.name&&"dark:text-teal-70 text-teal-50","휙"===t.name&&"text-reverse-huick"),children:t.name}),t.premium&&(0,l.jsx)(c.A,{name:"premium",width:"12",height:"12",className:"mt-5"})]})},b=e=>{let{child:t,onClick:a}=e;return(0,l.jsx)(i.A,{href:(0,u.sX)(t.path),className:"block py-8",onClick:a,children:(0,l.jsx)(n.A,{type:"16",bold:"medium",className:(0,r.cn)("text-reverse-grayscale-40","Premium"===t.name&&"text-gold-70","H 탐사 플러스"===t.name&&"dark:text-teal-70 text-teal-50","휙"===t.name&&"text-reverse-huick"),children:t.name})})},w=()=>{(0,g.A)(e=>e.isLoginStatus);let e=(0,d.A)(e=>e.setOpenSiteMap),t=(0,d.A)(e=>e.isAlarm),a=(0,d.A)(e=>e.isAlarmLayerOpen),n=(0,d.A)(e=>e.setIsAlarmLayerOpen),u=(0,m.useRef)(null),[w,N]=(0,m.useState)(!1),j=()=>{e(!1)},{dialogRef:C}=(0,A.f)({open:!0,onClose:j});return(0,m.useEffect)(()=>(0,v.t)(),[]),(0,m.useEffect)(()=>{let e=u.current;if(!e)return;let t=e=>{N(e.currentTarget.scrollTop>0)};return e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)},[]),(0,l.jsxs)("nav",{id:"lnb-panel",ref:C,className:"bg-reverse-common-100 fixed top-0 left-0 z-670 h-[100dvh] w-full","aria-label":"전체 메뉴",children:[(0,l.jsx)("div",{className:(0,r.cn)("p-20",w&&"shadow-md"),children:(0,l.jsxs)(s.A,{gap:10,children:[!(0,y.KR)()&&(0,l.jsx)("button",{type:"button",className:"p-8",onClick:()=>{n(!a)},"aria-label":"알림","aria-haspopup":"dialog","aria-expanded":a,children:(0,l.jsx)(c.A,{name:t?"bell_notification":"bell",width:"24px",height:"24px",color:(0,r.cn)("text-reverse-grayscale-10")})}),(0,l.jsx)("button",{type:"button",className:"ml-auto p-4",onClick:j,"aria-label":"닫기",children:(0,l.jsx)(c.A,{name:"cancel",width:"32px",height:"32px"})})]})}),(0,l.jsxs)("div",{className:"small_scroll h-[calc(100dvh-8rem)] overflow-y-auto",ref:u,children:[(0,l.jsx)(o.A,{width:"100%",height:10,className:"!bg-reverse-grayscale-99"}),(0,l.jsx)("div",{className:"wrap px-20!",children:(0,l.jsx)("ul",{role:"list",className:"flex flex-wrap gap-16 py-20",children:p.C.map((e,t)=>(0,l.jsxs)("li",{className:"flex w-full flex-wrap",children:[e.title.map(t=>(0,l.jsx)(f,{item:t,hasChildren:!!e.children,onClick:j},t.id)),e.children&&(0,l.jsx)("ul",{role:"list",className:"flex w-full flex-wrap",children:e.children.map(e=>(0,l.jsx)("li",{className:"w-[50%]",children:(0,l.jsx)(b,{child:e,onClick:j})},e.id))}),t<p.C.length-1&&(0,l.jsx)(o.A,{width:"100%",height:1,className:"!bg-reverse-grayscale-97 mt-14"})]},e.id))})}),(0,l.jsx)(o.A,{width:"100%",height:10,className:"!bg-reverse-grayscale-99"}),(0,l.jsx)("div",{className:"wrap px-20!",children:(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-24 py-20",children:[(0,l.jsx)(s.A,{gap:10,children:x.w7.map((e,t)=>(0,l.jsx)(i.A,{href:e.href,className:"p-10",onClick:j,target:"_blank",rel:"noopener noreferrer","aria-label":e.label,children:(0,l.jsx)(c.A,{name:e.iconName,width:"20px",height:"20px"})},t))}),(0,l.jsx)(h.E,{footer:!1})]})})]})]})}},74933:(e,t,a)=>{a.d(t,{MoIconUtility:()=>p});var l=a(97251),i=a(61141),n=a(42914),r=a(65294),s=a(14938),c=a(2081),o=a(30523),d=a(52642),m=a(92062);let p=e=>{let{main:t=!1,color:a,pageVariant:p,links:u}=e,h=(0,o.A)(e=>e.isLoginStatus),x=(0,d.O)(null==u?void 0:u.login,null==u?void 0:u.sp),g=u?(0,m.Ly)(u.mypage,u.sp):"/mypage",y=(0,n.A)(e=>e.isHeaderTop),v=(0,n.A)(e=>e.isOpenSiteMap),A=(0,n.A)(e=>e.setOpenSiteMap),f=!(t&&y);return(0,l.jsxs)(s.A,{gap:16,className:"items-center",children:[(0,l.jsx)("div",{className:"flex h-24 w-24 items-center justify-center",children:null===h?null:h?(0,l.jsx)(i.A,{"data-ga4":"main_gnb_mainpanel",href:g,className:(0,
1c.cn)("transition-opacity delay-200 duration-200",f?"visible opacity-100":"invisible opacity-0"),children:(0,l.jsxs)("div",{className:(0,c.cn)("rounded-circle p-4","white"===a?"bg-common-100":"bg-reverse-grayscale-10"),children:[(0,l.jsx)(r.A,{name:"user",width:"20px",height:"20px",color:(0,c.cn)("white"===a?"text-reverse-grayscale-10 dark:text-grayscale-10!":"text-common-100 dark:text-grayscale-10!")}),(0,l.jsx)("span",{className:"sr-only",children:"마이페이지"})]})}):(0,l.jsxs)(i.A,{"data-ga4":"main_gnb_mainpanel",href:x,children:[(0,l.jsx)(r.A,{name:"user",width:"24px",height:"24px",color:(0,c.cn)("white"===a?"text-common-100":"text-reverse-grayscale-10","transition-opacity delay-200 duration-200",f?"visible opacity-100":"invisible opacity-0")}),(0,l.jsx)("span",{className:"sr-only",children:"로그인"})]})}),(0,l.jsxs)(i.A,{"data-ga4":"main_gnb_mainpanel",href:(0,m.sX)("/search"),children:[(0,l.jsx)(r.A,{name:"search_ai",width:"24px",height:"24px",color:(0,c.cn)("white"===a?"text-common-100":"text-reverse-grayscale-10")}),(0,l.jsx)("span",{className:"sr-only",children:"검색"})]}),"game"!==p&&(0,l.jsxs)("button",{"data-ga4":"main_gnb_mainpanel","data-ga4-direct":!0,type:"button",onClick:()=>{A(!v)},"aria-expanded":v,"aria-controls":"lnb-panel",children:[v?(0,l.jsx)(r.A,{name:"cancle",width:"28px",height:"28px"}):(0,l.jsx)(r.A,{name:"menu",width:"24px",height:"24px",color:(0,c.cn)("white"===a?"text-common-100":"text-reverse-grayscale-10")}),(0,l.jsx)("span",{className:"sr-only",children:"전체메뉴"})]})]})}},77503:(e,t,a)=>{a.d(t,{E:()=>d});var l=a(97251),i=a(2081),n=a(52931),r=a(65294),s=a(53352),c=a(62332),o=a(42524);let d=e=>{let{className:t,footer:a=!0}
1=e,[d,m]=(0,n.useState)(!1);return(0,l.jsxs)("div",{className:(0,i.cn)("relative",t,[!a&&"w-full"]),children:[(0,l.jsxs)("button",{onClick:()=>m(e=>!e),className:(0,i.cn)("text-reverse-common-100 border-grayscale-40 flex items-center justify-between rounded-sm border py-8 pr-10 pl-16",d&&"rounded-t-none",a?"w-full sm:w-178":"w-full",!a&&d?"border-reverse-grayscale-10 border-t-reverse-grayscale-95":!a&&"border-reverse-grayscale-95"),children:[(0,l.jsx)(s.A,{type:"medium",className:(0,i.cn)(a?"text-common-100":"text-reverse-grayscale-10"),children:"Family Site"}),(0,l.jsx)(r.A,{name:d?"minus":"plus",width:"2.4rem",height:"2.4rem",className:(0,i.cn)(a?"text-common-100":"text-reverse-grayscale-10")})]}),d&&(0,l.jsx)("div",{className:(0,i.cn)("bg-reverse-common-100 border-reverse-grayscale-10 absolute bottom-41 z-10 max-h-388 w-full overflow-y-auto rounded-t-sm border-1 px-16 py-8",d&&"border-b-reverse-grayscale-95"),children:(0,l.jsx)("ul",{role:"list",children:o.rR.map((e,t)=>(0,l.jsxs)("li",{children:[(0,l.jsx)(c.A,{type:"14",bold:"bold",className:"text-reverse-grayscale-10 py-8",children:e.group}),e.links.map((e,t)=>(0,l.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"block py-8",children:(0,l.jsx)(c.A,{type:"14",bold:"normal",className:"text-reverse-grayscale-40",children:e.label})},t))]},t))})})]})}},79164:(e,t,a)=>{a.r(t),a.d(t,{EmpathyGIFIcons:()=>o});var l=a(97251),i=a(2081);let n={src:"/_next/static/media/ic_smile.472e1ada.png",height:128,width:128,blurWidth:0,blurHeight:0},r={src:"/_next/static/media/ic_rage.f776690a.png",height:128,width:128,blurWidth:0,blurHeight:0};a(52931);var s=a(51727);let c={empathy_gif:"empathy_gif",smile_gif:n,rage_gif:r},o=e=>{let{className:t,name:a,width:o,height:d,onClick:m}=e,p=c[a];return"empathy_gif"===a?(0,l.jsxs)("div",{className:(0,i.cn)("flex",t),children:[(0,l.jsx)(s.default,{src:n,alt:"",className:"relative z-1",style:{width:"2.4rem",height:"2.4rem"}}),(0,l.jsx)(s.default,{src:r,alt:"",className:"ml-[-0.84rem]",style:{width:"2.4rem",height:"2.4rem"}})]}):(0,l.jsx)(s.default,{src:p,alt:"",className:(0,i.cn)(t),onClick:m,style:{width:o,height:d}})}},79277:(e,t,a)=>{a.d(t,{w:()=>n});var l=a(88176),i=a(59913);let n=(0,l.v)()((0,i.Zr)((e,t)=>({activities:{},saveActivity:(t,a,l)=>e(e=>({activities:{...e.activities,[t]:{...e.activities[t],[a]:l}}})),getActivity:(e,a)=>{var l;return null==(l=t().activities[e])?void 0:l[a]},getArticleActivities:e=>t().activities[e],getAllActivities:()=>t().activities,clearArticleActivities:t=>e(e=>{let{[t]:a,...l}=e.activities;return{activities:l}}),clearAllActivities:()=>e({activities:{}}),saveCommentActivity:(t,a,l,i)=>e(e=>{var n;return{activities:{...e.activities,[t]:{...e.activities[t],Comments:[...((null==(n=e.activities[t])?void 0:n.Comments)||[]).filter(e=>e.opinionId!==a),{opinionId:a,activityId:l,activityYn:i}]}}}}),getCommentActivity:(e,a)=>{var l,i;return null==(i=t().activities[e])||null==(l=i.Comments)?void 0:l.find(e=>e.opinionId===a)},removeCommentActivity:(t,a)=>e(e=>{var l,i;return{activities:{...e.activities,[t]:{...e.activities[t],Comments:null==(i=e.activities[t])||null==(l=i.Comments)?void 0:l.filter(e=>e.opinionId!==a)}}}}),getSyncData:()=>{let e=t().activities,a=[],l=[];return(Object.values(e).forEach(e=>{var t,i;(null==(t=e.Read)?void 0:t.activityId)&&a.push(e.Read.activityId),(null==(i=e.Sympathy)?void 0:i.activityId)&&a.push(e.Sympathy.activityId),e.Comments&&e.Comments.forEach(e=>{l.push(e.activityId)})}),0===a.length&&0===l.length)?null:{sympathyArticle:a,sympathyOpinion:l}}}),{name:"article_activities"}))},79972:(e,t,a)=>{a.d(t,{l:()=>r,m:()=>n});var l=a(52931);function i(e){if(!e.isInitialized()){let t="e62df5186f0758def8f14c53e64d7b9d";t&&e.init(t)}return e}function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3;return window.Kakao?Promise.resolve(i(window.Kakao)):new Promise((t,a)=>{let l=Date.now(),n=()=>window.Kakao?t(i(window.Kakao)):Date.now()-l>=e?a(Error("Kakao SDK: ".concat(e,"ms 내 준비되지 않음 (호스트 <script> 또는 KakaoProvider 필요)"))):void setTimeout(n,100);n()})}let r=()=>{(0,l.useEffect)(()=>{n().catch(()=>{})},[])}},84704:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(52931),i=a(18973);let n=()=>{let[e,t]=(0,l.useState)(!1),[a,n]=(0,l.useState)(!0),[r,s]=(0,l.useState)(0),[c,o]=(0,l.useState)(0);return(0,l.useEffect)(()=>{let e=window.scrollY,a=()=>{let a=window.scrollY;o(a),!document.body.classList.contains(i.m)&&(a>e?t(!0):a<e&&t(!1)),n(a<=10),e=a,(()=>{let e=window.scrollY,t=document.documentElement.scrollHeight-window.innerHeight;s(t>0?e/t*100:0)})()};return window.addEventListener("scroll",a),a(),()=>{window.removeEventListener("scroll",a)}},[]),{isScrolled:e,isTop:a,scrollProgress:r,scrollY:c}}},86259:(e,t,a)=>{a.d(t,{MoreDepthNavigation:()=>v});
1var l=a(97251),i=a(61141),n=a(1940),r=a(91596),s=a(2081),c=a(94568),o=a(92062),d=a(42914),m=a(52931),p=a(62332),u=a(33),h=a(27970),x=a(36360),g=a(47589),y=a(97560);let v=e=>{let{utilityColor:t,utilityPageVariant:a,isExternalReferrer:v,isMyPage:A=!1,renderAlarmLayer:f=!0,links:b}=e,w=(0,u.useDevice)(e=>e.device),N="mobile"===w,j=(0,n.usePathname)(),C=(0,d.A)(e=>e.isHeaderTop),E=(0,d.A)(e=>e.moreDepthMenu),k=(0,d.A)(e=>e.isOpenSiteMap),I=(0,d.A)(e=>e.setHasMoreDepthChildren),{scrollRef:O}=(0,x.T)(),[S,L]=(0,m.useState)(!1),M=(0,m.useRef)(null),T=(0,g.A)(e=>e.activeMenu),_=(0,m.useMemo)(()=>{if(E)return{...E,label:"normal"}},[E,j]);(0,m.useEffect)(()=>{var e;I(!!(null==_||null==(e=_.children)?void 0:e.length))},[_,I]),(0,m.useEffect)(()=>{let e=()=>{if(!O.current)return;let{scrollLeft:e,scrollWidth:t,clientWidth:a}=O.current;L(e<t-a-1)},t=O.current;if(t)return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[_]),(0,m.useEffect)(()=>{M.current&&M.current.scrollIntoView({behavior:"auto",block:"nearest",inline:"center"})},[j]);let D=_?"pl-16 py-16 md:pr-16 sm:py-18":"py-0";return(0,l.jsx)(l.Fragment,{children:_&&_.children&&(0,l.jsx)("nav",{className:(0,s.cn)("bg-reverse-common-100 absolute left-0 z-500 transition-all duration-400 w-full shadow-sm",k&&"bg-reverse-common-100 shadow-none",C?"-top-80":A?"top-64 smmd:top-64 sm:top-64 md:top-76":"top-64 xssm:top-64 sm:top-64 md:top-76"),"aria-label":"".concat(_.title," 메뉴"),children:(0,l.jsx)("div",{className:(0,s.cn)("wrap flex h-64 items-center sm:h-64 md:h-76",D),children:(0,l.jsxs)("div",{className:"relative flex w-full items-center justify-between gap-10",children:[(0,l.jsxs)("div",{className:"relative -mx-10 flex w-[calc(100%+2rem)] items-center gap-20 px-6 pl-16 sm:mx-0 sm:gap-40 sm:px-0 sm:pl-0 md:w-[calc(100%-19rem)]",children:[(0,l.jsx)(i.A,{href:(0,o.sX)(_.path||(0,c.b0)(_)),children:(0,l.jsx)(r.A,{type:"xx_large",className:(0,s.cn)("leading-[3.2rem] whitespace-nowrap"),bold:"bold",children:_.title})}),(0,l.jsx)("div",{ref:O,className:(0,s.cn)("hide_scroll cursor-pointer overflow-x-auto overflow-y-hidden"),children:_.children&&_.children.length>0&&(0,l.jsx)("ul",{role:"list",className:"space-x-inner-10 sm:space-x-inner-20 flex space-x-10 sm:space-x-20",children:_.children.map((e,t)=>{let a=(0,c.b0)(e);if(!a)return null;let n=(null==j?void 0:j.startsWith(a))||(0,y.uf)(e.activeMenu,T);return(0,l.jsx)("li",{ref:n?M:null,className:"after:bg-reverse-grayscale-97 relative after:absolute after:top-8 after:right-0 after:h-16 after:w-1 last:pr-16 last:after:hidden sm:after:top-5.5",children:(0,l.jsx)(i.A,{href:(0,o.sX)(a),className:(0,s.cn)("p-4 sm:p-0"),children:(0,l.jsx)(p.A,{type:N?"16":"18",className:(0,s.cn)("whitespace-nowrap",n?"text-reverse-grayscale-10":"text-reverse-grayscale-25"),bold:n?"extrabold":"medium",children:e.title})})},t)})})}),(0,l.jsx)("div",{className:(0,s.cn)("pointer-events-none absolute top-0 -right-18 z-5 h-full w-42 bg-[linear-gradient(90deg,rgba(255,255,255,0)_0%,var(--color-reverse-common-100)_83.75%)] transition-opacity duration-200 md:right-0",S?"opacity-100":"opacity-0")})]}),"tablet"!==w&&!N&&(0,l.jsx)(l.Fragment,{children:A&&null!==v?(0,l.jsx)(h.tZ,{showShare:!1,links:b}):(0,l.jsx)(h.Lu,{color:t,pageVariant:a,className:"flex",renderAlarmLayer:f,links:b})})]})})})})}},89867:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(97251);a(52931);var i=a(4947);let n=()=>{let e=(0,i.i)(e=>e.selectedOption),t=(0,i.i)(e=>e.setSelectedOption),a=(0,i.i)(e=>e.options),n=a.findIndex(t=>t.size===e.size),r=[{size:"text-[12px] font-medium",label:"가"},{size:"text-[14px] font-medium",label:"가"},{size:"text-[16px] font-semibold",label:"가"},{size:"text-[18px] font-semibold",label:"가"},{size:"text-[20px] font-extrabold",label:"가"}];return(0,l.jsx)("div",{className:"flex flex-col items-center gap-16",children:(0,l.jsx)("div",{className:"border-reverse-grayscale-90 inline-grid grid-cols-5 overflow-hidden rounded-[0.2rem] border",children:a.map((e,a)=>{let i=a===n;return(0,l.jsx)("button",{type:"button",onClick:()=>t(e),className:"text-reverse-grayscale-10! flex h-[40px] w-[40px] items-center justify-center leading-1.5 transition ".concat(0!==a?"border-reverse-grayscale-90 border-l":""," ").concat(i?"bg-reverse-coolgrayscale-95":"hover:bg-reverse-coolgrayscale-95"," "),children:(0,l.jsx)("span",{className:r[a].size,children:r[a].label})},a)})})})}},90047:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});var l,i=a(52931);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}let r=function(e){return i.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},e),l||(l=i.createElement("path",{fill:"#ddd",d:"M.9 12c-.497 0-.904.403-.866.9A12 12 0 1 0 12.899.033C12.404-.004 12 .403 12 .9s.404.896.899.94a10.2 10.2 0 1 1-11.06 11.059C1.797 12.404 1.398 12 .9 12"})))}},90664:(e,t,a)=>{a.d(t,{SectionNavigation:()=>m});var l=a(97251),i=a(61141),n=a(2081),r=a(94568),s=a(92062),c=a(4899),o=a(33),d=a(52931);let m=e=>{let{type:t,pageVariant:a}=e,{visibleMenu:m}=(0,c.W)("premium"===a),p=(0,o.useDevice)(e=>e.device),u=(0,o.useDevice)(e=>e.isSmallTablet),h="tablet"===p||u,x="mobile"===p&&!u||h,g="white"===t?"text-green-60":"text-reverse-green-40",y="white"===t?"text-gold-40":"text-reverse-gold-70",v="white"===t?"text-teal-70":"text-teal-50 dark:text-teal-70",A="white"===t?"text-common-100":"text-reverse-grayscale-10";return(0,l.jsx)("nav",{className:(0,n.cn)(h&&"absolute left-1/2 -translate-x-1/2"),"aria-label":"메인 메뉴",children:(0,l.jsx)("ul",{className:(0,n.cn)("flex gap-12 md:gap-32",h&&"max-w-[360px]"),role:"list",children:m.map((e,t)=>{let c="premium"===e.label,o="deep"===e.label,p="main_topic"===e.label;return(0,l.jsxs)(d.Fragment,{children:[(0,l.jsx)("li",{className:"relative",children:(0,l.jsx)(i.A,{"data-ga4":"main_gnb_mainpanel",href:(0,s.sX)((0,r.b0)(e)),children:(0,l.jsx)("p",{className:(0,n.cn)("text-18 md:text-20 px-4 font-semibold whitespace-nowrap transition-all hover:[-webkit-text-stroke:0.05rem_currentColor]",x&&"premium"===a&&"text-common-100",c&&h&&"text-19",!x&&p&&g,c&&y,o&&v,!p&&!c&&!o&&A),"data-content":e.title,children:e.title})})}),h&&t<m.length-1&&(0,l.jsx)("li",{className:"flex flex-1 items-center justify-center",children:(0,l.jsx)("span",{className:(0,n.cn)("h-16 w-px","premium"===a?"bg-grayscale-30":"bg-grayscale-92 dark:bg-grayscale-30")})})]},t)})})})}},92062:(e,t,a)=>{function l(){return!0===globalThis.__WC_EMBED__}a.d(t,{Ly:()=>r,_M:()=>l,lo:()=>s,sX:()=>n});let i=e=>e.replace(/\/$/,"");function n(e){if(/^https?:\/\//.test(e)||e.startsWith("//"))return e;let t=l()?"https://www.hankookilbo.com":void 0;return t?"".concat(i(t)).concat(e):e}function r(e,t){if("dotcom"===e){let e="https://www.hankookilbo.com";return e?"".concat(i(e),"/mypage"):"/mypage"}let a="https://member.hankookilbo.com";if(!a)return"/mypage";let l="".concat(i(a),"/mypage/member-info");return t?"".concat(l,"?ch=").concat(encodeURIComponent(t)):l}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("dotcom"===e){let e="https://www.hankookilbo.com",{callbackPath:a}=t,l=a?"/auth/login?callbackUrl=".concat(encodeURIComponent(a)):"/auth/login";return e?"".concat(i(e)).concat(l):l}let a="https://member.hankookilbo.com";if(!a)return"/auth/login";let l="".concat(i(a),"/auth/login");return t.sp?"".concat(l,"?sp=").concat(encodeURIComponent(t.sp)):l}},92946:(e,t,a)=>{a.d(t,{PcIconUtility:()=>g});var l=a(97251),i=a(61141),n=a(42914),r=a(65294),s=a(14938),c=a(2081),o=a(27970),d=a(1940),m=a(52931),p=a(30523),u=a(20426),h=a(52642),x=a(92062);let g=e=>{let{main:t=!1,color:a,isWhite:g=!1,pageVariant:y,className:v,renderAlarmLayer:A=!0,links:f}=e,b=(0,p.A)(e=>e.isLoginStatus),w=(0,h.O)(null==f?void 0:f.login,null==f?void 0:f.sp),N=f?(0,x.Ly)(f.mypage,f.sp):"/mypage",j=(0,n.A)(e=>e.isHeaderScroll),C=(0,n.A)(e=>e.isHeaderTop),E=(0,n.A)(e=>e.isOpenSiteMap),k=(0,n.A)(e=>e.isAlarm),I=(0,n.A)(e=>e.isAlarmLayerOpen),O=(0,n.A)(e=>e.setOpenSiteMap),S=(0,n.A)(e=>e.setIsAlarmLayerOpen),L=(0,d.usePathname)(),M=(0,m.useRef)(null),T=g||"white"===a,_="game"===y,D=!(t&&C);return(0,m.useEffect)(()=>{(I||j)&&S(!1)},[L,j]),(0,m.useEffect)(()=>{I&&n.A.getState().setOpenSiteMap(!1)}
1,[I]),(0,l.jsxs)(s.A,{gap:4,className:(0,c.cn)("items-center",v),children:[C&&t?(0,l.jsx)("div",{className:"h-40 w-40"}):(0,l.jsx)("div",{className:"h-40 w-40",children:null===b?null:b?(0,l.jsx)(u.default,{size:"small",id:"mypage",tooltip:{content:"마이페이지",place:"bottom"},isDisabled:I,children:(0,l.jsx)(i.A,{"data-ga4":"main_gnb_mainpanel",href:N,className:(0,c.cn)("hover:bg-opacity-light-5 active:bg-opacity-light-12 rounded-circle p-4 transition-opacity delay-200 duration-200",D?"visible opacity-100":"invisible opacity-0"),children:(0,l.jsxs)("div",{className:(0,c.cn)("rounded-circle p-4",T?"bg-common-100":"bg-reverse-grayscale-10"),children:[(0,l.jsx)(r.A,{name:"user",width:"24px",height:"24px",color:(0,c.cn)(T?"text-grayscale-10 dark:text-grayscale-10!":"text-common-100 dark:text-grayscale-10!")}),(0,l.jsx)("span",{className:"sr-only",children:"마이페이지"})]})})}):(0,l.jsx)(u.default,{size:"small",id:"login",tooltip:{content:"로그인",place:"bottom"},isDisabled:I,children:(0,l.jsxs)(i.A,{"data-ga4":"main_gnb_mainpanel",href:w,className:(0,c.cn)("hover:bg-opacity-light-5 active:bg-opacity-light-12 rounded-circle p-8 transition-opacity delay-200 duration-200",D?"visible opacity-100":"invisible opacity-0"),children:[(0,l.jsx)(r.A,{name:"user",width:"24px",height:"24px",color:(0,c.cn)(_||T?"text-common-100":"text-reverse-grayscale-10")}),(0,l.jsx)("span",{className:"sr-only",children:"로그인"})]})})}),!_&&(0,l.jsx)(u.default,{size:"small",id:"notification",tooltip:{content:"알림",place:"bottom"},isDisabled:I,children:(0,l.jsxs)("button",{"data-ga4":"main_gnb_mainpanel","data-ga4-direct":!0,ref:M,type:"button","aria-haspopup":"dialog","aria-expanded":!!(I&&A),className:(0,c.cn)("rounded-circle hover:bg-opacity-light-5 active:bg-opacity-light-12 p-8",I&&"bg-opacity-light-12 hover:bg-opacity-light-12"),onClick:e=>{e.stopPropagation(),S(!I)},children:[(0,l.jsx)("span",{className:"sr-only",children:"알림"}),k?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.A,{name:"bell_notification",width:"24px",height:"24px",color:(0,c.cn)(T?"text-common-100":"text-reverse-grayscale-10")}),(0,l.jsx)("span",{className:"sr-only",children:"새로운 기사 있음"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.A,{name:"bell",width:"24px",height:"24px",color:(0,c.cn)(T?"text-common-100":"text-reverse-grayscale-10")}),(0,l.jsx)("span",{className:"sr-only",children:"새로운 기사 없음"})]})]})}),(0,l.jsx)(u.default,{size:"small",id:"search",tooltip:{content:"검색",place:"bottom"},isDisabled:I,children:(0,l.jsxs)(i.A,{"data-ga4":"main_gnb_mainpanel",href:(0,x.sX)("/search"),className:(0,c.cn)("rounded-circle hover:bg-opacity-light-5 active:bg-opacity-light-12 p-8"),"aria-label":"검색",children:[(0,l.jsx)(r.A,{name:"search_ai",width:"24px",height:"24px",color:(0,c.cn)(T&&!E?"text-common-100":"text-reverse-grayscale-10")}),(0,l.jsx)("span",{className:"sr-only",children:"검색"})]})}),!_&&(0,l.jsx)(u.default,{size:"small",id:"menu",tooltip:{content:"전체메뉴",place:"bottom"},isDisabled:I,children:(0,l.jsxs)("button",{"data-ga4":"main_gnb_mainpanel","data-ga4-direct":!0,type:"button",className:(0,c.cn)("rounded-circle hover:bg-opacity-light-5 active:bg-opacity-light-12 flex items-center justify-center",E?"p-4":"p-8"),onClick:()=>O(!E),"aria-expanded":E,"aria-controls":"site-map-panel",children:[E?(0,l.jsx)(r.A,{name:"cancel",width:"32px",height:"32px"}):(0,l.jsx)(r.A,{name:"menu",width:"24px",height:"24px",color:(0,c.cn)(T?"text-common-100":"text-reverse-grayscale-10")}),(0,l.jsx)("span",{className:"sr-only",children:"전체메뉴"})]})}),(0,l.jsx)(o.HM,{show:!!(I&&A),alarmButtonRef:M})]})}},93120:(e,t,a)=>{a.d(t,{BO:()=>y,Bc:()=>n,Hl:()=>p,Ot:()=>u,WT:()=>o,fz:()=>c,k8:()=>h,kE:()=>r,lp:()=>d,mO:()=>x,p:()=>s,qq:()=>m,rA:()=>g});var l=a(23834),i=a(33559);let n=async(e,t,a)=>{let n="".concat(l.Q.ARTICLES,"/common-articles/").concat(t).concat(a?"/"+a:"");return i.W.get(n,{params:e})},r=async(e,t)=>i.W.get("".concat(l.Q.ARTICLES,"/best-articles/").concat(e),{params:t}),s=async e=>{let{articleId:t,type:a}=e;return await i.W.get("".concat(l.Q.ARTICLES,"/").concat(t,"/status"),{...a&&{params:{type:a}}})},c=async e=>await i.W.get("".concat(l.Q.ARTICLES,"/article-opinion"),{params:e}),o=async e=>await i.W.get("".concat(l.Q.ARTICLES,"/recommended/").concat(e)),d=async e=>i.W.get("".concat(l.Q.ARTICLES,"/recommend-articles"),{params:e}),m=async e=>await i.W.post("".concat(l.Q.ARTICLES,"/article-opinion"),{body:e}),p=async e=>await i.W.put("".concat(l.Q.ARTICLES,"/article-opinion"),{body:e}),u=async e=>await i.W.post("".concat(l.Q.ARTICLES,"/sympathy-opinion"),{body:e}),h=async e=>await i.W.post("".concat(l.Q.ARTICLES,"/sympathy-article"),{body:e}),x=async e=>await i.W.get("".concat(l.Q.ARTICLES,"/recommend-dynamic-articles/").concat(e)),g=async e=>await i.W.post("".concat(l.Q.ARTICLES,"/sympathy"),{body:e}),y=async e=>await i.W.get("".concat(l.Q.ARTICLES,"/bylines/").concat(e))},93402:(e,t,a)=>{a.d(t,{Bj:()=>
1p,DJ:()=>c,GT:()=>y,H:()=>h,II:()=>x,P4:()=>o,ag:()=>v,fw:()=>d,i0:()=>g,jB:()=>u,qe:()=>m,tx:()=>r,wM:()=>s});var l=a(92062),i=a(23834),n=a(33559);let r=async(e,t)=>n.W.get("".concat(i.Q.BUNDLE,"/main/").concat(t),{params:e}),s=async(e,t)=>n.W.get("".concat(i.Q.BUNDLE,"/article/").concat(t),{params:e}),c=async(e,t)=>n.W.get("".concat(i.Q.BUNDLE,"/article/").concat(t,"/top-category"),{params:e}),o=async e=>n.W.get("".concat(i.Q.BUNDLE,"/ranking-article"),{params:e}),d=async e=>n.W.get("".concat(i.Q.BUNDLE,"/ranking-bundle"),{params:e}),m=async e=>n.W.get("".concat(i.Q.BUNDLE,"/theme-bundle"),{params:e}),p=async()=>n.W.get("".concat(i.Q.BUNDLE,"/animal")),u=async e=>n.W.get("".concat(i.Q.BUNDLE,"/photo"),{params:e}),h=async()=>n.W.get("".concat(i.Q.BUNDLE,"/recommend")),x=async e=>n.W.get("".concat(i.Q.BUNDLE,"/year"),{params:e}),g=async()=>n.W.get("".concat(i.Q.BUNDLE,"/theme")),y=async e=>n.W.get("".concat(i.Q.BUNDLE,"/theme-article"),{params:e}),v=async(e,t)=>n.W.get((0,l.sX)("".concat(i.Q.BUNDLE,"/article/interactive")),{params:{...e,bundleId:t}})},93915:(e,t,a)=>{a.d(t,{x:()=>r});var l=a(20232),i=a(88176);let n=(0,l.y)(e=>({currentEmotions:null,selectedReaction:null,isEmotionApiResolved:!1,setCurrentEmotions:t=>{e({currentEmotions:t})},setSelectedReaction:t=>{e({selectedReaction:t})},setEmotionApiResolved:t=>{e({isEmotionApiResolved:t})}})),r=e=>(0,i.P)(n,e)},94568:(e,t,a)=>{a.d(t,{b0:()=>n,hz:()=>r,sc:()=>i});var l=a(38798);let i=[{label:"deep",title:"H 탐사 플러스",path:"/deep"},{label:"normal",title:"오피니언",prefix:"/news",panCode:l.Kc.OPINION,sectionCode:l.G4.OPINION,children:[{title:"사설",prefix:"/news",panCode:l.Kc.OPINION,sectionCode:l.G4.EDITORIAL},{title:"칼럼",prefix:"/news",panCode:l.Kc.OPINION,sectionCode:l.G4.COLUMN},{title:"만평",prefix:"/news",panCode:l.Kc.OPINION,sectionCode:l.G4.CARTOON}]},{label:"normal",title:"정치",prefix:"/news",panCode:l.Kc.POLITICS,sectionCode:l.G4.POLITICS,children:[{title:"국회/정당",prefix:"/news",panCode:l.Kc.POLITICS,sectionCode:l.G4.ASSEMBLY},{title:"청와대",prefix:"/news",panCode:l.Kc.POLITICS,sectionCode:l.G4.PRESIDENT},{title:"외교",prefix:"/news",panCode:l.Kc.POLITICS,sectionCode:l.G4.DIPLOMACY},{title:"국방/북한",prefix:"/news",panCode:l.Kc.POLITICS,sectionCode:l.G4.ND},{title:"정치일반",prefix:"/news",panCode:l.Kc.POLITICS,sectionCode:l.G4.GENERAL}]},{label:"normal",title:"경제",prefix:"/news",panCode:l.Kc.ECONOMY,sectionCode:l.G4.ECONOMY,children:[{title:"경제정책",prefix:"/news",panCode:l.Kc.ECONOMY,sectionCode:l.G4.POLICY},{title:"산업",prefix:"/news",panCode:l.Kc.ECONOMY,sectionCode:l.G4.INDUSTRY},{title:"금융/증권",prefix:"/news",panCode:l.Kc.ECONOMY,sectionCode:l.G4.FINANCE},{title:"부동산",prefix:"/news",panCode:l.Kc.ECONOMY,sectionCode:l.G4.REALESTATE},{title:"IT/과학",prefix:"/news",panCode:l.Kc.ECONOMY,sectionCode:l.G4.TECH_SCIENCE},{title:"경제일반",prefix:"/news",panCode:l.Kc.ECONOMY,sectionCode:l.G4.GENERAL}]},{label:"normal",title:"사회",prefix:"/news",panCode:l.Kc.SOCIETY,sectionCode:l.G4.SOCIETY,children:[{title:"사건/사고",prefix:"/news",panCode:l.Kc.SOCIETY,sectionCode:l.G4.ACCIDENT},{title:"법원/경찰",prefix:"/news",panCode:l.Kc.SOCIETY,sectionCode:l.G4.JUSTICE},{title:"교육",prefix:"/news",panCode:l.Kc.SOCIETY,sectionCode:l.G4.EDUCATION},{title:"노동",prefix:"/news",panCode:l.Kc.SOCIETY,sectionCode:l.G4.LABOR},{title:"보건/복지",prefix:"/news",panCode:l.Kc.SOCIETY,sectionCode:l.G4.WELFARE},{title:"날씨/환경",prefix:"/news",panCode:l.Kc.SOCIETY,sectionCode:l.G4.ENVIRONMENT},{title:"사회일반",prefix:"/news",panCode:l.Kc.SOCIETY,sectionCode:l.G4.GENERAL}]},{label:"normal",title:"국제",prefix:"/news",panCode:l.Kc.WORLD,sectionCode:l.G4.WORLD,children:[{title:"글로벌 이슈",prefix:"/news",panCode:l.Kc.WORLD,sectionCode:l.G4.GLOBALISSUE},{title:"아시아/호주",prefix:"/news",panCode:l.Kc.WORLD,sectionCode:l.G4.ASIA},{title:"미국/중남미",prefix:"/news",panCode:l.Kc.WORLD,sectionCode:l.G4.AMERICA},{title:"유럽",prefix:"/news",panCode:l.Kc.WORLD,sectionCode:l.G4.EUROPE},{title:"중동/아프리카",prefix:"/news",panCode:l.Kc.WORLD,sectionCode:l.G4.MEA},{title:"국제일반",prefix:"/news",panCode:l.Kc.WORLD,sectionCode:l.G4.GENERAL}]},{label:"normal",title:"문화",prefix:"/news",panCode:l.Kc.CULTURE,sectionCode:l.G4.CULTURE,children:[{title:"책",prefix:"/news",panCode:l.Kc.CULTURE,sectionCode:l.G4.BOOK},{title:"공연/전시",prefix:"/news",panCode:l.Kc.CULTURE,sectionCode:l.G4.P
1LAY},{title:"영화",prefix:"/news",panCode:l.Kc.CULTURE,sectionCode:l.G4.MOVIE},{title:"방송",prefix:"/news",panCode:l.Kc.CULTURE,sectionCode:l.G4.BROADCAST},{title:"음악",prefix:"/news",panCode:l.Kc.CULTURE,sectionCode:l.G4.MUSIC},{title:"문화일반",prefix:"/news",panCode:l.Kc.CULTURE,sectionCode:l.G4.GENERAL}]},{label:"normal",title:"스포츠",prefix:"/news",panCode:l.Kc.SPORTS,sectionCode:l.G4.SPORTS,children:[{title:"야구",prefix:"/news",panCode:l.Kc.SPORTS,sectionCode:l.G4.BASEBALL},{title:"축구",prefix:"/news",panCode:l.Kc.SPORTS,sectionCode:l.G4.FOOTBALL},{title:"농구/배구",prefix:"/news",panCode:l.Kc.SPORTS,sectionCode:l.G4.BASKET_VOLLEY},{title:"골프",prefix:"/news",panCode:l.Kc.SPORTS,sectionCode:l.G4.GOLF},{title:"바둑",prefix:"/news",panCode:l.Kc.SPORTS,sectionCode:l.G4.BADUK},{title:"스포츠 일반",prefix:"/news",panCode:l.Kc.SPORTS,sectionCode:l.G4.GENERAL}]},{label:"premium",title:"Premium",path:"/premium"},{label:"normal",title:"라이프",prefix:"/news",panCode:l.Kc.LIFE,sectionCode:l.G4.LIFE,children:[{title:"음식",prefix:"/news",panCode:l.Kc.LIFE,sectionCode:l.G4.FOOD},{title:"여행",prefix:"/news",panCode:l.Kc.LIFE,sectionCode:l.G4.TRAVEL},{title:"건강",prefix:"/news",panCode:l.Kc.LIFE,sectionCode:l.G4.HEALTH},{title:"백운산 오늘의 운세",prefix:"/news",panCode:l.Kc.LIFE,sectionCode:l.G4.FORTUNE},{title:"라이프 일반",prefix:"/news",panCode:l.Kc.LIFE,sectionCode:l.G4.GENERAL}]},{label:"normal",title:"사람",prefix:"/news",panCode:l.Kc.PEOPLE,sectionCode:l.G4.PEOPLE,children:[{title:"인터뷰",prefix:"/news",panCode:l.Kc.PEOPLE,sectionCode:l.G4.INTERVIEW},{title:"인사/동정",prefix:"/news",panCode:l.Kc.PEOPLE,sectionCode:l.G4.APPOINTMENTS},{title:"부고",prefix:"/news",panCode:l.Kc.PEOPLE,sectionCode:l.G4.OBITUARY},{title:"사람일반",prefix:"/news",panCode:l.Kc.PEOPLE,sectionCode:l.G4.GENERAL}]},{label:"normal",title:"지역",prefix:"/news",panCode:l.Kc.LOCAL,sectionCode:l.G4.LOCAL,children:[{title:"수도권",prefix:"/news",panCode:l.Kc.LOCAL,sectionCode:l.G4.CAPITAL},{title:"대전/충청/강원",prefix:"/news",panCode:l.Kc.LOCAL,sectionCode:l.G4.CENTRAL},{title:"대구/경북",prefix:"/news",panCode:l.Kc.LOCAL,sectionCode:l.G4.GYEONGBUK},{title:"부산/경남",prefix:"/news",panCode:l.Kc.LOCAL,sectionCode:l.G4.GYEONGNAM},{title:"광주/전라/제주",prefix:"/news",panCode:l.Kc.LOCAL,sectionCode:l.G4.HONAM_JEJU}]}],n=e=>{var t;if(e.panCode||e.sectionCode){let t=Object.entries(l.Kc).find(t=>{let[a,l]=t;return l===e.panCode}),a=Object.entries(l.G4).find(t=>{let[a,l]=t;return l===e.sectionCode}),i="";if(t){let l=e.prefix?e.prefix:"";i=a&&!e.children?"".concat(l,"/").concat(t[0],"/").concat(a[0]):"".concat(l,"/").concat(t[0])}return i.toLocaleLowerCase()}return null!=(t=e.path)?t:"/"},r=e=>i.reduce((t,a)=>{var l;if(null!==t)return t;let i=n(a),r=null==(l=a.children)?void 0:l.some(t=>n(t)===e);return i===e||r?a:t},null)},95369:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(88176).v)(e=>({clickAlarm:!1,setClickAlarm:t=>e({clickAlarm:t}),openAlarmFromApp:()=>{e({clickAlarm:!0})},sendMessage:(e,t)=>{window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify({type:e,...t}))}}))},96103:(e,t,a)=>{a.d(t,{N:()=>r});var l=a(20232),i=a(88176);let n=(0,l.y)(e=>({currentArticle:null,setCurrentArticle:t=>{e({currentArticle:t})}})),r=e=>(0,i.P)(n,e)},96264:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(97251),i=a(2081);a(52931);var n=a(97916);let r=e=>{let{divider:t=!0,dividerColor:a="gray",className:r,...s}=e;return(0,l.jsx)(n.A,{...s,className:(0,i.cn)(t&&(0,i.cn)("divide-y","gray"===a?"divide-list-border":"divide-list-border-opacity"),r)})}},97560:(e,t,a)=>{a.d(t,{Px:()=>r,RV:()=>n,SG:()=>u,Uh:()=>o,aA:()=>i,bX:()=>l,e0:()=>c,lD:()=>m,n4:()=>s,sn:()=>d,uf:()=>h,wf:()=>p});let l=e=>{let t="string"==typeof e?Number(e):e,a=isNaN(t)?0:t,l=Math.floor(a/60);return"".concat(String(l).padStart(2,"0"),":").concat(String(a%60).padStart(2,"0"))},i=(e,t)=>{if(!e||!t)return e||"";let a=RegExp("[\\[{(]"+t.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"[\\]})]","g");return e.replace(a,"").trim()},n=e=>{if(!e)return{name:e,email:""};let t=e.match(/([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,})$/);if(!t)return{name:e,email:""};let a=t[1].trim();return{name:e.slice(0,t.index).trim()||e,email:a}},r=(e,t)=>{let a=(null==t?void 0:t.trim().toLowerCase())||"";a.includes("/")&&(a=a.split("/")[1]||""),a.startsWith(".")&&(a=a.slice(1));let l=e.replace(RegExp("(?<!^)\\.[^/.]+$"),"");return a?"".concat(l,".").concat(a):l},s=e=>{let t=c(e);return t.length<=3?t:"010"===t.slice(0,3)?t.length<=7?"".concat(t.slice(0,3),"-").concat(t.slice(3)):"".concat(t.slice(0,3),"-").concat(t.slice(3,7),"-").concat(t.slice(7,11)):t.length<=6?"".concat(t.slice(0,3),"-").concat(t.slice(3)):t.length<=10?"".concat(t.slice(0,3),"-").concat(t.slice(3,6),"-").concat(t.slice(6,10)):"".concat(t.slice(0,3),"-").concat(t.slice(3,7),"-").concat(t.slice(7,11))},c=e=>e.replace(/[^\d]/g,""),o=e=>e?e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"):"",d=e=>e?e.replace(/<br\s*\/?>/gi,"\n"):"",m=e=>e?e.replace(/<br\s*\/?>/gi,"").replace(/\n/g,""):"",p=e=>e?e.replace(/\[[^\]]*\]/g,"").trim():"",u=e=>{if(!Number.isInteger(e)||e<=0)throw Error("자리수는 숫자로 입력해주세요.");let t=new Uint32Array(Math.ceil(e*Math.log2(10)/32));crypto.getRandomValues(t);let a="";for(let e of t)a+=e.toString(10);return a.slice(0,e).padStart(e,"0")},h=(e,t)=>null!==t&&("string"==typeof e?e===t:!!Array.isArray(e)&&e.includes(t))},97916:(e,t,a)=>{a.d(t,{A:()=>n});var l=a(97251),i=a(2081);a(52931);let n=e=>{let{className:t,items:a,renderItem:n,liClassName:r,keyProp:s}=e;return(0,l.jsx)("ul",{role:"list",className:(0,i.cn)(t),children:a.map((e,t)=>(0,l.jsx)("li",{className:(0,i.cn)(r),children:n(e,t)}
1,s?String(e[s]):t))})}},98455:(e,t,a)=>{a.d(t,{N0:()=>s,Jl:()=>o,RU:()=>u,oJ:()=>x,ph:()=>h});var l=a(97251),i=a(85517),n=a(91596),r=a(2081);let s=e=>{let{className:t,iconName:a="news",iconWidth:s,iconHeight:c,text:o,textClassName:d}=e;return(0,l.jsxs)("div",{className:(0,r.cn)("flex flex-wrap justify-center py-136 sm:py-200",t),children:[(0,l.jsx)(i.default,{name:a,width:s||"14rem",height:c||"12rem"}),(0,l.jsx)(n.A,{type:"x_small",bold:"semibold",className:(0,r.cn)("text-reverse-grayscale-40 mt-12 w-full text-center",d),children:o||"선택하신 날짜에 검색결과가 없습니다."})]})};var c=a(62332);let o=e=>{let{className:t}=e;return(0,l.jsxs)("div",{className:(0,r.cn)("flex flex-col items-center",t),children:[(0,l.jsx)("div",{className:(0,r.cn)("pt-17 pr-7 pb-24.5 pl-13"),children:(0,l.jsx)(i.default,{name:"comment",width:"12rem",height:"7.8rem"})}),(0,l.jsx)(n.A,{type:"x_small",bold:"semibold",className:(0,r.cn)("text-reverse-grayscale-40 mt-12"),children:"작성된 댓글이 없어요."}),(0,l.jsx)(c.A,{type:"14",className:(0,r.cn)("mt-4"),color:"text-reverse-grayscale-60",children:"이 기사에 대한 첫 흔적을 남겨주시겠어요?"})]})};var d=a(99262),m=a(27760),p=a(41146);let u=e=>{let{className:t,variant:a="default"}=e,{openLayer:n}=(0,p.B)();return(0,l.jsxs)("div",{className:(0,r.cn)("flex flex-col items-center gap-16 py-20",t),children:[(0,l.jsx)("div",{className:(0,r.cn)("pt-17 pr-7 pb-24.5 pl-13"),children:(0,l.jsx)(i.default,{name:"comment",width:"12rem",height:"7.8rem"})}),(0,l.jsx)(d.A,{type:"small",className:(0,r.cn)("text-reverse-grayscale-60"),children:"이 기사에 대한 첫 흔적을 남겨주시겠어요?"}),(0,l.jsx)(m.A,{color:"premium"===a?"premium":"neutral_black",size:"medium",text:"첫 댓글 달기",onClick:n,className:"premium:rounded-none!"})]})},h=()=>(0,l.jsx)("div",{className:(0,r.cn)("flex flex-wrap justify-center"),children:(0,l.jsxs)("div",{className:(0,r.cn)("pt-24 pb-40"),children:[(0,l.jsx)(i.default,{name:"notification",width:"14rem",height:"12rem",className:(0,r.cn)("m-auto")}),(0,l.jsx)(c.A,{type:"15",bold:"medium",className:(0,r.cn)("text-reverse-grayscale-60 mt-12 w-full text-center"),children:"알림 내역이 없습니다."})]})}),x=e=>{let{title:t,subTitle:a,buttonName:s,buttonLink:o,className:d}=e;return(0,l.jsxs)("div",{className:(0,r.cn)("flex flex-wrap justify-center py-[7.35rem] sm:py-[5.35rem]",d),children:[(0,l.jsx)(i.default,{name:"error",width:"14rem",height:"12rem"}),(0,l.jsx)(n.A,{type:"x_small",bold:"semibold",className:(0,r.cn)("text-reverse-grayscale-40 mt-12 w-full text-center"),children:t}),a&&(0,l.jsx)(c.A,{type:"14",bold:"normal",className:(0,r.cn)("text-reverse-grayscale-60 mt-4 w-full text-center"),children:a}),s&&(0,l.jsx)(m.A,{color:"neutral_black",size:"large",text:s,className:(0,r.cn)("!bg-reverse-common-100 mt-32 !px-26"),link:o})]})}},98874:(e,t,a)=>{a.d(t,{s:()=>i});var l=a(13602);let i={TO_DAYJS(e){let t=(0,l.A)(null==e?void 0:e.replaceAll(".","/"));return t.isValid()?t:""},TO_DAYJS_FORMAT(e,t){let a=i.TO_DAYJS(e);return a?a.format(t):""},ONLY_DATE:e=>i.TO_DAYJS_FORMAT(e,"YYYY.MM.DD"),ONLY_TIME:e=>i.TO_DAYJS_FORMAT(e,"HH:mm"),END_WITH_HOUR:e=>i.TO_DAYJS_FORMAT(e,"YYYY.MM.DD HH:mm"),END_WITH_TIME:e=>e?i.TO_DAYJS_FORMAT(e,"YYYY.MM.DD HH:mm:ss"):"",PUBLISHING_LIST_TIME(e,t){let a=t?(0,l.A)(e,t):(0,l.A)(null==e?void 0:e.replaceAll(".","/"));if(!a.isValid())return"";let i=(0,l.A)();if(a.isSame(i,"day")){let e=i.diff(a,"minute");return e<60?"".concat(e,"분 전"):a.format("HH:mm")}return a.format("YYYY.MM.DD HH:mm")},IS_IN_ONE_HOUR(e,t){let a=t?(0,l.A)(e,t):(0,l.A)(null==e?void 0:e.replaceAll(".","/"));return 60>(0,l.A)().diff(a,"minute")},PUBLISHING_DETAIL_TIME(e){let t=(0,l.A)(null==e?void 0:e.replaceAll(".","/"));if(!t.isValid())return"";let a=(0,l.A)();if(t.isSame(a,"day")){let e=a.diff(t,"minute");if(e<60)return"".concat(e,"분 전")}return t.format("HH:mm")},IS_TODAY(e){let t=(0,l.A)(null==e?void 0:e.replaceAll(".","/")),a=(0,l.A)();return t.isSame(a,"day")},IS_RECENT(e){let t=(0,l.A)(null==e?void 0:e.replaceAll(".","/"));return 60>(0,l.A)().diff(t,"minute")},IS_WITHIN_LAST_DAYS(e,t){let a=(0,l.A)(null==e?void 0:e.replaceAll(".","/"));if(!a.isValid())return!1;let i=(0,l.A)().diff(a,"day");return i>=0&&i<=t},NOW:()=>(0,l.A)().format("YYYY-MM-DD"),WEEK_RANGE(){let e=(0,l.A)().startOf("week"),t=(0,l.A)().endOf("week");return[e.format("YYYY.MM.DD"),t.format("YYYY.MM.DD")]},LAST_7_DAYS_RANGE(){let e=(0,l.A)();return[(0,l.A)().subtract(6,"day").format("YYYY.MM.DD"),e.format("YYYY.MM.DD")]},YEAR_ONLY(e){let t=(0,l.A)(null==e?void 0:e.replaceAll(".","/"));return t.isValid()?t.format("YYYY"):""},ISO(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Asia/Seoul",a=l.A.tz(null==e?void 0:e.replaceAll(".","/"),"YYYY.MM.DD HH:mm",t);return a.isValid()?a.format("YYYY-MM-DDTHH:mm:ss.SSSZZ"):""},TIMESTAMP_COMPACT:e=>i.TO_DAYJS_FORMAT(e,"YYYYMMDDHHmmss")}},99470:(e,t,a)=>{a.d(t,{W:()=>r});var l=a(20232),i=a(88176);let n=(0,l.y)(e=>
1({targetRef:{current:null},setTargetRef:t=>{e({targetRef:t})}})),r=e=>(0,i.P)(n,e)}}]);

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.