@hanzogui/logo 3.0.6 → 4.4.0

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 (57) hide show
  1. package/dist/cjs/GuiLogo.cjs +36 -32
  2. package/dist/cjs/GuiLogo.native.js +44 -42
  3. package/dist/cjs/GuiLogo.native.js.map +1 -1
  4. package/dist/cjs/GuiLogoSvg.cjs +12 -10
  5. package/dist/cjs/GuiLogoSvg.native.js +59 -57
  6. package/dist/cjs/GuiLogoSvg.native.js.map +1 -1
  7. package/dist/cjs/LogoIcon.cjs +33 -29
  8. package/dist/cjs/LogoIcon.native.js +36 -34
  9. package/dist/cjs/LogoIcon.native.js.map +1 -1
  10. package/dist/cjs/LogoWords.cjs +63 -52
  11. package/dist/cjs/LogoWords.native.js +67 -60
  12. package/dist/cjs/LogoWords.native.js.map +1 -1
  13. package/dist/cjs/SeasonProvider.cjs +21 -16
  14. package/dist/cjs/SeasonProvider.native.js +21 -16
  15. package/dist/cjs/SeasonProvider.native.js.map +1 -1
  16. package/dist/cjs/ThemeTint.cjs +40 -37
  17. package/dist/cjs/ThemeTint.native.js +43 -41
  18. package/dist/cjs/ThemeTint.native.js.map +1 -1
  19. package/dist/cjs/index.cjs +7 -5
  20. package/dist/cjs/index.native.js +14 -12
  21. package/dist/cjs/index.native.js.map +1 -1
  22. package/dist/cjs/tints.cjs +61 -47
  23. package/dist/cjs/tints.native.js +59 -49
  24. package/dist/cjs/tints.native.js.map +1 -1
  25. package/dist/cjs/useTint.cjs +90 -77
  26. package/dist/cjs/useTint.native.js +99 -90
  27. package/dist/cjs/useTint.native.js.map +1 -1
  28. package/dist/esm/GuiLogo.mjs +20 -18
  29. package/dist/esm/GuiLogo.mjs.map +1 -1
  30. package/dist/esm/GuiLogo.native.js +2 -2
  31. package/dist/esm/GuiLogo.native.js.map +1 -1
  32. package/dist/esm/LogoIcon.mjs +18 -16
  33. package/dist/esm/LogoIcon.mjs.map +1 -1
  34. package/dist/esm/LogoIcon.native.js.map +1 -1
  35. package/dist/esm/LogoWords.mjs +35 -26
  36. package/dist/esm/LogoWords.mjs.map +1 -1
  37. package/dist/esm/LogoWords.native.js +38 -33
  38. package/dist/esm/LogoWords.native.js.map +1 -1
  39. package/dist/esm/SeasonProvider.mjs +6 -3
  40. package/dist/esm/SeasonProvider.mjs.map +1 -1
  41. package/dist/esm/SeasonProvider.native.js +6 -3
  42. package/dist/esm/SeasonProvider.native.js.map +1 -1
  43. package/dist/esm/ThemeTint.mjs +25 -24
  44. package/dist/esm/ThemeTint.mjs.map +1 -1
  45. package/dist/esm/ThemeTint.native.js +27 -27
  46. package/dist/esm/ThemeTint.native.js.map +1 -1
  47. package/dist/esm/tints.mjs +37 -25
  48. package/dist/esm/tints.mjs.map +1 -1
  49. package/dist/esm/tints.native.js +34 -26
  50. package/dist/esm/tints.native.js.map +1 -1
  51. package/dist/esm/useTint.mjs +62 -51
  52. package/dist/esm/useTint.mjs.map +1 -1
  53. package/dist/esm/useTint.native.js +72 -65
  54. package/dist/esm/useTint.native.js.map +1 -1
  55. package/package.json +5 -5
  56. package/src/SeasonProvider.tsx +2 -2
  57. package/types/SeasonProvider.d.ts.map +1 -1
@@ -3,30 +3,32 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var GuiLogo_exports = {};
22
24
  __export(GuiLogo_exports, {
23
25
  GuiLogo: () => GuiLogo
24
26
  });
25
27
  module.exports = __toCommonJS(GuiLogo_exports);
26
- var import_gui = require("@hanzo/gui"),
27
- import_LogoIcon = require("./LogoIcon.cjs"),
28
- import_LogoWords = require("./LogoWords.cjs"),
29
- import_jsx_runtime = require("react/jsx-runtime");
28
+ var import_gui = require("@hanzo/gui");
29
+ var import_LogoIcon = require("./LogoIcon.cjs");
30
+ var import_LogoWords = require("./LogoWords.cjs");
31
+ var import_jsx_runtime = require("react/jsx-runtime");
30
32
  const GuiLogo = ({
31
33
  showWords,
32
34
  downscale,
@@ -34,22 +36,24 @@ const GuiLogo = ({
34
36
  color,
35
37
  ref,
36
38
  ...props
37
- }) => /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_gui.XStack, {
38
- render: "span",
39
- ref,
40
- alignItems: "center",
41
- justifyContent: "center",
42
- gap: "$5",
43
- ...props,
44
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
45
- downscale: (downscale ?? 1) * (showWords ? 2 : 1.5),
46
- color
47
- }), showWords && /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui.YStack, {
39
+ }) => {
40
+ return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_gui.XStack, {
48
41
  render: "span",
49
- marginBottom: -4,
50
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
51
- animated,
52
- downscale: downscale ?? 2
53
- })
54
- })]
55
- });
42
+ ref,
43
+ alignItems: "center",
44
+ justifyContent: "center",
45
+ gap: "$5",
46
+ ...props,
47
+ children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
48
+ downscale: (downscale ?? 1) * (showWords ? 2 : 1.5),
49
+ color
50
+ }), showWords && /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui.YStack, {
51
+ render: "span",
52
+ marginBottom: -4,
53
+ children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
54
+ animated,
55
+ downscale: downscale ?? 2
56
+ })
57
+ })]
58
+ });
59
+ };
@@ -5,57 +5,59 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var GuiLogo_exports = {};
24
26
  __export(GuiLogo_exports, {
25
27
  GuiLogo: () => GuiLogo
26
28
  });
27
29
  module.exports = __toCommonJS(GuiLogo_exports);
28
- var import_jsx_runtime = require("react/jsx-runtime"),
29
- import_gui = require("@hanzo/gui"),
30
- import_LogoIcon = require("./LogoIcon"),
31
- import_LogoWords = require("./LogoWords"),
32
- GuiLogo = function (param) {
33
- var {
34
- showWords,
35
- downscale,
36
- animated,
37
- color,
38
- ref,
39
- ...props
40
- } = param;
41
- return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_gui.XStack, {
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var import_gui = require("@hanzo/gui");
32
+ var import_LogoIcon = require("./LogoIcon.native.js");
33
+ var import_LogoWords = require("./LogoWords.native.js");
34
+ var GuiLogo = function (param) {
35
+ var {
36
+ showWords,
37
+ downscale,
38
+ animated,
39
+ color,
40
+ ref,
41
+ ...props
42
+ } = param;
43
+ return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_gui.XStack, {
44
+ render: "span",
45
+ ref,
46
+ alignItems: "center",
47
+ justifyContent: "center",
48
+ gap: "$5",
49
+ ...props,
50
+ children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
51
+ downscale: (downscale !== null && downscale !== void 0 ? downscale : 1) * (showWords ? 2 : 1.5),
52
+ color
53
+ }), showWords && /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui.YStack, {
42
54
  render: "span",
43
- ref,
44
- alignItems: "center",
45
- justifyContent: "center",
46
- gap: "$5",
47
- ...props,
48
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
49
- downscale: (downscale ?? 1) * (showWords ? 2 : 1.5),
50
- color
51
- }), showWords && /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui.YStack, {
52
- render: "span",
53
- marginBottom: -4,
54
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
55
- animated,
56
- downscale: downscale ?? 2
57
- })
58
- })]
59
- });
60
- };
55
+ marginBottom: -4,
56
+ children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
57
+ animated,
58
+ downscale: downscale !== null && downscale !== void 0 ? downscale : 2
59
+ })
60
+ })]
61
+ });
62
+ };
61
63
  //# sourceMappingURL=GuiLogo.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","GuiLogo_exports","GuiLogo","module","exports","import_jsx_runtime","require","import_gui","import_LogoIcon","import_LogoWords","param","showWords","downscale","animated","color","ref","props","jsxs","XStack","render","alignItems","justifyContent","gap","children","jsx","LogoIcon","YStack","marginBottom","LogoWords"],"sources":["GuiLogo.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar GuiLogo_exports = {};\n__export(GuiLogo_exports, {\n GuiLogo: () => GuiLogo\n});\nmodule.exports = __toCommonJS(GuiLogo_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\"), import_gui = require(\"@hanzo/gui\"), import_LogoIcon = require(\"./LogoIcon\"), import_LogoWords = require(\"./LogoWords\"), GuiLogo = function(param) {\n var { showWords, downscale, animated, color, ref, ...props } = param;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_gui.XStack, {\n render: \"span\",\n ref,\n alignItems: \"center\",\n justifyContent: \"center\",\n gap: \"$5\",\n ...props,\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {\n downscale: (downscale ?? 1) * (showWords ? 2 : 1.5),\n color\n }),\n showWords && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_gui.YStack, {\n render: \"span\",\n marginBottom: -4,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {\n animated,\n downscale: downscale ?? 2\n })\n })\n ]\n });\n};\n//# sourceMappingURL=GuiLogo.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE,CAAC;IAAE,CAAC,CAAC;EAC/D,CAAC;EAAEC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC3C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAInB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAA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A,SAAS,IAAI,CAAC,KAAKD,SAAS,GAAG,CAAC,GAAG,GAAG,CAAC;QACnDG;MACF,CAAC,CAAC,EACFH,SAAS,IAAI,eAAgB,CAAC,CAAC,EAAEN,kBAAkB,CAACmB,GAAG,EAAEjB,UAAU,CAACmB,MAAM,EAAE;QAC1EP,MAAM,EAAE,MAAM;QACdQ,YAAY,EAAE,CAAC,CAAC;QAChBJ,QAAQ,EAAE,eAAgB,CAAC,CAAC,EAAElB,kBAAkB,CAACmB,GAAG,EAAEf,gBAAgB,CAACmB,SAAS,EAAE;UAChFf,QAAQ;UACRD,SAAS,EAAEA,SAAS,IAAI;QAC1B,CAAC;MACH,CAAC,CAAC;IAEN,CAAC,CAAC;EACJ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","GuiLogo_exports","__export","GuiLogo","module","exports","import_jsx_runtime","require","import_gui","import_LogoIcon","import_LogoWords","param","showWords","downscale","animated","color","ref","props","jsxs","XStack","render","alignItems","justifyContent","gap","children","jsx","LogoIcon","YStack","marginBottom","LogoWords"],"sources":["../../src/GuiLogo.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,eAAA;AAAAC,QAAA,CAAAD,eAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAA;AAAA;AAEAC,MAAA,CAAAC,OAAA,GAA+BT,YAAA,CAAAK,eAAA;AAC/B,IAAAK,kBAAyB,GAAAC,OAAA;AACzB,IAAAC,UAAA,GAAAD,OAA0B;AAmBtB,IAAAE,eAAA,GAAAF,OAAA;AATG,IAAAG,gBAAiB,GAAAH,OAAA;AAAA,IACtBJ,OAAA,YAAAA,CAAAQ,KAAA;EACA;IAAAC,SAAA;IAAAC,SAAA;IAAAC,QAAA;IAAAC,KAAA;IAAAC,GAAA;IAAA,GAAAC;EAAA,IAAAN,KAAA;EACA,0BAAAL,kBAAA,CAAAY,IAAA,EAAAV,UAAA,CAAAW,MAAA;IACAC,MAAA;IACAJ,GAAA;IACAK,UAAG;IACLC,cAA8B;IAC5BC,GAAA,EACE;IAAC,GAAAN,KAAA;IAAAO,QAAA,GACC,eAAO,IAAAlB,kBAAA,CAAAmB,GAAA,EAAAhB,eAAA,CAAAiB,QAAA;MACPb,SAAA,GAAAA,SAAA,aAAAA,SAAA,cAAAA,SAAA,SAAAD,SAAA;MACAG;IACA,IACAH,SAAI,uBAAAN,kBAAA,CAAAmB,GAAA,EAAAjB,UAAA,CAAAmB,MAAA;MACHP,MAAG;MAEJQ,YAAA;MAAAJ,QAAA,qBAAAlB,kBAAC,CAAAmB,GAAA,EAAAf,gBAAA,CAAAmB,SAAS;QACTf,QAAA;QAGCD,SAAA,EAAAA,SAAA,aAAAA,SAAA,cAAAA,SAAA;MAAA;IAEJ","ignoreList":[]}
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var GuiLogoSvg_exports = {};
22
24
  __export(GuiLogoSvg_exports, {
@@ -5,74 +5,76 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var GuiLogoSvg_exports = {};
24
26
  __export(GuiLogoSvg_exports, {
25
27
  GuiIconSvg: () => GuiIconSvg
26
28
  });
27
29
  module.exports = __toCommonJS(GuiLogoSvg_exports);
28
- var import_jsx_runtime = require("react/jsx-runtime"),
29
- GuiIconSvg = function (param) {
30
- var {
31
- color = "#ECD20A",
32
- ...props
33
- } = param;
34
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)("svg", {
35
- width: "160px",
36
- height: "160px",
37
- viewBox: "0 0 160 160",
38
- ...props,
39
- children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
40
- id: "duck",
41
- stroke: "none",
42
- strokeWidth: "1",
43
- fill: "none",
44
- fillRule: "evenodd",
45
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("circle", {
46
- id: "Oval",
47
- cx: "80",
48
- cy: "80",
49
- r: "145"
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var GuiIconSvg = function (param) {
32
+ var {
33
+ color = "#ECD20A",
34
+ ...props
35
+ } = param;
36
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)("svg", {
37
+ width: "160px",
38
+ height: "160px",
39
+ viewBox: "0 0 160 160",
40
+ ...props,
41
+ children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
42
+ id: "duck",
43
+ stroke: "none",
44
+ strokeWidth: "1",
45
+ fill: "none",
46
+ fillRule: "evenodd",
47
+ children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("circle", {
48
+ id: "Oval",
49
+ cx: "80",
50
+ cy: "80",
51
+ r: "145"
52
+ }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
53
+ id: "Group-Copy-5",
54
+ children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("path", {
55
+ d: "M10,110 L10,100 L20,100 L20,90 L30,90 L30,80 L40,80 L40,30 L50,30 L50,10 L70,10 L70,0 L120,0 L120,10 L130,10 L130,20 L140,20 L140,40 L160,40 L160,50 L150,50 L150,60 L160,60 L160,70 L150,70 L150,80 L140,80 L140,100 L150,100 L150,110 L160,110 L160,140 L150,140 L150,150 L130,150 L130,160 L40,160 L40,150 L20,150 L20,140 L10,140 L10,130 L0,130 L0,110 L10,110 Z M90,40 L80,40 L80,50 L90,50 L90,40 Z M120,30 L110,30 L110,40 L120,40 L120,30 Z",
56
+ id: "Combined-Shape",
57
+ fill: color
50
58
  }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
51
- id: "Group-Copy-5",
52
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("path", {
53
- d: "M10,110 L10,100 L20,100 L20,90 L30,90 L30,80 L40,80 L40,30 L50,30 L50,10 L70,10 L70,0 L120,0 L120,10 L130,10 L130,20 L140,20 L140,40 L160,40 L160,50 L150,50 L150,60 L160,60 L160,70 L150,70 L150,80 L140,80 L140,100 L150,100 L150,110 L160,110 L160,140 L150,140 L150,150 L130,150 L130,160 L40,160 L40,150 L20,150 L20,140 L10,140 L10,130 L0,130 L0,110 L10,110 Z M90,40 L80,40 L80,50 L90,50 L90,40 Z M120,30 L110,30 L110,40 L120,40 L120,30 Z",
54
- id: "Combined-Shape",
55
- fill: color
56
- }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
57
- id: "Group",
58
- transform: "translate(80, 30)",
59
- fill: "#000000",
60
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
61
- id: "Rectangle-Copy-117",
62
- x: "0",
63
- y: "10",
64
- width: "10",
65
- height: "10"
66
- }), /* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
67
- id: "Rectangle-Copy-141",
68
- x: "30",
69
- y: "0",
70
- width: "10",
71
- height: "10"
72
- })]
59
+ id: "Group",
60
+ transform: "translate(80, 30)",
61
+ fill: "#000000",
62
+ children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
63
+ id: "Rectangle-Copy-117",
64
+ x: "0",
65
+ y: "10",
66
+ width: "10",
67
+ height: "10"
68
+ }), /* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
69
+ id: "Rectangle-Copy-141",
70
+ x: "30",
71
+ y: "0",
72
+ width: "10",
73
+ height: "10"
73
74
  })]
74
75
  })]
75
- })
76
- });
77
- };
76
+ })]
77
+ })
78
+ });
79
+ };
78
80
  //# sourceMappingURL=GuiLogoSvg.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","GuiLogoSvg_exports","GuiIconSvg","module","exports","import_jsx_runtime","require","param","color","props","jsx","width","height","viewBox","children","jsxs","id","stroke","strokeWidth","fill","fillRule","cx","cy","r","d","transform","x","y"],"sources":["GuiLogoSvg.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar GuiLogoSvg_exports = {};\n__export(GuiLogoSvg_exports, {\n GuiIconSvg: () => GuiIconSvg\n});\nmodule.exports = __toCommonJS(GuiLogoSvg_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\"), GuiIconSvg = function(param) {\n var { color = \"#ECD20A\", ...props } = param;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"svg\", {\n width: \"160px\",\n height: \"160px\",\n viewBox: \"0 0 160 160\",\n ...props,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(\"g\", {\n id: \"duck\",\n stroke: \"none\",\n strokeWidth: \"1\",\n fill: \"none\",\n fillRule: \"evenodd\",\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"circle\", {\n id: \"Oval\",\n cx: \"80\",\n cy: \"80\",\n r: \"145\"\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(\"g\", {\n id: \"Group-Copy-5\",\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"path\", {\n d: \"M10,110 L10,100 L20,100 L20,90 L30,90 L30,80 L40,80 L40,30 L50,30 L50,10 L70,10 L70,0 L120,0 L120,10 L130,10 L130,20 L140,20 L140,40 L160,40 L160,50 L150,50 L150,60 L160,60 L160,70 L150,70 L150,80 L140,80 L140,100 L150,100 L150,110 L160,110 L160,140 L150,140 L150,150 L130,150 L130,160 L40,160 L40,150 L20,150 L20,140 L10,140 L10,130 L0,130 L0,110 L10,110 Z M90,40 L80,40 L80,50 L90,50 L90,40 Z M120,30 L110,30 L110,40 L120,40 L120,30 Z\",\n id: \"Combined-Shape\",\n fill: color\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(\"g\", {\n id: \"Group\",\n transform: \"translate(80, 30)\",\n fill: \"#000000\",\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"rect\", {\n id: \"Rectangle-Copy-117\",\n x: \"0\",\n y: \"10\",\n width: \"10\",\n height: \"10\"\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"rect\", {\n id: \"Rectangle-Copy-141\",\n x: \"30\",\n y: \"0\",\n width: \"10\",\n height: \"10\"\n })\n ]\n })\n ]\n })\n ]\n })\n });\n};\n//# sourceMappingURL=GuiLogoSvg.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE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C,EAAE,IAAI;cACPC,CAAC,EAAE,GAAG;cACNhB,KAAK,EAAE,IAAI;cACXC,MAAM,EAAE;YACV,CAAC,CAAC;UAEN,CAAC,CAAC;QAEN,CAAC,CAAC;MAEN,CAAC;IACH,CAAC,CAAC;EACJ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","GuiLogoSvg_exports","__export","GuiIconSvg","module","exports","import_jsx_runtime","require","param","color","props","jsx","width","height","viewBox","children","jsxs","id","stroke","strokeWidth","fill","fillRule","cx","cy","r"],"sources":["../../src/GuiLogoSvg.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAYMC,MAAA,CAAAC,OAAA,GAAAT,YAAA,CAAAK,kBAAA;AANC,IAAAK,kBAAoB,GAAAC,OAAA;AAAA,IACzBJ,UAAQ,YAAAA,CAAAK,KAAA;EACR,IAAG;IAAAC,KAAA;IAAA,GAAAC;EAAA,IAAAF,KAAA;EACL,OACE,mBAAAF,kBAAA,CAAAK,GAAC,SAAI;IAEDC,KAAA;IACAC,MAAA;IACEC,OAAA;IAAA,GAACJ,KAAA;IAAAK,QAAA,qBAAAT,kBAAA,CAAAU,IAAA;MAAAC,EACC,QAAE;MAAAC,MACC;MAAAC,WACG;MAAAC,IAAA;MACPC,QAAA;MACDN,QAAA,GACE,mBAAAT,kBAAA,CAAAK,GAAC,UAAK;QACNM,EAAA;QACFK,EAAA;QACFC,EAAA;QAEJC,CAAA","ignoreList":[]}
@@ -3,45 +3,49 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var LogoIcon_exports = {};
22
24
  __export(LogoIcon_exports, {
23
25
  LogoIcon: () => LogoIcon
24
26
  });
25
27
  module.exports = __toCommonJS(LogoIcon_exports);
26
- var import_gui = require("@hanzo/gui"),
27
- import_GuiLogoSvg = require("./GuiLogoSvg.cjs"),
28
- import_jsx_runtime = require("react/jsx-runtime");
28
+ var import_gui = require("@hanzo/gui");
29
+ var import_GuiLogoSvg = require("./GuiLogoSvg.cjs");
30
+ var import_jsx_runtime = require("react/jsx-runtime");
29
31
  const LogoIcon = ({
30
32
  downscale = 2,
31
33
  color
32
- }) => /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui.YStack, {
33
- render: "span",
34
- className: "unselectable",
35
- alignSelf: "center",
36
- marginVertical: -10,
37
- pressStyle: {
38
- opacity: 0.7,
39
- scaleX: -1
40
- },
41
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_GuiLogoSvg.GuiIconSvg, {
42
- className: "gui-icon",
43
- width: 450 / 8 / downscale,
44
- height: 420 / 8 / downscale,
45
- color
46
- })
47
- });
34
+ }) => {
35
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui.YStack, {
36
+ render: "span",
37
+ className: "unselectable",
38
+ alignSelf: "center",
39
+ marginVertical: -10,
40
+ pressStyle: {
41
+ opacity: 0.7,
42
+ scaleX: -1
43
+ },
44
+ children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_GuiLogoSvg.GuiIconSvg, {
45
+ className: "gui-icon",
46
+ width: 450 / 8 / downscale,
47
+ height: 420 / 8 / downscale,
48
+ color
49
+ })
50
+ });
51
+ };
@@ -5,49 +5,51 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var LogoIcon_exports = {};
24
26
  __export(LogoIcon_exports, {
25
27
  LogoIcon: () => LogoIcon
26
28
  });
27
29
  module.exports = __toCommonJS(LogoIcon_exports);
28
- var import_jsx_runtime = require("react/jsx-runtime"),
29
- import_gui = require("@hanzo/gui"),
30
- import_GuiLogoSvg = require("./GuiLogoSvg"),
31
- LogoIcon = function (param) {
32
- var {
33
- downscale = 2,
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var import_gui = require("@hanzo/gui");
32
+ var import_GuiLogoSvg = require("./GuiLogoSvg.native.js");
33
+ var LogoIcon = function (param) {
34
+ var {
35
+ downscale = 2,
36
+ color
37
+ } = param;
38
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui.YStack, {
39
+ render: "span",
40
+ className: "unselectable",
41
+ alignSelf: "center",
42
+ marginVertical: -10,
43
+ pressStyle: {
44
+ opacity: 0.7,
45
+ scaleX: -1
46
+ },
47
+ children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_GuiLogoSvg.GuiIconSvg, {
48
+ className: "gui-icon",
49
+ width: 450 / 8 / downscale,
50
+ height: 420 / 8 / downscale,
34
51
  color
35
- } = param;
36
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui.YStack, {
37
- render: "span",
38
- className: "unselectable",
39
- alignSelf: "center",
40
- marginVertical: -10,
41
- pressStyle: {
42
- opacity: 0.7,
43
- scaleX: -1
44
- },
45
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_GuiLogoSvg.GuiIconSvg, {
46
- className: "gui-icon",
47
- width: 450 / 8 / downscale,
48
- height: 420 / 8 / downscale,
49
- color
50
- })
51
- });
52
- };
52
+ })
53
+ });
54
+ };
53
55
  //# sourceMappingURL=LogoIcon.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","LogoIcon_exports","LogoIcon","module","exports","import_jsx_runtime","require","import_gui","import_GuiLogoSvg","param","downscale","color","jsx","YStack","render","className","alignSelf","marginVertical","pressStyle","opacity","scaleX","children","GuiIconSvg","width","height"],"sources":["LogoIcon.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar LogoIcon_exports = {};\n__export(LogoIcon_exports, {\n LogoIcon: () => LogoIcon\n});\nmodule.exports = __toCommonJS(LogoIcon_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\"), import_gui = require(\"@hanzo/gui\"), import_GuiLogoSvg = require(\"./GuiLogoSvg\"), LogoIcon = function(param) {\n var { downscale = 2, color } = param;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_gui.YStack, {\n render: \"span\",\n className: \"unselectable\",\n alignSelf: \"center\",\n marginVertical: -10,\n pressStyle: {\n opacity: 0.7,\n scaleX: -1\n },\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_GuiLogoSvg.GuiIconSvg, {\n className: \"gui-icon\",\n width: 450 / 8 / downscale,\n height: 420 / 8 / downscale,\n color\n })\n });\n};\n//# sourceMappingURL=LogoIcon.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,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C,mBAAmB,CAAC;EAAEC,UAAU,GAAGD,OAAO,CAAC,YAAY,CAAC;EAAEE,iBAAiB,GAAGF,OAAO,CAAC,cAAc,CAAC;EAAEJ,QAAQ,GAAG,SAAAA,CAASO,KAAK,EAAE;IACjK,IAAI;MAAEC,SAAS,GAAG,CAAC;MAAEC;IAAM,CAAC,GAAGF,KAAK;IACpC,OAAO,eAAgB,CAAC,CAAC,EAAEJ,kBAAkB,CAACO,GAAG,EAAEL,UAAU,CAACM,MAAM,EAAE;MACpEC,MAAM,EAAE,MAAM;MACdC,SAAS,EAAE,cAAc;MACzBC,SAAS,EAAE,QAAQ;MACnBC,cAAc,EAAE,CAAC,EAAE;MACnBC,UAAU,EAAE;QACVC,OAAO,EAAE,GAAG;QACZC,MAAM,EAAE,CAAC;MACX,CAAC;MACDC,QAAQ,EAAE,eAAgB,CAAC,CAAC,EAAEhB,kBAAkB,CAACO,GAAG,EAAEJ,iBAAiB,CAACc,UAAU,EAAE;QAClFP,SAAS,EAAE,UAAU;QACrBQ,KAAK,EAAE,GAAG,GAAG,CAAC,GAAGb,SAAS;QAC1Bc,MAAM,EAAE,GAAG,GAAG,CAAC,GAAGd,SAAS;QAC3BC;MACF,CAAC;IACH,CAAC,CAAC;EACJ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","LogoIcon_exports","__export","LogoIcon","module","exports","import_jsx_runtime","require","import_gui","import_GuiLogoSvg","param","downscale","color","jsx","YStack","render","className","alignSelf","marginVertical","pressStyle","opacity","scaleX","children","GuiIconSvg","width","height"],"sources":["../../src/LogoIcon.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,gBAAA;AAAAC,QAAA,CAAAD,gBAAA;EAAAE,QAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAuBT,YAAA,CAAAK,gBAAA;AACvB,IAAAK,kBAAA,GAA2BC,OAAA;AAqBrB,IAAAC,UAAA,GAAAD,OAAA;AAlBC,IAAAE,iBAAkB,GAAAF,OAAA;AAAA,IACvBJ,QAAA,GAAY,SAAAA,CAAAO,KAAA;EACZ;IAAAC,SAAA;IAAAC;EAAA,IAAAF,KAAA;EACF,OAGmB,mBAAAJ,kBAAA,CAAAO,GAAA,EAAAL,UAAA,CAAAM,MAAA;IACjBC,MACE;IAACC,SAAA;IAAAC,SAAA;IAAAC,cACQ;IAAAC,UACP;MACAC,OAAA,KAAU;MACVC,MAAA;IAAgB;IACJC,QACV,iBAAS,IAAAhB,kBAAA,CAAAO,GAAA,EAAAJ,iBAAA,CAAAc,UAAA;MAAAP,SACT,EAAQ;MACVQ,KAAA,YAAAb,SAAA;MAEAc,MAAA,YAAAd,SAAA;MAAAC;IAAC;EAAA;AACW","ignoreList":[]}