PageSourceSearch

https://www.netflorist.co.za/_next/static/chunks/pages/Logon-4d3c9e24d2faa7b3.js

js netflorist.co.za collected 2026-09-25 18:35:13 UTC 1,723 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4929],{2462:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>p,default:()=>f});var s=a(37876),r=a(14232),n=a(89099),i=a.n(n),o=a(5068),u=a(22949),d=a(57560),l=a(5740),_=a(79697);let c=()=>{let e=(0,d.z)(),t=(0,u.Zp)(),[a,s]=(0,r.useState)(null);(0,r.useEffect)(()=>{(async()=>{let a=new URLSearchParams(window.location.search),r=a.get("uid"),u=a.get("ret");if(!u){let e=a.get("fp");e&&e.includes("ret=")&&(u=e.split("ret=")[1])}if(u=decodeURIComponent(u||""),r)try{let a=`${e.API_URL}user/autoLogonForAbandonedBasket?GUID=${r}`,d=await o.A.post(a,{});if(200===d.status&&d.data){let e=d.data.userId,a=await n(e);l.Yr.set(_.dE.USER,d.data),i(d.data),a&&u.startsWith("/Go/Basket/")?t("/Basket"):t("/")}s(d.data)}catch(e){}})()},[]);let n=async t=>{if(!t)return!1;try{let a=await o.A.get(`${e.API_URL}shoppingBasket/getAbandonedbaskettoken?UserId=${t}`);if(a.data&&a.data.tokenId)return l.Hk.set(_.eu.BASKET_TOKEN,a.data.tokenId,{expires:7}),!0}catch(e){}return!1},i=e=>{e&&(l.Nj.storeLoginData(e),(0,l.lw)()&&fetch("/api/auth/set-token",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e.tokenValue})}),l.Hk.set(_.eu.IS_SPECIAL_USER,JSON.stringify(e.isSpecialUser||!1),{expires:7}),l.Hk.set(_.eu.IS_USER_MEMBER,JSON.stringify(e.isUserMember||!1),{expires:7}),l.Hk.set(_.eu.IS_NF_CLUB_PLUS,JSON.stringify(e.isNFClubPlusMember||!1),{expires:7}))};return null};var p=!0;function f({autoRedirect:e}){return((0,r.useEffect)(()=>{e&&i().replace(e)},[e]),e)?null:(0,s.jsx)(c,{})}},29866:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/Logon",function(){return a(2462)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=29866)),_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.