one 1.1.283 → 1.1.284

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. package/dist/cjs/cleanUrl.js +9 -5
  2. package/dist/cjs/cleanUrl.js.map +1 -1
  3. package/dist/cjs/cleanUrl.native.js +9 -5
  4. package/dist/cjs/cleanUrl.native.js.map +2 -2
  5. package/dist/cjs/createHandleRequest.js +2 -2
  6. package/dist/cjs/createHandleRequest.js.map +1 -1
  7. package/dist/cjs/createHandleRequest.native.js +2 -2
  8. package/dist/cjs/createHandleRequest.native.js.map +2 -2
  9. package/dist/cjs/getRoutes.js +1 -1
  10. package/dist/cjs/getRoutes.native.js +1 -1
  11. package/dist/cjs/getRoutes.native.js.map +1 -1
  12. package/dist/cjs/getURL.js +2 -2
  13. package/dist/cjs/getURL.js.map +1 -1
  14. package/dist/cjs/router/constants.js +2 -3
  15. package/dist/cjs/router/constants.js.map +1 -1
  16. package/dist/cjs/router/constants.native.js +3 -5
  17. package/dist/cjs/router/constants.native.js.map +2 -2
  18. package/dist/cjs/router/router.js +1 -1
  19. package/dist/cjs/router/router.js.map +1 -1
  20. package/dist/cjs/router/router.native.js +2 -3
  21. package/dist/cjs/router/router.native.js.map +1 -1
  22. package/dist/cjs/useLoader.js +1 -1
  23. package/dist/cjs/useLoader.js.map +1 -1
  24. package/dist/cjs/useLoader.native.js +1 -1
  25. package/dist/cjs/useLoader.native.js.map +1 -1
  26. package/dist/cjs/useViteRoutes.js.map +1 -1
  27. package/dist/cjs/useViteRoutes.native.js.map +1 -1
  28. package/dist/cjs/utils/dynamicImport.native.js +1 -1
  29. package/dist/cjs/utils/dynamicImport.native.js.map +1 -1
  30. package/dist/cjs/vite/build.js +1 -1
  31. package/dist/cjs/vite/build.js.map +1 -1
  32. package/dist/cjs/vite/build.native.js +1 -1
  33. package/dist/cjs/vite/build.native.js.map +1 -1
  34. package/dist/esm/cleanUrl.js +10 -5
  35. package/dist/esm/cleanUrl.js.map +1 -1
  36. package/dist/esm/cleanUrl.mjs +13 -6
  37. package/dist/esm/cleanUrl.mjs.map +1 -1
  38. package/dist/esm/cleanUrl.native.js +13 -5
  39. package/dist/esm/cleanUrl.native.js.map +1 -1
  40. package/dist/esm/createHandleRequest.js +2 -1
  41. package/dist/esm/createHandleRequest.js.map +1 -1
  42. package/dist/esm/createHandleRequest.mjs +2 -1
  43. package/dist/esm/createHandleRequest.mjs.map +1 -1
  44. package/dist/esm/createHandleRequest.native.js +2 -1
  45. package/dist/esm/createHandleRequest.native.js.map +1 -1
  46. package/dist/esm/getRoutes.js +1 -1
  47. package/dist/esm/getRoutes.mjs +1 -1
  48. package/dist/esm/getRoutes.mjs.map +1 -1
  49. package/dist/esm/getRoutes.native.js +1 -1
  50. package/dist/esm/getURL.js +1 -1
  51. package/dist/esm/getURL.js.map +1 -1
  52. package/dist/esm/getURL.mjs +1 -1
  53. package/dist/esm/getURL.mjs.map +1 -1
  54. package/dist/esm/router/constants.js +2 -3
  55. package/dist/esm/router/constants.js.map +1 -1
  56. package/dist/esm/router/constants.mjs +2 -3
  57. package/dist/esm/router/constants.mjs.map +1 -1
  58. package/dist/esm/router/constants.native.js +2 -3
  59. package/dist/esm/router/constants.native.js.map +1 -1
  60. package/dist/esm/router/router.js +1 -1
  61. package/dist/esm/router/router.js.map +1 -1
  62. package/dist/esm/router/router.mjs +1 -1
  63. package/dist/esm/router/router.mjs.map +1 -1
  64. package/dist/esm/router/router.native.js +3 -5
  65. package/dist/esm/router/router.native.js.map +1 -1
  66. package/dist/esm/useLoader.js +1 -1
  67. package/dist/esm/useLoader.js.map +1 -1
  68. package/dist/esm/useLoader.mjs +1 -1
  69. package/dist/esm/useLoader.mjs.map +1 -1
  70. package/dist/esm/useLoader.native.js +1 -1
  71. package/dist/esm/useLoader.native.js.map +1 -1
  72. package/dist/esm/useViteRoutes.js.map +1 -1
  73. package/dist/esm/useViteRoutes.mjs.map +1 -1
  74. package/dist/esm/useViteRoutes.native.js.map +1 -1
  75. package/dist/esm/utils/dynamicImport.native.js +1 -1
  76. package/dist/esm/utils/dynamicImport.native.js.map +1 -1
  77. package/dist/esm/vite/build.js +1 -1
  78. package/dist/esm/vite/build.js.map +1 -1
  79. package/dist/esm/vite/build.mjs +1 -1
  80. package/dist/esm/vite/build.mjs.map +1 -1
  81. package/dist/esm/vite/build.native.js +1 -1
  82. package/dist/esm/vite/build.native.js.map +1 -1
  83. package/package.json +5 -5
  84. package/src/cleanUrl.ts +17 -6
  85. package/src/createHandleRequest.ts +2 -5
  86. package/src/getRoutes.ts +1 -1
  87. package/src/getURL.ts +4 -1
  88. package/src/router/constants.ts +0 -5
  89. package/src/router/router.ts +6 -2
  90. package/src/useLoader.ts +2 -1
  91. package/src/useViteRoutes.tsx +0 -2
  92. package/src/utils/dynamicImport.ts +1 -1
  93. package/src/vite/build.ts +1 -1
  94. package/types/cleanUrl.d.ts +2 -2
  95. package/types/cleanUrl.d.ts.map +1 -1
  96. package/types/createHandleRequest.d.ts.map +1 -1
  97. package/types/getURL.d.ts.map +1 -1
  98. package/types/router/constants.d.ts +0 -1
  99. package/types/router/constants.d.ts.map +1 -1
  100. package/types/router/router.d.ts.map +1 -1
  101. package/types/useLoader.d.ts.map +1 -1
  102. package/types/useViteRoutes.d.ts.map +1 -1
@@ -19,7 +19,7 @@ __export(dynamicImport_exports, {
19
19
  });
20
20
  module.exports = __toCommonJS(dynamicImport_exports);
21
21
  var dynamicImport = function(path) {
22
- return console.warn("dynamicImport TODO", path), require(path);
22
+ return console.info("dynamicImport TODO", path), require(path);
23
23
  };
24
24
  // Annotate the CommonJS export names for ESM import in node:
25
25
  0 && (module.exports = {
@@ -2,5 +2,5 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/utils/Users/n8/vxrn/packages/one/src/utils/dynamicImport.ts"],
4
4
  "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAEO,IAAMA,gBAAgB,SAACC,MAAAA;AAI1BC,iBAAQC,KAAK,sBAAsBF,IAAAA,GAC5BG,QAAQH,IAAAA;AASnB;",
5
- "names": ["dynamicImport", "path", "console", "warn", "require"]
5
+ "names": ["dynamicImport", "path", "console", "info", "require"]
6
6
  }
@@ -25,7 +25,7 @@ __export(build_exports, {
25
25
  build: () => build
26
26
  });
27
27
  module.exports = __toCommonJS(build_exports);
28
- var import_fs_extra = __toESM(require("fs-extra"), 1), import_micromatch = __toESM(require("micromatch"), 1), import_node_module = require("node:module"), import_node_path = __toESM(require("node:path"), 1), import_rollup_plugin_node_externals = require("rollup-plugin-node-externals"), import_vite = require("vite"), import_vxrn = require("vxrn"), import_getManifest = require("./getManifest"), import_one = require("./one"), import_replaceLoader = require("./replaceLoader"), import_cleanUrl = require("../cleanUrl");
28
+ var import_fs_extra = __toESM(require("fs-extra"), 1), import_micromatch = __toESM(require("micromatch"), 1), import_node_module = require("node:module"), import_node_path = __toESM(require("node:path"), 1), import_rollup_plugin_node_externals = require("rollup-plugin-node-externals"), import_vite = require("vite"), import_vxrn = require("vxrn"), import_cleanUrl = require("../cleanUrl"), import_getManifest = require("./getManifest"), import_one = require("./one"), import_replaceLoader = require("./replaceLoader");
29
29
  const import_meta = {}, { ensureDir, readFile, outputFile } = import_fs_extra.default;
30
30
  process.on("uncaughtException", (err) => {
31
31
  console.error(err?.message || err);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/vite/build.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAAoB,iCACpB,oBAAuB,mCACvB,qBAA8B,wBAC9B,mBAAqC,kCAErC,sCAA8B,yCAC9B,cAAmE,iBACnE,cAA2F,iBAG3F,qBAA4B,0BAC5B,aAAmC,kBACnC,uBAA8B,4BAE9B,kBAAwD;AAdxD,wBAgBM,EAAE,WAAW,UAAU,WAAW,IAAI,gBAAAA;AAE5C,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,UAAQ,MAAM,KAAK,WAAW,GAAG;AACnC,CAAC;AAED,eAAsB,MA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AAE,GAE9D,IAAI,OAAO,IAAI,CAAC;AAAA,IACzB;AACA,WAAO,IAAI,SACR,MAAM,GAAG,EACT,IAAI,CAAC,SAAS;AACb,UAAI,KAAK,CAAC,MAAM,KAAK;AACnB,cAAM,QAAQ,OAAO,KAAK,MAAM,GAAG,KAAK,SAAS,CAAC,CAAC;AACnD,YAAI,CAAC,OAAO;AACV,cAAI;AACF,kBAAM,IAAI;AAAA,cACR;AAAA;AAAA,0BAEU,IAAI;AAAA,0BACJ,IAAI;AAAA,8BACA,QAAQ;AAAA;AAAA;AAAA,IAGlC,KAAK,UAAU,QAAQ,MAAM,CAAC,CAAC;AAAA,YACrB;AAGF,iBAAO,MAAM,KAAK,QAAQ,KAAK,EAAE,EAAE,QAAQ,KAAK,EAAE;AAAA,QACpD;AACA,eAAO;AAAA,MACT;AACA,aAAO;AAAA,IACT,CAAC,EACA,KAAK,GAAG,CAAC;AAAA,EACd,GAAG;AAEH,SAAO,GAAG,OAAO,GAAG,cAAc,GAAG,QAAQ,WAAW,GAAG;AAC7D;AAEA,SAAS,YAAY,QAAgB;AACnC,SAAO,OAAO,QAAQ,uBAAuB,MAAM;AACrD;AAEA,SAAS,wBAAwB,MAAgB;AAM/C,QAAM,eAAe,oBAJC,KAAK,IAAI,CAAC,QAAQ,YAAY,GAAG,CAAC,EAEjB,KAAK,GAAG,CAEU;AACzD,SAAO,IAAI,OAAO,YAAY;AAChC;",
5
5
  "names": ["FSExtra", "vxrnBuild", "Path", "viteBuild", "MicroMatch", "file"]
6
6
  }
@@ -26,7 +26,7 @@ __export(build_exports, {
26
26
  build: () => build
27
27
  });
28
28
  module.exports = __toCommonJS(build_exports);
29
- var import_fs_extra = __toESM(require("fs-extra"), 1), import_micromatch = __toESM(require("micromatch"), 1), import_node_module = require("node:module"), import_node_path = __toESM(require("node:path"), 1), import_rollup_plugin_node_externals = require("rollup-plugin-node-externals"), import_vite = require("vite"), import_vxrn = require("vxrn"), import_getManifest = require("./getManifest"), import_one = require("./one"), import_replaceLoader = require("./replaceLoader"), import_cleanUrl = require("../cleanUrl");
29
+ var import_fs_extra = __toESM(require("fs-extra"), 1), import_micromatch = __toESM(require("micromatch"), 1), import_node_module = require("node:module"), import_node_path = __toESM(require("node:path"), 1), import_rollup_plugin_node_externals = require("rollup-plugin-node-externals"), import_vite = require("vite"), import_vxrn = require("vxrn"), import_cleanUrl = require("../cleanUrl"), import_getManifest = require("./getManifest"), import_one = require("./one"), import_replaceLoader = require("./replaceLoader");
30
30
  const import_meta = {};
31
31
  var { ensureDir, readFile, outputFile } = import_fs_extra.default;
32
32
  process.on("uncaughtException", function(err) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/vite/Users/n8/vxrn/packages/one/src/vite/build.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;sBAAoB,iCACpB,oBAAuB,mCACvB,qBAA8B,wBAC9B,mBAAqC,kCAErC,sCAA8B,yCAC9B,cAAmE,iBACnE,cAA2F,iBAG3F,qBAA4B,0BAC5B,aAAmC,kBACnC,uBAA8B,4BAE9B,kBAAwD;AAdxD;AAgBA,IAAM,EAAEA,WAAWC,UAAUC,WAAU,IAAKC,gBAAAA;AAE5CC,QAAQC,GAAG,qBAAqB,SAACC,KAAAA;AAC/BC,UAAQC,OAAMF,OAAAA,OAAAA,SAAAA,IAAKG,YAAWH,GAAAA;AAChC,CAAA;AAEA,eAAsBI,MAAMC,MAG3B;MAE4BC,2BAAAA,oBA+dVA,kBAA2BC,iBAhetCD,cAAc,UAAME,+BAAmB,OAAA,GAClBF,wCAArBG,sBAAqBH,0CAAAA,qBAAAA,YAAYF,WAAK,QAAjBE,uBAAAA,WAAAA,4BAAAA,mBAAmBI,YAAM,QAAzBJ,8BAAAA,SAAAA,SAAAA,0BAA2BK,kBAAY,QAAvCL,2CAAAA,SAAAA,yCAA2C;AAGtER,UAAQc,IAAIC,gBAAgB,KAEvBf,QAAQc,IAAIE,kBACfb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KAAKjL,IAAI,SAACmL,KAAAA;WAAQJ,YAAYI,GAAAA;MAE9CC,mBAAmBF,cAAcrK,KAAK,GAAA,GAEtCwK,eAAe,oBAAoBD,gBAAAA;AACzC,SAAO,IAAIE,OAAOD,YAAAA;AACpB;",
5
5
  "names": ["ensureDir", "readFile", "outputFile", "FSExtra", "process", "on", "err", "console", "error", "message", "build", "args", "userOptions", "options", "loadUserOneOptions", "serverOutputFormat", "server", "outputFormat", "env", "VXRN_REACT_19", "ONE_SERVER_URL", "warn", "vxrnOutput", "vxrnBuild", "analyze", "fillOptions", "toAbsolute", "p", "Path", "resolve", "root", "manifest", "getManifest", "optimizeDeps", "getOptimizeDeps", "apiBuildConfig", "mergeConfig", "webBuildConfig", "configFile", "appType", "apiRoutes", "length", "info", "processEnvDefines", "Object", "fromEntries", "entries", "map", "key", "value", "JSON", "stringify", "apiRouteExternalRegex", "buildRegexExcludingDeps", "include", "apiEntryPoints", "reduce", "page", "file", "slice", "join", "apiOutputFormat", "api", "viteBuild", "plugins", "nodeExternals", "exclude", "define", "ssr", "noExternal", "external", "emptyOutDir", "outDir", "copyPublicDir", "minify", "rollupOptions", "treeshake", "moduleSideEffects", "preserveEntrySignatures", "input", "output", "entryFileNames", "exports", "format", "esModule", "chunkInfo", "name", "replace", "chunkFileNames", "dir", "dirname", "basename", "extname", "assetFileNames", "assetInfo", "baseName", "ext", "globalThis", "createRequire", "url", "assets", "builtRoutes", "render", "entryServer", "serverEntry", "serverImport", "default", "exit", "staticDir", "clientDir", "outputEntries", "serverOutput", "index", "foundRoute", "exported", "type", "push", "id", "facadeModuleId", "includes", "relativeId", "relative", "cwd", "onlyBuild", "buildArgs", "only", "MicroMatch", "contains", "clientManifestKey", "keys", "clientManifest", "find", "endsWith", "clientManifestEntry", "findMatchingRoute", "route", "pageRoutes", "startsWith", "collectImports", "imports", "css", "Set", "flatMap", "found", "flat", "filter", "x", "entryImports", "layoutEntries", "layouts", "layout", "clientKey", "contextKey", "layoutImports", "entry", "preloadSetupFilePreloads", "setupFile", "needle", "preloads", "path", "allEntries", "allCSS", "DEBUG", "serverJsPath", "fileName", "Error", "cause", "generateStaticParams", "paramsList", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "params", "cleanId", "getPathnameFromFilePath", "htmlPath", "removeTrailingSlash", "clientJsPath", "htmlOutPath", "loaderData", "cleanPath", "preloadPath", "getPreloadPath", "writeFile", "preload", "loaderProps", "loader", "code", "withLoader", "replaceLoader", "loaderPartialPath", "getLoaderPath", "html", "errMsg", "stack", "moveAllFiles", "rm", "force", "recursive", "routeMap", "acc", "buildInfoForWriting", "buildInfo", "writeJSON", "postBuildLogs", "platform", "web", "deploy", "afterBuild", "VXRN_ANALYZE_BUNDLE", "forEach", "log", "src", "dest", "copy", "overwrite", "errorOnExist", "strict", "nameWithParams", "part", "split", "escapeRegex", "string", "deps", "sanitizedDeps", "dep", "exclusionPattern", "regexPattern", "RegExp"]
6
6
  }
@@ -1,18 +1,23 @@
1
- import { CACHE_KEY, CLIENT_BASE_URL } from "./router/constants";
1
+ import { getURL } from "./getURL";
2
+ import { CACHE_KEY } from "./router/constants";
2
3
  import { removeSearch } from "./utils/removeSearch";
3
4
  function cleanUrl(path) {
4
5
  return removeSearch(path).replaceAll("/", "_").replace(/_$/, "");
5
6
  }
6
- const clientSideSearch = typeof window < "u" ? `?cache=${CACHE_KEY}` : "", clientSideURL = typeof window < "u" ? CLIENT_BASE_URL : "";
7
+ const isClient = typeof window < "u", clientSideSearch = isClient ? `?cache=${CACHE_KEY}` : "", clientSideURL = isClient ? getURL() : "";
7
8
  function getPreloadPath(currentPath) {
8
9
  return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
9
10
  }
10
- function getLoaderPath(currentPath) {
11
- return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_vxrn_loader.js${clientSideSearch}`;
11
+ function getLoaderPath(currentPath, includeUrl = isClient) {
12
+ const baseURL = includeUrl ? getURL() : "", devPath = process.env.NODE_ENV === "development" ? "/_one" : "";
13
+ return `${baseURL}${devPath}/assets/${cleanUrl(currentPath.slice(1))}_vxrn_loader.js${clientSideSearch}`;
14
+ }
15
+ function getPathFromLoaderPath(loaderPath) {
16
+ return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
12
17
  }
13
18
  export {
14
- cleanUrl,
15
19
  getLoaderPath,
20
+ getPathFromLoaderPath,
16
21
  getPreloadPath
17
22
  };
18
23
  //# sourceMappingURL=cleanUrl.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/cleanUrl.ts"],
4
- "mappings": "AAAA,SAAS,WAAW,uBAAuB;AAC3C,SAAS,oBAAoB;AAEtB,SAAS,SAAS,MAAc;AACrC,SACE,aAAa,IAAI,EACd,WAAW,KAAK,GAAG,EAEnB,QAAQ,MAAM,EAAE;AAEvB;AAEA,MAAM,mBAAmB,OAAO,SAAW,MAAc,UAAU,SAAS,KAAK,IAC3E,gBAAgB,OAAO,SAAW,MAAc,kBAAkB;AAEjE,SAAS,eAAe,aAAqB;AAClD,SAAO,GAAG,aAAa,WAAW,SAAS,YAAY,MAAM,CAAC,CAAC,CAAC,cAAc,gBAAgB;AAChG;AAEO,SAAS,cAAc,aAAqB;AACjD,SAAO,GAAG,aAAa,WAAW,SAAS,YAAY,MAAM,CAAC,CAAC,CAAC,kBAAkB,gBAAgB;AACpG;",
4
+ "mappings": "AAAA,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAC1B,SAAS,oBAAoB;AAE7B,SAAS,SAAS,MAAc;AAC9B,SACE,aAAa,IAAI,EACd,WAAW,KAAK,GAAG,EAEnB,QAAQ,MAAM,EAAE;AAEvB;AAEA,MAAM,WAAW,OAAO,SAAW,KAC7B,mBAAmB,WAAW,UAAU,SAAS,KAAK,IACtD,gBAAgB,WAAW,OAAO,IAAI;AAErC,SAAS,eAAe,aAAqB;AAClD,SAAO,GAAG,aAAa,WAAW,SAAS,YAAY,MAAM,CAAC,CAAC,CAAC,cAAc,gBAAgB;AAChG;AAEO,SAAS,cAAc,aAAqB,aAAa,UAAU;AACxE,QAAM,UAAU,aAAa,OAAO,IAAI,IAClC,UAAU,QAAQ,IAAI,aAAa,gBAAgB,UAAU;AACnE,SAAO,GAAG,OAAO,GAAG,OAAO,WAAW,SAAS,YAAY,MAAM,CAAC,CAAC,CAAC,kBAAkB,gBAAgB;AACxG;AAEO,SAAS,sBAAsB,YAAoB;AACxD,SAAO,WACJ,QAAQ,mBAAmB,EAAE,EAC7B,QAAQ,sBAAsB,EAAE,EAChC,QAAQ,KAAK,GAAG;AACrB;",
5
5
  "names": []
6
6
  }
@@ -1,15 +1,22 @@
1
- import { CACHE_KEY, CLIENT_BASE_URL } from "./router/constants.mjs";
1
+ import { getURL } from "./getURL.mjs";
2
+ import { CACHE_KEY } from "./router/constants.mjs";
2
3
  import { removeSearch } from "./utils/removeSearch.mjs";
3
4
  function cleanUrl(path) {
4
5
  return removeSearch(path).replaceAll("/", "_").replace(/_$/, "");
5
6
  }
6
- const clientSideSearch = typeof window < "u" ? `?cache=${CACHE_KEY}` : "",
7
- clientSideURL = typeof window < "u" ? CLIENT_BASE_URL : "";
7
+ const isClient = typeof window < "u",
8
+ clientSideSearch = isClient ? `?cache=${CACHE_KEY}` : "",
9
+ clientSideURL = isClient ? getURL() : "";
8
10
  function getPreloadPath(currentPath) {
9
11
  return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
10
12
  }
11
- function getLoaderPath(currentPath) {
12
- return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_vxrn_loader.js${clientSideSearch}`;
13
+ function getLoaderPath(currentPath, includeUrl = isClient) {
14
+ const baseURL = includeUrl ? getURL() : "",
15
+ devPath = process.env.NODE_ENV === "development" ? "/_one" : "";
16
+ return `${baseURL}${devPath}/assets/${cleanUrl(currentPath.slice(1))}_vxrn_loader.js${clientSideSearch}`;
13
17
  }
14
- export { cleanUrl, getLoaderPath, getPreloadPath };
18
+ function getPathFromLoaderPath(loaderPath) {
19
+ return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
20
+ }
21
+ export { getLoaderPath, getPathFromLoaderPath, getPreloadPath };
15
22
  //# sourceMappingURL=cleanUrl.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["CACHE_KEY","CLIENT_BASE_URL","removeSearch","cleanUrl","path","replaceAll","replace","clientSideSearch","window","clientSideURL","getPreloadPath","currentPath","slice","getLoaderPath"],"sources":["../../src/cleanUrl.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,SAAA,EAAWC,eAAA,QAAuB;AAC3C,SAASC,YAAA,QAAoB;AAEtB,SAASC,SAASC,IAAA,EAAc;EACrC,OACEF,YAAA,CAAaE,IAAI,EACdC,UAAA,CAAW,KAAK,GAAG,EAEnBC,OAAA,CAAQ,MAAM,EAAE;AAEvB;AAEA,MAAMC,gBAAA,GAAmB,OAAOC,MAAA,GAAW,MAAc,UAAUR,SAAS,KAAK;EAC3ES,aAAA,GAAgB,OAAOD,MAAA,GAAW,MAAcP,eAAA,GAAkB;AAEjE,SAASS,eAAeC,WAAA,EAAqB;EAClD,OAAO,GAAGF,aAAa,WAAWN,QAAA,CAASQ,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,cAAcL,gBAAgB;AAChG;AAEO,SAASM,cAAcF,WAAA,EAAqB;EACjD,OAAO,GAAGF,aAAa,WAAWN,QAAA,CAASQ,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,kBAAkBL,gBAAgB;AACpG","ignoreList":[]}
1
+ {"version":3,"names":["getURL","CACHE_KEY","removeSearch","cleanUrl","path","replaceAll","replace","isClient","window","clientSideSearch","clientSideURL","getPreloadPath","currentPath","slice","getLoaderPath","includeUrl","baseURL","devPath","process","env","NODE_ENV","getPathFromLoaderPath","loaderPath"],"sources":["../../src/cleanUrl.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,MAAA,QAAc;AACvB,SAASC,SAAA,QAAiB;AAC1B,SAASC,YAAA,QAAoB;AAE7B,SAASC,SAASC,IAAA,EAAc;EAC9B,OACEF,YAAA,CAAaE,IAAI,EACdC,UAAA,CAAW,KAAK,GAAG,EAEnBC,OAAA,CAAQ,MAAM,EAAE;AAEvB;AAEA,MAAMC,QAAA,GAAW,OAAOC,MAAA,GAAW;EAC7BC,gBAAA,GAAmBF,QAAA,GAAW,UAAUN,SAAS,KAAK;EACtDS,aAAA,GAAgBH,QAAA,GAAWP,MAAA,CAAO,IAAI;AAErC,SAASW,eAAeC,WAAA,EAAqB;EAClD,OAAO,GAAGF,aAAa,WAAWP,QAAA,CAASS,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,cAAcJ,gBAAgB;AAChG;AAEO,SAASK,cAAcF,WAAA,EAAqBG,UAAA,GAAaR,QAAA,EAAU;EACxE,MAAMS,OAAA,GAAUD,UAAA,GAAaf,MAAA,CAAO,IAAI;IAClCiB,OAAA,GAAUC,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,gBAAgB,UAAU;EACnE,OAAO,GAAGJ,OAAO,GAAGC,OAAO,WAAWd,QAAA,CAASS,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,kBAAkBJ,gBAAgB;AACxG;AAEO,SAASY,sBAAsBC,UAAA,EAAoB;EACxD,OAAOA,UAAA,CACJhB,OAAA,CAAQ,mBAAmB,EAAE,EAC7BA,OAAA,CAAQ,sBAAsB,EAAE,EAChCA,OAAA,CAAQ,KAAK,GAAG;AACrB","ignoreList":[]}
@@ -1,15 +1,23 @@
1
- import { CACHE_KEY, CLIENT_BASE_URL } from "./router/constants.native.js";
1
+ import { getURL } from "./getURL.native.js";
2
+ import { CACHE_KEY } from "./router/constants.native.js";
2
3
  import { removeSearch } from "./utils/removeSearch.native.js";
3
4
  function cleanUrl(path) {
4
5
  return removeSearch(path).replaceAll("/", "_").replace(/_$/, "");
5
6
  }
6
- var clientSideSearch = typeof window < "u" ? `?cache=${CACHE_KEY}` : "",
7
- clientSideURL = typeof window < "u" ? CLIENT_BASE_URL : "";
7
+ var isClient = typeof window < "u",
8
+ clientSideSearch = isClient ? `?cache=${CACHE_KEY}` : "",
9
+ clientSideURL = isClient ? getURL() : "";
8
10
  function getPreloadPath(currentPath) {
9
11
  return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_preload.js${clientSideSearch}`;
10
12
  }
11
13
  function getLoaderPath(currentPath) {
12
- return `${clientSideURL}/assets/${cleanUrl(currentPath.slice(1))}_vxrn_loader.js${clientSideSearch}`;
14
+ var includeUrl = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : isClient,
15
+ baseURL = includeUrl ? getURL() : "",
16
+ devPath = process.env.NODE_ENV === "development" ? "/_one" : "";
17
+ return `${baseURL}${devPath}/assets/${cleanUrl(currentPath.slice(1))}_vxrn_loader.js${clientSideSearch}`;
13
18
  }
14
- export { cleanUrl, getLoaderPath, getPreloadPath };
19
+ function getPathFromLoaderPath(loaderPath) {
20
+ return loaderPath.replace("_vxrn_loader.js", "").replace(/^(\/_one)?\/assets/, "").replace("_", "/");
21
+ }
22
+ export { getLoaderPath, getPathFromLoaderPath, getPreloadPath };
15
23
  //# sourceMappingURL=cleanUrl.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["CACHE_KEY","CLIENT_BASE_URL","removeSearch","cleanUrl","path","replaceAll","replace","clientSideSearch","window","clientSideURL","getPreloadPath","currentPath","slice","getLoaderPath"],"sources":["../../src/cleanUrl.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,SAAA,EAAWC,eAAA,QAAuB;AAC3C,SAASC,YAAA,QAAoB;AAEtB,SAASC,SAASC,IAAA,EAAc;EACrC,OACEF,YAAA,CAAaE,IAAI,EACdC,UAAA,CAAW,KAAK,GAAG,EAEnBC,OAAA,CAAQ,MAAM,EAAE;AAEvB;AAEA,IAAAC,gBAAM,UAAmBC,MAAO,MAAW,aAAcR,SAAU,EAAS,KAAK;EAAAS,aAC3E,UAAgBD,MAAO,MAAW,GAAAP,eAAc,KAAkB;AAEjE,SAASS,eAAeC,WAAA,EAAqB;EAClD,OAAO,GAAGF,aAAa,WAAWN,QAAA,CAASQ,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,cAAcL,gBAAgB;AAChG;AAEO,SAASM,cAAcF,WAAA,EAAqB;EACjD,OAAO,GAAGF,aAAa,WAAWN,QAAA,CAASQ,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,kBAAkBL,gBAAgB;AACpG","ignoreList":[]}
1
+ {"version":3,"names":["getURL","CACHE_KEY","removeSearch","cleanUrl","path","replaceAll","replace","isClient","window","clientSideSearch","clientSideURL","getPreloadPath","currentPath","slice","getLoaderPath","includeUrl","arguments","length","baseURL","devPath","process","env","NODE_ENV","getPathFromLoaderPath","loaderPath"],"sources":["../../src/cleanUrl.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,MAAA,QAAc;AACvB,SAASC,SAAA,QAAiB;AAC1B,SAASC,YAAA,QAAoB;AAE7B,SAASC,SAASC,IAAA,EAAc;EAC9B,OACEF,YAAA,CAAaE,IAAI,EACdC,UAAA,CAAW,KAAK,GAAG,EAEnBC,OAAA,CAAQ,MAAM,EAAE;AAEvB;AAEA,IAAAC,QAAM,UAAWC,MAAO,MAAW;EAAAC,gBAC7B,GAAAF,QAAmB,aAAWN,SAAU,EAAS,KAAK;EAAAS,aACtD,GAAAH,QAAgB,GAAAP,MAAW,KAAO,EAAI;AAErC,SAASW,eAAeC,WAAA,EAAqB;EAClD,OAAO,GAAGF,aAAa,WAAWP,QAAA,CAASS,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,cAAcJ,gBAAgB;AAChG;AAEO,SAASK,cAAcF,WAAA,EAAqB;EACjD,IAAAG,UAAM,GAAUC,SAAA,CAAAC,MAAa,GAAO,KAAID,SAClC,QAAU,KAAQ,IAAIA,SAAA,GAAa,GAAAT,QAAA;IAAAW,OAAgB,GAAAH,UAAU,GAAAf,MAAA;IAAAmB,OAAA,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EACnE,OAAO,GAAGJ,OAAO,GAAGC,OAAO,WAAWhB,QAAA,CAASS,WAAA,CAAYC,KAAA,CAAM,CAAC,CAAC,CAAC,kBAAkBJ,gBAAgB;AACxG;AAEO,SAASc,sBAAsBC,UAAA,EAAoB;EACxD,OAAOA,UAAA,CACJlB,OAAA,CAAQ,mBAAmB,EAAE,EAC7BA,OAAA,CAAQ,sBAAsB,EAAE,EAChCA,OAAA,CAAQ,KAAK,GAAG;AACrB","ignoreList":[]}
@@ -1,3 +1,4 @@
1
+ import { getPathFromLoaderPath } from "./cleanUrl";
1
2
  import { isResponse } from "./utils/isResponse";
2
3
  import { promiseWithResolvers } from "./utils/promiseWithResolvers";
3
4
  import { getManifest } from "./vite/getManifest";
@@ -46,7 +47,7 @@ function createHandleRequest(options, handlers) {
46
47
  if (request.method !== "GET")
47
48
  return null;
48
49
  if (handlers.handleLoader && pathname.endsWith("_vxrn_loader.js")) {
49
- const originalUrl = pathname.replace("_vxrn_loader.js", "").replace(/^\/assets/, "").replace("_", "/"), finalUrl = new URL(originalUrl, url.origin);
50
+ const originalUrl = getPathFromLoaderPath(pathname), finalUrl = new URL(originalUrl, url.origin);
50
51
  for (const route of pageRoutes) {
51
52
  if (!route.workingRegex.test(finalUrl.pathname))
52
53
  continue;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/createHandleRequest.ts"],
4
- "mappings": "AACA,SAAS,kBAAkB;AAC3B,SAAS,4BAA4B;AACrC,SAAS,mBAAmB;AAYrB,SAAS,oBACd,SACA,UAKA;AACA,MAAI,YAAY;AACd,UAAM,IAAI,MAAM,mDAAmD;AAGrE,QAAM,WAAW,YAAY;AAC7B,MAAI,CAAC;AACH,UAAM,IAAI,M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M,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
  }
@@ -1,3 +1,4 @@
1
+ import { getPathFromLoaderPath } from "./cleanUrl.mjs";
1
2
  import { isResponse } from "./utils/isResponse.mjs";
2
3
  import { promiseWithResolvers } from "./utils/promiseWithResolvers.mjs";
3
4
  import { getManifest } from "./vite/getManifest.mjs";
@@ -48,7 +49,7 @@ function createHandleRequest(options, handlers) {
48
49
  }
49
50
  if (request.method !== "GET") return null;
50
51
  if (handlers.handleLoader && pathname.endsWith("_vxrn_loader.js")) {
51
- const originalUrl = pathname.replace("_vxrn_loader.js", "").replace(/^\/assets/, "").replace("_", "/"),
52
+ const originalUrl = getPathFromLoaderPath(pathname),
52
53
  finalUrl = new URL(originalUrl, url.origin);
53
54
  for (const route of pageRoutes) {
54
55
  if (!route.workingRegex.test(finalUrl.pathname)) continue;
@@ -1 +1 @@
1
- {"version":3,"names":["isResponse","promiseWithResolvers","getManifest","createHandleRequest","options","handlers","import","meta","env","Error","manifest","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","NODE_ENV","startsWith","handleAPI","apiRoute","find","test","params","getRouteParams","loaderProps","path","err","method","handleLoader","endsWith","originalUrl","replace","finalUrl","origin","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":"AACA,SAASA,UAAA,QAAkB;AAC3B,SAASC,oBAAA,QAA4B;AACrC,SAASC,WAAA,QAAmB;AAYrB,SAASC,oBACdC,OAAA,EACAC,QAAA,EAKA;EACA,IAAIC,MAAA,CAAAC,IAAA,CAAYC,GAAA,EACd,MAAM,IAAIC,KAAA,CAAM,mDAAmD;EAGrE,MAAMC,QAAA,GAAWR,WAAA,CAAY;EAC7B,IAAI,CAACQ,QAAA,EACH,MAAM,IAAID,KAAA,CAAM,oBAAoB;EAGtC,MAAME,YAAA,GACJD,QAAA,CAASE,SAAA,CAAUC,MAAA,CAAO,CAACC,GAAA,EAAKC,GAAA,MAC9BD,GAAA,CAAIC,GAAA,CAAIC,IAAI,IAAI;MAAE,GAAGD,GAAA;MAAKE,aAAA,EAAe,IAAIC,MAAA,CAAOH,GAAA,CAAII,UAAU;IAAE,GAC7DL,GAAA,GACN,CAAC,CAAC;IAEDM,aAAA,GAAgBC,MAAA,CAAOC,MAAA,CAAOX,YAAY;IAK1CY,cAAA,GAAiB,CAAC;IAGlBC,UAAA,GAAad,QAAA,CAASc,UAAA,CAAWC,GAAA,CAAKC,KAAA,KAAW;MACrD,GAAGA,KAAA;MACHC,YAAA,EAAc,IAAIT,MAAA,CAAOQ,KAAA,CAAMP,UAAU;IAC3C,EAAE;EAEF,OAAO;IACLT,QAAA;IACAkB,OAAA,EAAS,eAAAA,CAA6BC,OAAA,EAAmD;MACvF,MAAMC,SAAA,GAAYD,OAAA,CAAQE,GAAA,IAAO;QAC3BA,GAAA,GAAM,IAAIC,GAAA,CACdF,SAAA,IAAa,IACbD,OAAA,CAAQI,OAAA,CAAQC,GAAA,CAAI,MAAM,IAAI,UAAUL,OAAA,CAAQI,OAAA,CAAQC,GAAA,CAAI,MAAM,CAAC,KAAK,EAC1E;QACM;UAAEC,QAAA;UAAUC;QAAO,IAA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A,CAAQC,WAAW,GACZA,WAAA;UACT;QACF,SAASpB,GAAA,EAAK;UACZ,MAAAkB,MAAA,CAAOlB,GAAG,GACJA,GAAA;QACR,UAAE;UACA,OAAOzB,cAAA,CAAeY,QAAQ;QAChC;MACF;MAEA,OAAO;IACT;EACF;AACF;AAEA,SAASwB,gBACP5B,GAAA,EACAsC,MAAA,EACA;EACA,MAAMzB,MAAA,GAAiC,CAAC;IAClC0B,KAAA,GAAQ,IAAIpD,MAAA,CAAOmD,MAAA,CAAO1C,YAAY,EAAE4C,IAAA,CAAKxC,GAAA,CAAII,QAAQ;EAC/D,IAAImC,KAAA,EAAOE,MAAA,EACT,WAAW,CAACC,GAAA,EAAKC,KAAK,KAAKrD,MAAA,CAAOsD,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,eAAeV,QAAA,EAAkBT,KAAA,EAA0B;EAElE,MAAM4C,KAAA,GADQ,IAAIpD,MAAA,CAAOQ,KAAA,CAAMP,UAAU,EACrBoD,IAAA,CAAKpC,QAAQ;EACjC,OAAKmC,KAAA,GACEjD,MAAA,CAAOyD,WAAA,CACZzD,MAAA,CAAOsD,OAAA,CAAQjD,KAAA,CAAMmD,SAAS,EAAEpD,GAAA,CAAI,CAAC,CAACgD,GAAA,EAAKC,KAAK,MAAM,CAACA,KAAA,EAAOJ,KAAA,CAAME,MAAA,GAASC,GAAG,CAAC,CAAC,CACpF,IAHmB,CAAC;AAItB","ignoreList":[]}
1
+ {"version":3,"names":["getPathFromLoaderPath","isResponse","promiseWithResolvers","getManifest","createHandleRequest","options","handlers","import","meta","env","Error","manifest","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","NODE_ENV","startsWith","handleAPI","apiRoute","find","test","params","getRouteParams","loaderProps","path","err","method","handleLoader","endsWith","originalUrl","finalUrl","origin","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,IAAIC,MAAA,CAAAC,IAAA,CAAYC,GAAA,EACd,MAAM,IAAIC,KAAA,CAAM,mDAAmD;EAGrE,MAAMC,QAAA,GAAWR,WAAA,CAAY;EAC7B,IAAI,CAACQ,QAAA,EACH,MAAM,IAAID,KAAA,CAAM,oBAAoB;EAGtC,MAAME,YAAA,GACJD,QAAA,CAASE,SAAA,CAAUC,MAAA,CAAO,CAACC,GAAA,EAAKC,GAAA,MAC9BD,GAAA,CAAIC,GAAA,CAAIC,IAAI,IAAI;MAAE,GAAGD,GAAA;MAAKE,aAAA,EAAe,IAAIC,MAAA,CAAOH,GAAA,CAAII,UAAU;IAAE,GAC7DL,GAAA,GACN,CAAC,CAAC;IAEDM,aAAA,GAAgBC,MAAA,CAAOC,MAAA,CAAOX,YAAY;IAK1CY,cAAA,GAAiB,CAAC;IAGlBC,UAAA,GAAad,QAAA,CAASc,UAAA,CAAWC,GAAA,CAAKC,KAAA,KAAW;MACrD,GAAGA,KAAA;MACHC,YAAA,EAAc,IAAIT,MAAA,CAAOQ,KAAA,CAAMP,UAAU;IAC3C,EAAE;EAEF,OAAO;IACLT,QAAA;IACAkB,OAAA,EAAS,eAAAA,CAA6BC,OAAA,EAAmD;MACvF,MAAMC,SAAA,GAAYD,OAAA,CAAQE,GAAA,IAAO;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.js";
1
2
  import { isResponse } from "./utils/isResponse.native.js";
2
3
  import { promiseWithResolvers } from "./utils/promiseWithResolvers.native.js";
3
4
  import { getManifest } from "./vite/getManifest.native.js";
@@ -57,7 +58,7 @@ function createHandleRequest(options, handlers) {
57
58
  if (handlers.handleLoader) {
58
59
  var isClientRequestingNewRoute = pathname.endsWith("_vxrn_loader.js");
59
60
  if (isClientRequestingNewRoute) {
60
- var originalUrl = pathname.replace("_vxrn_loader.js", "").replace(/^\/assets/, "").replace("_", "/"),
61
+ var originalUrl = getPathFromLoaderPath(pathname),
61
62
  finalUrl = new URL(originalUrl, url.origin),
62
63
  _iteratorNormalCompletion = !0,
63
64
  _didIteratorError = !1,
@@ -1 +1 @@
1
- {"version":3,"names":["isResponse","promiseWithResolvers","getManifest","createHandleRequest","options","handlers","import","meta","env","Error","manifest","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","NODE_ENV","startsWith","handleAPI","apiRoute","find","route2","regex","test","params","getRouteParams","loaderProps","path","err","method","handleLoader","isClientRequestingNewRoute","endsWith","originalUrl","replace","finalUrl","origin","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","Symbol","iterator","_step","next","done","value","Headers","set","loaderResponse","getLoaderParams","Response","return","console","error","routes","handleSSR","promise","reject","resolve","_iteratorNormalCompletion1","_didIteratorError1","_iteratorError1","_iterator1","_step1","route1","ssrResponse"],"sources":["../../src/createHandleRequest.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,UAAA,QAAkB;AAC3B,SAASC,oBAAA,QAA4B;AACrC,SAASC,WAAA,QAAmB;AAYrB,SAASC,oBACdC,OAAA,EACAC,QAAA,EAKA;EACA,IAAIC,MAAA,CAAAC,IAAA,CAAYC,GAAA,EACd,MAAM,IAAIC,KAAA,CAAM,mDAAmD;EAGrE,IAAAC,QAAM,GAAAR,WA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;kBACpD;gBAET,CACE;gBACE,OAAQN,OAAM,CAAAO,WAAiB,GAAAA,WAAU;cAF9B;YAItB","ignoreList":[]}
1
+ {"version":3,"names":["getPathFromLoaderPath","isResponse","promiseWithResolvers","getManifest","createHandleRequest","options","handlers","import","meta","env","Error","manifest","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","NODE_ENV","startsWith","handleAPI","apiRoute","find","route2","regex","test","params","getRouteParams","loaderProps","path","err","method","handleLoader","isClientRequestingNewRoute","endsWith","originalUrl","finalUrl","origin","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","Symbol","iterator","_step","next","done","value","Headers","set","loaderResponse","getLoaderParams","Response","return","console","error","routes","handleSSR","promise","reject","resolve","_iteratorNormalCompletion1","_didIteratorError1","_iteratorError1","_iterator1","_step1","route1","ssrResponse"],"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,IAAIC,MAAA,CAAAC,IAAA,CAAYC,GAAA,EACd,MAAM,IAAIC,KAAA,CAAM,mDAAmD;EAGrE,IAAAC,QAAM,GAAAR,WAAW;EACjB,IAAI,CAACQ,QAAA,EACH,MAAM,IAAID,KAAA,CAAM,oBAAoB;EAGtC,IAAAE,YAAM,GAAAD,QACJ,CAAAE,SAAS,CAAAC,MAAU,WAAaC,GAAA,EAAAC,GAC9B;MAaF,OAAGD,GAAA,CAAAC,GAAA,CAAAC,IAAA;QACH,GAAAD,GAAA;QACAE,aAAA,MAAAC,MAAA,CAAAH,GAAA,CAAAI,UAAA;MAEF,GAAAL,GAAO;IAAA,GACL;IAAAM,aAAA,G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C,cAAQ;YAA0B;UACpC;UAGF,OAAAvB,OAAA,CAAA7B,GAAQ,CAAA8B,QAAA,KACD,iBAAAoC,OAAA,CAAAC,KAAA;YACTpB,WAAA;YACFqB,MAAS,EAAAlE,QAAK,CAAAc;UACZ,IAAAgD,QAAA,CAAOG,KAAG,CACJ;QACR;MACE;MAA8B,IAChCtE,QAAA,CAAAwE,SAAA;QACF;UAAAC,OAAA;UAAAC,MAAA;UAAAC;QAAA,IAAA/E,oBAAA;QAEAsB,cAAO,CAAAY,QAAA,IAAA2C,OAAA;QACT;UACF,IAAAG,0BAAA;YAAAC,kBAAA;YAAAC,eAAA;UACF;YAES,SAAAC,UAEP,GAAA5D,UACA,CAAAsC,MAAA,CAAAC,QAAA,KAAAsB,MAAA,IAAAJ,0BAAA,IAAAI,MAAA,GAAAD,UAAA,CAAAnB,IAAA,IAAAC,IAAA,GAAAe,0BAAA;cACM,IAAkCK,MAClC,GAAAD,MAAY,CAAAlB,KAAA;cACP,IAAAmB,MAAA,CAAA3D,YAAA,CAAAkB,IAAA,CAAAV,QAAA;gBACG,IAAAoD,WAAe,SAAOlF,QAAQ,CAAAwE,SAAY;kBAC9ChD,OAAW;kBACVH,KAAQ,EAAI4D,MAAA;kBACrBvD,GAAA;kBAEKiB,WAAA;oBACTC,IAAA,EAAAd,QAAA,GAAAC,MAAA;oBAGSU,MAAe,EAAAyB,eAA4C,CAAAxC,GAAA,EAAAuD,MAAA;kBACpD;gBAET,CACE;gBACE,OAAQN,OAAM,CAAAO,WAAiB,GAAAA,WAAU;cAF9B;YAItB","ignoreList":[]}
@@ -224,7 +224,7 @@ function appendNotFoundRoute(directory) {
224
224
  directory.files.has("+not-found") || directory.files.set("+not-found", [
225
225
  {
226
226
  loadRoute() {
227
- return console.warn("Loading not found"), { default: () => null };
227
+ return console.info("Loading not found"), { default: () => null };
228
228
  },
229
229
  type: "spa",
230
230
  route: "+not-found",
@@ -196,7 +196,7 @@ function appendSitemapRoute(directory) {
196
196
  function appendNotFoundRoute(directory) {
197
197
  directory.files.has("+not-found") || directory.files.set("+not-found", [{
198
198
  loadRoute() {
199
- return console.warn("Loading not found"), {
199
+ return console.info("Loading not found"), {
200
200
  default: () => null
201
201
  };
202
202
  },
@@ -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","console","warn","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,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AAiBD,SAAS,0BAA0BO,kBAAkB,EACnJ,IAEI,IAAIlE,KAAA,CACR,UAAUnB,IAAA,CAAKG,UAAU,kCAAkC4E,gBAAgB,yBAAyBM,kBAAkB,EACxH;MACF;MAGArF,IAAA,CAAK+E,gBAAA,GAAmBA,gBAAA,EACxBE,WAAA,CAAYpG,IAAA,CAAKuG,YAAA,CAAajF,UAAU;IAC1C;IAEA,WAAWoC,KAAA,IAASvC,IAAA,CAAKM,QAAA,EACvBlC,wCAAA,CAAyCmE,KAAA,EAAOzE,OAAA,EAASmH,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","console","info","groupName","initialRouteName","find","entryPoints","loaded","unstable_settings","initialRoute","validIn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U,CAACA,KAAA,CAAMb,SAAS,EAClCiC,GAAA,CAAKpB,KAAA,IAAU,IAAIA,KAAA,CAAMnC,KAAK,GAAG,EACjC+C,IAAA,CAAK,IAAI;QAEZ,MAAI2B,SAAA,GACI,IAAI3D,KAAA,CACR,UAAUnB,IAAA,CAAKG,UAAU,kCAAkC4E,gBAAgB,iBAAiBD,SAAS,0BAA0BO,kBAAkB,EACnJ,IAEI,IAAIlE,KAAA,CACR,UAAUnB,IAAA,CAAKG,UAAU,kCAAkC4E,gBAAgB,yBAAyBM,kBAAkB,EACxH;MACF;MAGArF,IAAA,CAAK+E,gBAAA,GAAmBA,gBAAA,EACxBE,WAAA,CAAYpG,IAAA,CAAKuG,YAAA,CAAajF,UAAU;IAC1C;IAEA,WAAWoC,KAAA,IAASvC,IAAA,CAAKM,QAAA,EACvBlC,wCAAA,CAAyCmE,KAAA,EAAOzE,OAAA,EAASmH,WAAW;EAExE;AACF","ignoreList":[]}
@@ -302,7 +302,7 @@ function appendSitemapRoute(directory) {
302
302
  function appendNotFoundRoute(directory) {
303
303
  directory.files.has("+not-found") || directory.files.set("+not-found", [{
304
304
  loadRoute() {
305
- return console.warn("Loading not found"), {
305
+ return console.info("Loading not found"), {
306
306
  default: function () {
307
307
  return null;
308
308
  }
@@ -1,4 +1,4 @@
1
- import { CLIENT_BASE_URL } from "./router/constants";
1
+ const CLIENT_BASE_URL = typeof window < "u" && window.location ? `${window.location.protocol}//${window.location.host}` : "";
2
2
  function getURL() {
3
3
  return process.env.ONE_SERVER_URL ?? CLIENT_BASE_URL;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/getURL.ts"],
4
- "mappings": "AAAA,SAAS,uBAAuB;AAEzB,SAAS,SAAS;AACvB,SAAO,QAAQ,IAAI,kBAAkB;AACvC;",
4
+ "mappings": "AAAA,MAAM,kBACJ,OAAO,SAAW,OAAe,OAAO,WACpC,GAAG,OAAO,SAAS,QAAQ,KAAK,OAAO,SAAS,IAAI,KACpD;AAEC,SAAS,SAAS;AACvB,SAAO,QAAQ,IAAI,kBAAkB;AACvC;",
5
5
  "names": []
6
6
  }
@@ -1,4 +1,4 @@
1
- import { CLIENT_BASE_URL } from "./router/constants.mjs";
1
+ const CLIENT_BASE_URL = typeof window < "u" && window.location ? `${window.location.protocol}//${window.location.host}` : "";
2
2
  function getURL() {
3
3
  return process.env.ONE_SERVER_URL ?? CLIENT_BASE_URL;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"names":["CLIENT_BASE_URL","getURL","process","env","ONE_SERVER_URL"],"sources":["../../src/getURL.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,eAAA,QAAuB;AAEzB,SAASC,OAAA,EAAS;EACvB,OAAOC,OAAA,CAAQC,GAAA,CAAIC,cAAA,IAAkBJ,eAAA;AACvC","ignoreList":[]}
1
+ {"version":3,"names":["CLIENT_BASE_URL","window","location","protocol","host","getURL","process","env","ONE_SERVER_URL"],"sources":["../../src/getURL.ts"],"sourcesContent":[null],"mappings":"AAAA,MAAMA,eAAA,GACJ,OAAOC,MAAA,GAAW,OAAeA,MAAA,CAAOC,QAAA,GACpC,GAAGD,MAAA,CAAOC,QAAA,CAASC,QAAQ,KAAKF,MAAA,CAAOC,QAAA,CAASE,IAAI,KACpD;AAEC,SAASC,OAAA,EAAS;EACvB,OAAOC,OAAA,CAAQC,GAAA,CAAIC,cAAA,IAAkBR,eAAA;AACvC","ignoreList":[]}
@@ -1,6 +1,5 @@
1
- const CLIENT_BASE_URL = typeof window < "u" && window.location ? `${window.location.protocol}//${window.location.host}` : "", CACHE_KEY = `${Math.random()}`.slice(3);
1
+ const CACHE_KEY = `${Math.random()}`.slice(3);
2
2
  export {
3
- CACHE_KEY,
4
- CLIENT_BASE_URL
3
+ CACHE_KEY
5
4
  };
6
5
  //# sourceMappingURL=constants.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/router/constants.ts"],
4
- "mappings": "AAAO,MAAM,kBACX,OAAO,SAAW,OAAe,OAAO,WACpC,GAAG,OAAO,SAAS,QAAQ,KAAK,OAAO,SAAS,IAAI,KACpD,IAKO,YAAY,GAAG,KAAK,OAAO,CAAC,GAAG,MAAM,CAAC;",
4
+ "mappings": "AAGO,MAAM,YAAY,GAAG,KAAK,OAAO,CAAC,GAAG,MAAM,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,4 +1,3 @@
1
- const CLIENT_BASE_URL = typeof window < "u" && window.location ? `${window.location.protocol}//${window.location.host}` : "",
2
- CACHE_KEY = `${Math.random()}`.slice(3);
3
- export { CACHE_KEY, CLIENT_BASE_URL };
1
+ const CACHE_KEY = `${Math.random()}`.slice(3);
2
+ export { CACHE_KEY };
4
3
  //# sourceMappingURL=constants.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["CLIENT_BASE_URL","window","location","protocol","host","CACHE_KEY","Math","random","slice"],"sources":["../../../src/router/constants.ts"],"sourcesContent":[null],"mappings":"AAAO,MAAMA,eAAA,GACX,OAAOC,MAAA,GAAW,OAAeA,MAAA,CAAOC,QAAA,GACpC,GAAGD,MAAA,CAAOC,QAAA,CAASC,QAAQ,KAAKF,MAAA,CAAOC,QAAA,CAASE,IAAI,KACpD;EAKOC,SAAA,GAAY,GAAGC,IAAA,CAAKC,MAAA,CAAO,CAAC,GAAGC,KAAA,CAAM,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["CACHE_KEY","Math","random","slice"],"sources":["../../../src/router/constants.ts"],"sourcesContent":[null],"mappings":"AAGO,MAAMA,SAAA,GAAY,GAAGC,IAAA,CAAKC,MAAA,CAAO,CAAC,GAAGC,KAAA,CAAM,CAAC","ignoreList":[]}