PageSourceSearch

https://www.for9a.com/_next/static/chunks/pages/logout-5383a5fd7a1898e6.js

js for9a.com collected 2026-10-02 04:55:06 UTC 2,805 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[765],{80598:function(e,t){"use strict";Object.prototype.toString,Object.prototype.hasOwnProperty},15183:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/logout",function(){return n(55818)}])},55818:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return c},default:function(){return s}});var r=n(74817),i=n(71248),o=n(67833),a=n(90429),c=!0;function s(){let{t:e}=(0,o.Z)("common");return(0,i.useEffect)(()=>{(0,a.hY)()},[]),(0,r.jsx)("div",{className:"flex items-center justify-center w-full h-screen",children:(0,r.jsx)("h3",{children:e("log-out")})})}s.getLayout=function(e){return{...e}}},66340:function(e,t,n){"use strict";n.d(t,{BN:function(){return a},BW:function(){return i},cJ:function(){return o}});var r=n(85928);let i=e=>({type:r.z0p,payload:e}),o=e=>({type:r.nz1,payload:e}),a=e=>({type:r.X0P,payload:e})},90429:function(e,t,n){"use strict";n.d(t,{Li:function(){return f},X$:function(){return _},hY:function(){return u},jc:function(){return l},kC:function(){return w},r4:function(){return p},x4:function(){return d}});var r=n(19949),i=n(58496),o=n.n(i),a=n(34506);n(80598);var c=n(13682),s=n(66340);n(90185).Buffer;let u=async()=>{try{await (0,r.signOut)({redirect:!1,callbackUrl:"/"})}catch(e){console.error("[logout] signOut failed, continuing with local cleanup",e)}(0,s.BN)(),localStorage.removeItem("user_guest_id"),o().remove("_F_uAu"),o().remove("isBounce"),window.location.assign("https://www.for9a.com")},l=e=>{let{checker:t=!1,lang:n="ar"}=e,r=o().get("referrer_url");if(t){if(r&&"/"!==r&&"/en"!==r&&"/en/"!==r){let e=r;"en"!==n||r.startsWith("/en/")?"en"!==n&&r.startsWith("/en/")&&(e=r.replace("/en","")):e=`/en${r}`,window.location.href=e}else window.location.href="en"==n?"/en":"/"}else window.location.reload()},f=async e=>{if(!(null==e?void 0:e.key))return!1;try{return await (0,r.signIn)("credentials",{redirect:!1,key:e.key})}catch(e){return console.error("Error completing registration:",e),!1}},p=async e=>{let t=await a.Z.post("/api/auth/signup",e,{Accept:"application/json",lang:"ar"});return!!t.data&&"error"!=t.data.message&&await (0,r.signIn)("credentials",{redirect:!1,email:e.email,password:e.password,register_setep:!0})},d=async(e,t)=>t&&t.key?1==(await a.Z.post("https://api.for9a.com/user/save",e,{headers:{Accept:"application/json",lang:"ar",authentication:t.key}})).data.status&&(await (0,r.signIn)("credentials",{redirect:!1,key:t.key,personal_info_complete:"true"}),!0):(console.error("User or user.key is missing"),!1),w=e=>{let{e:t,route:n,url:r}=e;if(r&&o().set("referrer_url",r),n){let e=n.split("/");o().set("reg_from_page",e[1])}},_=()=>{(0,c.$)({event:"registration_completed"})}}},function(e){e.O(0,[2545,2888,9774,179],function(){return e(e.s=15183)}),_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.