@abtnode/webapp 1.17.8-beta-20260116-080047-9fdd00d3 → 1.17.8-beta-20260119-102944-6ba93a16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{AdapterDayjs-CHVRCEwB.js → AdapterDayjs-QPUTgQRV.js} +6 -6
- package/dist/assets/{Add-IxR__ozX.js → Add-vvp5juzF.js} +1 -1
- package/dist/assets/ArrowDropDown-CZ9_k8VG.js +1 -0
- package/dist/assets/{Autocomplete-OhxbbTq9.js → Autocomplete-BqPV4fCq.js} +1 -1
- package/dist/assets/{Breadcrumbs-CfkRwQNu.js → Breadcrumbs-DEV3jkdC.js} +1 -1
- package/dist/assets/{ButtonGroup--8rwLvQ8.js → ButtonGroup-BDg4XqiR.js} +1 -1
- package/dist/assets/{CSSTransition-D4fabzL2.js → CSSTransition-CoGzojVI.js} +1 -1
- package/dist/assets/{CallMerge-Di3dNXj5.js → CallMerge-C5DyJ6fm.js} +1 -1
- package/dist/assets/{CardContent-CPUlyd-R.js → CardContent-rjL6kB_r.js} +1 -1
- package/dist/assets/{ChevronLeft-lzYf4tao.js → ChevronLeft-DqSG9UHo.js} +1 -1
- package/dist/assets/{ChevronRight-CO-Fv8kP.js → ChevronRight-DxsEcvUg.js} +1 -1
- package/dist/assets/{Clear-DriUx9_Q.js → Clear-Bq2o3otF.js} +1 -1
- package/dist/assets/{Delete-DkHujAB7.js → Delete-RCnwfW1g.js} +1 -1
- package/dist/assets/{DeleteOutline-DUcJA7eO.js → DeleteOutline-BXoQnWFj.js} +1 -1
- package/dist/assets/{Done-B_L7rkHk.js → Done-DVQ_2sA2.js} +1 -1
- package/dist/assets/{Edit-DgzPfnB_.js → Edit-DVXYin_T.js} +1 -1
- package/dist/assets/{EditOutlined-yXcT-6A0.js → EditOutlined-CHgCULNs.js} +1 -1
- package/dist/assets/{ErrorOutline-B7jRfGmR.js → ErrorOutline-qdJUw5q6.js} +1 -1
- package/dist/assets/{FilterList-DMbHmf0X.js → FilterList-Dfj9GsZN.js} +1 -1
- package/dist/assets/{Google-DMfPhzx4.js → Google-BtG0IwAt.js} +1 -1
- package/dist/assets/{HelpOutline-Be59cdK1.js → HelpOutline-DaGemEcX.js} +1 -1
- package/dist/assets/{Launch-B8FfXmf_.js → Launch-BsxqWG7C.js} +1 -1
- package/dist/assets/{Link-wdDqdiCm.js → Link-BRsXeoEC.js} +1 -1
- package/dist/assets/{ListItemButton-BHNRxd8I.js → ListItemButton-kpGgMj08.js} +1 -1
- package/dist/assets/{ListSubheader-UFJcQfY_.js → ListSubheader-BTZwmxdp.js} +1 -1
- package/dist/assets/{LoadingButton-CUdpFc0p.js → LoadingButton-DZ6V6Qhe.js} +1 -1
- package/dist/assets/{LottiePlayer.modern-Jxnonfmi.js → LottiePlayer.modern-H3Pn2YNu.js} +1 -1
- package/dist/assets/{MoreVert-BVgcfW7V.js → MoreVert-DxM-B8xa.js} +1 -1
- package/dist/assets/{OpenInNew-CEBJXmxa.js → OpenInNew-BUUx7OSU.js} +1 -1
- package/dist/assets/{Refresh-DrflkqFW.js → Refresh-BV0ShuHj.js} +1 -1
- package/dist/assets/{Replay-qvum4SpI.js → Replay-DyvF6A5F.js} +1 -1
- package/dist/assets/{Search-CtujvL0H.js → Search-m3CMNGDm.js} +1 -1
- package/dist/assets/{Stepper-CJfsKFpi.js → Stepper-DR0cCC-q.js} +1 -1
- package/dist/assets/{TableSearch-CdKaHbVQ.js → TableSearch-okRl0dqT.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-BP4C4KFu.js → ToggleButtonGroup-DxIvj50j.js} +1 -1
- package/dist/assets/{UnfoldMore-BvZuyACH.js → UnfoldMore-CZT-4-ZR.js} +1 -1
- package/dist/assets/Verified-C1aYOY3u.js +1 -0
- package/dist/assets/{VerifiedUser-D0ltmMtV.js → VerifiedUser-CS3FW2sd.js} +1 -1
- package/dist/assets/{ViewList--urcCqVt.js → ViewList-CXrUBR0t.js} +1 -1
- package/dist/assets/{_createAggregator-G6HCftPW.js → _createAggregator-BunO9xPF.js} +1 -1
- package/dist/assets/{actions-5RspfWE_.js → actions-CoszoXjw.js} +1 -1
- package/dist/assets/{actions-DjLoksgL.js → actions-DE2r6nPV.js} +1 -1
- package/dist/assets/{actions-CQAb6_Rz.js → actions-MiEliG9R.js} +1 -1
- package/dist/assets/{agreement-b4V3Z14P.js → agreement-CiVQRYD2.js} +1 -1
- package/dist/assets/api-CKaiYijO.js +1 -0
- package/dist/assets/{appearance-AiyB_V1W.js → appearance-DtyCmGdO.js} +1 -1
- package/dist/assets/{ar-BHqjWgUQ.js → ar-DOhYGTlW.js} +1 -1
- package/dist/assets/{audit-logs-C4Hps2ag.js → audit-logs-DQ3aFS2x.js} +2 -2
- package/dist/assets/{babel-sNEik07f.js → babel-yl1c6pTl.js} +1 -1
- package/dist/assets/{base-chart-BE2BHY3Y.js → base-chart-G_tNYsY8.js} +1 -1
- package/dist/assets/{blocklet-lDvdqhrX.js → blocklet-CzBGFesP.js} +1 -1
- package/dist/assets/{chain-BQMbjNUU.js → chain-z8CuvP-V.js} +1 -1
- package/dist/assets/{click-to-copy-C6h97nXy.js → click-to-copy-DXIfZNln.js} +1 -1
- package/dist/assets/cloneDeep-BDiWjxRu.js +1 -0
- package/dist/assets/config-navigation-BYqsSWyl.js +472 -0
- package/dist/assets/{connect-B1msLBDb.js → connect-64-QZQcE.js} +3 -3
- package/dist/assets/{connect-to-DeMt1m5c.js → connect-to-CeGdVeiX.js} +3 -3
- package/dist/assets/{de-QUGQFv2K.js → de-CtKPdGk6.js} +1 -1
- package/dist/assets/{delete-confirm-DyLbGAy5.js → delete-confirm-Dh3X0iXU.js} +1 -1
- package/dist/assets/{depsEqual-CM0PEscV.js → depsEqual-Bfsv3kHf.js} +1 -1
- package/dist/assets/{detail-C3fs8uRl.js → detail-C4nQbO7d.js} +2 -2
- package/dist/assets/{domains-CVE_fz_I.js → domains-7n5twKTf.js} +2 -2
- package/dist/assets/{download-f9_CnIWg.js → download-CFyTq_FK.js} +1 -1
- package/dist/assets/{edit.svg-Bdq-FCGM.js → edit.svg-DBlxe-2U.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-Cu824RS4.js +1 -0
- package/dist/assets/engine-Bbh7Mw-7.js +1 -0
- package/dist/assets/{es-C4w6cL07.js → es-BSYtSZPg.js} +1 -1
- package/dist/assets/{fr-Bq3UipEu.js → fr-C35fi7h9.js} +1 -1
- package/dist/assets/{get-safe-url-RPQVYlWr.js → get-safe-url-BTJDduf6.js} +1 -1
- package/dist/assets/getValidReactChildren-T3CvLHYr.js +1 -0
- package/dist/assets/{graphql-5mE8kB37.js → graphql-Cnx2YXBE.js} +1 -1
- package/dist/assets/{graphqlMode-BHMSwqwV.js → graphqlMode-7KCJGlgj.js} +2 -2
- package/dist/assets/{hi-DGZy0DLh.js → hi-5fpYJkiW.js} +1 -1
- package/dist/assets/{html-title-DE0TrRVC.js → html-title-CQe12Cut.js} +1 -1
- package/dist/assets/{id-DOzDilAf.js → id-DoVb0JYr.js} +1 -1
- package/dist/assets/{iframe-B7aYePTd.js → iframe-BWle7w_S.js} +1 -1
- package/dist/assets/{index-r58wskKh.js → index-AaVex2Te.js} +1 -1
- package/dist/assets/{index-B4azxfc8.js → index-B8JpxHJE.js} +1 -1
- package/dist/assets/{index-hG-7kift.js → index-BCrgfevn.js} +2 -2
- package/dist/assets/index-BHLEff7q.js +369 -0
- package/dist/assets/{index-DbRhfp5G.js → index-BMGgZI9D.js} +1 -1
- package/dist/assets/{index-CaLjm3Sr.js → index-BXpvvqAs.js} +1 -1
- package/dist/assets/{index-D7yowN9E.js → index-BcZYQGNY.js} +8 -8
- package/dist/assets/{index-CEn1Olzp.js → index-Bg6faJyI.js} +1 -1
- package/dist/assets/{index-B2xyyyAv.js → index-Bv6Ryg7V.js} +1 -1
- package/dist/assets/index-BzFgWQ5w.js +1 -0
- package/dist/assets/{index-DaEqVg3j.js → index-C73PGWD5.js} +1 -1
- package/dist/assets/{index-B29Pha71.js → index-C97bSDg2.js} +3 -3
- package/dist/assets/index-CBCPHvf_.js +102 -0
- package/dist/assets/{index-B1mmOd5b.js → index-CJ_aJ5dR.js} +1 -1
- package/dist/assets/{index-DmCKwIHx.js → index-CQob6fmR.js} +4 -4
- package/dist/assets/{index-BqqU8gwj.js → index-CTjBZAn9.js} +1 -1
- package/dist/assets/{index-2l_1Jppv.js → index-CUGajpSS.js} +3 -3
- package/dist/assets/{index-CWB_ryH-.js → index-CXEKSKL7.js} +1 -1
- package/dist/assets/{index-BgYMQ-SO.js → index-ChmYDkPv.js} +2 -2
- package/dist/assets/{index-QndNtIi-.js → index-CoHxWTi-.js} +1 -1
- package/dist/assets/{index-9co-KaYp.js → index-D42m9V9f.js} +9 -9
- package/dist/assets/{index-EzJJEvjR.js → index-D4yrNQ5O.js} +3 -3
- package/dist/assets/{index-CPZ5M8hw.js → index-DBtWMsht.js} +1 -1
- package/dist/assets/{index-DaVz8byr.js → index-DHLFobHl.js} +3 -3
- package/dist/assets/{index-nVFW1KOC.js → index-DJt6Q1WW.js} +1 -1
- package/dist/assets/{index-BtOLGXbe.js → index-DSG25x4F.js} +1 -1
- package/dist/assets/{index-BfetuCUm.js → index-DTVaw2Hc.js} +4 -4
- package/dist/assets/{index-BfQLSa8k.js → index-DUEj1V-j.js} +1 -1
- package/dist/assets/{index-Cmj8zxd_.js → index-DVR29wYi.js} +14 -14
- package/dist/assets/index-Denq1UAZ.js +20 -0
- package/dist/assets/{index-BcjR7La5.js → index-DfCxzzye.js} +1 -1
- package/dist/assets/{index-Beek8Qoq.js → index-DftYcsPB.js} +6 -6
- package/dist/assets/{index-B0oOTjeC.js → index-DqCVCPmC.js} +1 -1
- package/dist/assets/{index-BIgX2N1A.js → index-DrI_kbUr.js} +6 -6
- package/dist/assets/{index-ByymZrPq.js → index-DtIwM7gL.js} +2 -2
- package/dist/assets/{index-BBu-RTSN.js → index-DyNVa2Lx.js} +1 -1
- package/dist/assets/{index-DYd4YT_K.js → index-G-jrPGsm.js} +1 -1
- package/dist/assets/{index-BX6YpiBs.js → index-Ii4Xi_du.js} +2 -2
- package/dist/assets/{index-BZ5rC2Lk.js → index-P2FBSyZf.js} +1 -1
- package/dist/assets/{index-Ca61GFb8.js → index-dCiAdDNg.js} +1 -1
- package/dist/assets/{index-Bm8Rp86x.js → index-kSplQjj2.js} +1 -1
- package/dist/assets/{index-82LLl9rh.js → index-nmsk2vjw.js} +2 -2
- package/dist/assets/{index-CVpBdzTr.js → index-nsujgMc_.js} +1 -1
- package/dist/assets/{index-D3SOJZGy.js → index-u76kHZTc.js} +3 -3
- package/dist/assets/{index-gwhKA5OT.js → index-xtzr7R_I.js} +1 -1
- package/dist/assets/{index.esm-C5mhDUsD.js → index.esm-iaB2Jgy_.js} +1 -1
- package/dist/assets/{install-from-url-DPdbO0Jq.js → install-from-url-CzhDO2C0.js} +1 -1
- package/dist/assets/{invitation-3RtS1iUK.js → invitation-C3HrxXln.js} +2 -2
- package/dist/assets/is-path-prefix-equal-dPdZJpAg.js +1 -0
- package/dist/assets/{isEmail-apFH2MvD.js → isEmail-CmCW4Fgq.js} +1 -1
- package/dist/assets/item-C6yFM2Os.js +163 -0
- package/dist/assets/{ja-DMq-YXDX.js → ja-DZPUwZ9l.js} +1 -1
- package/dist/assets/{jsonMode-RjxYywbi.js → jsonMode-BRueWwe6.js} +1 -1
- package/dist/assets/{ko-BrYbXurh.js → ko-q4i4r9g6.js} +1 -1
- package/dist/assets/{list-header-BNS6BF2P.js → list-header-s21LDuvb.js} +1 -1
- package/dist/assets/{lite-C-Ikw2GQ.js → lite-BBz66z5Z.js} +2 -2
- package/dist/assets/{lock.svg-BFdqOrkF.js → lock.svg-DK1hXFWn.js} +1 -1
- package/dist/assets/{log-DZlkZyGX.js → log-DRaCmTGd.js} +1 -1
- package/dist/assets/{login-method-item-ZVrK6tB1.js → login-method-item-DwSmGt8t.js} +1 -1
- package/dist/assets/{lottie-react.esm-A7yQ3Nfv.js → lottie-react.esm-DqwAKW0L.js} +1 -1
- package/dist/assets/{memory-CoCFCBkX.js → memory-VAHG3fjG.js} +1 -1
- package/dist/assets/{metric-B3S53u3H.js → metric-B6TET6QI.js} +1 -1
- package/dist/assets/{monaco-editor-CQ6Pm7Hi.js → monaco-editor-BH4xSgKB.js} +3 -3
- package/dist/assets/{mouseTarget-DxlEpFaz.js → mouseTarget-txK7mk_L.js} +1 -1
- package/dist/assets/omit-B-qG4p98.js +1 -0
- package/dist/assets/{overview-z9AW_vcO.js → overview-D3hqR9Yg.js} +1 -1
- package/dist/assets/{permission-C_g43OOf.js → permission-DET008IY.js} +1 -1
- package/dist/assets/{preference-1qTmAvHN.js → preference-pxwdMSFg.js} +8 -8
- package/dist/assets/{provider-icon-CoJ5ERXe.js → provider-icon-CCZmjsDZ.js} +1 -1
- package/dist/assets/{pt-Dl6732JN.js → pt-BFCHl6F1.js} +1 -1
- package/dist/assets/{raf-schd.esm-CU1FaTjd.js → raf-schd.esm-BuSKwIfR.js} +1 -1
- package/dist/assets/{rotate-session-key-CQOBWeRr.js → rotate-session-key-DE58Q8ag.js} +1 -1
- package/dist/assets/{ru-CVUeN9AX.js → ru-CSTl62kK.js} +1 -1
- package/dist/assets/runtime-b4EXN3II.js +1 -0
- package/dist/assets/schema-DE6tzaXQ.js +1 -0
- package/dist/assets/sdk-CxXstbZm.js +1 -0
- package/dist/assets/{service-iJdsq1ul.js → service-BpzqSJv4.js} +1 -1
- package/dist/assets/{shorten-label-CCnq_MUQ.js → shorten-label-PYNmzpP_.js} +1 -1
- package/dist/assets/{simple-select-0S1qRvRS.js → simple-select-BiJQdJOQ.js} +1 -1
- package/dist/assets/{spaces-BbUa6G9F.js → spaces-MVFShLV4.js} +1 -1
- package/dist/assets/{status-g0Lvwqad.js → status-LmBdrnlB.js} +1 -1
- package/dist/assets/{status-B4gHBixJ.js → status-UZAIOWNB.js} +1 -1
- package/dist/assets/{switch-control-CwXplLu0.js → switch-control-CE57fLeM.js} +1 -1
- package/dist/assets/{table-icons-BwS2Y2wV.js → table-icons-BG66cxZv.js} +1 -1
- package/dist/assets/{team-DETQHkho.js → team-DgQYntrc.js} +1 -1
- package/dist/assets/{th-32eBNQes.js → th-D75Dlluo.js} +1 -1
- package/dist/assets/{toLower-oQZ3J7Wi.js → toLower-DBVF4v1M.js} +1 -1
- package/dist/assets/toUpper-RYfZ9dsZ.js +1 -0
- package/dist/assets/{traffic-Cqk5X-Ty.js → traffic-7oEMp-9f.js} +1 -1
- package/dist/assets/trim-Dm26Hw3f.js +1 -0
- package/dist/assets/{url-evaluation-DyzOKILN.js → url-evaluation-CTsNt3ve.js} +1 -1
- package/dist/assets/{url-join-BM9fQWnd.js → url-join-oxVMh_nl.js} +1 -1
- package/dist/assets/{use-mobile-23djKzeO.js → use-mobile-BS_f_Fn7.js} +1 -1
- package/dist/assets/{use-mobile-BmaqHxmL.js → use-mobile-Czu8FCYf.js} +1 -1
- package/dist/assets/{useAsync-DtsKmLYR.js → useAsync-sbHIoH6-.js} +1 -1
- package/dist/assets/{useAsyncRetry-bd8YRPLB.js → useAsyncRetry-CCLyjAGj.js} +1 -1
- package/dist/assets/{useLocalStorage-Cf0vlWCe.js → useLocalStorage-CnqCtMp_.js} +1 -1
- package/dist/assets/{useThemeProps-CSqQ3Rdj.js → useThemeProps-DrXM-hmA.js} +1 -1
- package/dist/assets/{util-w8OtW6iJ.js → util-odWrmhcv.js} +1 -1
- package/dist/assets/{vi-DF8IinAc.js → vi-D1mKYrmb.js} +1 -1
- package/dist/assets/{wait-container-CoMsFqPE.js → wait-container-D_OCwH7P.js} +1 -1
- package/dist/assets/{without-wallet-U-jwKDa8.js → without-wallet-suCG1vjR.js} +1 -1
- package/dist/assets/wrap-locale-C0daq2dx.js +1 -0
- package/dist/assets/{zh-ByJkLAV1.js → zh-G2I44gfs.js} +1 -1
- package/dist/assets/{zh-tw-34G9tsUP.js → zh-tw-C4Juvs-i.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/ArrowDropDown-BLLloj8o.js +0 -1
- package/dist/assets/KeyboardArrowDown-Dlq5aN05.js +0 -1
- package/dist/assets/Verified-BAR-FN7O.js +0 -1
- package/dist/assets/api-Bv3RStR2.js +0 -1
- package/dist/assets/cloneDeep-CheRvpcx.js +0 -1
- package/dist/assets/config-navigation-D55MBXAB.js +0 -472
- package/dist/assets/emotion-cache.browser.esm-DxLNiXj3.js +0 -1
- package/dist/assets/engine-DGEfu7n8.js +0 -1
- package/dist/assets/getValidReactChildren-CVyZy5bG.js +0 -1
- package/dist/assets/index-CckoDRE8.js +0 -1
- package/dist/assets/index-DciiOEW2.js +0 -20
- package/dist/assets/index-Duu5UY8_.js +0 -1
- package/dist/assets/index-DxkMGrHs.js +0 -358
- package/dist/assets/index-K5eCanEK.js +0 -102
- package/dist/assets/is-path-prefix-equal-Cc6vYZ8N.js +0 -1
- package/dist/assets/item-BinI3jhy.js +0 -163
- package/dist/assets/omit-Bk5eP-SH.js +0 -1
- package/dist/assets/runtime-CVva7EgW.js +0 -1
- package/dist/assets/schema-7NDYbay9.js +0 -1
- package/dist/assets/sdk-Dvt1785F.js +0 -1
- package/dist/assets/toUpper-lxerpjTR.js +0 -1
- package/dist/assets/trim-D7km596D.js +0 -1
- package/dist/assets/wrap-locale-DxhU5ODE.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./graphql-
|
|
2
|
-
import{cD as mp,r as h,j as v,ah as cr,I as mr,W as Ne,jh as C,ji as Pe,jj as X,jk as a4,jl as u4,jm as Dr,jn as ee,jo as We,jp as On,jq as Ee,jr as At,js as yn,jt as Cf,ju as l4,jv as ln,jw as gp,jx as ti,jy as Cv,jz as c4,jA as f4,jB as Nv,jC as Rv,jD as gu,jE as d4,jF as p4,jG as Fv,jH as h4,jI as m4,jJ as g4,jK as b4,jL as y4,jM as v4,jN as x4,jO as E4,jP as w4,jQ as _4,jR as S4,jS as Iv,jT as bp,bo as yp,jU as T4,jV as Dl,i5 as Xt,iE as A4,n as ci,iG as Lv,bl as k4,j9 as D4,ai as C4,ab as N4,jW as R4,P as F4,o as $r}from"./index-BIgX2N1A.js";var vc,Ph;function I4(){if(Ph)return vc;Ph=1;var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(F,P)=>{for(var Q in P)t(F,Q,{get:P[Q],enumerable:!0})},a=(F,P,Q,ce)=>{if(P&&typeof P=="object"||typeof P=="function")for(let R of r(P))!o.call(F,R)&&R!==Q&&t(F,R,{get:()=>P[R],enumerable:!(ce=n(P,R))||ce.enumerable});return F},u=(F,P,Q)=>(Q=F!=null?e(i(F)):{},a(!F||!F.__esModule?t(Q,"default",{value:F,enumerable:!0}):Q,F)),l=F=>a(t({},"__esModule",{value:!0}),F),c={};s(c,{$dispatcherGuard:()=>M,$makeReadOnly:()=>U,$reset:()=>N,$structuralCheck:()=>W,c:()=>E,clearRenderCounterRegistry:()=>G,renderCounterRegistry:()=>q,useRenderCounter:()=>$}),vc=l(c);var f=u(mp()),{useRef:d,useEffect:p,isValidElement:m}=f,b,y=(b=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?b:f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.memo_cache_sentinel"),w,E=typeof((w=f.__COMPILER_RUNTIME)==null?void 0:w.c)=="function"?f.__COMPILER_RUNTIME.c:function(P){return f.useMemo(()=>{const Q=new Array(P);for(let ce=0;ce<P;ce++)Q[ce]=x;return Q[x]=!0,Q},[])},_={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(F=>{_[F]=()=>{throw new Error(`[React] Unexpected React hook call (${F}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var S=null;_.useMemoCache=F=>{if(S==null)throw new Error("React Compiler internal invariant violation: unexpected null dispatcher");return S.useMemoCache(F)};function T(F){return y.ReactCurrentDispatcher.current=F,y.ReactCurrentDispatcher.current}var k=[];function M(F){const P=y.ReactCurrentDispatcher.current;if(F===0){if(k.push(P),k.length===1&&(S=P),P===_)throw new Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");T(_)}else if(F===1){const Q=k.pop();if(Q==null)throw new Error("React Compiler internal error: unexpected null in guard stack");k.length===0&&(S=null),T(Q)}else if(F===2)k.push(P),T(S);else if(F===3){const Q=k.pop();if(Q==null)throw new Error("React Compiler internal error: unexpected null in guard stack");T(Q)}else throw new Error("React Compiler internal error: unreachable block"+F)}function N(F){for(let P=0;P<F.length;P++)F[P]=x}function U(){throw new Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var q=new Map;function G(){for(const F of q.values())F.forEach(P=>{P.count=0})}function L(F,P){let Q=q.get(F);Q==null&&(Q=new Set,q.set(F,Q)),Q.add(P)}function D(F,P){const Q=q.get(F);Q?.delete(P)}function $(F){const P=d(null);P.current!=null&&(P.current.count+=1),p(()=>{if(P.current==null){const Q={count:0};L(F,Q),P.current=Q}return()=>{P.current!==null&&D(F,P.current)}})}var B=new Set;function W(F,P,Q,ce,R,te){function H(Z,Y,fe,pe){const ge=`${ce}:${te} [${R}] ${Q}${fe} changed from ${Z} to ${Y} at depth ${pe}`;B.has(ge)||(B.add(ge),console.error(ge))}const K=2;function oe(Z,Y,fe,pe){if(!(pe>K)){if(Z===Y)return;if(typeof Z!=typeof Y)H(`type ${typeof Z}`,`type ${typeof Y}`,fe,pe);else if(typeof Z=="object"){const ge=Array.isArray(Z),we=Array.isArray(Y);if(Z===null&&Y!==null)H("null",`type ${typeof Y}`,fe,pe);else if(Y===null)H(`type ${typeof Z}`,"null",fe,pe);else if(Z instanceof Map)if(!(Y instanceof Map))H("Map instance","other value",fe,pe);else if(Z.size!==Y.size)H(`Map instance with size ${Z.size}`,`Map instance with size ${Y.size}`,fe,pe);else for(const[V,I]of Z)Y.has(V)?oe(I,Y.get(V),`${fe}.get(${V})`,pe+1):H(`Map instance with key ${V}`,`Map instance without key ${V}`,fe,pe);else if(Y instanceof Map)H("other value","Map instance",fe,pe);else if(Z instanceof Set)if(!(Y instanceof Set))H("Set instance","other value",fe,pe);else if(Z.size!==Y.size)H(`Set instance with size ${Z.size}`,`Set instance with size ${Y.size}`,fe,pe);else for(const V of Y)Z.has(V)||H(`Set instance without element ${V}`,`Set instance with element ${V}`,fe,pe);else if(Y instanceof Set)H("other value","Set instance",fe,pe);else if(ge||we)if(ge!==we)H(`type ${ge?"array":"object"}`,`type ${we?"array":"object"}`,fe,pe);else if(Z.length!==Y.length)H(`array with length ${Z.length}`,`array with length ${Y.length}`,fe,pe);else for(let V=0;V<Z.length;V++)oe(Z[V],Y[V],`${fe}[${V}]`,pe+1);else if(m(Z)||m(Y))m(Z)!==m(Y)?H(`type ${m(Z)?"React element":"object"}`,`type ${m(Y)?"React element":"object"}`,fe,pe):Z.type!==Y.type?H(`React element of type ${Z.type}`,`React element of type ${Y.type}`,fe,pe):oe(Z.props,Y.props,`[props of ${fe}]`,pe+1);else{for(const V in Y)V in Z||H(`object without key ${V}`,`object with key ${V}`,fe,pe);for(const V in Z)V in Y?oe(Z[V],Y[V],`${fe}.${V}`,pe+1):H(`object with key ${V}`,`object without key ${V}`,fe,pe)}}else{if(typeof Z=="function")return;isNaN(Z)||isNaN(Y)?isNaN(Z)!==isNaN(Y)&&H(`${isNaN(Z)?"NaN":"non-NaN value"}`,`${isNaN(Y)?"NaN":"non-NaN value"}`,fe,pe):Z!==Y&&H(Z,Y,fe,pe)}}}oe(F,P,"",0)}return vc}var me=I4();const L4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),h.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"})),O4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5})),P4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75})),M4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5})),$4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",stroke:"currentColor",strokeWidth:3,xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1 1L12.9998 12.9997"}),h.createElement("path",{d:"M13 1L1.00079 13.0003"})),V4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M11.25 14.2105V15.235C11.25 16.3479 10.3479 17.25 9.23501 17.25H2.76499C1.65214 17.25 0.75 16.3479 0.75 15.235L0.75 8.76499C0.75 7.65214 1.65214 6.75 2.76499 6.75L3.78947 6.75",stroke:"currentColor",strokeWidth:1.5}),h.createElement("rect",{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:"currentColor",strokeWidth:1.5})),j4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M5 9L9 5",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M5 5L9 9",stroke:"currentColor",strokeWidth:1.2})),B4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),U4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2})),q4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0.5 12 12",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:7,y:5.5,width:2,height:2,rx:1,transform:"rotate(90 7 5.5)",fill:"currentColor"}),h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 9L10.8 9.5C10.8 10.4941 9.99411 11.3 9 11.3L3 11.3C2.00589 11.3 1.2 10.4941 1.2 9.5L1.2 9L-3.71547e-07 9L-3.93402e-07 9.5C-4.65826e-07 11.1569 1.34314 12.5 3 12.5L9 12.5C10.6569 12.5 12 11.1569 12 9.5L12 9L10.8 9ZM10.8 4L12 4L12 3.5C12 1.84315 10.6569 0.5 9 0.5L3 0.5C1.34315 0.5 -5.87117e-08 1.84315 -1.31135e-07 3.5L-1.5299e-07 4L1.2 4L1.2 3.5C1.2 2.50589 2.00589 1.7 3 1.7L9 1.7C9.99411 1.7 10.8 2.50589 10.8 3.5L10.8 4Z",fill:"currentColor"})),H4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H17.25C17.8023 0.75 18.25 1.19772 18.25 1.75V5.25",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H18.25C18.8023 5.25 19.25 5.69771 19.25 6.25V22.25C19.25 22.8023 18.8023 23.25 18.25 23.25H3C1.75736 23.25 0.75 22.2426 0.75 21V3Z",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.25C1.75736 5.25 0.75 4.24264 0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H3ZM13 11L6 11V12.5L13 12.5V11Z",fill:"currentColor"})),z4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H17.25M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H16.25C16.8023 0.75 17.25 1.19772 17.25 1.75V5.25M0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H17.25",stroke:"currentColor",strokeWidth:1.5}),h.createElement("line",{x1:13,y1:11.75,x2:6,y2:11.75,stroke:"currentColor",strokeWidth:1.5})),W4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:5,y:5,width:2,height:2,rx:1,fill:"currentColor"}),h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),G4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:"currentColor",strokeWidth:1.2}),h.createElement("rect",{x:5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),Q4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),h.createElement("path",{d:"M13.75 5.25V10.75H18.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),h.createElement("path",{d:"M4.95427 11.9332C4.55457 10.0629 4.74441 8.11477 5.49765 6.35686C6.25089 4.59894 7.5305 3.11772 9.16034 2.11709C10.7902 1.11647 12.6901 0.645626 14.5986 0.769388C16.5071 0.893151 18.3303 1.60543 19.8172 2.80818C21.3042 4.01093 22.3818 5.64501 22.9017 7.48548C23.4216 9.32595 23.3582 11.2823 22.7203 13.0853C22.0824 14.8883 20.9013 16.4492 19.3396 17.5532C17.778 18.6572 15.9125 19.25 14 19.25",stroke:"currentColor",strokeWidth:1.5})),Y4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("circle",{cx:6,cy:6,r:5.4,stroke:"currentColor",strokeWidth:1.2,strokeDasharray:"4.241025 4.241025",transform:"rotate(22.5 6 6)"}),h.createElement("circle",{cx:6,cy:6,r:1,fill:"currentColor"})),X4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1.5 14.5653C1.5 15.211 1.75652 15.8303 2.21314 16.2869C2.66975 16.7435 3.28905 17 3.9348 17C4.58054 17 5.19984 16.7435 5.65646 16.2869C6.11307 15.8303 6.36959 15.211 6.36959 14.5653V12.1305H3.9348C3.28905 12.1305 2.66975 12.387 2.21314 12.8437C1.75652 13.3003 1.5 13.9195 1.5 14.5653Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M3.9348 1.00063C3.28905 1.00063 2.66975 1.25715 2.21314 1.71375C1.75652 2.17035 1.5 2.78964 1.5 3.43537C1.5 4.0811 1.75652 4.70038 2.21314 5.15698C2.66975 5.61358 3.28905 5.8701 3.9348 5.8701H6.36959V3.43537C6.36959 2.78964 6.11307 2.17035 5.65646 1.71375C5.19984 1.25715 4.58054 1.00063 3.9348 1.00063Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M15.0652 12.1305H12.6304V14.5653C12.6304 15.0468 12.7732 15.5175 13.0407 15.9179C13.3083 16.3183 13.6885 16.6304 14.1334 16.8147C14.5783 16.9989 15.0679 17.0472 15.5402 16.9532C16.0125 16.8593 16.4464 16.6274 16.7869 16.2869C17.1274 15.9464 17.3593 15.5126 17.4532 15.0403C17.5472 14.568 17.4989 14.0784 17.3147 13.6335C17.1304 13.1886 16.8183 12.8084 16.4179 12.5409C16.0175 12.2733 15.5468 12.1305 15.0652 12.1305Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.5 3.43473C17.5 2.789 17.2435 2.16972 16.7869 1.71312C16.3303 1.25652 15.711 1 15.0652 1C14.4195 1 13.8002 1.25652 13.3435 1.71312C12.8869 2.16972 12.6304 2.789 12.6304 3.43473V5.86946H15.0652C15.711 5.86946 16.3303 5.61295 16.7869 5.15635C17.2435 4.69975 17.5 4.08046 17.5 3.43473Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})),Z4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("circle",{cx:5,cy:5,r:4.35,stroke:"currentColor",strokeWidth:1.3}),h.createElement("line",{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:"currentColor",strokeWidth:1.3})),J4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M17.2492 6V2.9569C17.2492 1.73806 16.2611 0.75 15.0423 0.75L2.9569 0.75C1.73806 0.75 0.75 1.73806 0.75 2.9569L0.75 6",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{d:"M0.749873 12V15.0431C0.749873 16.2619 1.73794 17.25 2.95677 17.25H15.0421C16.261 17.25 17.249 16.2619 17.249 15.0431V12",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{d:"M6 4.5L9 7.5L12 4.5",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{d:"M12 13.5L9 10.5L6 13.5",stroke:"currentColor",strokeWidth:1.5})),K4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M0.75 13.25L0.0554307 12.967C-0.0593528 13.2488 0.00743073 13.5719 0.224488 13.7851C0.441545 13.9983 0.765869 14.0592 1.04549 13.9393L0.75 13.25ZM12.8214 1.83253L12.2911 2.36286L12.2911 2.36286L12.8214 1.83253ZM12.8214 3.90194L13.3517 4.43227L12.8214 3.90194ZM10.0981 1.17859L9.56773 0.648259L10.0981 1.17859ZM12.1675 1.17859L12.6978 0.648258L12.6978 0.648257L12.1675 1.17859ZM2.58049 8.75697L3.27506 9.03994L2.58049 8.75697ZM2.70066 8.57599L3.23099 9.10632L2.70066 8.57599ZM5.2479 11.4195L4.95355 10.7297L5.2479 11.4195ZM5.42036 11.303L4.89003 10.7727L5.42036 11.303ZM4.95355 10.7297C4.08882 11.0987 3.41842 11.362 2.73535 11.6308C2.05146 11.9 1.35588 12.1743 0.454511 12.5607L1.04549 13.9393C1.92476 13.5624 2.60256 13.2951 3.28469 13.0266C3.96762 12.7578 4.65585 12.4876 5.54225 12.1093L4.95355 10.7297ZM1.44457 13.533L3.27506 9.03994L1.88592 8.474L0.0554307 12.967L1.44457 13.533ZM3.23099 9.10632L10.6284 1.70892L9.56773 0.648259L2.17033 8.04566L3.23099 9.10632ZM11.6371 1.70892L12.2911 2.36286L13.3517 1.3022L12.6978 0.648258L11.6371 1.70892ZM12.2911 3.37161L4.89003 10.7727L5.95069 11.8333L13.3517 4.43227L12.2911 3.37161ZM12.2911 2.36286C12.5696 2.64142 12.5696 3.09305 12.2911 3.37161L13.3517 4.43227C14.2161 3.56792 14.2161 2.16654 13.3517 1.3022L12.2911 2.36286ZM10.6284 1.70892C10.9069 1.43036 11.3586 1.43036 11.6371 1.70892L12.6978 0.648257C11.8335 -0.216088 10.4321 -0.216084 9.56773 0.648259L10.6284 1.70892ZM3.27506 9.03994C3.26494 9.06479 3.24996 9.08735 3.23099 9.10632L2.17033 8.04566C2.04793 8.16806 1.95123 8.31369 1.88592 8.474L3.27506 9.03994ZM5.54225 12.1093C5.69431 12.0444 5.83339 11.9506 5.95069 11.8333L4.89003 10.7727C4.90863 10.7541 4.92988 10.7398 4.95355 10.7297L5.54225 12.1093Z",fill:"currentColor"}),h.createElement("path",{d:"M11.5 4.5L9.5 2.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.5 10.5L3.5 8.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"})),e5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1.32226e-07 1.6609C7.22332e-08 0.907329 0.801887 0.424528 1.46789 0.777117L15.3306 8.11621C16.0401 8.49182 16.0401 9.50818 15.3306 9.88379L1.46789 17.2229C0.801886 17.5755 1.36076e-06 17.0927 1.30077e-06 16.3391L1.32226e-07 1.6609Z",fill:"currentColor"})),t5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 10 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 9.25V13.5H5.75V9.25L10 9.25V7.75L5.75 7.75V3.5H4.25V7.75L0 7.75V9.25L4.25 9.25Z"})),n5=({title:e,titleId:t,...n})=>h.createElement("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M10.2852 24.0745L13.7139 18.0742",stroke:"currentColor",strokeWidth:1.5625}),h.createElement("path",{d:"M14.5742 24.0749L17.1457 19.7891",stroke:"currentColor",strokeWidth:1.5625}),h.createElement("path",{d:"M19.4868 24.0735L20.7229 21.7523C21.3259 20.6143 21.5457 19.3122 21.3496 18.0394C21.1535 16.7666 20.5519 15.591 19.6342 14.6874L23.7984 6.87853C24.0123 6.47728 24.0581 6.00748 23.9256 5.57249C23.7932 5.1375 23.4933 4.77294 23.0921 4.55901C22.6908 4.34509 22.221 4.29932 21.7861 4.43178C21.3511 4.56424 20.9865 4.86408 20.7726 5.26533L16.6084 13.0742C15.3474 12.8142 14.0362 12.9683 12.8699 13.5135C11.7035 14.0586 10.7443 14.9658 10.135 16.1L6 24.0735",stroke:"currentColor",strokeWidth:1.5625}),h.createElement("path",{d:"M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}),h.createElement("path",{d:"M11.5 8L12.6662 5.6662L15 4.5L12.6662 3.3338L11.5 1L10.3338 3.3338L8 4.5L10.3338 5.6662L11.5 8Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"})),r5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M4.75 9.25H1.25V12.75",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),h.createElement("path",{d:"M11.25 6.75H14.75V3.25",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),h.createElement("path",{d:"M14.1036 6.65539C13.8 5.27698 13.0387 4.04193 11.9437 3.15131C10.8487 2.26069 9.48447 1.76694 8.0731 1.75043C6.66173 1.73392 5.28633 2.19563 4.17079 3.0604C3.05526 3.92516 2.26529 5.14206 1.92947 6.513",stroke:"currentColor",strokeWidth:1}),h.createElement("path",{d:"M1.89635 9.34461C2.20001 10.723 2.96131 11.9581 4.05631 12.8487C5.15131 13.7393 6.51553 14.2331 7.9269 14.2496C9.33827 14.2661 10.7137 13.8044 11.8292 12.9396C12.9447 12.0748 13.7347 10.8579 14.0705 9.487",stroke:"currentColor",strokeWidth:1})),i5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M4.25 7.5C4.25 6 5.75 5 6.5 6.5C7.25 8 8.75 7 8.75 5.5",stroke:"currentColor",strokeWidth:1.2})),o5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29186 1.92702C9.06924 1.82745 8.87014 1.68202 8.70757 1.50024L7.86631 0.574931C7.62496 0.309957 7.30773 0.12592 6.95791 0.0479385C6.60809 -0.0300431 6.24274 0.00182978 5.91171 0.139208C5.58068 0.276585 5.3001 0.512774 5.10828 0.815537C4.91645 1.1183 4.82272 1.47288 4.83989 1.83089L4.90388 3.08019C4.91612 3.32348 4.87721 3.56662 4.78968 3.79394C4.70215 4.02126 4.56794 4.2277 4.39571 4.39994C4.22347 4.57219 4.01704 4.7064 3.78974 4.79394C3.56243 4.88147 3.3193 4.92038 3.07603 4.90814L1.8308 4.84414C1.47162 4.82563 1.11553 4.91881 0.811445 5.11086C0.507359 5.30292 0.270203 5.58443 0.132561 5.91671C-0.00508149 6.249 -0.0364554 6.61576 0.0427496 6.9666C0.121955 7.31744 0.307852 7.63514 0.5749 7.87606L1.50016 8.71204C1.68193 8.87461 1.82735 9.07373 1.92692 9.29636C2.02648 9.51898 2.07794 9.76012 2.07794 10.004C2.07794 10.2479 2.02648 10.489 1.92692 10.7116C1.82735 10.9343 1.68193 11.1334 1.50016 11.296L0.5749 12.1319C0.309856 12.3729 0.125575 12.6898 0.0471809 13.0393C-0.0312128 13.3888 9.64098e-05 13.754 0.13684 14.0851C0.273583 14.4162 0.509106 14.6971 0.811296 14.8894C1.11349 15.0817 1.46764 15.1762 1.82546 15.1599L3.0707 15.0959C3.31397 15.0836 3.5571 15.1225 3.7844 15.2101C4.01171 15.2976 4.21814 15.4318 4.39037 15.6041C4.56261 15.7763 4.69682 15.9827 4.78435 16.2101C4.87188 16.4374 4.91078 16.6805 4.89855 16.9238L4.83455 18.1691C4.81605 18.5283 4.90921 18.8844 5.10126 19.1885C5.2933 19.4926 5.5748 19.7298 5.90707 19.8674C6.23934 20.0051 6.60608 20.0365 6.9569 19.9572C7.30772 19.878 7.6254 19.6921 7.86631 19.4251L8.7129 18.4998C8.87547 18.318 9.07458 18.1725 9.29719 18.073C9.51981 17.9734 9.76093 17.9219 10.0048 17.9219C10.2487 17.9219 10.4898 17.9734 10.7124 18.073C10.935 18.1725 11.1341 18.318 11.2967 18.4998L12.1326 19.4251C12.3735 19.6921 12.6912 19.878 13.042 19.9572C13.3929 20.0365 13.7596 20.0051 14.0919 19.8674C14.4241 19.7298 14.7056 19.4926 14.8977 19.1885C15.0897 18.8844 15.1829 18.5283 15.1644 18.1691L15.1004 16.9238C15.0882 16.6805 15.1271 16.4374 15.2146 16.2101C15.3021 15.9827 15.4363 15.7763 15.6086 15.6041C15.7808 15.4318 15.9872 15.2976 16.2145 15.2101C16.4418 15.1225 16.685 15.0836 16.9282 15.0959L18.1735 15.1599C18.5326 15.1784 18.8887 15.0852 19.1928 14.8931C19.4969 14.7011 19.7341 14.4196 19.8717 14.0873C20.0093 13.755 20.0407 13.3882 19.9615 13.0374C19.8823 12.6866 19.6964 12.3689 19.4294 12.1279L18.5041 11.292C18.3223 11.1294 18.1769 10.9303 18.0774 10.7076C17.9778 10.485 17.9263 10.2439 17.9263 10C17.9263 9.75612 17.9778 9.51499 18.0774 9.29236C18.1769 9.06973 18.3223 8.87062 18.5041 8.70804L19.4294 7.87206C19.6964 7.63114 19.8823 7.31344 19.9615 6.9626C20.0407 6.61176 20.0093 6.245 19.8717 5.91271C19.7341 5.58043 19.4969 5.29892 19.1928 5.10686C18.8887 4.91481 18.5326 4.82163 18.1735 4.84014L16.9282 4.90414C16.685 4.91638 16.4418 4.87747 16.2145 4.78994C15.9872 4.7024 15.7808 4.56818 15.6086 4.39594C15.4363 4.2237 15.3021 4.01726 15.2146 3.78994C15.1271 3.56262 15.0882 3.31948 15.1004 3.07619L15.1644 1.83089C15.1829 1.4717 15.0897 1.11559 14.8977 0.811487C14.7056 0.507385 14.4241 0.270217 14.0919 0.132568C13.7596 -0.00508182 13.3929 -0.0364573 13.042 0.0427519C12.6912 0.121961 12.3735 0.307869 12.1326 0.574931L11.2914 1.50024C11.1288 1.68202 10.9297 1.82745 10.7071 1.92702C10.4845 2.02659 10.2433 2.07805 9.99947 2.07805C9.7556 2.07805 9.51448 2.02659 9.29186 1.92702ZM14.3745 10C14.3745 12.4162 12.4159 14.375 9.99977 14.375C7.58365 14.375 5.625 12.4162 5.625 10C5.625 7.58375 7.58365 5.625 9.99977 5.625C12.4159 5.625 14.3745 7.58375 14.3745 10Z",fill:"currentColor"})),s5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",fill:"currentColor",stroke:"currentColor"})),a5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",stroke:"currentColor",strokeWidth:1.5})),u5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{width:16,height:16,rx:2,fill:"currentColor"})),l5=({title:e,titleId:t,...n})=>h.createElement("svg",{width:"1em",height:"5em",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd","aria-hidden":"true",viewBox:"0 0 23 23",style:{height:"1.5em"},clipRule:"evenodd","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M19 24h-14c-1.104 0-2-.896-2-2v-17h-1v-2h6v-1.5c0-.827.673-1.5 1.5-1.5h5c.825 0 1.5.671 1.5 1.5v1.5h6v2h-1v17c0 1.104-.896 2-2 2zm0-19h-14v16.5c0 .276.224.5.5.5h13c.276 0 .5-.224.5-.5v-16.5zm-7 7.586l3.293-3.293 1.414 1.414-3.293 3.293 3.293 3.293-1.414 1.414-3.293-3.293-3.293 3.293-1.414-1.414 3.293-3.293-3.293-3.293 1.414-1.414 3.293 3.293zm2-10.586h-4v1h4v-1z",fill:"currentColor",strokeWidth:.25,stroke:"currentColor"})),c5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),h.createElement("rect",{x:5.5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),f5=Ue(L4),d5=Ue(O4),p5=Ue(P4),h5=Ue(M4),vp=Ue($4),m5=Ue(V4),g5=Ue(j4),b5=Ue(B4),y5=Ue(U4),v5=Ue(q4),x5=Ue(H4),E5=Ue(z4),w5=Ue(W4),_5=Ue(G4),S5=Ue(Q4),T5=Ue(Y4),A5=Ue(X4),k5=Ue(Z4),D5=Ue(J4),C5=Ue(K4),N5=Ue(e5),R5=Ue(t5),F5=Ue(n5),I5=Ue(r5),L5=Ue(i5),O5=Ue(o5),P5=Ue(s5),M5=Ue(a5),$5=Ue(u5),V5=Ue(l5),Ua=Ue(c5);function Ue(e){const t=e.name.replace("Svg","").replaceAll(/([A-Z])/g," $1").trimStart().toLowerCase()+" icon",n=r=>{const i=me.c(2);let o;return i[0]!==r?(o=v.jsx(e,{title:t,...r}),i[0]=r,i[1]=o):o=i[1],o};return n.displayName=e.name,n}class j5{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?$o.isErrorNoTelemetry(t)?new $o(t.message+`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./graphql-Cnx2YXBE.js","./index-DrI_kbUr.js","./index-BLDnEtdF.css","./index-DSG25x4F.js","./mouseTarget-txK7mk_L.js","./monaco-editor-BH4xSgKB.js","./monaco-editor-C5ZQUaPo.css","./lite-BBz66z5Z.js","./babel-yl1c6pTl.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{cD as mp,r as h,j as v,ah as cr,I as mr,W as Ne,jh as C,ji as Pe,jj as X,jk as a4,jl as u4,jm as Dr,jn as ee,jo as We,jp as On,jq as Ee,jr as At,js as yn,jt as Cf,ju as l4,jv as ln,jw as gp,jx as ti,jy as Cv,jz as c4,jA as f4,jB as Nv,jC as Rv,jD as gu,jE as d4,jF as p4,jG as Fv,jH as h4,jI as m4,jJ as g4,jK as b4,jL as y4,jM as v4,jN as x4,jO as E4,jP as w4,jQ as _4,jR as S4,jS as Iv,jT as bp,bi as yp,jU as T4,jV as Dl,i6 as Xt,iE as A4,n as ci,iG as Lv,b_ as k4,j9 as D4,ai as C4,ab as N4,jW as R4,P as F4,o as $r}from"./index-DrI_kbUr.js";var vc,Ph;function I4(){if(Ph)return vc;Ph=1;var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(F,P)=>{for(var Q in P)t(F,Q,{get:P[Q],enumerable:!0})},a=(F,P,Q,ce)=>{if(P&&typeof P=="object"||typeof P=="function")for(let R of r(P))!o.call(F,R)&&R!==Q&&t(F,R,{get:()=>P[R],enumerable:!(ce=n(P,R))||ce.enumerable});return F},u=(F,P,Q)=>(Q=F!=null?e(i(F)):{},a(!F||!F.__esModule?t(Q,"default",{value:F,enumerable:!0}):Q,F)),l=F=>a(t({},"__esModule",{value:!0}),F),c={};s(c,{$dispatcherGuard:()=>M,$makeReadOnly:()=>U,$reset:()=>N,$structuralCheck:()=>W,c:()=>E,clearRenderCounterRegistry:()=>G,renderCounterRegistry:()=>q,useRenderCounter:()=>$}),vc=l(c);var f=u(mp()),{useRef:d,useEffect:p,isValidElement:m}=f,b,y=(b=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?b:f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.memo_cache_sentinel"),w,E=typeof((w=f.__COMPILER_RUNTIME)==null?void 0:w.c)=="function"?f.__COMPILER_RUNTIME.c:function(P){return f.useMemo(()=>{const Q=new Array(P);for(let ce=0;ce<P;ce++)Q[ce]=x;return Q[x]=!0,Q},[])},_={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(F=>{_[F]=()=>{throw new Error(`[React] Unexpected React hook call (${F}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var S=null;_.useMemoCache=F=>{if(S==null)throw new Error("React Compiler internal invariant violation: unexpected null dispatcher");return S.useMemoCache(F)};function T(F){return y.ReactCurrentDispatcher.current=F,y.ReactCurrentDispatcher.current}var k=[];function M(F){const P=y.ReactCurrentDispatcher.current;if(F===0){if(k.push(P),k.length===1&&(S=P),P===_)throw new Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");T(_)}else if(F===1){const Q=k.pop();if(Q==null)throw new Error("React Compiler internal error: unexpected null in guard stack");k.length===0&&(S=null),T(Q)}else if(F===2)k.push(P),T(S);else if(F===3){const Q=k.pop();if(Q==null)throw new Error("React Compiler internal error: unexpected null in guard stack");T(Q)}else throw new Error("React Compiler internal error: unreachable block"+F)}function N(F){for(let P=0;P<F.length;P++)F[P]=x}function U(){throw new Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var q=new Map;function G(){for(const F of q.values())F.forEach(P=>{P.count=0})}function L(F,P){let Q=q.get(F);Q==null&&(Q=new Set,q.set(F,Q)),Q.add(P)}function D(F,P){const Q=q.get(F);Q?.delete(P)}function $(F){const P=d(null);P.current!=null&&(P.current.count+=1),p(()=>{if(P.current==null){const Q={count:0};L(F,Q),P.current=Q}return()=>{P.current!==null&&D(F,P.current)}})}var B=new Set;function W(F,P,Q,ce,R,te){function H(Z,Y,fe,pe){const ge=`${ce}:${te} [${R}] ${Q}${fe} changed from ${Z} to ${Y} at depth ${pe}`;B.has(ge)||(B.add(ge),console.error(ge))}const K=2;function oe(Z,Y,fe,pe){if(!(pe>K)){if(Z===Y)return;if(typeof Z!=typeof Y)H(`type ${typeof Z}`,`type ${typeof Y}`,fe,pe);else if(typeof Z=="object"){const ge=Array.isArray(Z),we=Array.isArray(Y);if(Z===null&&Y!==null)H("null",`type ${typeof Y}`,fe,pe);else if(Y===null)H(`type ${typeof Z}`,"null",fe,pe);else if(Z instanceof Map)if(!(Y instanceof Map))H("Map instance","other value",fe,pe);else if(Z.size!==Y.size)H(`Map instance with size ${Z.size}`,`Map instance with size ${Y.size}`,fe,pe);else for(const[V,I]of Z)Y.has(V)?oe(I,Y.get(V),`${fe}.get(${V})`,pe+1):H(`Map instance with key ${V}`,`Map instance without key ${V}`,fe,pe);else if(Y instanceof Map)H("other value","Map instance",fe,pe);else if(Z instanceof Set)if(!(Y instanceof Set))H("Set instance","other value",fe,pe);else if(Z.size!==Y.size)H(`Set instance with size ${Z.size}`,`Set instance with size ${Y.size}`,fe,pe);else for(const V of Y)Z.has(V)||H(`Set instance without element ${V}`,`Set instance with element ${V}`,fe,pe);else if(Y instanceof Set)H("other value","Set instance",fe,pe);else if(ge||we)if(ge!==we)H(`type ${ge?"array":"object"}`,`type ${we?"array":"object"}`,fe,pe);else if(Z.length!==Y.length)H(`array with length ${Z.length}`,`array with length ${Y.length}`,fe,pe);else for(let V=0;V<Z.length;V++)oe(Z[V],Y[V],`${fe}[${V}]`,pe+1);else if(m(Z)||m(Y))m(Z)!==m(Y)?H(`type ${m(Z)?"React element":"object"}`,`type ${m(Y)?"React element":"object"}`,fe,pe):Z.type!==Y.type?H(`React element of type ${Z.type}`,`React element of type ${Y.type}`,fe,pe):oe(Z.props,Y.props,`[props of ${fe}]`,pe+1);else{for(const V in Y)V in Z||H(`object without key ${V}`,`object with key ${V}`,fe,pe);for(const V in Z)V in Y?oe(Z[V],Y[V],`${fe}.${V}`,pe+1):H(`object with key ${V}`,`object without key ${V}`,fe,pe)}}else{if(typeof Z=="function")return;isNaN(Z)||isNaN(Y)?isNaN(Z)!==isNaN(Y)&&H(`${isNaN(Z)?"NaN":"non-NaN value"}`,`${isNaN(Y)?"NaN":"non-NaN value"}`,fe,pe):Z!==Y&&H(Z,Y,fe,pe)}}}oe(F,P,"",0)}return vc}var me=I4();const L4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),h.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"})),O4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5})),P4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75})),M4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5})),$4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",stroke:"currentColor",strokeWidth:3,xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1 1L12.9998 12.9997"}),h.createElement("path",{d:"M13 1L1.00079 13.0003"})),V4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M11.25 14.2105V15.235C11.25 16.3479 10.3479 17.25 9.23501 17.25H2.76499C1.65214 17.25 0.75 16.3479 0.75 15.235L0.75 8.76499C0.75 7.65214 1.65214 6.75 2.76499 6.75L3.78947 6.75",stroke:"currentColor",strokeWidth:1.5}),h.createElement("rect",{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:"currentColor",strokeWidth:1.5})),j4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M5 9L9 5",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M5 5L9 9",stroke:"currentColor",strokeWidth:1.2})),B4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),U4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2})),q4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0.5 12 12",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:7,y:5.5,width:2,height:2,rx:1,transform:"rotate(90 7 5.5)",fill:"currentColor"}),h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 9L10.8 9.5C10.8 10.4941 9.99411 11.3 9 11.3L3 11.3C2.00589 11.3 1.2 10.4941 1.2 9.5L1.2 9L-3.71547e-07 9L-3.93402e-07 9.5C-4.65826e-07 11.1569 1.34314 12.5 3 12.5L9 12.5C10.6569 12.5 12 11.1569 12 9.5L12 9L10.8 9ZM10.8 4L12 4L12 3.5C12 1.84315 10.6569 0.5 9 0.5L3 0.5C1.34315 0.5 -5.87117e-08 1.84315 -1.31135e-07 3.5L-1.5299e-07 4L1.2 4L1.2 3.5C1.2 2.50589 2.00589 1.7 3 1.7L9 1.7C9.99411 1.7 10.8 2.50589 10.8 3.5L10.8 4Z",fill:"currentColor"})),H4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H17.25C17.8023 0.75 18.25 1.19772 18.25 1.75V5.25",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H18.25C18.8023 5.25 19.25 5.69771 19.25 6.25V22.25C19.25 22.8023 18.8023 23.25 18.25 23.25H3C1.75736 23.25 0.75 22.2426 0.75 21V3Z",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.25C1.75736 5.25 0.75 4.24264 0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H3ZM13 11L6 11V12.5L13 12.5V11Z",fill:"currentColor"})),z4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H17.25M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H16.25C16.8023 0.75 17.25 1.19772 17.25 1.75V5.25M0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H17.25",stroke:"currentColor",strokeWidth:1.5}),h.createElement("line",{x1:13,y1:11.75,x2:6,y2:11.75,stroke:"currentColor",strokeWidth:1.5})),W4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:5,y:5,width:2,height:2,rx:1,fill:"currentColor"}),h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"})),G4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:"currentColor",strokeWidth:1.2}),h.createElement("rect",{x:5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),Q4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),h.createElement("path",{d:"M13.75 5.25V10.75H18.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),h.createElement("path",{d:"M4.95427 11.9332C4.55457 10.0629 4.74441 8.11477 5.49765 6.35686C6.25089 4.59894 7.5305 3.11772 9.16034 2.11709C10.7902 1.11647 12.6901 0.645626 14.5986 0.769388C16.5071 0.893151 18.3303 1.60543 19.8172 2.80818C21.3042 4.01093 22.3818 5.64501 22.9017 7.48548C23.4216 9.32595 23.3582 11.2823 22.7203 13.0853C22.0824 14.8883 20.9013 16.4492 19.3396 17.5532C17.778 18.6572 15.9125 19.25 14 19.25",stroke:"currentColor",strokeWidth:1.5})),Y4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("circle",{cx:6,cy:6,r:5.4,stroke:"currentColor",strokeWidth:1.2,strokeDasharray:"4.241025 4.241025",transform:"rotate(22.5 6 6)"}),h.createElement("circle",{cx:6,cy:6,r:1,fill:"currentColor"})),X4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1.5 14.5653C1.5 15.211 1.75652 15.8303 2.21314 16.2869C2.66975 16.7435 3.28905 17 3.9348 17C4.58054 17 5.19984 16.7435 5.65646 16.2869C6.11307 15.8303 6.36959 15.211 6.36959 14.5653V12.1305H3.9348C3.28905 12.1305 2.66975 12.387 2.21314 12.8437C1.75652 13.3003 1.5 13.9195 1.5 14.5653Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M3.9348 1.00063C3.28905 1.00063 2.66975 1.25715 2.21314 1.71375C1.75652 2.17035 1.5 2.78964 1.5 3.43537C1.5 4.0811 1.75652 4.70038 2.21314 5.15698C2.66975 5.61358 3.28905 5.8701 3.9348 5.8701H6.36959V3.43537C6.36959 2.78964 6.11307 2.17035 5.65646 1.71375C5.19984 1.25715 4.58054 1.00063 3.9348 1.00063Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M15.0652 12.1305H12.6304V14.5653C12.6304 15.0468 12.7732 15.5175 13.0407 15.9179C13.3083 16.3183 13.6885 16.6304 14.1334 16.8147C14.5783 16.9989 15.0679 17.0472 15.5402 16.9532C16.0125 16.8593 16.4464 16.6274 16.7869 16.2869C17.1274 15.9464 17.3593 15.5126 17.4532 15.0403C17.5472 14.568 17.4989 14.0784 17.3147 13.6335C17.1304 13.1886 16.8183 12.8084 16.4179 12.5409C16.0175 12.2733 15.5468 12.1305 15.0652 12.1305Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.5 3.43473C17.5 2.789 17.2435 2.16972 16.7869 1.71312C16.3303 1.25652 15.711 1 15.0652 1C14.4195 1 13.8002 1.25652 13.3435 1.71312C12.8869 2.16972 12.6304 2.789 12.6304 3.43473V5.86946H15.0652C15.711 5.86946 16.3303 5.61295 16.7869 5.15635C17.2435 4.69975 17.5 4.08046 17.5 3.43473Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})),Z4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("circle",{cx:5,cy:5,r:4.35,stroke:"currentColor",strokeWidth:1.3}),h.createElement("line",{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:"currentColor",strokeWidth:1.3})),J4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M17.2492 6V2.9569C17.2492 1.73806 16.2611 0.75 15.0423 0.75L2.9569 0.75C1.73806 0.75 0.75 1.73806 0.75 2.9569L0.75 6",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{d:"M0.749873 12V15.0431C0.749873 16.2619 1.73794 17.25 2.95677 17.25H15.0421C16.261 17.25 17.249 16.2619 17.249 15.0431V12",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{d:"M6 4.5L9 7.5L12 4.5",stroke:"currentColor",strokeWidth:1.5}),h.createElement("path",{d:"M12 13.5L9 10.5L6 13.5",stroke:"currentColor",strokeWidth:1.5})),K4=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M0.75 13.25L0.0554307 12.967C-0.0593528 13.2488 0.00743073 13.5719 0.224488 13.7851C0.441545 13.9983 0.765869 14.0592 1.04549 13.9393L0.75 13.25ZM12.8214 1.83253L12.2911 2.36286L12.2911 2.36286L12.8214 1.83253ZM12.8214 3.90194L13.3517 4.43227L12.8214 3.90194ZM10.0981 1.17859L9.56773 0.648259L10.0981 1.17859ZM12.1675 1.17859L12.6978 0.648258L12.6978 0.648257L12.1675 1.17859ZM2.58049 8.75697L3.27506 9.03994L2.58049 8.75697ZM2.70066 8.57599L3.23099 9.10632L2.70066 8.57599ZM5.2479 11.4195L4.95355 10.7297L5.2479 11.4195ZM5.42036 11.303L4.89003 10.7727L5.42036 11.303ZM4.95355 10.7297C4.08882 11.0987 3.41842 11.362 2.73535 11.6308C2.05146 11.9 1.35588 12.1743 0.454511 12.5607L1.04549 13.9393C1.92476 13.5624 2.60256 13.2951 3.28469 13.0266C3.96762 12.7578 4.65585 12.4876 5.54225 12.1093L4.95355 10.7297ZM1.44457 13.533L3.27506 9.03994L1.88592 8.474L0.0554307 12.967L1.44457 13.533ZM3.23099 9.10632L10.6284 1.70892L9.56773 0.648259L2.17033 8.04566L3.23099 9.10632ZM11.6371 1.70892L12.2911 2.36286L13.3517 1.3022L12.6978 0.648258L11.6371 1.70892ZM12.2911 3.37161L4.89003 10.7727L5.95069 11.8333L13.3517 4.43227L12.2911 3.37161ZM12.2911 2.36286C12.5696 2.64142 12.5696 3.09305 12.2911 3.37161L13.3517 4.43227C14.2161 3.56792 14.2161 2.16654 13.3517 1.3022L12.2911 2.36286ZM10.6284 1.70892C10.9069 1.43036 11.3586 1.43036 11.6371 1.70892L12.6978 0.648257C11.8335 -0.216088 10.4321 -0.216084 9.56773 0.648259L10.6284 1.70892ZM3.27506 9.03994C3.26494 9.06479 3.24996 9.08735 3.23099 9.10632L2.17033 8.04566C2.04793 8.16806 1.95123 8.31369 1.88592 8.474L3.27506 9.03994ZM5.54225 12.1093C5.69431 12.0444 5.83339 11.9506 5.95069 11.8333L4.89003 10.7727C4.90863 10.7541 4.92988 10.7398 4.95355 10.7297L5.54225 12.1093Z",fill:"currentColor"}),h.createElement("path",{d:"M11.5 4.5L9.5 2.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M5.5 10.5L3.5 8.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"})),e5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M1.32226e-07 1.6609C7.22332e-08 0.907329 0.801887 0.424528 1.46789 0.777117L15.3306 8.11621C16.0401 8.49182 16.0401 9.50818 15.3306 9.88379L1.46789 17.2229C0.801886 17.5755 1.36076e-06 17.0927 1.30077e-06 16.3391L1.32226e-07 1.6609Z",fill:"currentColor"})),t5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 10 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 9.25V13.5H5.75V9.25L10 9.25V7.75L5.75 7.75V3.5H4.25V7.75L0 7.75V9.25L4.25 9.25Z"})),n5=({title:e,titleId:t,...n})=>h.createElement("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M10.2852 24.0745L13.7139 18.0742",stroke:"currentColor",strokeWidth:1.5625}),h.createElement("path",{d:"M14.5742 24.0749L17.1457 19.7891",stroke:"currentColor",strokeWidth:1.5625}),h.createElement("path",{d:"M19.4868 24.0735L20.7229 21.7523C21.3259 20.6143 21.5457 19.3122 21.3496 18.0394C21.1535 16.7666 20.5519 15.591 19.6342 14.6874L23.7984 6.87853C24.0123 6.47728 24.0581 6.00748 23.9256 5.57249C23.7932 5.1375 23.4933 4.77294 23.0921 4.55901C22.6908 4.34509 22.221 4.29932 21.7861 4.43178C21.3511 4.56424 20.9865 4.86408 20.7726 5.26533L16.6084 13.0742C15.3474 12.8142 14.0362 12.9683 12.8699 13.5135C11.7035 14.0586 10.7443 14.9658 10.135 16.1L6 24.0735",stroke:"currentColor",strokeWidth:1.5625}),h.createElement("path",{d:"M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}),h.createElement("path",{d:"M11.5 8L12.6662 5.6662L15 4.5L12.6662 3.3338L11.5 1L10.3338 3.3338L8 4.5L10.3338 5.6662L11.5 8Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"})),r5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M4.75 9.25H1.25V12.75",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),h.createElement("path",{d:"M11.25 6.75H14.75V3.25",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),h.createElement("path",{d:"M14.1036 6.65539C13.8 5.27698 13.0387 4.04193 11.9437 3.15131C10.8487 2.26069 9.48447 1.76694 8.0731 1.75043C6.66173 1.73392 5.28633 2.19563 4.17079 3.0604C3.05526 3.92516 2.26529 5.14206 1.92947 6.513",stroke:"currentColor",strokeWidth:1}),h.createElement("path",{d:"M1.89635 9.34461C2.20001 10.723 2.96131 11.9581 4.05631 12.8487C5.15131 13.7393 6.51553 14.2331 7.9269 14.2496C9.33827 14.2661 10.7137 13.8044 11.8292 12.9396C12.9447 12.0748 13.7347 10.8579 14.0705 9.487",stroke:"currentColor",strokeWidth:1})),i5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),h.createElement("path",{d:"M4.25 7.5C4.25 6 5.75 5 6.5 6.5C7.25 8 8.75 7 8.75 5.5",stroke:"currentColor",strokeWidth:1.2})),o5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29186 1.92702C9.06924 1.82745 8.87014 1.68202 8.70757 1.50024L7.86631 0.574931C7.62496 0.309957 7.30773 0.12592 6.95791 0.0479385C6.60809 -0.0300431 6.24274 0.00182978 5.91171 0.139208C5.58068 0.276585 5.3001 0.512774 5.10828 0.815537C4.91645 1.1183 4.82272 1.47288 4.83989 1.83089L4.90388 3.08019C4.91612 3.32348 4.87721 3.56662 4.78968 3.79394C4.70215 4.02126 4.56794 4.2277 4.39571 4.39994C4.22347 4.57219 4.01704 4.7064 3.78974 4.79394C3.56243 4.88147 3.3193 4.92038 3.07603 4.90814L1.8308 4.84414C1.47162 4.82563 1.11553 4.91881 0.811445 5.11086C0.507359 5.30292 0.270203 5.58443 0.132561 5.91671C-0.00508149 6.249 -0.0364554 6.61576 0.0427496 6.9666C0.121955 7.31744 0.307852 7.63514 0.5749 7.87606L1.50016 8.71204C1.68193 8.87461 1.82735 9.07373 1.92692 9.29636C2.02648 9.51898 2.07794 9.76012 2.07794 10.004C2.07794 10.2479 2.02648 10.489 1.92692 10.7116C1.82735 10.9343 1.68193 11.1334 1.50016 11.296L0.5749 12.1319C0.309856 12.3729 0.125575 12.6898 0.0471809 13.0393C-0.0312128 13.3888 9.64098e-05 13.754 0.13684 14.0851C0.273583 14.4162 0.509106 14.6971 0.811296 14.8894C1.11349 15.0817 1.46764 15.1762 1.82546 15.1599L3.0707 15.0959C3.31397 15.0836 3.5571 15.1225 3.7844 15.2101C4.01171 15.2976 4.21814 15.4318 4.39037 15.6041C4.56261 15.7763 4.69682 15.9827 4.78435 16.2101C4.87188 16.4374 4.91078 16.6805 4.89855 16.9238L4.83455 18.1691C4.81605 18.5283 4.90921 18.8844 5.10126 19.1885C5.2933 19.4926 5.5748 19.7298 5.90707 19.8674C6.23934 20.0051 6.60608 20.0365 6.9569 19.9572C7.30772 19.878 7.6254 19.6921 7.86631 19.4251L8.7129 18.4998C8.87547 18.318 9.07458 18.1725 9.29719 18.073C9.51981 17.9734 9.76093 17.9219 10.0048 17.9219C10.2487 17.9219 10.4898 17.9734 10.7124 18.073C10.935 18.1725 11.1341 18.318 11.2967 18.4998L12.1326 19.4251C12.3735 19.6921 12.6912 19.878 13.042 19.9572C13.3929 20.0365 13.7596 20.0051 14.0919 19.8674C14.4241 19.7298 14.7056 19.4926 14.8977 19.1885C15.0897 18.8844 15.1829 18.5283 15.1644 18.1691L15.1004 16.9238C15.0882 16.6805 15.1271 16.4374 15.2146 16.2101C15.3021 15.9827 15.4363 15.7763 15.6086 15.6041C15.7808 15.4318 15.9872 15.2976 16.2145 15.2101C16.4418 15.1225 16.685 15.0836 16.9282 15.0959L18.1735 15.1599C18.5326 15.1784 18.8887 15.0852 19.1928 14.8931C19.4969 14.7011 19.7341 14.4196 19.8717 14.0873C20.0093 13.755 20.0407 13.3882 19.9615 13.0374C19.8823 12.6866 19.6964 12.3689 19.4294 12.1279L18.5041 11.292C18.3223 11.1294 18.1769 10.9303 18.0774 10.7076C17.9778 10.485 17.9263 10.2439 17.9263 10C17.9263 9.75612 17.9778 9.51499 18.0774 9.29236C18.1769 9.06973 18.3223 8.87062 18.5041 8.70804L19.4294 7.87206C19.6964 7.63114 19.8823 7.31344 19.9615 6.9626C20.0407 6.61176 20.0093 6.245 19.8717 5.91271C19.7341 5.58043 19.4969 5.29892 19.1928 5.10686C18.8887 4.91481 18.5326 4.82163 18.1735 4.84014L16.9282 4.90414C16.685 4.91638 16.4418 4.87747 16.2145 4.78994C15.9872 4.7024 15.7808 4.56818 15.6086 4.39594C15.4363 4.2237 15.3021 4.01726 15.2146 3.78994C15.1271 3.56262 15.0882 3.31948 15.1004 3.07619L15.1644 1.83089C15.1829 1.4717 15.0897 1.11559 14.8977 0.811487C14.7056 0.507385 14.4241 0.270217 14.0919 0.132568C13.7596 -0.00508182 13.3929 -0.0364573 13.042 0.0427519C12.6912 0.121961 12.3735 0.307869 12.1326 0.574931L11.2914 1.50024C11.1288 1.68202 10.9297 1.82745 10.7071 1.92702C10.4845 2.02659 10.2433 2.07805 9.99947 2.07805C9.7556 2.07805 9.51448 2.02659 9.29186 1.92702ZM14.3745 10C14.3745 12.4162 12.4159 14.375 9.99977 14.375C7.58365 14.375 5.625 12.4162 5.625 10C5.625 7.58375 7.58365 5.625 9.99977 5.625C12.4159 5.625 14.3745 7.58375 14.3745 10Z",fill:"currentColor"})),s5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",fill:"currentColor",stroke:"currentColor"})),a5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",stroke:"currentColor",strokeWidth:1.5})),u5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{width:16,height:16,rx:2,fill:"currentColor"})),l5=({title:e,titleId:t,...n})=>h.createElement("svg",{width:"1em",height:"5em",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd","aria-hidden":"true",viewBox:"0 0 23 23",style:{height:"1.5em"},clipRule:"evenodd","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("path",{d:"M19 24h-14c-1.104 0-2-.896-2-2v-17h-1v-2h6v-1.5c0-.827.673-1.5 1.5-1.5h5c.825 0 1.5.671 1.5 1.5v1.5h6v2h-1v17c0 1.104-.896 2-2 2zm0-19h-14v16.5c0 .276.224.5.5.5h13c.276 0 .5-.224.5-.5v-16.5zm-7 7.586l3.293-3.293 1.414 1.414-3.293 3.293 3.293 3.293-1.414 1.414-3.293-3.293-3.293 3.293-1.414-1.414 3.293-3.293-3.293-3.293 1.414-1.414 3.293 3.293zm2-10.586h-4v1h4v-1z",fill:"currentColor",strokeWidth:.25,stroke:"currentColor"})),c5=({title:e,titleId:t,...n})=>h.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":t,...n},e?h.createElement("title",{id:t},e):null,h.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),h.createElement("rect",{x:5.5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"})),f5=Ue(L4),d5=Ue(O4),p5=Ue(P4),h5=Ue(M4),vp=Ue($4),m5=Ue(V4),g5=Ue(j4),b5=Ue(B4),y5=Ue(U4),v5=Ue(q4),x5=Ue(H4),E5=Ue(z4),w5=Ue(W4),_5=Ue(G4),S5=Ue(Q4),T5=Ue(Y4),A5=Ue(X4),k5=Ue(Z4),D5=Ue(J4),C5=Ue(K4),N5=Ue(e5),R5=Ue(t5),F5=Ue(n5),I5=Ue(r5),L5=Ue(i5),O5=Ue(o5),P5=Ue(s5),M5=Ue(a5),$5=Ue(u5),V5=Ue(l5),Ua=Ue(c5);function Ue(e){const t=e.name.replace("Svg","").replaceAll(/([A-Z])/g," $1").trimStart().toLowerCase()+" icon",n=r=>{const i=me.c(2);let o;return i[0]!==r?(o=v.jsx(e,{title:t,...r}),i[0]=r,i[1]=o):o=i[1],o};return n.displayName=e.name,n}class j5{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?$o.isErrorNoTelemetry(t)?new $o(t.message+`
|
|
3
3
|
|
|
4
4
|
`+t.stack):new Error(t.message+`
|
|
5
5
|
|
|
@@ -36,7 +36,7 @@ import{cD as mp,r as h,j as v,ah as cr,I as mr,W as Ne,jh as C,ji as Pe,jj as X,
|
|
|
36
36
|
# Auto Complete: ${vt.autoComplete.key} (or just start typing)
|
|
37
37
|
#
|
|
38
38
|
|
|
39
|
-
`,Qn={prettify:{id:"graphql-prettify",label:"Prettify Editors",contextMenuGroupId:"graphql",keybindings:vt.prettify.keybindings},mergeFragments:{id:"graphql-merge",label:"Merge Fragments into Query",contextMenuGroupId:"graphql",keybindings:vt.mergeFragments.keybindings},runQuery:{id:"graphql-run",label:"Run Operation",contextMenuGroupId:"graphql",keybindings:vt.runQuery.keybindings},copyQuery:{id:"graphql-copy",label:"Copy Query",contextMenuGroupId:"graphql",keybindings:vt.copyQuery.keybindings}},No={operation:"operation.graphql",schema:"schema.graphql",variables:"variables.json",requestHeaders:"request-headers.json",response:"response.json"},e2={allowComments:!0,trailingCommas:"ignore"},Uf={validateVariablesJSON:{},jsonDiagnosticSettings:{validate:!0,schemaValidation:"error",...e2}},PS=async e=>{const[t,{printers:n},{parsers:r}]=await Promise.all([mr(()=>import("./standalone-Cva4pL7v.js"),[],import.meta.url),mr(()=>import("./graphql-FEcwZ39-.js"),[],import.meta.url),mr(()=>import("./graphql-5mE8kB37.js").then(i=>i.g),__vite__mapDeps([0,1,2]),import.meta.url)]);return t.format(e,{parser:"graphql",plugins:[{printers:n},{parsers:r}]})},qf={dark:"graphiql-DARK",light:"graphiql-LIGHT"},Je={transparent:"#ffffff00",bg:{dark:"#212a3b",light:"#ffffffff"},primary:{dark:"#ff5794",light:"#d60590"},primaryBg:{dark:"#ff579419",light:"#d6059019"},secondary:{dark:"#b7c2d711",light:"#3b4b6811"}},Hm=e=>({"editor.background":Je.transparent,"scrollbar.shadow":Je.transparent,"textLink.foreground":Je.primary[e],"textLink.activeForeground":Je.primary[e],"editorLink.activeForeground":Je.primary[e],"editorHoverWidget.background":Je.bg[e],"list.hoverBackground":Je.primaryBg[e],"list.highlightForeground":Je.primary[e],"list.focusHighlightForeground":Je.primary[e],"menu.background":Je.bg[e],"editorSuggestWidget.background":Je.bg[e],"editorSuggestWidget.selectedBackground":Je.primaryBg[e],"editorSuggestWidget.selectedForeground":Je.primary[e],"quickInput.background":Je.bg[e],"quickInputList.focusForeground":e==="dark"?"#ffffff":"#444444","highlighted.label":Je.primary[e],"quickInput.widget":Je.primary[e],highlight:Je.primary[e],"editorWidget.background":Je.bg[e],"input.background":Je.secondary[e],focusBorder:Je.primary[e],"toolbar.hoverBackground":Je.primaryBg[e],"inputOption.hoverBackground":Je.primaryBg[e],"quickInputList.focusBackground":Je.primaryBg[e],"editorWidget.resizeBorder":Je.primary[e],"pickerGroup.foreground":Je.primary[e],"menu.selectionBackground":Je.primaryBg[e],"menu.selectionForeground":Je.primary[e]}),zm={dark:{base:"vs-dark",inherit:!0,colors:Hm("dark"),rules:[{token:"argument.identifier.gql",foreground:"#908aff"}]},light:{base:"vs",inherit:!0,colors:Hm("light"),rules:[{token:"argument.identifier.gql",foreground:"#6c69ce"}]}},Wm=e=>Symbol.iterator in e,Gm=e=>"entries"in e,Qm=(e,t)=>{const n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(n.size!==r.size)return!1;for(const[i,o]of n)if(!r.has(i)||!Object.is(o,r.get(i)))return!1;return!0},MS=(e,t)=>{const n=e[Symbol.iterator](),r=t[Symbol.iterator]();let i=n.next(),o=r.next();for(;!i.done&&!o.done;){if(!Object.is(i.value,o.value))return!1;i=n.next(),o=r.next()}return!!i.done&&!!o.done};function $S(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?!1:Wm(e)&&Wm(t)?Gm(e)&&Gm(t)?Qm(e,t):MS(e,t):Qm({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}function t2(e){const t=Ne.useRef(void 0);return n=>{const r=e(n);return $S(t.current,r)?t.current:t.current=r}}var VS=Object.defineProperty,jS=Object.defineProperties,BS=Object.getOwnPropertyDescriptors,Ym=Object.getOwnPropertySymbols,US=Object.prototype.hasOwnProperty,qS=Object.prototype.propertyIsEnumerable,Hf=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Xm=(e,t,n)=>t in e?VS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,En=(e,t)=>{for(var n in t||(t={}))US.call(t,n)&&Xm(e,n,t[n]);if(Ym)for(var n of Ym(t))qS.call(t,n)&&Xm(e,n,t[n]);return e},Ws=(e,t)=>jS(e,BS(t)),wu=function(e,t){this[0]=e,this[1]=t},HS=(e,t,n)=>{var r=(s,a,u,l)=>{try{var c=n[s](a),f=(a=c.value)instanceof wu,d=c.done;Promise.resolve(f?a[0]:a).then(p=>f?r(s==="return"?s:"next",a[1]?{done:p.done,value:p.value}:p,u,l):u({value:p,done:d})).catch(p=>r("throw",p,u,l))}catch(p){l(p)}},i=s=>o[s]=a=>new Promise((u,l)=>r(s,a,u,l)),o={};return n=n.apply(e,t),o[Hf("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},zS=(e,t,n)=>(t=e[Hf("asyncIterator")])?t.call(e):(e=e[Hf("iterator")](),t={},n=(r,i)=>(i=e[r])&&(t[r]=o=>new Promise((s,a,u)=>(o=i.call(e,o),u=o.done,Promise.resolve(o.value).then(l=>s({value:l,done:u}),a)))),n("next"),n("return"),t);function WS(e){return typeof e=="object"&&e!==null&&typeof e.then=="function"}function GS(e){return new Promise((t,n)=>{const r=e.subscribe({next(i){t(i),r.unsubscribe()},error:n,complete(){n(new Error("no value resolved"))}})})}function n2(e){return typeof e=="object"&&e!==null&&"subscribe"in e&&typeof e.subscribe=="function"}function r2(e){return typeof e=="object"&&e!==null&&(e[Symbol.toStringTag]==="AsyncGenerator"||Symbol.asyncIterator in e)}async function QS(e){var t;const n=(t=("return"in e?e:e[Symbol.asyncIterator]()).return)==null?void 0:t.bind(e),r=await("next"in e?e:e[Symbol.asyncIterator]()).next.bind(e)();return n?.(),r.value}async function YS(e){const t=await e;return r2(t)?QS(t):n2(t)?GS(t):t}const XS="16.5.0",ZS=Object.freeze({major:16,minor:5,patch:0,preReleaseTag:null});function wn(e){return typeof e?.then=="function"}const JS=5;function Wr(e,t){const[n,r]=t?[e,t]:[void 0,e];let i=" Did you mean ";n&&(i+=n+" ");const o=r.map(u=>`"${u}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}const s=o.slice(0,JS),a=s.pop();return i+s.join(", ")+", or "+a+"?"}function Zm(e){return e}function Gr(e,t){const n=Object.create(null);for(const r of e)n[t(r)]=r;return n}function di(e,t,n){const r=Object.create(null);for(const i of e)r[t(i)]=n(i);return r}function jr(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}function ma(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let i=e.charCodeAt(n),o=t.charCodeAt(r);if(za(i)&&za(o)){let s=0;do++n,s=s*10+i-zf,i=e.charCodeAt(n);while(za(i)&&s>0);let a=0;do++r,a=a*10+o-zf,o=t.charCodeAt(r);while(za(o)&&a>0);if(s<a)return-1;if(s>a)return 1}else{if(i<o)return-1;if(i>o)return 1;++n,++r}}return e.length-t.length}const zf=48,KS=57;function za(e){return!isNaN(e)&&zf<=e&&e<=KS}function Ei(e,t){const n=Object.create(null),r=new eT(e),i=Math.floor(e.length*.4)+1;for(const o of t){const s=r.measure(o,i);s!==void 0&&(n[o]=s)}return Object.keys(n).sort((o,s)=>{const a=n[o]-n[s];return a!==0?a:ma(o,s)})}class eT{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=Jm(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;const r=t.toLowerCase();if(this._inputLowerCase===r)return 1;let i=Jm(r),o=this._inputArray;if(i.length<o.length){const c=i;i=o,o=c}const s=i.length,a=o.length;if(s-a>n)return;const u=this._rows;for(let c=0;c<=a;c++)u[0][c]=c;for(let c=1;c<=s;c++){const f=u[(c-1)%3],d=u[c%3];let p=d[0]=c;for(let m=1;m<=a;m++){const b=i[c-1]===o[m-1]?0:1;let y=Math.min(f[m]+1,d[m-1]+1,f[m-1]+b);if(c>1&&m>1&&i[c-1]===o[m-2]&&i[c-2]===o[m-1]){const x=u[(c-2)%3][m-2];y=Math.min(y,x+1)}y<p&&(p=y),d[m]=y}if(p>n)return}const l=u[s%3][a];return l<=n?l:void 0}}function Jm(e){const t=e.length,n=new Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}function jn(e){if(e==null)return Object.create(null);if(Object.getPrototypeOf(e)===null)return e;const t=Object.create(null);for(const[n,r]of Object.entries(e))t[n]=r;return t}function Uu(e,t){switch(e.kind){case C.NULL:return null;case C.INT:return parseInt(e.value,10);case C.FLOAT:return parseFloat(e.value);case C.STRING:case C.ENUM:case C.BOOLEAN:return e.value;case C.LIST:return e.values.map(n=>Uu(n,t));case C.OBJECT:return di(e.fields,n=>n.name.value,n=>Uu(n.value,t));case C.VARIABLE:return t?.[e.name.value]}}function Tn(e){if(e!=null||Pe(!1,"Must provide name."),typeof e=="string"||Pe(!1,"Expected name to be a string."),e.length===0)throw new X("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!a4(e.charCodeAt(t)))throw new X(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!u4(e.charCodeAt(0)))throw new X(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function i2(e){if(e==="true"||e==="false"||e==="null")throw new X(`Enum values cannot be named: ${e}`);return Tn(e)}function Ko(e){return fn(e)||Le(e)||$e(e)||kt(e)||mt(e)||Ge(e)||it(e)||ke(e)}function tT(e){if(!Ko(e))throw new Error(`Expected ${ee(e)} to be a GraphQL type.`);return e}function fn(e){return Dr(e,Er)}function nT(e){if(!fn(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Scalar type.`);return e}function Le(e){return Dr(e,_n)}function o2(e){if(!Le(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Object type.`);return e}function $e(e){return Dr(e,zi)}function s2(e){if(!$e(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Interface type.`);return e}function kt(e){return Dr(e,jo)}function rT(e){if(!kt(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Union type.`);return e}function mt(e){return Dr(e,Qr)}function iT(e){if(!mt(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Enum type.`);return e}function Ge(e){return Dr(e,Wi)}function oT(e){if(!Ge(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Input Object type.`);return e}function it(e){return Dr(e,$t)}function sT(e){if(!it(e))throw new Error(`Expected ${ee(e)} to be a GraphQL List type.`);return e}function ke(e){return Dr(e,Fe)}function aT(e){if(!ke(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Non-Null type.`);return e}function an(e){return fn(e)||mt(e)||Ge(e)||ga(e)&&an(e.ofType)}function uT(e){if(!an(e))throw new Error(`Expected ${ee(e)} to be a GraphQL input type.`);return e}function gi(e){return fn(e)||Le(e)||$e(e)||kt(e)||mt(e)||ga(e)&&gi(e.ofType)}function lT(e){if(!gi(e))throw new Error(`Expected ${ee(e)} to be a GraphQL output type.`);return e}function Pn(e){return fn(e)||mt(e)}function cT(e){if(!Pn(e))throw new Error(`Expected ${ee(e)} to be a GraphQL leaf type.`);return e}function Zn(e){return Le(e)||$e(e)||kt(e)}function fT(e){if(!Zn(e))throw new Error(`Expected ${ee(e)} to be a GraphQL composite type.`);return e}function Yn(e){return $e(e)||kt(e)}function dT(e){if(!Yn(e))throw new Error(`Expected ${ee(e)} to be a GraphQL abstract type.`);return e}class $t{constructor(t){Ko(t)||Pe(!1,`Expected ${ee(t)} to be a GraphQL type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class Fe{constructor(t){Dp(t)||Pe(!1,`Expected ${ee(t)} to be a GraphQL nullable type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function ga(e){return it(e)||ke(e)}function pT(e){if(!ga(e))throw new Error(`Expected ${ee(e)} to be a GraphQL wrapping type.`);return e}function Dp(e){return Ko(e)&&!ke(e)}function a2(e){if(!Dp(e))throw new Error(`Expected ${ee(e)} to be a GraphQL nullable type.`);return e}function Cl(e){if(e)return ke(e)?e.ofType:e}function to(e){return fn(e)||Le(e)||$e(e)||kt(e)||mt(e)||Ge(e)}function hT(e){if(!to(e))throw new Error(`Expected ${ee(e)} to be a GraphQL named type.`);return e}function xt(e){if(e){let t=e;for(;ga(t);)t=t.ofType;return t}}function Cp(e){return typeof e=="function"?e():e}function Np(e){return typeof e=="function"?e():e}class Er{constructor(t){var n,r,i,o;const s=(n=t.parseValue)!==null&&n!==void 0?n:Zm;this.name=Tn(t.name),this.description=t.description,this.specifiedByURL=t.specifiedByURL,this.serialize=(r=t.serialize)!==null&&r!==void 0?r:Zm,this.parseValue=s,this.parseLiteral=(i=t.parseLiteral)!==null&&i!==void 0?i:(a,u)=>s(Uu(a,u)),this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(o=t.extensionASTNodes)!==null&&o!==void 0?o:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||Pe(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${ee(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||Pe(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||Pe(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class _n{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>l2(t),this._interfaces=()=>u2(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||Pe(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${ee(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:f2(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function u2(e){var t;const n=Cp((t=e.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||Pe(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function l2(e){const t=Np(e.fields);return Ro(t)||Pe(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),jr(t,(n,r)=>{var i;Ro(n)||Pe(!1,`${e.name}.${r} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||Pe(!1,`${e.name}.${r} field resolver must be a function if provided, but got: ${ee(n.resolve)}.`);const o=(i=n.args)!==null&&i!==void 0?i:{};return Ro(o)||Pe(!1,`${e.name}.${r} args must be an object with argument names as keys.`),{name:Tn(r),description:n.description,type:n.type,args:c2(o),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:jn(n.extensions),astNode:n.astNode}})}function c2(e){return Object.entries(e).map(([t,n])=>({name:Tn(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:jn(n.extensions),astNode:n.astNode}))}function Ro(e){return On(e)&&!Array.isArray(e)}function f2(e){return jr(e,t=>({description:t.description,type:t.type,args:d2(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function d2(e){return di(e,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function wi(e){return ke(e.type)&&e.defaultValue===void 0}class zi{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=l2.bind(void 0,t),this._interfaces=u2.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Pe(!1,`${this.name} must provide "resolveType" as a function, but got: ${ee(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:f2(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class jo{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=mT.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Pe(!1,`${this.name} must provide "resolveType" as a function, but got: ${ee(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function mT(e){const t=Cp(e.types);return Array.isArray(t)||Pe(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class Qr{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=gT(this.name,t.values),this._valueLookup=new Map(this._values.map(r=>[r.value,r])),this._nameLookup=Gr(this._values,r=>r.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(t){return this._nameLookup[t]}serialize(t){const n=this._valueLookup.get(t);if(n===void 0)throw new X(`Enum "${this.name}" cannot represent value: ${ee(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const r=ee(t);throw new X(`Enum "${this.name}" cannot represent non-string value: ${r}.`+Wa(this,r))}const n=this.getValue(t);if(n==null)throw new X(`Value "${t}" does not exist in "${this.name}" enum.`+Wa(this,t));return n.value}parseLiteral(t,n){if(t.kind!==C.ENUM){const i=We(t);throw new X(`Enum "${this.name}" cannot represent non-enum value: ${i}.`+Wa(this,i),{nodes:t})}const r=this.getValue(t.value);if(r==null){const i=We(t);throw new X(`Value "${i}" does not exist in "${this.name}" enum.`+Wa(this,i),{nodes:t})}return r.value}toConfig(){const t=di(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Wa(e,t){const n=e.getValues().map(i=>i.name),r=Ei(t,n);return Wr("the enum value",r)}function gT(e,t){return Ro(t)||Pe(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([n,r])=>(Ro(r)||Pe(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${ee(r)}.`),{name:i2(n),description:r.description,value:r.value!==void 0?r.value:n,deprecationReason:r.deprecationReason,extensions:jn(r.extensions),astNode:r.astNode}))}class Wi{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=bT.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=jr(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function bT(e){const t=Np(e.fields);return Ro(t)||Pe(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),jr(t,(n,r)=>(!("resolve"in n)||Pe(!1,`${e.name}.${r} field has a resolve property, but Input Types cannot define resolvers.`),{name:Tn(r),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:jn(n.extensions),astNode:n.astNode}))}function Nl(e){return ke(e.type)&&e.defaultValue===void 0}function qu(e,t){return e===t?!0:ke(e)&&ke(t)||it(e)&&it(t)?qu(e.ofType,t.ofType):!1}function ji(e,t,n){return t===n?!0:ke(n)?ke(t)?ji(e,t.ofType,n.ofType):!1:ke(t)?ji(e,t.ofType,n):it(n)?it(t)?ji(e,t.ofType,n.ofType):!1:it(t)?!1:Yn(n)&&($e(t)||Le(t))&&e.isSubType(n,t)}function Wf(e,t,n){return t===n?!0:Yn(t)?Yn(n)?e.getPossibleTypes(t).some(r=>e.isSubType(n,r)):e.isSubType(t,n):Yn(n)?e.isSubType(n,t):!1}const _u=2147483647,Su=-2147483648,p2=new Er({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=ya(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new X(`Int cannot represent non-integer value: ${ee(t)}`);if(n>_u||n<Su)throw new X("Int cannot represent non 32-bit signed integer value: "+ee(t));return n},parseValue(e){if(typeof e!="number"||!Number.isInteger(e))throw new X(`Int cannot represent non-integer value: ${ee(e)}`);if(e>_u||e<Su)throw new X(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==C.INT)throw new X(`Int cannot represent non-integer value: ${We(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>_u||t<Su)throw new X(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),Rp=new Er({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=ya(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isFinite(n))throw new X(`Float cannot represent non numeric value: ${ee(t)}`);return n},parseValue(e){if(typeof e!="number"||!Number.isFinite(e))throw new X(`Float cannot represent non numeric value: ${ee(e)}`);return e},parseLiteral(e){if(e.kind!==C.FLOAT&&e.kind!==C.INT)throw new X(`Float cannot represent non numeric value: ${We(e)}`,e);return parseFloat(e.value)}}),ht=new Er({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=ya(e);if(typeof t=="string")return t;if(typeof t=="boolean")return t?"true":"false";if(typeof t=="number"&&Number.isFinite(t))return t.toString();throw new X(`String cannot represent value: ${ee(e)}`)},parseValue(e){if(typeof e!="string")throw new X(`String cannot represent a non string value: ${ee(e)}`);return e},parseLiteral(e){if(e.kind!==C.STRING)throw new X(`String cannot represent a non string value: ${We(e)}`,{nodes:e});return e.value}}),vn=new Er({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=ya(e);if(typeof t=="boolean")return t;if(Number.isFinite(t))return t!==0;throw new X(`Boolean cannot represent a non boolean value: ${ee(t)}`)},parseValue(e){if(typeof e!="boolean")throw new X(`Boolean cannot represent a non boolean value: ${ee(e)}`);return e},parseLiteral(e){if(e.kind!==C.BOOLEAN)throw new X(`Boolean cannot represent a non boolean value: ${We(e)}`,{nodes:e});return e.value}}),Fp=new Er({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=ya(e);if(typeof t=="string")return t;if(Number.isInteger(t))return String(t);throw new X(`ID cannot represent value: ${ee(e)}`)},parseValue(e){if(typeof e=="string")return e;if(typeof e=="number"&&Number.isInteger(e))return e.toString();throw new X(`ID cannot represent value: ${ee(e)}`)},parseLiteral(e){if(e.kind!==C.STRING&&e.kind!==C.INT)throw new X("ID cannot represent a non-string and non-integer value: "+We(e),{nodes:e});return e.value}}),ba=Object.freeze([ht,p2,Rp,vn,Fp]);function Rl(e){return ba.some(({name:t})=>e.name===t)}function ya(e){if(On(e)){if(typeof e.valueOf=="function"){const t=e.valueOf();if(!On(t))return t}if(typeof e.toJSON=="function")return e.toJSON()}return e}function Fl(e){return Dr(e,wr)}function yT(e){if(!Fl(e))throw new Error(`Expected ${ee(e)} to be a GraphQL directive.`);return e}class wr{constructor(t){var n,r;this.name=Tn(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=jn(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||Pe(!1,`@${t.name} locations must be an Array.`);const i=(r=t.args)!==null&&r!==void 0?r:{};On(i)&&!Array.isArray(i)||Pe(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=c2(i)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:d2(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const Ip=new wr({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Ee.FIELD,Ee.FRAGMENT_SPREAD,Ee.INLINE_FRAGMENT],args:{if:{type:new Fe(vn),description:"Included when true."}}}),Lp=new wr({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Ee.FIELD,Ee.FRAGMENT_SPREAD,Ee.INLINE_FRAGMENT],args:{if:{type:new Fe(vn),description:"Skipped when true."}}}),Op="No longer supported",Il=new wr({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Ee.FIELD_DEFINITION,Ee.ARGUMENT_DEFINITION,Ee.INPUT_FIELD_DEFINITION,Ee.ENUM_VALUE],args:{reason:{type:ht,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Op}}}),Pp=new wr({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Ee.SCALAR],args:{url:{type:new Fe(ht),description:"The URL that specifies the behavior of this scalar."}}}),_i=Object.freeze([Ip,Lp,Il,Pp]);function Mp(e){return _i.some(({name:t})=>t===e.name)}function $p(e){return typeof e=="object"&&typeof e?.[Symbol.iterator]=="function"}function Br(e,t){if(ke(t)){const n=Br(e,t.ofType);return n?.kind===C.NULL?null:n}if(e===null)return{kind:C.NULL};if(e===void 0)return null;if(it(t)){const n=t.ofType;if($p(e)){const r=[];for(const i of e){const o=Br(i,n);o!=null&&r.push(o)}return{kind:C.LIST,values:r}}return Br(e,n)}if(Ge(t)){if(!On(e))return null;const n=[];for(const r of Object.values(t.getFields())){const i=Br(e[r.name],r.type);i&&n.push({kind:C.OBJECT_FIELD,name:{kind:C.NAME,value:r.name},value:i})}return{kind:C.OBJECT,fields:n}}if(Pn(t)){const n=t.serialize(e);if(n==null)return null;if(typeof n=="boolean")return{kind:C.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const r=String(n);return Km.test(r)?{kind:C.INT,value:r}:{kind:C.FLOAT,value:r}}if(typeof n=="string")return mt(t)?{kind:C.ENUM,value:n}:t===Fp&&Km.test(n)?{kind:C.INT,value:n}:{kind:C.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${ee(n)}.`)}At(!1,"Unexpected input type: "+ee(t))}const Km=/^-?(?:0|[1-9][0-9]*)$/,Ll=new _n({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:ht,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new Fe(new $t(new Fe(Rn))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new Fe(Rn),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Rn,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Rn,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new Fe(new $t(new Fe(Vp))),resolve:e=>e.getDirectives()}})}),Vp=new _n({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
|
|
39
|
+
`,Qn={prettify:{id:"graphql-prettify",label:"Prettify Editors",contextMenuGroupId:"graphql",keybindings:vt.prettify.keybindings},mergeFragments:{id:"graphql-merge",label:"Merge Fragments into Query",contextMenuGroupId:"graphql",keybindings:vt.mergeFragments.keybindings},runQuery:{id:"graphql-run",label:"Run Operation",contextMenuGroupId:"graphql",keybindings:vt.runQuery.keybindings},copyQuery:{id:"graphql-copy",label:"Copy Query",contextMenuGroupId:"graphql",keybindings:vt.copyQuery.keybindings}},No={operation:"operation.graphql",schema:"schema.graphql",variables:"variables.json",requestHeaders:"request-headers.json",response:"response.json"},e2={allowComments:!0,trailingCommas:"ignore"},Uf={validateVariablesJSON:{},jsonDiagnosticSettings:{validate:!0,schemaValidation:"error",...e2}},PS=async e=>{const[t,{printers:n},{parsers:r}]=await Promise.all([mr(()=>import("./standalone-Cva4pL7v.js"),[],import.meta.url),mr(()=>import("./graphql-FEcwZ39-.js"),[],import.meta.url),mr(()=>import("./graphql-Cnx2YXBE.js").then(i=>i.g),__vite__mapDeps([0,1,2]),import.meta.url)]);return t.format(e,{parser:"graphql",plugins:[{printers:n},{parsers:r}]})},qf={dark:"graphiql-DARK",light:"graphiql-LIGHT"},Je={transparent:"#ffffff00",bg:{dark:"#212a3b",light:"#ffffffff"},primary:{dark:"#ff5794",light:"#d60590"},primaryBg:{dark:"#ff579419",light:"#d6059019"},secondary:{dark:"#b7c2d711",light:"#3b4b6811"}},Hm=e=>({"editor.background":Je.transparent,"scrollbar.shadow":Je.transparent,"textLink.foreground":Je.primary[e],"textLink.activeForeground":Je.primary[e],"editorLink.activeForeground":Je.primary[e],"editorHoverWidget.background":Je.bg[e],"list.hoverBackground":Je.primaryBg[e],"list.highlightForeground":Je.primary[e],"list.focusHighlightForeground":Je.primary[e],"menu.background":Je.bg[e],"editorSuggestWidget.background":Je.bg[e],"editorSuggestWidget.selectedBackground":Je.primaryBg[e],"editorSuggestWidget.selectedForeground":Je.primary[e],"quickInput.background":Je.bg[e],"quickInputList.focusForeground":e==="dark"?"#ffffff":"#444444","highlighted.label":Je.primary[e],"quickInput.widget":Je.primary[e],highlight:Je.primary[e],"editorWidget.background":Je.bg[e],"input.background":Je.secondary[e],focusBorder:Je.primary[e],"toolbar.hoverBackground":Je.primaryBg[e],"inputOption.hoverBackground":Je.primaryBg[e],"quickInputList.focusBackground":Je.primaryBg[e],"editorWidget.resizeBorder":Je.primary[e],"pickerGroup.foreground":Je.primary[e],"menu.selectionBackground":Je.primaryBg[e],"menu.selectionForeground":Je.primary[e]}),zm={dark:{base:"vs-dark",inherit:!0,colors:Hm("dark"),rules:[{token:"argument.identifier.gql",foreground:"#908aff"}]},light:{base:"vs",inherit:!0,colors:Hm("light"),rules:[{token:"argument.identifier.gql",foreground:"#6c69ce"}]}},Wm=e=>Symbol.iterator in e,Gm=e=>"entries"in e,Qm=(e,t)=>{const n=e instanceof Map?e:new Map(e.entries()),r=t instanceof Map?t:new Map(t.entries());if(n.size!==r.size)return!1;for(const[i,o]of n)if(!r.has(i)||!Object.is(o,r.get(i)))return!1;return!0},MS=(e,t)=>{const n=e[Symbol.iterator](),r=t[Symbol.iterator]();let i=n.next(),o=r.next();for(;!i.done&&!o.done;){if(!Object.is(i.value,o.value))return!1;i=n.next(),o=r.next()}return!!i.done&&!!o.done};function $S(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?!1:Wm(e)&&Wm(t)?Gm(e)&&Gm(t)?Qm(e,t):MS(e,t):Qm({entries:()=>Object.entries(e)},{entries:()=>Object.entries(t)})}function t2(e){const t=Ne.useRef(void 0);return n=>{const r=e(n);return $S(t.current,r)?t.current:t.current=r}}var VS=Object.defineProperty,jS=Object.defineProperties,BS=Object.getOwnPropertyDescriptors,Ym=Object.getOwnPropertySymbols,US=Object.prototype.hasOwnProperty,qS=Object.prototype.propertyIsEnumerable,Hf=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Xm=(e,t,n)=>t in e?VS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,En=(e,t)=>{for(var n in t||(t={}))US.call(t,n)&&Xm(e,n,t[n]);if(Ym)for(var n of Ym(t))qS.call(t,n)&&Xm(e,n,t[n]);return e},Ws=(e,t)=>jS(e,BS(t)),wu=function(e,t){this[0]=e,this[1]=t},HS=(e,t,n)=>{var r=(s,a,u,l)=>{try{var c=n[s](a),f=(a=c.value)instanceof wu,d=c.done;Promise.resolve(f?a[0]:a).then(p=>f?r(s==="return"?s:"next",a[1]?{done:p.done,value:p.value}:p,u,l):u({value:p,done:d})).catch(p=>r("throw",p,u,l))}catch(p){l(p)}},i=s=>o[s]=a=>new Promise((u,l)=>r(s,a,u,l)),o={};return n=n.apply(e,t),o[Hf("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},zS=(e,t,n)=>(t=e[Hf("asyncIterator")])?t.call(e):(e=e[Hf("iterator")](),t={},n=(r,i)=>(i=e[r])&&(t[r]=o=>new Promise((s,a,u)=>(o=i.call(e,o),u=o.done,Promise.resolve(o.value).then(l=>s({value:l,done:u}),a)))),n("next"),n("return"),t);function WS(e){return typeof e=="object"&&e!==null&&typeof e.then=="function"}function GS(e){return new Promise((t,n)=>{const r=e.subscribe({next(i){t(i),r.unsubscribe()},error:n,complete(){n(new Error("no value resolved"))}})})}function n2(e){return typeof e=="object"&&e!==null&&"subscribe"in e&&typeof e.subscribe=="function"}function r2(e){return typeof e=="object"&&e!==null&&(e[Symbol.toStringTag]==="AsyncGenerator"||Symbol.asyncIterator in e)}async function QS(e){var t;const n=(t=("return"in e?e:e[Symbol.asyncIterator]()).return)==null?void 0:t.bind(e),r=await("next"in e?e:e[Symbol.asyncIterator]()).next.bind(e)();return n?.(),r.value}async function YS(e){const t=await e;return r2(t)?QS(t):n2(t)?GS(t):t}const XS="16.5.0",ZS=Object.freeze({major:16,minor:5,patch:0,preReleaseTag:null});function wn(e){return typeof e?.then=="function"}const JS=5;function Wr(e,t){const[n,r]=t?[e,t]:[void 0,e];let i=" Did you mean ";n&&(i+=n+" ");const o=r.map(u=>`"${u}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}const s=o.slice(0,JS),a=s.pop();return i+s.join(", ")+", or "+a+"?"}function Zm(e){return e}function Gr(e,t){const n=Object.create(null);for(const r of e)n[t(r)]=r;return n}function di(e,t,n){const r=Object.create(null);for(const i of e)r[t(i)]=n(i);return r}function jr(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}function ma(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let i=e.charCodeAt(n),o=t.charCodeAt(r);if(za(i)&&za(o)){let s=0;do++n,s=s*10+i-zf,i=e.charCodeAt(n);while(za(i)&&s>0);let a=0;do++r,a=a*10+o-zf,o=t.charCodeAt(r);while(za(o)&&a>0);if(s<a)return-1;if(s>a)return 1}else{if(i<o)return-1;if(i>o)return 1;++n,++r}}return e.length-t.length}const zf=48,KS=57;function za(e){return!isNaN(e)&&zf<=e&&e<=KS}function Ei(e,t){const n=Object.create(null),r=new eT(e),i=Math.floor(e.length*.4)+1;for(const o of t){const s=r.measure(o,i);s!==void 0&&(n[o]=s)}return Object.keys(n).sort((o,s)=>{const a=n[o]-n[s];return a!==0?a:ma(o,s)})}class eT{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=Jm(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;const r=t.toLowerCase();if(this._inputLowerCase===r)return 1;let i=Jm(r),o=this._inputArray;if(i.length<o.length){const c=i;i=o,o=c}const s=i.length,a=o.length;if(s-a>n)return;const u=this._rows;for(let c=0;c<=a;c++)u[0][c]=c;for(let c=1;c<=s;c++){const f=u[(c-1)%3],d=u[c%3];let p=d[0]=c;for(let m=1;m<=a;m++){const b=i[c-1]===o[m-1]?0:1;let y=Math.min(f[m]+1,d[m-1]+1,f[m-1]+b);if(c>1&&m>1&&i[c-1]===o[m-2]&&i[c-2]===o[m-1]){const x=u[(c-2)%3][m-2];y=Math.min(y,x+1)}y<p&&(p=y),d[m]=y}if(p>n)return}const l=u[s%3][a];return l<=n?l:void 0}}function Jm(e){const t=e.length,n=new Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}function jn(e){if(e==null)return Object.create(null);if(Object.getPrototypeOf(e)===null)return e;const t=Object.create(null);for(const[n,r]of Object.entries(e))t[n]=r;return t}function Uu(e,t){switch(e.kind){case C.NULL:return null;case C.INT:return parseInt(e.value,10);case C.FLOAT:return parseFloat(e.value);case C.STRING:case C.ENUM:case C.BOOLEAN:return e.value;case C.LIST:return e.values.map(n=>Uu(n,t));case C.OBJECT:return di(e.fields,n=>n.name.value,n=>Uu(n.value,t));case C.VARIABLE:return t?.[e.name.value]}}function Tn(e){if(e!=null||Pe(!1,"Must provide name."),typeof e=="string"||Pe(!1,"Expected name to be a string."),e.length===0)throw new X("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!a4(e.charCodeAt(t)))throw new X(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!u4(e.charCodeAt(0)))throw new X(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function i2(e){if(e==="true"||e==="false"||e==="null")throw new X(`Enum values cannot be named: ${e}`);return Tn(e)}function Ko(e){return fn(e)||Le(e)||$e(e)||kt(e)||mt(e)||Ge(e)||it(e)||ke(e)}function tT(e){if(!Ko(e))throw new Error(`Expected ${ee(e)} to be a GraphQL type.`);return e}function fn(e){return Dr(e,Er)}function nT(e){if(!fn(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Scalar type.`);return e}function Le(e){return Dr(e,_n)}function o2(e){if(!Le(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Object type.`);return e}function $e(e){return Dr(e,zi)}function s2(e){if(!$e(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Interface type.`);return e}function kt(e){return Dr(e,jo)}function rT(e){if(!kt(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Union type.`);return e}function mt(e){return Dr(e,Qr)}function iT(e){if(!mt(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Enum type.`);return e}function Ge(e){return Dr(e,Wi)}function oT(e){if(!Ge(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Input Object type.`);return e}function it(e){return Dr(e,$t)}function sT(e){if(!it(e))throw new Error(`Expected ${ee(e)} to be a GraphQL List type.`);return e}function ke(e){return Dr(e,Fe)}function aT(e){if(!ke(e))throw new Error(`Expected ${ee(e)} to be a GraphQL Non-Null type.`);return e}function an(e){return fn(e)||mt(e)||Ge(e)||ga(e)&&an(e.ofType)}function uT(e){if(!an(e))throw new Error(`Expected ${ee(e)} to be a GraphQL input type.`);return e}function gi(e){return fn(e)||Le(e)||$e(e)||kt(e)||mt(e)||ga(e)&&gi(e.ofType)}function lT(e){if(!gi(e))throw new Error(`Expected ${ee(e)} to be a GraphQL output type.`);return e}function Pn(e){return fn(e)||mt(e)}function cT(e){if(!Pn(e))throw new Error(`Expected ${ee(e)} to be a GraphQL leaf type.`);return e}function Zn(e){return Le(e)||$e(e)||kt(e)}function fT(e){if(!Zn(e))throw new Error(`Expected ${ee(e)} to be a GraphQL composite type.`);return e}function Yn(e){return $e(e)||kt(e)}function dT(e){if(!Yn(e))throw new Error(`Expected ${ee(e)} to be a GraphQL abstract type.`);return e}class $t{constructor(t){Ko(t)||Pe(!1,`Expected ${ee(t)} to be a GraphQL type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class Fe{constructor(t){Dp(t)||Pe(!1,`Expected ${ee(t)} to be a GraphQL nullable type.`),this.ofType=t}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function ga(e){return it(e)||ke(e)}function pT(e){if(!ga(e))throw new Error(`Expected ${ee(e)} to be a GraphQL wrapping type.`);return e}function Dp(e){return Ko(e)&&!ke(e)}function a2(e){if(!Dp(e))throw new Error(`Expected ${ee(e)} to be a GraphQL nullable type.`);return e}function Cl(e){if(e)return ke(e)?e.ofType:e}function to(e){return fn(e)||Le(e)||$e(e)||kt(e)||mt(e)||Ge(e)}function hT(e){if(!to(e))throw new Error(`Expected ${ee(e)} to be a GraphQL named type.`);return e}function xt(e){if(e){let t=e;for(;ga(t);)t=t.ofType;return t}}function Cp(e){return typeof e=="function"?e():e}function Np(e){return typeof e=="function"?e():e}class Er{constructor(t){var n,r,i,o;const s=(n=t.parseValue)!==null&&n!==void 0?n:Zm;this.name=Tn(t.name),this.description=t.description,this.specifiedByURL=t.specifiedByURL,this.serialize=(r=t.serialize)!==null&&r!==void 0?r:Zm,this.parseValue=s,this.parseLiteral=(i=t.parseLiteral)!==null&&i!==void 0?i:(a,u)=>s(Uu(a,u)),this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(o=t.extensionASTNodes)!==null&&o!==void 0?o:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||Pe(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${ee(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||Pe(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||Pe(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class _n{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>l2(t),this._interfaces=()=>u2(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||Pe(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${ee(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:f2(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function u2(e){var t;const n=Cp((t=e.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||Pe(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function l2(e){const t=Np(e.fields);return Ro(t)||Pe(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),jr(t,(n,r)=>{var i;Ro(n)||Pe(!1,`${e.name}.${r} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||Pe(!1,`${e.name}.${r} field resolver must be a function if provided, but got: ${ee(n.resolve)}.`);const o=(i=n.args)!==null&&i!==void 0?i:{};return Ro(o)||Pe(!1,`${e.name}.${r} args must be an object with argument names as keys.`),{name:Tn(r),description:n.description,type:n.type,args:c2(o),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:jn(n.extensions),astNode:n.astNode}})}function c2(e){return Object.entries(e).map(([t,n])=>({name:Tn(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:jn(n.extensions),astNode:n.astNode}))}function Ro(e){return On(e)&&!Array.isArray(e)}function f2(e){return jr(e,t=>({description:t.description,type:t.type,args:d2(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function d2(e){return di(e,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function wi(e){return ke(e.type)&&e.defaultValue===void 0}class zi{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=l2.bind(void 0,t),this._interfaces=u2.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Pe(!1,`${this.name} must provide "resolveType" as a function, but got: ${ee(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:f2(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class jo{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=mT.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||Pe(!1,`${this.name} must provide "resolveType" as a function, but got: ${ee(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function mT(e){const t=Cp(e.types);return Array.isArray(t)||Pe(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class Qr{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=gT(this.name,t.values),this._valueLookup=new Map(this._values.map(r=>[r.value,r])),this._nameLookup=Gr(this._values,r=>r.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(t){return this._nameLookup[t]}serialize(t){const n=this._valueLookup.get(t);if(n===void 0)throw new X(`Enum "${this.name}" cannot represent value: ${ee(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const r=ee(t);throw new X(`Enum "${this.name}" cannot represent non-string value: ${r}.`+Wa(this,r))}const n=this.getValue(t);if(n==null)throw new X(`Value "${t}" does not exist in "${this.name}" enum.`+Wa(this,t));return n.value}parseLiteral(t,n){if(t.kind!==C.ENUM){const i=We(t);throw new X(`Enum "${this.name}" cannot represent non-enum value: ${i}.`+Wa(this,i),{nodes:t})}const r=this.getValue(t.value);if(r==null){const i=We(t);throw new X(`Value "${i}" does not exist in "${this.name}" enum.`+Wa(this,i),{nodes:t})}return r.value}toConfig(){const t=di(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Wa(e,t){const n=e.getValues().map(i=>i.name),r=Ei(t,n);return Wr("the enum value",r)}function gT(e,t){return Ro(t)||Pe(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([n,r])=>(Ro(r)||Pe(!1,`${e}.${n} must refer to an object with a "value" key representing an internal value but got: ${ee(r)}.`),{name:i2(n),description:r.description,value:r.value!==void 0?r.value:n,deprecationReason:r.deprecationReason,extensions:jn(r.extensions),astNode:r.astNode}))}class Wi{constructor(t){var n;this.name=Tn(t.name),this.description=t.description,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=bT.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=jr(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function bT(e){const t=Np(e.fields);return Ro(t)||Pe(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),jr(t,(n,r)=>(!("resolve"in n)||Pe(!1,`${e.name}.${r} field has a resolve property, but Input Types cannot define resolvers.`),{name:Tn(r),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:jn(n.extensions),astNode:n.astNode}))}function Nl(e){return ke(e.type)&&e.defaultValue===void 0}function qu(e,t){return e===t?!0:ke(e)&&ke(t)||it(e)&&it(t)?qu(e.ofType,t.ofType):!1}function ji(e,t,n){return t===n?!0:ke(n)?ke(t)?ji(e,t.ofType,n.ofType):!1:ke(t)?ji(e,t.ofType,n):it(n)?it(t)?ji(e,t.ofType,n.ofType):!1:it(t)?!1:Yn(n)&&($e(t)||Le(t))&&e.isSubType(n,t)}function Wf(e,t,n){return t===n?!0:Yn(t)?Yn(n)?e.getPossibleTypes(t).some(r=>e.isSubType(n,r)):e.isSubType(t,n):Yn(n)?e.isSubType(n,t):!1}const _u=2147483647,Su=-2147483648,p2=new Er({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){const t=ya(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new X(`Int cannot represent non-integer value: ${ee(t)}`);if(n>_u||n<Su)throw new X("Int cannot represent non 32-bit signed integer value: "+ee(t));return n},parseValue(e){if(typeof e!="number"||!Number.isInteger(e))throw new X(`Int cannot represent non-integer value: ${ee(e)}`);if(e>_u||e<Su)throw new X(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==C.INT)throw new X(`Int cannot represent non-integer value: ${We(e)}`,{nodes:e});const t=parseInt(e.value,10);if(t>_u||t<Su)throw new X(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),Rp=new Er({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){const t=ya(e);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isFinite(n))throw new X(`Float cannot represent non numeric value: ${ee(t)}`);return n},parseValue(e){if(typeof e!="number"||!Number.isFinite(e))throw new X(`Float cannot represent non numeric value: ${ee(e)}`);return e},parseLiteral(e){if(e.kind!==C.FLOAT&&e.kind!==C.INT)throw new X(`Float cannot represent non numeric value: ${We(e)}`,e);return parseFloat(e.value)}}),ht=new Er({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){const t=ya(e);if(typeof t=="string")return t;if(typeof t=="boolean")return t?"true":"false";if(typeof t=="number"&&Number.isFinite(t))return t.toString();throw new X(`String cannot represent value: ${ee(e)}`)},parseValue(e){if(typeof e!="string")throw new X(`String cannot represent a non string value: ${ee(e)}`);return e},parseLiteral(e){if(e.kind!==C.STRING)throw new X(`String cannot represent a non string value: ${We(e)}`,{nodes:e});return e.value}}),vn=new Er({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){const t=ya(e);if(typeof t=="boolean")return t;if(Number.isFinite(t))return t!==0;throw new X(`Boolean cannot represent a non boolean value: ${ee(t)}`)},parseValue(e){if(typeof e!="boolean")throw new X(`Boolean cannot represent a non boolean value: ${ee(e)}`);return e},parseLiteral(e){if(e.kind!==C.BOOLEAN)throw new X(`Boolean cannot represent a non boolean value: ${We(e)}`,{nodes:e});return e.value}}),Fp=new Er({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){const t=ya(e);if(typeof t=="string")return t;if(Number.isInteger(t))return String(t);throw new X(`ID cannot represent value: ${ee(e)}`)},parseValue(e){if(typeof e=="string")return e;if(typeof e=="number"&&Number.isInteger(e))return e.toString();throw new X(`ID cannot represent value: ${ee(e)}`)},parseLiteral(e){if(e.kind!==C.STRING&&e.kind!==C.INT)throw new X("ID cannot represent a non-string and non-integer value: "+We(e),{nodes:e});return e.value}}),ba=Object.freeze([ht,p2,Rp,vn,Fp]);function Rl(e){return ba.some(({name:t})=>e.name===t)}function ya(e){if(On(e)){if(typeof e.valueOf=="function"){const t=e.valueOf();if(!On(t))return t}if(typeof e.toJSON=="function")return e.toJSON()}return e}function Fl(e){return Dr(e,wr)}function yT(e){if(!Fl(e))throw new Error(`Expected ${ee(e)} to be a GraphQL directive.`);return e}class wr{constructor(t){var n,r;this.name=Tn(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=jn(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||Pe(!1,`@${t.name} locations must be an Array.`);const i=(r=t.args)!==null&&r!==void 0?r:{};On(i)&&!Array.isArray(i)||Pe(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=c2(i)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:d2(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const Ip=new wr({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Ee.FIELD,Ee.FRAGMENT_SPREAD,Ee.INLINE_FRAGMENT],args:{if:{type:new Fe(vn),description:"Included when true."}}}),Lp=new wr({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Ee.FIELD,Ee.FRAGMENT_SPREAD,Ee.INLINE_FRAGMENT],args:{if:{type:new Fe(vn),description:"Skipped when true."}}}),Op="No longer supported",Il=new wr({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Ee.FIELD_DEFINITION,Ee.ARGUMENT_DEFINITION,Ee.INPUT_FIELD_DEFINITION,Ee.ENUM_VALUE],args:{reason:{type:ht,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Op}}}),Pp=new wr({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Ee.SCALAR],args:{url:{type:new Fe(ht),description:"The URL that specifies the behavior of this scalar."}}}),_i=Object.freeze([Ip,Lp,Il,Pp]);function Mp(e){return _i.some(({name:t})=>t===e.name)}function $p(e){return typeof e=="object"&&typeof e?.[Symbol.iterator]=="function"}function Br(e,t){if(ke(t)){const n=Br(e,t.ofType);return n?.kind===C.NULL?null:n}if(e===null)return{kind:C.NULL};if(e===void 0)return null;if(it(t)){const n=t.ofType;if($p(e)){const r=[];for(const i of e){const o=Br(i,n);o!=null&&r.push(o)}return{kind:C.LIST,values:r}}return Br(e,n)}if(Ge(t)){if(!On(e))return null;const n=[];for(const r of Object.values(t.getFields())){const i=Br(e[r.name],r.type);i&&n.push({kind:C.OBJECT_FIELD,name:{kind:C.NAME,value:r.name},value:i})}return{kind:C.OBJECT,fields:n}}if(Pn(t)){const n=t.serialize(e);if(n==null)return null;if(typeof n=="boolean")return{kind:C.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const r=String(n);return Km.test(r)?{kind:C.INT,value:r}:{kind:C.FLOAT,value:r}}if(typeof n=="string")return mt(t)?{kind:C.ENUM,value:n}:t===Fp&&Km.test(n)?{kind:C.INT,value:n}:{kind:C.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${ee(n)}.`)}At(!1,"Unexpected input type: "+ee(t))}const Km=/^-?(?:0|[1-9][0-9]*)$/,Ll=new _n({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:ht,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new Fe(new $t(new Fe(Rn))),resolve(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new Fe(Rn),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Rn,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Rn,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new Fe(new $t(new Fe(Vp))),resolve:e=>e.getDirectives()}})}),Vp=new _n({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
|
|
40
40
|
|
|
41
41
|
In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new Fe(ht),resolve:e=>e.name},description:{type:ht,resolve:e=>e.description},isRepeatable:{type:new Fe(vn),resolve:e=>e.isRepeatable},locations:{type:new Fe(new $t(new Fe(jp))),resolve:e=>e.locations},args:{type:new Fe(new $t(new Fe(va))),args:{includeDeprecated:{type:vn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}}})}),jp=new Qr({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:Ee.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Ee.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Ee.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Ee.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Ee.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Ee.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Ee.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Ee.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Ee.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Ee.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Ee.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Ee.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Ee.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Ee.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Ee.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Ee.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Ee.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Ee.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Ee.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Rn=new _n({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new Fe(qp),resolve(e){if(fn(e))return Ye.SCALAR;if(Le(e))return Ye.OBJECT;if($e(e))return Ye.INTERFACE;if(kt(e))return Ye.UNION;if(mt(e))return Ye.ENUM;if(Ge(e))return Ye.INPUT_OBJECT;if(it(e))return Ye.LIST;if(ke(e))return Ye.NON_NULL;At(!1,`Unexpected type: "${ee(e)}".`)}},name:{type:ht,resolve:e=>"name"in e?e.name:void 0},description:{type:ht,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:ht,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new $t(new Fe(Bp)),args:{includeDeprecated:{type:vn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Le(e)||$e(e)){const n=Object.values(e.getFields());return t?n:n.filter(r=>r.deprecationReason==null)}}},interfaces:{type:new $t(new Fe(Rn)),resolve(e){if(Le(e)||$e(e))return e.getInterfaces()}},possibleTypes:{type:new $t(new Fe(Rn)),resolve(e,t,n,{schema:r}){if(Yn(e))return r.getPossibleTypes(e)}},enumValues:{type:new $t(new Fe(Up)),args:{includeDeprecated:{type:vn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(mt(e)){const n=e.getValues();return t?n:n.filter(r=>r.deprecationReason==null)}}},inputFields:{type:new $t(new Fe(va)),args:{includeDeprecated:{type:vn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(Ge(e)){const n=Object.values(e.getFields());return t?n:n.filter(r=>r.deprecationReason==null)}}},ofType:{type:Rn,resolve:e=>"ofType"in e?e.ofType:void 0}})}),Bp=new _n({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new Fe(ht),resolve:e=>e.name},description:{type:ht,resolve:e=>e.description},args:{type:new Fe(new $t(new Fe(va))),args:{includeDeprecated:{type:vn,defaultValue:!1}},resolve(e,{includeDeprecated:t}){return t?e.args:e.args.filter(n=>n.deprecationReason==null)}},type:{type:new Fe(Rn),resolve:e=>e.type},isDeprecated:{type:new Fe(vn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:ht,resolve:e=>e.deprecationReason}})}),va=new _n({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new Fe(ht),resolve:e=>e.name},description:{type:ht,resolve:e=>e.description},type:{type:new Fe(Rn),resolve:e=>e.type},defaultValue:{type:ht,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){const{type:t,defaultValue:n}=e,r=Br(n,t);return r?We(r):null}},isDeprecated:{type:new Fe(vn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:ht,resolve:e=>e.deprecationReason}})}),Up=new _n({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new Fe(ht),resolve:e=>e.name},description:{type:ht,resolve:e=>e.description},isDeprecated:{type:new Fe(vn),resolve:e=>e.deprecationReason!=null},deprecationReason:{type:ht,resolve:e=>e.deprecationReason}})});let Ye;(function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"})(Ye||(Ye={}));const qp=new Qr({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:Ye.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:Ye.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:Ye.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:Ye.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:Ye.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:Ye.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:Ye.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:Ye.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),Gi={name:"__schema",type:new Fe(Ll),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:r})=>r,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Qi={name:"__type",type:Rn,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new Fe(ht),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:r})=>r.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},Yi={name:"__typename",type:new Fe(ht),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:r})=>r.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},xa=Object.freeze([Ll,Vp,jp,Rn,Bp,va,Up,qp]);function no(e){return xa.some(({name:t})=>e.name===t)}function Hu(e){return Dr(e,es)}function Hp(e){if(!Hu(e))throw new Error(`Expected ${ee(e)} to be a GraphQL schema.`);return e}class es{constructor(t){var n,r;this.__validationErrors=t.assumeValid===!0?[]:void 0,On(t)||Pe(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||Pe(!1,`"types" must be Array if provided but got: ${ee(t.types)}.`),!t.directives||Array.isArray(t.directives)||Pe(!1,`"directives" must be Array if provided but got: ${ee(t.directives)}.`),this.description=t.description,this.extensions=jn(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(r=t.directives)!==null&&r!==void 0?r:_i;const i=new Set(t.types);if(t.types!=null)for(const o of t.types)i.delete(o),zn(o,i);this._queryType!=null&&zn(this._queryType,i),this._mutationType!=null&&zn(this._mutationType,i),this._subscriptionType!=null&&zn(this._subscriptionType,i);for(const o of this._directives)if(Fl(o))for(const s of o.args)zn(s.type,i);zn(Ll,i),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const o of i){if(o==null)continue;const s=o.name;if(s||Pe(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[s]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${s}".`);if(this._typeMap[s]=o,$e(o)){for(const a of o.getInterfaces())if($e(a)){let u=this._implementationsMap[a.name];u===void 0&&(u=this._implementationsMap[a.name]={objects:[],interfaces:[]}),u.interfaces.push(o)}}else if(Le(o)){for(const a of o.getInterfaces())if($e(a)){let u=this._implementationsMap[a.name];u===void 0&&(u=this._implementationsMap[a.name]={objects:[],interfaces:[]}),u.objects.push(o)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case yn.QUERY:return this.getQueryType();case yn.MUTATION:return this.getMutationType();case yn.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return kt(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){const n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let r=this._subTypeMap[t.name];if(r===void 0){if(r=Object.create(null),kt(t))for(const i of t.getTypes())r[i.name]=!0;else{const i=this.getImplementations(t);for(const o of i.objects)r[o.name]=!0;for(const o of i.interfaces)r[o.name]=!0}this._subTypeMap[t.name]=r}return r[n.name]!==void 0}getDirectives(){return this._directives}getDirective(t){return this.getDirectives().find(n=>n.name===t)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function zn(e,t){const n=xt(e);if(!t.has(n)){if(t.add(n),kt(n))for(const r of n.getTypes())zn(r,t);else if(Le(n)||$e(n)){for(const r of n.getInterfaces())zn(r,t);for(const r of Object.values(n.getFields())){zn(r.type,t);for(const i of r.args)zn(i.type,t)}}else if(Ge(n))for(const r of Object.values(n.getFields()))zn(r.type,t)}return t}function Ol(e){if(Hp(e),e.__validationErrors)return e.__validationErrors;const t=new vT(e);xT(t),ET(t),wT(t);const n=t.getErrors();return e.__validationErrors=n,n}function zp(e){const t=Ol(e);if(t.length!==0)throw new Error(t.map(n=>n.message).join(`
|
|
42
42
|
|
|
@@ -160,20 +160,20 @@ ${t.join(`
|
|
|
160
160
|
`)+4,k=_.lastIndexOf(`\r
|
|
161
161
|
`,T),M=!1,N=_.slice(T,k>-1?void 0:k),U=String(_.slice(0,T)).trim().split(`\r
|
|
162
162
|
`),q={},G=U.length;for(;c=U[--G];c=c.split(": "),q[c.shift().toLowerCase()]=c.join(": "));if(c=q["content-type"],c&&~c.indexOf("application/json"))try{N=JSON.parse(N),M=!0}catch{}if(c={headers:q,body:N,json:M},p?yield c:y.push(c),S.slice(0,2)==="--")break e}else s=`\r
|
|
163
|
-
`+s,l=m+=2;b=S,u=b.indexOf(s)}y.length&&(yield y)}}finally{y.length&&(yield y),await d.cancel()}})(e.body,`--${i}`,t)}function nA(e,t,n){const r=(async function*(){yield*e})(),i=r.return.bind(r);if(t&&(r.return=(...o)=>(t(),i(...o))),n){const o=r.throw.bind(r);r.throw=s=>(n(s),o(s))}return r}function g1(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}function rA(){let e={type:"running"},t=g1();const n=[];function r(s){e.type==="running"&&(n.push(s),t.resolve(),t=g1())}const i=(async function*(){for(;;)if(n.length>0)yield n.shift();else{if(e.type==="error")throw e.error;if(e.type==="finished")return;await t.promise}})(),o=nA(i,()=>{e.type==="running"&&(e={type:"finished"},t.resolve())},s=>{e.type==="running"&&(e={type:"error",error:s},t.resolve())});return{pushValue:r,asyncIterableIterator:o}}const Tx=e=>{const{pushValue:t,asyncIterableIterator:n}=rA(),r=e({next:s=>{t(s)},complete:()=>{n.return()},error:s=>{n.throw(s)}}),i=n.return;let o;return n.return=()=>(o===void 0&&(r(),o=i()),o),n};function iA(e){return typeof e=="object"&&e!==null&&(e[Symbol.toStringTag]==="AsyncGenerator"||Symbol.asyncIterator&&Symbol.asyncIterator in e)}const oA=e=>typeof e=="object"&&e!==null&&"code"in e,sA=(e,t)=>{let n=!1;return ln(e,{OperationDefinition(r){var i;t===((i=r.name)==null?void 0:i.value)&&r.operation==="subscription"&&(n=!0)}}),n},aA=(e,t)=>async(n,r)=>(await t(e.url,{method:"POST",body:JSON.stringify(n),headers:En(En({"content-type":"application/json"},e.headers),r?.headers)})).json();async function uA(e,t){let n;try{const{createClient:r}=await mr(async()=>{const{createClient:i}=await import("./index-
|
|
163
|
+
`+s,l=m+=2;b=S,u=b.indexOf(s)}y.length&&(yield y)}}finally{y.length&&(yield y),await d.cancel()}})(e.body,`--${i}`,t)}function nA(e,t,n){const r=(async function*(){yield*e})(),i=r.return.bind(r);if(t&&(r.return=(...o)=>(t(),i(...o))),n){const o=r.throw.bind(r);r.throw=s=>(n(s),o(s))}return r}function g1(){const e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}function rA(){let e={type:"running"},t=g1();const n=[];function r(s){e.type==="running"&&(n.push(s),t.resolve(),t=g1())}const i=(async function*(){for(;;)if(n.length>0)yield n.shift();else{if(e.type==="error")throw e.error;if(e.type==="finished")return;await t.promise}})(),o=nA(i,()=>{e.type==="running"&&(e={type:"finished"},t.resolve())},s=>{e.type==="running"&&(e={type:"error",error:s},t.resolve())});return{pushValue:r,asyncIterableIterator:o}}const Tx=e=>{const{pushValue:t,asyncIterableIterator:n}=rA(),r=e({next:s=>{t(s)},complete:()=>{n.return()},error:s=>{n.throw(s)}}),i=n.return;let o;return n.return=()=>(o===void 0&&(r(),o=i()),o),n};function iA(e){return typeof e=="object"&&e!==null&&(e[Symbol.toStringTag]==="AsyncGenerator"||Symbol.asyncIterator&&Symbol.asyncIterator in e)}const oA=e=>typeof e=="object"&&e!==null&&"code"in e,sA=(e,t)=>{let n=!1;return ln(e,{OperationDefinition(r){var i;t===((i=r.name)==null?void 0:i.value)&&r.operation==="subscription"&&(n=!0)}}),n},aA=(e,t)=>async(n,r)=>(await t(e.url,{method:"POST",body:JSON.stringify(n),headers:En(En({"content-type":"application/json"},e.headers),r?.headers)})).json();async function uA(e,t){let n;try{const{createClient:r}=await mr(async()=>{const{createClient:i}=await import("./index-DSG25x4F.js");return{createClient:i}},__vite__mapDeps([3,1,2]),import.meta.url);return n=r({url:e,connectionParams:t}),Ax(n)}catch(r){if(oA(r)&&r.code==="MODULE_NOT_FOUND")throw new Error("You need to install the 'graphql-ws' package to use websockets when passing a 'subscriptionUrl'");console.error(`Error creating websocket client for ${e}`,r)}}const Ax=e=>t=>Tx(n=>e.subscribe(t,Ws(En({},n),{error(r){r instanceof CloseEvent?n.error(new Error(`Socket closed with event ${r.code} ${r.reason||""}`.trim())):n.error(r)}}))),lA=e=>t=>{const n=e.request(t);return Tx(r=>n.subscribe(r).unsubscribe)},cA=(e,t)=>function(n,r){return HS(this,null,function*(){const i=yield new wu(t(e.url,{method:"POST",body:JSON.stringify(n),headers:En(En({"content-type":"application/json",accept:"application/json, multipart/mixed"},e.headers),r?.headers)}).then(l=>tA(l,{})));if(!iA(i))return yield i.json();try{for(var o=zS(i),s,a,u;s=!(a=yield new wu(o.next())).done;s=!1){const l=a.value;if(l.some(c=>!c.json)){const c=l.map(f=>`Headers::
|
|
164
164
|
${f.headers}
|
|
165
165
|
|
|
166
166
|
Body::
|
|
167
167
|
${f.body}`);throw new Error(`Expected multipart chunks to be of json type. got:
|
|
168
168
|
${c}`)}yield l.map(c=>c.body)}}catch(l){u=[l]}finally{try{s&&(a=o.return)&&(yield new wu(a.call(o)))}finally{if(u)throw u[0]}}})};async function fA(e,t){if(e.wsClient)return Ax(e.wsClient);if(e.subscriptionUrl)return uA(e.subscriptionUrl,En(En({},e.wsConnectionParams),t?.headers));const n=e.legacyClient||e.legacyWsClient;if(n)return lA(n)}function dA(e){const t=e.fetch||typeof window<"u"&&window.fetch;if(!t)throw new Error("No valid fetcher implementation available");e.enableIncrementalDelivery=e.enableIncrementalDelivery!==!1;const n=aA(e,t),r=e.enableIncrementalDelivery?cA(e,t):n;return async(i,o)=>{if(i.operationName==="IntrospectionQuery")return(e.schemaFetcher||n)(i,o);if(o!=null&&o.documentAST&&sA(o.documentAST,i.operationName||void 0)){const s=await fA(e,o);if(!s)throw new Error(`Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. ${e.subscriptionUrl?`Provided URL ${e.subscriptionUrl} failed`:"Please provide subscriptionUrl, wsClient or legacyClient option first."}`);return s(i)}return r(i,o)}}function ed(e){return JSON.stringify(e,null,2)}function pA(e){return Ws(En({},e),{message:e.message,stack:e.stack})}function b1(e){return e instanceof Error?pA(e):e}function Rs(e){return Array.isArray(e)?ed({errors:e.map(t=>b1(t))}):ed({errors:[b1(e)]})}function td(e){return ed(e)}function hA(e,t,n){const r=[];if(!e||!t)return{insertions:r,result:t};let i;try{i=ti(t)}catch{return{insertions:r,result:t}}const o=n||mA,s=new Ea(e);return ln(i,{leave(a){s.leave(a)},enter(a){if(s.enter(a),a.kind==="Field"&&!a.selectionSet){const u=s.getType(),l=kx(yA(u),o);if(l&&a.loc){const c=bA(t,a.loc.start);r.push({index:a.loc.end,string:" "+We(l).replaceAll(`
|
|
169
169
|
`,`
|
|
170
|
-
`+c)})}}}}),{insertions:r,result:gA(t,r)}}function mA(e){if(!("getFields"in e))return[];const t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];const n=[];for(const r of Object.keys(t))Pn(t[r].type)&&n.push(r);return n}function kx(e,t){const n=xt(e);if(!e||Pn(e))return;const r=t(n);if(!(!Array.isArray(r)||r.length===0||!("getFields"in n)))return{kind:C.SELECTION_SET,selections:r.map(i=>{const o=n.getFields()[i],s=o?o.type:null;return{kind:C.FIELD,name:{kind:C.NAME,value:i},selectionSet:kx(s,t)}})}}function gA(e,t){if(t.length===0)return e;let n="",r=0;for(const{index:i,string:o}of t)n+=e.slice(r,i)+o,r=i;return n+=e.slice(r),n}function bA(e,t){let n=t,r=t;for(;n;){const i=e.charCodeAt(n-1);if(i===10||i===13||i===8232||i===8233)break;n--,i!==9&&i!==11&&i!==12&&i!==32&&i!==160&&(r=n)}return e.slice(n,r)}function yA(e){if(e)return e}function vA(e,t){var n;const r=new Map,i=[];for(const o of e)if(o.kind==="Field"){const s=t(o),a=r.get(s);if((n=o.directives)!=null&&n.length){const u=En({},o);i.push(u)}else if(a!=null&&a.selectionSet&&o.selectionSet)a.selectionSet.selections=[...a.selectionSet.selections,...o.selectionSet.selections];else if(!a){const u=En({},o);r.set(s,u),i.push(u)}}else i.push(o);return i}function Dx(e,t,n){var r;const i=n?xt(n).name:null,o=[],s=[];for(let a of t){if(a.kind==="FragmentSpread"){const u=a.name.value;if(!a.directives||a.directives.length===0){if(s.includes(u))continue;s.push(u)}const l=e[a.name.value];if(l){const{typeCondition:c,directives:f,selectionSet:d}=l;a={kind:C.INLINE_FRAGMENT,typeCondition:c,directives:f,selectionSet:d}}}if(a.kind===C.INLINE_FRAGMENT&&(!a.directives||((r=a.directives)==null?void 0:r.length)===0)){const u=a.typeCondition?a.typeCondition.name.value:null;if(!u||u===i){o.push(...Dx(e,a.selectionSet.selections,n));continue}}o.push(a)}return o}function xA(e,t){const n=t?new Ea(t):null,r=Object.create(null);for(const s of e.definitions)s.kind===C.FRAGMENT_DEFINITION&&(r[s.name.value]=s);const i={SelectionSet(s){const a=n?n.getParentType():null;let{selections:u}=s;return u=Dx(r,u,a),Ws(En({},s),{selections:u})},FragmentDefinition(){return null}},o=ln(e,n?Pl(n,i):i);return ln(o,{SelectionSet(s){let{selections:a}=s;return a=vA(a,u=>u.alias?u.alias.value:u.name.value),Ws(En({},s),{selections:a})},FragmentDefinition(){return null}})}function EA(e,t,n){if(!n||n.length<1)return;const r=n.map(i=>{var o;return(o=i.name)==null?void 0:o.value});if(t&&r.includes(t))return t;if(t&&e){const i=e.map(o=>{var s;return(s=o.name)==null?void 0:s.value}).indexOf(t);if(i!==-1&&i<r.length)return r[i]}return r[0]}function wA(e,t){return t instanceof DOMException&&(t.code===22||t.code===1014||t.name==="QuotaExceededError"||t.name==="NS_ERROR_DOM_QUOTA_REACHED")&&e.length!==0}class _A{constructor(t){t?this.storage=t:t===null?this.storage=null:typeof window>"u"?this.storage=null:this.storage={getItem:localStorage.getItem.bind(localStorage),setItem:localStorage.setItem.bind(localStorage),removeItem:localStorage.removeItem.bind(localStorage),get length(){let n=0;for(const r in localStorage)r.indexOf(`${Xa}:`)===0&&(n+=1);return n},clear(){for(const n in localStorage)n.indexOf(`${Xa}:`)===0&&localStorage.removeItem(n)}}}get(t){if(!this.storage)return null;const n=`${Xa}:${t}`,r=this.storage.getItem(n);return r==="null"||r==="undefined"?(this.storage.removeItem(n),null):r||null}set(t,n){let r=!1,i=null;if(this.storage){const o=`${Xa}:${t}`;if(n)try{this.storage.setItem(o,n)}catch(s){i=s instanceof Error?s:new Error(`${s}`),r=wA(this.storage,s)}else this.storage.removeItem(o)}return{isQuotaError:r,error:i}}clear(){this.storage&&this.storage.clear()}}const Xa="graphiql";class y1{constructor(t,n,r=null){this.key=t,this.storage=n,this.maxSize=r,this.items=this.fetchAll()}get length(){return this.items.length}contains(t){return this.items.some(n=>n.query===t.query&&n.variables===t.variables&&n.headers===t.headers&&n.operationName===t.operationName)}edit(t,n){if(typeof n=="number"&&this.items[n]){const i=this.items[n];if(i.query===t.query&&i.variables===t.variables&&i.headers===t.headers&&i.operationName===t.operationName){this.items.splice(n,1,t),this.save();return}}const r=this.items.findIndex(i=>i.query===t.query&&i.variables===t.variables&&i.headers===t.headers&&i.operationName===t.operationName);r!==-1&&(this.items.splice(r,1,t),this.save())}delete(t){const n=this.items.findIndex(r=>r.query===t.query&&r.variables===t.variables&&r.headers===t.headers&&r.operationName===t.operationName);n!==-1&&(this.items.splice(n,1),this.save())}fetchRecent(){return this.items.at(-1)}fetchAll(){const t=this.storage.get(this.key);return t?JSON.parse(t)[this.key]:[]}push(t){const n=[...this.items,t];this.maxSize&&n.length>this.maxSize&&n.shift();for(let r=0;r<5;r++){const i=this.storage.set(this.key,JSON.stringify({[this.key]:n}));if(!(i!=null&&i.error))this.items=n;else if(i.isQuotaError&&this.maxSize)n.shift();else return}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}const SA=1e5;let TA=class{constructor(t,n){this.storage=t,this.maxHistoryLength=n,this.updateHistory=({query:r,variables:i,headers:o,operationName:s})=>{if(!this.shouldSaveQuery(r,i,o,this.history.fetchRecent()))return;this.history.push({query:r,variables:i,headers:o,operationName:s});const a=this.history.items,u=this.favorite.items;this.queries=a.concat(u)},this.deleteHistory=({query:r,variables:i,headers:o,operationName:s,favorite:a},u=!1)=>{function l(c){const f=c.items.find(d=>d.query===r&&d.variables===i&&d.headers===o&&d.operationName===s);f&&c.delete(f)}(a||u)&&l(this.favorite),(!a||u)&&l(this.history),this.queries=[...this.history.items,...this.favorite.items]},this.history=new y1("queries",this.storage,this.maxHistoryLength),this.favorite=new y1("favorites",this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}shouldSaveQuery(t,n,r,i){if(!t)return!1;try{ti(t)}catch{return!1}return t.length>SA?!1:i?!(JSON.stringify(t)===JSON.stringify(i.query)&&(JSON.stringify(n)===JSON.stringify(i.variables)&&(JSON.stringify(r)===JSON.stringify(i.headers)||r&&!i.headers)||n&&!i.variables)):!0}toggleFavorite({query:t,variables:n,headers:r,operationName:i,label:o,favorite:s}){const a={query:t,variables:n,headers:r,operationName:i,label:o};s?(a.favorite=!1,this.favorite.delete(a),this.history.push(a)):(a.favorite=!0,this.favorite.push(a),this.history.delete(a)),this.queries=[...this.history.items,...this.favorite.items]}editLabel({query:t,variables:n,headers:r,operationName:i,label:o,favorite:s},a){const u={query:t,variables:n,headers:r,operationName:i,label:o};s?this.favorite.edit(Ws(En({},u),{favorite:s}),a):this.history.edit(u,a),this.queries=[...this.history.items,...this.favorite.items]}};function AA({defaultQuery:e,defaultHeaders:t,headers:n,query:r,variables:i,defaultTabs:o=[{query:r??e,variables:i,headers:n??t}],shouldPersistHeaders:s,storage:a}){const u=a.get(dt.tabs);try{if(!u)throw new Error("Storage for tabs is empty");const l=JSON.parse(u),c=s?n:void 0;if(kA(l)){const f=Zu({query:r,variables:i,headers:c});let d=-1;for(let p=0;p<l.tabs.length;p++){const m=l.tabs[p];m.hash=Zu({query:m.query,variables:m.variables,headers:m.headers}),m.hash===f&&(d=p)}if(d>=0)l.activeTabIndex=d;else{const p=r?u0(r):null;l.tabs.push({id:Nx(),hash:f,title:p||l0,query:r,variables:i,headers:n,operationName:p,response:null}),l.activeTabIndex=l.tabs.length-1}return l}throw new Error("Storage for tabs is invalid")}catch{return{activeTabIndex:0,tabs:o.map(Cx)}}}function kA(e){return e&&typeof e=="object"&&!Array.isArray(e)&&CA(e,"activeTabIndex")&&"tabs"in e&&Array.isArray(e.tabs)&&e.tabs.every(DA)}function DA(e){return e&&typeof e=="object"&&!Array.isArray(e)&&v1(e,"id")&&v1(e,"title")&&ds(e,"query")&&ds(e,"variables")&&ds(e,"headers")&&ds(e,"operationName")&&ds(e,"response")}function CA(e,t){return t in e&&typeof e[t]=="number"}function v1(e,t){return t in e&&typeof e[t]=="string"}function ds(e,t){return t in e&&(typeof e[t]=="string"||e[t]===null)}function x1(e,t=!1){return JSON.stringify(e,(n,r)=>n==="hash"||n==="response"||!t&&n==="headers"?null:r)}function Cx({query:e=null,variables:t=null,headers:n=null}={}){const r=e?u0(e):null;return{id:Nx(),hash:Zu({query:e,variables:t,headers:n}),title:r||l0,query:e,variables:t,headers:n,operationName:r,response:null}}function E1(e,t){return{...e,tabs:e.tabs.map((n,r)=>{if(r!==e.activeTabIndex)return n;const i={...n,...t};return{...i,hash:Zu(i),title:i.operationName||(i.query?u0(i.query):void 0)||l0}})}}function Nx(){const e=()=>Math.floor((1+Math.random())*65536).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function Zu(e){return[e.query??"",e.variables??"",e.headers??""].join("|")}function u0(e){const n=/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e);return n?.[2]??null}function NA(e){const t=e.get(dt.tabs);if(t){const n=JSON.parse(t);e.set(dt.tabs,JSON.stringify(n,(r,i)=>r==="headers"?null:i))}}const l0="<untitled>",c0=e=>t=>Iv(e,t&&t2(t));async function RA(){const{MouseTargetFactory:e}=await mr(async()=>{const{MouseTargetFactory:n}=await import("./mouseTarget-DxlEpFaz.js").then(r=>r.g5);return{MouseTargetFactory:n}},__vite__mapDeps([4,1,2]),import.meta.url),t=e._doHitTestWithCaretPositionFromPoint;e._doHitTestWithCaretPositionFromPoint=(...n)=>{const[r,i]=n;return r.viewDomNode.ownerDocument.caretPositionFromPoint(i.clientX,i.clientY)?t(...n):{type:0}}}const Bl=bp((e,t)=>({actions:{async initialize(){if(!!t().monaco)return;const[r,{initializeMode:i}]=await Promise.all([mr(()=>import("./monaco-editor-CQ6Pm7Hi.js").then(s=>s.b),__vite__mapDeps([5,1,2,4,6]),import.meta.url),mr(()=>import("./lite-C-Ikw2GQ.js"),__vite__mapDeps([7,1,2,5,4,6]),import.meta.url)]);globalThis.__MONACO=r,r.languages.json.jsonDefaults.setDiagnosticsOptions(e2),r.editor.defineTheme(qf.dark,zm.dark),r.editor.defineTheme(qf.light,zm.light),navigator.userAgent.includes("Firefox/")&&RA();const o=i({diagnosticSettings:Uf});e({monaco:r,monacoGraphQL:o})}}})),ns=c0(Bl);function qo(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,t(...r)},e)}}function Rx(e,t,n){const r=me.c(10),{updateActiveTabValues:i}=Cr();let o;r[0]!==n?(o=c=>({editor:c[n==="variables"?"variableEditor":"headerEditor"],storage:c.storage}),r[0]=n,r[1]=o):o=r[1];const{editor:s,storage:a}=Dt(o);let u,l;r[2]!==e||r[3]!==s||r[4]!==a||r[5]!==t||r[6]!==n||r[7]!==i?(u=()=>{if(!s)return;const c=qo(500,m=>{t!==null&&a.set(t,m)}),f=qo(100,m=>{i({[n]:m})}),d=m=>{const b=s.getValue();c(b),f(b),e?.(b)},p=s.getModel().onDidChangeContent(d);return()=>{p.dispose()}},l=[e,s,t,n,i,a],r[2]=e,r[3]=s,r[4]=a,r[5]=t,r[6]=n,r[7]=i,r[8]=u,r[9]=l):(u=r[8],l=r[9]),h.useEffect(u,l)}const FA=e=>{const t=me.c(12);let n;t[0]!==e?(n=p=>p[`${e}Editor`],t[0]=e,t[1]=n):n=t[1];const r=Dt(n),[i,o]=h.useState("");let s;t[2]!==r?(s=r?.getModel(),t[2]=r,t[3]=s):s=t[3];const a=s;let u,l;t[4]!==a?(u=()=>{if(!a)return;const p=function(){o(a.getValue())},m=a.onDidChangeContent(p);return p(),()=>{m.dispose()}},l=[a],t[4]=a,t[5]=u,t[6]=l):(u=t[5],l=t[6]),h.useEffect(u,l);let c;t[7]!==a?(c=function(m){a.setValue(m)},t[7]=a,t[8]=c):c=t[8];const f=c;let d;return t[9]!==f||t[10]!==i?(d=[i,f],t[9]=f,t[10]=i,t[11]=d):d=t[11],d},IA=()=>FA("query");function LA(e){const t=me.c(12),[n,r]=e;let i;t[0]!==n?(i={pending:null,last:n},t[0]=n,t[1]=i):i=t[1];const o=h.useRef(i),[s,a]=h.useState(n);let u,l;t[2]!==s||t[3]!==r||t[4]!==n?(u=()=>{if(o.current.last!==n){if(o.current.last=n,o.current.pending===null){a(n);return}if(o.current.pending===n){o.current.pending=null,n!==s&&(o.current.pending=s,r(s));return}o.current.pending=null,a(n)}},l=[n,s,r],t[2]=s,t[3]=r,t[4]=n,t[5]=u,t[6]=l):(u=t[5],l=t[6]),h.useEffect(u,l);let c;t[7]!==r?(c=p=>{a(p),o.current.pending===null&&o.current.last!==p&&(o.current.pending=p,r(p))},t[7]=r,t[8]=c):c=t[8];const f=c;let d;return t[9]!==f||t[10]!==s?(d=[s,f],t[9]=f,t[10]=s,t[11]=d):d=t[11],d}const w1=(e,t)=>{const n=me.c(4),r=h.useRef(!1);let i,o;n[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>()=>{r.current=!1},o=[],n[0]=i,n[1]=o):(i=n[0],o=n[1]),h.useEffect(i,o);let s;n[2]!==e?(s=()=>{if(r.current)return e();r.current=!0},n[2]=e,n[3]=s):s=n[3],h.useEffect(s,t)},OA=e=>()=>e;function PA(e,t=!1){const n=e.length;let r=0,i="",o=0,s=16,a=0,u=0,l=0,c=0,f=0;function d(E,_){let S=0,T=0;for(;S<E;){let k=e.charCodeAt(r);if(k>=48&&k<=57)T=T*16+k-48;else if(k>=65&&k<=70)T=T*16+k-65+10;else if(k>=97&&k<=102)T=T*16+k-97+10;else break;r++,S++}return S<E&&(T=-1),T}function p(E){r=E,i="",o=0,s=16,f=0}function m(){let E=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&fo(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&fo(e.charCodeAt(r)))for(r++;r<e.length&&fo(e.charCodeAt(r));)r++;else return f=3,e.substring(E,r);let _=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&fo(e.charCodeAt(r))){for(r++;r<e.length&&fo(e.charCodeAt(r));)r++;_=r}else f=3;return e.substring(E,_)}function b(){let E="",_=r;for(;;){if(r>=n){E+=e.substring(_,r),f=2;break}const S=e.charCodeAt(r);if(S===34){E+=e.substring(_,r),r++;break}if(S===92){if(E+=e.substring(_,r),r++,r>=n){f=2;break}switch(e.charCodeAt(r++)){case 34:E+='"';break;case 92:E+="\\";break;case 47:E+="/";break;case 98:E+="\b";break;case 102:E+="\f";break;case 110:E+=`
|
|
170
|
+
`+c)})}}}}),{insertions:r,result:gA(t,r)}}function mA(e){if(!("getFields"in e))return[];const t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];const n=[];for(const r of Object.keys(t))Pn(t[r].type)&&n.push(r);return n}function kx(e,t){const n=xt(e);if(!e||Pn(e))return;const r=t(n);if(!(!Array.isArray(r)||r.length===0||!("getFields"in n)))return{kind:C.SELECTION_SET,selections:r.map(i=>{const o=n.getFields()[i],s=o?o.type:null;return{kind:C.FIELD,name:{kind:C.NAME,value:i},selectionSet:kx(s,t)}})}}function gA(e,t){if(t.length===0)return e;let n="",r=0;for(const{index:i,string:o}of t)n+=e.slice(r,i)+o,r=i;return n+=e.slice(r),n}function bA(e,t){let n=t,r=t;for(;n;){const i=e.charCodeAt(n-1);if(i===10||i===13||i===8232||i===8233)break;n--,i!==9&&i!==11&&i!==12&&i!==32&&i!==160&&(r=n)}return e.slice(n,r)}function yA(e){if(e)return e}function vA(e,t){var n;const r=new Map,i=[];for(const o of e)if(o.kind==="Field"){const s=t(o),a=r.get(s);if((n=o.directives)!=null&&n.length){const u=En({},o);i.push(u)}else if(a!=null&&a.selectionSet&&o.selectionSet)a.selectionSet.selections=[...a.selectionSet.selections,...o.selectionSet.selections];else if(!a){const u=En({},o);r.set(s,u),i.push(u)}}else i.push(o);return i}function Dx(e,t,n){var r;const i=n?xt(n).name:null,o=[],s=[];for(let a of t){if(a.kind==="FragmentSpread"){const u=a.name.value;if(!a.directives||a.directives.length===0){if(s.includes(u))continue;s.push(u)}const l=e[a.name.value];if(l){const{typeCondition:c,directives:f,selectionSet:d}=l;a={kind:C.INLINE_FRAGMENT,typeCondition:c,directives:f,selectionSet:d}}}if(a.kind===C.INLINE_FRAGMENT&&(!a.directives||((r=a.directives)==null?void 0:r.length)===0)){const u=a.typeCondition?a.typeCondition.name.value:null;if(!u||u===i){o.push(...Dx(e,a.selectionSet.selections,n));continue}}o.push(a)}return o}function xA(e,t){const n=t?new Ea(t):null,r=Object.create(null);for(const s of e.definitions)s.kind===C.FRAGMENT_DEFINITION&&(r[s.name.value]=s);const i={SelectionSet(s){const a=n?n.getParentType():null;let{selections:u}=s;return u=Dx(r,u,a),Ws(En({},s),{selections:u})},FragmentDefinition(){return null}},o=ln(e,n?Pl(n,i):i);return ln(o,{SelectionSet(s){let{selections:a}=s;return a=vA(a,u=>u.alias?u.alias.value:u.name.value),Ws(En({},s),{selections:a})},FragmentDefinition(){return null}})}function EA(e,t,n){if(!n||n.length<1)return;const r=n.map(i=>{var o;return(o=i.name)==null?void 0:o.value});if(t&&r.includes(t))return t;if(t&&e){const i=e.map(o=>{var s;return(s=o.name)==null?void 0:s.value}).indexOf(t);if(i!==-1&&i<r.length)return r[i]}return r[0]}function wA(e,t){return t instanceof DOMException&&(t.code===22||t.code===1014||t.name==="QuotaExceededError"||t.name==="NS_ERROR_DOM_QUOTA_REACHED")&&e.length!==0}class _A{constructor(t){t?this.storage=t:t===null?this.storage=null:typeof window>"u"?this.storage=null:this.storage={getItem:localStorage.getItem.bind(localStorage),setItem:localStorage.setItem.bind(localStorage),removeItem:localStorage.removeItem.bind(localStorage),get length(){let n=0;for(const r in localStorage)r.indexOf(`${Xa}:`)===0&&(n+=1);return n},clear(){for(const n in localStorage)n.indexOf(`${Xa}:`)===0&&localStorage.removeItem(n)}}}get(t){if(!this.storage)return null;const n=`${Xa}:${t}`,r=this.storage.getItem(n);return r==="null"||r==="undefined"?(this.storage.removeItem(n),null):r||null}set(t,n){let r=!1,i=null;if(this.storage){const o=`${Xa}:${t}`;if(n)try{this.storage.setItem(o,n)}catch(s){i=s instanceof Error?s:new Error(`${s}`),r=wA(this.storage,s)}else this.storage.removeItem(o)}return{isQuotaError:r,error:i}}clear(){this.storage&&this.storage.clear()}}const Xa="graphiql";class y1{constructor(t,n,r=null){this.key=t,this.storage=n,this.maxSize=r,this.items=this.fetchAll()}get length(){return this.items.length}contains(t){return this.items.some(n=>n.query===t.query&&n.variables===t.variables&&n.headers===t.headers&&n.operationName===t.operationName)}edit(t,n){if(typeof n=="number"&&this.items[n]){const i=this.items[n];if(i.query===t.query&&i.variables===t.variables&&i.headers===t.headers&&i.operationName===t.operationName){this.items.splice(n,1,t),this.save();return}}const r=this.items.findIndex(i=>i.query===t.query&&i.variables===t.variables&&i.headers===t.headers&&i.operationName===t.operationName);r!==-1&&(this.items.splice(r,1,t),this.save())}delete(t){const n=this.items.findIndex(r=>r.query===t.query&&r.variables===t.variables&&r.headers===t.headers&&r.operationName===t.operationName);n!==-1&&(this.items.splice(n,1),this.save())}fetchRecent(){return this.items.at(-1)}fetchAll(){const t=this.storage.get(this.key);return t?JSON.parse(t)[this.key]:[]}push(t){const n=[...this.items,t];this.maxSize&&n.length>this.maxSize&&n.shift();for(let r=0;r<5;r++){const i=this.storage.set(this.key,JSON.stringify({[this.key]:n}));if(!(i!=null&&i.error))this.items=n;else if(i.isQuotaError&&this.maxSize)n.shift();else return}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}}const SA=1e5;let TA=class{constructor(t,n){this.storage=t,this.maxHistoryLength=n,this.updateHistory=({query:r,variables:i,headers:o,operationName:s})=>{if(!this.shouldSaveQuery(r,i,o,this.history.fetchRecent()))return;this.history.push({query:r,variables:i,headers:o,operationName:s});const a=this.history.items,u=this.favorite.items;this.queries=a.concat(u)},this.deleteHistory=({query:r,variables:i,headers:o,operationName:s,favorite:a},u=!1)=>{function l(c){const f=c.items.find(d=>d.query===r&&d.variables===i&&d.headers===o&&d.operationName===s);f&&c.delete(f)}(a||u)&&l(this.favorite),(!a||u)&&l(this.history),this.queries=[...this.history.items,...this.favorite.items]},this.history=new y1("queries",this.storage,this.maxHistoryLength),this.favorite=new y1("favorites",this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}shouldSaveQuery(t,n,r,i){if(!t)return!1;try{ti(t)}catch{return!1}return t.length>SA?!1:i?!(JSON.stringify(t)===JSON.stringify(i.query)&&(JSON.stringify(n)===JSON.stringify(i.variables)&&(JSON.stringify(r)===JSON.stringify(i.headers)||r&&!i.headers)||n&&!i.variables)):!0}toggleFavorite({query:t,variables:n,headers:r,operationName:i,label:o,favorite:s}){const a={query:t,variables:n,headers:r,operationName:i,label:o};s?(a.favorite=!1,this.favorite.delete(a),this.history.push(a)):(a.favorite=!0,this.favorite.push(a),this.history.delete(a)),this.queries=[...this.history.items,...this.favorite.items]}editLabel({query:t,variables:n,headers:r,operationName:i,label:o,favorite:s},a){const u={query:t,variables:n,headers:r,operationName:i,label:o};s?this.favorite.edit(Ws(En({},u),{favorite:s}),a):this.history.edit(u,a),this.queries=[...this.history.items,...this.favorite.items]}};function AA({defaultQuery:e,defaultHeaders:t,headers:n,query:r,variables:i,defaultTabs:o=[{query:r??e,variables:i,headers:n??t}],shouldPersistHeaders:s,storage:a}){const u=a.get(dt.tabs);try{if(!u)throw new Error("Storage for tabs is empty");const l=JSON.parse(u),c=s?n:void 0;if(kA(l)){const f=Zu({query:r,variables:i,headers:c});let d=-1;for(let p=0;p<l.tabs.length;p++){const m=l.tabs[p];m.hash=Zu({query:m.query,variables:m.variables,headers:m.headers}),m.hash===f&&(d=p)}if(d>=0)l.activeTabIndex=d;else{const p=r?u0(r):null;l.tabs.push({id:Nx(),hash:f,title:p||l0,query:r,variables:i,headers:n,operationName:p,response:null}),l.activeTabIndex=l.tabs.length-1}return l}throw new Error("Storage for tabs is invalid")}catch{return{activeTabIndex:0,tabs:o.map(Cx)}}}function kA(e){return e&&typeof e=="object"&&!Array.isArray(e)&&CA(e,"activeTabIndex")&&"tabs"in e&&Array.isArray(e.tabs)&&e.tabs.every(DA)}function DA(e){return e&&typeof e=="object"&&!Array.isArray(e)&&v1(e,"id")&&v1(e,"title")&&ds(e,"query")&&ds(e,"variables")&&ds(e,"headers")&&ds(e,"operationName")&&ds(e,"response")}function CA(e,t){return t in e&&typeof e[t]=="number"}function v1(e,t){return t in e&&typeof e[t]=="string"}function ds(e,t){return t in e&&(typeof e[t]=="string"||e[t]===null)}function x1(e,t=!1){return JSON.stringify(e,(n,r)=>n==="hash"||n==="response"||!t&&n==="headers"?null:r)}function Cx({query:e=null,variables:t=null,headers:n=null}={}){const r=e?u0(e):null;return{id:Nx(),hash:Zu({query:e,variables:t,headers:n}),title:r||l0,query:e,variables:t,headers:n,operationName:r,response:null}}function E1(e,t){return{...e,tabs:e.tabs.map((n,r)=>{if(r!==e.activeTabIndex)return n;const i={...n,...t};return{...i,hash:Zu(i),title:i.operationName||(i.query?u0(i.query):void 0)||l0}})}}function Nx(){const e=()=>Math.floor((1+Math.random())*65536).toString(16).slice(1);return`${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function Zu(e){return[e.query??"",e.variables??"",e.headers??""].join("|")}function u0(e){const n=/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e);return n?.[2]??null}function NA(e){const t=e.get(dt.tabs);if(t){const n=JSON.parse(t);e.set(dt.tabs,JSON.stringify(n,(r,i)=>r==="headers"?null:i))}}const l0="<untitled>",c0=e=>t=>Iv(e,t&&t2(t));async function RA(){const{MouseTargetFactory:e}=await mr(async()=>{const{MouseTargetFactory:n}=await import("./mouseTarget-txK7mk_L.js").then(r=>r.g5);return{MouseTargetFactory:n}},__vite__mapDeps([4,1,2]),import.meta.url),t=e._doHitTestWithCaretPositionFromPoint;e._doHitTestWithCaretPositionFromPoint=(...n)=>{const[r,i]=n;return r.viewDomNode.ownerDocument.caretPositionFromPoint(i.clientX,i.clientY)?t(...n):{type:0}}}const Bl=bp((e,t)=>({actions:{async initialize(){if(!!t().monaco)return;const[r,{initializeMode:i}]=await Promise.all([mr(()=>import("./monaco-editor-BH4xSgKB.js").then(s=>s.b),__vite__mapDeps([5,1,2,4,6]),import.meta.url),mr(()=>import("./lite-BBz66z5Z.js"),__vite__mapDeps([7,1,2,5,4,6]),import.meta.url)]);globalThis.__MONACO=r,r.languages.json.jsonDefaults.setDiagnosticsOptions(e2),r.editor.defineTheme(qf.dark,zm.dark),r.editor.defineTheme(qf.light,zm.light),navigator.userAgent.includes("Firefox/")&&RA();const o=i({diagnosticSettings:Uf});e({monaco:r,monacoGraphQL:o})}}})),ns=c0(Bl);function qo(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,t(...r)},e)}}function Rx(e,t,n){const r=me.c(10),{updateActiveTabValues:i}=Cr();let o;r[0]!==n?(o=c=>({editor:c[n==="variables"?"variableEditor":"headerEditor"],storage:c.storage}),r[0]=n,r[1]=o):o=r[1];const{editor:s,storage:a}=Dt(o);let u,l;r[2]!==e||r[3]!==s||r[4]!==a||r[5]!==t||r[6]!==n||r[7]!==i?(u=()=>{if(!s)return;const c=qo(500,m=>{t!==null&&a.set(t,m)}),f=qo(100,m=>{i({[n]:m})}),d=m=>{const b=s.getValue();c(b),f(b),e?.(b)},p=s.getModel().onDidChangeContent(d);return()=>{p.dispose()}},l=[e,s,t,n,i,a],r[2]=e,r[3]=s,r[4]=a,r[5]=t,r[6]=n,r[7]=i,r[8]=u,r[9]=l):(u=r[8],l=r[9]),h.useEffect(u,l)}const FA=e=>{const t=me.c(12);let n;t[0]!==e?(n=p=>p[`${e}Editor`],t[0]=e,t[1]=n):n=t[1];const r=Dt(n),[i,o]=h.useState("");let s;t[2]!==r?(s=r?.getModel(),t[2]=r,t[3]=s):s=t[3];const a=s;let u,l;t[4]!==a?(u=()=>{if(!a)return;const p=function(){o(a.getValue())},m=a.onDidChangeContent(p);return p(),()=>{m.dispose()}},l=[a],t[4]=a,t[5]=u,t[6]=l):(u=t[5],l=t[6]),h.useEffect(u,l);let c;t[7]!==a?(c=function(m){a.setValue(m)},t[7]=a,t[8]=c):c=t[8];const f=c;let d;return t[9]!==f||t[10]!==i?(d=[i,f],t[9]=f,t[10]=i,t[11]=d):d=t[11],d},IA=()=>FA("query");function LA(e){const t=me.c(12),[n,r]=e;let i;t[0]!==n?(i={pending:null,last:n},t[0]=n,t[1]=i):i=t[1];const o=h.useRef(i),[s,a]=h.useState(n);let u,l;t[2]!==s||t[3]!==r||t[4]!==n?(u=()=>{if(o.current.last!==n){if(o.current.last=n,o.current.pending===null){a(n);return}if(o.current.pending===n){o.current.pending=null,n!==s&&(o.current.pending=s,r(s));return}o.current.pending=null,a(n)}},l=[n,s,r],t[2]=s,t[3]=r,t[4]=n,t[5]=u,t[6]=l):(u=t[5],l=t[6]),h.useEffect(u,l);let c;t[7]!==r?(c=p=>{a(p),o.current.pending===null&&o.current.last!==p&&(o.current.pending=p,r(p))},t[7]=r,t[8]=c):c=t[8];const f=c;let d;return t[9]!==f||t[10]!==s?(d=[s,f],t[9]=f,t[10]=s,t[11]=d):d=t[11],d}const w1=(e,t)=>{const n=me.c(4),r=h.useRef(!1);let i,o;n[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>()=>{r.current=!1},o=[],n[0]=i,n[1]=o):(i=n[0],o=n[1]),h.useEffect(i,o);let s;n[2]!==e?(s=()=>{if(r.current)return e();r.current=!0},n[2]=e,n[3]=s):s=n[3],h.useEffect(s,t)},OA=e=>()=>e;function PA(e,t=!1){const n=e.length;let r=0,i="",o=0,s=16,a=0,u=0,l=0,c=0,f=0;function d(E,_){let S=0,T=0;for(;S<E;){let k=e.charCodeAt(r);if(k>=48&&k<=57)T=T*16+k-48;else if(k>=65&&k<=70)T=T*16+k-65+10;else if(k>=97&&k<=102)T=T*16+k-97+10;else break;r++,S++}return S<E&&(T=-1),T}function p(E){r=E,i="",o=0,s=16,f=0}function m(){let E=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&fo(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&fo(e.charCodeAt(r)))for(r++;r<e.length&&fo(e.charCodeAt(r));)r++;else return f=3,e.substring(E,r);let _=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&fo(e.charCodeAt(r))){for(r++;r<e.length&&fo(e.charCodeAt(r));)r++;_=r}else f=3;return e.substring(E,_)}function b(){let E="",_=r;for(;;){if(r>=n){E+=e.substring(_,r),f=2;break}const S=e.charCodeAt(r);if(S===34){E+=e.substring(_,r),r++;break}if(S===92){if(E+=e.substring(_,r),r++,r>=n){f=2;break}switch(e.charCodeAt(r++)){case 34:E+='"';break;case 92:E+="\\";break;case 47:E+="/";break;case 98:E+="\b";break;case 102:E+="\f";break;case 110:E+=`
|
|
171
171
|
`;break;case 114:E+="\r";break;case 116:E+=" ";break;case 117:const k=d(4);k>=0?E+=String.fromCharCode(k):f=4;break;default:f=5}_=r;continue}if(S>=0&&S<=31)if(ps(S)){E+=e.substring(_,r),f=2;break}else f=6;r++}return E}function y(){if(i="",f=0,o=r,u=a,c=l,r>=n)return o=n,s=17;let E=e.charCodeAt(r);if(Ac(E)){do r++,i+=String.fromCharCode(E),E=e.charCodeAt(r);while(Ac(E));return s=15}if(ps(E))return r++,i+=String.fromCharCode(E),E===13&&e.charCodeAt(r)===10&&(r++,i+=`
|
|
172
172
|
`),a++,l=r,s=14;switch(E){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,i=b(),s=10;case 47:const _=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!ps(e.charCodeAt(r));)r++;return i=e.substring(_,r),s=12}if(e.charCodeAt(r+1)===42){r+=2;const S=n-1;let T=!1;for(;r<S;){const k=e.charCodeAt(r);if(k===42&&e.charCodeAt(r+1)===47){r+=2,T=!0;break}r++,ps(k)&&(k===13&&e.charCodeAt(r)===10&&r++,a++,l=r)}return T||(r++,f=1),i=e.substring(_,r),s=13}return i+=String.fromCharCode(E),r++,s=16;case 45:if(i+=String.fromCharCode(E),r++,r===n||!fo(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=m(),s=11;default:for(;r<n&&x(E);)r++,E=e.charCodeAt(r);if(o!==r){switch(i=e.substring(o,r),i){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return i+=String.fromCharCode(E),r++,s=16}}function x(E){if(Ac(E)||ps(E))return!1;switch(E){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function w(){let E;do E=y();while(E>=12&&E<=15);return E}return{setPosition:p,getPosition:()=>r,scan:t?w:y,getToken:()=>s,getTokenValue:()=>i,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>u,getTokenStartCharacter:()=>o-c,getTokenError:()=>f}}function Ac(e){return e===32||e===9}function ps(e){return e===10||e===13}function fo(e){return e>=48&&e<=57}var _1;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(_1||(_1={}));new Array(20).fill(0).map((e,t)=>" ".repeat(t));const po=200;new Array(po).fill(0).map((e,t)=>`
|
|
173
173
|
`+" ".repeat(t)),new Array(po).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(po).fill(0).map((e,t)=>`\r
|
|
174
174
|
`+" ".repeat(t)),new Array(po).fill(0).map((e,t)=>`
|
|
175
175
|
`+" ".repeat(t)),new Array(po).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(po).fill(0).map((e,t)=>`\r
|
|
176
|
-
`+" ".repeat(t));var Ju;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Ju||(Ju={}));function MA(e,t=[],n=Ju.DEFAULT){let r=null,i=[];const o=[];function s(u){Array.isArray(i)?i.push(u):r!==null&&(i[r]=u)}return $A(e,{onObjectBegin:()=>{const u={};s(u),o.push(i),i=u,r=null},onObjectProperty:u=>{r=u},onObjectEnd:()=>{i=o.pop()},onArrayBegin:()=>{const u=[];s(u),o.push(i),i=u,r=null},onArrayEnd:()=>{i=o.pop()},onLiteralValue:s,onError:(u,l,c)=>{t.push({error:u,offset:l,length:c})}},n),i[0]}function $A(e,t,n=Ju.DEFAULT){const r=PA(e,!1),i=[];let o=0;function s(D){return D?()=>o===0&&D(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function a(D){return D?$=>o===0&&D($,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function u(D){return D?$=>o===0&&D($,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function l(D){return D?()=>{o>0?o++:D(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice())===!1&&(o=1)}:()=>!0}function c(D){return D?()=>{o>0&&o--,o===0&&D(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:()=>!0}const f=l(t.onObjectBegin),d=u(t.onObjectProperty),p=c(t.onObjectEnd),m=l(t.onArrayBegin),b=c(t.onArrayEnd),y=u(t.onLiteralValue),x=a(t.onSeparator),w=s(t.onComment),E=a(t.onError),_=n&&n.disallowComments,S=n&&n.allowTrailingComma;function T(){for(;;){const D=r.scan();switch(r.getTokenError()){case 4:k(14);break;case 5:k(15);break;case 3:k(13);break;case 1:_||k(11);break;case 2:k(12);break;case 6:k(16);break}switch(D){case 12:case 13:_?k(10):w();break;case 16:k(1);break;case 15:case 14:break;default:return D}}}function k(D,$=[],B=[]){if(E(D),$.length+B.length>0){let W=r.getToken();for(;W!==17;){if($.indexOf(W)!==-1){T();break}else if(B.indexOf(W)!==-1)break;W=T()}}}function M(D){const $=r.getTokenValue();return D?y($):(d($),i.push($)),T(),!0}function N(){switch(r.getToken()){case 11:const D=r.getTokenValue();let $=Number(D);isNaN($)&&(k(2),$=0),y($);break;case 7:y(null);break;case 8:y(!0);break;case 9:y(!1);break;default:return!1}return T(),!0}function U(){return r.getToken()!==10?(k(3,[],[2,5]),!1):(M(!1),r.getToken()===6?(x(":"),T(),L()||k(4,[],[2,5])):k(5,[],[2,5]),i.pop(),!0)}function q(){f(),T();let D=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(D||k(4,[],[]),x(","),T(),r.getToken()===2&&S)break}else D&&k(6,[],[]);U()||k(4,[],[2,5]),D=!0}return p(),r.getToken()!==2?k(7,[2],[]):T(),!0}function G(){m(),T();let D=!0,$=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if($||k(4,[],[]),x(","),T(),r.getToken()===4&&S)break}else $&&k(6,[],[]);D?(i.push(0),D=!1):i[i.length-1]++,L()||k(4,[],[4,5]),$=!0}return b(),D||i.pop(),r.getToken()!==4?k(8,[4],[]):T(),!0}function L(){switch(r.getToken()){case 3:return G();case 1:return q();case 10:return M(!0);default:return N()}}return T(),r.getToken()===17?n.allowEmptyContent?!0:(k(4,[],[]),!1):L()?(r.getToken()!==17&&k(9,[],[]),!0):(k(4,[],[]),!1)}var S1;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(S1||(S1={}));var T1;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(T1||(T1={}));const VA=MA;var A1;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(A1||(A1={}));function jA(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}async function k1(e){const[t,{printers:n},{parsers:r}]=await Promise.all([mr(()=>import("./standalone-Cva4pL7v.js"),[],import.meta.url),mr(()=>import("./estree-CwOGYdhi.js"),[],import.meta.url),mr(()=>import("./babel-sNEik07f.js").then(i=>i.b),__vite__mapDeps([8,1,2]),import.meta.url)]);return t.format(e,{parser:"jsonc",plugins:[{printers:n},{parsers:r}],printWidth:0})}const BA=new Intl.ListFormat("en",{style:"long",type:"conjunction"});function UA(e){const t=[],n=VA(e,t,{allowTrailingComma:!0,allowEmptyContent:!0});if(t.length){const r=BA.format(t.map(({error:i})=>jA(i)));throw new SyntaxError(r)}return n}function nd(e=""){let t;try{t=UA(e)}catch(r){throw new Error(`are invalid JSON: ${r instanceof Error?r.message:r}.`)}if(!t)return;if(!(typeof t=="object"&&!Array.isArray(t)))throw new TypeError("are not a JSON object.");return t}const qA=e=>(t,n)=>{function r({query:s,variables:a,headers:u,response:l}){const{queryEditor:c,variableEditor:f,headerEditor:d,responseEditor:p,defaultHeaders:m}=n();c?.setValue(s??""),f?.setValue(a??""),d?.setValue(u??m??""),p?.setValue(l??"")}function i(s){const{queryEditor:a,variableEditor:u,headerEditor:l,responseEditor:c,operationName:f}=n();return E1(s,{query:a?.getValue()??null,variables:u?.getValue()??null,headers:l?.getValue()??null,response:c?.getValue()??null,operationName:f??null})}return{...e,actions:{addTab(){t(({defaultHeaders:s,onTabChange:a,tabs:u,activeTabIndex:l,actions:c})=>{const f=i({tabs:u,activeTabIndex:l}),d={tabs:[...f.tabs,Cx({headers:s})],activeTabIndex:f.tabs.length};return c.storeTabs(d),r(d.tabs[d.activeTabIndex]),a?.(d),d})},changeTab(s){t(({actions:a,onTabChange:u,tabs:l})=>{a.stop();const c={tabs:l,activeTabIndex:s};return a.storeTabs(c),r(c.tabs[c.activeTabIndex]),u?.(c),c})},moveTab(s){t(({onTabChange:a,actions:u,tabs:l,activeTabIndex:c})=>{const f=l[c],d={tabs:s,activeTabIndex:s.indexOf(f)};return u.storeTabs(d),r(d.tabs[d.activeTabIndex]),a?.(d),d})},closeTab(s){t(({activeTabIndex:a,onTabChange:u,actions:l,tabs:c})=>{a===s&&l.stop();const f={tabs:c.filter((d,p)=>s!==p),activeTabIndex:Math.max(a-1,0)};return l.storeTabs(f),r(f.tabs[f.activeTabIndex]),u?.(f),f})},updateActiveTabValues(s){t(({activeTabIndex:a,tabs:u,onTabChange:l,actions:c})=>{const f=E1({tabs:u,activeTabIndex:a},s);return c.storeTabs(f),l?.(f),f})},setEditor({headerEditor:s,queryEditor:a,responseEditor:u,variableEditor:l}){const c=Object.entries({headerEditor:s,queryEditor:a,responseEditor:u,variableEditor:l}).filter(([d,p])=>p),f=Object.fromEntries(c);t(f)},setOperationName(s){t(({onEditOperationName:a,actions:u})=>(u.updateActiveTabValues({operationName:s}),a?.(s),{operationName:s}))},setShouldPersistHeaders(s){const{headerEditor:a,tabs:u,activeTabIndex:l,storage:c}=n();if(s){c.set(dt.headers,a?.getValue()??"");const f=x1({tabs:u,activeTabIndex:l},!0);c.set(dt.tabs,f)}else c.set(dt.headers,""),NA(c);c.set(dt.persistHeaders,s.toString()),t({shouldPersistHeaders:s})},storeTabs({tabs:s,activeTabIndex:a}){const{shouldPersistHeaders:u,storage:l}=n();qo(500,f=>{l.set(dt.tabs,f)})(x1({tabs:s,activeTabIndex:a},u))},setOperationFacts({documentAST:s,operationName:a,operations:u}){t({documentAST:s,operationName:a,operations:u})},async copyQuery(){const{queryEditor:s,onCopyQuery:a}=n();if(!s)return;const u=s.getValue();a?.(u);try{await navigator.clipboard.writeText(u)}catch(l){console.warn("Failed to copy query!",l)}},async prettifyEditors(){const{queryEditor:s,headerEditor:a,variableEditor:u,onPrettifyQuery:l}=n();if(u)try{const c=u.getValue(),f=await k1(c);f!==c&&u.setValue(f)}catch(c){console.warn("Parsing variables JSON failed, skip prettification.",c)}if(a)try{const c=a.getValue(),f=await k1(c);f!==c&&a.setValue(f)}catch(c){console.warn("Parsing headers JSON failed, skip prettification.",c)}if(s)try{const c=s.getValue(),f=await l(c);f!==c&&s.setValue(f)}catch(c){console.warn("Parsing query failed, skip prettification.",c)}},mergeQuery(){const{queryEditor:s,documentAST:a,schema:u}=n(),l=s?.getValue();!a||!l||s.setValue(We(xA(a,u)))}}}};var D1;(function(e){function t(n){return typeof n=="string"}e.is=t})(D1||(D1={}));var rd;(function(e){function t(n){return typeof n=="string"}e.is=t})(rd||(rd={}));var C1;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(C1||(C1={}));var Ku;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(Ku||(Ku={}));var Wn;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=Ku.MAX_VALUE),i===Number.MAX_VALUE&&(i=Ku.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&z.uinteger(i.line)&&z.uinteger(i.character)}e.is=n})(Wn||(Wn={}));var Et;(function(e){function t(r,i,o,s){if(z.uinteger(r)&&z.uinteger(i)&&z.uinteger(o)&&z.uinteger(s))return{start:Wn.create(r,i),end:Wn.create(o,s)};if(Wn.is(r)&&Wn.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${o}, ${s}]`)}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&Wn.is(i.start)&&Wn.is(i.end)}e.is=n})(Et||(Et={}));var el;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&Et.is(i.range)&&(z.string(i.uri)||z.undefined(i.uri))}e.is=n})(el||(el={}));var N1;(function(e){function t(r,i,o,s){return{targetUri:r,targetRange:i,targetSelectionRange:o,originSelectionRange:s}}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&Et.is(i.targetRange)&&z.string(i.targetUri)&&Et.is(i.targetSelectionRange)&&(Et.is(i.originSelectionRange)||z.undefined(i.originSelectionRange))}e.is=n})(N1||(N1={}));var id;(function(e){function t(r,i,o,s){return{red:r,green:i,blue:o,alpha:s}}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&z.numberRange(i.red,0,1)&&z.numberRange(i.green,0,1)&&z.numberRange(i.blue,0,1)&&z.numberRange(i.alpha,0,1)}e.is=n})(id||(id={}));var R1;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&Et.is(i.range)&&id.is(i.color)}e.is=n})(R1||(R1={}));var F1;(function(e){function t(r,i,o){return{label:r,textEdit:i,additionalTextEdits:o}}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&z.string(i.label)&&(z.undefined(i.textEdit)||zo.is(i))&&(z.undefined(i.additionalTextEdits)||z.typedArray(i.additionalTextEdits,zo.is))}e.is=n})(F1||(F1={}));var I1;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(I1||(I1={}));var L1;(function(e){function t(r,i,o,s,a,u){const l={startLine:r,endLine:i};return z.defined(o)&&(l.startCharacter=o),z.defined(s)&&(l.endCharacter=s),z.defined(a)&&(l.kind=a),z.defined(u)&&(l.collapsedText=u),l}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&z.uinteger(i.startLine)&&z.uinteger(i.startLine)&&(z.undefined(i.startCharacter)||z.uinteger(i.startCharacter))&&(z.undefined(i.endCharacter)||z.uinteger(i.endCharacter))&&(z.undefined(i.kind)||z.string(i.kind))}e.is=n})(L1||(L1={}));var od;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&el.is(i.location)&&z.string(i.message)}e.is=n})(od||(od={}));var O1;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(O1||(O1={}));var P1;(function(e){e.Unnecessary=1,e.Deprecated=2})(P1||(P1={}));var M1;(function(e){function t(n){const r=n;return z.objectLiteral(r)&&z.string(r.href)}e.is=t})(M1||(M1={}));var tl;(function(e){function t(r,i,o,s,a,u){let l={range:r,message:i};return z.defined(o)&&(l.severity=o),z.defined(s)&&(l.code=s),z.defined(a)&&(l.source=a),z.defined(u)&&(l.relatedInformation=u),l}e.create=t;function n(r){var i;let o=r;return z.defined(o)&&Et.is(o.range)&&z.string(o.message)&&(z.number(o.severity)||z.undefined(o.severity))&&(z.integer(o.code)||z.string(o.code)||z.undefined(o.code))&&(z.undefined(o.codeDescription)||z.string((i=o.codeDescription)===null||i===void 0?void 0:i.href))&&(z.string(o.source)||z.undefined(o.source))&&(z.undefined(o.relatedInformation)||z.typedArray(o.relatedInformation,od.is))}e.is=n})(tl||(tl={}));var Ho;(function(e){function t(r,i,...o){let s={title:r,command:i};return z.defined(o)&&o.length>0&&(s.arguments=o),s}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.title)&&z.string(i.command)}e.is=n})(Ho||(Ho={}));var zo;(function(e){function t(o,s){return{range:o,newText:s}}e.replace=t;function n(o,s){return{range:{start:o,end:o},newText:s}}e.insert=n;function r(o){return{range:o,newText:""}}e.del=r;function i(o){const s=o;return z.objectLiteral(s)&&z.string(s.newText)&&Et.is(s.range)}e.is=i})(zo||(zo={}));var sd;(function(e){function t(r,i,o){const s={label:r};return i!==void 0&&(s.needsConfirmation=i),o!==void 0&&(s.description=o),s}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&z.string(i.label)&&(z.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(z.string(i.description)||i.description===void 0)}e.is=n})(sd||(sd={}));var Wo;(function(e){function t(n){const r=n;return z.string(r)}e.is=t})(Wo||(Wo={}));var $1;(function(e){function t(o,s,a){return{range:o,newText:s,annotationId:a}}e.replace=t;function n(o,s,a){return{range:{start:o,end:o},newText:s,annotationId:a}}e.insert=n;function r(o,s){return{range:o,newText:"",annotationId:s}}e.del=r;function i(o){const s=o;return zo.is(s)&&(sd.is(s.annotationId)||Wo.is(s.annotationId))}e.is=i})($1||($1={}));var ad;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&dd.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(ad||(ad={}));var ud;(function(e){function t(r,i,o){let s={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function n(r){let i=r;return i&&i.kind==="create"&&z.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||z.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||z.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Wo.is(i.annotationId))}e.is=n})(ud||(ud={}));var ld;(function(e){function t(r,i,o,s){let a={kind:"rename",oldUri:r,newUri:i};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(a.options=o),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){let i=r;return i&&i.kind==="rename"&&z.string(i.oldUri)&&z.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||z.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||z.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Wo.is(i.annotationId))}e.is=n})(ld||(ld={}));var cd;(function(e){function t(r,i,o){let s={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function n(r){let i=r;return i&&i.kind==="delete"&&z.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||z.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||z.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Wo.is(i.annotationId))}e.is=n})(cd||(cd={}));var fd;(function(e){function t(n){let r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>z.string(i.kind)?ud.is(i)||ld.is(i)||cd.is(i):ad.is(i)))}e.is=t})(fd||(fd={}));var V1;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.uri)}e.is=n})(V1||(V1={}));var j1;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.uri)&&z.integer(i.version)}e.is=n})(j1||(j1={}));var dd;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.uri)&&(i.version===null||z.integer(i.version))}e.is=n})(dd||(dd={}));var B1;(function(e){function t(r,i,o,s){return{uri:r,languageId:i,version:o,text:s}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.uri)&&z.string(i.languageId)&&z.integer(i.version)&&z.string(i.text)}e.is=n})(B1||(B1={}));var pd;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(pd||(pd={}));var Ys;(function(e){function t(n){const r=n;return z.objectLiteral(n)&&pd.is(r.kind)&&z.string(r.value)}e.is=t})(Ys||(Ys={}));var U1;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(U1||(U1={}));var q1;(function(e){e.PlainText=1,e.Snippet=2})(q1||(q1={}));var H1;(function(e){e.Deprecated=1})(H1||(H1={}));var z1;(function(e){function t(r,i,o){return{newText:r,insert:i,replace:o}}e.create=t;function n(r){const i=r;return i&&z.string(i.newText)&&Et.is(i.insert)&&Et.is(i.replace)}e.is=n})(z1||(z1={}));var W1;(function(e){e.asIs=1,e.adjustIndentation=2})(W1||(W1={}));var G1;(function(e){function t(n){const r=n;return r&&(z.string(r.detail)||r.detail===void 0)&&(z.string(r.description)||r.description===void 0)}e.is=t})(G1||(G1={}));var Q1;(function(e){function t(n){return{label:n}}e.create=t})(Q1||(Q1={}));var Y1;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(Y1||(Y1={}));var nl;(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){const i=r;return z.string(i)||z.objectLiteral(i)&&z.string(i.language)&&z.string(i.value)}e.is=n})(nl||(nl={}));var X1;(function(e){function t(n){let r=n;return!!r&&z.objectLiteral(r)&&(Ys.is(r.contents)||nl.is(r.contents)||z.typedArray(r.contents,nl.is))&&(n.range===void 0||Et.is(n.range))}e.is=t})(X1||(X1={}));var Z1;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(Z1||(Z1={}));var J1;(function(e){function t(n,r,...i){let o={label:n};return z.defined(r)&&(o.documentation=r),z.defined(i)?o.parameters=i:o.parameters=[],o}e.create=t})(J1||(J1={}));var K1;(function(e){e.Text=1,e.Read=2,e.Write=3})(K1||(K1={}));var eg;(function(e){function t(n,r){let i={range:n};return z.number(r)&&(i.kind=r),i}e.create=t})(eg||(eg={}));var tg;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(tg||(tg={}));var ng;(function(e){e.Deprecated=1})(ng||(ng={}));var rg;(function(e){function t(n,r,i,o,s){let a={name:n,kind:r,location:{uri:o,range:i}};return s&&(a.containerName=s),a}e.create=t})(rg||(rg={}));var ig;(function(e){function t(n,r,i,o){return o!==void 0?{name:n,kind:r,location:{uri:i,range:o}}:{name:n,kind:r,location:{uri:i}}}e.create=t})(ig||(ig={}));var og;(function(e){function t(r,i,o,s,a,u){let l={name:r,detail:i,kind:o,range:s,selectionRange:a};return u!==void 0&&(l.children=u),l}e.create=t;function n(r){let i=r;return i&&z.string(i.name)&&z.number(i.kind)&&Et.is(i.range)&&Et.is(i.selectionRange)&&(i.detail===void 0||z.string(i.detail))&&(i.deprecated===void 0||z.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(og||(og={}));var sg;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(sg||(sg={}));var rl;(function(e){e.Invoked=1,e.Automatic=2})(rl||(rl={}));var ag;(function(e){function t(r,i,o){let s={diagnostics:r};return i!=null&&(s.only=i),o!=null&&(s.triggerKind=o),s}e.create=t;function n(r){let i=r;return z.defined(i)&&z.typedArray(i.diagnostics,tl.is)&&(i.only===void 0||z.typedArray(i.only,z.string))&&(i.triggerKind===void 0||i.triggerKind===rl.Invoked||i.triggerKind===rl.Automatic)}e.is=n})(ag||(ag={}));var ug;(function(e){function t(r,i,o){let s={title:r},a=!0;return typeof i=="string"?(a=!1,s.kind=i):Ho.is(i)?s.command=i:s.edit=i,a&&o!==void 0&&(s.kind=o),s}e.create=t;function n(r){let i=r;return i&&z.string(i.title)&&(i.diagnostics===void 0||z.typedArray(i.diagnostics,tl.is))&&(i.kind===void 0||z.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Ho.is(i.command))&&(i.isPreferred===void 0||z.boolean(i.isPreferred))&&(i.edit===void 0||fd.is(i.edit))}e.is=n})(ug||(ug={}));var lg;(function(e){function t(r,i){let o={range:r};return z.defined(i)&&(o.data=i),o}e.create=t;function n(r){let i=r;return z.defined(i)&&Et.is(i.range)&&(z.undefined(i.command)||Ho.is(i.command))}e.is=n})(lg||(lg={}));var cg;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.uinteger(i.tabSize)&&z.boolean(i.insertSpaces)}e.is=n})(cg||(cg={}));var fg;(function(e){function t(r,i,o){return{range:r,target:i,data:o}}e.create=t;function n(r){let i=r;return z.defined(i)&&Et.is(i.range)&&(z.undefined(i.target)||z.string(i.target))}e.is=n})(fg||(fg={}));var dg;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&Et.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(dg||(dg={}));var pg;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(pg||(pg={}));var hg;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(hg||(hg={}));var mg;(function(e){function t(n){const r=n;return z.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=t})(mg||(mg={}));var gg;(function(e){function t(r,i){return{range:r,text:i}}e.create=t;function n(r){const i=r;return i!=null&&Et.is(i.range)&&z.string(i.text)}e.is=n})(gg||(gg={}));var bg;(function(e){function t(r,i,o){return{range:r,variableName:i,caseSensitiveLookup:o}}e.create=t;function n(r){const i=r;return i!=null&&Et.is(i.range)&&z.boolean(i.caseSensitiveLookup)&&(z.string(i.variableName)||i.variableName===void 0)}e.is=n})(bg||(bg={}));var yg;(function(e){function t(r,i){return{range:r,expression:i}}e.create=t;function n(r){const i=r;return i!=null&&Et.is(i.range)&&(z.string(i.expression)||i.expression===void 0)}e.is=n})(yg||(yg={}));var vg;(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){const i=r;return z.defined(i)&&Et.is(r.stoppedLocation)}e.is=n})(vg||(vg={}));var hd;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(hd||(hd={}));var md;(function(e){function t(r){return{value:r}}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&(i.tooltip===void 0||z.string(i.tooltip)||Ys.is(i.tooltip))&&(i.location===void 0||el.is(i.location))&&(i.command===void 0||Ho.is(i.command))}e.is=n})(md||(md={}));var xg;(function(e){function t(r,i,o){const s={position:r,label:i};return o!==void 0&&(s.kind=o),s}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&Wn.is(i.position)&&(z.string(i.label)||z.typedArray(i.label,md.is))&&(i.kind===void 0||hd.is(i.kind))&&i.textEdits===void 0||z.typedArray(i.textEdits,zo.is)&&(i.tooltip===void 0||z.string(i.tooltip)||Ys.is(i.tooltip))&&(i.paddingLeft===void 0||z.boolean(i.paddingLeft))&&(i.paddingRight===void 0||z.boolean(i.paddingRight))}e.is=n})(xg||(xg={}));var Eg;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(Eg||(Eg={}));var wg;(function(e){function t(n,r,i,o){return{insertText:n,filterText:r,range:i,command:o}}e.create=t})(wg||(wg={}));var _g;(function(e){function t(n){return{items:n}}e.create=t})(_g||(_g={}));var Sg;(function(e){e.Invoked=0,e.Automatic=1})(Sg||(Sg={}));var Tg;(function(e){function t(n,r){return{range:n,text:r}}e.create=t})(Tg||(Tg={}));var Ag;(function(e){function t(n,r){return{triggerKind:n,selectedCompletionInfo:r}}e.create=t})(Ag||(Ag={}));var kg;(function(e){function t(n){const r=n;return z.objectLiteral(r)&&rd.is(r.uri)&&z.string(r.name)}e.is=t})(kg||(kg={}));var Dg;(function(e){function t(o,s,a,u){return new HA(o,s,a,u)}e.create=t;function n(o){let s=o;return!!(z.defined(s)&&z.string(s.uri)&&(z.undefined(s.languageId)||z.string(s.languageId))&&z.uinteger(s.lineCount)&&z.func(s.getText)&&z.func(s.positionAt)&&z.func(s.offsetAt))}e.is=n;function r(o,s){let a=o.getText(),u=i(s,(c,f)=>{let d=c.range.start.line-f.range.start.line;return d===0?c.range.start.character-f.range.start.character:d}),l=a.length;for(let c=u.length-1;c>=0;c--){let f=u[c],d=o.offsetAt(f.range.start),p=o.offsetAt(f.range.end);if(p<=l)a=a.substring(0,d)+f.newText+a.substring(p,a.length);else throw new Error("Overlapping edit");l=d}return a}e.applyEdits=r;function i(o,s){if(o.length<=1)return o;const a=o.length/2|0,u=o.slice(0,a),l=o.slice(a);i(u,s),i(l,s);let c=0,f=0,d=0;for(;c<u.length&&f<l.length;)s(u[c],l[f])<=0?o[d++]=u[c++]:o[d++]=l[f++];for(;c<u.length;)o[d++]=u[c++];for(;f<l.length;)o[d++]=l[f++];return o}})(Dg||(Dg={}));class HA{constructor(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content}update(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],n=this._content,r=!0;for(let i=0;i<n.length;i++){r&&(t.push(i),r=!1);let o=n.charAt(i);r=o==="\r"||o===`
|
|
176
|
+
`+" ".repeat(t));var Ju;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Ju||(Ju={}));function MA(e,t=[],n=Ju.DEFAULT){let r=null,i=[];const o=[];function s(u){Array.isArray(i)?i.push(u):r!==null&&(i[r]=u)}return $A(e,{onObjectBegin:()=>{const u={};s(u),o.push(i),i=u,r=null},onObjectProperty:u=>{r=u},onObjectEnd:()=>{i=o.pop()},onArrayBegin:()=>{const u=[];s(u),o.push(i),i=u,r=null},onArrayEnd:()=>{i=o.pop()},onLiteralValue:s,onError:(u,l,c)=>{t.push({error:u,offset:l,length:c})}},n),i[0]}function $A(e,t,n=Ju.DEFAULT){const r=PA(e,!1),i=[];let o=0;function s(D){return D?()=>o===0&&D(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function a(D){return D?$=>o===0&&D($,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function u(D){return D?$=>o===0&&D($,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice()):()=>!0}function l(D){return D?()=>{o>0?o++:D(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>i.slice())===!1&&(o=1)}:()=>!0}function c(D){return D?()=>{o>0&&o--,o===0&&D(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:()=>!0}const f=l(t.onObjectBegin),d=u(t.onObjectProperty),p=c(t.onObjectEnd),m=l(t.onArrayBegin),b=c(t.onArrayEnd),y=u(t.onLiteralValue),x=a(t.onSeparator),w=s(t.onComment),E=a(t.onError),_=n&&n.disallowComments,S=n&&n.allowTrailingComma;function T(){for(;;){const D=r.scan();switch(r.getTokenError()){case 4:k(14);break;case 5:k(15);break;case 3:k(13);break;case 1:_||k(11);break;case 2:k(12);break;case 6:k(16);break}switch(D){case 12:case 13:_?k(10):w();break;case 16:k(1);break;case 15:case 14:break;default:return D}}}function k(D,$=[],B=[]){if(E(D),$.length+B.length>0){let W=r.getToken();for(;W!==17;){if($.indexOf(W)!==-1){T();break}else if(B.indexOf(W)!==-1)break;W=T()}}}function M(D){const $=r.getTokenValue();return D?y($):(d($),i.push($)),T(),!0}function N(){switch(r.getToken()){case 11:const D=r.getTokenValue();let $=Number(D);isNaN($)&&(k(2),$=0),y($);break;case 7:y(null);break;case 8:y(!0);break;case 9:y(!1);break;default:return!1}return T(),!0}function U(){return r.getToken()!==10?(k(3,[],[2,5]),!1):(M(!1),r.getToken()===6?(x(":"),T(),L()||k(4,[],[2,5])):k(5,[],[2,5]),i.pop(),!0)}function q(){f(),T();let D=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(D||k(4,[],[]),x(","),T(),r.getToken()===2&&S)break}else D&&k(6,[],[]);U()||k(4,[],[2,5]),D=!0}return p(),r.getToken()!==2?k(7,[2],[]):T(),!0}function G(){m(),T();let D=!0,$=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if($||k(4,[],[]),x(","),T(),r.getToken()===4&&S)break}else $&&k(6,[],[]);D?(i.push(0),D=!1):i[i.length-1]++,L()||k(4,[],[4,5]),$=!0}return b(),D||i.pop(),r.getToken()!==4?k(8,[4],[]):T(),!0}function L(){switch(r.getToken()){case 3:return G();case 1:return q();case 10:return M(!0);default:return N()}}return T(),r.getToken()===17?n.allowEmptyContent?!0:(k(4,[],[]),!1):L()?(r.getToken()!==17&&k(9,[],[]),!0):(k(4,[],[]),!1)}var S1;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(S1||(S1={}));var T1;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(T1||(T1={}));const VA=MA;var A1;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(A1||(A1={}));function jA(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}async function k1(e){const[t,{printers:n},{parsers:r}]=await Promise.all([mr(()=>import("./standalone-Cva4pL7v.js"),[],import.meta.url),mr(()=>import("./estree-CwOGYdhi.js"),[],import.meta.url),mr(()=>import("./babel-yl1c6pTl.js").then(i=>i.b),__vite__mapDeps([8,1,2]),import.meta.url)]);return t.format(e,{parser:"jsonc",plugins:[{printers:n},{parsers:r}],printWidth:0})}const BA=new Intl.ListFormat("en",{style:"long",type:"conjunction"});function UA(e){const t=[],n=VA(e,t,{allowTrailingComma:!0,allowEmptyContent:!0});if(t.length){const r=BA.format(t.map(({error:i})=>jA(i)));throw new SyntaxError(r)}return n}function nd(e=""){let t;try{t=UA(e)}catch(r){throw new Error(`are invalid JSON: ${r instanceof Error?r.message:r}.`)}if(!t)return;if(!(typeof t=="object"&&!Array.isArray(t)))throw new TypeError("are not a JSON object.");return t}const qA=e=>(t,n)=>{function r({query:s,variables:a,headers:u,response:l}){const{queryEditor:c,variableEditor:f,headerEditor:d,responseEditor:p,defaultHeaders:m}=n();c?.setValue(s??""),f?.setValue(a??""),d?.setValue(u??m??""),p?.setValue(l??"")}function i(s){const{queryEditor:a,variableEditor:u,headerEditor:l,responseEditor:c,operationName:f}=n();return E1(s,{query:a?.getValue()??null,variables:u?.getValue()??null,headers:l?.getValue()??null,response:c?.getValue()??null,operationName:f??null})}return{...e,actions:{addTab(){t(({defaultHeaders:s,onTabChange:a,tabs:u,activeTabIndex:l,actions:c})=>{const f=i({tabs:u,activeTabIndex:l}),d={tabs:[...f.tabs,Cx({headers:s})],activeTabIndex:f.tabs.length};return c.storeTabs(d),r(d.tabs[d.activeTabIndex]),a?.(d),d})},changeTab(s){t(({actions:a,onTabChange:u,tabs:l})=>{a.stop();const c={tabs:l,activeTabIndex:s};return a.storeTabs(c),r(c.tabs[c.activeTabIndex]),u?.(c),c})},moveTab(s){t(({onTabChange:a,actions:u,tabs:l,activeTabIndex:c})=>{const f=l[c],d={tabs:s,activeTabIndex:s.indexOf(f)};return u.storeTabs(d),r(d.tabs[d.activeTabIndex]),a?.(d),d})},closeTab(s){t(({activeTabIndex:a,onTabChange:u,actions:l,tabs:c})=>{a===s&&l.stop();const f={tabs:c.filter((d,p)=>s!==p),activeTabIndex:Math.max(a-1,0)};return l.storeTabs(f),r(f.tabs[f.activeTabIndex]),u?.(f),f})},updateActiveTabValues(s){t(({activeTabIndex:a,tabs:u,onTabChange:l,actions:c})=>{const f=E1({tabs:u,activeTabIndex:a},s);return c.storeTabs(f),l?.(f),f})},setEditor({headerEditor:s,queryEditor:a,responseEditor:u,variableEditor:l}){const c=Object.entries({headerEditor:s,queryEditor:a,responseEditor:u,variableEditor:l}).filter(([d,p])=>p),f=Object.fromEntries(c);t(f)},setOperationName(s){t(({onEditOperationName:a,actions:u})=>(u.updateActiveTabValues({operationName:s}),a?.(s),{operationName:s}))},setShouldPersistHeaders(s){const{headerEditor:a,tabs:u,activeTabIndex:l,storage:c}=n();if(s){c.set(dt.headers,a?.getValue()??"");const f=x1({tabs:u,activeTabIndex:l},!0);c.set(dt.tabs,f)}else c.set(dt.headers,""),NA(c);c.set(dt.persistHeaders,s.toString()),t({shouldPersistHeaders:s})},storeTabs({tabs:s,activeTabIndex:a}){const{shouldPersistHeaders:u,storage:l}=n();qo(500,f=>{l.set(dt.tabs,f)})(x1({tabs:s,activeTabIndex:a},u))},setOperationFacts({documentAST:s,operationName:a,operations:u}){t({documentAST:s,operationName:a,operations:u})},async copyQuery(){const{queryEditor:s,onCopyQuery:a}=n();if(!s)return;const u=s.getValue();a?.(u);try{await navigator.clipboard.writeText(u)}catch(l){console.warn("Failed to copy query!",l)}},async prettifyEditors(){const{queryEditor:s,headerEditor:a,variableEditor:u,onPrettifyQuery:l}=n();if(u)try{const c=u.getValue(),f=await k1(c);f!==c&&u.setValue(f)}catch(c){console.warn("Parsing variables JSON failed, skip prettification.",c)}if(a)try{const c=a.getValue(),f=await k1(c);f!==c&&a.setValue(f)}catch(c){console.warn("Parsing headers JSON failed, skip prettification.",c)}if(s)try{const c=s.getValue(),f=await l(c);f!==c&&s.setValue(f)}catch(c){console.warn("Parsing query failed, skip prettification.",c)}},mergeQuery(){const{queryEditor:s,documentAST:a,schema:u}=n(),l=s?.getValue();!a||!l||s.setValue(We(xA(a,u)))}}}};var D1;(function(e){function t(n){return typeof n=="string"}e.is=t})(D1||(D1={}));var rd;(function(e){function t(n){return typeof n=="string"}e.is=t})(rd||(rd={}));var C1;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(C1||(C1={}));var Ku;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(n){return typeof n=="number"&&e.MIN_VALUE<=n&&n<=e.MAX_VALUE}e.is=t})(Ku||(Ku={}));var Wn;(function(e){function t(r,i){return r===Number.MAX_VALUE&&(r=Ku.MAX_VALUE),i===Number.MAX_VALUE&&(i=Ku.MAX_VALUE),{line:r,character:i}}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&z.uinteger(i.line)&&z.uinteger(i.character)}e.is=n})(Wn||(Wn={}));var Et;(function(e){function t(r,i,o,s){if(z.uinteger(r)&&z.uinteger(i)&&z.uinteger(o)&&z.uinteger(s))return{start:Wn.create(r,i),end:Wn.create(o,s)};if(Wn.is(r)&&Wn.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${o}, ${s}]`)}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&Wn.is(i.start)&&Wn.is(i.end)}e.is=n})(Et||(Et={}));var el;(function(e){function t(r,i){return{uri:r,range:i}}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&Et.is(i.range)&&(z.string(i.uri)||z.undefined(i.uri))}e.is=n})(el||(el={}));var N1;(function(e){function t(r,i,o,s){return{targetUri:r,targetRange:i,targetSelectionRange:o,originSelectionRange:s}}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&Et.is(i.targetRange)&&z.string(i.targetUri)&&Et.is(i.targetSelectionRange)&&(Et.is(i.originSelectionRange)||z.undefined(i.originSelectionRange))}e.is=n})(N1||(N1={}));var id;(function(e){function t(r,i,o,s){return{red:r,green:i,blue:o,alpha:s}}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&z.numberRange(i.red,0,1)&&z.numberRange(i.green,0,1)&&z.numberRange(i.blue,0,1)&&z.numberRange(i.alpha,0,1)}e.is=n})(id||(id={}));var R1;(function(e){function t(r,i){return{range:r,color:i}}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&Et.is(i.range)&&id.is(i.color)}e.is=n})(R1||(R1={}));var F1;(function(e){function t(r,i,o){return{label:r,textEdit:i,additionalTextEdits:o}}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&z.string(i.label)&&(z.undefined(i.textEdit)||zo.is(i))&&(z.undefined(i.additionalTextEdits)||z.typedArray(i.additionalTextEdits,zo.is))}e.is=n})(F1||(F1={}));var I1;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(I1||(I1={}));var L1;(function(e){function t(r,i,o,s,a,u){const l={startLine:r,endLine:i};return z.defined(o)&&(l.startCharacter=o),z.defined(s)&&(l.endCharacter=s),z.defined(a)&&(l.kind=a),z.defined(u)&&(l.collapsedText=u),l}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&z.uinteger(i.startLine)&&z.uinteger(i.startLine)&&(z.undefined(i.startCharacter)||z.uinteger(i.startCharacter))&&(z.undefined(i.endCharacter)||z.uinteger(i.endCharacter))&&(z.undefined(i.kind)||z.string(i.kind))}e.is=n})(L1||(L1={}));var od;(function(e){function t(r,i){return{location:r,message:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&el.is(i.location)&&z.string(i.message)}e.is=n})(od||(od={}));var O1;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(O1||(O1={}));var P1;(function(e){e.Unnecessary=1,e.Deprecated=2})(P1||(P1={}));var M1;(function(e){function t(n){const r=n;return z.objectLiteral(r)&&z.string(r.href)}e.is=t})(M1||(M1={}));var tl;(function(e){function t(r,i,o,s,a,u){let l={range:r,message:i};return z.defined(o)&&(l.severity=o),z.defined(s)&&(l.code=s),z.defined(a)&&(l.source=a),z.defined(u)&&(l.relatedInformation=u),l}e.create=t;function n(r){var i;let o=r;return z.defined(o)&&Et.is(o.range)&&z.string(o.message)&&(z.number(o.severity)||z.undefined(o.severity))&&(z.integer(o.code)||z.string(o.code)||z.undefined(o.code))&&(z.undefined(o.codeDescription)||z.string((i=o.codeDescription)===null||i===void 0?void 0:i.href))&&(z.string(o.source)||z.undefined(o.source))&&(z.undefined(o.relatedInformation)||z.typedArray(o.relatedInformation,od.is))}e.is=n})(tl||(tl={}));var Ho;(function(e){function t(r,i,...o){let s={title:r,command:i};return z.defined(o)&&o.length>0&&(s.arguments=o),s}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.title)&&z.string(i.command)}e.is=n})(Ho||(Ho={}));var zo;(function(e){function t(o,s){return{range:o,newText:s}}e.replace=t;function n(o,s){return{range:{start:o,end:o},newText:s}}e.insert=n;function r(o){return{range:o,newText:""}}e.del=r;function i(o){const s=o;return z.objectLiteral(s)&&z.string(s.newText)&&Et.is(s.range)}e.is=i})(zo||(zo={}));var sd;(function(e){function t(r,i,o){const s={label:r};return i!==void 0&&(s.needsConfirmation=i),o!==void 0&&(s.description=o),s}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&z.string(i.label)&&(z.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(z.string(i.description)||i.description===void 0)}e.is=n})(sd||(sd={}));var Wo;(function(e){function t(n){const r=n;return z.string(r)}e.is=t})(Wo||(Wo={}));var $1;(function(e){function t(o,s,a){return{range:o,newText:s,annotationId:a}}e.replace=t;function n(o,s,a){return{range:{start:o,end:o},newText:s,annotationId:a}}e.insert=n;function r(o,s){return{range:o,newText:"",annotationId:s}}e.del=r;function i(o){const s=o;return zo.is(s)&&(sd.is(s.annotationId)||Wo.is(s.annotationId))}e.is=i})($1||($1={}));var ad;(function(e){function t(r,i){return{textDocument:r,edits:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&dd.is(i.textDocument)&&Array.isArray(i.edits)}e.is=n})(ad||(ad={}));var ud;(function(e){function t(r,i,o){let s={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function n(r){let i=r;return i&&i.kind==="create"&&z.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||z.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||z.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Wo.is(i.annotationId))}e.is=n})(ud||(ud={}));var ld;(function(e){function t(r,i,o,s){let a={kind:"rename",oldUri:r,newUri:i};return o!==void 0&&(o.overwrite!==void 0||o.ignoreIfExists!==void 0)&&(a.options=o),s!==void 0&&(a.annotationId=s),a}e.create=t;function n(r){let i=r;return i&&i.kind==="rename"&&z.string(i.oldUri)&&z.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||z.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||z.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Wo.is(i.annotationId))}e.is=n})(ld||(ld={}));var cd;(function(e){function t(r,i,o){let s={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}e.create=t;function n(r){let i=r;return i&&i.kind==="delete"&&z.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||z.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||z.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Wo.is(i.annotationId))}e.is=n})(cd||(cd={}));var fd;(function(e){function t(n){let r=n;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>z.string(i.kind)?ud.is(i)||ld.is(i)||cd.is(i):ad.is(i)))}e.is=t})(fd||(fd={}));var V1;(function(e){function t(r){return{uri:r}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.uri)}e.is=n})(V1||(V1={}));var j1;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.uri)&&z.integer(i.version)}e.is=n})(j1||(j1={}));var dd;(function(e){function t(r,i){return{uri:r,version:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.uri)&&(i.version===null||z.integer(i.version))}e.is=n})(dd||(dd={}));var B1;(function(e){function t(r,i,o,s){return{uri:r,languageId:i,version:o,text:s}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.string(i.uri)&&z.string(i.languageId)&&z.integer(i.version)&&z.string(i.text)}e.is=n})(B1||(B1={}));var pd;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(n){const r=n;return r===e.PlainText||r===e.Markdown}e.is=t})(pd||(pd={}));var Ys;(function(e){function t(n){const r=n;return z.objectLiteral(n)&&pd.is(r.kind)&&z.string(r.value)}e.is=t})(Ys||(Ys={}));var U1;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(U1||(U1={}));var q1;(function(e){e.PlainText=1,e.Snippet=2})(q1||(q1={}));var H1;(function(e){e.Deprecated=1})(H1||(H1={}));var z1;(function(e){function t(r,i,o){return{newText:r,insert:i,replace:o}}e.create=t;function n(r){const i=r;return i&&z.string(i.newText)&&Et.is(i.insert)&&Et.is(i.replace)}e.is=n})(z1||(z1={}));var W1;(function(e){e.asIs=1,e.adjustIndentation=2})(W1||(W1={}));var G1;(function(e){function t(n){const r=n;return r&&(z.string(r.detail)||r.detail===void 0)&&(z.string(r.description)||r.description===void 0)}e.is=t})(G1||(G1={}));var Q1;(function(e){function t(n){return{label:n}}e.create=t})(Q1||(Q1={}));var Y1;(function(e){function t(n,r){return{items:n||[],isIncomplete:!!r}}e.create=t})(Y1||(Y1={}));var nl;(function(e){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function n(r){const i=r;return z.string(i)||z.objectLiteral(i)&&z.string(i.language)&&z.string(i.value)}e.is=n})(nl||(nl={}));var X1;(function(e){function t(n){let r=n;return!!r&&z.objectLiteral(r)&&(Ys.is(r.contents)||nl.is(r.contents)||z.typedArray(r.contents,nl.is))&&(n.range===void 0||Et.is(n.range))}e.is=t})(X1||(X1={}));var Z1;(function(e){function t(n,r){return r?{label:n,documentation:r}:{label:n}}e.create=t})(Z1||(Z1={}));var J1;(function(e){function t(n,r,...i){let o={label:n};return z.defined(r)&&(o.documentation=r),z.defined(i)?o.parameters=i:o.parameters=[],o}e.create=t})(J1||(J1={}));var K1;(function(e){e.Text=1,e.Read=2,e.Write=3})(K1||(K1={}));var eg;(function(e){function t(n,r){let i={range:n};return z.number(r)&&(i.kind=r),i}e.create=t})(eg||(eg={}));var tg;(function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26})(tg||(tg={}));var ng;(function(e){e.Deprecated=1})(ng||(ng={}));var rg;(function(e){function t(n,r,i,o,s){let a={name:n,kind:r,location:{uri:o,range:i}};return s&&(a.containerName=s),a}e.create=t})(rg||(rg={}));var ig;(function(e){function t(n,r,i,o){return o!==void 0?{name:n,kind:r,location:{uri:i,range:o}}:{name:n,kind:r,location:{uri:i}}}e.create=t})(ig||(ig={}));var og;(function(e){function t(r,i,o,s,a,u){let l={name:r,detail:i,kind:o,range:s,selectionRange:a};return u!==void 0&&(l.children=u),l}e.create=t;function n(r){let i=r;return i&&z.string(i.name)&&z.number(i.kind)&&Et.is(i.range)&&Et.is(i.selectionRange)&&(i.detail===void 0||z.string(i.detail))&&(i.deprecated===void 0||z.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}e.is=n})(og||(og={}));var sg;(function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"})(sg||(sg={}));var rl;(function(e){e.Invoked=1,e.Automatic=2})(rl||(rl={}));var ag;(function(e){function t(r,i,o){let s={diagnostics:r};return i!=null&&(s.only=i),o!=null&&(s.triggerKind=o),s}e.create=t;function n(r){let i=r;return z.defined(i)&&z.typedArray(i.diagnostics,tl.is)&&(i.only===void 0||z.typedArray(i.only,z.string))&&(i.triggerKind===void 0||i.triggerKind===rl.Invoked||i.triggerKind===rl.Automatic)}e.is=n})(ag||(ag={}));var ug;(function(e){function t(r,i,o){let s={title:r},a=!0;return typeof i=="string"?(a=!1,s.kind=i):Ho.is(i)?s.command=i:s.edit=i,a&&o!==void 0&&(s.kind=o),s}e.create=t;function n(r){let i=r;return i&&z.string(i.title)&&(i.diagnostics===void 0||z.typedArray(i.diagnostics,tl.is))&&(i.kind===void 0||z.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Ho.is(i.command))&&(i.isPreferred===void 0||z.boolean(i.isPreferred))&&(i.edit===void 0||fd.is(i.edit))}e.is=n})(ug||(ug={}));var lg;(function(e){function t(r,i){let o={range:r};return z.defined(i)&&(o.data=i),o}e.create=t;function n(r){let i=r;return z.defined(i)&&Et.is(i.range)&&(z.undefined(i.command)||Ho.is(i.command))}e.is=n})(lg||(lg={}));var cg;(function(e){function t(r,i){return{tabSize:r,insertSpaces:i}}e.create=t;function n(r){let i=r;return z.defined(i)&&z.uinteger(i.tabSize)&&z.boolean(i.insertSpaces)}e.is=n})(cg||(cg={}));var fg;(function(e){function t(r,i,o){return{range:r,target:i,data:o}}e.create=t;function n(r){let i=r;return z.defined(i)&&Et.is(i.range)&&(z.undefined(i.target)||z.string(i.target))}e.is=n})(fg||(fg={}));var dg;(function(e){function t(r,i){return{range:r,parent:i}}e.create=t;function n(r){let i=r;return z.objectLiteral(i)&&Et.is(i.range)&&(i.parent===void 0||e.is(i.parent))}e.is=n})(dg||(dg={}));var pg;(function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"})(pg||(pg={}));var hg;(function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"})(hg||(hg={}));var mg;(function(e){function t(n){const r=n;return z.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}e.is=t})(mg||(mg={}));var gg;(function(e){function t(r,i){return{range:r,text:i}}e.create=t;function n(r){const i=r;return i!=null&&Et.is(i.range)&&z.string(i.text)}e.is=n})(gg||(gg={}));var bg;(function(e){function t(r,i,o){return{range:r,variableName:i,caseSensitiveLookup:o}}e.create=t;function n(r){const i=r;return i!=null&&Et.is(i.range)&&z.boolean(i.caseSensitiveLookup)&&(z.string(i.variableName)||i.variableName===void 0)}e.is=n})(bg||(bg={}));var yg;(function(e){function t(r,i){return{range:r,expression:i}}e.create=t;function n(r){const i=r;return i!=null&&Et.is(i.range)&&(z.string(i.expression)||i.expression===void 0)}e.is=n})(yg||(yg={}));var vg;(function(e){function t(r,i){return{frameId:r,stoppedLocation:i}}e.create=t;function n(r){const i=r;return z.defined(i)&&Et.is(r.stoppedLocation)}e.is=n})(vg||(vg={}));var hd;(function(e){e.Type=1,e.Parameter=2;function t(n){return n===1||n===2}e.is=t})(hd||(hd={}));var md;(function(e){function t(r){return{value:r}}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&(i.tooltip===void 0||z.string(i.tooltip)||Ys.is(i.tooltip))&&(i.location===void 0||el.is(i.location))&&(i.command===void 0||Ho.is(i.command))}e.is=n})(md||(md={}));var xg;(function(e){function t(r,i,o){const s={position:r,label:i};return o!==void 0&&(s.kind=o),s}e.create=t;function n(r){const i=r;return z.objectLiteral(i)&&Wn.is(i.position)&&(z.string(i.label)||z.typedArray(i.label,md.is))&&(i.kind===void 0||hd.is(i.kind))&&i.textEdits===void 0||z.typedArray(i.textEdits,zo.is)&&(i.tooltip===void 0||z.string(i.tooltip)||Ys.is(i.tooltip))&&(i.paddingLeft===void 0||z.boolean(i.paddingLeft))&&(i.paddingRight===void 0||z.boolean(i.paddingRight))}e.is=n})(xg||(xg={}));var Eg;(function(e){function t(n){return{kind:"snippet",value:n}}e.createSnippet=t})(Eg||(Eg={}));var wg;(function(e){function t(n,r,i,o){return{insertText:n,filterText:r,range:i,command:o}}e.create=t})(wg||(wg={}));var _g;(function(e){function t(n){return{items:n}}e.create=t})(_g||(_g={}));var Sg;(function(e){e.Invoked=0,e.Automatic=1})(Sg||(Sg={}));var Tg;(function(e){function t(n,r){return{range:n,text:r}}e.create=t})(Tg||(Tg={}));var Ag;(function(e){function t(n,r){return{triggerKind:n,selectedCompletionInfo:r}}e.create=t})(Ag||(Ag={}));var kg;(function(e){function t(n){const r=n;return z.objectLiteral(r)&&rd.is(r.uri)&&z.string(r.name)}e.is=t})(kg||(kg={}));var Dg;(function(e){function t(o,s,a,u){return new HA(o,s,a,u)}e.create=t;function n(o){let s=o;return!!(z.defined(s)&&z.string(s.uri)&&(z.undefined(s.languageId)||z.string(s.languageId))&&z.uinteger(s.lineCount)&&z.func(s.getText)&&z.func(s.positionAt)&&z.func(s.offsetAt))}e.is=n;function r(o,s){let a=o.getText(),u=i(s,(c,f)=>{let d=c.range.start.line-f.range.start.line;return d===0?c.range.start.character-f.range.start.character:d}),l=a.length;for(let c=u.length-1;c>=0;c--){let f=u[c],d=o.offsetAt(f.range.start),p=o.offsetAt(f.range.end);if(p<=l)a=a.substring(0,d)+f.newText+a.substring(p,a.length);else throw new Error("Overlapping edit");l=d}return a}e.applyEdits=r;function i(o,s){if(o.length<=1)return o;const a=o.length/2|0,u=o.slice(0,a),l=o.slice(a);i(u,s),i(l,s);let c=0,f=0,d=0;for(;c<u.length&&f<l.length;)s(u[c],l[f])<=0?o[d++]=u[c++]:o[d++]=l[f++];for(;c<u.length;)o[d++]=u[c++];for(;f<l.length;)o[d++]=l[f++];return o}})(Dg||(Dg={}));class HA{constructor(t,n,r,i){this._uri=t,this._languageId=n,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let n=this.offsetAt(t.start),r=this.offsetAt(t.end);return this._content.substring(n,r)}return this._content}update(t,n){this._content=t.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],n=this._content,r=!0;for(let i=0;i<n.length;i++){r&&(t.push(i),r=!1);let o=n.charAt(i);r=o==="\r"||o===`
|
|
177
177
|
`,o==="\r"&&i+1<n.length&&n.charAt(i+1)===`
|
|
178
178
|
`&&i++}r&&n.length>0&&t.push(n.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let n=this.getLineOffsets(),r=0,i=n.length;if(i===0)return Wn.create(0,t);for(;r<i;){let s=Math.floor((r+i)/2);n[s]>t?i=s:r=s+1}let o=r-1;return Wn.create(o,t-n[o])}offsetAt(t){let n=this.getLineOffsets();if(t.line>=n.length)return this._content.length;if(t.line<0)return 0;let r=n[t.line],i=t.line+1<n.length?n[t.line+1]:this._content.length;return Math.max(Math.min(r+t.character,i),r)}get lineCount(){return this.getLineOffsets().length}}var z;(function(e){const t=Object.prototype.toString;function n(p){return typeof p<"u"}e.defined=n;function r(p){return typeof p>"u"}e.undefined=r;function i(p){return p===!0||p===!1}e.boolean=i;function o(p){return t.call(p)==="[object String]"}e.string=o;function s(p){return t.call(p)==="[object Number]"}e.number=s;function a(p,m,b){return t.call(p)==="[object Number]"&&m<=p&&p<=b}e.numberRange=a;function u(p){return t.call(p)==="[object Number]"&&-2147483648<=p&&p<=2147483647}e.integer=u;function l(p){return t.call(p)==="[object Number]"&&0<=p&&p<=2147483647}e.uinteger=l;function c(p){return t.call(p)==="[object Function]"}e.func=c;function f(p){return p!==null&&typeof p=="object"}e.objectLiteral=f;function d(p,m){return Array.isArray(p)&&p.every(m)}e.typedArray=d})(z||(z={}));class Cg{constructor(t){this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>this._pos===0,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const n=this._sourceText.charAt(this._pos);return this._pos++,n},this.eat=n=>{if(this._testNextCharacter(n))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=n=>{let r=this._testNextCharacter(n),i=!1;for(r&&(i=r,this._start=this._pos);r;)this._pos++,r=this._testNextCharacter(n),i=!0;return i},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=n=>{this._pos=n},this.match=(n,r=!0,i=!1)=>{let o=null,s=null;return typeof n=="string"?(s=new RegExp(n,i?"i":"g").test(this._sourceText.slice(this._pos,this._pos+n.length)),o=n):n instanceof RegExp&&(s=this._sourceText.slice(this._pos).match(n),o=s?.[0]),s!=null&&(typeof n=="string"||s instanceof Array&&this._sourceText.startsWith(s[0],this._pos))?(r&&(this._start=this._pos,o&&o.length&&(this._pos+=o.length)),s):!1},this.backUp=n=>{this._pos-=n},this.column=()=>this._pos,this.indentation=()=>{const n=this._sourceText.match(/\s*/);let r=0;if(n&&n.length!==0){const i=n[0];let o=0;for(;i.length>o;)i.charCodeAt(o)===9?r+=2:r++,o++}return r},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=t}_testNextCharacter(t){const n=this._sourceText.charAt(this._pos);let r=!1;return typeof t=="string"?r=n===t:r=t instanceof RegExp?t.test(n):t(n),r}}function bt(e){return{ofRule:e}}function je(e,t){return{ofRule:e,isList:!0,separator:t}}function zA(e,t){const n=e.match;return e.match=r=>{let i=!1;return n&&(i=n(r)),i&&t.every(o=>o.match&&!o.match(r))},e}function kc(e,t){return{style:t,match:n=>n.kind===e}}function Ce(e,t){return{style:t||"punctuation",match:n=>n.kind==="Punctuation"&&n.value===e}}const WA=e=>e===" "||e===" "||e===","||e===`
|
|
179
179
|
`||e==="\r"||e==="\uFEFF"||e===" ",GA={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|&|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},QA={Document:[je("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return C.FRAGMENT_DEFINITION;case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[Ut("query"),bt(tt("def")),bt("VariableDefinitions"),je("Directive"),"SelectionSet"],Mutation:[Ut("mutation"),bt(tt("def")),bt("VariableDefinitions"),je("Directive"),"SelectionSet"],Subscription:[Ut("subscription"),bt(tt("def")),bt("VariableDefinitions"),je("Directive"),"SelectionSet"],VariableDefinitions:[Ce("("),je("VariableDefinition"),Ce(")")],VariableDefinition:["Variable",Ce(":"),"Type",bt("DefaultValue")],Variable:[Ce("$","variable"),tt("variable")],DefaultValue:[Ce("="),"Value"],SelectionSet:[Ce("{"),je("Selection"),Ce("}")],Selection(e,t){return e.value==="..."?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[tt("property"),Ce(":"),tt("qualifier"),bt("Arguments"),je("Directive"),bt("SelectionSet")],Field:[tt("property"),bt("Arguments"),je("Directive"),bt("SelectionSet")],Arguments:[Ce("("),je("Argument"),Ce(")")],Argument:[tt("attribute"),Ce(":"),"Value"],FragmentSpread:[Ce("..."),tt("def"),je("Directive")],InlineFragment:[Ce("..."),bt("TypeCondition"),je("Directive"),"SelectionSet"],FragmentDefinition:[Ut("fragment"),bt(zA(tt("def"),[Ut("on")])),"TypeCondition",je("Directive"),"SelectionSet"],TypeCondition:[Ut("on"),"NamedType"],Value(e){switch(e.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(e.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable";case"&":return"NamedType"}return null;case"Name":switch(e.value){case"true":case"false":return"BooleanValue"}return e.value==="null"?"NullValue":"EnumValue"}},NumberValue:[kc("Number","number")],StringValue:[{style:"string",match:e=>e.kind==="String",update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[kc("Name","builtin")],NullValue:[kc("Name","keyword")],EnumValue:[tt("string-2")],ListValue:[Ce("["),je("Value"),Ce("]")],ObjectValue:[Ce("{"),je("ObjectField"),Ce("}")],ObjectField:[tt("attribute"),Ce(":"),"Value"],Type(e){return e.value==="["?"ListType":"NonNullType"},ListType:[Ce("["),"Type",Ce("]"),bt(Ce("!"))],NonNullType:["NamedType",bt(Ce("!"))],NamedType:[YA("atom")],Directive:[Ce("@","meta"),tt("meta"),bt("Arguments")],DirectiveDef:[Ut("directive"),Ce("@","meta"),tt("meta"),bt("ArgumentsDef"),Ut("on"),je("DirectiveLocation",Ce("|"))],InterfaceDef:[Ut("interface"),tt("atom"),bt("Implements"),je("Directive"),Ce("{"),je("FieldDef"),Ce("}")],Implements:[Ut("implements"),je("NamedType",Ce("&"))],DirectiveLocation:[tt("string-2")],SchemaDef:[Ut("schema"),je("Directive"),Ce("{"),je("OperationTypeDef"),Ce("}")],OperationTypeDef:[tt("keyword"),Ce(":"),tt("atom")],ScalarDef:[Ut("scalar"),tt("atom"),je("Directive")],ObjectTypeDef:[Ut("type"),tt("atom"),bt("Implements"),je("Directive"),Ce("{"),je("FieldDef"),Ce("}")],FieldDef:[tt("property"),bt("ArgumentsDef"),Ce(":"),"Type",je("Directive")],ArgumentsDef:[Ce("("),je("InputValueDef"),Ce(")")],InputValueDef:[tt("attribute"),Ce(":"),"Type",bt("DefaultValue"),je("Directive")],UnionDef:[Ut("union"),tt("atom"),je("Directive"),Ce("="),je("UnionMember",Ce("|"))],UnionMember:["NamedType"],EnumDef:[Ut("enum"),tt("atom"),je("Directive"),Ce("{"),je("EnumValueDef"),Ce("}")],EnumValueDef:[tt("string-2"),je("Directive")],InputDef:[Ut("input"),tt("atom"),je("Directive"),Ce("{"),je("InputValueDef"),Ce("}")],ExtendDef:[Ut("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return C.SCHEMA_EXTENSION;case"scalar":return C.SCALAR_TYPE_EXTENSION;case"type":return C.OBJECT_TYPE_EXTENSION;case"interface":return C.INTERFACE_TYPE_EXTENSION;case"union":return C.UNION_TYPE_EXTENSION;case"enum":return C.ENUM_TYPE_EXTENSION;case"input":return C.INPUT_OBJECT_TYPE_EXTENSION}},[C.SCHEMA_EXTENSION]:["SchemaDef"],[C.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[C.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[C.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[C.UNION_TYPE_EXTENSION]:["UnionDef"],[C.ENUM_TYPE_EXTENSION]:["EnumDef"],[C.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};function Ut(e){return{style:"keyword",match:t=>t.kind==="Name"&&t.value===e}}function tt(e){return{style:e,match:t=>t.kind==="Name",update(t,n){t.name=n.value}}}function YA(e){return{style:e,match:t=>t.kind==="Name",update(t,n){var r;!((r=t.prevState)===null||r===void 0)&&r.prevState&&(t.name=n.value,t.prevState.prevState.type=n.value)}}}function XA(e={eatWhitespace:t=>t.eatWhile(WA),lexRules:GA,parseRules:QA,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return Es(e.parseRules,t,C.DOCUMENT),t},token(t,n){return ZA(t,n,e)}}}function ZA(e,t,n){var r;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:i,parseRules:o,eatWhitespace:s,editorConfig:a}=n;if(t.rule&&t.rule.length===0?f0(t):t.needsAdvance&&(t.needsAdvance=!1,gd(t,!0)),e.sol()){const c=a?.tabSize||2;t.indentLevel=Math.floor(e.indentation()/c)}if(s(e))return"ws";const u=KA(i,e);if(!u)return e.match(/\S+/)||e.match(/\s/),Es(Dc,t,"Invalid"),"invalidchar";if(u.kind==="Comment")return Es(Dc,t,"Comment"),"comment";const l=Ng({},t);if(u.kind==="Punctuation"){if(/^[{([]/.test(u.value))t.indentLevel!==void 0&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(u.value)){const c=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&c.length>0&&c.at(-1)<t.indentLevel&&(t.indentLevel=c.at(-1))}}for(;t.rule;){let c=typeof t.rule=="function"?t.step===0?t.rule(u,e):null:t.rule[t.step];if(t.needsSeparator&&(c=c?.separator),c){if(c.ofRule&&(c=c.ofRule),typeof c=="string"){Es(o,t,c);continue}if(!((r=c.match)===null||r===void 0)&&r.call(c,u))return c.update&&c.update(t,u),u.kind==="Punctuation"?gd(t,!0):t.needsAdvance=!0,c.style}JA(t)}return Ng(t,l),Es(Dc,t,"Invalid"),"invalidchar"}function Ng(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}const Dc={Invalid:[],Comment:[]};function Es(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeparator=!1}function f0(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function gd(e,t){var n;if(Rg(e)&&e.rule){const r=e.rule[e.step];if(r.separator){const{separator:i}=r;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&i.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)f0(e),e.rule&&(Rg(e)?!((n=e.rule)===null||n===void 0)&&n[e.step].separator&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function Rg(e){const t=Array.isArray(e.rule)&&typeof e.rule[e.step]!="string"&&e.rule[e.step];return t&&t.isList}function JA(e){for(;e.rule&&!(Array.isArray(e.rule)&&e.rule[e.step].ofRule);)f0(e);e.rule&&gd(e,!1)}function KA(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=t.match(e[n[r]]);if(i&&i instanceof Array)return{kind:n[r],value:i[0]}}}function ek(e,t){const n=e.split(`
|