1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2093],{5912:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return i}});var r=n(1163),o=(n(7294),n(9008)),a=n.n(o),s=n(9303),c=n(5893);var i=!0;t.default=function(e){e.testData;var t=e.metaTagData,n=(0,r.useRouter)();return(0,c.jsxs)("div",{className:"contents",children:[(0,c.jsxs)(a(),{children:[(0,c.jsx)("link",{rel:"stylesheet",href:"".concat("/styles/2021/m/sbsmain-2021-mobile-0.0.1.min.css","?v=").concat("1789365220659")}),(0,c.jsx)("meta",{name:"viewport",content:"user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width"}),(0,c.jsx)("script",{type:"text/javascript",src:"//static.cloud.sbs.co.kr/common/js/sbs-gnb-app-4.0.0.min.js"}),(0,c.jsx)("meta",{name:"description",content:t.shareDescription}),(0,c.jsx)("meta",{name:"keywords",content:t.keywords}),(0,c.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,c.jsx)("noscript",{children:"Your browser does not support JavaScript!"}),(0,c.jsx)("meta",{property:"og:type",content:"website"}),(0,c.jsx)("meta",{property:"og:locale",content:"ko_KR"}),(0,c.jsx)("meta",{property:"og:site_name",content:"SBS"}),(0,c.jsx)("meta",{property:"og:title",content:t.shareTitle||""}),(0,c.jsx)("meta",{property:"og:description",content:t.shareDescription||""}),(0,c.jsx)("meta",{property:"og:image",content:t.shareImageUrl||""}),(0,c.jsx)("meta",{property:"og:url",content:t.currentUrl||""}),(0,c.jsx)("meta",{name:"nate:site_name",content:"SBS"}),(0,c.jsx)("meta",{name:"nate:title",content:t.shareTitle||""}),(0,c.jsx)("meta",{name:"nate:description",content:t.shareDescription||""}),(0,c.jsx)("meta",{name:"nate:image",content:t.shareImageUrl||""}),(0,c.jsx)("meta",{name:"nate:url",content:t.currentUrl||""}),(0,c.jsx)("title",{children:t.shareTitle})]}),(0,c.jsx)("div",{role:"main",id:"container",className:"tv_listcontents_wrap",children:(0,c.jsx)(s.Z,{sectionCode:n.query.pageSection,categoryCode:n.query.pageCategory})})]})}},9303:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(7294),o=n(3008),a=n(1664),s=n.n(a),c=n(5893);var i=n(9499),l=n(1163);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e,t,n){var o=(0,r.useState)(!1),a=o[0],i=o[1],d=(0,r.useState)(null),m=d[0],p=d[1],y=(0,l.useRouter)();return(0,r.useEffect)((function(){var t=e.data.find((function(t){return t.code===e.categoryCode}));t&&p(t)}),[]),(0,r.useEffect)((function(){!0===a&&document.getElementById("0layeritem").focus()}),[a]),(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("div",{className:"category_linkselect_w ".concat(a?"current":""),onClick:function(){return!1===a?(document.getElementById("header").style.display="none",document.getElementById("footer").style.display="none",document.body.classList.add("body_scroll_none")):(document.getElementById("header").style.display="block",document.getElementById("footer").style.display="block",document.body.classList.remove("body_scroll_none")),void i(!a)},children:[(0,c.jsx)("h3",{className:"cl_title",id:"dropdown-box",children:(0,c.jsxs)("a",{id:"layerpopup",className:"cl_link",role:"button","aria-labelledby":m?m.text:e.data[0].text,"aria-expanded":"".concat(a?"true":"false"),href:"#",children:[(0,c.jsx)("span",{className:"cl_link_text",children:(null===m||void 0===m?void 0:m.text)||""}),(0,c.jsx)("i",{className:"category_icon_arrow",children:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"6",viewBox:"0 0 10 6",children:(0,c.jsx)("path",{className:"a",d:"M5,1.809,8.783,5.78a.688.688,0,0,0,1.009,0,.783.783,0,0,0,0-1.062L5.508.218A.689.689,0,0,0,4.523.2L.208,4.714a.781.781,0,0,0,0,1.062.688.688,0,0,0,1.009,0Z",transform:"translate(10 6) rotate(180)"})})})]})}),(0,c.jsxs)("div",{className:"category_linkselect_inner",children:[(0,c.jsx)("ul",{className:"cl_list",children:e.data.map((function(t,n){var r,o,a,i=null!==(r=t.link)&&void 0!==r&&r.outUrl?{pathname:t.link.outUrl}:{pathname:y.pathname,query:u(u({},y.query),null===t||void 0===t||null===(o=t.link)||void 0===o?void 0:o.query)};null===(a=t.link)||void 0===a||a.outUrl;return(0,c.jsx)("li",{className:"cll_inner".concat(t.code===e.categoryCode?" current":""),onClick:function(){return function(t){"function"===typeof e.onChange&&e.onChange(t),p(t)}(t)},children:(0,c.jsx)(s(),{href:i,children:(0,c.jsxs)("a",{className:"cll_link",href:"#",id:n+"layeritem",children:[t.text,(null===m||void 0===m?void 0:m.code)===t.code&&(0,c.jsx)("i",{className:"hide",children:"\uc120\ud0dd\ub428"})]})})},"dropdown_item_".concat(n))}))}),(0,c.jsx)("div",{className:"cl_close_button",children:(0,c.jsx)("button",{className:"cl_close_inner",onKeyPress:function(e){document.getElementById("layerpopup").focus()},children:(0,c.jsxs)("i",{className:"cl_close_icon",children:[(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",children:(0,c.jsx)("g",{transform:"translate(-164.018 -178.02)",children:(0,c.jsxs)("g",{transform:"translate(164.018 178.018)",children:[(0,c.jsx)("path",{className:"a",d:"M19.467,2.012.832,2.273a.915.915,0,0,1-.833-1H0A.979.979,0,0,1,.86.24L19.5-.021a.915.915,0,0,1,.833,1h0A.979.979,0,0,1,19.467,2.012Z",transform:"translate(1.608 0.017) rotate(45)"}),(0,c.jsx)("path",{className:"a",d:"M19.47.261.834,0a.915.915,0,0,0-.833,1H0A.979.979,0,0,0,.862,2.034l18.636.26a.915.915,0,0,0,.833-1h0A.979.979,0,0,0,19.47.261Z",transform:"translate(15.999 1.623) rotate(135)"})]})})}),(0,c.jsx)("span",{className:"hide",children:"\ub2eb\uae30"})]})})})]})]})})};function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var y=function(e){e.sectionCode,e.categoryCode,e.sortCode;var t=e.sorts,n=e.currentCode,o=e.onChange,a=(e.pageChange,(0,l.useRouter)()),d=t.find((function(e){return"top"===e.code}
1))||(Array.isArray(t)&&t.length>0?t[0]:{}),u=(0,r.useState)(n||(Array.isArray(t)&&t.length>0?t[0].code:"")),m=u[0],y=u[1];(0,r.useEffect)((function(){y(d.code),"function"===typeof o&&o(d.code)}),[d]);var h=function(e,t){"function"===typeof o&&o(e.code),y(e.code)};return(0,c.jsx)("div",{className:"sorting_btn_w",children:t.map((function(e,t){var n=e.link,r=e.text,o=e.code,l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a.query);return l.sort=n,(0,c.jsx)(s(),{href:{pathname:a.pathname,query:l},children:(0,c.jsx)("a",{className:"sorting_btn_cont ".concat(m===o&&"current"),title:"".concat(m===o?"\uc120\ud0dd\ub428":"\uc120\ud0dd\uc548\ub428"),role:"link",onClick:function(){return h({link:n,text:r,code:o})},onKeyUp:function(e){13===e.keyCode&&h({link:n,text:r,code:o})},children:(0,c.jsx)("span",{className:"sorting_btn_text ",children:r})})},"sort_category_item_".concat(t))}))})};var h=function(e){var t,n,o=e.sectionCode,a=e.categories,s=e.categoryCode,i=e.sorts,l=e.sortCode,d=e.onChange,u=e.pageChange,p=(0,r.useState)(s||(Array.isArray(a)&&a.length>0?null===(t=a[0])||void 0===t?void 0:t.code:"")),h=p[0],g=p[1],f=(0,r.useState)(l||(Array.isArray(i)&&i.length>0?null===(n=i[0])||void 0===n?void 0:n.code:"")),j=f[0],v=f[1];return(0,r.useEffect)((function(){"function"===typeof d&&d({categoryCode:h,sortCode:j})}),[h,j]),(0,c.jsxs)("div",{className:"category_list_w",children:[Array.isArray(a)&&a.length>0&&(0,c.jsx)(m,{data:a,sectionCode:o,categoryCode:s,onChange:function(e){g(e.code)}}),Array.isArray(i)&&i.length>0&&(0,c.jsx)(y,{sectionCode:o,categoryCode:s,sortCode:j,pageChange:u,sorts:i,onChange:function(e){v(e)}})]})};var g=function(e){var t,n=e.sectionCode,a=void 0===n?o.m4:n,s=e.categoryCode,i=e.sortCode,l=e.onChange,d=o.es.find((function(e){return e.code===a})),u=(0,r.useState)(d),m=u[0],p=(u[1],(0,r.useState)({categoryCode:"",sortCode:""})),y=(p[0],p[1],(0,r.useState)(!1)),g=y[0];return y[1],(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("h2",{className:"hide",children:"TV"}),(0,c.jsx)("div",{className:"contents_area_sorting",children:(0,c.jsx)(h,{sectionCode:a,categories:null===m||void 0===m?void 0:m.category,categoryCode:s,sorts:null===(t=o.gy[null===m||void 0===m?void 0:m.sortType])||void 0===t?void 0:t.searchParamList,sortCode:i,onChange:function(e){var t=e.sectinoCode,n=void 0===t?null===m||void 0===m?void 0:m.code:t,r=e.categoryCode,o=void 0===r?"":r,a=e.sortCode;l({sectinoCode:n,categoryCode:o,sortCode:void 0===a?"":a})},pageChange:g})})]})}},1045:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/m/tv/[pageSection]/[pageCategory]",function(){return n(5912)}])},1163:function(e,t,n){e.exports=n(9898)}},function(e){e.O(0,[9774,2888,179],(function(){return t=1045,e(e.s=t);var t}));var t=e.O();_N_E=t}]); 2//# sourceMappingURL=[pageCategory]-83401ab4d00b1e52.js.map
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.