1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(11852)}])},88729:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(85893),r=n(86010),s=n(23493),a=n.n(s),o=n(67294),l=n(14416),c=n(67111),u=n(49491),d=n(47962),m=n(73958);function p(){var e=(0,l.v9)(m.YF),t=(0,l.v9)(u.xm.isOpened),n=(0,o.useState)(!1),s=n[0],p=n[1];(0,o.useEffect)((function(){var e=a()((function(){window.scrollY>1e3?p(!0):p(!1)}),100);return window.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}}),[]);return e?null:(0,i.jsx)("div",{className:(0,r.Z)("fixed flex justify-end bottom-8 right-[calc(var(--pr,0px)+32px)] transition z-[5] cursor-pointer",t&&"bottom-28",s?"flex":"hidden"),onClick:function(){(0,c.k3Y)("smooth")},children:(0,i.jsx)(d.Z,{name:"icon-backToTop",className:(0,r.Z)("w-[50px] h-[50px] rounded-full fill-syc-gray-300 hover:fill-syc-gray-600 transition")})})}},11852:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return ee},default:function(){return te}});var i=n(26042),r=n(69396),s=n(10253),a=n(29815),o=n(85893),l=n(86010),c=n(5152),u=n.n(c),d=n(9008),m=n.n(d),p=n(11163),f=n(67294),x=n(14416),h=n(88729),v=n(35243),b=n(79174),g=n(67111),y=n(278),w=n(47962);function j(e){var t=e.onCancel,n=e.message,i=(0,s.Z)((0,y.Z)(),3),r=(i[1],i[2]),a=n||r(g.GHn.certificate.text.redeemFailDescription);return(0,o.jsxs)("div",{className:"flex flex-col items-center px-14 pb-11 max-w-[410px] pt-[24px]",children:[(0,o.jsx)("button",{"data-testid":"redeem-failure-dialog-close-button",className:"absolute top-4.5 right-4.5 cursor-pointer",onClick:t,children:(0,o.jsx)(w.Z,{name:"icon-xmark",className:"w-4 h-4"})}),(0,o.jsxs)("div",{className:"text-center pt-[36px]",children:[(0,o.jsx)("h3",{className:"syzp-font-a font-500 text-[20px] leading-[25px] pb-[36px]",children:r(g.GHn.certificate.text.redeemFailTitle)}),(0,o.jsx)("p",{className:"syzp-font-a font-400 text-[15px] leading-[18px] pb-[36px]",children:a}),(0,o.jsx)("button",{"data-testid":"redeem-failure-dialog-ok-button",type:"submit",className:"text-white bg-syc-purple-600 rounded-full h-[40px] px-[24px]",onClick:t,children:r(g.GHn.smart.text.ok)})]})]})}var Z=n(25675),N=n.n(Z),k=n(19975);function _(e){var t=e.onCancel,n=e.type,i=(0,s.Z)((0,y.Z)(),3),r=(i[1],i[2]);return(0,o.jsxs)("div",{className:"flex flex-col items-center px-14 pb-11 max-w-[410px] pt-[24px]",children:[(0,o.jsx)("button",{"data-testid":"redeem-success-dialog-close-button",className:"absolute top-4.5 right-4.5 cursor-pointer",onClick:t,children:(0,o.jsx)(w.Z,{name:"icon-xmark",className:"w-4 h-4"})}),(0,o.jsxs)("div",{className:"text-center pt-[36px]",children:[(0,o.jsx)(N(),{loader:k.Z,className:"",src:"/img/icons/ok.png",width:66,height:66,alt:""}),(0,o.jsx)("h3",{className:"syzp-font-a font-500 text-[20px] leading-[25px] pt-[24px] pb-[16px]",children:r("true"===n?g.GHn.smart.text.welcomeMessage:g.GHn.streamingCode.text.activateSuccessfully)}),(0,o.jsx)("p",{className:(0,l.Z)("syzp-font-a font-400 text-[15px] leading-[18px] pb-[16px]","true"!==n?"hidden":""),children:r(g.GHn.smart.text.subscriptionMessage)}),(0,o.jsx)("p",{className:"syzp-font-a font-400 text-[15px] leading-[18px] pb-[26px]",children:r(g.GHn.smart.text.subscriptionInfo)}),(0,o.jsx)("button",{"data-testid":"redeem-success-dialog-start-watching-button",type:"submit",className:"text-white bg-syc-purple-600 rounded-full h-[40px] px-[24px]",onClick:t,children:r(g.GHn.smart.text.startWatching)})]})]})}var H=n(36377),G=n(32123),C=n(58258),I=n(74170),T=n(72977),E=n(23493),z=n.n(E);var S=n(33110),R=n(10260),D=n(43579),F=n(89342),P=n(17163),q=n.n(P),L=n(45793),M=n.n(L),O=n(41125),Y=n.n(O),A=n(19155),V=u()((function(){return Promise.all([n.e(2229),n.e(5228)]).then(n.bind(n,75228))}),{loadableGenerated:{webpack:function(){return[75228]}},ssr:!1}),$=u()((function(){return Promise.all([n.e(377),n.e(9565),n.e(7346),n.e(8208),n.e(2229),n.e(6174),n.e(4737),n.e(9737),n.e(2856)]).then(n.bind(n,66185))}),{loadableGenerated:{webpack:function(){return[66185]}},ssr:!1}),U=u()((function(){return Promise.all([n.e(6174),n.e(953)]).then(n.bind(n,60953))}),{loadableGenerated:{webpack:function(){return[60953]}},ssr:!1}),X=u()((function(){return n.e(4802).then(n.bind(n,74802))}),{loadableGenerated:{webpack:function(){return[74802]}},ssr:!1}),J=u()((function(){return n.e(6032).then(n.bind(n,46032))}),{loadableGenerated:{webpack:function(){return[46032]}},ssr:!1}),W=u()((function(){return Promise.all([n.e(377),n.e(9565),n.e(7346),n.e(8208),n.e(2229),n.e(6174),n.e(4737),n.e(9737),n.e(7898),n.e(9037)]).then(n.bind(n,17308))}),{loadableGenerated:{webpack:function(){return[17308]}},ssr:!1}),B=Y().theme.screens,K={"@context":"https://schema.org","@type":"Organization","@id":"".concat(H.ns.mainDomain,"/#organization"),name:"Shen Yun Creations",alternateName:"Shen Yun Zuo Pin",url:"".concat(H.ns.mainDomain,"/"),logo:{"@type":"ImageObject",url:"".concat(H.ns.mainDomain,"/img/syzp-logo.svg")}},Q=function(e,t){var n=e.type,i=e.id;return n===H.w4&&i===t};var ee=!0;function te(e){var t,n=e.tabItems,c=e.syNewsChannelIds,u=(0,s.Z)((0,y.Z)(),3),d=u[0],b=u[2],g=(0,p.useRouter)(),w=H.Cz,Z=(0,f.useMemo)((function(){var e,t,s,o,l=function(e,t){return[{type:H.w4,id:H.Cz,name:t(H.GH.discover.text.recommended)},{type:H.M8,id:H.IL,name:t(H.GH.discover.text.allVideos),filters:[{sortby:"date",id:"all-latest",useAll:!0,name:t(H.GH.home.filters.latest)},{sortby:"view",id:"all-views",useAll:!0,name:t(H.GH.home.filters.popular)},{sortby:"like",id:"all-liked",useAll:!0,name:t(H.GH.home.filters.mostLiked)},{sortby:"comment",id:"all-comment",useAll:!0,name:t(H.GH.home.filters.mostCommented)}]}].concat((0,a.Z)(e.map((function(e){var n;
1return e.type===H.$T?(0,r.Z)((0,i.Z)({},e),{filters:[{sortby:"date",id:e.id,useAll:!1,name:t(H.GH.home.filters.all)}].concat((0,a.Z)(null!==(n=e.filters)&&void 0!==n?n:[]))}):e}))),[{type:H.M8,id:H.El,name:t(H.GH.discover.text.audienceReviews),newPageUrl:"/audience-reviews"}])}(n,b),c=l.find((function(e){if(e.filters)for(var t in e.filters)if(e.filters[t].id===g.query.cat)return!0;if(e.id===g.query.cat)return!0}))||l[0],u=g.query.sub||g.query.cat;return{tabItems:l,activeTab:c,activeFilter:(null===(e=c.filters)||void 0===e?void 0:e.find((function(e){return e.id===u})))||(null===(t=c.filters)||void 0===t?void 0:t[0]),showFilter:c.type===H.$T?((null===(s=c.filters)||void 0===s?void 0:s.length)||0)>1:null===(o=c.filters)||void 0===o?void 0:o.length}}),[g,n,b]),N=Z.tabItems,k=Z.activeTab,E=Z.activeFilter,P=Z.showFilter,L=(0,x.v9)(D.md),O=(0,x.v9)(D.ar),Y=(0,x.v9)(F.z6),ee=(0,f.useRef)(null),te=(0,s.Z)((0,I.Z)(),1)[0],ne=(0,x.I0)();(0,S.Z)();var ie=(0,s.Z)(function(e,t,n){var i=(0,f.useState)(!1),r=i[0],s=i[1],a=(0,f.useRef)(t),o=(0,T.Z)().width;return(0,f.useEffect)((function(){if(e){var i=e.closest("main"),r=z()((function(){if(o>n)s(!1);else{var e=Math.max(window.scrollY,i.scrollTop,i.scrollTop),r=e>a.current;s(r&&e>t+100),a.current=e}}),100);return i.addEventListener("scroll",r),function(){return i.removeEventListener("scroll",r)}}}),[r,o,e]),[r]}(ee.current,0,null!==(t=(0,G.VD)(B.b1024))&&void 0!==t?t:1024),1),re=ie[0],se=function(e){g.replace({pathname:g.pathname,query:(0,r.Z)((0,i.Z)({},g.query),{cat:e.id})},void 0,{shallow:!0})};(0,f.useEffect)((function(){(0,C.k3)("auto")}),[g.query.cat]),(0,f.useEffect)((function(){if(O&&O.user_id&&Y){"true"===Y||"extended"===Y?((0,R.ek)(ne),setTimeout((function(){!function(e){var t=v.RH.showDialog({component:_,props:{onCancel:function(){return v.RH.closeDialog(t)},type:e}})}(Y)}),10)):((0,R.ek)(ne),setTimeout((function(){!function(e){var t=v.RH.showDialog({component:j,props:{onCancel:function(){return v.RH.closeDialog(t)},message:e}})}(b(H.GH.certificate.text.redeemFailDescription))}),10))}}),[d,b,O,Y]);var ae,oe,le=(0,A.y)({onResized:function(e){return document.body.style.setProperty("--scroll-menu_height","".concat(e.height,"px"))},onUnmounted:function(){return document.body.style.removeProperty("--scroll-menu_height")}}),ce="".concat(k.type,"-").concat(k.id,"-").concat(null!==(ae=null===E||void 0===E?void 0:E.id)&&void 0!==ae?ae:"na","-").concat(d);return(0,C.qu)("Home")("Render",(0,r.Z)((0,i.Z)({dataId:ce},e),{isCSR:te})),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m(),{children:(0,o.jsx)("script",{id:"organization-structured-data",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(K).replace(/</g,"\\u003c")}})}),(0,o.jsxs)("div",{className:(0,l.Z)("page",q().home_content),ref:ee,children:[(0,o.jsx)("div",{ref:le,className:(0,l.Z)(re&&"hide",M()["scrollable-menu-wrapper"],"sub-category"),children:(0,o.jsx)(J,{items:N,activeItem:k,menuHandler:se,className:(0,l.Z)(re&&"hide","sub-category"),type:"home"})}),(0,o.jsx)("div",{className:(0,l.Z)("flow-root flow b1024:hidden",Q(k,w)&&"mt-[75px]",!Q(k,w)&&"mt-[35px] b588:mt-[10px]"),children:te&&Q(k,w)&&(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:(0,l.Z)(L?"grid grid-col-12":"grid grid-col-1 b1024:grid-cols-2 gap-4"),children:[(0,o.jsx)(V,{full_width:L}),!L&&(0,o.jsx)(U,{full_width:!1})]})})}),te&&(0,o.jsxs)("div",{className:(0,l.Z)("block_x","mb-20"),children:[P&&(0,o.jsx)(X,{items:null!==(oe=k.filters)&&void 0!==oe?oe:[],activeItem:E,filterChangeHandler:se,className:(0,l.Z)(re&&"hide","sub-category pt-3 mb-1"),type:"home"}),k.type===H.$T?(0,o.jsx)(W,{dataId:ce,items:k.filters,activeItem:E}):!!k&&(0,o.jsx)($,{dataId:ce,mainTabId:w,tabShowing:k,filterShowing:E,syNewsChannelIds:c}),(0,o.jsx)(h.Z,{})]})]})]})}te.layout=b.Z},17163:function(e){e.exports={home_content:"home_home_content__EtrV3"}},9008:function(e,t,n){e.exports=n(5443)}},function(e){e.O(0,[5675,3806,1033,1891,4231,2175,4262,5231,9774,2888,179],(function(){return t=48312,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.