PageSourceSearch

https://watch.shout-tv.com/code/js/chunks/logout.766f77e4c68fb686b888.js

js shout-tv.com collected 2026-10-02 11:36:54 UTC 2,539 bytes, 3 lines download raw bytes

1(()=>{(function(){try{var l=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},c=new l.Error().stack;c&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[c]="d9a37d6a-1ee7-4691-8aa8-3078e88fe25b",l._sentryDebugIdIdentifier="sentry-dbid-d9a37d6a-1ee7-4691-8aa8-3078e88fe25b")}catch(t){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[22113],{2398:((l,c,t)=>{t.d(c,{f:()=>g});var e=t(96540),v=t(15149);const g=()=>(0,e.useContext)(v.u)}),59410:((l,c,t)=>{t.r(c),t.d(c,{default:()=>Y});var e=t(96540),v=t(71468),g=t(76213),U=t(1346),A=t(32248),I=t(90953),x=t(64759),L=t(59530),N=t(2398),W=t(57611),D=t(87585),s=t(21975),P=t(97963),p=t(3245),G=t(56016),M=t(21904),H=t(81730);const K=s.ZS[s.xW.ACCOUNT],Z=(n,u,d,h,r)=>{const R=n===d[s.xW.LOGOUT]||n===s.ZS[s.xW.LOGOUT],T=[K,d[s.xW.ACCOUNT]].some(i=>(0,H.Y)(i,n==null?void 0:n.split("?")[0])),C=u===M.h6.ALLOWED,O=APP_CONF.REDICRECT_ON_SPLASH_SCREEN_URL;if(!C)return O?(window.location.href=O,null):{pathname:d[s.xW.LOGIN]};const o=n==null?void 0:n.split("?"),m=(o==null?void 0:o.length)>1?o[1]:"";return R?{pathname:d[s.xW.ROOT]}:T?{pathname:h}:r?{pathname:r}:n?{pathname:o==null?void 0:o[0],search:m}:{pathname:d[s.xW.ROOT]}},F=({previousLocation:n,user:u})=>{const{fullGuestAccess:d}=(0,I.U)(),{routes:h,defaultMenuParams:r}=(0,e.useContext)(L.P),{clearAccountCheck:R}=(0,N.f)(),[T,C]=e.useState(!1),O=(0,G.Z3)(),{apn:o,apt:m}=(0,p.l)(),i=O.find(a=>{const f=a.authProvider.name===m;return o?f&&a.authProvider.openIdClientName===o:f}),[y,S]=e.useState(null),j=(0,W.W)(),{defaultMenu:E}=(0,v.d4)(a=>a.menu),z=e.useRef(E),J=(0,g.zy)(),Q=new URLSearchParams(J.search).get("from");e.useEffect(()=>{u&&u.isGuest&&E&&E!==z&&S(Z(n,d,h,r==null?void 0:r.to,Q))},[r,E,u]),e.useEffect(()=>{V()},[]);const V=async()=>{C(!0);let a=null;if(i!=null&&i.logoutCallback){const f=await(i==null?void 0:i.logoutCallback(h,j));typeof f=="string"&&(a=f)}if(Object.values(A.Kg).includes(m)&&m!==A.Kg.ID?(0,D.u4)(U.mD.THIRD_PARTY):(0,D.u4)(U.mD.USER_REQUESTED),(0,P.q7)(null,null,!0),R(),a){window.location.href=a;return}try{await(0,P.U9)()}catch(f){S({pathname:h[s.xW.LOGIN]})}C(!1)};return y&&!T?e.createElement(g.C5,{to:{pathname:y.pathname,search:y.search},state:{from:n},replace:!0}):e.createElement(x.A,null)},B=({services:{app:{previousLocation:n},session:{user:u}}})=>({previousLocation:n,user:u}),Y=(0,v.Ng)(B,null)(F)})}]);})();
2
3//# sourceMappingURL=logout.766f77e4c68fb686b888.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.