import{o as e}from"./chunk-mlkTr37E.js";import"./query-string-RcCSSKcJ.js";import{r as t,s as n,t as r}from"./axios-fetch-adapter-m8Kx6J-y.js";import{a as i,n as a,t as o}from"./cookies-BrZOFRUC.js";import"./api-DzB1tprs.js";import{n as s}from"./getter-D7iIs4HV.js";var c=e(n()),l=`3.1.0`,u=`2`,d=()=>o(t),f=async()=>a(`SPC_CDS`,t),p=async e=>i(`SPC_CDS`,e,t),m=async()=>({version:l,SPC_CDS:await f(),SPC_CDS_VER:u}),h=c.default.create({baseURL:t,headers:s(),responseType:`json`,adapter:r});h.interceptors.response.use(e=>e.data),h.interceptors.request.use(async e=>(e.headers={...s(),...e.headers||{}},e.params={...await m(),...e.params||{}},e));var g=async()=>!!await f();export{g as a,p as i,f as n,d as r,h as t};