@platform-x/hcltechx-mfe-wrapper 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BrightcovePlayer-B2Rrij5a.mjs +177 -0
- package/ChallengeDetailComponent-QSflL_pe.mjs +89 -0
- package/CommonContentComponent-D8PuLEle.mjs +78 -0
- package/DailyMotion-Pq0OS_nv.mjs +136 -0
- package/EngagementHomeComponent-CO2rSsxl.mjs +91 -0
- package/EventDetailComponent-DMKfvnfx.mjs +84 -0
- package/EventList-BM7sWeX5.mjs +22503 -0
- package/EventListComponent-SpgarpPb.mjs +82 -0
- package/Facebook-DVoDyq2n.mjs +121 -0
- package/FilePlayer-TBmUK03G.mjs +202 -0
- package/Kaltura-CLaSL9Gw.mjs +121 -0
- package/Mixcloud-BIUEG_vf.mjs +113 -0
- package/Mux-D2H0Zcnl.mjs +165 -0
- package/Preview-CqNeXEJq.mjs +127 -0
- package/RecentCarousel-DsRr-cur.mjs +243 -0
- package/Share-BTinEfR4.mjs +2243 -0
- package/SoundCloud-CL3-ElQD.mjs +123 -0
- package/Streamable-B6PCkCf3.mjs +115 -0
- package/Twitch-T-goXjKL.mjs +117 -0
- package/Vidyard-D8-XmjAR.mjs +113 -0
- package/Vimeo-jej0FY4O.mjs +146 -0
- package/Wistia-CPzm8ZXT.mjs +124 -0
- package/YouTube-VNohNZKu.mjs +176 -0
- package/index-BTIxC-e5.mjs +20 -0
- package/index-Dluh6sv-.mjs +7333 -0
- package/index.d.ts +2 -0
- package/index.mjs +10 -0
- package/lib/Components/EventDetails/EventDetailComponent.d.ts +1 -0
- package/lib/Components/EventDetails/index.d.ts +2 -0
- package/lib/Components/EventList/EventListComponent.d.ts +2 -0
- package/lib/Components/EventList/index.d.ts +2 -0
- package/lib/Components/FallBackPage/FallBackPage.d.ts +2 -0
- package/lib/Components/Loader/Loader.d.ts +2 -0
- package/lib/contentType-wrapper.d.ts +12 -0
- package/lib/contentTypes/Components/ChallengeDetailComponent.d.ts +2 -0
- package/lib/contentTypes/Components/CommonContentComponent.d.ts +4 -0
- package/lib/contentTypes/Components/EventDetailComponent.d.ts +2 -0
- package/lib/contentTypes/index.d.ts +2 -0
- package/lib/prelems/Components/EngagementHomeComponent.d.ts +2 -0
- package/lib/prelems/Components/EventListComponent.d.ts +10 -0
- package/lib/prelems/index.d.ts +2 -0
- package/lib/prelems-wrapper.d.ts +9 -0
- package/lib/services/ApiConfig.d.ts +1 -0
- package/lib/services/fetchApi.d.ts +11 -0
- package/lib/services/fetchQueries.d.ts +7 -0
- package/lib/services/mutateApi.d.ts +7 -0
- package/lib/services/mutateQueries.d.ts +4 -0
- package/lib/utils/Mapping.d.ts +7 -0
- package/lib/utils/componentMapping.d.ts +11 -0
- package/lib/utils/constants.d.ts +10 -0
- package/lib/utils/types.d.ts +32 -0
- package/mutateApi-DOEWbC_3.mjs +37 -0
- package/package.json +25 -0
- package/style.css +1 -0
|
@@ -0,0 +1,2243 @@
|
|
|
1
|
+
import Le, { jsx as p, jsxs as O, Fragment as Pe } from "react/jsx-runtime";
|
|
2
|
+
import { Box as v, Card as We, Skeleton as ne, Grid as ae, Typography as me, Button as ge, Dialog as Re, useTheme as De } from "@mui/material";
|
|
3
|
+
import * as j from "react";
|
|
4
|
+
import Be, { forwardRef as He, useState as oe, useEffect as Ce, useRef as Ve, useCallback as ze } from "react";
|
|
5
|
+
import { w as ke, r as Ge, i as Ue, x as Fe, e as Ke, y as Ie, z as qe, T as R, o as Xe, j as Se, B as Qe, D as Ye, F as we } from "./EventList-BM7sWeX5.mjs";
|
|
6
|
+
import { g as Ze, c as G, d as U, e as F, u as K, _ as I, h as y, i as q, P as r, j as Oe, k as X, t as Ne } from "./index-Dluh6sv-.mjs";
|
|
7
|
+
import { makeStyles as Je } from "@mui/styles";
|
|
8
|
+
import { unstable_extendSxProp as en, unstable_resolveBreakpointValues as ie, handleBreakpoints as le } from "@mui/system";
|
|
9
|
+
import "react-dom";
|
|
10
|
+
const nn = "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", tn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD6SURBVHgB7ZM9CsIwGIa/GI8gWkV0dyhdXHTxCN5APIl6E0dXN0fdxEmldFYqkrZnaD6ToRj736pbXwh88CbPEwIBqFLlr9H10UKusr0MTTuMiEsxThqN9tbznkztDWNkcI4b2WtaDxzHPuQWKHDwfZxb1mkX3sOYzVqt7h2ATNMkNBt+XENCXPdxzpLQsvC8EvoNPI+kFmzinJNgrtcpQsEQ8j6jsqhyi32z2SUiEwCcalr/Jm5xyQPX9fEMka/lLF5hZZrHZURQVpIGjwiKSrLgsYI4SafT3jL2+dEGg6Eh+l0aPFGgSsR4uF5Pm3Avf3bQJ8GrVPlNXpHyzr4dW2vdAAAAAElFTkSuQmCC", on = "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", rn = "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";
|
|
11
|
+
var se = { exports: {} }, ce = { exports: {} }, B = 1e3, H = B * 60, V = H * 60, z = V * 24, an = z * 365.25, sn = function(e, n) {
|
|
12
|
+
n = n || {};
|
|
13
|
+
var t = typeof e;
|
|
14
|
+
if (t === "string" && e.length > 0)
|
|
15
|
+
return cn(e);
|
|
16
|
+
if (t === "number" && isNaN(e) === !1)
|
|
17
|
+
return n.long ? ln(e) : dn(e);
|
|
18
|
+
throw new Error(
|
|
19
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(e)
|
|
20
|
+
);
|
|
21
|
+
};
|
|
22
|
+
function cn(e) {
|
|
23
|
+
if (e = String(e), !(e.length > 100)) {
|
|
24
|
+
var n = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(
|
|
25
|
+
e
|
|
26
|
+
);
|
|
27
|
+
if (n) {
|
|
28
|
+
var t = parseFloat(n[1]), o = (n[2] || "ms").toLowerCase();
|
|
29
|
+
switch (o) {
|
|
30
|
+
case "years":
|
|
31
|
+
case "year":
|
|
32
|
+
case "yrs":
|
|
33
|
+
case "yr":
|
|
34
|
+
case "y":
|
|
35
|
+
return t * an;
|
|
36
|
+
case "days":
|
|
37
|
+
case "day":
|
|
38
|
+
case "d":
|
|
39
|
+
return t * z;
|
|
40
|
+
case "hours":
|
|
41
|
+
case "hour":
|
|
42
|
+
case "hrs":
|
|
43
|
+
case "hr":
|
|
44
|
+
case "h":
|
|
45
|
+
return t * V;
|
|
46
|
+
case "minutes":
|
|
47
|
+
case "minute":
|
|
48
|
+
case "mins":
|
|
49
|
+
case "min":
|
|
50
|
+
case "m":
|
|
51
|
+
return t * H;
|
|
52
|
+
case "seconds":
|
|
53
|
+
case "second":
|
|
54
|
+
case "secs":
|
|
55
|
+
case "sec":
|
|
56
|
+
case "s":
|
|
57
|
+
return t * B;
|
|
58
|
+
case "milliseconds":
|
|
59
|
+
case "millisecond":
|
|
60
|
+
case "msecs":
|
|
61
|
+
case "msec":
|
|
62
|
+
case "ms":
|
|
63
|
+
return t;
|
|
64
|
+
default:
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
function dn(e) {
|
|
71
|
+
return e >= z ? Math.round(e / z) + "d" : e >= V ? Math.round(e / V) + "h" : e >= H ? Math.round(e / H) + "m" : e >= B ? Math.round(e / B) + "s" : e + "ms";
|
|
72
|
+
}
|
|
73
|
+
function ln(e) {
|
|
74
|
+
return te(e, z, "day") || te(e, V, "hour") || te(e, H, "minute") || te(e, B, "second") || e + " ms";
|
|
75
|
+
}
|
|
76
|
+
function te(e, n, t) {
|
|
77
|
+
if (!(e < n))
|
|
78
|
+
return e < n * 1.5 ? Math.floor(e / n) + " " + t : Math.ceil(e / n) + " " + t + "s";
|
|
79
|
+
}
|
|
80
|
+
(function(e, n) {
|
|
81
|
+
n = e.exports = i.debug = i.default = i, n.coerce = c, n.disable = l, n.enable = a, n.enabled = s, n.humanize = sn, n.names = [], n.skips = [], n.formatters = {};
|
|
82
|
+
var t;
|
|
83
|
+
function o(d) {
|
|
84
|
+
var u = 0, f;
|
|
85
|
+
for (f in d)
|
|
86
|
+
u = (u << 5) - u + d.charCodeAt(f), u |= 0;
|
|
87
|
+
return n.colors[Math.abs(u) % n.colors.length];
|
|
88
|
+
}
|
|
89
|
+
function i(d) {
|
|
90
|
+
function u() {
|
|
91
|
+
if (u.enabled) {
|
|
92
|
+
var f = u, h = +/* @__PURE__ */ new Date(), g = h - (t || h);
|
|
93
|
+
f.diff = g, f.prev = t, f.curr = h, t = h;
|
|
94
|
+
for (var w = new Array(arguments.length), k = 0; k < w.length; k++)
|
|
95
|
+
w[k] = arguments[k];
|
|
96
|
+
w[0] = n.coerce(w[0]), typeof w[0] != "string" && w.unshift("%O");
|
|
97
|
+
var N = 0;
|
|
98
|
+
w[0] = w[0].replace(/%([a-zA-Z%])/g, function(C, L) {
|
|
99
|
+
if (C === "%%")
|
|
100
|
+
return C;
|
|
101
|
+
N++;
|
|
102
|
+
var A = n.formatters[L];
|
|
103
|
+
if (typeof A == "function") {
|
|
104
|
+
var P = w[N];
|
|
105
|
+
C = A.call(f, P), w.splice(N, 1), N--;
|
|
106
|
+
}
|
|
107
|
+
return C;
|
|
108
|
+
}), n.formatArgs.call(f, w);
|
|
109
|
+
var T = u.log || n.log || console.log.bind(console);
|
|
110
|
+
T.apply(f, w);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
return u.namespace = d, u.enabled = n.enabled(d), u.useColors = n.useColors(), u.color = o(d), typeof n.init == "function" && n.init(u), u;
|
|
114
|
+
}
|
|
115
|
+
function a(d) {
|
|
116
|
+
n.save(d), n.names = [], n.skips = [];
|
|
117
|
+
for (var u = (typeof d == "string" ? d : "").split(/[\s,]+/), f = u.length, h = 0; h < f; h++)
|
|
118
|
+
u[h] && (d = u[h].replace(/\*/g, ".*?"), d[0] === "-" ? n.skips.push(new RegExp("^" + d.substr(1) + "$")) : n.names.push(new RegExp("^" + d + "$")));
|
|
119
|
+
}
|
|
120
|
+
function l() {
|
|
121
|
+
n.enable("");
|
|
122
|
+
}
|
|
123
|
+
function s(d) {
|
|
124
|
+
var u, f;
|
|
125
|
+
for (u = 0, f = n.skips.length; u < f; u++)
|
|
126
|
+
if (n.skips[u].test(d))
|
|
127
|
+
return !1;
|
|
128
|
+
for (u = 0, f = n.names.length; u < f; u++)
|
|
129
|
+
if (n.names[u].test(d))
|
|
130
|
+
return !0;
|
|
131
|
+
return !1;
|
|
132
|
+
}
|
|
133
|
+
function c(d) {
|
|
134
|
+
return d instanceof Error ? d.stack || d.message : d;
|
|
135
|
+
}
|
|
136
|
+
})(ce, ce.exports);
|
|
137
|
+
var un = ce.exports;
|
|
138
|
+
(function(e, n) {
|
|
139
|
+
n = e.exports = un, n.log = i, n.formatArgs = o, n.save = a, n.load = l, n.useColors = t, n.storage = typeof chrome < "u" && typeof chrome.storage < "u" ? chrome.storage.local : s(), n.colors = [
|
|
140
|
+
"lightseagreen",
|
|
141
|
+
"forestgreen",
|
|
142
|
+
"goldenrod",
|
|
143
|
+
"dodgerblue",
|
|
144
|
+
"darkorchid",
|
|
145
|
+
"crimson"
|
|
146
|
+
];
|
|
147
|
+
function t() {
|
|
148
|
+
return typeof window < "u" && window.process && window.process.type === "renderer" ? !0 : typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // is firebug? http://stackoverflow.com/a/398120/376773
|
|
149
|
+
typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // is firefox >= v31?
|
|
150
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
151
|
+
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
|
|
152
|
+
typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
153
|
+
}
|
|
154
|
+
n.formatters.j = function(c) {
|
|
155
|
+
try {
|
|
156
|
+
return JSON.stringify(c);
|
|
157
|
+
} catch (d) {
|
|
158
|
+
return "[UnexpectedJSONParseError]: " + d.message;
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
function o(c) {
|
|
162
|
+
var d = this.useColors;
|
|
163
|
+
if (c[0] = (d ? "%c" : "") + this.namespace + (d ? " %c" : " ") + c[0] + (d ? "%c " : " ") + "+" + n.humanize(this.diff), !!d) {
|
|
164
|
+
var u = "color: " + this.color;
|
|
165
|
+
c.splice(1, 0, u, "color: inherit");
|
|
166
|
+
var f = 0, h = 0;
|
|
167
|
+
c[0].replace(/%[a-zA-Z%]/g, function(g) {
|
|
168
|
+
g !== "%%" && (f++, g === "%c" && (h = f));
|
|
169
|
+
}), c.splice(h, 0, u);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
function i() {
|
|
173
|
+
return typeof console == "object" && console.log && Function.prototype.apply.call(console.log, console, arguments);
|
|
174
|
+
}
|
|
175
|
+
function a(c) {
|
|
176
|
+
try {
|
|
177
|
+
c == null ? n.storage.removeItem("debug") : n.storage.debug = c;
|
|
178
|
+
} catch {
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function l() {
|
|
182
|
+
var c;
|
|
183
|
+
try {
|
|
184
|
+
c = n.storage.debug;
|
|
185
|
+
} catch {
|
|
186
|
+
}
|
|
187
|
+
return !c && typeof process < "u" && "env" in process && (c = process.env.DEBUG), c;
|
|
188
|
+
}
|
|
189
|
+
n.enable(l());
|
|
190
|
+
function s() {
|
|
191
|
+
try {
|
|
192
|
+
return window.localStorage;
|
|
193
|
+
} catch {
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
})(se, se.exports);
|
|
197
|
+
var pn = se.exports, be = pn("jsonp"), fn = gn, hn = 0;
|
|
198
|
+
function mn() {
|
|
199
|
+
}
|
|
200
|
+
function gn(e, n, t) {
|
|
201
|
+
typeof n == "function" && (t = n, n = {}), n || (n = {});
|
|
202
|
+
var o = n.prefix || "__jp", i = n.name || o + hn++, a = n.param || "callback", l = n.timeout != null ? n.timeout : 6e4, s = encodeURIComponent, c = document.getElementsByTagName("script")[0] || document.head, d, u;
|
|
203
|
+
l && (u = setTimeout(function() {
|
|
204
|
+
f(), t && t(new Error("Timeout"));
|
|
205
|
+
}, l));
|
|
206
|
+
function f() {
|
|
207
|
+
d.parentNode && d.parentNode.removeChild(d), window[i] = mn, u && clearTimeout(u);
|
|
208
|
+
}
|
|
209
|
+
function h() {
|
|
210
|
+
window[i] && f();
|
|
211
|
+
}
|
|
212
|
+
return window[i] = function(g) {
|
|
213
|
+
be("jsonp got", g), f(), t && t(null, g);
|
|
214
|
+
}, e += (~e.indexOf("?") ? "&" : "?") + a + "=" + s(i), e = e.replace("?&", "?"), be('jsonp req "%s"', e), d = document.createElement("script"), d.src = e, c.parentNode.insertBefore(d, c), h;
|
|
215
|
+
}
|
|
216
|
+
const E = /* @__PURE__ */ Ze(fn);
|
|
217
|
+
var wn = Object.defineProperty, bn = Object.defineProperties, xn = Object.getOwnPropertyDescriptors, re = Object.getOwnPropertySymbols, Te = Object.prototype.hasOwnProperty, Ae = Object.prototype.propertyIsEnumerable, xe = (e, n, t) => n in e ? wn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, S = (e, n) => {
|
|
218
|
+
for (var t in n || (n = {}))
|
|
219
|
+
Te.call(n, t) && xe(e, t, n[t]);
|
|
220
|
+
if (re)
|
|
221
|
+
for (var t of re(n))
|
|
222
|
+
Ae.call(n, t) && xe(e, t, n[t]);
|
|
223
|
+
return e;
|
|
224
|
+
}, ue = (e, n) => bn(e, xn(n)), pe = (e, n) => {
|
|
225
|
+
var t = {};
|
|
226
|
+
for (var o in e)
|
|
227
|
+
Te.call(e, o) && n.indexOf(o) < 0 && (t[o] = e[o]);
|
|
228
|
+
if (e != null && re)
|
|
229
|
+
for (var o of re(e))
|
|
230
|
+
n.indexOf(o) < 0 && Ae.call(e, o) && (t[o] = e[o]);
|
|
231
|
+
return t;
|
|
232
|
+
};
|
|
233
|
+
function m(e) {
|
|
234
|
+
const n = Object.entries(e).filter(([, t]) => t != null).map(([t, o]) => `${encodeURIComponent(t)}=${encodeURIComponent(String(o))}`);
|
|
235
|
+
return n.length > 0 ? `?${n.join("&")}` : "";
|
|
236
|
+
}
|
|
237
|
+
const vn = (e) => !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function", yn = (e, n) => ({
|
|
238
|
+
left: window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - e / 2,
|
|
239
|
+
top: window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - n / 2
|
|
240
|
+
}), Cn = (e, n) => ({
|
|
241
|
+
top: (window.screen.height - n) / 2,
|
|
242
|
+
left: (window.screen.width - e) / 2
|
|
243
|
+
});
|
|
244
|
+
function kn(e, n, t) {
|
|
245
|
+
var o = n, { height: i, width: a } = o, l = pe(o, ["height", "width"]);
|
|
246
|
+
const s = S({
|
|
247
|
+
height: i,
|
|
248
|
+
width: a,
|
|
249
|
+
location: "no",
|
|
250
|
+
toolbar: "no",
|
|
251
|
+
status: "no",
|
|
252
|
+
directories: "no",
|
|
253
|
+
menubar: "no",
|
|
254
|
+
scrollbars: "yes",
|
|
255
|
+
resizable: "no",
|
|
256
|
+
centerscreen: "yes",
|
|
257
|
+
chrome: "yes"
|
|
258
|
+
}, l), c = window.open(
|
|
259
|
+
e,
|
|
260
|
+
"",
|
|
261
|
+
Object.keys(s).map((d) => `${d}=${s[d]}`).join(", ")
|
|
262
|
+
);
|
|
263
|
+
if (t) {
|
|
264
|
+
const d = window.setInterval(() => {
|
|
265
|
+
try {
|
|
266
|
+
(c === null || c.closed) && (window.clearInterval(d), t(c));
|
|
267
|
+
} catch (u) {
|
|
268
|
+
console.error(u);
|
|
269
|
+
}
|
|
270
|
+
}, 1e3);
|
|
271
|
+
}
|
|
272
|
+
return c;
|
|
273
|
+
}
|
|
274
|
+
function Sn(e) {
|
|
275
|
+
var n = e, {
|
|
276
|
+
beforeOnClick: t,
|
|
277
|
+
children: o,
|
|
278
|
+
className: i,
|
|
279
|
+
disabled: a,
|
|
280
|
+
disabledStyle: l = { opacity: 0.6 },
|
|
281
|
+
forwardedRef: s,
|
|
282
|
+
htmlTitle: c,
|
|
283
|
+
networkLink: d,
|
|
284
|
+
networkName: u,
|
|
285
|
+
onClick: f,
|
|
286
|
+
onShareWindowClose: h,
|
|
287
|
+
openShareDialogOnClick: g = !0,
|
|
288
|
+
opts: w,
|
|
289
|
+
resetButtonStyle: k = !0,
|
|
290
|
+
style: N,
|
|
291
|
+
url: T,
|
|
292
|
+
windowHeight: C = 400,
|
|
293
|
+
windowPosition: L = "windowCenter",
|
|
294
|
+
windowWidth: A = 550
|
|
295
|
+
} = n, P = pe(n, [
|
|
296
|
+
"beforeOnClick",
|
|
297
|
+
"children",
|
|
298
|
+
"className",
|
|
299
|
+
"disabled",
|
|
300
|
+
"disabledStyle",
|
|
301
|
+
"forwardedRef",
|
|
302
|
+
"htmlTitle",
|
|
303
|
+
"networkLink",
|
|
304
|
+
"networkName",
|
|
305
|
+
"onClick",
|
|
306
|
+
"onShareWindowClose",
|
|
307
|
+
"openShareDialogOnClick",
|
|
308
|
+
"opts",
|
|
309
|
+
"resetButtonStyle",
|
|
310
|
+
"style",
|
|
311
|
+
"url",
|
|
312
|
+
"windowHeight",
|
|
313
|
+
"windowPosition",
|
|
314
|
+
"windowWidth"
|
|
315
|
+
]);
|
|
316
|
+
const Q = async (J) => {
|
|
317
|
+
const _ = d(T, w);
|
|
318
|
+
if (!a) {
|
|
319
|
+
if (J.preventDefault(), t) {
|
|
320
|
+
const ee = t();
|
|
321
|
+
vn(ee) && await ee;
|
|
322
|
+
}
|
|
323
|
+
if (g) {
|
|
324
|
+
const ee = S({
|
|
325
|
+
height: C,
|
|
326
|
+
width: A
|
|
327
|
+
}, L === "windowCenter" ? yn(A, C) : Cn(A, C));
|
|
328
|
+
kn(_, ee, h);
|
|
329
|
+
}
|
|
330
|
+
f && f(J, _);
|
|
331
|
+
}
|
|
332
|
+
}, Y = ke(
|
|
333
|
+
"react-share__ShareButton",
|
|
334
|
+
{
|
|
335
|
+
"react-share__ShareButton--disabled": !!a,
|
|
336
|
+
disabled: !!a
|
|
337
|
+
},
|
|
338
|
+
i
|
|
339
|
+
), Z = S(S(k ? {
|
|
340
|
+
backgroundColor: "transparent",
|
|
341
|
+
border: "none",
|
|
342
|
+
padding: 0,
|
|
343
|
+
font: "inherit",
|
|
344
|
+
color: "inherit",
|
|
345
|
+
cursor: "pointer"
|
|
346
|
+
} : {}, N), a && l);
|
|
347
|
+
return /* @__PURE__ */ p(
|
|
348
|
+
"button",
|
|
349
|
+
ue(S({}, P), {
|
|
350
|
+
className: Y,
|
|
351
|
+
onClick: Q,
|
|
352
|
+
ref: s,
|
|
353
|
+
style: Z,
|
|
354
|
+
title: c,
|
|
355
|
+
children: o
|
|
356
|
+
})
|
|
357
|
+
);
|
|
358
|
+
}
|
|
359
|
+
function x(e, n, t, o) {
|
|
360
|
+
function i(a, l) {
|
|
361
|
+
const s = t(a), c = S({}, a);
|
|
362
|
+
return Object.keys(s).forEach((u) => {
|
|
363
|
+
delete c[u];
|
|
364
|
+
}), /* @__PURE__ */ p(
|
|
365
|
+
Sn,
|
|
366
|
+
ue(S(S({}, o), c), {
|
|
367
|
+
forwardedRef: l,
|
|
368
|
+
networkName: e,
|
|
369
|
+
networkLink: n,
|
|
370
|
+
opts: t(a)
|
|
371
|
+
})
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
return i.displayName = `ShareButton-${e}`, He(i);
|
|
375
|
+
}
|
|
376
|
+
function On(e, { subject: n, body: t, separator: o }) {
|
|
377
|
+
return "mailto:" + m({ subject: n, body: t ? t + o + e : e });
|
|
378
|
+
}
|
|
379
|
+
x(
|
|
380
|
+
"email",
|
|
381
|
+
On,
|
|
382
|
+
(e) => ({
|
|
383
|
+
subject: e.subject,
|
|
384
|
+
body: e.body,
|
|
385
|
+
separator: e.separator || " "
|
|
386
|
+
}),
|
|
387
|
+
{
|
|
388
|
+
openShareDialogOnClick: !1,
|
|
389
|
+
onClick: (e, n) => {
|
|
390
|
+
window.location.href = n;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
);
|
|
394
|
+
function Nn(e, { appId: n, redirectUri: t, to: o }) {
|
|
395
|
+
return "https://www.facebook.com/dialog/send" + m({
|
|
396
|
+
link: e,
|
|
397
|
+
redirect_uri: t || e,
|
|
398
|
+
app_id: n,
|
|
399
|
+
to: o
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
x(
|
|
403
|
+
"facebookmessenger",
|
|
404
|
+
Nn,
|
|
405
|
+
(e) => ({
|
|
406
|
+
appId: e.appId,
|
|
407
|
+
redirectUri: e.redirectUri,
|
|
408
|
+
to: e.to
|
|
409
|
+
}),
|
|
410
|
+
{
|
|
411
|
+
windowWidth: 1e3,
|
|
412
|
+
windowHeight: 820
|
|
413
|
+
}
|
|
414
|
+
);
|
|
415
|
+
class Tn extends Error {
|
|
416
|
+
constructor(n) {
|
|
417
|
+
super(n), this.name = "AssertionError";
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
function b(e, n) {
|
|
421
|
+
if (!e)
|
|
422
|
+
throw new Tn(n);
|
|
423
|
+
}
|
|
424
|
+
function An(e, { hashtag: n }) {
|
|
425
|
+
return b(e, "facebook.url"), "https://www.facebook.com/sharer/sharer.php" + m({ u: e, hashtag: n });
|
|
426
|
+
}
|
|
427
|
+
const _n = x(
|
|
428
|
+
"facebook",
|
|
429
|
+
An,
|
|
430
|
+
(e) => ({ hashtag: e.hashtag }),
|
|
431
|
+
{
|
|
432
|
+
windowWidth: 550,
|
|
433
|
+
windowHeight: 400
|
|
434
|
+
}
|
|
435
|
+
), Mn = _n;
|
|
436
|
+
function jn() {
|
|
437
|
+
const e = Ve(!1);
|
|
438
|
+
return Ce(() => (e.current = !0, () => {
|
|
439
|
+
e.current = !1;
|
|
440
|
+
}), []), ze(() => e.current, []);
|
|
441
|
+
}
|
|
442
|
+
function En(e) {
|
|
443
|
+
var n = e, {
|
|
444
|
+
children: t = (h) => h,
|
|
445
|
+
className: o,
|
|
446
|
+
getCount: i,
|
|
447
|
+
url: a
|
|
448
|
+
} = n, l = pe(n, [
|
|
449
|
+
"children",
|
|
450
|
+
"className",
|
|
451
|
+
"getCount",
|
|
452
|
+
"url"
|
|
453
|
+
]);
|
|
454
|
+
const s = jn(), [c, d] = oe(void 0), [u, f] = oe(!1);
|
|
455
|
+
return Ce(() => {
|
|
456
|
+
f(!0), i(a, (h) => {
|
|
457
|
+
s() && (d(h), f(!1));
|
|
458
|
+
});
|
|
459
|
+
}, [a]), /* @__PURE__ */ p("span", ue(S({ className: ke("react-share__ShareCount", o) }, l), { children: !u && c !== void 0 && t(c) }));
|
|
460
|
+
}
|
|
461
|
+
function $(e) {
|
|
462
|
+
const n = (t) => /* @__PURE__ */ p(En, S({ getCount: e }, t));
|
|
463
|
+
return n.displayName = `ShareCount(${e.name})`, n;
|
|
464
|
+
}
|
|
465
|
+
function $n(e, n) {
|
|
466
|
+
const t = `https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;
|
|
467
|
+
E(t, (o, i) => {
|
|
468
|
+
n(
|
|
469
|
+
!o && i && i.og_object && i.og_object.engagement ? i.og_object.engagement.count : void 0
|
|
470
|
+
);
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
$($n);
|
|
474
|
+
function Ln(e, { title: n }) {
|
|
475
|
+
return b(e, "hatena.url"), `http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${n}`;
|
|
476
|
+
}
|
|
477
|
+
x(
|
|
478
|
+
"hatena",
|
|
479
|
+
Ln,
|
|
480
|
+
(e) => ({
|
|
481
|
+
title: e.title
|
|
482
|
+
}),
|
|
483
|
+
{
|
|
484
|
+
windowWidth: 660,
|
|
485
|
+
windowHeight: 460,
|
|
486
|
+
windowPosition: "windowCenter"
|
|
487
|
+
}
|
|
488
|
+
);
|
|
489
|
+
function Pn(e, n) {
|
|
490
|
+
E(
|
|
491
|
+
"https://bookmark.hatenaapis.com/count/entry" + m({
|
|
492
|
+
url: e
|
|
493
|
+
}),
|
|
494
|
+
(o, i) => {
|
|
495
|
+
n(i ?? void 0);
|
|
496
|
+
}
|
|
497
|
+
);
|
|
498
|
+
}
|
|
499
|
+
$(Pn);
|
|
500
|
+
function Wn(e, { title: n, description: t }) {
|
|
501
|
+
return b(e, "instapaper.url"), "http://www.instapaper.com/hello2" + m({
|
|
502
|
+
url: e,
|
|
503
|
+
title: n,
|
|
504
|
+
description: t
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
x(
|
|
508
|
+
"instapaper",
|
|
509
|
+
Wn,
|
|
510
|
+
(e) => ({
|
|
511
|
+
title: e.title,
|
|
512
|
+
description: e.description
|
|
513
|
+
}),
|
|
514
|
+
{
|
|
515
|
+
windowWidth: 500,
|
|
516
|
+
windowHeight: 500,
|
|
517
|
+
windowPosition: "windowCenter"
|
|
518
|
+
}
|
|
519
|
+
);
|
|
520
|
+
function Rn(e, { title: n }) {
|
|
521
|
+
return b(e, "line.url"), "https://social-plugins.line.me/lineit/share" + m({
|
|
522
|
+
url: e,
|
|
523
|
+
text: n
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
x(
|
|
527
|
+
"line",
|
|
528
|
+
Rn,
|
|
529
|
+
(e) => ({
|
|
530
|
+
title: e.title
|
|
531
|
+
}),
|
|
532
|
+
{
|
|
533
|
+
windowWidth: 500,
|
|
534
|
+
windowHeight: 500
|
|
535
|
+
}
|
|
536
|
+
);
|
|
537
|
+
function Dn(e, { title: n, summary: t, source: o }) {
|
|
538
|
+
return b(e, "linkedin.url"), "https://linkedin.com/shareArticle" + m({ url: e, mini: "true", title: n, summary: t, source: o });
|
|
539
|
+
}
|
|
540
|
+
const Bn = x(
|
|
541
|
+
"linkedin",
|
|
542
|
+
Dn,
|
|
543
|
+
({ title: e, summary: n, source: t }) => ({ title: e, summary: n, source: t }),
|
|
544
|
+
{
|
|
545
|
+
windowWidth: 750,
|
|
546
|
+
windowHeight: 600
|
|
547
|
+
}
|
|
548
|
+
), Hn = Bn;
|
|
549
|
+
function Vn(e, { title: n, description: t }) {
|
|
550
|
+
return b(e, "livejournal.url"), "https://www.livejournal.com/update.bml" + m({
|
|
551
|
+
subject: n,
|
|
552
|
+
event: t
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
x(
|
|
556
|
+
"livejournal",
|
|
557
|
+
Vn,
|
|
558
|
+
(e) => ({
|
|
559
|
+
title: e.title,
|
|
560
|
+
description: e.description
|
|
561
|
+
}),
|
|
562
|
+
{
|
|
563
|
+
windowWidth: 660,
|
|
564
|
+
windowHeight: 460
|
|
565
|
+
}
|
|
566
|
+
);
|
|
567
|
+
function zn(e, { title: n, description: t, imageUrl: o }) {
|
|
568
|
+
return b(e, "mailru.url"), "https://connect.mail.ru/share" + m({
|
|
569
|
+
url: e,
|
|
570
|
+
title: n,
|
|
571
|
+
description: t,
|
|
572
|
+
image_url: o
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
x(
|
|
576
|
+
"mailru",
|
|
577
|
+
zn,
|
|
578
|
+
(e) => ({
|
|
579
|
+
title: e.title,
|
|
580
|
+
description: e.description,
|
|
581
|
+
imageUrl: e.imageUrl
|
|
582
|
+
}),
|
|
583
|
+
{
|
|
584
|
+
windowWidth: 660,
|
|
585
|
+
windowHeight: 460
|
|
586
|
+
}
|
|
587
|
+
);
|
|
588
|
+
function Gn(e, { title: n, description: t, image: o }) {
|
|
589
|
+
return b(e, "ok.url"), "https://connect.ok.ru/offer" + m({
|
|
590
|
+
url: e,
|
|
591
|
+
title: n,
|
|
592
|
+
description: t,
|
|
593
|
+
imageUrl: o
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
x(
|
|
597
|
+
"ok",
|
|
598
|
+
Gn,
|
|
599
|
+
(e) => ({
|
|
600
|
+
title: e.title,
|
|
601
|
+
description: e.description,
|
|
602
|
+
image: e.image
|
|
603
|
+
}),
|
|
604
|
+
{
|
|
605
|
+
windowWidth: 588,
|
|
606
|
+
windowHeight: 480,
|
|
607
|
+
windowPosition: "screenCenter"
|
|
608
|
+
}
|
|
609
|
+
);
|
|
610
|
+
function Un(e, n) {
|
|
611
|
+
window.OK || (window.OK = {
|
|
612
|
+
Share: {
|
|
613
|
+
count: function(a, l) {
|
|
614
|
+
var s, c;
|
|
615
|
+
(c = (s = window.OK.callbacks)[a]) == null || c.call(s, l);
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
callbacks: []
|
|
619
|
+
});
|
|
620
|
+
const t = "https://connect.ok.ru/dk", o = window.OK.callbacks.length;
|
|
621
|
+
return window.ODKL = {
|
|
622
|
+
updateCount(i, a) {
|
|
623
|
+
var l, s;
|
|
624
|
+
const c = i === "" ? 0 : parseInt(i.replace("react-share-", ""), 10);
|
|
625
|
+
(s = (l = window.OK.callbacks)[c]) == null || s.call(l, a === "" ? void 0 : parseInt(a, 10));
|
|
626
|
+
}
|
|
627
|
+
}, window.OK.callbacks.push(n), E(
|
|
628
|
+
t + m({
|
|
629
|
+
"st.cmd": "extLike",
|
|
630
|
+
uid: `react-share-${o}`,
|
|
631
|
+
ref: e
|
|
632
|
+
})
|
|
633
|
+
);
|
|
634
|
+
}
|
|
635
|
+
$(Un);
|
|
636
|
+
function Fn(e, { media: n, description: t, pinId: o }) {
|
|
637
|
+
return o ? `https://pinterest.com/pin/${o}/repin/x/` : (b(e, "pinterest.url"), b(n, "pinterest.media"), "https://pinterest.com/pin/create/button/" + m({
|
|
638
|
+
url: e,
|
|
639
|
+
media: n,
|
|
640
|
+
description: t
|
|
641
|
+
}));
|
|
642
|
+
}
|
|
643
|
+
x(
|
|
644
|
+
"pinterest",
|
|
645
|
+
Fn,
|
|
646
|
+
(e) => ({
|
|
647
|
+
media: e.media,
|
|
648
|
+
description: e.description,
|
|
649
|
+
pinId: e.pinId
|
|
650
|
+
}),
|
|
651
|
+
{
|
|
652
|
+
windowWidth: 1e3,
|
|
653
|
+
windowHeight: 730
|
|
654
|
+
}
|
|
655
|
+
);
|
|
656
|
+
function Kn(e, n) {
|
|
657
|
+
E(
|
|
658
|
+
"https://api.pinterest.com/v1/urls/count.json" + m({
|
|
659
|
+
url: e
|
|
660
|
+
}),
|
|
661
|
+
(o, i) => {
|
|
662
|
+
n(i ? i.count : void 0);
|
|
663
|
+
}
|
|
664
|
+
);
|
|
665
|
+
}
|
|
666
|
+
$(Kn);
|
|
667
|
+
function In(e, { title: n }) {
|
|
668
|
+
return b(e, "pocket.url"), "https://getpocket.com/save" + m({
|
|
669
|
+
url: e,
|
|
670
|
+
title: n
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
x(
|
|
674
|
+
"pocket",
|
|
675
|
+
In,
|
|
676
|
+
(e) => ({
|
|
677
|
+
title: e.title
|
|
678
|
+
}),
|
|
679
|
+
{
|
|
680
|
+
windowWidth: 500,
|
|
681
|
+
windowHeight: 500
|
|
682
|
+
}
|
|
683
|
+
);
|
|
684
|
+
function qn(e, { title: n }) {
|
|
685
|
+
return b(e, "reddit.url"), "https://www.reddit.com/submit" + m({
|
|
686
|
+
url: e,
|
|
687
|
+
title: n
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
x(
|
|
691
|
+
"reddit",
|
|
692
|
+
qn,
|
|
693
|
+
(e) => ({
|
|
694
|
+
title: e.title
|
|
695
|
+
}),
|
|
696
|
+
{
|
|
697
|
+
windowWidth: 660,
|
|
698
|
+
windowHeight: 460,
|
|
699
|
+
windowPosition: "windowCenter"
|
|
700
|
+
}
|
|
701
|
+
);
|
|
702
|
+
function Xn(e, { title: n }) {
|
|
703
|
+
return b(e, "gab.url"), "https://gab.com/compose" + m({
|
|
704
|
+
url: e,
|
|
705
|
+
text: n
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
x(
|
|
709
|
+
"gab",
|
|
710
|
+
Xn,
|
|
711
|
+
(e) => ({
|
|
712
|
+
title: e.title
|
|
713
|
+
}),
|
|
714
|
+
{
|
|
715
|
+
windowWidth: 660,
|
|
716
|
+
windowHeight: 640,
|
|
717
|
+
windowPosition: "windowCenter"
|
|
718
|
+
}
|
|
719
|
+
);
|
|
720
|
+
function Qn(e, n) {
|
|
721
|
+
const t = `https://www.reddit.com/api/info.json?limit=1&url=${e}`;
|
|
722
|
+
E(t, { param: "jsonp" }, (o, i) => {
|
|
723
|
+
n(
|
|
724
|
+
!o && i && i.data && i.data.children.length > 0 && i.data.children[0].data.score ? i.data.children[0].data.score : void 0
|
|
725
|
+
);
|
|
726
|
+
});
|
|
727
|
+
}
|
|
728
|
+
$(Qn);
|
|
729
|
+
function Yn(e, { title: n }) {
|
|
730
|
+
return b(e, "telegram.url"), "https://telegram.me/share/url" + m({
|
|
731
|
+
url: e,
|
|
732
|
+
text: n
|
|
733
|
+
});
|
|
734
|
+
}
|
|
735
|
+
x(
|
|
736
|
+
"telegram",
|
|
737
|
+
Yn,
|
|
738
|
+
(e) => ({
|
|
739
|
+
title: e.title
|
|
740
|
+
}),
|
|
741
|
+
{
|
|
742
|
+
windowWidth: 550,
|
|
743
|
+
windowHeight: 400
|
|
744
|
+
}
|
|
745
|
+
);
|
|
746
|
+
function Zn(e, {
|
|
747
|
+
title: n,
|
|
748
|
+
caption: t,
|
|
749
|
+
tags: o,
|
|
750
|
+
posttype: i
|
|
751
|
+
}) {
|
|
752
|
+
return b(e, "tumblr.url"), "https://www.tumblr.com/widgets/share/tool" + m({
|
|
753
|
+
canonicalUrl: e,
|
|
754
|
+
title: n,
|
|
755
|
+
caption: t,
|
|
756
|
+
tags: o,
|
|
757
|
+
posttype: i
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
x(
|
|
761
|
+
"tumblr",
|
|
762
|
+
Zn,
|
|
763
|
+
(e) => ({
|
|
764
|
+
title: e.title,
|
|
765
|
+
tags: (e.tags || []).join(","),
|
|
766
|
+
caption: e.caption,
|
|
767
|
+
posttype: e.posttype || "link"
|
|
768
|
+
}),
|
|
769
|
+
{
|
|
770
|
+
windowWidth: 660,
|
|
771
|
+
windowHeight: 460
|
|
772
|
+
}
|
|
773
|
+
);
|
|
774
|
+
function Jn(e, n) {
|
|
775
|
+
return E(
|
|
776
|
+
"https://api.tumblr.com/v2/share/stats" + m({
|
|
777
|
+
url: e
|
|
778
|
+
}),
|
|
779
|
+
(o, i) => {
|
|
780
|
+
n(!o && i && i.response ? i.response.note_count : void 0);
|
|
781
|
+
}
|
|
782
|
+
);
|
|
783
|
+
}
|
|
784
|
+
$(Jn);
|
|
785
|
+
function et(e, {
|
|
786
|
+
title: n,
|
|
787
|
+
via: t,
|
|
788
|
+
hashtags: o = [],
|
|
789
|
+
related: i = []
|
|
790
|
+
}) {
|
|
791
|
+
return b(e, "twitter.url"), b(Array.isArray(o), "twitter.hashtags is not an array"), b(Array.isArray(i), "twitter.related is not an array"), "https://twitter.com/intent/tweet" + m({
|
|
792
|
+
url: e,
|
|
793
|
+
text: n,
|
|
794
|
+
via: t,
|
|
795
|
+
hashtags: o.length > 0 ? o.join(",") : void 0,
|
|
796
|
+
related: i.length > 0 ? i.join(",") : void 0
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
x(
|
|
800
|
+
"twitter",
|
|
801
|
+
et,
|
|
802
|
+
(e) => ({
|
|
803
|
+
hashtags: e.hashtags,
|
|
804
|
+
title: e.title,
|
|
805
|
+
via: e.via,
|
|
806
|
+
related: e.related
|
|
807
|
+
}),
|
|
808
|
+
{
|
|
809
|
+
windowWidth: 550,
|
|
810
|
+
windowHeight: 400
|
|
811
|
+
}
|
|
812
|
+
);
|
|
813
|
+
function nt(e, { title: n, separator: t }) {
|
|
814
|
+
return b(e, "viber.url"), "viber://forward" + m({
|
|
815
|
+
text: n ? n + t + e : e
|
|
816
|
+
});
|
|
817
|
+
}
|
|
818
|
+
x(
|
|
819
|
+
"viber",
|
|
820
|
+
nt,
|
|
821
|
+
(e) => ({
|
|
822
|
+
title: e.title,
|
|
823
|
+
separator: e.separator || " "
|
|
824
|
+
}),
|
|
825
|
+
{
|
|
826
|
+
windowWidth: 660,
|
|
827
|
+
windowHeight: 460
|
|
828
|
+
}
|
|
829
|
+
);
|
|
830
|
+
function tt(e, { title: n, image: t, noParse: o, noVkLinks: i }) {
|
|
831
|
+
return b(e, "vk.url"), "https://vk.com/share.php" + m({
|
|
832
|
+
url: e,
|
|
833
|
+
title: n,
|
|
834
|
+
image: t,
|
|
835
|
+
noparse: o ? 1 : 0,
|
|
836
|
+
no_vk_links: i ? 1 : 0
|
|
837
|
+
});
|
|
838
|
+
}
|
|
839
|
+
x(
|
|
840
|
+
"vk",
|
|
841
|
+
tt,
|
|
842
|
+
(e) => ({
|
|
843
|
+
title: e.title,
|
|
844
|
+
image: e.image,
|
|
845
|
+
noParse: e.noParse,
|
|
846
|
+
noVkLinks: e.noVkLinks
|
|
847
|
+
}),
|
|
848
|
+
{
|
|
849
|
+
windowWidth: 660,
|
|
850
|
+
windowHeight: 460
|
|
851
|
+
}
|
|
852
|
+
);
|
|
853
|
+
function ot(e, n) {
|
|
854
|
+
window.VK || (window.VK = {}), window.VK.Share = {
|
|
855
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
856
|
+
count: (i, a) => {
|
|
857
|
+
var l, s;
|
|
858
|
+
return (s = (l = window.VK.callbacks) == null ? void 0 : l[i]) == null ? void 0 : s.call(l, a);
|
|
859
|
+
}
|
|
860
|
+
}, window.VK.callbacks = [];
|
|
861
|
+
const t = "https://vk.com/share.php", o = window.VK.callbacks.length;
|
|
862
|
+
return window.VK.callbacks.push(n), E(
|
|
863
|
+
t + m({
|
|
864
|
+
act: "count",
|
|
865
|
+
index: o,
|
|
866
|
+
url: e
|
|
867
|
+
})
|
|
868
|
+
);
|
|
869
|
+
}
|
|
870
|
+
$(ot);
|
|
871
|
+
function rt(e, { title: n, image: t }) {
|
|
872
|
+
return b(e, "weibo.url"), "http://service.weibo.com/share/share.php" + m({
|
|
873
|
+
url: e,
|
|
874
|
+
title: n,
|
|
875
|
+
pic: t
|
|
876
|
+
});
|
|
877
|
+
}
|
|
878
|
+
x(
|
|
879
|
+
"weibo",
|
|
880
|
+
rt,
|
|
881
|
+
(e) => ({
|
|
882
|
+
title: e.title,
|
|
883
|
+
image: e.image
|
|
884
|
+
}),
|
|
885
|
+
{
|
|
886
|
+
windowWidth: 660,
|
|
887
|
+
windowHeight: 550,
|
|
888
|
+
windowPosition: "screenCenter"
|
|
889
|
+
}
|
|
890
|
+
);
|
|
891
|
+
function it() {
|
|
892
|
+
return /(android|iphone|ipad|mobile)/i.test(navigator.userAgent);
|
|
893
|
+
}
|
|
894
|
+
function at(e, { title: n, separator: t }) {
|
|
895
|
+
return b(e, "whatsapp.url"), "https://" + (it() ? "api" : "web") + ".whatsapp.com/send" + m({
|
|
896
|
+
text: n ? n + t + e : e
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
x(
|
|
900
|
+
"whatsapp",
|
|
901
|
+
at,
|
|
902
|
+
(e) => ({
|
|
903
|
+
title: e.title,
|
|
904
|
+
separator: e.separator || " "
|
|
905
|
+
}),
|
|
906
|
+
{
|
|
907
|
+
windowWidth: 550,
|
|
908
|
+
windowHeight: 400
|
|
909
|
+
}
|
|
910
|
+
);
|
|
911
|
+
function st(e, { quote: n, hashtag: t }) {
|
|
912
|
+
return b(e, "workplace.url"), "https://work.facebook.com/sharer.php" + m({
|
|
913
|
+
u: e,
|
|
914
|
+
quote: n,
|
|
915
|
+
hashtag: t
|
|
916
|
+
});
|
|
917
|
+
}
|
|
918
|
+
x(
|
|
919
|
+
"workplace",
|
|
920
|
+
st,
|
|
921
|
+
(e) => ({
|
|
922
|
+
quote: e.quote,
|
|
923
|
+
hashtag: e.hashtag
|
|
924
|
+
}),
|
|
925
|
+
{
|
|
926
|
+
windowWidth: 550,
|
|
927
|
+
windowHeight: 400
|
|
928
|
+
}
|
|
929
|
+
);
|
|
930
|
+
var fe = {}, ct = Ue;
|
|
931
|
+
Object.defineProperty(fe, "__esModule", {
|
|
932
|
+
value: !0
|
|
933
|
+
});
|
|
934
|
+
var _e = fe.default = void 0, dt = ct(Ge()), lt = Le, ut = (0, dt.default)(/* @__PURE__ */ (0, lt.jsx)("circle", {
|
|
935
|
+
cx: "12",
|
|
936
|
+
cy: "12",
|
|
937
|
+
r: "8"
|
|
938
|
+
}), "FiberManualRecord");
|
|
939
|
+
_e = fe.default = ut;
|
|
940
|
+
function pt(e) {
|
|
941
|
+
return U("MuiCard", e);
|
|
942
|
+
}
|
|
943
|
+
G("MuiCard", ["root"]);
|
|
944
|
+
const ft = ["className", "raised"], ht = (e) => {
|
|
945
|
+
const {
|
|
946
|
+
classes: n
|
|
947
|
+
} = e;
|
|
948
|
+
return X({
|
|
949
|
+
root: ["root"]
|
|
950
|
+
}, pt, n);
|
|
951
|
+
}, mt = F(Fe, {
|
|
952
|
+
name: "MuiCard",
|
|
953
|
+
slot: "Root",
|
|
954
|
+
overridesResolver: (e, n) => n.root
|
|
955
|
+
})(() => ({
|
|
956
|
+
overflow: "hidden"
|
|
957
|
+
})), Me = /* @__PURE__ */ j.forwardRef(function(n, t) {
|
|
958
|
+
const o = K({
|
|
959
|
+
props: n,
|
|
960
|
+
name: "MuiCard"
|
|
961
|
+
}), {
|
|
962
|
+
className: i,
|
|
963
|
+
raised: a = !1
|
|
964
|
+
} = o, l = I(o, ft), s = y({}, o, {
|
|
965
|
+
raised: a
|
|
966
|
+
}), c = ht(s);
|
|
967
|
+
return /* @__PURE__ */ p(mt, y({
|
|
968
|
+
className: q(c.root, i),
|
|
969
|
+
elevation: a ? 8 : void 0,
|
|
970
|
+
ref: t,
|
|
971
|
+
ownerState: s
|
|
972
|
+
}, l));
|
|
973
|
+
});
|
|
974
|
+
process.env.NODE_ENV !== "production" && (Me.propTypes = {
|
|
975
|
+
// ----------------------------- Warning --------------------------------
|
|
976
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
977
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
978
|
+
// ----------------------------------------------------------------------
|
|
979
|
+
/**
|
|
980
|
+
* The content of the component.
|
|
981
|
+
*/
|
|
982
|
+
children: r.node,
|
|
983
|
+
/**
|
|
984
|
+
* Override or extend the styles applied to the component.
|
|
985
|
+
*/
|
|
986
|
+
classes: r.object,
|
|
987
|
+
/**
|
|
988
|
+
* @ignore
|
|
989
|
+
*/
|
|
990
|
+
className: r.string,
|
|
991
|
+
/**
|
|
992
|
+
* If `true`, the card will use raised styling.
|
|
993
|
+
* @default false
|
|
994
|
+
*/
|
|
995
|
+
raised: Oe(r.bool, (e) => e.raised && e.variant === "outlined" ? new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.') : null),
|
|
996
|
+
/**
|
|
997
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
998
|
+
*/
|
|
999
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
1000
|
+
});
|
|
1001
|
+
function gt(e) {
|
|
1002
|
+
return U("MuiCardActions", e);
|
|
1003
|
+
}
|
|
1004
|
+
G("MuiCardActions", ["root", "spacing"]);
|
|
1005
|
+
const wt = ["disableSpacing", "className"], bt = (e) => {
|
|
1006
|
+
const {
|
|
1007
|
+
classes: n,
|
|
1008
|
+
disableSpacing: t
|
|
1009
|
+
} = e;
|
|
1010
|
+
return X({
|
|
1011
|
+
root: ["root", !t && "spacing"]
|
|
1012
|
+
}, gt, n);
|
|
1013
|
+
}, xt = F("div", {
|
|
1014
|
+
name: "MuiCardActions",
|
|
1015
|
+
slot: "Root",
|
|
1016
|
+
overridesResolver: (e, n) => {
|
|
1017
|
+
const {
|
|
1018
|
+
ownerState: t
|
|
1019
|
+
} = e;
|
|
1020
|
+
return [n.root, !t.disableSpacing && n.spacing];
|
|
1021
|
+
}
|
|
1022
|
+
})(({
|
|
1023
|
+
ownerState: e
|
|
1024
|
+
}) => y({
|
|
1025
|
+
display: "flex",
|
|
1026
|
+
alignItems: "center",
|
|
1027
|
+
padding: 8
|
|
1028
|
+
}, !e.disableSpacing && {
|
|
1029
|
+
"& > :not(:first-of-type)": {
|
|
1030
|
+
marginLeft: 8
|
|
1031
|
+
}
|
|
1032
|
+
})), je = /* @__PURE__ */ j.forwardRef(function(n, t) {
|
|
1033
|
+
const o = K({
|
|
1034
|
+
props: n,
|
|
1035
|
+
name: "MuiCardActions"
|
|
1036
|
+
}), {
|
|
1037
|
+
disableSpacing: i = !1,
|
|
1038
|
+
className: a
|
|
1039
|
+
} = o, l = I(o, wt), s = y({}, o, {
|
|
1040
|
+
disableSpacing: i
|
|
1041
|
+
}), c = bt(s);
|
|
1042
|
+
return /* @__PURE__ */ p(xt, y({
|
|
1043
|
+
className: q(c.root, a),
|
|
1044
|
+
ownerState: s,
|
|
1045
|
+
ref: t
|
|
1046
|
+
}, l));
|
|
1047
|
+
});
|
|
1048
|
+
process.env.NODE_ENV !== "production" && (je.propTypes = {
|
|
1049
|
+
// ----------------------------- Warning --------------------------------
|
|
1050
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1051
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
1052
|
+
// ----------------------------------------------------------------------
|
|
1053
|
+
/**
|
|
1054
|
+
* The content of the component.
|
|
1055
|
+
*/
|
|
1056
|
+
children: r.node,
|
|
1057
|
+
/**
|
|
1058
|
+
* Override or extend the styles applied to the component.
|
|
1059
|
+
*/
|
|
1060
|
+
classes: r.object,
|
|
1061
|
+
/**
|
|
1062
|
+
* @ignore
|
|
1063
|
+
*/
|
|
1064
|
+
className: r.string,
|
|
1065
|
+
/**
|
|
1066
|
+
* If `true`, the actions do not have additional margin.
|
|
1067
|
+
* @default false
|
|
1068
|
+
*/
|
|
1069
|
+
disableSpacing: r.bool,
|
|
1070
|
+
/**
|
|
1071
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1072
|
+
*/
|
|
1073
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
1074
|
+
});
|
|
1075
|
+
function vt(e) {
|
|
1076
|
+
return U("MuiCardContent", e);
|
|
1077
|
+
}
|
|
1078
|
+
G("MuiCardContent", ["root"]);
|
|
1079
|
+
const yt = ["className", "component"], Ct = (e) => {
|
|
1080
|
+
const {
|
|
1081
|
+
classes: n
|
|
1082
|
+
} = e;
|
|
1083
|
+
return X({
|
|
1084
|
+
root: ["root"]
|
|
1085
|
+
}, vt, n);
|
|
1086
|
+
}, kt = F("div", {
|
|
1087
|
+
name: "MuiCardContent",
|
|
1088
|
+
slot: "Root",
|
|
1089
|
+
overridesResolver: (e, n) => n.root
|
|
1090
|
+
})(() => ({
|
|
1091
|
+
padding: 16,
|
|
1092
|
+
"&:last-child": {
|
|
1093
|
+
paddingBottom: 24
|
|
1094
|
+
}
|
|
1095
|
+
})), Ee = /* @__PURE__ */ j.forwardRef(function(n, t) {
|
|
1096
|
+
const o = K({
|
|
1097
|
+
props: n,
|
|
1098
|
+
name: "MuiCardContent"
|
|
1099
|
+
}), {
|
|
1100
|
+
className: i,
|
|
1101
|
+
component: a = "div"
|
|
1102
|
+
} = o, l = I(o, yt), s = y({}, o, {
|
|
1103
|
+
component: a
|
|
1104
|
+
}), c = Ct(s);
|
|
1105
|
+
return /* @__PURE__ */ p(kt, y({
|
|
1106
|
+
as: a,
|
|
1107
|
+
className: q(c.root, i),
|
|
1108
|
+
ownerState: s,
|
|
1109
|
+
ref: t
|
|
1110
|
+
}, l));
|
|
1111
|
+
});
|
|
1112
|
+
process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
1113
|
+
// ----------------------------- Warning --------------------------------
|
|
1114
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1115
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
1116
|
+
// ----------------------------------------------------------------------
|
|
1117
|
+
/**
|
|
1118
|
+
* The content of the component.
|
|
1119
|
+
*/
|
|
1120
|
+
children: r.node,
|
|
1121
|
+
/**
|
|
1122
|
+
* Override or extend the styles applied to the component.
|
|
1123
|
+
*/
|
|
1124
|
+
classes: r.object,
|
|
1125
|
+
/**
|
|
1126
|
+
* @ignore
|
|
1127
|
+
*/
|
|
1128
|
+
className: r.string,
|
|
1129
|
+
/**
|
|
1130
|
+
* The component used for the root node.
|
|
1131
|
+
* Either a string to use a HTML element or a component.
|
|
1132
|
+
*/
|
|
1133
|
+
component: r.elementType,
|
|
1134
|
+
/**
|
|
1135
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1136
|
+
*/
|
|
1137
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
1138
|
+
});
|
|
1139
|
+
function St(e) {
|
|
1140
|
+
return U("MuiCardMedia", e);
|
|
1141
|
+
}
|
|
1142
|
+
G("MuiCardMedia", ["root", "media", "img"]);
|
|
1143
|
+
const Ot = ["children", "className", "component", "image", "src", "style"], Nt = (e) => {
|
|
1144
|
+
const {
|
|
1145
|
+
classes: n,
|
|
1146
|
+
isMediaComponent: t,
|
|
1147
|
+
isImageComponent: o
|
|
1148
|
+
} = e;
|
|
1149
|
+
return X({
|
|
1150
|
+
root: ["root", t && "media", o && "img"]
|
|
1151
|
+
}, St, n);
|
|
1152
|
+
}, Tt = F("div", {
|
|
1153
|
+
name: "MuiCardMedia",
|
|
1154
|
+
slot: "Root",
|
|
1155
|
+
overridesResolver: (e, n) => {
|
|
1156
|
+
const {
|
|
1157
|
+
ownerState: t
|
|
1158
|
+
} = e, {
|
|
1159
|
+
isMediaComponent: o,
|
|
1160
|
+
isImageComponent: i
|
|
1161
|
+
} = t;
|
|
1162
|
+
return [n.root, o && n.media, i && n.img];
|
|
1163
|
+
}
|
|
1164
|
+
})(({
|
|
1165
|
+
ownerState: e
|
|
1166
|
+
}) => y({
|
|
1167
|
+
display: "block",
|
|
1168
|
+
backgroundSize: "cover",
|
|
1169
|
+
backgroundRepeat: "no-repeat",
|
|
1170
|
+
backgroundPosition: "center"
|
|
1171
|
+
}, e.isMediaComponent && {
|
|
1172
|
+
width: "100%"
|
|
1173
|
+
}, e.isImageComponent && {
|
|
1174
|
+
// ⚠️ object-fit is not supported by IE11.
|
|
1175
|
+
objectFit: "cover"
|
|
1176
|
+
})), At = ["video", "audio", "picture", "iframe", "img"], _t = ["picture", "img"], $e = /* @__PURE__ */ j.forwardRef(function(n, t) {
|
|
1177
|
+
const o = K({
|
|
1178
|
+
props: n,
|
|
1179
|
+
name: "MuiCardMedia"
|
|
1180
|
+
}), {
|
|
1181
|
+
children: i,
|
|
1182
|
+
className: a,
|
|
1183
|
+
component: l = "div",
|
|
1184
|
+
image: s,
|
|
1185
|
+
src: c,
|
|
1186
|
+
style: d
|
|
1187
|
+
} = o, u = I(o, Ot), f = At.indexOf(l) !== -1, h = !f && s ? y({
|
|
1188
|
+
backgroundImage: `url("${s}")`
|
|
1189
|
+
}, d) : d, g = y({}, o, {
|
|
1190
|
+
component: l,
|
|
1191
|
+
isMediaComponent: f,
|
|
1192
|
+
isImageComponent: _t.indexOf(l) !== -1
|
|
1193
|
+
}), w = Nt(g);
|
|
1194
|
+
return /* @__PURE__ */ p(Tt, y({
|
|
1195
|
+
className: q(w.root, a),
|
|
1196
|
+
as: l,
|
|
1197
|
+
role: !f && s ? "img" : void 0,
|
|
1198
|
+
ref: t,
|
|
1199
|
+
style: h,
|
|
1200
|
+
ownerState: g,
|
|
1201
|
+
src: f ? s || c : void 0
|
|
1202
|
+
}, u, {
|
|
1203
|
+
children: i
|
|
1204
|
+
}));
|
|
1205
|
+
});
|
|
1206
|
+
process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
1207
|
+
// ----------------------------- Warning --------------------------------
|
|
1208
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1209
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
1210
|
+
// ----------------------------------------------------------------------
|
|
1211
|
+
/**
|
|
1212
|
+
* The content of the component.
|
|
1213
|
+
*/
|
|
1214
|
+
children: Oe(r.node, (e) => !e.children && !e.image && !e.src && !e.component ? new Error("MUI: Either `children`, `image`, `src` or `component` prop must be specified.") : null),
|
|
1215
|
+
/**
|
|
1216
|
+
* Override or extend the styles applied to the component.
|
|
1217
|
+
*/
|
|
1218
|
+
classes: r.object,
|
|
1219
|
+
/**
|
|
1220
|
+
* @ignore
|
|
1221
|
+
*/
|
|
1222
|
+
className: r.string,
|
|
1223
|
+
/**
|
|
1224
|
+
* The component used for the root node.
|
|
1225
|
+
* Either a string to use a HTML element or a component.
|
|
1226
|
+
*/
|
|
1227
|
+
component: r.elementType,
|
|
1228
|
+
/**
|
|
1229
|
+
* Image to be displayed as a background image.
|
|
1230
|
+
* Either `image` or `src` prop must be specified.
|
|
1231
|
+
* Note that caller must specify height otherwise the image will not be visible.
|
|
1232
|
+
*/
|
|
1233
|
+
image: r.string,
|
|
1234
|
+
/**
|
|
1235
|
+
* An alias for `image` property.
|
|
1236
|
+
* Available only with media components.
|
|
1237
|
+
* Media components: `video`, `audio`, `picture`, `iframe`, `img`.
|
|
1238
|
+
*/
|
|
1239
|
+
src: r.string,
|
|
1240
|
+
/**
|
|
1241
|
+
* @ignore
|
|
1242
|
+
*/
|
|
1243
|
+
style: r.object,
|
|
1244
|
+
/**
|
|
1245
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1246
|
+
*/
|
|
1247
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
1248
|
+
});
|
|
1249
|
+
const de = /* @__PURE__ */ j.createContext();
|
|
1250
|
+
process.env.NODE_ENV !== "production" && (de.displayName = "GridContext");
|
|
1251
|
+
function Mt(e) {
|
|
1252
|
+
return U("MuiGrid", e);
|
|
1253
|
+
}
|
|
1254
|
+
const jt = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Et = ["column-reverse", "column", "row-reverse", "row"], $t = ["nowrap", "wrap-reverse", "wrap"], D = ["auto", !0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], he = G("MuiGrid", [
|
|
1255
|
+
"root",
|
|
1256
|
+
"container",
|
|
1257
|
+
"item",
|
|
1258
|
+
"zeroMinWidth",
|
|
1259
|
+
// spacings
|
|
1260
|
+
...jt.map((e) => `spacing-xs-${e}`),
|
|
1261
|
+
// direction values
|
|
1262
|
+
...Et.map((e) => `direction-xs-${e}`),
|
|
1263
|
+
// wrap values
|
|
1264
|
+
...$t.map((e) => `wrap-xs-${e}`),
|
|
1265
|
+
// grid sizes for all breakpoints
|
|
1266
|
+
...D.map((e) => `grid-xs-${e}`),
|
|
1267
|
+
...D.map((e) => `grid-sm-${e}`),
|
|
1268
|
+
...D.map((e) => `grid-md-${e}`),
|
|
1269
|
+
...D.map((e) => `grid-lg-${e}`),
|
|
1270
|
+
...D.map((e) => `grid-xl-${e}`)
|
|
1271
|
+
]), Lt = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
|
|
1272
|
+
function W(e) {
|
|
1273
|
+
const n = parseFloat(e);
|
|
1274
|
+
return `${n}${String(e).replace(String(n), "") || "px"}`;
|
|
1275
|
+
}
|
|
1276
|
+
function Pt({
|
|
1277
|
+
theme: e,
|
|
1278
|
+
ownerState: n
|
|
1279
|
+
}) {
|
|
1280
|
+
let t;
|
|
1281
|
+
return e.breakpoints.keys.reduce((o, i) => {
|
|
1282
|
+
let a = {};
|
|
1283
|
+
if (n[i] && (t = n[i]), !t)
|
|
1284
|
+
return o;
|
|
1285
|
+
if (t === !0)
|
|
1286
|
+
a = {
|
|
1287
|
+
flexBasis: 0,
|
|
1288
|
+
flexGrow: 1,
|
|
1289
|
+
maxWidth: "100%"
|
|
1290
|
+
};
|
|
1291
|
+
else if (t === "auto")
|
|
1292
|
+
a = {
|
|
1293
|
+
flexBasis: "auto",
|
|
1294
|
+
flexGrow: 0,
|
|
1295
|
+
flexShrink: 0,
|
|
1296
|
+
maxWidth: "none",
|
|
1297
|
+
width: "auto"
|
|
1298
|
+
};
|
|
1299
|
+
else {
|
|
1300
|
+
const l = ie({
|
|
1301
|
+
values: n.columns,
|
|
1302
|
+
breakpoints: e.breakpoints.values
|
|
1303
|
+
}), s = typeof l == "object" ? l[i] : l;
|
|
1304
|
+
if (s == null)
|
|
1305
|
+
return o;
|
|
1306
|
+
const c = `${Math.round(t / s * 1e8) / 1e6}%`;
|
|
1307
|
+
let d = {};
|
|
1308
|
+
if (n.container && n.item && n.columnSpacing !== 0) {
|
|
1309
|
+
const u = e.spacing(n.columnSpacing);
|
|
1310
|
+
if (u !== "0px") {
|
|
1311
|
+
const f = `calc(${c} + ${W(u)})`;
|
|
1312
|
+
d = {
|
|
1313
|
+
flexBasis: f,
|
|
1314
|
+
maxWidth: f
|
|
1315
|
+
};
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
a = y({
|
|
1319
|
+
flexBasis: c,
|
|
1320
|
+
flexGrow: 0,
|
|
1321
|
+
maxWidth: c
|
|
1322
|
+
}, d);
|
|
1323
|
+
}
|
|
1324
|
+
return e.breakpoints.values[i] === 0 ? Object.assign(o, a) : o[e.breakpoints.up(i)] = a, o;
|
|
1325
|
+
}, {});
|
|
1326
|
+
}
|
|
1327
|
+
function Wt({
|
|
1328
|
+
theme: e,
|
|
1329
|
+
ownerState: n
|
|
1330
|
+
}) {
|
|
1331
|
+
const t = ie({
|
|
1332
|
+
values: n.direction,
|
|
1333
|
+
breakpoints: e.breakpoints.values
|
|
1334
|
+
});
|
|
1335
|
+
return le({
|
|
1336
|
+
theme: e
|
|
1337
|
+
}, t, (o) => {
|
|
1338
|
+
const i = {
|
|
1339
|
+
flexDirection: o
|
|
1340
|
+
};
|
|
1341
|
+
return o.indexOf("column") === 0 && (i[`& > .${he.item}`] = {
|
|
1342
|
+
maxWidth: "none"
|
|
1343
|
+
}), i;
|
|
1344
|
+
});
|
|
1345
|
+
}
|
|
1346
|
+
function Rt({
|
|
1347
|
+
theme: e,
|
|
1348
|
+
ownerState: n
|
|
1349
|
+
}) {
|
|
1350
|
+
const {
|
|
1351
|
+
container: t,
|
|
1352
|
+
rowSpacing: o
|
|
1353
|
+
} = n;
|
|
1354
|
+
let i = {};
|
|
1355
|
+
if (t && o !== 0) {
|
|
1356
|
+
const a = ie({
|
|
1357
|
+
values: o,
|
|
1358
|
+
breakpoints: e.breakpoints.values
|
|
1359
|
+
});
|
|
1360
|
+
i = le({
|
|
1361
|
+
theme: e
|
|
1362
|
+
}, a, (l) => {
|
|
1363
|
+
const s = e.spacing(l);
|
|
1364
|
+
return s !== "0px" ? {
|
|
1365
|
+
marginTop: `-${W(s)}`,
|
|
1366
|
+
[`& > .${he.item}`]: {
|
|
1367
|
+
paddingTop: W(s)
|
|
1368
|
+
}
|
|
1369
|
+
} : {};
|
|
1370
|
+
});
|
|
1371
|
+
}
|
|
1372
|
+
return i;
|
|
1373
|
+
}
|
|
1374
|
+
function Dt({
|
|
1375
|
+
theme: e,
|
|
1376
|
+
ownerState: n
|
|
1377
|
+
}) {
|
|
1378
|
+
const {
|
|
1379
|
+
container: t,
|
|
1380
|
+
columnSpacing: o
|
|
1381
|
+
} = n;
|
|
1382
|
+
let i = {};
|
|
1383
|
+
if (t && o !== 0) {
|
|
1384
|
+
const a = ie({
|
|
1385
|
+
values: o,
|
|
1386
|
+
breakpoints: e.breakpoints.values
|
|
1387
|
+
});
|
|
1388
|
+
i = le({
|
|
1389
|
+
theme: e
|
|
1390
|
+
}, a, (l) => {
|
|
1391
|
+
const s = e.spacing(l);
|
|
1392
|
+
return s !== "0px" ? {
|
|
1393
|
+
width: `calc(100% + ${W(s)})`,
|
|
1394
|
+
marginLeft: `-${W(s)}`,
|
|
1395
|
+
[`& > .${he.item}`]: {
|
|
1396
|
+
paddingLeft: W(s)
|
|
1397
|
+
}
|
|
1398
|
+
} : {};
|
|
1399
|
+
});
|
|
1400
|
+
}
|
|
1401
|
+
return i;
|
|
1402
|
+
}
|
|
1403
|
+
function Bt(e, n, t = {}) {
|
|
1404
|
+
if (!e || e <= 0)
|
|
1405
|
+
return [];
|
|
1406
|
+
if (typeof e == "string" && !Number.isNaN(Number(e)) || typeof e == "number")
|
|
1407
|
+
return [t[`spacing-xs-${String(e)}`]];
|
|
1408
|
+
const o = [];
|
|
1409
|
+
return n.forEach((i) => {
|
|
1410
|
+
const a = e[i];
|
|
1411
|
+
Number(a) > 0 && o.push(t[`spacing-${i}-${String(a)}`]);
|
|
1412
|
+
}), o;
|
|
1413
|
+
}
|
|
1414
|
+
const Ht = F("div", {
|
|
1415
|
+
name: "MuiGrid",
|
|
1416
|
+
slot: "Root",
|
|
1417
|
+
overridesResolver: (e, n) => {
|
|
1418
|
+
const {
|
|
1419
|
+
ownerState: t
|
|
1420
|
+
} = e, {
|
|
1421
|
+
container: o,
|
|
1422
|
+
direction: i,
|
|
1423
|
+
item: a,
|
|
1424
|
+
spacing: l,
|
|
1425
|
+
wrap: s,
|
|
1426
|
+
zeroMinWidth: c,
|
|
1427
|
+
breakpoints: d
|
|
1428
|
+
} = t;
|
|
1429
|
+
let u = [];
|
|
1430
|
+
o && (u = Bt(l, d, n));
|
|
1431
|
+
const f = [];
|
|
1432
|
+
return d.forEach((h) => {
|
|
1433
|
+
const g = t[h];
|
|
1434
|
+
g && f.push(n[`grid-${h}-${String(g)}`]);
|
|
1435
|
+
}), [n.root, o && n.container, a && n.item, c && n.zeroMinWidth, ...u, i !== "row" && n[`direction-xs-${String(i)}`], s !== "wrap" && n[`wrap-xs-${String(s)}`], ...f];
|
|
1436
|
+
}
|
|
1437
|
+
})(({
|
|
1438
|
+
ownerState: e
|
|
1439
|
+
}) => y({
|
|
1440
|
+
boxSizing: "border-box"
|
|
1441
|
+
}, e.container && {
|
|
1442
|
+
display: "flex",
|
|
1443
|
+
flexWrap: "wrap",
|
|
1444
|
+
width: "100%"
|
|
1445
|
+
}, e.item && {
|
|
1446
|
+
margin: 0
|
|
1447
|
+
// For instance, it's useful when used with a `figure` element.
|
|
1448
|
+
}, e.zeroMinWidth && {
|
|
1449
|
+
minWidth: 0
|
|
1450
|
+
}, e.wrap !== "wrap" && {
|
|
1451
|
+
flexWrap: e.wrap
|
|
1452
|
+
}), Wt, Rt, Dt, Pt);
|
|
1453
|
+
function Vt(e, n) {
|
|
1454
|
+
if (!e || e <= 0)
|
|
1455
|
+
return [];
|
|
1456
|
+
if (typeof e == "string" && !Number.isNaN(Number(e)) || typeof e == "number")
|
|
1457
|
+
return [`spacing-xs-${String(e)}`];
|
|
1458
|
+
const t = [];
|
|
1459
|
+
return n.forEach((o) => {
|
|
1460
|
+
const i = e[o];
|
|
1461
|
+
if (Number(i) > 0) {
|
|
1462
|
+
const a = `spacing-${o}-${String(i)}`;
|
|
1463
|
+
t.push(a);
|
|
1464
|
+
}
|
|
1465
|
+
}), t;
|
|
1466
|
+
}
|
|
1467
|
+
const zt = (e) => {
|
|
1468
|
+
const {
|
|
1469
|
+
classes: n,
|
|
1470
|
+
container: t,
|
|
1471
|
+
direction: o,
|
|
1472
|
+
item: i,
|
|
1473
|
+
spacing: a,
|
|
1474
|
+
wrap: l,
|
|
1475
|
+
zeroMinWidth: s,
|
|
1476
|
+
breakpoints: c
|
|
1477
|
+
} = e;
|
|
1478
|
+
let d = [];
|
|
1479
|
+
t && (d = Vt(a, c));
|
|
1480
|
+
const u = [];
|
|
1481
|
+
c.forEach((h) => {
|
|
1482
|
+
const g = e[h];
|
|
1483
|
+
g && u.push(`grid-${h}-${String(g)}`);
|
|
1484
|
+
});
|
|
1485
|
+
const f = {
|
|
1486
|
+
root: ["root", t && "container", i && "item", s && "zeroMinWidth", ...d, o !== "row" && `direction-xs-${String(o)}`, l !== "wrap" && `wrap-xs-${String(l)}`, ...u]
|
|
1487
|
+
};
|
|
1488
|
+
return X(f, Mt, n);
|
|
1489
|
+
}, M = /* @__PURE__ */ j.forwardRef(function(n, t) {
|
|
1490
|
+
const o = K({
|
|
1491
|
+
props: n,
|
|
1492
|
+
name: "MuiGrid"
|
|
1493
|
+
}), {
|
|
1494
|
+
breakpoints: i
|
|
1495
|
+
} = Ke(), a = en(o), {
|
|
1496
|
+
className: l,
|
|
1497
|
+
columns: s,
|
|
1498
|
+
columnSpacing: c,
|
|
1499
|
+
component: d = "div",
|
|
1500
|
+
container: u = !1,
|
|
1501
|
+
direction: f = "row",
|
|
1502
|
+
item: h = !1,
|
|
1503
|
+
rowSpacing: g,
|
|
1504
|
+
spacing: w = 0,
|
|
1505
|
+
wrap: k = "wrap",
|
|
1506
|
+
zeroMinWidth: N = !1
|
|
1507
|
+
} = a, T = I(a, Lt), C = g || w, L = c || w, A = j.useContext(de), P = u ? s || 12 : A, Q = {}, Y = y({}, T);
|
|
1508
|
+
i.keys.forEach((_) => {
|
|
1509
|
+
T[_] != null && (Q[_] = T[_], delete Y[_]);
|
|
1510
|
+
});
|
|
1511
|
+
const Z = y({}, a, {
|
|
1512
|
+
columns: P,
|
|
1513
|
+
container: u,
|
|
1514
|
+
direction: f,
|
|
1515
|
+
item: h,
|
|
1516
|
+
rowSpacing: C,
|
|
1517
|
+
columnSpacing: L,
|
|
1518
|
+
wrap: k,
|
|
1519
|
+
zeroMinWidth: N,
|
|
1520
|
+
spacing: w
|
|
1521
|
+
}, Q, {
|
|
1522
|
+
breakpoints: i.keys
|
|
1523
|
+
}), J = zt(Z);
|
|
1524
|
+
return /* @__PURE__ */ p(de.Provider, {
|
|
1525
|
+
value: P,
|
|
1526
|
+
children: /* @__PURE__ */ p(Ht, y({
|
|
1527
|
+
ownerState: Z,
|
|
1528
|
+
className: q(J.root, l),
|
|
1529
|
+
as: d,
|
|
1530
|
+
ref: t
|
|
1531
|
+
}, Y))
|
|
1532
|
+
});
|
|
1533
|
+
});
|
|
1534
|
+
process.env.NODE_ENV !== "production" && (M.propTypes = {
|
|
1535
|
+
// ----------------------------- Warning --------------------------------
|
|
1536
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
1537
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
1538
|
+
// ----------------------------------------------------------------------
|
|
1539
|
+
/**
|
|
1540
|
+
* The content of the component.
|
|
1541
|
+
*/
|
|
1542
|
+
children: r.node,
|
|
1543
|
+
/**
|
|
1544
|
+
* Override or extend the styles applied to the component.
|
|
1545
|
+
*/
|
|
1546
|
+
classes: r.object,
|
|
1547
|
+
/**
|
|
1548
|
+
* @ignore
|
|
1549
|
+
*/
|
|
1550
|
+
className: r.string,
|
|
1551
|
+
/**
|
|
1552
|
+
* The number of columns.
|
|
1553
|
+
* @default 12
|
|
1554
|
+
*/
|
|
1555
|
+
columns: r.oneOfType([r.arrayOf(r.number), r.number, r.object]),
|
|
1556
|
+
/**
|
|
1557
|
+
* Defines the horizontal space between the type `item` components.
|
|
1558
|
+
* It overrides the value of the `spacing` prop.
|
|
1559
|
+
*/
|
|
1560
|
+
columnSpacing: r.oneOfType([r.arrayOf(r.oneOfType([r.number, r.string])), r.number, r.object, r.string]),
|
|
1561
|
+
/**
|
|
1562
|
+
* The component used for the root node.
|
|
1563
|
+
* Either a string to use a HTML element or a component.
|
|
1564
|
+
*/
|
|
1565
|
+
component: r.elementType,
|
|
1566
|
+
/**
|
|
1567
|
+
* If `true`, the component will have the flex *container* behavior.
|
|
1568
|
+
* You should be wrapping *items* with a *container*.
|
|
1569
|
+
* @default false
|
|
1570
|
+
*/
|
|
1571
|
+
container: r.bool,
|
|
1572
|
+
/**
|
|
1573
|
+
* Defines the `flex-direction` style property.
|
|
1574
|
+
* It is applied for all screen sizes.
|
|
1575
|
+
* @default 'row'
|
|
1576
|
+
*/
|
|
1577
|
+
direction: r.oneOfType([r.oneOf(["column-reverse", "column", "row-reverse", "row"]), r.arrayOf(r.oneOf(["column-reverse", "column", "row-reverse", "row"])), r.object]),
|
|
1578
|
+
/**
|
|
1579
|
+
* If `true`, the component will have the flex *item* behavior.
|
|
1580
|
+
* You should be wrapping *items* with a *container*.
|
|
1581
|
+
* @default false
|
|
1582
|
+
*/
|
|
1583
|
+
item: r.bool,
|
|
1584
|
+
/**
|
|
1585
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
1586
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
1587
|
+
* If 'auto', the grid item's width matches its content.
|
|
1588
|
+
* If false, the prop is ignored.
|
|
1589
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
1590
|
+
* The value is applied for the `lg` breakpoint and wider screens if not overridden.
|
|
1591
|
+
* @default false
|
|
1592
|
+
*/
|
|
1593
|
+
lg: r.oneOfType([r.oneOf(["auto"]), r.number, r.bool]),
|
|
1594
|
+
/**
|
|
1595
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
1596
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
1597
|
+
* If 'auto', the grid item's width matches its content.
|
|
1598
|
+
* If false, the prop is ignored.
|
|
1599
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
1600
|
+
* The value is applied for the `md` breakpoint and wider screens if not overridden.
|
|
1601
|
+
* @default false
|
|
1602
|
+
*/
|
|
1603
|
+
md: r.oneOfType([r.oneOf(["auto"]), r.number, r.bool]),
|
|
1604
|
+
/**
|
|
1605
|
+
* Defines the vertical space between the type `item` components.
|
|
1606
|
+
* It overrides the value of the `spacing` prop.
|
|
1607
|
+
*/
|
|
1608
|
+
rowSpacing: r.oneOfType([r.arrayOf(r.oneOfType([r.number, r.string])), r.number, r.object, r.string]),
|
|
1609
|
+
/**
|
|
1610
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
1611
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
1612
|
+
* If 'auto', the grid item's width matches its content.
|
|
1613
|
+
* If false, the prop is ignored.
|
|
1614
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
1615
|
+
* The value is applied for the `sm` breakpoint and wider screens if not overridden.
|
|
1616
|
+
* @default false
|
|
1617
|
+
*/
|
|
1618
|
+
sm: r.oneOfType([r.oneOf(["auto"]), r.number, r.bool]),
|
|
1619
|
+
/**
|
|
1620
|
+
* Defines the space between the type `item` components.
|
|
1621
|
+
* It can only be used on a type `container` component.
|
|
1622
|
+
* @default 0
|
|
1623
|
+
*/
|
|
1624
|
+
spacing: r.oneOfType([r.arrayOf(r.oneOfType([r.number, r.string])), r.number, r.object, r.string]),
|
|
1625
|
+
/**
|
|
1626
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1627
|
+
*/
|
|
1628
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
|
|
1629
|
+
/**
|
|
1630
|
+
* Defines the `flex-wrap` style property.
|
|
1631
|
+
* It's applied for all screen sizes.
|
|
1632
|
+
* @default 'wrap'
|
|
1633
|
+
*/
|
|
1634
|
+
wrap: r.oneOf(["nowrap", "wrap-reverse", "wrap"]),
|
|
1635
|
+
/**
|
|
1636
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
1637
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
1638
|
+
* If 'auto', the grid item's width matches its content.
|
|
1639
|
+
* If false, the prop is ignored.
|
|
1640
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
1641
|
+
* The value is applied for the `xl` breakpoint and wider screens if not overridden.
|
|
1642
|
+
* @default false
|
|
1643
|
+
*/
|
|
1644
|
+
xl: r.oneOfType([r.oneOf(["auto"]), r.number, r.bool]),
|
|
1645
|
+
/**
|
|
1646
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
1647
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
1648
|
+
* If 'auto', the grid item's width matches its content.
|
|
1649
|
+
* If false, the prop is ignored.
|
|
1650
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
1651
|
+
* The value is applied for all the screen sizes with the lowest priority.
|
|
1652
|
+
* @default false
|
|
1653
|
+
*/
|
|
1654
|
+
xs: r.oneOfType([r.oneOf(["auto"]), r.number, r.bool]),
|
|
1655
|
+
/**
|
|
1656
|
+
* If `true`, it sets `min-width: 0` on the item.
|
|
1657
|
+
* Refer to the limitations section of the documentation to better understand the use case.
|
|
1658
|
+
* @default false
|
|
1659
|
+
*/
|
|
1660
|
+
zeroMinWidth: r.bool
|
|
1661
|
+
});
|
|
1662
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1663
|
+
const e = Ie("Grid", M);
|
|
1664
|
+
M.propTypes = y({}, M.propTypes, {
|
|
1665
|
+
direction: e("container"),
|
|
1666
|
+
lg: e("item"),
|
|
1667
|
+
md: e("item"),
|
|
1668
|
+
sm: e("item"),
|
|
1669
|
+
spacing: e("container"),
|
|
1670
|
+
wrap: e("container"),
|
|
1671
|
+
xs: e("item"),
|
|
1672
|
+
zeroMinWidth: e("item")
|
|
1673
|
+
});
|
|
1674
|
+
}
|
|
1675
|
+
const Gt = Je((e) => {
|
|
1676
|
+
var n, t, o, i, a, l, s, c, d;
|
|
1677
|
+
return {
|
|
1678
|
+
embedDesktopTabCardWp: {
|
|
1679
|
+
boxShadow: "none !important",
|
|
1680
|
+
overflow: "hidden",
|
|
1681
|
+
borderRadius: `${(n = e == null ? void 0 : e.borderRadius) == null ? void 0 : n.value} !important`,
|
|
1682
|
+
border: `1px solid ${(o = (t = e == null ? void 0 : e.palette) == null ? void 0 : t.customColor) == null ? void 0 : o.LINE}`,
|
|
1683
|
+
background: (a = (i = e == null ? void 0 : e.palette) == null ? void 0 : i.customColor) == null ? void 0 : a.BGLIGHT,
|
|
1684
|
+
cursor: "pointer",
|
|
1685
|
+
"& .card-container": {
|
|
1686
|
+
width: "100%",
|
|
1687
|
+
overflow: "hidden",
|
|
1688
|
+
[e.breakpoints.up("sm")]: {
|
|
1689
|
+
height: "270px"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"& .card-content-area": {
|
|
1693
|
+
overflow: "hidden",
|
|
1694
|
+
display: "flex",
|
|
1695
|
+
flexDirection: "column",
|
|
1696
|
+
background: (s = (l = e == null ? void 0 : e.palette) == null ? void 0 : l.customColor) == null ? void 0 : s.BGLIGHT,
|
|
1697
|
+
"& .contentBox": {
|
|
1698
|
+
flex: "1 0 auto",
|
|
1699
|
+
padding: "20px 20px 0px 20px !important",
|
|
1700
|
+
overflow: "hidden",
|
|
1701
|
+
flexDirection: "column",
|
|
1702
|
+
[e.breakpoints.down("sm")]: {
|
|
1703
|
+
overflow: "initial"
|
|
1704
|
+
},
|
|
1705
|
+
"& .cardActionWp": {
|
|
1706
|
+
borderTop: `1px solid ${(d = (c = e == null ? void 0 : e.palette) == null ? void 0 : c.customColor) == null ? void 0 : d.LINE}`,
|
|
1707
|
+
padding: "20px 0px",
|
|
1708
|
+
display: "flex",
|
|
1709
|
+
justifyContent: "start",
|
|
1710
|
+
width: "100%",
|
|
1711
|
+
marginTop: "20px",
|
|
1712
|
+
[e.breakpoints.down("sm")]: {
|
|
1713
|
+
alignItems: "baseline"
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
"& .TopContentBox": {
|
|
1717
|
+
width: "100%"
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
};
|
|
1723
|
+
}), Ut = `
|
|
1724
|
+
.doticon .Platform-x-SvgIcon-root{
|
|
1725
|
+
font-size: 6px;
|
|
1726
|
+
}
|
|
1727
|
+
.doticon svg.MuiSvgIcon-root {
|
|
1728
|
+
font-size: 6px;
|
|
1729
|
+
}
|
|
1730
|
+
.embededtitle {
|
|
1731
|
+
display: -webkit-box;
|
|
1732
|
+
-webkit-box-orient: vertical;
|
|
1733
|
+
overflow: hidden;
|
|
1734
|
+
word-wrap: break-word;
|
|
1735
|
+
}
|
|
1736
|
+
.embededdesc {
|
|
1737
|
+
display: -webkit-box;
|
|
1738
|
+
-webkit-box-orient: vertical;
|
|
1739
|
+
overflow: hidden;
|
|
1740
|
+
word-wrap: break-word;
|
|
1741
|
+
}
|
|
1742
|
+
`, Ft = ({ content: e }) => {
|
|
1743
|
+
const n = qe(e == null ? void 0 : e.Description) || "", t = Gt();
|
|
1744
|
+
return /* @__PURE__ */ p(
|
|
1745
|
+
Me,
|
|
1746
|
+
{
|
|
1747
|
+
className: t.embedDesktopTabCardWp,
|
|
1748
|
+
sx: {
|
|
1749
|
+
margin: { xs: "8px 0px 8px 0", sm: "0" }
|
|
1750
|
+
},
|
|
1751
|
+
onClick: () => window.open(e == null ? void 0 : e.LandingPage, "_blank"),
|
|
1752
|
+
children: /* @__PURE__ */ O(M, { container: !0, children: [
|
|
1753
|
+
/* @__PURE__ */ O(M, { item: !0, xs: 12, className: "card-container", children: [
|
|
1754
|
+
/* @__PURE__ */ p("style", { children: Ut }),
|
|
1755
|
+
(e == null ? void 0 : e.colorCode) !== void 0 && (e == null ? void 0 : e.colorCode) !== "" ? /* @__PURE__ */ p(
|
|
1756
|
+
v,
|
|
1757
|
+
{
|
|
1758
|
+
sx: {
|
|
1759
|
+
height: "100%",
|
|
1760
|
+
width: "100%",
|
|
1761
|
+
background: e == null ? void 0 : e.colorCode
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
) : /* @__PURE__ */ p(
|
|
1765
|
+
$e,
|
|
1766
|
+
{
|
|
1767
|
+
component: "img",
|
|
1768
|
+
image: e == null ? void 0 : e.Thumbnail,
|
|
1769
|
+
sx: {
|
|
1770
|
+
overflow: "hidden",
|
|
1771
|
+
height: "100%"
|
|
1772
|
+
},
|
|
1773
|
+
alt: "Image",
|
|
1774
|
+
className: "cardmediaimg"
|
|
1775
|
+
}
|
|
1776
|
+
)
|
|
1777
|
+
] }),
|
|
1778
|
+
/* @__PURE__ */ p(M, { item: !0, xs: 12, className: "card-content-area", children: /* @__PURE__ */ O(Ee, { className: "contentBox", children: [
|
|
1779
|
+
/* @__PURE__ */ O(v, { className: "TopContentBox", children: [
|
|
1780
|
+
/* @__PURE__ */ p(
|
|
1781
|
+
R,
|
|
1782
|
+
{
|
|
1783
|
+
gutterBottom: !0,
|
|
1784
|
+
variant: "h3bold",
|
|
1785
|
+
className: "embededtitle",
|
|
1786
|
+
sx: {
|
|
1787
|
+
WebkitLineClamp: { xs: "2" }
|
|
1788
|
+
},
|
|
1789
|
+
children: e == null ? void 0 : e.Title
|
|
1790
|
+
}
|
|
1791
|
+
),
|
|
1792
|
+
/* @__PURE__ */ p(
|
|
1793
|
+
R,
|
|
1794
|
+
{
|
|
1795
|
+
variant: "p3regular",
|
|
1796
|
+
sx: {
|
|
1797
|
+
WebkitLineClamp: { xs: "2" }
|
|
1798
|
+
},
|
|
1799
|
+
className: "embededdesc",
|
|
1800
|
+
children: n
|
|
1801
|
+
}
|
|
1802
|
+
)
|
|
1803
|
+
] }),
|
|
1804
|
+
/* @__PURE__ */ O(je, { className: "cardActionWp", children: [
|
|
1805
|
+
/* @__PURE__ */ p(R, { variant: "p4semibold", children: e == null ? void 0 : e.Author }),
|
|
1806
|
+
/* @__PURE__ */ p(
|
|
1807
|
+
R,
|
|
1808
|
+
{
|
|
1809
|
+
variant: "p4regular",
|
|
1810
|
+
sx: {
|
|
1811
|
+
display: { xs: "block", sm: "none" },
|
|
1812
|
+
marginLeft: "8px"
|
|
1813
|
+
},
|
|
1814
|
+
className: "doticon",
|
|
1815
|
+
children: /* @__PURE__ */ p(_e, {})
|
|
1816
|
+
}
|
|
1817
|
+
),
|
|
1818
|
+
/* @__PURE__ */ p(R, { variant: "p4regular", children: Xe(e == null ? void 0 : e.creationDate) })
|
|
1819
|
+
] })
|
|
1820
|
+
] }) })
|
|
1821
|
+
] })
|
|
1822
|
+
}
|
|
1823
|
+
);
|
|
1824
|
+
};
|
|
1825
|
+
function ve({ maxWidth: e = 350, maxHeight: n }) {
|
|
1826
|
+
return /* @__PURE__ */ O(
|
|
1827
|
+
We,
|
|
1828
|
+
{
|
|
1829
|
+
sx: {
|
|
1830
|
+
maxWidth: e,
|
|
1831
|
+
maxHeight: n,
|
|
1832
|
+
m: 2,
|
|
1833
|
+
border: "none",
|
|
1834
|
+
boxShadow: "none"
|
|
1835
|
+
},
|
|
1836
|
+
children: [
|
|
1837
|
+
/* @__PURE__ */ p(ne, { sx: { height: 190, marginBottom: 2 }, animation: "wave", variant: "rectangular" }),
|
|
1838
|
+
/* @__PURE__ */ p(ne, { animation: "wave", width: "40%", height: 15, style: { marginBottom: 15 } }),
|
|
1839
|
+
/* @__PURE__ */ p(ne, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } }),
|
|
1840
|
+
/* @__PURE__ */ p(ne, { animation: "wave", height: 10, width: "80%", style: { marginBottom: 6 } })
|
|
1841
|
+
]
|
|
1842
|
+
}
|
|
1843
|
+
);
|
|
1844
|
+
}
|
|
1845
|
+
const Kt = ({ selectedItem: e }) => {
|
|
1846
|
+
const [n, t] = oe(!1), { t: o } = Se(), i = {
|
|
1847
|
+
Title: e == null ? void 0 : e.Title,
|
|
1848
|
+
Description: e == null ? void 0 : e.Description,
|
|
1849
|
+
Thumbnail: e == null ? void 0 : e.Thumbnail,
|
|
1850
|
+
Author: e == null ? void 0 : e.Author,
|
|
1851
|
+
creationDate: e == null ? void 0 : e.creationDate,
|
|
1852
|
+
Page: e == null ? void 0 : e.Page,
|
|
1853
|
+
LandingPage: e == null ? void 0 : e.LandingPage,
|
|
1854
|
+
ContentURL: e == null ? void 0 : e.ContentURL
|
|
1855
|
+
}, a = `
|
|
1856
|
+
<iframe src="${i == null ? void 0 : i.Page}" width="360" height="203" style="border:none;overflow:hidden"></iframe>
|
|
1857
|
+
`, l = `
|
|
1858
|
+
<iframe src="${i == null ? void 0 : i.Page}" width="480" height="270" style="border:none;overflow:hidden"></iframe>
|
|
1859
|
+
`, s = (c) => {
|
|
1860
|
+
navigator.clipboard.writeText(c), t(!0);
|
|
1861
|
+
};
|
|
1862
|
+
return /* @__PURE__ */ p(
|
|
1863
|
+
v,
|
|
1864
|
+
{
|
|
1865
|
+
sx: {
|
|
1866
|
+
overflowY: "auto"
|
|
1867
|
+
},
|
|
1868
|
+
children: /* @__PURE__ */ O(ae, { container: !0, children: [
|
|
1869
|
+
/* @__PURE__ */ p(
|
|
1870
|
+
ae,
|
|
1871
|
+
{
|
|
1872
|
+
item: !0,
|
|
1873
|
+
xs: 12,
|
|
1874
|
+
em: 7,
|
|
1875
|
+
sx: {
|
|
1876
|
+
background: "#f5f6f8",
|
|
1877
|
+
display: "flex",
|
|
1878
|
+
alignItems: { xs: "start", md: "center" },
|
|
1879
|
+
height: { xs: "520px", sm: "initial", md: "initial", em: "480px" }
|
|
1880
|
+
},
|
|
1881
|
+
children: /* @__PURE__ */ p(
|
|
1882
|
+
v,
|
|
1883
|
+
{
|
|
1884
|
+
sx: {
|
|
1885
|
+
width: { xs: "100%", md: "100%", lg: "100%" },
|
|
1886
|
+
padding: {
|
|
1887
|
+
xs: "56px 10px 0px 10px",
|
|
1888
|
+
md: "65px 0px"
|
|
1889
|
+
// lg: "82px 20px",
|
|
1890
|
+
},
|
|
1891
|
+
display: "flex",
|
|
1892
|
+
justifyContent: "center",
|
|
1893
|
+
alignItems: "center"
|
|
1894
|
+
},
|
|
1895
|
+
className: "card1",
|
|
1896
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ p(Ft, { content: i }) : /* @__PURE__ */ p(ve, { maxWidth: 480, maxHeight: 500 })
|
|
1897
|
+
}
|
|
1898
|
+
)
|
|
1899
|
+
}
|
|
1900
|
+
),
|
|
1901
|
+
/* @__PURE__ */ p(
|
|
1902
|
+
ae,
|
|
1903
|
+
{
|
|
1904
|
+
item: !0,
|
|
1905
|
+
xs: 12,
|
|
1906
|
+
em: 5,
|
|
1907
|
+
sx: {
|
|
1908
|
+
padding: {
|
|
1909
|
+
xs: "30px 10px 0px 10px",
|
|
1910
|
+
sm: "30px 20px 0px 20px",
|
|
1911
|
+
md: "35px 25px",
|
|
1912
|
+
lg: "0px 25px 0px 20px"
|
|
1913
|
+
},
|
|
1914
|
+
display: "flex",
|
|
1915
|
+
justifyContent: "center",
|
|
1916
|
+
alignItems: "center"
|
|
1917
|
+
},
|
|
1918
|
+
children: /* @__PURE__ */ p(
|
|
1919
|
+
v,
|
|
1920
|
+
{
|
|
1921
|
+
sx: {
|
|
1922
|
+
padding: {
|
|
1923
|
+
xs: "20px 0 0 0",
|
|
1924
|
+
md: "0"
|
|
1925
|
+
//lg: '20px 0px 0 0',
|
|
1926
|
+
},
|
|
1927
|
+
width: { xs: "360px", sm: "480px" }
|
|
1928
|
+
},
|
|
1929
|
+
children: e && (e != null && e.Thumbnail) ? /* @__PURE__ */ O(Pe, { children: [
|
|
1930
|
+
/* @__PURE__ */ O(
|
|
1931
|
+
v,
|
|
1932
|
+
{
|
|
1933
|
+
sx: {
|
|
1934
|
+
marginBottom: { md: "25px", lg: "0" },
|
|
1935
|
+
padding: { xs: "0 0 10px 0", md: "0" }
|
|
1936
|
+
},
|
|
1937
|
+
children: [
|
|
1938
|
+
/* @__PURE__ */ p(v, { children: /* @__PURE__ */ p(
|
|
1939
|
+
me,
|
|
1940
|
+
{
|
|
1941
|
+
variant: "h3bold",
|
|
1942
|
+
color: "textColor1",
|
|
1943
|
+
padding: 0,
|
|
1944
|
+
margin: 0,
|
|
1945
|
+
sx: { textTransform: "capitalize" },
|
|
1946
|
+
children: o("social_embed_link")
|
|
1947
|
+
}
|
|
1948
|
+
) }),
|
|
1949
|
+
/* @__PURE__ */ p(v, { children: /* @__PURE__ */ p(
|
|
1950
|
+
me,
|
|
1951
|
+
{
|
|
1952
|
+
variant: "h7regular",
|
|
1953
|
+
padding: 0,
|
|
1954
|
+
margin: 0,
|
|
1955
|
+
sx: { color: "#89909a" },
|
|
1956
|
+
children: o("social_emded_link_desc")
|
|
1957
|
+
}
|
|
1958
|
+
) })
|
|
1959
|
+
]
|
|
1960
|
+
}
|
|
1961
|
+
),
|
|
1962
|
+
/* @__PURE__ */ p(
|
|
1963
|
+
v,
|
|
1964
|
+
{
|
|
1965
|
+
sx: {
|
|
1966
|
+
height: { lg: "295px", xl: "225px" },
|
|
1967
|
+
// height: "auto",
|
|
1968
|
+
overflowY: "auto",
|
|
1969
|
+
borderRadius: "5px",
|
|
1970
|
+
border: "solid 1px #ced3d9",
|
|
1971
|
+
flexGrow: " 0",
|
|
1972
|
+
margin: { lg: "18px 0 34px" },
|
|
1973
|
+
padding: "16px 20px 24px 25px",
|
|
1974
|
+
overflowWrap: "break-word",
|
|
1975
|
+
display: { xs: "block", md: "none" },
|
|
1976
|
+
fontFamily: "Roboto Mono",
|
|
1977
|
+
wordBreak: "break-word"
|
|
1978
|
+
},
|
|
1979
|
+
children: a
|
|
1980
|
+
}
|
|
1981
|
+
),
|
|
1982
|
+
/* @__PURE__ */ p(
|
|
1983
|
+
v,
|
|
1984
|
+
{
|
|
1985
|
+
sx: {
|
|
1986
|
+
height: { md: "215px", lg: "215px" },
|
|
1987
|
+
//height: 'auto',
|
|
1988
|
+
overflowY: "auto",
|
|
1989
|
+
borderRadius: "5px",
|
|
1990
|
+
border: "solid 1px #ced3d9",
|
|
1991
|
+
flexGrow: " 0",
|
|
1992
|
+
margin: { md: "15px 0" },
|
|
1993
|
+
padding: "16px 20px 24px 25px",
|
|
1994
|
+
overflowWrap: "break-word",
|
|
1995
|
+
display: { xs: "none", md: "block" },
|
|
1996
|
+
fontFamily: "Roboto Mono",
|
|
1997
|
+
wordBreak: "break-word"
|
|
1998
|
+
},
|
|
1999
|
+
children: l
|
|
2000
|
+
}
|
|
2001
|
+
),
|
|
2002
|
+
/* @__PURE__ */ O(
|
|
2003
|
+
v,
|
|
2004
|
+
{
|
|
2005
|
+
sx: {
|
|
2006
|
+
display: "flex",
|
|
2007
|
+
flexDirection: "row-reverse"
|
|
2008
|
+
},
|
|
2009
|
+
children: [
|
|
2010
|
+
/* @__PURE__ */ p(
|
|
2011
|
+
ge,
|
|
2012
|
+
{
|
|
2013
|
+
variant: "primaryButton1",
|
|
2014
|
+
sx: {
|
|
2015
|
+
display: { xs: "none", md: "flex" },
|
|
2016
|
+
margin: "0",
|
|
2017
|
+
padding: "0"
|
|
2018
|
+
},
|
|
2019
|
+
onClick: () => s(l),
|
|
2020
|
+
"data-testid": "copy-desktop-embedded-code",
|
|
2021
|
+
children: o(n ? "copied" : "copy_code")
|
|
2022
|
+
}
|
|
2023
|
+
),
|
|
2024
|
+
/* @__PURE__ */ p(
|
|
2025
|
+
ge,
|
|
2026
|
+
{
|
|
2027
|
+
variant: "primaryButton1",
|
|
2028
|
+
sx: {
|
|
2029
|
+
padding: "0",
|
|
2030
|
+
minWidth: { xs: "100%" },
|
|
2031
|
+
display: { xs: "flex", md: "none" },
|
|
2032
|
+
margin: { xs: "20px 0 0 0", md: 0 }
|
|
2033
|
+
},
|
|
2034
|
+
onClick: () => s(a),
|
|
2035
|
+
"data-testid": "copy-mobile-embedded-code",
|
|
2036
|
+
children: o(n ? "copied" : "copy_code")
|
|
2037
|
+
}
|
|
2038
|
+
)
|
|
2039
|
+
]
|
|
2040
|
+
}
|
|
2041
|
+
)
|
|
2042
|
+
] }) : /* @__PURE__ */ p(ve, { maxWidth: 480, maxHeight: 500 })
|
|
2043
|
+
}
|
|
2044
|
+
)
|
|
2045
|
+
}
|
|
2046
|
+
)
|
|
2047
|
+
] })
|
|
2048
|
+
}
|
|
2049
|
+
);
|
|
2050
|
+
};
|
|
2051
|
+
function It({
|
|
2052
|
+
isDialogOpen: e,
|
|
2053
|
+
closeEmbedButtonHandle: n,
|
|
2054
|
+
setSelectedItem: t
|
|
2055
|
+
}) {
|
|
2056
|
+
return /* @__PURE__ */ p(v, { className: "embedmodal", children: /* @__PURE__ */ O(
|
|
2057
|
+
Re,
|
|
2058
|
+
{
|
|
2059
|
+
fullWidth: !0,
|
|
2060
|
+
open: e,
|
|
2061
|
+
onClose: n,
|
|
2062
|
+
"aria-labelledby": "alert-dialog-title",
|
|
2063
|
+
"aria-describedby": "alert-dialog-description",
|
|
2064
|
+
PaperProps: {
|
|
2065
|
+
sx: {
|
|
2066
|
+
maxWidth: { xs: "97%", sm: "1080px" },
|
|
2067
|
+
width: "97%",
|
|
2068
|
+
margin: { xs: "0px" },
|
|
2069
|
+
overflow: "hidden",
|
|
2070
|
+
height: { md: "480px" }
|
|
2071
|
+
}
|
|
2072
|
+
},
|
|
2073
|
+
sx: {
|
|
2074
|
+
display: "block",
|
|
2075
|
+
height: { xs: "100vh", sm: "auto" }
|
|
2076
|
+
},
|
|
2077
|
+
children: [
|
|
2078
|
+
/* @__PURE__ */ p(
|
|
2079
|
+
v,
|
|
2080
|
+
{
|
|
2081
|
+
sx: {
|
|
2082
|
+
paddingLeft: "20px",
|
|
2083
|
+
marginTop: "8px",
|
|
2084
|
+
marginLeft: { xs: "initial", md: "auto" },
|
|
2085
|
+
position: "absolute",
|
|
2086
|
+
right: "-10px"
|
|
2087
|
+
},
|
|
2088
|
+
children: /* @__PURE__ */ p(
|
|
2089
|
+
v,
|
|
2090
|
+
{
|
|
2091
|
+
sx: { textAlign: "right", cursor: "pointer", zIndex: "99999" },
|
|
2092
|
+
mt: 1,
|
|
2093
|
+
mr: 3,
|
|
2094
|
+
onClick: n,
|
|
2095
|
+
children: /* @__PURE__ */ p(Qe, {})
|
|
2096
|
+
}
|
|
2097
|
+
)
|
|
2098
|
+
}
|
|
2099
|
+
),
|
|
2100
|
+
/* @__PURE__ */ p(Kt, { selectedItem: t })
|
|
2101
|
+
]
|
|
2102
|
+
}
|
|
2103
|
+
) });
|
|
2104
|
+
}
|
|
2105
|
+
const qt = (e) => {
|
|
2106
|
+
Ne.success(e);
|
|
2107
|
+
}, ye = (e) => {
|
|
2108
|
+
Ne.error(e);
|
|
2109
|
+
}, Xt = (e) => {
|
|
2110
|
+
const { t: n } = Se(), t = De(), { shareUrl: o = "", domainUrl: i = "", enablePreview: a, showRecentArticles: l } = e, s = () => {
|
|
2111
|
+
if (e.whiteIcon)
|
|
2112
|
+
return {
|
|
2113
|
+
filter: "brightness(0) invert(1)"
|
|
2114
|
+
};
|
|
2115
|
+
}, c = (C = "#2d2d39") => ({
|
|
2116
|
+
display: "flex",
|
|
2117
|
+
justifyContent: "center",
|
|
2118
|
+
alignItems: "center",
|
|
2119
|
+
height: "33px !important",
|
|
2120
|
+
width: "33px !important",
|
|
2121
|
+
borderRadius: "3px",
|
|
2122
|
+
cursor: "pointer",
|
|
2123
|
+
marginRight: "12px",
|
|
2124
|
+
background: e.whiteIcon ? " " : t.palette.textColor,
|
|
2125
|
+
"&:hover": {
|
|
2126
|
+
img: {
|
|
2127
|
+
filter: "brightness(0) invert(1)"
|
|
2128
|
+
},
|
|
2129
|
+
background: C
|
|
2130
|
+
},
|
|
2131
|
+
border: e.border
|
|
2132
|
+
}), d = {
|
|
2133
|
+
display: "flex",
|
|
2134
|
+
justifyContent: "center",
|
|
2135
|
+
alignItems: "center",
|
|
2136
|
+
cursor: a ? "default" : "pointer"
|
|
2137
|
+
}, u = {
|
|
2138
|
+
opacity: 1
|
|
2139
|
+
}, f = async () => {
|
|
2140
|
+
"clipboard" in navigator && i ? (await navigator.clipboard.writeText(i), qt(n(Ye))) : ye(n(we));
|
|
2141
|
+
}, h = () => {
|
|
2142
|
+
}, [g, w] = oe(!1), k = (C = "") => {
|
|
2143
|
+
C || ye(n(we));
|
|
2144
|
+
}, N = () => {
|
|
2145
|
+
w(!0);
|
|
2146
|
+
}, T = () => {
|
|
2147
|
+
w(!1);
|
|
2148
|
+
};
|
|
2149
|
+
return /* @__PURE__ */ O(
|
|
2150
|
+
v,
|
|
2151
|
+
{
|
|
2152
|
+
sx: {
|
|
2153
|
+
display: "flex",
|
|
2154
|
+
mt: "5px"
|
|
2155
|
+
},
|
|
2156
|
+
children: [
|
|
2157
|
+
/* @__PURE__ */ p(
|
|
2158
|
+
Mn,
|
|
2159
|
+
{
|
|
2160
|
+
disabled: a,
|
|
2161
|
+
onClick: () => !a && k(o),
|
|
2162
|
+
onShareWindowClose: h,
|
|
2163
|
+
url: o,
|
|
2164
|
+
style: d,
|
|
2165
|
+
disabledStyle: u,
|
|
2166
|
+
"data-testid": "facebook-share",
|
|
2167
|
+
children: /* @__PURE__ */ p(
|
|
2168
|
+
v,
|
|
2169
|
+
{
|
|
2170
|
+
sx: {
|
|
2171
|
+
...c("#1078f0"),
|
|
2172
|
+
cursor: a ? "default" : "pointer"
|
|
2173
|
+
},
|
|
2174
|
+
onClick: () => !a && k(o),
|
|
2175
|
+
children: /* @__PURE__ */ p("img", { alt: "share1", width: 15, height: 15, src: on, style: { ...s() } })
|
|
2176
|
+
}
|
|
2177
|
+
)
|
|
2178
|
+
}
|
|
2179
|
+
),
|
|
2180
|
+
/* @__PURE__ */ p(
|
|
2181
|
+
Hn,
|
|
2182
|
+
{
|
|
2183
|
+
disabled: a,
|
|
2184
|
+
onShareWindowClose: h,
|
|
2185
|
+
url: o,
|
|
2186
|
+
style: d,
|
|
2187
|
+
disabledStyle: u,
|
|
2188
|
+
children: /* @__PURE__ */ p(
|
|
2189
|
+
v,
|
|
2190
|
+
{
|
|
2191
|
+
sx: {
|
|
2192
|
+
...c("#2d67b3"),
|
|
2193
|
+
cursor: a ? "default" : "pointer"
|
|
2194
|
+
},
|
|
2195
|
+
onClick: () => !a && k(o),
|
|
2196
|
+
"data-testid": "linkedin-share",
|
|
2197
|
+
children: /* @__PURE__ */ p("img", { alt: "share4", width: 15, height: 15, src: rn, style: { ...s() } })
|
|
2198
|
+
}
|
|
2199
|
+
)
|
|
2200
|
+
}
|
|
2201
|
+
),
|
|
2202
|
+
/* @__PURE__ */ p(
|
|
2203
|
+
v,
|
|
2204
|
+
{
|
|
2205
|
+
sx: {
|
|
2206
|
+
...c("#229af1"),
|
|
2207
|
+
cursor: a ? "default" : "pointer"
|
|
2208
|
+
},
|
|
2209
|
+
onClick: () => !a && f(),
|
|
2210
|
+
"data-testid": "copy-clipboard-data",
|
|
2211
|
+
children: /* @__PURE__ */ p("img", { alt: "share5", width: 15, height: 15, src: nn, style: { ...s() } })
|
|
2212
|
+
}
|
|
2213
|
+
),
|
|
2214
|
+
l && /* @__PURE__ */ p(
|
|
2215
|
+
v,
|
|
2216
|
+
{
|
|
2217
|
+
sx: {
|
|
2218
|
+
...c("#2d2d39"),
|
|
2219
|
+
cursor: a ? "default" : "pointer",
|
|
2220
|
+
marginRight: 0
|
|
2221
|
+
},
|
|
2222
|
+
onClick: () => {
|
|
2223
|
+
!a && N();
|
|
2224
|
+
},
|
|
2225
|
+
"data-testid": "preview-and-embed",
|
|
2226
|
+
children: /* @__PURE__ */ p("img", { alt: "share6", width: 15, height: 15, src: tn, style: { ...s() } })
|
|
2227
|
+
}
|
|
2228
|
+
),
|
|
2229
|
+
g ? /* @__PURE__ */ p(
|
|
2230
|
+
It,
|
|
2231
|
+
{
|
|
2232
|
+
isDialogOpen: g,
|
|
2233
|
+
closeEmbedButtonHandle: T,
|
|
2234
|
+
setSelectedItem: e == null ? void 0 : e.embedData
|
|
2235
|
+
}
|
|
2236
|
+
) : null
|
|
2237
|
+
]
|
|
2238
|
+
}
|
|
2239
|
+
);
|
|
2240
|
+
}, ro = Be.memo(Xt);
|
|
2241
|
+
export {
|
|
2242
|
+
ro as default
|
|
2243
|
+
};
|