PageSourceSearch

https://app.alosim.com/_next/static/chunks/pages/oauth/apple/[action]-8da646e426b2eee4.js

js alosim.com collected 2026-09-24 10:33:43 UTC 2,372 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8621],{63404:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSP:()=>A,default:()=>w});var o=s(97135),i=s(7023),r=s(71742),n=s(6963),a=s(59941),l=s(1981),c=s(80637),u=s(25425),p=s(41134),_=s(69077),d=s(64629),E=s(40720),g=s(13226),f=s(22593),S=s(90420),A=!0;function w(e){let{hasAccess:t,token:s,authType:A,state:w,error:m,email:I,action:N,userId:T,marketingOptIn:U,userCurrencyCode:P,userCurrencyName:h,isMobileOrSafariOrWebView:D}=e,R=(0,a.j)(),y=(0,n.useRouter)(),C=(0,r.d4)(_.Ek),b=(0,r.d4)(_.Kx),{setConsentUser:O,waitForDidomi:k}=(0,f.s)(),v=null==I?void 0:I.toLowerCase();return(0,i.useEffect)(()=>{if(C!==w||!s||!w||!A){/Mobi|Android|iPhone|iPad|iPod/i.test(window.navigator.userAgent)?R((0,d.Hm)(E.t.OAUTH_APP_INTERCEPTED)):R((0,d.Hm)(null!=m?m:E.w)),R((0,u.oO)()),y.replace(l.A.login);return}if(s&&t&&A&&C===w&&T&&P&&h){if(R((0,p.G3)({userDefaultCurrency:{currencycode:P,name:h,isselected:!0}})),R((0,u.JR)({token:s,hasAccess:t,authType:A,email:v,userId:T})),R((0,u.D3)()),k().then(()=>{O(s)}).catch(e=>{console.warn("Didomi never loaded, skipping setConsentUser:",e.message)}),I&&1){try{let e=(0,S.SG)();if(e){if(e.changeUser(T),"string"==typeof N&&"register"===N){let t=e.getUser();t&&(t.setEmail(I),t.setCustomUserAttribute("signup_source","apple"),U?t.setEmailNotificationSubscriptionType(e.User.NotificationSubscriptionTypes.SUBSCRIBED):U||t.setEmailNotificationSubscriptionType(e.User.NotificationSubscriptionTypes.UNSUBSCRIBED))}e.openSession()}}catch(e){console.warn("Braze SDK operation failed:",m)}localStorage.setItem("AF_UID",T),localStorage.setItem("AF_USER_IDENTIFIED","no")}(0,g.Lr)("register"===N?"sign_up":"login","apple",v),"string"==typeof N&&"register"===N&&localStorage.setItem("AF_USER_REGISTERED","yes"),localStorage.setItem("AF_USER_REGISTRATION_METHOD","apple");let e=[l.A.login,l.A.register,l.A.forgotPassword,l.A.forgotPasswordSuccess,l.A.resetPassword,l.A.resetPasswordExpired],o=b&&e.includes(b.href),i="";i=b&&!o?b.href:l.A.esimStore.region,y.replace(i,b&&!o?b.as:void 0)}else R((0,d.Hm)(null!=m?m:E.w)),R((0,u.oO)()),y.replace(l.A.login)},[y,C,b,w,s,A,t,T,P,h,R,v,I,N,U,m,k,O,D]),(0,o.jsx)(c.O,{load:!0})}},91134:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/oauth/apple/[action]",function(){return s(63404)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=91134)),_N_E=e.O()}]);

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.