@streamlayer/react 1.23.0 → 1.23.1

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 (122) hide show
  1. package/lib/app/pause-ad.d.ts +2 -4
  2. package/lib/app/polymarket.d.ts +7 -0
  3. package/lib/cjs/Question.js +1 -1
  4. package/lib/cjs/advertisement.js +1 -1
  5. package/lib/cjs/auth.js +1 -1
  6. package/lib/cjs/bet-pack.js +1 -1
  7. package/lib/cjs/feature.js +1 -0
  8. package/lib/cjs/hooks-WfHlJH12.js +1 -0
  9. package/lib/cjs/index.js +1 -1
  10. package/lib/cjs/index10.js +1 -4
  11. package/lib/cjs/index11.js +4 -1
  12. package/lib/cjs/index12.js +1 -1
  13. package/lib/cjs/index13.js +1 -1
  14. package/lib/cjs/index14.js +1 -1
  15. package/lib/cjs/index15.js +1 -5
  16. package/lib/cjs/index16.js +5 -0
  17. package/lib/cjs/index2.js +1 -1
  18. package/lib/cjs/index3.js +1 -1
  19. package/lib/cjs/index4.js +1 -1
  20. package/lib/cjs/index7.js +1 -1
  21. package/lib/cjs/index8.js +1 -1
  22. package/lib/cjs/index9.js +1 -1
  23. package/lib/cjs/insight.js +1 -1
  24. package/lib/cjs/masters.js +1 -1
  25. package/lib/cjs/masters2.js +4 -4
  26. package/lib/cjs/notification.js +1 -1
  27. package/lib/cjs/pause-ad.js +1 -1
  28. package/lib/cjs/points.js +1 -1
  29. package/lib/cjs/polymarket.js +19 -0
  30. package/lib/cjs/storage.js +1 -1
  31. package/lib/cjs/useStreamLayerApp2.js +5 -5
  32. package/lib/classic/app/pause-ad.d.ts +2 -4
  33. package/lib/classic/app/polymarket.d.ts +7 -0
  34. package/lib/classic/cjs/Question.js +1 -1
  35. package/lib/classic/cjs/advertisement.js +1 -1
  36. package/lib/classic/cjs/analytics.js +1 -1
  37. package/lib/classic/cjs/auth.js +1 -1
  38. package/lib/classic/cjs/bet-pack.js +3 -3
  39. package/lib/classic/cjs/feature.js +1 -0
  40. package/lib/classic/cjs/hooks-WfHlJH12.js +1 -0
  41. package/lib/classic/cjs/index.js +1 -1
  42. package/lib/classic/cjs/index10.js +1 -1
  43. package/lib/classic/cjs/index11.js +1 -1
  44. package/lib/classic/cjs/index12.js +1 -4
  45. package/lib/classic/cjs/index13.js +4 -0
  46. package/lib/classic/cjs/index2.js +2 -2
  47. package/lib/classic/cjs/index5.js +1 -1
  48. package/lib/classic/cjs/index6.js +1 -1
  49. package/lib/classic/cjs/index7.js +1 -1
  50. package/lib/classic/cjs/index8.js +1 -1
  51. package/lib/classic/cjs/index9.js +1 -1
  52. package/lib/classic/cjs/insight.js +1 -1
  53. package/lib/classic/cjs/notification.js +1 -1
  54. package/lib/classic/cjs/notification2.js +1 -1
  55. package/lib/classic/cjs/pause-ad.js +1 -1
  56. package/lib/classic/cjs/points.js +1 -1
  57. package/lib/classic/cjs/polymarket.js +19 -0
  58. package/lib/classic/cjs/useStreamLayerApp2.js +5 -5
  59. package/lib/classic/es/Question.js +4 -4
  60. package/lib/classic/es/advertisement.js +6 -6
  61. package/lib/classic/es/analytics.js +1 -1
  62. package/lib/classic/es/auth.js +1 -1
  63. package/lib/classic/es/bet-pack.js +18 -17
  64. package/lib/classic/es/feature.js +63 -0
  65. package/lib/classic/es/hooks-WfHlJH12.js +98 -0
  66. package/lib/classic/es/index.js +2 -2
  67. package/lib/classic/es/index10.js +82 -2295
  68. package/lib/classic/es/index11.js +2351 -179
  69. package/lib/classic/es/index12.js +170 -822
  70. package/lib/classic/es/index13.js +835 -0
  71. package/lib/classic/es/index2.js +127 -126
  72. package/lib/classic/es/index5.js +4 -5
  73. package/lib/classic/es/index6.js +5 -11
  74. package/lib/classic/es/index7.js +5 -62
  75. package/lib/classic/es/index8.js +7 -315
  76. package/lib/classic/es/index9.js +313 -81
  77. package/lib/classic/es/insight.js +2 -2
  78. package/lib/classic/es/notification.js +2 -2
  79. package/lib/classic/es/notification2.js +14 -13
  80. package/lib/classic/es/pause-ad.js +20 -20
  81. package/lib/classic/es/points.js +15 -14
  82. package/lib/classic/es/polymarket.js +6670 -0
  83. package/lib/classic/es/useStreamLayerApp2.js +143 -119
  84. package/lib/dist/cjs/masters.js +23 -23
  85. package/lib/dist/es/masters.js +189 -165
  86. package/lib/dist/index.d.ts +17 -6
  87. package/lib/dist/style.css +1 -1
  88. package/lib/es/Question.js +2 -2
  89. package/lib/es/advertisement.js +5 -5
  90. package/lib/es/auth.js +1 -1
  91. package/lib/es/bet-pack.js +1 -1
  92. package/lib/es/feature.js +63 -0
  93. package/lib/es/hooks-WfHlJH12.js +98 -0
  94. package/lib/es/index.js +2 -2
  95. package/lib/es/index10.js +236 -804
  96. package/lib/es/index11.js +822 -170
  97. package/lib/es/index12.js +166 -302
  98. package/lib/es/index13.js +313 -81
  99. package/lib/es/index14.js +82 -2350
  100. package/lib/es/index15.js +2330 -1229
  101. package/lib/es/index16.js +1254 -0
  102. package/lib/es/index2.js +118 -117
  103. package/lib/es/index3.js +3 -61
  104. package/lib/es/index4.js +3 -3
  105. package/lib/es/index7.js +5 -7
  106. package/lib/es/index8.js +5 -9
  107. package/lib/es/index9.js +7 -263
  108. package/lib/es/insight.js +2 -2
  109. package/lib/es/masters.js +1 -1
  110. package/lib/es/masters2.js +25 -24
  111. package/lib/es/notification.js +8 -7
  112. package/lib/es/pause-ad.js +20 -20
  113. package/lib/es/points.js +6 -5
  114. package/lib/es/polymarket.js +6670 -0
  115. package/lib/es/storage.js +2 -2
  116. package/lib/es/useStreamLayerApp2.js +143 -119
  117. package/lib/style.css +1 -1
  118. package/package.json +24 -14
  119. package/lib/cjs/hooks-B0Qttldg.js +0 -1
  120. package/lib/classic/cjs/hooks-B0Qttldg.js +0 -1
  121. package/lib/classic/es/hooks-B0Qttldg.js +0 -98
  122. package/lib/es/hooks-B0Qttldg.js +0 -98
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react",
3
- "version": "1.23.0",
3
+ "version": "1.23.1",
4
4
  "author": "StreamLayer, Inc (https://streamlayer.io)",
5
5
  "maintainers": [
6
6
  {
@@ -31,6 +31,11 @@
31
31
  "require": "./lib/classic/cjs/points.js",
32
32
  "types": "./lib/classic/app/points.d.ts"
33
33
  },
34
+ "./classic/polymarket": {
35
+ "module": "./lib/classic/es/polymarket.js",
36
+ "require": "./lib/classic/cjs/polymarket.js",
37
+ "types": "./lib/classic/app/polymarket.d.ts"
38
+ },
34
39
  "./classic/advertisement": {
35
40
  "module": "./lib/classic/es/advertisement.js",
36
41
  "require": "./lib/classic/cjs/advertisement.js",
@@ -76,6 +81,11 @@
76
81
  "require": "./lib/cjs/points.js",
77
82
  "types": "./lib/app/points.d.ts"
78
83
  },
84
+ "./polymarket": {
85
+ "module": "./lib/es/polymarket.js",
86
+ "require": "./lib/cjs/polymarket.js",
87
+ "types": "./lib/app/polymarket.d.ts"
88
+ },
79
89
  "./advertisement": {
80
90
  "module": "./lib/es/advertisement.js",
81
91
  "require": "./lib/cjs/advertisement.js",
@@ -136,19 +146,19 @@
136
146
  "@streamlayer/sl-eslib": "^5.228.0",
137
147
  "@connectrpc/connect": "^2.0.0",
138
148
  "@connectrpc/connect-web": "^2.0.0",
139
- "@streamlayer/feature-gamification": "^1.24.0",
140
- "@streamlayer/react-polyfills": "^0.2.0",
141
- "@streamlayer/sdk-web": "^1.17.0",
142
- "@streamlayer/sdk-web-analytics": "^1.15.0",
143
- "@streamlayer/sdk-web-api": "^1.15.0",
144
- "@streamlayer/sdk-web-core": "^1.19.0",
145
- "@streamlayer/sdk-web-features": "^1.0.94",
146
- "@streamlayer/sdk-web-interfaces": "^1.9.0",
147
- "@streamlayer/sdk-web-logger": "^1.0.94",
148
- "@streamlayer/sdk-web-notifications": "^1.3.56",
149
- "@streamlayer/sdk-web-storage": "^1.0.94",
150
- "@streamlayer/sdk-web-types": "^1.16.9",
151
- "@streamlayer/react-ui": "^1.34.0"
149
+ "@streamlayer/feature-gamification": "^1.24.6",
150
+ "@streamlayer/react-polyfills": "^0.2.6",
151
+ "@streamlayer/sdk-web": "^1.17.6",
152
+ "@streamlayer/sdk-web-analytics": "^1.15.6",
153
+ "@streamlayer/sdk-web-api": "^1.15.6",
154
+ "@streamlayer/sdk-web-core": "^1.20.3",
155
+ "@streamlayer/sdk-web-features": "^1.0.100",
156
+ "@streamlayer/sdk-web-interfaces": "^1.9.6",
157
+ "@streamlayer/sdk-web-logger": "^1.0.100",
158
+ "@streamlayer/sdk-web-notifications": "^1.3.62",
159
+ "@streamlayer/sdk-web-storage": "^1.0.100",
160
+ "@streamlayer/sdk-web-types": "^1.16.15",
161
+ "@streamlayer/react-ui": "^1.35.3"
152
162
  },
153
163
  "peerDependencies": {
154
164
  "@fastify/deepmerge": "^2.0.0",
@@ -1 +0,0 @@
1
- "use strict";const n=require("react"),E=require("react/jsx-runtime"),w=require("./useStreamLayerApp2.js"),f=({event:e,internal:r})=>{const o=m(),s=L();return n.useEffect(()=>(o&&(e&&(o.createEventSession(e,r),s&&(s.current=e)),!e&&s!=null&&s.current&&(o.createEventSession("",r),s.current="")),()=>{o&&o.disableApp()}),[e,r,s,o]),null};var h=(e=>(e[e.UNSET=0]="UNSET",e[e.CONNECTED=1]="CONNECTED",e[e.READY=2]="READY",e))(h||{});const x={status:0,sdk:null},i=n.createContext(x),N=({sdkKey:e,theme:r,themeMode:o,plugins:s,children:u,event:p,production:y=!0,autoEnable:C=!0,withAdNotification:S,withAd:A=!0,betPack:a=!1,hideFriends:D,skipOnboarding:c,friendsTab:v="enabled",onDeepLinkHandled:l,videoPlayerController:d,onContentActivate:K,containerId:b,webOS:P})=>{const t=w.$({sdkKey:e,plugins:s,production:y,autoEnable:C,onDeepLinkHandled:l,videoPlayerController:d,onContentActivate:K,hideFriends:D,skipOnboarding:c,withAdNotification:S,withAd:A,friendsTab:v,betPack:a,webOS:P}),k=n.useRef(""),g=n.useMemo(()=>t?{sdk:t,status:2,event:k}:{status:1,sdk:null,event:k},[t]);return n.useEffect(()=>{t&&(t.options.setKey("friendsTab",v),t.options.setKey("theme",r),t.options.setKey("themeMode",o),t.options.setKey("skipOnboarding",c),t.options.setKey("betPack",a),t.options.setKey("containerId",b))},[t,v,r,o,c,a,b]),n.useEffect(()=>()=>{l&&(t==null||t.removeDeepLinkHandler(l)),d&&(t==null||t.removeVideoPlayerController(d))},[t]),n.useEffect(()=>{localStorage.getItem("SL_DEBUG")&&console.log("StreamLayerProvider mounted with props:",{sdkKey:!!e,onDeepLinkHandled:!!l,videoPlayerController:!!d})},[e,l,d]),E.jsxs(i.Provider,{value:g,children:[p!==void 0&&E.jsx(f,{event:p}),u]})},m=()=>{const{sdk:e}=n.useContext(i);return e},L=()=>{const{event:e}=n.useContext(i);return e},O=()=>{const{sdk:e}=n.useContext(i),[r,o]=n.useState({});return n.useEffect(()=>{var s;return e!=null&&e.options?(s=e==null?void 0:e.options)==null?void 0:s.subscribe(u=>{o({theme:u.theme,themeMode:u.themeMode})}):()=>{}},[e==null?void 0:e.options]),r},T=()=>{const{sdk:e}=n.useContext(i),[r,o]=n.useState({});return n.useEffect(()=>e!=null&&e.uiState?e==null?void 0:e.uiState.subscribe(s=>{o({...s})}):()=>{},[e==null?void 0:e.uiState]),r};exports.B=m;exports.F=T;exports.Y=h;exports.c=i;exports.j=f;exports.q=N;exports.z=O;
@@ -1 +0,0 @@
1
- "use strict";const n=require("react"),E=require("react/jsx-runtime"),w=require("./useStreamLayerApp2.js"),f=({event:e,internal:r})=>{const o=m(),s=L();return n.useEffect(()=>(o&&(e&&(o.createEventSession(e,r),s&&(s.current=e)),!e&&s!=null&&s.current&&(o.createEventSession("",r),s.current="")),()=>{o&&o.disableApp()}),[e,r,s,o]),null};var h=(e=>(e[e.UNSET=0]="UNSET",e[e.CONNECTED=1]="CONNECTED",e[e.READY=2]="READY",e))(h||{});const x={status:0,sdk:null},i=n.createContext(x),N=({sdkKey:e,theme:r,themeMode:o,plugins:s,children:u,event:p,production:y=!0,autoEnable:C=!0,withAdNotification:S,withAd:A=!0,betPack:a=!1,hideFriends:D,skipOnboarding:c,friendsTab:v="enabled",onDeepLinkHandled:l,videoPlayerController:d,onContentActivate:K,containerId:b,webOS:P})=>{const t=w.$({sdkKey:e,plugins:s,production:y,autoEnable:C,onDeepLinkHandled:l,videoPlayerController:d,onContentActivate:K,hideFriends:D,skipOnboarding:c,withAdNotification:S,withAd:A,friendsTab:v,betPack:a,webOS:P}),k=n.useRef(""),g=n.useMemo(()=>t?{sdk:t,status:2,event:k}:{status:1,sdk:null,event:k},[t]);return n.useEffect(()=>{t&&(t.options.setKey("friendsTab",v),t.options.setKey("theme",r),t.options.setKey("themeMode",o),t.options.setKey("skipOnboarding",c),t.options.setKey("betPack",a),t.options.setKey("containerId",b))},[t,v,r,o,c,a,b]),n.useEffect(()=>()=>{l&&(t==null||t.removeDeepLinkHandler(l)),d&&(t==null||t.removeVideoPlayerController(d))},[t]),n.useEffect(()=>{localStorage.getItem("SL_DEBUG")&&console.log("StreamLayerProvider mounted with props:",{sdkKey:!!e,onDeepLinkHandled:!!l,videoPlayerController:!!d})},[e,l,d]),E.jsxs(i.Provider,{value:g,children:[p!==void 0&&E.jsx(f,{event:p}),u]})},m=()=>{const{sdk:e}=n.useContext(i);return e},L=()=>{const{event:e}=n.useContext(i);return e},O=()=>{const{sdk:e}=n.useContext(i),[r,o]=n.useState({});return n.useEffect(()=>{var s;return e!=null&&e.options?(s=e==null?void 0:e.options)==null?void 0:s.subscribe(u=>{o({theme:u.theme,themeMode:u.themeMode})}):()=>{}},[e==null?void 0:e.options]),r},T=()=>{const{sdk:e}=n.useContext(i),[r,o]=n.useState({});return n.useEffect(()=>e!=null&&e.uiState?e==null?void 0:e.uiState.subscribe(s=>{o({...s})}):()=>{},[e==null?void 0:e.uiState]),r};exports.B=m;exports.F=T;exports.Y=h;exports.c=i;exports.j=f;exports.q=N;exports.z=O;
@@ -1,98 +0,0 @@
1
- import { createContext as P, useEffect as s, useRef as g, useMemo as w, useContext as u, useState as h } from "react";
2
- import { jsxs as N, jsx as O } from "react/jsx-runtime";
3
- import { $ as T } from "./useStreamLayerApp2.js";
4
- const L = ({
5
- event: e,
6
- internal: r
7
- }) => {
8
- const n = H(), o = j();
9
- return s(() => (n && (e && (n.createEventSession(e, r), o && (o.current = e)), !e && o != null && o.current && (n.createEventSession("", r), o.current = "")), () => {
10
- n && n.disableApp();
11
- }), [e, r, o, n]), null;
12
- };
13
- var x = /* @__PURE__ */ ((e) => (e[e.UNSET = 0] = "UNSET", e[e.CONNECTED = 1] = "CONNECTED", e[e.READY = 2] = "READY", e))(x || {});
14
- const M = {
15
- status: 0,
16
- sdk: null
17
- }, d = P(M), U = ({
18
- sdkKey: e,
19
- theme: r,
20
- themeMode: n,
21
- plugins: o,
22
- children: a,
23
- event: m,
24
- production: y = !0,
25
- autoEnable: E = !0,
26
- withAdNotification: C,
27
- withAd: S = !0,
28
- betPack: c = !1,
29
- hideFriends: f,
30
- skipOnboarding: p,
31
- friendsTab: v = "enabled",
32
- onDeepLinkHandled: i,
33
- videoPlayerController: l,
34
- onContentActivate: A,
35
- containerId: b,
36
- webOS: D
37
- }) => {
38
- const t = T({
39
- sdkKey: e,
40
- plugins: o,
41
- production: y,
42
- autoEnable: E,
43
- onDeepLinkHandled: i,
44
- videoPlayerController: l,
45
- onContentActivate: A,
46
- hideFriends: f,
47
- skipOnboarding: p,
48
- withAdNotification: C,
49
- withAd: S,
50
- friendsTab: v,
51
- betPack: c,
52
- webOS: D
53
- }), k = g(""), K = w(() => t ? { sdk: t, status: 2, event: k } : { status: 1, sdk: null, event: k }, [t]);
54
- return s(() => {
55
- t && (t.options.setKey("friendsTab", v), t.options.setKey("theme", r), t.options.setKey("themeMode", n), t.options.setKey("skipOnboarding", p), t.options.setKey("betPack", c), t.options.setKey("containerId", b));
56
- }, [t, v, r, n, p, c, b]), s(() => () => {
57
- i && (t == null || t.removeDeepLinkHandler(i)), l && (t == null || t.removeVideoPlayerController(l));
58
- }, [t]), s(() => {
59
- localStorage.getItem("SL_DEBUG") && console.log("StreamLayerProvider mounted with props:", {
60
- sdkKey: !!e,
61
- onDeepLinkHandled: !!i,
62
- videoPlayerController: !!l
63
- });
64
- }, [e, i, l]), /* @__PURE__ */ N(d.Provider, { value: K, children: [
65
- m !== void 0 && /* @__PURE__ */ O(L, { event: m }),
66
- a
67
- ] });
68
- }, H = () => {
69
- const { sdk: e } = u(d);
70
- return e;
71
- }, j = () => {
72
- const { event: e } = u(d);
73
- return e;
74
- }, Y = () => {
75
- const { sdk: e } = u(d), [r, n] = h({});
76
- return s(() => {
77
- var o;
78
- return e != null && e.options ? (o = e == null ? void 0 : e.options) == null ? void 0 : o.subscribe((a) => {
79
- n({ theme: a.theme, themeMode: a.themeMode });
80
- }) : () => {
81
- };
82
- }, [e == null ? void 0 : e.options]), r;
83
- }, B = () => {
84
- const { sdk: e } = u(d), [r, n] = h({});
85
- return s(() => e != null && e.uiState ? e == null ? void 0 : e.uiState.subscribe((o) => {
86
- n({ ...o });
87
- }) : () => {
88
- }, [e == null ? void 0 : e.uiState]), r;
89
- };
90
- export {
91
- H as B,
92
- B as F,
93
- x as Y,
94
- d as c,
95
- L as j,
96
- U as q,
97
- Y as z
98
- };
@@ -1,98 +0,0 @@
1
- import { createContext as P, useEffect as s, useRef as g, useMemo as w, useContext as u, useState as h } from "react";
2
- import { jsxs as N, jsx as O } from "react/jsx-runtime";
3
- import { $ as T } from "./useStreamLayerApp2.js";
4
- const L = ({
5
- event: e,
6
- internal: r
7
- }) => {
8
- const n = H(), o = j();
9
- return s(() => (n && (e && (n.createEventSession(e, r), o && (o.current = e)), !e && o != null && o.current && (n.createEventSession("", r), o.current = "")), () => {
10
- n && n.disableApp();
11
- }), [e, r, o, n]), null;
12
- };
13
- var x = /* @__PURE__ */ ((e) => (e[e.UNSET = 0] = "UNSET", e[e.CONNECTED = 1] = "CONNECTED", e[e.READY = 2] = "READY", e))(x || {});
14
- const M = {
15
- status: 0,
16
- sdk: null
17
- }, d = P(M), U = ({
18
- sdkKey: e,
19
- theme: r,
20
- themeMode: n,
21
- plugins: o,
22
- children: a,
23
- event: m,
24
- production: y = !0,
25
- autoEnable: E = !0,
26
- withAdNotification: C,
27
- withAd: S = !0,
28
- betPack: c = !1,
29
- hideFriends: f,
30
- skipOnboarding: p,
31
- friendsTab: v = "enabled",
32
- onDeepLinkHandled: i,
33
- videoPlayerController: l,
34
- onContentActivate: A,
35
- containerId: b,
36
- webOS: D
37
- }) => {
38
- const t = T({
39
- sdkKey: e,
40
- plugins: o,
41
- production: y,
42
- autoEnable: E,
43
- onDeepLinkHandled: i,
44
- videoPlayerController: l,
45
- onContentActivate: A,
46
- hideFriends: f,
47
- skipOnboarding: p,
48
- withAdNotification: C,
49
- withAd: S,
50
- friendsTab: v,
51
- betPack: c,
52
- webOS: D
53
- }), k = g(""), K = w(() => t ? { sdk: t, status: 2, event: k } : { status: 1, sdk: null, event: k }, [t]);
54
- return s(() => {
55
- t && (t.options.setKey("friendsTab", v), t.options.setKey("theme", r), t.options.setKey("themeMode", n), t.options.setKey("skipOnboarding", p), t.options.setKey("betPack", c), t.options.setKey("containerId", b));
56
- }, [t, v, r, n, p, c, b]), s(() => () => {
57
- i && (t == null || t.removeDeepLinkHandler(i)), l && (t == null || t.removeVideoPlayerController(l));
58
- }, [t]), s(() => {
59
- localStorage.getItem("SL_DEBUG") && console.log("StreamLayerProvider mounted with props:", {
60
- sdkKey: !!e,
61
- onDeepLinkHandled: !!i,
62
- videoPlayerController: !!l
63
- });
64
- }, [e, i, l]), /* @__PURE__ */ N(d.Provider, { value: K, children: [
65
- m !== void 0 && /* @__PURE__ */ O(L, { event: m }),
66
- a
67
- ] });
68
- }, H = () => {
69
- const { sdk: e } = u(d);
70
- return e;
71
- }, j = () => {
72
- const { event: e } = u(d);
73
- return e;
74
- }, Y = () => {
75
- const { sdk: e } = u(d), [r, n] = h({});
76
- return s(() => {
77
- var o;
78
- return e != null && e.options ? (o = e == null ? void 0 : e.options) == null ? void 0 : o.subscribe((a) => {
79
- n({ theme: a.theme, themeMode: a.themeMode });
80
- }) : () => {
81
- };
82
- }, [e == null ? void 0 : e.options]), r;
83
- }, B = () => {
84
- const { sdk: e } = u(d), [r, n] = h({});
85
- return s(() => e != null && e.uiState ? e == null ? void 0 : e.uiState.subscribe((o) => {
86
- n({ ...o });
87
- }) : () => {
88
- }, [e == null ? void 0 : e.uiState]), r;
89
- };
90
- export {
91
- H as B,
92
- B as F,
93
- x as Y,
94
- d as c,
95
- L as j,
96
- U as q,
97
- Y as z
98
- };