(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3123],{1965:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/art/info/list",function(){return t(1944)}])},3770:function(e,s,t){t(7758);var n=t(2923),a=t(7758);!function(e,s,t,a){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;t(this.sliderEl).each((function(a,i){if(setConfig=t(i).attr("data-swiper")?JSON.parse(i.dataset.swiper):{},i.options=Object.assign({},s.defaultConfig,setConfig),"undefined"!==typeof t(i).attr("data-swiper-reinit")){var r=Number(t(i).attr("data-swiper-reinit"));i.options.initialSlide=r,i.options.breakpoints[768].initialSlide=r,t(i).removeAttr("data-swiper-reinit")}if("undefined"!==typeof i.options.pagination&&(i.options.pagination.el=t(i).closest(".page-kv").find(".swiper-pagination")[0],"fraction"===i.options.pagination.type&&(i.options.pagination.formatFractionCurrent=function(s){return"custom"===t(i).attr("data-curation-page")&&"mo"===e.winWChk?("0"+(s-1!==0?s-1:t(i).find(".swiper-slide:not(.swiper-slide-duplicate)").length)).slice(-2):("0"+s).slice(-2)},i.options.pagination.formatFractionTotal=function(e){return("0"+e).slice(-2)},i.options.pagination.renderFraction=function(e,s){return'<span class="'+e+'"></span><span class="bar"></span><span class="'+s+'"></span>'})),!0===i.options.navigation&&(i.options.navigation={nextEl:t(i).closest(".page-kv").find(".swiper-next"),prevEl:t(i).closest(".page-kv").find(".swiper-prev")}),!0===i.options.loop&&(i.options.loopedSlides=t(i).find(".swiper-slide").length),t(i).hasClass("kv-swiper__gallery")&&"pc"===e.winWChk&&(i.options.autoplay=!1),!0===i.options.autoplay&&(i.options.autoplay={delay:5e3,disableOnInteraction:!1}),"active-bigger"===t(i).attr("data-curation-style")&&(i.options.on.init=function(){t(i).find(".swiper-slide").addClass("changed")},i.options.on.slideChangeTransitionStart=function(){t(i).find(".swiper-slide").addClass("changing"),t(i).find(".swiper-slide").removeClass("changed")},i.options.on.slideChangeTransitionEnd=function(){t(i).find(".swiper-slide").removeClass("changing"),t(i).find(".swiper-slide").addClass("changed")},t("[data-slider=curation]").on("click",".swiper-slide",(function(e){if(!t(this).hasClass("swiper-slide-active")){e.preventDefault();var s=t(this).data("swiper-slide-index"),n=i.options.speed;swInstance.slideToLoop(s,n)}}))),"overlap"===t(i).attr("data-curation-style")&&(i.options.on.init=function(){"pc"===e.winWChk&&(t(i).find(".swiper-slide").eq(this.activeIndex).css("opacity",1).siblings(".swiper-slide").css("opacity",0),t(i).find(".swiper-slide").eq(this.activeIndex-1).css("opacity",1),t(i).find(".swiper-slide").eq(this.activeIndex-2).css("opacity",1))},i.options.on.slideChange=function(){"pc"===e.winWChk&&(t(i).find(".swiper-slide").eq(this.activeIndex).css("opacity",1).siblings(".swiper-slide").css("opacity",0),t(i).find(".swiper-slide").eq(this.activeIndex-1).css("opacity",1),t(i).find(".swiper-slide").eq(this.activeIndex-2).css("opacity",1))}),"preview"===t(i).attr("data-curation-nav")){var c=t(i).find(".swiper-prev").find(".swiper--btn__bg"),l=t(i).find(".swiper-next").find(".swiper--btn__bg");i.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");c.css("background-image","url(".concat(e,")")),l.css("background-image","url(".concat(s,")"))},i.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");c.css("background-image","url(".concat(e,")")),l.css("background-image","url(".concat(s,")"))},matchMedia("screen and (max-width: 768px)").matches&&(i.options.on.init=function(){c.css("background-image","none"),l.css("background-image","none")},i.options.on.slideChangeTransitionStart=function(){c.css("background-image","none"),l.css("background-image","none")})}if("undefined"===typeof t(i).data("ui")){if("undefined"===typeof i.options.thumbs)swInstance=new n(i,i.options),t(i).data("ui",swInstance);else{var o=t(i).closest('[data-role="swiper-container"]').find('[data-slider="curation"]')[0].swiper;swInstance=new n(i,i.options),t(i).data("ui",swInstance),swInstance.controller.control=o,o.controller.control=swInstance,swInstance.update(),o.update()}"undefined"!==typeof i.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 t=e.pagination.$el.closest(".page-kv").find(".swiper-controls");0===t.find(".btn-autoplay").length&&t.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?(t.find(".swiper--play").addClass("disabled").css("display","none"),t.find(".swiper--pause").removeClass("disabled").css("display","")):(t.find(".swiper--play").removeClass("disabled").css("display",""),t.find(".swiper--pause").addClass("disabled").css("display","none")),t.find(".swiper--play").off("click").on("click",(function(){e.autoplay.start(),t.find(".swiper--play").addClass("disabled").css("display","none"),t.find(".swiper--pause").removeClass("disabled").css("display","")})),t.find(".swiper--pause").off("click").on("click",(function(){e.autoplay.stop(),t.find(".swiper--play").removeClass("disabled").css("display",""),t.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(){t(this.sliderEl).length>0&&this.setSwiper()},resize:function(){if(t(this.sliderEl).length){var s=this;t(this.sliderEl).each((function(n,a){if("undefined"!==typeof t(a).data("ui")){if("custom"===t(a).attr("data-curation-page")){var i=t(a).data("ui").realIndex;"mo"===e.winWChk?t(a).attr("data-swiper-reinit",i+1):t(a).attr("data-swiper-reinit",i-1),null!==t(a).data("ui")&&t(a).data("ui").destroy(),t(a).removeData("ui"),setTimeout((function(){s.setSwiper()}),300)}if(t(a).hasClass("kv-swiper__gallery")&&("mo"===e.winWChk?(s.autoplaySet(t(a).data("ui"),!0),t(a).data("ui").autoplay.start()):(s.autoplaySet(t(a).data("ui"),!1),t(a).data("ui").autoplay.stop())),"overlap"===t(a).attr("data-curation-style")){var r=t(a).data("ui");"mo"===e.winWChk?t(r.slides).css("opacity",""):(t(r.slides[r.activeIndex]).css("opacity",1).siblings(".swiper-slide").css("opacity",0),t(r.slides[r.activeIndex-1]).css("opacity",1),t(r.slides[r.activeIndex-2]).css("opacity",1))}if("active-bigger"===t(a).attr("data-curation-style")){var c=t(a).data("ui");"pc"===e.winWChk&&(t(c.slides).css("width",""),c.update())}}}))}}},UI.curationSw.init()}(window,document,a)},5616:function(e,s,t){"use strict";var n=t(5893);t(7294);s.Z=function(){return(0,n.jsx)("div",{className:"box-layerLoading"})}},1944:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSP:function(){return S}});var n=t(7352),a=t(4924),i=t(6042),r=t(9396),c=t(9815),l=t(655),o=t(5893),d=t(9008),p=t.n(d),u=t(1664),m=t.n(u),h=t(7294),f=t(8767),g=t(580),x=t(9473),v=t(9534),_=t(5998),w=t(1312),j=t(1163),b=t(7715),N=t(5616),y=t(8252),k=null,C=null,S=!0;s.default=function(e){var s,d=e.fullURL;C=t(2923),k=t(7758),(0,h.useEffect)((function(){t(1007)}),[]);var u=(0,j.useRouter)(),S=(0,g.Z)(),I=null===(s=(0,x.v9)((function(e){return e.service})))||void 0===s?void 0:s.isMobile,Z=(0,h.useState)([]),E=Z[0],T=Z[1],P=(0,h.useState)(!1),q=P[0],A=P[1];(0,h.useEffect)((function(){q&&(0,y.Z)(q)}),[q]),(0,h.useEffect)((function(){if(E.length>0){t(3770),window.UI.curationSw.init();var e=".box-swiper-1",s=new C(e+" .swiper-container",{slidesPerView:1,direction:"horizontal",slideToClickedSlide:!1,loop:!0,effect:"fade",freeMode:!1,spaceBetween:16,touchRatio:.2,threshold:1,speed:300,centeredSlides:!0,loopedSlides:E.length,pagination:{el:".swiper-btn-4 .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>'}},on:{slideChange:function(s){k(e+" .swiper-container").find(".swiper-slide").eq(this.activeIndex).css("opacity",1).siblings(".swiper-slide").css("opacity",0),k(e+" .swiper-container").find(".swiper-slide").eq(this.activeIndex-1).css("opacity",0)},init:function(s){k(e+" .swiper-container").find(".swiper-slide").eq(this.activeIndex).css("opacity",1).siblings(".swiper-slide").css("opacity",0),k(e+" .swiper-container").find(".swiper-slide").eq(this.activeIndex-1).css("opacity",0)}},navigation:{prevEl:".mobile-show .swiper-prev",nextEl:".mobile-show .swiper-next"},breakpoints:{767:{slidesPerView:1,speed:700}}}),n=new C(".box-swiper-2 .swiper-container",{slidesPerView:"auto",effect:"slide",loop:!0,speed:400,centeredSlides:!1,freeMode:!1,slideToClickedSlide:!0,navigation:{prevEl:".pc-show .swiper-prev",nextEl:".pc-show .swiper-next"}});k(".swiper-4").length&&(s.controller.control=n,n.controller.control=s)}}),[E]);var F=(0,h.useState)([{key:"status",title:"\uc0c1\ud0dc",items:[{name:"\uc804\uccb4",value:"status",isAll:!0,selected:!1},{name:"\uc608\uc815",value:"S",selected:!1},{name:"\uc9c4\ud589\uc911",value:"N",selected:!1},{name:"\uc885\ub8cc",value:"E",selected:!1},{name:"\uc885\ub8cc \uc784\ubc15",value:"C",selected:!1}]},{key:"grade",title:"\ud3c9\uc810",items:[{name:"\uc804\uccb4",value:"grade",isAll:!0,selected:!1},{name:"\uac15\ub825\ucd94\ucc9c",value:"A",selected:!1},{name:"\uae30\ub300\uc774\uc0c1",value:"B",selected:!1},{name:"\uadf8\ub7ed\uc800\ub7ed",value:"C",selected:!1},{name:"\uae30\ub300\uc774\ud558",value:"D",selected:!1}]}]),L=F[0],O=F[1],D=(0,h.useState)(0),R=D[0],Y=D[1],W=(0,h.useState)([]),M=W[0],U=W[1],$=(0,h.useState)([]),z=$[0],B=$[1],K=(0,h.useState)(""),Q=K[0],H=K[1],V=(0,h.useState)({page:0,limit:20,sort:"curation_sort",direction:"desc",search_keyword:""}),X=V[0],G=V[1],J=(0,h.useState)(!1),ee=J[0],se=J[1],te=(0,h.useState)([]),ne=te[0],ae=te[1],ie=(0,h.useState)(!1),re=ie[0],ce=ie[1];(0,f.useQuery)("getBannerItems",(0,n.Z)((function(){return(0,l.__generator)(this,(function(e){switch(e.label){case 0:return[4,w.Z.get("/common/banner/position/EXHB_02_01")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){e.data.data=e.data.data.filter((function(e){return e.is_open>=1})),ae(e.data.data)},onError:function(e){console.error(e)}}),(0,f.useQuery)("getKvData",(0,n.Z)((function(){return(0,l.__generator)(this,(function(e){switch(e.label){case 0:return[4,w.Z.get("/fo/common/kv/03_02_00_00")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){T(e.data.data.kv_list)},onError:function(e){console.error(e)}});(0,f.useQuery)(["getArtInfoList",X.page,X.sort,X.search_keyword,X.status,X.grade,X.code801],(0,n.Z)((function(){return(0,l.__generator)(this,(function(e){switch(e.label){case 0:return ce(!0),[4,w.Z.get("/fo/art/info/list",{params:X})];case 1:return[2,e.sent()]}}))})),{enabled:u.isReady,onSuccess:function(e){if(console.log(e.data.list),ce(!1),A(!0),e.data.list.map((function(e){e.grade_avg=e.grade_avg.toFixed(1)})),I&&ee){se(!1);var s=(0,c.Z)(M);e.data.list.map((function(e){s.push(e)})),U(s)}else U(e.data.list);Y(e.data.total)},onError:function(e){console.error(e)}}).refetch;(0,f.useQuery)("getArtInfoThisweekKeyword",(0,n.Z)((function(){return(0,l.__generator)(this,(function(e){switch(e.label){case 0:return[4,w.Z.get("/fo/art/info/thisweek/keyword",{})];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){B(e.data.data)},onError:function(e){}}),(0,f.useQuery)(["commonCode801"],(0,n.Z)((function(){return(0,l.__generator)(this,(function(e){switch(e.label){case 0:return[4,w.Z.get("/common/code/root/801")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){e.data=e.data.map((function(e){return e.value=e.code,e}));var s=(0,c.Z)(L);s.unshift({key:"code801",title:"\uc804\uc2dc \uc9c0\uc5ed",className:"filter-options__items-list m-col2",items:[{name:"\uc804\uccb4",value:"code801",isAll:!0,selected:!1}].concat((0,c.Z)(e.data))}),O(s)},onError:function(e){console.error(e)}});var le=function(){if(1!=Q.length){var e=(0,r.Z)((0,i.Z)({},X),{search_keyword:Q,page:0});de(e)}else alert("2\uc790 \uc774\uc0c1\uc73c\ub85c \uac80\uc0c9\uc5b4\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.")},oe=function(e){var s=e.target,t=s.name,n=s.value,c=s.isMore;se(c);var l,o={};"page"===t?o=(0,r.Z)((0,i.Z)({},X),(0,a.Z)({},t,n)):o=(0,r.Z)((0,i.Z)({},X),(l={},(0,a.Z)(l,t,n),(0,a.Z)(l,"page",0),l));de(o)},de=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})},pe=function(e,s,t){S.mutate({event:e,contentId:s,contentType:t})};return(0,h.useEffect)((function(){ne.length>0&&window.UI.adBanner.init()}),[ne]),(0,h.useEffect)((function(){window.UI.toggleSection.init()}),[]),(0,h.useEffect)((function(){var e={};e=0===Object.keys(u.query).length?(0,i.Z)({},X):(0,i.Z)({},Object.keys(X).reduce((function(e,s){return u.query.hasOwnProperty(s)&&(e[s]=X[s]),e}),{}),u.query),G(e);var s=L.map((function(e){return(0,r.Z)((0,i.Z)({},e),{items:e.items.map((function(s){var t,n;s.isAll?e.items.length===(null===(t=u.query[e.key])||void 0===t?void 0:t.length)+1?s.selected=!0:s.selected=!1:(null===(n=u.query[e.key])||void 0===n?void 0:n.includes(s.value.toString()))?s.selected=!0:s.selected=!1;return s}))})}));O(s)}),[u.query]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(p(),{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 > \uc804\uc2dc \uc815\ubcf4"}),(0,o.jsx)("meta",{property:"og:description",content:"\ubcfc \ub9cc\ud55c \uc804\uc2dc \uc815\ubcf4\ub97c \ud655\uc778\ud558\uc138\uc694"}),(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_info.png"}),(0,o.jsx)("meta",{name:"title",content:"ART \ubcf4\ub2e4 > \uc804\uc2dc \uc815\ubcf4"}),(0,o.jsx)("meta",{name:"description",content:"\ubcfc \ub9cc\ud55c \uc804\uc2dc \uc815\ubcf4\ub97c \ud655\uc778\ud558\uc138\uc694"}),(0,o.jsx)("meta",{itemProp:"name",content:"ART \ubcf4\ub2e4 > \uc804\uc2dc \uc815\ubcf4"}),(0,o.jsx)("meta",{itemProp:"description",content:"\ubcfc \ub9cc\ud55c \uc804\uc2dc \uc815\ubcf4\ub97c \ud655\uc778\ud558\uc138\uc694"}),(0,o.jsx)("meta",{itemProp:"image",content:"/assets/images/og_image/03_art_info.png"}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:"ART \ubcf4\ub2e4 > \uc804\uc2dc \uc815\ubcf4"}),(0,o.jsx)("meta",{name:"twitter:description",content:"\ubcfc \ub9cc\ud55c \uc804\uc2dc \uc815\ubcf4\ub97c \ud655\uc778\ud558\uc138\uc694"}),(0,o.jsx)("meta",{name:"twitter:image",content:"/assets/images/og_image/03_art_info.png"})]}),(0,o.jsxs)("div",{className:"container",id:"container",children:[(0,o.jsx)("div",{className:"sub-renew",children:(0,o.jsxs)("div",{className:"inner-renew posi-relative",children:[(0,o.jsx)("h2",{className:"common-h2-type1 padding-type-1",children:"\uc9c0\uae08 \uac00\ubcfc \ub9cc\ud55c \uc804\uc2dc"}),(0,o.jsxs)("div",{className:"ct swiper-two",children:[(0,o.jsx)("div",{className:"inner swiper-4 bg-type-3 size-type-1 box-swiper-1",children:(0,o.jsx)("div",{className:"slider",children:(0,o.jsx)("div",{className:"swiper-container",children:(0,o.jsx)("ul",{className:"swiper-wrapper",children:E.length>0&&(0,o.jsx)(o.Fragment,{children:E.map((function(e,s){return(0,o.jsxs)("li",{className:"swiper-slide",children:[(0,o.jsxs)("div",{className:"in-swiper-slide",children:[(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 pe(s,e.content_pk,e.content_type)}}),(0,o.jsx)("div",{className:"cover-img",children:(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsxs)("a",{className:"img-holder",children:[(0,o.jsx)("img",{src:e.thumbnail,alt:""}),(0,o.jsx)("span",{className:"tag-txt",children:e.genre})]})})})]}),(0,o.jsx)("span",{className:"txt-1",children:(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsxs)("a",{children:[(0,o.jsx)("p",{className:"t-1",children:e.title}),(0,o.jsxs)("div",{children:[e.term,(0,o.jsx)("br",{}),e.art_space_name]})]})})})]},e.content_id)}))})})})})}),(0,o.jsx)("div",{className:"inner swiper-4 bg-type-1 size-type-1 box-swiper-2",children:(0,o.jsx)("div",{className:"slider",children:(0,o.jsx)("div",{className:"swiper-container",children:(0,o.jsx)("ul",{className:"swiper-wrapper",children:E.length>0&&(0,o.jsx)(o.Fragment,{children:E.map((function(e,s){return(0,o.jsxs)("li",{className:"swiper-slide",children:[(0,o.jsxs)("div",{className:"in-swiper-slide",children:[(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 pe(s,e.content_pk,e.content_type)}}),(0,o.jsx)("div",{className:"cover-img",children:(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsxs)("a",{className:"img-holder",children:[(0,o.jsx)("img",{src:e.thumbnail,alt:""}),(0,o.jsx)("span",{className:"tag-txt",children:e.genre})]})})})]}),(0,o.jsx)("span",{className:"txt-1",children:(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsxs)("a",{children:[(0,o.jsx)("p",{className:"t-1",children:e.title}),(0,o.jsxs)("div",{children:[e.term,(0,o.jsx)("br",{}),e.art_space_name]})]})})})]},e.content_id)}))})})})})})]}),(0,o.jsx)("div",{className:"mobile-show",children:(0,o.jsxs)("div",{className:"common-swiper-sb swiper-btn-4",children:[(0,o.jsx)("div",{className:"box-swiperControl",children:(0,o.jsx)("div",{className:"pageNumber"})}),(0,o.jsxs)("div",{className:"box-prevNext",children:[(0,o.jsx)("button",{className:"swiper-prev"}),(0,o.jsx)("button",{className:"swiper-next"})]})]})}),(0,o.jsx)("div",{className:"pc-show",children:(0,o.jsxs)("div",{className:"common-swiper-sb swiper-btn-4 ",children:[(0,o.jsx)("div",{className:"box-swiperControl",children:(0,o.jsx)("div",{className:"pageNumber"})}),(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:ne.map((function(e){return(0,o.jsx)(m(),{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,b.wA)(e.start_date),"-",(0,b.wA)(e.end_date)]})]})]}):""]})},e.banner_pk)}))})}),(0,o.jsx)("div",{className:"ad-banner__pagination"})]}),(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"}),z.map((function(e,s){return(0,o.jsx)(m(),{href:"/util/search/content?keyword=".concat(e.keyword),children:(0,o.jsxs)("span",{className:"hashtag",style:{cursor:"pointer"},children:["# ",e.keyword]})},"tag-".concat(s))}))]}),(0,o.jsx)("div",{className:"ex-container",children:(0,o.jsxs)("article",{className:"ex-content",children:[(0,o.jsxs)("div",{className:"sort-section",children:[(0,o.jsxs)("div",{className:"sort-section__block",children:[(0,o.jsxs)("p",{className:"result-text",children:["\uac80\uc0c9\uacb0\uacfc \ucd1d ",R,"\uac1c"]}),(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:"\ucd94\ucc9c\uc21c"}),(0,o.jsxs)("ul",{className:"view-sort__list",children:[(0,o.jsx)("li",{className:"curation_sort"===X.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"curation_sort",onClick:oe,children:"\ucd94\ucc9c\uc21c"})}),(0,o.jsx)("li",{className:"created_at"===X.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"created_at",onClick:oe,children:"\ucd5c\uc2e0\uc21c"})}),(0,o.jsx)("li",{className:"view_cnt"===X.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"view_cnt",onClick:oe,children:"\uc870\ud68c\uc21c"})}),(0,o.jsx)("li",{className:"like_cnt"===X.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"like_cnt",onClick:oe,children:"\uc88b\uc544\uc694\uc21c"})}),(0,o.jsx)("li",{className:"postscript_cnt"===X.sort?"sort-on":"",children:(0,o.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"postscript_cnt",onClick:oe,children:"\ud55c\uc904\ud3c9 \uc21c"})})]})]}),(0,o.jsxs)("div",{className:"rbox-block",children:[(0,o.jsxs)("button",{type:"button",className:"filter-button","data-pop-open":"filter","data-st-open":"\uc5f4\uae30","data-st-close":"\ub2eb\uae30",children:["\uc0c1\uc138\uc635\uc158 ",(0,o.jsx)("span",{className:"st-text",children:"\uc5f4\uae30"})]}),(0,o.jsxs)("span",{className:"search-box hide-mo",children:[(0,o.jsx)("input",{type:"text",className:"o-input",placeholder:"\uc804\uc2dc\uba85, \uc791\uac00\uba85, \uc804\uc2dc \uacf5\uac04\uba85 \ub4f1\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694",name:"search_keyword",value:Q,onChange:function(e){H(e.target.value)},maxLength:20,onKeyDown:function(e){"Enter"===e.key&&le()}}),(0,o.jsx)("button",{type:"button",className:"o-btn o-btn-search","aria-label":"\uac80\uc0c9",onClick:le})]}),(0,o.jsx)("button",{type:"button",className:"grid-type-button","data-toggle":"btn-row-type","data-toggle-rel":"pdt-grid"})]})]})]}),(0,o.jsx)(_.Z,{filterItems:L,onChange:function(e){var s=(0,r.Z)((0,i.Z)({},X,e),{page:0});de(s)},totalCount:R,moKeywordPlaceholder:"\uc804\uc2dc\uba85, \uc791\uac00\uba85, \uc804\uc2dc \uacf5\uac04\uba85 \ub4f1\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694"})]}),M.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:"pdt-grid-wrap",children:[(0,o.jsx)("div",{className:"pdt-grid","data-section":"pdt-grid","data-toggle-section":"pdt-grid-wide",children:M.map((function(e,s){var t,n,a="Y"===e.curation_yn?"pdt-grid__item--mowide":"";return"Y"===e.curation_yn?(0,o.jsx)("div",{className:"pdt-grid__item ".concat(a," has-pick"),children:(0,o.jsxs)("div",{className:"pdt pdt--pick pick-bg2",children:[(0,o.jsxs)("div",{className:"pdt__head",children:[(0,o.jsx)("strong",{className:"pdt__stit",children:"arte's Pick "}),(0,o.jsx)("p",{className:"pdt__stit-desc",children:"arte \ucd94\ucc9c \uc804\uc2dc"})]}),(0,o.jsxs)("div",{className:"pdt__card",children:[(0,o.jsx)("div",{className:"thumb-img",children:(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsxs)("a",{className:"img-holder",children:[(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.poster_url,alt:""})}),(0,o.jsx)("span",{className:"tag-gen",children:e.code362_name})]})})}),(0,o.jsxs)("div",{className:"pdt__inbox",children:[(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsx)("a",{className:"pdt__title",dangerouslySetInnerHTML:{__html:null===(t=e.title)||void 0===t?void 0:t.replace(" "," ").replace(/\n/g,"<br />")}})}),(0,o.jsxs)("ul",{className:"art-info",children:[(0,o.jsxs)("li",{className:"ico-event",children:[(0,b.p6)(e.start_date)," ~ ",(0,b.p6)(e.end_date)]}),(0,o.jsx)("li",{className:"ico-location",children:e.art_space_name})]}),(0,o.jsxs)("div",{className:"pdt__status",children:[e.event_cnt>0&&(0,o.jsx)("span",{className:"tag event",children:"\uc774\ubca4\ud2b8"}),(0,o.jsx)("span",{className:"tag-gen-s",children:e.code362_name}),(0,o.jsx)("span",{className:"tag",children:e.code921_name}),(0,o.jsxs)("span",{className:"grade",children:[(0,o.jsx)("span",{className:"star",children:(0,o.jsx)("i",{className:"star__point ".concat("p"+Number(e.grade_avg).toFixed(0))})}),(0,o.jsx)("em",{className:"grade__num",children:e.grade_avg})]}),(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 pe(s,e.id,e.content_type)}})]})]})]})]})},s):"Y"===e.curation_yn?(0,o.jsx)("div",{className:"pdt-grid__item",children:(0,o.jsxs)("div",{className:"pdt pdt--pick",children:[(0,o.jsx)("div",{className:"pdt__head",children:(0,o.jsx)("strong",{className:"pdt__stit",children:"arte's Pick"})}),(0,o.jsxs)("div",{className:"pdt__card",children:[(0,o.jsx)("div",{className:"thumb-img",children:(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsxs)("a",{className:"img-holder",children:[(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.poster_url,alt:""})}),(0,o.jsx)("span",{className:"tag-gen",children:e.code362_name})]})})}),(0,o.jsxs)("div",{className:"pdt__inbox",children:[(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsx)("a",{className:"pdt__title",children:e.title})}),(0,o.jsxs)("ul",{className:"art-info",children:[(0,o.jsxs)("li",{className:"ico-event",children:[(0,b.p6)(e.start_date)," ~ ",(0,b.p6)(e.end_date)]}),(0,o.jsx)("li",{className:"ico-location",children:e.art_space_name})]}),(0,o.jsxs)("div",{className:"pdt__status",children:[e.event_cnt>0&&(0,o.jsx)("span",{className:"tag event",children:"\uc774\ubca4\ud2b8"}),(0,o.jsx)("span",{className:"tag-gen-s",children:e.code362_name}),(0,o.jsx)("span",{className:"tag",children:e.code921_name}),(0,o.jsxs)("span",{className:"grade",children:[(0,o.jsx)("span",{className:"star",children:(0,o.jsx)("i",{className:"star__point ".concat("p"+Number(e.grade_avg).toFixed(0))})}),(0,o.jsx)("em",{className:"grade__num",children:e.grade_avg})]}),(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 pe(s,e.id,e.content_type)}})]})]})]})]})},s):(0,o.jsx)("div",{className:"pdt-grid__item",children:(0,o.jsx)("div",{className:"pdt",children:(0,o.jsxs)("div",{className:"pdt__card",children:[(0,o.jsx)("div",{className:"thumb-img",children:(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsxs)("a",{className:"img-holder",children:[(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.poster_url,alt:""})}),(0,o.jsx)("span",{className:"tag-gen",children:e.code362_name})]})})}),(0,o.jsxs)("div",{className:"pdt__inbox",children:[(0,o.jsx)(m(),{href:"/art/info/".concat(e.perf_exh_id),children:(0,o.jsx)("a",{className:"pdt__title",dangerouslySetInnerHTML:{__html:null===(n=e.title)||void 0===n?void 0:n.replace(" "," ").replace(/\n/g,"<br />")}})}),(0,o.jsxs)("ul",{className:"art-info",children:[(0,o.jsxs)("li",{className:"ico-event",children:[(0,b.p6)(e.start_date)," ~ ",(0,b.p6)(e.end_date)]}),(0,o.jsx)("li",{className:"ico-location",children:e.art_space_name})]}),(0,o.jsxs)("div",{className:"pdt__status",children:[e.event_cnt>0&&(0,o.jsx)("span",{className:"tag event",children:"\uc774\ubca4\ud2b8"}),(0,o.jsx)("span",{className:"tag-gen-s",children:e.code362_name}),(0,o.jsx)("span",{className:"tag",children:e.code921_name}),(0,o.jsxs)("span",{className:"grade",children:[(0,o.jsx)("span",{className:"star",children:(0,o.jsx)("i",{className:"star__point ".concat("p"+Number(e.grade_avg).toFixed(0))})}),(0,o.jsx)("em",{className:"grade__num",children:e.grade_avg})]}),(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 pe(s,e.id,e.content_type)}})]})]})]})})},s)}))}),(0,o.jsx)(v.Z,{page:X.page,limit:X.limit,totalCount:R,handleChangePage:oe})]})})]})})]})]}),re&&(0,o.jsx)(N.Z,{})]})]})}},7715:function(e,s,t){"use strict";t.d(s,{E5:function(){return i},p6:function(){return n},tu:function(){return r},wA:function(){return a}});var n=function(e){if(e){"object"===typeof e&&e.toISOString(),e=e.replace(/-/g,"");var s,t,n;return s=e.substr(0,4),t=e.substr(4,2),n=e.substr(6,2),"".concat(s,". ").concat(t,". ").concat(n)}},a=function(e){if(e){"object"===typeof e&&e.toISOString(),e=e.replace(/-/g,"");var s,t,n;return s=e.substring(0,4),t=e.substring(4,6),n=e.substring(6,8),"".concat(s,".").concat(t,".").concat(n)}},i=function(e){if(e)return e.split("T")[0].replace(/-/g,".")},r=function(e,s){for(var t=[],n=-1;n<6;n++)-1===n?t.push(new Date(e.getTime()-s).toISOString().substring(0,10).replace(/-/g,".")):t.push(new Date(new Date(e.getFullYear(),e.getMonth(),e.getDate()+(n+e.getDay())).getTime()-s).toISOString().substring(0,10).replace(/-/g,"."));return t}},8252:function(e,s,t){"use strict";var n=t(5357);s.Z=function(e){if(e){var s=(0,n.G)("scrollPos"),t=(0,n.G)("isPopState");null!==s&&"Y"==t&&setTimeout((function(){window.scrollTo(0,s)}),500)}}}},function(e){e.O(0,[8085,9774,2888,179],(function(){return s=1965,e(e.s=s);var s}));var s=e.O();_N_E=s}]);