PageSourceSearch

https://live.fantracks.com/static/js/chunks/3076.2d3c25f.js

js fantracks.com collected 2026-10-06 18:55:12 UTC 7,865 bytes, 159 lines download raw bytes

1(function(){try{var v=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},A=new v.Error().stack;A&&(v._sentryDebugIds=v._sentryDebugIds||{},v._sentryDebugIds[A]="20c874c8-7c99-43f7-86a6-ecdde0bfe360",v._sentryDebugIdIdentifier="sentry-dbid-20c874c8-7c99-43f7-86a6-ecdde0bfe360")}catch{}})();var _global=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};_global.SENTRY_RELEASE={id:"d0b2a86c2e49a10a9d9513a5bf665a7912e86753"},(self.webpackChunk_maestro_io_client=self.webpackChunk_maestro_io_client||[]).push([[3076],{594955:(v,A,e)=>{e.d(A,{A:()=>G});var t=e(63696),R=e(224191),h=e(199749),p=e(886550),T=e(545290);const $={"bottom-left":(0,p.AH)`
2    ${({separation:r})=>`
3      transform: translate(calc(-100% - ${r}px), 0);
4    `}
5  `,"bottom-right":(0,p.AH)`
6    ${({anchorDimensions:{width:r},separation:c})=>`
7      transform: translate(${r+c}px, 0);
8    `}
9  `,"top-left":(0,p.AH)`
10    ${({anchorDimensions:{height:r},separation:c=5})=>`
11      transform: translate(calc(-100% - ${c}px), calc(${r}px - 100%));
12    `}
13  `,"top-right":(0,p.AH)`
14    ${({anchorDimensions:{height:r,width:c},separation:f})=>`
15      transform: translate(${c+f}px, calc(${r}px - 100%));
16    `}
17  `},k=p.Ay.div`
18  max-width: 100vw;
19  ${T.bo}
20  ${T.k2}
21  ${({anchorDimensions:{top:r,left:c},position:f})=>f&&(0,p.AH)`
22    position: absolute !important;
23    top: ${r}px;
24    left: ${c}px;
25    ${$[f]}
26  `}
27`,H=r=>r.stopPropagation();function G({getDimensions:r,children:c=null,className:f="",position:V,separation:W=5,style:j={},onClick:o,"data-testid":B}){const[n,d]=(0,t.useState)(new DOMRect),D=(0,R.useSelector)(h.OL);return(0,t.useEffect)(()=>{const g=r?.();g&&d(g)},[r,D]),t.createElement(k,{anchorDimensions:n,className:f,"data-testid":B,onClick:o||H,position:V,separation:W,style:j},c)}},673076:(v,A,e)=>{e.r(A),e.d(A,{default:()=>$t});var t=e(63696),R=e(41989),h=e(224191),p=e(400781),T=e(816970);const $=6,k=l=>{if(!l)return new Array($).fill("");const u=l.slice(0,$).split("");return u.concat(new Array($-u.length).fill(""))},H=/^[a-zA-Z0-9]$/,G=/^[a-zA-Z0-9]+$/,r=l=>{const u=l.length===$,y=G.test(l);return u&&y};var c=e(747988),f=e(990220),V=e(463302),W=e(445525);const j=()=>{const l=(0,h.useSelector)(V.mC),[u,y]=(0,t.useState)(!1),[O,x]=(0,t.useState)(),[P,N]=(0,t.useState)();return{loading:u,error:O,success:P,activateTvLogin:async U=>{y(!0);try{(await(0,W.Ay)({primaryToken:l,siteId:f.Cn}).post(`${f.Ab}/tv/activate`,{code:U})).status!==200?x(!0):N(!0)}catch{x(!0)}finally{y(!1)}},clearError:()=>{x(!1)}}};var o=e(886550),B=e(870349),n=e(429195),d=e(152544),D=e(283722),g=e(545290),rt=e(401618),at=e(619545),lt=e(594955);const st=(0,o.Ay)(lt.A)`
28  background-color: ${n.Hw0}
29  align-items: center;
30  display: flex;
31  flex-direction: column;
32  justify-content: center;
33  position: relative;
34  padding: 30px;
35  max-width: 395px;
36  border-radius: 10px;
37
38  ${(0,g.nD)`
39    position: fixed;
40    top: 0px;
41    left: 0px;
42    right: 0px;
43    bottom: 0px;
44    max-width: 100%;
45    margin-bottom: ${rt.lI}px;
46    border-radius: 0;
47    background-color: ${n.O49};
48    ${({backgroundImage:l})=>l&&(0,o.AH)`
49        background-image: url(${l});
50        background-size: cover;
51        background-position: center;
52      `}
53  `}
54`,ct=o.Ay.div`
55  position: absolute;
56  top: 23px;
57  right: 23px;
58`,it=(0,o.Ay)(D.Ay).attrs({name:"close-thin"})`
59  cursor: pointer;
60  & svg {
61    width: 14px;
62    height: 14px;
63    & > path {
64      fill: ${n.SP6};
65    }
66  }
67`,Q=o.Ay.div`
68  color: ${n.SP6};
69  margin-bottom: 10px;
70  ${d.VD};
71  ${(0,g.nD)`
72    ${d.tY};
73  `}
74`,Y=o.Ay.div`
75  color: ${n.XO2};
76  margin-bottom: 30px;
77  ${d.vJ};
78`,J=(0,o.Ay)(B.Ay)`
79  width: 100%;
80  height: 52px;
81  ${d.wE}
82  border-radius: ${n.VJ7};
83  color: ${n.Jzj} !important;
84  :disabled {
85    background-color: ${n.g0s} !important;
86    color: ${n._A5} !important;
87  }
88`,dt=o.Ay.form`
89  display: flex;
90  flex-direction: column;
91  width: 100%;
92  margin-bottom: 30px;
93`,ut=o.Ay.div`
94  display: flex;
95  flex-direction: row;
96  gap: 9px;
97`,pt=o.Ay.input`
98  padding: 0;
99  height: 50px;
100  width: 50px;
101  color: ${n.SP6};
102  border-radius: 7.43px;
103  background-color: ${n.F_r};
104  border: 1px solid ${({hasError:l})=>l?n.W6Q:n.ywe};
105  ${d.tY};
106  text-align: center;
107  caret-color: transparent;
108  &:focus {
109    border: 1px solid ${n.mrt};
110    background-color: ${n.O49};
111  }
112  ${(0,g.nD)`
113    opacity: 0.85;
114  `}
115`,ft=o.Ay.div`
116  display: flex;
117  flex-direction: row;
118  margin-top: 10px;
119`,mt=(0,o.Ay)(D.Ay).attrs({name:"warning"})`
120  display: flex;
121  margin-right: 11px;
122  & svg {
123    width: 14px;
124    height: 14px;
125    & > path {
126      fill: ${n.W6Q};
127    }
128  }
129`,gt=o.Ay.div`
130  color: ${n.W6Q};
131  ${d.Rk};
132`,vt=o.Ay.div`
133  display: flex;
134  flex-direction: column;
135  ${(0,g.nD)`
136    justify-content: space-between;
137    height: 100%;
138  `}
139`,At=o.Ay.img`
140  display: none;
141  ${(0,g.nD)`
142    display: block;
143    height: 34px;
144  `}
145`,yt=o.Ay.div`
146  display: flex;
147  flex-direction: row;
148  gap: 1ch;
149  margin-top: 16px;
150  width: 100%;
151  justify-content: center;
152  align-items: center;
153`,Et=o.Ay.div`
154  color: ${n.SP6};
155  ${d.hN};
156`,ht=(0,o.Ay)(at.A)`
157  color: ${n.mrt};
158  ${d.hN};
159`,$t=({data:{prefilledLoginCode:l},onDismiss:u})=>{var y,O,x,P,N;const{t:i}=(0,R._h)(),X=(0,h.useDispatch)(),U=(N=(P=(x=(O=(y=(0,h.useSelector)(p.iM))==null?void 0:y.data)==null?void 0:O.gate)==null?void 0:x.gate)==null?void 0:P.background)==null?void 0:N.mobileImage,z=(0,h.useSelector)(p.td),[s,Z]=(0,t.useState)(k(l)),{activateTvLogin:q,clearError:_,error:M,loading:F,success:b}=j(),E=(0,t.useMemo)(()=>s.map(()=>t.createRef()),[s]),tt=t.createRef(),et=(0,t.useMemo)(()=>r(s.join("")),[s]),xt=()=>{u&&u(),X((0,c.HC)({path:"/"}))},bt=a=>m=>{var I,L,S;const{inputType:w}=m.nativeEvent;if(w==="deleteContentBackward")return;const K=m.currentTarget.value.slice(-1);if(K&&H.test(K)){_();const ot=[...s];ot[a]=K.toUpperCase(),Z(ot),a<s.length-1?(I=E[a+1].current)==null||I.focus():((L=E[a].current)==null||L.blur(),(S=tt.current)==null||S.focus())}},Ct=a=>m=>{var I,L,S;switch(m.key){case"Backspace":case"Delete":_();const w=[...s];w[a]="",Z(w),a>0&&((I=E[a-1].current)==null||I.focus());break;case"ArrowLeft":a>0&&((L=E[a-1].current)==null||L.focus());break;case"ArrowRight":a<s.length-1&&((S=E[a+1].current)==null||S.focus());break;case"Enter":C();break;default:break}},nt=(0,t.useCallback)(()=>s.map((a,m)=>t.createElement(pt,{key:`code-input-${m}`,ref:E[m],hasError:M,onInput:bt(m),onKeyDown:Ct(m),tabIndex:1,type:"text",value:a})),[s,E,M]),C=(0,t.useCallback)(()=>{const a=s.join("");q(a)},[s,q]),It=(0,t.useCallback)(()=>b?t.createElement(J,{onClick:xt},i("OK")):t.createElement(J,{ref:tt,disabled:F||!et,onClick:C},i(F?"LOADING":"SUBMIT")),[b,F,et,C]),Lt=(0,t.useCallback)(()=>b?t.createElement(t.Fragment,null,t.createElement(Q,{style:{textAlign:"center"}},i("TV_APPS_LOGIN_MODAL_SUCESS_TITLE")),t.createElement(Y,{style:{textAlign:"center"}},i("TV_APPS_LOGIN_MODAL_SUCESS_DESCRIPTION"))):t.createElement(t.Fragment,null,t.createElement(Q,null,i("TV_APPS_LOGIN_MODAL_TITLE")),t.createElement(Y,null,i("TV_APPS_LOGIN_MODAL_DESCRIPTION")),t.createElement(dt,{onSubmit:C},t.createElement(ut,null,nt()),M&&t.createElement(ft,null,t.createElement(mt,null),t.createElement(gt,null,i("TV_APPS_LOGIN_MODAL_INVALID_CODE_ERROR"))))),[b,M,nt,C]);return t.createElement(st,{backgroundImage:U,"data-testid":"tv-apps-login-modal"},!b&&t.createElement(ct,null,t.createElement(it,{onClick:u})),t.createElement(vt,null,t.createElement("div",null,t.createElement(At,{alt:"gate-logo",src:z})),t.createElement("div",null,Lt()),t.createElement("div",null,It(),t.createElement(yt,null,t.createElement(Et,null,i("TV_APPS_LOGIN_MODAL_NEED_HELP")),t.createElement(ht,{href:(0,T.Q0)("maestro"),target:"_blank"},i("TV_APPS_LOGIN_MODAL_NEED_HELP_LINK"))))))}}}]);

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.