PageSourceSearch

https://class.cmdspace.kr/static/js/13.a6b3e49e.chunk.js

js cmdspace.kr collected 2026-10-04 20:57:44 UTC 74,688 bytes, 1 lines download raw bytes

1(this["webpackJsonppubl-uw"]=this["webpackJsonppubl-uw"]||[]).push([[13],{2754:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(4);function c(e){var t=Object(i.useRef)();return Object(i.useEffect)((function(){t.current=e}),[e]),t.current}},2755:function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));var i=n(7),c=n(14),o=n(2),s=n(4),r=n(29),a=n(182),l=n(9),d=n(19),u=n(5),p=n(593),b=n(0);var j=function(){var e,t,n=Object(a.a)().t,u=Object(l.d)(Object(d.o)()),j=Object(s.useState)(!1),h=Object(c.a)(j,2),m=h[0],_=h[1],g=Object(r.useForm)({mode:"onChange",defaultValues:{reportReason:n("str_report_reason_opt_a")}}),f=g.setValue,x=g.watch,v=g.reset,y=x("pAppCode"),C=x("targetContentDetail"),T=x("reportReason"),S=x("reportReasonEtc"),I=Object(p.a)(y),k="mailto:".concat(null===u||void 0===u?void 0:u.email,"?body=").concat(n("str_report_reason"),": ").concat(S||T," %0D%0A ").concat(n("str_report_location"),": ").concat(I," %0D%0A ").concat(n("str_report_target_content_detail"),": ").concat(C," %0D%0A ").concat(n("str_report_additional_detail"),": "),D={reasonA:n("str_report_reason_opt_a"),reasonB:n("str_report_reason_opt_b"),reasonC:n("str_report_reason_opt_c"),reasonD:n("str_report_reason_opt_d"),reasonEtc:n("str_report_reason_opt_etc")},E=function(e){f("reportReason",e.target.value),f("reportReasonEtc","")};return{ReportContent:Object(b.jsx)(b.Fragment,{children:m&&Object(b.jsxs)(o.D_DesktopBasicModal,{titleText:n("str_report_content_title_text"),contentText:n("str_3833"),size:"medium",mBtn1Text:n("str_do_report"),mBtn2Text:n("str_close"),onClickMBtn1:function(){_(!1),window.open(k),v()},onClickMBtn2:function(){_(!1),v()},children:[Object(b.jsx)(o.Spacing,{size:"spacing_e"}),Object(b.jsx)(o.D_TextLabel,{text:n("str_report_target_content_detail"),styleTheme:"subTitleBold"}),Object(b.jsx)(o.D_TextLabel,{text:(e=C,t=20,e.length<=t?e:"".concat(e.slice(0,20),"...")),styleTheme:"body2Regular",ellipsisMode:"use"}),Object(b.jsx)(o.Spacing,{size:"spacing_f"}),Object(b.jsx)(o.D_TextLabel,{text:n("str_report_reason"),styleTheme:"subTitleBold"}),Object(b.jsx)(r.FormProvider,Object(i.a)(Object(i.a)({},g),{},{children:Object(b.jsxs)(o.Form,{children:[Object(b.jsx)(o.Spacing,{size:"spacing_d"}),Object(b.jsx)(o.D_Radio,{name:"reportReason",text:D.reasonA,checked:T===D.reasonA,onChange:function(e){return E(e)},value:D.reasonA}),Object(b.jsx)(o.Spacing,{size:"spacing_c"}),Object(b.jsx)(o.D_Radio,{name:"reportReason",text:D.reasonB,checked:T===D.reasonB,onChange:function(e){return E(e)},value:D.reasonB}),Object(b.jsx)(o.Spacing,{size:"spacing_c"}),Object(b.jsx)(o.D_Radio,{name:"reportReason",text:D.reasonC,checked:T===D.reasonC,onChange:function(e){return E(e)},value:D.reasonC}),Object(b.jsx)(o.Spacing,{size:"spacing_c"}),Object(b.jsx)(o.D_Radio,{name:"reportReason",text:D.reasonD,checked:T===D.reasonD,onChange:function(e){return E(e)},value:D.reasonD}),Object(b.jsx)(o.Spacing,{size:"spacing_c"}),Object(b.jsx)(o.D_Radio,{name:"reportReason",text:D.reasonEtc,checked:T===D.reasonEtc,onChange:function(e){return E(e)},value:D.reasonEtc}),Object(b.jsx)(o.Spacing,{size:"spacing_b"}),Object(b.jsxs)(O,{children:[Object(b.jsx)(o.Spacing,{size:"spacing_e",spacingType:"width"}),Object(b.jsx)(o.D_TextField,{name:"reportReasonEtc",size:"rlarge",hintText:n("str_3834"),defaultText:S,textLineType:"multi",multiRows:4,state:T===D.reasonEtc?"normal":"disabled",onChange:function(e){return function(e){f("reportReasonEtc",e.target.value)}(e)}})]})]})}))]})}),openReportContentModal:function(e,t){f("targetContentDetail",e),f("pAppCode",t),_(!0)},closeReportContentModal:function(){_(!1),v()}}},O=u.default.div.withConfig({displayName:"S_TextFiledWrapper",componentId:"sc-1b5b0x6-0"})(["display:flex;"])},2756:function(e,t,n){"use strict";var i=n(14),c=n(4),o=n(182),s=n(9),r=n(235),a=n(236),l=n(2754),d=n(2757);t.a=function(e){var t=e.isLoading,n=e.comments,u=e.totalCommentsCount,p=e.deps,b=void 0===p?[]:p,j=e.fetchCommentsByPage,O=e.handleDeleteComment,h=e.handleCreateComment,m=e.handleCreateCommentWithImage,_=Object(s.c)(),g=Object(o.a)("translation").t,f=Object(c.useState)(1),x=Object(i.a)(f,2),v=x[0],y=x[1],C=Object(c.useState)(!1),T=Object(i.a)(C,2),S=T[0],I=T[1],k=Object(c.useState)(null),D=Object(i.a)(k,2),E=D[0],w=D[1],L=Object(c.useState)(null),N=Object(i.a)(L,2),R=N[0],B=N[1],P=Object(c.useState)(""),M=Object(i.a)(P,2),A=M[0],z=M[1],U=Object(l.a)(null===n||void 0===n?void 0:n.length),F=Object(l.a)(u),W=Object(c.useRef)();Object(c.useEffect)((function(){return j(1),function(){y(1)}}),b);var H=Object(c.useCallback)((function(e){t||(W.current&&W.current.disconnect(),W.current=ne
1w IntersectionObserver((function(e){n&&(null===n||void 0===n?void 0:n.length)>=u||(U===(null===n||void 0===n?void 0:n.length)&&F===u||e[0].isIntersecting&&(j(v+1),y((function(e){return e+1}))))})),e&&W.current.observe(e))}),[t,n]),V=Object(d.a)(),K=V.CommentAlertDialog,G=V.setCommentAlertDialogMessage,q=V.setIsCommentAlertDialogOpen;function J(e){var t=e.slice(-5);return"***".concat(t)}return{isDeleteCommentModalOpen:S,lastCommentRef:H,handleClickSubmitComment:function(e){h(e)},handleClickSubmitCommentWithImage:function(e){var t=e.content,n=e.selectedImage;m&&m({content:t,selectedImage:n})},openDeleteCommentModal:function(e){w(e),I(!0)},handleCloseDeleteCommentModal:function(){w(null),I(!1)},handleClickDeleteComment:function(){null!==E&&O(E),I(!1)},initPage:function(){y(1)},CommentAlertDialog:K,openCommentAlertDialog:function(e,t,n,i){var c,o="";switch(t){case"DELETE":o=g("str_delete_alert_dialog");break;case"HIDE_COMMENT":o=g("str_6500");break;case"UNHIDE_COMMENT":o=g("str_6501");break;case"BLOCK_USER":o=g("str_6505");break;case"UNBLOCK_USER":o=g("str_6507",{code:J(i),nick:(c=n||"",c.charAt(0)+"*".repeat(c.length-1))})}w(e),B(t),z(i),G(o),q(!0)},handleClickConfirmCommentAlertDialog:function(){if(null!==E)switch(R){case"DELETE":O(E);break;case"HIDE_COMMENT":_(Object(a.c)({type:"COMMENT",id:E}));break;case"UNHIDE_COMMENT":_(Object(a.d)({type:"COMMENT",id:E}));break;case"BLOCK_USER":_(Object(r.a)({distinctId:A}));break;case"UNBLOCK_USER":_(Object(r.d)({distinctId:A}))}w(null),q(!1)},handleClickCancelCommentAlertDialog:function(){w(null),q(!1)}}}},2757:function(e,t,n){"use strict";var i=n(14),c=n(2),o=n(4),s=n(182),r=n(0);t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(o.useState)(e),a=Object(i.a)(n,2),l=a[0],d=a[1],u=Object(o.useState)(t),p=Object(i.a)(u,2),b=p[0],j=p[1],O=Object(s.a)("translation"),h=O.t;function m(e){var t=e.onClickConfirm,n=e.onClickCancel;return Object(r.jsx)(r.Fragment,{children:l&&Object(r.jsx)(c.D_DesktopAlertDialog,{contentText:b,btnMode:"tbtn_amount2",tBtn1Text:h("str_ok"),tBtn2Text:h("str_cancel"),onClickTBtn1:null!==t&&void 0!==t?t:function(){return d(!1)},onClickTBtn2:null!==n&&void 0!==n?n:function(){return d(!1)}})})}return{CommentAlertDialog:m,setCommentAlertDialogMessage:j,setIsCommentAlertDialogOpen:d}}},2758:function(e,t,n){"use strict";var i=n(2756);n.d(t,"a",(function(){return i.a}))},2759:function(e,t,n){"use strict";var i=n(14),c=n(4);t.a=function(e,t,n){var o=Object(c.useState)((function(){if("undefined"===typeof window)return t;try{var n=window.localStorage.getItem(e);if(!n)return t;var i=JSON.parse(n);if("value"in i&&1===Object.keys(i).length)return i.value;if("value"in i&&"expiredAt"in i&&2===Object.keys(i).length){var c=i.value,o=i.expiredAt;return o&&o<(new Date).getTime()?(window.localStorage.removeItem(e),t):c}return i}catch(s){return t}})),s=Object(i.a)(o,2),r=s[0],a=s[1];return[r,function(t){try{var i=t instanceof Function?t(r):t;a(i),"undefined"!==typeof window&&window.localStorage.setItem(e,JSON.stringify({value:i,expiredAt:n?(new Date).getTime()+n:void 0}))}catch(c){}}]}},2832:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return fn}));var i=n(2),c=n(4),o=n(9),s=n(16),r=n(39),a=n(47),l=n(19),d=n(310),u=n(147),p=n(36),b=n(37),j=n(13),O=n(14),h=n(27),m=n(182),_=n(10),g="PLAYLISTS",f="CONTENT",x="REACTION",v="UX_VODS_OVERRIDE_POSTS_NAME_WITH_I18N_SUPPORT",y="UX_VODS_OVERRIDE_SERIES_NAME_WITH_I18N_SUPPORT",C="UX_VODS_HIDE_POSTS_TAB",T="UX_VODS_HIDE_SERIES_TAB",S="UX_VODS_USE_TAB_ORDERS",I="POSTS",k="SERIES",D="".concat(j.k,"/posts"),E="".concat(j.k,"/posts/:postId"),w="".concat(j.k,"/playlists"),L="".concat(j.k,"/playlists/:playlistId"),N="".concat(j.k,"/playlists/:playlistId/posts/:postId");var R=n(403),B=n(592),P=n(15),M=n(35),A=n(66),z=n(2755),U=n(2754);var F=function(e){var t=e.posts,n=e.isLoading,i=e.totalPostsCount,s=e.currentPage,r=e.fetchPostsByPage,a=e.deletePost,d=e.moveToPostDetail,u=e.moveToEditPost,p=e.storeCurrentScrollPosition,b=Object(c.useState)(!1),j=Object(O.a)(b,2),h=j[0],m=j[1],_=Object(c.useState)(null),g=Object(O.a)(_,2),f=g[0],x=g[1],v=Object(z.a)(),y=v.ReportContent,C=v.openReportContentModal;
1return{isDeleteCommentModalOpen:h,lastPostRef:function(e){var t=e.isLoading,n=e.posts,i=e.totalPostsCount,s=e.initialPage,r=e.fetchNextPage,a=Object(c.useMemo)(l.n,[]),d=Object(o.d)(a),u=Object(c.useRef)(s),p=Object(c.useRef)(),b=Object(U.a)(n.length);Object(c.useEffect)((function(){b!==n.length&&0===n.length&&d&&r(1,d.id)}),[n]);var j=Object(c.useCallback)((function(e){t||0===n.length||0===i||(p.current&&p.current.disconnect(),p.current=new IntersectionObserver((function(e){n.length>=i||e[0].isIntersecting&&(u.current+=1,d&&r(u.current,d.id))})),e&&p.current.observe(e))}),[t,i,n]);return Object(c.useEffect)((function(){u.current=s}),[s]),Object(c.useEffect)((function(){return function(){u.current=1}}),[]),{lastCommentRef:j}}({isLoading:n,posts:t,initialPage:s,totalPostsCount:i,fetchNextPage:r}).lastCommentRef,handleClickMenuButton:function(e,t,n){e!==P.bb.EDIT?(e===P.bb.DELETE&&(m(!0),x(t)),e===P.bb.REPORT&&n&&C(n,P.Y.C00001.CODE)):u&&u(t)},handleCloseDeleteModal:function(){m(!1),x(null)},handleDeletePost:function(){null!==f?(a&&a(f),m(!1)):m(!1)},handleClickPostContent:function(e){p&&p(),d(e)},openDeletePostModal:function(e){x(e),m(!0)},ReportContent:y}},W=n(2759);function H(e){var t=e.queryName,n=Object(W.a)(t,0),i=Object(O.a)(n,2),o=i[0],s=i[1],r=Object(c.useState)(null),a=Object(O.a)(r,2),l=a[0],d=a[1],u=Object(c.useRef)(null);return Object(c.useEffect)((function(){setTimeout((function(){o&&u.current&&(u.current.scrollTo(0,o),s(0))}),0)}),[o]),Object(c.useEffect)((function(){null!==l&&u.current&&u.current.scrollTo(0,l.scrollY)}),[l]),{layoutRef:u,storeCurrentScrollPosition:function(){u.current&&s(u.current.scrollTop)},moveScrollTo:function(e){d({scrollY:e})},resetScrollPosition:function(e){s(e||0)}}}var V=function(e){var t=e.serieses,n=e.isLoading,i=e.totalSeriesesCount,s=e.currentPage,r=e.fetchSeriesesByPage,a=e.deleteSeries,d=e.moveToSeriesDetail,u=e.moveToEditSeries,p=e.storeCurrentScrollPosition,b=Object(c.useState)(!1),j=Object(O.a)(b,2),h=j[0],m=j[1],_=Object(c.useState)(null),g=Object(O.a)(_,2),f=g[0],x=g[1],v=Object(z.a)(),y=v.ReportContent,C=v.openReportContentModal;return{isDeleteCommentModalOpen:h,lastSeriesRef:function(e){var t=e.isLoading,n=e.serieses,i=e.totalSeriesesCount,s=e.initialPage,r=e.fetchNextPage,a=Object(c.useMemo)(l.n,[]),d=Object(o.d)(a),u=Object(c.useRef)(s),p=Object(c.useRef)(),b=Object(U.a)(n.length);Object(c.useEffect)((function(){b!==n.length&&0===n.length&&d&&r(1,d.id)}),[n]);var j=Object(c.useCallback)((function(e){t||0===n.length||0===i||(p.current&&p.current.disconnect(),p.current=new IntersectionObserver((function(e){n.length>=i||e[0].isIntersecting&&(u.current+=1,d&&r(u.current,d.id))})),e&&p.current.observe(e))}),[t,i,n]);return Object(c.useEffect)((function(){u.current=s}),[s]),Object(c.useEffect)((function(){return function(){u.current=1}}),[]),{lastCommentRef:j}}({isLoading:n,serieses:t,initialPage:s,totalSeriesesCount:i,fetchNextPage:r}).lastCommentRef,handleClickMenuButton:function(e,t,n){e!==P.bb.EDIT?(e===P.bb.DELETE&&(m(!0),x(t)),e===P.bb.REPORT&&n&&C(n,P.Y.C00001.CODE)):u&&u(t)},handleCloseDeleteModal:function(){m(!1),x(null)},handleDeleteSeries:function(){null!==f?(a&&a(f),m(!1)):m(!1)},handleClickSeriesContent:function(e){p&&p(),d(e)},openDeleteSeriesModal:function(e){x(e),m(!0)},ReportContent:y}},K=n(399),G=function(e){return e.C00001.isLoading},q=function(e){return e.C00001.error},J=function(e){return e.C00001.posts},Y=function(e){return e.C00001.postPagination},Q=function(e){return e.C00001.post},X=function(e){return e.C00001.serieses},Z=function(e){return e.C00001.seriesesPagination},$=function(e){return e.C00001.series},ee=function(e){return e.C00001.episodes},te=function(e){var t,n;return null!==(t=e.C00001.post)&&void 0!==t&&null!==(n=t.vodResource)&&void 0!==n&&n.playlistSrc&&e.C00001.token?"".concat(e.C00001.post.vodResource.playlistSrc,"?token=").concat(e.C00001.token):""},ne=function(e){return e.C00001.videoQualities},ie=function(e){return e.C00001.comments},ce=function(e){return e.C00001.pinnedComments},oe=function(e){return e.C00001.totalCommentsCount},se=function(e){var t=e.installedPApp.installedPAppHome,n=t.config,i=t.
1installedPAppResources,c=i.find((function(e){return"C00001_GENERAL_HERO"===e.uniqueKey})),o=i.find((function(e){return"C00001_IMAGE_LINK_001"===e.uniqueKey})),s=i.find((function(e){return"C00001_IMAGE_LINK_002"===e.uniqueKey}));return{resources:{hero:{use:!!n&&n.USE_RESOURCE_C00001_UW_TOP_1_UNIQUE_COVER_IMAGE_HERO_001,src:c?c.resourceSrc:"",title:c?c.title:"",description:c?c.description:""},banner1:{use:!!n&&n.USE_RESOURCE_C00001_UW_LEFT_SIDE_BAR_1_STACK_VERTICAL_IMAGE_BANNER_001,src:o?o.resourceSrc:"",linkSrc:o?o.conversionLinkSrc:""},banner2:{use:!!n&&n.USE_RESOURCE_C00001_UW_RIGHT_SIDE_BAR_1_STACK_VERTICAL_IMAGE_BANNER_002,src:s?s.resourceSrc:"",linkSrc:s?s.conversionLinkSrc:""}}}},re=(n(626),n(629),{dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{seriesTitle}}",description:"{{seriesDescription}}",thumbnailSrc:"{seriesCoverImageSrc}"},keyMappingDefinition:{title:"title",description:"description",thumbnailSrc:"thumbnailSrc"}});var ae=function(){var e=Object(m.a)("translation").t,t=Object(o.d)($),n=t?{title:e("str_seo_c00001_playlist_detail_title",{seriesTitle:t.title,interpolation:{escapeValue:!1}}),description:t.description&&e("str_seo_c00001_playlist_detail_desc",{seriesDescription:Object(_.j)(t.description,150)}),thumbnailSrc:t.coverImageSrc}:null;Object(K.c)({manifest:re,isActivated:!0,data:n,options:{useChannelTitlePrefix:!0}})},le={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \ub2e4\uc591\ud55c VOD\ub97c \uc2dc\uccad\ud558\uc138\uc694."},keyMappingDefinition:{title:"title",description:"description"}};var de=function(){var e=Object(m.a)("translation").t,t=Object(o.d)(l.c),n=t?{title:e("str_seo_c00001_playlists_title",{menuName:t.pAppCodeMenuItemNameSet[P.Y.C00001.CODE],interpolation:{escapeValue:!1}}),description:e("str_seo_c00001_playlists_desc",{channelName:t.title,interpolation:{escapeValue:!1}})}:null;Object(K.c)({manifest:le,isActivated:!0,data:n,options:{useChannelTitlePrefix:!0}})},ue={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{postTitle}}",description:"{{postContents}}",thumbnailSrc:"{postThumbnailSrc}"},keyMappingDefinition:{title:"title",description:"description",thumbnailSrc:"thumbnailSrc"}};var pe=function(){var e,t=Object(m.a)("translation").t,n=Object(o.d)(Q),i=n?{title:t("str_seo_c00001_vod_post_detail_title",{postTitle:n.title,interpolation:{escapeValue:!1}}),description:n.content&&t("str_seo_c00001_vod_post_detail_desc",{postContents:Object(_.j)(n.content,150)}),thumbnailSrc:null===(e=n.vodResource)||void 0===e?void 0:e.thumbnailSrc}:null;Object(K.c)({manifest:ue,isActivated:!0,data:i,options:{useChannelTitlePrefix:!0}})},be={dataObjectType:"CUSTOM_DATA",dataObjectResourceName:"CustomSEOResource",customSEOResourceSchema:{title:"{{menuName}}",description:"{{channelName}}\uc758 \ub2e4\uc591\ud55c VOD\ub97c \uc2dc\uccad\ud558\uc138\uc694."},keyMappingDefinition:{title:"title",description:"description"}};var je=function(){var e=Object(m.a)("translation").t,t=Object(o.d)(l.c),n=t?{title:e("str_seo_c00001_vod_posts_title",{menuName:t.pAppCodeMenuItemNameSet[P.Y.C00001.CODE],interpolation:{escapeValue:!1}}),description:e("str_seo_c00001_vod_posts_desc",{channelName:t.title,interpolation:{escapeValue:!1}})}:null;Object(K.c)({manifest:be,isActivated:!0,data:n,options:{useChannelTitlePrefix:!0}})},Oe=n(5),he=n(0);var me=Oe.default.div.withConfig({displayName:"S_Banner",componentId:"sc-1kdltc7-0"})(["",""],(function(e){return e.hasLink&&"cursor:pointer"})),_e=function(e){var t=e.isShow,n=e.linkSrc,c=e.thumbnailSrc;function o(e){e&&function(e){var t;try{t=new URL(e)}catch(n){return!1}return"http:"===t.protocol||"https:"===t.protocol}(e)&&window.open(e,"","noopener")}return Object(he.jsx)(he.Fragment,{children:t&&Object(he.jsx)(me,{hasLink:!!n,onClick:function(){o(n)},children:Object(he.jsx)(i.ImageView,{src:c,shapeType:"rectangle",width:"responsive",ratio:"auto",noImageHeight:240,scaleType:"cover"})})})};var ge=function(){var e=Object(o.d)(se).resources;return Object(he.jsx)(_e,{isShow:!(null===e||void 0===e||!e.banner1.use),linkSrc:null===e||void 0===e?void 0:e.banner1.linkSrc,thumbnailSrc:null===e||void 0===e?void 0:e.banner1.src})};var fe=function(){var e=Object(o.d)(se).resources;return Object(he.jsx)(_e,{isShow:!(null===e||void 0===e||!e.banner2.use),linkSrc:null===e||void 0===e?void 0:e.banner2.linkSrc,thumbnailSrc:null===e||void 0===e?void 0:e.banner2.src})};var xe=Oe.default.div.withConfig({displayName:"S_PostsBox",componentId:"sc-w9nhkl-0"})(["display:flex;width:100%;"]),ve=Oe.default.div.withConfig({displayName:"S_SideBar",componentId:"sc-w9nhkl-1"}
1)(["height:calc( 100vh - ("," + ",") );min-width:264px;overflow-y:scroll;position:sticky;top:",";width:264px;"],(function(e){return e.theme.spacing.spacingH}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),ye=Oe.default.div.withConfig({displayName:"S_Center",componentId:"sc-w9nhkl-2"})(["min-width:528px;width:100%;"]),Ce=function(e){var t=e.left,n=e.center,c=e.right;return Object(he.jsxs)(xe,{children:[Object(he.jsx)(ve,{children:t}),Object(he.jsx)(i.Spacing,{size:"spacing_g",spacingType:"width"}),Object(he.jsx)(ye,{children:n}),Object(he.jsx)(i.Spacing,{size:"spacing_g",spacingType:"width"}),Object(he.jsx)(ve,{children:c})]})};var Te=Oe.default.div.withConfig({displayName:"S_Hero",componentId:"sc-n42x7v-0"})(["display:flex;justify-content:center;position:relative;width:100%;",""],(function(e){return e.hasText&&Object(Oe.css)(["&::before{background-color:",";content:'';display:block;height:100%;position:absolute;top:0;width:100%;}"],(function(e){var t=e.theme;return"".concat(t.ui_dimmed_01)}))})),Se=Oe.default.div.withConfig({displayName:"S_Text",componentId:"sc-n42x7v-1"})(["bottom:0;max-width:1352px;min-width:1152px;padding-left:",";padding-right:",";position:absolute;width:100%;"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),Ie=function(e){var t=e.src,n=e.title,c=e.description;return Object(he.jsxs)(Te,{hasText:!(!n&&!c),children:[Object(he.jsx)(i.ImageView,{src:t,shapeType:"rectangle",width:"responsive",height:480,noImageHeight:480,scaleType:"cover"}),Object(he.jsxs)(Se,{children:[Object(he.jsx)(i.D_TextLabel,{text:n,styleTheme:"displayBold",colorOverride:"ui_hero_title_text"}),Object(he.jsx)(i.Spacing,{size:"spacing_b"}),Object(he.jsx)(i.D_TextLabel,{text:c,styleTheme:"subTitleRegular",colorOverride:"ui_hero_description_text"}),Object(he.jsx)(i.Spacing,{size:"spacing_h"})]})]})};var ke=function(){var e=Object(o.d)(se).resources;return Object(he.jsx)(he.Fragment,{children:(null===e||void 0===e?void 0:e.hero.use)&&Object(he.jsx)(Ie,{src:null===e||void 0===e?void 0:e.hero.src,title:null===e||void 0===e?void 0:e.hero.title,description:null===e||void 0===e?void 0:e.hero.description})})};var De=function(e){var t=e.error,n=e.pageFrom,c=Object(m.a)("translation").t,r=Object(o.c)(),a=Object(s.k)(),l=Object(s.n)(j.k).url,d=t.type,u=t.code,p=t.status;function O(){switch(r(Object(A.s)()),n){case"playlists":a.push(l);break;case"posts":if(t.type==="".concat(A.i.type,"_FAILED")){a.goBack();break}if(t.type==="".concat(A.l.type,"_FAILED")){a.push(l);break}a.push(l)}}switch(d){case"".concat(A.k.type,"_FAILED"):case"".concat(A.l.type,"_FAILED"):return 404===p?Object(he.jsx)(i.D_DesktopAlertDialog,{contentText:c("str_err_972",{errCode:u}),btnMode:"tbtn_amount1",tBtn1Text:c("str_confirm"),onClickTBtn1:O}):403===p?Object(he.jsx)(i.D_DesktopAlertDialog,{contentText:c("str_err_973",{errCode:u}),btnMode:"tbtn_amount1",tBtn1Text:c("str_confirm"),onClickTBtn1:O}):Object(he.jsx)(b.n,{statusCode:p,errorCode:u,onClickConfirmButton:O});case"".concat(A.i.type,"_FAILED"):return 404===p?Object(he.jsx)(i.D_DesktopAlertDialog,{contentText:c("str_err_974",{errCode:u}),btnMode:"tbtn_amount1",tBtn1Text:c("str_confirm"),onClickTBtn1:O}):403===p?Object(he.jsx)(i.D_DesktopAlertDialog,{contentText:c("str_err_985",{errCode:u}),btnMode:"tbtn_amount1",tBtn1Text:c("str_confirm"),onClickTBtn1:O}):Object(he.jsx)(b.n,{statusCode:p,errorCode:u,onClickConfirmButton:O});case"".concat(A.d.type,"_FAILED"):return 404===p?Object(he.jsx)(i.D_DesktopAlertDialog,{contentText:c("str_err_2153"),btnMode:"tbtn_amount1",tBtn1Text:c("str_confirm"),onClickTBtn1:function(){r(Object(A.r)())}}):Object(he.jsx)(b.n,{statusCode:p,errorCode:u,onClickConfirmButton:O});case"".concat(A.b,"_FAILED"):return 404===p?Object(he.jsx)(i.D_DesktopAlertDialog,{contentText:c("str_err_2451",{errCode:u}),btnMode:"tbtn_amount1",tBtn1Text:c("str_confirm"),onClickTBtn1:O}):Object(he.jsx)(b.n,{statusCode:p,errorCode:u,onClickConfirmButton:O});default:return Object(he.jsx)(b.n,{statusCode:p,errorCode:u,onClickConfirmButton:O})}},Ee=n(79),we=n.n(Ee);var Le=Oe.default.div.withConfig({displayName:"S_ContentBox",componentId:"sc-1q8bxyx-0"})(["left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"]),Ne=Oe.default.div.withConfig({displayName:"S_IconWrapper",componentId:"sc-1q8bxyx-1"})(["align-items:center;display:flex;flex-direction:column;height:","px;justify-content:center;"],(function(e){return e.size})),Re=function(e){var t=e.iconSize,n=void 0===t?32:t,c=e.radius,o=e.shapeType,s=void 0===o?"round":o;return Object(he.jsx)(i.D_AnnotationSheet,{height:"auto",width:"100%",paddingBottom:"none",paddingLeft:"none",paddingRight:"none",paddingTop:"none",shapeType:s,radius:c,overrideCSS:{position:"relative",top:0,aspectRatio:"16 / 9",cursor:"pointer"},children:Object(he.jsx)(Le,{children:Object(he.jsx)(Ne,{size:n,children:Object(he.jsx)(i.Icon,{iconName:"ic_unavailable",size:n,colorKey:"ui_cpnt_icon_sys_grey_03",fillType:"fill"})})})})};var Be=Oe.default.div.withConfig({displayName:"S_ThumbnailBox",componentId:"sc-b1a7in-0"})(["position:relative;width:100%;"]),Pe=Oe.default.div.withConfig({displayName:"S_ChipWrapper",componentId:"sc-b1a7in-1"})(["bottom:8px;position:absolute;right:8px;"]),Me=Oe.default.div.withConfig({displayName:"S_DimmedBackgroun
1d",componentId:"sc-b1a7in-2"})(["align-items:center;background-color:",";border:1px solid ",";border-radius:16px;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;"],(function(e){return e.theme.ui_cpnt_imageview_dimmed}),(function(e){return e.theme.ui_profile_image_border})),Ae=function(e){var t=e.thumbnailSrc,n=e.title,c=e.runningTime,o=e.isCAP,s=e.hasUserPurchased,r=e.isUserLegallyIneligible,a=e.isPublished,l=void 0===a||a,d=e.onClick,u=Object(m.a)("translation").t;if(!l)return Object(he.jsxs)(i.D_ContentSheet,{width:"auto",height:"auto",paddingBottom:"none",paddingLeft:"none",paddingRight:"none",paddingTop:"none",backgroundColorTheme:"transparent",onClick:d,children:[Object(he.jsx)(Re,{radius:16,iconSize:48}),Object(he.jsx)(i.Spacing,{size:"spacing_c"}),Object(he.jsx)(i.D_TextLabel,{text:u("str_key_user_scene_vods_private_episode_title"),styleTheme:"leadParaBold",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:2})]});if(r)return Object(he.jsxs)(i.D_ContentSheet,{width:"auto",height:"auto",paddingBottom:"none",paddingLeft:"none",paddingRight:"none",paddingTop:"none",backgroundColorTheme:"transparent",onClick:d,children:[Object(he.jsx)(Re,{radius:16,iconSize:48}),Object(he.jsx)(i.Spacing,{size:"spacing_c"}),Object(he.jsx)(i.D_TextLabel,{text:u("str_key_user_scene_c00001_ageestriction_title"),styleTheme:"leadParaBold",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:2})]});var p=we.a.duration(1e3*c).format(c>3600?"HH:mm:ss":"mm:ss");return o?Object(he.jsxs)(i.D_ContentSheet,{width:"auto",height:"auto",paddingBottom:"none",paddingLeft:"none",paddingRight:"none",paddingTop:"none",backgroundColorTheme:"transparent",onClick:d,children:[Object(he.jsxs)(Be,{children:[Object(he.jsx)(i.ImageView,{ratio:"16_9",src:t,backgroundFillMode:"use",borderMode:"use",width:352,scaleType:"cover",radius:16}),s?Object(he.jsx)(Pe,{children:Object(he.jsx)(i.D_Chip,{displayType:"time",text:p})}):Object(he.jsx)(Me,{children:Object(he.jsx)(i.Icon,{iconName:"ic_lock",size:48,colorKey:"ui_cpnt_icon_sys_white"})})]}),Object(he.jsx)(i.Spacing,{size:"spacing_c"}),Object(he.jsx)(i.D_TextLabel,{text:n,styleTheme:"leadParaBold",colorTheme:"sysTextPrimary",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),Object(he.jsx)(i.Spacing,{size:"spacing_a"}),Object(he.jsx)(i.D_Chip,{displayType:"information",text:u("str_individual_purchase")})]}):Object(he.jsxs)(i.D_ContentSheet,{width:"auto",height:"auto",paddingBottom:"none",paddingLeft:"none",paddingRight:"none",paddingTop:"none",backgroundColorTheme:"transparent",onClick:d,children:[Object(he.jsxs)(Be,{children:[Object(he.jsx)(i.ImageView,{ratio:"16_9",src:t,backgroundFillMode:"use",borderMode:"use",width:352,scaleType:"cover",radius:16}),Object(he.jsx)(Pe,{children:Object(he.jsx)(i.D_Chip,{displayType:"time",text:p})})]}),Object(he.jsx)(i.Spacing,{size:"spacing_c"}),Object(he.jsx)(i.D_TextLabel,{text:n,styleTheme:"leadParaBold",colorTheme:"sysTextPrimary",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"})]})};var ze=function(e){var t=e.tabs,n=Object(s.n)(j.k);return null!==n&&void 0!==n&&n.url?Object(he.jsx)(i.D_UserDesktopSideTab,{itemArray:t}):Object(he.jsx)(he.Fragment,{})},Ue=n(115);var Fe=Oe.default.div.withConfig({displayName:"S_EmptyTextWrapper",componentId:"sc-xn9taz-0"})(["padding-top:",";"],(function(e){return e.theme.spacing.spacingJ})),We=function(e){var t=e.storeScrollPosition,n=Object(m.a)("translation").t,r=Object(o.c)(),a=Object(s.k)(),d=Object(s.m)().channelCode,u=Object(o.d)(G),p=Object(o.d)(J),b=Object(o.d)(Y),j=Object(Ue.e)().userEntrywayForUse,O=function(e){var t=e.isLoading,n=e.list,i=e.totalCount,s=e.initialPage,r=e.fetchNextPage,a=Object(c.useMemo)(l.n,[]),d=Object(o.d)(a),u=Object(c.useRef)(s),p=Object(c.useRef)(),b=Object(U.a)(n.length);Object(c.useEffect)((function(){b!==n.length&&0===n.length&&d&&r(1)}),[n]);var j=Object(c.useCallback)((function(e){t||0===n.length||0===i||(p.current&&p.current.disconnect(),p.current=new IntersectionObserver((function(e){n.length>=i||e[0].isIntersecting&&(u.current+=1,r(u.current))})),e&&p.current.observe(e))}),[t,i,n]);return Object(c.useEffect)((function(){u.current=s}),[s]),Object(c.useEffect)((function(){return function(){u.current=1}}),[]),{lastElementRef:j}}({isLoading:u,list:p,totalCount:b.total,initialPage:b.page,fetchNextPage:function(e){r(Object(A.j)({limit:P.Ib,page:e}))}}).lastElementRef;return Object(he.jsx)(he.Fragment,{children:0===p.length?Object(he.jsx)(Fe,{children:Object(he.jsx)(i.D_TextLabel,{text:n("str_374"),styleTheme:"body2Regular",colorTheme:"sysTextTertiary",textAlign:"center"})}):Object(he.jsx)(i.D_BasicList,{columns:2,columnSpacing:24,rowSpacing:48,children:p.map((function(e,n){var i,c,o;return Object(he.jsx)("div",{ref:n===p.length-1?O:null,children:Object(he.jsx)(Ae,{thumbnailSrc:(null===(i=e.vodResource)||void 0===i?void 0:i.thumbnailSrc)||"",runningTime:(null===(c=e.vodResource)||void 0===c?void 0:c.duration)||0,title:e.title,isCAP:null!==e.protectionSeal.contentLock,hasUserPurchased:!(null===(o=e.protectionSeal.contentLock)||void 0===o||!o.isUnlocked),isUserLegallyIneligible:!!e.isUserLegallyIneligible,onClick:j((function(){return n=e.id,t(),void a.push(Object(_.l)(E,{channelCode:d,postId:n}));var n}),"GUEST_OPEN_WHEN_PUBLIC_OPEN")})},e.id)}))})})};var He=function(e){var t=e.tabs;Object(M.a)("C00001VodPosts"),je();var n=Object(m.a)("translation").t,r=Object(o.c)(),a=Object(o.d)(u.f),l=Object(s.m)().channelCode,d=Object(s.k)().location.pathname,p=Object(c.useRef)(null),b=H({queryName:"scroll"}),j=b.layoutRef,O=b.storeCurrentScrollPosition,h=b.moveScrollTo,g=(null===a||void 0===a?void 0:a[v])||n("str_papp_vod_video");return Object(c.useLayoutEffect)((function(){if(d===Object(_.l)(D,{channelCode:l})){r(Object(A.j)({limit:P.Ib,page:1}));j.current&&p.current&&j.current.scrollTop>p.current.offsetTop-128&&h(p.current.offsetTop-128)}}),[d]),Object(he.jsx)(i.WTContainersBox,{layoutType:"WTS_1",container1Ref:j,content1:Object(he.jsx)(ke,{}),content2:Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)("div",{ref:p}),Object(he.jsx)(Ce,{left:Object(he.jsxs)(he.Fragment,{children:[t.length>1&&Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(ze,{tabs:t}),Object(he.jsx)(i.Spacing,{size:"spacing_h"})]}),Object(he.jsx)(ge,{}),Object(he.jsx)(i.Spacing,{size:"spacing_i"})]}),center:Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(i.D_TextLabel,{text:g,styleTheme:"displayBold"}),Object(he.jsx)(i.Spacing,{size:"spacing_g"}),Object(he.jsx)(We,{storeScrollPosition:O})]}),right:Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(fe,{}),Object(he.jsx)(i.Spacing,{size:"spacing_i"})]})})]})})},Ve=n(2760);var Ke=Oe.default.div.withConfig({displayName:"S_LockedView",componentId:"sc-mhui9z-0"})(["flex:1;position:relative;"]),Ge=Oe.default.div.withConfig({displayName:"S_RestrictionTextWrapper",componentId:"sc-mhui9z-1"})(["align-items:center;background-color:",";display:flex;flex-direction:column;height:100%;justify-content:center;left:12px;margin:-12px 0 0 -12px;position:absolute;top:12px;width:100%;"],(function(e){return e.theme.ui_cpnt_list_timestatus_base})),qe=Oe.default.div.withConfig({displayName:"S_BackIconWrapper",componentId:"sc-mhui9z-2"})(["align-items:center;cursor:pointer;display:flex;left:0;position:absolute;right:0;top:12px;width:fit-content;z-index:1;"]),Je=function(e){var t=e.thumbnailSrc,n=e.postId,r=e.backUrl,a=Object(m.a)("translation").t,l=Object(s.k)(),d=Object(o.c)(),u=Object(c.useState)(!1),p=Object(O.a)(u,2),b=p[0],j=p[1],h=l.location.pathname+l.location.search,_=Object(Ue.e)().userEntrywayForUse;return Object(he.jsxs)(he.Fragment,{children:[Object(he.jsxs)(Ke,{children:[Object(he.jsxs)(qe,{onClick:function(){l.push(r)},children:[Object(he.jsx)(i.D_IconButton,{iconName:"ic_arrow_left",baseSize:"large",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconColorKey:"ui_cpnt_button_icon_white"}),Object(he.jsx)(i.D_TextLabel,{text:a("str_back"),styleTheme:"body1Regular",colorTheme:"sysTextWhite"})]}),Object(he.jsx)(i.ImageView,{src:t,ratio:"16_9",shapeType:"rectangle",scaleType:"cover",width:"responsive"}),Object(he.jsxs)(Ge,{children:[Object(he.jsx)(i.D_TextLabel,{text:a("str_4991"),styleTheme:"displayBold",colorTheme:"sysTextWhite",textAlign:"center"}),Object(he.jsx)(i.Spacing,{size:"spacing_e"}),Object(he.jsx)(i.D_MainButton,{iconMode:"left",iconName:"ic_lock",text:a("str_3249"),size:"large",onClick:_((function(){j(!0)})),iconFillType:"fill"})]})]}),b&&Object(he.jsx)(Ve.a,{pAppCode:P.Y.C00001.CODE,targetModel:"POST",targetId:n,redirectUrl:h,onClose:function(){d(Object(A.i)({postId:n})),j(!1)},onSuccessNavigate:function(){l.push(h)}})]})},Ye=n(7),Qe=n(594),Xe=n(406),Ze=n(155),$e="init",et="start",tt="beginning",nt="pause",it="restart",ct="end";var ot=function(e){var t,n=e.vid,i=e.seriesId,s=e.episodeId,r=e.postId,a=e.durationTime,l=void 0===a?0:a,d=e.isSampleData,u=Object(o.c)(),p=Object(c.useRef)(!0),b=function(e,t){if(!i||s){var c=document.querySelector("video");if("beginning"!==t||c){var o=function(e){var t,n=Object(Ze.a)(e),i=null===n||void 0===n?void 0:n.qualityLevels(),c=null===(t=i[i.selectedIndex])||void 0===t?void 0:t.id,o=null===c||void 0===c?void 0:c.slice(2,6),s=null!==o&&void 0!==o&&o.includes("/")?null===o||void 0===o?void 0:o.slice(0,3):o;return s?Number(s):void 0}(e);u(Object(A.c)({vid:d?"SAMPLE":n,seriesId:i,episodeId:s,postId:r,rotationTime:10,durationTime:l,quality:o,currentTime:e.currentTime,type:t})),console.info({type:t,postId:r,seriesId:i,episodeId:s,quality:o,currentTime:e.currentTime})}}},j=function(e){var n=e.target;n&&(b(n,p.current?et:it),p.current=!1,t&&clearInterval(t),t=setInterval((function(){return b(n,tt)}),1e4))},O=function(e){var n=e.target;if(n){clearInterval(t);var i=Number(n.currentTime)===Number(n.duration);b(n,i?ct:nt)}};Object(c.useEffect)((function(){var e=document.documentElement.querySelector("video");return e&&(b(e,$e),function(e){e.addEventListener("play",j),e.addEventListener("pause",O)}(e)),function(){e&&(e.paused||b(e,nt),function(e){e.removeEventListener("play",j),e.removeEventListener("pause",O),clearInterval(t)}(e),p.current=!0)}}),[])};var st=Oe.default.div.withConfig({displayName:"S_OverlayLayout",componentId:"sc-1ws4fd5-0"})(["background-color:",";bottom:0;height:100%;position:fixed;right:0;top:0;width:448px;z-index:100;"],(function(e){return e.theme.ui_cpnt_overlay_base})),rt=Oe.default.div.withConfig({displayName:"S_Header",componentId:"sc-1ws4fd5-1"})(["align-items:center;display:flex;justify-content:space-between;padding-bottom:",";padding-left:",";padding-right:",";padding-top:",";"],(function(e){return e.theme.spacing.spacingC}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingC})),at=function(e){var t=e.title,n=e.onClose,c=e.children;return Object(he.jsxs)(st,{children:[Object(he.jsxs)(rt,{children:[Object(he.jsx)(i.D_TextLabel,{text:t,colorTheme:"sysTextPrimary",styleTheme:"headingBold"}),Object(he.jsx)(i.D_IconButton,{baseSize:"large",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconFillType:"fill",iconName:"ic_xmark",iconColorKey:"ui_cpnt_button_icon_default",onClick:n})]}),c]})};var lt=Oe.default.div.withConfig({displayName:"S_OverlayTabBar",componentId:"sc-12wtpky-0"})(["border-bottom:1px solid ",";box-sizing:border-box;display:flex;height:48px;justify-content:space-evenly;"],(function(e){return e.theme.ui_cpnt_divider})),dt=Oe.default.div.withConfig({displayName:"S_TabWrapper",componentId:"sc-12wtpky-1"})(["align-items:center;cursor:pointer;display:flex;flex:1;justify-content:center;position:relative;&::after{background-color:",";bottom:-1px;content:'';height:2px;position:absolute;width:100%;",";}"],(function(e){return e.theme.ui_cpnt_tabbar_border_active_indicator_primary}),(function(e){return!e.isActive&&"display: none;"})),ut=function(e){var t=e.onClick,n=e.tab,o=Object(m.a)("translation").t,s=Object(c.useMemo)((function(){return[{title:o("str_2468"),id:g},{title:o("str_2467"),id:f},{title:o("str_2469"),id:x}]}),[]);return Object(he.jsx)(lt,{children:s.map((function(e){return Object(he.jsx)(dt,{isActive:n===e.id,onClick:function(){return t(e.id)},children:Object(he.jsx)(i.D_TextLabel,{text:e.title,styleTheme:n===e.id?"body2Bold":"body2Regular",colorTheme:n===e.id?"usrTextBrandPrimary":"sysTextSecondary",singleLineMode:"use"})},e.id)}))})};var pt=Oe.default.div.withConfig({displayName:"S_ContentTab",componentId:"sc-7pdlnv-0"})(["padding-left:",";padding-right:",";padding-top:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),bt=Oe.default.div.withConfig({displayName:"S_ErrorBox",componentId:"sc-7pdlnv-1"})(["padding:",";"],(function(e){var t=e.theme;return"0 ".concat(t.spacing.spacingE)})),jt=function(e){var t=e.isCAP,n=Object(m.a)("translation").t,c=Object(s.k)(),r=Object(o.d)(l.c),a=Object(o.d)(Q
1),d=Object(o.d)(q),u=Object(Ue.e)().userEntrywayForUse,p=(null===d||void 0===d?void 0:d.type)==="".concat(A.i,"_FAILED")&&403===d.status,b=(null===d||void 0===d?void 0:d.type)==="".concat(A.i,"_FAILED")&&451===d.status,O=_.f.getChannelCode(),h=null===r||void 0===r?void 0:r.isGlobal;return p?Object(he.jsxs)(bt,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_i"}),Object(he.jsx)(i.D_TextLabel,{text:n("str_key_user_scene_vods_private_episode_desc"),textAlign:"center",styleTheme:"body2Regular",colorTheme:"sysTextSecondary"})]}):b?Object(he.jsxs)(bt,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_e"}),Object(he.jsx)(i.D_TextLabel,{text:n("str_key_user_scene_c00001_ageestriction_title"),styleTheme:"body1Bold"}),Object(he.jsx)(i.Spacing,{size:"spacing_c"}),Object(he.jsx)(i.Divider,{}),Object(he.jsx)(i.Spacing,{size:"spacing_d"}),Object(he.jsx)(i.D_TextLabel,{text:n(h?"str_key_user_scene_c00001_ageestriction_desc_global":"str_key_user_scene_c00001_ageestriction_desc"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary"}),Object(he.jsx)(i.Spacing,{size:"spacing_d"}),!h&&Object(he.jsx)(i.D_MainButton,{text:n("str_key_user_scene_c00001_ageestriction_btn"),styleTheme:"secondary",onClick:u((function(){c.push(Object(j.W)(O))}))})]}):Object(he.jsx)(he.Fragment,{children:Object(he.jsxs)(pt,{children:[Object(he.jsx)(i.D_TextLabel,{text:null===a||void 0===a?void 0:a.title,styleTheme:"subTitleBold",colorTheme:"sysTextPrimary"}),t?Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_b"}),Object(he.jsx)(i.D_Chip,{displayType:"information",text:n("str_individual_purchase")}),Object(he.jsx)(i.Spacing,{size:"spacing_e"})]}):Object(he.jsx)(i.Spacing,{size:"spacing_c"}),Object(he.jsx)(i.Divider,{}),Object(he.jsx)(i.Spacing,{size:"spacing_d"}),Object(he.jsx)(i.D_TextLabel,{text:null===a||void 0===a?void 0:a.content,styleTheme:"body2Regular",colorTheme:"sysTextPrimary"})]})})};var Ot=Oe.default.div.withConfig({displayName:"S_ThumbnailBox",componentId:"sc-hc460r-0"})(["min-width:130px;position:relative;"]),ht=Oe.default.div.withConfig({displayName:"S_ImageViewWrapper",componentId:"sc-hc460r-1"})(["",""],(function(e){var t=e.hasDimmed,n=e.theme;return t&&Object(Oe.css)(["&::after{background-color:",";border:1px solid ",";border-radius:8px;bottom:0;content:'';display:block;left:0;position:absolute;right:0;top:0;}"],n.ui_cpnt_imageview_dimmed,n.ui_profile_image_border)})),mt=Oe.default.div.withConfig({displayName:"S_IconWrapper",componentId:"sc-hc460r-2"})(["align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;"]),_t=Oe.default.div.withConfig({displayName:"S_ChipWrapper",componentId:"sc-hc460r-3"})(["bottom:4px;position:absolute;right:4px;"]),gt=Oe.default.div.withConfig({displayName:"S_TextWrapper",componentId:"sc-hc460r-4"})(["flex:1;"]),ft=function(e){var t=e.imageSrc,n=e.title,c=e.runningTime,o=e.isCurrentPost,s=e.isPublished,r=void 0===s||s,a=e.isCAP,l=e.hasUserPurchased,d=e.isUserLegallyIneligible,u=e.onClick,p=Object(m.a)("translation").t,b=Object(Ue.e)().userEntrywayForUse;if(!r)return Object(he.jsxs)(i.D_ContentSheet,{width:"100%",height:"106px",backgroundColorTheme:o?"base3":"transparent",shapeType:"rectangle",paddingTop:"spacing_d",paddingBottom:"spacing_d",overrideCSS:{display:"flex"},onClick:b(u,"GUEST_OPEN_WHEN_PUBLIC_OPEN"),children:[Object(he.jsx)(Ot,{children:Object(he.jsx)(Re,{radius:8})}),Object(he.jsx)(i.Spacing,{size:"spacing_d",spacingType:"width"}),Object(he.jsx)(i.D_TextLabel,{text:p("str_key_user_scene_vods_private_episode_title"),styleTheme:"caption1Bold",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:2})]});if(d)return Object(he.jsxs)(i.D_ContentSheet,{width:"100%",height:"106px",backgroundColorTheme:o?"base3":"transparent",shapeType:"rectangle",paddingTop:"spacing_d",paddingBottom:"spacing_d",overrideCSS:{display:"flex"},onClick:b(u,"GUEST_OPEN_WHEN_PUBLIC_OPEN"),children:[Object(he.jsx)(Ot,{children:Object(he.jsx)(Re,{radius:8})}),Object(he.jsx)(i.Spacing,{size:"spacing_d",spacingType:"width"}),Object(he.jsx)(i.D_TextLabel,{text:p("str_key_user_scene_c00001_ageestriction_title"),styleTheme:"caption1Bold",colorTheme:"sysTextSecondary",ellipsisMode:"use",lineLimit:2})]});var j=we.a.duration(1e3*c).format(c>
13600?"HH:mm:ss":"mm:ss");return a&&!l?Object(he.jsxs)(i.D_ContentSheet,{width:"100%",height:"106px",backgroundColorTheme:o?"base3":"transparent",shapeType:"rectangle",paddingTop:"spacing_d",paddingBottom:"spacing_d",overrideCSS:{display:"flex"},onClick:b(u,"GUEST_OPEN_WHEN_PUBLIC_OPEN"),children:[Object(he.jsxs)(Ot,{children:[Object(he.jsx)(ht,{hasDimmed:!l,children:Object(he.jsx)(i.ImageView,{ratio:"16_9",src:t,backgroundFillMode:"use",borderMode:"use",width:"responsive",scaleType:"cover",radius:8})}),Object(he.jsx)(mt,{children:Object(he.jsx)(i.Icon,{size:32,iconName:"ic_lock",colorKey:"ui_cpnt_icon_sys_white",fillType:"fill"})})]}),Object(he.jsx)(i.Spacing,{size:"spacing_d",spacingType:"width"}),Object(he.jsxs)(gt,{children:[Object(he.jsx)(i.D_TextLabel,{text:n,styleTheme:"caption1Bold",colorTheme:"sysTextPrimary",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),Object(he.jsx)(i.Spacing,{size:"spacing_b"}),Object(he.jsx)(i.D_Chip,{displayType:"information",text:p("str_individual_purchase")})]})]}):Object(he.jsxs)(i.D_ContentSheet,{width:"100%",height:"106px",backgroundColorTheme:o?"base3":"transparent",shapeType:"rectangle",paddingTop:"spacing_d",paddingBottom:"spacing_d",overrideCSS:{display:"flex"},onClick:b(u,"GUEST_OPEN_WHEN_PUBLIC_OPEN"),children:[Object(he.jsxs)(Ot,{children:[Object(he.jsx)(ht,{hasDimmed:o,children:Object(he.jsx)(i.ImageView,{ratio:"16_9",src:t,backgroundFillMode:"use",borderMode:"use",width:"responsive",scaleType:"cover",radius:8})}),o?Object(he.jsx)(mt,{children:Object(he.jsx)(i.Icon,{size:32,iconName:"ic_video_play",colorKey:"ui_cpnt_icon_sys_white",fillType:"fill"})}):Object(he.jsx)(_t,{children:Object(he.jsx)(i.D_Chip,{displayType:"time",text:j})})]}),Object(he.jsx)(i.Spacing,{size:"spacing_d",spacingType:"width"}),Object(he.jsxs)(gt,{children:[Object(he.jsx)(i.D_TextLabel,{text:n,styleTheme:"caption1Bold",colorTheme:"sysTextPrimary",ellipsisMode:"use",lineLimit:2,wordBreak:"break_all"}),a&&Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_b"}),Object(he.jsx)(i.D_Chip,{displayType:"information",text:p("str_individual_purchase")})]})]})]})};var xt=function(){var e=Object(s.m)(),t=e.playlistId,n=e.postId,i=Object(c.useRef)(null),r=Object(o.c)(),a=Object(s.k)(),d=Object(c.useMemo)(l.n,[]),u=Object(o.d)(d),p=Object(o.d)(G),b=Object(o.d)(ee),j=Object(o.d)(J),O=Object(o.d)(Y),h=(null===u||void 0===u?void 0:u.channelCode)||"",m=F({posts:j,isLoading:p,totalPostsCount:O.total,currentPage:O.page,fetchPostsByPage:function(e){1!==e&&r(Object(A.j)({limit:P.Ib,page:e}))},moveToPostDetail:function(e){a.push(Object(_.l)(E,{channelCode:h,postId:e}))}}),g=m.lastPostRef,f=m.handleClickPostContent;return Object(c.useEffect)((function(){t?r(Object(A.l)({seriesId:t})):1===O.page&&r(Object(A.j)({limit:P.Ib,page:1}))}),[t,n,O.page]),Object(c.useEffect)((function(){var e;null===(e=document.getElementById(n))||void 0===e||e.scrollIntoView(!0)}),[n]),Object(he.jsx)(he.Fragment,{children:t?Object(he.jsx)(he.Fragment,{children:null===b||void 0===b?void 0:b.map((function(e){var c;return Object(he.jsx)("div",{id:e.postId.toString(),children:Object(he.jsx)("div",{ref:i,children:Object(he.jsx)(ft,{imageSrc:e.post.vodResource.thumbnailSrc,title:e.post.title,runningTime:e.post.vodResource.duration,isCurrentPost:e.post.id===Number(n),isPublished:e.post.isPublished,isCAP:null!==e.protectionSeal.contentLock,hasUserPurchased:!(null===(c=e.protectionSeal.contentLock)||void 0===c||!c.isUnlocked),isUserLegallyIneligible:!!e.post.isUserLegallyIneligible,onClick:function(){return i=e.post.id,void(+n!==i&&(t?a.push(Object(_.l)(N,{channelCode:h,playlistId:t,postId:i})):a.push(Object(_.l)(E,{channelCode:h,postId:i})),r(Object(A.s)())));var i}})})},e.id)}))}):Object(he.jsx)(he.Fragment,{children:null===j||void 0===j?void 0:j.map((function(e,t){var c,o,s;return Object(he.jsx)("div",{ref:j.length-1===t?g:i,id:e.id.toString(),children:Object(he.jsx)(ft,{imageSrc:(null===(c=e.vodResource)||void 0===c?void 0:c.thumbnailSrc)||"",title:e.title,runningTime:(null===(o=e.vodResource)||void 0===o?void 0:o.duration)||0,isCurrentPost:e.id===Number(n),isCAP:null!==e.protectionSeal.contentLock,hasUserPurchased:!(null===(s=e.protectionSeal.contentLock)||void 0===s||!s.isUnlocked),isUserLegallyIneligible:!!e.isUserLegallyIneligible,onClick:function(){return f(e.id)}})},e.id)}))})})},vt=n(2758),yt=n(405),Ct=n(589),Tt=n(597),St=n(590);var It=function(e){var t,n=e.channelId,s=e.postId,r=e.isCommentInputShow,a=void 0===r||r,d=e.usePin,u=e.useTopBottomSpacing,p=Object(m.a)("translation").t,j=Object(o.c)(),O=Object(o.d)(G),h=Object(o.d)(ie),g=Object(o.d)(ce),f=Object(o.d)(oe),x=Object(o.d)(l.d),v=Object(o.d)(Tt.a),y=Object(o.d)(Ct.b),C=Object(o.d)(St.c),T=Object(z.a)(),S=T.ReportContent,I=T.openReportContentModal,k=Object(yt.a)(),D=k.ModalDialog,E=k.setModalDialogMessage,w=k.setIsModalDialogOpen,L=_.b.isGuest(),N=Object(vt.a)({isLoading:O,comments:h,totalCommentsCount:f,deps:[s],handleDeleteComment:function(e){j(Object(A.d)({postId:s,commentId:e}))},handleCreateComment:function(e){var t=_.b.getChannelProfile(n);t&&j(Object(A.b)({content:e,postId:s,author:t.nickname,authorThumbnailSrc:t.imageSrc}))},fetchCommentsByPage:function(e){if(d)return void j(Object(A.h)({postId:s,order:"ASC"}));j(Object(A.e)({limit:P.r,page:e,postId:s,pinned:!1}
1))}}),R=N.lastCommentRef,B=N.handleClickSubmitComment,M=N.CommentAlertDialog,U=N.openCommentAlertDialog,F=N.handleClickConfirmCommentAlertDialog,W=N.handleClickCancelCommentAlertDialog,H=N.initPage;Object(c.useEffect)((function(){return document.addEventListener("fullscreenchange",K),document.addEventListener("webkitfullscreenchange",K),function(){document.removeEventListener("fullscreenchange",K),document.removeEventListener("webkitfullscreenchange",K),j(Object(A.p)())}}),[]);var V=Object(c.useMemo)((function(){if(n){var e=_.b.getUserMetaInChannel(n);return e?e.profileId:""}}),[n]);function K(){return Xe.a.isFullscreenElement()?Xe.a.isFullscreenElement()?(H(),void j(Object(A.p)())):void 0:d?void j(Object(A.h)({postId:s,order:"ASC"})):(H(),void j(Object(A.e)({limit:P.r,page:1,postId:s,pinned:!1})))}return Object(he.jsxs)(he.Fragment,{children:[d&&Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(b.b,{count:f}),a&&Object(he.jsx)(b.c,{handleAddComment:B,isUserEntryway:!0})]}),d&&Object(he.jsx)(i.Spacing,{size:"spacing_e"}),!d&&O&&0===(null===(t=d?g:h)||void 0===t?void 0:t.length)&&Object(he.jsx)(b.x,{}),(d?g:h)&&(d?g:h).length>0&&Object(he.jsx)(b.f,{useTopBottomSpacing:u,children:(d?g:h).map((function(e,t){var n,i=null===v||void 0===v||null===(n=v.find((function(t){return t.distinctId===e.profileDistinctId})))||void 0===n?void 0:n.distinctId,c=e.profileId===V,o=(e.profileDistinctId,null===x||void 0===x||x.channelProfile.distinctId,e.profileDistinctId===(null===x||void 0===x?void 0:x.channelProfile.distinctId)),s=e.profileDistinctId===i,r=o||s,a=e.profileDistinctId&&Boolean(y[e.profileDistinctId]),l=Boolean(C[e.id]);return Object(he.jsx)(b.g,{displayType:"moreBtn",contentDisplayType:a?"block":l?"hidden":"normal",content:e.content,avatarUrl:e.authorThumbnailSrc,nickname:e.author,nicknameBadgeMode:r?"use":"none",createdAt:e.insertedAt,distinctId:e.profileDistinctId,contextMenuItemArray:L?P.n:c?P.p:a?P.o:l?P.m:P.q,onClickContextMenuItem:function(t){var n;return function(e,t,n,i,c){switch(e.value){case"REPORT":if(r){E(p("str_6535")),w(!0);break}I(n,P.Y.C00001.CODE);break;case"DELETE":U(t,e.value,i,c);break;case"HIDE_COMMENT":if(r){E(p("str_6536")),w(!0);break}U(t,e.value,i,c);break;case"UNHIDE_COMMENT":U(t,e.value,i,c);break;case"BLOCK_USER":if(r){E(p("str_6537")),w(!0);break}U(t,e.value,i,c);break;case"UNBLOCK_USER":U(t,e.value,i,c)}}(t,e.id,e.content,e.author,null!==(n=e.profileDistinctId)&&void 0!==n?n:"")},ref:t!==h.length-1||d?null:R,pinned:d&&e.pinned},e.id)}))}),Object(he.jsx)(M,{onClickConfirm:F,onClickCancel:W}),Object(he.jsx)(D,{}),S]})};var kt=Oe.default.div.withConfig({displayName:"S_ReactionBox",componentId:"sc-xenga6-0"})(["padding-left:",";padding-right:",";"],(function(e){return e.theme.spacing.spacingE}),(function(e){return e.theme.spacing.spacingE})),Dt=Oe.default.div.withConfig({displayName:"S_NoItem",componentId:"sc-xenga6-1"})(["margin-bottom:80px;margin-top:",";text-align:center;"],(function(e){return e.theme.spacing.spacingG})),Et=function(e){var t=e.isLocked,n=e.isLiked,r=e.totalLikeCount,a=e.handleClickReactionButton,d=Object(m.a)("translation").t,u=Object(s.k)(),p=Object(s.m)().postId,b=Object(c.useMemo)(l.n,[]),O=Object(o.d)(b),h=Object(o.d)(q),g=Object(o.d)(ie),f=Object(o.d)(ce),x=Object(Ue.e)().userEntrywayForUse,v=(null===O||void 0===O?void 0:O.id)||0,y=_.f.getChannelCode(),C=null===O||void 0===O?void 0:O.isGlobal,T=(null===h||void 0===h?void 0:h.type)==="".concat(A.i,"_FAILED")&&403===h.status,S=(null===h||void 0===h?void 0:h.type)==="".concat(A.i,"_FAILED")&&451===h.status;return T?Object(he.jsxs)(kt,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_i"}),Object(he.jsx)(i.D_TextLabel,{text:d("str_key_user_scene_vods_private_episode_desc"),textAlign:"center",styleTheme:"body2Regular",colorTheme:"sysTextSecondary"})]}):S?Object(he.jsxs)(kt,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_e"}),Object(he.jsx)(i.D_TextLabel,{text:d("str_key_user_scene_c00001_ageestriction_title"),styleTheme:"body1Bold"}),Object(he.jsx)(i.Spacing,{size:"spacing_c"}),Object(he.jsx)(i.Divider,{}),Object(he.jsx)(i.Spacing,{size:"spacing_d"}),Object(he.jsx)(i.D_TextLabel,{text:d(C?"str_key_user_scene_c00001_ageestriction_desc_global":"str_key_user_scene_c00001_ageestriction_desc"),styleTheme:"body2Regular",colorTheme:"sysTextSecondary"}),Object(he.jsx)(i.Spacing,{size:"spacing_d"}),!C&&Object(he.jsx)(i.D_MainButton,{text:d("str_key_user_scene_c00001_ageestriction_btn"),styleTheme:"secondary",onClick:x((function(){u.push(Object(j.W)(y))}))})]}):t?Object(he.jsxs)(he.Fragment,{children:[Object(he.jsxs)(kt,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_e"}),Object(he.jsx)(i.D_TextLabel,{text:d("str_4992"),styleTheme:"caption1Regular",colorTheme:"sysTextSecondary"}),Object(he.jsx)(i.Spacing,{size:"spacing_e"}),Object(he.jsx)(i.Divider,{})]}),Object(he.jsx)(It,{channelId:v,postId:p,isCommentInputShow:!1})]}):Object(he.jsxs)(he.Fragment,{children:[Object(he.jsxs)(kt,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_d"}),Object(he.jsx)(i.D_ReactionButton,{text:r,iconName:"ic_thumb_up",status:n?"select":"default",onClick:x(a)}),Object(he.jsx)(i.Spacing,{size:"spacing_e"}),Object(he.jsx)(i.Divider,{})]}
1),Object(he.jsx)(It,{usePin:!0,useTopBottomSpacing:!1,channelId:v,postId:p}),Object(he.jsx)(It,{useTopBottomSpacing:!1,channelId:v,postId:p}),0===g.length&&0===f.length&&Object(he.jsx)(Dt,{children:Object(he.jsx)(i.D_TextLabel,{text:d("str_2172"),colorTheme:"sysTextTertiary",styleTheme:"body2Regular",textAlign:"center"})})]})};var wt=Oe.default.div.withConfig({displayName:"S_SubTabContainer",componentId:"sc-r8c27c-0"})(["display:flex;flex-direction:column;height:100%;"]),Lt=Oe.default.div.withConfig({displayName:"S_Contents",componentId:"sc-r8c27c-1"})(["flex:1;overflow-y:auto;"]),Nt=function(e){var t=e.isCAP,n=void 0!==t&&t,r=e.isLocked,a=void 0!==r&&r,l=Object(o.c)(),d=Object(c.useState)(g),u=Object(O.a)(d,2),p=u[0],b=u[1],j=Object(s.m)().postId,h=Object(o.d)(Q),m=Object(c.useState)(!1),_=Object(O.a)(m,2),v=_[0],y=_[1],C=Object(c.useState)(0),T=Object(O.a)(C,2),S=T[0],I=T[1];Object(c.useEffect)((function(){return h&&(D(h.hasUserLiked),E(h.totalPostLikes)),function(){w();var e=document.querySelector("video");null===e||void 0===e||e.focus()}}),[null===h||void 0===h?void 0:h.hasUserLiked,null===h||void 0===h?void 0:h.totalPostLikes,j]);var k,D=function(e){y(e)},E=function(e){I(e)},w=function(){y(!1),I(0)};switch(p){case f:k=Object(he.jsx)(jt,{isCAP:n});break;case g:k=Object(he.jsx)(xt,{});break;case x:k=Object(he.jsx)(Et,{isLocked:!!a,isLiked:v,totalLikeCount:S,handleClickReactionButton:function(){E(v?S-1:S+1),D(!v),l(Object(A.u)({postId:j,isLiked:!v}))}})}return Object(he.jsxs)(wt,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_b"}),Object(he.jsx)(ut,{onClick:function(e){b(e)},tab:p}),Object(he.jsxs)(Lt,{children:[k,Object(he.jsx)(i.Spacing,{size:"spacing_i"})]})]})};var Rt=Oe.default.div.withConfig({displayName:"S_PlayerWrapper",componentId:"sc-16mxpnb-0"})(["height:",";width:100%;z-index:1;"],(function(e){var t=e.playerHeight;return"calc(100vh - ".concat(t,"px)")})),Bt=function(e){var t=e.videoSrc,n=e.vid,i=e.duration,r=e.isSampleData,a=e.title,d=e.backUrl,u=e.postId,p=e.seriesId,j=e.episodeId,h=Object(s.k)(),g=Object(m.a)("translation").t,f=Object(o.d)(l.c),x=Object(o.d)(Qe.a),v=Object(o.d)(ne),y=Object(c.useState)(!1),C=Object(O.a)(y,2),T=C[0],S=C[1],I=_.b.isGuest(),k=x?154:64;function D(){S(!T)}function E(){S(!1)}return ot({vid:n,postId:u,seriesId:p,episodeId:j,durationTime:i,isSampleData:r}),Object(c.useEffect)((function(){return function(){E()}}),[t]),Object(c.useEffect)((function(){function e(){Xe.a.isFullscreenElement()||E()}return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),function(){document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e)}}),[]),Object(he.jsx)(he.Fragment,{children:Object(he.jsx)(Rt,{playerHeight:k,children:Object(he.jsx)(b.G,{videoSrc:t,videoPosition:"left",limitRendition:!1,useNetworkApi:!0,onBeforeRequest:function(e){var t=null===f||void 0===f?void 0:f.id,n=_.b.getUserProfileInChannel(t||0).distinctId;return e.uri.includes("m3u8")?(e.headers=Object(Ye.a)(Object(Ye.a)({},e.headers),{},{"x-publ-profile-distinct-id":n}),e):e},onNavigate:function(){h.push(d)},vodQualities:null!==v&&void 0!==v?v:void 0,clickEventOption:{hideControllerMode:"use",screenEnterMode:"use",screenMoveMode:"use",screenLeaveMode:"use",screenClickMode:"use"},basicOption:{playerType:"D_Basic",titleMode:"use",playBarMode:"use",playTimeMode:"use",fullscreenMode:"use",vodQualityMode:I?"none":"use",backMode:"use",playSpeedMode:"use",primaryTitle:a},fullScreenOption:{playerType:"D_BasicFullscreen",titleMode:"use",primaryTitle:a,playBarMode:"use",playSpeedMode:"use",playTimeMode:"use",fullscreenMode:"use",vodQualityMode:I?"none":"use",sideOverlayButtonIconName:"ic_video_episodes",isSideOverlayOpen:T,openSideOverlay:function(){return D()},sideOverlay:Object(he.jsx)(at,{title:g("str_2500"),onClose:D,children:Object(he.jsx)(Nt,{})})}})})})};var Pt=Oe.default.div.withConfig({displayName:"S_ButtonIconWrapper",componentId:"sc-1gwm2di-0"})(["align-items:center;cursor:pointer;display:flex;left:0;position:absolute;right:0;top:12px;width:fit-content;z-index:1;"]),Mt=Oe.default.div.withConfig({displayName:"S_ContentBox",componentId:"sc-1gwm2di-1"})(["left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:590px;"]),At=Oe.default.div.withConfig({displayName:"S_IconWrapper",componentId:"sc-1gwm2di-2"})(["align-items:center;display:flex;flex-direction:column;height:","px;justify-content:center;"],(function(e){return e.size})),zt=function(e){var t=e.iconSize,n=void 0===t?64:t,c=Object(m.a)("translation").t,r=Object(s.k)(),a=Object(s.m)(),l=a.channelCode,d=a.playlistId,u=Object(o.d)(Qe.a)?154:64;return Object(he.jsxs)(i.D_AnnotationSheet,{height:"auto",width:"auto",overrideCSS:{height:"calc(100vh - ".concat(u,"px)"),minHeight:"500px",position:"relative"},children:[Object(he.jsx)(Pt,{children:Object(he.jsx)(i.D_IconButton,{iconName:"ic_arrow_left",baseSize:"large",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconColorKey:"ui_cpnt_icon_sys_grey_01",onClick:function(){d?r.push(Object(_.l)(L,{channelCode:l,playlistId:d})):r.push(Object(_.l)(D,{channelCode:l}))}})}),Object(he.jsx)(Mt,{children:Object(he.jsxs)(At,{size:n,children:[Object(he.jsx)(i.Icon,{iconName:"ic_unavailable",size:n,colorKey:"ui_cpnt_icon_sys_grey_03",fillType:"fill"}),Object(he.jsx)(i.Spacing,{size:"spacing_d"}),Object(he.jsx)(i.D_TextLabel,{text:c("str_key_user_scene_vods_private_episode_desc"),styleTheme:"headingBold",colorTheme:"sysTextSecondary",textAlign:"center"})]})})]})};var Ut=Oe.default.div.withConfig({displayName:"S_ButtonIconWrapper",componentId:"sc-3ofix6-0"})(["align-items:center;cursor:pointer;display:flex;left:0;position:absolute;right:0;top:12px;width:fit-content;z-index:1;"]),Ft=Oe.default.div.withConfig({displayName:"S_ContentBox",componentId:"sc-3ofix6-1"})(["left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:590px;"]),Wt=Oe.default.div.withConfig({displayName:"S_IconWrapper",componentId:"sc-3ofix6-2"})(["align-items:center;display:flex;flex-direction:column;height:","px;justify-content:center;"],(function(e){return e.size})),Ht=function(){var e=Object(m.a)("translation").t,t=Object(s.k)(),n=Object(s.m)(),c=n.channelCode,r=n.playlistId,a=Object(o.d)(Qe.a),d=Object(o.d)(l.d),u=a?154:64;return Object(he.jsxs)(i.D_AnnotationSheet,{height:"auto",width:"auto",overrideCSS:{height:"calc(100vh - ".concat(u,"px)"),minHeight:"500px",position:"relative"},children:[Object(he.jsx)(Ut,{children:Object(he.jsx)(i.D_IconButton,{iconName:"ic_arrow_left",baseSize:"large",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconColorKey:"ui_cpnt_icon_sys_grey_01",onClick:function(){r?t.push(Object(_.l)(L,{channelCode:c,playlistId:r})):t.push(Object(_.l)(D,{channelCode:c}))}})}),Object(he.jsx)(Ft,{children:Object(he.jsxs)(Wt,{size:64,children:[Object(he.jsx)(i.Icon,{iconName:"ic_unavailable",size:64,colorKey:"ui_cpnt_icon_sys_grey_03",fillType:"fill"}),Object(he.jsx)(i.Spacing,{size:"spacing_d"}),Object(he.jsx)(i.D_TextLabel,{text:e("str_user_view_restricted_title"),styleTheme:"headingBold",colorTheme:"sysTextSecondary",textAlign:"center"}),Object(he.jsx)(i.Spacing,{size:"spacing_b"}),Object(he.jsx)(i.D_TextLabel,{text:e("str_7067",{sellerEmail:null===d||void 0===d?void 0:d.email}),styleTheme:"body2Regular",colorTheme:"sysTextSecondary",textAlign:"center"})]})})]})};var Vt=Oe.default.div.withConfig({displayName:"S_ButtonIconWrapper",componentId:"sc-12nwfsz-0"})(["align-items:center;cursor:pointer;display:flex;left:0;position:absolute;right:0;top:12px;width:fit-content;z-index:1;"]),Kt=Oe.default.div.withConfig({displayName:"S_ContentBox",componentId:"sc-12nwfsz-1"})(["left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:590px;"]),Gt=Oe.default.div.withConfig({displayName:"S_IconWrapper",componentId:"sc-12nwfsz-2"})(["align-items:center;display:flex;flex-direction:column;height:","px;justify-content:center;"],(function(e){return e.size})),qt=function(e){var t=e.iconSize,n=void 0===t?64:t,c=Object(m.a)("translation").t,r=Object(s.k)(),a=Object(s.m)(),l=a.channelCode,d=a.playlistId,u=Object(o.d)(Qe.a)?154:64;return Object(he.jsxs)(i.D_AnnotationSheet,{height:"auto",width:"auto",overrideCSS:{height:"calc(100vh - ".concat(u,"px)"),minHeight:"500px",position:"relative"},children:[Object(he.jsx)(Vt,{children:Object(he.jsx)(i.D_IconButton,{iconName:"ic_arrow_left",baseSize:"large",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconColorKey:"ui_cpnt_icon_sys_grey_01",onClick:function(){d?r.push(Object(_.l)(L,{channelCode:l,playlistId:d})):r.push(Object(_.l)(D,{channelCode:l}))}})}),Object(he.jsx)(Kt,{children:Object(he.jsxs)(Gt,{size:n,children:[Object(he.jsx)(i.Icon,{iconName:"ic_unavailable",size:n,colorKey:"ui_cpnt_icon_sys_grey_03",fillType:"fill"}),Object(he.jsx)(i.Spacing,{size:"spacing_d"}),Object(he.jsx)(i.D_TextLabel,{text:c("str_key_user_scene_c00001_ageestriction_player_content"),styleTheme:"headingBold",colorTheme:"sysTextSecondary",textAlign:"center"})]})})]})};var Jt=function(){var e,t,n,r,a;Object(M.a)("C00001VodPostDetail"),pe();var l=Object(s.m)(),d=l.channelCode,u=l.playlistId,p=l.postId,b=Object(o.c)(),j=Object(o.d)(G),O=Object(o.d)(q),h=Object(o.d)(Q
1),m=Object(o.d)(te),g=Object(o.d)(ee).find((function(e){return e.postId===Number(p)})),f=u?Object(_.l)(L,{channelCode:d,playlistId:u}):Object(_.l)(D,{channelCode:d});if(Object(c.useEffect)((function(){return window.scrollTo(0,0),b(Object(A.i)({postId:p})),function(){b(Object(A.s)()),b(Object(A.p)())}}),[p]),O){var x=O.type==="".concat(A.i,"_FAILED")&&403===O.status,v=O.type==="".concat(A.i,"_FAILED")&&451===O.status,y="VOD-00104"===O.code;return x?Object(he.jsx)(i.WTContainersBox,{layoutType:"WTJ_1",content1:Object(he.jsx)(zt,{iconSize:64}),content2:Object(he.jsx)(Nt,{})}):v?Object(he.jsx)(i.WTContainersBox,{layoutType:"WTJ_1",content1:Object(he.jsx)(qt,{iconSize:64}),content2:Object(he.jsx)(Nt,{})}):y?Object(he.jsx)(i.WTContainersBox,{layoutType:"WTJ_1",content1:Object(he.jsx)(Ht,{}),content2:Object(he.jsx)(Nt,{})}):Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(i.WTContainersBox,{layoutType:"WTJ_1"}),Object(he.jsx)(De,{error:O,pageFrom:"posts"})]})}var C=u&&!g;return Object(he.jsx)(i.WTContainersBox,{layoutType:"WTJ_1",isLoadingContainer1:C||j,content1:h?Object(he.jsx)(he.Fragment,{children:m?Object(he.jsx)(Bt,{videoSrc:m,vid:null===(e=h.vodResource)||void 0===e?void 0:e.vid,duration:(null===(t=h.vodResource)||void 0===t?void 0:t.duration)||0,isSampleData:null===(n=h.vodResource)||void 0===n?void 0:n.isSampleData,title:h.title,backUrl:f,postId:Number(p),seriesId:u?Number(u):void 0,episodeId:(null===g||void 0===g?void 0:g.id)||void 0}):Object(he.jsx)(he.Fragment,{children:null===h.protectionSeal.contentLock||h.protectionSeal.contentLock.isUnlocked?Object(he.jsx)(i.ImageView,{src:null===(a=h.vodResource)||void 0===a?void 0:a.thumbnailSrc,ratio:"16_9",shapeType:"rectangle",scaleType:"cover",width:"responsive"}):Object(he.jsx)(Je,{thumbnailSrc:null===(r=h.vodResource)||void 0===r?void 0:r.thumbnailSrc,postId:p,backUrl:f})})}):void 0,content2:h?Object(he.jsx)(Nt,{isCAP:null!==h.protectionSeal.contentLock,isLocked:null!==h.protectionSeal.contentLock&&!h.protectionSeal.contentLock.isUnlocked}):void 0})};var Yt=Oe.default.div.withConfig({displayName:"S_PlaylistCardItem",componentId:"sc-na8rxa-0"})(["cursor:pointer;display:flex;width:100%;"]),Qt=Oe.default.div.withConfig({displayName:"S_ThumbnailBox",componentId:"sc-na8rxa-1"})(["min-width:370;position:relative;width:370px;"]),Xt=Oe.default.div.withConfig({displayName:"S_Gradient",componentId:"sc-na8rxa-2"})(["background-image:",";border-bottom-left-radius:16px;border-bottom-right-radius:16px;bottom:1px;height:48px;left:1px;position:absolute;right:1px;"],(function(e){var t=e.theme;return"linear-gradient(to top, ".concat(t.ui_cpnt_list_thumbnail_gradient_1,", ").concat(t.ui_cpnt_list_thumbnail_gradient_2,")")})),Zt=Oe.default.div.withConfig({displayName:"S_VodCountBox",componentId:"sc-na8rxa-3"})(["align-items:center;bottom:16px;display:flex;left:16px;position:absolute;"]),$t=function(e){var t=e.thumbnailSrc,n=e.title,c=e.totalCount,o=e.onClick,s=Object(m.a)("translation").t;return Object(he.jsxs)(Yt,{onClick:o,children:[Object(he.jsxs)(Qt,{children:[Object(he.jsx)(i.ImageView,{ratio:"16_9",src:t,backgroundFillMode:"use",borderMode:"use",width:370,height:"responsive",scaleType:"cover",radius:16}),Object(he.jsx)(Xt,{}),Object(he.jsxs)(Zt,{children:[Object(he.jsx)(i.Icon,{iconName:"ic_video_playlist",colorKey:"ui_cpnt_videoplayer_icon_01",size:16}),Object(he.jsx)(i.Spacing,{size:"spacing_b",spacingType:"width"}),Object(he.jsx)(i.D_TextLabel,{text:s("str_2438",{playlistVodCnt:c}),styleTheme:"caption1Bold",colorTheme:"sysTextWhite",singleLineMode:"use"})]})]}),Object(he.jsx)(i.Spacing,{size:"spacing_e",spacingType:"width"}),Object(he.jsx)(i.D_TextLabel,{text:n,styleTheme:"headingBold",ellipsisMode:"use",lineLimit:2})]})};var en=Oe.default.div.withConfig({displayName:"S_EmptyTextWrapper",componentId:"sc-jxlasx-0"})(["padding-top:",";"],(function(e){return e.theme.spacing.spacingJ})),tn=Oe.default.div.withConfig({displayName:"S_PlaylistCardWrapper",componentId:"sc-jxlasx-1"})(["margin-bottom:",";:last-child{margin-bottom:0;}"],(function(e){return e.theme.spacing.spacingF})),nn=function(e){var t=e.storeScrollPosition,n=Object(m.a)("translation").t,c=Object(o.c)(),r=Object(s.k)(),a=Object(s.m)().channelCode,l=Object(o.d)(G),d=Object(o.d)(X),u=Object(o.d)(Z),p=V({serieses:d,isLoading:l,totalSeriesesCount:u.total,currentPage:u.page,fetchSeriesesByPage:function(e){1!==e&&c(Object(A.m)({limit:P.ab,page:e}))},moveToSeriesDetail:function(e){r.push(Object(_.l)(L,{channelCode:a,playlistId:e}))},storeCurrentScrollPosition:t}),b=p.lastSeriesRef,j=p.handleClickSeriesContent;return Object(he.jsx)(he.Fragment,{children:0===d.length?Object(he.jsx)(en,{children:Object(he.jsx)(i.D_TextLabel,{text:n("str_427"),styleTheme:"body2Regular",colorTheme:"sysTextTertiary",textAlign:"center"})}):Object(he.jsx)(he.Fragment,{children:d.map((function(e,t){var n=e.id,i=e.coverImageSrc,c=e.title,o=e.totalEpisodes;return Object(he.jsx)(tn,{ref:d.length-1===t?b:null,children:Object(he.jsx)($t,{onClick:function(){return j(n)},thumbnailSrc:i,totalCount:o,title:c})},n)}))})})};var cn=function(e){var t=e.tabs;Object(M.a)("C00001Playlists"),de();var n=Object(m.a)("translation").t,r=Object(o.c)(),a=Object(s.m)().channelCode,l=Object(s.k)().location.pathname,d=Object(c.useRef)(null),p=H({queryName:"scroll"}),b=p.layoutRef,j=p.storeCurrentScrollPosition,O=p.moveScrollTo,h=Object(o.d)(u.f),g=(null===h||void 0===h?void 0:h[y])||n("str_papp_vod_playlist");return Object(c.useLayoutEffect)((function(){if(l===Object(_.l)(w,{channelCode:a})){r(Object(A.m)({limit:P.ab,page:1}));b.current&&d.current&&b.current.scrollTop>d.current.offsetTop-128&&O(d.current.offsetTop-128)}}),[l]),Object(he.jsx)(i.WTContainersBox,{layoutType:"WTS_1",container1Ref:b,content1:Object(he.jsx)(ke,{}),content2:Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)("div",{ref:d}),Object(he.jsx)(Ce,{left:Object(he.jsxs)(he.Fragment,{children:[t.length>1&&Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(ze,{tabs:t}),Object(he.jsx)(i.Spacing,{size:"spacing_h"})]}),Object(he.jsx)(ge,{}),Object(he.jsx)(i.Spacing,{size:"spacing_i"})]}),center:Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(i.D_TextLabel,{text:g,styleTheme:"displayBold"}),Object(he.jsx)(i.Spacing,{size:"spacing_g"}),Object(he.jsx)(nn,{storeScrollPosition:j})]}),right:Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(fe,{}),Object(he.jsx)(i.Spacing,{size:"spacing_i"})]})})]})})};var on=function(){var e=Object(m.a)("translation").t,t=Object(s.k)(),n=Object(s.m)(),c=n.channelCode,r=n.playlistId,a=Object(o.d)(ee),l=Object(Ue.e)().userEntrywayForUse;return Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(i.D_TextLabel,{text:e("str_54",{playlistVodCnt:a.length}),styleTheme:"body2Regular",colorTheme:"sysTextTertiary",singleLineMode:"use"}),Object(he.jsx)(i.Spacing,{size:"spacing_e"}),Object(he.jsx)(i.D_BasicList,{columns:3,columnSpacing:24,rowSpacing:48,children:a.map((function(e){var n,i=e.id,o=e.post,s=e.protectionSeal;return Object(he.jsx)(Ae,{thumbnailSrc:o.vodResource.thumbnailSrc,runningTime:o.vodResource.duration,title:o.title,isCAP:null!==s.contentLock,hasUserPurchased:!(null===(n=s.contentLock)||void 0===n||!n.isUnlocked),isPublished:o.isPublished,isUserLegallyIneligible:!!o.isUserLegallyIneligible,onClick:l((function(){return function(e){t.push(Object(_.l)(N,{channelCode:c,playlistId:r,postId:e}))}(o.id)}),"GUEST_OPEN_WHEN_PUBLIC_OPEN")},i)}))})]})};var sn=Oe.default.div.withConfig({displayName:"S_NavBar",componentId:"sc-5lepmc-0"})(["align-items:center;cursor:pointer;display:flex;padding-bottom:",";padding-top:",";width:fit-content;"],(function(e){return e.theme.spacing.spacingF}),(function(e){return e.theme.spacing.spacingE})),rn=function(e){var t=e.onClick,n=Object(m.a)("translation").t;return Object(he.jsxs)(sn,{onClick:t,children:[Object(he.jsx)(i.D_IconButton,{iconSize:20,iconName:"ic_arrow_left_bold",baseColorKey:"ui_cpnt_button_fill_base_transparent",iconColorKey:"ui_cpnt_icon_sys_grey_01"}),Object(he.jsx)(i.Spacing,{spacingType:"width",size:"spacing_a"}),Object(he.jsx)(i.D_TextLabel,{text:n("str_back")})]})};var an=Oe.default.div.withConfig({displayName:"S_ReadMoreContentBox",componentId:"sc-15vrs2w-0"})(["display:flex;flex-direction:column;"]),ln=Oe.default.div.withConfig({displayName:"S_ContentWrapper",componentId:"sc-15vrs2w-1"})(["white-space:pre-wrap;",";"],(function(e){return e.isOpen?dn:un}
1)),dn=Object(Oe.css)(["height:auto;"]),un=Object(Oe.css)(["-webkit-box-orient:vertical;-webkit-line-clamp:",";display:-webkit-box;overflow:hidden;text-overflow:ellipsis;"],(function(e){return e.lineLimit})),pn=Oe.default.button.withConfig({displayName:"S_CaptionWrapper",componentId:"sc-15vrs2w-2"})(["all:unset;cursor:pointer;"]),bn=function(e){var t=e.isOpen,n=e.text,o=e.onClick,s=Object(m.a)("translation").t,r=Object(c.useRef)(null),a=Object(c.useState)(!1),l=Object(O.a)(a,2),d=l[0],u=l[1],p=Object(c.useState)(document.documentElement.clientWidth),b=Object(O.a)(p,2),j=b[0],h=b[1];return Object(c.useEffect)((function(){var e=function(){h(document.documentElement.clientWidth)};return window.addEventListener("resize",e),r.current&&u(r.current.scrollHeight>r.current.clientHeight||r.current.scrollWidth>r.current.clientWidth),function(){window.removeEventListener("resize",e)}}),[j]),Object(he.jsxs)(an,{children:[Object(he.jsx)(ln,{ref:r,isOpen:t,lineLimit:9,children:Object(he.jsx)(i.D_TextLabel,{text:n,styleTheme:"body2Regular",colorTheme:"sysTextPrimary"})}),d&&Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(i.Spacing,{size:"spacing_b"}),Object(he.jsx)(pn,{onClick:o,children:Object(he.jsx)(i.D_TextLabel,{text:s(t?"str_78":"str_77"),styleTheme:"caption1Regular",colorTheme:"sysTextTertiary"})})]})]})};var jn=Oe.default.div.withConfig({displayName:"S_PlaylistInfoBox",componentId:"sc-1hn19vk-0"})(["align-items:flex-start;display:flex;"]),On=function(e){var t=e.imageSrc,n=e.description,o=Object(c.useState)(!1),s=Object(O.a)(o,2),r=s[0],a=s[1];return Object(he.jsxs)(jn,{children:[Object(he.jsx)(i.ImageView,{src:t,radius:16,width:440,ratio:"16_9",scaleType:"cover",borderMode:"use",backgroundFillMode:"use"}),Object(he.jsx)(i.Spacing,{size:"spacing_f",spacingType:"width"}),n&&Object(he.jsx)(bn,{text:n,isOpen:r,onClick:function(){return a(!r)}})]})};var hn=function(){var e=Object(o.d)($);return Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(i.D_TextLabel,{text:null===e||void 0===e?void 0:e.title,styleTheme:"displayBold",singleLineMode:"use",ellipsisMode:"use",lineLimit:2}),Object(he.jsx)(i.Spacing,{size:"spacing_f"}),Object(he.jsx)(On,{imageSrc:null===e||void 0===e?void 0:e.coverImageSrc,description:(null===e||void 0===e?void 0:e.description)||""})]})};var mn=Oe.default.div.withConfig({displayName:"S_NavBarWrapper",componentId:"sc-txehev-0"})(["padding-left:40px;"]),_n=Oe.default.div.withConfig({displayName:"S_ContentBox",componentId:"sc-txehev-1"})(["padding-left:",";padding-right:",";"],(function(e){return e.theme.spacing.spacingG}),(function(e){return e.theme.spacing.spacingG})),gn=function(){Object(M.a)("C00001PlaylistDetail"),ae();var e=Object(s.m)().playlistId,t=Object(o.c)(),n=Object(s.k)(),r=Object(c.useMemo)(l.n,[]),a=Object(o.d)(r),d=Object(o.d)(q),u=(null===a||void 0===a?void 0:a.channelCode)||"";return Object(c.useEffect)((function(){return t(Object(A.l)({seriesId:e})),function(){t(Object(A.t)())}}),[]),Object(he.jsx)(i.WTContainersBox,{layoutType:"WTN_1",content1:Object(he.jsxs)(he.Fragment,{children:[Object(he.jsx)(mn,{children:Object(he.jsx)(rn,{onClick:function(){n.push(Object(_.l)(w,{channelCode:u}))}})}),Object(he.jsxs)(_n,{children:[Object(he.jsx)(hn,{}),Object(he.jsx)(i.Spacing,{size:"spacing_f"}),Object(he.jsx)(i.Divider,{}),Object(he.jsx)(i.Spacing,{size:"spacing_e"}),Object(he.jsx)(on,{})]}),d&&Object(he.jsx)(De,{error:d,pageFrom:"playlists"})]})})};var fn=function(){var e=Object(o.c)(),t=Object(o.d)(Object(p.f)()),n=Object(o.d)(Object(l.n)()),g=Object(o.d)(u.c),f=Object(o.d)(u.b),x=null===n||void 0===n?void 0:n.id,P=function(){var e,t,n=Object(m.a)("translation").t,i=Object(s.k)(),r=Object(s.m)().channelCode,a=i.location.pathname,l=Object(o.d)(u.c),d=null===l||void 0===l?void 0:l.config,p=(null===d||void 0===d?void 0:d[S])||[I,k],b=(null===d||void 0===d?void 0:d[v])||n("str_papp_vod_video"),j=(null===d||void 0===d?void 0:d[y])||n("str_papp_vod_playlist"),g=null!==(e=null===d||void 0===d?void 0:d[C])&&void 0!==e&&e,f=null!==(t=null===d||void 0===d?void 0:d[T])&&void 0!==t&&t,x=Object(_.l)(D,{channelCode:r}),E=Object(_.l)(w,{channelCode:r});return{tabs:Object(c.useMemo)((function(){var e={POSTS:g?null:{title:b,isActive:x===a,onClick:function(){return i.push(x)}},SERIES:f?null:{title:j,isActive:E===a,onClick:function(){return i.push(E)}}};return p.map((function(t){return e[t]}
1)).filter(Boolean)}),[g,b,f,j,a]),firstTab:Object(c.useMemo)((function(){var e,t=(e={},Object(h.a)(e,I,g?null:x),Object(h.a)(e,k,f?null:E),e),n=p.map((function(e){return t[e]})).filter((function(e){return null!==e})),i=Object(O.a)(n,1)[0];return null!==i&&void 0!==i?i:x}),[g,f,p]),isPostsTabHide:g,isSeriesTabHide:f}}(),M=P.tabs,A=P.firstTab,z=P.isPostsTabHide,U=P.isSeriesTabHide;if(Object(c.useLayoutEffect)((function(){x&&e(Object(d.b)({channelId:x,pAppCode:r.a.C00001.CODE}))}),[x]),!n)return Object(he.jsx)(he.Fragment,{});var F=n.channelCode;if(f)switch(f.code){case 403:return Object(he.jsx)(s.c,{to:Object(j.P)(F,r.a.C00001.CODE)});default:return Object(he.jsx)(s.g,{children:Object(he.jsx)(s.c,{to:Object(j.V)(F)})})}if(g){var W=A||Object(j.U)(F);return Object(he.jsxs)(b.k,{children:[1===M.length&&Object(he.jsx)(i.Divider,{}),Object(he.jsxs)(s.g,{children:[Object(he.jsx)(a.l,{exact:!0,path:E,component:Jt,option:"GUEST_OPEN_WHEN_PUBLIC_OPEN"}),Object(he.jsx)(a.l,{exact:!0,path:N,component:Jt,option:"GUEST_OPEN_WHEN_PUBLIC_OPEN"}),!z&&Object(he.jsx)(a.q,{exact:!0,path:D,render:function(){return Object(he.jsx)(He,{tabs:M})},isAuthenticated:t}),!U&&Object(he.jsx)(a.q,{exact:!0,path:w,render:function(){return Object(he.jsx)(cn,{tabs:M})},isAuthenticated:t}),!U&&Object(he.jsx)(a.q,{path:L,component:gn,isAuthenticated:t}),Object(he.jsx)(a.q,{exact:!0,path:j.Zb,component:B.a,isAuthenticated:t}),Object(he.jsx)(s.c,{from:j.k,to:W})]})]})}return f||g?Object(he.jsx)(b.y,{}):Object(he.jsxs)(s.g,{children:[Object(he.jsx)(a.q,{exact:!0,path:j.fb,component:R.a,isAuthenticated:t}),Object(he.jsx)(s.c,{from:j.k,to:Object(j.U)(F)})]})}}}]);

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.