nuxt-graphql-middleware 5.2.2 → 5.3.0

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 (142) hide show
  1. package/README.md +2 -0
  2. package/dist/client/200.html +1 -1
  3. package/dist/client/404.html +1 -1
  4. package/dist/client/_nuxt/CqRv5mwS.js +2 -0
  5. package/dist/client/_nuxt/{DKGPmQRi.js → D95LLO0l.js} +1 -1
  6. package/dist/client/_nuxt/DZ-uq6Vd.js +1 -0
  7. package/dist/client/_nuxt/DrXVleME.js +4 -0
  8. package/dist/client/_nuxt/{CLvFsrJf.js → Dx-h1-qv.js} +1 -1
  9. package/dist/client/_nuxt/builds/latest.json +1 -1
  10. package/dist/client/_nuxt/builds/meta/f3f3372e-493e-4c8e-9dbd-18d4c5406f44.json +1 -0
  11. package/dist/client/_nuxt/{entry.DUAtNXP_.css → entry.Cyocd7ae.css} +1 -1
  12. package/dist/client/_nuxt/error-404.BLrjNXsr.css +1 -0
  13. package/dist/client/_nuxt/error-500.DLkAwcfL.css +1 -0
  14. package/dist/client/index.html +1 -1
  15. package/dist/module.d.mts +1 -1
  16. package/dist/module.json +3 -3
  17. package/dist/module.mjs +1526 -70
  18. package/dist/runtime/components/CodeFrame.d.vue.ts +8 -0
  19. package/dist/runtime/components/CodeFrame.vue.d.ts +2 -1
  20. package/dist/runtime/components/DevModeOverlay.d.vue.ts +4 -0
  21. package/dist/runtime/components/DevModeOverlay.vue +1 -1
  22. package/dist/runtime/components/DevModeOverlay.vue.d.ts +2 -1
  23. package/dist/runtime/components/ErrorExtensions.d.vue.ts +6 -0
  24. package/dist/runtime/components/ErrorExtensions.vue.d.ts +2 -1
  25. package/dist/runtime/components/ErrorGroup.d.vue.ts +10 -0
  26. package/dist/runtime/components/ErrorGroup.vue.d.ts +2 -1
  27. package/dist/runtime/css/output.css +1 -1
  28. package/dist/runtime/helpers/composables.d.ts +1 -40
  29. package/dist/runtime/helpers/composables.js +3 -12
  30. package/dist/runtime/helpers/shared-types.d.ts +40 -0
  31. package/dist/runtime/helpers/shared-types.js +12 -0
  32. package/dist/runtime/server/api/doRequest.d.ts +2 -0
  33. package/dist/runtime/server/api/doRequest.js +18 -0
  34. package/dist/runtime/server/helpers/index.js +1 -1
  35. package/dist/runtime/server/mcp/index.d.ts +2 -0
  36. package/dist/runtime/server/mcp/index.js +63 -0
  37. package/dist/runtime/server/mcp/resources/docs.d.ts +2 -0
  38. package/dist/runtime/server/mcp/resources/docs.js +36 -0
  39. package/dist/runtime/server/mcp/tools/fragments-get/index.d.ts +1 -0
  40. package/dist/runtime/server/mcp/tools/fragments-get/index.js +35 -0
  41. package/dist/runtime/server/mcp/tools/fragments-get/types.d.ts +20 -0
  42. package/dist/runtime/server/mcp/tools/fragments-get/types.js +13 -0
  43. package/dist/runtime/server/mcp/tools/fragments-get-source/index.d.ts +1 -0
  44. package/dist/runtime/server/mcp/tools/fragments-get-source/index.js +34 -0
  45. package/dist/runtime/server/mcp/tools/fragments-get-source/types.d.ts +10 -0
  46. package/dist/runtime/server/mcp/tools/fragments-get-source/types.js +9 -0
  47. package/dist/runtime/server/mcp/tools/fragments-list/index.d.ts +1 -0
  48. package/dist/runtime/server/mcp/tools/fragments-list/index.js +36 -0
  49. package/dist/runtime/server/mcp/tools/fragments-list/types.d.ts +20 -0
  50. package/dist/runtime/server/mcp/tools/fragments-list/types.js +14 -0
  51. package/dist/runtime/server/mcp/tools/fragments-list-for-type/index.d.ts +1 -0
  52. package/dist/runtime/server/mcp/tools/fragments-list-for-type/index.js +39 -0
  53. package/dist/runtime/server/mcp/tools/fragments-list-for-type/types.d.ts +31 -0
  54. package/dist/runtime/server/mcp/tools/fragments-list-for-type/types.js +23 -0
  55. package/dist/runtime/server/mcp/tools/graphql-execute/index.d.ts +1 -0
  56. package/dist/runtime/server/mcp/tools/graphql-execute/index.js +59 -0
  57. package/dist/runtime/server/mcp/tools/module-get-config/index.d.ts +1 -0
  58. package/dist/runtime/server/mcp/tools/module-get-config/index.js +23 -0
  59. package/dist/runtime/server/mcp/tools/module-get-config/types.d.ts +39 -0
  60. package/dist/runtime/server/mcp/tools/module-get-config/types.js +26 -0
  61. package/dist/runtime/server/mcp/tools/nitro-graphql-server-utils-example/index.d.ts +1 -0
  62. package/dist/runtime/server/mcp/tools/nitro-graphql-server-utils-example/index.js +36 -0
  63. package/dist/runtime/server/mcp/tools/nitro-graphql-server-utils-example/types.d.ts +49 -0
  64. package/dist/runtime/server/mcp/tools/nitro-graphql-server-utils-example/types.js +24 -0
  65. package/dist/runtime/server/mcp/tools/operations-execute/index.d.ts +1 -0
  66. package/dist/runtime/server/mcp/tools/operations-execute/index.js +63 -0
  67. package/dist/runtime/server/mcp/tools/operations-get/index.d.ts +1 -0
  68. package/dist/runtime/server/mcp/tools/operations-get/index.js +40 -0
  69. package/dist/runtime/server/mcp/tools/operations-get/types.d.ts +32 -0
  70. package/dist/runtime/server/mcp/tools/operations-get/types.js +18 -0
  71. package/dist/runtime/server/mcp/tools/operations-get-field-usage/index.d.ts +1 -0
  72. package/dist/runtime/server/mcp/tools/operations-get-field-usage/index.js +39 -0
  73. package/dist/runtime/server/mcp/tools/operations-get-field-usage/types.d.ts +38 -0
  74. package/dist/runtime/server/mcp/tools/operations-get-field-usage/types.js +19 -0
  75. package/dist/runtime/server/mcp/tools/operations-get-source/index.d.ts +1 -0
  76. package/dist/runtime/server/mcp/tools/operations-get-source/index.js +39 -0
  77. package/dist/runtime/server/mcp/tools/operations-get-source/types.d.ts +10 -0
  78. package/dist/runtime/server/mcp/tools/operations-get-source/types.js +9 -0
  79. package/dist/runtime/server/mcp/tools/operations-list/index.d.ts +1 -0
  80. package/dist/runtime/server/mcp/tools/operations-list/index.js +46 -0
  81. package/dist/runtime/server/mcp/tools/operations-list/types.d.ts +53 -0
  82. package/dist/runtime/server/mcp/tools/operations-list/types.js +33 -0
  83. package/dist/runtime/server/mcp/tools/schema-get-interface-implementors/index.d.ts +1 -0
  84. package/dist/runtime/server/mcp/tools/schema-get-interface-implementors/index.js +37 -0
  85. package/dist/runtime/server/mcp/tools/schema-get-interface-implementors/types.d.ts +24 -0
  86. package/dist/runtime/server/mcp/tools/schema-get-interface-implementors/types.js +16 -0
  87. package/dist/runtime/server/mcp/tools/schema-get-type/index.d.ts +1 -0
  88. package/dist/runtime/server/mcp/tools/schema-get-type/index.js +31 -0
  89. package/dist/runtime/server/mcp/tools/schema-get-type/types.d.ts +112 -0
  90. package/dist/runtime/server/mcp/tools/schema-get-type/types.js +45 -0
  91. package/dist/runtime/server/mcp/tools/schema-get-type-definition/index.d.ts +1 -0
  92. package/dist/runtime/server/mcp/tools/schema-get-type-definition/index.js +33 -0
  93. package/dist/runtime/server/mcp/tools/schema-get-type-definition/types.d.ts +10 -0
  94. package/dist/runtime/server/mcp/tools/schema-get-type-definition/types.js +9 -0
  95. package/dist/runtime/server/mcp/tools/schema-get-type-usage/index.d.ts +1 -0
  96. package/dist/runtime/server/mcp/tools/schema-get-type-usage/index.js +35 -0
  97. package/dist/runtime/server/mcp/tools/schema-get-type-usage/types.d.ts +39 -0
  98. package/dist/runtime/server/mcp/tools/schema-get-type-usage/types.js +17 -0
  99. package/dist/runtime/server/mcp/tools/schema-get-union-members/index.d.ts +1 -0
  100. package/dist/runtime/server/mcp/tools/schema-get-union-members/index.js +35 -0
  101. package/dist/runtime/server/mcp/tools/schema-get-union-members/types.d.ts +24 -0
  102. package/dist/runtime/server/mcp/tools/schema-get-union-members/types.js +16 -0
  103. package/dist/runtime/server/mcp/tools/schema-list-types/index.d.ts +1 -0
  104. package/dist/runtime/server/mcp/tools/schema-list-types/index.js +37 -0
  105. package/dist/runtime/server/mcp/tools/schema-list-types/types.d.ts +53 -0
  106. package/dist/runtime/server/mcp/tools/schema-list-types/types.js +21 -0
  107. package/dist/runtime/server/mcp/tools/schema-validate-document/index.d.ts +1 -0
  108. package/dist/runtime/server/mcp/tools/schema-validate-document/index.js +31 -0
  109. package/dist/runtime/server/mcp/tools/schema-validate-document/types.d.ts +26 -0
  110. package/dist/runtime/server/mcp/tools/schema-validate-document/types.js +21 -0
  111. package/dist/runtime/server/mcp/tools/vue-graphql-composable-example/index.d.ts +1 -0
  112. package/dist/runtime/server/mcp/tools/vue-graphql-composable-example/index.js +36 -0
  113. package/dist/runtime/server/mcp/tools/vue-graphql-composable-example/types.d.ts +49 -0
  114. package/dist/runtime/server/mcp/tools/vue-graphql-composable-example/types.js +24 -0
  115. package/dist/runtime/server/mcp/utils/index.d.ts +48 -0
  116. package/dist/runtime/server/mcp/utils/index.js +35 -0
  117. package/dist/runtime/server/utils/useGraphqlMutation.d.ts +1 -1
  118. package/dist/runtime/server/utils/useGraphqlMutation.js +1 -1
  119. package/dist/runtime/server/utils/useGraphqlQuery.d.ts +1 -1
  120. package/dist/runtime/server/utils/useGraphqlQuery.js +1 -1
  121. package/dist/runtime/types.d.ts +1 -1
  122. package/dist/shared/{nuxt-graphql-middleware.ct2xvPoD.d.mts → nuxt-graphql-middleware.COufMnWs.d.mts} +119 -2
  123. package/dist/utils.d.mts +1 -1
  124. package/docs/composables/useAsyncGraphqlQuery.md +313 -0
  125. package/docs/composables/useGraphqlMutation.md +29 -0
  126. package/docs/composables/useGraphqlQuery.md +73 -0
  127. package/docs/composables/useGraphqlState.md +58 -0
  128. package/docs/composables/useGraphqlUploadMutation.md +57 -0
  129. package/docs/configuration/client-options.md +121 -0
  130. package/docs/configuration/module-hooks.md +112 -0
  131. package/docs/configuration/module-utils.md +53 -0
  132. package/docs/configuration/module.md +415 -0
  133. package/docs/configuration/runtime-config.md +23 -0
  134. package/docs/configuration/server-options.md +230 -0
  135. package/package.json +102 -44
  136. package/dist/client/_nuxt/CKZE-Gmz.js +0 -2
  137. package/dist/client/_nuxt/CYCWsMRt.js +0 -1
  138. package/dist/client/_nuxt/DPP_zJIh.js +0 -25
  139. package/dist/client/_nuxt/builds/meta/1a5c6b94-502b-4ab8-a5c9-f955b10f2b06.json +0 -1
  140. package/dist/client/_nuxt/error-404.DlVPZ4GE.css +0 -1
  141. package/dist/client/_nuxt/error-500.DjyirMQI.css +0 -1
  142. package/dist/runtime/server/tsconfig.json +0 -3
package/README.md CHANGED
@@ -19,6 +19,8 @@ A GraphQL client for Nuxt 3.
19
19
  - Super fast **TypeScript code generation** using
20
20
  **[graphql-typescript-deluxe](https://github.com/dulnan/graphql-typescript-deluxe)**
21
21
  - **HMR** for all GraphQL files
22
+ - **[MCP integration](https://nuxt-graphql-middleware.dulnan.net/features/mcp)**
23
+ to expose schema and operations to AI assistants
22
24
  - Optional **Client side caching** for query operations
23
25
  - Modify **request headers**, responses and handle errors
24
26
  - Integration with **[Nuxt DevTools](https://devtools.nuxtjs.org)**
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.DUAtNXP_.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/DPP_zJIh.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-404.DlVPZ4GE.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/DKGPmQRi.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CYCWsMRt.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-500.DjyirMQI.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CLvFsrJf.js"><script type="module" src="/__nuxt-graphql-middleware/_nuxt/DPP_zJIh.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1756894756007,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"1a5c6b94-502b-4ab8-a5c9-f955b10f2b06",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.Cyocd7ae.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/DrXVleME.js"><script type="module" src="/__nuxt-graphql-middleware/_nuxt/DrXVleME.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1766303497406,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"f3f3372e-493e-4c8e-9dbd-18d4c5406f44",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.DUAtNXP_.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/DPP_zJIh.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-404.DlVPZ4GE.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/DKGPmQRi.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CYCWsMRt.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-graphql-middleware/_nuxt/error-500.DjyirMQI.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/CLvFsrJf.js"><script type="module" src="/__nuxt-graphql-middleware/_nuxt/DPP_zJIh.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1756894756008,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"1a5c6b94-502b-4ab8-a5c9-f955b10f2b06",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-graphql-middleware/_nuxt/entry.Cyocd7ae.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-graphql-middleware/_nuxt/DrXVleME.js"><script type="module" src="/__nuxt-graphql-middleware/_nuxt/DrXVleME.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1766303497406,false]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-graphql-middleware",buildId:"f3f3372e-493e-4c8e-9dbd-18d4c5406f44",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
@@ -0,0 +1,2 @@
1
+ import{x,y as v,I as k,J as Ie,r as B,K as oe,k as O,L as ae,M as V,N as he,O as N,P as C,Q as ze,R as S,z as y,S as fe,T as me,d as te,A as I,s as Fe,U as Ve,V as A,W as ne,_ as Te,B as D,C as H,D as re,X as Oe}from"./DrXVleME.js";const pe={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(s){return(e,t)=>(v(),x("div",{class:k(["n-icon",s.icon])},null,2))}};typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Me=s=>typeof s<"u";function $e(s){return JSON.parse(JSON.stringify(s))}function ge(s,e,t,n={}){var i,o;const{clone:r=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:u,shouldEmit:h}=n,a=Ie(),f=t||a?.emit||(a==null||(i=a.$emit)===null||i===void 0?void 0:i.bind(a))||(a==null||(o=a.proxy)===null||o===void 0||(o=o.$emit)===null||o===void 0?void 0:o.bind(a?.proxy));let g=l;e||(e="modelValue"),g=g||`update:${e.toString()}`;const m=_=>r?typeof r=="function"?r(_):$e(_):_,p=()=>Me(s[e])?m(s[e]):u,w=_=>{h?h(_)&&f(g,_):f(g,_)};if(c){const _=B(p());let z=!1;return oe(()=>s[e],F=>{z||(z=!0,_.value=m(F),ae(()=>z=!1))}),oe(_,F=>{!z&&(F!==s[e]||d)&&w(F)},{deep:d}),_}else return O({get(){return p()},set(_){w(_)}})}const Le={class:"n-text-input flex flex items-center border n-border-base rounded n-bg-base py-1 pl-1 pr-2 focus-within:border-context focus-within:n-focus-base"},De={__name:"NTextInput",props:{modelValue:{type:[String,Number],required:!1,default:""},icon:{type:String,required:!1},placeholder:{type:String,required:!1},disabled:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},readonly:{type:Boolean,required:!1},type:{type:String,required:!1,default:"text"}},emits:["keydown","keyup","change"],setup(s,{emit:e}){const i=ge(s,"modelValue",e,{passive:!0});return(o,r)=>{const c=pe;return v(),x("div",Le,[V(o.$slots,"icon",{},()=>[s.icon?(v(),N(c,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):C("",!0)]),he(y("input",fe({"onUpdate:modelValue":r[0]||(r[0]=l=>me(i)?i.value=l:null)},o.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[ze,S(i)]])])}}},Ee=te({__name:"Tag",props:{green:{type:Boolean},orange:{type:Boolean},text:{}},setup(s){const e=s,t=O(()=>e.green?"bg-green-400:10 text-green-400":e.orange?"bg-orange-400:10 text-orange-400":"bg-gray-400:10 text-gray");return(n,i)=>(v(),x("span",{class:k(["mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs inline-block",S(t)])},I(s.text),3))}}),_e=Object.assign(Ee,{__name:"Tag"});let $;const P=[];function ve(s){if(P.push(s),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&P.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&P.forEach(t=>t(e))},get(){return $.value},configurable:!0}),()=>{P.splice(P.indexOf(s),1)}}function Ne(){$||($=Fe(),ve(e));function s(){$&&Ve($)}function e(t){$.value=t,t.host&&t.host.hooks.hook("host:update:reactivity",s)}return $}const Ae=Ne(),qe=["innerHTML"],Pe=["textContent"],Be={__name:"NCodeBlock",props:{code:{type:String,required:!0},lang:{type:null,required:!1},lines:{type:Boolean,required:!1,default:!0},inline:{type:Boolean,required:!1},grammarContextCode:{type:String,required:!1},transformRendered:{type:Function,required:!1}},emits:["loaded"],setup(s,{emit:e}){const t=s,n=e,i=O(()=>{const r=t.lang==="text"?{code:t.code,supported:!1}:Ae.value?.devtools.renderCodeHighlight(t.code,t.lang,{grammarContextCode:t.grammarContextCode})||{code:t.code,supported:!1};return r.supported&&t.transformRendered&&(r.code=t.transformRendered(r.code)),r.supported&&ae(()=>n("loaded")),r}),o=O(()=>["n-code-block shiki",t.lines&&!t.inline?"n-code-block-lines":""]);return(r,c)=>s.lang&&i.value.supported?(v(),x("pre",{key:0,class:k(o.value)},[y("code",{innerHTML:i.value.code},null,8,qe)],2)):(v(),x("pre",{key:1,class:k(o.value)},[y("code",null,[(v(!0),x(A,null,ne(s.code.split(`
2
+ `),(l,d)=>(v(),x(A,{key:d},[y("span",{class:"line",textContent:I(l)},null,8,Pe),c[0]||(c[0]=y("br",null,null,-1))],64))),128))])],2))}},Re={flex:"~ gap-3","items-center":""},je={__name:"NIconTitle",props:{icon:{type:String,required:!1},text:{type:String,required:!1}},setup(s){return(e,t)=>(v(),x("div",Re,[s.icon?(v(),x("div",{key:0,class:k(s.icon)},null,2)):C("",!0),V(e.$slots,"default",{},()=>[y("div",null,I(s.text),1)])]))}},We=["open"],Ue={"text-base":""},Je={key:0,"text-sm":"",op50:""},Qe={__name:"NSectionBlock",props:{icon:{type:String,required:!1},text:{type:String,required:!1},description:{type:String,required:!1},containerClass:{type:String,required:!1,default:""},headerClass:{type:String,required:!1},collapse:{type:Boolean,required:!1,default:!0},open:{type:Boolean,required:!1,default:!0},padding:{type:[Boolean,String],required:!1,default:!0}},setup(s){const t=ge(s,"open",void 0,{passive:!0});function n(i){t.value=i.target.open}return(i,o)=>{const r=pe,c=je;return v(),x(A,null,[y("details",{open:S(t),onToggle:n},[y("summary",{class:k(["cursor-pointer select-none p4 hover:bg-active",s.collapse?"":"pointer-events-none"])},[D(c,{icon:s.icon,text:s.text,"text-xl":"",transition:"",class:k([S(t)?"op100":"op60",s.headerClass])},{default:H(()=>[y("div",null,[y("div",Ue,[V(i.$slots,"text",{},()=>[re(I(s.text),1)],!0)]),s.description||i.$slots.description?(v(),x("div",Je,[V(i.$slots,"description",{},()=>[re(I(s.description),1)],!0)])):C("",!0)]),o[0]||(o[0]=y("div",{class:"flex-auto"},null,-1)),V(i.$slots,"actions",{},void 0,!0),s.collapse?(v(),N(r,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):C("",!0)]),_:3},8,["icon","text","class"])],2),o._lazyshow1||S(t)?(o._lazyshow1=!0,v(),x(A,null,[he(y("div",{class:k(["flex flex-col flex-gap2 pb6 pt2",typeof s.padding=="string"?s.padding:s.padding?"px4":""])},[V(i.$slots,"details",{},void 0,!0),y("div",{class:k([s.containerClass,"mt1"])},[V(i.$slots,"default",{},void 0,!0)],2),V(i.$slots,"footer",{},void 0,!0)],2),[[Oe,S(t)]])],64)):C("v-show-if",!0)],40,We),o[1]||(o[1]=y("div",{class:"x-divider"},null,-1))],64)}}},Ge=Te(Qe,[["__scopeId","data-v-45092635"]]),Ke={class:"h-full of-auto p2"},Xe={class:"p5"},He={class:"font-mono mb4 font-bold text-3xl"},Ye={key:0,class:"mb3"},Ze=["href"],et={key:0,class:"font-mono bg-red-900 text-red-100 p2"},tt=te({__name:"DocumentDetail",props:{id:{},timestamp:{},source:{},name:{},identifier:{},filePath:{},serverApiPrefix:{}},setup(s){const e=s,t=O(()=>[]),n=O(()=>e.identifier!=="fragment"?`${e.serverApiPrefix}/${e.identifier}/${e.name}`:null);return(i,o)=>{const r=_e,c=Be,l=Ge;return v(),x("div",Ke,[y("div",Xe,[y("h2",He,I(s.name),1),S(n)?(v(),x("div",Ye,[s.identifier==="query"?(v(),N(r,{key:0,green:"",text:"GET"})):(v(),N(r,{key:1,orange:"",text:"POST"})),y("a",{class:"n-transition n-link n-link-base hover:n-link-hover ml2",target:"_blank",href:S(n)},I(S(n)),9,Ze)])):C("",!0)]),D(l,{text:"Document",description:s.filePath,padding:"px4"},{default:H(()=>[D(c,{code:s.source,lang:"graphql"},null,8,["code"])]),_:1},8,["description"]),D(l,{text:"Errors",description:S(t).length+" errors",padding:"px4"},{default:H(()=>[S(t).length?(v(),x("div",et,[(v(!0),x(A,null,ne(S(t),(d,u)=>(v(),x("div",{key:u},I(d),1))),128))])):C("",!0)]),_:1},8,["description"])])}}}),nt=Object.assign(tt,{__name:"DocumentDetail"}),st="ENTRIES",ye="KEYS",xe="VALUES",b="";class J{constructor(e,t){const n=e._tree,i=Array.from(n.keys());this.set=e,this._type=t,this._path=i.length>0?[{node:n,keys:i}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=L(this._path);if(L(t)===b)return{done:!1,value:this.result()};const n=e.get(L(t));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=L(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>L(e)).filter(e=>e!==b).join("")}value(){return L(this._path).node.get(b)}result(){switch(this._type){case xe:return this.value();case ye:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const L=s=>s[s.length-1],it=(s,e,t)=>{const n=new Map;if(e===void 0)return n;const i=e.length+1,o=i+t,r=new Uint8Array(o*i).fill(t+1);for(let c=0;c<i;++c)r[c]=c;for(let c=1;c<o;++c)r[c*i]=c;return we(s,e,t,n,r,1,i,""),n},we=(s,e,t,n,i,o,r,c)=>{const l=o*r;e:for(const d of s.keys())if(d===b){const u=i[l-1];u<=t&&n.set(c,[s.get(d),u])}else{let u=o;for(let h=0;h<d.length;++h,++u){const a=d[h],f=r*u,g=f-r;let m=i[f];const p=Math.max(0,u-t-1),w=Math.min(r-1,u+t);for(let _=p;_<w;++_){const z=a!==e[_],F=i[g+_]+ +z,R=i[g+_+1]+1,M=i[f+_]+1,q=i[f+_+1]=Math.min(F,R,M);q<m&&(m=q)}if(m>t)continue e}we(s.get(d),e,t,n,i,u,r,c+d)}};class T{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,n]=U(this._tree,e.slice(this._prefix.length));if(t===void 0){const[i,o]=se(n);for(const r of i.keys())if(r!==b&&r.startsWith(o)){const c=new Map;return c.set(r.slice(o.length),i.get(r)),new T(c,e)}}return new T(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,ot(this._tree,e)}entries(){return new J(this,st)}forEach(e){for(const[t,n]of this)e(t,n,this)}fuzzyGet(e,t){return it(this._tree,e,t)}get(e){const t=Y(this._tree,e);return t!==void 0?t.get(b):void 0}has(e){const t=Y(this._tree,e);return t!==void 0&&t.has(b)}keys(){return new J(this,ye)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,Q(this._tree,e).set(b,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=Q(this._tree,e);return n.set(b,t(n.get(b))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=Q(this._tree,e);let i=n.get(b);return i===void 0&&n.set(b,i=t()),i}values(){return new J(this,xe)}[Symbol.iterator](){return this.entries()}static from(e){const t=new T;for(const[n,i]of e)t.set(n,i);return t}static fromObject(e){return T.from(Object.entries(e))}}const U=(s,e,t=[])=>{if(e.length===0||s==null)return[s,t];for(const n of s.keys())if(n!==b&&e.startsWith(n))return t.push([s,n]),U(s.get(n),e.slice(n.length),t);return t.push([s,e]),U(void 0,"",t)},Y=(s,e)=>{if(e.length===0||s==null)return s;for(const t of s.keys())if(t!==b&&e.startsWith(t))return Y(s.get(t),e.slice(t.length))},Q=(s,e)=>{const t=e.length;e:for(let n=0;s&&n<t;){for(const o of s.keys())if(o!==b&&e[n]===o[0]){const r=Math.min(t-n,o.length);let c=1;for(;c<r&&e[n+c]===o[c];)++c;const l=s.get(o);if(c===o.length)s=l;else{const d=new Map;d.set(o.slice(c),l),s.set(e.slice(n,n+c),d),s.delete(o),s=d}n+=c;continue e}const i=new Map;return s.set(e.slice(n),i),i}return s},ot=(s,e)=>{const[t,n]=U(s,e);if(t!==void 0){if(t.delete(b),t.size===0)be(n);else if(t.size===1){const[i,o]=t.entries().next().value;Se(n,i,o)}}},be=s=>{if(s.length===0)return;const[e,t]=se(s);if(e.delete(t),e.size===0)be(s.slice(0,-1));else if(e.size===1){const[n,i]=e.entries().next().value;n!==b&&Se(s.slice(0,-1),n,i)}},Se=(s,e,t)=>{if(s.length===0)return;const[n,i]=se(s);n.set(i+e,t),n.delete(i)},se=s=>s[s.length-1],ie="or",ke="and",rt="and_not";class E{constructor(e){if(e?.fields==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?X:e.autoVacuum;this._options={...K,...e,autoVacuum:t,searchOptions:{...ce,...e.searchOptions||{}},autoSuggestOptions:{...at,...e.autoSuggestOptions||{}}},this._index=new T,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=ee,this.addFields(this._options.fields)}add(e){const{extractField:t,stringifyField:n,tokenize:i,processTerm:o,fields:r,idField:c}=this._options,l=t(e,c);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${c}"`);if(this._idToShortId.has(l))throw new Error(`MiniSearch: duplicate ID ${l}`);const d=this.addDocumentId(l);this.saveStoredFields(d,e);for(const u of r){const h=t(e,u);if(h==null)continue;const a=i(n(h,u),u),f=this._fieldIds[u],g=new Set(a).size;this.addFieldLength(d,f,this._documentCount-1,g);for(const m of a){const p=o(m,u);if(Array.isArray(p))for(const w of p)this.addTerm(f,d,w);else p&&this.addTerm(f,d,p)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:n=10}=t,i={chunk:[],promise:Promise.resolve()},{chunk:o,promise:r}=e.reduce(({chunk:c,promise:l},d,u)=>(c.push(d),(u+1)%n===0?{chunk:[],promise:l.then(()=>new Promise(h=>setTimeout(h,0))).then(()=>this.addAll(c))}:{chunk:c,promise:l}),i);return r.then(()=>this.addAll(o))}remove(e){const{tokenize:t,processTerm:n,extractField:i,stringifyField:o,fields:r,idField:c}=this._options,l=i(e,c);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${c}"`);const d=this._idToShortId.get(l);if(d==null)throw new Error(`MiniSearch: cannot remove document with ID ${l}: it is not in the index`);for(const u of r){const h=i(e,u);if(h==null)continue;const a=t(o(h,u),u),f=this._fieldIds[u],g=new Set(a).size;this.removeFieldLength(d,f,this._documentCount,g);for(const m of a){const p=n(m,u);if(Array.isArray(p))for(const w of p)this.removeTerm(f,d,w);else p&&this.removeTerm(f,d,p)}}this._storedFields.delete(d),this._documentIds.delete(d),this._idToShortId.delete(l),this._fieldLength.delete(d),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new T,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((n,i)=>{this.removeFieldLength(t,i,this._documentCount,n)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:n,batchWait:i}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:i},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const n of e)this.discard(n)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:n}=this._options,i=n(e,t);this.discard(i),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const n=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=ee,this.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}async performVacuuming(e,t){const n=this._dirtCount;if(this.vacuumConditionsMet(t)){const i=e.batchSize||Z.batchSize,o=e.batchWait||Z.batchWait;let r=1;for(const[c,l]of this._index){for(const[d,u]of l)for(const[h]of u)this._documentIds.has(h)||(u.size<=1?l.delete(d):u.delete(h));this._index.get(c).size===0&&this._index.delete(c),r%i===0&&await new Promise(d=>setTimeout(d,o)),r+=1}this._dirtCount-=n}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:n}=e;return t=t||X.minDirtCount,n=n||X.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const{searchOptions:n}=this._options,i={...n,...t},o=this.executeQuery(e,t),r=[];for(const[c,{score:l,terms:d,match:u}]of o){const h=d.length||1,a={id:this._documentIds.get(c),score:l*h,terms:Object.keys(u),queryTerms:d,match:u};Object.assign(a,this._storedFields.get(c)),(i.filter==null||i.filter(a))&&r.push(a)}return e===E.wildcard&&i.boostDocument==null||r.sort(de),r}autoSuggest(e,t={}){t={...this._options.autoSuggestOptions,...t};const n=new Map;for(const{score:o,terms:r}of this.search(e,t)){const c=r.join(" "),l=n.get(c);l!=null?(l.score+=o,l.count+=1):n.set(c,{score:o,terms:r,count:1})}const i=[];for(const[o,{score:r,terms:c,count:l}]of n)i.push({suggestion:o,terms:c,score:r/l});return i.sort(de),i}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static async loadJSONAsync(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)}static getDefault(e){if(K.hasOwnProperty(e))return G(K,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:n,documentIds:i,fieldLength:o,storedFields:r,serializationVersion:c}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=j(i),l._fieldLength=j(o),l._storedFields=j(r);for(const[d,u]of l._documentIds)l._idToShortId.set(u,d);for(const[d,u]of n){const h=new Map;for(const a of Object.keys(u)){let f=u[a];c===1&&(f=f.ds),h.set(parseInt(a,10),j(f))}l._index.set(d,h)}return l}static async loadJSAsync(e,t){const{index:n,documentIds:i,fieldLength:o,storedFields:r,serializationVersion:c}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=await W(i),l._fieldLength=await W(o),l._storedFields=await W(r);for(const[u,h]of l._documentIds)l._idToShortId.set(h,u);let d=0;for(const[u,h]of n){const a=new Map;for(const f of Object.keys(h)){let g=h[f];c===1&&(g=g.ds),a.set(parseInt(f,10),await W(g))}++d%1e3===0&&await Ce(0),l._index.set(u,a)}return l}static instantiateMiniSearch(e,t){const{documentCount:n,nextId:i,fieldIds:o,averageFieldLength:r,dirtCount:c,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const d=new E(t);return d._documentCount=n,d._nextId=i,d._idToShortId=new Map,d._fieldIds=o,d._avgFieldLength=r,d._dirtCount=c||0,d._index=new T,d}executeQuery(e,t={}){if(e===E.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const a={...t,...e,queries:void 0},f=e.queries.map(g=>this.executeQuery(g,a));return this.combineResults(f,a.combineWith)}const{tokenize:n,processTerm:i,searchOptions:o}=this._options,r={tokenize:n,processTerm:i,...o,...t},{tokenize:c,processTerm:l}=r,h=c(e).flatMap(a=>l(a)).filter(a=>!!a).map(ut(r)).map(a=>this.executeQuerySpec(a,r));return this.combineResults(h,r.combineWith)}executeQuerySpec(e,t){const n={...this._options.searchOptions,...t},i=(n.fields||this._options.fields).reduce((m,p)=>({...m,[p]:G(n.boost,p)||1}),{}),{boostDocument:o,weights:r,maxFuzzy:c,bm25:l}=n,{fuzzy:d,prefix:u}={...ce.weights,...r},h=this._index.get(e.term),a=this.termResults(e.term,e.term,1,e.termBoost,h,i,o,l);let f,g;if(e.prefix&&(f=this._index.atPrefix(e.term)),e.fuzzy){const m=e.fuzzy===!0?.2:e.fuzzy,p=m<1?Math.min(c,Math.round(e.term.length*m)):m;p&&(g=this._index.fuzzyGet(e.term,p))}if(f)for(const[m,p]of f){const w=m.length-e.term.length;if(!w)continue;g?.delete(m);const _=u*m.length/(m.length+.3*w);this.termResults(e.term,m,_,e.termBoost,p,i,o,l,a)}if(g)for(const m of g.keys()){const[p,w]=g.get(m);if(!w)continue;const _=d*m.length/(m.length+w);this.termResults(e.term,m,_,e.termBoost,p,i,o,l,a)}return a}executeWildcardQuery(e){const t=new Map,n={...this._options.searchOptions,...e};for(const[i,o]of this._documentIds){const r=n.boostDocument?n.boostDocument(o,"",this._storedFields.get(i)):1;t.set(i,{score:r,terms:[],match:{}})}return t}combineResults(e,t=ie){if(e.length===0)return new Map;const n=t.toLowerCase(),i=ct[n];if(!i)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(i)||new Map}toJSON(){const e=[];for(const[t,n]of this._index){const i={};for(const[o,r]of n)i[o]=Object.fromEntries(r);e.push([t,i])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,n,i,o,r,c,l,d=new Map){if(o==null)return d;for(const u of Object.keys(r)){const h=r[u],a=this._fieldIds[u],f=o.get(a);if(f==null)continue;let g=f.size;const m=this._avgFieldLength[a];for(const p of f.keys()){if(!this._documentIds.has(p)){this.removeTerm(a,p,t),g-=1;continue}const w=c?c(this._documentIds.get(p),t,this._storedFields.get(p)):1;if(!w)continue;const _=f.get(p),z=this._fieldLength.get(p)[a],F=dt(_,g,this._documentCount,z,m,l),R=n*i*h*w*F,M=d.get(p);if(M){M.score+=R,ht(M.terms,e);const q=G(M.match,t);q?q.push(u):M.match[t]=[u]}else d.set(p,{score:R,terms:[e],match:{[t]:[u]}})}}return d}addTerm(e,t,n){const i=this._index.fetch(n,ue);let o=i.get(e);if(o==null)o=new Map,o.set(t,1),i.set(e,o);else{const r=o.get(t);o.set(t,(r||0)+1)}}removeTerm(e,t,n){if(!this._index.has(n)){this.warnDocumentChanged(t,e,n);return}const i=this._index.fetch(n,ue),o=i.get(e);o==null||o.get(t)==null?this.warnDocumentChanged(t,e,n):o.get(t)<=1?o.size<=1?i.delete(e):o.delete(t):o.set(t,o.get(t)-1),this._index.get(n).size===0&&this._index.delete(n)}warnDocumentChanged(e,t,n){for(const i of Object.keys(this._fieldIds))if(this._fieldIds[i]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${n}" was not present in field "${i}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;t<e.length;t++)this._fieldIds[e[t]]=t}addFieldLength(e,t,n,i){let o=this._fieldLength.get(e);o==null&&this._fieldLength.set(e,o=[]),o[t]=i;const c=(this._avgFieldLength[t]||0)*n+i;this._avgFieldLength[t]=c/(n+1)}removeFieldLength(e,t,n,i){if(n===1){this._avgFieldLength[t]=0;return}const o=this._avgFieldLength[t]*n-i;this._avgFieldLength[t]=o/(n-1)}saveStoredFields(e,t){const{storeFields:n,extractField:i}=this._options;if(n==null||n.length===0)return;let o=this._storedFields.get(e);o==null&&this._storedFields.set(e,o={});for(const r of n){const c=i(t,r);c!==void 0&&(o[r]=c)}}}E.wildcard=Symbol("*");const G=(s,e)=>Object.prototype.hasOwnProperty.call(s,e)?s[e]:void 0,ct={[ie]:(s,e)=>{for(const t of e.keys()){const n=s.get(t);if(n==null)s.set(t,e.get(t));else{const{score:i,terms:o,match:r}=e.get(t);n.score=n.score+i,n.match=Object.assign(n.match,r),le(n.terms,o)}}return s},[ke]:(s,e)=>{const t=new Map;for(const n of e.keys()){const i=s.get(n);if(i==null)continue;const{score:o,terms:r,match:c}=e.get(n);le(i.terms,r),t.set(n,{score:i.score+o,terms:i.terms,match:Object.assign(i.match,c)})}return t},[rt]:(s,e)=>{for(const t of e.keys())s.delete(t);return s}},lt={k:1.2,b:.7,d:.5},dt=(s,e,t,n,i,o)=>{const{k:r,b:c,d:l}=o;return Math.log(1+(t-e+.5)/(e+.5))*(l+s*(r+1)/(s+r*(1-c+c*n/i)))},ut=s=>(e,t,n)=>{const i=typeof s.fuzzy=="function"?s.fuzzy(e,t,n):s.fuzzy||!1,o=typeof s.prefix=="function"?s.prefix(e,t,n):s.prefix===!0,r=typeof s.boostTerm=="function"?s.boostTerm(e,t,n):1;return{term:e,fuzzy:i,prefix:o,termBoost:r}},K={idField:"id",extractField:(s,e)=>s[e],stringifyField:(s,e)=>s.toString(),tokenize:s=>s.split(ft),processTerm:s=>s.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(s,e)=>{typeof console?.[s]=="function"&&console[s](e)},autoVacuum:!0},ce={combineWith:ie,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:lt},at={combineWith:ke,prefix:(s,e,t)=>e===t.length-1},Z={batchSize:1e3,batchWait:10},ee={minDirtFactor:.1,minDirtCount:20},X={...Z,...ee},ht=(s,e)=>{s.includes(e)||s.push(e)},le=(s,e)=>{for(const t of e)s.includes(t)||s.push(t)},de=({score:s},{score:e})=>e-s,ue=()=>new Map,j=s=>{const e=new Map;for(const t of Object.keys(s))e.set(parseInt(t,10),s[t]);return e},W=async s=>{const e=new Map;let t=0;for(const n of Object.keys(s))e.set(parseInt(n,10),s[n]),++t%1e3===0&&await Ce(0);return e},Ce=s=>new Promise(e=>setTimeout(e,s)),ft=/[\n\r\p{Z}\p{P}]+/u,mt={class:"relative",style:{height:"100vh"}},pt={class:"flex h-full"},gt={class:"h-full border-r border-r-gray-800 of-auto","h-full":"",style:{width:"22rem","min-width":"0",flex:"0 0 auto"}},_t={flex:"~ col gap2",border:"b base",class:"border-b-gray-800 p3 flex-1"},vt=["onClick"],yt={style:{width:"6rem"},class:"text-left"},xt=["onClick"],wt={key:0,class:"h-full relative w-full of-auto"},bt="nuxt-graphql-middleware",kt=te({__name:"index",setup(s){const e=new E({fields:["id","source","name","filePath","identifier"],storeFields:["id","source","name","identifier","filePath"],searchOptions:{fuzzy:.7}}),t=B(""),n=B([]),i=B(""),o=B(""),r=O(()=>{if(t.value)return n.value.find(u=>u.id===t.value)});async function c(u){e.removeAll(),n.value=u,e.addAll(u)}ve(async u=>{const h=u.devtools.extendClientRpc(bt,{showNotification(){},documentsUpdated(g){c(g)}}),a=await h.getDocuments();c(a);const f=await h.getModuleOptions();o.value=f.serverApiPrefix});function l(u){const h=document.createElement("textarea");h.value=u.source,h.style.top="0",h.style.left="0",h.style.position="fixed",document.body.appendChild(h),h.focus(),h.select();try{document.execCommand("copy")}catch{}document.body.removeChild(h)}const d=O(()=>i.value?e.search(i.value):n.value);return(u,h)=>{const a=De,f=_e,g=nt;return v(),x("div",mt,[y("div",pt,[y("div",gt,[y("div",_t,[D(a,{modelValue:S(i),"onUpdate:modelValue":h[0]||(h[0]=m=>me(i)?i.value=m:null),placeholder:"Search documents...",icon:"carbon-search",class:"w-full"},null,8,["modelValue"])]),(v(!0),x(A,null,ne(S(d),m=>(v(),x("div",{key:m.id,class:"relative group"},[y("button",{class:"text-secondary hover:n-bg-hover flex select-none truncate px2 py2 font-mono text-sm w-full",onClick:p=>t.value=m.id},[y("div",yt,[m.identifier==="query"?(v(),N(f,{key:0,green:"",text:"Query"})):m.identifier==="mutation"?(v(),N(f,{key:1,orange:"",text:"Mutation"})):C("",!0)]),y("div",null,I(m.name),1)],8,vt),y("button",{class:"absolute right-0 top-0 text-sm h-full flex items-center opacity-0 group-hover:opacity-100 pr2",onClick:p=>l(m)},[...h[1]||(h[1]=[y("span",null,"Copy",-1)])],8,xt)]))),128))]),h[2]||(h[2]=y("div",{class:"splitpanes__splitter"},null,-1)),S(r)?(v(),x("div",wt,[D(g,fe(S(r),{"server-api-prefix":S(o)}),null,16,["server-api-prefix"])])):C("",!0)])])}}});export{kt as default};
@@ -1 +1 @@
1
- import{d as z,u as R,s as B,r as O,a as L,o as E,b as T,c as H,e as I,f as U,h as N,g as q,p as M,i as A,j as D,k as p,l as P,m as V,n as F,q as $,w as W,t as G,v as K,_ as Q,x as J,y as X,z as C,A as S,B as Y,C as Z,D as ee}from"./DPP_zJIh.js";import{u as te}from"./CYCWsMRt.js";const ne=(...t)=>t.find(o=>o!==void 0);function re(t){const o=t.componentName||"NuxtLink";function f(e){return typeof e=="string"&&e.startsWith("#")}function k(e,s,d){const r=d??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return _(e,r);const i="path"in e&&e.path!==void 0?e.path:s(e).path;return{...e,name:void 0,path:_(i,r)}}function w(e){const s=R(),d=F(),r=p(()=>!!e.target&&e.target!=="_self"),i=p(()=>{const l=e.to||e.href||"";return typeof l=="string"&&P(l,{acceptRelative:!0})}),b=q("RouterLink"),h=b&&typeof b!="string"?b.useLink:void 0,c=p(()=>{if(e.external)return!0;const l=e.to||e.href||"";return typeof l=="object"?!1:l===""||i.value}),a=p(()=>{const l=e.to||e.href||"";return c.value?l:k(l,s.resolve,e.trailingSlash)}),g=c.value?void 0:h?.({...e,to:a}),m=p(()=>{const l=e.trailingSlash??t.trailingSlash;if(!a.value||i.value||f(a.value))return a.value;if(c.value){const y=typeof a.value=="object"&&"path"in a.value?A(a.value):a.value,x=typeof y=="object"?s.resolve(y).href:y;return _(x,l)}return typeof a.value=="object"?s.resolve(a.value)?.href??null:_(V(d.app.baseURL,a.value),l)});return{to:a,hasTarget:r,isAbsoluteUrl:i,isExternal:c,href:m,isActive:g?.isActive??p(()=>a.value===s.currentRoute.value.path),isExactActive:g?.isExactActive??p(()=>a.value===s.currentRoute.value.path),route:g?.route??p(()=>s.resolve(a.value)),async navigate(l){await $(m.value,{replace:e.replace,external:c.value||r.value})}}}return z({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:w,setup(e,{slots:s}){const d=R(),{to:r,href:i,navigate:b,isExternal:h,hasTarget:c,isAbsoluteUrl:a}=w(e),g=B(!1),m=O(null),l=u=>{m.value=e.custom?u?.$el?.nextElementSibling:u?.$el};function y(u){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===u:e.prefetchOn?.[u]??t.prefetchOn?.[u])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!se()}async function x(u=L()){if(g.value)return;g.value=!0;const v=typeof r.value=="string"?r.value:h.value?A(r.value):d.resolve(r.value).fullPath,n=h.value?new URL(v,window.location.href).href:v;await Promise.all([u.hooks.callHook("link:prefetch",n).catch(()=>{}),!h.value&&!c.value&&D(r.value,d).catch(()=>{})])}if(y("visibility")){const u=L();let v,n=null;E(()=>{const j=ie();T(()=>{v=H(()=>{m?.value?.tagName&&(n=j.observe(m.value,async()=>{n?.(),n=null,await x(u)}))})})}),I(()=>{v&&U(v),n?.(),n=null})}return()=>{if(!h.value&&!c.value&&!f(r.value)){const n={ref:l,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(y("interaction")&&(n.onPointerenter=x.bind(null,void 0),n.onFocus=x.bind(null,void 0)),g.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),N(q("RouterLink"),n,s.default)}const u=e.target||null,v=ne(e.noRel?"":e.rel,t.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;return e.custom?s.default?s.default({href:i.value,navigate:b,prefetch:x,get route(){if(!i.value)return;const n=new URL(i.value,window.location.href);return{path:n.pathname,fullPath:n.pathname,get query(){return M(n.search)},hash:n.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:i.value}},rel:v,target:u,isExternal:h.value||c.value,isActive:!1,isExactActive:!1}):null:N("a",{ref:m,href:i.value||null,rel:v,target:u,onClick:n=>{if(!(h.value||c.value))return n.preventDefault(),e.replace?d.replace(i.value):d.push(i.value)}},s.default?.())}}})}const ae=re(K);function _(t,o){const f=o==="append"?W:G;return P(t)&&!t.startsWith("http")?t:f(t,!0)}function ie(){const t=L();if(t._observer)return t._observer;let o=null;const f=new Map,k=(e,s)=>(o||=new IntersectionObserver(d=>{for(const r of d){const i=f.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&i&&i()}}),f.set(e,s),o.observe(e),()=>{f.delete(e),o?.unobserve(e),f.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:k}}const oe=/2g/;function se(){const t=navigator.connection;return!!(t&&(t.saveData||oe.test(t.effectiveType)))}const le={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},ue={class:"max-w-520px text-center"},ce=["textContent"],fe=["textContent"],de=["textContent"],ve={class:"flex items-center justify-center w-full"},he={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Page not found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return te({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(f,k)=>{const w=ae;return X(),J("div",le,[C("div",ue,[C("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:S(t.statusCode)},null,8,ce),C("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:S(t.statusMessage)},null,8,fe),C("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:S(t.description)},null,8,de),C("div",ve,[Y(w,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:Z(()=>[ee(S(t.backHome),1)]),_:1})])])])}}},be=Q(he,[["__scopeId","data-v-dec70bd4"]]);export{be as default};
1
+ import{d as z,u as R,s as B,r as O,a as L,o as E,b as T,c as H,e as I,f as U,h as N,g as q,p as M,i as A,j as D,k as p,l as P,m as V,n as F,q as $,w as W,t as G,v as K,_ as Q,x as J,y as X,z as C,A as S,B as Y,C as Z,D as ee}from"./DrXVleME.js";import{u as te}from"./DZ-uq6Vd.js";const ne=(...t)=>t.find(o=>o!==void 0);function re(t){const o=t.componentName||"NuxtLink";function f(e){return typeof e=="string"&&e.startsWith("#")}function k(e,s,d){const r=d??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return _(e,r);const i="path"in e&&e.path!==void 0?e.path:s(e).path;return{...e,name:void 0,path:_(i,r)}}function w(e){const s=R(),d=F(),r=p(()=>!!e.target&&e.target!=="_self"),i=p(()=>{const l=e.to||e.href||"";return typeof l=="string"&&P(l,{acceptRelative:!0})}),b=q("RouterLink"),h=b&&typeof b!="string"?b.useLink:void 0,c=p(()=>{if(e.external)return!0;const l=e.to||e.href||"";return typeof l=="object"?!1:l===""||i.value}),a=p(()=>{const l=e.to||e.href||"";return c.value?l:k(l,s.resolve,e.trailingSlash)}),g=c.value?void 0:h?.({...e,to:a}),m=p(()=>{const l=e.trailingSlash??t.trailingSlash;if(!a.value||i.value||f(a.value))return a.value;if(c.value){const y=typeof a.value=="object"&&"path"in a.value?A(a.value):a.value,x=typeof y=="object"?s.resolve(y).href:y;return _(x,l)}return typeof a.value=="object"?s.resolve(a.value)?.href??null:_(V(d.app.baseURL,a.value),l)});return{to:a,hasTarget:r,isAbsoluteUrl:i,isExternal:c,href:m,isActive:g?.isActive??p(()=>a.value===s.currentRoute.value.path),isExactActive:g?.isExactActive??p(()=>a.value===s.currentRoute.value.path),route:g?.route??p(()=>s.resolve(a.value)),async navigate(l){await $(m.value,{replace:e.replace,external:c.value||r.value})}}}return z({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:w,setup(e,{slots:s}){const d=R(),{to:r,href:i,navigate:b,isExternal:h,hasTarget:c,isAbsoluteUrl:a}=w(e),g=B(!1),m=O(null),l=u=>{m.value=e.custom?u?.$el?.nextElementSibling:u?.$el};function y(u){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===u:e.prefetchOn?.[u]??t.prefetchOn?.[u])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!se()}async function x(u=L()){if(g.value)return;g.value=!0;const v=typeof r.value=="string"?r.value:h.value?A(r.value):d.resolve(r.value).fullPath,n=h.value?new URL(v,window.location.href).href:v;await Promise.all([u.hooks.callHook("link:prefetch",n).catch(()=>{}),!h.value&&!c.value&&D(r.value,d).catch(()=>{})])}if(y("visibility")){const u=L();let v,n=null;E(()=>{const j=ie();T(()=>{v=H(()=>{m?.value?.tagName&&(n=j.observe(m.value,async()=>{n?.(),n=null,await x(u)}))})})}),I(()=>{v&&U(v),n?.(),n=null})}return()=>{if(!h.value&&!c.value&&!f(r.value)){const n={ref:l,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(y("interaction")&&(n.onPointerenter=x.bind(null,void 0),n.onFocus=x.bind(null,void 0)),g.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),N(q("RouterLink"),n,s.default)}const u=e.target||null,v=ne(e.noRel?"":e.rel,t.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;return e.custom?s.default?s.default({href:i.value,navigate:b,prefetch:x,get route(){if(!i.value)return;const n=new URL(i.value,window.location.href);return{path:n.pathname,fullPath:n.pathname,get query(){return M(n.search)},hash:n.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:i.value}},rel:v,target:u,isExternal:h.value||c.value,isActive:!1,isExactActive:!1}):null:N("a",{ref:m,href:i.value||null,rel:v,target:u,onClick:n=>{if(!(h.value||c.value))return n.preventDefault(),e.replace?d.replace(i.value):d.push(i.value)}},s.default?.())}}})}const ae=re(K);function _(t,o){const f=o==="append"?W:G;return P(t)&&!t.startsWith("http")?t:f(t,!0)}function ie(){const t=L();if(t._observer)return t._observer;let o=null;const f=new Map,k=(e,s)=>(o||=new IntersectionObserver(d=>{for(const r of d){const i=f.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&i&&i()}}),f.set(e,s),o.observe(e),()=>{f.delete(e),o?.unobserve(e),f.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:k}}const oe=/2g/;function se(){const t=navigator.connection;return!!(t&&(t.saveData||oe.test(t.effectiveType)))}const le={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},ue={class:"max-w-520px text-center"},ce=["textContent"],fe=["textContent"],de=["textContent"],ve={class:"flex items-center justify-center w-full"},he={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Page not found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return te({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(f,k)=>{const w=ae;return X(),J("div",le,[C("div",ue,[C("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:S(t.statusCode)},null,8,ce),C("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:S(t.statusMessage)},null,8,fe),C("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:S(t.description)},null,8,de),C("div",ve,[Y(w,{to:"/",class:"font-medium hover:text-[#00DC82] text-sm underline underline-offset-3"},{default:Z(()=>[ee(S(t.backHome),1)]),_:1})])])])}}},be=Q(he,[["__scopeId","data-v-cd31e6b7"]]);export{be as default};
@@ -0,0 +1 @@
1
+ import{E as a,a as s,F as r,G as u,H as o}from"./DrXVleME.js";function d(t){const e=t||s();return e.ssrContext?.head||e.runWithContext(()=>{if(r()){const n=u(o);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function i(t,e={}){const n=e.head||d(e.nuxt);return a(t,{head:n,...e})}export{i as u};