(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3980],{351:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/art/theme/list",function(){return n(2354)}])},3770:function(e,s,n){n(7758);var t=n(2923),i=n(7758);!function(e,s,n,i){UI.curationSw={sliderEl:'[data-slider="curation"]',defaultConfig:{observer:!0,observeParents:!0,initialSlide:0,lazy:!0,breakpoints:{768:{initialSlide:0}},on:{init:function(){}}},setSwiper:function(){var s=this;n(this.sliderEl).each((function(i,a){if(setConfig=n(a).attr("data-swiper")?JSON.parse(a.dataset.swiper):{},a.options=Object.assign({},s.defaultConfig,setConfig),"undefined"!==typeof n(a).attr("data-swiper-reinit")){var c=Number(n(a).attr("data-swiper-reinit"));a.options.initialSlide=c,a.options.breakpoints[768].initialSlide=c,n(a).removeAttr("data-swiper-reinit")}if("undefined"!==typeof a.options.pagination&&(a.options.pagination.el=n(a).closest(".page-kv").find(".swiper-pagination")[0],"fraction"===a.options.pagination.type&&(a.options.pagination.formatFractionCurrent=function(s){return"custom"===n(a).attr("data-curation-page")&&"mo"===e.winWChk?("0"+(s-1!==0?s-1:n(a).find(".swiper-slide:not(.swiper-slide-duplicate)").length)).slice(-2):("0"+s).slice(-2)},a.options.pagination.formatFractionTotal=function(e){return("0"+e).slice(-2)},a.options.pagination.renderFraction=function(e,s){return'<span class="'+e+'"></span><span class="bar"></span><span class="'+s+'"></span>'})),!0===a.options.navigation&&(a.options.navigation={nextEl:n(a).closest(".page-kv").find(".swiper-next"),prevEl:n(a).closest(".page-kv").find(".swiper-prev")}),!0===a.options.loop&&(a.options.loopedSlides=n(a).find(".swiper-slide").length),n(a).hasClass("kv-swiper__gallery")&&"pc"===e.winWChk&&(a.options.autoplay=!1),!0===a.options.autoplay&&(a.options.autoplay={delay:5e3,disableOnInteraction:!1}),"active-bigger"===n(a).attr("data-curation-style")&&(a.options.on.init=function(){n(a).find(".swiper-slide").addClass("changed")},a.options.on.slideChangeTransitionStart=function(){n(a).find(".swiper-slide").addClass("changing"),n(a).find(".swiper-slide").removeClass("changed")},a.options.on.slideChangeTransitionEnd=function(){n(a).find(".swiper-slide").removeClass("changing"),n(a).find(".swiper-slide").addClass("changed")},n("[data-slider=curation]").on("click",".swiper-slide",(function(e){if(!n(this).hasClass("swiper-slide-active")){e.preventDefault();var s=n(this).data("swiper-slide-index"),t=a.options.speed;swInstance.slideToLoop(s,t)}}))),"overlap"===n(a).attr("data-curation-style")&&(a.options.on.init=function(){"pc"===e.winWChk&&(n(a).find(".swiper-slide").eq(this.activeIndex).css("opacity",1).siblings(".swiper-slide").css("opacity",0),n(a).find(".swiper-slide").eq(this.activeIndex-1).css("opacity",1),n(a).find(".swiper-slide").eq(this.activeIndex-2).css("opacity",1))},a.options.on.slideChange=function(){"pc"===e.winWChk&&(n(a).find(".swiper-slide").eq(this.activeIndex).css("opacity",1).siblings(".swiper-slide").css("opacity",0),n(a).find(".swiper-slide").eq(this.activeIndex-1).css("opacity",1),n(a).find(".swiper-slide").eq(this.activeIndex-2).css("opacity",1))}),"preview"===n(a).attr("data-curation-nav")){var l=n(a).find(".swiper-prev").find(".swiper--btn__bg"),r=n(a).find(".swiper-next").find(".swiper--btn__bg");a.options.on.init=function(){var e=this.$el.find(".swiper-slide-prev").find(".kv-swiper__img img").attr("src"),s=this.$el.find(".swiper-slide-next").find(".kv-swiper__img img").attr("src");l.css("background-image","url(".concat(e,")")),r.css("background-image","url(".concat(s,")"))},a.options.on.slideChangeTransitionStart=function(){var e=this.$el.find(".swiper-slide-prev").find(".kv-swiper__img img").attr("src"),s=this.$el.find(".swiper-slide-next").find(".kv-swiper__img img").attr("src");l.css("background-image","url(".concat(e,")")),r.css("background-image","url(".concat(s,")"))},matchMedia("screen and (max-width: 768px)").matches&&(a.options.on.init=function(){l.css("background-image","none"),r.css("background-image","none")},a.options.on.slideChangeTransitionStart=function(){l.css("background-image","none"),r.css("background-image","none")})}if("undefined"===typeof n(a).data("ui")){if("undefined"===typeof a.options.thumbs)swInstance=new t(a,a.options),n(a).data("ui",swInstance);else{var o=n(a).closest('[data-role="swiper-container"]').find('[data-slider="curation"]')[0].swiper;swInstance=new t(a,a.options),n(a).data("ui",swInstance),swInstance.controller.control=o,o.controller.control=swInstance,swInstance.update(),o.update()}"undefined"!==typeof a.options.autoplay&&(!0===swInstance.params.autoplay.enabled?s.autoplaySet(swInstance,!0):s.autoplaySet(swInstance,!1))}}))},autoplaySet:function(e,s){setTimeout((function(){if(!0===s){var n=e.pagination.$el.closest(".page-kv").find(".swiper-controls");0===n.find(".btn-autoplay").length&&n.append('<button type="button" class="swiper--play btn-autoplay"><span>\uc2dc\uc791</span></button><button type="button" class="swiper--pause btn-autoplay"><span>\uba48\ucda4</span></button>'),e.autoplay.running?(n.find(".swiper--play").addClass("disabled").css("display","none"),n.find(".swiper--pause").removeClass("disabled").css("display","")):(n.find(".swiper--play").removeClass("disabled").css("display",""),n.find(".swiper--pause").addClass("disabled").css("display","none")),n.find(".swiper--play").off("click").on("click",(function(){e.autoplay.start(),n.find(".swiper--play").addClass("disabled").css("display","none"),n.find(".swiper--pause").removeClass("disabled").css("display","")})),n.find(".swiper--pause").off("click").on("click",(function(){e.autoplay.stop(),n.find(".swiper--play").removeClass("disabled").css("display",""),n.find(".swiper--pause").addClass("disabled").css("display","none")}))}else!0===e.autoplay.running&&e.autoplay.stop(),e.pagination.$el.closest(".page-kv").find(".btn-autoplay").remove()}),300)},init:function(){n(this.sliderEl).length>0&&this.setSwiper()},resize:function(){if(n(this.sliderEl).length){var s=this;n(this.sliderEl).each((function(t,i){if("undefined"!==typeof n(i).data("ui")){if("custom"===n(i).attr("data-curation-page")){var a=n(i).data("ui").realIndex;"mo"===e.winWChk?n(i).attr("data-swiper-reinit",a+1):n(i).attr("data-swiper-reinit",a-1),null!==n(i).data("ui")&&n(i).data("ui").destroy(),n(i).removeData("ui"),setTimeout((function(){s.setSwiper()}),300)}if(n(i).hasClass("kv-swiper__gallery")&&("mo"===e.winWChk?(s.autoplaySet(n(i).data("ui"),!0),n(i).data("ui").autoplay.start()):(s.autoplaySet(n(i).data("ui"),!1),n(i).data("ui").autoplay.stop())),"overlap"===n(i).attr("data-curation-style")){var c=n(i).data("ui");"mo"===e.winWChk?n(c.slides).css("opacity",""):(n(c.slides[c.activeIndex]).css("opacity",1).siblings(".swiper-slide").css("opacity",0),n(c.slides[c.activeIndex-1]).css("opacity",1),n(c.slides[c.activeIndex-2]).css("opacity",1))}if("active-bigger"===n(i).attr("data-curation-style")){var l=n(i).data("ui");"pc"===e.winWChk&&(n(l.slides).css("width",""),l.update())}}}))}}},UI.curationSw.init()}(window,document,i)},7450:function(e,s,n){"use strict";var t=n(5893),i=n(1664),a=n.n(i),c=n(6114),l=n(1964);s.Z=function(e){var s=e.category,n=e.themeColumnList,i=e.handleClickPostLike;return(0,t.jsx)("ul",{className:"art-list type-basic",children:n.map((function(e,n){var r,o;return(0,t.jsx)("li",{className:"art-list__item",children:(0,t.jsxs)("div",{className:"artbox",children:[e.thumbnail&&(0,t.jsx)(a(),{href:"/".concat(s,"/theme/").concat(e.id),children:(0,t.jsx)("a",{className:"thumb-img",children:(0,t.jsx)("span",{className:"img-holder",children:(0,t.jsx)("img",{src:e.thumbnail,alt:""})})})}),(0,t.jsxs)("div",{className:"artbox__summary",children:[(0,t.jsxs)("div",{className:"artbox__stit",children:[(1===e.event_article_part&&e.event_cnt>0||0===e.event_article_part&&e.event_part_cnt>0)&&(0,t.jsx)("span",{className:"tag-gen-s event",children:"\uc774\ubca4\ud2b8"}),e.theme_name&&(0,t.jsx)("span",{className:"tag-gen-s",children:e.theme_name}),e.author_name&&(0,t.jsx)("span",{className:"ex-name",children:e.author_name})]}),(0,t.jsx)("p",{className:"artbox__title",children:(0,t.jsx)(a(),{href:"/".concat(s,"/theme/").concat(e.id),children:(0,t.jsxs)("a",{children:["Y"===(null===e||void 0===e?void 0:e.payment)&&(0,t.jsx)(c.Z,{}),null===e||void 0===e||null===(r=e.title)||void 0===r?void 0:r.replace(" "," ").replace(/\n/g,"<br />")]})})})]}),(0,t.jsx)("div",{className:"artbox__detail",children:(0,t.jsx)(a(),{href:"/".concat(s,"/theme/").concat(e.id),children:(0,t.jsx)("a",{dangerouslySetInnerHTML:{__html:null===e||void 0===e||null===(o=e.content)||void 0===o?void 0:o.replace(" "," ").replace(/\n/g,"<br />")}})})}),(0,t.jsx)("div",{className:"artbox__info",children:(0,t.jsxs)("div",{className:"art-info-sub",children:[(0,t.jsx)("span",{className:"text-date",children:e.article_date}),(0,t.jsxs)("div",{className:"access-nums",children:[(0,t.jsx)("span",{className:"acc-num acc-num--view",children:(0,t.jsx)("em",{children:(0,l.u)(e.view_cnt)})}),(0,t.jsx)("span",{className:"acc-num acc-num--like",children:(0,t.jsx)("em",{children:(0,l.u)(e.like_cnt)})}),(0,t.jsx)("span",{className:"acc-num acc-num--comment",children:(0,t.jsx)("em",{children:(0,l.u)(e.reply_cnt)})})]}),(0,t.jsx)("button",{type:"button",className:"btn-fav ".concat("Y"===e.is_like&&"is-fav"),"aria-label":"Like",onClick:function(s){return i(s,e.id,e.content_type,"themeColumnList",n)}})]})})]})},e.id)}))})}},5616:function(e,s,n){"use strict";var t=n(5893);n(7294);s.Z=function(){return(0,t.jsx)("div",{className:"box-layerLoading"})}},6114:function(e,s,n){"use strict";var t=n(5893);s.Z=function(){return(0,t.jsx)("img",{src:"/assets/images/icon-p.svg",alt:"\ud504\ub9ac\ubbf8\uc5c4",className:"imgicon-p"})}},2354:function(e,s,n){"use strict";n.r(s),n.d(s,{__N_SSP:function(){return T}});var t=n(7352),i=n(4924),a=n(6042),c=n(9396),l=n(9815),r=n(655),o=n(5893),d=n(9008),m=n.n(d),u=n(1664),p=n.n(u),h=n(7294),x=n(8767),v=n(580),_=n(9473),f=n(9534),g=(n(5998),n(1312)),j=n(1163),b=n(1964),N=n(394),w=n(7715),y=n(5616),k=n(6114),S=n(7450),C=n(8252),I=null,T=!0;s.default=function(e){var s,d=e.fullURL;I=n(2923),n(7758),n(1007),(0,h.useEffect)((function(){var e=function(e){e.preventDefault()};return document.addEventListener("contextmenu",e),function(){document.removeEventListener("contextmenu",e)}}),[]);var u=(0,j.useRouter)(),T=(0,v.Z)(),Z=null===(s=(0,_.v9)((function(e){return e.service})))||void 0===s?void 0:s.isMobile,E=(0,h.useState)(!1),L=E[0],A=E[1],P=(0,h.useState)([]),F=P[0],M=P[1],O=(0,h.useState)(!1),R=O[0],Y=O[1];(0,h.useEffect)((function(){R&&(0,C.Z)(R)}),[R]),(0,h.useEffect)((function(){if(F.length>0){n(3770),window.UI.curationSw.init();var e=".swiper-btn-8";new I(".swiper-11 .swiper-container",{slidesPerView:"auto",loop:!0,touchRatio:.2,slideToClickedSlide:!1,speed:700,pagination:{el:e+" .pageNumber",type:"fraction",formatFractionCurrent:function(e){return("0"+e).slice(-2)},formatFractionTotal:function(e){return("0"+e).slice(-2)},renderFraction:function(e,s){return'<span class="'+e+'"></span> <span class="line"></span> <span class="'+s+'"></span>'}},navigation:{prevEl:e+" .swiper-prev",nextEl:e+" .swiper-next"},breakpoints:{767:{spaceBetween:16}}})}}),[F]);var q=(0,h.useState)(""),D=q[0],H=q[1],W=(0,h.useState)({page:0,limit:20,sort:"article_date",direction:"desc",search_keyword:""}),z=W[0],U=W[1],Q=(0,h.useState)([]),$=Q[0],B=Q[1],K=(0,h.useState)(0),G=K[0],V=K[1],X=(0,h.useState)([]),J=X[0],ee=X[1],se=(0,h.useState)([]),ne=se[0],te=se[1],ie=(0,h.useState)([]),ae=ie[0],ce=ie[1],le=(0,h.useState)([]),re=le[0],oe=le[1],de=(0,h.useState)([]),me=de[0],ue=de[1],pe=(0,h.useState)(!1),he=pe[0],xe=pe[1];(0,x.useQuery)("getBannerItems",(0,t.Z)((function(){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return[4,g.Z.get("/common/banner/position/EXHB_04_01")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){e.data.data=e.data.data.filter((function(e){return e.is_open>=1})),ue(e.data.data)},onError:function(e){console.error(e)}}),(0,x.useQuery)("getKvData",(0,t.Z)((function(){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return[4,g.Z.get("/fo/common/kv/03_04_00_00")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){e.data.data.kv_list.map((function(e){e.title=(0,N.Z)(e.title)})),M(e.data.data.kv_list)},onError:function(e){console.error(e)}}),(0,x.useQuery)("getArtReviewThisweekKeyword",(0,t.Z)((function(){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return[4,g.Z.get("/fo/art/theme/thisweek/keyword",{})];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){B(e.data.data)},onError:function(e){}}),(0,x.useQuery)("getArtThemeUpdateTop",(0,t.Z)((function(){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return[4,g.Z.get("/fo/art/theme/update/top")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){ee(e.data.data)},onError:function(e){}});(0,x.useQuery)(["getArtThemeList",z.sort,z.page,z.search_keyword],(0,t.Z)((function(){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return xe(!0),[4,g.Z.get("/fo/art/theme/list",{params:z})];case 1:return[2,e.sent()]}}))})),{enabled:u.isReady,onSuccess:function(e){if(xe(!1),Y(!0),Z&&L){A(!1);var s=(0,l.Z)(ae);e.data.list.map((function(e){s.push(e)})),ce(s)}else ce(e.data.list);V(e.data.total)},onError:function(e){return console.error(e)}}).refetch;(0,x.useQuery)("getArtThemeColumns",(0,t.Z)((function(){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return[4,g.Z.get("/fo/art/theme/column/list")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){oe(e.data.data)},onError:function(e){return console.error(e)}}),(0,x.useQuery)("getArtThemeArticle",(0,t.Z)((function(){return(0,r.__generator)(this,(function(e){switch(e.label){case 0:return[4,g.Z.get("/fo/art/theme/article")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){var s=[],n=[];e.data.data.map((function(t,i){n.push(t),i%2!==1&&i!==e.data.data.length-1||(s.push(n),n=[])})),te(s)},onError:function(e){console.error(e)}});var ve=function(){if(1!=D.length){var e=(0,c.Z)((0,a.Z)({},z),{search_keyword:D,page:0});fe(e)}else alert("2\uc790 \uc774\uc0c1\uc73c\ub85c \uac80\uc0c9\uc5b4\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.")},_e=function(e){var s=e.target,n=s.name,t=s.value,l=s.isMore;A(l);var r,o={};"page"===n?o=(0,c.Z)((0,a.Z)({},z),(0,i.Z)({},n,t)):o=(0,c.Z)((0,a.Z)({},z),(r={},(0,i.Z)(r,n,t),(0,i.Z)(r,"page",0),r));fe(o)},fe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.pathname;u.push({pathname:s,query:e},void 0,{scroll:!1})},ge=function(e,s,n,t,i){"themeColumnList"===t?T.mutate({event:e,contentId:s,contentType:n,callback:function(){var e=[];(e=(0,l.Z)(ae))[i].is_like="Y"===e[i].is_like?"N":"Y",e[i].like_cnt="N"===e[i].is_like?e[i].like_cnt-=1:e[i].like_cnt+=1,ce(e)}}):"keyVisual"===t?T.mutate({event:e,contentId:s,contentType:n}):ne.forEach((function(t,i){t.forEach((function(t,i){t.list.forEach((function(t,i){t.article_pk===s&&T.mutate({event:e,contentId:s,contentType:n,callback:function(){t.is_like="Y"===t.is_like?"N":"Y",t.like_cnt="N"===t.is_like?t.like_cnt-=1:t.like_cnt+=1}})}))}))}))};return(0,h.useEffect)((function(){me.length>0&&window.UI.adBanner.init()}),[me]),(0,h.useEffect)((function(){ne.length>0&&window.UI.themeSw.init()}),[ne]),(0,h.useEffect)((function(){var e={};e=0===Object.keys(u.query).length?(0,a.Z)({},z):(0,a.Z)({},Object.keys(z).reduce((function(e,s){return u.query.hasOwnProperty(s)&&(e[s]=z[s]),e}),{}),u.query),U(e)}),[u.query]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(m(),{children:[(0,o.jsx)("title",{children:"arte : ART \ubcf4\ub2e4"}),(0,o.jsx)("meta",{property:"og:url",content:d}),(0,o.jsx)("meta",{property:"og:type",content:"article"}),(0,o.jsx)("meta",{property:"og:title",content:"ART \ubcf4\ub2e4 > \uce7c\ub7fc\xb7\uc5f0\uc7ac"}),(0,o.jsx)("meta",{property:"og:description",content:"\uadf8\ub9bc\uc744 \uc77d\ub294 \uc0c8\ub85c\uc6b4 \uc2dc\uc120"}),(0,o.jsx)("meta",{property:"og:site_name",content:"\uc544\ub974\ub5bc - \uc138\uc0c1\uc5d0 \uc5c6\ub358 \uc608\uc220 \ub180\uc774\ud130, arte"}),(0,o.jsx)("meta",{property:"og:locale",content:"ko_KR"}),(0,o.jsx)("meta",{property:"og:image",content:"/assets/images/og_image/03_art_column.png"}),(0,o.jsx)("meta",{name:"title",content:"ART \ubcf4\ub2e4 > \uce7c\ub7fc\xb7\uc5f0\uc7ac"}),(0,o.jsx)("meta",{name:"description",content:"\uadf8\ub9bc\uc744 \uc77d\ub294 \uc0c8\ub85c\uc6b4 \uc2dc\uc120"}),(0,o.jsx)("meta",{itemProp:"name",content:"ART \ubcf4\ub2e4 > \uce7c\ub7fc\xb7\uc5f0\uc7ac"}),(0,o.jsx)("meta",{itemProp:"description",content:"\uadf8\ub9bc\uc744 \uc77d\ub294 \uc0c8\ub85c\uc6b4 \uc2dc\uc120"}),(0,o.jsx)("meta",{itemProp:"image",content:"/assets/images/og_image/03_art_column.png"}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:"ART \ubcf4\ub2e4 > \uce7c\ub7fc\xb7\uc5f0\uc7ac"}),(0,o.jsx)("meta",{name:"twitter:description",content:"\uadf8\ub9bc\uc744 \uc77d\ub294 \uc0c8\ub85c\uc6b4 \uc2dc\uc120"}),(0,o.jsx)("meta",{name:"twitter:image",content:"/assets/images/og_image/03_art_column.png"})]}),(0,o.jsxs)("div",{className:"container",id:"container",children:[(0,o.jsx)("div",{className:"sub-renew bg-type-2 bg-style-3",children:(0,o.jsxs)("div",{className:"inner-renew",children:[(0,o.jsx)("h2",{className:"common-h2-type1",children:"\uadf8\ub9bc\uc744 \uc77d\ub294 \uc0c8\ub85c\uc6b4 \uc2dc\uc120"}),(0,o.jsx)("div",{className:"ct",children:(0,o.jsx)("div",{className:"inner swiper-11",children:(0,o.jsx)("div",{className:"slider",children:(0,o.jsx)("div",{className:"swiper-container",children:(0,o.jsx)("ul",{className:"swiper-wrapper",children:F.length>0&&(0,o.jsx)(o.Fragment,{children:F.map((function(e,s){var n;return(0,o.jsx)("li",{className:"swiper-slide",children:(0,o.jsxs)("div",{className:"cover-img",children:[(0,o.jsx)(p(),{href:"/art/theme/".concat(e.content_id),children:(0,o.jsx)("a",{className:"img-holder",children:(0,o.jsx)("img",{src:e.thumbnail,alt:""})})}),(0,o.jsx)("button",{type:"button",className:"btn-fav btn-fav--wt ".concat("Y"===e.is_like&&"is-fav"),"aria-label":"Like",onClick:function(s){return ge(s,e.content_id,e.content_type,"keyVisual")}}),(0,o.jsx)(p(),{href:"/art/theme/".concat(e.content_id),children:(0,o.jsx)("a",{children:(0,o.jsxs)("span",{className:"txt-1",children:[(0,o.jsxs)("strong",{className:"cc-text",children:[(0,o.jsx)("img",{src:e.theme_thumbnail,style:{width:34,height:34},alt:"Theme column thumbnail"}),e.theme_name]}),(0,o.jsxs)("span",{children:["Y"===(null===e||void 0===e?void 0:e.payment)&&(0,o.jsx)(k.Z,{}),null===e||void 0===e||null===(n=e.title)||void 0===n?void 0:n.replace(" "," ")]})]})})})]})},e.content_id)}))})})})})})}),(0,o.jsxs)("div",{className:"common-swiper-sb swiper-btn-8",children:[(0,o.jsxs)("div",{className:"box-swiperControl",children:[(0,o.jsx)("div",{className:"pageNumber"}),(0,o.jsx)("button",{className:"btn-playPause swiper-play"}),(0,o.jsx)("button",{className:"btn-playPause swiper-pause",style:{display:"none"}})]}),(0,o.jsxs)("div",{className:"box-prevNext",children:[(0,o.jsx)("button",{className:"swiper-prev"}),(0,o.jsx)("button",{className:"swiper-next"})]})]})]})}),(0,o.jsxs)("div",{className:"content",children:[(0,o.jsxs)("div",{className:"ad-banner-wrap text-banner",children:[(0,o.jsx)("div",{className:"ad-banner swiper",children:(0,o.jsx)("div",{className:"ad-banner__list swiper-wrapper",children:me.map((function(e){return(0,o.jsx)(p(),{href:"".concat(e.link_url),children:(0,o.jsxs)("a",{className:"ad-banner__item ".concat("W"!==e.font_color?"white":""," swiper-slide"),children:[(0,o.jsx)("img",{src:e.img1,className:"ad-banner__img img--lg",alt:e.title}),(0,o.jsx)("img",{src:e.img2,className:"ad-banner__img img--mo",alt:e.title}),""!==e.part?(0,o.jsxs)("div",{className:"inner-box",children:[(0,o.jsx)("div",{className:"inner-thumbnail",children:(0,o.jsx)("img",{src:e.thumbnail,alt:"banner-thumbnail"})}),(0,o.jsxs)("div",{className:"inner-text",children:[(0,o.jsxs)("div",{className:"tag-flex",children:[(0,o.jsx)("span",{className:"tag box",children:"\uc544\ub974\ub5bc Poll"}),(0,o.jsx)("span",{className:"tag circle",children:e.part})]}),(0,o.jsx)("strong",{children:e.title}),(0,o.jsxs)("p",{children:[(0,w.wA)(e.start_date),"-",(0,w.wA)(e.end_date)]})]})]}):""]})},e.banner_pk)}))})}),(0,o.jsx)("div",{className:"ad-banner__pagination"})]}),(0,o.jsx)("div",{className:"m-pop column-section","data-pop":"theme-column",children:(0,o.jsx)("div",{className:"m-pop__outer",children:(0,o.jsxs)("div",{className:"m-pop__inner",children:[(0,o.jsxs)("div",{className:"m-pop__head hide-pc",children:[(0,o.jsx)("span",{className:"m-pop__title",children:"\ud14c\ub9c8\uce7c\ub7fc"}),(0,o.jsx)("button",{type:"button",className:"m-pop__close","data-label":"\ub2eb\uae30","data-pop-btn":"close"})]}),(0,o.jsxs)("div",{className:"m-pop__body",children:[(0,o.jsxs)("div",{className:"column-section__head hide-mo",children:[(0,o.jsx)("p",{className:"column-section__title",children:"ART \ubcf4\ub2e4"}),(0,o.jsxs)("div",{className:"column-section__links",children:[(0,o.jsx)(p(),{href:"/music/theme/list",children:(0,o.jsx)("a",{className:"btn size-xsm",children:"MUSIC \ub4e3\ub2e4"})}),(0,o.jsx)(p(),{href:"/stage/theme/list",children:(0,o.jsx)("a",{className:"btn size-xsm",children:"STAGE\xb7CINE \uc990\uae30\ub2e4"})}),(0,o.jsx)(p(),{href:"/book/theme/list",children:(0,o.jsx)("a",{className:"btn size-xsm",children:"BOOK \uc77d\ub2e4"})})]})]}),(0,o.jsx)("div",{className:"column-subList-swiper swiper",children:(0,o.jsx)("ul",{className:"swiper-wrapper",children:(0,o.jsx)("li",{className:"swiper-slide",children:re.map((function(e,s){return(0,o.jsx)(p(),{href:"/art/theme/".concat(e.code,"/list"),children:(0,o.jsxs)("a",{className:"inner",children:[(0,o.jsx)("span",{className:"column-img",children:(0,o.jsx)("img",{src:e.thumbnail,alt:""})}),(0,o.jsxs)("p",{className:"column-text",children:[e.name,(0,o.jsx)("span",{children:e.author_name})]})]})},"".concat(e,"_").concat(s))}))})})})]})]})})}),(0,o.jsxs)("section",{className:"ex-section",children:[(0,o.jsxs)("div",{className:"hashtag-block",children:[(0,o.jsx)("h4",{className:"hashtag-block__title",children:"\uae08\uc8fc\uc758 \uc778\uae30 \uac80\uc0c9\uc5b4"}),$.map((function(e,s){return(0,o.jsx)(p(),{href:"/util/search/column?keyword=".concat(e.keyword),children:(0,o.jsxs)("span",{className:"hashtag",style:{cursor:"pointer"},children:["# ",e.keyword]})},"tag-".concat(s))}))]}),(0,o.jsxs)("div",{className:"ex-container",children:[(0,o.jsx)("div",{className:"snb-section snb-section--right",children:J.length>=0&&(0,o.jsxs)("article",{className:"ex-snb",children:[(0,o.jsx)("div",{className:"ex-snb__head",children:(0,o.jsx)("h4",{className:"ex-snb__title",children:"[ART] \ub0b4 \ucd5c\uc2e0 \uc5c5\ub370\uc774\ud2b8 \uc601\uc0c1"})}),(0,o.jsx)("div",{className:"ex-snb__body",children:(0,o.jsx)("ul",{className:"sbox-list",children:J.length<=0?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("li",{className:"sbox-item no-item",children:[(0,o.jsx)("a",{href:"#",className:"thumb-img"}),(0,o.jsx)("div",{className:"sbox-item__texts",children:(0,o.jsx)("a",{href:"#",className:"sbox-item__title",children:"\ucd5c\uc2e0 \uc5c5\ub370\uc774\ud2b8 \uc601\uc0c1\uc774 \uc5c6\uc2b5\ub2c8\ub2e4."})})]})}):(0,o.jsx)(o.Fragment,{children:J.map((function(e,s){var n;return(0,o.jsxs)("li",{className:"sbox-item",children:[(0,o.jsx)(p(),{href:"2110001"===e.code211?"/video/".concat(e.id):"/arte-friends/".concat(e.code211,"/").concat(e.id),children:(0,o.jsx)("a",{className:"thumb-img",children:(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.thumbnail,alt:""})})})}),(0,o.jsxs)("div",{className:"sbox-item__texts",children:[(0,o.jsx)("div",{className:"artbox__stit",children:(0,o.jsx)("span",{className:"tag-gen-s",children:e.source_name})}),(0,o.jsx)(p(),{href:"2110001"===e.code211?"/video/".concat(e.id):"/arte-friends/".concat(e.code211,"/").concat(e.id),children:(0,o.jsx)("a",{className:"sbox-item__title",dangerouslySetInnerHTML:{__html:null===e||void 0===e||null===(n=e.title)||void 0===n?void 0:n.replace(" "," ").replace(/\n/g,"<br />")}})})]})]},s)}))})})})]})}),(0,o.jsxs)("article",{className:"ex-content",children:[(0,o.jsx)("div",{className:"sort-section",children:(0,o.jsxs)("div",{className:"sort-section__block",children:[(0,o.jsxs)("p",{className:"result-text",children:["\ucd1d ",G,"\uac1c\uc758 \uce7c\ub7fc\uc774 \uc788\uc2b5\ub2c8\ub2e4"]}),(0,o.jsxs)("div",{className:"sort-section__side",children:[(0,o.jsxs)("div",{className:"view-sort",children:[(0,o.jsx)("button",{type:"button",className:"view-sort__cur",children:"\ucd5c\uc2e0\uc21c"}),(0,o.jsxs)("ul",{className:"view-sort__list",children:[(0,o.jsx)("li",{className:"article_date"===z.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"article_date",onClick:_e,children:"\ucd5c\uc2e0\uc21c"})}),(0,o.jsx)("li",{className:"view_cnt"===z.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"view_cnt",onClick:_e,children:"\uc870\ud68c\uc21c"})}),(0,o.jsx)("li",{className:"like_cnt"===z.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"like_cnt",onClick:_e,children:"\uc88b\uc544\uc694\uc21c"})}),(0,o.jsx)("li",{className:"reply_cnt"===z.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"reply_cnt",onClick:_e,children:"\ub313\uae00\uc21c"})})]})]}),(0,o.jsxs)("div",{className:"rbox-block",children:[(0,o.jsx)("button",{type:"button",className:"btn size-md c-light show-mo","data-pop-open":"theme-column",children:"\ud14c\ub9c8\uce7c\ub7fc"}),(0,o.jsxs)("span",{className:"search-box",children:[(0,o.jsx)("input",{type:"text",className:"o-input",placeholder:"\uac80\uc0c9\uc5b4\ub97c \uc785\ub825\ud558\uc138\uc694",name:"search_keyword",value:D,onChange:function(e){H(e.target.value)},maxLength:20,onKeyDown:function(e){"Enter"===e.key&&ve()}}),(0,o.jsx)("button",{type:"button",className:"o-btn o-btn-search","aria-label":"\uac80\uc0c9",onClick:ve})]})]})]})]})}),ae.length<=0?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:"search-result__nodata",children:(0,o.jsx)("p",{children:"\uac80\uc0c9\uacb0\uacfc\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."})})}):(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"art-list-wrap",children:[(0,o.jsx)(S.Z,{category:"art",themeColumnList:ae,handleClickPostLike:ge}),(0,o.jsx)(f.Z,{page:z.page,limit:z.limit,totalCount:G,handleChangePage:_e})]})})]})]})]}),(0,o.jsx)("div",{className:"theme-column-section",children:(0,o.jsx)("div",{className:"theme-column swiper",children:(0,o.jsx)("div",{className:"theme-column__group swiper-wrapper",children:ne.map((function(e,s){return(0,o.jsx)(h.Fragment,{children:e.map((function(e,s){var n,t,i,a,c,l,r,d,m,u,x,v,_;return(0,o.jsx)(h.Fragment,{children:0===s?(0,o.jsx)("div",{className:"theme-column__item theme-column__item--sm swiper-slide",children:(0,o.jsx)("div",{className:"theme-sm-section",children:(0,o.jsx)("div",{className:"theme-sm",children:(0,o.jsx)("div",{className:"theme-sm__box",children:(0,o.jsxs)("div",{className:"theme-sm__group",children:[(0,o.jsxs)("div",{className:"theme-info",children:[(0,o.jsxs)("div",{className:"theme-info__box",children:[(0,o.jsx)("div",{className:"thumb-img",children:(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:null===e||void 0===e?void 0:e.thumbnail,alt:""})})}),(0,o.jsx)("h4",{className:"theme-info__title",children:null===e||void 0===e?void 0:e.name})]}),(0,o.jsx)(p(),{href:"/art/theme/".concat(null===e||void 0===e?void 0:e.code,"/list"),children:(0,o.jsxs)("a",{className:"btn size-sm view",children:["\uc5f0\uc7ac \ubcf4\uae30",(0,o.jsx)("i",{className:"ico ico-arrow"})]})})]}),(0,o.jsx)("div",{className:"theme-sm__body",children:(0,o.jsx)("ul",{className:"theme-sm__list type-rig",children:e.list.map((function(e,s){var n,t;if(s<3)return(0,o.jsx)("li",{className:"mixed-box",children:(0,o.jsxs)("div",{className:"mixed-box__group",children:[(0,o.jsx)(p(),{href:"/art/theme/".concat(e.article_pk),children:(0,o.jsx)("a",{className:"thumb-img",children:(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.thumbnail,alt:""})})})}),(0,o.jsx)(p(),{href:"/art/theme/".concat(e.article_pk),children:(0,o.jsx)("a",{className:"mixed-box__link",children:(0,o.jsx)("strong",{className:"mixed-box__title",dangerouslySetInnerHTML:{__html:null===e||void 0===e||null===(n=e.title)||void 0===n?void 0:n.replace(" "," ").replace(/\n/g,"<br />")}})})}),(0,o.jsx)(p(),{href:"/art/theme/".concat(e.article_pk),children:(0,o.jsx)("a",{className:"mixed-box__sub-link",children:(0,o.jsx)("p",{className:"mixed-box__text",dangerouslySetInnerHTML:{__html:null===e||void 0===e||null===(t=e.content)||void 0===t?void 0:t.replace(" "," ").replace(/\n/g,"<br />")}})})}),(0,o.jsxs)("div",{className:"art-info-sub",children:[(0,o.jsx)("span",{className:"text-date",children:e.article_date}),(0,o.jsxs)("div",{className:"access-nums",children:[(0,o.jsx)("span",{className:"acc-num acc-num--view",children:(0,o.jsx)("em",{children:(0,b.u)(e.view_cnt)})}),(0,o.jsx)("span",{className:"acc-num acc-num--like",children:(0,o.jsx)("em",{children:(0,b.u)(e.like_cnt)})}),(0,o.jsx)("span",{className:"acc-num acc-num--comment",children:(0,o.jsx)("em",{children:(0,b.u)(e.reply_cnt)})})]}),(0,o.jsx)("button",{type:"button",className:"btn-fav ".concat("Y"===e.is_like&&"is-fav"),"aria-label":"Like",onClick:function(s){return ge(s,e.article_pk,e.content_type)}})]})]})},e.article_id)}))})})]})})})})},null===e||void 0===e?void 0:e.name):(0,o.jsx)("div",{className:"theme-column__item theme-column__item--lg swiper-slide",children:(0,o.jsx)("div",{className:"theme-lg-section",children:(0,o.jsx)("div",{className:"theme-lg",children:(0,o.jsx)("div",{className:"theme-lg__box",children:(0,o.jsxs)("div",{className:"theme-lg__group",children:[(0,o.jsxs)("div",{className:"theme-info",children:[(0,o.jsxs)("div",{className:"theme-info__box",children:[(0,o.jsx)("div",{className:"thumb-img",children:(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.thumbnail,alt:""})})}),(0,o.jsx)("h4",{className:"theme-info__title",children:e.name})]}),(0,o.jsx)(p(),{href:"/art/theme/".concat(e.code,"/list"),children:(0,o.jsxs)("a",{className:"btn size-sm view",children:["\uc5f0\uc7ac \ubcf4\uae30",(0,o.jsx)("i",{className:"ico ico-arrow"})]})})]}),(0,o.jsxs)("div",{className:"theme-lg__body",children:[(0,o.jsxs)("div",{className:"theme-lg__art",children:[(0,o.jsx)("div",{className:"theme-lg__img-box",children:(0,o.jsx)(p(),{href:"/art/theme/".concat(null===(n=null===e||void 0===e?void 0:e.list[0])||void 0===n?void 0:n.article_pk),children:(0,o.jsx)("a",{className:"thumb-img",children:(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:null===(t=null===e||void 0===e?void 0:e.list[0])||void 0===t?void 0:t.thumbnail,alt:""})})})})}),(0,o.jsxs)("div",{className:"theme-lg__img-detail",children:[(0,o.jsx)(p(),{href:"/art/theme/".concat(null===(i=null===e||void 0===e?void 0:e.list[0])||void 0===i?void 0:i.article_pk),children:(0,o.jsx)("a",{className:"tit-holder",children:(0,o.jsx)("strong",{className:"theme-lg__title",dangerouslySetInnerHTML:{__html:null===(a=null===e||void 0===e?void 0:e.list[0])||void 0===a||null===(c=a.title)||void 0===c?void 0:c.replace(" "," ").replace(/\n/g,"<br />")}})})}),(0,o.jsx)(p(),{href:"/art/theme/".concat(null===(l=null===e||void 0===e?void 0:e.list[0])||void 0===l?void 0:l.article_pk),children:(0,o.jsx)("a",{className:"theme-lg__sub-link",children:(0,o.jsx)("span",{className:"theme-lg__sub-txt",dangerouslySetInnerHTML:{__html:null===(r=null===e||void 0===e?void 0:e.list[0])||void 0===r||null===(d=r.content)||void 0===d?void 0:d.replace(" "," ").replace(/\n/g,"<br />")}})})}),(0,o.jsxs)("div",{className:"art-info-sub",children:[(0,o.jsxs)("span",{className:"text-date",children:[" ",null===(m=null===e||void 0===e?void 0:e.list[0])||void 0===m?void 0:m.article_date]}),(0,o.jsxs)("div",{className:"access-nums",children:[(0,o.jsx)("span",{className:"acc-num acc-num--view",children:(0,o.jsx)("em",{children:(0,b.u)(null===(u=null===e||void 0===e?void 0:e.list[0])||void 0===u?void 0:u.view_cnt)})}),(0,o.jsx)("span",{className:"acc-num acc-num--like",children:(0,o.jsx)("em",{children:(0,b.u)(null===(x=null===e||void 0===e?void 0:e.list[0])||void 0===x?void 0:x.like_cnt)})}),(0,o.jsx)("span",{className:"acc-num acc-num--comment",children:(0,o.jsx)("em",{children:(0,b.u)(null===(v=null===e||void 0===e?void 0:e.list[0])||void 0===v?void 0:v.reply_cnt)})})]}),(0,o.jsx)("button",{type:"button",className:"btn-fav ".concat("Y"===(null===(_=null===e||void 0===e?void 0:e.list[0])||void 0===_?void 0:_.is_like)&&"is-fav"),"aria-label":"Like",onClick:function(s){var n,t;return ge(s,null===(n=null===e||void 0===e?void 0:e.list[0])||void 0===n?void 0:n.article_pk,null===(t=null===e||void 0===e?void 0:e.list[0])||void 0===t?void 0:t.content_type)}})]})]})]}),(0,o.jsx)("ul",{className:"theme-lg__list type-rig",children:e.list.map((function(e,s){var n,t;if(s>0)return(0,o.jsx)("li",{className:"mixed-box",children:(0,o.jsxs)("div",{className:"mixed-box__group",children:[(0,o.jsx)(p(),{href:"/art/theme/".concat(e.article_pk),children:(0,o.jsx)("a",{className:"thumb-img",children:(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.thumbnail,alt:""})})})}),(0,o.jsx)(p(),{href:"/art/theme/".concat(e.article_pk),children:(0,o.jsx)("a",{className:"mixed-box__link",children:(0,o.jsx)("strong",{className:"mixed-box__title",dangerouslySetInnerHTML:{__html:null===e||void 0===e||null===(n=e.title)||void 0===n?void 0:n.replace(" "," ").replace(/\n/g,"<br />")}})})}),(0,o.jsx)(p(),{href:"/art/theme/".concat(e.article_pk),children:(0,o.jsx)("a",{className:"mixed-box__sub-link",children:(0,o.jsx)("p",{className:"mixed-box__text",dangerouslySetInnerHTML:{__html:null===e||void 0===e||null===(t=e.content)||void 0===t?void 0:t.replace(" "," ").replace(/\n/g,"<br />")}})})}),(0,o.jsxs)("div",{className:"art-info-sub",children:[(0,o.jsx)("span",{className:"text-date",children:e.article_date}),(0,o.jsxs)("div",{className:"access-nums",children:[(0,o.jsx)("span",{className:"acc-num acc-num--like",children:(0,o.jsx)("em",{children:(0,b.u)(e.like_cnt)})}),(0,o.jsx)("span",{className:"acc-num acc-num--comment",children:(0,o.jsx)("em",{children:(0,b.u)(e.reply_cnt)})})]}),(0,o.jsx)("button",{type:"button",className:"btn-fav ".concat("Y"===e.is_like&&"is-fav"),"aria-label":"Like",onClick:function(s){return ge(s,e.article_pk,e.content_type)}})]})]})},e.article_id)}))})]})]})})})})})},e.name)}))},s)}))})})})]}),he&&(0,o.jsx)(y.Z,{})]})]})}},7715:function(e,s,n){"use strict";n.d(s,{E5:function(){return a},p6:function(){return t},tu:function(){return c},wA:function(){return i}});var t=function(e){if(e){"object"===typeof e&&e.toISOString(),e=e.replace(/-/g,"");var s,n,t;return s=e.substr(0,4),n=e.substr(4,2),t=e.substr(6,2),"".concat(s,". ").concat(n,". ").concat(t)}},i=function(e){if(e){"object"===typeof e&&e.toISOString(),e=e.replace(/-/g,"");var s,n,t;return s=e.substring(0,4),n=e.substring(4,6),t=e.substring(6,8),"".concat(s,".").concat(n,".").concat(t)}},a=function(e){if(e)return e.split("T")[0].replace(/-/g,".")},c=function(e,s){for(var n=[],t=-1;t<6;t++)-1===t?n.push(new Date(e.getTime()-s).toISOString().substring(0,10).replace(/-/g,".")):n.push(new Date(new Date(e.getFullYear(),e.getMonth(),e.getDate()+(t+e.getDay())).getTime()-s).toISOString().substring(0,10).replace(/-/g,"."));return n}},394:function(e,s){"use strict";s.Z=function(e){return null===e||void 0===e?void 0:e.replace(/<\/?\w*\b[^>]*>/gi,"")}},1964:function(e,s,n){"use strict";n.d(s,{D:function(){return i},u:function(){return t}});var t=function(e){return e?e>=1e3?(e/1e3).toFixed(1).replace(/\.0$/,"")+"k":e.toString():0},i=function(e){return null===e||void 0===e?0:("string"===typeof e&&(e=Number(e)),Math.floor(e/60))}},8252:function(e,s,n){"use strict";var t=n(5357);s.Z=function(e){if(e){var s=(0,t.G)("scrollPos"),n=(0,t.G)("isPopState");null!==s&&"Y"==n&&setTimeout((function(){window.scrollTo(0,s)}),500)}}}},function(e){e.O(0,[8085,9774,2888,179],(function(){return s=351,e(e.s=s);var s}));var s=e.O();_N_E=s}]);