@drfed/web 0.0.0-stage → 0.1.0-dev.561
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +17 -0
- package/.output/public/.vite/manifest.json +483 -0
- package/.output/public/_build/assets/ActorDetailQuery.graphql-D96mwq1k.js +60 -0
- package/.output/public/_build/assets/ActorDetailQuery.graphql-DrxSNh1X.js +60 -0
- package/.output/public/_build/assets/CompleteLoginChallenge.graphql-C5Zq3wNh.js +10 -0
- package/.output/public/_build/assets/CopyButton-B2l484wE.js +1 -0
- package/.output/public/_build/assets/CopyButton-Bi-ZR8x9.css +1 -0
- package/.output/public/_build/assets/CreateInstanceMutation.graphql-B4CRy6cl.js +19 -0
- package/.output/public/_build/assets/CreateObjectMutation.graphql-B4A01dgV.js +23 -0
- package/.output/public/_build/assets/GenerateActorsMutation.graphql-mlHJNIbe.js +23 -0
- package/.output/public/_build/assets/GetHostQuery.graphql-CuzDdOdW.js +17 -0
- package/.output/public/_build/assets/GetHostQuery.graphql-o9K0Qkg0.js +17 -0
- package/.output/public/_build/assets/HomeViewerQuery.graphql-B903WWKs.js +8 -0
- package/.output/public/_build/assets/HttpStatusCode-bgaVzuLy.js +1 -0
- package/.output/public/_build/assets/InstanceActorListQuery.graphql-DmNwiEhM.js +24 -0
- package/.output/public/_build/assets/InstanceActorListQuery.graphql-paa7teUO.js +24 -0
- package/.output/public/_build/assets/InstanceDetailQuery.graphql-B52nR132.js +66 -0
- package/.output/public/_build/assets/InstanceDetailQuery.graphql-DSA2BcAV.js +66 -0
- package/.output/public/_build/assets/JNCCF6MP-CNMywyiC.js +1 -0
- package/.output/public/_build/assets/LP6E37CW-Cwv6G3n1.js +1 -0
- package/.output/public/_build/assets/SignInMutation.graphql-BalZYNFu.js +9 -0
- package/.output/public/_build/assets/TSB6MOZK-CpiH97G1.js +1 -0
- package/.output/public/_build/assets/Toast-3-eXCAKc.css +1 -0
- package/.output/public/_build/assets/Toast-C1zr9crB.js +1 -0
- package/.output/public/_build/assets/WorkspaceQuery.graphql-UoI7QDs4.js +23 -0
- package/.output/public/_build/assets/_...404_-WZ8kAljY.js +1 -0
- package/.output/public/_build/assets/_challengeId_-Dk-0l7zl.js +1 -0
- package/.output/public/_build/assets/_id_-YcZZShAv.css +1 -0
- package/.output/public/_build/assets/_id_-bpxdclBj.js +1 -0
- package/.output/public/_build/assets/_slug_-CyTA2aW7.css +1 -0
- package/.output/public/_build/assets/_slug_-DXfRknzJ.js +200 -0
- package/.output/public/_build/assets/about-DIrbzRsi.js +1 -0
- package/.output/public/_build/assets/actors-HfZh_afh.js +24 -0
- package/.output/public/_build/assets/client-CGFoRcqH.js +3 -0
- package/.output/public/_build/assets/components-5MVu7IcD.js +1 -0
- package/.output/public/_build/assets/dist-BrJ_B8nU.js +1 -0
- package/.output/public/_build/assets/dist-DVo0HS5G.js +1 -0
- package/.output/public/_build/assets/dist-WrlGlK67.js +1 -0
- package/.output/public/_build/assets/entry-client-BurSTYr9.css +1 -0
- package/.output/public/_build/assets/entry-client-Do7ocrsL.js +8 -0
- package/.output/public/_build/assets/form-BxigYd7J.css +1 -0
- package/.output/public/_build/assets/form.module-BecmEfV_.js +1 -0
- package/.output/public/_build/assets/index-BHn6sAgH.js +23 -0
- package/.output/public/_build/assets/index-BSLqnqN7.js +8 -0
- package/.output/public/_build/assets/index-B_xLBDOo.css +1 -0
- package/.output/public/_build/assets/instance-tpMrvJNZ.js +35 -0
- package/.output/public/_build/assets/label-Mv8GZ4jc.js +1 -0
- package/.output/public/_build/assets/objects-DPb8DI8A.css +1 -0
- package/.output/public/_build/assets/objects-DR9TfL-V.js +25 -0
- package/.output/public/_build/assets/relay-runtime-BX3uubtA.js +7 -0
- package/.output/public/_build/assets/routing-DMN2NHu6.js +1 -0
- package/.output/public/_build/assets/sign-in-B67sv7z8.js +10 -0
- package/.output/public/_build/assets/web-DB_Nkq2D.js +1 -0
- package/.output/public/apple-touch-icon.png +0 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/icon-192.png +0 -0
- package/.output/public/icon-512.png +0 -0
- package/.output/public/icon-mask.png +0 -0
- package/.output/public/icon.svg +395 -0
- package/.output/public/manifest.webmanifest +13 -0
- package/.output/server/_...404_-DDEH5apf.mjs +16 -0
- package/.output/server/_challengeId_-C_n_Bww9.mjs +100 -0
- package/.output/server/_chunks/ssr-renderer.mjs +26 -0
- package/.output/server/_id_-DqytvZEf.mjs +505 -0
- package/.output/server/_libs/@shikijs/core+[...].mjs +7173 -0
- package/.output/server/_libs/@shikijs/engine-javascript+[...].mjs +3110 -0
- package/.output/server/_libs/babel__runtime.mjs +243 -0
- package/.output/server/_libs/dequal.mjs +25 -0
- package/.output/server/_libs/faker-js__faker.mjs +13150 -0
- package/.output/server/_libs/fbjs.mjs +115 -0
- package/.output/server/_libs/h3+rou3+srvx.mjs +650 -0
- package/.output/server/_libs/hookable.mjs +41 -0
- package/.output/server/_libs/invariant.mjs +36 -0
- package/.output/server/_libs/relay-runtime.mjs +9704 -0
- package/.output/server/_libs/seroval-plugins.mjs +563 -0
- package/.output/server/_libs/seroval.mjs +2956 -0
- package/.output/server/_libs/shikijs__langs.mjs +3 -0
- package/.output/server/_libs/shikijs__themes.mjs +7 -0
- package/.output/server/_libs/solid-js.mjs +1248 -0
- package/.output/server/_libs/solid-relay+tiny-invariant.mjs +1029 -0
- package/.output/server/_libs/ufo.mjs +64 -0
- package/.output/server/_libs/valibot.mjs +711 -0
- package/.output/server/_runtime.mjs +33 -0
- package/.output/server/_slug_-CBOaSqoF.mjs +978 -0
- package/.output/server/_ssr/ActorDetailQuery.graphql-C1mWRP1B.mjs +283 -0
- package/.output/server/_ssr/CompleteLoginChallenge.graphql-CM7o_Md1.mjs +78 -0
- package/.output/server/_ssr/CopyButton-CQNR5D1y.mjs +43 -0
- package/.output/server/_ssr/CreateInstanceMutation.graphql-C-h2lGxz.mjs +116 -0
- package/.output/server/_ssr/CreateObjectMutation.graphql-C393Hp7q.mjs +166 -0
- package/.output/server/_ssr/GenerateActorsMutation.graphql-D2ADtn1j.mjs +163 -0
- package/.output/server/_ssr/GetHostQuery.graphql-C45XQo1i.mjs +127 -0
- package/.output/server/_ssr/HomeViewerQuery.graphql-Dote4Pkz.mjs +81 -0
- package/.output/server/_ssr/InstanceActorListQuery.graphql-DgItgN5t.mjs +167 -0
- package/.output/server/_ssr/InstanceDetailQuery.graphql-DP5wWWjX.mjs +367 -0
- package/.output/server/_ssr/JNCCF6MP-BAZlBnvx.mjs +419 -0
- package/.output/server/_ssr/LP6E37CW-D2Ih_b_K.mjs +163 -0
- package/.output/server/_ssr/SignInMutation.graphql-BBXmiay6.mjs +72 -0
- package/.output/server/_ssr/TSB6MOZK-D06WZb6o.mjs +166 -0
- package/.output/server/_ssr/Toast-Bb1gcxED.mjs +947 -0
- package/.output/server/_ssr/WorkspaceQuery.graphql-DnCO8t-4.mjs +153 -0
- package/.output/server/_ssr/about-CD3QIgf_.mjs +14 -0
- package/.output/server/_ssr/actors-CMWf-xQU.mjs +1160 -0
- package/.output/server/_ssr/dist-D6rgyh-L.mjs +81 -0
- package/.output/server/_ssr/dist-I7KRMRbA.mjs +432 -0
- package/.output/server/_ssr/form.module-CTvIl1lm.mjs +192 -0
- package/.output/server/_ssr/index-C4crD6q-.mjs +347 -0
- package/.output/server/_ssr/index-yuhuc6-X.mjs +111 -0
- package/.output/server/_ssr/instance-ZYWGeWd3.mjs +280 -0
- package/.output/server/_ssr/label-DAXzanI9.mjs +9 -0
- package/.output/server/_ssr/objects-D5MVukzB.mjs +4316 -0
- package/.output/server/_ssr/routing-DKTLkkbY.mjs +620 -0
- package/.output/server/_ssr/sign-in-CNHZb_zL.mjs +264 -0
- package/.output/server/_ssr/ssr.mjs +6121 -0
- package/.output/server/index.mjs +684 -0
- package/LICENSE +661 -0
- package/README.md +143 -2
- package/dist/bridge.d.mts +39 -0
- package/dist/bridge.mjs +104 -0
- package/dist/bridge.mjs.map +1 -0
- package/dist/request-policy.d.mts +8 -0
- package/dist/request-policy.mjs +94 -0
- package/dist/request-policy.mjs.map +1 -0
- package/dist/runtime.d.mts +14 -0
- package/dist/runtime.mjs +44 -0
- package/dist/runtime.mjs.map +1 -0
- package/package.json +123 -3
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
globalThis.__nitro_main__ = import.meta.url;
|
|
2
|
+
import { a as toEventHandler, i as defineLazyEventHandler, n as HTTPError, r as defineHandler, s as NodeResponse, t as H3Core } from "./_libs/h3+rou3+srvx.mjs";
|
|
3
|
+
import { t as HookableCore } from "./_libs/hookable.mjs";
|
|
4
|
+
import { i as withoutTrailingSlash, n as joinURL, r as withLeadingSlash, t as decodePath } from "./_libs/ufo.mjs";
|
|
5
|
+
import { promises } from "node:fs";
|
|
6
|
+
import { fileURLToPath } from "node:url";
|
|
7
|
+
import { dirname, resolve } from "node:path";
|
|
8
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260610-beta_@electric-sql+pglite@0.5.3_chokidar@5.0.0_dotenv@17.4.2_drizzle-o_501071fcbcc039bdcf72d29a12bc8be5/node_modules/nitro/dist/runtime/internal/route-rules.mjs
|
|
9
|
+
var headers = ((m) => function headersRouteRule(event) {
|
|
10
|
+
for (const [key, value] of Object.entries(m.options || {})) event.res.headers.set(key, value);
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region #nitro/virtual/public-assets-data
|
|
14
|
+
var public_assets_data_default = {
|
|
15
|
+
"/apple-touch-icon.png": {
|
|
16
|
+
"type": "image/png",
|
|
17
|
+
"etag": "\"11c8d-kllip0BMNLgB5Bmaww2kiQZUJgE\"",
|
|
18
|
+
"mtime": "2026-10-12T13:31:19.218Z",
|
|
19
|
+
"size": 72845,
|
|
20
|
+
"path": "../public/apple-touch-icon.png"
|
|
21
|
+
},
|
|
22
|
+
"/favicon.ico": {
|
|
23
|
+
"type": "image/vnd.microsoft.icon",
|
|
24
|
+
"etag": "\"1536-zC7y9OfIUtLhr4ZZcnqCv3+ArXI\"",
|
|
25
|
+
"mtime": "2026-10-12T13:31:19.218Z",
|
|
26
|
+
"size": 5430,
|
|
27
|
+
"path": "../public/favicon.ico"
|
|
28
|
+
},
|
|
29
|
+
"/icon-192.png": {
|
|
30
|
+
"type": "image/png",
|
|
31
|
+
"etag": "\"13437-E6OpZ3KECjEZcySsLjYnPs/FcZo\"",
|
|
32
|
+
"mtime": "2026-10-12T13:31:19.218Z",
|
|
33
|
+
"size": 78903,
|
|
34
|
+
"path": "../public/icon-192.png"
|
|
35
|
+
},
|
|
36
|
+
"/icon.svg": {
|
|
37
|
+
"type": "image/svg+xml",
|
|
38
|
+
"etag": "\"3ec6-dmhAhPVhugfY/pho1HMTZrT6v+c\"",
|
|
39
|
+
"mtime": "2026-10-12T13:31:19.218Z",
|
|
40
|
+
"size": 16070,
|
|
41
|
+
"path": "../public/icon.svg"
|
|
42
|
+
},
|
|
43
|
+
"/manifest.webmanifest": {
|
|
44
|
+
"type": "application/manifest+json",
|
|
45
|
+
"etag": "\"136-s8UUBwv+ue2sto8g2ywMejmFiqM\"",
|
|
46
|
+
"mtime": "2026-10-12T13:31:19.218Z",
|
|
47
|
+
"size": 310,
|
|
48
|
+
"path": "../public/manifest.webmanifest"
|
|
49
|
+
},
|
|
50
|
+
"/.vite/manifest.json": {
|
|
51
|
+
"type": "application/json",
|
|
52
|
+
"etag": "\"41e8-lZ0T4odp3wZxOteuxw5VW/+2/8c\"",
|
|
53
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
54
|
+
"size": 16872,
|
|
55
|
+
"path": "../public/.vite/manifest.json"
|
|
56
|
+
},
|
|
57
|
+
"/_build/assets/ActorDetailQuery.graphql-D96mwq1k.js": {
|
|
58
|
+
"type": "text/javascript; charset=utf-8",
|
|
59
|
+
"etag": "\"f6b-ng/0ua6pCAb/aerlXbqyEq8lQJk\"",
|
|
60
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
61
|
+
"size": 3947,
|
|
62
|
+
"path": "../public/_build/assets/ActorDetailQuery.graphql-D96mwq1k.js"
|
|
63
|
+
},
|
|
64
|
+
"/icon-mask.png": {
|
|
65
|
+
"type": "image/png",
|
|
66
|
+
"etag": "\"31dc0-WgHEy4r0X8o0jE8BxVoJ0i560HQ\"",
|
|
67
|
+
"mtime": "2026-10-12T13:31:19.218Z",
|
|
68
|
+
"size": 204224,
|
|
69
|
+
"path": "../public/icon-mask.png"
|
|
70
|
+
},
|
|
71
|
+
"/_build/assets/ActorDetailQuery.graphql-DrxSNh1X.js": {
|
|
72
|
+
"type": "text/javascript; charset=utf-8",
|
|
73
|
+
"etag": "\"f76-K9kZs3fDhxctgXCCahidkUJaaEI\"",
|
|
74
|
+
"mtime": "2026-10-12T13:31:17.920Z",
|
|
75
|
+
"size": 3958,
|
|
76
|
+
"path": "../public/_build/assets/ActorDetailQuery.graphql-DrxSNh1X.js"
|
|
77
|
+
},
|
|
78
|
+
"/_build/assets/CompleteLoginChallenge.graphql-C5Zq3wNh.js": {
|
|
79
|
+
"type": "text/javascript; charset=utf-8",
|
|
80
|
+
"etag": "\"4c7-90c3+dCQ7V9en9xOLK2DN7oJ2c0\"",
|
|
81
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
82
|
+
"size": 1223,
|
|
83
|
+
"path": "../public/_build/assets/CompleteLoginChallenge.graphql-C5Zq3wNh.js"
|
|
84
|
+
},
|
|
85
|
+
"/_build/assets/CopyButton-B2l484wE.js": {
|
|
86
|
+
"type": "text/javascript; charset=utf-8",
|
|
87
|
+
"etag": "\"4f8-9wzZFEXvYoZVEN+iFdZzYdBZrNY\"",
|
|
88
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
89
|
+
"size": 1272,
|
|
90
|
+
"path": "../public/_build/assets/CopyButton-B2l484wE.js"
|
|
91
|
+
},
|
|
92
|
+
"/_build/assets/CopyButton-Bi-ZR8x9.css": {
|
|
93
|
+
"type": "text/css; charset=utf-8",
|
|
94
|
+
"etag": "\"24c-6778MGgVxi0Wovyio4SQw9CF8UY\"",
|
|
95
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
96
|
+
"size": 588,
|
|
97
|
+
"path": "../public/_build/assets/CopyButton-Bi-ZR8x9.css"
|
|
98
|
+
},
|
|
99
|
+
"/_build/assets/CreateInstanceMutation.graphql-B4CRy6cl.js": {
|
|
100
|
+
"type": "text/javascript; charset=utf-8",
|
|
101
|
+
"etag": "\"6ab-TfFb9ncO6wjKcuJ8caM2O0f51pE\"",
|
|
102
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
103
|
+
"size": 1707,
|
|
104
|
+
"path": "../public/_build/assets/CreateInstanceMutation.graphql-B4CRy6cl.js"
|
|
105
|
+
},
|
|
106
|
+
"/_build/assets/CreateObjectMutation.graphql-B4A01dgV.js": {
|
|
107
|
+
"type": "text/javascript; charset=utf-8",
|
|
108
|
+
"etag": "\"91f-jvhCQM2Fh5gtv9MPixciV4JigKw\"",
|
|
109
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
110
|
+
"size": 2335,
|
|
111
|
+
"path": "../public/_build/assets/CreateObjectMutation.graphql-B4A01dgV.js"
|
|
112
|
+
},
|
|
113
|
+
"/_build/assets/GenerateActorsMutation.graphql-mlHJNIbe.js": {
|
|
114
|
+
"type": "text/javascript; charset=utf-8",
|
|
115
|
+
"etag": "\"8ff-khbV9aaSjZCKU0YW7K2dB/FuorU\"",
|
|
116
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
117
|
+
"size": 2303,
|
|
118
|
+
"path": "../public/_build/assets/GenerateActorsMutation.graphql-mlHJNIbe.js"
|
|
119
|
+
},
|
|
120
|
+
"/_build/assets/GetHostQuery.graphql-CuzDdOdW.js": {
|
|
121
|
+
"type": "text/javascript; charset=utf-8",
|
|
122
|
+
"etag": "\"6de-rH17bmW4OJSid/wv+DOm+0EbdsM\"",
|
|
123
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
124
|
+
"size": 1758,
|
|
125
|
+
"path": "../public/_build/assets/GetHostQuery.graphql-CuzDdOdW.js"
|
|
126
|
+
},
|
|
127
|
+
"/_build/assets/GetHostQuery.graphql-o9K0Qkg0.js": {
|
|
128
|
+
"type": "text/javascript; charset=utf-8",
|
|
129
|
+
"etag": "\"6d3-/9cDA1XHWKhkskVmYmqq6q+sQ08\"",
|
|
130
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
131
|
+
"size": 1747,
|
|
132
|
+
"path": "../public/_build/assets/GetHostQuery.graphql-o9K0Qkg0.js"
|
|
133
|
+
},
|
|
134
|
+
"/icon-512.png": {
|
|
135
|
+
"type": "image/png",
|
|
136
|
+
"etag": "\"3f663-xi2xfJ7fF7cjc+NiZZPTxvQa00M\"",
|
|
137
|
+
"mtime": "2026-10-12T13:31:19.218Z",
|
|
138
|
+
"size": 259683,
|
|
139
|
+
"path": "../public/icon-512.png"
|
|
140
|
+
},
|
|
141
|
+
"/_build/assets/HomeViewerQuery.graphql-B903WWKs.js": {
|
|
142
|
+
"type": "text/javascript; charset=utf-8",
|
|
143
|
+
"etag": "\"405-HtUeKo1ZCt3TPmY86R7wR6LJr4g\"",
|
|
144
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
145
|
+
"size": 1029,
|
|
146
|
+
"path": "../public/_build/assets/HomeViewerQuery.graphql-B903WWKs.js"
|
|
147
|
+
},
|
|
148
|
+
"/_build/assets/HttpStatusCode-bgaVzuLy.js": {
|
|
149
|
+
"type": "text/javascript; charset=utf-8",
|
|
150
|
+
"etag": "\"37-a6Sg+11fyBHhUhZ9bowIdUgMmc0\"",
|
|
151
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
152
|
+
"size": 55,
|
|
153
|
+
"path": "../public/_build/assets/HttpStatusCode-bgaVzuLy.js"
|
|
154
|
+
},
|
|
155
|
+
"/_build/assets/InstanceActorListQuery.graphql-DmNwiEhM.js": {
|
|
156
|
+
"type": "text/javascript; charset=utf-8",
|
|
157
|
+
"etag": "\"8fd-RYLj/AOo/sW+Yo4BGVOfnsjtd2U\"",
|
|
158
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
159
|
+
"size": 2301,
|
|
160
|
+
"path": "../public/_build/assets/InstanceActorListQuery.graphql-DmNwiEhM.js"
|
|
161
|
+
},
|
|
162
|
+
"/_build/assets/InstanceActorListQuery.graphql-paa7teUO.js": {
|
|
163
|
+
"type": "text/javascript; charset=utf-8",
|
|
164
|
+
"etag": "\"908-Z6tFZk9SFG9BQxCmw3oYcAXLa3o\"",
|
|
165
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
166
|
+
"size": 2312,
|
|
167
|
+
"path": "../public/_build/assets/InstanceActorListQuery.graphql-paa7teUO.js"
|
|
168
|
+
},
|
|
169
|
+
"/_build/assets/InstanceDetailQuery.graphql-B52nR132.js": {
|
|
170
|
+
"type": "text/javascript; charset=utf-8",
|
|
171
|
+
"etag": "\"1549-cqB4DgBmrwvFpDMopOoarqlobjc\"",
|
|
172
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
173
|
+
"size": 5449,
|
|
174
|
+
"path": "../public/_build/assets/InstanceDetailQuery.graphql-B52nR132.js"
|
|
175
|
+
},
|
|
176
|
+
"/_build/assets/InstanceDetailQuery.graphql-DSA2BcAV.js": {
|
|
177
|
+
"type": "text/javascript; charset=utf-8",
|
|
178
|
+
"etag": "\"1554-gzF+0IXeLj0vxUMU+rCngnhRfCg\"",
|
|
179
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
180
|
+
"size": 5460,
|
|
181
|
+
"path": "../public/_build/assets/InstanceDetailQuery.graphql-DSA2BcAV.js"
|
|
182
|
+
},
|
|
183
|
+
"/_build/assets/JNCCF6MP-CNMywyiC.js": {
|
|
184
|
+
"type": "text/javascript; charset=utf-8",
|
|
185
|
+
"etag": "\"3f25-3h3yKmQfUpynoOKdoDVQsOw+vvg\"",
|
|
186
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
187
|
+
"size": 16165,
|
|
188
|
+
"path": "../public/_build/assets/JNCCF6MP-CNMywyiC.js"
|
|
189
|
+
},
|
|
190
|
+
"/_build/assets/LP6E37CW-Cwv6G3n1.js": {
|
|
191
|
+
"type": "text/javascript; charset=utf-8",
|
|
192
|
+
"etag": "\"952-9QNSKhiqnrFgUwkQ6dqrdBmV2D8\"",
|
|
193
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
194
|
+
"size": 2386,
|
|
195
|
+
"path": "../public/_build/assets/LP6E37CW-Cwv6G3n1.js"
|
|
196
|
+
},
|
|
197
|
+
"/_build/assets/SignInMutation.graphql-BalZYNFu.js": {
|
|
198
|
+
"type": "text/javascript; charset=utf-8",
|
|
199
|
+
"etag": "\"445-T7TMG8/S1tFEhDLrhhLfKCPFoP8\"",
|
|
200
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
201
|
+
"size": 1093,
|
|
202
|
+
"path": "../public/_build/assets/SignInMutation.graphql-BalZYNFu.js"
|
|
203
|
+
},
|
|
204
|
+
"/_build/assets/TSB6MOZK-CpiH97G1.js": {
|
|
205
|
+
"type": "text/javascript; charset=utf-8",
|
|
206
|
+
"etag": "\"b57-c8v1JxXfpBvD06oYIc8Vb6bypdA\"",
|
|
207
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
208
|
+
"size": 2903,
|
|
209
|
+
"path": "../public/_build/assets/TSB6MOZK-CpiH97G1.js"
|
|
210
|
+
},
|
|
211
|
+
"/_build/assets/Toast-3-eXCAKc.css": {
|
|
212
|
+
"type": "text/css; charset=utf-8",
|
|
213
|
+
"etag": "\"318-Mavtf4j4Iqba+4NKCkF5k06PLa8\"",
|
|
214
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
215
|
+
"size": 792,
|
|
216
|
+
"path": "../public/_build/assets/Toast-3-eXCAKc.css"
|
|
217
|
+
},
|
|
218
|
+
"/_build/assets/Toast-C1zr9crB.js": {
|
|
219
|
+
"type": "text/javascript; charset=utf-8",
|
|
220
|
+
"etag": "\"3180-+EHIvKhxnEDxmJFF6bsagj+V+h4\"",
|
|
221
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
222
|
+
"size": 12672,
|
|
223
|
+
"path": "../public/_build/assets/Toast-C1zr9crB.js"
|
|
224
|
+
},
|
|
225
|
+
"/_build/assets/WorkspaceQuery.graphql-UoI7QDs4.js": {
|
|
226
|
+
"type": "text/javascript; charset=utf-8",
|
|
227
|
+
"etag": "\"8fb-CJVvJ+AlzUn2sAhMbKGazqW/14I\"",
|
|
228
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
229
|
+
"size": 2299,
|
|
230
|
+
"path": "../public/_build/assets/WorkspaceQuery.graphql-UoI7QDs4.js"
|
|
231
|
+
},
|
|
232
|
+
"/_build/assets/_...404_-WZ8kAljY.js": {
|
|
233
|
+
"type": "text/javascript; charset=utf-8",
|
|
234
|
+
"etag": "\"3c5b-k0fdA3K1H/u6LfYaOhHzxLWTH+4\"",
|
|
235
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
236
|
+
"size": 15451,
|
|
237
|
+
"path": "../public/_build/assets/_...404_-WZ8kAljY.js"
|
|
238
|
+
},
|
|
239
|
+
"/_build/assets/_challengeId_-Dk-0l7zl.js": {
|
|
240
|
+
"type": "text/javascript; charset=utf-8",
|
|
241
|
+
"etag": "\"305-K80g7H94yT26qjJtlJLMuMfZRRk\"",
|
|
242
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
243
|
+
"size": 773,
|
|
244
|
+
"path": "../public/_build/assets/_challengeId_-Dk-0l7zl.js"
|
|
245
|
+
},
|
|
246
|
+
"/_build/assets/_id_-YcZZShAv.css": {
|
|
247
|
+
"type": "text/css; charset=utf-8",
|
|
248
|
+
"etag": "\"bba-qkIaX4dXA7yVPZAJmkdE4qvCy2M\"",
|
|
249
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
250
|
+
"size": 3002,
|
|
251
|
+
"path": "../public/_build/assets/_id_-YcZZShAv.css"
|
|
252
|
+
},
|
|
253
|
+
"/_build/assets/_id_-bpxdclBj.js": {
|
|
254
|
+
"type": "text/javascript; charset=utf-8",
|
|
255
|
+
"etag": "\"2235-V5cumjduwgmfZYtd2HiKGT0r1RY\"",
|
|
256
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
257
|
+
"size": 8757,
|
|
258
|
+
"path": "../public/_build/assets/_id_-bpxdclBj.js"
|
|
259
|
+
},
|
|
260
|
+
"/_build/assets/_slug_-CyTA2aW7.css": {
|
|
261
|
+
"type": "text/css; charset=utf-8",
|
|
262
|
+
"etag": "\"fab-dFsPd3AK/i+IYS1JsC1107B3gow\"",
|
|
263
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
264
|
+
"size": 4011,
|
|
265
|
+
"path": "../public/_build/assets/_slug_-CyTA2aW7.css"
|
|
266
|
+
},
|
|
267
|
+
"/_build/assets/about-DIrbzRsi.js": {
|
|
268
|
+
"type": "text/javascript; charset=utf-8",
|
|
269
|
+
"etag": "\"19c-HrDt/ibulLG4D4+igjRD6VbNJjc\"",
|
|
270
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
271
|
+
"size": 412,
|
|
272
|
+
"path": "../public/_build/assets/about-DIrbzRsi.js"
|
|
273
|
+
},
|
|
274
|
+
"/_build/assets/_slug_-DXfRknzJ.js": {
|
|
275
|
+
"type": "text/javascript; charset=utf-8",
|
|
276
|
+
"etag": "\"31c24-I5ndU5hIg6jZXBI35eyyPe0AE1w\"",
|
|
277
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
278
|
+
"size": 203812,
|
|
279
|
+
"path": "../public/_build/assets/_slug_-DXfRknzJ.js"
|
|
280
|
+
},
|
|
281
|
+
"/_build/assets/actors-HfZh_afh.js": {
|
|
282
|
+
"type": "text/javascript; charset=utf-8",
|
|
283
|
+
"etag": "\"5632-3LcBtPrBUbh0ByxxkUAn3zVkkRU\"",
|
|
284
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
285
|
+
"size": 22066,
|
|
286
|
+
"path": "../public/_build/assets/actors-HfZh_afh.js"
|
|
287
|
+
},
|
|
288
|
+
"/_build/assets/client-CGFoRcqH.js": {
|
|
289
|
+
"type": "text/javascript; charset=utf-8",
|
|
290
|
+
"etag": "\"a8f8-t2jPvkmLANuEfe3Us1zDgys+aR0\"",
|
|
291
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
292
|
+
"size": 43256,
|
|
293
|
+
"path": "../public/_build/assets/client-CGFoRcqH.js"
|
|
294
|
+
},
|
|
295
|
+
"/_build/assets/components-5MVu7IcD.js": {
|
|
296
|
+
"type": "text/javascript; charset=utf-8",
|
|
297
|
+
"etag": "\"365-PFFio998CFrXXAN3T71glR6e1SI\"",
|
|
298
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
299
|
+
"size": 869,
|
|
300
|
+
"path": "../public/_build/assets/components-5MVu7IcD.js"
|
|
301
|
+
},
|
|
302
|
+
"/_build/assets/dist-BrJ_B8nU.js": {
|
|
303
|
+
"type": "text/javascript; charset=utf-8",
|
|
304
|
+
"etag": "\"7b6-apiOxoSK/xXS7iwIyVCatsZ47lc\"",
|
|
305
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
306
|
+
"size": 1974,
|
|
307
|
+
"path": "../public/_build/assets/dist-BrJ_B8nU.js"
|
|
308
|
+
},
|
|
309
|
+
"/_build/assets/dist-DVo0HS5G.js": {
|
|
310
|
+
"type": "text/javascript; charset=utf-8",
|
|
311
|
+
"etag": "\"5f0b-Br2MeyPyJLcELW64I6dvdGqUKlQ\"",
|
|
312
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
313
|
+
"size": 24331,
|
|
314
|
+
"path": "../public/_build/assets/dist-DVo0HS5G.js"
|
|
315
|
+
},
|
|
316
|
+
"/_build/assets/dist-WrlGlK67.js": {
|
|
317
|
+
"type": "text/javascript; charset=utf-8",
|
|
318
|
+
"etag": "\"222f-q6befFm2XJNczG8CO0mwTNdgYYg\"",
|
|
319
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
320
|
+
"size": 8751,
|
|
321
|
+
"path": "../public/_build/assets/dist-WrlGlK67.js"
|
|
322
|
+
},
|
|
323
|
+
"/_build/assets/entry-client-BurSTYr9.css": {
|
|
324
|
+
"type": "text/css; charset=utf-8",
|
|
325
|
+
"etag": "\"36e3-L/JCSkDGyQZhy6kJaOxaCar0fFI\"",
|
|
326
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
327
|
+
"size": 14051,
|
|
328
|
+
"path": "../public/_build/assets/entry-client-BurSTYr9.css"
|
|
329
|
+
},
|
|
330
|
+
"/_build/assets/entry-client-Do7ocrsL.js": {
|
|
331
|
+
"type": "text/javascript; charset=utf-8",
|
|
332
|
+
"etag": "\"6abb-edMR2DKC7QsxY6iz04CF7jsePiQ\"",
|
|
333
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
334
|
+
"size": 27323,
|
|
335
|
+
"path": "../public/_build/assets/entry-client-Do7ocrsL.js"
|
|
336
|
+
},
|
|
337
|
+
"/_build/assets/form-BxigYd7J.css": {
|
|
338
|
+
"type": "text/css; charset=utf-8",
|
|
339
|
+
"etag": "\"c27-dYZV4zX/WZcYWe8iiGHCaaTpLpw\"",
|
|
340
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
341
|
+
"size": 3111,
|
|
342
|
+
"path": "../public/_build/assets/form-BxigYd7J.css"
|
|
343
|
+
},
|
|
344
|
+
"/_build/assets/form.module-BecmEfV_.js": {
|
|
345
|
+
"type": "text/javascript; charset=utf-8",
|
|
346
|
+
"etag": "\"d88-qBsHf62ahIBxKlPw8aNS/YDxvq4\"",
|
|
347
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
348
|
+
"size": 3464,
|
|
349
|
+
"path": "../public/_build/assets/form.module-BecmEfV_.js"
|
|
350
|
+
},
|
|
351
|
+
"/_build/assets/index-BHn6sAgH.js": {
|
|
352
|
+
"type": "text/javascript; charset=utf-8",
|
|
353
|
+
"etag": "\"1932-D1nivUeEy63A2rZ4QIWgjL4/lAs\"",
|
|
354
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
355
|
+
"size": 6450,
|
|
356
|
+
"path": "../public/_build/assets/index-BHn6sAgH.js"
|
|
357
|
+
},
|
|
358
|
+
"/_build/assets/index-BSLqnqN7.js": {
|
|
359
|
+
"type": "text/javascript; charset=utf-8",
|
|
360
|
+
"etag": "\"6ad-I9lIHSHo7lWa0UrXYqwykPrFIXw\"",
|
|
361
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
362
|
+
"size": 1709,
|
|
363
|
+
"path": "../public/_build/assets/index-BSLqnqN7.js"
|
|
364
|
+
},
|
|
365
|
+
"/_build/assets/index-B_xLBDOo.css": {
|
|
366
|
+
"type": "text/css; charset=utf-8",
|
|
367
|
+
"etag": "\"db9-xsNIBcae7Yd110XP+M6Vcx+ZQf4\"",
|
|
368
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
369
|
+
"size": 3513,
|
|
370
|
+
"path": "../public/_build/assets/index-B_xLBDOo.css"
|
|
371
|
+
},
|
|
372
|
+
"/_build/assets/instance-tpMrvJNZ.js": {
|
|
373
|
+
"type": "text/javascript; charset=utf-8",
|
|
374
|
+
"etag": "\"668f1-p2bNMi0qCaLEk1gNvIxpejnhSYo\"",
|
|
375
|
+
"mtime": "2026-10-12T13:31:17.921Z",
|
|
376
|
+
"size": 420081,
|
|
377
|
+
"path": "../public/_build/assets/instance-tpMrvJNZ.js"
|
|
378
|
+
},
|
|
379
|
+
"/_build/assets/label-Mv8GZ4jc.js": {
|
|
380
|
+
"type": "text/javascript; charset=utf-8",
|
|
381
|
+
"etag": "\"28-3gOBKYV26G+ooMlJ+QHYuhOl3PA\"",
|
|
382
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
383
|
+
"size": 40,
|
|
384
|
+
"path": "../public/_build/assets/label-Mv8GZ4jc.js"
|
|
385
|
+
},
|
|
386
|
+
"/_build/assets/objects-DPb8DI8A.css": {
|
|
387
|
+
"type": "text/css; charset=utf-8",
|
|
388
|
+
"etag": "\"86a-5sZmdVva6vdo409UkYjXpN0jvCA\"",
|
|
389
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
390
|
+
"size": 2154,
|
|
391
|
+
"path": "../public/_build/assets/objects-DPb8DI8A.css"
|
|
392
|
+
},
|
|
393
|
+
"/_build/assets/objects-DR9TfL-V.js": {
|
|
394
|
+
"type": "text/javascript; charset=utf-8",
|
|
395
|
+
"etag": "\"133fc-EgDDRpzjsVDo1VaL4zYkbRHgZFs\"",
|
|
396
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
397
|
+
"size": 78844,
|
|
398
|
+
"path": "../public/_build/assets/objects-DR9TfL-V.js"
|
|
399
|
+
},
|
|
400
|
+
"/_build/assets/relay-runtime-BX3uubtA.js": {
|
|
401
|
+
"type": "text/javascript; charset=utf-8",
|
|
402
|
+
"etag": "\"2d9fc-kZxBZGdmibyJzvMS7qIiW5hg+UA\"",
|
|
403
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
404
|
+
"size": 186876,
|
|
405
|
+
"path": "../public/_build/assets/relay-runtime-BX3uubtA.js"
|
|
406
|
+
},
|
|
407
|
+
"/_build/assets/routing-DMN2NHu6.js": {
|
|
408
|
+
"type": "text/javascript; charset=utf-8",
|
|
409
|
+
"etag": "\"2045-TW05MAigHVnnlYZMXBeSAb1bP0A\"",
|
|
410
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
411
|
+
"size": 8261,
|
|
412
|
+
"path": "../public/_build/assets/routing-DMN2NHu6.js"
|
|
413
|
+
},
|
|
414
|
+
"/_build/assets/sign-in-B67sv7z8.js": {
|
|
415
|
+
"type": "text/javascript; charset=utf-8",
|
|
416
|
+
"etag": "\"109c-QuUCxYi8HWeAwyZwN9D6STkMrsg\"",
|
|
417
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
418
|
+
"size": 4252,
|
|
419
|
+
"path": "../public/_build/assets/sign-in-B67sv7z8.js"
|
|
420
|
+
},
|
|
421
|
+
"/_build/assets/web-DB_Nkq2D.js": {
|
|
422
|
+
"type": "text/javascript; charset=utf-8",
|
|
423
|
+
"etag": "\"7345-R3d9LxB+THJ5c9yxHMTAzKOS380\"",
|
|
424
|
+
"mtime": "2026-10-12T13:31:17.922Z",
|
|
425
|
+
"size": 29509,
|
|
426
|
+
"path": "../public/_build/assets/web-DB_Nkq2D.js"
|
|
427
|
+
}
|
|
428
|
+
};
|
|
429
|
+
//#endregion
|
|
430
|
+
//#region #nitro/virtual/public-assets-node
|
|
431
|
+
function readAsset(id) {
|
|
432
|
+
const serverDir = dirname(fileURLToPath(globalThis.__nitro_main__));
|
|
433
|
+
return promises.readFile(resolve(serverDir, public_assets_data_default[id].path));
|
|
434
|
+
}
|
|
435
|
+
//#endregion
|
|
436
|
+
//#region #nitro/virtual/public-assets
|
|
437
|
+
var publicAssetBases = {};
|
|
438
|
+
function isPublicAssetURL(id = "") {
|
|
439
|
+
if (public_assets_data_default[id]) return true;
|
|
440
|
+
for (const base in publicAssetBases) if (id.startsWith(base)) return true;
|
|
441
|
+
return false;
|
|
442
|
+
}
|
|
443
|
+
function getAsset(id) {
|
|
444
|
+
return public_assets_data_default[id];
|
|
445
|
+
}
|
|
446
|
+
//#endregion
|
|
447
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260610-beta_@electric-sql+pglite@0.5.3_chokidar@5.0.0_dotenv@17.4.2_drizzle-o_501071fcbcc039bdcf72d29a12bc8be5/node_modules/nitro/dist/runtime/internal/static.mjs
|
|
448
|
+
var METHODS = /* @__PURE__ */ new Set(["HEAD", "GET"]);
|
|
449
|
+
var EncodingMap = {
|
|
450
|
+
gzip: ".gz",
|
|
451
|
+
br: ".br",
|
|
452
|
+
zstd: ".zst"
|
|
453
|
+
};
|
|
454
|
+
var static_default = defineHandler((event) => {
|
|
455
|
+
if (event.req.method && !METHODS.has(event.req.method)) return;
|
|
456
|
+
let id = decodePath(withLeadingSlash(withoutTrailingSlash(event.url.pathname)));
|
|
457
|
+
let asset;
|
|
458
|
+
const encodings = [...(event.req.headers.get("accept-encoding") || "").split(",").map((e) => EncodingMap[e.trim()]).filter(Boolean).sort(), ""];
|
|
459
|
+
for (const encoding of encodings) for (const _id of [id + encoding, joinURL(id, "index.html" + encoding)]) {
|
|
460
|
+
const _asset = getAsset(_id);
|
|
461
|
+
if (_asset) {
|
|
462
|
+
asset = _asset;
|
|
463
|
+
id = _id;
|
|
464
|
+
break;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
if (!asset) {
|
|
468
|
+
if (isPublicAssetURL(id)) {
|
|
469
|
+
event.res.headers.delete("Cache-Control");
|
|
470
|
+
throw new HTTPError({ status: 404 });
|
|
471
|
+
}
|
|
472
|
+
return;
|
|
473
|
+
}
|
|
474
|
+
if (encodings.length > 1) event.res.headers.append("Vary", "Accept-Encoding");
|
|
475
|
+
if (event.req.headers.get("if-none-match") === asset.etag) {
|
|
476
|
+
event.res.status = 304;
|
|
477
|
+
event.res.statusText = "Not Modified";
|
|
478
|
+
return "";
|
|
479
|
+
}
|
|
480
|
+
const ifModifiedSinceH = event.req.headers.get("if-modified-since");
|
|
481
|
+
const mtimeDate = new Date(asset.mtime);
|
|
482
|
+
if (ifModifiedSinceH && asset.mtime && new Date(ifModifiedSinceH) >= mtimeDate) {
|
|
483
|
+
event.res.status = 304;
|
|
484
|
+
event.res.statusText = "Not Modified";
|
|
485
|
+
return "";
|
|
486
|
+
}
|
|
487
|
+
if (asset.type) event.res.headers.set("Content-Type", asset.type);
|
|
488
|
+
if (asset.etag && !event.res.headers.has("ETag")) event.res.headers.set("ETag", asset.etag);
|
|
489
|
+
if (asset.mtime && !event.res.headers.has("Last-Modified")) event.res.headers.set("Last-Modified", mtimeDate.toUTCString());
|
|
490
|
+
if (asset.encoding && !event.res.headers.has("Content-Encoding")) event.res.headers.set("Content-Encoding", asset.encoding);
|
|
491
|
+
if (asset.size > 0 && !event.res.headers.has("Content-Length")) event.res.headers.set("Content-Length", asset.size.toString());
|
|
492
|
+
return readAsset(id);
|
|
493
|
+
});
|
|
494
|
+
//#endregion
|
|
495
|
+
//#region #nitro/virtual/routing
|
|
496
|
+
var findRouteRules = /* @__PURE__ */ (() => {
|
|
497
|
+
const $0 = [{
|
|
498
|
+
name: "headers",
|
|
499
|
+
route: "/_build/assets/**",
|
|
500
|
+
handler: headers,
|
|
501
|
+
options: { "cache-control": "public, max-age=31536000, immutable" }
|
|
502
|
+
}];
|
|
503
|
+
return (m, p) => {
|
|
504
|
+
let r = [];
|
|
505
|
+
if (p.charCodeAt(p.length - 1) === 47) p = p.slice(0, -1) || "/";
|
|
506
|
+
let s = p.split("/"), l = s.length;
|
|
507
|
+
if (l > 1) {
|
|
508
|
+
if (s[1] === "_build") {
|
|
509
|
+
if (l > 2) {
|
|
510
|
+
if (s[2] === "assets") r.unshift({
|
|
511
|
+
data: $0,
|
|
512
|
+
params: { "_": s.slice(3).join("/") }
|
|
513
|
+
});
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
return r;
|
|
518
|
+
};
|
|
519
|
+
})();
|
|
520
|
+
var _lazy__8NB5b = defineLazyEventHandler(() => import("./_chunks/ssr-renderer.mjs"));
|
|
521
|
+
var findRoute = /* @__PURE__ */ (() => {
|
|
522
|
+
const data = {
|
|
523
|
+
route: "/**",
|
|
524
|
+
handler: _lazy__8NB5b
|
|
525
|
+
};
|
|
526
|
+
return ((_m, p) => {
|
|
527
|
+
return {
|
|
528
|
+
data,
|
|
529
|
+
params: { "_": p.slice(1) }
|
|
530
|
+
};
|
|
531
|
+
});
|
|
532
|
+
})();
|
|
533
|
+
var globalMiddleware = [toEventHandler(static_default)].filter(Boolean);
|
|
534
|
+
//#endregion
|
|
535
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260610-beta_@electric-sql+pglite@0.5.3_chokidar@5.0.0_dotenv@17.4.2_drizzle-o_501071fcbcc039bdcf72d29a12bc8be5/node_modules/nitro/dist/runtime/internal/error/prod.mjs
|
|
536
|
+
var errorHandler = (error, event) => {
|
|
537
|
+
const res = defaultHandler(error, event);
|
|
538
|
+
return new NodeResponse(typeof res.body === "string" ? res.body : JSON.stringify(res.body, null, 2), res);
|
|
539
|
+
};
|
|
540
|
+
function defaultHandler(error, event) {
|
|
541
|
+
const unhandled = error.unhandled ?? !HTTPError.isError(error);
|
|
542
|
+
const { status = 500, statusText = "" } = unhandled ? {} : error;
|
|
543
|
+
if (status === 404) {
|
|
544
|
+
const url = event.url || new URL(event.req.url);
|
|
545
|
+
const baseURL = "/";
|
|
546
|
+
if (/^\/[^/]/.test(baseURL) && !url.pathname.startsWith(baseURL)) return {
|
|
547
|
+
status: 302,
|
|
548
|
+
headers: new Headers({ location: `${baseURL}${url.pathname.slice(1)}${url.search}` })
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
const headers = new Headers(unhandled ? {} : error.headers);
|
|
552
|
+
headers.set("content-type", "application/json; charset=utf-8");
|
|
553
|
+
return {
|
|
554
|
+
status,
|
|
555
|
+
statusText,
|
|
556
|
+
headers,
|
|
557
|
+
body: {
|
|
558
|
+
error: true,
|
|
559
|
+
...unhandled ? {
|
|
560
|
+
status,
|
|
561
|
+
unhandled: true
|
|
562
|
+
} : typeof error.toJSON === "function" ? error.toJSON() : {
|
|
563
|
+
status,
|
|
564
|
+
statusText,
|
|
565
|
+
message: error.message
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
};
|
|
569
|
+
}
|
|
570
|
+
//#endregion
|
|
571
|
+
//#region #nitro/virtual/error-handler
|
|
572
|
+
var errorHandlers = [errorHandler];
|
|
573
|
+
async function error_handler_default(error, event) {
|
|
574
|
+
for (const handler of errorHandlers) try {
|
|
575
|
+
const response = await handler(error, event, { defaultHandler });
|
|
576
|
+
if (response) return response;
|
|
577
|
+
} catch (error) {
|
|
578
|
+
console.error(error);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
//#endregion
|
|
582
|
+
//#region #nitro/virtual/app
|
|
583
|
+
function createNitroApp() {
|
|
584
|
+
const captureError = (error, errorCtx) => {
|
|
585
|
+
if (errorCtx?.event) {
|
|
586
|
+
const errors = errorCtx.event.req.context?.nitro?.errors;
|
|
587
|
+
if (errors) errors.push({
|
|
588
|
+
error,
|
|
589
|
+
context: errorCtx
|
|
590
|
+
});
|
|
591
|
+
}
|
|
592
|
+
};
|
|
593
|
+
const h3App = createH3App({ onError(error, event) {
|
|
594
|
+
return error_handler_default(error, event);
|
|
595
|
+
} });
|
|
596
|
+
let appHandler = (req) => {
|
|
597
|
+
req.context ||= {};
|
|
598
|
+
req.context.nitro = req.context.nitro || { errors: [] };
|
|
599
|
+
return h3App.fetch(req);
|
|
600
|
+
};
|
|
601
|
+
return {
|
|
602
|
+
fetch: appHandler,
|
|
603
|
+
h3: h3App,
|
|
604
|
+
hooks: void 0,
|
|
605
|
+
captureError
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
function createH3App(config) {
|
|
609
|
+
const h3App = new H3Core(config);
|
|
610
|
+
h3App["~findRoute"] = (event) => findRoute(event.req.method, event.url.pathname);
|
|
611
|
+
h3App["~middleware"].push(...globalMiddleware);
|
|
612
|
+
h3App["~getMiddleware"] = (event, route) => {
|
|
613
|
+
const pathname = event.url.pathname;
|
|
614
|
+
const method = event.req.method;
|
|
615
|
+
const middleware = [];
|
|
616
|
+
const routeRules = getRouteRules(method, pathname);
|
|
617
|
+
event.context.routeRules = routeRules?.routeRules;
|
|
618
|
+
if (routeRules?.routeRuleMiddleware.length) middleware.push(...routeRules.routeRuleMiddleware);
|
|
619
|
+
middleware.push(...h3App["~middleware"]);
|
|
620
|
+
if (route?.data?.middleware?.length) middleware.push(...route.data.middleware);
|
|
621
|
+
return middleware;
|
|
622
|
+
};
|
|
623
|
+
return h3App;
|
|
624
|
+
}
|
|
625
|
+
//#endregion
|
|
626
|
+
//#region ../../node_modules/.pnpm/nitro@3.0.260610-beta_@electric-sql+pglite@0.5.3_chokidar@5.0.0_dotenv@17.4.2_drizzle-o_501071fcbcc039bdcf72d29a12bc8be5/node_modules/nitro/dist/runtime/internal/app.mjs
|
|
627
|
+
var APP_ID = "default";
|
|
628
|
+
function useNitroApp() {
|
|
629
|
+
let instance = useNitroApp._instance;
|
|
630
|
+
if (instance) return instance;
|
|
631
|
+
instance = useNitroApp._instance = createNitroApp();
|
|
632
|
+
globalThis.__nitro__ = globalThis.__nitro__ || {};
|
|
633
|
+
globalThis.__nitro__[APP_ID] = instance;
|
|
634
|
+
return instance;
|
|
635
|
+
}
|
|
636
|
+
function useNitroHooks() {
|
|
637
|
+
const nitroApp = useNitroApp();
|
|
638
|
+
const hooks = nitroApp.hooks;
|
|
639
|
+
if (hooks) return hooks;
|
|
640
|
+
return nitroApp.hooks = new HookableCore();
|
|
641
|
+
}
|
|
642
|
+
function getRouteRules(method, pathname) {
|
|
643
|
+
const m = findRouteRules(method, pathname);
|
|
644
|
+
if (!m?.length) return { routeRuleMiddleware: [] };
|
|
645
|
+
const routeRules = {};
|
|
646
|
+
for (const layer of m) for (const rule of layer.data) {
|
|
647
|
+
const currentRule = routeRules[rule.name];
|
|
648
|
+
if (currentRule) {
|
|
649
|
+
if (rule.options === false) {
|
|
650
|
+
delete routeRules[rule.name];
|
|
651
|
+
continue;
|
|
652
|
+
}
|
|
653
|
+
if (typeof currentRule.options === "object" && typeof rule.options === "object") currentRule.options = {
|
|
654
|
+
...currentRule.options,
|
|
655
|
+
...rule.options
|
|
656
|
+
};
|
|
657
|
+
else currentRule.options = rule.options;
|
|
658
|
+
currentRule.route = rule.route;
|
|
659
|
+
currentRule.params = {
|
|
660
|
+
...currentRule.params,
|
|
661
|
+
...layer.params
|
|
662
|
+
};
|
|
663
|
+
} else if (rule.options !== false) routeRules[rule.name] = {
|
|
664
|
+
...rule,
|
|
665
|
+
params: layer.params
|
|
666
|
+
};
|
|
667
|
+
}
|
|
668
|
+
const middleware = [];
|
|
669
|
+
const orderedRules = Object.values(routeRules).sort((a, b) => (a.handler?.order || 0) - (b.handler?.order || 0));
|
|
670
|
+
for (const rule of orderedRules) {
|
|
671
|
+
if (rule.options === false || !rule.handler) continue;
|
|
672
|
+
middleware.push(rule.handler(rule));
|
|
673
|
+
}
|
|
674
|
+
return {
|
|
675
|
+
routeRules,
|
|
676
|
+
routeRuleMiddleware: middleware
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
var { fetch } = useNitroApp();
|
|
680
|
+
var close = async () => {
|
|
681
|
+
await useNitroHooks().callHook("close");
|
|
682
|
+
};
|
|
683
|
+
//#endregion
|
|
684
|
+
export { close, fetch };
|