@qwik-custom-elements/adapter-stencil 1.0.2 → 1.0.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 (56) hide show
  1. package/README.md +2 -3
  2. package/dist/bundle-graph.json +1 -1
  3. package/dist/client/client-setup.d.ts +1 -1
  4. package/dist/client/index.qwik.mjs +178 -0
  5. package/dist/client/stencil-csr.d.ts +2 -2
  6. package/dist/index.qwik.mjs +224 -191
  7. package/dist/q-manifest.json +24 -336
  8. package/dist/qwikloader-BOWbeQFD.js +101 -0
  9. package/dist/ssr/index.qwik.mjs +346 -0
  10. package/dist/ssr/stencil-ssr.d.ts +40 -7
  11. package/dist/ssr/stencil-ssr.d.ts.map +1 -1
  12. package/dist/ssr/styles-core.d.ts +2 -2
  13. package/package.json +15 -14
  14. package/dist/client/client-setup.test.d.ts +0 -2
  15. package/dist/client/client-setup.test.d.ts.map +0 -1
  16. package/dist/client/index.cjs +0 -1
  17. package/dist/client/index.js +0 -6
  18. package/dist/client/stencil-csr-props.test.d.ts +0 -2
  19. package/dist/client/stencil-csr-props.test.d.ts.map +0 -1
  20. package/dist/client-setup-C_qW_ZSR.cjs +0 -1
  21. package/dist/client-setup-D-ffVtNL.js +0 -53
  22. package/dist/client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-CPKK-h2J.js +0 -11
  23. package/dist/client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-Dz0z3zer.cjs +0 -1
  24. package/dist/core.min-Qm7Mxv6F.js +0 -1846
  25. package/dist/core.min-vJ4M2jcU.cjs +0 -2
  26. package/dist/index.qwik.cjs +0 -8
  27. package/dist/index.test.d.ts +0 -2
  28. package/dist/index.test.d.ts.map +0 -1
  29. package/dist/preloader-Bietv0BS.js +0 -118
  30. package/dist/preloader-Cqc--uBU.cjs +0 -1
  31. package/dist/qwikloader-C01zMTOC.js +0 -102
  32. package/dist/qwikloader-vFGnpgvG.cjs +0 -2
  33. package/dist/ssr/element-props-utils.test.d.ts +0 -2
  34. package/dist/ssr/element-props-utils.test.d.ts.map +0 -1
  35. package/dist/ssr/index.cjs +0 -1
  36. package/dist/ssr/index.js +0 -29
  37. package/dist/ssr/styles-core.test.d.ts +0 -2
  38. package/dist/ssr/styles-core.test.d.ts.map +0 -1
  39. package/dist/stencil-csr-B1U9s3VQ.js +0 -24
  40. package/dist/stencil-csr-D6zt1Am9.cjs +0 -1
  41. package/dist/stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-ChAZ0hL3.js +0 -37
  42. package/dist/stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-cGN__hqm.cjs +0 -1
  43. package/dist/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-BYiBxXW-.js +0 -34
  44. package/dist/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-sFN0uMI_.cjs +0 -1
  45. package/dist/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-BSsN2V78.cjs +0 -1
  46. package/dist/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-CF00O7hf.js +0 -19
  47. package/dist/stencil-ssr-BHjT94rd.js +0 -118
  48. package/dist/stencil-ssr-UlYtcG0-.cjs +0 -1
  49. package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-46y8eTjO.cjs +0 -1
  50. package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-BfqXBofh.js +0 -42
  51. package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DA73DRke.cjs +0 -1
  52. package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DdcskN1z.js +0 -10
  53. package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-61dSP-JG.cjs +0 -1
  54. package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-Byrz3fUp.js +0 -34
  55. package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-BtIygb8E.js +0 -12
  56. package/dist/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-DNQBT8Vc.cjs +0 -1
@@ -1,381 +1,69 @@
1
1
  {
2
2
  "version": "1",
3
- "manifestHash": "mbgtg",
3
+ "manifestHash": "9oiwqr",
4
4
  "options": {
5
5
  "target": "client",
6
6
  "buildMode": "production",
7
7
  "entryStrategy": {
8
- "type": "smart"
8
+ "type": "inline"
9
9
  }
10
10
  },
11
- "core": "../core.min-vJ4M2jcU.cjs",
12
- "preloader": "../preloader-Cqc--uBU.cjs",
13
11
  "bundleGraphAsset": "bundle-graph.json",
14
12
  "injections": [],
15
- "mapping": {
16
- "s_IH8I3eLdwI0": "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-DNQBT8Vc.cjs",
17
- "s_aXg7AuatGTc": "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-61dSP-JG.cjs",
18
- "s_dqWPXf9eNnk": "../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-sFN0uMI_.cjs",
19
- "s_y00qkhhKua8": "../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-BSsN2V78.cjs",
20
- "s_IlVdOHKZfN0": "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-46y8eTjO.cjs",
21
- "s_pD3ekIZcUT0": "../stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-cGN__hqm.cjs",
22
- "s_6wDTmOSdSbc": "../client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-Dz0z3zer.cjs",
23
- "s_bvALMlewx7Q": "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DA73DRke.cjs"
24
- },
13
+ "mapping": {},
25
14
  "bundles": {
26
- "../client-setup-C_qW_ZSR.cjs": {
27
- "size": 1305,
28
- "total": 48933,
29
- "imports": [
30
- "../core.min-vJ4M2jcU.cjs"
31
- ],
32
- "dynamicImports": [
33
- "../client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-Dz0z3zer.cjs"
34
- ],
15
+ "../client/index.qwik.mjs": {
16
+ "size": 7152,
17
+ "total": 7152,
35
18
  "origins": [
36
- "src/client/client-setup.ts"
37
- ],
38
- "interactivity": 0
39
- },
40
- "../client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc-Dz0z3zer.cjs": {
41
- "size": 276,
42
- "total": 96837,
43
- "imports": [
44
- "../client-setup-C_qW_ZSR.cjs",
45
- "../core.min-vJ4M2jcU.cjs"
46
- ],
47
- "origins": [
48
- "src/client/client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc.js"
49
- ],
50
- "symbols": [
51
- "s_6wDTmOSdSbc"
52
- ],
53
- "interactivity": 1
54
- },
55
- "../client/index.cjs": {
56
- "size": 292,
57
- "total": 97490,
58
- "imports": [
59
- "../client-setup-C_qW_ZSR.cjs",
60
- "../stencil-csr-D6zt1Am9.cjs"
61
- ],
62
- "origins": [
63
- "src/client/index.ts"
64
- ],
65
- "interactivity": 0
66
- },
67
- "../core.min-vJ4M2jcU.cjs": {
68
- "size": 47628,
69
- "total": 47628,
70
- "origins": [
71
- "../../node_modules/.pnpm/@builder.io+qwik@1.19.2_vite@7.3.1_@types+node@24.12.2_jiti@2.6.1_less@4.6.4_sass-embed_54598029890757b54ef2be1db2d0e489/node_modules/@builder.io/qwik/dist/core.min.mjs"
19
+ "src/client/client-setup.ts",
20
+ "src/client/index.ts",
21
+ "src/client/stencil-csr-props.ts",
22
+ "src/client/stencil-csr.tsx"
72
23
  ],
73
24
  "interactivity": 0
74
25
  },
75
- "../index.qwik.cjs": {
76
- "size": 10553,
77
- "total": 10553,
26
+ "../index.qwik.mjs": {
27
+ "size": 17179,
28
+ "total": 17179,
78
29
  "origins": [
79
30
  "src/index.ts"
80
31
  ],
81
32
  "interactivity": 0
82
33
  },
83
- "../preloader-Cqc--uBU.cjs": {
84
- "size": 2585,
85
- "total": 2585,
86
- "origins": [
87
- "../../node_modules/.pnpm/@builder.io+qwik@1.19.2_vite@7.3.1_@types+node@24.12.2_jiti@2.6.1_less@4.6.4_sass-embed_54598029890757b54ef2be1db2d0e489/node_modules/@builder.io/qwik/dist/preloader.mjs"
88
- ],
89
- "interactivity": 0
90
- },
91
- "../qwikloader-vFGnpgvG.cjs": {
92
- "size": 3113,
93
- "total": 3113,
34
+ "../qwikloader-BOWbeQFD.js": {
35
+ "size": 4478,
36
+ "total": 4478,
94
37
  "origins": [
95
38
  "../../node_modules/.pnpm/@builder.io+qwik@1.19.2_vite@7.3.1_@types+node@24.12.2_jiti@2.6.1_less@4.6.4_sass-embed_54598029890757b54ef2be1db2d0e489/node_modules/@builder.io/qwik/dist/qwikloader.js"
96
39
  ],
97
40
  "interactivity": 0
98
41
  },
99
- "../ssr/index.cjs": {
100
- "size": 1127,
101
- "total": 51273,
102
- "imports": [
103
- "../stencil-ssr-UlYtcG0-.cjs"
104
- ],
42
+ "../ssr/index.qwik.mjs": {
43
+ "size": 12551,
44
+ "total": 12551,
105
45
  "origins": [
106
46
  "src/ssr/element-props-utils.ts",
107
- "src/ssr/index.ts"
108
- ],
109
- "interactivity": 0
110
- },
111
- "../stencil-csr-D6zt1Am9.cjs": {
112
- "size": 637,
113
- "total": 48265,
114
- "imports": [
115
- "../core.min-vJ4M2jcU.cjs"
116
- ],
117
- "dynamicImports": [
118
- "../stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-cGN__hqm.cjs"
119
- ],
120
- "origins": [
121
- "src/client/stencil-csr.tsx"
122
- ],
123
- "interactivity": 0
124
- },
125
- "../stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0-cGN__hqm.cjs": {
126
- "size": 768,
127
- "total": 48396,
128
- "imports": [
129
- "../core.min-vJ4M2jcU.cjs"
130
- ],
131
- "dynamicImports": [
132
- "../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-sFN0uMI_.cjs",
133
- "../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-BSsN2V78.cjs"
134
- ],
135
- "origins": [
136
- "src/client/stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0.js"
137
- ],
138
- "symbols": [
139
- "s_pD3ekIZcUT0"
140
- ],
141
- "interactivity": 2
142
- },
143
- "../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk-sFN0uMI_.cjs": {
144
- "size": 728,
145
- "total": 96621,
146
- "imports": [
147
- "../core.min-vJ4M2jcU.cjs",
148
- "../stencil-csr-D6zt1Am9.cjs"
149
- ],
150
- "origins": [
151
- "src/client/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk.js"
152
- ],
153
- "symbols": [
154
- "s_dqWPXf9eNnk"
155
- ],
156
- "interactivity": 3
157
- },
158
- "../stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8-BSsN2V78.cjs": {
159
- "size": 393,
160
- "total": 48021,
161
- "imports": [
162
- "../core.min-vJ4M2jcU.cjs"
163
- ],
164
- "origins": [
165
- "src/client/stencil-csr-props.ts",
166
- "src/client/stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8.js"
167
- ],
168
- "symbols": [
169
- "s_y00qkhhKua8"
170
- ],
171
- "interactivity": 3
172
- },
173
- "../stencil-ssr-UlYtcG0-.cjs": {
174
- "size": 2518,
175
- "total": 50146,
176
- "imports": [
177
- "../core.min-vJ4M2jcU.cjs"
178
- ],
179
- "dynamicImports": [
180
- "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-46y8eTjO.cjs"
181
- ],
182
- "origins": [
47
+ "src/ssr/index.ts",
183
48
  "src/ssr/stencil-ssr.tsx",
184
49
  "src/ssr/styles-core.ts"
185
50
  ],
186
51
  "interactivity": 0
187
- },
188
- "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0-46y8eTjO.cjs": {
189
- "size": 1022,
190
- "total": 48650,
191
- "imports": [
192
- "../core.min-vJ4M2jcU.cjs"
193
- ],
194
- "dynamicImports": [
195
- "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DA73DRke.cjs",
196
- "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-61dSP-JG.cjs",
197
- "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-DNQBT8Vc.cjs"
198
- ],
199
- "origins": [
200
- "src/ssr/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0.js"
201
- ],
202
- "symbols": [
203
- "s_IlVdOHKZfN0"
204
- ],
205
- "interactivity": 2
206
- },
207
- "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q-DA73DRke.cjs": {
208
- "size": 200,
209
- "total": 47828,
210
- "imports": [
211
- "../core.min-vJ4M2jcU.cjs"
212
- ],
213
- "origins": [
214
- "src/ssr/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q.js"
215
- ],
216
- "symbols": [
217
- "s_bvALMlewx7Q"
218
- ],
219
- "interactivity": 1
220
- },
221
- "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc-61dSP-JG.cjs": {
222
- "size": 805,
223
- "total": 98579,
224
- "imports": [
225
- "../core.min-vJ4M2jcU.cjs",
226
- "../stencil-ssr-UlYtcG0-.cjs"
227
- ],
228
- "origins": [
229
- "src/ssr/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc.js"
230
- ],
231
- "symbols": [
232
- "s_aXg7AuatGTc"
233
- ],
234
- "interactivity": 3
235
- },
236
- "../stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0-DNQBT8Vc.cjs": {
237
- "size": 390,
238
- "total": 149437,
239
- "imports": [
240
- "../core.min-vJ4M2jcU.cjs",
241
- "../ssr/index.cjs",
242
- "../stencil-ssr-UlYtcG0-.cjs"
243
- ],
244
- "origins": [
245
- "src/ssr/stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0.js"
246
- ],
247
- "symbols": [
248
- "s_IH8I3eLdwI0"
249
- ],
250
- "interactivity": 3
251
52
  }
252
53
  },
253
54
  "assets": {
254
55
  "bundle-graph.json": {
255
56
  "name": "bundle-graph.json",
256
- "size": 66
257
- }
258
- },
259
- "symbols": {
260
- "s_IH8I3eLdwI0": {
261
- "displayName": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask",
262
- "hash": "IH8I3eLdwI0",
263
- "ctxKind": "function",
264
- "ctxName": "useTask$",
265
- "captures": true,
266
- "canonicalFilename": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_IH8I3eLdwI0",
267
- "parent": "s_IlVdOHKZfN0",
268
- "origin": "ssr/stencil-ssr.tsx",
269
- "loc": [
270
- 6564,
271
- 6866
272
- ]
273
- },
274
- "s_aXg7AuatGTc": {
275
- "displayName": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1",
276
- "hash": "aXg7AuatGTc",
277
- "ctxKind": "function",
278
- "ctxName": "useTask$",
279
- "captures": true,
280
- "canonicalFilename": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useTask_1_aXg7AuatGTc",
281
- "parent": "s_IlVdOHKZfN0",
282
- "origin": "ssr/stencil-ssr.tsx",
283
- "loc": [
284
- 6885,
285
- 8472
286
- ]
287
- },
288
- "s_dqWPXf9eNnk": {
289
- "displayName": "stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1",
290
- "hash": "dqWPXf9eNnk",
291
- "ctxKind": "function",
292
- "ctxName": "useVisibleTask$",
293
- "captures": true,
294
- "canonicalFilename": "stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_1_dqWPXf9eNnk",
295
- "parent": "s_pD3ekIZcUT0",
296
- "origin": "client/stencil-csr.tsx",
297
- "loc": [
298
- 1790,
299
- 3165
300
- ]
301
- },
302
- "s_y00qkhhKua8": {
303
- "displayName": "stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask",
304
- "hash": "y00qkhhKua8",
305
- "ctxKind": "function",
306
- "ctxName": "useVisibleTask$",
307
- "captures": true,
308
- "canonicalFilename": "stencil-csr.tsx_createStencilCSRComponent_component_useVisibleTask_y00qkhhKua8",
309
- "parent": "s_pD3ekIZcUT0",
310
- "origin": "client/stencil-csr.tsx",
311
- "loc": [
312
- 1588,
313
- 1764
314
- ]
315
- },
316
- "s_IlVdOHKZfN0": {
317
- "displayName": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component",
318
- "hash": "IlVdOHKZfN0",
319
- "ctxKind": "function",
320
- "ctxName": "component$",
321
- "captures": true,
322
- "canonicalFilename": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_IlVdOHKZfN0",
323
- "parent": null,
324
- "origin": "ssr/stencil-ssr.tsx",
325
- "loc": [
326
- 6021,
327
- 11953
328
- ]
329
- },
330
- "s_pD3ekIZcUT0": {
331
- "displayName": "stencil-csr.tsx_createStencilCSRComponent_component",
332
- "hash": "pD3ekIZcUT0",
333
- "ctxKind": "function",
334
- "ctxName": "component$",
335
- "captures": false,
336
- "canonicalFilename": "stencil-csr.tsx_createStencilCSRComponent_component_pD3ekIZcUT0",
337
- "parent": null,
338
- "origin": "client/stencil-csr.tsx",
339
- "loc": [
340
- 1424,
341
- 3512
342
- ]
343
- },
344
- "s_6wDTmOSdSbc": {
345
- "displayName": "client-setup.ts_createStencilClientSetup_runSetup",
346
- "hash": "6wDTmOSdSbc",
347
- "ctxKind": "function",
348
- "ctxName": "$",
349
- "captures": true,
350
- "canonicalFilename": "client-setup.ts_createStencilClientSetup_runSetup_6wDTmOSdSbc",
351
- "parent": null,
352
- "origin": "client/client-setup.ts",
353
- "loc": [
354
- 4466,
355
- 4586
356
- ]
357
- },
358
- "s_bvALMlewx7Q": {
359
- "displayName": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument",
360
- "hash": "bvALMlewx7Q",
361
- "ctxKind": "function",
362
- "ctxName": "$",
363
- "captures": true,
364
- "canonicalFilename": "stencil-ssr.tsx_createStencilSSRBridgeComponent_component_useOnDocument_bvALMlewx7Q",
365
- "parent": "s_IlVdOHKZfN0",
366
- "origin": "ssr/stencil-ssr.tsx",
367
- "loc": [
368
- 6315,
369
- 6368
370
- ]
57
+ "size": 0
371
58
  }
372
59
  },
373
- "qwikLoader": "../qwikloader-vFGnpgvG.cjs",
60
+ "symbols": {},
61
+ "qwikLoader": "../qwikloader-BOWbeQFD.js",
374
62
  "platform": {
375
63
  "vite": "",
376
64
  "rollup": "4.60.1",
377
65
  "env": "node",
378
66
  "os": "linux",
379
- "node": "24.16.0"
67
+ "node": "24.18.0"
380
68
  }
381
69
  }
@@ -0,0 +1,101 @@
1
+ const t = document, e = window, n = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set([t]);
2
+ let r;
3
+ const s = (t2, e2) => Array.from(t2.querySelectorAll(e2)), a = (t2) => {
4
+ const e2 = [];
5
+ return o.forEach((n2) => e2.push(...s(n2, t2))), e2;
6
+ }, i = (t2) => {
7
+ w(t2), s(t2, "[q\\:shadowroot]").forEach((t3) => {
8
+ const e2 = t3.shadowRoot;
9
+ e2 && i(e2);
10
+ });
11
+ }, c = (t2) => t2 && "function" == typeof t2.then, l = (t2, e2, n2 = e2.type) => {
12
+ a("[on" + t2 + "\\:" + n2 + "]").forEach((o2) => {
13
+ b(o2, t2, e2, n2);
14
+ });
15
+ }, f = (e2) => {
16
+ if (void 0 === e2._qwikjson_) {
17
+ let n2 = (e2 === t.documentElement ? t.body : e2).lastElementChild;
18
+ for (; n2; ) {
19
+ if ("SCRIPT" === n2.tagName && "qwik/json" === n2.getAttribute("type")) {
20
+ e2._qwikjson_ = JSON.parse(n2.textContent.replace(/\\x3C(\/?script)/gi, "<$1"));
21
+ break;
22
+ }
23
+ n2 = n2.previousElementSibling;
24
+ }
25
+ }
26
+ }, p = (t2, e2) => new CustomEvent(t2, { detail: e2 }), b = async (e2, n2, o2, r2 = o2.type) => {
27
+ const s2 = "on" + n2 + ":" + r2;
28
+ e2.hasAttribute("preventdefault:" + r2) && o2.preventDefault(), e2.hasAttribute("stoppropagation:" + r2) && o2.stopPropagation();
29
+ const a2 = e2._qc_, i2 = a2 && a2.li.filter((t2) => t2[0] === s2);
30
+ if (i2 && i2.length > 0) {
31
+ for (const t2 of i2) {
32
+ const n3 = t2[1].getFn([e2, o2], () => e2.isConnected)(o2, e2), r3 = o2.cancelBubble;
33
+ c(n3) && await n3, r3 && o2.stopPropagation();
34
+ }
35
+ return;
36
+ }
37
+ const l2 = e2.getAttribute(s2);
38
+ if (l2) {
39
+ const n3 = e2.closest("[q\\:container]"), r3 = n3.getAttribute("q:base"), s3 = n3.getAttribute("q:version") || "unknown", a3 = n3.getAttribute("q:manifest-hash") || "dev", i3 = new URL(r3, t.baseURI);
40
+ for (const p2 of l2.split("\n")) {
41
+ const l3 = new URL(p2, i3), b2 = l3.href, h2 = l3.hash.replace(/^#?([^?[|]*).*$/, "$1") || "default", q2 = performance.now();
42
+ let _2, d2, y2;
43
+ const w2 = p2.startsWith("#"), g = { qBase: r3, qManifest: a3, qVersion: s3, href: b2, symbol: h2, element: e2, reqTime: q2 };
44
+ if (w2) {
45
+ const e3 = n3.getAttribute("q:instance");
46
+ _2 = (t["qFuncs_" + e3] || [])[Number.parseInt(h2)], _2 || (d2 = "sync", y2 = Error("sym:" + h2));
47
+ } else {
48
+ u("qsymbol", g);
49
+ const t2 = l3.href.split("#")[0];
50
+ try {
51
+ const e3 = import(t2);
52
+ f(n3), _2 = (await e3)[h2], _2 || (d2 = "no-symbol", y2 = Error(`${h2} not in ${t2}`));
53
+ } catch (t3) {
54
+ d2 || (d2 = "async"), y2 = t3;
55
+ }
56
+ }
57
+ if (!_2) {
58
+ u("qerror", { importError: d2, error: y2, ...g }), console.error(y2);
59
+ break;
60
+ }
61
+ const m = t.__q_context__;
62
+ if (e2.isConnected) try {
63
+ t.__q_context__ = [e2, o2, l3];
64
+ const n4 = _2(o2, e2);
65
+ c(n4) && await n4;
66
+ } catch (t2) {
67
+ u("qerror", { error: t2, ...g });
68
+ } finally {
69
+ t.__q_context__ = m;
70
+ }
71
+ }
72
+ }
73
+ }, u = (e2, n2) => {
74
+ t.dispatchEvent(p(e2, n2));
75
+ }, h = (t2) => t2.replace(/([A-Z])/g, (t3) => "-" + t3.toLowerCase()), q = async (t2) => {
76
+ let e2 = h(t2.type), n2 = t2.target;
77
+ for (l("-document", t2, e2); n2 && n2.getAttribute; ) {
78
+ const o2 = b(n2, "", t2, e2);
79
+ let r2 = t2.cancelBubble;
80
+ c(o2) && await o2, r2 || (r2 = r2 || t2.cancelBubble || n2.hasAttribute("stoppropagation:" + t2.type)), n2 = t2.bubbles && true !== r2 ? n2.parentElement : null;
81
+ }
82
+ }, _ = (t2) => {
83
+ l("-window", t2, h(t2.type));
84
+ }, d = () => {
85
+ const s2 = t.readyState;
86
+ if (!r && ("interactive" == s2 || "complete" == s2) && (o.forEach(i), r = 1, u("qinit"), (e.requestIdleCallback ?? e.setTimeout).bind(e)(() => u("qidle")), n.has("qvisible"))) {
87
+ const t2 = a("[on\\:qvisible]"), e2 = new IntersectionObserver((t3) => {
88
+ for (const n2 of t3) n2.isIntersecting && (e2.unobserve(n2.target), b(n2.target, "", p("qvisible", n2)));
89
+ });
90
+ t2.forEach((t3) => e2.observe(t3));
91
+ }
92
+ }, y = (t2, e2, n2, o2 = false) => {
93
+ t2.addEventListener(e2, n2, { capture: o2, passive: false });
94
+ }, w = (...t2) => {
95
+ for (const r2 of t2) "string" == typeof r2 ? n.has(r2) || (o.forEach((t3) => y(t3, r2, q, true)), y(e, r2, _, true), n.add(r2)) : o.has(r2) || (n.forEach((t3) => y(r2, t3, q, true)), o.add(r2));
96
+ };
97
+ if (!("__q_context__" in t)) {
98
+ t.__q_context__ = 0;
99
+ const r2 = e.qwikevents;
100
+ r2 && (Array.isArray(r2) ? w(...r2) : w("click", "input")), e.qwikevents = { events: n, roots: o, push: w }, y(t, "readystatechange", d), d();
101
+ }