@platform-x/hcltechx-mfe-wrapper 1.0.16 → 1.0.18

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 (48) hide show
  1. package/{ArticleVodListComponent-DKUN3thC.mjs → ArticleVodListComponent-BhC9fcBK.mjs} +2 -2
  2. package/ChallengeDetailComponent-a2-1SXW4.mjs +130 -0
  3. package/{ChallengeSliderComponent-CeD1p3L6.mjs → ChallengeSliderComponent-Rs05SYDh.mjs} +3 -3
  4. package/{CommonContentComponent-DPPrx3bD.mjs → CommonContentComponent-DMYED0gU.mjs} +27 -32
  5. package/{DailyMotion-fLexJPDN.mjs → DailyMotion-_hNQmRIk.mjs} +4 -4
  6. package/{EngagementHomeComponent-BNU8QZsQ.mjs → EngagementHomeComponent-BdOJMzso.mjs} +5 -4
  7. package/{EventDetailComponent-Dbdse5St.mjs → EventDetailComponent-Dv5P99jT.mjs} +8 -8
  8. package/EventListComponent-Dchsfqzz.mjs +82 -0
  9. package/{Facebook-B5dHT-pV.mjs → Facebook-Brr6zTj8.mjs} +4 -4
  10. package/{FilePlayer-DvM19mlx.mjs → FilePlayer-hyVP7MCn.mjs} +11 -11
  11. package/{IndividualChallengeComponent-CS58zTFF.mjs → IndividualChallengeComponent-B_T7b3Ur.mjs} +56 -51
  12. package/{Kaltura-D6RVtBip.mjs → Kaltura-Dm0iFq0_.mjs} +5 -5
  13. package/Mapping-jqmNMEpL.mjs +31 -0
  14. package/{Mixcloud-CAXby0Wn.mjs → Mixcloud-BxCqkqBI.mjs} +5 -5
  15. package/{Mux-mczERHRU.mjs → Mux-EuvXxP57.mjs} +7 -7
  16. package/PageComponent-rF8u6X9M.mjs +97 -0
  17. package/{Preview-DovVCnK6.mjs → Preview-Cn_VJga7.mjs} +6 -6
  18. package/{RecentCarousel-C_fm1uG1.mjs → RecentCarousel-CTKvh3_T.mjs} +17 -17
  19. package/{Share-CuYAlNkA.mjs → Share-vHOqy5cA.mjs} +538 -663
  20. package/{SoundCloud-YLqZjHKm.mjs → SoundCloud-BXf1CmYj.mjs} +2 -2
  21. package/{Streamable-BGnFDdbJ.mjs → Streamable-CRhFsgCM.mjs} +7 -7
  22. package/ToggleButton-BjTEhXO6.mjs +60508 -0
  23. package/{Twitch-FDSz8d9g.mjs → Twitch-C8vuPU3L.mjs} +4 -4
  24. package/{Vidyard-DoM-iNK7.mjs → Vidyard-BI-z_7aH.mjs} +14 -14
  25. package/{Vimeo-BAZx0mgo.mjs → Vimeo-Cg66sfnT.mjs} +2 -2
  26. package/{Wistia-D0CtAbcg.mjs → Wistia-CFM3uvZW.mjs} +5 -5
  27. package/{YouTube-AKeQPHRd.mjs → YouTube-HRwM8_Rt.mjs} +4 -4
  28. package/{index-BW7MAuY_.mjs → index-BBX-vK5Q.mjs} +1502 -1550
  29. package/index-JLQT9i3x.mjs +62 -0
  30. package/index.mjs +1 -1
  31. package/lib/Pages/PageComponent.d.ts +2 -0
  32. package/lib/Pages/PrelemBuilder.d.ts +8 -0
  33. package/lib/services/fetchQueries.d.ts +1 -1
  34. package/lib/utils/Mapping.d.ts +20 -0
  35. package/lib/utils/componentMapping.d.ts +1 -0
  36. package/lib/utils/constants.d.ts +24 -0
  37. package/lib/utils/helper.d.ts +34 -0
  38. package/{mutateApi-UtIkY8_8.mjs → mutateApi-C3NgPEmY.mjs} +1 -1
  39. package/package.json +1 -1
  40. package/style.css +1 -1
  41. package/ChallengeDetailComponent-C6lsSLpA.mjs +0 -107
  42. package/EventList-BYF03nEh.mjs +0 -220136
  43. package/EventListComponent-BJ3sTQ_I.mjs +0 -79
  44. package/index-B0kXOAse.mjs +0 -19
  45. package/lib/Components/EventDetails/EventDetailComponent.d.ts +0 -1
  46. package/lib/Components/EventDetails/index.d.ts +0 -2
  47. package/lib/Components/EventList/EventListComponent.d.ts +0 -2
  48. package/lib/Components/EventList/index.d.ts +0 -2
@@ -1,89 +1,28 @@
1
- import Ne, { jsx as s, jsxs as k, Fragment as Te } from "react/jsx-runtime";
2
- import * as z from "react";
3
- import je, { forwardRef as Oe, useState as $, useEffect as me, useRef as Ee, useCallback as Re } from "react";
4
- import { t as Pe, v as be, w as Be, x as De, m as Me, y as We, B as b, i as He, T as N, l as $e, z as se, D as Ue, F as Ve, G as ze, H as le } from "./EventList-BYF03nEh.mjs";
5
- import { c as F, d as K, e as G, h as X, _ as q, i as C, j as Q, P as r, k as Fe, l as Y, m as ve, n as Ke, o as de, g as Ge, G as E, u as Xe } from "./index-BW7MAuY_.mjs";
1
+ import Le, { jsx as a, jsxs as k, Fragment as je } from "react/jsx-runtime";
2
+ import * as le from "react";
3
+ import Te, { forwardRef as Ne, useState as $, useEffect as de, useRef as Oe, useCallback as Pe } from "react";
4
+ import { d as ce, r as Ee, i as Re, m as We, h as Be, e as ue, B as b, g as De, j as He, T as L, P as Me, k as I, D as $e, l as Ue, s as Ve, n as J } from "./ToggleButton-BjTEhXO6.mjs";
5
+ import { g as he, c as pe, d as we, _ as j, u as fe, e as ge, h as me, P as p, i as be, k as ve, j as ze, l as ee, m as Fe, G as P, n as Ke } from "./index-BBX-vK5Q.mjs";
6
6
  import "react-dom";
7
- function qe(e) {
7
+ function Ge(e) {
8
8
  return String(e).match(/[\d.\-+]*\s*(.*)/)[1] || "";
9
9
  }
10
- function Qe(e) {
10
+ function Xe(e) {
11
11
  return parseFloat(e);
12
12
  }
13
- function Ye(e) {
14
- return K("MuiCard", e);
15
- }
16
- F("MuiCard", ["root"]);
17
- const Ze = ["className", "raised"], Ie = (e) => {
18
- const {
19
- classes: t
20
- } = e;
21
- return Y({
22
- root: ["root"]
23
- }, Ye, t);
24
- }, Je = G(Pe, {
25
- name: "MuiCard",
26
- slot: "Root",
27
- overridesResolver: (e, t) => t.root
28
- })(() => ({
29
- overflow: "hidden"
30
- })), te = /* @__PURE__ */ z.forwardRef(function(t, n) {
31
- const o = X({
32
- props: t,
33
- name: "MuiCard"
34
- }), {
35
- className: i,
36
- raised: d = !1
37
- } = o, c = q(o, Ze), h = C({}, o, {
38
- raised: d
39
- }), l = Ie(h);
40
- return /* @__PURE__ */ s(Je, C({
41
- className: Q(l.root, i),
42
- elevation: d ? 8 : void 0,
43
- ref: n,
44
- ownerState: h
45
- }, c));
46
- });
47
- process.env.NODE_ENV !== "production" && (te.propTypes = {
48
- // ----------------------------- Warning --------------------------------
49
- // | These PropTypes are generated from the TypeScript type definitions |
50
- // | To update them edit the d.ts file and run "yarn proptypes" |
51
- // ----------------------------------------------------------------------
52
- /**
53
- * The content of the component.
54
- */
55
- children: r.node,
56
- /**
57
- * Override or extend the styles applied to the component.
58
- */
59
- classes: r.object,
60
- /**
61
- * @ignore
62
- */
63
- className: r.string,
64
- /**
65
- * If `true`, the card will use raised styling.
66
- * @default false
67
- */
68
- raised: Fe(r.bool, (e) => e.raised && e.variant === "outlined" ? new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.') : null),
69
- /**
70
- * The system prop that allows defining system overrides as well as additional CSS styles.
71
- */
72
- sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
73
- });
74
- function et(e) {
75
- return K("MuiCardActions", e);
13
+ function qe(e) {
14
+ return pe("MuiCardActions", e);
76
15
  }
77
- F("MuiCardActions", ["root", "spacing"]);
78
- const tt = ["disableSpacing", "className"], nt = (e) => {
16
+ he("MuiCardActions", ["root", "spacing"]);
17
+ const Qe = ["disableSpacing", "className"], Ye = (e) => {
79
18
  const {
80
19
  classes: t,
81
20
  disableSpacing: n
82
21
  } = e;
83
- return Y({
22
+ return be({
84
23
  root: ["root", !n && "spacing"]
85
- }, et, t);
86
- }, ot = G("div", {
24
+ }, qe, t);
25
+ }, Ze = we("div", {
87
26
  name: "MuiCardActions",
88
27
  slot: "Root",
89
28
  overridesResolver: (e, t) => {
@@ -94,7 +33,7 @@ const tt = ["disableSpacing", "className"], nt = (e) => {
94
33
  }
95
34
  })(({
96
35
  ownerState: e
97
- }) => C({
36
+ }) => j({
98
37
  display: "flex",
99
38
  alignItems: "center",
100
39
  padding: 8
@@ -102,21 +41,21 @@ const tt = ["disableSpacing", "className"], nt = (e) => {
102
41
  "& > :not(:first-of-type)": {
103
42
  marginLeft: 8
104
43
  }
105
- })), xe = /* @__PURE__ */ z.forwardRef(function(t, n) {
106
- const o = X({
44
+ })), xe = /* @__PURE__ */ le.forwardRef(function(t, n) {
45
+ const i = fe({
107
46
  props: t,
108
47
  name: "MuiCardActions"
109
48
  }), {
110
- disableSpacing: i = !1,
111
- className: d
112
- } = o, c = q(o, tt), h = C({}, o, {
113
- disableSpacing: i
114
- }), l = nt(h);
115
- return /* @__PURE__ */ s(ot, C({
116
- className: Q(l.root, d),
117
- ownerState: h,
49
+ disableSpacing: o = !1,
50
+ className: c
51
+ } = i, d = ge(i, Qe), u = j({}, i, {
52
+ disableSpacing: o
53
+ }), s = Ye(u);
54
+ return /* @__PURE__ */ a(Ze, j({
55
+ className: me(s.root, c),
56
+ ownerState: u,
118
57
  ref: n
119
- }, c));
58
+ }, d));
120
59
  });
121
60
  process.env.NODE_ENV !== "production" && (xe.propTypes = {
122
61
  // ----------------------------- Warning --------------------------------
@@ -126,108 +65,44 @@ process.env.NODE_ENV !== "production" && (xe.propTypes = {
126
65
  /**
127
66
  * The content of the component.
128
67
  */
129
- children: r.node,
68
+ children: p.node,
130
69
  /**
131
70
  * Override or extend the styles applied to the component.
132
71
  */
133
- classes: r.object,
72
+ classes: p.object,
134
73
  /**
135
74
  * @ignore
136
75
  */
137
- className: r.string,
76
+ className: p.string,
138
77
  /**
139
78
  * If `true`, the actions do not have additional margin.
140
79
  * @default false
141
80
  */
142
- disableSpacing: r.bool,
143
- /**
144
- * The system prop that allows defining system overrides as well as additional CSS styles.
145
- */
146
- sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
147
- });
148
- function it(e) {
149
- return K("MuiCardContent", e);
150
- }
151
- F("MuiCardContent", ["root"]);
152
- const rt = ["className", "component"], at = (e) => {
153
- const {
154
- classes: t
155
- } = e;
156
- return Y({
157
- root: ["root"]
158
- }, it, t);
159
- }, st = G("div", {
160
- name: "MuiCardContent",
161
- slot: "Root",
162
- overridesResolver: (e, t) => t.root
163
- })(() => ({
164
- padding: 16,
165
- "&:last-child": {
166
- paddingBottom: 24
167
- }
168
- })), ye = /* @__PURE__ */ z.forwardRef(function(t, n) {
169
- const o = X({
170
- props: t,
171
- name: "MuiCardContent"
172
- }), {
173
- className: i,
174
- component: d = "div"
175
- } = o, c = q(o, rt), h = C({}, o, {
176
- component: d
177
- }), l = at(h);
178
- return /* @__PURE__ */ s(st, C({
179
- as: d,
180
- className: Q(l.root, i),
181
- ownerState: h,
182
- ref: n
183
- }, c));
184
- });
185
- process.env.NODE_ENV !== "production" && (ye.propTypes = {
186
- // ----------------------------- Warning --------------------------------
187
- // | These PropTypes are generated from the TypeScript type definitions |
188
- // | To update them edit the d.ts file and run "yarn proptypes" |
189
- // ----------------------------------------------------------------------
190
- /**
191
- * The content of the component.
192
- */
193
- children: r.node,
194
- /**
195
- * Override or extend the styles applied to the component.
196
- */
197
- classes: r.object,
198
- /**
199
- * @ignore
200
- */
201
- className: r.string,
202
- /**
203
- * The component used for the root node.
204
- * Either a string to use a HTML element or a component.
205
- */
206
- component: r.elementType,
81
+ disableSpacing: p.bool,
207
82
  /**
208
83
  * The system prop that allows defining system overrides as well as additional CSS styles.
209
84
  */
210
- sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
85
+ sx: p.oneOfType([p.arrayOf(p.oneOfType([p.func, p.object, p.bool])), p.func, p.object])
211
86
  });
212
- function lt(e) {
213
- return K("MuiSkeleton", e);
87
+ function Ie(e) {
88
+ return pe("MuiSkeleton", e);
214
89
  }
215
- F("MuiSkeleton", ["root", "text", "rectangular", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
216
- const dt = ["animation", "className", "component", "height", "style", "variant", "width"];
217
- let U = (e) => e, ce, ue, he, pe;
218
- const ct = (e) => {
90
+ he("MuiSkeleton", ["root", "text", "rectangular", "circular", "pulse", "wave", "withChildren", "fitContent", "heightAuto"]);
91
+ const Je = ["animation", "className", "component", "height", "style", "variant", "width"];
92
+ let U = (e) => e, te, ne, ie, oe;
93
+ const et = (e) => {
219
94
  const {
220
95
  classes: t,
221
96
  variant: n,
222
- animation: o,
223
- hasChildren: i,
224
- width: d,
225
- height: c
97
+ animation: i,
98
+ hasChildren: o,
99
+ width: c,
100
+ height: d
226
101
  } = e;
227
- return Y({
228
- root: ["root", n, o, i && "withChildren", i && !d && "fitContent", i && !c && "heightAuto"]
229
- }, lt, t);
230
- }, ut = ve(ce || (ce = U`
102
+ return be({
103
+ root: ["root", n, i, o && "withChildren", o && !c && "fitContent", o && !d && "heightAuto"]
104
+ }, Ie, t);
105
+ }, tt = ve(te || (te = U`
231
106
  0% {
232
107
  opacity: 1;
233
108
  }
@@ -239,7 +114,7 @@ const ct = (e) => {
239
114
  100% {
240
115
  opacity: 1;
241
116
  }
242
- `)), ht = ve(ue || (ue = U`
117
+ `)), nt = ve(ne || (ne = U`
243
118
  0% {
244
119
  transform: translateX(-100%);
245
120
  }
@@ -252,7 +127,7 @@ const ct = (e) => {
252
127
  100% {
253
128
  transform: translateX(100%);
254
129
  }
255
- `)), pt = G("span", {
130
+ `)), it = we("span", {
256
131
  name: "MuiSkeleton",
257
132
  slot: "Root",
258
133
  overridesResolver: (e, t) => {
@@ -265,11 +140,11 @@ const ct = (e) => {
265
140
  theme: e,
266
141
  ownerState: t
267
142
  }) => {
268
- const n = qe(e.shape.borderRadius) || "px", o = Qe(e.shape.borderRadius);
269
- return C({
143
+ const n = Ge(e.shape.borderRadius) || "px", i = Xe(e.shape.borderRadius);
144
+ return j({
270
145
  display: "block",
271
146
  // Create a "on paper" color with sufficient contrast retaining the color
272
- backgroundColor: e.vars ? e.vars.palette.Skeleton.bg : Ke(e.palette.text.primary, e.palette.mode === "light" ? 0.11 : 0.13),
147
+ backgroundColor: e.vars ? e.vars.palette.Skeleton.bg : ze(e.palette.text.primary, e.palette.mode === "light" ? 0.11 : 0.13),
273
148
  height: "1.2em"
274
149
  }, t.variant === "text" && {
275
150
  marginTop: 0,
@@ -277,7 +152,7 @@ const ct = (e) => {
277
152
  height: "auto",
278
153
  transformOrigin: "0 55%",
279
154
  transform: "scale(1, 0.60)",
280
- borderRadius: `${o}${n}/${Math.round(o / 0.6 * 10) / 10}${n}`,
155
+ borderRadius: `${i}${n}/${Math.round(i / 0.6 * 10) / 10}${n}`,
281
156
  "&:empty:before": {
282
157
  content: '"\\00a0"'
283
158
  }
@@ -294,12 +169,12 @@ const ct = (e) => {
294
169
  });
295
170
  }, ({
296
171
  ownerState: e
297
- }) => e.animation === "pulse" && de(he || (he = U`
172
+ }) => e.animation === "pulse" && ee(ie || (ie = U`
298
173
  animation: ${0} 1.5s ease-in-out 0.5s infinite;
299
- `), ut), ({
174
+ `), tt), ({
300
175
  ownerState: e,
301
176
  theme: t
302
- }) => e.animation === "wave" && de(pe || (pe = U`
177
+ }) => e.animation === "wave" && ee(oe || (oe = U`
303
178
  position: relative;
304
179
  overflow: hidden;
305
180
 
@@ -322,37 +197,37 @@ const ct = (e) => {
322
197
  right: 0;
323
198
  top: 0;
324
199
  }
325
- `), ht, (t.vars || t).palette.action.hover)), R = /* @__PURE__ */ z.forwardRef(function(t, n) {
326
- const o = X({
200
+ `), nt, (t.vars || t).palette.action.hover)), E = /* @__PURE__ */ le.forwardRef(function(t, n) {
201
+ const i = fe({
327
202
  props: t,
328
203
  name: "MuiSkeleton"
329
204
  }), {
330
- animation: i = "pulse",
331
- className: d,
332
- component: c = "span",
333
- height: h,
334
- style: l,
335
- variant: a = "text",
336
- width: u
337
- } = o, p = q(o, dt), f = C({}, o, {
338
- animation: i,
339
- component: c,
340
- variant: a,
341
- hasChildren: !!p.children
342
- }), x = ct(f);
343
- return /* @__PURE__ */ s(pt, C({
344
- as: c,
205
+ animation: o = "pulse",
206
+ className: c,
207
+ component: d = "span",
208
+ height: u,
209
+ style: s,
210
+ variant: r = "text",
211
+ width: l
212
+ } = i, h = ge(i, Je), w = j({}, i, {
213
+ animation: o,
214
+ component: d,
215
+ variant: r,
216
+ hasChildren: !!h.children
217
+ }), x = et(w);
218
+ return /* @__PURE__ */ a(it, j({
219
+ as: d,
345
220
  ref: n,
346
- className: Q(x.root, d),
347
- ownerState: f
348
- }, p, {
349
- style: C({
350
- width: u,
351
- height: h
352
- }, l)
221
+ className: me(x.root, c),
222
+ ownerState: w
223
+ }, h, {
224
+ style: j({
225
+ width: l,
226
+ height: u
227
+ }, s)
353
228
  }));
354
229
  });
355
- process.env.NODE_ENV !== "production" && (R.propTypes = {
230
+ process.env.NODE_ENV !== "production" && (E.propTypes = {
356
231
  // ----------------------------- Warning --------------------------------
357
232
  // | These PropTypes are generated from the TypeScript type definitions |
358
233
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -362,96 +237,96 @@ process.env.NODE_ENV !== "production" && (R.propTypes = {
362
237
  * If `false` the animation effect is disabled.
363
238
  * @default 'pulse'
364
239
  */
365
- animation: r.oneOf(["pulse", "wave", !1]),
240
+ animation: p.oneOf(["pulse", "wave", !1]),
366
241
  /**
367
242
  * Optional children to infer width and height from.
368
243
  */
369
- children: r.node,
244
+ children: p.node,
370
245
  /**
371
246
  * Override or extend the styles applied to the component.
372
247
  */
373
- classes: r.object,
248
+ classes: p.object,
374
249
  /**
375
250
  * @ignore
376
251
  */
377
- className: r.string,
252
+ className: p.string,
378
253
  /**
379
254
  * The component used for the root node.
380
255
  * Either a string to use a HTML element or a component.
381
256
  */
382
- component: r.elementType,
257
+ component: p.elementType,
383
258
  /**
384
259
  * Height of the skeleton.
385
260
  * Useful when you don't want to adapt the skeleton to a text element but for instance a card.
386
261
  */
387
- height: r.oneOfType([r.number, r.string]),
262
+ height: p.oneOfType([p.number, p.string]),
388
263
  /**
389
264
  * @ignore
390
265
  */
391
- style: r.object,
266
+ style: p.object,
392
267
  /**
393
268
  * The system prop that allows defining system overrides as well as additional CSS styles.
394
269
  */
395
- sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
270
+ sx: p.oneOfType([p.arrayOf(p.oneOfType([p.func, p.object, p.bool])), p.func, p.object]),
396
271
  /**
397
272
  * The type of content that will be rendered.
398
273
  * @default 'text'
399
274
  */
400
- variant: r.oneOfType([r.oneOf(["circular", "rectangular", "text"]), r.string]),
275
+ variant: p.oneOfType([p.oneOf(["circular", "rectangular", "text"]), p.string]),
401
276
  /**
402
277
  * Width of the skeleton.
403
278
  * Useful when the skeleton is inside an inline element with no width of its own.
404
279
  */
405
- width: r.oneOfType([r.number, r.string])
280
+ width: p.oneOfType([p.number, p.string])
406
281
  });
407
- const ft = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.828%209.41a.794.794%200%200%201-.556-.23.793.793%200%200%201%200-1.12l1.682-1.681a1.587%201.587%200%200%200%200-2.246l-1.127-1.127a1.635%201.635%200%200%200-2.245%200L7.9%204.688a.793.793%200%200%201-1.12-1.11l1.683-1.683a3.253%203.253%200%200%201%204.491%200l1.12%201.12a3.176%203.176%200%200%201%200%204.49L12.382%209.18a.793.793%200%200%201-.555.23zM4.536%2015.718a3.173%203.173%200%200%201-2.246-.928L1.171%2013.67a3.175%203.175%200%200%201%200-4.491l1.69-1.683a.793.793%200%200%201%201.111%201.12L2.29%2010.298a1.586%201.586%200%200%200%200%202.245l1.127%201.127a1.635%201.635%200%200%200%202.245%200l1.683-1.682a.793.793%200%201%201%201.119%201.11L6.78%2014.783a3.174%203.174%200%200%201-2.245.936z'%20fill='%232D2D39'/%3e%3cpath%20d='M5.099%2011.655a.793.793%200%200%201-.564-1.356L9.59%205.252a.794.794%200%201%201%201.119%201.127l-5.055%205.046a.793.793%200%200%201-.555.23z'%20fill='%232D2D39'/%3e%3c/svg%3e", wt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD6SURBVHgB7ZM9CsIwGIa/GI8gWkV0dyhdXHTxCN5APIl6E0dXN0fdxEmldFYqkrZnaD6ToRj736pbXwh88CbPEwIBqFLlr9H10UKusr0MTTuMiEsxThqN9tbznkztDWNkcI4b2WtaDxzHPuQWKHDwfZxb1mkX3sOYzVqt7h2ATNMkNBt+XENCXPdxzpLQsvC8EvoNPI+kFmzinJNgrtcpQsEQ8j6jsqhyi32z2SUiEwCcalr/Jm5xyQPX9fEMka/lLF5hZZrHZURQVpIGjwiKSrLgsYI4SafT3jL2+dEGg6Eh+l0aPFGgSsR4uF5Pm3Avf3bQJ8GrVPlNXpHyzr4dW2vdAAAAAElFTkSuQmCC", gt = "data:image/svg+xml,%3csvg%20width='9'%20height='16'%20viewBox='0%200%209%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.069%205.153H5.555V3.525c0-.612.41-.754.699-.754h1.774V.083L5.585.073c-2.713%200-3.33%202.005-3.33%203.288v1.792H.687v2.77h1.568v7.837h3.3V7.923H7.78l.288-2.77z'%20fill='%232D2D39'/%3e%3c/svg%3e", mt = "data:image/svg+xml,%3csvg%20width='15'%20height='14'%20viewBox='0%200%2015%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.26%2014H0V4.455h3.26V14zM1.632%203.182C.73%203.182%200%202.468%200%201.59%200%20.712.73%200%201.631%200c.899%200%201.63.713%201.63%201.59%200%20.878-.731%201.592-1.63%201.592zM15%2014h-3.135V9.355c0-1.108-.021-2.533-1.63-2.533-1.632%200-1.883%201.206-1.883%202.452V14H5.217V4.448h3.01v1.305h.042c.419-.751%201.442-1.543%202.968-1.543C14.413%204.21%2015%206.19%2015%208.76V14z'%20fill='%232D2D39'/%3e%3c/svg%3e";
408
- var J = { exports: {} }, ee = { exports: {} }, P = 1e3, B = P * 60, D = B * 60, M = D * 24, bt = M * 365.25, vt = function(e, t) {
282
+ const ot = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.828%209.41a.794.794%200%200%201-.556-.23.793.793%200%200%201%200-1.12l1.682-1.681a1.587%201.587%200%200%200%200-2.246l-1.127-1.127a1.635%201.635%200%200%200-2.245%200L7.9%204.688a.793.793%200%200%201-1.12-1.11l1.683-1.683a3.253%203.253%200%200%201%204.491%200l1.12%201.12a3.176%203.176%200%200%201%200%204.49L12.382%209.18a.793.793%200%200%201-.555.23zM4.536%2015.718a3.173%203.173%200%200%201-2.246-.928L1.171%2013.67a3.175%203.175%200%200%201%200-4.491l1.69-1.683a.793.793%200%200%201%201.111%201.12L2.29%2010.298a1.586%201.586%200%200%200%200%202.245l1.127%201.127a1.635%201.635%200%200%200%202.245%200l1.683-1.682a.793.793%200%201%201%201.119%201.11L6.78%2014.783a3.174%203.174%200%200%201-2.245.936z'%20fill='%232D2D39'/%3e%3cpath%20d='M5.099%2011.655a.793.793%200%200%201-.564-1.356L9.59%205.252a.794.794%200%201%201%201.119%201.127l-5.055%205.046a.793.793%200%200%201-.555.23z'%20fill='%232D2D39'/%3e%3c/svg%3e", rt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD6SURBVHgB7ZM9CsIwGIa/GI8gWkV0dyhdXHTxCN5APIl6E0dXN0fdxEmldFYqkrZnaD6ToRj736pbXwh88CbPEwIBqFLlr9H10UKusr0MTTuMiEsxThqN9tbznkztDWNkcI4b2WtaDxzHPuQWKHDwfZxb1mkX3sOYzVqt7h2ATNMkNBt+XENCXPdxzpLQsvC8EvoNPI+kFmzinJNgrtcpQsEQ8j6jsqhyi32z2SUiEwCcalr/Jm5xyQPX9fEMka/lLF5hZZrHZURQVpIGjwiKSrLgsYI4SafT3jL2+dEGg6Eh+l0aPFGgSsR4uF5Pm3Avf3bQJ8GrVPlNXpHyzr4dW2vdAAAAAElFTkSuQmCC", at = "data:image/svg+xml,%3csvg%20width='9'%20height='16'%20viewBox='0%200%209%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.069%205.153H5.555V3.525c0-.612.41-.754.699-.754h1.774V.083L5.585.073c-2.713%200-3.33%202.005-3.33%203.288v1.792H.687v2.77h1.568v7.837h3.3V7.923H7.78l.288-2.77z'%20fill='%232D2D39'/%3e%3c/svg%3e", st = "data:image/svg+xml,%3csvg%20width='15'%20height='14'%20viewBox='0%200%2015%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.26%2014H0V4.455h3.26V14zM1.632%203.182C.73%203.182%200%202.468%200%201.59%200%20.712.73%200%201.631%200c.899%200%201.63.713%201.63%201.59%200%20.878-.731%201.592-1.63%201.592zM15%2014h-3.135V9.355c0-1.108-.021-2.533-1.63-2.533-1.632%200-1.883%201.206-1.883%202.452V14H5.217V4.448h3.01v1.305h.042c.419-.751%201.442-1.543%202.968-1.543C14.413%204.21%2015%206.19%2015%208.76V14z'%20fill='%232D2D39'/%3e%3c/svg%3e";
283
+ var K = { exports: {} }, G = { exports: {} }, R = 1e3, W = R * 60, B = W * 60, D = B * 24, lt = D * 365.25, dt = function(e, t) {
409
284
  t = t || {};
410
285
  var n = typeof e;
411
286
  if (n === "string" && e.length > 0)
412
- return xt(e);
287
+ return ct(e);
413
288
  if (n === "number" && isNaN(e) === !1)
414
- return t.long ? kt(e) : yt(e);
289
+ return t.long ? ht(e) : ut(e);
415
290
  throw new Error(
416
291
  "val is not a non-empty string or a valid number. val=" + JSON.stringify(e)
417
292
  );
418
293
  };
419
- function xt(e) {
294
+ function ct(e) {
420
295
  if (e = String(e), !(e.length > 100)) {
421
296
  var t = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
422
297
  e
423
298
  );
424
299
  if (t) {
425
- var n = parseFloat(t[1]), o = (t[2] || "ms").toLowerCase();
426
- switch (o) {
300
+ var n = parseFloat(t[1]), i = (t[2] || "ms").toLowerCase();
301
+ switch (i) {
427
302
  case "years":
428
303
  case "year":
429
304
  case "yrs":
430
305
  case "yr":
431
306
  case "y":
432
- return n * bt;
307
+ return n * lt;
433
308
  case "days":
434
309
  case "day":
435
310
  case "d":
436
- return n * M;
311
+ return n * D;
437
312
  case "hours":
438
313
  case "hour":
439
314
  case "hrs":
440
315
  case "hr":
441
316
  case "h":
442
- return n * D;
317
+ return n * B;
443
318
  case "minutes":
444
319
  case "minute":
445
320
  case "mins":
446
321
  case "min":
447
322
  case "m":
448
- return n * B;
323
+ return n * W;
449
324
  case "seconds":
450
325
  case "second":
451
326
  case "secs":
452
327
  case "sec":
453
328
  case "s":
454
- return n * P;
329
+ return n * R;
455
330
  case "milliseconds":
456
331
  case "millisecond":
457
332
  case "msecs":
@@ -464,76 +339,76 @@ function xt(e) {
464
339
  }
465
340
  }
466
341
  }
467
- function yt(e) {
468
- return e >= M ? Math.round(e / M) + "d" : e >= D ? Math.round(e / D) + "h" : e >= B ? Math.round(e / B) + "m" : e >= P ? Math.round(e / P) + "s" : e + "ms";
342
+ function ut(e) {
343
+ return e >= D ? Math.round(e / D) + "d" : e >= B ? Math.round(e / B) + "h" : e >= W ? Math.round(e / W) + "m" : e >= R ? Math.round(e / R) + "s" : e + "ms";
469
344
  }
470
- function kt(e) {
471
- return H(e, M, "day") || H(e, D, "hour") || H(e, B, "minute") || H(e, P, "second") || e + " ms";
345
+ function ht(e) {
346
+ return M(e, D, "day") || M(e, B, "hour") || M(e, W, "minute") || M(e, R, "second") || e + " ms";
472
347
  }
473
- function H(e, t, n) {
348
+ function M(e, t, n) {
474
349
  if (!(e < t))
475
350
  return e < t * 1.5 ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s";
476
351
  }
477
352
  (function(e, t) {
478
- t = e.exports = i.debug = i.default = i, t.coerce = l, t.disable = c, t.enable = d, t.enabled = h, t.humanize = vt, t.names = [], t.skips = [], t.formatters = {};
353
+ t = e.exports = o.debug = o.default = o, t.coerce = s, t.disable = d, t.enable = c, t.enabled = u, t.humanize = dt, t.names = [], t.skips = [], t.formatters = {};
479
354
  var n;
480
- function o(a) {
481
- var u = 0, p;
482
- for (p in a)
483
- u = (u << 5) - u + a.charCodeAt(p), u |= 0;
484
- return t.colors[Math.abs(u) % t.colors.length];
355
+ function i(r) {
356
+ var l = 0, h;
357
+ for (h in r)
358
+ l = (l << 5) - l + r.charCodeAt(h), l |= 0;
359
+ return t.colors[Math.abs(l) % t.colors.length];
485
360
  }
486
- function i(a) {
487
- function u() {
488
- if (u.enabled) {
489
- var p = u, f = +/* @__PURE__ */ new Date(), x = f - (n || f);
490
- p.diff = x, p.prev = n, p.curr = f, n = f;
491
- for (var v = new Array(arguments.length), _ = 0; _ < v.length; _++)
492
- v[_] = arguments[_];
361
+ function o(r) {
362
+ function l() {
363
+ if (l.enabled) {
364
+ var h = l, w = +/* @__PURE__ */ new Date(), x = w - (n || w);
365
+ h.diff = x, h.prev = n, h.curr = w, n = w;
366
+ for (var v = new Array(arguments.length), A = 0; A < v.length; A++)
367
+ v[A] = arguments[A];
493
368
  v[0] = t.coerce(v[0]), typeof v[0] != "string" && v.unshift("%O");
494
- var S = 0;
495
- v[0] = v[0].replace(/%([a-zA-Z%])/g, function(A, Z) {
496
- if (A === "%%")
497
- return A;
498
- S++;
499
- var O = t.formatters[Z];
369
+ var C = 0;
370
+ v[0] = v[0].replace(/%([a-zA-Z%])/g, function(S, z) {
371
+ if (S === "%%")
372
+ return S;
373
+ C++;
374
+ var O = t.formatters[z];
500
375
  if (typeof O == "function") {
501
- var I = v[S];
502
- A = O.call(p, I), v.splice(S, 1), S--;
376
+ var F = v[C];
377
+ S = O.call(h, F), v.splice(C, 1), C--;
503
378
  }
504
- return A;
505
- }), t.formatArgs.call(p, v);
506
- var L = u.log || t.log || console.log.bind(console);
507
- L.apply(p, v);
379
+ return S;
380
+ }), t.formatArgs.call(h, v);
381
+ var _ = l.log || t.log || console.log.bind(console);
382
+ _.apply(h, v);
508
383
  }
509
384
  }
510
- return u.namespace = a, u.enabled = t.enabled(a), u.useColors = t.useColors(), u.color = o(a), typeof t.init == "function" && t.init(u), u;
385
+ return l.namespace = r, l.enabled = t.enabled(r), l.useColors = t.useColors(), l.color = i(r), typeof t.init == "function" && t.init(l), l;
511
386
  }
512
- function d(a) {
513
- t.save(a), t.names = [], t.skips = [];
514
- for (var u = (typeof a == "string" ? a : "").split(/[\s,]+/), p = u.length, f = 0; f < p; f++)
515
- u[f] && (a = u[f].replace(/\*/g, ".*?"), a[0] === "-" ? t.skips.push(new RegExp("^" + a.substr(1) + "$")) : t.names.push(new RegExp("^" + a + "$")));
387
+ function c(r) {
388
+ t.save(r), t.names = [], t.skips = [];
389
+ for (var l = (typeof r == "string" ? r : "").split(/[\s,]+/), h = l.length, w = 0; w < h; w++)
390
+ l[w] && (r = l[w].replace(/\*/g, ".*?"), r[0] === "-" ? t.skips.push(new RegExp("^" + r.substr(1) + "$")) : t.names.push(new RegExp("^" + r + "$")));
516
391
  }
517
- function c() {
392
+ function d() {
518
393
  t.enable("");
519
394
  }
520
- function h(a) {
521
- var u, p;
522
- for (u = 0, p = t.skips.length; u < p; u++)
523
- if (t.skips[u].test(a))
395
+ function u(r) {
396
+ var l, h;
397
+ for (l = 0, h = t.skips.length; l < h; l++)
398
+ if (t.skips[l].test(r))
524
399
  return !1;
525
- for (u = 0, p = t.names.length; u < p; u++)
526
- if (t.names[u].test(a))
400
+ for (l = 0, h = t.names.length; l < h; l++)
401
+ if (t.names[l].test(r))
527
402
  return !0;
528
403
  return !1;
529
404
  }
530
- function l(a) {
531
- return a instanceof Error ? a.stack || a.message : a;
405
+ function s(r) {
406
+ return r instanceof Error ? r.stack || r.message : r;
532
407
  }
533
- })(ee, ee.exports);
534
- var Ct = ee.exports;
408
+ })(G, G.exports);
409
+ var pt = G.exports;
535
410
  (function(e, t) {
536
- t = e.exports = Ct, t.log = i, t.formatArgs = o, t.save = d, t.load = c, t.useColors = n, t.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : h(), t.colors = [
411
+ t = e.exports = pt, t.log = o, t.formatArgs = i, t.save = c, t.load = d, t.useColors = n, t.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : u(), t.colors = [
537
412
  "lightseagreen",
538
413
  "forestgreen",
539
414
  "goldenrod",
@@ -548,101 +423,101 @@ var Ct = ee.exports;
548
423
  typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
549
424
  typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
550
425
  }
551
- t.formatters.j = function(l) {
426
+ t.formatters.j = function(s) {
552
427
  try {
553
- return JSON.stringify(l);
554
- } catch (a) {
555
- return "[UnexpectedJSONParseError]: " + a.message;
428
+ return JSON.stringify(s);
429
+ } catch (r) {
430
+ return "[UnexpectedJSONParseError]: " + r.message;
556
431
  }
557
432
  };
558
- function o(l) {
559
- var a = this.useColors;
560
- if (l[0] = (a ? "%c" : "") + this.namespace + (a ? " %c" : " ") + l[0] + (a ? "%c " : " ") + "+" + t.humanize(this.diff), !!a) {
561
- var u = "color: " + this.color;
562
- l.splice(1, 0, u, "color: inherit");
563
- var p = 0, f = 0;
564
- l[0].replace(/%[a-zA-Z%]/g, function(x) {
565
- x !== "%%" && (p++, x === "%c" && (f = p));
566
- }), l.splice(f, 0, u);
433
+ function i(s) {
434
+ var r = this.useColors;
435
+ if (s[0] = (r ? "%c" : "") + this.namespace + (r ? " %c" : " ") + s[0] + (r ? "%c " : " ") + "+" + t.humanize(this.diff), !!r) {
436
+ var l = "color: " + this.color;
437
+ s.splice(1, 0, l, "color: inherit");
438
+ var h = 0, w = 0;
439
+ s[0].replace(/%[a-zA-Z%]/g, function(x) {
440
+ x !== "%%" && (h++, x === "%c" && (w = h));
441
+ }), s.splice(w, 0, l);
567
442
  }
568
443
  }
569
- function i() {
444
+ function o() {
570
445
  return typeof console == "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
571
446
  }
572
- function d(l) {
447
+ function c(s) {
573
448
  try {
574
- l == null ? t.storage.removeItem("debug") : t.storage.debug = l;
449
+ s == null ? t.storage.removeItem("debug") : t.storage.debug = s;
575
450
  } catch {
576
451
  }
577
452
  }
578
- function c() {
579
- var l;
453
+ function d() {
454
+ var s;
580
455
  try {
581
- l = t.storage.debug;
456
+ s = t.storage.debug;
582
457
  } catch {
583
458
  }
584
- return !l && typeof process < "u" && "env" in process && (l = process.env.DEBUG), l;
459
+ return !s && typeof process < "u" && "env" in process && (s = process.env.DEBUG), s;
585
460
  }
586
- t.enable(c());
587
- function h() {
461
+ t.enable(d());
462
+ function u() {
588
463
  try {
589
464
  return window.localStorage;
590
465
  } catch {
591
466
  }
592
467
  }
593
- })(J, J.exports);
594
- var St = J.exports, fe = St("jsonp"), At = Nt, _t = 0;
595
- function Lt() {
468
+ })(K, K.exports);
469
+ var wt = K.exports, re = wt("jsonp"), ft = bt, gt = 0;
470
+ function mt() {
596
471
  }
597
- function Nt(e, t, n) {
472
+ function bt(e, t, n) {
598
473
  typeof t == "function" && (n = t, t = {}), t || (t = {});
599
- var o = t.prefix || "__jp", i = t.name || o + _t++, d = t.param || "callback", c = t.timeout != null ? t.timeout : 6e4, h = encodeURIComponent, l = document.getElementsByTagName("script")[0] || document.head, a, u;
600
- c && (u = setTimeout(function() {
601
- p(), n && n(new Error("Timeout"));
602
- }, c));
603
- function p() {
604
- a.parentNode && a.parentNode.removeChild(a), window[i] = Lt, u && clearTimeout(u);
474
+ var i = t.prefix || "__jp", o = t.name || i + gt++, c = t.param || "callback", d = t.timeout != null ? t.timeout : 6e4, u = encodeURIComponent, s = document.getElementsByTagName("script")[0] || document.head, r, l;
475
+ d && (l = setTimeout(function() {
476
+ h(), n && n(new Error("Timeout"));
477
+ }, d));
478
+ function h() {
479
+ r.parentNode && r.parentNode.removeChild(r), window[o] = mt, l && clearTimeout(l);
605
480
  }
606
- function f() {
607
- window[i] && p();
481
+ function w() {
482
+ window[o] && h();
608
483
  }
609
- return window[i] = function(x) {
610
- fe("jsonp got", x), p(), n && n(null, x);
611
- }, e += (~e.indexOf("?") ? "&" : "?") + d + "=" + h(i), e = e.replace("?&", "?"), fe('jsonp req "%s"', e), a = document.createElement("script"), a.src = e, l.parentNode.insertBefore(a, l), f;
484
+ return window[o] = function(x) {
485
+ re("jsonp got", x), h(), n && n(null, x);
486
+ }, e += (~e.indexOf("?") ? "&" : "?") + c + "=" + u(o), e = e.replace("?&", "?"), re('jsonp req "%s"', e), r = document.createElement("script"), r.src = e, s.parentNode.insertBefore(r, s), w;
612
487
  }
613
- const T = /* @__PURE__ */ Ge(At);
614
- var Tt = Object.defineProperty, jt = Object.defineProperties, Ot = Object.getOwnPropertyDescriptors, V = Object.getOwnPropertySymbols, ke = Object.prototype.hasOwnProperty, Ce = Object.prototype.propertyIsEnumerable, we = (e, t, n) => t in e ? Tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, y = (e, t) => {
488
+ const T = /* @__PURE__ */ Fe(ft);
489
+ var vt = Object.defineProperty, xt = Object.defineProperties, yt = Object.getOwnPropertyDescriptors, V = Object.getOwnPropertySymbols, ye = Object.prototype.hasOwnProperty, ke = Object.prototype.propertyIsEnumerable, ae = (e, t, n) => t in e ? vt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, y = (e, t) => {
615
490
  for (var n in t || (t = {}))
616
- ke.call(t, n) && we(e, n, t[n]);
491
+ ye.call(t, n) && ae(e, n, t[n]);
617
492
  if (V)
618
493
  for (var n of V(t))
619
- Ce.call(t, n) && we(e, n, t[n]);
494
+ ke.call(t, n) && ae(e, n, t[n]);
620
495
  return e;
621
- }, ne = (e, t) => jt(e, Ot(t)), oe = (e, t) => {
496
+ }, X = (e, t) => xt(e, yt(t)), q = (e, t) => {
622
497
  var n = {};
623
- for (var o in e)
624
- ke.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
498
+ for (var i in e)
499
+ ye.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
625
500
  if (e != null && V)
626
- for (var o of V(e))
627
- t.indexOf(o) < 0 && Ce.call(e, o) && (n[o] = e[o]);
501
+ for (var i of V(e))
502
+ t.indexOf(i) < 0 && ke.call(e, i) && (n[i] = e[i]);
628
503
  return n;
629
504
  };
630
- function w(e) {
631
- const t = Object.entries(e).filter(([, n]) => n != null).map(([n, o]) => `${encodeURIComponent(n)}=${encodeURIComponent(String(o))}`);
505
+ function f(e) {
506
+ const t = Object.entries(e).filter(([, n]) => n != null).map(([n, i]) => `${encodeURIComponent(n)}=${encodeURIComponent(String(i))}`);
632
507
  return t.length > 0 ? `?${t.join("&")}` : "";
633
508
  }
634
- const Et = (e) => !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function", Rt = (e, t) => ({
509
+ const kt = (e) => !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function", Ct = (e, t) => ({
635
510
  left: window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - e / 2,
636
511
  top: window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - t / 2
637
- }), Pt = (e, t) => ({
512
+ }), St = (e, t) => ({
638
513
  top: (window.screen.height - t) / 2,
639
514
  left: (window.screen.width - e) / 2
640
515
  });
641
- function Bt(e, t, n) {
642
- var o = t, { height: i, width: d } = o, c = oe(o, ["height", "width"]);
643
- const h = y({
644
- height: i,
645
- width: d,
516
+ function At(e, t, n) {
517
+ var i = t, { height: o, width: c } = i, d = q(i, ["height", "width"]);
518
+ const u = y({
519
+ height: o,
520
+ width: c,
646
521
  location: "no",
647
522
  toolbar: "no",
648
523
  status: "no",
@@ -652,44 +527,44 @@ function Bt(e, t, n) {
652
527
  resizable: "no",
653
528
  centerscreen: "yes",
654
529
  chrome: "yes"
655
- }, c), l = window.open(
530
+ }, d), s = window.open(
656
531
  e,
657
532
  "",
658
- Object.keys(h).map((a) => `${a}=${h[a]}`).join(", ")
533
+ Object.keys(u).map((r) => `${r}=${u[r]}`).join(", ")
659
534
  );
660
535
  if (n) {
661
- const a = window.setInterval(() => {
536
+ const r = window.setInterval(() => {
662
537
  try {
663
- (l === null || l.closed) && (window.clearInterval(a), n(l));
664
- } catch (u) {
665
- console.error(u);
538
+ (s === null || s.closed) && (window.clearInterval(r), n(s));
539
+ } catch (l) {
540
+ console.error(l);
666
541
  }
667
542
  }, 1e3);
668
543
  }
669
- return l;
544
+ return s;
670
545
  }
671
- function Dt(e) {
546
+ function _t(e) {
672
547
  var t = e, {
673
548
  beforeOnClick: n,
674
- children: o,
675
- className: i,
676
- disabled: d,
677
- disabledStyle: c = { opacity: 0.6 },
678
- forwardedRef: h,
679
- htmlTitle: l,
680
- networkLink: a,
681
- networkName: u,
682
- onClick: p,
683
- onShareWindowClose: f,
549
+ children: i,
550
+ className: o,
551
+ disabled: c,
552
+ disabledStyle: d = { opacity: 0.6 },
553
+ forwardedRef: u,
554
+ htmlTitle: s,
555
+ networkLink: r,
556
+ networkName: l,
557
+ onClick: h,
558
+ onShareWindowClose: w,
684
559
  openShareDialogOnClick: x = !0,
685
560
  opts: v,
686
- resetButtonStyle: _ = !0,
687
- style: S,
688
- url: L,
689
- windowHeight: A = 400,
690
- windowPosition: Z = "windowCenter",
561
+ resetButtonStyle: A = !0,
562
+ style: C,
563
+ url: _,
564
+ windowHeight: S = 400,
565
+ windowPosition: z = "windowCenter",
691
566
  windowWidth: O = 550
692
- } = t, I = oe(t, [
567
+ } = t, F = q(t, [
693
568
  "beforeOnClick",
694
569
  "children",
695
570
  "className",
@@ -710,72 +585,72 @@ function Dt(e) {
710
585
  "windowPosition",
711
586
  "windowWidth"
712
587
  ]);
713
- const Ae = async (re) => {
714
- const ae = a(L, v);
715
- if (!d) {
716
- if (re.preventDefault(), n) {
717
- const W = n();
718
- Et(W) && await W;
588
+ const Se = async (Y) => {
589
+ const Z = r(_, v);
590
+ if (!c) {
591
+ if (Y.preventDefault(), n) {
592
+ const H = n();
593
+ kt(H) && await H;
719
594
  }
720
595
  if (x) {
721
- const W = y({
722
- height: A,
596
+ const H = y({
597
+ height: S,
723
598
  width: O
724
- }, Z === "windowCenter" ? Rt(O, A) : Pt(O, A));
725
- Bt(ae, W, f);
599
+ }, z === "windowCenter" ? Ct(O, S) : St(O, S));
600
+ At(Z, H, w);
726
601
  }
727
- p && p(re, ae);
602
+ h && h(Y, Z);
728
603
  }
729
- }, _e = be(
604
+ }, Ae = ce(
730
605
  "react-share__ShareButton",
731
606
  {
732
- "react-share__ShareButton--disabled": !!d,
733
- disabled: !!d
607
+ "react-share__ShareButton--disabled": !!c,
608
+ disabled: !!c
734
609
  },
735
- i
736
- ), Le = y(y(_ ? {
610
+ o
611
+ ), _e = y(y(A ? {
737
612
  backgroundColor: "transparent",
738
613
  border: "none",
739
614
  padding: 0,
740
615
  font: "inherit",
741
616
  color: "inherit",
742
617
  cursor: "pointer"
743
- } : {}, S), d && c);
744
- return /* @__PURE__ */ s(
618
+ } : {}, C), c && d);
619
+ return /* @__PURE__ */ a(
745
620
  "button",
746
- ne(y({}, I), {
747
- className: _e,
748
- onClick: Ae,
749
- ref: h,
750
- style: Le,
751
- title: l,
752
- children: o
621
+ X(y({}, F), {
622
+ className: Ae,
623
+ onClick: Se,
624
+ ref: u,
625
+ style: _e,
626
+ title: s,
627
+ children: i
753
628
  })
754
629
  );
755
630
  }
756
- function m(e, t, n, o) {
757
- function i(d, c) {
758
- const h = n(d), l = y({}, d);
759
- return Object.keys(h).forEach((u) => {
760
- delete l[u];
761
- }), /* @__PURE__ */ s(
762
- Dt,
763
- ne(y(y({}, o), l), {
764
- forwardedRef: c,
631
+ function m(e, t, n, i) {
632
+ function o(c, d) {
633
+ const u = n(c), s = y({}, c);
634
+ return Object.keys(u).forEach((l) => {
635
+ delete s[l];
636
+ }), /* @__PURE__ */ a(
637
+ _t,
638
+ X(y(y({}, i), s), {
639
+ forwardedRef: d,
765
640
  networkName: e,
766
641
  networkLink: t,
767
- opts: n(d)
642
+ opts: n(c)
768
643
  })
769
644
  );
770
645
  }
771
- return i.displayName = `ShareButton-${e}`, Oe(i);
646
+ return o.displayName = `ShareButton-${e}`, Ne(o);
772
647
  }
773
- function Mt(e, { subject: t, body: n, separator: o }) {
774
- return "mailto:" + w({ subject: t, body: n ? n + o + e : e });
648
+ function Lt(e, { subject: t, body: n, separator: i }) {
649
+ return "mailto:" + f({ subject: t, body: n ? n + i + e : e });
775
650
  }
776
651
  m(
777
652
  "email",
778
- Mt,
653
+ Lt,
779
654
  (e) => ({
780
655
  subject: e.subject,
781
656
  body: e.body,
@@ -788,17 +663,17 @@ m(
788
663
  }
789
664
  }
790
665
  );
791
- function Wt(e, { appId: t, redirectUri: n, to: o }) {
792
- return "https://www.facebook.com/dialog/send" + w({
666
+ function jt(e, { appId: t, redirectUri: n, to: i }) {
667
+ return "https://www.facebook.com/dialog/send" + f({
793
668
  link: e,
794
669
  redirect_uri: n || e,
795
670
  app_id: t,
796
- to: o
671
+ to: i
797
672
  });
798
673
  }
799
674
  m(
800
675
  "facebookmessenger",
801
- Wt,
676
+ jt,
802
677
  (e) => ({
803
678
  appId: e.appId,
804
679
  redirectUri: e.redirectUri,
@@ -809,71 +684,71 @@ m(
809
684
  windowHeight: 820
810
685
  }
811
686
  );
812
- class Ht extends Error {
687
+ class Tt extends Error {
813
688
  constructor(t) {
814
689
  super(t), this.name = "AssertionError";
815
690
  }
816
691
  }
817
692
  function g(e, t) {
818
693
  if (!e)
819
- throw new Ht(t);
694
+ throw new Tt(t);
820
695
  }
821
- function $t(e, { hashtag: t }) {
822
- return g(e, "facebook.url"), "https://www.facebook.com/sharer/sharer.php" + w({ u: e, hashtag: t });
696
+ function Nt(e, { hashtag: t }) {
697
+ return g(e, "facebook.url"), "https://www.facebook.com/sharer/sharer.php" + f({ u: e, hashtag: t });
823
698
  }
824
- const Ut = m(
699
+ const Ot = m(
825
700
  "facebook",
826
- $t,
701
+ Nt,
827
702
  (e) => ({ hashtag: e.hashtag }),
828
703
  {
829
704
  windowWidth: 550,
830
705
  windowHeight: 400
831
706
  }
832
- ), Vt = Ut;
833
- function zt() {
834
- const e = Ee(!1);
835
- return me(() => (e.current = !0, () => {
707
+ ), Pt = Ot;
708
+ function Et() {
709
+ const e = Oe(!1);
710
+ return de(() => (e.current = !0, () => {
836
711
  e.current = !1;
837
- }), []), Re(() => e.current, []);
712
+ }), []), Pe(() => e.current, []);
838
713
  }
839
- function Ft(e) {
714
+ function Rt(e) {
840
715
  var t = e, {
841
- children: n = (f) => f,
842
- className: o,
843
- getCount: i,
844
- url: d
845
- } = t, c = oe(t, [
716
+ children: n = (w) => w,
717
+ className: i,
718
+ getCount: o,
719
+ url: c
720
+ } = t, d = q(t, [
846
721
  "children",
847
722
  "className",
848
723
  "getCount",
849
724
  "url"
850
725
  ]);
851
- const h = zt(), [l, a] = $(void 0), [u, p] = $(!1);
852
- return me(() => {
853
- p(!0), i(d, (f) => {
854
- h() && (a(f), p(!1));
726
+ const u = Et(), [s, r] = $(void 0), [l, h] = $(!1);
727
+ return de(() => {
728
+ h(!0), o(c, (w) => {
729
+ u() && (r(w), h(!1));
855
730
  });
856
- }, [d]), /* @__PURE__ */ s("span", ne(y({ className: be("react-share__ShareCount", o) }, c), { children: !u && l !== void 0 && n(l) }));
731
+ }, [c]), /* @__PURE__ */ a("span", X(y({ className: ce("react-share__ShareCount", i) }, d), { children: !l && s !== void 0 && n(s) }));
857
732
  }
858
- function j(e) {
859
- const t = (n) => /* @__PURE__ */ s(Ft, y({ getCount: e }, n));
733
+ function N(e) {
734
+ const t = (n) => /* @__PURE__ */ a(Rt, y({ getCount: e }, n));
860
735
  return t.displayName = `ShareCount(${e.name})`, t;
861
736
  }
862
- function Kt(e, t) {
737
+ function Wt(e, t) {
863
738
  const n = `https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;
864
- T(n, (o, i) => {
739
+ T(n, (i, o) => {
865
740
  t(
866
- !o && i && i.og_object && i.og_object.engagement ? i.og_object.engagement.count : void 0
741
+ !i && o && o.og_object && o.og_object.engagement ? o.og_object.engagement.count : void 0
867
742
  );
868
743
  });
869
744
  }
870
- j(Kt);
871
- function Gt(e, { title: t }) {
745
+ N(Wt);
746
+ function Bt(e, { title: t }) {
872
747
  return g(e, "hatena.url"), `http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${t}`;
873
748
  }
874
749
  m(
875
750
  "hatena",
876
- Gt,
751
+ Bt,
877
752
  (e) => ({
878
753
  title: e.title
879
754
  }),
@@ -883,19 +758,19 @@ m(
883
758
  windowPosition: "windowCenter"
884
759
  }
885
760
  );
886
- function Xt(e, t) {
761
+ function Dt(e, t) {
887
762
  T(
888
- "https://bookmark.hatenaapis.com/count/entry" + w({
763
+ "https://bookmark.hatenaapis.com/count/entry" + f({
889
764
  url: e
890
765
  }),
891
- (o, i) => {
892
- t(i ?? void 0);
766
+ (i, o) => {
767
+ t(o ?? void 0);
893
768
  }
894
769
  );
895
770
  }
896
- j(Xt);
897
- function qt(e, { title: t, description: n }) {
898
- return g(e, "instapaper.url"), "http://www.instapaper.com/hello2" + w({
771
+ N(Dt);
772
+ function Ht(e, { title: t, description: n }) {
773
+ return g(e, "instapaper.url"), "http://www.instapaper.com/hello2" + f({
899
774
  url: e,
900
775
  title: t,
901
776
  description: n
@@ -903,7 +778,7 @@ function qt(e, { title: t, description: n }) {
903
778
  }
904
779
  m(
905
780
  "instapaper",
906
- qt,
781
+ Ht,
907
782
  (e) => ({
908
783
  title: e.title,
909
784
  description: e.description
@@ -914,15 +789,15 @@ m(
914
789
  windowPosition: "windowCenter"
915
790
  }
916
791
  );
917
- function Qt(e, { title: t }) {
918
- return g(e, "line.url"), "https://social-plugins.line.me/lineit/share" + w({
792
+ function Mt(e, { title: t }) {
793
+ return g(e, "line.url"), "https://social-plugins.line.me/lineit/share" + f({
919
794
  url: e,
920
795
  text: t
921
796
  });
922
797
  }
923
798
  m(
924
799
  "line",
925
- Qt,
800
+ Mt,
926
801
  (e) => ({
927
802
  title: e.title
928
803
  }),
@@ -931,27 +806,27 @@ m(
931
806
  windowHeight: 500
932
807
  }
933
808
  );
934
- function Yt(e, { title: t, summary: n, source: o }) {
935
- return g(e, "linkedin.url"), "https://linkedin.com/shareArticle" + w({ url: e, mini: "true", title: t, summary: n, source: o });
809
+ function $t(e, { title: t, summary: n, source: i }) {
810
+ return g(e, "linkedin.url"), "https://linkedin.com/shareArticle" + f({ url: e, mini: "true", title: t, summary: n, source: i });
936
811
  }
937
- const Zt = m(
812
+ const Ut = m(
938
813
  "linkedin",
939
- Yt,
814
+ $t,
940
815
  ({ title: e, summary: t, source: n }) => ({ title: e, summary: t, source: n }),
941
816
  {
942
817
  windowWidth: 750,
943
818
  windowHeight: 600
944
819
  }
945
- ), It = Zt;
946
- function Jt(e, { title: t, description: n }) {
947
- return g(e, "livejournal.url"), "https://www.livejournal.com/update.bml" + w({
820
+ ), Vt = Ut;
821
+ function zt(e, { title: t, description: n }) {
822
+ return g(e, "livejournal.url"), "https://www.livejournal.com/update.bml" + f({
948
823
  subject: t,
949
824
  event: n
950
825
  });
951
826
  }
952
827
  m(
953
828
  "livejournal",
954
- Jt,
829
+ zt,
955
830
  (e) => ({
956
831
  title: e.title,
957
832
  description: e.description
@@ -961,17 +836,17 @@ m(
961
836
  windowHeight: 460
962
837
  }
963
838
  );
964
- function en(e, { title: t, description: n, imageUrl: o }) {
965
- return g(e, "mailru.url"), "https://connect.mail.ru/share" + w({
839
+ function Ft(e, { title: t, description: n, imageUrl: i }) {
840
+ return g(e, "mailru.url"), "https://connect.mail.ru/share" + f({
966
841
  url: e,
967
842
  title: t,
968
843
  description: n,
969
- image_url: o
844
+ image_url: i
970
845
  });
971
846
  }
972
847
  m(
973
848
  "mailru",
974
- en,
849
+ Ft,
975
850
  (e) => ({
976
851
  title: e.title,
977
852
  description: e.description,
@@ -982,17 +857,17 @@ m(
982
857
  windowHeight: 460
983
858
  }
984
859
  );
985
- function tn(e, { title: t, description: n, image: o }) {
986
- return g(e, "ok.url"), "https://connect.ok.ru/offer" + w({
860
+ function Kt(e, { title: t, description: n, image: i }) {
861
+ return g(e, "ok.url"), "https://connect.ok.ru/offer" + f({
987
862
  url: e,
988
863
  title: t,
989
864
  description: n,
990
- imageUrl: o
865
+ imageUrl: i
991
866
  });
992
867
  }
993
868
  m(
994
869
  "ok",
995
- tn,
870
+ Kt,
996
871
  (e) => ({
997
872
  title: e.title,
998
873
  description: e.description,
@@ -1004,34 +879,34 @@ m(
1004
879
  windowPosition: "screenCenter"
1005
880
  }
1006
881
  );
1007
- function nn(e, t) {
882
+ function Gt(e, t) {
1008
883
  window.OK || (window.OK = {
1009
884
  Share: {
1010
- count: function(d, c) {
1011
- var h, l;
1012
- (l = (h = window.OK.callbacks)[d]) == null || l.call(h, c);
885
+ count: function(c, d) {
886
+ var u, s;
887
+ (s = (u = window.OK.callbacks)[c]) == null || s.call(u, d);
1013
888
  }
1014
889
  },
1015
890
  callbacks: []
1016
891
  });
1017
- const n = "https://connect.ok.ru/dk", o = window.OK.callbacks.length;
892
+ const n = "https://connect.ok.ru/dk", i = window.OK.callbacks.length;
1018
893
  return window.ODKL = {
1019
- updateCount(i, d) {
1020
- var c, h;
1021
- const l = i === "" ? 0 : parseInt(i.replace("react-share-", ""), 10);
1022
- (h = (c = window.OK.callbacks)[l]) == null || h.call(c, d === "" ? void 0 : parseInt(d, 10));
894
+ updateCount(o, c) {
895
+ var d, u;
896
+ const s = o === "" ? 0 : parseInt(o.replace("react-share-", ""), 10);
897
+ (u = (d = window.OK.callbacks)[s]) == null || u.call(d, c === "" ? void 0 : parseInt(c, 10));
1023
898
  }
1024
899
  }, window.OK.callbacks.push(t), T(
1025
- n + w({
900
+ n + f({
1026
901
  "st.cmd": "extLike",
1027
- uid: `react-share-${o}`,
902
+ uid: `react-share-${i}`,
1028
903
  ref: e
1029
904
  })
1030
905
  );
1031
906
  }
1032
- j(nn);
1033
- function on(e, { media: t, description: n, pinId: o }) {
1034
- return o ? `https://pinterest.com/pin/${o}/repin/x/` : (g(e, "pinterest.url"), g(t, "pinterest.media"), "https://pinterest.com/pin/create/button/" + w({
907
+ N(Gt);
908
+ function Xt(e, { media: t, description: n, pinId: i }) {
909
+ return i ? `https://pinterest.com/pin/${i}/repin/x/` : (g(e, "pinterest.url"), g(t, "pinterest.media"), "https://pinterest.com/pin/create/button/" + f({
1035
910
  url: e,
1036
911
  media: t,
1037
912
  description: n
@@ -1039,7 +914,7 @@ function on(e, { media: t, description: n, pinId: o }) {
1039
914
  }
1040
915
  m(
1041
916
  "pinterest",
1042
- on,
917
+ Xt,
1043
918
  (e) => ({
1044
919
  media: e.media,
1045
920
  description: e.description,
@@ -1050,26 +925,26 @@ m(
1050
925
  windowHeight: 730
1051
926
  }
1052
927
  );
1053
- function rn(e, t) {
928
+ function qt(e, t) {
1054
929
  T(
1055
- "https://api.pinterest.com/v1/urls/count.json" + w({
930
+ "https://api.pinterest.com/v1/urls/count.json" + f({
1056
931
  url: e
1057
932
  }),
1058
- (o, i) => {
1059
- t(i ? i.count : void 0);
933
+ (i, o) => {
934
+ t(o ? o.count : void 0);
1060
935
  }
1061
936
  );
1062
937
  }
1063
- j(rn);
1064
- function an(e, { title: t }) {
1065
- return g(e, "pocket.url"), "https://getpocket.com/save" + w({
938
+ N(qt);
939
+ function Qt(e, { title: t }) {
940
+ return g(e, "pocket.url"), "https://getpocket.com/save" + f({
1066
941
  url: e,
1067
942
  title: t
1068
943
  });
1069
944
  }
1070
945
  m(
1071
946
  "pocket",
1072
- an,
947
+ Qt,
1073
948
  (e) => ({
1074
949
  title: e.title
1075
950
  }),
@@ -1078,15 +953,15 @@ m(
1078
953
  windowHeight: 500
1079
954
  }
1080
955
  );
1081
- function sn(e, { title: t }) {
1082
- return g(e, "reddit.url"), "https://www.reddit.com/submit" + w({
956
+ function Yt(e, { title: t }) {
957
+ return g(e, "reddit.url"), "https://www.reddit.com/submit" + f({
1083
958
  url: e,
1084
959
  title: t
1085
960
  });
1086
961
  }
1087
962
  m(
1088
963
  "reddit",
1089
- sn,
964
+ Yt,
1090
965
  (e) => ({
1091
966
  title: e.title
1092
967
  }),
@@ -1096,15 +971,15 @@ m(
1096
971
  windowPosition: "windowCenter"
1097
972
  }
1098
973
  );
1099
- function ln(e, { title: t }) {
1100
- return g(e, "gab.url"), "https://gab.com/compose" + w({
974
+ function Zt(e, { title: t }) {
975
+ return g(e, "gab.url"), "https://gab.com/compose" + f({
1101
976
  url: e,
1102
977
  text: t
1103
978
  });
1104
979
  }
1105
980
  m(
1106
981
  "gab",
1107
- ln,
982
+ Zt,
1108
983
  (e) => ({
1109
984
  title: e.title
1110
985
  }),
@@ -1114,24 +989,24 @@ m(
1114
989
  windowPosition: "windowCenter"
1115
990
  }
1116
991
  );
1117
- function dn(e, t) {
992
+ function It(e, t) {
1118
993
  const n = `https://www.reddit.com/api/info.json?limit=1&url=${e}`;
1119
- T(n, { param: "jsonp" }, (o, i) => {
994
+ T(n, { param: "jsonp" }, (i, o) => {
1120
995
  t(
1121
- !o && i && i.data && i.data.children.length > 0 && i.data.children[0].data.score ? i.data.children[0].data.score : void 0
996
+ !i && o && o.data && o.data.children.length > 0 && o.data.children[0].data.score ? o.data.children[0].data.score : void 0
1122
997
  );
1123
998
  });
1124
999
  }
1125
- j(dn);
1126
- function cn(e, { title: t }) {
1127
- return g(e, "telegram.url"), "https://telegram.me/share/url" + w({
1000
+ N(It);
1001
+ function Jt(e, { title: t }) {
1002
+ return g(e, "telegram.url"), "https://telegram.me/share/url" + f({
1128
1003
  url: e,
1129
1004
  text: t
1130
1005
  });
1131
1006
  }
1132
1007
  m(
1133
1008
  "telegram",
1134
- cn,
1009
+ Jt,
1135
1010
  (e) => ({
1136
1011
  title: e.title
1137
1012
  }),
@@ -1140,23 +1015,23 @@ m(
1140
1015
  windowHeight: 400
1141
1016
  }
1142
1017
  );
1143
- function un(e, {
1018
+ function en(e, {
1144
1019
  title: t,
1145
1020
  caption: n,
1146
- tags: o,
1147
- posttype: i
1021
+ tags: i,
1022
+ posttype: o
1148
1023
  }) {
1149
- return g(e, "tumblr.url"), "https://www.tumblr.com/widgets/share/tool" + w({
1024
+ return g(e, "tumblr.url"), "https://www.tumblr.com/widgets/share/tool" + f({
1150
1025
  canonicalUrl: e,
1151
1026
  title: t,
1152
1027
  caption: n,
1153
- tags: o,
1154
- posttype: i
1028
+ tags: i,
1029
+ posttype: o
1155
1030
  });
1156
1031
  }
1157
1032
  m(
1158
1033
  "tumblr",
1159
- un,
1034
+ en,
1160
1035
  (e) => ({
1161
1036
  title: e.title,
1162
1037
  tags: (e.tags || []).join(","),
@@ -1168,34 +1043,34 @@ m(
1168
1043
  windowHeight: 460
1169
1044
  }
1170
1045
  );
1171
- function hn(e, t) {
1046
+ function tn(e, t) {
1172
1047
  return T(
1173
- "https://api.tumblr.com/v2/share/stats" + w({
1048
+ "https://api.tumblr.com/v2/share/stats" + f({
1174
1049
  url: e
1175
1050
  }),
1176
- (o, i) => {
1177
- t(!o && i && i.response ? i.response.note_count : void 0);
1051
+ (i, o) => {
1052
+ t(!i && o && o.response ? o.response.note_count : void 0);
1178
1053
  }
1179
1054
  );
1180
1055
  }
1181
- j(hn);
1182
- function pn(e, {
1056
+ N(tn);
1057
+ function nn(e, {
1183
1058
  title: t,
1184
1059
  via: n,
1185
- hashtags: o = [],
1186
- related: i = []
1060
+ hashtags: i = [],
1061
+ related: o = []
1187
1062
  }) {
1188
- return g(e, "twitter.url"), g(Array.isArray(o), "twitter.hashtags is not an array"), g(Array.isArray(i), "twitter.related is not an array"), "https://twitter.com/intent/tweet" + w({
1063
+ return g(e, "twitter.url"), g(Array.isArray(i), "twitter.hashtags is not an array"), g(Array.isArray(o), "twitter.related is not an array"), "https://twitter.com/intent/tweet" + f({
1189
1064
  url: e,
1190
1065
  text: t,
1191
1066
  via: n,
1192
- hashtags: o.length > 0 ? o.join(",") : void 0,
1193
- related: i.length > 0 ? i.join(",") : void 0
1067
+ hashtags: i.length > 0 ? i.join(",") : void 0,
1068
+ related: o.length > 0 ? o.join(",") : void 0
1194
1069
  });
1195
1070
  }
1196
1071
  m(
1197
1072
  "twitter",
1198
- pn,
1073
+ nn,
1199
1074
  (e) => ({
1200
1075
  hashtags: e.hashtags,
1201
1076
  title: e.title,
@@ -1207,14 +1082,14 @@ m(
1207
1082
  windowHeight: 400
1208
1083
  }
1209
1084
  );
1210
- function fn(e, { title: t, separator: n }) {
1211
- return g(e, "viber.url"), "viber://forward" + w({
1085
+ function on(e, { title: t, separator: n }) {
1086
+ return g(e, "viber.url"), "viber://forward" + f({
1212
1087
  text: t ? t + n + e : e
1213
1088
  });
1214
1089
  }
1215
1090
  m(
1216
1091
  "viber",
1217
- fn,
1092
+ on,
1218
1093
  (e) => ({
1219
1094
  title: e.title,
1220
1095
  separator: e.separator || " "
@@ -1224,18 +1099,18 @@ m(
1224
1099
  windowHeight: 460
1225
1100
  }
1226
1101
  );
1227
- function wn(e, { title: t, image: n, noParse: o, noVkLinks: i }) {
1228
- return g(e, "vk.url"), "https://vk.com/share.php" + w({
1102
+ function rn(e, { title: t, image: n, noParse: i, noVkLinks: o }) {
1103
+ return g(e, "vk.url"), "https://vk.com/share.php" + f({
1229
1104
  url: e,
1230
1105
  title: t,
1231
1106
  image: n,
1232
- noparse: o ? 1 : 0,
1233
- no_vk_links: i ? 1 : 0
1107
+ noparse: i ? 1 : 0,
1108
+ no_vk_links: o ? 1 : 0
1234
1109
  });
1235
1110
  }
1236
1111
  m(
1237
1112
  "vk",
1238
- wn,
1113
+ rn,
1239
1114
  (e) => ({
1240
1115
  title: e.title,
1241
1116
  image: e.image,
@@ -1247,26 +1122,26 @@ m(
1247
1122
  windowHeight: 460
1248
1123
  }
1249
1124
  );
1250
- function gn(e, t) {
1125
+ function an(e, t) {
1251
1126
  window.VK || (window.VK = {}), window.VK.Share = {
1252
1127
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1253
- count: (i, d) => {
1254
- var c, h;
1255
- return (h = (c = window.VK.callbacks) == null ? void 0 : c[i]) == null ? void 0 : h.call(c, d);
1128
+ count: (o, c) => {
1129
+ var d, u;
1130
+ return (u = (d = window.VK.callbacks) == null ? void 0 : d[o]) == null ? void 0 : u.call(d, c);
1256
1131
  }
1257
1132
  }, window.VK.callbacks = [];
1258
- const n = "https://vk.com/share.php", o = window.VK.callbacks.length;
1133
+ const n = "https://vk.com/share.php", i = window.VK.callbacks.length;
1259
1134
  return window.VK.callbacks.push(t), T(
1260
- n + w({
1135
+ n + f({
1261
1136
  act: "count",
1262
- index: o,
1137
+ index: i,
1263
1138
  url: e
1264
1139
  })
1265
1140
  );
1266
1141
  }
1267
- j(gn);
1268
- function mn(e, { title: t, image: n }) {
1269
- return g(e, "weibo.url"), "http://service.weibo.com/share/share.php" + w({
1142
+ N(an);
1143
+ function sn(e, { title: t, image: n }) {
1144
+ return g(e, "weibo.url"), "http://service.weibo.com/share/share.php" + f({
1270
1145
  url: e,
1271
1146
  title: t,
1272
1147
  pic: n
@@ -1274,7 +1149,7 @@ function mn(e, { title: t, image: n }) {
1274
1149
  }
1275
1150
  m(
1276
1151
  "weibo",
1277
- mn,
1152
+ sn,
1278
1153
  (e) => ({
1279
1154
  title: e.title,
1280
1155
  image: e.image
@@ -1285,17 +1160,17 @@ m(
1285
1160
  windowPosition: "screenCenter"
1286
1161
  }
1287
1162
  );
1288
- function bn() {
1163
+ function ln() {
1289
1164
  return /(android|iphone|ipad|mobile)/i.test(navigator.userAgent);
1290
1165
  }
1291
- function vn(e, { title: t, separator: n }) {
1292
- return g(e, "whatsapp.url"), "https://" + (bn() ? "api" : "web") + ".whatsapp.com/send" + w({
1166
+ function dn(e, { title: t, separator: n }) {
1167
+ return g(e, "whatsapp.url"), "https://" + (ln() ? "api" : "web") + ".whatsapp.com/send" + f({
1293
1168
  text: t ? t + n + e : e
1294
1169
  });
1295
1170
  }
1296
1171
  m(
1297
1172
  "whatsapp",
1298
- vn,
1173
+ dn,
1299
1174
  (e) => ({
1300
1175
  title: e.title,
1301
1176
  separator: e.separator || " "
@@ -1305,8 +1180,8 @@ m(
1305
1180
  windowHeight: 400
1306
1181
  }
1307
1182
  );
1308
- function xn(e, { quote: t, hashtag: n }) {
1309
- return g(e, "workplace.url"), "https://work.facebook.com/sharer.php" + w({
1183
+ function cn(e, { quote: t, hashtag: n }) {
1184
+ return g(e, "workplace.url"), "https://work.facebook.com/sharer.php" + f({
1310
1185
  u: e,
1311
1186
  quote: t,
1312
1187
  hashtag: n
@@ -1314,7 +1189,7 @@ function xn(e, { quote: t, hashtag: n }) {
1314
1189
  }
1315
1190
  m(
1316
1191
  "workplace",
1317
- xn,
1192
+ cn,
1318
1193
  (e) => ({
1319
1194
  quote: e.quote,
1320
1195
  hashtag: e.hashtag
@@ -1324,25 +1199,25 @@ m(
1324
1199
  windowHeight: 400
1325
1200
  }
1326
1201
  );
1327
- var ie = {}, yn = De;
1328
- Object.defineProperty(ie, "__esModule", {
1202
+ var Q = {}, un = Re;
1203
+ Object.defineProperty(Q, "__esModule", {
1329
1204
  value: !0
1330
1205
  });
1331
- var Se = ie.default = void 0, kn = yn(Be()), Cn = Ne, Sn = (0, kn.default)(/* @__PURE__ */ (0, Cn.jsx)("circle", {
1206
+ var Ce = Q.default = void 0, hn = un(Ee()), pn = Le, wn = (0, hn.default)(/* @__PURE__ */ (0, pn.jsx)("circle", {
1332
1207
  cx: "12",
1333
1208
  cy: "12",
1334
1209
  r: "8"
1335
1210
  }), "FiberManualRecord");
1336
- Se = ie.default = Sn;
1337
- const An = Me((e) => {
1338
- var t, n, o, i, d, c, h, l, a;
1211
+ Ce = Q.default = wn;
1212
+ const fn = We((e) => {
1213
+ var t, n, i, o, c, d, u, s, r;
1339
1214
  return {
1340
1215
  embedDesktopTabCardWp: {
1341
1216
  boxShadow: "none !important",
1342
1217
  overflow: "hidden",
1343
1218
  borderRadius: `${(t = e == null ? void 0 : e.borderRadius) == null ? void 0 : t.value} !important`,
1344
- border: `1px solid ${(o = (n = e == null ? void 0 : e.palette) == null ? void 0 : n.customColor) == null ? void 0 : o.LINE}`,
1345
- background: (d = (i = e == null ? void 0 : e.palette) == null ? void 0 : i.customColor) == null ? void 0 : d.BGLIGHT,
1219
+ border: `1px solid ${(i = (n = e == null ? void 0 : e.palette) == null ? void 0 : n.customColor) == null ? void 0 : i.LINE}`,
1220
+ background: (c = (o = e == null ? void 0 : e.palette) == null ? void 0 : o.customColor) == null ? void 0 : c.BGLIGHT,
1346
1221
  cursor: "pointer",
1347
1222
  "& .card-container": {
1348
1223
  width: "100%",
@@ -1355,7 +1230,7 @@ const An = Me((e) => {
1355
1230
  overflow: "hidden",
1356
1231
  display: "flex",
1357
1232
  flexDirection: "column",
1358
- background: (h = (c = e == null ? void 0 : e.palette) == null ? void 0 : c.customColor) == null ? void 0 : h.BGLIGHT,
1233
+ background: (u = (d = e == null ? void 0 : e.palette) == null ? void 0 : d.customColor) == null ? void 0 : u.BGLIGHT,
1359
1234
  "& .contentBox": {
1360
1235
  flex: "1 0 auto",
1361
1236
  padding: "20px 20px 0px 20px !important",
@@ -1365,7 +1240,7 @@ const An = Me((e) => {
1365
1240
  overflow: "initial"
1366
1241
  },
1367
1242
  "& .cardActionWp": {
1368
- borderTop: `1px solid ${(a = (l = e == null ? void 0 : e.palette) == null ? void 0 : l.customColor) == null ? void 0 : a.LINE}`,
1243
+ borderTop: `1px solid ${(r = (s = e == null ? void 0 : e.palette) == null ? void 0 : s.customColor) == null ? void 0 : r.LINE}`,
1369
1244
  padding: "20px 0px",
1370
1245
  display: "flex",
1371
1246
  justifyContent: "start",
@@ -1382,7 +1257,7 @@ const An = Me((e) => {
1382
1257
  }
1383
1258
  }
1384
1259
  };
1385
- }), _n = `
1260
+ }), gn = `
1386
1261
  .doticon .Platform-x-SvgIcon-root{
1387
1262
  font-size: 6px;
1388
1263
  }
@@ -1401,20 +1276,20 @@ font-size: 6px;
1401
1276
  overflow: hidden;
1402
1277
  word-wrap: break-word;
1403
1278
  }
1404
- `, Ln = ({ content: e }) => {
1405
- const t = We(e == null ? void 0 : e.Description) || "", n = An();
1406
- return /* @__PURE__ */ s(
1407
- te,
1279
+ `, mn = ({ content: e }) => {
1280
+ const t = Be(e == null ? void 0 : e.Description) || "", n = fn();
1281
+ return /* @__PURE__ */ a(
1282
+ ue,
1408
1283
  {
1409
1284
  className: n.embedDesktopTabCardWp,
1410
1285
  sx: {
1411
1286
  margin: { xs: "8px 0px 8px 0", sm: "0" }
1412
1287
  },
1413
1288
  onClick: () => window.open(e == null ? void 0 : e.LandingPage, "_blank"),
1414
- children: /* @__PURE__ */ k(E, { container: !0, children: [
1415
- /* @__PURE__ */ k(E, { item: !0, xs: 12, className: "card-container", children: [
1416
- /* @__PURE__ */ s("style", { children: _n }),
1417
- (e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */ s(
1289
+ children: /* @__PURE__ */ k(P, { container: !0, children: [
1290
+ /* @__PURE__ */ k(P, { item: !0, xs: 12, className: "card-container", children: [
1291
+ /* @__PURE__ */ a("style", { children: gn }),
1292
+ (e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */ a(
1418
1293
  b,
1419
1294
  {
1420
1295
  sx: {
@@ -1423,8 +1298,8 @@ font-size: 6px;
1423
1298
  background: e == null ? void 0 : e.colorCode
1424
1299
  }
1425
1300
  }
1426
- ) : /* @__PURE__ */ s(
1427
- He,
1301
+ ) : /* @__PURE__ */ a(
1302
+ De,
1428
1303
  {
1429
1304
  component: "img",
1430
1305
  image: e == null ? void 0 : e.Thumbnail,
@@ -1437,10 +1312,10 @@ font-size: 6px;
1437
1312
  }
1438
1313
  )
1439
1314
  ] }),
1440
- /* @__PURE__ */ s(E, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ k(ye, { className: "contentBox", children: [
1315
+ /* @__PURE__ */ a(P, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ k(He, { className: "contentBox", children: [
1441
1316
  /* @__PURE__ */ k(b, { className: "TopContentBox", children: [
1442
- /* @__PURE__ */ s(
1443
- N,
1317
+ /* @__PURE__ */ a(
1318
+ L,
1444
1319
  {
1445
1320
  gutterBottom: !0,
1446
1321
  variant: "h3bold",
@@ -1451,8 +1326,8 @@ font-size: 6px;
1451
1326
  children: e == null ? void 0 : e.Title
1452
1327
  }
1453
1328
  ),
1454
- /* @__PURE__ */ s(
1455
- N,
1329
+ /* @__PURE__ */ a(
1330
+ L,
1456
1331
  {
1457
1332
  variant: "p3regular",
1458
1333
  sx: {
@@ -1464,9 +1339,9 @@ font-size: 6px;
1464
1339
  )
1465
1340
  ] }),
1466
1341
  /* @__PURE__ */ k(xe, { className: "cardActionWp", children: [
1467
- /* @__PURE__ */ s(N, { variant: "p4semibold", children: e == null ? void 0 : e.Author }),
1468
- /* @__PURE__ */ s(
1469
- N,
1342
+ /* @__PURE__ */ a(L, { variant: "p4semibold", children: e == null ? void 0 : e.Author }),
1343
+ /* @__PURE__ */ a(
1344
+ L,
1470
1345
  {
1471
1346
  variant: "p4regular",
1472
1347
  sx: {
@@ -1474,19 +1349,19 @@ font-size: 6px;
1474
1349
  marginLeft: "8px"
1475
1350
  },
1476
1351
  className: "doticon",
1477
- children: /* @__PURE__ */ s(Se, {})
1352
+ children: /* @__PURE__ */ a(Ce, {})
1478
1353
  }
1479
1354
  ),
1480
- /* @__PURE__ */ s(N, { variant: "p4regular", children: $e(e == null ? void 0 : e.creationDate) })
1355
+ /* @__PURE__ */ a(L, { variant: "p4regular", children: Me(e == null ? void 0 : e.creationDate) })
1481
1356
  ] })
1482
1357
  ] }) })
1483
1358
  ] })
1484
1359
  }
1485
1360
  );
1486
1361
  };
1487
- function ge({ maxWidth: e = 350, maxHeight: t }) {
1362
+ function se({ maxWidth: e = 350, maxHeight: t }) {
1488
1363
  return /* @__PURE__ */ k(
1489
- te,
1364
+ ue,
1490
1365
  {
1491
1366
  sx: {
1492
1367
  maxWidth: e,
@@ -1496,16 +1371,16 @@ function ge({ maxWidth: e = 350, maxHeight: t }) {
1496
1371
  boxShadow: "none"
1497
1372
  },
1498
1373
  children: [
1499
- /* @__PURE__ */ s(R, { sx: { height: 190, marginBottom: 2 }, animation: "wave", variant: "rectangular" }),
1500
- /* @__PURE__ */ s(R, { animation: "wave", width: "40%", height: 15, style: { marginBottom: 15 } }),
1501
- /* @__PURE__ */ s(R, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }),
1502
- /* @__PURE__ */ s(R, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } })
1374
+ /* @__PURE__ */ a(E, { sx: { height: 190, marginBottom: 2 }, animation: "wave", variant: "rectangular" }),
1375
+ /* @__PURE__ */ a(E, { animation: "wave", width: "40%", height: 15, style: { marginBottom: 15 } }),
1376
+ /* @__PURE__ */ a(E, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }),
1377
+ /* @__PURE__ */ a(E, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } })
1503
1378
  ]
1504
1379
  }
1505
1380
  );
1506
1381
  }
1507
- const Nn = ({ selectedItem: e }) => {
1508
- const [t, n] = $(!1), o = {
1382
+ const bn = ({ selectedItem: e }) => {
1383
+ const [t, n] = $(!1), i = {
1509
1384
  Title: e == null ? void 0 : e.Title,
1510
1385
  Description: e == null ? void 0 : e.Description,
1511
1386
  Thumbnail: e == null ? void 0 : e.Thumbnail,
@@ -1514,22 +1389,22 @@ const Nn = ({ selectedItem: e }) => {
1514
1389
  Page: e == null ? void 0 : e.Page,
1515
1390
  LandingPage: e == null ? void 0 : e.LandingPage,
1516
1391
  ContentURL: e == null ? void 0 : e.ContentURL
1517
- }, i = `
1518
- <iframe src="${o == null ? void 0 : o.Page}" width="360" height="203" style="border:none;overflow:hidden"></iframe>
1519
- `, d = `
1520
- <iframe src="${o == null ? void 0 : o.Page}" width="480" height="270" style="border:none;overflow:hidden"></iframe>
1521
- `, c = (h) => {
1522
- navigator.clipboard.writeText(h), n(!0);
1392
+ }, o = `
1393
+ <iframe src="${i == null ? void 0 : i.Page}" width="360" height="203" style="border:none;overflow:hidden"></iframe>
1394
+ `, c = `
1395
+ <iframe src="${i == null ? void 0 : i.Page}" width="480" height="270" style="border:none;overflow:hidden"></iframe>
1396
+ `, d = (u) => {
1397
+ navigator.clipboard.writeText(u), n(!0);
1523
1398
  };
1524
- return /* @__PURE__ */ s(
1399
+ return /* @__PURE__ */ a(
1525
1400
  b,
1526
1401
  {
1527
1402
  sx: {
1528
1403
  overflowY: "auto"
1529
1404
  },
1530
- children: /* @__PURE__ */ k(E, { container: !0, children: [
1531
- /* @__PURE__ */ s(
1532
- E,
1405
+ children: /* @__PURE__ */ k(P, { container: !0, children: [
1406
+ /* @__PURE__ */ a(
1407
+ P,
1533
1408
  {
1534
1409
  item: !0,
1535
1410
  xs: 12,
@@ -1540,7 +1415,7 @@ const Nn = ({ selectedItem: e }) => {
1540
1415
  alignItems: { xs: "start", md: "center" },
1541
1416
  height: { xs: "520px", sm: "initial", md: "initial", em: "480px" }
1542
1417
  },
1543
- children: /* @__PURE__ */ s(
1418
+ children: /* @__PURE__ */ a(
1544
1419
  b,
1545
1420
  {
1546
1421
  sx: {
@@ -1555,13 +1430,13 @@ const Nn = ({ selectedItem: e }) => {
1555
1430
  alignItems: "center"
1556
1431
  },
1557
1432
  className: "card1",
1558
- children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ s(Ln, { content: o }) : /* @__PURE__ */ s(ge, { maxWidth: 480, maxHeight: 500 })
1433
+ children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ a(mn, { content: i }) : /* @__PURE__ */ a(se, { maxWidth: 480, maxHeight: 500 })
1559
1434
  }
1560
1435
  )
1561
1436
  }
1562
1437
  ),
1563
- /* @__PURE__ */ s(
1564
- E,
1438
+ /* @__PURE__ */ a(
1439
+ P,
1565
1440
  {
1566
1441
  item: !0,
1567
1442
  xs: 12,
@@ -1577,7 +1452,7 @@ const Nn = ({ selectedItem: e }) => {
1577
1452
  justifyContent: "center",
1578
1453
  alignItems: "center"
1579
1454
  },
1580
- children: /* @__PURE__ */ s(
1455
+ children: /* @__PURE__ */ a(
1581
1456
  b,
1582
1457
  {
1583
1458
  sx: {
@@ -1588,7 +1463,7 @@ const Nn = ({ selectedItem: e }) => {
1588
1463
  },
1589
1464
  width: { xs: "360px", sm: "480px" }
1590
1465
  },
1591
- children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ k(Te, { children: [
1466
+ children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ k(je, { children: [
1592
1467
  /* @__PURE__ */ k(
1593
1468
  b,
1594
1469
  {
@@ -1597,8 +1472,8 @@ const Nn = ({ selectedItem: e }) => {
1597
1472
  padding: { xs: "0 0 10px 0", md: "0" }
1598
1473
  },
1599
1474
  children: [
1600
- /* @__PURE__ */ s(b, { children: /* @__PURE__ */ s(
1601
- N,
1475
+ /* @__PURE__ */ a(b, { children: /* @__PURE__ */ a(
1476
+ L,
1602
1477
  {
1603
1478
  variant: "h3bold",
1604
1479
  color: "textColor1",
@@ -1608,8 +1483,8 @@ const Nn = ({ selectedItem: e }) => {
1608
1483
  children: "Social Embed link"
1609
1484
  }
1610
1485
  ) }),
1611
- /* @__PURE__ */ s(b, { children: /* @__PURE__ */ s(
1612
- N,
1486
+ /* @__PURE__ */ a(b, { children: /* @__PURE__ */ a(
1487
+ L,
1613
1488
  {
1614
1489
  variant: "h7regular",
1615
1490
  padding: 0,
@@ -1621,7 +1496,7 @@ const Nn = ({ selectedItem: e }) => {
1621
1496
  ]
1622
1497
  }
1623
1498
  ),
1624
- /* @__PURE__ */ s(
1499
+ /* @__PURE__ */ a(
1625
1500
  b,
1626
1501
  {
1627
1502
  sx: {
@@ -1638,10 +1513,10 @@ const Nn = ({ selectedItem: e }) => {
1638
1513
  fontFamily: "Roboto Mono",
1639
1514
  wordBreak: "break-word"
1640
1515
  },
1641
- children: i
1516
+ children: o
1642
1517
  }
1643
1518
  ),
1644
- /* @__PURE__ */ s(
1519
+ /* @__PURE__ */ a(
1645
1520
  b,
1646
1521
  {
1647
1522
  sx: {
@@ -1658,7 +1533,7 @@ const Nn = ({ selectedItem: e }) => {
1658
1533
  fontFamily: "Roboto Mono",
1659
1534
  wordBreak: "break-word"
1660
1535
  },
1661
- children: d
1536
+ children: c
1662
1537
  }
1663
1538
  ),
1664
1539
  /* @__PURE__ */ k(
@@ -1669,8 +1544,8 @@ const Nn = ({ selectedItem: e }) => {
1669
1544
  flexDirection: "row-reverse"
1670
1545
  },
1671
1546
  children: [
1672
- /* @__PURE__ */ s(
1673
- se,
1547
+ /* @__PURE__ */ a(
1548
+ I,
1674
1549
  {
1675
1550
  variant: "primaryButton1",
1676
1551
  sx: {
@@ -1678,13 +1553,13 @@ const Nn = ({ selectedItem: e }) => {
1678
1553
  margin: "0",
1679
1554
  padding: "0"
1680
1555
  },
1681
- onClick: () => c(d),
1556
+ onClick: () => d(c),
1682
1557
  "data-testid": "copy-desktop-embedded-code",
1683
1558
  children: t ? "Copied" : "Copy Code"
1684
1559
  }
1685
1560
  ),
1686
- /* @__PURE__ */ s(
1687
- se,
1561
+ /* @__PURE__ */ a(
1562
+ I,
1688
1563
  {
1689
1564
  variant: "primaryButton1",
1690
1565
  sx: {
@@ -1693,7 +1568,7 @@ const Nn = ({ selectedItem: e }) => {
1693
1568
  display: { xs: "flex", md: "none" },
1694
1569
  margin: { xs: "20px 0 0 0", md: 0 }
1695
1570
  },
1696
- onClick: () => c(i),
1571
+ onClick: () => d(o),
1697
1572
  "data-testid": "copy-mobile-embedded-code",
1698
1573
  children: t ? "Copied" : "Copy Code"
1699
1574
  }
@@ -1701,7 +1576,7 @@ const Nn = ({ selectedItem: e }) => {
1701
1576
  ]
1702
1577
  }
1703
1578
  )
1704
- ] }) : /* @__PURE__ */ s(ge, { maxWidth: 480, maxHeight: 500 })
1579
+ ] }) : /* @__PURE__ */ a(se, { maxWidth: 480, maxHeight: 500 })
1705
1580
  }
1706
1581
  )
1707
1582
  }
@@ -1710,13 +1585,13 @@ const Nn = ({ selectedItem: e }) => {
1710
1585
  }
1711
1586
  );
1712
1587
  };
1713
- function Tn({
1588
+ function vn({
1714
1589
  isDialogOpen: e,
1715
1590
  closeEmbedButtonHandle: t,
1716
1591
  setSelectedItem: n
1717
1592
  }) {
1718
- return /* @__PURE__ */ s(b, { className: "embedmodal", children: /* @__PURE__ */ k(
1719
- Ue,
1593
+ return /* @__PURE__ */ a(b, { className: "embedmodal", children: /* @__PURE__ */ k(
1594
+ $e,
1720
1595
  {
1721
1596
  fullWidth: !0,
1722
1597
  open: e,
@@ -1737,7 +1612,7 @@ function Tn({
1737
1612
  height: { xs: "100vh", sm: "auto" }
1738
1613
  },
1739
1614
  children: [
1740
- /* @__PURE__ */ s(
1615
+ /* @__PURE__ */ a(
1741
1616
  b,
1742
1617
  {
1743
1618
  sx: {
@@ -1747,30 +1622,30 @@ function Tn({
1747
1622
  position: "absolute",
1748
1623
  right: "-10px"
1749
1624
  },
1750
- children: /* @__PURE__ */ s(
1625
+ children: /* @__PURE__ */ a(
1751
1626
  b,
1752
1627
  {
1753
1628
  sx: { textAlign: "right", cursor: "pointer", zIndex: "99999" },
1754
1629
  mt: 1,
1755
1630
  mr: 3,
1756
1631
  onClick: t,
1757
- children: /* @__PURE__ */ s(Ve, {})
1632
+ children: /* @__PURE__ */ a(Ue, {})
1758
1633
  }
1759
1634
  )
1760
1635
  }
1761
1636
  ),
1762
- /* @__PURE__ */ s(Nn, { selectedItem: n })
1637
+ /* @__PURE__ */ a(bn, { selectedItem: n })
1763
1638
  ]
1764
1639
  }
1765
1640
  ) });
1766
1641
  }
1767
- const jn = (e) => {
1768
- const t = Xe(), { shareUrl: n = "", domainUrl: o = "", enablePreview: i, showRecentArticles: d } = e, c = () => {
1642
+ const xn = (e) => {
1643
+ const t = Ke(), { shareUrl: n = "", domainUrl: i = "", enablePreview: o, showRecentArticles: c } = e, d = () => {
1769
1644
  if (e.whiteIcon)
1770
1645
  return {
1771
1646
  filter: "brightness(0) invert(1)"
1772
1647
  };
1773
- }, h = (L = "#2d2d39") => ({
1648
+ }, u = (_ = "#2d2d39") => ({
1774
1649
  display: "flex",
1775
1650
  justifyContent: "center",
1776
1651
  alignItems: "center",
@@ -1784,28 +1659,28 @@ const jn = (e) => {
1784
1659
  img: {
1785
1660
  filter: "brightness(0) invert(1)"
1786
1661
  },
1787
- background: L
1662
+ background: _
1788
1663
  },
1789
1664
  border: e.border
1790
- }), l = {
1665
+ }), s = {
1791
1666
  display: "flex",
1792
1667
  justifyContent: "center",
1793
1668
  alignItems: "center",
1794
- cursor: i ? "default" : "pointer"
1795
- }, a = {
1669
+ cursor: o ? "default" : "pointer"
1670
+ }, r = {
1796
1671
  opacity: 1
1797
- }, u = async () => {
1798
- "clipboard" in navigator && o ? (await navigator.clipboard.writeText(o), ze("URL copied successfully.")) : le(
1672
+ }, l = async () => {
1673
+ "clipboard" in navigator && i ? (await navigator.clipboard.writeText(i), Ve("URL copied successfully.")) : J(
1799
1674
  "We have not been able to complete the requested action. Please try again later"
1800
1675
  );
1801
- }, p = () => {
1802
- }, [f, x] = $(!1), v = (L = "") => {
1803
- L || le(
1676
+ }, h = () => {
1677
+ }, [w, x] = $(!1), v = (_ = "") => {
1678
+ _ || J(
1804
1679
  "We have not been able to complete the requested action. Please try again later"
1805
1680
  );
1806
- }, _ = () => {
1681
+ }, A = () => {
1807
1682
  x(!0);
1808
- }, S = () => {
1683
+ }, C = () => {
1809
1684
  x(!1);
1810
1685
  };
1811
1686
  return /* @__PURE__ */ k(
@@ -1816,90 +1691,90 @@ const jn = (e) => {
1816
1691
  mt: "5px"
1817
1692
  },
1818
1693
  children: [
1819
- /* @__PURE__ */ s(
1820
- Vt,
1694
+ /* @__PURE__ */ a(
1695
+ Pt,
1821
1696
  {
1822
- disabled: i,
1823
- onClick: () => !i && v(n),
1824
- onShareWindowClose: p,
1697
+ disabled: o,
1698
+ onClick: () => !o && v(n),
1699
+ onShareWindowClose: h,
1825
1700
  url: n,
1826
- style: l,
1827
- disabledStyle: a,
1701
+ style: s,
1702
+ disabledStyle: r,
1828
1703
  "data-testid": "facebook-share",
1829
- children: /* @__PURE__ */ s(
1704
+ children: /* @__PURE__ */ a(
1830
1705
  b,
1831
1706
  {
1832
1707
  sx: {
1833
- ...h("#1078f0"),
1834
- cursor: i ? "default" : "pointer"
1708
+ ...u("#1078f0"),
1709
+ cursor: o ? "default" : "pointer"
1835
1710
  },
1836
- onClick: () => !i && v(n),
1837
- children: /* @__PURE__ */ s("img", { alt: "share1", width: 15, height: 15, src: gt, style: { ...c() } })
1711
+ onClick: () => !o && v(n),
1712
+ children: /* @__PURE__ */ a("img", { alt: "share1", width: 15, height: 15, src: at, style: { ...d() } })
1838
1713
  }
1839
1714
  )
1840
1715
  }
1841
1716
  ),
1842
- /* @__PURE__ */ s(
1843
- It,
1717
+ /* @__PURE__ */ a(
1718
+ Vt,
1844
1719
  {
1845
- disabled: i,
1846
- onShareWindowClose: p,
1720
+ disabled: o,
1721
+ onShareWindowClose: h,
1847
1722
  url: n,
1848
- style: l,
1849
- disabledStyle: a,
1850
- children: /* @__PURE__ */ s(
1723
+ style: s,
1724
+ disabledStyle: r,
1725
+ children: /* @__PURE__ */ a(
1851
1726
  b,
1852
1727
  {
1853
1728
  sx: {
1854
- ...h("#2d67b3"),
1855
- cursor: i ? "default" : "pointer"
1729
+ ...u("#2d67b3"),
1730
+ cursor: o ? "default" : "pointer"
1856
1731
  },
1857
- onClick: () => !i && v(n),
1732
+ onClick: () => !o && v(n),
1858
1733
  "data-testid": "linkedin-share",
1859
- children: /* @__PURE__ */ s("img", { alt: "share4", width: 15, height: 15, src: mt, style: { ...c() } })
1734
+ children: /* @__PURE__ */ a("img", { alt: "share4", width: 15, height: 15, src: st, style: { ...d() } })
1860
1735
  }
1861
1736
  )
1862
1737
  }
1863
1738
  ),
1864
- /* @__PURE__ */ s(
1739
+ /* @__PURE__ */ a(
1865
1740
  b,
1866
1741
  {
1867
1742
  sx: {
1868
- ...h("#229af1"),
1869
- cursor: i ? "default" : "pointer"
1743
+ ...u("#229af1"),
1744
+ cursor: o ? "default" : "pointer"
1870
1745
  },
1871
- onClick: () => !i && u(),
1746
+ onClick: () => !o && l(),
1872
1747
  "data-testid": "copy-clipboard-data",
1873
- children: /* @__PURE__ */ s("img", { alt: "share5", width: 15, height: 15, src: ft, style: { ...c() } })
1748
+ children: /* @__PURE__ */ a("img", { alt: "share5", width: 15, height: 15, src: ot, style: { ...d() } })
1874
1749
  }
1875
1750
  ),
1876
- d && /* @__PURE__ */ s(
1751
+ c && /* @__PURE__ */ a(
1877
1752
  b,
1878
1753
  {
1879
1754
  sx: {
1880
- ...h("#2d2d39"),
1881
- cursor: i ? "default" : "pointer",
1755
+ ...u("#2d2d39"),
1756
+ cursor: o ? "default" : "pointer",
1882
1757
  marginRight: 0
1883
1758
  },
1884
1759
  onClick: () => {
1885
- !i && _();
1760
+ !o && A();
1886
1761
  },
1887
1762
  "data-testid": "preview-and-embed",
1888
- children: /* @__PURE__ */ s("img", { alt: "share6", width: 15, height: 15, src: wt, style: { ...c() } })
1763
+ children: /* @__PURE__ */ a("img", { alt: "share6", width: 15, height: 15, src: rt, style: { ...d() } })
1889
1764
  }
1890
1765
  ),
1891
- f ? /* @__PURE__ */ s(
1892
- Tn,
1766
+ w ? /* @__PURE__ */ a(
1767
+ vn,
1893
1768
  {
1894
- isDialogOpen: f,
1895
- closeEmbedButtonHandle: S,
1769
+ isDialogOpen: w,
1770
+ closeEmbedButtonHandle: C,
1896
1771
  setSelectedItem: e == null ? void 0 : e.embedData
1897
1772
  }
1898
1773
  ) : null
1899
1774
  ]
1900
1775
  }
1901
1776
  );
1902
- }, Dn = je.memo(jn);
1777
+ }, _n = Te.memo(xn);
1903
1778
  export {
1904
- Dn as default
1779
+ _n as default
1905
1780
  };