This commit is contained in:
2026-11-02 12:42:04 +00:00
commit e4e28174bf
5498 changed files with 1735888 additions and 0 deletions

186
node_modules/.vite/deps_ssr/_metadata.json generated vendored Normal file
View File

@@ -0,0 +1,186 @@
{
"hash": "0d8cac10",
"configHash": "8e25bbcd",
"lockfileHash": "a0bb1066",
"browserHash": "26786ffb",
"optimized": {
"svelte": {
"src": "../../svelte/src/index-server.js",
"file": "svelte.js",
"fileHash": "1db45689",
"needsInterop": false
},
"svelte/animate": {
"src": "../../svelte/src/animate/index.js",
"file": "svelte_animate.js",
"fileHash": "0c915f74",
"needsInterop": false
},
"svelte/attachments": {
"src": "../../svelte/src/attachments/index.js",
"file": "svelte_attachments.js",
"fileHash": "e3da824b",
"needsInterop": false
},
"svelte/compiler": {
"src": "../../svelte/src/compiler/index.js",
"file": "svelte_compiler.js",
"fileHash": "0bfd5a0b",
"needsInterop": false
},
"svelte/easing": {
"src": "../../svelte/src/easing/index.js",
"file": "svelte_easing.js",
"fileHash": "2a9abb2d",
"needsInterop": false
},
"svelte/events": {
"src": "../../svelte/src/events/index.js",
"file": "svelte_events.js",
"fileHash": "17ba9113",
"needsInterop": false
},
"svelte/internal": {
"src": "../../svelte/src/internal/index.js",
"file": "svelte_internal.js",
"fileHash": "606b0920",
"needsInterop": true
},
"svelte/internal/client": {
"src": "../../svelte/src/internal/client/index.js",
"file": "svelte_internal_client.js",
"fileHash": "e18ce5d5",
"needsInterop": false
},
"svelte/internal/disclose-version": {
"src": "../../svelte/src/internal/disclose-version.js",
"file": "svelte_internal_disclose-version.js",
"fileHash": "b3f1d0c0",
"needsInterop": false
},
"svelte/internal/flags/async": {
"src": "../../svelte/src/internal/flags/async.js",
"file": "svelte_internal_flags_async.js",
"fileHash": "2628755b",
"needsInterop": false
},
"svelte/internal/flags/legacy": {
"src": "../../svelte/src/internal/flags/legacy.js",
"file": "svelte_internal_flags_legacy.js",
"fileHash": "c6d532b9",
"needsInterop": false
},
"svelte/internal/flags/tracing": {
"src": "../../svelte/src/internal/flags/tracing.js",
"file": "svelte_internal_flags_tracing.js",
"fileHash": "702d46d4",
"needsInterop": false
},
"svelte/internal/server": {
"src": "../../svelte/src/internal/server/index.js",
"file": "svelte_internal_server.js",
"fileHash": "f88f2fbb",
"needsInterop": false
},
"svelte/legacy": {
"src": "../../svelte/src/legacy/legacy-server.js",
"file": "svelte_legacy.js",
"fileHash": "b890770c",
"needsInterop": false
},
"svelte/motion": {
"src": "../../svelte/src/motion/index.js",
"file": "svelte_motion.js",
"fileHash": "33f9bcb2",
"needsInterop": false
},
"svelte/reactivity": {
"src": "../../svelte/src/reactivity/index-server.js",
"file": "svelte_reactivity.js",
"fileHash": "18572af8",
"needsInterop": false
},
"svelte/reactivity/window": {
"src": "../../svelte/src/reactivity/window/index.js",
"file": "svelte_reactivity_window.js",
"fileHash": "13ccd610",
"needsInterop": false
},
"svelte/server": {
"src": "../../svelte/src/server/index.js",
"file": "svelte_server.js",
"fileHash": "52957867",
"needsInterop": false
},
"svelte/store": {
"src": "../../svelte/src/store/index-server.js",
"file": "svelte_store.js",
"fileHash": "4e09a113",
"needsInterop": false
},
"svelte/transition": {
"src": "../../svelte/src/transition/index.js",
"file": "svelte_transition.js",
"fileHash": "97b2eb61",
"needsInterop": false
}
},
"chunks": {
"attachments-C3vJBgrq": {
"file": "attachments-C3vJBgrq.js",
"isDynamicEntry": false
},
"constants-Dd0-6Ncu": {
"file": "constants-Dd0-6Ncu.js",
"isDynamicEntry": false
},
"dev-uPqstlKb": {
"file": "dev-uPqstlKb.js",
"isDynamicEntry": false
},
"events-ChFSpzmg": {
"file": "events-ChFSpzmg.js",
"isDynamicEntry": false
},
"flags-qfBdqUK7": {
"file": "flags-qfBdqUK7.js",
"isDynamicEntry": false
},
"hydration-Bgwk4N_v": {
"file": "hydration-Bgwk4N_v.js",
"isDynamicEntry": false
},
"legacy-client-DTuKEjQw": {
"file": "legacy-client-DTuKEjQw.js",
"isDynamicEntry": false
},
"runtime-DInTlc-h": {
"file": "runtime-DInTlc-h.js",
"isDynamicEntry": false
},
"shared-Clug2-tp": {
"file": "shared-Clug2-tp.js",
"isDynamicEntry": false
},
"utils-B9o6NEeQ": {
"file": "utils-B9o6NEeQ.js",
"isDynamicEntry": false
},
"utils-BWzPBw9Y": {
"file": "utils-BWzPBw9Y.js",
"isDynamicEntry": false
},
"validate-EWwS2w2A": {
"file": "validate-EWwS2w2A.js",
"isDynamicEntry": false
},
"version-DLaxZhN9": {
"file": "version-DLaxZhN9.js",
"isDynamicEntry": false
},
"warnings-CI-8FXsK": {
"file": "warnings-CI-8FXsK.js",
"isDynamicEntry": false
}
}
}

4094
node_modules/.vite/deps_ssr/attachments-C3vJBgrq.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

20
node_modules/.vite/deps_ssr/constants-Dd0-6Ncu.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
// node_modules/svelte/src/constants.js
var HYDRATION_ERROR = {};
var UNINITIALIZED = Symbol("uninitialized");
var FILENAME = Symbol("filename");
var HMR = Symbol("hmr");
var NAMESPACE_HTML = "http://www.w3.org/1999/xhtml";
var NAMESPACE_SVG = "http://www.w3.org/2000/svg";
var NAMESPACE_MATHML = "http://www.w3.org/1998/Math/MathML";
var IGNORABLE_RUNTIME_WARNINGS = [
"await_waterfall",
"await_reactivity_loss",
"state_snapshot_uncloneable",
"binding_property_non_reactive",
"hydration_attribute_changed",
"hydration_html_changed",
"ownership_invalid_binding",
"ownership_invalid_mutation"
];
var ATTACHMENT_KEY = "@attach";
export { IGNORABLE_RUNTIME_WARNINGS as a, NAMESPACE_SVG as c, HYDRATION_ERROR as i, UNINITIALIZED as l, FILENAME as n, NAMESPACE_HTML as o, HMR as r, NAMESPACE_MATHML as s, ATTACHMENT_KEY as t };

View File

@@ -0,0 +1 @@
{"version":3,"file":"constants-Dd0-6Ncu.js","names":[],"sources":["../../svelte/src/constants.js"],"sourcesContent":["export const EACH_ITEM_REACTIVE = 1;\nexport const EACH_INDEX_REACTIVE = 1 << 1;\n/** See EachBlock interface metadata.is_controlled for an explanation what this is */\nexport const EACH_IS_CONTROLLED = 1 << 2;\nexport const EACH_IS_ANIMATED = 1 << 3;\nexport const EACH_ITEM_IMMUTABLE = 1 << 4;\n\nexport const PROPS_IS_IMMUTABLE = 1;\nexport const PROPS_IS_RUNES = 1 << 1;\nexport const PROPS_IS_UPDATED = 1 << 2;\nexport const PROPS_IS_BINDABLE = 1 << 3;\nexport const PROPS_IS_LAZY_INITIAL = 1 << 4;\n\nexport const TRANSITION_IN = 1;\nexport const TRANSITION_OUT = 1 << 1;\nexport const TRANSITION_GLOBAL = 1 << 2;\n\nexport const TEMPLATE_FRAGMENT = 1;\nexport const TEMPLATE_USE_IMPORT_NODE = 1 << 1;\nexport const TEMPLATE_USE_SVG = 1 << 2;\nexport const TEMPLATE_USE_MATHML = 1 << 3;\n\nexport const HYDRATION_START = '[';\n/** used to indicate that an `{:else}...` block was rendered */\nexport const HYDRATION_START_ELSE = '[!';\n/** used to indicate that a boundary's `failed` snippet was rendered on the server */\nexport const HYDRATION_START_FAILED = '[?';\nexport const HYDRATION_END = ']';\nexport const HYDRATION_ERROR = {};\n\nexport const ELEMENT_IS_NAMESPACED = 1;\nexport const ELEMENT_PRESERVE_ATTRIBUTE_CASE = 1 << 1;\nexport const ELEMENT_IS_INPUT = 1 << 2;\n\nexport const UNINITIALIZED = Symbol('uninitialized');\n\n// Dev-time component properties\nexport const FILENAME = Symbol('filename');\nexport const HMR = Symbol('hmr');\n\nexport const NAMESPACE_HTML = 'http://www.w3.org/1999/xhtml';\nexport const NAMESPACE_SVG = 'http://www.w3.org/2000/svg';\nexport const NAMESPACE_MATHML = 'http://www.w3.org/1998/Math/MathML';\n\n// we use a list of ignorable runtime warnings because not every runtime warning\n// can be ignored and we want to keep the validation for svelte-ignore in place\nexport const IGNORABLE_RUNTIME_WARNINGS = /** @type {const} */ ([\n\t'await_waterfall',\n\t'await_reactivity_loss',\n\t'state_snapshot_uncloneable',\n\t'binding_property_non_reactive',\n\t'hydration_attribute_changed',\n\t'hydration_html_changed',\n\t'ownership_invalid_binding',\n\t'ownership_invalid_mutation'\n]);\n\n/**\n * Whitespace inside one of these elements will not result in\n * a whitespace node being created in any circumstances. (This\n * list is almost certainly very incomplete)\n * TODO this is currently unused\n */\nexport const ELEMENTS_WITHOUT_TEXT = ['audio', 'datalist', 'dl', 'optgroup', 'select', 'video'];\n\nexport const ATTACHMENT_KEY = '@attach';\n"],"mappings":";AA4BA,IAAa,kBAAkB,CAAC;AAMhC,IAAa,gBAAgB,OAAO,eAAe;AAGnD,IAAa,WAAW,OAAO,UAAU;AACzC,IAAa,MAAM,OAAO,KAAK;AAE/B,IAAa,iBAAiB;AAC9B,IAAa,gBAAgB;AAC7B,IAAa,mBAAmB;AAIhC,IAAa,6BAAmD;CAC/D;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAUA,IAAa,iBAAiB"}

2135
node_modules/.vite/deps_ssr/dev-uPqstlKb.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

1
node_modules/.vite/deps_ssr/dev-uPqstlKb.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

216
node_modules/.vite/deps_ssr/events-ChFSpzmg.js generated vendored Normal file
View File

@@ -0,0 +1,216 @@
import { It as without_reactive_context, Vt as queue_micro_task, Yn as define_property, c as set_active_effect, j as teardown, l as set_active_reaction, n as active_reaction, t as active_effect, yn as hydrating } from "./runtime-DInTlc-h.js";
import { n as FILENAME } from "./constants-Dd0-6Ncu.js";
import { s as event_handler_invalid } from "./warnings-CI-8FXsK.js";
// node_modules/svelte/src/internal/client/dom/elements/events.js
/**
* Used on elements, as a map of event type -> event handler,
* and on events themselves to track which element handled an event
*/
var event_symbol = Symbol("events");
/** @type {Set<string>} */
var all_registered_events = /* @__PURE__ */ new Set();
/** @type {Set<(events: Array<string>) => void>} */
var root_event_handles = /* @__PURE__ */ new Set();
/**
* SSR adds onload and onerror attributes to catch those events before the hydration.
* This function detects those cases, removes the attributes and replays the events.
* @param {HTMLElement} dom
*/
function replay_events(dom) {
if (!hydrating) return;
dom.removeAttribute("onload");
dom.removeAttribute("onerror");
const event = dom.__e;
if (event !== void 0) {
dom.__e = void 0;
queueMicrotask(() => {
if (dom.isConnected) dom.dispatchEvent(event);
});
}
}
/**
* @param {string} event_name
* @param {EventTarget} dom
* @param {EventListener} [handler]
* @param {AddEventListenerOptions} [options]
*/
function create_event(event_name, dom, handler, options = {}) {
/**
* @this {EventTarget}
*/
function target_handler(event) {
if (!options.capture) handle_event_propagation.call(dom, event);
if (!event.cancelBubble) return without_reactive_context(() => {
return handler?.call(this, event);
});
}
if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") {
target_handler.__removed = false;
queue_micro_task(() => {
if (!target_handler.__removed) dom.addEventListener(event_name, target_handler, options);
});
} else dom.addEventListener(event_name, target_handler, options);
return target_handler;
}
/**
* Attaches an event handler to an element and returns a function that removes the handler. Using this
* rather than `addEventListener` will preserve the correct order relative to handlers added declaratively
* (with attributes like `onclick`), which use event delegation for performance reasons
*
* @param {EventTarget} element
* @param {string} type
* @param {EventListener} handler
* @param {AddEventListenerOptions} [options]
*/
function on(element, type, handler, options = {}) {
var target_handler = create_event(type, element, handler, options);
return () => {
target_handler.__removed = true;
element.removeEventListener(type, target_handler, options);
};
}
/**
* @param {string} event_name
* @param {Element} dom
* @param {EventListener} [handler]
* @param {boolean} [capture]
* @param {boolean} [passive]
* @returns {void}
*/
function event(event_name, dom, handler, capture, passive) {
var options = {
capture,
passive
};
var target_handler = create_event(event_name, dom, handler, options);
if (dom === document.body || dom === window || dom === document || dom instanceof HTMLMediaElement) teardown(() => {
target_handler.__removed = true;
dom.removeEventListener(event_name, target_handler, options);
});
}
/**
* @param {string} event_name
* @param {Element} element
* @param {EventListener} [handler]
* @returns {void}
*/
function delegated(event_name, element, handler) {
(element[event_symbol] ??= {})[event_name] = handler;
}
/**
* @param {Array<string>} events
* @returns {void}
*/
function delegate(events) {
for (var i = 0; i < events.length; i++) all_registered_events.add(events[i]);
for (var fn of root_event_handles) fn(events);
}
var last_propagated_event = null;
var last_propagated_event_clear_scheduled = false;
/**
* @this {EventTarget}
* @param {Event} event
* @returns {void}
*/
function handle_event_propagation(event) {
var handler_element = this;
var owner_document = handler_element.ownerDocument;
var event_name = event.type;
var path = event.composedPath?.() || [];
var current_target = path[0] || event.target;
last_propagated_event = event;
if (!last_propagated_event_clear_scheduled) {
last_propagated_event_clear_scheduled = true;
setTimeout(() => {
last_propagated_event_clear_scheduled = false;
last_propagated_event = null;
});
}
var path_idx = 0;
var handled_at = last_propagated_event === event && event[event_symbol];
if (handled_at) {
var at_idx = path.indexOf(handled_at);
if (at_idx !== -1 && (handler_element === document || handler_element === window)) {
event[event_symbol] = handler_element;
return;
}
var handler_idx = path.indexOf(handler_element);
if (handler_idx === -1) return;
if (at_idx <= handler_idx) path_idx = at_idx;
}
current_target = path[path_idx] || event.target;
if (current_target === handler_element) return;
define_property(event, "currentTarget", {
configurable: true,
get() {
return current_target || owner_document;
}
});
var previous_reaction = active_reaction;
var previous_effect = active_effect;
set_active_reaction(null);
set_active_effect(null);
try {
/**
* @type {unknown}
*/
var throw_error;
/**
* @type {unknown[]}
*/
var other_errors = [];
while (current_target !== null) {
if (current_target === handler_element) break;
try {
var delegated = current_target[event_symbol]?.[event_name];
if (delegated != null && (!current_target.disabled || event.target === current_target)) delegated.call(current_target, event);
} catch (error) {
if (throw_error) other_errors.push(error);
else throw_error = error;
}
if (event.cancelBubble) break;
path_idx++;
current_target = path_idx < path.length ? path[path_idx] : null;
}
if (throw_error) {
for (let error of other_errors) queueMicrotask(() => {
throw error;
});
throw throw_error;
}
} finally {
event[event_symbol] = handler_element;
delete event.currentTarget;
set_active_reaction(previous_reaction);
set_active_effect(previous_effect);
}
}
/**
* In dev, warn if an event handler is not a function, as it means the
* user probably called the handler or forgot to add a `() =>`
* @param {() => (event: Event, ...args: any) => void} thunk
* @param {EventTarget} element
* @param {[Event, ...any]} args
* @param {any} component
* @param {[number, number]} [loc]
* @param {boolean} [remove_parens]
*/
function apply(thunk, element, args, component, loc, has_side_effects = false, remove_parens = false) {
let handler;
let error;
try {
handler = thunk();
} catch (e) {
error = e;
}
if (typeof handler !== "function" && (has_side_effects || handler != null || error)) {
const filename = component?.[FILENAME];
const location = loc ? ` at ${filename}:${loc[0]}:${loc[1]}` : ` in ${filename}`;
const phase = args[0]?.eventPhase < Event.BUBBLING_PHASE ? "capture" : "";
const description = `\`${args[0]?.type + phase}\` handler${location}`;
event_handler_invalid(description, remove_parens ? "remove the trailing `()`" : "add a leading `() =>`");
if (error) throw error;
}
handler?.apply(element, args);
}
export { delegated as a, on as c, delegate as i, replay_events as l, apply as n, event as o, create_event as r, handle_event_propagation as s, all_registered_events as t, root_event_handles as u };

1
node_modules/.vite/deps_ssr/events-ChFSpzmg.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

17
node_modules/.vite/deps_ssr/flags-qfBdqUK7.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
// node_modules/svelte/src/internal/flags/index.js
/** True if experimental.async=true */
var async_mode_flag = false;
/** True if we're not certain that we only have Svelte 5 code in the compilation */
var legacy_mode_flag = false;
/** True if $inspect.trace is used */
var tracing_mode_flag = false;
function enable_async_mode_flag() {
async_mode_flag = true;
}
function enable_legacy_mode_flag() {
legacy_mode_flag = true;
}
function enable_tracing_mode_flag() {
tracing_mode_flag = true;
}
export { legacy_mode_flag as a, enable_tracing_mode_flag as i, enable_async_mode_flag as n, tracing_mode_flag as o, enable_legacy_mode_flag as r, async_mode_flag as t };

1
node_modules/.vite/deps_ssr/flags-qfBdqUK7.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"flags-qfBdqUK7.js","names":[],"sources":["../../svelte/src/internal/flags/index.js"],"sourcesContent":["/** True if experimental.async=true */\nexport let async_mode_flag = false;\n/** True if we're not certain that we only have Svelte 5 code in the compilation */\nexport let legacy_mode_flag = false;\n/** True if $inspect.trace is used */\nexport let tracing_mode_flag = false;\n\nexport function enable_async_mode_flag() {\n\tasync_mode_flag = true;\n}\n\n/** ONLY USE THIS DURING TESTING */\nexport function disable_async_mode_flag() {\n\tasync_mode_flag = false;\n}\n\nexport function enable_legacy_mode_flag() {\n\tlegacy_mode_flag = true;\n}\n\nexport function enable_tracing_mode_flag() {\n\ttracing_mode_flag = true;\n}\n"],"mappings":";;AACA,IAAW,kBAAkB;;AAE7B,IAAW,mBAAmB;;AAE9B,IAAW,oBAAoB;AAE/B,SAAgB,yBAAyB;CACxC,kBAAkB;AACnB;AAOA,SAAgB,0BAA0B;CACzC,mBAAmB;AACpB;AAEA,SAAgB,2BAA2B;CAC1C,oBAAoB;AACrB"}

262
node_modules/.vite/deps_ssr/hydration-Bgwk4N_v.js generated vendored Normal file
View File

@@ -0,0 +1,262 @@
// node_modules/svelte/src/html-tree-validation.js
/**
* Map of elements that have certain elements that are not allowed inside them, in the sense that they will auto-close the parent/ancestor element.
* Theoretically one could take advantage of it but most of the time it will just result in confusing behavior and break when SSR'd.
* There are more elements that are invalid inside other elements, but they're not auto-closed and so don't break SSR and are therefore not listed here.
* @type {Record<string, { direct: string[]} | { descendant: string[]; reset_by?: string[] }>}
*/
var autoclosing_children = {
li: { direct: ["li"] },
dt: {
descendant: ["dt", "dd"],
reset_by: ["dl"]
},
dd: {
descendant: ["dt", "dd"],
reset_by: ["dl"]
},
p: { descendant: [
"address",
"article",
"aside",
"blockquote",
"div",
"dl",
"fieldset",
"footer",
"form",
"h1",
"h2",
"h3",
"h4",
"h5",
"h6",
"header",
"hgroup",
"hr",
"main",
"menu",
"nav",
"ol",
"p",
"pre",
"section",
"table",
"ul"
] },
rt: { descendant: ["rt", "rp"] },
rp: { descendant: ["rt", "rp"] },
optgroup: { descendant: ["optgroup"] },
option: { descendant: ["option", "optgroup"] },
thead: { direct: ["tbody", "tfoot"] },
tbody: { direct: ["tbody", "tfoot"] },
tfoot: { direct: ["tbody"] },
tr: { direct: ["tr", "tbody"] },
td: { direct: [
"td",
"th",
"tr"
] },
th: { direct: [
"td",
"th",
"tr"
] }
};
/**
* Returns true if the tag is either the last in the list of siblings and will be autoclosed,
* or not allowed inside the parent tag such that it will auto-close it. The latter results
* in the browser repairing the HTML, which will likely result in an error during hydration.
* @param {string} current
* @param {string} [next]
*/
function closing_tag_omitted(current, next) {
const disallowed = autoclosing_children[current];
if (disallowed) {
if (!next || ("direct" in disallowed ? disallowed.direct : disallowed.descendant).includes(next)) return true;
}
return false;
}
/**
* Map of elements that have certain elements that are not allowed inside them, in the sense that the browser will somehow repair the HTML.
* There are more elements that are invalid inside other elements, but they're not repaired and so don't break SSR and are therefore not listed here.
* @type {Record<string, { direct: string[]} | { descendant: string[]; reset_by?: string[]; only?: string[] } | { only: string[] }>}
*/
var disallowed_children = {
...autoclosing_children,
form: { descendant: ["form"] },
a: { descendant: ["a"] },
button: { descendant: ["button"] },
h1: { descendant: [
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"
] },
h2: { descendant: [
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"
] },
h3: { descendant: [
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"
] },
h4: { descendant: [
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"
] },
h5: { descendant: [
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"
] },
h6: { descendant: [
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"
] },
tr: { only: [
"th",
"td",
"style",
"script",
"template"
] },
tbody: { only: [
"tr",
"style",
"script",
"template"
] },
thead: { only: [
"tr",
"style",
"script",
"template"
] },
tfoot: { only: [
"tr",
"style",
"script",
"template"
] },
colgroup: { only: ["col", "template"] },
table: { only: [
"caption",
"colgroup",
"tbody",
"thead",
"tfoot",
"style",
"script",
"template"
] },
head: { only: [
"base",
"basefont",
"bgsound",
"link",
"meta",
"title",
"noscript",
"noframes",
"style",
"script",
"template"
] },
html: { only: [
"head",
"body",
"frameset"
] },
frameset: { only: ["frame"] },
"#document": { only: ["html"] }
};
/**
* Returns an error message if the tag is not allowed inside the ancestor tag (which is grandparent and above) such that it will result
* in the browser repairing the HTML, which will likely result in an error during hydration.
* @param {string} child_tag
* @param {string[]} ancestors All nodes starting with the parent, up until the ancestor, which means two entries minimum
* @param {string} [child_loc]
* @param {string} [ancestor_loc]
* @returns {string | null}
*/
function is_tag_valid_with_ancestor(child_tag, ancestors, child_loc, ancestor_loc) {
if (child_tag.includes("-")) return null;
const ancestor_tag = ancestors[ancestors.length - 1];
const disallowed = disallowed_children[ancestor_tag];
if (!disallowed) return null;
if ("reset_by" in disallowed && disallowed.reset_by) for (let i = ancestors.length - 2; i >= 0; i--) {
if (ancestors[i].includes("-")) return null;
if (disallowed.reset_by.includes(ancestors[i])) return null;
}
if ("descendant" in disallowed && disallowed.descendant.includes(child_tag)) return `${child_loc ? `\`<${child_tag}>\` (${child_loc})` : `\`<${child_tag}>\``} cannot be a descendant of ${ancestor_loc ? `\`<${ancestor_tag}>\` (${ancestor_loc})` : `\`<${ancestor_tag}>\``}`;
return null;
}
/**
* Returns an error message if the tag is not allowed inside the parent tag such that it will result
* in the browser repairing the HTML, which will likely result in an error during hydration.
* @param {string} child_tag
* @param {string} parent_tag
* @param {string} [child_loc]
* @param {string} [parent_loc]
* @returns {string | null}
*/
function is_tag_valid_with_parent(child_tag, parent_tag, child_loc, parent_loc) {
if (child_tag.includes("-") || parent_tag?.includes("-")) return null;
if (parent_tag === "template") return null;
const disallowed = disallowed_children[parent_tag];
const child = child_loc ? `\`<${child_tag}>\` (${child_loc})` : `\`<${child_tag}>\``;
const parent = parent_loc ? `\`<${parent_tag}>\` (${parent_loc})` : `\`<${parent_tag}>\``;
if (disallowed) {
if ("direct" in disallowed && disallowed.direct.includes(child_tag)) return `${child} cannot be a direct child of ${parent}`;
if ("descendant" in disallowed && disallowed.descendant.includes(child_tag)) return `${child} cannot be a child of ${parent}`;
if ("only" in disallowed && disallowed.only) {
if (disallowed.only.includes(child_tag)) return null;
else return `${child} cannot be a child of ${parent}. \`<${parent_tag}>\` only allows these children: ${disallowed.only.map((d) => `\`<${d}>\``).join(", ")}`;
}
}
switch (child_tag) {
case "body":
case "caption":
case "col":
case "colgroup":
case "frameset":
case "frame":
case "head":
case "html": return `${child} cannot be a child of ${parent}`;
case "thead":
case "tbody":
case "tfoot": return `${child} must be the child of a \`<table>\`, not a ${parent}`;
case "td":
case "th": return `${child} must be the child of a \`<tr>\`, not a ${parent}`;
case "tr": return `\`<tr>\` must be the child of a \`<thead>\`, \`<tbody>\`, or \`<tfoot>\`, not a ${parent}`;
}
return null;
}
// node_modules/svelte/src/internal/server/hydration.js
var BLOCK_OPEN = `<!--[-->`;
var BLOCK_OPEN_ELSE = `<!--[!-->`;
var BLOCK_CLOSE = `<!--]-->`;
var EMPTY_COMMENT = `<!---->`;
export { closing_tag_omitted as a, EMPTY_COMMENT as i, BLOCK_OPEN as n, is_tag_valid_with_ancestor as o, BLOCK_OPEN_ELSE as r, is_tag_valid_with_parent as s, BLOCK_CLOSE as t };

File diff suppressed because one or more lines are too long

1149
node_modules/.vite/deps_ssr/legacy-client-DTuKEjQw.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

3
node_modules/.vite/deps_ssr/package.json generated vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"type": "module"
}

4215
node_modules/.vite/deps_ssr/runtime-DInTlc-h.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

1
node_modules/.vite/deps_ssr/runtime-DInTlc-h.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

175
node_modules/.vite/deps_ssr/shared-Clug2-tp.js generated vendored Normal file
View File

@@ -0,0 +1,175 @@
import { ar as noop, cr as run_all, hn as safe_not_equal } from "./runtime-DInTlc-h.js";
import { t as subscribe_to_store } from "./utils-B9o6NEeQ.js";
// node_modules/svelte/src/store/shared/index.js
/** @import { Readable, StartStopNotifier, Subscriber, Unsubscriber, Updater, Writable } from '../public.js' */
/** @import { Stores, StoresValues, SubscribeInvalidateTuple } from '../private.js' */
/**
* @type {Array<SubscribeInvalidateTuple<any> | any>}
*/
var subscriber_queue = [];
/**
* Creates a `Readable` store that allows reading by subscription.
*
* @template T
* @param {T} [value] initial value
* @param {StartStopNotifier<T>} [start]
* @returns {Readable<T>}
*/
function readable(value, start) {
return { subscribe: writable(value, start).subscribe };
}
/**
* Create a `Writable` store that allows both updating and reading by subscription.
*
* @template T
* @param {T} [value] initial value
* @param {StartStopNotifier<T>} [start]
* @returns {Writable<T>}
*/
function writable(value, start = noop) {
/** @type {Unsubscriber | null} */
let stop = null;
/** @type {Set<SubscribeInvalidateTuple<T>>} */
const subscribers = /* @__PURE__ */ new Set();
/**
* @param {T} new_value
* @returns {void}
*/
function set(new_value) {
if (safe_not_equal(value, new_value)) {
value = new_value;
if (stop) {
const run_queue = !subscriber_queue.length;
for (const subscriber of subscribers) {
subscriber[1]();
subscriber_queue.push(subscriber, value);
}
if (run_queue) {
for (let i = 0; i < subscriber_queue.length; i += 2) subscriber_queue[i][0](subscriber_queue[i + 1]);
subscriber_queue.length = 0;
}
}
}
}
/**
* @param {Updater<T>} fn
* @returns {void}
*/
function update(fn) {
set(fn(value));
}
/**
* @param {Subscriber<T>} run
* @param {() => void} [invalidate]
* @returns {Unsubscriber}
*/
function subscribe(run, invalidate = noop) {
/** @type {SubscribeInvalidateTuple<T>} */
const subscriber = [run, invalidate];
subscribers.add(subscriber);
if (subscribers.size === 1) stop = start(set, update) || noop;
run(value);
return () => {
subscribers.delete(subscriber);
if (subscribers.size === 0 && stop) {
stop();
stop = null;
}
};
}
return {
set,
update,
subscribe
};
}
/**
* Derived value store by synchronizing one or more readable stores and
* applying an aggregation function over its input values.
*
* @template {Stores} S
* @template T
* @overload
* @param {S} stores
* @param {(values: StoresValues<S>, set: (value: T) => void, update: (fn: Updater<T>) => void) => Unsubscriber | void} fn
* @param {T} [initial_value]
* @returns {Readable<T>}
*/
/**
* Derived value store by synchronizing one or more readable stores and
* applying an aggregation function over its input values.
*
* @template {Stores} S
* @template T
* @overload
* @param {S} stores
* @param {(values: StoresValues<S>) => T} fn
* @param {T} [initial_value]
* @returns {Readable<T>}
*/
/**
* @template {Stores} S
* @template T
* @param {S} stores
* @param {Function} fn
* @param {T} [initial_value]
* @returns {Readable<T>}
*/
function derived(stores, fn, initial_value) {
const single = !Array.isArray(stores);
/** @type {Array<Readable<any>>} */
const stores_array = single ? [stores] : stores;
if (!stores_array.every(Boolean)) throw new Error("derived() expects stores as input, got a falsy value");
const auto = fn.length < 2;
return readable(initial_value, (set, update) => {
let started = false;
/** @type {T[]} */
const values = [];
let pending = 0;
let cleanup = noop;
const sync = () => {
if (pending) return;
cleanup();
const result = fn(single ? values[0] : values, set, update);
if (auto) set(result);
else cleanup = typeof result === "function" ? result : noop;
};
const unsubscribers = stores_array.map((store, i) => subscribe_to_store(store, (value) => {
values[i] = value;
pending &= ~(1 << i);
if (started) sync();
}, () => {
pending |= 1 << i;
}));
started = true;
sync();
return function stop() {
run_all(unsubscribers);
cleanup();
started = false;
};
});
}
/**
* Takes a store and returns a new one derived from the old one that is readable.
*
* @template T
* @param {Readable<T>} store - store to make readonly
* @returns {Readable<T>}
*/
function readonly(store) {
return { subscribe: store.subscribe.bind(store) };
}
/**
* Get the current value from a store by subscribing and immediately unsubscribing.
*
* @template T
* @param {Readable<T>} store
* @returns {T}
*/
function get(store) {
let value;
subscribe_to_store(store, (_) => value = _)();
return value;
}
export { writable as a, readonly as i, get as n, readable as r, derived as t };

1
node_modules/.vite/deps_ssr/shared-Clug2-tp.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

140
node_modules/.vite/deps_ssr/svelte.js generated vendored Normal file
View File

@@ -0,0 +1,140 @@
import { F as get_render_context, G as lifecycle_function_unavailable, H as ssr_context, I as createContext, L as getAllContexts, P as uneval, R as getContext, U as hydratable_clobbering, V as setContext, W as hydratable_serialization_failed, t as get_user_code_location, z as hasContext } from "./dev-uPqstlKb.js";
import { ar as noop, sr as run, ur as experimental_async_required } from "./runtime-DInTlc-h.js";
import { t as async_mode_flag } from "./flags-qfBdqUK7.js";
// node_modules/svelte/src/internal/server/abort-signal.js
function getAbortSignal() {
let context = ssr_context;
while (context !== null) {
if (context.r !== null) return context.r.global.get_abort_signal();
context = context.p;
}
return new AbortController().signal;
}
// node_modules/svelte/src/internal/server/hydratable.js
/** @import { HydratableLookupEntry } from '#server' */
/**
* @template T
* @param {string} key
* @param {() => T} fn
* @returns {T}
*/
function hydratable(key, fn) {
if (!async_mode_flag) experimental_async_required("hydratable");
const { hydratable } = get_render_context();
let entry = hydratable.lookup.get(key);
if (entry !== void 0) {
{
const comparison = compare(key, entry, encode(key, fn()));
comparison.catch(() => {});
hydratable.comparisons.push(comparison);
}
return entry.value;
}
const value = fn();
entry = encode(key, value, hydratable.unresolved_promises);
hydratable.lookup.set(key, entry);
return value;
}
/**
* @param {string} key
* @param {any} value
* @param {Map<Promise<any>, string>} [unresolved]
*/
function encode(key, value, unresolved) {
/** @type {HydratableLookupEntry} */
const entry = {
value,
serialized: ""
};
entry.stack = get_user_code_location();
let uid = 1;
entry.serialized = uneval(entry.value, (value, uneval) => {
if (is_promise(value)) {
const placeholder = `"${uid++}"`;
const p = value.then((v) => {
entry.serialized = entry.serialized.replace(placeholder, () => `r(${uneval(v)})`);
}).catch((devalue_error) => hydratable_serialization_failed(key, serialization_stack(entry.stack, devalue_error?.stack)));
unresolved?.set(p, key);
p.catch(() => {}).finally(() => unresolved?.delete(p));
(entry.promises ??= []).push(p);
return placeholder;
}
});
return entry;
}
/**
* @param {any} value
* @returns {value is Promise<any>}
*/
function is_promise(value) {
return Object.prototype.toString.call(value) === "[object Promise]";
}
/**
* @param {string} key
* @param {HydratableLookupEntry} a
* @param {HydratableLookupEntry} b
*/
async function compare(key, a, b) {
for (const p of a?.promises ?? []) await p;
for (const p of b?.promises ?? []) await p;
if (a.serialized !== b.serialized) {
const a_stack = a.stack;
const b_stack = b.stack;
const stack = a_stack === b_stack ? `Occurred at:\n${a_stack}` : `First occurrence at:\n${a_stack}\n\nSecond occurrence at:\n${b_stack}`;
hydratable_clobbering(key, stack);
}
}
/**
* @param {string | undefined} root_stack
* @param {string | undefined} uneval_stack
*/
function serialization_stack(root_stack, uneval_stack) {
let out = "";
if (root_stack) out += root_stack + "\n";
if (uneval_stack) out += "Caused by:\n" + uneval_stack + "\n";
return out || "<missing stack trace>";
}
// node_modules/svelte/src/internal/server/blocks/snippet.js
/** @import { Snippet } from 'svelte' */
/** @import { Renderer } from '../renderer' */
/** @import { Getters } from '#shared' */
/**
* Create a snippet programmatically
* @template {unknown[]} Params
* @param {(...params: Getters<Params>) => {
* render: () => string
* setup?: (element: Element) => void | (() => void)
* }} fn
* @returns {Snippet<Params>}
*/
function createRawSnippet(fn) {
return (renderer, ...args) => {
var getters = args.map((value) => () => value);
renderer.push(fn(...getters).render().trim());
};
}
// node_modules/svelte/src/index-server.js
/** @import { SSRContext } from '#server' */
/** @import { Renderer } from './internal/server/renderer.js' */
/** @param {() => void} fn */
function onDestroy(fn) {
/** @type {Renderer} */ ssr_context.r.on_destroy(fn);
}
function createEventDispatcher() {
return noop;
}
function mount() {
lifecycle_function_unavailable("mount");
}
function hydrate() {
lifecycle_function_unavailable("hydrate");
}
function unmount() {
lifecycle_function_unavailable("unmount");
}
function fork() {
lifecycle_function_unavailable("fork");
}
async function tick() {}
async function settled() {}
export { noop as afterUpdate, noop as beforeUpdate, noop as flushSync, noop as onMount, createContext, createEventDispatcher, createRawSnippet, fork, getAbortSignal, getAllContexts, getContext, hasContext, hydratable, hydrate, mount, onDestroy, setContext, settled, tick, unmount, run as untrack };

1
node_modules/.vite/deps_ssr/svelte.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

54
node_modules/.vite/deps_ssr/svelte_animate.js generated vendored Normal file
View File

@@ -0,0 +1,54 @@
import { cubicOut } from "./svelte_easing.js";
// node_modules/svelte/src/animate/index.js
/** @import { FlipParams, AnimationConfig } from './public.js' */
/**
* The flip function calculates the start and end position of an element and animates between them, translating the x and y values.
* `flip` stands for [First, Last, Invert, Play](https://aerotwist.com/blog/flip-your-animations/).
*
* @param {Element} node
* @param {{ from: DOMRect; to: DOMRect }} fromTo
* @param {FlipParams} params
* @returns {AnimationConfig}
*/
function flip(node, { from, to }, params = {}) {
var { delay = 0, duration = (d) => Math.sqrt(d) * 120, easing = cubicOut } = params;
var style = getComputedStyle(node);
var transform = style.transform === "none" ? "" : style.transform;
var [ox, oy] = style.transformOrigin.split(" ").map(parseFloat);
ox /= node.clientWidth;
oy /= node.clientHeight;
var zoom = get_zoom(node);
var sx = node.clientWidth / to.width / zoom;
var sy = node.clientHeight / to.height / zoom;
var fx = from.left + from.width * ox;
var fy = from.top + from.height * oy;
var tx = to.left + to.width * ox;
var ty = to.top + to.height * oy;
var dx = (fx - tx) * sx;
var dy = (fy - ty) * sy;
var dsx = from.width / to.width;
var dsy = from.height / to.height;
return {
delay,
duration: typeof duration === "function" ? duration(Math.sqrt(dx * dx + dy * dy)) : duration,
easing,
css: (t, u) => {
return `transform: ${transform} translate(${u * dx}px, ${u * dy}px) scale(${t + u * dsx}, ${t + u * dsy});`;
}
};
}
/**
* @param {Element} element
*/
function get_zoom(element) {
if ("currentCSSZoom" in element) return element.currentCSSZoom;
/** @type {Element | null} */
var current = element;
var zoom = 1;
while (current !== null) {
zoom *= +getComputedStyle(current).zoom;
current = current.parentElement;
}
return zoom;
}
export { flip };

1
node_modules/.vite/deps_ssr/svelte_animate.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_animate.js","names":[],"sources":["../../svelte/src/animate/index.js"],"sourcesContent":["/** @import { FlipParams, AnimationConfig } from './public.js' */\nimport { cubicOut } from '../easing/index.js';\n\n/**\n * The flip function calculates the start and end position of an element and animates between them, translating the x and y values.\n * `flip` stands for [First, Last, Invert, Play](https://aerotwist.com/blog/flip-your-animations/).\n *\n * @param {Element} node\n * @param {{ from: DOMRect; to: DOMRect }} fromTo\n * @param {FlipParams} params\n * @returns {AnimationConfig}\n */\nexport function flip(node, { from, to }, params = {}) {\n\tvar { delay = 0, duration = (d) => Math.sqrt(d) * 120, easing = cubicOut } = params;\n\n\tvar style = getComputedStyle(node);\n\n\t// find the transform origin, expressed as a pair of values between 0 and 1\n\tvar transform = style.transform === 'none' ? '' : style.transform;\n\tvar [ox, oy] = style.transformOrigin.split(' ').map(parseFloat);\n\tox /= node.clientWidth;\n\toy /= node.clientHeight;\n\n\t// calculate effect of parent transforms and zoom\n\tvar zoom = get_zoom(node); // https://drafts.csswg.org/css-viewport/#effective-zoom\n\tvar sx = node.clientWidth / to.width / zoom;\n\tvar sy = node.clientHeight / to.height / zoom;\n\n\t// find the starting position of the transform origin\n\tvar fx = from.left + from.width * ox;\n\tvar fy = from.top + from.height * oy;\n\n\t// find the ending position of the transform origin\n\tvar tx = to.left + to.width * ox;\n\tvar ty = to.top + to.height * oy;\n\n\t// find the translation at the start of the transform\n\tvar dx = (fx - tx) * sx;\n\tvar dy = (fy - ty) * sy;\n\n\t// find the relative scale at the start of the transform\n\tvar dsx = from.width / to.width;\n\tvar dsy = from.height / to.height;\n\n\treturn {\n\t\tdelay,\n\t\tduration: typeof duration === 'function' ? duration(Math.sqrt(dx * dx + dy * dy)) : duration,\n\t\teasing,\n\t\tcss: (t, u) => {\n\t\t\tvar x = u * dx;\n\t\t\tvar y = u * dy;\n\t\t\tvar sx = t + u * dsx;\n\t\t\tvar sy = t + u * dsy;\n\n\t\t\treturn `transform: ${transform} translate(${x}px, ${y}px) scale(${sx}, ${sy});`;\n\t\t}\n\t};\n}\n\n/**\n * @param {Element} element\n */\nfunction get_zoom(element) {\n\tif ('currentCSSZoom' in element) {\n\t\treturn /** @type {number} */ (element.currentCSSZoom);\n\t}\n\n\t/** @type {Element | null} */\n\tvar current = element;\n\tvar zoom = 1;\n\n\twhile (current !== null) {\n\t\tzoom *= +getComputedStyle(current).zoom;\n\t\tcurrent = /** @type {Element | null} */ (current.parentElement);\n\t}\n\n\treturn zoom;\n}\n"],"mappings":";;;;;;;;;;;;AAYA,SAAgB,KAAK,MAAM,EAAE,MAAM,MAAM,SAAS,CAAC,GAAG;CACrD,IAAI,EAAE,QAAQ,GAAG,YAAY,MAAM,KAAK,KAAK,CAAC,IAAI,KAAK,SAAS,aAAa;CAE7E,IAAI,QAAQ,iBAAiB,IAAI;CAGjC,IAAI,YAAY,MAAM,cAAc,SAAS,KAAK,MAAM;CACxD,IAAI,CAAC,IAAI,MAAM,MAAM,gBAAgB,MAAM,GAAG,CAAC,CAAC,IAAI,UAAU;CAC9D,MAAM,KAAK;CACX,MAAM,KAAK;CAGX,IAAI,OAAO,SAAS,IAAI;CACxB,IAAI,KAAK,KAAK,cAAc,GAAG,QAAQ;CACvC,IAAI,KAAK,KAAK,eAAe,GAAG,SAAS;CAGzC,IAAI,KAAK,KAAK,OAAO,KAAK,QAAQ;CAClC,IAAI,KAAK,KAAK,MAAM,KAAK,SAAS;CAGlC,IAAI,KAAK,GAAG,OAAO,GAAG,QAAQ;CAC9B,IAAI,KAAK,GAAG,MAAM,GAAG,SAAS;CAG9B,IAAI,MAAM,KAAK,MAAM;CACrB,IAAI,MAAM,KAAK,MAAM;CAGrB,IAAI,MAAM,KAAK,QAAQ,GAAG;CAC1B,IAAI,MAAM,KAAK,SAAS,GAAG;CAE3B,OAAO;EACN;EACA,UAAU,OAAO,aAAa,aAAa,SAAS,KAAK,KAAK,KAAK,KAAK,KAAK,EAAE,CAAC,IAAI;EACpF;EACA,MAAM,GAAG,MAAM;GAMd,OAAO,cAAc,UAAU,aALvB,IAAI,GAKkC,MAJtC,IAAI,GAI0C,YAH7C,IAAI,IAAI,IAGoD,IAF5D,IAAI,IAAI,IAE2D;EAC7E;CACD;AACD;;;;AAKA,SAAS,SAAS,SAAS;CAC1B,IAAI,oBAAoB,SACvB,OAA8B,QAAQ;;CAIvC,IAAI,UAAU;CACd,IAAI,OAAO;CAEX,OAAO,YAAY,MAAM;EACxB,QAAQ,CAAC,iBAAiB,OAAO,CAAC,CAAC;EACnC,UAAyC,QAAQ;CAClD;CAEA,OAAO;AACR"}

1
node_modules/.vite/deps_ssr/svelte_attachments.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export { t as createAttachmentKey, n as fromAction } from "./attachments-C3vJBgrq.js";

48321
node_modules/.vite/deps_ssr/svelte_compiler.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

1
node_modules/.vite/deps_ssr/svelte_compiler.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

298
node_modules/.vite/deps_ssr/svelte_easing.js generated vendored Normal file
View File

@@ -0,0 +1,298 @@
// node_modules/svelte/src/easing/index.js
/**
* Returns value as is.
*
* @param {number} t
* @returns {number}
*/
function linear(t) {
return t;
}
/**
* Rebound effect on start and end of value range.
*
* @param {number} t
* @returns {number}
*/
function backInOut(t) {
const s = 2.5949095;
if ((t *= 2) < 1) return .5 * (t * t * (3.5949095 * t - s));
return .5 * ((t -= 2) * t * (3.5949095 * t + s) + 2);
}
/**
* Rebound effect on start.
*
* @param {number} t
* @returns {number}
*/
function backIn(t) {
return t * t * (2.70158 * t - 1.70158);
}
/**
* Rebound effect on end.
*
* @param {number} t
* @returns {number}
*/
function backOut(t) {
return --t * t * (2.70158 * t + 1.70158) + 1;
}
/**
* Bounce effect on end.
*
* @param {number} t
* @returns {number}
*/
function bounceOut(t) {
const a = 4 / 11;
const b = 8 / 11;
const c = 9 / 10;
const ca = 4356 / 361;
const cb = 35442 / 1805;
const cc = 16061 / 1805;
const t2 = t * t;
return t < a ? 7.5625 * t2 : t < b ? 9.075 * t2 - 9.9 * t + 3.4 : t < c ? ca * t2 - cb * t + cc : 10.8 * t * t - 20.52 * t + 10.72;
}
/**
* Bounce effect on start and end.
*
* @param {number} t
* @returns {number}
*/
function bounceInOut(t) {
return t < .5 ? .5 * (1 - bounceOut(1 - t * 2)) : .5 * bounceOut(t * 2 - 1) + .5;
}
/**
* Bounce effect on start.
*
* @param {number} t
* @returns {number}
*/
function bounceIn(t) {
return 1 - bounceOut(1 - t);
}
/**
* Circular effect, accelerate on start, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function circInOut(t) {
if ((t *= 2) < 1) return -.5 * (Math.sqrt(1 - t * t) - 1);
return .5 * (Math.sqrt(1 - (t -= 2) * t) + 1);
}
/**
* Circular effect, accelerate on start.
*
* @param {number} t
* @returns {number}
*/
function circIn(t) {
return 1 - Math.sqrt(1 - t * t);
}
/**
* Circular effect, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function circOut(t) {
return Math.sqrt(1 - --t * t);
}
/**
* Cubic scaling, accelerate on start, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function cubicInOut(t) {
return t < .5 ? 4 * t * t * t : .5 * Math.pow(2 * t - 2, 3) + 1;
}
/**
* Cubic scaling, accelerate on start
*
* @param {number} t
* @returns {number}
*/
function cubicIn(t) {
return t * t * t;
}
/**
* Cubic scaling, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function cubicOut(t) {
const f = t - 1;
return f * f * f + 1;
}
/**
* Elastic effect on start and end.
*
* @param {number} t
* @returns {number}
*/
function elasticInOut(t) {
return t < .5 ? .5 * Math.sin(13 * Math.PI / 2 * 2 * t) * Math.pow(2, 10 * (2 * t - 1)) : .5 * Math.sin(-13 * Math.PI / 2 * (2 * t - 1 + 1)) * Math.pow(2, -10 * (2 * t - 1)) + 1;
}
/**
* Elastic effect on start.
*
* @param {number} t
* @returns {number}
*/
function elasticIn(t) {
return Math.sin(13 * t * Math.PI / 2) * Math.pow(2, 10 * (t - 1));
}
/**
* Elastic effect on end.
*
* @param {number} t
* @returns {number}
*/
function elasticOut(t) {
return Math.sin(-13 * (t + 1) * Math.PI / 2) * Math.pow(2, -10 * t) + 1;
}
/**
* Exponential effect on start and end.
*
* @param {number} t
* @returns {number}
*/
function expoInOut(t) {
return t === 0 || t === 1 ? t : t < .5 ? .5 * Math.pow(2, 20 * t - 10) : -.5 * Math.pow(2, 10 - t * 20) + 1;
}
/**
* Exponential effect on start.
*
* @param {number} t
* @returns {number}
*/
function expoIn(t) {
return t === 0 ? t : Math.pow(2, 10 * (t - 1));
}
/**
* Exponential effect on end.
*
* @param {number} t
* @returns {number}
*/
function expoOut(t) {
return t === 1 ? t : 1 - Math.pow(2, -10 * t);
}
/**
* Quadratic scaling, accelerate on start, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function quadInOut(t) {
t /= .5;
if (t < 1) return .5 * t * t;
t--;
return -.5 * (t * (t - 2) - 1);
}
/**
* Quadratic scaling, accelerate on start.
*
* @param {number} t
* @returns {number}
*/
function quadIn(t) {
return t * t;
}
/**
* Quadratic scaling, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function quadOut(t) {
return -t * (t - 2);
}
/**
* Quartic scaling, accelerate on start, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function quartInOut(t) {
return t < .5 ? 8 * Math.pow(t, 4) : -8 * Math.pow(t - 1, 4) + 1;
}
/**
* Quartic scaling, accelerate on start.
*
* @param {number} t
* @returns {number}
*/
function quartIn(t) {
return Math.pow(t, 4);
}
/**
* Quartic scaling, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function quartOut(t) {
return Math.pow(t - 1, 3) * (1 - t) + 1;
}
/**
* Quintic scaling, accelerate on start, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function quintInOut(t) {
if ((t *= 2) < 1) return .5 * t * t * t * t * t;
return .5 * ((t -= 2) * t * t * t * t + 2);
}
/**
* Quintic scaling, accelerate on start.
*
* @param {number} t
* @returns {number}
*/
function quintIn(t) {
return t * t * t * t * t;
}
/**
* Quintic scaling, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function quintOut(t) {
return --t * t * t * t * t + 1;
}
/**
* Sinusoidal effect, accelerate on start, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function sineInOut(t) {
return -.5 * (Math.cos(Math.PI * t) - 1);
}
/**
* Sinusoidal effect, accelerate on start.
*
* @param {number} t
* @returns {number}
*/
function sineIn(t) {
const v = Math.cos(t * Math.PI * .5);
if (Math.abs(v) < 1e-14) return 1;
else return 1 - v;
}
/**
* Sinusoidal effect, decelerate towards end.
*
* @param {number} t
* @returns {number}
*/
function sineOut(t) {
return Math.sin(t * Math.PI / 2);
}
export { backIn, backInOut, backOut, bounceIn, bounceInOut, bounceOut, circIn, circInOut, circOut, cubicIn, cubicInOut, cubicOut, elasticIn, elasticInOut, elasticOut, expoIn, expoInOut, expoOut, linear, quadIn, quadInOut, quadOut, quartIn, quartInOut, quartOut, quintIn, quintInOut, quintOut, sineIn, sineInOut, sineOut };

1
node_modules/.vite/deps_ssr/svelte_easing.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

1
node_modules/.vite/deps_ssr/svelte_events.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export { c as on } from "./events-ChFSpzmg.js";

3
node_modules/.vite/deps_ssr/svelte_internal.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
// node_modules/svelte/src/internal/index.js
throw new Error(`Your application, or one of its dependencies, imported from 'svelte/internal', which was a private module used by Svelte 4 components that no longer exists in Svelte 5. It is not intended to be public API. If you're a library author and you used 'svelte/internal' deliberately, please raise an issue on https://github.com/sveltejs/svelte/issues detailing your use case.`);
export {};

1
node_modules/.vite/deps_ssr/svelte_internal.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_internal.js","names":[],"sources":["../../svelte/src/internal/index.js"],"sourcesContent":["// TODO we may, on a best-effort basis, reimplement some of the legacy private APIs here so that certain libraries continue to work. Those APIs will be marked as deprecated (and should noisily warn the user) and will be removed in a future version of Svelte.\n\nthrow new Error(\n\t`Your application, or one of its dependencies, imported from 'svelte/internal', which was a private module used by Svelte 4 components that no longer exists in Svelte 5. It is not intended to be public API. If you're a library author and you used 'svelte/internal' deliberately, please raise an issue on https://github.com/sveltejs/svelte/issues detailing your use case.`\n);\n"],"mappings":";AAEA,MAAM,IAAI,MACT,mXACD"}

View File

@@ -0,0 +1,7 @@
import { $t as tag_proxy, At as track_reactivity_loss, C as legacy_pre_effect, Ct as user_derived, Dt as run, Et as for_await_track_reactivity_loss, G as first_child, Ht as add_svelte_meta, Jt as pop, L as $document, M as template_effect, N as user_effect, Nt as wait, Ot as run_after_blockers, P as user_pre_effect, Qt as tag, R as $window, Rt as autofocus, S as effect_tracking, Sn as reset, St as derived_safe_equal, Xn as exclude_from_object, Yt as push, Z as only_child, Zn as fallback, _ as deferred_template_effect, _t as flushSync, a as get, ar as noop, b as effect, bn as next, bt as async_derived, ct as mutate, d as untrack, dr as invalid_default_snippet, dt as state, en as trace, et as sibling, f as invalidate_inner_signals, ft as update, gt as eager, i as deep_read_state, it as proxy, jt as unsave, k as render_effect, kt as save, lr as to_array, lt as set, nt as strict_equals, p as aborted, pt as update_pre, r as deep_read, s as safe_get, st as mutable_source, t as active_effect, tn as snapshot, tt as equals, u as tick, vn as hydrate_template, w as legacy_pre_effect_reset, x as effect_root, z as child, zt as remove_textarea_child } from "./runtime-DInTlc-h.js";
import { c as NAMESPACE_SVG, n as FILENAME, r as HMR } from "./constants-Dd0-6Ncu.js";
import { a as attr, i as validate_void_dynamic_element, n as validate_dynamic_element_tag, o as clsx, r as validate_store, t as prevent_snippet_stringification } from "./validate-EWwS2w2A.js";
import { $ as selectedcontent, A as bind_property, At as sanitize_slots, B as bind_paused, Bt as async, C as reactive_import, Ct as animation, D as bind_window_size, Dt as component, E as bind_window_scroll, Et as raf, F as bind_online, Ft as css_props, G as bind_seeking, Gt as hmr, H as bind_played, Ht as check_target, I as bind_buffered, It as key, J as bind_files, Jt as assign, K as bind_volume, Kt as add_locations, L as bind_current_time, Lt as if_block, M as bind_element_size, Mt as html, N as bind_resize_observer, Nt as each, O as bind_content_editable, Ot as snippet, P as bind_prop, Pt as index, Q as customizable_select, R as bind_ended, Rt as await_block, S as bubble_event, St as element, T as init, U as bind_ready_state, Ut as legacy_api, V as bind_playback_rate, Vt as inspect, W as bind_seekable, Wt as create_ownership_validator, X as bind_value, Y as bind_group, Yt as assign_async, Z as bind_active_element, _ as store_set, _t as set_class, a as validate_binding, at as set_checked, b as update_store, bt as append_styles, c as rest_props, ct as set_default_value, d as update_prop, dt as bind_select_value, et as CLASS, f as invalidate_store, ft as init_select, g as store_mutate, gt as set_style, h as store_get, ht as set_selected, i as create_custom_element, it as set_attribute, j as bind_this, jt as slot, k as bind_focused, kt as wrap_snippet, l as spread_props, lt as set_value, m as setup_stores, mt as set_default_select_value, nt as attribute_effect, o as legacy_rest_props, ot as set_custom_element_data, p as mark_store_binding, pt as select_option, q as bind_checked, qt as cleanup_styles, r as log_if_contains_state, rt as remove_input_defaults, s as prop, st as set_default_checked, t as createAttachmentKey, tt as STYLE, u as update_pre_prop, ut as set_xlink_attribute, v as store_unsub, vt as attach, w as update_legacy_props, wt as transition, x as add_legacy_event_listener, xt as head, y as update_pre_store, yt as action, z as bind_muted, zt as validate_snippet_args } from "./attachments-C3vJBgrq.js";
import { a as delegated, i as delegate, l as replay_events, n as apply, o as event } from "./events-ChFSpzmg.js";
import { C as text, S as props_id, _ as comment, a as self, b as from_svg, c as trusted, f as boundary, h as append, i as preventDefault, o as stopImmediatePropagation, p as pending, r as once, s as stopPropagation, u as set_text, v as from_html, w as with_script, x as from_tree, y as from_mathml } from "./legacy-client-DTuKEjQw.js";
export { CLASS, FILENAME, HMR, NAMESPACE_SVG, STYLE, aborted, action, active_effect, add_legacy_event_listener, add_locations, add_svelte_meta, animation, append, append_styles, apply, assign, assign_async, async, async_derived, attach, createAttachmentKey as attachment, attr, attribute_effect, autofocus, await_block as await, bind_active_element, bind_buffered, bind_checked, bind_content_editable, bind_current_time, bind_element_size, bind_ended, bind_files, bind_focused, bind_group, bind_muted, bind_online, bind_paused, bind_playback_rate, bind_played, bind_prop, bind_property, bind_ready_state, bind_resize_observer, bind_seekable, bind_seeking, bind_select_value, bind_this, bind_value, bind_volume, bind_window_scroll, bind_window_size, boundary, bubble_event, check_target, child, cleanup_styles, clsx, comment, component, create_custom_element, create_ownership_validator, css_props, customizable_select, deep_read, deep_read_state, deferred_template_effect, delegate, delegated, user_derived as derived, derived_safe_equal, $document as document, each, eager, effect, effect_root, effect_tracking, element, equals, event, exclude_from_object, fallback, first_child, flushSync as flush, for_await_track_reactivity_loss, from_html, from_mathml, from_svg, from_tree, get, head, hmr, html, hydrate_template, if_block as if, index, init, init_select, inspect, invalid_default_snippet, invalidate_inner_signals, invalidate_store, key, legacy_api, legacy_pre_effect, legacy_pre_effect_reset, legacy_rest_props, log_if_contains_state, mark_store_binding, mutable_source, mutate, next, noop, once, only_child, pending, pop, preventDefault, prevent_snippet_stringification, prop, props_id, proxy, push, raf, reactive_import, remove_input_defaults, remove_textarea_child, render_effect, replay_events, reset, rest_props, run, run_after_blockers, safe_get, sanitize_slots, save, select_option, selectedcontent, self, set, set_attribute, set_checked, set_class, set_custom_element_data, set_default_checked, set_default_select_value, set_default_value, set_selected, set_style, set_text, set_value, set_xlink_attribute, setup_stores, sibling, slot, snapshot, snippet, spread_props, state, stopImmediatePropagation, stopPropagation, store_get, store_mutate, store_set, store_unsub, strict_equals, tag, tag_proxy, template_effect, text, tick, to_array, trace, track_reactivity_loss, transition, trusted, unsave, untrack, update, update_legacy_props, update_pre, update_pre_prop, update_pre_store, update_prop, update_store, user_effect, user_pre_effect, validate_binding, validate_dynamic_element_tag, validate_snippet_args, validate_store, validate_void_dynamic_element, wait, $window as window, with_script, wrap_snippet };

View File

@@ -0,0 +1,3 @@
// node_modules/svelte/src/internal/disclose-version.js
if (typeof window !== "undefined") ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
export {};

View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_internal_disclose-version.js","names":[],"sources":["../../svelte/src/internal/disclose-version.js"],"sourcesContent":["import { PUBLIC_VERSION } from '../version.js';\n\nif (typeof window !== 'undefined') {\n\t// @ts-expect-error\n\t((window.__svelte ??= {}).v ??= new Set()).add(PUBLIC_VERSION);\n}\n"],"mappings":";AAEA,IAAI,OAAO,WAAW,aAErB,CAAC,CAAC,OAAO,aAAa,CAAC,EAAA,CAAG,sBAAM,IAAI,IAAI,EAAA,CAAG,IAAA,GAAkB"}

View File

@@ -0,0 +1,4 @@
import { n as enable_async_mode_flag } from "./flags-qfBdqUK7.js";
// node_modules/svelte/src/internal/flags/async.js
enable_async_mode_flag();
export {};

View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_internal_flags_async.js","names":[],"sources":["../../svelte/src/internal/flags/async.js"],"sourcesContent":["import { enable_async_mode_flag } from './index.js';\n\nenable_async_mode_flag();\n"],"mappings":";;AAEA,uBAAuB"}

View File

@@ -0,0 +1,4 @@
import { r as enable_legacy_mode_flag } from "./flags-qfBdqUK7.js";
// node_modules/svelte/src/internal/flags/legacy.js
enable_legacy_mode_flag();
export {};

View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_internal_flags_legacy.js","names":[],"sources":["../../svelte/src/internal/flags/legacy.js"],"sourcesContent":["import { enable_legacy_mode_flag } from './index.js';\n\nenable_legacy_mode_flag();\n"],"mappings":";;AAEA,wBAAwB"}

View File

@@ -0,0 +1,4 @@
import { i as enable_tracing_mode_flag } from "./flags-qfBdqUK7.js";
// node_modules/svelte/src/internal/flags/tracing.js
enable_tracing_mode_flag();
export {};

View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_internal_flags_tracing.js","names":[],"sources":["../../svelte/src/internal/flags/tracing.js"],"sourcesContent":["import { enable_tracing_mode_flag } from './index.js';\n\nenable_tracing_mode_flag();\n"],"mappings":";;AAEA,yBAAyB"}

View File

@@ -0,0 +1,6 @@
import { Xn as exclude_from_object, Zn as fallback, dr as invalid_default_snippet, lr as to_array, tn as snapshot } from "./runtime-DInTlc-h.js";
import { A as update_derived_pre, B as save, C as spread_props, D as stringify, E as store_set, M as update_store_pre, N as html, O as unsubscribe_stores, S as slot, T as store_mutate, _ as props_id, a as async_derived, b as sanitize_props, c as attributes, d as css_props, f as derived, g as once, h as head, i as validate_snippet_args, j as update_store, k as update_derived, l as await_block, m as ensure_array_like, n as pop_element, o as attr_class, p as element, r as push_element, s as attr_style, u as bind_props, v as render, w as store_get, x as sanitize_slots, y as rest_props } from "./dev-uPqstlKb.js";
import { n as FILENAME, r as HMR } from "./constants-Dd0-6Ncu.js";
import { b as escape_html } from "./utils-BWzPBw9Y.js";
import { a as attr, i as validate_void_dynamic_element, n as validate_dynamic_element_tag, o as clsx, t as prevent_snippet_stringification } from "./validate-EWwS2w2A.js";
export { FILENAME, HMR, async_derived, attr, attr_class, attr_style, attributes, await_block as await, bind_props, clsx, css_props, derived, element, ensure_array_like, escape_html as escape, exclude_from_object, fallback, head, html, invalid_default_snippet, once, pop_element, prevent_snippet_stringification, props_id, push_element, render, rest_props, sanitize_props, sanitize_slots, save, slot, snapshot, spread_props, store_get, store_mutate, store_set, stringify, to_array, unsubscribe_stores, update_derived, update_derived_pre, update_store, update_store_pre, validate_dynamic_element_tag, validate_snippet_args, validate_void_dynamic_element };

82
node_modules/.vite/deps_ssr/svelte_legacy.js generated vendored Normal file
View File

@@ -0,0 +1,82 @@
import { n as createClassComponent, t as asClassComponent$1 } from "./legacy-client-DTuKEjQw.js";
import { v as render } from "./dev-uPqstlKb.js";
import { t as async_mode_flag } from "./flags-qfBdqUK7.js";
// node_modules/svelte/src/legacy/legacy-server.js
/** @import { SvelteComponent } from '../index.js' */
/** @import { Csp } from '../server/public.js' */
/** @typedef {{ head: string, html: string, css: { code: string, map: null }; hashes?: { script: `sha256-${string}`[] } }} LegacyRenderResult */
/**
* Takes a Svelte 5 component and returns a Svelte 4 compatible component constructor.
*
* @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.
*
* @template {Record<string, any>} Props
* @template {Record<string, any>} Exports
* @template {Record<string, any>} Events
* @template {Record<string, any>} Slots
*
* @param {SvelteComponent<Props, Events, Slots>} component
* @returns {typeof SvelteComponent<Props, Events, Slots> & Exports}
*/
function asClassComponent(component) {
const component_constructor = asClassComponent$1(component);
/** @type {(props?: {}, opts?: { $$slots?: {}; context?: Map<any, any>; csp?: Csp; transformError?: (error: unknown) => unknown }) => LegacyRenderResult & PromiseLike<LegacyRenderResult> } */
const _render = (props, { context, csp, transformError } = {}) => {
const result = render(component, {
props,
context,
csp,
transformError
});
const munged = Object.defineProperties({}, {
css: { value: {
code: "",
map: null
} },
head: { get: () => result.head },
html: { get: () => result.body },
then: {
/**
* this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
*
* @template TResult1
* @template [TResult2=never]
* @param { (value: LegacyRenderResult) => TResult1 } onfulfilled
* @param { (reason: unknown) => TResult2 } onrejected
*/
value: (onfulfilled, onrejected) => {
if (!async_mode_flag) {
const user_result = onfulfilled({
css: munged.css,
head: munged.head,
html: munged.html
});
return Promise.resolve(user_result);
}
return result.then((result) => {
return onfulfilled({
css: munged.css,
head: result.head,
html: result.body,
hashes: result.hashes
});
}, onrejected);
} }
});
return munged;
};
component_constructor.render = _render;
return component_constructor;
}
/**
* Runs the given function once immediately on the server, and works like `$effect.pre` on the client.
*
* @deprecated Use this only as a temporary solution to migrate your component code to Svelte 5.
* @param {() => void | (() => void)} fn
* @returns {void}
*/
function run(fn) {
fn();
}
var noop = () => {};
export { asClassComponent, noop as createBubbler, noop as handlers, noop as nonpassive, noop as once, noop as passive, noop as preventDefault, noop as self, noop as stopImmediatePropagation, noop as stopPropagation, noop as trusted, createClassComponent, run };

1
node_modules/.vite/deps_ssr/svelte_legacy.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_legacy.js","names":["as_class_component"],"sources":["../../svelte/src/legacy/legacy-server.js"],"sourcesContent":["/** @import { SvelteComponent } from '../index.js' */\n/** @import { Csp } from '../server/public.js' */\nimport { asClassComponent as as_class_component, createClassComponent } from './legacy-client.js';\nimport { render } from '../internal/server/index.js';\nimport { async_mode_flag } from '../internal/flags/index.js';\n\n// By having this as a separate entry point for server environments, we save the client bundle from having to include the server runtime\n\nexport { createClassComponent };\n\n/** @typedef {{ head: string, html: string, css: { code: string, map: null }; hashes?: { script: `sha256-${string}`[] } }} LegacyRenderResult */\n\n/**\n * Takes a Svelte 5 component and returns a Svelte 4 compatible component constructor.\n *\n * @deprecated Use this only as a temporary solution to migrate your imperative component code to Svelte 5.\n *\n * @template {Record<string, any>} Props\n * @template {Record<string, any>} Exports\n * @template {Record<string, any>} Events\n * @template {Record<string, any>} Slots\n *\n * @param {SvelteComponent<Props, Events, Slots>} component\n * @returns {typeof SvelteComponent<Props, Events, Slots> & Exports}\n */\nexport function asClassComponent(component) {\n\tconst component_constructor = as_class_component(component);\n\t/** @type {(props?: {}, opts?: { $$slots?: {}; context?: Map<any, any>; csp?: Csp; transformError?: (error: unknown) => unknown }) => LegacyRenderResult & PromiseLike<LegacyRenderResult> } */\n\tconst _render = (props, { context, csp, transformError } = {}) => {\n\t\t// @ts-expect-error the typings are off, but this will work if the component is compiled in SSR mode\n\t\tconst result = render(component, { props, context, csp, transformError });\n\n\t\tconst munged = Object.defineProperties(\n\t\t\t/** @type {LegacyRenderResult & PromiseLike<LegacyRenderResult>} */ ({}),\n\t\t\t{\n\t\t\t\tcss: {\n\t\t\t\t\tvalue: { code: '', map: null }\n\t\t\t\t},\n\t\t\t\thead: {\n\t\t\t\t\tget: () => result.head\n\t\t\t\t},\n\t\t\t\thtml: {\n\t\t\t\t\tget: () => result.body\n\t\t\t\t},\n\t\t\t\tthen: {\n\t\t\t\t\t/**\n\t\t\t\t\t * this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.\n\t\t\t\t\t *\n\t\t\t\t\t * @template TResult1\n\t\t\t\t\t * @template [TResult2=never]\n\t\t\t\t\t * @param { (value: LegacyRenderResult) => TResult1 } onfulfilled\n\t\t\t\t\t * @param { (reason: unknown) => TResult2 } onrejected\n\t\t\t\t\t */\n\t\t\t\t\tvalue: (onfulfilled, onrejected) => {\n\t\t\t\t\t\tif (!async_mode_flag) {\n\t\t\t\t\t\t\tconst user_result = onfulfilled({\n\t\t\t\t\t\t\t\tcss: munged.css,\n\t\t\t\t\t\t\t\thead: munged.head,\n\t\t\t\t\t\t\t\thtml: munged.html\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\treturn Promise.resolve(user_result);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn result.then((result) => {\n\t\t\t\t\t\t\treturn onfulfilled({\n\t\t\t\t\t\t\t\tcss: munged.css,\n\t\t\t\t\t\t\t\thead: result.head,\n\t\t\t\t\t\t\t\thtml: result.body,\n\t\t\t\t\t\t\t\thashes: result.hashes\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}, onrejected);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\n\t\treturn munged;\n\t};\n\n\t// @ts-expect-error this is present for SSR\n\tcomponent_constructor.render = _render;\n\n\t// @ts-ignore\n\treturn component_constructor;\n}\n\n/**\n * Runs the given function once immediately on the server, and works like `$effect.pre` on the client.\n *\n * @deprecated Use this only as a temporary solution to migrate your component code to Svelte 5.\n * @param {() => void | (() => void)} fn\n * @returns {void}\n */\nexport function run(fn) {\n\tfn();\n}\n\nconst noop = () => {};\n\n// event stuff, no need to worry about it for SSR but needs to be there or it will crash\nexport {\n\tnoop as handlers,\n\tnoop as createBubbler,\n\tnoop as once,\n\tnoop as preventDefault,\n\tnoop as self,\n\tnoop as stopImmediatePropagation,\n\tnoop as stopPropagation,\n\tnoop as trusted,\n\tnoop as passive,\n\tnoop as nonpassive\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyBA,SAAgB,iBAAiB,WAAW;CAC3C,MAAM,wBAAwBA,mBAAmB,SAAS;;CAE1D,MAAM,WAAW,OAAO,EAAE,SAAS,KAAK,mBAAmB,CAAC,MAAM;EAEjE,MAAM,SAAS,OAAO,WAAW;GAAE;GAAO;GAAS;GAAK;EAAe,CAAC;EAExE,MAAM,SAAS,OAAO,iBACgD,CAAC,GACtE;GACC,KAAK,EACJ,OAAO;IAAE,MAAM;IAAI,KAAK;GAAK,EAC9B;GACA,MAAM,EACL,WAAW,OAAO,KACnB;GACA,MAAM,EACL,WAAW,OAAO,KACnB;GACA,MAAM;;;;;;;;;AASL,QAAQ,aAAa,eAAe;IACnC,IAAI,CAAC,iBAAiB;KACrB,MAAM,cAAc,YAAY;MAC/B,KAAK,OAAO;MACZ,MAAM,OAAO;MACb,MAAM,OAAO;KACd,CAAC;KACD,OAAO,QAAQ,QAAQ,WAAW;IACnC;IAEA,OAAO,OAAO,MAAM,WAAW;KAC9B,OAAO,YAAY;MAClB,KAAK,OAAO;MACZ,MAAM,OAAO;MACb,MAAM,OAAO;MACb,QAAQ,OAAO;KAChB,CAAC;IACF,GAAG,UAAU;GACd,EACD;EACD,CACD;EAEA,OAAO;CACR;CAGA,sBAAsB,SAAS;CAG/B,OAAO;AACR;;;;;;;;AASA,SAAgB,IAAI,IAAI;CACvB,GAAG;AACJ;AAEA,IAAM,aAAa,CAAC"}

557
node_modules/.vite/deps_ssr/svelte_motion.js generated vendored Normal file
View File

@@ -0,0 +1,557 @@
import { MediaQuery } from "./svelte_reactivity.js";
import { a as writable } from "./shared-Clug2-tp.js";
import { Et as raf, Tt as loop } from "./attachments-C3vJBgrq.js";
import { Jn as deferred, Qt as tag, a as get, ar as noop, dt as state, k as render_effect, lt as set } from "./runtime-DInTlc-h.js";
import { linear } from "./svelte_easing.js";
// node_modules/svelte/src/motion/utils.js
/**
* @param {any} obj
* @returns {obj is Date}
*/
function is_date(obj) {
return Object.prototype.toString.call(obj) === "[object Date]";
}
// node_modules/svelte/src/motion/spring.js
/** @import { Task } from '#client' */
/** @import { TickContext } from './private.js' */
/** @import { Spring as SpringStore, SpringOptions, SpringUpdateOptions } from './public.js' */
/**
* @template T
* @param {TickContext} ctx
* @param {T} last_value
* @param {T} current_value
* @param {T} target_value
* @returns {T}
*/
function tick_spring(ctx, last_value, current_value, target_value) {
if (typeof current_value === "number" || is_date(current_value)) {
const delta = target_value - current_value;
const velocity = (current_value - last_value) / (ctx.dt || 1 / 60);
const d = (velocity + (ctx.opts.stiffness * delta - ctx.opts.damping * velocity) * ctx.inv_mass) * ctx.dt;
if (Math.abs(d) < ctx.opts.precision && Math.abs(delta) < ctx.opts.precision) return target_value;
else {
ctx.settled = false;
return is_date(current_value) ? new Date(current_value.getTime() + d) : current_value + d;
}
} else if (Array.isArray(current_value)) return current_value.map((_, i) => tick_spring(ctx, last_value[i], current_value[i], target_value[i]));
else if (typeof current_value === "object") {
const next_value = {};
for (const k in current_value) next_value[k] = tick_spring(ctx, last_value[k], current_value[k], target_value[k]);
return next_value;
} else throw new Error(`Cannot spring ${typeof current_value} values`);
}
/**
* The spring function in Svelte creates a store whose value is animated, with a motion that simulates the behavior of a spring. This means when the value changes, instead of transitioning at a steady rate, it "bounces" like a spring would, depending on the physics parameters provided. This adds a level of realism to the transitions and can enhance the user experience.
*
* @deprecated Use [`Spring`](https://svelte.dev/docs/svelte/svelte-motion#Spring) instead
* @template [T=any]
* @param {T} [value]
* @param {SpringOptions} [opts]
* @returns {SpringStore<T>}
*/
function spring(value, opts = {}) {
const store = writable(value);
const { stiffness = .15, damping = .8, precision = .01 } = opts;
/** @type {number} */
let last_time;
/** @type {Task | null} */
let task;
/** @type {object} */
let current_token;
let last_value = value;
let target_value = value;
let inv_mass = 1;
let inv_mass_recovery_rate = 0;
let cancel_task = false;
/**
* @param {T} new_value
* @param {SpringUpdateOptions} opts
* @returns {Promise<void>}
*/
function set(new_value, opts = {}) {
target_value = new_value;
const token = current_token = {};
if (value == null || opts.hard || spring.stiffness >= 1 && spring.damping >= 1) {
cancel_task = true;
last_time = raf.now();
last_value = new_value;
store.set(value = target_value);
return Promise.resolve();
} else if (opts.soft) {
inv_mass_recovery_rate = 1 / ((opts.soft === true ? .5 : +opts.soft) * 60);
inv_mass = 0;
}
if (!task) {
last_time = raf.now();
cancel_task = false;
task = loop((now) => {
if (cancel_task) {
cancel_task = false;
task = null;
return false;
}
inv_mass = Math.min(inv_mass + inv_mass_recovery_rate, 1);
const elapsed = Math.min(now - last_time, 1e3 / 30);
/** @type {TickContext} */
const ctx = {
inv_mass,
opts: spring,
settled: true,
dt: elapsed * 60 / 1e3
};
const next_value = tick_spring(ctx, last_value, value, target_value);
last_time = now;
last_value = value;
store.set(value = next_value);
if (ctx.settled) task = null;
return !ctx.settled;
});
}
return new Promise((fulfil) => {
/** @type {Task} */ task.promise.then(() => {
if (token === current_token) fulfil();
});
});
}
/** @type {SpringStore<T>} */
const spring = {
set,
update: (fn, opts) => set(fn(target_value, value), opts),
subscribe: store.subscribe,
stiffness,
damping,
precision
};
return spring;
}
/**
* A wrapper for a value that behaves in a spring-like fashion. Changes to `spring.target` will cause `spring.current` to
* move towards it over time, taking account of the `spring.stiffness` and `spring.damping` parameters.
*
* ```svelte
* <script>
* import { Spring } from 'svelte/motion';
*
* const spring = new Spring(0);
* <\/script>
*
* <input type="range" bind:value={spring.target} />
* <input type="range" bind:value={spring.current} disabled />
* ```
* @template T
* @since 5.8.0
*/
var Spring = class Spring {
#stiffness = /* @__PURE__ */ state(.15);
#damping = /* @__PURE__ */ state(.8);
#precision = /* @__PURE__ */ state(.01);
#current;
#target;
#last_value = void 0;
#last_time = 0;
#inverse_mass = 1;
#momentum = 0;
/** @type {import('../internal/client/types').Task | null} */
#task = null;
/** @type {ReturnType<typeof deferred> | null} */
#deferred = null;
/**
* @param {T} value
* @param {SpringOptions} [options]
*/
constructor(value, options = {}) {
this.#current = tag(/* @__PURE__ */ state(value), "Spring.current");
this.#target = tag(/* @__PURE__ */ state(value), "Spring.target");
if (typeof options.stiffness === "number") this.#stiffness.v = clamp(options.stiffness, 0, 1);
if (typeof options.damping === "number") this.#damping.v = clamp(options.damping, 0, 1);
if (typeof options.precision === "number") this.#precision.v = options.precision;
tag(this.#stiffness, "Spring.stiffness");
tag(this.#damping, "Spring.damping");
tag(this.#precision, "Spring.precision");
tag(this.#current, "Spring.current");
tag(this.#target, "Spring.target");
}
/**
* Create a spring whose value is bound to the return value of `fn`. This must be called
* inside an effect root (for example, during component initialisation).
*
* ```svelte
* <script>
* import { Spring } from 'svelte/motion';
*
* let { number } = $props();
*
* const spring = Spring.of(() => number);
* <\/script>
* ```
* @template U
* @param {() => U} fn
* @param {SpringOptions} [options]
*/
static of(fn, options) {
const spring = new Spring(fn(), options);
render_effect(() => {
spring.set(fn());
});
return spring;
}
/** @param {T} value */
#update(value) {
set(this.#target, value);
this.#current.v ??= value;
this.#last_value ??= this.#current.v;
if (!this.#task) {
this.#last_time = raf.now();
var inv_mass_recovery_rate = 1e3 / (this.#momentum * 60);
this.#task ??= loop((now) => {
this.#inverse_mass = Math.min(this.#inverse_mass + inv_mass_recovery_rate, 1);
const elapsed = Math.min(now - this.#last_time, 1e3 / 30);
/** @type {import('./private').TickContext} */
const ctx = {
inv_mass: this.#inverse_mass,
opts: {
stiffness: this.#stiffness.v,
damping: this.#damping.v,
precision: this.#precision.v
},
settled: true,
dt: elapsed * 60 / 1e3
};
var next = tick_spring(ctx, this.#last_value, this.#current.v, this.#target.v);
this.#last_value = this.#current.v;
this.#last_time = now;
set(this.#current, next);
if (ctx.settled) this.#task = null;
return !ctx.settled;
});
}
return this.#task.promise;
}
/**
* Sets `spring.target` to `value` and returns a `Promise` that resolves if and when `spring.current` catches up to it.
*
* If `options.instant` is `true`, `spring.current` immediately matches `spring.target`.
*
* If `options.preserveMomentum` is provided, the spring will continue on its current trajectory for
* the specified number of milliseconds. This is useful for things like 'fling' gestures.
*
* @param {T} value
* @param {SpringUpdateOptions} [options]
*/
set(value, options) {
this.#deferred?.reject(/* @__PURE__ */ new Error("Aborted"));
if (options?.instant || this.#current.v === void 0) {
this.#task?.abort();
this.#task = null;
set(this.#current, set(this.#target, value));
this.#last_value = value;
return Promise.resolve();
}
if (options?.preserveMomentum) {
this.#inverse_mass = 0;
this.#momentum = options.preserveMomentum;
}
var d = this.#deferred = deferred();
d.promise.catch(noop);
this.#update(value).then(() => {
if (d !== this.#deferred) return;
d.resolve(void 0);
});
return d.promise;
}
get current() {
return get(this.#current);
}
get damping() {
return get(this.#damping);
}
set damping(v) {
set(this.#damping, clamp(v, 0, 1));
}
get precision() {
return get(this.#precision);
}
set precision(v) {
set(this.#precision, v);
}
get stiffness() {
return get(this.#stiffness);
}
set stiffness(v) {
set(this.#stiffness, clamp(v, 0, 1));
}
get target() {
return get(this.#target);
}
set target(v) {
this.set(v);
}
};
/**
* @param {number} n
* @param {number} min
* @param {number} max
*/
function clamp(n, min, max) {
return Math.max(min, Math.min(max, n));
}
// node_modules/svelte/src/motion/tweened.js
/** @import { Task } from '../internal/client/types' */
/** @import { Tweened, TweenOptions } from './public' */
/**
* @template T
* @param {T} a
* @param {T} b
* @returns {(t: number) => T}
*/
function get_interpolator(a, b) {
if (a === b || a !== a) return () => a;
const type = typeof a;
if (type !== typeof b || Array.isArray(a) !== Array.isArray(b)) throw new Error("Cannot interpolate values of different type");
if (Array.isArray(a)) {
const arr = b.map((bi, i) => {
return get_interpolator(
/** @type {Array<any>} */
a[i],
bi
);
});
return (t) => arr.map((fn) => fn(t));
}
if (type === "object") {
if (!a || !b) throw new Error("Object cannot be null");
if (is_date(a) && is_date(b)) {
const an = a.getTime();
const delta = b.getTime() - an;
return (t) => new Date(an + t * delta);
}
const keys = Object.keys(b);
/** @type {Record<string, (t: number) => T>} */
const interpolators = {};
keys.forEach((key) => {
interpolators[key] = get_interpolator(a[key], b[key]);
});
return (t) => {
/** @type {Record<string, any>} */
const result = {};
keys.forEach((key) => {
result[key] = interpolators[key](t);
});
return result;
};
}
if (type === "number") {
const delta = b - a;
return (t) => a + t * delta;
}
return () => b;
}
/**
* A tweened store in Svelte is a special type of store that provides smooth transitions between state values over time.
*
* @deprecated Use [`Tween`](https://svelte.dev/docs/svelte/svelte-motion#Tween) instead
* @template T
* @param {T} [value]
* @param {TweenOptions<T>} [defaults]
* @returns {Tweened<T>}
*/
function tweened(value, defaults = {}) {
const store = writable(value);
/** @type {Task} */
let task;
let target_value = value;
/**
* @param {T} new_value
* @param {TweenOptions<T>} [opts]
*/
function set(new_value, opts) {
target_value = new_value;
if (value == null) {
store.set(value = new_value);
return Promise.resolve();
}
/** @type {Task | null} */
let previous_task = task;
let started = false;
let { delay = 0, duration = 400, easing = linear, interpolate = get_interpolator } = {
...defaults,
...opts
};
if (duration === 0) {
if (previous_task) {
previous_task.abort();
previous_task = null;
}
store.set(value = target_value);
return Promise.resolve();
}
const start = raf.now() + delay;
/** @type {(t: number) => T} */
let fn;
task = loop((now) => {
if (now < start) return true;
if (!started) {
fn = interpolate(value, new_value);
if (typeof duration === "function") duration = duration(value, new_value);
started = true;
}
if (previous_task) {
previous_task.abort();
previous_task = null;
}
const elapsed = now - start;
if (elapsed > duration) {
store.set(value = new_value);
return false;
}
store.set(value = fn(easing(elapsed / duration)));
return true;
});
return task.promise;
}
return {
set,
update: (fn, opts) => set(fn(target_value, value), opts),
subscribe: store.subscribe
};
}
/**
* A wrapper for a value that tweens smoothly to its target value. Changes to `tween.target` will cause `tween.current` to
* move towards it over time, taking account of the `delay`, `duration` and `easing` options.
*
* ```svelte
* <script>
* import { Tween } from 'svelte/motion';
*
* const tween = new Tween(0);
* <\/script>
*
* <input type="range" bind:value={tween.target} />
* <input type="range" bind:value={tween.current} disabled />
* ```
* @template T
* @since 5.8.0
*/
var Tween = class Tween {
#current;
#target;
/** @type {TweenOptions<T>} */
#defaults;
/** @type {import('../internal/client/types').Task | null} */
#task = null;
/**
* @param {T} value
* @param {TweenOptions<T>} options
*/
constructor(value, options = {}) {
this.#current = /* @__PURE__ */ state(value);
this.#target = /* @__PURE__ */ state(value);
this.#defaults = options;
tag(this.#current, "Tween.current");
tag(this.#target, "Tween.target");
}
/**
* Create a tween whose value is bound to the return value of `fn`. This must be called
* inside an effect root (for example, during component initialisation).
*
* ```svelte
* <script>
* import { Tween } from 'svelte/motion';
*
* let { number } = $props();
*
* const tween = Tween.of(() => number);
* <\/script>
* ```
* @template U
* @param {() => U} fn
* @param {TweenOptions<U>} [options]
*/
static of(fn, options) {
const tween = new Tween(fn(), options);
render_effect(() => {
tween.set(fn());
});
return tween;
}
/**
* Sets `tween.target` to `value` and returns a `Promise` that resolves if and when `tween.current` catches up to it.
*
* If `options` are provided, they will override the tween's defaults.
* @param {T} value
* @param {TweenOptions<T>} [options]
* @returns
*/
set(value, options) {
set(this.#target, value);
let { delay = 0, duration = 400, easing = linear, interpolate = get_interpolator } = {
...this.#defaults,
...options
};
if (duration === 0) {
this.#task?.abort();
set(this.#current, value);
return Promise.resolve();
}
const start = raf.now() + delay;
/** @type {(t: number) => T} */
let fn;
let started = false;
let previous_task = this.#task;
this.#task = loop((now) => {
if (now < start) return true;
if (!started) {
started = true;
const prev = this.#current.v;
fn = interpolate(prev, value);
if (typeof duration === "function") duration = duration(prev, value);
previous_task?.abort();
previous_task = null;
}
const elapsed = now - start;
if (elapsed > duration) {
set(this.#current, value);
return false;
}
set(this.#current, fn(easing(elapsed / duration)));
return true;
});
return this.#task.promise;
}
get current() {
return get(this.#current);
}
get target() {
return get(this.#target);
}
set target(v) {
this.set(v);
}
};
// node_modules/svelte/src/motion/index.js
/**
* A [media query](https://svelte.dev/docs/svelte/svelte-reactivity#MediaQuery) that matches if the user [prefers reduced motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion).
*
* ```svelte
* <script>
* import { prefersReducedMotion } from 'svelte/motion';
* import { fly } from 'svelte/transition';
*
* let visible = $state(false);
* <\/script>
*
* <button onclick={() => visible = !visible}>
* toggle
* </button>
*
* {#if visible}
* <p transition:fly={{ y: prefersReducedMotion.current ? 0 : 200 }}>
* flies in, unless the user prefers reduced motion
* </p>
* {/if}
* ```
* @type {MediaQuery}
* @since 5.7.0
*/
var prefersReducedMotion = /*@__PURE__*/ new MediaQuery("(prefers-reduced-motion: reduce)");
export { Spring, Tween, prefersReducedMotion, spring, tweened };

1
node_modules/.vite/deps_ssr/svelte_motion.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

23
node_modules/.vite/deps_ssr/svelte_reactivity.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
// node_modules/svelte/src/reactivity/index-server.js
var SvelteDate = globalThis.Date;
var SvelteSet = globalThis.Set;
var SvelteMap = globalThis.Map;
var SvelteURL = globalThis.URL;
var SvelteURLSearchParams = globalThis.URLSearchParams;
var MediaQuery = class {
current;
/**
* @param {string} query
* @param {boolean} [matches]
*/
constructor(query, matches = false) {
this.current = matches;
}
};
/**
* @param {any} _
*/
function createSubscriber(_) {
return () => {};
}
export { MediaQuery, SvelteDate, SvelteMap, SvelteSet, SvelteURL, SvelteURLSearchParams, createSubscriber };

1
node_modules/.vite/deps_ssr/svelte_reactivity.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_reactivity.js","names":[],"sources":["../../svelte/src/reactivity/index-server.js"],"sourcesContent":["export const SvelteDate = globalThis.Date;\nexport const SvelteSet = globalThis.Set;\nexport const SvelteMap = globalThis.Map;\nexport const SvelteURL = globalThis.URL;\nexport const SvelteURLSearchParams = globalThis.URLSearchParams;\n\nexport class MediaQuery {\n\tcurrent;\n\t/**\n\t * @param {string} query\n\t * @param {boolean} [matches]\n\t */\n\tconstructor(query, matches = false) {\n\t\tthis.current = matches;\n\t}\n}\n\n/**\n * @param {any} _\n */\nexport function createSubscriber(_) {\n\treturn () => {};\n}\n"],"mappings":";AAAA,IAAa,aAAa,WAAW;AACrC,IAAa,YAAY,WAAW;AACpC,IAAa,YAAY,WAAW;AACpC,IAAa,YAAY,WAAW;AACpC,IAAa,wBAAwB,WAAW;AAEhD,IAAa,aAAb,MAAwB;CACvB;;;;;CAKA,YAAY,OAAO,UAAU,OAAO;EACnC,KAAK,UAAU;CAChB;AACD;;;;AAKA,SAAgB,iBAAiB,GAAG;CACnC,aAAa,CAAC;AACf"}

121
node_modules/.vite/deps_ssr/svelte_reactivity_window.js generated vendored Normal file
View File

@@ -0,0 +1,121 @@
import "./svelte_events.js";
import { m as createSubscriber } from "./legacy-client-DTuKEjQw.js";
import { c as on } from "./events-ChFSpzmg.js";
import "./attachments-C3vJBgrq.js";
import { Qt as tag, a as get, lt as set, ut as source } from "./runtime-DInTlc-h.js";
// node_modules/svelte/src/reactivity/reactive-value.js
/**
* @template T
*/
var ReactiveValue = class {
#fn;
#subscribe;
/**
*
* @param {() => T} fn
* @param {(update: () => void) => void} onsubscribe
*/
constructor(fn, onsubscribe) {
this.#fn = fn;
this.#subscribe = createSubscriber(onsubscribe);
}
get current() {
this.#subscribe();
return this.#fn();
}
};
// node_modules/svelte/src/reactivity/window/index.js
/**
* `scrollX.current` is a reactive view of `window.scrollX`. On the server it is `undefined`.
* @since 5.11.0
*/
var scrollX = new ReactiveValue(() => void 0, (update) => on(window, "scroll", update));
/**
* `scrollY.current` is a reactive view of `window.scrollY`. On the server it is `undefined`.
* @since 5.11.0
*/
var scrollY = new ReactiveValue(() => void 0, (update) => on(window, "scroll", update));
/**
* `innerWidth.current` is a reactive view of `window.innerWidth`. On the server it is `undefined`.
* @since 5.11.0
*/
var innerWidth = new ReactiveValue(() => void 0, (update) => on(window, "resize", update));
/**
* `innerHeight.current` is a reactive view of `window.innerHeight`. On the server it is `undefined`.
* @since 5.11.0
*/
var innerHeight = new ReactiveValue(() => void 0, (update) => on(window, "resize", update));
/**
* `outerWidth.current` is a reactive view of `window.outerWidth`. On the server it is `undefined`.
* @since 5.11.0
*/
var outerWidth = new ReactiveValue(() => void 0, (update) => on(window, "resize", update));
/**
* `outerHeight.current` is a reactive view of `window.outerHeight`. On the server it is `undefined`.
* @since 5.11.0
*/
var outerHeight = new ReactiveValue(() => void 0, (update) => on(window, "resize", update));
/**
* `screenLeft.current` is a reactive view of `window.screenLeft`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.
* @since 5.11.0
*/
var screenLeft = new ReactiveValue(() => void 0, (update) => {
let value = window.screenLeft;
let frame = requestAnimationFrame(function check() {
frame = requestAnimationFrame(check);
if (value !== (value = window.screenLeft)) update();
});
return () => {
cancelAnimationFrame(frame);
};
});
/**
* `screenTop.current` is a reactive view of `window.screenTop`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.
* @since 5.11.0
*/
var screenTop = new ReactiveValue(() => void 0, (update) => {
let value = window.screenTop;
let frame = requestAnimationFrame(function check() {
frame = requestAnimationFrame(check);
if (value !== (value = window.screenTop)) update();
});
return () => {
cancelAnimationFrame(frame);
};
});
/**
* `online.current` is a reactive view of `navigator.onLine`. On the server it is `undefined`.
* @since 5.11.0
*/
var online = new ReactiveValue(() => void 0, (update) => {
const unsub_online = on(window, "online", update);
const unsub_offline = on(window, "offline", update);
return () => {
unsub_online();
unsub_offline();
};
});
/**
* `devicePixelRatio.current` is a reactive view of `window.devicePixelRatio`. On the server it is `undefined`.
* Note that behaviour differs between browsers — on Chrome it will respond to the current zoom level,
* on Firefox and Safari it won't.
* @type {{ get current(): number | undefined }}
* @since 5.11.0
*/
var devicePixelRatio = /* @__PURE__ */ new class DevicePixelRatio {
#dpr = source(void 0);
#update() {
const off = on(window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`), "change", () => {
set(this.#dpr, window.devicePixelRatio);
off();
this.#update();
});
}
constructor() {
tag(this.#dpr, "window.devicePixelRatio");
}
get current() {
get(this.#dpr);
}
}();
export { devicePixelRatio, innerHeight, innerWidth, online, outerHeight, outerWidth, screenLeft, screenTop, scrollX, scrollY };

File diff suppressed because one or more lines are too long

1
node_modules/.vite/deps_ssr/svelte_server.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export { v as render } from "./dev-uPqstlKb.js";

88
node_modules/.vite/deps_ssr/svelte_store.js generated vendored Normal file
View File

@@ -0,0 +1,88 @@
import { a as writable, i as readonly, n as get, r as readable, t as derived } from "./shared-Clug2-tp.js";
// node_modules/svelte/src/store/index-server.js
/** @import { Readable, Writable } from './public.js' */
/**
* @template V
* @overload
* @param {() => V} get
* @param {(v: V) => void} set
* @returns {Writable<V>}
*/
/**
* @template V
* @overload
* @param {() => V} get
* @returns {Readable<V>}
*/
/**
* Create a store from a function that returns state, and (to make a writable store), an
* optional second function that sets state.
*
* ```ts
* import { toStore } from 'svelte/store';
*
* let count = $state(0);
*
* const store = toStore(() => count, (v) => (count = v));
* ```
* @template V
* @param {() => V} get
* @param {(v: V) => void} [set]
* @returns {Writable<V> | Readable<V>}
*/
function toStore(get, set) {
const store = writable(get());
if (set) return {
set,
update: (fn) => set(fn(get())),
subscribe: store.subscribe
};
return { subscribe: store.subscribe };
}
/**
* @template V
* @overload
* @param {Writable<V>} store
* @returns {{ current: V }}
*/
/**
* @template V
* @overload
* @param {Readable<V>} store
* @returns {{ readonly current: V }}
*/
/**
* Convert a store to an object with a reactive `current` property. If `store`
* is a readable store, `current` will be a readonly property.
*
* ```ts
* import { fromStore, get, writable } from 'svelte/store';
*
* const store = writable(0);
*
* const count = fromStore(store);
*
* count.current; // 0;
* store.set(1);
* count.current; // 1
*
* count.current += 1;
* get(store); // 2
* ```
* @template V
* @param {Writable<V> | Readable<V>} store
*/
function fromStore(store) {
if ("set" in store) return {
get current() {
return get(store);
},
set current(v) {
store.set(v);
}
};
return { get current() {
return get(store);
} };
}
export { derived, fromStore, get, readable, readonly, toStore, writable };

1
node_modules/.vite/deps_ssr/svelte_store.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"svelte_store.js","names":[],"sources":["../../svelte/src/store/index-server.js"],"sourcesContent":["/** @import { Readable, Writable } from './public.js' */\nimport { get, writable } from './shared/index.js';\n\nexport { derived, get, readable, readonly, writable } from './shared/index.js';\n\n/**\n * @template V\n * @overload\n * @param {() => V} get\n * @param {(v: V) => void} set\n * @returns {Writable<V>}\n */\n/**\n * @template V\n * @overload\n * @param {() => V} get\n * @returns {Readable<V>}\n */\n/**\n * Create a store from a function that returns state, and (to make a writable store), an\n * optional second function that sets state.\n *\n * ```ts\n * import { toStore } from 'svelte/store';\n *\n * let count = $state(0);\n *\n * const store = toStore(() => count, (v) => (count = v));\n * ```\n * @template V\n * @param {() => V} get\n * @param {(v: V) => void} [set]\n * @returns {Writable<V> | Readable<V>}\n */\nexport function toStore(get, set) {\n\tconst store = writable(get());\n\n\tif (set) {\n\t\treturn {\n\t\t\tset,\n\t\t\tupdate: (fn) => set(fn(get())),\n\t\t\tsubscribe: store.subscribe\n\t\t};\n\t}\n\n\treturn {\n\t\tsubscribe: store.subscribe\n\t};\n}\n\n/**\n * @template V\n * @overload\n * @param {Writable<V>} store\n * @returns {{ current: V }}\n */\n/**\n * @template V\n * @overload\n * @param {Readable<V>} store\n * @returns {{ readonly current: V }}\n */\n/**\n * Convert a store to an object with a reactive `current` property. If `store`\n * is a readable store, `current` will be a readonly property.\n *\n * ```ts\n * import { fromStore, get, writable } from 'svelte/store';\n *\n * const store = writable(0);\n *\n * const count = fromStore(store);\n *\n * count.current; // 0;\n * store.set(1);\n * count.current; // 1\n *\n * count.current += 1;\n * get(store); // 2\n * ```\n * @template V\n * @param {Writable<V> | Readable<V>} store\n */\nexport function fromStore(store) {\n\tif ('set' in store) {\n\t\treturn {\n\t\t\tget current() {\n\t\t\t\treturn get(store);\n\t\t\t},\n\t\t\tset current(v) {\n\t\t\t\tstore.set(v);\n\t\t\t}\n\t\t};\n\t}\n\n\treturn {\n\t\tget current() {\n\t\t\treturn get(store);\n\t\t}\n\t};\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,SAAgB,QAAQ,KAAK,KAAK;CACjC,MAAM,QAAQ,SAAS,IAAI,CAAC;CAE5B,IAAI,KACH,OAAO;EACN;EACA,SAAS,OAAO,IAAI,GAAG,IAAI,CAAC,CAAC;EAC7B,WAAW,MAAM;CAClB;CAGD,OAAO,EACN,WAAW,MAAM,UAClB;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,SAAgB,UAAU,OAAO;CAChC,IAAI,SAAS,OACZ,OAAO;EACN,IAAI,UAAU;GACb,OAAO,IAAI,KAAK;EACjB;EACA,IAAI,QAAQ,GAAG;GACd,MAAM,IAAI,CAAC;EACZ;CACD;CAGD,OAAO,EACN,IAAI,UAAU;EACb,OAAO,IAAI,KAAK;CACjB,EACD;AACD"}

250
node_modules/.vite/deps_ssr/svelte_transition.js generated vendored Normal file
View File

@@ -0,0 +1,250 @@
import { _ as transition_slide_display } from "./warnings-CI-8FXsK.js";
// node_modules/svelte/src/transition/index.js
/** @import { BlurParams, CrossfadeParams, DrawParams, FadeParams, FlyParams, ScaleParams, SlideParams, TransitionConfig } from './public' */
/** @param {number} x */
var linear = (x) => x;
/** @param {number} t */
function cubic_out(t) {
const f = t - 1;
return f * f * f + 1;
}
/**
* @param {number} t
* @returns {number}
*/
function cubic_in_out(t) {
return t < .5 ? 4 * t * t * t : .5 * Math.pow(2 * t - 2, 3) + 1;
}
/** @param {number | string} value
* @returns {[number, string]}
*/
function split_css_unit(value) {
const split = typeof value === "string" && value.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
return split ? [parseFloat(split[1]), split[2] || "px"] : [value, "px"];
}
/**
* Omits unresolved dimensions rather than passing invalid values to Web Animations.
*
* @param {string} property
* @param {number} value
* @param {number} t
*/
function css_dimension(property, value, t) {
return Number.isNaN(value) ? "" : `${property}: ${t * value}px;`;
}
/**
* Animates a `blur` filter alongside an element's opacity.
*
* @param {Element} node
* @param {BlurParams} [params]
* @returns {TransitionConfig}
*/
function blur(node, { delay = 0, duration = 400, easing = cubic_in_out, amount = 5, opacity = 0 } = {}) {
const style = getComputedStyle(node);
const target_opacity = +style.opacity;
const f = style.filter === "none" ? "" : style.filter;
const od = target_opacity * (1 - opacity);
const [value, unit] = split_css_unit(amount);
return {
delay,
duration,
easing,
css: (_t, u) => `opacity: ${target_opacity - od * u}; filter: ${f} blur(${u * value}${unit});`
};
}
/**
* Animates the opacity of an element from 0 to the current opacity for `in` transitions and from the current opacity to 0 for `out` transitions.
*
* @param {Element} node
* @param {FadeParams} [params]
* @returns {TransitionConfig}
*/
function fade(node, { delay = 0, duration = 400, easing = linear } = {}) {
const o = +getComputedStyle(node).opacity;
return {
delay,
duration,
easing,
css: (t) => `opacity: ${t * o}`
};
}
/**
* Animates the x and y positions and the opacity of an element. `in` transitions animate from the provided values, passed as parameters to the element's default values. `out` transitions animate from the element's default values to the provided values.
*
* @param {Element} node
* @param {FlyParams} [params]
* @returns {TransitionConfig}
*/
function fly(node, { delay = 0, duration = 400, easing = cubic_out, x = 0, y = 0, opacity = 0 } = {}) {
const style = getComputedStyle(node);
const target_opacity = +style.opacity;
const transform = style.transform === "none" ? "" : style.transform;
const od = target_opacity * (1 - opacity);
const [x_value, x_unit] = split_css_unit(x);
const [y_value, y_unit] = split_css_unit(y);
return {
delay,
duration,
easing,
css: (t, u) => `
transform: ${transform} translate(${(1 - t) * x_value}${x_unit}, ${(1 - t) * y_value}${y_unit});
opacity: ${target_opacity - od * u}`
};
}
var slide_warning = false;
/**
* Slides an element in and out.
*
* @param {Element} node
* @param {SlideParams} [params]
* @returns {TransitionConfig}
*/
function slide(node, { delay = 0, duration = 400, easing = cubic_out, axis = "y" } = {}) {
const style = getComputedStyle(node);
if (!slide_warning && /(contents|inline|table)/.test(style.display)) {
slide_warning = true;
Promise.resolve().then(() => slide_warning = false);
transition_slide_display(style.display);
}
const opacity = +style.opacity;
const primary_property = axis === "y" ? "height" : "width";
const primary_property_value = parseFloat(style[primary_property]);
const secondary_properties = axis === "y" ? ["top", "bottom"] : ["left", "right"];
const capitalized_secondary_properties = secondary_properties.map((e) => `${e[0].toUpperCase()}${e.slice(1)}`);
const padding_start_value = parseFloat(style[`padding${capitalized_secondary_properties[0]}`]);
const padding_end_value = parseFloat(style[`padding${capitalized_secondary_properties[1]}`]);
const margin_start_value = parseFloat(style[`margin${capitalized_secondary_properties[0]}`]);
const margin_end_value = parseFloat(style[`margin${capitalized_secondary_properties[1]}`]);
const border_width_start_value = parseFloat(style[`border${capitalized_secondary_properties[0]}Width`]);
const border_width_end_value = parseFloat(style[`border${capitalized_secondary_properties[1]}Width`]);
return {
delay,
duration,
easing,
css: (t) => `overflow: hidden;opacity: ${Math.min(t * 20, 1) * opacity};` + css_dimension(primary_property, primary_property_value, t) + css_dimension(`padding-${secondary_properties[0]}`, padding_start_value, t) + css_dimension(`padding-${secondary_properties[1]}`, padding_end_value, t) + css_dimension(`margin-${secondary_properties[0]}`, margin_start_value, t) + css_dimension(`margin-${secondary_properties[1]}`, margin_end_value, t) + css_dimension(`border-${secondary_properties[0]}-width`, border_width_start_value, t) + css_dimension(`border-${secondary_properties[1]}-width`, border_width_end_value, t) + `min-${primary_property}: 0`
};
}
/**
* Animates the opacity and scale of an element. `in` transitions animate from the provided values, passed as parameters, to an element's current (default) values. `out` transitions animate from an element's default values to the provided values.
*
* @param {Element} node
* @param {ScaleParams} [params]
* @returns {TransitionConfig}
*/
function scale(node, { delay = 0, duration = 400, easing = cubic_out, start = 0, opacity = 0 } = {}) {
const style = getComputedStyle(node);
const target_opacity = +style.opacity;
const transform = style.transform === "none" ? "" : style.transform;
const sd = 1 - start;
const od = target_opacity * (1 - opacity);
return {
delay,
duration,
easing,
css: (_t, u) => `
transform: ${transform} scale(${1 - sd * u});
opacity: ${target_opacity - od * u}
`
};
}
/**
* Animates the stroke of an SVG element, like a snake in a tube. `in` transitions begin with the path invisible and draw the path to the screen over time. `out` transitions start in a visible state and gradually erase the path. `draw` only works with elements that have a `getTotalLength` method, like `<path>` and `<polyline>`.
*
* @param {SVGElement & { getTotalLength(): number }} node
* @param {DrawParams} [params]
* @returns {TransitionConfig}
*/
function draw(node, { delay = 0, speed, duration, easing = cubic_in_out } = {}) {
let len = node.getTotalLength();
const style = getComputedStyle(node);
if (style.strokeLinecap !== "butt") len += parseInt(style.strokeWidth);
if (duration === void 0) {
if (speed === void 0) duration = 800;
else duration = len / speed;
} else if (typeof duration === "function") duration = duration(len);
return {
delay,
duration,
easing,
css: (_, u) => `
stroke-dasharray: ${len};
stroke-dashoffset: ${u * len};
`
};
}
/**
* @template T
* @template S
* @param {T} tar
* @param {S} src
* @returns {T & S}
*/
function assign(tar, src) {
for (const k in src) tar[k] = src[k];
return tar;
}
/**
* The `crossfade` function creates a pair of [transitions](https://svelte.dev/docs/svelte/transition) called `send` and `receive`. When an element is 'sent', it looks for a corresponding element being 'received', and generates a transition that transforms the element to its counterpart's position and fades it out. When an element is 'received', the reverse happens. If there is no counterpart, the `fallback` transition is used.
*
* @param {CrossfadeParams & {
* fallback?: (node: Element, params: CrossfadeParams, intro: boolean) => TransitionConfig;
* }} params
* @returns {[(node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig, (node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig]}
*/
function crossfade({ fallback, ...defaults }) {
/** @type {Map<any, Element>} */
const to_receive = /* @__PURE__ */ new Map();
/** @type {Map<any, Element>} */
const to_send = /* @__PURE__ */ new Map();
/**
* @param {Element} from_node
* @param {Element} node
* @param {CrossfadeParams} params
* @returns {TransitionConfig}
*/
function crossfade(from_node, node, params) {
const { delay = 0, duration = (d) => Math.sqrt(d) * 30, easing = cubic_out } = assign(assign({}, defaults), params);
const from = from_node.getBoundingClientRect();
const to = node.getBoundingClientRect();
const dx = from.left - to.left;
const dy = from.top - to.top;
const dw = from.width / to.width;
const dh = from.height / to.height;
const d = Math.sqrt(dx * dx + dy * dy);
const style = getComputedStyle(node);
const transform = style.transform === "none" ? "" : style.transform;
const opacity = +style.opacity;
return {
delay,
duration: typeof duration === "function" ? duration(d) : duration,
easing,
css: (t, u) => `
opacity: ${t * opacity};
transform-origin: top left;
transform: ${transform} translate(${u * dx}px,${u * dy}px) scale(${t + (1 - t) * dw}, ${t + (1 - t) * dh});
`
};
}
/**
* @param {Map<any, Element>} items
* @param {Map<any, Element>} counterparts
* @param {boolean} intro
* @returns {(node: any, params: CrossfadeParams & { key: any; }) => () => TransitionConfig}
*/
function transition(items, counterparts, intro) {
return (node, params) => {
items.set(params.key, node);
return () => {
if (counterparts.has(params.key)) {
const other_node = counterparts.get(params.key);
counterparts.delete(params.key);
return crossfade(other_node, node, params);
}
items.delete(params.key);
return fallback && fallback(node, params, intro);
};
};
}
return [transition(to_send, to_receive, false), transition(to_receive, to_send, true)];
}
export { blur, crossfade, draw, fade, fly, scale, slide };

1
node_modules/.vite/deps_ssr/svelte_transition.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

20
node_modules/.vite/deps_ssr/utils-B9o6NEeQ.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { ar as noop, d as untrack } from "./runtime-DInTlc-h.js";
// node_modules/svelte/src/store/utils.js
/** @import { Readable } from './public' */
/**
* @template T
* @param {Readable<T> | null | undefined} store
* @param {(value: T) => void} run
* @param {(value: T) => void} [invalidate]
* @returns {() => void}
*/
function subscribe_to_store(store, run, invalidate) {
if (store == null) {
run(void 0);
if (invalidate) invalidate(void 0);
return noop;
}
const unsub = untrack(() => store.subscribe(run, invalidate));
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
}
export { subscribe_to_store as t };

1
node_modules/.vite/deps_ssr/utils-B9o6NEeQ.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"utils-B9o6NEeQ.js","names":[],"sources":["../../svelte/src/store/utils.js"],"sourcesContent":["/** @import { Readable } from './public' */\nimport { untrack } from '../internal/client/runtime.js';\nimport { noop } from '../internal/shared/utils.js';\n\n/**\n * @template T\n * @param {Readable<T> | null | undefined} store\n * @param {(value: T) => void} run\n * @param {(value: T) => void} [invalidate]\n * @returns {() => void}\n */\nexport function subscribe_to_store(store, run, invalidate) {\n\tif (store == null) {\n\t\t// @ts-expect-error\n\t\trun(undefined);\n\n\t\t// @ts-expect-error\n\t\tif (invalidate) invalidate(undefined);\n\n\t\treturn noop;\n\t}\n\n\t// Svelte store takes a private second argument\n\t// StartStopNotifier could mutate state, and we want to silence the corresponding validation error\n\tconst unsub = untrack(() =>\n\t\tstore.subscribe(\n\t\t\trun,\n\t\t\t// @ts-expect-error\n\t\t\tinvalidate\n\t\t)\n\t);\n\n\t// Also support RxJS\n\t// @ts-expect-error TODO fix this in the types?\n\treturn unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\n"],"mappings":";;;;;;;;;;AAWA,SAAgB,mBAAmB,OAAO,KAAK,YAAY;CAC1D,IAAI,SAAS,MAAM;EAElB,IAAI,KAAA,CAAS;EAGb,IAAI,YAAY,WAAW,KAAA,CAAS;EAEpC,OAAO;CACR;CAIA,MAAM,QAAQ,cACb,MAAM,UACL,KAEA,UACD,CACD;CAIA,OAAO,MAAM,oBAAoB,MAAM,YAAY,IAAI;AACxD"}

493
node_modules/.vite/deps_ssr/utils-BWzPBw9Y.js generated vendored Normal file
View File

@@ -0,0 +1,493 @@
// node_modules/svelte/src/escaping.js
var ATTR_REGEX = /[&"<]/g;
var CONTENT_REGEX = /[&<]/g;
/**
* @template V
* @param {V} value
* @param {boolean} [is_attr]
*/
function escape_html(value, is_attr) {
const str = String(value ?? "");
const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
pattern.lastIndex = 0;
let escaped = "";
let last = 0;
while (pattern.test(str)) {
const i = pattern.lastIndex - 1;
const ch = str[i];
escaped += str.substring(last, i) + (ch === "&" ? "&amp;" : ch === "\"" ? "&quot;" : "&lt;");
last = i + 1;
}
return escaped + str.substring(last);
}
// node_modules/svelte/src/utils.js
var regex_return_characters = /\r/g;
/**
* @param {string} str
* @returns {string}
*/
function hash(str) {
str = str.replace(regex_return_characters, "");
let hash = 5381;
let i = str.length;
while (i--) hash = (hash << 5) - hash ^ str.charCodeAt(i);
return (hash >>> 0).toString(36);
}
var VOID_ELEMENT_NAMES = [
"area",
"base",
"br",
"col",
"command",
"embed",
"hr",
"img",
"input",
"keygen",
"link",
"meta",
"param",
"source",
"track",
"wbr"
];
/**
* Returns `true` if `name` is of a void element
* @param {string} name
*/
function is_void(name) {
return VOID_ELEMENT_NAMES.includes(name) || name.toLowerCase() === "!doctype";
}
var RESERVED_WORDS = [
"arguments",
"await",
"break",
"case",
"catch",
"class",
"const",
"continue",
"debugger",
"default",
"delete",
"do",
"else",
"enum",
"eval",
"export",
"extends",
"false",
"finally",
"for",
"function",
"if",
"implements",
"import",
"in",
"instanceof",
"interface",
"let",
"new",
"null",
"package",
"private",
"protected",
"public",
"return",
"static",
"super",
"switch",
"this",
"throw",
"true",
"try",
"typeof",
"var",
"void",
"while",
"with",
"yield"
];
/**
* Returns `true` if `word` is a reserved JavaScript keyword
* @param {string} word
*/
function is_reserved(word) {
return RESERVED_WORDS.includes(word);
}
/**
* @param {string} name
*/
function is_capture_event(name) {
return name.endsWith("capture") && name !== "gotpointercapture" && name !== "lostpointercapture";
}
/** List of Element events that will be delegated */
var DELEGATED_EVENTS = [
"beforeinput",
"click",
"change",
"dblclick",
"contextmenu",
"focusin",
"focusout",
"input",
"keydown",
"keyup",
"mousedown",
"mousemove",
"mouseout",
"mouseover",
"mouseup",
"pointerdown",
"pointermove",
"pointerout",
"pointerover",
"pointerup",
"touchend",
"touchmove",
"touchstart"
];
/**
* Returns `true` if `event_name` is a delegated event
* @param {string} event_name
*/
function can_delegate_event(event_name) {
return DELEGATED_EVENTS.includes(event_name);
}
/**
* Attributes that are boolean, i.e. they are present or not present.
*/
var DOM_BOOLEAN_ATTRIBUTES = [
"allowfullscreen",
"async",
"autofocus",
"autoplay",
"checked",
"controls",
"default",
"disabled",
"formnovalidate",
"indeterminate",
"inert",
"ismap",
"loop",
"multiple",
"muted",
"nomodule",
"novalidate",
"open",
"playsinline",
"readonly",
"required",
"reversed",
"seamless",
"selected",
"webkitdirectory",
"defer",
"disablepictureinpicture",
"disableremoteplayback"
];
/**
* Returns `true` if `name` is a boolean attribute
* @param {string} name
*/
function is_boolean_attribute(name) {
return DOM_BOOLEAN_ATTRIBUTES.includes(name);
}
/**
* @type {Record<string, string>}
* List of attribute names that should be aliased to their property names
* because they behave differently between setting them as an attribute and
* setting them as a property.
*/
var ATTRIBUTE_ALIASES = {
formnovalidate: "formNoValidate",
ismap: "isMap",
nomodule: "noModule",
playsinline: "playsInline",
readonly: "readOnly",
defaultvalue: "defaultValue",
defaultchecked: "defaultChecked",
srcobject: "srcObject",
novalidate: "noValidate",
allowfullscreen: "allowFullscreen",
disablepictureinpicture: "disablePictureInPicture",
disableremoteplayback: "disableRemotePlayback"
};
/**
* @param {string} name
*/
function normalize_attribute(name) {
name = name.toLowerCase();
return ATTRIBUTE_ALIASES[name] ?? name;
}
var DOM_PROPERTIES = [
...DOM_BOOLEAN_ATTRIBUTES,
"formNoValidate",
"isMap",
"noModule",
"playsInline",
"readOnly",
"value",
"volume",
"defaultValue",
"defaultChecked",
"srcObject",
"noValidate",
"allowFullscreen",
"disablePictureInPicture",
"disableRemotePlayback"
];
/**
* @param {string} name
*/
function is_dom_property(name) {
return DOM_PROPERTIES.includes(name);
}
var NON_STATIC_PROPERTIES = [
"autofocus",
"muted",
"defaultValue",
"defaultChecked"
];
/**
* Returns `true` if the given attribute cannot be set through the template
* string, i.e. needs some kind of JavaScript handling to work.
* @param {string} name
*/
function cannot_be_set_statically(name) {
return NON_STATIC_PROPERTIES.includes(name);
}
/**
* Subset of delegated events which should be passive by default.
* These two are already passive via browser defaults on window, document and body.
* But since
* - we're delegating them
* - they happen often
* - they apply to mobile which is generally less performant
* we're marking them as passive by default for other elements, too.
*/
var PASSIVE_EVENTS = ["touchstart", "touchmove"];
/**
* Returns `true` if `name` is a passive event
* @param {string} name
*/
function is_passive_event(name) {
return PASSIVE_EVENTS.includes(name);
}
var CONTENT_EDITABLE_BINDINGS = [
"textContent",
"innerHTML",
"innerText"
];
/** @param {string} name */
function is_content_editable_binding(name) {
return CONTENT_EDITABLE_BINDINGS.includes(name);
}
var LOAD_ERROR_ELEMENTS = [
"body",
"embed",
"iframe",
"img",
"link",
"object",
"script",
"style",
"track"
];
/**
* Returns `true` if the element emits `load` and `error` events
* @param {string} name
*/
function is_load_error_element(name) {
return LOAD_ERROR_ELEMENTS.includes(name);
}
var SVG_ELEMENTS = [
"altGlyph",
"altGlyphDef",
"altGlyphItem",
"animate",
"animateColor",
"animateMotion",
"animateTransform",
"circle",
"clipPath",
"color-profile",
"cursor",
"defs",
"desc",
"discard",
"ellipse",
"feBlend",
"feColorMatrix",
"feComponentTransfer",
"feComposite",
"feConvolveMatrix",
"feDiffuseLighting",
"feDisplacementMap",
"feDistantLight",
"feDropShadow",
"feFlood",
"feFuncA",
"feFuncB",
"feFuncG",
"feFuncR",
"feGaussianBlur",
"feImage",
"feMerge",
"feMergeNode",
"feMorphology",
"feOffset",
"fePointLight",
"feSpecularLighting",
"feSpotLight",
"feTile",
"feTurbulence",
"filter",
"font",
"font-face",
"font-face-format",
"font-face-name",
"font-face-src",
"font-face-uri",
"foreignObject",
"g",
"glyph",
"glyphRef",
"hatch",
"hatchpath",
"hkern",
"image",
"line",
"linearGradient",
"marker",
"mask",
"mesh",
"meshgradient",
"meshpatch",
"meshrow",
"metadata",
"missing-glyph",
"mpath",
"path",
"pattern",
"polygon",
"polyline",
"radialGradient",
"rect",
"set",
"solidcolor",
"stop",
"svg",
"switch",
"symbol",
"text",
"textPath",
"tref",
"tspan",
"unknown",
"use",
"view",
"vkern"
];
/** @param {string} name */
function is_svg(name) {
return SVG_ELEMENTS.includes(name);
}
var MATHML_ELEMENTS = [
"annotation",
"annotation-xml",
"maction",
"math",
"merror",
"mfrac",
"mi",
"mmultiscripts",
"mn",
"mo",
"mover",
"mpadded",
"mphantom",
"mprescripts",
"mroot",
"mrow",
"ms",
"mspace",
"msqrt",
"mstyle",
"msub",
"msubsup",
"msup",
"mtable",
"mtd",
"mtext",
"mtr",
"munder",
"munderover",
"semantics"
];
/** @param {string} name */
function is_mathml(name) {
return MATHML_ELEMENTS.includes(name);
}
var STATE_CREATION_RUNES = [
"$state",
"$state.raw",
"$derived",
"$derived.by"
];
var RUNES = [
...STATE_CREATION_RUNES,
"$state.eager",
"$state.snapshot",
"$props",
"$props.id",
"$bindable",
"$effect",
"$effect.pre",
"$effect.tracking",
"$effect.root",
"$effect.pending",
"$inspect",
"$inspect().with",
"$inspect.trace",
"$host"
];
/** @typedef {typeof RUNES[number]} RuneName */
/**
* @param {string} name
* @returns {name is RuneName}
*/
function is_rune(name) {
return RUNES.includes(name);
}
/** @typedef {typeof STATE_CREATION_RUNES[number]} StateCreationRuneName */
/**
* @param {string} name
* @returns {name is StateCreationRuneName}
*/
function is_state_creation_rune(name) {
return STATE_CREATION_RUNES.includes(name);
}
/** List of elements that require raw contents and should not have SSR comments put in them */
var RAW_TEXT_ELEMENTS = [
"textarea",
"script",
"style",
"title"
];
/** @param {string} name */
function is_raw_text_element(name) {
return RAW_TEXT_ELEMENTS.includes(name);
}
var REGEX_VALID_TAG_NAME = /^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*)?$/u;
/**
* Prevent devtools trying to make `location` a clickable link by inserting a zero-width space
* @template {string | undefined} T
* @param {T} location
* @returns {T};
*/
function sanitize_location(location) {
return location?.replace(/\//g, "/​");
}
export { is_void as _, is_boolean_attribute as a, escape_html as b, is_dom_property as c, is_passive_event as d, is_raw_text_element as f, is_svg as g, is_state_creation_rune as h, hash as i, is_load_error_element as l, is_rune as m, can_delegate_event as n, is_capture_event as o, is_reserved as p, cannot_be_set_statically as r, is_content_editable_binding as s, REGEX_VALID_TAG_NAME as t, is_mathml as u, normalize_attribute as v, sanitize_location as y };

1
node_modules/.vite/deps_ssr/utils-BWzPBw9Y.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

187
node_modules/.vite/deps_ssr/validate-EWwS2w2A.js generated vendored Normal file
View File

@@ -0,0 +1,187 @@
import { _r as store_invalid_shape, gr as snippet_without_render_tag, nn as dynamic_void_element_content, tr as has_own_property, vr as svelte_element_invalid_this_value } from "./runtime-DInTlc-h.js";
import { _ as is_void, b as escape_html } from "./utils-BWzPBw9Y.js";
// node_modules/clsx/dist/clsx.mjs
function r(e) {
var t, f, n = "";
if ("string" == typeof e || "number" == typeof e) n += e;
else if ("object" == typeof e) if (Array.isArray(e)) {
var o = e.length;
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
} else for (f in e) e[f] && (n && (n += " "), n += f);
return n;
}
function clsx$1() {
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
return n;
}
// node_modules/svelte/src/internal/shared/attributes.js
/**
* `<div translate={false}>` should be rendered as `<div translate="no">` and _not_
* `<div translate="false">`, which is equivalent to `<div translate="yes">`. There
* may be other odd cases that need to be added to this list in future
* @type {Record<string, Map<any, string>>}
*/
var replacements = { translate: /* @__PURE__ */ new Map([[true, "yes"], [false, "no"]]) };
/**
* @template V
* @param {string} name
* @param {V} value
* @param {boolean} [is_boolean]
* @returns {string}
*/
function attr(name, value, is_boolean = false) {
if (name === "hidden" && value !== "until-found") is_boolean = true;
if (value == null || is_boolean && !value && value !== "") return "";
const normalized = has_own_property.call(replacements, name) && replacements[name].get(value) || value;
return ` ${name}${is_boolean ? `=""` : `="${escape_html(normalized, true)}"`}`;
}
/**
* Small wrapper around clsx to preserve Svelte's (weird) handling of falsy values.
* TODO Svelte 6 revisit this, and likely turn all falsy values into the empty string (what clsx also does)
* @param {any} value
*/
function clsx(value) {
if (typeof value === "object") return clsx$1(value);
else return value ?? "";
}
var whitespace = [..." \n\r\f\xA0\v"];
/**
* @param {any} value
* @param {string | null} [hash]
* @param {Record<string, boolean>} [directives]
* @returns {string | null}
*/
function to_class(value, hash, directives) {
var classname = value == null ? "" : "" + value;
if (hash) classname = classname ? classname + " " + hash : hash;
if (directives) {
for (var key of Object.keys(directives)) if (directives[key]) classname = classname ? classname + " " + key : key;
else if (classname.length) {
var len = key.length;
var a = 0;
while ((a = classname.indexOf(key, a)) >= 0) {
var b = a + len;
if ((a === 0 || whitespace.includes(classname[a - 1])) && (b === classname.length || whitespace.includes(classname[b]))) classname = (a === 0 ? "" : classname.substring(0, a)) + classname.substring(b + 1);
else a = b;
}
}
}
return classname === "" ? null : classname;
}
/**
*
* @param {Record<string,any>} styles
* @param {boolean} important
*/
function append_styles(styles, important = false) {
var separator = important ? " !important;" : ";";
var css = "";
for (var key of Object.keys(styles)) {
var value = styles[key];
if (value != null && value !== "") css += " " + key + ": " + value + separator;
}
return css;
}
/**
* @param {string} name
* @returns {string}
*/
function to_css_name(name) {
if (name[0] !== "-" || name[1] !== "-") return name.toLowerCase();
return name;
}
/**
* @param {any} value
* @param {Record<string, any> | [Record<string, any>, Record<string, any>]} [styles]
* @returns {string | null}
*/
function to_style(value, styles) {
if (styles) {
var new_style = "";
/** @type {Record<string,any> | undefined} */
var normal_styles;
/** @type {Record<string,any> | undefined} */
var important_styles;
if (Array.isArray(styles)) {
normal_styles = styles[0];
important_styles = styles[1];
} else normal_styles = styles;
if (value) {
value = String(value).replaceAll(/\/\*.*?\*\//g, "").trim();
/** @type {boolean | '"' | "'"} */
var in_str = false;
var in_apo = 0;
var in_comment = false;
var reserved_names = [];
if (normal_styles) reserved_names.push(...Object.keys(normal_styles).map(to_css_name));
if (important_styles) reserved_names.push(...Object.keys(important_styles).map(to_css_name));
var start_index = 0;
var name_index = -1;
const len = value.length;
for (var i = 0; i < len; i++) {
var c = value[i];
if (in_comment) {
if (c === "/" && value[i - 1] === "*") in_comment = false;
} else if (in_str) {
if (in_str === c) in_str = false;
} else if (c === "/" && value[i + 1] === "*") in_comment = true;
else if (c === "\"" || c === "'") in_str = c;
else if (c === "(") in_apo++;
else if (c === ")") in_apo--;
if (!in_comment && in_str === false && in_apo === 0) {
if (c === ":" && name_index === -1) name_index = i;
else if (c === ";" || i === len - 1) {
if (name_index !== -1) {
var name = to_css_name(value.substring(start_index, name_index).trim());
if (!reserved_names.includes(name)) {
if (c !== ";") i++;
var property = value.substring(start_index, i).trim();
new_style += " " + property + ";";
}
}
start_index = i + 1;
name_index = -1;
}
}
}
}
if (normal_styles) new_style += append_styles(normal_styles);
if (important_styles) new_style += append_styles(important_styles, true);
new_style = new_style.trim();
return new_style === "" ? null : new_style;
}
return value == null ? null : String(value);
}
// node_modules/svelte/src/internal/shared/validate.js
/**
* @param {() => string} tag_fn
* @returns {void}
*/
function validate_void_dynamic_element(tag_fn) {
const tag = tag_fn();
if (tag && is_void(tag)) dynamic_void_element_content(tag);
}
/** @param {() => unknown} tag_fn */
function validate_dynamic_element_tag(tag_fn) {
const tag = tag_fn();
if (tag && !(typeof tag === "string")) svelte_element_invalid_this_value();
}
/**
* @param {any} store
* @param {string} name
*/
function validate_store(store, name) {
if (store != null && typeof store.subscribe !== "function") store_invalid_shape(name);
}
/**
* @template {(...args: any[]) => unknown} T
* @param {T} fn
*/
function prevent_snippet_stringification(fn) {
fn.toString = () => {
snippet_without_render_tag();
return "";
};
return fn;
}
export { attr as a, to_style as c, validate_void_dynamic_element as i, validate_dynamic_element_tag as n, clsx as o, validate_store as r, to_class as s, prevent_snippet_stringification as t };

1
node_modules/.vite/deps_ssr/validate-EWwS2w2A.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

7
node_modules/.vite/deps_ssr/version-DLaxZhN9.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
// node_modules/svelte/src/version.js
/**
* The current version, as set in package.json.
* @type {string}
*/
var VERSION = "5.57.3";
export { VERSION as t };

1
node_modules/.vite/deps_ssr/version-DLaxZhN9.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"version-DLaxZhN9.js","names":[],"sources":["../../svelte/src/version.js"],"sourcesContent":["// generated during release, do not modify\n\n/**\n * The current version, as set in package.json.\n * @type {string}\n */\nexport const VERSION = '5.57.3';\nexport const PUBLIC_VERSION = '5';\n"],"mappings":";;;;;AAMA,IAAa,UAAU"}

131
node_modules/.vite/deps_ssr/warnings-CI-8FXsK.js generated vendored Normal file
View File

@@ -0,0 +1,131 @@
// node_modules/svelte/src/internal/client/warnings.js
var bold = "font-weight: bold";
var normal = "font-weight: normal";
/**
* Assignment to `%property%` property (%location%) will evaluate to the right-hand side, not the value of `%property%` following the assignment. This may result in unexpected behaviour.
* @param {string} property
* @param {string} location
*/
function assignment_value_stale(property, location) {
console.warn(`%c[svelte] assignment_value_stale\n%cAssignment to \`${property}\` property (${location}) will evaluate to the right-hand side, not the value of \`${property}\` following the assignment. This may result in unexpected behaviour.\nhttps://svelte.dev/e/assignment_value_stale`, bold, normal);
}
/**
* Detected reactivity loss when reading `%name%`. This happens when state is read in an async function after an earlier `await`
* @param {string} name
*/
function await_reactivity_loss(name) {
console.warn(`%c[svelte] await_reactivity_loss\n%cDetected reactivity loss when reading \`${name}\`. This happens when state is read in an async function after an earlier \`await\`\nhttps://svelte.dev/e/await_reactivity_loss`, bold, normal);
}
/**
* An async derived, `%name%` (%location%) was not read immediately after it resolved. This often indicates an unnecessary waterfall, which can slow down your app
* @param {string} name
* @param {string} location
*/
function await_waterfall(name, location) {
console.warn(`%c[svelte] await_waterfall\n%cAn async derived, \`${name}\` (${location}) was not read immediately after it resolved. This often indicates an unnecessary waterfall, which can slow down your app\nhttps://svelte.dev/e/await_waterfall`, bold, normal);
}
/**
* `%binding%` (%location%) is binding to a non-reactive property
* @param {string} binding
* @param {string | undefined | null} [location]
*/
function binding_property_non_reactive(binding, location) {
console.warn(`%c[svelte] binding_property_non_reactive\n%c${location ? `\`${binding}\` (${location}) is binding to a non-reactive property` : `\`${binding}\` is binding to a non-reactive property`}\nhttps://svelte.dev/e/binding_property_non_reactive`, bold, normal);
}
/**
* Your `console.%method%` contained `$state` proxies. Consider using `$inspect(...)` or `$state.snapshot(...)` instead
* @param {string} method
*/
function console_log_state(method) {
console.warn(`%c[svelte] console_log_state\n%cYour \`console.${method}\` contained \`$state\` proxies. Consider using \`$inspect(...)\` or \`$state.snapshot(...)\` instead\nhttps://svelte.dev/e/console_log_state`, bold, normal);
}
/**
* Reading a derived belonging to a now-destroyed effect may result in stale values
*/
function derived_inert() {
console.warn(`%c[svelte] derived_inert\n%cReading a derived belonging to a now-destroyed effect may result in stale values\nhttps://svelte.dev/e/derived_inert`, bold, normal);
}
/**
* %handler% should be a function. Did you mean to %suggestion%?
* @param {string} handler
* @param {string} suggestion
*/
function event_handler_invalid(handler, suggestion) {
console.warn(`%c[svelte] event_handler_invalid\n%c${handler} should be a function. Did you mean to ${suggestion}?\nhttps://svelte.dev/e/event_handler_invalid`, bold, normal);
}
/**
* The `%attribute%` attribute on `%html%` changed its value between server and client renders. The client value, `%value%`, will be ignored in favour of the server value
* @param {string} attribute
* @param {string} html
* @param {string} value
*/
function hydration_attribute_changed(attribute, html, value) {
console.warn(`%c[svelte] hydration_attribute_changed\n%cThe \`${attribute}\` attribute on \`${html}\` changed its value between server and client renders. The client value, \`${value}\`, will be ignored in favour of the server value\nhttps://svelte.dev/e/hydration_attribute_changed`, bold, normal);
}
/**
* The value of an `{@html ...}` block %location% changed between server and client renders. The client value will be ignored in favour of the server value
* @param {string | undefined | null} [location]
*/
function hydration_html_changed(location) {
console.warn(`%c[svelte] hydration_html_changed\n%c${location ? `The value of an \`{@html ...}\` block ${location} changed between server and client renders. The client value will be ignored in favour of the server value` : "The value of an `{@html ...}` block changed between server and client renders. The client value will be ignored in favour of the server value"}\nhttps://svelte.dev/e/hydration_html_changed`, bold, normal);
}
/**
* Hydration failed because the initial UI does not match what was rendered on the server. The error occurred near %location%
* @param {string | undefined | null} [location]
*/
function hydration_mismatch(location) {
console.warn(`%c[svelte] hydration_mismatch\n%c${location ? `Hydration failed because the initial UI does not match what was rendered on the server. The error occurred near ${location}` : "Hydration failed because the initial UI does not match what was rendered on the server"}\nhttps://svelte.dev/e/hydration_mismatch`, bold, normal);
}
/**
* Tried to unmount a component that was not mounted
*/
function lifecycle_double_unmount() {
console.warn(`%c[svelte] lifecycle_double_unmount\n%cTried to unmount a component that was not mounted\nhttps://svelte.dev/e/lifecycle_double_unmount`, bold, normal);
}
/**
* %parent% passed property `%prop%` to %child% with `bind:`, but its parent component %owner% did not declare `%prop%` as a binding. Consider creating a binding between %owner% and %parent% (e.g. `bind:%prop%={...}` instead of `%prop%={...}`)
* @param {string} parent
* @param {string} prop
* @param {string} child
* @param {string} owner
*/
function ownership_invalid_binding(parent, prop, child, owner) {
console.warn(`%c[svelte] ownership_invalid_binding\n%c${parent} passed property \`${prop}\` to ${child} with \`bind:\`, but its parent component ${owner} did not declare \`${prop}\` as a binding. Consider creating a binding between ${owner} and ${parent} (e.g. \`bind:${prop}={...}\` instead of \`${prop}={...}\`)\nhttps://svelte.dev/e/ownership_invalid_binding`, bold, normal);
}
/**
* Mutating unbound props (`%name%`, at %location%) is strongly discouraged. Consider using `bind:%prop%={...}` in %parent% (or using a callback) instead
* @param {string} name
* @param {string} location
* @param {string} prop
* @param {string} parent
*/
function ownership_invalid_mutation(name, location, prop, parent) {
console.warn(`%c[svelte] ownership_invalid_mutation\n%cMutating unbound props (\`${name}\`, at ${location}) is strongly discouraged. Consider using \`bind:${prop}={...}\` in ${parent} (or using a callback) instead\nhttps://svelte.dev/e/ownership_invalid_mutation`, bold, normal);
}
/**
* The `value` property of a `<select multiple>` element should be an array, but it received a non-array value. The selection will be kept as is.
*/
function select_multiple_invalid_value() {
console.warn(`%c[svelte] select_multiple_invalid_value\n%cThe \`value\` property of a \`<select multiple>\` element should be an array, but it received a non-array value. The selection will be kept as is.\nhttps://svelte.dev/e/select_multiple_invalid_value`, bold, normal);
}
/**
* Reactive `$state(...)` proxies and the values they proxy have different identities. Because of this, comparisons with `%operator%` will produce unexpected results
* @param {string} operator
*/
function state_proxy_equality_mismatch(operator) {
console.warn(`%c[svelte] state_proxy_equality_mismatch\n%cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${operator}\` will produce unexpected results\nhttps://svelte.dev/e/state_proxy_equality_mismatch`, bold, normal);
}
/**
* A `<svelte:boundary>` `reset` function only resets the boundary the first time it is called
*/
function svelte_boundary_reset_noop() {
console.warn(`%c[svelte] svelte_boundary_reset_noop\n%cA \`<svelte:boundary>\` \`reset\` function only resets the boundary the first time it is called\nhttps://svelte.dev/e/svelte_boundary_reset_noop`, bold, normal);
}
/**
* The `slide` transition does not work correctly for elements with `display: %value%`
* @param {string} value
*/
function transition_slide_display(value) {
console.warn(`%c[svelte] transition_slide_display\n%cThe \`slide\` transition does not work correctly for elements with \`display: ${value}\`\nhttps://svelte.dev/e/transition_slide_display`, bold, normal);
}
export { transition_slide_display as _, console_log_state as a, hydration_attribute_changed as c, lifecycle_double_unmount as d, ownership_invalid_binding as f, svelte_boundary_reset_noop as g, state_proxy_equality_mismatch as h, binding_property_non_reactive as i, hydration_html_changed as l, select_multiple_invalid_value as m, await_reactivity_loss as n, derived_inert as o, ownership_invalid_mutation as p, await_waterfall as r, event_handler_invalid as s, assignment_value_stale as t, hydration_mismatch as u };

1
node_modules/.vite/deps_ssr/warnings-CI-8FXsK.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long