@tamagui/next-theme 1.108.0 → 1.108.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/cjs/ThemeSettingContext.js +12 -4
  2. package/dist/cjs/ThemeSettingContext.js.map +2 -2
  3. package/dist/cjs/ThemeSettingContext.native.js +11 -3
  4. package/dist/cjs/ThemeSettingContext.native.js.map +2 -2
  5. package/dist/cjs/useRootTheme.js +12 -4
  6. package/dist/cjs/useRootTheme.js.map +2 -2
  7. package/dist/cjs/useRootTheme.native.js +12 -4
  8. package/dist/cjs/useRootTheme.native.js.map +2 -2
  9. package/dist/cjs/useTheme.js +12 -4
  10. package/dist/cjs/useTheme.js.map +2 -2
  11. package/dist/cjs/useTheme.native.js +13 -5
  12. package/dist/cjs/useTheme.native.js.map +2 -2
  13. package/dist/esm/ThemeSettingContext.js +2 -2
  14. package/dist/esm/ThemeSettingContext.js.map +1 -1
  15. package/dist/esm/ThemeSettingContext.mjs +2 -2
  16. package/dist/esm/ThemeSettingContext.mjs.map +1 -1
  17. package/dist/esm/ThemeSettingContext.native.js +2 -2
  18. package/dist/esm/ThemeSettingContext.native.js.map +2 -2
  19. package/dist/esm/useRootTheme.js +2 -2
  20. package/dist/esm/useRootTheme.js.map +1 -1
  21. package/dist/esm/useRootTheme.mjs +2 -2
  22. package/dist/esm/useRootTheme.mjs.map +1 -1
  23. package/dist/esm/useRootTheme.native.js +2 -2
  24. package/dist/esm/useRootTheme.native.js.map +2 -2
  25. package/dist/esm/useTheme.js +2 -2
  26. package/dist/esm/useTheme.js.map +1 -1
  27. package/dist/esm/useTheme.mjs +3 -3
  28. package/dist/esm/useTheme.mjs.map +1 -1
  29. package/dist/esm/useTheme.native.js +3 -3
  30. package/dist/esm/useTheme.native.js.map +2 -2
  31. package/package.json +4 -4
  32. package/src/ThemeSettingContext.tsx +2 -2
  33. package/src/useRootTheme.tsx +2 -2
  34. package/src/useTheme.tsx +3 -3
  35. package/types/ThemeSettingContext.d.ts +2 -1
  36. package/types/ThemeSettingContext.d.ts.map +1 -1
  37. package/types/useRootTheme.d.ts +2 -1
  38. package/types/useRootTheme.d.ts.map +1 -1
  39. package/types/useTheme.d.ts.map +1 -1
@@ -1,7 +1,8 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
7
  for (var name in all)
7
8
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -11,14 +12,21 @@ var __export = (target, all) => {
11
12
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
13
  return to;
13
14
  };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
+ // If the importer is in node compatibility mode or this is not an ESM
17
+ // file that has been converted to a CommonJS file using a Babel-
18
+ // compatible transform (i.e. "__esModule" has not been set), then set
19
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
+ mod
22
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
23
  var ThemeSettingContext_exports = {};
16
24
  __export(ThemeSettingContext_exports, {
17
25
  ThemeSettingContext: () => ThemeSettingContext
18
26
  });
19
27
  module.exports = __toCommonJS(ThemeSettingContext_exports);
20
- var import_react = require("react");
21
- const ThemeSettingContext = (0, import_react.createContext)({
28
+ var import_react = __toESM(require("react"));
29
+ const ThemeSettingContext = import_react.default.createContext({
22
30
  toggle: () => {
23
31
  },
24
32
  set: (_) => {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ThemeSettingContext.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA8B;AAIvB,MAAM,0BAAsB,4BAA6B;AAAA,EAC9D,QAAQ,MAAM;AAAA,EAAC;AAAA,EACf,KAAK,CAAC,MAAM;AAAA,EAAC;AAAA,EACb,QAAQ,CAAC;AACX,CAAC;",
5
- "names": []
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAIX,MAAM,sBAAsB,aAAAA,QAAM,cAA6B;AAAA,EACpE,QAAQ,MAAM;AAAA,EAAC;AAAA,EACf,KAAK,CAAC,MAAM;AAAA,EAAC;AAAA,EACb,QAAQ,CAAC;AACX,CAAC;",
5
+ "names": ["React"]
6
6
  }
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
8
  for (var name in all)
8
9
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -12,13 +13,20 @@ var __export = (target, all) => {
12
13
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
14
  return to;
14
15
  };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
24
  var ThemeSettingContext_exports = {};
17
25
  __export(ThemeSettingContext_exports, {
18
26
  ThemeSettingContext: () => ThemeSettingContext
19
27
  });
20
28
  module.exports = __toCommonJS(ThemeSettingContext_exports);
21
- var import_react = require("react"), ThemeSettingContext = /* @__PURE__ */ (0, import_react.createContext)({
29
+ var import_react = __toESM(require("react")), ThemeSettingContext = /* @__PURE__ */ import_react.default.createContext({
22
30
  toggle: function() {
23
31
  },
24
32
  set: function(_) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/packages/next-theme/src/ThemeSettingContext.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;mBAA8B,kBAIjBA,sBAAsBC,gDAA6B;EAC9DC,QAAQ,WAAA;EAAO;EACfC,KAAK,SAACC,GAAAA;EAAO;EACbC,QAAQ,CAAA;AACV,CAAA;",
5
- "names": ["ThemeSettingContext", "createContext", "toggle", "set", "_", "themes"]
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;mBAAkB,2BAILA,sBAAsBC,6BAAAA,QAAMC,cAA6B;EACpEC,QAAQ,WAAA;EAAO;EACfC,KAAK,SAACC,GAAAA;EAAO;EACbC,QAAQ,CAAA;AACV,CAAA;",
5
+ "names": ["ThemeSettingContext", "React", "createContext", "toggle", "set", "_", "themes"]
6
6
  }
@@ -1,7 +1,8 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
7
  for (var name in all)
7
8
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -11,19 +12,26 @@ var __export = (target, all) => {
11
12
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
13
  return to;
13
14
  };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
+ // If the importer is in node compatibility mode or this is not an ESM
17
+ // file that has been converted to a CommonJS file using a Babel-
18
+ // compatible transform (i.e. "__esModule" has not been set), then set
19
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
+ mod
22
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
23
  var useRootTheme_exports = {};
16
24
  __export(useRootTheme_exports, {
17
25
  useRootTheme: () => useRootTheme
18
26
  });
19
27
  module.exports = __toCommonJS(useRootTheme_exports);
20
- var import_constants = require("@tamagui/constants"), import_react = require("react");
28
+ var import_react = __toESM(require("react")), import_constants = require("@tamagui/constants");
21
29
  const useRootTheme = ({ fallback = "light" } = {}) => {
22
30
  let initialVal = fallback;
23
31
  if (import_constants.isClient) {
24
32
  const classes = [...document.documentElement.classList];
25
33
  initialVal = classes.includes("t_dark") ? "dark" : classes.includes("t_light") ? "light" : fallback;
26
34
  }
27
- return (0, import_react.useState)(initialVal);
35
+ return import_react.default.useState(initialVal);
28
36
  };
29
37
  //# sourceMappingURL=useRootTheme.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/useRootTheme.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAyB,+BACzB,eAAyB;AAIlB,MAAM,eAAe,CAAC,EAAE,WAAW,QAAQ,IAAgC,CAAC,MAAM;AACvF,MAAI,aAAa;AAEjB,MAAI,2BAAU;AAEZ,UAAM,UAAU,CAAC,GAAG,SAAS,gBAAgB,SAAS;AACtD,iBAAa,QAAQ,SAAS,QAAQ,IAClC,SACA,QAAQ,SAAS,SAAS,IACxB,UACA;AAAA,EACR;AAEA,aAAO,uBAAsB,UAAU;AACzC;",
5
- "names": []
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB,2BAClB,mBAAyB;AAIlB,MAAM,eAAe,CAAC,EAAE,WAAW,QAAQ,IAAgC,CAAC,MAAM;AACvF,MAAI,aAAa;AAEjB,MAAI,2BAAU;AAEZ,UAAM,UAAU,CAAC,GAAG,SAAS,gBAAgB,SAAS;AACtD,iBAAa,QAAQ,SAAS,QAAQ,IAClC,SACA,QAAQ,SAAS,SAAS,IACxB,UACA;AAAA,EACR;AAEA,SAAO,aAAAA,QAAM,SAAsB,UAAU;AAC/C;",
5
+ "names": ["React"]
6
6
  }
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
8
  for (var name in all)
8
9
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -12,13 +13,20 @@ var __export = (target, all) => {
12
13
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
14
  return to;
14
15
  };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
24
  var useRootTheme_exports = {};
17
25
  __export(useRootTheme_exports, {
18
26
  useRootTheme: () => useRootTheme
19
27
  });
20
28
  module.exports = __toCommonJS(useRootTheme_exports);
21
- var import_constants = require("@tamagui/constants"), import_react = require("react");
29
+ var import_react = __toESM(require("react")), import_constants = require("@tamagui/constants");
22
30
  function _array_like_to_array(arr, len) {
23
31
  (len == null || len > arr.length) && (len = arr.length);
24
32
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
@@ -50,7 +58,7 @@ var useRootTheme = function() {
50
58
  var classes = _to_consumable_array(document.documentElement.classList);
51
59
  initialVal = classes.includes("t_dark") ? "dark" : classes.includes("t_light") ? "light" : fallback;
52
60
  }
53
- return (0, import_react.useState)(initialVal);
61
+ return import_react.default.useState(initialVal);
54
62
  };
55
63
  // Annotate the CommonJS export names for ESM import in node:
56
64
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/packages/next-theme/src/useRootTheme.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,uBAAyB,+BACzB,eAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;AAIlB,IAAMA,eAAe,WAAA;8EAAsD,CAAC,GAAA,gBAAA,KAApDC,UAAAA,WAAAA,kBAAAA,SAAW,UAAA,eACpCC,aAAaD;AAEjB,MAAIE,2BAAU;AAEZ,QAAMC,UAAW,qBAAGC,SAASC,gBAAgBC,SAAS;AACtDL,iBAAaE,QAAQI,SAAU,QAAA,IAC3B,SACAJ,QAAQI,SAAU,SAAA,IAChB,UACAP;EACR;AAEA,aAAOQ,uBAAsBP,UAAAA;AAC/B;",
5
- "names": ["useRootTheme", "fallback", "initialVal", "isClient", "classes", "document", "documentElement", "classList", "includes", "useState"]
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mBAAkB,2BAClB,mBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;AAIlB,IAAMA,eAAe,WAAA;8EAAsD,CAAC,GAAA,gBAAA,KAApDC,UAAAA,WAAAA,kBAAAA,SAAW,UAAA,eACpCC,aAAaD;AAEjB,MAAIE,2BAAU;AAEZ,QAAMC,UAAW,qBAAGC,SAASC,gBAAgBC,SAAS;AACtDL,iBAAaE,QAAQI,SAAU,QAAA,IAC3B,SACAJ,QAAQI,SAAU,SAAA,IAChB,UACAP;EACR;AAEA,SAAOQ,aAAAA,QAAMC,SAAsBR,UAAAA;AACrC;",
5
+ "names": ["useRootTheme", "fallback", "initialVal", "isClient", "classes", "document", "documentElement", "classList", "includes", "React", "useState"]
6
6
  }
@@ -1,7 +1,8 @@
1
+ var __create = Object.create;
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
7
  for (var name in all)
7
8
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -11,13 +12,20 @@ var __export = (target, all) => {
11
12
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
13
  return to;
13
14
  };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
+ // If the importer is in node compatibility mode or this is not an ESM
17
+ // file that has been converted to a CommonJS file using a Babel-
18
+ // compatible transform (i.e. "__esModule" has not been set), then set
19
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
+ mod
22
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
23
  var useTheme_exports = {};
16
24
  __export(useTheme_exports, {
17
25
  useTheme: () => useTheme,
18
26
  useThemeSetting: () => useThemeSetting
19
27
  });
20
28
  module.exports = __toCommonJS(useTheme_exports);
21
- var import_react = require("react"), import_ThemeSettingContext = require("./ThemeSettingContext");
22
- const useTheme = () => (0, import_react.useContext)(import_ThemeSettingContext.ThemeSettingContext), useThemeSetting = () => (0, import_react.useContext)(import_ThemeSettingContext.ThemeSettingContext);
29
+ var import_react = __toESM(require("react")), import_ThemeSettingContext = require("./ThemeSettingContext");
30
+ const useTheme = () => import_react.default.useContext(import_ThemeSettingContext.ThemeSettingContext), useThemeSetting = () => import_react.default.useContext(import_ThemeSettingContext.ThemeSettingContext);
23
31
  //# sourceMappingURL=useTheme.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/useTheme.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA2B,kBAE3B,6BAAoC;AAM7B,MAAM,WAAW,UAAM,yBAAW,8CAAmB,GAE/C,kBAAkB,UAAM,yBAAW,8CAAmB;",
5
- "names": []
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB,2BAElB,6BAAoC;AAM7B,MAAM,WAAW,MAAM,aAAAA,QAAM,WAAW,8CAAmB,GAErD,kBAAkB,MAAM,aAAAA,QAAM,WAAW,8CAAmB;",
5
+ "names": ["React"]
6
6
  }
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
8
  for (var name in all)
8
9
  __defProp(target, name, { get: all[name], enumerable: !0 });
@@ -12,17 +13,24 @@ var __export = (target, all) => {
12
13
  !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
14
  return to;
14
15
  };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
24
  var useTheme_exports = {};
17
25
  __export(useTheme_exports, {
18
26
  useTheme: () => useTheme,
19
27
  useThemeSetting: () => useThemeSetting
20
28
  });
21
29
  module.exports = __toCommonJS(useTheme_exports);
22
- var import_react = require("react"), import_ThemeSettingContext = require("./ThemeSettingContext"), useTheme = function() {
23
- return (0, import_react.useContext)(import_ThemeSettingContext.ThemeSettingContext);
30
+ var import_react = __toESM(require("react")), import_ThemeSettingContext = require("./ThemeSettingContext"), useTheme = function() {
31
+ return import_react.default.useContext(import_ThemeSettingContext.ThemeSettingContext);
24
32
  }, useThemeSetting = function() {
25
- return (0, import_react.useContext)(import_ThemeSettingContext.ThemeSettingContext);
33
+ return import_react.default.useContext(import_ThemeSettingContext.ThemeSettingContext);
26
34
  };
27
35
  // Annotate the CommonJS export names for ESM import in node:
28
36
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/packages/next-theme/src/useTheme.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;;mBAA2B,kBAE3B,6BAAoC,kCAMvBA,WAAW,WAAA;aAAMC,yBAAWC,8CAAAA;GAE5BC,kBAAkB,WAAA;aAAMF,yBAAWC,8CAAAA;;",
5
- "names": ["useTheme", "useContext", "ThemeSettingContext", "useThemeSetting"]
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;mBAAkB,2BAElB,6BAAoC,kCAMvBA,WAAW,WAAA;SAAMC,aAAAA,QAAMC,WAAWC,8CAAAA;GAElCC,kBAAkB,WAAA;SAAMH,aAAAA,QAAMC,WAAWC,8CAAAA;;",
5
+ "names": ["useTheme", "React", "useContext", "ThemeSettingContext", "useThemeSetting"]
6
6
  }
@@ -1,5 +1,5 @@
1
- import { createContext } from "react";
2
- const ThemeSettingContext = createContext({
1
+ import React from "react";
2
+ const ThemeSettingContext = React.createContext({
3
3
  toggle: () => {
4
4
  },
5
5
  set: (_) => {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ThemeSettingContext.tsx"],
4
- "mappings": "AAAA,SAAS,qBAAqB;AAIvB,MAAM,sBAAsB,cAA6B;AAAA,EAC9D,QAAQ,MAAM;AAAA,EAAC;AAAA,EACf,KAAK,CAAC,MAAM;AAAA,EAAC;AAAA,EACb,QAAQ,CAAC;AACX,CAAC;",
4
+ "mappings": "AAAA,OAAO,WAAW;AAIX,MAAM,sBAAsB,MAAM,cAA6B;AAAA,EACpE,QAAQ,MAAM;AAAA,EAAC;AAAA,EACf,KAAK,CAAC,MAAM;AAAA,EAAC;AAAA,EACb,QAAQ,CAAC;AACX,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,5 +1,5 @@
1
- import { createContext } from "react";
2
- const ThemeSettingContext = createContext({
1
+ import React from "react";
2
+ const ThemeSettingContext = React.createContext({
3
3
  toggle: () => {},
4
4
  set: _ => {},
5
5
  themes: []
@@ -1 +1 @@
1
- {"version":3,"names":["createContext","ThemeSettingContext","toggle","set","_","themes"],"sources":["../../src/ThemeSettingContext.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,QAAqB;AAIvB,MAAMC,mBAAA,GAAsBD,aAAA,CAA6B;EAC9DE,MAAA,EAAQA,CAAA,KAAM,CAAC;EACfC,GAAA,EAAMC,CAAA,IAAM,CAAC;EACbC,MAAA,EAAQ;AACV,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","ThemeSettingContext","createContext","toggle","set","_","themes"],"sources":["../../src/ThemeSettingContext.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAIX,MAAMC,mBAAA,GAAsBD,KAAA,CAAME,aAAA,CAA6B;EACpEC,MAAA,EAAQA,CAAA,KAAM,CAAC;EACfC,GAAA,EAAMC,CAAA,IAAM,CAAC;EACbC,MAAA,EAAQ;AACV,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import { createContext } from "react";
2
- var ThemeSettingContext = /* @__PURE__ */ createContext({
1
+ import React from "react";
2
+ var ThemeSettingContext = /* @__PURE__ */ React.createContext({
3
3
  toggle: function() {
4
4
  },
5
5
  set: function(_) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/packages/next-theme/src/ThemeSettingContext.tsx"],
4
- "mappings": "AAAA,SAASA,qBAAqB;AAIvB,IAAMC,sBAAsBD,8BAA6B;EAC9DE,QAAQ,WAAA;EAAO;EACfC,KAAK,SAACC,GAAAA;EAAO;EACbC,QAAQ,CAAA;AACV,CAAA;",
5
- "names": ["createContext", "ThemeSettingContext", "toggle", "set", "_", "themes"]
4
+ "mappings": "AAAA,OAAOA,WAAW;AAIX,IAAMC,sBAAsBD,sBAAME,cAA6B;EACpEC,QAAQ,WAAA;EAAO;EACfC,KAAK,SAACC,GAAAA;EAAO;EACbC,QAAQ,CAAA;AACV,CAAA;",
5
+ "names": ["React", "ThemeSettingContext", "createContext", "toggle", "set", "_", "themes"]
6
6
  }
@@ -1,12 +1,12 @@
1
+ import React from "react";
1
2
  import { isClient } from "@tamagui/constants";
2
- import { useState } from "react";
3
3
  const useRootTheme = ({ fallback = "light" } = {}) => {
4
4
  let initialVal = fallback;
5
5
  if (isClient) {
6
6
  const classes = [...document.documentElement.classList];
7
7
  initialVal = classes.includes("t_dark") ? "dark" : classes.includes("t_light") ? "light" : fallback;
8
8
  }
9
- return useState(initialVal);
9
+ return React.useState(initialVal);
10
10
  };
11
11
  export {
12
12
  useRootTheme
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/useRootTheme.tsx"],
4
- "mappings": "AAAA,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AAIlB,MAAM,eAAe,CAAC,EAAE,WAAW,QAAQ,IAAgC,CAAC,MAAM;AACvF,MAAI,aAAa;AAEjB,MAAI,UAAU;AAEZ,UAAM,UAAU,CAAC,GAAG,SAAS,gBAAgB,SAAS;AACtD,iBAAa,QAAQ,SAAS,QAAQ,IAClC,SACA,QAAQ,SAAS,SAAS,IACxB,UACA;AAAA,EACR;AAEA,SAAO,SAAsB,UAAU;AACzC;",
4
+ "mappings": "AAAA,OAAO,WAAW;AAClB,SAAS,gBAAgB;AAIlB,MAAM,eAAe,CAAC,EAAE,WAAW,QAAQ,IAAgC,CAAC,MAAM;AACvF,MAAI,aAAa;AAEjB,MAAI,UAAU;AAEZ,UAAM,UAAU,CAAC,GAAG,SAAS,gBAAgB,SAAS;AACtD,iBAAa,QAAQ,SAAS,QAAQ,IAClC,SACA,QAAQ,SAAS,SAAS,IACxB,UACA;AAAA,EACR;AAEA,SAAO,MAAM,SAAsB,UAAU;AAC/C;",
5
5
  "names": []
6
6
  }
@@ -1,5 +1,5 @@
1
+ import React from "react";
1
2
  import { isClient } from "@tamagui/constants";
2
- import { useState } from "react";
3
3
  const useRootTheme = ({
4
4
  fallback = "light"
5
5
  } = {}) => {
@@ -8,7 +8,7 @@ const useRootTheme = ({
8
8
  const classes = [...document.documentElement.classList];
9
9
  initialVal = classes.includes("t_dark") ? "dark" : classes.includes("t_light") ? "light" : fallback;
10
10
  }
11
- return useState(initialVal);
11
+ return React.useState(initialVal);
12
12
  };
13
13
  export { useRootTheme };
14
14
  //# sourceMappingURL=useRootTheme.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["isClient","useState","useRootTheme","fallback","initialVal","classes","document","documentElement","classList","includes"],"sources":["../../src/useRootTheme.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,QAAA,QAAgB;AACzB,SAASC,QAAA,QAAgB;AAIlB,MAAMC,YAAA,GAAeA,CAAC;EAAEC,QAAA,GAAW;AAAQ,IAAgC,CAAC,MAAM;EACvF,IAAIC,UAAA,GAAaD,QAAA;EAEjB,IAAIH,QAAA,EAAU;IAEZ,MAAMK,OAAA,GAAU,CAAC,GAAGC,QAAA,CAASC,eAAA,CAAgBC,SAAS;IACtDJ,UAAA,GAAaC,OAAA,CAAQI,QAAA,CAAS,QAAQ,IAClC,SACAJ,OAAA,CAAQI,QAAA,CAAS,SAAS,IACxB,UACAN,QAAA;EACR;EAEA,OAAOF,QAAA,CAAsBG,UAAU;AACzC","ignoreList":[]}
1
+ {"version":3,"names":["React","isClient","useRootTheme","fallback","initialVal","classes","document","documentElement","classList","includes","useState"],"sources":["../../src/useRootTheme.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAClB,SAASC,QAAA,QAAgB;AAIlB,MAAMC,YAAA,GAAeA,CAAC;EAAEC,QAAA,GAAW;AAAQ,IAAgC,CAAC,MAAM;EACvF,IAAIC,UAAA,GAAaD,QAAA;EAEjB,IAAIF,QAAA,EAAU;IAEZ,MAAMI,OAAA,GAAU,CAAC,GAAGC,QAAA,CAASC,eAAA,CAAgBC,SAAS;IACtDJ,UAAA,GAAaC,OAAA,CAAQI,QAAA,CAAS,QAAQ,IAClC,SACAJ,OAAA,CAAQI,QAAA,CAAS,SAAS,IACxB,UACAN,QAAA;EACR;EAEA,OAAOH,KAAA,CAAMU,QAAA,CAAsBN,UAAU;AAC/C","ignoreList":[]}
@@ -1,5 +1,5 @@
1
+ import React from "react";
1
2
  import { isClient } from "@tamagui/constants";
2
- import { useState } from "react";
3
3
  function _array_like_to_array(arr, len) {
4
4
  (len == null || len > arr.length) && (len = arr.length);
5
5
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
@@ -31,7 +31,7 @@ var useRootTheme = function() {
31
31
  var classes = _to_consumable_array(document.documentElement.classList);
32
32
  initialVal = classes.includes("t_dark") ? "dark" : classes.includes("t_light") ? "light" : fallback;
33
33
  }
34
- return useState(initialVal);
34
+ return React.useState(initialVal);
35
35
  };
36
36
  export {
37
37
  useRootTheme
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/packages/next-theme/src/useRootTheme.tsx"],
4
- "mappings": "AAAA,SAASA,gBAAgB;AACzB,SAASC,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;AAIlB,IAAMC,eAAe,WAAA;8EAAsD,CAAC,GAAA,gBAAA,KAApDC,UAAAA,WAAAA,kBAAAA,SAAW,UAAA,eACpCC,aAAaD;AAEjB,MAAIH,UAAU;AAEZ,QAAMK,UAAW,qBAAGC,SAASC,gBAAgBC,SAAS;AACtDJ,iBAAaC,QAAQI,SAAU,QAAA,IAC3B,SACAJ,QAAQI,SAAU,SAAA,IAChB,UACAN;EACR;AAEA,SAAOF,SAAsBG,UAAAA;AAC/B;",
5
- "names": ["isClient", "useState", "useRootTheme", "fallback", "initialVal", "classes", "document", "documentElement", "classList", "includes"]
4
+ "mappings": "AAAA,OAAOA,WAAW;AAClB,SAASC,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;AAIlB,IAAMC,eAAe,WAAA;8EAAsD,CAAC,GAAA,gBAAA,KAApDC,UAAAA,WAAAA,kBAAAA,SAAW,UAAA,eACpCC,aAAaD;AAEjB,MAAIF,UAAU;AAEZ,QAAMI,UAAW,qBAAGC,SAASC,gBAAgBC,SAAS;AACtDJ,iBAAaC,QAAQI,SAAU,QAAA,IAC3B,SACAJ,QAAQI,SAAU,SAAA,IAChB,UACAN;EACR;AAEA,SAAOH,MAAMU,SAAsBN,UAAAA;AACrC;",
5
+ "names": ["React", "isClient", "useRootTheme", "fallback", "initialVal", "classes", "document", "documentElement", "classList", "includes", "useState"]
6
6
  }
@@ -1,6 +1,6 @@
1
- import { useContext } from "react";
1
+ import React from "react";
2
2
  import { ThemeSettingContext } from "./ThemeSettingContext";
3
- const useTheme = () => useContext(ThemeSettingContext), useThemeSetting = () => useContext(ThemeSettingContext);
3
+ const useTheme = () => React.useContext(ThemeSettingContext), useThemeSetting = () => React.useContext(ThemeSettingContext);
4
4
  export {
5
5
  useTheme,
6
6
  useThemeSetting
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/useTheme.tsx"],
4
- "mappings": "AAAA,SAAS,kBAAkB;AAE3B,SAAS,2BAA2B;AAM7B,MAAM,WAAW,MAAM,WAAW,mBAAmB,GAE/C,kBAAkB,MAAM,WAAW,mBAAmB;",
4
+ "mappings": "AAAA,OAAO,WAAW;AAElB,SAAS,2BAA2B;AAM7B,MAAM,WAAW,MAAM,MAAM,WAAW,mBAAmB,GAErD,kBAAkB,MAAM,MAAM,WAAW,mBAAmB;",
5
5
  "names": []
6
6
  }
@@ -1,6 +1,6 @@
1
- import { useContext } from "react";
1
+ import React from "react";
2
2
  import { ThemeSettingContext } from "./ThemeSettingContext.mjs";
3
- const useTheme = () => useContext(ThemeSettingContext),
4
- useThemeSetting = () => useContext(ThemeSettingContext);
3
+ const useTheme = () => React.useContext(ThemeSettingContext),
4
+ useThemeSetting = () => React.useContext(ThemeSettingContext);
5
5
  export { useTheme, useThemeSetting };
6
6
  //# sourceMappingURL=useTheme.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["useContext","ThemeSettingContext","useTheme","useThemeSetting"],"sources":["../../src/useTheme.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,UAAA,QAAkB;AAE3B,SAASC,mBAAA,QAA2B;AAM7B,MAAMC,QAAA,GAAWA,CAAA,KAAMF,UAAA,CAAWC,mBAAmB;EAE/CE,eAAA,GAAkBA,CAAA,KAAMH,UAAA,CAAWC,mBAAmB","ignoreList":[]}
1
+ {"version":3,"names":["React","ThemeSettingContext","useTheme","useContext","useThemeSetting"],"sources":["../../src/useTheme.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAElB,SAASC,mBAAA,QAA2B;AAM7B,MAAMC,QAAA,GAAWA,CAAA,KAAMF,KAAA,CAAMG,UAAA,CAAWF,mBAAmB;EAErDG,eAAA,GAAkBA,CAAA,KAAMJ,KAAA,CAAMG,UAAA,CAAWF,mBAAmB","ignoreList":[]}
@@ -1,9 +1,9 @@
1
- import { useContext } from "react";
1
+ import React from "react";
2
2
  import { ThemeSettingContext } from "./ThemeSettingContext";
3
3
  var useTheme = function() {
4
- return useContext(ThemeSettingContext);
4
+ return React.useContext(ThemeSettingContext);
5
5
  }, useThemeSetting = function() {
6
- return useContext(ThemeSettingContext);
6
+ return React.useContext(ThemeSettingContext);
7
7
  };
8
8
  export {
9
9
  useTheme,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/packages/next-theme/src/useTheme.tsx"],
4
- "mappings": "AAAA,SAASA,kBAAkB;AAE3B,SAASC,2BAA2B;AAM7B,IAAMC,WAAW,WAAA;SAAMF,WAAWC,mBAAAA;GAE5BE,kBAAkB,WAAA;SAAMH,WAAWC,mBAAAA;;",
5
- "names": ["useContext", "ThemeSettingContext", "useTheme", "useThemeSetting"]
4
+ "mappings": "AAAA,OAAOA,WAAW;AAElB,SAASC,2BAA2B;AAM7B,IAAMC,WAAW,WAAA;SAAMF,MAAMG,WAAWF,mBAAAA;GAElCG,kBAAkB,WAAA;SAAMJ,MAAMG,WAAWF,mBAAAA;;",
5
+ "names": ["React", "ThemeSettingContext", "useTheme", "useContext", "useThemeSetting"]
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/next-theme",
3
- "version": "1.108.0",
3
+ "version": "1.108.2",
4
4
  "sideEffects": false,
5
5
  "source": "src/index.ts",
6
6
  "types": "./types/index.d.ts",
@@ -20,11 +20,11 @@
20
20
  "clean:build": "tamagui-build clean:build"
21
21
  },
22
22
  "dependencies": {
23
- "@tamagui/constants": "1.108.0",
24
- "@tamagui/use-event": "1.108.0"
23
+ "@tamagui/constants": "1.108.2",
24
+ "@tamagui/use-event": "1.108.2"
25
25
  },
26
26
  "devDependencies": {
27
- "@tamagui/build": "1.108.0",
27
+ "@tamagui/build": "1.108.2",
28
28
  "react": "^18.2.0 || ^19.0.0"
29
29
  },
30
30
  "peerDependencies": {
@@ -1,8 +1,8 @@
1
- import { createContext } from 'react'
1
+ import React from 'react'
2
2
 
3
3
  import type { UseThemeProps } from './UseThemeProps'
4
4
 
5
- export const ThemeSettingContext = createContext<UseThemeProps>({
5
+ export const ThemeSettingContext = React.createContext<UseThemeProps>({
6
6
  toggle: () => {},
7
7
  set: (_) => {},
8
8
  themes: [],
@@ -1,5 +1,5 @@
1
+ import React from 'react'
1
2
  import { isClient } from '@tamagui/constants'
2
- import { useState } from 'react'
3
3
 
4
4
  import type { ColorScheme } from './types'
5
5
 
@@ -16,5 +16,5 @@ export const useRootTheme = ({ fallback = 'light' }: { fallback?: ColorScheme }
16
16
  : fallback
17
17
  }
18
18
 
19
- return useState<ColorScheme>(initialVal)
19
+ return React.useState<ColorScheme>(initialVal)
20
20
  }
package/src/useTheme.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { useContext } from 'react'
1
+ import React from 'react'
2
2
 
3
3
  import { ThemeSettingContext } from './ThemeSettingContext'
4
4
 
@@ -6,6 +6,6 @@ import { ThemeSettingContext } from './ThemeSettingContext'
6
6
  * @deprecated renamed to `useThemeSetting` to avoid confusion with core `useTheme` hook
7
7
  */
8
8
 
9
- export const useTheme = () => useContext(ThemeSettingContext)
9
+ export const useTheme = () => React.useContext(ThemeSettingContext)
10
10
 
11
- export const useThemeSetting = () => useContext(ThemeSettingContext)
11
+ export const useThemeSetting = () => React.useContext(ThemeSettingContext)
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { UseThemeProps } from './UseThemeProps';
2
- export declare const ThemeSettingContext: import("react").Context<UseThemeProps>;
3
+ export declare const ThemeSettingContext: React.Context<UseThemeProps>;
3
4
  //# sourceMappingURL=ThemeSettingContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeSettingContext.d.ts","sourceRoot":"","sources":["../src/ThemeSettingContext.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEpD,eAAO,MAAM,mBAAmB,wCAI9B,CAAA"}
1
+ {"version":3,"file":"ThemeSettingContext.d.ts","sourceRoot":"","sources":["../src/ThemeSettingContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEpD,eAAO,MAAM,mBAAmB,8BAI9B,CAAA"}
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import type { ColorScheme } from './types';
2
3
  export declare const useRootTheme: ({ fallback }?: {
3
4
  fallback?: ColorScheme;
4
- }) => [ColorScheme, import("react").Dispatch<import("react").SetStateAction<ColorScheme>>];
5
+ }) => [ColorScheme, React.Dispatch<React.SetStateAction<ColorScheme>>];
5
6
  //# sourceMappingURL=useRootTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRootTheme.d.ts","sourceRoot":"","sources":["../src/useRootTheme.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,YAAY,kBAA4B;IAAE,QAAQ,CAAC,EAAE,WAAW,CAAA;CAAE,yFAc9E,CAAA"}
1
+ {"version":3,"file":"useRootTheme.d.ts","sourceRoot":"","sources":["../src/useRootTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,eAAO,MAAM,YAAY,kBAA4B;IAAE,QAAQ,CAAC,EAAE,WAAW,CAAA;CAAE,qEAc9E,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../src/useTheme.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,eAAO,MAAM,QAAQ,+CAAwC,CAAA;AAE7D,eAAO,MAAM,eAAe,+CAAwC,CAAA"}
1
+ {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../src/useTheme.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,eAAO,MAAM,QAAQ,+CAA8C,CAAA;AAEnE,eAAO,MAAM,eAAe,+CAA8C,CAAA"}