docs: 仓库链接指向本镜像仓库
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run

This commit is contained in:
TanTan committed 2026-11-13 09:27:07 +08:00
1 parent fa9c73363d
commit 2a69b23b47
18210 files changed
+5101211 -16

No files matched your search

@@ -0,0 +1,50 @@
import type {AddedKeywordDefinition} from "../types"
const _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"] as const
export type JSONType = (typeof _jsonTypes)[number]
const jsonTypes: Set<string> = new Set(_jsonTypes)
export function isJSONType(x: unknown): x is JSONType {
return typeof x == "string" && jsonTypes.has(x)
}
type ValidationTypes = {
[K in JSONType]: boolean | RuleGroup | undefined
}
export interface ValidationRules {
rules: RuleGroup[]
post: RuleGroup
all: {[Key in string]?: boolean | Rule} // rules that have to be validated
keywords: {[Key in string]?: boolean} // all known keywords (superset of "all")
types: ValidationTypes
}
export interface RuleGroup {
type?: JSONType
rules: Rule[]
}
// This interface wraps KeywordDefinition because definition can have multiple keywords
export interface Rule {
keyword: string
definition: AddedKeywordDefinition
}
export function getRules(): ValidationRules {
const groups: Record<"number" | "string" | "array" | "object", RuleGroup> = {
number: {type: "number", rules: []},
string: {type: "string", rules: []},
array: {type: "array", rules: []},
object: {type: "object", rules: []},
}
return {
types: {...groups, integer: true, boolean: true, null: true},
rules: [{rules: []}, groups.number, groups.string, groups.array, groups.object],
post: {rules: []},
all: {},
keywords: {},
}
}
@@ -0,0 +1,319 @@
import { expect, test } from "vitest";
import * as zm from "zod/mini";
import * as z from "zod/v4";
import * as core from "zod/v4/core";
// V8 sizes an instance's property backing store in steps, and schema instances get no in-object slots (their constructor assigns nothing itself): 12 own properties cost 128 bytes, 13 cost 848, 21 cost 1616. Methods therefore live on the prototype and materialize per instance on first read. These bounds are what keeps a schema graph small; crossing one silently multiplies its memory by 6x.
const MAX_OWN_PROPS = 12;
test("schema instances stay under V8's property-count step", () => {
const cases: Array<[string, object]> = [
["string", z.string()],
["number", z.number()],
["bigint", z.bigint()],
["boolean", z.boolean()],
["date", z.date()],
["enum", z.enum(["a", "b"])],
["array", z.array(z.string())],
["object", z.object({ a: z.string() })],
["record", z.record(z.string(), z.string())],
["map", z.map(z.string(), z.string())],
["set", z.set(z.string())],
["union", z.union([z.string(), z.number()])],
["optional", z.string().optional()],
["pipe", z.string().pipe(z.string())],
["email", z.email()],
["mini string", zm.string()],
["mini object", zm.object({ a: zm.string() })],
];
const over = cases
.map(([name, schema]) => [name, Reflect.ownKeys(schema).length] as const)
.filter(([, count]) => count > MAX_OWN_PROPS);
expect(over).toEqual([]);
});
test("prototype-installed members survive detaching", () => {
const schema = z.string();
const { parse, safeParse, spa } = schema;
expect(parse("hi")).toEqual("hi");
expect(safeParse("hi").success).toEqual(true);
expect(["a", "b"].map((v) => parse(v))).toEqual(["a", "b"]);
expect(spa).toBe(schema.safeParseAsync);
const email = schema.email;
expect(email().safeParse("a@b.co").success).toEqual(true);
});
test("prototype-installed members can be overwritten per instance", () => {
const schema: any = z.string();
schema.parse = () => "overridden";
expect(schema.parse("anything")).toEqual("overridden");
expect(z.string().parse("untouched")).toEqual("untouched");
});
test("~standard is lazy but complete", () => {
const schema = z.string();
expect(Object.prototype.hasOwnProperty.call(schema, "~standard")).toEqual(false);
expect(schema["~standard"].vendor).toEqual("zod");
expect(schema["~standard"].version).toEqual(1);
expect(schema["~standard"].validate("hi")).toEqual({ value: "hi" });
expect((schema["~standard"] as any).jsonSchema.input()).toMatchObject({ type: "string" });
// Reading it caches on the instance, so the getter runs once.
expect(Object.prototype.hasOwnProperty.call(schema, "~standard")).toEqual(true);
});
test("caching a lazy member preserves its original enumerability", () => {
const schema = z.string();
// Methods were enumerable own properties before they moved to the prototype, so touching one still surfaces it to `Object.keys`.
void schema.parse;
void schema.optional;
expect(Object.keys(schema)).toContain("parse");
expect(Object.keys(schema)).toContain("optional");
// `~standard` never was an own data property, so caching it must not add it to `Object.keys` or to `JSON.stringify` of a schema.
void schema["~standard"];
expect(Object.keys(schema)).not.toContain("~standard");
expect(JSON.stringify(schema)).not.toContain("~standard");
// An explicit assignment behaves like one, as before.
const other: any = z.string();
other["~standard"] = { vendor: "x" };
expect(Object.keys(other)).toContain("~standard");
});
test("_def stays read-only", () => {
expect(() => {
(z.string() as any)._def = {};
}).toThrow(TypeError);
expect(() => {
(z.function({ input: [z.string()], output: z.number() }) as any)._def = {};
}).toThrow(TypeError);
const schema = z.string();
expect(schema._def).toBe(schema._zod.def);
expect(z.object({ a: z.string() })._def.type).toEqual("object");
});
test("deferred initializers are released after construction", () => {
expect(z.string()._zod.deferred).toEqual(undefined);
expect(z.object({ a: z.string() })._zod.deferred).toEqual(undefined);
});
test("trait initializers run once per instance across repeated entry", () => {
const calls: string[] = [];
const Base: core.$constructor<any> = core.$constructor<any>("CountedBase", () => calls.push("base"));
const Child: core.$constructor<any> = core.$constructor<any>("CountedChild", (inst, def) => {
calls.push("child");
Base.init(inst, def);
Base.init(inst, def);
});
const constructed = new Child({});
Child.init(constructed, {});
const direct = Object.create({});
Child.init(direct, {});
Child.init(direct, {});
expect(calls).toEqual(["child", "base", "child", "base"]);
for (const inst of [constructed, direct]) {
expect([...inst._zod.traits]).toEqual(["CountedChild", "CountedBase"]);
expect(inst instanceof Base).toBe(true);
expect(inst instanceof Child).toBe(true);
}
expect(constructed._zod.traits).not.toBe(direct._zod.traits);
});
test("a trait initializer called directly still installs its members", () => {
// a direct `init` installs onto the receiver's own prototype, since it is not below the constructor's
z.string();
const proto = {};
const inst = Object.create(proto) as z.ZodString;
z.ZodString.init(inst, { type: "string" });
expect(typeof inst.email).toBe("function");
expect(typeof inst.optional).toBe("function");
expect(Object.prototype.hasOwnProperty.call(proto, "email")).toBe(true);
});
test("a nested init during a repeat construction still installs its members", () => {
// the install used to read a module-level flag the outer construction set, so a nested `init` on an unrelated receiver inherited an answer that was not about it
const seen: string[] = [];
// an assertion signature needs the call target explicitly annotated
const Nested: core.$constructor<any> = core.$constructor<any>("Nested", () => {}, {
tag() {
return "nested";
},
});
const Outer = core.$constructor<any>("Outer", (_inst, def) => {
if (!def.nest) return;
// not a plain `{}`: the install target would resolve to `Object.prototype` and leak `tag` into every object the worker touches
const plain: any = Object.create({});
Nested.init(plain, {});
seen.push(typeof plain.tag);
});
new Outer({ nest: false });
new Outer({ nest: true });
expect(seen).toEqual(["function"]);
});
test("a derived trait's members win over the ones it composes", () => {
// Classic installs a richer `~standard` over core's. Trait dedupe is what orders them: core's initializer runs once, at the first `init` that reaches it, so classic's always lands second.
expect(typeof (z.string()["~standard"] as any).jsonSchema.input).toBe("function");
});
test("a live member keeps the descriptor a prototype member had", () => {
// An object literal's getter is enumerable; the `defineProperty` it replaced was not. `for..in` over a schema is public surface, and the construction path walks the prototype with it.
const proto = Object.getPrototypeOf(z.string());
expect(Object.getOwnPropertyDescriptor(proto, "description")?.enumerable).toBe(false);
expect(Object.getOwnPropertyDescriptor(proto, "_def")?.enumerable).toBe(false);
// a derived member installs like a literal's accessor: not enumerable, still configurable
expect(Object.getOwnPropertyDescriptor(proto, "minLength")).toMatchObject({ enumerable: false, configurable: true });
// the derived metadata members live on the prototype and shadow as own data on first read
const schema = z.string();
const keys: string[] = [];
for (const k in schema) keys.push(k);
expect(keys).toEqual(["def", "type"]);
expect(schema.minLength).toBe(null);
expect(Object.keys(schema)).toContain("minLength");
});
test("a live member is not cached per instance", () => {
const schema = z.string();
expect(schema.description).toBe(undefined);
core.globalRegistry.add(schema, { description: "later" });
expect(schema.description).toBe("later");
expect(Object.prototype.hasOwnProperty.call(schema, "description")).toBe(false);
});
test("constructing through a subclass does not strip the base prototype", () => {
// `super(def)` gives `this` a prototype of `new.target.prototype`, so a constructor can complete a construction without having built its own prototype.
const MyString: new (def: { type: "string" }) => z.ZodString = class extends (z.ZodString as any) {} as any;
new MyString({ type: "string" });
const plain = z.string();
expect(plain.parse("x")).toBe("x");
expect(typeof plain.email).toBe("function");
expect(typeof new MyString({ type: "string" }).email).toBe("function");
});
test("a subclass's own members survive the install", () => {
// The members go on the prototype of the constructor that built the instance, so a subclass's own prototype keeps what it declared. `z.symbol()` is constructed nowhere else here, which puts the subclass before its base — the ordering the install has to get right. Asserted rather than assumed, so warming it elsewhere fails the test instead of hollowing it out.
expect(Object.prototype.hasOwnProperty.call((z.ZodSymbol as any).prototype, "parse")).toBe(false);
const First = class extends (z.ZodSymbol as any) {
parse() {
return "PARSE";
}
optional() {
return "OPTIONAL";
}
} as any;
const first = new First({ type: "symbol" });
expect(first.parse(Symbol())).toBe("PARSE");
expect(first.optional()).toBe("OPTIONAL");
const sym = Symbol();
expect(z.symbol().parse(sym)).toBe(sym);
// and the other way round, with the base prototype already built by one of the `z.number()` calls above. Asserted for the same reason: warm it nowhere and this block quietly becomes a second copy of the cold case.
expect(Object.prototype.hasOwnProperty.call((z.ZodNumber as any).prototype, "parse")).toBe(true);
const Second = class extends (z.ZodNumber as any) {
parse() {
return "SECOND";
}
} as any;
expect(new Second({ type: "number" }).parse(1)).toBe("SECOND");
// two levels deep: neither prototype takes a copy, so the inherited member is one function
const Third = class extends (Second as any) {} as any;
new Third({ type: "number" });
expect(Second.prototype.parse).toBe(Third.prototype.parse);
});
test("a hand-written getter member accepts assignment", () => {
// Every member was an accessor with a setter before they moved onto `proto`, so a getter written by hand needs one too.
const schema: any = z.string();
schema.spa = () => "SPA";
schema.toJSONSchema = () => "JSON";
expect(schema.spa()).toBe("SPA");
expect(schema.toJSONSchema()).toBe("JSON");
const mini: any = zm.string();
mini.with = () => "WITH";
expect(mini.with()).toBe("WITH");
// a derived metadata member accepts assignment before its first read, as it did as an own property
const derived = z.number().min(2);
derived.minValue = 99;
expect(derived.minValue).toBe(99);
expect(Object.keys(derived)).toContain("minValue");
// and, like every prototype member, recomputes after deletion rather than staying absent
delete (derived as any).minValue;
expect(derived.minValue).toBe(2);
});
test("shape is lazy and stays out of Object.keys", () => {
const schema = z.object({ a: z.string() });
expect(Object.prototype.hasOwnProperty.call(schema, "shape")).toEqual(false);
expect("shape" in schema).toEqual(true);
expect(Object.keys(schema)).not.toContain("shape");
expect({ ...schema }).not.toHaveProperty("shape");
expect(Object.keys(schema.shape)).toEqual(["a"]);
// Reading caches a non-enumerable own data property. An own accessor here would put every later object schema into V8 dictionary mode.
expect(Object.prototype.hasOwnProperty.call(schema, "shape")).toEqual(true);
expect(Object.getOwnPropertyDescriptor(schema, "shape")).toMatchObject({
writable: true,
enumerable: false,
configurable: true,
});
expect(Object.keys(schema)).not.toContain("shape");
const mini = zm.object({ a: zm.string() });
expect(Object.prototype.hasOwnProperty.call(mini, "shape")).toEqual(false);
expect(Object.keys(mini.shape)).toEqual(["a"]);
expect(Object.keys(mini)).not.toContain("shape");
});
test("shape accepts repeated assignment and recomputes after deletion", () => {
const schema: any = z.object({ a: z.string() });
schema.shape = { b: z.number() };
expect(Object.keys(schema.shape)).toEqual(["b"]);
// The cached property stays writable, so a second assignment does not throw in strict mode.
schema.shape = { c: z.boolean() };
expect(Object.keys(schema.shape)).toEqual(["c"]);
// Deleting clears the memo rather than removing the property, since the accessor lives on the prototype.
delete schema.shape;
expect(Object.keys(schema.shape)).toEqual(["a"]);
});
test("a self-referential shape getter breaks the cycle instead of recursing", () => {
const Self: any = z.object({
a: z.string(),
get b() {
return z.array(z.object(Self.shape));
},
});
expect(Object.keys(Self.shape)).toEqual(["a", "b"]);
const Mini: any = zm.object({
a: zm.string(),
get b() {
return zm.array(zm.object(Mini.shape));
},
});
expect(Object.keys(Mini.shape)).toEqual(["a", "b"]);
});
@@ -0,0 +1,6 @@
{
"private": true,
"types": "../../dist/dom-mini.d.ts",
"main": "../../dist/cjs/dom-mini.js",
"module": "../../dist/es/dom-mini.mjs"
}
@@ -0,0 +1,45 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TSUtils = exports.TSESLint = exports.JSONSchema = exports.ESLintUtils = exports.ASTUtils = void 0;
exports.ASTUtils = __importStar(require("./ast-utils"));
exports.ESLintUtils = __importStar(require("./eslint-utils"));
exports.JSONSchema = __importStar(require("./json-schema"));
exports.TSESLint = __importStar(require("./ts-eslint"));
__exportStar(require("./ts-estree"), exports);
exports.TSUtils = __importStar(require("./ts-utils"));
@@ -0,0 +1,23 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const Milestone = createLucideIcon("Milestone", [
["path", { d: "M12 13v8", key: "1l5pq0" }],
["path", { d: "M12 3v3", key: "1n5kay" }],
[
"path",
{
d: "M4 6a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h13a2 2 0 0 0 1.152-.365l3.424-2.317a1 1 0 0 0 0-1.635l-3.424-2.318A2 2 0 0 0 17 6z",
key: "1btarq"
}
]
]);
export { Milestone as default };
//# sourceMappingURL=milestone.js.map
@@ -0,0 +1 @@
module.exports={C:{"48":0.00253,"52":0.01012,"115":0.01265,"120":0.04048,"121":0.0759,"127":0.00506,"140":0.00253,"145":0.00253,"149":0.00253,"150":0.00253,"152":0.01012,"153":0.00759,"154":0.06578,"155":0.14927,"156":0.09614,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 49 50 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 116 117 118 119 122 123 124 125 126 128 129 130 131 132 133 134 135 136 137 138 139 141 142 143 144 146 147 148 151 157 158 159 160 3.5 3.6"},D:{"49":0.00506,"50":0.00506,"55":0.00253,"56":0.00253,"58":0.00253,"66":0.00506,"69":0.00253,"70":0.00506,"72":0.00253,"73":0.00253,"74":0.00506,"76":0.01265,"78":0.00253,"79":0.01265,"81":0.01265,"86":0.00506,"87":0.00759,"88":0.01012,"90":0.01265,"91":0.00506,"93":0.03542,"94":0.00253,"98":0.00253,"99":0.00253,"101":0.02024,"102":0.00253,"103":0.21505,"104":0.17457,"105":0.19734,"106":0.17204,"107":0.16445,"108":0.20999,"109":0.253,"110":0.16192,"111":0.27577,"112":0.16698,"113":0.00253,"114":0.05566,"116":0.34155,"117":0.17963,"118":0.4807,"119":0.09867,"120":0.30866,"122":0.00759,"123":0.00759,"124":0.17457,"125":0.14927,"126":0.02783,"127":0.02277,"128":0.06578,"130":0.00253,"131":0.36432,"132":0.00759,"133":0.33396,"134":0.02783,"135":0.03795,"136":0.03795,"137":0.08855,"138":0.11891,"139":0.03795,"140":0.09108,"141":0.04301,"142":0.10879,"143":0.08349,"144":0.06325,"145":0.05566,"146":0.17457,"147":0.06578,"148":0.10879,"149":0.23276,"150":0.506,"151":1.56607,"152":2.92721,"153":3.73175,"154":0.55154,"155":0.01771,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 57 59 60 61 62 63 64 65 67 68 71 75 77 80 83 84 85 89 92 95 96 97 100 115 121 129 156 157"},F:{"87":0.00253,"95":0.01012,"100":0.00506,"101":0.00506,"125":0.00506,"131":0.00506,"132":0.00253,"133":0.01265,"134":0.0506,"135":0.78936,_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 89 90 91 92 93 94 96 97 98 99 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 126 127 9.5-9.6 10.0-10.1 10.5 10.6 11.1 11.5 11.6 12.1"},B:{"17":0.00506,"18":0.01012,"86":0.00253,"92":0.04048,"100":0.00506,"109":0.01771,"114":0.00506,"119":0.03289,"120":0.04554,"122":0.00506,"127":0.00253,"133":0.00253,"137":0.00253,"140":0.00253,"141":0.01012,"142":0.01012,"143":0.00253,"144":0.00253,"145":0.01771,"146":0.01518,"147":0.03542,"148":0.01771,"149":0.02783,"150":0.05819,"151":0.18469,"152":0.82478,"153":0.97152,"154":0.26059,_:"12 13 14 15 16 79 80 81 83 84 85 87 88 89 90 91 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 110 111 112 113 115 116 117 118 121 123 124 125 126 128 129 130 131 132 134 135 136 138 139"},E:{"11":0.00253,"27":0.08349,_:"4 5 6 7 8 9 10 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 14.1 15.1 15.2-15.3 15.4 15.5 16.0 16.1 16.3 16.4 17.0 17.2 17.4 18.0 18.1 18.2 27.1 27.2 TP","10.1":0.00253,"11.1":0.01771,"12.1":0.00253,"13.1":0.00759,"15.6":0.03289,"16.2":0.01265,"16.5":0.00253,"16.6":0.02783,"17.1":0.01012,"17.3":0.00506,"17.5":0.00506,"17.6":0.03542,"18.3":0.00253,"18.4":0.00253,"18.5-18.7":0.00759,"26.0":0.00253,"26.1":0.00253,"26.2":0.00506,"26.3":0.00506,"26.4":0.01012,"26.5":0.06578,"26.6":0.17963},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0.00114,"5.0-5.1":0.00114,"6.0-6.1":0,"7.0-7.1":0.00228,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0.01139,"11.0-11.2":0.00114,"11.3-11.4":0.00228,"12.0-12.1":0,"12.2-12.5":0.02962,"13.0-13.1":0,"13.2":0.0057,"13.3":0,"13.4-13.7":0.00114,"14.0-14.4":0.00456,"14.5-14.8":0.00684,"15.0-15.1":0.00684,"15.2-15.3":0.00456,"15.4":0.0057,"15.5":0.00684,"15.6-15.8":0.14809,"16.0":0.01139,"16.1":0.02051,"16.2":0.01139,"16.3":0.02506,"16.4":0.0057,"16.5":0.00911,"16.6-16.7":0.20619,"17.0":0.00797,"17.1":0.01139,"17.2":0.01139,"17.3":0.01709,"17.4":0.02392,"17.5":0.04671,"17.6-17.7":0.12075,"18.0":0.02506,"18.1":0.05012,"18.2":0.06835,"18.3":0.11847,"18.4":0.07405,"18.5-18.7":1.52991,"26.0":0.07405,"26.1":0.07519,"26.2":0.19594,"26.3":0.21189,"26.4":0.15493,"26.5":1.03779,"26.6":6.4033,"27.0":0.49098,"27.1":0,"27.2":0.01253},P:{"21":0.01931,"22":0.01931,"23":0.01931,"24":0.0676,"25":0.02897,"26":0.0676,"27":0.10623,"28":0.34766,"29":0.26074,"30":0.92709,_:"4 20 6.2-6.4 8.2 10.1 12.0 15.0 17.0 19.0","5.0-5.4":0.01931,"7.2-7.4":0.02897,"9.2":0.05794,"11.1-11.2":0.05794,"13.0":0.01931,"14.0":0.01931,"16.0":0.0676,"18.0":0.00966},I:{"0":0.00746,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{"0":1.50147,_:"10 11 12 11.1 11.5 12.1"},A:{"11":0.00759,_:"6 7 8 9 10 5.5"},S:{_:"2.5 3Line truncated
@@ -0,0 +1,19 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const MonitorUp = createLucideIcon("MonitorUp", [
["path", { d: "m9 10 3-3 3 3", key: "11gsxs" }],
["path", { d: "M12 13V7", key: "h0r20n" }],
["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
["path", { d: "M12 17v4", key: "1riwvh" }],
["path", { d: "M8 21h8", key: "1ev6f3" }]
]);
export { MonitorUp as default };
//# sourceMappingURL=monitor-up.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.d.cts","names":["JWKParameters","JWK_OKP_Public","JWK_OKP_Private","JWK_AKP_Public","JWK_AKP_Private","JWK_EC_Public","JWK_EC_Private","JWK_RSA_Public","JWK_RSA_Private","JWK_oct","JWK","GenericGetKeyFunction","IProtectedHeader","IToken","ReturnKeyTypes","Promise","GetKeyFunction","CryptoKey","KeyObject","Uint8Array","FlattenedJWSInput","JWSHeaderParameters","GeneralJWSInput","Omit","FlattenedJWS","Partial","GeneralJWS","JoseHeaderParameters","Pick","JWEKeyManagementHeaderParameters","FlattenedJWE","JWEHeaderParameters","GeneralJWE","CritOption","DecryptOptions","EncryptOptions","JWTClaimVerificationOptions","Date","VerifyOptions","SignOptions","JWTPayload","FlattenedDecryptResult","GeneralDecryptResult","CompactDecryptResult","CompactJWEHeaderParameters","FlattenedVerifyResult","GeneralVerifyResult","CompactVerifyResult","CompactJWSHeaderParameters","JWTVerifyResult","PayloadType","JWTHeaderParameters","JWTDecryptResult","ResolvedKey","JSONWebKeySet","crypto","subtle","generateKey","ReturnType","Awaited","Extract","ProduceJWT"],"sources":["../../../node_modules/.pnpm/jose@6.2.2/node_modules/jose/dist/types/types.d.ts","../src/client/dpop.ts","../src/client/authErrors.ts","../src/client/auth.ts","../src/client/authExtensions.ts","../src/client/probeClassifier.ts","../src/client/responseCache.ts","../src/client/versionNegotiation.ts","../src/client/client.ts","../src/client/crossAppAccess.ts","../src/client/middleware.ts","../src/client/sse.ts","../src/client/streamableHttp.ts","../src/fromJsonSchema.ts"],"sourcesContent":["/** Generic JSON Web Key Parameters. */\nexport interface JWKParameters {\n /** JWK \"kty\" (Key Type) Parameter */\n kty?: string\n /**\n * JWK \"alg\" (Algorithm) Parameter\n *\n * @see {@link https://github.com/panva/jose/issues/210 Algorithm Key Requirements}\n */\n alg?: string\n /** JWK \"key_ops\" (Key Operations) Parameter */\n key_ops?: string[]\n /** JWK \"ext\" (Extractable) Parameter */\n ext?: boolean\n /** JWK \"use\" (Public Key Use) Parameter */\n use?: string\n /** JWK \"x5c\" (X.509 Certificate Chain) Parameter */\n x5c?: string[]\n /** JWK \"x5t\" (X.509 Certificate SHA-1 Thumbprint) Parameter */\n x5t?: string\n /** JWK \"x5t#S256\" (X.509 Certificate SHA-256 Thumbprint) Parameter */\n 'x5t#S256'?: string\n /** JWK \"x5u\" (X.509 URL) Parameter */\n x5u?: string\n /** JWK \"kid\" (Key ID) Parameter */\n kid?: string\n}\n\n/** Convenience interface for Public OKP JSON Web Keys */\nexport interface JWK_OKP_Public extends JWKParameters {\n /** OKP JWK \"crv\" (The Subtype of Key Pair) Parameter */\n crv: string\n /** OKP JWK \"x\" (The public key) Parameter */\n x: string\n}\n\n/** Convenience interface for Private OKP JSON Web Keys */\nexport interface JWK_OKP_Private extends JWK_OKP_Public {\n /** OKP JWK \"d\" (The Private Key) Parameter */\n d: string\n}\n\n/** Convenience interface for Public AKP JSON Web Keys */\nexport interface JWK_AKP_Public extends JWKParameters {\n /** JWK \"alg\" (Algorithm) Parameter */\n alg: string\n /** AKP JWK \"pub\" (The Public key) Parameter */\n pub: string\n}\n\n/** Convenience interface for Private AKP JSON Web Keys */\nexport interface JWK_AKP_Private extends JWK_AKP_Public {\n /** AKP JWK \"priv\" (The Private Key) Parameter */\n priv: string\n}\n\n/** Convenience interface for Public EC JSON Web Keys */\nexport interface JWK_EC_Public extends JWKParameters {\n /** EC JWK \"crv\" (Curve) Parameter */\n crv: string\n /** EC JWK \"x\" (X Coordinate) Parameter */\n x: string\n /** EC JWK \"y\" (Y Coordinate) Parameter */\n y: string\n}\n\n/** Convenience interface for Private EC JSON Web Keys */\nexport interface JWK_EC_Private extends JWK_EC_Public {\n /** EC JWK \"d\" (ECC Private Key) Parameter */\n d: string\n}\n\n/** Convenience interface for Public RSA JSON Web Keys */\nexport interface JWK_RSA_Public extends JWKParameters {\n /** RSA JWK \"e\" (Exponent) Parameter */\n e: string\n /** RSA JWK \"n\" (Modulus) Parameter */\n n: string\n}\n\n/** Convenience interface for Private RSA JSON Web Keys */\nexport interface JWK_RSA_Private extends JWK_RSA_Public {\n /** RSA JWK \"d\" (Private Exponent) Parameter */\n d: string\n /** RSA JWK \"dp\" (First Factor CRT Exponent) Parameter */\n dp: string\n /** RSA JWK \"dq\" (Second Factor CRT Exponent) Parameter */\n dq: string\n /** RSA JWK \"p\" (First Prime Factor) Parameter */\n p: string\n /** RSA JWK \"q\" (Second Prime Factor) Parameter */\n q: string\n /** RSA JWK \"qi\" (First CRT Coefficient) Parameter */\n qi: string\n}\n\n/** Convenience interface for oct JSON Web Keys */\nexport interface JWK_oct extends JWKParameters {\n /** Oct JWK \"k\" (Key Value) Parameter */\n k: string\n}\n\n/**\n * JSON Web Key ({@link https://www.rfc-editor.org/rfc/rfc7517 JWK}). \"RSA\", \"EC\", \"OKP\", \"AKP\", and\n * \"oct\" key types are supported.\n *\n * @see {@link JWK_AKP_Public}\n * @see {@link JWKLine truncated
@@ -0,0 +1 @@
{"version":3,"file":"json-schema.js","sourceRoot":"","sources":["../../lib/types/json-schema.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
'use strict'
const compare = require('./compare')
const gte = (a, b, loose) => compare(a, b, loose) >= 0
module.exports = gte
@@ -0,0 +1 @@
{"version":3,"file":"microwave.js","sources":["../../../src/icons/microwave.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name Microwave\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHg9IjIiIHk9IjQiIHJ4PSIyIiAvPgogIDxyZWN0IHdpZHRoPSI4IiBoZWlnaHQ9IjciIHg9IjYiIHk9IjgiIHJ4PSIxIiAvPgogIDxwYXRoIGQ9Ik0xOCA4djciIC8+CiAgPHBhdGggZD0iTTYgMTl2MiIgLz4KICA8cGF0aCBkPSJNMTggMTl2MiIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/microwave\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Microwave = createLucideIcon('Microwave', [\n ['rect', { width: '20', height: '15', x: '2', y: '4', rx: '2', key: '2no95f' }],\n ['rect', { width: '8', height: '7', x: '6', y: '8', rx: '1', key: 'zh9wx' }],\n ['path', { d: 'M18 8v7', key: 'o5zi4n' }],\n ['path', { d: 'M6 19v2', key: '1loha6' }],\n ['path', { d: 'M18 19v2', key: '1dawf0' }],\n]);\n\nexport default Microwave;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAY,iBAAiB,WAAa,CAAA,CAAA,CAAA;AAAA,CAAA,CAC9C,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,MAAM,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,GAAG,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CAC9E,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,KAAK,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,GAAG,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,SAAS,CAAA,CAAA;AAAA,CAAA,CAC3E,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACxC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACxC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AAC3C,CAAC,CAAA,CAAA;;"}
@@ -0,0 +1,5 @@
import { ZodFirstPartyTypeKind } from "zod/v3";
import { Refs } from "./Refs.js";
import { JsonSchema7Type } from "./parseTypes.js";
export type InnerDefGetter = () => any;
export declare const selectParser: (def: any, typeName: ZodFirstPartyTypeKind, refs: Refs) => JsonSchema7Type | undefined | InnerDefGetter;
@@ -0,0 +1,94 @@
import { K as isSingleLine, d as safeReplaceTextBetween, f as createRule, g as import_ast_utils } from "../utils.js";
var jsx_curly_newline_default = createRule({
name: "jsx-curly-newline",
meta: {
type: "layout",
docs: { description: "Enforce consistent linebreaks in curly braces in JSX attributes and expressions" },
fixable: "whitespace",
schema: [{ anyOf: [{
type: "string",
enum: ["consistent", "never"]
}, {
type: "object",
properties: {
singleline: {
type: "string",
enum: [
"consistent",
"require",
"forbid"
]
},
multiline: {
type: "string",
enum: [
"consistent",
"require",
"forbid"
]
}
},
additionalProperties: false
}] }],
defaultOptions: ["consistent"],
messages: {
expectedBefore: "Expected newline before '}'.",
expectedAfter: "Expected newline after '{'.",
unexpectedBefore: "Unexpected newline before '}'.",
unexpectedAfter: "Unexpected newline after '{'."
}
},
create(context, [options]) {
const sourceCode = context.sourceCode;
const { multiline = "consistent", singleline = "consistent" } = options === "never" ? {
multiline: "forbid",
singleline: "forbid"
} : typeof options === "string" ? {
multiline: options,
singleline: options
} : options;
function shouldHaveNewlines(expression, hasLeftNewline) {
switch (!isSingleLine(expression) ? multiline : singleline) {
case "forbid": return false;
case "require": return true;
default: return hasLeftNewline;
}
}
function validateCurlys(curlys, expression) {
const leftCurly = curlys.leftCurly;
const rightCurly = curlys.rightCurly;
const tokenAfterLeftCurly = sourceCode.getTokenAfter(leftCurly);
const tokenBeforeRightCurly = sourceCode.getTokenBefore(rightCurly);
const hasLeftNewline = !(0, import_ast_utils.isTokenOnSameLine)(leftCurly, tokenAfterLeftCurly);
const hasRightNewline = !(0, import_ast_utils.isTokenOnSameLine)(tokenBeforeRightCurly, rightCurly);
const needsNewlines = shouldHaveNewlines(expression, hasLeftNewline);
if (hasLeftNewline && !needsNewlines) context.report({
node: leftCurly,
messageId: "unexpectedAfter",
fix: safeReplaceTextBetween(sourceCode, leftCurly, tokenAfterLeftCurly, "")
});
else if (!hasLeftNewline && needsNewlines) context.report({
node: leftCurly,
messageId: "expectedAfter",
fix: (fixer) => fixer.insertTextAfter(leftCurly, "\n")
});
if (hasRightNewline && !needsNewlines) context.report({
node: rightCurly,
messageId: "unexpectedBefore",
fix: safeReplaceTextBetween(sourceCode, tokenBeforeRightCurly, rightCurly, "")
});
else if (!hasRightNewline && needsNewlines) context.report({
node: rightCurly,
messageId: "expectedBefore",
fix: (fixer) => fixer.insertTextBefore(rightCurly, "\n")
});
}
return { JSXExpressionContainer(node) {
validateCurlys({
leftCurly: sourceCode.getFirstToken(node),
rightCurly: sourceCode.getLastToken(node)
}, node.expression);
} };
}
});
export { jsx_curly_newline_default as t };
@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: [ljharb]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: npm/has-symbols
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -0,0 +1,5 @@
type MessageIds = 'suggestRemove' | 'suggestSatisfies' | 'unnecessaryTypeConversion';
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<MessageIds, [], import("../../rules").ESLintPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
name: string;
};
export default _default;
@@ -0,0 +1,206 @@
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Ivan Kopeykin @vankop
*/
"use strict";
const DescriptionFileUtils = require("./DescriptionFileUtils");
const forEachBail = require("./forEachBail");
const { processExportsField } = require("./util/entrypoints");
const { parseIdentifier } = require("./util/identifier");
const {
deprecatedInvalidSegmentRegEx,
invalidSegmentRegEx,
} = require("./util/path");
/** @typedef {import("./Resolver")} Resolver */
/** @typedef {import("./Resolver").JsonObject} JsonObject */
/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */
/** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */
/** @typedef {import("./util/entrypoints").ExportsField} ExportsField */
/** @typedef {import("./util/entrypoints").FieldProcessor} FieldProcessor */
module.exports = class ExportsFieldPlugin {
/**
* @param {string | ResolveStepHook} source source
* @param {Set<string>} conditionNames condition names
* @param {string | string[]} fieldNamePath name path
* @param {string | ResolveStepHook} target target
*/
constructor(source, conditionNames, fieldNamePath, target) {
this.source = source;
this.target = target;
this.conditionNames = conditionNames;
this.fieldName = fieldNamePath;
/** @type {WeakMap<JsonObject, FieldProcessor>} */
this.fieldProcessorCache = new WeakMap();
}
/**
* @param {Resolver} resolver the resolver
* @returns {void}
*/
apply(resolver) {
const target = resolver.ensureHook(this.target);
resolver
.getHook(this.source)
.tapAsync("ExportsFieldPlugin", (request, resolveContext, callback) => {
// When there is no description file, abort
if (!request.descriptionFilePath) return callback();
if (
// When the description file is inherited from parent, abort
// (There is no description file inside of this package)
request.relativePath !== "." ||
request.request === undefined
) {
return callback();
}
const remainingRequest =
request.query || request.fragment
? (request.request === "." ? "./" : request.request) +
request.query +
request.fragment
: request.request;
const exportsField =
/** @type {ExportsField | null | undefined} */
(
DescriptionFileUtils.getField(
/** @type {JsonObject} */ (request.descriptionFileData),
this.fieldName,
)
);
if (!exportsField) return callback();
if (request.directory) {
return callback(
new Error(
`Resolving to directories is not possible with the exports field (request was ${remainingRequest}/)`,
),
);
}
/** @type {string[]} */
let paths;
/** @type {string | null} */
let usedField;
try {
// We attach the cache to the description file instead of the exportsField value
// because we use a WeakMap and the exportsField could be a string too.
// Description file is always an object when exports field can be accessed.
let fieldProcessor = this.fieldProcessorCache.get(
/** @type {JsonObject} */ (request.descriptionFileData),
);
if (fieldProcessor === undefined) {
fieldProcessor = processExportsField(exportsField);
this.fieldProcessorCache.set(
/** @type {JsonObject} */ (request.descriptionFileData),
fieldProcessor,
);
}
[paths, usedField] = fieldProcessor(
remainingRequest,
this.conditionNames,
);
} catch (/** @type {unknown} */ err) {
if (resolveContext.log) {
resolveContext.log(
`Exports field in ${request.descriptionFilePath} can't be processed: ${err}`,
);
}
return callback(/** @type {Error} */ (err));
}
if (paths.length === 0) {
const conditions = [...this.conditionNames];
const conditionsStr =
conditions.length === 1
? `the condition "${conditions[0]}"`
: `the conditions ${JSON.stringify(conditions)}`;
return callback(
new Error(
`"${remainingRequest}" is not exported under ${conditionsStr} from package ${request.descriptionFileRoot} (see exports field in ${request.descriptionFilePath})`,
),
);
}
forEachBail(
paths,
/**
* @param {string} path path
* @param {(err?: null | Error, result?: null | ResolveRequest) => void} callback callback
* @param {number} i index
* @returns {void}
*/
(path, callback, i) => {
const parsedIdentifier = parseIdentifier(path);
if (!parsedIdentifier) return callback();
const [relativePath, query, fragment] = parsedIdentifier;
if (relativePath.length === 0 || !relativePath.startsWith("./")) {
if (paths.length === i) {
return callback(
new Error(
`Invalid "exports" target "${path}" defined for "${usedField}" in the package config ${request.descriptionFilePath}, targets must start with "./"`,
),
);
}
return callback();
}
if (
invalidSegmentRegEx.exec(relativePath.slice(2)) !== null &&
deprecatedInvalidSegmentRegEx.test(relativePath.slice(2))
) {
if (paths.length === i) {
return callback(
new Error(
`Invalid "exports" target "${path}" defined for "${usedField}" in the package config ${request.descriptionFilePath}, targets must start with "./"`,
),
);
}
return callback();
}
/** @type {ResolveRequest} */
const obj = {
...request,
request: undefined,
path: resolver.join(
/** @type {string} */ (request.descriptionFileRoot),
relativePath,
),
relativePath,
query,
fragment,
};
resolver.doResolve(
target,
obj,
`using exports field: ${path}`,
resolveContext,
(err, result) => {
if (err) return callback(err);
// Don't allow to continue - https://github.com/webpack/enhanced-resolve/issues/400
if (result === undefined) return callback(null, null);
callback(null, result);
},
);
},
/**
* @param {(null | Error)=} err error
* @param {(null | ResolveRequest)=} result result
* @returns {void}
*/
(err, result) => callback(err, result || null),
);
});
}
};
@@ -0,0 +1,24 @@
import { Test } from '@vitest/runner';
import { ChainableFunction } from '@vitest/runner/utils';
import { TaskResult, Bench, Options } from 'tinybench';
interface Benchmark extends Test {
meta: {
benchmark: true;
result?: TaskResult;
};
}
interface BenchmarkResult extends TaskResult {
name: string;
rank: number;
sampleCount: number;
median: number;
}
type BenchFunction = (this: Bench) => Promise<void> | void;
type ChainableBenchmarkAPI = ChainableFunction<"skip" | "only" | "todo", (name: string | Function, fn?: BenchFunction, options?: Options) => void>;
type BenchmarkAPI = ChainableBenchmarkAPI & {
skipIf: (condition: any) => ChainableBenchmarkAPI;
runIf: (condition: any) => ChainableBenchmarkAPI;
};
export type { BenchmarkResult as B, BenchFunction as a, Benchmark as b, BenchmarkAPI as c };
@@ -0,0 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = _skipFirstGeneratorNext;
function _skipFirstGeneratorNext(fn) {
return function () {
var it = fn.apply(this, arguments);
it.next();
return it;
};
}
//# sourceMappingURL=skipFirstGeneratorNext.js.map
@@ -0,0 +1 @@
{"version":3,"file":"square-split-horizontal.js","sources":["../../../src/icons/square-split-horizontal.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name SquareSplitHorizontal\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNOCAxOUg1Yy0xIDAtMi0xLTItMlY3YzAtMSAxLTIgMi0yaDMiIC8+CiAgPHBhdGggZD0iTTE2IDVoM2MxIDAgMiAxIDIgMnYxMGMwIDEtMSAyLTIgMmgtMyIgLz4KICA8bGluZSB4MT0iMTIiIHgyPSIxMiIgeTE9IjQiIHkyPSIyMCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/square-split-horizontal\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst SquareSplitHorizontal = createLucideIcon('SquareSplitHorizontal', [\n ['path', { d: 'M8 19H5c-1 0-2-1-2-2V7c0-1 1-2 2-2h3', key: 'lubmu8' }],\n ['path', { d: 'M16 5h3c1 0 2 1 2 2v10c0 1-1 2-2 2h-3', key: '1ag34g' }],\n ['line', { x1: '12', x2: '12', y1: '4', y2: '20', key: '1tx1rr' }],\n]);\n\nexport default SquareSplitHorizontal;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAwB,iBAAiB,uBAAyB,CAAA,CAAA,CAAA;AAAA,CAAA,CACtE,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAwC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACrE,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAyC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CACtE,CAAA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAE,CAAA,CAAA,CAAA,EAAI,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAI,CAAM,CAAA,CAAA,CAAA,CAAA,CAAA,EAAA,CAAI,CAAA,CAAA,CAAA,CAAK,CAAA,CAAA,CAAA,CAAA,CAAI,CAAA,CAAA,CAAA,CAAA,CAAM,EAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AACnE,CAAC,CAAA,CAAA;;"}
@@ -0,0 +1 @@
{"version":3,"file":"urn-uuid.js","sourceRoot":"","sources":["../../../src/schemes/urn-uuid.ts"],"names":[],"mappings":"AAQA,MAAM,IAAI,GAAG,0DAA0D,CAAC;AACxE,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAExC,UAAU;AACV,MAAM,OAAO,GAA+D;IAC3E,MAAM,EAAG,UAAU;IAEnB,KAAK,EAAG,UAAU,aAA2B,EAAE,OAAkB;QAChE,MAAM,cAAc,GAAG,aAA+B,CAAC;QACvD,cAAc,CAAC,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC;QACzC,cAAc,CAAC,GAAG,GAAG,SAAS,CAAC;QAE/B,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE;YACpF,cAAc,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK,IAAI,oBAAoB,CAAC;SACpE;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,SAAS,EAAG,UAAU,cAA6B,EAAE,OAAkB;QACtE,MAAM,aAAa,GAAG,cAA+B,CAAC;QACtD,gBAAgB;QAChB,aAAa,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QAC9D,OAAO,aAAa,CAAC;IACtB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,22 @@
import translations from './translations';
declare const dictionary: {
"cardinalNumbers-en": string[];
"ordinalNumbers-en": string[];
"daysOfWeek-en": string[];
"months-en": string[];
"seasons-en": string[];
"timePeriods-en": string[];
"rainbowColors-en": string[];
"directions-en": string[];
"intermediateDirections-en": string[];
"sizeProgression-en": string[];
"militaryAlphabet-en": string[];
"planets-en": string[];
"zodiacSigns-en": string[];
"chineseZodiac-en": string[];
'commonWords-en': string[];
'firstnames-en': string[];
'lastnames-en': string[];
'wikipedia-en': string[];
};
export { dictionary, translations };
@@ -0,0 +1 @@
module.exports={A:{A:{"1":"_SC","16":"FD"},B:{"1":"_J"},C:{"1":"_fD","16":"GD"},D:{"1":"_ZD","16":"_Y"},E:{"1":"_nB","16":"_k"},F:{"1":"_wJ","16":"_qC"},G:{"1":"_eB","16":"lC"},H:{"1":"1D"},I:{"1":"_SB","16":"_m"},J:{"1":"_B"},K:{"1":"_XD","16":"_gB"},L:{"1":"I"},M:{"1":"YC"},N:{"1":"_A"},O:{"1":"bC"},P:{"1":"_F"},Q:{"1":"JE"},R:{"1":"KE"},S:{"1":"_C"}},B:5,C:"document.elementFromPoint()",D:true};
@@ -0,0 +1,114 @@
"use strict";
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// SEE https://typescript-eslint.io/users/configs
//
// For developers working in the typescript-eslint monorepo:
// You can regenerate it using `pnpm run generate-configs`
module.exports = {
extends: ['./configs/eslintrc/base', './configs/eslintrc/eslint-recommended'],
rules: {
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/ban-ts-comment': [
'error',
{ minimumDescriptionLength: 10 },
],
'no-array-constructor': 'off',
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-array-delete': 'error',
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-confusing-void-expression': 'error',
'@typescript-eslint/no-deprecated': 'error',
'@typescript-eslint/no-duplicate-enum-values': 'error',
'@typescript-eslint/no-duplicate-type-constituents': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-empty-object-type': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-extra-non-null-assertion': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/no-for-in-array': 'error',
'no-implied-eval': 'off',
'@typescript-eslint/no-implied-eval': 'error',
'@typescript-eslint/no-invalid-void-type': 'error',
'@typescript-eslint/no-meaningless-void-operator': 'error',
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-misused-promises': 'error',
'@typescript-eslint/no-misused-spread': 'error',
'@typescript-eslint/no-mixed-enums': 'error',
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-redundant-type-constituents': 'error',
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/no-this-alias': 'error',
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-template-expression': 'error',
'@typescript-eslint/no-unnecessary-type-arguments': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
'@typescript-eslint/no-unnecessary-type-conversion': 'error',
'@typescript-eslint/no-unnecessary-type-parameters': 'error',
'@typescript-eslint/no-unsafe-argument': 'error',
'@typescript-eslint/no-unsafe-assignment': 'error',
'@typescript-eslint/no-unsafe-call': 'error',
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
'@typescript-eslint/no-unsafe-function-type': 'error',
'@typescript-eslint/no-unsafe-member-access': 'error',
'@typescript-eslint/no-unsafe-return': 'error',
'@typescript-eslint/no-unsafe-unary-minus': 'error',
'no-unused-expressions': 'off',
'@typescript-eslint/no-unused-expressions': 'error',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'error',
'@typescript-eslint/no-useless-default-assignment': 'error',
'@typescript-eslint/no-wrapper-object-types': 'error',
'no-throw-literal': 'off',
'@typescript-eslint/only-throw-error': 'error',
'@typescript-eslint/prefer-as-const': 'error',
'@typescript-eslint/prefer-literal-enum-member': 'error',
'@typescript-eslint/prefer-namespace-keyword': 'error',
'prefer-promise-reject-errors': 'off',
'@typescript-eslint/prefer-promise-reject-errors': 'error',
'@typescript-eslint/prefer-reduce-type-parameter': 'error',
'@typescript-eslint/prefer-return-this-type': 'error',
'@typescript-eslint/related-getter-setter-pairs': 'error',
'require-await': 'off',
'@typescript-eslint/require-await': 'error',
'@typescript-eslint/restrict-plus-operands': [
'error',
{
allowAny: false,
allowBoolean: false,
allowNullish: false,
allowNumberAndString: false,
allowRegExp: false,
},
],
'@typescript-eslint/restrict-template-expressions': [
'error',
{
allowAny: false,
allowBoolean: false,
allowNever: false,
allowNullish: false,
allowNumber: false,
allowRegExp: false,
},
],
'no-return-await': 'off',
'@typescript-eslint/return-await': [
'error',
'error-handling-correctness-only',
],
'@typescript-eslint/triple-slash-reference': 'error',
'@typescript-eslint/unbound-method': 'error',
'@typescript-eslint/unified-signatures': 'error',
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
},
};
@@ -0,0 +1,111 @@
import * as fse from "./index.js";
export {
copy,
CopyFilterAsync,
CopyFilterSync,
CopyOptions,
CopyOptionsSync,
copySync,
createFile,
createFileSync,
createLink,
createLinkSync,
createSymlink,
createSymlinkSync,
emptyDir,
emptydir,
emptyDirSync,
emptydirSync,
ensureDir,
EnsureDirOptions,
ensureDirSync,
ensureFile,
ensureFileSync,
ensureLink,
ensureLinkSync,
ensureSymlink,
ensureSymlinkSync,
JsonOutputOptions,
JsonReadOptions,
JsonWriteOptions,
mkdirp,
mkdirpSync,
mkdirs,
mkdirsSync,
move,
MoveOptions,
moveSync,
NoParamCallback,
NoParamCallbackWithUndefined,
outputFile,
outputFileSync,
outputJSON,
outputJson,
outputJSONSync,
outputJsonSync,
pathExists,
pathExistsSync,
PathLike,
readJSON,
readJson,
readJSONSync,
readJsonSync,
remove,
removeSync,
SymlinkType,
WriteFileOptions,
writeJSON,
writeJson,
writeJSONSync,
writeJsonSync,
} from "./index.js";
declare const fsExtra: {
copy: typeof fse.copy;
copySync: typeof fse.copySync;
emptyDirSync: typeof fse.emptyDirSync;
emptydirSync: typeof fse.emptydirSync;
emptyDir: typeof fse.emptyDir;
emptydir: typeof fse.emptydir;
createFile: typeof fse.createFile;
createFileSync: typeof fse.createFileSync;
ensureFile: typeof fse.ensureFile;
ensureFileSync: typeof fse.ensureFileSync;
createLink: typeof fse.createLink;
createLinkSync: typeof fse.createLinkSync;
ensureLink: typeof fse.ensureLink;
ensureLinkSync: typeof fse.ensureLinkSync;
createSymlink: typeof fse.createSymlink;
createSymlinkSync: typeof fse.createSymlinkSync;
ensureSymlink: typeof fse.ensureSymlink;
ensureSymlinkSync: typeof fse.ensureSymlinkSync;
readJson: typeof fse.readJson;
readJSON: typeof fse.readJSON;
readJsonSync: typeof fse.readJsonSync;
readJSONSync: typeof fse.readJSONSync;
writeJson: typeof fse.writeJson;
writeJSON: typeof fse.writeJSON;
writeJsonSync: typeof fse.writeJsonSync;
writeJSONSync: typeof fse.writeJSONSync;
outputJson: typeof fse.outputJson;
outputJSON: typeof fse.outputJSON;
outputJsonSync: typeof fse.outputJsonSync;
outputJSONSync: typeof fse.outputJSONSync;
mkdirs: typeof fse.mkdirs;
mkdirsSync: typeof fse.mkdirsSync;
mkdirp: typeof fse.mkdirp;
mkdirpSync: typeof fse.mkdirpSync;
ensureDir: typeof fse.ensureDir;
ensureDirSync: typeof fse.ensureDirSync;
move: typeof fse.move;
moveSync: typeof fse.moveSync;
outputFile: typeof fse.outputFile;
outputFileSync: typeof fse.outputFileSync;
pathExists: typeof fse.pathExists;
pathExistsSync: typeof fse.pathExistsSync;
remove: typeof fse.remove;
removeSync: typeof fse.removeSync;
};
export default fsExtra;
@@ -0,0 +1,114 @@
import type { SourceMapSegment } from './sourcemap-segment';
import type { GREATEST_LOWER_BOUND, LEAST_UPPER_BOUND, TraceMap } from './trace-mapping';
export interface SourceMapV3 {
file?: string | null;
names: string[];
sourceRoot?: string;
sources: (string | null)[];
sourcesContent?: (string | null)[];
version: 3;
ignoreList?: number[];
}
export interface EncodedSourceMap extends SourceMapV3 {
mappings: string;
}
export interface DecodedSourceMap extends SourceMapV3 {
mappings: SourceMapSegment[][];
}
export interface Section {
offset: { line: number; column: number };
map: EncodedSourceMap | DecodedSourceMap | SectionedSourceMap;
}
export interface SectionedSourceMap {
file?: string | null;
sections: Section[];
version: 3;
}
export type OriginalMapping = {
source: string | null;
line: number;
column: number;
name: string | null;
};
export type InvalidOriginalMapping = {
source: null;
line: null;
column: null;
name: null;
};
export type GeneratedMapping = {
line: number;
column: number;
};
export type InvalidGeneratedMapping = {
line: null;
column: null;
};
export type Bias = typeof GREATEST_LOWER_BOUND | typeof LEAST_UPPER_BOUND;
export type XInput = { x_google_ignoreList?: SourceMapV3['ignoreList'] };
export type EncodedSourceMapXInput = EncodedSourceMap & XInput;
export type DecodedSourceMapXInput = DecodedSourceMap & XInput;
export type SectionedSourceMapXInput = Omit<SectionedSourceMap, 'sections'> & {
sections: SectionXInput[];
};
export type SectionXInput = Omit<Section, 'map'> & {
map: SectionedSourceMapInput;
};
export type SourceMapInput = string | EncodedSourceMapXInput | DecodedSourceMapXInput | TraceMap;
export type SectionedSourceMapInput = SourceMapInput | SectionedSourceMapXInput;
export type Needle = { line: number; column: number; bias?: Bias };
export type SourceNeedle = { source: string; line: number; column: number; bias?: Bias };
export type EachMapping =
| {
generatedLine: number;
generatedColumn: number;
source: null;
originalLine: null;
originalColumn: null;
name: null;
}
| {
generatedLine: number;
generatedColumn: number;
source: string | null;
originalLine: number;
originalColumn: number;
name: string | null;
};
export abstract class SourceMap {
declare version: SourceMapV3['version'];
declare file: SourceMapV3['file'];
declare names: SourceMapV3['names'];
declare sourceRoot: SourceMapV3['sourceRoot'];
declare sources: SourceMapV3['sources'];
declare sourcesContent: SourceMapV3['sourcesContent'];
declare resolvedSources: SourceMapV3['sources'];
declare ignoreList: SourceMapV3['ignoreList'];
}
export type Ro<T> =
T extends Array<infer V>
? V[] | Readonly<V[]> | RoArray<V> | Readonly<RoArray<V>>
: T extends object
? T | Readonly<T> | RoObject<T> | Readonly<RoObject<T>>
: T;
type RoArray<T> = Ro<T>[];
type RoObject<T> = { [K in keyof T]: T[K] | Ro<T[K]> };
export function parse<T>(map: T): Exclude<T, string> {
return typeof map === 'string' ? JSON.parse(map) : (map as Exclude<T, string>);
}
@@ -0,0 +1,624 @@
export default `flf2a$ 6 5 16 0 11 0 24447 0
Author : mikechat
Date : 2006/6/9 12:03:25
Version: 1.0
-------------------------------------------------
-------------------------------------------------
This font has been created using JavE's FIGlet font export assistant.
Have a look at: http://www.jave.de
Permission is hereby given to modify this font, as long as the
modifier's name is placed on a comment line.
$ #
$ #
$ #
$ #
$ #
$ ##
#
__ #
| / #
|_/ #
.-. #
\`-' ##
____ #
|/|/ #
' ' #
#
#
##
##
#
#
#
#
##
$#
#
#
#
#
##
%#
#
#
#
#
##
&#
#
#
#
#
##
'#
#
#
#
#
##
(#
#
#
#
#
##
)#
#
#
#
#
##
*#
#
#
#
#
##
+#
#
#
#
#
##
,#
#
#
#
#
##
#
#
#
\`-=-. #
#
##
#
#
#
.-. #
\`-' #
##
/#
#
#
#
#
##
#
.-. #
/ ) #
( / #
\`-' #
##
#
-. #
/ #
/ #
----- #
##
#
.-. #
) #
.-/. #
(_/ \`-' #
##
#
.--. #
.' #
'. #
'----' #
##
#
/ / #
/__/ #
/ #
/ #
##
#
.----. #
|_.-. #
) #
\`---' #
##
#
,--. #
/.-. #
( ) #
\`--\` #
##
#
..----. #
/ #
/ #
/ #
##
#
.-. #
(.-.) #
( ) #
\`---' #
##
#
.--. #
( ) #
\`--/ #
/ #
##
#
.-. #
\`-' #
.-. #
\`-' #
##
;#
#
#
#
#
##
<#
#
#
#
#
##
=#
#
#
#
#
##
> >#
#
#
#
#
##
?#
#
#
#
#
##
@#
#
#
#
#
##
/\\ #
_ / | #
( / | .#
\`/.__|_.'#
.:' / | #
(__.' \`-' ##
.-. #
(_) )-. #
/ __) #
/ \`. #
/' ) #
(_/ \`----' ##
.-._ .-._.#
..' (_)\`-' #
| #
| _ #
\`. ) #
\`--' ##
.-. #
(_) )-. #
/ \\ #
/ \\ #
.-/. ) #
(_/ \`----' ##
.- #
.---;\`-' #
( (_) #
)-- #
( / #
\`\\___.' ##
.-._.---' #
(_) / #
/--. #
/ #
.-/ #
(_/ ##
.-.#
.--.\`-' #
/ (_; #
/ #
( --;- #
\`.___.' ##
. / #
_ \\ / ( #
( ) ( ) #
\`./___\\.' #
. / \\ #
(_.' \`. ##
.----. #
/ \`#
/ #
/ #
/ #
.---------' ##
.----. #
/ #
/ #
..-. / #
\`. / #
\`-' ##
.-. #
(_) ) .'- #
/ / #
_/_.' #
. / \\ #
(_.' \`-' ##
.-. #
/ (_) #
/ #
/ #
.-/. .-. #
(_/ \`-._. ##
.-. #
/|/| #
/ | #
/ | #
.-' / | #
(__.' \`. ##
.-. #
/ | #
/\\ | #
/ \\ | #
.-' / \\| #
(__.' \`. ##
#
.--. .- #
/ )\`-' #
/ / #
( / #
\`-.' ##
.-. #
(_) )-. #
/ \\ #
/ ) #
.-/ \`--' #
(_/ ##
.\`-, #
/ ) #
/ / #
( / #
\`--\`-. #
'- ##
.-. #
(_) )-. #
/ \\ #
/ ) #
.-/ \`--' #
(_/ \`-._) ##
.-. #
.--.-' #
( (_) #
\`-. #
_ ) #
(_.--' ##
.--------' #
(_) / #
/ #
/ #
.-/._ #
(_/ \`- ##
#
_ .-. #
' ( #
/ ) #
( / #
\`._.' ##
#
..-. .-. #
) / #
/ / #
( .' #
\\/ ##
#
..-. .-. #
) ( #
/ \\ #
( . ) #
\`-' \`-' ##
#
.-. .-. #
( \\ / #
\`-' \\/ #
/\\ .- #
\`._; \`._; ##
#
.-. .- #
/ ( #
( ) #
. \`..' #
(__.-' ##
#
\`---. #
) #
_.' #
( .-. #
\`.__.-._) ##
[#
#
#
#
#
##
\\#
#
#
#
#
##
]#
#
#
#
#
##
^#
#
#
#
#
##
#
#
#
#
._____. #
\`===' ##
_ #
\\| #
\` #
#
#
##
#
#
.-. #
( | #
\`-'-' #
##
. #
/ #
/-. #
/ ) #
.'\`--'\`- #
##
#
#
.-. #
( #
\`---' #
##
. #
/ #
.-../ #
( / #
\`-'-.. #
##
#
#
.-. #
./.-'_ #
(__.' #
##
.-. #
/ -' #
-/-- #
/ #
\`.' #
##
#
#
.-. #
( ) #
\`-/-' #
-._/ ##
#
/ #
/-. #
/ | #
_.' | #
##
#
.-. #
\`-' #
/ #
_.(__. #
##
#
.-. #
\`-' #
/ #
( / #
\`-' ##
#
/ #
/-. #
/ ) #
_/ \\ #
##
. #
/ #
/ #
/ #
_/_.- #
##
#
#
. .-. .-. #
)/ ) ) #
'/ / ( #
\`-'##
#
#
. .-. #
)/ ) #
'/ ( #
\`- ##
#
#
.-._. #
( ) #
\`-' #
##
#
#
.-. #
/ ) #
/\`-' #
/ ##
#
#
.-. #
( ) #
\`-( #
\`-' ##
#
#
).--. #
/ #
/ #
##
#
#
. #
/ \\ #
/ ._) #
/ ##
#
/ #
---/--- #
/ #
/ #
##
#
#
) ( #
( ) #
\`--': #
##
#
#
) .-. #
( / #
\\_/ #
##
#
#
\`) ( #
/ . ) #
(_.' \`-' #
##
#
\`--. .-. #
\\/ #
/\\ #
.-' \`-. #
##
#
#
. .-. #
) / #
(_.' #
..-._) ##
#
#
.-. #
)_ #
( ) #
\`-' ##
{#
#
#
#
#
##
|#
#
#
#
#
##
}#
#
#
#
#
##
~#
#
#
#
#
##
/\\ #
_ / | #
( / | .#
\`/.__|_.'#
.:' / | #
(__.' \`-' ##
#
.--. .- #
/ )\`-' #
/ / #
( / #
\`-.' ##
#
_ .-. #
' ( #
/ ) #
( / #
\`._.' ##
#
#
.-. #
( | #
\`-'-' #
##
#
#
.-._. #
( ) #
\`-' #
##
#
#
) ( #
( ) #
\`--': #
##
�#
#
#
#
#
##`
@@ -0,0 +1,204 @@
import { METHODS, METHOD_NAME_ALL_LOWERCASE } from "../router.js";
import { HonoBase as Hono } from "../hono-base.js";
import { StatusCode, SuccessStatusCode } from "../utils/http-status.js";
import { HasRequiredKeys } from "../utils/types.js";
import { Endpoint, ExtractSchema, KnownResponseFormat, ResponseFormat, Schema } from "../types.js";
import { Hono as Hono$1 } from "../hono.js";
//#region src/client/types.d.ts
/**
* Type representing the '$all' method name
*/
type MethodNameAll = `$${typeof METHOD_NAME_ALL_LOWERCASE}`;
/**
* Type representing all standard HTTP methods prefixed with '$'
* e.g., '$get' | '$post' | '$put' | '$delete' | '$options' | '$patch' | '$query'
*/
type StandardMethods = `$${(typeof METHODS)[number]}`;
/**
* Expands '$all' into all standard HTTP methods.
* If the schema contains '$all', it creates a type where all standard HTTP methods
* point to the same endpoint definition as '$all', while removing '$all' itself.
*/
type ExpandAllMethod<S> = MethodNameAll extends keyof S ? { [M in StandardMethods]: S[MethodNameAll]; } & Omit<S, MethodNameAll> : S;
type HonoRequest = (typeof Hono$1.prototype)['request'];
export type BuildSearchParamsFn = (query: Record<string, string | string[]>) => URLSearchParams;
export type ClientRequestOptions<T = unknown> = {
fetch?: typeof fetch | HonoRequest;
webSocket?: (...args: ConstructorParameters<typeof WebSocket>) => WebSocket;
/**
* Standard `RequestInit`, caution that this take highest priority
* and could be used to overwrite things that Hono sets for you, like `body | method | headers`.
*
* If you want to add some headers, use in `headers` instead of `init`
*/
init?: RequestInit;
/**
* Custom function to serialize query parameters into URLSearchParams.
* By default, arrays are serialized as multiple parameters with the same key (e.g., `key=a&key=b`).
* You can provide a custom function to change this behavior, for example to use bracket notation (e.g., `key[]=a&key[]=b`).
*
* @example
* ```ts
* const client = hc('http://localhost', {
* buildSearchParams: (query) => {
* return new URLSearchParams(qs.stringify(query))
* }
* })
* ```
*/
buildSearchParams?: BuildSearchParamsFn;
} & (keyof T extends never ? {
headers?: Record<string, string> | (() => Record<string, string> | Promise<Record<string, string>>);
} : {
headers: T | (() => T | Promise<T>);
});
export type ClientRequest<Prefix extends string, Path extends string, S extends Schema> = { [M in keyof ExpandAllMethod<S>]: ExpandAllMethod<S>[M] extends Endpoint & {
input: infer R;
} ? R extends object ? HasRequiredKeys<R> extends true ? (args: R, options?: ClientRequestOptions) => Promise<ClientResponseOfEndpoint<ExpandAllMethod<S>[M]>> : (args?: R, options?: ClientRequestOptions) => Promise<ClientResponseOfEndpoint<ExpandAllMethod<S>[M]>> : never : never; } & {
$url: <const Arg extends (S[keyof S] extends {
input: infer R;
} ? R extends {
param: infer P;
} ? R extends {
query: infer Q;
} ? {
param: P;
query: Q;
} : {
param: P;
} : R extends {
query: infer Q;
} ? {
query: Q;
} : {} : {}) | undefined = undefined>(arg?: Arg) => HonoURL<Prefix, Path, Arg>;
$path: <const Arg extends (S[keyof S] extends {
input: infer R;
} ? R extends {
param: infer P;
} ? R extends {
query: infer Q;
} ? {
param: P;
query: Q;
} : {
param: P;
} : R extends {
query: infer Q;
} ? {
query: Q;
} : {} : {}) | undefined = undefined>(arg?: Arg) => BuildPath<Path, Arg>;
} & (S['$get'] extends {
outputFormat: 'ws';
} ? S['$get'] extends {
input: infer I;
} ? {
$ws: (args?: I) => WebSocket;
} : {} : {});
type ClientResponseOfEndpoint<T extends Endpoint = Endpoint> = T extends {
output: infer O;
outputFormat: infer F;
status: infer S;
} ? ClientResponse<O, S extends number ? S : never, F extends ResponseFormat ? F : never> : never;
export interface ClientResponse<T, U extends number = StatusCode, F extends ResponseFormat = ResponseFormat> {
readonly body: ReadableStream | null;
readonly bodyUsed: boolean;
ok: U extends SuccessStatusCode ? true : U extends Exclude<StatusCode, SuccessStatusCode> ? false : boolean;
redirected: boolean;
status: U;
statusText: string;
type: 'basic' | 'cors' | 'default' | 'error' | 'opaque' | 'opaqueredirect';
headers: Headers;
url: string;
redirect(url: string, status: number): Response;
clone(): Response;
bytes(): Promise<Uint8Array<ArrayBuffer>>;
json(): F extends 'text' ? Promise<never> : F extends 'json' ? Promise<T> : Promise<unknown>;
text(): F extends 'text' ? (T extends string ? Promise<T> : Promise<never>) : Promise<string>;
blob(): Promise<Blob>;
formData(): Promise<FormData>;
arrayBuffer(): Promise<ArrayBuffer>;
}
type BuildSearch<Arg, Key extends 'query'> = Arg extends { [K in Key]: infer Query; } ? IsEmptyObject<Query> extends true ? '' : `?${string}` : '';
type BuildPathname<P extends string, Arg> = Arg extends {
param: infer Param;
} ? `${ApplyParam<TrimStartSlash<P>, Param>}` : `/${TrimStartSlash<P>}`;
type BuildPath<P extends string, Arg> = `${BuildPathname<P, Arg>}${BuildSearch<Arg, 'query'>}`;
type BuildTypedURL<Protocol extends string, Host extends string, Port extends string, P extends string, Arg> = TypedURL<`${Protocol}:`, Host, Port, BuildPathname<P, Arg>, BuildSearch<Arg, 'query'>>;
type HonoURL<Prefix extends string, Path extends string, Arg> = IsLiteral<Prefix> extends true ? TrimEndSlash<Prefix> extends `${infer Protocol}://${infer Rest}` ? Rest extends `${infer Hostname}/${infer P}` ? ParseHostName<Hostname> extends [infer Host extends string, infer Port extends string] ? BuildTypedURL<Protocol, Host, Port, P, Arg> : never : ParseHostName<Rest> extends [infer Host extends string, infer Port extends string] ? BuildTypedURL<Protocol, Host, Port, Path, Arg> : never : URL : URL;
type ParseHostName<T extends string> = T extends `${infer Host}:${infer Port}` ? [Host, Port] : [T, ''];
type TrimStartSlash<T extends string> = T extends `/${infer R}` ? TrimStartSlash<R> : T;
type TrimEndSlash<T extends string> = T extends `${infer R}/` ? TrimEndSlash<R> : T;
type IsLiteral<T extends string> = [T] extends [never] ? false : string extends T ? false : true;
type ApplyParam<Path extends string, P, Result extends string = ''> = Path extends `${infer Head}/${infer Rest}` ? Head extends `:${infer Param}` ? P extends Record<Param, infer Value extends string> ? IsLiteral<Value> extends true ? ApplyParam<Rest, P, `${Result}/${Value & string}`> : ApplyParam<Rest, P, `${Result}/${Head}`> : ApplyParam<Rest, P, `${Result}/${Head}`> : ApplyParam<Rest, P, `${Result}/${Head}`> : Path extends `:${infer Param}` ? P extends Record<Param, infer Value extends string> ? IsLiteral<Value> extends true ? `${Result}/${Value & string}` : `${Result}/${Path}` : `${Result}/${Path}` : `${Result}/${Path}`;
type IsEmptyObject<T> = keyof T extends never ? true : false;
export interface TypedURL<Protocol extends string, Hostname extends string, Port extends string, Pathname extends string, Search extends string> extends URL {
protocol: Protocol;
hostname: Hostname;
port: Port;
host: Port extends '' ? Hostname : `${Hostname}:${Port}`;
origin: `${Protocol}//${Hostname}${Port extends '' ? '' : `:${Port}`}`;
pathname: Pathname;
search: Search;
href: `${Protocol}//${Hostname}${Port extends '' ? '' : `:${Port}`}${Pathname}${Search}`;
}
export interface Response extends ClientResponse<unknown> {}
export type Fetch<T> = (args?: InferRequestType<T>, opt?: ClientRequestOptions) => Promise<ClientResponseOfEndpoint<InferEndpointType<T>>>;
type InferEndpointType<T> = T extends ((args: infer R, options: any | undefined) => Promise<infer U>) ? U extends ClientResponse<infer O, infer S, infer F> ? {
input: NonNullable<R>;
output: O;
outputFormat: F;
status: S;
} extends Endpoint ? {
input: NonNullable<R>;
output: O;
outputFormat: F;
status: S;
} : never : never : never;
export type InferResponseType<T, U extends StatusCode = StatusCode> = InferResponseTypeFromEndpoint<InferEndpointType<T>, U>;
type InferResponseTypeFromEndpoint<T extends Endpoint, U extends StatusCode> = T extends {
output: infer O;
status: infer S;
} ? S extends U ? O : never : never;
export type InferRequestType<T> = T extends ((args: infer R, options: any | undefined) => Promise<ClientResponse<unknown>>) ? NonNullable<R> : never;
export type InferRequestOptionsType<T> = T extends ((args: any, options: infer R) => Promise<ClientResponse<unknown>>) ? NonNullable<R> : never;
/**
* Filter a ClientResponse type so it only includes responses of specific status codes.
*/
export type FilterClientResponseByStatusCode<T extends ClientResponse<any, any, any>, U extends number = StatusCode> = T extends ClientResponse<infer RT, infer RC, infer RF> ? RC extends U ? ClientResponse<RT, RC, RF> : never : never;
type PathToChain<Prefix extends string, Path extends string, E extends Schema, Original extends string = Path> = Path extends `/${infer P}` ? PathToChain<Prefix, P, E, Path> : Path extends `${infer P}/${infer R}` ? { [K in P]: PathToChain<Prefix, R, E, Original>; } : { [K in Path extends '' ? 'index' : Path]: ClientRequest<Prefix, Original, E extends Record<string, unknown> ? E[Original] : never>; };
export type Client<T, Prefix extends string> = T extends Hono<any, infer S, any> ? S extends Record<infer K, Schema> ? K extends string ? PathToChain<Prefix, K, S> : never : never : never;
export type Callback = (opts: CallbackOptions) => unknown;
interface CallbackOptions {
path: string[];
args: any[];
}
export type ObjectType<T = unknown> = {
[key: string]: T;
};
type GlobalResponseDefinition = { [S in StatusCode]?: { [F in KnownResponseFormat]?: unknown; }; };
type ToEndpoints<Def extends GlobalResponseDefinition, R> = { [S in keyof Def & StatusCode]: { [F in keyof Def[S] & KnownResponseFormat]: Omit<R, 'output' | 'status' | 'outputFormat'> & {
output: Def[S][F];
status: S;
outputFormat: F;
}; }[keyof Def[S] & KnownResponseFormat]; }[keyof Def & StatusCode];
type ModRoute<R, Def extends GlobalResponseDefinition> = R extends Endpoint ? R | ToEndpoints<Def, R> : R;
type ModSchema<D, Def extends GlobalResponseDefinition> = { [K in keyof D]: { [M in keyof D[K]]: ModRoute<D[K][M], Def>; }; };
export type ApplyGlobalResponse<App, Def extends GlobalResponseDefinition> = App extends Hono<infer E, infer _ extends Schema, infer B> ? ModSchema<ExtractSchema<App>, Def> extends (infer S extends Schema) ? Hono$1<E, S, B> : never : never;
type PickRoute<R, U extends StatusCode> = R extends Endpoint ? R extends {
status: U;
} ? R : never : R;
type PickSchema<D, U extends StatusCode> = { [K in keyof D]: { [M in keyof D[K]]: PickRoute<D[K][M], U>; }; };
/**
* Keep only specific status code responses from all routes of an app.
* Useful when error responses are handled centrally (e.g., via custom fetch)
* and you want the client to only expose success response types.
*
* @example
* ```ts
* type AppSuccessOnly = PickResponseByStatusCode<typeof app, 200>
* const client = hc<AppSuccessOnly>('http://localhost')
* ```
*/
export type PickResponseByStatusCode<App, U extends StatusCode> = App extends Hono<infer E, infer _ extends Schema, infer B> ? PickSchema<ExtractSchema<App>, U> extends (infer S extends Schema) ? Hono$1<E, S, B> : never : never;
//#endregion
export {};
@@ -0,0 +1 @@
{"version":3,"names":["_setFunctionName","require","_toPropertyKey","old_createMetadataMethodsForProperty","metadataMap","kind","property","decoratorFinishedRef","getMetadata","key","old_assertNotFinished","old_assertMetadataKey","metadataForKey","pub","public","priv","private","get","Object","hasOwnProperty","call","constructor","setMetadata","value","Map","set","old_convertMetadataMapToFinal","obj","parentMetadataMap","Symbol","metadata","for","metadataKeys","getOwnPropertySymbols","length","i","metaForKey","parentMetaForKey","parentPub","setPrototypeOf","privArr","Array","from","values","parentPriv","concat","old_createAddInitializerMethod","initializers","addInitializer","initializer","old_assertCallable","push","old_memberDec","dec","name","desc","isStatic","isPrivate","kindStr","ctx","toPropertyKey","v","metadataKind","metadataName","access","assign","fnName","Error","TypeError","fn","hint","old_assertValidReturnValue","type","undefined","init","old_getInit","console","warn","old_applyMemberDec","ret","base","decInfo","decs","prefix","setFunctionName","getOwnPropertyDescriptor","newValue","newInit","instance","ownInitializers","originalInitializer","args","defineProperty","old_applyMemberDecs","Class","protoMetadataMap","staticMetadataMap","decInfos","protoInitializers","staticInitializers","existingProtoNonFields","existingStaticNonFields","isArray","prototype","existingNonFields","existingKind","old_pushInitializers","old_applyClassDecs","targetClass","classDecs","newClass","nextNewClass","applyDecs","memberDecs"],"sources":["../../src/helpers/applyDecs.js"],"sourcesContent":["/* @minVersion 7.17.8 */\n/* @onlyBabel7 */\n\nimport setFunctionName from \"setFunctionName\";\nimport toPropertyKey from \"toPropertyKey\";\n/**\n * NOTE: This is an old version of the helper, used for 2021-12 decorators.\n * Updates should be done in applyDecs2203R.js.\n */\n\n/**\n Enums are used in this file, but not assigned to vars to avoid non-hoistable values\n\n CONSTRUCTOR = 0;\n PUBLIC = 1;\n PRIVATE = 2;\n\n FIELD = 0;\n ACCESSOR = 1;\n METHOD = 2;\n GETTER = 3;\n SETTER = 4;\n\n STATIC = 5;\n\n CLASS = 10; // only used in assertValidReturnValue\n*/\n\nfunction old_createMetadataMethodsForProperty(\n metadataMap,\n kind,\n property,\n decoratorFinishedRef,\n) {\n return {\n getMetadata: function (key) {\n old_assertNotFinished(decoratorFinishedRef, \"getMetadata\");\n old_assertMetadataKey(key);\n\n var metadataForKey = metadataMap[key];\n\n if (metadataForKey === void 0) return void 0;\n\n if (kind === 1 /* PUBLIC */) {\n var pub = metadataForKey.public;\n if (pub !== void 0) {\n return pub[property];\n }\n } else if (kind === 2 /* PRIVATE */) {\n var priv = metadataForKey.private;\n if (priv !== void 0) {\n return priv.get(property);\n }\n } else if (Object.hasOwnProperty.call(metadataForKey, \"constructor\")) {\n return metadataForKey.constructor;\n }\n },\n setMetadata: function (key, value) {\n old_assertNotFinished(decoratorFinishedRef, \"setMetadata\");\n old_assertMetadataKey(key);\n\n var metadataForKey = metadataMap[key];\n\n if (metadataForKey === void 0) {\n metadataForKey = metadataMap[key] = {};\n }\n\n if (kind === 1 /* PUBLIC */) {\n var pub = metadataForKey.public;\n\n if (pub === void 0) {\n pub = metadataForKey.public = {};\n }\n\n pub[property] = value;\n } else if (kind === 2 /* PRIVATE */) {\n var priv = metadataForKey.priv;\n\n if (priv === void 0) {\n priv = metadataForKey.private = new Map();\n }\n\n priv.set(property, value);\n } else {\n metadataForKey.constructor = value;\n }\n },\n };\n}\n\nfunction old_convertMetadataMapToFinal(obj, metadataMap) {\n var parentMetadataMap = obj[Symbol.metadata || Symbol.for(\"Symbol.metadata\")];\n var metadataKeys = Object.getOwnPropertySymbols(metadataMap);\n\n if (metadataKeys.length === 0) return;\n\n for (var i = 0; i < metadataKeys.length; i++) {\n var key = metadataKeys[i];\n var metaForKey = metadataMap[key];\n var parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null;\n\n var pub = metaForKey.public;\n var parentPub = parentMetaForKey ? parentMetaForKey.public : null;\n\n if (pub && parentPub) {\n Object.setPrototypeOf(pub, parentPub);\n }\n\n var priv = metaForKey.private;\n\n if (priv) {\n var privArr = Array.from(priv.values());\n var parentPriv = parentMetaForKey ? parentMetaForKey.private : null;\n\n if (parentPriv) {\n privArr = privArr.concat(parentPriv);\n }\n\n metaForKey.private = privArr;\n }\n\n if (parentMetaForKey) {\n Object.setPrototypeOf(metaForKey, parentMetaForKey);\n }\n }\n\n if (parentMetadataMap) {\n Object.setPrototypeOf(metadataMap, parentMetadataMap);\nLine truncated
@@ -0,0 +1 @@
{"version":3,"file":"circle-fading-arrow-up.js","sources":["../../../src/icons/circle-fading-arrow-up.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name CircleFadingArrowUp\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMmExMCAxMCAwIDAgMSA3LjM4IDE2Ljc1IiAvPgogIDxwYXRoIGQ9Im0xNiAxMi00LTQtNCA0IiAvPgogIDxwYXRoIGQ9Ik0xMiAxNlY4IiAvPgogIDxwYXRoIGQ9Ik0yLjUgOC44NzVhMTAgMTAgMCAwIDAtLjUgMyIgLz4KICA8cGF0aCBkPSJNMi44MyAxNmExMCAxMCAwIDAgMCAyLjQzIDMuNCIgLz4KICA8cGF0aCBkPSJNNC42MzYgNS4yMzVhMTAgMTAgMCAwIDEgLjg5MS0uODU3IiAvPgogIDxwYXRoIGQ9Ik04LjY0NCAyMS40MmExMCAxMCAwIDAgMCA3LjYzMS0uMzgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/circle-fading-arrow-up\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleFadingArrowUp = createLucideIcon('CircleFadingArrowUp', [\n ['path', { d: 'M12 2a10 10 0 0 1 7.38 16.75', key: '175t95' }],\n ['path', { d: 'm16 12-4-4-4 4', key: '177agl' }],\n ['path', { d: 'M12 16V8', key: '1sbj14' }],\n ['path', { d: 'M2.5 8.875a10 10 0 0 0-.5 3', key: '1vce0s' }],\n ['path', { d: 'M2.83 16a10 10 0 0 0 2.43 3.4', key: 'o3fkw4' }],\n ['path', { d: 'M4.636 5.235a10 10 0 0 1 .891-.857', key: '1szpfk' }],\n ['path', { d: 'M8.644 21.42a10 10 0 0 0 7.631-.38', key: '9yhvd4' }],\n]);\n\nexport default CircleFadingArrowUp;\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,121 @@
/**
* @typedef {import('./types').Jiti} Jiti
* @typedef {import('./types').JitiOptions} JitiOptions
*/
const isDeno = "Deno" in globalThis;
/**
* @param {string|URL} [parentURL]
* @param {JitiOptions} [jitiOptions]
* @returns {Jiti}
*/
export function createJiti(parentURL, jitiOptions) {
parentURL = normalizeParentURL(parentURL);
/** @type {Jiti} */
function jiti() {
throw unsupportedError(
"`jiti()` is not supported in native mode, use `jiti.import()` instead.",
);
}
jiti.resolve = () => {
throw unsupportedError("`jiti.resolve()` is not supported in native mode.");
};
jiti.esmResolve = (id, opts) => {
try {
const importMeta = jitiOptions?.importMeta || import.meta;
if (isDeno) {
// Deno throws TypeError: Invalid arguments when passing parentURL
return importMeta.resolve(id);
}
const parent = normalizeParentURL(opts?.parentURL || parentURL);
return importMeta.resolve(id, parent);
} catch (error) {
if (opts?.try) {
return undefined;
} else {
throw error;
}
}
};
jiti.import = async function (id, opts) {
for (const suffix of ["", "/index"]) {
// prettier-ignore
for (const ext of ["", ".js", ".mjs", ".cjs", ".ts", ".tsx", ".mts", ".cts"]) {
try {
const resolved = this.esmResolve(id + suffix + ext, opts);
if (!resolved) {
continue;
}
let importAttrs = undefined
if (resolved.endsWith('.json')) {
importAttrs = { with: { type: 'json'}}
}
return await import(resolved, importAttrs);
} catch (error) {
if (error.code === 'ERR_MODULE_NOT_FOUND' || error.code === 'ERR_UNSUPPORTED_DIR_IMPORT') {
continue
}
if (opts?.try) {
return undefined;
}
throw error;
}
}
}
if (!opts?.try) {
const parent = normalizeParentURL(opts?.parentURL || parentURL);
const error = new Error(
`[jiti] [ERR_MODULE_NOT_FOUND] Cannot import '${id}' from '${parent}'.`,
);
error.code = "ERR_MODULE_NOT_FOUND";
throw error;
}
};
jiti.transform = () => {
throw unsupportedError(
"`jiti.transform()` is not supported in native mode.",
);
};
jiti.evalModule = () => {
throw unsupportedError(
"`jiti.evalModule()` is not supported in native mode.",
);
};
jiti.main = undefined;
jiti.extensions = Object.create(null);
jiti.cache = Object.create(null);
return jiti;
}
export default createJiti;
/**
* @param {string} message
*/
function unsupportedError(message) {
throw new Error(
`[jiti] ${message} (import or require 'jiti' instead of 'jiti/native' for more features).`,
);
}
function normalizeParentURL(input) {
if (!input) {
return "file:///";
}
if (typeof filename !== "string" || input.startsWith("file://")) {
return input;
}
if (input.endsWith("/")) {
input += "_"; // append a dummy filename
}
return `file://${input}`;
}
@@ -0,0 +1 @@
{"version":3,"file":"PresenceChild.mjs","sources":["../../../../src/components/AnimatePresence/PresenceChild.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport { useId, useMemo } from \"react\"\nimport {\n PresenceContext,\n type PresenceContextProps,\n} from \"../../context/PresenceContext\"\nimport { VariantLabels } from \"../../motion/types\"\nimport { useConstant } from \"../../utils/use-constant\"\nimport { PopChild } from \"./PopChild\"\n\ninterface PresenceChildProps {\n children: React.ReactElement\n isPresent: boolean\n onExitComplete?: () => void\n initial?: false | VariantLabels\n custom?: any\n presenceAffectsLayout: boolean\n mode: \"sync\" | \"popLayout\" | \"wait\"\n anchorX?: \"left\" | \"right\"\n anchorY?: \"top\" | \"bottom\"\n root?: HTMLElement | ShadowRoot\n}\n\nexport const PresenceChild = ({\n children,\n initial,\n isPresent,\n onExitComplete,\n custom,\n presenceAffectsLayout,\n mode,\n anchorX,\n anchorY,\n root\n}: PresenceChildProps) => {\n const presenceChildren = useConstant(newChildrenMap)\n const id = useId()\n\n let isReusedContext = true\n let context = useMemo((): PresenceContextProps => {\n isReusedContext = false\n return {\n id,\n initial,\n isPresent,\n custom,\n onExitComplete: (childId: string) => {\n presenceChildren.set(childId, true)\n\n for (const isComplete of presenceChildren.values()) {\n if (!isComplete) return // can stop searching when any is incomplete\n }\n\n onExitComplete && onExitComplete()\n },\n register: (childId: string) => {\n presenceChildren.set(childId, false)\n return () => presenceChildren.delete(childId)\n },\n }\n }, [isPresent, presenceChildren, onExitComplete])\n\n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n if (presenceAffectsLayout && isReusedContext) {\n context = { ...context }\n }\n\n useMemo(() => {\n presenceChildren.forEach((_, key) => presenceChildren.set(key, false))\n }, [isPresent])\n\n /**\n * If there's no `motion` components to fire exit animations, we want to remove this\n * component immediately.\n */\n React.useEffect(() => {\n !isPresent &&\n !presenceChildren.size &&\n onExitComplete &&\n onExitComplete()\n }, [isPresent])\n\n children = (\n <PopChild pop={mode === \"popLayout\"} isPresent={isPresent} anchorX={anchorX} anchorY={anchorY} root={root}>\n {children}\n </PopChild>\n )\n\n return (\n <PresenceContext.Provider value={context}>\n {children}\n </PresenceContext.Provider>\n )\n}\n\nfunction newChildrenMap(): Map<string, boolean> {\n return new Map()\n}\n"],"names":[],"mappings":";;;;;;;;AAyBO;AAYH;AACA;;AAGA;;;;;;;AAOQ;AACI;;AAGI;AAAiB;;;;AAKzB;AACI;;;;;AAMZ;;;;AAIG;AACH;AACI;;;AAIA;AACJ;AAEA;;;AAGG;AACH;AACI;;;AAGI;AACR;AAEA;AAMA;AAKJ;AAEA;;AAEA;;"}
@@ -0,0 +1 @@
{"version":3,"file":"rotate-ccw.js","sources":["../../../src/icons/rotate-ccw.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name RotateCcw\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMyAxMmE5IDkgMCAxIDAgOS05IDkuNzUgOS43NSAwIDAgMC02Ljc0IDIuNzRMMyA4IiAvPgogIDxwYXRoIGQ9Ik0zIDN2NWg1IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/rotate-ccw\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst RotateCcw = createLucideIcon('RotateCcw', [\n ['path', { d: 'M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8', key: '1357e3' }],\n ['path', { d: 'M3 3v5h5', key: '1xhq8a' }],\n]);\n\nexport default RotateCcw;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAY,iBAAiB,WAAa,CAAA,CAAA,CAAA;AAAA,CAAA,CAC9C,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAqD,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CAClF,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AAC3C,CAAC,CAAA,CAAA;;"}
@@ -0,0 +1,108 @@
import { ErrorHandler, FallbackRender } from "../components.js";
import { RefObject, useRef } from "../hooks/index.js";
import { PropsWithChildren } from "../types.js";
import { Context } from "../context.js";
import { Child, FC, JSX, JSXNode, Props } from "../base.js";
import _default$1 from "./index.js";
//#region src/jsx/dom/server.d.ts
export interface RenderToStringOptions {
identifierPrefix?: string;
}
/**
* Render JSX element to string.
* @param element JSX element to render.
* @param options Options for rendering.
* @returns Rendered string.
*/
declare const renderToString: (element: Child, options?: RenderToStringOptions) => string;
export interface RenderToReadableStreamOptions {
identifierPrefix?: string;
namespaceURI?: string;
nonce?: string;
bootstrapScriptContent?: string;
bootstrapScripts?: string[];
bootstrapModules?: string[];
progressiveChunkSize?: number;
signal?: AbortSignal;
onError?: (error: unknown) => string | void;
}
/**
* Render JSX element to readable stream.
* @param element JSX element to render.
* @param options Options for rendering.
* @returns Rendered readable stream.
*/
declare const renderToReadableStream: (element: Child, options?: RenderToReadableStreamOptions) => Promise<ReadableStream<Uint8Array>>;
declare const _default: {
renderToString: (element: Child, options?: RenderToStringOptions) => string;
renderToReadableStream: (element: Child, options?: RenderToReadableStreamOptions) => Promise<ReadableStream<Uint8Array>>;
version: {
version: string;
useState: {
<T>(initialState: T | (() => T)): [T, (newState: T | ((currentState: T) => T)) => void];
<T = undefined>(): [T | undefined, (newState: T | ((currentState: T | undefined) => T | undefined) | undefined) => void];
};
useEffect: (effect: () => void | (() => void), deps?: readonly unknown[]) => void;
useRef: typeof useRef;
useCallback: <T extends Function>(callback: T, deps: readonly unknown[]) => T;
use: <T>(promise: Promise<T>) => T;
startTransition: (callback: () => void) => void;
useTransition: () => [boolean, (callback: () => void | Promise<void>) => void];
useDeferredValue: <T>(value: T, initialValue?: T) => T;
startViewTransition: (callback: () => void) => void;
useViewTransition: () => [boolean, (callback: () => void) => void];
useMemo: <T>(factory: () => T, deps: readonly unknown[]) => T;
useLayoutEffect: (effect: () => void | (() => void), deps?: readonly unknown[]) => void;
useInsertionEffect: (effect: () => void | (() => void), deps?: readonly unknown[]) => void;
useReducer: <T, A>(reducer: (state: T, action: A) => T, initialArg: T, init?: (initialState: T) => T) => [T, (action: A) => void];
useId: () => string;
useDebugValue: (_value: unknown, _formatter?: (value: unknown) => string) => void;
createRef: <T>() => RefObject<T | null>;
forwardRef: <T, P = {}>(Component: (props: P, ref?: RefObject<T | null>) => JSX.Element) => ((props: P & {
ref?: RefObject<T | null>;
}) => JSX.Element);
useImperativeHandle: <T>(ref: RefObject<T | null>, createHandle: () => T, deps: readonly unknown[]) => void;
useSyncExternalStore: <T>(subscribe: (callback: () => void) => () => void, getSnapshot: () => T, getServerSnapshot?: () => T) => T;
useFormStatus: () => {
pending: false;
data: null;
method: null;
action: null;
} | {
pending: true;
data: FormData;
method: "get" | "post";
action: string | ((formData: FormData) => void | Promise<void>);
};
useActionState: <T>(fn: Function, initialState: T, permalink?: string) => [T, Function];
useOptimistic: <T, N>(state: T, updateState: (currentState: T, action: N) => T) => [T, (action: N) => void];
Suspense: FC<PropsWithChildren<{
fallback: any;
}>>;
ErrorBoundary: FC<PropsWithChildren<{
fallback?: Child;
fallbackRender?: FallbackRender;
onError?: ErrorHandler;
}>>;
createContext: <T>(defaultValue: T) => Context<T>;
useContext: <T>(context: Context<T>) => T;
memo: <T>(component: FC<T>, propsAreEqual?: (prevProps: Readonly<T>, nextProps: Readonly<T>) => boolean) => FC<T>;
isValidElement: (element: unknown) => element is JSXNode;
createElement: (tag: string | ((props: Props) => JSXNode), props: Props | null, ...children: Child[]) => JSXNode;
cloneElement: <T extends JSXNode | JSX.Element>(element: T, props: Props, ...children: Child[]) => T;
Children: {
map: (children: Child[], fn: (child: Child, index: number) => Child) => Child[];
forEach: (children: Child[], fn: (child: Child, index: number) => void) => void;
count: (children: Child[]) => number;
only: (_children: Child[]) => Child;
toArray: (children: Child) => Child[];
};
Fragment: (props: Record<string, unknown>) => JSXNode;
StrictMode: (props: Record<string, unknown>) => JSXNode;
flushSync: (callback: () => void) => void;
createPortal: (children: Child, container: HTMLElement, key?: string) => Child;
};
};
//#endregion
export { _default as default, renderToReadableStream, renderToString, _default$1 as version };
export {};
@@ -0,0 +1,23 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const PhoneForwarded = createLucideIcon("PhoneForwarded", [
["polyline", { points: "18 2 22 6 18 10", key: "6vjanh" }],
["line", { x1: "14", x2: "22", y1: "6", y2: "6", key: "1jsywh" }],
[
"path",
{
d: "M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",
key: "foiqr5"
}
]
]);
export { PhoneForwarded as default };
//# sourceMappingURL=phone-forwarded.js.map
@@ -0,0 +1,28 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const Ribbon = createLucideIcon("Ribbon", [
[
"path",
{ d: "M12 11.22C11 9.997 10 9 10 8a2 2 0 0 1 4 0c0 1-.998 2.002-2.01 3.22", key: "1rnhq3" }
],
["path", { d: "m12 18 2.57-3.5", key: "116vt7" }],
["path", { d: "M6.243 9.016a7 7 0 0 1 11.507-.009", key: "10dq0b" }],
["path", { d: "M9.35 14.53 12 11.22", key: "tdsyp2" }],
[
"path",
{
d: "M9.35 14.53C7.728 12.246 6 10.221 6 7a6 5 0 0 1 12 0c-.005 3.22-1.778 5.235-3.43 7.5l3.557 4.527a1 1 0 0 1-.203 1.43l-1.894 1.36a1 1 0 0 1-1.384-.215L12 18l-2.679 3.593a1 1 0 0 1-1.39.213l-1.865-1.353a1 1 0 0 1-.203-1.422z",
key: "nmifey"
}
]
]);
export { Ribbon as default };
//# sourceMappingURL=ribbon.js.map
@@ -0,0 +1,41 @@
import { rgba } from './rgba.mjs';
import { isColorString } from './utils.mjs';
function parseHex(v) {
let r = "";
let g = "";
let b = "";
let a = "";
// If we have 6 characters, ie #FF0000
if (v.length > 5) {
r = v.substring(1, 3);
g = v.substring(3, 5);
b = v.substring(5, 7);
a = v.substring(7, 9);
// Or we have 3 characters, ie #F00
}
else {
r = v.substring(1, 2);
g = v.substring(2, 3);
b = v.substring(3, 4);
a = v.substring(4, 5);
r += r;
g += g;
b += b;
a += a;
}
return {
red: parseInt(r, 16),
green: parseInt(g, 16),
blue: parseInt(b, 16),
alpha: a ? parseInt(a, 16) / 255 : 1,
};
}
const hex = {
test: /*@__PURE__*/ isColorString("#"),
parse: parseHex,
transform: rgba.transform,
};
export { hex };
//# sourceMappingURL=hex.mjs.map
@@ -0,0 +1,7 @@
"use strict";
const RuleTester = require("./rule-tester");
module.exports = {
RuleTester,
};
@@ -0,0 +1,23 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const FlameKindling = createLucideIcon("FlameKindling", [
[
"path",
{
d: "M12 2c1 3 2.5 3.5 3.5 4.5A5 5 0 0 1 17 10a5 5 0 1 1-10 0c0-.3 0-.6.1-.9a2 2 0 1 0 3.3-2C8 4.5 11 2 12 2Z",
key: "1ir223"
}
],
["path", { d: "m5 22 14-4", key: "1brv4h" }],
["path", { d: "m5 18 14 4", key: "lgyyje" }]
]);
export { FlameKindling as default };
//# sourceMappingURL=flame-kindling.js.map
@@ -0,0 +1,12 @@
"use strict";
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib repo
Object.defineProperty(exports, "__esModule", { value: true });
exports.es2023_intl = void 0;
const base_config_1 = require("./base-config");
exports.es2023_intl = {
libs: [],
variables: [['Intl', base_config_1.TYPE_VALUE]],
};
@@ -0,0 +1,430 @@
export default `flf2a$ 4 3 10 -1 20
Cyberfont - large
Figlet conversion by Kent Nassen, kentn@cyberspace.org, 8-10-94
From: stock@fwi.uva.nl (Lennert Stock)
Date: 15 Jul 1994 00:04:25 GMT
Here are some fonts. Non-figlet I'm afraid, if you wanna convert them, be
my guest. I posted the isometric fonts before.
------------------------------------------------------------------------------
.x%%%%%%x. .x%%%%%%x.
,%%%%%%%%%%. .%%%%%%%%%%.
,%%%' )' \\) :( \`( \`%%%.
,%x%)________) --------- L e n n e r t S t o c k ( _ __ (%x%.
(%%%~^88P~88P| |~=> .=-~ %%%)
(%%::. .:,\\ .' \`. /,:. .::%%)
\`;%:\`\\. \`-' | | \`-' ./':%:'
\`\`x\`. -===.' stock@fwi.uva.nl -------- \`.===- .'x''
/ \`:\`.__.; :.__.':' \\
.d8b. ..\`. .'.. .d8b.
$ $@
$ $@
$ $@
$ $@@
/@
/ @
. @
$@@
..@
''@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
.@
'@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
$@
$@
.@
'@@
$$$@
___@
$$$@
$$$@@
$@
$@
.@
$@@
/@
/ @
/ @
/ @@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
$@
.@
.@
$@@
$@
.@
.@
'@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
____ @
___|@
\\ @
\` @@
@
@
@
@@
_______@
|_____|@
| |@
@@
______ @
|_____]@
|_____]@
@@
_______@
| $@
|_____$@
@@
______$@
| \\@
|_____/@
@@
_______@
|______@
|______@
@@
_______@
|______@
| $@
@@
______@
| ____@
|_____|@
@@
_ _@
|_____|@
| |@
@@
_____@
| $@
__|__@
@@
_____@
| $@
__| $@
@@
_ _@
|____/$@
| \\_@
@@
$ $@
| $@
|_____@
@@
_______@
| | |@
| | |@
@@
__ _@
| \\ |@
| \\_|@
@@
_____ @
| |@
|_____|@
@@
_____ @
|_____]@
| $@
@@
_____ @
| __|@
|____\\|@
@@
______@
|_____/@
| \\_@
@@
_______@
|______@
______|@
@@
_______@
| $@
| $@
@@
_ _@
| |@
|_____|@
@@
_ _@
\\ /$@
\\/ $@
@@
_ _ _@
| | |@
|__|__|@
@@
_ _@
\\___/$@
_/ \\_@
@@
__ __@
\\_/ $@
| $@
@@
______@
____/@
/_____@
@@
@
@
@
@@
\\ @
\\ @
\\ @
\\@@
@
@
@
@@
@
@
@
@@
@
@
_____@
@@
.@
\`@
@
@@
_______@
|_____|@
| |@
@@
______ @
|_____]@
|_____]@
@@
_______@
| $@
|_____$@
@@
______$@
| \\@
|_____/@
@@
_______@
|______@
|______@
@@
_______@
|______@
| $@
@@
______@
| ____@
|_____|@
@@
_ _@
|_____|@
| |@
@@
_____@
| $@
__|__@
@@
_____@
| $@
__| $@
@@
_ _@
|____/$@
| \\_@
@@
$ $@
| $@
|_____@
@@
_______@
| | |@
| | |@
@@
__ _@
| \\ |@
| \\_|@
@@
_____ @
| |@
|_____|@
@@
_____ @
|_____]@
| $@
@@
_____ @
| __|@
|____\\|@
@@
______@
|_____/@
| \\_@
@@
_______@
|______@
______|@
@@
_______@
| $@
| $@
@@
_ _@
| |@
|_____|@
@@
_ _@
\\ /$@
\\/ $@
@@
_ _ _@
| | |@
|__|__|@
@@
_ _@
\\___/$@
_/ \\_@
@@
__ __@
\\_/ $@
| $@
@@
______@
____/@
/_____@
@@
@
@
@
@@
|@
|@
|@
|@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
@
@
@
@@
`
@@ -0,0 +1,5 @@
import { Parser } from "../index.js";
export declare const parsers: {
meriyah: Parser;
};
@@ -0,0 +1 @@
{"version":3,"file":"pencil-ruler.js","sources":["../../../src/icons/pencil-ruler.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name PencilRuler\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTMgNyA4LjcgMi43YTIuNDEgMi40MSAwIDAgMC0zLjQgMEwyLjcgNS4zYTIuNDEgMi40MSAwIDAgMCAwIDMuNEw3IDEzIiAvPgogIDxwYXRoIGQ9Im04IDYgMi0yIiAvPgogIDxwYXRoIGQ9Im0xOCAxNiAyLTIiIC8+CiAgPHBhdGggZD0ibTE3IDExIDQuMyA0LjNjLjk0Ljk0Ljk0IDIuNDYgMCAzLjRsLTIuNiAyLjZjLS45NC45NC0yLjQ2Ljk0LTMuNCAwTDExIDE3IiAvPgogIDxwYXRoIGQ9Ik0yMS4xNzQgNi44MTJhMSAxIDAgMCAwLTMuOTg2LTMuOTg3TDMuODQyIDE2LjE3NGEyIDIgMCAwIDAtLjUuODNsLTEuMzIxIDQuMzUyYS41LjUgMCAwIDAgLjYyMy42MjJsNC4zNTMtMS4zMmEyIDIgMCAwIDAgLjgzLS40OTd6IiAvPgogIDxwYXRoIGQ9Im0xNSA1IDQgNCIgLz4KPC9zdmc+Cg==) - https://lucide.dev/icons/pencil-ruler\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst PencilRuler = createLucideIcon('PencilRuler', [\n [\n 'path',\n { d: 'M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13', key: 'orapub' },\n ],\n ['path', { d: 'm8 6 2-2', key: '115y1s' }],\n ['path', { d: 'm18 16 2-2', key: 'ee94s4' }],\n [\n 'path',\n {\n d: 'm17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17',\n key: 'cfq27r',\n },\n ],\n [\n 'path',\n {\n d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',\n key: '1a8usu',\n },\n ],\n ['path', { d: 'm15 5 4 4', key: '1mk7zo' }],\n]);\n\nexport default PencilRuler;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,iBAAiB,aAAe,CAAA,CAAA,CAAA;AAAA,CAClD,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CACA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAA0E,EAAA,CAAA,CAAA,CAAA,CAAA,CAAK,QAAS,CAAA,CAAA;AAAA,CAC/F,CAAA,CAAA,CAAA;AAAA,CAAA,CACA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACzC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAC3C,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CACA,CAAA,CAAA,CAAA,CAAA;AAAA,CACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CACH,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CACP,CAAA,CAAA,CAAA,CAAA;AAAA,CACF,CAAA,CAAA,CAAA;AAAA,CACA,CAAA,CAAA;AAAA,CAAA,CAAA,CAAA,CACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CACA,CAAA,CAAA,CAAA,CAAA;AAAA,CACE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAG,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CACH,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,CACP,CAAA,CAAA,CAAA,CAAA;AAAA,CACF,CAAA,CAAA,CAAA;AAAA,CAAA,CACA,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAALine truncated
@@ -0,0 +1,21 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const Bone = createLucideIcon("Bone", [
[
"path",
{
d: "M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z",
key: "w610uw"
}
]
]);
export { Bone as default };
//# sourceMappingURL=bone.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;AAKvB;;GAEG;AACH,eAAO,MAAM,KAAK,mFAAa,CAAA;AAC/B;;;GAGG;AACH,eAAO,MAAM,IAAI,0EAAY,CAAA"}
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"_E"},B:{"1":"_J"},C:{"1":"_LJ _bF","2":"_EO","129":"_3N yB","420":"_pN _9D"},D:{"1":"_oR","2":"_vF","420":"_6B _ME _jE"},E:{"1":"_pB","2":"_qB"},F:{"1":"_FM","2":"_yM _gF _FJ","420":"C _GL _kH _hD aC"},G:{"2":"_XB","513":"_TD","1537":"_GG _QH"},H:{"2":"1D"},I:{"1":"I","2":"_G"},J:{"2":"D","420":"A"},K:{"1":"H","2":"_gB","420":"_DL"},L:{"1":"I"},M:{"1":"YC"},N:{"2":"_A"},O:{"1":"bC"},P:{"1":"_hB","420":"_rC"},Q:{"1":"JE"},R:{"1":"KE"},S:{"1":"ME","2":"LE"}},B:4,C:"getUserMedia/Stream API",D:true};
@@ -0,0 +1,9 @@
import { Result, Router } from "../../router.js";
//#region src/router/pattern-router/router.d.ts
export declare class PatternRouter<T> implements Router<T> {
name: string;
add(method: string, path: string, handler: T): void;
match(method: string, path: string): Result<T>;
}
//#endregion
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 Colin McDonnell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,9 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
export { default } from './send-horizontal.js';
//# sourceMappingURL=send-horizonal.js.map
@@ -0,0 +1,827 @@
export default `flf2a$ 8 6 15 -1 9
nancyj-improved.flf
named after the login of a woman who asked me to make her a
sig. this is the font that came out of it. this is my first
attempt at a figlet font, so leave me alone.
vampyr@acs.bu.edu
$$ @
$$ @
$$ @
$$ @
$$ @
$$ @
$$ @
$$ @@
dP @
88 @
88 @
dP @
@
oo @
@
@@
dP dP @
dP dP @
@
@
@
@
@
@@
@
dP dP @
8888888 @
88 88 @
8888888 @
dP dP @
@
@@
# # @
.d8888P' @
Y8#oo#o. @
# #88 @
\`88888P' @
# # @
@
@@
d8P dP @
8 8 d8' @
Y8P d8' @
d8' d8P @
d8' 8 8 @
88 Y8P @
@
@@
d88b @
8\`'8 @
d8b @
d8P\`8b @
d8' \`8bP @
\`888P'\`YP @
@
@@
d8 @
88 @
.P @
@
@
@
@
@@
a88P @
d8' @
88 @
88 @
Y8. @
Y88b @
@
@@
Y88o @
\`8b @
88 @
88 @
.8P @
d88Y @
@
@@
dP @
8b. 88 .d8 @
\`8b88d8' @
.8P88Y8. @
8P' 88 \`Y8 @
dP @
@
@@
@
dP @
88 @
88888888 @
88 @
dP @
@
@@
@
@
@
@
dP @
88 @
.P @
@@
@
@
@
88888888 @
@
@
@
@@
@
@
@
@
dP @
88 @
@
@@
d8' @
d8' @
d8' @
d8' @
d8' @
88 @
@
@@
a8888a @
d8' ..8b @
88 .P 88 @
88 d' 88 @
Y8'' .8P @
Y8888P @
@
@@
d88 @
88 @
88 @
88 @
88 @
d88P @
@
@@
d8888b. @
\`88 @
.aaadP' @
88' @
88. @
Y88888P @
@
@@
d8888b. @
\`88 @
aaad8' @
\`88 @
.88 @
d88888P @
@
@@
dP dP @
88 88 @
88aaa88 @
88 @
88 @
dP @
@
@@
888888P @
88' @
88baaa. @
\`88 @
88 @
d88888P @
@
@@
.d8888P @
88' @
88baaa. @
88\` \`88 @
8b. .d8 @
\`Y888P' @
@
@@
d88888P @
d8' @
d8' @
d8' @
d8' @
d8' @
@
@@
.d888b. @
Y8' \`8P @
d8bad8b @
88\` \`88 @
8b. .88 @
Y88888P @
@
@@
.d888b. @
Y8' \`88 @
\`8bad88 @
\`88 @
d. .88 @
\`8888P @
@
@@
dP @
88 @
@
@
dP @
88 @
@
@@
dP @
88 @
@
@
dP @
88 @
.P @
@@
d8 @
d8' @
d8' @
Y8. @
Y8. @
Y8 @
@
@@
@
@
aaaaaaaa @
@
88888888 @
@
@
@@
8b @
\`8b @
\`8b @
.8P @
.8P @
8P @
@
@@
.d8888ba @
\`8' \`8b @
.d8' @
d8P' @
"" @
oo @
@
@@
a88888b. @
d8' \`88 @
88 d8P 88 @
88 Yo8b88 @
Y8. @
Y88888P' @
@
@@
.d888888 @
d8' 88 @
88aaaaa88a @
88 88 @
88 88 @
88 88 @
@
@@
888888ba @
88 \`8b @
a88aaaa8P' @
88 \`8b. @
88 .88 @
88888888P @
@
@@
a88888b. @
d8' \`88 @
88 @
88 @
Y8. .88 @
Y88888P' @
@
@@
888888ba @
88 \`8b @
88 88 @
88 88 @
88 .8P @
8888888P @
@
@@
88888888b @
88 @
a88aaaa @
88 @
88 @
88888888P @
@
@@
88888888b @
88 @
a88aaaa @
88 @
88 @
dP @
@
@@
.88888. @
d8' \`88 @
88 @
88 YP88 @
Y8. .88 @
\`88888' @
@
@@
dP dP @
88 88 @
88aaaaa88a @
88 88 @
88 88 @
dP dP @
@
@@
dP @
88 @
88 @
88 @
88 @
dP @
@
@@
dP @
88 @
88 @
88 @
88. .d8P @
\`Y8888' @
@
@@
dP dP @
88 .d8' @
88aaa8P' @
88 \`8b. @
88 88 @
dP dP @
@
@@
dP @
88 @
88 @
88 @
88 @
88888888P @
@
@@
8888ba.88ba @
88 \`8b \`8b @
88 88 88 @
88 88 88 @
88 88 88 @
dP dP dP @
@
@@
888888ba @
88 \`8b @
88 88 @
88 88 @
88 88 @
dP dP @
@
@@
.88888. @
d8' \`8b @
88 88 @
88 88 @
Y8. .8P @
\`8888P' @
@
@@
888888ba @
88 \`8b @
a88aaaa8P' @
88 @
88 @
dP @
@
@@
.88888. @
d8' \`8b @
88 88 @
88 db 88 @
Y8. Y88P @
\`8888PY8b @
@
@@
888888ba @
88 \`8b @
a88aaaa8P' @
88 \`8b. @
88 88 @
dP dP @
@
@@
.d88888b @
88. "' @
\`Y88888b. @
\`8b @
d8' .8P @
Y88888P @
@
@@
d888888P @
88 @
88 @
88 @
88 @
dP @
@
@@
dP dP @
88 88 @
88 88 @
88 88 @
Y8. .8P @
\`Y88888P' @
@
@@
dP dP @
88 88 @
88 .8P @
88 d8' @
88 .d8P @
888888' @
@
@@
dP dP dP @
88 88 88 @
88 .8P .8P @
88 d8' d8' @
88.d8P8.d8P @
8888' Y88' @
@
@@
dP dP @
Y8. .8P @
Y8aa8P @
d8' \`8b @
88 88 @
dP dP @
@
@@
dP dP @
Y8. .8P @
Y8aa8P @
88 @
88 @
dP @
@
@@
d8888888P @
.d8' @
.d8' @
.d8' @
d8' @
Y8888888P @
@
@@
8888P @
88 @
88 @
88 @
88 @
88888 @
@
@@
Yb @
\`Yb @
\`Yb @
\`Yb @
\`Yb @
88 @
@
@@
d8888 @
88 @
88 @
88 @
88 @
88888 @
@
@@
db @
d8'\`8b @
\`" "' @
@
@
@
@
@@
@
@
@
@
@
@
oooooooooooo @
@@
dP @
88 @
Y. @
@
@
@
@
@@
@
@
.d8888b. @
88' \`88 @
88. .88 @
\`88888P8 @
@
@@
dP @
88 @
88d888b. @
88' \`88 @
88. .88 @
88Y8888' @
@
@@
@
@
.d8888b. @
88' \`"" @
88. ... @
\`88888P' @
@
@@
dP @
88 @
.d888b88 @
88' \`88 @
88. .88 @
\`88888P8 @
@
@@
@
@
.d8888b. @
88ooood8 @
88. ... @
\`88888P' @
@
@@
.8888b @
88 " @
88aaa @
88 @
88 @
dP @
@
@@
@
@
.d8888b. @
88' \`88 @
88. .88 @
\`8888P88 @
.88 @
d8888P @@
dP @
88 @
88d888b. @
88' \`88 @
88 88 @
dP dP @
@
@@
oo @
@
dP @
88 @
88 @
dP @
@
@@
oo @
@
dP @
88 @
88 @
88 @
88 @
dP @@
dP @
88 @
88 .dP @
88888" @
88 \`8b. @
dP \`YP @
@
@@
dP @
88 @
88 @
88 @
88 @
dP @
@
@@
@
@
88d8b.d8b. @
88'\`88'\`88 @
88 88 88 @
dP dP dP @
@
@@
@
@
88d888b. @
88' \`88 @
88 88 @
dP dP @
@
@@
@
@
.d8888b. @
88' \`88 @
88. .88 @
\`88888P' @
@
@@
@
@
88d888b. @
88' \`88 @
88. .88 @
88Y888P' @
88 @
dP @@
@
@
.d8888b. @
88' \`88 @
88. .88 @
\`8888P88 @
88 @
dP @@
@
@
88d888b. @
88' \`88 @
88 @
dP @
@
@@
@
@
.d8888b. @
Y8ooooo. @
88 @
\`88888P' @
@
@@
dP @
88 @
d8888P @
88 @
88 @
dP @
@
@@
@
@
dP dP @
88 88 @
88. .88 @
\`88888P' @
@
@@
@
@
dP .dP @
88 d8' @
88 .88' @
8888P' @
@
@@
@
@
dP dP dP @
88 88 88 @
88.88b.88' @
8888P Y8P @
@
@@
@
@
dP. .dP @
\`8bd8' @
.d88b. @
dP' \`dP @
@
@@
@
@
dP dP @
88 88 @
88. .88 @
\`8888P88 @
.88 @
d8888P @@
@
@
d888888b @
.d8P' @
.Y8P @
d888888P @
@
@@
.d88P @
8: @
.oY8. @
d8 @
8: @
\`Y88b @
@
@@
dP @
88 @
"' @
dP @
88 @
"' @
@
@@
d88b. @
:8 @
.8Yo. @
8b @
:8 @
Y88P' @
@
@@
.oo. .d @
dP" "d8P @
@
@
@
@
@
@@
@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@
@@
@
@
@
@
@
@
@
@@
`
@@ -0,0 +1,17 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const PanelRightClose = createLucideIcon("PanelRightClose", [
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
["path", { d: "M15 3v18", key: "14nvp0" }],
["path", { d: "m8 9 3 3-3 3", key: "12hl5m" }]
]);
export { PanelRightClose as default };
//# sourceMappingURL=panel-right-close.js.map
@@ -0,0 +1,44 @@
Object.defineProperties(exports, {
__esModule: { value: true },
[Symbol.toStringTag]: { value: "Module" }
});
const require_jsx_base = require("../base.js");
const require_jsx_streaming = require("../streaming.js");
const require_jsx_dom_index = require("./index.js");
//#region src/jsx/dom/server.ts
const prepareRoot = (element) => typeof element === "string" || Array.isArray(element) ? require_jsx_base.renderChildren([element]) : element;
/**
* Render JSX element to string.
* @param element JSX element to render.
* @param options Options for rendering.
* @returns Rendered string.
*/
const renderToString = (element, options = {}) => {
if (Object.keys(options).length > 0) console.warn("options are not supported yet");
element = prepareRoot(element);
const res = element instanceof Promise ? element : element?.toString() ?? "";
if (typeof res !== "string") throw new Error("Async component is not supported in renderToString");
return res;
};
/**
* Render JSX element to readable stream.
* @param element JSX element to render.
* @param options Options for rendering.
* @returns Rendered readable stream.
*/
const renderToReadableStream = async (element, options = {}) => {
if (Object.keys(options).some((key) => key !== "onError")) console.warn("options are not supported yet, except onError");
element = prepareRoot(element);
if (!element || typeof element !== "object") element = element?.toString() ?? "";
return require_jsx_streaming.renderToReadableStream(element, options.onError);
};
var server_default = {
renderToString,
renderToReadableStream,
version: require_jsx_dom_index.default
};
//#endregion
exports.default = server_default;
exports.renderToReadableStream = renderToReadableStream;
exports.renderToString = renderToString;
exports.version = require_jsx_dom_index.default;
@@ -0,0 +1,162 @@
# on-finished
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Node.js Version][node-image]][node-url]
[![Build Status][ci-image]][ci-url]
[![Coverage Status][coveralls-image]][coveralls-url]
Execute a callback when a HTTP request closes, finishes, or errors.
## Install
This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/). Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
```sh
$ npm install on-finished
```
## API
```js
var onFinished = require('on-finished')
```
### onFinished(res, listener)
Attach a listener to listen for the response to finish. The listener will
be invoked only once when the response finished. If the response finished
to an error, the first argument will contain the error. If the response
has already finished, the listener will be invoked.
Listening to the end of a response would be used to close things associated
with the response, like open files.
Listener is invoked as `listener(err, res)`.
<!-- eslint-disable handle-callback-err -->
```js
onFinished(res, function (err, res) {
// clean up open fds, etc.
// err contains the error if request error'd
})
```
### onFinished(req, listener)
Attach a listener to listen for the request to finish. The listener will
be invoked only once when the request finished. If the request finished
to an error, the first argument will contain the error. If the request
has already finished, the listener will be invoked.
Listening to the end of a request would be used to know when to continue
after reading the data.
Listener is invoked as `listener(err, req)`.
<!-- eslint-disable handle-callback-err -->
```js
var data = ''
req.setEncoding('utf8')
req.on('data', function (str) {
data += str
})
onFinished(req, function (err, req) {
// data is read unless there is err
})
```
### onFinished.isFinished(res)
Determine if `res` is already finished. This would be useful to check and
not even start certain operations if the response has already finished.
### onFinished.isFinished(req)
Determine if `req` is already finished. This would be useful to check and
not even start certain operations if the request has already finished.
## Special Node.js requests
### HTTP CONNECT method
The meaning of the `CONNECT` method from RFC 7231, section 4.3.6:
> The CONNECT method requests that the recipient establish a tunnel to
> the destination origin server identified by the request-target and,
> if successful, thereafter restrict its behavior to blind forwarding
> of packets, in both directions, until the tunnel is closed. Tunnels
> are commonly used to create an end-to-end virtual connection, through
> one or more proxies, which can then be secured using TLS (Transport
> Layer Security, [RFC5246]).
In Node.js, these request objects come from the `'connect'` event on
the HTTP server.
When this module is used on a HTTP `CONNECT` request, the request is
considered "finished" immediately, **due to limitations in the Node.js
interface**. This means if the `CONNECT` request contains a request entity,
the request will be considered "finished" even before it has been read.
There is no such thing as a response object to a `CONNECT` request in
Node.js, so there is no support for one.
### HTTP Upgrade request
The meaning of the `Upgrade` header from RFC 7230, section 6.1:
> The "Upgrade" header field is intended to provide a simple mechanism
> for transitioning from HTTP/1.1 to some other protocol on the same
> connection.
In Node.js, these request objects come from the `'upgrade'` event on
the HTTP server.
When this module is used on a HTTP request with an `Upgrade` header, the
request is considered "finished" immediately, **due to limitations in the
Node.js interface**. This means if the `Upgrade` request contains a request
entity, the request will be considered "finished" even before it has been
read.
There is no such thing as a response object to a `Upgrade` request in
Node.js, so there is no support for one.
## Example
The following code ensures that file descriptors are always closed
once the response finishes.
```js
var destroy = require('destroy')
var fs = require('fs')
var http = require('http')
var onFinished = require('on-finished')
http.createServer(function onRequest (req, res) {
var stream = fs.createReadStream('package.json')
stream.pipe(res)
onFinished(res, function () {
destroy(stream)
})
})
```
## License
[MIT](LICENSE)
[ci-image]: https://badgen.net/github/checks/jshttp/on-finished/master?label=ci
[ci-url]: https://github.com/jshttp/on-finished/actions/workflows/ci.yml
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/on-finished/master
[coveralls-url]: https://coveralls.io/r/jshttp/on-finished?branch=master
[node-image]: https://badgen.net/npm/node/on-finished
[node-url]: https://nodejs.org/en/download
[npm-downloads-image]: https://badgen.net/npm/dm/on-finished
[npm-url]: https://npmjs.org/package/on-finished
[npm-version-image]: https://badgen.net/npm/v/on-finished
@@ -0,0 +1,22 @@
/**
* @license lucide-react v0.469.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/
import createLucideIcon from '../createLucideIcon.js';
const Backpack = createLucideIcon("Backpack", [
[
"path",
{ d: "M4 10a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z", key: "1ol0lm" }
],
["path", { d: "M8 10h8", key: "c7uz4u" }],
["path", { d: "M8 18h8", key: "1no2b1" }],
["path", { d: "M8 22v-6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v6", key: "1fr6do" }],
["path", { d: "M9 6V4a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2", key: "donm21" }]
]);
export { Backpack as default };
//# sourceMappingURL=backpack.js.map
@@ -0,0 +1 @@
["you","the","to","'s","it","'t","of","that","and","is","in","me","for","on","this","'m","have","was","we","my","'re","your","be","know","what","do","not","are","with","can","don","he","just","like","'ll","here","all","no","out","up","get","about","right","him","oh","go","at","there","so","her","one","'ve","yeah","got","they","but","want","will","think","if","now","she","from","well","see","as","going","his","time","back","us","did","yes","an","them","gonna","good","been","were","would","had","come","hey","how","who","need","okay","our","when","take","some","say","'d","why","didn","or","really","could","way","man","too","down","has","let","by","something","more","tell","make","then","mean","over","little","never","said","people","should","look","off","very","love","only","doing","much","am","thing","any","where","two","into","even","thank","because","still","find","give","sorry","work","day","help","life","first","anything","sure","again","their","these","other","than","god","won","away","mr.","before","thought","home","talk","must","told","night","call","things","better","around","last","long","always","feel","put","years","after","please","those","sir","place","lot","name","made","doesn","guys","money","ever","everything","great","nothing","keep","done","guy","through","leave","wanted","kind","happened","new","being","believe","old","coming","does","came","course","wrong","left","big","house","might","girl","..","bad","stop","hello","own","uh","hear","world","someone","understand","else","talking","isn","enough","today","getting","father","maybe","care","found","music","every","ask","same","another","fine","family","kill","trying","went","looking","three","wait","car","together","show","best","stay","wasn","yourself","job","many","nice","dead","already","friend","real","remember","mind","saw","son","next","hi","which","mother","wanna","try","thanks","room","hell","heard","seen","fucking","woman","wouldn","may","knew","live","baby","bit","whole","idea","head","used","boy","ok","morning","hard","without","took","called","also","shit","saying","days","most","start","matter","use","ready","gotta","meet","door","ah","yet","both","pretty","myself","move","guess","actually","while","end","phone","such","gone","few","haven","wife","person","ago","brother","killed","problem","happy","alone","friends","men","face","school","worry","couldn","case","lost","dad","play","run","heart","once","die","anyone","hope","bring","wants","fuck","tonight","business","true","until","since","each","soon","says","everyone","tomorrow","hand","thinking","working","happen","having","year","part","eat","mom","stuff","looks","kids","later","listen","huh","minute","second","late","gave","turn","water","kid","knows","open","change","means","different","minutes","inside","eyes","beautiful","far","police","point","under","probably","crazy","taking","asked","hurt","chance","deal","ain","making","pay","daughter","playing","fun","times","hit","side","hands","makes","able","body","important","hold","death","story","comes","fight","supposed","least","moment","rest","um","set","started","close","young","drink","against","excuse","afraid","game","anymore","word","wish","five","week","though","miss","easy","sleep","reason","mine","waiting","dr.","watch","goes","exactly","gets","its","check","hours","behind","number","wow","party","truth","quite","husband","shot","married","child","between","cause","fire","question","met","telling","four","brought","blood","break","sister","em","team","trouble","tried","front","sit","forget","read","town","died","couple","aren","needs","line","walk","children","power","become","office","plan","almost","girls","food","speak","yours","gun","alive","cut","feeling","outside","safe","trust","news","ahead","save","either","somebody","stand","mrs.","free","answer","hate","high","months","everybody","buy","hmm","whatever","full","half","lose","women","along","seems","fact","running","cool","dear","bed","light","order","whoa","country","doctor","clear","10","boys","sent","send","living","war","past","bye","dog","john","taken","hot","leaving","lives","pick","scared","parents","funny","city","promise","stupid","cannot","dinner","shouldn","ass","asking","company","lady","win","possible","himself","serious","book","mr","sort","hour","anyway","sound","shall","happens","six","lord","sick","top","felt","touch","jack","sense","small","20","seem","meeting","damn","special","jesus","perfect","captain","luck","fast","control","bitch","words","human","laughs","hair","hospital","murder","dream","shut","known","sighs","cold","future","glad","worked","drive","catch","anybody","laughing","million","longer","ooh","lie","calling","figure","finally","looked","others","'am","black","shoot","fault","30","worried","honey","somewhere","weeks","changed","boss","happening","seeing","dance","secret","date","fall","takes","loved","sign","questions","weren","piece","air","chuckles","choice","feet","needed","turned","bet","moving","return","voice","amazLine truncated
@@ -0,0 +1,33 @@
//#region src/early-hints.ts
/**
* Early Hints middleware for Node.js
* Automatically sends a 103 Early Hints informational response with the specified Link header(s).
*
* @param options EarlyHintsOptions
* @returns MiddlewareHandler
*/
const earlyHints = (options) => {
let warned = false;
return async (c, next) => {
const mode = c.req.header("Sec-Fetch-Mode");
const dest = c.req.header("Sec-Fetch-Dest");
if (mode && mode !== "navigate" || dest && dest !== "document") return next();
const env = c.env || {};
const outgoing = ("server" in env ? env.server : env)?.outgoing;
if (typeof outgoing?.writeEarlyHints !== "function") {
if (!warned) {
console.warn("Early Hints Middleware is not supported because writeEarlyHints is not defined.");
warned = true;
}
return await next();
}
if (!outgoing.headersSent) {
const link = typeof options.link === "function" ? options.link(c) : options.link;
if (link !== void 0 && (Array.isArray(link) ? link.length > 0 : Boolean(link))) outgoing.writeEarlyHints({ link });
}
await next();
};
};
//#endregion
export { earlyHints };
@@ -0,0 +1 @@
import r from"node:path";import o from"node:os";const{geteuid:t}=process,s=t?t():o.userInfo().username,e=r.join(o.tmpdir(),`tsx-${s}`);export{e as t};
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"_E"},B:{"1":"_K","2":"_I"},C:{"1":"_aT _uB","2":"_nL _ED _L"},D:{"1":"_sN","2":"_9H"},E:{"1":"_BI","2":"_NR"},F:{"1":"_H _wI","2":"_1S _O"},G:{"1":"_WJ","2":"_JI"},H:{"2":"1D"},I:{"1":"I","2":"_G"},J:{"2":"_B"},K:{"1":"H","2":"_D"},L:{"1":"I"},M:{"1":"YC"},N:{"2":"_A"},O:{"1":"bC"},P:{"1":"_9F","2":"_nF"},Q:{"16":"JE"},R:{"16":"KE"},S:{"2":"LE","16":"ME"}},B:5,C:"WebAssembly Import/Export of Mutable Globals",D:true};
@@ -0,0 +1 @@
{"version":3,"file":"matching.mjs","sources":["../../../src/matcher/sequence/matching.ts"],"sourcesContent":[null],"names":["MatchSequence","MatcherBaseClass","constructor","MAX_DELTA","match","password","result","length","i","lastDelta","passwordLength","k","delta","charCodeAt","j","update","Math","abs","absoluteDelta","token","slice","sequenceName","sequenceSpace","getSequence","push","pattern","ascending","ALL_LOWER","test","ALL_UPPER","ALL_DIGIT"],"mappings":";;;AAYA;;;;AAIG;AACH,MAAMA,aAAc,SAAQC,gBAAgB,CAAA;AAA5CC,EAAAA,WAAAA,GAAA;;IACE,IAAA,CAAAC,SAAS,GAAG,CAAC;AA8Ff,EAAA;AA5FE;AACAC,EAAAA,KAAKA,CAAC;AAAEC,IAAAA;AAAQ,GAAwB,EAAA;AACtC;;;;;;;;;;;;;AAaG;IACH,MAAMC,MAAM,GAAoB,EAAE;AAClC,IAAA,IAAID,QAAQ,CAACE,MAAM,KAAK,CAAC,EAAE;AACzB,MAAA,OAAO,EAAE;AACX,IAAA;IACA,IAAIC,CAAC,GAAG,CAAC;IACT,IAAIC,SAAS,GAAkB,IAAI;AACnC,IAAA,MAAMC,cAAc,GAAGL,QAAQ,CAACE,MAAM;AACtC,IAAA,KAAK,IAAII,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGD,cAAc,EAAEC,CAAC,IAAI,CAAC,EAAE;AAC1C,MAAA,MAAMC,KAAK,GAAGP,QAAQ,CAACQ,UAAU,CAACF,CAAC,CAAC,GAAGN,QAAQ,CAACQ,UAAU,CAACF,CAAC,GAAG,CAAC,CAAC;MACjE,IAAIF,SAAS,KAAK,IAAI,EAAE;AACtBA,QAAAA,SAAS,GAAGG,KAAK;AACnB,MAAA;MACA,IAAIA,KAAK,KAAKH,SAAS,EAAE;AACvB,QAAA,MAAMK,CAAC,GAAGH,CAAC,GAAG,CAAC;QACf,IAAI,CAACI,MAAM,CAAC;UACVP,CAAC;UACDM,CAAC;AACDF,UAAAA,KAAK,EAAEH,SAAS;UAChBJ,QAAQ;AACRC,UAAAA;AACD,SAAA,CAAC;AACFE,QAAAA,CAAC,GAAGM,CAAC;AACLL,QAAAA,SAAS,GAAGG,KAAK;AACnB,MAAA;AACF,IAAA;IACA,IAAI,CAACG,MAAM,CAAC;MACVP,CAAC;MACDM,CAAC,EAAEJ,cAAc,GAAG,CAAC;AACrBE,MAAAA,KAAK,EAAEH,SAAU;MACjBJ,QAAQ;AACRC,MAAAA;AACD,KAAA,CAAC;AACF,IAAA,OAAOA,MAAM;AACf,EAAA;AAEAS,EAAAA,MAAMA,CAAC;IAAEP,CAAC;IAAEM,CAAC;IAAEF,KAAK;IAAEP,QAAQ;AAAEC,IAAAA;AAAM,GAAgB,EAAA;AACpD,IAAA,IAAIQ,CAAC,GAAGN,CAAC,GAAG,CAAC,IAAIQ,IAAI,CAACC,GAAG,CAACL,KAAK,CAAC,KAAK,CAAC,EAAE;AACtC,MAAA,MAAMM,aAAa,GAAGF,IAAI,CAACC,GAAG,CAACL,KAAK,CAAC;MACrC,IAAIM,aAAa,GAAG,CAAC,IAAIA,aAAa,IAAI,IAAI,CAACf,SAAS,EAAE;AACxD,QAAA,MAAMgB,KAAK,GAAGd,QAAQ,CAACe,KAAK,CAACZ,CAAC,EAAEM,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC;QAC7C,MAAM;UAAEO,YAAY;AAAEC,UAAAA;AAAa,SAAE,GAAG,IAAI,CAACC,WAAW,CAACJ,KAAK,CAAC;QAC/D,OAAOb,MAAM,CAACkB,IAAI,CAAC;AACjBC,UAAAA,OAAO,EAAE,UAAU;UACnBjB,CAAC;UACDM,CAAC;AACDK,UAAAA,KAAK,EAAEd,QAAQ,CAACe,KAAK,CAACZ,CAAC,EAAEM,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC;UACtCO,YAAY;UACZC,aAAa;UACbI,SAAS,EAAEd,KAAK,GAAG;AACpB,SAAA,CAAC;AACJ,MAAA;AACF,IAAA;AACA,IAAA,OAAO,IAAI;AACb,EAAA;EAEAW,WAAWA,CAACJ,KAAa,EAAA;AACvB;AACA;IACA,IAAIE,YAAY,GAAG,SAAS;IAC5B,IAAIC,aAAa,GAAG,EAAE;AAEtB,IAAA,IAAIK,SAAS,CAACC,IAAI,CAACT,KAAK,CAAC,EAAE;AACzBE,MAAAA,YAAY,GAAG,OAAO;AACtBC,MAAAA,aAAa,GAAG,EAAE;IACpB,CAAC,MAAM,IAAIO,SAAS,CAACD,IAAI,CAACT,KAAK,CAAC,EAAE;AAChCE,MAAAA,YAAY,GAAG,OAAO;AACtBC,MAAAA,aAAa,GAAG,EAAE;IACpB,CAAC,MAAM,IAAIQ,SAAS,CAACF,IAAI,CAACT,KAAK,CAAC,EAAE;AAChCE,MAAAA,YAAY,GAAG,QAAQ;AACvBC,MAAAA,aAAa,GAAG,EAAE;AACpB,IAAA;IACA,OAAO;MACLD,YAAY;AACZC,MAAAA;KACD;AACH,EAAA;AACD;;;;"}
@@ -0,0 +1 @@
module.exports={A:{A:{"1":"_V","2":"_b"},B:{"1":"_J"},C:{"1":"_aO","2":"_q _fF _L","4":"_6B _7H"},D:{"1":"_Q"},E:{"1":"_vG","2":"MD"},F:{"1":"_3G","2":"_YI"},G:{"1":"_M"},H:{"2":"1D"},I:{"1":"_X","4":"_HD _m _PH","132":"4D"},J:{"1":"_B"},K:{"1":"_CB","2":"A"},L:{"1":"I"},M:{"1":"YC"},N:{"1":"_A"},O:{"1":"bC"},P:{"1":"_F"},Q:{"1":"JE"},R:{"1":"KE"},S:{"1":"_C"}},B:6,C:"MPEG-4/H.264 video format",D:true};
@@ -0,0 +1 @@
{"version":3,"file":"plug.js","sources":["../../../src/icons/plug.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name Plug\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTIgMjJ2LTUiIC8+CiAgPHBhdGggZD0iTTkgOFYyIiAvPgogIDxwYXRoIGQ9Ik0xNSA4VjIiIC8+CiAgPHBhdGggZD0iTTE4IDh2NWE0IDQgMCAwIDEtNCA0aC00YTQgNCAwIDAgMS00LTRWOFoiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/plug\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Plug = createLucideIcon('Plug', [\n ['path', { d: 'M12 22v-5', key: '1ega77' }],\n ['path', { d: 'M9 8V2', key: '14iosj' }],\n ['path', { d: 'M15 8V2', key: '18g5xt' }],\n ['path', { d: 'M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z', key: 'osxo6l' }],\n]);\n\nexport default Plug;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,iBAAiB,MAAQ,CAAA,CAAA,CAAA;AAAA,CAAA,CACpC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAa,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CAC1C,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAU,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACvC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACxC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAA6C,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AAC5E,CAAC,CAAA,CAAA;;"}
@@ -0,0 +1,152 @@
import { WalkerBase } from './walker.js';
/**
* @typedef { import('estree').Node} Node
* @typedef { import('./walker.js').WalkerContext} WalkerContext
* @typedef {(
* this: WalkerContext,
* node: Node,
* parent: Node | null,
* key: string | number | symbol | null | undefined,
* index: number | null | undefined
* ) => Promise<void>} AsyncHandler
*/
export class AsyncWalker extends WalkerBase {
/**
*
* @param {AsyncHandler} [enter]
* @param {AsyncHandler} [leave]
*/
constructor(enter, leave) {
super();
/** @type {boolean} */
this.should_skip = false;
/** @type {boolean} */
this.should_remove = false;
/** @type {Node | null} */
this.replacement = null;
/** @type {WalkerContext} */
this.context = {
skip: () => (this.should_skip = true),
remove: () => (this.should_remove = true),
replace: (node) => (this.replacement = node)
};
/** @type {AsyncHandler | undefined} */
this.enter = enter;
/** @type {AsyncHandler | undefined} */
this.leave = leave;
}
/**
* @template {Node} Parent
* @param {Node} node
* @param {Parent | null} parent
* @param {keyof Parent} [prop]
* @param {number | null} [index]
* @returns {Promise<Node | null>}
*/
async visit(node, parent, prop, index) {
if (node) {
if (this.enter) {
const _should_skip = this.should_skip;
const _should_remove = this.should_remove;
const _replacement = this.replacement;
this.should_skip = false;
this.should_remove = false;
this.replacement = null;
await this.enter.call(this.context, node, parent, prop, index);
if (this.replacement) {
node = this.replacement;
this.replace(parent, prop, index, node);
}
if (this.should_remove) {
this.remove(parent, prop, index);
}
const skipped = this.should_skip;
const removed = this.should_remove;
this.should_skip = _should_skip;
this.should_remove = _should_remove;
this.replacement = _replacement;
if (skipped) return node;
if (removed) return null;
}
/** @type {keyof Node} */
let key;
for (key in node) {
/** @type {unknown} */
const value = node[key];
if (value && typeof value === 'object') {
if (Array.isArray(value)) {
const nodes = /** @type {Array<unknown>} */ (value);
for (let i = 0; i < nodes.length; i += 1) {
const item = nodes[i];
if (isNode(item)) {
if (!(await this.visit(item, node, key, i))) {
// removed
i--;
}
}
}
} else if (isNode(value)) {
await this.visit(value, node, key, null);
}
}
}
if (this.leave) {
const _replacement = this.replacement;
const _should_remove = this.should_remove;
this.replacement = null;
this.should_remove = false;
await this.leave.call(this.context, node, parent, prop, index);
if (this.replacement) {
node = this.replacement;
this.replace(parent, prop, index, node);
}
if (this.should_remove) {
this.remove(parent, prop, index);
}
const removed = this.should_remove;
this.replacement = _replacement;
this.should_remove = _should_remove;
if (removed) return null;
}
}
return node;
}
}
/**
* Ducktype a node.
*
* @param {unknown} value
* @returns {value is Node}
*/
function isNode(value) {
return (
value !== null && typeof value === 'object' && 'type' in value && typeof value.type === 'string'
);
}
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"_E"},B:{"1":"_K","2":"_I"},C:{"1":"_6L","2":"_zJ"},D:{"1":"_aE","2":"_rG"},E:{"1":"_JB","2":"_RB"},F:{"1":"_BF","2":"_9G"},G:{"1":"_9","2":"_iB"},H:{"2":"1D"},I:{"1":"I","2":"_G"},J:{"2":"_B"},K:{"1":"H","2":"_D"},L:{"1":"I"},M:{"1":"YC"},N:{"2":"_A"},O:{"1":"bC"},P:{"1":"_U","2":"J"},Q:{"1":"JE"},R:{"1":"KE"},S:{"1":"ME","2":"LE"}},B:1,C:"rel=noopener",D:true};
@@ -0,0 +1,2 @@
'use strict';
require('../register')('bluebird', {Promise: require('bluebird')})
@@ -0,0 +1,59 @@
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const require_utils_html = require("../../utils/html.js");
const require_utils_stream = require("../../utils/stream.js");
const require_helper_streaming_utils = require("./utils.js");
//#region src/helper/streaming/sse.ts
var SSEStreamingApi = class extends require_utils_stream.StreamingApi {
constructor(writable, readable) {
super(writable, readable);
}
async writeSSE(message) {
const dataLines = (await require_utils_html.resolveCallback(message.data, require_utils_html.HtmlEscapedCallbackPhase.Stringify, false, {})).split(/\r\n|\r|\n/).map((line) => {
return `data: ${line}`;
}).join("\n");
for (const key of ["event", "id"]) {
const value = message[key];
if (value && /[\r\n]/.test(value)) throw new Error(`${key} must not contain "\\r" or "\\n"`);
}
const sseData = [
message.event && `event: ${message.event}`,
dataLines,
message.id !== void 0 && `id: ${message.id}`,
message.retry !== void 0 && `retry: ${message.retry}`
].filter(Boolean).join("\n") + "\n\n";
await this.write(sseData);
}
};
const run = async (stream, cb, onError) => {
try {
await cb(stream);
} catch (e) {
if (e instanceof Error && onError) {
await onError(e, stream);
await stream.writeSSE({
event: "error",
data: e.message
});
} else console.error(e);
} finally {
stream.close();
}
};
const contextStash = /* @__PURE__ */ new WeakMap();
const streamSSE = (c, cb, onError) => {
const { readable, writable } = new TransformStream();
const stream = new SSEStreamingApi(writable, readable);
if (require_helper_streaming_utils.isOldBunVersion()) c.req.raw.signal.addEventListener("abort", () => {
if (!stream.closed) stream.abort();
});
contextStash.set(stream.responseReadable, c);
c.header("Transfer-Encoding", "chunked");
c.header("Content-Type", "text/event-stream");
c.header("Cache-Control", "no-cache");
c.header("Connection", "keep-alive");
run(stream, cb, onError);
return c.newResponse(stream.responseReadable);
};
//#endregion
exports.SSEStreamingApi = SSEStreamingApi;
exports.streamSSE = streamSSE;
@@ -0,0 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TSModuleScope = void 0;
const ScopeBase_1 = require("./ScopeBase");
const ScopeType_1 = require("./ScopeType");
class TSModuleScope extends ScopeBase_1.ScopeBase {
constructor(scopeManager, upperScope, block) {
super(scopeManager, ScopeType_1.ScopeType.tsModule, upperScope, block, false);
}
}
exports.TSModuleScope = TSModuleScope;
@@ -0,0 +1 @@
{"version":3,"file":"circle-arrow-right.js","sources":["../../../src/icons/circle-arrow-right.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\n\n/**\n * @component @name CircleArrowRight\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNOCAxMmg4IiAvPgogIDxwYXRoIGQ9Im0xMiAxNiA0LTQtNC00IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-arrow-right\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleArrowRight = createLucideIcon('CircleArrowRight', [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'M8 12h8', key: '1wcyev' }],\n ['path', { d: 'm12 16 4-4-4-4', key: '1i9zcv' }],\n]);\n\nexport default CircleArrowRight;\n"],"names":[],"mappings":";;;;;;;;;AAaM,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAmB,iBAAiB,kBAAoB,CAAA,CAAA,CAAA;AAAA,CAC5D,CAAA,CAAC,QAAU,CAAA,CAAA,CAAA,CAAE,EAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAM,CAAI,CAAA,CAAA,CAAA,IAAA,CAAM,CAAA,CAAG,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAM,GAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,EAAU,CAAA,CAAA;AAAA,CAAA,CACzD,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAW,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA,CAAA;AAAA,CAAA,CACxC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAE,GAAG,CAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAK,UAAU,CAAA;AACjD,CAAC,CAAA,CAAA;;"}
@@ -0,0 +1 @@
module.exports={A:{A:{"2":"_E"},B:{"1":"_K","2":"_5B","260":"_IE"},C:{"1":"_CF","2":"_WI"},D:{"1":"_ZO","2":"_bL"},E:{"1":"_QB","2":"_5C","132":"_uQ"},F:{"1":"_uN","2":"F _VB _iK aD","33":"_6 _2K"},G:{"1":"_BB","2":"_EB","132":"_lC _gC"},H:{"33":"1D"},I:{"1":"_YD","2":"_wG"},J:{"2":"_B"},K:{"1":"H","2":"A","33":"_bD"},L:{"1":"I"},M:{"1":"YC"},N:{"2":"_A"},O:{"1":"bC"},P:{"1":"_F"},Q:{"1":"JE"},R:{"1":"KE"},S:{"1":"_C"}},B:4,C:"CSS3 object-fit/object-position",D:true};
@@ -0,0 +1,15 @@
import type { TSESTree } from '@typescript-eslint/utils';
import type { InferMessageIdsTypeFromRule, InferOptionsTypeFromRule } from '../util';
declare const baseRule: import("@typescript-eslint/utils/ts-eslint").RuleModule<"initialized" | "notInitialized", ["always" | "never", ({
ignoreForLoopInit?: boolean;
} | undefined)?], unknown, {
'VariableDeclaration:exit'(node: TSESTree.VariableDeclaration): void;
}>;
export type Options = InferOptionsTypeFromRule<typeof baseRule>;
export type MessageIds = InferMessageIdsTypeFromRule<typeof baseRule>;
declare const _default: import("@typescript-eslint/utils/ts-eslint").RuleModule<"initialized" | "notInitialized", ["always" | "never", ({
ignoreForLoopInit?: boolean;
} | undefined)?], import("../../rules").ESLintPluginDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
name: string;
};
export default _default;