PageSourceSearch

https://www.justwatch.com/appassets/DTfkTAaf.js

js justwatch.com collected 2026-09-24 08:01:43 UTC 3,393 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./entry.VfXgiKkI.css","./firebaseui.DMvWgRaa.css"])))=>i.map(i=>d[i]);
2import{aP as A,c_ as P,jD as S,bb as O,bm as b,aO as p,aT as n,aU as l,aW as u,dz as y,aV as d,bw as _,aZ as w,a_ as U,a$ as N,b0 as g,d0 as T,d1 as D,aX as L,eS as F,b4 as I,b5 as R}from"./DqUoKSZT.js";import{j as C,F as V,G as W,E as B}from"./D6ib26MG.js";import"./COl0qh72.js";import{C as G}from"./CkNK3FZy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"5e0fb5f8cfa644e65037bca5f9960ea76b3077d0"};var i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="6275c960-8c41-4901-9e75-8cb9547d084d",e._sentryDebugIdIdentifier="sentry-dbid-6275c960-8c41-4901-9e75-8cb9547d084d")}catch{}})();const k={key:0,class:"firebaseui-loading"},H={key:1,class:"firebaseui-error"},M={class:"message"},$={id:"firebaseui-auth-container"},j={key:2,class:"notification-label"},x="AUTH_CONSENTS",z="popup",Y="https://www.justwatch.com/privacy-policy",q="https://www.justwatch.com/terms",J=A({__name:"SignInOrUpDialog",props:{mode:{},location:{},overrideSuccessUrl:{}},emits:["dismiss"],setup(e,{emit:i}){const f=i,{t:r}=P(),{initLoginFlow:v}=S(),c=I(!1);O(()=>m());const o=I(!0),t=I(null);async function m(){try{o.value=!0,t.value=null;const[a]=await Promise.all([b(()=>import("./CUOgIIyn.js"),__vite__mapDeps([0]),import.meta.url),b(()=>Promise.resolve({}),__vite__mapDeps([1]),import.meta.url)]),s=a.auth.AuthUI.getInstance()??new a.auth.AuthUI(C());E(s)}catch(a){console.log({error:a}),t.value=a?.message??"There was an error loading the Firebase UI.",p("FirebaseUI lazy load failed",{error:a,where:"[SignInOrUpDialog.vue] loadFirebaseUI()"},"error")}finally{o.value=!1}}function E(a){a.start("#firebaseui-auth-container",{signInFlow:z,tosUrl:q,privacyPolicyUrl:Y,callbacks:{signInSuccessWithAuthResult:()=>{try{sessionStorage.setItem(x,JSON.stringify({mode:e.mode,location:e.location,acceptedPrivacyPolicy:!0,acceptedEmailAgreement:c.value}))}catch(s){console.warn("[Auth] Failed to save auth consents to sessionStorage:",s)}return v().then(()=>{f("dismiss"),e.overrideSuccessUrl&&window.location.assign(e.overrideSuccessUrl)}),!1},signInFailure:s=>{p("Firebase SignIn Failure",{error:{name:"Firebase SignIn Failure",...s},where:"[SignInOrUpDialog.vue] signInFailure()"},"error")}},signInOptions:[{provider:"apple.com",fullLabel:r("WEBAPP_LOGINS_CONTINUE_WITH_APPLE")},{provider:V.PROVIDER_ID,fullLabel:r("WEBAPP_LOGINS_CONTINUE_WITH_FACEBOOK")},{provider:W.PROVIDER_ID,fullLabel:r("WEBAPP_LOGINS_CONTINUE_WITH_GOOGLE")},{provider:B.PROVIDER_ID,fullLabel:r("WEBAPP_LOGINS_CONTINUE_WITH_EMAIL"),requireDisplayName:!1}]})}return(a,s)=>(n(),l("div",null,[o.value?(n(),l("div",k,[u(y)])):t.value?(n(),l("div",H,[d("span",M,_(a.$t("WEBAPP_AUTH_LOAD_ERROR")),1),u(N,{color:"primary",onClick:m},{default:w(()=>[U(_(a.$t("WEBAPP_ACTIONS_RETRY")),1)]),_:1})])):g("",!0),T(d("div",$,null,512),[[D,!o.value&&!t.value]]),e.mode===L(F).SIGN_UP&&!o.value&&!t.value?(n(),l("label",j,[u(G,{modelValue:c.value,"onUpdate:modelValue":s[0]||(s[0]=h=>c.value=h)},null,8,["modelValue"]),d("span",null,_(a.$t("WEBAPP_LOGINS_EMAIL_AGREE")),1)])):g("",!0)]))}}),ee=R(J,[["__scopeId","data-v-fd5a93b4"]]);export{ee as default};
3//# sourceMappingURL=DTfkTAaf.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.