@vxrn/native 1.14.4 → 1.15.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 (58) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/dist/cjs/color/android.dynamic.types.cjs +7 -5
  3. package/dist/cjs/color/android.dynamic.types.native.js +7 -5
  4. package/dist/cjs/color/android.dynamic.types.native.js.map +1 -1
  5. package/dist/cjs/color/android.material.types.cjs +7 -5
  6. package/dist/cjs/color/android.material.types.native.js +7 -5
  7. package/dist/cjs/color/android.material.types.native.js.map +1 -1
  8. package/dist/cjs/color/index.cjs +52 -47
  9. package/dist/cjs/color/index.native.js +54 -47
  10. package/dist/cjs/color/index.native.js.map +1 -1
  11. package/dist/cjs/color/ios.types.cjs +7 -5
  12. package/dist/cjs/color/ios.types.native.js +7 -5
  13. package/dist/cjs/color/ios.types.native.js.map +1 -1
  14. package/dist/cjs/color/materialColor.cjs +12 -10
  15. package/dist/cjs/color/materialColor.native.js +18 -16
  16. package/dist/cjs/color/materialColor.native.js.map +1 -1
  17. package/dist/cjs/index.cjs +17 -15
  18. package/dist/cjs/index.native.js +17 -15
  19. package/dist/cjs/index.native.js.map +1 -1
  20. package/dist/cjs/menu/index.cjs +12 -10
  21. package/dist/cjs/menu/index.native.js +16 -14
  22. package/dist/cjs/menu/index.native.js.map +1 -1
  23. package/dist/cjs/menu/types.cjs +7 -5
  24. package/dist/cjs/menu/types.native.js +7 -5
  25. package/dist/cjs/menu/types.native.js.map +1 -1
  26. package/dist/cjs/split-view/index.cjs +12 -10
  27. package/dist/cjs/split-view/index.native.js +12 -10
  28. package/dist/cjs/split-view/index.native.js.map +1 -1
  29. package/dist/cjs/split-view/split-view.cjs +59 -43
  30. package/dist/cjs/split-view/split-view.native.js +64 -48
  31. package/dist/cjs/split-view/split-view.native.js.map +1 -1
  32. package/dist/cjs/toolbar/index.cjs +12 -10
  33. package/dist/cjs/toolbar/index.native.js +15 -13
  34. package/dist/cjs/toolbar/index.native.js.map +1 -1
  35. package/dist/cjs/toolbar/types.cjs +7 -5
  36. package/dist/cjs/toolbar/types.native.js +7 -5
  37. package/dist/cjs/toolbar/types.native.js.map +1 -1
  38. package/dist/cjs/zoom/index.cjs +12 -10
  39. package/dist/cjs/zoom/index.native.js +28 -23
  40. package/dist/cjs/zoom/index.native.js.map +1 -1
  41. package/dist/cjs/zoom/types.cjs +7 -5
  42. package/dist/cjs/zoom/types.native.js +7 -5
  43. package/dist/cjs/zoom/types.native.js.map +1 -1
  44. package/dist/esm/color/index.mjs +37 -34
  45. package/dist/esm/color/index.mjs.map +1 -1
  46. package/dist/esm/color/index.native.js +39 -34
  47. package/dist/esm/color/index.native.js.map +1 -1
  48. package/dist/esm/color/materialColor.native.js +2 -2
  49. package/dist/esm/color/materialColor.native.js.map +1 -1
  50. package/dist/esm/menu/index.native.js +2 -2
  51. package/dist/esm/menu/index.native.js.map +1 -1
  52. package/dist/esm/split-view/split-view.mjs +32 -18
  53. package/dist/esm/split-view/split-view.mjs.map +1 -1
  54. package/dist/esm/split-view/split-view.native.js +37 -23
  55. package/dist/esm/split-view/split-view.native.js.map +1 -1
  56. package/dist/esm/zoom/index.native.js +14 -11
  57. package/dist/esm/zoom/index.native.js.map +1 -1
  58. package/package.json +2 -2
@@ -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 menu_exports = {};
22
24
  __export(menu_exports, {
@@ -5,30 +5,32 @@ 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 index_native_exports = {};
24
26
  __export(index_native_exports, {
25
27
  MenuAction: () => MenuAction
26
28
  });
27
29
  module.exports = __toCommonJS(index_native_exports);
28
- var import_jsx_runtime = require("react/jsx-runtime"),
29
- import_react_native = require("react-native"),
30
- isAvailable = import_react_native.Platform.OS === "ios" && !import_react_native.Platform.isTV,
31
- MenuActionNative = isAvailable ? (0, import_react_native.requireNativeComponent)("VxrnMenuAction") : null;
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var import_react_native = require("react-native");
32
+ var isAvailable = import_react_native.Platform.OS === "ios" && !import_react_native.Platform.isTV;
33
+ var MenuActionNative = isAvailable ? (0, import_react_native.requireNativeComponent)("VxrnMenuAction") : null;
32
34
  function MenuAction(props) {
33
35
  if (!MenuActionNative) return null;
34
36
  var {
@@ -1 +1 @@
1
- {"version":3,"names":["index_native_exports","__export","MenuAction","module","exports","__toCommonJS","import_jsx_runtime","require","import_react_native","isAvailable","Platform","OS","isTV","MenuActionNative","requireNativeComponent","props","image","onSelected","rest","jsx","imageSource"],"sources":["../../../src/menu/index.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,oBAAA;AAAA,IAAAM,kBAAA,GAA4BC,OAAA;EAC5BC,mBAAA,GAAiDD,OAAA;EAC7CE,WAAA,GAAcD,mBAAA,CAAAE,QAAA,CAASC,EAAA,KAAO,SAAS,CAACH,mBAAA,CAAAE,QAAA,CAASE,IAAA;EACjDC,gBAAA,GAAmBJ,WAAA,OAAcD,mBAAA,CAAAM,sBAAA,EAAuB,gBAAgB,IAAI;AACzE,SAASZ,WAAWa,KAAA,EAAO;EAC9B,IAAI,CAACF,gBAAA,EAAkB,OAAO;EAC9B,IAAI;IAAEG,KAAA;IAAOC,UAAA;IAAY,GAAGC;EAAK,IAAIH,KAAA;EACrC,OAAqB,mBAAAT,kBAAA,CAAAa,GAAA,EAAKN,gBAAA,EAAkB;IACxC,GAAGK,IAAA;IACHE,WAAA,EAAaJ,KAAA;IACbC,UAAA,EAAYA,UAAA,GAAa,YAAW;MAChC,OAAOA,UAAA,CAAW;IACtB,IAAI;EACR,CAAC;AACL","ignoreList":[]}
1
+ {"version":3,"names":["index_native_exports","__export","MenuAction","module","exports","__toCommonJS","import_jsx_runtime","require","import_react_native","isAvailable","Platform","OS","isTV","MenuActionNative","requireNativeComponent","props","image","onSelected","rest","jsx","imageSource"],"sources":["../../../src/menu/index.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,oBAAA;AAAA,IAAAM,kBAAA,GAA4BC,OAAA;AAC5B,IAAAC,mBAAA,GAAiDD,OAAA;AACjD,IAAIE,WAAA,GAAcD,mBAAA,CAAAE,QAAA,CAASC,EAAA,KAAO,SAAS,CAACH,mBAAA,CAAAE,QAAA,CAASE,IAAA;AACrD,IAAIC,gBAAA,GAAmBJ,WAAA,OAAcD,mBAAA,CAAAM,sBAAA,EAAuB,gBAAgB,IAAI;AACzE,SAASZ,WAAWa,KAAA,EAAO;EAC9B,IAAI,CAACF,gBAAA,EAAkB,OAAO;EAC9B,IAAI;IAAEG,KAAA;IAAOC,UAAA;IAAY,GAAGC;EAAK,IAAIH,KAAA;EACrC,OAAqB,mBAAAT,kBAAA,CAAAa,GAAA,EAAKN,gBAAA,EAAkB;IACxC,GAAGK,IAAA;IACHE,WAAA,EAAaJ,KAAA;IACbC,UAAA,EAAYA,UAAA,GAAa,YAAW;MAChC,OAAOA,UAAA,CAAW;IACtB,IAAI;EACR,CAAC;AACL","ignoreList":[]}
@@ -3,14 +3,16 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
7
- get: () => from[key],
8
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
9
- });
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
+ get: () => from[key],
9
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
+ });
11
+ }
10
12
  return to;
11
13
  };
12
14
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
13
- value: !0
15
+ value: true
14
16
  }), mod);
15
17
  var types_exports = {};
16
18
  module.exports = __toCommonJS(types_exports);
@@ -5,14 +5,16 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
9
- get: () => from[key],
10
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
- });
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
+ get: () => from[key],
11
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
+ });
13
+ }
12
14
  return to;
13
15
  };
14
16
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
15
- value: !0
17
+ value: true
16
18
  }), mod);
17
19
  var types_exports = {};
18
20
  module.exports = __toCommonJS(types_exports);
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","types_exports"],"sources":["../../../src/menu/types.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","types_exports"],"sources":["../../../src/menu/types.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA","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 split_view_exports = {};
22
24
  __export(split_view_exports, {
@@ -5,20 +5,22 @@ 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 split_view_exports = {};
24
26
  __export(split_view_exports, {
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","split_view_exports","__export","SplitView","import_split_view","module","exports"],"sources":["../../../src/split-view/index.ts"],"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,SAAA,EAAAA,CAAA,KAAAC,iBAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAV,YAA0B,CAAAK,kBAAA","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","split_view_exports","__export","SplitView","import_split_view","module","exports"],"sources":["../../../src/split-view/index.ts"],"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,SAAA,EAAAA,CAAA,KAAAC,iBAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAV,YAA0B,CAAAK,kBAAA","ignoreList":[]}
@@ -2,53 +2,55 @@ var __create = Object.create;
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf,
6
- __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __getProtoOf = Object.getPrototypeOf;
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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
- value: mod,
27
- enumerable: !0
28
- }) : target, mod)),
29
- __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
30
- value: !0
31
- }), mod);
23
+ // If the importer is in node compatibility mode or this is not an ESM
24
+ // file that has been converted to a CommonJS file using a Babel-
25
+ // compatible transform (i.e. "__esModule" has not been set), then set
26
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
28
+ value: mod,
29
+ enumerable: true
30
+ }) : target, mod));
31
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
32
+ value: true
33
+ }), mod);
32
34
  var split_view_exports = {};
33
35
  __export(split_view_exports, {
34
36
  SplitView: () => SplitView
35
37
  });
36
38
  module.exports = __toCommonJS(split_view_exports);
37
- var import_react = __toESM(require("react"), 1),
38
- import_react_native = require("react-native-web"),
39
- import_jsx_runtime = require("react/jsx-runtime");
40
- const IsWithinSplitViewContext = (0, import_react.createContext)(!1),
41
- isSplitViewAvailable = import_react_native.Platform.OS === "ios" && import_react_native.UIManager.getViewManagerConfig?.("RNSSplitViewHost") != null;
39
+ var import_react = __toESM(require("react"), 1);
40
+ var import_react_native = require("react-native-web");
41
+ var import_jsx_runtime = require("react/jsx-runtime");
42
+ const IsWithinSplitViewContext = (0, import_react.createContext)(false);
43
+ const isSplitViewAvailable = import_react_native.Platform.OS === "ios" && import_react_native.UIManager.getViewManagerConfig?.("RNSSplitViewHost") != null;
42
44
  function SplitViewColumnComponent(props) {
43
45
  if (!isSplitViewAvailable) return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native.View, {
44
46
  children: props.children
45
47
  });
46
48
  const {
47
- Split
48
- } = require("react-native-screens/experimental"),
49
- {
50
- SafeAreaProvider
51
- } = require("react-native-safe-area-context");
49
+ Split
50
+ } = require("react-native-screens/experimental");
51
+ const {
52
+ SafeAreaProvider
53
+ } = require("react-native-safe-area-context");
52
54
  return /* @__PURE__ */(0, import_jsx_runtime.jsx)(Split.Column, {
53
55
  children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(SafeAreaProvider, {
54
56
  children: props.children
@@ -71,18 +73,32 @@ function SplitViewNavigator({
71
73
  slot: Slot,
72
74
  ...rest
73
75
  }) {
74
- if ((0, import_react.useContext)(IsWithinSplitViewContext)) throw new Error("There can only be one SplitView in the navigation hierarchy.");
75
- if (import_react_native.Platform.OS !== "ios") return console.warn("SplitView is only supported on iOS."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
76
- if (!isSplitViewAvailable) return console.warn("SplitView requires react-native-screens gamma. Add ENV['RNS_GAMMA_ENABLED'] ||= '1' to the top of your Podfile and run pod install."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
76
+ if ((0, import_react.useContext)(IsWithinSplitViewContext)) {
77
+ throw new Error("There can only be one SplitView in the navigation hierarchy.");
78
+ }
79
+ if (import_react_native.Platform.OS !== "ios") {
80
+ console.warn("SplitView is only supported on iOS.");
81
+ return Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
82
+ }
83
+ if (!isSplitViewAvailable) {
84
+ console.warn("SplitView requires react-native-screens gamma. Add ENV['RNS_GAMMA_ENABLED'] ||= '1' to the top of your Podfile and run pod install.");
85
+ return Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
86
+ }
77
87
  const {
78
- Split
79
- } = require("react-native-screens/experimental"),
80
- allChildrenArray = import_react.default.Children.toArray(children),
81
- columnChildren = allChildrenArray.filter(child => (0, import_react.isValidElement)(child) && child.type === SplitViewColumnComponent),
82
- inspectorChildren = allChildrenArray.filter(child => (0, import_react.isValidElement)(child) && child.type === SplitViewInspectorComponent);
83
- if (columnChildren.length > 2) throw new Error("There can only be two SplitView.Column in the SplitView.");
84
- return columnChildren.length + inspectorChildren.length === 0 ? (console.warn("No SplitView.Column found in SplitView."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null) : /* @__PURE__ */(0, import_jsx_runtime.jsx)(IsWithinSplitViewContext.Provider, {
85
- value: !0,
88
+ Split
89
+ } = require("react-native-screens/experimental");
90
+ const allChildrenArray = import_react.default.Children.toArray(children);
91
+ const columnChildren = allChildrenArray.filter(child => (0, import_react.isValidElement)(child) && child.type === SplitViewColumnComponent);
92
+ const inspectorChildren = allChildrenArray.filter(child => (0, import_react.isValidElement)(child) && child.type === SplitViewInspectorComponent);
93
+ if (columnChildren.length > 2) {
94
+ throw new Error("There can only be two SplitView.Column in the SplitView.");
95
+ }
96
+ if (columnChildren.length + inspectorChildren.length === 0) {
97
+ console.warn("No SplitView.Column found in SplitView.");
98
+ return Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
99
+ }
100
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(IsWithinSplitViewContext.Provider, {
101
+ value: true,
86
102
  children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)(Split.Host, {
87
103
  ...rest,
88
104
  children: [columnChildren, /* @__PURE__ */(0, import_jsx_runtime.jsx)(Split.Column, {
@@ -4,54 +4,56 @@ var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf,
8
- __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
9
  var __export = (target, all) => {
10
- for (var name in all) __defProp(target, name, {
11
- get: all[name],
12
- enumerable: !0
13
- });
14
- },
15
- __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
18
  get: () => from[key],
18
19
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
20
  });
20
- return to;
21
- };
21
+ }
22
+ return to;
23
+ };
22
24
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
- // If the importer is in node compatibility mode or this is not an ESM
24
- // file that has been converted to a CommonJS file using a Babel-
25
- // compatible transform (i.e. "__esModule" has not been set), then set
26
- // "default" to the CommonJS "module.exports" for node compatibility.
27
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
28
- value: mod,
29
- enumerable: !0
30
- }) : target, mod)),
31
- __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
32
- value: !0
33
- }), mod);
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
+ value: mod,
31
+ enumerable: true
32
+ }) : target, mod));
33
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
+ value: true
35
+ }), mod);
34
36
  var split_view_exports = {};
35
37
  __export(split_view_exports, {
36
38
  SplitView: () => SplitView
37
39
  });
38
40
  module.exports = __toCommonJS(split_view_exports);
39
- var import_jsx_runtime = require("react/jsx-runtime"),
40
- import_react = __toESM(require("react"), 1),
41
- import_react_native = require("react-native"),
42
- _UIManager_getViewManagerConfig,
43
- IsWithinSplitViewContext = /* @__PURE__ */(0, import_react.createContext)(!1),
44
- isSplitViewAvailable = import_react_native.Platform.OS === "ios" && ((_UIManager_getViewManagerConfig = import_react_native.UIManager.getViewManagerConfig) === null || _UIManager_getViewManagerConfig === void 0 ? void 0 : _UIManager_getViewManagerConfig.call(import_react_native.UIManager, "RNSSplitViewHost")) != null;
41
+ var import_jsx_runtime = require("react/jsx-runtime");
42
+ var import_react = __toESM(require("react"), 1);
43
+ var import_react_native = require("react-native");
44
+ var _UIManager_getViewManagerConfig;
45
+ var IsWithinSplitViewContext = /* @__PURE__ */(0, import_react.createContext)(false);
46
+ var isSplitViewAvailable = import_react_native.Platform.OS === "ios" && ((_UIManager_getViewManagerConfig = import_react_native.UIManager.getViewManagerConfig) === null || _UIManager_getViewManagerConfig === void 0 ? void 0 : _UIManager_getViewManagerConfig.call(import_react_native.UIManager, "RNSSplitViewHost")) != null;
45
47
  function SplitViewColumnComponent(props) {
46
48
  if (!isSplitViewAvailable) return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_react_native.View, {
47
49
  children: props.children
48
50
  });
49
51
  var {
50
- Split
51
- } = require("react-native-screens/experimental"),
52
- {
53
- SafeAreaProvider
54
- } = require("react-native-safe-area-context");
52
+ Split
53
+ } = require("react-native-screens/experimental");
54
+ var {
55
+ SafeAreaProvider
56
+ } = require("react-native-safe-area-context");
55
57
  return /* @__PURE__ */(0, import_jsx_runtime.jsx)(Split.Column, {
56
58
  children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(SafeAreaProvider, {
57
59
  children: props.children
@@ -75,22 +77,36 @@ function SplitViewNavigator(param) {
75
77
  slot: Slot,
76
78
  ...rest
77
79
  } = param;
78
- if ((0, import_react.useContext)(IsWithinSplitViewContext)) throw new Error("There can only be one SplitView in the navigation hierarchy.");
79
- if (import_react_native.Platform.OS !== "ios") return console.warn("SplitView is only supported on iOS."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
80
- if (!isSplitViewAvailable) return console.warn("SplitView requires react-native-screens gamma. Add ENV['RNS_GAMMA_ENABLED'] ||= '1' to the top of your Podfile and run pod install."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
80
+ if ((0, import_react.useContext)(IsWithinSplitViewContext)) {
81
+ throw new Error("There can only be one SplitView in the navigation hierarchy.");
82
+ }
83
+ if (import_react_native.Platform.OS !== "ios") {
84
+ console.warn("SplitView is only supported on iOS.");
85
+ return Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
86
+ }
87
+ if (!isSplitViewAvailable) {
88
+ console.warn("SplitView requires react-native-screens gamma. Add ENV['RNS_GAMMA_ENABLED'] ||= '1' to the top of your Podfile and run pod install.");
89
+ return Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
90
+ }
81
91
  var {
82
- Split
83
- } = require("react-native-screens/experimental"),
84
- allChildrenArray = import_react.default.Children.toArray(children),
85
- columnChildren = allChildrenArray.filter(function (child) {
86
- return /* @__PURE__ */(0, import_react.isValidElement)(child) && child.type === SplitViewColumnComponent;
87
- }),
88
- inspectorChildren = allChildrenArray.filter(function (child) {
89
- return /* @__PURE__ */(0, import_react.isValidElement)(child) && child.type === SplitViewInspectorComponent;
90
- });
91
- if (columnChildren.length > 2) throw new Error("There can only be two SplitView.Column in the SplitView.");
92
- return columnChildren.length + inspectorChildren.length === 0 ? (console.warn("No SplitView.Column found in SplitView."), Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null) : /* @__PURE__ */(0, import_jsx_runtime.jsx)(IsWithinSplitViewContext.Provider, {
93
- value: !0,
92
+ Split
93
+ } = require("react-native-screens/experimental");
94
+ var allChildrenArray = import_react.default.Children.toArray(children);
95
+ var columnChildren = allChildrenArray.filter(function (child) {
96
+ return /* @__PURE__ */(0, import_react.isValidElement)(child) && child.type === SplitViewColumnComponent;
97
+ });
98
+ var inspectorChildren = allChildrenArray.filter(function (child) {
99
+ return /* @__PURE__ */(0, import_react.isValidElement)(child) && child.type === SplitViewInspectorComponent;
100
+ });
101
+ if (columnChildren.length > 2) {
102
+ throw new Error("There can only be two SplitView.Column in the SplitView.");
103
+ }
104
+ if (columnChildren.length + inspectorChildren.length === 0) {
105
+ console.warn("No SplitView.Column found in SplitView.");
106
+ return Slot ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(Slot, {}) : null;
107
+ }
108
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(IsWithinSplitViewContext.Provider, {
109
+ value: true,
94
110
  children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)(Split.Host, {
95
111
  ...rest,
96
112
  children: [columnChildren, /* @__PURE__ */(0, import_jsx_runtime.jsx)(Split.Column, {
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","split_view_exports","__export","SplitView","module","exports","import_jsx_runtime","require","import_react","__toESM","import_react_native","_UIManager_getViewManagerConfig","IsWithinSplitViewContext","createContext","isSplitViewAvailable","Platform","OS","UIManager","getViewManagerConfig","call","SplitViewColumnComponent","props","jsx","View","children","Split","SafeAreaProvider","Column","SplitViewInspectorComponent","Inspector","SplitViewNavigator","param","slot","Slot","rest","useContext","Error","console","warn","allChildrenArray","default","Children","toArray","columnChildren","filter","child","isValidElement","type","inspectorChildren","length","Provider"],"sources":["../../../src/split-view/split-view.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAA;EAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;IAAAC,KAAA;EAAA,IAAAH,GAAA;AAAA,IAAAI,kBAAA;AAAAC,QAAA,CAAAD,kBAAA;EAAAE,SAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAAiF,CAAAK,kBAAA,CACjF;AAEA,IAAAK,kBAAM,GAAAC,OAAA,oBAA2B;EAAAC,YAAmB,GAG9CC,OAAA,CAAAF,OAAA,QACJ;EAAAG,mBAAA,GAASH,OAAO,eAAS;EAAAI,+BAAU;EAAAC,wBAAuB,kBAAuB,IAAAJ,YAAA,CAAAK,aAAA;EAAAC,oBAAA,GAAAJ,mBAAA,CAAAK,QAAA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A;EAG5E,KAAAnB,oBAAmB,EAQZ,OAAAuB,OAAA,CAAAC,IAAA,yIAAAL,IAAA,sBAAA3B,kBAAA,CAAAgB,GAAA,EAAAW,IAAA;EAAA,IACD;MAAAR;IAAA,IAAAlB,OAAA,oCAAO,CAAN;IAAcgC,gBAAA,GAAO/B,YAAA,CAAAgC,OAAA,CAAAC,QAAA,CAAAC,OAAA,CAAAlB,QAAC;IAAAmB,cAAe,GAAAJ,gBAAA,CAAAK,MAAA,WAAAC,KAAA;MACrC,0BAAArC,YAAA,CAAAsC,cAAA,EAAAD,KAAA,KAAAA,KAAA,CAAAE,IAAA,KAAA3B,wBAAA;IAAA;IAAA4B,iBAH6B,GAAAT,gBAAS,CAAAK,MAAkB,WAK7DC,KAAA;MAEJ,0BAAArC,YAAA,CAAAsC,cAAA,EAAAD,KAAA,KAAAA,KAAA,CAAAE,IAAA,KAAAnB,2BAAA;IAEO;EACL,IAAAe,cAAQ,CAAAM,MAAA,MACR,UAAWb,KAAA;EACZ,OAAAO,cAAA,CAAAM,MAAA,GAAAD,iBAAA,CAAAC,MAAA,UAAAZ,OAAA,CAAAC,IAAA,6CAAAL,IAAA,sBAAA3B,kBAAA,CAAAgB,GAAA,EAAAW,IAAA,mCAAA3B,kBAAA,CAAAgB,GAAA,EAAAV,wBAAA,CAAAsC,QAAA","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","split_view_exports","__export","SplitView","module","exports","import_jsx_runtime","require","import_react","__toESM","import_react_native","_UIManager_getViewManagerConfig","IsWithinSplitViewContext","createContext","isSplitViewAvailable","Platform","OS","UIManager","getViewManagerConfig","call","SplitViewColumnComponent","props","jsx","View","children","Split","SafeAreaProvider","Column","SplitViewInspectorComponent","Inspector","SplitViewNavigator","param","slot","Slot","rest","useContext","Error","console","warn","allChildrenArray","default","Children","toArray","columnChildren","filter","child","isValidElement","type","inspectorChildren","length"],"sources":["../../../src/split-view/split-view.tsx"],"sourcesContent":[null],"mappings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AAAb,KAAA;EAEO;EACL,IAAAO,cAAQ,CAAAM,MAAA,GAAAD,iBAAA,CAAAC,MAAA;IACRZ,OAAA,CAAAC,IAAW;IACZ,OAAAL,IAAA,sBAAA3B,kBAAA,CAAAgB,GAAA,EAAAW,IAAA","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 toolbar_exports = {};
22
24
  __export(toolbar_exports, {
@@ -5,20 +5,22 @@ 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 index_native_exports = {};
24
26
  __export(index_native_exports, {
@@ -26,9 +28,9 @@ __export(index_native_exports, {
26
28
  ToolbarItem: () => ToolbarItem
27
29
  });
28
30
  module.exports = __toCommonJS(index_native_exports);
29
- var import_jsx_runtime = require("react/jsx-runtime"),
30
- import_react_native = require("react-native"),
31
- ToolbarHostNative = (0, import_react_native.requireNativeComponent)("VxrnToolbarHost");
31
+ var import_jsx_runtime = require("react/jsx-runtime");
32
+ var import_react_native = require("react-native");
33
+ var ToolbarHostNative = (0, import_react_native.requireNativeComponent)("VxrnToolbarHost");
32
34
  function ToolbarHost(props) {
33
35
  return /* @__PURE__ */(0, import_jsx_runtime.jsx)(ToolbarHostNative, {
34
36
  ...props,
@@ -1 +1 @@
1
- {"version":3,"names":["index_native_exports","__export","ToolbarHost","ToolbarItem","module","exports","__toCommonJS","import_jsx_runtime","require","import_react_native","ToolbarHostNative","requireNativeComponent","props","jsx","style","position","top","left","width","height","backgroundColor","ToolbarItemNative","image","onSelected","rest","imageSource"],"sources":["../../../src/toolbar/index.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,WAAA,EAAAA,CAAA,KAAAA,WAAA;EAAAC,WAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAN,oBAAA;AAAA,IAAAO,kBAAA,GAA4BC,OAAA;EAC5BC,mBAAA,GAAuCD,OAAA;EACnCE,iBAAA,OAAoBD,mBAAA,CAAAE,sBAAA,EAAuB,iBAAiB;AACzD,SAAST,YAAYU,KAAA,EAAO;EAC/B,OAAqB,mBAAAL,kBAAA,CAAAM,GAAA,EAAKH,iBAAA,EAAmB;IACzC,GAAGE,KAAA;IACHE,KAAA,EAAO;MACHC,QAAA,EAAU;MACVC,GAAA,EAAK;MACLC,IAAA,EAAM;MACNC,KAAA,EAAO;MACPC,MAAA,EAAQ;MACRC,eAAA,EAAiB;IACrB;EACJ,CAAC;AACL;AACA,IAAIC,iBAAA,OAAoBZ,mBAAA,CAAAE,sBAAA,EAAuB,iBAAiB;AACzD,SAASR,YAAYS,KAAA,EAAO;EAC/B,IAAI;IAAEU,KAAA;IAAOC,UAAA;IAAY,GAAGC;EAAK,IAAIZ,KAAA;EACrC,OAAqB,mBAAAL,kBAAA,CAAAM,GAAA,EAAKQ,iBAAA,EAAmB;IACzC,GAAGG,IAAA;IACHC,WAAA,EAAaH,KAAA;IACbC,UAAA,EAAYA,UAAA,GAAa,YAAW;MAChC,OAAOA,UAAA,CAAW;IACtB,IAAI;EACR,CAAC;AACL","ignoreList":[]}
1
+ {"version":3,"names":["index_native_exports","__export","ToolbarHost","ToolbarItem","module","exports","__toCommonJS","import_jsx_runtime","require","import_react_native","ToolbarHostNative","requireNativeComponent","props","jsx","style","position","top","left","width","height","backgroundColor","ToolbarItemNative","image","onSelected","rest","imageSource"],"sources":["../../../src/toolbar/index.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,WAAA,EAAAA,CAAA,KAAAA,WAAA;EAAAC,WAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAN,oBAAA;AAAA,IAAAO,kBAAA,GAA4BC,OAAA;AAC5B,IAAAC,mBAAA,GAAuCD,OAAA;AACvC,IAAIE,iBAAA,OAAoBD,mBAAA,CAAAE,sBAAA,EAAuB,iBAAiB;AACzD,SAAST,YAAYU,KAAA,EAAO;EAC/B,OAAqB,mBAAAL,kBAAA,CAAAM,GAAA,EAAKH,iBAAA,EAAmB;IACzC,GAAGE,KAAA;IACHE,KAAA,EAAO;MACHC,QAAA,EAAU;MACVC,GAAA,EAAK;MACLC,IAAA,EAAM;MACNC,KAAA,EAAO;MACPC,MAAA,EAAQ;MACRC,eAAA,EAAiB;IACrB;EACJ,CAAC;AACL;AACA,IAAIC,iBAAA,OAAoBZ,mBAAA,CAAAE,sBAAA,EAAuB,iBAAiB;AACzD,SAASR,YAAYS,KAAA,EAAO;EAC/B,IAAI;IAAEU,KAAA;IAAOC,UAAA;IAAY,GAAGC;EAAK,IAAIZ,KAAA;EACrC,OAAqB,mBAAAL,kBAAA,CAAAM,GAAA,EAAKQ,iBAAA,EAAmB;IACzC,GAAGG,IAAA;IACHC,WAAA,EAAaH,KAAA;IACbC,UAAA,EAAYA,UAAA,GAAa,YAAW;MAChC,OAAOA,UAAA,CAAW;IACtB,IAAI;EACR,CAAC;AACL","ignoreList":[]}