PageSourceSearch

https://sugary.me/_next/static/chunks/7002.3f19a64ed84e52a1.js

js sugary.me collected 2026-10-01 14:21:01 UTC 2,176 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7002],{1934:(e,t,n)=>{n.d(t,{v:()=>s});var r=n(12115);let l=e=>{let t,n=new Set,r=(e,r)=>{let l="function"==typeof e?e(t):e;if(!Object.is(l,t)){let e=t;t=(null!=r?r:"object"!=typeof l||null===l)?l:Object.assign({},t,l),n.forEach(n=>n(t,e))}},l=()=>t,i={setState:r,getState:l,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e))},s=t=e(r,l,i);return i},i=e=>{let t=e?l(e):l,n=e=>(function(e,t=e=>e){let n=r.useSyncExternalStore(e.subscribe,r.useCallback(()=>t(e.getState()),[e,t]),r.useCallback(()=>t(e.getInitialState()),[e,t]));return r.useDebugValue(n),n})(t,e);return Object.assign(n,t),n},s=e=>e?i(e):i},15217:(e,t,n)=>{n.d(t,{LH:()=>a,ok:()=>s,setClientCookie:()=>i});var r=n(82849),l=n(29407);function i(e,t,n){r.A.set(e,"string"==typeof t?t:JSON.stringify(t),{expires:n,sameSite:"Lax",secure:!0})}function s(e){let t=r.A.get(e);if(void 0===t)return null;try{return JSON.parse(t)}catch{return t}}function a(){for(let e of[l.F.TOKEN,l.F.TOKEN_EXPIRES_AT,l.F.USER_DATA,l.F.GIFTING_PLACE,l.F.CURRENCY])r.A.remove(e,{sameSite:"Lax"})}},37002:(e,t,n)=>{n.d(t,{X:()=>s,useGlobalStore:()=>a});var r=n(1934),l=n(15217),i=n(29407);let s={Token:"token",TokenExpiresAt:"token_expires_at",CurrentUser:"current_user",GiftingPlace:"giftingPlace",GiftingDate:"giftingDate",Currency:"currency",IsHydrated:"isHydrated"},a=(0,r.v)(e=>({[s.IsHydrated]:!1,[s.Token]:null,[s.TokenExpiresAt]:null,[s.CurrentUser]:null,[s.GiftingPlace]:null,[s.GiftingDate]:null,[s.Currency]:null,setField:(t,n,r=!0)=>{if(e({[t]:n}),r)switch(t){case s.GiftingPlace:(0,l.setClientCookie)(i.F.GIFTING_PLACE,n,30);break;case s.GiftingDate:(0,l.setClientCookie)(i.F.GIFTING_DATE,n,30);break;case s.Currency:(0,l.setClientCookie)(i.F.CURRENCY,n,30);break;case s.CurrentUser:(0,l.setClientCookie)(i.F.USER_DATA,n,7);break;case s.Token:(0,l.setClientCookie)(i.F.TOKEN,n,30);break;case s.TokenExpiresAt:(0,l.setClientCookie)(i.F.TOKEN_EXPIRES_AT,n,30)}},hydrate:t=>e({...t,[s.IsHydrated]:!0}),clearAll:()=>e({[s.Token]:null,[s.TokenExpiresAt]:null,[s.CurrentUser]:null,[s.GiftingPlace]:null,[s.GiftingDate]:null,[s.Currency]:null})}))}}]);

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.