@powerhousedao/connect 6.0.0-dev.53 → 6.0.0-dev.54

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.
Files changed (226) hide show
  1. package/dist/assets/AddDriveModal-CUlc2LVq.js +2 -0
  2. package/dist/assets/AddDriveModal-CUlc2LVq.js.map +1 -0
  3. package/dist/assets/AnalyticsSubscriptionManager-B5G_L5RP.js +3 -0
  4. package/dist/assets/AnalyticsSubscriptionManager-B5G_L5RP.js.map +1 -0
  5. package/dist/assets/ClearStorageModal-xiZInXK_.js +2 -0
  6. package/dist/assets/ClearStorageModal-xiZInXK_.js.map +1 -0
  7. package/dist/assets/CookiesPolicyModal-DVXJp787.js +2 -0
  8. package/dist/assets/CookiesPolicyModal-DVXJp787.js.map +1 -0
  9. package/dist/assets/CreateDocumentModal-Cjpq1PBD.js +2 -0
  10. package/dist/assets/CreateDocumentModal-Cjpq1PBD.js.map +1 -0
  11. package/dist/assets/DebugSettingsModal-BvEPWw2E.js +7 -0
  12. package/dist/assets/DebugSettingsModal-BvEPWw2E.js.map +1 -0
  13. package/dist/assets/DeleteDriveModal-BEq8v3-E.js +2 -0
  14. package/dist/assets/DeleteDriveModal-BEq8v3-E.js.map +1 -0
  15. package/dist/assets/DeleteItemModal-B3ziER8J.js +2 -0
  16. package/dist/assets/DeleteItemModal-B3ziER8J.js.map +1 -0
  17. package/dist/assets/DisclaimerModal-CFnBcICu.js +2 -0
  18. package/dist/assets/DisclaimerModal-CFnBcICu.js.map +1 -0
  19. package/dist/assets/DriveSettingsModal-BOdnkWJn.js +2 -0
  20. package/dist/assets/DriveSettingsModal-BOdnkWJn.js.map +1 -0
  21. package/dist/assets/ExportDocumentWithErrorsModal--uHwELhU.js +2 -0
  22. package/dist/assets/ExportDocumentWithErrorsModal--uHwELhU.js.map +1 -0
  23. package/dist/assets/SettingsModal-BntFjuQb.js +2 -0
  24. package/dist/assets/SettingsModal-BntFjuQb.js.map +1 -0
  25. package/dist/assets/UpgradeDriveModal-DmbwNsbG.js +2 -0
  26. package/dist/assets/UpgradeDriveModal-DmbwNsbG.js.map +1 -0
  27. package/dist/assets/__vite-browser-external-D7Ct-6yo.js +2 -0
  28. package/dist/assets/__vite-browser-external-D7Ct-6yo.js.map +1 -0
  29. package/dist/assets/_virtual_ph_external-packages-CM1tCR4L.js +1 -0
  30. package/dist/assets/_virtual_ph_external-packages-CM1tCR4L.js.map +1 -0
  31. package/dist/assets/analytics-2CJbiDed.js +3 -0
  32. package/dist/assets/analytics-2CJbiDed.js.map +1 -0
  33. package/dist/assets/ccip-BEAjQRKG.js +2 -0
  34. package/dist/assets/ccip-BEAjQRKG.js.map +1 -0
  35. package/dist/assets/confirmation-modal-BOwR5ZQq.js +2 -0
  36. package/dist/assets/confirmation-modal-BOwR5ZQq.js.map +1 -0
  37. package/dist/assets/core-BmuZEe8D.js +2 -0
  38. package/dist/assets/core-BmuZEe8D.js.map +1 -0
  39. package/dist/assets/disclosure-BhnV_XS1.js +2 -0
  40. package/dist/assets/disclosure-BhnV_XS1.js.map +1 -0
  41. package/dist/assets/drive-by-id-DvdlB_kB.js +2 -0
  42. package/dist/assets/drive-by-id-DvdlB_kB.js.map +1 -0
  43. package/dist/assets/drives-DjHuIXXn.js +2 -0
  44. package/dist/assets/drives-DjHuIXXn.js.map +1 -0
  45. package/dist/assets/dropdown-menu-BzZBDp_E.js +2 -0
  46. package/dist/assets/dropdown-menu-BzZBDp_E.js.map +1 -0
  47. package/dist/assets/editor-DBekHIfI.js +2 -0
  48. package/dist/assets/editor-DBekHIfI.js.map +1 -0
  49. package/dist/assets/editor-DV2TvDV5.js +46 -0
  50. package/dist/assets/editor-DV2TvDV5.js.map +1 -0
  51. package/dist/assets/exports-CQVZRuji.js +3 -0
  52. package/dist/assets/exports-CQVZRuji.js.map +1 -0
  53. package/dist/assets/form-input-CPs_z-6y.js +2 -0
  54. package/dist/assets/form-input-CPs_z-6y.js.map +1 -0
  55. package/dist/assets/graphql-editor-CcDLLpoK.js +74 -0
  56. package/dist/assets/graphql-editor-CcDLLpoK.js.map +1 -0
  57. package/dist/assets/hmr-BfH10IPs.js +2 -0
  58. package/dist/assets/hmr-BfH10IPs.js.map +1 -0
  59. package/dist/assets/hmr-LMNkvzP7.js +1 -0
  60. package/dist/assets/hmr-LMNkvzP7.js.map +1 -0
  61. package/dist/assets/{hooks-53pCkdY-.js → hooks--iZen3H-.js} +13 -12
  62. package/dist/assets/hooks--iZen3H-.js.map +1 -0
  63. package/dist/assets/index-BDI8rK1R.js +2 -0
  64. package/dist/assets/index-BDI8rK1R.js.map +1 -0
  65. package/dist/assets/index-BWgPOeS2.js +500 -0
  66. package/dist/assets/index-BWgPOeS2.js.map +1 -0
  67. package/dist/assets/index-BeyYTlkr.js +2 -0
  68. package/dist/assets/index-BeyYTlkr.js.map +1 -0
  69. package/dist/assets/index-CUlo2oTb.js +199 -0
  70. package/dist/assets/index-CUlo2oTb.js.map +1 -0
  71. package/dist/assets/index-DN20Z-2K.js +222 -0
  72. package/dist/assets/index-DN20Z-2K.js.map +1 -0
  73. package/dist/assets/index-DPCEN2cB.js +2 -0
  74. package/dist/assets/index-DPCEN2cB.js.map +1 -0
  75. package/dist/assets/index-DcvFnjR9.css +1 -0
  76. package/dist/assets/index-RTtoSfzq.js +2 -0
  77. package/dist/assets/index-RTtoSfzq.js.map +1 -0
  78. package/dist/assets/index-WdPlK4TH.js +32 -0
  79. package/dist/assets/index-WdPlK4TH.js.map +1 -0
  80. package/dist/assets/index.esm-BeYGM8vk.js +2 -0
  81. package/dist/assets/index.esm-BeYGM8vk.js.map +1 -0
  82. package/dist/assets/index.modern-BKQ3hpRq.js +2 -0
  83. package/dist/assets/index.modern-BKQ3hpRq.js.map +1 -0
  84. package/dist/assets/json-editor-CfHUc1UK.js +2 -0
  85. package/dist/assets/json-editor-CfHUc1UK.js.map +1 -0
  86. package/dist/assets/load-D23NmM_n.js +4 -0
  87. package/dist/assets/load-D23NmM_n.js.map +1 -0
  88. package/dist/assets/location-info-N8RPWokW.js +2 -0
  89. package/dist/assets/location-info-N8RPWokW.js.map +1 -0
  90. package/dist/assets/message-list-0i5gk_8j.js +2 -0
  91. package/dist/assets/message-list-0i5gk_8j.js.map +1 -0
  92. package/dist/assets/migrator-CmQyl4ZK.js +78 -0
  93. package/dist/assets/migrator-CmQyl4ZK.js.map +1 -0
  94. package/dist/assets/node-input-DnUl9CxT.js +2 -0
  95. package/dist/assets/node-input-DnUl9CxT.js.map +1 -0
  96. package/dist/assets/nodefs-BP-sxN1O.js +2 -0
  97. package/dist/assets/nodefs-BP-sxN1O.js.map +1 -0
  98. package/dist/assets/nodefs-_NvywCGz.js +1 -0
  99. package/dist/assets/nodefs-_NvywCGz.js.map +1 -0
  100. package/dist/assets/opfs-ahp-DN9nZuJs.js +1 -0
  101. package/dist/assets/opfs-ahp-DN9nZuJs.js.map +1 -0
  102. package/dist/assets/opfs-ahp-DtmzPaVs.js +4 -0
  103. package/dist/assets/opfs-ahp-DtmzPaVs.js.map +1 -0
  104. package/dist/assets/options-CBc6-sTL.js +2 -0
  105. package/dist/assets/options-CBc6-sTL.js.map +1 -0
  106. package/dist/assets/pglite.db-B2bT8QML.js +133 -0
  107. package/dist/assets/pglite.db-B2bT8QML.js.map +1 -0
  108. package/dist/assets/pglite.worker-Ca6pWokV.js +1 -0
  109. package/dist/assets/pglite.worker-Ca6pWokV.js.map +1 -0
  110. package/dist/assets/processor-host-module-B89Dt9nZ.js +3 -0
  111. package/dist/assets/processor-host-module-B89Dt9nZ.js.map +1 -0
  112. package/dist/assets/queue-CxFgA-r3.js +2 -0
  113. package/dist/assets/queue-CxFgA-r3.js.map +1 -0
  114. package/dist/assets/reactor-7tK-WVaY.js +16 -0
  115. package/dist/assets/reactor-7tK-WVaY.js.map +1 -0
  116. package/dist/assets/reactor-Bsjwm88i.js +193 -0
  117. package/dist/assets/reactor-Bsjwm88i.js.map +1 -0
  118. package/dist/assets/reactor-CRqBKYEo.css +1 -0
  119. package/dist/assets/read-required-modal-BKEkfucI.js +2 -0
  120. package/dist/assets/read-required-modal-BKEkfucI.js.map +1 -0
  121. package/dist/assets/renown-CgfQ6oBU.js +2 -0
  122. package/dist/assets/renown-CgfQ6oBU.js.map +1 -0
  123. package/dist/assets/state-schemas-DK8TnzfC.js +3 -0
  124. package/dist/assets/state-schemas-DK8TnzfC.js.map +1 -0
  125. package/dist/assets/tabs-DY_DEdtI.js +2 -0
  126. package/dist/assets/tabs-DY_DEdtI.js.map +1 -0
  127. package/dist/assets/use-get-switchboard-link-B47eB8lt.js +12 -0
  128. package/dist/assets/use-get-switchboard-link-B47eB8lt.js.map +1 -0
  129. package/dist/assets/user-permissions-BJ8c2UOP.js +2 -0
  130. package/dist/assets/user-permissions-BJ8c2UOP.js.map +1 -0
  131. package/dist/assets/vetra-Bu3fuZWc.js +221 -0
  132. package/dist/assets/vetra-Bu3fuZWc.js.map +1 -0
  133. package/dist/index.html +2 -20
  134. package/lib/package.copy.json +3 -4
  135. package/lib/src/components/app-loader.d.ts.map +1 -1
  136. package/lib/src/components/app-loader.js +5 -16
  137. package/lib/src/components/app-loader.js.map +1 -1
  138. package/lib/src/components/index.d.ts +0 -1
  139. package/lib/src/components/index.d.ts.map +1 -1
  140. package/lib/src/components/index.js +0 -1
  141. package/lib/src/components/index.js.map +1 -1
  142. package/lib/src/components/load.d.ts +8 -0
  143. package/lib/src/components/load.d.ts.map +1 -0
  144. package/lib/src/components/load.js +17 -0
  145. package/lib/src/components/load.js.map +1 -0
  146. package/lib/src/components/modal/modals/InspectorModal/InspectorModal.d.ts.map +1 -1
  147. package/lib/src/components/modal/modals/InspectorModal/InspectorModal.js +2 -1
  148. package/lib/src/components/modal/modals/InspectorModal/InspectorModal.js.map +1 -1
  149. package/lib/src/components/modal/modals/InspectorModal/useRemotesInspector.d.ts +1 -0
  150. package/lib/src/components/modal/modals/InspectorModal/useRemotesInspector.d.ts.map +1 -1
  151. package/lib/src/components/modal/modals/InspectorModal/useRemotesInspector.js +2 -0
  152. package/lib/src/components/modal/modals/InspectorModal/useRemotesInspector.js.map +1 -1
  153. package/lib/src/components/modal/modals/SettingsModal.d.ts.map +1 -1
  154. package/lib/src/components/modal/modals/SettingsModal.js +4 -1
  155. package/lib/src/components/modal/modals/SettingsModal.js.map +1 -1
  156. package/lib/src/components/modal/modals-container.d.ts +1 -1
  157. package/lib/src/components/modal/modals-container.d.ts.map +1 -1
  158. package/lib/src/components/modal/modals-container.js +12 -8
  159. package/lib/src/components/modal/modals-container.js.map +1 -1
  160. package/lib/src/main.js +3 -0
  161. package/lib/src/main.js.map +1 -1
  162. package/lib/src/services/storage/base-storage.d.ts.map +1 -1
  163. package/lib/src/services/storage/base-storage.js.map +1 -1
  164. package/lib/src/store/processor-host-module.d.ts.map +1 -1
  165. package/lib/src/store/processor-host-module.js +2 -2
  166. package/lib/src/store/processor-host-module.js.map +1 -1
  167. package/lib/src/store/reactor.d.ts.map +1 -1
  168. package/lib/src/store/reactor.js +1 -1
  169. package/lib/src/store/reactor.js.map +1 -1
  170. package/lib/style.css +15 -0
  171. package/lib/tsconfig.tsbuildinfo +1 -1
  172. package/lib/vite.config.d.ts.map +1 -1
  173. package/lib/vite.config.js +1 -29
  174. package/lib/vite.config.js.map +1 -1
  175. package/package.copy.json +3 -4
  176. package/package.json +12 -13
  177. package/dist/assets/AddDriveModal-BZ11MHBB.js +0 -1
  178. package/dist/assets/ClearStorageModal-BC3gq6BT.js +0 -1
  179. package/dist/assets/CookiesPolicyModal-Bdf-jIqf.js +0 -1
  180. package/dist/assets/CreateDocumentModal-CExWso4S.js +0 -1
  181. package/dist/assets/DebugSettingsModal-MIi3iDrt.js +0 -1
  182. package/dist/assets/DeleteDriveModal-Cj_y-Bmk.js +0 -1
  183. package/dist/assets/DeleteItemModal-DLPEfn21.js +0 -1
  184. package/dist/assets/DisclaimerModal-uqaE0dfB.js +0 -1
  185. package/dist/assets/DriveSettingsModal-0o6Em8ZV.js +0 -1
  186. package/dist/assets/ExportDocumentWithErrorsModal-BWd92B7i.js +0 -1
  187. package/dist/assets/SettingsModal-Ca4V2Rxs.js +0 -1
  188. package/dist/assets/UpgradeDriveModal-ByNuxxET.js +0 -1
  189. package/dist/assets/config-0mYxXHFp.js +0 -1
  190. package/dist/assets/design_system-Q9KmzSmh.js +0 -45
  191. package/dist/assets/design_system_connect-MVhUhmHT.js +0 -47
  192. package/dist/assets/design_system_ui-BQ-CYVFb.js +0 -1
  193. package/dist/assets/document_drive-DiwReQ7A.js +0 -154
  194. package/dist/assets/document_engineering-BMBT2RYA.js +0 -1
  195. package/dist/assets/document_model-ly1Z8uco.js +0 -241
  196. package/dist/assets/document_model_editor-D_cNq26d.js +0 -25
  197. package/dist/assets/drive_explorer-508O2XxT.js +0 -2
  198. package/dist/assets/editor-DAyyI5MD.js +0 -1
  199. package/dist/assets/graphql-BXSeDpaV.js +0 -75
  200. package/dist/assets/graphql-editor-Buhxp36K.js +0 -73
  201. package/dist/assets/graphql_request-BHyPFzlZ.js +0 -3
  202. package/dist/assets/index-B6A7sjLB.css +0 -1
  203. package/dist/assets/index-D0gnc_IY.js +0 -208
  204. package/dist/assets/index-DQyPoyxC.js +0 -149
  205. package/dist/assets/index-DnR9iRBe.js +0 -29
  206. package/dist/assets/json-editor-dXLfmMol.js +0 -1
  207. package/dist/assets/nodefs-2HQmaeC9.js +0 -1
  208. package/dist/assets/nodefs-DzAAA-1u.js +0 -1
  209. package/dist/assets/opfs-ahp-CwNbpJAw.js +0 -3
  210. package/dist/assets/opfs-ahp-xYZANhiQ.js +0 -3
  211. package/dist/assets/postgres-CkP7QCDB.data +0 -0
  212. package/dist/assets/postgres-CyuUVpXN.wasm +0 -0
  213. package/dist/assets/react/jsx-runtime-DldvXD6N.js +0 -1
  214. package/dist/assets/react-D_vzfE_e.js +0 -1
  215. package/dist/assets/react-dom/client-SoBEzBdt.js +0 -9
  216. package/dist/assets/react-dom-Cz_KAjfm.js +0 -1
  217. package/dist/assets/reactor_browser-D2taHyRs.js +0 -136
  218. package/dist/assets/sentry_browser-TIBDlywD.js +0 -498
  219. package/dist/assets/sentry_react-CVx4Qq7f.js +0 -3
  220. package/dist/assets/state-schemas-C876MuV7.js +0 -2
  221. package/dist/assets/tailwind_merge-CXl88Wxt.js +0 -1
  222. package/dist/assets/zod-Cc38s6JG.js +0 -39
  223. package/lib/src/components/modal/index.d.ts +0 -18
  224. package/lib/src/components/modal/index.d.ts.map +0 -1
  225. package/lib/src/components/modal/index.js +0 -18
  226. package/lib/src/components/modal/index.js.map +0 -1
@@ -0,0 +1,74 @@
1
+ import{cs as Mo,ct as Le,cu as zt,b_ as G,cv as jo,cw as Zs,cx as Co,cy as fe,aJ as ln,aK as Go}from"./index-DN20Z-2K.js";import{a as xo,l as Ws,E as Js,S as zs,d as Yo,L as Xo,s as Bo,i as Ko,f as Zo,w as Wo,b as Jo,x as Hs,t as se,u as zo,C as er,e as nr,g as Ho,k as eu,h as nu,j as tu,m as iu,n as ru,o as au,p as tr,q as su,r as ou,v as uu}from"./hooks--iZen3H-.js";import{g as ye,i as Ie,f as he,G as ir,h as $e,j as rr,k as ar,l as sr,n as cu,o as lu,p as De,q as Ee,r as Qe,w as bi,x as fu,y as sn,z as Nn,A as _n,B as Ri,C as du,D as pu,E as Sn,F as Li,H as eo,I as no,J as to,K as io,L as ri,M as Ou,N as ro,O as ai,T as si,P as oi,Q as En,R as Tu,U as ao,V as vu,W as mu,X as hu,Y as yu,Z as Eu,_ as so,$ as gu,s as Nu,u as _u,a0 as or}from"./editor-DV2TvDV5.js";import"./index.esm-BeYGM8vk.js";import"./reactor-7tK-WVaY.js";import"./migrator-CmQyl4ZK.js";import"./reactor-Bsjwm88i.js";import"./vetra-Bu3fuZWc.js";import"./renown-CgfQ6oBU.js";import"./queue-CxFgA-r3.js";import"./drives-DjHuIXXn.js";import"./node-input-DnUl9CxT.js";import"./use-get-switchboard-link-B47eB8lt.js";function Su(e){return e instanceof Error?e:new Qu(e)}class Qu extends Error{constructor(t){super("Unexpected error value: "+Mo(t)),this.name="NonErrorThrown",this.thrownValue=t}}function Iu(e,t,a){var i;const n=Su(e);return bu(n)?n:new Le(n.message,{nodes:(i=n.nodes)!==null&&i!==void 0?i:t,source:n.source,positions:n.positions,path:a,originalError:n})}function bu(e){return Array.isArray(e.path)}function Ru(e){return{Field(t){const a=e.getFieldDef(),i=a?.deprecationReason;if(a&&i!=null){const n=e.getParentType();n!=null||zt(!1),e.reportError(new Le(`The field ${n.name}.${a.name} is deprecated. ${i}`,{nodes:t}))}},Argument(t){const a=e.getArgument(),i=a?.deprecationReason;if(a&&i!=null){const n=e.getDirective();if(n!=null)e.reportError(new Le(`Directive "@${n.name}" argument "${a.name}" is deprecated. ${i}`,{nodes:t}));else{const r=e.getParentType(),s=e.getFieldDef();r!=null&&s!=null||zt(!1),e.reportError(new Le(`Field "${r.name}.${s.name}" argument "${a.name}" is deprecated. ${i}`,{nodes:t}))}}},ObjectField(t){const a=ye(e.getParentInputType());if(Ie(a)){const i=a.getFields()[t.name.value],n=i?.deprecationReason;n!=null&&e.reportError(new Le(`The input field ${a.name}.${i.name} is deprecated. ${n}`,{nodes:t}))}},EnumValue(t){const a=e.getEnumValue(),i=a?.deprecationReason;if(a&&i!=null){const n=ye(e.getInputType());n!=null||zt(!1),e.reportError(new Le(`The enum value "${n.name}.${a.name}" is deprecated. ${i}`,{nodes:t}))}}}}const Lu=e=>Array.isArray(e)?e:e?[e]:[];var C;(function(e){e.TYPE="MapperKind.TYPE",e.SCALAR_TYPE="MapperKind.SCALAR_TYPE",e.ENUM_TYPE="MapperKind.ENUM_TYPE",e.COMPOSITE_TYPE="MapperKind.COMPOSITE_TYPE",e.OBJECT_TYPE="MapperKind.OBJECT_TYPE",e.INPUT_OBJECT_TYPE="MapperKind.INPUT_OBJECT_TYPE",e.ABSTRACT_TYPE="MapperKind.ABSTRACT_TYPE",e.UNION_TYPE="MapperKind.UNION_TYPE",e.INTERFACE_TYPE="MapperKind.INTERFACE_TYPE",e.ROOT_OBJECT="MapperKind.ROOT_OBJECT",e.QUERY="MapperKind.QUERY",e.MUTATION="MapperKind.MUTATION",e.SUBSCRIPTION="MapperKind.SUBSCRIPTION",e.DIRECTIVE="MapperKind.DIRECTIVE",e.FIELD="MapperKind.FIELD",e.COMPOSITE_FIELD="MapperKind.COMPOSITE_FIELD",e.OBJECT_FIELD="MapperKind.OBJECT_FIELD",e.ROOT_FIELD="MapperKind.ROOT_FIELD",e.QUERY_ROOT_FIELD="MapperKind.QUERY_ROOT_FIELD",e.MUTATION_ROOT_FIELD="MapperKind.MUTATION_ROOT_FIELD",e.SUBSCRIPTION_ROOT_FIELD="MapperKind.SUBSCRIPTION_ROOT_FIELD",e.INTERFACE_FIELD="MapperKind.INTERFACE_FIELD",e.INPUT_OBJECT_FIELD="MapperKind.INPUT_OBJECT_FIELD",e.ARGUMENT="MapperKind.ARGUMENT",e.ENUM_VALUE="MapperKind.ENUM_VALUE"})(C||(C={}));function Be(e,t){if(t){const a=e[t.name];if(he(a))return a}}function Pu(e){if("getFields"in e){const t=e.getFields();for(const a in t)return t[a].name==="_fake"}return!1}function Du(e){switch(e.name){case sr.name:return sr;case ar.name:return ar;case rr.name:return rr;case $e.name:return $e;case ir.name:return ir;default:return e}}function ku(e,t){const a=Object.create(null);for(const o in e)a[o]=e[o];const i=Object.create(null);for(const o in a){const u=a[o];if(u==null||o.startsWith("__"))continue;const p=u.name;if(!p.startsWith("__")){if(i[p]!=null){console.warn(`Duplicate schema type name ${p} found; keeping the existing one found in the schema`);continue}i[p]=u}}for(const o in i)i[o]=l(i[o]);const n=t.map(o=>r(o));return{typeMap:i,directives:n};function r(o){if(cu(o))return o;const u=o.toConfig();return u.args=s(u.args),new lu(u)}function s(o){const u={};for(const p in o){const T=o[p],v=c(T.type);v!=null&&(T.type=v,u[p]=T)}return u}function l(o){if(he(o)){const u=o.toConfig(),p={...u,fields:()=>d(u.fields),interfaces:()=>O(u.interfaces)};return new De(p)}else if(Ee(o)){const u=o.toConfig(),p={...u,fields:()=>d(u.fields)};return"interfaces"in p&&(p.interfaces=()=>O(u.interfaces)),new Qe(p)}else if(bi(o)){const u=o.toConfig(),p={...u,types:()=>O(u.types)};return new fu(p)}else if(Ie(o)){const u=o.toConfig(),p={...u,fields:()=>f(u.fields)};return new sn(p)}else if(Nn(o)){const u=o.toConfig();return new _n(u)}else if(Ri(o)){if(du(o))return o;const u=o.toConfig();return new pu(u)}throw new Error(`Unexpected schema type: ${o}`)}function d(o){const u={};for(const p in o){const T=o[p],v=c(T.type);v!=null&&T.args&&(T.type=v,T.args=s(T.args),u[p]=T)}return u}function f(o){const u={};for(const p in o){const T=o[p],v=c(T.type);v!=null&&(T.type=v,u[p]=T)}return u}function O(o){const u=[];for(const p of o){const T=c(p);T!=null&&u.push(T)}return u}function c(o){if(Sn(o)){const u=c(o.ofType);return u!=null?new Li(u):null}else if(eo(o)){const u=c(o.ofType);return u!=null?new no(u):null}else if(to(o)){let u=a[o.name];return u===void 0&&(u=Pu(o)?Du(o):l(o),i[u.name]=a[o.name]=u),u!=null?i[u.name]:null}return null}}function At(e,t,a=null,i=null){if(t==null)return t;const n=io(e);if(ri(n))return a!=null?a(n,t):t;if(Sn(n))return Lu(t).map(r=>At(n.ofType,r,a,i));if(Ie(n)){const r=n.getFields(),s={};for(const l in t){const d=r[l];d!=null&&(s[l]=At(d.type,t[l],a,i))}return i!=null?i(n,s):s}}function Au(e,t){return At(e,t,(a,i)=>{try{return a.serialize(i)}catch{return i}})}function Vu(e,t){return At(e,t,(a,i)=>{try{return a.parseValue(i)}catch{return i}})}function Uu(e,t={}){const a=uo(oo(ui(ur(wu(ui(ur(e.getTypeMap(),e,Au),e,t,l=>ri(l)),e,t),e,Vu),e,t,l=>!ri(l)),e,t),e,t),i=e.getDirectives(),n=$u(i,e,t),{typeMap:r,directives:s}=ku(a,n);return new Ou({...e.toConfig(),query:Be(r,Be(a,e.getQueryType())),mutation:Be(r,Be(a,e.getMutationType())),subscription:Be(r,Be(a,e.getSubscriptionType())),types:Object.values(r),directives:s})}const Fu=["String","ID","Int","Float","Boolean"];function ui(e,t,a,i=()=>!0){const n={};for(const r in e)if(!r.startsWith("__")&&!Fu.includes(r)){const s=e[r];if(s==null||!i(s)){n[r]=s;continue}const l=Mu(t,a,r);if(l==null){n[r]=s;continue}const d=l(s,t);if(d===void 0){n[r]=s;continue}n[r]=d}return n}function wu(e,t,a){const i=Yu(a);return i?ui(e,t,{[C.ENUM_TYPE]:n=>{const r=n.toConfig(),s=r.values,l={};for(const d in s){const f=s[d],O=i(f,n.name,t,d);if(O===void 0)l[d]=f;else if(Array.isArray(O)){const[c,o]=O;l[c]=o===void 0?f:o}else O!==null&&(l[d]=O)}return kt(new _n({...r,values:l}))}},n=>Nn(n)):e}function ur(e,t,a){const i=uo(e,t,{[C.ARGUMENT]:n=>{if(n.defaultValue===void 0)return n;const r=Vt(e,n.type);if(r!=null)return{...n,defaultValue:a(r,n.defaultValue)}}});return oo(i,t,{[C.INPUT_OBJECT_FIELD]:n=>{if(n.defaultValue===void 0)return n;const r=Vt(i,n.type);if(r!=null)return{...n,defaultValue:a(r,n.defaultValue)}}})}function Vt(e,t){if(Sn(t)){const a=Vt(e,t.ofType);return a!=null?new Li(a):null}else if(eo(t)){const a=Vt(e,t.ofType);return a!=null?new no(a):null}else if(to(t)){const a=e[t.name];return a??null}return null}function oo(e,t,a){const i={};for(const n in e)if(!n.startsWith("__")){const r=e[n];if(!he(r)&&!Ee(r)&&!Ie(r)){i[n]=r;continue}const s=Cu(t,a,n);if(s==null){i[n]=r;continue}const l=r.toConfig(),d=l.fields,f={};for(const O in d){const c=d[O],o=s(c,O,n,t);if(o===void 0)f[O]=c;else if(Array.isArray(o)){const[u,p]=o;p.astNode!=null&&(p.astNode={...p.astNode,name:{...p.astNode.name,value:u}}),f[u]=p===void 0?c:p}else o!==null&&(f[O]=o)}he(r)?i[n]=kt(new De({...l,fields:f})):Ee(r)?i[n]=kt(new Qe({...l,fields:f})):i[n]=kt(new sn({...l,fields:f}))}return i}function uo(e,t,a){const i={};for(const n in e)if(!n.startsWith("__")){const r=e[n];if(!he(r)&&!Ee(r)){i[n]=r;continue}const s=Gu(a);if(s==null){i[n]=r;continue}const l=r.toConfig(),d=l.fields,f={};for(const O in d){const c=d[O],o=c.args;if(o==null){f[O]=c;continue}const u=Object.keys(o);if(!u.length){f[O]=c;continue}const p={};for(const T of u){const v=o[T],m=s(v,O,n,t);if(m===void 0)p[T]=v;else if(Array.isArray(m)){const[h,_]=m;p[h]=_}else m!==null&&(p[T]=m)}f[O]={...c,args:p}}he(r)?i[n]=new De({...l,fields:f}):Ee(r)?i[n]=new Qe({...l,fields:f}):i[n]=new sn({...l,fields:f})}return i}function $u(e,t,a){const i=xu(a);if(i==null)return e.slice();const n=[];for(const r of e){const s=i(r,t);s===void 0?n.push(r):s!==null&&n.push(s)}return n}function qu(e,t){const a=e.getType(t),i=[C.TYPE];return he(a)?(i.push(C.COMPOSITE_TYPE,C.OBJECT_TYPE),t===e.getQueryType()?.name?i.push(C.ROOT_OBJECT,C.QUERY):t===e.getMutationType()?.name?i.push(C.ROOT_OBJECT,C.MUTATION):t===e.getSubscriptionType()?.name&&i.push(C.ROOT_OBJECT,C.SUBSCRIPTION)):Ie(a)?i.push(C.INPUT_OBJECT_TYPE):Ee(a)?i.push(C.COMPOSITE_TYPE,C.ABSTRACT_TYPE,C.INTERFACE_TYPE):bi(a)?i.push(C.COMPOSITE_TYPE,C.ABSTRACT_TYPE,C.UNION_TYPE):Nn(a)?i.push(C.ENUM_TYPE):Ri(a)&&i.push(C.SCALAR_TYPE),i}function Mu(e,t,a){const i=qu(e,a);let n;const r=[...i];for(;!n&&r.length>0;){const s=r.pop();n=t[s]}return n??null}function ju(e,t){const a=e.getType(t),i=[C.FIELD];return he(a)?(i.push(C.COMPOSITE_FIELD,C.OBJECT_FIELD),t===e.getQueryType()?.name?i.push(C.ROOT_FIELD,C.QUERY_ROOT_FIELD):t===e.getMutationType()?.name?i.push(C.ROOT_FIELD,C.MUTATION_ROOT_FIELD):t===e.getSubscriptionType()?.name&&i.push(C.ROOT_FIELD,C.SUBSCRIPTION_ROOT_FIELD)):Ee(a)?i.push(C.COMPOSITE_FIELD,C.INTERFACE_FIELD):Ie(a)&&i.push(C.INPUT_OBJECT_FIELD),i}function Cu(e,t,a){const i=ju(e,a);let n;const r=[...i];for(;!n&&r.length>0;){const s=r.pop();n=t[s]}return n??null}function Gu(e){const t=e[C.ARGUMENT];return t??null}function xu(e){const t=e[C.DIRECTIVE];return t??null}function Yu(e){const t=e[C.ENUM_VALUE];return t??null}function kt(e){if(he(e)){const t=e.toConfig();if(t.astNode!=null){const a=[];for(const i in t.fields){const n=t.fields[i];n.astNode!=null&&a.push(n.astNode)}t.astNode={...t.astNode,kind:G.OBJECT_TYPE_DEFINITION,fields:a}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(a=>({...a,kind:G.OBJECT_TYPE_EXTENSION,fields:void 0}))),new De(t)}else if(Ee(e)){const t=e.toConfig();if(t.astNode!=null){const a=[];for(const i in t.fields){const n=t.fields[i];n.astNode!=null&&a.push(n.astNode)}t.astNode={...t.astNode,kind:G.INTERFACE_TYPE_DEFINITION,fields:a}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(a=>({...a,kind:G.INTERFACE_TYPE_EXTENSION,fields:void 0}))),new Qe(t)}else if(Ie(e)){const t=e.toConfig();if(t.astNode!=null){const a=[];for(const i in t.fields){const n=t.fields[i];n.astNode!=null&&a.push(n.astNode)}t.astNode={...t.astNode,kind:G.INPUT_OBJECT_TYPE_DEFINITION,fields:a}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(a=>({...a,kind:G.INPUT_OBJECT_TYPE_EXTENSION,fields:void 0}))),new sn(t)}else if(Nn(e)){const t=e.toConfig();if(t.astNode!=null){const a=[];for(const i in t.values){const n=t.values[i];n.astNode!=null&&a.push(n.astNode)}t.astNode={...t.astNode,values:a}}return t.extensionASTNodes!=null&&(t.extensionASTNodes=t.extensionASTNodes.map(a=>({...a,values:void 0}))),new _n(t)}else return e}function Xu({schema:e,typeFilter:t=()=>!0,fieldFilter:a=void 0,rootFieldFilter:i=void 0,objectFieldFilter:n=void 0,interfaceFieldFilter:r=void 0,inputObjectFieldFilter:s=void 0,argumentFilter:l=void 0,directiveFilter:d=void 0,enumValueFilter:f=void 0}){return Uu(e,{[C.QUERY]:c=>Ht(c,"Query",i,l),[C.MUTATION]:c=>Ht(c,"Mutation",i,l),[C.SUBSCRIPTION]:c=>Ht(c,"Subscription",i,l),[C.OBJECT_TYPE]:c=>t(c.name,c)?ei(De,c,n||a,l):null,[C.INTERFACE_TYPE]:c=>t(c.name,c)?ei(Qe,c,r||a,l):null,[C.INPUT_OBJECT_TYPE]:c=>t(c.name,c)?ei(sn,c,s||a):null,[C.UNION_TYPE]:c=>t(c.name,c)?void 0:null,[C.ENUM_TYPE]:c=>t(c.name,c)?void 0:null,[C.SCALAR_TYPE]:c=>t(c.name,c)?void 0:null,[C.DIRECTIVE]:c=>d&&!d(c.name,c)?null:void 0,[C.ENUM_VALUE]:(c,o,u,p)=>f&&!f(o,p,c)?null:void 0})}function Ht(e,t,a,i){if(a||i){const n=e.toConfig();for(const r in n.fields){const s=n.fields[r];if(a&&!a(t,r,n.fields[r]))delete n.fields[r];else if(i&&s.args)for(const l in s.args)i(e.name,r,l,s.args[l])||delete s.args[l]}return new De(n)}return e}function ei(e,t,a,i){if(a||i){const n=t.toConfig();for(const r in n.fields){const s=n.fields[r];if(a&&!a(t.name,r,n.fields[r]))delete n.fields[r];else if(i&&"args"in s)for(const l in s.args)i(t.name,r,l,s.args[l])||delete s.args[l]}return new e(n)}}function Me(e){const t=Object.keys(e),a=t.length,i=new Array(a);for(let n=0;n<a;++n)i[n]=e[t[n]];return i}function ne(e,t){return Bu(t,co(e.string))}function Bu(e,t){if(!t||t.trim()===""||t.trim()===":"||t.trim()==="{")return ni(e,i=>!i.isDeprecated);const a=e.map(i=>({proximity:Ku(co(i.label),t),entry:i}));return ni(ni(a,i=>i.proximity<=2),i=>!i.entry.isDeprecated).sort((i,n)=>(i.entry.isDeprecated?1:0)-(n.entry.isDeprecated?1:0)||i.proximity-n.proximity||i.entry.label.length-n.entry.label.length).map(i=>i.entry)}function ni(e,t){const a=e.filter(t);return a.length===0?e:a}function co(e){return e.toLowerCase().replaceAll(/\W/g,"")}function Ku(e,t){let a=Zu(t,e);return e.length>t.length&&(a-=e.length-t.length-1,a+=e.indexOf(t)===0?0:.5),a}function Zu(e,t){let a,i;const n=[],r=e.length,s=t.length;for(a=0;a<=r;a++)n[a]=[a];for(i=1;i<=s;i++)n[0][i]=i;for(a=1;a<=r;a++)for(i=1;i<=s;i++){const l=e[a-1]===t[i-1]?0:1;n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+l),a>1&&i>1&&e[a-1]===t[i-2]&&e[a-2]===t[i-1]&&(n[a][i]=Math.min(n[a][i],n[a-2][i-2]+l))}return n[r][s]}const Wu=e=>` {
2
+ $1
3
+ }`,Ut=(e,t,a)=>{if(!t)return a??e;const i=ye(t);return he(i)||Ie(i)||Sn(i)||ro(i)?e+Wu():a??e},cr=(e,t,a)=>{if(Sn(t)){const i=ye(t.ofType);return e+`[${Ut("",i,"$1")}]`}return Ut(e,t,a)},Ju=e=>{const t=e.args.filter(a=>a.type.toString().endsWith("!"));if(t.length)return e.name+`(${t.map((a,i)=>`${a.name}: $${i+1}`)}) ${Ut("",e.type,`
4
+ `)}`};var lr;(function(e){function t(a){return typeof a=="string"}e.is=t})(lr||(lr={}));var ci;(function(e){function t(a){return typeof a=="string"}e.is=t})(ci||(ci={}));var fr;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647;function t(a){return typeof a=="number"&&e.MIN_VALUE<=a&&a<=e.MAX_VALUE}e.is=t})(fr||(fr={}));var Ft;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647;function t(a){return typeof a=="number"&&e.MIN_VALUE<=a&&a<=e.MAX_VALUE}e.is=t})(Ft||(Ft={}));var me;(function(e){function t(i,n){return i===Number.MAX_VALUE&&(i=Ft.MAX_VALUE),n===Number.MAX_VALUE&&(n=Ft.MAX_VALUE),{line:i,character:n}}e.create=t;function a(i){let n=i;return S.objectLiteral(n)&&S.uinteger(n.line)&&S.uinteger(n.character)}e.is=a})(me||(me={}));var ue;(function(e){function t(i,n,r,s){if(S.uinteger(i)&&S.uinteger(n)&&S.uinteger(r)&&S.uinteger(s))return{start:me.create(i,n),end:me.create(r,s)};if(me.is(i)&&me.is(n))return{start:i,end:n};throw new Error(`Range#create called with invalid arguments[${i}, ${n}, ${r}, ${s}]`)}e.create=t;function a(i){let n=i;return S.objectLiteral(n)&&me.is(n.start)&&me.is(n.end)}e.is=a})(ue||(ue={}));var wt;(function(e){function t(i,n){return{uri:i,range:n}}e.create=t;function a(i){let n=i;return S.objectLiteral(n)&&ue.is(n.range)&&(S.string(n.uri)||S.undefined(n.uri))}e.is=a})(wt||(wt={}));var dr;(function(e){function t(i,n,r,s){return{targetUri:i,targetRange:n,targetSelectionRange:r,originSelectionRange:s}}e.create=t;function a(i){let n=i;return S.objectLiteral(n)&&ue.is(n.targetRange)&&S.string(n.targetUri)&&ue.is(n.targetSelectionRange)&&(ue.is(n.originSelectionRange)||S.undefined(n.originSelectionRange))}e.is=a})(dr||(dr={}));var li;(function(e){function t(i,n,r,s){return{red:i,green:n,blue:r,alpha:s}}e.create=t;function a(i){const n=i;return S.objectLiteral(n)&&S.numberRange(n.red,0,1)&&S.numberRange(n.green,0,1)&&S.numberRange(n.blue,0,1)&&S.numberRange(n.alpha,0,1)}e.is=a})(li||(li={}));var pr;(function(e){function t(i,n){return{range:i,color:n}}e.create=t;function a(i){const n=i;return S.objectLiteral(n)&&ue.is(n.range)&&li.is(n.color)}e.is=a})(pr||(pr={}));var Or;(function(e){function t(i,n,r){return{label:i,textEdit:n,additionalTextEdits:r}}e.create=t;function a(i){const n=i;return S.objectLiteral(n)&&S.string(n.label)&&(S.undefined(n.textEdit)||tn.is(n))&&(S.undefined(n.additionalTextEdits)||S.typedArray(n.additionalTextEdits,tn.is))}e.is=a})(Or||(Or={}));var Tr;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(Tr||(Tr={}));var vr;(function(e){function t(i,n,r,s,l,d){const f={startLine:i,endLine:n};return S.defined(r)&&(f.startCharacter=r),S.defined(s)&&(f.endCharacter=s),S.defined(l)&&(f.kind=l),S.defined(d)&&(f.collapsedText=d),f}e.create=t;function a(i){const n=i;return S.objectLiteral(n)&&S.uinteger(n.startLine)&&S.uinteger(n.startLine)&&(S.undefined(n.startCharacter)||S.uinteger(n.startCharacter))&&(S.undefined(n.endCharacter)||S.uinteger(n.endCharacter))&&(S.undefined(n.kind)||S.string(n.kind))}e.is=a})(vr||(vr={}));var fi;(function(e){function t(i,n){return{location:i,message:n}}e.create=t;function a(i){let n=i;return S.defined(n)&&wt.is(n.location)&&S.string(n.message)}e.is=a})(fi||(fi={}));var mr;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(mr||(mr={}));var hr;(function(e){e.Unnecessary=1,e.Deprecated=2})(hr||(hr={}));var yr;(function(e){function t(a){const i=a;return S.objectLiteral(i)&&S.string(i.href)}e.is=t})(yr||(yr={}));var $t;(function(e){function t(i,n,r,s,l,d){let f={range:i,message:n};return S.defined(r)&&(f.severity=r),S.defined(s)&&(f.code=s),S.defined(l)&&(f.source=l),S.defined(d)&&(f.relatedInformation=d),f}e.create=t;function a(i){var n;let r=i;return S.defined(r)&&ue.is(r.range)&&S.string(r.message)&&(S.number(r.severity)||S.undefined(r.severity))&&(S.integer(r.code)||S.string(r.code)||S.undefined(r.code))&&(S.undefined(r.codeDescription)||S.string((n=r.codeDescription)===null||n===void 0?void 0:n.href))&&(S.string(r.source)||S.undefined(r.source))&&(S.undefined(r.relatedInformation)||S.typedArray(r.relatedInformation,fi.is))}e.is=a})($t||($t={}));var nn;(function(e){function t(i,n,...r){let s={title:i,command:n};return S.defined(r)&&r.length>0&&(s.arguments=r),s}e.create=t;function a(i){let n=i;return S.defined(n)&&S.string(n.title)&&S.string(n.command)}e.is=a})(nn||(nn={}));var tn;(function(e){function t(r,s){return{range:r,newText:s}}e.replace=t;function a(r,s){return{range:{start:r,end:r},newText:s}}e.insert=a;function i(r){return{range:r,newText:""}}e.del=i;function n(r){const s=r;return S.objectLiteral(s)&&S.string(s.newText)&&ue.is(s.range)}e.is=n})(tn||(tn={}));var di;(function(e){function t(i,n,r){const s={label:i};return n!==void 0&&(s.needsConfirmation=n),r!==void 0&&(s.description=r),s}e.create=t;function a(i){const n=i;return S.objectLiteral(n)&&S.string(n.label)&&(S.boolean(n.needsConfirmation)||n.needsConfirmation===void 0)&&(S.string(n.description)||n.description===void 0)}e.is=a})(di||(di={}));var rn;(function(e){function t(a){const i=a;return S.string(i)}e.is=t})(rn||(rn={}));var Er;(function(e){function t(r,s,l){return{range:r,newText:s,annotationId:l}}e.replace=t;function a(r,s,l){return{range:{start:r,end:r},newText:s,annotationId:l}}e.insert=a;function i(r,s){return{range:r,newText:"",annotationId:s}}e.del=i;function n(r){const s=r;return tn.is(s)&&(di.is(s.annotationId)||rn.is(s.annotationId))}e.is=n})(Er||(Er={}));var pi;(function(e){function t(i,n){return{textDocument:i,edits:n}}e.create=t;function a(i){let n=i;return S.defined(n)&&hi.is(n.textDocument)&&Array.isArray(n.edits)}e.is=a})(pi||(pi={}));var Oi;(function(e){function t(i,n,r){let s={kind:"create",uri:i};return n!==void 0&&(n.overwrite!==void 0||n.ignoreIfExists!==void 0)&&(s.options=n),r!==void 0&&(s.annotationId=r),s}e.create=t;function a(i){let n=i;return n&&n.kind==="create"&&S.string(n.uri)&&(n.options===void 0||(n.options.overwrite===void 0||S.boolean(n.options.overwrite))&&(n.options.ignoreIfExists===void 0||S.boolean(n.options.ignoreIfExists)))&&(n.annotationId===void 0||rn.is(n.annotationId))}e.is=a})(Oi||(Oi={}));var Ti;(function(e){function t(i,n,r,s){let l={kind:"rename",oldUri:i,newUri:n};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(l.options=r),s!==void 0&&(l.annotationId=s),l}e.create=t;function a(i){let n=i;return n&&n.kind==="rename"&&S.string(n.oldUri)&&S.string(n.newUri)&&(n.options===void 0||(n.options.overwrite===void 0||S.boolean(n.options.overwrite))&&(n.options.ignoreIfExists===void 0||S.boolean(n.options.ignoreIfExists)))&&(n.annotationId===void 0||rn.is(n.annotationId))}e.is=a})(Ti||(Ti={}));var vi;(function(e){function t(i,n,r){let s={kind:"delete",uri:i};return n!==void 0&&(n.recursive!==void 0||n.ignoreIfNotExists!==void 0)&&(s.options=n),r!==void 0&&(s.annotationId=r),s}e.create=t;function a(i){let n=i;return n&&n.kind==="delete"&&S.string(n.uri)&&(n.options===void 0||(n.options.recursive===void 0||S.boolean(n.options.recursive))&&(n.options.ignoreIfNotExists===void 0||S.boolean(n.options.ignoreIfNotExists)))&&(n.annotationId===void 0||rn.is(n.annotationId))}e.is=a})(vi||(vi={}));var mi;(function(e){function t(a){let i=a;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(n=>S.string(n.kind)?Oi.is(n)||Ti.is(n)||vi.is(n):pi.is(n)))}e.is=t})(mi||(mi={}));var gr;(function(e){function t(i){return{uri:i}}e.create=t;function a(i){let n=i;return S.defined(n)&&S.string(n.uri)}e.is=a})(gr||(gr={}));var Nr;(function(e){function t(i,n){return{uri:i,version:n}}e.create=t;function a(i){let n=i;return S.defined(n)&&S.string(n.uri)&&S.integer(n.version)}e.is=a})(Nr||(Nr={}));var hi;(function(e){function t(i,n){return{uri:i,version:n}}e.create=t;function a(i){let n=i;return S.defined(n)&&S.string(n.uri)&&(n.version===null||S.integer(n.version))}e.is=a})(hi||(hi={}));var _r;(function(e){function t(i,n,r,s){return{uri:i,languageId:n,version:r,text:s}}e.create=t;function a(i){let n=i;return S.defined(n)&&S.string(n.uri)&&S.string(n.languageId)&&S.integer(n.version)&&S.string(n.text)}e.is=a})(_r||(_r={}));var yi;(function(e){e.PlainText="plaintext",e.Markdown="markdown";function t(a){const i=a;return i===e.PlainText||i===e.Markdown}e.is=t})(yi||(yi={}));var gn;(function(e){function t(a){const i=a;return S.objectLiteral(a)&&yi.is(i.kind)&&S.string(i.value)}e.is=t})(gn||(gn={}));var Sr;(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})(Sr||(Sr={}));var en;(function(e){e.PlainText=1,e.Snippet=2})(en||(en={}));var Qr;(function(e){e.Deprecated=1})(Qr||(Qr={}));var Ir;(function(e){function t(i,n,r){return{newText:i,insert:n,replace:r}}e.create=t;function a(i){const n=i;return n&&S.string(n.newText)&&ue.is(n.insert)&&ue.is(n.replace)}e.is=a})(Ir||(Ir={}));var qe;(function(e){e.asIs=1,e.adjustIndentation=2})(qe||(qe={}));var br;(function(e){function t(a){const i=a;return i&&(S.string(i.detail)||i.detail===void 0)&&(S.string(i.description)||i.description===void 0)}e.is=t})(br||(br={}));var Rr;(function(e){function t(a){return{label:a}}e.create=t})(Rr||(Rr={}));var Lr;(function(e){function t(a,i){return{items:a||[],isIncomplete:!!i}}e.create=t})(Lr||(Lr={}));var qt;(function(e){function t(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=t;function a(i){const n=i;return S.string(n)||S.objectLiteral(n)&&S.string(n.language)&&S.string(n.value)}e.is=a})(qt||(qt={}));var Pr;(function(e){function t(a){let i=a;return!!i&&S.objectLiteral(i)&&(gn.is(i.contents)||qt.is(i.contents)||S.typedArray(i.contents,qt.is))&&(a.range===void 0||ue.is(a.range))}e.is=t})(Pr||(Pr={}));var Dr;(function(e){function t(a,i){return i?{label:a,documentation:i}:{label:a}}e.create=t})(Dr||(Dr={}));var kr;(function(e){function t(a,i,...n){let r={label:a};return S.defined(i)&&(r.documentation=i),S.defined(n)?r.parameters=n:r.parameters=[],r}e.create=t})(kr||(kr={}));var Ar;(function(e){e.Text=1,e.Read=2,e.Write=3})(Ar||(Ar={}));var Vr;(function(e){function t(a,i){let n={range:a};return S.number(i)&&(n.kind=i),n}e.create=t})(Vr||(Vr={}));var Ur;(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})(Ur||(Ur={}));var Fr;(function(e){e.Deprecated=1})(Fr||(Fr={}));var wr;(function(e){function t(a,i,n,r,s){let l={name:a,kind:i,location:{uri:r,range:n}};return s&&(l.containerName=s),l}e.create=t})(wr||(wr={}));var $r;(function(e){function t(a,i,n,r){return r!==void 0?{name:a,kind:i,location:{uri:n,range:r}}:{name:a,kind:i,location:{uri:n}}}e.create=t})($r||($r={}));var qr;(function(e){function t(i,n,r,s,l,d){let f={name:i,detail:n,kind:r,range:s,selectionRange:l};return d!==void 0&&(f.children=d),f}e.create=t;function a(i){let n=i;return n&&S.string(n.name)&&S.number(n.kind)&&ue.is(n.range)&&ue.is(n.selectionRange)&&(n.detail===void 0||S.string(n.detail))&&(n.deprecated===void 0||S.boolean(n.deprecated))&&(n.children===void 0||Array.isArray(n.children))&&(n.tags===void 0||Array.isArray(n.tags))}e.is=a})(qr||(qr={}));var Mr;(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"})(Mr||(Mr={}));var Mt;(function(e){e.Invoked=1,e.Automatic=2})(Mt||(Mt={}));var jr;(function(e){function t(i,n,r){let s={diagnostics:i};return n!=null&&(s.only=n),r!=null&&(s.triggerKind=r),s}e.create=t;function a(i){let n=i;return S.defined(n)&&S.typedArray(n.diagnostics,$t.is)&&(n.only===void 0||S.typedArray(n.only,S.string))&&(n.triggerKind===void 0||n.triggerKind===Mt.Invoked||n.triggerKind===Mt.Automatic)}e.is=a})(jr||(jr={}));var Cr;(function(e){function t(i,n,r){let s={title:i},l=!0;return typeof n=="string"?(l=!1,s.kind=n):nn.is(n)?s.command=n:s.edit=n,l&&r!==void 0&&(s.kind=r),s}e.create=t;function a(i){let n=i;return n&&S.string(n.title)&&(n.diagnostics===void 0||S.typedArray(n.diagnostics,$t.is))&&(n.kind===void 0||S.string(n.kind))&&(n.edit!==void 0||n.command!==void 0)&&(n.command===void 0||nn.is(n.command))&&(n.isPreferred===void 0||S.boolean(n.isPreferred))&&(n.edit===void 0||mi.is(n.edit))}e.is=a})(Cr||(Cr={}));var Gr;(function(e){function t(i,n){let r={range:i};return S.defined(n)&&(r.data=n),r}e.create=t;function a(i){let n=i;return S.defined(n)&&ue.is(n.range)&&(S.undefined(n.command)||nn.is(n.command))}e.is=a})(Gr||(Gr={}));var xr;(function(e){function t(i,n){return{tabSize:i,insertSpaces:n}}e.create=t;function a(i){let n=i;return S.defined(n)&&S.uinteger(n.tabSize)&&S.boolean(n.insertSpaces)}e.is=a})(xr||(xr={}));var Yr;(function(e){function t(i,n,r){return{range:i,target:n,data:r}}e.create=t;function a(i){let n=i;return S.defined(n)&&ue.is(n.range)&&(S.undefined(n.target)||S.string(n.target))}e.is=a})(Yr||(Yr={}));var Xr;(function(e){function t(i,n){return{range:i,parent:n}}e.create=t;function a(i){let n=i;return S.objectLiteral(n)&&ue.is(n.range)&&(n.parent===void 0||e.is(n.parent))}e.is=a})(Xr||(Xr={}));var Br;(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"})(Br||(Br={}));var Kr;(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"})(Kr||(Kr={}));var Zr;(function(e){function t(a){const i=a;return S.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}e.is=t})(Zr||(Zr={}));var Wr;(function(e){function t(i,n){return{range:i,text:n}}e.create=t;function a(i){const n=i;return n!=null&&ue.is(n.range)&&S.string(n.text)}e.is=a})(Wr||(Wr={}));var Jr;(function(e){function t(i,n,r){return{range:i,variableName:n,caseSensitiveLookup:r}}e.create=t;function a(i){const n=i;return n!=null&&ue.is(n.range)&&S.boolean(n.caseSensitiveLookup)&&(S.string(n.variableName)||n.variableName===void 0)}e.is=a})(Jr||(Jr={}));var zr;(function(e){function t(i,n){return{range:i,expression:n}}e.create=t;function a(i){const n=i;return n!=null&&ue.is(n.range)&&(S.string(n.expression)||n.expression===void 0)}e.is=a})(zr||(zr={}));var Hr;(function(e){function t(i,n){return{frameId:i,stoppedLocation:n}}e.create=t;function a(i){const n=i;return S.defined(n)&&ue.is(i.stoppedLocation)}e.is=a})(Hr||(Hr={}));var Ei;(function(e){e.Type=1,e.Parameter=2;function t(a){return a===1||a===2}e.is=t})(Ei||(Ei={}));var gi;(function(e){function t(i){return{value:i}}e.create=t;function a(i){const n=i;return S.objectLiteral(n)&&(n.tooltip===void 0||S.string(n.tooltip)||gn.is(n.tooltip))&&(n.location===void 0||wt.is(n.location))&&(n.command===void 0||nn.is(n.command))}e.is=a})(gi||(gi={}));var ea;(function(e){function t(i,n,r){const s={position:i,label:n};return r!==void 0&&(s.kind=r),s}e.create=t;function a(i){const n=i;return S.objectLiteral(n)&&me.is(n.position)&&(S.string(n.label)||S.typedArray(n.label,gi.is))&&(n.kind===void 0||Ei.is(n.kind))&&n.textEdits===void 0||S.typedArray(n.textEdits,tn.is)&&(n.tooltip===void 0||S.string(n.tooltip)||gn.is(n.tooltip))&&(n.paddingLeft===void 0||S.boolean(n.paddingLeft))&&(n.paddingRight===void 0||S.boolean(n.paddingRight))}e.is=a})(ea||(ea={}));var na;(function(e){function t(a){return{kind:"snippet",value:a}}e.createSnippet=t})(na||(na={}));var ta;(function(e){function t(a,i,n,r){return{insertText:a,filterText:i,range:n,command:r}}e.create=t})(ta||(ta={}));var ia;(function(e){function t(a){return{items:a}}e.create=t})(ia||(ia={}));var ra;(function(e){e.Invoked=0,e.Automatic=1})(ra||(ra={}));var aa;(function(e){function t(a,i){return{range:a,text:i}}e.create=t})(aa||(aa={}));var sa;(function(e){function t(a,i){return{triggerKind:a,selectedCompletionInfo:i}}e.create=t})(sa||(sa={}));var oa;(function(e){function t(a){const i=a;return S.objectLiteral(i)&&ci.is(i.uri)&&S.string(i.name)}e.is=t})(oa||(oa={}));var ua;(function(e){function t(r,s,l,d){return new zu(r,s,l,d)}e.create=t;function a(r){let s=r;return!!(S.defined(s)&&S.string(s.uri)&&(S.undefined(s.languageId)||S.string(s.languageId))&&S.uinteger(s.lineCount)&&S.func(s.getText)&&S.func(s.positionAt)&&S.func(s.offsetAt))}e.is=a;function i(r,s){let l=r.getText(),d=n(s,(O,c)=>{let o=O.range.start.line-c.range.start.line;return o===0?O.range.start.character-c.range.start.character:o}),f=l.length;for(let O=d.length-1;O>=0;O--){let c=d[O],o=r.offsetAt(c.range.start),u=r.offsetAt(c.range.end);if(u<=f)l=l.substring(0,o)+c.newText+l.substring(u,l.length);else throw new Error("Overlapping edit");f=o}return l}e.applyEdits=i;function n(r,s){if(r.length<=1)return r;const l=r.length/2|0,d=r.slice(0,l),f=r.slice(l);n(d,s),n(f,s);let O=0,c=0,o=0;for(;O<d.length&&c<f.length;)s(d[O],f[c])<=0?r[o++]=d[O++]:r[o++]=f[c++];for(;O<d.length;)r[o++]=d[O++];for(;c<f.length;)r[o++]=f[c++];return r}})(ua||(ua={}));class zu{constructor(t,a,i,n){this._uri=t,this._languageId=a,this._version=i,this._content=n,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(t){if(t){let a=this.offsetAt(t.start),i=this.offsetAt(t.end);return this._content.substring(a,i)}return this._content}update(t,a){this._content=t.text,this._version=a,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let t=[],a=this._content,i=!0;for(let n=0;n<a.length;n++){i&&(t.push(n),i=!1);let r=a.charAt(n);i=r==="\r"||r===`
5
+ `,r==="\r"&&n+1<a.length&&a.charAt(n+1)===`
6
+ `&&n++}i&&a.length>0&&t.push(a.length),this._lineOffsets=t}return this._lineOffsets}positionAt(t){t=Math.max(Math.min(t,this._content.length),0);let a=this.getLineOffsets(),i=0,n=a.length;if(n===0)return me.create(0,t);for(;i<n;){let s=Math.floor((i+n)/2);a[s]>t?n=s:i=s+1}let r=i-1;return me.create(r,t-a[r])}offsetAt(t){let a=this.getLineOffsets();if(t.line>=a.length)return this._content.length;if(t.line<0)return 0;let i=a[t.line],n=t.line+1<a.length?a[t.line+1]:this._content.length;return Math.max(Math.min(i+t.character,n),i)}get lineCount(){return this.getLineOffsets().length}}var S;(function(e){const t=Object.prototype.toString;function a(u){return typeof u<"u"}e.defined=a;function i(u){return typeof u>"u"}e.undefined=i;function n(u){return u===!0||u===!1}e.boolean=n;function r(u){return t.call(u)==="[object String]"}e.string=r;function s(u){return t.call(u)==="[object Number]"}e.number=s;function l(u,p,T){return t.call(u)==="[object Number]"&&p<=u&&u<=T}e.numberRange=l;function d(u){return t.call(u)==="[object Number]"&&-2147483648<=u&&u<=2147483647}e.integer=d;function f(u){return t.call(u)==="[object Number]"&&0<=u&&u<=2147483647}e.uinteger=f;function O(u){return t.call(u)==="[object Function]"}e.func=O;function c(u){return u!==null&&typeof u=="object"}e.objectLiteral=c;function o(u,p){return Array.isArray(u)&&u.every(p)}e.typedArray=o})(S||(S={}));class Ni{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 a=this._sourceText.charAt(this._pos);return this._pos++,a},this.eat=a=>{if(this._testNextCharacter(a))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=a=>{let i=this._testNextCharacter(a),n=!1;for(i&&(n=i,this._start=this._pos);i;)this._pos++,i=this._testNextCharacter(a),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=a=>{this._pos=a},this.match=(a,i=!0,n=!1)=>{let r=null,s=null;return typeof a=="string"?(s=new RegExp(a,n?"i":"g").test(this._sourceText.slice(this._pos,this._pos+a.length)),r=a):a instanceof RegExp&&(s=this._sourceText.slice(this._pos).match(a),r=s?.[0]),s!=null&&(typeof a=="string"||s instanceof Array&&this._sourceText.startsWith(s[0],this._pos))?(i&&(this._start=this._pos,r&&r.length&&(this._pos+=r.length)),s):!1},this.backUp=a=>{this._pos-=a},this.column=()=>this._pos,this.indentation=()=>{const a=this._sourceText.match(/\s*/);let i=0;if(a&&a.length!==0){const n=a[0];let r=0;for(;n.length>r;)n.charCodeAt(r)===9?i+=2:i++,r++}return i},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=t}_testNextCharacter(t){const a=this._sourceText.charAt(this._pos);let i=!1;return typeof t=="string"?i=a===t:i=t instanceof RegExp?t.test(a):t(a),i}}function oe(e){return{ofRule:e}}function Z(e,t){return{ofRule:e,isList:!0,separator:t}}function Hu(e,t){const a=e.match;return e.match=i=>{let n=!1;return a&&(n=a(i)),n&&t.every(r=>r.match&&!r.match(i))},e}function ti(e,t){return{style:t,match:a=>a.kind===e}}function x(e,t){return{style:t||"punctuation",match:a=>a.kind==="Punctuation"&&a.value===e}}const ec=e=>e===" "||e===" "||e===","||e===`
7
+ `||e==="\r"||e==="\uFEFF"||e===" ",nc={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:/^#.*/},tc={Document:[Z("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return G.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:[de("query"),oe(H("def")),oe("VariableDefinitions"),Z("Directive"),"SelectionSet"],Mutation:[de("mutation"),oe(H("def")),oe("VariableDefinitions"),Z("Directive"),"SelectionSet"],Subscription:[de("subscription"),oe(H("def")),oe("VariableDefinitions"),Z("Directive"),"SelectionSet"],VariableDefinitions:[x("("),Z("VariableDefinition"),x(")")],VariableDefinition:["Variable",x(":"),"Type",oe("DefaultValue")],Variable:[x("$","variable"),H("variable")],DefaultValue:[x("="),"Value"],SelectionSet:[x("{"),Z("Selection"),x("}")],Selection(e,t){return e.value==="..."?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field"},AliasedField:[H("property"),x(":"),H("qualifier"),oe("Arguments"),Z("Directive"),oe("SelectionSet")],Field:[H("property"),oe("Arguments"),Z("Directive"),oe("SelectionSet")],Arguments:[x("("),Z("Argument"),x(")")],Argument:[H("attribute"),x(":"),"Value"],FragmentSpread:[x("..."),H("def"),Z("Directive")],InlineFragment:[x("..."),oe("TypeCondition"),Z("Directive"),"SelectionSet"],FragmentDefinition:[de("fragment"),oe(Hu(H("def"),[de("on")])),"TypeCondition",Z("Directive"),"SelectionSet"],TypeCondition:[de("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:[ti("Number","number")],StringValue:[{style:"string",match:e=>e.kind==="String",update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[ti("Name","builtin")],NullValue:[ti("Name","keyword")],EnumValue:[H("string-2")],ListValue:[x("["),Z("Value"),x("]")],ObjectValue:[x("{"),Z("ObjectField"),x("}")],ObjectField:[H("attribute"),x(":"),"Value"],Type(e){return e.value==="["?"ListType":"NonNullType"},ListType:[x("["),"Type",x("]"),oe(x("!"))],NonNullType:["NamedType",oe(x("!"))],NamedType:[ic("atom")],Directive:[x("@","meta"),H("meta"),oe("Arguments")],DirectiveDef:[de("directive"),x("@","meta"),H("meta"),oe("ArgumentsDef"),de("on"),Z("DirectiveLocation",x("|"))],InterfaceDef:[de("interface"),H("atom"),oe("Implements"),Z("Directive"),x("{"),Z("FieldDef"),x("}")],Implements:[de("implements"),Z("NamedType",x("&"))],DirectiveLocation:[H("string-2")],SchemaDef:[de("schema"),Z("Directive"),x("{"),Z("OperationTypeDef"),x("}")],OperationTypeDef:[H("keyword"),x(":"),H("atom")],ScalarDef:[de("scalar"),H("atom"),Z("Directive")],ObjectTypeDef:[de("type"),H("atom"),oe("Implements"),Z("Directive"),x("{"),Z("FieldDef"),x("}")],FieldDef:[H("property"),oe("ArgumentsDef"),x(":"),"Type",Z("Directive")],ArgumentsDef:[x("("),Z("InputValueDef"),x(")")],InputValueDef:[H("attribute"),x(":"),"Type",oe("DefaultValue"),Z("Directive")],UnionDef:[de("union"),H("atom"),Z("Directive"),x("="),Z("UnionMember",x("|"))],UnionMember:["NamedType"],EnumDef:[de("enum"),H("atom"),Z("Directive"),x("{"),Z("EnumValueDef"),x("}")],EnumValueDef:[H("string-2"),Z("Directive")],InputDef:[de("input"),H("atom"),Z("Directive"),x("{"),Z("InputValueDef"),x("}")],ExtendDef:[de("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return G.SCHEMA_EXTENSION;case"scalar":return G.SCALAR_TYPE_EXTENSION;case"type":return G.OBJECT_TYPE_EXTENSION;case"interface":return G.INTERFACE_TYPE_EXTENSION;case"union":return G.UNION_TYPE_EXTENSION;case"enum":return G.ENUM_TYPE_EXTENSION;case"input":return G.INPUT_OBJECT_TYPE_EXTENSION}},[G.SCHEMA_EXTENSION]:["SchemaDef"],[G.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[G.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[G.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[G.UNION_TYPE_EXTENSION]:["UnionDef"],[G.ENUM_TYPE_EXTENSION]:["EnumDef"],[G.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};function de(e){return{style:"keyword",match:t=>t.kind==="Name"&&t.value===e}}function H(e){return{style:e,match:t=>t.kind==="Name",update(t,a){t.name=a.value}}}function ic(e){return{style:e,match:t=>t.kind==="Name",update(t,a){var i;!((i=t.prevState)===null||i===void 0)&&i.prevState&&(t.name=a.value,t.prevState.prevState.type=a.value)}}}function lo(e={eatWhitespace:t=>t.eatWhile(ec),lexRules:nc,parseRules:tc,editorConfig:{}}){return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return yn(e.parseRules,t,G.DOCUMENT),t},token(t,a){return rc(t,a,e)}}}function rc(e,t,a){var i;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:n,parseRules:r,eatWhitespace:s,editorConfig:l}=a;if(t.rule&&t.rule.length===0?Pi(t):t.needsAdvance&&(t.needsAdvance=!1,_i(t,!0)),e.sol()){const O=l?.tabSize||2;t.indentLevel=Math.floor(e.indentation()/O)}if(s(e))return"ws";const d=sc(n,e);if(!d)return e.match(/\S+/)||e.match(/\s/),yn(ii,t,"Invalid"),"invalidchar";if(d.kind==="Comment")return yn(ii,t,"Comment"),"comment";const f=ca({},t);if(d.kind==="Punctuation"){if(/^[{([]/.test(d.value))t.indentLevel!==void 0&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(d.value)){const O=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&O.length>0&&O.at(-1)<t.indentLevel&&(t.indentLevel=O.at(-1))}}for(;t.rule;){let O=typeof t.rule=="function"?t.step===0?t.rule(d,e):null:t.rule[t.step];if(t.needsSeparator&&(O=O?.separator),O){if(O.ofRule&&(O=O.ofRule),typeof O=="string"){yn(r,t,O);continue}if(!((i=O.match)===null||i===void 0)&&i.call(O,d))return O.update&&O.update(t,d),d.kind==="Punctuation"?_i(t,!0):t.needsAdvance=!0,O.style}ac(t)}return ca(t,f),yn(ii,t,"Invalid"),"invalidchar"}function ca(e,t){const a=Object.keys(t);for(let i=0;i<a.length;i++)e[a[i]]=t[a[i]];return e}const ii={Invalid:[],Comment:[]};function yn(e,t,a){if(!e[a])throw new TypeError("Unknown rule: "+a);t.prevState=Object.assign({},t),t.kind=a,t.name=null,t.type=null,t.rule=e[a],t.step=0,t.needsSeparator=!1}function Pi(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 _i(e,t){var a;if(la(e)&&e.rule){const i=e.rule[e.step];if(i.separator){const{separator:n}=i;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&n.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)Pi(e),e.rule&&(la(e)?!((a=e.rule)===null||a===void 0)&&a[e.step].separator&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function la(e){const t=Array.isArray(e.rule)&&typeof e.rule[e.step]!="string"&&e.rule[e.step];return t&&t.isList}function ac(e){for(;e.rule&&!(Array.isArray(e.rule)&&e.rule[e.step].ofRule);)Pi(e);e.rule&&_i(e,!1)}function sc(e,t){const a=Object.keys(e);for(let i=0;i<a.length;i++){const n=t.match(e[a[i]]);if(n&&n instanceof Array)return{kind:a[i],value:n[0]}}}function xt(e,t){const a=e.split(`
8
+ `),i=lo();let n=i.startState(),r="",s=new Ni("");for(let l=0;l<a.length;l++){for(s=new Ni(a[l]);!s.eol()&&(r=i.token(s,n),t(s,n,r,l)!=="BREAK"););t(s,n,r,l),n.kind||(n=i.startState())}return{start:s.getStartOfToken(),end:s.getCurrentPosition(),string:s.current(),state:n,style:r}}var Pe;(function(e){e.TYPE_SYSTEM="TYPE_SYSTEM",e.EXECUTABLE="EXECUTABLE",e.UNKNOWN="UNKNOWN"})(Pe||(Pe={}));const oc=[G.SCHEMA_DEFINITION,G.OPERATION_TYPE_DEFINITION,G.SCALAR_TYPE_DEFINITION,G.OBJECT_TYPE_DEFINITION,G.INTERFACE_TYPE_DEFINITION,G.UNION_TYPE_DEFINITION,G.ENUM_TYPE_DEFINITION,G.INPUT_OBJECT_TYPE_DEFINITION,G.DIRECTIVE_DEFINITION,G.SCHEMA_EXTENSION,G.SCALAR_TYPE_EXTENSION,G.OBJECT_TYPE_EXTENSION,G.INTERFACE_TYPE_EXTENSION,G.UNION_TYPE_EXTENSION,G.ENUM_TYPE_EXTENSION,G.INPUT_OBJECT_TYPE_EXTENSION],uc=e=>{let t=Pe.UNKNOWN;if(e)try{jo(Zs(e),{enter(a){if(a.kind==="Document"){t=Pe.EXECUTABLE;return}return oc.includes(a.kind)?(t=Pe.TYPE_SYSTEM,Co):!1}})}catch{return t}return t};function cc(e,t){return t?.endsWith(".graphqls")?Pe.TYPE_SYSTEM:uc(e)}function fo(e,t,a=0){let i=null,n=null,r=null;const s=xt(e,(l,d,f,O)=>{if(!(O!==t.line||l.getCurrentPosition()+a<t.character+1))return i=f,n=Object.assign({},d),r=l.current(),"BREAK"});return{start:s.start,end:s.end,string:r||s.string,state:n||s.state,style:i||s.style}}function lc(e,t,a,i,n){const r=fo(e,t,1);if(!r)return null;const s=r.state.kind==="Invalid"?r.state.prevState:r.state;if(!s)return null;const l=Oo(a,r.state),d=n?.mode||cc(e,n?.uri);return{token:r,state:s,typeInfo:l,mode:d}}function fa(e,t,a){return a===ai.name&&e.getQueryType()===t?ai:a===si.name&&e.getQueryType()===t?si:a===oi.name&&En(t)?oi:"getFields"in t?t.getFields()[a]:null}function po(e,t){const a=[];let i=e;for(;i?.kind;)a.push(i),i=i.prevState;for(let n=a.length-1;n>=0;n--)t(a[n])}function fc(e){let t;return po(e,a=>{switch(a.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=a;break}}),t}function Oo(e,t){let a,i,n,r,s,l,d,f,O,c,o;return po(t,u=>{var p;switch(u.kind){case D.QUERY:case"ShortQuery":c=e.getQueryType();break;case D.MUTATION:c=e.getMutationType();break;case D.SUBSCRIPTION:c=e.getSubscriptionType();break;case D.INLINE_FRAGMENT:case D.FRAGMENT_DEFINITION:u.type&&(c=e.getType(u.type));break;case D.FIELD:case D.ALIASED_FIELD:{!c||!u.name?s=null:(s=O?fa(e,O,u.name):null,c=s?s.type:null);break}case D.SELECTION_SET:O=ye(c);break;case D.DIRECTIVE:n=u.name?e.getDirective(u.name):null;break;case D.INTERFACE_DEF:u.name&&(d=null,o=new Qe({name:u.name,interfaces:[],fields:{}}));break;case D.OBJECT_TYPE_DEF:u.name&&(o=null,d=new De({name:u.name,interfaces:[],fields:{}}));break;case D.ARGUMENTS:{if(u.prevState)switch(u.prevState.kind){case D.FIELD:i=s&&s.args;break;case D.DIRECTIVE:i=n&&n.args;break;case D.ALIASED_FIELD:{const _=(p=u.prevState)===null||p===void 0?void 0:p.name;if(!_){i=null;break}const I=O?fa(e,O,_):null;if(!I){i=null;break}i=I.args;break}default:i=null;break}else i=null;break}case D.ARGUMENT:if(i){for(let _=0;_<i.length;_++)if(i[_].name===u.name){a=i[_];break}}l=a?.type;break;case D.VARIABLE_DEFINITION:case D.VARIABLE:c=l;break;case D.ENUM_VALUE:const T=ye(l);r=T instanceof _n?T.getValues().find(_=>_.value===u.name):null;break;case D.LIST_VALUE:const v=io(l);l=v instanceof Li?v.ofType:null;break;case D.OBJECT_VALUE:const m=ye(l);f=m instanceof sn?m.getFields():null;break;case D.OBJECT_FIELD:const h=u.name&&f?f[u.name]:null;l=h?.type,s=h,c=s?s.type:null;break;case D.NAMED_TYPE:u.name&&(c=e.getType(u.name));break}}),{argDef:a,argDefs:i,directiveDef:n,enumValue:r,fieldDef:s,inputType:l,objectFieldDefs:f,parentType:O,type:c,interfaceDef:o,objectTypeDef:d}}const dc={ALIASED_FIELD:"AliasedField",ARGUMENTS:"Arguments",SHORT_QUERY:"ShortQuery",QUERY:"Query",MUTATION:"Mutation",SUBSCRIPTION:"Subscription",TYPE_CONDITION:"TypeCondition",INVALID:"Invalid",COMMENT:"Comment",SCHEMA_DEF:"SchemaDef",SCALAR_DEF:"ScalarDef",OBJECT_TYPE_DEF:"ObjectTypeDef",OBJECT_VALUE:"ObjectValue",LIST_VALUE:"ListValue",INTERFACE_DEF:"InterfaceDef",UNION_DEF:"UnionDef",ENUM_DEF:"EnumDef",ENUM_VALUE:"EnumValue",FIELD_DEF:"FieldDef",INPUT_DEF:"InputDef",INPUT_VALUE_DEF:"InputValueDef",ARGUMENTS_DEF:"ArgumentsDef",EXTEND_DEF:"ExtendDef",EXTENSION_DEFINITION:"ExtensionDefinition",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type",VARIABLE:"Variable"},D=Object.assign(Object.assign({},G),dc);var X;(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})(X||(X={}));const Si={command:"editor.action.triggerSuggest",title:"Suggestions"},pc=e=>[];function Oc(e,t,a,i,n,r){var s;const l=Object.assign(Object.assign({},r),{schema:e}),d=lc(t,a,e,i,r);if(!d)return[];const{state:f,typeInfo:O,mode:c,token:o}=d,{kind:u,step:p,prevState:T}=f;if(u===D.DOCUMENT)return c===Pe.TYPE_SYSTEM?Tc(o):c===Pe.EXECUTABLE?vc(o):mc(o);if(u===D.EXTEND_DEF)return hc(o);if(((s=T?.prevState)===null||s===void 0?void 0:s.kind)===D.EXTENSION_DEFINITION&&f.name)return ne(o,[]);if(T?.kind===G.SCALAR_TYPE_EXTENSION)return ne(o,Object.values(e.getTypeMap()).filter(Ri).map(m=>({label:m.name,kind:X.Function})));if(T?.kind===G.OBJECT_TYPE_EXTENSION)return ne(o,Object.values(e.getTypeMap()).filter(m=>he(m)&&!m.name.startsWith("__")).map(m=>({label:m.name,kind:X.Function})));if(T?.kind===G.INTERFACE_TYPE_EXTENSION)return ne(o,Object.values(e.getTypeMap()).filter(Ee).map(m=>({label:m.name,kind:X.Function})));if(T?.kind===G.UNION_TYPE_EXTENSION)return ne(o,Object.values(e.getTypeMap()).filter(bi).map(m=>({label:m.name,kind:X.Function})));if(T?.kind===G.ENUM_TYPE_EXTENSION)return ne(o,Object.values(e.getTypeMap()).filter(m=>Nn(m)&&!m.name.startsWith("__")).map(m=>({label:m.name,kind:X.Function})));if(T?.kind===G.INPUT_OBJECT_TYPE_EXTENSION)return ne(o,Object.values(e.getTypeMap()).filter(Ie).map(m=>({label:m.name,kind:X.Function})));if(u===D.IMPLEMENTS||u===D.NAMED_TYPE&&T?.kind===D.IMPLEMENTS)return gc(o,f,e,t,O);if(u===D.SELECTION_SET||u===D.FIELD||u===D.ALIASED_FIELD)return yc(o,O,l);if(u===D.ARGUMENTS||u===D.ARGUMENT&&p===0){const{argDefs:m}=O;if(m)return ne(o,m.map(h=>{var _;return{label:h.name,insertText:cr(h.name+": ",h.type),insertTextMode:qe.adjustIndentation,insertTextFormat:en.Snippet,command:Si,labelDetails:{detail:" "+String(h.type)},documentation:(_=h.description)!==null&&_!==void 0?_:void 0,kind:X.Variable,type:h.type}}))}if((u===D.OBJECT_VALUE||u===D.OBJECT_FIELD&&p===0)&&O.objectFieldDefs){const m=Me(O.objectFieldDefs),h=u===D.OBJECT_VALUE?X.Value:X.Field;return ne(o,m.map(_=>{var I;return{label:_.name,detail:String(_.type),documentation:(I=_?.description)!==null&&I!==void 0?I:void 0,kind:h,type:_.type,insertText:cr(_.name+": ",_.type),insertTextMode:qe.adjustIndentation,insertTextFormat:en.Snippet,command:Si}}))}if(u===D.ENUM_VALUE||u===D.LIST_VALUE&&p===1||u===D.OBJECT_FIELD&&p===2||u===D.ARGUMENT&&p===2)return Ec(o,O,t,e);if(u===D.VARIABLE&&p===1){const m=ye(O.inputType),h=vo(t,e,o);return ne(o,h.filter(_=>_.detail===m?.name))}if(u===D.TYPE_CONDITION&&p===1||u===D.NAMED_TYPE&&T!=null&&T.kind===D.TYPE_CONDITION)return Nc(o,O,e);if(u===D.FRAGMENT_SPREAD&&p===1)return _c(o,O,e,t,Array.isArray(n)?n:pc());const v=mo(f);return v.kind===D.FIELD_DEF?ne(o,Object.values(e.getTypeMap()).filter(m=>Tu(m)&&!m.name.startsWith("__")).map(m=>({label:m.name,kind:X.Function,insertText:r?.fillLeafsOnComplete?m.name+`
9
+ `:m.name,insertTextMode:qe.adjustIndentation}))):v.kind===D.INPUT_VALUE_DEF&&p===2?ne(o,Object.values(e.getTypeMap()).filter(m=>ao(m)&&!m.name.startsWith("__")).map(m=>({label:m.name,kind:X.Function,insertText:r?.fillLeafsOnComplete?m.name+`
10
+ $1`:m.name,insertTextMode:qe.adjustIndentation,insertTextFormat:en.Snippet}))):u===D.VARIABLE_DEFINITION&&p===2||u===D.LIST_TYPE&&p===1||u===D.NAMED_TYPE&&T&&(T.kind===D.VARIABLE_DEFINITION||T.kind===D.LIST_TYPE||T.kind===D.NON_NULL_TYPE)?Ic(o,e):u===D.DIRECTIVE?bc(o,f,e):u===D.DIRECTIVE_DEF?Rc(o,f,e):[]}const Di=[{label:"type",kind:X.Function},{label:"interface",kind:X.Function},{label:"union",kind:X.Function},{label:"input",kind:X.Function},{label:"scalar",kind:X.Function},{label:"schema",kind:X.Function}],To=[{label:"query",kind:X.Function},{label:"mutation",kind:X.Function},{label:"subscription",kind:X.Function},{label:"fragment",kind:X.Function},{label:"{",kind:X.Constructor}];function Tc(e){return ne(e,[{label:"extend",kind:X.Function},...Di])}function vc(e){return ne(e,To)}function mc(e){return ne(e,[{label:"extend",kind:X.Function},...To,...Di])}function hc(e){return ne(e,Di)}function yc(e,t,a){var i;if(t.parentType){const{parentType:n}=t;let r=[];return"getFields"in n&&(r=Me(n.getFields())),En(n)&&r.push(oi),n===((i=a?.schema)===null||i===void 0?void 0:i.getQueryType())&&r.push(ai,si),ne(e,r.map((s,l)=>{var d;const f={sortText:String(l)+s.name,label:s.name,detail:String(s.type),documentation:(d=s.description)!==null&&d!==void 0?d:void 0,deprecated:!!s.deprecationReason,isDeprecated:!!s.deprecationReason,deprecationReason:s.deprecationReason,kind:X.Field,labelDetails:{detail:" "+s.type.toString()},type:s.type};return a?.fillLeafsOnComplete&&(f.insertText=Ju(s),f.insertText||(f.insertText=Ut(s.name,s.type,s.name+(e.state.needsAdvance?"":`
11
+ `))),f.insertText&&(f.insertTextFormat=en.Snippet,f.insertTextMode=qe.adjustIndentation,f.command=Si)),f}))}return[]}function Ec(e,t,a,i){const n=ye(t.inputType),r=vo(a,i,e).filter(s=>s.detail===n?.name);if(n instanceof _n){const s=n.getValues();return ne(e,s.map(l=>{var d;return{label:l.name,detail:String(n),documentation:(d=l.description)!==null&&d!==void 0?d:void 0,deprecated:!!l.deprecationReason,isDeprecated:!!l.deprecationReason,deprecationReason:l.deprecationReason,kind:X.EnumMember,type:n}}).concat(r))}return n===$e?ne(e,r.concat([{label:"true",detail:String($e),documentation:"Not false.",kind:X.Variable,type:$e},{label:"false",detail:String($e),documentation:"Not true.",kind:X.Variable,type:$e}])):r}function gc(e,t,a,i,n){if(t.needsSeparator)return[];const r=a.getTypeMap(),s=Me(r).filter(Ee),l=s.map(({name:u})=>u),d=new Set;xt(i,(u,p)=>{var T,v,m,h,_;if(p.name&&(p.kind===D.INTERFACE_DEF&&!l.includes(p.name)&&d.add(p.name),p.kind===D.NAMED_TYPE&&((T=p.prevState)===null||T===void 0?void 0:T.kind)===D.IMPLEMENTS)){if(n.interfaceDef){if((v=n.interfaceDef)===null||v===void 0?void 0:v.getInterfaces().find(({name:q})=>q===p.name))return;const y=a.getType(p.name),P=(m=n.interfaceDef)===null||m===void 0?void 0:m.toConfig();n.interfaceDef=new Qe(Object.assign(Object.assign({},P),{interfaces:[...P.interfaces,y||new Qe({name:p.name,fields:{}})]}))}else if(n.objectTypeDef){if((h=n.objectTypeDef)===null||h===void 0?void 0:h.getInterfaces().find(({name:q})=>q===p.name))return;const y=a.getType(p.name),P=(_=n.objectTypeDef)===null||_===void 0?void 0:_.toConfig();n.objectTypeDef=new De(Object.assign(Object.assign({},P),{interfaces:[...P.interfaces,y||new Qe({name:p.name,fields:{}})]}))}}});const f=n.interfaceDef||n.objectTypeDef,c=(f?.getInterfaces()||[]).map(({name:u})=>u),o=s.concat([...d].map(u=>({name:u}))).filter(({name:u})=>u!==f?.name&&!c.includes(u));return ne(e,o.map(u=>{const p={label:u.name,kind:X.Interface,type:u};return u?.description&&(p.documentation=u.description),p}))}function Nc(e,t,a,i){let n;if(t.parentType)if(ro(t.parentType)){const r=vu(t.parentType),s=a.getPossibleTypes(r),l=Object.create(null);for(const d of s)for(const f of d.getInterfaces())l[f.name]=f;n=s.concat(Me(l))}else n=[t.parentType];else{const r=a.getTypeMap();n=Me(r).filter(s=>En(s)&&!s.name.startsWith("__"))}return ne(e,n.map(r=>{const s=ye(r);return{label:String(r),documentation:s?.description||"",kind:X.Field}}))}function _c(e,t,a,i,n){if(!i)return[];const r=a.getTypeMap(),s=fc(e.state),l=Qc(i);n&&n.length>0&&l.push(...n);const d=l.filter(f=>r[f.typeCondition.name.value]&&!(s&&s.kind===D.FRAGMENT_DEFINITION&&s.name===f.name.value)&&En(t.parentType)&&En(r[f.typeCondition.name.value])&&mu(a,t.parentType,r[f.typeCondition.name.value]));return ne(e,d.map(f=>({label:f.name.value,detail:String(r[f.typeCondition.name.value]),documentation:`fragment ${f.name.value} on ${f.typeCondition.name.value}`,labelDetails:{detail:`fragment ${f.name.value} on ${f.typeCondition.name.value}`},kind:X.Field,type:r[f.typeCondition.name.value]})))}const Sc=(e,t)=>{var a,i,n,r,s,l,d,f,O,c;if(((a=e.prevState)===null||a===void 0?void 0:a.kind)===t)return e.prevState;if(((n=(i=e.prevState)===null||i===void 0?void 0:i.prevState)===null||n===void 0?void 0:n.kind)===t)return e.prevState.prevState;if(((l=(s=(r=e.prevState)===null||r===void 0?void 0:r.prevState)===null||s===void 0?void 0:s.prevState)===null||l===void 0?void 0:l.kind)===t)return e.prevState.prevState.prevState;if(((c=(O=(f=(d=e.prevState)===null||d===void 0?void 0:d.prevState)===null||f===void 0?void 0:f.prevState)===null||O===void 0?void 0:O.prevState)===null||c===void 0?void 0:c.kind)===t)return e.prevState.prevState.prevState.prevState};function vo(e,t,a){let i=null,n;const r=Object.create({});return xt(e,(s,l)=>{var d;if(l?.kind===D.VARIABLE&&l.name&&(i=l.name),l?.kind===D.NAMED_TYPE&&i){const f=Sc(l,D.TYPE);f?.type&&(n=t.getType(f?.type))}if(i&&n&&!r[i]){const f=a.string==="$"||((d=a?.state)===null||d===void 0?void 0:d.kind)==="Variable"?i:"$"+i;r[i]={detail:n.toString(),insertText:f,label:"$"+i,rawInsert:f,type:n,kind:X.Variable},i=null,n=null}}),Me(r)}function Qc(e){const t=[];return xt(e,(a,i)=>{i.kind===D.FRAGMENT_DEFINITION&&i.name&&i.type&&t.push({kind:D.FRAGMENT_DEFINITION,name:{kind:G.NAME,value:i.name},selectionSet:{kind:D.SELECTION_SET,selections:[]},typeCondition:{kind:D.NAMED_TYPE,name:{kind:G.NAME,value:i.type}}})}),t}function Ic(e,t,a){const i=t.getTypeMap(),n=Me(i).filter(ao);return ne(e,n.map(r=>({label:r.name,documentation:r?.description||"",kind:X.Variable})))}function bc(e,t,a,i){var n;if(!((n=t.prevState)===null||n===void 0)&&n.kind){const r=a.getDirectives().filter(s=>Lc(t.prevState,s));return ne(e,r.map(s=>({label:s.name,documentation:s?.description||"",kind:X.Function})))}return[]}function Rc(e,t,a,i){const n=a.getDirectives().find(r=>r.name===t.name);return ne(e,n?.args.map(r=>({label:r.name,documentation:r.description||"",kind:X.Field}))||[])}function Lc(e,t){if(!e?.kind)return!1;const{kind:a,prevState:i}=e,{locations:n}=t;switch(a){case D.QUERY:return n.includes(fe.QUERY);case D.MUTATION:return n.includes(fe.MUTATION);case D.SUBSCRIPTION:return n.includes(fe.SUBSCRIPTION);case D.FIELD:case D.ALIASED_FIELD:return n.includes(fe.FIELD);case D.FRAGMENT_DEFINITION:return n.includes(fe.FRAGMENT_DEFINITION);case D.FRAGMENT_SPREAD:return n.includes(fe.FRAGMENT_SPREAD);case D.INLINE_FRAGMENT:return n.includes(fe.INLINE_FRAGMENT);case D.SCHEMA_DEF:return n.includes(fe.SCHEMA);case D.SCALAR_DEF:return n.includes(fe.SCALAR);case D.OBJECT_TYPE_DEF:return n.includes(fe.OBJECT);case D.FIELD_DEF:return n.includes(fe.FIELD_DEFINITION);case D.INTERFACE_DEF:return n.includes(fe.INTERFACE);case D.UNION_DEF:return n.includes(fe.UNION);case D.ENUM_DEF:return n.includes(fe.ENUM);case D.ENUM_VALUE:return n.includes(fe.ENUM_VALUE);case D.INPUT_DEF:return n.includes(fe.INPUT_OBJECT);case D.INPUT_VALUE_DEF:switch(i?.kind){case D.ARGUMENTS_DEF:return n.includes(fe.ARGUMENT_DEFINITION);case D.INPUT_DEF:return n.includes(fe.INPUT_FIELD_DEFINITION)}}return!1}function mo(e){return e.prevState&&e.kind&&[D.NAMED_TYPE,D.LIST_TYPE,D.TYPE,D.NON_NULL_TYPE].includes(e.kind)?mo(e.prevState):e}class ho{constructor(t,a){this.containsPosition=i=>this.start.line===i.line?this.start.character<=i.character:this.end.line===i.line?this.end.character>=i.character:this.start.line<=i.line&&this.end.line>=i.line,this.start=t,this.end=a}setStart(t,a){this.start=new an(t,a)}setEnd(t,a){this.end=new an(t,a)}}let an=class{constructor(t,a){this.lessThanOrEqualTo=i=>this.line<i.line||this.line===i.line&&this.character<=i.character,this.line=t,this.character=a}setLine(t){this.line=t}setCharacter(t){this.character=t}};function Pc(e,t,a,i,n){const r=hu.filter(l=>!(l===yu||l===Eu));return so(e,t,r).filter(l=>{if(l.message.includes("Unknown directive")&&l.nodes){const d=l.nodes[0];if(d&&d.kind===G.DIRECTIVE){const f=d.name.value;if(f==="arguments"||f==="argumentDefinitions")return!1}}return!0})}const da={Error:"Error",Warning:"Warning"},Qi={[da.Error]:1,[da.Warning]:2},jt=(e,t)=>{if(!e)throw new Error(t)};function Dc(e,t=null,a,i,n){var r,s;let l=null;const d=e;try{l=Zs(d)}catch(f){if(f instanceof Le){const O=Ac((s=(r=f.locations)===null||r===void 0?void 0:r[0])!==null&&s!==void 0?s:{line:0},d);return[{severity:Qi.Error,message:f.message,source:"GraphQL: Syntax",range:O}]}throw f}return kc(l,t)}function kc(e,t=null,a,i){if(!t)return[];const n=Pc(t,e).flatMap(s=>pa(s,Qi.Error,"Validation")),r=so(t,e,[Ru]).flatMap(s=>pa(s,Qi.Warning,"Deprecation"));return n.concat(r)}function pa(e,t,a){if(!e.nodes)return[];const i=[];for(const[n,r]of e.nodes.entries()){const s=r.kind!=="Variable"&&"name"in r&&r.name!==void 0?r.name:"variable"in r&&r.variable!==void 0?r.variable:r;if(s){jt(e.locations,"GraphQL validation error requires locations.");const l=e.locations[n],d=Vc(s),f=l.column+(d.end-d.start);i.push({source:`GraphQL: ${a}`,message:e.message,severity:t,range:new ho(new an(l.line-1,l.column-1),new an(l.line-1,f))})}}return i}function Ac(e,t){const a=lo(),i=a.startState(),n=t.split(`
12
+ `);jt(n.length>=e.line,"Query text must have more lines than where the error happened");let r=null;for(let f=0;f<e.line;f++)for(r=new Ni(n[f]);!r.eol()&&a.token(r,i)!=="invalidchar";);jt(r,"Expected Parser stream to be available.");const s=e.line-1,l=r.getStartOfToken(),d=r.getCurrentPosition();return new ho(new an(s,l),new an(s,d))}function Vc(e){const a=e.loc;return jt(a,"Expected ASTNode to have a location."),a}function Oa(e,t){return e.line(t.line+1).from+t.character}function yo(e,t){const a=e.lineAt(t);return new Ii(a.number-1,t-a.from)}class Ii{constructor(t,a){this.line=t,this.character=a}setLine(t){this.line=t}setCharacter(t){this.character=t}lessThanOrEqualTo(t){return this.line<t.line||this.line===t.line&&this.character<=t.character}}const Uc=()=>navigator.userAgent.includes("Mac"),Fc=e=>Uc()?e.metaKey:e.ctrlKey,wc=Hs.define(),Ct=zs.define({create(){},update(e,t){for(const a of t.effects)if(a.is(wc))return a.value;return e}}),$c=Hs.define(),Gt=zs.define({create(){},update(e,t){for(const a of t.effects)if(a.is($c))return a.value;return e}}),ki=e=>e.field(Ct),Ai=e=>e.field(Gt),qc={showErrorOnInvalidSchema:!0},Mc=(e,t)=>[Ct.init(()=>e),Gt.init(()=>Object.assign(Object.assign({},qc),t))],jc={__proto__:null,query:241,mutation:243,subscription:245,on:86,fragment:92,schema:102,scalar:114,type:120,implements:126,interface:140,union:146,enum:154,input:164,directive:172,repeatable:176,extend:192},Cc=Xo.deserialize({version:14,states:"LWOYQPOOO!WQPO'#C}O!`QPO'#C_OOQO'#C_'#C_O!iQPO'#DYOOQO'#Ev'#EvOOQO'#D_'#D_O!nQPO'#D^O#_QPO'#D^O!iQPO'#DhO!iQPO'#DrO!iQPO'#DuO!iQPO'#DyO!iQPO'#EOOOQO'#Dd'#DdO#fQPO'#ESOOQO'#D]'#D]O!vQPO'#E^OOQO'#Ea'#EaOOQO'#E]'#E]OOQO'#FT'#FTOOQO'#Eu'#EuOOQO'#Eh'#EhQYQPOOOOQO'#C`'#C`OOQO'#DZ'#DZOOQO'#D`'#D`OOQO'#Di'#DiOOQO'#Ds'#DsOOQO'#Dv'#DvOOQO'#Dz'#DzOOQO'#EP'#EPOOQO'#ET'#ETOOQO'#E_'#E_O#kQPO'#CaO$VQPO'#DQO$[QPO'#DPO$sQPO'#DPO$xQPO'#DSO%WQPO'#DOOOQO'#En'#EnO%fQPO,59iOOQO'#Ca'#CaO%qQPO'#CxOOQO'#El'#ElO'hQPO'#CwO)[QPO'#CdOOQO,58y,58yO)aQPO,58yO)fQPO,58yO)nQPO,58yOOQO'#DT'#DTO)yQPO,59tO{QPO'#FUOOQO'#Db'#DbOOQO,59x,59xO*OQPO,59xO!nQPO,59xO!iQPO,5:PO!iQPO,5:SO!iQPO,5:^O!iQPO,5:aO!iQPO,5:eO!iQPO,5:jO*TQPO,5:nOOQO'#Df'#DfO*YQPO,5:SO+aQPO,5:^O,hQPO,5:aO-oQPO,5:eO.sQPO,5:jO/wQPO,5:n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yT%f$Q%cQ%b#uR&o%bTfOgTeOgQ&U$kQ&r%dQ'S&RQ'^&eQ'd&sQ'v'_R(S'wQ'Q%{S'h&}'iQ'q'UR(U'}T'l'O'm]!WV!Y!Z!j#`$W}#k!d!e#b#c#h#m#o#q$Y$Z$v$x$y${%o%q%r%t&Z&]&w&y]#v!g#e#x$]%P%x]#z!h#f#|$^%R%z",nodeNames:"⚠ Comment Document OperationDefinition OperationType Name ) ( VariableDefinitions VariableDefinition Variable NamedType ] [ ListType NonNullType DefaultValue IntValue FloatValue StringValue BooleanValue NullValue EnumValue ListValue } { ObjectValue Directives Directive DirectiveName Arguments Argument ArgumentAttributeName SelectionSet Selection Field Alias FieldName FragmentSpread FragmentName InlineFragment TypeCondition OnKeyword on FragmentDefinition FragmentKeyword fragment TypeSystemDefinition SchemaDefinition Description SchemaKeyword schema RootTypeDefinition RootOperationTypeDefinition TypeDefinition ScalarTypeDefinition ScalarKeyword scalar ObjectTypeDefinition TypeKeyword type ImplementsInterfaces ImplementsKeyword implements FieldsDefinition FieldDefinition ArgumentsDefinition InputValueDefinition InterfaceTypeDefinition InterfaceKeyword interface UnionTypeDefinition UnionKeyword union UnionMemberTypes EnumTypeDefinition EnumKeyword enum EnumValuesDefinition EnumValueDefinition InputObjectTypeDefinition InputKeyword input InputFieldsDefinition DirectiveDefinition DirectiveKeyword directive RepeatableKeyword repeatable DirectiveLocations DirectiveLocation ExecutableDirectiveLocation TypeSystemDirectiveLocation TypeSystemExtension SchemaExtension ExtendKeyword extend TypeExtension ScalarTypeExtension ObjectTypeExtension InterfaceTypeExtension UnionTypeExtension EnumTypeExtension InputObjectTypeExtension",maxTerm:156,nodeProps:[["openedBy",6,"(",12,"[",24,"{"],["closedBy",7,")",13,"]",25,"}"]],skippedNodes:[0,1],repeatNodeCount:10,tokenData:"#Ci~R!XX^$npq$nqr%crs%hst4ptu4{vw5jxy5oyz5t|}5y}!O6O!O!P7g!Q![6U![!]7x!_!`7}!b!c8S!c!d8q!d!g9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aO]~~#=fO[~R#=mT#kPfQ!Q![9[!c!}9[#R#S9[#T#U#=|#U#o9[R#>TU#kPfQ!Q![9[!c!}9[#R#S9[#T#`9[#`#a#>g#a#o9[R#>nU#kPfQ!Q![9[!c!}9[#R#S9[#T#g9[#g#h#?Q#h#o9[R#?XU#kPfQ!Q![9[!c!}9[#R#S9[#T#X9[#X#Y#?k#Y#o9[R#?tS#kPdQfQ!Q![9[!c!}9[#R#S9[#T#o9[R#@XU#kPfQ!Q![9[!c!}9[#R#S9[#T#i9[#i#j#@k#j#o9[R#@rU#kPfQ!Q![9[!c!}9[#R#S9[#T#`9[#`#a#AU#a#o9[R#A]U#kPfQ!Q![9[!c!}9[#R#S9[#T#`9[#`#a#Ao#a#o9[R#AxS#kPeQfQ!Q![9[!c!}9[#R#S9[#T#o9[R#B]U#kPfQ!Q![9[!c!}9[#R#S9[#T#f9[#f#g#Bo#g#o9[R#BvU#kPfQ!Q![9[!c!}9[#R#S9[#T#i9[#i#j#?Q#j#o9[~#C_Oi~~#CdO#{~~#CiOh~",tokenizers:[0,1,2],topRules:{Document:[0,2]},specialized:[{term:119,get:e=>jc[e]||-1}],tokenPrec:2989}),Ta="RootTypeDefinition InputFieldsDefinition EnumValuesDefinition FieldsDefinition SelectionSet { }",Gc="scalar type interface union enum input implements fragment extend schema directive on repeatable",xc="( ) { } : [ ]",Eo=xo.define({parser:Cc.configure({props:[Bo({Variable:se.variableName,BooleanValue:se.bool,Description:se.string,StringValue:se.string,Comment:se.lineComment,IntValue:se.integer,FloatValue:se.float,EnumValue:se.special(se.name),NullValue:se.null,DirectiveName:se.modifier,[Gc]:se.keyword,OperationType:se.definitionKeyword,FieldName:se.propertyName,Field:se.propertyName,ArgumentAttributeName:se.attributeName,Name:se.atom,"( )":se.paren,"{ }":se.brace,",":se.separator,[xc]:se.punctuation}),Ko.add({[Ta]:Wo({closing:"}",align:!0})}),Zo.add({[Ta]:Jo})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*(\{|\})$/}});function Yc(){return new Yo(Eo)}const Xc=/^[a-zA-Z0-9_@(]$/,Bc=Eo.data.of({autocomplete(e){const t=ki(e.state),a=Ai(e.state);if(!t)return null;const i=e.matchBefore(/\w*/);if(!i)return null;const n=i.text.split("").pop();if(!Xc.test(n)&&!e.explicit)return null;const r=e.state.doc.toString(),s=yo(e.state.doc,e.pos),l=Oc(t,r,s,void 0,void 0,a?.autocompleteOptions);return l.length===0?null:{from:i.from,options:l.map(d=>({label:d.label,detail:d.detail||"",info(f){if(a?.onCompletionInfoRender)return a.onCompletionInfoRender(d,e,f);if(d.documentation||d.isDeprecated&&d.deprecationReason){const O=document.createElement("div");return O.textContent=d.documentation||d.deprecationReason||"",O}}}))}}}),Kc=Js.domEventHandlers({click(e,t){var a,i,n;const r=ki(t.state);if(!r)return;const s=t.state.selection.main.head,l=yo(t.state.doc,s),d=fo(t.state.doc.toString(),l),f=Oo(r,d.state),O=Ai(t.state);O?.onShowInDocs&&Fc(e)&&O.onShowInDocs((a=f.fieldDef)===null||a===void 0?void 0:a.name,(i=f.type)===null||i===void 0?void 0:i.toString(),(n=f.parentType)===null||n===void 0?void 0:n.toString())}}),Zc=["error","warning","info"],Wc=Ws(e=>{const t=ki(e.state),a=Ai(e.state);if(!t)return[];const i=gu(t);if(i.length){if(!a?.showErrorOnInvalidSchema)return[];const r=i.map(s=>s.message);return[{from:0,to:e.state.doc.length,severity:"error",message:r.join(`
13
+ `),actions:[]}]}return Dc(e.state.doc.toString(),t).map(r=>{if(!r.severity||!r.source)return null;const s=Oa(e.state.doc,new Ii(r.range.start.line,r.range.start.character)),l=Math.max(0,Math.min(s,e.state.doc.length)),d=Oa(e.state.doc,new Ii(r.range.end.line,r.range.end.character-1)),f=Math.min(Math.max(l+1,d),e.state.doc.length);return{from:l,to:l===f?f+1:f,severity:Zc[r.severity-1],message:r.message,actions:[]}}).filter(r=>!!r)},{needsRefresh(e){return e.startState.field(Ct)!==e.state.field(Ct)||e.startState.field(Gt)!==e.state.field(Gt)}});function va(e,t){return[Yc(),Bc,Wc,Kc,Mc(e,t)]}var Ue={},Ln={},ma;function on(){if(ma)return Ln;ma=1,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.devAssert=e;function e(t,a){if(!!!t)throw new Error(a)}return Ln}var Fe={},Pn={},ha;function je(){if(ha)return Pn;ha=1,Object.defineProperty(Pn,"__esModule",{value:!0}),Pn.isObjectLike=e;function e(t){return typeof t=="object"&&t!==null}return Pn}var Dn={},kn={},ya;function ke(){if(ya)return kn;ya=1,Object.defineProperty(kn,"__esModule",{value:!0}),kn.invariant=e;function e(t,a){if(!!!t)throw new Error(a??"Unexpected invariant triggered.")}return kn}var Ea;function go(){if(Ea)return Dn;Ea=1,Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.getLocation=a;var e=ke();const t=/\r\n|[\n\r]/g;function a(i,n){let r=0,s=1;for(const l of i.body.matchAll(t)){if(typeof l.index=="number"||(0,e.invariant)(!1),l.index>=n)break;r=l.index+l[0].length,s+=1}return{line:s,column:n+1-r}}return Dn}var fn={},ga;function Jc(){if(ga)return fn;ga=1,Object.defineProperty(fn,"__esModule",{value:!0}),fn.printLocation=t,fn.printSourceLocation=a;var e=go();function t(n){return a(n.source,(0,e.getLocation)(n.source,n.start))}function a(n,r){const s=n.locationOffset.column-1,l="".padStart(s)+n.body,d=r.line-1,f=n.locationOffset.line-1,O=r.line+f,c=r.line===1?s:0,o=r.column+c,u=`${n.name}:${O}:${o}
14
+ `,p=l.split(/\r\n|[\n\r]/g),T=p[d];if(T.length>120){const v=Math.floor(o/80),m=o%80,h=[];for(let _=0;_<T.length;_+=80)h.push(T.slice(_,_+80));return u+i([[`${O} |`,h[0]],...h.slice(1,v+1).map(_=>["|",_]),["|","^".padStart(m)],["|",h[v+1]]])}return u+i([[`${O-1} |`,p[d-1]],[`${O} |`,T],["|","^".padStart(o)],[`${O+1} |`,p[d+1]]])}function i(n){const r=n.filter(([l,d])=>d!==void 0),s=Math.max(...r.map(([l])=>l.length));return r.map(([l,d])=>l.padStart(s)+(d?" "+d:"")).join(`
15
+ `)}return fn}var Na;function Y(){if(Na)return Fe;Na=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.GraphQLError=void 0,Fe.formatError=l,Fe.printError=s;var e=je(),t=go(),a=Jc();function i(d){const f=d[0];return f==null||"kind"in f||"length"in f?{nodes:f,source:d[1],positions:d[2],path:d[3],originalError:d[4],extensions:d[5]}:f}let n=class No extends Error{constructor(f,...O){var c,o,u;const{nodes:p,source:T,positions:v,path:m,originalError:h,extensions:_}=i(O);super(f),this.name="GraphQLError",this.path=m??void 0,this.originalError=h??void 0,this.nodes=r(Array.isArray(p)?p:p?[p]:void 0);const I=r((c=this.nodes)===null||c===void 0?void 0:c.map(P=>P.loc).filter(P=>P!=null));this.source=T??(I==null||(o=I[0])===null||o===void 0?void 0:o.source),this.positions=v??I?.map(P=>P.start),this.locations=v&&T?v.map(P=>(0,t.getLocation)(T,P)):I?.map(P=>(0,t.getLocation)(P.source,P.start));const y=(0,e.isObjectLike)(h?.extensions)?h?.extensions:void 0;this.extensions=(u=_??y)!==null&&u!==void 0?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),h!=null&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,No):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let f=this.message;if(this.nodes)for(const O of this.nodes)O.loc&&(f+=`
16
+
17
+ `+(0,a.printLocation)(O.loc));else if(this.source&&this.locations)for(const O of this.locations)f+=`
18
+
19
+ `+(0,a.printSourceLocation)(this.source,O);return f}toJSON(){const f={message:this.message};return this.locations!=null&&(f.locations=this.locations),this.path!=null&&(f.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(f.extensions=this.extensions),f}};Fe.GraphQLError=n;function r(d){return d===void 0||d.length===0?void 0:d}function s(d){return d.toString()}function l(d){return d.toJSON()}return Fe}var Ne={},An={},_a;function le(){if(_a)return An;_a=1,Object.defineProperty(An,"__esModule",{value:!0}),An.inspect=a;const e=10,t=2;function a(f){return i(f,[])}function i(f,O){switch(typeof f){case"string":return JSON.stringify(f);case"function":return f.name?`[function ${f.name}]`:"[function]";case"object":return n(f,O);default:return String(f)}}function n(f,O){if(f===null)return"null";if(O.includes(f))return"[Circular]";const c=[...O,f];if(r(f)){const o=f.toJSON();if(o!==f)return typeof o=="string"?o:i(o,c)}else if(Array.isArray(f))return l(f,c);return s(f,c)}function r(f){return typeof f.toJSON=="function"}function s(f,O){const c=Object.entries(f);return c.length===0?"{}":O.length>t?"["+d(f)+"]":"{ "+c.map(([u,p])=>u+": "+i(p,O)).join(", ")+" }"}function l(f,O){if(f.length===0)return"[]";if(O.length>t)return"[Array]";const c=Math.min(e,f.length),o=f.length-c,u=[];for(let p=0;p<c;++p)u.push(i(f[p],O));return o===1?u.push("... 1 more item"):o>1&&u.push(`... ${o} more items`),"["+u.join(", ")+"]"}function d(f){const O=Object.prototype.toString.call(f).replace(/^\[object /,"").replace(/]$/,"");if(O==="Object"&&typeof f.constructor=="function"){const c=f.constructor.name;if(typeof c=="string"&&c!=="")return c}return O}return An}var Te={},Sa;function Qn(){if(Sa)return Te;Sa=1,Object.defineProperty(Te,"__esModule",{value:!0}),Te.Token=Te.QueryDocumentKeys=Te.OperationTypeNode=Te.Location=void 0,Te.isNode=n;class e{constructor(l,d,f){this.start=l.start,this.end=d.end,this.startToken=l,this.endToken=d,this.source=f}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}Te.Location=e;class t{constructor(l,d,f,O,c,o){this.kind=l,this.start=d,this.end=f,this.line=O,this.column=c,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}Te.Token=t;const a={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]};Te.QueryDocumentKeys=a;const i=new Set(Object.keys(a));function n(s){const l=s?.kind;return typeof l=="string"&&i.has(l)}var r;return Te.OperationTypeNode=r,(function(s){s.QUERY="query",s.MUTATION="mutation",s.SUBSCRIPTION="subscription"})(r||(Te.OperationTypeNode=r={})),Te}var Ke={},Qa;function te(){if(Qa)return Ke;Qa=1,Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.Kind=void 0;var e;return Ke.Kind=e,(function(t){t.NAME="Name",t.DOCUMENT="Document",t.OPERATION_DEFINITION="OperationDefinition",t.VARIABLE_DEFINITION="VariableDefinition",t.SELECTION_SET="SelectionSet",t.FIELD="Field",t.ARGUMENT="Argument",t.FRAGMENT_SPREAD="FragmentSpread",t.INLINE_FRAGMENT="InlineFragment",t.FRAGMENT_DEFINITION="FragmentDefinition",t.VARIABLE="Variable",t.INT="IntValue",t.FLOAT="FloatValue",t.STRING="StringValue",t.BOOLEAN="BooleanValue",t.NULL="NullValue",t.ENUM="EnumValue",t.LIST="ListValue",t.OBJECT="ObjectValue",t.OBJECT_FIELD="ObjectField",t.DIRECTIVE="Directive",t.NAMED_TYPE="NamedType",t.LIST_TYPE="ListType",t.NON_NULL_TYPE="NonNullType",t.SCHEMA_DEFINITION="SchemaDefinition",t.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",t.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",t.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",t.FIELD_DEFINITION="FieldDefinition",t.INPUT_VALUE_DEFINITION="InputValueDefinition",t.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",t.UNION_TYPE_DEFINITION="UnionTypeDefinition",t.ENUM_TYPE_DEFINITION="EnumTypeDefinition",t.ENUM_VALUE_DEFINITION="EnumValueDefinition",t.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",t.DIRECTIVE_DEFINITION="DirectiveDefinition",t.SCHEMA_EXTENSION="SchemaExtension",t.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",t.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",t.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",t.UNION_TYPE_EXTENSION="UnionTypeExtension",t.ENUM_TYPE_EXTENSION="EnumTypeExtension",t.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",t.TYPE_COORDINATE="TypeCoordinate",t.MEMBER_COORDINATE="MemberCoordinate",t.ARGUMENT_COORDINATE="ArgumentCoordinate",t.DIRECTIVE_COORDINATE="DirectiveCoordinate",t.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(e||(Ke.Kind=e={})),Ke}var Ia;function Yt(){if(Ia)return Ne;Ia=1,Object.defineProperty(Ne,"__esModule",{value:!0}),Ne.BREAK=void 0,Ne.getEnterLeaveForKind=l,Ne.getVisitFn=d,Ne.visit=r,Ne.visitInParallel=s;var e=on(),t=le(),a=Qn(),i=te();const n=Object.freeze({});Ne.BREAK=n;function r(f,O,c=a.QueryDocumentKeys){const o=new Map;for(const L of Object.values(i.Kind))o.set(L,l(O,L));let u,p=Array.isArray(f),T=[f],v=-1,m=[],h=f,_,I;const y=[],P=[];do{v++;const L=v===T.length,U=L&&m.length!==0;if(L){if(_=P.length===0?void 0:y[y.length-1],h=I,I=P.pop(),U)if(p){h=h.slice();let g=0;for(const[b,R]of m){const k=b-g;R===null?(h.splice(k,1),g++):h[k]=R}}else{h={...h};for(const[g,b]of m)h[g]=b}v=u.index,T=u.keys,m=u.edits,p=u.inArray,u=u.prev}else if(I){if(_=p?v:T[v],h=I[_],h==null)continue;y.push(_)}let N;if(!Array.isArray(h)){var q,M;(0,a.isNode)(h)||(0,e.devAssert)(!1,`Invalid AST Node: ${(0,t.inspect)(h)}.`);const g=L?(q=o.get(h.kind))===null||q===void 0?void 0:q.leave:(M=o.get(h.kind))===null||M===void 0?void 0:M.enter;if(N=g?.call(O,h,_,I,y,P),N===n)break;if(N===!1){if(!L){y.pop();continue}}else if(N!==void 0&&(m.push([_,N]),!L))if((0,a.isNode)(N))h=N;else{y.pop();continue}}if(N===void 0&&U&&m.push([_,h]),L)y.pop();else{var A;u={inArray:p,index:v,keys:T,edits:m,prev:u},p=Array.isArray(h),T=p?h:(A=c[h.kind])!==null&&A!==void 0?A:[],v=-1,m=[],I&&P.push(I),I=h}}while(u!==void 0);return m.length!==0?m[m.length-1][1]:f}function s(f){const O=new Array(f.length).fill(null),c=Object.create(null);for(const o of Object.values(i.Kind)){let u=!1;const p=new Array(f.length).fill(void 0),T=new Array(f.length).fill(void 0);for(let m=0;m<f.length;++m){const{enter:h,leave:_}=l(f[m],o);u||(u=h!=null||_!=null),p[m]=h,T[m]=_}if(!u)continue;const v={enter(...m){const h=m[0];for(let I=0;I<f.length;I++)if(O[I]===null){var _;const y=(_=p[I])===null||_===void 0?void 0:_.apply(f[I],m);if(y===!1)O[I]=h;else if(y===n)O[I]=n;else if(y!==void 0)return y}},leave(...m){const h=m[0];for(let I=0;I<f.length;I++)if(O[I]===null){var _;const y=(_=T[I])===null||_===void 0?void 0:_.apply(f[I],m);if(y===n)O[I]=n;else if(y!==void 0&&y!==!1)return y}else O[I]===h&&(O[I]=null)}};c[o]=v}return c}function l(f,O){const c=f[O];return typeof c=="object"?c:typeof c=="function"?{enter:c,leave:void 0}:{enter:f.enter,leave:f.leave}}function d(f,O,c){const{enter:o,leave:u}=l(f,O);return c?u:o}return Ne}var dn={},Ze={},$={},Vn={},ba;function Ce(){if(ba)return Vn;ba=1,Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.didYouMean=t;const e=5;function t(a,i){const[n,r]=i?[a,i]:[void 0,a];let s=" Did you mean ";n&&(s+=n+" ");const l=r.map(O=>`"${O}"`);switch(l.length){case 0:return"";case 1:return s+l[0]+"?";case 2:return s+l[0]+" or "+l[1]+"?"}const d=l.slice(0,e),f=d.pop();return s+d.join(", ")+", or "+f+"?"}return Vn}var Un={},Ra;function zc(){if(Ra)return Un;Ra=1,Object.defineProperty(Un,"__esModule",{value:!0}),Un.identityFunc=e;function e(t){return t}return Un}var pn={},La;function Vi(){if(La)return pn;La=1,Object.defineProperty(pn,"__esModule",{value:!0}),pn.instanceOf=void 0;var e=le();const a=globalThis.process&&!0?function(n,r){return n instanceof r}:function(n,r){if(n instanceof r)return!0;if(typeof n=="object"&&n!==null){var s;const l=r.prototype[Symbol.toStringTag],d=Symbol.toStringTag in n?n[Symbol.toStringTag]:(s=n.constructor)===null||s===void 0?void 0:s.name;if(l===d){const f=(0,e.inspect)(n);throw new Error(`Cannot use ${l} "${f}" from another module or realm.
20
+
21
+ Ensure that there is only one instance of "graphql" in the node_modules
22
+ directory. If different versions of "graphql" are the dependencies of other
23
+ relied on modules, use "resolutions" to ensure only one version is installed.
24
+
25
+ https://yarnpkg.com/en/docs/selective-version-resolutions
26
+
27
+ Duplicate "graphql" modules cannot be used at the same time since different
28
+ versions may have different capabilities and behavior. The data from one
29
+ version used in the function from another could produce confusing and
30
+ spurious results.`)}}return!1};return pn.instanceOf=a,pn}var Fn={},Pa;function In(){if(Pa)return Fn;Pa=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.keyMap=e;function e(t,a){const i=Object.create(null);for(const n of t)i[a(n)]=n;return i}return Fn}var wn={},Da;function _o(){if(Da)return wn;Da=1,Object.defineProperty(wn,"__esModule",{value:!0}),wn.keyValMap=e;function e(t,a,i){const n=Object.create(null);for(const r of t)n[a(r)]=i(r);return n}return wn}var $n={},ka;function Hc(){if(ka)return $n;ka=1,Object.defineProperty($n,"__esModule",{value:!0}),$n.mapValue=e;function e(t,a){const i=Object.create(null);for(const n of Object.keys(t))i[n]=a(t[n],n);return i}return $n}var qn={},Mn={},Aa;function Ui(){if(Aa)return Mn;Aa=1,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.naturalCompare=e;function e(n,r){let s=0,l=0;for(;s<n.length&&l<r.length;){let d=n.charCodeAt(s),f=r.charCodeAt(l);if(i(d)&&i(f)){let O=0;do++s,O=O*10+d-t,d=n.charCodeAt(s);while(i(d)&&O>0);let c=0;do++l,c=c*10+f-t,f=r.charCodeAt(l);while(i(f)&&c>0);if(O<c)return-1;if(O>c)return 1}else{if(d<f)return-1;if(d>f)return 1;++s,++l}}return n.length-r.length}const t=48,a=57;function i(n){return!isNaN(n)&&t<=n&&n<=a}return Mn}var Va;function Ge(){if(Va)return qn;Va=1,Object.defineProperty(qn,"__esModule",{value:!0}),qn.suggestionList=t;var e=Ui();function t(n,r){const s=Object.create(null),l=new a(n),d=Math.floor(n.length*.4)+1;for(const f of r){const O=l.measure(f,d);O!==void 0&&(s[f]=O)}return Object.keys(s).sort((f,O)=>{const c=s[f]-s[O];return c!==0?c:(0,e.naturalCompare)(f,O)})}class a{constructor(r){this._input=r,this._inputLowerCase=r.toLowerCase(),this._inputArray=i(this._inputLowerCase),this._rows=[new Array(r.length+1).fill(0),new Array(r.length+1).fill(0),new Array(r.length+1).fill(0)]}measure(r,s){if(this._input===r)return 0;const l=r.toLowerCase();if(this._inputLowerCase===l)return 1;let d=i(l),f=this._inputArray;if(d.length<f.length){const p=d;d=f,f=p}const O=d.length,c=f.length;if(O-c>s)return;const o=this._rows;for(let p=0;p<=c;p++)o[0][p]=p;for(let p=1;p<=O;p++){const T=o[(p-1)%3],v=o[p%3];let m=v[0]=p;for(let h=1;h<=c;h++){const _=d[p-1]===f[h-1]?0:1;let I=Math.min(T[h]+1,v[h-1]+1,T[h-1]+_);if(p>1&&h>1&&d[p-1]===f[h-2]&&d[p-2]===f[h-1]){const y=o[(p-2)%3][h-2];I=Math.min(I,y+1)}I<m&&(m=I),v[h]=I}if(m>s)return}const u=o[O%3][c];return u<=s?u:void 0}}function i(n){const r=n.length,s=new Array(r);for(let l=0;l<r;++l)s[l]=n.charCodeAt(l);return s}return qn}var jn={},Ua;function Fi(){if(Ua)return jn;Ua=1,Object.defineProperty(jn,"__esModule",{value:!0}),jn.toObjMap=e;function e(t){if(t==null)return Object.create(null);if(Object.getPrototypeOf(t)===null)return t;const a=Object.create(null);for(const[i,n]of Object.entries(t))a[i]=n;return a}return jn}var Cn={},We={},Re={},Fa;function So(){if(Fa)return Re;Fa=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.isDigit=t,Re.isLetter=a,Re.isNameContinue=n,Re.isNameStart=i,Re.isWhiteSpace=e;function e(r){return r===9||r===32}function t(r){return r>=48&&r<=57}function a(r){return r>=97&&r<=122||r>=65&&r<=90}function i(r){return a(r)||r===95}function n(r){return a(r)||t(r)||r===95}return Re}var wa;function el(){if(wa)return We;wa=1,Object.defineProperty(We,"__esModule",{value:!0}),We.dedentBlockStringLines=t,We.isPrintableAsBlockString=i,We.printBlockString=n;var e=So();function t(r){var s;let l=Number.MAX_SAFE_INTEGER,d=null,f=-1;for(let c=0;c<r.length;++c){var O;const o=r[c],u=a(o);u!==o.length&&(d=(O=d)!==null&&O!==void 0?O:c,f=c,c!==0&&u<l&&(l=u))}return r.map((c,o)=>o===0?c:c.slice(l)).slice((s=d)!==null&&s!==void 0?s:0,f+1)}function a(r){let s=0;for(;s<r.length&&(0,e.isWhiteSpace)(r.charCodeAt(s));)++s;return s}function i(r){if(r==="")return!0;let s=!0,l=!1,d=!0,f=!1;for(let O=0;O<r.length;++O)switch(r.codePointAt(O)){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 15:return!1;case 13:return!1;case 10:if(s&&!f)return!1;f=!0,s=!0,l=!1;break;case 9:case 32:l||(l=s);break;default:d&&(d=l),s=!1}return!(s||d&&f)}function n(r,s){const l=r.replace(/"""/g,'\\"""'),d=l.split(/\r\n|[\n\r]/g),f=d.length===1,O=d.length>1&&d.slice(1).every(h=>h.length===0||(0,e.isWhiteSpace)(h.charCodeAt(0))),c=l.endsWith('\\"""'),o=r.endsWith('"')&&!c,u=r.endsWith("\\"),p=o||u,T=!(s!=null&&s.minimize)&&(!f||r.length>70||p||O||c);let v="";const m=f&&(0,e.isWhiteSpace)(r.charCodeAt(0));return(T&&!m||O)&&(v+=`
31
+ `),v+=l,(T||p)&&(v+=`
32
+ `),'"""'+v+'"""'}return We}var Gn={},$a;function nl(){if($a)return Gn;$a=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.printString=e;function e(n){return`"${n.replace(t,a)}"`}const t=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(n){return i[n.charCodeAt(0)]}const i=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];return Gn}var qa;function be(){if(qa)return Cn;qa=1,Object.defineProperty(Cn,"__esModule",{value:!0}),Cn.print=i;var e=el(),t=nl(),a=Yt();function i(c){return(0,a.visit)(c,r)}const n=80,r={Name:{leave:c=>c.value},Variable:{leave:c=>"$"+c.name},Document:{leave:c=>s(c.definitions,`
33
+
34
+ `)},OperationDefinition:{leave(c){const o=O(c.variableDefinitions)?d(`(
35
+ `,s(c.variableDefinitions,`
36
+ `),`
37
+ )`):d("(",s(c.variableDefinitions,", "),")"),u=d("",c.description,`
38
+ `)+s([c.operation,s([c.name,o]),s(c.directives," ")]," ");return(u==="query"?"":u+" ")+c.selectionSet}},VariableDefinition:{leave:({variable:c,type:o,defaultValue:u,directives:p,description:T})=>d("",T,`
39
+ `)+c+": "+o+d(" = ",u)+d(" ",s(p," "))},SelectionSet:{leave:({selections:c})=>l(c)},Field:{leave({alias:c,name:o,arguments:u,directives:p,selectionSet:T}){const v=d("",c,": ")+o;let m=v+d("(",s(u,", "),")");return m.length>n&&(m=v+d(`(
40
+ `,f(s(u,`
41
+ `)),`
42
+ )`)),s([m,s(p," "),T]," ")}},Argument:{leave:({name:c,value:o})=>c+": "+o},FragmentSpread:{leave:({name:c,directives:o})=>"..."+c+d(" ",s(o," "))},InlineFragment:{leave:({typeCondition:c,directives:o,selectionSet:u})=>s(["...",d("on ",c),s(o," "),u]," ")},FragmentDefinition:{leave:({name:c,typeCondition:o,variableDefinitions:u,directives:p,selectionSet:T,description:v})=>d("",v,`
43
+ `)+`fragment ${c}${d("(",s(u,", "),")")} on ${o} ${d("",s(p," ")," ")}`+T},IntValue:{leave:({value:c})=>c},FloatValue:{leave:({value:c})=>c},StringValue:{leave:({value:c,block:o})=>o?(0,e.printBlockString)(c):(0,t.printString)(c)},BooleanValue:{leave:({value:c})=>c?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:c})=>c},ListValue:{leave:({values:c})=>"["+s(c,", ")+"]"},ObjectValue:{leave:({fields:c})=>"{"+s(c,", ")+"}"},ObjectField:{leave:({name:c,value:o})=>c+": "+o},Directive:{leave:({name:c,arguments:o})=>"@"+c+d("(",s(o,", "),")")},NamedType:{leave:({name:c})=>c},ListType:{leave:({type:c})=>"["+c+"]"},NonNullType:{leave:({type:c})=>c+"!"},SchemaDefinition:{leave:({description:c,directives:o,operationTypes:u})=>d("",c,`
44
+ `)+s(["schema",s(o," "),l(u)]," ")},OperationTypeDefinition:{leave:({operation:c,type:o})=>c+": "+o},ScalarTypeDefinition:{leave:({description:c,name:o,directives:u})=>d("",c,`
45
+ `)+s(["scalar",o,s(u," ")]," ")},ObjectTypeDefinition:{leave:({description:c,name:o,interfaces:u,directives:p,fields:T})=>d("",c,`
46
+ `)+s(["type",o,d("implements ",s(u," & ")),s(p," "),l(T)]," ")},FieldDefinition:{leave:({description:c,name:o,arguments:u,type:p,directives:T})=>d("",c,`
47
+ `)+o+(O(u)?d(`(
48
+ `,f(s(u,`
49
+ `)),`
50
+ )`):d("(",s(u,", "),")"))+": "+p+d(" ",s(T," "))},InputValueDefinition:{leave:({description:c,name:o,type:u,defaultValue:p,directives:T})=>d("",c,`
51
+ `)+s([o+": "+u,d("= ",p),s(T," ")]," ")},InterfaceTypeDefinition:{leave:({description:c,name:o,interfaces:u,directives:p,fields:T})=>d("",c,`
52
+ `)+s(["interface",o,d("implements ",s(u," & ")),s(p," "),l(T)]," ")},UnionTypeDefinition:{leave:({description:c,name:o,directives:u,types:p})=>d("",c,`
53
+ `)+s(["union",o,s(u," "),d("= ",s(p," | "))]," ")},EnumTypeDefinition:{leave:({description:c,name:o,directives:u,values:p})=>d("",c,`
54
+ `)+s(["enum",o,s(u," "),l(p)]," ")},EnumValueDefinition:{leave:({description:c,name:o,directives:u})=>d("",c,`
55
+ `)+s([o,s(u," ")]," ")},InputObjectTypeDefinition:{leave:({description:c,name:o,directives:u,fields:p})=>d("",c,`
56
+ `)+s(["input",o,s(u," "),l(p)]," ")},DirectiveDefinition:{leave:({description:c,name:o,arguments:u,repeatable:p,locations:T})=>d("",c,`
57
+ `)+"directive @"+o+(O(u)?d(`(
58
+ `,f(s(u,`
59
+ `)),`
60
+ )`):d("(",s(u,", "),")"))+(p?" repeatable":"")+" on "+s(T," | ")},SchemaExtension:{leave:({directives:c,operationTypes:o})=>s(["extend schema",s(c," "),l(o)]," ")},ScalarTypeExtension:{leave:({name:c,directives:o})=>s(["extend scalar",c,s(o," ")]," ")},ObjectTypeExtension:{leave:({name:c,interfaces:o,directives:u,fields:p})=>s(["extend type",c,d("implements ",s(o," & ")),s(u," "),l(p)]," ")},InterfaceTypeExtension:{leave:({name:c,interfaces:o,directives:u,fields:p})=>s(["extend interface",c,d("implements ",s(o," & ")),s(u," "),l(p)]," ")},UnionTypeExtension:{leave:({name:c,directives:o,types:u})=>s(["extend union",c,s(o," "),d("= ",s(u," | "))]," ")},EnumTypeExtension:{leave:({name:c,directives:o,values:u})=>s(["extend enum",c,s(o," "),l(u)]," ")},InputObjectTypeExtension:{leave:({name:c,directives:o,fields:u})=>s(["extend input",c,s(o," "),l(u)]," ")},TypeCoordinate:{leave:({name:c})=>c},MemberCoordinate:{leave:({name:c,memberName:o})=>s([c,d(".",o)])},ArgumentCoordinate:{leave:({name:c,fieldName:o,argumentName:u})=>s([c,d(".",o),d("(",u,":)")])},DirectiveCoordinate:{leave:({name:c})=>s(["@",c])},DirectiveArgumentCoordinate:{leave:({name:c,argumentName:o})=>s(["@",c,d("(",o,":)")])}};function s(c,o=""){var u;return(u=c?.filter(p=>p).join(o))!==null&&u!==void 0?u:""}function l(c){return d(`{
61
+ `,f(s(c,`
62
+ `)),`
63
+ }`)}function d(c,o,u=""){return o!=null&&o!==""?c+o+u:""}function f(c){return d(" ",c.replace(/\n/g,`
64
+ `))}function O(c){var o;return(o=c?.some(u=>u.includes(`
65
+ `)))!==null&&o!==void 0?o:!1}return Cn}var xn={},Ma;function tl(){if(Ma)return xn;Ma=1,Object.defineProperty(xn,"__esModule",{value:!0}),xn.valueFromASTUntyped=a;var e=_o(),t=te();function a(i,n){switch(i.kind){case t.Kind.NULL:return null;case t.Kind.INT:return parseInt(i.value,10);case t.Kind.FLOAT:return parseFloat(i.value);case t.Kind.STRING:case t.Kind.ENUM:case t.Kind.BOOLEAN:return i.value;case t.Kind.LIST:return i.values.map(r=>a(r,n));case t.Kind.OBJECT:return(0,e.keyValMap)(i.fields,r=>r.name.value,r=>a(r.value,n));case t.Kind.VARIABLE:return n?.[i.name.value]}}return xn}var On={},ja;function Qo(){if(ja)return On;ja=1,Object.defineProperty(On,"__esModule",{value:!0}),On.assertEnumValueName=n,On.assertName=i;var e=on(),t=Y(),a=So();function i(r){if(r!=null||(0,e.devAssert)(!1,"Must provide name."),typeof r=="string"||(0,e.devAssert)(!1,"Expected name to be a string."),r.length===0)throw new t.GraphQLError("Expected name to be a non-empty string.");for(let s=1;s<r.length;++s)if(!(0,a.isNameContinue)(r.charCodeAt(s)))throw new t.GraphQLError(`Names must only contain [_a-zA-Z0-9] but "${r}" does not.`);if(!(0,a.isNameStart)(r.charCodeAt(0)))throw new t.GraphQLError(`Names must start with [_a-zA-Z] but "${r}" does not.`);return r}function n(r){if(r==="true"||r==="false"||r==="null")throw new t.GraphQLError(`Enum values cannot be named: ${r}`);return i(r)}return On}var Ca;function ie(){if(Ca)return $;Ca=1,Object.defineProperty($,"__esModule",{value:!0}),$.GraphQLUnionType=$.GraphQLScalarType=$.GraphQLObjectType=$.GraphQLNonNull=$.GraphQLList=$.GraphQLInterfaceType=$.GraphQLInputObjectType=$.GraphQLEnumType=void 0,$.argsToArgsConfig=Bi,$.assertAbstractType=bn,$.assertCompositeType=ve,$.assertEnumType=U,$.assertInputObjectType=g,$.assertInputType=j,$.assertInterfaceType=q,$.assertLeafType=z,$.assertListType=R,$.assertNamedType=ko,$.assertNonNullType=F,$.assertNullableType=Po,$.assertObjectType=y,$.assertOutputType=W,$.assertScalarType=_,$.assertType=m,$.assertUnionType=A,$.assertWrappingType=Lo,$.defineArguments=Yi,$.getNamedType=Ao,$.getNullableType=Do,$.isAbstractType=ge,$.isCompositeType=ae,$.isEnumType=L,$.isInputObjectType=N,$.isInputType=w,$.isInterfaceType=P,$.isLeafType=ee,$.isListType=b,$.isNamedType=Mi,$.isNonNullType=k,$.isNullableType=Zt,$.isObjectType=I,$.isOutputType=K,$.isRequiredArgument=Vo,$.isRequiredInputField=wo,$.isScalarType=h,$.isType=v,$.isUnionType=M,$.isWrappingType=cn,$.resolveObjMapThunk=Jt,$.resolveReadonlyArrayThunk=Wt;var e=on(),t=Ce(),a=zc(),i=le(),n=Vi(),r=je(),s=In(),l=_o(),d=Hc(),f=Ge(),O=Fi(),c=Y(),o=te(),u=be(),p=tl(),T=Qo();function v(E){return h(E)||I(E)||P(E)||M(E)||L(E)||N(E)||b(E)||k(E)}function m(E){if(!v(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL type.`);return E}function h(E){return(0,n.instanceOf)(E,ji)}function _(E){if(!h(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL Scalar type.`);return E}function I(E){return(0,n.instanceOf)(E,Ci)}function y(E){if(!I(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL Object type.`);return E}function P(E){return(0,n.instanceOf)(E,Ki)}function q(E){if(!P(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL Interface type.`);return E}function M(E){return(0,n.instanceOf)(E,Zi)}function A(E){if(!M(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL Union type.`);return E}function L(E){return(0,n.instanceOf)(E,Wi)}function U(E){if(!L(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL Enum type.`);return E}function N(E){return(0,n.instanceOf)(E,zi)}function g(E){if(!N(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL Input Object type.`);return E}function b(E){return(0,n.instanceOf)(E,Ve)}function R(E){if(!b(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL List type.`);return E}function k(E){return(0,n.instanceOf)(E,un)}function F(E){if(!k(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL Non-Null type.`);return E}function w(E){return h(E)||L(E)||N(E)||cn(E)&&w(E.ofType)}function j(E){if(!w(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL input type.`);return E}function K(E){return h(E)||I(E)||P(E)||M(E)||L(E)||cn(E)&&K(E.ofType)}function W(E){if(!K(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL output type.`);return E}function ee(E){return h(E)||L(E)}function z(E){if(!ee(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL leaf type.`);return E}function ae(E){return I(E)||P(E)||M(E)}function ve(E){if(!ae(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL composite type.`);return E}function ge(E){return P(E)||M(E)}function bn(E){if(!ge(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL abstract type.`);return E}class Ve{constructor(Q){v(Q)||(0,e.devAssert)(!1,`Expected ${(0,i.inspect)(Q)} to be a GraphQL type.`),this.ofType=Q}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}$.GraphQLList=Ve;class un{constructor(Q){Zt(Q)||(0,e.devAssert)(!1,`Expected ${(0,i.inspect)(Q)} to be a GraphQL nullable type.`),this.ofType=Q}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}$.GraphQLNonNull=un;function cn(E){return b(E)||k(E)}function Lo(E){if(!cn(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL wrapping type.`);return E}function Zt(E){return v(E)&&!k(E)}function Po(E){if(!Zt(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL nullable type.`);return E}function Do(E){if(E)return k(E)?E.ofType:E}function Mi(E){return h(E)||I(E)||P(E)||M(E)||L(E)||N(E)}function ko(E){if(!Mi(E))throw new Error(`Expected ${(0,i.inspect)(E)} to be a GraphQL named type.`);return E}function Ao(E){if(E){let Q=E;for(;cn(Q);)Q=Q.ofType;return Q}}function Wt(E){return typeof E=="function"?E():E}function Jt(E){return typeof E=="function"?E():E}class ji{constructor(Q){var V,B,pe,Xe;const Hi=(V=Q.parseValue)!==null&&V!==void 0?V:a.identityFunc;this.name=(0,T.assertName)(Q.name),this.description=Q.description,this.specifiedByURL=Q.specifiedByURL,this.serialize=(B=Q.serialize)!==null&&B!==void 0?B:a.identityFunc,this.parseValue=Hi,this.parseLiteral=(pe=Q.parseLiteral)!==null&&pe!==void 0?pe:($o,qo)=>Hi((0,p.valueFromASTUntyped)($o,qo)),this.extensions=(0,O.toObjMap)(Q.extensions),this.astNode=Q.astNode,this.extensionASTNodes=(Xe=Q.extensionASTNodes)!==null&&Xe!==void 0?Xe:[],Q.specifiedByURL==null||typeof Q.specifiedByURL=="string"||(0,e.devAssert)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,i.inspect)(Q.specifiedByURL)}.`),Q.serialize==null||typeof Q.serialize=="function"||(0,e.devAssert)(!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.`),Q.parseLiteral&&(typeof Q.parseValue=="function"&&typeof Q.parseLiteral=="function"||(0,e.devAssert)(!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()}}$.GraphQLScalarType=ji;class Ci{constructor(Q){var V;this.name=(0,T.assertName)(Q.name),this.description=Q.description,this.isTypeOf=Q.isTypeOf,this.extensions=(0,O.toObjMap)(Q.extensions),this.astNode=Q.astNode,this.extensionASTNodes=(V=Q.extensionASTNodes)!==null&&V!==void 0?V:[],this._fields=()=>xi(Q),this._interfaces=()=>Gi(Q),Q.isTypeOf==null||typeof Q.isTypeOf=="function"||(0,e.devAssert)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,i.inspect)(Q.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:Xi(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}$.GraphQLObjectType=Ci;function Gi(E){var Q;const V=Wt((Q=E.interfaces)!==null&&Q!==void 0?Q:[]);return Array.isArray(V)||(0,e.devAssert)(!1,`${E.name} interfaces must be an Array or a function which returns an Array.`),V}function xi(E){const Q=Jt(E.fields);return Ye(Q)||(0,e.devAssert)(!1,`${E.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,d.mapValue)(Q,(V,B)=>{var pe;Ye(V)||(0,e.devAssert)(!1,`${E.name}.${B} field config must be an object.`),V.resolve==null||typeof V.resolve=="function"||(0,e.devAssert)(!1,`${E.name}.${B} field resolver must be a function if provided, but got: ${(0,i.inspect)(V.resolve)}.`);const Xe=(pe=V.args)!==null&&pe!==void 0?pe:{};return Ye(Xe)||(0,e.devAssert)(!1,`${E.name}.${B} args must be an object with argument names as keys.`),{name:(0,T.assertName)(B),description:V.description,type:V.type,args:Yi(Xe),resolve:V.resolve,subscribe:V.subscribe,deprecationReason:V.deprecationReason,extensions:(0,O.toObjMap)(V.extensions),astNode:V.astNode}})}function Yi(E){return Object.entries(E).map(([Q,V])=>({name:(0,T.assertName)(Q),description:V.description,type:V.type,defaultValue:V.defaultValue,deprecationReason:V.deprecationReason,extensions:(0,O.toObjMap)(V.extensions),astNode:V.astNode}))}function Ye(E){return(0,r.isObjectLike)(E)&&!Array.isArray(E)}function Xi(E){return(0,d.mapValue)(E,Q=>({description:Q.description,type:Q.type,args:Bi(Q.args),resolve:Q.resolve,subscribe:Q.subscribe,deprecationReason:Q.deprecationReason,extensions:Q.extensions,astNode:Q.astNode}))}function Bi(E){return(0,l.keyValMap)(E,Q=>Q.name,Q=>({description:Q.description,type:Q.type,defaultValue:Q.defaultValue,deprecationReason:Q.deprecationReason,extensions:Q.extensions,astNode:Q.astNode}))}function Vo(E){return k(E.type)&&E.defaultValue===void 0}class Ki{constructor(Q){var V;this.name=(0,T.assertName)(Q.name),this.description=Q.description,this.resolveType=Q.resolveType,this.extensions=(0,O.toObjMap)(Q.extensions),this.astNode=Q.astNode,this.extensionASTNodes=(V=Q.extensionASTNodes)!==null&&V!==void 0?V:[],this._fields=xi.bind(void 0,Q),this._interfaces=Gi.bind(void 0,Q),Q.resolveType==null||typeof Q.resolveType=="function"||(0,e.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,i.inspect)(Q.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:Xi(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}$.GraphQLInterfaceType=Ki;class Zi{constructor(Q){var V;this.name=(0,T.assertName)(Q.name),this.description=Q.description,this.resolveType=Q.resolveType,this.extensions=(0,O.toObjMap)(Q.extensions),this.astNode=Q.astNode,this.extensionASTNodes=(V=Q.extensionASTNodes)!==null&&V!==void 0?V:[],this._types=Uo.bind(void 0,Q),Q.resolveType==null||typeof Q.resolveType=="function"||(0,e.devAssert)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,i.inspect)(Q.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()}}$.GraphQLUnionType=Zi;function Uo(E){const Q=Wt(E.types);return Array.isArray(Q)||(0,e.devAssert)(!1,`Must provide Array of types or a function which returns such an array for Union ${E.name}.`),Q}class Wi{constructor(Q){var V;this.name=(0,T.assertName)(Q.name),this.description=Q.description,this.extensions=(0,O.toObjMap)(Q.extensions),this.astNode=Q.astNode,this.extensionASTNodes=(V=Q.extensionASTNodes)!==null&&V!==void 0?V:[],this._values=typeof Q.values=="function"?Q.values:Ji(this.name,Q.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=Ji(this.name,this._values())),this._values}getValue(Q){return this._nameLookup===null&&(this._nameLookup=(0,s.keyMap)(this.getValues(),V=>V.name)),this._nameLookup[Q]}serialize(Q){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(B=>[B.value,B])));const V=this._valueLookup.get(Q);if(V===void 0)throw new c.GraphQLError(`Enum "${this.name}" cannot represent value: ${(0,i.inspect)(Q)}`);return V.name}parseValue(Q){if(typeof Q!="string"){const B=(0,i.inspect)(Q);throw new c.GraphQLError(`Enum "${this.name}" cannot represent non-string value: ${B}.`+Rn(this,B))}const V=this.getValue(Q);if(V==null)throw new c.GraphQLError(`Value "${Q}" does not exist in "${this.name}" enum.`+Rn(this,Q));return V.value}parseLiteral(Q,V){if(Q.kind!==o.Kind.ENUM){const pe=(0,u.print)(Q);throw new c.GraphQLError(`Enum "${this.name}" cannot represent non-enum value: ${pe}.`+Rn(this,pe),{nodes:Q})}const B=this.getValue(Q.value);if(B==null){const pe=(0,u.print)(Q);throw new c.GraphQLError(`Value "${pe}" does not exist in "${this.name}" enum.`+Rn(this,pe),{nodes:Q})}return B.value}toConfig(){const Q=(0,l.keyValMap)(this.getValues(),V=>V.name,V=>({description:V.description,value:V.value,deprecationReason:V.deprecationReason,extensions:V.extensions,astNode:V.astNode}));return{name:this.name,description:this.description,values:Q,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}$.GraphQLEnumType=Wi;function Rn(E,Q){const V=E.getValues().map(pe=>pe.name),B=(0,f.suggestionList)(Q,V);return(0,t.didYouMean)("the enum value",B)}function Ji(E,Q){return Ye(Q)||(0,e.devAssert)(!1,`${E} values must be an object with value names as keys.`),Object.entries(Q).map(([V,B])=>(Ye(B)||(0,e.devAssert)(!1,`${E}.${V} must refer to an object with a "value" key representing an internal value but got: ${(0,i.inspect)(B)}.`),{name:(0,T.assertEnumValueName)(V),description:B.description,value:B.value!==void 0?B.value:V,deprecationReason:B.deprecationReason,extensions:(0,O.toObjMap)(B.extensions),astNode:B.astNode}))}class zi{constructor(Q){var V,B;this.name=(0,T.assertName)(Q.name),this.description=Q.description,this.extensions=(0,O.toObjMap)(Q.extensions),this.astNode=Q.astNode,this.extensionASTNodes=(V=Q.extensionASTNodes)!==null&&V!==void 0?V:[],this.isOneOf=(B=Q.isOneOf)!==null&&B!==void 0?B:!1,this._fields=Fo.bind(void 0,Q)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const Q=(0,d.mapValue)(this.getFields(),V=>({description:V.description,type:V.type,defaultValue:V.defaultValue,deprecationReason:V.deprecationReason,extensions:V.extensions,astNode:V.astNode}));return{name:this.name,description:this.description,fields:Q,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}$.GraphQLInputObjectType=zi;function Fo(E){const Q=Jt(E.fields);return Ye(Q)||(0,e.devAssert)(!1,`${E.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,d.mapValue)(Q,(V,B)=>(!("resolve"in V)||(0,e.devAssert)(!1,`${E.name}.${B} field has a resolve property, but Input Types cannot define resolvers.`),{name:(0,T.assertName)(B),description:V.description,type:V.type,defaultValue:V.defaultValue,deprecationReason:V.deprecationReason,extensions:(0,O.toObjMap)(V.extensions),astNode:V.astNode}))}function wo(E){return k(E.type)&&E.defaultValue===void 0}return $}var Ga;function wi(){if(Ga)return Ze;Ga=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.doTypesOverlap=i,Ze.isEqualType=t,Ze.isTypeSubTypeOf=a;var e=ie();function t(n,r){return n===r?!0:(0,e.isNonNullType)(n)&&(0,e.isNonNullType)(r)||(0,e.isListType)(n)&&(0,e.isListType)(r)?t(n.ofType,r.ofType):!1}function a(n,r,s){return r===s?!0:(0,e.isNonNullType)(s)?(0,e.isNonNullType)(r)?a(n,r.ofType,s.ofType):!1:(0,e.isNonNullType)(r)?a(n,r.ofType,s):(0,e.isListType)(s)?(0,e.isListType)(r)?a(n,r.ofType,s.ofType):!1:(0,e.isListType)(r)?!1:(0,e.isAbstractType)(s)&&((0,e.isInterfaceType)(r)||(0,e.isObjectType)(r))&&n.isSubType(s,r)}function i(n,r,s){return r===s?!0:(0,e.isAbstractType)(r)?(0,e.isAbstractType)(s)?n.getPossibleTypes(r).some(l=>n.isSubType(s,l)):n.isSubType(r,s):(0,e.isAbstractType)(s)?n.isSubType(s,r):!1}return Ze}var re={},Je={},xa;function $i(){if(xa)return Je;xa=1,Object.defineProperty(Je,"__esModule",{value:!0}),Je.DirectiveLocation=void 0;var e;return Je.DirectiveLocation=e,(function(t){t.QUERY="QUERY",t.MUTATION="MUTATION",t.SUBSCRIPTION="SUBSCRIPTION",t.FIELD="FIELD",t.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",t.FRAGMENT_SPREAD="FRAGMENT_SPREAD",t.INLINE_FRAGMENT="INLINE_FRAGMENT",t.VARIABLE_DEFINITION="VARIABLE_DEFINITION",t.SCHEMA="SCHEMA",t.SCALAR="SCALAR",t.OBJECT="OBJECT",t.FIELD_DEFINITION="FIELD_DEFINITION",t.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",t.INTERFACE="INTERFACE",t.UNION="UNION",t.ENUM="ENUM",t.ENUM_VALUE="ENUM_VALUE",t.INPUT_OBJECT="INPUT_OBJECT",t.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(e||(Je.DirectiveLocation=e={})),Je}var ce={},Ya;function Xt(){if(Ya)return ce;Ya=1,Object.defineProperty(ce,"__esModule",{value:!0}),ce.GraphQLString=ce.GraphQLInt=ce.GraphQLID=ce.GraphQLFloat=ce.GraphQLBoolean=ce.GRAPHQL_MIN_INT=ce.GRAPHQL_MAX_INT=void 0,ce.isSpecifiedScalarType=p,ce.specifiedScalarTypes=void 0;var e=le(),t=je(),a=Y(),i=te(),n=be(),r=ie();const s=2147483647;ce.GRAPHQL_MAX_INT=s;const l=-2147483648;ce.GRAPHQL_MIN_INT=l;const d=new r.GraphQLScalarType({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(v){const m=T(v);if(typeof m=="boolean")return m?1:0;let h=m;if(typeof m=="string"&&m!==""&&(h=Number(m)),typeof h!="number"||!Number.isInteger(h))throw new a.GraphQLError(`Int cannot represent non-integer value: ${(0,e.inspect)(m)}`);if(h>s||h<l)throw new a.GraphQLError("Int cannot represent non 32-bit signed integer value: "+(0,e.inspect)(m));return h},parseValue(v){if(typeof v!="number"||!Number.isInteger(v))throw new a.GraphQLError(`Int cannot represent non-integer value: ${(0,e.inspect)(v)}`);if(v>s||v<l)throw new a.GraphQLError(`Int cannot represent non 32-bit signed integer value: ${v}`);return v},parseLiteral(v){if(v.kind!==i.Kind.INT)throw new a.GraphQLError(`Int cannot represent non-integer value: ${(0,n.print)(v)}`,{nodes:v});const m=parseInt(v.value,10);if(m>s||m<l)throw new a.GraphQLError(`Int cannot represent non 32-bit signed integer value: ${v.value}`,{nodes:v});return m}});ce.GraphQLInt=d;const f=new r.GraphQLScalarType({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(v){const m=T(v);if(typeof m=="boolean")return m?1:0;let h=m;if(typeof m=="string"&&m!==""&&(h=Number(m)),typeof h!="number"||!Number.isFinite(h))throw new a.GraphQLError(`Float cannot represent non numeric value: ${(0,e.inspect)(m)}`);return h},parseValue(v){if(typeof v!="number"||!Number.isFinite(v))throw new a.GraphQLError(`Float cannot represent non numeric value: ${(0,e.inspect)(v)}`);return v},parseLiteral(v){if(v.kind!==i.Kind.FLOAT&&v.kind!==i.Kind.INT)throw new a.GraphQLError(`Float cannot represent non numeric value: ${(0,n.print)(v)}`,v);return parseFloat(v.value)}});ce.GraphQLFloat=f;const O=new r.GraphQLScalarType({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(v){const m=T(v);if(typeof m=="string")return m;if(typeof m=="boolean")return m?"true":"false";if(typeof m=="number"&&Number.isFinite(m))return m.toString();throw new a.GraphQLError(`String cannot represent value: ${(0,e.inspect)(v)}`)},parseValue(v){if(typeof v!="string")throw new a.GraphQLError(`String cannot represent a non string value: ${(0,e.inspect)(v)}`);return v},parseLiteral(v){if(v.kind!==i.Kind.STRING)throw new a.GraphQLError(`String cannot represent a non string value: ${(0,n.print)(v)}`,{nodes:v});return v.value}});ce.GraphQLString=O;const c=new r.GraphQLScalarType({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(v){const m=T(v);if(typeof m=="boolean")return m;if(Number.isFinite(m))return m!==0;throw new a.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,e.inspect)(m)}`)},parseValue(v){if(typeof v!="boolean")throw new a.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,e.inspect)(v)}`);return v},parseLiteral(v){if(v.kind!==i.Kind.BOOLEAN)throw new a.GraphQLError(`Boolean cannot represent a non boolean value: ${(0,n.print)(v)}`,{nodes:v});return v.value}});ce.GraphQLBoolean=c;const o=new r.GraphQLScalarType({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(v){const m=T(v);if(typeof m=="string")return m;if(Number.isInteger(m))return String(m);throw new a.GraphQLError(`ID cannot represent value: ${(0,e.inspect)(v)}`)},parseValue(v){if(typeof v=="string")return v;if(typeof v=="number"&&Number.isInteger(v))return v.toString();throw new a.GraphQLError(`ID cannot represent value: ${(0,e.inspect)(v)}`)},parseLiteral(v){if(v.kind!==i.Kind.STRING&&v.kind!==i.Kind.INT)throw new a.GraphQLError("ID cannot represent a non-string and non-integer value: "+(0,n.print)(v),{nodes:v});return v.value}});ce.GraphQLID=o;const u=Object.freeze([O,d,f,c,o]);ce.specifiedScalarTypes=u;function p(v){return u.some(({name:m})=>v.name===m)}function T(v){if((0,t.isObjectLike)(v)){if(typeof v.valueOf=="function"){const m=v.valueOf();if(!(0,t.isObjectLike)(m))return m}if(typeof v.toJSON=="function")return v.toJSON()}return v}return ce}var Xa;function xe(){if(Xa)return re;Xa=1,Object.defineProperty(re,"__esModule",{value:!0}),re.GraphQLSpecifiedByDirective=re.GraphQLSkipDirective=re.GraphQLOneOfDirective=re.GraphQLIncludeDirective=re.GraphQLDirective=re.GraphQLDeprecatedDirective=re.DEFAULT_DEPRECATION_REASON=void 0,re.assertDirective=O,re.isDirective=f,re.isSpecifiedDirective=_,re.specifiedDirectives=void 0;var e=on(),t=le(),a=Vi(),i=je(),n=Fi(),r=$i(),s=Qo(),l=ie(),d=Xt();function f(I){return(0,a.instanceOf)(I,c)}function O(I){if(!f(I))throw new Error(`Expected ${(0,t.inspect)(I)} to be a GraphQL directive.`);return I}class c{constructor(y){var P,q;this.name=(0,s.assertName)(y.name),this.description=y.description,this.locations=y.locations,this.isRepeatable=(P=y.isRepeatable)!==null&&P!==void 0?P:!1,this.extensions=(0,n.toObjMap)(y.extensions),this.astNode=y.astNode,Array.isArray(y.locations)||(0,e.devAssert)(!1,`@${y.name} locations must be an Array.`);const M=(q=y.args)!==null&&q!==void 0?q:{};(0,i.isObjectLike)(M)&&!Array.isArray(M)||(0,e.devAssert)(!1,`@${y.name} args must be an object with argument names as keys.`),this.args=(0,l.defineArguments)(M)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,l.argsToArgsConfig)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}re.GraphQLDirective=c;const o=new c({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[r.DirectiveLocation.FIELD,r.DirectiveLocation.FRAGMENT_SPREAD,r.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new l.GraphQLNonNull(d.GraphQLBoolean),description:"Included when true."}}});re.GraphQLIncludeDirective=o;const u=new c({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[r.DirectiveLocation.FIELD,r.DirectiveLocation.FRAGMENT_SPREAD,r.DirectiveLocation.INLINE_FRAGMENT],args:{if:{type:new l.GraphQLNonNull(d.GraphQLBoolean),description:"Skipped when true."}}});re.GraphQLSkipDirective=u;const p="No longer supported";re.DEFAULT_DEPRECATION_REASON=p;const T=new c({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[r.DirectiveLocation.FIELD_DEFINITION,r.DirectiveLocation.ARGUMENT_DEFINITION,r.DirectiveLocation.INPUT_FIELD_DEFINITION,r.DirectiveLocation.ENUM_VALUE],args:{reason:{type:d.GraphQLString,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:p}}});re.GraphQLDeprecatedDirective=T;const v=new c({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[r.DirectiveLocation.SCALAR],args:{url:{type:new l.GraphQLNonNull(d.GraphQLString),description:"The URL that specifies the behavior of this scalar."}}});re.GraphQLSpecifiedByDirective=v;const m=new c({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[r.DirectiveLocation.INPUT_OBJECT],args:{}});re.GraphQLOneOfDirective=m;const h=Object.freeze([o,u,T,v,m]);re.specifiedDirectives=h;function _(I){return h.some(({name:y})=>y===I.name)}return re}var J={},Yn={},Xn={},Ba;function Io(){if(Ba)return Xn;Ba=1,Object.defineProperty(Xn,"__esModule",{value:!0}),Xn.isIterableObject=e;function e(t){return typeof t=="object"&&typeof t?.[Symbol.iterator]=="function"}return Xn}var Ka;function il(){if(Ka)return Yn;Ka=1,Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.astFromValue=l;var e=le(),t=ke(),a=Io(),i=je(),n=te(),r=ie(),s=Xt();function l(f,O){if((0,r.isNonNullType)(O)){const c=l(f,O.ofType);return c?.kind===n.Kind.NULL?null:c}if(f===null)return{kind:n.Kind.NULL};if(f===void 0)return null;if((0,r.isListType)(O)){const c=O.ofType;if((0,a.isIterableObject)(f)){const o=[];for(const u of f){const p=l(u,c);p!=null&&o.push(p)}return{kind:n.Kind.LIST,values:o}}return l(f,c)}if((0,r.isInputObjectType)(O)){if(!(0,i.isObjectLike)(f))return null;const c=[];for(const o of Object.values(O.getFields())){const u=l(f[o.name],o.type);u&&c.push({kind:n.Kind.OBJECT_FIELD,name:{kind:n.Kind.NAME,value:o.name},value:u})}return{kind:n.Kind.OBJECT,fields:c}}if((0,r.isLeafType)(O)){const c=O.serialize(f);if(c==null)return null;if(typeof c=="boolean")return{kind:n.Kind.BOOLEAN,value:c};if(typeof c=="number"&&Number.isFinite(c)){const o=String(c);return d.test(o)?{kind:n.Kind.INT,value:o}:{kind:n.Kind.FLOAT,value:o}}if(typeof c=="string")return(0,r.isEnumType)(O)?{kind:n.Kind.ENUM,value:c}:O===s.GraphQLID&&d.test(c)?{kind:n.Kind.INT,value:c}:{kind:n.Kind.STRING,value:c};throw new TypeError(`Cannot convert value to AST: ${(0,e.inspect)(c)}.`)}(0,t.invariant)(!1,"Unexpected input type: "+(0,e.inspect)(O))}const d=/^-?(?:0|[1-9][0-9]*)$/;return Yn}var Za;function Bt(){if(Za)return J;Za=1,Object.defineProperty(J,"__esModule",{value:!0}),J.introspectionTypes=J.__TypeKind=J.__Type=J.__Schema=J.__InputValue=J.__Field=J.__EnumValue=J.__DirectiveLocation=J.__Directive=J.TypeNameMetaFieldDef=J.TypeMetaFieldDef=J.TypeKind=J.SchemaMetaFieldDef=void 0,J.isIntrospectionType=I;var e=le(),t=ke(),a=$i(),i=be(),n=il(),r=ie(),s=Xt();const l=new r.GraphQLObjectType({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:s.GraphQLString,resolve:y=>y.description},types:{description:"A list of all types supported by this server.",type:new r.GraphQLNonNull(new r.GraphQLList(new r.GraphQLNonNull(O))),resolve(y){return Object.values(y.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new r.GraphQLNonNull(O),resolve:y=>y.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:O,resolve:y=>y.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:O,resolve:y=>y.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new r.GraphQLNonNull(new r.GraphQLList(new r.GraphQLNonNull(d))),resolve:y=>y.getDirectives()}})});J.__Schema=l;const d=new r.GraphQLObjectType({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
66
+
67
+ 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 r.GraphQLNonNull(s.GraphQLString),resolve:y=>y.name},description:{type:s.GraphQLString,resolve:y=>y.description},isRepeatable:{type:new r.GraphQLNonNull(s.GraphQLBoolean),resolve:y=>y.isRepeatable},locations:{type:new r.GraphQLNonNull(new r.GraphQLList(new r.GraphQLNonNull(f))),resolve:y=>y.locations},args:{type:new r.GraphQLNonNull(new r.GraphQLList(new r.GraphQLNonNull(o))),args:{includeDeprecated:{type:s.GraphQLBoolean,defaultValue:!1}},resolve(y,{includeDeprecated:P}){return P?y.args:y.args.filter(q=>q.deprecationReason==null)}}})});J.__Directive=d;const f=new r.GraphQLEnumType({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:a.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:a.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:a.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:a.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:a.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:a.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:a.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:a.DirectiveLocation.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:a.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:a.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:a.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:a.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:a.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:a.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:a.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:a.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:a.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:a.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:a.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}});J.__DirectiveLocation=f;const O=new r.GraphQLObjectType({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 r.GraphQLNonNull(T),resolve(y){if((0,r.isScalarType)(y))return p.SCALAR;if((0,r.isObjectType)(y))return p.OBJECT;if((0,r.isInterfaceType)(y))return p.INTERFACE;if((0,r.isUnionType)(y))return p.UNION;if((0,r.isEnumType)(y))return p.ENUM;if((0,r.isInputObjectType)(y))return p.INPUT_OBJECT;if((0,r.isListType)(y))return p.LIST;if((0,r.isNonNullType)(y))return p.NON_NULL;(0,t.invariant)(!1,`Unexpected type: "${(0,e.inspect)(y)}".`)}},name:{type:s.GraphQLString,resolve:y=>"name"in y?y.name:void 0},description:{type:s.GraphQLString,resolve:y=>"description"in y?y.description:void 0},specifiedByURL:{type:s.GraphQLString,resolve:y=>"specifiedByURL"in y?y.specifiedByURL:void 0},fields:{type:new r.GraphQLList(new r.GraphQLNonNull(c)),args:{includeDeprecated:{type:s.GraphQLBoolean,defaultValue:!1}},resolve(y,{includeDeprecated:P}){if((0,r.isObjectType)(y)||(0,r.isInterfaceType)(y)){const q=Object.values(y.getFields());return P?q:q.filter(M=>M.deprecationReason==null)}}},interfaces:{type:new r.GraphQLList(new r.GraphQLNonNull(O)),resolve(y){if((0,r.isObjectType)(y)||(0,r.isInterfaceType)(y))return y.getInterfaces()}},possibleTypes:{type:new r.GraphQLList(new r.GraphQLNonNull(O)),resolve(y,P,q,{schema:M}){if((0,r.isAbstractType)(y))return M.getPossibleTypes(y)}},enumValues:{type:new r.GraphQLList(new r.GraphQLNonNull(u)),args:{includeDeprecated:{type:s.GraphQLBoolean,defaultValue:!1}},resolve(y,{includeDeprecated:P}){if((0,r.isEnumType)(y)){const q=y.getValues();return P?q:q.filter(M=>M.deprecationReason==null)}}},inputFields:{type:new r.GraphQLList(new r.GraphQLNonNull(o)),args:{includeDeprecated:{type:s.GraphQLBoolean,defaultValue:!1}},resolve(y,{includeDeprecated:P}){if((0,r.isInputObjectType)(y)){const q=Object.values(y.getFields());return P?q:q.filter(M=>M.deprecationReason==null)}}},ofType:{type:O,resolve:y=>"ofType"in y?y.ofType:void 0},isOneOf:{type:s.GraphQLBoolean,resolve:y=>{if((0,r.isInputObjectType)(y))return y.isOneOf}}})});J.__Type=O;const c=new r.GraphQLObjectType({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 r.GraphQLNonNull(s.GraphQLString),resolve:y=>y.name},description:{type:s.GraphQLString,resolve:y=>y.description},args:{type:new r.GraphQLNonNull(new r.GraphQLList(new r.GraphQLNonNull(o))),args:{includeDeprecated:{type:s.GraphQLBoolean,defaultValue:!1}},resolve(y,{includeDeprecated:P}){return P?y.args:y.args.filter(q=>q.deprecationReason==null)}},type:{type:new r.GraphQLNonNull(O),resolve:y=>y.type},isDeprecated:{type:new r.GraphQLNonNull(s.GraphQLBoolean),resolve:y=>y.deprecationReason!=null},deprecationReason:{type:s.GraphQLString,resolve:y=>y.deprecationReason}})});J.__Field=c;const o=new r.GraphQLObjectType({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 r.GraphQLNonNull(s.GraphQLString),resolve:y=>y.name},description:{type:s.GraphQLString,resolve:y=>y.description},type:{type:new r.GraphQLNonNull(O),resolve:y=>y.type},defaultValue:{type:s.GraphQLString,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(y){const{type:P,defaultValue:q}=y,M=(0,n.astFromValue)(q,P);return M?(0,i.print)(M):null}},isDeprecated:{type:new r.GraphQLNonNull(s.GraphQLBoolean),resolve:y=>y.deprecationReason!=null},deprecationReason:{type:s.GraphQLString,resolve:y=>y.deprecationReason}})});J.__InputValue=o;const u=new r.GraphQLObjectType({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 r.GraphQLNonNull(s.GraphQLString),resolve:y=>y.name},description:{type:s.GraphQLString,resolve:y=>y.description},isDeprecated:{type:new r.GraphQLNonNull(s.GraphQLBoolean),resolve:y=>y.deprecationReason!=null},deprecationReason:{type:s.GraphQLString,resolve:y=>y.deprecationReason}})});J.__EnumValue=u;var p;J.TypeKind=p,(function(y){y.SCALAR="SCALAR",y.OBJECT="OBJECT",y.INTERFACE="INTERFACE",y.UNION="UNION",y.ENUM="ENUM",y.INPUT_OBJECT="INPUT_OBJECT",y.LIST="LIST",y.NON_NULL="NON_NULL"})(p||(J.TypeKind=p={}));const T=new r.GraphQLEnumType({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:p.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:p.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:p.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:p.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:p.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:p.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:p.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:p.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});J.__TypeKind=T;const v={name:"__schema",type:new r.GraphQLNonNull(l),description:"Access the current type schema of this server.",args:[],resolve:(y,P,q,{schema:M})=>M,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};J.SchemaMetaFieldDef=v;const m={name:"__type",type:O,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new r.GraphQLNonNull(s.GraphQLString),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(y,{name:P},q,{schema:M})=>M.getType(P),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};J.TypeMetaFieldDef=m;const h={name:"__typename",type:new r.GraphQLNonNull(s.GraphQLString),description:"The name of the current Object type at runtime.",args:[],resolve:(y,P,q,{parentType:M})=>M.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0};J.TypeNameMetaFieldDef=h;const _=Object.freeze([l,d,f,O,c,o,u,T]);J.introspectionTypes=_;function I(y){return _.some(({name:P})=>y.name===P)}return J}var we={},Wa;function rl(){if(Wa)return we;Wa=1,Object.defineProperty(we,"__esModule",{value:!0}),we.GraphQLSchema=void 0,we.assertSchema=O,we.isSchema=f;var e=on(),t=le(),a=Vi(),i=je(),n=Fi(),r=Qn(),s=ie(),l=xe(),d=Bt();function f(u){return(0,a.instanceOf)(u,c)}function O(u){if(!f(u))throw new Error(`Expected ${(0,t.inspect)(u)} to be a GraphQL schema.`);return u}class c{constructor(p){var T,v;this.__validationErrors=p.assumeValid===!0?[]:void 0,(0,i.isObjectLike)(p)||(0,e.devAssert)(!1,"Must provide configuration object."),!p.types||Array.isArray(p.types)||(0,e.devAssert)(!1,`"types" must be Array if provided but got: ${(0,t.inspect)(p.types)}.`),!p.directives||Array.isArray(p.directives)||(0,e.devAssert)(!1,`"directives" must be Array if provided but got: ${(0,t.inspect)(p.directives)}.`),this.description=p.description,this.extensions=(0,n.toObjMap)(p.extensions),this.astNode=p.astNode,this.extensionASTNodes=(T=p.extensionASTNodes)!==null&&T!==void 0?T:[],this._queryType=p.query,this._mutationType=p.mutation,this._subscriptionType=p.subscription,this._directives=(v=p.directives)!==null&&v!==void 0?v:l.specifiedDirectives;const m=new Set(p.types);if(p.types!=null)for(const h of p.types)m.delete(h),o(h,m);this._queryType!=null&&o(this._queryType,m),this._mutationType!=null&&o(this._mutationType,m),this._subscriptionType!=null&&o(this._subscriptionType,m);for(const h of this._directives)if((0,l.isDirective)(h))for(const _ of h.args)o(_.type,m);o(d.__Schema,m),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const h of m){if(h==null)continue;const _=h.name;if(_||(0,e.devAssert)(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[_]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${_}".`);if(this._typeMap[_]=h,(0,s.isInterfaceType)(h)){for(const I of h.getInterfaces())if((0,s.isInterfaceType)(I)){let y=this._implementationsMap[I.name];y===void 0&&(y=this._implementationsMap[I.name]={objects:[],interfaces:[]}),y.interfaces.push(h)}}else if((0,s.isObjectType)(h)){for(const I of h.getInterfaces())if((0,s.isInterfaceType)(I)){let y=this._implementationsMap[I.name];y===void 0&&(y=this._implementationsMap[I.name]={objects:[],interfaces:[]}),y.objects.push(h)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(p){switch(p){case r.OperationTypeNode.QUERY:return this.getQueryType();case r.OperationTypeNode.MUTATION:return this.getMutationType();case r.OperationTypeNode.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(p){return this.getTypeMap()[p]}getPossibleTypes(p){return(0,s.isUnionType)(p)?p.getTypes():this.getImplementations(p).objects}getImplementations(p){const T=this._implementationsMap[p.name];return T??{objects:[],interfaces:[]}}isSubType(p,T){let v=this._subTypeMap[p.name];if(v===void 0){if(v=Object.create(null),(0,s.isUnionType)(p))for(const m of p.getTypes())v[m.name]=!0;else{const m=this.getImplementations(p);for(const h of m.objects)v[h.name]=!0;for(const h of m.interfaces)v[h.name]=!0}this._subTypeMap[p.name]=v}return v[T.name]!==void 0}getDirectives(){return this._directives}getDirective(p){return this.getDirectives().find(T=>T.name===p)}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}}}we.GraphQLSchema=c;function o(u,p){const T=(0,s.getNamedType)(u);if(!p.has(T)){if(p.add(T),(0,s.isUnionType)(T))for(const v of T.getTypes())o(v,p);else if((0,s.isObjectType)(T)||(0,s.isInterfaceType)(T)){for(const v of T.getInterfaces())o(v,p);for(const v of Object.values(T.getFields())){o(v.type,p);for(const m of v.args)o(m.type,p)}}else if((0,s.isInputObjectType)(T))for(const v of Object.values(T.getFields()))o(v.type,p)}return p}return we}var Ja;function al(){if(Ja)return dn;Ja=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.assertValidSchema=f,dn.validateSchema=d;var e=le(),t=Y(),a=Qn(),i=wi(),n=ie(),r=xe(),s=Bt(),l=rl();function d(N){if((0,l.assertSchema)(N),N.__validationErrors)return N.__validationErrors;const g=new O(N);c(g),u(g),T(g);const b=g.getErrors();return N.__validationErrors=b,b}function f(N){const g=d(N);if(g.length!==0)throw new Error(g.map(b=>b.message).join(`
68
+
69
+ `))}class O{constructor(g){this._errors=[],this.schema=g}reportError(g,b){const R=Array.isArray(b)?b.filter(Boolean):b;this._errors.push(new t.GraphQLError(g,{nodes:R}))}getErrors(){return this._errors}}function c(N){const g=N.schema,b=g.getQueryType();if(!b)N.reportError("Query root type must be provided.",g.astNode);else if(!(0,n.isObjectType)(b)){var R;N.reportError(`Query root type must be Object type, it cannot be ${(0,e.inspect)(b)}.`,(R=o(g,a.OperationTypeNode.QUERY))!==null&&R!==void 0?R:b.astNode)}const k=g.getMutationType();if(k&&!(0,n.isObjectType)(k)){var F;N.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,e.inspect)(k)}.`,(F=o(g,a.OperationTypeNode.MUTATION))!==null&&F!==void 0?F:k.astNode)}const w=g.getSubscriptionType();if(w&&!(0,n.isObjectType)(w)){var j;N.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,e.inspect)(w)}.`,(j=o(g,a.OperationTypeNode.SUBSCRIPTION))!==null&&j!==void 0?j:w.astNode)}}function o(N,g){var b;return(b=[N.astNode,...N.extensionASTNodes].flatMap(R=>{var k;return(k=R?.operationTypes)!==null&&k!==void 0?k:[]}).find(R=>R.operation===g))===null||b===void 0?void 0:b.type}function u(N){for(const b of N.schema.getDirectives()){if(!(0,r.isDirective)(b)){N.reportError(`Expected directive but got: ${(0,e.inspect)(b)}.`,b?.astNode);continue}p(N,b),b.locations.length===0&&N.reportError(`Directive @${b.name} must include 1 or more locations.`,b.astNode);for(const R of b.args)if(p(N,R),(0,n.isInputType)(R.type)||N.reportError(`The type of @${b.name}(${R.name}:) must be Input Type but got: ${(0,e.inspect)(R.type)}.`,R.astNode),(0,n.isRequiredArgument)(R)&&R.deprecationReason!=null){var g;N.reportError(`Required argument @${b.name}(${R.name}:) cannot be deprecated.`,[U(R.astNode),(g=R.astNode)===null||g===void 0?void 0:g.type])}}}function p(N,g){g.name.startsWith("__")&&N.reportError(`Name "${g.name}" must not begin with "__", which is reserved by GraphQL introspection.`,g.astNode)}function T(N){const g=M(N),b=N.schema.getTypeMap();for(const R of Object.values(b)){if(!(0,n.isNamedType)(R)){N.reportError(`Expected GraphQL named type but got: ${(0,e.inspect)(R)}.`,R.astNode);continue}(0,s.isIntrospectionType)(R)||p(N,R),(0,n.isObjectType)(R)||(0,n.isInterfaceType)(R)?(v(N,R),m(N,R)):(0,n.isUnionType)(R)?I(N,R):(0,n.isEnumType)(R)?y(N,R):(0,n.isInputObjectType)(R)&&(P(N,R),g(R))}}function v(N,g){const b=Object.values(g.getFields());b.length===0&&N.reportError(`Type ${g.name} must define one or more fields.`,[g.astNode,...g.extensionASTNodes]);for(const w of b){if(p(N,w),!(0,n.isOutputType)(w.type)){var R;N.reportError(`The type of ${g.name}.${w.name} must be Output Type but got: ${(0,e.inspect)(w.type)}.`,(R=w.astNode)===null||R===void 0?void 0:R.type)}for(const j of w.args){const K=j.name;if(p(N,j),!(0,n.isInputType)(j.type)){var k;N.reportError(`The type of ${g.name}.${w.name}(${K}:) must be Input Type but got: ${(0,e.inspect)(j.type)}.`,(k=j.astNode)===null||k===void 0?void 0:k.type)}if((0,n.isRequiredArgument)(j)&&j.deprecationReason!=null){var F;N.reportError(`Required argument ${g.name}.${w.name}(${K}:) cannot be deprecated.`,[U(j.astNode),(F=j.astNode)===null||F===void 0?void 0:F.type])}}}}function m(N,g){const b=Object.create(null);for(const R of g.getInterfaces()){if(!(0,n.isInterfaceType)(R)){N.reportError(`Type ${(0,e.inspect)(g)} must only implement Interface types, it cannot implement ${(0,e.inspect)(R)}.`,A(g,R));continue}if(g===R){N.reportError(`Type ${g.name} cannot implement itself because it would create a circular reference.`,A(g,R));continue}if(b[R.name]){N.reportError(`Type ${g.name} can only implement ${R.name} once.`,A(g,R));continue}b[R.name]=!0,_(N,g,R),h(N,g,R)}}function h(N,g,b){const R=g.getFields();for(const K of Object.values(b.getFields())){const W=K.name,ee=R[W];if(!ee){N.reportError(`Interface field ${b.name}.${W} expected but ${g.name} does not provide it.`,[K.astNode,g.astNode,...g.extensionASTNodes]);continue}if(!(0,i.isTypeSubTypeOf)(N.schema,ee.type,K.type)){var k,F;N.reportError(`Interface field ${b.name}.${W} expects type ${(0,e.inspect)(K.type)} but ${g.name}.${W} is type ${(0,e.inspect)(ee.type)}.`,[(k=K.astNode)===null||k===void 0?void 0:k.type,(F=ee.astNode)===null||F===void 0?void 0:F.type])}for(const z of K.args){const ae=z.name,ve=ee.args.find(ge=>ge.name===ae);if(!ve){N.reportError(`Interface field argument ${b.name}.${W}(${ae}:) expected but ${g.name}.${W} does not provide it.`,[z.astNode,ee.astNode]);continue}if(!(0,i.isEqualType)(z.type,ve.type)){var w,j;N.reportError(`Interface field argument ${b.name}.${W}(${ae}:) expects type ${(0,e.inspect)(z.type)} but ${g.name}.${W}(${ae}:) is type ${(0,e.inspect)(ve.type)}.`,[(w=z.astNode)===null||w===void 0?void 0:w.type,(j=ve.astNode)===null||j===void 0?void 0:j.type])}}for(const z of ee.args){const ae=z.name;!K.args.find(ge=>ge.name===ae)&&(0,n.isRequiredArgument)(z)&&N.reportError(`Object field ${g.name}.${W} includes required argument ${ae} that is missing from the Interface field ${b.name}.${W}.`,[z.astNode,K.astNode])}}}function _(N,g,b){const R=g.getInterfaces();for(const k of b.getInterfaces())R.includes(k)||N.reportError(k===g?`Type ${g.name} cannot implement ${b.name} because it would create a circular reference.`:`Type ${g.name} must implement ${k.name} because it is implemented by ${b.name}.`,[...A(b,k),...A(g,b)])}function I(N,g){const b=g.getTypes();b.length===0&&N.reportError(`Union type ${g.name} must define one or more member types.`,[g.astNode,...g.extensionASTNodes]);const R=Object.create(null);for(const k of b){if(R[k.name]){N.reportError(`Union type ${g.name} can only include type ${k.name} once.`,L(g,k.name));continue}R[k.name]=!0,(0,n.isObjectType)(k)||N.reportError(`Union type ${g.name} can only include Object types, it cannot include ${(0,e.inspect)(k)}.`,L(g,String(k)))}}function y(N,g){const b=g.getValues();b.length===0&&N.reportError(`Enum type ${g.name} must define one or more values.`,[g.astNode,...g.extensionASTNodes]);for(const R of b)p(N,R)}function P(N,g){const b=Object.values(g.getFields());b.length===0&&N.reportError(`Input Object type ${g.name} must define one or more fields.`,[g.astNode,...g.extensionASTNodes]);for(const F of b){if(p(N,F),!(0,n.isInputType)(F.type)){var R;N.reportError(`The type of ${g.name}.${F.name} must be Input Type but got: ${(0,e.inspect)(F.type)}.`,(R=F.astNode)===null||R===void 0?void 0:R.type)}if((0,n.isRequiredInputField)(F)&&F.deprecationReason!=null){var k;N.reportError(`Required input field ${g.name}.${F.name} cannot be deprecated.`,[U(F.astNode),(k=F.astNode)===null||k===void 0?void 0:k.type])}g.isOneOf&&q(g,F,N)}}function q(N,g,b){if((0,n.isNonNullType)(g.type)){var R;b.reportError(`OneOf input field ${N.name}.${g.name} must be nullable.`,(R=g.astNode)===null||R===void 0?void 0:R.type)}g.defaultValue!==void 0&&b.reportError(`OneOf input field ${N.name}.${g.name} cannot have a default value.`,g.astNode)}function M(N){const g=Object.create(null),b=[],R=Object.create(null);return k;function k(F){if(g[F.name])return;g[F.name]=!0,R[F.name]=b.length;const w=Object.values(F.getFields());for(const j of w)if((0,n.isNonNullType)(j.type)&&(0,n.isInputObjectType)(j.type.ofType)){const K=j.type.ofType,W=R[K.name];if(b.push(j),W===void 0)k(K);else{const ee=b.slice(W),z=ee.map(ae=>ae.name).join(".");N.reportError(`Cannot reference Input Object "${K.name}" within itself through a series of non-null fields: "${z}".`,ee.map(ae=>ae.astNode))}b.pop()}R[F.name]=void 0}}function A(N,g){const{astNode:b,extensionASTNodes:R}=N;return(b!=null?[b,...R]:R).flatMap(F=>{var w;return(w=F.interfaces)!==null&&w!==void 0?w:[]}).filter(F=>F.name.value===g.name)}function L(N,g){const{astNode:b,extensionASTNodes:R}=N;return(b!=null?[b,...R]:R).flatMap(F=>{var w;return(w=F.types)!==null&&w!==void 0?w:[]}).filter(F=>F.name.value===g)}function U(N){var g;return N==null||(g=N.directives)===null||g===void 0?void 0:g.find(b=>b.name.value===r.GraphQLDeprecatedDirective.name)}return dn}var ze={},Bn={},za;function Ae(){if(za)return Bn;za=1,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.typeFromAST=a;var e=te(),t=ie();function a(i,n){switch(n.kind){case e.Kind.LIST_TYPE:{const r=a(i,n.type);return r&&new t.GraphQLList(r)}case e.Kind.NON_NULL_TYPE:{const r=a(i,n.type);return r&&new t.GraphQLNonNull(r)}case e.Kind.NAMED_TYPE:return i.getType(n.name.value)}}return Bn}var Ha;function bo(){if(Ha)return ze;Ha=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.TypeInfo=void 0,ze.visitWithTypeInfo=d;var e=Qn(),t=te(),a=Yt(),i=ie(),n=Bt(),r=Ae();let s=class{constructor(O,c,o){this._schema=O,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=o??l,c&&((0,i.isInputType)(c)&&this._inputTypeStack.push(c),(0,i.isCompositeType)(c)&&this._parentTypeStack.push(c),(0,i.isOutputType)(c)&&this._typeStack.push(c))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(O){const c=this._schema;switch(O.kind){case t.Kind.SELECTION_SET:{const u=(0,i.getNamedType)(this.getType());this._parentTypeStack.push((0,i.isCompositeType)(u)?u:void 0);break}case t.Kind.FIELD:{const u=this.getParentType();let p,T;u&&(p=this._getFieldDef(c,u,O),p&&(T=p.type)),this._fieldDefStack.push(p),this._typeStack.push((0,i.isOutputType)(T)?T:void 0);break}case t.Kind.DIRECTIVE:this._directive=c.getDirective(O.name.value);break;case t.Kind.OPERATION_DEFINITION:{const u=c.getRootType(O.operation);this._typeStack.push((0,i.isObjectType)(u)?u:void 0);break}case t.Kind.INLINE_FRAGMENT:case t.Kind.FRAGMENT_DEFINITION:{const u=O.typeCondition,p=u?(0,r.typeFromAST)(c,u):(0,i.getNamedType)(this.getType());this._typeStack.push((0,i.isOutputType)(p)?p:void 0);break}case t.Kind.VARIABLE_DEFINITION:{const u=(0,r.typeFromAST)(c,O.type);this._inputTypeStack.push((0,i.isInputType)(u)?u:void 0);break}case t.Kind.ARGUMENT:{var o;let u,p;const T=(o=this.getDirective())!==null&&o!==void 0?o:this.getFieldDef();T&&(u=T.args.find(v=>v.name===O.name.value),u&&(p=u.type)),this._argument=u,this._defaultValueStack.push(u?u.defaultValue:void 0),this._inputTypeStack.push((0,i.isInputType)(p)?p:void 0);break}case t.Kind.LIST:{const u=(0,i.getNullableType)(this.getInputType()),p=(0,i.isListType)(u)?u.ofType:u;this._defaultValueStack.push(void 0),this._inputTypeStack.push((0,i.isInputType)(p)?p:void 0);break}case t.Kind.OBJECT_FIELD:{const u=(0,i.getNamedType)(this.getInputType());let p,T;(0,i.isInputObjectType)(u)&&(T=u.getFields()[O.name.value],T&&(p=T.type)),this._defaultValueStack.push(T?T.defaultValue:void 0),this._inputTypeStack.push((0,i.isInputType)(p)?p:void 0);break}case t.Kind.ENUM:{const u=(0,i.getNamedType)(this.getInputType());let p;(0,i.isEnumType)(u)&&(p=u.getValue(O.value)),this._enumValue=p;break}}}leave(O){switch(O.kind){case t.Kind.SELECTION_SET:this._parentTypeStack.pop();break;case t.Kind.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case t.Kind.DIRECTIVE:this._directive=null;break;case t.Kind.OPERATION_DEFINITION:case t.Kind.INLINE_FRAGMENT:case t.Kind.FRAGMENT_DEFINITION:this._typeStack.pop();break;case t.Kind.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case t.Kind.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case t.Kind.LIST:case t.Kind.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case t.Kind.ENUM:this._enumValue=null;break}}};ze.TypeInfo=s;function l(f,O,c){const o=c.name.value;if(o===n.SchemaMetaFieldDef.name&&f.getQueryType()===O)return n.SchemaMetaFieldDef;if(o===n.TypeMetaFieldDef.name&&f.getQueryType()===O)return n.TypeMetaFieldDef;if(o===n.TypeNameMetaFieldDef.name&&(0,i.isCompositeType)(O))return n.TypeNameMetaFieldDef;if((0,i.isObjectType)(O)||(0,i.isInterfaceType)(O))return O.getFields()[o]}function d(f,O){return{enter(...c){const o=c[0];f.enter(o);const u=(0,a.getEnterLeaveForKind)(O,o.kind).enter;if(u){const p=u.apply(O,c);return p!==void 0&&(f.leave(o),(0,e.isNode)(p)&&f.enter(p)),p}},leave(...c){const o=c[0],u=(0,a.getEnterLeaveForKind)(O,o.kind).leave;let p;return u&&(p=u.apply(O,c)),f.leave(o),p}}}return ze}var _e={},Kn={},Oe={},es;function Kt(){if(es)return Oe;es=1,Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.isConstValueNode=r,Oe.isDefinitionNode=t,Oe.isExecutableDefinitionNode=a,Oe.isSchemaCoordinateNode=c,Oe.isSelectionNode=i,Oe.isTypeDefinitionNode=d,Oe.isTypeExtensionNode=O,Oe.isTypeNode=s,Oe.isTypeSystemDefinitionNode=l,Oe.isTypeSystemExtensionNode=f,Oe.isValueNode=n;var e=te();function t(o){return a(o)||l(o)||f(o)}function a(o){return o.kind===e.Kind.OPERATION_DEFINITION||o.kind===e.Kind.FRAGMENT_DEFINITION}function i(o){return o.kind===e.Kind.FIELD||o.kind===e.Kind.FRAGMENT_SPREAD||o.kind===e.Kind.INLINE_FRAGMENT}function n(o){return o.kind===e.Kind.VARIABLE||o.kind===e.Kind.INT||o.kind===e.Kind.FLOAT||o.kind===e.Kind.STRING||o.kind===e.Kind.BOOLEAN||o.kind===e.Kind.NULL||o.kind===e.Kind.ENUM||o.kind===e.Kind.LIST||o.kind===e.Kind.OBJECT}function r(o){return n(o)&&(o.kind===e.Kind.LIST?o.values.some(r):o.kind===e.Kind.OBJECT?o.fields.some(u=>r(u.value)):o.kind!==e.Kind.VARIABLE)}function s(o){return o.kind===e.Kind.NAMED_TYPE||o.kind===e.Kind.LIST_TYPE||o.kind===e.Kind.NON_NULL_TYPE}function l(o){return o.kind===e.Kind.SCHEMA_DEFINITION||d(o)||o.kind===e.Kind.DIRECTIVE_DEFINITION}function d(o){return o.kind===e.Kind.SCALAR_TYPE_DEFINITION||o.kind===e.Kind.OBJECT_TYPE_DEFINITION||o.kind===e.Kind.INTERFACE_TYPE_DEFINITION||o.kind===e.Kind.UNION_TYPE_DEFINITION||o.kind===e.Kind.ENUM_TYPE_DEFINITION||o.kind===e.Kind.INPUT_OBJECT_TYPE_DEFINITION}function f(o){return o.kind===e.Kind.SCHEMA_EXTENSION||O(o)}function O(o){return o.kind===e.Kind.SCALAR_TYPE_EXTENSION||o.kind===e.Kind.OBJECT_TYPE_EXTENSION||o.kind===e.Kind.INTERFACE_TYPE_EXTENSION||o.kind===e.Kind.UNION_TYPE_EXTENSION||o.kind===e.Kind.ENUM_TYPE_EXTENSION||o.kind===e.Kind.INPUT_OBJECT_TYPE_EXTENSION}function c(o){return o.kind===e.Kind.TYPE_COORDINATE||o.kind===e.Kind.MEMBER_COORDINATE||o.kind===e.Kind.ARGUMENT_COORDINATE||o.kind===e.Kind.DIRECTIVE_COORDINATE||o.kind===e.Kind.DIRECTIVE_ARGUMENT_COORDINATE}return Oe}var ns;function sl(){if(ns)return Kn;ns=1,Object.defineProperty(Kn,"__esModule",{value:!0}),Kn.ExecutableDefinitionsRule=i;var e=Y(),t=te(),a=Kt();function i(n){return{Document(r){for(const s of r.definitions)if(!(0,a.isExecutableDefinitionNode)(s)){const l=s.kind===t.Kind.SCHEMA_DEFINITION||s.kind===t.Kind.SCHEMA_EXTENSION?"schema":'"'+s.name.value+'"';n.reportError(new e.GraphQLError(`The ${l} definition is not executable.`,{nodes:s}))}return!1}}}return Kn}var Zn={},ts;function ol(){if(ts)return Zn;ts=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.FieldsOnCorrectTypeRule=r;var e=Ce(),t=Ui(),a=Ge(),i=Y(),n=ie();function r(d){return{Field(f){const O=d.getParentType();if(O&&!d.getFieldDef()){const o=d.getSchema(),u=f.name.value;let p=(0,e.didYouMean)("to use an inline fragment on",s(o,O,u));p===""&&(p=(0,e.didYouMean)(l(O,u))),d.reportError(new i.GraphQLError(`Cannot query field "${u}" on type "${O.name}".`+p,{nodes:f}))}}}}function s(d,f,O){if(!(0,n.isAbstractType)(f))return[];const c=new Set,o=Object.create(null);for(const p of d.getPossibleTypes(f))if(p.getFields()[O]){c.add(p),o[p.name]=1;for(const T of p.getInterfaces()){var u;T.getFields()[O]&&(c.add(T),o[T.name]=((u=o[T.name])!==null&&u!==void 0?u:0)+1)}}return[...c].sort((p,T)=>{const v=o[T.name]-o[p.name];return v!==0?v:(0,n.isInterfaceType)(p)&&d.isSubType(p,T)?-1:(0,n.isInterfaceType)(T)&&d.isSubType(T,p)?1:(0,t.naturalCompare)(p.name,T.name)}).map(p=>p.name)}function l(d,f){if((0,n.isObjectType)(d)||(0,n.isInterfaceType)(d)){const O=Object.keys(d.getFields());return(0,a.suggestionList)(f,O)}return[]}return Zn}var Wn={},is;function ul(){if(is)return Wn;is=1,Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.FragmentsOnCompositeTypesRule=n;var e=Y(),t=be(),a=ie(),i=Ae();function n(r){return{InlineFragment(s){const l=s.typeCondition;if(l){const d=(0,i.typeFromAST)(r.getSchema(),l);if(d&&!(0,a.isCompositeType)(d)){const f=(0,t.print)(l);r.reportError(new e.GraphQLError(`Fragment cannot condition on non composite type "${f}".`,{nodes:l}))}}},FragmentDefinition(s){const l=(0,i.typeFromAST)(r.getSchema(),s.typeCondition);if(l&&!(0,a.isCompositeType)(l)){const d=(0,t.print)(s.typeCondition);r.reportError(new e.GraphQLError(`Fragment "${s.name.value}" cannot condition on non composite type "${d}".`,{nodes:s.typeCondition}))}}}}return Wn}var Tn={},rs;function cl(){if(rs)return Tn;rs=1,Object.defineProperty(Tn,"__esModule",{value:!0}),Tn.KnownArgumentNamesOnDirectivesRule=s,Tn.KnownArgumentNamesRule=r;var e=Ce(),t=Ge(),a=Y(),i=te(),n=xe();function r(l){return{...s(l),Argument(d){const f=l.getArgument(),O=l.getFieldDef(),c=l.getParentType();if(!f&&O&&c){const o=d.name.value,u=O.args.map(T=>T.name),p=(0,t.suggestionList)(o,u);l.reportError(new a.GraphQLError(`Unknown argument "${o}" on field "${c.name}.${O.name}".`+(0,e.didYouMean)(p),{nodes:d}))}}}}function s(l){const d=Object.create(null),f=l.getSchema(),O=f?f.getDirectives():n.specifiedDirectives;for(const u of O)d[u.name]=u.args.map(p=>p.name);const c=l.getDocument().definitions;for(const u of c)if(u.kind===i.Kind.DIRECTIVE_DEFINITION){var o;const p=(o=u.arguments)!==null&&o!==void 0?o:[];d[u.name.value]=p.map(T=>T.name.value)}return{Directive(u){const p=u.name.value,T=d[p];if(u.arguments&&T)for(const v of u.arguments){const m=v.name.value;if(!T.includes(m)){const h=(0,t.suggestionList)(m,T);l.reportError(new a.GraphQLError(`Unknown argument "${m}" on directive "@${p}".`+(0,e.didYouMean)(h),{nodes:v}))}}return!1}}}return Tn}var Jn={},as;function ll(){if(as)return Jn;as=1,Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.KnownDirectivesRule=l;var e=le(),t=ke(),a=Y(),i=Qn(),n=$i(),r=te(),s=xe();function l(O){const c=Object.create(null),o=O.getSchema(),u=o?o.getDirectives():s.specifiedDirectives;for(const T of u)c[T.name]=T.locations;const p=O.getDocument().definitions;for(const T of p)T.kind===r.Kind.DIRECTIVE_DEFINITION&&(c[T.name.value]=T.locations.map(v=>v.value));return{Directive(T,v,m,h,_){const I=T.name.value,y=c[I];if(!y){O.reportError(new a.GraphQLError(`Unknown directive "@${I}".`,{nodes:T}));return}const P=d(_);P&&!y.includes(P)&&O.reportError(new a.GraphQLError(`Directive "@${I}" may not be used on ${P}.`,{nodes:T}))}}}function d(O){const c=O[O.length-1];switch("kind"in c||(0,t.invariant)(!1),c.kind){case r.Kind.OPERATION_DEFINITION:return f(c.operation);case r.Kind.FIELD:return n.DirectiveLocation.FIELD;case r.Kind.FRAGMENT_SPREAD:return n.DirectiveLocation.FRAGMENT_SPREAD;case r.Kind.INLINE_FRAGMENT:return n.DirectiveLocation.INLINE_FRAGMENT;case r.Kind.FRAGMENT_DEFINITION:return n.DirectiveLocation.FRAGMENT_DEFINITION;case r.Kind.VARIABLE_DEFINITION:return n.DirectiveLocation.VARIABLE_DEFINITION;case r.Kind.SCHEMA_DEFINITION:case r.Kind.SCHEMA_EXTENSION:return n.DirectiveLocation.SCHEMA;case r.Kind.SCALAR_TYPE_DEFINITION:case r.Kind.SCALAR_TYPE_EXTENSION:return n.DirectiveLocation.SCALAR;case r.Kind.OBJECT_TYPE_DEFINITION:case r.Kind.OBJECT_TYPE_EXTENSION:return n.DirectiveLocation.OBJECT;case r.Kind.FIELD_DEFINITION:return n.DirectiveLocation.FIELD_DEFINITION;case r.Kind.INTERFACE_TYPE_DEFINITION:case r.Kind.INTERFACE_TYPE_EXTENSION:return n.DirectiveLocation.INTERFACE;case r.Kind.UNION_TYPE_DEFINITION:case r.Kind.UNION_TYPE_EXTENSION:return n.DirectiveLocation.UNION;case r.Kind.ENUM_TYPE_DEFINITION:case r.Kind.ENUM_TYPE_EXTENSION:return n.DirectiveLocation.ENUM;case r.Kind.ENUM_VALUE_DEFINITION:return n.DirectiveLocation.ENUM_VALUE;case r.Kind.INPUT_OBJECT_TYPE_DEFINITION:case r.Kind.INPUT_OBJECT_TYPE_EXTENSION:return n.DirectiveLocation.INPUT_OBJECT;case r.Kind.INPUT_VALUE_DEFINITION:{const o=O[O.length-3];return"kind"in o||(0,t.invariant)(!1),o.kind===r.Kind.INPUT_OBJECT_TYPE_DEFINITION?n.DirectiveLocation.INPUT_FIELD_DEFINITION:n.DirectiveLocation.ARGUMENT_DEFINITION}default:(0,t.invariant)(!1,"Unexpected kind: "+(0,e.inspect)(c.kind))}}function f(O){switch(O){case i.OperationTypeNode.QUERY:return n.DirectiveLocation.QUERY;case i.OperationTypeNode.MUTATION:return n.DirectiveLocation.MUTATION;case i.OperationTypeNode.SUBSCRIPTION:return n.DirectiveLocation.SUBSCRIPTION}}return Jn}var zn={},ss;function fl(){if(ss)return zn;ss=1,Object.defineProperty(zn,"__esModule",{value:!0}),zn.KnownFragmentNamesRule=t;var e=Y();function t(a){return{FragmentSpread(i){const n=i.name.value;a.getFragment(n)||a.reportError(new e.GraphQLError(`Unknown fragment "${n}".`,{nodes:i.name}))}}}return zn}var Hn={},os;function dl(){if(os)return Hn;os=1,Object.defineProperty(Hn,"__esModule",{value:!0}),Hn.KnownTypeNamesRule=s;var e=Ce(),t=Ge(),a=Y(),i=Kt(),n=Bt(),r=Xt();function s(f){const O=f.getSchema(),c=O?O.getTypeMap():Object.create(null),o=Object.create(null);for(const p of f.getDocument().definitions)(0,i.isTypeDefinitionNode)(p)&&(o[p.name.value]=!0);const u=[...Object.keys(c),...Object.keys(o)];return{NamedType(p,T,v,m,h){const _=p.name.value;if(!c[_]&&!o[_]){var I;const y=(I=h[2])!==null&&I!==void 0?I:v,P=y!=null&&d(y);if(P&&l.includes(_))return;const q=(0,t.suggestionList)(_,P?l.concat(u):u);f.reportError(new a.GraphQLError(`Unknown type "${_}".`+(0,e.didYouMean)(q),{nodes:p}))}}}}const l=[...r.specifiedScalarTypes,...n.introspectionTypes].map(f=>f.name);function d(f){return"kind"in f&&((0,i.isTypeSystemDefinitionNode)(f)||(0,i.isTypeSystemExtensionNode)(f))}return Hn}var et={},us;function pl(){if(us)return et;us=1,Object.defineProperty(et,"__esModule",{value:!0}),et.LoneAnonymousOperationRule=a;var e=Y(),t=te();function a(i){let n=0;return{Document(r){n=r.definitions.filter(s=>s.kind===t.Kind.OPERATION_DEFINITION).length},OperationDefinition(r){!r.name&&n>1&&i.reportError(new e.GraphQLError("This anonymous operation must be the only defined operation.",{nodes:r}))}}}return et}var nt={},cs;function Ol(){if(cs)return nt;cs=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.LoneSchemaDefinitionRule=t;var e=Y();function t(a){var i,n,r;const s=a.getSchema(),l=(i=(n=(r=s?.astNode)!==null&&r!==void 0?r:s?.getQueryType())!==null&&n!==void 0?n:s?.getMutationType())!==null&&i!==void 0?i:s?.getSubscriptionType();let d=0;return{SchemaDefinition(f){if(l){a.reportError(new e.GraphQLError("Cannot define a new schema within a schema extension.",{nodes:f}));return}d>0&&a.reportError(new e.GraphQLError("Must provide only one schema definition.",{nodes:f})),++d}}}return nt}var tt={},ls;function Tl(){if(ls)return tt;ls=1,Object.defineProperty(tt,"__esModule",{value:!0}),tt.MaxIntrospectionDepthRule=i;var e=Y(),t=te();const a=3;function i(n){function r(s,l=Object.create(null),d=0){if(s.kind===t.Kind.FRAGMENT_SPREAD){const f=s.name.value;if(l[f]===!0)return!1;const O=n.getFragment(f);if(!O)return!1;try{return l[f]=!0,r(O,l,d)}finally{l[f]=void 0}}if(s.kind===t.Kind.FIELD&&(s.name.value==="fields"||s.name.value==="interfaces"||s.name.value==="possibleTypes"||s.name.value==="inputFields")&&(d++,d>=a))return!0;if("selectionSet"in s&&s.selectionSet){for(const f of s.selectionSet.selections)if(r(f,l,d))return!0}return!1}return{Field(s){if((s.name.value==="__schema"||s.name.value==="__type")&&r(s))return n.reportError(new e.GraphQLError("Maximum introspection depth exceeded",{nodes:[s]})),!1}}}return tt}var it={},fs;function vl(){if(fs)return it;fs=1,Object.defineProperty(it,"__esModule",{value:!0}),it.NoFragmentCyclesRule=t;var e=Y();function t(a){const i=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(l){return s(l),!1}};function s(l){if(i[l.name.value])return;const d=l.name.value;i[d]=!0;const f=a.getFragmentSpreads(l.selectionSet);if(f.length!==0){r[d]=n.length;for(const O of f){const c=O.name.value,o=r[c];if(n.push(O),o===void 0){const u=a.getFragment(c);u&&s(u)}else{const u=n.slice(o),p=u.slice(0,-1).map(T=>'"'+T.name.value+'"').join(", ");a.reportError(new e.GraphQLError(`Cannot spread fragment "${c}" within itself`+(p!==""?` via ${p}.`:"."),{nodes:u}))}n.pop()}r[d]=void 0}}}return it}var rt={},ds;function ml(){if(ds)return rt;ds=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.NoUndefinedVariablesRule=t;var e=Y();function t(a){let i=Object.create(null);return{OperationDefinition:{enter(){i=Object.create(null)},leave(n){const r=a.getRecursiveVariableUsages(n);for(const{node:s}of r){const l=s.name.value;i[l]!==!0&&a.reportError(new e.GraphQLError(n.name?`Variable "$${l}" is not defined by operation "${n.name.value}".`:`Variable "$${l}" is not defined.`,{nodes:[s,n]}))}}},VariableDefinition(n){i[n.variable.name.value]=!0}}}return rt}var at={},ps;function hl(){if(ps)return at;ps=1,Object.defineProperty(at,"__esModule",{value:!0}),at.NoUnusedFragmentsRule=t;var e=Y();function t(a){const i=[],n=[];return{OperationDefinition(r){return i.push(r),!1},FragmentDefinition(r){return n.push(r),!1},Document:{leave(){const r=Object.create(null);for(const s of i)for(const l of a.getRecursivelyReferencedFragments(s))r[l.name.value]=!0;for(const s of n){const l=s.name.value;r[l]!==!0&&a.reportError(new e.GraphQLError(`Fragment "${l}" is never used.`,{nodes:s}))}}}}}return at}var st={},Os;function yl(){if(Os)return st;Os=1,Object.defineProperty(st,"__esModule",{value:!0}),st.NoUnusedVariablesRule=t;var e=Y();function t(a){let i=[];return{OperationDefinition:{enter(){i=[]},leave(n){const r=Object.create(null),s=a.getRecursiveVariableUsages(n);for(const{node:l}of s)r[l.name.value]=!0;for(const l of i){const d=l.variable.name.value;r[d]!==!0&&a.reportError(new e.GraphQLError(n.name?`Variable "$${d}" is never used in operation "${n.name.value}".`:`Variable "$${d}" is never used.`,{nodes:l}))}}},VariableDefinition(n){i.push(n)}}}return st}var ot={},ut={},Ts;function El(){if(Ts)return ut;Ts=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.sortValueNode=a;var e=Ui(),t=te();function a(n){switch(n.kind){case t.Kind.OBJECT:return{...n,fields:i(n.fields)};case t.Kind.LIST:return{...n,values:n.values.map(a)};case t.Kind.INT:case t.Kind.FLOAT:case t.Kind.STRING:case t.Kind.BOOLEAN:case t.Kind.NULL:case t.Kind.ENUM:case t.Kind.VARIABLE:return n}}function i(n){return n.map(r=>({...r,value:a(r.value)})).sort((r,s)=>(0,e.naturalCompare)(r.name.value,s.name.value))}return ut}var vs;function gl(){if(vs)return ot;vs=1,Object.defineProperty(ot,"__esModule",{value:!0}),ot.OverlappingFieldsCanBeMergedRule=d;var e=le(),t=Y(),a=te(),i=be(),n=ie(),r=El(),s=Ae();function l(A){return Array.isArray(A)?A.map(([L,U])=>`subfields "${L}" conflict because `+l(U)).join(" and "):A}function d(A){const L=new q,U=new M,N=new Map;return{SelectionSet(g){const b=f(A,N,L,U,A.getParentType(),g);for(const[[R,k],F,w]of b){const j=l(k);A.reportError(new t.GraphQLError(`Fields "${R}" conflict because ${j}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:F.concat(w)}))}}}}function f(A,L,U,N,g,b){const R=[],[k,F]=_(A,L,g,b);if(u(A,R,L,U,N,k),F.length!==0)for(let w=0;w<F.length;w++){O(A,R,L,U,N,!1,k,F[w]);for(let j=w+1;j<F.length;j++)c(A,R,L,U,N,!1,F[w],F[j])}return R}function O(A,L,U,N,g,b,R,k){if(N.has(R,k,b))return;N.add(R,k,b);const F=A.getFragment(k);if(!F)return;const[w,j]=I(A,U,F);if(R!==w){p(A,L,U,N,g,b,R,w);for(const K of j)O(A,L,U,N,g,b,R,K)}}function c(A,L,U,N,g,b,R,k){if(R===k||g.has(R,k,b))return;g.add(R,k,b);const F=A.getFragment(R),w=A.getFragment(k);if(!F||!w)return;const[j,K]=I(A,U,F),[W,ee]=I(A,U,w);p(A,L,U,N,g,b,j,W);for(const z of ee)c(A,L,U,N,g,b,R,z);for(const z of K)c(A,L,U,N,g,b,z,k)}function o(A,L,U,N,g,b,R,k,F){const w=[],[j,K]=_(A,L,b,R),[W,ee]=_(A,L,k,F);p(A,w,L,U,N,g,j,W);for(const z of ee)O(A,w,L,U,N,g,j,z);for(const z of K)O(A,w,L,U,N,g,W,z);for(const z of K)for(const ae of ee)c(A,w,L,U,N,g,z,ae);return w}function u(A,L,U,N,g,b){for(const[R,k]of Object.entries(b))if(k.length>1)for(let F=0;F<k.length;F++)for(let w=F+1;w<k.length;w++){const j=T(A,U,N,g,!1,R,k[F],k[w]);j&&L.push(j)}}function p(A,L,U,N,g,b,R,k){for(const[F,w]of Object.entries(R)){const j=k[F];if(j)for(const K of w)for(const W of j){const ee=T(A,U,N,g,b,F,K,W);ee&&L.push(ee)}}}function T(A,L,U,N,g,b,R,k){const[F,w,j]=R,[K,W,ee]=k,z=g||F!==K&&(0,n.isObjectType)(F)&&(0,n.isObjectType)(K);if(!z){const Ve=w.name.value,un=W.name.value;if(Ve!==un)return[[b,`"${Ve}" and "${un}" are different fields`],[w],[W]];if(!v(w,W))return[[b,"they have differing arguments"],[w],[W]]}const ae=j?.type,ve=ee?.type;if(ae&&ve&&h(ae,ve))return[[b,`they return conflicting types "${(0,e.inspect)(ae)}" and "${(0,e.inspect)(ve)}"`],[w],[W]];const ge=w.selectionSet,bn=W.selectionSet;if(ge&&bn){const Ve=o(A,L,U,N,z,(0,n.getNamedType)(ae),ge,(0,n.getNamedType)(ve),bn);return P(Ve,b,w,W)}}function v(A,L){const U=A.arguments,N=L.arguments;if(U===void 0||U.length===0)return N===void 0||N.length===0;if(N===void 0||N.length===0||U.length!==N.length)return!1;const g=new Map(N.map(({name:b,value:R})=>[b.value,R]));return U.every(b=>{const R=b.value,k=g.get(b.name.value);return k===void 0?!1:m(R)===m(k)})}function m(A){return(0,i.print)((0,r.sortValueNode)(A))}function h(A,L){return(0,n.isListType)(A)?(0,n.isListType)(L)?h(A.ofType,L.ofType):!0:(0,n.isListType)(L)?!0:(0,n.isNonNullType)(A)?(0,n.isNonNullType)(L)?h(A.ofType,L.ofType):!0:(0,n.isNonNullType)(L)?!0:(0,n.isLeafType)(A)||(0,n.isLeafType)(L)?A!==L:!1}function _(A,L,U,N){const g=L.get(N);if(g)return g;const b=Object.create(null),R=Object.create(null);y(A,U,N,b,R);const k=[b,Object.keys(R)];return L.set(N,k),k}function I(A,L,U){const N=L.get(U.selectionSet);if(N)return N;const g=(0,s.typeFromAST)(A.getSchema(),U.typeCondition);return _(A,L,g,U.selectionSet)}function y(A,L,U,N,g){for(const b of U.selections)switch(b.kind){case a.Kind.FIELD:{const R=b.name.value;let k;((0,n.isObjectType)(L)||(0,n.isInterfaceType)(L))&&(k=L.getFields()[R]);const F=b.alias?b.alias.value:R;N[F]||(N[F]=[]),N[F].push([L,b,k]);break}case a.Kind.FRAGMENT_SPREAD:g[b.name.value]=!0;break;case a.Kind.INLINE_FRAGMENT:{const R=b.typeCondition,k=R?(0,s.typeFromAST)(A.getSchema(),R):L;y(A,k,b.selectionSet,N,g);break}}}function P(A,L,U,N){if(A.length>0)return[[L,A.map(([g])=>g)],[U,...A.map(([,g])=>g).flat()],[N,...A.map(([,,g])=>g).flat()]]}class q{constructor(){this._data=new Map}has(L,U,N){var g;const b=(g=this._data.get(L))===null||g===void 0?void 0:g.get(U);return b===void 0?!1:N?!0:N===b}add(L,U,N){const g=this._data.get(L);g===void 0?this._data.set(L,new Map([[U,N]])):g.set(U,N)}}class M{constructor(){this._orderedPairSet=new q}has(L,U,N){return L<U?this._orderedPairSet.has(L,U,N):this._orderedPairSet.has(U,L,N)}add(L,U,N){L<U?this._orderedPairSet.add(L,U,N):this._orderedPairSet.add(U,L,N)}}return ot}var ct={},ms;function Nl(){if(ms)return ct;ms=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.PossibleFragmentSpreadsRule=r;var e=le(),t=Y(),a=ie(),i=wi(),n=Ae();function r(l){return{InlineFragment(d){const f=l.getType(),O=l.getParentType();if((0,a.isCompositeType)(f)&&(0,a.isCompositeType)(O)&&!(0,i.doTypesOverlap)(l.getSchema(),f,O)){const c=(0,e.inspect)(O),o=(0,e.inspect)(f);l.reportError(new t.GraphQLError(`Fragment cannot be spread here as objects of type "${c}" can never be of type "${o}".`,{nodes:d}))}},FragmentSpread(d){const f=d.name.value,O=s(l,f),c=l.getParentType();if(O&&c&&!(0,i.doTypesOverlap)(l.getSchema(),O,c)){const o=(0,e.inspect)(c),u=(0,e.inspect)(O);l.reportError(new t.GraphQLError(`Fragment "${f}" cannot be spread here as objects of type "${o}" can never be of type "${u}".`,{nodes:d}))}}}}function s(l,d){const f=l.getFragment(d);if(f){const O=(0,n.typeFromAST)(l.getSchema(),f.typeCondition);if((0,a.isCompositeType)(O))return O}}return ct}var lt={},hs;function _l(){if(hs)return lt;hs=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.PossibleTypeExtensionsRule=d;var e=Ce(),t=le(),a=ke(),i=Ge(),n=Y(),r=te(),s=Kt(),l=ie();function d(o){const u=o.getSchema(),p=Object.create(null);for(const v of o.getDocument().definitions)(0,s.isTypeDefinitionNode)(v)&&(p[v.name.value]=v);return{ScalarTypeExtension:T,ObjectTypeExtension:T,InterfaceTypeExtension:T,UnionTypeExtension:T,EnumTypeExtension:T,InputObjectTypeExtension:T};function T(v){const m=v.name.value,h=p[m],_=u?.getType(m);let I;if(h?I=f[h.kind]:_&&(I=O(_)),I){if(I!==v.kind){const y=c(v.kind);o.reportError(new n.GraphQLError(`Cannot extend non-${y} type "${m}".`,{nodes:h?[h,v]:v}))}}else{const y=Object.keys({...p,...u?.getTypeMap()}),P=(0,i.suggestionList)(m,y);o.reportError(new n.GraphQLError(`Cannot extend type "${m}" because it is not defined.`+(0,e.didYouMean)(P),{nodes:v.name}))}}}const f={[r.Kind.SCALAR_TYPE_DEFINITION]:r.Kind.SCALAR_TYPE_EXTENSION,[r.Kind.OBJECT_TYPE_DEFINITION]:r.Kind.OBJECT_TYPE_EXTENSION,[r.Kind.INTERFACE_TYPE_DEFINITION]:r.Kind.INTERFACE_TYPE_EXTENSION,[r.Kind.UNION_TYPE_DEFINITION]:r.Kind.UNION_TYPE_EXTENSION,[r.Kind.ENUM_TYPE_DEFINITION]:r.Kind.ENUM_TYPE_EXTENSION,[r.Kind.INPUT_OBJECT_TYPE_DEFINITION]:r.Kind.INPUT_OBJECT_TYPE_EXTENSION};function O(o){if((0,l.isScalarType)(o))return r.Kind.SCALAR_TYPE_EXTENSION;if((0,l.isObjectType)(o))return r.Kind.OBJECT_TYPE_EXTENSION;if((0,l.isInterfaceType)(o))return r.Kind.INTERFACE_TYPE_EXTENSION;if((0,l.isUnionType)(o))return r.Kind.UNION_TYPE_EXTENSION;if((0,l.isEnumType)(o))return r.Kind.ENUM_TYPE_EXTENSION;if((0,l.isInputObjectType)(o))return r.Kind.INPUT_OBJECT_TYPE_EXTENSION;(0,a.invariant)(!1,"Unexpected type: "+(0,t.inspect)(o))}function c(o){switch(o){case r.Kind.SCALAR_TYPE_EXTENSION:return"scalar";case r.Kind.OBJECT_TYPE_EXTENSION:return"object";case r.Kind.INTERFACE_TYPE_EXTENSION:return"interface";case r.Kind.UNION_TYPE_EXTENSION:return"union";case r.Kind.ENUM_TYPE_EXTENSION:return"enum";case r.Kind.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,a.invariant)(!1,"Unexpected kind: "+(0,t.inspect)(o))}}return lt}var vn={},ys;function Sl(){if(ys)return vn;ys=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.ProvidedRequiredArgumentsOnDirectivesRule=d,vn.ProvidedRequiredArgumentsRule=l;var e=le(),t=In(),a=Y(),i=te(),n=be(),r=ie(),s=xe();function l(O){return{...d(O),Field:{leave(c){var o;const u=O.getFieldDef();if(!u)return!1;const p=new Set((o=c.arguments)===null||o===void 0?void 0:o.map(T=>T.name.value));for(const T of u.args)if(!p.has(T.name)&&(0,r.isRequiredArgument)(T)){const v=(0,e.inspect)(T.type);O.reportError(new a.GraphQLError(`Field "${u.name}" argument "${T.name}" of type "${v}" is required, but it was not provided.`,{nodes:c}))}}}}}function d(O){var c;const o=Object.create(null),u=O.getSchema(),p=(c=u?.getDirectives())!==null&&c!==void 0?c:s.specifiedDirectives;for(const m of p)o[m.name]=(0,t.keyMap)(m.args.filter(r.isRequiredArgument),h=>h.name);const T=O.getDocument().definitions;for(const m of T)if(m.kind===i.Kind.DIRECTIVE_DEFINITION){var v;const h=(v=m.arguments)!==null&&v!==void 0?v:[];o[m.name.value]=(0,t.keyMap)(h.filter(f),_=>_.name.value)}return{Directive:{leave(m){const h=m.name.value,_=o[h];if(_){var I;const y=(I=m.arguments)!==null&&I!==void 0?I:[],P=new Set(y.map(q=>q.name.value));for(const[q,M]of Object.entries(_))if(!P.has(q)){const A=(0,r.isType)(M.type)?(0,e.inspect)(M.type):(0,n.print)(M.type);O.reportError(new a.GraphQLError(`Directive "@${h}" argument "${q}" of type "${A}" is required, but it was not provided.`,{nodes:m}))}}}}}}function f(O){return O.type.kind===i.Kind.NON_NULL_TYPE&&O.defaultValue==null}return vn}var ft={},Es;function Ql(){if(Es)return ft;Es=1,Object.defineProperty(ft,"__esModule",{value:!0}),ft.ScalarLeafsRule=i;var e=le(),t=Y(),a=ie();function i(n){return{Field(r){const s=n.getType(),l=r.selectionSet;if(s)if((0,a.isLeafType)((0,a.getNamedType)(s))){if(l){const d=r.name.value,f=(0,e.inspect)(s);n.reportError(new t.GraphQLError(`Field "${d}" must not have a selection since type "${f}" has no subfields.`,{nodes:l}))}}else if(l){if(l.selections.length===0){const d=r.name.value,f=(0,e.inspect)(s);n.reportError(new t.GraphQLError(`Field "${d}" of type "${f}" must have at least one field selected.`,{nodes:r}))}}else{const d=r.name.value,f=(0,e.inspect)(s);n.reportError(new t.GraphQLError(`Field "${d}" of type "${f}" must have a selection of subfields. Did you mean "${d} { ... }"?`,{nodes:r}))}}}}return ft}var dt={},mn={},He={},pt={},gs;function Ro(){if(gs)return pt;gs=1,Object.defineProperty(pt,"__esModule",{value:!0}),pt.printPathArray=e;function e(t){return t.map(a=>typeof a=="number"?"["+a.toString()+"]":"."+a).join("")}return pt}var Ot={},hn={},Ns;function Il(){if(Ns)return hn;Ns=1,Object.defineProperty(hn,"__esModule",{value:!0}),hn.addPath=e,hn.pathToArray=t;function e(a,i,n){return{prev:a,key:i,typename:n}}function t(a){const i=[];let n=a;for(;n;)i.push(n.key),n=n.prev;return i.reverse()}return hn}var _s;function bl(){if(_s)return Ot;_s=1,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.coerceInputValue=O;var e=Ce(),t=le(),a=ke(),i=Io(),n=je(),r=Il(),s=Ro(),l=Ge(),d=Y(),f=ie();function O(u,p,T=c){return o(u,p,T,void 0)}function c(u,p,T){let v="Invalid value "+(0,t.inspect)(p);throw u.length>0&&(v+=` at "value${(0,s.printPathArray)(u)}"`),T.message=v+": "+T.message,T}function o(u,p,T,v){if((0,f.isNonNullType)(p)){if(u!=null)return o(u,p.ofType,T,v);T((0,r.pathToArray)(v),u,new d.GraphQLError(`Expected non-nullable type "${(0,t.inspect)(p)}" not to be null.`));return}if(u==null)return null;if((0,f.isListType)(p)){const m=p.ofType;return(0,i.isIterableObject)(u)?Array.from(u,(h,_)=>{const I=(0,r.addPath)(v,_,void 0);return o(h,m,T,I)}):[o(u,m,T,v)]}if((0,f.isInputObjectType)(p)){if(!(0,n.isObjectLike)(u)||Array.isArray(u)){T((0,r.pathToArray)(v),u,new d.GraphQLError(`Expected type "${p.name}" to be an object.`));return}const m={},h=p.getFields();for(const _ of Object.values(h)){const I=u[_.name];if(I===void 0){if(_.defaultValue!==void 0)m[_.name]=_.defaultValue;else if((0,f.isNonNullType)(_.type)){const y=(0,t.inspect)(_.type);T((0,r.pathToArray)(v),u,new d.GraphQLError(`Field "${_.name}" of required type "${y}" was not provided.`))}continue}m[_.name]=o(I,_.type,T,(0,r.addPath)(v,_.name,p.name))}for(const _ of Object.keys(u))if(!h[_]){const I=(0,l.suggestionList)(_,Object.keys(p.getFields()));T((0,r.pathToArray)(v),u,new d.GraphQLError(`Field "${_}" is not defined by type "${p.name}".`+(0,e.didYouMean)(I)))}if(p.isOneOf){const _=Object.keys(m);_.length!==1&&T((0,r.pathToArray)(v),u,new d.GraphQLError(`Exactly one key must be specified for OneOf type "${p.name}".`));const I=_[0],y=m[I];y===null&&T((0,r.pathToArray)(v).concat(I),y,new d.GraphQLError(`Field "${I}" must be non-null.`))}return m}if((0,f.isLeafType)(p)){let m;try{m=p.parseValue(u)}catch(h){h instanceof d.GraphQLError?T((0,r.pathToArray)(v),u,h):T((0,r.pathToArray)(v),u,new d.GraphQLError(`Expected type "${p.name}". `+h.message,{originalError:h}));return}return m===void 0&&T((0,r.pathToArray)(v),u,new d.GraphQLError(`Expected type "${p.name}".`)),m}(0,a.invariant)(!1,"Unexpected input type: "+(0,t.inspect)(p))}return Ot}var Tt={},Ss;function Rl(){if(Ss)return Tt;Ss=1,Object.defineProperty(Tt,"__esModule",{value:!0}),Tt.valueFromAST=r;var e=le(),t=ke(),a=In(),i=te(),n=ie();function r(l,d,f){if(l){if(l.kind===i.Kind.VARIABLE){const O=l.name.value;if(f==null||f[O]===void 0)return;const c=f[O];return c===null&&(0,n.isNonNullType)(d)?void 0:c}if((0,n.isNonNullType)(d))return l.kind===i.Kind.NULL?void 0:r(l,d.ofType,f);if(l.kind===i.Kind.NULL)return null;if((0,n.isListType)(d)){const O=d.ofType;if(l.kind===i.Kind.LIST){const o=[];for(const u of l.values)if(s(u,f)){if((0,n.isNonNullType)(O))return;o.push(null)}else{const p=r(u,O,f);if(p===void 0)return;o.push(p)}return o}const c=r(l,O,f);return c===void 0?void 0:[c]}if((0,n.isInputObjectType)(d)){if(l.kind!==i.Kind.OBJECT)return;const O=Object.create(null),c=(0,a.keyMap)(l.fields,o=>o.name.value);for(const o of Object.values(d.getFields())){const u=c[o.name];if(!u||s(u.value,f)){if(o.defaultValue!==void 0)O[o.name]=o.defaultValue;else if((0,n.isNonNullType)(o.type))return;continue}const p=r(u.value,o.type,f);if(p===void 0)return;O[o.name]=p}if(d.isOneOf){const o=Object.keys(O);if(o.length!==1||O[o[0]]===null)return}return O}if((0,n.isLeafType)(d)){let O;try{O=d.parseLiteral(l,f)}catch{return}return O===void 0?void 0:O}(0,t.invariant)(!1,"Unexpected input type: "+(0,e.inspect)(d))}}function s(l,d){return l.kind===i.Kind.VARIABLE&&(d==null||d[l.name.value]===void 0)}return Tt}var Qs;function Ll(){if(Qs)return He;Qs=1,Object.defineProperty(He,"__esModule",{value:!0}),He.getArgumentValues=o,He.getDirectiveValues=u,He.getVariableValues=O;var e=le(),t=In(),a=Ro(),i=Y(),n=te(),r=be(),s=ie(),l=bl(),d=Ae(),f=Rl();function O(T,v,m,h){const _=[],I=h?.maxErrors;try{const y=c(T,v,m,P=>{if(I!=null&&_.length>=I)throw new i.GraphQLError("Too many errors processing variables, error limit reached. Execution aborted.");_.push(P)});if(_.length===0)return{coerced:y}}catch(y){_.push(y)}return{errors:_}}function c(T,v,m,h){const _={};for(const I of v){const y=I.variable.name.value,P=(0,d.typeFromAST)(T,I.type);if(!(0,s.isInputType)(P)){const M=(0,r.print)(I.type);h(new i.GraphQLError(`Variable "$${y}" expected value of type "${M}" which cannot be used as an input type.`,{nodes:I.type}));continue}if(!p(m,y)){if(I.defaultValue)_[y]=(0,f.valueFromAST)(I.defaultValue,P);else if((0,s.isNonNullType)(P)){const M=(0,e.inspect)(P);h(new i.GraphQLError(`Variable "$${y}" of required type "${M}" was not provided.`,{nodes:I}))}continue}const q=m[y];if(q===null&&(0,s.isNonNullType)(P)){const M=(0,e.inspect)(P);h(new i.GraphQLError(`Variable "$${y}" of non-null type "${M}" must not be null.`,{nodes:I}));continue}_[y]=(0,l.coerceInputValue)(q,P,(M,A,L)=>{let U=`Variable "$${y}" got invalid value `+(0,e.inspect)(A);M.length>0&&(U+=` at "${y}${(0,a.printPathArray)(M)}"`),h(new i.GraphQLError(U+"; "+L.message,{nodes:I,originalError:L}))})}return _}function o(T,v,m){var h;const _={},I=(h=v.arguments)!==null&&h!==void 0?h:[],y=(0,t.keyMap)(I,P=>P.name.value);for(const P of T.args){const q=P.name,M=P.type,A=y[q];if(!A){if(P.defaultValue!==void 0)_[q]=P.defaultValue;else if((0,s.isNonNullType)(M))throw new i.GraphQLError(`Argument "${q}" of required type "${(0,e.inspect)(M)}" was not provided.`,{nodes:v});continue}const L=A.value;let U=L.kind===n.Kind.NULL;if(L.kind===n.Kind.VARIABLE){const g=L.name.value;if(m==null||!p(m,g)){if(P.defaultValue!==void 0)_[q]=P.defaultValue;else if((0,s.isNonNullType)(M))throw new i.GraphQLError(`Argument "${q}" of required type "${(0,e.inspect)(M)}" was provided the variable "$${g}" which was not provided a runtime value.`,{nodes:L});continue}U=m[g]==null}if(U&&(0,s.isNonNullType)(M))throw new i.GraphQLError(`Argument "${q}" of non-null type "${(0,e.inspect)(M)}" must not be null.`,{nodes:L});const N=(0,f.valueFromAST)(L,M,m);if(N===void 0)throw new i.GraphQLError(`Argument "${q}" has invalid value ${(0,r.print)(L)}.`,{nodes:L});_[q]=N}return _}function u(T,v,m){var h;const _=(h=v.directives)===null||h===void 0?void 0:h.find(I=>I.name.value===T.name);if(_)return o(T,_,m)}function p(T,v){return Object.prototype.hasOwnProperty.call(T,v)}return He}var Is;function Pl(){if(Is)return mn;Is=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.collectFields=r,mn.collectSubfields=s;var e=te(),t=ie(),a=xe(),i=Ae(),n=Ll();function r(c,o,u,p,T){const v=new Map;return l(c,o,u,p,T,v,new Set),v}function s(c,o,u,p,T){const v=new Map,m=new Set;for(const h of T)h.selectionSet&&l(c,o,u,p,h.selectionSet,v,m);return v}function l(c,o,u,p,T,v,m){for(const h of T.selections)switch(h.kind){case e.Kind.FIELD:{if(!d(u,h))continue;const _=O(h),I=v.get(_);I!==void 0?I.push(h):v.set(_,[h]);break}case e.Kind.INLINE_FRAGMENT:{if(!d(u,h)||!f(c,h,p))continue;l(c,o,u,p,h.selectionSet,v,m);break}case e.Kind.FRAGMENT_SPREAD:{const _=h.name.value;if(m.has(_)||!d(u,h))continue;m.add(_);const I=o[_];if(!I||!f(c,I,p))continue;l(c,o,u,p,I.selectionSet,v,m);break}}}function d(c,o){const u=(0,n.getDirectiveValues)(a.GraphQLSkipDirective,o,c);if(u?.if===!0)return!1;const p=(0,n.getDirectiveValues)(a.GraphQLIncludeDirective,o,c);return p?.if!==!1}function f(c,o,u){const p=o.typeCondition;if(!p)return!0;const T=(0,i.typeFromAST)(c,p);return T===u?!0:(0,t.isAbstractType)(T)?c.isSubType(T,u):!1}function O(c){return c.alias?c.alias.value:c.name.value}return mn}var bs;function Dl(){if(bs)return dt;bs=1,Object.defineProperty(dt,"__esModule",{value:!0}),dt.SingleFieldSubscriptionsRule=i;var e=Y(),t=te(),a=Pl();function i(n){return{OperationDefinition(r){if(r.operation==="subscription"){const s=n.getSchema(),l=s.getSubscriptionType();if(l){const d=r.name?r.name.value:null,f=Object.create(null),O=n.getDocument(),c=Object.create(null);for(const u of O.definitions)u.kind===t.Kind.FRAGMENT_DEFINITION&&(c[u.name.value]=u);const o=(0,a.collectFields)(s,c,f,l,r.selectionSet);if(o.size>1){const T=[...o.values()].slice(1).flat();n.reportError(new e.GraphQLError(d!=null?`Subscription "${d}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:T}))}for(const u of o.values())u[0].name.value.startsWith("__")&&n.reportError(new e.GraphQLError(d!=null?`Subscription "${d}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:u}))}}}}}return dt}var vt={},mt={},Rs;function qi(){if(Rs)return mt;Rs=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.groupBy=e;function e(t,a){const i=new Map;for(const n of t){const r=a(n),s=i.get(r);s===void 0?i.set(r,[n]):s.push(n)}return i}return mt}var Ls;function kl(){if(Ls)return vt;Ls=1,Object.defineProperty(vt,"__esModule",{value:!0}),vt.UniqueArgumentDefinitionNamesRule=a;var e=qi(),t=Y();function a(i){return{DirectiveDefinition(s){var l;const d=(l=s.arguments)!==null&&l!==void 0?l:[];return r(`@${s.name.value}`,d)},InterfaceTypeDefinition:n,InterfaceTypeExtension:n,ObjectTypeDefinition:n,ObjectTypeExtension:n};function n(s){var l;const d=s.name.value,f=(l=s.fields)!==null&&l!==void 0?l:[];for(const c of f){var O;const o=c.name.value,u=(O=c.arguments)!==null&&O!==void 0?O:[];r(`${d}.${o}`,u)}return!1}function r(s,l){const d=(0,e.groupBy)(l,f=>f.name.value);for(const[f,O]of d)O.length>1&&i.reportError(new t.GraphQLError(`Argument "${s}(${f}:)" can only be defined once.`,{nodes:O.map(c=>c.name)}));return!1}}return vt}var ht={},Ps;function Al(){if(Ps)return ht;Ps=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.UniqueArgumentNamesRule=a;var e=qi(),t=Y();function a(i){return{Field:n,Directive:n};function n(r){var s;const l=(s=r.arguments)!==null&&s!==void 0?s:[],d=(0,e.groupBy)(l,f=>f.name.value);for(const[f,O]of d)O.length>1&&i.reportError(new t.GraphQLError(`There can be only one argument named "${f}".`,{nodes:O.map(c=>c.name)}))}}return ht}var yt={},Ds;function Vl(){if(Ds)return yt;Ds=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.UniqueDirectiveNamesRule=t;var e=Y();function t(a){const i=Object.create(null),n=a.getSchema();return{DirectiveDefinition(r){const s=r.name.value;if(n!=null&&n.getDirective(s)){a.reportError(new e.GraphQLError(`Directive "@${s}" already exists in the schema. It cannot be redefined.`,{nodes:r.name}));return}return i[s]?a.reportError(new e.GraphQLError(`There can be only one directive named "@${s}".`,{nodes:[i[s],r.name]})):i[s]=r.name,!1}}}return yt}var Et={},ks;function Ul(){if(ks)return Et;ks=1,Object.defineProperty(Et,"__esModule",{value:!0}),Et.UniqueDirectivesPerLocationRule=n;var e=Y(),t=te(),a=Kt(),i=xe();function n(r){const s=Object.create(null),l=r.getSchema(),d=l?l.getDirectives():i.specifiedDirectives;for(const o of d)s[o.name]=!o.isRepeatable;const f=r.getDocument().definitions;for(const o of f)o.kind===t.Kind.DIRECTIVE_DEFINITION&&(s[o.name.value]=!o.repeatable);const O=Object.create(null),c=Object.create(null);return{enter(o){if(!("directives"in o)||!o.directives)return;let u;if(o.kind===t.Kind.SCHEMA_DEFINITION||o.kind===t.Kind.SCHEMA_EXTENSION)u=O;else if((0,a.isTypeDefinitionNode)(o)||(0,a.isTypeExtensionNode)(o)){const p=o.name.value;u=c[p],u===void 0&&(c[p]=u=Object.create(null))}else u=Object.create(null);for(const p of o.directives){const T=p.name.value;s[T]&&(u[T]?r.reportError(new e.GraphQLError(`The directive "@${T}" can only be used once at this location.`,{nodes:[u[T],p]})):u[T]=p)}}}}return Et}var gt={},As;function Fl(){if(As)return gt;As=1,Object.defineProperty(gt,"__esModule",{value:!0}),gt.UniqueEnumValueNamesRule=a;var e=Y(),t=ie();function a(i){const n=i.getSchema(),r=n?n.getTypeMap():Object.create(null),s=Object.create(null);return{EnumTypeDefinition:l,EnumTypeExtension:l};function l(d){var f;const O=d.name.value;s[O]||(s[O]=Object.create(null));const c=(f=d.values)!==null&&f!==void 0?f:[],o=s[O];for(const u of c){const p=u.name.value,T=r[O];(0,t.isEnumType)(T)&&T.getValue(p)?i.reportError(new e.GraphQLError(`Enum value "${O}.${p}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:u.name})):o[p]?i.reportError(new e.GraphQLError(`Enum value "${O}.${p}" can only be defined once.`,{nodes:[o[p],u.name]})):o[p]=u.name}return!1}}return gt}var Nt={},Vs;function wl(){if(Vs)return Nt;Vs=1,Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.UniqueFieldDefinitionNamesRule=a;var e=Y(),t=ie();function a(n){const r=n.getSchema(),s=r?r.getTypeMap():Object.create(null),l=Object.create(null);return{InputObjectTypeDefinition:d,InputObjectTypeExtension:d,InterfaceTypeDefinition:d,InterfaceTypeExtension:d,ObjectTypeDefinition:d,ObjectTypeExtension:d};function d(f){var O;const c=f.name.value;l[c]||(l[c]=Object.create(null));const o=(O=f.fields)!==null&&O!==void 0?O:[],u=l[c];for(const p of o){const T=p.name.value;i(s[c],T)?n.reportError(new e.GraphQLError(`Field "${c}.${T}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:p.name})):u[T]?n.reportError(new e.GraphQLError(`Field "${c}.${T}" can only be defined once.`,{nodes:[u[T],p.name]})):u[T]=p.name}return!1}}function i(n,r){return(0,t.isObjectType)(n)||(0,t.isInterfaceType)(n)||(0,t.isInputObjectType)(n)?n.getFields()[r]!=null:!1}return Nt}var _t={},Us;function $l(){if(Us)return _t;Us=1,Object.defineProperty(_t,"__esModule",{value:!0}),_t.UniqueFragmentNamesRule=t;var e=Y();function t(a){const i=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){const r=n.name.value;return i[r]?a.reportError(new e.GraphQLError(`There can be only one fragment named "${r}".`,{nodes:[i[r],n.name]})):i[r]=n.name,!1}}}return _t}var St={},Fs;function ql(){if(Fs)return St;Fs=1,Object.defineProperty(St,"__esModule",{value:!0}),St.UniqueInputFieldNamesRule=a;var e=ke(),t=Y();function a(i){const n=[];let r=Object.create(null);return{ObjectValue:{enter(){n.push(r),r=Object.create(null)},leave(){const s=n.pop();s||(0,e.invariant)(!1),r=s}},ObjectField(s){const l=s.name.value;r[l]?i.reportError(new t.GraphQLError(`There can be only one input field named "${l}".`,{nodes:[r[l],s.name]})):r[l]=s.name}}}return St}var Qt={},ws;function Ml(){if(ws)return Qt;ws=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.UniqueOperationNamesRule=t;var e=Y();function t(a){const i=Object.create(null);return{OperationDefinition(n){const r=n.name;return r&&(i[r.value]?a.reportError(new e.GraphQLError(`There can be only one operation named "${r.value}".`,{nodes:[i[r.value],r]})):i[r.value]=r),!1},FragmentDefinition:()=>!1}}return Qt}var It={},$s;function jl(){if($s)return It;$s=1,Object.defineProperty(It,"__esModule",{value:!0}),It.UniqueOperationTypesRule=t;var e=Y();function t(a){const i=a.getSchema(),n=Object.create(null),r=i?{query:i.getQueryType(),mutation:i.getMutationType(),subscription:i.getSubscriptionType()}:{};return{SchemaDefinition:s,SchemaExtension:s};function s(l){var d;const f=(d=l.operationTypes)!==null&&d!==void 0?d:[];for(const O of f){const c=O.operation,o=n[c];r[c]?a.reportError(new e.GraphQLError(`Type for ${c} already defined in the schema. It cannot be redefined.`,{nodes:O})):o?a.reportError(new e.GraphQLError(`There can be only one ${c} type in schema.`,{nodes:[o,O]})):n[c]=O}return!1}}return It}var bt={},qs;function Cl(){if(qs)return bt;qs=1,Object.defineProperty(bt,"__esModule",{value:!0}),bt.UniqueTypeNamesRule=t;var e=Y();function t(a){const i=Object.create(null),n=a.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(s){const l=s.name.value;if(n!=null&&n.getType(l)){a.reportError(new e.GraphQLError(`Type "${l}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:s.name}));return}return i[l]?a.reportError(new e.GraphQLError(`There can be only one type named "${l}".`,{nodes:[i[l],s.name]})):i[l]=s.name,!1}}return bt}var Rt={},Ms;function Gl(){if(Ms)return Rt;Ms=1,Object.defineProperty(Rt,"__esModule",{value:!0}),Rt.UniqueVariableNamesRule=a;var e=qi(),t=Y();function a(i){return{OperationDefinition(n){var r;const s=(r=n.variableDefinitions)!==null&&r!==void 0?r:[],l=(0,e.groupBy)(s,d=>d.variable.name.value);for(const[d,f]of l)f.length>1&&i.reportError(new t.GraphQLError(`There can be only one variable named "$${d}".`,{nodes:f.map(O=>O.variable.name)}))}}}return Rt}var Lt={},js;function xl(){if(js)return Lt;js=1,Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.ValuesOfCorrectTypeRule=d;var e=Ce(),t=le(),a=In(),i=Ge(),n=Y(),r=te(),s=be(),l=ie();function d(c){let o={};return{OperationDefinition:{enter(){o={}}},VariableDefinition(u){o[u.variable.name.value]=u},ListValue(u){const p=(0,l.getNullableType)(c.getParentInputType());if(!(0,l.isListType)(p))return f(c,u),!1},ObjectValue(u){const p=(0,l.getNamedType)(c.getInputType());if(!(0,l.isInputObjectType)(p))return f(c,u),!1;const T=(0,a.keyMap)(u.fields,v=>v.name.value);for(const v of Object.values(p.getFields()))if(!T[v.name]&&(0,l.isRequiredInputField)(v)){const h=(0,t.inspect)(v.type);c.reportError(new n.GraphQLError(`Field "${p.name}.${v.name}" of required type "${h}" was not provided.`,{nodes:u}))}p.isOneOf&&O(c,u,p,T)},ObjectField(u){const p=(0,l.getNamedType)(c.getParentInputType());if(!c.getInputType()&&(0,l.isInputObjectType)(p)){const v=(0,i.suggestionList)(u.name.value,Object.keys(p.getFields()));c.reportError(new n.GraphQLError(`Field "${u.name.value}" is not defined by type "${p.name}".`+(0,e.didYouMean)(v),{nodes:u}))}},NullValue(u){const p=c.getInputType();(0,l.isNonNullType)(p)&&c.reportError(new n.GraphQLError(`Expected value of type "${(0,t.inspect)(p)}", found ${(0,s.print)(u)}.`,{nodes:u}))},EnumValue:u=>f(c,u),IntValue:u=>f(c,u),FloatValue:u=>f(c,u),StringValue:u=>f(c,u),BooleanValue:u=>f(c,u)}}function f(c,o){const u=c.getInputType();if(!u)return;const p=(0,l.getNamedType)(u);if(!(0,l.isLeafType)(p)){const T=(0,t.inspect)(u);c.reportError(new n.GraphQLError(`Expected value of type "${T}", found ${(0,s.print)(o)}.`,{nodes:o}));return}try{if(p.parseLiteral(o,void 0)===void 0){const v=(0,t.inspect)(u);c.reportError(new n.GraphQLError(`Expected value of type "${v}", found ${(0,s.print)(o)}.`,{nodes:o}))}}catch(T){const v=(0,t.inspect)(u);T instanceof n.GraphQLError?c.reportError(T):c.reportError(new n.GraphQLError(`Expected value of type "${v}", found ${(0,s.print)(o)}; `+T.message,{nodes:o,originalError:T}))}}function O(c,o,u,p){var T;const v=Object.keys(p);if(v.length!==1){c.reportError(new n.GraphQLError(`OneOf Input Object "${u.name}" must specify exactly one key.`,{nodes:[o]}));return}const h=(T=p[v[0]])===null||T===void 0?void 0:T.value;(!h||h.kind===r.Kind.NULL)&&c.reportError(new n.GraphQLError(`Field "${u.name}.${v[0]}" must be non-null.`,{nodes:[o]}))}return Lt}var Pt={},Cs;function Yl(){if(Cs)return Pt;Cs=1,Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.VariablesAreInputTypesRule=n;var e=Y(),t=be(),a=ie(),i=Ae();function n(r){return{VariableDefinition(s){const l=(0,i.typeFromAST)(r.getSchema(),s.type);if(l!==void 0&&!(0,a.isInputType)(l)){const d=s.variable.name.value,f=(0,t.print)(s.type);r.reportError(new e.GraphQLError(`Variable "$${d}" cannot be non-input type "${f}".`,{nodes:s.type}))}}}}return Pt}var Dt={},Gs;function Xl(){if(Gs)return Dt;Gs=1,Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.VariablesInAllowedPositionRule=s;var e=le(),t=Y(),a=te(),i=ie(),n=wi(),r=Ae();function s(d){let f=Object.create(null);return{OperationDefinition:{enter(){f=Object.create(null)},leave(O){const c=d.getRecursiveVariableUsages(O);for(const{node:o,type:u,defaultValue:p,parentType:T}of c){const v=o.name.value,m=f[v];if(m&&u){const h=d.getSchema(),_=(0,r.typeFromAST)(h,m.type);if(_&&!l(h,_,m.defaultValue,u,p)){const I=(0,e.inspect)(_),y=(0,e.inspect)(u);d.reportError(new t.GraphQLError(`Variable "$${v}" of type "${I}" used in position expecting type "${y}".`,{nodes:[m,o]}))}(0,i.isInputObjectType)(T)&&T.isOneOf&&(0,i.isNullableType)(_)&&d.reportError(new t.GraphQLError(`Variable "$${v}" is of type "${_}" but must be non-nullable to be used for OneOf Input Object "${T}".`,{nodes:[m,o]}))}}}},VariableDefinition(O){f[O.variable.name.value]=O}}}function l(d,f,O,c,o){if((0,i.isNonNullType)(c)&&!(0,i.isNonNullType)(f)){if(!(O!=null&&O.kind!==a.Kind.NULL)&&!(o!==void 0))return!1;const T=c.ofType;return(0,n.isTypeSubTypeOf)(d,f,T)}return(0,n.isTypeSubTypeOf)(d,f,c)}return Dt}var xs;function Bl(){if(xs)return _e;xs=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.specifiedSDLRules=_e.specifiedRules=_e.recommendedRules=void 0;var e=sl(),t=ol(),a=ul(),i=cl(),n=ll(),r=fl(),s=dl(),l=pl(),d=Ol(),f=Tl(),O=vl(),c=ml(),o=hl(),u=yl(),p=gl(),T=Nl(),v=_l(),m=Sl(),h=Ql(),_=Dl(),I=kl(),y=Al(),P=Vl(),q=Ul(),M=Fl(),A=wl(),L=$l(),U=ql(),N=Ml(),g=jl(),b=Cl(),R=Gl(),k=xl(),F=Yl(),w=Xl();const j=Object.freeze([f.MaxIntrospectionDepthRule]);_e.recommendedRules=j;const K=Object.freeze([e.ExecutableDefinitionsRule,N.UniqueOperationNamesRule,l.LoneAnonymousOperationRule,_.SingleFieldSubscriptionsRule,s.KnownTypeNamesRule,a.FragmentsOnCompositeTypesRule,F.VariablesAreInputTypesRule,h.ScalarLeafsRule,t.FieldsOnCorrectTypeRule,L.UniqueFragmentNamesRule,r.KnownFragmentNamesRule,o.NoUnusedFragmentsRule,T.PossibleFragmentSpreadsRule,O.NoFragmentCyclesRule,R.UniqueVariableNamesRule,c.NoUndefinedVariablesRule,u.NoUnusedVariablesRule,n.KnownDirectivesRule,q.UniqueDirectivesPerLocationRule,i.KnownArgumentNamesRule,y.UniqueArgumentNamesRule,k.ValuesOfCorrectTypeRule,m.ProvidedRequiredArgumentsRule,w.VariablesInAllowedPositionRule,p.OverlappingFieldsCanBeMergedRule,U.UniqueInputFieldNamesRule,...j]);_e.specifiedRules=K;const W=Object.freeze([d.LoneSchemaDefinitionRule,g.UniqueOperationTypesRule,b.UniqueTypeNamesRule,M.UniqueEnumValueNamesRule,A.UniqueFieldDefinitionNamesRule,I.UniqueArgumentDefinitionNamesRule,P.UniqueDirectiveNamesRule,s.KnownTypeNamesRule,n.KnownDirectivesRule,q.UniqueDirectivesPerLocationRule,v.PossibleTypeExtensionsRule,i.KnownArgumentNamesOnDirectivesRule,y.UniqueArgumentNamesRule,U.UniqueInputFieldNamesRule,m.ProvidedRequiredArgumentsOnDirectivesRule]);return _e.specifiedSDLRules=W,_e}var Se={},Ys;function Kl(){if(Ys)return Se;Ys=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.ValidationContext=Se.SDLValidationContext=Se.ASTValidationContext=void 0;var e=te(),t=Yt(),a=bo();class i{constructor(l,d){this._ast=l,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=d}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(l){this._onError(l)}getDocument(){return this._ast}getFragment(l){let d;if(this._fragments)d=this._fragments;else{d=Object.create(null);for(const f of this.getDocument().definitions)f.kind===e.Kind.FRAGMENT_DEFINITION&&(d[f.name.value]=f);this._fragments=d}return d[l]}getFragmentSpreads(l){let d=this._fragmentSpreads.get(l);if(!d){d=[];const f=[l];let O;for(;O=f.pop();)for(const c of O.selections)c.kind===e.Kind.FRAGMENT_SPREAD?d.push(c):c.selectionSet&&f.push(c.selectionSet);this._fragmentSpreads.set(l,d)}return d}getRecursivelyReferencedFragments(l){let d=this._recursivelyReferencedFragments.get(l);if(!d){d=[];const f=Object.create(null),O=[l.selectionSet];let c;for(;c=O.pop();)for(const o of this.getFragmentSpreads(c)){const u=o.name.value;if(f[u]!==!0){f[u]=!0;const p=this.getFragment(u);p&&(d.push(p),O.push(p.selectionSet))}}this._recursivelyReferencedFragments.set(l,d)}return d}}Se.ASTValidationContext=i;class n extends i{constructor(l,d,f){super(l,f),this._schema=d}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}Se.SDLValidationContext=n;let r=class extends i{constructor(l,d,f,O){super(d,O),this._schema=l,this._typeInfo=f,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(l){let d=this._variableUsages.get(l);if(!d){const f=[],O=new a.TypeInfo(this._schema);(0,t.visit)(l,(0,a.visitWithTypeInfo)(O,{VariableDefinition:()=>!1,Variable(c){f.push({node:c,type:O.getInputType(),defaultValue:O.getDefaultValue(),parentType:O.getParentInputType()})}})),d=f,this._variableUsages.set(l,d)}return d}getRecursiveVariableUsages(l){let d=this._recursiveVariableUsages.get(l);if(!d){d=this.getVariableUsages(l);for(const f of this.getRecursivelyReferencedFragments(l))d=d.concat(this.getVariableUsages(f));this._recursiveVariableUsages.set(l,d)}return d}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}};return Se.ValidationContext=r,Se}var Xs;function Zl(){if(Xs)return Ue;Xs=1,Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.assertValidSDL=f,Ue.assertValidSDLExtension=O,Ue.validate=l,Ue.validateSDL=d;var e=on(),t=Y(),a=Yt(),i=al(),n=bo(),r=Bl(),s=Kl();function l(c,o,u=r.specifiedRules,p,T=new n.TypeInfo(c)){var v;const m=(v=p?.maxErrors)!==null&&v!==void 0?v:100;o||(0,e.devAssert)(!1,"Must provide document."),(0,i.assertValidSchema)(c);const h=Object.freeze({}),_=[],I=new s.ValidationContext(c,o,T,P=>{if(_.length>=m)throw _.push(new t.GraphQLError("Too many validation errors, error limit reached. Validation aborted.")),h;_.push(P)}),y=(0,a.visitInParallel)(u.map(P=>P(I)));try{(0,a.visit)(o,(0,n.visitWithTypeInfo)(T,y))}catch(P){if(P!==h)throw P}return _}function d(c,o,u=r.specifiedSDLRules){const p=[],T=new s.SDLValidationContext(c,o,m=>{p.push(m)}),v=u.map(m=>m(T));return(0,a.visit)(c,(0,a.visitInParallel)(v)),p}function f(c){const o=d(c);if(o.length!==0)throw new Error(o.map(u=>u.message).join(`
70
+
71
+ `))}function O(c,o){const u=d(c,o);if(u.length!==0)throw new Error(u.map(p=>p.message).join(`
72
+
73
+ `))}return Ue}var Wl=Zl();function Bs(e){return{from:e.locations?.[0]?e.positions?.[0]??0:0,to:e.locations?.[0]?(e.positions?.[0]??0)+1:1,severity:"error",message:e.message}}function Ks(e,t){return Ws(a=>{const i=a.state.doc.toString();let n=[];t&&(n=n.concat(t(i)));const r=Nu(i);if(r)try{const s=new Set(r.definitions.filter(f=>"name"in f&&f.name).map(f=>f.name.value)),l=Xu({schema:e,typeFilter:f=>!s.has(f)}),d=Wl.validateSDL(r,l).map(f=>Iu(f,r)).filter((f,O,c)=>O===c.findIndex(o=>o.message===f.message&&o.locations?.[0]?.line===f.locations?.[0]?.line&&o.locations?.[0]?.column===f.locations?.[0]?.column));n=n.concat(d.map(Bs))}catch(s){s instanceof Le&&n.push(Bs(s))}return n})}const Of=ln.memo(function(t){const{doc:a,readonly:i=!1,updateDocumentInModel:n,customLinter:r}=t,{editorRef:s,viewRef:l,updateListenerCompartment:d,focusHandlerCompartment:f,pasteHandlerCompartment:O,timeoutRef:c}=zo(),o=ln.useRef(new er),u=ln.useRef(new er),{sharedSchema:p}=_u();return ln.useEffect(()=>{if(!l.current){const T=or(p);l.current=new Js({state:nr.create({doc:a,extensions:[...Ho,eu.of(tu),nu,o.current.of(va(T)),u.current.of(Ks(T,r)),d.current.of(iu(i,c,n)),f.current.of(ru(i,c,n)),O.current.of(au(i,c,n)),nr.readOnly.of(i)]}),parent:s.current}),tr(l.current)}},[]),su(l),ln.useEffect(()=>{const T=l.current;if(T)try{const v=or(p);T.dispatch({effects:[o.current.reconfigure(va(v)),u.current.reconfigure(Ks(v,r))]}),tr(T)}catch(v){console.debug("in schema update",v)}},[p,r]),ou(l.current,i,c,n,{updateListener:d.current,focusHandler:f.current,pasteHandler:O.current}),uu(l.current,a),Go.jsx("div",{ref:s})});export{Of as default};
74
+ //# sourceMappingURL=graphql-editor-CcDLLpoK.js.map