@tamagui/static 1.89.26 → 1.89.27-1708113113238

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/cjs/constants.native.js +4 -4
  2. package/dist/cjs/constants.native.js.map +3 -3
  3. package/dist/cjs/extractor/accessSafe.native.js +1 -5
  4. package/dist/cjs/extractor/accessSafe.native.js.map +3 -3
  5. package/dist/cjs/extractor/babelParse.native.js +5 -8
  6. package/dist/cjs/extractor/babelParse.native.js.map +3 -3
  7. package/dist/cjs/extractor/buildClassName.native.js +31 -42
  8. package/dist/cjs/extractor/buildClassName.native.js.map +3 -3
  9. package/dist/cjs/extractor/bundle.js +6 -4
  10. package/dist/cjs/extractor/bundle.js.map +1 -1
  11. package/dist/cjs/extractor/bundle.native.js +321 -56
  12. package/dist/cjs/extractor/bundle.native.js.map +3 -3
  13. package/dist/cjs/extractor/bundleConfig.native.js +499 -187
  14. package/dist/cjs/extractor/bundleConfig.native.js.map +3 -3
  15. package/dist/cjs/extractor/createEvaluator.native.js +9 -11
  16. package/dist/cjs/extractor/createEvaluator.native.js.map +3 -3
  17. package/dist/cjs/extractor/createExtractor.native.js +1240 -906
  18. package/dist/cjs/extractor/createExtractor.native.js.map +3 -3
  19. package/dist/cjs/extractor/ensureImportingConcat.native.js +11 -17
  20. package/dist/cjs/extractor/ensureImportingConcat.native.js.map +3 -3
  21. package/dist/cjs/extractor/esbuildAliasPlugin.native.js +22 -11
  22. package/dist/cjs/extractor/esbuildAliasPlugin.native.js.map +3 -3
  23. package/dist/cjs/extractor/evaluateAstNode.native.js +15 -21
  24. package/dist/cjs/extractor/evaluateAstNode.native.js.map +3 -3
  25. package/dist/cjs/extractor/extractHelpers.native.js +146 -38
  26. package/dist/cjs/extractor/extractHelpers.native.js.map +3 -3
  27. package/dist/cjs/extractor/extractMediaStyle.native.js +127 -54
  28. package/dist/cjs/extractor/extractMediaStyle.native.js.map +3 -3
  29. package/dist/cjs/extractor/extractToClassNames.native.js +449 -252
  30. package/dist/cjs/extractor/extractToClassNames.native.js.map +3 -3
  31. package/dist/cjs/extractor/findTopmostFunction.native.js +4 -4
  32. package/dist/cjs/extractor/findTopmostFunction.native.js.map +3 -3
  33. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +415 -54
  34. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
  35. package/dist/cjs/extractor/generatedUid.native.js +2 -2
  36. package/dist/cjs/extractor/generatedUid.native.js.map +3 -3
  37. package/dist/cjs/extractor/getPrefixLogs.native.js +2 -1
  38. package/dist/cjs/extractor/getPrefixLogs.native.js.map +3 -3
  39. package/dist/cjs/extractor/getPropValueFromAttributes.native.js +16 -19
  40. package/dist/cjs/extractor/getPropValueFromAttributes.native.js.map +3 -3
  41. package/dist/cjs/extractor/getSourceModule.native.js +20 -7
  42. package/dist/cjs/extractor/getSourceModule.native.js.map +3 -3
  43. package/dist/cjs/extractor/getStaticBindingsForScope.native.js +336 -94
  44. package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +3 -3
  45. package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
  46. package/dist/cjs/extractor/hoistClassNames.native.js +8 -10
  47. package/dist/cjs/extractor/hoistClassNames.native.js.map +3 -3
  48. package/dist/cjs/extractor/literalToAst.native.js +89 -19
  49. package/dist/cjs/extractor/literalToAst.native.js.map +3 -3
  50. package/dist/cjs/extractor/loadFile.native.js +16 -8
  51. package/dist/cjs/extractor/loadFile.native.js.map +3 -3
  52. package/dist/cjs/extractor/loadTamagui.js +3 -3
  53. package/dist/cjs/extractor/loadTamagui.js.map +1 -1
  54. package/dist/cjs/extractor/loadTamagui.native.js +667 -192
  55. package/dist/cjs/extractor/loadTamagui.native.js.map +3 -3
  56. package/dist/cjs/extractor/logLines.native.js +24 -6
  57. package/dist/cjs/extractor/logLines.native.js.map +3 -3
  58. package/dist/cjs/extractor/normalizeTernaries.native.js +71 -20
  59. package/dist/cjs/extractor/normalizeTernaries.native.js.map +3 -3
  60. package/dist/cjs/extractor/propsToFontFamilyCache.native.js +3 -3
  61. package/dist/cjs/extractor/propsToFontFamilyCache.native.js.map +3 -3
  62. package/dist/cjs/extractor/removeUnusedHooks.native.js +69 -36
  63. package/dist/cjs/extractor/removeUnusedHooks.native.js.map +3 -3
  64. package/dist/cjs/extractor/timer.native.js +10 -9
  65. package/dist/cjs/extractor/timer.native.js.map +3 -3
  66. package/dist/cjs/extractor/validHTMLAttributes.native.js +1 -1
  67. package/dist/cjs/extractor/validHTMLAttributes.native.js.map +3 -3
  68. package/dist/cjs/getPragmaOptions.native.js +4 -9
  69. package/dist/cjs/getPragmaOptions.native.js.map +3 -3
  70. package/dist/cjs/helpers/memoize.native.js +5 -3
  71. package/dist/cjs/helpers/memoize.native.js.map +3 -3
  72. package/dist/cjs/helpers/requireTamaguiCore.native.js +2 -1
  73. package/dist/cjs/helpers/requireTamaguiCore.native.js.map +3 -3
  74. package/dist/cjs/index.native.js.map +2 -2
  75. package/dist/cjs/minifyCSS.native.js.map +3 -3
  76. package/dist/cjs/registerRequire.native.js +56 -28
  77. package/dist/cjs/registerRequire.native.js.map +3 -3
  78. package/dist/cjs/server.native.js +175 -21
  79. package/dist/cjs/server.native.js.map +3 -3
  80. package/dist/cjs/setup.native.js.map +3 -3
  81. package/dist/cjs/static.native.js.map +2 -2
  82. package/dist/cjs/types.native.js.map +2 -2
  83. package/dist/cjs/webpackPlugin.native.js +26 -5
  84. package/dist/cjs/webpackPlugin.native.js.map +3 -3
  85. package/dist/esm/constants.native.js +4 -3
  86. package/dist/esm/constants.native.js.map +3 -3
  87. package/dist/esm/extractor/accessSafe.native.js +1 -5
  88. package/dist/esm/extractor/accessSafe.native.js.map +3 -3
  89. package/dist/esm/extractor/babelParse.native.js +5 -7
  90. package/dist/esm/extractor/babelParse.native.js.map +3 -3
  91. package/dist/esm/extractor/buildClassName.native.js +31 -41
  92. package/dist/esm/extractor/buildClassName.native.js.map +3 -3
  93. package/dist/esm/extractor/bundle.js +6 -4
  94. package/dist/esm/extractor/bundle.js.map +1 -1
  95. package/dist/esm/extractor/bundle.mjs +7 -5
  96. package/dist/esm/extractor/bundle.native.js +321 -56
  97. package/dist/esm/extractor/bundle.native.js.map +3 -3
  98. package/dist/esm/extractor/bundleConfig.native.js +499 -187
  99. package/dist/esm/extractor/bundleConfig.native.js.map +3 -3
  100. package/dist/esm/extractor/createEvaluator.native.js +9 -11
  101. package/dist/esm/extractor/createEvaluator.native.js.map +3 -3
  102. package/dist/esm/extractor/createExtractor.native.js +1241 -916
  103. package/dist/esm/extractor/createExtractor.native.js.map +3 -3
  104. package/dist/esm/extractor/ensureImportingConcat.native.js +11 -16
  105. package/dist/esm/extractor/ensureImportingConcat.native.js.map +3 -3
  106. package/dist/esm/extractor/esbuildAliasPlugin.native.js +22 -11
  107. package/dist/esm/extractor/esbuildAliasPlugin.native.js.map +3 -3
  108. package/dist/esm/extractor/evaluateAstNode.native.js +15 -21
  109. package/dist/esm/extractor/evaluateAstNode.native.js.map +3 -3
  110. package/dist/esm/extractor/extractHelpers.native.js +146 -38
  111. package/dist/esm/extractor/extractHelpers.native.js.map +3 -3
  112. package/dist/esm/extractor/extractMediaStyle.native.js +127 -54
  113. package/dist/esm/extractor/extractMediaStyle.native.js.map +3 -3
  114. package/dist/esm/extractor/extractToClassNames.native.js +449 -252
  115. package/dist/esm/extractor/extractToClassNames.native.js.map +3 -3
  116. package/dist/esm/extractor/findTopmostFunction.native.js +4 -4
  117. package/dist/esm/extractor/findTopmostFunction.native.js.map +3 -3
  118. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +415 -54
  119. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
  120. package/dist/esm/extractor/generatedUid.native.js +2 -2
  121. package/dist/esm/extractor/generatedUid.native.js.map +3 -3
  122. package/dist/esm/extractor/getPrefixLogs.native.js +2 -1
  123. package/dist/esm/extractor/getPrefixLogs.native.js.map +3 -3
  124. package/dist/esm/extractor/getPropValueFromAttributes.native.js +16 -19
  125. package/dist/esm/extractor/getPropValueFromAttributes.native.js.map +3 -3
  126. package/dist/esm/extractor/getSourceModule.native.js +20 -7
  127. package/dist/esm/extractor/getSourceModule.native.js.map +3 -3
  128. package/dist/esm/extractor/getStaticBindingsForScope.native.js +336 -94
  129. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +3 -3
  130. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
  131. package/dist/esm/extractor/hoistClassNames.native.js +8 -10
  132. package/dist/esm/extractor/hoistClassNames.native.js.map +3 -3
  133. package/dist/esm/extractor/literalToAst.native.js +89 -19
  134. package/dist/esm/extractor/literalToAst.native.js.map +3 -3
  135. package/dist/esm/extractor/loadFile.native.js +16 -8
  136. package/dist/esm/extractor/loadFile.native.js.map +3 -3
  137. package/dist/esm/extractor/loadTamagui.js +1 -2
  138. package/dist/esm/extractor/loadTamagui.js.map +1 -1
  139. package/dist/esm/extractor/loadTamagui.mjs +5 -3
  140. package/dist/esm/extractor/loadTamagui.native.js +668 -203
  141. package/dist/esm/extractor/loadTamagui.native.js.map +3 -3
  142. package/dist/esm/extractor/logLines.native.js +24 -6
  143. package/dist/esm/extractor/logLines.native.js.map +3 -3
  144. package/dist/esm/extractor/normalizeTernaries.native.js +71 -20
  145. package/dist/esm/extractor/normalizeTernaries.native.js.map +3 -3
  146. package/dist/esm/extractor/propsToFontFamilyCache.native.js +3 -3
  147. package/dist/esm/extractor/propsToFontFamilyCache.native.js.map +3 -3
  148. package/dist/esm/extractor/removeUnusedHooks.native.js +69 -35
  149. package/dist/esm/extractor/removeUnusedHooks.native.js.map +3 -3
  150. package/dist/esm/extractor/timer.native.js +10 -9
  151. package/dist/esm/extractor/timer.native.js.map +3 -3
  152. package/dist/esm/extractor/validHTMLAttributes.native.js +1 -1
  153. package/dist/esm/extractor/validHTMLAttributes.native.js.map +3 -3
  154. package/dist/esm/getPragmaOptions.native.js +4 -9
  155. package/dist/esm/getPragmaOptions.native.js.map +3 -3
  156. package/dist/esm/helpers/memoize.native.js +5 -3
  157. package/dist/esm/helpers/memoize.native.js.map +3 -3
  158. package/dist/esm/helpers/requireTamaguiCore.native.js +2 -1
  159. package/dist/esm/helpers/requireTamaguiCore.native.js.map +3 -3
  160. package/dist/esm/index.native.js.map +1 -1
  161. package/dist/esm/minifyCSS.native.js.map +3 -3
  162. package/dist/esm/registerRequire.native.js +56 -28
  163. package/dist/esm/registerRequire.native.js.map +3 -3
  164. package/dist/esm/server.native.js +175 -21
  165. package/dist/esm/server.native.js.map +3 -3
  166. package/dist/esm/setup.native.js.map +3 -3
  167. package/dist/esm/static.native.js.map +3 -3
  168. package/dist/esm/webpackPlugin.native.js +26 -5
  169. package/dist/esm/webpackPlugin.native.js.map +3 -3
  170. package/package.json +14 -15
  171. package/src/extractor/bundle.ts +5 -2
  172. package/src/extractor/loadTamagui.ts +3 -2
  173. package/types/extractor/bundle.d.ts.map +1 -1
  174. package/types/extractor/loadTamagui.d.ts.map +1 -1
  175. package/tamagui.tsconfig.json +0 -5
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/helpers/memoize.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,SAAS,QAAQ,MAAiB,UAAgB;AACvD,MACE,OAAO,QAAS,cACf,YAAY,QAAQ,OAAO,YAAa;AAEzC,UAAM,IAAI,UAAU,qBAAqB;AAE3C,QAAM,WAAW,YAAa,MAAM;AAClC,UAAM,MAAM,WAAW,SAAS,MAAM,MAAM,IAAI,IAAI,KAAK,CAAC,GACpD,QAAQ,SAAS;AAEvB,QAAI,MAAM,IAAI,GAAG;AACf,aAAO,MAAM,IAAI,GAAG;AAEtB,UAAM,SAAS,KAAK,MAAM,MAAM,IAAI;AACpC,oBAAS,QAAQ,MAAM,IAAI,KAAK,MAAM,KAAK,OACpC;AAAA,EACT;AACA,kBAAS,QAAQ,KAAK,QAAQ,SAAS,KAAK,GACrC;AACT;AAEA,QAAQ,QAAQ;",
5
- "names": []
3
+ "sources": ["../../../src/helpers/Users/n8/tamagui/packages/static/src/helpers/memoize.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AACO,SAASA,QAAQC,MAAiBC,UAAc;AACrD,MACE,OAAOD,QAAS,cACfC,YAAY,QAAQ,OAAOA,YAAa;AAEzC,UAAM,IAAIC,UAAU,qBAAA;AAEtB,MAAMC,WAAW,WAAA;AAAU,aAAA,OAAA,UAAA,QAAGC,OAAH,IAAA,MAAA,IAAA,GAAA,OAAA,GAAA,OAAA,MAAA;AAAGA,WAAH,IAAA,IAAA,UAAA,IAAA;AACzB,QAAMC,MAAMJ,WAAWA,SAASK,MAAM,MAAMF,IAAAA,IAAQA,KAAK,CAAA,GACnDG,QAAQJ,SAASI;AAEvB,QAAIA,MAAMC,IAAIH,GAAAA;AACZ,aAAOE,MAAME,IAAIJ,GAAAA;AAEnB,QAAMK,SAASV,KAAKM,MAAM,MAAMF,IAAAA;AAChCD,oBAASI,QAAQA,MAAMI,IAAIN,KAAKK,MAAAA,KAAWH,OACpCG;EACT;AACAP,kBAASI,QAAQ,KAAKR,QAAQa,SAASC,KAAE,GAClCV;AACT;AAEAJ,QAAQa,QAAQC;",
5
+ "names": ["memoize", "func", "resolver", "TypeError", "memoized", "args", "key", "apply", "cache", "has", "get", "result", "set", "Cache", "Map"]
6
6
  }
@@ -18,7 +18,8 @@ __export(requireTamaguiCore_exports, {
18
18
  requireTamaguiCore: () => requireTamaguiCore
19
19
  });
20
20
  module.exports = __toCommonJS(requireTamaguiCore_exports);
21
- function requireTamaguiCore(platform, ogRequire = require) {
21
+ function requireTamaguiCore(platform) {
22
+ var ogRequire = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : require;
22
23
  if (!platform)
23
24
  throw new Error("No platform given to requireTamaguiCore");
24
25
  return ogRequire(platform === "native" ? "@tamagui/core/native" : "@tamagui/core");
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/helpers/requireTamaguiCore.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIO,SAAS,mBACd,UACA,YAAsB,SACU;AAChC,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,yCAAyC;AAE3D,SAAO,UAAU,aAAa,WAAW,yBAAyB,eAAe;AACnF;",
5
- "names": []
3
+ "sources": ["../../../src/helpers/Users/n8/tamagui/packages/static/src/helpers/requireTamaguiCore.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAIO,SAASA,mBACdC,UAAyB;MACzBC,YAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAsBC;AAEtB,MAAI,CAACF;AACH,UAAM,IAAIG,MAAO,yCAAA;AAEnB,SAAOF,UAAUD,aAAa,WAAW,yBAAyB,eAAA;AACpE;",
5
+ "names": ["requireTamaguiCore", "platform", "ogRequire", "require", "Error"]
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,mBAAO;AACP,wBAAc,qBADd;AAEA,wBAAc,wBAFd;",
3
+ "sources": ["../../src/Users/n8/tamagui/packages/static/src/index.ts"],
4
+ "mappings": ";;;;;;;;;;;;AAAA;;mBAAO;AACP,wBAAc,qBADd;AAEA,wBAAc,wBAFd;",
5
5
  "names": []
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/minifyCSS.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAyB,kCACzB,sBAAiD;AAE1C,SAAS,UAAU,OAAe;AACvC,aAAO,+BAAU;AAAA,IACf,UAAU;AAAA,IACV,MAAM,OAAO,KAAK,KAAK;AAAA,IACvB,QAAQ;AAAA,IACR,aAAS,+CAAsB,oBAAAA,SAAa,SAAS,CAAC;AAAA,IACtD,WAAW;AAAA,EACb,CAAC;AACH;",
5
- "names": ["browserslist"]
3
+ "sources": ["../../src/Users/n8/tamagui/packages/static/src/minifyCSS.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;0BAAyB,kCACzB,sBAAiD;AAE1C,SAASA,UAAUC,OAAa;AACrC,aAAOC,+BAAU;IACfC,UAAU;IACVC,MAAMC,OAAOC,KAAKL,KAAAA;IAClBM,QAAQ;IACRC,aAASC,+CAAsBC,oBAAAA,SAAa,SAAA,CAAA;IAC5CC,WAAW;EACb,CAAA;AACF;",
5
+ "names": ["minifyCSS", "input", "transform", "filename", "code", "Buffer", "from", "minify", "targets", "browserslistToTargets", "browserslist", "sourceMap"]
6
6
  }
@@ -21,32 +21,59 @@ __export(registerRequire_exports, {
21
21
  });
22
22
  module.exports = __toCommonJS(registerRequire_exports);
23
23
  var import_node = require("esbuild-register/dist/node"), import_requireTamaguiCore = require("./helpers/requireTamaguiCore"), import_bundle = require("./extractor/bundle");
24
- const nameToPaths = {}, Module = require("module"), getNameToPaths = () => nameToPaths, proxyWorm = require("@tamagui/proxy-worm"), rnw = require("react-native-web");
25
- let isRegistered = !1, og;
26
- const whitelisted = {
24
+ function _define_property(obj, key, value) {
25
+ return key in obj ? Object.defineProperty(obj, key, {
26
+ value,
27
+ enumerable: !0,
28
+ configurable: !0,
29
+ writable: !0
30
+ }) : obj[key] = value, obj;
31
+ }
32
+ function _object_spread(target) {
33
+ for (var i = 1; i < arguments.length; i++) {
34
+ var source = arguments[i] != null ? arguments[i] : {}, ownKeys = Object.keys(source);
35
+ typeof Object.getOwnPropertySymbols == "function" && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
36
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
37
+ }))), ownKeys.forEach(function(key) {
38
+ _define_property(target, key, source[key]);
39
+ });
40
+ }
41
+ return target;
42
+ }
43
+ var _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS, nameToPaths = {}, Module = require("module"), getNameToPaths = function() {
44
+ return nameToPaths;
45
+ }, proxyWorm = require("@tamagui/proxy-worm"), rnw = require("react-native-web"), isRegistered = !1, og, whitelisted = {
27
46
  react: !0
28
47
  }, compiled = {};
29
48
  function setRequireResult(name, result) {
30
49
  compiled[name] = result;
31
50
  }
32
- function registerRequire(platform, { proxyWormImports } = {
33
- proxyWormImports: !1
34
- }) {
51
+ function registerRequire(platform) {
52
+ var proxyWormImports = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
53
+ proxyWormImports: !1
54
+ }).proxyWormImports;
35
55
  if (isRegistered)
36
56
  return {
37
57
  tamaguiRequire: require,
38
- unregister: () => {
58
+ unregister: function() {
39
59
  }
40
60
  };
41
- const { unregister } = (0, import_node.register)({
61
+ var unregister = (0, import_node.register)({
42
62
  hookIgnoreNodeModules: !1
43
- });
63
+ }).unregister;
44
64
  og || (og = Module.prototype.require), isRegistered = !0, Module.prototype.require = tamaguiRequire;
45
65
  function tamaguiRequire(path) {
66
+ var _this = this;
46
67
  if (path === "tamagui" && platform === "native")
47
- return og.apply(this, ["tamagui/native"]);
68
+ return og.apply(this, [
69
+ "tamagui/native"
70
+ ]);
48
71
  if (path === "@tamagui/core" || path === "@tamagui/web")
49
- return (0, import_requireTamaguiCore.requireTamaguiCore)(platform, (path2) => og.apply(this, [path2]));
72
+ return (0, import_requireTamaguiCore.requireTamaguiCore)(platform, function(path2) {
73
+ return og.apply(_this, [
74
+ path2
75
+ ]);
76
+ });
50
77
  if (path in compiled)
51
78
  return compiled[path];
52
79
  if (import_bundle.esbuildIgnoreFilesRegex.test(path))
@@ -60,36 +87,37 @@ function registerRequire(platform, { proxyWormImports } = {
60
87
  if (path in knownIgnorableModules)
61
88
  return proxyWorm;
62
89
  if (!whitelisted[path] && proxyWormImports && !path.includes(".tamagui-dynamic-eval"))
63
- return path === "tamagui" ? og.apply(this, [path]) : proxyWorm;
90
+ return path === "tamagui" ? og.apply(this, [
91
+ path
92
+ ]) : proxyWorm;
64
93
  try {
65
- return og.apply(this, arguments);
94
+ var out = og.apply(this, arguments);
95
+ return out;
66
96
  } catch (err) {
67
- return !process.env.TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD && path.includes("tamagui-dynamic-eval") ? void 0 : (allowedIgnores[path] || IGNORES === "true" || (!process.env.TAMAGUI_SHOW_FULL_BUNDLE_ERRORS && !process.env.DEBUG ? hasWarnedForModules.has(path) || (hasWarnedForModules.add(path), console.info(
68
- ` tamagui: skipping ${path} tamagui.dev/docs/intro/errors#warning-001`
69
- )) : console.error(
70
- `Tamagui failed loading "${path}"
97
+ return !process.env.TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD && path.includes("tamagui-dynamic-eval") ? void 0 : (allowedIgnores[path] || IGNORES === "true" || (!process.env.TAMAGUI_SHOW_FULL_BUNDLE_ERRORS && !process.env.DEBUG ? hasWarnedForModules.has(path) || (hasWarnedForModules.add(path), console.info(" tamagui: skipping ".concat(path, " tamagui.dev/docs/intro/errors#warning-001"))) : console.error('Tamagui failed loading "'.concat(path, `"
71
98
 
72
- ${err.message}
73
- ${err.stack}
99
+ `).concat(err.message, `
100
+ `).concat(err.stack, `
74
101
 
75
- `
76
- )), proxyWorm);
102
+ `))), proxyWorm);
77
103
  }
78
104
  }
79
105
  return {
80
106
  tamaguiRequire,
81
- unregister: () => {
107
+ unregister: function() {
82
108
  unregister(), isRegistered = !1, Module.prototype.require = og;
83
109
  }
84
110
  };
85
111
  }
86
- const packageJson = require("react-native-web/package.json"), IGNORES = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS;
87
- var _a;
88
- const extraIgnores = IGNORES === "true" ? [] : (_a = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS) == null ? void 0 : _a.split(","), knownIgnorableModules = {
112
+ var packageJson = require("react-native-web/package.json"), IGNORES = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS, extraIgnores = IGNORES === "true" ? [] : (_process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS) === null || _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS === void 0 ? void 0 : _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS.split(","), knownIgnorableModules = _object_spread({
89
113
  "expo-modules": !0,
90
- solito: !0,
91
- ...Object.fromEntries((extraIgnores == null ? void 0 : extraIgnores.map((k) => [k, !0])) || [])
92
- }, hasWarnedForModules = /* @__PURE__ */ new Set(), allowedIgnores = {
114
+ solito: !0
115
+ }, Object.fromEntries((extraIgnores == null ? void 0 : extraIgnores.map(function(k) {
116
+ return [
117
+ k,
118
+ !0
119
+ ];
120
+ })) || [])), hasWarnedForModules = /* @__PURE__ */ new Set(), allowedIgnores = {
93
121
  "expo-constants": !0,
94
122
  "./ExpoHaptics": !0,
95
123
  "./js/MaskedView": !0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/registerRequire.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAyB,uCAEzB,4BAAmC,yCAEnC,gBAAwC;AAExC,MAAM,cAAc,CAAC,GACf,SAAS,QAAQ,QAAQ,GAElB,iBAAiB,MAAM,aAE9B,YAAY,QAAQ,qBAAqB,GAEzC,MAAM,QAAQ,kBAAkB;AAEtC,IAAI,eAAe,IACf;AAEJ,MAAM,cAAc;AAAA,EAClB,OAAO;AACT,GAEM,WAAW,CAAC;AACX,SAAS,iBAAiB,MAAc,QAAa;AAC1D,WAAS,IAAI,IAAI;AACnB;AAEO,SAAS,gBACd,UACA,EAAE,iBAAiB,IAAI;AAAA,EACrB,kBAAkB;AACpB,GACA;AAEA,MAAI;AACF,WAAO;AAAA,MACL,gBAAgB;AAAA,MAChB,YAAY,MAAM;AAAA,MAAC;AAAA,IACrB;AAGF,QAAM,EA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qB,QAAQC,KACL,uBAA2B,OAALtB,MAAK,4CAAA,CAAA,KAShCqB,QAAQE,MACL,2BAEPZ,OAFiCX,MAAK;;GAAA,EAGtCW,OADAA,IAAIa,SAAQ;GAAA,EACF,OAAVb,IAAIc,OAAM;;GAAA,CAAA,IAMD3C;IACT;EACF;AAEA,SAAO;IACLa;IACAC,YAAY,WAAA;AACVA,iBAAAA,GACAZ,eAAe,IACfL,OAAOoB,UAAUnB,UAAUK;IAC7B;EACF;AACF;AAEA,IAAMqB,cAAc1B,QAAQ,+BAAA,GACtBmC,UAAUtC,QAAQmC,IAAIc,8BACtBC,eACJZ,YAAY,SAAS,CAAA,KAAKtC,4CAAAA,QAAQmC,IAAIc,kCAA4B,QAAxCjD,8CAAAA,SAAAA,SAAAA,0CAA0CmD,MAAM,GAAA,GACtErB,wBAAwB,eAAA;EAC5B,gBAAgB;EAChBsB,QAAQ;GACLC,OAAOC,aAAYJ,gBAAAA,OAAAA,SAAAA,aAAcK,IAAI,SAACC,GAAAA;SAAM;IAACA;IAAG;;OAAU,CAAA,CAAE,CAAA,GAG3Df,sBAAsB,oBAAIgB,IAAAA,GAE1BpB,iBAAiB;EACrB,kBAAkB;EAClB,iBAAiB;EACjB,mBAAmB;AACrB;",
5
+ "names": ["process", "nameToPaths", "Module", "require", "getNameToPaths", "proxyWorm", "rnw", "isRegistered", "og", "whitelisted", "react", "compiled", "setRequireResult", "name", "result", "registerRequire", "platform", "proxyWormImports", "tamaguiRequire", "unregister", "register", "hookIgnoreNodeModules", "prototype", "path", "apply", "requireTamaguiCore", "esbuildIgnoreFilesRegex", "test", "startsWith", "packageJson", "knownIgnorableModules", "includes", "out", "arguments", "err", "env", "TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD", "allowedIgnores", "IGNORES", "TAMAGUI_SHOW_FULL_BUNDLE_ERRORS", "DEBUG", "hasWarnedForModules", "has", "add", "console", "info", "error", "message", "stack", "TAMAGUI_IGNORE_BUNDLE_ERRORS", "extraIgnores", "split", "solito", "Object", "fromEntries", "map", "k", "Set"]
6
6
  }
@@ -27,31 +27,185 @@ __export(server_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(server_exports);
29
29
  var import_node_net = __toESM(require("node:net"));
30
- async function startServer(options) {
31
- const port = await getAvailablePort(), server = import_node_net.default.createServer();
32
- server.unref(), await new Promise((resolve, reject) => {
33
- server.on("error", reject), server.on("connection", (conn) => {
34
- conn.on("data", (data) => {
35
- console.info("got", data.toString());
36
- });
37
- }), server.listen({ port }, () => {
38
- const { port: port2 } = server.address();
39
- server.close(() => {
40
- resolve(port2);
41
- });
30
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
31
+ try {
32
+ var info = gen[key](arg), value = info.value;
33
+ } catch (error) {
34
+ reject(error);
35
+ return;
36
+ }
37
+ info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
38
+ }
39
+ function _async_to_generator(fn) {
40
+ return function() {
41
+ var self = this, args = arguments;
42
+ return new Promise(function(resolve, reject) {
43
+ var gen = fn.apply(self, args);
44
+ function _next(value) {
45
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
46
+ }
47
+ function _throw(err) {
48
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
49
+ }
50
+ _next(void 0);
42
51
  });
43
- });
52
+ };
53
+ }
54
+ function _ts_generator(thisArg, body) {
55
+ var f, y, t, g, _ = {
56
+ label: 0,
57
+ sent: function() {
58
+ if (t[0] & 1)
59
+ throw t[1];
60
+ return t[1];
61
+ },
62
+ trys: [],
63
+ ops: []
64
+ };
65
+ return g = {
66
+ next: verb(0),
67
+ throw: verb(1),
68
+ return: verb(2)
69
+ }, typeof Symbol == "function" && (g[Symbol.iterator] = function() {
70
+ return this;
71
+ }), g;
72
+ function verb(n) {
73
+ return function(v) {
74
+ return step([
75
+ n,
76
+ v
77
+ ]);
78
+ };
79
+ }
80
+ function step(op) {
81
+ if (f)
82
+ throw new TypeError("Generator is already executing.");
83
+ for (; _; )
84
+ try {
85
+ 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)
86
+ return t;
87
+ switch (y = 0, t && (op = [
88
+ op[0] & 2,
89
+ t.value
90
+ ]), op[0]) {
91
+ case 0:
92
+ case 1:
93
+ t = op;
94
+ break;
95
+ case 4:
96
+ return _.label++, {
97
+ value: op[1],
98
+ done: !1
99
+ };
100
+ case 5:
101
+ _.label++, y = op[1], op = [
102
+ 0
103
+ ];
104
+ continue;
105
+ case 7:
106
+ op = _.ops.pop(), _.trys.pop();
107
+ continue;
108
+ default:
109
+ if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
110
+ _ = 0;
111
+ continue;
112
+ }
113
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
114
+ _.label = op[1];
115
+ break;
116
+ }
117
+ if (op[0] === 6 && _.label < t[1]) {
118
+ _.label = t[1], t = op;
119
+ break;
120
+ }
121
+ if (t && _.label < t[2]) {
122
+ _.label = t[2], _.ops.push(op);
123
+ break;
124
+ }
125
+ t[2] && _.ops.pop(), _.trys.pop();
126
+ continue;
127
+ }
128
+ op = body.call(thisArg, _);
129
+ } catch (e) {
130
+ op = [
131
+ 6,
132
+ e
133
+ ], y = 0;
134
+ } finally {
135
+ f = t = 0;
136
+ }
137
+ if (op[0] & 5)
138
+ throw op[1];
139
+ return {
140
+ value: op[0] ? op[1] : void 0,
141
+ done: !0
142
+ };
143
+ }
44
144
  }
45
- async function getAvailablePort(port = 8089) {
46
- return checkAvailablePort(port).catch(() => getAvailablePort(port + 1));
145
+ function startServer(options) {
146
+ return _startServer.apply(this, arguments);
147
+ }
148
+ function _startServer() {
149
+ return _startServer = _async_to_generator(function(options) {
150
+ var port, server;
151
+ return _ts_generator(this, function(_state) {
152
+ switch (_state.label) {
153
+ case 0:
154
+ return [
155
+ 4,
156
+ getAvailablePort()
157
+ ];
158
+ case 1:
159
+ return port = _state.sent(), server = import_node_net.default.createServer(), server.unref(), [
160
+ 4,
161
+ new Promise(function(resolve, reject) {
162
+ server.on("error", reject), server.on("connection", function(conn) {
163
+ conn.on("data", function(data) {
164
+ console.info("got", data.toString());
165
+ });
166
+ }), server.listen({
167
+ port
168
+ }, function() {
169
+ var port2 = server.address().port;
170
+ server.close(function() {
171
+ resolve(port2);
172
+ });
173
+ });
174
+ })
175
+ ];
176
+ case 2:
177
+ return _state.sent(), [
178
+ 2
179
+ ];
180
+ }
181
+ });
182
+ }), _startServer.apply(this, arguments);
183
+ }
184
+ function getAvailablePort() {
185
+ return _getAvailablePort.apply(this, arguments);
186
+ }
187
+ function _getAvailablePort() {
188
+ return _getAvailablePort = _async_to_generator(function() {
189
+ var port, _arguments = arguments;
190
+ return _ts_generator(this, function(_state) {
191
+ return port = _arguments.length > 0 && _arguments[0] !== void 0 ? _arguments[0] : 8089, [
192
+ 2,
193
+ checkAvailablePort(port).catch(function() {
194
+ return getAvailablePort(port + 1);
195
+ })
196
+ ];
197
+ });
198
+ }), _getAvailablePort.apply(this, arguments);
47
199
  }
48
200
  function checkAvailablePort(port) {
49
- return new Promise((resolve, reject) => {
50
- const server = import_node_net.default.createServer();
51
- server.unref(), server.on("error", reject), server.listen({ port }, () => {
52
- const { port: port2 } = server.address();
53
- server.close(() => {
54
- resolve(port2);
201
+ return new Promise(function(resolve, reject) {
202
+ var server = import_node_net.default.createServer();
203
+ server.unref(), server.on("error", reject), server.listen({
204
+ port
205
+ }, function() {
206
+ var _$port = server.address().port;
207
+ server.close(function() {
208
+ resolve(_$port);
55
209
  });
56
210
  });
57
211
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/server.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,sBAAgB;AAEhB,eAAsB,YAAY,SAAyB;AACzD,QAAM,OAAO,MAA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BP,OAAOc,OAAO;MAAEf;IAAK,GAAG,WAAA;AACtB,UAAQA,SAASC,OAAOe,QAAO,EAAvBhB;AACRC,aAAOgB,MAAM,WAAA;AACXV,gBAAQP,MAAAA;MACV,CAAA;IACF,CAAA;EACF,CAAA;AACF;",
5
+ "names": ["startServer", "options", "port", "server", "getAvailablePort", "net", "createServer", "unref", "Promise", "resolve", "reject", "on", "conn", "data", "console", "info", "toString", "listen", "address", "close", "checkAvailablePort", "catch"]
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/setup.ts"],
4
- "mappings": ";AAAA,QAAQ,IAAI,YAAY;",
5
- "names": []
3
+ "sources": ["../../src/Users/n8/tamagui/packages/static/src/setup.ts"],
4
+ "mappings": ";AAAAA,QAAQC,IAAIC,YAAY;",
5
+ "names": ["process", "env", "IS_STATIC"]
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/static.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAc,oBAAd;AACA,6BAAgC,wCAChC,sBAA6B;AAC7B,2BAAc,wBAHd;AAIA,2BAAc,4CAJd;AAKA,2BAAc,uCALd;AAMA,2BAAc,oCANd;AAOA,2BAAc,8BAPd;AAQA,2BAAc,+BARd;",
3
+ "sources": ["../../src/Users/n8/tamagui/packages/static/src/static.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;2BAAc,oBAAd;AACA,6BAAgC,wCAChC,sBAA6B;AAC7B,2BAAc,wBAHd;AAIA,2BAAc,4CAJd;AAKA,2BAAc,uCALd;AAMA,2BAAc,oCANd;AAOA,2BAAc,8BAPd;AAQA,2BAAc,+BARd;",
5
5
  "names": []
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/types.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;",
3
+ "sources": ["../../src/Users/n8/tamagui/packages/static/src/types.ts"],
4
+ "mappings": ";;;;;;;;;;;;AA6GA;;",
5
5
  "names": []
6
6
  }
@@ -18,13 +18,34 @@ __export(webpackPlugin_exports, {
18
18
  TamaguiWebpackPlugin: () => TamaguiWebpackPlugin
19
19
  });
20
20
  module.exports = __toCommonJS(webpackPlugin_exports);
21
- const pluginName = "TamaguiWebpackPlugin";
22
- class TamaguiWebpackPlugin {
23
- apply(compiler) {
24
- compiler.hooks.run.tap(pluginName, (compilation) => {
25
- });
21
+ function _class_call_check(instance, Constructor) {
22
+ if (!(instance instanceof Constructor))
23
+ throw new TypeError("Cannot call a class as a function");
24
+ }
25
+ function _defineProperties(target, props) {
26
+ for (var i = 0; i < props.length; i++) {
27
+ var descriptor = props[i];
28
+ descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
26
29
  }
27
30
  }
31
+ function _create_class(Constructor, protoProps, staticProps) {
32
+ return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
33
+ }
34
+ var pluginName = "TamaguiWebpackPlugin", TamaguiWebpackPlugin = /* @__PURE__ */ function() {
35
+ "use strict";
36
+ function TamaguiWebpackPlugin2() {
37
+ _class_call_check(this, TamaguiWebpackPlugin2);
38
+ }
39
+ return _create_class(TamaguiWebpackPlugin2, [
40
+ {
41
+ key: "apply",
42
+ value: function(compiler) {
43
+ compiler.hooks.run.tap(pluginName, function(compilation) {
44
+ });
45
+ }
46
+ }
47
+ ]), TamaguiWebpackPlugin2;
48
+ }();
28
49
  // Annotate the CommonJS export names for ESM import in node:
29
50
  0 && (module.exports = {
30
51
  TamaguiWebpackPlugin
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/webpackPlugin.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAAM,aAAa;AAEZ,MAAM,qBAAqB;AAAA,EAChC,MAAM,UAAU;AACd,aAAS,MAAM,IAAI,IAAI,YAAY,CAAC,gBAAgB;AAAA,IAEpD,CAAC;AAAA,EACH;AACF;",
5
- "names": []
3
+ "sources": ["../../src/Users/n8/tamagui/packages/static/src/webpackPlugin.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAMA,aAAa,wBAENC,uBAAN,2BAAA;;WAAMA,wBAAAA;4BAAAA,qBAAAA;;uBAAAA,uBAAAA;;MACXC,KAAAA;aAAAA,SAAMC,UAAQ;AACZA,iBAASC,MAAMC,IAAIC,IAAIN,YAAY,SAACO,aAAAA;QAEpC,CAAA;MACF;;MALWN;;",
5
+ "names": ["pluginName", "TamaguiWebpackPlugin", "apply", "compiler", "hooks", "run", "tap", "compilation"]
6
6
  }
@@ -1,7 +1,8 @@
1
1
  import findCacheDir from "find-cache-dir";
2
- const CSS_FILE_NAME = "__snack.css", MEDIA_SEP = "_", cacheDir = findCacheDir({ name: "tamagui", create: !0 }), FAILED_EVAL = Symbol("failed_style_eval");
3
- var _a;
4
- const SHOULD_DEBUG = process.env.DEBUG === "*" || ((_a = process.env.DEBUG) == null ? void 0 : _a.startsWith("tamagui"));
2
+ var _process_env_DEBUG, CSS_FILE_NAME = "__snack.css", MEDIA_SEP = "_", cacheDir = findCacheDir({
3
+ name: "tamagui",
4
+ create: !0
5
+ }), FAILED_EVAL = Symbol("failed_style_eval"), SHOULD_DEBUG = process.env.DEBUG === "*" || ((_process_env_DEBUG = process.env.DEBUG) === null || _process_env_DEBUG === void 0 ? void 0 : _process_env_DEBUG.startsWith("tamagui"));
5
6
  export {
6
7
  CSS_FILE_NAME,
7
8
  FAILED_EVAL,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/constants.ts"],
4
- "mappings": "AAAA,OAAO,kBAAkB;AAElB,MAAM,gBAAgB,eAGhB,YAAY,KAGZ,WAAW,aAAa,EAAE,MAAM,WAAW,QAAQ,GAAK,CAAC,GAEzD,cAAc,OAAO,mBAAmB;AAVrD;AAYO,MAAM,eACX,QAAQ,IAAI,UAAU,SAAO,aAAQ,IAAI,UAAZ,mBAAmB,WAAW;",
5
- "names": []
3
+ "sources": ["../../src/Users/n8/tamagui/packages/static/src/constants.ts"],
4
+ "mappings": "AAAA,OAAOA,kBAAkB;IAaMC,oBAXlBC,gBAAgB,eAGhBC,YAAY,KAGZC,WAAWJ,aAAa;EAAEK,MAAM;EAAWC,QAAQ;AAAK,CAAA,GAExDC,cAAcC,OAAO,mBAAA,GAErBC,eACXR,QAAQS,IAAIC,UAAU,SAAOV,qBAAAA,QAAQS,IAAIC,WAAK,QAAjBV,uBAAAA,SAAAA,SAAAA,mBAAmBW,WAAW,SAAA;",
5
+ "names": ["findCacheDir", "process", "CSS_FILE_NAME", "MEDIA_SEP", "cacheDir", "name", "create", "FAILED_EVAL", "Symbol", "SHOULD_DEBUG", "env", "DEBUG", "startsWith"]
6
6
  }
@@ -5,11 +5,7 @@ function accessSafe(obj, member) {
5
5
  t.logicalExpression(
6
6
  "&&",
7
7
  // typeof obj === 'object
8
- t.binaryExpression(
9
- "===",
10
- t.unaryExpression("typeof", obj),
11
- t.stringLiteral("object")
12
- ),
8
+ t.binaryExpression("===", t.unaryExpression("typeof", obj), t.stringLiteral("object")),
13
9
  // obj !== null
14
10
  t.binaryExpression("!==", obj, t.nullLiteral())
15
11
  ),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/accessSafe.ts"],
4
- "mappings": "AAAA,YAAY,OAAO;AAIZ,SAAS,WAAW,KAAmB,QAAqC;AACjF,SAAO,EAAE;AAAA,IACP;AAAA,IACA,EAAE;AAAA,MACA;AAAA;AAAA,MAEA,EAAE;AAAA,QACA;AAAA,QACA,EAAE,gBAAgB,UAAU,GAAG;AAAA,QAC/B,EAAE,cAAc,QAAQ;AAAA,MAC1B;AAAA;AAAA,MAEA,EAAE,iBAAiB,OAAO,KAAK,EAAE,YAAY,CAAC;AAAA,IAChD;AAAA;AAAA,IAEA,EAAE,iBAAiB,KAAK,EAAE,WAAW,MAAM,GAAG,EAAK;AAAA,EACrD;AACF;",
5
- "names": []
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/accessSafe.ts"],
4
+ "mappings": "AAAA,YAAYA,OAAO;AAIZ,SAASC,WAAWC,KAAmBC,QAAc;AAC1D,SAAOH,EAAEI;IACP;IACAJ,EAAEI;MACA;;MAEAJ,EAAEK,iBACA,OACAL,EAAEM,gBAAgB,UAAUJ,GAAAA,GAC5BF,EAAEO,cAAc,QAAA,CAAA;;MAGlBP,EAAEK,iBAAiB,OAAOH,KAAKF,EAAEQ,YAAW,CAAA;IAAA;;IAG9CR,EAAES,iBAAiBP,KAAKF,EAAEU,WAAWP,MAAAA,GAAS,EAAA;EAAA;AAElD;",
5
+ "names": ["t", "accessSafe", "obj", "member", "logicalExpression", "binaryExpression", "unaryExpression", "stringLiteral", "nullLiteral", "memberExpression", "identifier"]
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import * as babelParser from "@babel/parser";
2
- const plugins = [
2
+ var plugins = [
3
3
  "asyncGenerators",
4
4
  "classProperties",
5
5
  "dynamicImport",
@@ -17,15 +17,13 @@ const plugins = [
17
17
  sourceType: "module"
18
18
  }), parser = babelParser.parse.bind(babelParser);
19
19
  function babelParse(code, fileName) {
20
- const codeString = code.toString();
20
+ var codeString = code.toString();
21
21
  try {
22
22
  return parser(codeString, parserOptions);
23
23
  } catch (err) {
24
- throw new Error(
25
- `Error parsing babel: ${err} in ${fileName}, code:
26
- ${codeString}
27
- ${err.stack}`
28
- );
24
+ throw new Error("Error parsing babel: ".concat(err, " in ").concat(fileName, `, code:
25
+ `).concat(codeString, `
26
+ `).concat(err.stack));
29
27
  }
30
28
  }
31
29
  export {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/babelParse.ts"],
4
- "mappings": "AAAA,YAAY,iBAAiB;AAG7B,MAAM,UAAsC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEa,gBAA2C,OAAO,OAAO;AAAA,EACpE;AAAA,EACA,YAAY;AACd,CAAC,GAEK,SAAS,YAAY,MAAM,KAAK,WAAW;AAE1C,SAAS,WAAW,MAAuB,UAA2B;AAC3E,QAAM,aAAa,KAAK,SAAS;AACjC,MAAI;AACF,WAAO,OAAO,YAAY,aAAa;AAAA,EACzC,SAAS,KAAK;AACZ,UAAM,IAAI;AAAA,MACR,wBAAwB,GAAG,OAAO,QAAQ;AAAA,EAAY,UAAU;AAAA,GAC7D,IAAY,KACf;AAAA,IACF;AAAA,EACF;AACF;",
5
- "names": []
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/babelParse.ts"],
4
+ "mappings": "AAAA,YAAYA,iBAAiB;AAG7B,IAAMC,UAAsC;EAC1C;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;GAGWC,gBAA2CC,OAAOC,OAAO;EACpEH;EACAI,YAAY;AACd,CAAA,GAEMC,SAASN,YAAYO,MAAMC,KAAKR,WAAAA;AAE/B,SAASS,WAAWC,MAAuBC,UAAiB;AACjE,MAAMC,aAAaF,KAAKG,SAAQ;AAChC,MAAI;AACF,WAAOP,OAAOM,YAAYV,aAAAA;EAC5B,SAASY,KAAK;AACZ,UAAM,IAAIC,MACP,wBAAiCJ,OAAVG,KAAI,MAAA,EAA0BF,OAApBD,UAAS;CAAA,EACzC,OADoDC,YAAW;EAAA,EAEhE,OADEE,IAAYE,KAAK,CAAA;EAGxB;AACF;",
5
+ "names": ["babelParser", "plugins", "parserOptions", "Object", "freeze", "sourceType", "parser", "parse", "bind", "babelParse", "code", "fileName", "codeString", "toString", "err", "Error", "stack"]
6
6
  }