@tamagui/static 1.101.0 → 1.101.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/dist/cjs/extractor/createExtractor.js +21 -12
  2. package/dist/cjs/extractor/createExtractor.js.map +1 -1
  3. package/dist/cjs/extractor/createExtractor.native.js +18 -12
  4. package/dist/cjs/extractor/createExtractor.native.js.map +2 -2
  5. package/dist/cjs/extractor/extractMediaStyle.js +2 -2
  6. package/dist/cjs/extractor/extractMediaStyle.js.map +1 -1
  7. package/dist/cjs/extractor/extractMediaStyle.native.js +2 -2
  8. package/dist/cjs/extractor/extractMediaStyle.native.js.map +2 -2
  9. package/dist/cjs/extractor/extractToClassNames.js +17 -15
  10. package/dist/cjs/extractor/extractToClassNames.js.map +1 -1
  11. package/dist/cjs/extractor/extractToClassNames.native.js +12 -14
  12. package/dist/cjs/extractor/extractToClassNames.native.js.map +2 -2
  13. package/dist/esm/extractor/createExtractor.js +24 -11
  14. package/dist/esm/extractor/createExtractor.js.map +1 -1
  15. package/dist/esm/extractor/createExtractor.mjs +16 -12
  16. package/dist/esm/extractor/createExtractor.native.js +18 -11
  17. package/dist/esm/extractor/createExtractor.native.js.map +2 -2
  18. package/dist/esm/extractor/extractMediaStyle.js +2 -2
  19. package/dist/esm/extractor/extractMediaStyle.js.map +1 -1
  20. package/dist/esm/extractor/extractMediaStyle.mjs +2 -2
  21. package/dist/esm/extractor/extractMediaStyle.native.js +2 -2
  22. package/dist/esm/extractor/extractMediaStyle.native.js.map +2 -2
  23. package/dist/esm/extractor/extractToClassNames.js +16 -15
  24. package/dist/esm/extractor/extractToClassNames.js.map +1 -1
  25. package/dist/esm/extractor/extractToClassNames.mjs +14 -16
  26. package/dist/esm/extractor/extractToClassNames.native.js +11 -14
  27. package/dist/esm/extractor/extractToClassNames.native.js.map +2 -2
  28. package/package.json +15 -15
  29. package/src/extractor/createExtractor.ts +23 -22
  30. package/src/extractor/extractMediaStyle.ts +2 -2
  31. package/src/extractor/extractToClassNames.ts +30 -16
  32. package/types/extractor/babelParse.d.ts +0 -1
  33. package/types/extractor/babelParse.d.ts.map +1 -1
  34. package/types/extractor/createEvaluator.d.ts.map +1 -1
  35. package/types/extractor/createExtractor.d.ts.map +1 -1
  36. package/types/extractor/extractToClassNames.d.ts +0 -1
  37. package/types/extractor/extractToClassNames.d.ts.map +1 -1
  38. package/types/extractor/getStaticBindingsForScope.d.ts.map +1 -1
  39. package/types/extractor/loadTamagui.d.ts.map +1 -1
@@ -25,7 +25,7 @@ __export(createExtractor_exports, {
25
25
  createExtractor: () => createExtractor
26
26
  });
27
27
  module.exports = __toCommonJS(createExtractor_exports);
28
- var import_node_path = require("node:path"), import_traverse = __toESM(require("@babel/traverse")), t = __toESM(require("@babel/types")), import_cli_color = require("@tamagui/cli-color"), reactNativeWebInternals = __toESM(require("react-native-web-internals")), import_constants = require("../constants"), import_requireTamaguiCore = require("../helpers/requireTamaguiCore"), import_createEvaluator = require("./createEvaluator"), import_evaluateAstNode = require("./evaluateAstNode"), import_extractHelpers = require("./extractHelpers"), import_findTopmostFunction = require("./findTopmostFunction"), import_getStaticBindingsForScope = require("./getStaticBindingsForScope"), import_literalToAst = require("./literalToAst"), import_loadTamagui = require("./loadTamagui"), import_logLines = require("./logLines"), import_normalizeTernaries = require("./normalizeTernaries"), import_propsToFontFamilyCache = require("./propsToFontFamilyCache"), import_removeUnusedHooks = require("./removeUnusedHooks"), import_timer = require("./timer"), import_validHTMLAttributes = require("./validHTMLAttributes");
28
+ var import_node_path = require("node:path"), import_traverse = __toESM(require("@babel/traverse")), t = __toESM(require("@babel/types")), import_cli_color = require("@tamagui/cli-color"), import_web = require("@tamagui/web"), reactNativeWebInternals = __toESM(require("react-native-web-internals")), import_constants = require("../constants"), import_requireTamaguiCore = require("../helpers/requireTamaguiCore"), import_createEvaluator = require("./createEvaluator"), import_evaluateAstNode = require("./evaluateAstNode"), import_extractHelpers = require("./extractHelpers"), import_findTopmostFunction = require("./findTopmostFunction"), import_getStaticBindingsForScope = require("./getStaticBindingsForScope"), import_literalToAst = require("./literalToAst"), import_loadTamagui = require("./loadTamagui"), import_logLines = require("./logLines"), import_normalizeTernaries = require("./normalizeTernaries"), import_propsToFontFamilyCache = require("./propsToFontFamilyCache"), import_removeUnusedHooks = require("./removeUnusedHooks"), import_timer = require("./timer"), import_validHTMLAttributes = require("./validHTMLAttributes");
29
29
  const UNTOUCHED_PROPS = {
30
30
  key: !0,
31
31
  style: !0,
@@ -169,7 +169,10 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
169
169
  `
170
170
  ), console.info(" Got config:", tamaguiConfig), process.exit(0));
171
171
  const firstThemeName = Object.keys(tamaguiConfig?.themes || {})[0], firstTheme = tamaguiConfig?.themes[firstThemeName] || {};
172
- (!firstTheme || typeof firstTheme != "object") && (console.error("Missing theme, an error occurred when importing your config"), console.info("Got config:", tamaguiConfig), console.info("Looking for theme:", firstThemeName), process.exit(0));
172
+ if (!firstTheme || typeof firstTheme != "object") {
173
+ const err = `Missing theme ${firstThemeName}, an error occurred when importing your config`;
174
+ throw console.info(err, "Got config:", tamaguiConfig), console.info("Looking for theme:", firstThemeName), new Error(err);
175
+ }
173
176
  const proxiedTheme = proxyThemeVariables(firstTheme), themeAccessListeners = /* @__PURE__ */ new Set(), defaultTheme = new Proxy(proxiedTheme, {
174
177
  get(target, key) {
175
178
  return Reflect.has(target, key) && themeAccessListeners.forEach((cb) => cb(String(key))), Reflect.get(target, key);
@@ -350,7 +353,7 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
350
353
  JSON.stringify(classNames, null, 2),
351
354
  `
352
355
  rulesToInsert:`,
353
- out.rulesToInsert.flatMap((rule) => rule.rules).join(`
356
+ out.rulesToInsert.flatMap((styleObject) => styleObject[import_web.StyleObjectRules]).join(`
354
357
  `)
355
358
  ].join(" ")
356
359
  ), definition.properties = definition.properties.map((prop) => {
@@ -359,14 +362,17 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
359
362
  const key = prop.key.name, value = classNames[key];
360
363
  return value ? t.objectProperty(t.stringLiteral(key), t.stringLiteral(value)) : prop;
361
364
  }), out.rulesToInsert)
362
- for (const { identifier, rules } of out.rulesToInsert)
363
- onStyleRule?.(identifier, rules);
365
+ for (const styleObject of out.rulesToInsert)
366
+ onStyleRule?.(
367
+ styleObject[import_web.StyleObjectIdentifier],
368
+ styleObject[import_web.StyleObjectRules]
369
+ );
364
370
  res.styled++, shouldPrintDebug && logger.info(`Extracted styled(${variableName})`);
365
371
  },
366
372
  JSXElement(traversePath) {
367
373
  tm.mark("jsx-element", !!shouldPrintDebug);
368
374
  const node = traversePath.node.openingElement, ogAttributes = node.attributes.map((attr) => ({ ...attr })), componentName = (0, import_extractHelpers.findComponentName)(traversePath.scope), closingElement = traversePath.node.closingElement;
369
- if (shouldPrintDebug && logger.info(` start ${node.name}`), closingElement && t.isJSXMemberExpression(closingElement?.name) || !t.isJSXIdentifier(node.name)) {
375
+ if (closingElement && t.isJSXMemberExpression(closingElement?.name) || !t.isJSXIdentifier(node.name)) {
370
376
  shouldPrintDebug && logger.info(" skip non-identifier element");
371
377
  return;
372
378
  }
@@ -374,13 +380,16 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
374
380
  let moduleName = "";
375
381
  if (binding && t.isImportDeclaration(binding.path.parent) && (moduleName = binding.path.parent.source.value, !(0, import_extractHelpers.isValidImport)(propsWithFileInfo, moduleName, binding.identifier.name))) {
376
382
  shouldPrintDebug && logger.info(
377
- ` - Binding for ${componentName} not internal import or from components ${binding.identifier.name} in ${moduleName}`
383
+ ` - Binding in component ${componentName} not valid import: "${binding.identifier.name}" isn't in ${moduleName}
384
+ `
378
385
  );
379
386
  return;
380
387
  }
381
388
  const component = (0, import_extractHelpers.getValidComponent)(propsWithFileInfo, moduleName, node.name.name);
382
389
  if (!component || !component.staticConfig) {
383
- shouldPrintDebug && logger.info(` - No Tamagui conf on this: ${node.name.name}`);
390
+ shouldPrintDebug && logger.info(`
391
+ - No Tamagui conf for: ${node.name.name}
392
+ `);
384
393
  return;
385
394
  }
386
395
  const originalNodeName = node.name.name;
@@ -388,9 +397,8 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
388
397
  const filePath = `./${(0, import_node_path.relative)(process.cwd(), sourcePath)}`, lineNumbers = node.loc ? node.loc.start.line + (node.loc.start.line !== node.loc.end.line ? `-${node.loc.end.line}` : "") : "", codePosition = `${filePath}:${lineNumbers}`, debugPropValue = node.attributes.filter(
389
398
  (n) => t.isJSXAttribute(n) && t.isJSXIdentifier(n.name) && n.name.name === "debug"
390
399
  ).map((n) => n.value === null ? !0 : t.isStringLiteral(n.value) ? n.value.value : !1)[0];
391
- if (debugPropValue && (shouldPrintDebug = debugPropValue), shouldPrintDebug && (logger.info(`
392
- `), logger.info(
393
- `\x1B[33m%s\x1B[0m ${componentName} | ${codePosition} -------------------`
400
+ if (debugPropValue && (shouldPrintDebug = debugPropValue), shouldPrintDebug && (logger.info(
401
+ `\x1B[33m\x1B[0m ${componentName} | ${codePosition} -------------------`
394
402
  ), logger.info(
395
403
  [
396
404
  "\x1B[1m",
@@ -408,7 +416,8 @@ function createExtractor({ logger = console, platform = "web" } = { logger: cons
408
416
  t.stringLiteral(`${(0, import_node_path.basename)(filePath)}:${lineNumbers}`)
409
417
  )
410
418
  )), shouldDisableExtraction) {
411
- shouldPrintDebug === "verbose" && console.info(" Extraction disabled");
419
+ shouldPrintDebug === "verbose" && logger.info(` \u274C Extraction disabled: ${JSON.stringify(disableExtraction)}
420
+ `);
412
421
  return;
413
422
  }
414
423
  try {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/createExtractor.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,uBAAmC,sBAGnC,kBAAqB,qCACrB,IAAmB,kCACnB,mBAAgC,+BAShC,0BAAyC,gDAEzC,mBAA4B,yBAC5B,4BAAmC,0CAWnC,yBAAqD,8BACrD,yBAAgC,8BA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AE,GAC7D,OAAO,KAAK;AAAA,OAAsB,0BAAS,MAAM,IAAI,6BAAO,EAAE,KAAK,IAAI,CAAC,CAAC,EAAE,IAG7E,aAAa;AAAA,YACX,aAAa;AAAA,YACb;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,QAAQ;AAAA,YACR;AAAA,YACA,SAAS;AAAA,YACT;AAAA,YACA,aAAa;AAAA,YACb;AAAA,YACA;AAAA,YACA;AAAA,UACF,CAAC;AAAA,QACH,SAAS,KAAU;AACjB,eAAK,aAAa,cAClB,QAAQ;AAAA,YACN,qDAAqD,QAAQ,IAAI,WAAW,OAAO,gBAAgB,KAAK,IAAI,OAAO;AAAA,UACrH,GACI,QAAQ,IAAI,kBAAkB,OAChC,QAAQ,MAAM,IAAI,KAAK;AAAA,QAE3B,UAAE;AACA,UAAI,mBACF,mBAAmB;AAAA,QAEvB;AAAA,MACF;AAAA,IACF,CAAC,GAED,GAAG,KAAK,YAAY,CAAC,CAAC,gBAAgB,GAKlC,mBAAmB,MAAM;AAC3B,YAAM,MAAM,MAAM,KAAK,kBAAkB;AACzC,MAAI,oBACF,OAAO,KAAK,4BAAqB,IAAI,MAAM,EAAE;AAE/C,iBAAW,QAAQ;AACjB,wDAAkB,MAAM,gBAAgB;AAAA,IAE5C;AAEA,cAAG,KAAK,qBAAqB,SAAS,GAE/B;AAAA,EACT;AACF;",
5
5
  "names": ["projectInfo", "platform", "traverse", "out", "ternaries", "value", "res", "key", "prev"]
6
6
  }
@@ -26,7 +26,7 @@ __export(createExtractor_exports, {
26
26
  createExtractor: () => createExtractor
27
27
  });
28
28
  module.exports = __toCommonJS(createExtractor_exports);
29
- var import_node_path = require("node:path"), import_traverse = __toESM(require("@babel/traverse")), t = __toESM(require("@babel/types")), import_cli_color = require("@tamagui/cli-color"), reactNativeWebInternals = __toESM(require("react-native-web-internals")), import_constants = require("../constants"), import_requireTamaguiCore = require("../helpers/requireTamaguiCore"), import_createEvaluator = require("./createEvaluator"), import_evaluateAstNode = require("./evaluateAstNode"), import_extractHelpers = require("./extractHelpers"), import_findTopmostFunction = require("./findTopmostFunction"), import_getStaticBindingsForScope = require("./getStaticBindingsForScope"), import_literalToAst = require("./literalToAst"), import_loadTamagui = require("./loadTamagui"), import_logLines = require("./logLines"), import_normalizeTernaries = require("./normalizeTernaries"), import_propsToFontFamilyCache = require("./propsToFontFamilyCache"), import_removeUnusedHooks = require("./removeUnusedHooks"), import_timer = require("./timer"), import_validHTMLAttributes = require("./validHTMLAttributes");
29
+ var import_node_path = require("node:path"), import_traverse = __toESM(require("@babel/traverse")), t = __toESM(require("@babel/types")), import_cli_color = require("@tamagui/cli-color"), import_web = require("@tamagui/web"), reactNativeWebInternals = __toESM(require("react-native-web-internals")), import_constants = require("../constants"), import_requireTamaguiCore = require("../helpers/requireTamaguiCore"), import_createEvaluator = require("./createEvaluator"), import_evaluateAstNode = require("./evaluateAstNode"), import_extractHelpers = require("./extractHelpers"), import_findTopmostFunction = require("./findTopmostFunction"), import_getStaticBindingsForScope = require("./getStaticBindingsForScope"), import_literalToAst = require("./literalToAst"), import_loadTamagui = require("./loadTamagui"), import_logLines = require("./logLines"), import_normalizeTernaries = require("./normalizeTernaries"), import_propsToFontFamilyCache = require("./propsToFontFamilyCache"), import_removeUnusedHooks = require("./removeUnusedHooks"), import_timer = require("./timer"), import_validHTMLAttributes = require("./validHTMLAttributes");
30
30
  function _array_like_to_array(arr, len) {
31
31
  (len == null || len > arr.length) && (len = arr.length);
32
32
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
@@ -426,7 +426,10 @@ function createExtractor() {
426
426
  - or search your lockfile for mis-matches.
427
427
  `), console.info(" Got config:", tamaguiConfig), process.exit(0));
428
428
  var firstThemeName = Object.keys((tamaguiConfig == null ? void 0 : tamaguiConfig.themes) || {})[0], firstTheme = (tamaguiConfig == null ? void 0 : tamaguiConfig.themes[firstThemeName]) || {};
429
- (!firstTheme || typeof firstTheme != "object") && (console.error("Missing theme, an error occurred when importing your config"), console.info("Got config:", tamaguiConfig), console.info("Looking for theme:", firstThemeName), process.exit(0));
429
+ if (!firstTheme || typeof firstTheme != "object") {
430
+ var _$err = "Missing theme ".concat(firstThemeName, ", an error occurred when importing your config");
431
+ throw console.info(_$err, "Got config:", tamaguiConfig), console.info("Looking for theme:", firstThemeName), new Error(_$err);
432
+ }
430
433
  var proxiedTheme = proxyThemeVariables(firstTheme), themeAccessListeners = /* @__PURE__ */ new Set(), defaultTheme = new Proxy(proxiedTheme, {
431
434
  get: function(target, key) {
432
435
  return Reflect.has(target, key) && themeAccessListeners.forEach(function(cb) {
@@ -592,8 +595,8 @@ function createExtractor() {
592
595
  JSON.stringify(classNames, null, 2),
593
596
  `
594
597
  rulesToInsert:`,
595
- out2.rulesToInsert.flatMap(function(rule) {
596
- return rule.rules;
598
+ out2.rulesToInsert.flatMap(function(styleObject2) {
599
+ return styleObject2[import_web.StyleObjectRules];
597
600
  }).join(`
598
601
  `)
599
602
  ].join(" ")), definition.properties = definition.properties.map(function(prop) {
@@ -605,8 +608,8 @@ function createExtractor() {
605
608
  var _iteratorNormalCompletion12 = !0, _didIteratorError12 = !1, _iteratorError12 = void 0;
606
609
  try {
607
610
  for (var _iterator12 = out2.rulesToInsert[Symbol.iterator](), _step12; !(_iteratorNormalCompletion12 = (_step12 = _iterator12.next()).done); _iteratorNormalCompletion12 = !0) {
608
- var _step_value = _step12.value, identifier = _step_value.identifier, rules = _step_value.rules;
609
- onStyleRule == null || onStyleRule(identifier, rules);
611
+ var styleObject = _step12.value;
612
+ onStyleRule == null || onStyleRule(styleObject[import_web.StyleObjectIdentifier], styleObject[import_web.StyleObjectRules]);
610
613
  }
611
614
  } catch (err) {
612
615
  _didIteratorError12 = !0, _iteratorError12 = err;
@@ -629,18 +632,21 @@ function createExtractor() {
629
632
  var node = traversePath.node.openingElement, ogAttributes = node.attributes.map(function(attr3) {
630
633
  return _object_spread({}, attr3);
631
634
  }), componentName = (0, import_extractHelpers.findComponentName)(traversePath.scope), closingElement = traversePath.node.closingElement;
632
- if (shouldPrintDebug && logger.info(" start ".concat(node.name)), closingElement && t.isJSXMemberExpression(closingElement == null ? void 0 : closingElement.name) || !t.isJSXIdentifier(node.name)) {
635
+ if (closingElement && t.isJSXMemberExpression(closingElement == null ? void 0 : closingElement.name) || !t.isJSXIdentifier(node.name)) {
633
636
  shouldPrintDebug && logger.info(" skip non-identifier element");
634
637
  return;
635
638
  }
636
639
  var binding = traversePath.scope.getBinding(node.name.name), moduleName = "";
637
640
  if (binding && t.isImportDeclaration(binding.path.parent) && (moduleName = binding.path.parent.source.value, !(0, import_extractHelpers.isValidImport)(propsWithFileInfo, moduleName, binding.identifier.name))) {
638
- shouldPrintDebug && logger.info(" - Binding for ".concat(componentName, " not internal import or from components ").concat(binding.identifier.name, " in ").concat(moduleName));
641
+ shouldPrintDebug && logger.info(" - Binding in component ".concat(componentName, ' not valid import: "').concat(binding.identifier.name, `" isn't in `).concat(moduleName, `
642
+ `));
639
643
  return;
640
644
  }
641
645
  var component = (0, import_extractHelpers.getValidComponent)(propsWithFileInfo, moduleName, node.name.name);
642
646
  if (!component || !component.staticConfig) {
643
- shouldPrintDebug && logger.info(" - No Tamagui conf on this: ".concat(node.name.name));
647
+ shouldPrintDebug && logger.info(`
648
+ - No Tamagui conf for: `.concat(node.name.name, `
649
+ `));
644
650
  return;
645
651
  }
646
652
  var originalNodeName = node.name.name;
@@ -650,14 +656,14 @@ function createExtractor() {
650
656
  }).map(function(n) {
651
657
  return n.value === null ? !0 : t.isStringLiteral(n.value) ? n.value.value : !1;
652
658
  })[0];
653
- if (debugPropValue && (shouldPrintDebug = debugPropValue), shouldPrintDebug && (logger.info(`
654
- `), logger.info("\x1B[33m%s\x1B[0m " + "".concat(componentName, " | ").concat(codePosition, " -------------------")), logger.info([
659
+ if (debugPropValue && (shouldPrintDebug = debugPropValue), shouldPrintDebug && (logger.info("\x1B[33m\x1B[0m " + "".concat(componentName, " | ").concat(codePosition, " -------------------")), logger.info([
655
660
  "\x1B[1m",
656
661
  "\x1B[32m",
657
662
  "<".concat(originalNodeName, " />"),
658
663
  disableDebugAttr ? "" : "\u{1F41B}"
659
664
  ].join(" "))), shouldAddDebugProp && !disableDebugAttr && (res.modified++, node.attributes.unshift(t.jsxAttribute(t.jsxIdentifier("data-is"), t.stringLiteral(node.name.name))), componentName && node.attributes.unshift(t.jsxAttribute(t.jsxIdentifier("data-in"), t.stringLiteral(componentName))), node.attributes.unshift(t.jsxAttribute(t.jsxIdentifier("data-at"), t.stringLiteral("".concat((0, import_node_path.basename)(filePath), ":").concat(lineNumbers))))), shouldDisableExtraction) {
660
- shouldPrintDebug === "verbose" && console.info(" Extraction disabled");
665
+ shouldPrintDebug === "verbose" && logger.info(" \u274C Extraction disabled: ".concat(JSON.stringify(disableExtraction), `
666
+ `));
661
667
  return;
662
668
  }
663
669
  try {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/createExtractor.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AACA,uBAAmC,sBAGnC,kBAAqB,qCACrB,IAAmB,kCACnB,mBAAgC,+BAShC,0BAAyC,gDAEzC,mBAA4B,yBAC5B,4BAAmC,0CAWnC,yBAAqD,8BACrD,yBAAgC,8BAChC,wBASO,6BACP,6BAAoC,kCACpC,mCAA6D,wCAC7D,sBAA6B,2BAC7B,qBAA6C,0BAC7C,kBAAyB,uBACzB,4BAAmC,iCACnC,gCAAqC,qCACrC,2BAAkC,gCAClC,eAAsB,oBACtB,6BAAoC;AAlDP,SAAA,qBAAA,KAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AEvB;MACF;IACF,CAAA,GAEAC,GAAGY,KAAK,YAAY,CAAC,CAAC9B,gBAAAA,GAKlBiF,mBAAmBmO,MAAM;AAC3B,UAAM2D,MAAM9W,MAAM+W,KAAK/R,kBAAAA;AACvB,MAAIjF,oBACFjE,OAAOwE,KAAM,4BAA+B,OAAXwW,IAAI5T,MAAM,CAAA;UAExC,6BAAA,IAAA,qBAAA,IAAA,kBAAA;;AAAL,iBAAK,aAAc4T,IAAAA,OAAAA,QAAAA,EAAAA,GAAd,QAAA,EAAA,8BAAA,SAAA,WAAA,KAAA,GAAA,OAAA,6BAAA,IAAmB;AAAnB,cAAMxV,OAAN,OAAA;AACH0V,0DAAkB1V,MAAMvB,gBAAAA;QAC1B;;AAFK,6BAAA,IAAA,kBAAA;;;WAAA,8BAAA,WAAA,UAAA,QAAA,WAAA,OAAA;;cAAA;kBAAA;;;IAGP;AAEAkB,cAAGgW,KAAKlX,qBAAqB,SAAA,GAEtBwF;EACT;AACF;",
5
- "names": ["UNTOUCHED_PROPS", "key", "style", "className", "validHooks", "useMedia", "useTheme", "createTernary", "x", "hasLoggedBaseInfo", "isFullyDisabled", "props", "disableExtraction", "disableDebugAttr", "createExtractor", "logger", "console", "platform", "INLINE_EXTRACTABLE", "ref", "onPress", "onHoverIn", "onHoverOut", "onPressIn", "onPressOut", "componentState", "focus", "focusVisible", "hover", "unmounted", "press", "pressIn", "disabled", "styleProps", "resolveValues", "noClassNames", "isAnimated", "shouldAddDebugProp", "process", "env", "npm_package_dependencies_next", "projectInfo", "loadSync", "loadTamaguiSync", "load", "loadTamagui", "options", "cleanupBeforeExit", "getTamagui", "tamaguiConfig", "parseSync", "f", "parseWithConfig", "parse", "fileOrPath", "components", "config", "importsWhitelist", "evaluateVars", "sourcePath", "onExtractTag", "onStyleRule", "getFlattenedNode", "disable", "disableExtractInlineMedia", "disableExtractVariables", "enableDynamicEvaluation", "includeExtensions", "extractStyledDefinitions", "prefixLogs", "excludeProps", "restProps", "includes", "requireTamaguiCore", "normalizeStyle", "getSplitStyles", "mediaQueryConfig", "propMapper", "proxyThemeVariables", "pseudoDescriptors", "shouldPrintDebug", "Array", "isArray", "Error", "some", "ext", "endsWith", "info", "join", "isValidStyleKey", "name", "staticConfig", "slice", "validStyles", "variants", "shorthands", "isTargetingHTML", "ogDebug", "tm", "timer", "propsWithFileInfo", "allLoadedComponents", "map", "comp", "Object", "keys", "nameToInfo", "DEBUG", "startsWith", "moduleName", "mark", "themes", "error", "exit", "firstThemeName", "firstTheme", "proxiedTheme", "themeAccessListeners", "Set", "defaultTheme", "Proxy", "get", "target", "Reflect", "has", "forEach", "cb", "String", "body", "type", "program", "length", "warn", "k", "JSON", "stringify", "getValidComponentsPaths", "doesUseValidImport", "hasImportedTheme", "importDeclarations", "bodyPath", "node", "source", "value", "valid", "isValidImport", "push", "specifiers", "specifier", "local", "names", "isValidComponent", "Boolean", "getValidImportedComponent", "componentName", "importDeclaration", "find", "dec", "spec", "getValidImport", "couldntParse", "modifiedComponents", "bindingCache", "callTraverse", "a", "traverse", "shouldDisableExtraction", "programPath", "res", "styled", "flattened", "optimized", "modified", "found", "version", "Math", "random", "Program", "enter", "path", "CallExpression", "t", "isIdentifier", "callee", "variableName", "isVariableDeclarator", "parent", "id", "parentNode", "arguments", "parentName", "definition", "isObjectExpression", "Component", "out", "forceExports", "cacheKey", "flatMap", "cached", "foundNames", "trim", "colorLog", "Color", "FgYellow", "componentSkipProps", "inlineWhenUnflattened", "inlineProps", "skipped", "styles", "staticNamespace", "getStaticBindingsForScope", "scope", "attemptEval", "createEvaluator", "evaluateAstNode", "attemptEvalSafe", "createSafeEvaluator", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "properties", "_step", "property", "isObjectProperty", "add", "FAILED_EVAL", "undefined", "classNames", "rulesToInsert", "rule", "rules", "prop", "objectProperty", "stringLiteral", "_iteratorNormalCompletion1", "_didIteratorError1", "_iteratorError1", "_iterator1", "_step1", "identifier", "JSXElement", "traversePath", "openingElement", "ogAttributes", "attributes", "attr", "findComponentName", "closingElement", "isJSXMemberExpression", "isJSXIdentifier", "binding", "getBinding", "isImportDeclaration", "component", "getValidComponent", "originalNodeName", "filePath", "relative", "cwd", "lineNumbers", "loc", "start", "line", "end", "codePosition", "debugPropValue", "filter", "n", "isJSXAttribute", "isStringLiteral", "unshift", "jsxAttribute", "jsxIdentifier", "basename", "createTernariesFromObjectProperties", "test", "side", "ternaryPartial", "isStaticObject", "mediaQueryKey", "isMediaQuery", "isExpression", "ternaries", "inlineMediaQuery", "logicalExpression", "isConditionalExpression", "objectExpression", "consequent", "alternate", "truthy", "falsy", "remove", "unaryExpression", "obj", "evaluateAttribute", "attribute", "isJSXSpreadAttribute", "arg", "argument", "conditional", "isLogicalExpression", "operator", "left", "right", "alt", "cons", "ternary", "inlined", "set", "isJSXExpressionContainer", "shortname", "shouldDeopt", "expression", "isJSXEmptyExpression", "_ref", "valuePath", "p", "styleValue", "propMapperStyleState", "fromEntries", "reactNativeWebInternals", "createDOMProps", "isTextView", "didInline", "val", "isStyle", "validHTMLAttributes", "toString", "inlineWhenUnflattenedOGVals", "defaultProps", "hasSetOptimized", "variantValues", "isBinaryExpression", "lVal", "rVal", "addBinaryConditional", "staticConditional", "getStaticConditional", "staticLogical", "getStaticLogical", "experimentalFlattenDynamicValues", "staticExpr", "cond", "binaryExpression", "aVal", "cVal", "err", "message", "every", "propName", "mergeToEnd", "normalizeStyleWithoutVariants", "expanded", "mergeStyles", "prev", "next", "assign", "isText", "tagName", "tag", "flatNode", "deoptProps", "animations", "isReactNative", "attrs", "Map", "usedKeys", "theme", "viewProps", "conf", "curProps", "debug", "stack", "flat", "isPresent", "logLines", "attrStr", "parentFn", "findTopmostFunction", "hasSpread", "hasOnlyStringChildren", "selfClosing", "children", "themeVal", "delete", "isStaticObjectVariant", "canFlattenProps", "size", "shouldFlatten", "isStyledHOC", "isHOC", "neverFlatten", "usedThemeKeys", "skipMap", "defaultStyleAttrs", "jsxExpressionContainer", "literalToAst", "reduce", "cur", "indexOf", "normalized", "normalizeTernaries", "rest", "shouldWrapTheme", "importSpecifier", "replaceWith", "jsxElement", "jsxOpeningElement", "jsxClosingElement", "objToStr", "foundStaticProps", "booleanLiteral", "completeProps", "acc", "styleState", "cn", "fullKey", "getProps", "includeProps", "debugName", "fallbackProps", "experimentalFlattenThemesOnNative", "outProps", "pseudos", "fontFamily", "setPropsToFontFamily", "shouldKeepOriginalAttr", "getStyleError", "c", "outKey", "outVal", "existingStyleKeys", "i", "_iteratorNormalCompletion2", "_didIteratorError2", "_iteratorError2", "_iterator2", "entries", "_step2", "index", "splice", "isNativeNotFlat", "parserProps", "jsxPath", "isFlattened", "TAMAGUI_DEBUG", "all", "from", "removeUnusedHooks", "done"]
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;AACA,uBAAmC,sBAGnC,kBAAqB,qCACrB,IAAmB,kCACnB,mBAAgC,+BAChC,aAQO,yBAEP,0BAAyC,gDAEzC,mBAA4B,yBAC5B,4BAAmC,0CAWnC,yBAAqD,8BACrD,yBAAgC,8BAChC,wBASO,6BACP,6BAAoC,kCACpC,mCAA6D,wCAC7D,sBAA6B,2BAC7B,qBAA6C,0BAC7C,kBAAyB,uBACzB,4BAAmC,iCACnC,gCAAqC,qCACrC,2BAAkC,gCAClC,eAAsB,oBACtB,6BAAoC;AApDP,SAAA,qBAAA,KAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsD7B,IAAMA,kBAAkB;EACtBC,KAAK;EACLC,OAAO;EACPC,WAAW;AACb,GAEMC,aAAa;EACjBC,UAAU;EACVC,UAAU;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,oBACFjE,OAAOwE,KAAM,4BAA+B,OAAXyW,IAAI5T,MAAM,CAAA;UAExC,6BAAA,IAAA,qBAAA,IAAA,kBAAA;;AAAL,iBAAK,aAAc4T,IAAAA,OAAAA,QAAAA,EAAAA,GAAd,QAAA,EAAA,8BAAA,SAAA,WAAA,KAAA,GAAA,OAAA,6BAAA,IAAmB;AAAnB,cAAMzV,OAAN,OAAA;AACH2V,0DAAkB3V,MAAMvB,gBAAAA;QAC1B;;AAFK,6BAAA,IAAA,kBAAA;;;WAAA,8BAAA,WAAA,UAAA,QAAA,WAAA,OAAA;;cAAA;kBAAA;;;IAGP;AAEAkB,cAAGiW,KAAKnX,qBAAqB,SAAA,GAEtByF;EACT;AACF;",
5
+ "names": ["UNTOUCHED_PROPS", "key", "style", "className", "validHooks", "useMedia", "useTheme", "createTernary", "x", "hasLoggedBaseInfo", "isFullyDisabled", "props", "disableExtraction", "disableDebugAttr", "createExtractor", "logger", "console", "platform", "INLINE_EXTRACTABLE", "ref", "onPress", "onHoverIn", "onHoverOut", "onPressIn", "onPressOut", "componentState", "focus", "focusVisible", "hover", "unmounted", "press", "pressIn", "disabled", "styleProps", "resolveValues", "noClassNames", "isAnimated", "shouldAddDebugProp", "process", "env", "npm_package_dependencies_next", "projectInfo", "loadSync", "loadTamaguiSync", "load", "loadTamagui", "options", "cleanupBeforeExit", "getTamagui", "tamaguiConfig", "parseSync", "f", "parseWithConfig", "parse", "fileOrPath", "components", "config", "importsWhitelist", "evaluateVars", "sourcePath", "onExtractTag", "onStyleRule", "getFlattenedNode", "disable", "disableExtractInlineMedia", "disableExtractVariables", "enableDynamicEvaluation", "includeExtensions", "extractStyledDefinitions", "prefixLogs", "excludeProps", "restProps", "includes", "requireTamaguiCore", "normalizeStyle", "getSplitStyles", "mediaQueryConfig", "propMapper", "proxyThemeVariables", "pseudoDescriptors", "shouldPrintDebug", "Array", "isArray", "Error", "some", "ext", "endsWith", "info", "join", "isValidStyleKey", "name", "staticConfig", "slice", "validStyles", "variants", "shorthands", "isTargetingHTML", "ogDebug", "tm", "timer", "propsWithFileInfo", "allLoadedComponents", "map", "comp", "Object", "keys", "nameToInfo", "DEBUG", "startsWith", "moduleName", "mark", "themes", "error", "exit", "firstThemeName", "firstTheme", "err", "proxiedTheme", "themeAccessListeners", "Set", "defaultTheme", "Proxy", "get", "target", "Reflect", "has", "forEach", "cb", "String", "body", "type", "program", "length", "warn", "k", "JSON", "stringify", "getValidComponentsPaths", "doesUseValidImport", "hasImportedTheme", "importDeclarations", "bodyPath", "node", "source", "value", "valid", "isValidImport", "push", "specifiers", "specifier", "local", "names", "isValidComponent", "Boolean", "getValidImportedComponent", "componentName", "importDeclaration", "find", "dec", "spec", "getValidImport", "couldntParse", "modifiedComponents", "bindingCache", "callTraverse", "a", "traverse", "shouldDisableExtraction", "programPath", "res", "styled", "flattened", "optimized", "modified", "found", "version", "Math", "random", "Program", "enter", "path", "CallExpression", "t", "isIdentifier", "callee", "variableName", "isVariableDeclarator", "parent", "id", "parentNode", "arguments", "parentName", "definition", "isObjectExpression", "Component", "out", "forceExports", "cacheKey", "flatMap", "cached", "foundNames", "trim", "colorLog", "Color", "FgYellow", "componentSkipProps", "inlineWhenUnflattened", "inlineProps", "skipped", "styles", "staticNamespace", "getStaticBindingsForScope", "scope", "attemptEval", "createEvaluator", "evaluateAstNode", "attemptEvalSafe", "createSafeEvaluator", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "properties", "_step", "property", "isObjectProperty", "add", "FAILED_EVAL", "undefined", "classNames", "rulesToInsert", "styleObject", "StyleObjectRules", "prop", "objectProperty", "stringLiteral", "_iteratorNormalCompletion1", "_didIteratorError1", "_iteratorError1", "_iterator1", "_step1", "StyleObjectIdentifier", "JSXElement", "traversePath", "openingElement", "ogAttributes", "attributes", "attr", "findComponentName", "closingElement", "isJSXMemberExpression", "isJSXIdentifier", "binding", "getBinding", "isImportDeclaration", "identifier", "component", "getValidComponent", "originalNodeName", "filePath", "relative", "cwd", "lineNumbers", "loc", "start", "line", "end", "codePosition", "debugPropValue", "filter", "n", "isJSXAttribute", "isStringLiteral", "unshift", "jsxAttribute", "jsxIdentifier", "basename", "createTernariesFromObjectProperties", "test", "side", "ternaryPartial", "isStaticObject", "mediaQueryKey", "isMediaQuery", "isExpression", "ternaries", "inlineMediaQuery", "logicalExpression", "isConditionalExpression", "objectExpression", "consequent", "alternate", "truthy", "falsy", "remove", "unaryExpression", "obj", "evaluateAttribute", "attribute", "isJSXSpreadAttribute", "arg", "argument", "conditional", "isLogicalExpression", "operator", "left", "right", "alt", "cons", "ternary", "inlined", "set", "isJSXExpressionContainer", "shortname", "shouldDeopt", "expression", "isJSXEmptyExpression", "_ref", "valuePath", "p", "styleValue", "propMapperStyleState", "fromEntries", "reactNativeWebInternals", "createDOMProps", "isTextView", "didInline", "val", "isStyle", "validHTMLAttributes", "toString", "inlineWhenUnflattenedOGVals", "defaultProps", "hasSetOptimized", "variantValues", "isBinaryExpression", "lVal", "rVal", "addBinaryConditional", "staticConditional", "getStaticConditional", "staticLogical", "getStaticLogical", "experimentalFlattenDynamicValues", "staticExpr", "cond", "binaryExpression", "aVal", "cVal", "message", "every", "propName", "mergeToEnd", "normalizeStyleWithoutVariants", "expanded", "mergeStyles", "prev", "next", "assign", "isText", "tagName", "tag", "flatNode", "deoptProps", "animations", "isReactNative", "attrs", "Map", "usedKeys", "theme", "viewProps", "conf", "curProps", "debug", "stack", "flat", "isPresent", "logLines", "attrStr", "parentFn", "findTopmostFunction", "hasSpread", "hasOnlyStringChildren", "selfClosing", "children", "themeVal", "delete", "isStaticObjectVariant", "canFlattenProps", "size", "shouldFlatten", "isStyledHOC", "isHOC", "neverFlatten", "usedThemeKeys", "skipMap", "defaultStyleAttrs", "jsxExpressionContainer", "literalToAst", "reduce", "cur", "indexOf", "normalized", "normalizeTernaries", "rest", "shouldWrapTheme", "importSpecifier", "replaceWith", "jsxElement", "jsxOpeningElement", "jsxClosingElement", "objToStr", "foundStaticProps", "booleanLiteral", "completeProps", "acc", "styleState", "cn", "fullKey", "getProps", "includeProps", "debugName", "fallbackProps", "experimentalFlattenThemesOnNative", "outProps", "pseudos", "fontFamily", "setPropsToFontFamily", "shouldKeepOriginalAttr", "getStyleError", "c", "outKey", "outVal", "existingStyleKeys", "i", "_iteratorNormalCompletion2", "_didIteratorError2", "_iteratorError2", "_iterator2", "entries", "_step2", "index", "splice", "isNativeNotFlat", "parserProps", "jsxPath", "isFlattened", "TAMAGUI_DEBUG", "all", "from", "removeUnusedHooks", "done"]
6
6
  }