one 1.1.304 → 1.1.306
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/createHandleRequest.js +0 -3
- package/dist/cjs/createHandleRequest.js.map +1 -1
- package/dist/cjs/createHandleRequest.native.js +0 -3
- package/dist/cjs/createHandleRequest.native.js.map +2 -2
- package/dist/cjs/getRoutes.js.map +1 -1
- package/dist/cjs/getRoutes.native.js.map +1 -1
- package/dist/cjs/vite/one.js +5 -5
- package/dist/cjs/vite/one.js.map +1 -1
- package/dist/cjs/vite/one.native.js +5 -5
- package/dist/cjs/vite/one.native.js.map +2 -2
- package/dist/esm/createHandleRequest.js +0 -2
- package/dist/esm/createHandleRequest.js.map +1 -1
- package/dist/esm/createHandleRequest.mjs +0 -1
- package/dist/esm/createHandleRequest.mjs.map +1 -1
- package/dist/esm/createHandleRequest.native.js +0 -2
- package/dist/esm/createHandleRequest.native.js.map +2 -2
- package/dist/esm/getRoutes.js.map +1 -1
- package/dist/esm/getRoutes.mjs.map +1 -1
- package/dist/esm/getRoutes.native.js.map +1 -1
- package/dist/esm/vite/one.js +5 -5
- package/dist/esm/vite/one.js.map +1 -1
- package/dist/esm/vite/one.mjs +5 -5
- package/dist/esm/vite/one.mjs.map +1 -1
- package/dist/esm/vite/one.native.js +5 -5
- package/dist/esm/vite/one.native.js.map +2 -2
- package/package.json +10 -9
- package/src/createHandleRequest.ts +0 -4
- package/src/getRoutes.ts +0 -3
- package/src/vite/one.ts +6 -6
- package/types/createHandleRequest.d.ts.map +1 -1
- package/types/getRoutes.d.ts.map +1 -1
- package/dist/cjs/utils/requireResolve.js +0 -25
- package/dist/cjs/utils/requireResolve.js.map +0 -6
- package/dist/cjs/utils/requireResolve.native.js +0 -31
- package/dist/cjs/utils/requireResolve.native.js.map +0 -6
- package/dist/esm/utils/requireResolve.js +0 -9
- package/dist/esm/utils/requireResolve.js.map +0 -6
- package/dist/esm/utils/requireResolve.mjs +0 -7
- package/dist/esm/utils/requireResolve.mjs.map +0 -1
- package/dist/esm/utils/requireResolve.native.js +0 -9
- package/dist/esm/utils/requireResolve.native.js.map +0 -6
- package/src/utils/requireResolve.ts +0 -10
- package/types/utils/requireResolve.d.ts +0 -2
- package/types/utils/requireResolve.d.ts.map +0 -1
@@ -18,10 +18,7 @@ __export(createHandleRequest_exports, {
|
|
18
18
|
});
|
19
19
|
module.exports = __toCommonJS(createHandleRequest_exports);
|
20
20
|
var import_cleanUrl = require("./cleanUrl"), import_isResponse = require("./utils/isResponse"), import_promiseWithResolvers = require("./utils/promiseWithResolvers"), import_getManifest = require("./vite/getManifest");
|
21
|
-
const import_meta = {};
|
22
21
|
function createHandleRequest(options, handlers) {
|
23
|
-
if (import_meta.env)
|
24
|
-
throw new Error("No import.meta.env - Node 22 or greater required.");
|
25
22
|
const manifest = (0, import_getManifest.getManifest)();
|
26
23
|
if (!manifest)
|
27
24
|
throw new Error("No routes manifest");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/createHandleRequest.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsC,uBAEtC,oBAA2B,+BAC3B,8BAAqC,yCACrC,qBAA4B;
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAsC,uBAEtC,oBAA2B,+BAC3B,8BAAqC,yCACrC,qBAA4B;AAYrB,SAAS,oBACd,SACA,UAKA;AACA,QAAM,eAAW,gCAAY;AAC7B,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,oBAAoB;AAGtC,QAAM,eACJ,SAAS,UAAU,OAAO,CAAC,KAAK,SAC9B,IAAI,IAAI,IAAI,IAAI,EAAE,GAAG,KAAK,eAAe,IAAI,OAAO,IAAI,UAAU,EAAE,GAC7D,MACN,CAAC,CAAC,GAED,gBAAgB,OAAO,OAAO,YAAY,GAK1C,iBAAiB,CAAC,GAGlB,aAAa,SAAS,WAAW,IAAI,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,MAAI,OAAO;AACT,eAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,MAAM,MAAM,GAAG;AACvD,YAAM,WAAW,OAAO,UAAU,GAAG;AACrC,aAAO,QAAQ,IAAI;AAAA,IACrB;AAEF,SAAO;AACT;AAGA,SAAS,eAAe,UAAkB,OAA0B;AAElE,QAAM,QADQ,IAAI,OAAO,MAAM,UAAU,EACrB,KAAK,QAAQ;AACjC,SAAK,QACE,OAAO;AAAA,IACZ,OAAO,QAAQ,MAAM,SAAS,EAAE,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG,CAAC,CAAC;AAAA,EACpF,IAHmB,CAAC;AAItB;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -19,10 +19,7 @@ __export(createHandleRequest_exports, {
|
|
19
19
|
});
|
20
20
|
module.exports = __toCommonJS(createHandleRequest_exports);
|
21
21
|
var import_cleanUrl = require("./cleanUrl"), import_isResponse = require("./utils/isResponse"), import_promiseWithResolvers = require("./utils/promiseWithResolvers"), import_getManifest = require("./vite/getManifest");
|
22
|
-
const import_meta = {};
|
23
22
|
function createHandleRequest(options, handlers) {
|
24
|
-
if (import_meta.env)
|
25
|
-
throw new Error("No import.meta.env - Node 22 or greater required.");
|
26
23
|
var manifest = (0, import_getManifest.getManifest)();
|
27
24
|
if (!manifest)
|
28
25
|
throw new Error("No routes manifest");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/createHandleRequest.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;sBAAsC,uBAEtC,oBAA2B,+BAC3B,8BAAqC,yCACrC,qBAA4B;
|
5
|
-
"names": ["createHandleRequest", "options", "handlers", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;sBAAsC,uBAEtC,oBAA2B,+BAC3B,8BAAqC,yCACrC,qBAA4B;AA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,UAAUH,GAAAA;AAClClC,eAAOoC,QAAAA,IAAYD;MACrB;;AAHK,0BAAA,IAAA,iBAAA;;;SAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;YAAA;gBAAA;;;EAIP;AACA,SAAOnC;AACT;AAGA,SAASC,eAAeZ,UAAkBT,OAAwB;AAChE,MAAMkB,QAAQ,IAAI1B,OAAOQ,MAAMP,UAAU,GACnCyD,QAAQhC,MAAMiC,KAAK1C,QAAAA;AACzB,SAAKyC,QACEvD,OAAO+D,YACZ/D,OAAO0D,QAAQrD,MAAMyD,SAAS,EAAE1D,IAAI,SAAA,OAAA;QAAC,CAACuD,KAAKC,KAAAA,IAAM,OAAaL;WAAR;MAACK;OAAOL,gBAAAA,MAAME,YAAM,QAAZF,kBAAAA,SAAAA,SAAAA,cAAeI,GAAAA;;QAF5D,CAAC;AAItB;",
|
5
|
+
"names": ["createHandleRequest", "options", "handlers", "manifest", "getManifest", "Error", "apiRoutesMap", "apiRoutes", "reduce", "acc", "cur", "page", "compiledRegex", "RegExp", "namedRegex", "apiRoutesList", "Object", "values", "activeRequests", "pageRoutes", "map", "route", "workingRegex", "handler", "request", "urlString", "url", "URL", "headers", "get", "pathname", "search", "process", "env", "NODE_ENV", "startsWith", "handleAPI", "apiRoute", "find", "regex", "test", "params", "getRouteParams", "loaderProps", "path", "err", "isResponse", "method", "handleLoader", "isClientRequestingNewRoute", "endsWith", "originalUrl", "getPathFromLoaderPath", "finalUrl", "origin", "file", "Headers", "set", "loaderResponse", "getLoaderParams", "Response", "console", "error", "routes", "handleSSR", "promise", "reject", "resolve", "promiseWithResolvers", "ssrResponse", "config", "match", "exec", "groups", "entries", "key", "value", "namedKey", "routeKeys", "fromEntries"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/getRoutes.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA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AAA;MAC3D;;AAFK,0BAAA,IAAA,iBAAA;;;SAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;YAAA;gBAAA;;;EAGP;AACF;",
|
5
5
|
"names": ["validPlatforms", "Set", "getRoutes", "contextModule", "options", "directoryTree", "getDirectoryTree", "rootNode", "flattenDirectoryTreeToRoutes", "ignoreEntryPoints", "crawlAndAppendInitialRoutesAndEntryFiles", "getExactRoutes", "skipGenerated", "importMode", "process", "env", "One_ROUTER_IMPORT_MODE", "ignoreList", "ignore", "push", "preserveApiRoutes", "rootDirectory", "files", "Map", "subdirectories", "hasRoutes", "isValid", "filePath", "some", "regex", "test", "meta", "getFileMeta", "specificity", "type", "isLayout", "renderMode", "getDefaultRenderMode", "node", "loadRoute", "ignoreRequireErrors", "contextKey", "route", "dynamic", "children", "NODE_ENV", "getPageExport", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "extrapolateGroups", "subdirectoryParts", "split", "slice", "directory", "part", "subDirectory", "get", "set", "layout", "existing", "Error", "getLayoutNode", "fileKey", "nodes", "keys", "default", "require", "DefaultNavigator", "generated", "appendSitemapRoute", "appendNotFoundRoute", "pathToRemove", "previousLayout", "getMostSpecific", "internal_stripLoadRoute", "newRoute", "replace", "generateDynamic", "values", "routes", "routeNode", "child", "key", "parts", "removeSupportedExtensions", "filename", "length", "filenameWithoutExtensions", "startsWith", "_fullname", "renderModeFound", "match", "endsWith", "renamedRoute", "join", "platformExtension", "hasPlatformExtension", "has", "usePlatformRoutes", "platformRoutes", "platform", "RegExp", "map", "r", "getIgnoreList", "matchArrayGroupName", "add", "groups", "groupsSet", "size", "group", "trim", "path", "name", "deep", "notFound", "deepDynamicName", "matchDeepDynamicRouteName", "dynamicName", "matchDynamicName", "filter", "getNavOptions", "internal", "groupName", "matchGroupName", "childMatchingGroup", "find", "initialRouteName", "entryPoints", "loaded", "unstable_settings", "groupSpecificInitialRouteName", "initialRoute", "validInitialRoutes"]
|
6
6
|
}
|
package/dist/cjs/vite/one.js
CHANGED
@@ -26,7 +26,7 @@ __export(one_exports, {
|
|
26
26
|
one: () => one
|
27
27
|
});
|
28
28
|
module.exports = __toCommonJS(one_exports);
|
29
|
-
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"),
|
29
|
+
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"), import_resolve = require("@vxrn/resolve"), import_clientTreeShakePlugin = require("./clientTreeShakePlugin"), import_createFileSystemRouter = require("./createFileSystemRouter"), import_ensureTsConfig = require("./ensureTsConfig"), import_fixDependenciesPlugin = require("./fixDependenciesPlugin"), import_generateTypesForRoutes = require("./generateTypesForRoutes"), import_loadEnv = require("./loadEnv"), import_virtualEntryPlugin = require("./virtualEntryPlugin"), import_vitePluginSsrCss = require("./vitePluginSsrCss");
|
30
30
|
import_node_events.default.setMaxListeners(1e3);
|
31
31
|
globalThis.__vxrnEnableNativeEnv = !0;
|
32
32
|
function one(options = {}) {
|
@@ -69,12 +69,12 @@ function one(options = {}) {
|
|
69
69
|
return {
|
70
70
|
resolve: {
|
71
71
|
alias: {
|
72
|
-
tslib: (0,
|
72
|
+
tslib: (0, import_resolve.resolvePath)("@vxrn/tslib-lite")
|
73
73
|
}
|
74
74
|
// [
|
75
75
|
// {
|
76
76
|
// find: /tslib/,
|
77
|
-
// replacement:
|
77
|
+
// replacement: resolvePath('@vxrn/tslib-lite'),
|
78
78
|
// },
|
79
79
|
// // not working but would save ~30Kb stat
|
80
80
|
// // {
|
@@ -186,8 +186,8 @@ function one(options = {}) {
|
|
186
186
|
const sharedNativeConfig = {
|
187
187
|
resolve: {
|
188
188
|
alias: {
|
189
|
-
react: (0,
|
190
|
-
"react-dom": (0,
|
189
|
+
react: (0, import_resolve.resolvePath)("one/react-18"),
|
190
|
+
"react-dom": (0, import_resolve.resolvePath)("one/react-dom-18")
|
191
191
|
}
|
192
192
|
}
|
193
193
|
};
|
package/dist/cjs/vite/one.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/one.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAmB,oCACnB,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAmB,oCACnB,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,iBAA4B,0BAC5B,+BAAsC,oCACtC,gCAAuC,qCACvC,wBAA+B,6BAC/B,+BAAsC,oCACtC,gCAAuC,qCACvC,iBAAwB,sBAExB,4BAAmD,iCACnD,0BAAiC;AAEjC,mBAAAA,QAAO,gBAAgB,GAAK;AAG5B,WAAW,wBAAwB;AAE5B,SAAS,IAAI,UAA6B,CAAC,GAAiB;AACjE,eAAa,aAER,wBAAQ,QAAQ,IAAI,CAAC,GAGtB,QAAQ,QAAQ,mBAAmB,UAChC,sCAAe,GAGtB,WAAW,uBAA0B;AAGrC,QAAM,EAAE,aAAa,QAAI,6BAAgB,OAAO,GAC1C,cAAc,aAAa,SAC3B,kBAAkB,IAAI;AAAA;AAAA;AAAA,IAG1B,GAAG,YAAY,IAAI,CAAC,OAAO,GAAG,QAAQ,uBAAuB,MAAM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AuB,GAAG;AAAA,UACzC;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,QAEA,0CAAiB;AAAA,MACf,SAAS,CAAC,wCAAc;AAAA,IAC1B,CAAC;AAAA,EACH;AACF;AAEA,IAAI,aAAuC;AAE3C,eAAe,kBAAkB,SAA6B;AAC5D,MAAI,CAAC,YAAY;AACf,QAAI,CAAC,QAAS,OAAM,IAAI,MAAM,yCAAyC;AACvE,UAAM,mBAAmB,OAAO;AAAA,EAClC;AACA,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,4BAA4B;AAE9C,SAAO;AACT;AAEA,eAAsB,mBAAmB,SAA4B;AAKnE,MAAI,CAJU,UAAM,gCAAmB;AAAA,IACrC,MAAM;AAAA,IACN;AAAA,EACF,CAAC;AAEC,UAAM,IAAI,MAAM,sBAAsB,QAAQ,IAAI,CAAC,kCAAkC;AAEvF,QAAM,eAAe,kBAAkB;AACvC,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,yCAAyC;AAE3D,SAAO;AACT;",
|
5
5
|
"names": ["events", "tsconfigPaths", "path"]
|
6
6
|
}
|
@@ -27,7 +27,7 @@ __export(one_exports, {
|
|
27
27
|
one: () => one
|
28
28
|
});
|
29
29
|
module.exports = __toCommonJS(one_exports);
|
30
|
-
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"),
|
30
|
+
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"), import_resolve = require("@vxrn/resolve"), import_clientTreeShakePlugin = require("./clientTreeShakePlugin"), import_createFileSystemRouter = require("./createFileSystemRouter"), import_ensureTsConfig = require("./ensureTsConfig"), import_fixDependenciesPlugin = require("./fixDependenciesPlugin"), import_generateTypesForRoutes = require("./generateTypesForRoutes"), import_loadEnv = require("./loadEnv"), import_virtualEntryPlugin = require("./virtualEntryPlugin"), import_vitePluginSsrCss = require("./vitePluginSsrCss");
|
31
31
|
import_node_events.default.setMaxListeners(1e3);
|
32
32
|
globalThis.__vxrnEnableNativeEnv = !0;
|
33
33
|
function one() {
|
@@ -68,7 +68,7 @@ function one() {
|
|
68
68
|
return {
|
69
69
|
resolve: {
|
70
70
|
alias: {
|
71
|
-
tslib: (0,
|
71
|
+
tslib: (0, import_resolve.resolvePath)("@vxrn/tslib-lite")
|
72
72
|
}
|
73
73
|
}
|
74
74
|
};
|
@@ -77,7 +77,7 @@ function one() {
|
|
77
77
|
// [
|
78
78
|
// {
|
79
79
|
// find: /tslib/,
|
80
|
-
// replacement:
|
80
|
+
// replacement: resolvePath('@vxrn/tslib-lite'),
|
81
81
|
// },
|
82
82
|
// // not working but would save ~30Kb stat
|
83
83
|
// // {
|
@@ -192,8 +192,8 @@ function one() {
|
|
192
192
|
var sharedNativeConfig = {
|
193
193
|
resolve: {
|
194
194
|
alias: {
|
195
|
-
react: (0,
|
196
|
-
"react-dom": (0,
|
195
|
+
react: (0, import_resolve.resolvePath)("one/react-18"),
|
196
|
+
"react-dom": (0, import_resolve.resolvePath)("one/react-dom-18")
|
197
197
|
}
|
198
198
|
}
|
199
199
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/one/packages/one/src/vite/one.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;yBAAmB,oCACnB,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,
|
5
|
-
"names": ["events", "setMaxListeners", "globalThis", "__vxrnEnableNativeEnv", "one", "options", "oneOptions", "loadEnv", "process", "cwd", "config", "ensureTSConfig", "optimizeDeps", "getOptimizeDeps", "optimizeIds", "include", "optimizeIdRegex", "RegExp", "map", "id", "replace", "join", "tsConfigPathsPlugin", "vxrnOptions", "getOptionsFilled", "devAndProdPlugins", "Proxy", "name", "configIncoming", "pathsConfig", "tsConfigPaths", "plugins", "flat", "some", "p", "tsconfigPaths", "configResolved", "resolveId", "get", "target", "key", "thisArg", "Reflect", "enforce", "resolve", "alias", "tslib", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;yBAAmB,oCACnB,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,iBAA4B,0BAC5B,+BAAsC,oCACtC,gCAAuC,qCACvC,wBAA+B,6BAC/B,+BAAsC,oCACtC,gCAAuC,qCACvC,iBAAwB,sBAExB,4BAAmD,iCACnD,0BAAiC;AAEjCA,mBAAAA,QAAOC,gBAAgB,GAAA;AAGvBC,WAAWC,wBAAwB;AAE5B,SAASC,MAAAA;MAAIC,UAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA6B,CAAC,GAM5CA;AALJC,eAAaD,aAERE,wBAAQC,QAAQC,IAAG,CAAA,KAGpBJ,kBAAAA,QAAQK,YAAM,QAAdL,oBAAAA,SAAAA,SAAAA,gBAAgBM,oBAAmB,UAChCA,sCAAAA,GAGPT,WAAW,uBAA0BG;AAGrC,MAAM,EAAEO,aAAY,QAAKC,6BAAgB,OAAA,GACnCC,cAAcF,aAAaG,SAC3BC,kBAAkB,IAAIC;;;IAG1B,GAAGH,YAAYI,IAAI,SAACC,IAAAA;aAAOA,GAAGC,QAAQ,uBAAuB,MAAA;OAASC,KAAK,GAAA,CAAA;EAAM,GAG/EC,sBAAqC,MAEnCC,kBAAcC,8BAAAA,GAEdC,oBAAo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BwG,mBAAmBF,SAA0B;AACjE,MAAMG,QAAQ,UAAMC,gCAAmB;IACrCC,MAAM;IACNL;EACF,CAAA;AACA,MAAI,CAACG;AACH,UAAM,IAAIF,MAAM,sBAAsBrG,QAAQC,IAAG,CAAA,kCAAoC;AAEvF,MAAMyG,eAAeP,kBAAAA;AACrB,MAAI,CAACO;AACH,UAAM,IAAIL,MAAM,yCAAyC;AAE3D,SAAOK;AACT;",
|
5
|
+
"names": ["events", "setMaxListeners", "globalThis", "__vxrnEnableNativeEnv", "one", "options", "oneOptions", "loadEnv", "process", "cwd", "config", "ensureTSConfig", "optimizeDeps", "getOptimizeDeps", "optimizeIds", "include", "optimizeIdRegex", "RegExp", "map", "id", "replace", "join", "tsConfigPathsPlugin", "vxrnOptions", "getOptionsFilled", "devAndProdPlugins", "Proxy", "name", "configIncoming", "pathsConfig", "tsConfigPaths", "plugins", "flat", "some", "p", "tsconfigPaths", "configResolved", "resolveId", "get", "target", "key", "thisArg", "Reflect", "enforce", "resolve", "alias", "tslib", "resolvePath", "define", "web", "defaultRenderMode", "JSON", "stringify", "setupFile", "env", "NODE_ENV", "server", "url", "environments", "client", "ssr", "zero", "TESTING", "REPLICACHE_VERSION", "ZERO_VERSION", "hotUpdate", "modules", "m", "relativePath", "path", "relative", "root", "rootDir", "split", "sep", "acceptedHmrExports", "Set", "__vxrnAddNativePlugins", "clientTreeShakePlugin", "__vxrnAddWebPluginsProd", "createFileSystemRouter", "generateTypesForRoutes", "fixDependenciesPlugin", "deps", "createVirtualEntry", "app", "sharedNativeConfig", "react", "ios", "android", "applyToEnvironment", "environment", "isWebEnvironment", "importer", "shouldOptimize", "test", "absolutePath", "dirname", "webPath", "directoryPath", "existsAsync", "err", "console", "warn", "vitePluginSsrCss", "entries", "virtualEntryId", "getUserOneOptions", "command", "Error", "loadUserOneOptions", "found", "loadConfigFromFile", "mode", "foundOptions"]
|
6
6
|
}
|
@@ -3,8 +3,6 @@ import { isResponse } from "./utils/isResponse";
|
|
3
3
|
import { promiseWithResolvers } from "./utils/promiseWithResolvers";
|
4
4
|
import { getManifest } from "./vite/getManifest";
|
5
5
|
function createHandleRequest(options, handlers) {
|
6
|
-
if (import.meta.env)
|
7
|
-
throw new Error("No import.meta.env - Node 22 or greater required.");
|
8
6
|
const manifest = getManifest();
|
9
7
|
if (!manifest)
|
10
8
|
throw new Error("No routes manifest");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/createHandleRequest.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,6BAA6B;AAEtC,SAAS,kBAAkB;AAC3B,SAAS,4BAA4B;AACrC,SAAS,mBAAmB;AAYrB,SAAS,oBACd,SACA,UAKA;AACA,
|
4
|
+
"mappings": "AAAA,SAAS,6BAA6B;AAEtC,SAAS,kBAAkB;AAC3B,SAAS,4BAA4B;AACrC,SAAS,mBAAmB;AAYrB,SAAS,oBACd,SACA,UAKA;AACA,QAAM,WAAW,YAAY;AAC7B,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,oBAAoB;AAGtC,QAAM,eACJ,SAAS,UAAU,OAAO,CAAC,KAAK,SAC9B,IAAI,IAAI,IAAI,IAAI,EAAE,GAAG,KAAK,eAAe,IAAI,OAAO,IAAI,UAAU,EAAE,GAC7D,MACN,CAAC,CAAC,GAED,gBAAgB,OAAO,OAAO,YAAY,GAK1C,iBAAiB,CAAC,GAGlB,aAAa,SAAS,WAAW,IAAI,CAAC,WAAW;AAAA,IACrD,GAAG;AAAA,IACH,cAAc,IAAI,OAAO,MAAM,UAAU;AAAA,EAC3C,EAAE;AAEF,SAAO;AAAA,IACL;AAAA,IACA,SAAS,eAA6B,SAAmD;AACvF,YAAM,YAAY,QAAQ,OAAO,IAC3B,MAAM,IAAI;AAAA,QACd,aAAa;AAAA,QACb,QAAQ,QAAQ,IAAI,MAAM,IAAI,UAAU,QAAQ,QAAQ,IAAI,MAAM,CAAC,KAAK;AAAA,MAC1E,GACM,EAAE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AE,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,OAAO,MAAM,SAAS,GAAG,CAAC,CAAC;AAAA,EACpF,IAHmB,CAAC;AAItB;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -3,7 +3,6 @@ import { isResponse } from "./utils/isResponse.mjs";
|
|
3
3
|
import { promiseWithResolvers } from "./utils/promiseWithResolvers.mjs";
|
4
4
|
import { getManifest } from "./vite/getManifest.mjs";
|
5
5
|
function createHandleRequest(options, handlers) {
|
6
|
-
if (import.meta.env) throw new Error("No import.meta.env - Node 22 or greater required.");
|
7
6
|
const manifest = getManifest();
|
8
7
|
if (!manifest) throw new Error("No routes manifest");
|
9
8
|
const apiRoutesMap = manifest.apiRoutes.reduce((acc, cur) => (acc[cur.page] = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["getPathFromLoaderPath","isResponse","promiseWithResolvers","getManifest","createHandleRequest","options","handlers","
|
1
|
+
{"version":3,"names":["getPathFromLoaderPath","isResponse","promiseWithResolvers","getManifest","createHandleRequest","options","handlers","manifest","Error","apiRoutesMap","apiRoutes","reduce","acc","cur","page","compiledRegex","RegExp","namedRegex","apiRoutesList","Object","values","activeRequests","pageRoutes","map","route","workingRegex","handler","request","urlString","url","URL","headers","get","pathname","search","process","env","NODE_ENV","startsWith","handleAPI","apiRoute","find","test","params","getRouteParams","loaderProps","path","err","method","handleLoader","endsWith","originalUrl","finalUrl","origin","file","Headers","set","loaderResponse","getLoaderParams","Response","console","error","routes","handleSSR","promise","reject","resolve","ssrResponse","config","match","exec","groups","key","value","entries","namedKey","routeKeys","fromEntries"],"sources":["../../src/createHandleRequest.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,qBAAA,QAA6B;AAEtC,SAASC,UAAA,QAAkB;AAC3B,SAASC,oBAAA,QAA4B;AACrC,SAASC,WAAA,QAAmB;AAYrB,SAASC,oBACdC,OAAA,EACAC,QAAA,EAKA;EACA,MAAMC,QAAA,GAAWJ,WAAA,CA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YAAY,EAAE6C,IAAA,CAAKzC,GAAA,CAAII,QAAQ;EAC/D,IAAIoC,KAAA,EAAOE,MAAA,EACT,WAAW,CAACC,GAAA,EAAKC,KAAK,KAAKtD,MAAA,CAAOuD,OAAA,CAAQL,KAAA,CAAME,MAAM,GAAG;IACvD,MAAMI,QAAA,GAAWP,MAAA,CAAOQ,SAAA,CAAUJ,GAAG;IACrC7B,MAAA,CAAOgC,QAAQ,IAAIF,KAAA;EACrB;EAEF,OAAO9B,MAAA;AACT;AAGA,SAASC,eAAeX,QAAA,EAAkBT,KAAA,EAA0B;EAElE,MAAM6C,KAAA,GADQ,IAAIrD,MAAA,CAAOQ,KAAA,CAAMP,UAAU,EACrBqD,IAAA,CAAKrC,QAAQ;EACjC,OAAKoC,KAAA,GACElD,MAAA,CAAO0D,WAAA,CACZ1D,MAAA,CAAOuD,OAAA,CAAQlD,KAAA,CAAMoD,SAAS,EAAErD,GAAA,CAAI,CAAC,CAACiD,GAAA,EAAKC,KAAK,MAAM,CAACA,KAAA,EAAOJ,KAAA,CAAME,MAAA,GAASC,GAAG,CAAC,CAAC,CACpF,IAHmB,CAAC;AAItB","ignoreList":[]}
|
@@ -3,8 +3,6 @@ import { isResponse } from "./utils/isResponse";
|
|
3
3
|
import { promiseWithResolvers } from "./utils/promiseWithResolvers";
|
4
4
|
import { getManifest } from "./vite/getManifest";
|
5
5
|
function createHandleRequest(options, handlers) {
|
6
|
-
if (import.meta.env)
|
7
|
-
throw new Error("No import.meta.env - Node 22 or greater required.");
|
8
6
|
var manifest = getManifest();
|
9
7
|
if (!manifest)
|
10
8
|
throw new Error("No routes manifest");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/createHandleRequest.ts"],
|
4
|
-
"mappings": "AAAA,SAASA,6BAA6B;AAEtC,SAASC,kBAAkB;AAC3B,SAASC,4BAA4B;AACrC,SAASC,mBAAmB;AAYrB,SAASC,oBACdC,SACAC,UAIC;AAED,
|
5
|
-
"names": ["getPathFromLoaderPath", "isResponse", "promiseWithResolvers", "getManifest", "createHandleRequest", "options", "handlers", "
|
4
|
+
"mappings": "AAAA,SAASA,6BAA6B;AAEtC,SAASC,kBAAkB;AAC3B,SAASC,4BAA4B;AACrC,SAASC,mBAAmB;AAYrB,SAASC,oBACdC,SACAC,UAIC;AAED,MAAMC,WAAWJ,YAAAA;AACjB,MAAI,CAACI;AACH,UAAM,IAAIC,MAAM,oBAAoB;AAGtC,MAAMC,eACJF,SAASG,UAAUC,OAAO,SAACC,KAAKC,KAAAA;AAC9BD,eAAIC,IAAIC,IAAI,IAAI;MAAE,GAAGD;MAAKE,eAAe,IAAIC,OAAOH,IAAII,UAAU;IAAE,GAC7DL;EACT,GAAG,CAAC,CAAA,GAEAM,gBAAgBC,OAAOC,OAAOX,YAAAA,GAK9BY,iBAAiB,CAAC,GAGlBC,aAAaf,SAASe,WAAWC,IAAI,SAACC,OAAAA;WAAW;MACrD,GAAGA;MACHC,cAAc,IAAIT,OAAOQ,MAAMP,UAAU;IAC3C;;AAEA,SAAO;IACLV;IACAmB,SAAS,eAA6BC,SAAgB;AACpD,UAAMC,YAAYD,QAAQE,OAAO,IAC3BA,MAAM,IAAIC,IACdF,aAAa,IACbD,QAAQI,QAAQC,IAAI,MAAA,IAAU,UAAUL,QAAQI,QAAQC,IAAI,MAAA,CAAA,KAAY,EAAA,GAEpE,EAAEC,UAAUC,OAAM,IAAKL;AAE7B,UAAIM,QAAQC,IAAIC,aAAa,gBACvBhB,eAAeY,QAAAA;AACjB,eAAO,MAAMZ,eAAeY,QAAAA;AAIhC,UAAIA,aAAa,gBAAgBA,SAASK,WAAW,IAAA;AACnD,eAAO;AAGT,UAAIhC,SAASiC,WAAW;AACtB,YAAMC,WAAWtB,cAAcuB,KAAK,SAACjB,QAAAA;AACnC,cAAMkB,QAAQlB,OAAMT;AACpB,iBAAO2B,MAAMC,KAAKV,QAAAA;QACpB,CAAA;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sBtD,OAAOuD,QAAQH,MAAME,MAAM,EAAA,OAAA,QAAA,EAAA,GAAjD,OAAA,EAAA,6BAAA,QAAA,UAAA,KAAA,GAAA,OAAA,4BAAA,IAAoD;AAApD,YAAM,CAACE,KAAKC,KAAAA,IAAZ,MAAA,OACGC,WAAWP,OAAOQ,UAAUH,GAAAA;AAClC/B,eAAOiC,QAAAA,IAAYD;MACrB;;AAHK,0BAAA,IAAA,iBAAA;;;SAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;YAAA;gBAAA;;;EAIP;AACA,SAAOhC;AACT;AAGA,SAASC,eAAeZ,UAAkBT,OAAwB;AAChE,MAAMkB,QAAQ,IAAI1B,OAAOQ,MAAMP,UAAU,GACnCsD,QAAQ7B,MAAM8B,KAAKvC,QAAAA;AACzB,SAAKsC,QACEpD,OAAO4D,YACZ5D,OAAOuD,QAAQlD,MAAMsD,SAAS,EAAEvD,IAAI,SAAA,OAAA;QAAC,CAACoD,KAAKC,KAAAA,IAAM,OAAaL;WAAR;MAACK;OAAOL,gBAAAA,MAAME,YAAM,QAAZF,kBAAAA,SAAAA,SAAAA,cAAeI,GAAAA;;QAF5D,CAAC;AAItB;",
|
5
|
+
"names": ["getPathFromLoaderPath", "isResponse", "promiseWithResolvers", "getManifest", "createHandleRequest", "options", "handlers", "manifest", "Error", "apiRoutesMap", "apiRoutes", "reduce", "acc", "cur", "page", "compiledRegex", "RegExp", "namedRegex", "apiRoutesList", "Object", "values", "activeRequests", "pageRoutes", "map", "route", "workingRegex", "handler", "request", "urlString", "url", "URL", "headers", "get", "pathname", "search", "process", "env", "NODE_ENV", "startsWith", "handleAPI", "apiRoute", "find", "regex", "test", "params", "getRouteParams", "loaderProps", "path", "err", "method", "handleLoader", "isClientRequestingNewRoute", "endsWith", "originalUrl", "finalUrl", "origin", "file", "Headers", "set", "loaderResponse", "getLoaderParams", "Response", "console", "error", "routes", "handleSSR", "promise", "reject", "resolve", "ssrResponse", "config", "match", "exec", "groups", "entries",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,SAAS,GAAG,oBAEW;AAAA,IAG1D;AAEA,QAAI,kBAAkB;AACpB,YAAM,eAAe,KAAK,SAAS,KAAK,CAAC,UAAU,MAAM,UAAU,gBAAgB;AACnF,UAAI,CAAC,cAAc;AACjB,cAAM,qBAAqB,KAAK,SAC7B,OAAO,CAAC,UAAU,CAAC,MAAM,SAAS,EAClC,IAAI,CAAC,UAAU,IAAI,MAAM,KAAK,GAAG,EACjC,KAAK,IAAI;AAEZ,cAAI,YACI,IAAI;AAAA,UACR,UAAU,KAAK,UAAU,kCAAkC,gBAAgB,iBAAiB,SAAS,0BAA0B,kBAAkB;AAAA,QACnJ,IAEI,IAAI;AAAA,UACR,UAAU,KAAK,UAAU,kCAAkC,gBAAgB,yBAAyB,kBAAkB;AAAA,QACxH;AAAA,MACF;AAGA,WAAK,mBAAmB,kBACxB,YAAY,KAAK,aAAa,UAAU;AAAA,IAC1C;AAEA,eAAW,SAAS,KAAK;AACvB,+CAAyC,OAAO,SAAS,WAAW;AAAA,EAExE;AACF;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["getDefaultRenderMode","matchArrayGroupName","matchDeepDynamicRouteName","matchDynamicName","matchGroupName","removeSupportedExtensions","getPageExport","validPlatforms","Set","getRoutes","contextModule","options","directoryTree","getDirectoryTree","rootNode","flattenDirectoryTreeToRoutes","ignoreEntryPoints","crawlAndAppendInitialRoutesAndEntryFiles","getExactRoutes","skipGenerated","importMode","process","env","One_ROUTER_IMPORT_MODE","ignoreList","ignore","push","preserveApiRoutes","rootDirectory","files","Map","subdirectories","hasRoutes","isValid","filePath","keys","some","regex","test","meta","getFileMeta","specificity","type","isLayout","renderMode","node","loadRoute","ignoreRequireErrors","contextKey","route","dynamic","children","NODE_ENV","extrapolateGroups","subdirectoryParts","split","slice","directory","part","subDirectory","get","set","layout","existing","Error","getLayoutNode","fileKey","nodes","default","require","DefaultNavigator","generated","appendSitemapRoute","appendNotFoundRoute","pathToRemove","previousLayout","getMostSpecific","internal_stripLoadRoute","newRoute","replace","generateDynamic","routes","values","routeNode","child","key","parts","filename","length","filenameWithoutExtensions","startsWith","_fullname","renderModeFound","match","endsWith","renamedRoute","join","platformExtension","hasPlatformExtension","has","usePlatformRoutes","platformRoutes","platform","RegExp","map","r","getIgnoreList","add","groups","size","group","trim","path","name","deep","notFound","deepDynamicName","dynamicName","filter","getNavOptions","internal","groupName","initialRouteName","find","entryPoints","loaded","unstable_settings","initialRoute","validInitialRoutes"],"sources":["../../src/getRoutes.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SACEC,mBAAA,EACAC,yBAAA,EACAC,gBAAA,EACAC,cAAA,EACAC,yBAAA,QACK;AAEP,SAASC,aAAA,QAAqB;AAyB9B,MAAMC,cAAA,GAAiB,mBAAIC,GAAA,CAAI,CAAC,WAAW,OAAO,UAAU,KAAK,CAAC;AAc3D,SAASC,UACdC,aAAA,EACAC,OAAA,GAAmB,CAAC,GACF;EAClB,MAAMC,aAAA,GAAgBC,gBAAA,CAAiBH,aAAA,EAAeC,OAAO;EAG7D,IAAI,CAACC,aAAA,EACH,OAAO;EAGT,MAAME,QAAA,GAAWC,4BAAA,CAA6BH,aAAA,EAAeD,OAAO;EAEpE,OAAKA,OAAA,CAAQK,iBAAA,IACXC,wCAAA,CAAyCH,QAAA,EAAUH,OAAO,GAGrDG,QAAA;AACT;AAEO,SAASI,eACdR,aAAA,EACAC,OAAA,GAAmB,CAAC,GACF;EAClB,OAAOF,SAAA,CAAUC,aAAA,EAAe;IAC9B,GAAGC,OAAA;IACHQ,aAAA,EAAe;EACjB,CAAC;AACH;AAKA,SAASN,iBAAiBH,aAAA,EAAiCC,OAAA,EAAkB;EAC3E,MAAMS,UAAA,GAAaT,OAAA,CAAQS,UAAA,IAAcC,OAAA,CAAQC,GAAA,CAAIC,sBAAA;IAE/CC,UAAA,GAAuB,CAAC,uBAAuB;EAEjDb,OAAA,CAAQc,MAAA,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AG1D;IAEA,IAAIA,gBAAA,EAAkB;MACpB,MAAMK,YAAA,GAAelF,IAAA,CAAKM,QAAA,CAASwE,IAAA,CAAMvC,KAAA,IAAUA,KAAA,CAAMnC,KAAA,KAAUyE,gBAAgB;MACnF,IAAI,CAACK,YAAA,EAAc;QACjB,MAAMC,kBAAA,GAAqBnF,IAAA,CAAKM,QAAA,CAC7BmE,MAAA,CAAQlC,KAAA,IAAU,CAACA,KAAA,CAAMb,SAAS,EAClCiC,GAAA,CAAKpB,KAAA,IAAU,IAAIA,KAAA,CAAMnC,KAAK,GAAG,EACjC+C,IAAA,CAAK,IAAI;QAEZ,MAAIyB,SAAA,GACI,IAAIzD,KAAA,CACR,UAAUnB,IAAA,CAAKG,UAAU,kCAAkC0E,gBAAgB,iBAAiBD,SAAS,0BAA0BO,kBAAkB,EACnJ,IAEI,IAAIhE,KAAA,CACR,UAAUnB,IAAA,CAAKG,UAAU,kCAAkC0E,gBAAgB,yBAAyBM,kBAAkB,EACxH;MACF;MAGAnF,IAAA,CAAK6E,gBAAA,GAAmBA,gBAAA,EACxBE,WAAA,CAAYlG,IAAA,CAAKqG,YAAA,CAAa/E,UAAU;IAC1C;IAEA,WAAWoC,KAAA,IAASvC,IAAA,CAAKM,QAAA,EACvBlC,wCAAA,CAAyCmE,KAAA,EAAOzE,OAAA,EAASiH,WAAW;EAExE;AACF","ignoreList":[]}
|
1
|
+
{"version":3,"names":["getDefaultRenderMode","matchArrayGroupName","matchDeepDynamicRouteName","matchDynamicName","matchGroupName","removeSupportedExtensions","getPageExport","validPlatforms","Set","getRoutes","contextModule","options","directoryTree","getDirectoryTree","rootNode","flattenDirectoryTreeToRoutes","ignoreEntryPoints","crawlAndAppendInitialRoutesAndEntryFiles","getExactRoutes","skipGenerated","importMode","process","env","One_ROUTER_IMPORT_MODE","ignoreList","ignore","push","preserveApiRoutes","rootDirectory","files","Map","subdirectories","hasRoutes","isValid","filePath","keys","some","regex","test","meta","getFileMeta","specificity","type","isLayout","renderMode","node","loadRoute","ignoreRequireErrors","contextKey","route","dynamic","children","NODE_ENV","extrapolateGroups","subdirectoryParts","split","slice","directory","part","subDirectory","get","set","layout","existing","Error","getLayoutNode","fileKey","nodes","default","require","DefaultNavigator","generated","appendSitemapRoute","appendNotFoundRoute","pathToRemove","previousLayout","getMostSpecific","internal_stripLoadRoute","newRoute","replace","generateDynamic","routes","values","routeNode","child","key","parts","filename","length","filenameWithoutExtensions","startsWith","_fullname","renderModeFound","match","endsWith","renamedRoute","join","platformExtension","hasPlatformExtension","has","usePlatformRoutes","platformRoutes","platform","RegExp","map","r","getIgnoreList","add","groups","size","group","trim","path","name","deep","notFound","deepDynamicName","dynamicName","filter","getNavOptions","internal","groupName","initialRouteName","find","entryPoints","loaded","unstable_settings","initialRoute","validInitialRoutes"],"sources":["../../src/getRoutes.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SACEC,mBAAA,EACAC,yBAAA,EACAC,gBAAA,EACAC,cAAA,EACAC,yBAAA,QACK;AAEP,SAASC,aAAA,QAAqB;AAwB9B,MAAMC,cAAA,GAAiB,mBAAIC,GAAA,CAAI,CAAC,WAAW,OAAO,UAAU,KAAK,CAAC;AAc3D,SAASC,UACdC,aAAA,EACAC,OAAA,GAAmB,CAAC,GACF;EAClB,MAAMC,aAAA,GAAgBC,gBAAA,CAAiBH,aAAA,EAAeC,OAAO;EAG7D,IAAI,CAACC,aAAA,EACH,OAAO;EAGT,MAAME,QAAA,GAAWC,4BAAA,CAA6BH,aAAA,EAAeD,OAAO;EAEpE,OAAKA,OAAA,CAAQK,iBAAA,IACXC,wCAAA,CAAyCH,QAAA,EAAUH,OAAO,GAGrDG,QAAA;AACT;AAEO,SAASI,eACdR,aAAA,EACAC,OAAA,GAAmB,CAAC,GACF;EAClB,OAAOF,SAAA,CAAUC,aAAA,EAAe;IAC9B,GAAGC,OAAA;IACHQ,aAAA,EAAe;EACjB,CAAC;AACH;AAKA,SAASN,iBAAiBH,a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