const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BACYRg7R.js","./index-CCv_8omK.js","./index-DGkT7afN.css","./decode-DPztD6kB.js","./index-CX3PrUL2.css"])))=>i.map(i=>d[i]);
import{r as t,p as n,j as r,bK as i,d4 as a}from"./index-CCv_8omK.js";const s=t.lazy(()=>i(()=>import("./index-BACYRg7R.js").then(o=>o.i),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),d=`{
  getNodeInfo {
    code
    info {
      did
      pk
    }
  }
}`,l=()=>{const o={},e=a();return e&&(o.Authorization=`Bearer ${e}`),typeof window<"u"&&typeof window.location<"u"&&(o["x-real-hostname"]=window.location.hostname,o["x-real-port"]=window.location.port,o["x-real-protocol"]=window.location.protocol),o};function c(){const{t:o}=t.useContext(n),e=`${window.env&&window.env.apiPrefix?window.env.apiPrefix:""}/api/gql`.replace(/\/+/g,"/").trim();return r.jsx(s,{defaultQuery:d,endpoint:e,title:o("common.console"),enableHistory:!0,enableQueryComposer:!0,enableCodeExporter:!1,extraHeaders:l})}export{c as default};
