| @@ -1,391 +1,8 @@ | ||
| 1 | +/*! elementor - v3.28.0 - 03-03-2025 */ | |
| 1 | 2 | /******/ (() => { // webpackBootstrap |
| 2 | 3 | /******/ var __webpack_modules__ = ({ |
| 3 | 4 | |
| 4 | -/***/ "../assets/dev/js/editor/utils/editor-one-events.js": | |
| 5 | -/*!**********************************************************!*\ | |
| 6 | - !*** ../assets/dev/js/editor/utils/editor-one-events.js ***! | |
| 7 | - \**********************************************************/ | |
| 8 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 9 | - | |
| 10 | -"use strict"; | |
| 11 | - | |
| 12 | - | |
| 13 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 14 | -Object.defineProperty(exports, "__esModule", ({ | |
| 15 | - value: true | |
| 16 | -})); | |
| 17 | -exports["default"] = exports.createDebouncedWidgetPanelSearch = exports.createDebouncedFinderSearch = exports.EditorOneEventManager = void 0; | |
| 18 | -var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); | |
| 19 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 20 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 21 | -function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | |
| 22 | -function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } | |
| 23 | -var EditorOneEventManager = exports.EditorOneEventManager = /*#__PURE__*/function () { | |
| 24 | - function EditorOneEventManager() { | |
| 25 | - (0, _classCallCheck2.default)(this, EditorOneEventManager); | |
| 26 | - } | |
| 27 | - return (0, _createClass2.default)(EditorOneEventManager, null, [{ | |
| 28 | - key: "getEventsManager", | |
| 29 | - value: function getEventsManager() { | |
| 30 | - var _elementorCommon; | |
| 31 | - return (_elementorCommon = elementorCommon) === null || _elementorCommon === void 0 ? void 0 : _elementorCommon.eventsManager; | |
| 32 | - } | |
| 33 | - }, { | |
| 34 | - key: "getConfig", | |
| 35 | - value: function getConfig() { | |
| 36 | - var _this$getEventsManage; | |
| 37 | - return (_this$getEventsManage = this.getEventsManager()) === null || _this$getEventsManage === void 0 ? void 0 : _this$getEventsManage.config; | |
| 38 | - } | |
| 39 | - }, { | |
| 40 | - key: "canSendEvents", | |
| 41 | - value: function canSendEvents() { | |
| 42 | - var _elementorCommon2; | |
| 43 | - return ((_elementorCommon2 = elementorCommon) === null || _elementorCommon2 === void 0 || (_elementorCommon2 = _elementorCommon2.config) === null || _elementorCommon2 === void 0 || (_elementorCommon2 = _elementorCommon2.editor_events) === null || _elementorCommon2 === void 0 ? void 0 : _elementorCommon2.can_send_events) || false; | |
| 44 | - } | |
| 45 | - }, { | |
| 46 | - key: "isEventsManagerAvailable", | |
| 47 | - value: function isEventsManagerAvailable() { | |
| 48 | - var eventsManager = this.getEventsManager(); | |
| 49 | - return eventsManager && 'function' === typeof eventsManager.dispatchEvent; | |
| 50 | - } | |
| 51 | - }, { | |
| 52 | - key: "dispatchEvent", | |
| 53 | - value: function dispatchEvent(eventName, payload) { | |
| 54 | - if (!this.isEventsManagerAvailable() || !this.canSendEvents()) { | |
| 55 | - return false; | |
| 56 | - } | |
| 57 | - try { | |
| 58 | - return this.getEventsManager().dispatchEvent(eventName, payload); | |
| 59 | - } catch (error) { | |
| 60 | - return false; | |
| 61 | - } | |
| 62 | - } | |
| 63 | - }, { | |
| 64 | - key: "toLowerSnake", | |
| 65 | - value: function toLowerSnake(value) { | |
| 66 | - if (!value || 'string' !== typeof value) { | |
| 67 | - return value; | |
| 68 | - } | |
| 69 | - return value.replace(/\s+/g, '_').toLowerCase(); | |
| 70 | - } | |
| 71 | - }, { | |
| 72 | - key: "decodeHtmlEntities", | |
| 73 | - value: function decodeHtmlEntities(text) { | |
| 74 | - if (!text || 'string' !== typeof text) { | |
| 75 | - return text; | |
| 76 | - } | |
| 77 | - var doc = new DOMParser().parseFromString(text, 'text/html'); | |
| 78 | - return doc.body.textContent || text; | |
| 79 | - } | |
| 80 | - }, { | |
| 81 | - key: "isInEditorContext", | |
| 82 | - value: function isInEditorContext() { | |
| 83 | - var _window$elementor; | |
| 84 | - return 'undefined' !== typeof window.elementor && !!((_window$elementor = window.elementor) !== null && _window$elementor !== void 0 && _window$elementor.documents); | |
| 85 | - } | |
| 86 | - }, { | |
| 87 | - key: "getFinderContext", | |
| 88 | - value: function getFinderContext() { | |
| 89 | - var _config$appTypes, _config$appTypes2, _config$locations, _config$locations2; | |
| 90 | - var config = this.getConfig(); | |
| 91 | - var isEditor = this.isInEditorContext(); | |
| 92 | - return { | |
| 93 | - windowName: isEditor ? config === null || config === void 0 || (_config$appTypes = config.appTypes) === null || _config$appTypes === void 0 ? void 0 : _config$appTypes.editor : config === null || config === void 0 || (_config$appTypes2 = config.appTypes) === null || _config$appTypes2 === void 0 ? void 0 : _config$appTypes2.wpAdmin, | |
| 94 | - targetLocation: this.toLowerSnake(isEditor ? config === null || config === void 0 || (_config$locations = config.locations) === null || _config$locations === void 0 ? void 0 : _config$locations.topBar : config === null || config === void 0 || (_config$locations2 = config.locations) === null || _config$locations2 === void 0 ? void 0 : _config$locations2.sidebar) | |
| 95 | - }; | |
| 96 | - } | |
| 97 | - }, { | |
| 98 | - key: "createBasePayload", | |
| 99 | - value: function createBasePayload() { | |
| 100 | - var _config$appTypes$edit, _config$appTypes3, _config$appTypes$edit2, _config$appTypes4; | |
| 101 | - var overrides = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | |
| 102 | - var config = this.getConfig(); | |
| 103 | - return _objectSpread({ | |
| 104 | - app_type: (_config$appTypes$edit = config === null || config === void 0 || (_config$appTypes3 = config.appTypes) === null || _config$appTypes3 === void 0 ? void 0 : _config$appTypes3.editor) !== null && _config$appTypes$edit !== void 0 ? _config$appTypes$edit : 'editor', | |
| 105 | - window_name: (_config$appTypes$edit2 = config === null || config === void 0 || (_config$appTypes4 = config.appTypes) === null || _config$appTypes4 === void 0 ? void 0 : _config$appTypes4.editor) !== null && _config$appTypes$edit2 !== void 0 ? _config$appTypes$edit2 : 'editor' | |
| 106 | - }, overrides); | |
| 107 | - } | |
| 108 | - }, { | |
| 109 | - key: "sendTopBarPublishDropdown", | |
| 110 | - value: function sendTopBarPublishDropdown(targetName) { | |
| 111 | - var _config$names, _config$triggers, _config$targetTypes, _config$interactionRe, _config$locations3, _config$secondaryLoca, _config$targetTypes2; | |
| 112 | - var config = this.getConfig(); | |
| 113 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names = config.names) === null || _config$names === void 0 || (_config$names = _config$names.editorOne) === null || _config$names === void 0 ? void 0 : _config$names.topBarPublishDropdown, this.createBasePayload({ | |
| 114 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers = config.triggers) === null || _config$triggers === void 0 ? void 0 : _config$triggers.click), | |
| 115 | - target_type: config === null || config === void 0 || (_config$targetTypes = config.targetTypes) === null || _config$targetTypes === void 0 ? void 0 : _config$targetTypes.dropdownItem, | |
| 116 | - target_name: targetName, | |
| 117 | - interaction_result: config === null || config === void 0 || (_config$interactionRe = config.interactionResults) === null || _config$interactionRe === void 0 ? void 0 : _config$interactionRe.actionSelected, | |
| 118 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations3 = config.locations) === null || _config$locations3 === void 0 ? void 0 : _config$locations3.topBar), | |
| 119 | - location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca = config.secondaryLocations) === null || _config$secondaryLoca === void 0 ? void 0 : _config$secondaryLoca.publishDropdown), | |
| 120 | - location_l2: config === null || config === void 0 || (_config$targetTypes2 = config.targetTypes) === null || _config$targetTypes2 === void 0 ? void 0 : _config$targetTypes2.dropdownItem, | |
| 121 | - interaction_description: 'User selected an action from the publish dropdown' | |
| 122 | - })); | |
| 123 | - } | |
| 124 | - }, { | |
| 125 | - key: "sendTopBarPageList", | |
| 126 | - value: function sendTopBarPageList(targetName) { | |
| 127 | - var _config$names2, _config$triggers2, _config$targetTypes3, _config$interactionRe2, _config$interactionRe3, _config$locations4, _config$secondaryLoca2, _config$targetTypes4; | |
| 128 | - var isCreate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; | |
| 129 | - var config = this.getConfig(); | |
| 130 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names2 = config.names) === null || _config$names2 === void 0 || (_config$names2 = _config$names2.editorOne) === null || _config$names2 === void 0 ? void 0 : _config$names2.topBarPageList, this.createBasePayload({ | |
| 131 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers2 = config.triggers) === null || _config$triggers2 === void 0 ? void 0 : _config$triggers2.click), | |
| 132 | - target_type: config === null || config === void 0 || (_config$targetTypes3 = config.targetTypes) === null || _config$targetTypes3 === void 0 ? void 0 : _config$targetTypes3.dropdownItem, | |
| 133 | - target_name: targetName, | |
| 134 | - interaction_result: isCreate ? config === null || config === void 0 || (_config$interactionRe2 = config.interactionResults) === null || _config$interactionRe2 === void 0 ? void 0 : _config$interactionRe2.create : config === null || config === void 0 || (_config$interactionRe3 = config.interactionResults) === null || _config$interactionRe3 === void 0 ? void 0 : _config$interactionRe3.navigate, | |
| 135 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations4 = config.locations) === null || _config$locations4 === void 0 ? void 0 : _config$locations4.topBar), | |
| 136 | - location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca2 = config.secondaryLocations) === null || _config$secondaryLoca2 === void 0 ? void 0 : _config$secondaryLoca2.pageListDropdown), | |
| 137 | - location_l2: config === null || config === void 0 || (_config$targetTypes4 = config.targetTypes) === null || _config$targetTypes4 === void 0 ? void 0 : _config$targetTypes4.dropdownItem, | |
| 138 | - interaction_description: 'User selected an action from the page list dropdown' | |
| 139 | - })); | |
| 140 | - } | |
| 141 | - }, { | |
| 142 | - key: "sendSiteSettingsSession", | |
| 143 | - value: function sendSiteSettingsSession(_ref) { | |
| 144 | - var _config$names3, _config$triggers3, _config$interactionRe4, _config$locations5, _config$secondaryLoca3; | |
| 145 | - var targetType = _ref.targetType, | |
| 146 | - _ref$visitedItems = _ref.visitedItems, | |
| 147 | - visitedItems = _ref$visitedItems === void 0 ? [] : _ref$visitedItems, | |
| 148 | - _ref$savedItems = _ref.savedItems, | |
| 149 | - savedItems = _ref$savedItems === void 0 ? [] : _ref$savedItems, | |
| 150 | - state = _ref.state; | |
| 151 | - var config = this.getConfig(); | |
| 152 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names3 = config.names) === null || _config$names3 === void 0 || (_config$names3 = _config$names3.editorOne) === null || _config$names3 === void 0 ? void 0 : _config$names3.siteSettingsSession, this.createBasePayload({ | |
| 153 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers3 = config.triggers) === null || _config$triggers3 === void 0 ? void 0 : _config$triggers3.click), | |
| 154 | - target_type: targetType, | |
| 155 | - target_name: 'site_settings', | |
| 156 | - interaction_result: config === null || config === void 0 || (_config$interactionRe4 = config.interactionResults) === null || _config$interactionRe4 === void 0 ? void 0 : _config$interactionRe4.sessionEnd, | |
| 157 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations5 = config.locations) === null || _config$locations5 === void 0 ? void 0 : _config$locations5.leftPanel), | |
| 158 | - location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca3 = config.secondaryLocations) === null || _config$secondaryLoca3 === void 0 ? void 0 : _config$secondaryLoca3.siteSettings), | |
| 159 | - interaction_description: 'Records areas visited as part of the site setting session', | |
| 160 | - metadata: { | |
| 161 | - visited_items: visitedItems, | |
| 162 | - saved_items: savedItems | |
| 163 | - }, | |
| 164 | - state: state | |
| 165 | - })); | |
| 166 | - } | |
| 167 | - }, { | |
| 168 | - key: "sendELibraryNav", | |
| 169 | - value: function sendELibraryNav(tabName) { | |
| 170 | - var _config$names4, _config$triggers4, _config$targetTypes5, _config$interactionRe5, _config$locations6, _config$secondaryLoca4; | |
| 171 | - var config = this.getConfig(); | |
| 172 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names4 = config.names) === null || _config$names4 === void 0 || (_config$names4 = _config$names4.editorOne) === null || _config$names4 === void 0 ? void 0 : _config$names4.eLibraryNav, this.createBasePayload({ | |
| 173 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers4 = config.triggers) === null || _config$triggers4 === void 0 ? void 0 : _config$triggers4.tabSelect), | |
| 174 | - target_type: config === null || config === void 0 || (_config$targetTypes5 = config.targetTypes) === null || _config$targetTypes5 === void 0 ? void 0 : _config$targetTypes5.tab, | |
| 175 | - target_name: this.toLowerSnake(tabName), | |
| 176 | - interaction_result: config === null || config === void 0 || (_config$interactionRe5 = config.interactionResults) === null || _config$interactionRe5 === void 0 ? void 0 : _config$interactionRe5.tabChanged, | |
| 177 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations6 = config.locations) === null || _config$locations6 === void 0 ? void 0 : _config$locations6.elementorLibrary), | |
| 178 | - location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca4 = config.secondaryLocations) === null || _config$secondaryLoca4 === void 0 ? void 0 : _config$secondaryLoca4.libraryTabs), | |
| 179 | - interaction_description: 'User navigates within elementor library' | |
| 180 | - })); | |
| 181 | - } | |
| 182 | - }, { | |
| 183 | - key: "sendELibraryInsert", | |
| 184 | - value: function sendELibraryInsert(_ref2) { | |
| 185 | - var _config$triggers5, _config$targetTypes6, _config$interactionRe6, _config$locations7, _config$secondaryLoca5, _config$names5; | |
| 186 | - var assetId = _ref2.assetId, | |
| 187 | - assetName = _ref2.assetName, | |
| 188 | - libraryType = _ref2.libraryType, | |
| 189 | - _ref2$proRequired = _ref2.proRequired, | |
| 190 | - proRequired = _ref2$proRequired === void 0 ? false : _ref2$proRequired; | |
| 191 | - var config = this.getConfig(); | |
| 192 | - var payload = this.createBasePayload({ | |
| 193 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers5 = config.triggers) === null || _config$triggers5 === void 0 ? void 0 : _config$triggers5.insert), | |
| 194 | - target_type: config === null || config === void 0 || (_config$targetTypes6 = config.targetTypes) === null || _config$targetTypes6 === void 0 ? void 0 : _config$targetTypes6.button, | |
| 195 | - target_name: String(assetId), | |
| 196 | - interaction_result: config === null || config === void 0 || (_config$interactionRe6 = config.interactionResults) === null || _config$interactionRe6 === void 0 ? void 0 : _config$interactionRe6.assetInserted, | |
| 197 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations7 = config.locations) === null || _config$locations7 === void 0 ? void 0 : _config$locations7.elementorLibrary), | |
| 198 | - location_l1: this.toLowerSnake(libraryType), | |
| 199 | - location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca5 = config.secondaryLocations) === null || _config$secondaryLoca5 === void 0 ? void 0 : _config$secondaryLoca5.assetCard), | |
| 200 | - interaction_description: 'User inserts block/pages from elementor library', | |
| 201 | - metadata: { | |
| 202 | - template_id: String(assetId), | |
| 203 | - template_name: this.decodeHtmlEntities(assetName) || '' | |
| 204 | - } | |
| 205 | - }); | |
| 206 | - if (proRequired) { | |
| 207 | - payload.state = 'pro_plan_required'; | |
| 208 | - } | |
| 209 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names5 = config.names) === null || _config$names5 === void 0 || (_config$names5 = _config$names5.editorOne) === null || _config$names5 === void 0 ? void 0 : _config$names5.eLibraryInsert, payload); | |
| 210 | - } | |
| 211 | - }, { | |
| 212 | - key: "sendELibraryFavorite", | |
| 213 | - value: function sendELibraryFavorite(_ref3) { | |
| 214 | - var _config$triggers6, _config$targetTypes7, _config$interactionRe7, _config$locations8, _config$secondaryLoca6, _config$names6; | |
| 215 | - var assetId = _ref3.assetId, | |
| 216 | - assetName = _ref3.assetName, | |
| 217 | - libraryType = _ref3.libraryType, | |
| 218 | - isFavorite = _ref3.isFavorite, | |
| 219 | - _ref3$proRequired = _ref3.proRequired, | |
| 220 | - proRequired = _ref3$proRequired === void 0 ? false : _ref3$proRequired; | |
| 221 | - var config = this.getConfig(); | |
| 222 | - var payload = this.createBasePayload({ | |
| 223 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers6 = config.triggers) === null || _config$triggers6 === void 0 ? void 0 : _config$triggers6.click), | |
| 224 | - target_type: config === null || config === void 0 || (_config$targetTypes7 = config.targetTypes) === null || _config$targetTypes7 === void 0 ? void 0 : _config$targetTypes7.toggle, | |
| 225 | - target_name: String(assetId), | |
| 226 | - interaction_result: config === null || config === void 0 || (_config$interactionRe7 = config.interactionResults) === null || _config$interactionRe7 === void 0 ? void 0 : _config$interactionRe7.assetFavorite, | |
| 227 | - target_value: Boolean(isFavorite), | |
| 228 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations8 = config.locations) === null || _config$locations8 === void 0 ? void 0 : _config$locations8.elementorLibrary), | |
| 229 | - location_l1: this.toLowerSnake(libraryType), | |
| 230 | - location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca6 = config.secondaryLocations) === null || _config$secondaryLoca6 === void 0 ? void 0 : _config$secondaryLoca6.assetCard), | |
| 231 | - interaction_description: 'User favorite block/pages from elementor library', | |
| 232 | - metadata: { | |
| 233 | - template_id: String(assetId), | |
| 234 | - template_name: this.decodeHtmlEntities(assetName) || '' | |
| 235 | - } | |
| 236 | - }); | |
| 237 | - if (proRequired) { | |
| 238 | - payload.state = 'pro_plan_required'; | |
| 239 | - } | |
| 240 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names6 = config.names) === null || _config$names6 === void 0 || (_config$names6 = _config$names6.editorOne) === null || _config$names6 === void 0 ? void 0 : _config$names6.eLibraryFavorite, payload); | |
| 241 | - } | |
| 242 | - }, { | |
| 243 | - key: "sendELibraryGenerateAi", | |
| 244 | - value: function sendELibraryGenerateAi(_ref4) { | |
| 245 | - var _config$names7, _config$triggers7, _config$targetTypes8, _config$interactionRe8, _config$locations9, _config$secondaryLoca7; | |
| 246 | - var assetId = _ref4.assetId, | |
| 247 | - assetName = _ref4.assetName, | |
| 248 | - libraryType = _ref4.libraryType; | |
| 249 | - var config = this.getConfig(); | |
| 250 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names7 = config.names) === null || _config$names7 === void 0 || (_config$names7 = _config$names7.editorOne) === null || _config$names7 === void 0 ? void 0 : _config$names7.eLibraryGenerateAi, this.createBasePayload({ | |
| 251 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers7 = config.triggers) === null || _config$triggers7 === void 0 ? void 0 : _config$triggers7.click), | |
| 252 | - target_type: config === null || config === void 0 || (_config$targetTypes8 = config.targetTypes) === null || _config$targetTypes8 === void 0 ? void 0 : _config$targetTypes8.button, | |
| 253 | - target_name: String(assetId), | |
| 254 | - interaction_result: config === null || config === void 0 || (_config$interactionRe8 = config.interactionResults) === null || _config$interactionRe8 === void 0 ? void 0 : _config$interactionRe8.aiGenerate, | |
| 255 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations9 = config.locations) === null || _config$locations9 === void 0 ? void 0 : _config$locations9.elementorLibrary), | |
| 256 | - location_l1: this.toLowerSnake(libraryType), | |
| 257 | - location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca7 = config.secondaryLocations) === null || _config$secondaryLoca7 === void 0 ? void 0 : _config$secondaryLoca7.assetCard), | |
| 258 | - interaction_description: 'User generated block/page based on a library asset', | |
| 259 | - metadata: { | |
| 260 | - template_id: String(assetId), | |
| 261 | - template_name: this.decodeHtmlEntities(assetName) || '' | |
| 262 | - } | |
| 263 | - })); | |
| 264 | - } | |
| 265 | - }, { | |
| 266 | - key: "sendFinderSearchInput", | |
| 267 | - value: function sendFinderSearchInput(_ref5) { | |
| 268 | - var _config$triggers8, _config$targetTypes9, _config$interactionRe9, _config$interactionRe0, _config$secondaryLoca8, _config$names8; | |
| 269 | - var resultsCount = _ref5.resultsCount, | |
| 270 | - _ref5$searchTerm = _ref5.searchTerm, | |
| 271 | - searchTerm = _ref5$searchTerm === void 0 ? null : _ref5$searchTerm; | |
| 272 | - var config = this.getConfig(); | |
| 273 | - var hasResults = resultsCount > 0; | |
| 274 | - var finderContext = this.getFinderContext(); | |
| 275 | - var payload = this.createBasePayload({ | |
| 276 | - window_name: finderContext.windowName, | |
| 277 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers8 = config.triggers) === null || _config$triggers8 === void 0 ? void 0 : _config$triggers8.typing), | |
| 278 | - target_type: config === null || config === void 0 || (_config$targetTypes9 = config.targetTypes) === null || _config$targetTypes9 === void 0 ? void 0 : _config$targetTypes9.searchInput, | |
| 279 | - target_name: 'finder', | |
| 280 | - interaction_result: hasResults ? config === null || config === void 0 || (_config$interactionRe9 = config.interactionResults) === null || _config$interactionRe9 === void 0 ? void 0 : _config$interactionRe9.resultsUpdated : config === null || config === void 0 || (_config$interactionRe0 = config.interactionResults) === null || _config$interactionRe0 === void 0 ? void 0 : _config$interactionRe0.noResults, | |
| 281 | - target_location: finderContext.targetLocation, | |
| 282 | - location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca8 = config.secondaryLocations) === null || _config$secondaryLoca8 === void 0 ? void 0 : _config$secondaryLoca8.finder), | |
| 283 | - interaction_description: 'Finder search input, follows debounce behavior', | |
| 284 | - metadata: { | |
| 285 | - results_count: resultsCount | |
| 286 | - } | |
| 287 | - }); | |
| 288 | - if (!hasResults && searchTerm) { | |
| 289 | - payload.metadata.search_term = searchTerm; | |
| 290 | - } | |
| 291 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names8 = config.names) === null || _config$names8 === void 0 || (_config$names8 = _config$names8.editorOne) === null || _config$names8 === void 0 ? void 0 : _config$names8.finderSearchInput, payload); | |
| 292 | - } | |
| 293 | - }, { | |
| 294 | - key: "sendFinderResultSelect", | |
| 295 | - value: function sendFinderResultSelect(choice) { | |
| 296 | - var _config$names9, _config$triggers9, _config$targetTypes0, _config$interactionRe1, _config$secondaryLoca9, _config$secondaryLoca0; | |
| 297 | - var config = this.getConfig(); | |
| 298 | - var finderContext = this.getFinderContext(); | |
| 299 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names9 = config.names) === null || _config$names9 === void 0 || (_config$names9 = _config$names9.editorOne) === null || _config$names9 === void 0 ? void 0 : _config$names9.finderResultSelect, this.createBasePayload({ | |
| 300 | - window_name: finderContext.windowName, | |
| 301 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers9 = config.triggers) === null || _config$triggers9 === void 0 ? void 0 : _config$triggers9.click), | |
| 302 | - target_type: config === null || config === void 0 || (_config$targetTypes0 = config.targetTypes) === null || _config$targetTypes0 === void 0 ? void 0 : _config$targetTypes0.searchResult, | |
| 303 | - target_name: choice, | |
| 304 | - interaction_result: config === null || config === void 0 || (_config$interactionRe1 = config.interactionResults) === null || _config$interactionRe1 === void 0 ? void 0 : _config$interactionRe1.selected, | |
| 305 | - target_location: finderContext.targetLocation, | |
| 306 | - location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca9 = config.secondaryLocations) === null || _config$secondaryLoca9 === void 0 ? void 0 : _config$secondaryLoca9.finder), | |
| 307 | - location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca0 = config.secondaryLocations) === null || _config$secondaryLoca0 === void 0 ? void 0 : _config$secondaryLoca0.finderResults), | |
| 308 | - interaction_description: 'Finder search results was selected' | |
| 309 | - })); | |
| 310 | - } | |
| 311 | - }, { | |
| 312 | - key: "sendCanvasEmptyBoxAction", | |
| 313 | - value: function sendCanvasEmptyBoxAction(_ref6) { | |
| 314 | - var _config$triggers0, _config$targetTypes1, _config$interactionRe10, _config$locations0, _config$secondaryLoca1, _config$names0; | |
| 315 | - var targetName = _ref6.targetName, | |
| 316 | - _ref6$metadata = _ref6.metadata, | |
| 317 | - metadata = _ref6$metadata === void 0 ? {} : _ref6$metadata, | |
| 318 | - _ref6$containerCreate = _ref6.containerCreated, | |
| 319 | - containerCreated = _ref6$containerCreate === void 0 ? null : _ref6$containerCreate; | |
| 320 | - var config = this.getConfig(); | |
| 321 | - var payload = this.createBasePayload({ | |
| 322 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers0 = config.triggers) === null || _config$triggers0 === void 0 ? void 0 : _config$triggers0.click), | |
| 323 | - target_type: config === null || config === void 0 || (_config$targetTypes1 = config.targetTypes) === null || _config$targetTypes1 === void 0 ? void 0 : _config$targetTypes1.buttons, | |
| 324 | - target_name: targetName, | |
| 325 | - interaction_result: config === null || config === void 0 || (_config$interactionRe10 = config.interactionResults) === null || _config$interactionRe10 === void 0 ? void 0 : _config$interactionRe10.selected, | |
| 326 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations0 = config.locations) === null || _config$locations0 === void 0 ? void 0 : _config$locations0.canvas), | |
| 327 | - location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca1 = config.secondaryLocations) === null || _config$secondaryLoca1 === void 0 ? void 0 : _config$secondaryLoca1.emptyBox), | |
| 328 | - interaction_description: 'Empty box on canvas actions' | |
| 329 | - }); | |
| 330 | - if (Object.keys(metadata).length > 0) { | |
| 331 | - payload.metadata = metadata; | |
| 332 | - } | |
| 333 | - if (containerCreated !== null) { | |
| 334 | - payload.state = containerCreated; | |
| 335 | - } | |
| 336 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names0 = config.names) === null || _config$names0 === void 0 || (_config$names0 = _config$names0.editorOne) === null || _config$names0 === void 0 ? void 0 : _config$names0.canvasEmptyBoxAction, payload); | |
| 337 | - } | |
| 338 | - }, { | |
| 339 | - key: "sendWidgetPanelSearch", | |
| 340 | - value: function sendWidgetPanelSearch(_ref7) { | |
| 341 | - var _config$triggers1, _config$targetTypes10, _config$interactionRe11, _config$interactionRe12, _config$locations1, _config$locations10, _config$secondaryLoca10, _config$names1; | |
| 342 | - var resultsCount = _ref7.resultsCount, | |
| 343 | - _ref7$userInput = _ref7.userInput, | |
| 344 | - userInput = _ref7$userInput === void 0 ? null : _ref7$userInput; | |
| 345 | - var config = this.getConfig(); | |
| 346 | - var hasResults = resultsCount > 0; | |
| 347 | - var payload = this.createBasePayload({ | |
| 348 | - interaction_type: this.toLowerSnake(config === null || config === void 0 || (_config$triggers1 = config.triggers) === null || _config$triggers1 === void 0 ? void 0 : _config$triggers1.typing), | |
| 349 | - target_type: config === null || config === void 0 || (_config$targetTypes10 = config.targetTypes) === null || _config$targetTypes10 === void 0 ? void 0 : _config$targetTypes10.searchWidget, | |
| 350 | - target_name: 'search_widget', | |
| 351 | - interaction_result: hasResults ? config === null || config === void 0 || (_config$interactionRe11 = config.interactionResults) === null || _config$interactionRe11 === void 0 ? void 0 : _config$interactionRe11.resultsUpdated : config === null || config === void 0 || (_config$interactionRe12 = config.interactionResults) === null || _config$interactionRe12 === void 0 ? void 0 : _config$interactionRe12.noResults, | |
| 352 | - target_location: this.toLowerSnake(config === null || config === void 0 || (_config$locations1 = config.locations) === null || _config$locations1 === void 0 ? void 0 : _config$locations1.leftPanel), | |
| 353 | - location_l1: this.toLowerSnake(config === null || config === void 0 || (_config$locations10 = config.locations) === null || _config$locations10 === void 0 ? void 0 : _config$locations10.widgetPanel), | |
| 354 | - location_l2: this.toLowerSnake(config === null || config === void 0 || (_config$secondaryLoca10 = config.secondaryLocations) === null || _config$secondaryLoca10 === void 0 ? void 0 : _config$secondaryLoca10.searchBar), | |
| 355 | - interaction_description: 'Widget search input, follows debounce behavior' | |
| 356 | - }); | |
| 357 | - if (!hasResults && userInput) { | |
| 358 | - payload.metadata = { | |
| 359 | - user_input: userInput | |
| 360 | - }; | |
| 361 | - } | |
| 362 | - return this.dispatchEvent(config === null || config === void 0 || (_config$names1 = config.names) === null || _config$names1 === void 0 || (_config$names1 = _config$names1.editorOne) === null || _config$names1 === void 0 ? void 0 : _config$names1.widgetPanelSearch, payload); | |
| 363 | - } | |
| 364 | - }]); | |
| 365 | -}(); | |
| 366 | -var createDebouncedFinderSearch = exports.createDebouncedFinderSearch = function createDebouncedFinderSearch() { | |
| 367 | - var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 300; | |
| 368 | - return _.debounce(function (resultsCount, searchTerm) { | |
| 369 | - EditorOneEventManager.sendFinderSearchInput({ | |
| 370 | - resultsCount: resultsCount, | |
| 371 | - searchTerm: searchTerm | |
| 372 | - }); | |
| 373 | - }, delay); | |
| 374 | -}; | |
| 375 | -var createDebouncedWidgetPanelSearch = exports.createDebouncedWidgetPanelSearch = function createDebouncedWidgetPanelSearch() { | |
| 376 | - var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 2000; | |
| 377 | - return _.debounce(function (resultsCount, userInput) { | |
| 378 | - EditorOneEventManager.sendWidgetPanelSearch({ | |
| 379 | - resultsCount: resultsCount, | |
| 380 | - userInput: userInput | |
| 381 | - }); | |
| 382 | - }, delay); | |
| 383 | -}; | |
| 384 | -var _default = exports["default"] = EditorOneEventManager; | |
| 385 | - | |
| 386 | -/***/ }), | |
| 387 | - | |
| 388 | 5 | /***/ "../assets/dev/js/utils/react.js": |
| 389 | 6 | /*!***************************************!*\ |
| 390 | 7 | !*** ../assets/dev/js/utils/react.js ***! |
| 391 | 8 | \***************************************/ |
| @@ -401,9 +18,10 @@ | ||
| 401 | 18 | exports["default"] = void 0; |
| 402 | 19 | var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); |
| 403 | 20 | var ReactDOM = _interopRequireWildcard(__webpack_require__(/*! react-dom */ "react-dom")); |
| 404 | 21 | var _client = __webpack_require__(/*! react-dom/client */ "../node_modules/react-dom/client.js"); |
| 405 | -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 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 23 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 406 | 24 | /** |
| 407 | 25 | * Support conditional rendering of a React App to the DOM, based on the React version. |
| 408 | 26 | * We use `createRoot` when available, but fallback to `ReactDOM.render` for older versions. |
| 409 | 27 | * |
| @@ -460,9 +78,8 @@ | ||
| 460 | 78 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 461 | 79 | var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 462 | 80 | var _editorIntegration = __webpack_require__(/*! ./utils/editor-integration */ "../modules/ai/assets/js/editor/utils/editor-integration.js"); |
| 463 | 81 | var _config = __webpack_require__(/*! ./pages/form-layout/context/config */ "../modules/ai/assets/js/editor/pages/form-layout/context/config.js"); |
| 464 | -var _editorOneEvents = __webpack_require__(/*! elementor-editor-utils/editor-one-events */ "../assets/dev/js/editor/utils/editor-one-events.js"); | |
| 465 | 82 | function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } |
| 466 | 83 | function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } |
| 467 | 84 | var AiLayoutBehavior = exports["default"] = /*#__PURE__*/function (_Marionette$Behavior) { |
| 468 | 85 | function AiLayoutBehavior() { |
| @@ -494,11 +111,8 @@ | ||
| 494 | 111 | }, { |
| 495 | 112 | key: "onAiButtonClick", |
| 496 | 113 | value: function onAiButtonClick(e) { |
| 497 | 114 | e.stopPropagation(); |
| 498 | - _editorOneEvents.EditorOneEventManager.sendCanvasEmptyBoxAction({ | |
| 499 | - targetName: 'generate_with_ai' | |
| 500 | - }); | |
| 501 | 115 | window.elementorAiCurrentContext = this.getOption('context'); |
| 502 | 116 | (0, _editorIntegration.renderLayoutApp)({ |
| 503 | 117 | parentContainer: elementor.getPreviewContainer(), |
| 504 | 118 | mode: _config.MODE_LAYOUT, |
| @@ -557,9 +171,9 @@ | ||
| 557 | 171 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 558 | 172 | Object.defineProperty(exports, "__esModule", ({ |
| 559 | 173 | value: true |
| 560 | 174 | })); |
| 561 | -exports.uploadImage = exports.toggleFavoriteHistoryItem = exports.setStatusFeedback = exports.setGetStarted = exports.getUserInformation = exports.getTextToImageGeneration = exports.getRemoteFrontendConfig = exports.getRemoteConfig = exports.getProductImageUnification = exports.getLayoutPromptEnhanced = exports.getImageToImageUpscale = exports.getImageToImageReplaceBackground = exports.getImageToImageRemoveText = exports.getImageToImageRemoveBackground = exports.getImageToImageOutPainting = exports.getImageToImageMaskGeneration = exports.getImageToImageMaskCleanup = exports.getImageToImageIsolateObjects = exports.getImageToImageGeneration = exports.getImagePromptEnhanced = exports.getHistory = exports.getFeaturedImage = exports.getExcerpt = exports.getEditText = exports.getCustomCode = exports.getCustomCSS = exports.getCompletionText = exports.getAnimation = exports.generateLayout = exports.deleteHistoryItem = void 0; | |
| 175 | +exports.uploadImage = exports.toggleFavoriteHistoryItem = exports.setStatusFeedback = exports.setGetStarted = exports.getUserInformation = exports.getTextToImageGeneration = exports.getRemoteFrontendConfig = exports.getRemoteConfig = exports.getProductImageUnification = exports.getLayoutPromptEnhanced = exports.getImageToImageUpscale = exports.getImageToImageReplaceBackground = exports.getImageToImageRemoveText = exports.getImageToImageRemoveBackground = exports.getImageToImageOutPainting = exports.getImageToImageMaskGeneration = exports.getImageToImageMaskCleanup = exports.getImageToImageGeneration = exports.getImagePromptEnhanced = exports.getHistory = exports.getFeaturedImage = exports.getExcerpt = exports.getEditText = exports.getCustomCode = exports.getCustomCSS = exports.getCompletionText = exports.getAnimation = exports.generateLayout = exports.deleteHistoryItem = void 0; | |
| 562 | 176 | var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); |
| 563 | 177 | function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } |
| 564 | 178 | function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } |
| 565 | 179 | var request = function request(endpoint) { |
| @@ -668,13 +282,8 @@ | ||
| 668 | 282 | return request('ai_get_image_to_image_remove_background', { |
| 669 | 283 | payload: payload |
| 670 | 284 | }); |
| 671 | 285 | }; |
| 672 | -var getImageToImageIsolateObjects = exports.getImageToImageIsolateObjects = function getImageToImageIsolateObjects(payload) { | |
| 673 | - return request('ai_get_image_to_image_isolate_objects', { | |
| 674 | - payload: payload | |
| 675 | - }); | |
| 676 | -}; | |
| 677 | 286 | var getImageToImageReplaceBackground = exports.getImageToImageReplaceBackground = function getImageToImageReplaceBackground(payload) { |
| 678 | 287 | return request('ai_get_image_to_image_replace_background', { |
| 679 | 288 | payload: payload |
| 680 | 289 | }); |
| @@ -767,9 +376,10 @@ | ||
| 767 | 376 | var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); |
| 768 | 377 | var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); |
| 769 | 378 | var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 770 | 379 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 771 | -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); } | |
| 380 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 381 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 772 | 382 | var AlertDialog = exports.AlertDialog = function AlertDialog(props) { |
| 773 | 383 | var _useState = (0, _react.useState)(true), |
| 774 | 384 | _useState2 = (0, _slicedToArray2.default)(_useState, 2), |
| 775 | 385 | isShown = _useState2[0], |
| @@ -850,11 +460,8 @@ | ||
| 850 | 460 | } |
| 851 | 461 | }; |
| 852 | 462 | }); |
| 853 | 463 | var DialogHeader = function DialogHeader(props) { |
| 854 | - var hideAiBetaLogo = props.hideAiBetaLogo, | |
| 855 | - onClose = props.onClose, | |
| 856 | - children = props.children; | |
| 857 | 464 | return /*#__PURE__*/_react.default.createElement(_ui.AppBar, { |
| 858 | 465 | sx: { |
| 859 | 466 | fontWeight: 'normal' |
| 860 | 467 | }, |
| @@ -861,9 +468,9 @@ | ||
| 861 | 468 | color: "transparent", |
| 862 | 469 | position: "relative" |
| 863 | 470 | }, /*#__PURE__*/_react.default.createElement(_ui.Toolbar, { |
| 864 | 471 | variant: "dense" |
| 865 | - }, !hideAiBetaLogo && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(StyledElementorLogo, { | |
| 472 | + }, /*#__PURE__*/_react.default.createElement(StyledElementorLogo, { | |
| 866 | 473 | sx: { |
| 867 | 474 | mr: 1 |
| 868 | 475 | } |
| 869 | 476 | }), /*#__PURE__*/_react.default.createElement(_ui.Typography, { |
| @@ -879,19 +486,19 @@ | ||
| 879 | 486 | size: "small", |
| 880 | 487 | sx: { |
| 881 | 488 | ml: 1 |
| 882 | 489 | } |
| 883 | - })), /*#__PURE__*/_react.default.createElement(_ui.Stack, { | |
| 490 | + }), /*#__PURE__*/_react.default.createElement(_ui.Stack, { | |
| 884 | 491 | direction: "row", |
| 885 | 492 | spacing: 1, |
| 886 | 493 | alignItems: "center", |
| 887 | 494 | sx: { |
| 888 | - ml: hideAiBetaLogo ? 0 : 'auto' | |
| 495 | + ml: 'auto' | |
| 889 | 496 | } |
| 890 | - }, children, /*#__PURE__*/_react.default.createElement(_ui.IconButton, { | |
| 497 | + }, props.children, /*#__PURE__*/_react.default.createElement(_ui.IconButton, { | |
| 891 | 498 | size: "small", |
| 892 | 499 | "aria-label": "close", |
| 893 | - onClick: onClose, | |
| 500 | + onClick: props.onClose, | |
| 894 | 501 | sx: { |
| 895 | 502 | '&.MuiButtonBase-root': { |
| 896 | 503 | mr: -1 |
| 897 | 504 | } |
| @@ -899,9 +506,8 @@ | ||
| 899 | 506 | }, /*#__PURE__*/_react.default.createElement(_icons.XIcon, null))))); |
| 900 | 507 | }; |
| 901 | 508 | DialogHeader.propTypes = { |
| 902 | 509 | onClose: _propTypes.default.func.isRequired, |
| 903 | - hideAiBetaLogo: _propTypes.default.bool, | |
| 904 | 510 | children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.node), _propTypes.default.node]) |
| 905 | 511 | }; |
| 906 | 512 | var _default = exports["default"] = DialogHeader; |
| 907 | 513 | |
| @@ -985,9 +591,10 @@ | ||
| 985 | 591 | var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); |
| 986 | 592 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 987 | 593 | var _reactDraggable = _interopRequireDefault(__webpack_require__(/*! react-draggable */ "../node_modules/react-draggable/build/cjs/cjs.js")); |
| 988 | 594 | var _dialogHeader = _interopRequireDefault(__webpack_require__(/*! ./dialog-header */ "../modules/ai/assets/js/editor/components/dialog-header.js")); |
| 989 | -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); } | |
| 595 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 596 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 990 | 597 | function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } |
| 991 | 598 | function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } |
| 992 | 599 | var DraggablePaper = function DraggablePaper(props) { |
| 993 | 600 | var _useState = (0, _react.useState)({ |
| @@ -1292,9 +899,10 @@ | ||
| 1292 | 899 | var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); |
| 1293 | 900 | var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 1294 | 901 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 1295 | 902 | var _icons = __webpack_require__(/*! @elementor/icons */ "@elementor/icons"); |
| 1296 | -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); } | |
| 903 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 904 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 1297 | 905 | var popoverId = 'e-ai-upgrade-popover'; |
| 1298 | 906 | var StyledContent = (0, _ui.styled)(_ui.Paper)(function (_ref) { |
| 1299 | 907 | var theme = _ref.theme; |
| 1300 | 908 | return { |
| @@ -1597,9 +1205,10 @@ | ||
| 1597 | 1205 | exports.useRequestIds = exports.getUniqueId = void 0; |
| 1598 | 1206 | var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); |
| 1599 | 1207 | var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); |
| 1600 | 1208 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 1601 | -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); } | |
| 1209 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 1210 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 1602 | 1211 | var Context = (0, _react.createContext)({}); |
| 1603 | 1212 | var useRequestIds = exports.useRequestIds = function useRequestIds() { |
| 1604 | 1213 | var context = (0, _react.useContext)(Context); |
| 1605 | 1214 | if (!context) { |
| @@ -1841,9 +1450,9 @@ | ||
| 1841 | 1450 | updateUsagePercentage = _useRequestIds.updateUsagePercentage, |
| 1842 | 1451 | usagePercentage = _useRequestIds.usagePercentage; |
| 1843 | 1452 | var send = (0, _react.useRef)(/*#__PURE__*/function () { |
| 1844 | 1453 | var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee(payload) { |
| 1845 | - return _regenerator.default.wrap(function (_context) { | |
| 1454 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 1846 | 1455 | while (1) switch (_context.prev = _context.next) { |
| 1847 | 1456 | case 0: |
| 1848 | 1457 | return _context.abrupt("return", payload); |
| 1849 | 1458 | case 1: |
| @@ -1870,9 +1479,9 @@ | ||
| 1870 | 1479 | generateId = _useRequestIds2.generateId, |
| 1871 | 1480 | batchId = _useRequestIds2.batchId; |
| 1872 | 1481 | send.current = (0, _react.useCallback)(/*#__PURE__*/function () { |
| 1873 | 1482 | var _ref3 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2(payload) { |
| 1874 | - return _regenerator.default.wrap(function (_context2) { | |
| 1483 | + return _regenerator.default.wrap(function _callee2$(_context2) { | |
| 1875 | 1484 | while (1) switch (_context2.prev = _context2.next) { |
| 1876 | 1485 | case 0: |
| 1877 | 1486 | return _context2.abrupt("return", new Promise(function (resolve, reject) { |
| 1878 | 1487 | setError(''); |
| @@ -2038,15 +1647,15 @@ | ||
| 2038 | 1647 | var usagePercentage = userInfo.usage.quota ? userInfo.usage.usedQuota / userInfo.usage.quota * 100 : 0; |
| 2039 | 1648 | var fetchData = /*#__PURE__*/function () { |
| 2040 | 1649 | var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() { |
| 2041 | 1650 | var userInfoResult; |
| 2042 | - return _regenerator.default.wrap(function (_context) { | |
| 1651 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 2043 | 1652 | while (1) switch (_context.prev = _context.next) { |
| 2044 | 1653 | case 0: |
| 2045 | 1654 | setIsLoading(true); |
| 2046 | - _context.next = 1; | |
| 1655 | + _context.next = 3; | |
| 2047 | 1656 | return (0, _api.getUserInformation)(immediately); |
| 2048 | - case 1: | |
| 1657 | + case 3: | |
| 2049 | 1658 | userInfoResult = _context.sent; |
| 2050 | 1659 | setUserInfo(function (prevState) { |
| 2051 | 1660 | return _objectSpread(_objectSpread({}, prevState), userInfoResult); |
| 2052 | 1661 | }); |
| @@ -2051,9 +1660,9 @@ | ||
| 2051 | 1660 | return _objectSpread(_objectSpread({}, prevState), userInfoResult); |
| 2052 | 1661 | }); |
| 2053 | 1662 | setIsLoaded(true); |
| 2054 | 1663 | setIsLoading(false); |
| 2055 | - case 2: | |
| 1664 | + case 7: | |
| 2056 | 1665 | case "end": |
| 2057 | 1666 | return _context.stop(); |
| 2058 | 1667 | } |
| 2059 | 1668 | }, _callee); |
| @@ -2531,10 +2140,8 @@ | ||
| 2531 | 2140 | __ = _require3.__; |
| 2532 | 2141 | var _require4 = __webpack_require__(/*! ../../pages/form-layout/components/attachments */ "../modules/ai/assets/js/editor/pages/form-layout/components/attachments.js"), |
| 2533 | 2142 | ATTACHMENT_TYPE_JSON = _require4.ATTACHMENT_TYPE_JSON, |
| 2534 | 2143 | ELEMENTOR_LIBRARY_SOURCE = _require4.ELEMENTOR_LIBRARY_SOURCE; |
| 2535 | -var _require5 = __webpack_require__(/*! elementor-editor-utils/editor-one-events */ "../assets/dev/js/editor/utils/editor-one-events.js"), | |
| 2536 | - EditorOneEventManager = _require5.EditorOneEventManager; | |
| 2537 | 2144 | var ApplyTemplateForAiBehavior; |
| 2538 | 2145 | ApplyTemplateForAiBehavior = Marionette.Behavior.extend({ |
| 2539 | 2146 | ui: { |
| 2540 | 2147 | applyButton: '.elementor-template-library-template-apply-ai', |
| @@ -2543,21 +2150,13 @@ | ||
| 2543 | 2150 | events: { |
| 2544 | 2151 | 'click @ui.applyButton': 'onApplyButtonClick', |
| 2545 | 2152 | 'click @ui.generateVariation': 'onGenerateVariationClick' |
| 2546 | 2153 | }, |
| 2547 | - trackAiGenerate: function trackAiGenerate(model) { | |
| 2548 | - EditorOneEventManager.sendELibraryGenerateAi({ | |
| 2549 | - assetId: model.get('template_id'), | |
| 2550 | - assetName: model.get('title'), | |
| 2551 | - libraryType: model.get('type') || model.get('source') | |
| 2552 | - }); | |
| 2553 | - }, | |
| 2554 | 2154 | onGenerateVariationClick: function onGenerateVariationClick() { |
| 2555 | 2155 | var _libraryComponent$man; |
| 2556 | 2156 | var args = { |
| 2557 | 2157 | model: this.view.model |
| 2558 | 2158 | }; |
| 2559 | - this.trackAiGenerate(this.view.model); | |
| 2560 | 2159 | var libraryComponent = $e.components.get('library'); |
| 2561 | 2160 | var at = (_libraryComponent$man = libraryComponent.manager.modalConfig) === null || _libraryComponent$man === void 0 || (_libraryComponent$man = _libraryComponent$man.importOptions) === null || _libraryComponent$man === void 0 ? void 0 : _libraryComponent$man.at; |
| 2562 | 2161 | libraryComponent.downloadTemplate(args, function (data) { |
| 2563 | 2162 | var model = args.model; |
| @@ -2588,20 +2187,10 @@ | ||
| 2588 | 2187 | onApplyButtonClick: function onApplyButtonClick() { |
| 2589 | 2188 | var args = { |
| 2590 | 2189 | model: this.view.model |
| 2591 | 2190 | }; |
| 2592 | - this.trackAiGenerate(this.view.model); | |
| 2593 | 2191 | this.ui.applyButton.addClass('elementor-disabled'); |
| 2594 | - var activeSource = args.model.get('source'); | |
| 2595 | - | |
| 2596 | - /** | |
| 2597 | - * Filter template source. | |
| 2598 | - * | |
| 2599 | - * @param bool isRemote - If `true` the source is a remote source. | |
| 2600 | - * @param string activeSource - The current template source. | |
| 2601 | - */ | |
| 2602 | - var isRemote = elementor.hooks.applyFilters('templates/source/is-remote', 'remote' === activeSource, activeSource); | |
| 2603 | - if (isRemote && !elementor.config.library_connect.is_connected) { | |
| 2192 | + if ('remote' === args.model.get('source') && !elementor.config.library_connect.is_connected) { | |
| 2604 | 2193 | $e.route('library/connect', args); |
| 2605 | 2194 | return; |
| 2606 | 2195 | } |
| 2607 | 2196 | $e.run('library/generate-ai-variation', args); |
| @@ -2728,9 +2317,10 @@ | ||
| 2728 | 2317 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 2729 | 2318 | var _attachment = __webpack_require__(/*! ./types/attachment */ "../modules/ai/assets/js/editor/types/attachment.js"); |
| 2730 | 2319 | var _config = __webpack_require__(/*! ./pages/form-layout/context/config */ "../modules/ai/assets/js/editor/pages/form-layout/context/config.js"); |
| 2731 | 2320 | var _requestsIds = __webpack_require__(/*! ./context/requests-ids */ "../modules/ai/assets/js/editor/context/requests-ids.js"); |
| 2732 | -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); } | |
| 2321 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 2322 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 2733 | 2323 | var LayoutContent = function LayoutContent(props) { |
| 2734 | 2324 | var _useUserInfo = (0, _useUserInfo2.default)(), |
| 2735 | 2325 | isLoading = _useUserInfo.isLoading, |
| 2736 | 2326 | isConnected = _useUserInfo.isConnected, |
| @@ -2833,9 +2423,10 @@ | ||
| 2833 | 2423 | var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); |
| 2834 | 2424 | var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 2835 | 2425 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 2836 | 2426 | var _icons = __webpack_require__(/*! @elementor/icons */ "@elementor/icons"); |
| 2837 | -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); } | |
| 2427 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 2428 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 2838 | 2429 | var Connect = function Connect(_ref) { |
| 2839 | 2430 | var connectUrl = _ref.connectUrl, |
| 2840 | 2431 | onSuccess = _ref.onSuccess; |
| 2841 | 2432 | var approveButtonRef = (0, _react.useRef)(); |
| @@ -3122,9 +2713,10 @@ | ||
| 3122 | 2713 | var _plusCircleIcon = _interopRequireDefault(__webpack_require__(/*! ../../../../icons/plus-circle-icon */ "../modules/ai/assets/js/editor/icons/plus-circle-icon.js")); |
| 3123 | 2714 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 3124 | 2715 | var _attachDialog = __webpack_require__(/*! ./attach-dialog */ "../modules/ai/assets/js/editor/pages/form-layout/components/attachments/attach-dialog.js"); |
| 3125 | 2716 | var _useIntroduction2 = _interopRequireDefault(__webpack_require__(/*! ../../../../hooks/use-introduction */ "../modules/ai/assets/js/editor/hooks/use-introduction.js")); |
| 3126 | -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); } | |
| 2717 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 2718 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 3127 | 2719 | var Menu = exports.Menu = function Menu(props) { |
| 3128 | 2720 | var _useState = (0, _react.useState)(false), |
| 3129 | 2721 | _useState2 = (0, _slicedToArray2.default)(_useState, 2), |
| 3130 | 2722 | isOpen = _useState2[0], |
| @@ -3417,11 +3009,12 @@ | ||
| 3417 | 3009 | var _taggedTemplateLiteral2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/taggedTemplateLiteral */ "../node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js")); |
| 3418 | 3010 | var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); |
| 3419 | 3011 | var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 3420 | 3012 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 3013 | +var _styledComponents = _interopRequireDefault(__webpack_require__(/*! styled-components */ "../node_modules/styled-components/dist/styled-components.browser.esm.js")); | |
| 3421 | 3014 | var _templateObject; |
| 3422 | 3015 | var THUMBNAIL_SIZE = exports.THUMBNAIL_SIZE = 64; |
| 3423 | -var StyledBody = (0, _ui.styled)('body')(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\thtml, body {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\toverflow: hidden;\n\t}\n\n\tbody > * {\n\t\twidth: 100% !important;\n\t}\n\n\tbody > img {\n\t\theight: 100%;\n\t\tobject-fit: cover;\n\t}\n\n\tbody:has(> img) {\n\t\theight: ", "px\n\t}\n"])), THUMBNAIL_SIZE); | |
| 3016 | +var StyledBody = _styledComponents.default.body(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\thtml, body {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\toverflow: hidden;\n\t}\n\n\tbody > * {\n\t\twidth: 100% !important;\n\t}\n\n\tbody > img {\n\t\theight: 100%;\n\t\tobject-fit: cover;\n\t}\n\n\tbody:has(> img) {\n\t\theight: ", "px\n\t}\n"])), THUMBNAIL_SIZE); | |
| 3424 | 3017 | var Thumbnail = exports.Thumbnail = function Thumbnail(props) { |
| 3425 | 3018 | var _props$html$match, _props$html$match2; |
| 3426 | 3019 | var dataWidth = (_props$html$match = props.html.match('data-width="(?<width>\\d+)"')) === null || _props$html$match === void 0 || (_props$html$match = _props$html$match.groups) === null || _props$html$match === void 0 ? void 0 : _props$html$match.width; |
| 3427 | 3020 | var dataHeight = (_props$html$match2 = props.html.match('data-height="(?<height>\\d+)"')) === null || _props$html$match2 === void 0 || (_props$html$match2 = _props$html$match2.groups) === null || _props$html$match2 === void 0 ? void 0 : _props$html$match2.height; |
| @@ -3493,9 +3086,10 @@ | ||
| 3493 | 3086 | var _attachments = __webpack_require__(/*! ../attachments */ "../modules/ai/assets/js/editor/pages/form-layout/components/attachments.js"); |
| 3494 | 3087 | var _remoteConfig = __webpack_require__(/*! ../../context/remote-config */ "../modules/ai/assets/js/editor/pages/form-layout/context/remote-config.js"); |
| 3495 | 3088 | var _useUserInfo2 = _interopRequireDefault(__webpack_require__(/*! ../../../../hooks/use-user-info */ "../modules/ai/assets/js/editor/hooks/use-user-info.js")); |
| 3496 | 3089 | var _requestsIds = __webpack_require__(/*! ../../../../context/requests-ids */ "../modules/ai/assets/js/editor/context/requests-ids.js"); |
| 3497 | -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); } | |
| 3090 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 3091 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 3498 | 3092 | var UrlDialog = exports.UrlDialog = function UrlDialog(props) { |
| 3499 | 3093 | var _useTimeout = (0, _useTimeout3.useTimeout)(10000), |
| 3500 | 3094 | _useTimeout2 = (0, _slicedToArray2.default)(_useTimeout, 2), |
| 3501 | 3095 | isTimeout = _useTimeout2[0], |
| @@ -3614,9 +3208,10 @@ | ||
| 3614 | 3208 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 3615 | 3209 | var _promptDialog = _interopRequireDefault(__webpack_require__(/*! ../../../components/prompt-dialog */ "../modules/ai/assets/js/editor/components/prompt-dialog.js")); |
| 3616 | 3210 | var _icons = __webpack_require__(/*! @elementor/icons */ "@elementor/icons"); |
| 3617 | 3211 | var _excluded = ["sx", "PaperProps"]; |
| 3618 | -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); } | |
| 3212 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 3213 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 3619 | 3214 | function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } |
| 3620 | 3215 | function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } |
| 3621 | 3216 | var StyledDialog = (0, _ui.styled)(_promptDialog.default)(function () { |
| 3622 | 3217 | return { |
| @@ -3762,9 +3357,10 @@ | ||
| 3762 | 3357 | var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); |
| 3763 | 3358 | var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 3764 | 3359 | var _ui = __webpack_require__(/*! @elementor/ui */ "@elementor/ui"); |
| 3765 | 3360 | var _lockIcon = _interopRequireDefault(__webpack_require__(/*! ../../../icons/lock-icon */ "../modules/ai/assets/js/editor/icons/lock-icon.js")); |
| 3766 | -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); } | |
| 3361 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 3362 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 3767 | 3363 | var popoverId = 'e-pro-upgrade-popover'; |
| 3768 | 3364 | var StyledContent = (0, _ui.styled)(_ui.Paper)(function (_ref) { |
| 3769 | 3365 | var theme = _ref.theme; |
| 3770 | 3366 | return { |
| @@ -3913,9 +3509,10 @@ | ||
| 3913 | 3509 | var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 3914 | 3510 | var _promptLibraryLink = _interopRequireDefault(__webpack_require__(/*! ../../../components/prompt-library-link */ "../modules/ai/assets/js/editor/components/prompt-library-link.js")); |
| 3915 | 3511 | var _config = __webpack_require__(/*! ../context/config */ "../modules/ai/assets/js/editor/pages/form-layout/context/config.js"); |
| 3916 | 3512 | var _excluded = ["onSubmit"]; |
| 3917 | -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); } | |
| 3513 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 3514 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 3918 | 3515 | function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } |
| 3919 | 3516 | function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } |
| 3920 | 3517 | var TextInput = (0, _react.forwardRef)(function (props, ref) { |
| 3921 | 3518 | return /*#__PURE__*/_react.default.createElement(_ui.TextField |
| @@ -4056,9 +3653,10 @@ | ||
| 4056 | 3653 | var _attachments = _interopRequireDefault(__webpack_require__(/*! ./attachments */ "../modules/ai/assets/js/editor/pages/form-layout/components/attachments.js")); |
| 4057 | 3654 | var _config = __webpack_require__(/*! ../context/config */ "../modules/ai/assets/js/editor/pages/form-layout/context/config.js"); |
| 4058 | 3655 | var _attachment = __webpack_require__(/*! ../../../types/attachment */ "../modules/ai/assets/js/editor/types/attachment.js"); |
| 4059 | 3656 | var _excluded = ["tooltip"]; |
| 4060 | -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); } | |
| 3657 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 3658 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 4061 | 3659 | var PROMPT_SUGGESTIONS = Object.freeze([ |
| 4062 | 3660 | // Translators: [Topic] is a placeholder for the user - please translate it as well |
| 4063 | 3661 | { |
| 4064 | 3662 | text: (0, _i18n.__)('Hero section on [topic] with heading, text, buttons on the right, and an image on the left', 'elementor.com') |
| @@ -4606,9 +4204,10 @@ | ||
| 4606 | 4204 | var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "../node_modules/@babel/runtime/helpers/slicedToArray.js")); |
| 4607 | 4205 | var _react = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); |
| 4608 | 4206 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 4609 | 4207 | var _api = __webpack_require__(/*! ../../../api */ "../modules/ai/assets/js/editor/api/index.js"); |
| 4610 | -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 _t2 in e) "default" !== _t2 && {}.hasOwnProperty.call(e, _t2) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t2)) && (i.get || i.set) ? o(f, _t2, i) : f[_t2] = e[_t2]); return f; })(e, t); } | |
| 4208 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 4209 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 4611 | 4210 | var RemoteConfigContext = _react.default.createContext({}); |
| 4612 | 4211 | var useRemoteConfig = exports.useRemoteConfig = function useRemoteConfig() { |
| 4613 | 4212 | return _react.default.useContext(RemoteConfigContext); |
| 4614 | 4213 | }; |
| @@ -4634,42 +4233,42 @@ | ||
| 4634 | 4233 | remoteConfig = _useState8[0], |
| 4635 | 4234 | setRemoteConfig = _useState8[1]; |
| 4636 | 4235 | var fetchData = /*#__PURE__*/function () { |
| 4637 | 4236 | var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() { |
| 4638 | - var result, _t; | |
| 4639 | - return _regenerator.default.wrap(function (_context) { | |
| 4237 | + var result; | |
| 4238 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 4640 | 4239 | while (1) switch (_context.prev = _context.next) { |
| 4641 | 4240 | case 0: |
| 4642 | 4241 | setIsLoading(true); |
| 4643 | 4242 | setIsError(false); |
| 4644 | - _context.prev = 1; | |
| 4645 | - _context.next = 2; | |
| 4243 | + _context.prev = 2; | |
| 4244 | + _context.next = 5; | |
| 4646 | 4245 | return (0, _api.getRemoteConfig)().finally(function () { |
| 4647 | 4246 | setIsLoaded(true); |
| 4648 | 4247 | setIsLoading(false); |
| 4649 | 4248 | }); |
| 4650 | - case 2: | |
| 4249 | + case 5: | |
| 4651 | 4250 | result = _context.sent; |
| 4652 | 4251 | if (result.config) { |
| 4653 | - _context.next = 3; | |
| 4252 | + _context.next = 8; | |
| 4654 | 4253 | break; |
| 4655 | 4254 | } |
| 4656 | 4255 | throw new Error('Invalid remote config'); |
| 4657 | - case 3: | |
| 4256 | + case 8: | |
| 4658 | 4257 | setRemoteConfig(result.config); |
| 4659 | - _context.next = 5; | |
| 4258 | + _context.next = 16; | |
| 4660 | 4259 | break; |
| 4661 | - case 4: | |
| 4662 | - _context.prev = 4; | |
| 4663 | - _t = _context["catch"](1); | |
| 4260 | + case 11: | |
| 4261 | + _context.prev = 11; | |
| 4262 | + _context.t0 = _context["catch"](2); | |
| 4664 | 4263 | setIsError(true); |
| 4665 | 4264 | setIsLoaded(true); |
| 4666 | 4265 | setIsLoading(false); |
| 4667 | - case 5: | |
| 4266 | + case 16: | |
| 4668 | 4267 | case "end": |
| 4669 | 4268 | return _context.stop(); |
| 4670 | 4269 | } |
| 4671 | - }, _callee, null, [[1, 4]]); | |
| 4270 | + }, _callee, null, [[2, 11]]); | |
| 4672 | 4271 | })); |
| 4673 | 4272 | return function fetchData() { |
| 4674 | 4273 | return _ref.apply(this, arguments); |
| 4675 | 4274 | }; |
| @@ -4760,14 +4359,14 @@ | ||
| 4760 | 4359 | setError(ERROR_INITIAL_VALUE); |
| 4761 | 4360 | return layoutData.send(requestBody, signal).then(/*#__PURE__*/function () { |
| 4762 | 4361 | var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee(data) { |
| 4763 | 4362 | var createdScreenshot; |
| 4764 | - return _regenerator.default.wrap(function (_context) { | |
| 4363 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 4765 | 4364 | while (1) switch (_context.prev = _context.next) { |
| 4766 | 4365 | case 0: |
| 4767 | - _context.next = 1; | |
| 4366 | + _context.next = 2; | |
| 4768 | 4367 | return onData(data.result); |
| 4769 | - case 1: | |
| 4368 | + case 2: | |
| 4770 | 4369 | createdScreenshot = _context.sent; |
| 4771 | 4370 | createdScreenshot.sendUsageData = function () { |
| 4772 | 4371 | return layoutData.sendUsageData(data); |
| 4773 | 4372 | }; |
| @@ -4773,9 +4372,9 @@ | ||
| 4773 | 4372 | }; |
| 4774 | 4373 | createdScreenshot.baseTemplateId = data.baseTemplateId; |
| 4775 | 4374 | createdScreenshot.type = data.type; |
| 4776 | 4375 | return _context.abrupt("return", createdScreenshot); |
| 4777 | - case 2: | |
| 4376 | + case 7: | |
| 4778 | 4377 | case "end": |
| 4779 | 4378 | return _context.stop(); |
| 4780 | 4379 | } |
| 4781 | 4380 | }, _callee); |
| @@ -4866,9 +4465,9 @@ | ||
| 4866 | 4465 | }; |
| 4867 | 4466 | var createScreenshots = /*#__PURE__*/function () { |
| 4868 | 4467 | var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee(prompt, attachments) { |
| 4869 | 4468 | var onGenerate, onError, promises, results, isAllFailed; |
| 4870 | - return _regenerator.default.wrap(function (_context) { | |
| 4469 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 4871 | 4470 | while (1) switch (_context.prev = _context.next) { |
| 4872 | 4471 | case 0: |
| 4873 | 4472 | abortController.current = new AbortController(); |
| 4874 | 4473 | onGenerate = function onGenerate(screenshot) { |
| @@ -4922,11 +4521,11 @@ | ||
| 4922 | 4521 | }) |
| 4923 | 4522 | }; |
| 4924 | 4523 | return generate(requestBody, abortController.current.signal).then(onGenerate).catch(onError); |
| 4925 | 4524 | }); |
| 4926 | - _context.next = 1; | |
| 4525 | + _context.next = 6; | |
| 4927 | 4526 | return Promise.all(promises); |
| 4928 | - case 1: | |
| 4527 | + case 6: | |
| 4929 | 4528 | results = _context.sent; |
| 4930 | 4529 | isAllFailed = results.every(function (value) { |
| 4931 | 4530 | return false === value; |
| 4932 | 4531 | }); |
| @@ -4936,9 +4535,9 @@ | ||
| 4936 | 4535 | updatedData.splice(screenshotsGroupCount * -1); |
| 4937 | 4536 | return updatedData; |
| 4938 | 4537 | }); |
| 4939 | 4538 | } |
| 4940 | - case 2: | |
| 4539 | + case 9: | |
| 4941 | 4540 | case "end": |
| 4942 | 4541 | return _context.stop(); |
| 4943 | 4542 | } |
| 4944 | 4543 | }, _callee); |
| @@ -5067,9 +4666,10 @@ | ||
| 5067 | 4666 | var _attachDialog = _interopRequireDefault(__webpack_require__(/*! ./components/attachments/attach-dialog */ "../modules/ai/assets/js/editor/pages/form-layout/components/attachments/attach-dialog.js")); |
| 5068 | 4667 | var _isURL = _interopRequireDefault(__webpack_require__(/*! validator/lib/isURL */ "../node_modules/validator/lib/isURL.js")); |
| 5069 | 4668 | var _voicePromotionAlert = __webpack_require__(/*! ../../components/voice-promotion-alert */ "../modules/ai/assets/js/editor/components/voice-promotion-alert.js"); |
| 5070 | 4669 | var _excluded = ["children"]; |
| 5071 | -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); } | |
| 4670 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 4671 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 5072 | 4672 | var DirectionalMinimizeDiagonalIcon = (0, _ui.withDirection)(_minimizeDiagonalIcon.default); |
| 5073 | 4673 | var DirectionalExpandDiagonalIcon = (0, _ui.withDirection)(_expandDiagonalIcon.default); |
| 5074 | 4674 | |
| 5075 | 4675 | /** |
| @@ -5152,15 +4752,15 @@ | ||
| 5152 | 4752 | _useState8 = (0, _slicedToArray2.default)(_useState7, 2), |
| 5153 | 4753 | attachments = _useState8[0], |
| 5154 | 4754 | setAttachments = _useState8[1]; |
| 5155 | 4755 | var _useState9 = (0, _react.useState)(false), |
| 5156 | - _useState0 = (0, _slicedToArray2.default)(_useState9, 2), | |
| 5157 | - shouldRenderWebApp = _useState0[0], | |
| 5158 | - setShouldRenderWebApp = _useState0[1]; | |
| 5159 | - var _useState1 = (0, _react.useState)(false), | |
| 5160 | - _useState10 = (0, _slicedToArray2.default)(_useState1, 2), | |
| 5161 | - isMinimized = _useState10[0], | |
| 5162 | - setIsMinimized = _useState10[1]; | |
| 4756 | + _useState10 = (0, _slicedToArray2.default)(_useState9, 2), | |
| 4757 | + shouldRenderWebApp = _useState10[0], | |
| 4758 | + setShouldRenderWebApp = _useState10[1]; | |
| 4759 | + var _useState11 = (0, _react.useState)(false), | |
| 4760 | + _useState12 = (0, _slicedToArray2.default)(_useState11, 2), | |
| 4761 | + isMinimized = _useState12[0], | |
| 4762 | + setIsMinimized = _useState12[1]; | |
| 5163 | 4763 | var lastRun = (0, _react.useRef)(function () {}); |
| 5164 | 4764 | var promptInputRef = (0, _react.useRef)(null); |
| 5165 | 4765 | var selectedTemplate = (_screenshots$selected = screenshots[selectedScreenshotIndex]) === null || _screenshots$selected === void 0 ? void 0 : _screenshots$selected.template; |
| 5166 | 4766 | var dialogContentChildren = DialogContentProps.children, |
| @@ -5520,9 +5120,10 @@ | ||
| 5520 | 5120 | var _i18n = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 5521 | 5121 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 5522 | 5122 | var _api = __webpack_require__(/*! ../../api */ "../modules/ai/assets/js/editor/api/index.js"); |
| 5523 | 5123 | var _icons = __webpack_require__(/*! @elementor/icons */ "@elementor/icons"); |
| 5524 | -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); } | |
| 5124 | +function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); } | |
| 5125 | +function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | |
| 5525 | 5126 | var GetStarted = function GetStarted(_ref) { |
| 5526 | 5127 | var onSuccess = _ref.onSuccess; |
| 5527 | 5128 | var _useState = (0, _react.useState)(false), |
| 5528 | 5129 | _useState2 = (0, _slicedToArray2.default)(_useState, 2), |
| @@ -5529,16 +5130,16 @@ | ||
| 5529 | 5130 | isTermsChecked = _useState2[0], |
| 5530 | 5131 | setIsTermsChecked = _useState2[1]; |
| 5531 | 5132 | var onGetStartedClick = /*#__PURE__*/function () { |
| 5532 | 5133 | var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() { |
| 5533 | - return _regenerator.default.wrap(function (_context) { | |
| 5134 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 5534 | 5135 | while (1) switch (_context.prev = _context.next) { |
| 5535 | 5136 | case 0: |
| 5536 | - _context.next = 1; | |
| 5137 | + _context.next = 2; | |
| 5537 | 5138 | return (0, _api.setGetStarted)(); |
| 5538 | - case 1: | |
| 5139 | + case 2: | |
| 5539 | 5140 | onSuccess(); |
| 5540 | - case 2: | |
| 5141 | + case 3: | |
| 5541 | 5142 | case "end": |
| 5542 | 5143 | return _context.stop(); |
| 5543 | 5144 | } |
| 5544 | 5145 | }, _callee); |
| @@ -5680,9 +5281,8 @@ | ||
| 5680 | 5281 | var onConnect = exports.onConnect = function onConnect(data) { |
| 5681 | 5282 | elementorCommon.config.library_connect.is_connected = true; |
| 5682 | 5283 | elementorCommon.config.library_connect.current_access_level = data.kits_access_level || data.access_level || 0; |
| 5683 | 5284 | elementorCommon.config.library_connect.current_access_tier = data.access_tier; |
| 5684 | - elementorCommon.config.library_connect.plan_type = data.plan_type; | |
| 5685 | 5285 | }; |
| 5686 | 5286 | var getUiConfig = exports.getUiConfig = function getUiConfig() { |
| 5687 | 5287 | var _elementor, _elementor$getPrefere; |
| 5688 | 5288 | var colorScheme = ((_elementor = elementor) === null || _elementor === void 0 || (_elementor$getPrefere = _elementor.getPreferences) === null || _elementor$getPrefere === void 0 ? void 0 : _elementor$getPrefere.call(_elementor, 'ui_theme')) || 'auto'; |
| @@ -5766,17 +5366,17 @@ | ||
| 5766 | 5366 | promptPlaceholder: PROMPT_PLACEHOLDER, |
| 5767 | 5367 | previewGenerator: function () { |
| 5768 | 5368 | var _previewGenerator = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee(json) { |
| 5769 | 5369 | var screenshot; |
| 5770 | - return _regenerator.default.wrap(function (_context) { | |
| 5370 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 5771 | 5371 | while (1) switch (_context.prev = _context.next) { |
| 5772 | 5372 | case 0: |
| 5773 | - _context.next = 1; | |
| 5373 | + _context.next = 2; | |
| 5774 | 5374 | return (0, _screenshot.takeScreenshot)(json); |
| 5775 | - case 1: | |
| 5375 | + case 2: | |
| 5776 | 5376 | screenshot = _context.sent; |
| 5777 | 5377 | return _context.abrupt("return", "<img src=\"".concat(screenshot, "\" />")); |
| 5778 | - case 2: | |
| 5378 | + case 4: | |
| 5779 | 5379 | case "end": |
| 5780 | 5380 | return _context.stop(); |
| 5781 | 5381 | } |
| 5782 | 5382 | }, _callee); |
| @@ -5810,20 +5410,20 @@ | ||
| 5810 | 5410 | }, |
| 5811 | 5411 | onData: (/*#__PURE__*/function () { |
| 5812 | 5412 | var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2(template) { |
| 5813 | 5413 | var screenshot; |
| 5814 | - return _regenerator.default.wrap(function (_context2) { | |
| 5414 | + return _regenerator.default.wrap(function _callee2$(_context2) { | |
| 5815 | 5415 | while (1) switch (_context2.prev = _context2.next) { |
| 5816 | 5416 | case 0: |
| 5817 | - _context2.next = 1; | |
| 5417 | + _context2.next = 2; | |
| 5818 | 5418 | return (0, _screenshot.takeScreenshot)(template); |
| 5819 | - case 1: | |
| 5419 | + case 2: | |
| 5820 | 5420 | screenshot = _context2.sent; |
| 5821 | 5421 | return _context2.abrupt("return", { |
| 5822 | 5422 | screenshot: screenshot, |
| 5823 | 5423 | template: template |
| 5824 | 5424 | }); |
| 5825 | - case 2: | |
| 5425 | + case 4: | |
| 5826 | 5426 | case "end": |
| 5827 | 5427 | return _context2.stop(); |
| 5828 | 5428 | } |
| 5829 | 5429 | }, _callee2); |
| @@ -6070,18 +5670,18 @@ | ||
| 6070 | 5670 | var _history = __webpack_require__(/*! ./history */ "../modules/ai/assets/js/editor/utils/history.js"); |
| 6071 | 5671 | var _requestsIds = __webpack_require__(/*! ../context/requests-ids */ "../modules/ai/assets/js/editor/context/requests-ids.js"); |
| 6072 | 5672 | var takeScreenshot = exports.takeScreenshot = /*#__PURE__*/function () { |
| 6073 | 5673 | var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee(template) { |
| 6074 | - var hiddenWrapper, container, screenshot, _t; | |
| 6075 | - return _regenerator.default.wrap(function (_context) { | |
| 5674 | + var hiddenWrapper, container, screenshot; | |
| 5675 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 6076 | 5676 | while (1) switch (_context.prev = _context.next) { |
| 6077 | 5677 | case 0: |
| 6078 | 5678 | if (template) { |
| 6079 | - _context.next = 1; | |
| 5679 | + _context.next = 2; | |
| 6080 | 5680 | break; |
| 6081 | 5681 | } |
| 6082 | 5682 | return _context.abrupt("return", ''); |
| 6083 | - case 1: | |
| 5683 | + case 2: | |
| 6084 | 5684 | // Disable history so the Editor won't show our hidden container as a user action. |
| 6085 | 5685 | (0, _history.toggleHistory)(false); |
| 6086 | 5686 | hiddenWrapper = createHiddenWrapper(); |
| 6087 | 5687 | container = createContainer(template); |
| @@ -6088,42 +5688,42 @@ | ||
| 6088 | 5688 | wrapContainer(container, hiddenWrapper); |
| 6089 | 5689 | elementor.getPreviewView().$childViewContainer[0].appendChild(hiddenWrapper); |
| 6090 | 5690 | |
| 6091 | 5691 | // Wait for the container to render. |
| 6092 | - _context.next = 2; | |
| 5692 | + _context.next = 9; | |
| 6093 | 5693 | return waitForContainer(container.id); |
| 6094 | - case 2: | |
| 5694 | + case 9: | |
| 6095 | 5695 | if (!template.elements.length) { |
| 6096 | - _context.next = 3; | |
| 5696 | + _context.next = 12; | |
| 6097 | 5697 | break; |
| 6098 | 5698 | } |
| 6099 | - _context.next = 3; | |
| 5699 | + _context.next = 12; | |
| 6100 | 5700 | return Promise.all(template.elements.map(function (child) { |
| 6101 | 5701 | return waitForContainer(child.id); |
| 6102 | 5702 | })); |
| 6103 | - case 3: | |
| 6104 | - _context.prev = 3; | |
| 6105 | - _context.next = 4; | |
| 5703 | + case 12: | |
| 5704 | + _context.prev = 12; | |
| 5705 | + _context.next = 15; | |
| 6106 | 5706 | return screenshotNode(container.view.$el[0]); |
| 6107 | - case 4: | |
| 5707 | + case 15: | |
| 6108 | 5708 | screenshot = _context.sent; |
| 6109 | - _context.next = 6; | |
| 5709 | + _context.next = 21; | |
| 6110 | 5710 | break; |
| 6111 | - case 5: | |
| 6112 | - _context.prev = 5; | |
| 6113 | - _t = _context["catch"](3); | |
| 5711 | + case 18: | |
| 5712 | + _context.prev = 18; | |
| 5713 | + _context.t0 = _context["catch"](12); | |
| 6114 | 5714 | // Return an empty image url if the screenshot failed. |
| 6115 | 5715 | screenshot = ''; |
| 6116 | - case 6: | |
| 5716 | + case 21: | |
| 6117 | 5717 | deleteContainer(container); |
| 6118 | 5718 | hiddenWrapper.remove(); |
| 6119 | 5719 | (0, _history.toggleHistory)(true); |
| 6120 | 5720 | return _context.abrupt("return", screenshot); |
| 6121 | - case 7: | |
| 5721 | + case 25: | |
| 6122 | 5722 | case "end": |
| 6123 | 5723 | return _context.stop(); |
| 6124 | 5724 | } |
| 6125 | - }, _callee, null, [[3, 5]]); | |
| 5725 | + }, _callee, null, [[12, 18]]); | |
| 6126 | 5726 | })); |
| 6127 | 5727 | return function takeScreenshot(_x) { |
| 6128 | 5728 | return _ref.apply(this, arguments); |
| 6129 | 5729 | }; |
| @@ -6143,18 +5743,18 @@ | ||
| 6143 | 5743 | var _options$quality; |
| 6144 | 5744 | var options, |
| 6145 | 5745 | canvas, |
| 6146 | 5746 | _args3 = arguments; |
| 6147 | - return _regenerator.default.wrap(function (_context3) { | |
| 5747 | + return _regenerator.default.wrap(function _callee3$(_context3) { | |
| 6148 | 5748 | while (1) switch (_context3.prev = _context3.next) { |
| 6149 | 5749 | case 0: |
| 6150 | 5750 | options = _args3.length > 1 && _args3[1] !== undefined ? _args3[1] : {}; |
| 6151 | - _context3.next = 1; | |
| 5751 | + _context3.next = 3; | |
| 6152 | 5752 | return (0, _htmlToImage.toCanvas)(node, options); |
| 6153 | - case 1: | |
| 5753 | + case 3: | |
| 6154 | 5754 | canvas = _context3.sent; |
| 6155 | 5755 | return _context3.abrupt("return", canvas.toDataURL('image/webp', (_options$quality = options.quality) !== null && _options$quality !== void 0 ? _options$quality : 1)); |
| 6156 | - case 2: | |
| 5756 | + case 5: | |
| 6157 | 5757 | case "end": |
| 6158 | 5758 | return _context3.stop(); |
| 6159 | 5759 | } |
| 6160 | 5760 | }, _callee3); |
| @@ -6192,21 +5792,21 @@ | ||
| 6192 | 5792 | var waitPromise = new Promise(function (resolve) { |
| 6193 | 5793 | elementorFrontend.hooks.addAction('frontend/element_ready/global', /*#__PURE__*/function () { |
| 6194 | 5794 | var _ref2 = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee2($element) { |
| 6195 | 5795 | var images; |
| 6196 | - return _regenerator.default.wrap(function (_context2) { | |
| 5796 | + return _regenerator.default.wrap(function _callee2$(_context2) { | |
| 6197 | 5797 | while (1) switch (_context2.prev = _context2.next) { |
| 6198 | 5798 | case 0: |
| 6199 | 5799 | if (!($element.data('id') === id)) { |
| 6200 | - _context2.next = 2; | |
| 5800 | + _context2.next = 5; | |
| 6201 | 5801 | break; |
| 6202 | 5802 | } |
| 6203 | 5803 | images = (0, _toConsumableArray2.default)($element[0].querySelectorAll('img')); // Wait for all images to load. |
| 6204 | - _context2.next = 1; | |
| 5804 | + _context2.next = 4; | |
| 6205 | 5805 | return Promise.all(images.map(waitForImage)); |
| 6206 | - case 1: | |
| 5806 | + case 4: | |
| 6207 | 5807 | resolve(); |
| 6208 | - case 2: | |
| 5808 | + case 5: | |
| 6209 | 5809 | case "end": |
| 6210 | 5810 | return _context2.stop(); |
| 6211 | 5811 | } |
| 6212 | 5812 | }, _callee2); |
| @@ -6243,873 +5843,8 @@ | ||
| 6243 | 5843 | } |
| 6244 | 5844 | |
| 6245 | 5845 | /***/ }), |
| 6246 | 5846 | |
| 6247 | -/***/ "../node_modules/@babel/runtime/helpers/OverloadYield.js": | |
| 6248 | -/*!***************************************************************!*\ | |
| 6249 | - !*** ../node_modules/@babel/runtime/helpers/OverloadYield.js ***! | |
| 6250 | - \***************************************************************/ | |
| 6251 | -/***/ ((module) => { | |
| 6252 | - | |
| 6253 | -function _OverloadYield(e, d) { | |
| 6254 | - this.v = e, this.k = d; | |
| 6255 | -} | |
| 6256 | -module.exports = _OverloadYield, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6257 | - | |
| 6258 | -/***/ }), | |
| 6259 | - | |
| 6260 | -/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": | |
| 6261 | -/*!******************************************************************!*\ | |
| 6262 | - !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! | |
| 6263 | - \******************************************************************/ | |
| 6264 | -/***/ ((module) => { | |
| 6265 | - | |
| 6266 | -function _arrayLikeToArray(r, a) { | |
| 6267 | - (null == a || a > r.length) && (a = r.length); | |
| 6268 | - for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 6269 | - return n; | |
| 6270 | -} | |
| 6271 | -module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6272 | - | |
| 6273 | -/***/ }), | |
| 6274 | - | |
| 6275 | -/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js": | |
| 6276 | -/*!****************************************************************!*\ | |
| 6277 | - !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! | |
| 6278 | - \****************************************************************/ | |
| 6279 | -/***/ ((module) => { | |
| 6280 | - | |
| 6281 | -function _arrayWithHoles(r) { | |
| 6282 | - if (Array.isArray(r)) return r; | |
| 6283 | -} | |
| 6284 | -module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6285 | - | |
| 6286 | -/***/ }), | |
| 6287 | - | |
| 6288 | -/***/ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js": | |
| 6289 | -/*!*******************************************************************!*\ | |
| 6290 | - !*** ../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***! | |
| 6291 | - \*******************************************************************/ | |
| 6292 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6293 | - | |
| 6294 | -var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); | |
| 6295 | -function _arrayWithoutHoles(r) { | |
| 6296 | - if (Array.isArray(r)) return arrayLikeToArray(r); | |
| 6297 | -} | |
| 6298 | -module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6299 | - | |
| 6300 | -/***/ }), | |
| 6301 | - | |
| 6302 | -/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": | |
| 6303 | -/*!***********************************************************************!*\ | |
| 6304 | - !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! | |
| 6305 | - \***********************************************************************/ | |
| 6306 | -/***/ ((module) => { | |
| 6307 | - | |
| 6308 | -function _assertThisInitialized(e) { | |
| 6309 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 6310 | - return e; | |
| 6311 | -} | |
| 6312 | -module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6313 | - | |
| 6314 | -/***/ }), | |
| 6315 | - | |
| 6316 | -/***/ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js": | |
| 6317 | -/*!******************************************************************!*\ | |
| 6318 | - !*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! | |
| 6319 | - \******************************************************************/ | |
| 6320 | -/***/ ((module) => { | |
| 6321 | - | |
| 6322 | -function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 6323 | - try { | |
| 6324 | - var i = n[a](c), | |
| 6325 | - u = i.value; | |
| 6326 | - } catch (n) { | |
| 6327 | - return void e(n); | |
| 6328 | - } | |
| 6329 | - i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 6330 | -} | |
| 6331 | -function _asyncToGenerator(n) { | |
| 6332 | - return function () { | |
| 6333 | - var t = this, | |
| 6334 | - e = arguments; | |
| 6335 | - return new Promise(function (r, o) { | |
| 6336 | - var a = n.apply(t, e); | |
| 6337 | - function _next(n) { | |
| 6338 | - asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 6339 | - } | |
| 6340 | - function _throw(n) { | |
| 6341 | - asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 6342 | - } | |
| 6343 | - _next(void 0); | |
| 6344 | - }); | |
| 6345 | - }; | |
| 6346 | -} | |
| 6347 | -module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6348 | - | |
| 6349 | -/***/ }), | |
| 6350 | - | |
| 6351 | -/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": | |
| 6352 | -/*!****************************************************************!*\ | |
| 6353 | - !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! | |
| 6354 | - \****************************************************************/ | |
| 6355 | -/***/ ((module) => { | |
| 6356 | - | |
| 6357 | -function _classCallCheck(a, n) { | |
| 6358 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 6359 | -} | |
| 6360 | -module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6361 | - | |
| 6362 | -/***/ }), | |
| 6363 | - | |
| 6364 | -/***/ "../node_modules/@babel/runtime/helpers/createClass.js": | |
| 6365 | -/*!*************************************************************!*\ | |
| 6366 | - !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! | |
| 6367 | - \*************************************************************/ | |
| 6368 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6369 | - | |
| 6370 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 6371 | -function _defineProperties(e, r) { | |
| 6372 | - for (var t = 0; t < r.length; t++) { | |
| 6373 | - var o = r[t]; | |
| 6374 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 6375 | - } | |
| 6376 | -} | |
| 6377 | -function _createClass(e, r, t) { | |
| 6378 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 6379 | - writable: !1 | |
| 6380 | - }), e; | |
| 6381 | -} | |
| 6382 | -module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6383 | - | |
| 6384 | -/***/ }), | |
| 6385 | - | |
| 6386 | -/***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": | |
| 6387 | -/*!****************************************************************!*\ | |
| 6388 | - !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! | |
| 6389 | - \****************************************************************/ | |
| 6390 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6391 | - | |
| 6392 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 6393 | -function _defineProperty(e, r, t) { | |
| 6394 | - return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 6395 | - value: t, | |
| 6396 | - enumerable: !0, | |
| 6397 | - configurable: !0, | |
| 6398 | - writable: !0 | |
| 6399 | - }) : e[r] = t, e; | |
| 6400 | -} | |
| 6401 | -module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6402 | - | |
| 6403 | -/***/ }), | |
| 6404 | - | |
| 6405 | -/***/ "../node_modules/@babel/runtime/helpers/extends.js": | |
| 6406 | -/*!*********************************************************!*\ | |
| 6407 | - !*** ../node_modules/@babel/runtime/helpers/extends.js ***! | |
| 6408 | - \*********************************************************/ | |
| 6409 | -/***/ ((module) => { | |
| 6410 | - | |
| 6411 | -function _extends() { | |
| 6412 | - return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) { | |
| 6413 | - for (var e = 1; e < arguments.length; e++) { | |
| 6414 | - var t = arguments[e]; | |
| 6415 | - for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | |
| 6416 | - } | |
| 6417 | - return n; | |
| 6418 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends.apply(null, arguments); | |
| 6419 | -} | |
| 6420 | -module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6421 | - | |
| 6422 | -/***/ }), | |
| 6423 | - | |
| 6424 | -/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": | |
| 6425 | -/*!****************************************************************!*\ | |
| 6426 | - !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! | |
| 6427 | - \****************************************************************/ | |
| 6428 | -/***/ ((module) => { | |
| 6429 | - | |
| 6430 | -function _getPrototypeOf(t) { | |
| 6431 | - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 6432 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 6433 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 6434 | -} | |
| 6435 | -module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6436 | - | |
| 6437 | -/***/ }), | |
| 6438 | - | |
| 6439 | -/***/ "../node_modules/@babel/runtime/helpers/inherits.js": | |
| 6440 | -/*!**********************************************************!*\ | |
| 6441 | - !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! | |
| 6442 | - \**********************************************************/ | |
| 6443 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6444 | - | |
| 6445 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 6446 | -function _inherits(t, e) { | |
| 6447 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 6448 | - t.prototype = Object.create(e && e.prototype, { | |
| 6449 | - constructor: { | |
| 6450 | - value: t, | |
| 6451 | - writable: !0, | |
| 6452 | - configurable: !0 | |
| 6453 | - } | |
| 6454 | - }), Object.defineProperty(t, "prototype", { | |
| 6455 | - writable: !1 | |
| 6456 | - }), e && setPrototypeOf(t, e); | |
| 6457 | -} | |
| 6458 | -module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6459 | - | |
| 6460 | -/***/ }), | |
| 6461 | - | |
| 6462 | -/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 6463 | -/*!***********************************************************************!*\ | |
| 6464 | - !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 6465 | - \***********************************************************************/ | |
| 6466 | -/***/ ((module) => { | |
| 6467 | - | |
| 6468 | -function _interopRequireDefault(e) { | |
| 6469 | - return e && e.__esModule ? e : { | |
| 6470 | - "default": e | |
| 6471 | - }; | |
| 6472 | -} | |
| 6473 | -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6474 | - | |
| 6475 | -/***/ }), | |
| 6476 | - | |
| 6477 | -/***/ "../node_modules/@babel/runtime/helpers/iterableToArray.js": | |
| 6478 | -/*!*****************************************************************!*\ | |
| 6479 | - !*** ../node_modules/@babel/runtime/helpers/iterableToArray.js ***! | |
| 6480 | - \*****************************************************************/ | |
| 6481 | -/***/ ((module) => { | |
| 6482 | - | |
| 6483 | -function _iterableToArray(r) { | |
| 6484 | - if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); | |
| 6485 | -} | |
| 6486 | -module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6487 | - | |
| 6488 | -/***/ }), | |
| 6489 | - | |
| 6490 | -/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": | |
| 6491 | -/*!**********************************************************************!*\ | |
| 6492 | - !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! | |
| 6493 | - \**********************************************************************/ | |
| 6494 | -/***/ ((module) => { | |
| 6495 | - | |
| 6496 | -function _iterableToArrayLimit(r, l) { | |
| 6497 | - var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 6498 | - if (null != t) { | |
| 6499 | - var e, | |
| 6500 | - n, | |
| 6501 | - i, | |
| 6502 | - u, | |
| 6503 | - a = [], | |
| 6504 | - f = !0, | |
| 6505 | - o = !1; | |
| 6506 | - try { | |
| 6507 | - if (i = (t = t.call(r)).next, 0 === l) { | |
| 6508 | - if (Object(t) !== t) return; | |
| 6509 | - f = !1; | |
| 6510 | - } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 6511 | - } catch (r) { | |
| 6512 | - o = !0, n = r; | |
| 6513 | - } finally { | |
| 6514 | - try { | |
| 6515 | - if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 6516 | - } finally { | |
| 6517 | - if (o) throw n; | |
| 6518 | - } | |
| 6519 | - } | |
| 6520 | - return a; | |
| 6521 | - } | |
| 6522 | -} | |
| 6523 | -module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6524 | - | |
| 6525 | -/***/ }), | |
| 6526 | - | |
| 6527 | -/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js": | |
| 6528 | -/*!*****************************************************************!*\ | |
| 6529 | - !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***! | |
| 6530 | - \*****************************************************************/ | |
| 6531 | -/***/ ((module) => { | |
| 6532 | - | |
| 6533 | -function _nonIterableRest() { | |
| 6534 | - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 6535 | -} | |
| 6536 | -module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6537 | - | |
| 6538 | -/***/ }), | |
| 6539 | - | |
| 6540 | -/***/ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js": | |
| 6541 | -/*!*******************************************************************!*\ | |
| 6542 | - !*** ../node_modules/@babel/runtime/helpers/nonIterableSpread.js ***! | |
| 6543 | - \*******************************************************************/ | |
| 6544 | -/***/ ((module) => { | |
| 6545 | - | |
| 6546 | -function _nonIterableSpread() { | |
| 6547 | - throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 6548 | -} | |
| 6549 | -module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6550 | - | |
| 6551 | -/***/ }), | |
| 6552 | - | |
| 6553 | -/***/ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js": | |
| 6554 | -/*!*************************************************************************!*\ | |
| 6555 | - !*** ../node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! | |
| 6556 | - \*************************************************************************/ | |
| 6557 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6558 | - | |
| 6559 | -var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"); | |
| 6560 | -function _objectWithoutProperties(e, t) { | |
| 6561 | - if (null == e) return {}; | |
| 6562 | - var o, | |
| 6563 | - r, | |
| 6564 | - i = objectWithoutPropertiesLoose(e, t); | |
| 6565 | - if (Object.getOwnPropertySymbols) { | |
| 6566 | - var n = Object.getOwnPropertySymbols(e); | |
| 6567 | - for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | |
| 6568 | - } | |
| 6569 | - return i; | |
| 6570 | -} | |
| 6571 | -module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6572 | - | |
| 6573 | -/***/ }), | |
| 6574 | - | |
| 6575 | -/***/ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js": | |
| 6576 | -/*!******************************************************************************!*\ | |
| 6577 | - !*** ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! | |
| 6578 | - \******************************************************************************/ | |
| 6579 | -/***/ ((module) => { | |
| 6580 | - | |
| 6581 | -function _objectWithoutPropertiesLoose(r, e) { | |
| 6582 | - if (null == r) return {}; | |
| 6583 | - var t = {}; | |
| 6584 | - for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | |
| 6585 | - if (-1 !== e.indexOf(n)) continue; | |
| 6586 | - t[n] = r[n]; | |
| 6587 | - } | |
| 6588 | - return t; | |
| 6589 | -} | |
| 6590 | -module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6591 | - | |
| 6592 | -/***/ }), | |
| 6593 | - | |
| 6594 | -/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": | |
| 6595 | -/*!***************************************************************************!*\ | |
| 6596 | - !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! | |
| 6597 | - \***************************************************************************/ | |
| 6598 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6599 | - | |
| 6600 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 6601 | -var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); | |
| 6602 | -function _possibleConstructorReturn(t, e) { | |
| 6603 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 6604 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 6605 | - return assertThisInitialized(t); | |
| 6606 | -} | |
| 6607 | -module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6608 | - | |
| 6609 | -/***/ }), | |
| 6610 | - | |
| 6611 | -/***/ "../node_modules/@babel/runtime/helpers/regenerator.js": | |
| 6612 | -/*!*************************************************************!*\ | |
| 6613 | - !*** ../node_modules/@babel/runtime/helpers/regenerator.js ***! | |
| 6614 | - \*************************************************************/ | |
| 6615 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6616 | - | |
| 6617 | -var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js"); | |
| 6618 | -function _regenerator() { | |
| 6619 | - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ | |
| 6620 | - var e, | |
| 6621 | - t, | |
| 6622 | - r = "function" == typeof Symbol ? Symbol : {}, | |
| 6623 | - n = r.iterator || "@@iterator", | |
| 6624 | - o = r.toStringTag || "@@toStringTag"; | |
| 6625 | - function i(r, n, o, i) { | |
| 6626 | - var c = n && n.prototype instanceof Generator ? n : Generator, | |
| 6627 | - u = Object.create(c.prototype); | |
| 6628 | - return regeneratorDefine(u, "_invoke", function (r, n, o) { | |
| 6629 | - var i, | |
| 6630 | - c, | |
| 6631 | - u, | |
| 6632 | - f = 0, | |
| 6633 | - p = o || [], | |
| 6634 | - y = !1, | |
| 6635 | - G = { | |
| 6636 | - p: 0, | |
| 6637 | - n: 0, | |
| 6638 | - v: e, | |
| 6639 | - a: d, | |
| 6640 | - f: d.bind(e, 4), | |
| 6641 | - d: function d(t, r) { | |
| 6642 | - return i = t, c = 0, u = e, G.n = r, a; | |
| 6643 | - } | |
| 6644 | - }; | |
| 6645 | - function d(r, n) { | |
| 6646 | - for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { | |
| 6647 | - var o, | |
| 6648 | - i = p[t], | |
| 6649 | - d = G.p, | |
| 6650 | - l = i[2]; | |
| 6651 | - r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); | |
| 6652 | - } | |
| 6653 | - if (o || r > 1) return a; | |
| 6654 | - throw y = !0, n; | |
| 6655 | - } | |
| 6656 | - return function (o, p, l) { | |
| 6657 | - if (f > 1) throw TypeError("Generator is already running"); | |
| 6658 | - for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { | |
| 6659 | - i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); | |
| 6660 | - try { | |
| 6661 | - if (f = 2, i) { | |
| 6662 | - if (c || (o = "next"), t = i[o]) { | |
| 6663 | - if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); | |
| 6664 | - if (!t.done) return t; | |
| 6665 | - u = t.value, c < 2 && (c = 0); | |
| 6666 | - } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); | |
| 6667 | - i = e; | |
| 6668 | - } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; | |
| 6669 | - } catch (t) { | |
| 6670 | - i = e, c = 1, u = t; | |
| 6671 | - } finally { | |
| 6672 | - f = 1; | |
| 6673 | - } | |
| 6674 | - } | |
| 6675 | - return { | |
| 6676 | - value: t, | |
| 6677 | - done: y | |
| 6678 | - }; | |
| 6679 | - }; | |
| 6680 | - }(r, o, i), !0), u; | |
| 6681 | - } | |
| 6682 | - var a = {}; | |
| 6683 | - function Generator() {} | |
| 6684 | - function GeneratorFunction() {} | |
| 6685 | - function GeneratorFunctionPrototype() {} | |
| 6686 | - t = Object.getPrototypeOf; | |
| 6687 | - var c = [][n] ? t(t([][n]())) : (regeneratorDefine(t = {}, n, function () { | |
| 6688 | - return this; | |
| 6689 | - }), t), | |
| 6690 | - u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); | |
| 6691 | - function f(e) { | |
| 6692 | - return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; | |
| 6693 | - } | |
| 6694 | - return GeneratorFunction.prototype = GeneratorFunctionPrototype, regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), regeneratorDefine(u), regeneratorDefine(u, o, "Generator"), regeneratorDefine(u, n, function () { | |
| 6695 | - return this; | |
| 6696 | - }), regeneratorDefine(u, "toString", function () { | |
| 6697 | - return "[object Generator]"; | |
| 6698 | - }), (module.exports = _regenerator = function _regenerator() { | |
| 6699 | - return { | |
| 6700 | - w: i, | |
| 6701 | - m: f | |
| 6702 | - }; | |
| 6703 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 6704 | -} | |
| 6705 | -module.exports = _regenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6706 | - | |
| 6707 | -/***/ }), | |
| 6708 | - | |
| 6709 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsync.js": | |
| 6710 | -/*!******************************************************************!*\ | |
| 6711 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsync.js ***! | |
| 6712 | - \******************************************************************/ | |
| 6713 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6714 | - | |
| 6715 | -var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js"); | |
| 6716 | -function _regeneratorAsync(n, e, r, t, o) { | |
| 6717 | - var a = regeneratorAsyncGen(n, e, r, t, o); | |
| 6718 | - return a.next().then(function (n) { | |
| 6719 | - return n.done ? n.value : a.next(); | |
| 6720 | - }); | |
| 6721 | -} | |
| 6722 | -module.exports = _regeneratorAsync, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6723 | - | |
| 6724 | -/***/ }), | |
| 6725 | - | |
| 6726 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js": | |
| 6727 | -/*!*********************************************************************!*\ | |
| 6728 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js ***! | |
| 6729 | - \*********************************************************************/ | |
| 6730 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6731 | - | |
| 6732 | -var regenerator = __webpack_require__(/*! ./regenerator.js */ "../node_modules/@babel/runtime/helpers/regenerator.js"); | |
| 6733 | -var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js"); | |
| 6734 | -function _regeneratorAsyncGen(r, e, t, o, n) { | |
| 6735 | - return new regeneratorAsyncIterator(regenerator().w(r, e, t, o), n || Promise); | |
| 6736 | -} | |
| 6737 | -module.exports = _regeneratorAsyncGen, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6738 | - | |
| 6739 | -/***/ }), | |
| 6740 | - | |
| 6741 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js": | |
| 6742 | -/*!**************************************************************************!*\ | |
| 6743 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js ***! | |
| 6744 | - \**************************************************************************/ | |
| 6745 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6746 | - | |
| 6747 | -var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ "../node_modules/@babel/runtime/helpers/OverloadYield.js"); | |
| 6748 | -var regeneratorDefine = __webpack_require__(/*! ./regeneratorDefine.js */ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js"); | |
| 6749 | -function AsyncIterator(t, e) { | |
| 6750 | - function n(r, o, i, f) { | |
| 6751 | - try { | |
| 6752 | - var c = t[r](o), | |
| 6753 | - u = c.value; | |
| 6754 | - return u instanceof OverloadYield ? e.resolve(u.v).then(function (t) { | |
| 6755 | - n("next", t, i, f); | |
| 6756 | - }, function (t) { | |
| 6757 | - n("throw", t, i, f); | |
| 6758 | - }) : e.resolve(u).then(function (t) { | |
| 6759 | - c.value = t, i(c); | |
| 6760 | - }, function (t) { | |
| 6761 | - return n("throw", t, i, f); | |
| 6762 | - }); | |
| 6763 | - } catch (t) { | |
| 6764 | - f(t); | |
| 6765 | - } | |
| 6766 | - } | |
| 6767 | - var r; | |
| 6768 | - this.next || (regeneratorDefine(AsyncIterator.prototype), regeneratorDefine(AsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () { | |
| 6769 | - return this; | |
| 6770 | - })), regeneratorDefine(this, "_invoke", function (t, o, i) { | |
| 6771 | - function f() { | |
| 6772 | - return new e(function (e, r) { | |
| 6773 | - n(t, i, e, r); | |
| 6774 | - }); | |
| 6775 | - } | |
| 6776 | - return r = r ? r.then(f, f) : f(); | |
| 6777 | - }, !0); | |
| 6778 | -} | |
| 6779 | -module.exports = AsyncIterator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6780 | - | |
| 6781 | -/***/ }), | |
| 6782 | - | |
| 6783 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorDefine.js": | |
| 6784 | -/*!*******************************************************************!*\ | |
| 6785 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorDefine.js ***! | |
| 6786 | - \*******************************************************************/ | |
| 6787 | -/***/ ((module) => { | |
| 6788 | - | |
| 6789 | -function _regeneratorDefine(e, r, n, t) { | |
| 6790 | - var i = Object.defineProperty; | |
| 6791 | - try { | |
| 6792 | - i({}, "", {}); | |
| 6793 | - } catch (e) { | |
| 6794 | - i = 0; | |
| 6795 | - } | |
| 6796 | - module.exports = _regeneratorDefine = function regeneratorDefine(e, r, n, t) { | |
| 6797 | - function o(r, n) { | |
| 6798 | - _regeneratorDefine(e, r, function (e) { | |
| 6799 | - return this._invoke(r, n, e); | |
| 6800 | - }); | |
| 6801 | - } | |
| 6802 | - r ? i ? i(e, r, { | |
| 6803 | - value: n, | |
| 6804 | - enumerable: !t, | |
| 6805 | - configurable: !t, | |
| 6806 | - writable: !t | |
| 6807 | - }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); | |
| 6808 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _regeneratorDefine(e, r, n, t); | |
| 6809 | -} | |
| 6810 | -module.exports = _regeneratorDefine, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6811 | - | |
| 6812 | -/***/ }), | |
| 6813 | - | |
| 6814 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorKeys.js": | |
| 6815 | -/*!*****************************************************************!*\ | |
| 6816 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorKeys.js ***! | |
| 6817 | - \*****************************************************************/ | |
| 6818 | -/***/ ((module) => { | |
| 6819 | - | |
| 6820 | -function _regeneratorKeys(e) { | |
| 6821 | - var n = Object(e), | |
| 6822 | - r = []; | |
| 6823 | - for (var t in n) r.unshift(t); | |
| 6824 | - return function e() { | |
| 6825 | - for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; | |
| 6826 | - return e.done = !0, e; | |
| 6827 | - }; | |
| 6828 | -} | |
| 6829 | -module.exports = _regeneratorKeys, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6830 | - | |
| 6831 | -/***/ }), | |
| 6832 | - | |
| 6833 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js": | |
| 6834 | -/*!********************************************************************!*\ | |
| 6835 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! | |
| 6836 | - \********************************************************************/ | |
| 6837 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6838 | - | |
| 6839 | -var OverloadYield = __webpack_require__(/*! ./OverloadYield.js */ "../node_modules/@babel/runtime/helpers/OverloadYield.js"); | |
| 6840 | -var regenerator = __webpack_require__(/*! ./regenerator.js */ "../node_modules/@babel/runtime/helpers/regenerator.js"); | |
| 6841 | -var regeneratorAsync = __webpack_require__(/*! ./regeneratorAsync.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsync.js"); | |
| 6842 | -var regeneratorAsyncGen = __webpack_require__(/*! ./regeneratorAsyncGen.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js"); | |
| 6843 | -var regeneratorAsyncIterator = __webpack_require__(/*! ./regeneratorAsyncIterator.js */ "../node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js"); | |
| 6844 | -var regeneratorKeys = __webpack_require__(/*! ./regeneratorKeys.js */ "../node_modules/@babel/runtime/helpers/regeneratorKeys.js"); | |
| 6845 | -var regeneratorValues = __webpack_require__(/*! ./regeneratorValues.js */ "../node_modules/@babel/runtime/helpers/regeneratorValues.js"); | |
| 6846 | -function _regeneratorRuntime() { | |
| 6847 | - "use strict"; | |
| 6848 | - | |
| 6849 | - var r = regenerator(), | |
| 6850 | - e = r.m(_regeneratorRuntime), | |
| 6851 | - t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor; | |
| 6852 | - function n(r) { | |
| 6853 | - var e = "function" == typeof r && r.constructor; | |
| 6854 | - return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name)); | |
| 6855 | - } | |
| 6856 | - var o = { | |
| 6857 | - "throw": 1, | |
| 6858 | - "return": 2, | |
| 6859 | - "break": 3, | |
| 6860 | - "continue": 3 | |
| 6861 | - }; | |
| 6862 | - function a(r) { | |
| 6863 | - var e, t; | |
| 6864 | - return function (n) { | |
| 6865 | - e || (e = { | |
| 6866 | - stop: function stop() { | |
| 6867 | - return t(n.a, 2); | |
| 6868 | - }, | |
| 6869 | - "catch": function _catch() { | |
| 6870 | - return n.v; | |
| 6871 | - }, | |
| 6872 | - abrupt: function abrupt(r, e) { | |
| 6873 | - return t(n.a, o[r], e); | |
| 6874 | - }, | |
| 6875 | - delegateYield: function delegateYield(r, o, a) { | |
| 6876 | - return e.resultName = o, t(n.d, regeneratorValues(r), a); | |
| 6877 | - }, | |
| 6878 | - finish: function finish(r) { | |
| 6879 | - return t(n.f, r); | |
| 6880 | - } | |
| 6881 | - }, t = function t(r, _t, o) { | |
| 6882 | - n.p = e.prev, n.n = e.next; | |
| 6883 | - try { | |
| 6884 | - return r(_t, o); | |
| 6885 | - } finally { | |
| 6886 | - e.next = n.n; | |
| 6887 | - } | |
| 6888 | - }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n; | |
| 6889 | - try { | |
| 6890 | - return r.call(this, e); | |
| 6891 | - } finally { | |
| 6892 | - n.p = e.prev, n.n = e.next; | |
| 6893 | - } | |
| 6894 | - }; | |
| 6895 | - } | |
| 6896 | - return (module.exports = _regeneratorRuntime = function _regeneratorRuntime() { | |
| 6897 | - return { | |
| 6898 | - wrap: function wrap(e, t, n, o) { | |
| 6899 | - return r.w(a(e), t, n, o && o.reverse()); | |
| 6900 | - }, | |
| 6901 | - isGeneratorFunction: n, | |
| 6902 | - mark: r.m, | |
| 6903 | - awrap: function awrap(r, e) { | |
| 6904 | - return new OverloadYield(r, e); | |
| 6905 | - }, | |
| 6906 | - AsyncIterator: regeneratorAsyncIterator, | |
| 6907 | - async: function async(r, e, t, o, u) { | |
| 6908 | - return (n(e) ? regeneratorAsyncGen : regeneratorAsync)(a(r), e, t, o, u); | |
| 6909 | - }, | |
| 6910 | - keys: regeneratorKeys, | |
| 6911 | - values: regeneratorValues | |
| 6912 | - }; | |
| 6913 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports)(); | |
| 6914 | -} | |
| 6915 | -module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6916 | - | |
| 6917 | -/***/ }), | |
| 6918 | - | |
| 6919 | -/***/ "../node_modules/@babel/runtime/helpers/regeneratorValues.js": | |
| 6920 | -/*!*******************************************************************!*\ | |
| 6921 | - !*** ../node_modules/@babel/runtime/helpers/regeneratorValues.js ***! | |
| 6922 | - \*******************************************************************/ | |
| 6923 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6924 | - | |
| 6925 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 6926 | -function _regeneratorValues(e) { | |
| 6927 | - if (null != e) { | |
| 6928 | - var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], | |
| 6929 | - r = 0; | |
| 6930 | - if (t) return t.call(e); | |
| 6931 | - if ("function" == typeof e.next) return e; | |
| 6932 | - if (!isNaN(e.length)) return { | |
| 6933 | - next: function next() { | |
| 6934 | - return e && r >= e.length && (e = void 0), { | |
| 6935 | - value: e && e[r++], | |
| 6936 | - done: !e | |
| 6937 | - }; | |
| 6938 | - } | |
| 6939 | - }; | |
| 6940 | - } | |
| 6941 | - throw new TypeError(_typeof(e) + " is not iterable"); | |
| 6942 | -} | |
| 6943 | -module.exports = _regeneratorValues, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6944 | - | |
| 6945 | -/***/ }), | |
| 6946 | - | |
| 6947 | -/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": | |
| 6948 | -/*!****************************************************************!*\ | |
| 6949 | - !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! | |
| 6950 | - \****************************************************************/ | |
| 6951 | -/***/ ((module) => { | |
| 6952 | - | |
| 6953 | -function _setPrototypeOf(t, e) { | |
| 6954 | - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 6955 | - return t.__proto__ = e, t; | |
| 6956 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 6957 | -} | |
| 6958 | -module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6959 | - | |
| 6960 | -/***/ }), | |
| 6961 | - | |
| 6962 | -/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js": | |
| 6963 | -/*!***************************************************************!*\ | |
| 6964 | - !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***! | |
| 6965 | - \***************************************************************/ | |
| 6966 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 6967 | - | |
| 6968 | -var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); | |
| 6969 | -var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); | |
| 6970 | -var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 6971 | -var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); | |
| 6972 | -function _slicedToArray(r, e) { | |
| 6973 | - return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); | |
| 6974 | -} | |
| 6975 | -module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6976 | - | |
| 6977 | -/***/ }), | |
| 6978 | - | |
| 6979 | -/***/ "../node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js": | |
| 6980 | -/*!***********************************************************************!*\ | |
| 6981 | - !*** ../node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js ***! | |
| 6982 | - \***********************************************************************/ | |
| 6983 | -/***/ ((module) => { | |
| 6984 | - | |
| 6985 | -function _taggedTemplateLiteral(e, t) { | |
| 6986 | - return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { | |
| 6987 | - raw: { | |
| 6988 | - value: Object.freeze(t) | |
| 6989 | - } | |
| 6990 | - })); | |
| 6991 | -} | |
| 6992 | -module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 6993 | - | |
| 6994 | -/***/ }), | |
| 6995 | - | |
| 6996 | -/***/ "../node_modules/@babel/runtime/helpers/toConsumableArray.js": | |
| 6997 | -/*!*******************************************************************!*\ | |
| 6998 | - !*** ../node_modules/@babel/runtime/helpers/toConsumableArray.js ***! | |
| 6999 | - \*******************************************************************/ | |
| 7000 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7001 | - | |
| 7002 | -var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"); | |
| 7003 | -var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../node_modules/@babel/runtime/helpers/iterableToArray.js"); | |
| 7004 | -var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 7005 | -var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js"); | |
| 7006 | -function _toConsumableArray(r) { | |
| 7007 | - return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread(); | |
| 7008 | -} | |
| 7009 | -module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 7010 | - | |
| 7011 | -/***/ }), | |
| 7012 | - | |
| 7013 | -/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 7014 | -/*!*************************************************************!*\ | |
| 7015 | - !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 7016 | - \*************************************************************/ | |
| 7017 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7018 | - | |
| 7019 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 7020 | -function toPrimitive(t, r) { | |
| 7021 | - if ("object" != _typeof(t) || !t) return t; | |
| 7022 | - var e = t[Symbol.toPrimitive]; | |
| 7023 | - if (void 0 !== e) { | |
| 7024 | - var i = e.call(t, r || "default"); | |
| 7025 | - if ("object" != _typeof(i)) return i; | |
| 7026 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 7027 | - } | |
| 7028 | - return ("string" === r ? String : Number)(t); | |
| 7029 | -} | |
| 7030 | -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 7031 | - | |
| 7032 | -/***/ }), | |
| 7033 | - | |
| 7034 | -/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 7035 | -/*!***************************************************************!*\ | |
| 7036 | - !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 7037 | - \***************************************************************/ | |
| 7038 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7039 | - | |
| 7040 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 7041 | -var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 7042 | -function toPropertyKey(t) { | |
| 7043 | - var i = toPrimitive(t, "string"); | |
| 7044 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 7045 | -} | |
| 7046 | -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 7047 | - | |
| 7048 | -/***/ }), | |
| 7049 | - | |
| 7050 | -/***/ "../node_modules/@babel/runtime/helpers/typeof.js": | |
| 7051 | -/*!********************************************************!*\ | |
| 7052 | - !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! | |
| 7053 | - \********************************************************/ | |
| 7054 | -/***/ ((module) => { | |
| 7055 | - | |
| 7056 | -function _typeof(o) { | |
| 7057 | - "@babel/helpers - typeof"; | |
| 7058 | - | |
| 7059 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 7060 | - return typeof o; | |
| 7061 | - } : function (o) { | |
| 7062 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 7063 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 7064 | -} | |
| 7065 | -module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 7066 | - | |
| 7067 | -/***/ }), | |
| 7068 | - | |
| 7069 | -/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": | |
| 7070 | -/*!****************************************************************************!*\ | |
| 7071 | - !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! | |
| 7072 | - \****************************************************************************/ | |
| 7073 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7074 | - | |
| 7075 | -var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); | |
| 7076 | -function _unsupportedIterableToArray(r, a) { | |
| 7077 | - if (r) { | |
| 7078 | - if ("string" == typeof r) return arrayLikeToArray(r, a); | |
| 7079 | - var t = {}.toString.call(r).slice(8, -1); | |
| 7080 | - 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; | |
| 7081 | - } | |
| 7082 | -} | |
| 7083 | -module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 7084 | - | |
| 7085 | -/***/ }), | |
| 7086 | - | |
| 7087 | -/***/ "../node_modules/@babel/runtime/regenerator/index.js": | |
| 7088 | -/*!***********************************************************!*\ | |
| 7089 | - !*** ../node_modules/@babel/runtime/regenerator/index.js ***! | |
| 7090 | - \***********************************************************/ | |
| 7091 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 7092 | - | |
| 7093 | -// TODO(Babel 8): Remove this file. | |
| 7094 | - | |
| 7095 | -var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")(); | |
| 7096 | -module.exports = runtime; | |
| 7097 | - | |
| 7098 | -// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= | |
| 7099 | -try { | |
| 7100 | - regeneratorRuntime = runtime; | |
| 7101 | -} catch (accidentalStrictMode) { | |
| 7102 | - if (typeof globalThis === "object") { | |
| 7103 | - globalThis.regeneratorRuntime = runtime; | |
| 7104 | - } else { | |
| 7105 | - Function("r", "regeneratorRuntime = r")(runtime); | |
| 7106 | - } | |
| 7107 | -} | |
| 7108 | - | |
| 7109 | - | |
| 7110 | -/***/ }), | |
| 7111 | - | |
| 7112 | 5847 | /***/ "../node_modules/html-to-image/es/apply-style.js": |
| 7113 | 5848 | /*!*******************************************************!*\ |
| 7114 | 5849 | !*** ../node_modules/html-to-image/es/apply-style.js ***! |
| 7115 | 5850 | \*******************************************************/ |
| @@ -7183,13 +5918,13 @@ | ||
| 7183 | 5918 | const contentType = (0,_mimes__WEBPACK_IMPORTED_MODULE_2__.getMimeType)(poster); |
| 7184 | 5919 | const dataURL = await (0,_dataurl__WEBPACK_IMPORTED_MODULE_3__.resourceToDataURL)(poster, contentType, options); |
| 7185 | 5920 | return (0,_util__WEBPACK_IMPORTED_MODULE_1__.createImage)(dataURL); |
| 7186 | 5921 | } |
| 7187 | -async function cloneIFrameElement(iframe, options) { | |
| 5922 | +async function cloneIFrameElement(iframe) { | |
| 7188 | 5923 | var _a; |
| 7189 | 5924 | try { |
| 7190 | 5925 | if ((_a = iframe === null || iframe === void 0 ? void 0 : iframe.contentDocument) === null || _a === void 0 ? void 0 : _a.body) { |
| 7191 | - return (await cloneNode(iframe.contentDocument.body, options, true)); | |
| 5926 | + return (await cloneNode(iframe.contentDocument.body, {}, true)); | |
| 7192 | 5927 | } |
| 7193 | 5928 | } |
| 7194 | 5929 | catch (_b) { |
| 7195 | 5930 | // Failed to clone iframe |
| @@ -7203,19 +5938,15 @@ | ||
| 7203 | 5938 | if ((0,_util__WEBPACK_IMPORTED_MODULE_1__.isInstanceOfElement)(node, HTMLVideoElement)) { |
| 7204 | 5939 | return cloneVideoElement(node, options); |
| 7205 | 5940 | } |
| 7206 | 5941 | if ((0,_util__WEBPACK_IMPORTED_MODULE_1__.isInstanceOfElement)(node, HTMLIFrameElement)) { |
| 7207 | - return cloneIFrameElement(node, options); | |
| 5942 | + return cloneIFrameElement(node); | |
| 7208 | 5943 | } |
| 7209 | - return node.cloneNode(isSVGElement(node)); | |
| 5944 | + return node.cloneNode(false); | |
| 7210 | 5945 | } |
| 7211 | 5946 | const isSlotElement = (node) => node.tagName != null && node.tagName.toUpperCase() === 'SLOT'; |
| 7212 | -const isSVGElement = (node) => node.tagName != null && node.tagName.toUpperCase() === 'SVG'; | |
| 7213 | 5947 | async function cloneChildren(nativeNode, clonedNode, options) { |
| 7214 | 5948 | var _a, _b; |
| 7215 | - if (isSVGElement(clonedNode)) { | |
| 7216 | - return clonedNode; | |
| 7217 | - } | |
| 7218 | 5949 | let children = []; |
| 7219 | 5950 | if (isSlotElement(nativeNode) && nativeNode.assignedNodes) { |
| 7220 | 5951 | children = (0,_util__WEBPACK_IMPORTED_MODULE_1__.toArray)(nativeNode.assignedNodes()); |
| 7221 | 5952 | } |
| @@ -7238,9 +5969,9 @@ | ||
| 7238 | 5969 | } |
| 7239 | 5970 | }), Promise.resolve()); |
| 7240 | 5971 | return clonedNode; |
| 7241 | 5972 | } |
| 7242 | -function cloneCSSStyle(nativeNode, clonedNode, options) { | |
| 5973 | +function cloneCSSStyle(nativeNode, clonedNode) { | |
| 7243 | 5974 | const targetStyle = clonedNode.style; |
| 7244 | 5975 | if (!targetStyle) { |
| 7245 | 5976 | return; |
| 7246 | 5977 | } |
| @@ -7249,9 +5980,9 @@ | ||
| 7249 | 5980 | targetStyle.cssText = sourceStyle.cssText; |
| 7250 | 5981 | targetStyle.transformOrigin = sourceStyle.transformOrigin; |
| 7251 | 5982 | } |
| 7252 | 5983 | else { |
| 7253 | - (0,_util__WEBPACK_IMPORTED_MODULE_1__.getStyleProperties)(options).forEach((name) => { | |
| 5984 | + (0,_util__WEBPACK_IMPORTED_MODULE_1__.toArray)(sourceStyle).forEach((name) => { | |
| 7254 | 5985 | let value = sourceStyle.getPropertyValue(name); |
| 7255 | 5986 | if (name === 'font-size' && value.endsWith('px')) { |
| 7256 | 5987 | const reducedFont = Math.floor(parseFloat(value.substring(0, value.length - 2))) - 0.1; |
| 7257 | 5988 | value = `${reducedFont}px`; |
| @@ -7284,12 +6015,12 @@ | ||
| 7284 | 6015 | selectedOption.setAttribute('selected', ''); |
| 7285 | 6016 | } |
| 7286 | 6017 | } |
| 7287 | 6018 | } |
| 7288 | -function decorate(nativeNode, clonedNode, options) { | |
| 6019 | +function decorate(nativeNode, clonedNode) { | |
| 7289 | 6020 | if ((0,_util__WEBPACK_IMPORTED_MODULE_1__.isInstanceOfElement)(clonedNode, Element)) { |
| 7290 | - cloneCSSStyle(nativeNode, clonedNode, options); | |
| 7291 | - (0,_clone_pseudos__WEBPACK_IMPORTED_MODULE_0__.clonePseudoElements)(nativeNode, clonedNode, options); | |
| 6021 | + cloneCSSStyle(nativeNode, clonedNode); | |
| 6022 | + (0,_clone_pseudos__WEBPACK_IMPORTED_MODULE_0__.clonePseudoElements)(nativeNode, clonedNode); | |
| 7292 | 6023 | cloneInputValue(nativeNode, clonedNode); |
| 7293 | 6024 | cloneSelectValue(nativeNode, clonedNode); |
| 7294 | 6025 | } |
| 7295 | 6026 | return clonedNode; |
| @@ -7337,9 +6068,9 @@ | ||
| 7337 | 6068 | } |
| 7338 | 6069 | return Promise.resolve(node) |
| 7339 | 6070 | .then((clonedNode) => cloneSingleNode(clonedNode, options)) |
| 7340 | 6071 | .then((clonedNode) => cloneChildren(node, clonedNode, options)) |
| 7341 | - .then((clonedNode) => decorate(node, clonedNode, options)) | |
| 6072 | + .then((clonedNode) => decorate(node, clonedNode)) | |
| 7342 | 6073 | .then((clonedNode) => ensureSVGSymbols(clonedNode, options)); |
| 7343 | 6074 | } |
| 7344 | 6075 | //# sourceMappingURL=clone-node.js.map |
| 7345 | 6076 | |
| @@ -7361,10 +6092,10 @@ | ||
| 7361 | 6092 | function formatCSSText(style) { |
| 7362 | 6093 | const content = style.getPropertyValue('content'); |
| 7363 | 6094 | return `${style.cssText} content: '${content.replace(/'|"/g, '')}';`; |
| 7364 | 6095 | } |
| 7365 | -function formatCSSProperties(style, options) { | |
| 7366 | - return (0,_util__WEBPACK_IMPORTED_MODULE_0__.getStyleProperties)(options) | |
| 6096 | +function formatCSSProperties(style) { | |
| 6097 | + return (0,_util__WEBPACK_IMPORTED_MODULE_0__.toArray)(style) | |
| 7367 | 6098 | .map((name) => { |
| 7368 | 6099 | const value = style.getPropertyValue(name); |
| 7369 | 6100 | const priority = style.getPropertyPriority(name); |
| 7370 | 6101 | return `${name}: ${value}${priority ? ' !important' : ''};`; |
| @@ -7370,16 +6101,16 @@ | ||
| 7370 | 6101 | return `${name}: ${value}${priority ? ' !important' : ''};`; |
| 7371 | 6102 | }) |
| 7372 | 6103 | .join(' '); |
| 7373 | 6104 | } |
| 7374 | -function getPseudoElementStyle(className, pseudo, style, options) { | |
| 6105 | +function getPseudoElementStyle(className, pseudo, style) { | |
| 7375 | 6106 | const selector = `.${className}:${pseudo}`; |
| 7376 | 6107 | const cssText = style.cssText |
| 7377 | 6108 | ? formatCSSText(style) |
| 7378 | - : formatCSSProperties(style, options); | |
| 6109 | + : formatCSSProperties(style); | |
| 7379 | 6110 | return document.createTextNode(`${selector}{${cssText}}`); |
| 7380 | 6111 | } |
| 7381 | -function clonePseudoElement(nativeNode, clonedNode, pseudo, options) { | |
| 6112 | +function clonePseudoElement(nativeNode, clonedNode, pseudo) { | |
| 7382 | 6113 | const style = window.getComputedStyle(nativeNode, pseudo); |
| 7383 | 6114 | const content = style.getPropertyValue('content'); |
| 7384 | 6115 | if (content === '' || content === 'none') { |
| 7385 | 6116 | return; |
| @@ -7391,14 +6122,14 @@ | ||
| 7391 | 6122 | catch (err) { |
| 7392 | 6123 | return; |
| 7393 | 6124 | } |
| 7394 | 6125 | const styleElement = document.createElement('style'); |
| 7395 | - styleElement.appendChild(getPseudoElementStyle(className, pseudo, style, options)); | |
| 6126 | + styleElement.appendChild(getPseudoElementStyle(className, pseudo, style)); | |
| 7396 | 6127 | clonedNode.appendChild(styleElement); |
| 7397 | 6128 | } |
| 7398 | -function clonePseudoElements(nativeNode, clonedNode, options) { | |
| 7399 | - clonePseudoElement(nativeNode, clonedNode, ':before', options); | |
| 7400 | - clonePseudoElement(nativeNode, clonedNode, ':after', options); | |
| 6129 | +function clonePseudoElements(nativeNode, clonedNode) { | |
| 6130 | + clonePseudoElement(nativeNode, clonedNode, ':before'); | |
| 6131 | + clonePseudoElement(nativeNode, clonedNode, ':after'); | |
| 7401 | 6132 | } |
| 7402 | 6133 | //# sourceMappingURL=clone-pseudos.js.map |
| 7403 | 6134 | |
| 7404 | 6135 | /***/ }), |
| @@ -7525,15 +6256,14 @@ | ||
| 7525 | 6256 | } |
| 7526 | 6257 | return false; |
| 7527 | 6258 | } |
| 7528 | 6259 | async function embedBackground(clonedNode, options) { |
| 7529 | - ; | |
| 7530 | - (await embedProp('background', clonedNode, options)) || | |
| 7531 | - (await embedProp('background-image', clonedNode, options)); | |
| 7532 | - (await embedProp('mask', clonedNode, options)) || | |
| 7533 | - (await embedProp('-webkit-mask', clonedNode, options)) || | |
| 7534 | - (await embedProp('mask-image', clonedNode, options)) || | |
| 7535 | - (await embedProp('-webkit-mask-image', clonedNode, options)); | |
| 6260 | + if (!(await embedProp('background', clonedNode, options))) { | |
| 6261 | + await embedProp('background-image', clonedNode, options); | |
| 6262 | + } | |
| 6263 | + if (!(await embedProp('mask', clonedNode, options))) { | |
| 6264 | + await embedProp('mask-image', clonedNode, options); | |
| 6265 | + } | |
| 7536 | 6266 | } |
| 7537 | 6267 | async function embedImageNode(clonedNode, options) { |
| 7538 | 6268 | const isImageElement = (0,_util__WEBPACK_IMPORTED_MODULE_1__.isInstanceOfElement)(clonedNode, HTMLImageElement); |
| 7539 | 6269 | if (!(isImageElement && !(0,_dataurl__WEBPACK_IMPORTED_MODULE_2__.isDataUrl)(clonedNode.src)) && |
| @@ -7544,18 +6274,9 @@ | ||
| 7544 | 6274 | const url = isImageElement ? clonedNode.src : clonedNode.href.baseVal; |
| 7545 | 6275 | const dataURL = await (0,_dataurl__WEBPACK_IMPORTED_MODULE_2__.resourceToDataURL)(url, (0,_mimes__WEBPACK_IMPORTED_MODULE_3__.getMimeType)(url), options); |
| 7546 | 6276 | await new Promise((resolve, reject) => { |
| 7547 | 6277 | clonedNode.onload = resolve; |
| 7548 | - clonedNode.onerror = options.onImageErrorHandler | |
| 7549 | - ? (...attributes) => { | |
| 7550 | - try { | |
| 7551 | - resolve(options.onImageErrorHandler(...attributes)); | |
| 7552 | - } | |
| 7553 | - catch (error) { | |
| 7554 | - reject(error); | |
| 7555 | - } | |
| 7556 | - } | |
| 7557 | - : reject; | |
| 6278 | + clonedNode.onerror = reject; | |
| 7558 | 6279 | const image = clonedNode; |
| 7559 | 6280 | if (image.decode) { |
| 7560 | 6281 | image.decode = resolve; |
| 7561 | 6282 | } |
| @@ -7801,9 +6522,9 @@ | ||
| 7801 | 6522 | if (sheet.href != null) { |
| 7802 | 6523 | deferreds.push(fetchCSS(sheet.href) |
| 7803 | 6524 | .then((metadata) => embedFonts(metadata, options)) |
| 7804 | 6525 | .then((cssText) => parseCSS(cssText).forEach((rule) => { |
| 7805 | - inline.insertRule(rule, inline.cssRules.length); | |
| 6526 | + inline.insertRule(rule, sheet.cssRules.length); | |
| 7806 | 6527 | })) |
| 7807 | 6528 | .catch((err) => { |
| 7808 | 6529 | console.error('Error loading remote stylesheet', err); |
| 7809 | 6530 | })); |
| @@ -7841,36 +6562,12 @@ | ||
| 7841 | 6562 | const styleSheets = (0,_util__WEBPACK_IMPORTED_MODULE_0__.toArray)(node.ownerDocument.styleSheets); |
| 7842 | 6563 | const cssRules = await getCSSRules(styleSheets, options); |
| 7843 | 6564 | return getWebFontRules(cssRules); |
| 7844 | 6565 | } |
| 7845 | -function normalizeFontFamily(font) { | |
| 7846 | - return font.trim().replace(/["']/g, ''); | |
| 7847 | -} | |
| 7848 | -function getUsedFonts(node) { | |
| 7849 | - const fonts = new Set(); | |
| 7850 | - function traverse(node) { | |
| 7851 | - const fontFamily = node.style.fontFamily || getComputedStyle(node).fontFamily; | |
| 7852 | - fontFamily.split(',').forEach((font) => { | |
| 7853 | - fonts.add(normalizeFontFamily(font)); | |
| 7854 | - }); | |
| 7855 | - Array.from(node.children).forEach((child) => { | |
| 7856 | - if (child instanceof HTMLElement) { | |
| 7857 | - traverse(child); | |
| 7858 | - } | |
| 7859 | - }); | |
| 7860 | - } | |
| 7861 | - traverse(node); | |
| 7862 | - return fonts; | |
| 7863 | -} | |
| 7864 | 6566 | async function getWebFontCSS(node, options) { |
| 7865 | 6567 | const rules = await parseWebFontRules(node, options); |
| 7866 | - const usedFonts = getUsedFonts(node); | |
| 7867 | - const cssTexts = await Promise.all(rules | |
| 7868 | - .filter((rule) => usedFonts.has(normalizeFontFamily(rule.style.fontFamily))) | |
| 7869 | - .map((rule) => { | |
| 7870 | - const baseUrl = rule.parentStyleSheet | |
| 7871 | - ? rule.parentStyleSheet.href | |
| 7872 | - : null; | |
| 6568 | + const cssTexts = await Promise.all(rules.map((rule) => { | |
| 6569 | + const baseUrl = rule.parentStyleSheet ? rule.parentStyleSheet.href : null; | |
| 7873 | 6570 | return (0,_embed_resources__WEBPACK_IMPORTED_MODULE_2__.embedResources)(rule.cssText, baseUrl, options); |
| 7874 | 6571 | })); |
| 7875 | 6572 | return cssTexts.join('\n'); |
| 7876 | 6573 | } |
| @@ -8033,9 +6730,8 @@ | ||
| 8033 | 6730 | /* harmony export */ createImage: () => (/* binding */ createImage), |
| 8034 | 6731 | /* harmony export */ delay: () => (/* binding */ delay), |
| 8035 | 6732 | /* harmony export */ getImageSize: () => (/* binding */ getImageSize), |
| 8036 | 6733 | /* harmony export */ getPixelRatio: () => (/* binding */ getPixelRatio), |
| 8037 | -/* harmony export */ getStyleProperties: () => (/* binding */ getStyleProperties), | |
| 8038 | 6734 | /* harmony export */ isInstanceOfElement: () => (/* binding */ isInstanceOfElement), |
| 8039 | 6735 | /* harmony export */ nodeToDataURL: () => (/* binding */ nodeToDataURL), |
| 8040 | 6736 | /* harmony export */ resolveUrl: () => (/* binding */ resolveUrl), |
| 8041 | 6737 | /* harmony export */ svgToDataURL: () => (/* binding */ svgToDataURL), |
| @@ -8090,20 +6786,8 @@ | ||
| 8090 | 6786 | arr.push(arrayLike[i]); |
| 8091 | 6787 | } |
| 8092 | 6788 | return arr; |
| 8093 | 6789 | } |
| 8094 | -let styleProps = null; | |
| 8095 | -function getStyleProperties(options = {}) { | |
| 8096 | - if (styleProps) { | |
| 8097 | - return styleProps; | |
| 8098 | - } | |
| 8099 | - if (options.includeStyleProperties) { | |
| 8100 | - styleProps = options.includeStyleProperties; | |
| 8101 | - return styleProps; | |
| 8102 | - } | |
| 8103 | - styleProps = toArray(window.getComputedStyle(document.documentElement)); | |
| 8104 | - return styleProps; | |
| 8105 | -} | |
| 8106 | 6790 | function px(node, styleProperty) { |
| 8107 | 6791 | const win = node.ownerDocument.defaultView || window; |
| 8108 | 6792 | const val = win.getComputedStyle(node).getPropertyValue(styleProperty); |
| 8109 | 6793 | return val ? parseFloat(val.replace('px', '')) : 0; |
| @@ -8191,13 +6875,10 @@ | ||
| 8191 | 6875 | } |
| 8192 | 6876 | function createImage(url) { |
| 8193 | 6877 | return new Promise((resolve, reject) => { |
| 8194 | 6878 | const img = new Image(); |
| 8195 | - img.onload = () => { | |
| 8196 | - img.decode().then(() => { | |
| 8197 | - requestAnimationFrame(() => resolve(img)); | |
| 8198 | - }); | |
| 8199 | - }; | |
| 6879 | + img.decode = () => resolve(img); | |
| 6880 | + img.onload = () => resolve(img); | |
| 8200 | 6881 | img.onerror = reject; |
| 8201 | 6882 | img.crossOrigin = 'anonymous'; |
| 8202 | 6883 | img.decoding = 'async'; |
| 8203 | 6884 | img.src = url; |
| @@ -9093,10 +7774,9 @@ | ||
| 9093 | 7774 | // By explicitly using `prop-types` you are opting into new development behavior. |
| 9094 | 7775 | // http://fb.me/prop-types-in-prod |
| 9095 | 7776 | var throwOnDirectAccess = true; |
| 9096 | 7777 | module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "../node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess); |
| 9097 | -} else // removed by dead control flow | |
| 9098 | -{} | |
| 7778 | +} else {} | |
| 9099 | 7779 | |
| 9100 | 7780 | |
| 9101 | 7781 | /***/ }), |
| 9102 | 7782 | |
| @@ -9334,10 +8014,9 @@ | ||
| 9334 | 8014 | |
| 9335 | 8015 | "use strict"; |
| 9336 | 8016 | |
| 9337 | 8017 | |
| 9338 | -if (false) // removed by dead control flow | |
| 9339 | -{} else { | |
| 8018 | +if (false) {} else { | |
| 9340 | 8019 | module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"); |
| 9341 | 8020 | } |
| 9342 | 8021 | |
| 9343 | 8022 | |
| @@ -9352,10 +8031,9 @@ | ||
| 9352 | 8031 | "use strict"; |
| 9353 | 8032 | |
| 9354 | 8033 | |
| 9355 | 8034 | var m = __webpack_require__(/*! react-dom */ "react-dom"); |
| 9356 | -if (false) // removed by dead control flow | |
| 9357 | -{} else { | |
| 8035 | +if (false) {} else { | |
| 9358 | 8036 | var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; |
| 9359 | 8037 | exports.createRoot = function(c, o) { |
| 9360 | 8038 | i.usingClientEntryPoint = true; |
| 9361 | 8039 | try { |
| @@ -9398,20 +8076,21 @@ | ||
| 9398 | 8076 | exports["default"] = void 0; |
| 9399 | 8077 | var React = _interopRequireWildcard(__webpack_require__(/*! react */ "react")); |
| 9400 | 8078 | var _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ "../node_modules/prop-types/index.js")); |
| 9401 | 8079 | var _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ "react-dom")); |
| 9402 | -var _clsx = __webpack_require__(/*! clsx */ "../node_modules/react-draggable/node_modules/clsx/dist/clsx.js"); | |
| 8080 | +var _clsx = _interopRequireDefault(__webpack_require__(/*! clsx */ "../node_modules/react-draggable/node_modules/clsx/dist/clsx.m.js")); | |
| 9403 | 8081 | var _domFns = __webpack_require__(/*! ./utils/domFns */ "../node_modules/react-draggable/build/cjs/utils/domFns.js"); |
| 9404 | 8082 | var _positionFns = __webpack_require__(/*! ./utils/positionFns */ "../node_modules/react-draggable/build/cjs/utils/positionFns.js"); |
| 9405 | 8083 | var _shims = __webpack_require__(/*! ./utils/shims */ "../node_modules/react-draggable/build/cjs/utils/shims.js"); |
| 9406 | 8084 | var _DraggableCore = _interopRequireDefault(__webpack_require__(/*! ./DraggableCore */ "../node_modules/react-draggable/build/cjs/DraggableCore.js")); |
| 9407 | 8085 | var _log = _interopRequireDefault(__webpack_require__(/*! ./utils/log */ "../node_modules/react-draggable/build/cjs/utils/log.js")); |
| 9408 | -function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | |
| 9409 | -function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (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 (const 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); } | |
| 9410 | -function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } | |
| 9411 | -function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } | |
| 9412 | -function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; } | |
| 9413 | -function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*:: import type {ControlPosition, PositionOffsetControlPosition, DraggableCoreProps, DraggableCoreDefaultProps} from './DraggableCore';*/ | |
| 8086 | +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | |
| 8087 | +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | |
| 8088 | +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | |
| 8089 | +function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | |
| 8090 | +function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | |
| 8091 | +function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } | |
| 8092 | +function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /*:: import type {ControlPosition, PositionOffsetControlPosition, DraggableCoreProps, DraggableCoreDefaultProps} from './DraggableCore';*/ | |
| 9414 | 8093 | /*:: import type {Bounds, DraggableEventHandler} from './utils/types';*/ |
| 9415 | 8094 | /*:: import type {Element as ReactElement} from 'react';*/ |
| 9416 | 8095 | /*:: type DraggableState = { |
| 9417 | 8096 | dragging: boolean, |
| @@ -9582,19 +8261,18 @@ | ||
| 9582 | 8261 | }); |
| 9583 | 8262 | } |
| 9584 | 8263 | } |
| 9585 | 8264 | componentWillUnmount() { |
| 9586 | - if (this.state.dragging) { | |
| 9587 | - this.setState({ | |
| 9588 | - dragging: false | |
| 9589 | - }); // prevents invariant if unmounted while dragging | |
| 9590 | - } | |
| 8265 | + this.setState({ | |
| 8266 | + dragging: false | |
| 8267 | + }); // prevents invariant if unmounted while dragging | |
| 9591 | 8268 | } |
| 9592 | 8269 | |
| 9593 | 8270 | // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find |
| 9594 | 8271 | // the underlying DOM node ourselves. See the README for more information. |
| 9595 | 8272 | findDOMNode() /*: ?HTMLElement*/{ |
| 9596 | - return this.props?.nodeRef?.current ?? _reactDom.default.findDOMNode(this); | |
| 8273 | + var _this$props$nodeRef$c, _this$props; | |
| 8274 | + return (_this$props$nodeRef$c = (_this$props = this.props) === null || _this$props === void 0 || (_this$props = _this$props.nodeRef) === null || _this$props === void 0 ? void 0 : _this$props.current) !== null && _this$props$nodeRef$c !== void 0 ? _this$props$nodeRef$c : _reactDom.default.findDOMNode(this); | |
| 9597 | 8275 | } |
| 9598 | 8276 | render() /*: ReactElement<any>*/{ |
| 9599 | 8277 | const { |
| 9600 | 8278 | axis, |
| @@ -9634,9 +8312,9 @@ | ||
| 9634 | 8312 | style = (0, _domFns.createCSSTransform)(transformOpts, positionOffset); |
| 9635 | 8313 | } |
| 9636 | 8314 | |
| 9637 | 8315 | // Mark with class while dragging |
| 9638 | - const className = (0, _clsx.clsx)(children.props.className || '', defaultClassName, { | |
| 8316 | + const className = (0, _clsx.default)(children.props.className || '', defaultClassName, { | |
| 9639 | 8317 | [defaultClassNameDragging]: this.state.dragging, |
| 9640 | 8318 | [defaultClassNameDragged]: this.state.dragged |
| 9641 | 8319 | }); |
| 9642 | 8320 | |
| @@ -9801,13 +8479,14 @@ | ||
| 9801 | 8479 | var _domFns = __webpack_require__(/*! ./utils/domFns */ "../node_modules/react-draggable/build/cjs/utils/domFns.js"); |
| 9802 | 8480 | var _positionFns = __webpack_require__(/*! ./utils/positionFns */ "../node_modules/react-draggable/build/cjs/utils/positionFns.js"); |
| 9803 | 8481 | var _shims = __webpack_require__(/*! ./utils/shims */ "../node_modules/react-draggable/build/cjs/utils/shims.js"); |
| 9804 | 8482 | var _log = _interopRequireDefault(__webpack_require__(/*! ./utils/log */ "../node_modules/react-draggable/build/cjs/utils/log.js")); |
| 9805 | -function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | |
| 9806 | -function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (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 (const 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); } | |
| 9807 | -function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } | |
| 9808 | -function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; } | |
| 9809 | -function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } | |
| 8483 | +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | |
| 8484 | +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | |
| 8485 | +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | |
| 8486 | +function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | |
| 8487 | +function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } | |
| 8488 | +function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } | |
| 9810 | 8489 | /*:: import type {EventHandler, MouseTouchEvent} from './utils/types';*/ |
| 9811 | 8490 | /*:: import type {Element as ReactElement} from 'react';*/ |
| 9812 | 8491 | // Simple abstraction for dragging events names. |
| 9813 | 8492 | const eventsFor = { |
| @@ -9835,9 +8514,8 @@ | ||
| 9835 | 8514 | /*:: export type ControlPosition = {x: number, y: number};*/ |
| 9836 | 8515 | /*:: export type PositionOffsetControlPosition = {x: number|string, y: number|string};*/ |
| 9837 | 8516 | /*:: export type DraggableCoreDefaultProps = { |
| 9838 | 8517 | allowAnyClick: boolean, |
| 9839 | - allowMobileScroll: boolean, | |
| 9840 | 8518 | disabled: boolean, |
| 9841 | 8519 | enableUserSelectHack: boolean, |
| 9842 | 8520 | onStart: DraggableEventHandler, |
| 9843 | 8521 | onDrag: DraggableEventHandler, |
| @@ -9892,9 +8570,9 @@ | ||
| 9892 | 8570 | } |
| 9893 | 8571 | |
| 9894 | 8572 | // Prevent scrolling on mobile devices, like ipad/iphone. |
| 9895 | 8573 | // Important that this is after handle/cancel. |
| 9896 | - if (e.type === 'touchstart' && !this.props.allowMobileScroll) e.preventDefault(); | |
| 8574 | + if (e.type === 'touchstart') e.preventDefault(); | |
| 9897 | 8575 | |
| 9898 | 8576 | // Set touch identifier in component state if this is a touch event. This allows us to |
| 9899 | 8577 | // distinguish between individual touches on multitouch screens by identifying which |
| 9900 | 8578 | // touchpoint was set to this element. |
| @@ -9997,9 +8675,9 @@ | ||
| 9997 | 8675 | if (shouldContinue === false || this.mounted === false) return false; |
| 9998 | 8676 | const thisNode = this.findDOMNode(); |
| 9999 | 8677 | if (thisNode) { |
| 10000 | 8678 | // Remove user-select hack |
| 10001 | - if (this.props.enableUserSelectHack) (0, _domFns.scheduleRemoveUserSelectStyles)(thisNode.ownerDocument); | |
| 8679 | + if (this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(thisNode.ownerDocument); | |
| 10002 | 8680 | } |
| 10003 | 8681 | (0, _log.default)('DraggableCore: handleDragStop: %j', coreEvent); |
| 10004 | 8682 | |
| 10005 | 8683 | // Reset the el. |
| @@ -10060,9 +8738,9 @@ | ||
| 10060 | 8738 | (0, _domFns.removeEvent)(ownerDocument, eventsFor.touch.stop, this.handleDragStop); |
| 10061 | 8739 | (0, _domFns.removeEvent)(thisNode, eventsFor.touch.start, this.onTouchStart, { |
| 10062 | 8740 | passive: false |
| 10063 | 8741 | }); |
| 10064 | - if (this.props.enableUserSelectHack) (0, _domFns.scheduleRemoveUserSelectStyles)(ownerDocument); | |
| 8742 | + if (this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(ownerDocument); | |
| 10065 | 8743 | } |
| 10066 | 8744 | } |
| 10067 | 8745 | |
| 10068 | 8746 | // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find |
| @@ -10067,9 +8745,10 @@ | ||
| 10067 | 8745 | |
| 10068 | 8746 | // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find |
| 10069 | 8747 | // the underlying DOM node ourselves. See the README for more information. |
| 10070 | 8748 | findDOMNode() /*: ?HTMLElement*/{ |
| 10071 | - return this.props?.nodeRef ? this.props?.nodeRef?.current : _reactDom.default.findDOMNode(this); | |
| 8749 | + var _this$props, _this$props2; | |
| 8750 | + return (_this$props = this.props) !== null && _this$props !== void 0 && _this$props.nodeRef ? (_this$props2 = this.props) === null || _this$props2 === void 0 || (_this$props2 = _this$props2.nodeRef) === null || _this$props2 === void 0 ? void 0 : _this$props2.current : _reactDom.default.findDOMNode(this); | |
| 10072 | 8751 | } |
| 10073 | 8752 | render() /*: React.Element<any>*/{ |
| 10074 | 8753 | // Reuse the child provided |
| 10075 | 8754 | // This makes it flexible to use whatever element is wanted (div, ul, etc) |
| @@ -10094,16 +8773,8 @@ | ||
| 10094 | 8773 | * |
| 10095 | 8774 | * Defaults to `false`. |
| 10096 | 8775 | */ |
| 10097 | 8776 | allowAnyClick: _propTypes.default.bool, |
| 10098 | - /** | |
| 10099 | - * `allowMobileScroll` turns off cancellation of the 'touchstart' event | |
| 10100 | - * on mobile devices. Only enable this if you are having trouble with click | |
| 10101 | - * events. Prefer using 'handle' / 'cancel' instead. | |
| 10102 | - * | |
| 10103 | - * Defaults to `false`. | |
| 10104 | - */ | |
| 10105 | - allowMobileScroll: _propTypes.default.bool, | |
| 10106 | 8777 | children: _propTypes.default.node.isRequired, |
| 10107 | 8778 | /** |
| 10108 | 8779 | * `disabled`, if true, stops the <Draggable> from dragging. All handlers, |
| 10109 | 8780 | * with the exception of `onMouseDown`, will not fire. |
| @@ -10221,9 +8892,8 @@ | ||
| 10221 | 8892 | }); |
| 10222 | 8893 | _defineProperty(DraggableCore, "defaultProps", { |
| 10223 | 8894 | allowAnyClick: false, |
| 10224 | 8895 | // by default only accept left click |
| 10225 | - allowMobileScroll: false, | |
| 10226 | 8896 | disabled: false, |
| 10227 | 8897 | enableUserSelectHack: true, |
| 10228 | 8898 | onStart: function () {}, |
| 10229 | 8899 | onDrag: function () {}, |
| @@ -10285,12 +8955,13 @@ | ||
| 10285 | 8955 | exports.outerHeight = outerHeight; |
| 10286 | 8956 | exports.outerWidth = outerWidth; |
| 10287 | 8957 | exports.removeClassName = removeClassName; |
| 10288 | 8958 | exports.removeEvent = removeEvent; |
| 10289 | -exports.scheduleRemoveUserSelectStyles = scheduleRemoveUserSelectStyles; | |
| 8959 | +exports.removeUserSelectStyles = removeUserSelectStyles; | |
| 10290 | 8960 | var _shims = __webpack_require__(/*! ./shims */ "../node_modules/react-draggable/build/cjs/utils/shims.js"); |
| 10291 | 8961 | var _getPrefix = _interopRequireWildcard(__webpack_require__(/*! ./getPrefix */ "../node_modules/react-draggable/build/cjs/utils/getPrefix.js")); |
| 10292 | -function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (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 (const 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); } | |
| 8962 | +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | |
| 8963 | +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | |
| 10293 | 8964 | /*:: import type {ControlPosition, PositionOffsetControlPosition, MouseTouchEvent} from './types';*/ |
| 10294 | 8965 | let matchesSelectorFunc = ''; |
| 10295 | 8966 | function matchesSelector(el /*: Node*/, selector /*: string*/) /*: boolean*/{ |
| 10296 | 8967 | if (!matchesSelectorFunc) { |
| @@ -10414,13 +9085,13 @@ | ||
| 10414 | 9085 | let { |
| 10415 | 9086 | x, |
| 10416 | 9087 | y |
| 10417 | 9088 | } /*: ControlPosition*/ = _ref /*: ControlPosition*/; |
| 10418 | - let translation = `translate(${x}${unitSuffix},${y}${unitSuffix})`; | |
| 9089 | + let translation = "translate(".concat(x).concat(unitSuffix, ",").concat(y).concat(unitSuffix, ")"); | |
| 10419 | 9090 | if (positionOffset) { |
| 10420 | - const defaultX = `${typeof positionOffset.x === 'string' ? positionOffset.x : positionOffset.x + unitSuffix}`; | |
| 10421 | - const defaultY = `${typeof positionOffset.y === 'string' ? positionOffset.y : positionOffset.y + unitSuffix}`; | |
| 10422 | - translation = `translate(${defaultX}, ${defaultY})` + translation; | |
| 9091 | + const defaultX = "".concat(typeof positionOffset.x === 'string' ? positionOffset.x : positionOffset.x + unitSuffix); | |
| 9092 | + const defaultY = "".concat(typeof positionOffset.y === 'string' ? positionOffset.y : positionOffset.y + unitSuffix); | |
| 9093 | + translation = "translate(".concat(defaultX, ", ").concat(defaultY, ")") + translation; | |
| 10423 | 9094 | } |
| 10424 | 9095 | return translation; |
| 10425 | 9096 | } |
| 10426 | 9097 | function getTouch(e /*: MouseTouchEvent*/, identifier /*: number*/) /*: ?{clientX: number, clientY: number}*/{ |
| @@ -10448,18 +9119,8 @@ | ||
| 10448 | 9119 | doc.getElementsByTagName('head')[0].appendChild(styleEl); |
| 10449 | 9120 | } |
| 10450 | 9121 | if (doc.body) addClassName(doc.body, 'react-draggable-transparent-selection'); |
| 10451 | 9122 | } |
| 10452 | -function scheduleRemoveUserSelectStyles(doc /*: ?Document*/) { | |
| 10453 | - // Prevent a possible "forced reflow" | |
| 10454 | - if (window.requestAnimationFrame) { | |
| 10455 | - window.requestAnimationFrame(() => { | |
| 10456 | - removeUserSelectStyles(doc); | |
| 10457 | - }); | |
| 10458 | - } else { | |
| 10459 | - removeUserSelectStyles(doc); | |
| 10460 | - } | |
| 10461 | -} | |
| 10462 | 9123 | function removeUserSelectStyles(doc /*: ?Document*/) { |
| 10463 | 9124 | if (!doc) return; |
| 10464 | 9125 | try { |
| 10465 | 9126 | if (doc.body) removeClassName(doc.body, 'react-draggable-transparent-selection'); |
| @@ -10482,10 +9143,10 @@ | ||
| 10482 | 9143 | function addClassName(el /*: HTMLElement*/, className /*: string*/) { |
| 10483 | 9144 | if (el.classList) { |
| 10484 | 9145 | el.classList.add(className); |
| 10485 | 9146 | } else { |
| 10486 | - if (!el.className.match(new RegExp(`(?:^|\\s)${className}(?!\\S)`))) { | |
| 10487 | - el.className += ` ${className}`; | |
| 9147 | + if (!el.className.match(new RegExp("(?:^|\\s)".concat(className, "(?!\\S)")))) { | |
| 9148 | + el.className += " ".concat(className); | |
| 10488 | 9149 | } |
| 10489 | 9150 | } |
| 10490 | 9151 | } |
| 10491 | 9152 | function removeClassName(el /*: HTMLElement*/, className /*: string*/) { |
| @@ -10491,9 +9152,9 @@ | ||
| 10491 | 9152 | function removeClassName(el /*: HTMLElement*/, className /*: string*/) { |
| 10492 | 9153 | if (el.classList) { |
| 10493 | 9154 | el.classList.remove(className); |
| 10494 | 9155 | } else { |
| 10495 | - el.className = el.className.replace(new RegExp(`(?:^|\\s)${className}(?!\\S)`, 'g'), ''); | |
| 9156 | + el.className = el.className.replace(new RegExp("(?:^|\\s)".concat(className, "(?!\\S)"), 'g'), ''); | |
| 10496 | 9157 | } |
| 10497 | 9158 | } |
| 10498 | 9159 | |
| 10499 | 9160 | /***/ }), |
| @@ -10515,8 +9176,9 @@ | ||
| 10515 | 9176 | exports["default"] = void 0; |
| 10516 | 9177 | exports.getPrefix = getPrefix; |
| 10517 | 9178 | const prefixes = ['Moz', 'Webkit', 'O', 'ms']; |
| 10518 | 9179 | function getPrefix() /*: string*/{ |
| 9180 | + var _window$document; | |
| 10519 | 9181 | let prop /*: string*/ = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'transform'; |
| 10520 | 9182 | // Ensure we're running in an environment where there is actually a global |
| 10521 | 9183 | // `window` obj |
| 10522 | 9184 | if (typeof window === 'undefined') return ''; |
| @@ -10522,9 +9184,9 @@ | ||
| 10522 | 9184 | if (typeof window === 'undefined') return ''; |
| 10523 | 9185 | |
| 10524 | 9186 | // If we're in a pseudo-browser server-side environment, this access |
| 10525 | 9187 | // path may not exist, so bail out if it doesn't. |
| 10526 | - const style = window.document?.documentElement?.style; | |
| 9188 | + const style = (_window$document = window.document) === null || _window$document === void 0 || (_window$document = _window$document.documentElement) === null || _window$document === void 0 ? void 0 : _window$document.style; | |
| 10527 | 9189 | if (!style) return ''; |
| 10528 | 9190 | if (prop in style) return ''; |
| 10529 | 9191 | for (let i = 0; i < prefixes.length; i++) { |
| 10530 | 9192 | if (browserPrefixToKey(prop, prefixes[i]) in style) return prefixes[i]; |
| @@ -10531,12 +9193,12 @@ | ||
| 10531 | 9193 | } |
| 10532 | 9194 | return ''; |
| 10533 | 9195 | } |
| 10534 | 9196 | function browserPrefixToKey(prop /*: string*/, prefix /*: string*/) /*: string*/{ |
| 10535 | - return prefix ? `${prefix}${kebabToTitleCase(prop)}` : prop; | |
| 9197 | + return prefix ? "".concat(prefix).concat(kebabToTitleCase(prop)) : prop; | |
| 10536 | 9198 | } |
| 10537 | 9199 | function browserPrefixToStyle(prop /*: string*/, prefix /*: string*/) /*: string*/{ |
| 10538 | - return prefix ? `-${prefix.toLowerCase()}-${prop}` : prop; | |
| 9200 | + return prefix ? "-".concat(prefix.toLowerCase(), "-").concat(prop) : prop; | |
| 10539 | 9201 | } |
| 10540 | 9202 | function kebabToTitleCase(str /*: string*/) /*: string*/{ |
| 10541 | 9203 | let out = ''; |
| 10542 | 9204 | let shouldCapitalize = true; |
| @@ -10574,10 +9236,9 @@ | ||
| 10574 | 9236 | })); |
| 10575 | 9237 | exports["default"] = log; |
| 10576 | 9238 | /*eslint no-console:0*/ |
| 10577 | 9239 | function log() { |
| 10578 | - if (false) // removed by dead control flow | |
| 10579 | -{} | |
| 9240 | + if (false) {} | |
| 10580 | 9241 | } |
| 10581 | 9242 | |
| 10582 | 9243 | /***/ }), |
| 10583 | 9244 | |
| @@ -10623,14 +9284,9 @@ | ||
| 10623 | 9284 | let boundNode; |
| 10624 | 9285 | if (bounds === 'parent') { |
| 10625 | 9286 | boundNode = node.parentNode; |
| 10626 | 9287 | } else { |
| 10627 | - // Flow assigns the wrong return type (Node) for getRootNode(), | |
| 10628 | - // so we cast it to one of the correct types (Element). | |
| 10629 | - // The others are Document and ShadowRoot. | |
| 10630 | - // All three implement querySelector() so it's safe to call. | |
| 10631 | - const rootNode = ((node.getRootNode() /*: any*/) /*: Element*/); | |
| 10632 | - boundNode = rootNode.querySelector(bounds); | |
| 9288 | + boundNode = ownerDocument.querySelector(bounds); | |
| 10633 | 9289 | } |
| 10634 | 9290 | if (!(boundNode instanceof ownerWindow.HTMLElement)) { |
| 10635 | 9291 | throw new Error('Bounds selector "' + bounds + '" could not find an element.'); |
| 10636 | 9292 | } |
| @@ -10774,24 +9430,251 @@ | ||
| 10774 | 9430 | return parseInt(a, 10); |
| 10775 | 9431 | } |
| 10776 | 9432 | function dontSetMe(props /*: Object*/, propName /*: string*/, componentName /*: string*/) /*: ?Error*/{ |
| 10777 | 9433 | if (props[propName]) { |
| 10778 | - return new Error(`Invalid prop ${propName} passed to ${componentName} - do not set this, set it on the child.`); | |
| 9434 | + return new Error("Invalid prop ".concat(propName, " passed to ").concat(componentName, " - do not set this, set it on the child.")); | |
| 10779 | 9435 | } |
| 10780 | 9436 | } |
| 10781 | 9437 | |
| 10782 | 9438 | /***/ }), |
| 10783 | 9439 | |
| 10784 | -/***/ "../node_modules/react-draggable/node_modules/clsx/dist/clsx.js": | |
| 10785 | -/*!**********************************************************************!*\ | |
| 10786 | - !*** ../node_modules/react-draggable/node_modules/clsx/dist/clsx.js ***! | |
| 10787 | - \**********************************************************************/ | |
| 9440 | +/***/ "../node_modules/react-draggable/node_modules/clsx/dist/clsx.m.js": | |
| 9441 | +/*!************************************************************************!*\ | |
| 9442 | + !*** ../node_modules/react-draggable/node_modules/clsx/dist/clsx.m.js ***! | |
| 9443 | + \************************************************************************/ | |
| 9444 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9445 | + | |
| 9446 | +"use strict"; | |
| 9447 | +__webpack_require__.r(__webpack_exports__); | |
| 9448 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 9449 | +/* harmony export */ clsx: () => (/* binding */ clsx), | |
| 9450 | +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) | |
| 9451 | +/* harmony export */ }); | |
| 9452 | +function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (clsx); | |
| 9453 | + | |
| 9454 | +/***/ }), | |
| 9455 | + | |
| 9456 | +/***/ "../node_modules/shallowequal/index.js": | |
| 9457 | +/*!*********************************************!*\ | |
| 9458 | + !*** ../node_modules/shallowequal/index.js ***! | |
| 9459 | + \*********************************************/ | |
| 10788 | 9460 | /***/ ((module) => { |
| 10789 | 9461 | |
| 10790 | -function r(e){var o,t,f="";if("string"==typeof e||"number"==typeof e)f+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(o=0;o<n;o++)e[o]&&(t=r(e[o]))&&(f&&(f+=" "),f+=t)}else for(t in e)e[t]&&(f&&(f+=" "),f+=t);return f}function e(){for(var e,o,t=0,f="",n=arguments.length;t<n;t++)(e=arguments[t])&&(o=r(e))&&(f&&(f+=" "),f+=o);return f}module.exports=e,module.exports.clsx=e; | |
| 9462 | +// | |
| 10791 | 9463 | |
| 9464 | +module.exports = function shallowEqual(objA, objB, compare, compareContext) { | |
| 9465 | + var ret = compare ? compare.call(compareContext, objA, objB) : void 0; | |
| 9466 | + | |
| 9467 | + if (ret !== void 0) { | |
| 9468 | + return !!ret; | |
| 9469 | + } | |
| 9470 | + | |
| 9471 | + if (objA === objB) { | |
| 9472 | + return true; | |
| 9473 | + } | |
| 9474 | + | |
| 9475 | + if (typeof objA !== "object" || !objA || typeof objB !== "object" || !objB) { | |
| 9476 | + return false; | |
| 9477 | + } | |
| 9478 | + | |
| 9479 | + var keysA = Object.keys(objA); | |
| 9480 | + var keysB = Object.keys(objB); | |
| 9481 | + | |
| 9482 | + if (keysA.length !== keysB.length) { | |
| 9483 | + return false; | |
| 9484 | + } | |
| 9485 | + | |
| 9486 | + var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB); | |
| 9487 | + | |
| 9488 | + // Test for A's keys different from B. | |
| 9489 | + for (var idx = 0; idx < keysA.length; idx++) { | |
| 9490 | + var key = keysA[idx]; | |
| 9491 | + | |
| 9492 | + if (!bHasOwnProperty(key)) { | |
| 9493 | + return false; | |
| 9494 | + } | |
| 9495 | + | |
| 9496 | + var valueA = objA[key]; | |
| 9497 | + var valueB = objB[key]; | |
| 9498 | + | |
| 9499 | + ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0; | |
| 9500 | + | |
| 9501 | + if (ret === false || (ret === void 0 && valueA !== valueB)) { | |
| 9502 | + return false; | |
| 9503 | + } | |
| 9504 | + } | |
| 9505 | + | |
| 9506 | + return true; | |
| 9507 | +}; | |
| 9508 | + | |
| 9509 | + | |
| 10792 | 9510 | /***/ }), |
| 10793 | 9511 | |
| 9512 | +/***/ "../node_modules/styled-components/dist/styled-components.browser.esm.js": | |
| 9513 | +/*!*******************************************************************************!*\ | |
| 9514 | + !*** ../node_modules/styled-components/dist/styled-components.browser.esm.js ***! | |
| 9515 | + \*******************************************************************************/ | |
| 9516 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9517 | + | |
| 9518 | +"use strict"; | |
| 9519 | +__webpack_require__.r(__webpack_exports__); | |
| 9520 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 9521 | +/* harmony export */ ServerStyleSheet: () => (/* binding */ vt), | |
| 9522 | +/* harmony export */ StyleSheetConsumer: () => (/* binding */ Be), | |
| 9523 | +/* harmony export */ StyleSheetContext: () => (/* binding */ $e), | |
| 9524 | +/* harmony export */ StyleSheetManager: () => (/* binding */ Ye), | |
| 9525 | +/* harmony export */ ThemeConsumer: () => (/* binding */ tt), | |
| 9526 | +/* harmony export */ ThemeContext: () => (/* binding */ et), | |
| 9527 | +/* harmony export */ ThemeProvider: () => (/* binding */ ot), | |
| 9528 | +/* harmony export */ __PRIVATE__: () => (/* binding */ gt), | |
| 9529 | +/* harmony export */ createGlobalStyle: () => (/* binding */ ft), | |
| 9530 | +/* harmony export */ css: () => (/* binding */ lt), | |
| 9531 | +/* harmony export */ "default": () => (/* binding */ dt), | |
| 9532 | +/* harmony export */ isStyledComponent: () => (/* binding */ se), | |
| 9533 | +/* harmony export */ keyframes: () => (/* binding */ mt), | |
| 9534 | +/* harmony export */ styled: () => (/* binding */ dt), | |
| 9535 | +/* harmony export */ useTheme: () => (/* binding */ nt), | |
| 9536 | +/* harmony export */ version: () => (/* binding */ v), | |
| 9537 | +/* harmony export */ withTheme: () => (/* binding */ yt) | |
| 9538 | +/* harmony export */ }); | |
| 9539 | +/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ "../node_modules/styled-components/node_modules/tslib/tslib.es6.mjs"); | |
| 9540 | +/* harmony import */ var _emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/is-prop-valid */ "../node_modules/styled-components/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"); | |
| 9541 | +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); | |
| 9542 | +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); | |
| 9543 | +/* harmony import */ var shallowequal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! shallowequal */ "../node_modules/shallowequal/index.js"); | |
| 9544 | +/* harmony import */ var shallowequal__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(shallowequal__WEBPACK_IMPORTED_MODULE_2__); | |
| 9545 | +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! stylis */ "../node_modules/styled-components/node_modules/stylis/src/Enum.js"); | |
| 9546 | +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! stylis */ "../node_modules/styled-components/node_modules/stylis/src/Middleware.js"); | |
| 9547 | +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! stylis */ "../node_modules/styled-components/node_modules/stylis/src/Serializer.js"); | |
| 9548 | +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! stylis */ "../node_modules/styled-components/node_modules/stylis/src/Parser.js"); | |
| 9549 | +/* harmony import */ var _emotion_unitless__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @emotion/unitless */ "../node_modules/styled-components/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js"); | |
| 9550 | +var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y="data-styled-version",v="6.1.13",g="/*!sc*/\n",S="undefined"!=typeof window&&"HTMLElement"in window,w=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="development"),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(true){var o=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(o," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__spreadArray)([t],n,!1))},(0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,"-").replace(D,"")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n="";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,"$1-$2")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return true&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function L(e){return"string"==typeof e&&( false||e.charAt(0)===e.charAt(0).toLowerCase())}var G="function"==typeof Symbol&&Symbol.for,Y=G?Symbol.for("react.memo"):60115,W=G?Symbol.for("react.forward_ref"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return("type"in(t=e)&&t.type.$$typeof)===Y?U:"$$typeof"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if("string"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return"function"==typeof e}function se(e){return"object"==typeof e&&"styledComponentId"in e}function ie(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae(e,t){if(0===e.length)return"";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,"toString",{value:t})}var pe= true?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:0;function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return false?0:new Error(de.apply(void 0,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__spreadArray)([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if( true&&((0|t)<0||t>me))throw he(16,"".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be="style[".concat(f,"][").concat(y,'="').concat(v,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return true?__webpack_require__.nc:0}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return"continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return"continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","))}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===stylis__WEBPACK_IMPORTED_MODULE_5__.RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(stylis__WEBPACK_IMPORTED_MODULE_6__.prefixer),u.push(stylis__WEBPACK_IMPORTED_MODULE_7__.stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=stylis__WEBPACK_IMPORTED_MODULE_8__.compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return stylis__WEBPACK_IMPORTED_MODULE_7__.serialize(l,stylis__WEBPACK_IMPORTED_MODULE_6__.middleware(u.concat(stylis__WEBPACK_IMPORTED_MODULE_6__.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():"",p}var Me=new ke,ze=Fe(),$e=react__WEBPACK_IMPORTED_MODULE_1___default().createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=react__WEBPACK_IMPORTED_MODULE_1___default().createContext(void 0);function Ge(){return (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)($e)}function Ye(e){var t=(0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){shallowequal__WEBPACK_IMPORTED_MODULE_2___default()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return react__WEBPACK_IMPORTED_MODULE_1___default().createElement($e.Provider,{value:d},react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push("".concat(He(s),":"),i,";"):ce(i)?r.push.apply(r,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__spreadArray)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__spreadArray)(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in _emotion_unitless__WEBPACK_IMPORTED_MODULE_3__["default"]||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[".".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return false||"object"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error("".concat(B(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic= false&&0,this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u, true&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=react__WEBPACK_IMPORTED_MODULE_1___default().createContext(void 0),tt=et.Consumer;function nt(){var e=(0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(et);if(!e)throw he(18);return e}function ot(e){var n=react__WEBPACK_IMPORTED_MODULE_1___default().useContext(et),r=(0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if( true&&(null===o||Array.isArray(o)||"object"!=typeof o))throw he(7);return o}if(Array.isArray(e)||"object"!=typeof e)throw he(8);return n?(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?react__WEBPACK_IMPORTED_MODULE_1___default().createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R(e);rt[n]=(rt[n]||0)+1;var o="".concat(n,"-").concat($(v+n+rt[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?"styled.".concat(e):"Styled(".concat(B(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=react__WEBPACK_IMPORTED_MODULE_1___default().useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp; true&&(0,react__WEBPACK_IMPORTED_MODULE_1__.useDebugValue)(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie(s[c],a[c]):"style"===c?(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="development"||(0,_emotion_is_prop_valid__WEBPACK_IMPORTED_MODULE_0__["default"])(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return true&&(0,react__WEBPACK_IMPORTED_MODULE_1__.useDebugValue)(o),o}(a,g); true&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L(S)&&!A.has(S)?"class":"className"]=N,w.ref=s,(0,react__WEBPACK_IMPORTED_MODULE_1__.createElement)(S,w)}(D,e,r)}O.displayName=y;var D=react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}), true&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(s,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,n={}}}}(y,g)),ue(D,function(){return".".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__spreadArray)([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__spreadArray)([t],s,!1)))};return s.attrs=function(e){return ut(n,o,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__spreadArray)([n],r,!1)),a="sc-global-".concat($(JSON.stringify(i))),c=new ht(i,a); true&&P(a);var l=function(e){var t=Ge(),n=react__WEBPACK_IMPORTED_MODULE_1___default().useContext(et),r=react__WEBPACK_IMPORTED_MODULE_1___default().useRef(t.styleSheet.allocateGSInstance(a)).current;return true&&react__WEBPACK_IMPORTED_MODULE_1___default().Children.count(e.children)&&console.warn("The global style component ".concat(a," was given child JSX. createGlobalStyle does not render children.")), true&&i.some(function(e){return"string"==typeof e&&-1!==e.indexOf("@import")})&&console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),react__WEBPACK_IMPORTED_MODULE_1___default().useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)((0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return react__WEBPACK_IMPORTED_MODULE_1___default().memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o]; true&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=ae(lt.apply(void 0,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__spreadArray)([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=react__WEBPACK_IMPORTED_MODULE_1___default().forwardRef(function(n,r){var s=I(n,react__WEBPACK_IMPORTED_MODULE_1___default().useContext(et),e.defaultProps);return true&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class "'.concat(B(e),'"')),react__WEBPACK_IMPORTED_MODULE_1___default().createElement(e,(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},n,{theme:s,ref:r}))});return n.displayName="WithTheme(".concat(B(e),")"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=Ce(),o=ae([n&&'nonce="'.concat(n,'"'),"".concat(f,'="true"'),"".concat(y,'="').concat(v,'"')].filter(Boolean)," ");return"<style ".concat(o,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]="",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[react__WEBPACK_IMPORTED_MODULE_1___default().createElement("style",(0,tslib__WEBPACK_IMPORTED_MODULE_4__.__assign)({},s,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me}; true&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var St="__sc-".concat(f,"__"); true&&"undefined"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[St]+=1); | |
| 9551 | +//# sourceMappingURL=styled-components.browser.esm.js.map | |
| 9552 | + | |
| 9553 | + | |
| 9554 | +/***/ }), | |
| 9555 | + | |
| 9556 | +/***/ "../node_modules/styled-components/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js": | |
| 9557 | +/*!***************************************************************************************************************!*\ | |
| 9558 | + !*** ../node_modules/styled-components/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js ***! | |
| 9559 | + \***************************************************************************************************************/ | |
| 9560 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9561 | + | |
| 9562 | +"use strict"; | |
| 9563 | +__webpack_require__.r(__webpack_exports__); | |
| 9564 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 9565 | +/* harmony export */ "default": () => (/* binding */ isPropValid) | |
| 9566 | +/* harmony export */ }); | |
| 9567 | +/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/memoize */ "../node_modules/styled-components/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js"); | |
| 9568 | + | |
| 9569 | + | |
| 9570 | +var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23 | |
| 9571 | + | |
| 9572 | +var isPropValid = /* #__PURE__ */(0,_emotion_memoize__WEBPACK_IMPORTED_MODULE_0__["default"])(function (prop) { | |
| 9573 | + return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111 | |
| 9574 | + /* o */ | |
| 9575 | + && prop.charCodeAt(1) === 110 | |
| 9576 | + /* n */ | |
| 9577 | + && prop.charCodeAt(2) < 91; | |
| 9578 | +} | |
| 9579 | +/* Z+1 */ | |
| 9580 | +); | |
| 9581 | + | |
| 9582 | + | |
| 9583 | + | |
| 9584 | + | |
| 9585 | +/***/ }), | |
| 9586 | + | |
| 9587 | +/***/ "../node_modules/styled-components/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js": | |
| 9588 | +/*!***************************************************************************************************!*\ | |
| 9589 | + !*** ../node_modules/styled-components/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js ***! | |
| 9590 | + \***************************************************************************************************/ | |
| 9591 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9592 | + | |
| 9593 | +"use strict"; | |
| 9594 | +__webpack_require__.r(__webpack_exports__); | |
| 9595 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 9596 | +/* harmony export */ "default": () => (/* binding */ memoize) | |
| 9597 | +/* harmony export */ }); | |
| 9598 | +function memoize(fn) { | |
| 9599 | + var cache = Object.create(null); | |
| 9600 | + return function (arg) { | |
| 9601 | + if (cache[arg] === undefined) cache[arg] = fn(arg); | |
| 9602 | + return cache[arg]; | |
| 9603 | + }; | |
| 9604 | +} | |
| 9605 | + | |
| 9606 | + | |
| 9607 | + | |
| 9608 | + | |
| 9609 | +/***/ }), | |
| 9610 | + | |
| 9611 | +/***/ "../node_modules/styled-components/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js": | |
| 9612 | +/*!*****************************************************************************************************!*\ | |
| 9613 | + !*** ../node_modules/styled-components/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js ***! | |
| 9614 | + \*****************************************************************************************************/ | |
| 9615 | +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | |
| 9616 | + | |
| 9617 | +"use strict"; | |
| 9618 | +__webpack_require__.r(__webpack_exports__); | |
| 9619 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 9620 | +/* harmony export */ "default": () => (/* binding */ unitlessKeys) | |
| 9621 | +/* harmony export */ }); | |
| 9622 | +var unitlessKeys = { | |
| 9623 | + animationIterationCount: 1, | |
| 9624 | + aspectRatio: 1, | |
| 9625 | + borderImageOutset: 1, | |
| 9626 | + borderImageSlice: 1, | |
| 9627 | + borderImageWidth: 1, | |
| 9628 | + boxFlex: 1, | |
| 9629 | + boxFlexGroup: 1, | |
| 9630 | + boxOrdinalGroup: 1, | |
| 9631 | + columnCount: 1, | |
| 9632 | + columns: 1, | |
| 9633 | + flex: 1, | |
| 9634 | + flexGrow: 1, | |
| 9635 | + flexPositive: 1, | |
| 9636 | + flexShrink: 1, | |
| 9637 | + flexNegative: 1, | |
| 9638 | + flexOrder: 1, | |
| 9639 | + gridRow: 1, | |
| 9640 | + gridRowEnd: 1, | |
| 9641 | + gridRowSpan: 1, | |
| 9642 | + gridRowStart: 1, | |
| 9643 | + gridColumn: 1, | |
| 9644 | + gridColumnEnd: 1, | |
| 9645 | + gridColumnSpan: 1, | |
| 9646 | + gridColumnStart: 1, | |
| 9647 | + msGridRow: 1, | |
| 9648 | + msGridRowSpan: 1, | |
| 9649 | + msGridColumn: 1, | |
| 9650 | + msGridColumnSpan: 1, | |
| 9651 | + fontWeight: 1, | |
| 9652 | + lineHeight: 1, | |
| 9653 | + opacity: 1, | |
| 9654 | + order: 1, | |
| 9655 | + orphans: 1, | |
| 9656 | + tabSize: 1, | |
| 9657 | + widows: 1, | |
| 9658 | + zIndex: 1, | |
| 9659 | + zoom: 1, | |
| 9660 | + WebkitLineClamp: 1, | |
| 9661 | + // SVG-related properties | |
| 9662 | + fillOpacity: 1, | |
| 9663 | + floodOpacity: 1, | |
| 9664 | + stopOpacity: 1, | |
| 9665 | + strokeDasharray: 1, | |
| 9666 | + strokeDashoffset: 1, | |
| 9667 | + strokeMiterlimit: 1, | |
| 9668 | + strokeOpacity: 1, | |
| 9669 | + strokeWidth: 1 | |
| 9670 | +}; | |
| 9671 | + | |
| 9672 | + | |
| 9673 | + | |
| 9674 | + | |
| 9675 | +/***/ }), | |
| 9676 | + | |
| 10794 | 9677 | /***/ "../node_modules/validator/lib/isFQDN.js": |
| 10795 | 9678 | /*!***********************************************!*\ |
| 10796 | 9679 | !*** ../node_modules/validator/lib/isFQDN.js ***! |
| 10797 | 9680 | \***********************************************/ |
| @@ -10805,9 +9688,9 @@ | ||
| 10805 | 9688 | })); |
| 10806 | 9689 | exports["default"] = isFQDN; |
| 10807 | 9690 | var _assertString = _interopRequireDefault(__webpack_require__(/*! ./util/assertString */ "../node_modules/validator/lib/util/assertString.js")); |
| 10808 | 9691 | var _merge = _interopRequireDefault(__webpack_require__(/*! ./util/merge */ "../node_modules/validator/lib/util/merge.js")); |
| 10809 | -function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | |
| 9692 | +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | |
| 10810 | 9693 | var default_fqdn_options = { |
| 10811 | 9694 | require_tld: true, |
| 10812 | 9695 | allow_underscores: false, |
| 10813 | 9696 | allow_trailing_dot: false, |
| @@ -10890,10 +9773,9 @@ | ||
| 10890 | 9773 | value: true |
| 10891 | 9774 | })); |
| 10892 | 9775 | exports["default"] = isIP; |
| 10893 | 9776 | var _assertString = _interopRequireDefault(__webpack_require__(/*! ./util/assertString */ "../node_modules/validator/lib/util/assertString.js")); |
| 10894 | -function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | |
| 10895 | -function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | |
| 9777 | +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | |
| 10896 | 9778 | /** |
| 10897 | 9779 | 11.3. Examples |
| 10898 | 9780 | |
| 10899 | 9781 | The following addresses |
| @@ -10925,28 +9807,21 @@ | ||
| 10925 | 9807 | var IPv4SegmentFormat = '(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])'; |
| 10926 | 9808 | var IPv4AddressFormat = "(".concat(IPv4SegmentFormat, "[.]){3}").concat(IPv4SegmentFormat); |
| 10927 | 9809 | var IPv4AddressRegExp = new RegExp("^".concat(IPv4AddressFormat, "$")); |
| 10928 | 9810 | var IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})'; |
| 10929 | -var IPv6AddressRegExp = new RegExp('^(' + "(?:".concat(IPv6SegmentFormat, ":){7}(?:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){6}(?:").concat(IPv4AddressFormat, "|:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){5}(?::").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,2}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){4}(?:(:").concat(IPv6SegmentFormat, "){0,1}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,3}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){3}(?:(:").concat(IPv6SegmentFormat, "){0,2}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,4}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){2}(?:(:").concat(IPv6SegmentFormat, "){0,3}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,5}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){1}(?:(:").concat(IPv6SegmentFormat, "){0,4}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,6}|:)|") + "(?::((?::".concat(IPv6SegmentFormat, "){0,5}:").concat(IPv4AddressFormat, "|(?::").concat(IPv6SegmentFormat, "){1,7}|:))") + ')(%[0-9a-zA-Z.]{1,})?$'); | |
| 10930 | -function isIP(ipAddress) { | |
| 10931 | - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | |
| 10932 | - (0, _assertString.default)(ipAddress); | |
| 10933 | - | |
| 10934 | - // accessing 'arguments' for backwards compatibility: isIP(ipAddress [, version]) | |
| 10935 | - // eslint-disable-next-line prefer-rest-params | |
| 10936 | - var version = (_typeof(options) === 'object' ? options.version : arguments[1]) || ''; | |
| 9811 | +var IPv6AddressRegExp = new RegExp('^(' + "(?:".concat(IPv6SegmentFormat, ":){7}(?:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){6}(?:").concat(IPv4AddressFormat, "|:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){5}(?::").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,2}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){4}(?:(:").concat(IPv6SegmentFormat, "){0,1}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,3}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){3}(?:(:").concat(IPv6SegmentFormat, "){0,2}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,4}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){2}(?:(:").concat(IPv6SegmentFormat, "){0,3}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,5}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){1}(?:(:").concat(IPv6SegmentFormat, "){0,4}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,6}|:)|") + "(?::((?::".concat(IPv6SegmentFormat, "){0,5}:").concat(IPv4AddressFormat, "|(?::").concat(IPv6SegmentFormat, "){1,7}|:))") + ')(%[0-9a-zA-Z-.:]{1,})?$'); | |
| 9812 | +function isIP(str) { | |
| 9813 | + var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; | |
| 9814 | + (0, _assertString.default)(str); | |
| 9815 | + version = String(version); | |
| 10937 | 9816 | if (!version) { |
| 10938 | - return isIP(ipAddress, { | |
| 10939 | - version: 4 | |
| 10940 | - }) || isIP(ipAddress, { | |
| 10941 | - version: 6 | |
| 10942 | - }); | |
| 9817 | + return isIP(str, 4) || isIP(str, 6); | |
| 10943 | 9818 | } |
| 10944 | - if (version.toString() === '4') { | |
| 10945 | - return IPv4AddressRegExp.test(ipAddress); | |
| 9819 | + if (version === '4') { | |
| 9820 | + return IPv4AddressRegExp.test(str); | |
| 10946 | 9821 | } |
| 10947 | - if (version.toString() === '6') { | |
| 10948 | - return IPv6AddressRegExp.test(ipAddress); | |
| 9822 | + if (version === '6') { | |
| 9823 | + return IPv6AddressRegExp.test(str); | |
| 10949 | 9824 | } |
| 10950 | 9825 | return false; |
| 10951 | 9826 | } |
| 10952 | 9827 | module.exports = exports.default; |
| @@ -10967,45 +9842,28 @@ | ||
| 10967 | 9842 | value: true |
| 10968 | 9843 | })); |
| 10969 | 9844 | exports["default"] = isURL; |
| 10970 | 9845 | var _assertString = _interopRequireDefault(__webpack_require__(/*! ./util/assertString */ "../node_modules/validator/lib/util/assertString.js")); |
| 10971 | -var _checkHost = _interopRequireDefault(__webpack_require__(/*! ./util/checkHost */ "../node_modules/validator/lib/util/checkHost.js")); | |
| 10972 | -var _includesString = _interopRequireDefault(__webpack_require__(/*! ./util/includesString */ "../node_modules/validator/lib/util/includesString.js")); | |
| 10973 | 9846 | var _isFQDN = _interopRequireDefault(__webpack_require__(/*! ./isFQDN */ "../node_modules/validator/lib/isFQDN.js")); |
| 10974 | 9847 | var _isIP = _interopRequireDefault(__webpack_require__(/*! ./isIP */ "../node_modules/validator/lib/isIP.js")); |
| 10975 | 9848 | var _merge = _interopRequireDefault(__webpack_require__(/*! ./util/merge */ "../node_modules/validator/lib/util/merge.js")); |
| 10976 | -function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } | |
| 10977 | -function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); } | |
| 9849 | +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | |
| 9850 | +function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | |
| 10978 | 9851 | function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } |
| 10979 | -function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); 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; } } | |
| 10980 | -function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } | |
| 9852 | +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | |
| 9853 | +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } | |
| 10981 | 9854 | function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } } |
| 10982 | -function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } | |
| 9855 | +function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } | |
| 10983 | 9856 | /* |
| 10984 | 9857 | options for isURL method |
| 10985 | 9858 | |
| 10986 | -protocols - valid protocols can be modified with this option. | |
| 10987 | -require_tld - If set to false isURL will not check if the URL's host includes a top-level domain. | |
| 10988 | -require_protocol - if set to true isURL will return false if protocol is not present in the URL. | |
| 10989 | -require_host - if set to false isURL will not check if host is present in the URL. | |
| 10990 | -require_port - if set to true isURL will check if port is present in the URL. | |
| 10991 | -require_valid_protocol - isURL will check if the URL's protocol is present in the protocols option. | |
| 10992 | -allow_underscores - if set to true, the validator will allow underscores in the URL. | |
| 10993 | -host_whitelist - if set to an array of strings or regexp, and the domain matches none of the strings | |
| 10994 | - defined in it, the validation fails. | |
| 10995 | -host_blacklist - if set to an array of strings or regexp, and the domain matches any of the strings | |
| 10996 | - defined in it, the validation fails. | |
| 10997 | -allow_trailing_dot - if set to true, the validator will allow the domain to end with | |
| 10998 | - a `.` character. | |
| 10999 | -allow_protocol_relative_urls - if set to true protocol relative URLs will be allowed. | |
| 11000 | -allow_fragments - if set to false isURL will return false if fragments are present. | |
| 11001 | -allow_query_components - if set to false isURL will return false if query components are present. | |
| 11002 | -disallow_auth - if set to true, the validator will fail if the URL contains an authentication | |
| 11003 | - component, e.g. `http://username:[email protected]` | |
| 11004 | -validate_length - if set to false isURL will skip string length validation. `max_allowed_length` | |
| 11005 | - will be ignored if this is set as `false`. | |
| 11006 | -max_allowed_length - if set, isURL will not allow URLs longer than the specified value (default is | |
| 11007 | - 2084 that IE maximum URL length). | |
| 9859 | +require_protocol - if set as true isURL will return false if protocol is not present in the URL | |
| 9860 | +require_valid_protocol - isURL will check if the URL's protocol is present in the protocols option | |
| 9861 | +protocols - valid protocols can be modified with this option | |
| 9862 | +require_host - if set as false isURL will not check if host is present in the URL | |
| 9863 | +require_port - if set as true isURL will check if port is present in the URL | |
| 9864 | +allow_protocol_relative_urls - if set as true protocol relative URLs will be allowed | |
| 9865 | +validate_length - if set as false isURL will skip string length validation (IE maximum is 2083) | |
| 11008 | 9866 | |
| 11009 | 9867 | */ |
| 11010 | 9868 | |
| 11011 | 9869 | var default_url_options = { |
| @@ -11019,12 +9877,23 @@ | ||
| 11019 | 9877 | allow_trailing_dot: false, |
| 11020 | 9878 | allow_protocol_relative_urls: false, |
| 11021 | 9879 | allow_fragments: true, |
| 11022 | 9880 | allow_query_components: true, |
| 11023 | - validate_length: true, | |
| 11024 | - max_allowed_length: 2084 | |
| 9881 | + validate_length: true | |
| 11025 | 9882 | }; |
| 11026 | 9883 | var wrapped_ipv6 = /^\[([^\]]+)\](?::([0-9]+))?$/; |
| 9884 | +function isRegExp(obj) { | |
| 9885 | + return Object.prototype.toString.call(obj) === '[object RegExp]'; | |
| 9886 | +} | |
| 9887 | +function checkHost(host, matches) { | |
| 9888 | + for (var i = 0; i < matches.length; i++) { | |
| 9889 | + var match = matches[i]; | |
| 9890 | + if (host === match || isRegExp(match) && match.test(host)) { | |
| 9891 | + return true; | |
| 9892 | + } | |
| 9893 | + } | |
| 9894 | + return false; | |
| 9895 | +} | |
| 11027 | 9896 | function isURL(url, options) { |
| 11028 | 9897 | (0, _assertString.default)(url); |
| 11029 | 9898 | if (!url || /[\s<>]/.test(url)) { |
| 11030 | 9899 | return false; |
| @@ -11032,15 +9901,15 @@ | ||
| 11032 | 9901 | if (url.indexOf('mailto:') === 0) { |
| 11033 | 9902 | return false; |
| 11034 | 9903 | } |
| 11035 | 9904 | options = (0, _merge.default)(options, default_url_options); |
| 11036 | - if (options.validate_length && url.length > options.max_allowed_length) { | |
| 9905 | + if (options.validate_length && url.length >= 2083) { | |
| 11037 | 9906 | return false; |
| 11038 | 9907 | } |
| 11039 | - if (!options.allow_fragments && (0, _includesString.default)(url, '#')) { | |
| 9908 | + if (!options.allow_fragments && url.includes('#')) { | |
| 11040 | 9909 | return false; |
| 11041 | 9910 | } |
| 11042 | - if (!options.allow_query_components && ((0, _includesString.default)(url, '?') || (0, _includesString.default)(url, '&'))) { | |
| 9911 | + if (!options.allow_query_components && (url.includes('?') || url.includes('&'))) { | |
| 11043 | 9912 | return false; |
| 11044 | 9913 | } |
| 11045 | 9914 | var protocol, auth, host, hostname, port, port_str, split, ipv6; |
| 11046 | 9915 | split = url.split('#'); |
| @@ -11046,97 +9915,23 @@ | ||
| 11046 | 9915 | split = url.split('#'); |
| 11047 | 9916 | url = split.shift(); |
| 11048 | 9917 | split = url.split('?'); |
| 11049 | 9918 | url = split.shift(); |
| 11050 | - | |
| 11051 | - // Replaced the 'split("://")' logic with a regex to match the protocol. | |
| 11052 | - // This correctly identifies schemes like `javascript:` which don't use `//`. | |
| 11053 | - // However, we need to be careful not to confuse authentication credentials (user:password@host) | |
| 11054 | - // with protocols. A colon before an @ symbol might be part of auth, not a protocol separator. | |
| 11055 | - var protocol_match = url.match(/^([a-z][a-z0-9+\-.]*):/i); | |
| 11056 | - var had_explicit_protocol = false; | |
| 11057 | - var cleanUpProtocol = function cleanUpProtocol(potential_protocol) { | |
| 11058 | - had_explicit_protocol = true; | |
| 11059 | - protocol = potential_protocol.toLowerCase(); | |
| 9919 | + split = url.split('://'); | |
| 9920 | + if (split.length > 1) { | |
| 9921 | + protocol = split.shift().toLowerCase(); | |
| 11060 | 9922 | if (options.require_valid_protocol && options.protocols.indexOf(protocol) === -1) { |
| 11061 | - // The identified protocol is not in the allowed list. | |
| 11062 | 9923 | return false; |
| 11063 | 9924 | } |
| 11064 | - | |
| 11065 | - // Remove the protocol from the URL string. | |
| 11066 | - return url.substring(protocol_match[0].length); | |
| 11067 | - }; | |
| 11068 | - if (protocol_match) { | |
| 11069 | - var potential_protocol = protocol_match[1]; | |
| 11070 | - var after_colon = url.substring(protocol_match[0].length); | |
| 11071 | - | |
| 11072 | - // Check if what follows looks like authentication credentials (user:password@host) | |
| 11073 | - // rather than a protocol. This happens when: | |
| 11074 | - // 1. There's no `//` after the colon (protocols like `http://` have this) | |
| 11075 | - // 2. There's an `@` symbol before any `/` | |
| 11076 | - // 3. The part before `@` contains only valid auth characters (alphanumeric, -, _, ., %, :) | |
| 11077 | - var starts_with_slashes = after_colon.slice(0, 2) === '//'; | |
| 11078 | - if (!starts_with_slashes) { | |
| 11079 | - var first_slash_position = after_colon.indexOf('/'); | |
| 11080 | - var before_slash = first_slash_position === -1 ? after_colon : after_colon.substring(0, first_slash_position); | |
| 11081 | - var at_position = before_slash.indexOf('@'); | |
| 11082 | - if (at_position !== -1) { | |
| 11083 | - var before_at = before_slash.substring(0, at_position); | |
| 11084 | - var valid_auth_regex = /^[a-zA-Z0-9\-_.%:]*$/; | |
| 11085 | - var is_valid_auth = valid_auth_regex.test(before_at); | |
| 11086 | - if (is_valid_auth) { | |
| 11087 | - // This looks like authentication (e.g., user:password@host), not a protocol | |
| 11088 | - if (options.require_protocol) { | |
| 11089 | - return false; | |
| 11090 | - } | |
| 11091 | - | |
| 11092 | - // Don't consume the colon; let the auth parsing handle it later | |
| 11093 | - } else { | |
| 11094 | - // This looks like a malicious protocol (e.g., javascript:alert();@host) | |
| 11095 | - url = cleanUpProtocol(potential_protocol); | |
| 11096 | - if (url === false) { | |
| 11097 | - return false; | |
| 11098 | - } | |
| 11099 | - } | |
| 11100 | - } else { | |
| 11101 | - // No @ symbol found. Check if this could be a port number instead of a protocol. | |
| 11102 | - // If what's after the colon is numeric (or starts with a digit and contains only | |
| 11103 | - // valid port characters until a path separator), it's likely hostname:port, not a protocol. | |
| 11104 | - var looks_like_port = /^[0-9]/.test(after_colon); | |
| 11105 | - if (looks_like_port) { | |
| 11106 | - // This looks like hostname:port, not a protocol | |
| 11107 | - if (options.require_protocol) { | |
| 11108 | - return false; | |
| 11109 | - } | |
| 11110 | - // Don't consume anything; let it be parsed as hostname:port | |
| 11111 | - } else { | |
| 11112 | - // This is definitely a protocol | |
| 11113 | - url = cleanUpProtocol(potential_protocol); | |
| 11114 | - if (url === false) { | |
| 11115 | - return false; | |
| 11116 | - } | |
| 11117 | - } | |
| 11118 | - } | |
| 11119 | - } else { | |
| 11120 | - // Starts with '//', this is definitely a protocol like http:// | |
| 11121 | - url = cleanUpProtocol(potential_protocol); | |
| 11122 | - if (url === false) { | |
| 11123 | - return false; | |
| 11124 | - } | |
| 11125 | - } | |
| 11126 | 9925 | } else if (options.require_protocol) { |
| 11127 | 9926 | return false; |
| 11128 | - } | |
| 11129 | - | |
| 11130 | - // Handle leading '//' only as protocol-relative when there was NO explicit protocol. | |
| 11131 | - // If there was an explicit protocol, '//' is the normal separator | |
| 11132 | - // and should be stripped unconditionally. | |
| 11133 | - if (url.slice(0, 2) === '//') { | |
| 11134 | - if (!had_explicit_protocol && !options.allow_protocol_relative_urls) { | |
| 9927 | + } else if (url.slice(0, 2) === '//') { | |
| 9928 | + if (!options.allow_protocol_relative_urls) { | |
| 11135 | 9929 | return false; |
| 11136 | 9930 | } |
| 11137 | - url = url.slice(2); | |
| 9931 | + split[0] = url.slice(2); | |
| 11138 | 9932 | } |
| 9933 | + url = split.join('://'); | |
| 11139 | 9934 | if (url === '') { |
| 11140 | 9935 | return false; |
| 11141 | 9936 | } |
| 11142 | 9937 | split = url.split('/'); |
| @@ -11187,9 +9982,9 @@ | ||
| 11187 | 9982 | } else if (options.require_port) { |
| 11188 | 9983 | return false; |
| 11189 | 9984 | } |
| 11190 | 9985 | if (options.host_whitelist) { |
| 11191 | - return (0, _checkHost.default)(host, options.host_whitelist); | |
| 9986 | + return checkHost(host, options.host_whitelist); | |
| 11192 | 9987 | } |
| 11193 | 9988 | if (host === '' && !options.require_host) { |
| 11194 | 9989 | return true; |
| 11195 | 9990 | } |
| @@ -11196,9 +9991,9 @@ | ||
| 11196 | 9991 | if (!(0, _isIP.default)(host) && !(0, _isFQDN.default)(host, options) && (!ipv6 || !(0, _isIP.default)(ipv6, 6))) { |
| 11197 | 9992 | return false; |
| 11198 | 9993 | } |
| 11199 | 9994 | host = host || ipv6; |
| 11200 | - if (options.host_blacklist && (0, _checkHost.default)(host, options.host_blacklist)) { | |
| 9995 | + if (options.host_blacklist && checkHost(host, options.host_blacklist)) { | |
| 11201 | 9996 | return false; |
| 11202 | 9997 | } |
| 11203 | 9998 | return true; |
| 11204 | 9999 | } |
| @@ -11219,41 +10014,16 @@ | ||
| 11219 | 10014 | Object.defineProperty(exports, "__esModule", ({ |
| 11220 | 10015 | value: true |
| 11221 | 10016 | })); |
| 11222 | 10017 | exports["default"] = assertString; |
| 10018 | +function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | |
| 11223 | 10019 | function assertString(input) { |
| 11224 | - if (input === undefined || input === null) throw new TypeError("Expected a string but received a ".concat(input)); | |
| 11225 | - if (input.constructor.name !== 'String') throw new TypeError("Expected a string but received a ".concat(input.constructor.name)); | |
| 11226 | -} | |
| 11227 | -module.exports = exports.default; | |
| 11228 | -module.exports["default"] = exports.default; | |
| 11229 | - | |
| 11230 | -/***/ }), | |
| 11231 | - | |
| 11232 | -/***/ "../node_modules/validator/lib/util/checkHost.js": | |
| 11233 | -/*!*******************************************************!*\ | |
| 11234 | - !*** ../node_modules/validator/lib/util/checkHost.js ***! | |
| 11235 | - \*******************************************************/ | |
| 11236 | -/***/ ((module, exports) => { | |
| 11237 | - | |
| 11238 | -"use strict"; | |
| 11239 | - | |
| 11240 | - | |
| 11241 | -Object.defineProperty(exports, "__esModule", ({ | |
| 11242 | - value: true | |
| 11243 | -})); | |
| 11244 | -exports["default"] = checkHost; | |
| 11245 | -function isRegExp(obj) { | |
| 11246 | - return Object.prototype.toString.call(obj) === '[object RegExp]'; | |
| 11247 | -} | |
| 11248 | -function checkHost(host, matches) { | |
| 11249 | - for (var i = 0; i < matches.length; i++) { | |
| 11250 | - var match = matches[i]; | |
| 11251 | - if (host === match || isRegExp(match) && match.test(host)) { | |
| 11252 | - return true; | |
| 11253 | - } | |
| 10020 | + var isString = typeof input === 'string' || input instanceof String; | |
| 10021 | + if (!isString) { | |
| 10022 | + var invalidType = _typeof(input); | |
| 10023 | + if (input === null) invalidType = 'null';else if (invalidType === 'object') invalidType = input.constructor.name; | |
| 10024 | + throw new TypeError("Expected a string but received a ".concat(invalidType)); | |
| 11254 | 10025 | } |
| 11255 | - return false; | |
| 11256 | 10026 | } |
| 11257 | 10027 | module.exports = exports.default; |
| 11258 | 10028 | module.exports["default"] = exports.default; |
| 11259 | 10029 | |
| @@ -11258,30 +10028,8 @@ | ||
| 11258 | 10028 | module.exports["default"] = exports.default; |
| 11259 | 10029 | |
| 11260 | 10030 | /***/ }), |
| 11261 | 10031 | |
| 11262 | -/***/ "../node_modules/validator/lib/util/includesString.js": | |
| 11263 | -/*!************************************************************!*\ | |
| 11264 | - !*** ../node_modules/validator/lib/util/includesString.js ***! | |
| 11265 | - \************************************************************/ | |
| 11266 | -/***/ ((module, exports) => { | |
| 11267 | - | |
| 11268 | -"use strict"; | |
| 11269 | - | |
| 11270 | - | |
| 11271 | -Object.defineProperty(exports, "__esModule", ({ | |
| 11272 | - value: true | |
| 11273 | -})); | |
| 11274 | -exports["default"] = void 0; | |
| 11275 | -var includes = function includes(str, val) { | |
| 11276 | - return str.indexOf(val) !== -1; | |
| 11277 | -}; | |
| 11278 | -var _default = exports["default"] = includes; | |
| 11279 | -module.exports = exports.default; | |
| 11280 | -module.exports["default"] = exports.default; | |
| 11281 | - | |
| 11282 | -/***/ }), | |
| 11283 | - | |
| 11284 | 10032 | /***/ "../node_modules/validator/lib/util/merge.js": |
| 11285 | 10033 | /*!***************************************************!*\ |
| 11286 | 10034 | !*** ../node_modules/validator/lib/util/merge.js ***! |
| 11287 | 10035 | \***************************************************/ |
| @@ -11308,8 +10056,30 @@ | ||
| 11308 | 10056 | module.exports["default"] = exports.default; |
| 11309 | 10057 | |
| 11310 | 10058 | /***/ }), |
| 11311 | 10059 | |
| 10060 | +/***/ "react": | |
| 10061 | +/*!************************!*\ | |
| 10062 | + !*** external "React" ***! | |
| 10063 | + \************************/ | |
| 10064 | +/***/ ((module) => { | |
| 10065 | + | |
| 10066 | +"use strict"; | |
| 10067 | +module.exports = React; | |
| 10068 | + | |
| 10069 | +/***/ }), | |
| 10070 | + | |
| 10071 | +/***/ "react-dom": | |
| 10072 | +/*!***************************!*\ | |
| 10073 | + !*** external "ReactDOM" ***! | |
| 10074 | + \***************************/ | |
| 10075 | +/***/ ((module) => { | |
| 10076 | + | |
| 10077 | +"use strict"; | |
| 10078 | +module.exports = ReactDOM; | |
| 10079 | + | |
| 10080 | +/***/ }), | |
| 10081 | + | |
| 11312 | 10082 | /***/ "@elementor/icons": |
| 11313 | 10083 | /*!************************************!*\ |
| 11314 | 10084 | !*** external "elementorV2.icons" ***! |
| 11315 | 10085 | \************************************/ |
| @@ -11341,28 +10111,2325 @@ | ||
| 11341 | 10111 | module.exports = wp.i18n; |
| 11342 | 10112 | |
| 11343 | 10113 | /***/ }), |
| 11344 | 10114 | |
| 11345 | -/***/ "react": | |
| 11346 | -/*!************************!*\ | |
| 11347 | - !*** external "React" ***! | |
| 11348 | - \************************/ | |
| 10115 | +/***/ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js": | |
| 10116 | +/*!******************************************************************!*\ | |
| 10117 | + !*** ../node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! | |
| 10118 | + \******************************************************************/ | |
| 11349 | 10119 | /***/ ((module) => { |
| 11350 | 10120 | |
| 10121 | +function _arrayLikeToArray(r, a) { | |
| 10122 | + (null == a || a > r.length) && (a = r.length); | |
| 10123 | + for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; | |
| 10124 | + return n; | |
| 10125 | +} | |
| 10126 | +module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10127 | + | |
| 10128 | +/***/ }), | |
| 10129 | + | |
| 10130 | +/***/ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js": | |
| 10131 | +/*!****************************************************************!*\ | |
| 10132 | + !*** ../node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! | |
| 10133 | + \****************************************************************/ | |
| 10134 | +/***/ ((module) => { | |
| 10135 | + | |
| 10136 | +function _arrayWithHoles(r) { | |
| 10137 | + if (Array.isArray(r)) return r; | |
| 10138 | +} | |
| 10139 | +module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10140 | + | |
| 10141 | +/***/ }), | |
| 10142 | + | |
| 10143 | +/***/ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js": | |
| 10144 | +/*!*******************************************************************!*\ | |
| 10145 | + !*** ../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***! | |
| 10146 | + \*******************************************************************/ | |
| 10147 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10148 | + | |
| 10149 | +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); | |
| 10150 | +function _arrayWithoutHoles(r) { | |
| 10151 | + if (Array.isArray(r)) return arrayLikeToArray(r); | |
| 10152 | +} | |
| 10153 | +module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10154 | + | |
| 10155 | +/***/ }), | |
| 10156 | + | |
| 10157 | +/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": | |
| 10158 | +/*!***********************************************************************!*\ | |
| 10159 | + !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! | |
| 10160 | + \***********************************************************************/ | |
| 10161 | +/***/ ((module) => { | |
| 10162 | + | |
| 10163 | +function _assertThisInitialized(e) { | |
| 10164 | + if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 10165 | + return e; | |
| 10166 | +} | |
| 10167 | +module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10168 | + | |
| 10169 | +/***/ }), | |
| 10170 | + | |
| 10171 | +/***/ "../node_modules/@babel/runtime/helpers/asyncToGenerator.js": | |
| 10172 | +/*!******************************************************************!*\ | |
| 10173 | + !*** ../node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! | |
| 10174 | + \******************************************************************/ | |
| 10175 | +/***/ ((module) => { | |
| 10176 | + | |
| 10177 | +function asyncGeneratorStep(n, t, e, r, o, a, c) { | |
| 10178 | + try { | |
| 10179 | + var i = n[a](c), | |
| 10180 | + u = i.value; | |
| 10181 | + } catch (n) { | |
| 10182 | + return void e(n); | |
| 10183 | + } | |
| 10184 | + i.done ? t(u) : Promise.resolve(u).then(r, o); | |
| 10185 | +} | |
| 10186 | +function _asyncToGenerator(n) { | |
| 10187 | + return function () { | |
| 10188 | + var t = this, | |
| 10189 | + e = arguments; | |
| 10190 | + return new Promise(function (r, o) { | |
| 10191 | + var a = n.apply(t, e); | |
| 10192 | + function _next(n) { | |
| 10193 | + asyncGeneratorStep(a, r, o, _next, _throw, "next", n); | |
| 10194 | + } | |
| 10195 | + function _throw(n) { | |
| 10196 | + asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); | |
| 10197 | + } | |
| 10198 | + _next(void 0); | |
| 10199 | + }); | |
| 10200 | + }; | |
| 10201 | +} | |
| 10202 | +module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10203 | + | |
| 10204 | +/***/ }), | |
| 10205 | + | |
| 10206 | +/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": | |
| 10207 | +/*!****************************************************************!*\ | |
| 10208 | + !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! | |
| 10209 | + \****************************************************************/ | |
| 10210 | +/***/ ((module) => { | |
| 10211 | + | |
| 10212 | +function _classCallCheck(a, n) { | |
| 10213 | + if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 10214 | +} | |
| 10215 | +module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10216 | + | |
| 10217 | +/***/ }), | |
| 10218 | + | |
| 10219 | +/***/ "../node_modules/@babel/runtime/helpers/createClass.js": | |
| 10220 | +/*!*************************************************************!*\ | |
| 10221 | + !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! | |
| 10222 | + \*************************************************************/ | |
| 10223 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10224 | + | |
| 10225 | +var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 10226 | +function _defineProperties(e, r) { | |
| 10227 | + for (var t = 0; t < r.length; t++) { | |
| 10228 | + var o = r[t]; | |
| 10229 | + o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 10230 | + } | |
| 10231 | +} | |
| 10232 | +function _createClass(e, r, t) { | |
| 10233 | + return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 10234 | + writable: !1 | |
| 10235 | + }), e; | |
| 10236 | +} | |
| 10237 | +module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10238 | + | |
| 10239 | +/***/ }), | |
| 10240 | + | |
| 10241 | +/***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": | |
| 10242 | +/*!****************************************************************!*\ | |
| 10243 | + !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! | |
| 10244 | + \****************************************************************/ | |
| 10245 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10246 | + | |
| 10247 | +var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 10248 | +function _defineProperty(e, r, t) { | |
| 10249 | + return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { | |
| 10250 | + value: t, | |
| 10251 | + enumerable: !0, | |
| 10252 | + configurable: !0, | |
| 10253 | + writable: !0 | |
| 10254 | + }) : e[r] = t, e; | |
| 10255 | +} | |
| 10256 | +module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10257 | + | |
| 10258 | +/***/ }), | |
| 10259 | + | |
| 10260 | +/***/ "../node_modules/@babel/runtime/helpers/extends.js": | |
| 10261 | +/*!*********************************************************!*\ | |
| 10262 | + !*** ../node_modules/@babel/runtime/helpers/extends.js ***! | |
| 10263 | + \*********************************************************/ | |
| 10264 | +/***/ ((module) => { | |
| 10265 | + | |
| 10266 | +function _extends() { | |
| 10267 | + return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) { | |
| 10268 | + for (var e = 1; e < arguments.length; e++) { | |
| 10269 | + var t = arguments[e]; | |
| 10270 | + for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | |
| 10271 | + } | |
| 10272 | + return n; | |
| 10273 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends.apply(null, arguments); | |
| 10274 | +} | |
| 10275 | +module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10276 | + | |
| 10277 | +/***/ }), | |
| 10278 | + | |
| 10279 | +/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": | |
| 10280 | +/*!****************************************************************!*\ | |
| 10281 | + !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! | |
| 10282 | + \****************************************************************/ | |
| 10283 | +/***/ ((module) => { | |
| 10284 | + | |
| 10285 | +function _getPrototypeOf(t) { | |
| 10286 | + return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 10287 | + return t.__proto__ || Object.getPrototypeOf(t); | |
| 10288 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 10289 | +} | |
| 10290 | +module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10291 | + | |
| 10292 | +/***/ }), | |
| 10293 | + | |
| 10294 | +/***/ "../node_modules/@babel/runtime/helpers/inherits.js": | |
| 10295 | +/*!**********************************************************!*\ | |
| 10296 | + !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! | |
| 10297 | + \**********************************************************/ | |
| 10298 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10299 | + | |
| 10300 | +var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 10301 | +function _inherits(t, e) { | |
| 10302 | + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 10303 | + t.prototype = Object.create(e && e.prototype, { | |
| 10304 | + constructor: { | |
| 10305 | + value: t, | |
| 10306 | + writable: !0, | |
| 10307 | + configurable: !0 | |
| 10308 | + } | |
| 10309 | + }), Object.defineProperty(t, "prototype", { | |
| 10310 | + writable: !1 | |
| 10311 | + }), e && setPrototypeOf(t, e); | |
| 10312 | +} | |
| 10313 | +module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10314 | + | |
| 10315 | +/***/ }), | |
| 10316 | + | |
| 10317 | +/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 10318 | +/*!***********************************************************************!*\ | |
| 10319 | + !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 10320 | + \***********************************************************************/ | |
| 10321 | +/***/ ((module) => { | |
| 10322 | + | |
| 10323 | +function _interopRequireDefault(e) { | |
| 10324 | + return e && e.__esModule ? e : { | |
| 10325 | + "default": e | |
| 10326 | + }; | |
| 10327 | +} | |
| 10328 | +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10329 | + | |
| 10330 | +/***/ }), | |
| 10331 | + | |
| 10332 | +/***/ "../node_modules/@babel/runtime/helpers/iterableToArray.js": | |
| 10333 | +/*!*****************************************************************!*\ | |
| 10334 | + !*** ../node_modules/@babel/runtime/helpers/iterableToArray.js ***! | |
| 10335 | + \*****************************************************************/ | |
| 10336 | +/***/ ((module) => { | |
| 10337 | + | |
| 10338 | +function _iterableToArray(r) { | |
| 10339 | + if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); | |
| 10340 | +} | |
| 10341 | +module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10342 | + | |
| 10343 | +/***/ }), | |
| 10344 | + | |
| 10345 | +/***/ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": | |
| 10346 | +/*!**********************************************************************!*\ | |
| 10347 | + !*** ../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! | |
| 10348 | + \**********************************************************************/ | |
| 10349 | +/***/ ((module) => { | |
| 10350 | + | |
| 10351 | +function _iterableToArrayLimit(r, l) { | |
| 10352 | + var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | |
| 10353 | + if (null != t) { | |
| 10354 | + var e, | |
| 10355 | + n, | |
| 10356 | + i, | |
| 10357 | + u, | |
| 10358 | + a = [], | |
| 10359 | + f = !0, | |
| 10360 | + o = !1; | |
| 10361 | + try { | |
| 10362 | + if (i = (t = t.call(r)).next, 0 === l) { | |
| 10363 | + if (Object(t) !== t) return; | |
| 10364 | + f = !1; | |
| 10365 | + } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); | |
| 10366 | + } catch (r) { | |
| 10367 | + o = !0, n = r; | |
| 10368 | + } finally { | |
| 10369 | + try { | |
| 10370 | + if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; | |
| 10371 | + } finally { | |
| 10372 | + if (o) throw n; | |
| 10373 | + } | |
| 10374 | + } | |
| 10375 | + return a; | |
| 10376 | + } | |
| 10377 | +} | |
| 10378 | +module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10379 | + | |
| 10380 | +/***/ }), | |
| 10381 | + | |
| 10382 | +/***/ "../node_modules/@babel/runtime/helpers/nonIterableRest.js": | |
| 10383 | +/*!*****************************************************************!*\ | |
| 10384 | + !*** ../node_modules/@babel/runtime/helpers/nonIterableRest.js ***! | |
| 10385 | + \*****************************************************************/ | |
| 10386 | +/***/ ((module) => { | |
| 10387 | + | |
| 10388 | +function _nonIterableRest() { | |
| 10389 | + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 10390 | +} | |
| 10391 | +module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10392 | + | |
| 10393 | +/***/ }), | |
| 10394 | + | |
| 10395 | +/***/ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js": | |
| 10396 | +/*!*******************************************************************!*\ | |
| 10397 | + !*** ../node_modules/@babel/runtime/helpers/nonIterableSpread.js ***! | |
| 10398 | + \*******************************************************************/ | |
| 10399 | +/***/ ((module) => { | |
| 10400 | + | |
| 10401 | +function _nonIterableSpread() { | |
| 10402 | + throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| 10403 | +} | |
| 10404 | +module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10405 | + | |
| 10406 | +/***/ }), | |
| 10407 | + | |
| 10408 | +/***/ "../node_modules/@babel/runtime/helpers/objectWithoutProperties.js": | |
| 10409 | +/*!*************************************************************************!*\ | |
| 10410 | + !*** ../node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! | |
| 10411 | + \*************************************************************************/ | |
| 10412 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10413 | + | |
| 10414 | +var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"); | |
| 10415 | +function _objectWithoutProperties(e, t) { | |
| 10416 | + if (null == e) return {}; | |
| 10417 | + var o, | |
| 10418 | + r, | |
| 10419 | + i = objectWithoutPropertiesLoose(e, t); | |
| 10420 | + if (Object.getOwnPropertySymbols) { | |
| 10421 | + var s = Object.getOwnPropertySymbols(e); | |
| 10422 | + for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); | |
| 10423 | + } | |
| 10424 | + return i; | |
| 10425 | +} | |
| 10426 | +module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10427 | + | |
| 10428 | +/***/ }), | |
| 10429 | + | |
| 10430 | +/***/ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js": | |
| 10431 | +/*!******************************************************************************!*\ | |
| 10432 | + !*** ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! | |
| 10433 | + \******************************************************************************/ | |
| 10434 | +/***/ ((module) => { | |
| 10435 | + | |
| 10436 | +function _objectWithoutPropertiesLoose(r, e) { | |
| 10437 | + if (null == r) return {}; | |
| 10438 | + var t = {}; | |
| 10439 | + for (var n in r) if ({}.hasOwnProperty.call(r, n)) { | |
| 10440 | + if (e.includes(n)) continue; | |
| 10441 | + t[n] = r[n]; | |
| 10442 | + } | |
| 10443 | + return t; | |
| 10444 | +} | |
| 10445 | +module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10446 | + | |
| 10447 | +/***/ }), | |
| 10448 | + | |
| 10449 | +/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": | |
| 10450 | +/*!***************************************************************************!*\ | |
| 10451 | + !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! | |
| 10452 | + \***************************************************************************/ | |
| 10453 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10454 | + | |
| 10455 | +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 10456 | +var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); | |
| 10457 | +function _possibleConstructorReturn(t, e) { | |
| 10458 | + if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 10459 | + if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 10460 | + return assertThisInitialized(t); | |
| 10461 | +} | |
| 10462 | +module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10463 | + | |
| 10464 | +/***/ }), | |
| 10465 | + | |
| 10466 | +/***/ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js": | |
| 10467 | +/*!********************************************************************!*\ | |
| 10468 | + !*** ../node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***! | |
| 10469 | + \********************************************************************/ | |
| 10470 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10471 | + | |
| 10472 | +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 10473 | +function _regeneratorRuntime() { | |
| 10474 | + "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | |
| 10475 | + module.exports = _regeneratorRuntime = function _regeneratorRuntime() { | |
| 10476 | + return e; | |
| 10477 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10478 | + var t, | |
| 10479 | + e = {}, | |
| 10480 | + r = Object.prototype, | |
| 10481 | + n = r.hasOwnProperty, | |
| 10482 | + o = Object.defineProperty || function (t, e, r) { | |
| 10483 | + t[e] = r.value; | |
| 10484 | + }, | |
| 10485 | + i = "function" == typeof Symbol ? Symbol : {}, | |
| 10486 | + a = i.iterator || "@@iterator", | |
| 10487 | + c = i.asyncIterator || "@@asyncIterator", | |
| 10488 | + u = i.toStringTag || "@@toStringTag"; | |
| 10489 | + function define(t, e, r) { | |
| 10490 | + return Object.defineProperty(t, e, { | |
| 10491 | + value: r, | |
| 10492 | + enumerable: !0, | |
| 10493 | + configurable: !0, | |
| 10494 | + writable: !0 | |
| 10495 | + }), t[e]; | |
| 10496 | + } | |
| 10497 | + try { | |
| 10498 | + define({}, ""); | |
| 10499 | + } catch (t) { | |
| 10500 | + define = function define(t, e, r) { | |
| 10501 | + return t[e] = r; | |
| 10502 | + }; | |
| 10503 | + } | |
| 10504 | + function wrap(t, e, r, n) { | |
| 10505 | + var i = e && e.prototype instanceof Generator ? e : Generator, | |
| 10506 | + a = Object.create(i.prototype), | |
| 10507 | + c = new Context(n || []); | |
| 10508 | + return o(a, "_invoke", { | |
| 10509 | + value: makeInvokeMethod(t, r, c) | |
| 10510 | + }), a; | |
| 10511 | + } | |
| 10512 | + function tryCatch(t, e, r) { | |
| 10513 | + try { | |
| 10514 | + return { | |
| 10515 | + type: "normal", | |
| 10516 | + arg: t.call(e, r) | |
| 10517 | + }; | |
| 10518 | + } catch (t) { | |
| 10519 | + return { | |
| 10520 | + type: "throw", | |
| 10521 | + arg: t | |
| 10522 | + }; | |
| 10523 | + } | |
| 10524 | + } | |
| 10525 | + e.wrap = wrap; | |
| 10526 | + var h = "suspendedStart", | |
| 10527 | + l = "suspendedYield", | |
| 10528 | + f = "executing", | |
| 10529 | + s = "completed", | |
| 10530 | + y = {}; | |
| 10531 | + function Generator() {} | |
| 10532 | + function GeneratorFunction() {} | |
| 10533 | + function GeneratorFunctionPrototype() {} | |
| 10534 | + var p = {}; | |
| 10535 | + define(p, a, function () { | |
| 10536 | + return this; | |
| 10537 | + }); | |
| 10538 | + var d = Object.getPrototypeOf, | |
| 10539 | + v = d && d(d(values([]))); | |
| 10540 | + v && v !== r && n.call(v, a) && (p = v); | |
| 10541 | + var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); | |
| 10542 | + function defineIteratorMethods(t) { | |
| 10543 | + ["next", "throw", "return"].forEach(function (e) { | |
| 10544 | + define(t, e, function (t) { | |
| 10545 | + return this._invoke(e, t); | |
| 10546 | + }); | |
| 10547 | + }); | |
| 10548 | + } | |
| 10549 | + function AsyncIterator(t, e) { | |
| 10550 | + function invoke(r, o, i, a) { | |
| 10551 | + var c = tryCatch(t[r], t, o); | |
| 10552 | + if ("throw" !== c.type) { | |
| 10553 | + var u = c.arg, | |
| 10554 | + h = u.value; | |
| 10555 | + return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { | |
| 10556 | + invoke("next", t, i, a); | |
| 10557 | + }, function (t) { | |
| 10558 | + invoke("throw", t, i, a); | |
| 10559 | + }) : e.resolve(h).then(function (t) { | |
| 10560 | + u.value = t, i(u); | |
| 10561 | + }, function (t) { | |
| 10562 | + return invoke("throw", t, i, a); | |
| 10563 | + }); | |
| 10564 | + } | |
| 10565 | + a(c.arg); | |
| 10566 | + } | |
| 10567 | + var r; | |
| 10568 | + o(this, "_invoke", { | |
| 10569 | + value: function value(t, n) { | |
| 10570 | + function callInvokeWithMethodAndArg() { | |
| 10571 | + return new e(function (e, r) { | |
| 10572 | + invoke(t, n, e, r); | |
| 10573 | + }); | |
| 10574 | + } | |
| 10575 | + return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); | |
| 10576 | + } | |
| 10577 | + }); | |
| 10578 | + } | |
| 10579 | + function makeInvokeMethod(e, r, n) { | |
| 10580 | + var o = h; | |
| 10581 | + return function (i, a) { | |
| 10582 | + if (o === f) throw Error("Generator is already running"); | |
| 10583 | + if (o === s) { | |
| 10584 | + if ("throw" === i) throw a; | |
| 10585 | + return { | |
| 10586 | + value: t, | |
| 10587 | + done: !0 | |
| 10588 | + }; | |
| 10589 | + } | |
| 10590 | + for (n.method = i, n.arg = a;;) { | |
| 10591 | + var c = n.delegate; | |
| 10592 | + if (c) { | |
| 10593 | + var u = maybeInvokeDelegate(c, n); | |
| 10594 | + if (u) { | |
| 10595 | + if (u === y) continue; | |
| 10596 | + return u; | |
| 10597 | + } | |
| 10598 | + } | |
| 10599 | + if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { | |
| 10600 | + if (o === h) throw o = s, n.arg; | |
| 10601 | + n.dispatchException(n.arg); | |
| 10602 | + } else "return" === n.method && n.abrupt("return", n.arg); | |
| 10603 | + o = f; | |
| 10604 | + var p = tryCatch(e, r, n); | |
| 10605 | + if ("normal" === p.type) { | |
| 10606 | + if (o = n.done ? s : l, p.arg === y) continue; | |
| 10607 | + return { | |
| 10608 | + value: p.arg, | |
| 10609 | + done: n.done | |
| 10610 | + }; | |
| 10611 | + } | |
| 10612 | + "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); | |
| 10613 | + } | |
| 10614 | + }; | |
| 10615 | + } | |
| 10616 | + function maybeInvokeDelegate(e, r) { | |
| 10617 | + var n = r.method, | |
| 10618 | + o = e.iterator[n]; | |
| 10619 | + if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; | |
| 10620 | + var i = tryCatch(o, e.iterator, r.arg); | |
| 10621 | + if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; | |
| 10622 | + var a = i.arg; | |
| 10623 | + return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); | |
| 10624 | + } | |
| 10625 | + function pushTryEntry(t) { | |
| 10626 | + var e = { | |
| 10627 | + tryLoc: t[0] | |
| 10628 | + }; | |
| 10629 | + 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); | |
| 10630 | + } | |
| 10631 | + function resetTryEntry(t) { | |
| 10632 | + var e = t.completion || {}; | |
| 10633 | + e.type = "normal", delete e.arg, t.completion = e; | |
| 10634 | + } | |
| 10635 | + function Context(t) { | |
| 10636 | + this.tryEntries = [{ | |
| 10637 | + tryLoc: "root" | |
| 10638 | + }], t.forEach(pushTryEntry, this), this.reset(!0); | |
| 10639 | + } | |
| 10640 | + function values(e) { | |
| 10641 | + if (e || "" === e) { | |
| 10642 | + var r = e[a]; | |
| 10643 | + if (r) return r.call(e); | |
| 10644 | + if ("function" == typeof e.next) return e; | |
| 10645 | + if (!isNaN(e.length)) { | |
| 10646 | + var o = -1, | |
| 10647 | + i = function next() { | |
| 10648 | + for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; | |
| 10649 | + return next.value = t, next.done = !0, next; | |
| 10650 | + }; | |
| 10651 | + return i.next = i; | |
| 10652 | + } | |
| 10653 | + } | |
| 10654 | + throw new TypeError(_typeof(e) + " is not iterable"); | |
| 10655 | + } | |
| 10656 | + return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { | |
| 10657 | + value: GeneratorFunctionPrototype, | |
| 10658 | + configurable: !0 | |
| 10659 | + }), o(GeneratorFunctionPrototype, "constructor", { | |
| 10660 | + value: GeneratorFunction, | |
| 10661 | + configurable: !0 | |
| 10662 | + }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { | |
| 10663 | + var e = "function" == typeof t && t.constructor; | |
| 10664 | + return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); | |
| 10665 | + }, e.mark = function (t) { | |
| 10666 | + return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; | |
| 10667 | + }, e.awrap = function (t) { | |
| 10668 | + return { | |
| 10669 | + __await: t | |
| 10670 | + }; | |
| 10671 | + }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { | |
| 10672 | + return this; | |
| 10673 | + }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { | |
| 10674 | + void 0 === i && (i = Promise); | |
| 10675 | + var a = new AsyncIterator(wrap(t, r, n, o), i); | |
| 10676 | + return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { | |
| 10677 | + return t.done ? t.value : a.next(); | |
| 10678 | + }); | |
| 10679 | + }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { | |
| 10680 | + return this; | |
| 10681 | + }), define(g, "toString", function () { | |
| 10682 | + return "[object Generator]"; | |
| 10683 | + }), e.keys = function (t) { | |
| 10684 | + var e = Object(t), | |
| 10685 | + r = []; | |
| 10686 | + for (var n in e) r.push(n); | |
| 10687 | + return r.reverse(), function next() { | |
| 10688 | + for (; r.length;) { | |
| 10689 | + var t = r.pop(); | |
| 10690 | + if (t in e) return next.value = t, next.done = !1, next; | |
| 10691 | + } | |
| 10692 | + return next.done = !0, next; | |
| 10693 | + }; | |
| 10694 | + }, e.values = values, Context.prototype = { | |
| 10695 | + constructor: Context, | |
| 10696 | + reset: function reset(e) { | |
| 10697 | + if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); | |
| 10698 | + }, | |
| 10699 | + stop: function stop() { | |
| 10700 | + this.done = !0; | |
| 10701 | + var t = this.tryEntries[0].completion; | |
| 10702 | + if ("throw" === t.type) throw t.arg; | |
| 10703 | + return this.rval; | |
| 10704 | + }, | |
| 10705 | + dispatchException: function dispatchException(e) { | |
| 10706 | + if (this.done) throw e; | |
| 10707 | + var r = this; | |
| 10708 | + function handle(n, o) { | |
| 10709 | + return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; | |
| 10710 | + } | |
| 10711 | + for (var o = this.tryEntries.length - 1; o >= 0; --o) { | |
| 10712 | + var i = this.tryEntries[o], | |
| 10713 | + a = i.completion; | |
| 10714 | + if ("root" === i.tryLoc) return handle("end"); | |
| 10715 | + if (i.tryLoc <= this.prev) { | |
| 10716 | + var c = n.call(i, "catchLoc"), | |
| 10717 | + u = n.call(i, "finallyLoc"); | |
| 10718 | + if (c && u) { | |
| 10719 | + if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); | |
| 10720 | + if (this.prev < i.finallyLoc) return handle(i.finallyLoc); | |
| 10721 | + } else if (c) { | |
| 10722 | + if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); | |
| 10723 | + } else { | |
| 10724 | + if (!u) throw Error("try statement without catch or finally"); | |
| 10725 | + if (this.prev < i.finallyLoc) return handle(i.finallyLoc); | |
| 10726 | + } | |
| 10727 | + } | |
| 10728 | + } | |
| 10729 | + }, | |
| 10730 | + abrupt: function abrupt(t, e) { | |
| 10731 | + for (var r = this.tryEntries.length - 1; r >= 0; --r) { | |
| 10732 | + var o = this.tryEntries[r]; | |
| 10733 | + if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { | |
| 10734 | + var i = o; | |
| 10735 | + break; | |
| 10736 | + } | |
| 10737 | + } | |
| 10738 | + i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); | |
| 10739 | + var a = i ? i.completion : {}; | |
| 10740 | + return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); | |
| 10741 | + }, | |
| 10742 | + complete: function complete(t, e) { | |
| 10743 | + if ("throw" === t.type) throw t.arg; | |
| 10744 | + return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; | |
| 10745 | + }, | |
| 10746 | + finish: function finish(t) { | |
| 10747 | + for (var e = this.tryEntries.length - 1; e >= 0; --e) { | |
| 10748 | + var r = this.tryEntries[e]; | |
| 10749 | + if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; | |
| 10750 | + } | |
| 10751 | + }, | |
| 10752 | + "catch": function _catch(t) { | |
| 10753 | + for (var e = this.tryEntries.length - 1; e >= 0; --e) { | |
| 10754 | + var r = this.tryEntries[e]; | |
| 10755 | + if (r.tryLoc === t) { | |
| 10756 | + var n = r.completion; | |
| 10757 | + if ("throw" === n.type) { | |
| 10758 | + var o = n.arg; | |
| 10759 | + resetTryEntry(r); | |
| 10760 | + } | |
| 10761 | + return o; | |
| 10762 | + } | |
| 10763 | + } | |
| 10764 | + throw Error("illegal catch attempt"); | |
| 10765 | + }, | |
| 10766 | + delegateYield: function delegateYield(e, r, n) { | |
| 10767 | + return this.delegate = { | |
| 10768 | + iterator: values(e), | |
| 10769 | + resultName: r, | |
| 10770 | + nextLoc: n | |
| 10771 | + }, "next" === this.method && (this.arg = t), y; | |
| 10772 | + } | |
| 10773 | + }, e; | |
| 10774 | +} | |
| 10775 | +module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10776 | + | |
| 10777 | +/***/ }), | |
| 10778 | + | |
| 10779 | +/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": | |
| 10780 | +/*!****************************************************************!*\ | |
| 10781 | + !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! | |
| 10782 | + \****************************************************************/ | |
| 10783 | +/***/ ((module) => { | |
| 10784 | + | |
| 10785 | +function _setPrototypeOf(t, e) { | |
| 10786 | + return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 10787 | + return t.__proto__ = e, t; | |
| 10788 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 10789 | +} | |
| 10790 | +module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10791 | + | |
| 10792 | +/***/ }), | |
| 10793 | + | |
| 10794 | +/***/ "../node_modules/@babel/runtime/helpers/slicedToArray.js": | |
| 10795 | +/*!***************************************************************!*\ | |
| 10796 | + !*** ../node_modules/@babel/runtime/helpers/slicedToArray.js ***! | |
| 10797 | + \***************************************************************/ | |
| 10798 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10799 | + | |
| 10800 | +var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithHoles.js"); | |
| 10801 | +var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ "../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); | |
| 10802 | +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 10803 | +var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../node_modules/@babel/runtime/helpers/nonIterableRest.js"); | |
| 10804 | +function _slicedToArray(r, e) { | |
| 10805 | + return arrayWithHoles(r) || iterableToArrayLimit(r, e) || unsupportedIterableToArray(r, e) || nonIterableRest(); | |
| 10806 | +} | |
| 10807 | +module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10808 | + | |
| 10809 | +/***/ }), | |
| 10810 | + | |
| 10811 | +/***/ "../node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js": | |
| 10812 | +/*!***********************************************************************!*\ | |
| 10813 | + !*** ../node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js ***! | |
| 10814 | + \***********************************************************************/ | |
| 10815 | +/***/ ((module) => { | |
| 10816 | + | |
| 10817 | +function _taggedTemplateLiteral(e, t) { | |
| 10818 | + return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { | |
| 10819 | + raw: { | |
| 10820 | + value: Object.freeze(t) | |
| 10821 | + } | |
| 10822 | + })); | |
| 10823 | +} | |
| 10824 | +module.exports = _taggedTemplateLiteral, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10825 | + | |
| 10826 | +/***/ }), | |
| 10827 | + | |
| 10828 | +/***/ "../node_modules/@babel/runtime/helpers/toConsumableArray.js": | |
| 10829 | +/*!*******************************************************************!*\ | |
| 10830 | + !*** ../node_modules/@babel/runtime/helpers/toConsumableArray.js ***! | |
| 10831 | + \*******************************************************************/ | |
| 10832 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10833 | + | |
| 10834 | +var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ "../node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"); | |
| 10835 | +var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../node_modules/@babel/runtime/helpers/iterableToArray.js"); | |
| 10836 | +var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"); | |
| 10837 | +var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ "../node_modules/@babel/runtime/helpers/nonIterableSpread.js"); | |
| 10838 | +function _toConsumableArray(r) { | |
| 10839 | + return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread(); | |
| 10840 | +} | |
| 10841 | +module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10842 | + | |
| 10843 | +/***/ }), | |
| 10844 | + | |
| 10845 | +/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 10846 | +/*!*************************************************************!*\ | |
| 10847 | + !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 10848 | + \*************************************************************/ | |
| 10849 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10850 | + | |
| 10851 | +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 10852 | +function toPrimitive(t, r) { | |
| 10853 | + if ("object" != _typeof(t) || !t) return t; | |
| 10854 | + var e = t[Symbol.toPrimitive]; | |
| 10855 | + if (void 0 !== e) { | |
| 10856 | + var i = e.call(t, r || "default"); | |
| 10857 | + if ("object" != _typeof(i)) return i; | |
| 10858 | + throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 10859 | + } | |
| 10860 | + return ("string" === r ? String : Number)(t); | |
| 10861 | +} | |
| 10862 | +module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10863 | + | |
| 10864 | +/***/ }), | |
| 10865 | + | |
| 10866 | +/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 10867 | +/*!***************************************************************!*\ | |
| 10868 | + !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 10869 | + \***************************************************************/ | |
| 10870 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10871 | + | |
| 10872 | +var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 10873 | +var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 10874 | +function toPropertyKey(t) { | |
| 10875 | + var i = toPrimitive(t, "string"); | |
| 10876 | + return "symbol" == _typeof(i) ? i : i + ""; | |
| 10877 | +} | |
| 10878 | +module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10879 | + | |
| 10880 | +/***/ }), | |
| 10881 | + | |
| 10882 | +/***/ "../node_modules/@babel/runtime/helpers/typeof.js": | |
| 10883 | +/*!********************************************************!*\ | |
| 10884 | + !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! | |
| 10885 | + \********************************************************/ | |
| 10886 | +/***/ ((module) => { | |
| 10887 | + | |
| 10888 | +function _typeof(o) { | |
| 10889 | + "@babel/helpers - typeof"; | |
| 10890 | + | |
| 10891 | + return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 10892 | + return typeof o; | |
| 10893 | + } : function (o) { | |
| 10894 | + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 10895 | + }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 10896 | +} | |
| 10897 | +module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10898 | + | |
| 10899 | +/***/ }), | |
| 10900 | + | |
| 10901 | +/***/ "../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js": | |
| 10902 | +/*!****************************************************************************!*\ | |
| 10903 | + !*** ../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! | |
| 10904 | + \****************************************************************************/ | |
| 10905 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10906 | + | |
| 10907 | +var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../node_modules/@babel/runtime/helpers/arrayLikeToArray.js"); | |
| 10908 | +function _unsupportedIterableToArray(r, a) { | |
| 10909 | + if (r) { | |
| 10910 | + if ("string" == typeof r) return arrayLikeToArray(r, a); | |
| 10911 | + var t = {}.toString.call(r).slice(8, -1); | |
| 10912 | + 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; | |
| 10913 | + } | |
| 10914 | +} | |
| 10915 | +module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 10916 | + | |
| 10917 | +/***/ }), | |
| 10918 | + | |
| 10919 | +/***/ "../node_modules/@babel/runtime/regenerator/index.js": | |
| 10920 | +/*!***********************************************************!*\ | |
| 10921 | + !*** ../node_modules/@babel/runtime/regenerator/index.js ***! | |
| 10922 | + \***********************************************************/ | |
| 10923 | +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 10924 | + | |
| 10925 | +// TODO(Babel 8): Remove this file. | |
| 10926 | + | |
| 10927 | +var runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ "../node_modules/@babel/runtime/helpers/regeneratorRuntime.js")(); | |
| 10928 | +module.exports = runtime; | |
| 10929 | + | |
| 10930 | +// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736= | |
| 10931 | +try { | |
| 10932 | + regeneratorRuntime = runtime; | |
| 10933 | +} catch (accidentalStrictMode) { | |
| 10934 | + if (typeof globalThis === "object") { | |
| 10935 | + globalThis.regeneratorRuntime = runtime; | |
| 10936 | + } else { | |
| 10937 | + Function("r", "regeneratorRuntime = r")(runtime); | |
| 10938 | + } | |
| 10939 | +} | |
| 10940 | + | |
| 10941 | + | |
| 10942 | +/***/ }), | |
| 10943 | + | |
| 10944 | +/***/ "../node_modules/styled-components/node_modules/stylis/src/Enum.js": | |
| 10945 | +/*!*************************************************************************!*\ | |
| 10946 | + !*** ../node_modules/styled-components/node_modules/stylis/src/Enum.js ***! | |
| 10947 | + \*************************************************************************/ | |
| 10948 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 10949 | + | |
| 11351 | 10950 | "use strict"; |
| 11352 | -module.exports = React; | |
| 10951 | +__webpack_require__.r(__webpack_exports__); | |
| 10952 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 10953 | +/* harmony export */ CHARSET: () => (/* binding */ CHARSET), | |
| 10954 | +/* harmony export */ COMMENT: () => (/* binding */ COMMENT), | |
| 10955 | +/* harmony export */ COUNTER_STYLE: () => (/* binding */ COUNTER_STYLE), | |
| 10956 | +/* harmony export */ DECLARATION: () => (/* binding */ DECLARATION), | |
| 10957 | +/* harmony export */ DOCUMENT: () => (/* binding */ DOCUMENT), | |
| 10958 | +/* harmony export */ FONT_FACE: () => (/* binding */ FONT_FACE), | |
| 10959 | +/* harmony export */ FONT_FEATURE_VALUES: () => (/* binding */ FONT_FEATURE_VALUES), | |
| 10960 | +/* harmony export */ IMPORT: () => (/* binding */ IMPORT), | |
| 10961 | +/* harmony export */ KEYFRAMES: () => (/* binding */ KEYFRAMES), | |
| 10962 | +/* harmony export */ LAYER: () => (/* binding */ LAYER), | |
| 10963 | +/* harmony export */ MEDIA: () => (/* binding */ MEDIA), | |
| 10964 | +/* harmony export */ MOZ: () => (/* binding */ MOZ), | |
| 10965 | +/* harmony export */ MS: () => (/* binding */ MS), | |
| 10966 | +/* harmony export */ NAMESPACE: () => (/* binding */ NAMESPACE), | |
| 10967 | +/* harmony export */ PAGE: () => (/* binding */ PAGE), | |
| 10968 | +/* harmony export */ RULESET: () => (/* binding */ RULESET), | |
| 10969 | +/* harmony export */ SCOPE: () => (/* binding */ SCOPE), | |
| 10970 | +/* harmony export */ SUPPORTS: () => (/* binding */ SUPPORTS), | |
| 10971 | +/* harmony export */ VIEWPORT: () => (/* binding */ VIEWPORT), | |
| 10972 | +/* harmony export */ WEBKIT: () => (/* binding */ WEBKIT) | |
| 10973 | +/* harmony export */ }); | |
| 10974 | +var MS = '-ms-' | |
| 10975 | +var MOZ = '-moz-' | |
| 10976 | +var WEBKIT = '-webkit-' | |
| 11353 | 10977 | |
| 10978 | +var COMMENT = 'comm' | |
| 10979 | +var RULESET = 'rule' | |
| 10980 | +var DECLARATION = 'decl' | |
| 10981 | + | |
| 10982 | +var PAGE = '@page' | |
| 10983 | +var MEDIA = '@media' | |
| 10984 | +var IMPORT = '@import' | |
| 10985 | +var CHARSET = '@charset' | |
| 10986 | +var VIEWPORT = '@viewport' | |
| 10987 | +var SUPPORTS = '@supports' | |
| 10988 | +var DOCUMENT = '@document' | |
| 10989 | +var NAMESPACE = '@namespace' | |
| 10990 | +var KEYFRAMES = '@keyframes' | |
| 10991 | +var FONT_FACE = '@font-face' | |
| 10992 | +var COUNTER_STYLE = '@counter-style' | |
| 10993 | +var FONT_FEATURE_VALUES = '@font-feature-values' | |
| 10994 | +var LAYER = '@layer' | |
| 10995 | +var SCOPE = '@scope' | |
| 10996 | + | |
| 10997 | + | |
| 11354 | 10998 | /***/ }), |
| 11355 | 10999 | |
| 11356 | -/***/ "react-dom": | |
| 11357 | -/*!***************************!*\ | |
| 11358 | - !*** external "ReactDOM" ***! | |
| 11359 | - \***************************/ | |
| 11360 | -/***/ ((module) => { | |
| 11000 | +/***/ "../node_modules/styled-components/node_modules/stylis/src/Middleware.js": | |
| 11001 | +/*!*******************************************************************************!*\ | |
| 11002 | + !*** ../node_modules/styled-components/node_modules/stylis/src/Middleware.js ***! | |
| 11003 | + \*******************************************************************************/ | |
| 11004 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11361 | 11005 | |
| 11362 | 11006 | "use strict"; |
| 11363 | -module.exports = ReactDOM; | |
| 11007 | +__webpack_require__.r(__webpack_exports__); | |
| 11008 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11009 | +/* harmony export */ middleware: () => (/* binding */ middleware), | |
| 11010 | +/* harmony export */ namespace: () => (/* binding */ namespace), | |
| 11011 | +/* harmony export */ prefixer: () => (/* binding */ prefixer), | |
| 11012 | +/* harmony export */ rulesheet: () => (/* binding */ rulesheet) | |
| 11013 | +/* harmony export */ }); | |
| 11014 | +/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Enum.js */ "../node_modules/styled-components/node_modules/stylis/src/Enum.js"); | |
| 11015 | +/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "../node_modules/styled-components/node_modules/stylis/src/Utility.js"); | |
| 11016 | +/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Tokenizer.js */ "../node_modules/styled-components/node_modules/stylis/src/Tokenizer.js"); | |
| 11017 | +/* harmony import */ var _Serializer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Serializer.js */ "../node_modules/styled-components/node_modules/stylis/src/Serializer.js"); | |
| 11018 | +/* harmony import */ var _Prefixer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Prefixer.js */ "../node_modules/styled-components/node_modules/stylis/src/Prefixer.js"); | |
| 11364 | 11019 | |
| 11020 | + | |
| 11021 | + | |
| 11022 | + | |
| 11023 | + | |
| 11024 | + | |
| 11025 | +/** | |
| 11026 | + * @param {function[]} collection | |
| 11027 | + * @return {function} | |
| 11028 | + */ | |
| 11029 | +function middleware (collection) { | |
| 11030 | + var length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.sizeof)(collection) | |
| 11031 | + | |
| 11032 | + return function (element, index, children, callback) { | |
| 11033 | + var output = '' | |
| 11034 | + | |
| 11035 | + for (var i = 0; i < length; i++) | |
| 11036 | + output += collection[i](element, index, children, callback) || '' | |
| 11037 | + | |
| 11038 | + return output | |
| 11039 | + } | |
| 11040 | +} | |
| 11041 | + | |
| 11042 | +/** | |
| 11043 | + * @param {function} callback | |
| 11044 | + * @return {function} | |
| 11045 | + */ | |
| 11046 | +function rulesheet (callback) { | |
| 11047 | + return function (element) { | |
| 11048 | + if (!element.root) | |
| 11049 | + if (element = element.return) | |
| 11050 | + callback(element) | |
| 11051 | + } | |
| 11052 | +} | |
| 11053 | + | |
| 11054 | +/** | |
| 11055 | + * @param {object} element | |
| 11056 | + * @param {number} index | |
| 11057 | + * @param {object[]} children | |
| 11058 | + * @param {function} callback | |
| 11059 | + */ | |
| 11060 | +function prefixer (element, index, children, callback) { | |
| 11061 | + if (element.length > -1) | |
| 11062 | + if (!element.return) | |
| 11063 | + switch (element.type) { | |
| 11064 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.DECLARATION: element.return = (0,_Prefixer_js__WEBPACK_IMPORTED_MODULE_2__.prefix)(element.value, element.length, children) | |
| 11065 | + return | |
| 11066 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.KEYFRAMES: | |
| 11067 | + return (0,_Serializer_js__WEBPACK_IMPORTED_MODULE_3__.serialize)([(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {value: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(element.value, '@', '@' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT)})], callback) | |
| 11068 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.RULESET: | |
| 11069 | + if (element.length) | |
| 11070 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.combine)(children = element.props, function (value) { | |
| 11071 | + switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(value, callback = /(::plac\w+|:read-\w+)/)) { | |
| 11072 | + // :read-(only|write) | |
| 11073 | + case ':read-only': case ':read-write': | |
| 11074 | + (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /:(read-\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + '$1')]})) | |
| 11075 | + ;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {props: [value]})) | |
| 11076 | + ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.assign)(element, {props: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.filter)(children, callback)}) | |
| 11077 | + break | |
| 11078 | + // :placeholder | |
| 11079 | + case '::placeholder': | |
| 11080 | + ;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /:(plac\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'input-$1')]})) | |
| 11081 | + ;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /:(plac\w+)/, ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + '$1')]})) | |
| 11082 | + ;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {props: [(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /:(plac\w+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'input-$1')]})) | |
| 11083 | + ;(0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.lift)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.copy)(element, {props: [value]})) | |
| 11084 | + ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.assign)(element, {props: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.filter)(children, callback)}) | |
| 11085 | + break | |
| 11086 | + } | |
| 11087 | + | |
| 11088 | + return '' | |
| 11089 | + }) | |
| 11090 | + } | |
| 11091 | +} | |
| 11092 | + | |
| 11093 | +/** | |
| 11094 | + * @param {object} element | |
| 11095 | + * @param {number} index | |
| 11096 | + * @param {object[]} children | |
| 11097 | + */ | |
| 11098 | +function namespace (element) { | |
| 11099 | + switch (element.type) { | |
| 11100 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_1__.RULESET: | |
| 11101 | + element.props = element.props.map(function (value) { | |
| 11102 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.combine)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_4__.tokenize)(value), function (value, index, children) { | |
| 11103 | + switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, 0)) { | |
| 11104 | + // \f | |
| 11105 | + case 12: | |
| 11106 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(value, 1, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(value)) | |
| 11107 | + // \0 ( + > ~ | |
| 11108 | + case 0: case 40: case 43: case 62: case 126: | |
| 11109 | + return value | |
| 11110 | + // : | |
| 11111 | + case 58: | |
| 11112 | + if (children[++index] === 'global') | |
| 11113 | + children[index] = '', children[++index] = '\f' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(children[index], index = 1, -1) | |
| 11114 | + // \s | |
| 11115 | + case 32: | |
| 11116 | + return index === 1 ? '' : value | |
| 11117 | + default: | |
| 11118 | + switch (index) { | |
| 11119 | + case 0: element = value | |
| 11120 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.sizeof)(children) > 1 ? '' : value | |
| 11121 | + case index = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.sizeof)(children) - 1: case 2: | |
| 11122 | + return index === 2 ? value + element + element : value + element | |
| 11123 | + default: | |
| 11124 | + return value | |
| 11125 | + } | |
| 11126 | + } | |
| 11127 | + }) | |
| 11128 | + }) | |
| 11129 | + } | |
| 11130 | +} | |
| 11131 | + | |
| 11132 | + | |
| 11133 | +/***/ }), | |
| 11134 | + | |
| 11135 | +/***/ "../node_modules/styled-components/node_modules/stylis/src/Parser.js": | |
| 11136 | +/*!***************************************************************************!*\ | |
| 11137 | + !*** ../node_modules/styled-components/node_modules/stylis/src/Parser.js ***! | |
| 11138 | + \***************************************************************************/ | |
| 11139 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11140 | + | |
| 11141 | +"use strict"; | |
| 11142 | +__webpack_require__.r(__webpack_exports__); | |
| 11143 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11144 | +/* harmony export */ comment: () => (/* binding */ comment), | |
| 11145 | +/* harmony export */ compile: () => (/* binding */ compile), | |
| 11146 | +/* harmony export */ declaration: () => (/* binding */ declaration), | |
| 11147 | +/* harmony export */ parse: () => (/* binding */ parse), | |
| 11148 | +/* harmony export */ ruleset: () => (/* binding */ ruleset) | |
| 11149 | +/* harmony export */ }); | |
| 11150 | +/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Enum.js */ "../node_modules/styled-components/node_modules/stylis/src/Enum.js"); | |
| 11151 | +/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "../node_modules/styled-components/node_modules/stylis/src/Utility.js"); | |
| 11152 | +/* harmony import */ var _Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Tokenizer.js */ "../node_modules/styled-components/node_modules/stylis/src/Tokenizer.js"); | |
| 11153 | + | |
| 11154 | + | |
| 11155 | + | |
| 11156 | + | |
| 11157 | +/** | |
| 11158 | + * @param {string} value | |
| 11159 | + * @return {object[]} | |
| 11160 | + */ | |
| 11161 | +function compile (value) { | |
| 11162 | + return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.dealloc)(parse('', null, null, null, [''], value = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.alloc)(value), 0, [0], value)) | |
| 11163 | +} | |
| 11164 | + | |
| 11165 | +/** | |
| 11166 | + * @param {string} value | |
| 11167 | + * @param {object} root | |
| 11168 | + * @param {object?} parent | |
| 11169 | + * @param {string[]} rule | |
| 11170 | + * @param {string[]} rules | |
| 11171 | + * @param {string[]} rulesets | |
| 11172 | + * @param {number[]} pseudo | |
| 11173 | + * @param {number[]} points | |
| 11174 | + * @param {string[]} declarations | |
| 11175 | + * @return {object} | |
| 11176 | + */ | |
| 11177 | +function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) { | |
| 11178 | + var index = 0 | |
| 11179 | + var offset = 0 | |
| 11180 | + var length = pseudo | |
| 11181 | + var atrule = 0 | |
| 11182 | + var property = 0 | |
| 11183 | + var previous = 0 | |
| 11184 | + var variable = 1 | |
| 11185 | + var scanning = 1 | |
| 11186 | + var ampersand = 1 | |
| 11187 | + var character = 0 | |
| 11188 | + var type = '' | |
| 11189 | + var props = rules | |
| 11190 | + var children = rulesets | |
| 11191 | + var reference = rule | |
| 11192 | + var characters = type | |
| 11193 | + | |
| 11194 | + while (scanning) | |
| 11195 | + switch (previous = character, character = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.next)()) { | |
| 11196 | + // ( | |
| 11197 | + case 40: | |
| 11198 | + if (previous != 108 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, length - 1) == 58) { | |
| 11199 | + if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.indexof)(characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.delimit)(character), '&', '&\f'), '&\f', (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.abs)(index ? points[index - 1] : 0)) != -1) | |
| 11200 | + ampersand = -1 | |
| 11201 | + break | |
| 11202 | + } | |
| 11203 | + // " ' [ | |
| 11204 | + case 34: case 39: case 91: | |
| 11205 | + characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.delimit)(character) | |
| 11206 | + break | |
| 11207 | + // \t \n \r \s | |
| 11208 | + case 9: case 10: case 13: case 32: | |
| 11209 | + characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.whitespace)(previous) | |
| 11210 | + break | |
| 11211 | + // \ | |
| 11212 | + case 92: | |
| 11213 | + characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.escaping)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.caret)() - 1, 7) | |
| 11214 | + continue | |
| 11215 | + // / | |
| 11216 | + case 47: | |
| 11217 | + switch ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.peek)()) { | |
| 11218 | + case 42: case 47: | |
| 11219 | + ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(comment((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.commenter)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.next)(), (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.caret)()), root, parent, declarations), declarations) | |
| 11220 | + break | |
| 11221 | + default: | |
| 11222 | + characters += '/' | |
| 11223 | + } | |
| 11224 | + break | |
| 11225 | + // { | |
| 11226 | + case 123 * variable: | |
| 11227 | + points[index++] = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) * ampersand | |
| 11228 | + // } ; \0 | |
| 11229 | + case 125 * variable: case 59: case 0: | |
| 11230 | + switch (character) { | |
| 11231 | + // \0 } | |
| 11232 | + case 0: case 125: scanning = 0 | |
| 11233 | + // ; | |
| 11234 | + case 59 + offset: if (ampersand == -1) characters = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, /\f/g, '') | |
| 11235 | + if (property > 0 && ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - length)) | |
| 11236 | + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations) | |
| 11237 | + break | |
| 11238 | + // @ ; | |
| 11239 | + case 59: characters += ';' | |
| 11240 | + // { rule/at-rule | |
| 11241 | + default: | |
| 11242 | + ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets) | |
| 11243 | + | |
| 11244 | + if (character === 123) | |
| 11245 | + if (offset === 0) | |
| 11246 | + parse(characters, root, reference, reference, props, rulesets, length, points, children) | |
| 11247 | + else | |
| 11248 | + switch (atrule === 99 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.charat)(characters, 3) === 110 ? 100 : atrule) { | |
| 11249 | + // d l m s | |
| 11250 | + case 100: case 108: case 109: case 115: | |
| 11251 | + parse(value, reference, reference, rule && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.append)(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children) | |
| 11252 | + break | |
| 11253 | + default: | |
| 11254 | + parse(characters, reference, reference, reference, [''], children, 0, points, children) | |
| 11255 | + } | |
| 11256 | + } | |
| 11257 | + | |
| 11258 | + index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo | |
| 11259 | + break | |
| 11260 | + // : | |
| 11261 | + case 58: | |
| 11262 | + length = 1 + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters), property = previous | |
| 11263 | + default: | |
| 11264 | + if (variable < 1) | |
| 11265 | + if (character == 123) | |
| 11266 | + --variable | |
| 11267 | + else if (character == 125 && variable++ == 0 && (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.prev)() == 125) | |
| 11268 | + continue | |
| 11269 | + | |
| 11270 | + switch (characters += (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)(character), character * variable) { | |
| 11271 | + // & | |
| 11272 | + case 38: | |
| 11273 | + ampersand = offset > 0 ? 1 : (characters += '\f', -1) | |
| 11274 | + break | |
| 11275 | + // , | |
| 11276 | + case 44: | |
| 11277 | + points[index++] = ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) - 1) * ampersand, ampersand = 1 | |
| 11278 | + break | |
| 11279 | + // @ | |
| 11280 | + case 64: | |
| 11281 | + // - | |
| 11282 | + if ((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.peek)() === 45) | |
| 11283 | + characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.delimit)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.next)()) | |
| 11284 | + | |
| 11285 | + atrule = (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.peek)(), offset = length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(type = characters += (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.identifier)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.caret)())), character++ | |
| 11286 | + break | |
| 11287 | + // - | |
| 11288 | + case 45: | |
| 11289 | + if (previous === 45 && (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(characters) == 2) | |
| 11290 | + variable = 0 | |
| 11291 | + } | |
| 11292 | + } | |
| 11293 | + | |
| 11294 | + return rulesets | |
| 11295 | +} | |
| 11296 | + | |
| 11297 | +/** | |
| 11298 | + * @param {string} value | |
| 11299 | + * @param {object} root | |
| 11300 | + * @param {object?} parent | |
| 11301 | + * @param {number} index | |
| 11302 | + * @param {number} offset | |
| 11303 | + * @param {string[]} rules | |
| 11304 | + * @param {number[]} points | |
| 11305 | + * @param {string} type | |
| 11306 | + * @param {string[]} props | |
| 11307 | + * @param {string[]} children | |
| 11308 | + * @param {number} length | |
| 11309 | + * @param {object[]} siblings | |
| 11310 | + * @return {object} | |
| 11311 | + */ | |
| 11312 | +function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) { | |
| 11313 | + var post = offset - 1 | |
| 11314 | + var rule = offset === 0 ? rules : [''] | |
| 11315 | + var size = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.sizeof)(rule) | |
| 11316 | + | |
| 11317 | + for (var i = 0, j = 0, k = 0; i < index; ++i) | |
| 11318 | + for (var x = 0, y = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, post + 1, post = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.abs)(j = points[i])), z = value; x < size; ++x) | |
| 11319 | + if (z = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.trim)(j > 0 ? rule[x] + ' ' + y : (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.replace)(y, /&\f/g, rule[x]))) | |
| 11320 | + props[k++] = z | |
| 11321 | + | |
| 11322 | + return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.node)(value, root, parent, offset === 0 ? _Enum_js__WEBPACK_IMPORTED_MODULE_2__.RULESET : type, props, children, length, siblings) | |
| 11323 | +} | |
| 11324 | + | |
| 11325 | +/** | |
| 11326 | + * @param {number} value | |
| 11327 | + * @param {object} root | |
| 11328 | + * @param {object?} parent | |
| 11329 | + * @param {object[]} siblings | |
| 11330 | + * @return {object} | |
| 11331 | + */ | |
| 11332 | +function comment (value, root, parent, siblings) { | |
| 11333 | + return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_2__.COMMENT, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.from)((0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.char)()), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 2, -2), 0, siblings) | |
| 11334 | +} | |
| 11335 | + | |
| 11336 | +/** | |
| 11337 | + * @param {string} value | |
| 11338 | + * @param {object} root | |
| 11339 | + * @param {object?} parent | |
| 11340 | + * @param {number} length | |
| 11341 | + * @param {object[]} siblings | |
| 11342 | + * @return {object} | |
| 11343 | + */ | |
| 11344 | +function declaration (value, root, parent, length, siblings) { | |
| 11345 | + return (0,_Tokenizer_js__WEBPACK_IMPORTED_MODULE_0__.node)(value, root, parent, _Enum_js__WEBPACK_IMPORTED_MODULE_2__.DECLARATION, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, 0, length), (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.substr)(value, length + 1, -1), length, siblings) | |
| 11346 | +} | |
| 11347 | + | |
| 11348 | + | |
| 11349 | +/***/ }), | |
| 11350 | + | |
| 11351 | +/***/ "../node_modules/styled-components/node_modules/stylis/src/Prefixer.js": | |
| 11352 | +/*!*****************************************************************************!*\ | |
| 11353 | + !*** ../node_modules/styled-components/node_modules/stylis/src/Prefixer.js ***! | |
| 11354 | + \*****************************************************************************/ | |
| 11355 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11356 | + | |
| 11357 | +"use strict"; | |
| 11358 | +__webpack_require__.r(__webpack_exports__); | |
| 11359 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11360 | +/* harmony export */ prefix: () => (/* binding */ prefix) | |
| 11361 | +/* harmony export */ }); | |
| 11362 | +/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Enum.js */ "../node_modules/styled-components/node_modules/stylis/src/Enum.js"); | |
| 11363 | +/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "../node_modules/styled-components/node_modules/stylis/src/Utility.js"); | |
| 11364 | + | |
| 11365 | + | |
| 11366 | + | |
| 11367 | +/** | |
| 11368 | + * @param {string} value | |
| 11369 | + * @param {number} length | |
| 11370 | + * @param {object[]} children | |
| 11371 | + * @return {string} | |
| 11372 | + */ | |
| 11373 | +function prefix (value, length, children) { | |
| 11374 | + switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.hash)(value, length)) { | |
| 11375 | + // color-adjust | |
| 11376 | + case 5103: | |
| 11377 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'print-' + value + value | |
| 11378 | + // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function) | |
| 11379 | + case 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921: | |
| 11380 | + // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break | |
| 11381 | + case 5572: case 6356: case 5844: case 3191: case 6645: case 3005: | |
| 11382 | + // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite, | |
| 11383 | + case 6391: case 5879: case 5623: case 6135: case 4599: case 4855: | |
| 11384 | + // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width) | |
| 11385 | + case 4215: case 6389: case 5109: case 5365: case 5621: case 3829: | |
| 11386 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + value | |
| 11387 | + // tab-size | |
| 11388 | + case 4789: | |
| 11389 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + value + value | |
| 11390 | + // appearance, user-select, transform, hyphens, text-size-adjust | |
| 11391 | + case 5349: case 4246: case 4810: case 6968: case 2756: | |
| 11392 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + value + value | |
| 11393 | + // writing-mode | |
| 11394 | + case 5936: | |
| 11395 | + switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 11)) { | |
| 11396 | + // vertical-l(r) | |
| 11397 | + case 114: | |
| 11398 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb') + value | |
| 11399 | + // vertical-r(l) | |
| 11400 | + case 108: | |
| 11401 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value | |
| 11402 | + // horizontal(-)tb | |
| 11403 | + case 45: | |
| 11404 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /[svh]\w+-[tblr]{2}/, 'lr') + value | |
| 11405 | + // default: fallthrough to below | |
| 11406 | + } | |
| 11407 | + // flex, flex-direction, scroll-snap-type, writing-mode | |
| 11408 | + case 6828: case 4268: case 2903: | |
| 11409 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + value + value | |
| 11410 | + // order | |
| 11411 | + case 6165: | |
| 11412 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-' + value + value | |
| 11413 | + // align-items | |
| 11414 | + case 5187: | |
| 11415 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(\w+).+(:[^]+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-$1$2' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-$1$2') + value | |
| 11416 | + // align-self | |
| 11417 | + case 5443: | |
| 11418 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-item-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /flex-|-self/g, '') + (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(value, /flex-|baseline/) ? _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'grid-row-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /flex-|-self/g, '') : '') + value | |
| 11419 | + // align-content | |
| 11420 | + case 4675: | |
| 11421 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-line-pack' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /align-content|flex-|-self/g, '') + value | |
| 11422 | + // flex-shrink | |
| 11423 | + case 5548: | |
| 11424 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'shrink', 'negative') + value | |
| 11425 | + // flex-basis | |
| 11426 | + case 5292: | |
| 11427 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'basis', 'preferred-size') + value | |
| 11428 | + // flex-grow | |
| 11429 | + case 6060: | |
| 11430 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, '-grow', '') + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'grow', 'positive') + value | |
| 11431 | + // transition | |
| 11432 | + case 4554: | |
| 11433 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /([^-])(transform)/g, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2') + value | |
| 11434 | + // cursor | |
| 11435 | + case 6187: | |
| 11436 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(zoom-|grab)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1'), /(image-set)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1'), value, '') + value | |
| 11437 | + // background, background-image | |
| 11438 | + case 5495: case 3959: | |
| 11439 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(image-set\([^]*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1' + '$`$1') | |
| 11440 | + // justify-content | |
| 11441 | + case 4968: | |
| 11442 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+:)(flex-)?(.*)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + 'box-pack:$3' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + value + value | |
| 11443 | + // justify-self | |
| 11444 | + case 4200: | |
| 11445 | + if (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(value, /flex-|baseline/)) return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'grid-column-align' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(value, length) + value | |
| 11446 | + break | |
| 11447 | + // grid-template-(columns|rows) | |
| 11448 | + case 2592: case 3360: | |
| 11449 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'template-', '') + value | |
| 11450 | + // grid-(row|column)-start | |
| 11451 | + case 4384: case 3616: | |
| 11452 | + if (children && children.some(function (element, index) { return length = index, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(element.props, /grid-\w+-end/) })) { | |
| 11453 | + return ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.indexof)(value + (children = children[length].value), 'span', 0) ? value : (_Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, '-start', '') + value + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + 'grid-row-span:' + (~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.indexof)(children, 'span', 0) ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(children, /\d+/) : +(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(children, /\d+/) - +(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(value, /\d+/)) + ';') | |
| 11454 | + } | |
| 11455 | + return _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, '-start', '') + value | |
| 11456 | + // grid-(row|column)-end | |
| 11457 | + case 4896: case 4128: | |
| 11458 | + return (children && children.some(function (element) { return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.match)(element.props, /grid-\w+-start/) })) ? value : _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, '-end', '-span'), 'span ', '') + value | |
| 11459 | + // (margin|padding)-inline-(start|end) | |
| 11460 | + case 4095: case 3583: case 4068: case 2532: | |
| 11461 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+)-inline(.+)/, _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$1$2') + value | |
| 11462 | + // (min|max)?(width|height|inline-size|block-size) | |
| 11463 | + case 8116: case 7059: case 5753: case 5535: | |
| 11464 | + case 5445: case 5701: case 4933: case 4677: | |
| 11465 | + case 5533: case 5789: case 5021: case 4765: | |
| 11466 | + // stretch, max-content, min-content, fill-available | |
| 11467 | + if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(value) - 1 - length > 6) | |
| 11468 | + switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 1)) { | |
| 11469 | + // (m)ax-content, (m)in-content | |
| 11470 | + case 109: | |
| 11471 | + // - | |
| 11472 | + if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 4) !== 45) | |
| 11473 | + break | |
| 11474 | + // (f)ill-available, (f)it-content | |
| 11475 | + case 102: | |
| 11476 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+:)(.+)-([^]+)/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2-$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MOZ + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 3) == 108 ? '$3' : '$2-$3')) + value | |
| 11477 | + // (s)tretch | |
| 11478 | + case 115: | |
| 11479 | + return ~(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.indexof)(value, 'stretch', 0) ? prefix((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'stretch', 'fill-available'), length, children) + value : value | |
| 11480 | + } | |
| 11481 | + break | |
| 11482 | + // grid-(column|row) | |
| 11483 | + case 5152: case 5920: | |
| 11484 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (_Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + a + ':' + b + f) + (c ? (_Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value }) | |
| 11485 | + // position: sticky | |
| 11486 | + case 4949: | |
| 11487 | + // stick(y)? | |
| 11488 | + if ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, length + 6) === 121) | |
| 11489 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT) + value | |
| 11490 | + break | |
| 11491 | + // display: (flex|inline-flex|grid|inline-grid) | |
| 11492 | + case 6444: | |
| 11493 | + switch ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, 14) === 45 ? 18 : 11)) { | |
| 11494 | + // (inline-)?fle(x) | |
| 11495 | + case 120: | |
| 11496 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + ((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.WEBKIT + '$2$3' + '$1' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS + '$2box$3') + value | |
| 11497 | + // (inline-)?gri(d) | |
| 11498 | + case 100: | |
| 11499 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, ':', ':' + _Enum_js__WEBPACK_IMPORTED_MODULE_1__.MS) + value | |
| 11500 | + } | |
| 11501 | + break | |
| 11502 | + // scroll-margin, scroll-margin-(top|right|bottom|left) | |
| 11503 | + case 5719: case 2647: case 2135: case 3927: case 2391: | |
| 11504 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.replace)(value, 'scroll-', 'scroll-snap-') + value | |
| 11505 | + } | |
| 11506 | + | |
| 11507 | + return value | |
| 11508 | +} | |
| 11509 | + | |
| 11510 | + | |
| 11511 | +/***/ }), | |
| 11512 | + | |
| 11513 | +/***/ "../node_modules/styled-components/node_modules/stylis/src/Serializer.js": | |
| 11514 | +/*!*******************************************************************************!*\ | |
| 11515 | + !*** ../node_modules/styled-components/node_modules/stylis/src/Serializer.js ***! | |
| 11516 | + \*******************************************************************************/ | |
| 11517 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11518 | + | |
| 11519 | +"use strict"; | |
| 11520 | +__webpack_require__.r(__webpack_exports__); | |
| 11521 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11522 | +/* harmony export */ serialize: () => (/* binding */ serialize), | |
| 11523 | +/* harmony export */ stringify: () => (/* binding */ stringify) | |
| 11524 | +/* harmony export */ }); | |
| 11525 | +/* harmony import */ var _Enum_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Enum.js */ "../node_modules/styled-components/node_modules/stylis/src/Enum.js"); | |
| 11526 | +/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Utility.js */ "../node_modules/styled-components/node_modules/stylis/src/Utility.js"); | |
| 11527 | + | |
| 11528 | + | |
| 11529 | + | |
| 11530 | +/** | |
| 11531 | + * @param {object[]} children | |
| 11532 | + * @param {function} callback | |
| 11533 | + * @return {string} | |
| 11534 | + */ | |
| 11535 | +function serialize (children, callback) { | |
| 11536 | + var output = '' | |
| 11537 | + | |
| 11538 | + for (var i = 0; i < children.length; i++) | |
| 11539 | + output += callback(children[i], i, children, callback) || '' | |
| 11540 | + | |
| 11541 | + return output | |
| 11542 | +} | |
| 11543 | + | |
| 11544 | +/** | |
| 11545 | + * @param {object} element | |
| 11546 | + * @param {number} index | |
| 11547 | + * @param {object[]} children | |
| 11548 | + * @param {function} callback | |
| 11549 | + * @return {string} | |
| 11550 | + */ | |
| 11551 | +function stringify (element, index, children, callback) { | |
| 11552 | + switch (element.type) { | |
| 11553 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.LAYER: if (element.children.length) break | |
| 11554 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.IMPORT: case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.DECLARATION: return element.return = element.return || element.value | |
| 11555 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.COMMENT: return '' | |
| 11556 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}' | |
| 11557 | + case _Enum_js__WEBPACK_IMPORTED_MODULE_0__.RULESET: if (!(0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(element.value = element.props.join(','))) return '' | |
| 11558 | + } | |
| 11559 | + | |
| 11560 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_1__.strlen)(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : '' | |
| 11561 | +} | |
| 11562 | + | |
| 11563 | + | |
| 11564 | +/***/ }), | |
| 11565 | + | |
| 11566 | +/***/ "../node_modules/styled-components/node_modules/stylis/src/Tokenizer.js": | |
| 11567 | +/*!******************************************************************************!*\ | |
| 11568 | + !*** ../node_modules/styled-components/node_modules/stylis/src/Tokenizer.js ***! | |
| 11569 | + \******************************************************************************/ | |
| 11570 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11571 | + | |
| 11572 | +"use strict"; | |
| 11573 | +__webpack_require__.r(__webpack_exports__); | |
| 11574 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11575 | +/* harmony export */ alloc: () => (/* binding */ alloc), | |
| 11576 | +/* harmony export */ caret: () => (/* binding */ caret), | |
| 11577 | +/* harmony export */ char: () => (/* binding */ char), | |
| 11578 | +/* harmony export */ character: () => (/* binding */ character), | |
| 11579 | +/* harmony export */ characters: () => (/* binding */ characters), | |
| 11580 | +/* harmony export */ column: () => (/* binding */ column), | |
| 11581 | +/* harmony export */ commenter: () => (/* binding */ commenter), | |
| 11582 | +/* harmony export */ copy: () => (/* binding */ copy), | |
| 11583 | +/* harmony export */ dealloc: () => (/* binding */ dealloc), | |
| 11584 | +/* harmony export */ delimit: () => (/* binding */ delimit), | |
| 11585 | +/* harmony export */ delimiter: () => (/* binding */ delimiter), | |
| 11586 | +/* harmony export */ escaping: () => (/* binding */ escaping), | |
| 11587 | +/* harmony export */ identifier: () => (/* binding */ identifier), | |
| 11588 | +/* harmony export */ length: () => (/* binding */ length), | |
| 11589 | +/* harmony export */ lift: () => (/* binding */ lift), | |
| 11590 | +/* harmony export */ line: () => (/* binding */ line), | |
| 11591 | +/* harmony export */ next: () => (/* binding */ next), | |
| 11592 | +/* harmony export */ node: () => (/* binding */ node), | |
| 11593 | +/* harmony export */ peek: () => (/* binding */ peek), | |
| 11594 | +/* harmony export */ position: () => (/* binding */ position), | |
| 11595 | +/* harmony export */ prev: () => (/* binding */ prev), | |
| 11596 | +/* harmony export */ slice: () => (/* binding */ slice), | |
| 11597 | +/* harmony export */ token: () => (/* binding */ token), | |
| 11598 | +/* harmony export */ tokenize: () => (/* binding */ tokenize), | |
| 11599 | +/* harmony export */ tokenizer: () => (/* binding */ tokenizer), | |
| 11600 | +/* harmony export */ whitespace: () => (/* binding */ whitespace) | |
| 11601 | +/* harmony export */ }); | |
| 11602 | +/* harmony import */ var _Utility_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Utility.js */ "../node_modules/styled-components/node_modules/stylis/src/Utility.js"); | |
| 11603 | + | |
| 11604 | + | |
| 11605 | +var line = 1 | |
| 11606 | +var column = 1 | |
| 11607 | +var length = 0 | |
| 11608 | +var position = 0 | |
| 11609 | +var character = 0 | |
| 11610 | +var characters = '' | |
| 11611 | + | |
| 11612 | +/** | |
| 11613 | + * @param {string} value | |
| 11614 | + * @param {object | null} root | |
| 11615 | + * @param {object | null} parent | |
| 11616 | + * @param {string} type | |
| 11617 | + * @param {string[] | string} props | |
| 11618 | + * @param {object[] | string} children | |
| 11619 | + * @param {object[]} siblings | |
| 11620 | + * @param {number} length | |
| 11621 | + */ | |
| 11622 | +function node (value, root, parent, type, props, children, length, siblings) { | |
| 11623 | + return {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings} | |
| 11624 | +} | |
| 11625 | + | |
| 11626 | +/** | |
| 11627 | + * @param {object} root | |
| 11628 | + * @param {object} props | |
| 11629 | + * @return {object} | |
| 11630 | + */ | |
| 11631 | +function copy (root, props) { | |
| 11632 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.assign)(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props) | |
| 11633 | +} | |
| 11634 | + | |
| 11635 | +/** | |
| 11636 | + * @param {object} root | |
| 11637 | + */ | |
| 11638 | +function lift (root) { | |
| 11639 | + while (root.root) | |
| 11640 | + root = copy(root.root, {children: [root]}) | |
| 11641 | + | |
| 11642 | + ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(root, root.siblings) | |
| 11643 | +} | |
| 11644 | + | |
| 11645 | +/** | |
| 11646 | + * @return {number} | |
| 11647 | + */ | |
| 11648 | +function char () { | |
| 11649 | + return character | |
| 11650 | +} | |
| 11651 | + | |
| 11652 | +/** | |
| 11653 | + * @return {number} | |
| 11654 | + */ | |
| 11655 | +function prev () { | |
| 11656 | + character = position > 0 ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, --position) : 0 | |
| 11657 | + | |
| 11658 | + if (column--, character === 10) | |
| 11659 | + column = 1, line-- | |
| 11660 | + | |
| 11661 | + return character | |
| 11662 | +} | |
| 11663 | + | |
| 11664 | +/** | |
| 11665 | + * @return {number} | |
| 11666 | + */ | |
| 11667 | +function next () { | |
| 11668 | + character = position < length ? (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position++) : 0 | |
| 11669 | + | |
| 11670 | + if (column++, character === 10) | |
| 11671 | + column = 1, line++ | |
| 11672 | + | |
| 11673 | + return character | |
| 11674 | +} | |
| 11675 | + | |
| 11676 | +/** | |
| 11677 | + * @return {number} | |
| 11678 | + */ | |
| 11679 | +function peek () { | |
| 11680 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.charat)(characters, position) | |
| 11681 | +} | |
| 11682 | + | |
| 11683 | +/** | |
| 11684 | + * @return {number} | |
| 11685 | + */ | |
| 11686 | +function caret () { | |
| 11687 | + return position | |
| 11688 | +} | |
| 11689 | + | |
| 11690 | +/** | |
| 11691 | + * @param {number} begin | |
| 11692 | + * @param {number} end | |
| 11693 | + * @return {string} | |
| 11694 | + */ | |
| 11695 | +function slice (begin, end) { | |
| 11696 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.substr)(characters, begin, end) | |
| 11697 | +} | |
| 11698 | + | |
| 11699 | +/** | |
| 11700 | + * @param {number} type | |
| 11701 | + * @return {number} | |
| 11702 | + */ | |
| 11703 | +function token (type) { | |
| 11704 | + switch (type) { | |
| 11705 | + // \0 \t \n \r \s whitespace token | |
| 11706 | + case 0: case 9: case 10: case 13: case 32: | |
| 11707 | + return 5 | |
| 11708 | + // ! + , / > @ ~ isolate token | |
| 11709 | + case 33: case 43: case 44: case 47: case 62: case 64: case 126: | |
| 11710 | + // ; { } breakpoint token | |
| 11711 | + case 59: case 123: case 125: | |
| 11712 | + return 4 | |
| 11713 | + // : accompanied token | |
| 11714 | + case 58: | |
| 11715 | + return 3 | |
| 11716 | + // " ' ( [ opening delimit token | |
| 11717 | + case 34: case 39: case 40: case 91: | |
| 11718 | + return 2 | |
| 11719 | + // ) ] closing delimit token | |
| 11720 | + case 41: case 93: | |
| 11721 | + return 1 | |
| 11722 | + } | |
| 11723 | + | |
| 11724 | + return 0 | |
| 11725 | +} | |
| 11726 | + | |
| 11727 | +/** | |
| 11728 | + * @param {string} value | |
| 11729 | + * @return {any[]} | |
| 11730 | + */ | |
| 11731 | +function alloc (value) { | |
| 11732 | + return line = column = 1, length = (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.strlen)(characters = value), position = 0, [] | |
| 11733 | +} | |
| 11734 | + | |
| 11735 | +/** | |
| 11736 | + * @param {any} value | |
| 11737 | + * @return {any} | |
| 11738 | + */ | |
| 11739 | +function dealloc (value) { | |
| 11740 | + return characters = '', value | |
| 11741 | +} | |
| 11742 | + | |
| 11743 | +/** | |
| 11744 | + * @param {number} type | |
| 11745 | + * @return {string} | |
| 11746 | + */ | |
| 11747 | +function delimit (type) { | |
| 11748 | + return (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.trim)(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type))) | |
| 11749 | +} | |
| 11750 | + | |
| 11751 | +/** | |
| 11752 | + * @param {string} value | |
| 11753 | + * @return {string[]} | |
| 11754 | + */ | |
| 11755 | +function tokenize (value) { | |
| 11756 | + return dealloc(tokenizer(alloc(value))) | |
| 11757 | +} | |
| 11758 | + | |
| 11759 | +/** | |
| 11760 | + * @param {number} type | |
| 11761 | + * @return {string} | |
| 11762 | + */ | |
| 11763 | +function whitespace (type) { | |
| 11764 | + while (character = peek()) | |
| 11765 | + if (character < 33) | |
| 11766 | + next() | |
| 11767 | + else | |
| 11768 | + break | |
| 11769 | + | |
| 11770 | + return token(type) > 2 || token(character) > 3 ? '' : ' ' | |
| 11771 | +} | |
| 11772 | + | |
| 11773 | +/** | |
| 11774 | + * @param {string[]} children | |
| 11775 | + * @return {string[]} | |
| 11776 | + */ | |
| 11777 | +function tokenizer (children) { | |
| 11778 | + while (next()) | |
| 11779 | + switch (token(character)) { | |
| 11780 | + case 0: (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(identifier(position - 1), children) | |
| 11781 | + break | |
| 11782 | + case 2: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)(delimit(character), children) | |
| 11783 | + break | |
| 11784 | + default: ;(0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.append)((0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(character), children) | |
| 11785 | + } | |
| 11786 | + | |
| 11787 | + return children | |
| 11788 | +} | |
| 11789 | + | |
| 11790 | +/** | |
| 11791 | + * @param {number} index | |
| 11792 | + * @param {number} count | |
| 11793 | + * @return {string} | |
| 11794 | + */ | |
| 11795 | +function escaping (index, count) { | |
| 11796 | + while (--count && next()) | |
| 11797 | + // not 0-9 A-F a-f | |
| 11798 | + if (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97)) | |
| 11799 | + break | |
| 11800 | + | |
| 11801 | + return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32)) | |
| 11802 | +} | |
| 11803 | + | |
| 11804 | +/** | |
| 11805 | + * @param {number} type | |
| 11806 | + * @return {number} | |
| 11807 | + */ | |
| 11808 | +function delimiter (type) { | |
| 11809 | + while (next()) | |
| 11810 | + switch (character) { | |
| 11811 | + // ] ) " ' | |
| 11812 | + case type: | |
| 11813 | + return position | |
| 11814 | + // " ' | |
| 11815 | + case 34: case 39: | |
| 11816 | + if (type !== 34 && type !== 39) | |
| 11817 | + delimiter(character) | |
| 11818 | + break | |
| 11819 | + // ( | |
| 11820 | + case 40: | |
| 11821 | + if (type === 41) | |
| 11822 | + delimiter(type) | |
| 11823 | + break | |
| 11824 | + // \ | |
| 11825 | + case 92: | |
| 11826 | + next() | |
| 11827 | + break | |
| 11828 | + } | |
| 11829 | + | |
| 11830 | + return position | |
| 11831 | +} | |
| 11832 | + | |
| 11833 | +/** | |
| 11834 | + * @param {number} type | |
| 11835 | + * @param {number} index | |
| 11836 | + * @return {number} | |
| 11837 | + */ | |
| 11838 | +function commenter (type, index) { | |
| 11839 | + while (next()) | |
| 11840 | + // // | |
| 11841 | + if (type + character === 47 + 10) | |
| 11842 | + break | |
| 11843 | + // /* | |
| 11844 | + else if (type + character === 42 + 42 && peek() === 47) | |
| 11845 | + break | |
| 11846 | + | |
| 11847 | + return '/*' + slice(index, position - 1) + '*' + (0,_Utility_js__WEBPACK_IMPORTED_MODULE_0__.from)(type === 47 ? type : next()) | |
| 11848 | +} | |
| 11849 | + | |
| 11850 | +/** | |
| 11851 | + * @param {number} index | |
| 11852 | + * @return {string} | |
| 11853 | + */ | |
| 11854 | +function identifier (index) { | |
| 11855 | + while (!token(peek())) | |
| 11856 | + next() | |
| 11857 | + | |
| 11858 | + return slice(index, position) | |
| 11859 | +} | |
| 11860 | + | |
| 11861 | + | |
| 11862 | +/***/ }), | |
| 11863 | + | |
| 11864 | +/***/ "../node_modules/styled-components/node_modules/stylis/src/Utility.js": | |
| 11865 | +/*!****************************************************************************!*\ | |
| 11866 | + !*** ../node_modules/styled-components/node_modules/stylis/src/Utility.js ***! | |
| 11867 | + \****************************************************************************/ | |
| 11868 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 11869 | + | |
| 11870 | +"use strict"; | |
| 11871 | +__webpack_require__.r(__webpack_exports__); | |
| 11872 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 11873 | +/* harmony export */ abs: () => (/* binding */ abs), | |
| 11874 | +/* harmony export */ append: () => (/* binding */ append), | |
| 11875 | +/* harmony export */ assign: () => (/* binding */ assign), | |
| 11876 | +/* harmony export */ charat: () => (/* binding */ charat), | |
| 11877 | +/* harmony export */ combine: () => (/* binding */ combine), | |
| 11878 | +/* harmony export */ filter: () => (/* binding */ filter), | |
| 11879 | +/* harmony export */ from: () => (/* binding */ from), | |
| 11880 | +/* harmony export */ hash: () => (/* binding */ hash), | |
| 11881 | +/* harmony export */ indexof: () => (/* binding */ indexof), | |
| 11882 | +/* harmony export */ match: () => (/* binding */ match), | |
| 11883 | +/* harmony export */ replace: () => (/* binding */ replace), | |
| 11884 | +/* harmony export */ sizeof: () => (/* binding */ sizeof), | |
| 11885 | +/* harmony export */ strlen: () => (/* binding */ strlen), | |
| 11886 | +/* harmony export */ substr: () => (/* binding */ substr), | |
| 11887 | +/* harmony export */ trim: () => (/* binding */ trim) | |
| 11888 | +/* harmony export */ }); | |
| 11889 | +/** | |
| 11890 | + * @param {number} | |
| 11891 | + * @return {number} | |
| 11892 | + */ | |
| 11893 | +var abs = Math.abs | |
| 11894 | + | |
| 11895 | +/** | |
| 11896 | + * @param {number} | |
| 11897 | + * @return {string} | |
| 11898 | + */ | |
| 11899 | +var from = String.fromCharCode | |
| 11900 | + | |
| 11901 | +/** | |
| 11902 | + * @param {object} | |
| 11903 | + * @return {object} | |
| 11904 | + */ | |
| 11905 | +var assign = Object.assign | |
| 11906 | + | |
| 11907 | +/** | |
| 11908 | + * @param {string} value | |
| 11909 | + * @param {number} length | |
| 11910 | + * @return {number} | |
| 11911 | + */ | |
| 11912 | +function hash (value, length) { | |
| 11913 | + return charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0 | |
| 11914 | +} | |
| 11915 | + | |
| 11916 | +/** | |
| 11917 | + * @param {string} value | |
| 11918 | + * @return {string} | |
| 11919 | + */ | |
| 11920 | +function trim (value) { | |
| 11921 | + return value.trim() | |
| 11922 | +} | |
| 11923 | + | |
| 11924 | +/** | |
| 11925 | + * @param {string} value | |
| 11926 | + * @param {RegExp} pattern | |
| 11927 | + * @return {string?} | |
| 11928 | + */ | |
| 11929 | +function match (value, pattern) { | |
| 11930 | + return (value = pattern.exec(value)) ? value[0] : value | |
| 11931 | +} | |
| 11932 | + | |
| 11933 | +/** | |
| 11934 | + * @param {string} value | |
| 11935 | + * @param {(string|RegExp)} pattern | |
| 11936 | + * @param {string} replacement | |
| 11937 | + * @return {string} | |
| 11938 | + */ | |
| 11939 | +function replace (value, pattern, replacement) { | |
| 11940 | + return value.replace(pattern, replacement) | |
| 11941 | +} | |
| 11942 | + | |
| 11943 | +/** | |
| 11944 | + * @param {string} value | |
| 11945 | + * @param {string} search | |
| 11946 | + * @param {number} position | |
| 11947 | + * @return {number} | |
| 11948 | + */ | |
| 11949 | +function indexof (value, search, position) { | |
| 11950 | + return value.indexOf(search, position) | |
| 11951 | +} | |
| 11952 | + | |
| 11953 | +/** | |
| 11954 | + * @param {string} value | |
| 11955 | + * @param {number} index | |
| 11956 | + * @return {number} | |
| 11957 | + */ | |
| 11958 | +function charat (value, index) { | |
| 11959 | + return value.charCodeAt(index) | 0 | |
| 11960 | +} | |
| 11961 | + | |
| 11962 | +/** | |
| 11963 | + * @param {string} value | |
| 11964 | + * @param {number} begin | |
| 11965 | + * @param {number} end | |
| 11966 | + * @return {string} | |
| 11967 | + */ | |
| 11968 | +function substr (value, begin, end) { | |
| 11969 | + return value.slice(begin, end) | |
| 11970 | +} | |
| 11971 | + | |
| 11972 | +/** | |
| 11973 | + * @param {string} value | |
| 11974 | + * @return {number} | |
| 11975 | + */ | |
| 11976 | +function strlen (value) { | |
| 11977 | + return value.length | |
| 11978 | +} | |
| 11979 | + | |
| 11980 | +/** | |
| 11981 | + * @param {any[]} value | |
| 11982 | + * @return {number} | |
| 11983 | + */ | |
| 11984 | +function sizeof (value) { | |
| 11985 | + return value.length | |
| 11986 | +} | |
| 11987 | + | |
| 11988 | +/** | |
| 11989 | + * @param {any} value | |
| 11990 | + * @param {any[]} array | |
| 11991 | + * @return {any} | |
| 11992 | + */ | |
| 11993 | +function append (value, array) { | |
| 11994 | + return array.push(value), value | |
| 11995 | +} | |
| 11996 | + | |
| 11997 | +/** | |
| 11998 | + * @param {string[]} array | |
| 11999 | + * @param {function} callback | |
| 12000 | + * @return {string} | |
| 12001 | + */ | |
| 12002 | +function combine (array, callback) { | |
| 12003 | + return array.map(callback).join('') | |
| 12004 | +} | |
| 12005 | + | |
| 12006 | +/** | |
| 12007 | + * @param {string[]} array | |
| 12008 | + * @param {RegExp} pattern | |
| 12009 | + * @return {string[]} | |
| 12010 | + */ | |
| 12011 | +function filter (array, pattern) { | |
| 12012 | + return array.filter(function (value) { return !match(value, pattern) }) | |
| 12013 | +} | |
| 12014 | + | |
| 12015 | + | |
| 12016 | +/***/ }), | |
| 12017 | + | |
| 12018 | +/***/ "../node_modules/styled-components/node_modules/tslib/tslib.es6.mjs": | |
| 12019 | +/*!**************************************************************************!*\ | |
| 12020 | + !*** ../node_modules/styled-components/node_modules/tslib/tslib.es6.mjs ***! | |
| 12021 | + \**************************************************************************/ | |
| 12022 | +/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { | |
| 12023 | + | |
| 12024 | +"use strict"; | |
| 12025 | +__webpack_require__.r(__webpack_exports__); | |
| 12026 | +/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
| 12027 | +/* harmony export */ __addDisposableResource: () => (/* binding */ __addDisposableResource), | |
| 12028 | +/* harmony export */ __assign: () => (/* binding */ __assign), | |
| 12029 | +/* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator), | |
| 12030 | +/* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator), | |
| 12031 | +/* harmony export */ __asyncValues: () => (/* binding */ __asyncValues), | |
| 12032 | +/* harmony export */ __await: () => (/* binding */ __await), | |
| 12033 | +/* harmony export */ __awaiter: () => (/* binding */ __awaiter), | |
| 12034 | +/* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet), | |
| 12035 | +/* harmony export */ __classPrivateFieldIn: () => (/* binding */ __classPrivateFieldIn), | |
| 12036 | +/* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet), | |
| 12037 | +/* harmony export */ __createBinding: () => (/* binding */ __createBinding), | |
| 12038 | +/* harmony export */ __decorate: () => (/* binding */ __decorate), | |
| 12039 | +/* harmony export */ __disposeResources: () => (/* binding */ __disposeResources), | |
| 12040 | +/* harmony export */ __esDecorate: () => (/* binding */ __esDecorate), | |
| 12041 | +/* harmony export */ __exportStar: () => (/* binding */ __exportStar), | |
| 12042 | +/* harmony export */ __extends: () => (/* binding */ __extends), | |
| 12043 | +/* harmony export */ __generator: () => (/* binding */ __generator), | |
| 12044 | +/* harmony export */ __importDefault: () => (/* binding */ __importDefault), | |
| 12045 | +/* harmony export */ __importStar: () => (/* binding */ __importStar), | |
| 12046 | +/* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject), | |
| 12047 | +/* harmony export */ __metadata: () => (/* binding */ __metadata), | |
| 12048 | +/* harmony export */ __param: () => (/* binding */ __param), | |
| 12049 | +/* harmony export */ __propKey: () => (/* binding */ __propKey), | |
| 12050 | +/* harmony export */ __read: () => (/* binding */ __read), | |
| 12051 | +/* harmony export */ __rest: () => (/* binding */ __rest), | |
| 12052 | +/* harmony export */ __runInitializers: () => (/* binding */ __runInitializers), | |
| 12053 | +/* harmony export */ __setFunctionName: () => (/* binding */ __setFunctionName), | |
| 12054 | +/* harmony export */ __spread: () => (/* binding */ __spread), | |
| 12055 | +/* harmony export */ __spreadArray: () => (/* binding */ __spreadArray), | |
| 12056 | +/* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays), | |
| 12057 | +/* harmony export */ __values: () => (/* binding */ __values), | |
| 12058 | +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) | |
| 12059 | +/* harmony export */ }); | |
| 12060 | +/****************************************************************************** | |
| 12061 | +Copyright (c) Microsoft Corporation. | |
| 12062 | + | |
| 12063 | +Permission to use, copy, modify, and/or distribute this software for any | |
| 12064 | +purpose with or without fee is hereby granted. | |
| 12065 | + | |
| 12066 | +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | |
| 12067 | +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | |
| 12068 | +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | |
| 12069 | +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | |
| 12070 | +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | |
| 12071 | +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | |
| 12072 | +PERFORMANCE OF THIS SOFTWARE. | |
| 12073 | +***************************************************************************** */ | |
| 12074 | +/* global Reflect, Promise, SuppressedError, Symbol */ | |
| 12075 | + | |
| 12076 | +var extendStatics = function(d, b) { | |
| 12077 | + extendStatics = Object.setPrototypeOf || | |
| 12078 | + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | |
| 12079 | + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | |
| 12080 | + return extendStatics(d, b); | |
| 12081 | +}; | |
| 12082 | + | |
| 12083 | +function __extends(d, b) { | |
| 12084 | + if (typeof b !== "function" && b !== null) | |
| 12085 | + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | |
| 12086 | + extendStatics(d, b); | |
| 12087 | + function __() { this.constructor = d; } | |
| 12088 | + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | |
| 12089 | +} | |
| 12090 | + | |
| 12091 | +var __assign = function() { | |
| 12092 | + __assign = Object.assign || function __assign(t) { | |
| 12093 | + for (var s, i = 1, n = arguments.length; i < n; i++) { | |
| 12094 | + s = arguments[i]; | |
| 12095 | + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; | |
| 12096 | + } | |
| 12097 | + return t; | |
| 12098 | + } | |
| 12099 | + return __assign.apply(this, arguments); | |
| 12100 | +} | |
| 12101 | + | |
| 12102 | +function __rest(s, e) { | |
| 12103 | + var t = {}; | |
| 12104 | + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | |
| 12105 | + t[p] = s[p]; | |
| 12106 | + if (s != null && typeof Object.getOwnPropertySymbols === "function") | |
| 12107 | + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | |
| 12108 | + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | |
| 12109 | + t[p[i]] = s[p[i]]; | |
| 12110 | + } | |
| 12111 | + return t; | |
| 12112 | +} | |
| 12113 | + | |
| 12114 | +function __decorate(decorators, target, key, desc) { | |
| 12115 | + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | |
| 12116 | + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | |
| 12117 | + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | |
| 12118 | + return c > 3 && r && Object.defineProperty(target, key, r), r; | |
| 12119 | +} | |
| 12120 | + | |
| 12121 | +function __param(paramIndex, decorator) { | |
| 12122 | + return function (target, key) { decorator(target, key, paramIndex); } | |
| 12123 | +} | |
| 12124 | + | |
| 12125 | +function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { | |
| 12126 | + function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } | |
| 12127 | + var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; | |
| 12128 | + var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; | |
| 12129 | + var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); | |
| 12130 | + var _, done = false; | |
| 12131 | + for (var i = decorators.length - 1; i >= 0; i--) { | |
| 12132 | + var context = {}; | |
| 12133 | + for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; | |
| 12134 | + for (var p in contextIn.access) context.access[p] = contextIn.access[p]; | |
| 12135 | + context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; | |
| 12136 | + var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); | |
| 12137 | + if (kind === "accessor") { | |
| 12138 | + if (result === void 0) continue; | |
| 12139 | + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); | |
| 12140 | + if (_ = accept(result.get)) descriptor.get = _; | |
| 12141 | + if (_ = accept(result.set)) descriptor.set = _; | |
| 12142 | + if (_ = accept(result.init)) initializers.unshift(_); | |
| 12143 | + } | |
| 12144 | + else if (_ = accept(result)) { | |
| 12145 | + if (kind === "field") initializers.unshift(_); | |
| 12146 | + else descriptor[key] = _; | |
| 12147 | + } | |
| 12148 | + } | |
| 12149 | + if (target) Object.defineProperty(target, contextIn.name, descriptor); | |
| 12150 | + done = true; | |
| 12151 | +}; | |
| 12152 | + | |
| 12153 | +function __runInitializers(thisArg, initializers, value) { | |
| 12154 | + var useValue = arguments.length > 2; | |
| 12155 | + for (var i = 0; i < initializers.length; i++) { | |
| 12156 | + value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); | |
| 12157 | + } | |
| 12158 | + return useValue ? value : void 0; | |
| 12159 | +}; | |
| 12160 | + | |
| 12161 | +function __propKey(x) { | |
| 12162 | + return typeof x === "symbol" ? x : "".concat(x); | |
| 12163 | +}; | |
| 12164 | + | |
| 12165 | +function __setFunctionName(f, name, prefix) { | |
| 12166 | + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; | |
| 12167 | + return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); | |
| 12168 | +}; | |
| 12169 | + | |
| 12170 | +function __metadata(metadataKey, metadataValue) { | |
| 12171 | + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); | |
| 12172 | +} | |
| 12173 | + | |
| 12174 | +function __awaiter(thisArg, _arguments, P, generator) { | |
| 12175 | + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | |
| 12176 | + return new (P || (P = Promise))(function (resolve, reject) { | |
| 12177 | + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | |
| 12178 | + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | |
| 12179 | + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | |
| 12180 | + step((generator = generator.apply(thisArg, _arguments || [])).next()); | |
| 12181 | + }); | |
| 12182 | +} | |
| 12183 | + | |
| 12184 | +function __generator(thisArg, body) { | |
| 12185 | + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | |
| 12186 | + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | |
| 12187 | + function verb(n) { return function (v) { return step([n, v]); }; } | |
| 12188 | + function step(op) { | |
| 12189 | + if (f) throw new TypeError("Generator is already executing."); | |
| 12190 | + while (g && (g = 0, op[0] && (_ = 0)), _) try { | |
| 12191 | + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | |
| 12192 | + if (y = 0, t) op = [op[0] & 2, t.value]; | |
| 12193 | + switch (op[0]) { | |
| 12194 | + case 0: case 1: t = op; break; | |
| 12195 | + case 4: _.label++; return { value: op[1], done: false }; | |
| 12196 | + case 5: _.label++; y = op[1]; op = [0]; continue; | |
| 12197 | + case 7: op = _.ops.pop(); _.trys.pop(); continue; | |
| 12198 | + default: | |
| 12199 | + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | |
| 12200 | + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | |
| 12201 | + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | |
| 12202 | + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | |
| 12203 | + if (t[2]) _.ops.pop(); | |
| 12204 | + _.trys.pop(); continue; | |
| 12205 | + } | |
| 12206 | + op = body.call(thisArg, _); | |
| 12207 | + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | |
| 12208 | + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | |
| 12209 | + } | |
| 12210 | +} | |
| 12211 | + | |
| 12212 | +var __createBinding = Object.create ? (function(o, m, k, k2) { | |
| 12213 | + if (k2 === undefined) k2 = k; | |
| 12214 | + var desc = Object.getOwnPropertyDescriptor(m, k); | |
| 12215 | + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | |
| 12216 | + desc = { enumerable: true, get: function() { return m[k]; } }; | |
| 12217 | + } | |
| 12218 | + Object.defineProperty(o, k2, desc); | |
| 12219 | +}) : (function(o, m, k, k2) { | |
| 12220 | + if (k2 === undefined) k2 = k; | |
| 12221 | + o[k2] = m[k]; | |
| 12222 | +}); | |
| 12223 | + | |
| 12224 | +function __exportStar(m, o) { | |
| 12225 | + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); | |
| 12226 | +} | |
| 12227 | + | |
| 12228 | +function __values(o) { | |
| 12229 | + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; | |
| 12230 | + if (m) return m.call(o); | |
| 12231 | + if (o && typeof o.length === "number") return { | |
| 12232 | + next: function () { | |
| 12233 | + if (o && i >= o.length) o = void 0; | |
| 12234 | + return { value: o && o[i++], done: !o }; | |
| 12235 | + } | |
| 12236 | + }; | |
| 12237 | + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); | |
| 12238 | +} | |
| 12239 | + | |
| 12240 | +function __read(o, n) { | |
| 12241 | + var m = typeof Symbol === "function" && o[Symbol.iterator]; | |
| 12242 | + if (!m) return o; | |
| 12243 | + var i = m.call(o), r, ar = [], e; | |
| 12244 | + try { | |
| 12245 | + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | |
| 12246 | + } | |
| 12247 | + catch (error) { e = { error: error }; } | |
| 12248 | + finally { | |
| 12249 | + try { | |
| 12250 | + if (r && !r.done && (m = i["return"])) m.call(i); | |
| 12251 | + } | |
| 12252 | + finally { if (e) throw e.error; } | |
| 12253 | + } | |
| 12254 | + return ar; | |
| 12255 | +} | |
| 12256 | + | |
| 12257 | +/** @deprecated */ | |
| 12258 | +function __spread() { | |
| 12259 | + for (var ar = [], i = 0; i < arguments.length; i++) | |
| 12260 | + ar = ar.concat(__read(arguments[i])); | |
| 12261 | + return ar; | |
| 12262 | +} | |
| 12263 | + | |
| 12264 | +/** @deprecated */ | |
| 12265 | +function __spreadArrays() { | |
| 12266 | + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | |
| 12267 | + for (var r = Array(s), k = 0, i = 0; i < il; i++) | |
| 12268 | + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | |
| 12269 | + r[k] = a[j]; | |
| 12270 | + return r; | |
| 12271 | +} | |
| 12272 | + | |
| 12273 | +function __spreadArray(to, from, pack) { | |
| 12274 | + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | |
| 12275 | + if (ar || !(i in from)) { | |
| 12276 | + if (!ar) ar = Array.prototype.slice.call(from, 0, i); | |
| 12277 | + ar[i] = from[i]; | |
| 12278 | + } | |
| 12279 | + } | |
| 12280 | + return to.concat(ar || Array.prototype.slice.call(from)); | |
| 12281 | +} | |
| 12282 | + | |
| 12283 | +function __await(v) { | |
| 12284 | + return this instanceof __await ? (this.v = v, this) : new __await(v); | |
| 12285 | +} | |
| 12286 | + | |
| 12287 | +function __asyncGenerator(thisArg, _arguments, generator) { | |
| 12288 | + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); | |
| 12289 | + var g = generator.apply(thisArg, _arguments || []), i, q = []; | |
| 12290 | + return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; | |
| 12291 | + function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } | |
| 12292 | + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } | |
| 12293 | + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } | |
| 12294 | + function fulfill(value) { resume("next", value); } | |
| 12295 | + function reject(value) { resume("throw", value); } | |
| 12296 | + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } | |
| 12297 | +} | |
| 12298 | + | |
| 12299 | +function __asyncDelegator(o) { | |
| 12300 | + var i, p; | |
| 12301 | + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; | |
| 12302 | + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } | |
| 12303 | +} | |
| 12304 | + | |
| 12305 | +function __asyncValues(o) { | |
| 12306 | + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); | |
| 12307 | + var m = o[Symbol.asyncIterator], i; | |
| 12308 | + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); | |
| 12309 | + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } | |
| 12310 | + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } | |
| 12311 | +} | |
| 12312 | + | |
| 12313 | +function __makeTemplateObject(cooked, raw) { | |
| 12314 | + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } | |
| 12315 | + return cooked; | |
| 12316 | +}; | |
| 12317 | + | |
| 12318 | +var __setModuleDefault = Object.create ? (function(o, v) { | |
| 12319 | + Object.defineProperty(o, "default", { enumerable: true, value: v }); | |
| 12320 | +}) : function(o, v) { | |
| 12321 | + o["default"] = v; | |
| 12322 | +}; | |
| 12323 | + | |
| 12324 | +function __importStar(mod) { | |
| 12325 | + if (mod && mod.__esModule) return mod; | |
| 12326 | + var result = {}; | |
| 12327 | + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | |
| 12328 | + __setModuleDefault(result, mod); | |
| 12329 | + return result; | |
| 12330 | +} | |
| 12331 | + | |
| 12332 | +function __importDefault(mod) { | |
| 12333 | + return (mod && mod.__esModule) ? mod : { default: mod }; | |
| 12334 | +} | |
| 12335 | + | |
| 12336 | +function __classPrivateFieldGet(receiver, state, kind, f) { | |
| 12337 | + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); | |
| 12338 | + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); | |
| 12339 | + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); | |
| 12340 | +} | |
| 12341 | + | |
| 12342 | +function __classPrivateFieldSet(receiver, state, value, kind, f) { | |
| 12343 | + if (kind === "m") throw new TypeError("Private method is not writable"); | |
| 12344 | + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); | |
| 12345 | + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); | |
| 12346 | + return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; | |
| 12347 | +} | |
| 12348 | + | |
| 12349 | +function __classPrivateFieldIn(state, receiver) { | |
| 12350 | + if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); | |
| 12351 | + return typeof state === "function" ? receiver === state : state.has(receiver); | |
| 12352 | +} | |
| 12353 | + | |
| 12354 | +function __addDisposableResource(env, value, async) { | |
| 12355 | + if (value !== null && value !== void 0) { | |
| 12356 | + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); | |
| 12357 | + var dispose; | |
| 12358 | + if (async) { | |
| 12359 | + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); | |
| 12360 | + dispose = value[Symbol.asyncDispose]; | |
| 12361 | + } | |
| 12362 | + if (dispose === void 0) { | |
| 12363 | + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); | |
| 12364 | + dispose = value[Symbol.dispose]; | |
| 12365 | + } | |
| 12366 | + if (typeof dispose !== "function") throw new TypeError("Object not disposable."); | |
| 12367 | + env.stack.push({ value: value, dispose: dispose, async: async }); | |
| 12368 | + } | |
| 12369 | + else if (async) { | |
| 12370 | + env.stack.push({ async: true }); | |
| 12371 | + } | |
| 12372 | + return value; | |
| 12373 | +} | |
| 12374 | + | |
| 12375 | +var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { | |
| 12376 | + var e = new Error(message); | |
| 12377 | + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; | |
| 12378 | +}; | |
| 12379 | + | |
| 12380 | +function __disposeResources(env) { | |
| 12381 | + function fail(e) { | |
| 12382 | + env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; | |
| 12383 | + env.hasError = true; | |
| 12384 | + } | |
| 12385 | + function next() { | |
| 12386 | + while (env.stack.length) { | |
| 12387 | + var rec = env.stack.pop(); | |
| 12388 | + try { | |
| 12389 | + var result = rec.dispose && rec.dispose.call(rec.value); | |
| 12390 | + if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); | |
| 12391 | + } | |
| 12392 | + catch (e) { | |
| 12393 | + fail(e); | |
| 12394 | + } | |
| 12395 | + } | |
| 12396 | + if (env.hasError) throw env.error; | |
| 12397 | + } | |
| 12398 | + return next(); | |
| 12399 | +} | |
| 12400 | + | |
| 12401 | +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ | |
| 12402 | + __extends, | |
| 12403 | + __assign, | |
| 12404 | + __rest, | |
| 12405 | + __decorate, | |
| 12406 | + __param, | |
| 12407 | + __metadata, | |
| 12408 | + __awaiter, | |
| 12409 | + __generator, | |
| 12410 | + __createBinding, | |
| 12411 | + __exportStar, | |
| 12412 | + __values, | |
| 12413 | + __read, | |
| 12414 | + __spread, | |
| 12415 | + __spreadArrays, | |
| 12416 | + __spreadArray, | |
| 12417 | + __await, | |
| 12418 | + __asyncGenerator, | |
| 12419 | + __asyncDelegator, | |
| 12420 | + __asyncValues, | |
| 12421 | + __makeTemplateObject, | |
| 12422 | + __importStar, | |
| 12423 | + __importDefault, | |
| 12424 | + __classPrivateFieldGet, | |
| 12425 | + __classPrivateFieldSet, | |
| 12426 | + __classPrivateFieldIn, | |
| 12427 | + __addDisposableResource, | |
| 12428 | + __disposeResources, | |
| 12429 | +}); | |
| 12430 | + | |
| 12431 | + | |
| 11365 | 12432 | /***/ }) |
| 11366 | 12433 | |
| 11367 | 12434 | /******/ }); |
| 11368 | 12435 | /************************************************************************/ |
| @@ -11390,8 +12457,20 @@ | ||
| 11390 | 12457 | /******/ return module.exports; |
| 11391 | 12458 | /******/ } |
| 11392 | 12459 | /******/ |
| 11393 | 12460 | /************************************************************************/ |
| 12461 | +/******/ /* webpack/runtime/compat get default export */ | |
| 12462 | +/******/ (() => { | |
| 12463 | +/******/ // getDefaultExport function for compatibility with non-harmony modules | |
| 12464 | +/******/ __webpack_require__.n = (module) => { | |
| 12465 | +/******/ var getter = module && module.__esModule ? | |
| 12466 | +/******/ () => (module['default']) : | |
| 12467 | +/******/ () => (module); | |
| 12468 | +/******/ __webpack_require__.d(getter, { a: getter }); | |
| 12469 | +/******/ return getter; | |
| 12470 | +/******/ }; | |
| 12471 | +/******/ })(); | |
| 12472 | +/******/ | |
| 11394 | 12473 | /******/ /* webpack/runtime/define property getters */ |
| 11395 | 12474 | /******/ (() => { |
| 11396 | 12475 | /******/ // define getter functions for harmony exports |
| 11397 | 12476 | /******/ __webpack_require__.d = (exports, definition) => { |
| @@ -11418,8 +12497,13 @@ | ||
| 11418 | 12497 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 11419 | 12498 | /******/ }; |
| 11420 | 12499 | /******/ })(); |
| 11421 | 12500 | /******/ |
| 12501 | +/******/ /* webpack/runtime/nonce */ | |
| 12502 | +/******/ (() => { | |
| 12503 | +/******/ __webpack_require__.nc = undefined; | |
| 12504 | +/******/ })(); | |
| 12505 | +/******/ | |
| 11422 | 12506 | /************************************************************************/ |
| 11423 | 12507 | var __webpack_exports__ = {}; |
| 11424 | 12508 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 11425 | 12509 | (() => { |
| @@ -11476,9 +12560,9 @@ | ||
| 11476 | 12560 | title: (0, _i18n.__)('Generate variations with AI', 'elementor'), |
| 11477 | 12561 | callback: function () { |
| 11478 | 12562 | var _callback = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() { |
| 11479 | 12563 | var container, json, attachments; |
| 11480 | - return _regenerator.default.wrap(function (_context) { | |
| 12564 | + return _regenerator.default.wrap(function _callee$(_context) { | |
| 11481 | 12565 | while (1) switch (_context.prev = _context.next) { |
| 11482 | 12566 | case 0: |
| 11483 | 12567 | container = currentElement.getContainer(); |
| 11484 | 12568 | json = container.model.toJSON({ |
| @@ -11511,9 +12595,9 @@ | ||
| 11511 | 12595 | replace: true |
| 11512 | 12596 | }); |
| 11513 | 12597 | } |
| 11514 | 12598 | }); |
| 11515 | - case 1: | |
| 12599 | + case 4: | |
| 11516 | 12600 | case "end": |
| 11517 | 12601 | return _context.stop(); |
| 11518 | 12602 | } |
| 11519 | 12603 | }, _callee); |