<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7745],{19499:function(e,t,n){var i={"./en.json":[99571,9571],"./ja.json":[85887,5887],"./zh.json":[74668,4668]};function r(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],r=t[0];return n.e(t[1]).then(function(){return n.t(r,19)})}r.keys=function(){return Object.keys(i)},r.id=19499,e.exports=r},95788:function(e,t,n){"use strict";function i(e){let t="Email",n=null==e?void 0:e.show.name,i=null==e?void 0:e.user.email,r=null==e?void 0:e.show.avatar;return(null==e?void 0:e.user.google)?(t="Google",n=e.user.google.name,i=e.user.google.email,r=e.user.google.picture):(null==e?void 0:e.user.facebook)?(t="Facebook",n=e.user.facebook.fbName,i=e.user.facebook.email,r=e.show.avatar):(null==e?void 0:e.user.apple)?(t="Apple",n=e.show.name,i=e.user.apple.email,r=e.show.avatar):(null==e?void 0:e.user.line)&amp;&amp;(t="Line",n=e.user.line.name,i=e.user.line.email,r=e.user.line.picture),{loginMethod:t,name:n,email:i,avatar:r}}n.d(t,{d:function(){return i}}),n(61247)},69699:function(e,t,n){"use strict";n.d(t,{a:function(){return l},f:function(){return s}});var i=n(76713),r=n(88886),o=n(46309),a=n(12249);function s(){let e=(0,i.useCookies)(),t=(0,o.useSearchParams)().get("next"),n=(0,o.useRouter)();return(0,r.useCallback)((i,r)=&gt;{e.set(a.Q.Key.token,i),(null==r?void 0:r.isModal)&amp;&amp;n.back(),window.location.href=t||"/"},[n,e,t])}function l(){let e=(0,i.useCookies)();return(0,r.useCallback)(()=&gt;{e.remove(a.Q.Key.token),window.location.reload()},[e])}},67587:function(e,t,n){"use strict";n.d(t,{default:function(){return b}});var i,r,o,a=n(61247),s=n(31909),l=n(82847),c=n(27043),d=n(12249);let u=s.IR.create(()=&gt;({root:{color:d.Q.Theme.tomato,fontSize:12}}));function p(e){let{classes:t,cx:n}=u();return(0,a.jsx)(c.Z,{variant:"caption",...e,className:n(t.root,e.className),children:"Beta"})}var h=n(91121);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t&lt;arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&amp;&amp;(e[i]=n[i])}return e}).apply(null,arguments)}var f=function(e){return h.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 366 100"},e),i||(i=h.createElement("path",{fill:"#fb355e",d:"M366.7 37.8 352 73q-2.6 6.2-6.3 8.8t-9 2.5a18 18 0 0 1-5.4-.8q-2.7-.9-4.4-2.3l4.2-8.3a7 7 0 0 0 2.4 1.5 8 8 0 0 0 2.8.5q1.7 0 2.8-.7A5 5 0 0 0 341 72l-14.5-34.2h12.2l8.3 20.6 8.4-20.6zm-47.7.6q3-1.2 6.7-1.2v10.7l-2.7-.2q-3.8 0-6 2t-2 6.4v15.5h-12V37.8h11.4v4a11 11 0 0 1 4.7-3.5M269.3 70a17 17 0 0 1-6.9-6.3q-2.5-4-2.5-9t2.5-9a17 17 0 0 1 6.8-6.3q4.4-2.2 9.9-2.2t9.8 2.2a17 17 0 0 1 6.8 6.2q2.5 4 2.5 9t-2.5 9A17 17 0 0 1 289 70q-4.3 2.3-9.8 2.3t-9.9-2.3m14.9-9.4q2-2.2 2-6t-2-5.8-5.1-2.2-5.2 2.2-2 5.8 2 6 5.2 2.2q3 0 5-2.2m-25 9.6a12 12 0 0 1-3.6 1.5 20 20 0 0 1-4.6.5q-6.6 0-10.2-3.3t-3.6-9.7V48h-4.9v-9h5v-8.8H249V39h7.8v9H249v11q0 1.8 1 2.9t2.6 1a6 6 0 0 0 3.6-1zm-52.9 1q-4.2-1-6.7-2.5l3.6-8.1a20 20 0 0 0 5.5 2.2 25 25 0 0 0 6.3.9q2.9 0 4-.6t1.3-1.7-1.5-1.6-4.6-1a46 46 0 0 1-7-1.2 11 11 0 0 1-4.8-3q-2-2.2-2-6.2a9 9 0 0 1 1.9-5.7q1.9-2.6 5.6-4t9-1.5a36 36 0 0 1 7.2.7q3.6.8 6 2.2l-3.5 8a20 20 0 0 0-9.7-2.5q-2.8 0-4.1.7t-1.3 1.7q0 1.2 1.4 1.6t4.7 1a53 53 0 0 1 7 1.4 11 11 0 0 1 4.8 3q2 2.2 2 6a9 9 0 0 1-2 5.8q-1.9 2.5-5.7 4t-9 1.4a36 36 0 0 1-8.4-1m-14.9-32.8q2.9-1.2 6.6-1.2v10.7l-2.7-.2q-3.8 0-6 2t-2 6.4v15.5h-12V37.8h11.4v4a11 11 0 0 1 4.7-3.5M157 32.2a6 6 0 0 1 0-9q2-1.8 5.3-1.8t5.2 1.7a6 6 0 0 1 2 4.4 6 6 0 0 1-2 4.7q-2 1.8-5.2 1.8t-5.3-1.8m-.7 5.6h11.9v33.8h-11.9zm-25.9-.4v9.7h19.3v9.5h-19.3v15H118V28h34.3v9.5zM49.5 0a49.5 49.5 0 1 0 0 99 49.5 49.5 0 0 0 0-99M28 76.5a7.2 7.2 0 1 1 7.2-7.2 7 7 0 0 1-7.2 7.2m21.5-20H37c-12.5 0-16.2 3.6-16.2 3.6v-3.6a14.4 14.4 0 0 1 14.4-14.4H64a14.4 14.4 0 0 1-14.4 14.4m28.8-16S74.7 37 62.1 37H49.5a14.4 14.4 0 0 1-14.4-14.3H64A14.4 14.4 0 0 1 78.4 37z"})))};function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t&lt;arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&amp;&amp;(e[i]=n[i])}return e}).apply(null,arguments)}var x=function(e){return h.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMin meet",viewBox:"0 0 70 70"},e),r||(r=h.createElement("circle",{cx:35,cy:35,r:34,fill:"#fb355e"})),o||(o=h.createElement("path",{fill:"#fff",d:"M54.7 29s-2.4-2.4-10.8-2.4h-8.3q-4.6-.1-7.3-3.3l-.2-.3a10 10 0 0 1-2-6h19c5.3 0 9.6 4.3 9.6 9.6zM17 39.6c0-5.4 4.3-9.7 9.5-9.7h19.1a9.7 9.7 0 0 1-9.5 9.7h-8.4c-8 0-10.5 2.2-10.7 2.4zm4.5 3.1c-2.5 0-4.5 2.2-4.5 5 0 2.6 2 4.8 4.5 4.8s4.5-2.2 4.5-4.9-2-4.9-4.5-4.9"})))};let v=s.IR.create(e=&gt;{let{theme:t}=e;return{fullBetaPosition:{marginTop:t.spacing(-.25)},markBetaPosition:{marginTop:t.spacing(-.5)},container:{display:"flex"}}});function y(e){let{variant:t,width:n,...i}=e;return"mark"===t?(0,a.jsx)(x,{width:null!=n?n:35,...i}):(0,a.jsx)(f,{width:null!=n?n:130,...i})}function b(e){let{classes:t,cx:n}=v(),{variant:i="full",withBeta:r,width:o,height:s,className:c,...d}=e,{betaProps:u}=e;return u="full"===i?{...u,className:n(t.fullBetaPosition,null==u?void 0:u.className)}:{...u,className:n(t.markBetaPosition,null==u?void 0:u.className)},(0,a.jsxs)(l.Z,{...d,className:n(t.container,c),children:[(0,a.jsx)(y,{variant:i,width:o,height:s}),r&amp;&amp;(0,a.jsx)(p,{...u})]})}},97709:function(e,t,n){"use strict";n.d(t,{default:function(){return N}});var i=n(61247),r=n(51748),o=n(66250),a=n(84812),s=n(96002),l=n(60485),c=n(88886),d=n(74437),u=n(46309),p=n(70341),h=n(95788),m=n(86408),f=n(23818),g=n(71483),x=n(52454),v=n(96225),y=n(36933),b=n(27043),j=n(19496),k=n(68434),Z=n(2659),C=n(32011),w=n(58824),S=n(37447),I=n(39207),E=n(69699),P=n(547),T=n(12249);function M(e){let{me:t,setTab:n}=e,{locale:o}=(0,P.b)(),a=(0,E.a)(),{loginMethod:l,name:c,email:u,avatar:p}=(0,h.d)(t);return(0,i.jsxs)("div",{children:[(0,i.jsxs)(f.Z,{children:[(0,i.jsx)(g.Z,{children:(0,i.jsx)(s.Z,{variant:"rounded",src:p||""})}),(0,i.jsx)(x.Z,{primary:u||c,secondary:"(".concat(l,")")})]}),(0,i.jsx)(v.Z,{}),(0,i.jsxs)(f.Z,{component:d.default,href:"/account",children:[(0,i.jsx)(y.Z,{children:(0,i.jsx)(j.Z,{})}),(0,i.jsx)(x.Z,{children:(0,i.jsx)(m.Z,{id:"account.info"})})]}),(0,i.jsxs)(f.Z,{onClick:()=&gt;n("language"),children:[(0,i.jsx)(y.Z,{children:(0,i.jsx)(k.Z,{})}),(0,i.jsx)(x.Z,{children:(0,i.jsxs)(r.Z,{direction:"row",children:[(0,i.jsx)(m.Z,{id:"account.language"}),(0,i.jsxs)(b.Z,{children:[": ",T.Q.Locale.languageMap[o]]})]})}),(0,i.jsx)(Z.default,{})]}),(0,i.jsxs)(f.Z,{component:d.default,href:"/donation",children:[(0,i.jsx)(y.Z,{children:(0,i.jsx)(C.default,{})}),(0,i.jsx)(x.Z,{children:(0,i.jsx)(m.Z,{id:"donation.manage"})})]}),(0,i.jsxs)(f.Z,{onClick:()=&gt;a(),children:[(0,i.jsx)(y.Z,{children:(0,i.jsx)(w.Z,{})}),(0,i.jsx)(x.Z,{children:(0,i.jsx)(m.Z,{id:"auth.logout"})})]}),(0,i.jsx)(v.Z,{}),(0,i.jsxs)(f.Z,{component:"a",href:"https://help.firstory.me",target:"_blank",children:[(0,i.jsx)(y.Z,{children:(0,i.jsx)(S.Z,{})}),(0,i.jsx)(x.Z,{children:(0,i.jsx)(m.Z,{id:"general.helpCenter"})})]}),(0,i.jsxs)(f.Z,{component:"a",href:"https://studio.firstory.me/support",target:"_blank",children:[(0,i.jsx)(y.Z,{children:(0,i.jsx)(I.Z,{})}),(0,i.jsx)(x.Z,{children:(0,i.jsx)(m.Z,{id:"general.contactUs"})})]})]})}var O=n(40561),A=n(52978);function L(e){let{onBack:t}=e,{locale:n,setLocale:o}=(0,P.b)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.Z,{direction:"row",alignItems:"center",spacing:1,p:1,children:[(0,i.jsx)(a.Z,{onClick:t,children:(0,i.jsx)(O.Z,{})}),(0,i.jsx)(b.Z,{variant:"h6",children:(0,i.jsx)(m.Z,{id:"account.language"})})]}),(0,i.jsx)(r.Z,{my:1,children:(0,i.jsx)(v.Z,{})}),T.Q.Locale.list.map(e=&gt;(0,i.jsxs)(f.Z,{onClick:()=&gt;{o(e)},sx:{height:40},children:[n===e&amp;&amp;(0,i.jsx)(g.Z,{sx:{minWidth:36,display:"flex"},children:(0,i.jsx)(A.Z,{fontSize:"small"})}),(0,i.jsx)(x.Z,{inset:n!==e,children:T.Q.Locale.languageMap[e]})]},e))]})}var R=n(65567),D=n(5191);function N(){let e=(0,p.Z)(),t=(0,D.p)(),n=(0,R.Z)(),m=(0,u.usePathname)(),f=(0,c.useRef)(null),[g,x]=(0,c.useState)("main"),{name:v,avatar:y}=(0,h.d)(t),b={main:(0,i.jsx)(M,{me:t,setTab:x}),language:(0,i.jsx)(L,{onBack:()=&gt;x("main")})};return t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.Z,{size:"small",onClick:n.open,children:(0,i.jsx)(s.Z,{sx:{width:36,height:36},ref:f,alt:v||void 0,src:y||void 0})}),(0,i.jsx)(l.Z,{anchorEl:f.current,open:n.isOpen,onClose:()=&gt;{n.close(),x("main")},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},MenuListProps:{sx:{minWidth:300}},children:b[g]})]}):(0,i.jsxs)(r.Z,{spacing:1,p:2,direction:"row",children:[(0,i.jsx)(o.Z,{sx:{borderRadius:8},variant:"contained",component:d.default,href:"/signup?next=".concat(encodeURIComponent(m)),children:e.formatMessage({id:"auth.signup"})}),(0,i.jsx)(o.Z,{sx:{borderRadius:8},component:d.default,href:"/login?next=".concat(encodeURIComponent(m)),children:e.formatMessage({id:"auth.login"})})]})}},2543:function(e,t,n){"use strict";n.d(t,{default:function(){return l}});var i=n(61247),r=n(75368),o=n(82847),a=n(85913),s=n(76331);function l(){let{player:e}=(0,s.m)(),{nowPlaying:t}=e;return(0,i.jsx)(r.Z,{direction:"up",in:!!t,mountOnEnter:!0,unmountOnExit:!0,children:(0,i.jsx)(o.Z,{children:(0,i.jsx)(a.Z,{getEpisodeLink:e=&gt;"/story/".concat(null==e?void 0:e.episode.id),getParentLink:e=&gt;"/user/".concat(null==e?void 0:e.parent.urlSlug),getImageUrl:e=&gt;(null==e?void 0:e.episode.imageUrl)||(null==e?void 0:e.parent.imageUrl)||""})})})}},85913:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var i=n(61247),r=n(4852),o=n(15982),a=n(12909),s=n(51748),l=n(96002),c=n(27043),d=n(82847),u=n(84812),p=n(93348),h=n(76331),m=n(21495),f=n(70140),g=n(66250),x=n(74437),v=n(67775),y=n(78999);function b(e){var t;let{nowPlaying:n,titleLink:a,subtitleLink:b,imageUrl:j,onClose:k}=e,{player:Z}=(0,h.m)(),{audio:C,forwardMs:w,currentTimeSlider:S}=Z;return(0,i.jsx)(f.Z,{maxWidth:"sm",sx:{height:"100%"},children:(0,i.jsxs)(s.Z,{height:"100%",children:[(0,i.jsx)(s.Z,{direction:"row",pt:2,children:(0,i.jsx)(u.Z,{size:"large",onClick:k,children:(0,i.jsx)(m.Z,{fontSize:"large"})})}),(0,i.jsx)(s.Z,{direction:"column",alignItems:"center",justifyContent:"center",position:"relative",flex:2,children:(0,i.jsx)(l.Z,{variant:"rounded",alt:(null==n?void 0:n.episode.title)||"",style:{width:"80%",height:"80%",maxWidth:250,maxHeight:200},slotProps:{img:{style:{objectFit:"contain"}}},src:j})}),(0,i.jsxs)(s.Z,{direction:"column",alignItems:"center",justifyContent:"space-around",flex:3,children:[(0,i.jsxs)(d.Z,{width:"100%",children:[(0,i.jsx)(c.Z,{variant:"body2",color:"textSecondary",children:null===(t=n.episode.publishedAt)||void 0===t?void 0:t.substring(0,10)}),(0,i.jsx)("div",{children:(0,i.jsx)(c.Z,{variant:"h6",component:x.default,href:a,sx:{"&amp;:hover":{textDecoration:"underline"}},onClick:k,children:n.episode.title})}),(0,i.jsx)("div",{children:(0,i.jsx)(c.Z,{color:"textSecondary",component:x.default,href:b,sx:{"&amp;:hover":{textDecoration:"underline"}},onClick:k,children:n.parent.title})})]}),(0,i.jsxs)(d.Z,{py:1,width:"100%",children:[(0,i.jsx)(s.Z,{direction:"row",width:"100%",spacing:1,alignItems:"center",children:(0,i.jsx)(d.Z,{flex:1,marginTop:"-8px !important",children:(0,i.jsx)(p.Z,{value:S.value,max:C.state.durationMs,onSliderChange:S.onChange,onSliderChangeCommitted:S.onChangeCommitted})})}),(0,i.jsxs)(s.Z,{direction:"row",width:"100%",alignItems:"center",children:[(0,i.jsx)(c.Z,{variant:"caption",color:"textSecondary",children:(0,y.zh)(S.value/1e3)}),(0,i.jsx)(d.Z,{flex:1}),(0,i.jsx)(c.Z,{variant:"caption",color:"textSecondary",children:(0,y.zh)(C.state.durationMs/1e3)})]})]}),(0,i.jsxs)(s.Z,{direction:"row",width:"100%",children:[(0,i.jsx)(d.Z,{flex:1}),(0,i.jsx)(s.Z,{flex:1,alignItems:"center",justifyContent:"center",children:(0,i.jsx)(u.Z,{onClick:()=&gt;w(-1e4),children:(0,i.jsx)(r.Z,{})})}),(0,i.jsx)(s.Z,{flex:1,alignItems:"center",justifyContent:"center",children:(0,i.jsx)(v.Z,{fontSize:"large",isLoading:C.state.isLoading,isPlaying:C.state.isPlaying,onClick:()=&gt;C.controls.toggle()})}),(0,i.jsx)(s.Z,{flex:1,alignItems:"center",justifyContent:"center",children:(0,i.jsx)(u.Z,{onClick:()=&gt;w(1e4),children:(0,i.jsx)(o.Z,{})})}),(0,i.jsx)(d.Z,{flex:1})]}),(0,i.jsx)(s.Z,{py:1,direction:"row",width:"100%",spacing:1,alignItems:"center",justifyContent:"center",children:[.5,1,1.5,2].map(e=&gt;(0,i.jsxs)(g.Z,{size:"small",onClick:()=&gt;C.controls.setSpeed(e),variant:e===C.state.speed?"contained":void 0,children:["\xd7",e]},e))})]})]})})}var j=n(52367),k=n(75368),Z=n(98403);function C(e){let{open:t,children:n,onClose:r}=e;return(0,i.jsx)(j.Z,{open:t,onClose:r,children:(0,i.jsx)(k.Z,{direction:"up",in:t,mountOnEnter:!0,unmountOnExit:!0,children:(0,i.jsx)(Z.Z,{sx:{width:"100%",height:"100%"},children:n})})})}function w(e){let{nowPlaying:t,open:n,titleLink:r,subtitleLink:o,imageUrl:a,onClose:s}=e;return t?(0,i.jsx)(C,{open:n,onClose:s,children:(0,i.jsx)(b,{nowPlaying:t,onClose:s,titleLink:r,subtitleLink:o,imageUrl:a})}):null}var S=n(88886),I=n(60485),E=n(23818);function P(e){let{speed:t,setSpeed:n}=e,[r,o]=(0,S.useState)(null),a=()=&gt;{o(null)},s=e=&gt;{a(),n(e)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(g.Z,{size:"small",onClick:e=&gt;{o(e.currentTarget)},children:["\xd7",t]}),(0,i.jsx)(I.Z,{anchorEl:r,open:!!r,onClose:a,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},children:[.5,1,1.5,2].map(e=&gt;(0,i.jsxs)(E.Z,{onClick:()=&gt;s(e),children:["\xd7",e]},e))})]})}var T=n(65567);function M(e){let{getEpisodeLink:t,getParentLink:n,getImageUrl:m}=e,{player:f}=(0,h.m)(),g=(0,T.Z)(),{nowPlaying:x,audio:b,forwardMs:j,currentTimeSlider:k}=f,Z=(null==t?void 0:t(x))||"#",C=(null==n?void 0:n(x))||"#",S=(null==m?void 0:m(x))||"";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s.Z,{direction:"row",alignItems:"stretch",height:90,position:"relative",children:[(0,i.jsx)(s.Z,{pl:2,mr:2,alignItems:"center",justifyContent:"center",sx:{cursor:"pointer"},onClick:g.open,children:(0,i.jsx)(l.Z,{variant:"rounded",alt:(null==x?void 0:x.episode.title)||"",sx:{height:50,width:50},slotProps:{img:{style:{objectFit:"contain"}}},src:S})}),(0,i.jsxs)(s.Z,{justifyContent:"center",mr:2,sx:{flex:1,"@media(min-width:600px)":{flex:"unset",width:240},cursor:"pointer"},onClick:g.open,children:[x?(0,i.jsx)(c.Z,{fontWeight:"bold",sx:{display:"-webkit-box",WebkitLineClamp:"1",WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis"},children:null==x?void 0:x.episode.title}):null,x?(0,i.jsx)(c.Z,{variant:"body2",sx:{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",opacity:.8},children:null==x?void 0:x.parent.title}):null]}),(0,i.jsxs)(s.Z,{pr:2,spacing:.5,justifyContent:"center",sx:{alignItems:"flex-end","@media(min-width:600px)":{flex:1,alignItems:"center"}},children:[(0,i.jsxs)(s.Z,{spacing:1,direction:"row",alignItems:"center",justifyContent:"center",children:[(0,i.jsx)(d.Z,{sx:{"@media(max-width:600px)":{display:"none"}},children:(0,i.jsx)(u.Z,{onClick:()=&gt;j(-1e4),children:(0,i.jsx)(r.Z,{})})}),(0,i.jsx)(d.Z,{children:(0,i.jsx)(v.Z,{variant:"contained",isLoading:b.state.isLoading,isPlaying:b.state.isPlaying,onClick:()=&gt;b.controls.toggle()})}),(0,i.jsx)(d.Z,{sx:{"@media(max-width:600px)":{display:"none"}},children:(0,i.jsx)(u.Z,{onClick:()=&gt;j(1e4),children:(0,i.jsx)(o.Z,{})})}),(0,i.jsx)(d.Z,{sx:{"@media(max-width:600px)":{display:"none"}},children:(0,i.jsx)(P,{speed:b.state.speed,setSpeed:b.controls.setSpeed})})]}),(0,i.jsxs)(s.Z,{direction:"row",width:"100%",spacing:1,alignItems:"center",sx:{"@media(max-width:600px)":{display:"none"}},children:[(0,i.jsx)(c.Z,{variant:"caption",sx:{opacity:.8},children:(0,y.zh)(k.value/1e3)}),(0,i.jsx)(d.Z,{flex:1,marginTop:"-8px !important",children:(0,i.jsx)(p.Z,{value:k.value,max:b.state.durationMs,onSliderChange:k.onChange,onSliderChangeCommitted:k.onChangeCommitted})}),(0,i.jsx)(c.Z,{variant:"caption",sx:{opacity:.8},children:(0,y.zh)(b.state.durationMs/1e3)})]})]}),(0,i.jsx)(s.Z,{alignItems:"center",justifyContent:"center",sx:{p:1,"@media(min-width:600px)":{p:2}},children:(0,i.jsx)(u.Z,{onClick:g.open,children:(0,i.jsx)(a.Z,{})})})]}),(0,i.jsx)(w,{nowPlaying:x,open:g.isOpen,titleLink:Z,subtitleLink:C,imageUrl:S,onClose:g.close})]})}},76331:function(e,t,n){"use strict";n.d(t,{WebPlayerProvider:function(){return l},m:function(){return s}});var i=n(61247),r=n(45719),o=n(62825);let[a,s]=(0,r.Z)("useWebPlayer must be used within WebPlayerProvider");function l(e){let{children:t}=e,n=(0,o.Z)();return(0,i.jsx)(a,{value:{player:n},children:t})}},93348:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(61247),r=n(83350),o=n(86045);function a(e){let{max:t,value:n,onSliderChange:a,onSliderChangeCommitted:s}=e,l=(0,r.Z)();return(0,i.jsx)(o.ZP,{max:t,value:n,onChange:a,onChangeCommitted:s,sx:{padding:"0 !important","&amp; .MuiSlider-rail":{height:8,borderRadius:5,backgroundColor:l.palette.primary.main},"&amp; .MuiSlider-track":{height:5,borderRadius:5,backgroundColor:l.palette.primary.main,opacity:n&gt;0?1:0},"&amp; .MuiSlider-thumb":{display:"none"}}})}},74967:function(e,t,n){"use strict";var i=n(28070);let r="5.0331.0941-ae7d163",o="firstory-webplayer",a={hosting:"https://prod-api.firstory.me/hosting/v1/graphql",membership:"https://prod-api.firstory.me/membership/v1/graphql",trackPlay:"https://backend.endpoints.firstory-709db.cloud.goog",v1:"https://api-v1.firstory.me",apm:"https://staging-api.firstory.me/apm"},s={dev:{client:a,server:a},staging:{client:{hosting:"https://prod-api.firstory.me/hosting/v1/graphql",membership:"https://prod-api.firstory.me/membership/v1/graphql",trackPlay:"https://v1.firstory.me",v1:"https://api-v1.firstory.me",apm:"https://prod-api.firstory.me/apm"},server:{hosting:i.env.SERVER_HOSTING_ENDPOINT,membership:i.env.SERVER_MEMBERSHIP_ENDPOINT,trackPlay:i.env.SERVER_TRACK_PLAY_ENDPOINT,v1:i.env.SERVER_V1_ENDPOINT,apm:i.env.SERVER_APM_ENDPOINT}},prod:{client:{hosting:"https://prod-api.firstory.me/hosting/v1/graphql",membership:"https://prod-api.firstory.me/membership/v1/graphql",trackPlay:"https://v1.firstory.me",v1:"https://api-v1.firstory.me",apm:"https://prod-api.firstory.me/apm"},server:{hosting:i.env.SERVER_HOSTING_ENDPOINT,membership:i.env.SERVER_MEMBERSHIP_ENDPOINT,trackPlay:i.env.SERVER_TRACK_PLAY_ENDPOINT,v1:i.env.SERVER_V1_ENDPOINT,apm:i.env.SERVER_APM_ENDPOINT}}},l={dev:{serviceName:o,version:"dev-".concat(r),env:"dev",url:"http://localhost:3000",rssUrlBase:"https://feed.firstory.me/staging",siteUrlBase:"firstory.io",endpoints:s.dev,firebase:{apiKey:"AIzaSyANhw7kEbm7_CS1l1cEZybYeFb7EdDFuI4",authDomain:"firstory-dev-5a8e8.firebaseapp.com",databaseURL:"https://firstory-dev-5a8e8.firebaseio.com",projectId:"firstory-dev-5a8e8",storageBucket:"firstory-dev-5a8e8.appspot.com",messagingSenderId:"93689108236",dynamicLinkDomain:"firstorydev.page.link"},tappay:{appId:"15370",appKey:"app_RVI9GzD1hDlgr51uVIOr6nbjLVCpilXJoE8uMF2nL3tXcSW2EedjaZrAS7bJ",serverType:"sandbox"},googleMerchantId:"sandbox",googleClientId:"1052149404106-eie7ampd9jc2oc6da4llcrqfkkfd11rc.apps.googleusercontent.com",applePayMerchantId:"merchant.com.firstory",lineClientId:"2006732063",ga:"UA-113063265-3",fbAppId:"665576853857854",fbPixelId:"256901005598539",mixpanelToken:"99a374a10235aac74deea8c20c157dd2",spotifyOpenAccessClientId:"246a81a8122e4354a8281c47be2ef1c2",hcaptchaSiteKey:"a6bcbc93-794e-4e3d-9469-a92f67ead639",discordClientId:"1125704038831358014"},staging:{serviceName:o,version:"staging-".concat(r),env:"staging",url:"https://open-beta.firstory.me",rssUrlBase:"https://feed.firstory.me/staging",siteUrlBase:"beta.firstory.io",endpoints:s.staging,firebase:{apiKey:"AIzaSyANhw7kEbm7_CS1l1cEZybYeFb7EdDFuI4",authDomain:"firstory-dev-5a8e8.firebaseapp.com",databaseURL:"https://firstory-dev-5a8e8.firebaseio.com",projectId:"firstory-dev-5a8e8",storageBucket:"firstory-dev-5a8e8.appspot.com",messagingSenderId:"93689108236",dynamicLinkDomain:"firstorydev.page.link"},tappay:{appId:"15370",appKey:"app_RVI9GzD1hDlgr51uVIOr6nbjLVCpilXJoE8uMF2nL3tXcSW2EedjaZrAS7bJ",serverType:"sandbox"},googleMerchantId:"sandbox",googleClientId:"1052149404106-eie7ampd9jc2oc6da4llcrqfkkfd11rc.apps.googleusercontent.com",applePayMerchantId:"merchant.com.firstory",lineClientId:"2006732063",ga:"UA-113063265-3",fbAppId:"665576853857854",fbPixelId:"256901005598539",mixpanelToken:"99a374a10235aac74deea8c20c157dd2",spotifyOpenAccessClientId:"f06f3a86c00d43578c25a8f8887ae69f",hcaptchaSiteKey:"a6bcbc93-794e-4e3d-9469-a92f67ead639",discordClientId:"1125704038831358014"},prod:{serviceName:o,version:r,env:"prod",url:"https://open.firstory.me",rssUrlBase:"https://feed.firstory.me",siteUrlBase:"firstory.io",endpoints:s.prod,firebase:{apiKey:"AIzaSyAhUYupQ-NV4okBivsxci49V4pi4CA3wxE",authDomain:"firstory-709db.firebaseapp.com",databaseURL:"https://firstory-709db.firebaseio.com",projectId:"firstory-709db",storageBucket:"firstory-709db.appspot.com",messagingSenderId:"1052149404106",dynamicLinkDomain:"link.firstory.me"},tappay:{appId:"15370",appKey:"app_RVI9GzD1hDlgr51uVIOr6nbjLVCpilXJoE8uMF2nL3tXcSW2EedjaZrAS7bJ",serverType:"production"},googleMerchantId:"13403442244508269400",googleClientId:"1052149404106-40muguucti2unen8g9v0jdimap0r69ag.apps.googleusercontent.com",lineClientId:"2006732063",applePayMerchantId:"merchant.com.firstory",ga:"UA-113063265-3",fbAppId:"1373748122771244",fbPixelId:"256901005598539",mixpanelToken:"1fa276e4e72e21867df7c429e861eecf",spotifyOpenAccessClientId:"246a81a8122e4354a8281c47be2ef1c2",hcaptchaSiteKey:"a6bcbc93-794e-4e3d-9469-a92f67ead639",discordClientId:"1125704038831358014"}}.prod;t.default=l},12249:function(e,t,n){"use strict";var i,r,o,a,s,l,c,d,u,p,h,m,f,g,x,v,y,b,j,k,Z,C,w,S,I,E,P,T,M,O,A,L,R,D,N,q;n.d(t,{Q:function(){return i}}),((r=i||(i={})).Theme||(r.Theme={})).tomato="#fb355e",(o=r.Key||(r.Key={})).locale="@firstory/locale",o.token="@firstory/token",o.cookieOptions="@firstory/cookie-options",o.nowPlayingCheckpoint="@firstory/now-playing-checkpoint",(a=r.Locale||(r.Locale={})).en="en",a.zh="zh",a.ja="ja",a.list=[a.en,a.zh,a.ja],a.languageMap={[a.en]:"English",[a.zh]:"中文",[a.ja]:"日本語"},a.isSupportedLocale=function(e){return a.list.includes(e)},(l=(s=r.Ad||(r.Ad={})).Status||(s.Status={})).disable=0,l.enable=1,l.running=2,(d=(c=s.Campaign||(s.Campaign={})).Status||(c.Status={})).cancel=0,d.start=1,(p=(u=r.AudioEditor||(r.AudioEditor={})).Type||(u.Type={})).single=1,p.multiple=2,(m=(h=r.AudioBlock||(r.AudioBlock={})).Type||(h.Type={})).main=1,m.sharing=2,m.ad=3,(g=(f=r.MusicPicker||(r.MusicPicker={})).Type||(f.Type={})).track=1,g.album=2,g.artist=3,(v=(x=r.Show||(r.Show={})).ImportStatus||(x.ImportStatus={})).pending=1,v.hasRedirect=2,v.success=3,(y=x.ExternalLink||(x.ExternalLink={})).custom=1,y.facebook=2,y.instagram=3,y.twitter=4,y.linkedIn=5,y.medium=6,y.youtube=7,y.discord=8,y.line=0,y.list=[y.custom,y.facebook,y.instagram,y.twitter,y.linkedIn,y.medium,y.youtube,y.discord],y.nonCustomList=[y.facebook,y.instagram,y.twitter,y.linkedIn,y.medium,y.youtube,y.discord],y.Title={[y.custom]:"Custom",[y.facebook]:"Facebook",[y.instagram]:"Instagram",[y.twitter]:"Twitter",[y.linkedIn]:"LinkedIn",[y.medium]:"Medium",[y.youtube]:"YouTube",[y.discord]:"Discord",[y.line]:"Line"},(j=(b=r.Episode||(r.Episode={})).EpisodeType||(b.EpisodeType={})).full=1,j.trailer=2,j.bonus=3,j.map={1:"full",2:"trailer",3:"bonus",full:j.full,trailer:j.trailer,bonus:j.bonus},(Z=(k=b.DynamicInsertion||(b.DynamicInsertion={})).Status||(k.Status={})).error=0,Z.running=1,Z.success=2,(w=(C=r.Comment||(r.Comment={})).CommentType||(C.CommentType={})).text=1,w.audio=2,(S=C.TargetType||(C.TargetType={})).show="show",S.episode="episode",S.comment="comment",S.voicemail="voicemail",(E=(I=r.Distribution||(r.Distribution={})).Platform||(I.Platform={})).apple=1,E.breaker=2,E.castbox=3,E.castro=4,E.google=5,E.kkbox=6,E.overcast=7,E.playerfm=8,E.pocketcast=9,E.podcastaddict=10,E.radiopublic=11,E.soundon=12,E.spotify=13,E.stitcher=14,E.amazon=15,E.noice=16,E.list=[E.spotify,E.apple,E.kkbox,E.pocketcast,E.castbox,E.castro,E.overcast,E.playerfm,E.podcastaddict,E.radiopublic,E.soundon,E.stitcher,E.amazon,E.noice],E.deprecated={[E.breaker]:!0},E.supportAutoShowDistribution=[E.kkbox,E.pocketcast,E.spotify],E.supportAutoShowChecking=[E.apple,E.castbox,E.castro,E.kkbox,E.overcast,E.pocketcast,E.spotify],E.supportAutoEpisodeChecking=[E.spotify,E.apple,E.kkbox],E.Title={[E.amazon]:"Amazon Music",[E.apple]:"Apple Podcasts",[E.breaker]:"Breaker",[E.castbox]:"Castbox",[E.castro]:"Castro",[E.google]:"Google Podcasts",[E.kkbox]:"KKBOX",[E.noice]:"Noice",[E.overcast]:"Overcast",[E.playerfm]:"Player FM",[E.pocketcast]:"Pocket Casts",[E.podcastaddict]:"Podcast Addict",[E.radiopublic]:"RadioPublic",[E.soundon]:"SoundOn",[E.spotify]:"Spotify",[E.stitcher]:"Stitcher"},(P=I.Status||(I.Status={})).notSupportCheckStatus=0,P.pending=1,P.submitted=2,P.active=3,P.error=4,(M=(T=r.Payment||(r.Payment={})).Provider||(T.Provider={})).example=0,M.stripe=1,M.tapPay=2,(O=T.MerchantProviderStatus||(T.MerchantProviderStatus={})).pending=0,O.active=1,O.inactive=2,O.trialing=3,(R=(L=(A=r.Membership||(r.Membership={})).Resource||(A.Resource={})).Type||(L.Type={})).episode=0,R.post=1,R.list=[R.episode,R.post],(q=(N=(D=r.Google||(r.Google={})).Ad||(D.Ad={})).Slot||(N.Slot={})).episodeDetail="3281283547",q.episodeListItem="9072666274",q.flinkBottom="1695920893",q.home="3899945233",q.listInfo="9491468670",q.notFound="4223648361",q.sidebar="7018166812"},5191:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var i=n(44579),r=n(57219);function o(){let{data:e}=(0,i.kJ)(r.t,{errorPolicy:"all"});return(0,r.b)(e)}},57219:function(e,t,n){"use strict";n.d(t,{b:function(){return a},t:function(){return o}});var i=n(11393);function r(){let e=(0,i._)(["\n  query GetMe {\n    studioShowFindOne {\n      id\n      name\n      avatar\n      urlSlug\n    }\n    studioUserFindOne {\n      id\n      email\n      active\n      facebook {\n        fbName\n        email\n      }\n      apple {\n        email\n      }\n      google {\n        name\n        email\n        picture\n      }\n      line {\n        name\n        email\n        picture\n      }\n    }\n  }\n"]);return r=function(){return e},e}let o=(0,n(1624).Ps)(r());function a(e){let t=null==e?void 0:e.studioShowFindOne,n=null==e?void 0:e.studioUserFindOne;return t&amp;&amp;n?{show:t,user:n}:null}},45719:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(61247),r=n(88886);function o(e){let t=(0,r.createContext)(null);return[e=&gt;{let{children:n,value:r}=e;return(0,i.jsx)(t.Provider,{value:r,children:n})},()=&gt;{let n=(0,r.useContext)(t);if(null===n)throw Error(e);return n}]}},65567:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(88886);function r(){let e=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]&amp;&amp;arguments[0],t=arguments.length&gt;1?arguments[1]:void 0,{onOpen:n,onClose:r}=t||{},[o,a]=(0,i.useState)(e),s=(0,i.useCallback)(()=&gt;{a(e=&gt;e||(null==n||n(),!0))},[n]),l=(0,i.useCallback)(()=&gt;{a(e=&gt;e?(null==r||r(),!1):e)},[r]),c=(0,i.useCallback)(()=&gt;{o?l():s()},[l,s,o]);return{isOpen:o,open:s,close:l,toggle:c}}},547:function(e,t,n){"use strict";n.d(t,{LocaleProvider:function(){return p},b:function(){return u}});var i=n(61247),r=n(88886),o=n(76713),a=n(46309),s=n(45719),l=n(12249),c=n(6447);let[d,u]=(0,s.Z)("useLocale must be used within I18nProvider");function p(e){let{children:t,defaultLocale:n,defaultTranslation:s}=e,[u,p]=(0,r.useState)(s),h=(0,o.useCookies)(),m=(0,a.useRouter)(),[f,g]=(0,r.useState)(n);return(0,r.useEffect)(()=&gt;{(0,c.i)(f).then(e=&gt;{p(e)})},[f]),(0,i.jsx)(d,{value:{locale:f,setLocale:e=&gt;{h.set(l.Q.Key.locale,e),g(e),m.refresh()},defaultLocale:l.Q.Locale.en,translation:u,languageName:l.Q.Locale.languageMap[f]},children:t})}},6447:function(e,t,n){"use strict";n.d(t,{d:function(){return s},i:function(){return l}});var i=n(19168),r=n(61313),o=n(12249);let a=(0,i.Sn)();function s(e,t){return(0,r.d)({locale:t,messages:e},a)}async function l(e){return e&amp;&amp;o.Q.Locale.isSupportedLocale(e)?(await n(19499)("./".concat(e,".json"))).default:(await n.e(9571).then(n.t.bind(n,99571,19))).default}},41494:function(e,t,n){"use strict";n.d(t,{AS:function(){return l},cp:function(){return r},hA:function(){return s},uD:function(){return c},wx:function(){return d}});var i=n(83327);let r={fontFamily:'-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif'},o="#1db954",a=(0,i.Fq)(o,.7),s={main:o,light:(0,i.Fq)(a,.5),dark:(0,i.Fq)(a,.9),contrastText:"#fff"},l={main:"#000",light:"#f7f7f7",dark:"#333",contrastText:"#fff"},c={main:"#fff",light:"#f7f7f7",dark:"#333",contrastText:"#000"},d={MuiTab:{styleOverrides:{root:{textTransform:"none"}}},MuiTypography:{styleOverrides:{h1:{fontWeight:"bold"},h2:{fontWeight:"bold"},h3:{fontWeight:"bold"},h4:{fontWeight:"bold"},h5:{fontWeight:"bold"},h6:{fontWeight:"bold"}}},MuiButton:{styleOverrides:{root:{textTransform:"none"},contained:{boxShadow:"none","&amp;:active":{boxShadow:"none"},"&amp;:hover":{boxShadow:"none"},"&amp;.Mui-focusVisible":{boxShadow:"none"}}}},MuiFormHelperText:{styleOverrides:{contained:{marginLeft:0,marginRight:0}}},MuiPaper:{styleOverrides:{elevation:{boxShadow:"none"}}},MuiDialog:{styleOverrides:{paper:{borderRadius:16}}},MuiDialogActions:{styleOverrides:{root:{padding:16}}},MuiMenu:{styleOverrides:{paper:{borderRadius:12}}}}},99452:function(e,t,n){"use strict";n.r(t),n.d(t,{darkTheme:function(){return a},lightTheme:function(){return s}});var i=n(29924),r=n(12249),o=n(41494);let a=(0,i.Z)({typography:o.cp,palette:{primary:{main:r.Q.Theme.tomato},secondary:{main:"#3B4ACB",light:"#F2F8FF",dark:"#21209F"},error:{main:"#B00020"},spotify:o.hA,black:o.AS,white:o.uD,mode:"dark"},components:o.wx}),s=(0,i.Z)({typography:o.cp,palette:{primary:{main:r.Q.Theme.tomato},secondary:{main:"#3b4acb"},spotify:o.hA,black:o.AS,white:o.uD,success:{main:"#219564",light:"#C0FBD6",dark:"#1A6445"},error:{main:"#D22D2D",light:"#F6C8C8",dark:"#AA0B01"},warning:{main:"#F4C856",light:"#FDEBBA",dark:"#874400"},background:{default:"#fafafa"},mode:"light"},components:o.wx})},78999:function(e,t,n){"use strict";n.d(t,{_O:function(){return l},fU:function(){return s},zh:function(){return a}});var i=n(51110),r=n.n(i);function o(e){return e&lt;10?"0".concat(e):e.toString()}function a(e){return"".concat(o(Math.floor(e/3600)),":").concat(o(Math.floor(e%3600/60)),":").concat(o(Math.floor(e%60)))}function s(e){let t=e.split(":").map(e=&gt;parseInt(e,10));if(3===t.length){let[e,n,i]=t;return 3600*e+60*n+i}let[n,i]=t;return 60*n+i}function l(e,t){return r()(e,{whiteList:{div:[],a:["href","target","rel"],p:["style"],b:[],span:[],strong:[],em:[],br:[],ul:[],ol:[],li:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],img:["src","alt","width","height"]},css:{"text-align":!0},stripIgnoreTag:!0,stripIgnoreTagBody:["style","script"],onTagAttr(e,n,i){if("a"===e&amp;&amp;"rel"===n&amp;&amp;(null==t?void 0:t.ugc))return"".concat(n,'="').concat(i+" ugc",'"')}}).trim()}}}]);</pre></body></html>