shweet 0.0.30 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +207 -198
- package/dist/index.js +11 -10
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
type V = string | number | boolean;
|
|
2
|
+
type obj<T> = Record<string, T>;
|
|
3
|
+
|
|
1
4
|
type ModuleLike = {
|
|
2
5
|
[Symbol.toStringTag]: "Module";
|
|
3
6
|
default?: unknown;
|
|
@@ -52,9 +55,6 @@ declare namespace is {
|
|
|
52
55
|
export type { is_ModuleLike as ModuleLike };
|
|
53
56
|
}
|
|
54
57
|
|
|
55
|
-
type V = string | number | boolean;
|
|
56
|
-
type obj<T> = Record<string, T>;
|
|
57
|
-
|
|
58
58
|
/**
|
|
59
59
|
* A custom Map implementation that provides additional utility methods for working with objects and maps.
|
|
60
60
|
*
|
|
@@ -69,10 +69,19 @@ declare class Mapper<K, V> extends Map<K, V> {
|
|
|
69
69
|
init(key: K, val: V): V;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
declare class Logger {
|
|
73
|
+
private name;
|
|
74
|
+
constructor(name: string);
|
|
75
|
+
log: (...args: any[]) => void;
|
|
76
|
+
set i(a: any);
|
|
77
|
+
}
|
|
72
78
|
declare class log {
|
|
79
|
+
static logger: <T extends abstract new (...args: any) => any>(ctx: InstanceType<T> | string) => Logger;
|
|
80
|
+
static set f(a: any);
|
|
73
81
|
static set i(a: any);
|
|
74
82
|
static set e(a: any);
|
|
75
83
|
static set w(a: any);
|
|
84
|
+
static set d(a: any);
|
|
76
85
|
}
|
|
77
86
|
|
|
78
87
|
declare global {
|
|
@@ -138,7 +147,7 @@ declare class __ {
|
|
|
138
147
|
}): HTMLElement;
|
|
139
148
|
static randFrom(arr: any[] | Object): any;
|
|
140
149
|
static randArray<T>(arr?: T[], length?: number, unique?: boolean): T[];
|
|
141
|
-
static randomAZ: () => string;
|
|
150
|
+
static randomAZ: () => string | undefined;
|
|
142
151
|
static makeID: (length: number) => string;
|
|
143
152
|
static class(a: obj<any>, ...classes: (string | undefined | boolean)[]): void;
|
|
144
153
|
static get O(): {
|
|
@@ -288,7 +297,7 @@ interface MedCFG<Q = Record<string, any>> {
|
|
|
288
297
|
}
|
|
289
298
|
declare class Medyas<T extends Medyas<T>, Q = Record<string, any>> {
|
|
290
299
|
[k: number]: this;
|
|
291
|
-
_prefix?: string;
|
|
300
|
+
_prefix?: string | undefined;
|
|
292
301
|
data: Q;
|
|
293
302
|
protected _values: Record<string, media>;
|
|
294
303
|
constructor({ prefix, data, values }?: MedCFG);
|
|
@@ -351,290 +360,290 @@ declare class FontFace extends Base<obj<fontFace>> {
|
|
|
351
360
|
}
|
|
352
361
|
|
|
353
362
|
declare class ps {
|
|
354
|
-
static attr(d: obj<string>): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
355
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
363
|
+
static attr(d: obj<string>): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
364
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
356
365
|
};
|
|
357
|
-
static after(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
358
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
366
|
+
static after(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
367
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
359
368
|
};
|
|
360
|
-
static before(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
361
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
369
|
+
static before(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
370
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
362
371
|
};
|
|
363
|
-
static backdrop(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
364
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
372
|
+
static backdrop(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
373
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
365
374
|
};
|
|
366
|
-
static cue(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
367
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
375
|
+
static cue(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
376
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
368
377
|
};
|
|
369
|
-
static cueRegion(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
370
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
378
|
+
static cueRegion(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
379
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
371
380
|
};
|
|
372
|
-
static firstLetter(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
373
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
381
|
+
static firstLetter(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
382
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
374
383
|
};
|
|
375
|
-
static firstLine(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
376
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
384
|
+
static firstLine(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
385
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
377
386
|
};
|
|
378
|
-
static marker(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
379
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
387
|
+
static marker(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
388
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
380
389
|
};
|
|
381
|
-
static part(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
382
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
390
|
+
static part(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
391
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
383
392
|
};
|
|
384
|
-
static placeholder(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
385
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
393
|
+
static placeholder(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
394
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
386
395
|
};
|
|
387
|
-
static selection(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
388
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
396
|
+
static selection(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
397
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
389
398
|
};
|
|
390
|
-
static slotted(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
391
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
399
|
+
static slotted(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
400
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
392
401
|
};
|
|
393
|
-
static spellingError(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
394
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
402
|
+
static spellingError(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
403
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
395
404
|
};
|
|
396
|
-
static targetText(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
397
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
405
|
+
static targetText(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
406
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
398
407
|
};
|
|
399
|
-
static viewTransition(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
400
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
408
|
+
static viewTransition(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
409
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
401
410
|
};
|
|
402
|
-
static viewTransitionGroup(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
403
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
411
|
+
static viewTransitionGroup(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
412
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
404
413
|
};
|
|
405
|
-
static viewTransitionImagePair(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
406
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
414
|
+
static viewTransitionImagePair(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
415
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
407
416
|
};
|
|
408
|
-
static viewTransitionNew(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
409
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
417
|
+
static viewTransitionNew(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
418
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
410
419
|
};
|
|
411
|
-
static viewTransitionOld(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
412
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
420
|
+
static viewTransitionOld(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
421
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
413
422
|
};
|
|
414
|
-
static scrollbar(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
415
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
423
|
+
static scrollbar(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
424
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
416
425
|
};
|
|
417
|
-
static scrollbarThumb(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
418
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
426
|
+
static scrollbarThumb(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
427
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
419
428
|
};
|
|
420
|
-
static scrollbarTrack(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
421
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
429
|
+
static scrollbarTrack(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
430
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
422
431
|
};
|
|
423
|
-
static scrollbarCorner(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
424
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
432
|
+
static scrollbarCorner(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
433
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
425
434
|
};
|
|
426
|
-
static active(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
427
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
435
|
+
static active(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
436
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
428
437
|
};
|
|
429
|
-
static anyLink(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
430
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
438
|
+
static anyLink(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
439
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
431
440
|
};
|
|
432
|
-
static autofill(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
433
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
441
|
+
static autofill(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
442
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
434
443
|
};
|
|
435
|
-
static blank(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
436
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
444
|
+
static blank(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
445
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
437
446
|
};
|
|
438
|
-
static checked(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
439
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
447
|
+
static checked(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
448
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
440
449
|
};
|
|
441
|
-
static current(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
442
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
450
|
+
static current(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
451
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
443
452
|
};
|
|
444
|
-
static default(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
445
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
453
|
+
static default(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
454
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
446
455
|
};
|
|
447
|
-
static defined(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
448
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
456
|
+
static defined(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
457
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
449
458
|
};
|
|
450
|
-
static disabled(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
451
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
459
|
+
static disabled(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
460
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
452
461
|
};
|
|
453
|
-
static empty(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
454
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
462
|
+
static empty(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
463
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
455
464
|
};
|
|
456
|
-
static enabled(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
457
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
465
|
+
static enabled(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
466
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
458
467
|
};
|
|
459
|
-
static first(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
460
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
468
|
+
static first(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
469
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
461
470
|
};
|
|
462
|
-
static firstChild(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
463
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
471
|
+
static firstChild(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
472
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
464
473
|
};
|
|
465
|
-
static firstOfType(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
466
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
474
|
+
static firstOfType(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
475
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
467
476
|
};
|
|
468
|
-
static fullscreen(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
469
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
477
|
+
static fullscreen(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
478
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
470
479
|
};
|
|
471
|
-
static future(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
472
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
480
|
+
static future(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
481
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
473
482
|
};
|
|
474
|
-
static focus(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
475
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
483
|
+
static focus(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
484
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
476
485
|
};
|
|
477
|
-
static focusVisible(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
478
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
486
|
+
static focusVisible(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
487
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
479
488
|
};
|
|
480
|
-
static focusWithin(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
481
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
489
|
+
static focusWithin(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
490
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
482
491
|
};
|
|
483
|
-
static host(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
484
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
492
|
+
static host(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
493
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
485
494
|
};
|
|
486
|
-
static hover(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
487
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
495
|
+
static hover(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
496
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
488
497
|
};
|
|
489
|
-
static indeterminate(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
490
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
498
|
+
static indeterminate(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
499
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
491
500
|
};
|
|
492
|
-
static inRange(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
493
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
501
|
+
static inRange(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
502
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
494
503
|
};
|
|
495
|
-
static invalid(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
496
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
504
|
+
static invalid(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
505
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
497
506
|
};
|
|
498
|
-
static lastChild(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
499
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
507
|
+
static lastChild(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
508
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
500
509
|
};
|
|
501
|
-
static lastOfType(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
502
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
510
|
+
static lastOfType(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
511
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
503
512
|
};
|
|
504
|
-
static left(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
505
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
513
|
+
static left(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
514
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
506
515
|
};
|
|
507
|
-
static link(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
508
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
516
|
+
static link(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
517
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
509
518
|
};
|
|
510
|
-
static localLink(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
511
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
519
|
+
static localLink(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
520
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
512
521
|
};
|
|
513
|
-
static modal(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
514
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
522
|
+
static modal(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
523
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
515
524
|
};
|
|
516
|
-
static onlyChild(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
517
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
525
|
+
static onlyChild(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
526
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
518
527
|
};
|
|
519
|
-
static onlyOfType(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
520
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
528
|
+
static onlyOfType(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
529
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
521
530
|
};
|
|
522
|
-
static optional(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
523
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
531
|
+
static optional(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
532
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
524
533
|
};
|
|
525
|
-
static outOfRange(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
526
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
534
|
+
static outOfRange(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
535
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
527
536
|
};
|
|
528
|
-
static past(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
529
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
537
|
+
static past(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
538
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
530
539
|
};
|
|
531
|
-
static pictureInPicture(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
532
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
540
|
+
static pictureInPicture(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
541
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
533
542
|
};
|
|
534
|
-
static placeholderShown(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
535
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
543
|
+
static placeholderShown(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
544
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
536
545
|
};
|
|
537
|
-
static paused(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
538
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
546
|
+
static paused(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
547
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
539
548
|
};
|
|
540
|
-
static playing(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
541
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
549
|
+
static playing(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
550
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
542
551
|
};
|
|
543
|
-
static readOnly(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
544
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
552
|
+
static readOnly(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
553
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
545
554
|
};
|
|
546
|
-
static readWrite(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
547
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
555
|
+
static readWrite(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
556
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
548
557
|
};
|
|
549
|
-
static required(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
550
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
558
|
+
static required(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
559
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
551
560
|
};
|
|
552
|
-
static right(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
553
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
561
|
+
static right(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
562
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
554
563
|
};
|
|
555
|
-
static root(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
556
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
564
|
+
static root(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
565
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
557
566
|
};
|
|
558
|
-
static scope(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
559
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
567
|
+
static scope(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
568
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
560
569
|
};
|
|
561
|
-
static target(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
562
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
570
|
+
static target(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
571
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
563
572
|
};
|
|
564
|
-
static targetWithin(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
565
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
573
|
+
static targetWithin(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
574
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
566
575
|
};
|
|
567
|
-
static userInvalid(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
568
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
576
|
+
static userInvalid(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
577
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
569
578
|
};
|
|
570
|
-
static valid(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
571
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
579
|
+
static valid(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
580
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
572
581
|
};
|
|
573
|
-
static visited(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
574
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
582
|
+
static visited(xx?: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
583
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
575
584
|
};
|
|
576
|
-
static dir(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
577
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
585
|
+
static dir(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
586
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
578
587
|
};
|
|
579
|
-
static has(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
580
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
588
|
+
static has(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
589
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
581
590
|
};
|
|
582
|
-
static host_(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
583
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
591
|
+
static host_(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
592
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
584
593
|
};
|
|
585
|
-
static hostContext(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
586
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
594
|
+
static hostContext(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
595
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
587
596
|
};
|
|
588
|
-
static is(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
589
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
597
|
+
static is(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
598
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
590
599
|
};
|
|
591
|
-
static lang(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
592
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
600
|
+
static lang(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
601
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
593
602
|
};
|
|
594
|
-
static not(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
595
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
603
|
+
static not(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
604
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
596
605
|
};
|
|
597
|
-
static nthChild(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
598
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
606
|
+
static nthChild(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
607
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
599
608
|
};
|
|
600
|
-
static nthCol(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
601
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
609
|
+
static nthCol(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
610
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
602
611
|
};
|
|
603
|
-
static nthLastChild(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
604
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
612
|
+
static nthLastChild(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
613
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
605
614
|
};
|
|
606
|
-
static nthLastCol(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
607
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
615
|
+
static nthLastCol(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
616
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
608
617
|
};
|
|
609
|
-
static nthLastOfType(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
610
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
618
|
+
static nthLastOfType(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
619
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
611
620
|
};
|
|
612
|
-
static nthOfType(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
613
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
621
|
+
static nthOfType(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
622
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
614
623
|
};
|
|
615
|
-
static state(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
616
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
624
|
+
static state(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
625
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
617
626
|
};
|
|
618
|
-
static where(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
619
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
627
|
+
static where(xx: V): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
628
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
620
629
|
};
|
|
621
|
-
static and(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
622
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
630
|
+
static and(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
631
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
623
632
|
};
|
|
624
|
-
static child(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
625
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
633
|
+
static child(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
634
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
626
635
|
};
|
|
627
|
-
static desc(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
628
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
636
|
+
static desc(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
637
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
629
638
|
};
|
|
630
|
-
static next(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
631
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
639
|
+
static next(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
640
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
632
641
|
};
|
|
633
|
-
static general(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
634
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
642
|
+
static general(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
643
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
635
644
|
};
|
|
636
|
-
static withClass(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any>)[]) => {
|
|
637
|
-
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support)[];
|
|
645
|
+
static withClass(str: string): (...itm: (CSSinR | _Var | support | obj<CSSValue> | Medyas<any> | undefined)[]) => {
|
|
646
|
+
[x: string]: (_Var | CSSinR | Medyas<any, Record<string, any>> | obj<CSSValue> | support | undefined)[];
|
|
638
647
|
};
|
|
639
648
|
}
|
|
640
649
|
|
|
@@ -803,9 +812,9 @@ type __CSS = CSS & {
|
|
|
803
812
|
declare class Shweet {
|
|
804
813
|
[k: string]: any;
|
|
805
814
|
path: string;
|
|
806
|
-
name: string;
|
|
815
|
+
name: string | undefined;
|
|
807
816
|
prefix: string;
|
|
808
|
-
exportMap?: boolean;
|
|
817
|
+
exportMap?: boolean | undefined;
|
|
809
818
|
protected _imported: Set<string>;
|
|
810
819
|
d: __CSS;
|
|
811
820
|
i: __CSS;
|
|
@@ -823,7 +832,7 @@ declare class Shweet {
|
|
|
823
832
|
constructor({ __filename, name, prefix, shweets, exportMap, webkitKeyframes, unit, }: shweetCFG);
|
|
824
833
|
get imported(): string[];
|
|
825
834
|
}
|
|
826
|
-
declare function fileName(path: string): string;
|
|
835
|
+
declare function fileName(path: string): string | undefined;
|
|
827
836
|
|
|
828
837
|
export { Medyas, Shweet, Value, Var, Vars, __, f, fileName, log, med, media, ps, supports, v };
|
|
829
838
|
export type { CSS, CSSValue, CSSinR, KFCSS, VarType, atCSS, fontFace };
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
var cn=Object.defineProperty;var kn=(n,C)=>{for(var $ in C)cn(n,$,{get:C[$],enumerable:!0,configurable:!0,set:(f)=>C[$]=()=>f})};var Sn={};kn(Sn,{isWindow:()=>sn,isUndefined:()=>Tn,isStr:()=>j,isPromise:()=>rn,isPlainObject:()=>vn,isObject:()=>ln,isObj:()=>w,isNumber:()=>v,isNum:()=>qn,isNull:()=>_,isNotWindow:()=>Gn,isNotNull:()=>pn,isModule:()=>dn,isInt:()=>Yn,isFN:()=>e,isDefined:()=>M,isClassOrId:()=>Jn,isBool:()=>Xn,isAsync:()=>mn,isArraybuff:()=>xn,isArr:()=>Z});var e=(n)=>typeof n==="function",mn=(n)=>n.constructor.name==="AsyncFunction",rn=(n)=>!!n&&typeof n.then==="function",v=(n)=>{return!isNaN(parseFloat(n))&&isFinite(n)},ln=(n)=>{return n&&typeof n==="object"&&!Array.isArray(n)},vn=(n)=>{return typeof n==="object"&&n!==null&&Object.getPrototypeOf(n)===Object.prototype&&!Array.isArray(n)},dn=(n)=>{return n&&typeof n==="object"&&n[Symbol.toStringTag]==="Module"},xn=(n)=>{return n instanceof Uint8Array||n instanceof ArrayBuffer||typeof n==="string"},Jn=(n)=>{return n.startsWith(".")||n.startsWith("#")},Xn=(n)=>typeof n==="boolean",j=(n)=>typeof n==="string",Z=(n)=>Array.isArray(n),w=(n)=>typeof n==="object",qn=(n)=>typeof n==="number",_=(n)=>n===null,pn=(n)=>n===null,Tn=(n)=>typeof n>"u",M=(n)=>typeof n<"u",Yn=(n)=>{return Number.isInteger(Number(n))},sn=typeof window<"u",Gn=typeof window>"u";var Un=(n)=>{return Z(n)?n:[n]};class d{static set i(n){console.info(...Un(n))}static set e(n){console.error(...Un(n))}static set w(n){console.warn(...Un(n))}}var an=(n)=>Array.from({length:n},(C,$)=>$),Fn="ABCDEFGHIJKLMNOPQRSTUVWXYZ",bn="abcdefghijklmnopqrstuvwxyz";var y=(n)=>JSON.stringify(n),Wn=(n)=>{return JSON.parse(n)},In=(n)=>{return n.replace(/-([a-z])/g,(C,$)=>$.toUpperCase())},A=(n)=>{if(n.startsWith("webkit"))n="-"+n;return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},nn=(n)=>{let C=Fn+bn,$=an(10).join("");return Array.from({length:n},(f,E)=>C+(E?$:"")).reduce((f,E)=>{return f+=E.charAt(Math.floor(Math.random()*E.length))},"")},en=(n=6,C)=>{if(!C)return Math.floor(Math.random()*n);return Math.round(Math.random()*(C-n)+n)},Kn=()=>{let n=[...Fn,...bn],C=en(0,n.length);return n[C]};class B extends Map{obj(n){n&&U(n).forEach(([C,$])=>this.set(C,$))}map(n){n.forEach((C,$)=>{if(C instanceof B)this.set($,C);else if(Z(C)){if(this.lacks($))this.set($,[]);this.get($).push(...C)}else if(w(C))this.ass($,C);else this.set($,C)})}ass(n,C){if(!this.has(n))this.set(n,{});b(this.get(n),C)}lacks(n){return!this.has(n)}init(n,C){return this.has(n)?this.get(n):this.set(n,C).get(n)}}var{values:P,keys:D,entries:U}=Object;var b=Object.assign,Mn=(n,C)=>Object.hasOwn(n,C),u=(n)=>{return Object.keys(n).length};var Rn=(n,C)=>{let $={added:{},removed:{},modified:{}},f=D(n),E=D(C);for(let Q of E){let T=n[Q],G=C[Q];if(!(Q in n))$.added[Q]=G;else if(Z(T)&&Z(G)){if(y(T)!==y(G))$.modified[Q]={old:T,new:G}}else if(w(T)&&w(G)&&!_(T)&&!_(G)){let R=Rn(T,G);if(u(R.added)||u(R.removed)||u(R.modified))$.modified[Q]={old:T,new:G}}else if(T!==G)$.modified[Q]={old:T,new:G}}for(let Q of f)if(!(Q in C))$.removed[Q]=n[Q];return $};var Dn=(n)=>{return P(n).some((C)=>{return u(C)})};var h=(n,C=2)=>String(n).padStart(C,"0"),gn=new Map;function o(n,C){let $=JSON.stringify({locale:C,...n}),f=gn.get($);if(!f)f=new Intl.DateTimeFormat(C,n),gn.set($,f);return f}var Zn={YYYY:(n)=>String(n.getFullYear()),YY:(n)=>h(n.getFullYear()%100),MMMM:(n,C)=>o({month:"long"},C).format(n),MMM:(n,C)=>o({month:"short"},C).format(n),MM:(n)=>h(n.getMonth()+1),M:(n)=>String(n.getMonth()+1),dddd:(n,C)=>o({weekday:"long"},C).format(n),ddd:(n,C)=>o({weekday:"short"},C).format(n),DD:(n)=>h(n.getDate()),D:(n)=>String(n.getDate()),HH:(n)=>h(n.getHours()),H:(n)=>String(n.getHours()),hh:(n)=>{let C=n.getHours()%12||12;return h(C)},h:(n)=>String(n.getHours()%12||12),A:(n,C)=>{return(o({hour:"numeric",hour12:!0},C).formatToParts(n).find((E)=>E.type==="dayPeriod")?.value??(n.getHours()<12?"AM":"PM")).toUpperCase()},a:(n,C)=>{return(o({hour:"numeric",hour12:!0},C).formatToParts(n).find((E)=>E.type==="dayPeriod")?.value??(n.getHours()<12?"AM":"PM")).toLowerCase()},mm:(n)=>h(n.getMinutes()),m:(n)=>String(n.getMinutes()),ss:(n)=>h(n.getSeconds()),s:(n)=>String(n.getSeconds()),SSS:(n)=>h(n.getMilliseconds(),3),Q:(n)=>String(Math.floor(n.getMonth()/3)+1),DoY:(n)=>{let C=new Date(n.getFullYear(),0,1),$=Math.floor((+n-+C)/86400000)+1;return String($)}};function fC(){if(globalThis.__dateTokenRegex)return globalThis.__dateTokenRegex;let n=new RegExp(Object.keys(Zn).sort((C,$)=>$.length-C.length).map((C)=>C.replace(/([.*+?^${}()|[\]\\])/g,"\\$1")).join("|"),"g");return globalThis.__dateTokenRegex=n,n}function EC(n,C="YYYY-MM-DD HH:mm:ss",$){let f=typeof n==="number"?new Date(n):typeof n==="string"?new Date(n):n,E=fC(),Q=new Map;return C.replace(E,(T)=>{if(Q.has(T))return Q.get(T);let G=Zn[T],R=G?G(f,$):T;return Q.set(T,R),R})}Date.prototype.format=function(n,C){return EC(this,n,C)};Date.registerFormat=function(n,C){Zn[n]=C,globalThis.__dateTokenRegex=null};Date.format=function(n,C){return new Date().format(n,C)};class On{static rand(n=6,C){if(C)return Math.floor(Math.random()*(C-n+1)+n);return Math.floor(Math.random()*n)+1-1}static fill(n,C=null){return Array(n).fill(C)}static new({dom:n,id:C,inner:$}){let f=document.createElement(n);if(C)f.id=C;if($)f.innerHTML=$;return f}static randFrom(n){if(Array.isArray(n)){let C=n.length,$=this.rand(0,C-1);return n[$]}else if(typeof n=="object"){let C=D(n),$=C.length,f=this.rand(0,$-1);return C[f]}}static randArray(n=[],C=1,$=!1){let f=[],E=$?new Set:null;while(($?E.size:f.length)<C){let Q=n[On.rand(0,n.length-1)];$?E.add(Q):f.push(Q)}return $?[...E]:f}static randomAZ=Kn;static makeID=nn;static class(n,...C){let $=C.filter(Boolean);if(n?.class)$.push(...Z(n.class)?n.class:[n.class]);if($.length)n.class=$}static get O(){return{vals:P,keys:D,items:U,has:Mn,ass:b,len:(n={})=>D(n).length}}static get is(){return Sn}static get return(){return Vn}static isHREF(n,C){return n===C?!0:n.startsWith(C)&&C!=="/"?!0:!1}static sleep=(n=1000)=>new Promise((C)=>setTimeout(C,n));static get screen(){let{innerWidth:n}=window,C={xs:n<=480,sm:n>=480,smd:n>=624,md:n>=768,lg:n>=1024,xl:n>=1280,xxl:n>=1536},$=U(C).reverse();for(let f=0;f<$.length;f++){let[E,Q]=$[f];if(Q)return E}return}bytes(n){if(n===0)return"0 Bytes";let C=1024,$=["Bytes","KB","MB","GB"],f=Math.floor(Math.log(n)/Math.log(C));return parseFloat((n/Math.pow(C,f)).toFixed(2))+" "+$[f]}static format(n){return new jn(n)}static compareObjects=Rn;static isObjectUdpated=Dn}class Vn{static arr(n){return n?Z(n)?n:[n]:[]}static num(n,C=0){let $=parseFloat(n);return isNaN($)?C:$}static str(n){return String(n)}static arr2obj(n,C=!1){return n.reduce(($,f,E)=>{if(C)$[f]=E;else $[E]=f;return $},{})}}class jn{val;constructor(n){this.val=n}get px(){return`${this.val}px`}get rem(){return`${this.val}rem`}get pr(){return`${this.val}%`}}var An={xs:"480px",sm:"480px",smd:"624px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1536px"};class F{static default="xs";static prop=U(An).reduce((n,[C,$],f)=>{return n[C]=`(${f==0?"max-width":"min-width"}: ${$})`,n},{});static extra={no_hover:"(pointer: coarse)",mobile:"(pointer: coarse)",print:"print",screen:"screen",dark:"(prefers-color-scheme: dark)"};constructor(n,C={}){let $=F.default,f={};if(n!==void 0)t(f,$,n,$);U(C).forEach(([E,Q])=>{t(f,E,Q,$)}),b(this,f)}static get breakpoints(){return Wn(y(An))}}var t=(n,C,$,f)=>{if($!==void 0)if($ instanceof F)U($).forEach(([E,Q])=>{if(f!==C)if(C!==E)if(f===E)t(n,C,Q,f);else t(n,`${C}-${E}`,Q,f);else t(n,E,Q,f);else t(n,E,Q,f)});else n[C]=$};function g(n,C){if(C)return new F(n,C);return new F(void 0,n)}function QC(n){if(this._prefix)return g({[this._prefix]:n});else return g({xs:n})}function I(n){return new this.constructor({prefix:n,values:this._values,data:this.data})}class Cn{_prefix;data;_values;constructor({prefix:n,data:C,values:$}={data:{},values:{}}){this._prefix=n,this._values=$,U($).forEach(([f,E])=>{if(!this._values[f])this._values[f]=g({});b(this._values[f],E)}),this.data=C}get XS(){return I.call(this,"xs")}get SM(){return I.call(this,"sm")}get SMD(){return I.call(this,"smd")}get MD(){return I.call(this,"md")}get LG(){return I.call(this,"lg")}get XL(){return I.call(this,"xl")}get XXL(){return I.call(this,"xxl")}get NO_HOVER(){return I.call(this,"no_hover")}get MOBILE(){return I.call(this,"no_hover")}get PRINT(){return I.call(this,"print")}get SCREEN(){return I.call(this,"screen")}get DARK(){return I.call(this,"dark")}set _value(n){U(n).forEach(([C,$])=>{if(!this._values[C])this._values[C]=g({});b(this._values[C],QC.call(this,$))})}get _value(){return this._values}}class K{k="";fallback;var="";value;constructor(n={},C){if(u(n)){let[$,f]=U(n)[0];this.k=$,this.var="--"+A($),this.value=f instanceof F?f:g(f,{}),this.fallback=C}else this.value=g({})}__(n){if(n)this.fallback=n;let C=this.fallback;if(C)return`var(${this.var}, ${q(C)})`;else return`var(${this.var})`}new(n,C){return new K({[this.k]:n instanceof F?n:q(n)},C)}}var JC=(n,C)=>{return new K(n,C)},qC=(n)=>{let C={};for(let $ in n)C[$]=new K({[$]:n[$]});return C};var q=(n,C={unit:"rem"})=>{let{rem:$,second:f,quote:E,degree:Q,percent:T,delimeter:G,unit:R,delimeter_arr:O}=C;if(Tn(n)||_(n)||!E&&n==="")return"";let S=Z(n)?n:[n];if(!S.length)return"";return S.filter((W)=>M(W)).map((W)=>{if(Z(W))return G=O||", ",q(W,{...C,delimeter:" "});if(W instanceof K)return W.__();if(E)W=String(W);if(qn(W))if($)return`${W}${R?R:"rem"}`;else if(Q)return`${W}deg`;else if(T)return`${W}%`;else if(f)return`${W}s`;else return String(W);if(j(W))if(W.includes("("))return W;else if(E)return`'${W}'`;else return W;return""}).filter((W)=>M(W)&&W!=="").join(G||" ")};var Pn=new Set(["transitionDuration","transitionDelay","animationDelay","animationDuration"]),TC=new Set([...Pn,"zIndex","opacity","aspectRatio","order","flexShrink","flexGrow","flex","fillOpacity","lineClamp","order","scale","webkitLineClamp","animationIterationCount","animationTimingFunction","transitionTimingFunction","columnCount","gridColumn","gridRow","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd"]),GC=new Set(["content"]),SC=new Set(["transitionProperty"]),c=(n,C,$="rem")=>{let f=q(C,{rem:!TC.has(n),second:Pn.has(n),quote:GC.has(n),delimeter:SC.has(n)?", ":" ",unit:$});return`${A(n)}: ${f};`};class $n{value;__;constructor(n){if(this.value=new B,j(n))this.value.set(n,[]);else U(n).forEach(([C,$])=>{this.value.set(`${C}:${$}`,[])});this.__=(...C)=>{return this.value.forEach(($)=>{$.push(...C)}),this}}}function UC(n){return new $n(n).__}var k=(n)=>{if(e(n))return k(n());if(n instanceof F)return n;if(n instanceof K)return g(n.__(),{});return g(n,{})};function WC(n){let C={};return n.split(";").map(($)=>$.trim()).filter(($)=>$!=="").forEach(($)=>{let[f,E]=$.split(":").map((T)=>T.trim()),Q=In(f);if(!isNaN(Number(E))&&isFinite(Number(E)))C[Q]=Number(E);else C[Q]=E}),C}var RC=(n)=>{n.value.forEach((C,$)=>{n.value.set($,C.map((f)=>{let E={};return U(f).forEach(([Q,T])=>{if(M(T))E[Q]=k(T)}),E}))})},Ln=(n,C=[])=>{let $=[];if(Z(n))return Ln(n[0],$);if(n instanceof K)return Ln(P(n.value),$);return $.push(String(n)),$};class Bn{base;constructor(n){this.base=n}props(n,C,$){let f=["animation","animationName"].includes(C);return U($).forEach(([E,Q])=>{if(f)$[E]=this.addPrefixToAnimation(n,Q);else $[E]=Q}),$}addPrefixToAnimation(n,C){if(C instanceof K)this.saveAnim(n,C);else if(Z(C))return C[0]=this.addPrefixToAnimation(n,C[0]),C;else if(j(C)&&!C.includes("("))return C.split(", ").map((E)=>{let Q=E.split(" "),T=Q[0],G=Q.slice(1).join(" "),R=`${this.base.PREFIX}${T}`;return this.base.ANIM.init(R,new Set).add(n),`${this.base.PREFIX}${T} ${G}`.trim()}).join(", ");return C}saveAnim(n,C){Ln(C).forEach(($)=>{this.base.ANIM.init(`${this.base.PREFIX}${$}`,new Set).add(n)})}process(n,C,$,f,E){if($ instanceof K)this.saveAnim(n,$),f.ass(C,this.props(n,$.var,k($)));else if(C.startsWith(":")||C.startsWith(",")||C.startsWith("[")){if(C.startsWith("::before")||C.startsWith("::after")){if(Z($)){if(!$.some((T)=>("content"in T)))$.push({content:""})}}this.set(n+C,$,E)}else if(C.startsWith(" ")){let T=C.match(/^.*?\w/gm)?.[0].slice(0,-1),G=C.replaceAll(/, /gm,`, ${n}${T}`);this.set(n+G,$,E)}else if(Jn(C))this.set(n+C,$,E);else f.set(C,this.props(n,C,k($)))}set(n,C,$){if(!w(C)&&!j(C))return;let f=new B;if(C instanceof K)this.saveAnim(n,C),f.ass(C.var,this.props(n,C.var,k(C.value)));else if(C instanceof Cn)U(C._value).forEach(([Q,T])=>{if(M(T))f.set(Q,this.props(n,Q,k(T)))});else if(C instanceof $n)RC(C),f.init("supports",[]).push(C);else if(Z(C))C.forEach((Q)=>{this.set(n,Q,$)});else if(j(C)){let Q=WC(C);this.set(n,Q,$)}else U(C).forEach(([Q,T])=>{return this.process(n,Q,T,f,$)});let E=$.init(n,new B);f.forEach((Q,T)=>{if(T==="supports")$.init(n,new B).init(T,[])?.push(...Q);else E.set(T,Q)})}}class x{PRE;EXPORT;UNIT;PS;PREFIX;ARR=new B;CID=new B;DATA=new B;ANIM=new B;IMPORTED=[];constructor(n="",C="",$,f){this.PRE=n;this.EXPORT=$;this.UNIT=f;this.PREFIX=C?C+"_":C,this.PS=new Bn(this)}get(n,C,$){let f=n.PRE+C;if(n.DATA.has(f))return f;else if(C in n)return n[C];else return n.PRE+C}set(n,C,$){return!1}get css(){return new Proxy(this,this)}load(n){return this.IMPORTED.push(n),this}__(n){Object.entries(n).forEach(([C,$])=>{this.set(this,C,$)})}}class z extends x{set(n,C,$){let f=n.PRE+C;return n.PS.set(f,$,n.DATA),!0}}class p extends x{webkit;constructor(n="",C=!0,$){super("",n,!1,$);this.webkit=C}set(n,C,$){let f=n.PREFIX+C,E=Z($)?$:[$],Q=new B;if(E.forEach((T)=>{U(T).forEach(([G,R])=>{let O=v(G)?`${G}%`:G;n.PS.set(O,R,Q)})}),n.ANIM.init(f,new Set),n.DATA.set(`@keyframes ${f}`,Q),this.webkit)n.DATA.set(`@-webkit-keyframes ${f}`,Q);return!0}}class s extends x{constructor(n=""){super("@",n)}set(n,C,$){return n.ARR.init(n.PRE+C,new Set).add($),n}}class a extends x{constructor(n=""){super("@font-face",n);this.ARR.set(this.PRE,new Set)}set(n,C,$){let f=U({fontFamily:C,...$}).map(([E,Q])=>{return c(E,Q,this.UNIT)});return n.ARR.get(n.PRE)?.add(f.join(`
|
|
3
|
-
`)),!0}}var hn=Array.from;class Hn{shweet;shaker;include;CID=new B;css="";constructor(n,C=[],$=[]){this.shweet=n;this.shaker=C;this.include=$}load(n){let C=F.default,$=F.prop;b($,F.extra);let f=new B,E={},Q={},T={},G=new Set,R={},O={};D($).forEach((S)=>{R[S]={}});for(let S of P(this.shweet))if(S instanceof z)this.ClassID(S,E,Q,n),S.ANIM.forEach((W,L)=>{W.forEach((H)=>{f.init(L,new Set).add(H)})});else if(S instanceof p)this.KF(S,T,f);else if(S instanceof s)this.AT(S,G);else if(S instanceof a)this.FONT(S,G);return U(E).forEach(([S,W])=>{if(!R[S])R[S]={};U(W).forEach(([L,H])=>{let N=H.join(", ");if(!R[S][N])R[S][N]=[];R[S][N].push(L)})}),U(Q).forEach(([S,W])=>{U(W).forEach(([L,H])=>{if(!O[L])O[L]={};U(H).forEach(([N,X])=>{let Y=`@supports(${S})`;if(!O[L][Y])O[L][Y]={};let V=X.join(", ");if(!O[L][Y][V])O[L][Y][V]=new Set;O[L][Y][V].add(N)})})}),U(R).forEach(([S,W])=>{let L=[],H=[];if(U(W).forEach(([N,X])=>{if(X.some((V)=>{return V.startsWith("animation")||V.startsWith("transition")}))H.push(m(N,X));else L.push(m(N,X))}),H.length)L.unshift(...H);if(T[S])U(T[S]).forEach(([N,X])=>{L.push(m(N,X))});if(O[S])U(O[S]).forEach(([N,X])=>{let Y=U(X).map(([V,Qn])=>{return m(V,[...Qn])});L.push(m(N,Y))});if(L.length)if(G.add(`/* -------------- ${S+(S===C?" ( default )":"")} */`),S===C)G.add(L.join(`
|
|
4
|
-
`));
|
|
5
|
-
|
|
2
|
+
var zn=Object.defineProperty;var mn=(t,n)=>{for(var i in n)zn(t,i,{get:n[i],enumerable:!0,configurable:!0,set:(r)=>n[i]=()=>r})};var Nt={};mn(Nt,{isWindow:()=>ii,isUndefined:()=>ct,isStr:()=>T,isPromise:()=>kn,isPlainObject:()=>xn,isObject:()=>vn,isObj:()=>Q,isNumber:()=>x,isNum:()=>lt,isNull:()=>G,isNotWindow:()=>Ot,isNotNull:()=>ni,isModule:()=>pn,isInt:()=>Bt,isFN:()=>gt,isDefined:()=>Y,isClassOrId:()=>yt,isBool:()=>qt,isAsync:()=>dn,isArraybuff:()=>ti,isArr:()=>y});var gt=(t)=>typeof t==="function",dn=(t)=>t.constructor.name==="AsyncFunction",kn=(t)=>!!t&&typeof t.then==="function",x=(t)=>{return!isNaN(parseFloat(t))&&isFinite(t)},vn=(t)=>{return t&&typeof t==="object"&&!Array.isArray(t)},xn=(t)=>{return typeof t==="object"&&t!==null&&Object.getPrototypeOf(t)===Object.prototype&&!Array.isArray(t)},pn=(t)=>{return t&&typeof t==="object"&&t[Symbol.toStringTag]==="Module"},ti=(t)=>{return t instanceof Uint8Array||t instanceof ArrayBuffer||typeof t==="string"},yt=(t)=>{return t.startsWith(".")||t.startsWith("#")},qt=(t)=>typeof t==="boolean",T=(t)=>typeof t==="string",y=(t)=>Array.isArray(t),Q=(t)=>typeof t==="object",lt=(t)=>typeof t==="number",G=(t)=>t===null,ni=(t)=>t===null,ct=(t)=>typeof t>"u",Y=(t)=>typeof t<"u",Bt=(t)=>{return Number.isInteger(Number(t))},ii=typeof window<"u",Ot=typeof window>"u";var j=(t)=>{return y(t)?t:[t]};function Ct(t=3){let r=((Error().stack?.split(`
|
|
3
|
+
`)??[])[t]||"").match(/at\s+([^(]+)\s*\(/);return(r?r[1].split(".").pop()?.trim():"?")??"?"}class Qt{name;constructor(t){this.name=t}log=(...t)=>{let n=Ct(3);console.log(`[${this.name}.${n}]`,...t)};set i(t){let n=Ct(3);console.log(`[${this.name}.${n}]`,...j(t))}}class p{static logger=(t)=>{return new Qt(T(t)?t:t.constructor.name)};static set f(t){let n=Ct();console.log(`[${n}]`,...j(t))}static set i(t){console.info(...j(t))}static set e(t){console.error(...j(t))}static set w(t){console.warn(...j(t))}static set d(t){let n=new Date().toLocaleTimeString();console.log(...j(t),` @ ${n}`)}}var ri=(t)=>Array.from({length:t},(n,i)=>i),Lt="ABCDEFGHIJKLMNOPQRSTUVWXYZ",Gt="abcdefghijklmnopqrstuvwxyz";var I=(t)=>JSON.stringify(t),Et=(t)=>{return JSON.parse(t)},jt=(t)=>{return t.replace(/-([a-z])/g,(n,i)=>i.toUpperCase())},st=(t)=>{if(t.startsWith("webkit"))t="-"+t;return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},ut=(t)=>{let n=Lt+Gt,i=ri(10).join("");return Array.from({length:t},(r,o)=>n+(o?i:"")).reduce((r,o)=>{return r+=o.charAt(Math.floor(Math.random()*o.length))},"")},oi=(t=6,n)=>{if(!n)return Math.floor(Math.random()*t);return Math.round(Math.random()*(n-t)+t)},It=()=>{let t=[...Lt,...Gt],n=oi(0,t.length);return t[n]};class c extends Map{obj(t){t&&b(t).forEach(([n,i])=>this.set(n,i))}map(t){t.forEach((n,i)=>{if(n instanceof c)this.set(i,n);else if(y(n)){if(this.lacks(i))this.set(i,[]);this.get(i).push(...n)}else if(Q(n))this.ass(i,n);else this.set(i,n)})}ass(t,n){if(!this.has(t))this.set(t,{});D(this.get(t),n)}lacks(t){return!this.has(t)}init(t,n){return this.has(t)?this.get(t):this.set(t,n).get(t)}}var{values:U,keys:H,entries:b}=Object;var D=Object.assign,Zt=(t,n)=>Object.hasOwn(t,n),Z=(t)=>{return Object.keys(t).length};var $t=(t,n)=>{let i={added:{},removed:{},modified:{}},r=H(t),o=H(n);for(let f of o){let s=t[f],e=n[f];if(!(f in t))i.added[f]=e;else if(y(s)&&y(e)){if(I(s)!==I(e))i.modified[f]={old:s,new:e}}else if(Q(s)&&Q(e)&&!G(s)&&!G(e)){let a=$t(s,e);if(Z(a.added)||Z(a.removed)||Z(a.modified))i.modified[f]={old:s,new:e}}else if(s!==e)i.modified[f]={old:s,new:e}}for(let f of r)if(!(f in n))i.removed[f]=t[f];return i};var At=(t)=>{return U(t).some((n)=>{return Z(n)})};var q=(t,n=2)=>String(t).padStart(n,"0"),Xt=new Map;function A(t,n){let i=JSON.stringify({locale:n,...t}),r=Xt.get(i);if(!r)r=new Intl.DateTimeFormat(n,t),Xt.set(i,r);return r}var Tt={YYYY:(t)=>String(t.getFullYear()),YY:(t)=>q(t.getFullYear()%100),MMMM:(t,n)=>A({month:"long"},n).format(t),MMM:(t,n)=>A({month:"short"},n).format(t),MM:(t)=>q(t.getMonth()+1),M:(t)=>String(t.getMonth()+1),dddd:(t,n)=>A({weekday:"long"},n).format(t),ddd:(t,n)=>A({weekday:"short"},n).format(t),DD:(t)=>q(t.getDate()),D:(t)=>String(t.getDate()),HH:(t)=>q(t.getHours()),H:(t)=>String(t.getHours()),hh:(t)=>{let n=t.getHours()%12||12;return q(n)},h:(t)=>String(t.getHours()%12||12),A:(t,n)=>{return(A({hour:"numeric",hour12:!0},n).formatToParts(t).find((o)=>o.type==="dayPeriod")?.value??(t.getHours()<12?"AM":"PM")).toUpperCase()},a:(t,n)=>{return(A({hour:"numeric",hour12:!0},n).formatToParts(t).find((o)=>o.type==="dayPeriod")?.value??(t.getHours()<12?"AM":"PM")).toLowerCase()},mm:(t)=>q(t.getMinutes()),m:(t)=>String(t.getMinutes()),ss:(t)=>q(t.getSeconds()),s:(t)=>String(t.getSeconds()),SSS:(t)=>q(t.getMilliseconds(),3),Q:(t)=>String(Math.floor(t.getMonth()/3)+1),DoY:(t)=>{let n=new Date(t.getFullYear(),0,1),i=Math.floor((+t-+n)/86400000)+1;return String(i)}};function si(){if(globalThis.__dateTokenRegex)return globalThis.__dateTokenRegex;let t=new RegExp(Object.keys(Tt).sort((n,i)=>i.length-n.length).map((n)=>n.replace(/([.*+?^${}()|[\]\\])/g,"\\$1")).join("|"),"g");return globalThis.__dateTokenRegex=t,t}function ei(t,n="YYYY-MM-DD HH:mm:ss",i){let r=typeof t==="number"?new Date(t):typeof t==="string"?new Date(t):t,o=si(),f=new Map;return n.replace(o,(s)=>{if(f.has(s))return f.get(s);let e=Tt[s],a=e?e(r,i):s;return f.set(s,a),a})}Date.prototype.format=function(t,n){return ei(this,t,n)};Date.registerFormat=function(t,n){Tt[t]=n,globalThis.__dateTokenRegex=null};Date.format=function(t,n){return new Date().format(t,n)};class Dt{static rand(t=6,n){if(n)return Math.floor(Math.random()*(n-t+1)+t);return Math.floor(Math.random()*t)+1-1}static fill(t,n=null){return Array(t).fill(n)}static new({dom:t,id:n,inner:i}){let r=document.createElement(t);if(n)r.id=n;if(i)r.innerHTML=i;return r}static randFrom(t){if(Array.isArray(t)){let n=t.length,i=this.rand(0,n-1);return t[i]}else if(typeof t=="object"){let n=H(t),i=n.length,r=this.rand(0,i-1);return n[r]}}static randArray(t=[],n=1,i=!1){let r=[],o=i?new Set:null;while((i?o.size:r.length)<n){let f=t[Dt.rand(0,t.length-1)];i?o.add(f):r.push(f)}return i?[...o]:r}static randomAZ=It;static makeID=ut;static class(t,...n){let i=n.filter(Boolean);if(t?.class)i.push(...y(t.class)?t.class:[t.class]);if(i.length)t.class=i}static get O(){return{vals:U,keys:H,items:b,has:Zt,ass:D,len:(t={})=>H(t).length}}static get is(){return Nt}static get return(){return Kt}static isHREF(t,n){return t===n?!0:t.startsWith(n)&&n!=="/"?!0:!1}static sleep=(t=1000)=>new Promise((n)=>setTimeout(n,t));static get screen(){let{innerWidth:t}=window,n={xs:t<=480,sm:t>=480,smd:t>=624,md:t>=768,lg:t>=1024,xl:t>=1280,xxl:t>=1536},i=b(n).reverse();for(let r=0;r<i.length;r++){let[o,f]=i[r];if(f)return o}return}bytes(t){if(t===0)return"0 Bytes";let n=1024,i=["Bytes","KB","MB","GB"],r=Math.floor(Math.log(t)/Math.log(n));return parseFloat((t/Math.pow(n,r)).toFixed(2))+" "+i[r]}static format(t){return new Pt(t)}static compareObjects=$t;static isObjectUdpated=At}class Kt{static arr(t){return t?y(t)?t:[t]:[]}static num(t,n=0){let i=parseFloat(t);return isNaN(i)?n:i}static str(t){return String(t)}static arr2obj(t,n=!1){return t.reduce((i,r,o)=>{if(n)i[r]=o;else i[o]=r;return i},{})}}class Pt{val;constructor(t){this.val=t}get px(){return`${this.val}px`}get rem(){return`${this.val}rem`}get pr(){return`${this.val}%`}}var{getPrototypeOf:kr,defineProperty:hi,getOwnPropertyNames:vr}=Object;var bi=(t,n)=>{for(var i in n)hi(t,i,{get:n[i],enumerable:!0,configurable:!0,set:(r)=>n[i]=()=>r})};var Vt={};bi(Vt,{isWhitespace:()=>On,isWeakSet:()=>en,isWeakMap:()=>sn,isUndefined:()=>Yt,isUint8Array:()=>pt,isSymbol:()=>mt,isSubclassOf:()=>Qn,isString:()=>wt,isSet:()=>un,isRegExp:()=>Dn,isRecord:()=>rn,isReadonlyArray:()=>kt,isPromise:()=>Fn,isPrimitive:()=>Hn,isPositiveNumber:()=>En,isPlainObject:()=>tt,isObjectLike:()=>hn,isObject:()=>et,isNumberLike:()=>dt,isNumber:()=>X,isNullish:()=>Mn,isNull:()=>an,isNotNullish:()=>yn,isNotNull:()=>P,isNonNegativeNumber:()=>$n,isNonFunctionObject:()=>bn,isNonEmptyString:()=>cn,isNonEmptyObject:()=>nn,isModule:()=>Rn,isMap:()=>gn,isIterable:()=>on,isInteger:()=>Nn,isInstanceOf:()=>Bn,isFunction:()=>Ft,isFiniteNumber:()=>Cn,isError:()=>wn,isEmptyString:()=>ln,isEmpty:()=>Yn,isDefined:()=>Sn,isDate:()=>Tn,isClass:()=>qn,isBoolean:()=>_t,isBinaryLike:()=>tn,isBigInt:()=>zt,isAsyncIterable:()=>fn,isAsyncFunction:()=>Un,isArrayBufferView:()=>xt,isArrayBuffer:()=>vt,isArray:()=>K,IS_NOT_BROWSER:()=>Jn,IS_BROWSER:()=>Wn});var _t=(t)=>typeof t==="boolean",wt=(t)=>typeof t==="string",X=(t)=>typeof t==="number"&&!Number.isNaN(t),zt=(t)=>typeof t==="bigint",mt=(t)=>typeof t==="symbol",Ft=(t)=>typeof t==="function",dt=(t)=>{let n=typeof t==="number"?t:parseFloat(String(t));return!Number.isNaN(n)&&Number.isFinite(n)},K=(t)=>Array.isArray(t),kt=(t)=>Array.isArray(t),vt=(t)=>t instanceof ArrayBuffer,xt=(t)=>typeof ArrayBuffer<"u"&&ArrayBuffer.isView(t),pt=(t)=>t instanceof Uint8Array,tn=(t)=>t instanceof Uint8Array||t instanceof ArrayBuffer||typeof t==="string",et=(t)=>P(t)&&typeof t==="object",tt=(t)=>P(t)&&et(t)&&(Object.getPrototypeOf(t)===Object.prototype||Object.getPrototypeOf(t)===null),nn=(t)=>tt(t)&&Object.keys(t).length>0,rn=(t)=>tt(t),on=(t)=>t!=null&&typeof t[Symbol.iterator]==="function",fn=(t)=>t!=null&&typeof t[Symbol.asyncIterator]==="function",gn=(t)=>t instanceof Map,un=(t)=>t instanceof Set,sn=(t)=>t instanceof WeakMap,en=(t)=>t instanceof WeakSet,hn=(t)=>t!==null&&(typeof t==="object"||typeof t==="function"),bn=(t)=>t!==null&&typeof t==="object",an=(t)=>t===null,Yt=(t)=>t===void 0,Sn=(t)=>!Yt(t),Mn=(t)=>t==null,P=(t)=>t!==null,yn=(t)=>t!=null,ln=(t)=>typeof t==="string"&&t.length===0,cn=(t)=>typeof t==="string"&&t.length>0,On=(t)=>typeof t==="string"&&t.length>0&&t.trim().length===0,Nn=(t)=>X(t)&&Number.isInteger(t),Cn=(t)=>X(t)&&Number.isFinite(t),En=(t)=>X(t)&&Number.isFinite(t)&&t>0,$n=(t)=>X(t)&&Number.isFinite(t)&&t>=0,Tn=(t)=>t instanceof Date&&!Number.isNaN(t.getTime()),Dn=(t)=>t instanceof RegExp,wn=(t)=>t instanceof Error,Fn=(t)=>!!t&&typeof t.then==="function",Yn=(t)=>t==null||typeof t==="string"&&t.length===0||Array.isArray(t)&&t.length===0||(t instanceof Map||t instanceof Set)&&t.size===0||tt(t)&&Object.keys(t).length===0,Hn=(t)=>t===null||typeof t!=="object"&&typeof t!=="function",Rn=(t)=>P(t)&&et(t)&&t[Symbol.toStringTag]==="Module",Wn=typeof window<"u",Jn=typeof window>"u",Un=(t)=>Ft(t)&&P(t.constructor)&&t.constructor.name==="AsyncFunction",qn=(t)=>typeof t==="function"&&/^class\s/.test(Function.prototype.toString.call(t)),Bn=(t,n)=>t instanceof n,Qn=(t,n)=>typeof t==="function"&&typeof n==="function"&&t.prototype.isPrototypeOf(n.prototype);var nt=(t)=>{if(t.startsWith("webkit"))t="-"+t;return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()};var B=(t,n=2)=>String(t).padStart(n,"0"),Ln=new Map;function V(t,n){let i=JSON.stringify({locale:n,...t}),r=Ln.get(i);if(!r)r=new Intl.DateTimeFormat(n,t),Ln.set(i,r);return r}var Ht={YYYY:(t)=>String(t.getFullYear()),YY:(t)=>B(t.getFullYear()%100),MMMM:(t,n)=>V({month:"long"},n).format(t),MMM:(t,n)=>V({month:"short"},n).format(t),MM:(t)=>B(t.getMonth()+1),M:(t)=>String(t.getMonth()+1),dddd:(t,n)=>V({weekday:"long"},n).format(t),ddd:(t,n)=>V({weekday:"short"},n).format(t),DD:(t)=>B(t.getDate()),D:(t)=>String(t.getDate()),HH:(t)=>B(t.getHours()),H:(t)=>String(t.getHours()),hh:(t)=>{let n=t.getHours()%12||12;return B(n)},h:(t)=>String(t.getHours()%12||12),A:(t,n)=>{return(V({hour:"numeric",hour12:!0},n).formatToParts(t).find((i)=>i.type==="dayPeriod")?.value??(t.getHours()<12?"AM":"PM")).toUpperCase()},a:(t,n)=>{return(V({hour:"numeric",hour12:!0},n).formatToParts(t).find((i)=>i.type==="dayPeriod")?.value??(t.getHours()<12?"AM":"PM")).toLowerCase()},mm:(t)=>B(t.getMinutes()),m:(t)=>String(t.getMinutes()),ss:(t)=>B(t.getSeconds()),s:(t)=>String(t.getSeconds()),SSS:(t)=>B(t.getMilliseconds(),3),Q:(t)=>String(Math.floor(t.getMonth()/3)+1),DoY:(t)=>{let n=new Date(t.getFullYear(),0,1),i=Math.floor((+t-+n)/86400000)+1;return String(i)}};function ai(){if(globalThis.__dateTokenRegex)return globalThis.__dateTokenRegex;let t=new RegExp(Object.keys(Ht).sort((n,i)=>i.length-n.length).map((n)=>n.replace(/([.*+?^${}()|[\]\\])/g,"\\$1")).join("|"),"g");return globalThis.__dateTokenRegex=t,t}function Si(t,n="YYYY-MM-DD HH:mm:ss",i){let r=typeof t==="number"?new Date(t):typeof t==="string"?new Date(t):t,o=ai(),f=new Map;return n.replace(o,(s)=>{if(f.has(s))return f.get(s);let e=Ht[s],a=e?e(r,i):s;return f.set(s,a),a})}Date.prototype.format=function(t,n){return Si(this,t,n)};Date.registerFormat=function(t,n){Ht[t]=n,globalThis.__dateTokenRegex=null};Date.format=function(t,n){return new Date().format(t,n)};var Gn={xs:"480px",sm:"480px",smd:"624px",md:"768px",lg:"1024px",xl:"1280px",xxl:"1536px"};class ${static default="xs";static prop=b(Gn).reduce((t,[n,i],r)=>{return t[n]=`(${r==0?"max-width":"min-width"}: ${i})`,t},{});static extra={no_hover:"(pointer: coarse)",mobile:"(pointer: coarse)",print:"print",screen:"screen",dark:"(prefers-color-scheme: dark)"};constructor(t,n={}){let i=$.default,r={};if(t!==void 0)_(r,i,t,i);b(n).forEach(([o,f])=>{_(r,o,f,i)}),D(this,r)}static get breakpoints(){return Et(I(Gn))}}var _=(t,n,i,r)=>{if(i!==void 0)if(i instanceof $)b(i).forEach(([o,f])=>{if(r!==n)if(n!==o)if(r===o)_(t,n,f,r);else _(t,`${n}-${o}`,f,r);else _(t,o,f,r);else _(t,o,f,r)});else t[n]=i};function R(t,n){if(n)return new $(t,n);return new $(void 0,t)}function Mi(t){if(this._prefix)return R({[this._prefix]:t});else return R({xs:t})}function w(t){return new this.constructor({prefix:t,values:this._values,data:this.data})}class ht{_prefix;data;_values;constructor({prefix:t,data:n,values:i}={data:{},values:{}}){this._prefix=t,this._values=i,b(i).forEach(([r,o])=>{if(!this._values[r])this._values[r]=R({});D(this._values[r],o)}),this.data=n}get XS(){return w.call(this,"xs")}get SM(){return w.call(this,"sm")}get SMD(){return w.call(this,"smd")}get MD(){return w.call(this,"md")}get LG(){return w.call(this,"lg")}get XL(){return w.call(this,"xl")}get XXL(){return w.call(this,"xxl")}get NO_HOVER(){return w.call(this,"no_hover")}get MOBILE(){return w.call(this,"no_hover")}get PRINT(){return w.call(this,"print")}get SCREEN(){return w.call(this,"screen")}get DARK(){return w.call(this,"dark")}set _value(t){b(t).forEach(([n,i])=>{if(!this._values[n])this._values[n]=R({});D(this._values[n],Mi.call(this,i))})}get _value(){return this._values}}class F{k="";fallback;var="";value;constructor(t={},n){if(Z(t)){let[i,r]=b(t)[0];this.k=i,this.var="--"+st(i),this.value=r instanceof $?r:R(r,{}),this.fallback=n}else this.value=R({})}__(t){if(t)this.fallback=t;let n=this.fallback;if(n)return`var(${this.var}, ${u(n)})`;else return`var(${this.var})`}new(t,n){return new F({[this.k]:t instanceof $?t:u(t)},n)}}var yi=(t,n)=>{return new F(t,n)},li=(t)=>{let n={};for(let i in t)n[i]=new F({[i]:t[i]});return n};var u=(t,n={unit:"rem"})=>{let{rem:i,second:r,quote:o,degree:f,percent:s,delimeter:e,unit:a,delimeter_arr:M}=n;if(ct(t)||G(t)||!o&&t==="")return"";let h=y(t)?t:[t];if(!h.length)return"";return h.filter((S)=>Y(S)).map((S)=>{if(y(S))return e=M||", ",u(S,{...n,delimeter:" "});if(S instanceof F)return S.__();if(o)S=String(S);if(lt(S))if(i)return`${S}${a?a:"rem"}`;else if(f)return`${S}deg`;else if(s)return`${S}%`;else if(r)return`${S}s`;else return String(S);if(T(S))if(S.includes("("))return S;else if(o)return`'${S}'`;else return S;return""}).filter((S)=>Y(S)&&S!=="").join(e||" ")};var jn=new Set(["transitionDuration","transitionDelay","animationDelay","animationDuration"]),ci=new Set([...jn,"zIndex","opacity","aspectRatio","order","flexShrink","flexGrow","flex","fillOpacity","lineClamp","order","scale","webkitLineClamp","animationIterationCount","animationTimingFunction","transitionTimingFunction","columnCount","gridColumn","gridRow","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd"]),Oi=new Set(["content"]),Ni=new Set(["transitionProperty"]),z=(t,n,i="rem")=>{let r=u(n,{rem:!ci.has(t),second:jn.has(t),quote:Oi.has(t),delimeter:Ni.has(t)?", ":" ",unit:i});return`${nt(t)}: ${r};`};class bt{value;__;constructor(t){if(this.value=new c,T(t))this.value.set(t,[]);else b(t).forEach(([n,i])=>{this.value.set(`${n}:${i}`,[])});this.__=(...n)=>{return this.value.forEach((i)=>{i.push(...n)}),this}}}function Ci(t){return new bt(t).__}var m=(t)=>{if(gt(t))return m(t());if(t instanceof $)return t;if(t instanceof F)return R(t.__(),{});return R(t,{})};function Ei(t){let n={};return t.split(";").map((i)=>i.trim()).filter((i)=>i!=="").forEach((i)=>{let[r,o]=i.split(":").map((s)=>s.trim()),f=jt(r);if(!isNaN(Number(o))&&isFinite(Number(o)))n[f]=Number(o);else n[f]=o}),n}var $i=(t)=>{t.value.forEach((n,i)=>{t.value.set(i,n.map((r)=>{let o={};return b(r).forEach(([f,s])=>{if(Y(s))o[f]=m(s)}),o}))})},Rt=(t,n=[])=>{let i=[];if(y(t))return Rt(t[0],i);if(t instanceof F)return Rt(U(t.value),i);return i.push(String(t)),i};class Wt{base;constructor(t){this.base=t}props(t,n,i){let r=["animation","animationName"].includes(n);return b(i).forEach(([o,f])=>{if(r)i[o]=this.addPrefixToAnimation(t,f);else i[o]=f}),i}addPrefixToAnimation(t,n){if(n instanceof F)this.saveAnim(t,n);else if(y(n))return n[0]=this.addPrefixToAnimation(t,n[0]),n;else if(T(n)&&!n.includes("("))return n.split(", ").map((o)=>{let f=o.split(" "),s=f[0],e=f.slice(1).join(" "),a=`${this.base.PREFIX}${s}`;return this.base.ANIM.init(a,new Set).add(t),`${this.base.PREFIX}${s} ${e}`.trim()}).join(", ");return n}saveAnim(t,n){Rt(n).forEach((i)=>{this.base.ANIM.init(`${this.base.PREFIX}${i}`,new Set).add(t)})}process(t,n,i,r,o){if(i instanceof F)this.saveAnim(t,i),r.ass(n,this.props(t,i.var,m(i)));else if(n.startsWith(":")||n.startsWith(",")||n.startsWith("[")){if(n.startsWith("::before")||n.startsWith("::after")){if(y(i)){if(!i.some((s)=>("content"in s)))i.push({content:""})}}this.set(t+n,i,o)}else if(n.startsWith(" ")){let s=n.match(/^.*?\w/gm)?.[0].slice(0,-1),e=n.replaceAll(/, /gm,`, ${t}${s}`);this.set(t+e,i,o)}else if(yt(n))this.set(t+n,i,o);else r.set(n,this.props(t,n,m(i)))}set(t,n,i){if(!Q(n)&&!T(n))return;let r=new c;if(n instanceof F)this.saveAnim(t,n),r.ass(n.var,this.props(t,n.var,m(n.value)));else if(n instanceof ht)b(n._value).forEach(([f,s])=>{if(Y(s))r.set(f,this.props(t,f,m(s)))});else if(n instanceof bt)$i(n),r.init("supports",[]).push(n);else if(y(n))n.forEach((f)=>{this.set(t,f,i)});else if(T(n)){let f=Ei(n);this.set(t,f,i)}else b(n).forEach(([f,s])=>{return this.process(t,f,s,r,i)});let o=i.init(t,new c);r.forEach((f,s)=>{if(s==="supports")i.init(t,new c).init(s,[])?.push(...f);else o.set(s,f)})}}class it{PRE;EXPORT;UNIT;PS;PREFIX;ARR=new c;CID=new c;DATA=new c;ANIM=new c;IMPORTED=[];constructor(t="",n="",i,r){this.PRE=t;this.EXPORT=i;this.UNIT=r;this.PREFIX=n?n+"_":n,this.PS=new Wt(this)}get(t,n,i){let r=t.PRE+n;if(t.DATA.has(r))return r;else if(n in t)return t[n];else return t.PRE+n}set(t,n,i){return!1}get css(){return new Proxy(this,this)}load(t){return this.IMPORTED.push(t),this}__(t){Object.entries(t).forEach(([n,i])=>{this.set(this,n,i)})}}class L extends it{set(t,n,i){let r=t.PRE+n;return t.PS.set(r,i,t.DATA),!0}}class rt extends it{webkit;constructor(t="",n=!0,i){super("",t,!1,i);this.webkit=n}set(t,n,i){let r=t.PREFIX+n,o=y(i)?i:[i],f=new c;if(o.forEach((s)=>{b(s).forEach(([e,a])=>{let M=x(e)?`${e}%`:e;t.PS.set(M,a,f)})}),t.ANIM.init(r,new Set),t.DATA.set(`@keyframes ${r}`,f),this.webkit)t.DATA.set(`@-webkit-keyframes ${r}`,f);return!0}}class ot extends it{constructor(t=""){super("@",t)}set(t,n,i){return t.ARR.init(t.PRE+n,new Set).add(i),t}}class ft extends it{constructor(t=""){super("@font-face",t);this.ARR.set(this.PRE,new Set)}set(t,n,i){let r=b({fontFamily:n,...i}).map(([o,f])=>{return z(o,f,this.UNIT)});return t.ARR.get(t.PRE)?.add(r.join(`
|
|
4
|
+
`)),!0}}var In=Array.from;class Ut{shweet;shaker;include;CID=new c;css="";constructor(t,n=[],i=[]){this.shweet=t;this.shaker=n;this.include=i}load(t){let n=$.default,i=$.prop;D(i,$.extra);let r=new c,o={},f={},s={},e=new Set,a={},M={};H(i).forEach((h)=>{a[h]={}});for(let h of U(this.shweet))if(h instanceof L)this.ClassID(h,o,f,t),h.ANIM.forEach((S,l)=>{S.forEach((N)=>{r.init(l,new Set).add(N)})});else if(h instanceof rt)this.KF(h,s,r);else if(h instanceof ot)this.AT(h,e);else if(h instanceof ft)this.FONT(h,e);return b(o).forEach(([h,S])=>{if(!a[h])a[h]={};b(S).forEach(([l,N])=>{let O=N.join(", ");if(!a[h][O])a[h][O]=[];a[h][O].push(l)})}),b(f).forEach(([h,S])=>{b(S).forEach(([l,N])=>{if(!M[l])M[l]={};b(N).forEach(([O,C])=>{let E=`@supports(${h})`;if(!M[l][E])M[l][E]={};let W=C.join(", ");if(!M[l][E][W])M[l][E][W]=new Set;M[l][E][W].add(O)})})}),b(a).forEach(([h,S])=>{let l=[],N=[];if(b(S).forEach(([O,C])=>{if(C.some((W)=>{return W.startsWith("animation")||W.startsWith("transition")}))N.push(d(O,C));else l.push(d(O,C))}),N.length)l.unshift(...N);if(s[h])b(s[h]).forEach(([O,C])=>{l.push(d(O,C))});if(M[h])b(M[h]).forEach(([O,C])=>{let E=b(C).map(([W,Mt])=>{return d(W,[...Mt])});l.push(d(O,E))});if(l.length)if(e.add(`/* -------------- ${h+(h===n?" ( default )":"")} */`),h===n)e.add(l.join(`
|
|
5
|
+
`));else{let O=h.split("-").map((C)=>i[C]).join(" and ");e.add(`@media ${O} {
|
|
6
|
+
${l.join(`
|
|
6
7
|
`)}
|
|
7
|
-
}`)}}),this.css=[...
|
|
8
|
-
`),this}ClassID(n,
|
|
9
|
-
${
|
|
10
|
-
}`)}),
|
|
11
|
-
${
|
|
8
|
+
}`)}}),this.css=[...e].join(`
|
|
9
|
+
`),this}ClassID(t,n,i,r){let o=(f,s,e,a,M)=>{b(s).forEach(([h,S])=>{this.push(M,e,h,a,z(f,S,t.UNIT))})};t.DATA.forEach((f,s)=>{let e=Di(s,t.PREFIX),a=this.getCID(s,t.PREFIX,r);f.forEach((M,h)=>{if(h==="supports"){if(y(M))M.forEach((S)=>{S.value.forEach((l,N)=>{if(!(N in i))i[N]={};l.forEach((O)=>{b(O).forEach(([C,E])=>{o(C,E,e,a,i[N])})})})})}else o(h,M,e,a,n)})}),t.IMPORTED.forEach((f)=>{this.ClassID(f,n,i,f.EXPORT)})}KF(t,n,i){let r=(o,f,s)=>{Zn(n,o,f),n[o][f].push(s)};t.DATA.forEach((o,f)=>{o.forEach((s,e)=>{let a={};s.forEach((M,h)=>{if(h==="supports")p.e=["@supports not supported in @keyframes",{error:"support in keyframes"}];else b(M).forEach(([S,l])=>{if(this.shaker.length){let N=f.split(" ")[1];if(i.has(N)){if([...i.get(N)].some((E)=>{return this.getCID(E,"",!1,!1)})){if(!(S in a))a[S]=[];a[S].push(z(h,l,t.UNIT))}}}else{if(!(S in a))a[S]=[];a[S].push(z(h,l,t.UNIT))}})}),b(a).forEach(([M,h])=>{r(M,f,d(e,h))})})}),t.IMPORTED.forEach((o)=>{this.KF(o,n,i)})}AT(t,n){for(let[i,r]of t.ARR)r.forEach((o)=>{let f=o.includes("(")?o:`"${o}"`;n.add(`${i} ${f.trim()};`)});t.IMPORTED.forEach((i)=>{this.AT(i,n)})}FONT(t,n){(t.ARR.get("@font-face")??new Set).forEach((o)=>{n.add(`@font-face {
|
|
10
|
+
${o}
|
|
11
|
+
}`)}),t.IMPORTED.forEach((o)=>{this.FONT(o,n)})}getCID(t,n,i,r=!0){let o=/\.(?![0-9])([a-zA-Z0-9_-]+)(?![^{]*})/g,f=/#(?![0-9])([a-zA-Z0-9_-]+)(?![^{]*})/g,s=/\b([a-zA-Z][a-zA-Z0-9]*)\b(?![^{}]*})/g,e=[...new Set(Jt(t,o)),...new Set(Jt(t,f))];if(r&&Y(i)&&i)e.forEach((a)=>{this.CID.init(a.replaceAll("-","_"),new Set).add(n+a)});return e.push(...new Set(Jt(t,s))),e.some((a)=>this.shaker.includes(a)||this.include.includes(a))}push(t,n,i,r,o){if(!(this.shaker.length&&n.startsWith(".")||this.shaker.length&&n.startsWith("#"))||r)Zn(t,i,o),Ti(t,i,o,n)}}var d=(t,n)=>{return`${t} {
|
|
12
|
+
${n.join(`
|
|
12
13
|
`)}
|
|
13
|
-
}`},Nn=(n,C)=>{return hn(n.matchAll(C),($)=>$[1])},wn=(n,C,$)=>{try{if(!n[C])n[C]={},n[C][$]=[];if(!n[C][$])n[C][$]=[]}catch(f){d.e=[`property "${C}" not found!`,{error:"@ensurePropsInitialized"}]}},ZC=(n,C,$,f)=>{if(!n[C])n[C]={[$]:f.split(",").map((E)=>E.trim())};else n[C][$].push(...f.split(",").map((E)=>E.trim()))},OC=(n,C)=>{if(C)return n.replaceAll(/\.|\#/g,($)=>$+C);return n};import{mkdirSync as LC,writeFileSync as BC,existsSync as zn}from"fs";var fn=(n,C="")=>{if(zn(n))return!0;return BC(n,C,{flag:"wx"}),!0},En=(n)=>{if(zn(n))return!0;return LC(n,{recursive:!0}),!0};import{writeFileSync as on}from"fs";function J(n){return function(...C){return{[n]:C}}}class _n{static attr(n){let[C,$]=U(n)[0];return J(`[${C}="${$}"]`)}static after(n=""){return J("::after"+n)}static before(n=""){return J("::before"+n)}static backdrop(n=""){return J("::backdrop"+n)}static cue(n=""){return J("::cue"+n)}static cueRegion(n=""){return J("::cue-region"+n)}static firstLetter(n=""){return J("::first-letter"+n)}static firstLine(n=""){return J("::first-line"+n)}static marker(n=""){return J("::marker"+n)}static part(n=""){return J("::part"+n)}static placeholder(n=""){return J("::placeholder"+n)}static selection(n=""){return J("::selection"+n)}static slotted(n=""){return J("::slotted"+n)}static spellingError(n=""){return J("::spelling-error"+n)}static targetText(n=""){return J("::target-text"+n)}static viewTransition(n=""){return J("::view-transition"+n)}static viewTransitionGroup(n=""){return J("::view-transition-group"+n)}static viewTransitionImagePair(n=""){return J("::view-transition-image-pair"+n)}static viewTransitionNew(n=""){return J("::view-transition-new"+n)}static viewTransitionOld(n=""){return J("::view-transition-old"+n)}static scrollbar(n=""){return J("::-webkit-scrollbar"+n)}static scrollbarThumb(n=""){return J("::-webkit-scrollbar-thumb"+n)}static scrollbarTrack(n=""){return J("::-webkit-scrollbar-track"+n)}static scrollbarCorner(n=""){return J("::-webkit-scrollbar-corner"+n)}static active(n=""){return J(":active"+n)}static anyLink(n=""){return J(":any-link"+n)}static autofill(n=""){return J(":autofill"+n)}static blank(n=""){return J(":blank"+n)}static checked(n=""){return J(":checked"+n)}static current(n=""){return J(":current"+n)}static default(n=""){return J(":default"+n)}static defined(n=""){return J(":defined"+n)}static disabled(n=""){return J(":disabled"+n)}static empty(n=""){return J(":empty"+n)}static enabled(n=""){return J(":enabled"+n)}static first(n=""){return J(":first"+n)}static firstChild(n=""){return J(":first-child"+n)}static firstOfType(n=""){return J(":first-of-type"+n)}static fullscreen(n=""){return J(":fullscreen"+n)}static future(n=""){return J(":future"+n)}static focus(n=""){return J(":focus"+n)}static focusVisible(n=""){return J(":focus-visible"+n)}static focusWithin(n=""){return J(":focus-within"+n)}static host(n=""){return J(":host"+n)}static hover(n=""){return J(":hover"+n)}static indeterminate(n=""){return J(":indeterminate"+n)}static inRange(n=""){return J(":in-range"+n)}static invalid(n=""){return J(":invalid"+n)}static lastChild(n=""){return J(":last-child"+n)}static lastOfType(n=""){return J(":last-of-type"+n)}static left(n=""){return J(":left"+n)}static link(n=""){return J(":link"+n)}static localLink(n=""){return J(":local-link"+n)}static modal(n=""){return J(":modal"+n)}static onlyChild(n=""){return J(":only-child"+n)}static onlyOfType(n=""){return J(":only-of-type"+n)}static optional(n=""){return J(":optional"+n)}static outOfRange(n=""){return J(":out-of-range"+n)}static past(n=""){return J(":past"+n)}static pictureInPicture(n=""){return J(":picture-in-picture"+n)}static placeholderShown(n=""){return J(":placeholder-shown"+n)}static paused(n=""){return J(":paused"+n)}static playing(n=""){return J(":playing"+n)}static readOnly(n=""){return J(":read-only"+n)}static readWrite(n=""){return J(":read-write"+n)}static required(n=""){return J(":required"+n)}static right(n=""){return J(":right"+n)}static root(n=""){return J(":root"+n)}static scope(n=""){return J(":scope"+n)}static target(n=""){return J(":target"+n)}static targetWithin(n=""){return J(":target-within"+n)}static userInvalid(n=""){return J(":user-invalid"+n)}static valid(n=""){return J(":valid"+n)}static visited(n=""){return J(":visited"+n)}static dir(n){return J(`:dir(${n})`)}static has(n){return J(`:has(${n})`)}static host_(n){return J(`:host(${n})`)}static hostContext(n){return J(`:host-context(${n})`)}static is(n){return J(`:is(${n})`)}static lang(n){return J(`:lang(${n})`)}static not(n){return J(`:not(${n})`)}static nthChild(n){return J(`:nth-child(${n})`)}static nthCol(n){return J(`:nth-col(${n})`)}static nthLastChild(n){return J(`:nth-last-child(${n})`)}static nthLastCol(n){return J(`:nth-last-col(${n})`)}static nthLastOfType(n){return J(`:nth-last-of-type(${n})`)}static nthOfType(n){return J(`:nth-of-type(${n})`)}static state(n){return J(`:state(${n})`)}static where(n){return J(`:where(${n})`)}static and(n){return J(", "+n)}static child(n){return J(" > "+n)}static desc(n){return J(" "+n)}static next(n){return J(" + "+n)}static general(n){return J(" ~ "+n)}static withClass(n){if(!n.startsWith("."))throw Error("should start with . or # - class / id");return J(n)}}class yn{static minmax(n,C){return`minmax(${q([n,C],{rem:!0,delimeter:", "})})`}static fitContent(n){return`fit-content(${q([n],{rem:!0})})`}static repeat(n,...C){return`repeat(${q([n,q([C],{rem:!0})],{delimeter:", "})})`}}class un extends yn{static attr(n,C,$){return`attr(${q([n,C,$])})`}static blur(n){return`blur(${q([n],{rem:!0})})`}static brightness(n){return`brightness(${q([n])})`}static calc(...n){return`calc(${q(n,{rem:!0})})`}static circle(n,C){return`circle(${q([n,C],{rem:!0})})`}static clamp(n,C,$){return`clamp(${q([n,C,$],{rem:!0,delimeter:", "})})`}static colorMix(n,C,$){return`color-mix(${q([n,q(Z(C)?C:[C]),q(Z($)?$:[$])],{delimeter:", "})})`}static conicGradient(...n){return`conic-gradient(${q(n,{delimeter:", "})})`}static contrast(n){return`contrast(${q([n])})`}static cubicBezier(n,C,$,f){return`cubic-bezier(${q([n,C,$,f],{delimeter:", "})})`}static dropShadow(...n){return`drop-shadow(${q(n,{rem:!0})})`}static grayscale(n){return`grayscale(${q([n])})`}static hsl(n,C,$){return`hsl(${q([n,C,$])})`}static hsla(n,C,$,f){return`hsl(${q([n,C,$,f?["/",f]:f])})`}static hueRotate(n){return`hue-rotate(${q([n],{degree:!0})})`}static inset(...n){return`inset(${q(n,{rem:!0})})`}static invert(n){return`invert(${q([n])})`}static linearGradient(...n){return`linear-gradient(${q(n,{delimeter:", "})})`}static matrix(n,C,$,f,E,Q){return`matrix(${q([n,C,$,f,E,Q],{delimeter:", "})})`}static matrix3d(n,C,$,f){return`matrix3d(${q([n,C,$,f],{delimeter:", "})})`}static max(...n){return`max(${q(n,{rem:!0,delimeter:", "})})`}static min(...n){return`min(${q(n,{rem:!0,delimeter:", "})})`}static opacity(n){return`opacity(${q([n])})`}static path(n){return`path(${q([n],{quote:!0})})`}static clipPath(n,C){return`path(${q([n,q([C],{quote:!0})],{delimeter:", "})})`}static perspective(n){return`perspective(${q([n])})`}static polygon(...n){return`polygon(${q(n,{percent:!0,delimeter:", "})})`}static ray(...n){return`ray(${q(n,{degree:!0})})`}static radialGradient(...n){return`radial-gradient(${q(n,{delimeter_arr:", ",percent:!0,delimeter:", "})})`}static repeatingConicGradient(...n){return`repeating-conic-gradient(${q(n,{degree:!0,delimeter:", "})})`}static repeatingLinearGradient(...n){return`repeating-linear-gradient(${q(n,{degree:!0,delimeter:", "})})`}static repeatingRadialGradient(...n){return`repeating-radial-gradient(${q(n,{degree:!0,delimeter:", "})})`}static rgb(n,C,$){return`rgb(${q([n,C,$])})`}static rgba(n,C,$,f){return`rgba(${q([n,C,$,f?["/",f]:void 0],{delimeter_arr:" "})})`}static rotate(n){return`rotate(${q([n],{degree:!0})})`}static rotate3d(n,C,$,f){return`rotate3d(${q([q([n,C,$],{delimeter:", "}),f],{degree:!0,delimeter:", "})})`}static rotateX(n){return`rotateX(${q([n],{degree:!0})})`}static rotateY(n){return`rotateY(${q([n],{degree:!0})})`}static rotateZ(n){return`rotateZ(${q([n],{degree:!0})})`}static saturate(...n){return`saturate(${q(n)})`}static scale(n,C){return`scale(${q([n,C],{delimeter:", "})})`}static scale3d(n,C,$){return`scale3d(${q([n,C,$],{delimeter:", "})})`}static scaleX(n){return`scaleX(${q([n])})`}static scaleY(n){return`scaleY(${q([n])})`}static scaleZ(n){return`scaleZ(${q([n])})`}static sepia(n){return`sepia(${q([n])})`}static skew(...n){return`skew(${q(n,{degree:!0,delimeter:", "})})`}static skewX(n){return`skewX(${q([n],{degree:!0})})`}static skewY(n){return`skewY(${q([n],{degree:!0})})`}static steps(n,C){return`steps(${q([n,C],{delimeter:", "})})`}static translate(...n){return`translate(${q(n,{rem:!0,delimeter:", "})})`}static translate3d(...n){return`translate3d(${q(n,{rem:!0,delimeter:", "})})`}static translateX(n){return`translateX(${q([n],{rem:!0})})`}static translateY(n){return`translateY(${q([n],{rem:!0})})`}static translateZ(...n){return`translateZ(${q(n,{rem:!0,delimeter:", "})})`}static url(n){return`url(${q([n],{quote:!0})})`}static var(n,C=""){n="--"+A(n);let $=C?", "+q([C],{rem:!0,delimeter:", "}):"";return`var(${q([n],{rem:!0})}${$})`}}var NC={important:" !important",visible:"visible",hidden:"hidden",auto:"auto",none:"none",clip:"clip",scroll:"scroll",initial:"initial",inherit:"inherit",flex:"flex",center:"center",flex_start:"flex-start",flex_end:"flex-end",space_evenly:"space-evenly",stretch:"stretch",wrap:"wrap",column:"column",column_reverse:"column-reverse",row:"row",row_reverse:"row-reverse",space_between:"space-between",space_around:"space-around",pr100:"100%",pr50:"50%",i100vh:"100vh",i100vw:"100vw",block:"block",sticky:"sticky",fixed:"fixed",absolute:"absolute",relative:"relative",pointer:"pointer",grabbing:"grabbing",checkbox:"checkbox",solid:"solid",inset:"inset",bold:"bold",currentColor:"currentColor",forwards:"forwards",text:"text",norepeat:"no-repeat",nowrap:"nowrap",difference:"difference",preserve3d:"preserve-3d"};class HC{path;name;prefix;exportMap;_imported=new Set;save;constructor({__filename:n,name:C,prefix:$,shweets:f=[],exportMap:E,webkitKeyframes:Q,unit:T="rem"}){this.path=n,this.name=C||bC(n),this.prefix=$??"",this.exportMap=E;let G=Z(f)?f:[f];FC.call(this,this.prefix,G,Q,E,T);let R=this;Object.assign(this,{get shweet(){return R}}),this.save=({dir:O,mapDir:S=[],mapName:W="index",minify:L=!0,shaker:H=[],include:N=[]}={})=>{let X=M(E)?E:!!S,Y=new Hn(this,H,N).load(X),V=Z(O)?O:[O],Qn=L?XC(Y.css):Y.css;V.forEach((i)=>{if(!i)return;let r=i.endsWith("/")?"":"/",l=i+r+this.name+".css";En(i+r),fn(l),on(l,Qn||"/* --------------*/")});let tn=Z(S)?S:[S];for(let i of tn){let r=i.endsWith("/")?"":"/",l=S+r+W+".js";En(S+r),fn(l),YC(l,Y.CID)}return this}}get imported(){return[...this._imported]}}var XC=(n)=>{return n.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{}:;,])\s*/g,"$1").replace(/\s*([>~+])\s*/g,"$1").trim()},YC=(n,C)=>{let $={};C.forEach((E)=>{U(E).forEach(([Q,T])=>{if(!$[Q])$[Q]=[T];else $[Q].push(T)})});let f=[...C.entries()].map(([E,Q])=>{return`${E}="${[...Q].join(" ")}"`}).sort((E,Q)=>E.localeCompare(Q,void 0,{numeric:!0}));on(n,f.length?`export const ${f.join()};`:"export {}");return};function FC(n,C,$=!1,f,E){let Q={d:new z("",n,f,E),i:new z("#",n,f,E),c:new z(".",n,f,E),kf:new p(n,$,E),at:new s,font:new a};C.forEach((T)=>{this._imported.add(T.path),T._imported.forEach((G)=>{this._imported.add(G)}),D(Q).forEach((G)=>{Q[G].load(T[G])})}),D(Q).forEach((T)=>{Q[T]=Q[T].css}),b(this,Q)}function bC(n){return n.split("/").slice(-1)[0].split(".")[0]}export{NC as v,UC as supports,_n as ps,F as media,g as med,d as log,bC as fileName,un as f,On as __,qC as Vars,JC as Var,q as Value,HC as Shweet,Cn as Medyas};
|
|
14
|
+
}`},Jt=(t,n)=>{return In(t.matchAll(n),(i)=>i[1])},Zn=(t,n,i)=>{try{if(!t[n])t[n]={},t[n][i]=[];if(!t[n][i])t[n][i]=[]}catch(r){p.e=[`property "${n}" not found!`,{error:"@ensurePropsInitialized"}]}},Ti=(t,n,i,r)=>{if(!t[n])t[n]={[i]:r.split(",").map((o)=>o.trim())};else t[n][i].push(...r.split(",").map((o)=>o.trim()))},Di=(t,n)=>{if(n)return t.replaceAll(/\.|\#/g,(i)=>i+n);return t};import{mkdirSync as wi,writeFileSync as Fi,existsSync as An}from"fs";var at=(t,n="")=>{if(An(t))return!0;return Fi(t,n,{flag:"wx"}),!0},St=(t)=>{if(An(t))return!0;return wi(t,{recursive:!0}),!0};import{writeFileSync as Vn}from"fs";function g(t){return function(...n){return{[t]:n}}}class Xn{static attr(t){let[n,i]=b(t)[0];return g(`[${n}="${i}"]`)}static after(t=""){return g("::after"+t)}static before(t=""){return g("::before"+t)}static backdrop(t=""){return g("::backdrop"+t)}static cue(t=""){return g("::cue"+t)}static cueRegion(t=""){return g("::cue-region"+t)}static firstLetter(t=""){return g("::first-letter"+t)}static firstLine(t=""){return g("::first-line"+t)}static marker(t=""){return g("::marker"+t)}static part(t=""){return g("::part"+t)}static placeholder(t=""){return g("::placeholder"+t)}static selection(t=""){return g("::selection"+t)}static slotted(t=""){return g("::slotted"+t)}static spellingError(t=""){return g("::spelling-error"+t)}static targetText(t=""){return g("::target-text"+t)}static viewTransition(t=""){return g("::view-transition"+t)}static viewTransitionGroup(t=""){return g("::view-transition-group"+t)}static viewTransitionImagePair(t=""){return g("::view-transition-image-pair"+t)}static viewTransitionNew(t=""){return g("::view-transition-new"+t)}static viewTransitionOld(t=""){return g("::view-transition-old"+t)}static scrollbar(t=""){return g("::-webkit-scrollbar"+t)}static scrollbarThumb(t=""){return g("::-webkit-scrollbar-thumb"+t)}static scrollbarTrack(t=""){return g("::-webkit-scrollbar-track"+t)}static scrollbarCorner(t=""){return g("::-webkit-scrollbar-corner"+t)}static active(t=""){return g(":active"+t)}static anyLink(t=""){return g(":any-link"+t)}static autofill(t=""){return g(":autofill"+t)}static blank(t=""){return g(":blank"+t)}static checked(t=""){return g(":checked"+t)}static current(t=""){return g(":current"+t)}static default(t=""){return g(":default"+t)}static defined(t=""){return g(":defined"+t)}static disabled(t=""){return g(":disabled"+t)}static empty(t=""){return g(":empty"+t)}static enabled(t=""){return g(":enabled"+t)}static first(t=""){return g(":first"+t)}static firstChild(t=""){return g(":first-child"+t)}static firstOfType(t=""){return g(":first-of-type"+t)}static fullscreen(t=""){return g(":fullscreen"+t)}static future(t=""){return g(":future"+t)}static focus(t=""){return g(":focus"+t)}static focusVisible(t=""){return g(":focus-visible"+t)}static focusWithin(t=""){return g(":focus-within"+t)}static host(t=""){return g(":host"+t)}static hover(t=""){return g(":hover"+t)}static indeterminate(t=""){return g(":indeterminate"+t)}static inRange(t=""){return g(":in-range"+t)}static invalid(t=""){return g(":invalid"+t)}static lastChild(t=""){return g(":last-child"+t)}static lastOfType(t=""){return g(":last-of-type"+t)}static left(t=""){return g(":left"+t)}static link(t=""){return g(":link"+t)}static localLink(t=""){return g(":local-link"+t)}static modal(t=""){return g(":modal"+t)}static onlyChild(t=""){return g(":only-child"+t)}static onlyOfType(t=""){return g(":only-of-type"+t)}static optional(t=""){return g(":optional"+t)}static outOfRange(t=""){return g(":out-of-range"+t)}static past(t=""){return g(":past"+t)}static pictureInPicture(t=""){return g(":picture-in-picture"+t)}static placeholderShown(t=""){return g(":placeholder-shown"+t)}static paused(t=""){return g(":paused"+t)}static playing(t=""){return g(":playing"+t)}static readOnly(t=""){return g(":read-only"+t)}static readWrite(t=""){return g(":read-write"+t)}static required(t=""){return g(":required"+t)}static right(t=""){return g(":right"+t)}static root(t=""){return g(":root"+t)}static scope(t=""){return g(":scope"+t)}static target(t=""){return g(":target"+t)}static targetWithin(t=""){return g(":target-within"+t)}static userInvalid(t=""){return g(":user-invalid"+t)}static valid(t=""){return g(":valid"+t)}static visited(t=""){return g(":visited"+t)}static dir(t){return g(`:dir(${t})`)}static has(t){return g(`:has(${t})`)}static host_(t){return g(`:host(${t})`)}static hostContext(t){return g(`:host-context(${t})`)}static is(t){return g(`:is(${t})`)}static lang(t){return g(`:lang(${t})`)}static not(t){return g(`:not(${t})`)}static nthChild(t){return g(`:nth-child(${t})`)}static nthCol(t){return g(`:nth-col(${t})`)}static nthLastChild(t){return g(`:nth-last-child(${t})`)}static nthLastCol(t){return g(`:nth-last-col(${t})`)}static nthLastOfType(t){return g(`:nth-last-of-type(${t})`)}static nthOfType(t){return g(`:nth-of-type(${t})`)}static state(t){return g(`:state(${t})`)}static where(t){return g(`:where(${t})`)}static and(t){return g(", "+t)}static child(t){return g(" > "+t)}static desc(t){return g(" "+t)}static next(t){return g(" + "+t)}static general(t){return g(" ~ "+t)}static withClass(t){if(!t.startsWith("."))throw Error("should start with . or # - class / id");return g(t)}}class Kn{static minmax(t,n){return`minmax(${u([t,n],{rem:!0,delimeter:", "})})`}static fitContent(t){return`fit-content(${u([t],{rem:!0})})`}static repeat(t,...n){return`repeat(${u([t,u([n],{rem:!0})],{delimeter:", "})})`}}class Pn extends Kn{static attr(t,n,i){return`attr(${u([t,n,i])})`}static blur(t){return`blur(${u([t],{rem:!0})})`}static brightness(t){return`brightness(${u([t])})`}static calc(...t){return`calc(${u(t,{rem:!0})})`}static circle(t,n){return`circle(${u([t,n],{rem:!0})})`}static clamp(t,n,i){return`clamp(${u([t,n,i],{rem:!0,delimeter:", "})})`}static colorMix(t,n,i){return`color-mix(${u([t,u(K(n)?n:[n]),u(K(i)?i:[i])],{delimeter:", "})})`}static conicGradient(...t){return`conic-gradient(${u(t,{delimeter:", "})})`}static contrast(t){return`contrast(${u([t])})`}static cubicBezier(t,n,i,r){return`cubic-bezier(${u([t,n,i,r],{delimeter:", "})})`}static dropShadow(...t){return`drop-shadow(${u(t,{rem:!0})})`}static grayscale(t){return`grayscale(${u([t])})`}static hsl(t,n,i){return`hsl(${u([t,n,i])})`}static hsla(t,n,i,r){return`hsl(${u([t,n,i,r?["/",r]:r])})`}static hueRotate(t){return`hue-rotate(${u([t],{degree:!0})})`}static inset(...t){return`inset(${u(t,{rem:!0})})`}static invert(t){return`invert(${u([t])})`}static linearGradient(...t){return`linear-gradient(${u(t,{delimeter:", "})})`}static matrix(t,n,i,r,o,f){return`matrix(${u([t,n,i,r,o,f],{delimeter:", "})})`}static matrix3d(t,n,i,r){return`matrix3d(${u([t,n,i,r],{delimeter:", "})})`}static max(...t){return`max(${u(t,{rem:!0,delimeter:", "})})`}static min(...t){return`min(${u(t,{rem:!0,delimeter:", "})})`}static opacity(t){return`opacity(${u([t])})`}static path(t){return`path(${u([t],{quote:!0})})`}static clipPath(t,n){return`path(${u([t,u([n],{quote:!0})],{delimeter:", "})})`}static perspective(t){return`perspective(${u([t])})`}static polygon(...t){return`polygon(${u(t,{percent:!0,delimeter:", "})})`}static ray(...t){return`ray(${u(t,{degree:!0})})`}static radialGradient(...t){return`radial-gradient(${u(t,{delimeter_arr:", ",percent:!0,delimeter:", "})})`}static repeatingConicGradient(...t){return`repeating-conic-gradient(${u(t,{degree:!0,delimeter:", "})})`}static repeatingLinearGradient(...t){return`repeating-linear-gradient(${u(t,{degree:!0,delimeter:", "})})`}static repeatingRadialGradient(...t){return`repeating-radial-gradient(${u(t,{degree:!0,delimeter:", "})})`}static rgb(t,n,i){return`rgb(${u([t,n,i])})`}static rgba(t,n,i,r){return`rgba(${u([t,n,i,r?["/",r]:void 0],{delimeter_arr:" "})})`}static rotate(t){return`rotate(${u([t],{degree:!0})})`}static rotate3d(t,n,i,r){return`rotate3d(${u([u([t,n,i],{delimeter:", "}),r],{degree:!0,delimeter:", "})})`}static rotateX(t){return`rotateX(${u([t],{degree:!0})})`}static rotateY(t){return`rotateY(${u([t],{degree:!0})})`}static rotateZ(t){return`rotateZ(${u([t],{degree:!0})})`}static saturate(...t){return`saturate(${u(t)})`}static scale(t,n){return`scale(${u([t,n],{delimeter:", "})})`}static scale3d(t,n,i){return`scale3d(${u([t,n,i],{delimeter:", "})})`}static scaleX(t){return`scaleX(${u([t])})`}static scaleY(t){return`scaleY(${u([t])})`}static scaleZ(t){return`scaleZ(${u([t])})`}static sepia(t){return`sepia(${u([t])})`}static skew(...t){return`skew(${u(t,{degree:!0,delimeter:", "})})`}static skewX(t){return`skewX(${u([t],{degree:!0})})`}static skewY(t){return`skewY(${u([t],{degree:!0})})`}static steps(t,n){return`steps(${u([t,n],{delimeter:", "})})`}static translate(...t){return`translate(${u(t,{rem:!0,delimeter:", "})})`}static translate3d(...t){return`translate3d(${u(t,{rem:!0,delimeter:", "})})`}static translateX(t){return`translateX(${u([t],{rem:!0})})`}static translateY(t){return`translateY(${u([t],{rem:!0})})`}static translateZ(...t){return`translateZ(${u(t,{rem:!0,delimeter:", "})})`}static url(t){return`url(${u([t],{quote:!0})})`}static var(t,n=""){t="--"+nt(t);let i=n?", "+u([n],{rem:!0,delimeter:", "}):"";return`var(${u([t],{rem:!0})}${i})`}}var Yi={important:" !important",visible:"visible",hidden:"hidden",auto:"auto",none:"none",clip:"clip",scroll:"scroll",initial:"initial",inherit:"inherit",flex:"flex",center:"center",flex_start:"flex-start",flex_end:"flex-end",space_evenly:"space-evenly",stretch:"stretch",wrap:"wrap",column:"column",column_reverse:"column-reverse",row:"row",row_reverse:"row-reverse",space_between:"space-between",space_around:"space-around",pr100:"100%",pr50:"50%",i100vh:"100vh",i100vw:"100vw",block:"block",sticky:"sticky",fixed:"fixed",absolute:"absolute",relative:"relative",pointer:"pointer",grabbing:"grabbing",checkbox:"checkbox",solid:"solid",inset:"inset",bold:"bold",currentColor:"currentColor",forwards:"forwards",text:"text",norepeat:"no-repeat",nowrap:"nowrap",difference:"difference",preserve3d:"preserve-3d"};class Hi{path;name;prefix;exportMap;_imported=new Set;save;constructor({__filename:t,name:n,prefix:i,shweets:r=[],exportMap:o,webkitKeyframes:f,unit:s="rem"}){this.path=t,this.name=n||Ui(t),this.prefix=i??"",this.exportMap=o;let e=y(r)?r:[r];Ji.call(this,this.prefix,e,f,o,s);let a=this;Object.assign(this,{get shweet(){return a}}),this.save=({dir:M,mapDir:h=[],mapName:S="index",minify:l=!0,shaker:N=[],include:O=[]}={})=>{let C=Y(o)?o:!!h,E=new Ut(this,N,O).load(C),W=y(M)?M:[M],Mt=l?Ri(E.css):E.css;W.forEach((J)=>{if(!J)return;let k=J.endsWith("/")?"":"/",v=J+k+this.name+".css";St(J+k),at(v),Vn(v,Mt||"/* --------------*/")});let _n=y(h)?h:[h];for(let J of _n){let k=J.endsWith("/")?"":"/",v=J+k+S+".js";St(J+k),at(v),Wi(v,E.CID)}return this}}get imported(){return[...this._imported]}}var Ri=(t)=>{return t.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{}:;,])\s*/g,"$1").replace(/\s*([>~+])\s*/g,"$1").trim()},Wi=(t,n)=>{let i={};n.forEach((o)=>{b(o).forEach(([f,s])=>{if(!i[f])i[f]=[s];else i[f].push(s)})});let r=[...n.entries()].map(([o,f])=>{return`${o}="${[...f].join(" ")}"`}).sort((o,f)=>o.localeCompare(f,void 0,{numeric:!0}));Vn(t,r.length?`export const ${r.join()};`:"export {}");return};function Ji(t,n,i=!1,r,o){let f={d:new L("",t,r,o),i:new L("#",t,r,o),c:new L(".",t,r,o),kf:new rt(t,i,o),at:new ot,font:new ft};n.forEach((s)=>{this._imported.add(s.path),s._imported.forEach((e)=>{this._imported.add(e)}),H(f).forEach((e)=>{f[e].load(s[e])})}),H(f).forEach((s)=>{f[s]=f[s].css}),D(this,f)}function Ui(t){return t.split("/").slice(-1)[0].split(".")[0]}export{Yi as v,Ci as supports,Xn as ps,$ as media,R as med,p as log,Ui as fileName,Pn as f,Dt as __,li as Vars,yi as Var,u as Value,Hi as Shweet,ht as Medyas};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shweet",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"description": "CSS in TS",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -31,9 +31,11 @@
|
|
|
31
31
|
"homepage": "https://github.com/MARKjotep/sweetss#readme",
|
|
32
32
|
"type": "module",
|
|
33
33
|
"devDependencies": {
|
|
34
|
+
"@coff-r/oven": "link:@coff-r/oven",
|
|
35
|
+
"@coff-r/x": "link:@coff-r/x",
|
|
34
36
|
"@types/node": "latest",
|
|
35
37
|
"@types/bun": "latest",
|
|
36
|
-
"rollup-plugin-dts": "^6.
|
|
38
|
+
"rollup-plugin-dts": "^6.3.0"
|
|
37
39
|
},
|
|
38
40
|
"peerDependencies": {
|
|
39
41
|
"typescript": "^5.8.2"
|