fixing gitignore
This commit is contained in:
parent
2e8cd44fdd
commit
ea81d92432
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,5 +1,5 @@
|
|||||||
node_modules
|
./node_modules
|
||||||
.build
|
./build
|
||||||
|
|
||||||
# Output
|
# Output
|
||||||
.output
|
.output
|
||||||
|
|||||||
1
node_modules/.bin/acorn
generated
vendored
Symbolic link
1
node_modules/.bin/acorn
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../acorn/bin/acorn
|
||||||
1
node_modules/.bin/cssesc
generated
vendored
Symbolic link
1
node_modules/.bin/cssesc
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../cssesc/bin/cssesc
|
||||||
1
node_modules/.bin/esbuild
generated
vendored
Symbolic link
1
node_modules/.bin/esbuild
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../@esbuild/linux-x64/bin/esbuild
|
||||||
1
node_modules/.bin/eslint
generated
vendored
Symbolic link
1
node_modules/.bin/eslint
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../eslint/bin/eslint.js
|
||||||
1
node_modules/.bin/eslint-config-prettier
generated
vendored
Symbolic link
1
node_modules/.bin/eslint-config-prettier
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../eslint-config-prettier/bin/cli.js
|
||||||
1
node_modules/.bin/jiti
generated
vendored
Symbolic link
1
node_modules/.bin/jiti
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../jiti/lib/jiti-cli.mjs
|
||||||
1
node_modules/.bin/js-yaml
generated
vendored
Symbolic link
1
node_modules/.bin/js-yaml
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../js-yaml/bin/js-yaml.js
|
||||||
1
node_modules/.bin/nanoid
generated
vendored
Symbolic link
1
node_modules/.bin/nanoid
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../nanoid/bin/nanoid.cjs
|
||||||
1
node_modules/.bin/node-which
generated
vendored
Symbolic link
1
node_modules/.bin/node-which
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../which/bin/node-which
|
||||||
1
node_modules/.bin/prettier
generated
vendored
Symbolic link
1
node_modules/.bin/prettier
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../prettier/bin/prettier.cjs
|
||||||
1
node_modules/.bin/resolve
generated
vendored
Symbolic link
1
node_modules/.bin/resolve
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../resolve/bin/resolve
|
||||||
1
node_modules/.bin/rollup
generated
vendored
Symbolic link
1
node_modules/.bin/rollup
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../rollup/dist/bin/rollup
|
||||||
1
node_modules/.bin/semver
generated
vendored
Symbolic link
1
node_modules/.bin/semver
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../semver/bin/semver.js
|
||||||
1
node_modules/.bin/svelte-check
generated
vendored
Symbolic link
1
node_modules/.bin/svelte-check
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../svelte-check/bin/svelte-check
|
||||||
1
node_modules/.bin/svelte-kit
generated
vendored
Symbolic link
1
node_modules/.bin/svelte-kit
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../@sveltejs/kit/svelte-kit.js
|
||||||
1
node_modules/.bin/tsc
generated
vendored
Symbolic link
1
node_modules/.bin/tsc
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../typescript/bin/tsc
|
||||||
1
node_modules/.bin/tsserver
generated
vendored
Symbolic link
1
node_modules/.bin/tsserver
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../typescript/bin/tsserver
|
||||||
1
node_modules/.bin/vite
generated
vendored
Symbolic link
1
node_modules/.bin/vite
generated
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../vite/bin/vite.js
|
||||||
2544
node_modules/.package-lock.json
generated
vendored
Normal file
2544
node_modules/.package-lock.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
32
node_modules/.svelte2tsx-language-server-files/svelte-native-jsx.d.ts
generated
vendored
Normal file
32
node_modules/.svelte2tsx-language-server-files/svelte-native-jsx.d.ts
generated
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
declare namespace svelteNative.JSX {
|
||||||
|
|
||||||
|
// Every namespace eligible for use needs to implement the following two functions
|
||||||
|
function mapElementTag(
|
||||||
|
tag: string
|
||||||
|
): any;
|
||||||
|
|
||||||
|
function createElement<Elements extends IntrinsicElements, Key extends keyof Elements>(
|
||||||
|
element: Key | undefined | null, attrs: Elements[Key]
|
||||||
|
): any;
|
||||||
|
function createElement<Elements extends IntrinsicElements, Key extends keyof Elements, T>(
|
||||||
|
element: Key | undefined | null, attrEnhancers: T, attrs: Elements[Key] & T
|
||||||
|
): any;
|
||||||
|
|
||||||
|
|
||||||
|
/* svelte specific */
|
||||||
|
interface ElementClass {
|
||||||
|
$$prop_def: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface ElementAttributesProperty {
|
||||||
|
$$prop_def: any; // specify the property name to use
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add empty IntrinsicAttributes to prevent fallback to the one in the JSX namespace
|
||||||
|
interface IntrinsicAttributes {
|
||||||
|
}
|
||||||
|
|
||||||
|
interface IntrinsicElements {
|
||||||
|
[name: string]: { [name: string]: any };
|
||||||
|
}
|
||||||
|
}
|
||||||
290
node_modules/.svelte2tsx-language-server-files/svelte-shims-v4.d.ts
generated
vendored
Normal file
290
node_modules/.svelte2tsx-language-server-files/svelte-shims-v4.d.ts
generated
vendored
Normal file
@ -0,0 +1,290 @@
|
|||||||
|
// Whenever a ambient declaration changes, its number should be increased
|
||||||
|
// This way, we avoid the situation where multiple ambient versions of svelte2tsx
|
||||||
|
// are loaded and their declarations conflict each other
|
||||||
|
// See https://github.com/sveltejs/language-tools/issues/1059 for an example bug that stems from it
|
||||||
|
// If you change anything in this file, think about whether or not it should be backported to svelte-shims.d.ts
|
||||||
|
|
||||||
|
type AConstructorTypeOf<T, U extends any[] = any[]> = new (...args: U) => T;
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteActionReturnType = {
|
||||||
|
update?: (args: any) => void,
|
||||||
|
destroy?: () => void
|
||||||
|
} | void
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteTransitionConfig = {
|
||||||
|
delay?: number,
|
||||||
|
duration?: number,
|
||||||
|
easing?: (t: number) => number,
|
||||||
|
css?: (t: number, u: number) => string,
|
||||||
|
tick?: (t: number, u: number) => void
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteTransitionReturnType = SvelteTransitionConfig | (() => SvelteTransitionConfig)
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteAnimationReturnType = {
|
||||||
|
delay?: number,
|
||||||
|
duration?: number,
|
||||||
|
easing?: (t: number) => number,
|
||||||
|
css?: (t: number, u: number) => string,
|
||||||
|
tick?: (t: number, u: number) => void
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteWithOptionalProps<Props, Keys extends keyof Props> = Omit<Props, Keys> & Partial<Pick<Props, Keys>>;
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteAllProps = { [index: string]: any }
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SveltePropsAnyFallback<Props> = {[K in keyof Props]: Props[K] extends never ? never : Props[K] extends undefined ? any : Props[K]}
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteSlotsAnyFallback<Slots> = {[K in keyof Slots]: {[S in keyof Slots[K]]: Slots[K][S] extends undefined ? any : Slots[K][S]}}
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteRestProps = { [index: string]: any }
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteSlots = { [index: string]: any }
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type SvelteStore<T> = { subscribe: (run: (value: T) => any, invalidate?: any) => any }
|
||||||
|
|
||||||
|
// Forces TypeScript to look into the type which results in a better representation of it
|
||||||
|
// which helps for error messages and is necessary for d.ts file transformation so that
|
||||||
|
// no ambient type references are left in the output
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type KeysMatching<Obj, V> = {[K in keyof Obj]-?: Obj[K] extends V ? K : never}[keyof Obj]
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
declare type __sveltets_2_CustomEvents<T> = {[K in KeysMatching<T, CustomEvent>]: T[K] extends CustomEvent ? T[K]['detail']: T[K]}
|
||||||
|
|
||||||
|
declare function __sveltets_2_ensureRightProps<Props>(props: Props): {};
|
||||||
|
declare function __sveltets_2_instanceOf<T = any>(type: AConstructorTypeOf<T>): T;
|
||||||
|
declare function __sveltets_2_allPropsType(): SvelteAllProps
|
||||||
|
declare function __sveltets_2_restPropsType(): SvelteRestProps
|
||||||
|
declare function __sveltets_2_slotsType<Slots, Key extends keyof Slots>(slots: Slots): Record<Key, boolean>;
|
||||||
|
|
||||||
|
// Overload of the following two functions is necessary.
|
||||||
|
// An empty array of optionalProps makes OptionalProps type any, which means we lose the prop typing.
|
||||||
|
// optionalProps need to be first or its type cannot be infered correctly.
|
||||||
|
|
||||||
|
declare function __sveltets_2_partial<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string>(
|
||||||
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }
|
||||||
|
): {props: Expand<SveltePropsAnyFallback<Props>>, events: Events, slots: Expand<SvelteSlotsAnyFallback<Slots>>, exports?: Exports, bindings?: Bindings }
|
||||||
|
declare function __sveltets_2_partial<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string, OptionalProps extends keyof Props = any>(
|
||||||
|
optionalProps: OptionalProps[],
|
||||||
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }
|
||||||
|
): {props: Expand<SvelteWithOptionalProps<SveltePropsAnyFallback<Props>, OptionalProps>>, events: Events, slots: Expand<SvelteSlotsAnyFallback<Slots>>, exports?: Exports, bindings?: Bindings }
|
||||||
|
|
||||||
|
declare function __sveltets_2_partial_with_any<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string>(
|
||||||
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }
|
||||||
|
): {props: Expand<SveltePropsAnyFallback<Props> & SvelteAllProps>, events: Events, slots: Expand<SvelteSlotsAnyFallback<Slots>>, exports?: Exports, bindings?: Bindings }
|
||||||
|
declare function __sveltets_2_partial_with_any<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string, OptionalProps extends keyof Props = any>(
|
||||||
|
optionalProps: OptionalProps[],
|
||||||
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }
|
||||||
|
): {props: Expand<SvelteWithOptionalProps<SveltePropsAnyFallback<Props>, OptionalProps> & SvelteAllProps>, events: Events, slots: Expand<SvelteSlotsAnyFallback<Slots>>, exports?: Exports, bindings?: Bindings }
|
||||||
|
|
||||||
|
|
||||||
|
declare function __sveltets_2_with_any<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string>(
|
||||||
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }
|
||||||
|
): {props: Expand<Props & SvelteAllProps>, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }
|
||||||
|
|
||||||
|
declare function __sveltets_2_with_any_event<Props = {}, Events = {}, Slots = {}, Exports = {}, Bindings = string>(
|
||||||
|
render: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }
|
||||||
|
): {props: Props, events: Events & {[evt: string]: CustomEvent<any>;}, slots: Slots, exports?: Exports, bindings?: Bindings }
|
||||||
|
|
||||||
|
declare function __sveltets_2_store_get<T = any>(store: SvelteStore<T>): T
|
||||||
|
declare function __sveltets_2_store_get<Store extends SvelteStore<any> | undefined | null>(store: Store): Store extends SvelteStore<infer T> ? T : Store;
|
||||||
|
declare function __sveltets_2_any(dummy: any): any;
|
||||||
|
declare function __sveltets_2_invalidate<T>(getValue: () => T): T
|
||||||
|
|
||||||
|
declare function __sveltets_2_mapWindowEvent<K extends keyof HTMLBodyElementEventMap>(
|
||||||
|
event: K
|
||||||
|
): HTMLBodyElementEventMap[K];
|
||||||
|
declare function __sveltets_2_mapBodyEvent<K extends keyof WindowEventMap>(
|
||||||
|
event: K
|
||||||
|
): WindowEventMap[K];
|
||||||
|
declare function __sveltets_2_mapElementEvent<K extends keyof HTMLElementEventMap>(
|
||||||
|
event: K
|
||||||
|
): HTMLElementEventMap[K];
|
||||||
|
|
||||||
|
declare function __sveltets_2_bubbleEventDef<Events, K extends keyof Events>(
|
||||||
|
events: Events, eventKey: K
|
||||||
|
): Events[K];
|
||||||
|
declare function __sveltets_2_bubbleEventDef(
|
||||||
|
events: any, eventKey: string
|
||||||
|
): any;
|
||||||
|
|
||||||
|
declare const __sveltets_2_customEvent: CustomEvent<any>;
|
||||||
|
declare function __sveltets_2_toEventTypings<Typings>(): {[Key in keyof Typings]: CustomEvent<Typings[Key]>};
|
||||||
|
|
||||||
|
declare function __sveltets_2_unionType<T1, T2>(t1: T1, t2: T2): T1 | T2;
|
||||||
|
declare function __sveltets_2_unionType<T1, T2, T3>(t1: T1, t2: T2, t3: T3): T1 | T2 | T3;
|
||||||
|
declare function __sveltets_2_unionType<T1, T2, T3, T4>(t1: T1, t2: T2, t3: T3, t4: T4): T1 | T2 | T3 | T4;
|
||||||
|
declare function __sveltets_2_unionType(...types: any[]): any;
|
||||||
|
|
||||||
|
declare function __sveltets_2_createSvelte2TsxComponent<Props extends {}, Events extends {}, Slots extends {}>(
|
||||||
|
render: {props: Props, events: Events, slots: Slots }
|
||||||
|
): typeof import("svelte").SvelteComponent<Props, Events, Slots>;
|
||||||
|
|
||||||
|
declare function __sveltets_2_unwrapArr<T>(arr: ArrayLike<T>): T
|
||||||
|
declare function __sveltets_2_unwrapPromiseLike<T>(promise: PromiseLike<T> | T): T
|
||||||
|
|
||||||
|
// v2
|
||||||
|
declare function __sveltets_2_createCreateSlot<Slots = Record<string, Record<string, any>>>(): <SlotName extends keyof Slots>(slotName: SlotName, attrs: Slots[SlotName]) => Record<string, any>;
|
||||||
|
declare function __sveltets_2_createComponentAny(props: Record<string, any>): import("svelte").SvelteComponent<any, any, any>;
|
||||||
|
|
||||||
|
declare function __sveltets_2_any(...dummy: any[]): any;
|
||||||
|
declare function __sveltets_2_empty(...dummy: any[]): {};
|
||||||
|
declare function __sveltets_2_union<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(t1:T1,t2?:T2,t3?:T3,t4?:T4,t5?:T5,t6?:T6,t7?:T7,t8?:T8,t9?:T9,t10?:T10): T1 & T2 & T3 & T4 & T5 & T6 & T7 & T8 & T9 & T10;
|
||||||
|
declare function __sveltets_2_nonNullable<T>(type: T): NonNullable<T>;
|
||||||
|
|
||||||
|
declare function __sveltets_2_cssProp(prop: Record<string, any>): {};
|
||||||
|
|
||||||
|
// @ts-ignore Svelte v3/v4 don't have this
|
||||||
|
declare function __sveltets_2_ensureSnippet(val: ReturnType<import('svelte').Snippet> | undefined | null): any;
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type __sveltets_2_SvelteAnimationReturnType = {
|
||||||
|
delay?: number,
|
||||||
|
duration?: number,
|
||||||
|
easing?: (t: number) => number,
|
||||||
|
css?: (t: number, u: number) => string,
|
||||||
|
tick?: (t: number, u: number) => void
|
||||||
|
}
|
||||||
|
declare var __sveltets_2_AnimationMove: { from: DOMRect, to: DOMRect }
|
||||||
|
declare function __sveltets_2_ensureAnimation(animationCall: __sveltets_2_SvelteAnimationReturnType): {};
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type __sveltets_2_SvelteActionReturnType = {
|
||||||
|
update?: (args: any) => void,
|
||||||
|
destroy?: () => void,
|
||||||
|
$$_attributes?: Record<string, any>,
|
||||||
|
} | void
|
||||||
|
declare function __sveltets_2_ensureAction<T extends __sveltets_2_SvelteActionReturnType>(actionCall: T): T extends {$$_attributes?: any} ? T['$$_attributes'] : {};
|
||||||
|
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type __sveltets_2_SvelteTransitionConfig = {
|
||||||
|
delay?: number,
|
||||||
|
duration?: number,
|
||||||
|
easing?: (t: number) => number,
|
||||||
|
css?: (t: number, u: number) => string,
|
||||||
|
tick?: (t: number, u: number) => void
|
||||||
|
}
|
||||||
|
/** @internal PRIVATE API, DO NOT USE */
|
||||||
|
type __sveltets_2_SvelteTransitionReturnType = __sveltets_2_SvelteTransitionConfig | (() => __sveltets_2_SvelteTransitionConfig)
|
||||||
|
declare function __sveltets_2_ensureTransition(transitionCall: __sveltets_2_SvelteTransitionReturnType): {};
|
||||||
|
|
||||||
|
// Includes undefined and null for all types as all usages also allow these
|
||||||
|
declare function __sveltets_2_ensureType<T>(type: AConstructorTypeOf<T>, el: T | undefined | null): {};
|
||||||
|
declare function __sveltets_2_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2 | undefined | null): {};
|
||||||
|
|
||||||
|
// The following is necessary because there are two clashing errors that can't be solved at the same time
|
||||||
|
// when using Svelte2TsxComponent, more precisely the event typings in
|
||||||
|
// __sveltets_2_ensureComponent<T extends new (..) => _SvelteComponent<any,||any||<-this,any>>(type: T): T;
|
||||||
|
// If we type it as "any", we have an error when using sth like {a: CustomEvent<any>}
|
||||||
|
// If we type it as "{}", we have an error when using sth like {[evt: string]: CustomEvent<any>}
|
||||||
|
// If we type it as "unknown", we get all kinds of follow up errors which we want to avoid
|
||||||
|
// Therefore introduce two more base classes just for this case.
|
||||||
|
/**
|
||||||
|
* Ambient type only used for intellisense, DO NOT USE IN YOUR PROJECT
|
||||||
|
*/
|
||||||
|
declare type ATypedSvelteComponent = {
|
||||||
|
/**
|
||||||
|
* @internal This is for type checking capabilities only
|
||||||
|
* and does not exist at runtime. Don't use this property.
|
||||||
|
*/
|
||||||
|
$$prop_def: any;
|
||||||
|
/**
|
||||||
|
* @internal This is for type checking capabilities only
|
||||||
|
* and does not exist at runtime. Don't use this property.
|
||||||
|
*/
|
||||||
|
$$events_def: any;
|
||||||
|
/**
|
||||||
|
* @internal This is for type checking capabilities only
|
||||||
|
* and does not exist at runtime. Don't use this property.
|
||||||
|
*/
|
||||||
|
$$slot_def: any;
|
||||||
|
|
||||||
|
$on(event: string, handler: any): () => void;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Ambient type only used for intellisense, DO NOT USE IN YOUR PROJECT.
|
||||||
|
*
|
||||||
|
* If you're looking for the type of a Svelte Component, use `SvelteComponent` and `ComponentType` instead:
|
||||||
|
*
|
||||||
|
* ```ts
|
||||||
|
* import type { ComponentType, SvelteComponent } from "svelte";
|
||||||
|
* let myComponentConstructor: ComponentType<SvelteComponent> = ..;
|
||||||
|
* ```
|
||||||
|
*/
|
||||||
|
declare type ConstructorOfATypedSvelteComponent = new (args: {target: any, props?: any}) => ATypedSvelteComponent
|
||||||
|
// Usage note: Cannot properly transform generic function components to class components due to TypeScript limitations
|
||||||
|
declare function __sveltets_2_ensureComponent<
|
||||||
|
T extends
|
||||||
|
| ConstructorOfATypedSvelteComponent
|
||||||
|
| (typeof import('svelte') extends { mount: any }
|
||||||
|
? // @ts-ignore svelte.Component doesn't exist in Svelte 4
|
||||||
|
import('svelte').Component<any, any, any>
|
||||||
|
: never)
|
||||||
|
| null
|
||||||
|
| undefined
|
||||||
|
>(
|
||||||
|
type: T
|
||||||
|
): NonNullable<
|
||||||
|
T extends ConstructorOfATypedSvelteComponent
|
||||||
|
? T
|
||||||
|
: typeof import('svelte') extends { mount: any }
|
||||||
|
? // @ts-ignore svelte.Component doesn't exist in Svelte 4
|
||||||
|
T extends import('svelte').Component<
|
||||||
|
infer Props extends Record<string, any>,
|
||||||
|
infer Exports extends Record<string, any>,
|
||||||
|
infer Bindings extends string
|
||||||
|
>
|
||||||
|
? new (
|
||||||
|
options: import('svelte').ComponentConstructorOptions<Props>
|
||||||
|
) => import('svelte').SvelteComponent<Props, Props['$$events'], Props['$$slots']> &
|
||||||
|
Exports & { $$bindings: Bindings }
|
||||||
|
: never
|
||||||
|
: never
|
||||||
|
>;
|
||||||
|
|
||||||
|
declare function __sveltets_2_ensureArray<T extends ArrayLike<unknown> | Iterable<unknown>>(
|
||||||
|
// Svelte 5 allows undefined or null here, Svelte 4 doesn't
|
||||||
|
array: T | (typeof import('svelte') extends { mount: any } ? (undefined | null) : never)
|
||||||
|
): T extends ArrayLike<infer U> ? U[] : T extends Iterable<infer U> ? Iterable<U> : any[];
|
||||||
|
|
||||||
|
type __sveltets_2_PropsWithChildren<Props, Slots> = Props &
|
||||||
|
(Slots extends { default: any }
|
||||||
|
// This is unfortunate because it means "accepts no props" turns into "accepts any prop"
|
||||||
|
// but the alternative is non-fixable type errors because of the way TypeScript index
|
||||||
|
// signatures work (they will always take precedence and make an impossible-to-satisfy children type).
|
||||||
|
? Props extends Record<string, never>
|
||||||
|
? any
|
||||||
|
: { children?: any }
|
||||||
|
: {});
|
||||||
|
declare function __sveltets_2_runes_constructor<Props extends {}>(render: {props: Props }): import("svelte").ComponentConstructorOptions<Props>;
|
||||||
|
|
||||||
|
declare function __sveltets_2_get_set_binding<T>(get: (() => T) | null | undefined, set: (t: T) => void): T;
|
||||||
|
|
||||||
|
declare function __sveltets_$$bindings<Bindings extends string[]>(...bindings: Bindings): Bindings[number];
|
||||||
|
|
||||||
|
declare function __sveltets_2_fn_component<
|
||||||
|
Props extends Record<string, any>, Exports extends Record<string, any>, Bindings extends string
|
||||||
|
// @ts-ignore Svelte 5 only
|
||||||
|
>(klass: {props: Props, exports?: Exports, bindings?: Bindings }): import('svelte').Component<Props, Exports, Bindings>;
|
||||||
|
|
||||||
|
interface __sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
||||||
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings } & Exports;
|
||||||
|
(internal: unknown, props: Props extends Record<string, never> ? {$$events?: Events, $$slots?: Slots} : Props & {$$events?: Events, $$slots?: Slots}): Exports & { $set?: any, $on?: any };
|
||||||
|
z_$$bindings?: Bindings;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare function __sveltets_2_isomorphic_component<
|
||||||
|
Props extends Record<string, any>, Events extends Record<string, any>, Slots extends Record<string, any>, Exports extends Record<string, any>, Bindings extends string
|
||||||
|
>(klass: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }): __sveltets_2_IsomorphicComponent<Props, Events, Slots, Exports, Bindings>;
|
||||||
|
|
||||||
|
declare function __sveltets_2_isomorphic_component_slots<
|
||||||
|
Props extends Record<string, any>, Events extends Record<string, any>, Slots extends Record<string, any>, Exports extends Record<string, any>, Bindings extends string
|
||||||
|
>(klass: {props: Props, events: Events, slots: Slots, exports?: Exports, bindings?: Bindings }): __sveltets_2_IsomorphicComponent<__sveltets_2_PropsWithChildren<Props, Slots>, Events, Slots, Exports, Bindings>;
|
||||||
1
node_modules/.vite/_svelte_metadata.json
generated
vendored
Normal file
1
node_modules/.vite/_svelte_metadata.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"compilerOptions":{"css":"external","dev":true,"hmr":true},"configFile":false,"extensions":[".svelte"],"preprocess":[{"name":"vite-preprocess","style":"async ({ attributes, content, filename = '' }) => {\n\t\tconst ext = attributes.lang ? `.${attributes.lang}` : '.css';\n\t\tif (attributes.lang && !isCSSRequest(ext)) return;\n\t\tif (!cssTransform) {\n\t\t\tcssTransform = createCssTransform(style, config).then((t) => (cssTransform = t));\n\t\t}\n\t\tconst transform = await cssTransform;\n\t\tconst suffix = `${lang_sep}${ext}`;\n\t\tconst moduleId = `${filename}${suffix}`;\n\t\tconst { code, map, deps } = await transform(content, moduleId);\n\t\tremoveLangSuffix(map, suffix);\n\t\tmapToRelative(map, filename);\n\t\tconst dependencies = deps ? Array.from(deps).filter((d) => !d.endsWith(suffix)) : undefined;\n\t\treturn {\n\t\t\tcode,\n\t\t\tmap: map ?? undefined,\n\t\t\tdependencies\n\t\t};\n\t}"},{"script":"({ content, filename }) => {\n\t\tif (!filename) return;\n\n\t\tconst basename = path.basename(filename);\n\t\tif (basename.startsWith('+page.') || basename.startsWith('+layout.')) {\n\t\t\tconst match = content.match(options_regex);\n\t\t\tif (match && match.index !== undefined && !should_ignore(content, match.index)) {\n\t\t\t\tconst fixed = basename.replace('.svelte', '(.server).js/ts');\n\n\t\t\t\tconst message =\n\t\t\t\t\t`\\n${colors.bold().red(path.relative('.', filename))}\\n` +\n\t\t\t\t\t`\\`${match[1]}\\` will be ignored — move it to ${fixed} instead. See https://svelte.dev/docs/kit/page-options for more information.`;\n\n\t\t\t\tif (!warned.has(message)) {\n\t\t\t\t\tconsole.log(message);\n\t\t\t\t\twarned.add(message);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}","markup":"({ content, filename }) => {\n\t\tif (!filename) return;\n\n\t\tconst basename = path.basename(filename);\n\t\tconst has_children =\n\t\t\tcontent.includes('<slot') || (isSvelte5Plus() && content.includes('{@render'));\n\n\t\tif (basename.startsWith('+layout.') && !has_children) {\n\t\t\tconst message =\n\t\t\t\t`\\n${colors.bold().red(path.relative('.', filename))}\\n` +\n\t\t\t\t`\\`<slot />\\`${isSvelte5Plus() ? ' or `{@render ...}` tag' : ''}` +\n\t\t\t\t' missing — inner content will not be rendered';\n\n\t\t\tif (!warned.has(message)) {\n\t\t\t\tconsole.log(message);\n\t\t\t\twarned.add(message);\n\t\t\t}\n\t\t}\n\t}"}]}
|
||||||
148
node_modules/.vite/deps/_metadata.json
generated
vendored
Normal file
148
node_modules/.vite/deps/_metadata.json
generated
vendored
Normal file
@ -0,0 +1,148 @@
|
|||||||
|
{
|
||||||
|
"hash": "9fda010b",
|
||||||
|
"configHash": "0af83a89",
|
||||||
|
"lockfileHash": "72a94fe6",
|
||||||
|
"browserHash": "71501e5b",
|
||||||
|
"optimized": {
|
||||||
|
"svelte": {
|
||||||
|
"src": "../../svelte/src/index-client.js",
|
||||||
|
"file": "svelte.js",
|
||||||
|
"fileHash": "53977409",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/animate": {
|
||||||
|
"src": "../../svelte/src/animate/index.js",
|
||||||
|
"file": "svelte_animate.js",
|
||||||
|
"fileHash": "02dcfa4f",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/attachments": {
|
||||||
|
"src": "../../svelte/src/attachments/index.js",
|
||||||
|
"file": "svelte_attachments.js",
|
||||||
|
"fileHash": "7b0828ea",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/easing": {
|
||||||
|
"src": "../../svelte/src/easing/index.js",
|
||||||
|
"file": "svelte_easing.js",
|
||||||
|
"fileHash": "cb4eedfd",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/internal": {
|
||||||
|
"src": "../../svelte/src/internal/index.js",
|
||||||
|
"file": "svelte_internal.js",
|
||||||
|
"fileHash": "93cc6334",
|
||||||
|
"needsInterop": true
|
||||||
|
},
|
||||||
|
"svelte/internal/client": {
|
||||||
|
"src": "../../svelte/src/internal/client/index.js",
|
||||||
|
"file": "svelte_internal_client.js",
|
||||||
|
"fileHash": "7b5d67cf",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/internal/disclose-version": {
|
||||||
|
"src": "../../svelte/src/internal/disclose-version.js",
|
||||||
|
"file": "svelte_internal_disclose-version.js",
|
||||||
|
"fileHash": "3779a973",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/internal/flags/async": {
|
||||||
|
"src": "../../svelte/src/internal/flags/async.js",
|
||||||
|
"file": "svelte_internal_flags_async.js",
|
||||||
|
"fileHash": "2fbd9877",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/internal/flags/legacy": {
|
||||||
|
"src": "../../svelte/src/internal/flags/legacy.js",
|
||||||
|
"file": "svelte_internal_flags_legacy.js",
|
||||||
|
"fileHash": "ea0e9dbb",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/internal/flags/tracing": {
|
||||||
|
"src": "../../svelte/src/internal/flags/tracing.js",
|
||||||
|
"file": "svelte_internal_flags_tracing.js",
|
||||||
|
"fileHash": "cf8979f3",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/legacy": {
|
||||||
|
"src": "../../svelte/src/legacy/legacy-client.js",
|
||||||
|
"file": "svelte_legacy.js",
|
||||||
|
"fileHash": "546000d1",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/motion": {
|
||||||
|
"src": "../../svelte/src/motion/index.js",
|
||||||
|
"file": "svelte_motion.js",
|
||||||
|
"fileHash": "05adda84",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/reactivity": {
|
||||||
|
"src": "../../svelte/src/reactivity/index-client.js",
|
||||||
|
"file": "svelte_reactivity.js",
|
||||||
|
"fileHash": "7e923dc6",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/reactivity/window": {
|
||||||
|
"src": "../../svelte/src/reactivity/window/index.js",
|
||||||
|
"file": "svelte_reactivity_window.js",
|
||||||
|
"fileHash": "1edea278",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/store": {
|
||||||
|
"src": "../../svelte/src/store/index-client.js",
|
||||||
|
"file": "svelte_store.js",
|
||||||
|
"fileHash": "dcd0cff0",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/transition": {
|
||||||
|
"src": "../../svelte/src/transition/index.js",
|
||||||
|
"file": "svelte_transition.js",
|
||||||
|
"fileHash": "36fcf21c",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte/events": {
|
||||||
|
"src": "../../svelte/src/events/index.js",
|
||||||
|
"file": "svelte_events.js",
|
||||||
|
"fileHash": "2f9b40d4",
|
||||||
|
"needsInterop": false
|
||||||
|
},
|
||||||
|
"svelte > clsx": {
|
||||||
|
"src": "../../clsx/dist/clsx.mjs",
|
||||||
|
"file": "svelte___clsx.js",
|
||||||
|
"fileHash": "2d3ed10b",
|
||||||
|
"needsInterop": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chunks": {
|
||||||
|
"chunk-KLPF4WLU": {
|
||||||
|
"file": "chunk-KLPF4WLU.js"
|
||||||
|
},
|
||||||
|
"chunk-MNSP2PRZ": {
|
||||||
|
"file": "chunk-MNSP2PRZ.js"
|
||||||
|
},
|
||||||
|
"chunk-7RQDXF5S": {
|
||||||
|
"file": "chunk-7RQDXF5S.js"
|
||||||
|
},
|
||||||
|
"chunk-YERFD2CZ": {
|
||||||
|
"file": "chunk-YERFD2CZ.js"
|
||||||
|
},
|
||||||
|
"chunk-3EAXA6ZA": {
|
||||||
|
"file": "chunk-3EAXA6ZA.js"
|
||||||
|
},
|
||||||
|
"chunk-U7P2NEEE": {
|
||||||
|
"file": "chunk-U7P2NEEE.js"
|
||||||
|
},
|
||||||
|
"chunk-UWINOEWN": {
|
||||||
|
"file": "chunk-UWINOEWN.js"
|
||||||
|
},
|
||||||
|
"chunk-VKI34JCA": {
|
||||||
|
"file": "chunk-VKI34JCA.js"
|
||||||
|
},
|
||||||
|
"chunk-VZQZA5WB": {
|
||||||
|
"file": "chunk-VZQZA5WB.js"
|
||||||
|
},
|
||||||
|
"chunk-OHYQYV5R": {
|
||||||
|
"file": "chunk-OHYQYV5R.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
4003
node_modules/.vite/deps/chunk-3EAXA6ZA.js
generated
vendored
Normal file
4003
node_modules/.vite/deps/chunk-3EAXA6ZA.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
node_modules/.vite/deps/chunk-3EAXA6ZA.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-3EAXA6ZA.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
0
node_modules/.vite/deps/chunk-7RQDXF5S.js
generated
vendored
Normal file
0
node_modules/.vite/deps/chunk-7RQDXF5S.js
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-7RQDXF5S.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-7RQDXF5S.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
686
node_modules/.vite/deps/chunk-KLPF4WLU.js
generated
vendored
Normal file
686
node_modules/.vite/deps/chunk-KLPF4WLU.js
generated
vendored
Normal file
@ -0,0 +1,686 @@
|
|||||||
|
import {
|
||||||
|
ReactiveValue
|
||||||
|
} from "./chunk-MNSP2PRZ.js";
|
||||||
|
import {
|
||||||
|
active_reaction,
|
||||||
|
get,
|
||||||
|
increment,
|
||||||
|
label,
|
||||||
|
on,
|
||||||
|
set,
|
||||||
|
set_active_reaction,
|
||||||
|
source,
|
||||||
|
state,
|
||||||
|
tag,
|
||||||
|
update_version,
|
||||||
|
user_derived
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import {
|
||||||
|
true_default
|
||||||
|
} from "./chunk-VZQZA5WB.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/reactivity/date.js
|
||||||
|
var inited = false;
|
||||||
|
var SvelteDate = class _SvelteDate extends Date {
|
||||||
|
#time = state(super.getTime());
|
||||||
|
/** @type {Map<keyof Date, Source<unknown>>} */
|
||||||
|
#deriveds = /* @__PURE__ */ new Map();
|
||||||
|
#reaction = active_reaction;
|
||||||
|
/** @param {any[]} params */
|
||||||
|
constructor(...params) {
|
||||||
|
super(...params);
|
||||||
|
if (true_default) {
|
||||||
|
tag(this.#time, "SvelteDate.#time");
|
||||||
|
}
|
||||||
|
if (!inited) this.#init();
|
||||||
|
}
|
||||||
|
#init() {
|
||||||
|
inited = true;
|
||||||
|
var proto = _SvelteDate.prototype;
|
||||||
|
var date_proto = Date.prototype;
|
||||||
|
var methods = (
|
||||||
|
/** @type {Array<keyof Date & string>} */
|
||||||
|
Object.getOwnPropertyNames(date_proto)
|
||||||
|
);
|
||||||
|
for (const method of methods) {
|
||||||
|
if (method.startsWith("get") || method.startsWith("to") || method === "valueOf") {
|
||||||
|
proto[method] = function(...args) {
|
||||||
|
if (args.length > 0) {
|
||||||
|
get(this.#time);
|
||||||
|
return date_proto[method].apply(this, args);
|
||||||
|
}
|
||||||
|
var d = this.#deriveds.get(method);
|
||||||
|
if (d === void 0) {
|
||||||
|
const reaction = active_reaction;
|
||||||
|
set_active_reaction(this.#reaction);
|
||||||
|
d = user_derived(() => {
|
||||||
|
get(this.#time);
|
||||||
|
return date_proto[method].apply(this, args);
|
||||||
|
});
|
||||||
|
this.#deriveds.set(method, d);
|
||||||
|
set_active_reaction(reaction);
|
||||||
|
}
|
||||||
|
return get(d);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
if (method.startsWith("set")) {
|
||||||
|
proto[method] = function(...args) {
|
||||||
|
var result = date_proto[method].apply(this, args);
|
||||||
|
set(this.#time, date_proto.getTime.call(this));
|
||||||
|
return result;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// node_modules/svelte/src/reactivity/set.js
|
||||||
|
var read_methods = ["forEach", "isDisjointFrom", "isSubsetOf", "isSupersetOf"];
|
||||||
|
var set_like_methods = ["difference", "intersection", "symmetricDifference", "union"];
|
||||||
|
var inited2 = false;
|
||||||
|
var SvelteSet = class _SvelteSet extends Set {
|
||||||
|
/** @type {Map<T, Source<boolean>>} */
|
||||||
|
#sources = /* @__PURE__ */ new Map();
|
||||||
|
#version = state(0);
|
||||||
|
#size = state(0);
|
||||||
|
#update_version = update_version || -1;
|
||||||
|
/**
|
||||||
|
* @param {Iterable<T> | null | undefined} [value]
|
||||||
|
*/
|
||||||
|
constructor(value) {
|
||||||
|
super();
|
||||||
|
if (true_default) {
|
||||||
|
value = new Set(value);
|
||||||
|
tag(this.#version, "SvelteSet version");
|
||||||
|
tag(this.#size, "SvelteSet.size");
|
||||||
|
}
|
||||||
|
if (value) {
|
||||||
|
for (var element of value) {
|
||||||
|
super.add(element);
|
||||||
|
}
|
||||||
|
this.#size.v = super.size;
|
||||||
|
}
|
||||||
|
if (!inited2) this.#init();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* If the source is being created inside the same reaction as the SvelteSet instance,
|
||||||
|
* we use `state` so that it will not be a dependency of the reaction. Otherwise we
|
||||||
|
* use `source` so it will be.
|
||||||
|
*
|
||||||
|
* @template T
|
||||||
|
* @param {T} value
|
||||||
|
* @returns {Source<T>}
|
||||||
|
*/
|
||||||
|
#source(value) {
|
||||||
|
return update_version === this.#update_version ? state(value) : source(value);
|
||||||
|
}
|
||||||
|
// We init as part of the first instance so that we can treeshake this class
|
||||||
|
#init() {
|
||||||
|
inited2 = true;
|
||||||
|
var proto = _SvelteSet.prototype;
|
||||||
|
var set_proto = Set.prototype;
|
||||||
|
for (const method of read_methods) {
|
||||||
|
proto[method] = function(...v) {
|
||||||
|
get(this.#version);
|
||||||
|
return set_proto[method].apply(this, v);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
for (const method of set_like_methods) {
|
||||||
|
proto[method] = function(...v) {
|
||||||
|
get(this.#version);
|
||||||
|
var set2 = (
|
||||||
|
/** @type {Set<T>} */
|
||||||
|
set_proto[method].apply(this, v)
|
||||||
|
);
|
||||||
|
return new _SvelteSet(set2);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/** @param {T} value */
|
||||||
|
has(value) {
|
||||||
|
var has = super.has(value);
|
||||||
|
var sources = this.#sources;
|
||||||
|
var s = sources.get(value);
|
||||||
|
if (s === void 0) {
|
||||||
|
if (!has) {
|
||||||
|
get(this.#version);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
s = this.#source(true);
|
||||||
|
if (true_default) {
|
||||||
|
tag(s, `SvelteSet has(${label(value)})`);
|
||||||
|
}
|
||||||
|
sources.set(value, s);
|
||||||
|
}
|
||||||
|
get(s);
|
||||||
|
return has;
|
||||||
|
}
|
||||||
|
/** @param {T} value */
|
||||||
|
add(value) {
|
||||||
|
if (!super.has(value)) {
|
||||||
|
super.add(value);
|
||||||
|
set(this.#size, super.size);
|
||||||
|
increment(this.#version);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/** @param {T} value */
|
||||||
|
delete(value) {
|
||||||
|
var deleted = super.delete(value);
|
||||||
|
var sources = this.#sources;
|
||||||
|
var s = sources.get(value);
|
||||||
|
if (s !== void 0) {
|
||||||
|
sources.delete(value);
|
||||||
|
set(s, false);
|
||||||
|
}
|
||||||
|
if (deleted) {
|
||||||
|
set(this.#size, super.size);
|
||||||
|
increment(this.#version);
|
||||||
|
}
|
||||||
|
return deleted;
|
||||||
|
}
|
||||||
|
clear() {
|
||||||
|
if (super.size === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
super.clear();
|
||||||
|
var sources = this.#sources;
|
||||||
|
for (var s of sources.values()) {
|
||||||
|
set(s, false);
|
||||||
|
}
|
||||||
|
sources.clear();
|
||||||
|
set(this.#size, 0);
|
||||||
|
increment(this.#version);
|
||||||
|
}
|
||||||
|
keys() {
|
||||||
|
return this.values();
|
||||||
|
}
|
||||||
|
values() {
|
||||||
|
get(this.#version);
|
||||||
|
return super.values();
|
||||||
|
}
|
||||||
|
entries() {
|
||||||
|
get(this.#version);
|
||||||
|
return super.entries();
|
||||||
|
}
|
||||||
|
[Symbol.iterator]() {
|
||||||
|
return this.keys();
|
||||||
|
}
|
||||||
|
get size() {
|
||||||
|
return get(this.#size);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// node_modules/svelte/src/reactivity/map.js
|
||||||
|
var SvelteMap = class extends Map {
|
||||||
|
/** @type {Map<K, Source<number>>} */
|
||||||
|
#sources = /* @__PURE__ */ new Map();
|
||||||
|
#version = state(0);
|
||||||
|
#size = state(0);
|
||||||
|
#update_version = update_version || -1;
|
||||||
|
/**
|
||||||
|
* @param {Iterable<readonly [K, V]> | null | undefined} [value]
|
||||||
|
*/
|
||||||
|
constructor(value) {
|
||||||
|
super();
|
||||||
|
if (true_default) {
|
||||||
|
value = new Map(value);
|
||||||
|
tag(this.#version, "SvelteMap version");
|
||||||
|
tag(this.#size, "SvelteMap.size");
|
||||||
|
}
|
||||||
|
if (value) {
|
||||||
|
for (var [key, v] of value) {
|
||||||
|
super.set(key, v);
|
||||||
|
}
|
||||||
|
this.#size.v = super.size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* If the source is being created inside the same reaction as the SvelteMap instance,
|
||||||
|
* we use `state` so that it will not be a dependency of the reaction. Otherwise we
|
||||||
|
* use `source` so it will be.
|
||||||
|
*
|
||||||
|
* @template T
|
||||||
|
* @param {T} value
|
||||||
|
* @returns {Source<T>}
|
||||||
|
*/
|
||||||
|
#source(value) {
|
||||||
|
return update_version === this.#update_version ? state(value) : source(value);
|
||||||
|
}
|
||||||
|
/** @param {K} key */
|
||||||
|
has(key) {
|
||||||
|
var sources = this.#sources;
|
||||||
|
var s = sources.get(key);
|
||||||
|
if (s === void 0) {
|
||||||
|
var ret = super.get(key);
|
||||||
|
if (ret !== void 0) {
|
||||||
|
s = this.#source(0);
|
||||||
|
if (true_default) {
|
||||||
|
tag(s, `SvelteMap get(${label(key)})`);
|
||||||
|
}
|
||||||
|
sources.set(key, s);
|
||||||
|
} else {
|
||||||
|
get(this.#version);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
get(s);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {(value: V, key: K, map: Map<K, V>) => void} callbackfn
|
||||||
|
* @param {any} [this_arg]
|
||||||
|
*/
|
||||||
|
forEach(callbackfn, this_arg) {
|
||||||
|
this.#read_all();
|
||||||
|
super.forEach(callbackfn, this_arg);
|
||||||
|
}
|
||||||
|
/** @param {K} key */
|
||||||
|
get(key) {
|
||||||
|
var sources = this.#sources;
|
||||||
|
var s = sources.get(key);
|
||||||
|
if (s === void 0) {
|
||||||
|
var ret = super.get(key);
|
||||||
|
if (ret !== void 0) {
|
||||||
|
s = this.#source(0);
|
||||||
|
if (true_default) {
|
||||||
|
tag(s, `SvelteMap get(${label(key)})`);
|
||||||
|
}
|
||||||
|
sources.set(key, s);
|
||||||
|
} else {
|
||||||
|
get(this.#version);
|
||||||
|
return void 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
get(s);
|
||||||
|
return super.get(key);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {K} key
|
||||||
|
* @param {V} value
|
||||||
|
* */
|
||||||
|
set(key, value) {
|
||||||
|
var sources = this.#sources;
|
||||||
|
var s = sources.get(key);
|
||||||
|
var prev_res = super.get(key);
|
||||||
|
var res = super.set(key, value);
|
||||||
|
var version = this.#version;
|
||||||
|
if (s === void 0) {
|
||||||
|
s = this.#source(0);
|
||||||
|
if (true_default) {
|
||||||
|
tag(s, `SvelteMap get(${label(key)})`);
|
||||||
|
}
|
||||||
|
sources.set(key, s);
|
||||||
|
set(this.#size, super.size);
|
||||||
|
increment(version);
|
||||||
|
} else if (prev_res !== value) {
|
||||||
|
increment(s);
|
||||||
|
var v_reactions = version.reactions === null ? null : new Set(version.reactions);
|
||||||
|
var needs_version_increase = v_reactions === null || !s.reactions?.every(
|
||||||
|
(r) => (
|
||||||
|
/** @type {NonNullable<typeof v_reactions>} */
|
||||||
|
v_reactions.has(r)
|
||||||
|
)
|
||||||
|
);
|
||||||
|
if (needs_version_increase) {
|
||||||
|
increment(version);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
/** @param {K} key */
|
||||||
|
delete(key) {
|
||||||
|
var sources = this.#sources;
|
||||||
|
var s = sources.get(key);
|
||||||
|
var res = super.delete(key);
|
||||||
|
if (s !== void 0) {
|
||||||
|
sources.delete(key);
|
||||||
|
set(this.#size, super.size);
|
||||||
|
set(s, -1);
|
||||||
|
increment(this.#version);
|
||||||
|
}
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
clear() {
|
||||||
|
if (super.size === 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
super.clear();
|
||||||
|
var sources = this.#sources;
|
||||||
|
set(this.#size, 0);
|
||||||
|
for (var s of sources.values()) {
|
||||||
|
set(s, -1);
|
||||||
|
}
|
||||||
|
increment(this.#version);
|
||||||
|
sources.clear();
|
||||||
|
}
|
||||||
|
#read_all() {
|
||||||
|
get(this.#version);
|
||||||
|
var sources = this.#sources;
|
||||||
|
if (this.#size.v !== sources.size) {
|
||||||
|
for (var key of super.keys()) {
|
||||||
|
if (!sources.has(key)) {
|
||||||
|
var s = this.#source(0);
|
||||||
|
if (true_default) {
|
||||||
|
tag(s, `SvelteMap get(${label(key)})`);
|
||||||
|
}
|
||||||
|
sources.set(key, s);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for ([, s] of this.#sources) {
|
||||||
|
get(s);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
keys() {
|
||||||
|
get(this.#version);
|
||||||
|
return super.keys();
|
||||||
|
}
|
||||||
|
values() {
|
||||||
|
this.#read_all();
|
||||||
|
return super.values();
|
||||||
|
}
|
||||||
|
entries() {
|
||||||
|
this.#read_all();
|
||||||
|
return super.entries();
|
||||||
|
}
|
||||||
|
[Symbol.iterator]() {
|
||||||
|
return this.entries();
|
||||||
|
}
|
||||||
|
get size() {
|
||||||
|
get(this.#size);
|
||||||
|
return super.size;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// node_modules/svelte/src/reactivity/url-search-params.js
|
||||||
|
var REPLACE = Symbol();
|
||||||
|
var SvelteURLSearchParams = class extends URLSearchParams {
|
||||||
|
#version = true_default ? tag(state(0), "SvelteURLSearchParams version") : state(0);
|
||||||
|
#url = get_current_url();
|
||||||
|
#updating = false;
|
||||||
|
#update_url() {
|
||||||
|
if (!this.#url || this.#updating) return;
|
||||||
|
this.#updating = true;
|
||||||
|
const search = this.toString();
|
||||||
|
this.#url.search = search && `?${search}`;
|
||||||
|
this.#updating = false;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {URLSearchParams} params
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
[REPLACE](params) {
|
||||||
|
if (this.#updating) return;
|
||||||
|
this.#updating = true;
|
||||||
|
for (const key of [...super.keys()]) {
|
||||||
|
super.delete(key);
|
||||||
|
}
|
||||||
|
for (const [key, value] of params) {
|
||||||
|
super.append(key, value);
|
||||||
|
}
|
||||||
|
increment(this.#version);
|
||||||
|
this.#updating = false;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} name
|
||||||
|
* @param {string} value
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
append(name, value) {
|
||||||
|
super.append(name, value);
|
||||||
|
this.#update_url();
|
||||||
|
increment(this.#version);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} name
|
||||||
|
* @param {string=} value
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
delete(name, value) {
|
||||||
|
var has_value = super.has(name, value);
|
||||||
|
super.delete(name, value);
|
||||||
|
if (has_value) {
|
||||||
|
this.#update_url();
|
||||||
|
increment(this.#version);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} name
|
||||||
|
* @returns {string|null}
|
||||||
|
*/
|
||||||
|
get(name) {
|
||||||
|
get(this.#version);
|
||||||
|
return super.get(name);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} name
|
||||||
|
* @returns {string[]}
|
||||||
|
*/
|
||||||
|
getAll(name) {
|
||||||
|
get(this.#version);
|
||||||
|
return super.getAll(name);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} name
|
||||||
|
* @param {string=} value
|
||||||
|
* @returns {boolean}
|
||||||
|
*/
|
||||||
|
has(name, value) {
|
||||||
|
get(this.#version);
|
||||||
|
return super.has(name, value);
|
||||||
|
}
|
||||||
|
keys() {
|
||||||
|
get(this.#version);
|
||||||
|
return super.keys();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} name
|
||||||
|
* @param {string} value
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
set(name, value) {
|
||||||
|
var previous = super.getAll(name).join("");
|
||||||
|
super.set(name, value);
|
||||||
|
if (previous !== super.getAll(name).join("")) {
|
||||||
|
this.#update_url();
|
||||||
|
increment(this.#version);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
sort() {
|
||||||
|
super.sort();
|
||||||
|
this.#update_url();
|
||||||
|
increment(this.#version);
|
||||||
|
}
|
||||||
|
toString() {
|
||||||
|
get(this.#version);
|
||||||
|
return super.toString();
|
||||||
|
}
|
||||||
|
values() {
|
||||||
|
get(this.#version);
|
||||||
|
return super.values();
|
||||||
|
}
|
||||||
|
entries() {
|
||||||
|
get(this.#version);
|
||||||
|
return super.entries();
|
||||||
|
}
|
||||||
|
[Symbol.iterator]() {
|
||||||
|
return this.entries();
|
||||||
|
}
|
||||||
|
get size() {
|
||||||
|
get(this.#version);
|
||||||
|
return super.size;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// node_modules/svelte/src/reactivity/url.js
|
||||||
|
var current_url = null;
|
||||||
|
function get_current_url() {
|
||||||
|
return current_url;
|
||||||
|
}
|
||||||
|
var SvelteURL = class extends URL {
|
||||||
|
#protocol = state(super.protocol);
|
||||||
|
#username = state(super.username);
|
||||||
|
#password = state(super.password);
|
||||||
|
#hostname = state(super.hostname);
|
||||||
|
#port = state(super.port);
|
||||||
|
#pathname = state(super.pathname);
|
||||||
|
#hash = state(super.hash);
|
||||||
|
#search = state(super.search);
|
||||||
|
#searchParams;
|
||||||
|
/**
|
||||||
|
* @param {string | URL} url
|
||||||
|
* @param {string | URL} [base]
|
||||||
|
*/
|
||||||
|
constructor(url, base) {
|
||||||
|
url = new URL(url, base);
|
||||||
|
super(url);
|
||||||
|
if (true_default) {
|
||||||
|
tag(this.#protocol, "SvelteURL.protocol");
|
||||||
|
tag(this.#username, "SvelteURL.username");
|
||||||
|
tag(this.#password, "SvelteURL.password");
|
||||||
|
tag(this.#hostname, "SvelteURL.hostname");
|
||||||
|
tag(this.#port, "SvelteURL.port");
|
||||||
|
tag(this.#pathname, "SvelteURL.pathname");
|
||||||
|
tag(this.#hash, "SvelteURL.hash");
|
||||||
|
tag(this.#search, "SvelteURL.search");
|
||||||
|
}
|
||||||
|
current_url = this;
|
||||||
|
this.#searchParams = new SvelteURLSearchParams(url.searchParams);
|
||||||
|
current_url = null;
|
||||||
|
}
|
||||||
|
get hash() {
|
||||||
|
return get(this.#hash);
|
||||||
|
}
|
||||||
|
set hash(value) {
|
||||||
|
super.hash = value;
|
||||||
|
set(this.#hash, super.hash);
|
||||||
|
}
|
||||||
|
get host() {
|
||||||
|
get(this.#hostname);
|
||||||
|
get(this.#port);
|
||||||
|
return super.host;
|
||||||
|
}
|
||||||
|
set host(value) {
|
||||||
|
super.host = value;
|
||||||
|
set(this.#hostname, super.hostname);
|
||||||
|
set(this.#port, super.port);
|
||||||
|
}
|
||||||
|
get hostname() {
|
||||||
|
return get(this.#hostname);
|
||||||
|
}
|
||||||
|
set hostname(value) {
|
||||||
|
super.hostname = value;
|
||||||
|
set(this.#hostname, super.hostname);
|
||||||
|
}
|
||||||
|
get href() {
|
||||||
|
get(this.#protocol);
|
||||||
|
get(this.#username);
|
||||||
|
get(this.#password);
|
||||||
|
get(this.#hostname);
|
||||||
|
get(this.#port);
|
||||||
|
get(this.#pathname);
|
||||||
|
get(this.#hash);
|
||||||
|
get(this.#search);
|
||||||
|
return super.href;
|
||||||
|
}
|
||||||
|
set href(value) {
|
||||||
|
super.href = value;
|
||||||
|
set(this.#protocol, super.protocol);
|
||||||
|
set(this.#username, super.username);
|
||||||
|
set(this.#password, super.password);
|
||||||
|
set(this.#hostname, super.hostname);
|
||||||
|
set(this.#port, super.port);
|
||||||
|
set(this.#pathname, super.pathname);
|
||||||
|
set(this.#hash, super.hash);
|
||||||
|
set(this.#search, super.search);
|
||||||
|
this.#searchParams[REPLACE](super.searchParams);
|
||||||
|
}
|
||||||
|
get password() {
|
||||||
|
return get(this.#password);
|
||||||
|
}
|
||||||
|
set password(value) {
|
||||||
|
super.password = value;
|
||||||
|
set(this.#password, super.password);
|
||||||
|
}
|
||||||
|
get pathname() {
|
||||||
|
return get(this.#pathname);
|
||||||
|
}
|
||||||
|
set pathname(value) {
|
||||||
|
super.pathname = value;
|
||||||
|
set(this.#pathname, super.pathname);
|
||||||
|
}
|
||||||
|
get port() {
|
||||||
|
return get(this.#port);
|
||||||
|
}
|
||||||
|
set port(value) {
|
||||||
|
super.port = value;
|
||||||
|
set(this.#port, super.port);
|
||||||
|
}
|
||||||
|
get protocol() {
|
||||||
|
return get(this.#protocol);
|
||||||
|
}
|
||||||
|
set protocol(value) {
|
||||||
|
super.protocol = value;
|
||||||
|
set(this.#protocol, super.protocol);
|
||||||
|
}
|
||||||
|
get search() {
|
||||||
|
return get(this.#search);
|
||||||
|
}
|
||||||
|
set search(value) {
|
||||||
|
super.search = value;
|
||||||
|
set(this.#search, value);
|
||||||
|
this.#searchParams[REPLACE](super.searchParams);
|
||||||
|
}
|
||||||
|
get username() {
|
||||||
|
return get(this.#username);
|
||||||
|
}
|
||||||
|
set username(value) {
|
||||||
|
super.username = value;
|
||||||
|
set(this.#username, super.username);
|
||||||
|
}
|
||||||
|
get origin() {
|
||||||
|
get(this.#protocol);
|
||||||
|
get(this.#hostname);
|
||||||
|
get(this.#port);
|
||||||
|
return super.origin;
|
||||||
|
}
|
||||||
|
get searchParams() {
|
||||||
|
return this.#searchParams;
|
||||||
|
}
|
||||||
|
toString() {
|
||||||
|
return this.href;
|
||||||
|
}
|
||||||
|
toJSON() {
|
||||||
|
return this.href;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// node_modules/svelte/src/reactivity/media-query.js
|
||||||
|
var parenthesis_regex = /\(.+\)/;
|
||||||
|
var non_parenthesized_keywords = /* @__PURE__ */ new Set(["all", "print", "screen", "and", "or", "not", "only"]);
|
||||||
|
var MediaQuery = class extends ReactiveValue {
|
||||||
|
/**
|
||||||
|
* @param {string} query A media query string
|
||||||
|
* @param {boolean} [fallback] Fallback value for the server
|
||||||
|
*/
|
||||||
|
constructor(query, fallback) {
|
||||||
|
let final_query = parenthesis_regex.test(query) || // we need to use `some` here because technically this `window.matchMedia('random,screen')` still returns true
|
||||||
|
query.split(/[\s,]+/).some((keyword) => non_parenthesized_keywords.has(keyword.trim())) ? query : `(${query})`;
|
||||||
|
const q = window.matchMedia(final_query);
|
||||||
|
super(
|
||||||
|
() => q.matches,
|
||||||
|
(update) => on(q, "change", update)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export {
|
||||||
|
SvelteDate,
|
||||||
|
SvelteSet,
|
||||||
|
SvelteMap,
|
||||||
|
SvelteURLSearchParams,
|
||||||
|
SvelteURL,
|
||||||
|
MediaQuery
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=chunk-KLPF4WLU.js.map
|
||||||
7
node_modules/.vite/deps/chunk-KLPF4WLU.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-KLPF4WLU.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
27
node_modules/.vite/deps/chunk-MNSP2PRZ.js
generated
vendored
Normal file
27
node_modules/.vite/deps/chunk-MNSP2PRZ.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
import {
|
||||||
|
createSubscriber
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/reactivity/reactive-value.js
|
||||||
|
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();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export {
|
||||||
|
ReactiveValue
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=chunk-MNSP2PRZ.js.map
|
||||||
7
node_modules/.vite/deps/chunk-MNSP2PRZ.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-MNSP2PRZ.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": ["../../svelte/src/reactivity/reactive-value.js"],
|
||||||
|
"sourcesContent": ["import { createSubscriber } from './create-subscriber.js';\n\n/**\n * @template T\n */\nexport class ReactiveValue {\n\t#fn;\n\t#subscribe;\n\n\t/**\n\t *\n\t * @param {() => T} fn\n\t * @param {(update: () => void) => void} onsubscribe\n\t */\n\tconstructor(fn, onsubscribe) {\n\t\tthis.#fn = fn;\n\t\tthis.#subscribe = createSubscriber(onsubscribe);\n\t}\n\n\tget current() {\n\t\tthis.#subscribe();\n\t\treturn this.#fn();\n\t}\n}\n"],
|
||||||
|
"mappings": ";;;;;AAKO,IAAM,gBAAN,MAAoB;AAAA,EAC1B;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,YAAY,IAAI,aAAa;AAC5B,SAAK,MAAM;AACX,SAAK,aAAa,iBAAiB,WAAW;AAAA,EAC/C;AAAA,EAEA,IAAI,UAAU;AACb,SAAK,WAAW;AAChB,WAAO,KAAK,IAAI;AAAA,EACjB;AACD;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
23
node_modules/.vite/deps/chunk-OHYQYV5R.js
generated
vendored
Normal file
23
node_modules/.vite/deps/chunk-OHYQYV5R.js
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// node_modules/svelte/src/internal/flags/index.js
|
||||||
|
var async_mode_flag = false;
|
||||||
|
var legacy_mode_flag = false;
|
||||||
|
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 {
|
||||||
|
async_mode_flag,
|
||||||
|
legacy_mode_flag,
|
||||||
|
tracing_mode_flag,
|
||||||
|
enable_async_mode_flag,
|
||||||
|
enable_legacy_mode_flag,
|
||||||
|
enable_tracing_mode_flag
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=chunk-OHYQYV5R.js.map
|
||||||
7
node_modules/.vite/deps/chunk-OHYQYV5R.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-OHYQYV5R.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"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": ";AACO,IAAI,kBAAkB;AAEtB,IAAI,mBAAmB;AAEvB,IAAI,oBAAoB;AAExB,SAAS,yBAAyB;AACxC,oBAAkB;AACnB;AAOO,SAAS,0BAA0B;AACzC,qBAAmB;AACpB;AAEO,SAAS,2BAA2B;AAC1C,sBAAoB;AACrB;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
21
node_modules/.vite/deps/chunk-U7P2NEEE.js
generated
vendored
Normal file
21
node_modules/.vite/deps/chunk-U7P2NEEE.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
// 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() {
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
var clsx_default = clsx;
|
||||||
|
|
||||||
|
export {
|
||||||
|
clsx,
|
||||||
|
clsx_default
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=chunk-U7P2NEEE.js.map
|
||||||
7
node_modules/.vite/deps/chunk-U7P2NEEE.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-U7P2NEEE.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": ["../../clsx/dist/clsx.mjs"],
|
||||||
|
"sourcesContent": ["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}export function clsx(){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}export default clsx;"],
|
||||||
|
"mappings": ";AAAA,SAAS,EAAE,GAAE;AAAC,MAAI,GAAE,GAAE,IAAE;AAAG,MAAG,YAAU,OAAO,KAAG,YAAU,OAAO,EAAE,MAAG;AAAA,WAAU,YAAU,OAAO,EAAE,KAAG,MAAM,QAAQ,CAAC,GAAE;AAAC,QAAI,IAAE,EAAE;AAAO,SAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,CAAC,MAAI,IAAE,EAAE,EAAE,CAAC,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAA,EAAE,MAAM,MAAI,KAAK,EAAE,GAAE,CAAC,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAQ,SAAS,OAAM;AAAC,WAAQ,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,CAAC,OAAK,IAAE,EAAE,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAC,IAAO,eAAQ;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
971
node_modules/.vite/deps/chunk-UWINOEWN.js
generated
vendored
Normal file
971
node_modules/.vite/deps/chunk-UWINOEWN.js
generated
vendored
Normal file
@ -0,0 +1,971 @@
|
|||||||
|
import {
|
||||||
|
COMMENT_NODE,
|
||||||
|
DIRTY,
|
||||||
|
DOCUMENT_FRAGMENT_NODE,
|
||||||
|
EFFECT_RAN,
|
||||||
|
FILENAME,
|
||||||
|
HYDRATION_END,
|
||||||
|
HYDRATION_ERROR,
|
||||||
|
HYDRATION_START,
|
||||||
|
LEGACY_PROPS,
|
||||||
|
MAYBE_DIRTY,
|
||||||
|
NAMESPACE_MATHML,
|
||||||
|
NAMESPACE_SVG,
|
||||||
|
STATE_SYMBOL,
|
||||||
|
TEMPLATE_FRAGMENT,
|
||||||
|
TEMPLATE_USE_IMPORT_NODE,
|
||||||
|
TEMPLATE_USE_MATHML,
|
||||||
|
TEMPLATE_USE_SVG,
|
||||||
|
TEXT_NODE,
|
||||||
|
active_effect,
|
||||||
|
all_registered_events,
|
||||||
|
array_from,
|
||||||
|
boundary,
|
||||||
|
clear_text_content,
|
||||||
|
component_context,
|
||||||
|
component_root,
|
||||||
|
create_comment,
|
||||||
|
create_element,
|
||||||
|
create_fragment,
|
||||||
|
create_text,
|
||||||
|
define_property,
|
||||||
|
dev_current_component_function,
|
||||||
|
flushSync,
|
||||||
|
get,
|
||||||
|
get_first_child,
|
||||||
|
get_next_sibling,
|
||||||
|
handle_event_propagation,
|
||||||
|
hydrate_next,
|
||||||
|
hydrate_node,
|
||||||
|
hydrating,
|
||||||
|
hydration_failed,
|
||||||
|
init_operations,
|
||||||
|
is_array,
|
||||||
|
is_firefox,
|
||||||
|
lifecycle_outside_component,
|
||||||
|
mutable_source,
|
||||||
|
noop,
|
||||||
|
on,
|
||||||
|
pop,
|
||||||
|
push,
|
||||||
|
root_event_handles,
|
||||||
|
set,
|
||||||
|
set_attribute,
|
||||||
|
set_hydrate_node,
|
||||||
|
set_hydrating,
|
||||||
|
set_signal_status,
|
||||||
|
user_pre_effect
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import {
|
||||||
|
hydration_mismatch,
|
||||||
|
legacy_recursive_reactive_block,
|
||||||
|
lifecycle_double_unmount,
|
||||||
|
state_proxy_unmount,
|
||||||
|
true_default
|
||||||
|
} from "./chunk-VZQZA5WB.js";
|
||||||
|
import {
|
||||||
|
async_mode_flag
|
||||||
|
} from "./chunk-OHYQYV5R.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/client/dom/reconciler.js
|
||||||
|
function create_fragment_from_html(html) {
|
||||||
|
var elem = document.createElement("template");
|
||||||
|
elem.innerHTML = html.replaceAll("<!>", "<!---->");
|
||||||
|
return elem.content;
|
||||||
|
}
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/client/dom/template.js
|
||||||
|
function assign_nodes(start, end) {
|
||||||
|
var effect = (
|
||||||
|
/** @type {Effect} */
|
||||||
|
active_effect
|
||||||
|
);
|
||||||
|
if (effect.nodes_start === null) {
|
||||||
|
effect.nodes_start = start;
|
||||||
|
effect.nodes_end = end;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function from_html(content, flags) {
|
||||||
|
var is_fragment = (flags & TEMPLATE_FRAGMENT) !== 0;
|
||||||
|
var use_import_node = (flags & TEMPLATE_USE_IMPORT_NODE) !== 0;
|
||||||
|
var node;
|
||||||
|
var has_start = !content.startsWith("<!>");
|
||||||
|
return () => {
|
||||||
|
if (hydrating) {
|
||||||
|
assign_nodes(hydrate_node, null);
|
||||||
|
return hydrate_node;
|
||||||
|
}
|
||||||
|
if (node === void 0) {
|
||||||
|
node = create_fragment_from_html(has_start ? content : "<!>" + content);
|
||||||
|
if (!is_fragment) node = /** @type {Node} */
|
||||||
|
get_first_child(node);
|
||||||
|
}
|
||||||
|
var clone = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
use_import_node || is_firefox ? document.importNode(node, true) : node.cloneNode(true)
|
||||||
|
);
|
||||||
|
if (is_fragment) {
|
||||||
|
var start = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
get_first_child(clone)
|
||||||
|
);
|
||||||
|
var end = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
clone.lastChild
|
||||||
|
);
|
||||||
|
assign_nodes(start, end);
|
||||||
|
} else {
|
||||||
|
assign_nodes(clone, clone);
|
||||||
|
}
|
||||||
|
return clone;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function from_namespace(content, flags, ns = "svg") {
|
||||||
|
var has_start = !content.startsWith("<!>");
|
||||||
|
var is_fragment = (flags & TEMPLATE_FRAGMENT) !== 0;
|
||||||
|
var wrapped = `<${ns}>${has_start ? content : "<!>" + content}</${ns}>`;
|
||||||
|
var node;
|
||||||
|
return () => {
|
||||||
|
if (hydrating) {
|
||||||
|
assign_nodes(hydrate_node, null);
|
||||||
|
return hydrate_node;
|
||||||
|
}
|
||||||
|
if (!node) {
|
||||||
|
var fragment = (
|
||||||
|
/** @type {DocumentFragment} */
|
||||||
|
create_fragment_from_html(wrapped)
|
||||||
|
);
|
||||||
|
var root = (
|
||||||
|
/** @type {Element} */
|
||||||
|
get_first_child(fragment)
|
||||||
|
);
|
||||||
|
if (is_fragment) {
|
||||||
|
node = document.createDocumentFragment();
|
||||||
|
while (get_first_child(root)) {
|
||||||
|
node.appendChild(
|
||||||
|
/** @type {Node} */
|
||||||
|
get_first_child(root)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
node = /** @type {Element} */
|
||||||
|
get_first_child(root);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var clone = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
node.cloneNode(true)
|
||||||
|
);
|
||||||
|
if (is_fragment) {
|
||||||
|
var start = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
get_first_child(clone)
|
||||||
|
);
|
||||||
|
var end = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
clone.lastChild
|
||||||
|
);
|
||||||
|
assign_nodes(start, end);
|
||||||
|
} else {
|
||||||
|
assign_nodes(clone, clone);
|
||||||
|
}
|
||||||
|
return clone;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function from_svg(content, flags) {
|
||||||
|
return from_namespace(content, flags, "svg");
|
||||||
|
}
|
||||||
|
function from_mathml(content, flags) {
|
||||||
|
return from_namespace(content, flags, "math");
|
||||||
|
}
|
||||||
|
function fragment_from_tree(structure, ns) {
|
||||||
|
var fragment = create_fragment();
|
||||||
|
for (var item of structure) {
|
||||||
|
if (typeof item === "string") {
|
||||||
|
fragment.append(create_text(item));
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (item === void 0 || item[0][0] === "/") {
|
||||||
|
fragment.append(create_comment(item ? item[0].slice(3) : ""));
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
const [name, attributes, ...children] = item;
|
||||||
|
const namespace = name === "svg" ? NAMESPACE_SVG : name === "math" ? NAMESPACE_MATHML : ns;
|
||||||
|
var element = create_element(name, namespace, attributes?.is);
|
||||||
|
for (var key in attributes) {
|
||||||
|
set_attribute(element, key, attributes[key]);
|
||||||
|
}
|
||||||
|
if (children.length > 0) {
|
||||||
|
var target = element.tagName === "TEMPLATE" ? (
|
||||||
|
/** @type {HTMLTemplateElement} */
|
||||||
|
element.content
|
||||||
|
) : element;
|
||||||
|
target.append(
|
||||||
|
fragment_from_tree(children, element.tagName === "foreignObject" ? void 0 : namespace)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
fragment.append(element);
|
||||||
|
}
|
||||||
|
return fragment;
|
||||||
|
}
|
||||||
|
function from_tree(structure, flags) {
|
||||||
|
var is_fragment = (flags & TEMPLATE_FRAGMENT) !== 0;
|
||||||
|
var use_import_node = (flags & TEMPLATE_USE_IMPORT_NODE) !== 0;
|
||||||
|
var node;
|
||||||
|
return () => {
|
||||||
|
if (hydrating) {
|
||||||
|
assign_nodes(hydrate_node, null);
|
||||||
|
return hydrate_node;
|
||||||
|
}
|
||||||
|
if (node === void 0) {
|
||||||
|
const ns = (flags & TEMPLATE_USE_SVG) !== 0 ? NAMESPACE_SVG : (flags & TEMPLATE_USE_MATHML) !== 0 ? NAMESPACE_MATHML : void 0;
|
||||||
|
node = fragment_from_tree(structure, ns);
|
||||||
|
if (!is_fragment) node = /** @type {Node} */
|
||||||
|
get_first_child(node);
|
||||||
|
}
|
||||||
|
var clone = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
use_import_node || is_firefox ? document.importNode(node, true) : node.cloneNode(true)
|
||||||
|
);
|
||||||
|
if (is_fragment) {
|
||||||
|
var start = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
get_first_child(clone)
|
||||||
|
);
|
||||||
|
var end = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
clone.lastChild
|
||||||
|
);
|
||||||
|
assign_nodes(start, end);
|
||||||
|
} else {
|
||||||
|
assign_nodes(clone, clone);
|
||||||
|
}
|
||||||
|
return clone;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function with_script(fn) {
|
||||||
|
return () => run_scripts(fn());
|
||||||
|
}
|
||||||
|
function run_scripts(node) {
|
||||||
|
if (hydrating) return node;
|
||||||
|
const is_fragment = node.nodeType === DOCUMENT_FRAGMENT_NODE;
|
||||||
|
const scripts = (
|
||||||
|
/** @type {HTMLElement} */
|
||||||
|
node.tagName === "SCRIPT" ? [
|
||||||
|
/** @type {HTMLScriptElement} */
|
||||||
|
node
|
||||||
|
] : node.querySelectorAll("script")
|
||||||
|
);
|
||||||
|
const effect = (
|
||||||
|
/** @type {Effect} */
|
||||||
|
active_effect
|
||||||
|
);
|
||||||
|
for (const script of scripts) {
|
||||||
|
const clone = document.createElement("script");
|
||||||
|
for (var attribute of script.attributes) {
|
||||||
|
clone.setAttribute(attribute.name, attribute.value);
|
||||||
|
}
|
||||||
|
clone.textContent = script.textContent;
|
||||||
|
if (is_fragment ? node.firstChild === script : node === script) {
|
||||||
|
effect.nodes_start = clone;
|
||||||
|
}
|
||||||
|
if (is_fragment ? node.lastChild === script : node === script) {
|
||||||
|
effect.nodes_end = clone;
|
||||||
|
}
|
||||||
|
script.replaceWith(clone);
|
||||||
|
}
|
||||||
|
return node;
|
||||||
|
}
|
||||||
|
function text(value = "") {
|
||||||
|
if (!hydrating) {
|
||||||
|
var t = create_text(value + "");
|
||||||
|
assign_nodes(t, t);
|
||||||
|
return t;
|
||||||
|
}
|
||||||
|
var node = hydrate_node;
|
||||||
|
if (node.nodeType !== TEXT_NODE) {
|
||||||
|
node.before(node = create_text());
|
||||||
|
set_hydrate_node(node);
|
||||||
|
}
|
||||||
|
assign_nodes(node, node);
|
||||||
|
return node;
|
||||||
|
}
|
||||||
|
function comment() {
|
||||||
|
if (hydrating) {
|
||||||
|
assign_nodes(hydrate_node, null);
|
||||||
|
return hydrate_node;
|
||||||
|
}
|
||||||
|
var frag = document.createDocumentFragment();
|
||||||
|
var start = document.createComment("");
|
||||||
|
var anchor = create_text();
|
||||||
|
frag.append(start, anchor);
|
||||||
|
assign_nodes(start, anchor);
|
||||||
|
return frag;
|
||||||
|
}
|
||||||
|
function append(anchor, dom) {
|
||||||
|
if (hydrating) {
|
||||||
|
var effect = (
|
||||||
|
/** @type {Effect} */
|
||||||
|
active_effect
|
||||||
|
);
|
||||||
|
if ((effect.f & EFFECT_RAN) === 0 || effect.nodes_end === null) {
|
||||||
|
effect.nodes_end = hydrate_node;
|
||||||
|
}
|
||||||
|
hydrate_next();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (anchor === null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
anchor.before(
|
||||||
|
/** @type {Node} */
|
||||||
|
dom
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function props_id() {
|
||||||
|
if (hydrating && hydrate_node && hydrate_node.nodeType === COMMENT_NODE && hydrate_node.textContent?.startsWith(`$`)) {
|
||||||
|
const id = hydrate_node.textContent.substring(1);
|
||||||
|
hydrate_next();
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
(window.__svelte ??= {}).uid ??= 1;
|
||||||
|
return `c${window.__svelte.uid++}`;
|
||||||
|
}
|
||||||
|
|
||||||
|
// node_modules/svelte/src/utils.js
|
||||||
|
var regex_return_characters = /\r/g;
|
||||||
|
function hash(str) {
|
||||||
|
str = str.replace(regex_return_characters, "");
|
||||||
|
let hash2 = 5381;
|
||||||
|
let i = str.length;
|
||||||
|
while (i--) hash2 = (hash2 << 5) - hash2 ^ str.charCodeAt(i);
|
||||||
|
return (hash2 >>> 0).toString(36);
|
||||||
|
}
|
||||||
|
var VOID_ELEMENT_NAMES = [
|
||||||
|
"area",
|
||||||
|
"base",
|
||||||
|
"br",
|
||||||
|
"col",
|
||||||
|
"command",
|
||||||
|
"embed",
|
||||||
|
"hr",
|
||||||
|
"img",
|
||||||
|
"input",
|
||||||
|
"keygen",
|
||||||
|
"link",
|
||||||
|
"meta",
|
||||||
|
"param",
|
||||||
|
"source",
|
||||||
|
"track",
|
||||||
|
"wbr"
|
||||||
|
];
|
||||||
|
function is_void(name) {
|
||||||
|
return VOID_ELEMENT_NAMES.includes(name) || name.toLowerCase() === "!doctype";
|
||||||
|
}
|
||||||
|
function is_capture_event(name) {
|
||||||
|
return name.endsWith("capture") && name !== "gotpointercapture" && name !== "lostpointercapture";
|
||||||
|
}
|
||||||
|
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"
|
||||||
|
];
|
||||||
|
function can_delegate_event(event_name) {
|
||||||
|
return DELEGATED_EVENTS.includes(event_name);
|
||||||
|
}
|
||||||
|
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"
|
||||||
|
];
|
||||||
|
var ATTRIBUTE_ALIASES = {
|
||||||
|
// no `class: 'className'` because we handle that separately
|
||||||
|
formnovalidate: "formNoValidate",
|
||||||
|
ismap: "isMap",
|
||||||
|
nomodule: "noModule",
|
||||||
|
playsinline: "playsInline",
|
||||||
|
readonly: "readOnly",
|
||||||
|
defaultvalue: "defaultValue",
|
||||||
|
defaultchecked: "defaultChecked",
|
||||||
|
srcobject: "srcObject",
|
||||||
|
novalidate: "noValidate",
|
||||||
|
allowfullscreen: "allowFullscreen",
|
||||||
|
disablepictureinpicture: "disablePictureInPicture",
|
||||||
|
disableremoteplayback: "disableRemotePlayback"
|
||||||
|
};
|
||||||
|
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"
|
||||||
|
];
|
||||||
|
var PASSIVE_EVENTS = ["touchstart", "touchmove"];
|
||||||
|
function is_passive_event(name) {
|
||||||
|
return PASSIVE_EVENTS.includes(name);
|
||||||
|
}
|
||||||
|
var STATE_CREATION_RUNES = (
|
||||||
|
/** @type {const} */
|
||||||
|
[
|
||||||
|
"$state",
|
||||||
|
"$state.raw",
|
||||||
|
"$derived",
|
||||||
|
"$derived.by"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
var RUNES = (
|
||||||
|
/** @type {const} */
|
||||||
|
[
|
||||||
|
...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"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
var RAW_TEXT_ELEMENTS = (
|
||||||
|
/** @type {const} */
|
||||||
|
["textarea", "script", "style", "title"]
|
||||||
|
);
|
||||||
|
function is_raw_text_element(name) {
|
||||||
|
return RAW_TEXT_ELEMENTS.includes(
|
||||||
|
/** @type {typeof RAW_TEXT_ELEMENTS[number]} */
|
||||||
|
name
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function sanitize_location(location) {
|
||||||
|
return (
|
||||||
|
/** @type {T} */
|
||||||
|
location?.replace(/\//g, "/")
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/client/render.js
|
||||||
|
var should_intro = true;
|
||||||
|
function set_should_intro(value) {
|
||||||
|
should_intro = value;
|
||||||
|
}
|
||||||
|
function set_text(text2, value) {
|
||||||
|
var str = value == null ? "" : typeof value === "object" ? value + "" : value;
|
||||||
|
if (str !== (text2.__t ??= text2.nodeValue)) {
|
||||||
|
text2.__t = str;
|
||||||
|
text2.nodeValue = str + "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function mount(component, options) {
|
||||||
|
return _mount(component, options);
|
||||||
|
}
|
||||||
|
function hydrate(component, options) {
|
||||||
|
init_operations();
|
||||||
|
options.intro = options.intro ?? false;
|
||||||
|
const target = options.target;
|
||||||
|
const was_hydrating = hydrating;
|
||||||
|
const previous_hydrate_node = hydrate_node;
|
||||||
|
try {
|
||||||
|
var anchor = (
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
get_first_child(target)
|
||||||
|
);
|
||||||
|
while (anchor && (anchor.nodeType !== COMMENT_NODE || /** @type {Comment} */
|
||||||
|
anchor.data !== HYDRATION_START)) {
|
||||||
|
anchor = /** @type {TemplateNode} */
|
||||||
|
get_next_sibling(anchor);
|
||||||
|
}
|
||||||
|
if (!anchor) {
|
||||||
|
throw HYDRATION_ERROR;
|
||||||
|
}
|
||||||
|
set_hydrating(true);
|
||||||
|
set_hydrate_node(
|
||||||
|
/** @type {Comment} */
|
||||||
|
anchor
|
||||||
|
);
|
||||||
|
const instance = _mount(component, { ...options, anchor });
|
||||||
|
set_hydrating(false);
|
||||||
|
return (
|
||||||
|
/** @type {Exports} */
|
||||||
|
instance
|
||||||
|
);
|
||||||
|
} catch (error) {
|
||||||
|
if (error instanceof Error && error.message.split("\n").some((line) => line.startsWith("https://svelte.dev/e/"))) {
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
if (error !== HYDRATION_ERROR) {
|
||||||
|
console.warn("Failed to hydrate: ", error);
|
||||||
|
}
|
||||||
|
if (options.recover === false) {
|
||||||
|
hydration_failed();
|
||||||
|
}
|
||||||
|
init_operations();
|
||||||
|
clear_text_content(target);
|
||||||
|
set_hydrating(false);
|
||||||
|
return mount(component, options);
|
||||||
|
} finally {
|
||||||
|
set_hydrating(was_hydrating);
|
||||||
|
set_hydrate_node(previous_hydrate_node);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var document_listeners = /* @__PURE__ */ new Map();
|
||||||
|
function _mount(Component, { target, anchor, props = {}, events, context, intro = true }) {
|
||||||
|
init_operations();
|
||||||
|
var registered_events = /* @__PURE__ */ new Set();
|
||||||
|
var event_handle = (events2) => {
|
||||||
|
for (var i = 0; i < events2.length; i++) {
|
||||||
|
var event_name = events2[i];
|
||||||
|
if (registered_events.has(event_name)) continue;
|
||||||
|
registered_events.add(event_name);
|
||||||
|
var passive2 = is_passive_event(event_name);
|
||||||
|
target.addEventListener(event_name, handle_event_propagation, { passive: passive2 });
|
||||||
|
var n = document_listeners.get(event_name);
|
||||||
|
if (n === void 0) {
|
||||||
|
document.addEventListener(event_name, handle_event_propagation, { passive: passive2 });
|
||||||
|
document_listeners.set(event_name, 1);
|
||||||
|
} else {
|
||||||
|
document_listeners.set(event_name, n + 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
event_handle(array_from(all_registered_events));
|
||||||
|
root_event_handles.add(event_handle);
|
||||||
|
var component = void 0;
|
||||||
|
var unmount2 = component_root(() => {
|
||||||
|
var anchor_node = anchor ?? target.appendChild(create_text());
|
||||||
|
boundary(
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
anchor_node,
|
||||||
|
{
|
||||||
|
pending: () => {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
(anchor_node2) => {
|
||||||
|
if (context) {
|
||||||
|
push({});
|
||||||
|
var ctx = (
|
||||||
|
/** @type {ComponentContext} */
|
||||||
|
component_context
|
||||||
|
);
|
||||||
|
ctx.c = context;
|
||||||
|
}
|
||||||
|
if (events) {
|
||||||
|
props.$$events = events;
|
||||||
|
}
|
||||||
|
if (hydrating) {
|
||||||
|
assign_nodes(
|
||||||
|
/** @type {TemplateNode} */
|
||||||
|
anchor_node2,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
}
|
||||||
|
should_intro = intro;
|
||||||
|
component = Component(anchor_node2, props) || {};
|
||||||
|
should_intro = true;
|
||||||
|
if (hydrating) {
|
||||||
|
active_effect.nodes_end = hydrate_node;
|
||||||
|
if (hydrate_node === null || hydrate_node.nodeType !== COMMENT_NODE || /** @type {Comment} */
|
||||||
|
hydrate_node.data !== HYDRATION_END) {
|
||||||
|
hydration_mismatch();
|
||||||
|
throw HYDRATION_ERROR;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (context) {
|
||||||
|
pop();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
for (var event_name of registered_events) {
|
||||||
|
target.removeEventListener(event_name, handle_event_propagation);
|
||||||
|
var n = (
|
||||||
|
/** @type {number} */
|
||||||
|
document_listeners.get(event_name)
|
||||||
|
);
|
||||||
|
if (--n === 0) {
|
||||||
|
document.removeEventListener(event_name, handle_event_propagation);
|
||||||
|
document_listeners.delete(event_name);
|
||||||
|
} else {
|
||||||
|
document_listeners.set(event_name, n);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
root_event_handles.delete(event_handle);
|
||||||
|
if (anchor_node !== anchor) {
|
||||||
|
anchor_node.parentNode?.removeChild(anchor_node);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
});
|
||||||
|
mounted_components.set(component, unmount2);
|
||||||
|
return component;
|
||||||
|
}
|
||||||
|
var mounted_components = /* @__PURE__ */ new WeakMap();
|
||||||
|
function unmount(component, options) {
|
||||||
|
const fn = mounted_components.get(component);
|
||||||
|
if (fn) {
|
||||||
|
mounted_components.delete(component);
|
||||||
|
return fn(options);
|
||||||
|
}
|
||||||
|
if (true_default) {
|
||||||
|
if (STATE_SYMBOL in component) {
|
||||||
|
state_proxy_unmount();
|
||||||
|
} else {
|
||||||
|
lifecycle_double_unmount();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return Promise.resolve();
|
||||||
|
}
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/client/dom/legacy/event-modifiers.js
|
||||||
|
function trusted(fn) {
|
||||||
|
return function(...args) {
|
||||||
|
var event = (
|
||||||
|
/** @type {Event} */
|
||||||
|
args[0]
|
||||||
|
);
|
||||||
|
if (event.isTrusted) {
|
||||||
|
fn?.apply(this, args);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function self(fn) {
|
||||||
|
return function(...args) {
|
||||||
|
var event = (
|
||||||
|
/** @type {Event} */
|
||||||
|
args[0]
|
||||||
|
);
|
||||||
|
if (event.target === this) {
|
||||||
|
fn?.apply(this, args);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function stopPropagation(fn) {
|
||||||
|
return function(...args) {
|
||||||
|
var event = (
|
||||||
|
/** @type {Event} */
|
||||||
|
args[0]
|
||||||
|
);
|
||||||
|
event.stopPropagation();
|
||||||
|
return fn?.apply(this, args);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function once(fn) {
|
||||||
|
var ran = false;
|
||||||
|
return function(...args) {
|
||||||
|
if (ran) return;
|
||||||
|
ran = true;
|
||||||
|
return fn?.apply(this, args);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function stopImmediatePropagation(fn) {
|
||||||
|
return function(...args) {
|
||||||
|
var event = (
|
||||||
|
/** @type {Event} */
|
||||||
|
args[0]
|
||||||
|
);
|
||||||
|
event.stopImmediatePropagation();
|
||||||
|
return fn?.apply(this, args);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function preventDefault(fn) {
|
||||||
|
return function(...args) {
|
||||||
|
var event = (
|
||||||
|
/** @type {Event} */
|
||||||
|
args[0]
|
||||||
|
);
|
||||||
|
event.preventDefault();
|
||||||
|
return fn?.apply(this, args);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function passive(node, [event, handler]) {
|
||||||
|
user_pre_effect(() => {
|
||||||
|
return on(node, event, handler() ?? noop, {
|
||||||
|
passive: true
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function nonpassive(node, [event, handler]) {
|
||||||
|
user_pre_effect(() => {
|
||||||
|
return on(node, event, handler() ?? noop, {
|
||||||
|
passive: false
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// node_modules/svelte/src/legacy/legacy-client.js
|
||||||
|
function createClassComponent(options) {
|
||||||
|
return new Svelte4Component(options);
|
||||||
|
}
|
||||||
|
function asClassComponent(component) {
|
||||||
|
return class extends Svelte4Component {
|
||||||
|
/** @param {any} options */
|
||||||
|
constructor(options) {
|
||||||
|
super({
|
||||||
|
component,
|
||||||
|
...options
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
var Svelte4Component = class {
|
||||||
|
/** @type {any} */
|
||||||
|
#events;
|
||||||
|
/** @type {Record<string, any>} */
|
||||||
|
#instance;
|
||||||
|
/**
|
||||||
|
* @param {ComponentConstructorOptions & {
|
||||||
|
* component: any;
|
||||||
|
* }} options
|
||||||
|
*/
|
||||||
|
constructor(options) {
|
||||||
|
var sources = /* @__PURE__ */ new Map();
|
||||||
|
var add_source = (key, value) => {
|
||||||
|
var s = mutable_source(value, false, false);
|
||||||
|
sources.set(key, s);
|
||||||
|
return s;
|
||||||
|
};
|
||||||
|
const props = new Proxy(
|
||||||
|
{ ...options.props || {}, $$events: {} },
|
||||||
|
{
|
||||||
|
get(target, prop) {
|
||||||
|
return get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
|
||||||
|
},
|
||||||
|
has(target, prop) {
|
||||||
|
if (prop === LEGACY_PROPS) return true;
|
||||||
|
get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
|
||||||
|
return Reflect.has(target, prop);
|
||||||
|
},
|
||||||
|
set(target, prop, value) {
|
||||||
|
set(sources.get(prop) ?? add_source(prop, value), value);
|
||||||
|
return Reflect.set(target, prop, value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
this.#instance = (options.hydrate ? hydrate : mount)(options.component, {
|
||||||
|
target: options.target,
|
||||||
|
anchor: options.anchor,
|
||||||
|
props,
|
||||||
|
context: options.context,
|
||||||
|
intro: options.intro ?? false,
|
||||||
|
recover: options.recover
|
||||||
|
});
|
||||||
|
if (!async_mode_flag && (!options?.props?.$$host || options.sync === false)) {
|
||||||
|
flushSync();
|
||||||
|
}
|
||||||
|
this.#events = props.$$events;
|
||||||
|
for (const key of Object.keys(this.#instance)) {
|
||||||
|
if (key === "$set" || key === "$destroy" || key === "$on") continue;
|
||||||
|
define_property(this, key, {
|
||||||
|
get() {
|
||||||
|
return this.#instance[key];
|
||||||
|
},
|
||||||
|
/** @param {any} value */
|
||||||
|
set(value) {
|
||||||
|
this.#instance[key] = value;
|
||||||
|
},
|
||||||
|
enumerable: true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
this.#instance.$set = /** @param {Record<string, any>} next */
|
||||||
|
(next) => {
|
||||||
|
Object.assign(props, next);
|
||||||
|
};
|
||||||
|
this.#instance.$destroy = () => {
|
||||||
|
unmount(this.#instance);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
/** @param {Record<string, any>} props */
|
||||||
|
$set(props) {
|
||||||
|
this.#instance.$set(props);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} event
|
||||||
|
* @param {(...args: any[]) => any} callback
|
||||||
|
* @returns {any}
|
||||||
|
*/
|
||||||
|
$on(event, callback) {
|
||||||
|
this.#events[event] = this.#events[event] || [];
|
||||||
|
const cb = (...args) => callback.call(this, ...args);
|
||||||
|
this.#events[event].push(cb);
|
||||||
|
return () => {
|
||||||
|
this.#events[event] = this.#events[event].filter(
|
||||||
|
/** @param {any} fn */
|
||||||
|
(fn) => fn !== cb
|
||||||
|
);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
$destroy() {
|
||||||
|
this.#instance.$destroy();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
function run(fn) {
|
||||||
|
user_pre_effect(() => {
|
||||||
|
fn();
|
||||||
|
var effect = (
|
||||||
|
/** @type {import('#client').Effect} */
|
||||||
|
active_effect
|
||||||
|
);
|
||||||
|
if ((effect.f & DIRTY) !== 0) {
|
||||||
|
let filename = "a file (we can't know which one)";
|
||||||
|
if (true_default) {
|
||||||
|
filename = dev_current_component_function?.[FILENAME] ?? filename;
|
||||||
|
}
|
||||||
|
legacy_recursive_reactive_block(filename);
|
||||||
|
set_signal_status(effect, MAYBE_DIRTY);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function handlers(...handlers2) {
|
||||||
|
return function(event) {
|
||||||
|
const { stopImmediatePropagation: stopImmediatePropagation2 } = event;
|
||||||
|
let stopped = false;
|
||||||
|
event.stopImmediatePropagation = () => {
|
||||||
|
stopped = true;
|
||||||
|
stopImmediatePropagation2.call(event);
|
||||||
|
};
|
||||||
|
const errors = [];
|
||||||
|
for (const handler of handlers2) {
|
||||||
|
try {
|
||||||
|
handler?.call(this, event);
|
||||||
|
} catch (e) {
|
||||||
|
errors.push(e);
|
||||||
|
}
|
||||||
|
if (stopped) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (let error of errors) {
|
||||||
|
queueMicrotask(() => {
|
||||||
|
throw error;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function createBubbler() {
|
||||||
|
const active_component_context = component_context;
|
||||||
|
if (active_component_context === null) {
|
||||||
|
lifecycle_outside_component("createBubbler");
|
||||||
|
}
|
||||||
|
return (type) => (event) => {
|
||||||
|
const events = (
|
||||||
|
/** @type {Record<string, Function | Function[]>} */
|
||||||
|
active_component_context.s.$$events?.[
|
||||||
|
/** @type {any} */
|
||||||
|
type
|
||||||
|
]
|
||||||
|
);
|
||||||
|
if (events) {
|
||||||
|
const callbacks = is_array(events) ? events.slice() : [events];
|
||||||
|
for (const fn of callbacks) {
|
||||||
|
fn.call(active_component_context.x, event);
|
||||||
|
}
|
||||||
|
return !event.defaultPrevented;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export {
|
||||||
|
hash,
|
||||||
|
is_void,
|
||||||
|
is_capture_event,
|
||||||
|
can_delegate_event,
|
||||||
|
normalize_attribute,
|
||||||
|
is_raw_text_element,
|
||||||
|
sanitize_location,
|
||||||
|
create_fragment_from_html,
|
||||||
|
assign_nodes,
|
||||||
|
from_html,
|
||||||
|
from_svg,
|
||||||
|
from_mathml,
|
||||||
|
from_tree,
|
||||||
|
with_script,
|
||||||
|
text,
|
||||||
|
comment,
|
||||||
|
append,
|
||||||
|
props_id,
|
||||||
|
should_intro,
|
||||||
|
set_should_intro,
|
||||||
|
set_text,
|
||||||
|
mount,
|
||||||
|
hydrate,
|
||||||
|
unmount,
|
||||||
|
trusted,
|
||||||
|
self,
|
||||||
|
stopPropagation,
|
||||||
|
once,
|
||||||
|
stopImmediatePropagation,
|
||||||
|
preventDefault,
|
||||||
|
passive,
|
||||||
|
nonpassive,
|
||||||
|
createClassComponent,
|
||||||
|
asClassComponent,
|
||||||
|
run,
|
||||||
|
handlers,
|
||||||
|
createBubbler
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=chunk-UWINOEWN.js.map
|
||||||
7
node_modules/.vite/deps/chunk-UWINOEWN.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-UWINOEWN.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
5124
node_modules/.vite/deps/chunk-VKI34JCA.js
generated
vendored
Normal file
5124
node_modules/.vite/deps/chunk-VKI34JCA.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
node_modules/.vite/deps/chunk-VKI34JCA.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-VKI34JCA.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
213
node_modules/.vite/deps/chunk-VZQZA5WB.js
generated
vendored
Normal file
213
node_modules/.vite/deps/chunk-VZQZA5WB.js
generated
vendored
Normal file
@ -0,0 +1,213 @@
|
|||||||
|
// node_modules/esm-env/true.js
|
||||||
|
var true_default = true;
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/client/warnings.js
|
||||||
|
var bold = "font-weight: bold";
|
||||||
|
var normal = "font-weight: normal";
|
||||||
|
function assignment_value_stale(property, location) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] assignment_value_stale
|
||||||
|
%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.
|
||||||
|
https://svelte.dev/e/assignment_value_stale`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/assignment_value_stale`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function await_waterfall(name, location) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] await_waterfall
|
||||||
|
%cAn async derived, \`${name}\` (${location}) was not read immediately after it resolved. This often indicates an unnecessary waterfall, which can slow down your app
|
||||||
|
https://svelte.dev/e/await_waterfall`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/await_waterfall`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function binding_property_non_reactive(binding, location) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(
|
||||||
|
`%c[svelte] binding_property_non_reactive
|
||||||
|
%c${location ? `\`${binding}\` (${location}) is binding to a non-reactive property` : `\`${binding}\` is binding to a non-reactive property`}
|
||||||
|
https://svelte.dev/e/binding_property_non_reactive`,
|
||||||
|
bold,
|
||||||
|
normal
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/binding_property_non_reactive`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function console_log_state(method) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] console_log_state
|
||||||
|
%cYour \`console.${method}\` contained \`$state\` proxies. Consider using \`$inspect(...)\` or \`$state.snapshot(...)\` instead
|
||||||
|
https://svelte.dev/e/console_log_state`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/console_log_state`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function event_handler_invalid(handler, suggestion) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] event_handler_invalid
|
||||||
|
%c${handler} should be a function. Did you mean to ${suggestion}?
|
||||||
|
https://svelte.dev/e/event_handler_invalid`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/event_handler_invalid`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function hydratable_missing_but_expected(key) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] hydratable_missing_but_expected
|
||||||
|
%cExpected to find a hydratable with key \`${key}\` during hydration, but did not.
|
||||||
|
https://svelte.dev/e/hydratable_missing_but_expected`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/hydratable_missing_but_expected`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function hydration_attribute_changed(attribute, html, value) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] hydration_attribute_changed
|
||||||
|
%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
|
||||||
|
https://svelte.dev/e/hydration_attribute_changed`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/hydration_attribute_changed`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function hydration_html_changed(location) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(
|
||||||
|
`%c[svelte] hydration_html_changed
|
||||||
|
%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"}
|
||||||
|
https://svelte.dev/e/hydration_html_changed`,
|
||||||
|
bold,
|
||||||
|
normal
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/hydration_html_changed`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function hydration_mismatch(location) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(
|
||||||
|
`%c[svelte] hydration_mismatch
|
||||||
|
%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"}
|
||||||
|
https://svelte.dev/e/hydration_mismatch`,
|
||||||
|
bold,
|
||||||
|
normal
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/hydration_mismatch`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function invalid_raw_snippet_render() {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] invalid_raw_snippet_render
|
||||||
|
%cThe \`render\` function passed to \`createRawSnippet\` should return HTML for a single element
|
||||||
|
https://svelte.dev/e/invalid_raw_snippet_render`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/invalid_raw_snippet_render`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function legacy_recursive_reactive_block(filename) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] legacy_recursive_reactive_block
|
||||||
|
%cDetected a migrated \`$:\` reactive block in \`${filename}\` that both accesses and updates the same reactive value. This may cause recursive updates when converted to an \`$effect\`.
|
||||||
|
https://svelte.dev/e/legacy_recursive_reactive_block`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/legacy_recursive_reactive_block`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function lifecycle_double_unmount() {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] lifecycle_double_unmount
|
||||||
|
%cTried to unmount a component that was not mounted
|
||||||
|
https://svelte.dev/e/lifecycle_double_unmount`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/lifecycle_double_unmount`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function ownership_invalid_binding(parent, prop, child, owner) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] ownership_invalid_binding
|
||||||
|
%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}={...}\`)
|
||||||
|
https://svelte.dev/e/ownership_invalid_binding`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/ownership_invalid_binding`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function ownership_invalid_mutation(name, location, prop, parent) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] ownership_invalid_mutation
|
||||||
|
%cMutating unbound props (\`${name}\`, at ${location}) is strongly discouraged. Consider using \`bind:${prop}={...}\` in ${parent} (or using a callback) instead
|
||||||
|
https://svelte.dev/e/ownership_invalid_mutation`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/ownership_invalid_mutation`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function select_multiple_invalid_value() {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] select_multiple_invalid_value
|
||||||
|
%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.
|
||||||
|
https://svelte.dev/e/select_multiple_invalid_value`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/select_multiple_invalid_value`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function state_proxy_equality_mismatch(operator) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] state_proxy_equality_mismatch
|
||||||
|
%cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${operator}\` will produce unexpected results
|
||||||
|
https://svelte.dev/e/state_proxy_equality_mismatch`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/state_proxy_equality_mismatch`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function state_proxy_unmount() {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] state_proxy_unmount
|
||||||
|
%cTried to unmount a state proxy, rather than a component
|
||||||
|
https://svelte.dev/e/state_proxy_unmount`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/state_proxy_unmount`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function svelte_boundary_reset_noop() {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] svelte_boundary_reset_noop
|
||||||
|
%cA \`<svelte:boundary>\` \`reset\` function only resets the boundary the first time it is called
|
||||||
|
https://svelte.dev/e/svelte_boundary_reset_noop`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function transition_slide_display(value) {
|
||||||
|
if (true_default) {
|
||||||
|
console.warn(`%c[svelte] transition_slide_display
|
||||||
|
%cThe \`slide\` transition does not work correctly for elements with \`display: ${value}\`
|
||||||
|
https://svelte.dev/e/transition_slide_display`, bold, normal);
|
||||||
|
} else {
|
||||||
|
console.warn(`https://svelte.dev/e/transition_slide_display`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export {
|
||||||
|
true_default,
|
||||||
|
assignment_value_stale,
|
||||||
|
await_waterfall,
|
||||||
|
binding_property_non_reactive,
|
||||||
|
console_log_state,
|
||||||
|
event_handler_invalid,
|
||||||
|
hydratable_missing_but_expected,
|
||||||
|
hydration_attribute_changed,
|
||||||
|
hydration_html_changed,
|
||||||
|
hydration_mismatch,
|
||||||
|
invalid_raw_snippet_render,
|
||||||
|
legacy_recursive_reactive_block,
|
||||||
|
lifecycle_double_unmount,
|
||||||
|
ownership_invalid_binding,
|
||||||
|
ownership_invalid_mutation,
|
||||||
|
select_multiple_invalid_value,
|
||||||
|
state_proxy_equality_mismatch,
|
||||||
|
state_proxy_unmount,
|
||||||
|
svelte_boundary_reset_noop,
|
||||||
|
transition_slide_display
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=chunk-VZQZA5WB.js.map
|
||||||
7
node_modules/.vite/deps/chunk-VZQZA5WB.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-VZQZA5WB.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
148
node_modules/.vite/deps/chunk-YERFD2CZ.js
generated
vendored
Normal file
148
node_modules/.vite/deps/chunk-YERFD2CZ.js
generated
vendored
Normal file
@ -0,0 +1,148 @@
|
|||||||
|
// node_modules/svelte/src/easing/index.js
|
||||||
|
function linear(t) {
|
||||||
|
return t;
|
||||||
|
}
|
||||||
|
function backInOut(t) {
|
||||||
|
const s = 1.70158 * 1.525;
|
||||||
|
if ((t *= 2) < 1) return 0.5 * (t * t * ((s + 1) * t - s));
|
||||||
|
return 0.5 * ((t -= 2) * t * ((s + 1) * t + s) + 2);
|
||||||
|
}
|
||||||
|
function backIn(t) {
|
||||||
|
const s = 1.70158;
|
||||||
|
return t * t * ((s + 1) * t - s);
|
||||||
|
}
|
||||||
|
function backOut(t) {
|
||||||
|
const s = 1.70158;
|
||||||
|
return --t * t * ((s + 1) * t + s) + 1;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
function bounceInOut(t) {
|
||||||
|
return t < 0.5 ? 0.5 * (1 - bounceOut(1 - t * 2)) : 0.5 * bounceOut(t * 2 - 1) + 0.5;
|
||||||
|
}
|
||||||
|
function bounceIn(t) {
|
||||||
|
return 1 - bounceOut(1 - t);
|
||||||
|
}
|
||||||
|
function circInOut(t) {
|
||||||
|
if ((t *= 2) < 1) return -0.5 * (Math.sqrt(1 - t * t) - 1);
|
||||||
|
return 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);
|
||||||
|
}
|
||||||
|
function circIn(t) {
|
||||||
|
return 1 - Math.sqrt(1 - t * t);
|
||||||
|
}
|
||||||
|
function circOut(t) {
|
||||||
|
return Math.sqrt(1 - --t * t);
|
||||||
|
}
|
||||||
|
function cubicInOut(t) {
|
||||||
|
return t < 0.5 ? 4 * t * t * t : 0.5 * Math.pow(2 * t - 2, 3) + 1;
|
||||||
|
}
|
||||||
|
function cubicIn(t) {
|
||||||
|
return t * t * t;
|
||||||
|
}
|
||||||
|
function cubicOut(t) {
|
||||||
|
const f = t - 1;
|
||||||
|
return f * f * f + 1;
|
||||||
|
}
|
||||||
|
function elasticInOut(t) {
|
||||||
|
return t < 0.5 ? 0.5 * Math.sin(13 * Math.PI / 2 * 2 * t) * Math.pow(2, 10 * (2 * t - 1)) : 0.5 * Math.sin(-13 * Math.PI / 2 * (2 * t - 1 + 1)) * Math.pow(2, -10 * (2 * t - 1)) + 1;
|
||||||
|
}
|
||||||
|
function elasticIn(t) {
|
||||||
|
return Math.sin(13 * t * Math.PI / 2) * Math.pow(2, 10 * (t - 1));
|
||||||
|
}
|
||||||
|
function elasticOut(t) {
|
||||||
|
return Math.sin(-13 * (t + 1) * Math.PI / 2) * Math.pow(2, -10 * t) + 1;
|
||||||
|
}
|
||||||
|
function expoInOut(t) {
|
||||||
|
return t === 0 || t === 1 ? t : t < 0.5 ? 0.5 * Math.pow(2, 20 * t - 10) : -0.5 * Math.pow(2, 10 - t * 20) + 1;
|
||||||
|
}
|
||||||
|
function expoIn(t) {
|
||||||
|
return t === 0 ? t : Math.pow(2, 10 * (t - 1));
|
||||||
|
}
|
||||||
|
function expoOut(t) {
|
||||||
|
return t === 1 ? t : 1 - Math.pow(2, -10 * t);
|
||||||
|
}
|
||||||
|
function quadInOut(t) {
|
||||||
|
t /= 0.5;
|
||||||
|
if (t < 1) return 0.5 * t * t;
|
||||||
|
t--;
|
||||||
|
return -0.5 * (t * (t - 2) - 1);
|
||||||
|
}
|
||||||
|
function quadIn(t) {
|
||||||
|
return t * t;
|
||||||
|
}
|
||||||
|
function quadOut(t) {
|
||||||
|
return -t * (t - 2);
|
||||||
|
}
|
||||||
|
function quartInOut(t) {
|
||||||
|
return t < 0.5 ? 8 * Math.pow(t, 4) : -8 * Math.pow(t - 1, 4) + 1;
|
||||||
|
}
|
||||||
|
function quartIn(t) {
|
||||||
|
return Math.pow(t, 4);
|
||||||
|
}
|
||||||
|
function quartOut(t) {
|
||||||
|
return Math.pow(t - 1, 3) * (1 - t) + 1;
|
||||||
|
}
|
||||||
|
function quintInOut(t) {
|
||||||
|
if ((t *= 2) < 1) return 0.5 * t * t * t * t * t;
|
||||||
|
return 0.5 * ((t -= 2) * t * t * t * t + 2);
|
||||||
|
}
|
||||||
|
function quintIn(t) {
|
||||||
|
return t * t * t * t * t;
|
||||||
|
}
|
||||||
|
function quintOut(t) {
|
||||||
|
return --t * t * t * t * t + 1;
|
||||||
|
}
|
||||||
|
function sineInOut(t) {
|
||||||
|
return -0.5 * (Math.cos(Math.PI * t) - 1);
|
||||||
|
}
|
||||||
|
function sineIn(t) {
|
||||||
|
const v = Math.cos(t * Math.PI * 0.5);
|
||||||
|
if (Math.abs(v) < 1e-14) return 1;
|
||||||
|
else return 1 - v;
|
||||||
|
}
|
||||||
|
function sineOut(t) {
|
||||||
|
return Math.sin(t * Math.PI / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
export {
|
||||||
|
linear,
|
||||||
|
backInOut,
|
||||||
|
backIn,
|
||||||
|
backOut,
|
||||||
|
bounceOut,
|
||||||
|
bounceInOut,
|
||||||
|
bounceIn,
|
||||||
|
circInOut,
|
||||||
|
circIn,
|
||||||
|
circOut,
|
||||||
|
cubicInOut,
|
||||||
|
cubicIn,
|
||||||
|
cubicOut,
|
||||||
|
elasticInOut,
|
||||||
|
elasticIn,
|
||||||
|
elasticOut,
|
||||||
|
expoInOut,
|
||||||
|
expoIn,
|
||||||
|
expoOut,
|
||||||
|
quadInOut,
|
||||||
|
quadIn,
|
||||||
|
quadOut,
|
||||||
|
quartInOut,
|
||||||
|
quartIn,
|
||||||
|
quartOut,
|
||||||
|
quintInOut,
|
||||||
|
quintIn,
|
||||||
|
quintOut,
|
||||||
|
sineInOut,
|
||||||
|
sineIn,
|
||||||
|
sineOut
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=chunk-YERFD2CZ.js.map
|
||||||
7
node_modules/.vite/deps/chunk-YERFD2CZ.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-YERFD2CZ.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3
node_modules/.vite/deps/package.json
generated
vendored
Normal file
3
node_modules/.vite/deps/package.json
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"type": "module"
|
||||||
|
}
|
||||||
53
node_modules/.vite/deps/svelte.js
generated
vendored
Normal file
53
node_modules/.vite/deps/svelte.js
generated
vendored
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
import {
|
||||||
|
afterUpdate,
|
||||||
|
beforeUpdate,
|
||||||
|
createEventDispatcher,
|
||||||
|
createRawSnippet,
|
||||||
|
getAbortSignal,
|
||||||
|
hydratable,
|
||||||
|
onDestroy,
|
||||||
|
onMount
|
||||||
|
} from "./chunk-3EAXA6ZA.js";
|
||||||
|
import "./chunk-U7P2NEEE.js";
|
||||||
|
import {
|
||||||
|
hydrate,
|
||||||
|
mount,
|
||||||
|
unmount
|
||||||
|
} from "./chunk-UWINOEWN.js";
|
||||||
|
import {
|
||||||
|
createContext,
|
||||||
|
flushSync,
|
||||||
|
fork,
|
||||||
|
getAllContexts,
|
||||||
|
getContext,
|
||||||
|
hasContext,
|
||||||
|
setContext,
|
||||||
|
settled,
|
||||||
|
tick,
|
||||||
|
untrack
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.js";
|
||||||
|
export {
|
||||||
|
afterUpdate,
|
||||||
|
beforeUpdate,
|
||||||
|
createContext,
|
||||||
|
createEventDispatcher,
|
||||||
|
createRawSnippet,
|
||||||
|
flushSync,
|
||||||
|
fork,
|
||||||
|
getAbortSignal,
|
||||||
|
getAllContexts,
|
||||||
|
getContext,
|
||||||
|
hasContext,
|
||||||
|
hydratable,
|
||||||
|
hydrate,
|
||||||
|
mount,
|
||||||
|
onDestroy,
|
||||||
|
onMount,
|
||||||
|
setContext,
|
||||||
|
settled,
|
||||||
|
tick,
|
||||||
|
unmount,
|
||||||
|
untrack
|
||||||
|
};
|
||||||
7
node_modules/.vite/deps/svelte.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
8
node_modules/.vite/deps/svelte___clsx.js
generated
vendored
Normal file
8
node_modules/.vite/deps/svelte___clsx.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import {
|
||||||
|
clsx,
|
||||||
|
clsx_default
|
||||||
|
} from "./chunk-U7P2NEEE.js";
|
||||||
|
export {
|
||||||
|
clsx,
|
||||||
|
clsx_default as default
|
||||||
|
};
|
||||||
7
node_modules/.vite/deps/svelte___clsx.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte___clsx.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
56
node_modules/.vite/deps/svelte_animate.js
generated
vendored
Normal file
56
node_modules/.vite/deps/svelte_animate.js
generated
vendored
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
import {
|
||||||
|
cubicOut
|
||||||
|
} from "./chunk-YERFD2CZ.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/animate/index.js
|
||||||
|
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) => {
|
||||||
|
var x = u * dx;
|
||||||
|
var y = u * dy;
|
||||||
|
var sx2 = t + u * dsx;
|
||||||
|
var sy2 = t + u * dsy;
|
||||||
|
return `transform: ${transform} translate(${x}px, ${y}px) scale(${sx2}, ${sy2});`;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function get_zoom(element) {
|
||||||
|
if ("currentCSSZoom" in element) {
|
||||||
|
return (
|
||||||
|
/** @type {number} */
|
||||||
|
element.currentCSSZoom
|
||||||
|
);
|
||||||
|
}
|
||||||
|
var current = element;
|
||||||
|
var zoom = 1;
|
||||||
|
while (current !== null) {
|
||||||
|
zoom *= +getComputedStyle(current).zoom;
|
||||||
|
current = /** @type {Element | null} */
|
||||||
|
current.parentElement;
|
||||||
|
}
|
||||||
|
return zoom;
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
flip
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=svelte_animate.js.map
|
||||||
7
node_modules/.vite/deps/svelte_animate.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_animate.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"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": ";;;;;AAYO,SAAS,KAAK,MAAM,EAAE,MAAM,GAAG,GAAG,SAAS,CAAC,GAAG;AACrD,MAAI,EAAE,QAAQ,GAAG,WAAW,CAAC,MAAM,KAAK,KAAK,CAAC,IAAI,KAAK,SAAS,SAAS,IAAI;AAE7E,MAAI,QAAQ,iBAAiB,IAAI;AAGjC,MAAI,YAAY,MAAM,cAAc,SAAS,KAAK,MAAM;AACxD,MAAI,CAAC,IAAI,EAAE,IAAI,MAAM,gBAAgB,MAAM,GAAG,EAAE,IAAI,UAAU;AAC9D,QAAM,KAAK;AACX,QAAM,KAAK;AAGX,MAAI,OAAO,SAAS,IAAI;AACxB,MAAI,KAAK,KAAK,cAAc,GAAG,QAAQ;AACvC,MAAI,KAAK,KAAK,eAAe,GAAG,SAAS;AAGzC,MAAI,KAAK,KAAK,OAAO,KAAK,QAAQ;AAClC,MAAI,KAAK,KAAK,MAAM,KAAK,SAAS;AAGlC,MAAI,KAAK,GAAG,OAAO,GAAG,QAAQ;AAC9B,MAAI,KAAK,GAAG,MAAM,GAAG,SAAS;AAG9B,MAAI,MAAM,KAAK,MAAM;AACrB,MAAI,MAAM,KAAK,MAAM;AAGrB,MAAI,MAAM,KAAK,QAAQ,GAAG;AAC1B,MAAI,MAAM,KAAK,SAAS,GAAG;AAE3B,SAAO;AAAA,IACN;AAAA,IACA,UAAU,OAAO,aAAa,aAAa,SAAS,KAAK,KAAK,KAAK,KAAK,KAAK,EAAE,CAAC,IAAI;AAAA,IACpF;AAAA,IACA,KAAK,CAAC,GAAG,MAAM;AACd,UAAI,IAAI,IAAI;AACZ,UAAI,IAAI,IAAI;AACZ,UAAIA,MAAK,IAAI,IAAI;AACjB,UAAIC,MAAK,IAAI,IAAI;AAEjB,aAAO,cAAc,SAAS,cAAc,CAAC,OAAO,CAAC,aAAaD,GAAE,KAAKC,GAAE;AAAA,IAC5E;AAAA,EACD;AACD;AAKA,SAAS,SAAS,SAAS;AAC1B,MAAI,oBAAoB,SAAS;AAChC;AAAA;AAAA,MAA8B,QAAQ;AAAA;AAAA,EACvC;AAGA,MAAI,UAAU;AACd,MAAI,OAAO;AAEX,SAAO,YAAY,MAAM;AACxB,YAAQ,CAAC,iBAAiB,OAAO,EAAE;AACnC;AAAA,IAAyC,QAAQ;AAAA,EAClD;AAEA,SAAO;AACR;",
|
||||||
|
"names": ["sx", "sy"]
|
||||||
|
}
|
||||||
13
node_modules/.vite/deps/svelte_attachments.js
generated
vendored
Normal file
13
node_modules/.vite/deps/svelte_attachments.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import {
|
||||||
|
createAttachmentKey,
|
||||||
|
fromAction
|
||||||
|
} from "./chunk-3EAXA6ZA.js";
|
||||||
|
import "./chunk-U7P2NEEE.js";
|
||||||
|
import "./chunk-UWINOEWN.js";
|
||||||
|
import "./chunk-VKI34JCA.js";
|
||||||
|
import "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.js";
|
||||||
|
export {
|
||||||
|
createAttachmentKey,
|
||||||
|
fromAction
|
||||||
|
};
|
||||||
7
node_modules/.vite/deps/svelte_attachments.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_attachments.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
66
node_modules/.vite/deps/svelte_easing.js
generated
vendored
Normal file
66
node_modules/.vite/deps/svelte_easing.js
generated
vendored
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
import {
|
||||||
|
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
|
||||||
|
} from "./chunk-YERFD2CZ.js";
|
||||||
|
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
|
||||||
|
};
|
||||||
7
node_modules/.vite/deps/svelte_easing.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_easing.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
9
node_modules/.vite/deps/svelte_events.js
generated
vendored
Normal file
9
node_modules/.vite/deps/svelte_events.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import "./chunk-7RQDXF5S.js";
|
||||||
|
import {
|
||||||
|
on
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.js";
|
||||||
|
export {
|
||||||
|
on
|
||||||
|
};
|
||||||
7
node_modules/.vite/deps/svelte_events.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_events.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
5
node_modules/.vite/deps/svelte_internal.js
generated
vendored
Normal file
5
node_modules/.vite/deps/svelte_internal.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// 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.`
|
||||||
|
);
|
||||||
|
//# sourceMappingURL=svelte_internal.js.map
|
||||||
7
node_modules/.vite/deps/svelte_internal.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"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;AAAA,EACT;AACD;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
399
node_modules/.vite/deps/svelte_internal_client.js
generated
vendored
Normal file
399
node_modules/.vite/deps/svelte_internal_client.js
generated
vendored
Normal file
@ -0,0 +1,399 @@
|
|||||||
|
import {
|
||||||
|
CLASS,
|
||||||
|
STYLE,
|
||||||
|
action,
|
||||||
|
add_legacy_event_listener,
|
||||||
|
add_locations,
|
||||||
|
animation,
|
||||||
|
append_styles,
|
||||||
|
assign,
|
||||||
|
assign_and,
|
||||||
|
assign_nullish,
|
||||||
|
assign_or,
|
||||||
|
async,
|
||||||
|
attach,
|
||||||
|
attr,
|
||||||
|
attribute_effect,
|
||||||
|
await_block,
|
||||||
|
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,
|
||||||
|
bubble_event,
|
||||||
|
check_target,
|
||||||
|
cleanup_styles,
|
||||||
|
clsx,
|
||||||
|
component,
|
||||||
|
createAttachmentKey,
|
||||||
|
create_custom_element,
|
||||||
|
create_ownership_validator,
|
||||||
|
css_props,
|
||||||
|
element,
|
||||||
|
head,
|
||||||
|
hmr,
|
||||||
|
html,
|
||||||
|
if_block,
|
||||||
|
init,
|
||||||
|
init_select,
|
||||||
|
inspect,
|
||||||
|
invalidate_store,
|
||||||
|
key,
|
||||||
|
legacy_api,
|
||||||
|
legacy_rest_props,
|
||||||
|
log_if_contains_state,
|
||||||
|
mark_store_binding,
|
||||||
|
prevent_snippet_stringification,
|
||||||
|
prop,
|
||||||
|
raf,
|
||||||
|
reactive_import,
|
||||||
|
remove_input_defaults,
|
||||||
|
rest_props,
|
||||||
|
sanitize_slots,
|
||||||
|
select_option,
|
||||||
|
set_attribute,
|
||||||
|
set_checked,
|
||||||
|
set_class,
|
||||||
|
set_custom_element_data,
|
||||||
|
set_default_checked,
|
||||||
|
set_default_value,
|
||||||
|
set_selected,
|
||||||
|
set_style,
|
||||||
|
set_value,
|
||||||
|
set_xlink_attribute,
|
||||||
|
setup_stores,
|
||||||
|
slot,
|
||||||
|
snippet,
|
||||||
|
spread_props,
|
||||||
|
store_get,
|
||||||
|
store_mutate,
|
||||||
|
store_set,
|
||||||
|
store_unsub,
|
||||||
|
transition,
|
||||||
|
update_legacy_props,
|
||||||
|
update_pre_prop,
|
||||||
|
update_pre_store,
|
||||||
|
update_prop,
|
||||||
|
update_store,
|
||||||
|
validate_binding,
|
||||||
|
validate_dynamic_element_tag,
|
||||||
|
validate_each_keys,
|
||||||
|
validate_snippet_args,
|
||||||
|
validate_store,
|
||||||
|
validate_void_dynamic_element,
|
||||||
|
wrap_snippet
|
||||||
|
} from "./chunk-3EAXA6ZA.js";
|
||||||
|
import "./chunk-U7P2NEEE.js";
|
||||||
|
import {
|
||||||
|
append,
|
||||||
|
comment,
|
||||||
|
from_html,
|
||||||
|
from_mathml,
|
||||||
|
from_svg,
|
||||||
|
from_tree,
|
||||||
|
once,
|
||||||
|
preventDefault,
|
||||||
|
props_id,
|
||||||
|
self,
|
||||||
|
set_text,
|
||||||
|
stopImmediatePropagation,
|
||||||
|
stopPropagation,
|
||||||
|
text,
|
||||||
|
trusted,
|
||||||
|
with_script
|
||||||
|
} from "./chunk-UWINOEWN.js";
|
||||||
|
import {
|
||||||
|
$document,
|
||||||
|
$window,
|
||||||
|
FILENAME,
|
||||||
|
HMR,
|
||||||
|
NAMESPACE_SVG,
|
||||||
|
aborted,
|
||||||
|
active_effect,
|
||||||
|
add_svelte_meta,
|
||||||
|
apply,
|
||||||
|
async_body,
|
||||||
|
async_derived,
|
||||||
|
autofocus,
|
||||||
|
boundary,
|
||||||
|
child,
|
||||||
|
deep_read,
|
||||||
|
deep_read_state,
|
||||||
|
deferred_template_effect,
|
||||||
|
delegate,
|
||||||
|
derived_safe_equal,
|
||||||
|
each,
|
||||||
|
eager,
|
||||||
|
effect,
|
||||||
|
effect_root,
|
||||||
|
effect_tracking,
|
||||||
|
equals,
|
||||||
|
event,
|
||||||
|
exclude_from_object,
|
||||||
|
fallback,
|
||||||
|
first_child,
|
||||||
|
flushSync,
|
||||||
|
for_await_track_reactivity_loss,
|
||||||
|
get,
|
||||||
|
hydrate_template,
|
||||||
|
index,
|
||||||
|
invalid_default_snippet,
|
||||||
|
invalidate_inner_signals,
|
||||||
|
invoke_error_boundary,
|
||||||
|
legacy_pre_effect,
|
||||||
|
legacy_pre_effect_reset,
|
||||||
|
mutable_source,
|
||||||
|
mutate,
|
||||||
|
next,
|
||||||
|
noop,
|
||||||
|
pending,
|
||||||
|
pop,
|
||||||
|
proxy,
|
||||||
|
push,
|
||||||
|
remove_textarea_child,
|
||||||
|
render_effect,
|
||||||
|
replay_events,
|
||||||
|
reset,
|
||||||
|
run2 as run,
|
||||||
|
run_after_blockers,
|
||||||
|
safe_get,
|
||||||
|
save,
|
||||||
|
set,
|
||||||
|
sibling,
|
||||||
|
snapshot,
|
||||||
|
state,
|
||||||
|
strict_equals,
|
||||||
|
tag,
|
||||||
|
tag_proxy,
|
||||||
|
template_effect,
|
||||||
|
tick,
|
||||||
|
to_array,
|
||||||
|
trace,
|
||||||
|
track_reactivity_loss,
|
||||||
|
untrack,
|
||||||
|
update,
|
||||||
|
update_pre,
|
||||||
|
user_derived,
|
||||||
|
user_effect,
|
||||||
|
user_pre_effect
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.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_and,
|
||||||
|
assign_nullish,
|
||||||
|
assign_or,
|
||||||
|
async,
|
||||||
|
async_body,
|
||||||
|
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,
|
||||||
|
deep_read,
|
||||||
|
deep_read_state,
|
||||||
|
deferred_template_effect,
|
||||||
|
delegate,
|
||||||
|
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,
|
||||||
|
invoke_error_boundary,
|
||||||
|
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,
|
||||||
|
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,
|
||||||
|
self,
|
||||||
|
set,
|
||||||
|
set_attribute,
|
||||||
|
set_checked,
|
||||||
|
set_class,
|
||||||
|
set_custom_element_data,
|
||||||
|
set_default_checked,
|
||||||
|
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,
|
||||||
|
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_each_keys,
|
||||||
|
validate_snippet_args,
|
||||||
|
validate_store,
|
||||||
|
validate_void_dynamic_element,
|
||||||
|
$window as window,
|
||||||
|
with_script,
|
||||||
|
wrap_snippet
|
||||||
|
};
|
||||||
7
node_modules/.vite/deps/svelte_internal_client.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal_client.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
8
node_modules/.vite/deps/svelte_internal_disclose-version.js
generated
vendored
Normal file
8
node_modules/.vite/deps/svelte_internal_disclose-version.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// node_modules/svelte/src/version.js
|
||||||
|
var PUBLIC_VERSION = "5";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/disclose-version.js
|
||||||
|
if (typeof window !== "undefined") {
|
||||||
|
((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add(PUBLIC_VERSION);
|
||||||
|
}
|
||||||
|
//# sourceMappingURL=svelte_internal_disclose-version.js.map
|
||||||
7
node_modules/.vite/deps/svelte_internal_disclose-version.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal_disclose-version.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": ["../../svelte/src/version.js", "../../svelte/src/internal/disclose-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.45.2';\nexport const PUBLIC_VERSION = '5';\n", "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": ";AAOO,IAAM,iBAAiB;;;ACL9B,IAAI,OAAO,WAAW,aAAa;AAElC,IAAE,OAAO,aAAa,CAAC,GAAG,MAAM,oBAAI,IAAI,GAAG,IAAI,cAAc;AAC9D;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
7
node_modules/.vite/deps/svelte_internal_flags_async.js
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal_flags_async.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import {
|
||||||
|
enable_async_mode_flag
|
||||||
|
} from "./chunk-OHYQYV5R.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/flags/async.js
|
||||||
|
enable_async_mode_flag();
|
||||||
|
//# sourceMappingURL=svelte_internal_flags_async.js.map
|
||||||
7
node_modules/.vite/deps/svelte_internal_flags_async.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal_flags_async.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"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;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
7
node_modules/.vite/deps/svelte_internal_flags_legacy.js
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal_flags_legacy.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import {
|
||||||
|
enable_legacy_mode_flag
|
||||||
|
} from "./chunk-OHYQYV5R.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/flags/legacy.js
|
||||||
|
enable_legacy_mode_flag();
|
||||||
|
//# sourceMappingURL=svelte_internal_flags_legacy.js.map
|
||||||
7
node_modules/.vite/deps/svelte_internal_flags_legacy.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal_flags_legacy.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"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;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
7
node_modules/.vite/deps/svelte_internal_flags_tracing.js
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal_flags_tracing.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import {
|
||||||
|
enable_tracing_mode_flag
|
||||||
|
} from "./chunk-OHYQYV5R.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/internal/flags/tracing.js
|
||||||
|
enable_tracing_mode_flag();
|
||||||
|
//# sourceMappingURL=svelte_internal_flags_tracing.js.map
|
||||||
7
node_modules/.vite/deps/svelte_internal_flags_tracing.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_internal_flags_tracing.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"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;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
33
node_modules/.vite/deps/svelte_legacy.js
generated
vendored
Normal file
33
node_modules/.vite/deps/svelte_legacy.js
generated
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
import {
|
||||||
|
asClassComponent,
|
||||||
|
createBubbler,
|
||||||
|
createClassComponent,
|
||||||
|
handlers,
|
||||||
|
nonpassive,
|
||||||
|
once,
|
||||||
|
passive,
|
||||||
|
preventDefault,
|
||||||
|
run,
|
||||||
|
self,
|
||||||
|
stopImmediatePropagation,
|
||||||
|
stopPropagation,
|
||||||
|
trusted
|
||||||
|
} from "./chunk-UWINOEWN.js";
|
||||||
|
import "./chunk-VKI34JCA.js";
|
||||||
|
import "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.js";
|
||||||
|
export {
|
||||||
|
asClassComponent,
|
||||||
|
createBubbler,
|
||||||
|
createClassComponent,
|
||||||
|
handlers,
|
||||||
|
nonpassive,
|
||||||
|
once,
|
||||||
|
passive,
|
||||||
|
preventDefault,
|
||||||
|
run,
|
||||||
|
self,
|
||||||
|
stopImmediatePropagation,
|
||||||
|
stopPropagation,
|
||||||
|
trusted
|
||||||
|
};
|
||||||
7
node_modules/.vite/deps/svelte_legacy.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_legacy.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
543
node_modules/.vite/deps/svelte_motion.js
generated
vendored
Normal file
543
node_modules/.vite/deps/svelte_motion.js
generated
vendored
Normal file
@ -0,0 +1,543 @@
|
|||||||
|
import {
|
||||||
|
MediaQuery
|
||||||
|
} from "./chunk-KLPF4WLU.js";
|
||||||
|
import "./chunk-MNSP2PRZ.js";
|
||||||
|
import "./chunk-7RQDXF5S.js";
|
||||||
|
import {
|
||||||
|
linear
|
||||||
|
} from "./chunk-YERFD2CZ.js";
|
||||||
|
import {
|
||||||
|
loop,
|
||||||
|
raf,
|
||||||
|
writable
|
||||||
|
} from "./chunk-3EAXA6ZA.js";
|
||||||
|
import "./chunk-U7P2NEEE.js";
|
||||||
|
import "./chunk-UWINOEWN.js";
|
||||||
|
import {
|
||||||
|
deferred,
|
||||||
|
get,
|
||||||
|
noop,
|
||||||
|
render_effect,
|
||||||
|
set,
|
||||||
|
state,
|
||||||
|
tag
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import {
|
||||||
|
true_default
|
||||||
|
} from "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/motion/utils.js
|
||||||
|
function is_date(obj) {
|
||||||
|
return Object.prototype.toString.call(obj) === "[object Date]";
|
||||||
|
}
|
||||||
|
|
||||||
|
// node_modules/svelte/src/motion/spring.js
|
||||||
|
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 spring2 = ctx.opts.stiffness * delta;
|
||||||
|
const damper = ctx.opts.damping * velocity;
|
||||||
|
const acceleration = (spring2 - damper) * ctx.inv_mass;
|
||||||
|
const d = (velocity + acceleration) * 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) => (
|
||||||
|
// @ts-ignore
|
||||||
|
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`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function spring(value, opts = {}) {
|
||||||
|
const store = writable(value);
|
||||||
|
const { stiffness = 0.15, damping = 0.8, precision = 0.01 } = opts;
|
||||||
|
let last_time;
|
||||||
|
let task;
|
||||||
|
let current_token;
|
||||||
|
let last_value = (
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
let target_value = (
|
||||||
|
/** @type {T | undefined} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
let inv_mass = 1;
|
||||||
|
let inv_mass_recovery_rate = 0;
|
||||||
|
let cancel_task = false;
|
||||||
|
function set2(new_value, opts2 = {}) {
|
||||||
|
target_value = new_value;
|
||||||
|
const token = current_token = {};
|
||||||
|
if (value == null || opts2.hard || spring2.stiffness >= 1 && spring2.damping >= 1) {
|
||||||
|
cancel_task = true;
|
||||||
|
last_time = raf.now();
|
||||||
|
last_value = new_value;
|
||||||
|
store.set(value = target_value);
|
||||||
|
return Promise.resolve();
|
||||||
|
} else if (opts2.soft) {
|
||||||
|
const rate = opts2.soft === true ? 0.5 : +opts2.soft;
|
||||||
|
inv_mass_recovery_rate = 1 / (rate * 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);
|
||||||
|
const ctx = {
|
||||||
|
inv_mass,
|
||||||
|
opts: spring2,
|
||||||
|
settled: true,
|
||||||
|
dt: elapsed * 60 / 1e3
|
||||||
|
};
|
||||||
|
const next_value = tick_spring(ctx, last_value, value, target_value);
|
||||||
|
last_time = now;
|
||||||
|
last_value = /** @type {T} */
|
||||||
|
value;
|
||||||
|
store.set(value = /** @type {T} */
|
||||||
|
next_value);
|
||||||
|
if (ctx.settled) {
|
||||||
|
task = null;
|
||||||
|
}
|
||||||
|
return !ctx.settled;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return new Promise((fulfil) => {
|
||||||
|
task.promise.then(() => {
|
||||||
|
if (token === current_token) fulfil();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
const spring2 = {
|
||||||
|
set: set2,
|
||||||
|
update: (fn, opts2) => set2(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
target_value,
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
), opts2),
|
||||||
|
subscribe: store.subscribe,
|
||||||
|
stiffness,
|
||||||
|
damping,
|
||||||
|
precision
|
||||||
|
};
|
||||||
|
return spring2;
|
||||||
|
}
|
||||||
|
var Spring = class _Spring {
|
||||||
|
#stiffness = state(0.15);
|
||||||
|
#damping = state(0.8);
|
||||||
|
#precision = state(0.01);
|
||||||
|
#current;
|
||||||
|
#target;
|
||||||
|
#last_value = (
|
||||||
|
/** @type {T} */
|
||||||
|
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 {SpringOpts} [options]
|
||||||
|
*/
|
||||||
|
constructor(value, options = {}) {
|
||||||
|
this.#current = true_default ? tag(state(value), "Spring.current") : state(value);
|
||||||
|
this.#target = true_default ? tag(state(value), "Spring.target") : state(value);
|
||||||
|
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;
|
||||||
|
if (true_default) {
|
||||||
|
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 {SpringOpts} [options]
|
||||||
|
*/
|
||||||
|
static of(fn, options) {
|
||||||
|
const spring2 = new _Spring(fn(), options);
|
||||||
|
render_effect(() => {
|
||||||
|
spring2.set(fn());
|
||||||
|
});
|
||||||
|
return spring2;
|
||||||
|
}
|
||||||
|
/** @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);
|
||||||
|
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 {SpringUpdateOpts} [options]
|
||||||
|
*/
|
||||||
|
set(value, options) {
|
||||||
|
this.#deferred?.reject(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);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
function clamp(n, min, max) {
|
||||||
|
return Math.max(min, Math.min(max, n));
|
||||||
|
}
|
||||||
|
|
||||||
|
// node_modules/svelte/src/motion/tweened.js
|
||||||
|
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 = (
|
||||||
|
/** @type {Array<any>} */
|
||||||
|
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 bn = b.getTime();
|
||||||
|
const delta = bn - an;
|
||||||
|
return (t) => new Date(an + t * delta);
|
||||||
|
}
|
||||||
|
const keys = Object.keys(b);
|
||||||
|
const interpolators = {};
|
||||||
|
keys.forEach((key) => {
|
||||||
|
interpolators[key] = get_interpolator(a[key], b[key]);
|
||||||
|
});
|
||||||
|
return (t) => {
|
||||||
|
const result = {};
|
||||||
|
keys.forEach((key) => {
|
||||||
|
result[key] = interpolators[key](t);
|
||||||
|
});
|
||||||
|
return result;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
if (type === "number") {
|
||||||
|
const delta = (
|
||||||
|
/** @type {number} */
|
||||||
|
b - /** @type {number} */
|
||||||
|
a
|
||||||
|
);
|
||||||
|
return (t) => a + t * delta;
|
||||||
|
}
|
||||||
|
return () => b;
|
||||||
|
}
|
||||||
|
function tweened(value, defaults = {}) {
|
||||||
|
const store = writable(value);
|
||||||
|
let task;
|
||||||
|
let target_value = value;
|
||||||
|
function set2(new_value, opts) {
|
||||||
|
target_value = new_value;
|
||||||
|
if (value == null) {
|
||||||
|
store.set(value = new_value);
|
||||||
|
return Promise.resolve();
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
let fn;
|
||||||
|
task = loop((now) => {
|
||||||
|
if (now < start) return true;
|
||||||
|
if (!started) {
|
||||||
|
fn = interpolate(
|
||||||
|
/** @type {any} */
|
||||||
|
value,
|
||||||
|
new_value
|
||||||
|
);
|
||||||
|
if (typeof duration === "function")
|
||||||
|
duration = duration(
|
||||||
|
/** @type {any} */
|
||||||
|
value,
|
||||||
|
new_value
|
||||||
|
);
|
||||||
|
started = true;
|
||||||
|
}
|
||||||
|
if (previous_task) {
|
||||||
|
previous_task.abort();
|
||||||
|
previous_task = null;
|
||||||
|
}
|
||||||
|
const elapsed = now - start;
|
||||||
|
if (elapsed > /** @type {number} */
|
||||||
|
duration) {
|
||||||
|
store.set(value = new_value);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
store.set(value = fn(easing(elapsed / duration)));
|
||||||
|
return true;
|
||||||
|
});
|
||||||
|
return task.promise;
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
set: set2,
|
||||||
|
update: (fn, opts) => set2(fn(
|
||||||
|
/** @type {any} */
|
||||||
|
target_value,
|
||||||
|
/** @type {any} */
|
||||||
|
value
|
||||||
|
), opts),
|
||||||
|
subscribe: store.subscribe
|
||||||
|
};
|
||||||
|
}
|
||||||
|
var Tween = class _Tween {
|
||||||
|
#current;
|
||||||
|
#target;
|
||||||
|
/** @type {TweenedOptions<T>} */
|
||||||
|
#defaults;
|
||||||
|
/** @type {import('../internal/client/types').Task | null} */
|
||||||
|
#task = null;
|
||||||
|
/**
|
||||||
|
* @param {T} value
|
||||||
|
* @param {TweenedOptions<T>} options
|
||||||
|
*/
|
||||||
|
constructor(value, options = {}) {
|
||||||
|
this.#current = state(value);
|
||||||
|
this.#target = state(value);
|
||||||
|
this.#defaults = options;
|
||||||
|
if (true_default) {
|
||||||
|
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 {TweenedOptions<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 {TweenedOptions<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;
|
||||||
|
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();
|
||||||
|
}
|
||||||
|
const elapsed = now - start;
|
||||||
|
if (elapsed > /** @type {number} */
|
||||||
|
duration) {
|
||||||
|
set(this.#current, value);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
set(this.#current, fn(easing(elapsed / /** @type {number} */
|
||||||
|
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
|
||||||
|
var prefersReducedMotion = new MediaQuery(
|
||||||
|
"(prefers-reduced-motion: reduce)"
|
||||||
|
);
|
||||||
|
export {
|
||||||
|
Spring,
|
||||||
|
Tween,
|
||||||
|
prefersReducedMotion,
|
||||||
|
spring,
|
||||||
|
tweened
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=svelte_motion.js.map
|
||||||
7
node_modules/.vite/deps/svelte_motion.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_motion.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
27
node_modules/.vite/deps/svelte_reactivity.js
generated
vendored
Normal file
27
node_modules/.vite/deps/svelte_reactivity.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
import {
|
||||||
|
MediaQuery,
|
||||||
|
SvelteDate,
|
||||||
|
SvelteMap,
|
||||||
|
SvelteSet,
|
||||||
|
SvelteURL,
|
||||||
|
SvelteURLSearchParams
|
||||||
|
} from "./chunk-KLPF4WLU.js";
|
||||||
|
import "./chunk-MNSP2PRZ.js";
|
||||||
|
import "./chunk-7RQDXF5S.js";
|
||||||
|
import "./chunk-3EAXA6ZA.js";
|
||||||
|
import "./chunk-U7P2NEEE.js";
|
||||||
|
import "./chunk-UWINOEWN.js";
|
||||||
|
import {
|
||||||
|
createSubscriber
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.js";
|
||||||
|
export {
|
||||||
|
MediaQuery,
|
||||||
|
SvelteDate,
|
||||||
|
SvelteMap,
|
||||||
|
SvelteSet,
|
||||||
|
SvelteURL,
|
||||||
|
SvelteURLSearchParams,
|
||||||
|
createSubscriber
|
||||||
|
};
|
||||||
7
node_modules/.vite/deps/svelte_reactivity.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_reactivity.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": [],
|
||||||
|
"sourcesContent": [],
|
||||||
|
"mappings": "",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
124
node_modules/.vite/deps/svelte_reactivity_window.js
generated
vendored
Normal file
124
node_modules/.vite/deps/svelte_reactivity_window.js
generated
vendored
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
import {
|
||||||
|
ReactiveValue
|
||||||
|
} from "./chunk-MNSP2PRZ.js";
|
||||||
|
import "./chunk-7RQDXF5S.js";
|
||||||
|
import "./chunk-3EAXA6ZA.js";
|
||||||
|
import "./chunk-U7P2NEEE.js";
|
||||||
|
import "./chunk-UWINOEWN.js";
|
||||||
|
import {
|
||||||
|
get,
|
||||||
|
on,
|
||||||
|
set,
|
||||||
|
source,
|
||||||
|
tag
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import {
|
||||||
|
true_default
|
||||||
|
} from "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/reactivity/window/index.js
|
||||||
|
var scrollX = new ReactiveValue(
|
||||||
|
true_default ? () => window.scrollX : () => void 0,
|
||||||
|
(update) => on(window, "scroll", update)
|
||||||
|
);
|
||||||
|
var scrollY = new ReactiveValue(
|
||||||
|
true_default ? () => window.scrollY : () => void 0,
|
||||||
|
(update) => on(window, "scroll", update)
|
||||||
|
);
|
||||||
|
var innerWidth = new ReactiveValue(
|
||||||
|
true_default ? () => window.innerWidth : () => void 0,
|
||||||
|
(update) => on(window, "resize", update)
|
||||||
|
);
|
||||||
|
var innerHeight = new ReactiveValue(
|
||||||
|
true_default ? () => window.innerHeight : () => void 0,
|
||||||
|
(update) => on(window, "resize", update)
|
||||||
|
);
|
||||||
|
var outerWidth = new ReactiveValue(
|
||||||
|
true_default ? () => window.outerWidth : () => void 0,
|
||||||
|
(update) => on(window, "resize", update)
|
||||||
|
);
|
||||||
|
var outerHeight = new ReactiveValue(
|
||||||
|
true_default ? () => window.outerHeight : () => void 0,
|
||||||
|
(update) => on(window, "resize", update)
|
||||||
|
);
|
||||||
|
var screenLeft = new ReactiveValue(
|
||||||
|
true_default ? () => window.screenLeft : () => void 0,
|
||||||
|
(update) => {
|
||||||
|
let value = window.screenLeft;
|
||||||
|
let frame = requestAnimationFrame(function check() {
|
||||||
|
frame = requestAnimationFrame(check);
|
||||||
|
if (value !== (value = window.screenLeft)) {
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return () => {
|
||||||
|
cancelAnimationFrame(frame);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
var screenTop = new ReactiveValue(
|
||||||
|
true_default ? () => window.screenTop : () => void 0,
|
||||||
|
(update) => {
|
||||||
|
let value = window.screenTop;
|
||||||
|
let frame = requestAnimationFrame(function check() {
|
||||||
|
frame = requestAnimationFrame(check);
|
||||||
|
if (value !== (value = window.screenTop)) {
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return () => {
|
||||||
|
cancelAnimationFrame(frame);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
var online = new ReactiveValue(
|
||||||
|
true_default ? () => navigator.onLine : () => void 0,
|
||||||
|
(update) => {
|
||||||
|
const unsub_online = on(window, "online", update);
|
||||||
|
const unsub_offline = on(window, "offline", update);
|
||||||
|
return () => {
|
||||||
|
unsub_online();
|
||||||
|
unsub_offline();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
|
var devicePixelRatio = new class DevicePixelRatio {
|
||||||
|
#dpr = source(true_default ? window.devicePixelRatio : void 0);
|
||||||
|
#update() {
|
||||||
|
const off = on(
|
||||||
|
window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),
|
||||||
|
"change",
|
||||||
|
() => {
|
||||||
|
set(this.#dpr, window.devicePixelRatio);
|
||||||
|
off();
|
||||||
|
this.#update();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
constructor() {
|
||||||
|
if (true_default) {
|
||||||
|
this.#update();
|
||||||
|
}
|
||||||
|
if (true_default) {
|
||||||
|
tag(this.#dpr, "window.devicePixelRatio");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
get current() {
|
||||||
|
get(this.#dpr);
|
||||||
|
return true_default ? window.devicePixelRatio : void 0;
|
||||||
|
}
|
||||||
|
}();
|
||||||
|
export {
|
||||||
|
devicePixelRatio,
|
||||||
|
innerHeight,
|
||||||
|
innerWidth,
|
||||||
|
online,
|
||||||
|
outerHeight,
|
||||||
|
outerWidth,
|
||||||
|
screenLeft,
|
||||||
|
screenTop,
|
||||||
|
scrollX,
|
||||||
|
scrollY
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=svelte_reactivity_window.js.map
|
||||||
7
node_modules/.vite/deps/svelte_reactivity_window.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_reactivity_window.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": ["../../svelte/src/reactivity/window/index.js"],
|
||||||
|
"sourcesContent": ["import { BROWSER, DEV } from 'esm-env';\nimport { on } from '../../events/index.js';\nimport { ReactiveValue } from '../reactive-value.js';\nimport { get } from '../../internal/client/index.js';\nimport { set, source } from '../../internal/client/reactivity/sources.js';\nimport { tag } from '../../internal/client/dev/tracing.js';\n\n/**\n * `scrollX.current` is a reactive view of `window.scrollX`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const scrollX = new ReactiveValue(\n\tBROWSER ? () => window.scrollX : () => undefined,\n\t(update) => on(window, 'scroll', update)\n);\n\n/**\n * `scrollY.current` is a reactive view of `window.scrollY`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const scrollY = new ReactiveValue(\n\tBROWSER ? () => window.scrollY : () => undefined,\n\t(update) => on(window, 'scroll', update)\n);\n\n/**\n * `innerWidth.current` is a reactive view of `window.innerWidth`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const innerWidth = new ReactiveValue(\n\tBROWSER ? () => window.innerWidth : () => undefined,\n\t(update) => on(window, 'resize', update)\n);\n\n/**\n * `innerHeight.current` is a reactive view of `window.innerHeight`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const innerHeight = new ReactiveValue(\n\tBROWSER ? () => window.innerHeight : () => undefined,\n\t(update) => on(window, 'resize', update)\n);\n\n/**\n * `outerWidth.current` is a reactive view of `window.outerWidth`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const outerWidth = new ReactiveValue(\n\tBROWSER ? () => window.outerWidth : () => undefined,\n\t(update) => on(window, 'resize', update)\n);\n\n/**\n * `outerHeight.current` is a reactive view of `window.outerHeight`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const outerHeight = new ReactiveValue(\n\tBROWSER ? () => window.outerHeight : () => undefined,\n\t(update) => on(window, 'resize', update)\n);\n\n/**\n * `screenLeft.current` is a reactive view of `window.screenLeft`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const screenLeft = new ReactiveValue(\n\tBROWSER ? () => window.screenLeft : () => undefined,\n\t(update) => {\n\t\tlet value = window.screenLeft;\n\n\t\tlet frame = requestAnimationFrame(function check() {\n\t\t\tframe = requestAnimationFrame(check);\n\n\t\t\tif (value !== (value = window.screenLeft)) {\n\t\t\t\tupdate();\n\t\t\t}\n\t\t});\n\n\t\treturn () => {\n\t\t\tcancelAnimationFrame(frame);\n\t\t};\n\t}\n);\n\n/**\n * `screenTop.current` is a reactive view of `window.screenTop`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const screenTop = new ReactiveValue(\n\tBROWSER ? () => window.screenTop : () => undefined,\n\t(update) => {\n\t\tlet value = window.screenTop;\n\n\t\tlet frame = requestAnimationFrame(function check() {\n\t\t\tframe = requestAnimationFrame(check);\n\n\t\t\tif (value !== (value = window.screenTop)) {\n\t\t\t\tupdate();\n\t\t\t}\n\t\t});\n\n\t\treturn () => {\n\t\t\tcancelAnimationFrame(frame);\n\t\t};\n\t}\n);\n\n/**\n * `online.current` is a reactive view of `navigator.onLine`. On the server it is `undefined`.\n * @since 5.11.0\n */\nexport const online = new ReactiveValue(\n\tBROWSER ? () => navigator.onLine : () => undefined,\n\t(update) => {\n\t\tconst unsub_online = on(window, 'online', update);\n\t\tconst unsub_offline = on(window, 'offline', update);\n\t\treturn () => {\n\t\t\tunsub_online();\n\t\t\tunsub_offline();\n\t\t};\n\t}\n);\n\n/**\n * `devicePixelRatio.current` is a reactive view of `window.devicePixelRatio`. On the server it is `undefined`.\n * Note that behaviour differs between browsers — on Chrome it will respond to the current zoom level,\n * on Firefox and Safari it won't.\n * @type {{ get current(): number | undefined }}\n * @since 5.11.0\n */\nexport const devicePixelRatio = /* @__PURE__ */ new (class DevicePixelRatio {\n\t#dpr = source(BROWSER ? window.devicePixelRatio : undefined);\n\n\t#update() {\n\t\tconst off = on(\n\t\t\twindow.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),\n\t\t\t'change',\n\t\t\t() => {\n\t\t\t\tset(this.#dpr, window.devicePixelRatio);\n\n\t\t\t\toff();\n\t\t\t\tthis.#update();\n\t\t\t}\n\t\t);\n\t}\n\n\tconstructor() {\n\t\tif (BROWSER) {\n\t\t\tthis.#update();\n\t\t}\n\n\t\tif (DEV) {\n\t\t\ttag(this.#dpr, 'window.devicePixelRatio');\n\t\t}\n\t}\n\n\tget current() {\n\t\tget(this.#dpr);\n\t\treturn BROWSER ? window.devicePixelRatio : undefined;\n\t}\n})();\n"],
|
||||||
|
"mappings": ";;;;;;;;;;;;;;;;;;;;AAWO,IAAM,UAAU,IAAI;AAAA,EAC1B,eAAU,MAAM,OAAO,UAAU,MAAM;AAAA,EACvC,CAAC,WAAW,GAAG,QAAQ,UAAU,MAAM;AACxC;AAMO,IAAM,UAAU,IAAI;AAAA,EAC1B,eAAU,MAAM,OAAO,UAAU,MAAM;AAAA,EACvC,CAAC,WAAW,GAAG,QAAQ,UAAU,MAAM;AACxC;AAMO,IAAM,aAAa,IAAI;AAAA,EAC7B,eAAU,MAAM,OAAO,aAAa,MAAM;AAAA,EAC1C,CAAC,WAAW,GAAG,QAAQ,UAAU,MAAM;AACxC;AAMO,IAAM,cAAc,IAAI;AAAA,EAC9B,eAAU,MAAM,OAAO,cAAc,MAAM;AAAA,EAC3C,CAAC,WAAW,GAAG,QAAQ,UAAU,MAAM;AACxC;AAMO,IAAM,aAAa,IAAI;AAAA,EAC7B,eAAU,MAAM,OAAO,aAAa,MAAM;AAAA,EAC1C,CAAC,WAAW,GAAG,QAAQ,UAAU,MAAM;AACxC;AAMO,IAAM,cAAc,IAAI;AAAA,EAC9B,eAAU,MAAM,OAAO,cAAc,MAAM;AAAA,EAC3C,CAAC,WAAW,GAAG,QAAQ,UAAU,MAAM;AACxC;AAMO,IAAM,aAAa,IAAI;AAAA,EAC7B,eAAU,MAAM,OAAO,aAAa,MAAM;AAAA,EAC1C,CAAC,WAAW;AACX,QAAI,QAAQ,OAAO;AAEnB,QAAI,QAAQ,sBAAsB,SAAS,QAAQ;AAClD,cAAQ,sBAAsB,KAAK;AAEnC,UAAI,WAAW,QAAQ,OAAO,aAAa;AAC1C,eAAO;AAAA,MACR;AAAA,IACD,CAAC;AAED,WAAO,MAAM;AACZ,2BAAqB,KAAK;AAAA,IAC3B;AAAA,EACD;AACD;AAMO,IAAM,YAAY,IAAI;AAAA,EAC5B,eAAU,MAAM,OAAO,YAAY,MAAM;AAAA,EACzC,CAAC,WAAW;AACX,QAAI,QAAQ,OAAO;AAEnB,QAAI,QAAQ,sBAAsB,SAAS,QAAQ;AAClD,cAAQ,sBAAsB,KAAK;AAEnC,UAAI,WAAW,QAAQ,OAAO,YAAY;AACzC,eAAO;AAAA,MACR;AAAA,IACD,CAAC;AAED,WAAO,MAAM;AACZ,2BAAqB,KAAK;AAAA,IAC3B;AAAA,EACD;AACD;AAMO,IAAM,SAAS,IAAI;AAAA,EACzB,eAAU,MAAM,UAAU,SAAS,MAAM;AAAA,EACzC,CAAC,WAAW;AACX,UAAM,eAAe,GAAG,QAAQ,UAAU,MAAM;AAChD,UAAM,gBAAgB,GAAG,QAAQ,WAAW,MAAM;AAClD,WAAO,MAAM;AACZ,mBAAa;AACb,oBAAc;AAAA,IACf;AAAA,EACD;AACD;AASO,IAAM,mBAAmC,IAAK,MAAM,iBAAiB;AAAA,EAC3E,OAAO,OAAO,eAAU,OAAO,mBAAmB,MAAS;AAAA,EAE3D,UAAU;AACT,UAAM,MAAM;AAAA,MACX,OAAO,WAAW,gBAAgB,OAAO,gBAAgB,OAAO;AAAA,MAChE;AAAA,MACA,MAAM;AACL,YAAI,KAAK,MAAM,OAAO,gBAAgB;AAEtC,YAAI;AACJ,aAAK,QAAQ;AAAA,MACd;AAAA,IACD;AAAA,EACD;AAAA,EAEA,cAAc;AACb,QAAI,cAAS;AACZ,WAAK,QAAQ;AAAA,IACd;AAEA,QAAI,cAAK;AACR,UAAI,KAAK,MAAM,yBAAyB;AAAA,IACzC;AAAA,EACD;AAAA,EAEA,IAAI,UAAU;AACb,QAAI,KAAK,IAAI;AACb,WAAO,eAAU,OAAO,mBAAmB;AAAA,EAC5C;AACD,EAAG;",
|
||||||
|
"names": []
|
||||||
|
}
|
||||||
106
node_modules/.vite/deps/svelte_store.js
generated
vendored
Normal file
106
node_modules/.vite/deps/svelte_store.js
generated
vendored
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
import {
|
||||||
|
derived,
|
||||||
|
get,
|
||||||
|
readable,
|
||||||
|
readonly,
|
||||||
|
writable
|
||||||
|
} from "./chunk-3EAXA6ZA.js";
|
||||||
|
import "./chunk-U7P2NEEE.js";
|
||||||
|
import "./chunk-UWINOEWN.js";
|
||||||
|
import {
|
||||||
|
active_effect,
|
||||||
|
active_reaction,
|
||||||
|
createSubscriber,
|
||||||
|
effect_root,
|
||||||
|
effect_tracking,
|
||||||
|
render_effect,
|
||||||
|
set_active_effect,
|
||||||
|
set_active_reaction
|
||||||
|
} from "./chunk-VKI34JCA.js";
|
||||||
|
import "./chunk-VZQZA5WB.js";
|
||||||
|
import "./chunk-OHYQYV5R.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/store/index-client.js
|
||||||
|
function toStore(get2, set) {
|
||||||
|
var effect = active_effect;
|
||||||
|
var reaction = active_reaction;
|
||||||
|
var init_value = get2();
|
||||||
|
const store = writable(init_value, (set2) => {
|
||||||
|
var ran = init_value !== get2();
|
||||||
|
var teardown;
|
||||||
|
var previous_reaction = active_reaction;
|
||||||
|
var previous_effect = active_effect;
|
||||||
|
set_active_reaction(reaction);
|
||||||
|
set_active_effect(effect);
|
||||||
|
try {
|
||||||
|
teardown = effect_root(() => {
|
||||||
|
render_effect(() => {
|
||||||
|
const value = get2();
|
||||||
|
if (ran) set2(value);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
} finally {
|
||||||
|
set_active_reaction(previous_reaction);
|
||||||
|
set_active_effect(previous_effect);
|
||||||
|
}
|
||||||
|
ran = true;
|
||||||
|
return teardown;
|
||||||
|
});
|
||||||
|
if (set) {
|
||||||
|
return {
|
||||||
|
set,
|
||||||
|
update: (fn) => set(fn(get2())),
|
||||||
|
subscribe: store.subscribe
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
subscribe: store.subscribe
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function fromStore(store) {
|
||||||
|
let value = (
|
||||||
|
/** @type {V} */
|
||||||
|
void 0
|
||||||
|
);
|
||||||
|
const subscribe = createSubscriber((update) => {
|
||||||
|
let ran = false;
|
||||||
|
const unsubscribe = store.subscribe((v) => {
|
||||||
|
value = v;
|
||||||
|
if (ran) update();
|
||||||
|
});
|
||||||
|
ran = true;
|
||||||
|
return unsubscribe;
|
||||||
|
});
|
||||||
|
function current() {
|
||||||
|
if (effect_tracking()) {
|
||||||
|
subscribe();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
return get(store);
|
||||||
|
}
|
||||||
|
if ("set" in store) {
|
||||||
|
return {
|
||||||
|
get current() {
|
||||||
|
return current();
|
||||||
|
},
|
||||||
|
set current(v) {
|
||||||
|
store.set(v);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
get current() {
|
||||||
|
return current();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
derived,
|
||||||
|
fromStore,
|
||||||
|
get,
|
||||||
|
readable,
|
||||||
|
readonly,
|
||||||
|
toStore,
|
||||||
|
writable
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=svelte_store.js.map
|
||||||
7
node_modules/.vite/deps/svelte_store.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_store.js.map
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"sources": ["../../svelte/src/store/index-client.js"],
|
||||||
|
"sourcesContent": ["/** @import { Readable, Writable } from './public.js' */\nimport {\n\teffect_root,\n\teffect_tracking,\n\trender_effect\n} from '../internal/client/reactivity/effects.js';\nimport { get, writable } from './shared/index.js';\nimport { createSubscriber } from '../reactivity/create-subscriber.js';\nimport {\n\tactive_effect,\n\tactive_reaction,\n\tset_active_effect,\n\tset_active_reaction\n} from '../internal/client/runtime.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\tvar effect = active_effect;\n\tvar reaction = active_reaction;\n\tvar init_value = get();\n\n\tconst store = writable(init_value, (set) => {\n\t\t// If the value has changed before we call subscribe, then\n\t\t// we need to treat the value as already having run\n\t\tvar ran = init_value !== get();\n\n\t\t// TODO do we need a different implementation on the server?\n\t\tvar teardown;\n\t\t// Apply the reaction and effect at the time of toStore being called\n\t\tvar previous_reaction = active_reaction;\n\t\tvar previous_effect = active_effect;\n\t\tset_active_reaction(reaction);\n\t\tset_active_effect(effect);\n\n\t\ttry {\n\t\t\tteardown = effect_root(() => {\n\t\t\t\trender_effect(() => {\n\t\t\t\t\tconst value = get();\n\t\t\t\t\tif (ran) set(value);\n\t\t\t\t});\n\t\t\t});\n\t\t} finally {\n\t\t\tset_active_reaction(previous_reaction);\n\t\t\tset_active_effect(previous_effect);\n\t\t}\n\n\t\tran = true;\n\n\t\treturn teardown;\n\t});\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\tlet value = /** @type {V} */ (undefined);\n\n\tconst subscribe = createSubscriber((update) => {\n\t\tlet ran = false;\n\n\t\tconst unsubscribe = store.subscribe((v) => {\n\t\t\tvalue = v;\n\t\t\tif (ran) update();\n\t\t});\n\n\t\tran = true;\n\n\t\treturn unsubscribe;\n\t});\n\n\tfunction current() {\n\t\tif (effect_tracking()) {\n\t\t\tsubscribe();\n\t\t\treturn value;\n\t\t}\n\n\t\treturn get(store);\n\t}\n\n\tif ('set' in store) {\n\t\treturn {\n\t\t\tget current() {\n\t\t\t\treturn current();\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 current();\n\t\t}\n\t};\n}\n"],
|
||||||
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AA8CO,SAAS,QAAQA,MAAK,KAAK;AACjC,MAAI,SAAS;AACb,MAAI,WAAW;AACf,MAAI,aAAaA,KAAI;AAErB,QAAM,QAAQ,SAAS,YAAY,CAACC,SAAQ;AAG3C,QAAI,MAAM,eAAeD,KAAI;AAG7B,QAAI;AAEJ,QAAI,oBAAoB;AACxB,QAAI,kBAAkB;AACtB,wBAAoB,QAAQ;AAC5B,sBAAkB,MAAM;AAExB,QAAI;AACH,iBAAW,YAAY,MAAM;AAC5B,sBAAc,MAAM;AACnB,gBAAM,QAAQA,KAAI;AAClB,cAAI,IAAK,CAAAC,KAAI,KAAK;AAAA,QACnB,CAAC;AAAA,MACF,CAAC;AAAA,IACF,UAAE;AACD,0BAAoB,iBAAiB;AACrC,wBAAkB,eAAe;AAAA,IAClC;AAEA,UAAM;AAEN,WAAO;AAAA,EACR,CAAC;AAED,MAAI,KAAK;AACR,WAAO;AAAA,MACN;AAAA,MACA,QAAQ,CAAC,OAAO,IAAI,GAAGD,KAAI,CAAC,CAAC;AAAA,MAC7B,WAAW,MAAM;AAAA,IAClB;AAAA,EACD;AAEA,SAAO;AAAA,IACN,WAAW,MAAM;AAAA,EAClB;AACD;AAmCO,SAAS,UAAU,OAAO;AAChC,MAAI;AAAA;AAAA,IAA0B;AAAA;AAE9B,QAAM,YAAY,iBAAiB,CAAC,WAAW;AAC9C,QAAI,MAAM;AAEV,UAAM,cAAc,MAAM,UAAU,CAAC,MAAM;AAC1C,cAAQ;AACR,UAAI,IAAK,QAAO;AAAA,IACjB,CAAC;AAED,UAAM;AAEN,WAAO;AAAA,EACR,CAAC;AAED,WAAS,UAAU;AAClB,QAAI,gBAAgB,GAAG;AACtB,gBAAU;AACV,aAAO;AAAA,IACR;AAEA,WAAO,IAAI,KAAK;AAAA,EACjB;AAEA,MAAI,SAAS,OAAO;AACnB,WAAO;AAAA,MACN,IAAI,UAAU;AACb,eAAO,QAAQ;AAAA,MAChB;AAAA,MACA,IAAI,QAAQ,GAAG;AACd,cAAM,IAAI,CAAC;AAAA,MACZ;AAAA,IACD;AAAA,EACD;AAEA,SAAO;AAAA,IACN,IAAI,UAAU;AACb,aAAO,QAAQ;AAAA,IAChB;AAAA,EACD;AACD;",
|
||||||
|
"names": ["get", "set"]
|
||||||
|
}
|
||||||
207
node_modules/.vite/deps/svelte_transition.js
generated
vendored
Normal file
207
node_modules/.vite/deps/svelte_transition.js
generated
vendored
Normal file
@ -0,0 +1,207 @@
|
|||||||
|
import {
|
||||||
|
transition_slide_display,
|
||||||
|
true_default
|
||||||
|
} from "./chunk-VZQZA5WB.js";
|
||||||
|
|
||||||
|
// node_modules/svelte/src/transition/index.js
|
||||||
|
var linear = (x) => x;
|
||||||
|
function cubic_out(t) {
|
||||||
|
const f = t - 1;
|
||||||
|
return f * f * f + 1;
|
||||||
|
}
|
||||||
|
function cubic_in_out(t) {
|
||||||
|
return t < 0.5 ? 4 * t * t * t : 0.5 * Math.pow(2 * t - 2, 3) + 1;
|
||||||
|
}
|
||||||
|
function split_css_unit(value) {
|
||||||
|
const split = typeof value === "string" && value.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
|
||||||
|
return split ? [parseFloat(split[1]), split[2] || "px"] : [
|
||||||
|
/** @type {number} */
|
||||||
|
value,
|
||||||
|
"px"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
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});`
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function fade(node, { delay = 0, duration = 400, easing = linear } = {}) {
|
||||||
|
const o = +getComputedStyle(node).opacity;
|
||||||
|
return {
|
||||||
|
delay,
|
||||||
|
duration,
|
||||||
|
easing,
|
||||||
|
css: (t) => `opacity: ${t * o}`
|
||||||
|
};
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
function slide(node, { delay = 0, duration = 400, easing = cubic_out, axis = "y" } = {}) {
|
||||||
|
const style = getComputedStyle(node);
|
||||||
|
if (true_default && !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) => (
|
||||||
|
/** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
|
||||||
|
`${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};${primary_property}: ${t * primary_property_value}px;padding-${secondary_properties[0]}: ${t * padding_start_value}px;padding-${secondary_properties[1]}: ${t * padding_end_value}px;margin-${secondary_properties[0]}: ${t * margin_start_value}px;margin-${secondary_properties[1]}: ${t * margin_end_value}px;border-${secondary_properties[0]}-width: ${t * border_width_start_value}px;border-${secondary_properties[1]}-width: ${t * border_width_end_value}px;min-${primary_property}: 0`
|
||||||
|
};
|
||||||
|
}
|
||||||
|
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}
|
||||||
|
`
|
||||||
|
};
|
||||||
|
}
|
||||||
|
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};
|
||||||
|
`
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function assign(tar, src) {
|
||||||
|
for (const k in src) tar[k] = src[k];
|
||||||
|
return (
|
||||||
|
/** @type {T & S} */
|
||||||
|
tar
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function crossfade({ fallback, ...defaults }) {
|
||||||
|
const to_receive = /* @__PURE__ */ new Map();
|
||||||
|
const to_send = /* @__PURE__ */ new Map();
|
||||||
|
function crossfade2(from_node, node, params) {
|
||||||
|
const {
|
||||||
|
delay = 0,
|
||||||
|
duration = (
|
||||||
|
/** @param {number} d */
|
||||||
|
(d2) => Math.sqrt(d2) * 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});
|
||||||
|
`
|
||||||
|
};
|
||||||
|
}
|
||||||
|
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 crossfade2(
|
||||||
|
/** @type {Element} */
|
||||||
|
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
|
||||||
|
};
|
||||||
|
//# sourceMappingURL=svelte_transition.js.map
|
||||||
7
node_modules/.vite/deps/svelte_transition.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/svelte_transition.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3
node_modules/@esbuild/linux-x64/README.md
generated
vendored
Normal file
3
node_modules/@esbuild/linux-x64/README.md
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# esbuild
|
||||||
|
|
||||||
|
This is the Linux 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details.
|
||||||
BIN
node_modules/@esbuild/linux-x64/bin/esbuild
generated
vendored
Executable file
BIN
node_modules/@esbuild/linux-x64/bin/esbuild
generated
vendored
Executable file
Binary file not shown.
20
node_modules/@esbuild/linux-x64/package.json
generated
vendored
Normal file
20
node_modules/@esbuild/linux-x64/package.json
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"name": "@esbuild/linux-x64",
|
||||||
|
"version": "0.25.12",
|
||||||
|
"description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/evanw/esbuild.git"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"preferUnplugged": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
},
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
],
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
]
|
||||||
|
}
|
||||||
21
node_modules/@eslint-community/eslint-utils/LICENSE
generated
vendored
Normal file
21
node_modules/@eslint-community/eslint-utils/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2018 Toru Nagashima
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
37
node_modules/@eslint-community/eslint-utils/README.md
generated
vendored
Normal file
37
node_modules/@eslint-community/eslint-utils/README.md
generated
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# @eslint-community/eslint-utils
|
||||||
|
|
||||||
|
[](https://www.npmjs.com/package/@eslint-community/eslint-utils)
|
||||||
|
[](http://www.npmtrends.com/@eslint-community/eslint-utils)
|
||||||
|
[](https://github.com/eslint-community/eslint-utils/actions)
|
||||||
|
[](https://codecov.io/gh/eslint-community/eslint-utils)
|
||||||
|
|
||||||
|
## 🏁 Goal
|
||||||
|
|
||||||
|
This package provides utility functions and classes for make ESLint custom rules.
|
||||||
|
|
||||||
|
For examples:
|
||||||
|
|
||||||
|
- [`getStaticValue`](https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue) evaluates static value on AST.
|
||||||
|
- [`ReferenceTracker`](https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class) checks the members of modules/globals as handling assignments and destructuring.
|
||||||
|
|
||||||
|
## 📖 Usage
|
||||||
|
|
||||||
|
See [documentation](https://eslint-community.github.io/eslint-utils).
|
||||||
|
|
||||||
|
## 📰 Changelog
|
||||||
|
|
||||||
|
See [releases](https://github.com/eslint-community/eslint-utils/releases).
|
||||||
|
|
||||||
|
## ❤️ Contributing
|
||||||
|
|
||||||
|
Welcome contributing!
|
||||||
|
|
||||||
|
Please use GitHub's Issues/PRs.
|
||||||
|
|
||||||
|
### Development Tools
|
||||||
|
|
||||||
|
- `npm run test-coverage` runs tests and measures coverage.
|
||||||
|
- `npm run clean` removes the coverage result of `npm run test-coverage` command.
|
||||||
|
- `npm run coverage` shows the coverage result of the last `npm run test-coverage` command.
|
||||||
|
- `npm run lint` runs ESLint.
|
||||||
|
- `npm run watch` runs tests on each file change.
|
||||||
217
node_modules/@eslint-community/eslint-utils/index.d.mts
generated
vendored
Normal file
217
node_modules/@eslint-community/eslint-utils/index.d.mts
generated
vendored
Normal file
@ -0,0 +1,217 @@
|
|||||||
|
import * as eslint from 'eslint';
|
||||||
|
import { Rule, AST } from 'eslint';
|
||||||
|
import * as estree from 'estree';
|
||||||
|
|
||||||
|
declare const READ: unique symbol;
|
||||||
|
declare const CALL: unique symbol;
|
||||||
|
declare const CONSTRUCT: unique symbol;
|
||||||
|
declare const ESM: unique symbol;
|
||||||
|
declare class ReferenceTracker {
|
||||||
|
constructor(globalScope: Scope$2, options?: {
|
||||||
|
mode?: "legacy" | "strict" | undefined;
|
||||||
|
globalObjectNames?: string[] | undefined;
|
||||||
|
} | undefined);
|
||||||
|
private variableStack;
|
||||||
|
private globalScope;
|
||||||
|
private mode;
|
||||||
|
private globalObjectNames;
|
||||||
|
iterateGlobalReferences<T>(traceMap: TraceMap$2<T>): IterableIterator<TrackedReferences$2<T>>;
|
||||||
|
iterateCjsReferences<T_1>(traceMap: TraceMap$2<T_1>): IterableIterator<TrackedReferences$2<T_1>>;
|
||||||
|
iterateEsmReferences<T_2>(traceMap: TraceMap$2<T_2>): IterableIterator<TrackedReferences$2<T_2>>;
|
||||||
|
iteratePropertyReferences<T_3>(node: Expression, traceMap: TraceMap$2<T_3>): IterableIterator<TrackedReferences$2<T_3>>;
|
||||||
|
private _iterateVariableReferences;
|
||||||
|
private _iteratePropertyReferences;
|
||||||
|
private _iterateLhsReferences;
|
||||||
|
private _iterateImportReferences;
|
||||||
|
}
|
||||||
|
declare namespace ReferenceTracker {
|
||||||
|
export { READ };
|
||||||
|
export { CALL };
|
||||||
|
export { CONSTRUCT };
|
||||||
|
export { ESM };
|
||||||
|
}
|
||||||
|
type Scope$2 = eslint.Scope.Scope;
|
||||||
|
type Expression = estree.Expression;
|
||||||
|
type TraceMap$2<T> = TraceMap$1<T>;
|
||||||
|
type TrackedReferences$2<T> = TrackedReferences$1<T>;
|
||||||
|
|
||||||
|
type StaticValue$2 = StaticValueProvided$1 | StaticValueOptional$1;
|
||||||
|
type StaticValueProvided$1 = {
|
||||||
|
optional?: undefined;
|
||||||
|
value: unknown;
|
||||||
|
};
|
||||||
|
type StaticValueOptional$1 = {
|
||||||
|
optional?: true;
|
||||||
|
value: undefined;
|
||||||
|
};
|
||||||
|
type ReferenceTrackerOptions$1 = {
|
||||||
|
globalObjectNames?: string[];
|
||||||
|
mode?: "legacy" | "strict";
|
||||||
|
};
|
||||||
|
type TraceMap$1<T = unknown> = {
|
||||||
|
[i: string]: TraceMapObject<T>;
|
||||||
|
};
|
||||||
|
type TraceMapObject<T> = {
|
||||||
|
[i: string]: TraceMapObject<T>;
|
||||||
|
[CALL]?: T;
|
||||||
|
[CONSTRUCT]?: T;
|
||||||
|
[READ]?: T;
|
||||||
|
[ESM]?: boolean;
|
||||||
|
};
|
||||||
|
type TrackedReferences$1<T> = {
|
||||||
|
info: T;
|
||||||
|
node: Rule.Node;
|
||||||
|
path: string[];
|
||||||
|
type: typeof CALL | typeof CONSTRUCT | typeof READ;
|
||||||
|
};
|
||||||
|
type HasSideEffectOptions$1 = {
|
||||||
|
considerGetters?: boolean;
|
||||||
|
considerImplicitTypeConversion?: boolean;
|
||||||
|
};
|
||||||
|
type PunctuatorToken<Value extends string> = AST.Token & {
|
||||||
|
type: "Punctuator";
|
||||||
|
value: Value;
|
||||||
|
};
|
||||||
|
type ArrowToken$1 = PunctuatorToken<"=>">;
|
||||||
|
type CommaToken$1 = PunctuatorToken<",">;
|
||||||
|
type SemicolonToken$1 = PunctuatorToken<";">;
|
||||||
|
type ColonToken$1 = PunctuatorToken<":">;
|
||||||
|
type OpeningParenToken$1 = PunctuatorToken<"(">;
|
||||||
|
type ClosingParenToken$1 = PunctuatorToken<")">;
|
||||||
|
type OpeningBracketToken$1 = PunctuatorToken<"[">;
|
||||||
|
type ClosingBracketToken$1 = PunctuatorToken<"]">;
|
||||||
|
type OpeningBraceToken$1 = PunctuatorToken<"{">;
|
||||||
|
type ClosingBraceToken$1 = PunctuatorToken<"}">;
|
||||||
|
|
||||||
|
declare function findVariable(initialScope: Scope$1, nameOrNode: string | Identifier): Variable | null;
|
||||||
|
type Scope$1 = eslint.Scope.Scope;
|
||||||
|
type Variable = eslint.Scope.Variable;
|
||||||
|
type Identifier = estree.Identifier;
|
||||||
|
|
||||||
|
declare function getFunctionHeadLocation(node: FunctionNode$1, sourceCode: SourceCode$2): SourceLocation | null;
|
||||||
|
type SourceCode$2 = eslint.SourceCode;
|
||||||
|
type FunctionNode$1 = estree.Function;
|
||||||
|
type SourceLocation = estree.SourceLocation;
|
||||||
|
|
||||||
|
declare function getFunctionNameWithKind(node: FunctionNode, sourceCode?: eslint.SourceCode | undefined): string;
|
||||||
|
type FunctionNode = estree.Function;
|
||||||
|
|
||||||
|
declare function getInnermostScope(initialScope: Scope, node: Node$4): Scope;
|
||||||
|
type Scope = eslint.Scope.Scope;
|
||||||
|
type Node$4 = estree.Node;
|
||||||
|
|
||||||
|
declare function getPropertyName(node: MemberExpression | MethodDefinition | Property | PropertyDefinition, initialScope?: eslint.Scope.Scope | undefined): string | null | undefined;
|
||||||
|
type MemberExpression = estree.MemberExpression;
|
||||||
|
type MethodDefinition = estree.MethodDefinition;
|
||||||
|
type Property = estree.Property;
|
||||||
|
type PropertyDefinition = estree.PropertyDefinition;
|
||||||
|
|
||||||
|
declare function getStaticValue(node: Node$3, initialScope?: eslint.Scope.Scope | null | undefined): StaticValue$1 | null;
|
||||||
|
type StaticValue$1 = StaticValue$2;
|
||||||
|
type Node$3 = estree.Node;
|
||||||
|
|
||||||
|
declare function getStringIfConstant(node: Node$2, initialScope?: eslint.Scope.Scope | null | undefined): string | null;
|
||||||
|
type Node$2 = estree.Node;
|
||||||
|
|
||||||
|
declare function hasSideEffect(node: Node$1, sourceCode: SourceCode$1, options?: HasSideEffectOptions$1 | undefined): boolean;
|
||||||
|
type Node$1 = estree.Node;
|
||||||
|
type SourceCode$1 = eslint.SourceCode;
|
||||||
|
|
||||||
|
declare function isArrowToken(token: CommentOrToken): token is ArrowToken$1;
|
||||||
|
declare function isCommaToken(token: CommentOrToken): token is CommaToken$1;
|
||||||
|
declare function isSemicolonToken(token: CommentOrToken): token is SemicolonToken$1;
|
||||||
|
declare function isColonToken(token: CommentOrToken): token is ColonToken$1;
|
||||||
|
declare function isOpeningParenToken(token: CommentOrToken): token is OpeningParenToken$1;
|
||||||
|
declare function isClosingParenToken(token: CommentOrToken): token is ClosingParenToken$1;
|
||||||
|
declare function isOpeningBracketToken(token: CommentOrToken): token is OpeningBracketToken$1;
|
||||||
|
declare function isClosingBracketToken(token: CommentOrToken): token is ClosingBracketToken$1;
|
||||||
|
declare function isOpeningBraceToken(token: CommentOrToken): token is OpeningBraceToken$1;
|
||||||
|
declare function isClosingBraceToken(token: CommentOrToken): token is ClosingBraceToken$1;
|
||||||
|
declare function isCommentToken(token: CommentOrToken): token is estree.Comment;
|
||||||
|
declare function isNotArrowToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotCommaToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotSemicolonToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotColonToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotOpeningParenToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotClosingParenToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotOpeningBracketToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotClosingBracketToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotOpeningBraceToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotClosingBraceToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotCommentToken(arg0: CommentOrToken): boolean;
|
||||||
|
type Token = eslint.AST.Token;
|
||||||
|
type Comment = estree.Comment;
|
||||||
|
type CommentOrToken = Comment | Token;
|
||||||
|
|
||||||
|
declare function isParenthesized(timesOrNode: Node | number, nodeOrSourceCode: Node | SourceCode, optionalSourceCode?: eslint.SourceCode | undefined): boolean;
|
||||||
|
type Node = estree.Node;
|
||||||
|
type SourceCode = eslint.SourceCode;
|
||||||
|
|
||||||
|
declare class PatternMatcher {
|
||||||
|
constructor(pattern: RegExp, options?: {
|
||||||
|
escaped?: boolean | undefined;
|
||||||
|
} | undefined);
|
||||||
|
execAll(str: string): IterableIterator<RegExpExecArray>;
|
||||||
|
test(str: string): boolean;
|
||||||
|
[Symbol.replace](str: string, replacer: string | ((...strs: string[]) => string)): string;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare namespace _default {
|
||||||
|
export { CALL };
|
||||||
|
export { CONSTRUCT };
|
||||||
|
export { ESM };
|
||||||
|
export { findVariable };
|
||||||
|
export { getFunctionHeadLocation };
|
||||||
|
export { getFunctionNameWithKind };
|
||||||
|
export { getInnermostScope };
|
||||||
|
export { getPropertyName };
|
||||||
|
export { getStaticValue };
|
||||||
|
export { getStringIfConstant };
|
||||||
|
export { hasSideEffect };
|
||||||
|
export { isArrowToken };
|
||||||
|
export { isClosingBraceToken };
|
||||||
|
export { isClosingBracketToken };
|
||||||
|
export { isClosingParenToken };
|
||||||
|
export { isColonToken };
|
||||||
|
export { isCommaToken };
|
||||||
|
export { isCommentToken };
|
||||||
|
export { isNotArrowToken };
|
||||||
|
export { isNotClosingBraceToken };
|
||||||
|
export { isNotClosingBracketToken };
|
||||||
|
export { isNotClosingParenToken };
|
||||||
|
export { isNotColonToken };
|
||||||
|
export { isNotCommaToken };
|
||||||
|
export { isNotCommentToken };
|
||||||
|
export { isNotOpeningBraceToken };
|
||||||
|
export { isNotOpeningBracketToken };
|
||||||
|
export { isNotOpeningParenToken };
|
||||||
|
export { isNotSemicolonToken };
|
||||||
|
export { isOpeningBraceToken };
|
||||||
|
export { isOpeningBracketToken };
|
||||||
|
export { isOpeningParenToken };
|
||||||
|
export { isParenthesized };
|
||||||
|
export { isSemicolonToken };
|
||||||
|
export { PatternMatcher };
|
||||||
|
export { READ };
|
||||||
|
export { ReferenceTracker };
|
||||||
|
}
|
||||||
|
|
||||||
|
type StaticValue = StaticValue$2;
|
||||||
|
type StaticValueOptional = StaticValueOptional$1;
|
||||||
|
type StaticValueProvided = StaticValueProvided$1;
|
||||||
|
type ReferenceTrackerOptions = ReferenceTrackerOptions$1;
|
||||||
|
type TraceMap<T> = TraceMap$1<T>;
|
||||||
|
type TrackedReferences<T> = TrackedReferences$1<T>;
|
||||||
|
type HasSideEffectOptions = HasSideEffectOptions$1;
|
||||||
|
type ArrowToken = ArrowToken$1;
|
||||||
|
type CommaToken = CommaToken$1;
|
||||||
|
type SemicolonToken = SemicolonToken$1;
|
||||||
|
type ColonToken = ColonToken$1;
|
||||||
|
type OpeningParenToken = OpeningParenToken$1;
|
||||||
|
type ClosingParenToken = ClosingParenToken$1;
|
||||||
|
type OpeningBracketToken = OpeningBracketToken$1;
|
||||||
|
type ClosingBracketToken = ClosingBracketToken$1;
|
||||||
|
type OpeningBraceToken = OpeningBraceToken$1;
|
||||||
|
type ClosingBraceToken = ClosingBraceToken$1;
|
||||||
|
|
||||||
|
export { ArrowToken, CALL, CONSTRUCT, ClosingBraceToken, ClosingBracketToken, ClosingParenToken, ColonToken, CommaToken, ESM, HasSideEffectOptions, OpeningBraceToken, OpeningBracketToken, OpeningParenToken, PatternMatcher, READ, ReferenceTracker, ReferenceTrackerOptions, SemicolonToken, StaticValue, StaticValueOptional, StaticValueProvided, TraceMap, TrackedReferences, _default as default, findVariable, getFunctionHeadLocation, getFunctionNameWithKind, getInnermostScope, getPropertyName, getStaticValue, getStringIfConstant, hasSideEffect, isArrowToken, isClosingBraceToken, isClosingBracketToken, isClosingParenToken, isColonToken, isCommaToken, isCommentToken, isNotArrowToken, isNotClosingBraceToken, isNotClosingBracketToken, isNotClosingParenToken, isNotColonToken, isNotCommaToken, isNotCommentToken, isNotOpeningBraceToken, isNotOpeningBracketToken, isNotOpeningParenToken, isNotSemicolonToken, isOpeningBraceToken, isOpeningBracketToken, isOpeningParenToken, isParenthesized, isSemicolonToken };
|
||||||
217
node_modules/@eslint-community/eslint-utils/index.d.ts
generated
vendored
Normal file
217
node_modules/@eslint-community/eslint-utils/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,217 @@
|
|||||||
|
import * as eslint from 'eslint';
|
||||||
|
import { Rule, AST } from 'eslint';
|
||||||
|
import * as estree from 'estree';
|
||||||
|
|
||||||
|
declare const READ: unique symbol;
|
||||||
|
declare const CALL: unique symbol;
|
||||||
|
declare const CONSTRUCT: unique symbol;
|
||||||
|
declare const ESM: unique symbol;
|
||||||
|
declare class ReferenceTracker {
|
||||||
|
constructor(globalScope: Scope$2, options?: {
|
||||||
|
mode?: "legacy" | "strict" | undefined;
|
||||||
|
globalObjectNames?: string[] | undefined;
|
||||||
|
} | undefined);
|
||||||
|
private variableStack;
|
||||||
|
private globalScope;
|
||||||
|
private mode;
|
||||||
|
private globalObjectNames;
|
||||||
|
iterateGlobalReferences<T>(traceMap: TraceMap$2<T>): IterableIterator<TrackedReferences$2<T>>;
|
||||||
|
iterateCjsReferences<T_1>(traceMap: TraceMap$2<T_1>): IterableIterator<TrackedReferences$2<T_1>>;
|
||||||
|
iterateEsmReferences<T_2>(traceMap: TraceMap$2<T_2>): IterableIterator<TrackedReferences$2<T_2>>;
|
||||||
|
iteratePropertyReferences<T_3>(node: Expression, traceMap: TraceMap$2<T_3>): IterableIterator<TrackedReferences$2<T_3>>;
|
||||||
|
private _iterateVariableReferences;
|
||||||
|
private _iteratePropertyReferences;
|
||||||
|
private _iterateLhsReferences;
|
||||||
|
private _iterateImportReferences;
|
||||||
|
}
|
||||||
|
declare namespace ReferenceTracker {
|
||||||
|
export { READ };
|
||||||
|
export { CALL };
|
||||||
|
export { CONSTRUCT };
|
||||||
|
export { ESM };
|
||||||
|
}
|
||||||
|
type Scope$2 = eslint.Scope.Scope;
|
||||||
|
type Expression = estree.Expression;
|
||||||
|
type TraceMap$2<T> = TraceMap$1<T>;
|
||||||
|
type TrackedReferences$2<T> = TrackedReferences$1<T>;
|
||||||
|
|
||||||
|
type StaticValue$2 = StaticValueProvided$1 | StaticValueOptional$1;
|
||||||
|
type StaticValueProvided$1 = {
|
||||||
|
optional?: undefined;
|
||||||
|
value: unknown;
|
||||||
|
};
|
||||||
|
type StaticValueOptional$1 = {
|
||||||
|
optional?: true;
|
||||||
|
value: undefined;
|
||||||
|
};
|
||||||
|
type ReferenceTrackerOptions$1 = {
|
||||||
|
globalObjectNames?: string[];
|
||||||
|
mode?: "legacy" | "strict";
|
||||||
|
};
|
||||||
|
type TraceMap$1<T = unknown> = {
|
||||||
|
[i: string]: TraceMapObject<T>;
|
||||||
|
};
|
||||||
|
type TraceMapObject<T> = {
|
||||||
|
[i: string]: TraceMapObject<T>;
|
||||||
|
[CALL]?: T;
|
||||||
|
[CONSTRUCT]?: T;
|
||||||
|
[READ]?: T;
|
||||||
|
[ESM]?: boolean;
|
||||||
|
};
|
||||||
|
type TrackedReferences$1<T> = {
|
||||||
|
info: T;
|
||||||
|
node: Rule.Node;
|
||||||
|
path: string[];
|
||||||
|
type: typeof CALL | typeof CONSTRUCT | typeof READ;
|
||||||
|
};
|
||||||
|
type HasSideEffectOptions$1 = {
|
||||||
|
considerGetters?: boolean;
|
||||||
|
considerImplicitTypeConversion?: boolean;
|
||||||
|
};
|
||||||
|
type PunctuatorToken<Value extends string> = AST.Token & {
|
||||||
|
type: "Punctuator";
|
||||||
|
value: Value;
|
||||||
|
};
|
||||||
|
type ArrowToken$1 = PunctuatorToken<"=>">;
|
||||||
|
type CommaToken$1 = PunctuatorToken<",">;
|
||||||
|
type SemicolonToken$1 = PunctuatorToken<";">;
|
||||||
|
type ColonToken$1 = PunctuatorToken<":">;
|
||||||
|
type OpeningParenToken$1 = PunctuatorToken<"(">;
|
||||||
|
type ClosingParenToken$1 = PunctuatorToken<")">;
|
||||||
|
type OpeningBracketToken$1 = PunctuatorToken<"[">;
|
||||||
|
type ClosingBracketToken$1 = PunctuatorToken<"]">;
|
||||||
|
type OpeningBraceToken$1 = PunctuatorToken<"{">;
|
||||||
|
type ClosingBraceToken$1 = PunctuatorToken<"}">;
|
||||||
|
|
||||||
|
declare function findVariable(initialScope: Scope$1, nameOrNode: string | Identifier): Variable | null;
|
||||||
|
type Scope$1 = eslint.Scope.Scope;
|
||||||
|
type Variable = eslint.Scope.Variable;
|
||||||
|
type Identifier = estree.Identifier;
|
||||||
|
|
||||||
|
declare function getFunctionHeadLocation(node: FunctionNode$1, sourceCode: SourceCode$2): SourceLocation | null;
|
||||||
|
type SourceCode$2 = eslint.SourceCode;
|
||||||
|
type FunctionNode$1 = estree.Function;
|
||||||
|
type SourceLocation = estree.SourceLocation;
|
||||||
|
|
||||||
|
declare function getFunctionNameWithKind(node: FunctionNode, sourceCode?: eslint.SourceCode | undefined): string;
|
||||||
|
type FunctionNode = estree.Function;
|
||||||
|
|
||||||
|
declare function getInnermostScope(initialScope: Scope, node: Node$4): Scope;
|
||||||
|
type Scope = eslint.Scope.Scope;
|
||||||
|
type Node$4 = estree.Node;
|
||||||
|
|
||||||
|
declare function getPropertyName(node: MemberExpression | MethodDefinition | Property | PropertyDefinition, initialScope?: eslint.Scope.Scope | undefined): string | null | undefined;
|
||||||
|
type MemberExpression = estree.MemberExpression;
|
||||||
|
type MethodDefinition = estree.MethodDefinition;
|
||||||
|
type Property = estree.Property;
|
||||||
|
type PropertyDefinition = estree.PropertyDefinition;
|
||||||
|
|
||||||
|
declare function getStaticValue(node: Node$3, initialScope?: eslint.Scope.Scope | null | undefined): StaticValue$1 | null;
|
||||||
|
type StaticValue$1 = StaticValue$2;
|
||||||
|
type Node$3 = estree.Node;
|
||||||
|
|
||||||
|
declare function getStringIfConstant(node: Node$2, initialScope?: eslint.Scope.Scope | null | undefined): string | null;
|
||||||
|
type Node$2 = estree.Node;
|
||||||
|
|
||||||
|
declare function hasSideEffect(node: Node$1, sourceCode: SourceCode$1, options?: HasSideEffectOptions$1 | undefined): boolean;
|
||||||
|
type Node$1 = estree.Node;
|
||||||
|
type SourceCode$1 = eslint.SourceCode;
|
||||||
|
|
||||||
|
declare function isArrowToken(token: CommentOrToken): token is ArrowToken$1;
|
||||||
|
declare function isCommaToken(token: CommentOrToken): token is CommaToken$1;
|
||||||
|
declare function isSemicolonToken(token: CommentOrToken): token is SemicolonToken$1;
|
||||||
|
declare function isColonToken(token: CommentOrToken): token is ColonToken$1;
|
||||||
|
declare function isOpeningParenToken(token: CommentOrToken): token is OpeningParenToken$1;
|
||||||
|
declare function isClosingParenToken(token: CommentOrToken): token is ClosingParenToken$1;
|
||||||
|
declare function isOpeningBracketToken(token: CommentOrToken): token is OpeningBracketToken$1;
|
||||||
|
declare function isClosingBracketToken(token: CommentOrToken): token is ClosingBracketToken$1;
|
||||||
|
declare function isOpeningBraceToken(token: CommentOrToken): token is OpeningBraceToken$1;
|
||||||
|
declare function isClosingBraceToken(token: CommentOrToken): token is ClosingBraceToken$1;
|
||||||
|
declare function isCommentToken(token: CommentOrToken): token is estree.Comment;
|
||||||
|
declare function isNotArrowToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotCommaToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotSemicolonToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotColonToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotOpeningParenToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotClosingParenToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotOpeningBracketToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotClosingBracketToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotOpeningBraceToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotClosingBraceToken(arg0: CommentOrToken): boolean;
|
||||||
|
declare function isNotCommentToken(arg0: CommentOrToken): boolean;
|
||||||
|
type Token = eslint.AST.Token;
|
||||||
|
type Comment = estree.Comment;
|
||||||
|
type CommentOrToken = Comment | Token;
|
||||||
|
|
||||||
|
declare function isParenthesized(timesOrNode: Node | number, nodeOrSourceCode: Node | SourceCode, optionalSourceCode?: eslint.SourceCode | undefined): boolean;
|
||||||
|
type Node = estree.Node;
|
||||||
|
type SourceCode = eslint.SourceCode;
|
||||||
|
|
||||||
|
declare class PatternMatcher {
|
||||||
|
constructor(pattern: RegExp, options?: {
|
||||||
|
escaped?: boolean | undefined;
|
||||||
|
} | undefined);
|
||||||
|
execAll(str: string): IterableIterator<RegExpExecArray>;
|
||||||
|
test(str: string): boolean;
|
||||||
|
[Symbol.replace](str: string, replacer: string | ((...strs: string[]) => string)): string;
|
||||||
|
}
|
||||||
|
|
||||||
|
declare namespace _default {
|
||||||
|
export { CALL };
|
||||||
|
export { CONSTRUCT };
|
||||||
|
export { ESM };
|
||||||
|
export { findVariable };
|
||||||
|
export { getFunctionHeadLocation };
|
||||||
|
export { getFunctionNameWithKind };
|
||||||
|
export { getInnermostScope };
|
||||||
|
export { getPropertyName };
|
||||||
|
export { getStaticValue };
|
||||||
|
export { getStringIfConstant };
|
||||||
|
export { hasSideEffect };
|
||||||
|
export { isArrowToken };
|
||||||
|
export { isClosingBraceToken };
|
||||||
|
export { isClosingBracketToken };
|
||||||
|
export { isClosingParenToken };
|
||||||
|
export { isColonToken };
|
||||||
|
export { isCommaToken };
|
||||||
|
export { isCommentToken };
|
||||||
|
export { isNotArrowToken };
|
||||||
|
export { isNotClosingBraceToken };
|
||||||
|
export { isNotClosingBracketToken };
|
||||||
|
export { isNotClosingParenToken };
|
||||||
|
export { isNotColonToken };
|
||||||
|
export { isNotCommaToken };
|
||||||
|
export { isNotCommentToken };
|
||||||
|
export { isNotOpeningBraceToken };
|
||||||
|
export { isNotOpeningBracketToken };
|
||||||
|
export { isNotOpeningParenToken };
|
||||||
|
export { isNotSemicolonToken };
|
||||||
|
export { isOpeningBraceToken };
|
||||||
|
export { isOpeningBracketToken };
|
||||||
|
export { isOpeningParenToken };
|
||||||
|
export { isParenthesized };
|
||||||
|
export { isSemicolonToken };
|
||||||
|
export { PatternMatcher };
|
||||||
|
export { READ };
|
||||||
|
export { ReferenceTracker };
|
||||||
|
}
|
||||||
|
|
||||||
|
type StaticValue = StaticValue$2;
|
||||||
|
type StaticValueOptional = StaticValueOptional$1;
|
||||||
|
type StaticValueProvided = StaticValueProvided$1;
|
||||||
|
type ReferenceTrackerOptions = ReferenceTrackerOptions$1;
|
||||||
|
type TraceMap<T> = TraceMap$1<T>;
|
||||||
|
type TrackedReferences<T> = TrackedReferences$1<T>;
|
||||||
|
type HasSideEffectOptions = HasSideEffectOptions$1;
|
||||||
|
type ArrowToken = ArrowToken$1;
|
||||||
|
type CommaToken = CommaToken$1;
|
||||||
|
type SemicolonToken = SemicolonToken$1;
|
||||||
|
type ColonToken = ColonToken$1;
|
||||||
|
type OpeningParenToken = OpeningParenToken$1;
|
||||||
|
type ClosingParenToken = ClosingParenToken$1;
|
||||||
|
type OpeningBracketToken = OpeningBracketToken$1;
|
||||||
|
type ClosingBracketToken = ClosingBracketToken$1;
|
||||||
|
type OpeningBraceToken = OpeningBraceToken$1;
|
||||||
|
type ClosingBraceToken = ClosingBraceToken$1;
|
||||||
|
|
||||||
|
export { ArrowToken, CALL, CONSTRUCT, ClosingBraceToken, ClosingBracketToken, ClosingParenToken, ColonToken, CommaToken, ESM, HasSideEffectOptions, OpeningBraceToken, OpeningBracketToken, OpeningParenToken, PatternMatcher, READ, ReferenceTracker, ReferenceTrackerOptions, SemicolonToken, StaticValue, StaticValueOptional, StaticValueProvided, TraceMap, TrackedReferences, _default as default, findVariable, getFunctionHeadLocation, getFunctionNameWithKind, getInnermostScope, getPropertyName, getStaticValue, getStringIfConstant, hasSideEffect, isArrowToken, isClosingBraceToken, isClosingBracketToken, isClosingParenToken, isColonToken, isCommaToken, isCommentToken, isNotArrowToken, isNotClosingBraceToken, isNotClosingBracketToken, isNotClosingParenToken, isNotColonToken, isNotCommaToken, isNotCommentToken, isNotOpeningBraceToken, isNotOpeningBracketToken, isNotOpeningParenToken, isNotSemicolonToken, isOpeningBraceToken, isOpeningBracketToken, isOpeningParenToken, isParenthesized, isSemicolonToken };
|
||||||
2607
node_modules/@eslint-community/eslint-utils/index.js
generated
vendored
Normal file
2607
node_modules/@eslint-community/eslint-utils/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@eslint-community/eslint-utils/index.js.map
generated
vendored
Normal file
1
node_modules/@eslint-community/eslint-utils/index.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2566
node_modules/@eslint-community/eslint-utils/index.mjs
generated
vendored
Normal file
2566
node_modules/@eslint-community/eslint-utils/index.mjs
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@eslint-community/eslint-utils/index.mjs.map
generated
vendored
Normal file
1
node_modules/@eslint-community/eslint-utils/index.mjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
201
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/LICENSE
generated
vendored
Normal file
201
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/LICENSE
generated
vendored
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright contributors
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
105
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/README.md
generated
vendored
Normal file
105
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/README.md
generated
vendored
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
# eslint-visitor-keys
|
||||||
|
|
||||||
|
[](https://www.npmjs.com/package/eslint-visitor-keys)
|
||||||
|
[](http://www.npmtrends.com/eslint-visitor-keys)
|
||||||
|
[](https://github.com/eslint/eslint-visitor-keys/actions)
|
||||||
|
|
||||||
|
Constants and utilities about visitor keys to traverse AST.
|
||||||
|
|
||||||
|
## 💿 Installation
|
||||||
|
|
||||||
|
Use [npm] to install.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ npm install eslint-visitor-keys
|
||||||
|
```
|
||||||
|
|
||||||
|
### Requirements
|
||||||
|
|
||||||
|
- [Node.js] `^12.22.0`, `^14.17.0`, or `>=16.0.0`
|
||||||
|
|
||||||
|
|
||||||
|
## 📖 Usage
|
||||||
|
|
||||||
|
To use in an ESM file:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import * as evk from "eslint-visitor-keys"
|
||||||
|
```
|
||||||
|
|
||||||
|
To use in a CommonJS file:
|
||||||
|
|
||||||
|
```js
|
||||||
|
const evk = require("eslint-visitor-keys")
|
||||||
|
```
|
||||||
|
|
||||||
|
### evk.KEYS
|
||||||
|
|
||||||
|
> type: `{ [type: string]: string[] | undefined }`
|
||||||
|
|
||||||
|
Visitor keys. This keys are frozen.
|
||||||
|
|
||||||
|
This is an object. Keys are the type of [ESTree] nodes. Their values are an array of property names which have child nodes.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
console.log(evk.KEYS.AssignmentExpression) // → ["left", "right"]
|
||||||
|
```
|
||||||
|
|
||||||
|
### evk.getKeys(node)
|
||||||
|
|
||||||
|
> type: `(node: object) => string[]`
|
||||||
|
|
||||||
|
Get the visitor keys of a given AST node.
|
||||||
|
|
||||||
|
This is similar to `Object.keys(node)` of ES Standard, but some keys are excluded: `parent`, `leadingComments`, `trailingComments`, and names which start with `_`.
|
||||||
|
|
||||||
|
This will be used to traverse unknown nodes.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```js
|
||||||
|
const node = {
|
||||||
|
type: "AssignmentExpression",
|
||||||
|
left: { type: "Identifier", name: "foo" },
|
||||||
|
right: { type: "Literal", value: 0 }
|
||||||
|
}
|
||||||
|
console.log(evk.getKeys(node)) // → ["type", "left", "right"]
|
||||||
|
```
|
||||||
|
|
||||||
|
### evk.unionWith(additionalKeys)
|
||||||
|
|
||||||
|
> type: `(additionalKeys: object) => { [type: string]: string[] | undefined }`
|
||||||
|
|
||||||
|
Make the union set with `evk.KEYS` and the given keys.
|
||||||
|
|
||||||
|
- The order of keys is, `additionalKeys` is at first, then `evk.KEYS` is concatenated after that.
|
||||||
|
- It removes duplicated keys as keeping the first one.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```js
|
||||||
|
console.log(evk.unionWith({
|
||||||
|
MethodDefinition: ["decorators"]
|
||||||
|
})) // → { ..., MethodDefinition: ["decorators", "key", "value"], ... }
|
||||||
|
```
|
||||||
|
|
||||||
|
## 📰 Change log
|
||||||
|
|
||||||
|
See [GitHub releases](https://github.com/eslint/eslint-visitor-keys/releases).
|
||||||
|
|
||||||
|
## 🍻 Contributing
|
||||||
|
|
||||||
|
Welcome. See [ESLint contribution guidelines](https://eslint.org/docs/developer-guide/contributing/).
|
||||||
|
|
||||||
|
### Development commands
|
||||||
|
|
||||||
|
- `npm test` runs tests and measures code coverage.
|
||||||
|
- `npm run lint` checks source codes with ESLint.
|
||||||
|
- `npm run test:open-coverage` opens the code coverage report of the previous test with your default browser.
|
||||||
|
|
||||||
|
|
||||||
|
[npm]: https://www.npmjs.com/
|
||||||
|
[Node.js]: https://nodejs.org/
|
||||||
|
[ESTree]: https://github.com/estree/estree
|
||||||
384
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs
generated
vendored
Normal file
384
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.cjs
generated
vendored
Normal file
@ -0,0 +1,384 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {{ readonly [type: string]: ReadonlyArray<string> }} VisitorKeys
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {VisitorKeys}
|
||||||
|
*/
|
||||||
|
const KEYS = {
|
||||||
|
ArrayExpression: [
|
||||||
|
"elements"
|
||||||
|
],
|
||||||
|
ArrayPattern: [
|
||||||
|
"elements"
|
||||||
|
],
|
||||||
|
ArrowFunctionExpression: [
|
||||||
|
"params",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
AssignmentExpression: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
AssignmentPattern: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
AwaitExpression: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
BinaryExpression: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
BlockStatement: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
BreakStatement: [
|
||||||
|
"label"
|
||||||
|
],
|
||||||
|
CallExpression: [
|
||||||
|
"callee",
|
||||||
|
"arguments"
|
||||||
|
],
|
||||||
|
CatchClause: [
|
||||||
|
"param",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ChainExpression: [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
ClassBody: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ClassDeclaration: [
|
||||||
|
"id",
|
||||||
|
"superClass",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ClassExpression: [
|
||||||
|
"id",
|
||||||
|
"superClass",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ConditionalExpression: [
|
||||||
|
"test",
|
||||||
|
"consequent",
|
||||||
|
"alternate"
|
||||||
|
],
|
||||||
|
ContinueStatement: [
|
||||||
|
"label"
|
||||||
|
],
|
||||||
|
DebuggerStatement: [],
|
||||||
|
DoWhileStatement: [
|
||||||
|
"body",
|
||||||
|
"test"
|
||||||
|
],
|
||||||
|
EmptyStatement: [],
|
||||||
|
ExperimentalRestProperty: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
ExperimentalSpreadProperty: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
ExportAllDeclaration: [
|
||||||
|
"exported",
|
||||||
|
"source"
|
||||||
|
],
|
||||||
|
ExportDefaultDeclaration: [
|
||||||
|
"declaration"
|
||||||
|
],
|
||||||
|
ExportNamedDeclaration: [
|
||||||
|
"declaration",
|
||||||
|
"specifiers",
|
||||||
|
"source"
|
||||||
|
],
|
||||||
|
ExportSpecifier: [
|
||||||
|
"exported",
|
||||||
|
"local"
|
||||||
|
],
|
||||||
|
ExpressionStatement: [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
ForInStatement: [
|
||||||
|
"left",
|
||||||
|
"right",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ForOfStatement: [
|
||||||
|
"left",
|
||||||
|
"right",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ForStatement: [
|
||||||
|
"init",
|
||||||
|
"test",
|
||||||
|
"update",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
FunctionDeclaration: [
|
||||||
|
"id",
|
||||||
|
"params",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
FunctionExpression: [
|
||||||
|
"id",
|
||||||
|
"params",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
Identifier: [],
|
||||||
|
IfStatement: [
|
||||||
|
"test",
|
||||||
|
"consequent",
|
||||||
|
"alternate"
|
||||||
|
],
|
||||||
|
ImportDeclaration: [
|
||||||
|
"specifiers",
|
||||||
|
"source"
|
||||||
|
],
|
||||||
|
ImportDefaultSpecifier: [
|
||||||
|
"local"
|
||||||
|
],
|
||||||
|
ImportExpression: [
|
||||||
|
"source"
|
||||||
|
],
|
||||||
|
ImportNamespaceSpecifier: [
|
||||||
|
"local"
|
||||||
|
],
|
||||||
|
ImportSpecifier: [
|
||||||
|
"imported",
|
||||||
|
"local"
|
||||||
|
],
|
||||||
|
JSXAttribute: [
|
||||||
|
"name",
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
JSXClosingElement: [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
JSXClosingFragment: [],
|
||||||
|
JSXElement: [
|
||||||
|
"openingElement",
|
||||||
|
"children",
|
||||||
|
"closingElement"
|
||||||
|
],
|
||||||
|
JSXEmptyExpression: [],
|
||||||
|
JSXExpressionContainer: [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
JSXFragment: [
|
||||||
|
"openingFragment",
|
||||||
|
"children",
|
||||||
|
"closingFragment"
|
||||||
|
],
|
||||||
|
JSXIdentifier: [],
|
||||||
|
JSXMemberExpression: [
|
||||||
|
"object",
|
||||||
|
"property"
|
||||||
|
],
|
||||||
|
JSXNamespacedName: [
|
||||||
|
"namespace",
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
JSXOpeningElement: [
|
||||||
|
"name",
|
||||||
|
"attributes"
|
||||||
|
],
|
||||||
|
JSXOpeningFragment: [],
|
||||||
|
JSXSpreadAttribute: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
JSXSpreadChild: [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
JSXText: [],
|
||||||
|
LabeledStatement: [
|
||||||
|
"label",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
Literal: [],
|
||||||
|
LogicalExpression: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
MemberExpression: [
|
||||||
|
"object",
|
||||||
|
"property"
|
||||||
|
],
|
||||||
|
MetaProperty: [
|
||||||
|
"meta",
|
||||||
|
"property"
|
||||||
|
],
|
||||||
|
MethodDefinition: [
|
||||||
|
"key",
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
NewExpression: [
|
||||||
|
"callee",
|
||||||
|
"arguments"
|
||||||
|
],
|
||||||
|
ObjectExpression: [
|
||||||
|
"properties"
|
||||||
|
],
|
||||||
|
ObjectPattern: [
|
||||||
|
"properties"
|
||||||
|
],
|
||||||
|
PrivateIdentifier: [],
|
||||||
|
Program: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
Property: [
|
||||||
|
"key",
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
PropertyDefinition: [
|
||||||
|
"key",
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
RestElement: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
ReturnStatement: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
SequenceExpression: [
|
||||||
|
"expressions"
|
||||||
|
],
|
||||||
|
SpreadElement: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
StaticBlock: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
Super: [],
|
||||||
|
SwitchCase: [
|
||||||
|
"test",
|
||||||
|
"consequent"
|
||||||
|
],
|
||||||
|
SwitchStatement: [
|
||||||
|
"discriminant",
|
||||||
|
"cases"
|
||||||
|
],
|
||||||
|
TaggedTemplateExpression: [
|
||||||
|
"tag",
|
||||||
|
"quasi"
|
||||||
|
],
|
||||||
|
TemplateElement: [],
|
||||||
|
TemplateLiteral: [
|
||||||
|
"quasis",
|
||||||
|
"expressions"
|
||||||
|
],
|
||||||
|
ThisExpression: [],
|
||||||
|
ThrowStatement: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
TryStatement: [
|
||||||
|
"block",
|
||||||
|
"handler",
|
||||||
|
"finalizer"
|
||||||
|
],
|
||||||
|
UnaryExpression: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
UpdateExpression: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
VariableDeclaration: [
|
||||||
|
"declarations"
|
||||||
|
],
|
||||||
|
VariableDeclarator: [
|
||||||
|
"id",
|
||||||
|
"init"
|
||||||
|
],
|
||||||
|
WhileStatement: [
|
||||||
|
"test",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
WithStatement: [
|
||||||
|
"object",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
YieldExpression: [
|
||||||
|
"argument"
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
// Types.
|
||||||
|
const NODE_TYPES = Object.keys(KEYS);
|
||||||
|
|
||||||
|
// Freeze the keys.
|
||||||
|
for (const type of NODE_TYPES) {
|
||||||
|
Object.freeze(KEYS[type]);
|
||||||
|
}
|
||||||
|
Object.freeze(KEYS);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||||
|
* See LICENSE file in root directory for full license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {import('./visitor-keys.js').VisitorKeys} VisitorKeys
|
||||||
|
*/
|
||||||
|
|
||||||
|
// List to ignore keys.
|
||||||
|
const KEY_BLACKLIST = new Set([
|
||||||
|
"parent",
|
||||||
|
"leadingComments",
|
||||||
|
"trailingComments"
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check whether a given key should be used or not.
|
||||||
|
* @param {string} key The key to check.
|
||||||
|
* @returns {boolean} `true` if the key should be used.
|
||||||
|
*/
|
||||||
|
function filterKey(key) {
|
||||||
|
return !KEY_BLACKLIST.has(key) && key[0] !== "_";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get visitor keys of a given node.
|
||||||
|
* @param {object} node The AST node to get keys.
|
||||||
|
* @returns {readonly string[]} Visitor keys of the node.
|
||||||
|
*/
|
||||||
|
function getKeys(node) {
|
||||||
|
return Object.keys(node).filter(filterKey);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Disable valid-jsdoc rule because it reports syntax error on the type of @returns.
|
||||||
|
// eslint-disable-next-line valid-jsdoc
|
||||||
|
/**
|
||||||
|
* Make the union set with `KEYS` and given keys.
|
||||||
|
* @param {VisitorKeys} additionalKeys The additional keys.
|
||||||
|
* @returns {VisitorKeys} The union set.
|
||||||
|
*/
|
||||||
|
function unionWith(additionalKeys) {
|
||||||
|
const retv = /** @type {{
|
||||||
|
[type: string]: ReadonlyArray<string>
|
||||||
|
}} */ (Object.assign({}, KEYS));
|
||||||
|
|
||||||
|
for (const type of Object.keys(additionalKeys)) {
|
||||||
|
if (Object.prototype.hasOwnProperty.call(retv, type)) {
|
||||||
|
const keys = new Set(additionalKeys[type]);
|
||||||
|
|
||||||
|
for (const key of retv[type]) {
|
||||||
|
keys.add(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
retv[type] = Object.freeze(Array.from(keys));
|
||||||
|
} else {
|
||||||
|
retv[type] = Object.freeze(Array.from(additionalKeys[type]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return Object.freeze(retv);
|
||||||
|
}
|
||||||
|
|
||||||
|
exports.KEYS = KEYS;
|
||||||
|
exports.getKeys = getKeys;
|
||||||
|
exports.unionWith = unionWith;
|
||||||
27
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts
generated
vendored
Normal file
27
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/eslint-visitor-keys.d.cts
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
type VisitorKeys$1 = {
|
||||||
|
readonly [type: string]: readonly string[];
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* @typedef {{ readonly [type: string]: ReadonlyArray<string> }} VisitorKeys
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @type {VisitorKeys}
|
||||||
|
*/
|
||||||
|
declare const KEYS: VisitorKeys$1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get visitor keys of a given node.
|
||||||
|
* @param {object} node The AST node to get keys.
|
||||||
|
* @returns {readonly string[]} Visitor keys of the node.
|
||||||
|
*/
|
||||||
|
declare function getKeys(node: object): readonly string[];
|
||||||
|
/**
|
||||||
|
* Make the union set with `KEYS` and given keys.
|
||||||
|
* @param {VisitorKeys} additionalKeys The additional keys.
|
||||||
|
* @returns {VisitorKeys} The union set.
|
||||||
|
*/
|
||||||
|
declare function unionWith(additionalKeys: VisitorKeys): VisitorKeys;
|
||||||
|
|
||||||
|
type VisitorKeys = VisitorKeys$1;
|
||||||
|
|
||||||
|
export { KEYS, VisitorKeys, getKeys, unionWith };
|
||||||
16
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/index.d.ts
generated
vendored
Normal file
16
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
* Get visitor keys of a given node.
|
||||||
|
* @param {object} node The AST node to get keys.
|
||||||
|
* @returns {readonly string[]} Visitor keys of the node.
|
||||||
|
*/
|
||||||
|
export function getKeys(node: object): readonly string[];
|
||||||
|
/**
|
||||||
|
* Make the union set with `KEYS` and given keys.
|
||||||
|
* @param {VisitorKeys} additionalKeys The additional keys.
|
||||||
|
* @returns {VisitorKeys} The union set.
|
||||||
|
*/
|
||||||
|
export function unionWith(additionalKeys: VisitorKeys): VisitorKeys;
|
||||||
|
export { KEYS };
|
||||||
|
export type VisitorKeys = import('./visitor-keys.js').VisitorKeys;
|
||||||
|
import KEYS from "./visitor-keys.js";
|
||||||
|
//# sourceMappingURL=index.d.ts.map
|
||||||
12
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts
generated
vendored
Normal file
12
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/dist/visitor-keys.d.ts
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
export default KEYS;
|
||||||
|
export type VisitorKeys = {
|
||||||
|
readonly [type: string]: readonly string[];
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* @typedef {{ readonly [type: string]: ReadonlyArray<string> }} VisitorKeys
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* @type {VisitorKeys}
|
||||||
|
*/
|
||||||
|
declare const KEYS: VisitorKeys;
|
||||||
|
//# sourceMappingURL=visitor-keys.d.ts.map
|
||||||
65
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/lib/index.js
generated
vendored
Normal file
65
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
/**
|
||||||
|
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||||
|
* See LICENSE file in root directory for full license.
|
||||||
|
*/
|
||||||
|
import KEYS from "./visitor-keys.js";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {import('./visitor-keys.js').VisitorKeys} VisitorKeys
|
||||||
|
*/
|
||||||
|
|
||||||
|
// List to ignore keys.
|
||||||
|
const KEY_BLACKLIST = new Set([
|
||||||
|
"parent",
|
||||||
|
"leadingComments",
|
||||||
|
"trailingComments"
|
||||||
|
]);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check whether a given key should be used or not.
|
||||||
|
* @param {string} key The key to check.
|
||||||
|
* @returns {boolean} `true` if the key should be used.
|
||||||
|
*/
|
||||||
|
function filterKey(key) {
|
||||||
|
return !KEY_BLACKLIST.has(key) && key[0] !== "_";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get visitor keys of a given node.
|
||||||
|
* @param {object} node The AST node to get keys.
|
||||||
|
* @returns {readonly string[]} Visitor keys of the node.
|
||||||
|
*/
|
||||||
|
export function getKeys(node) {
|
||||||
|
return Object.keys(node).filter(filterKey);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Disable valid-jsdoc rule because it reports syntax error on the type of @returns.
|
||||||
|
// eslint-disable-next-line valid-jsdoc
|
||||||
|
/**
|
||||||
|
* Make the union set with `KEYS` and given keys.
|
||||||
|
* @param {VisitorKeys} additionalKeys The additional keys.
|
||||||
|
* @returns {VisitorKeys} The union set.
|
||||||
|
*/
|
||||||
|
export function unionWith(additionalKeys) {
|
||||||
|
const retv = /** @type {{
|
||||||
|
[type: string]: ReadonlyArray<string>
|
||||||
|
}} */ (Object.assign({}, KEYS));
|
||||||
|
|
||||||
|
for (const type of Object.keys(additionalKeys)) {
|
||||||
|
if (Object.prototype.hasOwnProperty.call(retv, type)) {
|
||||||
|
const keys = new Set(additionalKeys[type]);
|
||||||
|
|
||||||
|
for (const key of retv[type]) {
|
||||||
|
keys.add(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
retv[type] = Object.freeze(Array.from(keys));
|
||||||
|
} else {
|
||||||
|
retv[type] = Object.freeze(Array.from(additionalKeys[type]));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return Object.freeze(retv);
|
||||||
|
}
|
||||||
|
|
||||||
|
export { KEYS };
|
||||||
315
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/lib/visitor-keys.js
generated
vendored
Normal file
315
node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys/lib/visitor-keys.js
generated
vendored
Normal file
@ -0,0 +1,315 @@
|
|||||||
|
/**
|
||||||
|
* @typedef {{ readonly [type: string]: ReadonlyArray<string> }} VisitorKeys
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {VisitorKeys}
|
||||||
|
*/
|
||||||
|
const KEYS = {
|
||||||
|
ArrayExpression: [
|
||||||
|
"elements"
|
||||||
|
],
|
||||||
|
ArrayPattern: [
|
||||||
|
"elements"
|
||||||
|
],
|
||||||
|
ArrowFunctionExpression: [
|
||||||
|
"params",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
AssignmentExpression: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
AssignmentPattern: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
AwaitExpression: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
BinaryExpression: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
BlockStatement: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
BreakStatement: [
|
||||||
|
"label"
|
||||||
|
],
|
||||||
|
CallExpression: [
|
||||||
|
"callee",
|
||||||
|
"arguments"
|
||||||
|
],
|
||||||
|
CatchClause: [
|
||||||
|
"param",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ChainExpression: [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
ClassBody: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ClassDeclaration: [
|
||||||
|
"id",
|
||||||
|
"superClass",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ClassExpression: [
|
||||||
|
"id",
|
||||||
|
"superClass",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ConditionalExpression: [
|
||||||
|
"test",
|
||||||
|
"consequent",
|
||||||
|
"alternate"
|
||||||
|
],
|
||||||
|
ContinueStatement: [
|
||||||
|
"label"
|
||||||
|
],
|
||||||
|
DebuggerStatement: [],
|
||||||
|
DoWhileStatement: [
|
||||||
|
"body",
|
||||||
|
"test"
|
||||||
|
],
|
||||||
|
EmptyStatement: [],
|
||||||
|
ExperimentalRestProperty: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
ExperimentalSpreadProperty: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
ExportAllDeclaration: [
|
||||||
|
"exported",
|
||||||
|
"source"
|
||||||
|
],
|
||||||
|
ExportDefaultDeclaration: [
|
||||||
|
"declaration"
|
||||||
|
],
|
||||||
|
ExportNamedDeclaration: [
|
||||||
|
"declaration",
|
||||||
|
"specifiers",
|
||||||
|
"source"
|
||||||
|
],
|
||||||
|
ExportSpecifier: [
|
||||||
|
"exported",
|
||||||
|
"local"
|
||||||
|
],
|
||||||
|
ExpressionStatement: [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
ForInStatement: [
|
||||||
|
"left",
|
||||||
|
"right",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ForOfStatement: [
|
||||||
|
"left",
|
||||||
|
"right",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
ForStatement: [
|
||||||
|
"init",
|
||||||
|
"test",
|
||||||
|
"update",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
FunctionDeclaration: [
|
||||||
|
"id",
|
||||||
|
"params",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
FunctionExpression: [
|
||||||
|
"id",
|
||||||
|
"params",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
Identifier: [],
|
||||||
|
IfStatement: [
|
||||||
|
"test",
|
||||||
|
"consequent",
|
||||||
|
"alternate"
|
||||||
|
],
|
||||||
|
ImportDeclaration: [
|
||||||
|
"specifiers",
|
||||||
|
"source"
|
||||||
|
],
|
||||||
|
ImportDefaultSpecifier: [
|
||||||
|
"local"
|
||||||
|
],
|
||||||
|
ImportExpression: [
|
||||||
|
"source"
|
||||||
|
],
|
||||||
|
ImportNamespaceSpecifier: [
|
||||||
|
"local"
|
||||||
|
],
|
||||||
|
ImportSpecifier: [
|
||||||
|
"imported",
|
||||||
|
"local"
|
||||||
|
],
|
||||||
|
JSXAttribute: [
|
||||||
|
"name",
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
JSXClosingElement: [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
JSXClosingFragment: [],
|
||||||
|
JSXElement: [
|
||||||
|
"openingElement",
|
||||||
|
"children",
|
||||||
|
"closingElement"
|
||||||
|
],
|
||||||
|
JSXEmptyExpression: [],
|
||||||
|
JSXExpressionContainer: [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
JSXFragment: [
|
||||||
|
"openingFragment",
|
||||||
|
"children",
|
||||||
|
"closingFragment"
|
||||||
|
],
|
||||||
|
JSXIdentifier: [],
|
||||||
|
JSXMemberExpression: [
|
||||||
|
"object",
|
||||||
|
"property"
|
||||||
|
],
|
||||||
|
JSXNamespacedName: [
|
||||||
|
"namespace",
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
JSXOpeningElement: [
|
||||||
|
"name",
|
||||||
|
"attributes"
|
||||||
|
],
|
||||||
|
JSXOpeningFragment: [],
|
||||||
|
JSXSpreadAttribute: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
JSXSpreadChild: [
|
||||||
|
"expression"
|
||||||
|
],
|
||||||
|
JSXText: [],
|
||||||
|
LabeledStatement: [
|
||||||
|
"label",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
Literal: [],
|
||||||
|
LogicalExpression: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
MemberExpression: [
|
||||||
|
"object",
|
||||||
|
"property"
|
||||||
|
],
|
||||||
|
MetaProperty: [
|
||||||
|
"meta",
|
||||||
|
"property"
|
||||||
|
],
|
||||||
|
MethodDefinition: [
|
||||||
|
"key",
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
NewExpression: [
|
||||||
|
"callee",
|
||||||
|
"arguments"
|
||||||
|
],
|
||||||
|
ObjectExpression: [
|
||||||
|
"properties"
|
||||||
|
],
|
||||||
|
ObjectPattern: [
|
||||||
|
"properties"
|
||||||
|
],
|
||||||
|
PrivateIdentifier: [],
|
||||||
|
Program: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
Property: [
|
||||||
|
"key",
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
PropertyDefinition: [
|
||||||
|
"key",
|
||||||
|
"value"
|
||||||
|
],
|
||||||
|
RestElement: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
ReturnStatement: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
SequenceExpression: [
|
||||||
|
"expressions"
|
||||||
|
],
|
||||||
|
SpreadElement: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
StaticBlock: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
Super: [],
|
||||||
|
SwitchCase: [
|
||||||
|
"test",
|
||||||
|
"consequent"
|
||||||
|
],
|
||||||
|
SwitchStatement: [
|
||||||
|
"discriminant",
|
||||||
|
"cases"
|
||||||
|
],
|
||||||
|
TaggedTemplateExpression: [
|
||||||
|
"tag",
|
||||||
|
"quasi"
|
||||||
|
],
|
||||||
|
TemplateElement: [],
|
||||||
|
TemplateLiteral: [
|
||||||
|
"quasis",
|
||||||
|
"expressions"
|
||||||
|
],
|
||||||
|
ThisExpression: [],
|
||||||
|
ThrowStatement: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
TryStatement: [
|
||||||
|
"block",
|
||||||
|
"handler",
|
||||||
|
"finalizer"
|
||||||
|
],
|
||||||
|
UnaryExpression: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
UpdateExpression: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
VariableDeclaration: [
|
||||||
|
"declarations"
|
||||||
|
],
|
||||||
|
VariableDeclarator: [
|
||||||
|
"id",
|
||||||
|
"init"
|
||||||
|
],
|
||||||
|
WhileStatement: [
|
||||||
|
"test",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
WithStatement: [
|
||||||
|
"object",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
|
YieldExpression: [
|
||||||
|
"argument"
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
|
// Types.
|
||||||
|
const NODE_TYPES = Object.keys(KEYS);
|
||||||
|
|
||||||
|
// Freeze the keys.
|
||||||
|
for (const type of NODE_TYPES) {
|
||||||
|
Object.freeze(KEYS[type]);
|
||||||
|
}
|
||||||
|
Object.freeze(KEYS);
|
||||||
|
|
||||||
|
export default KEYS;
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user