PageSourceSearch

https://watch.shudder.com/code/js/login-page.efd88bcf619417cccf34.js

js shudder.com collected 2026-09-24 15:20:15 UTC 15,126 bytes, 40 lines download raw bytes

1(()=>{(function(){try{var U=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},m=new U.Error().stack;m&&(U._sentryDebugIds=U._sentryDebugIds||{},U._sentryDebugIds[m]="92082687-4116-4556-9fa3-b8c21f43f7e7",U._sentryDebugIdIdentifier="sentry-dbid-92082687-4116-4556-9fa3-b8c21f43f7e7")}catch(e){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[96746],{10654:((U,m,e)=>{e.d(m,{O:()=>N,P:()=>_});var t=e(97354),i=e(1346),r=e(87585),A=e(97963),P=e(2275);const _=(M,D,O,R)=>{const{partitionDataToAdd:n,partitionDataToDelete:h}=M||{},v=t.R.updateUserPartitionsRequest({callback:W=>{(0,A.ih)({authorisationToken:W}),O==null||O()},partitionDataToAdd:n,partitionDataToDelete:h}),E=(0,P.Sy)(n),L=(0,P.Sy)(h);(0,r.u4)(i.V7.UPDATE,{partitionsAdded:E,partitionsDeleted:L,currentLocation:R}),D(v)},N=M=>{const D=t.R.fetchPartitionsRequest();M(D)}}),10940:((U,m,e)=>{e.d(m,{A:()=>i});var t=e(86364);const i=()=>(0,t.d4)(r=>r.services.session.user)}),11456:((U,m,e)=>{e.d(m,{A:()=>D});var t=e(96540),i=e(85092),r=Object.defineProperty,A=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,N=(O,R,n)=>R in O?r(O,R,{enumerable:!0,configurable:!0,writable:!0,value:n}):O[R]=n,M=(O,R)=>{for(var n in R||(R={}))P.call(R,n)&&N(O,n,R[n]);if(A)for(var n of A(R))_.call(R,n)&&N(O,n,R[n]);return O};const D=(O=>t.createElement(i.A,M({},O),t.createElement("path",{d:"M25.875 3.75l-3.75-3.75-16 16 16 16 3.75-3.813-12.188-12.188z",fill:O.fill})))}),19043:((U,m,e)=>{e.d(m,{i:()=>r});var t=e(96540),i=e(99871);const r=({resellerInfo:A})=>{const{headerImageUri:P,supportingText:_}=A||{};return!P&&!_?null:t.createElement(i.mO,null,P?t.createElement(i.rj,{"data-testid":"reseller-header-image",src:P,alt:""}):null,_?t.createElement(i.NT,null,_):null)}}),29157:((U,m,e)=>{e.d(m,{W:()=>se});var t=e(96540),i=e(56347),r=e(24704),A=e(16505),P=(c=>(c.TELUS="TELUS",c.BANGO="BANGO",c))(P||{});const _={TELUS:"telus",BANGO:"bango"},N=c=>Object.values(P).includes(c),M=async(c,o)=>{const a=`${A.LV.baseUrl.replace("/v2","/v1")}/${_[c]}/reseller-info/${encodeURIComponent(o)}`,{parsedData:d}=await A.LV.get(a);return d};var D=e(61821),O=e(95789),R=Object.defineProperty,n=Object.defineProperties,h=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,W=(c,o,a)=>o in c?R(c,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):c[o]=a,G=(c,o)=>{for(var a in o||(o={}))E.call(o,a)&&W(c,a,o[a]);if(v)for(var a of v(o))L.call(o,a)&&W(c,a,o[a]);return c},b=(c,o)=>n(c,h(o));const ee=5e3,te=560,K=112,ne=c=>new Promise(o=>{const a=new Image,d=setTimeout(()=>o(!1),ee);a.onload=()=>{clearTimeout(d),o(!0)},a.onerror=()=>{clearTimeout(d),o(!1)},a.src=c}),J=async(c,o)=>{let a=await M(c,o);return a!=null&&a.headerImageUri&&(a=b(G({},a),{headerImageUri:(0,r.v)(a.headerImageUri,te,K,window.ENV_CONF.IMAGE_RESIZER_FORMAT)})),a!=null&&a.headerImageUri&&!await ne(a.headerImageUri)&&(a=b(G({},a),{headerImageUri:void 0})),a},s=new Map,oe=()=>s.clear(),se=()=>{const{search:c}=(0,i.zy)(),[o,a]=t.useState();return t.useEffect(()=>{const d=new URLSearchParams(c),B=(0,D.u)(d.get(O.O5.resellerId)),C=(0,D.u)(d.get(O.O5.provider));if(!B||!C||!N(C)){a(void 0);return}let j=!1;const Z=`${C}:${B}`;let z=s.get(Z);return z||(z=J(C,B),s.set(Z,z),z.catch(()=>s.delete(Z))),z.then(re=>{j||a(re)}).catch(()=>{j||a(void 0)}),()=>{j=!0}},[c]),o}}),47117:((U,m,e)=>{e.d(m,{GI:()=>R,Jo:()=>D,Xc:()=>_,gM:()=>O,lq:()=>M,zy:()=>N});var t=e(71342),i=e(82879),r=e(95789);const A=new Map([[i.q.LOGIN,"login_ott-custom-standard-login"],[i.q.SIGNUP,"signup_ott-custom-standard-register-free"],[i.q.SIGNIN_TO_WATCH,"login_ott-custom-standard-login"],[i.q.PURCHASE,"purchase_ott-custom-standard-register-premium"]]),P=new Map([["dce.realmadrid",A]]),_=(n,h,v)=>{if(!v)return h;const E=P.get(n);if(!E)return h;const L=E.get(v);return h+`&itm_campaign=${L}`},N=n=>{var h,v,E,L;const W=(v=(h=window.APPS)==null?void 0:h.ANDROID)==null?void 0:v.deepLinkUrlPrefix,G=(L=(E=window.APPS)==null?void 0:E.IOS)==null?void 0:L.deepLinkUrlPrefix;return!!n&&[W,G].includes(n)},M=n=>({redirectUrl:n.get(r.O5.redirectUrl)||void 0,bundleId:n.get(r.O5.bundleId)||void 0,selectedLicence:n.get(r.O5.selectedLicence)||void 0,licenceId:n.get(r.O5.licenceId)||void 0}),D=(n,h)=>{const{redirectUrl:v,bundleId:E,selectedLicence:L,licenceId:W}=h;return v&&n.set(r.O5.redirectUrl,v),E&&n.set(r.O5.bundleId,E),L&&n.set(r.O5.selectedLicence,L),W&&n.set(r.O5.licenceId,W),n},O=(n,h)=>{const{redirectUrl:v,bundleId:E,selectedLicence:L,licenceId:W}=h;return!v&&!E&&!L&&!W?n:(0,t.k4)(n,{[r.O5.redirectUrl]:v,[r.O5.bundleId]:E,[r.O5.selectedLicence]:L,[r.O5.licenceId]:W})},R=()=>{var n,h,v,E;
1return(E=(v=(h=(n=window.RAW_REALM_SETTINGS)==null?void 0:n.mfaConfigurations)==null?void 0:h.filter(L=>L.action==="FIREBASE_APP_CHECK"))==null?void 0:v[0])==null?void 0:E.projectKey}}),61821:((U,m,e)=>{e.d(m,{u:()=>t});const t=i=>(i==null?void 0:i.trim())||void 0}),82879:((U,m,e)=>{e.d(m,{q:()=>t});var t=(i=>(i.LOGIN="login",i.SIGNUP="signup",i.PURCHASE="purchase",i.SIGNIN_TO_WATCH="signin_to_watch",i))(t||{})}),84454:((U,m,e)=>{e.d(m,{A:()=>W,y:()=>E});var t=e(96540),i=e(86364),r=e(56347),A=e(90953),P=e(13516),_=e(6223),N=e(41078),M=e(98284),D=e(2275),O=e(79383),R=e(21865);const n=1024,h=820,v=1080,E=({isRtL:G,children:b})=>{const[ee,te]=t.useState(!1),{imageType:K}=t.useContext(P.xK),ne=(0,O.d)(),{appSettings:{WEB:J},realmFullName:s}=(0,A.U)(),{logoSrc:oe,loginBackgroundWeb:se,loginBackgroundWebRtl:c,loginBackgroundWebMobile:o}=(0,M.b)({imageUris:ne}),a=(0,N.l)(),d=ee?"loaded":void 0,B=(j,Z)=>(0,P.vy)(j,"AUTO",Z,K),C=()=>te(!0);return t.createElement(t.Fragment,null,t.createElement(_.s,{transitionEnterTimeout:200,transitionLeaveTimeout:200,transitionName:"background-image-transition",component:"div",className:"login-page__background"},a<=n&&t.createElement("img",{className:`img_mobile ${d}`,src:B(o,h),onLoad:C,alt:""}),a>n&&G&&t.createElement("img",{className:d,src:B(c,v),alt:"",onLoad:C}),a>n&&!G&&t.createElement("img",{className:d,src:B(se,v),alt:"",onLoad:C})),t.createElement("div",{className:(0,D.AH)("login-page__logo",(J==null?void 0:J.languageBadgeStyle)&&"login-page__logo--with-language-toggle")},t.createElement("img",{alt:s,src:(0,P.vy)(oe,"AUTO",110)})),b)},L=({services:{app:{isRtL:G}}})=>({isRtL:G}),W=(0,r.y)((0,i.Ng)(L)(E))}),97407:((U,m,e)=>{e.r(m),e.d(m,{LoginHeader:()=>_e,default:()=>Qe});var t=e(96540),i=e(86364),r=e(56347),A=e(1346),P=e(35667),_=e(58562),N=e(90953),M=e(13516),D=e(92675),O=e(79040),R=e(11456),n=e(19043),h=e(91645),v=e(56710),E=e(59530),L=e(29157),W=e(56334),G=e(84454),b=e(12189),ee=e(87585),te=e(47101),K=e(16505),ne=e(10654),J=e(95237),s=e(21975),oe=e(55488),se=e(85401),c=e(2275),o=e(31065),a=e(63967),d=e(95789),B=e(10940),C=e(75970),j=e(49688),Z=e(32248),z=e(67354),re=e(56016),gt=e(99477);const Se=()=>{const g=(0,r.W6)(),f=(0,r.zy)(),{routes:p}=t.useContext(E.P),T=new URLSearchParams(f.search).get("providerName")||Z.AuthenticationProviderNames.ID,{MAIN_TITLE:I}=window.APP_CONF,H=(0,i.wA)(),k=(0,_.b0)(["resetPassword","forgotPasswordWebTitle"]);t.useEffect(()=>{const Q=(0,o.YW)(p[s.xW.LOGIN_REQUEST_PASSWORD],f.pathname)?k.forgotPasswordWebTitle.value:k.resetPassword.value;H((0,z.D)([Q],I," - "))},[f.pathname,p,H,I,k]);const ae=(0,re.Z3)(()=>{g.push(p[s.xW.HOME])}).filter(Q=>Q.hasPasswordResetPage),ge=ae.find(Q=>Q.name===T)||(ae==null?void 0:ae[0]);return t.createElement(t.Fragment,null," ",ge==null?void 0:ge.getPasswordResetPage()," ")};var $e=e(39848),ve=e(47117),Ve=e(96763);const Ue=(g=[],f="")=>{if(!f||!g.length)return null;try{const p=new URL(f!=null&&f.startsWith("http")?f:`https://${f}`);for(const y of g){const T=new URL(y!=null&&y.startsWith("http")?y:`https://${y}`);if(p.origin===T.origin)return p.href}return null}catch(p){return Ve.warn("Error parsing redirect URI",{uri:f,error:p}),null}},Ye=(g,f,p)=>{const y=g.pathname.includes(f[s.xW.MAGIC_LINK]),T=g.pathname.includes(f[s.xW.LOGIN_REQUEST_PASSWORD]),I=g.pathname.includes(f[s.xW.LOGIN_RESET_PASSWORD]);return y?p.magicLinkHeading.value:T?p.forgotPasswordWebTitle.value:I?p.forgottenPassword.value:p.signIn.value},be=(g=[])=>g!=null&&g.length?g.map(({language:f,region:p})=>`${f}_${p}`):[],je=(g="",f=[])=>{var p;if(!g||!(f!=null&&f.length))return null;const y=g.split(" "),T=be(f);return(p=y.find(I=>T.includes(I)))!=null?p:null};var Ze=e(96763);const ze=g=>{const{canSignUp:f}=(0,h.A)(),p=(0,i.wA)(),y=(0,_.b0)(["signIn","magicLinkHeading","forgotPasswordWebTitle","forgottenPassword","goBack","selectYourProvider"]),T=(0,r.W6)(),I=(0,r.zy)(),H=t.useRef(I);H.current=I;const k=localStorage.getItem(W.s),{authenticationProviders:ue}=(0,v.Z)(),ae=(0,j.u)(),{allowSelfregistration:ge,LOGO:Q}=window.APP_CONF,[Me,De]=t.useState(!1),ye=(0,i.d4)(l=>l.services.app.previousLocation),{profileConfiguration:Xe,domains:Ne,realmLanguages:Je}=(0,N.U)(),{routes:u,defaultMenuParams:Ce}
1=t.useContext(E.P),Ee=!!(0,o.YW)(u[s.xW.GIFT_LOGIN],I.pathname),fe=!!(0,o.YW)(u[s.xW.GIFT_REDEMPTION_LOGIN],I.pathname),Pe=g.match.params.giftId,Oe=g.match.params.redeemCode,$=new URLSearchParams(I.search||""),V=$.get(d.O5.from)||g.from,ke=$.get(d.O5.type),Ge=$.get(d.O5.code),qe=$.get(d.O5.error),et=$.get(d.O5.uiLocales),{isFetching:xe,defaultMenu:Be}=(0,i.d4)(l=>l.menu),tt=(0,B.A)().isGuest,me=(0,c.V$)(tt),Ie=(0,L.W)(),nt=!!(0,o.YW)(u[s.xW.LOGIN],ye),he=l=>!!(0,o.YW)(u[s.xW.LOGIN_REQUEST_PASSWORD],l)||!!(0,o.YW)(u[s.xW.LOGIN_RESET_PASSWORD],l),ot=!he(I.pathname);t.useEffect(()=>{!nt&&ot&&(0,ee.u4)(A.bE.STARTED)},[ye]);const pe=(0,b.GX)(Xe);t.useEffect(()=>{De(me)},[]);const we=t.useCallback(async()=>{const l=(0,o.eM)(u,[s.xW.LOGIN,s.xW.SIGNUP],I.pathname),x=(0,$e.R)(ue);if(!me&&l&&x&&!Ge){(0,re.Z)(ue,T,u,ae,I,ke,V&&{from:V});return}const X=$.get(d.O5.redirectTo);if(X&&Ue(Ne,X)||$.get(d.O5.redirectUrl)||$.get(d.O5.bundleId)||await K.LV.storageProvider.get(C.U.APP_ROUTE)&&(Ge||qe)||he(H.current.pathname)||!(!!Be&&me&&!xe&&Me))return;const Ae=new URLSearchParams(H.current.search||""),ce=Ae.get(d.O5.from)||g.from,S=Ae.get(d.O5.entryPage);if(l||Ee||fe){if(ce||S){T.replace(S||Fe(),I.state);return}}else{const[de,We]=await Promise.all([K.LV.storageProvider.get(C.U.FROM),K.LV.storageProvider.get(C.U.ENTRY)]);if(ce||S||de||We)return}he(H.current.pathname)||(0,se.OS)(Ce,u,T,pe)},[xe,Be,Ce,me,Me]);t.useEffect(()=>{we()},[we]);const ie=(0,re.Z3)(async()=>{var l;const x=(l=I==null?void 0:I.state)==null?void 0:l.partitionData,w=new URLSearchParams(window.location.search),X=w.get(d.O5.from),Y=w.get(d.O5.entryPage),q=w.get(d.O5.redirectTo),Le=(0,ve.lq)(w),Te=w.get(d.O5.licences),le=je(et,Je),Ke=await K.LV.storageProvider.get(te.Zt);if(le&&le!==Ke)try{const S=!(Y||X||q);await(0,J.cR)(le,S)}catch(S){Ze.warn(`Failed to set language preference based on uiLocales param with locale: ${le}`,S)}if(x&&(0,ne.O)(p),g.onSigninComplete){g.onSigninComplete();return}if(Y){const S=new URLSearchParams;let F=Y;const de=!!(0,o.YW)(u[s.xW.SIGNUP],Y),We=!!(0,o.YW)(u[s.xW.PURCHASE],Y),ct=!!(0,o.YW)(u[s.xW.LOGIN],Y),dt=!!(0,o.YW)(u[s.xW.LOGIN_REDIRECT],Y);(de||We)&&(Te&&S.set(d.O5.licences,Te),q&&S.set(d.O5.redirectTo,q),(0,ve.Jo)(S,Le)),V&&S.set(d.O5.from,V);const He=S.toString();(ct||dt)&&V?F=V:He&&(F+=`${F.includes("?")?"&":"?"}${He}`);const ut=!!(0,o.YW)(u[s.xW.ACTIVATE_USER],F.split("?")[0]);pe&&!ut&&(F+=oe.q7),T.replace(F,I.state);return}if(X){let S=(0,ve.gM)(X,Le);const F=!!(0,o.YW)(u[s.xW.TV_LOGIN],X),de=!!(0,o.YW)(u[s.xW.ACTIVATE_USER],S.split("?")[0]);pe&&!F&&!de&&(S+=oe.q7),T.replace(S,I.state);return}const ce=q&&Ue(Ne,q);if(ce){window.location.href=ce;return}De(!0)},ue),Fe=()=>{if(Ee&&Pe)return(0,r.tW)(u[s.xW.GIFT],{giftId:Pe});if(fe&&Oe)return`${u[s.xW.GIFT_REDEMPTION]}?redeemCode=${Oe}`;const l=new URLSearchParams(H.current.search||"").get(d.O5.from)||g.from;try{return decodeURIComponent(l)}catch(x){return l}},st=()=>{var l;const x=Fe();Ee&&Pe||fe&&Oe?T.push(x):V?T.replace(x,(l=g==null?void 0:g.location)==null?void 0:l.state):(0,c.mH)(u[s.xW.LOGIN],T)},rt=()=>{(0,c.mH)(k,T),localStorage.removeItem(W.s)},at=!!(0,o.YW)(u[s.xW.LOGIN],I.pathname),Re=ie==null?void 0:ie.find(l=>l.isStandalonePicker&&!!(0,o.YW)(`${u[s.xW.LOGIN]}${l.authProviderRoute}`,I.pathname)),it=Re?y.selectYourProvider.value:Ye(I,u,y),lt=ge&&f;return t.createElement("div",{className:(0,M.AH)("login-page",Re&&"login-page--picker")},t.createElement(G.A,null,t.createElement("div",{className:"login-page__wrapper"},t.createElement(_e,{title:it,logoUrl:Q,showLogo:!(Ie!=null&&Ie.headerImageUri)}),t.createElement(n.i,{resellerInfo:Ie}),t.createElement("div",{className:"login-page__form"},!at&&!Re?t.createElement(O.Hv,{style:{display:"inline-flex"}},({isActive:l})=>t.createElement(D.K0,{smallMode:!0,onClick:st,className:(0,M.AH)(D.k9.PRIMARY,"login-page__back"),"aria-label":y.goBack.value},t.createElement(O.Q6,{name:P.Fc.ARROW_LEFT,state:l?P.nJ.HOVER:P.nJ.NORMAL,className:"icon-arrow-left btn-icon__icon","data-testid":"back-arrow",fallbackIcon:()=>t.createElement(R.A,{className:"icon-arrow-left btn-icon__icon","data-testid":"back-arrow"})}))):null,t.createElement(r.qh,{path:[u[s.xW.LOGIN],u[s.xW.GIFT_LOGIN
1],u[s.xW.GIFT_REDEMPTION_LOGIN]],exact:!0},t.createElement(a.X,{from:V,providers:ie||[],hasSignup:lt,handleSignup:g.handleSignup,redirect:k&&rt})),ie==null?void 0:ie.map(l=>{var x,w;return t.createElement(r.qh,{path:[`${u[s.xW.LOGIN]}${l.authProviderRoute}`,`${u[s.xW.GIFT_LOGIN]}${l.authProviderRoute}`,`${u[s.xW.GIFT_REDEMPTION_LOGIN]}${l.authProviderRoute}`],key:l.name+((x=l.authProvider)==null?void 0:x.clientId)+((w=l.authProvider)==null?void 0:w.openIdClientName),render:()=>t.createElement(t.Fragment,null,l.getPage())})}),t.createElement(r.qh,{path:u[s.xW.LOGIN_RESET_PASSWORD],component:Se}),t.createElement(r.qh,{path:u[s.xW.LOGIN_REQUEST_PASSWORD],component:Se})))))},Qe=(0,r.y)(ze),_e=({title:g,logoUrl:f,showLogo:p=!0})=>{const{realmFullName:y}=(0,N.U)(),{imageType:T}=t.useContext(M.xK);return t.createElement("div",{className:"login-page__header"},t.createElement("h1",{"aria-level":2},g),p?t.createElement("div",{className:"login-page__header__logo"},t.createElement("img",{src:(0,M.vy)(f,"AUTO",110,T),alt:y})):null)}}),99871:((U,m,e)=>{e.d(m,{NT:()=>A,mO:()=>i,rj:()=>r});var t=e(63679);const i=t.Ay.div`
2	margin-bottom: 27px;
3	text-align: start;
4
5	.simple-form & {
6		margin-bottom: 8px;
7	}
8`,r=t.Ay.img`
9	display: block;
10	margin: 0;
11	max-width: 100%;
12	max-height: 56px;
13`,A=t.Ay.p`
14	font-family: ${({theme:P})=>P.fonts.secondaryName};
15	font-size: 18px;
16	line-height: 24px;
17	font-weight: 500;
18	letter-spacing: 0.2px;
19
20	/* Tripled to out-rank the platform modal's own paragraph rules. */
21	&&& {
22		margin-top: 8px;
23		margin-bottom: 0;
24		text-align: start;
25	}
26
27	.simple-form & {
28		color: inherit;
29	}
30
31	.activation-layout & {
32		color: inherit; /* the global p rule pins #efefef, invisible on light realms */
33	}
34
35	.activation-layout &&& {
36		text-align: center;
37	}
38`})}]);})();
39
40//# sourceMappingURL=login-page.efd88bcf619417cccf34.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.