@aopslab/aops-server 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/NOTICE +6 -0
- package/README.md +21 -0
- package/aops-server-runtime.json +11 -0
- package/build/client/_app/immutable/chunks/2_TffmqH.js +1 -0
- package/build/client/_app/immutable/chunks/3DOfIKW0.js +1 -0
- package/build/client/_app/immutable/chunks/B2EkC-sy.js +1 -0
- package/build/client/_app/immutable/chunks/CMkIcmi1.js +2 -0
- package/build/client/_app/immutable/chunks/rqnVXeyB.js +1 -0
- package/build/client/_app/immutable/chunks/sZYZbj9W.js +1 -0
- package/build/client/_app/immutable/chunks/wbPk3Yxo.js +81 -0
- package/build/client/_app/immutable/entry/app.C7STLTX8.js +2 -0
- package/build/client/_app/immutable/entry/start.BC94hOaC.js +1 -0
- package/build/client/_app/immutable/nodes/0.BYBfjxZ5.js +1 -0
- package/build/client/_app/immutable/nodes/1.BNXFXajG.js +1 -0
- package/build/client/_app/version.json +1 -0
- package/build/env.js +70 -0
- package/build/env.js.map +1 -0
- package/build/handler.js +16 -0
- package/build/handler.js.map +1 -0
- package/build/index.js +139 -0
- package/build/index.js.map +1 -0
- package/build/server/chunks/0-RfB6m2nq.js +7 -0
- package/build/server/chunks/0-RfB6m2nq.js.map +1 -0
- package/build/server/chunks/1-_gg8Q0UT.js +9 -0
- package/build/server/chunks/1-_gg8Q0UT.js.map +1 -0
- package/build/server/chunks/_server.ts-6276EQIF.js +44 -0
- package/build/server/chunks/_server.ts-6276EQIF.js.map +1 -0
- package/build/server/chunks/_server.ts-B59WFQzX.js +174 -0
- package/build/server/chunks/_server.ts-B59WFQzX.js.map +1 -0
- package/build/server/chunks/_server.ts-BauJsLZI.js +40 -0
- package/build/server/chunks/_server.ts-BauJsLZI.js.map +1 -0
- package/build/server/chunks/_server.ts-BnGzJw2-.js +81 -0
- package/build/server/chunks/_server.ts-BnGzJw2-.js.map +1 -0
- package/build/server/chunks/_server.ts-CP7qM24V.js +34 -0
- package/build/server/chunks/_server.ts-CP7qM24V.js.map +1 -0
- package/build/server/chunks/_server.ts-Cbq_u99d.js +9 -0
- package/build/server/chunks/_server.ts-Cbq_u99d.js.map +1 -0
- package/build/server/chunks/_server.ts-Ch8fPT-o.js +92 -0
- package/build/server/chunks/_server.ts-Ch8fPT-o.js.map +1 -0
- package/build/server/chunks/_server.ts-Cv-yaXZI.js +7 -0
- package/build/server/chunks/_server.ts-Cv-yaXZI.js.map +1 -0
- package/build/server/chunks/_server.ts-D6lBwOON.js +34 -0
- package/build/server/chunks/_server.ts-D6lBwOON.js.map +1 -0
- package/build/server/chunks/_server.ts-D84K3pp9.js +11 -0
- package/build/server/chunks/_server.ts-D84K3pp9.js.map +1 -0
- package/build/server/chunks/_server.ts-DNzU1ToA.js +277 -0
- package/build/server/chunks/_server.ts-DNzU1ToA.js.map +1 -0
- package/build/server/chunks/_server.ts-DQQnw77t.js +17 -0
- package/build/server/chunks/_server.ts-DQQnw77t.js.map +1 -0
- package/build/server/chunks/_server.ts-DSxr5l15.js +18 -0
- package/build/server/chunks/_server.ts-DSxr5l15.js.map +1 -0
- package/build/server/chunks/_server.ts-DZYokvuR.js +80 -0
- package/build/server/chunks/_server.ts-DZYokvuR.js.map +1 -0
- package/build/server/chunks/_server.ts-Dcqwpz2t.js +144 -0
- package/build/server/chunks/_server.ts-Dcqwpz2t.js.map +1 -0
- package/build/server/chunks/_server.ts-Di9VJnF4.js +81 -0
- package/build/server/chunks/_server.ts-Di9VJnF4.js.map +1 -0
- package/build/server/chunks/_server.ts-FBEHFT8b.js +33 -0
- package/build/server/chunks/_server.ts-FBEHFT8b.js.map +1 -0
- package/build/server/chunks/_server.ts-gZytCuiJ.js +10 -0
- package/build/server/chunks/_server.ts-gZytCuiJ.js.map +1 -0
- package/build/server/chunks/_server.ts-tNULLyEO.js +261 -0
- package/build/server/chunks/_server.ts-tNULLyEO.js.map +1 -0
- package/build/server/chunks/agent-gateway-runtime-DTZ4SxaC.js +2598 -0
- package/build/server/chunks/agent-gateway-runtime-DTZ4SxaC.js.map +1 -0
- package/build/server/chunks/aops-runtime-config-wpVmg7T-.js +179 -0
- package/build/server/chunks/aops-runtime-config-wpVmg7T-.js.map +1 -0
- package/build/server/chunks/discovery-D9JnSgfu.js +894 -0
- package/build/server/chunks/discovery-D9JnSgfu.js.map +1 -0
- package/build/server/chunks/error.svelte-DgUOqi-L.js +45 -0
- package/build/server/chunks/error.svelte-DgUOqi-L.js.map +1 -0
- package/build/server/chunks/handler-BN3-p5rP.js +1733 -0
- package/build/server/chunks/handler-BN3-p5rP.js.map +1 -0
- package/build/server/chunks/hooks.server-C4wxiH5m.js +52 -0
- package/build/server/chunks/hooks.server-C4wxiH5m.js.map +1 -0
- package/build/server/chunks/index.js-nbqdVuWC.js +10698 -0
- package/build/server/chunks/index.js-nbqdVuWC.js.map +1 -0
- package/build/server/chunks/manifest.js-_Re-Wj-y.js +167 -0
- package/build/server/chunks/manifest.js-_Re-Wj-y.js.map +1 -0
- package/build/server/chunks/plugin-error-normalize-Bq14Qbz3.js +297 -0
- package/build/server/chunks/plugin-error-normalize-Bq14Qbz3.js.map +1 -0
- package/build/server/chunks/project-alias-DqE2v58Q.js +29 -0
- package/build/server/chunks/project-alias-DqE2v58Q.js.map +1 -0
- package/build/server/chunks/registry-5amIZito.js +289 -0
- package/build/server/chunks/registry-5amIZito.js.map +1 -0
- package/build/server/chunks/request-base-url-BDdrsaga.js +24 -0
- package/build/server/chunks/request-base-url-BDdrsaga.js.map +1 -0
- package/build/server/chunks/request-context-tNeFQjgb.js +422 -0
- package/build/server/chunks/request-context-tNeFQjgb.js.map +1 -0
- package/build/server/chunks/xf-result-BRDjvftr.js +17 -0
- package/build/server/chunks/xf-result-BRDjvftr.js.map +1 -0
- package/build/shims.js +33 -0
- package/build/shims.js.map +1 -0
- package/cockpit/.vite/manifest.json +198 -0
- package/cockpit/assets/dm-sans-latin-400-normal-BwCSEQnW.woff +0 -0
- package/cockpit/assets/dm-sans-latin-400-normal-CW0RaeGs.woff2 +0 -0
- package/cockpit/assets/dm-sans-latin-500-normal-B9HHJjqV.woff2 +0 -0
- package/cockpit/assets/dm-sans-latin-500-normal-Dr3UlScf.woff +0 -0
- package/cockpit/assets/dm-sans-latin-700-normal-CUSSCpQX.woff +0 -0
- package/cockpit/assets/dm-sans-latin-700-normal-DvUfVpUG.woff2 +0 -0
- package/cockpit/assets/dm-sans-latin-ext-400-normal-BjWJ59Pq.woff +0 -0
- package/cockpit/assets/dm-sans-latin-ext-400-normal-BtiwyxMk.woff2 +0 -0
- package/cockpit/assets/dm-sans-latin-ext-500-normal-BJfUCQsA.woff2 +0 -0
- package/cockpit/assets/dm-sans-latin-ext-500-normal-DR84L5F-.woff +0 -0
- package/cockpit/assets/dm-sans-latin-ext-700-normal-BLI3TTWz.woff +0 -0
- package/cockpit/assets/dm-sans-latin-ext-700-normal-CJIcxD6K.woff2 +0 -0
- package/cockpit/assets/index-DDswO4B1.css +1 -0
- package/cockpit/assets/index-bovtnZ98.js +18 -0
- package/cockpit/assets/jetbrains-mono-cyrillic-400-normal-BEIGL1Tu.woff2 +0 -0
- package/cockpit/assets/jetbrains-mono-cyrillic-400-normal-ugxPyKxw.woff +0 -0
- package/cockpit/assets/jetbrains-mono-greek-400-normal-B9oWc5Lo.woff +0 -0
- package/cockpit/assets/jetbrains-mono-greek-400-normal-C190GLew.woff2 +0 -0
- package/cockpit/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
- package/cockpit/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- package/cockpit/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2 +0 -0
- package/cockpit/assets/jetbrains-mono-latin-ext-400-normal-fXTG6kC5.woff +0 -0
- package/cockpit/assets/jetbrains-mono-vietnamese-400-normal-CqNFfHCs.woff +0 -0
- package/cockpit/assets/outfit-latin-400-normal-BGsTXAXT.woff2 +0 -0
- package/cockpit/assets/outfit-latin-400-normal-DMwTpYkH.woff +0 -0
- package/cockpit/assets/outfit-latin-600-normal-B7SfZ07L.woff2 +0 -0
- package/cockpit/assets/outfit-latin-600-normal-BEfTtDA7.woff +0 -0
- package/cockpit/assets/outfit-latin-ext-400-normal-5tcqmc2S.woff2 +0 -0
- package/cockpit/assets/outfit-latin-ext-400-normal-DHm7mdGe.woff +0 -0
- package/cockpit/assets/outfit-latin-ext-600-normal-B85nYjL1.woff2 +0 -0
- package/cockpit/assets/outfit-latin-ext-600-normal-CWJcPgd7.woff +0 -0
- package/cockpit/assets/unbounded-cyrillic-600-normal-B-s5c2Kn.woff +0 -0
- package/cockpit/assets/unbounded-cyrillic-600-normal-DW6uzIMB.woff2 +0 -0
- package/cockpit/assets/unbounded-latin-600-normal-BPdB_PEv.woff +0 -0
- package/cockpit/assets/unbounded-latin-600-normal-oRSANpZr.woff2 +0 -0
- package/cockpit/assets/unbounded-latin-ext-600-normal-0iZLtTDV.woff2 +0 -0
- package/cockpit/assets/unbounded-latin-ext-600-normal-ClMPf-bu.woff +0 -0
- package/cockpit/assets/unbounded-vietnamese-600-normal-BzfrgZ_C.woff +0 -0
- package/cockpit/assets/unbounded-vietnamese-600-normal-Cx2bTSHN.woff2 +0 -0
- package/cockpit/community.module-inventory.json +2389 -0
- package/cockpit/index.html +14 -0
- package/community-postgres.json +13 -0
- package/migrations/agentspace/0000_thin_carlie_cooper.sql +764 -0
- package/migrations/agentspace/meta/0000_snapshot.json +6885 -0
- package/migrations/agentspace/meta/_journal.json +13 -0
- package/migrations/chatv3/0000_dry_ego.sql +218 -0
- package/migrations/chatv3/0001_nosy_obadiah_stane.sql +35 -0
- package/migrations/chatv3/0002_narrow_darkhawk.sql +4 -0
- package/migrations/chatv3/0003_damp_zarek.sql +2 -0
- package/migrations/chatv3/0004_nervous_martin_li.sql +60 -0
- package/migrations/chatv3/0005_chatv3_server_encrypted_mode.sql +1 -0
- package/migrations/chatv3/meta/0000_snapshot.json +1887 -0
- package/migrations/chatv3/meta/0001_snapshot.json +2175 -0
- package/migrations/chatv3/meta/0002_snapshot.json +2229 -0
- package/migrations/chatv3/meta/0003_snapshot.json +2241 -0
- package/migrations/chatv3/meta/0004_snapshot.json +2746 -0
- package/migrations/chatv3/meta/_journal.json +48 -0
- package/migrations/docman/0000_curvy_valeria_richards.sql +257 -0
- package/migrations/docman/0001_massive_risque.sql +2 -0
- package/migrations/docman/0002_simple_logan.sql +50 -0
- package/migrations/docman/0003_quick_index.sql +45 -0
- package/migrations/docman/0004_known_summary.sql +9 -0
- package/migrations/docman/0005_vector_signal.sql +9 -0
- package/migrations/docman/0006_document_version_current_invariant.sql +15 -0
- package/migrations/docman/meta/_journal.json +55 -0
- package/migrations/projectman/0000_smooth_klaw.sql +257 -0
- package/migrations/projectman/0001_worthless_zodiak.sql +9 -0
- package/migrations/projectman/0002_board_rename.sql +108 -0
- package/migrations/projectman/0003_review_request.sql +62 -0
- package/migrations/projectman/0004_review_request_idempotency.sql +3 -0
- package/migrations/projectman/0005_allow_multi_sprint_per_task.sql +1 -0
- package/migrations/projectman/meta/_journal.json +48 -0
- package/migrations/sys/0000_loose_praxagora.sql +31 -0
- package/migrations/sys/0001_awesome_ronan.sql +2 -0
- package/migrations/sys/0002_steady_maximus.sql +2 -0
- package/migrations/sys/0003_escalating_rate_limiter.sql +2 -0
- package/migrations/sys/0004_rate_limiter_timestamptz.sql +22 -0
- package/migrations/sys/0005_sys_counters.sql +21 -0
- package/migrations/sys/meta/_journal.json +48 -0
- package/npm-shrinkwrap.json +4375 -0
- package/package.json +62 -0
- package/runtime/agentspace-host-adapter.mjs +64 -0
- package/runtime/agentspace-tooling.mjs +389 -0
- package/runtime/docman-host-adapter.mjs +177 -0
- package/runtime/docman-policy.mjs +450 -0
- package/runtime/docman-tooling.mjs +20 -0
- package/runtime/projectman-host-adapter.mjs +597 -0
- package/runtime/scope-context.mjs +99 -0
- package/scripts/community-host.mjs +626 -0
- package/scripts/community-migration-policy-v1.json +296 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @aopslab/aops-server
|
|
2
|
+
|
|
3
|
+
The ready-to-run AOPS Community server package. It contains the AOPS server,
|
|
4
|
+
the AOPS Cockpit web application, and the reviewed PostgreSQL migration assets.
|
|
5
|
+
|
|
6
|
+
Install the operator CLI globally; the CLI installs and controls the matching
|
|
7
|
+
server package:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install --global @aopslab/aops-cli
|
|
11
|
+
aops-cli setup server-env
|
|
12
|
+
aops-cli server setup --runtime native --postgres external --apply
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
The PostgreSQL server is operator-owned. AOPS does not silently create or
|
|
16
|
+
change a database connection, and it listens on the loopback interface by
|
|
17
|
+
default. Use `aops-cli server status`, `aops-cli server health`, and
|
|
18
|
+
`aops-cli server stop` for lifecycle control.
|
|
19
|
+
|
|
20
|
+
For source-checkout development, see the root README in the
|
|
21
|
+
[AOPS Community repository](https://github.com/eeemzs/aops-community).
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"kind": "aops-server-npm-runtime",
|
|
4
|
+
"packageName": "@aopslab/aops-server",
|
|
5
|
+
"packageVersion": "0.1.0",
|
|
6
|
+
"packageManager": "pnpm@11.9.0",
|
|
7
|
+
"source": {
|
|
8
|
+
"repository": "https://github.com/eeemzs/aops-community",
|
|
9
|
+
"commit": "c04eead7a23aee089eab02942764b0672fc41d71"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _t=128;const Et=16384,vt=32768,ht=33554432,dt=65536;const pt=524288;const Ee=Symbol("$state"),Tt=Symbol("legacy props"),Rn=Symbol("attributes"),Cn=Symbol("class"),An=Symbol("style"),Dn=Symbol("text"),ee=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},oe=3,Ve=8,Ue=!1;var Fn=Array.isArray,Nn=Array.prototype.indexOf,se=Array.prototype.includes,Ct=Array.from,At=Object.defineProperty,$=Object.getOwnPropertyDescriptor,wn=Object.prototype,yn=Array.prototype,On=Object.getPrototypeOf,Ye=Object.isExtensible;const In=()=>{};function gn(e){for(var n=0;n<e.length;n++)e[n]()}function He(){var e,n,t=new Promise((r,s)=>{e=r,n=s});return{promise:t,resolve:e,reject:n}}function Ke(e){return e===this.v}function mn(e,n){return e!=e?n==n:e!==n||e!==null&&typeof e=="object"||typeof e=="function"}function je(e){return!mn(e,this.v)}function Sn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function bn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Yn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ln(e){throw new Error("https://svelte.dev/e/effect_orphan")}function xn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Dt(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ft(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function kn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Pn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Bn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Nt(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let Mn=!1;const wt=1,yt=4,Ot=8,It=16,gt=1,mt=2,Vn="[",Un="[!",St="[?",Hn="]",Ae={},R=Symbol("uninitialized");let N=null;function ie(e){N=e}function bt(e,n=!1,t){N={p:N,i:!1,c:null,e:null,s:e,x:null,r:d,l:null}}function Yt(e){var n=N,t=n.e;if(t!==null){n.e=null;for(var r of t)vn(r)}return n.i=!0,N=n.p,{}}function Ge(){return!0}let P=[];function qe(){var e=P;P=[],gn(e)}function Le(e){if(P.length===0&&!J){var n=P;queueMicrotask(()=>{n===P&&qe()})}P.push(e)}function Kn(){for(;P.length>0;)qe()}function jn(){console.warn("https://svelte.dev/e/derived_inert")}function De(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Lt(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let U=!1;function xt(e){U=e}let A;function G(e){if(e===null)throw De(),Ae;return A=e}function kt(){return G(x(A))}function Pt(e){if(U){if(x(A)!==null)throw De(),Ae;A=e}}function Bt(e=1){if(U){for(var n=e,t=A;n--;)t=x(t);A=t}}function Mt(e=!0){for(var n=0,t=A;;){if(t.nodeType===Ve){var r=t.data;if(r===Hn){if(n===0)return t;n-=1}else(r===Vn||r===Un||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(n+=1)}var s=x(t);e&&t.remove(),t=s}}function Vt(e){if(!e||e.nodeType!==Ve)throw De(),Ae;return e.data}function z(e){if(typeof e!="object"||e===null||Ee in e)return e;const n=On(e);if(n!==wn&&n!==yn)return e;var t=new Map,r=Fn(e),s=S(0),i=V,u=f=>{if(V===i)return f();var l=h,a=V;L(null),Me(i);var _=f();return L(l),Me(a),_};return r&&t.set("length",S(e.length)),new Proxy(e,{defineProperty(f,l,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&kn();var _=t.get(l);return _===void 0?u(()=>{var o=S(a.value);return t.set(l,o),o}):k(_,a.value,!0),!0},deleteProperty(f,l){var a=t.get(l);if(a===void 0){if(l in f){const _=u(()=>S(R));t.set(l,_),de(s)}}else k(a,R),de(s);return!0},get(f,l,a){if(l===Ee)return e;var _=t.get(l),o=l in f;if(_===void 0&&(!o||$(f,l)?.writable)&&(_=u(()=>{var E=z(o?f[l]:R),v=S(E);return v}),t.set(l,_)),_!==void 0){var c=Z(_);return c===R?void 0:c}return Reflect.get(f,l,a)},getOwnPropertyDescriptor(f,l){var a=Reflect.getOwnPropertyDescriptor(f,l);if(a&&"value"in a){var _=t.get(l);_&&(a.value=Z(_))}else if(a===void 0){var o=t.get(l),c=o?.v;if(o!==void 0&&c!==R)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return a},has(f,l){if(l===Ee)return!0;var a=t.get(l),_=a!==void 0&&a.v!==R||Reflect.has(f,l);if(a!==void 0||d!==null&&(!_||$(f,l)?.writable)){a===void 0&&(a=u(()=>{var c=_?z(f[l]):R,E=S(c);return E}),t.set(l,a));var o=Z(a);if(o===R)return!1}return _},set(f,l,a,_){var o=t.get(l),c=l in f;if(r&&l==="length")for(var E=a;E<o.v;E+=1){var v=t.get(E+"");v!==void 0?k(v,R):E in f&&(v=u(()=>S(R)),t.set(E+"",v))}if(o===void 0)(!c||$(f,l)?.writable)&&(o=u(()=>S(void 0)),k(o,z(a)),t.set(l,o));else{c=o.v!==R;var g=u(()=>z(a));k(o,g)}var Se=Reflect.getOwnPropertyDescriptor(f,l);if(Se?.set&&Se.set.call(_,a),!c){if(r&&typeof l=="string"){var be=t.get("length"),_e=Number(l);Number.isInteger(_e)&&_e>=be.v&&k(be,_e+1)}de(s)}return!0},ownKeys(f){Z(s);var l=Reflect.ownKeys(f).filter(o=>{var c=t.get(o);return c===void 0||c.v!==R});for(var[a,_]of t)_.v!==R&&!(a in f)&&l.push(a);return l},setPrototypeOf(){Pn()}})}var xe,Gn,We,ze;function Ut(){if(xe===void 0){xe=window,Gn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,n=Node.prototype,t=Text.prototype;We=$(n,"firstChild").get,ze=$(n,"nextSibling").get,Ye(e)&&(e[Cn]=void 0,e[Rn]=null,e[An]=void 0,e.__e=void 0),Ye(t)&&(t[Dn]=void 0)}}function le(e=""){return document.createTextNode(e)}function pe(e){return We.call(e)}function x(e){return ze.call(e)}function Ht(e,n){if(!U)return pe(e);var t=pe(A);if(t===null)t=A.appendChild(le());else if(n&&t.nodeType!==oe){var r=le();return t?.before(r),G(r),r}return n&&Fe(t),G(t),t}function Kt(e,n=!1){if(!U){var t=pe(e);return t instanceof Comment&&t.data===""?x(t):t}if(n){if(A?.nodeType!==oe){var r=le();return A?.before(r),G(r),r}Fe(A)}return A}function jt(e,n=1,t=!1){let r=U?A:e;for(var s;n--;)s=r,r=x(r);if(!U)return r;if(t){if(r?.nodeType!==oe){var i=le();return r===null?s?.after(i):r.before(i),G(i),i}Fe(r)}return G(r),r}function Gt(e){e.textContent=""}function qt(){return!1}function Wt(e,n,t){return t?document.createElement(e,{is:t}):document.createElement(e)}function Fe(e){if(e.nodeValue.length<65536)return;let n=e.nextSibling;for(;n!==null&&n.nodeType===oe;)n.remove(),e.nodeValue+=n.nodeValue,n=e.nextSibling}function qn(e){var n=d;if(n===null)return h.f|=8388608,e;if((n.f&32768)===0&&(n.f&4)===0)throw e;fe(e,n)}function fe(e,n){if(!(n!==null&&(n.f&16384)!==0)){for(;n!==null;){if((n.f&128)!==0){if((n.f&32768)===0)throw e;try{n.b.error(e);return}catch(t){e=t}}n=n.parent}throw e}}const Wn=-7169;function T(e,n){e.f=e.f&Wn|n}function Ne(e){(e.f&512)!==0||e.deps===null?T(e,1024):T(e,4096)}function Xe(e){if(e!==null)for(const n of e)(n.f&2)===0||(n.f&65536)===0||(n.f^=65536,Xe(n.deps))}function zn(e,n,t){(e.f&2048)!==0?n.add(e):(e.f&4096)!==0&&t.add(e),Xe(e.deps),T(e,1024)}function ce(e){var n=h,t=d;L(null),q(null);try{return e()}finally{L(n),q(t)}}function Xn(e,n,t,r){const s=we;var i=e.filter(E=>!E.settled),u=n.map(s);if(t.length===0&&i.length===0){r(u);return}var f=d,l=Zn(),a=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(E=>E.promise)):null;function _(E){if((f.f&16384)===0){l();try{r([...u,...E])}catch(v){fe(v,f)}ae()}}var o=Ze();if(t.length===0){a.then(()=>_([])).finally(o);return}function c(){Promise.all(t.map(E=>$n(E))).then(_).catch(E=>fe(E,f)).finally(o)}a?a.then(()=>{l(),c(),ae()}):c()}function Zn(){var e=d,n=h,t=N,r=p;return function(i=!0){q(e),L(n),ie(t),i&&(e.f&16384)===0&&(r?.activate(),r?.apply())}}function ae(e=!0){q(null),L(null),ie(null),e&&p?.deactivate()}function Ze(){var e=d,n=e.b,t=p,r=!!n?.is_rendered();return n?.update_pending_count(1,t),t.increment(r,e),()=>{n?.update_pending_count(-1,t),t.decrement(r,e)}}function we(e){var n=2050;return d!==null&&(d.f|=524288),{ctx:N,deps:null,effects:null,equals:Ke,f:n,fn:e,reactions:null,rv:0,v:R,wv:0,parent:d,ac:null}}const X=Symbol("obsolete");function $n(e,n,t){let r=d;r===null&&Sn();var s=void 0,i=ge(R),u=!h,f=new Set;return at(()=>{var l=d,a=He();s=a.promise;try{Promise.resolve(e()).then(a.resolve,E=>{E!==ee&&a.reject(E)}).finally(ae)}catch(E){a.reject(E),ae()}var _=p;if(u){if((l.f&32768)!==0)var o=Ze();if(r.b?.is_rendered())_.async_deriveds.get(l)?.reject(X);else for(const E of f.values())E.reject(X);f.add(a),_.async_deriveds.set(l,a)}const c=(E,v=void 0)=>{o?.(),f.delete(a),v!==X&&(_.activate(),v?(i.f|=8388608,Ce(i,v)):((i.f&8388608)!==0&&(i.f^=8388608),Ce(i,E)),_.deactivate())};a.promise.then(c,E=>c(null,E||"unknown"))}),ft(()=>{for(const l of f)l.reject(X)}),new Promise(l=>{function a(_){function o(){_===s?l(i):a(s)}_.then(o,o)}a(s)})}function zt(e){const n=we(e);return sn(n),n}function Xt(e){const n=we(e);return n.equals=je,n}function Jn(e){var n=e.effects;if(n!==null){e.effects=null;for(var t=0;t<n.length;t+=1)H(n[t])}}function ye(e){var n,t=d,r=e.parent;if(!Y&&r!==null&&e.v!==R&&(r.f&24576)!==0)return jn(),e.v;q(r);try{e.f&=-65537,Jn(e),n=un(e)}finally{q(t)}return n}function $e(e){var n=ye(e);if(!e.equals(n)&&(e.wv=fn(),(!p?.is_fork||e.deps===null)&&(p!==null?(p.capture(e,n,!0),Te?.capture(e,n,!0)):e.v=n,e.deps===null))){T(e,1024);return}Y||(w!==null?(En()||p?.is_fork)&&w.set(e,n):Ne(e))}function Qn(e){if(e.effects!==null)for(const n of e.effects)(n.teardown||n.ac)&&(n.teardown?.(),n.ac!==null&&ce(()=>{n.ac.abort(ee),n.ac=null}),n.fn!==null&&(n.teardown=In),Q(n,0),me(n))}function Je(e){if(e.effects!==null)for(const n of e.effects)n.teardown&&n.fn!==null&&W(n)}let ve=null,K=null,p=null,Te=null,w=null,Re=null,J=!1,he=!1,j=null,te=null;var ke=0;let et=1;class b{id=et++;#c=!1;linked=!0;#i=null;#f=null;async_deriveds=new Map;current=new Map;previous=new Map;#_=new Set;#E=new Set;#v=0;#r=new Map;#h=null;#e=[];#p=[];#s=new Set;#n=new Set;#t=new Map;#d=new Set;is_fork=!1;#a=!1;constructor(){K===null?ve=K=this:(K.#f=this,this.#i=K),K=this}#T(){if(this.is_fork)return!0;for(const r of this.#r.keys()){for(var n=r,t=!1;n.parent!==null;){if(this.#t.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(n){this.#t.has(n)||this.#t.set(n,{d:[],m:[]}),this.#d.delete(n)}unskip_effect(n,t=r=>this.schedule(r)){var r=this.#t.get(n);if(r){this.#t.delete(n);for(var s of r.d)T(s,2048),t(s);for(s of r.m)T(s,4096),t(s)}this.#d.add(n)}#u(){this.#c=!0,ke++>1e3&&(this.#o(),tt());for(const l of this.#s)this.#n.delete(l),T(l,2048),this.schedule(l);for(const l of this.#n)T(l,4096),this.schedule(l);const n=this.#e;this.#e=[],this.apply();var t=j=[],r=[],s=te=[];for(const l of n)try{this.#R(l,t,r)}catch(a){throw nn(l),this.#T()||this.discard(),a}if(p=null,s.length>0){var i=b.ensure();for(const l of s)i.schedule(l)}if(j=null,te=null,this.#T()){this.#l(r),this.#l(t);for(const[l,a]of this.#t)en(l,a);s.length>0&&p.#u();return}const u=this.#C();if(u){this.#l(r),this.#l(t),u.#A(this);return}this.#s.clear(),this.#n.clear();for(const l of this.#_)l(this);this.#_.clear(),Te=this,Pe(r),Pe(t),Te=null,this.#h?.resolve();var f=p;if(this.#v===0&&(this.#e.length===0||f!==null)&&this.#o(),this.#e.length>0)if(f!==null){const l=f;l.#e.push(...this.#e.filter(a=>!l.#e.includes(a)))}else f=this;f!==null&&f.#u()}#R(n,t,r){n.f^=1024;for(var s=n.first;s!==null;){var i=s.f,u=(i&96)!==0,f=u&&(i&1024)!==0,l=f||(i&8192)!==0||this.#t.has(s);if(!l&&s.fn!==null){u?s.f^=1024:(i&4)!==0?t.push(s):ne(s)&&((i&16)!==0&&this.#n.add(s),W(s));var a=s.first;if(a!==null){s=a;continue}}for(;s!==null;){var _=s.next;if(_!==null){s=_;break}s=s.parent}}}#C(){for(var n=this.#i;n!==null;){if(!n.is_fork){for(const[t,[,r]]of this.current)if(n.current.has(t)&&!r)return n}n=n.#i}return null}#A(n){for(const[r,s]of n.current)!this.previous.has(r)&&n.previous.has(r)&&this.previous.set(r,n.previous.get(r)),this.current.set(r,s);for(const[r,s]of n.async_deriveds){const i=this.async_deriveds.get(r);i&&s.promise.then(i.resolve).catch(i.reject)}n.async_deriveds.clear(),this.transfer_effects(n.#s,n.#n);const t=r=>{var s=r.reactions;if(s!==null&&!((r.f&2)!==0&&(r.f&6144)===0))for(const f of s){var i=f.f;if((i&2)!==0)t(f);else{var u=f;i&4194320&&!this.async_deriveds.has(u)&&(this.#n.delete(u),T(u,2048),this.schedule(u))}}};for(const r of this.current.keys())t(r);this.oncommit(()=>n.discard()),n.#o(),p=this,this.#u()}#l(n){for(var t=0;t<n.length;t+=1)zn(n[t],this.#s,this.#n)}capture(n,t,r=!1){n.v!==R&&!this.previous.has(n)&&this.previous.set(n,n.v),(n.f&8388608)===0&&(this.current.set(n,[t,r]),w?.set(n,t)),this.is_fork||(n.v=t)}activate(){p=this}deactivate(){p=null,w=null}flush(){try{he=!0,p=this,this.#u()}finally{ke=0,Re=null,j=null,te=null,he=!1,p=null,w=null,M.clear()}}discard(){for(const n of this.#E)n(this);this.#E.clear();for(const n of this.async_deriveds.values())n.reject(X);this.#o(),this.#h?.resolve()}register_created_effect(n){this.#p.push(n)}#D(){for(let o=ve;o!==null;o=o.#f){var n=o.id<this.id,t=[];for(const[c,[E,v]]of this.current){if(o.current.has(c)){var r=o.current.get(c)[0];if(n&&E!==r)o.current.set(c,[E,v]);else continue}t.push(c)}if(n)for(const[c,E]of this.async_deriveds){const v=o.async_deriveds.get(c);v&&E.promise.then(v.resolve).catch(v.reject)}var s=[...o.current.keys()].filter(c=>!o.current.get(c)[1]);if(!(!o.#c||s.length===0)){var i=s.filter(c=>!this.current.has(c));if(i.length===0)n&&o.discard();else if(t.length>0){if(n)for(const c of this.#d)o.unskip_effect(c,E=>{(E.f&4194320)!==0?o.schedule(E):o.#l([E])});o.activate();var u=new Set,f=new Map;for(var l of t)Qe(l,i,u,f);f=new Map;var a=[...o.current].filter(([c,E])=>{const v=this.current.get(c);return v?v[0]!==E[0]||v[1]!==E[1]:!0}).map(([c])=>c);if(a.length>0)for(const c of this.#p)(c.f&155648)===0&&Oe(c,a,f)&&((c.f&4194320)!==0?(T(c,2048),o.schedule(c)):o.#s.add(c));if(o.#e.length>0&&!o.#a){o.apply();for(var _ of o.#e)o.#R(_,[],[]);o.#e=[]}o.deactivate()}}}}increment(n,t){if(this.#v+=1,n){let r=this.#r.get(t)??0;this.#r.set(t,r+1)}}decrement(n,t){if(this.#v-=1,n){let r=this.#r.get(t)??0;r===1?this.#r.delete(t):this.#r.set(t,r-1)}this.#a||(this.#a=!0,Le(()=>{this.#a=!1,this.linked&&this.flush()}))}transfer_effects(n,t){for(const r of n)this.#s.add(r);for(const r of t)this.#n.add(r);n.clear(),t.clear()}oncommit(n){this.#_.add(n)}ondiscard(n){this.#E.add(n)}settled(){return(this.#h??=He()).promise}static ensure(){if(p===null){const n=p=new b;!he&&!J&&Le(()=>{n.#c||n.flush()})}return p}apply(){{w=null;return}}schedule(n){if(Re=n,n.b?.is_pending&&(n.f&16777228)!==0&&(n.f&32768)===0){n.b.defer_effect(n);return}for(var t=n;t.parent!==null;){t=t.parent;var r=t.f;if(j!==null&&t===d&&(h===null||(h.f&2)===0))return;if((r&96)!==0){if((r&1024)===0)return;t.f^=1024}}this.#e.push(t)}#o(){if(this.linked){var n=this.#i,t=this.#f;n===null?ve=t:n.#f=t,t===null?K=n:t.#i=n,this.linked=!1}}}function nt(e){var n=J;J=!0;try{for(var t;;){if(Kn(),p===null)return t;p.flush()}}finally{J=n}}function tt(){try{xn()}catch(e){fe(e,Re)}}let m=null;function Pe(e){var n=e.length;if(n!==0){for(var t=0;t<n;){var r=e[t++];if((r.f&24576)===0&&ne(r)&&(m=new Set,W(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&dn(r),m?.size>0)){M.clear();for(const s of m){if((s.f&24576)!==0)continue;const i=[s];let u=s.parent;for(;u!==null;)m.has(u)&&(m.delete(u),i.push(u)),u=u.parent;for(let f=i.length-1;f>=0;f--){const l=i[f];(l.f&24576)===0&&W(l)}}m.clear()}}m=null}}function Qe(e,n,t,r){if(!t.has(e)&&(t.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&2)!==0?Qe(s,n,t,r):(i&4194320)!==0&&(i&2048)===0&&Oe(s,n,r)&&(T(s,2048),Ie(s))}}function Oe(e,n,t){const r=t.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(se.call(n,s))return!0;if((s.f&2)!==0&&Oe(s,n,t))return t.set(s,!0),!0}return t.set(e,!1),!1}function Ie(e){p.schedule(e)}function en(e,n){if(!((e.f&32)!==0&&(e.f&1024)!==0)){(e.f&2048)!==0?n.d.push(e):(e.f&4096)!==0&&n.m.push(e),T(e,1024);for(var t=e.first;t!==null;)en(t,n),t=t.next}}function nn(e){T(e,1024);for(var n=e.first;n!==null;)nn(n),n=n.next}let ue=new Set;const M=new Map;let tn=!1;function ge(e,n){var t={f:0,v:e,reactions:null,equals:Ke,rv:0,wv:0};return t}function S(e,n){const t=ge(e);return sn(t),t}function Zt(e,n=!1,t=!0){const r=ge(e);return n||(r.equals=je),r}function k(e,n,t=!1){h!==null&&(!y||(h.f&131072)!==0)&&Ge()&&(h.f&4325394)!==0&&(O===null||!O.has(e))&&Bn();let r=t?z(n):n;return Ce(e,r,te)}function Ce(e,n,t=null){if(!e.equals(n)){M.set(e,Y?n:e.v);var r=b.ensure();if(r.capture(e,n),(e.f&2)!==0){const s=e;(e.f&2048)!==0&&ye(s),w===null&&Ne(s)}e.wv=fn(),rn(e,2048,t),d!==null&&(d.f&1024)!==0&&(d.f&96)===0&&(F===null?st([e]):F.push(e)),!r.is_fork&&ue.size>0&&!tn&&rt()}return n}function rt(){tn=!1;for(const e of ue){(e.f&1024)!==0&&T(e,4096);let n;try{n=ne(e)}catch{n=!0}n&&W(e)}ue.clear()}function de(e){k(e,e.v+1)}function rn(e,n,t){var r=e.reactions;if(r!==null)for(var s=r.length,i=0;i<s;i++){var u=r[i],f=u.f,l=(f&2048)===0;if(l&&T(u,n),(f&131072)!==0)ue.add(u);else if((f&2)!==0){var a=u;w?.delete(a),(f&65536)===0&&(f&512&&(d===null||(d.f&2097152)===0)&&(u.f|=65536),rn(a,4096,t))}else if(l){var _=u;(f&16)!==0&&m!==null&&m.add(_),t!==null?t.push(_):Ie(_)}}}let re=!1,Y=!1;function Be(e){Y=e}let h=null,y=!1;function L(e){h=e}let d=null;function q(e){d=e}let O=null;function sn(e){h!==null&&(O??=new Set).add(e)}let C=null,D=0,F=null;function st(e){F=e}let ln=1,B=0,V=B;function Me(e){V=e}function fn(){return++ln}function ne(e){var n=e.f;if((n&2048)!==0)return!0;if(n&2&&(e.f&=-65537),(n&4096)!==0){for(var t=e.deps,r=t.length,s=0;s<r;s++){var i=t[s];if(ne(i)&&$e(i),i.wv>e.wv)return!0}(n&512)!==0&&w===null&&T(e,1024)}return!1}function an(e,n,t=!0){var r=e.reactions;if(r!==null&&!(O!==null&&O.has(e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&2)!==0?an(i,n,!1):n===i&&(t?T(i,2048):(i.f&1024)!==0&&T(i,4096),Ie(i))}}function un(e){var n=C,t=D,r=F,s=h,i=O,u=N,f=y,l=V,a=e.f;C=null,D=0,F=null,h=(a&96)===0?e:null,O=null,ie(e.ctx),y=!1,V=++B,e.ac!==null&&(ce(()=>{e.ac.abort(ee)}),e.ac=null);try{e.f|=2097152;var _=e.fn,o=_();e.f|=32768;var c=e.deps,E=p?.is_fork;if(C!==null){var v;if(E||Q(e,D),c!==null&&D>0)for(c.length=D+C.length,v=0;v<C.length;v++)c[D+v]=C[v];else e.deps=c=C;if(En()&&(e.f&512)!==0)for(v=D;v<c.length;v++)(c[v].reactions??=[]).push(e)}else!E&&c!==null&&D<c.length&&(Q(e,D),c.length=D);if(Ge()&&F!==null&&!y&&c!==null&&(e.f&6146)===0)for(v=0;v<F.length;v++)an(F[v],e);if(s!==null&&s!==e){if(B++,s.deps!==null)for(let g=0;g<t;g+=1)s.deps[g].rv=B;if(n!==null)for(const g of n)g.rv=B;F!==null&&(r===null?r=F:r.push(...F))}return(e.f&8388608)!==0&&(e.f^=8388608),o}catch(g){return qn(g)}finally{e.f^=2097152,C=n,D=t,F=r,h=s,O=i,ie(u),y=f,V=l}}function it(e,n){let t=n.reactions;if(t!==null){var r=Nn.call(t,e);if(r!==-1){var s=t.length-1;s===0?t=n.reactions=null:(t[r]=t[s],t.pop())}}if(t===null&&(n.f&2)!==0&&(C===null||!se.call(C,n))){var i=n;(i.f&512)!==0&&(i.f^=512,i.f&=-65537),i.v!==R&&Ne(i),i.ac!==null&&ce(()=>{i.ac.abort(ee),i.ac=null,T(i,2048)}),Qn(i),Q(i,0)}}function Q(e,n){var t=e.deps;if(t!==null)for(var r=n;r<t.length;r++)it(e,t[r])}function W(e){var n=e.f;if((n&16384)===0){T(e,1024);var t=d,r=re;d=e,re=(n&96)===0;try{(n&16777232)!==0?ut(e):me(e),hn(e);var s=un(e);e.teardown=typeof s=="function"?s:null,e.wv=ln;var i;Ue&&Mn&&(e.f&2048)!==0&&e.deps}finally{re=r,d=t}}}async function $t(){await Promise.resolve(),nt()}function Jt(){return b.ensure().settled()}function Z(e){var n=e.f,t=(n&2)!==0;if(h!==null&&!y){var r=d!==null&&(d.f&16384)!==0;if(!r&&(O===null||!O.has(e))){var s=h.deps;if((h.f&2097152)!==0)e.rv<B&&(e.rv=B,C===null&&s!==null&&s[D]===e?D++:C===null?C=[e]:C.push(e));else{h.deps??=[],se.call(h.deps,e)||h.deps.push(e);var i=e.reactions;i===null?e.reactions=[h]:se.call(i,h)||i.push(h)}}}if(Y&&M.has(e))return M.get(e);if(t){var u=e;if(Y){var f=u.v;return((u.f&1024)===0&&u.reactions!==null||cn(u))&&(f=ye(u)),M.set(u,f),f}var l=(u.f&512)===0&&!y&&h!==null&&(re||(h.f&512)!==0),a=(u.f&32768)===0;ne(u)&&(l&&(u.f|=512),$e(u)),l&&!a&&(Je(u),on(u))}if(w?.has(e))return w.get(e);if((e.f&8388608)!==0)throw e.v;return e.v}function on(e){if(e.f|=512,e.deps!==null)for(const n of e.deps)(n.reactions??=[]).push(e),(n.f&2)!==0&&(n.f&512)===0&&(Je(n),on(n))}function cn(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const n of e.deps)if(M.has(n)||(n.f&2)!==0&&cn(n))return!0;return!1}function Qt(e){var n=y;try{return y=!0,e()}finally{y=n}}function _n(e){d===null&&(h===null&&Ln(),Yn()),Y&&bn()}function lt(e,n){var t=n.last;t===null?n.last=n.first=e:(t.next=e,e.prev=t,n.last=e)}function I(e,n){var t=d;t!==null&&(t.f&8192)!==0&&(e|=8192);var r={ctx:N,deps:null,nodes:null,f:e|2048|512,first:null,fn:n,last:null,next:null,parent:t,b:t&&t.b,prev:null,teardown:null,wv:0,ac:null};p?.register_created_effect(r);var s=r;if((e&4)!==0)j!==null?j.push(r):b.ensure().schedule(r);else if(n!==null){try{W(r)}catch(u){throw H(r),u}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&524288)===0&&(s=s.first,(e&16)!==0&&(e&65536)!==0&&s!==null&&(s.f|=65536))}if(s!==null&&(s.parent=t,t!==null&<(s,t),h!==null&&(h.f&2)!==0&&(e&64)===0)){var i=h;(i.effects??=[]).push(s)}return r}function En(){return h!==null&&!y}function ft(e){const n=I(8,null);return T(n,1024),n.teardown=e,n}function er(e){_n();var n=d.f,t=!h&&(n&32)!==0&&N!==null&&!N.i;if(t){var r=N;(r.e??=[]).push(e)}else return vn(e)}function vn(e){return I(1048580,e)}function nr(e){return _n(),I(1048584,e)}function tr(e){b.ensure();const n=I(524352,e);return(t={})=>new Promise(r=>{t.outro?ct(n,()=>{H(n),r(void 0)}):(H(n),r(void 0))})}function rr(e){return I(4,e)}function at(e){return I(4718592,e)}function sr(e,n=0){return I(8|n,e)}function ir(e,n=[],t=[],r=[]){Xn(r,n,t,s=>{I(8,()=>{e(...s.map(Z))})})}function lr(e,n=0){var t=I(16|n,e);return t}function fr(e){return I(524320,e)}function hn(e){var n=e.teardown;if(n!==null){const t=Y,r=h;Be(!0),L(null);try{n.call(null)}finally{Be(t),L(r)}}}function me(e,n=!1){var t=e.first;for(e.first=e.last=null;t!==null;){const s=t.ac;s!==null&&ce(()=>{s.abort(ee)});var r=t.next;(t.f&64)!==0?t.parent=null:H(t,n),t=r}}function ut(e){for(var n=e.first;n!==null;){var t=n.next;(n.f&32)===0&&H(n),n=t}}function H(e,n=!0){var t=!1;(n||(e.f&262144)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(ot(e.nodes.start,e.nodes.end),t=!0),e.f|=33554432,me(e,n&&!t),Q(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();hn(e),e.f^=33554432,e.f|=16384;var s=e.parent;s!==null&&s.first!==null&&dn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function ot(e,n){for(;e!==null;){var t=e===n?null:x(e);e.remove(),e=t}}function dn(e){var n=e.parent,t=e.prev,r=e.next;t!==null&&(t.next=r),r!==null&&(r.prev=t),n!==null&&(n.first===e&&(n.first=r),n.last===e&&(n.last=t))}function ct(e,n,t=!0){var r=[];pn(e,r,!0);var s=()=>{t&&H(e),n&&n()},i=r.length;if(i>0){var u=()=>--i||s();for(var f of r)f.out(u)}else s()}function pn(e,n,t){if((e.f&8192)===0){e.f^=8192;var r=e.nodes&&e.nodes.t;if(r!==null)for(const f of r)(f.is_global||t)&&n.push(f);for(var s=e.first;s!==null;){var i=s.next;if((s.f&64)===0){var u=(s.f&65536)!==0||(s.f&32)!==0&&(e.f&16)!==0;pn(s,n,u?t:!1)}s=i}}}function ar(e){Tn(e,!0)}function Tn(e,n){if((e.f&8192)!==0){e.f^=8192,(e.f&1024)===0&&(T(e,2048),b.ensure().schedule(e));for(var t=e.first;t!==null;){var r=t.next,s=(t.f&65536)!==0||(t.f&32)!==0;Tn(t,s?n:!1),t=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const u of i)(u.is_global||n)&&u.in()}}function ur(e,n){if(e.nodes)for(var t=e.nodes.start,r=e.nodes.end;t!==null;){var s=t===r?null:x(t);n.append(t),t=s}}export{pt as $,kt as A,oe as B,G as C,Fe as D,dt as E,En as F,Z as G,sr as H,ge as I,Le as J,de as K,_t as L,Un as M,St as N,zn as O,q as P,L as Q,vt as R,ie as S,gt as T,b as U,qn as V,h as W,Ce as X,Bt as Y,Mt as Z,fe as _,p as a,Nt as a0,Lt as a1,At as a2,Ut as a3,Ve as a4,Vn as a5,x as a6,Ae as a7,xt as a8,Dt as a9,$t as aA,S as aB,zt as aC,In as aD,mn as aE,Jt as aF,Gt as aa,tr as ab,Ct as ac,Hn as ad,De as ae,Dn as af,k as ag,Tt as ah,nt as ai,Zt as aj,Vt as ak,rr as al,ht as am,Ee as an,$ as ao,Ft as ap,yt as aq,z as ar,Y as as,Et as at,Ot as au,wt as av,we as aw,Xt as ax,It as ay,nr as az,fr as b,le as c,H as d,A as e,lr as f,Kt as g,U as h,N as i,Qt as j,bt as k,Yt as l,ur as m,Ht as n,Pt as o,ct as p,jt as q,ar as r,qt as s,ir as t,er as u,Wt as v,d as w,pe as x,Gn as y,mt as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,d as o,p as u,c as d,b as l,a as m,h as p,e as _,m as v,s as b}from"./2_TffmqH.js";class w{anchor;#t=new Map;#s=new Map;#e=new Map;#i=new Set;#a=!0;constructor(t,s=!0){this.anchor=t,this.#a=s}#f=t=>{if(this.#t.has(t)){var s=this.#t.get(t),e=this.#s.get(s);if(e)n(e),this.#i.delete(s);else{var a=this.#e.get(s);a&&(n(a.effect),this.#s.set(s,a.effect),this.#e.delete(s),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),e=a.effect)}for(const[i,f]of this.#t){if(this.#t.delete(i),i===t)break;const r=this.#e.get(f);r&&(o(r.effect),this.#e.delete(f))}for(const[i,f]of this.#s){if(i===s||this.#i.has(i))continue;const r=()=>{if(Array.from(this.#t.values()).includes(i)){var c=document.createDocumentFragment();v(f,c),c.append(d()),this.#e.set(i,{effect:f,fragment:c})}else o(f);this.#i.delete(i),this.#s.delete(i)};this.#a||!e?(this.#i.add(i),u(f,r,!1)):r()}}};#r=t=>{this.#t.delete(t);const s=Array.from(this.#t.values());for(const[e,a]of this.#e)s.includes(e)||(o(a.effect),this.#e.delete(e))};ensure(t,s){var e=m,a=b();if(s&&!this.#s.has(t)&&!this.#e.has(t))if(a){var i=document.createDocumentFragment(),f=d();i.append(f),this.#e.set(t,{effect:l(()=>s(f)),fragment:i})}else this.#s.set(t,l(()=>s(this.anchor)));if(this.#t.set(e,t),a){for(const[r,h]of this.#s)r===t?e.unskip_effect(h):e.skip_effect(h);for(const[r,h]of this.#e)r===t?e.unskip_effect(h.effect):e.skip_effect(h.effect);e.oncommit(this.#f),e.ondiscard(this.#r)}else p&&(this.anchor=_),this.#f(e)}}export{w as B};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as o,i as t,j as c}from"./2_TffmqH.js";function u(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function i(e){t===null&&u(),o(()=>{const n=c(e);if(typeof n=="function")return n})}export{i as o};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{F as Z,G as z,H as ee,I as J,j as te,J as A,K as P,e as g,h as v,w as b,L as V,f as re,A as se,M as ie,N as L,b as u,c as U,p as x,a as p,m as ne,O as ae,P as N,Q as D,S as $,U as fe,V as he,W as X,i as G,X as oe,d as C,C as O,Y as le,Z as de,_ as w,E as ce,$ as _e,a0 as ue,a1 as pe,a2 as ge,a3 as I,x as ve,a4 as K,a5 as ye,a6 as me,a7 as H,a8 as S,a9 as be,aa as Ee,ab as Te,ac as we,k as Se,ad as Re,ae as ke,l as Ae,af as B}from"./2_TffmqH.js";import{b as Ne}from"./rqnVXeyB.js";function De(r){let e=0,t=J(0),i;return()=>{Z()&&(z(t),ee(()=>(e===0&&(i=te(()=>r(()=>P(t)))),e+=1,()=>{A(()=>{e-=1,e===0&&(i?.(),i=void 0,P(t))})})))}}var Oe=ce|_e;function Fe(r,e,t,i){new xe(r,e,t,i)}class xe{parent;is_pending=!1;transform_error;#r;#u=v?g:null;#i;#o;#t;#n=null;#e=null;#s=null;#a=null;#l=0;#h=0;#d=!1;#p=new Set;#g=new Set;#f=null;#b=De(()=>(this.#f=J(this.#l),()=>{this.#f=null}));constructor(e,t,i,f){this.#r=e,this.#i=t,this.#o=s=>{var n=b;n.b=this,n.f|=V,i(s)},this.parent=b.b,this.transform_error=f??this.parent?.transform_error??(s=>s),this.#t=re(()=>{if(v){const s=this.#u;se();const n=s.data===ie;if(s.data.startsWith(L)){const a=JSON.parse(s.data.slice(L.length));this.#T(a)}else n?this.#w():this.#E()}else this.#v()},Oe),v&&(this.#r=g)}#E(){try{this.#n=u(()=>this.#o(this.#r))}catch(e){this.error(e)}}#T(e){const t=this.#i.failed;t&&(this.#s=u(()=>{t(this.#r,()=>e,()=>()=>{})}))}#w(){const e=this.#i.pending;e&&(this.is_pending=!0,this.#e=u(()=>e(this.#r)),A(()=>{var t=this.#a=document.createDocumentFragment(),i=U();t.append(i),this.#n=this.#_(()=>u(()=>this.#o(i))),this.#h===0&&(this.#r.before(t),this.#a=null,x(this.#e,()=>{this.#e=null}),this.#c(p))}))}#v(){try{if(this.is_pending=this.has_pending_snippet(),this.#h=0,this.#l=0,this.#n=u(()=>{this.#o(this.#r)}),this.#h>0){var e=this.#a=document.createDocumentFragment();ne(this.#n,e);const t=this.#i.pending;this.#e=u(()=>t(this.#r))}else this.#c(p)}catch(t){this.error(t)}}#c(e){this.is_pending=!1,e.transfer_effects(this.#p,this.#g)}defer_effect(e){ae(e,this.#p,this.#g)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#_(e){var t=b,i=X,f=G;N(this.#t),D(this.#t),$(this.#t.ctx);try{return fe.ensure(),e()}catch(s){return he(s),null}finally{N(t),D(i),$(f)}}#y(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(e,t);return}this.#h+=e,this.#h===0&&(this.#c(t),this.#e&&x(this.#e,()=>{this.#e=null}),this.#a&&(this.#r.before(this.#a),this.#a=null))}update_pending_count(e,t){this.#y(e,t),this.#l+=e,!(!this.#f||this.#d)&&(this.#d=!0,A(()=>{this.#d=!1,this.#f&&oe(this.#f,this.#l)}))}get_effect_pending(){return this.#b(),z(this.#f)}error(e){if(!this.#i.onerror&&!this.#i.failed)throw e;p?.is_fork?(this.#n&&p.skip_effect(this.#n),this.#e&&p.skip_effect(this.#e),this.#s&&p.skip_effect(this.#s),p.oncommit(()=>{this.#m(e)})):this.#m(e)}#m(e){this.#n&&(C(this.#n),this.#n=null),this.#e&&(C(this.#e),this.#e=null),this.#s&&(C(this.#s),this.#s=null),v&&(O(this.#u),le(),O(de()));var t=this.#i.onerror;let i=this.#i.failed;var f=!1,s=!1;const n=()=>{if(f){pe();return}f=!0,s&&ue(),this.#s!==null&&x(this.#s,()=>{this.#s=null}),this.#_(()=>{this.#v()})},c=a=>{try{s=!0,t?.(a,n),s=!1}catch(h){w(h,this.#t&&this.#t.parent)}i&&(this.#s=this.#_(()=>{try{return u(()=>{var h=b;h.b=this,h.f|=V,i(this.#r,()=>a,()=>n)})}catch(h){return w(h,this.#t.parent),null}}))};A(()=>{var a;try{a=this.transform_error(e)}catch(h){w(h,this.#t&&this.#t.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(c,h=>w(h,this.#t&&this.#t.parent)):c(a)})}}const R=Symbol("events"),Ce=new Set,W=new Set;let j=null;function q(r){var e=this,t=e.ownerDocument,i=r.type,f=r.composedPath?.()||[],s=f[0]||r.target;j=r;var n=0,c=j===r&&r[R];if(c){var a=f.indexOf(c);if(a!==-1&&(e===document||e===window)){r[R]=e;return}var h=f.indexOf(e);if(h===-1)return;a<=h&&(n=a)}if(s=f[n]||r.target,s!==e){ge(r,"currentTarget",{configurable:!0,get(){return s||t}});var y=X,E=b;D(null),N(null);try{for(var _,l=[];s!==null&&s!==e;){try{var d=s[R]?.[i];d!=null&&(!s.disabled||r.target===s)&&d.call(s,r)}catch(o){_?l.push(o):_=o}if(r.cancelBubble)break;n++,s=n<f.length?f[n]:null}if(_){for(let o of l)queueMicrotask(()=>{throw o});throw _}}finally{r[R]=e,delete r.currentTarget,D(y),N(E)}}}const Ie=["touchstart","touchmove"];function He(r){return Ie.includes(r)}function Ve(r,e){var t=e==null?"":typeof e=="object"?`${e}`:e;t!==(r[B]??=r.nodeValue)&&(r[B]=t,r.nodeValue=`${t}`)}function Me(r,e){return Q(r,e)}function Le(r,e){I(),e.intro=e.intro??!1;const t=e.target,i=v,f=g;try{for(var s=ve(t);s&&(s.nodeType!==K||s.data!==ye);)s=me(s);if(!s)throw H;S(!0),O(s);const n=Q(r,{...e,anchor:s});return S(!1),n}catch(n){if(n instanceof Error&&n.message.split(`
|
|
2
|
+
`).some(c=>c.startsWith("https://svelte.dev/e/")))throw n;return n!==H&&console.warn("Failed to hydrate: ",n),e.recover===!1&&be(),I(),Ee(t),S(!1),Me(r,e)}finally{S(i),O(f)}}const k=new Map;function Q(r,{target:e,anchor:t,props:i={},events:f,context:s,intro:n=!0,transformError:c}){I();var a=void 0,h=Te(()=>{var y=t??e.appendChild(U());Fe(y,{pending:()=>{}},l=>{Se({});var d=G;if(s&&(d.c=s),f&&(i.$$events=f),v&&Ne(l,null),a=r(l,i)||{},v&&(b.nodes.end=g,g===null||g.nodeType!==K||g.data!==Re))throw ke(),H;Ae()},c);var E=new Set,_=l=>{for(var d=0;d<l.length;d++){var o=l[d];if(!E.has(o)){E.add(o);var T=He(o);for(const F of[e,document]){var m=k.get(F);m===void 0&&(m=new Map,k.set(F,m));var Y=m.get(o);Y===void 0?(F.addEventListener(o,q,{passive:T}),m.set(o,1)):m.set(o,Y+1)}}}};return _(we(Ce)),W.add(_),()=>{for(var l of E)for(const T of[e,document]){var d=k.get(T),o=d.get(l);--o==0?(T.removeEventListener(l,q),d.delete(l),d.size===0&&k.delete(T)):d.set(l,o)}W.delete(_),y!==t&&y.parentNode?.removeChild(y)}});return M.set(a,h),a}let M=new WeakMap;function $e(r,e){const t=M.get(r);return t?(M.delete(r),t(e)):Promise.resolve()}export{Le as h,Me as m,Ve as s,$e as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{v,c as d,w as l,x as u,y as T,T as p,z as h,h as i,e as s,R as y,A as E,B as w,C as g,D as N}from"./2_TffmqH.js";const x=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function A(t){return x?.createHTML(t)??t}function M(t){var r=v("template");return r.innerHTML=A(t.replaceAll("<!>","<!---->")),r.content}function n(t,r){var e=l;e.nodes===null&&(e.nodes={start:t,end:r,a:null,t:null})}function b(t,r){var e=(r&p)!==0,f=(r&h)!==0,a,_=!t.startsWith("<!>");return()=>{if(i)return n(s,null),s;a===void 0&&(a=M(_?t:"<!>"+t),e||(a=u(a)));var o=f||T?document.importNode(a,!0):a.cloneNode(!0);if(e){var c=u(o),m=o.lastChild;n(c,m)}else n(o,o);return o}}function C(t=""){if(!i){var r=d(t+"");return n(r,r),r}var e=s;return e.nodeType!==w?(e.before(e=d()),g(e)):N(e),n(e,e),e}function O(){if(i)return n(s,null),s;var t=document.createDocumentFragment(),r=document.createComment(""),e=d();return t.append(r,e),n(r,e),t}function P(t,r){if(i){var e=l;((e.f&y)===0||e.nodes.end===null)&&(e.nodes.end=s),E();return}t!==null&&t.before(r)}const L="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(L);export{P as a,n as b,O as c,b as f,C as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aD as we,aE as bt,aA as oe,aF as kt,aB as A,G as U,ag as T}from"./2_TffmqH.js";import{o as Fe}from"./B2EkC-sy.js";const V=[];function Ae(e,t=we){let n=null;const r=new Set;function a(o){if(bt(e,o)&&(e=o,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(o){a(o(e))}function s(o,c=we){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,i)||we),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:s}}const Et="1784588224823",L=globalThis.__sveltekit_1lf46v?.base??"",St=globalThis.__sveltekit_1lf46v?.assets??L??"";new URL("sveltekit-internal://");function Rt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function xt(e){return e.split("%25").map(decodeURI).join("%25")}function Lt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}const At=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Ut=/^\/\((?:[^)]+)\)$/;function Tt(e){const t=[];return{pattern:e==="/"||Ut.test(e)?/^\/$/:new RegExp(`^${Pt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return be(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return be(String.fromCharCode(...c.slice(2).split("-").map(m=>parseInt(m,16))));const u=At.exec(c),[,p,v,d,f]=u;return t.push({name:d,matcher:f,optional:!!p,rest:!!v,chained:v?l===1&&s[0]==="":!1}),v?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return be(c)}).join("")}).join("")}/?$`),params:t}}function It(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(It)}function Ot(e,t,n){const r={},a=e.slice(1),i=a.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-s];if(c.chained&&c.rest&&s&&(l=a.slice(o-s,o+1).filter(u=>u).join("/"),s=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const u=t[o+1],p=a[o+1];u&&!u.rest&&u.optional&&p&&c.chained&&(s=0),!u&&!p&&Object.keys(r).length===i.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function be(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}class Ue{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Te{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Ie extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}function C(){}function $t(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function Ct(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Nt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Y.delete(Pe(e)),Nt(e,t));const Y=new Map;function jt(e,t){const n=Pe(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(a=Ct(a));const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function qt(e,t,n){if(Y.size>0){const r=Pe(e,n),a=Y.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);Y.delete(r)}}return window.fetch(t,n)}function Pe(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${$t(...a)}"]`}return r}function Dt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,u]])=>{const{pattern:p,params:v}=Tt(o),d={id:o,exec:f=>{const m=p.exec(f);if(m)return Ot(m,v,r)},errors:[1,...u||[]].map(f=>e[f]),layouts:[0,...l||[]].map(s),leaf:i(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function i(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[a.has(o),e[o]]}}function Qe(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ke(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const Ze="sveltekit:snapshot",et="sveltekit:scroll",tt="sveltekit:states",Vt="sveltekit:pageurl",F="sveltekit:history",Q="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},nt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...nt];const Mt=new Set([...nt]);[...Mt];function Bt(e){return e.filter(t=>t!=null)}function re(e,t){return e+"/"+t}function Oe(e){return e instanceof Ue||e instanceof Ie?e.status:500}function Ft(e){return e instanceof Ie?e.text:"Internal Error"}const Kt=new Set(["icon","shortcut icon","apple-touch-icon"]);let W=null;const j=Qe(et)??{},Z=Qe(Ze)??{},N={url:Ye({}),page:Ye({}),navigating:Ae(null),updated:fn()};function $e(e){j[e]=D()}function Gt(e,t){let n=e+1;for(;j[n];)delete j[n],n+=1;for(n=t+1;Z[n];)delete Z[n],n+=1}function ee(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(C)}async function rt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Ce,Se,se,I,Re,w;const ie=[],ce=[];let S=null;function le(){S?.fork?.then(e=>e?.discard()),S=null,B={element:void 0,href:void 0}}const ae=new Map,at=new Set,Ht=new Set,X=new Set;let _={branch:[],error:null,url:null},ot=!1,ue=!1,Ge=!0,te=!1,J=!1,st=!1,Ne=!1,it,y,R,$;const fe=new Set,He=new Map,ze=new Map;async function gn(e,t,n){if(globalThis.__sveltekit_1lf46v.data){const{q:i={},p:s={},l:o={},f:c={}}=globalThis.__sveltekit_1lf46v.data;for(const l in i)i[l];for(const l in o)o[l];for(const l in c)c[l];for(const l in s)s[l]}document.URL!==location.href&&(location.href=location.href),w=e,await e.hooks.init?.(),Ce=Dt(e),I=document.documentElement,Re=t,Se=e.nodes[0],se=e.nodes[1],Se(),se(),y=history.state?.[F],R=history.state?.[Q],y||(y=R=Date.now(),history.replaceState({...history.state,[F]:y,[Q]:R},""));const r=j[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await sn(Re,n)):(await K({type:"enter",url:gt(w.hash?un(new URL(location.href)):location.href),replace_state:!0}),a()),on()}function zt(){ie.length=0,Ne=!1}function ct(e){ce.some(t=>t?.snapshot)&&(Z[e]=ce.map(t=>t?.snapshot?.capture()))}function lt(e){Z[e]?.forEach((t,n)=>{ce[n]?.snapshot?.restore(t)})}function We(){$e(y),Ke(et,j),ct(R),Ke(Ze,Z)}async function Wt(e,t,n,r){let a,i;t.invalidateAll&&le(),await K({type:"goto",url:gt(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{if(t.invalidateAll){Ne=!0,a=new Set;for(const[s,o]of He)for(const[c,l]of o)l.resource?.reset(),a.add(re(s,c));i=new Set;for(const[s,o]of ze)for(const c of o.keys())i.add(re(s,c))}t.invalidate&&t.invalidate.forEach(an)}}),t.invalidateAll&&oe().then(oe).then(()=>{for(const[s,o]of He)for(const[c,{resource:l}]of o)a?.has(re(s,c))&&l.start();for(const[s,o]of ze)for(const[c,{resource:l}]of o)i?.has(re(s,c))&&l.reconnect()})}async function Jt(e){if(e.id!==S?.id){le();const t={};fe.add(t),S={id:e.id,token:t,promise:ft({...e,preload:t}).then(n=>(fe.delete(t),n.type==="loaded"&&n.state.error&&le(),n)),fork:null}}return S.promise}async function ke(e){const t=(await ge(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function ut(e,t,n){const r={params:_.params,route:{id:_.route?.id??null},url:new URL(location.href)};if(_={...e.state,nav:r},wt(e.props.page),it=new w.root({target:t,props:{...e.props,stores:N,components:ce},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){const a={from:null,to:{...r,scroll:j[y]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};X.forEach(i=>i(a))}lt(R),ue=!0}async function de({url:e,params:t,branch:n,errors:r,status:a,error:i,route:s,form:o}){let c="never";if(L&&(e.pathname===L||e.pathname===L+"/"))c="always";else for(const f of n)f?.slash!==void 0&&(c=f.slash);e.pathname=Rt(e.pathname,c),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:n,error:i,route:s},props:{constructors:Bt(n).map(f=>f.node.component),page:Me(x)}};o!==void 0&&(l.props.form=o);let u={},p=!x,v=0;for(let f=0;f<Math.max(n.length,_.branch.length);f+=1){const m=n[f],g=_.branch[f];m?.data!==g?.data&&(p=!0),m&&(u={...u,...m.data},p&&(l.props[`data_${v}`]=u),v+=1)}return(!_.url||e.href!==_.url.href||_.error!==i||o!==void 0&&o!==x.form||p)&&(l.props.page={error:i,params:t,route:{id:s?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?u:x.data}),l}async function je({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let s=null;const o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:s,uses:o}:null,data:s??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Yt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const i=ue?qt(r,a.href,t):jt(r,t);return{resolved:a,promise:i}}function Xt(e,t,n,r,a,i){if(Ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(i[s]!==_.params[s])return!0;for(const s of a.dependencies)if(ie.some(o=>o(new URL(s))))return!0;return!1}function qe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Qt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(s=>i.includes(s))&&i.every(s=>a.includes(s))&&n.delete(r)}return n}function Zt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Me(x),constructors:[]}}}async function ft({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(S?.id===e)return fe.delete(S.token),S.promise;const{errors:s,layouts:o,leaf:c}=a,l=[...o,c];s.forEach(g=>g?.().catch(C)),l.forEach(g=>g?.[1]().catch(C));const u=_.url?e!==he(_.url):!1,p=_.route?a.id!==_.route.id:!1,v=Qt(_.url,n);let d=!1;const f=l.map(async(g,h)=>{if(!g)return;const b=_.branch[h];return g[1]===b?.loader&&!Xt(d,p,u,v,b.universal?.uses,r)?b:(d=!0,je({loader:g[1],url:n,params:r,route:a,parent:async()=>{const P={};for(let O=0;O<h;O+=1)Object.assign(P,(await f[O])?.data);return P},server_data_node:qe(g[0]?{type:"skip"}:null,g[0]?b?.server:void 0)}))});for(const g of f)g.catch(C);const m=[];for(let g=0;g<l.length;g+=1)if(l[g])try{m.push(await f[g])}catch(h){if(h instanceof Te)return{type:"redirect",location:h.location};if(i&&fe.has(i))return Zt({error:await G(h,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=Oe(h),E;if(h instanceof Ue)E=h.body;else{if(await N.updated.check())return await rt(),await ee(n);E=await G(h,{params:r,url:n,route:{id:a.id}})}const P=await en(g,m,s);return P?de({url:n,params:r,branch:m.slice(0,P.idx).concat(P.node),errors:s,status:b,error:E,route:a}):await ht(n,{id:a.id},E,b)}else m.push(void 0);return de({url:n,params:r,branch:m,errors:s,status:200,error:null,route:a,form:t?void 0:null})}async function en(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function De({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const s=await je({loader:Se,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:qe(i)}),o={node:await se(),loader:se,universal:null,server:null,data:null};return de({url:n,params:a,branch:[s,o],status:e,error:t,errors:[],route:null})}catch(s){if(s instanceof Te){await Wt(new URL(s.location,location.href),{},0);return}const o=await w.get_error_template(),c=await G(s,{url:n,params:a,route:r}),l=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),u=o({status:e,message:l}),p=new DOMParser().parseFromString(u,"text/html");throw document.documentElement.replaceChild(document.adoptNode(p.head),document.head),document.documentElement.replaceChild(document.adoptNode(p.body),document.body),s}}async function tn(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await w.hooks.reroute({url:new URL(e),fetch:async(i,s)=>Yt(i,s,e).promise})??e;if(typeof a=="string"){const i=new URL(e);w.hash?i.hash=a:i.pathname=a,a=i}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function ge(e,t){if(e&&!me(e,L,w.hash)){const n=await tn(e);if(!n)return;const r=nn(n);for(const a of Ce){const i=a.exec(r);if(i)return{id:he(e),invalidating:t,route:a,params:Lt(i),url:e}}}}function nn(e){return xt(w.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function he(e){return(w.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function dt({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let s=!1;const o=Ve(_,n,e,t,i??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return te||at.forEach(l=>l(c)),s?null:o}async function K({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s={},redirect_count:o=0,nav_token:c={},accept:l=C,block:u=C,event:p}){const v=$;$=c;const d=await ge(t,!1),f=e==="enter"?Ve(_,d,t,e):dt({url:t,type:e,delta:n?.delta,intent:d,scroll:n?.scroll,event:p});if(!f){u(),$===c&&($=v);return}const m=y,g=R;l(),te=!0,ue&&f.navigation.type!=="enter"&&N.navigating.set(ne.current=f.navigation);let h=d&&await ft(d);if(!h){if(me(t,L,w.hash))return await ee(t,i);h=await ht(t,{id:null},await G(new Ie(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=d?.url||t,$!==c){f.reject(new Error("navigation aborted"));return}if(!h)return;if(h.type==="redirect"){if(o<20){await K({type:e,url:new URL(h.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s,redirect_count:o+1,nav_token:c}),f.fulfil(void 0);return}if(h=await De({status:500,error:await G(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!h)return}else if(h.props.page.status>=400&&await N.updated.check())return await rt(),await ee(t,i);if(zt(),$e(m),ct(g),h.props.page.url.pathname!==t.pathname&&(t.pathname=h.props.page.url.pathname),s=n?n.state:s,!n){const k=i?0:1,H={[F]:y+=k,[Q]:R+=k,[tt]:s};(i?history.replaceState:history.pushState).call(history,H,"",t),i||Gt(y,R)}const b=d&&S?.id===d.id?S.fork:null;S?.fork&&!b?le():(S=null,B={element:void 0,href:void 0}),h.props.page.state=s;let E;if(ue){const k=(await Promise.all(Array.from(Ht,z=>z(f.navigation)))).filter(z=>typeof z=="function");if(k.length>0){let z=function(){k.forEach(ve=>{X.delete(ve)})};k.push(z),k.forEach(ve=>{X.add(ve)})}const H=f.navigation.to;_={...h.state,nav:{params:H.params,route:H.route,url:H.url}},h.props.page&&(h.props.page.url=t),!r&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const _e=b&&await b;_e?E=_e.commit():(W=null,it.$set(h.props),W&&Object.assign(h.props.page,W),wt(h.props.page),E=kt?.()),st=!0}else await ut(h,Re,!1);const{activeElement:P}=document;if(await E,await oe(),await oe(),$!==c){f.reject(new Error("navigation aborted"));return}h.props.page&&W&&Object.assign(h.props.page,W);let O=null;if(Ge){const k=n?n.scroll:a?D():null;k?scrollTo(k.x,k.y):(O=t.hash&&document.getElementById(pt(t)))?O.scrollIntoView():scrollTo(0,0)}const yt=document.activeElement!==P&&document.activeElement!==document.body;!r&&!yt&&ln(t,!O),Ge=!0,te=!1,f.fulfil(void 0),f.navigation.to&&(f.navigation.to.scroll=D()),X.forEach(k=>k(f.navigation)),e==="popstate"&<(R),N.navigating.set(ne.current=null)}async function ht(e,t,n,r,a){return e.origin===Be&&e.pathname===location.pathname&&!ot?await De({status:r,error:n,url:e,route:t}):await ee(e,a)}let B={element:void 0,href:void 0};function rn(){let e,t;I.addEventListener("mousemove",s=>{const o=s.target;clearTimeout(e),e=setTimeout(()=>{a(o,q.hover)},20)});function n(s){s.defaultPrevented||a(s.composedPath()[0],q.tap)}I.addEventListener("mousedown",n),I.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(s=>{for(const o of s)o.isIntersecting&&(ke(new URL(o.target.href)),r.unobserve(o.target))},{threshold:0});async function a(s,o){const c=_t(s,I),l=c===B.element&&c?.href===B.href&&o>=t;if(!c||l)return;const{url:u,external:p,download:v}=Le(c,L,w.hash);if(p||v)return;const d=pe(c),f=u&&he(_.url)===he(u);if(!(d.reload||f))if(o<=d.preload_data){B={element:c,href:c.href},t=q.tap;const m=await ge(u,!1);if(!m)return;Jt(m)}else o<=d.preload_code&&(B={element:c,href:c.href},t=o,ke(u))}function i(){r.disconnect();for(const s of I.querySelectorAll("a")){const{url:o,external:c,download:l}=Le(s,L,w.hash);if(c||l)continue;const u=pe(s);u.reload||(u.preload_code===q.viewport&&r.observe(s),u.preload_code===q.eager&&ke(o))}}X.add(i),i()}function G(e,t){if(e instanceof Ue)return e.body;const n=Oe(e),r=Ft(e);return w.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function an(e){if(typeof e=="function")ie.push(e);else{const{href:t}=new URL(e,location.href);ie.push(n=>n.href===t)}}function on(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(We(),!te){const r=Ve(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};at.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&We()}),navigator.connection?.saveData||rn(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=_t(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:i,download:s}=Le(n,L,w.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const o=pe(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[l,u]=(w.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=l===ye(location);if(a||o.reload&&(!p||!u)){dt({url:r,type:"link",event:t})?te=!0:t.preventDefault();return}if(u!==void 0&&p){const[,v]=_.url.href.split("#");if(v===u){if(t.preventDefault(),u===""||u==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=n.ownerDocument.getElementById(decodeURIComponent(u));d&&(d.scrollIntoView(),d.focus())}return}if(J=!0,$e(y),e(r),!o.replace_state)return;J=!1}t.preventDefault(),await new Promise(v=>{requestAnimationFrame(()=>{setTimeout(v,0)}),setTimeout(v,100)}),await K({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const s=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(me(s,L,!1))return;const o=t.target,c=pe(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o,r);s.search=new URLSearchParams(l).toString(),K({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!xe){if(t.state?.[F]){const n=t.state[F];if($={},n===y)return;const r=j[n],a=t.state[tt]??{},i=new URL(t.state[Vt]??location.href),s=t.state[Q],o=_.url?ye(location)===ye(_.url):!1;if(s===R&&(st||o)){a!==x.state&&(x.state=a),e(i),j[y]=D(),r&&scrollTo(r.x,r.y),y=n;return}const l=n-y;await K({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{y=n,R=s},block:()=>{history.go(-l)},nav_token:$,event:t})}else if(!J){const n=new URL(location.href);e(n),w.hash&&location.reload()}}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[F]:++y,[Q]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Kt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&N.navigating.set(ne.current=null)});function e(t){_.url=x.url=t,N.page.set(Me(x)),N.page.notify()}}async function sn(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:s,data:o,form:c}){ot=!0;const l=new URL(location.href);let u;({params:a={},route:i={id:null}}=await ge(l,!1)||{}),u=Ce.find(({id:d})=>d===i.id);let p,v=!0;try{const d=r.map(async(m,g)=>{const h=o[g];return h?.uses&&(h.uses=cn(h.uses)),je({loader:w.nodes[m],url:l,params:a,route:i,parent:async()=>{const b={};for(let E=0;E<g;E+=1)Object.assign(b,(await d[E]).data);return b},server_data_node:qe(h)})}),f=await Promise.all(d);if(u){const m=u.layouts;for(let g=0;g<m.length;g++)m[g]||f.splice(g,0,void 0)}p=await de({url:l,params:a,branch:f,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(d){if(d instanceof Te)return await ee(new URL(d.location,location.href));p=await De({status:Oe(d),error:await G(d,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",v=!1}p&&(p.props.page&&(p.props.page.state={}),await ut(p,e,v))}function cn(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let xe=!1;function ln(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=pt(e);if(r&&document.getElementById(r)){const{x:i,y:s}=D();setTimeout(()=>{const o=history.state;xe=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(i,s),xe=!1})}else{const i=document.body,s=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),s!==null?i.setAttribute("tabindex",s):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let s=0;s<a.rangeCount;s+=1)i.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===i.length){for(let s=0;s<a.rangeCount;s+=1){const o=i[s],c=a.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ve(e,t,n,r,a=null){let i,s;const o=new Promise((l,u)=>{i=l,s=u});return o.catch(C),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:D()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:i,reject:s}}function Me(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function un(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function pt(e){let t;if(w.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}const Be=location.origin;function gt(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function D(){return{x:pageXOffset,y:pageYOffset}}function M(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Je={...q,"":q.hover};function mt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function _t(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=mt(e)}}function Le(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||me(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),s=r?.origin===Be&&e.hasAttribute("download");return{url:r,external:i,target:a,download:s}}function pe(e){let t=null,n=null,r=null,a=null,i=null,s=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=M(o,"preload-code")),a===null&&(a=M(o,"preload-data")),t===null&&(t=M(o,"keepfocus")),n===null&&(n=M(o,"noscroll")),i===null&&(i=M(o,"reload")),s===null&&(s=M(o,"replacestate")),o=mt(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Je[r??"off"],preload_data:Je[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(s)}}function Ye(e){const t=Ae(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function i(s){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&s(o=c)})}return{notify:r,set:a,subscribe:i}}const vt={v:C};function fn(){const{set:e,subscribe:t}=Ae(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${St}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==Et;return s&&(e(!0),vt.v(),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function me(e,t,n){return e.origin!==Be||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function mn(e){}let x,ne,Ee;const dn=Fe.toString().includes("$$")||/function \w+\(\) \{\}/.test(Fe.toString()),Xe="a:";dn?(x={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Xe)},ne={current:null},Ee={current:!1}):(x=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL(Xe));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},ne=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},Ee=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},vt.v=()=>Ee.current=!0);function wt(e){Object.assign(x,e)}export{gn as a,mn as l,x as p,N as s};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
const e=({status:n,message:t})=>`<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>`+t+`</title>
|
|
6
|
+
|
|
7
|
+
<style>
|
|
8
|
+
body {
|
|
9
|
+
--bg: white;
|
|
10
|
+
--fg: #222;
|
|
11
|
+
--divider: #ccc;
|
|
12
|
+
background: var(--bg);
|
|
13
|
+
color: var(--fg);
|
|
14
|
+
font-family:
|
|
15
|
+
system-ui,
|
|
16
|
+
-apple-system,
|
|
17
|
+
BlinkMacSystemFont,
|
|
18
|
+
'Segoe UI',
|
|
19
|
+
Roboto,
|
|
20
|
+
Oxygen,
|
|
21
|
+
Ubuntu,
|
|
22
|
+
Cantarell,
|
|
23
|
+
'Open Sans',
|
|
24
|
+
'Helvetica Neue',
|
|
25
|
+
sans-serif;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
height: 100vh;
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.error {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
max-width: 32rem;
|
|
37
|
+
margin: 0 1rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.status {
|
|
41
|
+
font-weight: 200;
|
|
42
|
+
font-size: 3rem;
|
|
43
|
+
line-height: 1;
|
|
44
|
+
position: relative;
|
|
45
|
+
top: -0.05rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.message {
|
|
49
|
+
border-left: 1px solid var(--divider);
|
|
50
|
+
padding: 0 0 0 1rem;
|
|
51
|
+
margin: 0 0 0 1rem;
|
|
52
|
+
min-height: 2.5rem;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.message h1 {
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
font-size: 1em;
|
|
60
|
+
margin: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@media (prefers-color-scheme: dark) {
|
|
64
|
+
body {
|
|
65
|
+
--bg: #222;
|
|
66
|
+
--fg: #ddd;
|
|
67
|
+
--divider: #666;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
</style>
|
|
71
|
+
</head>
|
|
72
|
+
<body>
|
|
73
|
+
<div class="error">
|
|
74
|
+
<span class="status">`+n+`</span>
|
|
75
|
+
<div class="message">
|
|
76
|
+
<h1>`+t+`</h1>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</body>
|
|
80
|
+
</html>
|
|
81
|
+
`;export{e as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BYBfjxZ5.js","../chunks/rqnVXeyB.js","../chunks/2_TffmqH.js","../chunks/3DOfIKW0.js","../nodes/1.BNXFXajG.js","../chunks/CMkIcmi1.js","../chunks/sZYZbj9W.js","../chunks/B2EkC-sy.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{ag as R,ah as G,G as h,ai as ie,a2 as oe,aj as ce,h as T,A as V,f as z,E as F,ak as H,Z,C as W,a8 as I,e as J,a5 as ue,i as fe,al as le,H as de,j as K,w as Q,am as _e,an as X,ao as ve,ap as he,aq as me,ar as ge,as as ye,at as be,au as Ee,av as Pe,aw as q,ax as we,ay as Se,k as Re,az as Oe,u as Ae,aA as Te,g as O,q as Ie,l as xe,aB as L,n as Le,o as je,t as ke,aC as j}from"../chunks/2_TffmqH.js";import{h as Ce,m as De,u as Ne,s as Be}from"../chunks/CMkIcmi1.js";import{a as S,f as $,c as k,t as pe}from"../chunks/rqnVXeyB.js";import{o as Me}from"../chunks/B2EkC-sy.js";import{B as ee}from"../chunks/3DOfIKW0.js";const Ye="modulepreload",qe=function(t,e){return new URL(t,e).href},U={},M=function(e,s,i){let c=Promise.resolve();if(s&&s.length>0){let d=function(o){return Promise.all(o.map(v=>Promise.resolve(v).then(E=>({status:"fulfilled",value:E}),E=>({status:"rejected",reason:E}))))};const a=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),u=n?.nonce||n?.getAttribute("nonce");c=d(s.map(o=>{if(o=qe(o,i),o in U)return;U[o]=!0;const v=o.endsWith(".css"),E=v?'[rel="stylesheet"]':"";if(i)for(let y=a.length-1;y>=0;y--){const f=a[y];if(f.href===o&&(!v||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${E}`))return;const _=document.createElement("link");if(_.rel=v?"stylesheet":Ye,v||(_.as="script"),_.crossOrigin="",_.href=o,u&&_.setAttribute("nonce",u),document.head.appendChild(_),v)return new Promise((y,f)=>{_.addEventListener("load",y),_.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})}))}function r(a){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=a,window.dispatchEvent(n),!n.defaultPrevented)throw a}return c.then(a=>{for(const n of a||[])n.status==="rejected"&&r(n.reason);return e().catch(r)})},$e={};let A=!1;function Ue(t){var e=A;try{return A=!1,[t(),A]}finally{A=e}}function Ge(t){return class extends Ve{constructor(e){super({component:t,...e})}}}class Ve{#t;#e;constructor(e){var s=new Map,i=(r,a)=>{var n=ce(a,!1,!1);return s.set(r,n),n};const c=new Proxy({...e.props||{},$$events:{}},{get(r,a){return h(s.get(a)??i(a,Reflect.get(r,a)))},has(r,a){return a===G?!0:(h(s.get(a)??i(a,Reflect.get(r,a))),Reflect.has(r,a))},set(r,a,n){return R(s.get(a)??i(a,n),n),Reflect.set(r,a,n)}});this.#e=(e.hydrate?Ce:De)(e.component,{target:e.target,anchor:e.anchor,props:c,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&ie(),this.#t=c.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||oe(this,r,{get(){return this.#e[r]},set(a){this.#e[r]=a},enumerable:!0});this.#e.$set=r=>{Object.assign(c,r)},this.#e.$destroy=()=>{Ne(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const i=(...c)=>s.call(this,...c);return this.#t[e].push(i),()=>{this.#t[e]=this.#t[e].filter(c=>c!==i)}}$destroy(){this.#e.$destroy()}}function C(t,e,s=!1){var i;T&&(i=J,V());var c=new ee(t),r=s?F:0;function a(n,u){if(T){var d=H(i);if(n!==parseInt(d.substring(1))){var o=Z();W(o),c.anchor=o,I(!1),c.ensure(n,u),I(!0);return}}c.ensure(n,u)}z(()=>{var n=!1;e((u,d=0)=>{n=!0,a(d,u)}),n||a(-1,null)},r)}function D(t,e,s){var i;T&&(i=J,V());var c=new ee(t);z(()=>{var r=e()??null;if(T){var a=H(i),n=a===ue,u=r!==null;if(n!==u){var d=Z();W(d),c.anchor=d,I(!1),c.ensure(r,r&&(o=>s(o,r))),I(!0);return}}c.ensure(r,r&&(o=>s(o,r)))},F)}function N(t,e){return t===e||t?.[X]===e}function B(t={},e,s,i){var c=fe.r,r=Q;return le(()=>{var a,n;return de(()=>{a=n,n=[],K(()=>{N(s(...n),t)||(e(t,...n),a&&N(s(...a),t)&&e(null,...a))})}),()=>{let u=r;for(;u!==c&&u.parent!==null&&u.parent.f&_e;)u=u.parent;const d=()=>{n&&N(s(...n),t)&&e(null,...n)},o=u.teardown;u.teardown=()=>{d(),o?.()}}}),t}function p(t,e,s,i){var c=!0,r=(s&Ee)!==0,a=(s&Se)!==0,n=i,u=!0,d=void 0,o=()=>a&&c?(d??=q(i),h(d)):(u&&(u=!1,n=a?K(i):i),n);let v;if(r){var E=X in t||G in t;v=ve(t,e)?.set??(E&&e in t?l=>t[e]=l:void 0)}var _,y=!1;r?[_,y]=Ue(()=>t[e]):_=t[e],_===void 0&&i!==void 0&&(_=o(),v&&(he(),v(_)));var f;if(f=()=>{var l=t[e];return l===void 0?o():(u=!0,l)},(s&me)===0)return f;if(v){var P=t.$$legacy;return(function(l,b){return arguments.length>0?((!b||P||y)&&v(b?f():l),l):f()})}var m=!1,g=((s&Pe)!==0?q:we)(()=>(m=!1,f()));r&&h(g);var w=Q;return(function(l,b){if(arguments.length>0){const x=b?h(g):r?ge(l):l;return R(g,x),m=!0,n!==void 0&&(n=x),l}return ye&&m||(w.f&be)!==0?g.v:h(g)})}var ze=$('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Fe=$("<!> <!>",1);function He(t,e){Re(e,!0);let s=p(e,"components",23,()=>[]),i=p(e,"data_0",3,null),c=p(e,"data_1",3,null);Oe(()=>e.stores.page.set(e.page)),Ae(()=>{e.stores,e.page,e.constructors,s(),e.form,i(),c(),e.stores.page.notify()});let r=L(!1),a=L(!1),n=L(null);Me(()=>{const f=e.stores.page.subscribe(()=>{h(r)&&(R(a,!0),Te().then(()=>{R(n,document.title||"untitled page",!0)}))});return R(r,!0),f});const u=j(()=>e.constructors[1]);var d=Fe(),o=O(d);{var v=f=>{const P=j(()=>e.constructors[0]);var m=k(),g=O(m);D(g,()=>h(P),(w,l)=>{B(l(w,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(b,x)=>{var Y=k(),re=O(Y);D(re,()=>h(u),(ae,ne)=>{B(ne(ae,{get data(){return c()},get form(){return e.form},get params(){return e.page.params}}),se=>s()[1]=se,()=>s()?.[1])}),S(b,Y)},$$slots:{default:!0}}),b=>s()[0]=b,()=>s()?.[0])}),S(f,m)},E=f=>{const P=j(()=>e.constructors[0]);var m=k(),g=O(m);D(g,()=>h(P),(w,l)=>{B(l(w,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),b=>s()[0]=b,()=>s()?.[0])}),S(f,m)};C(o,f=>{e.constructors[1]?f(v):f(E,-1)})}var _=Ie(o,2);{var y=f=>{var P=ze(),m=Le(P);{var g=w=>{var l=pe();ke(()=>Be(l,h(n))),S(w,l)};C(m,w=>{h(a)&&w(g)})}je(P),S(f,P)};C(_,f=>{h(r)&&f(y)})}S(t,d),xe()}const et=Ge(He),tt=[()=>M(()=>import("../nodes/0.BYBfjxZ5.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>M(()=>import("../nodes/1.BNXFXajG.js"),__vite__mapDeps([4,1,2,5,6,7]),import.meta.url)],rt=[],at={},te={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},Ze=Object.fromEntries(Object.entries(te.transport).map(([t,e])=>[t,e.decode])),nt=Object.fromEntries(Object.entries(te.transport).map(([t,e])=>[t,e.encode])),st=!1,it=(t,e)=>Ze[t](e),ot=()=>M(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{it as decode,Ze as decoders,at as dictionary,nt as encoders,ot as get_error_template,st as hash,te as hooks,$e as matchers,tt as nodes,et as root,rt as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,a as r}from"../chunks/sZYZbj9W.js";export{o as load_css,r as start};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as s,a as c}from"../chunks/rqnVXeyB.js";import{f as p,E as i,g as m}from"../chunks/2_TffmqH.js";import{B as f}from"../chunks/3DOfIKW0.js";function l(a,r,...n){var o=new f(a);p(()=>{const e=r()??null;o.ensure(e,e&&(t=>e(t,...n)))},i)}function E(a,r){var n=s(),o=m(n);l(o,()=>r.children),c(a,n)}export{E as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i,f as g}from"../chunks/rqnVXeyB.js";import{k as h,g as l,t as v,l as d,n as s,o as a,q as _}from"../chunks/2_TffmqH.js";import{s as o}from"../chunks/CMkIcmi1.js";import{s as x,p}from"../chunks/sZYZbj9W.js";const k={get error(){return p.error},get status(){return p.status}};x.updated.check;const m=k;var $=g("<h1> </h1> <p> </p>",1);function w(n,c){h(c,!0);var t=$(),r=l(t),f=s(r,!0);a(r);var e=_(r,2),u=s(e,!0);a(e),v(()=>{o(f,m.status),o(u,m.error?.message)}),i(n,t),d()}export{w as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"1784588224823"}
|
package/build/env.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import process from 'node:process';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
|
|
5
|
+
// since env.js is an entrypoint, `dir` will point to the output directory
|
|
6
|
+
const dir = path.dirname(fileURLToPath(import.meta.url));
|
|
7
|
+
|
|
8
|
+
const expected_unprefixed = new Set(['LISTEN_PID', 'LISTEN_FDS']);
|
|
9
|
+
|
|
10
|
+
const env_prefix = "";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @param {string} name
|
|
14
|
+
* @param {any} [fallback]
|
|
15
|
+
*/
|
|
16
|
+
function env(name, fallback) {
|
|
17
|
+
const prefix = expected_unprefixed.has(name) ? '' : env_prefix;
|
|
18
|
+
const prefixed = prefix + name;
|
|
19
|
+
return prefixed in process.env ? process.env[prefixed] : fallback;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const integer_regexp = /^\d+$/;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Throw a consistently-structured parsing error for environment variables.
|
|
26
|
+
* @param {string} name
|
|
27
|
+
* @param {any} value
|
|
28
|
+
* @param {string} description
|
|
29
|
+
* @returns {never}
|
|
30
|
+
*/
|
|
31
|
+
function parsing_error(name, value, description) {
|
|
32
|
+
throw new Error(
|
|
33
|
+
`Invalid value for environment variable ${name}: ${JSON.stringify(value)} (${description})`
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Check the environment for a timeout value (non-negative integer) in seconds.
|
|
39
|
+
* @param {string} name
|
|
40
|
+
* @param {number} [fallback]
|
|
41
|
+
* @returns {number | undefined}
|
|
42
|
+
*/
|
|
43
|
+
function timeout_env(name, fallback) {
|
|
44
|
+
const raw = env(name, fallback);
|
|
45
|
+
if (!raw) {
|
|
46
|
+
return fallback;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (!integer_regexp.test(raw)) {
|
|
50
|
+
parsing_error(name, raw, 'should be a non-negative integer');
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const parsed = Number.parseInt(raw, 10);
|
|
54
|
+
|
|
55
|
+
// We don't technically need to check `Number.isNaN` because the value already passed the regexp test.
|
|
56
|
+
// However, just in case there's some new codepath introduced somewhere down the line, it's probably good
|
|
57
|
+
// to stick this in here.
|
|
58
|
+
if (Number.isNaN(parsed)) {
|
|
59
|
+
parsing_error(name, raw, 'should be a non-negative integer');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
if (parsed < 0) {
|
|
63
|
+
parsing_error(name, raw, 'should be a non-negative integer');
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return parsed;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { dir, env, env_prefix, timeout_env };
|
|
70
|
+
//# sourceMappingURL=env.js.map
|
package/build/env.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"env.js","sources":["../.svelte-kit/adapter-node/entries/env.js"],"sourcesContent":["import path from 'node:path';\nimport process from 'node:process';\nimport { fileURLToPath } from 'node:url';\n\n// since env.js is an entrypoint, `dir` will point to the output directory\nconst dir = path.dirname(fileURLToPath(import.meta.url));\n\nconst expected = new Set([\n\t'SOCKET_PATH',\n\t'HOST',\n\t'PORT',\n\t'ORIGIN',\n\t'XFF_DEPTH',\n\t'ADDRESS_HEADER',\n\t'PROTOCOL_HEADER',\n\t'HOST_HEADER',\n\t'PORT_HEADER',\n\t'BODY_SIZE_LIMIT',\n\t'SHUTDOWN_TIMEOUT',\n\t'IDLE_TIMEOUT',\n\t'KEEP_ALIVE_TIMEOUT',\n\t'HEADERS_TIMEOUT'\n]);\n\nconst expected_unprefixed = new Set(['LISTEN_PID', 'LISTEN_FDS']);\n\nconst env_prefix = ENV_PREFIX;\n\nif (env_prefix) {\n\tfor (const name in process.env) {\n\t\tif (name.startsWith(env_prefix)) {\n\t\t\tconst unprefixed = name.slice(env_prefix.length);\n\t\t\tif (!expected.has(unprefixed)) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`You should change envPrefix (${env_prefix}) to avoid conflicts with existing environment variables — unexpectedly saw ${name}`\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n}\n\n/**\n * @param {string} name\n * @param {any} [fallback]\n */\nfunction env(name, fallback) {\n\tconst prefix = expected_unprefixed.has(name) ? '' : env_prefix;\n\tconst prefixed = prefix + name;\n\treturn prefixed in process.env ? process.env[prefixed] : fallback;\n}\n\nconst integer_regexp = /^\\d+$/;\n\n/**\n * Throw a consistently-structured parsing error for environment variables.\n * @param {string} name\n * @param {any} value\n * @param {string} description\n * @returns {never}\n */\nfunction parsing_error(name, value, description) {\n\tthrow new Error(\n\t\t`Invalid value for environment variable ${name}: ${JSON.stringify(value)} (${description})`\n\t);\n}\n\n/**\n * Check the environment for a timeout value (non-negative integer) in seconds.\n * @param {string} name\n * @param {number} [fallback]\n * @returns {number | undefined}\n */\nfunction timeout_env(name, fallback) {\n\tconst raw = env(name, fallback);\n\tif (!raw) {\n\t\treturn fallback;\n\t}\n\n\tif (!integer_regexp.test(raw)) {\n\t\tparsing_error(name, raw, 'should be a non-negative integer');\n\t}\n\n\tconst parsed = Number.parseInt(raw, 10);\n\n\t// We don't technically need to check `Number.isNaN` because the value already passed the regexp test.\n\t// However, just in case there's some new codepath introduced somewhere down the line, it's probably good\n\t// to stick this in here.\n\tif (Number.isNaN(parsed)) {\n\t\tparsing_error(name, raw, 'should be a non-negative integer');\n\t}\n\n\tif (parsed < 0) {\n\t\tparsing_error(name, raw, 'should be a non-negative integer');\n\t}\n\n\treturn parsed;\n}\n\nexport { dir, env, env_prefix, timeout_env };\n"],"names":[],"mappings":";;;;AAIA;AACK,MAAC,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;;AAmBvD,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;;AAE5D,MAAC,UAAU,GAAG;;AAenB;AACA;AACA;AACA;AACA,SAAS,GAAG,CAAC,IAAI,EAAE,QAAQ,EAAE;AAC7B,CAAC,MAAM,MAAM,GAAG,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,UAAU;AAC/D,CAAC,MAAM,QAAQ,GAAG,MAAM,GAAG,IAAI;AAC/B,CAAC,OAAO,QAAQ,IAAI,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,QAAQ;AAClE;;AAEA,MAAM,cAAc,GAAG,OAAO;;AAE9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,aAAa,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE;AACjD,CAAC,MAAM,IAAI,KAAK;AAChB,EAAE,CAAC,uCAAuC,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;AAC5F,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,WAAW,CAAC,IAAI,EAAE,QAAQ,EAAE;AACrC,CAAC,MAAM,GAAG,GAAG,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC;AAChC,CAAC,IAAI,CAAC,GAAG,EAAE;AACX,EAAE,OAAO,QAAQ;AACjB,CAAC;;AAED,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;AAChC,EAAE,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,kCAAkC,CAAC;AAC9D,CAAC;;AAED,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC;;AAExC;AACA;AACA;AACA,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;AAC3B,EAAE,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,kCAAkC,CAAC;AAC9D,CAAC;;AAED,CAAC,IAAI,MAAM,GAAG,CAAC,EAAE;AACjB,EAAE,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,kCAAkC,CAAC;AAC9D,CAAC;;AAED,CAAC,OAAO,MAAM;AACd;;;;"}
|
package/build/handler.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './shims.js';
|
|
2
|
+
import 'node:fs';
|
|
3
|
+
import 'node:path';
|
|
4
|
+
import 'node:process';
|
|
5
|
+
export { h as handler } from './server/chunks/handler-BN3-p5rP.js';
|
|
6
|
+
import './server/chunks/index.js-nbqdVuWC.js';
|
|
7
|
+
import './server/chunks/manifest.js-_Re-Wj-y.js';
|
|
8
|
+
import './env.js';
|
|
9
|
+
import 'node:buffer';
|
|
10
|
+
import 'node:crypto';
|
|
11
|
+
import 'node:http';
|
|
12
|
+
import 'node:timers';
|
|
13
|
+
import 'node:querystring';
|
|
14
|
+
import 'node:stream';
|
|
15
|
+
import 'node:url';
|
|
16
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|