@k-4u/resource-mapper-core 0.0.1

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 (250) hide show
  1. package/.aws-icons-last-updated +1 -0
  2. package/.svelte-kit/ambient.d.ts +263 -0
  3. package/.svelte-kit/generated/client/app.js +31 -0
  4. package/.svelte-kit/generated/client/matchers.js +1 -0
  5. package/.svelte-kit/generated/client/nodes/0.js +1 -0
  6. package/.svelte-kit/generated/client/nodes/1.js +1 -0
  7. package/.svelte-kit/generated/client/nodes/2.js +3 -0
  8. package/.svelte-kit/generated/client/nodes/3.js +3 -0
  9. package/.svelte-kit/generated/client-optimized/app.js +31 -0
  10. package/.svelte-kit/generated/client-optimized/matchers.js +1 -0
  11. package/.svelte-kit/generated/client-optimized/nodes/0.js +1 -0
  12. package/.svelte-kit/generated/client-optimized/nodes/1.js +1 -0
  13. package/.svelte-kit/generated/client-optimized/nodes/2.js +3 -0
  14. package/.svelte-kit/generated/client-optimized/nodes/3.js +3 -0
  15. package/.svelte-kit/generated/root.js +3 -0
  16. package/.svelte-kit/generated/root.svelte +68 -0
  17. package/.svelte-kit/generated/server/internal.js +53 -0
  18. package/.svelte-kit/non-ambient.d.ts +43 -0
  19. package/.svelte-kit/output/client/.vite/manifest.json +175 -0
  20. package/.svelte-kit/output/client/_app/immutable/assets/0.Czt_67iE.css +1 -0
  21. package/.svelte-kit/output/client/_app/immutable/assets/TeamContactCard.Dxj5nUCr.css +1 -0
  22. package/.svelte-kit/output/client/_app/immutable/assets/helpers.ysDrpaDf.css +1 -0
  23. package/.svelte-kit/output/client/_app/immutable/assets/libavoid.DQJapW5w.wasm +0 -0
  24. package/.svelte-kit/output/client/_app/immutable/chunks/BlLuv0eP.js +46 -0
  25. package/.svelte-kit/output/client/_app/immutable/chunks/CSBHmwYv.js +1 -0
  26. package/.svelte-kit/output/client/_app/immutable/chunks/CTCi5ueQ.js +1 -0
  27. package/.svelte-kit/output/client/_app/immutable/chunks/CfOzjaik.js +2 -0
  28. package/.svelte-kit/output/client/_app/immutable/chunks/D4PdvFNs.js +1 -0
  29. package/.svelte-kit/output/client/_app/immutable/chunks/DXgP-QUS.js +2 -0
  30. package/.svelte-kit/output/client/_app/immutable/chunks/DlbDC5An.js +1 -0
  31. package/.svelte-kit/output/client/_app/immutable/chunks/wRWe7aK9.js +1 -0
  32. package/.svelte-kit/output/client/_app/immutable/entry/app.ConrMuHl.js +2 -0
  33. package/.svelte-kit/output/client/_app/immutable/entry/start.Bm6FyGme.js +1 -0
  34. package/.svelte-kit/output/client/_app/immutable/nodes/0.d3cL-ETU.js +1 -0
  35. package/.svelte-kit/output/client/_app/immutable/nodes/1.D6z9rPGv.js +1 -0
  36. package/.svelte-kit/output/client/_app/immutable/nodes/2.CLD-8chl.js +1 -0
  37. package/.svelte-kit/output/client/_app/immutable/nodes/3.DXYeBoel.js +1 -0
  38. package/.svelte-kit/output/client/_app/version.json +1 -0
  39. package/.svelte-kit/output/client/libavoid.wasm +0 -0
  40. package/.svelte-kit/output/client/static/robots.txt +3 -0
  41. package/.svelte-kit/output/prerendered/dependencies/_app/env.js +1 -0
  42. package/.svelte-kit/output/server/.vite/manifest.json +224 -0
  43. package/.svelte-kit/output/server/_app/immutable/assets/LoadingOverlay.DBbe6V8W.css +1 -0
  44. package/.svelte-kit/output/server/_app/immutable/assets/_layout.Czt_67iE.css +1 -0
  45. package/.svelte-kit/output/server/_app/immutable/assets/_page.D9P41uDZ.css +1 -0
  46. package/.svelte-kit/output/server/chunks/ErrorDisplay.js +59 -0
  47. package/.svelte-kit/output/server/chunks/LoadingOverlay.js +12 -0
  48. package/.svelte-kit/output/server/chunks/LoadingOverlay.svelte_svelte_type_style_lang.js +1671 -0
  49. package/.svelte-kit/output/server/chunks/connections.js +33 -0
  50. package/.svelte-kit/output/server/chunks/diagram.js +7 -0
  51. package/.svelte-kit/output/server/chunks/environment.js +34 -0
  52. package/.svelte-kit/output/server/chunks/equality.js +57 -0
  53. package/.svelte-kit/output/server/chunks/exports.js +174 -0
  54. package/.svelte-kit/output/server/chunks/false.js +4 -0
  55. package/.svelte-kit/output/server/chunks/index.js +59 -0
  56. package/.svelte-kit/output/server/chunks/index2.js +2939 -0
  57. package/.svelte-kit/output/server/chunks/index3.js +20 -0
  58. package/.svelte-kit/output/server/chunks/internal.js +1017 -0
  59. package/.svelte-kit/output/server/chunks/shared.js +770 -0
  60. package/.svelte-kit/output/server/chunks/utils.js +43 -0
  61. package/.svelte-kit/output/server/entries/pages/_error.svelte.js +64 -0
  62. package/.svelte-kit/output/server/entries/pages/_layout.svelte.js +65 -0
  63. package/.svelte-kit/output/server/entries/pages/_page.svelte.js +3991 -0
  64. package/.svelte-kit/output/server/entries/pages/_page.ts.js +30 -0
  65. package/.svelte-kit/output/server/entries/pages/group/_groupId_/_page.svelte.js +67 -0
  66. package/.svelte-kit/output/server/entries/pages/group/_groupId_/_page.ts.js +47 -0
  67. package/.svelte-kit/output/server/index.js +3747 -0
  68. package/.svelte-kit/output/server/internal.js +13 -0
  69. package/.svelte-kit/output/server/manifest-full.js +47 -0
  70. package/.svelte-kit/output/server/manifest.js +47 -0
  71. package/.svelte-kit/output/server/nodes/0.js +8 -0
  72. package/.svelte-kit/output/server/nodes/1.js +8 -0
  73. package/.svelte-kit/output/server/nodes/2.js +10 -0
  74. package/.svelte-kit/output/server/nodes/3.js +10 -0
  75. package/.svelte-kit/output/server/remote-entry.js +557 -0
  76. package/.svelte-kit/tsconfig.json +61 -0
  77. package/.svelte-kit/types/route_meta_data.json +8 -0
  78. package/.svelte-kit/types/src/routes/$types.d.ts +26 -0
  79. package/.svelte-kit/types/src/routes/group/[groupId]/$types.d.ts +21 -0
  80. package/.svelte-kit/types/src/routes/group/[groupId]/proxy+page.ts +49 -0
  81. package/.svelte-kit/types/src/routes/proxy+page.ts +33 -0
  82. package/build/_app/env.js +1 -0
  83. package/build/_app/env.js.br +1 -0
  84. package/build/_app/env.js.gz +0 -0
  85. package/build/_app/immutable/assets/0.Czt_67iE.css +1 -0
  86. package/build/_app/immutable/assets/0.Czt_67iE.css.br +0 -0
  87. package/build/_app/immutable/assets/0.Czt_67iE.css.gz +0 -0
  88. package/build/_app/immutable/assets/TeamContactCard.Dxj5nUCr.css +1 -0
  89. package/build/_app/immutable/assets/TeamContactCard.Dxj5nUCr.css.br +0 -0
  90. package/build/_app/immutable/assets/TeamContactCard.Dxj5nUCr.css.gz +0 -0
  91. package/build/_app/immutable/assets/helpers.ysDrpaDf.css +1 -0
  92. package/build/_app/immutable/assets/helpers.ysDrpaDf.css.br +0 -0
  93. package/build/_app/immutable/assets/helpers.ysDrpaDf.css.gz +0 -0
  94. package/build/_app/immutable/assets/libavoid.DQJapW5w.wasm +0 -0
  95. package/build/_app/immutable/assets/libavoid.DQJapW5w.wasm.br +0 -0
  96. package/build/_app/immutable/assets/libavoid.DQJapW5w.wasm.gz +0 -0
  97. package/build/_app/immutable/chunks/BlLuv0eP.js +46 -0
  98. package/build/_app/immutable/chunks/BlLuv0eP.js.br +0 -0
  99. package/build/_app/immutable/chunks/BlLuv0eP.js.gz +0 -0
  100. package/build/_app/immutable/chunks/CSBHmwYv.js +1 -0
  101. package/build/_app/immutable/chunks/CSBHmwYv.js.br +0 -0
  102. package/build/_app/immutable/chunks/CSBHmwYv.js.gz +0 -0
  103. package/build/_app/immutable/chunks/CTCi5ueQ.js +1 -0
  104. package/build/_app/immutable/chunks/CTCi5ueQ.js.br +0 -0
  105. package/build/_app/immutable/chunks/CTCi5ueQ.js.gz +0 -0
  106. package/build/_app/immutable/chunks/CfOzjaik.js +2 -0
  107. package/build/_app/immutable/chunks/CfOzjaik.js.br +0 -0
  108. package/build/_app/immutable/chunks/CfOzjaik.js.gz +0 -0
  109. package/build/_app/immutable/chunks/D4PdvFNs.js +1 -0
  110. package/build/_app/immutable/chunks/D4PdvFNs.js.br +0 -0
  111. package/build/_app/immutable/chunks/D4PdvFNs.js.gz +0 -0
  112. package/build/_app/immutable/chunks/DXgP-QUS.js +2 -0
  113. package/build/_app/immutable/chunks/DXgP-QUS.js.br +0 -0
  114. package/build/_app/immutable/chunks/DXgP-QUS.js.gz +0 -0
  115. package/build/_app/immutable/chunks/DlbDC5An.js +1 -0
  116. package/build/_app/immutable/chunks/DlbDC5An.js.br +0 -0
  117. package/build/_app/immutable/chunks/DlbDC5An.js.gz +0 -0
  118. package/build/_app/immutable/chunks/wRWe7aK9.js +1 -0
  119. package/build/_app/immutable/chunks/wRWe7aK9.js.br +0 -0
  120. package/build/_app/immutable/chunks/wRWe7aK9.js.gz +0 -0
  121. package/build/_app/immutable/entry/app.ConrMuHl.js +2 -0
  122. package/build/_app/immutable/entry/app.ConrMuHl.js.br +0 -0
  123. package/build/_app/immutable/entry/app.ConrMuHl.js.gz +0 -0
  124. package/build/_app/immutable/entry/start.Bm6FyGme.js +1 -0
  125. package/build/_app/immutable/entry/start.Bm6FyGme.js.br +2 -0
  126. package/build/_app/immutable/entry/start.Bm6FyGme.js.gz +0 -0
  127. package/build/_app/immutable/nodes/0.d3cL-ETU.js +1 -0
  128. package/build/_app/immutable/nodes/0.d3cL-ETU.js.br +0 -0
  129. package/build/_app/immutable/nodes/0.d3cL-ETU.js.gz +0 -0
  130. package/build/_app/immutable/nodes/1.D6z9rPGv.js +1 -0
  131. package/build/_app/immutable/nodes/1.D6z9rPGv.js.br +0 -0
  132. package/build/_app/immutable/nodes/1.D6z9rPGv.js.gz +0 -0
  133. package/build/_app/immutable/nodes/2.CLD-8chl.js +1 -0
  134. package/build/_app/immutable/nodes/2.CLD-8chl.js.br +0 -0
  135. package/build/_app/immutable/nodes/2.CLD-8chl.js.gz +0 -0
  136. package/build/_app/immutable/nodes/3.DXYeBoel.js +1 -0
  137. package/build/_app/immutable/nodes/3.DXYeBoel.js.br +0 -0
  138. package/build/_app/immutable/nodes/3.DXYeBoel.js.gz +0 -0
  139. package/build/_app/version.json +1 -0
  140. package/build/_app/version.json.br +0 -0
  141. package/build/_app/version.json.gz +0 -0
  142. package/build/index.html +34 -0
  143. package/build/index.html.br +0 -0
  144. package/build/index.html.gz +0 -0
  145. package/build/libavoid.wasm +0 -0
  146. package/build/libavoid.wasm.br +0 -0
  147. package/build/libavoid.wasm.gz +0 -0
  148. package/build/static/robots.txt +3 -0
  149. package/coverage/coverage-final.json +6 -0
  150. package/coverage/coverage-summary.json +7 -0
  151. package/coverage/junit.xml +57 -0
  152. package/coverage/lcov-report/base.css +224 -0
  153. package/coverage/lcov-report/block-navigation.js +87 -0
  154. package/coverage/lcov-report/favicon.png +0 -0
  155. package/coverage/lcov-report/index.html +131 -0
  156. package/coverage/lcov-report/prettify.css +1 -0
  157. package/coverage/lcov-report/prettify.js +2 -0
  158. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  159. package/coverage/lcov-report/sorter.js +210 -0
  160. package/coverage/lcov-report/stores/index.html +116 -0
  161. package/coverage/lcov-report/stores/routingStore.ts.html +781 -0
  162. package/coverage/lcov-report/utils/flow/helpers.ts.html +127 -0
  163. package/coverage/lcov-report/utils/flow/index.html +161 -0
  164. package/coverage/lcov-report/utils/flow/layout.ts.html +805 -0
  165. package/coverage/lcov-report/utils/flow/serviceIds.ts.html +97 -0
  166. package/coverage/lcov-report/utils/flow/servicesGraph.ts.html +859 -0
  167. package/coverage/lcov.info +646 -0
  168. package/coverage/test-results.json +1 -0
  169. package/data/services/api/api-gateway.yaml +18 -0
  170. package/data/services/api/group-info.yaml +7 -0
  171. package/data/services/api/lambda-orders.yaml +21 -0
  172. package/data/services/api/lambda-products.yaml +15 -0
  173. package/data/services/api/lambda-users.yaml +15 -0
  174. package/data/services/compute/alb.yaml +15 -0
  175. package/data/services/compute/ecs-inventory.yaml +16 -0
  176. package/data/services/compute/ecs-notification.yaml +15 -0
  177. package/data/services/compute/group-info.yaml +7 -0
  178. package/data/services/data/dynamodb-notifications.yaml +12 -0
  179. package/data/services/data/dynamodb-orders.yaml +9 -0
  180. package/data/services/data/dynamodb-products.yaml +9 -0
  181. package/data/services/data/dynamodb-users.yaml +9 -0
  182. package/data/services/data/group-info.yaml +7 -0
  183. package/data/services/data/rds-postgres.yaml +9 -0
  184. package/data/services/data/redis.yaml +10 -0
  185. package/data/services/frontend/cloudfront.yaml +12 -0
  186. package/data/services/frontend/group-info.yaml +7 -0
  187. package/data/services/frontend/route53.yaml +15 -0
  188. package/data/services/frontend/s3-website.yaml +9 -0
  189. package/data/teams/cloud-shepherds.yaml +15 -0
  190. package/data/teams/data-wizards.yaml +15 -0
  191. package/data/teams/interface-architects.yaml +19 -0
  192. package/e2e/demo.test.ts +54 -0
  193. package/e2e/header-toolbar.simple.spec.ts +0 -0
  194. package/e2e/header-toolbar.spec.ts +53 -0
  195. package/e2e/layout.spec.ts +30 -0
  196. package/package.json +69 -0
  197. package/playwright.config.ts +10 -0
  198. package/plugins/mapper-data-plugin.ts +32 -0
  199. package/project.json +23 -0
  200. package/src/app.css +125 -0
  201. package/src/app.d.ts +31 -0
  202. package/src/app.html +11 -0
  203. package/src/lib/assets/favicon.svg +19 -0
  204. package/src/lib/components/EmptyState.svelte +37 -0
  205. package/src/lib/components/ErrorDisplay.svelte +82 -0
  206. package/src/lib/components/FlowCanvas.svelte +223 -0
  207. package/src/lib/components/GenericSidebarCard.svelte +44 -0
  208. package/src/lib/components/GroupDetailSidebar.svelte +31 -0
  209. package/src/lib/components/Header.svelte +57 -0
  210. package/src/lib/components/Legend.svelte +25 -0
  211. package/src/lib/components/LoadingOverlay.svelte +42 -0
  212. package/src/lib/components/LoadingSpinner.svelte +10 -0
  213. package/src/lib/components/ServiceDetailSidebar.svelte +90 -0
  214. package/src/lib/components/TeamContactCard.svelte +166 -0
  215. package/src/lib/components/flow/ExternalNode.svelte +45 -0
  216. package/src/lib/components/flow/MainGroupNode.svelte +24 -0
  217. package/src/lib/components/flow/ServiceGroupNode.svelte +17 -0
  218. package/src/lib/components/flow/ServiceNode.svelte +40 -0
  219. package/src/lib/components/flow/SnakeEdge.svelte +206 -0
  220. package/src/lib/components/flow/index.ts +6 -0
  221. package/src/lib/components/index.ts +12 -0
  222. package/src/lib/data/connections.ts +26 -0
  223. package/src/lib/data/groups.ts +11 -0
  224. package/src/lib/data/services.ts +12 -0
  225. package/src/lib/data/teams.ts +11 -0
  226. package/src/lib/index.ts +1 -0
  227. package/src/lib/state/theme.svelte.ts +21 -0
  228. package/src/lib/stores/diagram.ts +6 -0
  229. package/src/lib/stores/routingStore.test.ts +133 -0
  230. package/src/lib/stores/routingStore.ts +232 -0
  231. package/src/lib/utils/awsIcons.ts +117 -0
  232. package/src/lib/utils/flow/groupOverviewGraph.ts +73 -0
  233. package/src/lib/utils/flow/helpers.ts +14 -0
  234. package/src/lib/utils/flow/layout.test.ts +271 -0
  235. package/src/lib/utils/flow/layout.ts +240 -0
  236. package/src/lib/utils/flow/serviceIds.ts +5 -0
  237. package/src/lib/utils/flow/servicesGraph.test.ts +119 -0
  238. package/src/lib/utils/flow/servicesGraph.ts +258 -0
  239. package/src/routes/+error.svelte +36 -0
  240. package/src/routes/+layout.svelte +27 -0
  241. package/src/routes/+page.svelte +81 -0
  242. package/src/routes/+page.ts +31 -0
  243. package/src/routes/group/[groupId]/+page.svelte +102 -0
  244. package/src/routes/group/[groupId]/+page.ts +48 -0
  245. package/src/routes/layout.css +0 -0
  246. package/static/static/robots.txt +3 -0
  247. package/svelte.config.js +28 -0
  248. package/tailwind.config.js +12 -0
  249. package/tsconfig.json +22 -0
  250. package/vite.config.ts +81 -0
@@ -0,0 +1,1017 @@
1
+ import { H as HYDRATION_ERROR, C as COMMENT_NODE, a as HYDRATION_END, b as HYDRATION_START, c as HYDRATION_START_ELSE, g as get_next_sibling, e as effect_tracking, d as get, r as render_effect, s as source, u as untrack, i as increment, q as queue_micro_task, f as active_effect, h as block, j as branch, B as Batch, p as pause_effect, k as create_text, l as defer_effect, m as set_active_effect, n as set_active_reaction, o as set_component_context, t as handle_error, v as active_reaction, w as component_context, x as move_effect, y as set_signal_status, D as DIRTY, z as schedule_effect, M as MAYBE_DIRTY, A as internal_set, E as destroy_effect, F as invoke_error_boundary, G as svelte_boundary_reset_onerror, I as EFFECT_TRANSPARENT, J as EFFECT_PRESERVED, K as BOUNDARY_EFFECT, L as init_operations, N as get_first_child, O as hydration_failed, P as clear_text_content, Q as component_root, R as is_passive_event, S as push, T as pop, U as set, V as LEGACY_PROPS, W as flushSync, X as mutable_source, Y as render, Z as setContext } from "./index2.js";
2
+ import { d as define_property, a as array_from } from "./equality.js";
3
+ import "clsx";
4
+ import "./environment.js";
5
+ let public_env = {};
6
+ function set_private_env(environment) {
7
+ }
8
+ function set_public_env(environment) {
9
+ public_env = environment;
10
+ }
11
+ function hydration_mismatch(location) {
12
+ {
13
+ console.warn(`https://svelte.dev/e/hydration_mismatch`);
14
+ }
15
+ }
16
+ function svelte_boundary_reset_noop() {
17
+ {
18
+ console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`);
19
+ }
20
+ }
21
+ let hydrating = false;
22
+ function set_hydrating(value) {
23
+ hydrating = value;
24
+ }
25
+ let hydrate_node;
26
+ function set_hydrate_node(node) {
27
+ if (node === null) {
28
+ hydration_mismatch();
29
+ throw HYDRATION_ERROR;
30
+ }
31
+ return hydrate_node = node;
32
+ }
33
+ function hydrate_next() {
34
+ return set_hydrate_node(get_next_sibling(hydrate_node));
35
+ }
36
+ function next(count = 1) {
37
+ if (hydrating) {
38
+ var i = count;
39
+ var node = hydrate_node;
40
+ while (i--) {
41
+ node = /** @type {TemplateNode} */
42
+ get_next_sibling(node);
43
+ }
44
+ hydrate_node = node;
45
+ }
46
+ }
47
+ function skip_nodes(remove = true) {
48
+ var depth = 0;
49
+ var node = hydrate_node;
50
+ while (true) {
51
+ if (node.nodeType === COMMENT_NODE) {
52
+ var data = (
53
+ /** @type {Comment} */
54
+ node.data
55
+ );
56
+ if (data === HYDRATION_END) {
57
+ if (depth === 0) return node;
58
+ depth -= 1;
59
+ } else if (data === HYDRATION_START || data === HYDRATION_START_ELSE || // "[1", "[2", etc. for if blocks
60
+ data[0] === "[" && !isNaN(Number(data.slice(1)))) {
61
+ depth += 1;
62
+ }
63
+ }
64
+ var next2 = (
65
+ /** @type {TemplateNode} */
66
+ get_next_sibling(node)
67
+ );
68
+ if (remove) node.remove();
69
+ node = next2;
70
+ }
71
+ }
72
+ function createSubscriber(start) {
73
+ let subscribers = 0;
74
+ let version = source(0);
75
+ let stop;
76
+ return () => {
77
+ if (effect_tracking()) {
78
+ get(version);
79
+ render_effect(() => {
80
+ if (subscribers === 0) {
81
+ stop = untrack(() => start(() => increment(version)));
82
+ }
83
+ subscribers += 1;
84
+ return () => {
85
+ queue_micro_task(() => {
86
+ subscribers -= 1;
87
+ if (subscribers === 0) {
88
+ stop?.();
89
+ stop = void 0;
90
+ increment(version);
91
+ }
92
+ });
93
+ };
94
+ });
95
+ }
96
+ };
97
+ }
98
+ var flags = EFFECT_TRANSPARENT | EFFECT_PRESERVED | BOUNDARY_EFFECT;
99
+ function boundary(node, props, children) {
100
+ new Boundary(node, props, children);
101
+ }
102
+ class Boundary {
103
+ /** @type {Boundary | null} */
104
+ parent;
105
+ is_pending = false;
106
+ /** @type {TemplateNode} */
107
+ #anchor;
108
+ /** @type {TemplateNode | null} */
109
+ #hydrate_open = hydrating ? hydrate_node : null;
110
+ /** @type {BoundaryProps} */
111
+ #props;
112
+ /** @type {((anchor: Node) => void)} */
113
+ #children;
114
+ /** @type {Effect} */
115
+ #effect;
116
+ /** @type {Effect | null} */
117
+ #main_effect = null;
118
+ /** @type {Effect | null} */
119
+ #pending_effect = null;
120
+ /** @type {Effect | null} */
121
+ #failed_effect = null;
122
+ /** @type {DocumentFragment | null} */
123
+ #offscreen_fragment = null;
124
+ /** @type {TemplateNode | null} */
125
+ #pending_anchor = null;
126
+ #local_pending_count = 0;
127
+ #pending_count = 0;
128
+ #pending_count_update_queued = false;
129
+ #is_creating_fallback = false;
130
+ /** @type {Set<Effect>} */
131
+ #dirty_effects = /* @__PURE__ */ new Set();
132
+ /** @type {Set<Effect>} */
133
+ #maybe_dirty_effects = /* @__PURE__ */ new Set();
134
+ /**
135
+ * A source containing the number of pending async deriveds/expressions.
136
+ * Only created if `$effect.pending()` is used inside the boundary,
137
+ * otherwise updating the source results in needless `Batch.ensure()`
138
+ * calls followed by no-op flushes
139
+ * @type {Source<number> | null}
140
+ */
141
+ #effect_pending = null;
142
+ #effect_pending_subscriber = createSubscriber(() => {
143
+ this.#effect_pending = source(this.#local_pending_count);
144
+ return () => {
145
+ this.#effect_pending = null;
146
+ };
147
+ });
148
+ /**
149
+ * @param {TemplateNode} node
150
+ * @param {BoundaryProps} props
151
+ * @param {((anchor: Node) => void)} children
152
+ */
153
+ constructor(node, props, children) {
154
+ this.#anchor = node;
155
+ this.#props = props;
156
+ this.#children = children;
157
+ this.parent = /** @type {Effect} */
158
+ active_effect.b;
159
+ this.is_pending = !!this.#props.pending;
160
+ this.#effect = block(() => {
161
+ active_effect.b = this;
162
+ if (hydrating) {
163
+ const comment = this.#hydrate_open;
164
+ hydrate_next();
165
+ const server_rendered_pending = (
166
+ /** @type {Comment} */
167
+ comment.nodeType === COMMENT_NODE && /** @type {Comment} */
168
+ comment.data === HYDRATION_START_ELSE
169
+ );
170
+ if (server_rendered_pending) {
171
+ this.#hydrate_pending_content();
172
+ } else {
173
+ this.#hydrate_resolved_content();
174
+ if (this.#pending_count === 0) {
175
+ this.is_pending = false;
176
+ }
177
+ }
178
+ } else {
179
+ var anchor = this.#get_anchor();
180
+ try {
181
+ this.#main_effect = branch(() => children(anchor));
182
+ } catch (error) {
183
+ this.error(error);
184
+ }
185
+ if (this.#pending_count > 0) {
186
+ this.#show_pending_snippet();
187
+ } else {
188
+ this.is_pending = false;
189
+ }
190
+ }
191
+ return () => {
192
+ this.#pending_anchor?.remove();
193
+ };
194
+ }, flags);
195
+ if (hydrating) {
196
+ this.#anchor = hydrate_node;
197
+ }
198
+ }
199
+ #hydrate_resolved_content() {
200
+ try {
201
+ this.#main_effect = branch(() => this.#children(this.#anchor));
202
+ } catch (error) {
203
+ this.error(error);
204
+ }
205
+ }
206
+ #hydrate_pending_content() {
207
+ const pending = this.#props.pending;
208
+ if (!pending) return;
209
+ this.#pending_effect = branch(() => pending(this.#anchor));
210
+ queue_micro_task(() => {
211
+ var anchor = this.#get_anchor();
212
+ this.#main_effect = this.#run(() => {
213
+ Batch.ensure();
214
+ return branch(() => this.#children(anchor));
215
+ });
216
+ if (this.#pending_count > 0) {
217
+ this.#show_pending_snippet();
218
+ } else {
219
+ pause_effect(
220
+ /** @type {Effect} */
221
+ this.#pending_effect,
222
+ () => {
223
+ this.#pending_effect = null;
224
+ }
225
+ );
226
+ this.is_pending = false;
227
+ }
228
+ });
229
+ }
230
+ #get_anchor() {
231
+ var anchor = this.#anchor;
232
+ if (this.is_pending) {
233
+ this.#pending_anchor = create_text();
234
+ this.#anchor.before(this.#pending_anchor);
235
+ anchor = this.#pending_anchor;
236
+ }
237
+ return anchor;
238
+ }
239
+ /**
240
+ * Defer an effect inside a pending boundary until the boundary resolves
241
+ * @param {Effect} effect
242
+ */
243
+ defer_effect(effect) {
244
+ defer_effect(effect, this.#dirty_effects, this.#maybe_dirty_effects);
245
+ }
246
+ /**
247
+ * Returns `false` if the effect exists inside a boundary whose pending snippet is shown
248
+ * @returns {boolean}
249
+ */
250
+ is_rendered() {
251
+ return !this.is_pending && (!this.parent || this.parent.is_rendered());
252
+ }
253
+ has_pending_snippet() {
254
+ return !!this.#props.pending;
255
+ }
256
+ /**
257
+ * @param {() => Effect | null} fn
258
+ */
259
+ #run(fn) {
260
+ var previous_effect = active_effect;
261
+ var previous_reaction = active_reaction;
262
+ var previous_ctx = component_context;
263
+ set_active_effect(this.#effect);
264
+ set_active_reaction(this.#effect);
265
+ set_component_context(this.#effect.ctx);
266
+ try {
267
+ return fn();
268
+ } catch (e) {
269
+ handle_error(e);
270
+ return null;
271
+ } finally {
272
+ set_active_effect(previous_effect);
273
+ set_active_reaction(previous_reaction);
274
+ set_component_context(previous_ctx);
275
+ }
276
+ }
277
+ #show_pending_snippet() {
278
+ const pending = (
279
+ /** @type {(anchor: Node) => void} */
280
+ this.#props.pending
281
+ );
282
+ if (this.#main_effect !== null) {
283
+ this.#offscreen_fragment = document.createDocumentFragment();
284
+ this.#offscreen_fragment.append(
285
+ /** @type {TemplateNode} */
286
+ this.#pending_anchor
287
+ );
288
+ move_effect(this.#main_effect, this.#offscreen_fragment);
289
+ }
290
+ if (this.#pending_effect === null) {
291
+ this.#pending_effect = branch(() => pending(this.#anchor));
292
+ }
293
+ }
294
+ /**
295
+ * Updates the pending count associated with the currently visible pending snippet,
296
+ * if any, such that we can replace the snippet with content once work is done
297
+ * @param {1 | -1} d
298
+ */
299
+ #update_pending_count(d) {
300
+ if (!this.has_pending_snippet()) {
301
+ if (this.parent) {
302
+ this.parent.#update_pending_count(d);
303
+ }
304
+ return;
305
+ }
306
+ this.#pending_count += d;
307
+ if (this.#pending_count === 0) {
308
+ this.is_pending = false;
309
+ for (const e of this.#dirty_effects) {
310
+ set_signal_status(e, DIRTY);
311
+ schedule_effect(e);
312
+ }
313
+ for (const e of this.#maybe_dirty_effects) {
314
+ set_signal_status(e, MAYBE_DIRTY);
315
+ schedule_effect(e);
316
+ }
317
+ this.#dirty_effects.clear();
318
+ this.#maybe_dirty_effects.clear();
319
+ if (this.#pending_effect) {
320
+ pause_effect(this.#pending_effect, () => {
321
+ this.#pending_effect = null;
322
+ });
323
+ }
324
+ if (this.#offscreen_fragment) {
325
+ this.#anchor.before(this.#offscreen_fragment);
326
+ this.#offscreen_fragment = null;
327
+ }
328
+ }
329
+ }
330
+ /**
331
+ * Update the source that powers `$effect.pending()` inside this boundary,
332
+ * and controls when the current `pending` snippet (if any) is removed.
333
+ * Do not call from inside the class
334
+ * @param {1 | -1} d
335
+ */
336
+ update_pending_count(d) {
337
+ this.#update_pending_count(d);
338
+ this.#local_pending_count += d;
339
+ if (!this.#effect_pending || this.#pending_count_update_queued) return;
340
+ this.#pending_count_update_queued = true;
341
+ queue_micro_task(() => {
342
+ this.#pending_count_update_queued = false;
343
+ if (this.#effect_pending) {
344
+ internal_set(this.#effect_pending, this.#local_pending_count);
345
+ }
346
+ });
347
+ }
348
+ get_effect_pending() {
349
+ this.#effect_pending_subscriber();
350
+ return get(
351
+ /** @type {Source<number>} */
352
+ this.#effect_pending
353
+ );
354
+ }
355
+ /** @param {unknown} error */
356
+ error(error) {
357
+ var onerror = this.#props.onerror;
358
+ let failed = this.#props.failed;
359
+ if (this.#is_creating_fallback || !onerror && !failed) {
360
+ throw error;
361
+ }
362
+ if (this.#main_effect) {
363
+ destroy_effect(this.#main_effect);
364
+ this.#main_effect = null;
365
+ }
366
+ if (this.#pending_effect) {
367
+ destroy_effect(this.#pending_effect);
368
+ this.#pending_effect = null;
369
+ }
370
+ if (this.#failed_effect) {
371
+ destroy_effect(this.#failed_effect);
372
+ this.#failed_effect = null;
373
+ }
374
+ if (hydrating) {
375
+ set_hydrate_node(
376
+ /** @type {TemplateNode} */
377
+ this.#hydrate_open
378
+ );
379
+ next();
380
+ set_hydrate_node(skip_nodes());
381
+ }
382
+ var did_reset = false;
383
+ var calling_on_error = false;
384
+ const reset = () => {
385
+ if (did_reset) {
386
+ svelte_boundary_reset_noop();
387
+ return;
388
+ }
389
+ did_reset = true;
390
+ if (calling_on_error) {
391
+ svelte_boundary_reset_onerror();
392
+ }
393
+ Batch.ensure();
394
+ this.#local_pending_count = 0;
395
+ if (this.#failed_effect !== null) {
396
+ pause_effect(this.#failed_effect, () => {
397
+ this.#failed_effect = null;
398
+ });
399
+ }
400
+ this.is_pending = this.has_pending_snippet();
401
+ this.#main_effect = this.#run(() => {
402
+ this.#is_creating_fallback = false;
403
+ return branch(() => this.#children(this.#anchor));
404
+ });
405
+ if (this.#pending_count > 0) {
406
+ this.#show_pending_snippet();
407
+ } else {
408
+ this.is_pending = false;
409
+ }
410
+ };
411
+ queue_micro_task(() => {
412
+ try {
413
+ calling_on_error = true;
414
+ onerror?.(error, reset);
415
+ calling_on_error = false;
416
+ } catch (error2) {
417
+ invoke_error_boundary(error2, this.#effect && this.#effect.parent);
418
+ }
419
+ if (failed) {
420
+ this.#failed_effect = this.#run(() => {
421
+ Batch.ensure();
422
+ this.#is_creating_fallback = true;
423
+ try {
424
+ return branch(() => {
425
+ failed(
426
+ this.#anchor,
427
+ () => error,
428
+ () => reset
429
+ );
430
+ });
431
+ } catch (error2) {
432
+ invoke_error_boundary(
433
+ error2,
434
+ /** @type {Effect} */
435
+ this.#effect.parent
436
+ );
437
+ return null;
438
+ } finally {
439
+ this.#is_creating_fallback = false;
440
+ }
441
+ });
442
+ }
443
+ });
444
+ }
445
+ }
446
+ const event_symbol = /* @__PURE__ */ Symbol("events");
447
+ const all_registered_events = /* @__PURE__ */ new Set();
448
+ const root_event_handles = /* @__PURE__ */ new Set();
449
+ let last_propagated_event = null;
450
+ function handle_event_propagation(event) {
451
+ var handler_element = this;
452
+ var owner_document = (
453
+ /** @type {Node} */
454
+ handler_element.ownerDocument
455
+ );
456
+ var event_name = event.type;
457
+ var path = event.composedPath?.() || [];
458
+ var current_target = (
459
+ /** @type {null | Element} */
460
+ path[0] || event.target
461
+ );
462
+ last_propagated_event = event;
463
+ var path_idx = 0;
464
+ var handled_at = last_propagated_event === event && event.__root;
465
+ if (handled_at) {
466
+ var at_idx = path.indexOf(handled_at);
467
+ if (at_idx !== -1 && (handler_element === document || handler_element === /** @type {any} */
468
+ window)) {
469
+ event.__root = handler_element;
470
+ return;
471
+ }
472
+ var handler_idx = path.indexOf(handler_element);
473
+ if (handler_idx === -1) {
474
+ return;
475
+ }
476
+ if (at_idx <= handler_idx) {
477
+ path_idx = at_idx;
478
+ }
479
+ }
480
+ current_target = /** @type {Element} */
481
+ path[path_idx] || event.target;
482
+ if (current_target === handler_element) return;
483
+ define_property(event, "currentTarget", {
484
+ configurable: true,
485
+ get() {
486
+ return current_target || owner_document;
487
+ }
488
+ });
489
+ var previous_reaction = active_reaction;
490
+ var previous_effect = active_effect;
491
+ set_active_reaction(null);
492
+ set_active_effect(null);
493
+ try {
494
+ var throw_error;
495
+ var other_errors = [];
496
+ while (current_target !== null) {
497
+ var parent_element = current_target.assignedSlot || current_target.parentNode || /** @type {any} */
498
+ current_target.host || null;
499
+ try {
500
+ var delegated = current_target[event_symbol]?.[event_name];
501
+ if (delegated != null && (!/** @type {any} */
502
+ current_target.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
503
+ // -> the target could not have been disabled because it emits the event in the first place
504
+ event.target === current_target)) {
505
+ delegated.call(current_target, event);
506
+ }
507
+ } catch (error) {
508
+ if (throw_error) {
509
+ other_errors.push(error);
510
+ } else {
511
+ throw_error = error;
512
+ }
513
+ }
514
+ if (event.cancelBubble || parent_element === handler_element || parent_element === null) {
515
+ break;
516
+ }
517
+ current_target = parent_element;
518
+ }
519
+ if (throw_error) {
520
+ for (let error of other_errors) {
521
+ queueMicrotask(() => {
522
+ throw error;
523
+ });
524
+ }
525
+ throw throw_error;
526
+ }
527
+ } finally {
528
+ event.__root = handler_element;
529
+ delete event.currentTarget;
530
+ set_active_reaction(previous_reaction);
531
+ set_active_effect(previous_effect);
532
+ }
533
+ }
534
+ function assign_nodes(start, end) {
535
+ var effect = (
536
+ /** @type {Effect} */
537
+ active_effect
538
+ );
539
+ if (effect.nodes === null) {
540
+ effect.nodes = { start, end, a: null, t: null };
541
+ }
542
+ }
543
+ function mount(component, options2) {
544
+ return _mount(component, options2);
545
+ }
546
+ function hydrate(component, options2) {
547
+ init_operations();
548
+ options2.intro = options2.intro ?? false;
549
+ const target = options2.target;
550
+ const was_hydrating = hydrating;
551
+ const previous_hydrate_node = hydrate_node;
552
+ try {
553
+ var anchor = get_first_child(target);
554
+ while (anchor && (anchor.nodeType !== COMMENT_NODE || /** @type {Comment} */
555
+ anchor.data !== HYDRATION_START)) {
556
+ anchor = get_next_sibling(anchor);
557
+ }
558
+ if (!anchor) {
559
+ throw HYDRATION_ERROR;
560
+ }
561
+ set_hydrating(true);
562
+ set_hydrate_node(
563
+ /** @type {Comment} */
564
+ anchor
565
+ );
566
+ const instance = _mount(component, { ...options2, anchor });
567
+ set_hydrating(false);
568
+ return (
569
+ /** @type {Exports} */
570
+ instance
571
+ );
572
+ } catch (error) {
573
+ if (error instanceof Error && error.message.split("\n").some((line) => line.startsWith("https://svelte.dev/e/"))) {
574
+ throw error;
575
+ }
576
+ if (error !== HYDRATION_ERROR) {
577
+ console.warn("Failed to hydrate: ", error);
578
+ }
579
+ if (options2.recover === false) {
580
+ hydration_failed();
581
+ }
582
+ init_operations();
583
+ clear_text_content(target);
584
+ set_hydrating(false);
585
+ return mount(component, options2);
586
+ } finally {
587
+ set_hydrating(was_hydrating);
588
+ set_hydrate_node(previous_hydrate_node);
589
+ }
590
+ }
591
+ const listeners = /* @__PURE__ */ new Map();
592
+ function _mount(Component, { target, anchor, props = {}, events, context, intro = true }) {
593
+ init_operations();
594
+ var registered_events = /* @__PURE__ */ new Set();
595
+ var event_handle = (events2) => {
596
+ for (var i = 0; i < events2.length; i++) {
597
+ var event_name = events2[i];
598
+ if (registered_events.has(event_name)) continue;
599
+ registered_events.add(event_name);
600
+ var passive = is_passive_event(event_name);
601
+ for (const node of [target, document]) {
602
+ var counts = listeners.get(node);
603
+ if (counts === void 0) {
604
+ counts = /* @__PURE__ */ new Map();
605
+ listeners.set(node, counts);
606
+ }
607
+ var count = counts.get(event_name);
608
+ if (count === void 0) {
609
+ node.addEventListener(event_name, handle_event_propagation, { passive });
610
+ counts.set(event_name, 1);
611
+ } else {
612
+ counts.set(event_name, count + 1);
613
+ }
614
+ }
615
+ }
616
+ };
617
+ event_handle(array_from(all_registered_events));
618
+ root_event_handles.add(event_handle);
619
+ var component = void 0;
620
+ var unmount2 = component_root(() => {
621
+ var anchor_node = anchor ?? target.appendChild(create_text());
622
+ boundary(
623
+ /** @type {TemplateNode} */
624
+ anchor_node,
625
+ {
626
+ pending: () => {
627
+ }
628
+ },
629
+ (anchor_node2) => {
630
+ push({});
631
+ var ctx = (
632
+ /** @type {ComponentContext} */
633
+ component_context
634
+ );
635
+ if (context) ctx.c = context;
636
+ if (events) {
637
+ props.$$events = events;
638
+ }
639
+ if (hydrating) {
640
+ assign_nodes(
641
+ /** @type {TemplateNode} */
642
+ anchor_node2,
643
+ null
644
+ );
645
+ }
646
+ component = Component(anchor_node2, props) || {};
647
+ if (hydrating) {
648
+ active_effect.nodes.end = hydrate_node;
649
+ if (hydrate_node === null || hydrate_node.nodeType !== COMMENT_NODE || /** @type {Comment} */
650
+ hydrate_node.data !== HYDRATION_END) {
651
+ hydration_mismatch();
652
+ throw HYDRATION_ERROR;
653
+ }
654
+ }
655
+ pop();
656
+ }
657
+ );
658
+ return () => {
659
+ for (var event_name of registered_events) {
660
+ for (const node of [target, document]) {
661
+ var counts = (
662
+ /** @type {Map<string, number>} */
663
+ listeners.get(node)
664
+ );
665
+ var count = (
666
+ /** @type {number} */
667
+ counts.get(event_name)
668
+ );
669
+ if (--count == 0) {
670
+ node.removeEventListener(event_name, handle_event_propagation);
671
+ counts.delete(event_name);
672
+ if (counts.size === 0) {
673
+ listeners.delete(node);
674
+ }
675
+ } else {
676
+ counts.set(event_name, count);
677
+ }
678
+ }
679
+ }
680
+ root_event_handles.delete(event_handle);
681
+ if (anchor_node !== anchor) {
682
+ anchor_node.parentNode?.removeChild(anchor_node);
683
+ }
684
+ };
685
+ });
686
+ mounted_components.set(component, unmount2);
687
+ return component;
688
+ }
689
+ let mounted_components = /* @__PURE__ */ new WeakMap();
690
+ function unmount(component, options2) {
691
+ const fn = mounted_components.get(component);
692
+ if (fn) {
693
+ mounted_components.delete(component);
694
+ return fn(options2);
695
+ }
696
+ return Promise.resolve();
697
+ }
698
+ function asClassComponent$1(component) {
699
+ return class extends Svelte4Component {
700
+ /** @param {any} options */
701
+ constructor(options2) {
702
+ super({
703
+ component,
704
+ ...options2
705
+ });
706
+ }
707
+ };
708
+ }
709
+ class Svelte4Component {
710
+ /** @type {any} */
711
+ #events;
712
+ /** @type {Record<string, any>} */
713
+ #instance;
714
+ /**
715
+ * @param {ComponentConstructorOptions & {
716
+ * component: any;
717
+ * }} options
718
+ */
719
+ constructor(options2) {
720
+ var sources = /* @__PURE__ */ new Map();
721
+ var add_source = (key, value) => {
722
+ var s = mutable_source(value, false, false);
723
+ sources.set(key, s);
724
+ return s;
725
+ };
726
+ const props = new Proxy(
727
+ { ...options2.props || {}, $$events: {} },
728
+ {
729
+ get(target, prop) {
730
+ return get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
731
+ },
732
+ has(target, prop) {
733
+ if (prop === LEGACY_PROPS) return true;
734
+ get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
735
+ return Reflect.has(target, prop);
736
+ },
737
+ set(target, prop, value) {
738
+ set(sources.get(prop) ?? add_source(prop, value), value);
739
+ return Reflect.set(target, prop, value);
740
+ }
741
+ }
742
+ );
743
+ this.#instance = (options2.hydrate ? hydrate : mount)(options2.component, {
744
+ target: options2.target,
745
+ anchor: options2.anchor,
746
+ props,
747
+ context: options2.context,
748
+ intro: options2.intro ?? false,
749
+ recover: options2.recover
750
+ });
751
+ if (!options2?.props?.$$host || options2.sync === false) {
752
+ flushSync();
753
+ }
754
+ this.#events = props.$$events;
755
+ for (const key of Object.keys(this.#instance)) {
756
+ if (key === "$set" || key === "$destroy" || key === "$on") continue;
757
+ define_property(this, key, {
758
+ get() {
759
+ return this.#instance[key];
760
+ },
761
+ /** @param {any} value */
762
+ set(value) {
763
+ this.#instance[key] = value;
764
+ },
765
+ enumerable: true
766
+ });
767
+ }
768
+ this.#instance.$set = /** @param {Record<string, any>} next */
769
+ (next2) => {
770
+ Object.assign(props, next2);
771
+ };
772
+ this.#instance.$destroy = () => {
773
+ unmount(this.#instance);
774
+ };
775
+ }
776
+ /** @param {Record<string, any>} props */
777
+ $set(props) {
778
+ this.#instance.$set(props);
779
+ }
780
+ /**
781
+ * @param {string} event
782
+ * @param {(...args: any[]) => any} callback
783
+ * @returns {any}
784
+ */
785
+ $on(event, callback) {
786
+ this.#events[event] = this.#events[event] || [];
787
+ const cb = (...args) => callback.call(this, ...args);
788
+ this.#events[event].push(cb);
789
+ return () => {
790
+ this.#events[event] = this.#events[event].filter(
791
+ /** @param {any} fn */
792
+ (fn) => fn !== cb
793
+ );
794
+ };
795
+ }
796
+ $destroy() {
797
+ this.#instance.$destroy();
798
+ }
799
+ }
800
+ let read_implementation = null;
801
+ function set_read_implementation(fn) {
802
+ read_implementation = fn;
803
+ }
804
+ function set_manifest(_) {
805
+ }
806
+ function asClassComponent(component) {
807
+ const component_constructor = asClassComponent$1(component);
808
+ const _render = (props, { context, csp } = {}) => {
809
+ const result = render(component, { props, context, csp });
810
+ const munged = Object.defineProperties(
811
+ /** @type {LegacyRenderResult & PromiseLike<LegacyRenderResult>} */
812
+ {},
813
+ {
814
+ css: {
815
+ value: { code: "", map: null }
816
+ },
817
+ head: {
818
+ get: () => result.head
819
+ },
820
+ html: {
821
+ get: () => result.body
822
+ },
823
+ then: {
824
+ /**
825
+ * this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
826
+ *
827
+ * @template TResult1
828
+ * @template [TResult2=never]
829
+ * @param { (value: LegacyRenderResult) => TResult1 } onfulfilled
830
+ * @param { (reason: unknown) => TResult2 } onrejected
831
+ */
832
+ value: (onfulfilled, onrejected) => {
833
+ {
834
+ const user_result = onfulfilled({
835
+ css: munged.css,
836
+ head: munged.head,
837
+ html: munged.html
838
+ });
839
+ return Promise.resolve(user_result);
840
+ }
841
+ }
842
+ }
843
+ }
844
+ );
845
+ return munged;
846
+ };
847
+ component_constructor.render = _render;
848
+ return component_constructor;
849
+ }
850
+ function Root($$renderer, $$props) {
851
+ $$renderer.component(($$renderer2) => {
852
+ let {
853
+ stores,
854
+ page,
855
+ constructors,
856
+ components = [],
857
+ form,
858
+ data_0 = null,
859
+ data_1 = null
860
+ } = $$props;
861
+ {
862
+ setContext("__svelte__", stores);
863
+ }
864
+ {
865
+ stores.page.set(page);
866
+ }
867
+ const Pyramid_1 = constructors[1];
868
+ if (constructors[1]) {
869
+ $$renderer2.push("<!--[-->");
870
+ const Pyramid_0 = constructors[0];
871
+ $$renderer2.push("<!---->");
872
+ Pyramid_0?.($$renderer2, {
873
+ data: data_0,
874
+ form,
875
+ params: page.params,
876
+ children: ($$renderer3) => {
877
+ $$renderer3.push("<!---->");
878
+ Pyramid_1?.($$renderer3, { data: data_1, form, params: page.params });
879
+ $$renderer3.push(`<!---->`);
880
+ },
881
+ $$slots: { default: true }
882
+ });
883
+ $$renderer2.push(`<!---->`);
884
+ } else {
885
+ $$renderer2.push("<!--[!-->");
886
+ const Pyramid_0 = constructors[0];
887
+ $$renderer2.push("<!---->");
888
+ Pyramid_0?.($$renderer2, { data: data_0, form, params: page.params });
889
+ $$renderer2.push(`<!---->`);
890
+ }
891
+ $$renderer2.push(`<!--]--> `);
892
+ {
893
+ $$renderer2.push("<!--[!-->");
894
+ }
895
+ $$renderer2.push(`<!--]-->`);
896
+ });
897
+ }
898
+ const root = asClassComponent(Root);
899
+ const options = {
900
+ app_template_contains_nonce: false,
901
+ async: false,
902
+ csp: { "mode": "auto", "directives": { "upgrade-insecure-requests": false, "block-all-mixed-content": false }, "reportOnly": { "upgrade-insecure-requests": false, "block-all-mixed-content": false } },
903
+ csrf_check_origin: true,
904
+ csrf_trusted_origins: [],
905
+ embedded: false,
906
+ env_public_prefix: "PUBLIC_",
907
+ env_private_prefix: "",
908
+ hash_routing: false,
909
+ hooks: null,
910
+ // added lazily, via `get_hooks`
911
+ preload_strategy: "modulepreload",
912
+ root,
913
+ service_worker: false,
914
+ service_worker_options: void 0,
915
+ templates: {
916
+ app: ({ head, body, assets, nonce, env }) => '<!doctype html>\r\n<html lang="en">\r\n <head>\r\n <meta charset="utf-8" />\r\n <meta name="viewport" content="width=device-width, initial-scale=1" />\r\n ' + head + '\r\n </head>\r\n <body data-sveltekit-preload-data="hover" class="bg-white dark:bg-gray-900">\r\n <div style="display: contents">' + body + "</div>\r\n </body>\r\n</html>\r\n",
917
+ error: ({ status, message }) => '<!doctype html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <title>' + message + `</title>
918
+
919
+ <style>
920
+ body {
921
+ --bg: white;
922
+ --fg: #222;
923
+ --divider: #ccc;
924
+ background: var(--bg);
925
+ color: var(--fg);
926
+ font-family:
927
+ system-ui,
928
+ -apple-system,
929
+ BlinkMacSystemFont,
930
+ 'Segoe UI',
931
+ Roboto,
932
+ Oxygen,
933
+ Ubuntu,
934
+ Cantarell,
935
+ 'Open Sans',
936
+ 'Helvetica Neue',
937
+ sans-serif;
938
+ display: flex;
939
+ align-items: center;
940
+ justify-content: center;
941
+ height: 100vh;
942
+ margin: 0;
943
+ }
944
+
945
+ .error {
946
+ display: flex;
947
+ align-items: center;
948
+ max-width: 32rem;
949
+ margin: 0 1rem;
950
+ }
951
+
952
+ .status {
953
+ font-weight: 200;
954
+ font-size: 3rem;
955
+ line-height: 1;
956
+ position: relative;
957
+ top: -0.05rem;
958
+ }
959
+
960
+ .message {
961
+ border-left: 1px solid var(--divider);
962
+ padding: 0 0 0 1rem;
963
+ margin: 0 0 0 1rem;
964
+ min-height: 2.5rem;
965
+ display: flex;
966
+ align-items: center;
967
+ }
968
+
969
+ .message h1 {
970
+ font-weight: 400;
971
+ font-size: 1em;
972
+ margin: 0;
973
+ }
974
+
975
+ @media (prefers-color-scheme: dark) {
976
+ body {
977
+ --bg: #222;
978
+ --fg: #ddd;
979
+ --divider: #666;
980
+ }
981
+ }
982
+ </style>
983
+ </head>
984
+ <body>
985
+ <div class="error">
986
+ <span class="status">` + status + '</span>\n <div class="message">\n <h1>' + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
987
+ },
988
+ version_hash: "86s9gc"
989
+ };
990
+ async function get_hooks() {
991
+ let handle;
992
+ let handleFetch;
993
+ let handleError;
994
+ let handleValidationError;
995
+ let init;
996
+ let reroute;
997
+ let transport;
998
+ return {
999
+ handle,
1000
+ handleFetch,
1001
+ handleError,
1002
+ handleValidationError,
1003
+ init,
1004
+ reroute,
1005
+ transport
1006
+ };
1007
+ }
1008
+ export {
1009
+ set_public_env as a,
1010
+ set_read_implementation as b,
1011
+ set_manifest as c,
1012
+ get_hooks as g,
1013
+ options as o,
1014
+ public_env as p,
1015
+ read_implementation as r,
1016
+ set_private_env as s
1017
+ };