@fangzhongya/vue-archive 0.0.96 → 0.0.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,12 +58,12 @@ var init_prettier = __esm({
58
58
  }
59
59
  });
60
60
 
61
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
61
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-5PX3AFSC.js
62
62
  function isArray(obj2) {
63
63
  return Object.prototype.toString.call(obj2) == "[object Array]";
64
64
  }
65
65
 
66
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
66
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-A276ZDLP.js
67
67
  function getStartSames(str, val) {
68
68
  let s = "";
69
69
  const vs = [...val];
@@ -79,7 +79,7 @@ function getStartSames(str, val) {
79
79
  return [s, str.substring(index), val.substring(index)];
80
80
  }
81
81
 
82
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-AWC672JW.js
82
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-KDOS4NFR.js
83
83
  function getImportUrl(url, imp) {
84
84
  const arr = getStartSames(url, imp);
85
85
  const ts2 = arr[0];
@@ -87,10 +87,7 @@ function getImportUrl(url, imp) {
87
87
  const regs = ts2.match(/[\\|\/]([^\\|\/]*)$/);
88
88
  if (regs && regs.length > 0) {
89
89
  const a = regs[1];
90
- arr[0] = ts2.substring(
91
- 0,
92
- regs.index + 1
93
- );
90
+ arr[0] = ts2.substring(0, regs.index + 1);
94
91
  arr[1] = a + arr[1];
95
92
  arr[2] = a + arr[2];
96
93
  }
@@ -106,12 +103,12 @@ function getImportUrl(url, imp) {
106
103
  return ds.join("") + arr[2].replace(/\\/g, "/");
107
104
  }
108
105
 
109
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
106
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
110
107
  function firstUpper(str) {
111
108
  return str.slice(0, 1).toUpperCase() + str.slice(1);
112
109
  }
113
110
 
114
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
111
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
115
112
  function lineToLargeHump(name) {
116
113
  let arr = name.split("-");
117
114
  arr = arr.map((vs) => {
@@ -120,7 +117,7 @@ function lineToLargeHump(name) {
120
117
  return arr.join("");
121
118
  }
122
119
 
123
- // node_modules/.pnpm/@fangzhongya+create@0.2.34/node_modules/@fangzhongya/create/dist/chunk-7V2NDMIF.js
120
+ // node_modules/.pnpm/@fangzhongya+create@0.2.41/node_modules/@fangzhongya/create/dist/chunk-RFW66U5U.js
124
121
  import {
125
122
  open,
126
123
  readdir,
@@ -135,7 +132,7 @@ import {
135
132
  } from "fs";
136
133
  import { join } from "path";
137
134
  function getUrlCatalogueObj(str) {
138
- const reg = /(\\|\/)([^\\|\/]+)\.([a-z|A-Z]+)$/g;
135
+ const reg = /(\\|\/)([^\\|\/]+)\.([a-z|A-Z][a-z|A-Z|0-9]*)$/g;
139
136
  const ml = str.replace(reg, "");
140
137
  let name = "";
141
138
  let suffix = "";
@@ -390,7 +387,7 @@ function writeFileUrl(url, files, callback, isDirs, isFile, issynch) {
390
387
  });
391
388
  }
392
389
 
393
- // node_modules/.pnpm/@fangzhongya+create@0.2.34/node_modules/@fangzhongya/create/dist/chunk-PXLSY3ZR.js
390
+ // node_modules/.pnpm/@fangzhongya+create@0.2.41/node_modules/@fangzhongya/create/dist/chunk-O3FMXCTC.js
394
391
  import { resolve, join as join2 } from "path";
395
392
  function styleLog(msg = "", obj2) {
396
393
  const arr = ["\x1B[0m"];
@@ -421,7 +418,7 @@ function styleLog(msg = "", obj2) {
421
418
  return arr.join("");
422
419
  }
423
420
  function getSuffix(url) {
424
- const reg = /\.([a-z|A-Z]+)$/;
421
+ const reg = /\.([a-z|A-Z][a-z|A-Z|0-9]*)$/;
425
422
  const regs = reg.exec(url);
426
423
  if (regs && regs.length > 0) {
427
424
  return regs[1];
@@ -465,7 +462,7 @@ function matchsStart(key, matchs) {
465
462
  }
466
463
  }
467
464
  function getUrlCatalogue(str) {
468
- const reg = /((\\|\/)([^\\|\/]+)(\.[a-z|A-Z]+))?$/g;
465
+ const reg = /((\\|\/)([^\\|\/]+)(\.[a-z|A-Z][a-z|A-Z|0-9]*))?$/g;
469
466
  return str.replace(reg, "");
470
467
  }
471
468
  var defaultSuffixReg = /\\.[a-z|A-Z]+$/;
@@ -593,14 +590,14 @@ var FangCom = class {
593
590
  }
594
591
  isForceUpdate(url) {
595
592
  if (this.config.forceUpdate && this.config.forceUpdate.length > 0) {
596
- return matchsEnd(url, this.config.forceUpdate);
593
+ return matchsEnd(url.replace(/\\/g, "/"), this.config.forceUpdate);
597
594
  } else {
598
595
  return false;
599
596
  }
600
597
  }
601
598
  isMatchFile(url, name) {
602
599
  const dirUrl = this.getDirUrl();
603
- const dir = join2(url, name).replace(dirUrl, "");
600
+ const dir = join2(url, name).replace(dirUrl, "").replace(/\\/g, "/");
604
601
  const is = matchsEnd(dir, this.config.matchexts);
605
602
  const nomatchexts = this.config.nomatchexts;
606
603
  if (is && nomatchexts && nomatchexts.length > 0) {
@@ -615,7 +612,7 @@ var FangCom = class {
615
612
  }
616
613
  isMatchDir(url, name) {
617
614
  const dirUrl = this.getDirUrl();
618
- const dir = join2(url, name).replace(dirUrl, "");
615
+ const dir = join2(url, name).replace(dirUrl, "").replace(/\\/g, "/");
619
616
  const is = matchsStart(dir, this.config.matchs);
620
617
  const nomatchs = this.config.nomatchs;
621
618
  if (is && nomatchs && nomatchs.length > 0) {
@@ -812,7 +809,7 @@ var FangCom = class {
812
809
  }
813
810
  };
814
811
 
815
- // node_modules/.pnpm/@fangzhongya+create@0.2.34/node_modules/@fangzhongya/create/dist/bins/md.js
812
+ // node_modules/.pnpm/@fangzhongya+create@0.2.41/node_modules/@fangzhongya/create/dist/bins/md.js
816
813
  var defaultConfig2 = Object.assign({}, defaultConfig, {
817
814
  name: "md"
818
815
  });
@@ -831,7 +828,7 @@ function runDev(config2, configCallback) {
831
828
  return new FangMd(config2, configCallback);
832
829
  }
833
830
 
834
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-NCSN3MC5.js
831
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-NCSN3MC5.js
835
832
  var zObj = {
836
833
  "<": "&lt;",
837
834
  ">": "&gt;",
@@ -852,7 +849,7 @@ function htmlEscape(str) {
852
849
  // packages/node/index.ts
853
850
  import { join as join4 } from "path";
854
851
 
855
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
852
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-RD4EP3M5.js
856
853
  function mergeObject(a, b, j = 0, i) {
857
854
  if (a instanceof Array) {
858
855
  if (j > 0 && i) {
@@ -906,7 +903,7 @@ function getConfig(key) {
906
903
  return config[key];
907
904
  }
908
905
 
909
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-7PJ2D3KR.js
906
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-7PJ2D3KR.js
910
907
  function getVueText(content) {
911
908
  const result = {
912
909
  template: "",
@@ -953,7 +950,7 @@ function getVueTexts(content) {
953
950
  };
954
951
  }
955
952
 
956
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
953
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
957
954
  function humpToLine(name) {
958
955
  const reg = /(([A-Z])([^A-Z]*))/g;
959
956
  let result;
@@ -975,12 +972,12 @@ function humpToLine(name) {
975
972
  }
976
973
  }
977
974
 
978
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
975
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js
979
976
  function firstLower(str) {
980
977
  return str.slice(0, 1).toLowerCase() + str.slice(1);
981
978
  }
982
979
 
983
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
980
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js
984
981
  function asyncMergeArray(arr, callback) {
985
982
  return new Promise((resolve2, reject) => {
986
983
  let index = 0;
@@ -1004,9 +1001,9 @@ function asyncMergeArray(arr, callback) {
1004
1001
  });
1005
1002
  }
1006
1003
 
1007
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js
1004
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-Z7NTQAAJ.js
1008
1005
  function getSuffix2(url) {
1009
- const reg = /\.([a-z|A-Z]+)$/;
1006
+ const reg = /\.([a-z|A-Z][a-z|A-Z|0-9]*)$/;
1010
1007
  const regs = reg.exec(url);
1011
1008
  if (regs && regs.length > 0) {
1012
1009
  return regs[1];
@@ -1014,7 +1011,7 @@ function getSuffix2(url) {
1014
1011
  return "";
1015
1012
  }
1016
1013
 
1017
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
1014
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-S6JRKYPY.js
1018
1015
  function matchsStart2(key, matchs) {
1019
1016
  if (matchs && matchs.length > 0) {
1020
1017
  for (const value of matchs) {
@@ -1034,7 +1031,7 @@ function matchsStart2(key, matchs) {
1034
1031
  }
1035
1032
  }
1036
1033
 
1037
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
1034
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-YNOFNHEK.js
1038
1035
  function matchsEnd2(key, matchs) {
1039
1036
  if (matchs && matchs.length > 0) {
1040
1037
  for (const value of matchs) {
@@ -1697,7 +1694,7 @@ function parse(source, options = {}) {
1697
1694
  }
1698
1695
  var stringify = getStringifier();
1699
1696
 
1700
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-FS4JPT23.js
1697
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-FS4JPT23.js
1701
1698
  function deComment(code) {
1702
1699
  let output = "";
1703
1700
  let state = "code";
@@ -1789,24 +1786,39 @@ function deComment(code) {
1789
1786
  return output;
1790
1787
  }
1791
1788
 
1792
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-DILPRD5C.js
1789
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-75J5ZAUX.js
1793
1790
  function getImports(code, includeType = false) {
1794
1791
  code = deComment(code);
1795
1792
  const imports = /* @__PURE__ */ new Set();
1796
- const regex = /(?<staticImport>import\s*(?<typeKeyword>type\s+)?(?:[\w*\s{},]+?\s+from\s*)?["']([^"']+)["'])|(?<sideEffectImport>import\s*["']([^"']+)["'])|(?<dynamicImport>import\s*\(\s*["']([^"']+)["']\s*\))|(?<export>export\s*(?<exportType>type\s+)?(?:\*\s*as\s*\w+|\*|[\w\s{},]+)?\s+from\s*["']([^"']+)["'])/g;
1793
+ const regex = /(?:import\s*(?:type\s+)?(?:(?:\w+|\*\s*as\s+\w+|\{[^}]*\})\s+from\s*)?['"]([^'"]+)['"]|import\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)|export\s*(?:type\s+)?(?:(?:\*|\*?\s*as\s+\w+|\{[^}]*\})\s+from\s*)?['"]([^'"]+)['"])/g;
1797
1794
  let match;
1798
1795
  while ((match = regex.exec(code)) !== null) {
1799
- const groups = match.groups || {};
1800
- const path = match[3] || match[4] || match[5] || match[8];
1801
- if (!includeType && (groups.typeKeyword || groups.exportType)) {
1802
- continue;
1803
- }
1804
- if (path) {
1805
- imports.add(path);
1796
+ const path = match[1] || match[2] || match[3] || match[4];
1797
+ if (!path) continue;
1798
+ const fullMatch = match[0];
1799
+ if (!includeType) {
1800
+ if (fullMatch.includes("import") && containsNonTypeImport(fullMatch) || fullMatch.includes("export") && containsNonTypeExport(fullMatch)) {
1801
+ continue;
1802
+ }
1806
1803
  }
1804
+ imports.add(path);
1807
1805
  }
1808
1806
  return Array.from(imports);
1809
1807
  }
1808
+ function containsNonTypeImport(importStatement) {
1809
+ if (importStatement.includes("{")) {
1810
+ const braceContent = importStatement.match(/\{([^}]*)\}/)?.[1] || "";
1811
+ return braceContent.split(",").some((item) => item.trim() && item.trim().startsWith("type "));
1812
+ }
1813
+ return importStatement.includes("import type");
1814
+ }
1815
+ function containsNonTypeExport(exportStatement) {
1816
+ if (exportStatement.includes("{")) {
1817
+ const braceContent = exportStatement.match(/\{([^}]*)\}/)?.[1] || "";
1818
+ return braceContent.split(",").some((item) => item.trim() && item.trim().startsWith("type "));
1819
+ }
1820
+ return exportStatement.includes("export type");
1821
+ }
1810
1822
 
1811
1823
  // packages/utils/index.ts
1812
1824
  function getTextNotes(text) {
@@ -2347,16 +2359,6 @@ function getCompoNameObj() {
2347
2359
  }
2348
2360
  return Object.values(componentsObj);
2349
2361
  }
2350
- async function getPropsImport(text, obj2) {
2351
- let ts2 = text;
2352
- if (text) {
2353
- let arr = (await getTestImportUrl(obj2, text)).filter((v) => {
2354
- return isComprops(v.key, obj2.comprops) || isCurprops(v.key, obj2.curprops);
2355
- });
2356
- ts2 = await getPropsTexts(arr) + ts2;
2357
- }
2358
- return ts2;
2359
- }
2360
2362
  function getPropsValue(o) {
2361
2363
  const u = o.url;
2362
2364
  const k = o.key;
@@ -2374,8 +2376,7 @@ function getPropsRaws(arr) {
2374
2376
  } else if (value.getRaw) {
2375
2377
  value.getRaw(value).then(async (s) => {
2376
2378
  const m = getGetRawValue(s);
2377
- let ts2 = await getPropsImport(m, arr[index]);
2378
- value.raw = ts2;
2379
+ value.raw = await getComponentsProps(m, arr[index]);
2379
2380
  value.getRaw = null;
2380
2381
  res();
2381
2382
  });
@@ -2390,23 +2391,30 @@ function getPropsRaws(arr) {
2390
2391
  }
2391
2392
  });
2392
2393
  }
2394
+ var spliceName = "\nfangzhongya@vue-archive@glob@vue-archive@fangzhongya\n";
2395
+ function deduplication(text) {
2396
+ const arr = text.split(spliceName);
2397
+ const qcs = [...new Set(arr)];
2398
+ return qcs.join("\n");
2399
+ }
2393
2400
  async function getPropsTexts(arr) {
2394
2401
  const arrs = await getPropsRaws(arr);
2395
2402
  const sts = arrs?.map((o) => o.raw) || [];
2396
- return sts.join("\n");
2403
+ return sts.filter((o) => Boolean(o)).join(spliceName);
2397
2404
  }
2398
2405
  async function getComponentsProps(text, obj2) {
2399
- let ts2 = text;
2400
2406
  if (text) {
2407
+ text = `/**${obj2.url}**/
2408
+ ` + text;
2401
2409
  if (obj2.comprops || obj2.curprops) {
2402
2410
  let arr = (await getTestImportUrl(obj2, text)).filter((v) => {
2403
2411
  return isComprops(v.key, obj2.comprops) || isCurprops(v.key, obj2.curprops);
2404
2412
  });
2405
- let str = await getPropsTexts(arr);
2406
- ts2 = str + ts2;
2413
+ return text + spliceName + await getPropsTexts(arr);
2407
2414
  }
2415
+ return text;
2408
2416
  }
2409
- return ts2;
2417
+ return "";
2410
2418
  }
2411
2419
  function getGetRawValue(s) {
2412
2420
  if (s && typeof s == "object") {
@@ -2427,7 +2435,8 @@ function getLocalTextComponents(u) {
2427
2435
  } else if (componentObj.getRaw) {
2428
2436
  componentObj.getRaw(componentObj).then((s) => {
2429
2437
  const m = getGetRawValue(s);
2430
- getComponentsProps(m, componentObj).then((text) => {
2438
+ getComponentsProps(m, componentObj).then((texts) => {
2439
+ const text = deduplication(texts);
2431
2440
  componentObj.raw = text;
2432
2441
  componentObj.getRaw = null;
2433
2442
  resolve2(text);
@@ -3193,7 +3202,7 @@ var top_default2 = defineComponent2({
3193
3202
  }
3194
3203
  });
3195
3204
 
3196
- // node_modules/.pnpm/@fangzhongya+utils@0.0.35/node_modules/@fangzhongya/utils/dist/chunk-7O4MJOHM.js
3205
+ // node_modules/.pnpm/@fangzhongya+utils@0.0.46/node_modules/@fangzhongya/utils/dist/chunk-7O4MJOHM.js
3197
3206
  var FUNCTION_REGEX = /^\s*(?:(async)\s+)?(?:function\s*(\*?)\s*(\w*)\s*\(([\s\S]*?)\)|(\*?\s*)\b(\w+)\s*\(([\s\S]*?)\)|\(([\s\S]*?)\)|([^=>,\(\)]+?))\s*(?:=>)?\s*(?:\{([\s\S]*?)\}|([\s\S]*))$/;
3198
3207
  function getFunctionFormat(v) {
3199
3208
  if (!v) return;
@@ -1 +1 @@
1
- "use strict";;/* empty css */require("../../../_virtual/common.cjs");const e=require("../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_5dcf460b2cab0b2df1badb9cb42568f4/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs"),n=require("vue"),t=n.defineComponent({props:{language:{type:String},code:{type:String}},components:{highlightjs:e.component}});module.exports=t;
1
+ "use strict";;/* empty css */require("../../../_virtual/common.cjs");const e=require("../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_2e3909c55ec4dbb48bb9fd38d8dc2691/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.cjs"),n=require("vue"),t=n.defineComponent({props:{language:{type:String},code:{type:String}},components:{highlightjs:e.component}});module.exports=t;
@@ -1,6 +1,6 @@
1
1
  /* empty css */
2
2
  import "../../../_virtual/common.js";
3
- import o from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_5dcf460b2cab0b2df1badb9cb42568f4/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
3
+ import o from "../../../node_modules/.pnpm/@highlightjs_vue-plugin@2.1_2e3909c55ec4dbb48bb9fd38d8dc2691/node_modules/@highlightjs/vue-plugin/dist/highlightjs-vue.esm.min.js";
4
4
  import { defineComponent as t } from "vue";
5
5
  const m = t({
6
6
  props: {
@@ -1,2 +1,5 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../config.cjs"),B=require("@fangzhongya/utils/html/getVueText"),c=require("./common.cjs"),F=require("@fangzhongya/utils/basic/object/mergeObject");require("@fangzhongya/utils/basic/array/toggleArray");const T=require("@fangzhongya/utils/name/humpToLine"),A=require("@fangzhongya/utils/name/lineToLargeHump");require("@fangzhongya/utils/basic/string/appearNum");const W=require("@fangzhongya/utils/basic/string/firstLower"),D=require("@fangzhongya/utils/basic/array/duplicateRemoval"),M=require("@fangzhongya/utils/basic/array/asyncMergeArray");require("@fangzhongya/utils/basic/string/firstUpper");const w=require("@fangzhongya/utils/urls/getSuffix");require("@fangzhongya/utils/basic/array/replaceAfter");const J=require("./index.cjs"),h={},R={},I=[],K={},j={},g={};function Q(){return q.getConfig("example")}function X(t,e,n,r){const a=F.mergeObject(e,n||{},3,!0);a.exampless=a.exampless||[],a.examplessRaw=a.examplessRaw||[];const s=[],i=a.examples;i&&Object.keys(i).forEach(o=>{s.push(o),j[o]=i[o]});const l=a.examplesRaw,u=[];if(a.urls&&a.urls.length>0?(a.exampless=a.urls,a.urls.forEach(o=>{u.push(o),l&&(g[o]=N(l,o))})):(a.exampless=s,l&&Object.keys(l).forEach(o=>{u.push(o),g[o]=N(l,o)})),a.examples=void 0,e.tests&&r){const o=e.testsNanme||"/tests/";typeof o=="string"?Object.keys(r).forEach(f=>{f.includes(o)&&(a.exampless.push(f),u.push(f),g[f]=N(r,f))}):Object.keys(r).forEach(f=>{o.test(f)&&(a.exampless.push(f),u.push(f),g[f]=N(r,f))})}a.exampless=[...new Set(a.exampless)],a.examplessRaw=[...new Set(u)],a.examplesRaw=void 0,K[t]=a}function N(t,e){return typeof t=="function"?t:t&&(t[e]||t)}const b={};function Y(t){const e=q.getConfig("resolve");if(b[t])return b[t];for(let n of e)if(t.startsWith(n.find+"/")){const a=n.replacement.replaceAll("\\","/")+t.replace(n.find+"/","/");return b[t]=a,a}}async function Z(t,e){let n="";if(e=="vue"?n=B.getVueTexts(t).script:(e=="js"||e=="ts"||e=="")&&(n=t),n){const r=await J.getTextImport(n),a=[];return r&&r.length>0&&r.forEach(s=>{if(s)if(s.startsWith("./")||s.startsWith("../"))a.push(s);else{const i=Y(s);i&&a.push(i)}}),a}}function _(t){return new Promise(e=>{t?t.raw?e(t.raw):t.getRaw?t.getRaw(t).then(n=>{const r=C(n);t.raw=r,t.getRaw=null,e(r)}):e(""):e("")})}function U(t,e){t=(t||"")+"";let n="";switch(t){case"1":n=e.tdir+"/";break;case"2":n=e.adir+"/";break;case"3":n=e.tdir+"/"+e.adir+"/";break}return n}function z(t,e,n){t=(t||"")+"",n=(n||"")+"";let r=T.humpToLine(e.name),a=[];t==="1"?e.alias&&a.push(e.alias+"-"+r):t==="3"?e.alias&&e.alias+"":t==="4"?e.aliasNames?.forEach(i=>{a.push(T.humpToLine(i))}):t=="9"&&(a.push(r),e.aliasNames?.forEach(i=>{a.push(T.humpToLine(i))})),a.length==0&&a.push(r);let s=[];return n==="1"?a.forEach(i=>{let l=A.lineToLargeHump(i);s.push(l,W.firstLower(l))}):n==="2"?a.forEach(i=>{let l=A.lineToLargeHump(i);s.push(i,l,W.firstLower(l))}):s=[...a],s=[...new Set(s)],s}function y(t,e,n,r){const a=[];return n.examplessRaw.forEach(s=>{for(let i=0;i<e.length;i++){const l=e[i];if(s==t+l+n.md+".md"){a.push({cwd:n.cwd||r.cwd,topurl:t,comkey:r.key,suffix:w.getSuffix(s),name:r.name,value:l,key:s,raw:"",getRaw:c.getRawValue(g,s)});break}}}),a}function P(t){O();const e=h[t];if(e.tests&&Object.keys(e.tests).length>0)return e.tests;{const n=K[e.dir],r=n.dir+U(n.level||0,e),a=z(n.aliaslevel||0,e,n.componentName||0);e.mds=y(r,a,n,e);const s={};return n.exampless.forEach(i=>{for(let l=0;l<a.length;l++){const u=a[l];if(i.startsWith(r+u+"/")){const o=new RegExp("/([^/]+)/index\\."+c.defaultExtensions.join("|")+"$"),f=new RegExp("/([^/]+)\\."+c.defaultExtensions.join("|")+"$");let p=i.match(o)||i.match(f);if(p&&p.length>0){let m="";p&&p.length>1&&(m=p[1]),s[i]={topurl:r,name:u,value:m,suffix:w.getSuffix(i),comname:e.name,comkey:e.key,cwd:n.cwd||e.cwd,key:i,dir:e.dir,url:i,component:j[i],raw:"",getRaw:c.getRawValue(g,i)};break}}}}),n.tests&&k(s,e,n),e.tests=s,s}}function k(t,e,n){const r=e.url.substring(0,e.url.lastIndexOf("/"+e.value+"/"))+"/"+e.value,a=n.testsNanme||"/tests/";typeof a=="string"?n.examplessRaw.forEach(s=>{if(s.startsWith(r+"/")){if(s==r+n.md+".md")e.mds=e.mds||[],e.mds.push({cwd:e.cwd,topurl:r,comkey:e.key,suffix:w.getSuffix(s),name:e.name,value:e.value,key:s,raw:"",getRaw:c.getRawValue(g,s)});else if(s.startsWith(r+a)){const i=new RegExp("/([^/]+)/index\\."+c.defaultExtensions.join("|")+"$"),l=new RegExp("/([^/]+)\\."+c.defaultExtensions.join("|")+"$");let u=s.match(i)||s.match(l);if(u&&u[1]){let o="";u&&u.length>1&&(o=u[1]),t[s]={topurl:r,name:e.value,value:o,suffix:w.getSuffix(s),comname:e.name,comkey:e.key,cwd:n.cwd||e.cwd,key:s,dir:e.dir,url:s,component:j[s],raw:"",getRaw:c.getRawValue(g,s)}}}}}):n.examplessRaw.forEach(s=>{if(s.startsWith(r+"/")){if(s==r+n.md+".md")e.mds=e.mds||[],e.mds.push({cwd:e.cwd,topurl:r,comkey:e.key,suffix:w.getSuffix(s),name:e.name,value:e.value,key:s,raw:"",getRaw:c.getRawValue(g,s)});else if(a.test(s)){const i=new RegExp("/([^/]+)/index\\."+c.defaultExtensions.join("|")+"$"),l=new RegExp("/([^/]+)\\."+c.defaultExtensions.join("|")+"$");let u=s.match(i)||s.match(l);if(u&&u.length>0){let o="";u&&u.length>1&&(o=u[1]),t[s]={cwd:n.cwd||e.cwd,topurl:r,name:e.value,value:o,suffix:w.getSuffix(s),comname:e.name,comkey:e.key,key:s,dir:e.dir,url:s,component:j[s],raw:"",getRaw:c.getRawValue(g,s)}}}}})}function ee(t){if(t){const e=P(t);return Object.values(e)}else return[]}function te(t,e,n){O();const r=P(n),a=[];if(e){let s=r[e];if(s)return a.push(s),a}return Object.values(r).forEach(s=>{s.name+"/"+s.value==t&&a.push(s)}),a}function se(t){return P(t),h[t].mds}async function V(t,e,n){let r=t.key,a=t.dir,s=t.url,i=t.comprops,l=t.curprops,u=await Z(e,n||t.suffix)||[],o=s.split("/");return u.map(f=>{if(f.startsWith("./")){let p=o.slice(0,o.length-1).join("/"),m=f.substring(2);const d=p.replace(/^\.\/|((\.\.\/)+)/,"/");let x=r.indexOf(d)+d.length;return{key:r.substring(0,x)+"/"+m,name:f,cwd:t.cwd,comprops:i,curprops:l,value:m,suffix:w.getSuffix(f),head:p,dir:a,url:p+"/"+m}}else if(f.startsWith("../")){let p=f.split("/"),m=0;for(let L=0;L<p.length;L++)if(p[L]!=".."){m=L;break}let d=p.slice(m,p.length),x=o.slice(0,o.length-m-1).join("/"),E=d.join("/");const S=x.replace(/^\.\/|((\.\.\/)+)/,"/");let G=r.indexOf(S)+S.length;return{key:r.substring(0,G)+"/"+E,name:E,cwd:t.cwd,comprops:i,curprops:l,value:E,suffix:w.getSuffix(f),head:x,dir:a,url:x+"/"+E}}else{const p=a.replace(/^\.\/|((\.\.\/)+)/,"/");let m=f.indexOf(p)+p.length,d=f.substring(m),x=a.substring(0,a.length-1);return{key:f,name:d,comprops:i,curprops:l,value:d,suffix:w.getSuffix(f),head:x,dir:a,cwd:t.cwd,url:x+"/"+d}}})}function ne(t){return new Promise(e=>{if(t&&t.length>0){let n=t.map(r=>({...r,raw:"",suffix:w.getSuffix(r.key),getRaw:c.getRawValue(g,r.key)}));M.asyncMergeArray(n,(r,a,s,i)=>{s.raw?r():s.getRaw?s.getRaw(s).then(l=>{const u=C(l);s.raw=u,s.getRaw=null,r()}):r()}).then(()=>{e(n)})}else e([])})}function re(){const t=Q();q.getConfig("components")?.forEach(n=>{const r=le(n);let a=n.dir||"";X(a,t,n.example,r)})}const $="default";function ae(t){let e=T.humpToLine(t.name),n=[...t.aliasNames];n.push(e),n.forEach(r=>{I.push({name:r,value:t.key})})}function ie(t,e){e?.forEach(n=>{h[n.key]=n,ae(n)})}function le(t){let e,n;const r=t.resolver;r&&Object.keys(r).forEach(s=>{typeof t[s]>"u"&&(t[s]=r[s])}),e=t.alias||$;let a=t?.urls||Object.keys(t.componentsRaw);return n=c.getComponentsArr(a,t,t.componentsRaw,t.components),n&&n?.props&&n.props.forEach(s=>{R[s.url]=s}),ie(e,n.components),t.componentsRaw}function oe(t){return O(),h[t]}function O(){return Object.keys(h).length==0&&re(),Object.values(h)}function ue(){return O(),R}function fe(t,e,n){O();const r=[];if(n){let s=h[n];if(s&&s.key)return[s]}let a=T.humpToLine(t);return I.forEach(s=>{e?s.name.includes(a)&&r.push(h[s.value]):s.name==a&&r.push(h[s.value])}),D.duplicateRemoval(r,"key")}async function ce(t,e){let n=t;if(t){let r=(await V(e,t)).filter(a=>c.isComprops(a.key,e.comprops)||c.isCurprops(a.key,e.curprops));n=await H(r)+n}return n}function pe(t){const e=t.url,n=t.key;return R[e]||R[e+".js"]||R[e+".ts"]||R[n]||R[n+".js"]||R[n+".ts"]}function v(t){return new Promise(e=>{if(t&&t.length>0){let n=t.map(r=>pe(r)).filter(r=>!!r);M.asyncMergeArray(n,(r,a,s,i)=>{s.raw?r():s.getRaw?s.getRaw(s).then(async l=>{const u=C(l);let o=await ce(u,t[i]);s.raw=o,s.getRaw=null,r()}):r()}).then(()=>{e(n)})}else e([])})}async function H(t){return((await v(t))?.map(r=>r.raw)||[]).join(`
2
- `)}async function me(t,e){let n=t;if(t&&(e.comprops||e.curprops)){let r=(await V(e,t)).filter(s=>c.isComprops(s.key,e.comprops)||c.isCurprops(s.key,e.curprops));n=await H(r)+n}return n}function C(t){return t&&typeof t=="object"?t.default||"":(t||"")+""}function ge(t){return new Promise(e=>{if(t){O();const n=h[t];n?n.raw?e(n.raw):n.getRaw?n.getRaw(n).then(r=>{const a=C(r);me(a,n).then(s=>{n.raw=s,n.getRaw=null,e(s)})}):e(""):e("")}else e("")})}exports.defaultName=$;exports.getCompoName=fe;exports.getCompoNameKey=oe;exports.getCompoNameObj=O;exports.getComponentPropsObjs=ue;exports.getGetRawValue=C;exports.getKeyMds=se;exports.getLevelUrl=U;exports.getLocalTextArr=ne;exports.getLocalTextComponents=ge;exports.getLocalTextTests=_;exports.getPropsRaws=v;exports.getTestImportUrl=V;exports.getTestName=ee;exports.getTestNameObj=te;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../config.cjs"),z=require("@fangzhongya/utils/html/getVueText"),p=require("./common.cjs"),F=require("@fangzhongya/utils/basic/object/mergeObject");require("@fangzhongya/utils/basic/array/toggleArray");const T=require("@fangzhongya/utils/name/humpToLine"),v=require("@fangzhongya/utils/name/lineToLargeHump");require("@fangzhongya/utils/basic/string/appearNum");const A=require("@fangzhongya/utils/basic/string/firstLower"),D=require("@fangzhongya/utils/basic/array/duplicateRemoval"),W=require("@fangzhongya/utils/basic/array/asyncMergeArray");require("@fangzhongya/utils/basic/string/firstUpper");const h=require("@fangzhongya/utils/urls/getSuffix");require("@fangzhongya/utils/basic/array/replaceAfter");const J=require("./index.cjs"),w={},R={},M=[],$={},j={},m={};function Q(){return S.getConfig("example")}function X(t,e,n,r){const a=F.mergeObject(e,n||{},3,!0);a.exampless=a.exampless||[],a.examplessRaw=a.examplessRaw||[];const s=[],i=a.examples;i&&Object.keys(i).forEach(o=>{s.push(o),j[o]=i[o]});const l=a.examplesRaw,u=[];if(a.urls&&a.urls.length>0?(a.exampless=a.urls,a.urls.forEach(o=>{u.push(o),l&&(m[o]=N(l,o))})):(a.exampless=s,l&&Object.keys(l).forEach(o=>{u.push(o),m[o]=N(l,o)})),a.examples=void 0,e.tests&&r){const o=e.testsNanme||"/tests/";typeof o=="string"?Object.keys(r).forEach(f=>{f.includes(o)&&(a.exampless.push(f),u.push(f),m[f]=N(r,f))}):Object.keys(r).forEach(f=>{o.test(f)&&(a.exampless.push(f),u.push(f),m[f]=N(r,f))})}a.exampless=[...new Set(a.exampless)],a.examplessRaw=[...new Set(u)],a.examplesRaw=void 0,$[t]=a}function N(t,e){return typeof t=="function"?t:t&&(t[e]||t)}const q={};function Y(t){const e=S.getConfig("resolve");if(q[t])return q[t];for(let n of e)if(t.startsWith(n.find+"/")){const a=n.replacement.replaceAll("\\","/")+t.replace(n.find+"/","/");return q[t]=a,a}}async function Z(t,e){let n="";if(e=="vue"?n=z.getVueTexts(t).script:(e=="js"||e=="ts"||e=="")&&(n=t),n){const r=await J.getTextImport(n),a=[];return r&&r.length>0&&r.forEach(s=>{if(s)if(s.startsWith("./")||s.startsWith("../"))a.push(s);else{const i=Y(s);i&&a.push(i)}}),a}}function _(t){return new Promise(e=>{t?t.raw?e(t.raw):t.getRaw?t.getRaw(t).then(n=>{const r=C(n);t.raw=r,t.getRaw=null,e(r)}):e(""):e("")})}function K(t,e){t=(t||"")+"";let n="";switch(t){case"1":n=e.tdir+"/";break;case"2":n=e.adir+"/";break;case"3":n=e.tdir+"/"+e.adir+"/";break}return n}function y(t,e,n){t=(t||"")+"",n=(n||"")+"";let r=T.humpToLine(e.name),a=[];t==="1"?e.alias&&a.push(e.alias+"-"+r):t==="3"?e.alias&&e.alias+"":t==="4"?e.aliasNames?.forEach(i=>{a.push(T.humpToLine(i))}):t=="9"&&(a.push(r),e.aliasNames?.forEach(i=>{a.push(T.humpToLine(i))})),a.length==0&&a.push(r);let s=[];return n==="1"?a.forEach(i=>{let l=v.lineToLargeHump(i);s.push(l,A.firstLower(l))}):n==="2"?a.forEach(i=>{let l=v.lineToLargeHump(i);s.push(i,l,A.firstLower(l))}):s=[...a],s=[...new Set(s)],s}function k(t,e,n,r){const a=[];return n.examplessRaw.forEach(s=>{for(let i=0;i<e.length;i++){const l=e[i];if(s==t+l+n.md+".md"){a.push({cwd:n.cwd||r.cwd,topurl:t,comkey:r.key,suffix:h.getSuffix(s),name:r.name,value:l,key:s,raw:"",getRaw:p.getRawValue(m,s)});break}}}),a}function P(t){O();const e=w[t];if(e.tests&&Object.keys(e.tests).length>0)return e.tests;{const n=$[e.dir],r=n.dir+K(n.level||0,e),a=y(n.aliaslevel||0,e,n.componentName||0);e.mds=k(r,a,n,e);const s={};return n.exampless.forEach(i=>{for(let l=0;l<a.length;l++){const u=a[l];if(i.startsWith(r+u+"/")){const o=new RegExp("/([^/]+)/index\\."+p.defaultExtensions.join("|")+"$"),f=new RegExp("/([^/]+)\\."+p.defaultExtensions.join("|")+"$");let c=i.match(o)||i.match(f);if(c&&c.length>0){let g="";c&&c.length>1&&(g=c[1]),s[i]={topurl:r,name:u,value:g,suffix:h.getSuffix(i),comname:e.name,comkey:e.key,cwd:n.cwd||e.cwd,key:i,dir:e.dir,url:i,component:j[i],raw:"",getRaw:p.getRawValue(m,i)};break}}}}),n.tests&&ee(s,e,n),e.tests=s,s}}function ee(t,e,n){const r=e.url.substring(0,e.url.lastIndexOf("/"+e.value+"/"))+"/"+e.value,a=n.testsNanme||"/tests/";typeof a=="string"?n.examplessRaw.forEach(s=>{if(s.startsWith(r+"/")){if(s==r+n.md+".md")e.mds=e.mds||[],e.mds.push({cwd:e.cwd,topurl:r,comkey:e.key,suffix:h.getSuffix(s),name:e.name,value:e.value,key:s,raw:"",getRaw:p.getRawValue(m,s)});else if(s.startsWith(r+a)){const i=new RegExp("/([^/]+)/index\\."+p.defaultExtensions.join("|")+"$"),l=new RegExp("/([^/]+)\\."+p.defaultExtensions.join("|")+"$");let u=s.match(i)||s.match(l);if(u&&u[1]){let o="";u&&u.length>1&&(o=u[1]),t[s]={topurl:r,name:e.value,value:o,suffix:h.getSuffix(s),comname:e.name,comkey:e.key,cwd:n.cwd||e.cwd,key:s,dir:e.dir,url:s,component:j[s],raw:"",getRaw:p.getRawValue(m,s)}}}}}):n.examplessRaw.forEach(s=>{if(s.startsWith(r+"/")){if(s==r+n.md+".md")e.mds=e.mds||[],e.mds.push({cwd:e.cwd,topurl:r,comkey:e.key,suffix:h.getSuffix(s),name:e.name,value:e.value,key:s,raw:"",getRaw:p.getRawValue(m,s)});else if(a.test(s)){const i=new RegExp("/([^/]+)/index\\."+p.defaultExtensions.join("|")+"$"),l=new RegExp("/([^/]+)\\."+p.defaultExtensions.join("|")+"$");let u=s.match(i)||s.match(l);if(u&&u.length>0){let o="";u&&u.length>1&&(o=u[1]),t[s]={cwd:n.cwd||e.cwd,topurl:r,name:e.value,value:o,suffix:h.getSuffix(s),comname:e.name,comkey:e.key,key:s,dir:e.dir,url:s,component:j[s],raw:"",getRaw:p.getRawValue(m,s)}}}}})}function te(t){if(t){const e=P(t);return Object.values(e)}else return[]}function se(t,e,n){O();const r=P(n),a=[];if(e){let s=r[e];if(s)return a.push(s),a}return Object.values(r).forEach(s=>{s.name+"/"+s.value==t&&a.push(s)}),a}function ne(t){return P(t),w[t].mds}async function U(t,e,n){let r=t.key,a=t.dir,s=t.url,i=t.comprops,l=t.curprops,u=await Z(e,n||t.suffix)||[],o=s.split("/");return u.map(f=>{if(f.startsWith("./")){let c=o.slice(0,o.length-1).join("/"),g=f.substring(2);const d=c.replace(/^\.\/|((\.\.\/)+)/,"/");let x=r.indexOf(d)+d.length;return{key:r.substring(0,x)+"/"+g,name:f,cwd:t.cwd,comprops:i,curprops:l,value:g,suffix:h.getSuffix(f),head:c,dir:a,url:c+"/"+g}}else if(f.startsWith("../")){let c=f.split("/"),g=0;for(let L=0;L<c.length;L++)if(c[L]!=".."){g=L;break}let d=c.slice(g,c.length),x=o.slice(0,o.length-g-1).join("/"),E=d.join("/");const b=x.replace(/^\.\/|((\.\.\/)+)/,"/");let G=r.indexOf(b)+b.length;return{key:r.substring(0,G)+"/"+E,name:E,cwd:t.cwd,comprops:i,curprops:l,value:E,suffix:h.getSuffix(f),head:x,dir:a,url:x+"/"+E}}else{const c=a.replace(/^\.\/|((\.\.\/)+)/,"/");let g=f.indexOf(c)+c.length,d=f.substring(g),x=a.substring(0,a.length-1);return{key:f,name:d,comprops:i,curprops:l,value:d,suffix:h.getSuffix(f),head:x,dir:a,cwd:t.cwd,url:x+"/"+d}}})}function re(t){return new Promise(e=>{if(t&&t.length>0){let n=t.map(r=>({...r,raw:"",suffix:h.getSuffix(r.key),getRaw:p.getRawValue(m,r.key)}));W.asyncMergeArray(n,(r,a,s,i)=>{s.raw?r():s.getRaw?s.getRaw(s).then(l=>{const u=C(l);s.raw=u,s.getRaw=null,r()}):r()}).then(()=>{e(n)})}else e([])})}function ae(){const t=Q();S.getConfig("components")?.forEach(n=>{const r=oe(n);let a=n.dir||"";X(a,t,n.example,r)})}const I="default";function ie(t){let e=T.humpToLine(t.name),n=[...t.aliasNames];n.push(e),n.forEach(r=>{M.push({name:r,value:t.key})})}function le(t,e){e?.forEach(n=>{w[n.key]=n,ie(n)})}function oe(t){let e,n;const r=t.resolver;r&&Object.keys(r).forEach(s=>{typeof t[s]>"u"&&(t[s]=r[s])}),e=t.alias||I;let a=t?.urls||Object.keys(t.componentsRaw);return n=p.getComponentsArr(a,t,t.componentsRaw,t.components),n&&n?.props&&n.props.forEach(s=>{R[s.url]=s}),le(e,n.components),t.componentsRaw}function ue(t){return O(),w[t]}function O(){return Object.keys(w).length==0&&ae(),Object.values(w)}function fe(){return O(),R}function ce(t,e,n){O();const r=[];if(n){let s=w[n];if(s&&s.key)return[s]}let a=T.humpToLine(t);return M.forEach(s=>{e?s.name.includes(a)&&r.push(w[s.value]):s.name==a&&r.push(w[s.value])}),D.duplicateRemoval(r,"key")}function pe(t){const e=t.url,n=t.key;return R[e]||R[e+".js"]||R[e+".ts"]||R[n]||R[n+".js"]||R[n+".ts"]}function H(t){return new Promise(e=>{if(t&&t.length>0){let n=t.map(r=>pe(r)).filter(r=>!!r);W.asyncMergeArray(n,(r,a,s,i)=>{s.raw?r():s.getRaw?s.getRaw(s).then(async l=>{const u=C(l);s.raw=await B(u,t[i]),s.getRaw=null,r()}):r()}).then(()=>{e(n)})}else e([])})}const V=`
2
+ fangzhongya@vue-archive@glob@vue-archive@fangzhongya
3
+ `;function ge(t){const e=t.split(V);return[...new Set(e)].join(`
4
+ `)}async function me(t){return((await H(t))?.map(r=>r.raw)||[]).filter(r=>!!r).join(V)}async function B(t,e){if(t){if(t=`/**${e.url}**/
5
+ `+t,e.comprops||e.curprops){let n=(await U(e,t)).filter(r=>p.isComprops(r.key,e.comprops)||p.isCurprops(r.key,e.curprops));return t+V+await me(n)}return t}return""}function C(t){return t&&typeof t=="object"?t.default||"":(t||"")+""}function he(t){return new Promise(e=>{if(t){O();const n=w[t];n?n.raw?e(n.raw):n.getRaw?n.getRaw(n).then(r=>{const a=C(r);B(a,n).then(s=>{const i=ge(s);n.raw=i,n.getRaw=null,e(i)})}):e(""):e("")}else e("")})}exports.defaultName=I;exports.getCompoName=ce;exports.getCompoNameKey=ue;exports.getCompoNameObj=O;exports.getComponentPropsObjs=fe;exports.getGetRawValue=C;exports.getKeyMds=ne;exports.getLevelUrl=K;exports.getLocalTextArr=re;exports.getLocalTextComponents=he;exports.getLocalTextTests=_;exports.getPropsRaws=H;exports.getTestImportUrl=U;exports.getTestName=te;exports.getTestNameObj=se;