@helpdice/ui 1.3.3 → 1.3.5
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/dist/Placeholder/empty.d.ts +3 -0
- package/dist/Placeholder/index.d.ts +2 -0
- package/dist/Placeholder/index.js +1656 -0
- package/dist/Placeholder/placeholder.d.ts +16 -0
- package/dist/checkbox/checkbox.d.ts +2 -2
- package/dist/checkbox/index.js +2 -2
- package/dist/index.js +574 -204
- package/dist/table/index.js +584 -51
- package/esm/Placeholder/empty.d.ts +3 -0
- package/esm/Placeholder/empty.js +302 -0
- package/esm/Placeholder/index.d.ts +2 -0
- package/esm/Placeholder/index.js +2 -0
- package/esm/Placeholder/placeholder.d.ts +16 -0
- package/esm/Placeholder/placeholder.js +93 -0
- package/esm/checkbox/checkbox.d.ts +2 -2
- package/esm/checkbox/checkbox.js +2 -2
- package/esm/form/FormPersist.js +56 -0
- package/esm/table/data-table.js +4 -31
- package/esm/table/table-body.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1656 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
function _arrayLikeToArray(r, a) {
|
|
8
|
+
(null == a || a > r.length) && (a = r.length);
|
|
9
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
10
|
+
return n;
|
|
11
|
+
}
|
|
12
|
+
function _createForOfIteratorHelper(r, e) {
|
|
13
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
14
|
+
if (!t) {
|
|
15
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
|
|
16
|
+
t && (r = t);
|
|
17
|
+
var n = 0,
|
|
18
|
+
F = function () {};
|
|
19
|
+
return {
|
|
20
|
+
s: F,
|
|
21
|
+
n: function () {
|
|
22
|
+
return n >= r.length ? {
|
|
23
|
+
done: true
|
|
24
|
+
} : {
|
|
25
|
+
done: false,
|
|
26
|
+
value: r[n++]
|
|
27
|
+
};
|
|
28
|
+
},
|
|
29
|
+
e: function (r) {
|
|
30
|
+
throw r;
|
|
31
|
+
},
|
|
32
|
+
f: F
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
36
|
+
}
|
|
37
|
+
var o,
|
|
38
|
+
a = true,
|
|
39
|
+
u = false;
|
|
40
|
+
return {
|
|
41
|
+
s: function () {
|
|
42
|
+
t = t.call(r);
|
|
43
|
+
},
|
|
44
|
+
n: function () {
|
|
45
|
+
var r = t.next();
|
|
46
|
+
return a = r.done, r;
|
|
47
|
+
},
|
|
48
|
+
e: function (r) {
|
|
49
|
+
u = true, o = r;
|
|
50
|
+
},
|
|
51
|
+
f: function () {
|
|
52
|
+
try {
|
|
53
|
+
a || null == t.return || t.return();
|
|
54
|
+
} finally {
|
|
55
|
+
if (u) throw o;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function _defineProperty(e, r, t) {
|
|
61
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
62
|
+
value: t,
|
|
63
|
+
enumerable: true,
|
|
64
|
+
configurable: true,
|
|
65
|
+
writable: true
|
|
66
|
+
}) : e[r] = t, e;
|
|
67
|
+
}
|
|
68
|
+
function _extends() {
|
|
69
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
70
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
71
|
+
var t = arguments[e];
|
|
72
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
73
|
+
}
|
|
74
|
+
return n;
|
|
75
|
+
}, _extends.apply(null, arguments);
|
|
76
|
+
}
|
|
77
|
+
function ownKeys(e, r) {
|
|
78
|
+
var t = Object.keys(e);
|
|
79
|
+
if (Object.getOwnPropertySymbols) {
|
|
80
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
81
|
+
r && (o = o.filter(function (r) {
|
|
82
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
83
|
+
})), t.push.apply(t, o);
|
|
84
|
+
}
|
|
85
|
+
return t;
|
|
86
|
+
}
|
|
87
|
+
function _objectSpread2(e) {
|
|
88
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
89
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
90
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
91
|
+
_defineProperty(e, r, t[r]);
|
|
92
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
93
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
return e;
|
|
97
|
+
}
|
|
98
|
+
function _objectWithoutProperties(e, t) {
|
|
99
|
+
if (null == e) return {};
|
|
100
|
+
var o,
|
|
101
|
+
r,
|
|
102
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
103
|
+
if (Object.getOwnPropertySymbols) {
|
|
104
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
105
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
106
|
+
}
|
|
107
|
+
return i;
|
|
108
|
+
}
|
|
109
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
110
|
+
if (null == r) return {};
|
|
111
|
+
var t = {};
|
|
112
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
113
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
114
|
+
t[n] = r[n];
|
|
115
|
+
}
|
|
116
|
+
return t;
|
|
117
|
+
}
|
|
118
|
+
function _toPrimitive(t, r) {
|
|
119
|
+
if ("object" != typeof t || !t) return t;
|
|
120
|
+
var e = t[Symbol.toPrimitive];
|
|
121
|
+
if (undefined !== e) {
|
|
122
|
+
var i = e.call(t, r || "default");
|
|
123
|
+
if ("object" != typeof i) return i;
|
|
124
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
125
|
+
}
|
|
126
|
+
return ("string" === r ? String : Number)(t);
|
|
127
|
+
}
|
|
128
|
+
function _toPropertyKey(t) {
|
|
129
|
+
var i = _toPrimitive(t, "string");
|
|
130
|
+
return "symbol" == typeof i ? i : i + "";
|
|
131
|
+
}
|
|
132
|
+
function _typeof(o) {
|
|
133
|
+
"@babel/helpers - typeof";
|
|
134
|
+
|
|
135
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
136
|
+
return typeof o;
|
|
137
|
+
} : function (o) {
|
|
138
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
139
|
+
}, _typeof(o);
|
|
140
|
+
}
|
|
141
|
+
function _unsupportedIterableToArray(r, a) {
|
|
142
|
+
if (r) {
|
|
143
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
144
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
145
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : undefined;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function Empty() {
|
|
150
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
151
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
152
|
+
width: "20em",
|
|
153
|
+
height: "20em",
|
|
154
|
+
"data-name": "Layer 1",
|
|
155
|
+
viewBox: "0 0 1009.54 789.93"
|
|
156
|
+
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
157
|
+
id: "07c62293-c0d3-4921-8e06-4e39241449cd",
|
|
158
|
+
x1: "318.22",
|
|
159
|
+
x2: "630.35",
|
|
160
|
+
y1: "488.45",
|
|
161
|
+
y2: "488.45",
|
|
162
|
+
gradientUnits: "userSpaceOnUse"
|
|
163
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
164
|
+
offset: "0",
|
|
165
|
+
stopColor: "gray",
|
|
166
|
+
stopOpacity: "0.25"
|
|
167
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
168
|
+
offset: "0.54",
|
|
169
|
+
stopColor: "gray",
|
|
170
|
+
stopOpacity: "0.12"
|
|
171
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
172
|
+
offset: "1",
|
|
173
|
+
stopColor: "gray",
|
|
174
|
+
stopOpacity: "0.1"
|
|
175
|
+
}))), /*#__PURE__*/React.createElement("ellipse", {
|
|
176
|
+
cx: "354.13",
|
|
177
|
+
cy: "741.27",
|
|
178
|
+
fill: "#1976d2",
|
|
179
|
+
opacity: "0.1",
|
|
180
|
+
rx: "176.1",
|
|
181
|
+
ry: "33.36"
|
|
182
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
183
|
+
fill: "#1976d2",
|
|
184
|
+
d: "M681.78 166.43c-64.72-2.24-126.36-23.14-185.22-46S379.4 72.25 316.23 60.14c-40.63-7.79-87.1-8.9-119.83 12.86-31.51 21-41.69 57.15-47.16 90.72-4.12 25.26-6.54 51.85 4.74 75.5 7.84 16.42 21.74 30.22 31.36 45.95 33.47 54.72 9.81 122.2-26.45 175.63-17 25.06-36.75 49-49.88 75.65s-19.2 57.29-7.71 84.55c11.38 27 38.51 47.24 67.9 61.49 59.69 28.95 130 37.23 198.61 41.93 151.83 10.38 304.46 5.89 456.69 1.38 56.34-1.66 112.92-3.35 168.34-12.06 30.78-4.84 62.55-12.52 84.9-31.06 28.36-23.53 35.39-63.37 16.38-92.87-31.88-49.5-120-61.79-142.31-114.9-12.26-29.24.33-61.8 18.16-88.91 38.24-58.17 102.33-109.2 105.7-175.68 2.32-45.66-28.49-91.39-76.13-113-49.93-22.65-119.18-19.8-156 17.69-37.95 38.56-104.61 53.41-161.76 51.42z",
|
|
185
|
+
opacity: "0.1",
|
|
186
|
+
transform: "translate(-95.23 -55.03)"
|
|
187
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
188
|
+
fill: "url(#07c62293-c0d3-4921-8e06-4e39241449cd)",
|
|
189
|
+
d: "M630.35 416.77l-30.63-20.65 15.45-23-80.9-6.45-29.07 22.48-36.39-20.4-30.35 3.65-.36-8a225.78 225.78 0 00-2.51-24.9c.13-2.5.22-5.37.21-8.49 0-13.15-1.78-30.58-9.6-42.2l1.8-16.18-14.6-17.25a110.37 110.37 0 018-13.46c.5-.72 1-1.42 1.54-2.1 18.95-1.37 33.9-16.95 33.9-36 0-.88 0-1.76-.1-2.63 0-.35-.07-.71-.11-1.06 1.85 1 3.72 2 5.59 3 .35.5.75 1 1.19 1.59l.09.11.56.69.18.21c.2.24.41.47.62.71l.14.16c.53.59 1.09 1.19 1.69 1.78a1.8 1.8 0 01.2.19l.75.7.21.19c.64.57 1.32 1.12 2 1.64l.22.16.86.59.28.18c.33.2.67.41 1 .6l.12.07c.39.21.79.41 1.19.6l.2.08q.51.22 1 .42l.31.11c.35.12.69.23 1.05.33l.22.06c.44.11.88.2 1.33.27h.05a10.88 10.88 0 001.28.13h.29a11 11 0 001.15 0h.25a11.85 11.85 0 001.43-.17 15.78 15.78 0 006.3-2.26 5.5 5.5 0 001.28-1.19c2-2.62-.2-5.49-.2-5.49-.78-1.86-5.84-3.17-5.84-3.17s-16-6.68-16-12-4-32.92-45.29-39.23c0 0-26.86-1.51-34.41 12.87l-.16 1.68c-2.22 1.39-4.06 4.18-6.25 5a10.21 10.21 0 00-2.71 1v-.19a2.58 2.58 0 00-.61.79 8 8 0 00-.83 3 11.3 11.3 0 01-1.31 3.63 8.07 8.07 0 01-.6.92l-.17.27a7.3 7.3 0 003.4-.55 16.93 16.93 0 01-1 4 3.32 3.32 0 003.08-1.84v-.08l.13-.18a8.44 8.44 0 00.62-1.45l-.11.12c.2-.65.38-1.31.6-1.95a3.06 3.06 0 01.49-1 2.42 2.42 0 012.07-.69l-.41 8.67h.18a11.83 11.83 0 01-.88 1.82c-1.42 2.3-4 3.87-4.95 6.39a9.4 9.4 0 00-.46 3.78c0 .75.09 1.51.15 2.26v-.06c.14 2 .18 3.9-.9 5.51-.74 1.1-1.93 1.93-2.34 3.18a3.1 3.1 0 00-.15 1.08 12.13 12.13 0 00.68 3.21.14.14 0 000-.06 4.88 4.88 0 01.17 2.36c-.45 2-2.88 3.67-2.76 5.58a2.15 2.15 0 00.11.74 4.05 4.05 0 002.26 2 8.8 8.8 0 005.08 1.12 6.68 6.68 0 001.9-.65c-.7 1.61-1.42 3.2-2.15 4.71-.11.24-.23.48-.35.72 0 0-6.18-4.13-9.69 4.29a18.68 18.68 0 00-2.17 5.64 13.42 13.42 0 01-.74 2.32 14.93 14.93 0 01-6.68 6c-7.16 3.28-36.08 39.35-36.59 48.69a54.49 54.49 0 01-1.84 10.78 64.15 64.15 0 00-1.72 25.49 48.77 48.77 0 001.77 8.13c3.07 9.33 5.12 26.74 5.12 26.74l3.32 30.22a86 86 0 00.54 12.49c-3.39 3.87-17 20-11.8 24.39 4 3.46 11 2.89 14.93 2.18-3.31 8.19-8.52 22.43-9.21 32.21-1 14.47 1.71 33.64 6 41s18.59 26.24 18.59 26.24-.67 25.9 4.44 35.31 7.17 28.93 7.17 28.93 4.77 16.48 2.38 22.54 4.43 11.1-2.73 15.13-16.32 94.86-16.32 94.86-3.69 59.53 0 62.56a3.75 3.75 0 00.63.37v20s-2.56 4.2 7.85 5.05c7.13.57 27.34 1.86 39.33 2.61l9.29.58s22 4.38 31.72 0 26.95-4.28 24.39-15.85a32.92 32.92 0 00-1.36-4.63c-2.81-7.18-7.58-8-16.37-10-.51-.11-1-.21-1.45-.29-9.26-1.61-12.3 2.7-17.49-2.91-4.51-4.85-18.87-10.28-23.76-12 .12-.36.27-.71.39-1.08a7.32 7.32 0 01-3.71-1.81l13.25.84 7.89.49s18.7 3.73 27 0 22.9-3.63 20.72-13.46a28.21 28.21 0 00-1.15-3.94c-2.39-6.1-6.45-6.77-13.92-8.46-.43-.09-.83-.18-1.23-.25-7.87-1.37-10.45 2.29-14.86-2.47-3.78-4.06-15.71-8.61-20-10.16 0-2.22-3-5.38-4.89-8.55-2.22-3.7 1.88-16.65 1.88-16.65l2.34-53.73a10.38 10.38 0 012.8-.8s10.58-10.1 8.19-20.86a69.13 69.13 0 01-.76-9.83c3.48-3.23 8.27-8 9.63-10.94 2.22-4.79 0-28 0-28v-88.75l17.7 1.79 16.06 1.65 4.89.5 16.06 1.62 36.91 3.73 33.26-6.3 14.39-2.72 29.59-5.6v-72.4zM386.74 176.86l-2.06-.22c.68.03 1.4.16 2.06.22z",
|
|
190
|
+
transform: "translate(-95.23 -55.03)"
|
|
191
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
192
|
+
fill: "#efb7b9",
|
|
193
|
+
d: "M558.56 463.78c-10 14.31-45.95 6.73-45.95 6.73l-27.86-26.07-3.75-3.53 6.29-13.36s2 .55 5.43 1.53c18.01 5.23 74.28 22.67 65.84 34.7z",
|
|
194
|
+
transform: "translate(-95.23 -55.03)"
|
|
195
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
196
|
+
d: "M492.7 429.08c-1.23 4.28-4.6 10.69-7.95 15.36l-3.75-3.53 6.29-13.36s2.02.55 5.41 1.53z",
|
|
197
|
+
opacity: "0.1",
|
|
198
|
+
transform: "translate(-95.23 -55.03)"
|
|
199
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
200
|
+
fill: "#dce6f2",
|
|
201
|
+
d: "M397.15 278.42s-25.68 11.39-24.42 39.36a461.14 461.14 0 005.88 53.76s-5.25 42.09 16.61 52.94 42.09 19.77 42.09 19.77 34.2 3.68 38.45 5.2 17.53-21.72 15.08-25.34S457 412.9 453 406.86s-13.25-9.77-13.25-9.77-9.55-5.78-10.2-11 1.87-9.11 2.51-11.4 2.26-24.4 2.26-24.4 10.78-78.7-37.17-71.87z",
|
|
202
|
+
transform: "translate(-95.23 -55.03)"
|
|
203
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
204
|
+
d: "M414.1 370.39s-35.23 5.9-31.82 18.23c0 0 12.79-13.31 31.82-18.23zM414.37 375.38S395 391.19 398.79 392s15.58-16.62 15.58-16.62zM423.68 380.89s-5.19 10.63-2 9.91 2-9.91 2-9.91z",
|
|
205
|
+
opacity: "0.1",
|
|
206
|
+
transform: "translate(-95.23 -55.03)"
|
|
207
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
208
|
+
d: "M494 430.21l-2.14-.61c.61-2 .78-3.62.28-4.37-2.45-3.62-33.82-11.2-37.81-17.25s-13.25-9.77-13.25-9.77-9.55-5.78-10.2-11 1.87-9.11 2.51-11.4 2.26-24.41 2.26-24.41 10.75-78.69-37.2-71.86c0 0-25.68 11.4-24.43 39.37a459.85 459.85 0 005.89 53.76s-5.25 42.09 16.61 52.94 42.09 19.77 42.09 19.77 34.19 3.67 38.45 5.2c1.61.58 4.52-2.41 7.37-6.52l1.62 1.51 27.86 26.06s35.95 7.59 45.95-6.72c8.45-12.04-47.81-29.48-65.86-34.7z",
|
|
209
|
+
opacity: "0.1",
|
|
210
|
+
transform: "translate(-95.23 -55.03)"
|
|
211
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
212
|
+
fill: "#965d7b",
|
|
213
|
+
d: "M382.37 173.44a8.5 8.5 0 00-2.77 1.07c-1 .83-1 2.25-1.25 3.49a11.48 11.48 0 01-2 4.78 7.19 7.19 0 003.33-.55 17.14 17.14 0 01-1 4 3.24 3.24 0 003-1.83 19.26 19.26 0 001.25-3.51 2.89 2.89 0 01.48-1c.92-1.09 2.63-.6 4.05-.46a6.65 6.65 0 006.08-2.92c1.51-2.29 1.6-8.15-2-8.77-3.76-.62-6.1 4.56-9.17 5.7z",
|
|
214
|
+
transform: "translate(-95.23 -55.03)"
|
|
215
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
216
|
+
opacity: "0.1"
|
|
217
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
218
|
+
d: "M379.5 175.74c.09-.49.15-1 .26-1.49-.95.83-1 2.24-1.25 3.49a11 11 0 01-.59 2.11 11.46 11.46 0 001.58-4.11zM379.82 184a16.63 16.63 0 001-4 7.16 7.16 0 01-3.17.55 11.57 11.57 0 01-1.15 2 7.12 7.12 0 003.32-.54 16.63 16.63 0 01-1 4 3.25 3.25 0 003-1.83 7.46 7.46 0 00.6-1.43 3 3 0 01-2.6 1.25zM388.6 177.2c-1.42-.14-3.14-.63-4.06.46a3.09 3.09 0 00-.48 1c-.09.26-.17.53-.24.8.95-.75 2.49-.35 3.78-.22a6.68 6.68 0 006.08-2.92 5.54 5.54 0 00.67-1.57 6.66 6.66 0 01-5.75 2.45z",
|
|
219
|
+
transform: "translate(-95.23 -55.03)"
|
|
220
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
221
|
+
fill: "#dce6f2",
|
|
222
|
+
d: "M317.24 201L332.49 219.34 330.5 237.85 312.07 209 317.24 201z"
|
|
223
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
224
|
+
d: "M332.48 219.34L330.61 236.75 330.49 237.85 313.86 211.81 312.07 209 312.59 208.19 317.23 201 318.26 202.24 332.48 219.34z",
|
|
225
|
+
opacity: "0.1"
|
|
226
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
227
|
+
fill: "#efb7b9",
|
|
228
|
+
d: "M435.63 231.2c-5.16 1.48-10.09 6.56-14.38 12.73a108.65 108.65 0 00-7.76 13.34c-1.41 2.82-2.65 5.53-3.68 7.89l-.72 1.68c-1.74 4.11-2.71 6.86-2.71 6.86s-39.5-29.7-33.25-31.7c2.1-.67 4.86-5.17 7.59-10.84l.34-.72c1.73-3.64 3.43-7.7 4.94-11.52 3.09-7.85 5.38-14.67 5.38-14.67s60 22.45 44.25 26.95z",
|
|
229
|
+
transform: "translate(-95.23 -55.03)"
|
|
230
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
231
|
+
fill: "#444053",
|
|
232
|
+
d: "M459.26 202.58s9.12 16.5 21.37 14.25 7.21-8.86 7.21-8.86z",
|
|
233
|
+
transform: "translate(-95.23 -55.03)"
|
|
234
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
235
|
+
fill: "#a36468",
|
|
236
|
+
d: "M441.59 773.73c-8.08 3.69-26.35 0-26.35 0l-7.7-.48c-10-.64-26.74-1.72-32.66-2.2-8.64-.71-6.52-4.25-6.52-4.25v-21.39l41.92-10.62s16.57 5.67 21.11 10.62c4.31 4.72 6.83 1.09 14.52 2.45.38.07.78.15 1.2.25 7.3 1.67 11.26 2.33 13.6 8.38a28.1 28.1 0 011.13 3.9c2.16 9.74-12.18 9.67-20.25 13.34z",
|
|
237
|
+
transform: "translate(-95.23 -55.03)"
|
|
238
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
239
|
+
d: "M460.71 756.49a31.34 31.34 0 01-4.72 2.42c-5.5 2.51-10.73 5.57-16.29 7.94s-11.55 4.06-17.57 3.61c-3.15-.23-6.37-1-9.38-.1a21.66 21.66 0 00-5.21 2.89c-10-.64-26.74-1.72-32.66-2.2-8.64-.71-6.52-4.25-6.52-4.25v-2.5c.31 0 .66-.09 1.06-.12a18.88 18.88 0 016.1.91c4.34 1.18 8.66 2.34 13 3.5a10.27 10.27 0 015-6.38 15.94 15.94 0 018.06-1.85c6.73.09 13.1 3.28 19.82 3.6a10.92 10.92 0 005.49-.92c.92-.46 1.73-1.13 2.63-1.64a19.2 19.2 0 014.53-1.53 99.76 99.76 0 0012.95-4.18c1.2-.47 2.6-1.32 2.44-2.6-.21-1.7-2.88-1.9-3.58-3.46a2 2 0 01.08-1.77c.38.07.78.15 1.2.25 7.27 1.67 11.23 2.33 13.57 8.38z",
|
|
240
|
+
opacity: "0.1",
|
|
241
|
+
transform: "translate(-95.23 -55.03)"
|
|
242
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
243
|
+
fill: "#a36468",
|
|
244
|
+
d: "M433.05 820.53c-9.5 4.34-31 0-31 0L393 820c-11.72-.75-31.46-2-38.43-2.59-10.17-.84-7.67-5-7.67-5V787.2l49.33-12.5s19.5 6.67 24.84 12.5c5.07 5.55 8 1.28 17.09 2.88.45.08.92.18 1.41.29 8.59 2 13.25 2.75 16 9.87a32.1 32.1 0 011.33 4.59c2.48 11.46-14.35 11.37-23.85 15.7z",
|
|
245
|
+
transform: "translate(-95.23 -55.03)"
|
|
246
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
247
|
+
d: "M455.55 800.24a37.23 37.23 0 01-5.55 2.85c-6.47 2.95-12.63 6.55-19.17 9.34s-13.59 4.77-20.68 4.25c-3.7-.27-7.49-1.2-11-.12A25.5 25.5 0 00393 820c-11.72-.75-31.46-2-38.43-2.59-10.17-.84-7.67-5-7.67-5v-2.94a12.5 12.5 0 011.25-.14 21.94 21.94 0 017.18 1.07l15.29 4.12a12.1 12.1 0 015.93-7.51 18.66 18.66 0 019.49-2.18c7.92.11 15.41 3.86 23.32 4.24a12.91 12.91 0 006.44-1.07c1.09-.55 2-1.34 3.1-1.93a21.75 21.75 0 015.33-1.8 119.69 119.69 0 0015.16-4.92c1.41-.56 3.06-1.56 2.87-3.06-.25-2-3.39-2.24-4.22-4.08a2.41 2.41 0 01.1-2.08c.45.08.92.18 1.41.29 8.59 1.92 13.25 2.7 16 9.82z",
|
|
248
|
+
opacity: "0.1",
|
|
249
|
+
transform: "translate(-95.23 -55.03)"
|
|
250
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
251
|
+
fill: "#444053",
|
|
252
|
+
d: "M411.55 647.54l-2.67 62.83s-4 12.83-1.83 16.5 5.83 7.33 4.5 9.5S394.22 762 389.05 753s-10.27-48-10.27-48l4.77-48.17zM423.13 491l7.42 9.92v86.28s2.17 23 0 27.75-13.17 14.25-13.17 14.25l-9.25-47.5 2-50.25z",
|
|
253
|
+
transform: "translate(-95.23 -55.03)"
|
|
254
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
255
|
+
d: "M411.55 647.54l-2.67 62.83s-4 12.83-1.83 16.5 5.83 7.33 4.5 9.5S394.22 762 389.05 753s-10.27-48-10.27-48l4.77-48.17zM423.13 491l7.42 9.92v86.28s2.17 23 0 27.75-13.17 14.25-13.17 14.25l-9.25-47.5 2-50.25z",
|
|
256
|
+
opacity: "0.1",
|
|
257
|
+
transform: "translate(-95.23 -55.03)"
|
|
258
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
259
|
+
fill: "#444053",
|
|
260
|
+
d: "M430.55 454.2v46.67l-8.33 36.33s-2.67 87.67-.34 98.33-8 20.67-8 20.67-6 .67-6 5.33-10 18-10 18l.33 26s4.34 48.67-2.33 58 2.33 10.67 2.33 10.67c-8.33 27.33-48.33 21-51.94 18s0-62 0-62 8.94-90 15.94-94 .34-9 2.67-15-2.33-22.33-2.33-22.33-2-19.34-7-28.67-4.34-35-4.34-35-14-18.67-18.16-26-6.84-26.33-5.84-40.67c.68-9.69 5.77-23.8 9-31.92 1.55-3.89 2.67-6.41 2.67-6.41l.95.25 54.62 14.3z",
|
|
261
|
+
transform: "translate(-95.23 -55.03)"
|
|
262
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
263
|
+
d: "M435.63 231.2c-5.16 1.48-10.09 6.56-14.38 12.73h-1.12a35.72 35.72 0 01-31-17.93 35.18 35.18 0 01-3.14-7.15c3.09-7.85 5.38-14.67 5.38-14.67s60.01 22.52 44.26 27.02z",
|
|
264
|
+
opacity: "0.1",
|
|
265
|
+
transform: "translate(-95.23 -55.03)"
|
|
266
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
267
|
+
fill: "#efb7b9",
|
|
268
|
+
d: "M455.88 206.2A35.75 35.75 0 11389 188.68a34.93 34.93 0 013.78-5.46A36.18 36.18 0 01401 176a35.75 35.75 0 0154.83 27.58c.02.88.05 1.75.05 2.62z",
|
|
269
|
+
transform: "translate(-95.23 -55.03)"
|
|
270
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
271
|
+
d: "M425.84 291.78l-.12 1.1-16.63-26c-1.74 4.11-2.71 6.86-2.71 6.86S366.88 244 373.13 242c2.1-.67 4.86-5.17 7.59-10.84l.34-.72c2.9 8.64 19.75 25.91 26.76 32.83.81.8 1.48 1.46 2 1.94l1.07 1 .56.56c2.55 2.63 13.31 14.23 14.39 25.01z",
|
|
272
|
+
opacity: "0.1",
|
|
273
|
+
transform: "translate(-95.23 -55.03)"
|
|
274
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
275
|
+
fill: "#dce6f2",
|
|
276
|
+
d: "M438.27 380l-1.82 58.57-.32 10.43s-21.56-2-41.68-4.2c-16.2-1.77-31.47-3.68-33.82-4.8-3-1.41-9.43-2.5-14.5-3.19-3.92-.53-7-.81-7-.81s-1.15.34-2.92.66c-3.86.7-10.64 1.27-14.59-2.16-5.05-4.39 8.22-20.34 11.53-24.17l.73-.83-1.25-11.55-3.25-29.95s-2-17.25-5-26.5a48.88 48.88 0 01-1.73-8.05 64.48 64.48 0 011.68-25.26 55.08 55.08 0 001.8-10.69c.5-9.25 28.75-45 35.75-48.25a14.84 14.84 0 007.16-7.14 13.64 13.64 0 001.09-3.11c3-13 10.59-7.84 10.59-7.84 1.83 10.17 30.16 37.09 30.16 37.09l.56.56c2.81 2.88 15.33 16.4 14.44 27.94a33.87 33.87 0 001.89 12.64 213.75 213.75 0 019.85 56z",
|
|
277
|
+
transform: "translate(-95.23 -55.03)"
|
|
278
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
279
|
+
d: "M398.13 310.45s-7 17-12.25 19.75 14.75 5.8 12.25-19.75zM403.38 342.2s-16 2-16 5 16-5 16-5zM420.13 361.7s-23.25 49.5-29.75 51 29.75-51 29.75-51zM410.44 270.76l-19.23 8.36L368 244.06a13.64 13.64 0 001.09-3.11c3-13 10.59-7.84 10.59-7.84 1.83 10.17 30.16 37.09 30.16 37.09z",
|
|
280
|
+
opacity: "0.1",
|
|
281
|
+
transform: "translate(-95.23 -55.03)"
|
|
282
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
283
|
+
fill: "#dce6f2",
|
|
284
|
+
d: "M411.44 268.76l-19.23 8.36L369 242.06a13.64 13.64 0 001.09-3.11c3-13 10.59-7.84 10.59-7.84 1.83 10.17 30.16 37.09 30.16 37.09z",
|
|
285
|
+
transform: "translate(-95.23 -55.03)"
|
|
286
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
287
|
+
d: "M436.13 449s-21.56-2-41.68-4.2l36.1 9.45v11c-1.58 1.43-2.95 2.17-3.84 1.79-4.16-1.75-38.11-7.25-38.11-7.25s-19.72-10-41-22a16.43 16.43 0 01-1.5-.94 23.64 23.64 0 01-6.3-6.31c-3.93-5.69-5.85-13-6.68-20.17a87.22 87.22 0 01-.52-12.38 101.51 101.51 0 011.28-13.99 460.08 460.08 0 01-3-54c.25-28 26.5-38 26.5-38 48.25-4.25 33.29 73.75 33.29 73.75s-2.79 22-3.55 24.25-3.49 6-3.12 11.25 9.59 11.53 9.59 11.53 9 4.22 12.71 10.47c2.7 4.61 20.24 10.86 30.15 15.32zM452.29 184a11.32 11.32 0 01-1 4.78 29.55 29.55 0 01-1.78 3.56 16.4 16.4 0 01-4.38 5.44c-2.31 1.65-5.23 2.11-8 2.78s-5.65 1.74-7.23 4.1a14.34 14.34 0 00-1.69 4.9 10.54 10.54 0 01-2 4.74 3.93 3.93 0 01-4.68 1.12 4.73 4.73 0 01-1.81-2.33c-1.14-2.57-1.43-5.42-1.89-8.19s-1.11-5.62-2.81-7.85-4.71-3.7-7.38-2.83a7.11 7.11 0 00-4 3.88 22.24 22.24 0 00-1.51 5.52q-1.86 10.18-4.39 20.24a1.86 1.86 0 01-.33.76 1.44 1.44 0 01-1 .42c-2.24.3-4.39-1.27-6.65-1.1a3.82 3.82 0 00-.69.11 35.73 35.73 0 013.61-40.8l.18-.05a10.78 10.78 0 004-2.52 42.22 42.22 0 004-4.63l.8-1a45.61 45.61 0 017.8-7.41 8 8 0 012.66-1.44 7.88 7.88 0 012.52-.08 63.57 63.57 0 0010.41.39 66.79 66.79 0 017.31-.74c6.33.18 11.73 4.65 15.73 9.55 2.15 2.51 4.07 5.4 4.2 8.68z",
|
|
288
|
+
opacity: "0.1",
|
|
289
|
+
transform: "translate(-95.23 -55.03)"
|
|
290
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
291
|
+
fill: "#965d7b",
|
|
292
|
+
d: "M384.33 189.63c-1.39 2.28-3.9 3.83-4.84 6.33-1.38 3.63.95 8.15-1.19 11.39-.71 1.09-1.88 1.9-2.28 3.15-.68 2.11 1.18 4.36.7 6.53s-3.34 4-2.58 6.12a4 4 0 002.2 2 8.6 8.6 0 005 1.11c2.73-.45 4.76-3.13 7.53-3.33 2.25-.16 4.4 1.4 6.64 1.11a1.5 1.5 0 001-.43 1.73 1.73 0 00.33-.76q2.52-10.05 4.4-20.24a21.8 21.8 0 011.5-5.52 7.17 7.17 0 014-3.88c2.67-.86 5.67.6 7.38 2.83s2.36 5.08 2.82 7.85.75 5.62 1.88 8.19a4.78 4.78 0 001.82 2.34c1.5.87 3.52.18 4.67-1.12a10.43 10.43 0 002-4.75 14.28 14.28 0 011.69-4.89c1.58-2.36 4.47-3.43 7.23-4.1s5.67-1.14 8-2.79a16.46 16.46 0 004.38-5.43c1.48-2.58 2.86-5.38 2.74-8.35-.13-3.24-2.05-6.13-4.1-8.65-4-4.9-9.41-9.37-15.74-9.54a62.2 62.2 0 00-7.31.74 62.57 62.57 0 01-10.41-.4 8.18 8.18 0 00-2.52.09 7.54 7.54 0 00-2.65 1.44 45.63 45.63 0 00-7.81 7.4 57.31 57.31 0 01-4.82 5.6 10.85 10.85 0 01-4 2.53c-1 .28-2 .08-2.95.39-2.95.93-3.34 4.78-4.71 7.04z",
|
|
293
|
+
transform: "translate(-95.23 -55.03)"
|
|
294
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
295
|
+
d: "M480.63 216.82c-8 1.47-14.63-5-18.3-9.72a39.22 39.22 0 01-3.07-4.52l27.46 5.18 1.11.21s5.05 6.61-7.2 8.85z",
|
|
296
|
+
opacity: "0.1",
|
|
297
|
+
transform: "translate(-95.23 -55.03)"
|
|
298
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
299
|
+
opacity: "0.1"
|
|
300
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
301
|
+
d: "M376.72 214.17a8.33 8.33 0 00-.58-3.84c0 .1-.09.2-.12.3-.43 1.34.15 2.73.52 4.12a3 3 0 00.18-.58zM379.1 197.8a22.22 22.22 0 00.08 4.15 22.28 22.28 0 00-.08-4.15zM448.55 188.45a16.4 16.4 0 01-4.38 5.44c-2.31 1.65-5.22 2.11-8 2.78s-5.65 1.74-7.23 4.1a14.41 14.41 0 00-1.69 4.9 10.47 10.47 0 01-2 4.75c-1.15 1.3-3.17 2-4.67 1.12a4.78 4.78 0 01-1.82-2.34c-1.13-2.57-1.43-5.41-1.88-8.19s-1.12-5.62-2.82-7.85-4.71-3.7-7.38-2.83a7.14 7.14 0 00-4 3.88 21.8 21.8 0 00-1.5 5.52q-1.87 10.19-4.4 20.24a1.73 1.73 0 01-.33.76 1.5 1.5 0 01-1 .43c-2.24.29-4.39-1.27-6.64-1.11-2.77.2-4.8 2.88-7.53 3.32a8.45 8.45 0 01-5-1.11 5.35 5.35 0 01-1.83-1.3 2.7 2.7 0 00-.37 2.33 3.9 3.9 0 002.2 2 8.45 8.45 0 005 1.11c2.73-.44 4.76-3.12 7.53-3.32 2.25-.16 4.4 1.4 6.64 1.11a1.5 1.5 0 001-.43 1.73 1.73 0 00.33-.76q2.52-10 4.4-20.24a21.8 21.8 0 011.5-5.52 7.14 7.14 0 014-3.88c2.67-.87 5.67.6 7.38 2.83s2.36 5.08 2.82 7.85.75 5.62 1.88 8.19a4.78 4.78 0 001.82 2.34c1.5.87 3.52.18 4.67-1.12a10.47 10.47 0 002-4.75 14.41 14.41 0 011.69-4.9c1.58-2.36 4.47-3.42 7.23-4.1s5.67-1.13 8-2.78a16.4 16.4 0 004.38-5.44c1.48-2.57 2.86-5.37 2.74-8.34a10.74 10.74 0 00-.12-1.14 19.65 19.65 0 01-2.62 6.45z",
|
|
302
|
+
transform: "translate(-95.23 -55.03)"
|
|
303
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
304
|
+
d: "M451.33 188.75a35.33 35.33 0 014.45 14.85c-8.91-5-17.29-10.49-21.52-12.4-7.37-3.33-34.93-2.83-45.29-2.52a34.93 34.93 0 013.78-5.46A36.18 36.18 0 01401 176a35.77 35.77 0 0150.38 12.73zM483.13 212.58c-4.81 1.48-12.66-1.38-20.8-5.48a39.22 39.22 0 01-3.07-4.52l27.46 5.18c1.82 1.24 2.28 3.01-3.59 4.82z",
|
|
305
|
+
opacity: "0.1",
|
|
306
|
+
transform: "translate(-95.23 -55.03)"
|
|
307
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
308
|
+
fill: "#444053",
|
|
309
|
+
d: "M422.26 154.08s-26.25-1.5-33.63 12.75l-1.19 12.63-2-.22-.4 8.59s40.12-1.75 49.25 2.37 37.5 24.88 48.87 21.38-1-6.75-1-6.75-15.65-6.63-15.65-11.83-3.88-32.67-44.25-38.92z",
|
|
310
|
+
transform: "translate(-95.23 -55.03)"
|
|
311
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
312
|
+
d: "M371.63 622.28s16.75 16.25 24 15c0 0-20.5-1.75-24-15zM368.13 629.81s1.5 8.36 5.5 7.54-5.5-7.54-5.5-7.54zM394.38 769.53s-23.78 18.5-19.77 19 19.77-19 19.77-19z",
|
|
313
|
+
opacity: "0.1",
|
|
314
|
+
transform: "translate(-95.23 -55.03)"
|
|
315
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
316
|
+
fill: "#1976d2",
|
|
317
|
+
d: "M330.96 347.33L407.96 334.8 407.96 407.7 334.8 403.87 330.96 347.33z"
|
|
318
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
319
|
+
d: "M330.96 347.33L407.96 334.8 407.96 407.7 334.8 403.87 330.96 347.33z",
|
|
320
|
+
opacity: "0.05"
|
|
321
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
322
|
+
fill: "#1976d2",
|
|
323
|
+
d: "M407.96 334.8L500.3 341.71 495.19 405.15 407.96 407.7 407.96 334.8z"
|
|
324
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
325
|
+
d: "M407.96 334.8L500.3 341.71 495.19 405.15 407.96 407.7 407.96 334.8z",
|
|
326
|
+
opacity: "0.1"
|
|
327
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
328
|
+
fill: "#1976d2",
|
|
329
|
+
d: "M436.35 312.55L407.96 334.8 500.3 341.71 515.39 318.94 436.35 312.55z"
|
|
330
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
331
|
+
fill: "#1976d2",
|
|
332
|
+
d: "M303.08 323.03L372.4 314.59 407.96 334.8 330.96 347.33 303.08 323.03z"
|
|
333
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
334
|
+
fill: "#1976d2",
|
|
335
|
+
d: "M424.84 353.73L424.84 453.4 388.77 449.7 373.08 448.1 368.3 447.6 352.62 445.99 330.96 443.77 330.96 347.33 407.95 352.57 424.84 353.73z"
|
|
336
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
337
|
+
fill: "#1976d2",
|
|
338
|
+
d: "M500.3 341.71L500.3 438.91 471.39 444.46 457.33 447.16 424.84 453.4 424.84 353.73 500.3 341.71z"
|
|
339
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
340
|
+
d: "M500.3 341.71L500.3 438.91 471.39 444.46 457.33 447.16 424.84 453.4 424.84 353.73 500.3 341.71z",
|
|
341
|
+
opacity: "0.05"
|
|
342
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
343
|
+
fill: "#1976d2",
|
|
344
|
+
d: "M303.08 368.31L330.96 347.33 424.84 353.73 411.02 377.01 303.08 368.31z"
|
|
345
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
346
|
+
fill: "#fff",
|
|
347
|
+
d: "M303.08 368.31L330.96 347.33 424.84 353.73 411.02 377.01 303.08 368.31z",
|
|
348
|
+
opacity: "0.1"
|
|
349
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
350
|
+
fill: "#1976d2",
|
|
351
|
+
d: "M500.3 341.71L424.84 353.73 449.4 375.73 530.23 362.17 500.3 341.71z"
|
|
352
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
353
|
+
fill: "#fff",
|
|
354
|
+
d: "M500.3 341.71L424.84 353.73 449.4 375.73 530.23 362.17 500.3 341.71z",
|
|
355
|
+
opacity: "0.1"
|
|
356
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
357
|
+
fill: "#fff",
|
|
358
|
+
d: "M471.39 444.46L457.33 447.16 457.33 426.39 470.5 423.07 471.39 444.46z",
|
|
359
|
+
opacity: "0.1"
|
|
360
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
361
|
+
fill: "#fff",
|
|
362
|
+
d: "M388.77 435.96L388.77 449.7 373.08 448.1 373.08 435.96 388.77 435.96z",
|
|
363
|
+
opacity: "0.1"
|
|
364
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
365
|
+
fill: "#fff",
|
|
366
|
+
d: "M368.3 440.29L368.3 447.6 352.62 445.99 352.62 440.29 368.3 440.29z",
|
|
367
|
+
opacity: "0.1"
|
|
368
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
369
|
+
d: "M510.63 483.7c-10.75 13.75-46.25 4.25-46.25 4.25L438 460.43l-3.58-3.73 7-13s2 .66 5.34 1.82c17.68 6.18 72.92 26.61 63.87 38.18z",
|
|
370
|
+
opacity: "0.1",
|
|
371
|
+
transform: "translate(-95.23 -55.03)"
|
|
372
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
373
|
+
fill: "#efb7b9",
|
|
374
|
+
d: "M509.63 481.7c-10.75 13.75-46.25 4.25-46.25 4.25L437 458.43l-3.58-3.73 7-13s2 .66 5.34 1.82c17.68 6.18 72.92 26.61 63.87 38.18z",
|
|
375
|
+
transform: "translate(-95.23 -55.03)"
|
|
376
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
377
|
+
d: "M445.72 443.52c-1.46 4.2-5.17 10.42-8.76 14.91l-3.58-3.73 7-13s2.01.66 5.34 1.82z",
|
|
378
|
+
opacity: "0.1",
|
|
379
|
+
transform: "translate(-95.23 -55.03)"
|
|
380
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
381
|
+
fill: "#dce6f2",
|
|
382
|
+
d: "M358.38 288s-26.25 10-26.5 38a460.08 460.08 0 003 54s-7.5 41.75 13.75 53.75 41 22 41 22 33.95 5.5 38.12 7.25 18.66-20.75 16.41-24.5-33.16-13-36.83-19.25-12.71-10.46-12.71-10.46-9.22-6.29-9.59-11.54 2.35-9 3.12-11.25 3.56-24.25 3.56-24.25 14.92-78.05-33.33-73.75z",
|
|
383
|
+
transform: "translate(-95.23 -55.03)"
|
|
384
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
385
|
+
d: "M370.38 380.7s-35.5 4-32.75 16.5c0 0 13.49-12.61 32.75-16.5zM370.38 385.7s-20.15 14.75-16.45 15.75 16.45-15.75 16.45-15.75zM379.38 391.7s-5.75 10.34-2.5 9.8 2.5-9.8 2.5-9.8z",
|
|
386
|
+
opacity: "0.1",
|
|
387
|
+
transform: "translate(-95.23 -55.03)"
|
|
388
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
389
|
+
fill: "#1976d2",
|
|
390
|
+
d: "M749 167.42s-38-2.29-33.56 24.37c0 0-.89 4.71 3.38 6.85 0 0 .07-2 3.9-1.31a17.51 17.51 0 004.13.2 8.57 8.57 0 005.06-2.09s10.69-4.41 14.85-21.89c0 0 3.08-3.82 3-4.8l-6.42 2.75s2.19 4.63.46 8.48c0 0-.2-8.31-1.44-8.12-.25 0-3.33 1.61-3.33 1.61s3.77 8.06.92 13.93c0 0 1.08-9.94-2.1-13.35l-4.52 2.64s4.41 8.33 1.42 15.13c0 0 .77-10.43-2.37-14.49l-4.1 3.19s4.15 8.22 1.62 13.86c0 0-.33-12.14-2.51-13.06 0 0-3.58 3.16-4.12 4.46 0 0 2.83 6 1.07 9.11 0 0-1.08-8.09-2-8.13 0 0-3.57 5.36-3.94 9a19.46 19.46 0 013.07-9.54 10.71 10.71 0 00-5.46 2.83s.55-3.79 6.34-4.12c0 0 3-4.07 3.74-4.32 0 0-5.76-.48-9.25 1.07 0 0 3.07-3.57 10.31-2l4-3.3s-7.58-1-10.8.11c0 0 3.7-3.16 11.89-.86l4.4-2.63s-6.46-1.4-10.31-.89c0 0 4.06-2.19 11.6.18l3.15-1.41s-4.74-.93-6.12-1.08-1.46-.53-1.46-.53a16.36 16.36 0 018.89 1s6.75-2.43 6.61-2.85z",
|
|
391
|
+
transform: "translate(-95.23 -55.03)"
|
|
392
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
393
|
+
fill: "#1976d2",
|
|
394
|
+
d: "M864.46 300.76s-38-2.29-33.56 24.37c0 0-.89 4.71 3.38 6.85 0 0 .07-2 3.91-1.31a17.51 17.51 0 004.13.2 8.56 8.56 0 005-2.08s10.7-4.42 14.86-21.9c0 0 3.07-3.81 2.95-4.79l-6.42 2.74s2.19 4.63.47 8.48c0 0-.21-8.31-1.44-8.12-.25 0-3.34 1.61-3.34 1.61s3.78 8.07.93 13.93c0 0 1.08-9.94-2.11-13.35l-4.47 2.61s4.41 8.33 1.42 15.13c0 0 .77-10.43-2.37-14.49l-4.09 3.2s4.14 8.21 1.62 13.85c0 0-.33-12.14-2.51-13.06 0 0-3.58 3.16-4.13 4.46 0 0 2.84 6 1.08 9.11 0 0-1.08-8.09-2-8.13 0 0-3.57 5.36-3.94 9a19.52 19.52 0 013.08-9.54 10.76 10.76 0 00-5.47 2.83s.56-3.79 6.35-4.12c0 0 2.95-4.07 3.74-4.32 0 0-5.76-.48-9.25 1.07 0 0 3.07-3.57 10.3-1.95l4-3.3s-7.59-1-10.8.11c0 0 3.7-3.16 11.89-.86l4.4-2.63s-6.47-1.39-10.32-.89c0 0 4.07-2.19 11.61.18l3.15-1.41s-4.74-.93-6.13-1.08-1.46-.53-1.46-.53a16.39 16.39 0 018.9 1s6.76-2.45 6.64-2.87zM633.61 277.09s8.75-37.09-18.29-37.22c0 0-4.49-1.68-7.32 2.16 0 0 1.93.41.62 4.07a17.8 17.8 0 00-.9 4 8.59 8.59 0 001.19 5.33s2.53 11.3 19 18.38c0 0 3.24 3.68 4.22 3.72l-1.6-6.79s-4.94 1.37-8.44-1c0 0 8.23 1.21 8.24 0 0-.25-1-3.56-1-3.56s-8.59 2.34-13.89-1.47c0 0 9.61 2.76 13.52.21l-1.8-4.92s-9 2.93-15.16-1.18c0 0 10.15 2.54 14.69.14l-2.45-4.58s-8.8 2.68-13.93-.77c0 0 12 1.74 13.3-.24 0 0-2.5-4.07-3.69-4.83 0 0-6.36 1.78-9.16-.49 0 0 8.15.31 8.34-.55 0 0-4.67-4.43-8.23-5.43a19.6 19.6 0 018.89 4.66 10.79 10.79 0 00-1.86-5.87s3.64 1.2 3 7c0 0 3.5 3.6 3.61 4.42 0 0 1.45-5.59.52-9.3 0 0 3 3.64.17 10.49l2.56 4.55s2.32-7.3 1.73-10.66c0 0 2.49 4.18-1.18 11.86l1.85 4.79s2.47-6.14 2.63-10c0 0 1.47 4.38-2.16 11.41l.86 3.34s1.72-4.51 2.1-5.85.77-1.35.77-1.35a16.38 16.38 0 01-2.49 8.6s1.31 6.98 1.74 6.93zM550.39 289.73s-30.52-22.83-41.43 1.9c0 0-3.33 3.45-.94 7.58 0 0 1.14-1.61 4 1.06a17.51 17.51 0 003.34 2.44 8.58 8.58 0 005.37 1s11.36 2.19 24.44-10.12c0 0 4.67-1.5 5.11-2.38l-6.89-1.21s-.72 5.07-4.27 7.34c0 0 4.39-7.06 3.25-7.57-.23-.11-3.67-.5-3.67-.5s-1.28 8.82-6.88 12.15c0 0 6.37-7.71 5.58-12.31l-5.23-.28s-.89 9.39-7.13 13.43c0 0 6.37-8.29 6-13.41l-5.18.42s-1.05 9.13-6.26 12.45c0 0 6.39-10.32 5.08-12.28 0 0-4.73.67-5.9 1.45 0 0-.91 6.54-4.11 8.2 0 0 3.55-7.35 2.83-7.86 0 0-5.93 2.51-8.26 5.37a19.53 19.53 0 017.82-6.28 10.77 10.77 0 00-6.12-.64s2.54-2.86 7.56.05c0 0 4.7-1.77 5.5-1.55 0 0-4.55-3.57-8.32-4.19 0 0 4.54-1.3 9.69 4l5.19-.53s-5.77-5-9.08-5.84c0 0 4.83-.61 10.4 5.81l5.12.23s-4.63-4.72-8.12-6.42c0 0 4.59.4 9.59 6.53l3.41.55s-3.45-3.38-4.53-4.26-.93-1.25-.93-1.25a16.43 16.43 0 016.89 5.72s6.95 1.61 7.08 1.2zM652 77.62s-30.52-22.84-41.43 1.9c0 0-3.33 3.45-.94 7.58 0 0 1.14-1.61 4 1.06a17.79 17.79 0 003.35 2.43 8.57 8.57 0 005.37 1s11.36 2.19 24.44-10.13c0 0 4.67-1.49 5.1-2.38L645 77.89s-.71 5.07-4.27 7.34c0 0 4.4-7.06 3.26-7.57-.23-.11-3.67-.5-3.67-.5S639 86 633.4 89.31c0 0 6.36-7.71 5.58-12.31l-5.23-.28s-.9 9.39-7.13 13.42c0 0 6.37-8.29 6-13.41l-5.17.42s-1.06 9.14-6.27 12.46c0 0 6.4-10.32 5.09-12.28 0 0-4.73.67-5.9 1.45 0 0-.91 6.54-4.11 8.2 0 0 3.55-7.35 2.83-7.87 0 0-5.93 2.52-8.26 5.38a19.44 19.44 0 017.82-6.28 10.7 10.7 0 00-6.13-.64s2.55-2.86 7.57.05c0 0 4.7-1.78 5.5-1.55 0 0-4.55-3.57-8.32-4.2 0 0 4.53-1.29 9.68 4l5.19-.53s-5.76-5-9.08-5.85c0 0 4.83-.6 10.41 5.82l5.12.22s-4.63-4.72-8.13-6.41c0 0 4.6.4 9.6 6.53l3.4.55s-3.46-3.34-4.54-4.2-.93-1.24-.93-1.24a16.4 16.4 0 016.89 5.72s6.95 1.52 7.12 1.14zM768.62 106.55s-12.2-36.11-35.21-21.92c0 0-4.7 1-5.07 5.71 0 0 1.85-.68 2.67 3.12a18 18 0 001.37 3.91 8.66 8.66 0 003.84 3.89s8.12 8.25 25.88 5.52c0 0 4.69 1.42 5.55.93l-5-4.91s-3.46 3.77-7.68 3.62c0 0 7.63-3.32 7-4.39-.13-.21-2.74-2.48-2.74-2.48s-6.06 6.53-12.56 6.1c0 0 9.61-2.74 11.57-7l-4.14-3.19s-6.06 7.22-13.49 7c0 0 10-3.21 12.53-7.65l-4.5-2.59s-6 6.93-12.22 6.71c0 0 11.12-4.87 11.15-7.23 0 0-4.27-2.13-5.68-2.15 0 0-4.46 4.87-8 4.43 0 0 7.08-4.05 6.78-4.88 0 0-6.3-1.29-9.85-.25a19.49 19.49 0 0110-.75 10.79 10.79 0 00-4.69-4s3.72-.91 6.21 4.33c0 0 4.88 1.21 5.4 1.84 0 0-1.72-5.51-4.47-8.17 0 0 4.47 1.51 5.69 8.82l4.58 2.5s-1.89-7.41-4.17-10c0 0 4.33 2.24 5.27 10.69l4.1 3.09s-1.14-6.52-3.06-9.9c0 0 3.56 2.94 4.2 10.83l2.49 2.38s-.92-4.74-1.3-6.08S761 93 761 93a16.49 16.49 0 012.43 8.62s4.84 5.19 5.19 4.93zM689 108.33s-37.9-4.22-34.77 22.67c0 0-1.13 4.66 3 7 0 0 .17-2 4-1.1a18.4 18.4 0 004.12.41 8.6 8.6 0 005.15-1.83s10.91-3.87 16-21.12c0 0 3.26-3.65 3.19-4.64l-6.55 2.42s2 4.73 0 8.49c0 0 .21-8.31-1-8.18-.25 0-3.41 1.44-3.41 1.44s3.36 8.25.22 14c0 0 1.58-9.88-1.43-13.44l-4.65 2.4s4 8.55.65 15.19c0 0 1.3-10.38-1.63-14.59l-4.25 3s3.72 8.41.91 13.92c0 0 .29-12.14-1.84-13.17 0 0-3.74 3-4.35 4.24 0 0 2.53 6.1.62 9.15 0 0-.67-8.13-1.55-8.21 0 0-3.84 5.17-4.4 8.82a19.47 19.47 0 013.56-9.38 10.76 10.76 0 00-5.6 2.55s.74-3.75 6.54-3.79c0 0 3.15-3.91 4-4.12 0 0-5.73-.77-9.3.6 0 0 3.25-3.42 10.39-1.43l4.21-3.09S663.22 115 660 116c0 0 3.86-3 11.92-.25l4.53-2.41s-6.39-1.72-10.26-1.41c0 0 4.17-2 11.58.77l3.22-1.25s-4.69-1.17-6.07-1.39-1.43-.6-1.43-.6a16.45 16.45 0 018.84 1.44s6.74-2.15 6.67-2.57zM1020.6 402.5s-37.88-4.22-34.75 22.64c0 0-1.13 4.66 3 7 0 0 .17-2 4-1.11a17.3 17.3 0 004.12.41 8.53 8.53 0 005.15-1.83s10.91-3.87 15.95-21.11c0 0 3.26-3.66 3.19-4.64l-6.55 2.41s2 4.74 0 8.5c0 0 .21-8.32-1-8.18-.25 0-3.41 1.43-3.41 1.43s3.36 8.25.22 14c0 0 1.58-9.87-1.43-13.44l-4.65 2.41s4 8.55.66 15.19c0 0 1.29-10.38-1.64-14.6l-4.25 3s3.72 8.41.91 13.91c0 0 .29-12.14-1.84-13.16 0 0-3.73 3-4.35 4.24 0 0 2.54 6.1.62 9.15 0 0-.67-8.13-1.55-8.21 0 0-3.84 5.17-4.4 8.82a19.47 19.47 0 013.56-9.38 10.67 10.67 0 00-5.6 2.55s.74-3.76 6.54-3.8c0 0 3.16-3.91 4-4.11 0 0-5.73-.78-9.3.59 0 0 3.25-3.41 10.4-1.42l4.2-3.09s-7.52-1.42-10.79-.44c0 0 3.86-3 11.92-.26l4.53-2.4s-6.39-1.72-10.26-1.41c0 0 4.17-2 11.58.77l3.22-1.26s-4.69-1.17-6.07-1.38-1.43-.6-1.43-.6a16.39 16.39 0 018.84 1.43s6.76-2.19 6.66-2.62zM1078.51 437.88s-37.88-4.21-34.75 22.64c0 0-1.12 4.66 3 7 0 0 .17-2 4-1.1a17.65 17.65 0 004.11.4A8.64 8.64 0 001060 465s10.9-3.87 15.94-21.12c0 0 3.27-3.65 3.19-4.64l-6.55 2.41s2 4.74 0 8.5c0 0 .21-8.31-1-8.18-.25 0-3.41 1.43-3.41 1.43s3.36 8.25.22 14c0 0 1.58-9.87-1.43-13.43l-4.65 2.4s4 8.55.66 15.19c0 0 1.29-10.38-1.64-14.59l-4.25 3s3.72 8.41.92 13.92c0 0 .28-12.15-1.85-13.17 0 0-3.73 3-4.35 4.24 0 0 2.54 6.1.62 9.15 0 0-.67-8.13-1.55-8.21 0 0-3.84 5.17-4.39 8.82a19.52 19.52 0 013.55-9.38 10.76 10.76 0 00-5.6 2.55s.75-3.76 6.55-3.79c0 0 3.15-3.91 4-4.12 0 0-5.73-.77-9.3.6 0 0 3.25-3.42 10.4-1.43l4.2-3.09s-7.52-1.42-10.79-.44c0 0 3.86-3 11.92-.25l4.53-2.41s-6.39-1.72-10.26-1.41c0 0 4.17-2 11.58.77l3.22-1.25s-4.69-1.17-6.06-1.39-1.44-.6-1.44-.6a16.45 16.45 0 018.84 1.44s6.79-2.21 6.69-2.64zM949.94 139.87s-30.52-22.83-41.43 1.9c0 0-3.33 3.45-.94 7.58 0 0 1.14-1.61 4 1.06a17.51 17.51 0 003.34 2.44 8.59 8.59 0 005.37 1s11.36 2.19 24.45-10.12c0 0 4.66-1.5 5.1-2.38l-6.87-1.24s-.72 5.07-4.27 7.34c0 0 4.39-7.06 3.25-7.57-.23-.11-3.66-.5-3.66-.5s-1.29 8.82-6.89 12.15c0 0 6.37-7.71 5.58-12.31l-5.23-.28s-.89 9.39-7.13 13.43c0 0 6.38-8.29 6-13.41l-5.18.42s-1 9.13-6.26 12.45c0 0 6.4-10.32 5.08-12.28 0 0-4.73.67-5.9 1.45 0 0-.9 6.54-4.1 8.2 0 0 3.54-7.35 2.82-7.86 0 0-5.93 2.51-8.26 5.37a19.53 19.53 0 017.82-6.28 10.77 10.77 0 00-6.12-.64s2.55-2.86 7.57.05c0 0 4.69-1.77 5.49-1.55 0 0-4.55-3.57-8.32-4.19 0 0 4.54-1.3 9.69 4l5.19-.53s-5.76-5-9.08-5.84c0 0 4.83-.61 10.4 5.81l5.13.23s-4.64-4.72-8.13-6.42c0 0 4.6.4 9.59 6.53l3.41.55s-3.45-3.38-4.53-4.26S936 133 936 133a16.44 16.44 0 016.88 5.72s6.93 1.56 7.06 1.15zM973.52 304.69s-10.52-36.63-34.18-23.48c0 0-4.74.73-5.33 5.47 0 0 1.88-.59 2.53 3.24a17.73 17.73 0 001.2 4 8.59 8.59 0 003.66 4.08s7.74 8.6 25.6 6.68c0 0 4.62 1.62 5.5 1.18l-4.73-5.14s-3.63 3.62-7.83 3.28c0 0 7.76-3 7.16-4.07-.12-.22-2.62-2.61-2.62-2.61s-6.34 6.26-12.82 5.53c0 0 9.73-2.3 11.87-6.44l-4-3.38s-6.38 6.94-13.79 6.4c0 0 10.08-2.77 12.86-7.08l-4.38-2.79s-6.35 6.65-12.51 6.15c0 0 11.33-4.37 11.47-6.72 0 0-4.18-2.32-5.59-2.4 0 0-4.67 4.66-8.22 4.06 0 0 7.26-3.73 7-4.57 0 0-6.24-1.57-9.83-.7a19.51 19.51 0 0110-.29 10.73 10.73 0 00-4.5-4.2s3.76-.75 6 4.6c0 0 4.81 1.42 5.31 2.08 0 0-1.47-5.59-4.1-8.36 0 0 4.4 1.7 5.29 9.06l4.46 2.71s-1.56-7.5-3.72-10.14c0 0 4.22 2.43 4.79 10.91l4 3.27s-.85-6.56-2.61-10c0 0 3.43 3.1 3.71 11l2.38 2.5s-.7-4.78-1-6.14 0-1.55 0-1.55a16.39 16.39 0 012.05 8.72s4.56 5.38 4.92 5.14zM739.1 387.23s-20.43-32.18-39.4-12.92c0 0-4.34 2-3.58 6.75 0 0 1.65-1.1 3.35 2.4a17.12 17.12 0 002.26 3.46 8.54 8.54 0 004.65 2.88s9.85 6.08 26.45-.8c0 0 4.89.26 5.61-.41l-6-3.6s-2.47 4.5-6.6 5.35c0 0 6.62-5 5.73-5.92-.17-.18-3.25-1.76-3.25-1.76s-4.33 7.78-10.75 8.91c0 0 8.69-4.95 9.59-9.53l-4.79-2.11s-4.17 8.45-11.43 10c0 0 8.9-5.49 10.35-10.41l-5-1.44s-4.22 8.17-10.27 9.42c0 0 9.64-7.38 9.11-9.68 0 0-4.66-1.05-6-.73 0 0-3.17 5.79-6.75 6.21 0 0 5.92-5.62 5.43-6.36 0 0-6.43.25-9.63 2.1a19.46 19.46 0 019.54-3.1 10.73 10.73 0 00-5.49-2.77s3.39-1.77 7 2.73c0 0 5 0 5.69.5 0 0-3-5-6.29-6.87 0 0 4.7.4 7.62 7.21l5.05 1.34s-3.61-6.75-6.42-8.68c0 0 4.73 1.14 7.66 9.13l4.72 2s-2.66-6.05-5.33-8.88c0 0 4.16 2 6.65 9.51l3 1.73s-2-4.39-2.71-5.6-.43-1.49-.43-1.49a16.4 16.4 0 014.41 7.79s5.98 3.98 6.25 3.64z",
|
|
395
|
+
opacity: "0.1",
|
|
396
|
+
transform: "translate(-95.23 -55.03)"
|
|
397
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
398
|
+
fill: "#1976d2",
|
|
399
|
+
d: "M873.37 222.81s-19.43-32.79-39-14.13c0 0-4.4 1.9-3.78 6.64 0 0 1.67-1.06 3.27 2.49a17.28 17.28 0 002.15 3.54 8.49 8.49 0 004.56 3s9.65 6.38 26.46 0c0 0 4.88.41 5.62-.24l-5.87-3.78s-2.6 4.41-6.76 5.14c0 0 6.77-4.83 5.92-5.74-.18-.19-3.2-1.87-3.2-1.87s-4.57 7.65-11 8.58c0 0 8.84-4.68 9.87-9.22l-4.72-2.22s-4.43 8.33-11.74 9.66c0 0 9.07-5.21 10.67-10.08l-4.94-1.6s-4.48 8-10.56 9.1c0 0 9.86-7.08 9.4-9.39 0 0-4.62-1.2-6-.92 0 0-3.35 5.69-6.94 6 0 0 6.09-5.42 5.63-6.18 0 0-6.44.05-9.69 1.8a19.52 19.52 0 019.63-2.8 10.75 10.75 0 00-5.41-2.94s3.45-1.67 7 2.94c0 0 5 .17 5.67.68 0 0-2.83-5-6.07-7.06 0 0 4.68.54 7.39 7.44l5 1.5s-3.39-6.86-6.15-8.88c0 0 4.7 1.29 7.38 9.36l4.65 2.17s-2.47-6.13-5-9c0 0 4.09 2.13 6.36 9.71l2.93 1.82s-1.88-4.45-2.54-5.68-.38-1.5-.38-1.5a16.43 16.43 0 014.17 7.92s5.73 4.07 6.02 3.74zM750.44 291.76s1-38.1-25.47-32.73c0 0-4.74-.73-6.74 3.61 0 0 2 0 1.44 3.85a17.56 17.56 0 00-.06 4.14 8.55 8.55 0 002.25 5s4.77 10.54 22.38 14.12c0 0 3.91 2.95 4.89 2.79l-3-6.32s-4.55 2.34-8.46.75c0 0 8.3-.49 8.07-1.71 0-.25-1.72-3.29-1.72-3.29s-7.94 4.05-13.89 1.39c0 0 10 .75 13.27-2.54l-2.79-4.43s-8.18 4.68-15.08 1.92c0 0 10.45.42 14.41-2.85l-3.33-4s-8.07 4.42-13.79 2.08c0 0 12.12-.73 13-2.94 0 0-3.28-3.47-4.6-4 0 0-5.86 3-9.06 1.38 0 0 8-1.34 8.05-2.23 0 0-5.47-3.39-9.16-3.64a19.47 19.47 0 019.65 2.76 10.75 10.75 0 00-3-5.37s3.81.43 4.33 6.2c0 0 4.17 2.82 4.44 3.6 0 0 .29-5.77-1.38-9.21 0 0 3.68 2.95 2.3 10.23l3.43 3.94s.78-7.62-.47-10.79c0 0 3.28 3.59 1.26 11.85l2.77 4.31s1.18-6.51.55-10.34c0 0 2.32 4 .2 11.61l1.52 3.1s.77-4.77.87-6.16.48-1.48.48-1.48a16.42 16.42 0 01-.69 8.93s2.69 6.6 3.13 6.47z",
|
|
400
|
+
transform: "translate(-95.23 -55.03)"
|
|
401
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
402
|
+
cx: "698.97",
|
|
403
|
+
cy: "716.3",
|
|
404
|
+
fill: "#1976d2",
|
|
405
|
+
opacity: "0.1",
|
|
406
|
+
rx: "26.93",
|
|
407
|
+
ry: "4.55"
|
|
408
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
409
|
+
cx: "600.8",
|
|
410
|
+
cy: "785.38",
|
|
411
|
+
fill: "#1976d2",
|
|
412
|
+
opacity: "0.1",
|
|
413
|
+
rx: "26.93",
|
|
414
|
+
ry: "4.55"
|
|
415
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
416
|
+
cx: "93.14",
|
|
417
|
+
cy: "749.99",
|
|
418
|
+
fill: "#1976d2",
|
|
419
|
+
opacity: "0.1",
|
|
420
|
+
rx: "26.93",
|
|
421
|
+
ry: "4.55"
|
|
422
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
423
|
+
cx: "805.06",
|
|
424
|
+
cy: "780.83",
|
|
425
|
+
fill: "#1976d2",
|
|
426
|
+
opacity: "0.1",
|
|
427
|
+
rx: "26.93",
|
|
428
|
+
ry: "4.55"
|
|
429
|
+
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
430
|
+
cx: "833.1",
|
|
431
|
+
cy: "723.1",
|
|
432
|
+
fill: "#1976d2",
|
|
433
|
+
rx: "40.21",
|
|
434
|
+
ry: "6.8"
|
|
435
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
436
|
+
fill: "#1976d2",
|
|
437
|
+
d: "M945 767a11.61 11.61 0 003.83-5.78c.5-2.3-.48-5.05-2.67-5.89-2.46-.94-5.09.76-7.09 2.48s-4.27 3.69-6.88 3.33a10.5 10.5 0 003.24-9.81 4.11 4.11 0 00-.9-2c-1.37-1.46-3.84-.83-5.48.32-5.2 3.66-6.65 10.72-6.68 17.08-.52-2.29-.08-4.68-.09-7s-.66-5-2.65-6.22a7.91 7.91 0 00-4-1c-2.34-.08-4.95.15-6.54 1.86-2 2.12-1.47 5.69.25 8s4.35 3.8 6.77 5.42a15.13 15.13 0 014.84 4.61 4.7 4.7 0 01.35.82h14.66A40.44 40.44 0 00945 767z",
|
|
438
|
+
transform: "translate(-95.23 -55.03)"
|
|
439
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
440
|
+
fill: "#a8a8a8",
|
|
441
|
+
d: "M170.29 783.87s15.35-.47 20-3.77 23.63-7.23 24.78-1.94 23.08 26.29 5.74 26.43-40.29-2.7-44.91-5.52-5.61-15.2-5.61-15.2z",
|
|
442
|
+
transform: "translate(-95.23 -55.03)"
|
|
443
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
444
|
+
d: "M221.1 802.75c-17.34.14-40.29-2.7-44.91-5.52-3.52-2.14-4.92-9.83-5.39-13.38h-.51s1 12.39 5.59 15.2 27.57 5.66 44.91 5.52c5 0 6.73-1.82 6.64-4.46-.7 1.61-2.61 2.61-6.33 2.64z",
|
|
445
|
+
opacity: "0.2",
|
|
446
|
+
transform: "translate(-95.23 -55.03)"
|
|
447
|
+
}));
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
function getDefaultExportFromCjs (x) {
|
|
451
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
var index = {};
|
|
455
|
+
|
|
456
|
+
var hasRequiredIndex;
|
|
457
|
+
|
|
458
|
+
function requireIndex () {
|
|
459
|
+
if (hasRequiredIndex) return index;
|
|
460
|
+
hasRequiredIndex = 1;
|
|
461
|
+
var React$1 = React;
|
|
462
|
+
|
|
463
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
464
|
+
|
|
465
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
|
|
466
|
+
|
|
467
|
+
/*
|
|
468
|
+
Based on Glamor's sheet
|
|
469
|
+
https://github.com/threepointone/glamor/blob/667b480d31b3721a905021b26e1290ce92ca2879/src/sheet.js
|
|
470
|
+
*/ function _defineProperties(target, props) {
|
|
471
|
+
for(var i = 0; i < props.length; i++){
|
|
472
|
+
var descriptor = props[i];
|
|
473
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
474
|
+
descriptor.configurable = true;
|
|
475
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
476
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
480
|
+
_defineProperties(Constructor.prototype, protoProps);
|
|
481
|
+
return Constructor;
|
|
482
|
+
}
|
|
483
|
+
var isProd = typeof process !== "undefined" && process.env && process.env.NODE_ENV === "production";
|
|
484
|
+
var isString = function(o) {
|
|
485
|
+
return Object.prototype.toString.call(o) === "[object String]";
|
|
486
|
+
};
|
|
487
|
+
var StyleSheet = /*#__PURE__*/ function() {
|
|
488
|
+
function StyleSheet(param) {
|
|
489
|
+
var ref = param === undefined ? {} : param, _name = ref.name, name = _name === undefined ? "stylesheet" : _name, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === undefined ? isProd : _optimizeForSpeed;
|
|
490
|
+
invariant$1(isString(name), "`name` must be a string");
|
|
491
|
+
this._name = name;
|
|
492
|
+
this._deletedRulePlaceholder = "#" + name + "-deleted-rule____{}";
|
|
493
|
+
invariant$1(typeof optimizeForSpeed === "boolean", "`optimizeForSpeed` must be a boolean");
|
|
494
|
+
this._optimizeForSpeed = optimizeForSpeed;
|
|
495
|
+
this._serverSheet = undefined;
|
|
496
|
+
this._tags = [];
|
|
497
|
+
this._injected = false;
|
|
498
|
+
this._rulesCount = 0;
|
|
499
|
+
var node = typeof window !== "undefined" && document.querySelector('meta[property="csp-nonce"]');
|
|
500
|
+
this._nonce = node ? node.getAttribute("content") : null;
|
|
501
|
+
}
|
|
502
|
+
var _proto = StyleSheet.prototype;
|
|
503
|
+
_proto.setOptimizeForSpeed = function setOptimizeForSpeed(bool) {
|
|
504
|
+
invariant$1(typeof bool === "boolean", "`setOptimizeForSpeed` accepts a boolean");
|
|
505
|
+
invariant$1(this._rulesCount === 0, "optimizeForSpeed cannot be when rules have already been inserted");
|
|
506
|
+
this.flush();
|
|
507
|
+
this._optimizeForSpeed = bool;
|
|
508
|
+
this.inject();
|
|
509
|
+
};
|
|
510
|
+
_proto.isOptimizeForSpeed = function isOptimizeForSpeed() {
|
|
511
|
+
return this._optimizeForSpeed;
|
|
512
|
+
};
|
|
513
|
+
_proto.inject = function inject() {
|
|
514
|
+
var _this = this;
|
|
515
|
+
invariant$1(!this._injected, "sheet already injected");
|
|
516
|
+
this._injected = true;
|
|
517
|
+
if (typeof window !== "undefined" && this._optimizeForSpeed) {
|
|
518
|
+
this._tags[0] = this.makeStyleTag(this._name);
|
|
519
|
+
this._optimizeForSpeed = "insertRule" in this.getSheet();
|
|
520
|
+
if (!this._optimizeForSpeed) {
|
|
521
|
+
if (!isProd) {
|
|
522
|
+
console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode.");
|
|
523
|
+
}
|
|
524
|
+
this.flush();
|
|
525
|
+
this._injected = true;
|
|
526
|
+
}
|
|
527
|
+
return;
|
|
528
|
+
}
|
|
529
|
+
this._serverSheet = {
|
|
530
|
+
cssRules: [],
|
|
531
|
+
insertRule: function(rule, index) {
|
|
532
|
+
if (typeof index === "number") {
|
|
533
|
+
_this._serverSheet.cssRules[index] = {
|
|
534
|
+
cssText: rule
|
|
535
|
+
};
|
|
536
|
+
} else {
|
|
537
|
+
_this._serverSheet.cssRules.push({
|
|
538
|
+
cssText: rule
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
return index;
|
|
542
|
+
},
|
|
543
|
+
deleteRule: function(index) {
|
|
544
|
+
_this._serverSheet.cssRules[index] = null;
|
|
545
|
+
}
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
_proto.getSheetForTag = function getSheetForTag(tag) {
|
|
549
|
+
if (tag.sheet) {
|
|
550
|
+
return tag.sheet;
|
|
551
|
+
}
|
|
552
|
+
// this weirdness brought to you by firefox
|
|
553
|
+
for(var i = 0; i < document.styleSheets.length; i++){
|
|
554
|
+
if (document.styleSheets[i].ownerNode === tag) {
|
|
555
|
+
return document.styleSheets[i];
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
_proto.getSheet = function getSheet() {
|
|
560
|
+
return this.getSheetForTag(this._tags[this._tags.length - 1]);
|
|
561
|
+
};
|
|
562
|
+
_proto.insertRule = function insertRule(rule, index) {
|
|
563
|
+
invariant$1(isString(rule), "`insertRule` accepts only strings");
|
|
564
|
+
if (typeof window === "undefined") {
|
|
565
|
+
if (typeof index !== "number") {
|
|
566
|
+
index = this._serverSheet.cssRules.length;
|
|
567
|
+
}
|
|
568
|
+
this._serverSheet.insertRule(rule, index);
|
|
569
|
+
return this._rulesCount++;
|
|
570
|
+
}
|
|
571
|
+
if (this._optimizeForSpeed) {
|
|
572
|
+
var sheet = this.getSheet();
|
|
573
|
+
if (typeof index !== "number") {
|
|
574
|
+
index = sheet.cssRules.length;
|
|
575
|
+
}
|
|
576
|
+
// this weirdness for perf, and chrome's weird bug
|
|
577
|
+
// https://stackoverflow.com/questions/20007992/chrome-suddenly-stopped-accepting-insertrule
|
|
578
|
+
try {
|
|
579
|
+
sheet.insertRule(rule, index);
|
|
580
|
+
} catch (error) {
|
|
581
|
+
if (!isProd) {
|
|
582
|
+
console.warn("StyleSheet: illegal rule: \n\n" + rule + "\n\nSee https://stackoverflow.com/q/20007992 for more info");
|
|
583
|
+
}
|
|
584
|
+
return -1;
|
|
585
|
+
}
|
|
586
|
+
} else {
|
|
587
|
+
var insertionPoint = this._tags[index];
|
|
588
|
+
this._tags.push(this.makeStyleTag(this._name, rule, insertionPoint));
|
|
589
|
+
}
|
|
590
|
+
return this._rulesCount++;
|
|
591
|
+
};
|
|
592
|
+
_proto.replaceRule = function replaceRule(index, rule) {
|
|
593
|
+
if (this._optimizeForSpeed || typeof window === "undefined") {
|
|
594
|
+
var sheet = typeof window !== "undefined" ? this.getSheet() : this._serverSheet;
|
|
595
|
+
if (!rule.trim()) {
|
|
596
|
+
rule = this._deletedRulePlaceholder;
|
|
597
|
+
}
|
|
598
|
+
if (!sheet.cssRules[index]) {
|
|
599
|
+
// @TBD Should we throw an error?
|
|
600
|
+
return index;
|
|
601
|
+
}
|
|
602
|
+
sheet.deleteRule(index);
|
|
603
|
+
try {
|
|
604
|
+
sheet.insertRule(rule, index);
|
|
605
|
+
} catch (error) {
|
|
606
|
+
if (!isProd) {
|
|
607
|
+
console.warn("StyleSheet: illegal rule: \n\n" + rule + "\n\nSee https://stackoverflow.com/q/20007992 for more info");
|
|
608
|
+
}
|
|
609
|
+
// In order to preserve the indices we insert a deleteRulePlaceholder
|
|
610
|
+
sheet.insertRule(this._deletedRulePlaceholder, index);
|
|
611
|
+
}
|
|
612
|
+
} else {
|
|
613
|
+
var tag = this._tags[index];
|
|
614
|
+
invariant$1(tag, "old rule at index `" + index + "` not found");
|
|
615
|
+
tag.textContent = rule;
|
|
616
|
+
}
|
|
617
|
+
return index;
|
|
618
|
+
};
|
|
619
|
+
_proto.deleteRule = function deleteRule(index) {
|
|
620
|
+
if (typeof window === "undefined") {
|
|
621
|
+
this._serverSheet.deleteRule(index);
|
|
622
|
+
return;
|
|
623
|
+
}
|
|
624
|
+
if (this._optimizeForSpeed) {
|
|
625
|
+
this.replaceRule(index, "");
|
|
626
|
+
} else {
|
|
627
|
+
var tag = this._tags[index];
|
|
628
|
+
invariant$1(tag, "rule at index `" + index + "` not found");
|
|
629
|
+
tag.parentNode.removeChild(tag);
|
|
630
|
+
this._tags[index] = null;
|
|
631
|
+
}
|
|
632
|
+
};
|
|
633
|
+
_proto.flush = function flush() {
|
|
634
|
+
this._injected = false;
|
|
635
|
+
this._rulesCount = 0;
|
|
636
|
+
if (typeof window !== "undefined") {
|
|
637
|
+
this._tags.forEach(function(tag) {
|
|
638
|
+
return tag && tag.parentNode.removeChild(tag);
|
|
639
|
+
});
|
|
640
|
+
this._tags = [];
|
|
641
|
+
} else {
|
|
642
|
+
// simpler on server
|
|
643
|
+
this._serverSheet.cssRules = [];
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
_proto.cssRules = function cssRules() {
|
|
647
|
+
var _this = this;
|
|
648
|
+
if (typeof window === "undefined") {
|
|
649
|
+
return this._serverSheet.cssRules;
|
|
650
|
+
}
|
|
651
|
+
return this._tags.reduce(function(rules, tag) {
|
|
652
|
+
if (tag) {
|
|
653
|
+
rules = rules.concat(Array.prototype.map.call(_this.getSheetForTag(tag).cssRules, function(rule) {
|
|
654
|
+
return rule.cssText === _this._deletedRulePlaceholder ? null : rule;
|
|
655
|
+
}));
|
|
656
|
+
} else {
|
|
657
|
+
rules.push(null);
|
|
658
|
+
}
|
|
659
|
+
return rules;
|
|
660
|
+
}, []);
|
|
661
|
+
};
|
|
662
|
+
_proto.makeStyleTag = function makeStyleTag(name, cssString, relativeToTag) {
|
|
663
|
+
if (cssString) {
|
|
664
|
+
invariant$1(isString(cssString), "makeStyleTag accepts only strings as second parameter");
|
|
665
|
+
}
|
|
666
|
+
var tag = document.createElement("style");
|
|
667
|
+
if (this._nonce) tag.setAttribute("nonce", this._nonce);
|
|
668
|
+
tag.type = "text/css";
|
|
669
|
+
tag.setAttribute("data-" + name, "");
|
|
670
|
+
if (cssString) {
|
|
671
|
+
tag.appendChild(document.createTextNode(cssString));
|
|
672
|
+
}
|
|
673
|
+
var head = document.head || document.getElementsByTagName("head")[0];
|
|
674
|
+
if (relativeToTag) {
|
|
675
|
+
head.insertBefore(tag, relativeToTag);
|
|
676
|
+
} else {
|
|
677
|
+
head.appendChild(tag);
|
|
678
|
+
}
|
|
679
|
+
return tag;
|
|
680
|
+
};
|
|
681
|
+
_createClass(StyleSheet, [
|
|
682
|
+
{
|
|
683
|
+
key: "length",
|
|
684
|
+
get: function get() {
|
|
685
|
+
return this._rulesCount;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
]);
|
|
689
|
+
return StyleSheet;
|
|
690
|
+
}();
|
|
691
|
+
function invariant$1(condition, message) {
|
|
692
|
+
if (!condition) {
|
|
693
|
+
throw new Error("StyleSheet: " + message + ".");
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
function hash(str) {
|
|
698
|
+
var _$hash = 5381, i = str.length;
|
|
699
|
+
while(i){
|
|
700
|
+
_$hash = _$hash * 33 ^ str.charCodeAt(--i);
|
|
701
|
+
}
|
|
702
|
+
/* JavaScript does bitwise operations (like XOR, above) on 32-bit signed
|
|
703
|
+
* integers. Since we want the results to be always positive, convert the
|
|
704
|
+
* signed int to an unsigned by doing an unsigned bitshift. */ return _$hash >>> 0;
|
|
705
|
+
}
|
|
706
|
+
var stringHash = hash;
|
|
707
|
+
|
|
708
|
+
var sanitize = function(rule) {
|
|
709
|
+
return rule.replace(/\/style/gi, "\\/style");
|
|
710
|
+
};
|
|
711
|
+
var cache = {};
|
|
712
|
+
/**
|
|
713
|
+
* computeId
|
|
714
|
+
*
|
|
715
|
+
* Compute and memoize a jsx id from a basedId and optionally props.
|
|
716
|
+
*/ function computeId(baseId, props) {
|
|
717
|
+
if (!props) {
|
|
718
|
+
return "jsx-" + baseId;
|
|
719
|
+
}
|
|
720
|
+
var propsToString = String(props);
|
|
721
|
+
var key = baseId + propsToString;
|
|
722
|
+
if (!cache[key]) {
|
|
723
|
+
cache[key] = "jsx-" + stringHash(baseId + "-" + propsToString);
|
|
724
|
+
}
|
|
725
|
+
return cache[key];
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* computeSelector
|
|
729
|
+
*
|
|
730
|
+
* Compute and memoize dynamic selectors.
|
|
731
|
+
*/ function computeSelector(id, css) {
|
|
732
|
+
var selectoPlaceholderRegexp = /__jsx-style-dynamic-selector/g;
|
|
733
|
+
// Sanitize SSR-ed CSS.
|
|
734
|
+
// Client side code doesn't need to be sanitized since we use
|
|
735
|
+
// document.createTextNode (dev) and the CSSOM api sheet.insertRule (prod).
|
|
736
|
+
if (typeof window === "undefined") {
|
|
737
|
+
css = sanitize(css);
|
|
738
|
+
}
|
|
739
|
+
var idcss = id + css;
|
|
740
|
+
if (!cache[idcss]) {
|
|
741
|
+
cache[idcss] = css.replace(selectoPlaceholderRegexp, id);
|
|
742
|
+
}
|
|
743
|
+
return cache[idcss];
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
function mapRulesToStyle(cssRules, options) {
|
|
747
|
+
if (options === undefined) options = {};
|
|
748
|
+
return cssRules.map(function(args) {
|
|
749
|
+
var id = args[0];
|
|
750
|
+
var css = args[1];
|
|
751
|
+
return /*#__PURE__*/ React__default["default"].createElement("style", {
|
|
752
|
+
id: "__" + id,
|
|
753
|
+
// Avoid warnings upon render with a key
|
|
754
|
+
key: "__" + id,
|
|
755
|
+
nonce: options.nonce ? options.nonce : undefined,
|
|
756
|
+
dangerouslySetInnerHTML: {
|
|
757
|
+
__html: css
|
|
758
|
+
}
|
|
759
|
+
});
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
var StyleSheetRegistry = /*#__PURE__*/ function() {
|
|
763
|
+
function StyleSheetRegistry(param) {
|
|
764
|
+
var ref = param === undefined ? {} : param, _styleSheet = ref.styleSheet, styleSheet = _styleSheet === undefined ? null : _styleSheet, _optimizeForSpeed = ref.optimizeForSpeed, optimizeForSpeed = _optimizeForSpeed === undefined ? false : _optimizeForSpeed;
|
|
765
|
+
this._sheet = styleSheet || new StyleSheet({
|
|
766
|
+
name: "styled-jsx",
|
|
767
|
+
optimizeForSpeed: optimizeForSpeed
|
|
768
|
+
});
|
|
769
|
+
this._sheet.inject();
|
|
770
|
+
if (styleSheet && typeof optimizeForSpeed === "boolean") {
|
|
771
|
+
this._sheet.setOptimizeForSpeed(optimizeForSpeed);
|
|
772
|
+
this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();
|
|
773
|
+
}
|
|
774
|
+
this._fromServer = undefined;
|
|
775
|
+
this._indices = {};
|
|
776
|
+
this._instancesCounts = {};
|
|
777
|
+
}
|
|
778
|
+
var _proto = StyleSheetRegistry.prototype;
|
|
779
|
+
_proto.add = function add(props) {
|
|
780
|
+
var _this = this;
|
|
781
|
+
if (undefined === this._optimizeForSpeed) {
|
|
782
|
+
this._optimizeForSpeed = Array.isArray(props.children);
|
|
783
|
+
this._sheet.setOptimizeForSpeed(this._optimizeForSpeed);
|
|
784
|
+
this._optimizeForSpeed = this._sheet.isOptimizeForSpeed();
|
|
785
|
+
}
|
|
786
|
+
if (typeof window !== "undefined" && !this._fromServer) {
|
|
787
|
+
this._fromServer = this.selectFromServer();
|
|
788
|
+
this._instancesCounts = Object.keys(this._fromServer).reduce(function(acc, tagName) {
|
|
789
|
+
acc[tagName] = 0;
|
|
790
|
+
return acc;
|
|
791
|
+
}, {});
|
|
792
|
+
}
|
|
793
|
+
var ref = this.getIdAndRules(props), styleId = ref.styleId, rules = ref.rules;
|
|
794
|
+
// Deduping: just increase the instances count.
|
|
795
|
+
if (styleId in this._instancesCounts) {
|
|
796
|
+
this._instancesCounts[styleId] += 1;
|
|
797
|
+
return;
|
|
798
|
+
}
|
|
799
|
+
var indices = rules.map(function(rule) {
|
|
800
|
+
return _this._sheet.insertRule(rule);
|
|
801
|
+
})// Filter out invalid rules
|
|
802
|
+
.filter(function(index) {
|
|
803
|
+
return index !== -1;
|
|
804
|
+
});
|
|
805
|
+
this._indices[styleId] = indices;
|
|
806
|
+
this._instancesCounts[styleId] = 1;
|
|
807
|
+
};
|
|
808
|
+
_proto.remove = function remove(props) {
|
|
809
|
+
var _this = this;
|
|
810
|
+
var styleId = this.getIdAndRules(props).styleId;
|
|
811
|
+
invariant(styleId in this._instancesCounts, "styleId: `" + styleId + "` not found");
|
|
812
|
+
this._instancesCounts[styleId] -= 1;
|
|
813
|
+
if (this._instancesCounts[styleId] < 1) {
|
|
814
|
+
var tagFromServer = this._fromServer && this._fromServer[styleId];
|
|
815
|
+
if (tagFromServer) {
|
|
816
|
+
tagFromServer.parentNode.removeChild(tagFromServer);
|
|
817
|
+
delete this._fromServer[styleId];
|
|
818
|
+
} else {
|
|
819
|
+
this._indices[styleId].forEach(function(index) {
|
|
820
|
+
return _this._sheet.deleteRule(index);
|
|
821
|
+
});
|
|
822
|
+
delete this._indices[styleId];
|
|
823
|
+
}
|
|
824
|
+
delete this._instancesCounts[styleId];
|
|
825
|
+
}
|
|
826
|
+
};
|
|
827
|
+
_proto.update = function update(props, nextProps) {
|
|
828
|
+
this.add(nextProps);
|
|
829
|
+
this.remove(props);
|
|
830
|
+
};
|
|
831
|
+
_proto.flush = function flush() {
|
|
832
|
+
this._sheet.flush();
|
|
833
|
+
this._sheet.inject();
|
|
834
|
+
this._fromServer = undefined;
|
|
835
|
+
this._indices = {};
|
|
836
|
+
this._instancesCounts = {};
|
|
837
|
+
};
|
|
838
|
+
_proto.cssRules = function cssRules() {
|
|
839
|
+
var _this = this;
|
|
840
|
+
var fromServer = this._fromServer ? Object.keys(this._fromServer).map(function(styleId) {
|
|
841
|
+
return [
|
|
842
|
+
styleId,
|
|
843
|
+
_this._fromServer[styleId]
|
|
844
|
+
];
|
|
845
|
+
}) : [];
|
|
846
|
+
var cssRules = this._sheet.cssRules();
|
|
847
|
+
return fromServer.concat(Object.keys(this._indices).map(function(styleId) {
|
|
848
|
+
return [
|
|
849
|
+
styleId,
|
|
850
|
+
_this._indices[styleId].map(function(index) {
|
|
851
|
+
return cssRules[index].cssText;
|
|
852
|
+
}).join(_this._optimizeForSpeed ? "" : "\n")
|
|
853
|
+
];
|
|
854
|
+
})// filter out empty rules
|
|
855
|
+
.filter(function(rule) {
|
|
856
|
+
return Boolean(rule[1]);
|
|
857
|
+
}));
|
|
858
|
+
};
|
|
859
|
+
_proto.styles = function styles(options) {
|
|
860
|
+
return mapRulesToStyle(this.cssRules(), options);
|
|
861
|
+
};
|
|
862
|
+
_proto.getIdAndRules = function getIdAndRules(props) {
|
|
863
|
+
var css = props.children, dynamic = props.dynamic, id = props.id;
|
|
864
|
+
if (dynamic) {
|
|
865
|
+
var styleId = computeId(id, dynamic);
|
|
866
|
+
return {
|
|
867
|
+
styleId: styleId,
|
|
868
|
+
rules: Array.isArray(css) ? css.map(function(rule) {
|
|
869
|
+
return computeSelector(styleId, rule);
|
|
870
|
+
}) : [
|
|
871
|
+
computeSelector(styleId, css)
|
|
872
|
+
]
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
return {
|
|
876
|
+
styleId: computeId(id),
|
|
877
|
+
rules: Array.isArray(css) ? css : [
|
|
878
|
+
css
|
|
879
|
+
]
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
/**
|
|
883
|
+
* selectFromServer
|
|
884
|
+
*
|
|
885
|
+
* Collects style tags from the document with id __jsx-XXX
|
|
886
|
+
*/ _proto.selectFromServer = function selectFromServer() {
|
|
887
|
+
var elements = Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]'));
|
|
888
|
+
return elements.reduce(function(acc, element) {
|
|
889
|
+
var id = element.id.slice(2);
|
|
890
|
+
acc[id] = element;
|
|
891
|
+
return acc;
|
|
892
|
+
}, {});
|
|
893
|
+
};
|
|
894
|
+
return StyleSheetRegistry;
|
|
895
|
+
}();
|
|
896
|
+
function invariant(condition, message) {
|
|
897
|
+
if (!condition) {
|
|
898
|
+
throw new Error("StyleSheetRegistry: " + message + ".");
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
var StyleSheetContext = /*#__PURE__*/ React$1.createContext(null);
|
|
902
|
+
StyleSheetContext.displayName = "StyleSheetContext";
|
|
903
|
+
function createStyleRegistry() {
|
|
904
|
+
return new StyleSheetRegistry();
|
|
905
|
+
}
|
|
906
|
+
function StyleRegistry(param) {
|
|
907
|
+
var configuredRegistry = param.registry, children = param.children;
|
|
908
|
+
var rootRegistry = React$1.useContext(StyleSheetContext);
|
|
909
|
+
var ref = React$1.useState(function() {
|
|
910
|
+
return rootRegistry || configuredRegistry || createStyleRegistry();
|
|
911
|
+
}), registry = ref[0];
|
|
912
|
+
return /*#__PURE__*/ React__default["default"].createElement(StyleSheetContext.Provider, {
|
|
913
|
+
value: registry
|
|
914
|
+
}, children);
|
|
915
|
+
}
|
|
916
|
+
function useStyleRegistry() {
|
|
917
|
+
return React$1.useContext(StyleSheetContext);
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
// Opt-into the new `useInsertionEffect` API in React 18, fallback to `useLayoutEffect`.
|
|
921
|
+
// https://github.com/reactwg/react-18/discussions/110
|
|
922
|
+
var useInsertionEffect = React__default["default"].useInsertionEffect || React__default["default"].useLayoutEffect;
|
|
923
|
+
var defaultRegistry = typeof window !== "undefined" ? createStyleRegistry() : undefined;
|
|
924
|
+
function JSXStyle(props) {
|
|
925
|
+
var registry = defaultRegistry ? defaultRegistry : useStyleRegistry();
|
|
926
|
+
// If `registry` does not exist, we do nothing here.
|
|
927
|
+
if (!registry) {
|
|
928
|
+
return null;
|
|
929
|
+
}
|
|
930
|
+
if (typeof window === "undefined") {
|
|
931
|
+
registry.add(props);
|
|
932
|
+
return null;
|
|
933
|
+
}
|
|
934
|
+
useInsertionEffect(function() {
|
|
935
|
+
registry.add(props);
|
|
936
|
+
return function() {
|
|
937
|
+
registry.remove(props);
|
|
938
|
+
};
|
|
939
|
+
// props.children can be string[], will be striped since id is identical
|
|
940
|
+
}, [
|
|
941
|
+
props.id,
|
|
942
|
+
String(props.dynamic)
|
|
943
|
+
]);
|
|
944
|
+
return null;
|
|
945
|
+
}
|
|
946
|
+
JSXStyle.dynamic = function(info) {
|
|
947
|
+
return info.map(function(tagInfo) {
|
|
948
|
+
var baseId = tagInfo[0];
|
|
949
|
+
var props = tagInfo[1];
|
|
950
|
+
return computeId(baseId, props);
|
|
951
|
+
}).join(" ");
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
index.StyleRegistry = StyleRegistry;
|
|
955
|
+
index.createStyleRegistry = createStyleRegistry;
|
|
956
|
+
index.style = JSXStyle;
|
|
957
|
+
index.useStyleRegistry = useStyleRegistry;
|
|
958
|
+
return index;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
var style;
|
|
962
|
+
var hasRequiredStyle;
|
|
963
|
+
|
|
964
|
+
function requireStyle () {
|
|
965
|
+
if (hasRequiredStyle) return style;
|
|
966
|
+
hasRequiredStyle = 1;
|
|
967
|
+
style = requireIndex().style;
|
|
968
|
+
return style;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
var styleExports = requireStyle();
|
|
972
|
+
var _JSXStyle = /*@__PURE__*/getDefaultExportFromCjs(styleExports);
|
|
973
|
+
|
|
974
|
+
var defaultFont = {
|
|
975
|
+
sans: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
|
976
|
+
mono: 'Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace',
|
|
977
|
+
prism: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,"Liberation Mono", "Courier New", monospace'
|
|
978
|
+
};
|
|
979
|
+
var defaultBreakpoints = {
|
|
980
|
+
xs: {
|
|
981
|
+
min: '0',
|
|
982
|
+
max: '650px'
|
|
983
|
+
},
|
|
984
|
+
sm: {
|
|
985
|
+
min: '650px',
|
|
986
|
+
max: '900px'
|
|
987
|
+
},
|
|
988
|
+
md: {
|
|
989
|
+
min: '900px',
|
|
990
|
+
max: '1280px'
|
|
991
|
+
},
|
|
992
|
+
lg: {
|
|
993
|
+
min: '1280px',
|
|
994
|
+
max: '1920px'
|
|
995
|
+
},
|
|
996
|
+
xl: {
|
|
997
|
+
min: '1920px',
|
|
998
|
+
max: '10000px'
|
|
999
|
+
}
|
|
1000
|
+
};
|
|
1001
|
+
var defaultLayout = {
|
|
1002
|
+
gap: '16pt',
|
|
1003
|
+
gapNegative: '-16pt',
|
|
1004
|
+
gapHalf: '8pt',
|
|
1005
|
+
gapHalfNegative: '-8pt',
|
|
1006
|
+
gapQuarter: '4pt',
|
|
1007
|
+
gapQuarterNegative: '-4pt',
|
|
1008
|
+
pageMargin: '16pt',
|
|
1009
|
+
pageWidth: '750pt',
|
|
1010
|
+
pageWidthWithMargin: '782pt',
|
|
1011
|
+
breakpointMobile: defaultBreakpoints.xs.max,
|
|
1012
|
+
breakpointTablet: defaultBreakpoints.sm.max,
|
|
1013
|
+
radius: '6px',
|
|
1014
|
+
unit: '16px'
|
|
1015
|
+
};
|
|
1016
|
+
|
|
1017
|
+
var palette$1 = {
|
|
1018
|
+
accents_1: '#fafafa',
|
|
1019
|
+
accents_2: '#eaeaea',
|
|
1020
|
+
accents_3: '#999',
|
|
1021
|
+
accents_4: '#888',
|
|
1022
|
+
accents_5: '#666',
|
|
1023
|
+
accents_6: '#444',
|
|
1024
|
+
accents_7: '#333',
|
|
1025
|
+
accents_8: '#111',
|
|
1026
|
+
background: '#fff',
|
|
1027
|
+
foreground: '#000',
|
|
1028
|
+
selection: '#79ffe1',
|
|
1029
|
+
secondary: '#666',
|
|
1030
|
+
code: '#f81ce5',
|
|
1031
|
+
border: '#eaeaea',
|
|
1032
|
+
error: '#e00',
|
|
1033
|
+
errorLight: '#ff1a1a',
|
|
1034
|
+
errorLighter: '#f7d4d6',
|
|
1035
|
+
errorDark: '#c50000',
|
|
1036
|
+
success: '#0070f3',
|
|
1037
|
+
successLight: '#3291ff',
|
|
1038
|
+
successLighter: '#d3e5ff',
|
|
1039
|
+
successDark: '#0761d1',
|
|
1040
|
+
warning: '#f5a623',
|
|
1041
|
+
warningLight: '#f7b955',
|
|
1042
|
+
warningLighter: '#ffefcf',
|
|
1043
|
+
warningDark: '#ab570a',
|
|
1044
|
+
cyan: '#50e3c2',
|
|
1045
|
+
cyanLighter: '#aaffec',
|
|
1046
|
+
cyanLight: '#79ffe1',
|
|
1047
|
+
cyanDark: '#29bc9b',
|
|
1048
|
+
violet: '#7928ca',
|
|
1049
|
+
violetLighter: '#e3d7fc',
|
|
1050
|
+
violetLight: '#8a63d2',
|
|
1051
|
+
violetDark: '#4c2889',
|
|
1052
|
+
purple: '#f81ce5',
|
|
1053
|
+
alert: '#ff0080',
|
|
1054
|
+
magenta: '#eb367f',
|
|
1055
|
+
link: '#0070f3'
|
|
1056
|
+
};
|
|
1057
|
+
var expressiveness$1 = {
|
|
1058
|
+
linkStyle: 'none',
|
|
1059
|
+
linkHoverStyle: 'none',
|
|
1060
|
+
dropdownBoxShadow: '0 4px 4px 0 rgba(0, 0, 0, 0.02)',
|
|
1061
|
+
scrollerStart: 'rgba(255, 255, 255, 1)',
|
|
1062
|
+
scrollerEnd: 'rgba(255, 255, 255, 0)',
|
|
1063
|
+
shadowSmall: '0 5px 10px rgba(0, 0, 0, 0.12)',
|
|
1064
|
+
shadowMedium: '0 8px 30px rgba(0, 0, 0, 0.12)',
|
|
1065
|
+
shadowLarge: '0 30px 60px rgba(0, 0, 0, 0.12)',
|
|
1066
|
+
portalOpacity: 0.25
|
|
1067
|
+
};
|
|
1068
|
+
var font$1 = defaultFont;
|
|
1069
|
+
var breakpoints$1 = defaultBreakpoints;
|
|
1070
|
+
var layout$1 = defaultLayout;
|
|
1071
|
+
var themes$1 = {
|
|
1072
|
+
type: 'light',
|
|
1073
|
+
font: font$1,
|
|
1074
|
+
layout: layout$1,
|
|
1075
|
+
palette: palette$1,
|
|
1076
|
+
breakpoints: breakpoints$1,
|
|
1077
|
+
expressiveness: expressiveness$1
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
var palette = {
|
|
1081
|
+
accents_1: '#111',
|
|
1082
|
+
accents_2: '#333',
|
|
1083
|
+
accents_3: '#444',
|
|
1084
|
+
accents_4: '#666',
|
|
1085
|
+
accents_5: '#888',
|
|
1086
|
+
accents_6: '#999',
|
|
1087
|
+
accents_7: '#eaeaea',
|
|
1088
|
+
accents_8: '#fafafa',
|
|
1089
|
+
background: '#000',
|
|
1090
|
+
foreground: '#fff',
|
|
1091
|
+
selection: '#f81ce5',
|
|
1092
|
+
secondary: '#888',
|
|
1093
|
+
code: '#79ffe1',
|
|
1094
|
+
border: '#333',
|
|
1095
|
+
error: '#e00',
|
|
1096
|
+
errorLighter: '#f7d4d6',
|
|
1097
|
+
errorLight: '#ff1a1a',
|
|
1098
|
+
errorDark: '#c50000',
|
|
1099
|
+
success: '#0070f3',
|
|
1100
|
+
successLighter: '#d3e5ff',
|
|
1101
|
+
successLight: '#3291ff',
|
|
1102
|
+
successDark: '#0761d1',
|
|
1103
|
+
warning: '#f5a623',
|
|
1104
|
+
warningLighter: '#ffefcf',
|
|
1105
|
+
warningLight: '#f7b955',
|
|
1106
|
+
warningDark: '#ab570a',
|
|
1107
|
+
cyan: '#50e3c2',
|
|
1108
|
+
cyanLighter: '#aaffec',
|
|
1109
|
+
cyanLight: '#79ffe1',
|
|
1110
|
+
cyanDark: '#29bc9b',
|
|
1111
|
+
violet: '#7928ca',
|
|
1112
|
+
violetLighter: '#e3d7fc',
|
|
1113
|
+
violetLight: '#8a63d2',
|
|
1114
|
+
violetDark: '#4c2889',
|
|
1115
|
+
purple: '#f81ce5',
|
|
1116
|
+
alert: '#ff0080',
|
|
1117
|
+
magenta: '#eb367f',
|
|
1118
|
+
link: '#3291ff'
|
|
1119
|
+
};
|
|
1120
|
+
var expressiveness = {
|
|
1121
|
+
linkStyle: 'none',
|
|
1122
|
+
linkHoverStyle: 'none',
|
|
1123
|
+
dropdownBoxShadow: '0 0 0 1px #333',
|
|
1124
|
+
scrollerStart: 'rgba(255, 255, 255, 1)',
|
|
1125
|
+
scrollerEnd: 'rgba(255, 255, 255, 0)',
|
|
1126
|
+
shadowSmall: '0 0 0 1px #333',
|
|
1127
|
+
shadowMedium: '0 0 0 1px #333',
|
|
1128
|
+
shadowLarge: '0 0 0 1px #333',
|
|
1129
|
+
portalOpacity: 0.75
|
|
1130
|
+
};
|
|
1131
|
+
var font = defaultFont;
|
|
1132
|
+
var breakpoints = defaultBreakpoints;
|
|
1133
|
+
var layout = defaultLayout;
|
|
1134
|
+
var themes = {
|
|
1135
|
+
type: 'dark',
|
|
1136
|
+
font: font,
|
|
1137
|
+
layout: layout,
|
|
1138
|
+
palette: palette,
|
|
1139
|
+
breakpoints: breakpoints,
|
|
1140
|
+
expressiveness: expressiveness
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
var isObject = function isObject(target) {
|
|
1144
|
+
return target && _typeof(target) === 'object';
|
|
1145
|
+
};
|
|
1146
|
+
var _deepDuplicable = function deepDuplicable(source, target) {
|
|
1147
|
+
if (!isObject(target) || !isObject(source)) return source;
|
|
1148
|
+
var sourceKeys = Object.keys(source);
|
|
1149
|
+
var result = {};
|
|
1150
|
+
for (var _i = 0, _sourceKeys = sourceKeys; _i < _sourceKeys.length; _i++) {
|
|
1151
|
+
var key = _sourceKeys[_i];
|
|
1152
|
+
var sourceValue = source[key];
|
|
1153
|
+
var targetValue = target[key];
|
|
1154
|
+
if (Array.isArray(sourceValue) && Array.isArray(targetValue)) {
|
|
1155
|
+
result[key] = targetValue.concat(sourceValue);
|
|
1156
|
+
} else if (isObject(sourceValue) && isObject(targetValue)) {
|
|
1157
|
+
result[key] = _deepDuplicable(sourceValue, _objectSpread2({}, targetValue));
|
|
1158
|
+
} else if (targetValue) {
|
|
1159
|
+
result[key] = targetValue;
|
|
1160
|
+
} else {
|
|
1161
|
+
result[key] = sourceValue;
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
return result;
|
|
1165
|
+
};
|
|
1166
|
+
var getPresets = function getPresets() {
|
|
1167
|
+
return [themes$1, themes];
|
|
1168
|
+
};
|
|
1169
|
+
var getPresetStaticTheme = function getPresetStaticTheme() {
|
|
1170
|
+
return themes$1;
|
|
1171
|
+
};
|
|
1172
|
+
var isAvailableThemeType = function isAvailableThemeType(type) {
|
|
1173
|
+
if (!type) return false;
|
|
1174
|
+
var presetThemes = getPresets();
|
|
1175
|
+
var hasType = presetThemes.find(function (theme) {
|
|
1176
|
+
return theme.type === type;
|
|
1177
|
+
});
|
|
1178
|
+
return !hasType;
|
|
1179
|
+
};
|
|
1180
|
+
var isPresetTheme = function isPresetTheme(themeOrType) {
|
|
1181
|
+
if (!themeOrType) return false;
|
|
1182
|
+
var isType = typeof themeOrType === 'string';
|
|
1183
|
+
var type = isType ? themeOrType : themeOrType.type;
|
|
1184
|
+
return !isAvailableThemeType(type);
|
|
1185
|
+
};
|
|
1186
|
+
var hasUserCustomTheme = function hasUserCustomTheme() {
|
|
1187
|
+
var themes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
1188
|
+
return !!themes.find(function (item) {
|
|
1189
|
+
return isAvailableThemeType(item.type);
|
|
1190
|
+
});
|
|
1191
|
+
};
|
|
1192
|
+
var create = function create(base, custom) {
|
|
1193
|
+
if (!isAvailableThemeType(custom.type)) {
|
|
1194
|
+
throw new Error('Duplicate or unavailable theme type');
|
|
1195
|
+
}
|
|
1196
|
+
return _deepDuplicable(base, custom);
|
|
1197
|
+
};
|
|
1198
|
+
var createFromDark = function createFromDark(custom) {
|
|
1199
|
+
return create(themes, custom);
|
|
1200
|
+
};
|
|
1201
|
+
var createFromLight = function createFromLight(custom) {
|
|
1202
|
+
return create(themes$1, custom);
|
|
1203
|
+
};
|
|
1204
|
+
var Themes = {
|
|
1205
|
+
isPresetTheme: isPresetTheme,
|
|
1206
|
+
isAvailableThemeType: isAvailableThemeType,
|
|
1207
|
+
hasUserCustomTheme: hasUserCustomTheme,
|
|
1208
|
+
getPresets: getPresets,
|
|
1209
|
+
getPresetStaticTheme: getPresetStaticTheme,
|
|
1210
|
+
create: create,
|
|
1211
|
+
createFromDark: createFromDark,
|
|
1212
|
+
createFromLight: createFromLight
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
/* "use client" */
|
|
1216
|
+
|
|
1217
|
+
var defaultTheme = Themes.getPresetStaticTheme();
|
|
1218
|
+
var ThemeContext = /*#__PURE__*/React.createContext(defaultTheme);
|
|
1219
|
+
var useTheme = function useTheme() {
|
|
1220
|
+
return React.useContext(ThemeContext);
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
/* "use client" */
|
|
1224
|
+
|
|
1225
|
+
var ScalePropKeys = ['width', 'height', 'padding', 'margin', 'w', 'h', 'paddingLeft', 'paddingRight', 'paddingTop', 'paddingBottom', 'pl', 'pr', 'pt', 'pb', 'marginLeft', 'marginRight', 'marginTop', 'marginBottom', 'ml', 'mr', 'mt', 'mb', 'px', 'py', 'mx', 'my', 'font', 'unit', 'scale'];
|
|
1226
|
+
var defaultDynamicLayoutPipe = function defaultDynamicLayoutPipe(scale1x) {
|
|
1227
|
+
return "".concat(scale1x);
|
|
1228
|
+
};
|
|
1229
|
+
var defaultContext = {
|
|
1230
|
+
getScaleProps: function getScaleProps() {
|
|
1231
|
+
return undefined;
|
|
1232
|
+
},
|
|
1233
|
+
getAllScaleProps: function getAllScaleProps() {
|
|
1234
|
+
return {};
|
|
1235
|
+
},
|
|
1236
|
+
SCALES: {
|
|
1237
|
+
pl: defaultDynamicLayoutPipe,
|
|
1238
|
+
pr: defaultDynamicLayoutPipe,
|
|
1239
|
+
pb: defaultDynamicLayoutPipe,
|
|
1240
|
+
pt: defaultDynamicLayoutPipe,
|
|
1241
|
+
px: defaultDynamicLayoutPipe,
|
|
1242
|
+
py: defaultDynamicLayoutPipe,
|
|
1243
|
+
mb: defaultDynamicLayoutPipe,
|
|
1244
|
+
ml: defaultDynamicLayoutPipe,
|
|
1245
|
+
mr: defaultDynamicLayoutPipe,
|
|
1246
|
+
mt: defaultDynamicLayoutPipe,
|
|
1247
|
+
mx: defaultDynamicLayoutPipe,
|
|
1248
|
+
my: defaultDynamicLayoutPipe,
|
|
1249
|
+
width: defaultDynamicLayoutPipe,
|
|
1250
|
+
height: defaultDynamicLayoutPipe,
|
|
1251
|
+
font: defaultDynamicLayoutPipe
|
|
1252
|
+
},
|
|
1253
|
+
unit: '16px'
|
|
1254
|
+
};
|
|
1255
|
+
var ScaleContext = /*#__PURE__*/React.createContext(defaultContext);
|
|
1256
|
+
var useScale = function useScale() {
|
|
1257
|
+
return React.useContext(ScaleContext);
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
/* "use client" */
|
|
1261
|
+
|
|
1262
|
+
var isCSSNumberValue = function isCSSNumberValue(value) {
|
|
1263
|
+
return value !== undefined && !Number.isNaN(+value);
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
var generateGetScaleProps = function generateGetScaleProps(props) {
|
|
1267
|
+
var getScaleProps = function getScaleProps(keyOrKeys) {
|
|
1268
|
+
if (!Array.isArray(keyOrKeys)) return props[keyOrKeys];
|
|
1269
|
+
var value = undefined;
|
|
1270
|
+
var _iterator = _createForOfIteratorHelper(keyOrKeys),
|
|
1271
|
+
_step;
|
|
1272
|
+
try {
|
|
1273
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
1274
|
+
var key = _step.value;
|
|
1275
|
+
var currentValue = props[key];
|
|
1276
|
+
if (typeof currentValue !== 'undefined') {
|
|
1277
|
+
value = currentValue;
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
} catch (err) {
|
|
1281
|
+
_iterator.e(err);
|
|
1282
|
+
} finally {
|
|
1283
|
+
_iterator.f();
|
|
1284
|
+
}
|
|
1285
|
+
return value;
|
|
1286
|
+
};
|
|
1287
|
+
return getScaleProps;
|
|
1288
|
+
};
|
|
1289
|
+
var generateGetAllScaleProps = function generateGetAllScaleProps(props) {
|
|
1290
|
+
var getAllScaleProps = function getAllScaleProps() {
|
|
1291
|
+
var scaleProps = {};
|
|
1292
|
+
var _iterator2 = _createForOfIteratorHelper(ScalePropKeys),
|
|
1293
|
+
_step2;
|
|
1294
|
+
try {
|
|
1295
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
1296
|
+
var key = _step2.value;
|
|
1297
|
+
var value = props[key];
|
|
1298
|
+
if (typeof value !== 'undefined') {
|
|
1299
|
+
scaleProps[key] = value;
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
} catch (err) {
|
|
1303
|
+
_iterator2.e(err);
|
|
1304
|
+
} finally {
|
|
1305
|
+
_iterator2.f();
|
|
1306
|
+
}
|
|
1307
|
+
return scaleProps;
|
|
1308
|
+
};
|
|
1309
|
+
return getAllScaleProps;
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
var _excluded$2 = ["children"];
|
|
1313
|
+
var reduceScaleCoefficient = function reduceScaleCoefficient(scale) {
|
|
1314
|
+
if (scale === 1) return scale;
|
|
1315
|
+
var diff = Math.abs((scale - 1) / 2);
|
|
1316
|
+
return scale > 1 ? 1 + diff : 1 - diff;
|
|
1317
|
+
};
|
|
1318
|
+
var withScale = function withScale(Render) {
|
|
1319
|
+
var ScaleFC = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1320
|
+
var _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _ref30, _ref31, _ref32, _ref33;
|
|
1321
|
+
var children = _ref.children,
|
|
1322
|
+
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
1323
|
+
var _useTheme = useTheme(),
|
|
1324
|
+
layout = _useTheme.layout;
|
|
1325
|
+
var paddingLeft = props.paddingLeft,
|
|
1326
|
+
pl = props.pl,
|
|
1327
|
+
paddingRight = props.paddingRight,
|
|
1328
|
+
pr = props.pr,
|
|
1329
|
+
paddingTop = props.paddingTop,
|
|
1330
|
+
pt = props.pt,
|
|
1331
|
+
paddingBottom = props.paddingBottom,
|
|
1332
|
+
pb = props.pb,
|
|
1333
|
+
marginTop = props.marginTop,
|
|
1334
|
+
mt = props.mt,
|
|
1335
|
+
marginRight = props.marginRight,
|
|
1336
|
+
mr = props.mr,
|
|
1337
|
+
marginBottom = props.marginBottom,
|
|
1338
|
+
mb = props.mb,
|
|
1339
|
+
marginLeft = props.marginLeft,
|
|
1340
|
+
ml = props.ml,
|
|
1341
|
+
px = props.px,
|
|
1342
|
+
py = props.py,
|
|
1343
|
+
mx = props.mx,
|
|
1344
|
+
my = props.my,
|
|
1345
|
+
width = props.width,
|
|
1346
|
+
height = props.height,
|
|
1347
|
+
font = props.font,
|
|
1348
|
+
w = props.w,
|
|
1349
|
+
h = props.h,
|
|
1350
|
+
margin = props.margin,
|
|
1351
|
+
padding = props.padding,
|
|
1352
|
+
_props$unit = props.unit,
|
|
1353
|
+
unit = _props$unit === undefined ? layout.unit : _props$unit,
|
|
1354
|
+
_props$scale = props.scale,
|
|
1355
|
+
scale = _props$scale === undefined ? 1 : _props$scale;
|
|
1356
|
+
var makeScaleHandler = function makeScaleHandler(attrValue) {
|
|
1357
|
+
return function (scale1x, defaultValue) {
|
|
1358
|
+
// 0 means disable scale and the default value is 0
|
|
1359
|
+
if (scale1x === 0) {
|
|
1360
|
+
scale1x = 1;
|
|
1361
|
+
defaultValue = defaultValue || 0;
|
|
1362
|
+
}
|
|
1363
|
+
var factor = reduceScaleCoefficient(scale) * scale1x;
|
|
1364
|
+
if (typeof attrValue === 'undefined') {
|
|
1365
|
+
if (typeof defaultValue !== 'undefined') return "".concat(defaultValue);
|
|
1366
|
+
return "calc(".concat(factor, " * ").concat(unit, ")");
|
|
1367
|
+
}
|
|
1368
|
+
if (!isCSSNumberValue(attrValue)) return "".concat(attrValue);
|
|
1369
|
+
var customFactor = factor * Number(attrValue);
|
|
1370
|
+
return "calc(".concat(customFactor, " * ").concat(unit, ")");
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
var value = {
|
|
1374
|
+
unit: unit,
|
|
1375
|
+
SCALES: {
|
|
1376
|
+
pt: makeScaleHandler((_ref2 = (_ref3 = paddingTop !== null && paddingTop !== undefined ? paddingTop : pt) !== null && _ref3 !== undefined ? _ref3 : py) !== null && _ref2 !== undefined ? _ref2 : padding),
|
|
1377
|
+
pr: makeScaleHandler((_ref4 = (_ref5 = paddingRight !== null && paddingRight !== undefined ? paddingRight : pr) !== null && _ref5 !== undefined ? _ref5 : px) !== null && _ref4 !== undefined ? _ref4 : padding),
|
|
1378
|
+
pb: makeScaleHandler((_ref6 = (_ref7 = paddingBottom !== null && paddingBottom !== undefined ? paddingBottom : pb) !== null && _ref7 !== undefined ? _ref7 : py) !== null && _ref6 !== undefined ? _ref6 : padding),
|
|
1379
|
+
pl: makeScaleHandler((_ref8 = (_ref9 = paddingLeft !== null && paddingLeft !== undefined ? paddingLeft : pl) !== null && _ref9 !== undefined ? _ref9 : px) !== null && _ref8 !== undefined ? _ref8 : padding),
|
|
1380
|
+
px: makeScaleHandler((_ref10 = (_ref11 = (_ref12 = (_ref13 = px !== null && px !== undefined ? px : paddingLeft) !== null && _ref13 !== undefined ? _ref13 : paddingRight) !== null && _ref12 !== undefined ? _ref12 : pl) !== null && _ref11 !== undefined ? _ref11 : pr) !== null && _ref10 !== undefined ? _ref10 : padding),
|
|
1381
|
+
py: makeScaleHandler((_ref14 = (_ref15 = (_ref16 = (_ref17 = py !== null && py !== undefined ? py : paddingTop) !== null && _ref17 !== undefined ? _ref17 : paddingBottom) !== null && _ref16 !== undefined ? _ref16 : pt) !== null && _ref15 !== undefined ? _ref15 : pb) !== null && _ref14 !== undefined ? _ref14 : padding),
|
|
1382
|
+
mt: makeScaleHandler((_ref18 = (_ref19 = marginTop !== null && marginTop !== undefined ? marginTop : mt) !== null && _ref19 !== undefined ? _ref19 : my) !== null && _ref18 !== undefined ? _ref18 : margin),
|
|
1383
|
+
mr: makeScaleHandler((_ref20 = (_ref21 = marginRight !== null && marginRight !== undefined ? marginRight : mr) !== null && _ref21 !== undefined ? _ref21 : mx) !== null && _ref20 !== undefined ? _ref20 : margin),
|
|
1384
|
+
mb: makeScaleHandler((_ref22 = (_ref23 = marginBottom !== null && marginBottom !== undefined ? marginBottom : mb) !== null && _ref23 !== undefined ? _ref23 : my) !== null && _ref22 !== undefined ? _ref22 : margin),
|
|
1385
|
+
ml: makeScaleHandler((_ref24 = (_ref25 = marginLeft !== null && marginLeft !== undefined ? marginLeft : ml) !== null && _ref25 !== undefined ? _ref25 : mx) !== null && _ref24 !== undefined ? _ref24 : margin),
|
|
1386
|
+
mx: makeScaleHandler((_ref26 = (_ref27 = (_ref28 = (_ref29 = mx !== null && mx !== undefined ? mx : marginLeft) !== null && _ref29 !== undefined ? _ref29 : marginRight) !== null && _ref28 !== undefined ? _ref28 : ml) !== null && _ref27 !== undefined ? _ref27 : mr) !== null && _ref26 !== undefined ? _ref26 : margin),
|
|
1387
|
+
my: makeScaleHandler((_ref30 = (_ref31 = (_ref32 = (_ref33 = my !== null && my !== undefined ? my : marginTop) !== null && _ref33 !== undefined ? _ref33 : marginBottom) !== null && _ref32 !== undefined ? _ref32 : mt) !== null && _ref31 !== undefined ? _ref31 : mb) !== null && _ref30 !== undefined ? _ref30 : margin),
|
|
1388
|
+
width: makeScaleHandler(width !== null && width !== undefined ? width : w),
|
|
1389
|
+
height: makeScaleHandler(height !== null && height !== undefined ? height : h),
|
|
1390
|
+
font: makeScaleHandler(font)
|
|
1391
|
+
},
|
|
1392
|
+
getScaleProps: generateGetScaleProps(props),
|
|
1393
|
+
getAllScaleProps: generateGetAllScaleProps(props)
|
|
1394
|
+
};
|
|
1395
|
+
return /*#__PURE__*/React.createElement(ScaleContext.Provider, {
|
|
1396
|
+
value: value
|
|
1397
|
+
}, /*#__PURE__*/React.createElement(Render, _extends({}, props, {
|
|
1398
|
+
ref: ref
|
|
1399
|
+
}), children));
|
|
1400
|
+
});
|
|
1401
|
+
ScaleFC.displayName = "Scale".concat(Render.displayName || 'Wrapper');
|
|
1402
|
+
return ScaleFC;
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
var _excluded$1 = ["children", "tag", "className", "type"];
|
|
1406
|
+
var getTypeColor = function getTypeColor(type, palette) {
|
|
1407
|
+
var colors = {
|
|
1408
|
+
"default": 'inherit',
|
|
1409
|
+
secondary: palette.secondary,
|
|
1410
|
+
success: palette.success,
|
|
1411
|
+
warning: palette.warning,
|
|
1412
|
+
error: palette.error
|
|
1413
|
+
};
|
|
1414
|
+
return colors[type] || colors["default"];
|
|
1415
|
+
};
|
|
1416
|
+
var TextChild = function TextChild(_ref) {
|
|
1417
|
+
var children = _ref.children,
|
|
1418
|
+
tag = _ref.tag,
|
|
1419
|
+
_ref$className = _ref.className,
|
|
1420
|
+
className = _ref$className === undefined ? '' : _ref$className,
|
|
1421
|
+
_ref$type = _ref.type,
|
|
1422
|
+
type = _ref$type === undefined ? 'default' : _ref$type,
|
|
1423
|
+
props = _objectWithoutProperties(_ref, _excluded$1);
|
|
1424
|
+
var Component = tag;
|
|
1425
|
+
var theme = useTheme();
|
|
1426
|
+
var _useScale = useScale(),
|
|
1427
|
+
SCALES = _useScale.SCALES,
|
|
1428
|
+
getScaleProps = _useScale.getScaleProps;
|
|
1429
|
+
var font = getScaleProps('font');
|
|
1430
|
+
var mx = getScaleProps(['margin', 'marginLeft', 'marginRight', 'mx', 'ml', 'mr']);
|
|
1431
|
+
var my = getScaleProps(['margin', 'marginTop', 'marginBottom', 'my', 'mt', 'mb']);
|
|
1432
|
+
var px = getScaleProps(['padding', 'paddingLeft', 'paddingRight', 'pl', 'pr', 'px']);
|
|
1433
|
+
var py = getScaleProps(['padding', 'paddingTop', 'paddingBottom', 'pt', 'pb', 'py']);
|
|
1434
|
+
var color = React.useMemo(function () {
|
|
1435
|
+
return getTypeColor(type, theme.palette);
|
|
1436
|
+
}, [type, theme.palette]);
|
|
1437
|
+
var classNames = React.useMemo(function () {
|
|
1438
|
+
var keys = [{
|
|
1439
|
+
value: mx,
|
|
1440
|
+
className: 'mx'
|
|
1441
|
+
}, {
|
|
1442
|
+
value: my,
|
|
1443
|
+
className: 'my'
|
|
1444
|
+
}, {
|
|
1445
|
+
value: px,
|
|
1446
|
+
className: 'px'
|
|
1447
|
+
}, {
|
|
1448
|
+
value: py,
|
|
1449
|
+
className: 'py'
|
|
1450
|
+
}, {
|
|
1451
|
+
value: font,
|
|
1452
|
+
className: 'font'
|
|
1453
|
+
}];
|
|
1454
|
+
var scaleClassNames = keys.reduce(function (pre, next) {
|
|
1455
|
+
if (typeof next.value === 'undefined') return pre;
|
|
1456
|
+
return "".concat(pre, " ").concat(next.className);
|
|
1457
|
+
}, '');
|
|
1458
|
+
return "".concat(scaleClassNames, " ").concat(className).trim();
|
|
1459
|
+
}, [mx, my, px, py, font, className]);
|
|
1460
|
+
return /*#__PURE__*/React.createElement(Component, _extends({}, props, {
|
|
1461
|
+
className: _JSXStyle.dynamic([["3155699851", [tag, color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]]]) + " " + (props && props.className != null && props.className || classNames || "")
|
|
1462
|
+
}), children, /*#__PURE__*/React.createElement(_JSXStyle, {
|
|
1463
|
+
id: "3155699851",
|
|
1464
|
+
dynamic: [tag, color, SCALES.width(1, 'auto'), SCALES.height(1, 'auto'), SCALES.font(1, 'inherit'), SCALES.ml(0, 'revert'), SCALES.mr(0, 'revert'), SCALES.mt(0, 'revert'), SCALES.mb(0, 'revert'), SCALES.pl(0, 'revert'), SCALES.pr(0, 'revert'), SCALES.pt(0, 'revert'), SCALES.pb(0, 'revert')]
|
|
1465
|
+
}, "".concat(tag, ".__jsx-style-dynamic-selector{color:").concat(color, ";width:").concat(SCALES.width(1, 'auto'), ";height:").concat(SCALES.height(1, 'auto'), ";}.font.__jsx-style-dynamic-selector{font-size:").concat(SCALES.font(1, 'inherit'), ";}.mx.__jsx-style-dynamic-selector{margin-left:").concat(SCALES.ml(0, 'revert'), ";margin-right:").concat(SCALES.mr(0, 'revert'), ";}.my.__jsx-style-dynamic-selector{margin-top:").concat(SCALES.mt(0, 'revert'), ";margin-bottom:").concat(SCALES.mb(0, 'revert'), ";}.px.__jsx-style-dynamic-selector{padding-left:").concat(SCALES.pl(0, 'revert'), ";padding-right:").concat(SCALES.pr(0, 'revert'), ";}.py.__jsx-style-dynamic-selector{padding-top:").concat(SCALES.pt(0, 'revert'), ";padding-bottom:").concat(SCALES.pb(0, 'revert'), ";}")));
|
|
1466
|
+
};
|
|
1467
|
+
TextChild.displayName = 'TextChild';
|
|
1468
|
+
|
|
1469
|
+
var _excluded = ["h1", "h2", "h3", "h4", "h5", "h6", "p", "b", "small", "i", "span", "del", "em", "blockquote", "children", "className"];
|
|
1470
|
+
var _getModifierChild = function getModifierChild(tags, children) {
|
|
1471
|
+
if (!tags.length) return children;
|
|
1472
|
+
var nextTag = tags.slice(1, tags.length);
|
|
1473
|
+
return /*#__PURE__*/React.createElement(TextChild, {
|
|
1474
|
+
tag: tags[0]
|
|
1475
|
+
}, _getModifierChild(nextTag, children));
|
|
1476
|
+
};
|
|
1477
|
+
var TextComponent = function TextComponent(_ref) {
|
|
1478
|
+
var _ref$h = _ref.h1,
|
|
1479
|
+
h1 = _ref$h === undefined ? false : _ref$h,
|
|
1480
|
+
_ref$h2 = _ref.h2,
|
|
1481
|
+
h2 = _ref$h2 === undefined ? false : _ref$h2,
|
|
1482
|
+
_ref$h3 = _ref.h3,
|
|
1483
|
+
h3 = _ref$h3 === undefined ? false : _ref$h3,
|
|
1484
|
+
_ref$h4 = _ref.h4,
|
|
1485
|
+
h4 = _ref$h4 === undefined ? false : _ref$h4,
|
|
1486
|
+
_ref$h5 = _ref.h5,
|
|
1487
|
+
h5 = _ref$h5 === undefined ? false : _ref$h5,
|
|
1488
|
+
_ref$h6 = _ref.h6,
|
|
1489
|
+
h6 = _ref$h6 === undefined ? false : _ref$h6,
|
|
1490
|
+
_ref$p = _ref.p,
|
|
1491
|
+
p = _ref$p === undefined ? false : _ref$p,
|
|
1492
|
+
_ref$b = _ref.b,
|
|
1493
|
+
b = _ref$b === undefined ? false : _ref$b,
|
|
1494
|
+
_ref$small = _ref.small,
|
|
1495
|
+
small = _ref$small === undefined ? false : _ref$small,
|
|
1496
|
+
_ref$i = _ref.i,
|
|
1497
|
+
i = _ref$i === undefined ? false : _ref$i,
|
|
1498
|
+
_ref$span = _ref.span,
|
|
1499
|
+
span = _ref$span === undefined ? false : _ref$span,
|
|
1500
|
+
_ref$del = _ref.del,
|
|
1501
|
+
del = _ref$del === undefined ? false : _ref$del,
|
|
1502
|
+
_ref$em = _ref.em,
|
|
1503
|
+
em = _ref$em === undefined ? false : _ref$em,
|
|
1504
|
+
_ref$blockquote = _ref.blockquote,
|
|
1505
|
+
blockquote = _ref$blockquote === undefined ? false : _ref$blockquote,
|
|
1506
|
+
children = _ref.children,
|
|
1507
|
+
_ref$className = _ref.className,
|
|
1508
|
+
className = _ref$className === undefined ? '' : _ref$className,
|
|
1509
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
1510
|
+
var elements = {
|
|
1511
|
+
h1: h1,
|
|
1512
|
+
h2: h2,
|
|
1513
|
+
h3: h3,
|
|
1514
|
+
h4: h4,
|
|
1515
|
+
h5: h5,
|
|
1516
|
+
h6: h6,
|
|
1517
|
+
p: p,
|
|
1518
|
+
blockquote: blockquote
|
|
1519
|
+
};
|
|
1520
|
+
var inlineElements = {
|
|
1521
|
+
span: span,
|
|
1522
|
+
small: small,
|
|
1523
|
+
b: b,
|
|
1524
|
+
em: em,
|
|
1525
|
+
i: i,
|
|
1526
|
+
del: del
|
|
1527
|
+
};
|
|
1528
|
+
var names = Object.keys(elements).filter(function (name) {
|
|
1529
|
+
return elements[name];
|
|
1530
|
+
});
|
|
1531
|
+
var inlineNames = Object.keys(inlineElements).filter(function (name) {
|
|
1532
|
+
return inlineElements[name];
|
|
1533
|
+
});
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* Render element "p" only if no element is found.
|
|
1537
|
+
* If there is only one modifier, just rendered one modifier element
|
|
1538
|
+
* e.g.
|
|
1539
|
+
* <Text /> => <p />
|
|
1540
|
+
* <Text em /> => <em />
|
|
1541
|
+
* <Text p em /> => <p><em>children</em></p>
|
|
1542
|
+
*
|
|
1543
|
+
*/
|
|
1544
|
+
|
|
1545
|
+
var tag = React.useMemo(function () {
|
|
1546
|
+
if (names[0]) return names[0];
|
|
1547
|
+
if (inlineNames[0]) return inlineNames[0];
|
|
1548
|
+
return 'p';
|
|
1549
|
+
}, [names, inlineNames]);
|
|
1550
|
+
var renderableChildElements = inlineNames.filter(function (name) {
|
|
1551
|
+
return name !== tag;
|
|
1552
|
+
});
|
|
1553
|
+
var modifers = React.useMemo(function () {
|
|
1554
|
+
if (!renderableChildElements.length) return children;
|
|
1555
|
+
return _getModifierChild(renderableChildElements, children);
|
|
1556
|
+
}, [renderableChildElements, children]);
|
|
1557
|
+
return /*#__PURE__*/React.createElement(TextChild, _extends({
|
|
1558
|
+
style: {
|
|
1559
|
+
textAlign: props.align
|
|
1560
|
+
},
|
|
1561
|
+
className: className,
|
|
1562
|
+
tag: tag
|
|
1563
|
+
}, props), modifers);
|
|
1564
|
+
};
|
|
1565
|
+
TextComponent.displayName = 'Text';
|
|
1566
|
+
var Text = withScale(TextComponent);
|
|
1567
|
+
|
|
1568
|
+
function Placeholder(_ref) {
|
|
1569
|
+
var msg = _ref.msg,
|
|
1570
|
+
style = _ref.style,
|
|
1571
|
+
access_denied = _ref.access_denied,
|
|
1572
|
+
textOnly = _ref.textOnly,
|
|
1573
|
+
empty = _ref.empty,
|
|
1574
|
+
width = _ref.width,
|
|
1575
|
+
height = _ref.height,
|
|
1576
|
+
dataLength = _ref.dataLength,
|
|
1577
|
+
children = _ref.children,
|
|
1578
|
+
_ref$hide = _ref.hide,
|
|
1579
|
+
hide = _ref$hide === undefined ? false : _ref$hide;
|
|
1580
|
+
msg = access_denied ? 'Access Denied!' : msg;
|
|
1581
|
+
if (dataLength !== undefined && dataLength > 0 || hide) {
|
|
1582
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, children);
|
|
1583
|
+
}
|
|
1584
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1585
|
+
style: _objectSpread2({
|
|
1586
|
+
display: 'flex',
|
|
1587
|
+
alignItems: 'center',
|
|
1588
|
+
justifyContent: 'center',
|
|
1589
|
+
flexDirection: 'column',
|
|
1590
|
+
// paddingTop: '20px',
|
|
1591
|
+
// margin: '40px',
|
|
1592
|
+
height: height,
|
|
1593
|
+
width: width,
|
|
1594
|
+
minWidth: 200,
|
|
1595
|
+
margin: 'auto'
|
|
1596
|
+
}, style)
|
|
1597
|
+
}, !textOnly && /*#__PURE__*/React.createElement(React.Fragment, null, access_denied ? /*#__PURE__*/React.createElement(React.Fragment, null) : empty ? /*#__PURE__*/React.createElement(Empty, null) : /*#__PURE__*/React.createElement("svg", {
|
|
1598
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1599
|
+
width: "6em",
|
|
1600
|
+
height: "6em",
|
|
1601
|
+
"data-name": "Layer 1",
|
|
1602
|
+
viewBox: "0 0 650.636 640.174"
|
|
1603
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
1604
|
+
fill: "#f2f2f2",
|
|
1605
|
+
d: "M687.328 276.087h-174.51a15.018 15.018 0 00-15 15v387.85l-2 .61-42.81 13.11a8.007 8.007 0 01-9.99-5.31l-127.34-415.95a8.003 8.003 0 015.31-9.99l65.97-20.2 191.25-58.54 65.97-20.2a7.99 7.99 0 019.99 5.3l32.55 106.32z",
|
|
1606
|
+
transform: "translate(-276.182 -133.913)"
|
|
1607
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1608
|
+
fill: "#3f3d56",
|
|
1609
|
+
d: "M725.408 274.087l-39.23-128.14a16.994 16.994 0 00-21.23-11.28l-92.75 28.39-191.24 58.55-92.75 28.4a17.015 17.015 0 00-11.28 21.23l134.08 437.93a17.027 17.027 0 0016.26 12.03 16.79 16.79 0 004.97-.75l63.58-19.46 2-.62v-2.09l-2 .61-64.17 19.65a15.015 15.015 0 01-18.73-9.95l-134.07-437.94a14.98 14.98 0 019.95-18.73l92.75-28.4 191.24-58.54 92.75-28.4a15.156 15.156 0 014.41-.66 15.015 15.015 0 0114.32 10.61l39.05 127.56.62 2h2.08z",
|
|
1610
|
+
transform: "translate(-276.182 -133.913)"
|
|
1611
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1612
|
+
fill: "#1976d2",
|
|
1613
|
+
d: "M398.863 261.734a9.016 9.016 0 01-8.612-6.367l-12.88-42.072a8.999 8.999 0 015.971-11.24l175.94-53.864a9.009 9.009 0 0111.24 5.971l12.88 42.072a9.01 9.01 0 01-5.97 11.241l-175.94 53.864a8.976 8.976 0 01-2.63.395z",
|
|
1614
|
+
transform: "translate(-276.182 -133.913)"
|
|
1615
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
1616
|
+
cx: "190.154",
|
|
1617
|
+
cy: "24.955",
|
|
1618
|
+
r: "20",
|
|
1619
|
+
fill: "#1976d2"
|
|
1620
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
1621
|
+
cx: "190.154",
|
|
1622
|
+
cy: "24.955",
|
|
1623
|
+
r: "12.665",
|
|
1624
|
+
fill: "#fff"
|
|
1625
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1626
|
+
fill: "#e6e6e6",
|
|
1627
|
+
d: "M878.818 716.087h-338a8.51 8.51 0 01-8.5-8.5v-405a8.51 8.51 0 018.5-8.5h338a8.51 8.51 0 018.5 8.5v405a8.51 8.51 0 01-8.5 8.5z",
|
|
1628
|
+
transform: "translate(-276.182 -133.913)"
|
|
1629
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1630
|
+
fill: "#3f3d56",
|
|
1631
|
+
d: "M723.318 274.087h-210.5a17.024 17.024 0 00-17 17v407.8l2-.61v-407.19a15.018 15.018 0 0115-15h211.12zm183.5 0h-394a17.024 17.024 0 00-17 17v458a17.024 17.024 0 0017 17h394a17.024 17.024 0 0017-17v-458a17.024 17.024 0 00-17-17zm15 475a15.018 15.018 0 01-15 15h-394a15.018 15.018 0 01-15-15v-458a15.018 15.018 0 0115-15h394a15.018 15.018 0 0115 15z",
|
|
1632
|
+
transform: "translate(-276.182 -133.913)"
|
|
1633
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1634
|
+
fill: "#1976d2",
|
|
1635
|
+
d: "M801.818 318.087h-184a9.01 9.01 0 01-9-9v-44a9.01 9.01 0 019-9h184a9.01 9.01 0 019 9v44a9.01 9.01 0 01-9 9z",
|
|
1636
|
+
transform: "translate(-276.182 -133.913)"
|
|
1637
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
1638
|
+
cx: "433.636",
|
|
1639
|
+
cy: "105.174",
|
|
1640
|
+
r: "20",
|
|
1641
|
+
fill: "#1976d2"
|
|
1642
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
1643
|
+
cx: "433.636",
|
|
1644
|
+
cy: "105.174",
|
|
1645
|
+
r: "12.182",
|
|
1646
|
+
fill: "#fff"
|
|
1647
|
+
}))), /*#__PURE__*/React.createElement(Text, {
|
|
1648
|
+
type: access_denied ? 'error' : 'default',
|
|
1649
|
+
style: {
|
|
1650
|
+
color: 'gray',
|
|
1651
|
+
textAlign: 'center'
|
|
1652
|
+
}
|
|
1653
|
+
}, msg));
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
exports.default = Placeholder;
|