1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="a9c07adb-2877-d07e-7b48-ce21eeca968f")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,408954,e=>{"use strict";var t=e.i(271645);e.s(["useMutationObserver",0,(e,a,i={attributes:!0,characterData:!0,childList:!0,subtree:!0})=>{t.useEffect(()=>{if(e.current){let t=new MutationObserver(a);return t.observe(e.current,i),()=>t.disconnect()}},[e,a,i])}])},617218,e=>{"use strict";var t=e.i(500932),a=e.i(682635),i=e.i(890327);e.s(["default",0,()=>{let e,l,s=(0,t.c)(8),{isOverlayOpen:o,zIndexOfOverlay:r,closeOverlay:n,openOverlay:d,overlayMeta:c}=(0,a.useOverlay)(i.OverlayKey.paywall);s[0]!==d?(e=e=>{let t=e.utmQuery??"";d(void 0,{meta:e,utmHash:`${i.OverlayKey.paywall}${t}`})},s[0]=d,s[1]=e):e=s[1];let u=e,m=o&&!!c;return s[2]!==n||s[3]!==u||s[4]!==c||s[5]!==m||s[6]!==r?(l={open:u,close:n,zIndex:r,meta:c,isOpen:m},s[2]=n,s[3]=u,s[4]=c,s[5]=m,s[6]=r,s[7]=l):l=s[7],l}])},804399,e=>{"use strict";var t=e.i(843476),a=e.i(500932);e.i(785269);var i=e.i(322831),l=e.i(361916),s=e.i(860741),o=e.i(858963),r=e.i(682635),n=e.i(890327),d=e.i(130102),c=e.i(461912),u=e.i(675948),m=e.i(279433);e.s(["default",0,e=>{let y,p,_,h,v,f,x,g,k,w,j,N,b,C,S,O,P,T,L,K=(0,a.c)(51),{t:A}=(0,i.useTranslation)(),{isOverlayOpen:I,zIndexOfOverlay:E,closeOverlay:D}=(0,r.useOverlay)(e.type);K[0]!==A?(y=A("downloads.cta"),K[0]=A,K[1]=y):y=K[1],K[2]!==y?(p={title:"",body:y},K[2]=y,K[3]=p):p=K[3],K[4]!==A?(_=A("bookmarks.cta"),K[4]=A,K[5]=_):_=K[5],K[6]!==_?(h={title:"",body:_},K[6]=_,K[7]=h):h=K[7],K[8]!==A?(v=A("app.ctaShort"),K[8]=A,K[9]=v):v=K[9],K[10]!==A?(f=A("app.ctaLong"),K[10]=A,K[11]=f):f=K[11],K[12]!==v||K[13]!==f?(x={title:v,body:f},K[12]=v,K[13]=f,K[14]=x):x=K[14],K[15]!==A?(g=A("tags.cta"),K[15]=A,K[16]=g):g=K[16],K[17]!==g?(k={title:"",body:g},K[17]=g,K[18]=k):k=K[18],K[19]!==A?(w=A("show.cta"),K[19]=A,K[20]=w):w=K[20],K[21]!==w?(j={title:"",body:w},K[21]=w,K[22]=j):j=K[22],K[23]!==p||K[24]!==j||K[25]!==h||K[26]!==x||K[27]!==k?(N={[n.OverlayKey.login_to_download]:p,[n.OverlayKey.login_to_bookmark]:h,[n.OverlayKey.download_app]:x,[n.OverlayKey.login_to_subscribe_tag]:k,[n.OverlayKey.login_to_subscribe_show]:j},K[23]=p,K[24]=j,K[25]=h,K[26]=x,K[27]=k,K[28]=N):N=K[28];let F=N[e.type];K[29]===Symbol.for("react.memo_cache_sentinel")?(b=[n.OverlayKey.login_to_download,n.OverlayKey.login_to_bookmark,n.OverlayKey.login_to_subscribe_tag,n.OverlayKey.login_to_subscribe_show],K[29]=b):b=K[29];let B=b;return K[30]!==D||K[31]!==F.title?(C=(0,t.jsx)(d.default,{title:F.title,onClose:D}),K[30]=D,K[31]=F.title,K[32]=C):C=K[32],K[33]!==F.body?(S=(0,t.jsx)("p",{className:"align-center",children:(0,t.jsx)("b",{children:F.body})}),K[33]=F.body,K[34]=S):S=K[34],K[35]!==D||K[36]!==e.type||K[37]!==A?(O=B.includes(e.type)&&(0,t.jsxs)(m.default,{layout:"vertical",children:[(0,t.jsx)(c.default,{title:A("userHub.login"),onClick:()=>{D(),(0,u.initLogin)()},theme:"primary"}),(0,t.jsx)(c.default,{title:A("userHub.register"),onClick:()=>{D(),(0,u.initRegister)()}})]}),K[35]=D,K[36]=e.type,K[37]=A,K[38]=O):O=K[38],K[39]!==C||K[40]!==S||K[41]!==O?(P=(0,t.jsxs)(s.default,{width:"narrow",theme:"lightest",children:[C,S,O]}),K[39]=C,K[40]=S,K[41]=O,K[42]=P):P=K[42],K[43]!==D||K[44]!==P?(T=(0,t.jsx)(l.default,{size:"small",onClose:D,children:P}),K[43]=D,K[44]=P,K[45]=T):T=K[45],K[46]!==D||K[47]!==I||K[48]!==T||K[49]!==E?(L=(0,t.jsx)(o.default,{isOpen:I,onClose:D,layout:"default",zIndex:E,hideClose:!0,children:T}),K[46]=D,K[47]=I,K[48]=T,K[49]=E,K[50]=L):L=K[50],L}])},630919,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(358544),l=e.i(838007),s=e.i(45356),o=e.i(804399),r=e.i(890327),n=e.i(682635),d=e.i(617218),c=e.i(598389),u=e.i(870793);let m=(0,a.createContext)({podcasts:[],download:()=>void 0,remove:()=>void 0,downloadStatus:()=>null,itemDownloaded:()=>!1,enabled:!1});e.s(["PodcastStorageContext",0,m,"default",0,({children:e})=>{let{api:y}=(0,l.default)(i.NativeApiType.storage),{user:p}=(0,a.useContext)(s.AuthContext),{channelId:_}=(0,a.useContext)(c.SiteContext),{openOverlay:h}=(0,n.useOverlay)(r.OverlayKey.login_to_download),{openOverlay:v}=(0,n.useOverlay)(r.OverlayKey.download_app),{open:f}=(0,d.default)(),[x,g]=(0,a.useState)([]),[k,w]=(0,a.useState)({}),j=(0,a.useMemo)(()=>(0,u.downloadsEnabled)(_),[]),N=async e=>{try{let t=await y.getDownloadStatus(e);
2switch(t?.status){case"pending":return{loading:!0};case"downloading":return{progress:Math.round(t.downloadedBytes/t.totalBytes*100)};case"completed":return{success:!0,loading:!1};case"failed":return{failed:!0,loading:!1}}}catch{}return{loading:!1,failed:!1,progress:0}},b=async e=>{let t={};for(let a of e)t[a]=await N(a);w(e=>(Object.entries(t).forEach(([t,a])=>{let i=e[t];i&&(e[t]={...i,...a})}),{...e}))},C=e=>k[e]||null;return(0,a.useEffect)(()=>{let e,t=Object.entries(k).filter(([,e])=>e.loading).map(([e])=>e);return t.length&&(e=setTimeout(()=>void b(t),200)),()=>{clearTimeout(e)}},[k]),(0,a.useEffect)(()=>{if(!y||!p)return;let e=!1;return y.getPodcasts().then(t=>{!e&&t?.length&&g(t.map(e=>({...e,type:"podcastDownload"})))}).catch(()=>{}),()=>{e=!0}},[y,p]),(0,t.jsxs)(m.Provider,{value:{podcasts:x,download:e=>{if(y?p?!e.showPaywall||void f({id:e.meta.id,type:"podcast",permalink:e.meta.permalink,access:e.access}):void h():void v())try{y.downloadPodcast(e.meta),g(t=>[...t,e.meta]),w(t=>({...t,[e.meta.id]:{loading:!0,success:!1,progress:0,failed:!1}}))}catch{}},remove:e=>{try{y.deletePodcast(e),g(t=>t.filter(t=>t.id!==e))}catch{}},downloadStatus:C,itemDownloaded:e=>{let t=C(e);return x.some(t=>t.id===e)&&!t?.loading&&!t?.failed},enabled:j},children:[(0,t.jsx)(o.default,{type:r.OverlayKey.login_to_download}),(0,t.jsx)(o.default,{type:r.OverlayKey.download_app}),e]})}])},874332,e=>{"use strict";var t=e.i(843476),a=e.i(500932),i=e.i(271645),l=e.i(343794),s=e.i(166340),o=e.i(201135);let r=e=>{let r,d,c,u,m,y,p,_,h,v,f,x,g=(0,a.c)(48),[k,w]=i.useState(!1),j=i.useRef(null),N=e.value&&e.value.length>0,b="default"===e.size||!e.size,C="small"===e.size;g[0]!==k||g[1]!==e.className||g[2]!==e.disabled||g[3]!==e.hasError||g[4]!==N||g[5]!==b||g[6]!==C?(r=(0,l.default)("control-select",{"has-error":e.hasError,"has-value":N,focus:k,disabled:e.disabled,"size-default":b,"size-small":C},e.className),g[0]=k,g[1]=e.className,g[2]=e.disabled,g[3]=e.hasError,g[4]=N,g[5]=b,g[6]=C,g[7]=r):r=g[7];let S=e.style;g[8]!==k?(d=e=>{e.preventDefault(),j.current&&!k&&j.current.focus()},g[8]=k,g[9]=d):d=g[9],g[10]!==e.icon?(c=e.icon&&(0,t.jsx)(o.default,{width:24,height:24,kind:e.icon,wrapperClassName:"control-select__icon"}),g[10]=e.icon,g[11]=c):c=g[11],g[12]!==e.addOn?(u=e.addOn&&(0,t.jsx)("span",{className:"control-select__addon",children:e.addOn}),g[12]=e.addOn,g[13]=u):u=g[13];let O=e.selectStyle,P=e.value,T=e.disabled;g[14]!==e?(m=t=>{w(!0),e.onFocus&&e.onFocus(t)},y=t=>{w(!1),e.onBlur&&e.onBlur(t)},g[14]=e,g[15]=m,g[16]=y):(m=g[15],y=g[16]);
2let L=e.onChange,K=e.onKeyDown,A=e.onKeyUp,I=e.onClick;g[17]!==e?(p=t=>{e.selectRef&&e.selectRef(t),t&&(j.current=t,e.autoFocus&&window.requestAnimationFrame(()=>{t.focus()}))},g[17]=e,g[18]=p):p=g[18];let E=e.name,D=e.id,F=e.title,B=e.loading;return g[19]!==e.options?(_=e.options.map(n),g[19]=e.options,g[20]=_):_=g[20],g[21]!==e.disabled||g[22]!==e.id||g[23]!==e.loading||g[24]!==e.name||g[25]!==e.onChange||g[26]!==e.onClick||g[27]!==e.onKeyDown||g[28]!==e.onKeyUp||g[29]!==e.selectStyle||g[30]!==e.title||g[31]!==e.value||g[32]!==m||g[33]!==y||g[34]!==p||g[35]!==_?(h=(0,t.jsx)("div",{className:"control-select__holder",children:(0,t.jsx)("select",{style:O,className:"control-select__element",value:P,disabled:T,onFocus:m,onBlur:y,onChange:L,onKeyDown:K,onKeyUp:A,onClick:I,spellCheck:!1,ref:p,name:E,id:D,title:F,"aria-busy":B,children:_})}),g[21]=e.disabled,g[22]=e.id,g[23]=e.loading,g[24]=e.name,g[25]=e.onChange,g[26]=e.onClick,g[27]=e.onKeyDown,g[28]=e.onKeyUp,g[29]=e.selectStyle,g[30]=e.title,g[31]=e.value,g[32]=m,g[33]=y,g[34]=p,g[35]=_,g[36]=h):h=g[36],g[37]!==e.loading?(v=e.loading&&(0,t.jsx)("span",{className:"control-select__loader",children:(0,t.jsx)(s.default,{size:"tiny"})}),g[37]=e.loading,g[38]=v):v=g[38],g[39]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(o.default,{width:20,height:20,kind:"arrow-down",wrapperClassName:"control-select__arrow"}),g[39]=f):f=g[39],g[40]!==e.style||g[41]!==h||g[42]!==v||g[43]!==r||g[44]!==d||g[45]!==c||g[46]!==u?(x=(0,t.jsxs)("div",{className:r,style:S,onClick:d,role:"button",children:[c,u,h,v,f]}),g[40]=e.style,g[41]=h,g[42]=v,g[43]=r,g[44]=d,g[45]=c,g[46]=u,g[47]=x):x=g[47],x};function n(e,a){return(0,t.jsx)("option",{value:e.value,children:e.label},a)}r.displayName="ControlSelect",e.s(["default",0,r])},11679,e=>{"use strict";var t=e.i(843476),a=e.i(500932),i=e.i(271645),l=e.i(343794);e.i(785269);var s=e.i(322831),o=e.i(744232),r=e.i(720394),n=e.i(918112),d=e.i(857340),c=e.i(292441),u=e.i(201135);let m=e=>{let m,y,p,_,h,v,f,x,g,k,w,j,N,b,C=(0,a.c)(36),{liveShow:S}=(0,i.useContext)(o.PlayerContext),{onClick:O,playing:P}=(0,d.default)(e.media),{t:T}=(0,s.useTranslation)(),L=S?.start,K=S?.end,[A,I]=i.useState(0);C[0]!==K||C[1]!==L?(m=()=>{let e=L?Date.parse(L):NaN,t=K?Date.parse(K):NaN,a=Number.isFinite(e)&&Number.isFinite(t)&&t>e,i=()=>I(a?Math.min(100,Math.max(0,(Date.now()-e)/(t-e)*100)):0),l=requestAnimationFrame(i),s=a?setInterval(i,3e4):void 0;return()=>{cancelAnimationFrame(l),s&&clearInterval(s)}},y=[L,K],C[0]=K,C[1]=L,C[2]=m,C[3]=y):(m=C[2],y=C[3]),i.useEffect(m,y);let E=S?.show||e.media.title,D=(e.showTitle?S?.title:S?.description)||"";return C[4]!==e.className?(p=(0,l.default)("miniplayer","miniplayer__live-ticker",e.className),C[4]=e.className,C[5]=p):p=C[5],C[6]!==P||C[7]!==T?(_=T(P?"player.pause":"player.play"),C[6]=P,C[7]=T,C[8]=_):_=C[8],C[9]!==O||C[10]!==_?(h=(0,t.jsx)("button",{title:_,onClick:O,className:"miniplayer__live-ticker__overlay"}),C[9]=O,C[10]=_,C[11]=h):h=C[11],C[12]!==e.media?(v=(0,t.jsx)(r.default,{media:e.media}),C[12]=e.media,C[13]=v):v=C[13],C[14]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(n.default,{}),C[14]=f):f=C[14],C[15]!==E?(x=(0,t.jsx)("div",{className:"miniplayer__live-ticker__show",children:E}),C[15]=E,C[16]=x):x=C[16],C[17]!==D?(g=D&&(0,t.jsx)(c.default,{text:D}),C[17]=D,C[18]=g):g=C[18],C[19]!==x||C[20]!==g?(k=(0,t.jsxs)("div",{className:"miniplayer__live-ticker__texts",children:[x,g]}),C[19]=x,C[20]=g,C[21]=k):k=C[21],C[22]!==e.hideLogo?(w=!e.hideLogo&&(0,t.jsx)(u.default,{className:"miniplayer__live-ticker__logo",width:67,height:30,kind:"logotype-raadio"}),C[22]=e.hideLogo,C[23]=w):w=C[23],C[24]!==w||C[25]!==v||C[26]!==k?(j=(0,t.jsxs)("div",{className:"miniplayer__live-ticker__tools",children:[v,f,k,w]}),C[24]=w,C[25]=v,C[26]=k,C[27]=j):j=C[27],C[28]!==A||C[29]!==e.hideProgress?(N=!e.hideProgress&&(0,t.jsx)("div",{className:"miniplayer__live-ticker__progress",children:(0,t.jsx)("div",{style:{width:`${A}%`}})}),C[28]=A,C[29]=e.hideProgress,C[30]=N):N=C[30],C[31]!==j||C[32]!==N||C[33]!==p||C[34]!==h?(b=(0,t.jsxs)("div",{className:p,children:[h,j,N]}),C[31]=j,C[32]=N,C[33]=p,C[34]=h,C[35]=b):b=C[35],b};m.displayName="ArticleAudioTicker",e.s(["default",0,m])},207614,e=>{"use strict";var t=e.i(843476),a=e.i(500932),i=e.i(291365),l=e.i(271645),s=e.i(343794),o=e.i(377143),r=e.i(62899),n=e.i(915507),d=e.i(95187);let c=(0,d.createServerReference)("40b08cca0ca31ce2c10bb9917b9325ac2baf284f63",d.callServer,void 0,d.findSourceMapURL,"fetchVimeoVideo");var u=e.i(918112),m=e.i(720394),y=e.i(744232);let p=e=>{let i,s,o,r,n=(0,a.c)(8),{liveShow:d}=(0,l.useContext)(y.PlayerContext);n[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(u.default,{}),n[0]=i):i=n[0],n[1]!==e.media?(s=(0,t.jsx)(m.default,{media:e.media}),n[1]=e.media,n[2]=s):s=n[2];let c=d?.show||e.media.title;return n[3]!==c?(o=(0,t.jsx)("div",{className:"miniplayer__inline-audio__title",children:c}),n[3]=c,n[4]=o):o=n[4],n[5]!==s||n[6]!==o?(r=(0,t.jsxs)(l.Fragment,{children:[i,s,o]}),n[5]=s,n[6]=o,n[7]=r):r=n[7],r};var _=e.i(691196),h=e.i(558331);let v=e=>{let i,l,o,r=(0,a.c)(7);return r[0]!==e.className?(i=(0,s.default)("miniplayer","miniplayer__inline-audio",e.className),r[0]=e.className,r[1]=i):i=r[1],r[2]!==e.media?(l=(0,h.isLiveMedia)(e.media)?(0,t.jsx)(p,{media:e.media}):(0,t.jsx)(_.default,{type:"inline",media:e.media}),r[2]=e.media,r[3]=l):l=r[3],r[4]!==i||r[5]!==l?(o=(0,t.jsx)("div",{className:i,children:l}),r[4]=i,r[5]=l,r[6]=o):o=r[6],o};v.displayName="InlineAudioPlayer";let f={video:e=>{let i,d,u,m,y,p,_=(0,a.c)(21),{playVideo:h}=(0,r.useVideoContext)(),{media:v,loading:f,error:x}=((e,t)=>{let i,s,o,r=(0,a.c)(9),[n,d]=(0,l.useState)(e.hlsUrl?e:null),[u,m]=(0,l.useState)(!1),y=t&&!n&&!u;return r[0]!==e||r[1]!==n||r[2]!==t?(i=()=>
2{if(n||!t)return;let a=!1;return c(e.mediaUrl).then(t=>{if(a)return;let i=t?.play?.hls?.link;i?d({...e,hlsUrl:i}):m(!0)}).catch(()=>{a||m(!0)}),()=>{a=!0}},s=[t,e,n],r[0]=e,r[1]=n,r[2]=t,r[3]=i,r[4]=s):(i=r[3],s=r[4]),(0,l.useEffect)(i,s),r[5]!==u||r[6]!==y||r[7]!==n?(o={media:n,loading:y,error:u},r[5]=u,r[6]=y,r[7]=n,r[8]=o):o=r[8],o})(e.media,!0),g=v||e.media,{containerRef:k,portalNode:w,isActive:j,shouldShowPortal:N}=(0,n.default)(g),b=l.useRef(!1);if(_[0]!==h||_[1]!==v?(i=()=>{v&&!b.current&&(h(v),b.current=!0)},d=[v,h],_[0]=h,_[1]=v,_[2]=i,_[3]=d):(i=_[2],d=_[3]),l.useEffect(i,d),x||f||!v){let a,i;return _[4]!==e.className?(a=(0,s.default)("miniplayer","miniplayer__inline-video",e.className),_[4]=e.className,_[5]=a):a=_[5],_[6]!==a?(i=(0,t.jsx)("div",{className:a}),_[6]=a,_[7]=i):i=_[7],i}return _[8]!==j||_[9]!==e.className?(u=(0,s.default)("miniplayer","miniplayer__inline-video",{playing:j},e.className),_[8]=j,_[9]=e.className,_[10]=u):u=_[10],_[11]!==w||_[12]!==N?(m=N&&w?(0,t.jsx)(o.OutPortal,{node:w}):null,_[11]=w,_[12]=N,_[13]=m):m=_[13],_[14]!==e.slotBadges||_[15]!==m?(y=(0,t.jsxs)("div",{className:"miniplayer__inline-video__video",children:[m,e.slotBadges]}),_[14]=e.slotBadges,_[15]=m,_[16]=y):y=_[16],_[17]!==k||_[18]!==u||_[19]!==y?(p=(0,t.jsx)("div",{className:u,ref:k,children:y}),_[17]=k,_[18]=u,_[19]=y,_[20]=p):p=_[20],p},audio:v},x=e=>{let i,l=(0,a.c)(5),s=f[e.media.type];return l[0]!==s||l[1]!==e.className||l[2]!==e.media||l[3]!==e.slotBadges?(i=s?(0,t.jsx)(s,{media:e.media,className:e.className,slotBadges:e.slotBadges}):null,l[0]=s,l[1]=e.className,l[2]=e.media,l[3]=e.slotBadges,l[4]=i):i=l[4],i};x.displayName="InlinePlayer";var g=e.i(201135);e.i(785269);var k=e.i(322831),w=e.i(570029),j=e.i(866266),N=e.i(522016),b=e.i(527508),C=e.i(787731),S=e.i(874332);let O=e=>{let i,s,o,r,n,d,c=(0,a.c)(17),{t:u}=(0,k.useTranslation)(),{status:m,playerActions:p,isActiveMedia:_}=(0,l.useContext)(y.PlayerContext);c[0]!==u?(i=u("player.speed"),c[0]=u,c[1]=i):i=c[1];let h=i;if(c[2]!==h)s=["0.2","0.5","0.7","1.0","1.3","1.5","1.8","2.0"].map(e=>({label:`${h} ${e}x`,value:e})),c[2]=h,c[3]=s;else s=c[3];let v=s;c[4]!==_||c[5]!==p||c[6]!==e.media?(o=t=>{_(e.media)||p({action:"play",media:e.media}),p({action:"update",status:{playbackRate:t}})},c[4]=_,c[5]=p,c[6]=e.media,c[7]=o):o=c[7];let f=o,x=e.size||"small";return c[8]!==m.playbackRate?(r=m.playbackRate.toFixed(1),c[8]=m.playbackRate,c[9]=r):r=c[9],c[10]!==f?(n=e=>f(parseFloat(e.target.value)),c[10]=f,c[11]=n):n=c[11],c[12]!==v||c[13]!==x||c[14]!==r||c[15]!==n?(d=(0,t.jsx)(S.default,{size:x,value:r,onChange:n,options:v,className:"speed"}),c[12]=v,c[13]=x,c[14]=r,c[15]=n,c[16]=d):d=c[16],d};var P=e.i(279433),T=e.i(474950),L=e.i(510256),K=e.i(377819),A=e.i(461912),I=e.i(686862);let E=e=>{let i,l,s,o,r=(0,a.c)(14),{id:n}=e,{t:d}=(0,k.useTranslation)(),c=(0,I.default)();return r[0]!==c.podcast||r[1]!==n||r[2]!==d?(i=d(c.podcast.added(n)?"actions.removeBookmark":"actions.addBookmark"),r[0]=c.podcast,r[1]=n,r[2]=d,r[3]=i):i=r[3],r[4]!==c.podcast||r[5]!==n?(l=c.podcast.loading(n),r[4]=c.podcast,r[5]=n,r[6]=l):l=r[6],r[7]!==c.podcast||r[8]!==n?(s=()=>c.podcast.click(n),r[7]=c.podcast,r[8]=n,r[9]=s):s=r[9],r[10]!==i||r[11]!==l||r[12]!==s?(o=(0,t.jsx)(A.default,{title:i,iconRight:"bookmark",theme:"primary",loading:l,onClick:s}),r[10]=i,r[11]=l,r[12]=s,r[13]=o):o=r[13],o};var D=e.i(663656);let F=e=>{let i,o,r,n,d,c,u,y,p,_,v,f,x,g,S,A,I,F,B,R,M=(0,a.c)(53),{media:z,status:U,expanded:Q,setExpanded:$}=e,{t:q}=(0,k.useTranslation)();M[0]!==$?(i=()=>$(!1),M[0]=$,M[1]=i):i=M[1];let H=i;return M[2]!==Q?(o=(0,s.default)("miniplayer__sticky-audio__content__details",{expanded:Q}),M[2]=Q,M[3]=o):o=M[3],M[4]!==q?(r=q("player.close"),M[4]=q,M[5]=r):r=M[5],M[6]!==H||M[7]!==r?(n=(0,t.jsx)("div",{className:"miniplayer__sticky-audio__content__details__close",children:(0,t.jsx)(w.default,{title:r,icon:"close",onClick:H,size:"small",theme:"transparent"})}),M[6]=H,M[7]=r,M[8]=n):n=M[8],M[9]!==H||M[10]!==z.permalink||M[11]!==z.title?(d=(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"miniplayer__sticky-audio__content__details__title",children:(0,t.jsx)(N.default,{href:z.permalink,onClick:H,prefetch:!1,children:z.title})})}),M[9]=H,M[10]=z.permalink,M[11]=z.title,M[12]=d):d=M[12],M[13]!==U.playedSeconds?(c=(0,L.formatDuration)(U.playedSeconds),M[13]=U.playedSeconds,M[14]=c):c=M[14],M[15]!==c?(u=(0,t.jsx)("span",{className:"miniplayer__slider__tick",children:c}),M[15]=c,M[16]=u):u=M[16],M[17]!==U.duration?(y=(0,L.formatDuration)(U.duration),M[17]=U.duration,M[18]=y):y=M[18],M[19]!==y?(p=(0,t.jsx)("span",{className:"miniplayer__slider__tick",children:y}),M[19]=y,M[20]=p):p=M[20],M[21]!==u||M[22]!==p?(_=(0,t.jsxs)("p",{className:"miniplayer__sticky-audio__content__details__ticks",children:[u,p]}),M[21]=u,M[22]=p,M[23]=_):_=M[23],M[24]!==z?(v=(0,t.jsx)(j.default,{media:z}),M[24]=z,M[25]=v):v=M[25],M[26]!==z?(f=(0,t.jsxs)("div",{className:"miniplayer__sticky-audio__content__details__tools",children:[(0,t.jsx)(b.default,{media:z,size:"medium"}),(0,t.jsx)(m.default,{media:z,size:"medium"}),(0,t.jsx)(C.default,{media:z,size:"medium"})]}),M[26]=z,M[27]=f):f=M[27],M[28]!==_||M[29]!==v||M[30]!==f?(x=(0,t.jsxs)("div",{children:[_,v,f]}),M[28]=_,M[29]=v,M[30]=f,M[31]=x):x=M[31],M[32]!==z?(g=(0,t.jsx)(O,{size:"small",media:z}),M[32]=z,M[33]=g):g=M[33],M[34]!==z?(S=(0,h.canDownloadMedia)(z)&&(0,t.jsx)(K.default,{meta:(0,h.mediaToNativeDownload)(z),access:z.access,showPaywall:z.showPaywall}),M[34]=z,M[35]=S):S=M[35],M[36]!==z?(A=(0,h.canBookmarkMedia)(z)&&(0,t.jsx)(E,{id:z.id}),M[36]=z,M[37]=A):A=M[37],M[38]!==S||M[39]!==A?(I=(0,t.jsxs)(P.default,{layout:"vertical-wide",children:[S,A]}),M[38]=S,M[39]=A,M[40]=I):I=M[40],M[41]!==z?(F=!!z.meta.chapters?.length&&(0,t.jsxs)(l.Fragment,{children:[(0,t.jsx)("div",{className:"miniplayer__sticky-audio__content__chapters-title",children:"Peatükid:"}),(0,t.jsx)(D.default,{media:z})]}),M[41]=z,M[42]=F):F=M[42],M[43]!==x||M[44]!==g||M[45]!==I||M[46]!==F||M[47]!==n||M[48]!==d?(B=(0,t.jsx)("div",{className:"miniplayer__sticky-audio__content__details__scroller",children:(0,t.jsxs)("div",{className:"miniplayer__sticky-audio__content__details__inner",children:[n,d,x,g,I,F]})}),M[43]=x,M[44]=g,M[45]=I,M[46]=F,M[47]=n,M[48]=d,M[49]=B):B=M[49],M[50]!==B||M[51]!==o?(R=(0,t.jsx)(T.Portal,{children:(0,t.jsx)("div",{className:o,children:B})}),M[50]=B,M[51]=o,M[52]=R):R=M[52],R},B=e=>{let i,s,o,r,n,d,c=(0,a.c)(13),{media:p}=e,{liveShow:_}=(0,l.useContext)(y.PlayerContext);c[0]!==p?(i=(0,t.jsx)(m.default,{media:p}),c[0]=p,c[1]=i):i=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(u.default,{}),c[2]=s):s=c[2];let h=_?.show||p.title;return c[3]!==h?(o=(0,t.jsx)("div",{className:"miniplayer__sticky-audio__description",children:h}),c[3]=h,c[4]=o):o=c[4],c[5]!==_?(r=_?.title?(0,t.jsx)("div",{className:"miniplayer__sticky-audio__title",children:_.title}):null,c[5]=_,c[6]=r):r=c[6],c[7]!==o||c[8]!==r?(n=(0,t.jsxs)("div",{className:"miniplayer__sticky-audio__media",children:[s,o,r]}),c[7]=o,c[8]=r,c[9]=n):n=c[9],c[10]!==i||c[11]!==n?(d=(0,t.jsxs)(l.Fragment,{children:[i,n]}),c[10]=i,c[11]=n,c[12]=d):d=c[12],d};var R=e.i(617218);let M=e=>{let i,s,o,r,n,d=(0,a.c)(23),{playerActions:c,status:u,isActiveMedia:m}=l.useContext(y.PlayerContext),{open:p}=(0,R.default)(),_=e.media.meta.chapters;d[0]!==m||d[1]!==e.media||d[2]!==u?(i=m(e.media)?u.playedSeconds:0,d[0]=m,d[1]=e.media,d[2]=u,d[3]=i):i=d[3];let h=i;d[4]!==p||d[5]!==c||d[6]!==e.media||d[7]!==u?(s=t=>{if(e.media){if(e.media.showPaywall)return void p({id:e.media.id,type:"podcast",permalink:e.media.permalink,access:e.media.access});u.playing?c({action:"seek",seek:{to:t.start}}):c({action:"play",media:e.media,seek:{to:t.start}})}},d[4]=p,d[5]=c,d[6]=e.media,d[7]=u,d[8]=s):s=d[8];let v=s;if(!_||0===_.length||!e.media)return null;if(d[9]!==_||d[10]!==h){let e;d[12]!==h?(e=(e,t)=>t.start<=h?t:e,d[12]=h,d[13]=e):e=d[13],o=_.reduce(e,null),d[9]=_,d[10]=h,d[11]=o}else o=d[11];let f=o;if(d[14]!==_||d[15]!==f?.start||d[16]!==v){let e;d[18]!==f?.start||d[19]!==v?(e=e=>({label:`${(0,L.formatDuration)(e.start)} - ${e.title}`,icon:e.start===f?.start?"play":"blank",onClick:()=>v(e)}),d[18]=f?.start,d[19]=v,d[20]=e):e=d[20],r=_.map(e),d[14]=_,d[15]=f?.start,d[16]=v,d[17]=r}else r=d[17];return d[21]!==r?(n=(0,t.jsx)(A.default,{className:"mobile-hide",theme:"select",title:"Vali peatükk",size:"small",menu:r,iconRight:"arrow-down"}),d[21]=r,d[22]=n):n=d[22],n};M.displayName="StickyChapterControls";let z=e=>{let i,s,o,r,n,d,c,u,y,p,_,v,f=(0,a.c)(32),{media:x,status:g,detailsExpanded:j,setDetailsExpanded:S}=e,{t:P}=(0,k.useTranslation)();f[0]!==x?(i=(0,t.jsx)(b.default,{media:x}),s=(0,t.jsx)(m.default,{media:x}),o=(0,t.jsx)(C.default,{media:x}),f[0]=x,f[1]=i,f[2]=s,f[3]=o):(i=f[1],s=f[2],o=f[3]),f[4]!==x||f[5]!==g?(r=!(0,h.isLiveMedia)(x)&&(0,t.jsxs)("div",{className:"progress",children:[(0,L.formatDuration)(g.playedSeconds)," / ",(0,L.formatDuration)(g.duration)]}),f[4]=x,f[5]=g,f[6]=r):r=f[6],f[7]!==x.permalink||f[8]!==x.title?(n=(0,t.jsx)(N.default,{href:x.permalink,className:"miniplayer__sticky-audio__description",prefetch:!1,children:x.title}),f[7]=x.permalink,f[8]=x.title,f[9]=n):n=f[9],f[10]!==r||f[11]!==n?(d=(0,t.jsxs)("div",{className:"miniplayer__sticky-audio__media",children:[r,n]}),f[10]=r,f[11]=n,f[12]=d):d=f[12],f[13]!==P?(c=P("player.more"),f[13]=P,f[14]=c):c=f[14];let T=j?"expand-circle-down":"expand-circle-up";return f[15]!==S?(u=()=>{S(!0)},f[15]=S,f[16]=u):u=f[16],f[17]!==c||f[18]!==T||f[19]!==u?(y=(0,t.jsx)(w.default,{title:c,icon:T,onClick:u,size:"small",theme:"transparent",className:"expander"}),f[17]=c,f[18]=T,f[19]=u,f[20]=y):y=f[20],f[21]!==x?(p=(0,t.jsx)(O,{media:x}),_=(0,t.jsx)(M,{media:x}),f[21]=x,f[22]=p,f[23]=_):(p=f[22],_=f[23]),f[24]!==i||f[25]!==y||f[26]!==p||f[27]!==_||f[28]!==s||f[29]!==o||f[30]!==d?(v=(0,t.jsxs)(l.Fragment,{children:[i,s,o,d,y,p,_]}),f[24]=i,f[25]=y,f[26]=p,f[27]=_,f[28]=s,f[29]=o,f[30]=d,f[31]=v):v=f[31],v},U=e=>{let i,o,r,n,d,c,u,m,p,_,v,f=(0,a.c)(34),{t:x}=(0,k.useTranslation)(),{media:g,playerActions:N,status:b}=l.useContext(y.PlayerContext),[C,S]=l.useState(!1);if(!g)return null;f[0]!==g?(i=(0,h.isLiveMedia)(g),f[0]=g,f[1]=i):i=f[1];let O=i;return f[2]!==C||f[3]!==O||f[4]!==g||f[5]!==b?(o=!O&&(0,t.jsx)(F,{media:g,status:b,expanded:C,setExpanded:S}),f[2]=C,f[3]=O,f[4]=g,f[5]=b,f[6]=o):o=f[6],f[7]!==e.className?(r=(0,s.default)("miniplayer","miniplayer__sticky-audio",e.className),f[7]=e.className,f[8]=r):r=f[8],f[9]!==O||f[10]!==g?(n=!O&&(0,t.jsx)(j.default,{media:g}),f[9]=O,f[10]=g,f[11]=n):n=f[11],f[12]!==C||f[13]!==O||f[14]!==g||f[15]!==b?(d=O?(0,t.jsx)(B,{media:g}):(0,t.jsx)(z,{media:g,status:b,detailsExpanded:C,setDetailsExpanded:S}),f[12]=C,f[13]=O,f[14]=g,f[15]=b,f[16]=d):d=f[16],f[17]!==x?(c=x("player.close"),f[17]=x,f[18]=c):c=f[18],f[19]!==N?(u=()=>{N({action:"stop"})},f[19]=N,f[20]=u):u=f[20],f[21]!==c||f[22]!==u?(m=(0,t.jsx)(w.default,{title:c,icon:"close",onClick:u,size:"small",theme:"transparent"}),f[21]=c,f[22]=u,f[23]=m):m=f[23],f[24]!==d||f[25]!==m?(p=(0,t.jsx)("div",{className:"miniplayer__sticky-audio__content",children:(0,t.jsxs)("div",{className:"miniplayer__sticky-audio__content__limiter",children:[d,m]})}),f[24]=d,f[25]=m,f[26]=p):p=f[26],f[27]!==r||f[28]!==n||f[29]!==p?(_=(0,t.jsxs)("div",{className:r,children:[n,p]}),f[27]=r,f[28]=n,f[29]=p,f[30]=_):_=f[30],f[31]!==o||f[32]!==_?(v=(0,t.jsxs)(l.Fragment,{children:[o,_]}),f[31]=o,f[32]=_,f[33]=v):v=f[33],v};U.displayName="StickyAudioPlayer";let Q={video:e=>{let i,l,n,d,c,u,m,y=(0,a.c)(16),{className:p}=e,{activeVideoId:_,isSourceVisible:h,getPortal:v,closeVideo:f}=(0,r.useVideoContext)();y[0]!==_||y[1]!==v?(i=_?v(_):null,y[0]=_,y[1]=v,y[2]=i):i=y[2];let x=i;return _&&!h&&x?(y[3]!==p?(l=(0,s.default)("miniplayer","miniplayer__sticky-video","current",p),y[3]=p,y[4]=l):l=y[4],y[5]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(g.default,{width:16,height:16,kind:"close"}),y[5]=n):n=y[5],y[6]!==f?(d=(0,t.jsx)("button",{className:"miniplayer__sticky-video__close",onClick:f,type:"button",children:n}),y[6]=f,y[7]=d):d=y[7],y[8]!==x?(c=(0,t.jsx)("div",{className:"miniplayer__sticky-video__video",children:(0,t.jsx)(o.OutPortal,{node:x})}),y[8]=x,y[9]=c):c=y[9],y[10]!==d||y[11]!==c?(u=(0,t.jsxs)("div",{className:"miniplayer__sticky-video__inner",children:[d,c]}),y[10]=d,y[11]=c,y[12]=u):u=y[12],y[13]!==l||y[14]!==u?(m=(0,t.jsx)("div",{className:l,children:u}),y[13]=l,y[14]=u,y[15]=m):m=y[15],m):null},audio:U},$=e=>{let i,s=(0,a.c)(3),{media:o}=l.useContext(y.PlayerContext);if(!o)return null;let r=Q[o.type];return s[0]!==r||s[1]!==e.className?(i=r?(0,t.jsx)(r,{className:e.className}):null,s[0]=r,s[1]=e.className,s[2]=i):i=s[2],i};$.displayName="StickyPlayer";var q=e.i(11679);let H=e=>{let l=(0,a.c)(20);if("sticky"===e.output){let a;return l[0]!==e.className?(a=(0,t.jsx)($,{className:e.className}),l[0]=e.className,l[1]=a):a=l[1],a}if(!e.media)return null;if("inline"===e.output){let a;return l[2]!==e.className||l[3]!==e.media||l[4]!==e.slotBadges?(a=(0,t.jsx)(x,{media:e.media,className:e.className,slotBadges:e.slotBadges}),l[2]=e.className,l[3]=e.media,l[4]=e.slotBadges,l[5]=a):a=l[5],a}if("article"===e.output){let a;return l[6]!==e.bookmarkLoading||l[7]!==e.bookmarkOnClick||l[8]!==e.bookmarkSaved||l[9]!==e.className||l[10]!==e.linkTitle||l[11]!==e.media||l[12]!==e.showBookmark||l[13]!==e.showShowTitle||l[14]!==e.showTitle?(a=(0,t.jsx)(i.default,{media:e.media,showTitle:e.showTitle,showShowTitle:e.showShowTitle,className:e.className,showBookmark:e.showBookmark,bookmarkOnClick:e.bookmarkOnClick,bookmarkLoading:e.bookmarkLoading,bookmarkSaved:e.bookmarkSaved,linkTitle:e.linkTitle}),l[6]=e.bookmarkLoading,l[7]=e.bookmarkOnClick,l[8]=e.bookmarkSaved,l[9]=e.className,l[10]=e.linkTitle,l[11
2]=e.media,l[12]=e.showBookmark,l[13]=e.showShowTitle,l[14]=e.showTitle,l[15]=a):a=l[15],a}if("ticker"===e.output&&"audio"===e.media.type&&(0,h.isLiveMedia)(e.media)){let a;return l[16]!==e.className||l[17]!==e.media||l[18]!==e.showTitle?(a=(0,t.jsx)(q.default,{media:e.media,showTitle:e.showTitle,className:e.className}),l[16]=e.className,l[17]=e.media,l[18]=e.showTitle,l[19]=a):a=l[19],a}},V=e=>{let i,l=(0,a.c)(2);return l[0]!==e?(i=(0,t.jsx)(H,{...e}),l[0]=e,l[1]=i):i=l[1],i};V.displayName="Miniplayer",e.s(["default",0,V],207614)},160948,e=>{"use strict";var t,a=((t={}).paywall="ap_paywall",t.closed_banners="ap_closed_banners",t.media_state="ap_media_state",t.iosAttStatus="ios_att_status",t);e.s(["LocalStorageKey",()=>a])},358544,e=>{"use strict";var t,a,i=((t={}).storage="aripaev.ee:podcastStorage",t.player="aripaev.ee:nativePlayer",t.consent="aripaev.ee:consentManager",t),l=((a={}).statechange="statechange",a);e.s(["NativeApiType",()=>i,"NativePlayerEvent",()=>l])},476511,e=>{"use strict";e.s(["addToLocalStorage",0,(e,t)=>{if(t)try{window.localStorage.setItem(e,JSON.stringify(t))}catch{return}},"loadFromLocalStorage",0,e=>{try{return JSON.parse(window.localStorage.getItem(e)||"")}catch{return null}},"removeFromLocalStorage",0,e=>{try{window.localStorage.removeItem(e)}catch(e){return}}])},447225,609744,e=>{"use strict";e.s(["forgetLastPaywall",()=>F,"getComboCampaignCode",()=>S,"getLastPaywall",()=>D,"isComboCampaign",()=>C,"isOverlayPaywall",()=>B,"isPaymentModuleOpened",()=>O,"limitTeaserListItems",()=>A,"paymentCountryFromLocale",()=>b,"rememberPaywall",()=>E,"scrollToPaywall",()=>I,"withPaywallAnchor",()=>K],447225),e.s(["PAYMENT_MODULE_ID",()=>w,"default",()=>j],609744);var t,a,i,l,s=e.i(476511),o=e.i(160948),r=e.i(843476),n=e.i(500932),d=e.i(271645),c=e.i(45356),u=e.i(598389),m=((t={}).simple="simple",t),y=e.i(618566),p=((a={}).success="success",a.socialRegistered="socialRegistered",a),_=e.i(333558),h=((i={}).closed="pmModuleClosed",i.opened="pmModuleOpened",i.failed="pmPaymentFailed",i.started="pmPaymentStarted",i.success="pmPaymentSuccess",i.permissions_updated="pmPermissionsUpdated",i.user_registered="pmUserRegistered",i),v=e.i(474950),f=e.i(314260),x=((l={}).success="1",l.failed="0",l),g=e.i(617218),k=e.i(906261);let w="paymentmodule",j=e=>{var t;let a,i,l,s,o,j,N,O,P,T=(0,n.c)(27),{campaign:L,multistep:K,content:A,display:I,onClosed:E,onRestore:R}=e,{user:M}=(0,d.useContext)(c.AuthContext),{themeColor:z,locale:U}=(0,d.useContext)(u.SiteContext),Q=(0,k.default)("sso"),$=(t=A?.permalink,j=(0,y.usePathname)(),N=(0,f.default)(),O=`payment-return${t||j}`,P=t?`${window.location.origin}${t}`:void 0,N?O:P),q=(e=>{let t,a,i,l=(0,n.c)(11),{channelId:s}=(0,d.useContext)(u.SiteContext),{user:o,access:r}=(0,d.useContext)(c.AuthContext),m=(0,y.useSearchParams)();l[0]!==m?(t=m.get(p.success),l[0]=m,l[1]=t):t=l[1];let h=t;l[2]!==m?(a=m.get(p.socialRegistered),l[2]=m,l[3]=a):a=l[3];let v=a;return l[4]!==r||l[5]!==e||l[6]!==s||l[7]!==v||l[8]!==h||l[9]!==o?(i=h||v||!e||C(e)?[]:[{campaignCode:e.code,quantity:1,currentTelmosOrderCode:(0,_.getUserUpgradeDetails)(o,s,r)?.currentTelmosCode}],l[4]=r,l[5]=e,l[6]=s,l[7]=v,l[8]=h,l[9]=o,l[10]=i):i=l[10],i})(L);T[0]!==A||T[1]!==E?(a={onClosed:E,content:A},T[0]=A,T[1]=E,T[2]=a):a=T[2],(({onClosed:e=()=>void 0,content:t})=>{let{storeJwt:a}=(0,d.useContext)(c.AuthContext),i=(0,d.useRef)(t),l=(0,d.useRef)(!1);(0,d.useEffect)(()=>{i.current=t},[t]);let s=()=>{F(),l.current?i.current?.permalink?window.location.href=i.current.permalink:window.location.reload():e()},o=()=>{F(),i.current?.permalink?window.location.href=i.current.permalink:l.current=!0},r=e=>{a(e.detail.jwt)};(0,d.useEffect)(()=>(window.addEventListener(h.permissions_updated,o),window.addEventListener(h.user_registered,r),window.addEventListener(h.closed,s),()=>{window.removeEventListener(h.permissions_updated,o),window.removeEventListener(h.user_registered,r),window.removeEventListener(h.closed,s)}),[])})(a),(e=>{let t,a,i,l,s=(0,n.c)(10),o=(0,y.useSearchParams)(),{initialized:r}=(0,d.useContext)(c.AuthContext),{open:u}=(0,g.default)();s[0]===Symbol.for("react.memo_cache_sentinel")?(t=D(),s[0]=t):t=s[0];let m=t;s[1]!==o?(a=o.get(p.success),s[1]=o,s[2]=a):a=s[2];let _=a;return s[3]!==r||s[4]!==e||s[5]!==u||s[6]!==_?(i=()=>{r&&m&&(e(),(!_||_===x.failed)&&B(m)&&u(m))},s[3]=r,s[4]=e,s[5]=u,s[6]=_,s[7]=i):i=s[7],s[8]!==r?(l=[r],s[8]=r,s[9]=l):l=s[9],(0,d.useEffect)(i,l)})(R);let H=I?"show":void 0,V=`linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%), ${z}`;T[3]!==U?(i=b(U),T[3]=U,T[4]=i):i=T[4];let W=K?void 0:m.simple;T[5]!==q?(l=JSON.stringify(q),T[5]=q,T[6]=l):l=T[6],T[7]!==L?(s=S(L),T[7]=L,T[8]=s):s=T[8];let Y=M?.firstName,J=M?.lastName,G=M?.email,X=!!M,Z=!M,ee=A?.id,et=A?.type==="podcast";return T[9]!==U||T[10]!==$||T[11]!==Q||T[12]!==G||T[13]!==X||T[14]!==Z||T[15]!==ee||T[16]!==et||T[17]!==H||T[18]!==V||T[19]!==i||T[20]!==W||T[21]!==l||T[22]!==s||T[23]!==Y||T[24]!==J||T[25]!==z?(o=(0,r.jsx)(v.Portal,{children:(0,r.jsx)("div",{id:w,className:H,"data-color-gradient":V,"data-color":z,"data-
2payment-country":i,"data-form-lang":U,"data-form-type":W,"data-products":l,"data-combo-campaign-code":s,"data-return-url":$,"data-first-name":Y,"data-last-name":J,"data-email":G,"data-logged-in":X,"data-show-returning-customer-cta":Z,"data-article-uuid":ee,"data-article-podcast":et,"data-cloudflare-turnstile-token":Q})}),T[9]=U,T[10]=$,T[11]=Q,T[12]=G,T[13]=X,T[14]=Z,T[15]=ee,T[16]=et,T[17]=H,T[18]=V,T[19]=i,T[20]=W,T[21]=l,T[22]=s,T[23]=Y,T[24]=J,T[25]=z,T[26]=o):o=T[26],o};var N=e.i(71829);let b=e=>"lv"===e?"LV":"EE",C=e=>e?.type==="combo",S=e=>C(e)?e?.code:void 0,O=()=>{let e=document.getElementById(w);return!!e?.classList.contains("show")},P=RegExp(`\\b${N.PAYWALL_ANCHOR_WORD}\\b`,"i"),T=/^\s*(?:[-*+]|\d+\.)\s/m,L=/^\s*(?:[-*+]|\d+\.)\s/gm,K=e=>{let t=e.search(T),a=-1===t?e:e.slice(0,t),i=-1===t?"":e.slice(t);return a.replace(P,e=>`[${e}](${N.PAYWALL_ANCHOR_HREF})`)+i},A=(e,t)=>{let a=[...e.matchAll(L)].map(e=>e.index);return a.length<=t?e:e.slice(0,a[t]).trimEnd()},I=()=>{document.getElementById(N.PAYWALL_ANCHOR_ID)?.scrollIntoView({behavior:"smooth",block:"start"})},E=e=>{(0,s.addToLocalStorage)(o.LocalStorageKey.paywall,e)},D=()=>(0,s.loadFromLocalStorage)(o.LocalStorageKey.paywall),F=()=>{(0,s.removeFromLocalStorage)(o.LocalStorageKey.paywall)},B=e=>!!e&&["podcast","widget","infopank"].includes(e.type)},686862,e=>{"use strict";var t=e.i(500932),a=e.i(271645),i=e.i(954616),l=e.i(736382),s=e.i(266027),o=e.i(912598),r=e.i(248773),n=e.i(598389),d=e.i(682635),c=e.i(890327),u=e.i(45356),m=e.i(333558),y=e.i(83989),p=e.i(13348),_=e.i(933818),h=e.i(467848),v=e.i(25685),f=e.i(814506);async function x(e){return(0,h.customerApiFetch)("/bookmark/add",{method:"POST",body:e,bearer:(0,v.getCookie)(f.CookieKey.jwt),responseType:"void"})}async function g(e){return(0,h.customerApiFetch)("/bookmark/remove",{method:"POST",body:e,bearer:(0,v.getCookie)(f.CookieKey.jwt),responseType:"void"})}async function k(){return(0,h.customerApiFetch)("/profile/bookmarks",{bearer:(0,v.getCookie)(f.CookieKey.jwt)})}let w=["bookmarks"],j={add:[...w,"add"],remove:[...w,"remove"]},N=(e,t)=>e.contentId===t.contentId&&e.type===t.type&&e.channelId===t.channelId;function b(e){return e.state.variables}function C(e){return e.state.variables}e.s(["default",0,()=>{let e,h,v,f,S,O,P,T,L,K,A,I,E,D,F,B,R,M,z,U,Q,$=(0,t.c)(54),{user:q,initialized:H}=(0,a.useContext)(u.AuthContext),{channelId:V}=(0,a.useContext)(n.SiteContext);$[0]!==V?(e=(0,y.getCustomerApiChannelId)(V),$[0]=V,$[1]=e):e=$[1];let W=e,{openOverlay:Y}=(0,d.useOverlay)(c.OverlayKey.login_to_bookmark),J=(0,o.useQueryClient)(),G=(0,r.useTRPC)();if($[2]!==q){let e;h=!!q&&(0,m.canAccessUserHub)(q),v=s.useQuery,e=h,f=(0,_.queryOptions)({queryKey:w,queryFn:()=>k(),enabled:e,staleTime:3e5}),$[2]=q,$[3]=h,$[4]=v,$[5]=f}else h=$[3],v=$[4],f=$[5];let X=v(f);$[6]!==h||$[7]!==X?(S=h?X.data??[]:[],$[6]=h,$[7]=X,$[8]=S):S=$[8];let Z=S;$[9]!==J||$[10]!==G?(O=()=>
2Promise.all([J.invalidateQueries(G.cms.getUserBookmarks.pathFilter())]),$[9]=J,$[10]=G,$[11]=O):O=$[11];let ee=O;$[12]!==W?(P=e=>({type:e.type,contentId:e.contentId,channelId:e.channelId||W}),$[12]=W,$[13]=P):P=$[13];let et=P;$[14]!==ee?(T=()=>void ee(),$[14]=ee,$[15]=T):T=$[15],$[16]!==J||$[17]!==T?(L=(({queryClient:e,onSuccess:t})=>(0,p.mutationOptions)({mutationKey:j.add,mutationFn:e=>x({contentId:e.contentId,type:e.type,channelId:e.channelId}),onMutate:async t=>{await e.cancelQueries({queryKey:w});let a=e.getQueryData(w);return e.setQueryData(w,e=>{let a=e??[];return a.some(e=>N(e,t))?a:[t,...a]}),{previous:a,hadPrevious:void 0!==a}},onError:(t,a,i)=>{i?.hadPrevious?e.setQueryData(w,i.previous):e.removeQueries({queryKey:w,exact:!0})},onSuccess:()=>t(),onSettled:()=>{e.invalidateQueries({queryKey:w})}}))({queryClient:J,onSuccess:T}),$[16]=J,$[17]=T,$[18]=L):L=$[18];let ea=(0,i.useMutation)(L);$[19]!==ee?(K=()=>void ee(),$[19]=ee,$[20]=K):K=$[20],$[21]!==J||$[22]!==K?(A=(({queryClient:e,onSuccess:t})=>(0,p.mutationOptions)({mutationKey:j.remove,mutationFn:e=>g({contentId:e.contentId,type:e.type,channelId:e.channelId}),onMutate:async t=>{await e.cancelQueries({queryKey:w});let a=e.getQueryData(w);return e.setQueryData(w,e=>(e??[]).filter(e=>!N(e,t))),{previous:a,hadPrevious:void 0!==a}},onError:(t,a,i)=>{i?.hadPrevious?e.setQueryData(w,i.previous):e.removeQueries({queryKey:w,exact:!0})},onSuccess:()=>t(),onSettled:()=>{e.invalidateQueries({queryKey:w})}}))({queryClient:J,onSuccess:K}),$[21]=J,$[22]=K,$[23]=A):A=$[23];let ei=(0,i.useMutation)(A);$[24]!==et||$[25]!==Z?(I=e=>{let t=et(e);return Z.some(e=>N(e,t))},$[24]=et,$[25]=Z,$[26]=I):I=$[26];let el=I;$[27]===Symbol.for("react.memo_cache_sentinel")?(E={filters:{mutationKey:j.add,status:"pending"},select:b},$[27]=E):E=$[27];let es=(0,l.useMutationState)(E);$[28]===Symbol.for("react.memo_cache_sentinel")?(D={filters:{mutationKey:j.remove,status:"pending"},select:C},$[28]=D):D=$[28];let eo=(0,l.useMutationState)(D);$[29]!==et||$[30]!==es||$[31]!==eo?(F=e=>{let t=et(e);return es.some(e=>e&&N(e,t))||eo.some(e=>e&&N(e,t))},$[29]=et,$[30]=es,$[31]=eo,$[32]=F):F=$[32];let er=F;$[33]!==ea||$[34]!==H||$[35]!==et||$[36]!==Y||$[37]!==ei||$[38]!==Z||$[39]!==q?(B=async e=>{if(!H)return;if(!(0,m.canAccessUserHub)(q))return void Y();let t=et(e);try{Z.some(e=>N(e,t))?await ei.mutateAsync(t):await ea.mutateAsync(t)}catch{}},$[33]=ea,$[34]=H,$[35]=et,$[36]=Y,$[37]=ei,$[38]=Z,$[39]=q,$[40]=B):B=$[40];let en=B;$[41]!==en||$[42]!==el||$[43]!==er?(R=e=>({click:(t,a)=>void en({type:e,contentId:t,channelId:a}),added:(t,a)=>el({type:e,contentId:t,channelId:a}),loading:(t,a)=>er({type:e,contentId:t,channelId:a})}),$[41]=en,$[42]=el,$[43]=er,$[44]=R):R=$[44];let ed=R,ec=!!H&&(!h||X.isFetched);return $[45]!==ed?(M=ed("podcast"),z=ed("article"),U=ed("video"),$[45]=ed,$[46]=M,$[47]=z,$[48]=U):(M=$[46],z=$[47],U=$[48]),$[49]!==ec||$[50]!==M||$[51]!==z||$[52]!==U?(Q={podcast:M,article:z,video:U,initialized:ec},$[49]=ec,$[50]=M,$[51]=z,$[52]=U,$[53]=Q):Q=$[53],Q}],686862)},314260,e=>{"use strict";var t=e.i(271645),a=e.i(453937);let i=e=>()=>void 0,l=()=>!1;e.s(["default",0,()=>(0,t.useSyncExternalStore)(i,a.isApp,l)])},838007,e=>{"use strict";var t=e.i(500932),a=e.i(271645),i=e.i(453937);e.s(["default",0,e=>{let l,s,o,r,n=(0,t.c)(8),[d,c]=(0,a.useState)(null),[u,m]=(0,a.useState)(null);n[0]!==e?(l=t=>{t.detail.type===e&&(m(t.detail.interface),c(t.detail.version))},n[0]=e,n[1]=l):l=n[1];let y=l;return n[2]!==y?(s=()=>{(0,i.isApp)()&&window.addNativeListener?.(y)},n[2]=y,n[3]=s):s=n[3],n[4]===Symbol.for("react.memo_cache_sentinel")?(o=[],n[4]=o):o=n[4],(0,a.useEffect)(s,o),n[5]!==u||n[6]!==d?(r={api:u,version:d},n[5]=u,n[6]=d,n[7]=r):r=n[7],r}])}]); 3 4//# debugId=a9c07adb-2877-d07e-7b48-ce21eeca968f
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.