@tamagui/static 1.99.1 → 1.100.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. package/dist/cjs/checkDeps.native.js +53 -58
  2. package/dist/cjs/checkDeps.native.js.map +1 -1
  3. package/dist/cjs/extractor/bundle.native.js +65 -79
  4. package/dist/cjs/extractor/bundle.native.js.map +1 -1
  5. package/dist/cjs/extractor/bundleConfig.js +2 -4
  6. package/dist/cjs/extractor/bundleConfig.js.map +1 -1
  7. package/dist/cjs/extractor/bundleConfig.native.js +67 -83
  8. package/dist/cjs/extractor/bundleConfig.native.js.map +1 -1
  9. package/dist/cjs/extractor/createExtractor.js +8 -16
  10. package/dist/cjs/extractor/createExtractor.js.map +1 -1
  11. package/dist/cjs/extractor/createExtractor.native.js +70 -92
  12. package/dist/cjs/extractor/createExtractor.native.js.map +1 -1
  13. package/dist/cjs/extractor/extractHelpers.js +4 -8
  14. package/dist/cjs/extractor/extractHelpers.js.map +1 -1
  15. package/dist/cjs/extractor/extractHelpers.native.js +11 -22
  16. package/dist/cjs/extractor/extractHelpers.native.js.map +1 -1
  17. package/dist/cjs/extractor/extractMediaStyle.js +3 -6
  18. package/dist/cjs/extractor/extractMediaStyle.js.map +1 -1
  19. package/dist/cjs/extractor/extractMediaStyle.native.js +10 -20
  20. package/dist/cjs/extractor/extractMediaStyle.native.js.map +1 -1
  21. package/dist/cjs/extractor/extractToClassNames.js +5 -7
  22. package/dist/cjs/extractor/extractToClassNames.js.map +1 -1
  23. package/dist/cjs/extractor/extractToClassNames.native.js +66 -79
  24. package/dist/cjs/extractor/extractToClassNames.native.js.map +1 -1
  25. package/dist/cjs/extractor/generateTamaguiStudioConfig.js +3 -6
  26. package/dist/cjs/extractor/generateTamaguiStudioConfig.js.map +1 -1
  27. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +63 -78
  28. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  29. package/dist/cjs/extractor/generatedUid.native.js +2 -4
  30. package/dist/cjs/extractor/generatedUid.native.js.map +1 -1
  31. package/dist/cjs/extractor/getStaticBindingsForScope.js +4 -8
  32. package/dist/cjs/extractor/getStaticBindingsForScope.js.map +1 -1
  33. package/dist/cjs/extractor/getStaticBindingsForScope.native.js +82 -94
  34. package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +1 -1
  35. package/dist/cjs/extractor/hoistClassNames.js +1 -2
  36. package/dist/cjs/extractor/hoistClassNames.js.map +1 -1
  37. package/dist/cjs/extractor/hoistClassNames.native.js +1 -2
  38. package/dist/cjs/extractor/hoistClassNames.native.js.map +1 -1
  39. package/dist/cjs/extractor/literalToAst.native.js +6 -12
  40. package/dist/cjs/extractor/literalToAst.native.js.map +1 -1
  41. package/dist/cjs/extractor/loadTamagui.native.js +75 -92
  42. package/dist/cjs/extractor/loadTamagui.native.js.map +1 -1
  43. package/dist/cjs/extractor/normalizeTernaries.native.js +2 -4
  44. package/dist/cjs/extractor/normalizeTernaries.native.js.map +1 -1
  45. package/dist/cjs/extractor/removeUnusedHooks.js +2 -4
  46. package/dist/cjs/extractor/removeUnusedHooks.js.map +1 -1
  47. package/dist/cjs/extractor/removeUnusedHooks.native.js +4 -8
  48. package/dist/cjs/extractor/removeUnusedHooks.native.js.map +1 -1
  49. package/dist/cjs/extractor/watchTamaguiConfig.native.js +57 -63
  50. package/dist/cjs/extractor/watchTamaguiConfig.native.js.map +1 -1
  51. package/dist/cjs/server.native.js +53 -58
  52. package/dist/cjs/server.native.js.map +1 -1
  53. package/dist/esm/checkDeps.native.js +53 -58
  54. package/dist/esm/checkDeps.native.js.map +1 -1
  55. package/dist/esm/extractor/bundle.native.js +65 -79
  56. package/dist/esm/extractor/bundle.native.js.map +1 -1
  57. package/dist/esm/extractor/bundleConfig.js +2 -4
  58. package/dist/esm/extractor/bundleConfig.js.map +1 -1
  59. package/dist/esm/extractor/bundleConfig.native.js +67 -83
  60. package/dist/esm/extractor/bundleConfig.native.js.map +1 -1
  61. package/dist/esm/extractor/createExtractor.js +8 -16
  62. package/dist/esm/extractor/createExtractor.js.map +1 -1
  63. package/dist/esm/extractor/createExtractor.native.js +70 -92
  64. package/dist/esm/extractor/createExtractor.native.js.map +1 -1
  65. package/dist/esm/extractor/extractHelpers.js +4 -8
  66. package/dist/esm/extractor/extractHelpers.js.map +1 -1
  67. package/dist/esm/extractor/extractHelpers.native.js +11 -22
  68. package/dist/esm/extractor/extractHelpers.native.js.map +1 -1
  69. package/dist/esm/extractor/extractMediaStyle.js +3 -6
  70. package/dist/esm/extractor/extractMediaStyle.js.map +1 -1
  71. package/dist/esm/extractor/extractMediaStyle.native.js +10 -20
  72. package/dist/esm/extractor/extractMediaStyle.native.js.map +1 -1
  73. package/dist/esm/extractor/extractToClassNames.js +5 -7
  74. package/dist/esm/extractor/extractToClassNames.js.map +1 -1
  75. package/dist/esm/extractor/extractToClassNames.native.js +66 -79
  76. package/dist/esm/extractor/extractToClassNames.native.js.map +1 -1
  77. package/dist/esm/extractor/generateTamaguiStudioConfig.js +3 -6
  78. package/dist/esm/extractor/generateTamaguiStudioConfig.js.map +1 -1
  79. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +63 -78
  80. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  81. package/dist/esm/extractor/generatedUid.native.js +2 -4
  82. package/dist/esm/extractor/generatedUid.native.js.map +1 -1
  83. package/dist/esm/extractor/getStaticBindingsForScope.js +4 -8
  84. package/dist/esm/extractor/getStaticBindingsForScope.js.map +1 -1
  85. package/dist/esm/extractor/getStaticBindingsForScope.native.js +82 -94
  86. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
  87. package/dist/esm/extractor/hoistClassNames.js +1 -2
  88. package/dist/esm/extractor/hoistClassNames.js.map +1 -1
  89. package/dist/esm/extractor/hoistClassNames.native.js +1 -2
  90. package/dist/esm/extractor/hoistClassNames.native.js.map +1 -1
  91. package/dist/esm/extractor/literalToAst.native.js +6 -12
  92. package/dist/esm/extractor/literalToAst.native.js.map +1 -1
  93. package/dist/esm/extractor/loadTamagui.native.js +75 -92
  94. package/dist/esm/extractor/loadTamagui.native.js.map +1 -1
  95. package/dist/esm/extractor/normalizeTernaries.native.js +2 -4
  96. package/dist/esm/extractor/normalizeTernaries.native.js.map +1 -1
  97. package/dist/esm/extractor/removeUnusedHooks.js +2 -4
  98. package/dist/esm/extractor/removeUnusedHooks.js.map +1 -1
  99. package/dist/esm/extractor/removeUnusedHooks.native.js +4 -8
  100. package/dist/esm/extractor/removeUnusedHooks.native.js.map +1 -1
  101. package/dist/esm/extractor/watchTamaguiConfig.native.js +57 -63
  102. package/dist/esm/extractor/watchTamaguiConfig.native.js.map +1 -1
  103. package/dist/esm/server.native.js +53 -58
  104. package/dist/esm/server.native.js.map +1 -1
  105. package/package.json +15 -15
@@ -29,13 +29,11 @@ module.exports = __toCommonJS(extractToClassNames_exports);
29
29
  var path = __toESM(require("node:path")), util = __toESM(require("node:util")), import_generator = __toESM(require("@babel/generator")), t = __toESM(require("@babel/types")), helpers = __toESM(require("@tamagui/helpers")), import_requireTamaguiCore = require("../helpers/requireTamaguiCore"), import_babelParse = require("./babelParse"), import_buildClassName = require("./buildClassName"), import_ensureImportingConcat = require("./ensureImportingConcat"), import_extractHelpers = require("./extractHelpers"), import_extractMediaStyle = require("./extractMediaStyle"), import_hoistClassNames = require("./hoistClassNames"), import_logLines = require("./logLines"), import_propsToFontFamilyCache = require("./propsToFontFamilyCache"), import_timer = require("./timer"), import_createLogger = require("./createLogger");
30
30
  function _array_like_to_array(arr, len) {
31
31
  (len == null || len > arr.length) && (len = arr.length);
32
- for (var i = 0, arr2 = new Array(len); i < len; i++)
33
- arr2[i] = arr[i];
32
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
34
33
  return arr2;
35
34
  }
36
35
  function _array_without_holes(arr) {
37
- if (Array.isArray(arr))
38
- return _array_like_to_array(arr);
36
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
39
37
  }
40
38
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
41
39
  try {
@@ -70,8 +68,7 @@ function _define_property(obj, key, value) {
70
68
  }) : obj[key] = value, obj;
71
69
  }
72
70
  function _iterable_to_array(iter) {
73
- if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
74
- return Array.from(iter);
71
+ if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
75
72
  }
76
73
  function _non_iterable_spread() {
77
74
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
@@ -107,21 +104,17 @@ function _to_consumable_array(arr) {
107
104
  }
108
105
  function _unsupported_iterable_to_array(o, minLen) {
109
106
  if (o) {
110
- if (typeof o == "string")
111
- return _array_like_to_array(o, minLen);
107
+ if (typeof o == "string") return _array_like_to_array(o, minLen);
112
108
  var n = Object.prototype.toString.call(o).slice(8, -1);
113
- if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
114
- return Array.from(n);
115
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
116
- return _array_like_to_array(o, minLen);
109
+ if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(n);
110
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
117
111
  }
118
112
  }
119
113
  function _ts_generator(thisArg, body) {
120
114
  var f, y, t2, g, _ = {
121
115
  label: 0,
122
116
  sent: function() {
123
- if (t2[0] & 1)
124
- throw t2[1];
117
+ if (t2[0] & 1) throw t2[1];
125
118
  return t2[1];
126
119
  },
127
120
  trys: [],
@@ -143,64 +136,60 @@ function _ts_generator(thisArg, body) {
143
136
  };
144
137
  }
145
138
  function step(op) {
146
- if (f)
147
- throw new TypeError("Generator is already executing.");
148
- for (; _; )
149
- try {
150
- if (f = 1, y && (t2 = op[0] & 2 ? y.return : op[0] ? y.throw || ((t2 = y.return) && t2.call(y), 0) : y.next) && !(t2 = t2.call(y, op[1])).done)
151
- return t2;
152
- switch (y = 0, t2 && (op = [
153
- op[0] & 2,
154
- t2.value
155
- ]), op[0]) {
156
- case 0:
157
- case 1:
158
- t2 = op;
159
- break;
160
- case 4:
161
- return _.label++, {
162
- value: op[1],
163
- done: !1
164
- };
165
- case 5:
166
- _.label++, y = op[1], op = [
167
- 0
168
- ];
169
- continue;
170
- case 7:
171
- op = _.ops.pop(), _.trys.pop();
172
- continue;
173
- default:
174
- if (t2 = _.trys, !(t2 = t2.length > 0 && t2[t2.length - 1]) && (op[0] === 6 || op[0] === 2)) {
175
- _ = 0;
176
- continue;
177
- }
178
- if (op[0] === 3 && (!t2 || op[1] > t2[0] && op[1] < t2[3])) {
179
- _.label = op[1];
180
- break;
181
- }
182
- if (op[0] === 6 && _.label < t2[1]) {
183
- _.label = t2[1], t2 = op;
184
- break;
185
- }
186
- if (t2 && _.label < t2[2]) {
187
- _.label = t2[2], _.ops.push(op);
188
- break;
189
- }
190
- t2[2] && _.ops.pop(), _.trys.pop();
139
+ if (f) throw new TypeError("Generator is already executing.");
140
+ for (; _; ) try {
141
+ if (f = 1, y && (t2 = op[0] & 2 ? y.return : op[0] ? y.throw || ((t2 = y.return) && t2.call(y), 0) : y.next) && !(t2 = t2.call(y, op[1])).done) return t2;
142
+ switch (y = 0, t2 && (op = [
143
+ op[0] & 2,
144
+ t2.value
145
+ ]), op[0]) {
146
+ case 0:
147
+ case 1:
148
+ t2 = op;
149
+ break;
150
+ case 4:
151
+ return _.label++, {
152
+ value: op[1],
153
+ done: !1
154
+ };
155
+ case 5:
156
+ _.label++, y = op[1], op = [
157
+ 0
158
+ ];
159
+ continue;
160
+ case 7:
161
+ op = _.ops.pop(), _.trys.pop();
162
+ continue;
163
+ default:
164
+ if (t2 = _.trys, !(t2 = t2.length > 0 && t2[t2.length - 1]) && (op[0] === 6 || op[0] === 2)) {
165
+ _ = 0;
191
166
  continue;
192
- }
193
- op = body.call(thisArg, _);
194
- } catch (e) {
195
- op = [
196
- 6,
197
- e
198
- ], y = 0;
199
- } finally {
200
- f = t2 = 0;
167
+ }
168
+ if (op[0] === 3 && (!t2 || op[1] > t2[0] && op[1] < t2[3])) {
169
+ _.label = op[1];
170
+ break;
171
+ }
172
+ if (op[0] === 6 && _.label < t2[1]) {
173
+ _.label = t2[1], t2 = op;
174
+ break;
175
+ }
176
+ if (t2 && _.label < t2[2]) {
177
+ _.label = t2[2], _.ops.push(op);
178
+ break;
179
+ }
180
+ t2[2] && _.ops.pop(), _.trys.pop();
181
+ continue;
201
182
  }
202
- if (op[0] & 5)
203
- throw op[1];
183
+ op = body.call(thisArg, _);
184
+ } catch (e) {
185
+ op = [
186
+ 6,
187
+ e
188
+ ], y = 0;
189
+ } finally {
190
+ f = t2 = 0;
191
+ }
192
+ if (op[0] & 5) throw op[1];
204
193
  return {
205
194
  value: op[0] ? op[1] : void 0,
206
195
  done: !0
@@ -312,8 +301,7 @@ function _extractToClassNames() {
312
301
  }
313
302
  return style2;
314
303
  }, addStyles = function(style2) {
315
- if (!style2)
316
- return [];
304
+ if (!style2) return [];
317
305
  var styleWithPrev = ensureNeededPrevStyle(style2), res2 = getStylesAtomic(styleWithPrev);
318
306
  return res2.length && (finalStyles = _to_consumable_array(finalStyles).concat(_to_consumable_array(res2))), res2;
319
307
  }, lastMediaImportance = 1, _iteratorNormalCompletion1 = !0, _didIteratorError1 = !1, _iteratorError1 = void 0;
@@ -434,14 +422,13 @@ function _extractToClassNames() {
434
422
  var val1 = cssMap.get(className);
435
423
  val1.commentTexts.push(comment), cssMap.set(className, val1);
436
424
  }
437
- } else
438
- rules.length && cssMap.set(className, {
439
- css: rules.join(`
425
+ } else rules.length && cssMap.set(className, {
426
+ css: rules.join(`
440
427
  `),
441
- commentTexts: [
442
- comment
443
- ]
444
- });
428
+ commentTexts: [
429
+ comment
430
+ ]
431
+ });
445
432
  }
446
433
  } catch (err) {
447
434
  _didIteratorError3 = !0, _iteratorError3 = err;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/extractToClassNames.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,WAAsB,+BACtB,OAAsB,+BAEtB,mBAAqB,sCACrB,IAAmB,kCACnB,UAAyB,sCAGzB,4BAAmC,0CAEnC,oBAA2B,yBAC3B,wBAA+B,6BAE/B,+BAAsC,oCACtC,wBAA+B,6BAC/B,2BAAkC,gCAClC,yBAAgC,8BAChC,kBAAyB,uBACzB,gCAAgD,qCAChD,eAAsB,oBACtB,sBAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7B,IAAMA,mBAAmB;EACvBC,eAAe;EACfC,cAAc;EACdC,aAAa;EACbC,cAAc;AAChB;AAkBA,SAAsBC,oBAAoB,GAMf;SANLA,qBAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,uBAAAA;AAAAA,gCAAf,oBAAA,SAAmC,OAMf;QALzBC,WACAC,QAAAA,mBACAC,YACAC,SACAC,kBAEMC,IACEC,iBA4BFC,UAGFC,KAWEC,QACAC,gBAEFC,cAEEC,KA4TAC,QAMAC;;;;AA/WN,cATAd,YADwC,MACxCA,WACAC,SAFwC,MAExCA,QAAAA,oBAFwC,MAGxCC,YAAAA,aAAAA,sBAAAA,SAAa,KAAA,mBACbC,UAJwC,MAIxCA,SACAC,mBALwC,MAKxCA,kBAEMC,SAAKU,oBAAAA,GACHT,sBAAoBU,8CAAmB,KAAA,EAAvCV,iBAEJJ,WAAWe,SAAS,cAAA;AACtB,mBAAA;;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YAChB4J,YAAY;UACd,GACA7J,MAAAA,GAGEG,qBACFc,QAAQuB,KACN;;;GACA3B,OAAOiJ,KACJC,MAAM;CAAA,EACNxB,OAAO,SAACvE,GAAAA;mBAAM,CAACA,EAAEgG,WAAW,IAAA;aAC5BzH,KAAK;CAAA,CAAA,GAEVtB,QAAQuB,KAAK;;;GAA0C5B,MAAAA,IAGzDN,SAASK,GAAAA,GAET;;YAAO;cACLJ;cACAK;cACAqJ,IAAIpJ,OAAOiJ;cACX/F,KAAKlD,OAAOkD;YACd;;;;EACF,CAAA,GAzZsBjE,qBAAAA,MAAAA,MAAAA,SAAAA;;",
5
5
  "names": ["mergeStyleGroups", "shadowOpacity", "shadowRadius", "shadowColor", "shadowOffset", "extractToClassNames", "extractor", "source", "sourcePath", "options", "shouldPrintDebug", "tm", "getStylesAtomic", "printLog", "ast", "cssMap", "existingHoists", "hasFlattened", "res", "styles", "result", "timer", "requireTamaguiCore", "includes", "console", "warn", "Error", "path", "isAbsolute", "test", "slice", "disableExtraction", "loadTamagui", "createLogger", "babelParse", "err", "error", "mark", "Map", "parse", "platform", "extractStyledDefinitions", "onStyleRule", "identifier", "rules", "css", "join", "info", "set", "commentTexts", "getFlattenedNode", "param", "tag", "onExtractTag", "parserProps", "attrs", "node", "attemptEval", "jsxPath", "originalNodeName", "filePath", "lineNumbers", "programPath", "isFlattened", "staticConfig", "addTernaryStyle", "ternary", "a", "b", "cCN", "map", "x", "aCN", "length", "finalClassNames", "push", "t", "conditionalExpression", "stringLiteral", "acceptsClassName", "didFlattenThisTag", "finalAttrs", "finalStyles", "viewStyles", "attr", "type", "value", "ensureNeededPrevStyle", "style", "keys", "Object", "some", "key", "k", "addStyles", "styleWithPrev", "lastMediaImportance", "newFontFamily", "getFontFamilyClassNameFromProps", "newClassNames", "helpers", "concatClassName", "existing", "find", "previous", "replace", "prop", "pseudo", "property", "jsxAttribute", "jsxIdentifier", "val", "isJSXSpreadAttribute", "isSimpleSpread", "logicalExpression", "argument", "memberExpression", "name", "evaluatedValue", "mediaExtraction", "extractMediaStyle", "getTamagui", "ternaryWithoutMedia", "inlineMediaQuery", "mediaStyles", "consequent", "alternate", "logLines", "attributes", "extraClassNames", "process", "env", "TAMAGUI_DEBUG_OPTIMIZATIONS", "componentName", "names", "buildClassName", "nameExpr", "hoistClassNames", "expr", "isIdentifier", "ensureImportingConcat", "simpleSpreads", "filter", "callExpression", "jsxExpressionContainer", "comment", "util", "format", "className", "has", "get", "modified", "optimized", "flattened", "styled", "Array", "from", "values", "trim", "generate", "concise", "filename", "retainLines", "sourceFileName", "sourceMaps", "code", "split", "startsWith", "js"]
6
6
  }
@@ -32,8 +32,7 @@ const tamaguiDir = (0, import_node_path.join)(process.cwd(), ".tamagui"), confFi
32
32
  async function generateTamaguiStudioConfig(tamaguiOptions, configIn, rebuild = !1) {
33
33
  try {
34
34
  const config = configIn ?? await (0, import_bundleConfig.getBundledConfig)(tamaguiOptions, rebuild);
35
- if (!config)
36
- return;
35
+ if (!config) return;
37
36
  const out = transformConfig(config, tamaguiOptions.platform || "web");
38
37
  await FS.ensureDir((0, import_node_path.dirname)(confFile)), await FS.writeJSON(confFile, out, {
39
38
  spaces: 2
@@ -62,10 +61,8 @@ async function generateTamaguiThemes(tamaguiOptions, force = !1) {
62
61
  try {
63
62
  if (!await FS.pathExists(
64
63
  (0, import_node_path.join)(tamaguiDir, "theme-builder.json")
65
- ))
66
- return !0;
67
- if (!generatedOutput)
68
- return !1;
64
+ )) return !0;
65
+ if (!generatedOutput) return !1;
69
66
  const next = generatedOutput.generated, current = await FS.readFile(outPath, "utf-8");
70
67
  return next !== current;
71
68
  } catch {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/generateTamaguiStudioConfig.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAA8B,sBAE9B,yBAAqD,qCAErD,KAAoB,8BA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fig_exports);
31
31
  var import_node_path = require("node:path"), import_generate_themes = require("@tamagui/generate-themes"), FS = __toESM(require("fs-extra")), import_requireTamaguiCore = require("../helpers/requireTamaguiCore"), import_bundleConfig = require("./bundleConfig");
32
32
  function _array_like_to_array(arr, len) {
33
33
  (len == null || len > arr.length) && (len = arr.length);
34
- for (var i = 0, arr2 = new Array(len); i < len; i++)
35
- arr2[i] = arr[i];
34
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
36
35
  return arr2;
37
36
  }
38
37
  function _array_with_holes(arr) {
39
- if (Array.isArray(arr))
40
- return arr;
38
+ if (Array.isArray(arr)) return arr;
41
39
  }
42
40
  function _array_without_holes(arr) {
43
- if (Array.isArray(arr))
44
- return _array_like_to_array(arr);
41
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
45
42
  }
46
43
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
47
44
  try {
@@ -76,8 +73,7 @@ function _define_property(obj, key, value) {
76
73
  }) : obj[key] = value, obj;
77
74
  }
78
75
  function _iterable_to_array(iter) {
79
- if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
80
- return Array.from(iter);
76
+ if (typeof Symbol < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
81
77
  }
82
78
  function _iterable_to_array_limit(arr, i) {
83
79
  var _i = arr == null ? null : typeof Symbol < "u" && arr[Symbol.iterator] || arr["@@iterator"];
@@ -92,8 +88,7 @@ function _iterable_to_array_limit(arr, i) {
92
88
  try {
93
89
  !_n && _i.return != null && _i.return();
94
90
  } finally {
95
- if (_d)
96
- throw _e;
91
+ if (_d) throw _e;
97
92
  }
98
93
  }
99
94
  return _arr;
@@ -117,8 +112,7 @@ function _object_spread(target) {
117
112
  return target;
118
113
  }
119
114
  function _object_without_properties(source, excluded) {
120
- if (source == null)
121
- return {};
115
+ if (source == null) return {};
122
116
  var target = _object_without_properties_loose(source, excluded), key, i;
123
117
  if (Object.getOwnPropertySymbols) {
124
118
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -128,8 +122,7 @@ function _object_without_properties(source, excluded) {
128
122
  return target;
129
123
  }
130
124
  function _object_without_properties_loose(source, excluded) {
131
- if (source == null)
132
- return {};
125
+ if (source == null) return {};
133
126
  var target = {}, sourceKeys = Object.keys(source), key, i;
134
127
  for (i = 0; i < sourceKeys.length; i++)
135
128
  key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
@@ -143,21 +136,17 @@ function _to_consumable_array(arr) {
143
136
  }
144
137
  function _unsupported_iterable_to_array(o, minLen) {
145
138
  if (o) {
146
- if (typeof o == "string")
147
- return _array_like_to_array(o, minLen);
139
+ if (typeof o == "string") return _array_like_to_array(o, minLen);
148
140
  var n = Object.prototype.toString.call(o).slice(8, -1);
149
- if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
150
- return Array.from(n);
151
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
152
- return _array_like_to_array(o, minLen);
141
+ if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(n);
142
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
153
143
  }
154
144
  }
155
145
  function _ts_generator(thisArg, body) {
156
146
  var f, y, t, g, _ = {
157
147
  label: 0,
158
148
  sent: function() {
159
- if (t[0] & 1)
160
- throw t[1];
149
+ if (t[0] & 1) throw t[1];
161
150
  return t[1];
162
151
  },
163
152
  trys: [],
@@ -179,64 +168,60 @@ function _ts_generator(thisArg, body) {
179
168
  };
180
169
  }
181
170
  function step(op) {
182
- if (f)
183
- throw new TypeError("Generator is already executing.");
184
- for (; _; )
185
- try {
186
- if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
187
- return t;
188
- switch (y = 0, t && (op = [
189
- op[0] & 2,
190
- t.value
191
- ]), op[0]) {
192
- case 0:
193
- case 1:
194
- t = op;
195
- break;
196
- case 4:
197
- return _.label++, {
198
- value: op[1],
199
- done: !1
200
- };
201
- case 5:
202
- _.label++, y = op[1], op = [
203
- 0
204
- ];
205
- continue;
206
- case 7:
207
- op = _.ops.pop(), _.trys.pop();
208
- continue;
209
- default:
210
- if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
211
- _ = 0;
212
- continue;
213
- }
214
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
215
- _.label = op[1];
216
- break;
217
- }
218
- if (op[0] === 6 && _.label < t[1]) {
219
- _.label = t[1], t = op;
220
- break;
221
- }
222
- if (t && _.label < t[2]) {
223
- _.label = t[2], _.ops.push(op);
224
- break;
225
- }
226
- t[2] && _.ops.pop(), _.trys.pop();
171
+ if (f) throw new TypeError("Generator is already executing.");
172
+ for (; _; ) try {
173
+ if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
174
+ switch (y = 0, t && (op = [
175
+ op[0] & 2,
176
+ t.value
177
+ ]), op[0]) {
178
+ case 0:
179
+ case 1:
180
+ t = op;
181
+ break;
182
+ case 4:
183
+ return _.label++, {
184
+ value: op[1],
185
+ done: !1
186
+ };
187
+ case 5:
188
+ _.label++, y = op[1], op = [
189
+ 0
190
+ ];
191
+ continue;
192
+ case 7:
193
+ op = _.ops.pop(), _.trys.pop();
194
+ continue;
195
+ default:
196
+ if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
197
+ _ = 0;
227
198
  continue;
228
- }
229
- op = body.call(thisArg, _);
230
- } catch (e) {
231
- op = [
232
- 6,
233
- e
234
- ], y = 0;
235
- } finally {
236
- f = t = 0;
199
+ }
200
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
201
+ _.label = op[1];
202
+ break;
203
+ }
204
+ if (op[0] === 6 && _.label < t[1]) {
205
+ _.label = t[1], t = op;
206
+ break;
207
+ }
208
+ if (t && _.label < t[2]) {
209
+ _.label = t[2], _.ops.push(op);
210
+ break;
211
+ }
212
+ t[2] && _.ops.pop(), _.trys.pop();
213
+ continue;
237
214
  }
238
- if (op[0] & 5)
239
- throw op[1];
215
+ op = body.call(thisArg, _);
216
+ } catch (e) {
217
+ op = [
218
+ 6,
219
+ e
220
+ ], y = 0;
221
+ } finally {
222
+ f = t = 0;
223
+ }
224
+ if (op[0] & 5) throw op[1];
240
225
  return {
241
226
  value: op[0] ? op[1] : void 0,
242
227
  done: !0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/generateTamaguiStudioConfig.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uBAA8B,sBAE9B,yBAAqD,qCAErD,KAAoB,8BAEpB,4BAAmC,0CAGnC,sBAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAMA,iBAAaC,uBAAKC,QAAQC,IAAG,GAAI,UAAA,GACjCC,eAAWH,uBAAKD,YAAY,qBAAA;AAMlC,SAAsBK,4BACpBC,gBACAC,UAA+B;SAFXF,6BAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,+BAAAA;AAAAA,wCAAf,oBAAA,SACLC,gBACAC,UAA+B;QAC/BC,SAGQC,QAAAA,MAEAC,KAMC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AiBY,MAAMD,KAAAA,CAAK;EAE9C;MAGK,4BAAA,IAAA,oBAAA,IAAA,iBAAA;;AAAL,aAAK,YAAmBR,WAAAA,OAAAA,QAAAA,EAAAA,GAAnB,OAAA,EAAA,6BAAA,QAAA,UAAA,KAAA,GAAA,OAAA,4BAAA,IAA+B;AAA/B,UAAA,OAAA,MAAA,OAAMU,YAAAA;AACT,eAAK,SAAWA,UAAUC,YAAY;YAA3BrB,IAAAA,OAEHsB,iBAAiB,eAAA,CAAA,GAAKF,UAAUC,WAAWrB,CAAAA,CAAE;AACnDoB,kBAAUC,WAAWrB,CAAAA,IAAKsB;AAE1B,YAAwCA,+BAAAA,eAAeC,cAA/CC,qBAAgCF,6BAAhCE,oBAAuBC,OAAAA,2BAASH,8BAAAA;UAAhCE;;AACRF,uBAAeC,eAAeE;MAChC;IACF;;AATK,wBAAA,IAAA,iBAAA;;;OAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;UAAA;cAAA;;;AAYL1C,OAAK4B,cAAc,CAAC;AACpB,WAAWI,QAAOJ;AAChB5B,SAAK4B,YAAYI,IAAAA,IAAQ,qBAAGJ,YAAYI,IAAAA,CAAI;AAI9C,MACEhC,sBAAAA,KAAK6B,eADCc,cACN3C,oBADM2C,aAAaC,SACnB5C,oBADmB4C,QAAQC,eAC3B7C,oBAD2B6C,cAAcC,cACzC9C,oBADyC8C,aAAgBC,gBAAAA,2BACzD/C,qBAAAA;IADM2C;IAAaC;IAAQC;IAAcC;;AAG3C,SAAO;IACLnB;IACAC;IACAC,eAAekB;EACjB;AACF;",
5
5
  "names": ["tamaguiDir", "join", "process", "cwd", "confFile", "generateTamaguiStudioConfig", "tamaguiOptions", "configIn", "rebuild", "config", "out", "err", "getBundledConfig", "transformConfig", "platform", "FS", "ensureDir", "dirname", "writeJSON", "spaces", "env", "DEBUG", "includes", "IS_TAMAGUI_DEV", "console", "warn", "generateTamaguiStudioConfigSync", "_tamaguiOptions", "ensureDirSync", "writeJSONSync", "generateTamaguiThemes", "force", "input", "output", "inPath", "outPath", "generatedOutput", "hasChanged", "themeBuilder", "resolveRelativePath", "generateThemes", "themeBuilderJsonExists", "next", "current", "pathExists", "_state", "generated", "readFile", "writeGeneratedThemes", "inputPath", "startsWith", "require", "resolve", "cloneDeepSafe", "x", "excludeKeys", "Array", "isArray", "map", "_", "Object", "fromEntries", "entries", "flatMap", "k", "v", "getVariableValue", "requireTamaguiCore", "validStyles", "components", "nameToPaths", "tamaguiConfig", "themes", "tokens", "key", "theme", "id", "tkey", "token", "component", "nameToInfo", "compDefinition", "staticConfig", "parentStaticConfig", "rest", "fontsParsed", "getCSS", "tokensParsed", "themeConfig", "cleanedConfig"]
6
6
  }
@@ -28,10 +28,8 @@ __export(generatedUid_exports, {
28
28
  module.exports = __toCommonJS(generatedUid_exports);
29
29
  var t = __toESM(require("@babel/types"));
30
30
  function generateUid(scope, name) {
31
- if (typeof scope != "object")
32
- throw "generateUid expects a scope object as its first parameter";
33
- if (!(typeof name == "string" && name !== ""))
34
- throw "generateUid expects a valid name as its second parameter";
31
+ if (typeof scope != "object") throw "generateUid expects a scope object as its first parameter";
32
+ if (!(typeof name == "string" && name !== "")) throw "generateUid expects a valid name as its second parameter";
35
33
  name = t.toIdentifier(name).replace(/^_+/, "").replace(/[0-9]+$/g, "");
36
34
  var uid, i = 0;
37
35
  do
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/generatedUid.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;QAAmB;AAQZ,SAASA,YAAYC,OAAYC,MAAY;AAClD,MAAM,OAAOD,SAAU;AACrB,UAAM;AACR,MAAI,EAAE,OAAOC,QAAS,YAAYA,SAAS;AACzC,UAAM;AAERA,SAAOC,EACJC,aAAaF,IAAAA,EACbG,QAAQ,OAAO,EAAA,EACfA,QAAQ,YAAY,EAAA;AAEvB,MAAIC,KACAC,IAAI;AACR;AACE,IAAIA,IAAI,IACND,MAAMJ,OAAOK,IAEbD,MAAMJ,MAERK;SAEAN,MAAMO,SAASF,GAAAA,KACfL,MAAMQ,WAAWH,GAAAA,KACjBL,MAAMS,UAAUJ,GAAAA,KAChBL,MAAMU,aAAaL,GAAAA;AAGrB,MAAMM,UAAUX,MAAMY,iBAAgB;AACtCD,iBAAQE,WAAWR,GAAAA,IAAO,IAC1BM,QAAQG,KAAKT,GAAAA,IAAO,IAEbA;AACT;",
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;QAAmB;AAQZ,SAASA,YAAYC,OAAYC,MAAY;AAClD,MAAM,OAAOD,SAAU,SACrB,OAAM;AACR,MAAI,EAAE,OAAOC,QAAS,YAAYA,SAAS,IACzC,OAAM;AAERA,SAAOC,EACJC,aAAaF,IAAAA,EACbG,QAAQ,OAAO,EAAA,EACfA,QAAQ,YAAY,EAAA;AAEvB,MAAIC,KACAC,IAAI;AACR;AACE,IAAIA,IAAI,IACND,MAAMJ,OAAOK,IAEbD,MAAMJ,MAERK;SAEAN,MAAMO,SAASF,GAAAA,KACfL,MAAMQ,WAAWH,GAAAA,KACjBL,MAAMS,UAAUJ,GAAAA,KAChBL,MAAMU,aAAaL,GAAAA;AAGrB,MAAMM,UAAUX,MAAMY,iBAAgB;AACtCD,iBAAQE,WAAWR,GAAAA,IAAO,IAC1BM,QAAQG,KAAKT,GAAAA,IAAO,IAEbA;AACT;",
5
5
  "names": ["generateUid", "scope", "name", "t", "toIdentifier", "replace", "uid", "i", "hasLabel", "hasBinding", "hasGlobal", "hasReference", "program", "getProgramParent", "references", "uids"]
6
6
  }
@@ -51,13 +51,11 @@ function importModule(path) {
51
51
  if (child || forkChild(), pending.has(path))
52
52
  return pending.get(path);
53
53
  const promise = new Promise((res, rej) => {
54
- if (!child)
55
- return;
54
+ if (!child) return;
56
55
  if (cache.size > 2e3 && cache.clear(), cache.has(path))
57
56
  return cache.get(path);
58
57
  const listener = (msg) => {
59
- if (!child || !msg || typeof msg != "string")
60
- return;
58
+ if (!child || !msg || typeof msg != "string") return;
61
59
  if (msg[0] === "-") {
62
60
  rej(new Error(msg.slice(1)));
63
61
  return;
@@ -78,12 +76,10 @@ async function getStaticBindingsForScope(scope, whitelist = [], sourcePath, bind
78
76
  if (!node.specifiers.length || !isLocalImport(importPath))
79
77
  continue;
80
78
  const moduleName = resolveImportPath(sourcePath, importPath);
81
- if (!whitelist.some((test) => moduleName.endsWith(test)))
82
- continue;
79
+ if (!whitelist.some((test) => moduleName.endsWith(test))) continue;
83
80
  try {
84
81
  const src = await importModule(moduleName);
85
- if (!src)
86
- continue;
82
+ if (!src) continue;
87
83
  for (const specifier of node.specifiers)
88
84
  if (t.isImportSpecifier(specifier) && t.isIdentifier(specifier.imported) && typeof src[specifier.imported.name] < "u") {
89
85
  const val = src[specifier.local.name];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/getStaticBindingsForScope.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,gCAAqB,+BACrB,mBAAgD,sBAGhD,IAAmB,kCAEnB,yBAAgC,8BAChC,yBAAgC;AAMhC,MAAM,gBAAgB,CAAC,SAAiB,KAAK,WAAW,GAAG,KAAK,KAAK,WAAW,GAAG;AAEnF,SAAS,kBAAkB,YAAoB,MAAc;AAC3D,QAAM,gBAAY,0BAAQ,UAAU;AACpC,SAAI,cAAc,IAAI,SAChB,0BAAQ,IAAI,MAAM,OACpB,QAAQ,SAEH,0BAAQ,WAAW,IAAI,KAEzB;AACT;AAEA,MAAM,QAAQ,oBAAI,IAAI,GAChB,UAAU,oBAAI,IAA0B,GAExC,UAAU,OAAG,uBAAK,WAAW,aAAa,CAAC;AAEjD,IAAI,SAAS,IAET,QAA6B;AAEjC,SAAS,YAAY;AACnB,cAAQ,gCAAK,SAAS,CAAC,GAAG;AAAA,IACxB,UA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