@drfed/web 0.0.0-stage → 0.1.0-dev.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 (128) hide show
  1. package/.output/nitro.json +17 -0
  2. package/.output/public/.vite/manifest.json +493 -0
  3. package/.output/public/_build/assets/ActorDetailQuery.graphql-D96mwq1k.js +60 -0
  4. package/.output/public/_build/assets/ActorDetailQuery.graphql-DrxSNh1X.js +60 -0
  5. package/.output/public/_build/assets/CompleteLoginChallenge.graphql-C5Zq3wNh.js +10 -0
  6. package/.output/public/_build/assets/CopyButton-B2l484wE.js +1 -0
  7. package/.output/public/_build/assets/CopyButton-Bi-ZR8x9.css +1 -0
  8. package/.output/public/_build/assets/CreateInstanceMutation.graphql-B4CRy6cl.js +19 -0
  9. package/.output/public/_build/assets/CreateObjectMutation.graphql-B4A01dgV.js +23 -0
  10. package/.output/public/_build/assets/GenerateActorsMutation.graphql-mlHJNIbe.js +23 -0
  11. package/.output/public/_build/assets/GetHostQuery.graphql-CuzDdOdW.js +17 -0
  12. package/.output/public/_build/assets/GetHostQuery.graphql-o9K0Qkg0.js +17 -0
  13. package/.output/public/_build/assets/HomeViewerQuery.graphql-B903WWKs.js +8 -0
  14. package/.output/public/_build/assets/HttpStatusCode-bgaVzuLy.js +1 -0
  15. package/.output/public/_build/assets/InstanceActorListQuery.graphql-DmNwiEhM.js +24 -0
  16. package/.output/public/_build/assets/InstanceActorListQuery.graphql-paa7teUO.js +24 -0
  17. package/.output/public/_build/assets/InstanceDetailQuery.graphql-B52nR132.js +66 -0
  18. package/.output/public/_build/assets/InstanceDetailQuery.graphql-DSA2BcAV.js +66 -0
  19. package/.output/public/_build/assets/InstanceSummary_instance.graphql-BoQAa5Od.js +1 -0
  20. package/.output/public/_build/assets/JNCCF6MP-CNMywyiC.js +1 -0
  21. package/.output/public/_build/assets/LP6E37CW-Cwv6G3n1.js +1 -0
  22. package/.output/public/_build/assets/SignInMutation.graphql-BalZYNFu.js +9 -0
  23. package/.output/public/_build/assets/TSB6MOZK-CpiH97G1.js +1 -0
  24. package/.output/public/_build/assets/Toast-3-eXCAKc.css +1 -0
  25. package/.output/public/_build/assets/Toast-C1zr9crB.js +1 -0
  26. package/.output/public/_build/assets/WorkspaceQuery.graphql-UoI7QDs4.js +23 -0
  27. package/.output/public/_build/assets/_...404_-WZ8kAljY.js +1 -0
  28. package/.output/public/_build/assets/_challengeId_-BgL-Berz.js +1 -0
  29. package/.output/public/_build/assets/_id_-YcZZShAv.css +1 -0
  30. package/.output/public/_build/assets/_id_-bpxdclBj.js +1 -0
  31. package/.output/public/_build/assets/_slug_-CyTA2aW7.css +1 -0
  32. package/.output/public/_build/assets/_slug_-DXfRknzJ.js +200 -0
  33. package/.output/public/_build/assets/about-DIrbzRsi.js +1 -0
  34. package/.output/public/_build/assets/actors-HfZh_afh.js +24 -0
  35. package/.output/public/_build/assets/client-CGFoRcqH.js +3 -0
  36. package/.output/public/_build/assets/components-5MVu7IcD.js +1 -0
  37. package/.output/public/_build/assets/dist-BrJ_B8nU.js +1 -0
  38. package/.output/public/_build/assets/dist-DVo0HS5G.js +1 -0
  39. package/.output/public/_build/assets/dist-WrlGlK67.js +1 -0
  40. package/.output/public/_build/assets/entry-client-BurSTYr9.css +1 -0
  41. package/.output/public/_build/assets/entry-client-RIC5nXxX.js +8 -0
  42. package/.output/public/_build/assets/form-BxigYd7J.css +1 -0
  43. package/.output/public/_build/assets/form.module-BecmEfV_.js +1 -0
  44. package/.output/public/_build/assets/index-BHn6sAgH.js +23 -0
  45. package/.output/public/_build/assets/index-BSLqnqN7.js +8 -0
  46. package/.output/public/_build/assets/index-B_xLBDOo.css +1 -0
  47. package/.output/public/_build/assets/instance-tpMrvJNZ.js +35 -0
  48. package/.output/public/_build/assets/label-Mv8GZ4jc.js +1 -0
  49. package/.output/public/_build/assets/objects-DPb8DI8A.css +1 -0
  50. package/.output/public/_build/assets/objects-DR9TfL-V.js +25 -0
  51. package/.output/public/_build/assets/relay-runtime-BX3uubtA.js +7 -0
  52. package/.output/public/_build/assets/routing-DMN2NHu6.js +1 -0
  53. package/.output/public/_build/assets/sign-in-B67sv7z8.js +10 -0
  54. package/.output/public/_build/assets/web-DB_Nkq2D.js +1 -0
  55. package/.output/public/apple-touch-icon.png +0 -0
  56. package/.output/public/favicon.ico +0 -0
  57. package/.output/public/icon-192.png +0 -0
  58. package/.output/public/icon-512.png +0 -0
  59. package/.output/public/icon-mask.png +0 -0
  60. package/.output/public/icon.svg +395 -0
  61. package/.output/public/manifest.webmanifest +13 -0
  62. package/.output/server/_...404_-DDEH5apf.mjs +16 -0
  63. package/.output/server/_challengeId_-C7BBdG0r.mjs +100 -0
  64. package/.output/server/_chunks/ssr-renderer.mjs +26 -0
  65. package/.output/server/_id_-DqytvZEf.mjs +505 -0
  66. package/.output/server/_libs/@shikijs/core+[...].mjs +7173 -0
  67. package/.output/server/_libs/@shikijs/engine-javascript+[...].mjs +3110 -0
  68. package/.output/server/_libs/babel__runtime.mjs +243 -0
  69. package/.output/server/_libs/dequal.mjs +25 -0
  70. package/.output/server/_libs/faker-js__faker.mjs +13150 -0
  71. package/.output/server/_libs/fbjs.mjs +115 -0
  72. package/.output/server/_libs/h3+rou3+srvx.mjs +650 -0
  73. package/.output/server/_libs/hookable.mjs +41 -0
  74. package/.output/server/_libs/invariant.mjs +36 -0
  75. package/.output/server/_libs/relay-runtime.mjs +9704 -0
  76. package/.output/server/_libs/seroval-plugins.mjs +563 -0
  77. package/.output/server/_libs/seroval.mjs +2956 -0
  78. package/.output/server/_libs/shikijs__langs.mjs +3 -0
  79. package/.output/server/_libs/shikijs__themes.mjs +7 -0
  80. package/.output/server/_libs/solid-js.mjs +1248 -0
  81. package/.output/server/_libs/solid-relay+tiny-invariant.mjs +1029 -0
  82. package/.output/server/_libs/ufo.mjs +64 -0
  83. package/.output/server/_libs/valibot.mjs +711 -0
  84. package/.output/server/_runtime.mjs +33 -0
  85. package/.output/server/_slug_-CBOaSqoF.mjs +978 -0
  86. package/.output/server/_ssr/ActorDetailQuery.graphql-C1mWRP1B.mjs +283 -0
  87. package/.output/server/_ssr/CompleteLoginChallenge.graphql-CM7o_Md1.mjs +78 -0
  88. package/.output/server/_ssr/CopyButton-CQNR5D1y.mjs +43 -0
  89. package/.output/server/_ssr/CreateInstanceMutation.graphql-C-h2lGxz.mjs +116 -0
  90. package/.output/server/_ssr/CreateObjectMutation.graphql-C393Hp7q.mjs +166 -0
  91. package/.output/server/_ssr/GenerateActorsMutation.graphql-D2ADtn1j.mjs +163 -0
  92. package/.output/server/_ssr/GetHostQuery.graphql-C45XQo1i.mjs +127 -0
  93. package/.output/server/_ssr/HomeViewerQuery.graphql-Dote4Pkz.mjs +81 -0
  94. package/.output/server/_ssr/InstanceActorListQuery.graphql-DgItgN5t.mjs +167 -0
  95. package/.output/server/_ssr/InstanceDetailQuery.graphql-DP5wWWjX.mjs +367 -0
  96. package/.output/server/_ssr/InstanceSummary_instance.graphql-10tilF-Z.mjs +34 -0
  97. package/.output/server/_ssr/JNCCF6MP-BAZlBnvx.mjs +419 -0
  98. package/.output/server/_ssr/LP6E37CW-D2Ih_b_K.mjs +163 -0
  99. package/.output/server/_ssr/SignInMutation.graphql-BBXmiay6.mjs +72 -0
  100. package/.output/server/_ssr/TSB6MOZK-D06WZb6o.mjs +166 -0
  101. package/.output/server/_ssr/Toast-Bb1gcxED.mjs +947 -0
  102. package/.output/server/_ssr/WorkspaceQuery.graphql-DnCO8t-4.mjs +153 -0
  103. package/.output/server/_ssr/about-CD3QIgf_.mjs +14 -0
  104. package/.output/server/_ssr/actors-CMWf-xQU.mjs +1160 -0
  105. package/.output/server/_ssr/dist-D6rgyh-L.mjs +81 -0
  106. package/.output/server/_ssr/dist-I7KRMRbA.mjs +432 -0
  107. package/.output/server/_ssr/form.module-CTvIl1lm.mjs +192 -0
  108. package/.output/server/_ssr/index-C4crD6q-.mjs +347 -0
  109. package/.output/server/_ssr/index-yuhuc6-X.mjs +111 -0
  110. package/.output/server/_ssr/instance-ZYWGeWd3.mjs +280 -0
  111. package/.output/server/_ssr/label-DAXzanI9.mjs +9 -0
  112. package/.output/server/_ssr/objects-D5MVukzB.mjs +4316 -0
  113. package/.output/server/_ssr/routing-DKTLkkbY.mjs +620 -0
  114. package/.output/server/_ssr/sign-in-CNHZb_zL.mjs +264 -0
  115. package/.output/server/_ssr/ssr.mjs +6138 -0
  116. package/.output/server/index.mjs +691 -0
  117. package/LICENSE +661 -0
  118. package/README.md +143 -2
  119. package/dist/bridge.d.mts +39 -0
  120. package/dist/bridge.mjs +104 -0
  121. package/dist/bridge.mjs.map +1 -0
  122. package/dist/request-policy.d.mts +8 -0
  123. package/dist/request-policy.mjs +94 -0
  124. package/dist/request-policy.mjs.map +1 -0
  125. package/dist/runtime.d.mts +14 -0
  126. package/dist/runtime.mjs +44 -0
  127. package/dist/runtime.mjs.map +1 -0
  128. package/package.json +111 -3
@@ -0,0 +1,283 @@
1
+ import { r as __toESM } from "../_runtime.mjs";
2
+ import { n as require_relay_runtime } from "../_libs/relay-runtime.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/_build/assets/ActorDetailQuery.graphql-C1mWRP1B.js
4
+ var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
5
+ /**
6
+ * @generated SignedSource<<bf8e855050f5ef7df7504668193ca2c2>>
7
+ * @lightSyntaxTransform
8
+ */
9
+ var { ConcreteRequest } = import_relay_runtime?.default?.default?.__esModule ? import_relay_runtime.default.default : import_relay_runtime?.default?.__esModule ? import_relay_runtime.default : import_relay_runtime;
10
+ var { FragmentRefs } = import_relay_runtime?.default?.default?.__esModule ? import_relay_runtime.default.default : import_relay_runtime?.default?.__esModule ? import_relay_runtime.default : import_relay_runtime;
11
+ var node = function() {
12
+ var v0 = [{
13
+ "defaultValue": null,
14
+ "kind": "LocalArgument",
15
+ "name": "id"
16
+ }], v1 = [{
17
+ "kind": "Variable",
18
+ "name": "id",
19
+ "variableName": "id"
20
+ }], v2 = {
21
+ "alias": null,
22
+ "args": null,
23
+ "kind": "ScalarField",
24
+ "name": "type",
25
+ "storageKey": null
26
+ }, v3 = {
27
+ "alias": null,
28
+ "args": null,
29
+ "kind": "ScalarField",
30
+ "name": "iri",
31
+ "storageKey": null
32
+ }, v4 = {
33
+ "alias": null,
34
+ "args": null,
35
+ "kind": "ScalarField",
36
+ "name": "id",
37
+ "storageKey": null
38
+ }, v5 = [v3, v4];
39
+ return {
40
+ "fragment": {
41
+ "argumentDefinitions": v0,
42
+ "kind": "Fragment",
43
+ "metadata": { "throwOnFieldError": true },
44
+ "name": "ActorDetailQuery",
45
+ "selections": [{
46
+ "alias": null,
47
+ "args": v1,
48
+ "concreteType": null,
49
+ "kind": "LinkedField",
50
+ "name": "node",
51
+ "plural": false,
52
+ "selections": [{
53
+ "fragment": {
54
+ "kind": "InlineFragment",
55
+ "selections": [{
56
+ "args": null,
57
+ "kind": "FragmentSpread",
58
+ "name": "ActorDetail_actor"
59
+ }, {
60
+ "args": null,
61
+ "kind": "FragmentSpread",
62
+ "name": "ActorObjectList_actor"
63
+ }],
64
+ "type": "Actor",
65
+ "abstractKey": null
66
+ },
67
+ "kind": "AliasedInlineFragmentSpread",
68
+ "name": "actor"
69
+ }],
70
+ "storageKey": null
71
+ }],
72
+ "type": "Query",
73
+ "abstractKey": null
74
+ },
75
+ "kind": "Request",
76
+ "operation": {
77
+ "argumentDefinitions": v0,
78
+ "kind": "Operation",
79
+ "name": "ActorDetailQuery",
80
+ "selections": [{
81
+ "alias": null,
82
+ "args": v1,
83
+ "concreteType": null,
84
+ "kind": "LinkedField",
85
+ "name": "node",
86
+ "plural": false,
87
+ "selections": [
88
+ {
89
+ "alias": null,
90
+ "args": null,
91
+ "kind": "ScalarField",
92
+ "name": "__typename",
93
+ "storageKey": null
94
+ },
95
+ {
96
+ "kind": "InlineFragment",
97
+ "selections": [
98
+ {
99
+ "alias": null,
100
+ "args": null,
101
+ "kind": "ScalarField",
102
+ "name": "handle",
103
+ "storageKey": null
104
+ },
105
+ {
106
+ "alias": null,
107
+ "args": null,
108
+ "kind": "ScalarField",
109
+ "name": "username",
110
+ "storageKey": null
111
+ },
112
+ {
113
+ "alias": null,
114
+ "args": null,
115
+ "kind": "ScalarField",
116
+ "name": "uuid",
117
+ "storageKey": null
118
+ },
119
+ v2,
120
+ {
121
+ "alias": null,
122
+ "args": null,
123
+ "kind": "ScalarField",
124
+ "name": "created",
125
+ "storageKey": null
126
+ },
127
+ v3,
128
+ {
129
+ "alias": null,
130
+ "args": null,
131
+ "kind": "ScalarField",
132
+ "name": "avatarUrl",
133
+ "storageKey": null
134
+ },
135
+ {
136
+ "alias": null,
137
+ "args": null,
138
+ "kind": "ScalarField",
139
+ "name": "inboxUrl",
140
+ "storageKey": null
141
+ },
142
+ {
143
+ "alias": null,
144
+ "args": null,
145
+ "concreteType": "Collection",
146
+ "kind": "LinkedField",
147
+ "name": "outbox",
148
+ "plural": false,
149
+ "selections": v5,
150
+ "storageKey": null
151
+ },
152
+ {
153
+ "alias": null,
154
+ "args": null,
155
+ "concreteType": "Collection",
156
+ "kind": "LinkedField",
157
+ "name": "followers",
158
+ "plural": false,
159
+ "selections": v5,
160
+ "storageKey": null
161
+ },
162
+ {
163
+ "alias": null,
164
+ "args": null,
165
+ "concreteType": "Collection",
166
+ "kind": "LinkedField",
167
+ "name": "following",
168
+ "plural": false,
169
+ "selections": v5,
170
+ "storageKey": null
171
+ },
172
+ {
173
+ "alias": null,
174
+ "args": null,
175
+ "concreteType": "Collection",
176
+ "kind": "LinkedField",
177
+ "name": "featured",
178
+ "plural": false,
179
+ "selections": v5,
180
+ "storageKey": null
181
+ },
182
+ {
183
+ "alias": null,
184
+ "args": null,
185
+ "kind": "ScalarField",
186
+ "name": "profileUrl",
187
+ "storageKey": null
188
+ },
189
+ {
190
+ "alias": null,
191
+ "args": null,
192
+ "concreteType": "Instance",
193
+ "kind": "LinkedField",
194
+ "name": "instance",
195
+ "plural": false,
196
+ "selections": [{
197
+ "alias": null,
198
+ "args": null,
199
+ "kind": "ScalarField",
200
+ "name": "host",
201
+ "storageKey": null
202
+ }, v4],
203
+ "storageKey": null
204
+ },
205
+ {
206
+ "alias": null,
207
+ "args": [{
208
+ "kind": "Literal",
209
+ "name": "first",
210
+ "value": 20
211
+ }],
212
+ "concreteType": "ObjectConnection",
213
+ "kind": "LinkedField",
214
+ "name": "objects",
215
+ "plural": false,
216
+ "selections": [{
217
+ "alias": null,
218
+ "args": null,
219
+ "concreteType": "ObjectEdge",
220
+ "kind": "LinkedField",
221
+ "name": "edges",
222
+ "plural": true,
223
+ "selections": [{
224
+ "alias": null,
225
+ "args": null,
226
+ "concreteType": "Object",
227
+ "kind": "LinkedField",
228
+ "name": "node",
229
+ "plural": false,
230
+ "selections": [
231
+ v4,
232
+ v2,
233
+ {
234
+ "alias": null,
235
+ "args": null,
236
+ "kind": "ScalarField",
237
+ "name": "name",
238
+ "storageKey": null
239
+ },
240
+ {
241
+ "alias": null,
242
+ "args": null,
243
+ "kind": "ScalarField",
244
+ "name": "contentHtml",
245
+ "storageKey": null
246
+ },
247
+ {
248
+ "alias": null,
249
+ "args": null,
250
+ "kind": "ScalarField",
251
+ "name": "published",
252
+ "storageKey": null
253
+ },
254
+ v3
255
+ ],
256
+ "storageKey": null
257
+ }],
258
+ "storageKey": null
259
+ }],
260
+ "storageKey": "objects(first:20)"
261
+ }
262
+ ],
263
+ "type": "Actor",
264
+ "abstractKey": null
265
+ },
266
+ v4
267
+ ],
268
+ "storageKey": null
269
+ }]
270
+ },
271
+ "params": {
272
+ "cacheID": "e0bc31cd49076202625fb181def5a3d5",
273
+ "id": null,
274
+ "metadata": {},
275
+ "name": "ActorDetailQuery",
276
+ "operationKind": "query",
277
+ "text": "query ActorDetailQuery(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ... on Actor {\n ...ActorDetail_actor\n ...ActorObjectList_actor\n }\n id\n }\n}\n\nfragment ActorDetail_actor on Actor {\n handle\n username\n uuid\n type\n created\n iri\n avatarUrl\n inboxUrl\n outbox {\n iri\n id\n }\n followers {\n iri\n id\n }\n following {\n iri\n id\n }\n featured {\n iri\n id\n }\n profileUrl\n instance {\n host\n id\n }\n}\n\nfragment ActorObjectList_actor on Actor {\n objects(first: 20) {\n edges {\n node {\n id\n type\n name\n contentHtml\n published\n iri\n }\n }\n }\n}\n"
278
+ }
279
+ };
280
+ }();
281
+ node.hash = "20d8c7fdb09be89399833e2a4efbe037";
282
+ //#endregion
283
+ export { node as default };
@@ -0,0 +1,78 @@
1
+ import { r as __toESM } from "../_runtime.mjs";
2
+ import { n as require_relay_runtime } from "../_libs/relay-runtime.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/_build/assets/CompleteLoginChallenge.graphql-CM7o_Md1.js
4
+ var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
5
+ /**
6
+ * @generated SignedSource<<6caf930cf9491b25914c6ab15f3106d8>>
7
+ * @lightSyntaxTransform
8
+ */
9
+ var { ConcreteRequest } = import_relay_runtime?.default?.default?.__esModule ? import_relay_runtime.default.default : import_relay_runtime?.default?.__esModule ? import_relay_runtime.default : import_relay_runtime;
10
+ var node = function() {
11
+ var v0 = [{
12
+ "defaultValue": null,
13
+ "kind": "LocalArgument",
14
+ "name": "challengeId"
15
+ }, {
16
+ "defaultValue": null,
17
+ "kind": "LocalArgument",
18
+ "name": "code"
19
+ }], v1 = [{
20
+ "alias": null,
21
+ "args": [{
22
+ "kind": "Variable",
23
+ "name": "challengeId",
24
+ "variableName": "challengeId"
25
+ }, {
26
+ "kind": "Variable",
27
+ "name": "code",
28
+ "variableName": "code"
29
+ }],
30
+ "concreteType": "Session",
31
+ "kind": "LinkedField",
32
+ "name": "completeLoginChallenge",
33
+ "plural": false,
34
+ "selections": [{
35
+ "alias": null,
36
+ "args": null,
37
+ "kind": "ScalarField",
38
+ "name": "accessToken",
39
+ "storageKey": null
40
+ }, {
41
+ "alias": null,
42
+ "args": null,
43
+ "kind": "ScalarField",
44
+ "name": "expires",
45
+ "storageKey": null
46
+ }],
47
+ "storageKey": null
48
+ }];
49
+ return {
50
+ "fragment": {
51
+ "argumentDefinitions": v0,
52
+ "kind": "Fragment",
53
+ "metadata": null,
54
+ "name": "CompleteLoginChallenge",
55
+ "selections": v1,
56
+ "type": "Mutation",
57
+ "abstractKey": null
58
+ },
59
+ "kind": "Request",
60
+ "operation": {
61
+ "argumentDefinitions": v0,
62
+ "kind": "Operation",
63
+ "name": "CompleteLoginChallenge",
64
+ "selections": v1
65
+ },
66
+ "params": {
67
+ "cacheID": "33f31cb8edb081c3d52c4090cd780b88",
68
+ "id": null,
69
+ "metadata": {},
70
+ "name": "CompleteLoginChallenge",
71
+ "operationKind": "mutation",
72
+ "text": "mutation CompleteLoginChallenge(\n $challengeId: UUID!\n $code: String!\n) {\n completeLoginChallenge(challengeId: $challengeId, code: $code) {\n accessToken\n expires\n }\n}\n"
73
+ }
74
+ };
75
+ }();
76
+ node.hash = "d8115560f618a20a21f5e99bb3c5d7eb";
77
+ //#endregion
78
+ export { node as default };
@@ -0,0 +1,43 @@
1
+ import { D as Show, J as onCleanup, N as createComponent, V as createSignal, g as ssrAttribute, h as ssr, u as escape, v as ssrHydrationKey } from "../_libs/solid-js.mjs";
2
+ //#region node_modules/.nitro/vite/services/ssr/_build/assets/CopyButton-CQNR5D1y.js
3
+ var buttons_module_default = {
4
+ copyControl: "_copyControl_u41dz_19",
5
+ srOnly: "_srOnly_u41dz_43"
6
+ };
7
+ var _tmpl$ = ["<path", " d=\"m5 12 4 4L19 6\"></path>"];
8
+ var _tmpl$2 = [
9
+ "<span",
10
+ "><button type=\"button\" aria-label=\"",
11
+ "\"><svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\">",
12
+ "</svg></button><output",
13
+ ">",
14
+ "</output></span>"
15
+ ];
16
+ var _tmpl$3 = ["<rect", " x=\"8\" y=\"8\" width=\"12\" height=\"12\" rx=\"2\"></rect>"];
17
+ var _tmpl$4 = ["<path", " d=\"M16 8V4H4v12h4\"></path>"];
18
+ /**
19
+ * Copy a value to the clipboard and announce the result.
20
+ * @returns A copy button with accessible feedback.
21
+ */
22
+ function CopyButton(props) {
23
+ const [message, setMessage] = createSignal("");
24
+ let resetTimer;
25
+ let request = 0;
26
+ onCleanup(() => {
27
+ request += 1;
28
+ clearTimeout(resetTimer);
29
+ });
30
+ return ssr(_tmpl$2, ssrHydrationKey() + ssrAttribute("class", escape(buttons_module_default.copyControl, true), false), `Copy ${escape(props.label, true)}`, escape(createComponent(Show, {
31
+ get when() {
32
+ return message() === "Copied.";
33
+ },
34
+ get fallback() {
35
+ return [ssr(_tmpl$3, ssrHydrationKey()), ssr(_tmpl$4, ssrHydrationKey())];
36
+ },
37
+ get children() {
38
+ return ssr(_tmpl$, ssrHydrationKey());
39
+ }
40
+ })), ssrAttribute("class", !message() || message() === "Copied." ? escape(buttons_module_default.srOnly, true) : escape(void 0, true), false), escape(message()));
41
+ }
42
+ //#endregion
43
+ export { CopyButton as t };
@@ -0,0 +1,116 @@
1
+ import { r as __toESM } from "../_runtime.mjs";
2
+ import { n as require_relay_runtime } from "../_libs/relay-runtime.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/_build/assets/CreateInstanceMutation.graphql-C-h2lGxz.js
4
+ var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
5
+ /**
6
+ * @generated SignedSource<<84600ea91878a2fddd7b9f0de02c8ba1>>
7
+ * @lightSyntaxTransform
8
+ */
9
+ var { ConcreteRequest } = import_relay_runtime?.default?.default?.__esModule ? import_relay_runtime.default.default : import_relay_runtime?.default?.__esModule ? import_relay_runtime.default : import_relay_runtime;
10
+ var node = function() {
11
+ var v0 = [{
12
+ "defaultValue": null,
13
+ "kind": "LocalArgument",
14
+ "name": "slug"
15
+ }], v1 = [{
16
+ "kind": "Variable",
17
+ "name": "slug",
18
+ "variableName": "slug"
19
+ }], v2 = {
20
+ "alias": "resultType",
21
+ "args": null,
22
+ "kind": "ScalarField",
23
+ "name": "__typename",
24
+ "storageKey": null
25
+ }, v3 = [{
26
+ "alias": null,
27
+ "args": null,
28
+ "kind": "ScalarField",
29
+ "name": "id",
30
+ "storageKey": null
31
+ }], v4 = {
32
+ "kind": "InlineFragment",
33
+ "selections": v3,
34
+ "type": "Instance",
35
+ "abstractKey": null
36
+ }, v5 = {
37
+ "kind": "InlineFragment",
38
+ "selections": [{
39
+ "alias": null,
40
+ "args": null,
41
+ "kind": "ScalarField",
42
+ "name": "message",
43
+ "storageKey": null
44
+ }],
45
+ "type": "CreateInstanceError",
46
+ "abstractKey": null
47
+ };
48
+ return {
49
+ "fragment": {
50
+ "argumentDefinitions": v0,
51
+ "kind": "Fragment",
52
+ "metadata": null,
53
+ "name": "CreateInstanceMutation",
54
+ "selections": [{
55
+ "alias": null,
56
+ "args": v1,
57
+ "concreteType": null,
58
+ "kind": "LinkedField",
59
+ "name": "createInstance",
60
+ "plural": false,
61
+ "selections": [
62
+ v2,
63
+ v4,
64
+ v5
65
+ ],
66
+ "storageKey": null
67
+ }],
68
+ "type": "Mutation",
69
+ "abstractKey": null
70
+ },
71
+ "kind": "Request",
72
+ "operation": {
73
+ "argumentDefinitions": v0,
74
+ "kind": "Operation",
75
+ "name": "CreateInstanceMutation",
76
+ "selections": [{
77
+ "alias": null,
78
+ "args": v1,
79
+ "concreteType": null,
80
+ "kind": "LinkedField",
81
+ "name": "createInstance",
82
+ "plural": false,
83
+ "selections": [
84
+ {
85
+ "alias": null,
86
+ "args": null,
87
+ "kind": "ScalarField",
88
+ "name": "__typename",
89
+ "storageKey": null
90
+ },
91
+ v2,
92
+ v4,
93
+ v5,
94
+ {
95
+ "kind": "InlineFragment",
96
+ "selections": v3,
97
+ "type": "Node",
98
+ "abstractKey": "__isNode"
99
+ }
100
+ ],
101
+ "storageKey": null
102
+ }]
103
+ },
104
+ "params": {
105
+ "cacheID": "603c9261f4a5f208776a425c778c5113",
106
+ "id": null,
107
+ "metadata": {},
108
+ "name": "CreateInstanceMutation",
109
+ "operationKind": "mutation",
110
+ "text": "mutation CreateInstanceMutation(\n $slug: String!\n) {\n createInstance(slug: $slug) {\n __typename\n resultType: __typename\n ... on Instance {\n id\n }\n ... on CreateInstanceError {\n message\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n"
111
+ }
112
+ };
113
+ }();
114
+ node.hash = "5ad12b89f55cfc92ed482ab731cd0d5e";
115
+ //#endregion
116
+ export { node as default };
@@ -0,0 +1,166 @@
1
+ import { r as __toESM } from "../_runtime.mjs";
2
+ import { n as require_relay_runtime } from "../_libs/relay-runtime.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/_build/assets/CreateObjectMutation.graphql-C393Hp7q.js
4
+ var import_relay_runtime = /* @__PURE__ */ __toESM(require_relay_runtime());
5
+ /**
6
+ * @generated SignedSource<<e05ec657e33e63011ef458f6e7b387d2>>
7
+ * @lightSyntaxTransform
8
+ */
9
+ var { ConcreteRequest } = import_relay_runtime?.default?.default?.__esModule ? import_relay_runtime.default.default : import_relay_runtime?.default?.__esModule ? import_relay_runtime.default : import_relay_runtime;
10
+ var node = function() {
11
+ var v0 = {
12
+ "defaultValue": null,
13
+ "kind": "LocalArgument",
14
+ "name": "actor"
15
+ }, v1 = {
16
+ "defaultValue": null,
17
+ "kind": "LocalArgument",
18
+ "name": "addressing"
19
+ }, v2 = {
20
+ "defaultValue": null,
21
+ "kind": "LocalArgument",
22
+ "name": "contentHtml"
23
+ }, v3 = {
24
+ "defaultValue": null,
25
+ "kind": "LocalArgument",
26
+ "name": "name"
27
+ }, v4 = {
28
+ "defaultValue": null,
29
+ "kind": "LocalArgument",
30
+ "name": "type"
31
+ }, v5 = [
32
+ {
33
+ "kind": "Variable",
34
+ "name": "actor",
35
+ "variableName": "actor"
36
+ },
37
+ {
38
+ "kind": "Variable",
39
+ "name": "addressing",
40
+ "variableName": "addressing"
41
+ },
42
+ {
43
+ "kind": "Variable",
44
+ "name": "contentHtml",
45
+ "variableName": "contentHtml"
46
+ },
47
+ {
48
+ "kind": "Variable",
49
+ "name": "name",
50
+ "variableName": "name"
51
+ },
52
+ {
53
+ "kind": "Variable",
54
+ "name": "type",
55
+ "variableName": "type"
56
+ }
57
+ ], v6 = {
58
+ "alias": "resultType",
59
+ "args": null,
60
+ "kind": "ScalarField",
61
+ "name": "__typename",
62
+ "storageKey": null
63
+ }, v7 = [{
64
+ "alias": null,
65
+ "args": null,
66
+ "kind": "ScalarField",
67
+ "name": "id",
68
+ "storageKey": null
69
+ }], v8 = {
70
+ "kind": "InlineFragment",
71
+ "selections": v7,
72
+ "type": "Object",
73
+ "abstractKey": null
74
+ }, v9 = {
75
+ "kind": "InlineFragment",
76
+ "selections": [{
77
+ "alias": null,
78
+ "args": null,
79
+ "kind": "ScalarField",
80
+ "name": "message",
81
+ "storageKey": null
82
+ }],
83
+ "type": "CreateObjectError",
84
+ "abstractKey": null
85
+ };
86
+ return {
87
+ "fragment": {
88
+ "argumentDefinitions": [
89
+ v0,
90
+ v1,
91
+ v2,
92
+ v3,
93
+ v4
94
+ ],
95
+ "kind": "Fragment",
96
+ "metadata": null,
97
+ "name": "CreateObjectMutation",
98
+ "selections": [{
99
+ "alias": null,
100
+ "args": v5,
101
+ "concreteType": null,
102
+ "kind": "LinkedField",
103
+ "name": "createObject",
104
+ "plural": false,
105
+ "selections": [
106
+ v6,
107
+ v8,
108
+ v9
109
+ ],
110
+ "storageKey": null
111
+ }],
112
+ "type": "Mutation",
113
+ "abstractKey": null
114
+ },
115
+ "kind": "Request",
116
+ "operation": {
117
+ "argumentDefinitions": [
118
+ v0,
119
+ v2,
120
+ v4,
121
+ v1,
122
+ v3
123
+ ],
124
+ "kind": "Operation",
125
+ "name": "CreateObjectMutation",
126
+ "selections": [{
127
+ "alias": null,
128
+ "args": v5,
129
+ "concreteType": null,
130
+ "kind": "LinkedField",
131
+ "name": "createObject",
132
+ "plural": false,
133
+ "selections": [
134
+ {
135
+ "alias": null,
136
+ "args": null,
137
+ "kind": "ScalarField",
138
+ "name": "__typename",
139
+ "storageKey": null
140
+ },
141
+ v6,
142
+ v8,
143
+ v9,
144
+ {
145
+ "kind": "InlineFragment",
146
+ "selections": v7,
147
+ "type": "Node",
148
+ "abstractKey": "__isNode"
149
+ }
150
+ ],
151
+ "storageKey": null
152
+ }]
153
+ },
154
+ "params": {
155
+ "cacheID": "ea6485713aef56c573e1b58d3c22a203",
156
+ "id": null,
157
+ "metadata": {},
158
+ "name": "CreateObjectMutation",
159
+ "operationKind": "mutation",
160
+ "text": "mutation CreateObjectMutation(\n $actor: ID!\n $contentHtml: String!\n $type: ObjectType!\n $addressing: AddressingInput!\n $name: String\n) {\n createObject(actor: $actor, contentHtml: $contentHtml, type: $type, addressing: $addressing, name: $name) {\n __typename\n resultType: __typename\n ... on Object {\n id\n }\n ... on CreateObjectError {\n message\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n"
161
+ }
162
+ };
163
+ }();
164
+ node.hash = "4011e826ce87d1ac9818445a6ad503d4";
165
+ //#endregion
166
+ export { node as default };