1import"./rolldown-runtime-CNC7AqOf.js";import{h as e}from"./vendor-react-1UI7eh4Y.js";import"./fundingSessionStore-BBzenMD-.js";import"./useFundingModalState-QUM-fbr7.js";import"./useEvmFundingEngine-jVaTzdPV.js";import"./FundingModal-I_2B5WAT.js";e();var t=`public`,n=``,r=[`1`,`true`,`yes`,`on`].includes(n),i=[`0`,`false`,`no`,`off`].includes(n),a=r?!0:!i&&!(t===`public`||t===`production`),o=`sss:funding-modal-handoff:v1`,s=120*1e3;function c(e){return String(e??``).trim()||void 0}function l(){return typeof window<`u`&&!!window.localStorage}function u(e){if(!l())return!1;let t=Date.now(),n={action:e.action,token:e.token,routeId:c(e.routeId),amount:c(e.amount),sourcePage:e.sourcePage,depositMode:`depositMode`in e?e.depositMode:void 0,createdAt:t,expiresAt:t+s};try{return window.localStorage.setItem(o,JSON.stringify(n)),!0}catch{return!1}}function d(){if(!l())return null;try{let e=window.localStorage.getItem(o);if(!e)return null;window.localStorage.removeItem(o);let t=JSON.parse(e);return!t||typeof t!=`object`||Number(t.expiresAt||0)<Date.now()?null:{action:t.action,token:t.token,routeId:c(t.routeId),amount:c(t.amount),sourcePage:`assets`,depositMode:t.depositMode}}catch{return null}}export{u as n,a as r,d as t};
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.