PluginProbe
Elementor Website Builder – more than just a page builder / 3.33.0-beta1
Elementor Website Builder – more than just a page builder v3.33.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
← All changes | assets/js/admin-top-bar.js +1697 -972 4.3.2 → 3.33.0-beta1 View file →
@@ -1,1009 +1,1734 @@
1 -(function(react, react_dom, _wordpress_i18n) {
1 +/******/ (() => { // webpackBootstrap
2 +/******/ var __webpack_modules__ = ({
2 3
3 -//#region \0rolldown/runtime.js
4 - var __create = Object.create;
5 - var __defProp = Object.defineProperty;
6 - var __name = (target, value) => __defProp(target, "name", {
7 - value,
8 - configurable: true
9 - });
10 - var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11 - var __getOwnPropNames = Object.getOwnPropertyNames;
12 - var __getProtoOf = Object.getPrototypeOf;
13 - var __hasOwnProp = Object.prototype.hasOwnProperty;
14 - var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
15 - var __copyProps = (to, from, except, desc) => {
16 - if (from && typeof from === "object" || typeof from === "function") {
17 - for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
18 - key = keys[i];
19 - if (!__hasOwnProp.call(to, key) && key !== except) {
20 - __defProp(to, key, {
21 - get: ((k) => from[k]).bind(null, key),
22 - enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
23 - });
24 - }
25 - }
4 +/***/ "../assets/dev/js/utils/react.js":
5 +/*!***************************************!*\
6 + !*** ../assets/dev/js/utils/react.js ***!
7 + \***************************************/
8 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
9 +
10 +"use strict";
11 +
12 +
13 +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
14 +Object.defineProperty(exports, "__esModule", ({
15 + value: true
16 +}));
17 +exports["default"] = void 0;
18 +var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
19 +var ReactDOM = _interopRequireWildcard(__webpack_require__(/*! react-dom */ "react-dom"));
20 +var _client = __webpack_require__(/*! react-dom/client */ "../node_modules/react-dom/client.js");
21 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
22 +/**
23 + * Support conditional rendering of a React App to the DOM, based on the React version.
24 + * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions.
25 + *
26 + * @param { React.ReactElement } app The app to render.
27 + * @param { HTMLElement } domElement The DOM element to render the app into.
28 + *
29 + * @return {{ unmount: () => void }} The unmount function.
30 + */
31 +function render(app, domElement) {
32 + var unmountFunction;
33 + try {
34 + var root = (0, _client.createRoot)(domElement);
35 + root.render(app);
36 + unmountFunction = function unmountFunction() {
37 + root.unmount();
38 + };
39 + } catch (e) {
40 + // eslint-disable-next-line react/no-deprecated
41 + ReactDOM.render(app, domElement);
42 + unmountFunction = function unmountFunction() {
43 + // eslint-disable-next-line react/no-deprecated
44 + ReactDOM.unmountComponentAtNode(domElement);
45 + };
46 + }
47 + return {
48 + unmount: unmountFunction
49 + };
50 +}
51 +var _default = exports["default"] = {
52 + render: render
53 +};
54 +
55 +/***/ }),
56 +
57 +/***/ "../core/common/assets/js/utils/environment.js":
58 +/*!*****************************************************!*\
59 + !*** ../core/common/assets/js/utils/environment.js ***!
60 + \*****************************************************/
61 +/***/ ((__unused_webpack_module, exports) => {
62 +
63 +"use strict";
64 +
65 +
66 +Object.defineProperty(exports, "__esModule", ({
67 + value: true
68 +}));
69 +exports["default"] = void 0;
70 +var matchUserAgent = function matchUserAgent(UserAgentStr) {
71 + return userAgent.indexOf(UserAgentStr) >= 0;
72 + },
73 + userAgent = navigator.userAgent,
74 + // Solution influenced by https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
75 +
76 + // Opera 8.0+
77 + isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(' OPR/'),
78 + // Firefox 1.0+
79 + isFirefox = matchUserAgent('Firefox'),
80 + // Safari 3.0+ "[object HTMLElementConstructor]"
81 + isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || function (p) {
82 + return '[object SafariRemoteNotification]' === p.toString();
83 + }(!window.safari || typeof safari !== 'undefined' && safari.pushNotification),
84 + // Internet Explorer 6-11
85 + isIE = /Trident|MSIE/.test(userAgent) && (/* @cc_on!@*/ false || !!document.documentMode),
86 + // Edge 20+
87 + isEdge = !isIE && !!window.StyleMedia || matchUserAgent('Edg'),
88 + // Google Chrome (Not accurate)
89 + isChrome = !!window.chrome && matchUserAgent('Chrome') && !(isEdge || isOpera),
90 + // Blink engine
91 + isBlink = matchUserAgent('Chrome') && !!window.CSS,
92 + // Apple Webkit engine
93 + isAppleWebkit = matchUserAgent('AppleWebKit') && !isBlink,
94 + isTouchDevice = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0,
95 + environment = {
96 + isTouchDevice: isTouchDevice,
97 + appleWebkit: isAppleWebkit,
98 + blink: isBlink,
99 + chrome: isChrome,
100 + edge: isEdge,
101 + firefox: isFirefox,
102 + ie: isIE,
103 + mac: matchUserAgent('Macintosh'),
104 + opera: isOpera,
105 + safari: isSafari,
106 + webkit: matchUserAgent('AppleWebKit')
107 + };
108 +var _default = exports["default"] = environment;
109 +
110 +/***/ }),
111 +
112 +/***/ "../modules/admin-top-bar/assets/js/admin-top-bar.js":
113 +/*!***********************************************************!*\
114 + !*** ../modules/admin-top-bar/assets/js/admin-top-bar.js ***!
115 + \***********************************************************/
116 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
117 +
118 +"use strict";
119 +/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
120 +
121 +
122 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
123 +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
124 +Object.defineProperty(exports, "__esModule", ({
125 + value: true
126 +}));
127 +exports["default"] = AdminTopBar;
128 +var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
129 +var _barButton = _interopRequireDefault(__webpack_require__(/*! ./components/bar-button/bar-button */ "../modules/admin-top-bar/assets/js/components/bar-button/bar-button.js"));
130 +var _barHeading = _interopRequireDefault(__webpack_require__(/*! ./components/bar-heading/bar-heading */ "../modules/admin-top-bar/assets/js/components/bar-heading/bar-heading.js"));
131 +var _connectionButton = _interopRequireDefault(__webpack_require__(/*! ./components/connection-button/connection-button */ "../modules/admin-top-bar/assets/js/components/connection-button/connection-button.js"));
132 +var _usePageTitle = __webpack_require__(/*! ./hooks/use-page-title/use-page-title */ "../modules/admin-top-bar/assets/js/hooks/use-page-title/use-page-title.js");
133 +var _environment = _interopRequireDefault(__webpack_require__(/*! elementor-common/utils/environment */ "../core/common/assets/js/utils/environment.js"));
134 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
135 +function AdminTopBar() {
136 + var _window, _elementorNotificatio;
137 + var actionButtonsRef = (0, _react.useRef)(),
138 + promotion = window.elementorAdminTopBarConfig.promotion;
139 +
140 + // Handle Top Bar visibility on initiation: Indicate that the admin top bar is visible and the page content needs to push down below the admin top bar for visibility.
141 + (0, _react.useEffect)(function () {
142 + var adminTopBarElement = document.querySelector('#e-admin-top-bar-root');
143 + adminTopBarElement.classList.add('e-admin-top-bar--active');
144 + }, []);
145 +
146 + // Handle the page title visibility in admin top bar.
147 + var pageTitleText = (0, _usePageTitle.usePageTitle)();
148 +
149 + // Handle the action buttons visibility in admin top bar on initiation.
150 + (0, _react.useEffect)(function () {
151 + var actionButtonElements = document.querySelectorAll('.page-title-action');
152 + actionButtonElements.forEach(function (actionButtonElement) {
153 + actionButtonsRef.current.appendChild(actionButtonElement);
154 + });
155 + }, []);
156 + var finderAction = function finderAction() {
157 + $e.route('finder');
158 + };
159 + var controlSign = _environment.default.mac ? "\u2318" : '^';
160 + var finderTooltipText = __('Search or do anything in Elementor', 'elementor') + " ".concat(controlSign, "+E");
161 + var BarButtonNotification = (_window = window) === null || _window === void 0 || (_window = _window.elementorNotificationCenter) === null || _window === void 0 ? void 0 : _window.BarButtonNotification;
162 + return /*#__PURE__*/_react.default.createElement("div", {
163 + className: "e-admin-top-bar"
164 + }, /*#__PURE__*/_react.default.createElement("div", {
165 + className: "e-admin-top-bar__main-area"
166 + }, /*#__PURE__*/_react.default.createElement(_barHeading.default, null, pageTitleText), /*#__PURE__*/_react.default.createElement("div", {
167 + className: "e-admin-top-bar__main-area-buttons",
168 + ref: actionButtonsRef
169 + })), /*#__PURE__*/_react.default.createElement("div", {
170 + className: "e-admin-top-bar__secondary-area"
171 + }, /*#__PURE__*/_react.default.createElement("div", {
172 + className: "e-admin-top-bar__secondary-area-buttons"
173 + }, !elementorAppConfig.hasPro && /*#__PURE__*/_react.default.createElement(_barButton.default, {
174 + additionalClasses: "accent",
175 + href: promotion.url,
176 + target: "__blank",
177 + icon: "eicon-upgrade-crown",
178 + iconAdditionalClasses: "crown-icon"
179 + }, promotion.text), /*#__PURE__*/_react.default.createElement(_barButton.default, {
180 + href: window.elementorAdminTopBarConfig.apps_url,
181 + icon: "eicon-integration"
182 + }, __('Add-ons', 'elementor')), window.elementorAdminTopBarConfig.is_administrator ? /*#__PURE__*/_react.default.createElement(_barButton.default, {
183 + onClick: finderAction,
184 + dataInfo: finderTooltipText,
185 + icon: "eicon-search-bold"
186 + }, __('Finder', 'elementor')) : '', window.elementorCloudAdmin ? window.elementorCloudAdmin() : '', BarButtonNotification ? /*#__PURE__*/_react.default.createElement(BarButtonNotification, {
187 + defaultIsRead: !((_elementorNotificatio = elementorNotifications) !== null && _elementorNotificatio !== void 0 && _elementorNotificatio.is_unread)
188 + }, __('What\'s New', 'elementor')) : ''), /*#__PURE__*/_react.default.createElement(_connectionButton.default, null)));
189 +}
190 +
191 +/***/ }),
192 +
193 +/***/ "../modules/admin-top-bar/assets/js/components/bar-button/bar-button.js":
194 +/*!******************************************************************************!*\
195 + !*** ../modules/admin-top-bar/assets/js/components/bar-button/bar-button.js ***!
196 + \******************************************************************************/
197 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
198 +
199 +"use strict";
200 +/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
201 +
202 +
203 +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
204 +Object.defineProperty(exports, "__esModule", ({
205 + value: true
206 +}));
207 +exports["default"] = BarButton;
208 +var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
209 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
210 +function BarButton(props) {
211 + (0, _react.useEffect)(function () {
212 + if (props.dataInfo) {
213 + jQuery('.e-admin-top-bar__bar-button[data-info]').tipsy({
214 + title: function title() {
215 + return this.getAttribute('data-info');
216 + },
217 + gravity: function gravity() {
218 + return 'n';
219 + },
220 + delayIn: 400,
221 + offset: 1
222 + });
223 + }
224 + }, []);
225 + return /*#__PURE__*/_react.default.createElement("a", {
226 + className: "e-admin-top-bar__bar-button ".concat(props.additionalClasses),
227 + ref: props.buttonRef,
228 + onClick: props.onClick,
229 + "data-info": props.dataInfo,
230 + href: props.href,
231 + target: props.target
232 + }, /*#__PURE__*/_react.default.createElement("i", {
233 + className: "e-admin-top-bar__bar-button-icon ".concat(props.icon, " ").concat(props.iconAdditionalClasses)
234 + }), /*#__PURE__*/_react.default.createElement("span", {
235 + className: "e-admin-top-bar__bar-button-title"
236 + }, props.children));
237 +}
238 +BarButton.propTypes = {
239 + children: PropTypes.any,
240 + dataInfo: PropTypes.string,
241 + icon: PropTypes.any,
242 + onClick: PropTypes.func,
243 + buttonRef: PropTypes.object,
244 + href: PropTypes.string,
245 + target: PropTypes.string,
246 + additionalClasses: PropTypes.string,
247 + iconAdditionalClasses: PropTypes.string
248 +};
249 +
250 +/***/ }),
251 +
252 +/***/ "../modules/admin-top-bar/assets/js/components/bar-heading/bar-heading.js":
253 +/*!********************************************************************************!*\
254 + !*** ../modules/admin-top-bar/assets/js/components/bar-heading/bar-heading.js ***!
255 + \********************************************************************************/
256 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
257 +
258 +"use strict";
259 +/* provided dependency */ var PropTypes = __webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js");
260 +
261 +
262 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
263 +Object.defineProperty(exports, "__esModule", ({
264 + value: true
265 +}));
266 +exports["default"] = BarHeading;
267 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
268 +function BarHeading(props) {
269 + return /*#__PURE__*/_react.default.createElement("div", {
270 + className: "e-admin-top-bar__heading"
271 + }, /*#__PURE__*/_react.default.createElement("div", {
272 + className: "e-logo-wrapper"
273 + }, /*#__PURE__*/_react.default.createElement("i", {
274 + className: "eicon-elementor",
275 + "aria-hidden": "true"
276 + })), /*#__PURE__*/_react.default.createElement("span", {
277 + className: "e-admin-top-bar__heading-title"
278 + }, props.children));
279 +}
280 +BarHeading.propTypes = {
281 + children: PropTypes.any
282 +};
283 +
284 +/***/ }),
285 +
286 +/***/ "../modules/admin-top-bar/assets/js/components/connection-button/connection-button.js":
287 +/*!********************************************************************************************!*\
288 + !*** ../modules/admin-top-bar/assets/js/components/connection-button/connection-button.js ***!
289 + \********************************************************************************************/
290 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
291 +
292 +"use strict";
293 +/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"];
294 +
295 +
296 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
297 +var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js");
298 +Object.defineProperty(exports, "__esModule", ({
299 + value: true
300 +}));
301 +exports["default"] = ConnectionButton;
302 +var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react"));
303 +var _barButton = _interopRequireDefault(__webpack_require__(/*! ../bar-button/bar-button */ "../modules/admin-top-bar/assets/js/components/bar-button/bar-button.js"));
304 +function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
305 +function ConnectionButton() {
306 + var buttonRef = (0, _react.useRef)();
307 + var isUserConnected = elementorAdminTopBarConfig.is_user_connected;
308 + (0, _react.useEffect)(function () {
309 + if (!buttonRef.current || isUserConnected) {
310 + return;
311 + }
312 + jQuery(buttonRef.current).elementorConnect();
313 + }, []);
314 + var tooltipText = __('Connect your account to get access to Elementor\'s Template Library & more.', 'elementor'),
315 + connectUrl = elementorAdminTopBarConfig.connect_url,
316 + buttonText = __('Connect Account', 'elementor'),
317 + targetUrl = '_self';
318 + if (isUserConnected) {
319 + tooltipText = '';
320 + connectUrl = 'https://go.elementor.com/wp-dash-admin-bar-account/';
321 + buttonText = __('My Elementor', 'elementor');
322 + targetUrl = '_blank';
323 + }
324 + return /*#__PURE__*/_react.default.createElement(_barButton.default, {
325 + icon: "eicon-user-circle-o",
326 + buttonRef: buttonRef,
327 + dataInfo: tooltipText,
328 + href: connectUrl,
329 + target: targetUrl
330 + }, buttonText);
331 +}
332 +
333 +/***/ }),
334 +
335 +/***/ "../modules/admin-top-bar/assets/js/hooks/use-page-title/use-page-title.js":
336 +/*!*********************************************************************************!*\
337 + !*** ../modules/admin-top-bar/assets/js/hooks/use-page-title/use-page-title.js ***!
338 + \*********************************************************************************/
339 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
340 +
341 +"use strict";
342 +
343 +
344 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
345 +Object.defineProperty(exports, "__esModule", ({
346 + value: true
347 +}));
348 +exports.usePageTitle = void 0;
349 +var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js"));
350 +var _react = __webpack_require__(/*! react */ "react");
351 +var usePageTitle = exports.usePageTitle = function usePageTitle() {
352 + var _useState = (0, _react.useState)('Elementor'),
353 + _useState2 = (0, _slicedToArray2.default)(_useState, 2),
354 + pageTitle = _useState2[0],
355 + setPageTitle = _useState2[1];
356 + (0, _react.useEffect)(function () {
357 + var pageTitleElement = document.querySelector('.wp-heading-inline');
358 + if (!pageTitleElement) {
359 + return;
360 + }
361 + setPageTitle(pageTitleElement.innerText);
362 + }, []);
363 + return pageTitle;
364 +};
365 +
366 +/***/ }),
367 +
368 +/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
369 +/*!******************************************************************!*\
370 + !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
371 + \******************************************************************/
372 +/***/ ((module) => {
373 +
374 +function _arrayLikeToArray(r, a) {
375 + (null == a || a > r.length) && (a = r.length);
376 + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
377 + return n;
378 +}
379 +module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
380 +
381 +/***/ }),
382 +
383 +/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js":
384 +/*!****************************************************************!*\
385 + !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
386 + \****************************************************************/
387 +/***/ ((module) => {
388 +
389 +function _arrayWithHoles(r) {
390 + if (Array.isArray(r)) return r;
391 +}
392 +module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
393 +
394 +/***/ }),
395 +
396 +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js":
397 +/*!***********************************************************************!*\
398 + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
399 + \***********************************************************************/
400 +/***/ ((module) => {
401 +
402 +function _interopRequireDefault(e) {
403 + return e && e.__esModule ? e : {
404 + "default": e
405 + };
406 +}
407 +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
408 +
409 +/***/ }),
410 +
411 +/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js":
412 +/*!**********************************************************************!*\
413 + !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
414 + \**********************************************************************/
415 +/***/ ((module) => {
416 +
417 +function _iterableToArrayLimit(r, l) {
418 + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
419 + if (null != t) {
420 + var e,
421 + n,
422 + i,
423 + u,
424 + a = [],
425 + f = !0,
426 + o = !1;
427 + try {
428 + if (i = (t = t.call(r)).next, 0 === l) {
429 + if (Object(t) !== t) return;
430 + f = !1;
431 + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
432 + } catch (r) {
433 + o = !0, n = r;
434 + } finally {
435 + try {
436 + if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
437 + } finally {
438 + if (o) throw n;
439 + }
440 + }
441 + return a;
442 + }
443 +}
444 +module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
445 +
446 +/***/ }),
447 +
448 +/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js":
449 +/*!*****************************************************************!*\
450 + !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
451 + \*****************************************************************/
452 +/***/ ((module) => {
453 +
454 +function _nonIterableRest() {
455 + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
456 +}
457 +module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
458 +
459 +/***/ }),
460 +
461 +/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js":
462 +/*!***************************************************************!*\
463 + !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***!
464 + \***************************************************************/
465 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
466 +
467 +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js");
468 +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js");
469 +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
470 +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js");
471 +function _slicedToArray(r, e) {
472 + return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest();
473 +}
474 +module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
475 +
476 +/***/ }),
477 +
478 +/***/ "../node_modules/@babel/runtime/helpers/typeof.js":
479 +/*!********************************************************!*\
480 + !*** ../node_modules/@babel/runtime/helpers/typeof.js ***!
481 + \********************************************************/
482 +/***/ ((module) => {
483 +
484 +function _typeof(o) {
485 + "@babel/helpers - typeof";
486 +
487 + return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
488 + return typeof o;
489 + } : function (o) {
490 + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
491 + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
492 +}
493 +module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
494 +
495 +/***/ }),
496 +
497 +/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
498 +/*!****************************************************************************!*\
499 + !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
500 + \****************************************************************************/
501 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
502 +
503 +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
504 +function _unsupportedIterableToArray(r, a) {
505 + if (r) {
506 + if ("string" == typeof r) return arrayLikeToArray(r, a);
507 + var t = {}.toString.call(r).slice(8, -1);
508 + 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) : void 0;
509 + }
510 +}
511 +module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
512 +
513 +/***/ }),
514 +
515 +/***/ "../node_modules/object-assign/index.js":
516 +/*!**********************************************!*\
517 + !*** ../node_modules/object-assign/index.js ***!
518 + \**********************************************/
519 +/***/ ((module) => {
520 +
521 +"use strict";
522 +/*
523 +object-assign
524 +(c) Sindre Sorhus
525 +@license MIT
526 +*/
527 +
528 +
529 +/* eslint-disable no-unused-vars */
530 +var getOwnPropertySymbols = Object.getOwnPropertySymbols;
531 +var hasOwnProperty = Object.prototype.hasOwnProperty;
532 +var propIsEnumerable = Object.prototype.propertyIsEnumerable;
533 +
534 +function toObject(val) {
535 + if (val === null || val === undefined) {
536 + throw new TypeError('Object.assign cannot be called with null or undefined');
537 + }
538 +
539 + return Object(val);
540 +}
541 +
542 +function shouldUseNative() {
543 + try {
544 + if (!Object.assign) {
545 + return false;
26 546 }
27 - return to;
28 - };
29 - var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30 - value: mod,
31 - enumerable: true
32 - }) : target, mod));
33 547
34 -//#endregion
35 -react = __toESM(react);
36 -react_dom = __toESM(react_dom);
548 + // Detect buggy property enumeration order in older V8 versions.
37 549
38 -//#region node_modules/react-dom/client.js
39 - var require_client = /* @__PURE__ */ __commonJSMin(((exports) => {
40 - var m = (globalThis.ReactDOM);
41 - var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
42 - exports.createRoot = function(c, o) {
43 - i.usingClientEntryPoint = true;
44 - try {
45 - return m.createRoot(c, o);
46 - } finally {
47 - i.usingClientEntryPoint = false;
48 - }
49 - };
50 - }));
550 + // https://bugs.chromium.org/p/v8/issues/detail?id=4118
551 + var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
552 + test1[5] = 'de';
553 + if (Object.getOwnPropertyNames(test1)[0] === '5') {
554 + return false;
555 + }
51 556
52 -//#endregion
53 -//#region assets/dev/js/utils/react.js
54 - var import_client = require_client();
55 - /**
56 - * Support conditional rendering of a React App to the DOM, based on the React version.
57 - * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions.
58 - *
59 - * @param {Promise.resolve(React).ReactElement} app The app to render.
60 - * @param {HTMLElement} domElement The DOM element to render the app into.
61 - *
62 - * @return {{ unmount: () => void }} The unmount function.
63 - */
64 - function render(app, domElement) {
65 - var unmountFunction;
66 - try {
67 - var root = (0, import_client.createRoot)(domElement);
68 - root.render(app);
69 - unmountFunction = function unmountFunction() {
70 - root.unmount();
71 - };
72 - } catch (e) {
73 - react_dom.render(app, domElement);
74 - unmountFunction = function unmountFunction() {
75 - react_dom.unmountComponentAtNode(domElement);
76 - };
557 + // https://bugs.chromium.org/p/v8/issues/detail?id=3056
558 + var test2 = {};
559 + for (var i = 0; i < 10; i++) {
560 + test2['_' + String.fromCharCode(i)] = i;
77 561 }
78 - return { unmount: unmountFunction };
562 + var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
563 + return test2[n];
564 + });
565 + if (order2.join('') !== '0123456789') {
566 + return false;
567 + }
568 +
569 + // https://bugs.chromium.org/p/v8/issues/detail?id=3056
570 + var test3 = {};
571 + 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
572 + test3[letter] = letter;
573 + });
574 + if (Object.keys(Object.assign({}, test3)).join('') !==
575 + 'abcdefghijklmnopqrst') {
576 + return false;
577 + }
578 +
579 + return true;
580 + } catch (err) {
581 + // We don't expect any of the above to throw, but better to be safe.
582 + return false;
79 583 }
80 - var react_default = { render };
584 +}
81 585
82 -//#endregion
83 -//#region node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
84 -/** @license React v16.13.1
85 - * react-is.development.js
86 - *
87 - * Copyright (c) Facebook, Inc. and its affiliates.
88 - *
89 - * This source code is licensed under the MIT license found in the
90 - * LICENSE file in the root directory of this source tree.
91 - */
92 - var require_react_is_development = /* @__PURE__ */ __commonJSMin(((exports) => {
93 - (function() {
94 - "use strict";
95 - var hasSymbol = typeof Symbol === "function" && Symbol.for;
96 - var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
97 - var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
98 - var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
99 - var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
100 - var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
101 - var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
102 - var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
103 - var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
104 - var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
105 - var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
106 - var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
107 - var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
108 - var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
109 - var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
110 - var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
111 - var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
112 - var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
113 - var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
114 - function isValidElementType(type) {
115 - return typeof type === "string" || typeof type === "function" || type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
116 - }
117 - function typeOf(object) {
118 - if (typeof object === "object" && object !== null) {
119 - var $$typeof = object.$$typeof;
120 - switch ($$typeof) {
121 - case REACT_ELEMENT_TYPE:
122 - var type = object.type;
123 - switch (type) {
124 - case REACT_ASYNC_MODE_TYPE:
125 - case REACT_CONCURRENT_MODE_TYPE:
126 - case REACT_FRAGMENT_TYPE:
127 - case REACT_PROFILER_TYPE:
128 - case REACT_STRICT_MODE_TYPE:
129 - case REACT_SUSPENSE_TYPE: return type;
130 - default:
131 - var $$typeofType = type && type.$$typeof;
132 - switch ($$typeofType) {
133 - case REACT_CONTEXT_TYPE:
134 - case REACT_FORWARD_REF_TYPE:
135 - case REACT_LAZY_TYPE:
136 - case REACT_MEMO_TYPE:
137 - case REACT_PROVIDER_TYPE: return $$typeofType;
138 - default: return $$typeof;
139 - }
140 - }
141 - case REACT_PORTAL_TYPE: return $$typeof;
142 - }
143 - }
144 - }
145 - var AsyncMode = REACT_ASYNC_MODE_TYPE;
146 - var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
147 - var ContextConsumer = REACT_CONTEXT_TYPE;
148 - var ContextProvider = REACT_PROVIDER_TYPE;
149 - var Element = REACT_ELEMENT_TYPE;
150 - var ForwardRef = REACT_FORWARD_REF_TYPE;
151 - var Fragment = REACT_FRAGMENT_TYPE;
152 - var Lazy = REACT_LAZY_TYPE;
153 - var Memo = REACT_MEMO_TYPE;
154 - var Portal = REACT_PORTAL_TYPE;
155 - var Profiler = REACT_PROFILER_TYPE;
156 - var StrictMode = REACT_STRICT_MODE_TYPE;
157 - var Suspense = REACT_SUSPENSE_TYPE;
158 - var hasWarnedAboutDeprecatedIsAsyncMode = false;
159 - function isAsyncMode(object) {
160 - if (!hasWarnedAboutDeprecatedIsAsyncMode) {
161 - hasWarnedAboutDeprecatedIsAsyncMode = true;
162 - console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
163 - }
164 - return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
165 - }
166 - function isConcurrentMode(object) {
167 - return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
168 - }
169 - function isContextConsumer(object) {
170 - return typeOf(object) === REACT_CONTEXT_TYPE;
171 - }
172 - function isContextProvider(object) {
173 - return typeOf(object) === REACT_PROVIDER_TYPE;
174 - }
175 - function isElement(object) {
176 - return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
177 - }
178 - function isForwardRef(object) {
179 - return typeOf(object) === REACT_FORWARD_REF_TYPE;
180 - }
181 - function isFragment(object) {
182 - return typeOf(object) === REACT_FRAGMENT_TYPE;
183 - }
184 - function isLazy(object) {
185 - return typeOf(object) === REACT_LAZY_TYPE;
186 - }
187 - function isMemo(object) {
188 - return typeOf(object) === REACT_MEMO_TYPE;
189 - }
190 - function isPortal(object) {
191 - return typeOf(object) === REACT_PORTAL_TYPE;
192 - }
193 - function isProfiler(object) {
194 - return typeOf(object) === REACT_PROFILER_TYPE;
195 - }
196 - function isStrictMode(object) {
197 - return typeOf(object) === REACT_STRICT_MODE_TYPE;
198 - }
199 - function isSuspense(object) {
200 - return typeOf(object) === REACT_SUSPENSE_TYPE;
201 - }
202 - exports.AsyncMode = AsyncMode;
203 - exports.ConcurrentMode = ConcurrentMode;
204 - exports.ContextConsumer = ContextConsumer;
205 - exports.ContextProvider = ContextProvider;
206 - exports.Element = Element;
207 - exports.ForwardRef = ForwardRef;
208 - exports.Fragment = Fragment;
209 - exports.Lazy = Lazy;
210 - exports.Memo = Memo;
211 - exports.Portal = Portal;
212 - exports.Profiler = Profiler;
213 - exports.StrictMode = StrictMode;
214 - exports.Suspense = Suspense;
215 - exports.isAsyncMode = isAsyncMode;
216 - exports.isConcurrentMode = isConcurrentMode;
217 - exports.isContextConsumer = isContextConsumer;
218 - exports.isContextProvider = isContextProvider;
219 - exports.isElement = isElement;
220 - exports.isForwardRef = isForwardRef;
221 - exports.isFragment = isFragment;
222 - exports.isLazy = isLazy;
223 - exports.isMemo = isMemo;
224 - exports.isPortal = isPortal;
225 - exports.isProfiler = isProfiler;
226 - exports.isStrictMode = isStrictMode;
227 - exports.isSuspense = isSuspense;
228 - exports.isValidElementType = isValidElementType;
229 - exports.typeOf = typeOf;
230 - })();
231 - }));
586 +module.exports = shouldUseNative() ? Object.assign : function (target, source) {
587 + var from;
588 + var to = toObject(target);
589 + var symbols;
232 590
233 -//#endregion
234 -//#region node_modules/prop-types/node_modules/react-is/index.js
235 - var require_react_is = /* @__PURE__ */ __commonJSMin(((exports, module) => {
236 - module.exports = require_react_is_development();
237 - }));
591 + for (var s = 1; s < arguments.length; s++) {
592 + from = Object(arguments[s]);
238 593
239 -//#endregion
240 -//#region node_modules/object-assign/index.js
241 -/*
242 - object-assign
243 - (c) Sindre Sorhus
244 - @license MIT
245 - */
246 - var require_object_assign = /* @__PURE__ */ __commonJSMin(((exports, module) => {
247 - var getOwnPropertySymbols = Object.getOwnPropertySymbols;
248 - var hasOwnProperty = Object.prototype.hasOwnProperty;
249 - var propIsEnumerable = Object.prototype.propertyIsEnumerable;
250 - function toObject(val) {
251 - if (val === null || val === void 0) throw new TypeError("Object.assign cannot be called with null or undefined");
252 - return Object(val);
253 - }
254 - function shouldUseNative() {
255 - try {
256 - if (!Object.assign) return false;
257 - var test1 = /* @__PURE__ */ new String("abc");
258 - test1[5] = "de";
259 - if (Object.getOwnPropertyNames(test1)[0] === "5") return false;
260 - var test2 = {};
261 - for (var i = 0; i < 10; i++) test2["_" + String.fromCharCode(i)] = i;
262 - if (Object.getOwnPropertyNames(test2).map(function(n) {
263 - return test2[n];
264 - }).join("") !== "0123456789") return false;
265 - var test3 = {};
266 - "abcdefghijklmnopqrst".split("").forEach(function(letter) {
267 - test3[letter] = letter;
268 - });
269 - if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") return false;
270 - return true;
271 - } catch (err) {
272 - return false;
594 + for (var key in from) {
595 + if (hasOwnProperty.call(from, key)) {
596 + to[key] = from[key];
273 597 }
274 598 }
275 - module.exports = shouldUseNative() ? Object.assign : function(target, source) {
276 - var from;
277 - var to = toObject(target);
278 - var symbols;
279 - for (var s = 1; s < arguments.length; s++) {
280 - from = Object(arguments[s]);
281 - for (var key in from) if (hasOwnProperty.call(from, key)) to[key] = from[key];
282 - if (getOwnPropertySymbols) {
283 - symbols = getOwnPropertySymbols(from);
284 - for (var i = 0; i < symbols.length; i++) if (propIsEnumerable.call(from, symbols[i])) to[symbols[i]] = from[symbols[i]];
599 +
600 + if (getOwnPropertySymbols) {
601 + symbols = getOwnPropertySymbols(from);
602 + for (var i = 0; i < symbols.length; i++) {
603 + if (propIsEnumerable.call(from, symbols[i])) {
604 + to[symbols[i]] = from[symbols[i]];
285 605 }
286 606 }
287 - return to;
288 - };
289 - }));
607 + }
608 + }
290 609
291 -//#endregion
292 -//#region node_modules/prop-types/lib/ReactPropTypesSecret.js
610 + return to;
611 +};
612 +
613 +
614 +/***/ }),
615 +
616 +/***/ "../node_modules/prop-types/checkPropTypes.js":
617 +/*!****************************************************!*\
618 + !*** ../node_modules/prop-types/checkPropTypes.js ***!
619 + \****************************************************/
620 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
621 +
622 +"use strict";
293 623 /**
294 - * Copyright (c) 2013-present, Facebook, Inc.
295 - *
296 - * This source code is licensed under the MIT license found in the
297 - * LICENSE file in the root directory of this source tree.
298 - */
299 - var require_ReactPropTypesSecret = /* @__PURE__ */ __commonJSMin(((exports, module) => {
300 - var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
301 - module.exports = ReactPropTypesSecret;
302 - }));
624 + * Copyright (c) 2013-present, Facebook, Inc.
625 + *
626 + * This source code is licensed under the MIT license found in the
627 + * LICENSE file in the root directory of this source tree.
628 + */
303 629
304 -//#endregion
305 -//#region node_modules/prop-types/lib/has.js
306 - var require_has = /* @__PURE__ */ __commonJSMin(((exports, module) => {
307 - module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
308 - }));
309 630
310 -//#endregion
311 -//#region node_modules/prop-types/checkPropTypes.js
631 +
632 +var printWarning = function() {};
633 +
634 +if (true) {
635 + var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
636 + var loggedTypeFailures = {};
637 + var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
638 +
639 + printWarning = function(text) {
640 + var message = 'Warning: ' + text;
641 + if (typeof console !== 'undefined') {
642 + console.error(message);
643 + }
644 + try {
645 + // --- Welcome to debugging React ---
646 + // This error was thrown as a convenience so that you can use this stack
647 + // to find the callsite that caused this warning to fire.
648 + throw new Error(message);
649 + } catch (x) { /**/ }
650 + };
651 +}
652 +
312 653 /**
313 - * Copyright (c) 2013-present, Facebook, Inc.
314 - *
315 - * This source code is licensed under the MIT license found in the
316 - * LICENSE file in the root directory of this source tree.
317 - */
318 - var require_checkPropTypes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
319 - var printWarning = function() {};
320 - var ReactPropTypesSecret = require_ReactPropTypesSecret();
321 - var loggedTypeFailures = {};
322 - var has = require_has();
323 - printWarning = function(text) {
324 - var message = "Warning: " + text;
325 - if (typeof console !== "undefined") console.error(message);
326 - try {
327 - throw new Error(message);
328 - } catch (x) {}
329 - };
330 - /**
331 - * Assert that the values match with the type specs.
332 - * Error messages are memorized and will only be shown once.
333 - *
334 - * @param {object} typeSpecs Map of name to a ReactPropType
335 - * @param {object} values Runtime values that need to be type-checked
336 - * @param {string} location e.g. "prop", "context", "child context"
337 - * @param {string} componentName Name of the component for error messages.
338 - * @param {?Function} getStack Returns the component stack.
339 - * @private
340 - */
341 - function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
342 - for (var typeSpecName in typeSpecs) if (has(typeSpecs, typeSpecName)) {
343 - var error;
344 - try {
345 - if (typeof typeSpecs[typeSpecName] !== "function") {
346 - var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347 - err.name = "Invariant Violation";
348 - throw err;
349 - }
350 - error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
351 - } catch (ex) {
352 - error = ex;
353 - }
354 - if (error && !(error instanceof Error)) printWarning((componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");
355 - if (error instanceof Error && !(error.message in loggedTypeFailures)) {
356 - loggedTypeFailures[error.message] = true;
357 - var stack = getStack ? getStack() : "";
358 - printWarning("Failed " + location + " type: " + error.message + (stack != null ? stack : ""));
359 - }
360 - }
361 - }
362 - /**
363 - * Resets warning cache when testing.
364 - *
365 - * @private
366 - */
367 - checkPropTypes.resetWarningCache = function() {
368 - loggedTypeFailures = {};
369 - };
370 - module.exports = checkPropTypes;
371 - }));
654 + * Assert that the values match with the type specs.
655 + * Error messages are memorized and will only be shown once.
656 + *
657 + * @param {object} typeSpecs Map of name to a ReactPropType
658 + * @param {object} values Runtime values that need to be type-checked
659 + * @param {string} location e.g. "prop", "context", "child context"
660 + * @param {string} componentName Name of the component for error messages.
661 + * @param {?Function} getStack Returns the component stack.
662 + * @private
663 + */
664 +function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
665 + if (true) {
666 + for (var typeSpecName in typeSpecs) {
667 + if (has(typeSpecs, typeSpecName)) {
668 + var error;
669 + // Prop type validation may throw. In case they do, we don't want to
670 + // fail the render phase where it didn't fail before. So we log it.
671 + // After these have been cleaned up, we'll let them throw.
672 + try {
673 + // This is intentionally an invariant that gets caught. It's the same
674 + // behavior as without this statement except with a better message.
675 + if (typeof typeSpecs[typeSpecName] !== 'function') {
676 + var err = Error(
677 + (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
678 + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
679 + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
680 + );
681 + err.name = 'Invariant Violation';
682 + throw err;
683 + }
684 + error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
685 + } catch (ex) {
686 + error = ex;
687 + }
688 + if (error && !(error instanceof Error)) {
689 + printWarning(
690 + (componentName || 'React class') + ': type specification of ' +
691 + location + ' `' + typeSpecName + '` is invalid; the type checker ' +
692 + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
693 + 'You may have forgotten to pass an argument to the type checker ' +
694 + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
695 + 'shape all require an argument).'
696 + );
697 + }
698 + if (error instanceof Error && !(error.message in loggedTypeFailures)) {
699 + // Only monitor this failure once because there tends to be a lot of the
700 + // same error.
701 + loggedTypeFailures[error.message] = true;
372 702
373 -//#endregion
374 -//#region node_modules/prop-types/factoryWithTypeCheckers.js
703 + var stack = getStack ? getStack() : '';
704 +
705 + printWarning(
706 + 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
707 + );
708 + }
709 + }
710 + }
711 + }
712 +}
713 +
375 714 /**
376 - * Copyright (c) 2013-present, Facebook, Inc.
377 - *
378 - * This source code is licensed under the MIT license found in the
379 - * LICENSE file in the root directory of this source tree.
380 - */
381 - var require_factoryWithTypeCheckers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
382 - var ReactIs = require_react_is();
383 - var assign = require_object_assign();
384 - var ReactPropTypesSecret = require_ReactPropTypesSecret();
385 - var has = require_has();
386 - var checkPropTypes = require_checkPropTypes();
387 - var printWarning = function() {};
388 - printWarning = function(text) {
389 - var message = "Warning: " + text;
390 - if (typeof console !== "undefined") console.error(message);
391 - try {
392 - throw new Error(message);
393 - } catch (x) {}
394 - };
395 - function emptyFunctionThatReturnsNull() {
396 - return null;
397 - }
398 - module.exports = function(isValidElement, throwOnDirectAccess) {
399 - var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
400 - var FAUX_ITERATOR_SYMBOL = "@@iterator";
401 - /**
402 - * Returns the iterator method function contained on the iterable object.
403 - *
404 - * Be sure to invoke the function with the iterable as context:
405 - *
406 - * var iteratorFn = getIteratorFn(myIterable);
407 - * if (iteratorFn) {
408 - * var iterator = iteratorFn.call(myIterable);
409 - * ...
410 - * }
411 - *
412 - * @param {?object} maybeIterable
413 - * @return {?function}
414 - */
415 - function getIteratorFn(maybeIterable) {
416 - var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
417 - if (typeof iteratorFn === "function") return iteratorFn;
418 - }
419 - /**
420 - * Collection of methods that allow declaration and validation of props that are
421 - * supplied to React components. Example usage:
422 - *
423 - * var Props = require('ReactPropTypes');
424 - * var MyArticle = React.createClass({
425 - * propTypes: {
426 - * // An optional string prop named "description".
427 - * description: Props.string,
428 - *
429 - * // A required enum prop named "category".
430 - * category: Props.oneOf(['News','Photos']).isRequired,
431 - *
432 - * // A prop named "dialog" that requires an instance of Dialog.
433 - * dialog: Props.instanceOf(Dialog).isRequired
434 - * },
435 - * render: function() { ... }
436 - * });
437 - *
438 - * A more formal specification of how these methods are used:
439 - *
440 - * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
441 - * decl := ReactPropTypes.{type}(.isRequired)?
442 - *
443 - * Each and every declaration produces a function with the same signature. This
444 - * allows the creation of custom validation functions. For example:
445 - *
446 - * var MyLink = React.createClass({
447 - * propTypes: {
448 - * // An optional string or URI prop named "href".
449 - * href: function(props, propName, componentName) {
450 - * var propValue = props[propName];
451 - * if (propValue != null && typeof propValue !== 'string' &&
452 - * !(propValue instanceof URI)) {
453 - * return new Error(
454 - * 'Expected a string or an URI for ' + propName + ' in ' +
455 - * componentName
456 - * );
457 - * }
458 - * }
459 - * },
460 - * render: function() {...}
461 - * });
462 - *
463 - * @internal
464 - */
465 - var ANONYMOUS = "<<anonymous>>";
466 - var ReactPropTypes = {
467 - array: createPrimitiveTypeChecker("array"),
468 - bigint: createPrimitiveTypeChecker("bigint"),
469 - bool: createPrimitiveTypeChecker("boolean"),
470 - func: createPrimitiveTypeChecker("function"),
471 - number: createPrimitiveTypeChecker("number"),
472 - object: createPrimitiveTypeChecker("object"),
473 - string: createPrimitiveTypeChecker("string"),
474 - symbol: createPrimitiveTypeChecker("symbol"),
475 - any: createAnyTypeChecker(),
476 - arrayOf: createArrayOfTypeChecker,
477 - element: createElementTypeChecker(),
478 - elementType: createElementTypeTypeChecker(),
479 - instanceOf: createInstanceTypeChecker,
480 - node: createNodeChecker(),
481 - objectOf: createObjectOfTypeChecker,
482 - oneOf: createEnumTypeChecker,
483 - oneOfType: createUnionTypeChecker,
484 - shape: createShapeTypeChecker,
485 - exact: createStrictShapeTypeChecker
486 - };
487 - /**
488 - * inlined Object.is polyfill to avoid requiring consumers ship their own
489 - * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
490 - */
491 - function is(x, y) {
492 - if (x === y) return x !== 0 || 1 / x === 1 / y;
493 - else return x !== x && y !== y;
494 - }
495 - /**
496 - * We use an Error-like object for backward compatibility as people may call
497 - * PropTypes directly and inspect their output. However, we don't use real
498 - * Errors anymore. We don't inspect their stack anyway, and creating them
499 - * is prohibitively expensive if they are created too often, such as what
500 - * happens in oneOfType() for any type before the one that matched.
501 - */
502 - function PropTypeError(message, data) {
503 - this.message = message;
504 - this.data = data && typeof data === "object" ? data : {};
505 - this.stack = "";
506 - }
507 - PropTypeError.prototype = Error.prototype;
508 - function createChainableTypeChecker(validate) {
509 - var manualPropTypeCallCache = {};
510 - var manualPropTypeWarningCount = 0;
511 - function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
512 - componentName = componentName || ANONYMOUS;
513 - propFullName = propFullName || propName;
514 - if (secret !== ReactPropTypesSecret) {
515 - if (throwOnDirectAccess) {
516 - var err = /* @__PURE__ */ new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");
517 - err.name = "Invariant Violation";
518 - throw err;
519 - } else if (typeof console !== "undefined") {
520 - var cacheKey = componentName + ":" + propName;
521 - if (!manualPropTypeCallCache[cacheKey] && manualPropTypeWarningCount < 3) {
522 - printWarning("You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.");
523 - manualPropTypeCallCache[cacheKey] = true;
524 - manualPropTypeWarningCount++;
525 - }
526 - }
527 - }
528 - if (props[propName] == null) {
529 - if (isRequired) {
530 - if (props[propName] === null) return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
531 - return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
532 - }
533 - return null;
534 - } else return validate(props, propName, componentName, location, propFullName);
535 - }
536 - var chainedCheckType = checkType.bind(null, false);
537 - chainedCheckType.isRequired = checkType.bind(null, true);
538 - return chainedCheckType;
539 - }
540 - function createPrimitiveTypeChecker(expectedType) {
541 - function validate(props, propName, componentName, location, propFullName, secret) {
542 - var propValue = props[propName];
543 - if (getPropType(propValue) !== expectedType) {
544 - var preciseType = getPreciseType(propValue);
545 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."), { expectedType });
546 - }
547 - return null;
548 - }
549 - return createChainableTypeChecker(validate);
550 - }
551 - function createAnyTypeChecker() {
552 - return createChainableTypeChecker(emptyFunctionThatReturnsNull);
553 - }
554 - function createArrayOfTypeChecker(typeChecker) {
555 - function validate(props, propName, componentName, location, propFullName) {
556 - if (typeof typeChecker !== "function") return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
557 - var propValue = props[propName];
558 - if (!Array.isArray(propValue)) {
559 - var propType = getPropType(propValue);
560 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
561 - }
562 - for (var i = 0; i < propValue.length; i++) {
563 - var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
564 - if (error instanceof Error) return error;
565 - }
566 - return null;
567 - }
568 - return createChainableTypeChecker(validate);
569 - }
570 - function createElementTypeChecker() {
571 - function validate(props, propName, componentName, location, propFullName) {
572 - var propValue = props[propName];
573 - if (!isValidElement(propValue)) {
574 - var propType = getPropType(propValue);
575 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
576 - }
577 - return null;
578 - }
579 - return createChainableTypeChecker(validate);
580 - }
581 - function createElementTypeTypeChecker() {
582 - function validate(props, propName, componentName, location, propFullName) {
583 - var propValue = props[propName];
584 - if (!ReactIs.isValidElementType(propValue)) {
585 - var propType = getPropType(propValue);
586 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
587 - }
588 - return null;
589 - }
590 - return createChainableTypeChecker(validate);
591 - }
592 - function createInstanceTypeChecker(expectedClass) {
593 - function validate(props, propName, componentName, location, propFullName) {
594 - if (!(props[propName] instanceof expectedClass)) {
595 - var expectedClassName = expectedClass.name || ANONYMOUS;
596 - var actualClassName = getClassName(props[propName]);
597 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
598 - }
599 - return null;
600 - }
601 - return createChainableTypeChecker(validate);
602 - }
603 - function createEnumTypeChecker(expectedValues) {
604 - if (!Array.isArray(expectedValues)) {
605 - if (arguments.length > 1) printWarning("Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).");
606 - else printWarning("Invalid argument supplied to oneOf, expected an array.");
607 - return emptyFunctionThatReturnsNull;
608 - }
609 - function validate(props, propName, componentName, location, propFullName) {
610 - var propValue = props[propName];
611 - for (var i = 0; i < expectedValues.length; i++) if (is(propValue, expectedValues[i])) return null;
612 - var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
613 - if (getPreciseType(value) === "symbol") return String(value);
614 - return value;
615 - });
616 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
617 - }
618 - return createChainableTypeChecker(validate);
619 - }
620 - function createObjectOfTypeChecker(typeChecker) {
621 - function validate(props, propName, componentName, location, propFullName) {
622 - if (typeof typeChecker !== "function") return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
623 - var propValue = props[propName];
624 - var propType = getPropType(propValue);
625 - if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
626 - for (var key in propValue) if (has(propValue, key)) {
627 - var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
628 - if (error instanceof Error) return error;
629 - }
630 - return null;
631 - }
632 - return createChainableTypeChecker(validate);
633 - }
634 - function createUnionTypeChecker(arrayOfTypeCheckers) {
635 - if (!Array.isArray(arrayOfTypeCheckers)) {
636 - printWarning("Invalid argument supplied to oneOfType, expected an instance of array.");
637 - return emptyFunctionThatReturnsNull;
638 - }
639 - for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
640 - var checker = arrayOfTypeCheckers[i];
641 - if (typeof checker !== "function") {
642 - printWarning("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + ".");
643 - return emptyFunctionThatReturnsNull;
644 - }
645 - }
646 - function validate(props, propName, componentName, location, propFullName) {
647 - var expectedTypes = [];
648 - for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
649 - var checker = arrayOfTypeCheckers[i];
650 - var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
651 - if (checkerResult == null) return null;
652 - if (checkerResult.data && has(checkerResult.data, "expectedType")) expectedTypes.push(checkerResult.data.expectedType);
653 - }
654 - var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
655 - return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
656 - }
657 - return createChainableTypeChecker(validate);
658 - }
659 - function createNodeChecker() {
660 - function validate(props, propName, componentName, location, propFullName) {
661 - if (!isNode(props[propName])) return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
662 - return null;
663 - }
664 - return createChainableTypeChecker(validate);
665 - }
666 - function invalidValidatorError(componentName, location, propFullName, key, type) {
667 - return new PropTypeError((componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`.");
668 - }
669 - function createShapeTypeChecker(shapeTypes) {
670 - function validate(props, propName, componentName, location, propFullName) {
671 - var propValue = props[propName];
672 - var propType = getPropType(propValue);
673 - if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
674 - for (var key in shapeTypes) {
675 - var checker = shapeTypes[key];
676 - if (typeof checker !== "function") return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
677 - var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
678 - if (error) return error;
679 - }
680 - return null;
681 - }
682 - return createChainableTypeChecker(validate);
683 - }
684 - function createStrictShapeTypeChecker(shapeTypes) {
685 - function validate(props, propName, componentName, location, propFullName) {
686 - var propValue = props[propName];
687 - var propType = getPropType(propValue);
688 - if (propType !== "object") return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
689 - for (var key in assign({}, props[propName], shapeTypes)) {
690 - var checker = shapeTypes[key];
691 - if (has(shapeTypes, key) && typeof checker !== "function") return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
692 - if (!checker) return new PropTypeError("Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " "));
693 - var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
694 - if (error) return error;
695 - }
696 - return null;
697 - }
698 - return createChainableTypeChecker(validate);
699 - }
700 - function isNode(propValue) {
701 - switch (typeof propValue) {
702 - case "number":
703 - case "string":
704 - case "undefined": return true;
705 - case "boolean": return !propValue;
706 - case "object":
707 - if (Array.isArray(propValue)) return propValue.every(isNode);
708 - if (propValue === null || isValidElement(propValue)) return true;
709 - var iteratorFn = getIteratorFn(propValue);
710 - if (iteratorFn) {
711 - var iterator = iteratorFn.call(propValue);
712 - var step;
713 - if (iteratorFn !== propValue.entries) {
714 - while (!(step = iterator.next()).done) if (!isNode(step.value)) return false;
715 - } else while (!(step = iterator.next()).done) {
716 - var entry = step.value;
717 - if (entry) {
718 - if (!isNode(entry[1])) return false;
719 - }
720 - }
721 - } else return false;
722 - return true;
723 - default: return false;
724 - }
725 - }
726 - function isSymbol(propType, propValue) {
727 - if (propType === "symbol") return true;
728 - if (!propValue) return false;
729 - if (propValue["@@toStringTag"] === "Symbol") return true;
730 - if (typeof Symbol === "function" && propValue instanceof Symbol) return true;
731 - return false;
732 - }
733 - function getPropType(propValue) {
734 - var propType = typeof propValue;
735 - if (Array.isArray(propValue)) return "array";
736 - if (propValue instanceof RegExp) return "object";
737 - if (isSymbol(propType, propValue)) return "symbol";
738 - return propType;
739 - }
740 - function getPreciseType(propValue) {
741 - if (typeof propValue === "undefined" || propValue === null) return "" + propValue;
742 - var propType = getPropType(propValue);
743 - if (propType === "object") {
744 - if (propValue instanceof Date) return "date";
745 - else if (propValue instanceof RegExp) return "regexp";
746 - }
747 - return propType;
748 - }
749 - function getPostfixForTypeWarning(value) {
750 - var type = getPreciseType(value);
751 - switch (type) {
752 - case "array":
753 - case "object": return "an " + type;
754 - case "boolean":
755 - case "date":
756 - case "regexp": return "a " + type;
757 - default: return type;
758 - }
759 - }
760 - function getClassName(propValue) {
761 - if (!propValue.constructor || !propValue.constructor.name) return ANONYMOUS;
762 - return propValue.constructor.name;
763 - }
764 - ReactPropTypes.checkPropTypes = checkPropTypes;
765 - ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
766 - ReactPropTypes.PropTypes = ReactPropTypes;
767 - return ReactPropTypes;
768 - };
769 - }));
715 + * Resets warning cache when testing.
716 + *
717 + * @private
718 + */
719 +checkPropTypes.resetWarningCache = function() {
720 + if (true) {
721 + loggedTypeFailures = {};
722 + }
723 +}
770 724
771 -//#endregion
772 -//#region node_modules/prop-types/index.js
773 - var require_prop_types = /* @__PURE__ */ __commonJSMin(((exports, module) => {
774 - var ReactIs = require_react_is();
775 - var throwOnDirectAccess = true;
776 - module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
777 - }));
725 +module.exports = checkPropTypes;
778 726
779 -//#endregion
780 -//#region modules/admin-top-bar/assets/js/components/bar-button/bar-button.js
781 - var import_prop_types = /* @__PURE__ */ __toESM(require_prop_types());
782 - function BarButton(props) {
783 - (0, react.useEffect)(function() {
784 - if (props.dataInfo) jQuery(".e-admin-top-bar__bar-button[data-info]").tipsy({
785 - title: function title() {
786 - return this.getAttribute("data-info");
787 - },
788 - gravity: function gravity() {
789 - return "n";
790 - },
791 - delayIn: 400,
792 - offset: 1
793 - });
794 - }, []);
795 - return /*#__PURE__*/ react.default.createElement("a", {
796 - className: "e-admin-top-bar__bar-button ".concat(props.additionalClasses),
797 - ref: props.buttonRef,
798 - onClick: props.onClick,
799 - "data-info": props.dataInfo,
800 - href: props.href,
801 - target: props.target
802 - }, /*#__PURE__*/ react.default.createElement("i", { className: "e-admin-top-bar__bar-button-icon ".concat(props.icon, " ").concat(props.iconAdditionalClasses) }), /*#__PURE__*/ react.default.createElement("span", { className: "e-admin-top-bar__bar-button-title" }, props.children));
803 - }
804 - BarButton.propTypes = {
805 - children: import_prop_types.default.any,
806 - dataInfo: import_prop_types.default.string,
807 - icon: import_prop_types.default.any,
808 - onClick: import_prop_types.default.func,
809 - buttonRef: import_prop_types.default.object,
810 - href: import_prop_types.default.string,
811 - target: import_prop_types.default.string,
812 - additionalClasses: import_prop_types.default.string,
813 - iconAdditionalClasses: import_prop_types.default.string
814 - };
815 727
816 -//#endregion
817 -//#region modules/admin-top-bar/assets/js/components/bar-heading/bar-heading.js
818 - function BarHeading(props) {
819 - return /*#__PURE__*/ react.default.createElement("div", { className: "e-admin-top-bar__heading" }, /*#__PURE__*/ react.default.createElement("div", { className: "e-logo-wrapper" }, /*#__PURE__*/ react.default.createElement("i", {
820 - className: "eicon-elementor-circle",
821 - "aria-hidden": "true"
822 - })), /*#__PURE__*/ react.default.createElement("span", { className: "e-admin-top-bar__heading-title" }, props.children));
823 - }
824 - BarHeading.propTypes = { children: import_prop_types.default.any };
728 +/***/ }),
825 729
826 -//#endregion
827 -//#region modules/admin-top-bar/assets/js/components/connection-button/connection-button.js
828 - function ConnectionButton() {
829 - var buttonRef = (0, react.useRef)();
830 - var isUserConnected = elementorAdminTopBarConfig.is_user_connected;
831 - (0, react.useEffect)(function() {
832 - if (!buttonRef.current || isUserConnected) return;
833 - jQuery(buttonRef.current).elementorConnect();
834 - }, []);
835 - var tooltipText = (0, _wordpress_i18n.__)("Connect your account to get access to Elementor's Template Library & more.", "elementor");
836 - var connectUrl = elementorAdminTopBarConfig.connect_url;
837 - var buttonText = (0, _wordpress_i18n.__)("Connect Account", "elementor");
838 - var targetUrl = "_self";
839 - if (isUserConnected) {
840 - tooltipText = "";
841 - connectUrl = "https://go.elementor.com/wp-dash-admin-bar-account/";
842 - buttonText = (0, _wordpress_i18n.__)("My Elementor", "elementor");
843 - targetUrl = "_blank";
844 - }
845 - return /*#__PURE__*/ react.default.createElement(BarButton, {
846 - icon: "eicon-user-circle-o",
847 - buttonRef,
848 - dataInfo: tooltipText,
849 - href: connectUrl,
850 - target: targetUrl
851 - }, buttonText);
852 - }
730 +/***/ "../node_modules/prop-types/factoryWithTypeCheckers.js":
731 +/*!*************************************************************!*\
732 + !*** ../node_modules/prop-types/factoryWithTypeCheckers.js ***!
733 + \*************************************************************/
734 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
853 735
854 -//#endregion
855 -//#region node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
856 - function _arrayWithHoles(r) {
857 - if (Array.isArray(r)) return r;
858 - }
736 +"use strict";
737 +/**
738 + * Copyright (c) 2013-present, Facebook, Inc.
739 + *
740 + * This source code is licensed under the MIT license found in the
741 + * LICENSE file in the root directory of this source tree.
742 + */
859 743
860 -//#endregion
861 -//#region node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
862 - function _iterableToArrayLimit(r, l) {
863 - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
864 - if (null != t) {
865 - var e;
866 - var n;
867 - var i;
868 - var u;
869 - var a = [];
870 - var f = !0;
871 - var o = !1;
872 - try {
873 - if (i = (t = t.call(r)).next, 0 === l) {
874 - if (Object(t) !== t) return;
875 - f = !1;
876 - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
877 - } catch (r) {
878 - o = !0, n = r;
879 - } finally {
880 - try {
881 - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
882 - } finally {
883 - if (o) throw n;
884 - }
885 - }
886 - return a;
887 - }
888 - }
889 744
890 -//#endregion
891 -//#region node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
892 - function _arrayLikeToArray(r, a) {
893 - (null == a || a > r.length) && (a = r.length);
894 - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
895 - return n;
896 - }
897 745
898 -//#endregion
899 -//#region node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
900 - function _unsupportedIterableToArray(r, a) {
901 - if (r) {
902 - if ("string" == typeof r) return _arrayLikeToArray(r, a);
903 - var t = {}.toString.call(r).slice(8, -1);
904 - 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) : void 0;
905 - }
906 - }
746 +var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
747 +var assign = __webpack_require__(/*! object-assign */ "../node_modules/object-assign/index.js");
907 748
908 -//#endregion
909 -//#region node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
910 - function _nonIterableRest() {
911 - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
912 - }
749 +var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "../node_modules/prop-types/lib/ReactPropTypesSecret.js");
750 +var has = __webpack_require__(/*! ./lib/has */ "../node_modules/prop-types/lib/has.js");
751 +var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "../node_modules/prop-types/checkPropTypes.js");
913 752
914 -//#endregion
915 -//#region node_modules/@babel/runtime/helpers/esm/slicedToArray.js
916 - function _slicedToArray(r, e) {
917 - return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
918 - }
753 +var printWarning = function() {};
919 754
920 -//#endregion
921 -//#region modules/admin-top-bar/assets/js/hooks/use-page-title/use-page-title.js
922 - var usePageTitle = function usePageTitle() {
923 - var _useState2 = _slicedToArray((0, react.useState)("Elementor"), 2);
924 - var pageTitle = _useState2[0];
925 - var setPageTitle = _useState2[1];
926 - (0, react.useEffect)(function() {
927 - var pageTitleElement = document.querySelector(".wp-heading-inline");
928 - if (!pageTitleElement) return;
929 - setPageTitle(pageTitleElement.innerText);
930 - }, []);
931 - return pageTitle;
932 - };
755 +if (true) {
756 + printWarning = function(text) {
757 + var message = 'Warning: ' + text;
758 + if (typeof console !== 'undefined') {
759 + console.error(message);
760 + }
761 + try {
762 + // --- Welcome to debugging React ---
763 + // This error was thrown as a convenience so that you can use this stack
764 + // to find the callsite that caused this warning to fire.
765 + throw new Error(message);
766 + } catch (x) {}
767 + };
768 +}
933 769
934 -//#endregion
935 -//#region core/common/assets/js/utils/environment.js
936 - var matchUserAgent = function matchUserAgent(UserAgentStr) {
937 - return userAgent.indexOf(UserAgentStr) >= 0;
938 - };
939 - var userAgent = navigator.userAgent;
940 - var isOpera = !!window.opr && !!opr.addons || !!window.opera || matchUserAgent(" OPR/");
941 - var isFirefox = matchUserAgent("Firefox");
942 - var isSafari = /^((?!chrome|android).)*safari/i.test(userAgent) || /constructor/i.test(window.HTMLElement) || function(p) {
943 - return "[object SafariRemoteNotification]" === p.toString();
944 - }(!window.safari || typeof safari !== "undefined" && safari.pushNotification);
945 - var isIE = /Trident|MSIE/.test(userAgent) && !!document.documentMode;
946 - var isEdge = !isIE && !!window.StyleMedia || matchUserAgent("Edg");
947 - var isChrome = !!window.chrome && matchUserAgent("Chrome") && !(isEdge || isOpera);
948 - var isBlink = matchUserAgent("Chrome") && !!window.CSS;
949 - var isAppleWebkit = matchUserAgent("AppleWebKit") && !isBlink;
950 - var environment = {
951 - isTouchDevice: "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0,
952 - appleWebkit: isAppleWebkit,
953 - blink: isBlink,
954 - chrome: isChrome,
955 - edge: isEdge,
956 - firefox: isFirefox,
957 - ie: isIE,
958 - mac: matchUserAgent("Macintosh"),
959 - opera: isOpera,
960 - safari: isSafari,
961 - webkit: matchUserAgent("AppleWebKit")
962 - };
770 +function emptyFunctionThatReturnsNull() {
771 + return null;
772 +}
963 773
964 -//#endregion
965 -//#region modules/admin-top-bar/assets/js/admin-top-bar.js
966 - function AdminTopBar() {
967 - var _window;
968 - var actionButtonsRef = (0, react.useRef)();
969 - var promotion = window.elementorAdminTopBarConfig.promotion;
970 - (0, react.useEffect)(function() {
971 - var adminTopBarElement = document.querySelector("#e-admin-top-bar-root");
972 - adminTopBarElement === null || adminTopBarElement === void 0 || adminTopBarElement.classList.add("e-admin-top-bar--active");
973 - adminTopBarElement === null || adminTopBarElement === void 0 || adminTopBarElement.classList.add("e-admin-top-bar--editor-one");
974 - }, []);
975 - var pageTitleText = usePageTitle();
976 - var finderAction = function finderAction() {
977 - $e.route("finder");
978 - };
979 - var controlSign = environment.mac ? "⌘" : "^";
980 - var finderTooltipText = (0, _wordpress_i18n.__)("Search or do anything in Elementor", "elementor") + " ".concat(controlSign, "+E");
981 - var BarButtonNotification = (_window = window) === null || _window === void 0 || (_window = _window.elementorNotificationCenter) === null || _window === void 0 ? void 0 : _window.BarButtonNotification;
982 - return /*#__PURE__*/ react.default.createElement("div", { className: "e-admin-top-bar" }, /*#__PURE__*/ react.default.createElement("div", { className: "e-admin-top-bar__main-area" }, /*#__PURE__*/ react.default.createElement(BarHeading, null, pageTitleText), /*#__PURE__*/ react.default.createElement("div", {
983 - className: "e-admin-top-bar__main-area-buttons",
984 - ref: actionButtonsRef
985 - })), /*#__PURE__*/ react.default.createElement("div", { className: "e-admin-top-bar__secondary-area" }, /*#__PURE__*/ react.default.createElement("div", { className: "e-admin-top-bar__secondary-area-buttons" }, !elementorAppConfig.hasPro && /*#__PURE__*/ react.default.createElement(BarButton, {
986 - additionalClasses: "accent",
987 - href: promotion.url,
988 - target: "__blank",
989 - icon: "eicon-upgrade-crown",
990 - iconAdditionalClasses: "crown-icon"
991 - }, promotion.text), /*#__PURE__*/ react.default.createElement(BarButton, {
992 - href: window.elementorAdminTopBarConfig.apps_url,
993 - icon: "eicon-integration"
994 - }, (0, _wordpress_i18n.__)("Add-ons", "elementor")), window.elementorAdminTopBarConfig.is_administrator ? /*#__PURE__*/ react.default.createElement(BarButton, {
995 - onClick: finderAction,
996 - dataInfo: finderTooltipText,
997 - icon: "eicon-search-bold"
998 - }, (0, _wordpress_i18n.__)("Finder", "elementor")) : "", window.elementorCloudAdmin ? window.elementorCloudAdmin() : "", BarButtonNotification ? /*#__PURE__*/ react.default.createElement(BarButtonNotification, null, (0, _wordpress_i18n.__)("What's New", "elementor")) : ""), /*#__PURE__*/ react.default.createElement(ConnectionButton, null)));
999 - }
774 +module.exports = function(isValidElement, throwOnDirectAccess) {
775 + /* global Symbol */
776 + var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
777 + var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
1000 778
1001 -//#endregion
1002 -//#region modules/admin-top-bar/assets/js/admin.js
1003 - var AppWrapper = elementorCommon.config.isDebug ? react.default.StrictMode : react.default.Fragment;
1004 - var adminTopBarElement = document.getElementById("e-admin-top-bar-root");
1005 - react_default.render(/*#__PURE__*/ react.default.createElement(AppWrapper, null, /*#__PURE__*/ react.default.createElement(AdminTopBar, null)), adminTopBarElement);
779 + /**
780 + * Returns the iterator method function contained on the iterable object.
781 + *
782 + * Be sure to invoke the function with the iterable as context:
783 + *
784 + * var iteratorFn = getIteratorFn(myIterable);
785 + * if (iteratorFn) {
786 + * var iterator = iteratorFn.call(myIterable);
787 + * ...
788 + * }
789 + *
790 + * @param {?object} maybeIterable
791 + * @return {?function}
792 + */
793 + function getIteratorFn(maybeIterable) {
794 + var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
795 + if (typeof iteratorFn === 'function') {
796 + return iteratorFn;
797 + }
798 + }
1006 799
1007 -//#endregion
1008 -})(React, ReactDOM, wp.i18n);
800 + /**
801 + * Collection of methods that allow declaration and validation of props that are
802 + * supplied to React components. Example usage:
803 + *
804 + * var Props = require('ReactPropTypes');
805 + * var MyArticle = React.createClass({
806 + * propTypes: {
807 + * // An optional string prop named "description".
808 + * description: Props.string,
809 + *
810 + * // A required enum prop named "category".
811 + * category: Props.oneOf(['News','Photos']).isRequired,
812 + *
813 + * // A prop named "dialog" that requires an instance of Dialog.
814 + * dialog: Props.instanceOf(Dialog).isRequired
815 + * },
816 + * render: function() { ... }
817 + * });
818 + *
819 + * A more formal specification of how these methods are used:
820 + *
821 + * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
822 + * decl := ReactPropTypes.{type}(.isRequired)?
823 + *
824 + * Each and every declaration produces a function with the same signature. This
825 + * allows the creation of custom validation functions. For example:
826 + *
827 + * var MyLink = React.createClass({
828 + * propTypes: {
829 + * // An optional string or URI prop named "href".
830 + * href: function(props, propName, componentName) {
831 + * var propValue = props[propName];
832 + * if (propValue != null && typeof propValue !== 'string' &&
833 + * !(propValue instanceof URI)) {
834 + * return new Error(
835 + * 'Expected a string or an URI for ' + propName + ' in ' +
836 + * componentName
837 + * );
838 + * }
839 + * }
840 + * },
841 + * render: function() {...}
842 + * });
843 + *
844 + * @internal
845 + */
846 +
847 + var ANONYMOUS = '<<anonymous>>';
848 +
849 + // Important!
850 + // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
851 + var ReactPropTypes = {
852 + array: createPrimitiveTypeChecker('array'),
853 + bigint: createPrimitiveTypeChecker('bigint'),
854 + bool: createPrimitiveTypeChecker('boolean'),
855 + func: createPrimitiveTypeChecker('function'),
856 + number: createPrimitiveTypeChecker('number'),
857 + object: createPrimitiveTypeChecker('object'),
858 + string: createPrimitiveTypeChecker('string'),
859 + symbol: createPrimitiveTypeChecker('symbol'),
860 +
861 + any: createAnyTypeChecker(),
862 + arrayOf: createArrayOfTypeChecker,
863 + element: createElementTypeChecker(),
864 + elementType: createElementTypeTypeChecker(),
865 + instanceOf: createInstanceTypeChecker,
866 + node: createNodeChecker(),
867 + objectOf: createObjectOfTypeChecker,
868 + oneOf: createEnumTypeChecker,
869 + oneOfType: createUnionTypeChecker,
870 + shape: createShapeTypeChecker,
871 + exact: createStrictShapeTypeChecker,
872 + };
873 +
874 + /**
875 + * inlined Object.is polyfill to avoid requiring consumers ship their own
876 + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
877 + */
878 + /*eslint-disable no-self-compare*/
879 + function is(x, y) {
880 + // SameValue algorithm
881 + if (x === y) {
882 + // Steps 1-5, 7-10
883 + // Steps 6.b-6.e: +0 != -0
884 + return x !== 0 || 1 / x === 1 / y;
885 + } else {
886 + // Step 6.a: NaN == NaN
887 + return x !== x && y !== y;
888 + }
889 + }
890 + /*eslint-enable no-self-compare*/
891 +
892 + /**
893 + * We use an Error-like object for backward compatibility as people may call
894 + * PropTypes directly and inspect their output. However, we don't use real
895 + * Errors anymore. We don't inspect their stack anyway, and creating them
896 + * is prohibitively expensive if they are created too often, such as what
897 + * happens in oneOfType() for any type before the one that matched.
898 + */
899 + function PropTypeError(message, data) {
900 + this.message = message;
901 + this.data = data && typeof data === 'object' ? data: {};
902 + this.stack = '';
903 + }
904 + // Make `instanceof Error` still work for returned errors.
905 + PropTypeError.prototype = Error.prototype;
906 +
907 + function createChainableTypeChecker(validate) {
908 + if (true) {
909 + var manualPropTypeCallCache = {};
910 + var manualPropTypeWarningCount = 0;
911 + }
912 + function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
913 + componentName = componentName || ANONYMOUS;
914 + propFullName = propFullName || propName;
915 +
916 + if (secret !== ReactPropTypesSecret) {
917 + if (throwOnDirectAccess) {
918 + // New behavior only for users of `prop-types` package
919 + var err = new Error(
920 + 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
921 + 'Use `PropTypes.checkPropTypes()` to call them. ' +
922 + 'Read more at http://fb.me/use-check-prop-types'
923 + );
924 + err.name = 'Invariant Violation';
925 + throw err;
926 + } else if ( true && typeof console !== 'undefined') {
927 + // Old behavior for people using React.PropTypes
928 + var cacheKey = componentName + ':' + propName;
929 + if (
930 + !manualPropTypeCallCache[cacheKey] &&
931 + // Avoid spamming the console because they are often not actionable except for lib authors
932 + manualPropTypeWarningCount < 3
933 + ) {
934 + printWarning(
935 + 'You are manually calling a React.PropTypes validation ' +
936 + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
937 + 'and will throw in the standalone `prop-types` package. ' +
938 + 'You may be seeing this warning due to a third-party PropTypes ' +
939 + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
940 + );
941 + manualPropTypeCallCache[cacheKey] = true;
942 + manualPropTypeWarningCount++;
943 + }
944 + }
945 + }
946 + if (props[propName] == null) {
947 + if (isRequired) {
948 + if (props[propName] === null) {
949 + return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
950 + }
951 + return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
952 + }
953 + return null;
954 + } else {
955 + return validate(props, propName, componentName, location, propFullName);
956 + }
957 + }
958 +
959 + var chainedCheckType = checkType.bind(null, false);
960 + chainedCheckType.isRequired = checkType.bind(null, true);
961 +
962 + return chainedCheckType;
963 + }
964 +
965 + function createPrimitiveTypeChecker(expectedType) {
966 + function validate(props, propName, componentName, location, propFullName, secret) {
967 + var propValue = props[propName];
968 + var propType = getPropType(propValue);
969 + if (propType !== expectedType) {
970 + // `propValue` being instance of, say, date/regexp, pass the 'object'
971 + // check, but we can offer a more precise error message here rather than
972 + // 'of type `object`'.
973 + var preciseType = getPreciseType(propValue);
974 +
975 + return new PropTypeError(
976 + 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
977 + {expectedType: expectedType}
978 + );
979 + }
980 + return null;
981 + }
982 + return createChainableTypeChecker(validate);
983 + }
984 +
985 + function createAnyTypeChecker() {
986 + return createChainableTypeChecker(emptyFunctionThatReturnsNull);
987 + }
988 +
989 + function createArrayOfTypeChecker(typeChecker) {
990 + function validate(props, propName, componentName, location, propFullName) {
991 + if (typeof typeChecker !== 'function') {
992 + return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
993 + }
994 + var propValue = props[propName];
995 + if (!Array.isArray(propValue)) {
996 + var propType = getPropType(propValue);
997 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
998 + }
999 + for (var i = 0; i < propValue.length; i++) {
1000 + var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
1001 + if (error instanceof Error) {
1002 + return error;
1003 + }
1004 + }
1005 + return null;
1006 + }
1007 + return createChainableTypeChecker(validate);
1008 + }
1009 +
1010 + function createElementTypeChecker() {
1011 + function validate(props, propName, componentName, location, propFullName) {
1012 + var propValue = props[propName];
1013 + if (!isValidElement(propValue)) {
1014 + var propType = getPropType(propValue);
1015 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
1016 + }
1017 + return null;
1018 + }
1019 + return createChainableTypeChecker(validate);
1020 + }
1021 +
1022 + function createElementTypeTypeChecker() {
1023 + function validate(props, propName, componentName, location, propFullName) {
1024 + var propValue = props[propName];
1025 + if (!ReactIs.isValidElementType(propValue)) {
1026 + var propType = getPropType(propValue);
1027 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
1028 + }
1029 + return null;
1030 + }
1031 + return createChainableTypeChecker(validate);
1032 + }
1033 +
1034 + function createInstanceTypeChecker(expectedClass) {
1035 + function validate(props, propName, componentName, location, propFullName) {
1036 + if (!(props[propName] instanceof expectedClass)) {
1037 + var expectedClassName = expectedClass.name || ANONYMOUS;
1038 + var actualClassName = getClassName(props[propName]);
1039 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
1040 + }
1041 + return null;
1042 + }
1043 + return createChainableTypeChecker(validate);
1044 + }
1045 +
1046 + function createEnumTypeChecker(expectedValues) {
1047 + if (!Array.isArray(expectedValues)) {
1048 + if (true) {
1049 + if (arguments.length > 1) {
1050 + printWarning(
1051 + 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
1052 + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
1053 + );
1054 + } else {
1055 + printWarning('Invalid argument supplied to oneOf, expected an array.');
1056 + }
1057 + }
1058 + return emptyFunctionThatReturnsNull;
1059 + }
1060 +
1061 + function validate(props, propName, componentName, location, propFullName) {
1062 + var propValue = props[propName];
1063 + for (var i = 0; i < expectedValues.length; i++) {
1064 + if (is(propValue, expectedValues[i])) {
1065 + return null;
1066 + }
1067 + }
1068 +
1069 + var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
1070 + var type = getPreciseType(value);
1071 + if (type === 'symbol') {
1072 + return String(value);
1073 + }
1074 + return value;
1075 + });
1076 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
1077 + }
1078 + return createChainableTypeChecker(validate);
1079 + }
1080 +
1081 + function createObjectOfTypeChecker(typeChecker) {
1082 + function validate(props, propName, componentName, location, propFullName) {
1083 + if (typeof typeChecker !== 'function') {
1084 + return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
1085 + }
1086 + var propValue = props[propName];
1087 + var propType = getPropType(propValue);
1088 + if (propType !== 'object') {
1089 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
1090 + }
1091 + for (var key in propValue) {
1092 + if (has(propValue, key)) {
1093 + var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1094 + if (error instanceof Error) {
1095 + return error;
1096 + }
1097 + }
1098 + }
1099 + return null;
1100 + }
1101 + return createChainableTypeChecker(validate);
1102 + }
1103 +
1104 + function createUnionTypeChecker(arrayOfTypeCheckers) {
1105 + if (!Array.isArray(arrayOfTypeCheckers)) {
1106 + true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;
1107 + return emptyFunctionThatReturnsNull;
1108 + }
1109 +
1110 + for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1111 + var checker = arrayOfTypeCheckers[i];
1112 + if (typeof checker !== 'function') {
1113 + printWarning(
1114 + 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
1115 + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
1116 + );
1117 + return emptyFunctionThatReturnsNull;
1118 + }
1119 + }
1120 +
1121 + function validate(props, propName, componentName, location, propFullName) {
1122 + var expectedTypes = [];
1123 + for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1124 + var checker = arrayOfTypeCheckers[i];
1125 + var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
1126 + if (checkerResult == null) {
1127 + return null;
1128 + }
1129 + if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
1130 + expectedTypes.push(checkerResult.data.expectedType);
1131 + }
1132 + }
1133 + var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
1134 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
1135 + }
1136 + return createChainableTypeChecker(validate);
1137 + }
1138 +
1139 + function createNodeChecker() {
1140 + function validate(props, propName, componentName, location, propFullName) {
1141 + if (!isNode(props[propName])) {
1142 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
1143 + }
1144 + return null;
1145 + }
1146 + return createChainableTypeChecker(validate);
1147 + }
1148 +
1149 + function invalidValidatorError(componentName, location, propFullName, key, type) {
1150 + return new PropTypeError(
1151 + (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
1152 + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
1153 + );
1154 + }
1155 +
1156 + function createShapeTypeChecker(shapeTypes) {
1157 + function validate(props, propName, componentName, location, propFullName) {
1158 + var propValue = props[propName];
1159 + var propType = getPropType(propValue);
1160 + if (propType !== 'object') {
1161 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1162 + }
1163 + for (var key in shapeTypes) {
1164 + var checker = shapeTypes[key];
1165 + if (typeof checker !== 'function') {
1166 + return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1167 + }
1168 + var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1169 + if (error) {
1170 + return error;
1171 + }
1172 + }
1173 + return null;
1174 + }
1175 + return createChainableTypeChecker(validate);
1176 + }
1177 +
1178 + function createStrictShapeTypeChecker(shapeTypes) {
1179 + function validate(props, propName, componentName, location, propFullName) {
1180 + var propValue = props[propName];
1181 + var propType = getPropType(propValue);
1182 + if (propType !== 'object') {
1183 + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1184 + }
1185 + // We need to check all keys in case some are required but missing from props.
1186 + var allKeys = assign({}, props[propName], shapeTypes);
1187 + for (var key in allKeys) {
1188 + var checker = shapeTypes[key];
1189 + if (has(shapeTypes, key) && typeof checker !== 'function') {
1190 + return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1191 + }
1192 + if (!checker) {
1193 + return new PropTypeError(
1194 + 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
1195 + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
1196 + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
1197 + );
1198 + }
1199 + var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1200 + if (error) {
1201 + return error;
1202 + }
1203 + }
1204 + return null;
1205 + }
1206 +
1207 + return createChainableTypeChecker(validate);
1208 + }
1209 +
1210 + function isNode(propValue) {
1211 + switch (typeof propValue) {
1212 + case 'number':
1213 + case 'string':
1214 + case 'undefined':
1215 + return true;
1216 + case 'boolean':
1217 + return !propValue;
1218 + case 'object':
1219 + if (Array.isArray(propValue)) {
1220 + return propValue.every(isNode);
1221 + }
1222 + if (propValue === null || isValidElement(propValue)) {
1223 + return true;
1224 + }
1225 +
1226 + var iteratorFn = getIteratorFn(propValue);
1227 + if (iteratorFn) {
1228 + var iterator = iteratorFn.call(propValue);
1229 + var step;
1230 + if (iteratorFn !== propValue.entries) {
1231 + while (!(step = iterator.next()).done) {
1232 + if (!isNode(step.value)) {
1233 + return false;
1234 + }
1235 + }
1236 + } else {
1237 + // Iterator will provide entry [k,v] tuples rather than values.
1238 + while (!(step = iterator.next()).done) {
1239 + var entry = step.value;
1240 + if (entry) {
1241 + if (!isNode(entry[1])) {
1242 + return false;
1243 + }
1244 + }
1245 + }
1246 + }
1247 + } else {
1248 + return false;
1249 + }
1250 +
1251 + return true;
1252 + default:
1253 + return false;
1254 + }
1255 + }
1256 +
1257 + function isSymbol(propType, propValue) {
1258 + // Native Symbol.
1259 + if (propType === 'symbol') {
1260 + return true;
1261 + }
1262 +
1263 + // falsy value can't be a Symbol
1264 + if (!propValue) {
1265 + return false;
1266 + }
1267 +
1268 + // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
1269 + if (propValue['@@toStringTag'] === 'Symbol') {
1270 + return true;
1271 + }
1272 +
1273 + // Fallback for non-spec compliant Symbols which are polyfilled.
1274 + if (typeof Symbol === 'function' && propValue instanceof Symbol) {
1275 + return true;
1276 + }
1277 +
1278 + return false;
1279 + }
1280 +
1281 + // Equivalent of `typeof` but with special handling for array and regexp.
1282 + function getPropType(propValue) {
1283 + var propType = typeof propValue;
1284 + if (Array.isArray(propValue)) {
1285 + return 'array';
1286 + }
1287 + if (propValue instanceof RegExp) {
1288 + // Old webkits (at least until Android 4.0) return 'function' rather than
1289 + // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
1290 + // passes PropTypes.object.
1291 + return 'object';
1292 + }
1293 + if (isSymbol(propType, propValue)) {
1294 + return 'symbol';
1295 + }
1296 + return propType;
1297 + }
1298 +
1299 + // This handles more types than `getPropType`. Only used for error messages.
1300 + // See `createPrimitiveTypeChecker`.
1301 + function getPreciseType(propValue) {
1302 + if (typeof propValue === 'undefined' || propValue === null) {
1303 + return '' + propValue;
1304 + }
1305 + var propType = getPropType(propValue);
1306 + if (propType === 'object') {
1307 + if (propValue instanceof Date) {
1308 + return 'date';
1309 + } else if (propValue instanceof RegExp) {
1310 + return 'regexp';
1311 + }
1312 + }
1313 + return propType;
1314 + }
1315 +
1316 + // Returns a string that is postfixed to a warning about an invalid type.
1317 + // For example, "undefined" or "of type array"
1318 + function getPostfixForTypeWarning(value) {
1319 + var type = getPreciseType(value);
1320 + switch (type) {
1321 + case 'array':
1322 + case 'object':
1323 + return 'an ' + type;
1324 + case 'boolean':
1325 + case 'date':
1326 + case 'regexp':
1327 + return 'a ' + type;
1328 + default:
1329 + return type;
1330 + }
1331 + }
1332 +
1333 + // Returns class name of the object, if any.
1334 + function getClassName(propValue) {
1335 + if (!propValue.constructor || !propValue.constructor.name) {
1336 + return ANONYMOUS;
1337 + }
1338 + return propValue.constructor.name;
1339 + }
1340 +
1341 + ReactPropTypes.checkPropTypes = checkPropTypes;
1342 + ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1343 + ReactPropTypes.PropTypes = ReactPropTypes;
1344 +
1345 + return ReactPropTypes;
1346 +};
1347 +
1348 +
1349 +/***/ }),
1350 +
1351 +/***/ "../node_modules/prop-types/index.js":
1352 +/*!*******************************************!*\
1353 + !*** ../node_modules/prop-types/index.js ***!
1354 + \*******************************************/
1355 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1356 +
1357 +/**
1358 + * Copyright (c) 2013-present, Facebook, Inc.
1359 + *
1360 + * This source code is licensed under the MIT license found in the
1361 + * LICENSE file in the root directory of this source tree.
1362 + */
1363 +
1364 +if (true) {
1365 + var ReactIs = __webpack_require__(/*! react-is */ "../node_modules/prop-types/node_modules/react-is/index.js");
1366 +
1367 + // By explicitly using `prop-types` you are opting into new development behavior.
1368 + // http://fb.me/prop-types-in-prod
1369 + var throwOnDirectAccess = true;
1370 + module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "../node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess);
1371 +} else // removed by dead control flow
1372 +{}
1373 +
1374 +
1375 +/***/ }),
1376 +
1377 +/***/ "../node_modules/prop-types/lib/ReactPropTypesSecret.js":
1378 +/*!**************************************************************!*\
1379 + !*** ../node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
1380 + \**************************************************************/
1381 +/***/ ((module) => {
1382 +
1383 +"use strict";
1384 +/**
1385 + * Copyright (c) 2013-present, Facebook, Inc.
1386 + *
1387 + * This source code is licensed under the MIT license found in the
1388 + * LICENSE file in the root directory of this source tree.
1389 + */
1390 +
1391 +
1392 +
1393 +var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
1394 +
1395 +module.exports = ReactPropTypesSecret;
1396 +
1397 +
1398 +/***/ }),
1399 +
1400 +/***/ "../node_modules/prop-types/lib/has.js":
1401 +/*!*********************************************!*\
1402 + !*** ../node_modules/prop-types/lib/has.js ***!
1403 + \*********************************************/
1404 +/***/ ((module) => {
1405 +
1406 +module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
1407 +
1408 +
1409 +/***/ }),
1410 +
1411 +/***/ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js":
1412 +/*!************************************************************************************!*\
1413 + !*** ../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js ***!
1414 + \************************************************************************************/
1415 +/***/ ((__unused_webpack_module, exports) => {
1416 +
1417 +"use strict";
1418 +/** @license React v16.13.1
1419 + * react-is.development.js
1420 + *
1421 + * Copyright (c) Facebook, Inc. and its affiliates.
1422 + *
1423 + * This source code is licensed under the MIT license found in the
1424 + * LICENSE file in the root directory of this source tree.
1425 + */
1426 +
1427 +
1428 +
1429 +
1430 +
1431 +if (true) {
1432 + (function() {
1433 +'use strict';
1434 +
1435 +// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1436 +// nor polyfill, then a plain number is used for performance.
1437 +var hasSymbol = typeof Symbol === 'function' && Symbol.for;
1438 +var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
1439 +var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
1440 +var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
1441 +var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
1442 +var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
1443 +var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
1444 +var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
1445 +// (unstable) APIs that have been removed. Can we remove the symbols?
1446 +
1447 +var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
1448 +var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
1449 +var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
1450 +var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
1451 +var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
1452 +var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
1453 +var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
1454 +var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
1455 +var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
1456 +var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
1457 +var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
1458 +
1459 +function isValidElementType(type) {
1460 + return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1461 + type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
1462 +}
1463 +
1464 +function typeOf(object) {
1465 + if (typeof object === 'object' && object !== null) {
1466 + var $$typeof = object.$$typeof;
1467 +
1468 + switch ($$typeof) {
1469 + case REACT_ELEMENT_TYPE:
1470 + var type = object.type;
1471 +
1472 + switch (type) {
1473 + case REACT_ASYNC_MODE_TYPE:
1474 + case REACT_CONCURRENT_MODE_TYPE:
1475 + case REACT_FRAGMENT_TYPE:
1476 + case REACT_PROFILER_TYPE:
1477 + case REACT_STRICT_MODE_TYPE:
1478 + case REACT_SUSPENSE_TYPE:
1479 + return type;
1480 +
1481 + default:
1482 + var $$typeofType = type && type.$$typeof;
1483 +
1484 + switch ($$typeofType) {
1485 + case REACT_CONTEXT_TYPE:
1486 + case REACT_FORWARD_REF_TYPE:
1487 + case REACT_LAZY_TYPE:
1488 + case REACT_MEMO_TYPE:
1489 + case REACT_PROVIDER_TYPE:
1490 + return $$typeofType;
1491 +
1492 + default:
1493 + return $$typeof;
1494 + }
1495 +
1496 + }
1497 +
1498 + case REACT_PORTAL_TYPE:
1499 + return $$typeof;
1500 + }
1501 + }
1502 +
1503 + return undefined;
1504 +} // AsyncMode is deprecated along with isAsyncMode
1505 +
1506 +var AsyncMode = REACT_ASYNC_MODE_TYPE;
1507 +var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1508 +var ContextConsumer = REACT_CONTEXT_TYPE;
1509 +var ContextProvider = REACT_PROVIDER_TYPE;
1510 +var Element = REACT_ELEMENT_TYPE;
1511 +var ForwardRef = REACT_FORWARD_REF_TYPE;
1512 +var Fragment = REACT_FRAGMENT_TYPE;
1513 +var Lazy = REACT_LAZY_TYPE;
1514 +var Memo = REACT_MEMO_TYPE;
1515 +var Portal = REACT_PORTAL_TYPE;
1516 +var Profiler = REACT_PROFILER_TYPE;
1517 +var StrictMode = REACT_STRICT_MODE_TYPE;
1518 +var Suspense = REACT_SUSPENSE_TYPE;
1519 +var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
1520 +
1521 +function isAsyncMode(object) {
1522 + {
1523 + if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1524 + hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
1525 +
1526 + console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
1527 + }
1528 + }
1529 +
1530 + return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1531 +}
1532 +function isConcurrentMode(object) {
1533 + return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1534 +}
1535 +function isContextConsumer(object) {
1536 + return typeOf(object) === REACT_CONTEXT_TYPE;
1537 +}
1538 +function isContextProvider(object) {
1539 + return typeOf(object) === REACT_PROVIDER_TYPE;
1540 +}
1541 +function isElement(object) {
1542 + return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1543 +}
1544 +function isForwardRef(object) {
1545 + return typeOf(object) === REACT_FORWARD_REF_TYPE;
1546 +}
1547 +function isFragment(object) {
1548 + return typeOf(object) === REACT_FRAGMENT_TYPE;
1549 +}
1550 +function isLazy(object) {
1551 + return typeOf(object) === REACT_LAZY_TYPE;
1552 +}
1553 +function isMemo(object) {
1554 + return typeOf(object) === REACT_MEMO_TYPE;
1555 +}
1556 +function isPortal(object) {
1557 + return typeOf(object) === REACT_PORTAL_TYPE;
1558 +}
1559 +function isProfiler(object) {
1560 + return typeOf(object) === REACT_PROFILER_TYPE;
1561 +}
1562 +function isStrictMode(object) {
1563 + return typeOf(object) === REACT_STRICT_MODE_TYPE;
1564 +}
1565 +function isSuspense(object) {
1566 + return typeOf(object) === REACT_SUSPENSE_TYPE;
1567 +}
1568 +
1569 +exports.AsyncMode = AsyncMode;
1570 +exports.ConcurrentMode = ConcurrentMode;
1571 +exports.ContextConsumer = ContextConsumer;
1572 +exports.ContextProvider = ContextProvider;
1573 +exports.Element = Element;
1574 +exports.ForwardRef = ForwardRef;
1575 +exports.Fragment = Fragment;
1576 +exports.Lazy = Lazy;
1577 +exports.Memo = Memo;
1578 +exports.Portal = Portal;
1579 +exports.Profiler = Profiler;
1580 +exports.StrictMode = StrictMode;
1581 +exports.Suspense = Suspense;
1582 +exports.isAsyncMode = isAsyncMode;
1583 +exports.isConcurrentMode = isConcurrentMode;
1584 +exports.isContextConsumer = isContextConsumer;
1585 +exports.isContextProvider = isContextProvider;
1586 +exports.isElement = isElement;
1587 +exports.isForwardRef = isForwardRef;
1588 +exports.isFragment = isFragment;
1589 +exports.isLazy = isLazy;
1590 +exports.isMemo = isMemo;
1591 +exports.isPortal = isPortal;
1592 +exports.isProfiler = isProfiler;
1593 +exports.isStrictMode = isStrictMode;
1594 +exports.isSuspense = isSuspense;
1595 +exports.isValidElementType = isValidElementType;
1596 +exports.typeOf = typeOf;
1597 + })();
1598 +}
1599 +
1600 +
1601 +/***/ }),
1602 +
1603 +/***/ "../node_modules/prop-types/node_modules/react-is/index.js":
1604 +/*!*****************************************************************!*\
1605 + !*** ../node_modules/prop-types/node_modules/react-is/index.js ***!
1606 + \*****************************************************************/
1607 +/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1608 +
1609 +"use strict";
1610 +
1611 +
1612 +if (false) // removed by dead control flow
1613 +{} else {
1614 + module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js");
1615 +}
1616 +
1617 +
1618 +/***/ }),
1619 +
1620 +/***/ "../node_modules/react-dom/client.js":
1621 +/*!*******************************************!*\
1622 + !*** ../node_modules/react-dom/client.js ***!
1623 + \*******************************************/
1624 +/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1625 +
1626 +"use strict";
1627 +
1628 +
1629 +var m = __webpack_require__(/*! react-dom */ "react-dom");
1630 +if (false) // removed by dead control flow
1631 +{} else {
1632 + var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1633 + exports.createRoot = function(c, o) {
1634 + i.usingClientEntryPoint = true;
1635 + try {
1636 + return m.createRoot(c, o);
1637 + } finally {
1638 + i.usingClientEntryPoint = false;
1639 + }
1640 + };
1641 + exports.hydrateRoot = function(c, h, o) {
1642 + i.usingClientEntryPoint = true;
1643 + try {
1644 + return m.hydrateRoot(c, h, o);
1645 + } finally {
1646 + i.usingClientEntryPoint = false;
1647 + }
1648 + };
1649 +}
1650 +
1651 +
1652 +/***/ }),
1653 +
1654 +/***/ "@wordpress/i18n":
1655 +/*!**************************!*\
1656 + !*** external "wp.i18n" ***!
1657 + \**************************/
1658 +/***/ ((module) => {
1659 +
1660 +"use strict";
1661 +module.exports = wp.i18n;
1662 +
1663 +/***/ }),
1664 +
1665 +/***/ "react":
1666 +/*!************************!*\
1667 + !*** external "React" ***!
1668 + \************************/
1669 +/***/ ((module) => {
1670 +
1671 +"use strict";
1672 +module.exports = React;
1673 +
1674 +/***/ }),
1675 +
1676 +/***/ "react-dom":
1677 +/*!***************************!*\
1678 + !*** external "ReactDOM" ***!
1679 + \***************************/
1680 +/***/ ((module) => {
1681 +
1682 +"use strict";
1683 +module.exports = ReactDOM;
1684 +
1685 +/***/ })
1686 +
1687 +/******/ });
1688 +/************************************************************************/
1689 +/******/ // The module cache
1690 +/******/ var __webpack_module_cache__ = {};
1691 +/******/
1692 +/******/ // The require function
1693 +/******/ function __webpack_require__(moduleId) {
1694 +/******/ // Check if module is in cache
1695 +/******/ var cachedModule = __webpack_module_cache__[moduleId];
1696 +/******/ if (cachedModule !== undefined) {
1697 +/******/ return cachedModule.exports;
1698 +/******/ }
1699 +/******/ // Create a new module (and put it into the cache)
1700 +/******/ var module = __webpack_module_cache__[moduleId] = {
1701 +/******/ // no module.id needed
1702 +/******/ // no module.loaded needed
1703 +/******/ exports: {}
1704 +/******/ };
1705 +/******/
1706 +/******/ // Execute the module function
1707 +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1708 +/******/
1709 +/******/ // Return the exports of the module
1710 +/******/ return module.exports;
1711 +/******/ }
1712 +/******/
1713 +/************************************************************************/
1714 +var __webpack_exports__ = {};
1715 +// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
1716 +(() => {
1717 +"use strict";
1718 +/*!***************************************************!*\
1719 + !*** ../modules/admin-top-bar/assets/js/admin.js ***!
1720 + \***************************************************/
1721 +
1722 +
1723 +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js");
1724 +var _react = _interopRequireDefault(__webpack_require__(/*! react */ "react"));
1725 +var _react2 = _interopRequireDefault(__webpack_require__(/*! elementor-utils/react */ "../assets/dev/js/utils/react.js"));
1726 +var _adminTopBar = _interopRequireDefault(__webpack_require__(/*! ./admin-top-bar */ "../modules/admin-top-bar/assets/js/admin-top-bar.js"));
1727 +var AppWrapper = elementorCommon.config.isDebug ? _react.default.StrictMode : _react.default.Fragment;
1728 +var adminTopBarElement = document.getElementById('e-admin-top-bar-root');
1729 +_react2.default.render(/*#__PURE__*/_react.default.createElement(AppWrapper, null, /*#__PURE__*/_react.default.createElement(_adminTopBar.default, null)), adminTopBarElement);
1730 +})();
1731 +
1732 +/******/ })()
1733 +;
1009 1734 //# sourceMappingURL=admin-top-bar.js.map