@modern-js/devtools-client 2.48.2 → 2.48.3

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 (51) hide show
  1. package/dist/html/client/index.html +3 -3
  2. package/dist/html/mount/index.html +3 -3
  3. package/dist/modern.config.json +4 -4
  4. package/dist/public/sw-proxy.js +1 -1
  5. package/dist/routes-manifest.json +62 -62
  6. package/dist/static/js/{886.7c6bd7c9.js → 610.d7cbe2d6.js} +3 -3
  7. package/dist/static/js/{637.74e75c0a.js → 637.bb6142e6.js} +2 -2
  8. package/dist/static/js/async/{447.bddee91f.js → 447.de1c74b3.js} +2 -2
  9. package/dist/static/js/async/client_context/builder/{page.2415d782.js → page.5c3ea615.js} +2 -2
  10. package/dist/static/js/async/client_context/framework/{page.2757805b.js → page.0cc29303.js} +2 -2
  11. package/dist/static/js/async/client_doctor/page.676c5ee2.js +2 -0
  12. package/dist/static/js/async/client_doctor/{page.e50bb05e.js.LICENSE.txt → page.676c5ee2.js.LICENSE.txt} +22 -22
  13. package/dist/static/js/async/client_headers/editor/page.0d45e366.js +2 -0
  14. package/dist/static/js/async/client_headers/editor/{page.42e7444f.js.LICENSE.txt → page.0d45e366.js.LICENSE.txt} +13 -13
  15. package/dist/static/js/async/client_headers/layout.12c73353.js +2 -0
  16. package/dist/static/js/async/client_overview/page.4c10470c.js +2 -0
  17. package/dist/static/js/async/client_overview/{page.0a2b4c8e.js.LICENSE.txt → page.4c10470c.js.LICENSE.txt} +13 -13
  18. package/dist/static/js/async/client_pages/{layout.242f10b5.js → layout.fc389a62.js} +2 -2
  19. package/dist/static/js/async/client_pages/page.17318d21.js +2 -0
  20. package/dist/static/js/async/client_pages/{page.1ed2c561.js.LICENSE.txt → page.17318d21.js.LICENSE.txt} +68 -68
  21. package/dist/static/js/{builder-runtime.7564ba26.js → builder-runtime.6555dfa0.js} +1 -1
  22. package/dist/static/js/{client.3f872109.js → client.a7f24cfe.js} +2 -2
  23. package/dist/static/js/{client.3f872109.js.LICENSE.txt → client.a7f24cfe.js.LICENSE.txt} +128 -128
  24. package/dist/static/js/components.0e9702c9.js +1 -0
  25. package/dist/static/js/mount.00b978a3.js +2 -0
  26. package/dist/static/js/{mount.799a7150.js.LICENSE.txt → mount.00b978a3.js.LICENSE.txt} +38 -38
  27. package/package.json +12 -12
  28. package/dist/static/js/async/client_doctor/page.e50bb05e.js +0 -2
  29. package/dist/static/js/async/client_headers/editor/page.42e7444f.js +0 -2
  30. package/dist/static/js/async/client_headers/layout.f6b0d5ea.js +0 -2
  31. package/dist/static/js/async/client_overview/page.0a2b4c8e.js +0 -2
  32. package/dist/static/js/async/client_pages/page.1ed2c561.js +0 -2
  33. package/dist/static/js/components.d96a1b4e.js +0 -1
  34. package/dist/static/js/mount.799a7150.js +0 -2
  35. /package/dist/static/css/{886.b9e2a32f.css → 610.86ca73a8.css} +0 -0
  36. /package/dist/static/css/async/client_doctor/{page.259ec644.css → page.70e4fc6b.css} +0 -0
  37. /package/dist/static/css/async/client_headers/editor/{page.c78f5c66.css → page.0f830a9e.css} +0 -0
  38. /package/dist/static/css/async/client_headers/{layout.cd1d5981.css → layout.85737bd6.css} +0 -0
  39. /package/dist/static/css/async/client_overview/{page.81782291.css → page.b032858f.css} +0 -0
  40. /package/dist/static/css/async/client_pages/{layout.6b89675e.css → layout.ada1ecbd.css} +0 -0
  41. /package/dist/static/css/async/client_pages/{page.488cbc24.css → page.c100068e.css} +0 -0
  42. /package/dist/static/css/{client.92f37413.css → client.fca9840b.css} +0 -0
  43. /package/dist/static/css/{components.f42635fc.css → components.6259116d.css} +0 -0
  44. /package/dist/static/css/{mount.40789ae6.css → mount.2f84060f.css} +0 -0
  45. /package/dist/static/js/{886.7c6bd7c9.js.LICENSE.txt → 610.d7cbe2d6.js.LICENSE.txt} +0 -0
  46. /package/dist/static/js/{637.74e75c0a.js.LICENSE.txt → 637.bb6142e6.js.LICENSE.txt} +0 -0
  47. /package/dist/static/js/async/{447.bddee91f.js.LICENSE.txt → 447.de1c74b3.js.LICENSE.txt} +0 -0
  48. /package/dist/static/js/async/client_context/builder/{page.2415d782.js.LICENSE.txt → page.5c3ea615.js.LICENSE.txt} +0 -0
  49. /package/dist/static/js/async/client_context/framework/{page.2757805b.js.LICENSE.txt → page.0cc29303.js.LICENSE.txt} +0 -0
  50. /package/dist/static/js/async/client_headers/{layout.f6b0d5ea.js.LICENSE.txt → layout.12c73353.js.LICENSE.txt} +0 -0
  51. /package/dist/static/js/async/client_pages/{layout.242f10b5.js.LICENSE.txt → layout.fc389a62.js.LICENSE.txt} +0 -0
@@ -1,44 +1,38 @@
1
- /*! lodash */
1
+ /*! @modern-js/runtime/router */
2
2
 
3
3
  /*! react */
4
4
 
5
5
  /*! react/jsx-runtime */
6
6
 
7
+ /*! ./context */
8
+
7
9
  /*! @modern-js/utils/universal/plugin-dag-sort */
8
10
 
9
11
  /*! react/jsx-runtime */
10
12
 
11
13
  /*! @modern-js/utils/universal/constants */
12
14
 
13
- /*! ufo */
14
-
15
15
  /*! @modern-js/plugin */
16
16
 
17
17
  /*! react-router-dom */
18
18
 
19
- /*! @swc/helpers/_/_object_spread_props */
20
-
21
- /*! @/components/Devtools/Puller */
22
-
23
- /*! react */
24
-
25
- /*! react */
26
-
27
19
  /*! react/jsx-runtime */
28
20
 
29
- /*! react-use */
21
+ /*! @swc/helpers/_/_object_spread */
30
22
 
31
23
  /*! hoist-non-react-statics */
32
24
 
25
+ /*! valtio */
26
+
33
27
  /*! ../runtimeContext */
34
28
 
35
29
  /*! ./plugin */
36
30
 
37
31
  /*! @swc/helpers/_/_sliced_to_array */
38
32
 
39
- /*! @swc/helpers/_/_object_without_properties */
33
+ /*! @modern-js/runtime/router */
40
34
 
41
- /*! @/components/Error/FeatureDisabled */
35
+ /*! ./state */
42
36
 
43
37
  /*! @swc/helpers/_/_ts_generator */
44
38
 
@@ -48,39 +42,51 @@
48
42
 
49
43
  /*! ../../core */
50
44
 
51
- /*! hookable */
52
-
53
45
  /*! @modern-js/runtime/router */
54
46
 
47
+ /*! lodash */
48
+
55
49
  /*! @radix-ui/themes */
56
50
 
57
- /*! ./Link */
51
+ /*! @/components/Error/Fallback */
58
52
 
59
- /*! @modern-js/runtime-utils/router */
53
+ /*! react/jsx-runtime */
60
54
 
61
55
  /*! ./layout.module.scss */
62
56
 
57
+ /*! react-icons/ri */
58
+
59
+ /*! react-icons/hi2 */
60
+
61
+ /*! ./Link */
62
+
63
+ /*! hookable */
64
+
65
+ /*! @modern-js/runtime-utils/router */
66
+
63
67
  /*! @modern-js/runtime/router */
64
68
 
69
+ /*! @modern-js/devtools-kit/runtime */
70
+
65
71
  /*! hoist-non-react-statics */
66
72
 
67
73
  /*! @swc/helpers/_/_object_spread */
68
74
 
69
- /*! @/components/Error/Fallback */
70
-
71
75
  /*! react/jsx-runtime */
72
76
 
77
+ /*! @/components/Theme */
78
+
73
79
  /*! @swc/helpers/_/_object_spread */
74
80
 
75
81
  /*! @swc/helpers/_/_async_to_generator */
76
82
 
77
- /*! @radix-ui/themes */
83
+ /*! @/components/Breadcrumbs */
78
84
 
79
85
  /*! @swc/helpers/_/_object_without_properties */
80
86
 
81
87
  /*! @/entries/client/routes/state */
82
88
 
83
- /*! @/components/Error/Fallback */
89
+ /*! react/jsx-runtime */
84
90
 
85
91
  /*! react */
86
92
 
@@ -88,69 +94,75 @@
88
94
 
89
95
  /*! ./compatible */
90
96
 
91
- /*! @/components/Error/Fallback */
92
-
93
97
  /*! @swc/helpers/_/_object_spread */
94
98
 
95
99
  /*! ../runtimeContext */
96
100
 
97
- /*! ./state */
98
-
99
- /*! @/components/SelectLink */
100
-
101
101
  /*! react */
102
102
 
103
+ /*! @/components/Error/Fallback */
104
+
103
105
  /*! ./DeferredDataScripts */
104
106
 
105
107
  /*! @radix-ui/themes */
106
108
 
107
- /*! @modern-js/runtime/router */
109
+ /*! react-router-dom */
108
110
 
109
111
  /*! @/components/Error/Fallback */
110
112
 
111
- /*! react-router-dom */
112
-
113
113
  /*! @modern-js/runtime-utils/router */
114
114
 
115
+ /*! ufo */
116
+
115
117
  /*! @swc/helpers/_/_async_to_generator */
116
118
 
117
- /*! react/jsx-runtime */
119
+ /*! ufo */
120
+
121
+ /*! ./state */
118
122
 
119
123
  /*! @modern-js/runtime/router */
120
124
 
121
125
  /*! @radix-ui/themes */
122
126
 
123
- /*! @swc/helpers/_/_object_spread */
127
+ /*! lodash */
124
128
 
125
- /*! react */
129
+ /*! ufo */
126
130
 
127
131
  /*! ../time */
128
132
 
129
133
  /*! @modern-js/runtime-utils/router */
130
134
 
135
+ /*! @swc/helpers/_/_object_spread_props */
136
+
137
+ /*! @/components/Devtools/Puller */
138
+
139
+ /*! react */
140
+
131
141
  /*! react/jsx-runtime */
132
142
 
143
+ /*! react */
144
+
133
145
  /*! @swc/helpers/_/_to_consumable_array */
134
146
 
135
- /*! @/utils/pluggable */
147
+ /*! react-use */
136
148
 
137
149
  /*! @/utils */
138
150
 
139
- /*! @modern-js/runtime/router */
151
+ /*! @swc/helpers/_/_object_without_properties */
140
152
 
141
153
  /*! @modern-js/runtime-utils/parsed */
142
154
 
143
- /*! @swc/helpers/_/_object_spread */
155
+ /*! @/components/Error/FeatureDisabled */
144
156
 
145
157
  /*! @swc/helpers/_/_object_spread */
146
158
 
147
159
  /*! ./loader/loaderManager */
148
160
 
149
- /*! ./hooks */
161
+ /*! hookable */
150
162
 
151
- /*! react */
163
+ /*! @modern-js/runtime/router */
152
164
 
153
- /*! ../state */
165
+ /*! @radix-ui/themes */
154
166
 
155
167
  /*! react */
156
168
 
@@ -158,13 +170,11 @@
158
170
 
159
171
  /*! react/jsx-runtime */
160
172
 
161
- /*! ufo */
162
-
163
- /*! lodash */
173
+ /*! ./layout.module.scss */
164
174
 
165
- /*! @radix-ui/themes */
175
+ /*! @modern-js/runtime/router */
166
176
 
167
- /*! react */
177
+ /*! @/components/Error/Fallback */
168
178
 
169
179
  /*! @modern-js/runtime-utils/browser */
170
180
 
@@ -172,52 +182,38 @@
172
182
 
173
183
  /*! react/jsx-runtime */
174
184
 
175
- /*! @/components/SelectLink */
176
-
177
- /*! ufo */
178
-
179
185
  /*! @swc/helpers/_/_to_consumable_array */
180
186
 
181
- /*! react */
187
+ /*! @radix-ui/themes */
182
188
 
183
189
  /*! @swc/helpers/_/_object_spread */
184
190
 
185
- /*! react/jsx-runtime */
186
-
187
- /*! @modern-js/runtime/router */
188
-
189
- /*! ./state */
190
-
191
- /*! ufo */
192
-
193
- /*! @radix-ui/themes */
191
+ /*! @/components/Error/Fallback */
194
192
 
195
193
  /*! ./FeatureDisabled.module.scss */
196
194
 
197
195
  /*! @swc/helpers/_/_to_consumable_array */
198
196
 
199
- /*! ./hooks */
197
+ /*! @/components/Error/Fallback */
200
198
 
201
- /*! @modern-js/runtime/router */
199
+ /*! ./hooks */
202
200
 
203
- /*! @radix-ui/themes */
201
+ /*! ./state */
204
202
 
205
- /*! @modern-js/runtime/router */
203
+ /*! @/components/SelectLink */
206
204
 
207
205
  /*! ../../core */
208
206
 
209
- /*! ../state */
207
+ /*! @modern-js/runtime/router */
210
208
 
211
209
  /*! @modern-js/utils/universal/constants */
212
210
 
213
211
  /*! @/components/Error/Fallback */
214
212
 
215
- /*! @/styles/theme.scss */
216
-
217
- /*! valtio */
218
-
219
213
  /*! ./utils */
220
214
 
215
+ /*! react/jsx-runtime */
216
+
221
217
  /*! ./plugin */
222
218
 
223
219
  /*! @swc/helpers/_/_ts_generator */
@@ -228,59 +224,57 @@
228
224
 
229
225
  /*! @swc/helpers/_/_async_to_generator */
230
226
 
231
- /*! valtio */
232
-
233
- /*! lodash */
234
-
235
- /*! valtio */
236
-
237
- /*! @swc/helpers/_/_object_spread_props */
238
-
239
- /*! lodash */
227
+ /*! @swc/helpers/_/_object_spread */
240
228
 
241
229
  /*! @swc/helpers/_/_instanceof */
242
230
 
243
231
  /*! @swc/helpers/_/_object_without_properties */
244
232
 
233
+ /*! react */
234
+
235
+ /*! react/jsx-runtime */
236
+
245
237
  /*! @modern-js/runtime/router */
246
238
 
247
- /*! valtio */
239
+ /*! @/utils/pluggable */
248
240
 
249
241
  /*! ./PrefetchLink */
250
242
 
243
+ /*! @modern-js/runtime/router */
244
+
251
245
  /*! @swc/helpers/_/_object_spread_props */
252
246
 
253
247
  /*! @swc/helpers/_/_ts_generator */
254
248
 
255
249
  /*! react-icons/hi2 */
256
250
 
257
- /*! @swc/helpers/_/_object_spread_props */
251
+ /*! @swc/helpers/_/_object_spread */
258
252
 
259
- /*! react/jsx-runtime */
253
+ /*! ./nestedRoutes */
260
254
 
261
- /*! react-icons/hi2 */
255
+ /*! ./hooks */
262
256
 
263
- /*! react/jsx-runtime */
257
+ /*! @swc/helpers/_/_define_property */
264
258
 
265
- /*! @modern-js/devtools-kit/runtime */
259
+ /*! @swc/helpers/_/_object_spread */
266
260
 
267
- /*! ./nestedRoutes */
261
+ /*! react */
268
262
 
269
- /*! ufo */
263
+ /*! ../state */
270
264
 
271
- /*! @swc/helpers/_/_object_without_properties */
265
+ /*! @swc/helpers/_/_ts_generator */
272
266
 
273
- /*! @swc/helpers/_/_define_property */
267
+ /*! ufo */
274
268
 
275
- /*! @/components/Loading */
269
+ /*! ./runtime */
276
270
 
277
- /*! @swc/helpers/_/_object_spread */
271
+ /*! lodash */
278
272
 
279
- /*! @swc/helpers/_/_ts_generator */
273
+ /*! react */
280
274
 
281
- /*! ./runtime */
275
+ /*! react/jsx-runtime */
282
276
 
283
- /*! react-icons/hi2 */
277
+ /*! @/components/SelectLink */
284
278
 
285
279
  /*! @swc/helpers/_/_object_without_properties */
286
280
 
@@ -290,79 +284,73 @@
290
284
 
291
285
  /*! react/jsx-runtime */
292
286
 
293
- /*! birpc */
294
-
295
- /*! @modern-js/runtime/router */
287
+ /*! @radix-ui/themes */
296
288
 
297
289
  /*! @modern-js/plugin */
298
290
 
299
- /*! @swc/helpers/_/_sliced_to_array */
291
+ /*! ufo */
300
292
 
301
- /*! ./context */
293
+ /*! @swc/helpers/_/_sliced_to_array */
302
294
 
303
295
  /*! @swc/helpers/_/_object_spread_props */
304
296
 
297
+ /*! react */
298
+
305
299
  /*! react/jsx-runtime */
306
300
 
307
301
  /*! @swc/helpers/_/_sliced_to_array */
308
302
 
309
303
  /*! ./DefaultNotFound */
310
304
 
311
- /*! @swc/helpers/_/_object_spread */
305
+ /*! @modern-js/runtime/router */
312
306
 
313
- /*! valtio */
307
+ /*! ./state */
314
308
 
315
- /*! @modern-js/runtime/router */
309
+ /*! ufo */
316
310
 
317
- /*! hookable */
311
+ /*! @radix-ui/themes */
318
312
 
319
313
  /*! @swc/helpers/_/_object_spread_props */
320
314
 
321
- /*! ./state */
315
+ /*! ./core */
322
316
 
323
317
  /*! @modern-js/runtime/router */
324
318
 
325
- /*! lodash */
326
-
327
- /*! ./core */
328
-
329
319
  /*! @radix-ui/themes */
330
320
 
331
- /*! @/components/Error/Fallback */
332
-
333
- /*! react/jsx-runtime */
334
-
335
- /*! ./layout.module.scss */
336
-
337
- /*! react-icons/ri */
321
+ /*! @modern-js/runtime/router */
338
322
 
339
323
  /*! ./routeModule */
340
324
 
341
- /*! react-icons/hi2 */
342
-
343
- /*! @modern-js/runtime/router */
344
-
345
325
  /*! @modern-js/runtime-utils/router */
346
326
 
347
327
  /*! @swc/helpers/_/_sliced_to_array */
348
328
 
349
- /*! @modern-js/devtools-kit/runtime */
329
+ /*! ../state */
350
330
 
351
- /*! react/jsx-runtime */
331
+ /*! @/components/Error/Fallback */
352
332
 
353
- /*! @/components/Theme */
333
+ /*! @/styles/theme.scss */
354
334
 
355
335
  /*! @radix-ui/themes */
356
336
 
357
- /*! @/components/Breadcrumbs */
337
+ /*! valtio */
358
338
 
359
339
  /*! lodash */
360
340
 
341
+ /*! valtio */
342
+
343
+ /*! valtio */
344
+
345
+ /*! @swc/helpers/_/_object_spread_props */
346
+
361
347
  /*! @modern-js/utils/universal/constants */
362
348
 
363
349
  /*! @modern-js/plugin */
364
350
 
365
- /*! react/jsx-runtime */
351
+ /*! lodash */
352
+
353
+ /*! lodash */
366
354
 
367
355
  /*! react */
368
356
 
@@ -370,19 +358,33 @@
370
358
 
371
359
  /*! @modern-js/runtime/router */
372
360
 
361
+ /*! valtio */
362
+
373
363
  /*! @swc/helpers/_/_to_consumable_array */
374
364
 
365
+ /*! @swc/helpers/_/_object_spread_props */
366
+
367
+ /*! @modern-js/devtools-kit/runtime */
368
+
369
+ /*! react/jsx-runtime */
370
+
375
371
  /*! @swc/helpers/_/_instanceof */
376
372
 
377
373
  /*! @swc/helpers/_/_async_to_generator */
378
374
 
375
+ /*! react/jsx-runtime */
376
+
379
377
  /*! react */
380
378
 
379
+ /*! react-icons/hi2 */
380
+
381
381
  /*! react/jsx-runtime */
382
382
 
383
- /*! @/components/Error/Fallback */
383
+ /*! ufo */
384
384
 
385
- /*! @/components/Error/Fallback */
385
+ /*! @swc/helpers/_/_object_without_properties */
386
+
387
+ /*! @/components/Loading */
386
388
 
387
389
  /*! ./Breadcrumbs.module.scss */
388
390
 
@@ -390,10 +392,8 @@
390
392
 
391
393
  /*! react/jsx-runtime */
392
394
 
393
- /*! ufo */
395
+ /*! react-icons/hi2 */
394
396
 
395
397
  /*! @radix-ui/react-icons */
396
398
 
397
- /*! ufo */
398
-
399
- /*! ./state */
399
+ /*! birpc */
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["567"],{49804:function(t){"use strict";t.exports={connector:"connector-_43720",link:"link-_26ee2"}},17065:function(t){"use strict";t.exports={"indicate-card":"indicate-card-_974b8",indicateCard:"indicate-card-_974b8"}},73478:function(t){"use strict";t.exports={container:"container-a41eae"}},44798:function(t){"use strict";t.exports={container:"container-c37ff8",fab:"fab-b17740",logo:"logo-c7a29e",slideInFromRight:"slideInFromRight-e1026d"}},8932:function(t){"use strict";t.exports={backdrop:"backdrop-_51706","close-button":"close-button-c3742a",closeButton:"close-button-c3742a",container:"container-fb8255",frame:"frame-_5d7ff"}},20109:function(t){"use strict";t.exports={children:"children-ce277e",container:"container-feec25"}},92677:function(t){"use strict";t.exports={loading:"loading-f4a5e7",rotate:"rotate-d4ee47"}},58091:function(t){"use strict";t.exports={container:"container-_6ff2e"}},69992:function(t){"use strict";t.exports={container:"container-_1260b"}},98797:function(t){"use strict";t.exports={container:"container-_560f9"}},7041:function(t){"use strict";t.exports={actions:"actions-_5b76a","input-pair":"input-pair-_55005",inputPair:"input-pair-_55005"}},49945:function(t){"use strict";t.exports={container:"container-_729f8",content:"content-_01b01",mark:"mark-_92790",slideDown:"slideDown-b8bce3",slideUp:"slideUp-dbcad1",trigger:"trigger-_13b59","url-text":"url-text-a0e7e4",urlText:"url-text-a0e7e4"}},290:function(t){"use strict";t.exports={"endpoint-container":"endpoint-container-_4be65",endpointContainer:"endpoint-container-_4be65","endpoint-tag":"endpoint-tag-_0664a",endpointTag:"endpoint-tag-_0664a","shy-link":"shy-link-d59f70",shyLink:"shy-link-d59f70"}},32821:function(t){"use strict";t.exports={stats:"stats-e82970"}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see mount.00b978a3.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["400"],{74709:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsCapsuleButton:function(){return i}});var o=n("86834");n("5872");var r=n("20421"),l=n("73478");let i=e=>{var t;let[n,i]=(0,r.useAsyncFn)(()=>Promise.resolve(e.onClick()),[]);return(0,o.jsx)("button",{className:l.container,onClick:i,"data-type":null!==(t=e.type)&&void 0!==t?t:"default",disabled:n.loading,children:e.children})}},62325:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsCapsule:function(){return y}});var o=n("90247"),r=n("55709"),l=n("86834"),i=n("83982"),s=n("5872"),a=n("20421"),c=n("29214"),u=n("55058"),d=n("45967"),v=n("44798"),m=n("10734"),p=n("74709"),h=n("94258"),f=n("28391"),_=n("51879");let g=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,{hash:n}=t,o=null===(e=n.match(/^#\/__devtools(.*)/))||void 0===e?void 0:e[1];return"string"!=typeof o?null:""===o?"/":o},y=e=>{let t=e.def.assets.logo,n=g(),[y,w]=(0,a.useToggle)(!!n),[k,b]=(0,s.useState)(!1),E=(0,u.withQuery)(e.endpoint,{src:e.dataSource}),x=(0,h.useStickyDraggable)({clamp:!0}),[C,j]=(0,s.useState)(()=>{var e;let t=null!==(e=localStorage.getItem("__modern_js_devtools_appearance"))&&void 0!==e?e:"light";return localStorage.setItem("__modern_js_devtools_appearance",t),t});(0,a.useEvent)("storage",e=>{"__modern_js_devtools_appearance"===e.key&&j(e.newValue||void 0)}),(0,a.useEvent)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&w()}),(0,s.useEffect)(()=>{f.wallAgent.hook("receive",e=>{"startInspectingNative"===e.event&&(w(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(w(!0),document.documentElement.style.removeProperty("cursor"))};return f.wallAgent.hook("send",e),()=>{f.wallAgent.removeHook("send",e)}},[]);let O=async()=>{document.documentElement.style.setProperty("cursor","wait"),w(!1),b(!0);try{(await (0,_.pTimeout)(f.$client,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,a.useAsync)(async()=>{if(!!n)(await (0,_.pTimeout)(f.$client,1e4)).remote.pullUp(n)},[]),(0,l.jsxs)(i.Theme,{appearance:C,className:C,children:[(0,l.jsx)(d.default,{when:y,keepAlive:!0,load:k,children:(0,l.jsx)("div",{className:v.container,children:(0,l.jsx)(m.FrameBox,{src:E,onClose:()=>w(!1),style:{pointerEvents:x.isDragging?"none":"auto"}})})}),(0,l.jsxs)(i.Flex,(0,r._)((0,o._)({className:v.fab},x.props),{align:"center",children:[(0,l.jsx)(p.DevtoolsCapsuleButton,{type:"primary",onClick:w,children:(0,l.jsx)("img",{className:v.logo,src:t})}),(0,l.jsx)(p.DevtoolsCapsuleButton,{onClick:O,children:(0,l.jsx)(c.HiMiniCursorArrowRipple,{})})]}))]})}},10734:function(e,t,n){"use strict";n.r(t),n.d(t,{FrameBox:function(){return m}});var o=n("90247"),r=n("55709"),l=n("16170"),i=n("86834"),s=n("83982");n("5872");var a=n("29214"),c=n("42700"),u=n("428"),d=n("8932"),v=n("28391");let m=e=>{var{src:t,onClose:n}=e,m=(0,l._)(e,["src","onClose"]);let{loaded:p}=(0,c.useSnapshot)(v.$inner);return(0,i.jsxs)(s.Box,(0,r._)((0,o._)({className:d.container},m),{children:[(0,i.jsx)("iframe",{className:d.frame,src:t}),(0,i.jsx)(a.HiMiniXMark,{className:d.closeButton,onClick:n}),(0,i.jsx)("div",{className:d.backdrop,style:{display:p?"none":void 0},children:(0,i.jsx)(u.Loading,{})})]}))}},45967:function(e,t,n){"use strict";n.r(t);var o=n("86834"),r=n("5872");t.default=e=>{var t;let n=null===(t=e.keepAlive)||void 0===t||t,{when:l}=e,i=(0,r.useRef)(!1);l&&(i.current=!0);let s=e.load||(n?i.current:l);return s?(0,o.jsx)("div",{style:{display:!n||l?"unset":"none"},children:e.children}):null}},80295:function(e,t,n){"use strict";n.r(t);var o=n("90247"),r=n("86834");n("82231"),n("28391");var l=n("60182"),i=n("86111"),s=n("62325");document.addEventListener("DOMContentLoaded",()=>{let e=document.createElement("div");e.className="_modern_js_devtools_container",document.body.appendChild(e);let t=e.attachShadow({mode:"closed"}),n=document.getElementById("_modern_js_devtools_styles");if(!(n instanceof HTMLTemplateElement))throw Error("template not found");t.appendChild(n.content);let a=document.createElement("div");a.classList.add("_modern_js_devtools_mountpoint","theme-register",i.container),t.appendChild(a);let c=window.__MODERN_JS_DEVTOOLS_OPTIONS__;(0,l.createRoot)(a).render((0,r.jsx)(s.DevtoolsCapsule,(0,o._)({},c)))})},82231:function(e,t,n){"use strict";n.r(t);var o=n("57662");if(!window.opener)try{try{delete window.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch(e){}(0,o.initialize)(window);let e=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub;window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub=(t,n)=>{if("devtools-backend-installed"!==t)return e(t,n)}}catch(t){let e=Error("Failed to inject React DevTools backend.");e.cause=t,console.error(e)}},28391:function(e,t,n){"use strict";n.r(t),n.d(t,{$client:function(){return f},$inner:function(){return _},wallAgent:function(){return p}});var o=n("90247"),r=n("55709"),l=n("10487"),i=n("88739"),s=n("65872"),a=n("9880"),c=n.n(a),u=n("42700"),d=n("57662"),v=n("24933");let m=l.MessagePortChannel.wait(window,"channel:connect:client"),p=new v.WallAgent,h=(0,d.createBridge)(window,p),f=m.then(e=>{let t=(0,s.createHooks)();return{remote:(0,i.createBirpc)({async activateReactDevtools(){(0,d.activate)(window,{bridge:h})},async onFinishRender(){await t.callHook("onFinishRender")}},(0,r._)((0,o._)({},e.handlers),{timeout:500})),hooks:t}}),_=(0,u.proxy)({loaded:!1}),g=c()();f.then(e=>{let{remote:t,hooks:n}=e;p.bindRemote(t,"sendReactDevtoolsData"),n.hook("onFinishRender",async()=>{_.loaded=!0,g.resolve()})})},94258:function(e,t,n){"use strict";n.r(t),n.d(t,{useStickyDraggable:function(){return a}});var o=n("5872"),r=n("20421");let l=(e,t)=>{var n,o;return null!==(o=null===(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===n?void 0:n.includes(t))&&void 0!==o&&o},i=e=>{let[t,...n]=[{key:"top",value:e.top},{key:"bottom",value:e.bottom},{key:"left",value:e.left},{key:"right",value:e.right}].sort((e,t)=>e.value-t.value),o=n.findIndex(e=>{let{key:n}=e;return l(t.key,n)}),[r]=n.splice(o,1);return[t,r,n[0],n[1]]},s=e=>{let{top:t,left:n,height:o,width:r}=e.getBoundingClientRect();return{top:t,left:n,bottom:window.innerHeight-t-o,right:window.innerWidth-n-r}},a=e=>{var t;let n=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",l="number"==typeof n?"".concat(n,"px"):n,[a,c]=(0,o.useState)(),u=()=>{if(!a)return;a.moveable=!1;let{el:e}=a,[t]=i(s(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{c(void 0),e.style[t.key]=l}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},d=t=>{let n="touches"in t?t.touches[0]:t;if(!(null==a?void 0:a.moveable))return;let{startX:o,startY:r}=a;(o-n.clientX)**2+(r-n.clientY)**2>9&&(a.clickable=!1);let{width:s,height:c}=a.el.getBoundingClientRect(),u=n.clientY-a.offsetY,d=n.clientX-a.offsetX,v=i({top:u,left:d,bottom:window.innerHeight-u-c,right:window.innerWidth-d-s}).map(e=>{let{key:t,value:n}=e;return{key:t,value:"".concat(n,"px")}});if(null==e?void 0:e.clamp)for(let e of v){let t=["top","bottom"].includes(e.key)?window.innerHeight-c:window.innerWidth-s;e.value="clamp(".concat(l,", ").concat(e.value,", ").concat(t,"px)")}let[m,p,...h]=v,{style:f}=a.el;f.transition="",f[m.key]=m.value,f[p.key]=p.value,f[h[0].key]="auto",f[h[1].key]="auto"};(0,r.useEvent)("blur",u),(0,r.useEvent)("mouseup",u),(0,r.useEvent)("touchend",u),(0,r.useEvent)("mousemove",d),(0,r.useEvent)("touchmove",d);let v=e=>{let t="touches"in e?e.touches[0]:e,n=e.currentTarget,o=n.getBoundingClientRect(),r=t.clientX-o.left;c({el:n,clickable:!0,moveable:!0,offsetX:r,offsetY:t.clientY-o.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!a,props:{onMouseDown:v,onTouchStart:v,onClickCapture:e=>{(null==a?void 0:a.clickable)||e.stopPropagation()}}}}},51879:function(e,t,n){"use strict";n.r(t),n.d(t,{pTimeout:function(){return o}});let o=(e,t)=>new Promise((n,o)=>{let r=!0,l=setTimeout(()=>{r=!1,o(Error("Promise Timeout"))},t);e.then(e=>{r&&n(e),clearTimeout(l)}),e.catch(o)})},24933:function(e,t,n){"use strict";n.r(t),n.d(t,{WallAgent:function(){return r}});var o=n("65872");class r extends o.Hookable{listen(e){return this.hook("receive",e),e}send(e,t,n){this.callHook("send",{event:e,payload:t,transferable:n})}bindRemote(e,t){var n=this;return e.$functions[t]=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];n.callHook("receive",e,...o)},this.hook("send",function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];e[t](...o)}),this}constructor(){super(),this.status="close";let e=e=>{this.status!==e&&(this.status=e,this.callHook(e))};this.hook("send",t=>{"shutdown"===t.event&&e("close")}),this.hook("receive",t=>{"shutdown"===t.event?e("close"):"operations"===t.event?e("active"):e("open")})}}},86111:function(e){"use strict";e.exports={container:"container-d972e2"}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","567","58","610","637","768"],function(){return t("90915"),t("84606"),t("59174"),t("19449"),t("80295")}),e.O()}]);
@@ -1,10 +1,22 @@
1
- /*! react/jsx-runtime */
1
+ /*! react */
2
+
3
+ /*! hookable */
2
4
 
3
5
  /*! ./Capsule.module.scss */
4
6
 
5
7
  /*! ../Visible */
6
8
 
7
- /*! @swc/helpers/_/_object_spread */
9
+ /*! ./index.module.scss */
10
+
11
+ /*! react */
12
+
13
+ /*! react-devtools-inline/backend */
14
+
15
+ /*! react/jsx-runtime */
16
+
17
+ /*! @swc/helpers/_/_object_spread_props */
18
+
19
+ /*! @/entries/mount/state */
8
20
 
9
21
  /*! ./FrameBox.module.scss */
10
22
 
@@ -12,36 +24,50 @@
12
24
 
13
25
  /*! ../Loading */
14
26
 
27
+ /*! react-devtools-inline/backend */
28
+
29
+ /*! react-use */
30
+
15
31
  /*! ./Button.module.scss */
16
32
 
17
33
  /*! @/utils/draggable */
18
34
 
19
- /*! birpc */
20
-
21
35
  /*! @radix-ui/themes */
22
36
 
23
- /*! ./state */
24
-
25
37
  /*! react-use */
26
38
 
39
+ /*! valtio */
40
+
27
41
  /*! react */
28
42
 
29
43
  /*! ./Button */
30
44
 
31
45
  /*! react/jsx-runtime */
32
46
 
47
+ /*! @/utils/react-devtools */
48
+
49
+ /*! @modern-js/devtools-kit/runtime */
50
+
51
+ /*! p-defer */
52
+
33
53
  /*! @/utils/promise */
34
54
 
35
55
  /*! react-use */
36
56
 
37
57
  /*! react */
38
58
 
59
+ /*! @/components/Devtools/Capsule */
60
+
39
61
  /*! @swc/helpers/_/_object_spread */
40
62
 
63
+ /*! react-dom/client */
64
+
41
65
  /*! @radix-ui/themes */
42
66
 
43
67
  /*! react/jsx-runtime */
44
68
 
69
+ /*! react/jsx-runtime */
70
+
45
71
  /*! react-icons/hi2 */
46
72
 
47
73
  /*! ufo */
@@ -50,54 +76,28 @@
50
76
 
51
77
  /*! @swc/helpers/_/_object_spread_props */
52
78
 
53
- /*! hookable */
54
-
55
- /*! ./react-devtools-backend */
79
+ /*! @swc/helpers/_/_object_spread */
56
80
 
57
81
  /*! valtio */
58
82
 
59
- /*! @swc/helpers/_/_object_spread */
60
-
61
83
  /*! @swc/helpers/_/_object_spread_props */
62
84
 
63
- /*! react */
85
+ /*! birpc */
64
86
 
65
87
  /*! react/jsx-runtime */
66
88
 
67
- /*! hookable */
68
-
69
- /*! ./index.module.scss */
70
-
71
- /*! react */
72
-
73
- /*! react-devtools-inline/backend */
89
+ /*! ./state */
74
90
 
75
91
  /*! @swc/helpers/_/_object_without_properties */
76
92
 
77
- /*! react/jsx-runtime */
78
-
79
- /*! @swc/helpers/_/_object_spread_props */
80
-
81
- /*! @/entries/mount/state */
82
-
83
- /*! react-devtools-inline/backend */
84
-
85
- /*! react-use */
86
-
87
93
  /*! @/entries/mount/state */
88
94
 
89
95
  /*! ./FrameBox */
90
96
 
91
- /*! valtio */
92
-
93
97
  /*! react-icons/hi2 */
94
98
 
95
- /*! @/utils/react-devtools */
96
-
97
- /*! @modern-js/devtools-kit/runtime */
98
-
99
- /*! p-defer */
99
+ /*! hookable */
100
100
 
101
- /*! @/components/Devtools/Capsule */
101
+ /*! ./react-devtools-backend */
102
102
 
103
- /*! react-dom/client */
103
+ /*! @swc/helpers/_/_object_spread */