PageSourceSearch

https://www.tabi.lol/assets/scan-CeZEiOEg.js

js tabi.lol collected 2026-09-24 11:57:15 UTC 1,390 bytes, 1 lines download raw bytes

1import{A as t,bm as o,u as r}from"./index-WbIxiSre.js";function p(){return t({mutationFn:async e=>{const{code:a,data:s,message:i,error:E}=await o.post("api/v1/aeon/payment/precheck",{json:e}).json();if(a!==200)throw new Error(E||i);if(!(s!=null&&s.can_pay))throw new Error((s==null?void 0:s.message)||"Payment not allowed");const n=await o.post("api/v1/aeon/payment/confirm",{json:{freeze_id:s.freeze_id,description:""}}).json();if((n==null?void 0:n.code)!==200||!n.success)throw new Error(n==null?void 0:n.message);return n}})}function C(){return t({mutationFn:async e=>{const a=await o.post("api/v1/aeon/payment/decode-qr",{json:e}).json();if(a.code!==200)throw new Error(a.message||"Failed to parse QR code");return a.data}})}var c=(e=>(e.CREATED="CREATED",e.BALANCE_FROZEN="BALANCE_FROZEN",e.CONFIRMED="CONFIRMED",e.PROCESSING="PROCESSING",e.SUCCESS="SUCCESS",e.FAILED="FAILED",e.CANCELLED="CANCELLED",e.EXPIRED="EXPIRED",e))(c||{});function w(e){return r({queryFn:async()=>(await o.get(`api/v1/aeon/payment/status/${e}`).json()).data,queryKey:["payOrderStatus",e],enabled:!!e,staleTime:0})}var u=(e=>(e.VND="VND",e.PHP="PHP",e.BRL="BRL",e))(u||{});function f(e){return r({queryFn:async()=>(await o.get("api/v1/aeon/payment/exchange_rate",{searchParams:{currency:e}}).json()).data,queryKey:["exchangeRate",e],staleTime:0,enabled:!!e})}export{u as C,c as P,C as a,f as b,p as c,w as u};

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.