vendor: 87 bytes, lines 1-4
1/******/ (() => { // webpackBootstrap 2/******/ var __webpack_modules__ = ({ 3 4/***/ "./
4assets/js/components/GetWooCommercePrice.js": 5/*!*****************************************************!*\ 6 !*** ./assets/js/components/GetWooCommercePrice.js ***! 7 \*****************************************************/ 8/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 9 10"use strict"; 11__webpack_require__.r(__webpack_exports__); 12/* harmony export */ __webpack_require__.d(__webpack_exports__, { 13/* harmony export */ "GetWooCommercePrice": () => (/* binding */ GetWooCommercePrice) 14/* harmony export */ }); 15/* harmony import */ var html_react_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! html-react-parser */ "./node_modules/html-react-parser/esm/index.mjs"); 16/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 17 18 19var GetWooCommercePrice = function GetWooCommercePrice(prop) { 20 if (undefined == prop.val || 0 == prop.val || typeof prop.val != 'string') { 21 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {}); 22 } 23 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 24 children: (0,html_react_parser__WEBPACK_IMPORTED_MODULE_0__["default"])(prop.val) 25 }); 26}; 27 28/***/ }), 29
30/***/ "./assets/js/components/mini_quote_list/mini_quote_contents.js": 31/*!*********************************************************************!*\ 32 !*** ./assets/js/components/mini_quote_list/mini_quote_contents.js ***! 33 \*********************************************************************/ 34/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 35 36"use strict"; 37__webpack_require__.r(__webpack_exports__); 38/* harmony export */ __webpack_require__.d(__webpack_exports__, { 39/* harmony export */ "MiniQuoteContents": () => (/* binding */ MiniQuoteContents) 40/* harmony export */ }); 41/* harmony import */ var _quote_list_quote_items__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../quote_list/quote_items */ "./assets/js/components/quote_list/quote_items.js"); 42/* harmony import */ var _quote_list_quote_list_content__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../quote_list/quote_list_content */ "./assets/js/components/quote_list/quote_list_content.js"); 43/* harmony import */ var _quote_list_priceWithCurrency__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../quote_list/priceWithCurrency */ "./assets/js/components/quote_list/priceWithCurrency.js"); 44/* harmony import */ var _GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../GetWooCommercePrice */ "./assets/js/components/GetWooCommercePrice.js"); 45/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 46 47 48 49 50 51 52 53var MiniQuoteContents = function MiniQuoteContents(props) { 54 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", { 55 className: "d-flex flex-column gap-1 mb-3", 56 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { 57 className: "d-flex gap-2 position-relative miniquote-content align-items-center", 58 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_quote_list_quote_list_content__WEBPACK_IMPORTED_MODULE_1__.RenderDelete, { 59 props: props 60 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", { 61 className: "elex-raq-icon", 62 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("div", { 63 className: "ratio ratio-4x3", 64 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", { 65 src: props.item.image_url, 66 alt: "" 67 }) 68 }) 69 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { 70 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("h6", { 71 className: " raq-fs", 72 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("small", { 73 children: props.item.title 74 }) 75 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("div", { 76 className: "text-secondary raq-fxs", 77 children: [props.show_quantity ? props.item.quantity : "", false === props.hide_price_global && props.show_price && props.show_quantity ? " X " : "", props.show_price && false === props.hide_price_global ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_3__.GetWooCommercePrice, { 78 val: props.item.item_cost 79 }) : "", " "] 80 })] 81 })] 82 }) 83 }); 84}; 85 86/***/ }), 87
88/***/ "./assets/js/components/quote_list/clear_list.js": 89/*!*******************************************************!*\ 90 !*** ./assets/js/components/quote_list/clear_list.js ***! 91 \*******************************************************/ 92/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 93 94"use strict"; 95__webpack_require__.r(__webpack_exports__); 96/* harmony export */ __webpack_require__.d(__webpack_exports__, { 97/* harmony export */ "ClearList": () => (/* binding */ ClearList) 98/* harmony export */ }); 99var ClearList = function ClearList() { 100 jQuery.ajax({ 101 type: 'post', 102 url: request_a_quote_ajax_obj.ajax_url, 103 data: { 104 action: 'elex_raq_clear_list', 105 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 106 }, 107 success: function success(data) { 108 if (data.success === true) { 109 jQuery(window).trigger("clear_list_event", data.data.quote_list_data); 110 } 111 } 112 }); 113}; 114 115/***/ }), 116
117/***/ "./assets/js/components/quote_list/priceWithCurrency.js": 118/*!**************************************************************!*\ 119 !*** ./assets/js/components/quote_list/priceWithCurrency.js ***! 120 \**************************************************************/ 121/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 122 123"use strict"; 124__webpack_require__.r(__webpack_exports__); 125/* harmony export */ __webpack_require__.d(__webpack_exports__, { 126/* harmony export */ "PriceWithCurrency": () => (/* binding */ PriceWithCurrency) 127/* harmony export */ }); 128/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! html-entities */ "./node_modules/html-entities/lib/index.js"); 129/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(html_entities__WEBPACK_IMPORTED_MODULE_0__); 130 131var PriceWithCurrency = function PriceWithCurrency(props) { 132 var currencyPosition = props.currency_position; 133 var price = props.price; 134 var currency = props.currency; 135 switch (currencyPosition) { 136 case 'left': 137 return (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency) + '' + price; 138 case 'left_space': 139 return (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency) + ' ' + price; 140 case 'right_space': 141 return price + ' ' + (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency); 142 case 'right': 143 return price + '' + (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency); 144 } 145}; 146 147/***/ }), 148
149/***/ "./assets/js/components/quote_list/quote_items.js": 150/*!********************************************************!*\ 151 !*** ./assets/js/components/quote_list/quote_items.js ***! 152 \********************************************************/ 153/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 154 155"use strict"; 156__webpack_require__.r(__webpack_exports__); 157/* harmony export */ __webpack_require__.d(__webpack_exports__, { 158/* harmony export */ "RemoveProduct": () => (/* binding */ RemoveProduct) 159/* harmony export */ }); 160/* harmony import */ var _quote_list_content__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./quote_list_content */ "./assets/js/components/quote_list/quote_list_content.js"); 161/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! html-entities */ "./node_modules/html-entities/lib/index.js"); 162/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(html_entities__WEBPACK_IMPORTED_MODULE_2__); 163/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 164 165 166 167var RemoveProduct = function RemoveProduct(product_id, variation_id, callback) { 168 jQuery.ajax({ 169 type: 'post', 170 url: request_a_quote_ajax_obj.ajax_url, 171 data: { 172 action: 'elex_raq_delete_item', 173 product_id: product_id, 174 variation_id: variation_id, 175 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 176 }, 177 success: function success(data) { 178 if (data.success === true) { 179 callback && callback(product_id); 180 jQuery(window).trigger("delete_event", data.data.quote_list_data); 181 } 182 } 183 }); 184}; 185var ShowSKU = function ShowSKU(props) { 186 if (props.is_sku_checked === true) { 187 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 188 className: "raq-fs", 189 children: props.item.sku 190 }); 191 } 192 return ''; 193}; 194var ShowPrice = function ShowPrice(props) { 195 if (props.show_price === true) { 196 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 197 className: "raq-fs", 198 children: props.item.item_cost 199 }); 200 } 201 return null; 202}; 203var ShowImage = function ShowImage(props) { 204 // if(props.show_image === true){ 205 // return( 206 // <img src={props.item.image_url} 207 // alt="" /> 208 // ) 209 210 // } 211 return ''; 212}; 213var ShowItemSubtotal = function ShowItemSubtotal(props) { 214 if (props.show_item_total == true) { 215 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 216 className: "text-end", 217 children: props.item.item_total + '' + (0,html_entities__WEBPACK_IMPORTED_MODULE_2__.decode)(props.currency) 218 }); 219 } 220 return ''; 221}; 222 223/***/ }), 224
225/***/ "./assets/js/components/quote_list/quote_list_content.js": 226/*!***************************************************************!*\ 227 !*** ./assets/js/components/quote_list/quote_list_content.js ***! 228 \***************************************************************/ 229/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 230 231"use strict"; 232__webpack_require__.r(__webpack_exports__); 233/* harmony export */ __webpack_require__.d(__webpack_exports__, { 234/* harmony export */ "QuoteListProducts": () => (/* binding */ QuoteListProducts), 235/* harmony export */ "RenderDelete": () => (/* binding */ RenderDelete) 236/* harmony export */ }); 237/* harmony import */ var _show_add_more_button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./show_add_more_button */ "./assets/js/components/quote_list/show_add_more_button.js"); 238/* harmony import */ var _show_clear_list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./show_clear_list */ "./assets/js/components/quote_list/show_clear_list.js"); 239/* harmony import */ var _priceWithCurrency__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./priceWithCurrency */ "./assets/js/components/quote_list/priceWithCurrency.js"); 240/* harmony import */ var _quote_items__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./quote_items */ "./assets/js/components/quote_list/quote_items.js"); 241/* harmony import */ var _GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../GetWooCommercePrice */ "./assets/js/components/GetWooCommercePrice.js"); 242/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 243/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 244function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } 245function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } 246function _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."); } 247function _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); } 248function _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; } 249function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } 250function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } 251function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } 252function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {};
252 i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } 253function _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; } 254function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } 255function _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); } 256 257 258 259 260 261 262 263 264 265 266var tempElexRqQuoteList = []; 267var RenderDelete = function RenderDelete(data) { 268 if (data.props.item.type === 'composite' && data.props.item.child === true) { 269 return null; 270 } 271 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { 272 onClick: function onClick(e) { 273 e.preventDefault(); 274 (0,_quote_items__WEBPACK_IMPORTED_MODULE_3__.RemoveProduct)(data.props.item.product_id, data.props.item.variation_id, data.props.onDelete); 275 }, 276 className: "remove_product btn btn-sm rounded-circle p-1 lh-1", 277 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("svg", { 278 xmlns: "http://www.w3.org/2000/svg", 279 width: "15", 280 height: "16.5", 281 viewBox: "0 0 15 16.5", 282 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("g", { 283 id: "Icon_feather-trash-2", 284 "data-name": "Icon feather-trash-2", 285 transform: "translate(0.75 0.75)", 286 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 287 "data-name": "Path 482", 288 d: "M2.25,4.5h13.5", 289 transform: "translate(-2.25 -1.5)", 290 fill: "none", 291 stroke: "#000", 292 "stroke-linecap": "round", 293 "stroke-linejoin": "round", 294 "stroke-width": "1.5" 295 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 296 "data-name": "Path 483", 297 d: "M14.25,4.5V15a1.5,1.5,0,0,1-1.5,1.5H5.25A1.5,1.5,0,0,1,3.75,15V4.5M6,4.5V3A1.5,1.5,0,0,1,7.5,1.5h3A1.5,1.5,0,0,1,12,3V4.5", 298 transform: "translate(-2.25 -1.5)", 299 fill: "none", 300 stroke: "#000", 301 "stroke-linecap": "round", 302 "stroke-linejoin": "round", 303 "stroke-width": "1.5" 304 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 305 "data-name": "Path 484", 306 d: "M7.5,8.25v4.5", 307 transform: "translate(-2.25 -1.5)", 308 fill: "none", 309 stroke: "#000", 310 "stroke-linecap": "round", 311 "stroke-linejoin": "round", 312 "stroke-width": "1.5" 313 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 314 "data-name": "Path 485", 315 d: "M10.5,8.25v4.5", 316 transform: "translate(-2.25 -1.5)", 317 fill: "none", 318 stroke: "#000", 319 "stroke-linecap": "round", 320 "stroke-linejoin": "round", 321 "stroke-width": "1.5" 322 })] 323 }) 324 }) 325 }); 326}; 327var ShowProductPrice = function ShowProductPrice(props) { 328 if (props.show_price === true && props.is_hide_price !== true) { 329 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 330 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none", 331 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 332 className: "mb-0", 333 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Price', 'elex-request-a-quote') 334 }) 335 }); 336 } 337 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 338 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 339 }); 340 // return null; 341}; 342 343var ShowProductQuantity = function ShowProductQuantity(props) { 344 if (props.show_quantity === true) { 345 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 346 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none", 347 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 348 className: "mb-0", 349 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Quantity', 'elex-request-a-quote') 350 }) 351 }); 352 } 353 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 354 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 355 }); 356}; 357var ShowProductSubtotal = function ShowProductSubtotal(props) { 358 if (props.show_subtotal === true && props.is_hide_price !== true) { 359 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 360 className: "col-2 elex-raq-quote-hideable-header text-end d-md-block d-none", 361 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 362 className: "mb-0", 363 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Subtotal', 'elex-request-a-quote') 364 }) 365 }); 366 } 367 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 368 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 369 }); 370}; 371var ShowTax = function ShowTax(props) { 372 if (props.inclusive_tax !== true && props.show_tax === true && props.is_hide_price !== true) { 373 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 374 className: "d-flex justify-content-between mb-2", 375 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 376 className: "mb-0", 377 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Tax', 'elex-request-a-quote') 378 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 379 className: "raq-fxs", 380 children: props.tax_value !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 381 val: props.tax_value 382 }) : '' 383 })] 384 }); 385 } 386 return null; 387}; 388var ShowSubTotal = function ShowSubTotal(props) { 389 if (props.show_sub_total === true && props.is_hide_price !== true) { 390 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 391 className: "d-flex justify-content-between mb-2", 392 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 393 className: "mb-0", 394 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Subtotal', 'elex-request-a-quote') 395 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 396 className: "raq-fxs",
397 children: props.sub_total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 398 val: props.sub_total 399 }) : '' 400 })] 401 }); 402 } 403 return null; 404}; 405var ShowTotal = function ShowTotal(props) { 406 if (props.show_sub_total === true && props.is_hide_price !== true) { 407 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 408 className: "d-flex justify-content-between mb-2", 409 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 410 className: "mb-0", 411 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Total', 'elex-request-a-quote') 412 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 413 className: "raq-fxs", 414 children: props.total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 415 val: props.total 416 }) : '' 417 })] 418 }); 419 } 420 return null; 421}; 422var ShowSKU = function ShowSKU(props) { 423 if (props.is_sku_checked === true) { 424 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 425 className: "raq-fs", 426 children: props.item.sku 427 }); 428 } 429 return ''; 430}; 431var ShowPrice = function ShowPrice(props) { 432 if (props.show_price === true && props.is_hide_price !== true) { 433 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 434 className: "raq-fs", 435 children: props.item.item_cost !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 436 val: props.item.item_cost 437 }) : '' 438 }); 439 } 440 return null; 441}; 442var ShowImage = function ShowImage(props) { 443 if (props.show_image === true) { 444 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("img", { 445 src: props.item.image_url, 446 alt: "" 447 }); 448 } 449 return ''; 450}; 451var ShowItemSubtotal = function ShowItemSubtotal(props) { 452 if (props.show_item_total == true && props.is_hide_price !== true) { 453 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 454 className: "text-end", 455 children: props.item.item_total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 456 val: props.item.item_total 457 }) : '' 458 }); 459 } 460 return ''; 461}; 462var QuoteListProducts = function QuoteListProducts(props) { 463 var button_color = wp.element.useState(props.data.quote_items.general.general.button_default_color); 464 var wc_currency = wp.element.useState(props.data.quote_items, quote_list.wc_currency); 465 wp.element.useEffect(function () { 466 jQuery(window).on("update_quantity_event", function (e, quotelist_data) { 467 setQuoteItems(quotelist_data); 468 }); 469 jQuery(window).on("clear_list_event", function (e, quotelist_data) { 470 setQuoteItems(quotelist_data); 471 }); 472 jQuery(window).on("delete_event", function (e, quotelist_data) { 473 setQuoteItems(quotelist_data); 474 }); 475 }, []); 476 var onQuoteListItemRemove = function onQuoteListItemRemove(i) { 477 var newQuoteList = _objectSpread({}, quoteItems); 478 newQuoteList.quote_list.items.splice(i, 1); 479 setQuoteItems(newQuoteList); 480 }; 481 var HideOrShowUpdateList = function HideOrShowUpdateList(props) { 482 if (props.data.additional_settings.update_list_button === true) { 483 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { 484 onClick: function onClick() { 485 setQuoteItems(tempElexRqQuoteList); 486 UpdateListApi(); 487 }, 488 style: { 489 backgroundColor: props.color[0], 490 border: 'none' 491 }, 492 className: "update_list_btn btn btn-sm btn-primary px-4", 493 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Update List', 'elex-request-a-quote') 494 }); 495 } 496 return ''; 497 }; 498 var IsPriceHidden = function IsPriceHidden(props) { 499 if (true === props.is_hide_price) { 500 return null; 501 } 502 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 503 className: "col-md-6 col-7 border-0 mb-2 border-bottom border-secondary", 504 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowSubTotal, { 505 is_hide_price: props.is_hide_price, 506 currency: props.currency, 507 currency_position: props.currency_position, 508 sub_total: props.items.quote_list.sub_total, 509 show_sub_total: props.items.settings.show_on_product_table.each_product_subtotal 510 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowTax, { 511 inclusive_tax: props.items.quote_list.inclusive_tax, 512 is_hide_price: props.is_hide_price, 513 currency: props.currency, 514 currency_position: props.currency_position, 515 tax_value: props.items.quote_list.tax, 516 show_tax: props.items.settings.show_on_product_table.taxes 517 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowTotal, { 518 is_hide_price: props.is_hide_price, 519 currency: props.currency, 520 currency_position: props.currency_position, 521 total: props.items.quote_list.total, 522 show_sub_total: props.items.settings.show_on_product_table.each_product_subtotal 523 })] 524 }); 525 }; 526 var UpdateListApi = function UpdateListApi() { 527 var newQuoteList = _objectSpread({}, quoteItems); 528 var product_data = []; 529 jQuery.each(newQuoteList.quote_list.items, function (k) { 530 var data = { 531 product_id: newQuoteList.quote_list.items[k].product_id, 532 quantity: newQuoteList.quote_list.items[k].quantity, 533 variation_id: newQuoteList.quote_list.items[k].variation_id 534 }; 535 product_data.push(data); 536 }); 537 jQuery.ajax({ 538 type: 'post', 539 url: request_a_quote_ajax_obj.ajax_url, 540 data: { 541 action: 'elex_raq_update_quote_list', 542 data: product_data, 543 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 544 }, 545 success: function success(data) { 546 if (data.success === true) { 547 jQuery(window).trigger("update_quantity_event", data.data.quote_list_data); 548 } 549 } 550 }); 551 }; 552 var QuoteItems = function QuoteItems(props) { 553 var UpdateLocalList = function UpdateLocalList(newQuantity, product_id, variation_id) { 554 var newQuoteList = _objectSpread({}, quoteItems); 555 jQuery.each(newQuoteList.quote_list.items, function (k) { 556 if (newQuoteList.quote_list.items[k].product_id === product_id && newQuoteList.quote_list.items[k].variation_id === variation_id) { 557 newQuoteList.quote_list.items[k].quantity = newQuantity; 558 } 559 }); 560 // Note: if we update state here component rerenders and input gets out of focus. 561 tempElexRqQuoteList = newQuoteList; 562 }; 563 var UpdateItemQuantity = function UpdateItemQuantity(product_id, quantity, variation_id) { 564 jQuery.ajax({ 565 type: 'post', 566 url: request_a_quote_ajax_obj.ajax_url, 567 data: { 568 action: 'elex_raq_update_quantity', 569 product_id: product_id, 570 quote_list_id: props.quote_list_id, 571 quantity: quantity, 572 variation_id: variation_id, 573 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 574 }, 575 success: function success(data) { 576 if (data.success === true) { 577 jQuery(window).trigger("update_quantity_event", data.data.quote_list_data); 578 jQuery("#elex-raq-updated-sucess-toast").addClass("show"); 579 setTimeout(function () { 580 jQuery("#elex-raq-updated-sucess-toast").removeClass("show"); 581 }, 3000); 582 } 583 } 584 }); 585 }; 586 var ShowQuantity = function ShowQuantity(props) { 587 var is_disabled = ''; 588 if (props.item.child === true) { 589 is_disabled = "disabled"; 590 } 591 if (props.show_quantity === true && !props.item.child) { 592 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("input", { 593 type: "number", 594 min: "1", 595 id: props.item.product_id, 596 onChange: function onChange(e) { 597 UpdateLocalList(e.target.value, props.item.product_id, props.item.variation_id); 598 props.is_update_btn_enabled === false ? UpdateItemQuantity(props.item.product_id, e.target.value, props.item.variation_id) : ''; 599 }, 600 defaultValue: props.item.quantity, 601 className: "form-control product_quantity px-1" 602 }); 603 } 604 if (props.show_quantity === true && props.item.child) { 605 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("input", { 606 disabled: true, 607 type: "number", 608 min: "1", 609 id: props.item.product_id, 610 onChange: function onChange(e) { 611 UpdateLocalList(e.target.value, props.item.product_id, props.item.variation_id); 612 props.is_update_btn_enabled === false ? UpdateItemQuantity(props.item.product_id, e.target.value, props.item.variation_id) : ''; 613 }, 614 defaultValue: props.item.quantity, 615 className: "form-control product_quantity px-1" 616 }); 617 } 618 return null; 619 }; 620 var ShowProdcutDetails = function ShowProdcutDetails(props) { 621 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("a", { 622 href: props.link, 623 children: props.title 624 }); 625 }; 626 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.Fragment, { 627 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 628 className: "row text-start align-items-center border-0 pb-2 mb-2 border-bottom border-secondary", 629 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 630 className: "col-xl-1 col-md-1 col-2 mb-2", 631 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(RenderDelete, { 632 props: props 633 }) 634 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 635 className: "col-xl-5 col-md-5 col-10 mb-2", 636 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 637 className: "d-flex gap-2", 638 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 639 className: "elex-raq-icon", 640 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 641 className: "ratio ratio-1x1", 642 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowImage, { 643 show_image: props.settings.show_on_product_table.product_image, 644 item: props.item 645 }) 646 }) 647 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 648 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProdcutDetails, { 649 link: props.item.product_link, 650 title: props.item.title 651 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 652 className: "raq-fs" 653 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowSKU, { 654 is_sku_checked: props.settings.show_on_product_table.product_sku, 655 item: props.item 656 })] 657 })] 658 }) 659 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 660 className: "col-xl-2 col-md-2 col-3 offset-xl-0 offset-md-0 offset-2 mb-2", 661 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowPrice, { 662 currency: props.currency, 663 currency_position: props.currency_position, 664 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 665 show_price: props.settings.show_on_product_table.product_price, 666 item: props.item 667 }) 668 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 669 className: "col-xl-2 col-md-2 col-3 mb-2 p-0", 670 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowQuantity, { 671 onUpdate: props.onUpdate, 672 show_quantity: props.settings.show_on_product_table.quantity, 673 is_update_btn_enabled: props.is_update_btn_enabled, 674 item: props.item 675 }) 676 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 677 className: "col-xl-2 col-md-2 col-4 text-end ps-2 mb-2", 678 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowItemSubtotal, { 679 currency_position: props.currency_position, 680 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 681 currency: props.currency, 682 show_item_total: props.settings.show_on_product_table.each_product_subtotal, 683 item: props.item 684 }) 685 })] 686 }) 687 }); 688 }; 689 var _wp$element$useState = wp.element.useState(props.data.quote_items), 690 _wp$element$useState2 = _slicedToArray(_wp$element$useState, 2), 691 quoteItems = _wp$element$useState2[0], 692 setQuoteItems = _wp$element$useState2[1]; 693 if (undefined == quoteItems.quote_list) { 694 return ''; 695 } 696 if (quoteItems.quote_list.items.length === 0) { 697 return ''; 698 } 699 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 700 className: "shadow quote_list_page overflow-auto w-100 mb-3 flex-fill rounded-3 bg-white ", 701 id: "elex_quote_list_page_div", 702 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 703 className: "quote_list_product_table", 704 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 705 className: "bg-secondary bg-opacity-10 p-3", 706 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 707 className: "row text-start", 708 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 709 className: "col-1" 710 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 711 className: "col-sm-5 col-12", 712 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 713 className: "mb-0", 714 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Product Detail', 'elex-request-a-quote') 715 }) 716 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductPrice, { 717 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 718 show_price: quoteItems.settings.show_on_product_table.product_price 719 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductQuantity, { 720 show_quantity: quoteItems.settings.show_on_product_table.quantity 721 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductSubtotal, { 722 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 723 show_subtotal: quoteItems.settings.show_on_product_table.each_product_subtotal 724 })] 725 }) 726 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 727 className: "p-3", 728 children: [quoteItems.quote_list.items.map(function (item, i) { 729 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(QuoteItems, { 730 onDelete: function onDelete() { 731 return onQuoteListItemRemove(i); 732 }, 733 ad_settings: quoteItems.additional_settings, 734 settings: quoteItems.settings, 735 currency: quoteItems.quote_list.wc_currency, 736 currency_position: quoteItems.quote_list.currency_position, 737
737 quote_list_id: quoteItems.quote_list.id, 738 item: item, 739 is_update_btn_enabled: quoteItems.additional_settings.update_list_button 740 }, i); 741 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 742 className: "row text-start align-items-center mb-2 justify-content-end", 743 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(IsPriceHidden, { 744 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 745 currency_position: quoteItems.quote_list.currency_position, 746 currency: quoteItems.quote_list.wc_currency, 747 items: quoteItems 748 }) 749 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 750 className: "d-flex flex-wrap justify-content-between flex-sm-row flex-column align-items-center gap-2", 751 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_show_add_more_button__WEBPACK_IMPORTED_MODULE_0__.HideOrShowAddMoreButton, { 752 data: quoteItems.additional_settings, 753 color: button_color 754 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 755 className: "d-flex gap-2", 756 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_show_clear_list__WEBPACK_IMPORTED_MODULE_1__.HideOrShowClearList, { 757 data: quoteItems.additional_settings, 758 color: button_color 759 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(HideOrShowUpdateList, { 760 data: quoteItems, 761 color: button_color 762 })] 763 })] 764 })] 765 })] 766 }) 767 }); 768}; 769 770/***/ }), 771
772/***/ "./assets/js/components/quote_list/show_add_more_button.js": 773/*!*****************************************************************!*\ 774 !*** ./assets/js/components/quote_list/show_add_more_button.js ***! 775 \*****************************************************************/ 776/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 777 778"use strict"; 779__webpack_require__.r(__webpack_exports__); 780/* harmony export */ __webpack_require__.d(__webpack_exports__, { 781/* harmony export */ "HideOrShowAddMoreButton": () => (/* binding */ HideOrShowAddMoreButton) 782/* harmony export */ }); 783/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 784/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 785 786 787var HideOrShowAddMoreButton = function HideOrShowAddMoreButton(props) { 788 if (props.data.add_more_items_button === true) { 789 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a", { 790 href: props.data.add_more_items_button_redirection, 791 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button", { 792 style: { 793 backgroundColor: props.color[0], 794 border: 'none' 795 }, 796 className: "add_more_items_btn btn btn-sm btn-primary px-4", 797 children: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])(props.data.add_more_items_button_label, 'elex-request-a-quote') 798 }) 799 }); 800 } 801 return ''; 802}; 803 804/***/ }), 805
806/***/ "./assets/js/components/quote_list/show_clear_list.js": 807/*!************************************************************!*\ 808 !*** ./assets/js/components/quote_list/show_clear_list.js ***! 809 \************************************************************/ 810/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 811 812"use strict"; 813__webpack_require__.r(__webpack_exports__); 814/* harmony export */ __webpack_require__.d(__webpack_exports__, { 815/* harmony export */ "HideOrShowClearList": () => (/* binding */ HideOrShowClearList) 816/* harmony export */ }); 817/* harmony import */ var _clear_list__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clear_list */ "./assets/js/components/quote_list/clear_list.js"); 818/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 819/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 820 821 822 823var HideOrShowClearList = function HideOrShowClearList(props) { 824 if (props.data.clear_list === true) { 825 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("button", { 826 style: { 827 backgroundColor: props.color[0], 828 border: 'none' 829 }, 830 onClick: _clear_list__WEBPACK_IMPORTED_MODULE_0__.ClearList, 831 className: "clear_list_btn btn btn-sm btn-primary px-4", 832 children: (0,_translate__WEBPACK_IMPORTED_MODULE_1__["default"])('Clear List', 'elex-request-a-quote') 833 }); 834 } 835 return ''; 836}; 837 838/***/ }), 839
840/***/ "./assets/js/components/translate.js": 841/*!*******************************************!*\ 842 !*** ./assets/js/components/translate.js ***! 843 \*******************************************/ 844/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 845 846"use strict"; 847__webpack_require__.r(__webpack_exports__); 848/* harmony export */ __webpack_require__.d(__webpack_exports__, { 849/* harmony export */ "default": () => (/* binding */ __) 850/* harmony export */ }); 851// eslint-disable-next-line no-underscore-dangle 852function __(string, domain) { 853 var _window = window, 854 elexRaqTranslations = _window.elex_raq_translations; 855 if (domain === 'elex-request-a-quote' && elexRaqTranslations && elexRaqTranslations !== null && elexRaqTranslations !== void 0 && elexRaqTranslations[string]) { 856 return elexRaqTranslations[string]; 857 } 858 return string; 859} 860 861/***/ }), 862
vendor: 2,261 bytes, lines 863-928
863/***/ "./node_modules/domelementtype/lib/index.js": 864/*!**************************************************!*\ 865 !*** ./node_modules/domelementtype/lib/index.js ***! 866 \**************************************************/ 867/***/ ((__unused_webpack_module, exports) => { 868 869"use strict"; 870 871Object.defineProperty(exports, "__esModule", ({ value: true })); 872exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0; 873/** Types of elements found in htmlparser2's DOM */ 874var ElementType; 875(function (ElementType) { 876 /** Type for the root element of a document */ 877 ElementType["Root"] = "root"; 878 /** Type for Text */ 879 ElementType["Text"] = "text"; 880 /** Type for <? ... ?> */ 881 ElementType["Directive"] = "directive"; 882 /** Type for <!-- ... --> */ 883 ElementType["Comment"] = "comment"; 884 /** Type for <script> tags */ 885 ElementType["Script"] = "script"; 886 /** Type for <style> tags */ 887 ElementType["Style"] = "style"; 888 /** Type for Any tag */ 889 ElementType["Tag"] = "tag"; 890 /** Type for <![CDATA[ ... ]]> */ 891 ElementType["CDATA"] = "cdata"; 892 /** Type for <!doctype ...> */ 893 ElementType["Doctype"] = "doctype"; 894})(ElementType = exports.ElementType || (exports.ElementType = {})); 895/** 896 * Tests whether an element is a tag or not. 897 * 898 * @param elem Element to test 899 */ 900function isTag(elem) { 901 return (elem.type === ElementType.Tag || 902 elem.type === ElementType.Script || 903 elem.type === ElementType.Style); 904} 905exports.isTag = isTag; 906// Exports for backwards compatibility 907/** Type for the root element of a document */ 908exports.Root = ElementType.Root; 909/** Type for Text */ 910exports.Text = ElementType.Text; 911/** Type for <? ... ?> */ 912exports.Directive = ElementType.Directive; 913/** Type for <!-- ... --> */ 914exports.Comment = ElementType.Comment; 915/** Type for <script> tags */ 916exports.Script = ElementType.Script; 917/** Type for <style> tags */ 918exports.Style = ElementType.Style; 919/** Type for Any tag */ 920exports.Tag = ElementType.Tag; 921/** Type for <![CDATA[ ... ]]> */ 922exports.CDATA = ElementType.CDATA; 923/** Type for <!doctype ...> */ 924exports.Doctype = ElementType.Doctype; 925 926 927/***/ }), 928
vendor: 1,487 bytes, lines 929-984
929/***/ "./node_modules/html-dom-parser/lib/client/constants.js": 930/*!**************************************************************!*\ 931 !*** ./node_modules/html-dom-parser/lib/client/constants.js ***! 932 \**************************************************************/ 933/***/ ((__unused_webpack_module, exports) => { 934 935"use strict"; 936 937Object.defineProperty(exports, "__esModule", ({ value: true })); 938exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES = void 0; 939/** 940 * SVG elements are case-sensitive. 941 * 942 * @see https://developer.mozilla.org/docs/Web/SVG/Element#svg_elements_a_to_z 943 */ 944exports.CASE_SENSITIVE_TAG_NAMES = [ 945 'animateMotion', 946 'animateTransform', 947 'clipPath', 948 'feBlend', 949 'feColorMatrix', 950 'feComponentTransfer', 951 'feComposite', 952 'feConvolveMatrix', 953 'feDiffuseLighting', 954 'feDisplacementMap', 955 'feDropShadow', 956 'feFlood', 957 'feFuncA', 958 'feFuncB', 959 'feFuncG', 960 'feFuncR', 961 'feGaussianBlur', 962 'feImage', 963 'feMerge', 964 'feMergeNode', 965 'feMorphology', 966 'feOffset', 967 'fePointLight', 968 'feSpecularLighting', 969 'feSpotLight', 970 'feTile', 971 'feTurbulence', 972 'foreignObject', 973 'linearGradient', 974 'radialGradient', 975 'textPath', 976]; 977exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES.reduce(function (accumulator, tagName) { 978 accumulator[tagName.toLowerCase()] = tagName; 979 return accumulator; 980}, {}); 981//# sourceMappingURL=constants.js.map 982 983/***/ }), 984
vendor: 5,360 bytes, lines 985-1131
985/***/ "./node_modules/html-dom-parser/lib/client/domparser.js": 986/*!**************************************************************!*\ 987 !*** ./node_modules/html-dom-parser/lib/client/domparser.js ***! 988 \**************************************************************/ 989/***/ ((__unused_webpack_module, exports) => { 990 991"use strict"; 992 993Object.defineProperty(exports, "__esModule", ({ value: true })); 994exports["default"] = domparser; 995// constants 996var HTML = 'html'; 997var HEAD = 'head'; 998var BODY = 'body'; 999var FIRST_TAG_REGEX = /<([a-zA-Z]+[0-9]?)/; // e.g., <h1> 1000// match-all-characters in case of newlines (DOTALL) 1001var HEAD_TAG_REGEX = /<head[^]*>/i; 1002var BODY_TAG_REGEX = /<body[^]*>/i; 1003// falls back to `parseFromString` if `createHTMLDocument` cannot be used 1004// eslint-disable-next-line @typescript-eslint/no-unused-vars 1005var parseFromDocument = function (html, tagName) { 1006 /* istanbul ignore next */ 1007 throw new Error('This browser does not support `document.implementation.createHTMLDocument`'); 1008}; 1009// eslint-disable-next-line @typescript-eslint/no-unused-vars 1010var parseFromString = function (html, tagName) { 1011 /* istanbul ignore next */ 1012 throw new Error('This browser does not support `DOMParser.prototype.parseFromString`'); 1013}; 1014var DOMParser = typeof window === 'object' && window.DOMParser; 1015/** 1016 * DOMParser (performance: slow). 1017 * 1018 * @see https://developer.mozilla.org/docs/Web/API/DOMParser#Parsing_an_SVG_or_HTML_document 1019 */ 1020if (typeof DOMParser === 'function') { 1021 var domParser_1 = new DOMParser(); 1022 var mimeType_1 = 'text/html'; 1023 /** 1024 * Creates an HTML document using `DOMParser.parseFromString`. 1025 * 1026 * @param html - The HTML string. 1027 * @param tagName - The element to render the HTML (with 'body' as fallback). 1028 * @returns - Document. 1029 */ 1030 parseFromString = function (html, tagName) { 1031 if (tagName) { 1032 /* istanbul ignore next */ 1033 html = "<".concat(tagName, ">").concat(html, "</").concat(tagName, ">"); 1034 } 1035 return domParser_1.parseFromString(html, mimeType_1); 1036 }; 1037 parseFromDocument = parseFromString; 1038} 1039/** 1040 * DOMImplementation (performance: fair). 1041 * 1042 * @see https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument 1043 */ 1044if (typeof document === 'object' && document.implementation) { 1045 var htmlDocument_1 = document.implementation.createHTMLDocument(); 1046 /** 1047 * Use HTML document created by `document.implementation.createHTMLDocument`. 1048 * 1049 * @param html - The HTML string. 1050 * @param tagName - The element to render the HTML (with 'body' as fallback). 1051 * @returns - Document 1052 */ 1053 parseFromDocument = function (html, tagName) { 1054 if (tagName) { 1055 var element = htmlDocument_1.documentElement.querySelector(tagName); 1056 if (element) { 1057 element.innerHTML = html; 1058 } 1059 return htmlDocument_1; 1060 } 1061 htmlDocument_1.documentElement.innerHTML = html; 1062 return htmlDocument_1; 1063 }; 1064} 1065/** 1066 * Template (performance: fast). 1067 * 1068 * @see https://developer.mozilla.org/docs/Web/HTML/Element/template 1069 */ 1070var template = typeof document === 'object' && document.createElement('template'); 1071var parseFromTemplate; 1072if (template && template.content) { 1073 /** 1074 * Uses a template element (content fragment) to parse HTML. 1075 * 1076 * @param html - HTML string. 1077 * @returns - Nodes. 1078 */ 1079 parseFromTemplate = function (html) { 1080 template.innerHTML = html; 1081 return template.content.childNodes; 1082 }; 1083} 1084/** 1085 * Parses HTML string to DOM nodes. 1086 * 1087 * @param html - HTML markup. 1088 * @returns - DOM nodes. 1089 */ 1090function domparser(html) { 1091 var _a, _b; 1092 var match = html.match(FIRST_TAG_REGEX); 1093 var firstTagName = match && match[1] ? match[1].toLowerCase() : ''; 1094 switch (firstTagName) { 1095 case HTML: { 1096 var doc = parseFromString(html); 1097 // the created document may come with filler head/body elements, 1098 // so make sure to remove them if they don't actually exist 1099 if (!HEAD_TAG_REGEX.test(html)) { 1100 var element = doc.querySelector(HEAD); 1101 (_a = element === null || element === void 0 ? void 0 : element.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(element); 1102 } 1103 if (!BODY_TAG_REGEX.test(html)) { 1104 var element = doc.querySelector(BODY); 1105 (_b = element === null || element === void 0 ? void 0 : element.parentNode) === null || _b === void 0 ? void 0 : _b.removeChild(element); 1106 } 1107 return doc.querySelectorAll(HTML); 1108 } 1109 case HEAD: 1110 case BODY: { 1111 var elements = parseFromDocument(html).querySelectorAll(firstTagName); 1112 // if there's a sibling element, then return both elements 1113 if (BODY_TAG_REGEX.test(html) && HEAD_TAG_REGEX.test(html)) { 1114 return elements[0].parentNode.childNodes; 1115 } 1116 return elements; 1117 } 1118 // low-level tag or text 1119 default: { 1120 if (parseFromTemplate) { 1121 return parseFromTemplate(html); 1122 } 1123 var element = parseFromDocument(html, BODY).querySelector(BODY); 1124 return element.childNodes; 1125 } 1126 } 1127} 1128//# sourceMappingURL=domparser.js.map 1129 1130/***/ }), 1131
vendor: 1,475 bytes, lines 1132-1169
1132/***/ "./node_modules/html-dom-parser/lib/client/html-to-dom.js": 1133/*!****************************************************************!*\ 1134 !*** ./node_modules/html-dom-parser/lib/client/html-to-dom.js ***! 1135 \****************************************************************/ 1136/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1137 1138"use strict"; 1139 1140var __importDefault = (this && this.__importDefault) || function (mod) { 1141 return (mod && mod.__esModule) ? mod : { "default": mod }; 1142}; 1143Object.defineProperty(exports, "__esModule", ({ value: true })); 1144exports["default"] = HTMLDOMParser; 1145var domparser_1 = __importDefault(__webpack_require__(/*! ./domparser */ "./node_modules/html-dom-parser/lib/client/domparser.js")); 1146var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-dom-parser/lib/client/utilities.js"); 1147var DIRECTIVE_REGEX = /<(![a-zA-Z\s]+)>/; // e.g., <!doctype html> 1148/** 1149 * Parses HTML string to DOM nodes in browser. 1150 * 1151 * @param html - HTML markup. 1152 * @returns - DOM elements. 1153 */ 1154function HTMLDOMParser(html) { 1155 if (typeof html !== 'string') { 1156 throw new TypeError('First argument must be a string'); 1157 } 1158 if (!html) { 1159 return []; 1160 } 1161 // match directive 1162 var match = html.match(DIRECTIVE_REGEX); 1163 var directive = match ? match[1] : undefined; 1164 return (0, utilities_1.formatDOM)((0, domparser_1.default)(html), null, directive); 1165} 1166//# sourceMappingURL=html-to-dom.js.map 1167 1168/***/ }), 1169
vendor: 3,879 bytes, lines 1170-1287
1170/***/ "./node_modules/html-dom-parser/lib/client/utilities.js": 1171/*!**************************************************************!*\ 1172 !*** ./node_modules/html-dom-parser/lib/client/utilities.js ***! 1173 \**************************************************************/ 1174/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 1175 1176"use strict"; 1177 1178Object.defineProperty(exports, "__esModule", ({ value: true })); 1179exports.formatAttributes = formatAttributes; 1180exports.formatDOM = formatDOM; 1181var domhandler_1 = __webpack_require__(/*! domhandler */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js"); 1182var constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/html-dom-parser/lib/client/constants.js"); 1183/** 1184 * Gets case-sensitive tag name. 1185 * 1186 * @param tagName - Tag name in lowercase. 1187 * @returns - Case-sensitive tag name. 1188 */ 1189function getCaseSensitiveTagName(tagName) { 1190 return constants_1.CASE_SENSITIVE_TAG_NAMES_MAP[tagName]; 1191} 1192/** 1193 * Formats DOM attributes to a hash map. 1194 * 1195 * @param attributes - List of attributes. 1196 * @returns - Map of attribute name to value. 1197 */ 1198function formatAttributes(attributes) { 1199 var map = {}; 1200 var index = 0; 1201 var attributesLength = attributes.length; 1202 // `NamedNodeMap` is array-like 1203 for (; index < attributesLength; index++) { 1204 var attribute = attributes[index]; 1205 map[attribute.name] = attribute.value; 1206 } 1207 return map; 1208} 1209/** 1210 * Corrects the tag name if it is case-sensitive (SVG). 1211 * Otherwise, returns the lowercase tag name (HTML). 1212 * 1213 * @param tagName - Lowercase tag name. 1214 * @returns - Formatted tag name. 1215 */ 1216function formatTagName(tagName) { 1217 tagName = tagName.toLowerCase(); 1218 var caseSensitiveTagName = getCaseSensitiveTagName(tagName); 1219 if (caseSensitiveTagName) { 1220 return caseSensitiveTagName; 1221 } 1222 return tagName; 1223} 1224/** 1225 * Transforms DOM nodes to `domhandler` nodes. 1226 * 1227 * @param nodes - DOM nodes. 1228 * @param parent - Parent node. 1229 * @param directive - Directive. 1230 * @returns - Nodes. 1231 */ 1232function formatDOM(nodes, parent, directive) { 1233 if (parent === void 0) { parent = null; } 1234 var domNodes = []; 1235 var current; 1236 var index = 0; 1237 var nodesLength = nodes.length; 1238 for (; index < nodesLength; index++) { 1239 var node = nodes[index]; 1240 // set the node data given the type 1241 switch (node.nodeType) { 1242 case 1: { 1243 var tagName = formatTagName(node.nodeName); 1244 // script, style, or tag 1245 current = new domhandler_1.Element(tagName, formatAttributes(node.attributes)); 1246 current.children = formatDOM( 1247 // template children are on content 1248 tagName === 'template' 1249 ? node.content.childNodes 1250 : node.childNodes, current); 1251 break; 1252 } 1253 case 3: 1254 current = new domhandler_1.Text(node.nodeValue); 1255 break; 1256 case 8: 1257 current = new domhandler_1.Comment(node.nodeValue); 1258 break; 1259 default: 1260 continue; 1261 } 1262 // set previous node next 1263 var prev = domNodes[index - 1] || null; 1264 if (prev) { 1265 prev.next = current; 1266 } 1267 // set properties for current node 1268 current.parent = parent; 1269 current.prev = prev; 1270 current.next = null; 1271 domNodes.push(current); 1272 } 1273 if (directive) { 1274 current = new domhandler_1.ProcessingInstruction(directive.substring(0, directive.indexOf(' ')).toLowerCase(), directive); 1275 current.next = domNodes[0] || null; 1276 current.parent = parent; 1277 domNodes.unshift(current); 1278 if (domNodes[1]) { 1279 domNodes[1].prev = domNodes[0]; 1280 } 1281 } 1282 return domNodes; 1283} 1284//# sourceMappingURL=utilities.js.map 1285 1286/***/ }), 1287
vendor: 6,756 bytes, lines 1288-1463
1288/***/ "./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js": 1289/*!***************************************************************************!*\ 1290 !*** ./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js ***! 1291 \***************************************************************************/ 1292/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1293 1294"use strict"; 1295 1296var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 1297 if (k2 === undefined) k2 = k; 1298 var desc = Object.getOwnPropertyDescriptor(m, k); 1299 if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 1300 desc = { enumerable: true, get: function() { return m[k]; } }; 1301 } 1302 Object.defineProperty(o, k2, desc); 1303}) : (function(o, m, k, k2) { 1304 if (k2 === undefined) k2 = k; 1305 o[k2] = m[k]; 1306})); 1307var __exportStar = (this && this.__exportStar) || function(m, exports) { 1308 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 1309}; 1310Object.defineProperty(exports, "__esModule", ({ value: true })); 1311exports.DomHandler = void 0; 1312var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 1313var node_js_1 = __webpack_require__(/*! ./node.js */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js"); 1314__exportStar(__webpack_require__(/*! ./node.js */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js"), exports); 1315// Default options 1316var defaultOpts = { 1317 withStartIndices: false, 1318 withEndIndices: false, 1319 xmlMode: false, 1320}; 1321var DomHandler = /** @class */ (function () { 1322 /** 1323 * @param callback Called once parsing has completed. 1324 * @param options Settings for the handler. 1325 * @param elementCB Callback whenever a tag is closed. 1326 */ 1327 function DomHandler(callback, options, elementCB) { 1328 /** The elements of the DOM */ 1329 this.dom = []; 1330 /** The root element for the DOM */ 1331 this.root = new node_js_1.Document(this.dom); 1332 /** Indicated whether parsing has been completed. */ 1333 this.done = false; 1334 /** Stack of open tags. */ 1335 this.tagStack = [this.root]; 1336 /** A data node that is still being written to. */ 1337 this.lastNode = null; 1338 /** Reference to the parser instance. Used for location information. */ 1339 this.parser = null; 1340 // Make it possible to skip arguments, for backwards-compatibility 1341 if (typeof options === "function") { 1342 elementCB = options; 1343 options = defaultOpts; 1344 } 1345 if (typeof callback === "object") { 1346 options = callback; 1347 callback = undefined; 1348 } 1349 this.callback = callback !== null && callback !== void 0 ? callback : null; 1350 this.options = options !== null && options !== void 0 ? options : defaultOpts; 1351 this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null; 1352 } 1353 DomHandler.prototype.onparserinit = function (parser) { 1354 this.parser = parser; 1355 }; 1356 // Resets the handler back to starting state 1357 DomHandler.prototype.onreset = function () { 1358 this.dom = []; 1359 this.root = new node_js_1.Document(this.dom); 1360 this.done = false; 1361 this.tagStack = [this.root]; 1362 this.lastNode = null; 1363 this.parser = null; 1364 }; 1365 // Signals the handler that parsing is done 1366 DomHandler.prototype.onend = function () { 1367 if (this.done) 1368 return; 1369 this.done = true; 1370 this.parser = null; 1371 this.handleCallback(null); 1372 }; 1373 DomHandler.prototype.onerror = function (error) { 1374 this.handleCallback(error); 1375 }; 1376 DomHandler.prototype.onclosetag = function () { 1377 this.lastNode = null; 1378 var elem = this.tagStack.pop(); 1379 if (this.options.withEndIndices) { 1380 elem.endIndex = this.parser.endIndex; 1381 } 1382 if (this.elementCB) 1383 this.elementCB(elem); 1384 }; 1385 DomHandler.prototype.onopentag = function (name, attribs) { 1386 var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined; 1387 var element = new node_js_1.Element(name, attribs, undefined, type); 1388 this.addNode(element); 1389 this.tagStack.push(element); 1390 }; 1391 DomHandler.prototype.ontext = function (data) { 1392 var lastNode = this.lastNode; 1393 if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) { 1394 lastNode.data += data; 1395 if (this.options.withEndIndices) { 1396 lastNode.endIndex = this.parser.endIndex; 1397 } 1398 } 1399 else { 1400 var node = new node_js_1.Text(data); 1401 this.addNode(node); 1402 this.lastNode = node; 1403 } 1404 }; 1405 DomHandler.prototype.oncomment = function (data) { 1406 if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) { 1407 this.lastNode.data += data; 1408 return; 1409 } 1410 var node = new node_js_1.Comment(data); 1411 this.addNode(node); 1412 this.lastNode = node; 1413 }; 1414 DomHandler.prototype.oncommentend = function () { 1415 this.lastNode = null; 1416 }; 1417 DomHandler.prototype.oncdatastart = function () { 1418 var text = new node_js_1.Text(""); 1419 var node = new node_js_1.CDATA([text]); 1420 this.addNode(node); 1421 text.parent = node; 1422 this.lastNode = text; 1423 }; 1424 DomHandler.prototype.oncdataend = function () { 1425 this.lastNode = null; 1426 }; 1427 DomHandler.prototype.onprocessinginstruction = function (name, data) { 1428 var node = new node_js_1.ProcessingInstruction(name, data); 1429 this.addNode(node); 1430 }; 1431 DomHandler.prototype.handleCallback = function (error) { 1432 if (typeof this.callback === "function") { 1433 this.callback(error, this.dom); 1434 } 1435 else if (error) { 1436 throw error; 1437 } 1438 }; 1439 DomHandler.prototype.addNode = function (node) { 1440 var parent = this.tagStack[this.tagStack.length - 1]; 1441 var previousSibling = parent.children[parent.children.length - 1]; 1442 if (this.options.withStartIndices) { 1443 node.startIndex = this.parser.startIndex; 1444 } 1445 if (this.options.withEndIndices) { 1446 node.endIndex = this.parser.endIndex; 1447 } 1448 parent.children.push(node); 1449 if (previousSibling) { 1450 node.prev = previousSibling; 1451 previousSibling.next = node; 1452 } 1453 node.parent = parent; 1454 this.lastNode = null; 1455 }; 1456 return DomHandler; 1457}()); 1458exports.DomHandler = DomHandler; 1459exports["default"] = DomHandler; 1460 1461 1462/***/ }), 1463
vendor: 15,849 bytes, lines 1464-1948
1464/***/ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js": 1465/*!**************************************************************************!*\ 1466 !*** ./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js ***! 1467 \**************************************************************************/ 1468/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1469 1470"use strict"; 1471 1472var __extends = (this && this.__extends) || (function () { 1473 var extendStatics = function (d, b) { 1474 extendStatics = Object.setPrototypeOf || 1475 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 1476 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 1477 return extendStatics(d, b); 1478 }; 1479 return function (d, b) { 1480 if (typeof b !== "function" && b !== null) 1481 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 1482 extendStatics(d, b); 1483 function __() { this.constructor = d; } 1484 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 1485 }; 1486})(); 1487var __assign = (this && this.__assign) || function () { 1488 __assign = Object.assign || function(t) { 1489 for (var s, i = 1, n = arguments.length; i < n; i++) { 1490 s = arguments[i]; 1491 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 1492 t[p] = s[p]; 1493 } 1494 return t; 1495 }; 1496 return __assign.apply(this, arguments); 1497}; 1498Object.defineProperty(exports, "__esModule", ({ value: true })); 1499exports.cloneNode = exports.hasChildren = exports.isDocument = exports.isDirective = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = exports.Element = exports.Document = exports.CDATA = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0; 1500var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 1501/** 1502 * This object will be used as the prototype for Nodes when creating a 1503 * DOM-Level-1-compliant structure. 1504 */ 1505var Node = /** @class */ (function () { 1506 function Node() { 1507 /** Parent of the node */ 1508 this.parent = null; 1509 /** Previous sibling */ 1510 this.prev = null; 1511 /** Next sibling */ 1512 this.next = null; 1513 /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */ 1514 this.startIndex = null; 1515 /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */ 1516 this.endIndex = null; 1517 } 1518 Object.defineProperty(Node.prototype, "parentNode", { 1519 // Read-write aliases for properties 1520 /** 1521 * Same as {@link parent}. 1522 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1523 */ 1524 get: function () { 1525 return this.parent; 1526 }, 1527 set: function (parent) { 1528 this.parent = parent; 1529 }, 1530 enumerable: false, 1531 configurable: true 1532 }); 1533 Object.defineProperty(Node.prototype, "previousSibling", { 1534 /** 1535 * Same as {@link prev}. 1536 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1537 */ 1538 get: function () { 1539 return this.prev; 1540 }, 1541 set: function (prev) { 1542 this.prev = prev; 1543 }, 1544 enumerable: false, 1545 configurable: true 1546 }); 1547 Object.defineProperty(Node.prototype, "nextSibling", { 1548 /** 1549 * Same as {@link next}. 1550 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1551 */ 1552 get: function () { 1553 return this.next; 1554 }, 1555 set: function (next) { 1556 this.next = next; 1557 }, 1558 enumerable: false, 1559 configurable: true 1560 }); 1561 /** 1562 * Clone this node, and optionally its children. 1563 * 1564 * @param recursive Clone child nodes as well. 1565 * @returns A clone of the node. 1566 */ 1567 Node.prototype.cloneNode = function (recursive) { 1568 if (recursive === void 0) { recursive = false; } 1569 return cloneNode(this, recursive); 1570 }; 1571 return Node; 1572}()); 1573exports.Node = Node; 1574/** 1575 * A node that contains some data. 1576 */ 1577var DataNode = /** @class */ (function (_super) { 1578 __extends(DataNode, _super); 1579 /** 1580 * @param data The content of the data node 1581 */ 1582 function DataNode(data) { 1583 var _this = _super.call(this) || this; 1584 _this.data = data; 1585 return _this; 1586 } 1587 Object.defineProperty(DataNode.prototype, "nodeValue", { 1588 /** 1589 * Same as {@link data}. 1590 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1591 */ 1592 get: function () { 1593 return this.data; 1594 }, 1595 set: function (data) { 1596 this.data = data; 1597 }, 1598 enumerable: false, 1599 configurable: true 1600 }); 1601 return DataNode; 1602}(Node)); 1603exports.DataNode = DataNode; 1604/** 1605 * Text within the document. 1606 */ 1607var Text = /** @class */ (function (_super) { 1608 __extends(Text, _super); 1609 function Text() { 1610 var _this = _super !== null && _super.apply(this, arguments) || this; 1611 _this.type = domelementtype_1.ElementType.Text; 1612 return _this; 1613 } 1614 Object.defineProperty(Text.prototype, "nodeType", { 1615 get: function () { 1616 return 3; 1617 }, 1618 enumerable: false, 1619 configurable: true 1620 }); 1621 return Text; 1622}(DataNode)); 1623exports.Text = Text; 1624/** 1625 * Comments within the document. 1626 */ 1627var Comment = /** @class */ (function (_super) { 1628 __extends(Comment, _super); 1629 function Comment() { 1630 var _this = _super !== null && _super.apply(this, arguments) || this; 1631 _this.type = domelementtype_1.ElementType.Comment; 1632 return _this; 1633 } 1634 Object.defineProperty(Comment.prototype, "nodeType", { 1635 get: function () { 1636 return 8; 1637 }, 1638 enumerable: false, 1639 configurable: true 1640 }); 1641 return Comment; 1642}(DataNode)); 1643exports.Comment = Comment; 1644/** 1645 * Processing instructions, including doc types. 1646 */ 1647var ProcessingInstruction = /** @class */ (function (_super) { 1648 __extends(ProcessingInstruction, _super); 1649 function ProcessingInstruction(name, data) { 1650 var _this = _super.call(this, data) || this; 1651 _this.name = name; 1652 _this.type = domelementtype_1.ElementType.Directive; 1653 return _this; 1654 } 1655 Object.defineProperty(ProcessingInstruction.prototype, "nodeType", { 1656 get: function () { 1657 return 1; 1658 }, 1659 enumerable: false, 1660 configurable: true 1661 }); 1662 return ProcessingInstruction; 1663}(DataNode)); 1664exports.ProcessingInstruction = ProcessingInstruction; 1665/** 1666 * A `Node` that can have children. 1667 */ 1668var NodeWithChildren = /** @class */ (function (_super) { 1669 __extends(NodeWithChildren, _super); 1670 /** 1671 * @param children Children of the node. Only certain node types can have children. 1672 */ 1673 function NodeWithChildren(children) { 1674 var _this = _super.call(this) || this; 1675 _this.children = children; 1676 return _this; 1677 } 1678 Object.defineProperty(NodeWithChildren.prototype, "firstChild", { 1679 // Aliases 1680 /** First child of the node. */ 1681 get: function () { 1682 var _a; 1683 return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null; 1684 }, 1685 enumerable: false, 1686 configurable: true 1687 }); 1688 Object.defineProperty(NodeWithChildren.prototype, "lastChild", { 1689 /** Last child of the node. */ 1690 get: function () { 1691 return this.children.length > 0 1692 ? this.children[this.children.length - 1] 1693 : null; 1694 }, 1695 enumerable: false, 1696 configurable: true 1697 }); 1698 Object.defineProperty(NodeWithChildren.prototype, "childNodes", { 1699 /** 1700 * Same as {@link children}. 1701 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1702 */ 1703 get: function () { 1704 return this.children; 1705 }, 1706 set: function (children) { 1707 this.children = children; 1708 }, 1709 enumerable: false, 1710 configurable: true 1711 }); 1712 return NodeWithChildren; 1713}(Node)); 1714exports.NodeWithChildren = NodeWithChildren; 1715var CDATA = /** @class */ (function (_super) { 1716 __extends(CDATA, _super); 1717 function CDATA() { 1718 var _this = _super !== null && _super.apply(this, arguments) || this; 1719 _this.type = domelementtype_1.ElementType.CDATA; 1720 return _this; 1721 } 1722 Object.defineProperty(CDATA.prototype, "nodeType", { 1723 get: function () { 1724 return 4; 1725 }, 1726 enumerable: false, 1727 configurable: true 1728 }); 1729 return CDATA; 1730}(NodeWithChildren)); 1731exports.CDATA = CDATA; 1732/** 1733 * The root node of the document. 1734 */ 1735var Document = /** @class */ (function (_super) { 1736 __extends(Document, _super); 1737 function Document() { 1738 var _this = _super !== null && _super.apply(this, arguments) || this; 1739 _this.type = domelementtype_1.ElementType.Root; 1740 return _this; 1741 } 1742 Object.defineProperty(Document.prototype, "nodeType", { 1743 get: function () { 1744 return 9; 1745 }, 1746 enumerable: false, 1747 configurable: true 1748 }); 1749 return Document; 1750}(NodeWithChildren)); 1751exports.Document = Document; 1752/** 1753 * An element within the DOM. 1754 */ 1755var Element = /** @class */ (function (_super) { 1756 __extends(Element, _super); 1757 /** 1758 * @param name Name of the tag, eg. `div`, `span`. 1759 * @param attribs Object mapping attribute names to attribute values. 1760 * @param children Children of the node. 1761 */ 1762 function Element(name, attribs, children, type) { 1763 if (children === void 0) { children = []; } 1764 if (type === void 0) { type = name === "script" 1765 ? domelementtype_1.ElementType.Script 1766 : name === "style" 1767 ? domelementtype_1.ElementType.Style 1768 : domelementtype_1.ElementType.Tag; } 1769 var _this = _super.call(this, children) || this; 1770 _this.name = name; 1771 _this.attribs = attribs; 1772 _this.type = type; 1773 return _this; 1774 } 1775 Object.defineProperty(Element.prototype, "nodeType", { 1776 get: function () { 1777 return 1; 1778 }, 1779 enumerable: false, 1780 configurable: true 1781 }); 1782 Object.defineProperty(Element.prototype, "tagName", { 1783 // DOM Level 1 aliases 1784 /** 1785 * Same as {@link name}. 1786 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 1787 */ 1788 get: function () { 1789 return this.name; 1790 }, 1791 set: function (name) { 1792 this.name = name; 1793 }, 1794 enumerable: false, 1795 configurable: true 1796 }); 1797 Object.defineProperty(Element.prototype, "attributes", { 1798 get: function () { 1799 var _this = this; 1800 return Object.keys(this.attribs).map(function (name) { 1801 var _a, _b; 1802 return ({ 1803 name: name, 1804 value: _this.attribs[name], 1805 namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name], 1806 prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name], 1807 }); 1808 }); 1809 }, 1810 enumerable: false, 1811 configurable: true 1812 }); 1813 return Element; 1814}(NodeWithChildren)); 1815exports.Element = Element; 1816/** 1817 * @param node Node to check. 1818 * @returns `true` if the node is a `Element`, `false` otherwise. 1819 */ 1820function isTag(node) { 1821 return (0, domelementtype_1.isTag)(node); 1822} 1823exports.isTag = isTag; 1824/** 1825 * @param node Node to check. 1826 * @returns `true` if the node has the type `CDATA`, `false` otherwise. 1827 */ 1828function isCDATA(node) { 1829 return node.type === domelementtype_1.ElementType.CDATA; 1830} 1831exports.isCDATA = isCDATA; 1832/** 1833 * @param node Node to check. 1834 * @returns `true` if the node has the type `Text`, `false` otherwise. 1835 */ 1836function isText(node) { 1837 return node.type === domelementtype_1.ElementType.Text; 1838} 1839exports.isText = isText; 1840/** 1841 * @param node Node to check. 1842 * @returns `true` if the node has the type `Comment`, `false` otherwise. 1843 */ 1844function isComment(node) { 1845 return node.type === domelementtype_1.ElementType.Comment; 1846} 1847exports.isComment = isComment; 1848/** 1849 * @param node Node to check. 1850 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 1851 */ 1852function isDirective(node) { 1853 return node.type === domelementtype_1.ElementType.Directive; 1854} 1855exports.isDirective = isDirective; 1856/** 1857 * @param node Node to check. 1858 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 1859 */ 1860function isDocument(node) { 1861 return node.type === domelementtype_1.ElementType.Root; 1862} 1863exports.isDocument = isDocument; 1864/** 1865 * @param node Node to check. 1866 * @returns `true` if the node has children, `false` otherwise. 1867 */ 1868function hasChildren(node) { 1869 return Object.prototype.hasOwnProperty.call(node, "children"); 1870} 1871exports.hasChildren = hasChildren; 1872/** 1873 * Clone a node, and optionally its children. 1874 * 1875 * @param recursive Clone child nodes as well. 1876 * @returns A clone of the node. 1877 */ 1878function cloneNode(node, recursive) { 1879 if (recursive === void 0) { recursive = false; } 1880 var result; 1881 if (isText(node)) { 1882 result = new Text(node.data); 1883 } 1884 else if (isComment(node)) { 1885 result = new Comment(node.data); 1886 } 1887 else if (isTag(node)) { 1888 var children = recursive ? cloneChildren(node.children) : []; 1889 var clone_1 = new Element(node.name, __assign({}, node.attribs), children); 1890 children.forEach(function (child) { return (child.parent = clone_1); }); 1891 if (node.namespace != null) { 1892 clone_1.namespace = node.namespace; 1893 } 1894 if (node["x-attribsNamespace"]) { 1895 clone_1["x-attribsNamespace"] = __assign({}, node["x-attribsNamespace"]); 1896 } 1897 if (node["x-attribsPrefix"]) { 1898 clone_1["x-attribsPrefix"] = __assign({}, node["x-attribsPrefix"]); 1899 } 1900 result = clone_1; 1901 } 1902 else if (isCDATA(node)) { 1903 var children = recursive ? cloneChildren(node.children) : []; 1904 var clone_2 = new CDATA(children); 1905 children.forEach(function (child) { return (child.parent = clone_2); }); 1906 result = clone_2; 1907 } 1908 else if (isDocument(node)) { 1909 var children = recursive ? cloneChildren(node.children) : []; 1910 var clone_3 = new Document(children); 1911 children.forEach(function (child) { return (child.parent = clone_3); }); 1912 if (node["x-mode"]) { 1913 clone_3["x-mode"] = node["x-mode"]; 1914 } 1915 result = clone_3; 1916 } 1917 else if (isDirective(node)) { 1918 var instruction = new ProcessingInstruction(node.name, node.data); 1919 if (node["x-name"] != null) { 1920 instruction["x-name"] = node["x-name"]; 1921 instruction["x-publicId"] = node["x-publicId"]; 1922 instruction["x-systemId"] = node["x-systemId"]; 1923 } 1924 result = instruction; 1925 } 1926 else { 1927 throw new Error("Not implemented yet: ".concat(node.type)); 1928 } 1929 result.startIndex = node.startIndex; 1930 result.endIndex = node.endIndex; 1931 if (node.sourceCodeLocation != null) { 1932 result.sourceCodeLocation = node.sourceCodeLocation; 1933 } 1934 return result; 1935} 1936exports.cloneNode = cloneNode; 1937function cloneChildren(childs) { 1938 var children = childs.map(function (child) { return cloneNode(child, true); }); 1939 for (var i = 1; i < children.length; i++) { 1940 children[i].prev = children[i - 1]; 1941 children[i - 1].next = children[i]; 1942 } 1943 return children; 1944} 1945 1946 1947/***/ }), 1948
vendor: 8,286 bytes, lines 1949-2149
1949/***/ "./node_modules/html-entities/lib/index.js": 1950/*!*************************************************!*\ 1951 !*** ./node_modules/html-entities/lib/index.js ***! 1952 \*************************************************/ 1953/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1954 1955"use strict"; 1956 1957var __assign = (this && this.__assign) || function () { 1958 __assign = Object.assign || function(t) { 1959 for (var s, i = 1, n = arguments.length; i < n; i++) { 1960 s = arguments[i]; 1961 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 1962 t[p] = s[p]; 1963 } 1964 return t; 1965 }; 1966 return __assign.apply(this, arguments); 1967}; 1968Object.defineProperty(exports, "__esModule", ({ value: true })); 1969var named_references_1 = __webpack_require__(/*! ./named-references */ "./node_modules/html-entities/lib/named-references.js"); 1970var numeric_unicode_map_1 = __webpack_require__(/*! ./numeric-unicode-map */ "./node_modules/html-entities/lib/numeric-unicode-map.js"); 1971var surrogate_pairs_1 = __webpack_require__(/*! ./surrogate-pairs */ "./node_modules/html-entities/lib/surrogate-pairs.js"); 1972var allNamedReferences = __assign(__assign({}, named_references_1.namedReferences), { all: named_references_1.namedReferences.html5 }); 1973var encodeRegExps = { 1974 specialChars: /[<>'"&]/g, 1975 nonAscii: /(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, 1976 nonAsciiPrintable: /(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, 1977 extensive: /(?:[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g 1978}; 1979var defaultEncodeOptions = { 1980 mode: 'specialChars', 1981 level: 'all', 1982 numeric: 'decimal' 1983}; 1984/** Encodes all the necessary (specified by `level`) characters in the text */ 1985function encode(text, _a) { 1986 var _b = _a === void 0 ? defaultEncodeOptions : _a, _c = _b.mode, mode = _c === void 0 ? 'specialChars' : _c, _d = _b.numeric, numeric = _d === void 0 ? 'decimal' : _d, _e = _b.level, level = _e === void 0 ? 'all' : _e; 1987 if (!text) { 1988 return ''; 1989 } 1990 var encodeRegExp = encodeRegExps[mode]; 1991 var references = allNamedReferences[level].characters; 1992 var isHex = numeric === 'hexadecimal'; 1993 encodeRegExp.lastIndex = 0; 1994 var _b = encodeRegExp.exec(text); 1995 var _c; 1996 if (_b) { 1997 _c = ''; 1998 var _d = 0; 1999 do { 2000 if (_d !== _b.index) { 2001 _c += text.substring(_d, _b.index); 2002 } 2003 var _e = _b[0]; 2004 var result_1 = references[_e]; 2005 if (!result_1) { 2006 var code_1 = _e.length > 1 ? surrogate_pairs_1.getCodePoint(_e, 0) : _e.charCodeAt(0); 2007 result_1 = (isHex ? '&#x' + code_1.toString(16) : '&#' + code_1) + ';'; 2008 } 2009 _c += result_1; 2010 _d = _b.index + _e.length; 2011 } while ((_b = encodeRegExp.exec(text))); 2012 if (_d !== text.length) { 2013 _c += text.substring(_d); 2014 } 2015 } 2016 else { 2017 _c = 2018 text; 2019 } 2020 return _c; 2021} 2022exports.encode = encode; 2023var defaultDecodeOptions = { 2024 scope: 'body', 2025 level: 'all' 2026}; 2027var strict = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g; 2028var attribute = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g; 2029var baseDecodeRegExps = { 2030 xml: { 2031 strict: strict, 2032 attribute: attribute, 2033 body: named_references_1.bodyRegExps.xml 2034 }, 2035 html4: { 2036 strict: strict, 2037 attribute: attribute, 2038 body: named_references_1.bodyRegExps.html4 2039 }, 2040 html5: { 2041 strict: strict, 2042 attribute: attribute, 2043 body: named_references_1.bodyRegExps.html5 2044 } 2045}; 2046var decodeRegExps = __assign(__assign({}, baseDecodeRegExps), { all: baseDecodeRegExps.html5 }); 2047var fromCharCode = String.fromCharCode; 2048var outOfBoundsChar = fromCharCode(65533); 2049var defaultDecodeEntityOptions = { 2050 level: 'all' 2051}; 2052/** Decodes a single entity */ 2053function decodeEntity(entity, _a) { 2054 var _b = (_a === void 0 ? defaultDecodeEntityOptions : _a).level, level = _b === void 0 ? 'all' : _b; 2055 if (!entity) { 2056 return ''; 2057 } 2058 var _b = entity; 2059 var decodeEntityLastChar_1 = entity[entity.length - 1]; 2060 if (false) {} 2061 else if (false) {} 2062 else { 2063 var decodeResultByReference_1 = allNamedReferences[level].entities[entity]; 2064 if (decodeResultByReference_1) { 2065 _b = decodeResultByReference_1; 2066 } 2067 else if (entity[0] === '&' && entity[1] === '#') { 2068 var decodeSecondChar_1 = entity[2]; 2069 var decodeCode_1 = decodeSecondChar_1 == 'x' || decodeSecondChar_1 == 'X' 2070 ? parseInt(entity.substr(3), 16) 2071 : parseInt(entity.substr(2)); 2072 _b = 2073 decodeCode_1 >= 0x10ffff 2074 ? outOfBoundsChar 2075 : decodeCode_1 > 65535 2076 ? surrogate_pairs_1.fromCodePoint(decodeCode_1) 2077 : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_1] || decodeCode_1); 2078 } 2079 } 2080 return _b; 2081} 2082exports.decodeEntity = decodeEntity; 2083/** Decodes all entities in the text */ 2084function decode(text, _a) { 2085 var decodeSecondChar_1 = _a === void 0 ? defaultDecodeOptions : _a, decodeCode_1 = decodeSecondChar_1.level, level = decodeCode_1 === void 0 ? 'all' : decodeCode_1, _b = decodeSecondChar_1.scope, scope = _b === void 0 ? level === 'xml' ? 'strict' : 'body' : _b; 2086 if (!text) { 2087 return ''; 2088 } 2089 var decodeRegExp = decodeRegExps[level][scope]; 2090 var references = allNamedReferences[level].entities; 2091 var isAttribute = scope === 'attribute'; 2092 var isStrict = scope === 'strict'; 2093 decodeRegExp.lastIndex = 0; 2094 var replaceMatch_1 = decodeRegExp.exec(text); 2095 var replaceResult_1; 2096 if (replaceMatch_1) { 2097 replaceResult_1 = ''; 2098 var replaceLastIndex_1 = 0; 2099 do { 2100 if (replaceLastIndex_1 !== replaceMatch_1.index) { 2101 replaceResult_1 += text.substring(replaceLastIndex_1, replaceMatch_1.index); 2102 } 2103 var replaceInput_1 = replaceMatch_1[0]; 2104 var decodeResult_1 = replaceInput_1; 2105 var decodeEntityLastChar_2 = replaceInput_1[replaceInput_1.length - 1]; 2106 if (isAttribute 2107 && decodeEntityLastChar_2 === '=') { 2108 decodeResult_1 = replaceInput_1; 2109 } 2110 else if (isStrict 2111 && decodeEntityLastChar_2 !== ';') { 2112 decodeResult_1 = replaceInput_1; 2113 } 2114 else { 2115 var decodeResultByReference_2 = references[replaceInput_1]; 2116 if (decodeResultByReference_2) { 2117 decodeResult_1 = decodeResultByReference_2; 2118 } 2119 else if (replaceInput_1[0] === '&' && replaceInput_1[1] === '#') { 2120 var decodeSecondChar_2 = replaceInput_1[2]; 2121 var decodeCode_2 = decodeSecondChar_2 == 'x' || decodeSecondChar_2 == 'X' 2122 ? parseInt(replaceInput_1.substr(3), 16) 2123 : parseInt(replaceInput_1.substr(2)); 2124 decodeResult_1 = 2125 decodeCode_2 >= 0x10ffff 2126 ? outOfBoundsChar 2127 : decodeCode_2 > 65535 2128 ? surrogate_pairs_1.fromCodePoint(decodeCode_2) 2129 : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_2] || decodeCode_2); 2130 } 2131 } 2132 replaceResult_1 += decodeResult_1; 2133 replaceLastIndex_1 = replaceMatch_1.index + replaceInput_1.length; 2134 } while ((replaceMatch_1 = decodeRegExp.exec(text))); 2135 if (replaceLastIndex_1 !== text.length) { 2136 replaceResult_1 += text.substring(replaceLastIndex_1); 2137 } 2138 } 2139 else { 2140 replaceResult_1 = 2141 text; 2142 } 2143 return replaceResult_1; 2144} 2145exports.decode = decode; 2146 2147 2148/***/ }), 2149
vendor: 74,737 bytes, lines 2150-2160
2150/***/ "./node_modules/html-entities/lib/named-references.js": 2151/*!************************************************************!*\ 2152 !*** ./node_modules/html-entities/lib/named-references.js ***! 2153 \************************************************************/ 2154/***/ ((__unused_webpack_module, exports) => { 2155 2156"use strict"; 2157Object.defineProperty(exports, "__esModule", ({value:true}));exports.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g};exports.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"Â¥","¥":"Â¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"Â","­":"Â","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"Ã","À":"Ã","Á":"Ã","Á":"Ã","Â":"Ã","Â":"Ã","Ã":"Ã","Ã":"Ã","Ä":"Ã","Ä":"Ã","Å":"à ","Å":"à ","Æ":"Ã","Æ":"Ã","Ç":"Ã","Ç":"Ã","È":"Ã","È":"Ã","É":"Ã","É":"Ã","Ê":"Ã","Ê":"Ã","Ë":"Ã","Ë":"Ã","Ì":"Ã","Ì":"Ã","Í":"Ã","Í":"Ã","Î":"Ã","Î":"Ã","Ï":"Ã","Ï":"Ã","Ð":"Ã","Ð":"Ã","Ñ":"Ã","Ñ":"Ã","Ò":"Ã","Ò":"Ã","Ó":"Ã","Ó":"Ã","Ô":"Ã","Ô":"Ã","Õ":"Ã","Õ":"Ã","Ö":"Ã","Ö":"Ã","×":"Ã","×":"Ã","Ø":"Ã","Ø":"Ã","Ù":"Ã","Ù":"Ã","Ú":"Ã","Ú":"Ã","Û":"Ã","Û":"Ã","Ü":"Ã","Ü":"Ã","Ý":"Ã","Ý":"Ã","Þ":"Ã","Þ":"Ã","ß":"Ã","ß":"Ã","à":"à ","à":"à ","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"Ã¥","å":"Ã¥","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"Ã","í":"Ã","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Å","œ":"Å","Š":"Å ","š":"Å¡","Ÿ":"Ÿ","ˆ":"Ë","˜":"Ë"," ":"â"," ":"â"," ":"â","‌":"â","‍":"â","‎":"â","‏":"â","–":"â","—":"â","‘":"â","’":"â","‚":"â","“":"â","”":"â","„":"â","†":"â ","‡":"â¡","‰":"â°","‹":"â¹","›":"âº","€":"â¬","ƒ":"Æ","Α":"Î","Β":"Î","Γ":"Î","Δ":"Î","Ε":"Î","Ζ":"Î","Η":"Î","Θ":"Î","Ι":"Î","Κ":"Î","Λ":"Î","Μ":"Î","Ν":"Î","Ξ":"Î","Ο":"Î","Π":"Î ","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Î¥","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"Ï","ρ":"Ï","ς":"Ï","σ":"Ï","τ":"Ï","υ":"Ï ","φ":"Ï","χ":"Ï","ψ":"Ï","ω":"Ï","ϑ":"Ï","ϒ":"Ï","ϖ":"Ï","•":"â¢","…":"â¦","′":"â²","″":"â³","‾":"â¾","⁄":"â","℘":"â","ℑ":"â","ℜ":"â","™":"â¢","ℵ":"âµ","←":"â","↑":"â","→":"â","↓":"â","↔":"â","↵":"âµ","⇐":"â","⇑":"â","⇒":"â","⇓":"â","⇔":"â","∀":"â","∂":"â","∃":"â","∅":"â ","∇":"â","∈":"â","∉":"â","∋":"â","∏":"â","∑":"â","−":"â","∗":"â","√":"â","∝":"â","∞":"â","∠":"â ","∧":"â§","∨":"â¨","∩":"â©","∪":"âª","∫":"â«","∴":"â´","∼":"â¼","≅":"â ","≈":"â","≠":"â ","≡":"â¡","≤":"â¤","≥":"â¥","⊂":"â","⊃":"â","⊄":"â","⊆":"â","⊇":"â","⊕":"â","⊗":"â","⊥":"â¥","⋅":"â ","⌈":"â","⌉":"â","⌊":"â","⌋":"â","⟨":"â©","⟩":"âª","◊":"â","♠":"â ","♣":"â£","♥":"â¥","♦":"â¦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","Â¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©","ª":"ª","«":"«","¬":"¬","Â":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´","µ":"µ","¶":"¶","·":"·","¸":"¸","¹":"¹","º":"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿","Ã":"À","Ã":"Á","Ã":"Â","Ã":"Ã","Ã":"Ä","à ":"Å","Ã":"Æ","Ã":"Ç","Ã":"È","Ã":"É","Ã":"Ê","Ã":"Ë","Ã":"Ì","Ã":"Í","Ã":"Î","Ã":"Ï","Ã":"Ð","Ã":"Ñ","Ã":"Ò","Ã":"Ó","Ã":"Ô","Ã":"Õ","Ã":"Ö","Ã":"×","Ã":"Ø","Ã":"Ù","Ã":"Ú","Ã":"Û","Ã":"Ü","Ã":"Ý","Ã":"Þ","Ã":"ß","à ":"à","á":"á","â":"â","ã":"ã","ä":"ä","Ã¥":"å","æ":"æ","ç":"ç","è":"è","é":"é","ê":"ê","ë":"ë","ì":"ì","Ã":"í","î":"î","ï":"ï","ð":"ð","ñ":"ñ","ò":"ò","ó":"ó","ô":"ô","õ":"õ","ö":"ö","÷":"÷","ø":"ø","ù":"ù","ú":"ú","û":"û","ü":"ü","ý":"ý","þ":"þ","ÿ":"ÿ",'"':""","&":"&","<":"<",">":">","Å":"Œ","Å":"œ","Å ":"Š","Å¡":"š","Ÿ":"Ÿ","Ë":"ˆ","Ë":"˜","â":" ","â":" ","â":" ","â":"‌","â":"‍","â":"‎","â":"‏","â":"–","â":"—","â":"‘","â":"’","â":"‚","â":"“","â":"”","â":"„","â ":"†","â¡":"‡","â°":"‰","â¹":"‹","âº":"›","â¬":"€","Æ":"ƒ","Î":"Α","Î":"Β","Î":"Γ","Î":"Δ","Î":"Ε","Î":"Ζ","Î":"Η","Î":"Θ","Î":"Ι","Î":"Κ","Î":"Λ","Î":"Μ","Î":"Ν","Î":"Ξ","Î":"Ο","Î ":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Î¥":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","Ï":"π","Ï":"ρ","Ï":"ς","Ï":"σ","Ï":"τ","Ï ":"υ","Ï":"φ","Ï":"χ","Ï":"ψ","Ï":"ω","Ï":"ϑ","Ï":"ϒ","Ï":"ϖ","â¢":"•","â¦":"…","â²":"′","â³":"″","â¾":"‾","â":"⁄","â":"℘","â":"ℑ","â":"ℜ","â¢":"™","âµ":"ℵ","â":"←","â":"↑","â":"→","â":"↓","â":"↔","âµ":"↵","â":"⇐","â":"⇑","â":"⇒","â":"⇓","â":"⇔","â":"∀","â":"∂","â":"∃","â ":"∅","â":"∇","â":"∈","â":"∉","â":"∋","â":"∏","â":"∑","â":"−","â":"∗","â":"√","â":"∝","â":"∞","â ":"∠","â§":"∧","â¨":"∨","â©":"∩","âª":"∪","â«":"∫","â´":"∴","â¼":"∼","â ":"≅","â":"≈","â ":"≠","â¡":"≡","â¤":"≤","â¥":"≥","â":"⊂","â":"⊃","â":"⊄","â":"⊆","â":"⊇","â":"⊕","â":"⊗","â¥":"⊥","â ":"⋅","â":"⌈","â":"⌉","â":"⌊","â":"⌋","â©":"⟨","âª":"⟩","â":"◊","â ":"♠","â£":"♣","â¥":"♥","â¦":"♦"}},html5:{entities:{"Æ":"Ã","Æ":"Ã","&":"&","&":"&","Á":"Ã","Á":"Ã","Ă":"Ä","Â":"Ã","Â":"Ã","А":"Ð","𝔄":"ð","À":"Ã","À":"Ã","Α":"Î","Ā":"Ä","⩓":"â©","Ą":"Ä","𝔸":"ð¸","⁡":"â¡","Å":"à ","Å":"à ","𝒜":"ð","≔":"â","Ã":"Ã","Ã":"Ã","Ä":"Ã","Ä":"Ã","∖":"â","⫧":"â«§","⌆":"â","Б":"Ð","∵":"âµ","ℬ":"â¬","Β":"Î","𝔅":"ð ","𝔹":"ð¹","˘":"Ë","ℬ":"â¬","≎":"â","Ч":"Ч","©":"©","©":"©","Ć":"Ä","⋒":"â","ⅅ":"â ","ℭ":"â","Č":"Ä","Ç":"Ã","Ç":"Ã","Ĉ":"Ä","∰":"â°","Ċ":"Ä","¸":"¸","·":"·","ℭ":"â","Χ":"Χ","⊙":"â","⊖":"â","⊕":"â","⊗":"â","∲":"â²","”":"â","’":"â","∷":"â·","⩴":"â©´","≡":"â¡","∯":"â¯","∮":"â®","ℂ":"â","∐":"â","∳":"â³","⨯":"⨯","𝒞":"ð","⋓":"â","≍":"â","ⅅ":"â ","⤑":"â¤","Ђ":"Ð","Ѕ":"Ð ","Џ":"Ð","‡":"â¡","↡":"â¡","⫤":"⫤","Ď":"Ä","Д":"Ð","∇":"â","Δ":"Î","𝔇":"ð","´":"´","˙":"Ë","˝":"Ë","`":"`","˜":"Ë","⋄":"â","ⅆ":"â ","𝔻":"ð»","¨":"¨","⃜":"â","≐":"â","∯":"â¯","¨":"¨","⇓":"â","⇐":"â","⇔":"â","⫤":"⫤","⟸":"â¸","⟺":"âº","⟹":"â¹","⇒":"â","⊨":"â¨","⇑":"â","⇕":"â","∥":"â¥","↓":"â","⤓":"â¤","⇵":"âµ","̑":"Ì","⥐":"â¥","⥞":"â¥","↽":"â½","⥖":"â¥","⥟":"â¥","⇁":"â","⥗":"â¥","⊤":"â¤","↧":"â§","⇓":"â","𝒟":"ð","Đ":"Ä","Ŋ":"Å","Ð":"Ã","Ð":"Ã","É":"Ã","É":"Ã","Ě":"Ä","Ê":"Ã","Ê":"Ã","Э":"Ð","Ė":"Ä","𝔈":"ð","È":"Ã","È":"Ã","∈":"â","Ē":"Ä","◻":"â»","▫":"â«","Ę":"Ä","𝔼":"ð¼","Ε":"Î","⩵":"⩵","≂":"â","⇌":"â","ℰ":"â°","⩳":"⩳","Η":"Î","Ë":"Ã","Ë":"Ã","∃":"â","ⅇ":"â ","Ф":"Ф","𝔉":"ð","◼":"â¼","▪":"âª","𝔽":"ð½","∀":"â","ℱ":"â±","ℱ":"â±","Ѓ":"Ð",">":">",">":">","Γ":"Î","Ϝ":"Ï","Ğ":"Ä","Ģ":"Ä¢","Ĝ":"Ä","Г":"Ð","Ġ":"Ä ","𝔊":"ð","⋙":"â","𝔾":"ð¾","≥":"â¥","⋛":"â","≧":"â§","⪢":"⪢","≷":"â·","⩾":"⩾","≳":"â³","𝒢":"ð¢","≫":"â«","Ъ":"Ъ","ˇ":"Ë","^":"^","Ĥ":"Ĥ","ℌ":"â","ℋ":"â","ℍ":"â","─":"â","ℋ":"â","Ħ":"Ħ","≎":"â","≏":"â","Е":"Ð","IJ":"IJ","Ё":"Ð","Í":"Ã","Í":"Ã","Î":"Ã","Î":"Ã","И":"Ð","İ":"İ","ℑ":"â","Ì":"Ã","Ì":"Ã","ℑ":"â","Ī":"Ī","ⅈ":"â ","⇒":"â","∬":"â¬","∫":"â«","⋂":"â","⁣":"â£","⁢":"â¢","Į":"Ä®","𝕀":"ð","Ι":"Î","ℐ":"â","Ĩ":"Ĩ","І":"Ð","Ï":"Ã","Ï":"Ã","Ĵ":"Ä´","Й":"Ð","𝔍":"ð","𝕁":"ð","𝒥":"ð¥","Ј":"Ð","Є":"Ð","Х":"Ð¥","Ќ":"Ð","Κ":"Î","Ķ":"Ķ","К":"Ð","𝔎":"ð","𝕂":"ð","𝒦":"ð¦","Љ":"Ð","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Î","⟪":"âª","ℒ":"â","↞":"â","Ľ":"Ľ","Ļ":"Ä»","Л":"Ð","⟨":"â¨","←":"â","⇤":"â¤","⇆":"â","⌈":"â","⟦":"â¦","⥡":"⥡","⇃":"â","⥙":"â¥","⌊":"â","↔":"â","⥎":"â¥","⊣":"â£","↤":"â¤","⥚":"â¥","⊲":"â²","⧏":"â§","⊴":"â´","⥑":"â¥","⥠":"⥠","↿":"â¿","⥘":"â¥","↼":"â¼","⥒":"â¥","⇐":"â","⇔":"â","⋚":"â","≦":"â¦","≶":"â¶","⪡":"⪡","⩽":"⩽","≲":"â²","𝔏":"ð","⋘":"â","⇚":"â","Ŀ":"Ä¿","⟵":"âµ","⟷":"â·","⟶":"â¶","⟸":"â¸","⟺":"âº","⟹":"â¹","𝕃":"ð","↙":"â","↘":"â","ℒ":"â","↰":"â°","Ł":"Å","≪":"âª","⤅":"⤠","М":"Ð"," ":"â","ℳ":"â³","𝔐":"ð","∓":"â","𝕄":"ð","ℳ":"â³","Μ":"Î","Њ":"Ð","Ń":"Å","Ň":"Å","Ņ":"Å ","Н":"Ð","​":"â","​":"â","​":"â","​":"â","≫":"â«","≪":"âª","
":"\n","𝔑":"ð","⁠":"â "," ":" ","ℕ":"â","⫬":"⫬","≢":"â¢","≭":"â","∦":"â¦","∉":"â","≠":"â ","≂̸":"â̸","∄":"â","≯":"â¯","≱":"â±","≧̸":"â§Ì¸","≫̸":"â«Ì¸","≹":"â¹","⩾̸":"⩾̸","≵":"âµ","≎̸":"â̸","≏̸":"â̸","⋪":"âª","⧏̸":"â§Ì¸","⋬":"â¬","≮":"â®","≰":"â°","≸":"â¸","≪̸":"âªÌ¸","⩽̸":"⩽̸","≴":"â´","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"â","⪯̸":"⪯̸","⋠":"â ","∌":"â","⋫":"â«","⧐̸":"â§Ì¸","⋭":"â","⊏̸":"â̸","⋢":"â¢","⊐̸":"â̸","⋣":"â£","⊂⃒":"ââ","⊈":"â","⊁":"â","⪰̸":"⪰̸","⋡":"â¡","≿̸":"â¿Ì¸","⊃⃒":"ââ","⊉":"â","≁":"â","≄":"â","≇":"â","≉":"â","∤":"â¤","𝒩":"ð©","Ñ":"Ã","Ñ":"Ã","Ν":"Î","Œ":"Å","Ó":"Ã","Ó":"Ã","Ô":"Ã","Ô":"Ã","О":"Ð","Ő":"Å","𝔒":"ð","Ò":"Ã","Ò":"Ã","Ō":"Å","Ω":"Ω","Ο":"Î","𝕆":"ð","“":"â","‘":"â","⩔":"â©","𝒪":"ðª","Ø":"Ã","Ø":"Ã","Õ":"Ã","Õ":"Ã","⨷":"⨷","Ö":"Ã","Ö":"Ã","‾":"â¾","⏞":"â","⎴":"â´","⏜":"â","∂":"â","П":"Ð","𝔓":"ð","Φ":"Φ","Π":"Î ","±":"±","ℌ":"â","ℙ":"â","⪻":"⪻","≺":"âº","⪯":"⪯","≼":"â¼","≾":"â¾","″":"â³","∏":"â","∷":"â·","∝":"â","𝒫":"ð«","Ψ":"Ψ",""":'"',""":'"',"𝔔":"ð","ℚ":"â","𝒬":"ð¬","⤐":"â¤","®":"®","®":"®","Ŕ":"Å","⟫":"â«","↠":"â ","⤖":"â¤","Ř":"Å","Ŗ":"Å","Р":"Ð ","ℜ":"â","∋":"â","⇋":"â","⥯":"⥯","ℜ":"â","Ρ":"Ρ","⟩":"â©","→":"â","⇥":"â¥","⇄":"â","⌉":"â","⟧":"â§","⥝":"â¥","⇂":"â","⥕":"â¥","⌋":"â","⊢":"â¢","↦":"â¦","⥛":"â¥","⊳":"â³","⧐":"â§","⊵":"âµ","⥏":"â¥","⥜":"â¥","↾":"â¾","⥔":"â¥","⇀":"â","⥓":"â¥","⇒":"â","ℝ":"â","⥰":"⥰","⇛":"â","ℛ":"â","↱":"â±","⧴":"â§´","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Å","⪼":"⪼","Š":"Å ","Ş":"Å","Ŝ":"Å","С":"С","𝔖":"ð","↓":"â","←":"â","→":"â","↑":"â","Σ":"Σ","∘":"â","𝕊":"ð","√":"â","□":"â¡","⊓":"â","⊏":"â","⊑":"â","⊐":"â","⊒":"â","⊔":"â","𝒮":"ð®","⋆":"â","⋐":"â","⋐":"â","⊆":"â","≻":"â»","⪰":"⪰","≽":"â½","≿":"â¿","∋":"â","∑":"â","⋑":"â","⊃":"â","⊇":"â","⋑":"â","Þ":"Ã","Þ":"Ã","™":"â¢","Ћ":"Ð","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Å¢","Т":"Т","𝔗":"ð","∴":"â´","Θ":"Î","  ":"ââ"," ":"â","∼":"â¼","≃":"â","≅":"â ","≈":"â","𝕋":"ð","⃛":"â","𝒯":"ð¯","Ŧ":"Ŧ","Ú":"Ã","Ú":"Ã","↟":"â","⥉":"â¥","Ў":"Ð","Ŭ":"Ŭ","Û":"Ã","Û":"Ã","У":"У","Ű":"Ű","𝔘":"ð","Ù":"Ã","Ù":"Ã","Ū":"Ū","_":"_","⏟":"â","⎵":"âµ","⏝":"â","⋃":"â","⊎":"â","Ų":"Ų","𝕌":"ð","↑":"â","⤒":"â¤","⇅":"â ","↕":"â","⥮":"⥮","⊥":"â¥","↥":"â¥","⇑":"â","⇕":"â","↖":"â","↗":"â","ϒ":"Ï","Υ":"Î¥","Ů":"Å®","𝒰":"ð°","Ũ":"Ũ","Ü":"Ã","Ü":"Ã","⊫":"â«","⫫":"â««","В":"Ð","⊩":"â©","⫦":"⫦","⋁":"â","‖":"â","‖":"â","∣":"â£","|":"|","❘":"â","≀":"â"," ":"â","𝔙":"ð","𝕍":"ð","𝒱":"ð±","⊪":"âª","Ŵ":"Å´","⋀":"â","𝔚":"ð","𝕎":"ð","𝒲":"ð²","𝔛":"ð","Ξ":"Î","𝕏":"ð","𝒳":"ð³","Я":"Я","Ї":"Ð","Ю":"Ю","Ý":"Ã","Ý":"Ã","Ŷ":"Ŷ","Ы":"Ы","𝔜":"ð","𝕐":"ð","𝒴":"ð´","Ÿ":"Ÿ","Ж":"Ð","Ź":"Ź","Ž":"Ž","З":"Ð","Ż":"Å»","​":"â","Ζ":"Î","ℨ":"â¨","ℤ":"â¤","𝒵":"ðµ","á":"á","á":"á","ă":"Ä","∾":"â¾","∾̳":"â¾Ì³","∿":"â¿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"â¡","𝔞":"ð","à":"à ","à":"à ","ℵ":"âµ","ℵ":"âµ","α":"α","ā":"Ä","⨿":"⨿","&":"&","&":"&","∧":"â§","⩕":"â©","⩜":"â©","⩘":"â©","⩚":"â©","∠":"â ","⦤":"⦤","∠":"â ","∡":"â¡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"â¦","⦮":"⦮","⦯":"⦯","∟":"â","⊾":"â¾","⦝":"â¦","∢":"â¢","Å":"à ","⍼":"â¼","ą":"Ä ","𝕒":"ð","≈":"â","⩰":"â©°","⩯":"⩯","≊":"â","≋":"â","'":"'","≈":"â","≊":"â","å":"Ã¥","å":"Ã¥","𝒶":"ð¶","*":"*","≈":"â","≍":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"â³","⨑":"â¨","⫭":"â«","≌":"â","϶":"϶","‵":"âµ","∽":"â½","⋍":"â","⊽":"â½","⌅":"â ","⌅":"â ","⎵":"âµ","⎶":"â¶","≌":"â","б":"б","„":"â","∵":"âµ","∵":"âµ","⦰":"⦰","϶":"϶","ℬ":"â¬","β":"β","ℶ":"â¶","≬":"â¬","𝔟":"ð","⋂":"â","◯":"â¯","⋃":"â","⨀":"â¨","⨁":"â¨","⨂":"â¨","⨆":"â¨","★":"â ","▽":"â½","△":"â³","⨄":"â¨","⋁":"â","⋀":"â","⤍":"â¤","⧫":"â§«","▪":"âª","▴":"â´","▾":"â¾","◂":"â","▸":"â¸","␣":"â£","▒":"â","░":"â","▓":"â","█":"â","=⃥":"=â¥","≡⃥":"â¡â¥","⌐":"â","𝕓":"ð","⊥":"â¥","⊥":"â¥","⋈":"â","╗":"â","╔":"â","╖":"â","╓":"â","═":"â","╦":"â¦","╩":"â©","╤":"â¤","╧":"â§","╝":"â","╚":"â","╜":"â","╙":"â","║":"â","╬":"â¬","╣":"â£","╠":"â ","╫":"â«","╢":"â¢","╟":"â","⧉":"â§","╕":"â","╒":"â","┐":"â","┌":"â","─":"â","╥":"â¥","╨":"â¨","┬":"â¬","┴":"â´","⊟":"â","⊞":"â","⊠":"â ","╛":"â","╘":"â","┘":"â","└":"â","│":"â","╪":"âª","╡":"â¡","╞":"â","┼":"â¼","┤":"â¤","├":"â","‵":"âµ","˘":"Ë","¦":"¦","¦":"¦","𝒷":"ð·","⁏":"â","∽":"â½","⋍":"â","\":"\\","⧅":"â§ ","⟈":"â","•":"â¢","•":"â¢","≎":"â","⪮":"⪮","≏":"â","≏":"â","ć":"Ä","∩":"â©","⩄":"â©","⩉":"â©","⩋":"â©","⩇":"â©","⩀":"â©","∩︀":"â©ï¸","⁁":"â","ˇ":"Ë","⩍":"â©","č":"Ä","ç":"ç","ç":"ç","ĉ":"Ä","⩌":"â©","⩐":"â©","ċ":"Ä","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"ð ","ч":"Ñ","✓":"â","✓":"â","χ":"Ï","○":"â","⧃":"â§","ˆ":"Ë","≗":"â","↺":"âº","↻":"â»","®":"®","Ⓢ":"â","⊛":"â","⊚":"â","⊝":"â","≗":"â","⨐":"â¨","⫯":"⫯","⧂":"â§","♣":"â£","♣":"â£",":":":","≔":"â","≔":"â",",":",","@":"@","∁":"â","∘":"â","∁":"â","ℂ":"â","≅":"â ","⩭":"â©","∮":"â®","𝕔":"ð","∐":"â","©":"©","©":"©","℗":"â","↵":"âµ","✗":"â","𝒸":"ð¸","⫏":"â«","⫑":"â«","⫐":"â«","⫒":"â«","⋯":"â¯","⤸":"⤸","⤵":"⤵","⋞":"â","⋟":"â","↶":"â¶","⤽":"⤽","∪":"âª","⩈":"â©","⩆":"â©","⩊":"â©","⊍":"â","⩅":"â© ","∪︀":"âªï¸","↷":"â·","⤼":"⤼","⋞":"â","⋟":"â","⋎":"â","⋏":"â","¤":"¤","¤":"¤","↶":"â¶","↷":"â·","⋎":"â","⋏":"â","∲":"â²","∱":"â±","⌭":"â","⇓":"â","⥥":"⥥","†":"â ","ℸ":"â¸","↓":"â","‐":"â","⊣":"â£","⤏":"â¤","˝":"Ë","ď":"Ä","д":"д","ⅆ":"â ","‡":"â¡","⇊":"â","⩷":"â©·","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"ð¡","⇃":"â","⇂":"â","⋄":"â","⋄":"â","♦":"â¦","♦":"â¦","¨":"¨","ϝ":"Ï","⋲":"â²","÷":"÷","÷":"÷","÷":"÷","⋇":"â","⋇":"â","ђ":"Ñ","⌞":"â","⌍":"â","$":"$","𝕕":"ð","˙":"Ë","≐":"â","≑":"â","∸":"â¸","∔":"â","⊡":"â¡","⌆":"â","↓":"â","⇊":"â","⇃":"â","⇂":"â","⤐":"â¤","⌟":"â","⌌":"â","𝒹":"ð¹","ѕ":"Ñ","⧶":"â§¶","đ":"Ä","⋱":"â±","▿":"â¿","▾":"â¾","⇵":"âµ","⥯":"⥯","⦦":"⦦","џ":"Ñ","⟿":"â¿","⩷":"â©·","≑":"â","é":"é","é":"é","⩮":"â©®","ě":"Ä","≖":"â","ê":"ê","ê":"ê","≕":"â","э":"Ñ","ė":"Ä","ⅇ":"â ","≒":"â","𝔢":"ð¢","⪚":"âª","è":"è","è":"è","⪖":"âª","⪘":"âª","⪙":"âª","⏧":"â§","ℓ":"â","⪕":"âª","⪗":"âª","ē":"Ä","∅":"â ","∅":"â ","∅":"â "," ":"â"," ":"â "," ":"â","ŋ":"Å"," ":"â","ę":"Ä","𝕖":"ð","⋕":"â","⧣":"â§£","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"â","≕":"â","≂":"â","⪖":"âª","⪕":"âª","=":"=","≟":"â","≡":"â¡","⩸":"⩸","⧥":"â§¥","≓":"â","⥱":"⥱","ℯ":"â¯","≐":"â","≂":"â","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"â¬","!":"!","∃":"â","ℰ":"â°","ⅇ":"â ","≒":"â","ф":"Ñ","♀":"â","ffi":"ï¬","ff":"ï¬","ffl":"ï¬","𝔣":"ð£","fi":"ï¬","fj":"fj","♭":"â","fl":"ï¬","▱":"â±","ƒ":"Æ","𝕗":"ð","∀":"â","⋔":"â","⫙":"â«","⨍":"â¨","½":"½","½":"½","⅓":"â ","¼":"¼","¼":"¼","⅕":"â ","⅙":"â ","⅛":"â ","⅔":"â ","⅖":"â ","¾":"¾","¾":"¾","⅗":"â ","⅜":"â ","⅘":"â ","⅚":"â ","⅝":"â ","⅞":"â ","⁄":"â","⌢":"â¢","𝒻":"ð»","≧":"â§","⪌":"âª","ǵ":"ǵ","γ":"γ","ϝ":"Ï","⪆":"âª","ğ":"Ä","ĝ":"Ä","г":"г","ġ":"Ä¡","≥":"â¥","⋛":"â","≥":"â¥","≧":"â§","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"âª","⪂":"âª","⪄":"âª","⋛︀":"âï¸","⪔":"âª","𝔤":"ð¤","≫":"â«","⋙":"â","ℷ":"â·","ѓ":"Ñ","≷":"â·","⪒":"âª","⪥":"⪥","⪤":"⪤","≩":"â©","⪊":"âª","⪊":"âª","⪈":"âª","⪈":"âª","≩":"â©","⋧":"â§","𝕘":"ð","`":"`","ℊ":"â","≳":"â³","⪎":"âª","⪐":"âª",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"â","⦕":"â¦","⩼":"⩼","⪆":"âª","⥸":"⥸","⋗":"â","⋛":"â","⪌":"âª","≷":"â·","≳":"â³","≩︀":"â©ï¸","≩︀":"â©ï¸","⇔":"â"," ":"â","½":"½","ℋ":"â","ъ":"Ñ","↔":"â","⥈":"â¥","↭":"â","ℏ":"â","ĥ":"Ä¥","♥":"â¥","♥":"â¥","…":"â¦","⊹":"â¹","𝔥":"ð¥","⤥":"⤥","⤦":"⤦","⇿":"â¿","∻":"â»","↩":"â©","↪":"âª","𝕙":"ð","―":"â","𝒽":"ð½","ℏ":"â","ħ":"ħ","⁃":"â","‐":"â","í":"Ã","í":"Ã","⁣":"â£","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"â","𝔦":"ð¦","ì":"ì","ì":"ì","ⅈ":"â ","⨌":"â¨","∭":"â","⧜":"â§","℩":"â©","ij":"ij","ī":"Ä«","ℑ":"â","ℐ":"â","ℑ":"â","ı":"ı","⊷":"â·","Ƶ":"Ƶ","∈":"â","℅":"â ","∞":"â","⧝":"â§","ı":"ı","∫":"â«","⊺":"âº","ℤ":"â¤","⊺":"âº","⨗":"â¨","⨼":"⨼","ё":"Ñ","į":"į","𝕚":"ð","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"ð¾","∈":"â","⋹":"â¹","⋵":"âµ","⋴":"â´","⋳":"â³","∈":"â","⁢":"â¢","ĩ":"Ä©","і":"Ñ","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"ð§","ȷ":"È·","𝕛":"ð","𝒿":"ð¿","ј":"Ñ","є":"Ñ","κ":"κ","ϰ":"ϰ","ķ":"Ä·","к":"к","𝔨":"ð¨","ĸ":"ĸ","х":"Ñ ","ќ":"Ñ","𝕜":"ð","𝓀":"ð","⇚":"â","⇐":"â","⤛":"â¤","⤎":"â¤","≦":"â¦","⪋":"âª","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"â","λ":"λ","⟨":"â¨","⦑":"â¦","⟨":"â¨","⪅":"⪠","«":"«","«":"«","←":"â","⇤":"â¤","⤟":"â¤","⤝":"â¤","↩":"â©","↫":"â«","⤹":"⤹","⥳":"⥳","↢":"â¢","⪫":"⪫","⤙":"â¤","⪭":"âª","⪭︀":"âªï¸","⤌":"â¤","❲":"â²","{":"{","[":"[","⦋":"â¦","⦏":"â¦","⦍":"â¦","ľ":"ľ","ļ":"ļ","⌈":"â","{":"{","л":"л","⤶":"⤶","“":"â","„":"â","⥧":"⥧","⥋":"â¥","↲":"â²","≤":"â¤","←":"â","↢":"â¢","↽":"â½","↼":"â¼","⇇":"â","↔":"â","⇆":"â","⇋":"â","↭":"â","⋋":"â","⋚":"â","≤":"â¤","≦":"â¦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"â©¿","⪁":"âª","⪃":"âª","⋚︀":"âï¸","⪓":"âª","⪅":"⪠","⋖":"â","⋚":"â","⪋":"âª","≶":"â¶","≲":"â²","⥼":"⥼","⌊":"â","𝔩":"ð©","≶":"â¶","⪑":"âª","↽":"â½","↼":"â¼","⥪":"⥪","▄":"â","љ":"Ñ","≪":"âª","⇇":"â","⌞":"â","⥫":"⥫","◺":"âº","ŀ":"Å","⎰":"â°","⎰":"â°","≨":"â¨","⪉":"âª","⪉":"âª","⪇":"âª","⪇":"âª","≨":"â¨","⋦":"â¦","⟬":"â¬","⇽":"â½","⟦":"â¦","⟵":"âµ","⟷":"â·","⟼":"â¼","⟶":"â¶","↫":"â«","↬":"â¬","⦅":"⦠","𝕝":"ð","⨭":"â¨","⨴":"⨴","∗":"â","_":"_","◊":"â","◊":"â","⧫":"â§«","(":"(","⦓":"â¦","⇆":"â","⌟":"â","⇋":"â","⥭":"â¥","‎":"â","⊿":"â¿","‹":"â¹","𝓁":"ð","↰":"â°","≲":"â²","⪍":"âª","⪏":"âª","[":"[","‘":"â","‚":"â","ł":"Å","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"â","⋋":"â","⋉":"â","⥶":"⥶","⩻":"â©»","⦖":"â¦","◃":"â","⊴":"â´","◂":"â","⥊":"â¥","⥦":"⥦","≨︀":"â¨ï¸","≨︀":"â¨ï¸","∺":"âº","¯":"¯","¯":"¯","♂":"â","✠":"â ","✠":"â ","↦":"â¦","↦":"â¦","↧":"â§","↤":"â¤","↥":"â¥","▮":"â®","⨩":"⨩","м":"м","—":"â","∡":"â¡","𝔪":"ðª","℧":"â§","µ":"µ","µ":"µ","∣":"â£","*":"*","⫰":"â«°","·":"·","·":"·","−":"â","⊟":"â","∸":"â¸","⨪":"⨪","⫛":"â«","…":"â¦","∓":"â","⊧":"â§","𝕞":"ð","∓":"â","𝓂":"ð","∾":"â¾","μ":"μ","⊸":"â¸","⊸":"â¸","⋙̸":"â̸","≫⃒":"â«â","≫̸":"â«Ì¸","⇍":"â","⇎":"â","⋘̸":"â̸","≪⃒":"âªâ","≪̸":"âªÌ¸","⇏":"â","⊯":"â¯","⊮":"â®","∇":"â","ń":"Å","∠⃒":"â â","≉":"â","⩰̸":"⩰̸","≋̸":"â̸","ʼn":"Å","≉":"â","♮":"â®","♮":"â®","ℕ":"â"," ":" "," ":" ","≎̸":"â̸","≏̸":"â̸","⩃":"â©","ň":"Å","ņ":"Å","≇":"â","⩭̸":"â©Ì¸","⩂":"â©","н":"н","–":"â","≠":"â ","⇗":"â","⤤":"⤤","↗":"â","↗":"â","≐̸":"â̸","≢":"â¢","⤨":"⤨","≂̸":"â̸","∄":"â","∄":"â","𝔫":"ð«","≧̸":"â§Ì¸","≱":"â±","≱":"â±","≧̸":"â§Ì¸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"âµ","≯":"â¯","≯":"â¯","⇎":"â","↮":"â®","⫲":"⫲","∋":"â","⋼":"â¼","⋺":"âº","∋":"â","њ":"Ñ","⇍":"â","≦̸":"â¦Ì¸","↚":"â","‥":"â¥","≰":"â°","↚":"â","↮":"â®","≰":"â°","≦̸":"â¦Ì¸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"â®","≴":"â´","≮":"â®","⋪":"âª","⋬":"â¬","∤":"â¤","𝕟":"ð","¬":"¬","¬":"¬","∉":"â","⋹̸":"â¹Ì¸","⋵̸":"âµÌ¸","∉":"â","⋷":"â·","⋶":"â¶","∌":"â","∌":"â","⋾":"â¾","⋽":"â½","∦":"â¦","∦":"â¦","⫽⃥":"⫽â¥","∂̸":"â̸","⨔":"â¨","⊀":"â","⋠":"â ","⪯̸":"⪯̸","⊀":"â","⪯̸":"⪯̸","⇏":"â","↛":"â","⤳̸":"⤳̸","↝̸":"â̸","↛":"â","⋫":"â«","⋭":"â","⊁":"â","⋡":"â¡","⪰̸":"⪰̸","𝓃":"ð","∤":"â¤","∦":"â¦","≁":"â","≄":"â","≄":"â","∤":"â¤","∦":"â¦","⋢":"â¢","⋣":"â£","⊄":"â","⫅̸":"⫠̸","⊈":"â","⊂⃒":"ââ","⊈":"â","⫅̸":"⫠̸","⊁":"â","⪰̸":"⪰̸","⊅":"â ","⫆̸":"â«Ì¸","⊉":"â","⊃⃒":"ââ","⊉":"â","⫆̸":"â«Ì¸","≹":"â¹","ñ":"ñ","ñ":"ñ","≸":"â¸","⋪":"âª","⋬":"â¬","⋫":"â«","⋭":"â","ν":"ν","#":"#","№":"â"," ":"â","⊭":"â","⤄":"â¤","≍⃒":"ââ","⊬":"â¬","≥⃒":"â¥â",">⃒":">â","⧞":"â§","⤂":"â¤","≤⃒":"â¤â","<⃒":"<â","⊴⃒":"â´â","⤃":"â¤","⊵⃒":"âµâ","∼⃒":"â¼â","⇖":"â","⤣":"⤣","↖":"â","↖":"â","⤧":"⤧","Ⓢ":"â","ó":"ó","ó":"ó","⊛":"â","⊚":"â","ô":"ô","ô":"ô","о":"о","⊝":"â","ő":"Å","⨸":"⨸","⊙":"â","⦼":"⦼","œ":"Å","⦿":"⦿","𝔬":"ð¬","˛":"Ë","ò":"ò","ò":"ò","⧁":"â§","⦵":"⦵","Ω":"Ω","∮":"â®","↺":"âº","⦾":"⦾","⦻":"⦻","‾":"â¾","⧀":"â§","ō":"Å","ω":"Ï","ο":"ο","⦶":"⦶","⊖":"â","𝕠":"ð ","⦷":"⦷","⦹":"⦹","⊕":"â","∨":"â¨","↻":"â»","⩝":"â©","ℴ":"â´","ℴ":"â´","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"â¶","⩖":"â©","⩗":"â©","⩛":"â©","ℴ":"â´","ø":"ø","ø":"ø","⊘":"â","õ":"õ","õ":"õ","⊗":"â","⨶":"⨶","ö":"ö","ö":"ö","⌽":"â½","∥":"â¥","¶":"¶","¶":"¶","∥":"â¥","⫳":"⫳","⫽":"⫽","∂":"â","п":"п","%":"%",".":".","‰":"â°","⊥":"â¥","‱":"â±","𝔭":"ð","φ":"Ï","ϕ":"Ï","ℳ":"â³","☎":"â","π":"Ï","⋔":"â","ϖ":"Ï","ℏ":"â","ℎ":"â","ℏ":"â","+":"+","⨣":"⨣","⊞":"â","⨢":"⨢","∔":"â","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"â¨","𝕡":"ð¡","£":"£","£":"£","≺":"âº","⪳":"⪳","⪷":"⪷","≼":"â¼","⪯":"⪯","≺":"âº","⪷":"⪷","≼":"â¼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"â¨","≾":"â¾","′":"â²","ℙ":"â","⪵":"⪵","⪹":"⪹","⋨":"â¨","∏":"â","⌮":"â®","⌒":"â","⌓":"â","∝":"â","∝":"â","≾":"â¾","⊰":"â°","𝓅":"ð ","ψ":"Ï"," ":"â","𝔮":"ð®","⨌":"â¨","𝕢":"ð¢","⁗":"â","𝓆":"ð","ℍ":"â","⨖":"â¨","?":"?","≟":"â",""":'"',""":'"',"⇛":"â","⇒":"â","⤜":"â¤","⤏":"â¤","⥤":"⥤","∽̱":"â½Ì±","ŕ":"Å","√":"â","⦳":"⦳","⟩":"â©","⦒":"â¦","⦥":"⦥","⟩":"â©","»":"»","»":"»","→":"â","⥵":"⥵","⇥":"â¥","⤠":"⤠","⤳":"⤳","⤞":"â¤","↪":"âª","↬":"â¬","⥅":"⥠","⥴":"⥴","↣":"â£","↝":"â","⤚":"â¤","∶":"â¶","ℚ":"â","⤍":"â¤","❳":"â³","}":"}","]":"]","⦌":"â¦","⦎":"â¦","⦐":"â¦","ř":"Å","ŗ":"Å","⌉":"â","}":"}","р":"Ñ","⤷":"⤷","⥩":"⥩","”":"â","”":"â","↳":"â³","ℜ":"â","ℛ":"â","ℜ":"â","ℝ":"â","▭":"â","®":"®","®":"®","⥽":"⥽","⌋":"â","𝔯":"ð¯","⇁":"â","⇀":"â","⥬":"⥬","ρ":"Ï","ϱ":"ϱ","→":"â","↣":"â£","⇁":"â","⇀":"â","⇄":"â","⇌":"â","⇉":"â","↝":"â","⋌":"â","˚":"Ë","≓":"â","⇄":"â","⇌":"â","‏":"â","⎱":"â±","⎱":"â±","⫮":"â«®","⟭":"â","⇾":"â¾","⟧":"â§","⦆":"â¦","𝕣":"ð£","⨮":"⨮","⨵":"⨵",")":")","⦔":"â¦","⨒":"â¨","⇉":"â","›":"âº","𝓇":"ð","↱":"â±","]":"]","’":"â","’":"â","⋌":"â","⋊":"â","▹":"â¹","⊵":"âµ","▸":"â¸","⧎":"â§","⥨":"⥨","℞":"â","ś":"Å","‚":"â","≻":"â»","⪴":"⪴","⪸":"⪸","š":"Å¡","≽":"â½","⪰":"⪰","ş":"Å","ŝ":"Å","⪶":"⪶","⪺":"⪺","⋩":"â©","⨓":"â¨","≿":"â¿","с":"Ñ","⋅":"â ","⊡":"â¡","⩦":"⩦","⇘":"â","⤥":"⤥","↘":"â","↘":"â","§":"§","§":"§",";":";","⤩":"⤩","∖":"â","∖":"â","✶":"â¶","𝔰":"ð°","⌢":"â¢","♯":"â¯","щ":"Ñ","ш":"Ñ","∣":"â£","∥":"â¥","­":"Â","­":"Â","σ":"Ï","ς":"Ï","ς":"Ï","∼":"â¼","⩪":"⩪","≃":"â","≃":"â","⪞":"âª","⪠":"⪠","⪝":"âª","⪟":"âª","≆":"â","⨤":"⨤","⥲":"⥲","←":"â","∖":"â","⨳":"⨳","⧤":"⧤","∣":"â£","⌣":"â£","⪪":"⪪","⪬":"⪬","⪬︀":"⪬ï¸","ь":"Ñ","/":"/","⧄":"â§","⌿":"â¿","𝕤":"ð¤","♠":"â ","♠":"â ","∥":"â¥","⊓":"â","⊓︀":"âï¸","⊔":"â","⊔︀":"âï¸","⊏":"â","⊑":"â","⊏":"â","⊑":"â","⊐":"â","⊒":"â","⊐":"â","⊒":"â","□":"â¡","□":"â¡","▪":"âª","▪":"âª","→":"â","𝓈":"ð","∖":"â","⌣":"â£","⋆":"â","☆":"â","★":"â ","ϵ":"ϵ","ϕ":"Ï","¯":"¯","⊂":"â","⫅":"â« ","⪽":"⪽","⊆":"â","⫃":"â«","⫁":"â«","⫋":"â«","⊊":"â","⪿":"⪿","⥹":"⥹","⊂":"â","⊆":"â","⫅":"â« ","⊊":"â","⫋":"â«","⫇":"â«","⫕":"â«","⫓":"â«","≻":"â»","⪸":"⪸","≽":"â½","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"â©","≿":"â¿","∑":"â","♪":"âª","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"â","⫆":"â«","⪾":"⪾","⫘":"â«","⊇":"â","⫄":"â«","⟉":"â","⫗":"â«","⥻":"⥻","⫂":"â«","⫌":"â«","⊋":"â","⫀":"â«","⊃":"â","⊇":"â","⫆":"â«","⊋":"â","⫌":"â«","⫈":"â«","⫔":"â«","⫖":"â«","⇙":"â","⤦":"⤦","↙":"â","↙":"â","⤪":"⤪","ß":"Ã","ß":"Ã","⌖":"â","τ":"Ï","⎴":"â´","ť":"Å¥","ţ":"Å£","т":"Ñ","⃛":"â","⌕":"â","𝔱":"ð±","∴":"â´","∴":"â´","θ":"θ","ϑ":"Ï","ϑ":"Ï","≈":"â","∼":"â¼"," ":"â","≈":"â","∼":"â¼","þ":"þ","þ":"þ","˜":"Ë","×":"Ã","×":"Ã","⊠":"â ","⨱":"⨱","⨰":"⨰","∭":"â","⤨":"⤨","⊤":"â¤","⌶":"â¶","⫱":"⫱","𝕥":"ð¥","⫚":"â«","⤩":"⤩","‴":"â´","™":"â¢","▵":"âµ","▿":"â¿","◃":"â","⊴":"â´","≜":"â","▹":"â¹","⊵":"âµ","◬":"â¬","≜":"â","⨺":"⨺","⨹":"⨹","⧍":"â§","⨻":"⨻","⏢":"â¢","𝓉":"ð","ц":"Ñ","ћ":"Ñ","ŧ":"ŧ","≬":"â¬","↞":"â","↠":"â ","⇑":"â","⥣":"⥣","ú":"ú","ú":"ú","↑":"â","ў":"Ñ","ŭ":"Å","û":"û","û":"û","у":"Ñ","⇅":"â ","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"ð²","ù":"ù","ù":"ù","↿":"â¿","↾":"â¾","▀":"â","⌜":"â","⌜":"â","⌏":"â","◸":"â¸","ū":"Å«","¨":"¨","¨":"¨","ų":"ų","𝕦":"ð¦","↑":"â","↕":"â","↿":"â¿","↾":"â¾","⊎":"â","υ":"Ï ","ϒ":"Ï","υ":"Ï ","⇈":"â","⌝":"â","⌝":"â","⌎":"â","ů":"ů","◹":"â¹","𝓊":"ð","⋰":"â°","ũ":"Å©","▵":"âµ","▴":"â´","⇈":"â","ü":"ü","ü":"ü","⦧":"⦧","⇕":"â","⫨":"⫨","⫩":"â«©","⊨":"â¨","⦜":"â¦","ϵ":"ϵ","ϰ":"ϰ","∅":"â ","ϕ":"Ï","ϖ":"Ï","∝":"â","↕":"â","ϱ":"ϱ","ς":"Ï","⊊︀":"âï¸","⫋︀":"â«ï¸","⊋︀":"âï¸","⫌︀":"â«ï¸","ϑ":"Ï","⊲":"â²","⊳":"â³","в":"в","⊢":"â¢","∨":"â¨","⊻":"â»","≚":"â","⋮":"â®","|":"|","|":"|","𝔳":"ð³","⊲":"â²","⊂⃒":"ââ","⊃⃒":"ââ","𝕧":"ð§","∝":"â","⊳":"â³","𝓋":"ð","⫋︀":"â«ï¸","⊊︀":"âï¸","⫌︀":"â«ï¸","⊋︀":"âï¸","⦚":"â¦","ŵ":"ŵ","⩟":"â©","∧":"â§","≙":"â","℘":"â","𝔴":"ð´","𝕨":"ð¨","℘":"â","≀":"â","≀":"â","𝓌":"ð","⋂":"â","◯":"â¯","⋃":"â","▽":"â½","𝔵":"ðµ","⟺":"âº","⟷":"â·","ξ":"ξ","⟸":"â¸","⟵":"âµ","⟼":"â¼","⋻":"â»","⨀":"â¨","𝕩":"ð©","⨁":"â¨","⨂":"â¨","⟹":"â¹","⟶":"â¶","𝓍":"ð","⨆":"â¨","⨄":"â¨","△":"â³","⋁":"â","⋀":"â","ý":"ý","ý":"ý","я":"Ñ","ŷ":"Å·","ы":"Ñ","¥":"Â¥","¥":"Â¥","𝔶":"ð¶","ї":"Ñ","𝕪":"ðª","𝓎":"ð","ю":"Ñ","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"â¨","ζ":"ζ","𝔷":"ð·","ж":"ж","⇝":"â","𝕫":"ð«","𝓏":"ð","‍":"â","‌":"â"},characters:{"Ã":"Æ","&":"&","Ã":"Á","Ä":"Ă","Ã":"Â","Ð":"А","ð":"𝔄","Ã":"À","Î":"Α","Ä":"Ā","â©":"⩓","Ä":"Ą","ð¸":"𝔸","â¡":"⁡","à ":"Å","ð":"𝒜","â":"≔","Ã":"Ã","Ã":"Ä","â":"∖","â«§":"⫧","â":"⌆","Ð":"Б","âµ":"∵","â¬":"ℬ","Î":"Β","ð ":"𝔅","ð¹":"𝔹","Ë":"˘","â":"≎","Ч":"Ч","©":"©","Ä":"Ć","â":"⋒","â ":"ⅅ","â":"ℭ","Ä":"Č","Ã":"Ç","Ä":"Ĉ","â°":"∰","Ä":"Ċ","¸":"¸","·":"·","Χ":"Χ","â":"⊙","â":"⊖","â":"⊕","â":"⊗","â²":"∲","â":"”","â":"’","â·":"∷","â©´":"⩴","â¡":"≡","â¯":"∯","â®":"∮","â":"ℂ","â":"∐","â³":"∳","⨯":"⨯","ð":"𝒞","â":"⋓","â":"≍","â¤":"⤑","Ð":"Ђ","Ð ":"Ѕ","Ð":"Џ","â¡":"‡","â¡":"↡","⫤":"⫤","Ä":"Ď","Ð":"Д","â":"∇","Î":"Δ","ð":"𝔇","´":"´","Ë":"˙","Ë":"˝","`":"`","Ë":"˜","â":"⋄","â ":"ⅆ","ð»":"𝔻","¨":"¨","â":"⃜","â":"≐","â":"⇓","â":"⇐","â":"⇔","â¸":"⟸","âº":"⟺","â¹":"⟹","â":"⇒","â¨":"⊨","â":"⇑","â":"⇕","â¥":"∥","â":"↓","â¤":"⤓","âµ":"⇵","Ì":"̑","â¥":"⥐","â¥":"⥞","â½":"↽","â¥":"⥖","â¥":"⥟","â":"⇁","â¥":"⥗","â¤":"⊤","â§":"↧","ð":"𝒟","Ä":"Đ","Å":"Ŋ","Ã":"Ð","Ã":"É","Ä":"Ě","Ã":"Ê","Ð":"Э","Ä":"Ė","ð":"𝔈","Ã":"È","â":"∈","Ä":"Ē","â»":"◻","â«":"▫","Ä":"Ę","ð¼":"𝔼","Î":"Ε","⩵":"⩵","â":"≂","â":"⇌","â°":"ℰ","⩳":"⩳","Î":"Η","Ã":"Ë","â":"∃","â ":"ⅇ","Ф":"Ф","ð":"𝔉","â¼":"◼","âª":"▪","ð½":"𝔽","â":"∀","â±":"ℱ","Ð":"Ѓ",">":">","Î":"Γ","Ï":"Ϝ","Ä":"Ğ","Ä¢":"Ģ","Ä":"Ĝ","Ð":"Г","Ä ":"Ġ","ð":"𝔊","â":"⋙","ð¾":"𝔾","â¥":"≥","â":"⋛","â§":"≧","⪢":"⪢","â·":"≷","⩾":"⩾","â³":"≳","ð¢":"𝒢","â«":"≫","Ъ":"Ъ","Ë":"ˇ","^":"^","Ĥ":"Ĥ","â":"ℌ","â":"ℋ","â":"ℍ","â":"─","Ħ":"Ħ","â":"≏","Ð":"Е","IJ":"IJ","Ð":"Ё","Ã":"Í","Ã":"Î","Ð":"И","İ":"İ","â":"ℑ","Ã":"Ì","Ī":"Ī","â ":"ⅈ","â¬":"∬","â«":"∫","â":"⋂","â£":"⁣","â¢":"⁢","Ä®":"Į","ð":"𝕀","Î":"Ι","â":"ℐ","Ĩ":"Ĩ","Ð":"І","Ã":"Ï","Ä´":"Ĵ","Ð":"Й","ð":"𝔍","ð":"𝕁","ð¥":"𝒥","Ð":"Ј","Ð":"Є","Ð¥":"Х","Ð":"Ќ","Î":"Κ","Ķ":"Ķ","Ð":"К","ð":"𝔎","ð":"𝕂","ð¦":"𝒦","Ð":"Љ","<":"<","Ĺ":"Ĺ","Î":"Λ","âª":"⟪","â":"ℒ","â":"↞","Ľ":"Ľ","Ä»":"Ļ","Ð":"Л","â¨":"⟨","â":"←","â¤":"⇤","â":"⇆","â":"⌈","â¦":"⟦","⥡":"⥡","â":"⇃","â¥":"⥙","â":"⌊","â":"↔","â¥":"⥎","â£":"⊣","â¤":"↤","â¥":"⥚","â²":"⊲","â§":"⧏","â´":"⊴","â¥":"⥑","⥠":"⥠","â¿":"↿","â¥":"⥘","â¼":"↼","â¥":"⥒","â":"⋚","â¦":"≦","â¶":"≶","⪡":"⪡","⩽":"⩽","â²":"≲","ð":"𝔏","â":"⋘","â":"⇚","Ä¿":"Ŀ","âµ":"⟵","â·":"⟷","â¶":"⟶","ð":"𝕃","â":"↙","â":"↘","â°":"↰","Å":"Ł","âª":"≪","⤠":"⤅","Ð":"М","â":" ","â³":"ℳ","ð":"𝔐","â":"∓","ð":"𝕄","Î":"Μ","Ð":"Њ","Å":"Ń","Å":"Ň","Å ":"Ņ","Ð":"Н","â":"​","\n":"
","ð":"𝔑","â ":"⁠"," ":" ","â":"ℕ","⫬":"⫬","â¢":"≢","â":"≭","â¦":"∦","â":"∉","â ":"≠","â̸":"≂̸","â":"∄","â¯":"≯","â±":"≱","â§Ì¸":"≧̸","â«Ì¸":"≫̸","â¹":"≹","⩾̸":"⩾̸","âµ":"≵","â̸":"≎̸","â̸":"≏̸","âª":"⋪","â§Ì¸":"⧏̸","â¬":"⋬","â®":"≮","â°":"≰","â¸":"≸","âªÌ¸":"≪̸","⩽̸":"⩽̸","â´":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","â":"⊀","⪯̸":"⪯̸","â ":"⋠","â":"∌","â«":"⋫","â§Ì¸":"⧐̸","â":"⋭","â̸":"⊏̸","â¢":"⋢","â̸":"⊐̸","â£":"⋣","ââ":"⊂⃒","â":"⊈","â":"⊁","⪰̸":"⪰̸","â¡":"⋡","â¿Ì¸":"≿̸","ââ":"⊃⃒","â":"⊉","â":"≁","â":"≄","â":"≇","â":"≉","â¤":"∤","ð©":"𝒩","Ã":"Ñ","Î":"Ν","Å":"Œ","Ã":"Ó","Ã":"Ô","Ð":"О","Å":"Ő","ð":"𝔒","Ã":"Ò","Å":"Ō","Ω":"Ω","Î":"Ο","ð":"𝕆","â":"“","â":"‘","â©":"⩔","ðª":"𝒪","Ã":"Ø","Ã":"Õ","⨷":"⨷","Ã":"Ö","â¾":"‾","â":"⏞","â´":"⎴","â":"⏜","â":"∂","Ð":"П","ð":"𝔓","Φ":"Φ","Î ":"Π","±":"±","â":"ℙ","⪻":"⪻","âº":"≺","⪯":"⪯","â¼":"≼","â¾":"≾","â³":"″","â":"∏","â":"∝","ð«":"𝒫","Ψ":"Ψ",'"':""","ð":"𝔔","â":"ℚ","ð¬":"𝒬","â¤":"⤐","®":"®","Å":"Ŕ","â«":"⟫","â ":"↠","â¤":"⤖","Å":"Ř","Å":"Ŗ","Ð ":"Р","â":"ℜ","â":"∋","â":"⇋","⥯":"⥯","Ρ":"Ρ","â©":"⟩","â":"→","â¥":"⇥","â":"⇄","â":"⌉","â§":"⟧","â¥":"⥝","â":"⇂","â¥":"⥕","â":"⌋","â¢":"⊢","â¦":"↦","â¥":"⥛","â³":"⊳","â§":"⧐","âµ":"⊵","â¥":"⥏","â¥":"⥜","â¾":"↾","â¥":"⥔","â":"⇀","â¥":"⥓","â":"ℝ","⥰":"⥰","â":"⇛","â":"ℛ","â±":"↱","â§´":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Å":"Ś","⪼":"⪼","Å ":"Š","Å":"Ş","Å":"Ŝ","С":"С","ð":"𝔖","â":"↑","Σ":"Σ","â":"∘","ð":"𝕊","â":"√","â¡":"□","â":"⊓","â":"⊏","â":"⊑","â":"⊐","â":"⊒","â":"⊔","ð®":"𝒮","â":"⋆","â":"⋐","â":"⊆","â»":"≻","⪰":"⪰","â½":"≽","â¿":"≿","â":"∑","â":"⋑","â":"⊃","â":"⊇","Ã":"Þ","â¢":"™","Ð":"Ћ","Ц":"Ц","\t":"	","Τ":"Τ","Ť":"Ť","Å¢":"Ţ","Т":"Т","ð":"𝔗","â´":"∴","Î":"Θ","ââ":"  ","â":" ","â¼":"∼","â":"≃","â ":"≅","â":"≈","ð":"𝕋","â":"⃛","ð¯":"𝒯","Ŧ":"Ŧ","Ã":"Ú","â":"↟","â¥":"⥉","Ð":"Ў","Ŭ":"Ŭ","Ã":"Û","У":"У","Ű":"Ű","ð":"𝔘","Ã":"Ù","Ū":"Ū",_:"_","â":"⏟","âµ":"⎵","â":"⏝","â":"⋃","â":"⊎","Ų":"Ų","ð":"𝕌","â¤":"⤒","â ":"⇅","â":"↕","⥮":"⥮","â¥":"⊥","â¥":"↥","â":"↖","â":"↗","Ï":"ϒ","Î¥":"Υ","Å®":"Ů","ð°":"𝒰","Ũ":"Ũ","Ã":"Ü","â«":"⊫","â««":"⫫","Ð":"В","â©":"⊩","⫦":"⫦","â":"⋁","â":"‖","â£":"∣","|":"|","â":"❘","â":"≀","â":" ","ð":"𝔙","ð":"𝕍","ð±":"𝒱","âª":"⊪","Å´":"Ŵ","â":"⋀","ð":"𝔚","ð":"𝕎","ð²":"𝒲","ð":"𝔛","Î":"Ξ","ð":"𝕏","ð³":"𝒳","Я":"Я","Ð":"Ї","Ю":"Ю","Ã":"Ý","Ŷ":"Ŷ","Ы":"Ы","ð":"𝔜","ð":"𝕐","ð´":"𝒴","Ÿ":"Ÿ","Ð":"Ж","Ź":"Ź","Ž":"Ž","Ð":"З","Å»":"Ż","Î":"Ζ","â¨":"ℨ","â¤":"ℤ","ðµ":"𝒵","á":"á","Ä":"ă","â¾":"∾","â¾Ì³":"∾̳","â¿":"∿","â":"â","а":"а","æ":"æ","ð":"𝔞","à ":"à","âµ":"ℵ","α":"α","Ä":"ā","⨿":"⨿","â§":"∧","â©":"⩕","â©":"⩜","â©":"⩘","â©":"⩚","â ":"∠","⦤":"⦤","â¡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","â¦":"⦭","⦮":"⦮","⦯":"⦯","â":"∟","â¾":"⊾","â¦":"⦝","â¢":"∢","â¼":"⍼","Ä ":"ą","ð":"𝕒","â©°":"⩰","⩯":"⩯","â":"≊","â":"≋","'":"'","Ã¥":"å","ð¶":"𝒶","*":"*","ã":"ã","ä":"ä","â¨":"⨑","â«":"⫭","â":"≌","϶":"϶","âµ":"‵","â½":"∽","â":"⋍","â½":"⊽","â ":"⌅","â¶":"⎶","б":"б","â":"„","⦰":"⦰","β":"β","â¶":"ℶ","â¬":"≬","ð":"𝔟","â¯":"◯","â¨":"⨀","â¨":"⨁","â¨":"⨂","â¨":"⨆","â ":"★","â½":"▽","â³":"△","â¨":"⨄","â¤":"⤍","â§«":"⧫","â´":"▴","â¾":"▾","â":"◂","â¸":"▸","â£":"␣","â":"▒","â":"░","â":"▓","â":"█","=â¥":"=⃥","â¡â¥":"≡⃥","â":"⌐","ð":"𝕓","â":"⋈","â":"╗","â":"╔","â":"╖","â":"╓","â":"═","â¦":"╦","â©":"╩","â¤":"╤","â§":"╧","â":"╝","â":"╚","â":"╜","â":"╙","â":"║","â¬":"╬","â£":"╣","â ":"╠","â«":"╫","â¢":"╢","â":"╟","â§":"⧉","â":"╕","â":"╒","â":"┐","â":"┌","â¥":"╥","â¨":"╨","â¬":"┬","â´":"┴","â":"⊟","â":"⊞","â ":"⊠","â":"╛","â":"╘","â":"┘","â":"└","â":"│","âª":"╪","â¡":"╡","â":"╞","â¼":"┼","â¤":"┤","â":"├","¦":"¦","ð·":"𝒷","â":"⁏","\\":"\","â§ ":"⧅","â":"⟈","â¢":"•","⪮":"⪮","Ä":"ć","â©":"∩","â©":"⩄","â©":"⩉","â©":"⩋","â©":"⩇","â©":"⩀","â©ï¸":"∩︀","â":"⁁","â©":"⩍","Ä":"č","ç":"ç","Ä":"ĉ","â©":"⩌","â©":"⩐","Ä":"ċ","⦲":"⦲","¢":"¢","ð ":"𝔠","Ñ":"ч","â":"✓","Ï":"χ","â":"○","â§":"⧃","Ë":"ˆ","â":"≗","âº":"↺","â»":"↻","â":"Ⓢ","â":"⊛","â":"⊚","â":"⊝","â¨":"⨐","⫯":"⫯","â§":"⧂","â£":"♣",":":":",",":",","@":"@","â":"∁","â©":"⩭","ð":"𝕔","â":"℗","âµ":"↵","â":"✗","ð¸":"𝒸","â«":"⫏","â«":"⫑","â«":"⫐","â«":"⫒","â¯":"⋯","⤸":"⤸","⤵":"⤵","â":"⋞","â":"⋟","â¶":"↶","⤽":"⤽","âª":"∪","â©":"⩈","â©":"⩆","â©":"⩊","â":"⊍","â© ":"⩅","âªï¸":"∪︀","â·":"↷","⤼":"⤼","â":"⋎","â":"⋏","¤":"¤","â±":"∱","â":"⌭","⥥":"⥥","â ":"†","â¸":"ℸ","â":"‐","â¤":"⤏","Ä":"ď","д":"д","â":"⇊","â©·":"⩷","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","ð¡":"𝔡","â¦":"♦","Ï":"ϝ","â²":"⋲","÷":"÷","â":"⋇","Ñ":"ђ","â":"⌞","â":"⌍",$:"$","ð":"𝕕","â":"≑","â¸":"∸","â":"∔","â¡":"⊡","â":"⌟","â":"⌌","ð¹":"𝒹","Ñ":"ѕ","â§¶":"⧶","Ä":"đ","â±":"⋱","â¿":"▿","⦦":"⦦","Ñ":"џ","â¿":"⟿","é":"é","â©®":"⩮","Ä":"ě","â":"≖","ê":"ê","â":"≕","Ñ":"э","Ä":"ė","â":"≒","ð¢":"𝔢","âª":"⪚","è":"è","âª":"⪖","âª":"⪘","âª":"⪙","â§":"⏧","â":"ℓ","âª":"⪕","âª":"⪗","Ä":"ē","â ":"∅","â":" ","â ":" ","â":" ","Å":"ŋ","â":" ","Ä":"ę","ð":"𝕖","â":"⋕","â§£":"⧣","⩱":"⩱","ε":"ε","ϵ":"ϵ","=":"=","â":"≟","⩸":"⩸","â§¥":"⧥","â":"≓","⥱":"⥱","â¯":"ℯ","η":"η","ð":"ð","ë":"ë","â¬":"€","!":"!","Ñ":"ф","â":"♀","ï¬":"ffi","ï¬":"ff","ï¬":"ffl","ð£":"𝔣","ï¬":"fi",fj:"fj","â":"♭","ï¬":"fl","â±":"▱","Æ":"ƒ","ð":"𝕗","â":"⋔","â«":"⫙","â¨":"⨍","½":"½","â ":"⅓","¼":"¼","â ":"⅕","â ":"⅙","â ":"⅛","â ":"⅔","â ":"⅖","¾":"¾","â ":"⅗","â ":"⅜","â ":"⅘","â ":"⅚","â ":"⅝","â ":"⅞","â":"⁄","â¢":"⌢","ð»":"𝒻","âª":"⪌","ǵ":"ǵ","γ":"γ","âª":"⪆","Ä":"ğ","Ä":"ĝ","г":"г","Ä¡":"ġ","⪩":"⪩","âª":"⪀","âª":"⪂","âª":"⪄","âï¸":"⋛︀","âª":"⪔","ð¤":"𝔤","â·":"ℷ","Ñ":"ѓ","âª":"⪒","⪥":"⪥","⪤":"⪤","â©":"≩","âª":"⪊","âª":"⪈","â§":"⋧","ð":"𝕘","â":"ℊ","âª":"⪎","âª":"⪐","⪧":"⪧","⩺":"⩺","â":"⋗","â¦":"⦕","⩼":"⩼","⥸":"⥸","â©ï¸":"≩︀","Ñ":"ъ","â¥":"⥈","â":"↭","â":"ℏ","Ä¥":"ĥ","â¥":"♥","â¦":"…","â¹":"⊹","ð¥":"𝔥","⤥":"⤥","⤦":"⤦","â¿":"⇿","â»":"∻","â©":"↩","âª":"↪","ð":"𝕙","â":"―","ð½":"𝒽","ħ":"ħ","â":"⁃","Ã":"í","î":"î","и":"и","е":"е","¡":"¡","ð¦":"𝔦","ì":"ì","â¨":"⨌","â":"∭","â§":"⧜","â©":"℩","ij":"ij","Ä«":"ī","ı":"ı","â·":"⊷","Ƶ":"Ƶ","â ":"℅","â":"∞","â§":"⧝","âº":"⊺","â¨":"⨗","⨼":"⨼","Ñ":"ё","į":"į","ð":"𝕚","ι":"ι","¿":"¿","ð¾":"𝒾","â¹":"⋹","âµ":"⋵","â´":"⋴","â³":"⋳","Ä©":"ĩ","Ñ":"і","ï":"ï","ĵ":"ĵ","й":"й","ð§":"𝔧","È·":"ȷ","ð":"𝕛","ð¿":"𝒿","Ñ":"ј","Ñ":"є","κ":"κ","ϰ":"ϰ","Ä·":"ķ","к":"к","ð¨":"𝔨","ĸ":"ĸ","Ñ ":"х","Ñ":"ќ","ð":"𝕜","ð":"𝓀","â¤":"⤛","â¤":"⤎","âª":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","λ":"λ","â¦":"⦑","⪠":"⪅","«":"«","â¤":"⤟","â¤":"⤝","â«":"↫","⤹":"⤹","⥳":"⥳","â¢":"↢","⪫":"⪫","â¤":"⤙","âª":"⪭","âªï¸":"⪭︀","â¤":"⤌","â²":"❲","{":"{","[":"[","â¦":"⦋","â¦":"⦏","â¦":"⦍","ľ":"ľ","ļ":"ļ","л":"л","⤶":"⤶","⥧":"⥧","â¥":"⥋","â²":"↲","â¤":"≤","â":"⇇","â":"⋋","⪨":"⪨","â©¿":"⩿","âª":"⪁","âª":"⪃","âï¸":"⋚︀","âª":"⪓","â":"⋖","⥼":"⥼","ð©":"𝔩","âª":"⪑","⥪":"⥪","â":"▄","Ñ":"љ","⥫":"⥫","âº":"◺","Å":"ŀ","â°":"⎰","â¨":"≨","âª":"⪉","âª":"⪇","â¦":"⋦","â¬":"⟬","â½":"⇽","â¼":"⟼","â¬":"↬","⦠":"⦅","ð":"𝕝","â¨":"⨭","⨴":"⨴","â":"∗","â":"◊","(":"(","â¦":"⦓","â¥":"⥭","â":"‎","â¿":"⊿","â¹":"‹","ð":"𝓁","âª":"⪍","âª":"⪏","â":"‚","Å":"ł","⪦":"⪦","⩹":"⩹","â":"⋉","⥶":"⥶","â©»":"⩻","â¦":"⦖","â":"◃","â¥":"⥊","⥦":"⥦","â¨ï¸":"≨︀","âº":"∺","¯":"¯","â":"♂","â ":"✠","â®":"▮","⨩":"⨩","м":"м","â":"—","ðª":"𝔪","â§":"℧","µ":"µ","â«°":"⫰","â":"−","⨪":"⨪","â«":"⫛","â§":"⊧","ð":"𝕞","ð":"𝓂","μ":"μ","â¸":"⊸","â̸":"⋙̸","â«â":"≫⃒","â":"⇍","â":"⇎","â̸":"⋘̸","âªâ":"≪⃒","â":"⇏","â¯":"⊯","â®":"⊮","Å":"ń","â â":"∠⃒","⩰̸":"⩰̸","â̸":"≋̸","Å":"ʼn","â®":"♮","â©":"⩃","Å":"ň","Å":"ņ","â©Ì¸":"⩭̸","â©":"⩂","н":"н","â":"–","â":"⇗","⤤":"⤤","â̸":"≐̸","⤨":"⤨","ð«":"𝔫","â®":"↮","⫲":"⫲","â¼":"⋼","âº":"⋺","Ñ":"њ","â¦Ì¸":"≦̸","â":"↚","â¥":"‥","ð":"𝕟","¬":"¬","â¹Ì¸":"⋹̸","âµÌ¸":"⋵̸","â·":"⋷","â¶":"⋶","â¾":"⋾","â½":"⋽","⫽â¥":"⫽⃥","â̸":"∂̸","â¨":"⨔","â":"↛","⤳̸":"⤳̸","â̸":"↝̸","ð":"𝓃","â":"⊄","⫠̸":"⫅̸","â ":"⊅","â«Ì¸":"⫆̸","ñ":"ñ","ν":"ν","#":"#","â":"№","â":" ","â":"⊭","â¤":"⤄","ââ":"≍⃒","â¬":"⊬","â¥â":"≥⃒",">â":">⃒","â§":"⧞","â¤":"⤂","â¤â":"≤⃒","<â":"<⃒","â´â":"⊴⃒","â¤":"⤃","âµâ":"⊵⃒","â¼â":"∼⃒","â":"⇖","⤣":"⤣","⤧":"⤧","ó":"ó","ô":"ô","о":"о","Å":"ő","⨸":"⨸","⦼":"⦼","Å":"œ","⦿":"⦿","ð¬":"𝔬","Ë":"˛","ò":"ò","â§":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","â§":"⧀","Å":"ō","Ï":"ω","ο":"ο","⦶":"⦶","ð ":"𝕠","⦷":"⦷","⦹":"⦹","â¨":"∨","â©":"⩝","â´":"ℴ","ª":"ª","º":"º","â¶":"⊶","â©":"⩖","â©":"⩗","â©":"⩛","ø":"ø","â":"⊘","õ":"õ","⨶":"⨶","ö":"ö","â½":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽","п":"п","%":"%",".":".","â°":"‰","â±":"‱","ð":"𝔭","Ï":"φ","Ï":"ϕ","â":"☎","Ï":"π","Ï":"ϖ","â":"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","â¨":"⨕","ð¡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","â¨":"⋨","â²":"′","â®":"⌮","â":"⌒","â":"⌓","â°":"⊰","ð ":"𝓅","Ï":"ψ","â":" ","ð®":"𝔮","ð¢":"𝕢","â":"⁗","ð":"𝓆","â¨":"⨖","?":"?","â¤":"⤜","⥤":"⥤","â½Ì±":"∽̱","Å":"ŕ","⦳":"⦳","â¦":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","â¤":"⤞","⥠":"⥅","⥴":"⥴","â£":"↣","â":"↝","â¤":"⤚","â¶":"∶","â³":"❳","}":"}","]":"]","â¦":"⦌","â¦":"⦎","â¦":"⦐","Å":"ř","Å":"ŗ","Ñ":"р","⤷":"⤷","⥩":"⥩","â³":"↳","â":"▭","⥽":"⥽","ð¯":"𝔯","⥬":"⥬","Ï":"ρ","ϱ":"ϱ","â":"⇉","â":"⋌","Ë":"˚","â":"‏","â±":"⎱","â«®":"⫮","â":"⟭","â¾":"⇾","â¦":"⦆","ð£":"𝕣","⨮":"⨮","⨵":"⨵",")":")","â¦":"⦔","â¨":"⨒","âº":"›","ð":"𝓇","â":"⋊","â¹":"▹","â§":"⧎","⥨":"⥨","â":"℞","Å":"ś","⪴":"⪴","⪸":"⪸","Å¡":"š","Å":"ş","Å":"ŝ","⪶":"⪶","⪺":"⪺","â©":"⋩","â¨":"⨓","Ñ":"с","â ":"⋅","⩦":"⩦","â":"⇘","§":"§",";":";","⤩":"⤩","â¶":"✶","ð°":"𝔰","â¯":"♯","Ñ":"щ","Ñ":"ш","Â":"­","Ï":"σ","Ï":"ς","⩪":"⩪","âª":"⪞","⪠":"⪠","âª":"⪝","âª":"⪟","â":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","â£":"⌣","⪪":"⪪","⪬":"⪬","⪬ï¸":"⪬︀","Ñ":"ь","/":"/","â§":"⧄","â¿":"⌿","ð¤":"𝕤","â ":"♠","âï¸":"⊓︀","âï¸":"⊔︀","ð":"𝓈","â":"☆","â":"⊂","â« ":"⫅","⪽":"⪽","â«":"⫃","â«":"⫁","â«":"⫋","â":"⊊","⪿":"⪿","⥹":"⥹","â«":"⫇","â«":"⫕","â«":"⫓","âª":"♪","¹":"¹","²":"²","³":"³","â«":"⫆","⪾":"⪾","â«":"⫘","â«":"⫄","â":"⟉","â«":"⫗","⥻":"⥻","â«":"⫂","â«":"⫌","â":"⊋","â«":"⫀","â«":"⫈","â«":"⫔","â«":"⫖","â":"⇙","⤪":"⤪","Ã":"ß","â":"⌖","Ï":"τ","Å¥":"ť","Å£":"ţ","Ñ":"т","â":"⌕","ð±":"𝔱","θ":"θ","Ï":"ϑ","þ":"þ","Ã":"×","⨱":"⨱","⨰":"⨰","â¶":"⌶","⫱":"⫱","ð¥":"𝕥","â«":"⫚","â´":"‴","âµ":"▵","â":"≜","â¬":"◬","⨺":"⨺","⨹":"⨹","â§":"⧍","⨻":"⨻","â¢":"⏢","ð":"𝓉","Ñ":"ц","Ñ":"ћ","ŧ":"ŧ","⥣":"⥣","ú":"ú","Ñ":"ў","Å":"ŭ","û":"û","Ñ":"у","ű":"ű","⥾":"⥾","ð²":"𝔲","ù":"ù","â":"▀","â":"⌜","â":"⌏","â¸":"◸","Å«":"ū","ų":"ų","ð¦":"𝕦","Ï ":"υ","â":"⇈","â":"⌝","â":"⌎","ů":"ů","â¹":"◹","ð":"𝓊","â°":"⋰","Å©":"ũ","ü":"ü","⦧":"⦧","⫨":"⫨","â«©":"⫩","â¦":"⦜","âï¸":"⊊︀","â«ï¸":"⫋︀","âï¸":"⊋︀","â«ï¸":"⫌︀","в":"в","â»":"⊻","â":"≚","â®":"⋮","ð³":"𝔳","ð§":"𝕧","ð":"𝓋","â¦":"⦚","ŵ":"ŵ","â©":"⩟","â":"≙","â":"℘","ð´":"𝔴","ð¨":"𝕨","ð":"𝓌","ðµ":"𝔵","ξ":"ξ","â»":"⋻","ð©":"𝕩","ð":"𝓍","ý":"ý","Ñ":"я","Å·":"ŷ","Ñ":"ы","Â¥":"¥","ð¶":"𝔶","Ñ":"ї","ðª":"𝕪","ð":"𝓎","Ñ":"ю","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ζ":"ζ","ð·":"𝔷","ж":"ж","â":"⇝","ð«":"𝕫","ð":"𝓏","â":"‍","â":"‌"}}}; 2158 2159/***/ }), 2160
vendor: 676 bytes, lines 2161-2171
2161/***/ "./node_modules/html-entities/lib/numeric-unicode-map.js": 2162/*!***************************************************************!*\ 2163 !*** ./node_modules/html-entities/lib/numeric-unicode-map.js ***! 2164 \***************************************************************/ 2165/***/ ((__unused_webpack_module, exports) => { 2166 2167"use strict"; 2168Object.defineProperty(exports, "__esModule", ({value:true}));exports.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}; 2169 2170/***/ }), 2171
vendor: 858 bytes, lines 2172-2182
2172/***/ "./node_modules/html-entities/lib/surrogate-pairs.js": 2173/*!***********************************************************!*\ 2174 !*** ./node_modules/html-entities/lib/surrogate-pairs.js ***! 2175 \***********************************************************/ 2176/***/ ((__unused_webpack_module, exports) => { 2177 2178"use strict"; 2179Object.defineProperty(exports, "__esModule", ({value:true}));exports.fromCodePoint=String.fromCodePoint||function(astralCodePoint){return String.fromCharCode(Math.floor((astralCodePoint-65536)/1024)+55296,(astralCodePoint-65536)%1024+56320)};exports.getCodePoint=String.prototype.codePointAt?function(input,position){return input.codePointAt(position)}:function(input,position){return(input.charCodeAt(position)-55296)*1024+input.charCodeAt(position+1)-56320+65536};exports.highSurrogateFrom=55296;exports.highSurrogateTo=56319; 2180 2181/***/ }), 2182
vendor: 3,463 bytes, lines 2183-2266
2183/***/ "./node_modules/html-react-parser/lib/attributes-to-props.js": 2184/*!*******************************************************************!*\ 2185 !*** ./node_modules/html-react-parser/lib/attributes-to-props.js ***! 2186 \*******************************************************************/ 2187/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 2188 2189"use strict"; 2190 2191Object.defineProperty(exports, "__esModule", ({ value: true })); 2192exports["default"] = attributesToProps; 2193var react_property_1 = __webpack_require__(/*! react-property */ "./node_modules/react-property/lib/index.js"); 2194var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-react-parser/lib/utilities.js"); 2195// https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components 2196// https://developer.mozilla.org/docs/Web/HTML/Attributes 2197var UNCONTROLLED_COMPONENT_ATTRIBUTES = ['checked', 'value']; 2198var UNCONTROLLED_COMPONENT_NAMES = ['input', 'select', 'textarea']; 2199var valueOnlyInputs = { 2200 reset: true, 2201 submit: true, 2202}; 2203/** 2204 * Converts HTML/SVG DOM attributes to React props. 2205 * 2206 * @param attributes - HTML/SVG DOM attributes. 2207 * @param nodeName - DOM node name. 2208 * @returns - React props. 2209 */ 2210function attributesToProps(attributes, nodeName) { 2211 if (attributes === void 0) { attributes = {}; } 2212 var props = {}; 2213 var isInputValueOnly = Boolean(attributes.type && valueOnlyInputs[attributes.type]); 2214 for (var attributeName in attributes) { 2215 var attributeValue = attributes[attributeName]; 2216 // ARIA (aria-*) or custom data (data-*) attribute 2217 if ((0, react_property_1.isCustomAttribute)(attributeName)) { 2218 props[attributeName] = attributeValue; 2219 continue; 2220 } 2221 // convert HTML/SVG attribute to React prop 2222 var attributeNameLowerCased = attributeName.toLowerCase(); 2223 var propName = getPropName(attributeNameLowerCased); 2224 if (propName) { 2225 var propertyInfo = (0, react_property_1.getPropertyInfo)(propName); 2226 // convert attribute to uncontrolled component prop (e.g., `value` to `defaultValue`) 2227 if (UNCONTROLLED_COMPONENT_ATTRIBUTES.includes(propName) && 2228 UNCONTROLLED_COMPONENT_NAMES.includes(nodeName) && 2229 !isInputValueOnly) { 2230 propName = getPropName('default' + attributeNameLowerCased); 2231 } 2232 props[propName] = attributeValue; 2233 switch (propertyInfo && propertyInfo.type) { 2234 case react_property_1.BOOLEAN: 2235 props[propName] = true; 2236 break; 2237 case react_property_1.OVERLOADED_BOOLEAN: 2238 if (attributeValue === '') { 2239 props[propName] = true; 2240 } 2241 break; 2242 } 2243 continue; 2244 } 2245 // preserve custom attribute if React >=16 2246 if (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES) { 2247 props[attributeName] = attributeValue; 2248 } 2249 } 2250 // transform inline style to object 2251 (0, utilities_1.setStyleProp)(attributes.style, props); 2252 return props; 2253} 2254/** 2255 * Gets prop name from lowercased attribute name. 2256 * 2257 * @param attributeName - Lowercased attribute name. 2258 * @returns - Prop name. 2259 */ 2260function getPropName(attributeName) { 2261 return react_property_1.possibleStandardNames[attributeName]; 2262} 2263//# sourceMappingURL=attributes-to-props.js.map 2264 2265/***/ }), 2266
vendor: 5,631 bytes, lines 2267-2398
2267/***/ "./node_modules/html-react-parser/lib/dom-to-react.js": 2268/*!************************************************************!*\ 2269 !*** ./node_modules/html-react-parser/lib/dom-to-react.js ***! 2270 \************************************************************/ 2271/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2272 2273"use strict"; 2274 2275var __importDefault = (this && this.__importDefault) || function (mod) { 2276 return (mod && mod.__esModule) ? mod : { "default": mod }; 2277}; 2278Object.defineProperty(exports, "__esModule", ({ value: true })); 2279exports["default"] = domToReact; 2280var react_1 = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 2281var attributes_to_props_1 = __importDefault(__webpack_require__(/*! ./attributes-to-props */ "./node_modules/html-react-parser/lib/attributes-to-props.js")); 2282var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-react-parser/lib/utilities.js"); 2283var React = { 2284 cloneElement: react_1.cloneElement, 2285 createElement: react_1.createElement, 2286 isValidElement: react_1.isValidElement, 2287}; 2288/** 2289 * Converts DOM nodes to JSX element(s). 2290 * 2291 * @param nodes - DOM nodes. 2292 * @param options - Options. 2293 * @returns - String or JSX element(s). 2294 */ 2295function domToReact(nodes, options) { 2296 if (options === void 0) { options = {}; } 2297 var reactElements = []; 2298 var hasReplace = typeof options.replace === 'function'; 2299 var transform = options.transform || utilities_1.returnFirstArg; 2300 var _a = options.library || React, cloneElement = _a.cloneElement, createElement = _a.createElement, isValidElement = _a.isValidElement; 2301 var nodesLength = nodes.length; 2302 for (var index = 0; index < nodesLength; index++) { 2303 var node = nodes[index]; 2304 // replace with custom React element (if present) 2305 if (hasReplace) { 2306 var replaceElement = options.replace(node, index); 2307 if (isValidElement(replaceElement)) { 2308 // set "key" prop for sibling elements 2309 // https://react.dev/learn/rendering-lists#rules-of-keys 2310 if (nodesLength > 1) { 2311 replaceElement = cloneElement(replaceElement, { 2312 key: replaceElement.key || index, 2313 }); 2314 } 2315 reactElements.push(transform(replaceElement, node, index)); 2316 continue; 2317 } 2318 } 2319 if (node.type === 'text') { 2320 var isWhitespace = !node.data.trim().length; 2321 // We have a whitespace node that can't be nested in its parent 2322 // so skip it 2323 if (isWhitespace && 2324 node.parent && 2325 !(0, utilities_1.canTextBeChildOfNode)(node.parent)) { 2326 continue; 2327 } 2328 // Trim is enabled and we have a whitespace node 2329 // so skip it 2330 if (options.trim && isWhitespace) { 2331 continue; 2332 } 2333 // We have a text node that's not whitespace and it can be nested 2334 // in its parent so add it to the results 2335 reactElements.push(transform(node.data, node, index)); 2336 continue; 2337 } 2338 var element = node; 2339 var props = {}; 2340 if (skipAttributesToProps(element)) { 2341 (0, utilities_1.setStyleProp)(element.attribs.style, element.attribs); 2342 props = element.attribs; 2343 } 2344 else if (element.attribs) { 2345 props = (0, attributes_to_props_1.default)(element.attribs, element.name); 2346 } 2347 var children = void 0; 2348 switch (node.type) { 2349 case 'script': 2350 case 'style': 2351 // prevent text in <script> or <style> from being escaped 2352 // https://react.dev/reference/react-dom/components/common#dangerously-setting-the-inner-html 2353 if (node.children[0]) { 2354 props.dangerouslySetInnerHTML = { 2355 __html: node.children[0].data, 2356 }; 2357 } 2358 break; 2359 case 'tag': 2360 // setting textarea value in children is an antipattern in React 2361 // https://react.dev/reference/react-dom/components/textarea#caveats 2362 if (node.name === 'textarea' && node.children[0]) { 2363 props.defaultValue = node.children[0].data; 2364 } 2365 else if (node.children && node.children.length) { 2366 // continue recursion of creating React elements (if applicable) 2367 children = domToReact(node.children, options); 2368 } 2369 break; 2370 // skip all other cases (e.g., comment) 2371 default: 2372 continue; 2373 } 2374 // set "key" prop for sibling elements 2375 // https://react.dev/learn/rendering-lists#rules-of-keys 2376 if (nodesLength > 1) { 2377 props.key = index; 2378 } 2379 reactElements.push(transform(createElement(node.name, props, children), node, index)); 2380 } 2381 return reactElements.length === 1 ? reactElements[0] : reactElements; 2382} 2383/** 2384 * Determines whether DOM element attributes should be transformed to props. 2385 * Web Components should not have their attributes transformed except for `style`. 2386 * 2387 * @param node - Element node. 2388 * @returns - Whether the node attributes should be converted to props. 2389 */ 2390function skipAttributesToProps(node) { 2391 return (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES && 2392 node.type === 'tag' && 2393 (0, utilities_1.isCustomComponent)(node.name, node.attribs)); 2394} 2395//# sourceMappingURL=dom-to-react.js.map 2396 2397/***/ }), 2398
vendor: 2,591 bytes, lines 2399-2444
2399/***/ "./node_modules/html-react-parser/lib/index.js": 2400/*!*****************************************************!*\ 2401 !*** ./node_modules/html-react-parser/lib/index.js ***! 2402 \*****************************************************/ 2403/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2404 2405"use strict"; 2406 2407var __importDefault = (this && this.__importDefault) || function (mod) { 2408 return (mod && mod.__esModule) ? mod : { "default": mod }; 2409}; 2410Object.defineProperty(exports, "__esModule", ({ value: true })); 2411exports.htmlToDOM = exports.domToReact = exports.attributesToProps = exports.Text = exports.ProcessingInstruction = exports.Element = exports.Comment = void 0; 2412exports["default"] = HTMLReactParser; 2413var html_dom_parser_1 = __importDefault(__webpack_require__(/*! html-dom-parser */ "./node_modules/html-dom-parser/lib/client/html-to-dom.js")); 2414exports.htmlToDOM = html_dom_parser_1.default; 2415var attributes_to_props_1 = __importDefault(__webpack_require__(/*! ./attributes-to-props */ "./node_modules/html-react-parser/lib/attributes-to-props.js")); 2416exports.attributesToProps = attributes_to_props_1.default; 2417var dom_to_react_1 = __importDefault(__webpack_require__(/*! ./dom-to-react */ "./node_modules/html-react-parser/lib/dom-to-react.js")); 2418exports.domToReact = dom_to_react_1.default; 2419var domhandler_1 = __webpack_require__(/*! domhandler */ "./node_modules/html-react-parser/node_modules/domhandler/lib/index.js"); 2420Object.defineProperty(exports, "Comment", ({ enumerable: true, get: function () { return domhandler_1.Comment; } })); 2421Object.defineProperty(exports, "Element", ({ enumerable: true, get: function () { return domhandler_1.Element; } })); 2422Object.defineProperty(exports, "ProcessingInstruction", ({ enumerable: true, get: function () { return domhandler_1.ProcessingInstruction; } })); 2423Object.defineProperty(exports, "Text", ({ enumerable: true, get: function () { return domhandler_1.Text; } })); 2424var domParserOptions = { lowerCaseAttributeNames: false }; 2425/** 2426 * Converts HTML string to React elements. 2427 * 2428 * @param html - HTML string. 2429 * @param options - Parser options. 2430 * @returns - React element(s), empty array, or string. 2431 */ 2432function HTMLReactParser(html, options) { 2433 if (typeof html !== 'string') { 2434 throw new TypeError('First argument must be a string'); 2435 } 2436 if (!html) { 2437 return []; 2438 } 2439 return (0, dom_to_react_1.default)((0, html_dom_parser_1.default)(html, (options === null || options === void 0 ? void 0 : options.htmlparser2) || domParserOptions), options); 2440} 2441//# sourceMappingURL=index.js.map 2442 2443/***/ }), 2444
vendor: 3,642 bytes, lines 2445-2558
2445/***/ "./node_modules/html-react-parser/lib/utilities.js": 2446/*!*********************************************************!*\ 2447 !*** ./node_modules/html-react-parser/lib/utilities.js ***! 2448 \*********************************************************/ 2449/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2450 2451"use strict"; 2452 2453var __importDefault = (this && this.__importDefault) || function (mod) { 2454 return (mod && mod.__esModule) ? mod : { "default": mod }; 2455}; 2456Object.defineProperty(exports, "__esModule", ({ value: true })); 2457exports.returnFirstArg = exports.canTextBeChildOfNode = exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = exports.PRESERVE_CUSTOM_ATTRIBUTES = void 0; 2458exports.isCustomComponent = isCustomComponent; 2459exports.setStyleProp = setStyleProp; 2460var react_1 = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 2461var style_to_js_1 = __importDefault(__webpack_require__(/*! style-to-js */ "./node_modules/style-to-js/cjs/index.js")); 2462var RESERVED_SVG_MATHML_ELEMENTS = new Set([ 2463 'annotation-xml', 2464 'color-profile', 2465 'font-face', 2466 'font-face-src', 2467 'font-face-uri', 2468 'font-face-format', 2469 'font-face-name', 2470 'missing-glyph', 2471]); 2472/** 2473 * Check if a tag is a custom component. 2474 * 2475 * @see {@link https://github.com/facebook/react/blob/v16.6.3/packages/react-dom/src/shared/isCustomComponent.js} 2476 * 2477 * @param tagName - Tag name. 2478 * @param props - Props passed to the element. 2479 * @returns - Whether the tag is custom component. 2480 */ 2481function isCustomComponent(tagName, props) { 2482 if (!tagName.includes('-')) { 2483 return Boolean(props && typeof props.is === 'string'); 2484 } 2485 // These are reserved SVG and MathML elements. 2486 // We don't mind this whitelist too much because we expect it to never grow. 2487 // The alternative is to track the namespace in a few places which is convoluted. 2488 // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts 2489 if (RESERVED_SVG_MATHML_ELEMENTS.has(tagName)) { 2490 return false; 2491 } 2492 return true; 2493} 2494var styleOptions = { 2495 reactCompat: true, 2496}; 2497/** 2498 * Sets style prop. 2499 * 2500 * @param style - Inline style. 2501 * @param props - Props object. 2502 */ 2503function setStyleProp(style, props) { 2504 if (typeof style !== 'string') { 2505 return; 2506 } 2507 if (!style.trim()) { 2508 props.style = {}; 2509 return; 2510 } 2511 try { 2512 props.style = (0, style_to_js_1.default)(style, styleOptions); 2513 // eslint-disable-next-line @typescript-eslint/no-unused-vars 2514 } 2515 catch (error) { 2516 props.style = {}; 2517 } 2518} 2519/** 2520 * @see https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html 2521 */ 2522exports.PRESERVE_CUSTOM_ATTRIBUTES = Number(react_1.version.split('.')[0]) >= 16; 2523/** 2524 * @see https://github.com/facebook/react/blob/cae635054e17a6f107a39d328649137b83f25972/packages/react-dom/src/client/validateDOMNesting.js#L213 2525 */ 2526exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = new Set([ 2527 'tr', 2528 'tbody', 2529 'thead', 2530 'tfoot', 2531 'colgroup', 2532 'table', 2533 'head', 2534 'html', 2535 'frameset', 2536]); 2537/** 2538 * Checks if the given node can contain text nodes 2539 * 2540 * @param node - Element node. 2541 * @returns - Whether the node can contain text nodes. 2542 */ 2543var canTextBeChildOfNode = function (node) { 2544 return !exports.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(node.name); 2545}; 2546exports.canTextBeChildOfNode = canTextBeChildOfNode; 2547/** 2548 * Returns the first argument as is. 2549 * 2550 * @param arg - The argument to be returned. 2551 * @returns - The input argument `arg`. 2552 */ 2553var returnFirstArg = function (arg) { return arg; }; 2554exports.returnFirstArg = returnFirstArg; 2555//# sourceMappingURL=utilities.js.map 2556 2557/***/ }), 2558
vendor: 6,768 bytes, lines 2559-2734
2559/***/ "./node_modules/html-react-parser/node_modules/domhandler/lib/index.js": 2560/*!*****************************************************************************!*\ 2561 !*** ./node_modules/html-react-parser/node_modules/domhandler/lib/index.js ***! 2562 \*****************************************************************************/ 2563/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2564 2565"use strict"; 2566 2567var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 2568 if (k2 === undefined) k2 = k; 2569 var desc = Object.getOwnPropertyDescriptor(m, k); 2570 if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 2571 desc = { enumerable: true, get: function() { return m[k]; } }; 2572 } 2573 Object.defineProperty(o, k2, desc); 2574}) : (function(o, m, k, k2) { 2575 if (k2 === undefined) k2 = k; 2576 o[k2] = m[k]; 2577})); 2578var __exportStar = (this && this.__exportStar) || function(m, exports) { 2579 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 2580}; 2581Object.defineProperty(exports, "__esModule", ({ value: true })); 2582exports.DomHandler = void 0; 2583var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 2584var node_js_1 = __webpack_require__(/*! ./node.js */ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js"); 2585__exportStar(__webpack_require__(/*! ./node.js */ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js"), exports); 2586// Default options 2587var defaultOpts = { 2588 withStartIndices: false, 2589 withEndIndices: false, 2590 xmlMode: false, 2591}; 2592var DomHandler = /** @class */ (function () { 2593 /** 2594 * @param callback Called once parsing has completed. 2595 * @param options Settings for the handler. 2596 * @param elementCB Callback whenever a tag is closed. 2597 */ 2598 function DomHandler(callback, options, elementCB) { 2599 /** The elements of the DOM */ 2600 this.dom = []; 2601 /** The root element for the DOM */ 2602 this.root = new node_js_1.Document(this.dom); 2603 /** Indicated whether parsing has been completed. */ 2604 this.done = false; 2605 /** Stack of open tags. */ 2606 this.tagStack = [this.root]; 2607 /** A data node that is still being written to. */ 2608 this.lastNode = null; 2609 /** Reference to the parser instance. Used for location information. */ 2610 this.parser = null; 2611 // Make it possible to skip arguments, for backwards-compatibility 2612 if (typeof options === "function") { 2613 elementCB = options; 2614 options = defaultOpts; 2615 } 2616 if (typeof callback === "object") { 2617 options = callback; 2618 callback = undefined; 2619 } 2620 this.callback = callback !== null && callback !== void 0 ? callback : null; 2621 this.options = options !== null && options !== void 0 ? options : defaultOpts; 2622 this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null; 2623 } 2624 DomHandler.prototype.onparserinit = function (parser) { 2625 this.parser = parser; 2626 }; 2627 // Resets the handler back to starting state 2628 DomHandler.prototype.onreset = function () { 2629 this.dom = []; 2630 this.root = new node_js_1.Document(this.dom); 2631 this.done = false; 2632 this.tagStack = [this.root]; 2633 this.lastNode = null; 2634 this.parser = null; 2635 }; 2636 // Signals the handler that parsing is done 2637 DomHandler.prototype.onend = function () { 2638 if (this.done) 2639 return; 2640 this.done = true; 2641 this.parser = null; 2642 this.handleCallback(null); 2643 }; 2644 DomHandler.prototype.onerror = function (error) { 2645 this.handleCallback(error); 2646 }; 2647 DomHandler.prototype.onclosetag = function () { 2648 this.lastNode = null; 2649 var elem = this.tagStack.pop(); 2650 if (this.options.withEndIndices) { 2651 elem.endIndex = this.parser.endIndex; 2652 } 2653 if (this.elementCB) 2654 this.elementCB(elem); 2655 }; 2656 DomHandler.prototype.onopentag = function (name, attribs) { 2657 var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined; 2658 var element = new node_js_1.Element(name, attribs, undefined, type); 2659 this.addNode(element); 2660 this.tagStack.push(element); 2661 }; 2662 DomHandler.prototype.ontext = function (data) { 2663 var lastNode = this.lastNode; 2664 if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) { 2665 lastNode.data += data; 2666 if (this.options.withEndIndices) { 2667 lastNode.endIndex = this.parser.endIndex; 2668 } 2669 } 2670 else { 2671 var node = new node_js_1.Text(data); 2672 this.addNode(node); 2673 this.lastNode = node; 2674 } 2675 }; 2676 DomHandler.prototype.oncomment = function (data) { 2677 if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) { 2678 this.lastNode.data += data; 2679 return; 2680 } 2681 var node = new node_js_1.Comment(data); 2682 this.addNode(node); 2683 this.lastNode = node; 2684 }; 2685 DomHandler.prototype.oncommentend = function () { 2686 this.lastNode = null; 2687 }; 2688 DomHandler.prototype.oncdatastart = function () { 2689 var text = new node_js_1.Text(""); 2690 var node = new node_js_1.CDATA([text]); 2691 this.addNode(node); 2692 text.parent = node; 2693 this.lastNode = text; 2694 }; 2695 DomHandler.prototype.oncdataend = function () { 2696 this.lastNode = null; 2697 }; 2698 DomHandler.prototype.onprocessinginstruction = function (name, data) { 2699 var node = new node_js_1.ProcessingInstruction(name, data); 2700 this.addNode(node); 2701 }; 2702 DomHandler.prototype.handleCallback = function (error) { 2703 if (typeof this.callback === "function") { 2704 this.callback(error, this.dom); 2705 } 2706 else if (error) { 2707 throw error; 2708 } 2709 }; 2710 DomHandler.prototype.addNode = function (node) { 2711 var parent = this.tagStack[this.tagStack.length - 1]; 2712 var previousSibling = parent.children[parent.children.length - 1]; 2713 if (this.options.withStartIndices) { 2714 node.startIndex = this.parser.startIndex; 2715 } 2716 if (this.options.withEndIndices) { 2717 node.endIndex = this.parser.endIndex; 2718 } 2719 parent.children.push(node); 2720 if (previousSibling) { 2721 node.prev = previousSibling; 2722 previousSibling.next = node; 2723 } 2724 node.parent = parent; 2725 this.lastNode = null; 2726 }; 2727 return DomHandler; 2728}()); 2729exports.DomHandler = DomHandler; 2730exports["default"] = DomHandler; 2731 2732 2733/***/ }), 2734
vendor: 15,857 bytes, lines 2735-3219
2735/***/ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js": 2736/*!****************************************************************************!*\ 2737 !*** ./node_modules/html-react-parser/node_modules/domhandler/lib/node.js ***! 2738 \****************************************************************************/ 2739/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2740 2741"use strict"; 2742 2743var __extends = (this && this.__extends) || (function () { 2744 var extendStatics = function (d, b) { 2745 extendStatics = Object.setPrototypeOf || 2746 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 2747 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 2748 return extendStatics(d, b); 2749 }; 2750 return function (d, b) { 2751 if (typeof b !== "function" && b !== null) 2752 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 2753 extendStatics(d, b); 2754 function __() { this.constructor = d; } 2755 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 2756 }; 2757})(); 2758var __assign = (this && this.__assign) || function () { 2759 __assign = Object.assign || function(t) { 2760 for (var s, i = 1, n = arguments.length; i < n; i++) { 2761 s = arguments[i]; 2762 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 2763 t[p] = s[p]; 2764 } 2765 return t; 2766 }; 2767 return __assign.apply(this, arguments); 2768}; 2769Object.defineProperty(exports, "__esModule", ({ value: true })); 2770exports.cloneNode = exports.hasChildren = exports.isDocument = exports.isDirective = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = exports.Element = exports.Document = exports.CDATA = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0; 2771var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 2772/** 2773 * This object will be used as the prototype for Nodes when creating a 2774 * DOM-Level-1-compliant structure. 2775 */ 2776var Node = /** @class */ (function () { 2777 function Node() { 2778 /** Parent of the node */ 2779 this.parent = null; 2780 /** Previous sibling */ 2781 this.prev = null; 2782 /** Next sibling */ 2783 this.next = null; 2784 /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */ 2785 this.startIndex = null; 2786 /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */ 2787 this.endIndex = null; 2788 } 2789 Object.defineProperty(Node.prototype, "parentNode", { 2790 // Read-write aliases for properties 2791 /** 2792 * Same as {@link parent}. 2793 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2794 */ 2795 get: function () { 2796 return this.parent; 2797 }, 2798 set: function (parent) { 2799 this.parent = parent; 2800 }, 2801 enumerable: false, 2802 configurable: true 2803 }); 2804 Object.defineProperty(Node.prototype, "previousSibling", { 2805 /** 2806 * Same as {@link prev}. 2807 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2808 */ 2809 get: function () { 2810 return this.prev; 2811 }, 2812 set: function (prev) { 2813 this.prev = prev; 2814 }, 2815 enumerable: false, 2816 configurable: true 2817 }); 2818 Object.defineProperty(Node.prototype, "nextSibling", { 2819 /** 2820 * Same as {@link next}. 2821 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2822 */ 2823 get: function () { 2824 return this.next; 2825 }, 2826 set: function (next) { 2827 this.next = next; 2828 }, 2829 enumerable: false, 2830 configurable: true 2831 }); 2832 /** 2833 * Clone this node, and optionally its children. 2834 * 2835 * @param recursive Clone child nodes as well. 2836 * @returns A clone of the node. 2837 */ 2838 Node.prototype.cloneNode = function (recursive) { 2839 if (recursive === void 0) { recursive = false; } 2840 return cloneNode(this, recursive); 2841 }; 2842 return Node; 2843}()); 2844exports.Node = Node; 2845/** 2846 * A node that contains some data. 2847 */ 2848var DataNode = /** @class */ (function (_super) { 2849 __extends(DataNode, _super); 2850 /** 2851 * @param data The content of the data node 2852 */ 2853 function DataNode(data) { 2854 var _this = _super.call(this) || this; 2855 _this.data = data; 2856 return _this; 2857 } 2858 Object.defineProperty(DataNode.prototype, "nodeValue", { 2859 /** 2860 * Same as {@link data}. 2861 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2862 */ 2863 get: function () { 2864 return this.data; 2865 }, 2866 set: function (data) { 2867 this.data = data; 2868 }, 2869 enumerable: false, 2870 configurable: true 2871 }); 2872 return DataNode; 2873}(Node)); 2874exports.DataNode = DataNode; 2875/** 2876 * Text within the document. 2877 */ 2878var Text = /** @class */ (function (_super) { 2879 __extends(Text, _super); 2880 function Text() { 2881 var _this = _super !== null && _super.apply(this, arguments) || this; 2882 _this.type = domelementtype_1.ElementType.Text; 2883 return _this; 2884 } 2885 Object.defineProperty(Text.prototype, "nodeType", { 2886 get: function () { 2887 return 3; 2888 }, 2889 enumerable: false, 2890 configurable: true 2891 }); 2892 return Text; 2893}(DataNode)); 2894exports.Text = Text; 2895/** 2896 * Comments within the document. 2897 */ 2898var Comment = /** @class */ (function (_super) { 2899 __extends(Comment, _super); 2900 function Comment() { 2901 var _this = _super !== null && _super.apply(this, arguments) || this; 2902 _this.type = domelementtype_1.ElementType.Comment; 2903 return _this; 2904 } 2905 Object.defineProperty(Comment.prototype, "nodeType", { 2906 get: function () { 2907 return 8; 2908 }, 2909 enumerable: false, 2910 configurable: true 2911 }); 2912 return Comment; 2913}(DataNode)); 2914exports.Comment = Comment; 2915/** 2916 * Processing instructions, including doc types. 2917 */ 2918var ProcessingInstruction = /** @class */ (function (_super) { 2919 __extends(ProcessingInstruction, _super); 2920 function ProcessingInstruction(name, data) { 2921 var _this = _super.call(this, data) || this; 2922 _this.name = name; 2923 _this.type = domelementtype_1.ElementType.Directive; 2924 return _this; 2925 } 2926 Object.defineProperty(ProcessingInstruction.prototype, "nodeType", { 2927 get: function () { 2928 return 1; 2929 }, 2930 enumerable: false, 2931 configurable: true 2932 }); 2933 return ProcessingInstruction; 2934}(DataNode)); 2935exports.ProcessingInstruction = ProcessingInstruction; 2936/** 2937 * A `Node` that can have children. 2938 */ 2939var NodeWithChildren = /** @class */ (function (_super) { 2940 __extends(NodeWithChildren, _super); 2941 /** 2942 * @param children Children of the node. Only certain node types can have children. 2943 */ 2944 function NodeWithChildren(children) { 2945 var _this = _super.call(this) || this; 2946 _this.children = children; 2947 return _this; 2948 } 2949 Object.defineProperty(NodeWithChildren.prototype, "firstChild", { 2950 // Aliases 2951 /** First child of the node. */ 2952 get: function () { 2953 var _a; 2954 return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null; 2955 }, 2956 enumerable: false, 2957 configurable: true 2958 }); 2959 Object.defineProperty(NodeWithChildren.prototype, "lastChild", { 2960 /** Last child of the node. */ 2961 get: function () { 2962 return this.children.length > 0 2963 ? this.children[this.children.length - 1] 2964 : null; 2965 }, 2966 enumerable: false, 2967 configurable: true 2968 }); 2969 Object.defineProperty(NodeWithChildren.prototype, "childNodes", { 2970 /** 2971 * Same as {@link children}. 2972 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2973 */ 2974 get: function () { 2975 return this.children; 2976 }, 2977 set: function (children) { 2978 this.children = children; 2979 }, 2980 enumerable: false, 2981 configurable: true 2982 }); 2983 return NodeWithChildren; 2984}(Node)); 2985exports.NodeWithChildren = NodeWithChildren; 2986var CDATA = /** @class */ (function (_super) { 2987 __extends(CDATA, _super); 2988 function CDATA() { 2989 var _this = _super !== null && _super.apply(this, arguments) || this; 2990 _this.type = domelementtype_1.ElementType.CDATA; 2991 return _this; 2992 } 2993 Object.defineProperty(CDATA.prototype, "nodeType", { 2994 get: function () { 2995 return 4; 2996 }, 2997 enumerable: false, 2998 configurable: true 2999 }); 3000 return CDATA; 3001}(NodeWithChildren)); 3002exports.CDATA = CDATA; 3003/** 3004 * The root node of the document. 3005 */ 3006var Document = /** @class */ (function (_super) { 3007 __extends(Document, _super); 3008 function Document() { 3009 var _this = _super !== null && _super.apply(this, arguments) || this; 3010 _this.type = domelementtype_1.ElementType.Root; 3011 return _this; 3012 } 3013 Object.defineProperty(Document.prototype, "nodeType", { 3014 get: function () { 3015 return 9; 3016 }, 3017 enumerable: false, 3018 configurable: true 3019 }); 3020 return Document; 3021}(NodeWithChildren)); 3022exports.Document = Document; 3023/** 3024 * An element within the DOM. 3025 */ 3026var Element = /** @class */ (function (_super) { 3027 __extends(Element, _super); 3028 /** 3029 * @param name Name of the tag, eg. `div`, `span`. 3030 * @param attribs Object mapping attribute names to attribute values. 3031 * @param children Children of the node. 3032 */ 3033 function Element(name, attribs, children, type) { 3034 if (children === void 0) { children = []; } 3035 if (type === void 0) { type = name === "script" 3036 ? domelementtype_1.ElementType.Script 3037 : name === "style" 3038 ? domelementtype_1.ElementType.Style 3039 : domelementtype_1.ElementType.Tag; } 3040 var _this = _super.call(this, children) || this; 3041 _this.name = name; 3042 _this.attribs = attribs; 3043 _this.type = type; 3044 return _this; 3045 } 3046 Object.defineProperty(Element.prototype, "nodeType", { 3047 get: function () { 3048 return 1; 3049 }, 3050 enumerable: false, 3051 configurable: true 3052 }); 3053 Object.defineProperty(Element.prototype, "tagName", { 3054 // DOM Level 1 aliases 3055 /** 3056 * Same as {@link name}. 3057 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 3058 */ 3059 get: function () { 3060 return this.name; 3061 }, 3062 set: function (name) { 3063 this.name = name; 3064 }, 3065 enumerable: false, 3066 configurable: true 3067 }); 3068 Object.defineProperty(Element.prototype, "attributes", { 3069 get: function () { 3070 var _this = this; 3071 return Object.keys(this.attribs).map(function (name) { 3072 var _a, _b; 3073 return ({ 3074 name: name, 3075 value: _this.attribs[name], 3076 namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name], 3077 prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name], 3078 }); 3079 }); 3080 }, 3081 enumerable: false, 3082 configurable: true 3083 }); 3084 return Element; 3085}(NodeWithChildren)); 3086exports.Element = Element; 3087/** 3088 * @param node Node to check. 3089 * @returns `true` if the node is a `Element`, `false` otherwise. 3090 */ 3091function isTag(node) { 3092 return (0, domelementtype_1.isTag)(node); 3093} 3094exports.isTag = isTag; 3095/** 3096 * @param node Node to check. 3097 * @returns `true` if the node has the type `CDATA`, `false` otherwise. 3098 */ 3099function isCDATA(node) { 3100 return node.type === domelementtype_1.ElementType.CDATA; 3101} 3102exports.isCDATA = isCDATA; 3103/** 3104 * @param node Node to check. 3105 * @returns `true` if the node has the type `Text`, `false` otherwise. 3106 */ 3107function isText(node) { 3108 return node.type === domelementtype_1.ElementType.Text; 3109} 3110exports.isText = isText; 3111/** 3112 * @param node Node to check. 3113 * @returns `true` if the node has the type `Comment`, `false` otherwise. 3114 */ 3115function isComment(node) { 3116 return node.type === domelementtype_1.ElementType.Comment; 3117} 3118exports.isComment = isComment; 3119/** 3120 * @param node Node to check. 3121 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 3122 */ 3123function isDirective(node) { 3124 return node.type === domelementtype_1.ElementType.Directive; 3125} 3126exports.isDirective = isDirective; 3127/** 3128 * @param node Node to check. 3129 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 3130 */ 3131function isDocument(node) { 3132 return node.type === domelementtype_1.ElementType.Root; 3133} 3134exports.isDocument = isDocument; 3135/** 3136 * @param node Node to check. 3137 * @returns `true` if the node has children, `false` otherwise. 3138 */ 3139function hasChildren(node) { 3140 return Object.prototype.hasOwnProperty.call(node, "children"); 3141} 3142exports.hasChildren = hasChildren; 3143/** 3144 * Clone a node, and optionally its children. 3145 * 3146 * @param recursive Clone child nodes as well. 3147 * @returns A clone of the node. 3148 */ 3149function cloneNode(node, recursive) { 3150 if (recursive === void 0) { recursive = false; } 3151 var result; 3152 if (isText(node)) { 3153 result = new Text(node.data); 3154 } 3155 else if (isComment(node)) { 3156 result = new Comment(node.data); 3157 } 3158 else if (isTag(node)) { 3159 var children = recursive ? cloneChildren(node.children) : []; 3160 var clone_1 = new Element(node.name, __assign({}, node.attribs), children); 3161 children.forEach(function (child) { return (child.parent = clone_1); }); 3162 if (node.namespace != null) { 3163 clone_1.namespace = node.namespace; 3164 } 3165 if (node["x-attribsNamespace"]) { 3166 clone_1["x-attribsNamespace"] = __assign({}, node["x-attribsNamespace"]); 3167 } 3168 if (node["x-attribsPrefix"]) { 3169 clone_1["x-attribsPrefix"] = __assign({}, node["x-attribsPrefix"]); 3170 } 3171 result = clone_1; 3172 } 3173 else if (isCDATA(node)) { 3174 var children = recursive ? cloneChildren(node.children) : []; 3175 var clone_2 = new CDATA(children); 3176 children.forEach(function (child) { return (child.parent = clone_2); }); 3177 result = clone_2; 3178 } 3179 else if (isDocument(node)) { 3180 var children = recursive ? cloneChildren(node.children) : []; 3181 var clone_3 = new Document(children); 3182 children.forEach(function (child) { return (child.parent = clone_3); }); 3183 if (node["x-mode"]) { 3184 clone_3["x-mode"] = node["x-mode"]; 3185 } 3186 result = clone_3; 3187 } 3188 else if (isDirective(node)) { 3189 var instruction = new ProcessingInstruction(node.name, node.data); 3190 if (node["x-name"] != null) { 3191 instruction["x-name"] = node["x-name"]; 3192 instruction["x-publicId"] = node["x-publicId"]; 3193 instruction["x-systemId"] = node["x-systemId"]; 3194 } 3195 result = instruction; 3196 } 3197 else { 3198 throw new Error("Not implemented yet: ".concat(node.type)); 3199 } 3200 result.startIndex = node.startIndex; 3201 result.endIndex = node.endIndex; 3202 if (node.sourceCodeLocation != null) { 3203 result.sourceCodeLocation = node.sourceCodeLocation; 3204 } 3205 return result; 3206} 3207exports.cloneNode = cloneNode; 3208function cloneChildren(childs) { 3209 var children = childs.map(function (child) { return cloneNode(child, true); }); 3210 for (var i = 1; i < children.length; i++) { 3211 children[i].prev = children[i - 1]; 3212 children[i - 1].next = children[i]; 3213 } 3214 return children; 3215} 3216 3217 3218/***/ }), 3219
vendor: 5,353 bytes, lines 3220-3490
3220/***/ "./node_modules/inline-style-parser/index.js": 3221/*!***************************************************!*\ 3222 !*** ./node_modules/inline-style-parser/index.js ***! 3223 \***************************************************/ 3224/***/ ((module) => { 3225 3226// http://www.w3.org/TR/CSS21/grammar.html 3227// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027 3228var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g; 3229 3230var NEWLINE_REGEX = /\n/g; 3231var WHITESPACE_REGEX = /^\s*/; 3232 3233// declaration 3234var PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/; 3235var COLON_REGEX = /^:\s*/; 3236var VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/; 3237var SEMICOLON_REGEX = /^[;\s]*/; 3238 3239// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill 3240var TRIM_REGEX = /^\s+|\s+$/g; 3241 3242// strings 3243var NEWLINE = '\n'; 3244var FORWARD_SLASH = '/'; 3245var ASTERISK = '*'; 3246var EMPTY_STRING = ''; 3247 3248// types 3249var TYPE_COMMENT = 'comment'; 3250var TYPE_DECLARATION = 'declaration'; 3251 3252/** 3253 * @param {String} style 3254 * @param {Object} [options] 3255 * @return {Object[]} 3256 * @throws {TypeError} 3257 * @throws {Error} 3258 */ 3259module.exports = function (style, options) { 3260 if (typeof style !== 'string') { 3261 throw new TypeError('First argument must be a string'); 3262 } 3263 3264 if (!style) return []; 3265 3266 options = options || {}; 3267 3268 /** 3269 * Positional. 3270 */ 3271 var lineno = 1; 3272 var column = 1; 3273 3274 /** 3275 * Update lineno and column based on `str`. 3276 * 3277 * @param {String} str 3278 */ 3279 function updatePosition(str) { 3280 var lines = str.match(NEWLINE_REGEX); 3281 if (lines) lineno += lines.length; 3282 var i = str.lastIndexOf(NEWLINE); 3283 column = ~i ? str.length - i : column + str.length; 3284 } 3285 3286 /** 3287 * Mark position and patch `node.position`. 3288 * 3289 * @return {Function} 3290 */ 3291 function position() { 3292 var start = { line: lineno, column: column }; 3293 return function (node) { 3294 node.position = new Position(start); 3295 whitespace(); 3296 return node; 3297 }; 3298 } 3299 3300 /** 3301 * Store position information for a node. 3302 * 3303 * @constructor 3304 * @property {Object} start 3305 * @property {Object} end 3306 * @property {undefined|String} source 3307 */ 3308 function Position(start) { 3309 this.start = start; 3310 this.end = { line: lineno, column: column }; 3311 this.source = options.source; 3312 } 3313 3314 /** 3315 * Non-enumerable source string. 3316 */ 3317 Position.prototype.content = style; 3318 3319 var errorsList = []; 3320 3321 /** 3322 * Error `msg`. 3323 * 3324 * @param {String} msg 3325 * @throws {Error} 3326 */ 3327 function error(msg) { 3328 var err = new Error( 3329 options.source + ':' + lineno + ':' + column + ': ' + msg 3330 ); 3331 err.reason = msg; 3332 err.filename = options.source; 3333 err.line = lineno; 3334 err.column = column; 3335 err.source = style; 3336 3337 if (options.silent) { 3338 errorsList.push(err); 3339 } else { 3340 throw err; 3341 } 3342 } 3343 3344 /** 3345 * Match `re` and return captures. 3346 * 3347 * @param {RegExp} re 3348 * @return {undefined|Array} 3349 */ 3350 function match(re) { 3351 var m = re.exec(style); 3352 if (!m) return; 3353 var str = m[0]; 3354 updatePosition(str); 3355 style = style.slice(str.length); 3356 return m; 3357 } 3358 3359 /** 3360 * Parse whitespace. 3361 */ 3362 function whitespace() { 3363 match(WHITESPACE_REGEX); 3364 } 3365 3366 /** 3367 * Parse comments. 3368 * 3369 * @param {Object[]} [rules] 3370 * @return {Object[]} 3371 */ 3372 function comments(rules) { 3373 var c; 3374 rules = rules || []; 3375 while ((c = comment())) { 3376 if (c !== false) { 3377 rules.push(c); 3378 } 3379 } 3380 return rules; 3381 } 3382 3383 /** 3384 * Parse comment. 3385 * 3386 * @return {Object} 3387 * @throws {Error} 3388 */ 3389 function comment() { 3390 var pos = position(); 3391 if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return; 3392 3393 var i = 2; 3394 while ( 3395 EMPTY_STRING != style.charAt(i) && 3396 (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1)) 3397 ) { 3398 ++i; 3399 } 3400 i += 2; 3401 3402 if (EMPTY_STRING === style.charAt(i - 1)) { 3403 return error('End of comment missing'); 3404 } 3405 3406 var str = style.slice(2, i - 2); 3407 column += 2; 3408 updatePosition(str); 3409 style = style.slice(i); 3410 column += 2; 3411 3412 return pos({ 3413 type: TYPE_COMMENT, 3414 comment: str 3415 }); 3416 } 3417 3418 /** 3419 * Parse declaration. 3420 * 3421 * @return {Object} 3422 * @throws {Error} 3423 */ 3424 function declaration() { 3425 var pos = position(); 3426 3427 // prop 3428 var prop = match(PROPERTY_REGEX); 3429 if (!prop) return; 3430 comment(); 3431 3432 // : 3433 if (!match(COLON_REGEX)) return error("property missing ':'"); 3434 3435 // val 3436 var val = match(VALUE_REGEX); 3437 3438 var ret = pos({ 3439 type: TYPE_DECLARATION, 3440 property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)), 3441 value: val 3442 ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING)) 3443 : EMPTY_STRING 3444 }); 3445 3446 // ; 3447 match(SEMICOLON_REGEX); 3448 3449 return ret; 3450 } 3451 3452 /** 3453 * Parse declarations. 3454 * 3455 * @return {Object[]} 3456 */ 3457 function declarations() { 3458 var decls = []; 3459 3460 comments(decls); 3461 3462 // declarations 3463 var decl; 3464 while ((decl = declaration())) { 3465 if (decl !== false) { 3466 decls.push(decl); 3467 comments(decls); 3468 } 3469 } 3470 3471 return decls; 3472 } 3473 3474 whitespace(); 3475 return declarations(); 3476}; 3477 3478/** 3479 * Trim `str`. 3480 * 3481 * @param {String} str 3482 * @return {String} 3483 */ 3484function trim(str) { 3485 return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING; 3486} 3487 3488 3489/***/ }), 3490
vendor: 2,343 bytes, lines 3491-3591
3491/***/ "./node_modules/object-assign/index.js": 3492/*!*********************************************!*\ 3493 !*** ./node_modules/object-assign/index.js ***! 3494 \*********************************************/ 3495/***/ ((module) => { 3496 3497"use strict"; 3498/* 3499object-assign 3500(c) Sindre Sorhus 3501@license MIT 3502*/ 3503 3504 3505/* eslint-disable no-unused-vars */ 3506var getOwnPropertySymbols = Object.getOwnPropertySymbols; 3507var hasOwnProperty = Object.prototype.hasOwnProperty; 3508var propIsEnumerable = Object.prototype.propertyIsEnumerable; 3509 3510function toObject(val) { 3511 if (val === null || val === undefined) { 3512 throw new TypeError('Object.assign cannot be called with null or undefined'); 3513 } 3514 3515 return Object(val); 3516} 3517 3518function shouldUseNative() { 3519 try { 3520 if (!Object.assign) { 3521 return false; 3522 } 3523 3524 // Detect buggy property enumeration order in older V8 versions. 3525 3526 // https://bugs.chromium.org/p/v8/issues/detail?id=4118 3527 var test1 = new String('abc'); // eslint-disable-line no-new-wrappers 3528 test1[5] = 'de'; 3529 if (Object.getOwnPropertyNames(test1)[0] === '5') { 3530 return false; 3531 } 3532 3533 // https://bugs.chromium.org/p/v8/issues/detail?id=3056 3534 var test2 = {}; 3535 for (var i = 0; i < 10; i++) { 3536 test2['_' + String.fromCharCode(i)] = i; 3537 } 3538 var order2 = Object.getOwnPropertyNames(test2).map(function (n) { 3539 return test2[n]; 3540 }); 3541 if (order2.join('') !== '0123456789') { 3542 return false; 3543 } 3544 3545 // https://bugs.chromium.org/p/v8/issues/detail?id=3056 3546 var test3 = {}; 3547 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { 3548 test3[letter] = letter; 3549 }); 3550 if (Object.keys(Object.assign({}, test3)).join('') !== 3551 'abcdefghijklmnopqrst') { 3552 return false; 3553 } 3554 3555 return true; 3556 } catch (err) { 3557 // We don't expect any of the above to throw, but better to be safe. 3558 return false; 3559 } 3560} 3561 3562module.exports = shouldUseNative() ? Object.assign : function (target, source) { 3563 var from; 3564 var to = toObject(target); 3565 var symbols; 3566 3567 for (var s = 1; s < arguments.length; s++) { 3568 from = Object(arguments[s]); 3569 3570 for (var key in from) { 3571 if (hasOwnProperty.call(from, key)) { 3572 to[key] = from[key]; 3573 } 3574 } 3575 3576 if (getOwnPropertySymbols) { 3577 symbols = getOwnPropertySymbols(from); 3578 for (var i = 0; i < symbols.length; i++) { 3579 if (propIsEnumerable.call(from, symbols[i])) { 3580 to[symbols[i]] = from[symbols[i]]; 3581 } 3582 } 3583 } 3584 } 3585 3586 return to; 3587}; 3588 3589 3590/***/ }), 3591
vendor: 4,204 bytes, lines 3592-3705
3592/***/ "./node_modules/prop-types/checkPropTypes.js": 3593/*!***************************************************!*\ 3594 !*** ./node_modules/prop-types/checkPropTypes.js ***! 3595 \***************************************************/ 3596/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 3597 3598"use strict"; 3599/** 3600 * Copyright (c) 2013-present, Facebook, Inc. 3601 * 3602 * This source code is licensed under the MIT license found in the 3603 * LICENSE file in the root directory of this source tree. 3604 */ 3605 3606 3607 3608var printWarning = function() {}; 3609 3610if (true) { 3611 var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js"); 3612 var loggedTypeFailures = {}; 3613 var has = __webpack_require__(/*! ./lib/has */ "./node_modules/prop-types/lib/has.js"); 3614 3615 printWarning = function(text) { 3616 var message = 'Warning: ' + text; 3617 if (typeof console !== 'undefined') { 3618 console.error(message); 3619 } 3620 try { 3621 // --- Welcome to debugging React --- 3622 // This error was thrown as a convenience so that you can use this stack 3623 // to find the callsite that caused this warning to fire. 3624 throw new Error(message); 3625 } catch (x) { /**/ } 3626 }; 3627} 3628 3629/** 3630 * Assert that the values match with the type specs. 3631 * Error messages are memorized and will only be shown once. 3632 * 3633 * @param {object} typeSpecs Map of name to a ReactPropType 3634 * @param {object} values Runtime values that need to be type-checked 3635 * @param {string} location e.g. "prop", "context", "child context" 3636 * @param {string} componentName Name of the component for error messages. 3637 * @param {?Function} getStack Returns the component stack. 3638 * @private 3639 */ 3640function checkPropTypes(typeSpecs, values, location, componentName, getStack) { 3641 if (true) { 3642 for (var typeSpecName in typeSpecs) { 3643 if (has(typeSpecs, typeSpecName)) { 3644 var error; 3645 // Prop type validation may throw. In case they do, we don't want to 3646 // fail the render phase where it didn't fail before. So we log it. 3647 // After these have been cleaned up, we'll let them throw. 3648 try { 3649 // This is intentionally an invariant that gets caught. It's the same 3650 // behavior as without this statement except with a better message. 3651 if (typeof typeSpecs[typeSpecName] !== 'function') { 3652 var err = Error( 3653 (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 3654 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 3655 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.' 3656 ); 3657 err.name = 'Invariant Violation'; 3658 throw err; 3659 } 3660 error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret); 3661 } catch (ex) { 3662 error = ex; 3663 } 3664 if (error && !(error instanceof Error)) { 3665 printWarning( 3666 (componentName || 'React class') + ': type specification of ' + 3667 location + ' `' + typeSpecName + '` is invalid; the type checker ' + 3668 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 3669 'You may have forgotten to pass an argument to the type checker ' + 3670 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 3671 'shape all require an argument).' 3672 ); 3673 } 3674 if (error instanceof Error && !(error.message in loggedTypeFailures)) { 3675 // Only monitor this failure once because there tends to be a lot of the 3676 // same error. 3677 loggedTypeFailures[error.message] = true; 3678 3679 var stack = getStack ? getStack() : ''; 3680 3681 printWarning( 3682 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '') 3683 ); 3684 } 3685 } 3686 } 3687 } 3688} 3689 3690/** 3691 * Resets warning cache when testing. 3692 * 3693 * @private 3694 */ 3695checkPropTypes.resetWarningCache = function() { 3696 if (true) { 3697 loggedTypeFailures = {}; 3698 } 3699} 3700 3701module.exports = checkPropTypes; 3702 3703 3704/***/ }), 3705
vendor: 613 bytes, lines 3706-3728
3706/***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js": 3707/*!*************************************************************!*\ 3708 !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***! 3709 \*************************************************************/ 3710/***/ ((module) => { 3711 3712"use strict"; 3713/** 3714 * Copyright (c) 2013-present, Facebook, Inc. 3715 * 3716 * This source code is licensed under the MIT license found in the 3717 * LICENSE file in the root directory of this source tree. 3718 */ 3719 3720 3721 3722var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; 3723 3724module.exports = ReactPropTypesSecret; 3725 3726 3727/***/ }), 3728
vendor: 300 bytes, lines 3729-3739
3729/***/ "./node_modules/prop-types/lib/has.js": 3730/*!********************************************!*\ 3731 !*** ./node_modules/prop-types/lib/has.js ***! 3732 \********************************************/ 3733/***/ ((module) => { 3734 3735module.exports = Function.call.bind(Object.prototype.hasOwnProperty); 3736 3737 3738/***/ }), 3739
vendor: 14,478 bytes, lines 3740-4270
3740/***/ "./node_modules/react-property/lib/index.js": 3741/*!**************************************************!*\ 3742 !*** ./node_modules/react-property/lib/index.js ***! 3743 \**************************************************/ 3744/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 3745 3746"use strict"; 3747 3748 3749/** 3750 * Copyright (c) Facebook, Inc. and its affiliates. 3751 * 3752 * This source code is licensed under the MIT license found in the 3753 * LICENSE file in the root directory of this source tree. 3754 * 3755 * 3756 */ 3757 3758 3759 3760 3761// A reserved attribute. 3762// It is handled by React separately and shouldn't be written to the DOM. 3763const RESERVED = 0; 3764 3765// A simple string attribute. 3766// Attributes that aren't in the filter are presumed to have this type. 3767const STRING = 1; 3768 3769// A string attribute that accepts booleans in React. In HTML, these are called 3770// "enumerated" attributes with "true" and "false" as possible values. 3771// When true, it should be set to a "true" string. 3772// When false, it should be set to a "false" string. 3773const BOOLEANISH_STRING = 2; 3774 3775// A real boolean attribute. 3776// When true, it should be present (set either to an empty string or its name). 3777// When false, it should be omitted. 3778const BOOLEAN = 3; 3779 3780// An attribute that can be used as a flag as well as with a value. 3781// When true, it should be present (set either to an empty string or its name). 3782// When false, it should be omitted. 3783// For any other value, should be present with that value. 3784const OVERLOADED_BOOLEAN = 4; 3785 3786// An attribute that must be numeric or parse as a numeric. 3787// When falsy, it should be removed. 3788const NUMERIC = 5; 3789 3790// An attribute that must be positive numeric or parse as a positive numeric. 3791// When falsy, it should be removed. 3792const POSITIVE_NUMERIC = 6; 3793 3794function getPropertyInfo(name) { 3795 return properties.hasOwnProperty(name) ? properties[name] : null; 3796} 3797 3798function PropertyInfoRecord( 3799 name, 3800 type, 3801 mustUseProperty, 3802 attributeName, 3803 attributeNamespace, 3804 sanitizeURL, 3805 removeEmptyString, 3806) { 3807 this.acceptsBooleans = 3808 type === BOOLEANISH_STRING || 3809 type === BOOLEAN || 3810 type === OVERLOADED_BOOLEAN; 3811 this.attributeName = attributeName; 3812 this.attributeNamespace = attributeNamespace; 3813 this.mustUseProperty = mustUseProperty; 3814 this.propertyName = name; 3815 this.type = type; 3816 this.sanitizeURL = sanitizeURL; 3817 this.removeEmptyString = removeEmptyString; 3818} 3819 3820// When adding attributes to this list, be sure to also add them to 3821// the `possibleStandardNames` module to ensure casing and incorrect 3822// name warnings. 3823const properties = {}; 3824 3825// These props are reserved by React. They shouldn't be written to the DOM. 3826const reservedProps = [ 3827 'children', 3828 'dangerouslySetInnerHTML', 3829 // TODO: This prevents the assignment of defaultValue to regular 3830 // elements (not just inputs). Now that ReactDOMInput assigns to the 3831 // defaultValue property -- do we need this? 3832 'defaultValue', 3833 'defaultChecked', 3834 'innerHTML', 3835 'suppressContentEditableWarning', 3836 'suppressHydrationWarning', 3837 'style', 3838]; 3839 3840reservedProps.forEach(name => { 3841 properties[name] = new PropertyInfoRecord( 3842 name, 3843 RESERVED, 3844 false, // mustUseProperty 3845 name, // attributeName 3846 null, // attributeNamespace 3847 false, // sanitizeURL 3848 false, // removeEmptyString 3849 ); 3850}); 3851 3852// A few React string attributes have a different name. 3853// This is a mapping from React prop names to the attribute names. 3854[ 3855 ['acceptCharset', 'accept-charset'], 3856 ['className', 'class'], 3857 ['htmlFor', 'for'], 3858 ['httpEquiv', 'http-equiv'], 3859].forEach(([name, attributeName]) => { 3860 properties[name] = new PropertyInfoRecord( 3861 name, 3862 STRING, 3863 false, // mustUseProperty 3864 attributeName, // attributeName 3865 null, // attributeNamespace 3866 false, // sanitizeURL 3867 false, // removeEmptyString 3868 ); 3869}); 3870 3871// These are "enumerated" HTML attributes that accept "true" and "false". 3872// In React, we let users pass `true` and `false` even though technically 3873// these aren't boolean attributes (they are coerced to strings). 3874['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(name => { 3875 properties[name] = new PropertyInfoRecord( 3876 name, 3877 BOOLEANISH_STRING, 3878 false, // mustUseProperty 3879 name.toLowerCase(), // attributeName 3880 null, // attributeNamespace 3881 false, // sanitizeURL 3882 false, // removeEmptyString 3883 ); 3884}); 3885 3886// These are "enumerated" SVG attributes that accept "true" and "false". 3887// In React, we let users pass `true` and `false` even though technically 3888// these aren't boolean attributes (they are coerced to strings). 3889// Since these are SVG attributes, their attribute names are case-sensitive. 3890[ 3891 'autoReverse', 3892 'externalResourcesRequired', 3893 'focusable', 3894 'preserveAlpha', 3895].forEach(name => { 3896 properties[name] = new PropertyInfoRecord( 3897 name, 3898 BOOLEANISH_STRING, 3899 false, // mustUseProperty 3900 name, // attributeName 3901 null, // attributeNamespace 3902 false, // sanitizeURL 3903 false, // removeEmptyString 3904 ); 3905}); 3906 3907// These are HTML boolean attributes. 3908[ 3909 'allowFullScreen', 3910 'async', 3911 // Note: there is a special case that prevents it from being written to the DOM 3912 // on the client side because the browsers are inconsistent. Instead we call focus(). 3913 'autoFocus', 3914 'autoPlay', 3915 'controls', 3916 'default', 3917 'defer', 3918 'disabled', 3919 'disablePictureInPicture', 3920 'disableRemotePlayback', 3921 'formNoValidate', 3922 'hidden', 3923 'loop', 3924 'noModule', 3925 'noValidate', 3926 'open', 3927 'playsInline', 3928 'readOnly', 3929 'required', 3930 'reversed', 3931 'scoped', 3932 'seamless', 3933 // Microdata 3934 'itemScope', 3935].forEach(name => { 3936 properties[name] = new PropertyInfoRecord( 3937 name, 3938 BOOLEAN, 3939 false, // mustUseProperty 3940 name.toLowerCase(), // attributeName 3941 null, // attributeNamespace 3942 false, // sanitizeURL 3943 false, // removeEmptyString 3944 ); 3945}); 3946 3947// These are the few React props that we set as DOM properties 3948// rather than attributes. These are all booleans. 3949[ 3950 'checked', 3951 // Note: `option.selected` is not updated if `select.multiple` is 3952 // disabled with `removeAttribute`. We have special logic for handling this. 3953 'multiple', 3954 'muted', 3955 'selected', 3956 3957 // NOTE: if you add a camelCased prop to this list, 3958 // you'll need to set attributeName to name.toLowerCase() 3959 // instead in the assignment below. 3960].forEach(name => { 3961 properties[name] = new PropertyInfoRecord( 3962 name, 3963 BOOLEAN, 3964 true, // mustUseProperty 3965 name, // attributeName 3966 null, // attributeNamespace 3967 false, // sanitizeURL 3968 false, // removeEmptyString 3969 ); 3970}); 3971 3972// These are HTML attributes that are "overloaded booleans": they behave like 3973// booleans, but can also accept a string value. 3974[ 3975 'capture', 3976 'download', 3977 3978 // NOTE: if you add a camelCased prop to this list, 3979 // you'll need to set attributeName to name.toLowerCase() 3980 // instead in the assignment below. 3981].forEach(name => { 3982 properties[name] = new PropertyInfoRecord( 3983 name, 3984 OVERLOADED_BOOLEAN, 3985 false, // mustUseProperty 3986 name, // attributeName 3987 null, // attributeNamespace 3988 false, // sanitizeURL 3989 false, // removeEmptyString 3990 ); 3991}); 3992 3993// These are HTML attributes that must be positive numbers. 3994[ 3995 'cols', 3996 'rows', 3997 'size', 3998 'span', 3999 4000 // NOTE: if you add a camelCased prop to this list, 4001 // you'll need to set attributeName to name.toLowerCase() 4002 // instead in the assignment below. 4003].forEach(name => { 4004 properties[name] = new PropertyInfoRecord( 4005 name, 4006 POSITIVE_NUMERIC, 4007 false, // mustUseProperty 4008 name, // attributeName 4009 null, // attributeNamespace 4010 false, // sanitizeURL 4011 false, // removeEmptyString 4012 ); 4013}); 4014 4015// These are HTML attributes that must be numbers. 4016['rowSpan', 'start'].forEach(name => { 4017 properties[name] = new PropertyInfoRecord( 4018 name, 4019 NUMERIC, 4020 false, // mustUseProperty 4021 name.toLowerCase(), // attributeName 4022 null, // attributeNamespace 4023 false, // sanitizeURL 4024 false, // removeEmptyString 4025 ); 4026}); 4027 4028const CAMELIZE = /[\-\:]([a-z])/g; 4029const capitalize = token => token[1].toUpperCase(); 4030 4031// This is a list of all SVG attributes that need special casing, namespacing, 4032// or boolean value assignment. Regular attributes that just accept strings 4033// and have the same names are omitted, just like in the HTML attribute filter. 4034// Some of these attributes can be hard to find. This list was created by 4035// scraping the MDN documentation. 4036[ 4037 'accent-height', 4038 'alignment-baseline', 4039 'arabic-form', 4040 'baseline-shift', 4041 'cap-height', 4042 'clip-path', 4043 'clip-rule', 4044 'color-interpolation', 4045 'color-interpolation-filters', 4046 'color-profile', 4047 'color-rendering', 4048 'dominant-baseline', 4049 'enable-background', 4050 'fill-opacity', 4051 'fill-rule', 4052 'flood-color', 4053 'flood-opacity', 4054 'font-family', 4055 'font-size', 4056 'font-size-adjust', 4057 'font-stretch', 4058 'font-style', 4059 'font-variant', 4060 'font-weight', 4061 'glyph-name', 4062 'glyph-orientation-horizontal', 4063 'glyph-orientation-vertical', 4064 'horiz-adv-x', 4065 'horiz-origin-x', 4066 'image-rendering', 4067 'letter-spacing', 4068 'lighting-color', 4069 'marker-end', 4070 'marker-mid', 4071 'marker-start', 4072 'overline-position', 4073 'overline-thickness', 4074 'paint-order', 4075 'panose-1', 4076 'pointer-events', 4077 'rendering-intent', 4078 'shape-rendering', 4079 'stop-color', 4080 'stop-opacity', 4081 'strikethrough-position', 4082 'strikethrough-thickness', 4083 'stroke-dasharray', 4084 'stroke-dashoffset', 4085 'stroke-linecap', 4086 'stroke-linejoin', 4087 'stroke-miterlimit', 4088 'stroke-opacity', 4089 'stroke-width', 4090 'text-anchor', 4091 'text-decoration', 4092 'text-rendering', 4093 'underline-position', 4094 'underline-thickness', 4095 'unicode-bidi', 4096 'unicode-range', 4097 'units-per-em', 4098 'v-alphabetic', 4099 'v-hanging', 4100 'v-ideographic', 4101 'v-mathematical', 4102 'vector-effect', 4103 'vert-adv-y', 4104 'vert-origin-x', 4105 'vert-origin-y', 4106 'word-spacing', 4107 'writing-mode', 4108 'xmlns:xlink', 4109 'x-height', 4110 4111 // NOTE: if you add a camelCased prop to this list, 4112 // you'll need to set attributeName to name.toLowerCase() 4113 // instead in the assignment below. 4114].forEach(attributeName => { 4115 const name = attributeName.replace(CAMELIZE, capitalize); 4116 properties[name] = new PropertyInfoRecord( 4117 name, 4118 STRING, 4119 false, // mustUseProperty 4120 attributeName, 4121 null, // attributeNamespace 4122 false, // sanitizeURL 4123 false, // removeEmptyString 4124 ); 4125}); 4126 4127// String SVG attributes with the xlink namespace. 4128[ 4129 'xlink:actuate', 4130 'xlink:arcrole', 4131 'xlink:role', 4132 'xlink:show', 4133 'xlink:title', 4134 'xlink:type', 4135 4136 // NOTE: if you add a camelCased prop to this list, 4137 // you'll need to set attributeName to name.toLowerCase() 4138 // instead in the assignment below. 4139].forEach(attributeName => { 4140 const name = attributeName.replace(CAMELIZE, capitalize); 4141 properties[name] = new PropertyInfoRecord( 4142 name, 4143 STRING, 4144 false, // mustUseProperty 4145 attributeName, 4146 'http://www.w3.org/1999/xlink', 4147 false, // sanitizeURL 4148 false, // removeEmptyString 4149 ); 4150}); 4151 4152// String SVG attributes with the xml namespace. 4153[ 4154 'xml:base', 4155 'xml:lang', 4156 'xml:space', 4157 4158 // NOTE: if you add a camelCased prop to this list, 4159 // you'll need to set attributeName to name.toLowerCase() 4160 // instead in the assignment below. 4161].forEach(attributeName => { 4162 const name = attributeName.replace(CAMELIZE, capitalize); 4163 properties[name] = new PropertyInfoRecord( 4164 name, 4165 STRING, 4166 false, // mustUseProperty 4167 attributeName, 4168 'http://www.w3.org/XML/1998/namespace', 4169 false, // sanitizeURL 4170 false, // removeEmptyString 4171 ); 4172}); 4173 4174// These attribute exists both in HTML and SVG. 4175// The attribute name is case-sensitive in SVG so we can't just use 4176// the React name like we do for attributes that exist only in HTML. 4177['tabIndex', 'crossOrigin'].forEach(attributeName => { 4178 properties[attributeName] = new PropertyInfoRecord( 4179 attributeName, 4180 STRING, 4181 false, // mustUseProperty 4182 attributeName.toLowerCase(), // attributeName 4183 null, // attributeNamespace 4184 false, // sanitizeURL 4185 false, // removeEmptyString 4186 ); 4187}); 4188 4189// These attributes accept URLs. These must not allow javascript: URLS. 4190// These will also need to accept Trusted Types object in the future. 4191const xlinkHref = 'xlinkHref'; 4192properties[xlinkHref] = new PropertyInfoRecord( 4193 'xlinkHref', 4194 STRING, 4195 false, // mustUseProperty 4196 'xlink:href', 4197 'http://www.w3.org/1999/xlink', 4198 true, // sanitizeURL 4199 false, // removeEmptyString 4200); 4201 4202['src', 'href', 'action', 'formAction'].forEach(attributeName => { 4203 properties[attributeName] = new PropertyInfoRecord( 4204 attributeName, 4205 STRING, 4206 false, // mustUseProperty 4207 attributeName.toLowerCase(), // attributeName 4208 null, // attributeNamespace 4209 true, // sanitizeURL 4210 true, // removeEmptyString 4211 ); 4212}); 4213 4214// 4215const { 4216 CAMELCASE, 4217 SAME, 4218 possibleStandardNames: possibleStandardNamesOptimized 4219} = __webpack_require__(/*! ../lib/possibleStandardNamesOptimized */ "./node_modules/react-property/lib/possibleStandardNamesOptimized.js"); 4220 4221const ATTRIBUTE_NAME_START_CHAR = 4222 ':A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD'; 4223 4224const ATTRIBUTE_NAME_CHAR = 4225 ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040'; 4226 4227/** 4228 * Checks whether a property name is a custom attribute. 4229 * 4230 * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L23-L25 4231 * 4232 * @type {(attribute: string) => boolean} 4233 */ 4234const isCustomAttribute = 4235 RegExp.prototype.test.bind( 4236 // eslint-disable-next-line no-misleading-character-class 4237 new RegExp('^(data|aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$') 4238 ); 4239 4240/** 4241 * @type {Record<string, string>} 4242 */ 4243const possibleStandardNames = Object.keys( 4244 possibleStandardNamesOptimized 4245).reduce((accumulator, standardName) => { 4246 const propName = possibleStandardNamesOptimized[standardName]; 4247 if (propName === SAME) { 4248 accumulator[standardName] = standardName; 4249 } else if (propName === CAMELCASE) { 4250 accumulator[standardName.toLowerCase()] = standardName; 4251 } else { 4252 accumulator[standardName] = propName; 4253 } 4254 return accumulator; 4255}, {}); 4256 4257exports.BOOLEAN = BOOLEAN; 4258exports.BOOLEANISH_STRING = BOOLEANISH_STRING; 4259exports.NUMERIC = NUMERIC; 4260exports.OVERLOADED_BOOLEAN = OVERLOADED_BOOLEAN; 4261exports.POSITIVE_NUMERIC = POSITIVE_NUMERIC; 4262exports.RESERVED = RESERVED; 4263exports.STRING = STRING; 4264exports.getPropertyInfo = getPropertyInfo; 4265exports.isCustomAttribute = isCustomAttribute; 4266exports.possibleStandardNames = possibleStandardNames; 4267 4268 4269/***/ }), 4270
vendor: 10,044 bytes, lines 4271-4773
4271/***/ "./node_modules/react-property/lib/possibleStandardNamesOptimized.js": 4272/*!***************************************************************************!*\ 4273 !*** ./node_modules/react-property/lib/possibleStandardNamesOptimized.js ***! 4274 \***************************************************************************/ 4275/***/ ((__unused_webpack_module, exports) => { 4276 4277// An attribute in which the DOM/SVG standard name is the same as the React prop name (e.g., 'accept'). 4278var SAME = 0; 4279exports.SAME = SAME; 4280 4281// An attribute in which the React prop name is the camelcased version of the DOM/SVG standard name (e.g., 'acceptCharset'). 4282var CAMELCASE = 1; 4283exports.CAMELCASE = CAMELCASE; 4284 4285exports.possibleStandardNames = { 4286 accept: 0, 4287 acceptCharset: 1, 4288 'accept-charset': 'acceptCharset', 4289 accessKey: 1, 4290 action: 0, 4291 allowFullScreen: 1, 4292 alt: 0, 4293 as: 0, 4294 async: 0, 4295 autoCapitalize: 1, 4296 autoComplete: 1, 4297 autoCorrect: 1, 4298 autoFocus: 1, 4299 autoPlay: 1, 4300 autoSave: 1, 4301 capture: 0, 4302 cellPadding: 1, 4303 cellSpacing: 1, 4304 challenge: 0, 4305 charSet: 1, 4306 checked: 0, 4307 children: 0, 4308 cite: 0, 4309 class: 'className', 4310 classID: 1, 4311 className: 1, 4312 cols: 0, 4313 colSpan: 1, 4314 content: 0, 4315 contentEditable: 1, 4316 contextMenu: 1, 4317 controls: 0, 4318 controlsList: 1, 4319 coords: 0, 4320 crossOrigin: 1, 4321 dangerouslySetInnerHTML: 1, 4322 data: 0, 4323 dateTime: 1, 4324 default: 0, 4325 defaultChecked: 1, 4326 defaultValue: 1, 4327 defer: 0, 4328 dir: 0, 4329 disabled: 0, 4330 disablePictureInPicture: 1, 4331 disableRemotePlayback: 1, 4332 download: 0, 4333 draggable: 0, 4334 encType: 1, 4335 enterKeyHint: 1, 4336 for: 'htmlFor', 4337 form: 0, 4338 formMethod: 1, 4339 formAction: 1, 4340 formEncType: 1, 4341 formNoValidate: 1, 4342 formTarget: 1, 4343 frameBorder: 1, 4344 headers: 0, 4345 height: 0, 4346 hidden: 0, 4347 high: 0, 4348 href: 0, 4349 hrefLang: 1, 4350 htmlFor: 1, 4351 httpEquiv: 1, 4352 'http-equiv': 'httpEquiv', 4353 icon: 0, 4354 id: 0, 4355 innerHTML: 1, 4356 inputMode: 1, 4357 integrity: 0, 4358 is: 0, 4359 itemID: 1, 4360 itemProp: 1, 4361 itemRef: 1, 4362 itemScope: 1, 4363 itemType: 1, 4364 keyParams: 1, 4365 keyType: 1, 4366 kind: 0, 4367 label: 0, 4368 lang: 0, 4369 list: 0, 4370 loop: 0, 4371 low: 0, 4372 manifest: 0, 4373 marginWidth: 1, 4374 marginHeight: 1, 4375 max: 0, 4376 maxLength: 1, 4377 media: 0, 4378 mediaGroup: 1, 4379 method: 0, 4380 min: 0, 4381 minLength: 1, 4382 multiple: 0, 4383 muted: 0, 4384 name: 0, 4385 noModule: 1, 4386 nonce: 0, 4387 noValidate: 1, 4388 open: 0, 4389 optimum: 0, 4390 pattern: 0, 4391 placeholder: 0, 4392 playsInline: 1, 4393 poster: 0, 4394 preload: 0, 4395 profile: 0, 4396 radioGroup: 1, 4397 readOnly: 1, 4398 referrerPolicy: 1, 4399 rel: 0, 4400 required: 0, 4401 reversed: 0, 4402 role: 0, 4403 rows: 0, 4404 rowSpan: 1, 4405 sandbox: 0, 4406 scope: 0, 4407 scoped: 0, 4408 scrolling: 0, 4409 seamless: 0, 4410 selected: 0, 4411 shape: 0, 4412 size: 0, 4413 sizes: 0, 4414 span: 0, 4415 spellCheck: 1, 4416 src: 0, 4417 srcDoc: 1, 4418 srcLang: 1, 4419 srcSet: 1, 4420 start: 0, 4421 step: 0, 4422 style: 0, 4423 summary: 0, 4424 tabIndex: 1, 4425 target: 0, 4426 title: 0, 4427 type: 0, 4428 useMap: 1, 4429 value: 0, 4430 width: 0, 4431 wmode: 0, 4432 wrap: 0, 4433 about: 0, 4434 accentHeight: 1, 4435 'accent-height': 'accentHeight', 4436 accumulate: 0, 4437 additive: 0, 4438 alignmentBaseline: 1, 4439 'alignment-baseline': 'alignmentBaseline', 4440 allowReorder: 1, 4441 alphabetic: 0, 4442 amplitude: 0, 4443 arabicForm: 1, 4444 'arabic-form': 'arabicForm', 4445 ascent: 0, 4446 attributeName: 1, 4447 attributeType: 1, 4448 autoReverse: 1, 4449 azimuth: 0, 4450 baseFrequency: 1, 4451 baselineShift: 1, 4452 'baseline-shift': 'baselineShift', 4453 baseProfile: 1, 4454 bbox: 0, 4455 begin: 0, 4456 bias: 0, 4457 by: 0, 4458 calcMode: 1, 4459 capHeight: 1, 4460 'cap-height': 'capHeight', 4461 clip: 0, 4462 clipPath: 1, 4463 'clip-path': 'clipPath', 4464 clipPathUnits: 1, 4465 clipRule: 1, 4466 'clip-rule': 'clipRule', 4467 color: 0, 4468 colorInterpolation: 1, 4469 'color-interpolation': 'colorInterpolation', 4470 colorInterpolationFilters: 1, 4471 'color-interpolation-filters': 'colorInterpolationFilters', 4472 colorProfile: 1, 4473 'color-profile': 'colorProfile', 4474 colorRendering: 1, 4475 'color-rendering': 'colorRendering', 4476 contentScriptType: 1, 4477 contentStyleType: 1, 4478 cursor: 0, 4479 cx: 0, 4480 cy: 0, 4481 d: 0, 4482 datatype: 0, 4483 decelerate: 0, 4484 descent: 0, 4485 diffuseConstant: 1, 4486 direction: 0, 4487 display: 0, 4488 divisor: 0, 4489 dominantBaseline: 1, 4490 'dominant-baseline': 'dominantBaseline', 4491 dur: 0, 4492 dx: 0, 4493 dy: 0, 4494 edgeMode: 1, 4495 elevation: 0, 4496 enableBackground: 1, 4497 'enable-background': 'enableBackground', 4498 end: 0, 4499 exponent: 0, 4500 externalResourcesRequired: 1, 4501 fill: 0, 4502 fillOpacity: 1, 4503 'fill-opacity': 'fillOpacity', 4504 fillRule: 1, 4505 'fill-rule': 'fillRule', 4506 filter: 0, 4507 filterRes: 1, 4508 filterUnits: 1, 4509 floodOpacity: 1, 4510 'flood-opacity': 'floodOpacity', 4511 floodColor: 1, 4512 'flood-color': 'floodColor', 4513 focusable: 0, 4514 fontFamily: 1, 4515 'font-family': 'fontFamily', 4516 fontSize: 1, 4517 'font-size': 'fontSize', 4518 fontSizeAdjust: 1, 4519 'font-size-adjust': 'fontSizeAdjust', 4520 fontStretch: 1, 4521 'font-stretch': 'fontStretch', 4522 fontStyle: 1, 4523 'font-style': 'fontStyle', 4524 fontVariant: 1, 4525 'font-variant': 'fontVariant', 4526 fontWeight: 1, 4527 'font-weight': 'fontWeight', 4528 format: 0, 4529 from: 0, 4530 fx: 0, 4531 fy: 0, 4532 g1: 0, 4533 g2: 0, 4534 glyphName: 1, 4535 'glyph-name': 'glyphName', 4536 glyphOrientationHorizontal: 1, 4537 'glyph-orientation-horizontal': 'glyphOrientationHorizontal', 4538 glyphOrientationVertical: 1, 4539 'glyph-orientation-vertical': 'glyphOrientationVertical', 4540 glyphRef: 1, 4541 gradientTransform: 1, 4542 gradientUnits: 1, 4543 hanging: 0, 4544 horizAdvX: 1, 4545 'horiz-adv-x': 'horizAdvX', 4546 horizOriginX: 1, 4547 'horiz-origin-x': 'horizOriginX', 4548 ideographic: 0, 4549 imageRendering: 1, 4550 'image-rendering': 'imageRendering', 4551 in2: 0, 4552 in: 0, 4553 inlist: 0, 4554 intercept: 0, 4555 k1: 0, 4556 k2: 0, 4557 k3: 0, 4558 k4: 0, 4559 k: 0, 4560 kernelMatrix: 1, 4561 kernelUnitLength: 1, 4562 kerning: 0, 4563 keyPoints: 1, 4564 keySplines: 1, 4565 keyTimes: 1, 4566 lengthAdjust: 1, 4567 letterSpacing: 1, 4568 'letter-spacing': 'letterSpacing', 4569 lightingColor: 1, 4570 'lighting-color': 'lightingColor', 4571 limitingConeAngle: 1, 4572 local: 0, 4573 markerEnd: 1, 4574 'marker-end': 'markerEnd', 4575 markerHeight: 1, 4576 markerMid: 1, 4577 'marker-mid': 'markerMid', 4578 markerStart: 1, 4579 'marker-start': 'markerStart', 4580 markerUnits: 1, 4581 markerWidth: 1, 4582 mask: 0, 4583 maskContentUnits: 1, 4584 maskUnits: 1, 4585 mathematical: 0, 4586 mode: 0, 4587 numOctaves: 1, 4588 offset: 0, 4589 opacity: 0, 4590 operator: 0, 4591 order: 0, 4592 orient: 0, 4593 orientation: 0, 4594 origin: 0, 4595 overflow: 0, 4596 overlinePosition: 1, 4597 'overline-position': 'overlinePosition', 4598 overlineThickness: 1, 4599 'overline-thickness': 'overlineThickness', 4600 paintOrder: 1, 4601 'paint-order': 'paintOrder', 4602 panose1: 0, 4603 'panose-1': 'panose1', 4604 pathLength: 1, 4605 patternContentUnits: 1, 4606 patternTransform: 1, 4607 patternUnits: 1, 4608 pointerEvents: 1, 4609 'pointer-events': 'pointerEvents', 4610 points: 0, 4611 pointsAtX: 1, 4612 pointsAtY: 1, 4613 pointsAtZ: 1, 4614 prefix: 0, 4615 preserveAlpha: 1, 4616 preserveAspectRatio: 1, 4617 primitiveUnits: 1, 4618 property: 0, 4619 r: 0, 4620 radius: 0, 4621 refX: 1, 4622 refY: 1, 4623 renderingIntent: 1, 4624 'rendering-intent': 'renderingIntent', 4625 repeatCount: 1, 4626 repeatDur: 1, 4627 requiredExtensions: 1, 4628 requiredFeatures: 1, 4629 resource: 0, 4630 restart: 0, 4631 result: 0, 4632 results: 0, 4633 rotate: 0, 4634 rx: 0, 4635 ry: 0, 4636 scale: 0, 4637 security: 0, 4638 seed: 0, 4639 shapeRendering: 1, 4640 'shape-rendering': 'shapeRendering', 4641 slope: 0, 4642 spacing: 0, 4643 specularConstant: 1, 4644 specularExponent: 1, 4645 speed: 0, 4646 spreadMethod: 1, 4647 startOffset: 1, 4648 stdDeviation: 1, 4649 stemh: 0, 4650 stemv: 0, 4651 stitchTiles: 1, 4652 stopColor: 1, 4653 'stop-color': 'stopColor', 4654 stopOpacity: 1, 4655 'stop-opacity': 'stopOpacity', 4656 strikethroughPosition: 1, 4657 'strikethrough-position': 'strikethroughPosition', 4658 strikethroughThickness: 1, 4659 'strikethrough-thickness': 'strikethroughThickness', 4660 string: 0, 4661 stroke: 0, 4662 strokeDasharray: 1, 4663 'stroke-dasharray': 'strokeDasharray', 4664 strokeDashoffset: 1, 4665 'stroke-dashoffset': 'strokeDashoffset', 4666 strokeLinecap: 1, 4667 'stroke-linecap': 'strokeLinecap', 4668 strokeLinejoin: 1, 4669 'stroke-linejoin': 'strokeLinejoin', 4670 strokeMiterlimit: 1, 4671 'stroke-miterlimit': 'strokeMiterlimit', 4672 strokeWidth: 1, 4673 'stroke-width': 'strokeWidth', 4674 strokeOpacity: 1, 4675 'stroke-opacity': 'strokeOpacity', 4676 suppressContentEditableWarning: 1, 4677 suppressHydrationWarning: 1, 4678 surfaceScale: 1, 4679 systemLanguage: 1, 4680 tableValues: 1, 4681 targetX: 1, 4682 targetY: 1, 4683 textAnchor: 1, 4684 'text-anchor': 'textAnchor', 4685 textDecoration: 1, 4686 'text-decoration': 'textDecoration', 4687 textLength: 1, 4688 textRendering: 1, 4689 'text-rendering': 'textRendering', 4690 to: 0, 4691 transform: 0, 4692 typeof: 0, 4693 u1: 0, 4694 u2: 0, 4695 underlinePosition: 1, 4696 'underline-position': 'underlinePosition', 4697 underlineThickness: 1, 4698 'underline-thickness': 'underlineThickness', 4699 unicode: 0, 4700 unicodeBidi: 1, 4701 'unicode-bidi': 'unicodeBidi', 4702 unicodeRange: 1, 4703 'unicode-range': 'unicodeRange', 4704 unitsPerEm: 1, 4705 'units-per-em': 'unitsPerEm', 4706 unselectable: 0, 4707 vAlphabetic: 1, 4708 'v-alphabetic': 'vAlphabetic', 4709 values: 0, 4710 vectorEffect: 1, 4711 'vector-effect': 'vectorEffect', 4712 version: 0, 4713 vertAdvY: 1, 4714 'vert-adv-y': 'vertAdvY', 4715 vertOriginX: 1, 4716 'vert-origin-x': 'vertOriginX', 4717 vertOriginY: 1, 4718 'vert-origin-y': 'vertOriginY', 4719 vHanging: 1, 4720 'v-hanging': 'vHanging', 4721 vIdeographic: 1, 4722 'v-ideographic': 'vIdeographic', 4723 viewBox: 1, 4724 viewTarget: 1, 4725 visibility: 0, 4726 vMathematical: 1, 4727 'v-mathematical': 'vMathematical', 4728 vocab: 0, 4729 widths: 0, 4730 wordSpacing: 1, 4731 'word-spacing': 'wordSpacing', 4732 writingMode: 1, 4733 'writing-mode': 'writingMode', 4734 x1: 0, 4735 x2: 0, 4736 x: 0, 4737 xChannelSelector: 1, 4738 xHeight: 1, 4739 'x-height': 'xHeight', 4740 xlinkActuate: 1, 4741 'xlink:actuate': 'xlinkActuate', 4742 xlinkArcrole: 1, 4743 'xlink:arcrole': 'xlinkArcrole', 4744 xlinkHref: 1, 4745 'xlink:href': 'xlinkHref', 4746 xlinkRole: 1, 4747 'xlink:role': 'xlinkRole', 4748 xlinkShow: 1, 4749 'xlink:show': 'xlinkShow', 4750 xlinkTitle: 1, 4751 'xlink:title': 'xlinkTitle', 4752 xlinkType: 1, 4753 'xlink:type': 'xlinkType', 4754 xmlBase: 1, 4755 'xml:base': 'xmlBase', 4756 xmlLang: 1, 4757 'xml:lang': 'xmlLang', 4758 xmlns: 0, 4759 'xml:space': 'xmlSpace', 4760 xmlnsXlink: 1, 4761 'xmlns:xlink': 'xmlnsXlink', 4762 xmlSpace: 1, 4763 y1: 0, 4764 y2: 0, 4765 y: 0, 4766 yChannelSelector: 1, 4767 z: 0, 4768 zoomAndPan: 1 4769}; 4770 4771 4772/***/ }), 4773
vendor: 13,640 bytes, lines 4774-5196
4774/***/ "./node_modules/react-wordpress/out.js": 4775/*!*********************************************!*\ 4776 !*** ./node_modules/react-wordpress/out.js ***! 4777 \*********************************************/ 4778/***/ (() => { 4779 4780(() => { 4781 var __create = Object.create; 4782 var __defProp = Object.defineProperty; 4783 var __getProtoOf = Object.getPrototypeOf; 4784 var __hasOwnProp = Object.prototype.hasOwnProperty; 4785 var __getOwnPropNames = Object.getOwnPropertyNames; 4786 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 4787 var __markAsModule = (target) => __defProp(target, "__esModule", {value: true}); 4788 var __commonJS = (cb, mod) => () => (mod || cb((mod = {exports: {}}).exports, mod), mod.exports); 4789 var __exportStar = (target, module, desc) => { 4790 if (module && typeof module === "object" || typeof module === "function") { 4791 for (let key of __getOwnPropNames(module)) 4792 if (!__hasOwnProp.call(target, key) && key !== "default") 4793 __defProp(target, key, {get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable}); 4794 } 4795 return target; 4796 }; 4797 var __toModule = (module) => { 4798 return __exportStar(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", module && module.__esModule && "default" in module ? {get: () => module.default, enumerable: true} : {value: module, enumerable: true})), module); 4799 }; 4800 4801 // node_modules/object-assign/index.js 4802 var require_object_assign = __commonJS((exports, module) => { 4803 /* 4804 object-assign 4805 (c) Sindre Sorhus 4806 @license MIT 4807 */ 4808 "use strict"; 4809 var getOwnPropertySymbols = Object.getOwnPropertySymbols; 4810 var hasOwnProperty = Object.prototype.hasOwnProperty; 4811 var propIsEnumerable = Object.prototype.propertyIsEnumerable; 4812 function toObject(val) { 4813 if (val === null || val === void 0) { 4814 throw new TypeError("Object.assign cannot be called with null or undefined"); 4815 } 4816 return Object(val); 4817 } 4818 function shouldUseNative() { 4819 try { 4820 if (!Object.assign) { 4821 return false; 4822 } 4823 var test1 = new String("abc"); 4824 test1[5] = "de"; 4825 if (Object.getOwnPropertyNames(test1)[0] === "5") { 4826 return false; 4827 } 4828 var test2 = {}; 4829 for (var i = 0; i < 10; i++) { 4830 test2["_" + String.fromCharCode(i)] = i; 4831 } 4832 var order2 = Object.getOwnPropertyNames(test2).map(function(n) { 4833 return test2[n]; 4834 }); 4835 if (order2.join("") !== "0123456789") { 4836 return false; 4837 } 4838 var test3 = {}; 4839 "abcdefghijklmnopqrst".split("").forEach(function(letter) { 4840 test3[letter] = letter; 4841 }); 4842 if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") { 4843 return false; 4844 } 4845 return true; 4846 } catch (err) { 4847 return false; 4848 } 4849 } 4850 module.exports = shouldUseNative() ? Object.assign : function(target, source) { 4851 var from; 4852 var to = toObject(target); 4853 var symbols; 4854 for (var s = 1; s < arguments.length; s++) { 4855 from = Object(arguments[s]); 4856 for (var key in from) { 4857 if (hasOwnProperty.call(from, key)) { 4858 to[key] = from[key]; 4859 } 4860 } 4861 if (getOwnPropertySymbols) { 4862 symbols = getOwnPropertySymbols(from); 4863 for (var i = 0; i < symbols.length; i++) { 4864 if (propIsEnumerable.call(from, symbols[i])) { 4865 to[symbols[i]] = from[symbols[i]]; 4866 } 4867 } 4868 } 4869 } 4870 return to; 4871 }; 4872 }); 4873 4874 // node_modules/react/cjs/react.production.min.js 4875 var require_react_production_min = __commonJS((exports) => { 4876 /** @license React v17.0.2 4877 * react.production.min.js 4878 * 4879 * Copyright (c) Facebook, Inc. and its affiliates. 4880 * 4881 * This source code is licensed under the MIT license found in the 4882 * LICENSE file in the root directory of this source tree. 4883 */ 4884 "use strict"; 4885 var l = require_object_assign(); 4886 var n = 60103; 4887 var p = 60106; 4888 exports.Fragment = 60107; 4889 exports.StrictMode = 60108; 4890 exports.Profiler = 60114; 4891 var q = 60109; 4892 var r = 60110; 4893 var t = 60112; 4894 exports.Suspense = 60113; 4895 var u = 60115; 4896 var v = 60116; 4897 if (typeof Symbol === "function" && Symbol.for) { 4898 w = Symbol.for; 4899 n = w("react.element"); 4900 p = w("react.portal"); 4901 exports.Fragment = w("react.fragment"); 4902 exports.StrictMode = w("react.strict_mode"); 4903 exports.Profiler = w("react.profiler"); 4904 q = w("react.provider"); 4905 r = w("react.context"); 4906 t = w("react.forward_ref"); 4907 exports.Suspense = w("react.suspense"); 4908 u = w("react.memo"); 4909 v = w("react.lazy"); 4910 } 4911 var w; 4912 var x = typeof Symbol === "function" && Symbol.iterator; 4913 function y(a) { 4914 if (a === null || typeof a !== "object") 4915 return null; 4916 a = x && a[x] || a["@@iterator"]; 4917 return typeof a === "function" ? a : null; 4918 } 4919 function z(a) { 4920 for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) 4921 b += "&args[]=" + encodeURIComponent(arguments[c]); 4922 return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; 4923 } 4924 var A = {isMounted: function() { 4925 return false; 4926 }, enqueueForceUpdate: function() { 4927 }, enqueueReplaceState: function() { 4928 }, enqueueSetState: function() { 4929 }}; 4930 var B = {}; 4931 function C(a, b, c) { 4932 this.props = a; 4933 this.context = b; 4934 this.refs = B; 4935 this.updater = c || A; 4936 } 4937 C.prototype.isReactComponent = {}; 4938 C.prototype.setState = function(a, b) { 4939 if (typeof a !== "object" && typeof a !== "function" && a != null) 4940 throw Error(z(85)); 4941 this.updater.enqueueSetState(this, a, b, "setState"); 4942 }; 4943 C.prototype.forceUpdate = function(a) { 4944 this.updater.enqueueForceUpdate(this, a, "forceUpdate"); 4945 }; 4946 function D() { 4947 } 4948 D.prototype = C.prototype; 4949 function E(a, b, c) { 4950 this.props = a; 4951 this.context = b; 4952 this.refs = B; 4953 this.updater = c || A; 4954 } 4955 var F = E.prototype = new D(); 4956 F.constructor = E; 4957 l(F, C.prototype); 4958 F.isPureReactComponent = true; 4959 var G = {current: null}; 4960 var H = Object.prototype.hasOwnProperty; 4961 var I = {key: true, ref: true, __self: true, __source: true}; 4962 function J(a, b, c) { 4963 var e, d = {}, k = null, h = null; 4964 if (b != null) 4965 for (e in b.ref !== void 0 && (h = b.ref), b.key !== void 0 && (k = "" + b.key), b) 4966 H.call(b, e) && !I.hasOwnProperty(e) && (d[e] = b[e]); 4967 var g = arguments.length - 2; 4968 if (g === 1) 4969 d.children = c; 4970 else if (1 < g) { 4971 for (var f = Array(g), m = 0; m < g; m++) 4972 f[m] = arguments[m + 2]; 4973 d.children = f; 4974 } 4975 if (a && a.defaultProps) 4976 for (e in g = a.defaultProps, g) 4977 d[e] === void 0 && (d[e] = g[e]); 4978 return {$$typeof: n, type: a, key: k, ref: h, props: d, _owner: G.current}; 4979 } 4980 function K(a, b) { 4981 return {$$typeof: n, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner}; 4982 } 4983 function L(a) { 4984 return typeof a === "object" && a !== null && a.$$typeof === n; 4985 } 4986 function escape(a) { 4987 var b = {"=": "=0", ":": "=2"}; 4988 return "$" + a.replace(/[=:]/g, function(a2) { 4989 return b[a2]; 4990 }); 4991 } 4992 var M = /\/+/g; 4993 function N(a, b) { 4994 return typeof a === "object" && a !== null && a.key != null ? escape("" + a.key) : b.toString(36); 4995 } 4996 function O(a, b, c, e, d) { 4997 var k = typeof a; 4998 if (k === "undefined" || k === "boolean") 4999 a = null; 5000 var h = false; 5001 if (a === null) 5002 h = true; 5003 else 5004 switch (k) { 5005 case "string": 5006 case "number": 5007 h = true; 5008 break; 5009 case "object": 5010 switch (a.$$typeof) { 5011 case n: 5012 case p: 5013 h = true; 5014 } 5015 } 5016 if (h) 5017 return h = a, d = d(h), a = e === "" ? "." + N(h, 0) : e, Array.isArray(d) ? (c = "", a != null && (c = a.replace(M, "$&/") + "/"), O(d, b, c, "", function(a2) { 5018 return a2; 5019 })) : d != null && (L(d) && (d = K(d, c + (!d.key || h && h.key === d.key ? "" : ("" + d.key).replace(M, "$&/") + "/") + a)), b.push(d)), 1; 5020 h = 0; 5021 e = e === "" ? "." : e + ":"; 5022 if (Array.isArray(a)) 5023 for (var g = 0; g < a.length; g++) { 5024 k = a[g]; 5025 var f = e + N(k, g); 5026 h += O(k, b, c, f, d); 5027 } 5028 else if (f = y(a), typeof f === "function") 5029 for (a = f.call(a), g = 0; !(k = a.next()).done; ) 5030 k = k.value, f = e + N(k, g++), h += O(k, b, c, f, d); 5031 else if (k === "object") 5032 throw b = "" + a, Error(z(31, b === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : b)); 5033 return h; 5034 } 5035 function P(a, b, c) { 5036 if (a == null) 5037 return a; 5038 var e = [], d = 0; 5039 O(a, e, "", "", function(a2) { 5040 return b.call(c, a2, d++); 5041 }); 5042 return e; 5043 } 5044 function Q(a) { 5045 if (a._status === -1) { 5046 var b = a._result; 5047 b = b(); 5048 a._status = 0; 5049 a._result = b; 5050 b.then(function(b2) { 5051 a._status === 0 && (b2 = b2.default, a._status = 1, a._result = b2); 5052 }, function(b2) { 5053 a._status === 0 && (a._status = 2, a._result = b2); 5054 }); 5055 } 5056 if (a._status === 1) 5057 return a._result; 5058 throw a._result; 5059 } 5060 var R = {current: null}; 5061 function S() { 5062 var a = R.current; 5063 if (a === null) 5064 throw Error(z(321)); 5065 return a; 5066 } 5067 var T = {ReactCurrentDispatcher: R, ReactCurrentBatchConfig: {transition: 0}, ReactCurrentOwner: G, IsSomeRendererActing: {current: false}, assign: l}; 5068 exports.Children = {map: P, forEach: function(a, b, c) { 5069 P(a, function() { 5070 b.apply(this, arguments); 5071 }, c); 5072 }, count: function(a) { 5073 var b = 0; 5074 P(a, function() { 5075 b++; 5076 }); 5077 return b; 5078 }, toArray: function(a) { 5079 return P(a, function(a2) { 5080 return a2; 5081 }) || []; 5082 }, only: function(a) { 5083 if (!L(a)) 5084 throw Error(z(143)); 5085 return a; 5086 }}; 5087 exports.Component = C; 5088 exports.PureComponent = E; 5089 exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = T; 5090 exports.cloneElement = function(a, b, c) { 5091 if (a === null || a === void 0) 5092 throw Error(z(267, a)); 5093 var e = l({}, a.props), d = a.key, k = a.ref, h = a._owner; 5094 if (b != null) { 5095 b.ref !== void 0 && (k = b.ref, h = G.current); 5096 b.key !== void 0 && (d = "" + b.key); 5097 if (a.type && a.type.defaultProps) 5098 var g = a.type.defaultProps; 5099 for (f in b) 5100 H.call(b, f) && !I.hasOwnProperty(f) && (e[f] = b[f] === void 0 && g !== void 0 ? g[f] : b[f]); 5101 } 5102 var f = arguments.length - 2; 5103 if (f === 1) 5104 e.children = c; 5105 else if (1 < f) { 5106 g = Array(f); 5107 for (var m = 0; m < f; m++) 5108 g[m] = arguments[m + 2]; 5109 e.children = g; 5110 } 5111 return { 5112 $$typeof: n, 5113 type: a.type, 5114 key: d, 5115 ref: k, 5116 props: e, 5117 _owner: h 5118 }; 5119 }; 5120 exports.createContext = function(a, b) { 5121 b === void 0 && (b = null); 5122 a = {$$typeof: r, _calculateChangedBits: b, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null}; 5123 a.Provider = {$$typeof: q, _context: a}; 5124 return a.Consumer = a; 5125 }; 5126 exports.createElement = J; 5127 exports.createFactory = function(a) { 5128 var b = J.bind(null, a); 5129 b.type = a; 5130 return b; 5131 }; 5132 exports.createRef = function() { 5133 return {current: null}; 5134 }; 5135 exports.forwardRef = function(a) { 5136 return {$$typeof: t, render: a}; 5137 }; 5138 exports.isValidElement = L; 5139 exports.lazy = function(a) { 5140 return {$$typeof: v, _payload: {_status: -1, _result: a}, _init: Q}; 5141 }; 5142 exports.memo = function(a, b) { 5143 return {$$typeof: u, type: a, compare: b === void 0 ? null : b}; 5144 }; 5145 exports.useCallback = function(a, b) { 5146 return S().useCallback(a, b); 5147 }; 5148 exports.useContext = function(a, b) { 5149 return S().useContext(a, b); 5150 }; 5151 exports.useDebugValue = function() { 5152 }; 5153 exports.useEffect = function(a, b) { 5154 return S().useEffect(a, b); 5155 }; 5156 exports.useImperativeHandle = function(a, b, c) { 5157 return S().useImperativeHandle(a, b, c); 5158 }; 5159 exports.useLayoutEffect = function(a, b) { 5160 return S().useLayoutEffect(a, b); 5161 }; 5162 exports.useMemo = function(a, b) { 5163 return S().useMemo(a, b); 5164 }; 5165 exports.useReducer = function(a, b, c) { 5166 return S().useReducer(a, b, c); 5167 }; 5168 exports.useRef = function(a) { 5169 return S().useRef(a); 5170 }; 5171 exports.useState = function(a) { 5172 return S().useState(a); 5173 }; 5174 exports.version = "17.0.2"; 5175 }); 5176 5177 // node_modules/react/index.js 5178 var require_react = __commonJS((exports, module) => { 5179 "use strict"; 5180 if (true) { 5181 module.exports = require_react_production_min(); 5182 } else {} 5183 }); 5184 5185 // react-shim.js 5186 var React = __toModule(require_react()); 5187 5188 // app.jsx 5189 function ReactWordpress() { 5190 return /* @__PURE__ */ React.createElement("h1", null, "Hello, React-Wordpress!"); 5191 } 5192})(); 5193 5194 5195/***/ }), 5196
vendor: 29,695 bytes, lines 5197-6118
5197/***/ "./node_modules/react/cjs/react-jsx-runtime.development.js": 5198/*!*****************************************************************!*\ 5199 !*** ./node_modules/react/cjs/react-jsx-runtime.development.js ***! 5200 \*****************************************************************/ 5201/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 5202 5203"use strict"; 5204/** @license React v16.14.0 5205 * react-jsx-runtime.development.js 5206 * 5207 * Copyright (c) Facebook, Inc. and its affiliates. 5208 * 5209 * This source code is licensed under the MIT license found in the 5210 * LICENSE file in the root directory of this source tree. 5211 */ 5212 5213 5214 5215if (true) { 5216 (function() { 5217'use strict'; 5218 5219var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 5220 5221// ATTENTION 5222// When adding new symbols to this file, 5223// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' 5224// The Symbol used to tag the ReactElement-like types. If there is no native Symbol 5225// nor polyfill, then a plain number is used for performance. 5226var REACT_ELEMENT_TYPE = 0xeac7; 5227var REACT_PORTAL_TYPE = 0xeaca; 5228exports.Fragment = 0xeacb; 5229var REACT_STRICT_MODE_TYPE = 0xeacc; 5230var REACT_PROFILER_TYPE = 0xead2; 5231var REACT_PROVIDER_TYPE = 0xeacd; 5232var REACT_CONTEXT_TYPE = 0xeace; 5233var REACT_FORWARD_REF_TYPE = 0xead0; 5234var REACT_SUSPENSE_TYPE = 0xead1; 5235var REACT_SUSPENSE_LIST_TYPE = 0xead8; 5236var REACT_MEMO_TYPE = 0xead3; 5237var REACT_LAZY_TYPE = 0xead4; 5238var REACT_BLOCK_TYPE = 0xead9; 5239var REACT_SERVER_BLOCK_TYPE = 0xeada; 5240var REACT_FUNDAMENTAL_TYPE = 0xead5; 5241var REACT_SCOPE_TYPE = 0xead7; 5242var REACT_OPAQUE_ID_TYPE = 0xeae0; 5243var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; 5244var REACT_OFFSCREEN_TYPE = 0xeae2; 5245var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; 5246 5247if (typeof Symbol === 'function' && Symbol.for) { 5248 var symbolFor = Symbol.for; 5249 REACT_ELEMENT_TYPE = symbolFor('react.element'); 5250 REACT_PORTAL_TYPE = symbolFor('react.portal'); 5251 exports.Fragment = symbolFor('react.fragment'); 5252 REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); 5253 REACT_PROFILER_TYPE = symbolFor('react.profiler'); 5254 REACT_PROVIDER_TYPE = symbolFor('react.provider'); 5255 REACT_CONTEXT_TYPE = symbolFor('react.context'); 5256 REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); 5257 REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); 5258 REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); 5259 REACT_MEMO_TYPE = symbolFor('react.memo'); 5260 REACT_LAZY_TYPE = symbolFor('react.lazy'); 5261 REACT_BLOCK_TYPE = symbolFor('react.block'); 5262 REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block'); 5263 REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental'); 5264 REACT_SCOPE_TYPE = symbolFor('react.scope'); 5265 REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id'); 5266 REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); 5267 REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); 5268 REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); 5269} 5270 5271var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; 5272var FAUX_ITERATOR_SYMBOL = '@@iterator'; 5273function getIteratorFn(maybeIterable) { 5274 if (maybeIterable === null || typeof maybeIterable !== 'object') { 5275 return null; 5276 } 5277 5278 var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; 5279 5280 if (typeof maybeIterator === 'function') { 5281 return maybeIterator; 5282 } 5283 5284 return null; 5285} 5286 5287var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; 5288 5289function error(format) { 5290 { 5291 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { 5292 args[_key2 - 1] = arguments[_key2]; 5293 } 5294 5295 printWarning('error', format, args); 5296 } 5297} 5298 5299function printWarning(level, format, args) { 5300 // When changing this logic, you might want to also 5301 // update consoleWithStackDev.www.js as well. 5302 { 5303 var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 5304 var stack = ''; 5305 5306 if (currentlyValidatingElement) { 5307 var name = getComponentName(currentlyValidatingElement.type); 5308 var owner = currentlyValidatingElement._owner; 5309 stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type)); 5310 } 5311 5312 stack += ReactDebugCurrentFrame.getStackAddendum(); 5313 5314 if (stack !== '') { 5315 format += '%s'; 5316 args = args.concat([stack]); 5317 } 5318 5319 var argsWithFormat = args.map(function (item) { 5320 return '' + item; 5321 }); // Careful: RN currently depends on this prefix 5322 5323 argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it 5324 // breaks IE9: https://github.com/facebook/react/issues/13610 5325 // eslint-disable-next-line react-internal/no-production-logging 5326 5327 Function.prototype.apply.call(console[level], console, argsWithFormat); 5328 } 5329} 5330 5331// Filter certain DOM attributes (e.g. src, href) if their values are empty strings. 5332 5333var enableScopeAPI = false; // Experimental Create Event Handle API. 5334 5335function isValidElementType(type) { 5336 if (typeof type === 'string' || typeof type === 'function') { 5337 return true; 5338 } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill). 5339 5340 5341 if (type === exports.Fragment || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) { 5342 return true; 5343 } 5344 5345 if (typeof type === 'object' && type !== null) { 5346 if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) { 5347 return true; 5348 } 5349 } 5350 5351 return false; 5352} 5353 5354 5355var BEFORE_SLASH_RE = /^(.*)[\\\/]/; 5356function describeComponentFrame (name, source, ownerName) { 5357 var sourceInfo = ''; 5358 5359 if (source) { 5360 var path = source.fileName; 5361 var fileName = path.replace(BEFORE_SLASH_RE, ''); 5362 5363 { 5364 // In DEV, include code for a common special case: 5365 // prefer "folder/index.js" instead of just "index.js". 5366 if (/^index\./.test(fileName)) { 5367 var match = path.match(BEFORE_SLASH_RE); 5368 5369 if (match) { 5370 var pathBeforeSlash = match[1]; 5371 5372 if (pathBeforeSlash) { 5373 var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, ''); 5374 fileName = folderName + '/' + fileName; 5375 } 5376 } 5377 } 5378 } 5379 5380 sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')'; 5381 } else if (ownerName) { 5382 sourceInfo = ' (created by ' + ownerName + ')'; 5383 } 5384 5385 return '\n in ' + (name || 'Unknown') + sourceInfo; 5386} 5387 5388var Resolved = 1; 5389function refineResolvedLazyComponent(lazyComponent) { 5390 return lazyComponent._status === Resolved ? lazyComponent._result : null; 5391} 5392 5393function getWrappedName(outerType, innerType, wrapperName) { 5394 var functionName = innerType.displayName || innerType.name || ''; 5395 return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName); 5396} 5397 5398function getComponentName(type) { 5399 if (type == null) { 5400 // Host root, text node or just invalid type. 5401 return null; 5402 } 5403 5404 { 5405 if (typeof type.tag === 'number') { 5406 error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.'); 5407 } 5408 } 5409 5410 if (typeof type === 'function') { 5411 return type.displayName || type.name || null; 5412 } 5413 5414 if (typeof type === 'string') { 5415 return type; 5416 } 5417 5418 switch (type) { 5419 case exports.Fragment: 5420 return 'Fragment'; 5421 5422 case REACT_PORTAL_TYPE: 5423 return 'Portal'; 5424 5425 case REACT_PROFILER_TYPE: 5426 return "Profiler"; 5427 5428 case REACT_STRICT_MODE_TYPE: 5429 return 'StrictMode'; 5430 5431 case REACT_SUSPENSE_TYPE: 5432 return 'Suspense'; 5433 5434 case REACT_SUSPENSE_LIST_TYPE: 5435 return 'SuspenseList'; 5436 } 5437 5438 if (typeof type === 'object') { 5439 switch (type.$$typeof) { 5440 case REACT_CONTEXT_TYPE: 5441 return 'Context.Consumer'; 5442 5443 case REACT_PROVIDER_TYPE: 5444 return 'Context.Provider'; 5445 5446 case REACT_FORWARD_REF_TYPE: 5447 return getWrappedName(type, type.render, 'ForwardRef'); 5448 5449 case REACT_MEMO_TYPE: 5450 return getComponentName(type.type); 5451 5452 case REACT_BLOCK_TYPE: 5453 return getComponentName(type.render); 5454 5455 case REACT_LAZY_TYPE: 5456 { 5457 var thenable = type; 5458 var resolvedThenable = refineResolvedLazyComponent(thenable); 5459 5460 if (resolvedThenable) { 5461 return getComponentName(resolvedThenable); 5462 } 5463 5464 break; 5465 } 5466 } 5467 } 5468 5469 return null; 5470} 5471 5472var loggedTypeFailures = {}; 5473var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 5474var currentlyValidatingElement = null; 5475 5476function setCurrentlyValidatingElement(element) { 5477 { 5478 currentlyValidatingElement = element; 5479 } 5480} 5481 5482function checkPropTypes(typeSpecs, values, location, componentName, element) { 5483 { 5484 // $FlowFixMe This is okay but Flow doesn't know it. 5485 var has = Function.call.bind(Object.prototype.hasOwnProperty); 5486 5487 for (var typeSpecName in typeSpecs) { 5488 if (has(typeSpecs, typeSpecName)) { 5489 var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to 5490 // fail the render phase where it didn't fail before. So we log it. 5491 // After these have been cleaned up, we'll let them throw. 5492 5493 try { 5494 // This is intentionally an invariant that gets caught. It's the same 5495 // behavior as without this statement except with a better message. 5496 if (typeof typeSpecs[typeSpecName] !== 'function') { 5497 var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'); 5498 err.name = 'Invariant Violation'; 5499 throw err; 5500 } 5501 5502 error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'); 5503 } catch (ex) { 5504 error$1 = ex; 5505 } 5506 5507 if (error$1 && !(error$1 instanceof Error)) { 5508 setCurrentlyValidatingElement(element); 5509 5510 error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1); 5511 5512 setCurrentlyValidatingElement(null); 5513 } 5514 5515 if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) { 5516 // Only monitor this failure once because there tends to be a lot of the 5517 // same error. 5518 loggedTypeFailures[error$1.message] = true; 5519 setCurrentlyValidatingElement(element); 5520 5521 error('Failed %s type: %s', location, error$1.message); 5522 5523 setCurrentlyValidatingElement(null); 5524 } 5525 } 5526 } 5527 } 5528} 5529 5530var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; 5531var hasOwnProperty = Object.prototype.hasOwnProperty; 5532var RESERVED_PROPS = { 5533 key: true, 5534 ref: true, 5535 __self: true, 5536 __source: true 5537}; 5538var specialPropKeyWarningShown; 5539var specialPropRefWarningShown; 5540var didWarnAboutStringRefs; 5541 5542{ 5543 didWarnAboutStringRefs = {}; 5544} 5545 5546function hasValidRef(config) { 5547 { 5548 if (hasOwnProperty.call(config, 'ref')) { 5549 var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; 5550 5551 if (getter && getter.isReactWarning) { 5552 return false; 5553 } 5554 } 5555 } 5556 5557 return config.ref !== undefined; 5558} 5559 5560function hasValidKey(config) { 5561 { 5562 if (hasOwnProperty.call(config, 'key')) { 5563 var getter = Object.getOwnPropertyDescriptor(config, 'key').get; 5564 5565 if (getter && getter.isReactWarning) { 5566 return false; 5567 } 5568 } 5569 } 5570 5571 return config.key !== undefined; 5572} 5573 5574function warnIfStringRefCannotBeAutoConverted(config, self) { 5575 { 5576 if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) { 5577 var componentName = getComponentName(ReactCurrentOwner.current.type); 5578 5579 if (!didWarnAboutStringRefs[componentName]) { 5580 error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref); 5581 5582 didWarnAboutStringRefs[componentName] = true; 5583 } 5584 } 5585 } 5586} 5587 5588function defineKeyPropWarningGetter(props, displayName) { 5589 { 5590 var warnAboutAccessingKey = function () { 5591 if (!specialPropKeyWarningShown) { 5592 specialPropKeyWarningShown = true; 5593 5594 error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName); 5595 } 5596 }; 5597 5598 warnAboutAccessingKey.isReactWarning = true; 5599 Object.defineProperty(props, 'key', { 5600 get: warnAboutAccessingKey, 5601 configurable: true 5602 }); 5603 } 5604} 5605 5606function defineRefPropWarningGetter(props, displayName) { 5607 { 5608 var warnAboutAccessingRef = function () { 5609 if (!specialPropRefWarningShown) { 5610 specialPropRefWarningShown = true; 5611 5612 error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName); 5613 } 5614 }; 5615 5616 warnAboutAccessingRef.isReactWarning = true; 5617 Object.defineProperty(props, 'ref', { 5618 get: warnAboutAccessingRef, 5619 configurable: true 5620 }); 5621 } 5622} 5623/** 5624 * Factory method to create a new React element. This no longer adheres to 5625 * the class pattern, so do not use new to call it. Also, instanceof check 5626 * will not work. Instead test $$typeof field against Symbol.for('react.element') to check 5627 * if something is a React Element. 5628 * 5629 * @param {*} type 5630 * @param {*} props 5631 * @param {*} key 5632 * @param {string|object} ref 5633 * @param {*} owner 5634 * @param {*} self A *temporary* helper to detect places where `this` is 5635 * different from the `owner` when React.createElement is called, so that we 5636 * can warn. We want to get rid of owner and replace string `ref`s with arrow 5637 * functions, and as long as `this` and owner are the same, there will be no 5638 * change in behavior. 5639 * @param {*} source An annotation object (added by a transpiler or otherwise) 5640 * indicating filename, line number, and/or other information. 5641 * @internal 5642 */ 5643 5644 5645var ReactElement = function (type, key, ref, self, source, owner, props) { 5646 var element = { 5647 // This tag allows us to uniquely identify this as a React Element 5648 $$typeof: REACT_ELEMENT_TYPE, 5649 // Built-in properties that belong on the element 5650 type: type, 5651 key: key, 5652 ref: ref, 5653 props: props, 5654 // Record the component responsible for creating this element. 5655 _owner: owner 5656 }; 5657 5658 { 5659 // The validation flag is currently mutative. We put it on 5660 // an external backing store so that we can freeze the whole object. 5661 // This can be replaced with a WeakMap once they are implemented in 5662 // commonly used development environments. 5663 element._store = {}; // To make comparing ReactElements easier for testing purposes, we make 5664 // the validation flag non-enumerable (where possible, which should 5665 // include every environment we run tests in), so the test framework 5666 // ignores it. 5667 5668 Object.defineProperty(element._store, 'validated', { 5669 configurable: false, 5670 enumerable: false, 5671 writable: true, 5672 value: false 5673 }); // self and source are DEV only properties. 5674 5675 Object.defineProperty(element, '_self', { 5676 configurable: false, 5677 enumerable: false, 5678 writable: false, 5679 value: self 5680 }); // Two elements created in two different places should be considered 5681 // equal for testing purposes and therefore we hide it from enumeration. 5682 5683 Object.defineProperty(element, '_source', { 5684 configurable: false, 5685 enumerable: false, 5686 writable: false, 5687 value: source 5688 }); 5689 5690 if (Object.freeze) { 5691 Object.freeze(element.props); 5692 Object.freeze(element); 5693 } 5694 } 5695 5696 return element; 5697}; 5698/** 5699 * https://github.com/reactjs/rfcs/pull/107 5700 * @param {*} type 5701 * @param {object} props 5702 * @param {string} key 5703 */ 5704 5705function jsxDEV(type, config, maybeKey, source, self) { 5706 { 5707 var propName; // Reserved names are extracted 5708 5709 var props = {}; 5710 var key = null; 5711 var ref = null; // Currently, key can be spread in as a prop. This causes a potential 5712 // issue if key is also explicitly declared (ie. <div {...props} key="Hi" /> 5713 // or <div key="Hi" {...props} /> ). We want to deprecate key spread, 5714 // but as an intermediary step, we will use jsxDEV for everything except 5715 // <div {...props} key="Hi" />, because we aren't currently able to tell if 5716 // key is explicitly declared to be undefined or not. 5717 5718 if (maybeKey !== undefined) { 5719 key = '' + maybeKey; 5720 } 5721 5722 if (hasValidKey(config)) { 5723 key = '' + config.key; 5724 } 5725 5726 if (hasValidRef(config)) { 5727 ref = config.ref; 5728 warnIfStringRefCannotBeAutoConverted(config, self); 5729 } // Remaining properties are added to a new props object 5730 5731 5732 for (propName in config) { 5733 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 5734 props[propName] = config[propName]; 5735 } 5736 } // Resolve default props 5737 5738 5739 if (type && type.defaultProps) { 5740 var defaultProps = type.defaultProps; 5741 5742 for (propName in defaultProps) { 5743 if (props[propName] === undefined) { 5744 props[propName] = defaultProps[propName]; 5745 } 5746 } 5747 } 5748 5749 if (key || ref) { 5750 var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; 5751 5752 if (key) { 5753 defineKeyPropWarningGetter(props, displayName); 5754 } 5755 5756 if (ref) { 5757 defineRefPropWarningGetter(props, displayName); 5758 } 5759 } 5760 5761 return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); 5762 } 5763} 5764 5765var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner; 5766var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; 5767 5768function setCurrentlyValidatingElement$1(element) { 5769 currentlyValidatingElement = element; 5770} 5771 5772var propTypesMisspellWarningShown; 5773 5774{ 5775 propTypesMisspellWarningShown = false; 5776} 5777/** 5778 * Verifies the object is a ReactElement. 5779 * See https://reactjs.org/docs/react-api.html#isvalidelement 5780 * @param {?object} object 5781 * @return {boolean} True if `object` is a ReactElement. 5782 * @final 5783 */ 5784 5785function isValidElement(object) { 5786 { 5787 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; 5788 } 5789} 5790 5791function getDeclarationErrorAddendum() { 5792 { 5793 if (ReactCurrentOwner$1.current) { 5794 var name = getComponentName(ReactCurrentOwner$1.current.type); 5795 5796 if (name) { 5797 return '\n\nCheck the render method of `' + name + '`.'; 5798 } 5799 } 5800 5801 return ''; 5802 } 5803} 5804 5805function getSourceInfoErrorAddendum(source) { 5806 { 5807 if (source !== undefined) { 5808 var fileName = source.fileName.replace(/^.*[\\\/]/, ''); 5809 var lineNumber = source.lineNumber; 5810 return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.'; 5811 } 5812 5813 return ''; 5814 } 5815} 5816/** 5817 * Warn if there's no key explicitly set on dynamic arrays of children or 5818 * object keys are not valid. This allows us to keep track of children between 5819 * updates. 5820 */ 5821 5822 5823var ownerHasKeyUseWarning = {}; 5824 5825function getCurrentComponentErrorInfo(parentType) { 5826 { 5827 var info = getDeclarationErrorAddendum(); 5828 5829 if (!info) { 5830 var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; 5831 5832 if (parentName) { 5833 info = "\n\nCheck the top-level render call using <" + parentName + ">."; 5834 } 5835 } 5836 5837 return info; 5838 } 5839} 5840/** 5841 * Warn if the element doesn't have an explicit key assigned to it. 5842 * This element is in an array. The array could grow and shrink or be 5843 * reordered. All children that haven't already been validated are required to 5844 * have a "key" property assigned to it. Error statuses are cached so a warning 5845 * will only be shown once. 5846 * 5847 * @internal 5848 * @param {ReactElement} element Element that requires a key. 5849 * @param {*} parentType element's parent's type. 5850 */ 5851 5852 5853function validateExplicitKey(element, parentType) { 5854 { 5855 if (!element._store || element._store.validated || element.key != null) { 5856 return; 5857 } 5858 5859 element._store.validated = true; 5860 var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); 5861 5862 if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { 5863 return; 5864 } 5865 5866 ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a 5867 // property, it may be the creator of the child that's responsible for 5868 // assigning it a key. 5869 5870 var childOwner = ''; 5871 5872 if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) { 5873 // Give the component that originally created this child. 5874 childOwner = " It was passed a child from " + getComponentName(element._owner.type) + "."; 5875 } 5876 5877 setCurrentlyValidatingElement$1(element); 5878 5879 error('Each child in a list should have a unique "key" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner); 5880 5881 setCurrentlyValidatingElement$1(null); 5882 } 5883} 5884/** 5885 * Ensure that every element either is passed in a static location, in an 5886 * array with an explicit keys property defined, or in an object literal 5887 * with valid key property. 5888 * 5889 * @internal 5890 * @param {ReactNode} node Statically passed child of any type. 5891 * @param {*} parentType node's parent's type. 5892 */ 5893 5894 5895function validateChildKeys(node, parentType) { 5896 { 5897 if (typeof node !== 'object') { 5898 return; 5899 } 5900 5901 if (Array.isArray(node)) { 5902 for (var i = 0; i < node.length; i++) { 5903 var child = node[i]; 5904 5905 if (isValidElement(child)) { 5906 validateExplicitKey(child, parentType); 5907 } 5908 } 5909 } else if (isValidElement(node)) { 5910 // This element was passed in a valid location. 5911 if (node._store) { 5912 node._store.validated = true; 5913 } 5914 } else if (node) { 5915 var iteratorFn = getIteratorFn(node); 5916 5917 if (typeof iteratorFn === 'function') { 5918 // Entry iterators used to provide implicit keys, 5919 // but now we print a separate warning for them later. 5920 if (iteratorFn !== node.entries) { 5921 var iterator = iteratorFn.call(node); 5922 var step; 5923 5924 while (!(step = iterator.next()).done) { 5925 if (isValidElement(step.value)) { 5926 validateExplicitKey(step.value, parentType); 5927 } 5928 } 5929 } 5930 } 5931 } 5932 } 5933} 5934/** 5935 * Given an element, validate that its props follow the propTypes definition, 5936 * provided by the type. 5937 * 5938 * @param {ReactElement} element 5939 */ 5940 5941 5942function validatePropTypes(element) { 5943 { 5944 var type = element.type; 5945 5946 if (type === null || type === undefined || typeof type === 'string') { 5947 return; 5948 } 5949 5950 var propTypes; 5951 5952 if (typeof type === 'function') { 5953 propTypes = type.propTypes; 5954 } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here. 5955 // Inner props are checked in the reconciler. 5956 type.$$typeof === REACT_MEMO_TYPE)) { 5957 propTypes = type.propTypes; 5958 } else { 5959 return; 5960 } 5961 5962 if (propTypes) { 5963 // Intentionally inside to avoid triggering lazy initializers: 5964 var name = getComponentName(type); 5965 checkPropTypes(propTypes, element.props, 'prop', name, element); 5966 } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) { 5967 propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers: 5968 5969 var _name = getComponentName(type); 5970 5971 error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown'); 5972 } 5973 5974 if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) { 5975 error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.'); 5976 } 5977 } 5978} 5979/** 5980 * Given a fragment, validate that it can only be provided with fragment props 5981 * @param {ReactElement} fragment 5982 */ 5983 5984 5985function validateFragmentProps(fragment) { 5986 { 5987 var keys = Object.keys(fragment.props); 5988 5989 for (var i = 0; i < keys.length; i++) { 5990 var key = keys[i]; 5991 5992 if (key !== 'children' && key !== 'key') { 5993 setCurrentlyValidatingElement$1(fragment); 5994 5995 error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); 5996 5997 setCurrentlyValidatingElement$1(null); 5998 break; 5999 } 6000 } 6001 6002 if (fragment.ref !== null) { 6003 setCurrentlyValidatingElement$1(fragment); 6004 6005 error('Invalid attribute `ref` supplied to `React.Fragment`.'); 6006 6007 setCurrentlyValidatingElement$1(null); 6008 } 6009 } 6010} 6011 6012function jsxWithValidation(type, props, key, isStaticChildren, source, self) { 6013 { 6014 var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to 6015 // succeed and there will likely be errors in render. 6016 6017 if (!validType) { 6018 var info = ''; 6019 6020 if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { 6021 info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports."; 6022 } 6023 6024 var sourceInfo = getSourceInfoErrorAddendum(source); 6025 6026 if (sourceInfo) { 6027 info += sourceInfo; 6028 } else { 6029 info += getDeclarationErrorAddendum(); 6030 } 6031 6032 var typeString; 6033 6034 if (type === null) { 6035 typeString = 'null'; 6036 } else if (Array.isArray(type)) { 6037 typeString = 'array'; 6038 } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) { 6039 typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />"; 6040 info = ' Did you accidentally export a JSX literal instead of a component?'; 6041 } else { 6042 typeString = typeof type; 6043 } 6044 6045 error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info); 6046 } 6047 6048 var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used. 6049 // TODO: Drop this when these are no longer allowed as the type argument. 6050 6051 if (element == null) { 6052 return element; 6053 } // Skip key warning if the type isn't valid since our key validation logic 6054 // doesn't expect a non-string/function type and can throw confusing errors. 6055 // We don't want exception behavior to differ between dev and prod. 6056 // (Rendering will throw with a helpful message and as soon as the type is 6057 // fixed, the key warnings will appear.) 6058 6059 6060 if (validType) { 6061 var children = props.children; 6062 6063 if (children !== undefined) { 6064 if (isStaticChildren) { 6065 if (Array.isArray(children)) { 6066 for (var i = 0; i < children.length; i++) { 6067 validateChildKeys(children[i], type); 6068 } 6069 6070 if (Object.freeze) { 6071 Object.freeze(children); 6072 } 6073 } else { 6074 error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.'); 6075 } 6076 } else { 6077 validateChildKeys(children, type); 6078 } 6079 } 6080 } 6081 6082 if (type === exports.Fragment) { 6083 validateFragmentProps(element); 6084 } else { 6085 validatePropTypes(element); 6086 } 6087 6088 return element; 6089 } 6090} // These two functions exist to still get child warnings in dev 6091// even with the prod transform. This means that jsxDEV is purely 6092// opt-in behavior for better messages but that we won't stop 6093// giving you warnings if you use production apis. 6094 6095function jsxWithValidationStatic(type, props, key) { 6096 { 6097 return jsxWithValidation(type, props, key, true); 6098 } 6099} 6100function jsxWithValidationDynamic(type, props, key) { 6101 { 6102 return jsxWithValidation(type, props, key, false); 6103 } 6104} 6105 6106var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children. 6107// for now we can ship identical prod functions 6108 6109var jsxs = jsxWithValidationStatic ; 6110 6111exports.jsx = jsx; 6112exports.jsxs = jsxs; 6113 })(); 6114} 6115 6116 6117/***/ }), 6118
vendor: 61,046 bytes, lines 6119-8041
6119/***/ "./node_modules/react/cjs/react.development.js": 6120/*!*****************************************************!*\ 6121 !*** ./node_modules/react/cjs/react.development.js ***! 6122 \*****************************************************/ 6123/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 6124 6125"use strict"; 6126/** @license React v16.14.0 6127 * react.development.js 6128 * 6129 * Copyright (c) Facebook, Inc. and its affiliates. 6130 * 6131 * This source code is licensed under the MIT license found in the 6132 * LICENSE file in the root directory of this source tree. 6133 */ 6134 6135 6136 6137 6138 6139if (true) { 6140 (function() { 6141'use strict'; 6142 6143var _assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js"); 6144var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js"); 6145 6146var ReactVersion = '16.14.0'; 6147 6148// The Symbol used to tag the ReactElement-like types. If there is no native Symbol 6149// nor polyfill, then a plain number is used for performance. 6150var hasSymbol = typeof Symbol === 'function' && Symbol.for; 6151var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7; 6152var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca; 6153var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb; 6154var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc; 6155var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2; 6156var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd; 6157var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary 6158var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf; 6159var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0; 6160var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1; 6161var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8; 6162var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3; 6163var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4; 6164var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9; 6165var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5; 6166var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6; 6167var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7; 6168var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; 6169var FAUX_ITERATOR_SYMBOL = '@@iterator'; 6170function getIteratorFn(maybeIterable) { 6171 if (maybeIterable === null || typeof maybeIterable !== 'object') { 6172 return null; 6173 } 6174 6175 var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; 6176 6177 if (typeof maybeIterator === 'function') { 6178 return maybeIterator; 6179 } 6180 6181 return null; 6182} 6183 6184/** 6185 * Keeps track of the current dispatcher. 6186 */ 6187var ReactCurrentDispatcher = { 6188 /** 6189 * @internal 6190 * @type {ReactComponent} 6191 */ 6192 current: null 6193}; 6194 6195/** 6196 * Keeps track of the current batch's configuration such as how long an update 6197 * should suspend for if it needs to. 6198 */ 6199var ReactCurrentBatchConfig = { 6200 suspense: null 6201}; 6202 6203/** 6204 * Keeps track of the current owner. 6205 * 6206 * The current owner is the component who should own any components that are 6207 * currently being constructed. 6208 */ 6209var ReactCurrentOwner = { 6210 /** 6211 * @internal 6212 * @type {ReactComponent} 6213 */ 6214 current: null 6215}; 6216 6217var BEFORE_SLASH_RE = /^(.*)[\\\/]/; 6218function describeComponentFrame (name, source, ownerName) { 6219 var sourceInfo = ''; 6220 6221 if (source) { 6222 var path = source.fileName; 6223 var fileName = path.replace(BEFORE_SLASH_RE, ''); 6224 6225 { 6226 // In DEV, include code for a common special case: 6227 // prefer "folder/index.js" instead of just "index.js". 6228 if (/^index\./.test(fileName)) { 6229 var match = path.match(BEFORE_SLASH_RE); 6230 6231 if (match) { 6232 var pathBeforeSlash = match[1]; 6233 6234 if (pathBeforeSlash) { 6235 var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, ''); 6236 fileName = folderName + '/' + fileName; 6237 } 6238 } 6239 } 6240 } 6241 6242 sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')'; 6243 } else if (ownerName) { 6244 sourceInfo = ' (created by ' + ownerName + ')'; 6245 } 6246 6247 return '\n in ' + (name || 'Unknown') + sourceInfo; 6248} 6249 6250var Resolved = 1; 6251function refineResolvedLazyComponent(lazyComponent) { 6252 return lazyComponent._status === Resolved ? lazyComponent._result : null; 6253} 6254 6255function getWrappedName(outerType, innerType, wrapperName) { 6256 var functionName = innerType.displayName || innerType.name || ''; 6257 return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName); 6258} 6259 6260function getComponentName(type) { 6261 if (type == null) { 6262 // Host root, text node or just invalid type. 6263 return null; 6264 } 6265 6266 { 6267 if (typeof type.tag === 'number') { 6268 error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.'); 6269 } 6270 } 6271 6272 if (typeof type === 'function') { 6273 return type.displayName || type.name || null; 6274 } 6275 6276 if (typeof type === 'string') { 6277 return type; 6278 } 6279 6280 switch (type) { 6281 case REACT_FRAGMENT_TYPE: 6282 return 'Fragment'; 6283 6284 case REACT_PORTAL_TYPE: 6285 return 'Portal'; 6286 6287 case REACT_PROFILER_TYPE: 6288 return "Profiler"; 6289 6290 case REACT_STRICT_MODE_TYPE: 6291 return 'StrictMode'; 6292 6293 case REACT_SUSPENSE_TYPE: 6294 return 'Suspense'; 6295 6296 case REACT_SUSPENSE_LIST_TYPE: 6297 return 'SuspenseList'; 6298 } 6299 6300 if (typeof type === 'object') { 6301 switch (type.$$typeof) { 6302 case REACT_CONTEXT_TYPE: 6303 return 'Context.Consumer'; 6304 6305 case REACT_PROVIDER_TYPE: 6306 return 'Context.Provider'; 6307 6308 case REACT_FORWARD_REF_TYPE: 6309 return getWrappedName(type, type.render, 'ForwardRef'); 6310 6311 case REACT_MEMO_TYPE: 6312 return getComponentName(type.type); 6313 6314 case REACT_BLOCK_TYPE: 6315 return getComponentName(type.render); 6316 6317 case REACT_LAZY_TYPE: 6318 { 6319 var thenable = type; 6320 var resolvedThenable = refineResolvedLazyComponent(thenable); 6321 6322 if (resolvedThenable) { 6323 return getComponentName(resolvedThenable); 6324 } 6325 6326 break; 6327 } 6328 } 6329 } 6330 6331 return null; 6332} 6333 6334var ReactDebugCurrentFrame = {}; 6335var currentlyValidatingElement = null; 6336function setCurrentlyValidatingElement(element) { 6337 { 6338 currentlyValidatingElement = element; 6339 } 6340} 6341 6342{ 6343 // Stack implementation injected by the current renderer. 6344 ReactDebugCurrentFrame.getCurrentStack = null; 6345 6346 ReactDebugCurrentFrame.getStackAddendum = function () { 6347 var stack = ''; // Add an extra top frame while an element is being validated 6348 6349 if (currentlyValidatingElement) { 6350 var name = getComponentName(currentlyValidatingElement.type); 6351 var owner = currentlyValidatingElement._owner; 6352 stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type)); 6353 } // Delegate to the injected renderer-specific implementation 6354 6355 6356 var impl = ReactDebugCurrentFrame.getCurrentStack; 6357 6358 if (impl) { 6359 stack += impl() || ''; 6360 } 6361 6362 return stack; 6363 }; 6364} 6365 6366/** 6367 * Used by act() to track whether you're inside an act() scope. 6368 */ 6369var IsSomeRendererActing = { 6370 current: false 6371}; 6372 6373var ReactSharedInternals = { 6374 ReactCurrentDispatcher: ReactCurrentDispatcher, 6375 ReactCurrentBatchConfig: ReactCurrentBatchConfig, 6376 ReactCurrentOwner: ReactCurrentOwner, 6377 IsSomeRendererActing: IsSomeRendererActing, 6378 // Used by renderers to avoid bundling object-assign twice in UMD bundles: 6379 assign: _assign 6380}; 6381 6382{ 6383 _assign(ReactSharedInternals, { 6384 // These should not be included in production. 6385 ReactDebugCurrentFrame: ReactDebugCurrentFrame, 6386 // Shim for React DOM 16.0.0 which still destructured (but not used) this. 6387 // TODO: remove in React 17.0. 6388 ReactComponentTreeHook: {} 6389 }); 6390} 6391 6392// by calls to these methods by a Babel plugin. 6393// 6394// In PROD (or in packages without access to React internals), 6395// they are left as they are instead. 6396 6397function warn(format) { 6398 { 6399 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 6400 args[_key - 1] = arguments[_key]; 6401 } 6402 6403 printWarning('warn', format, args); 6404 } 6405} 6406function error(format) { 6407 { 6408 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { 6409 args[_key2 - 1] = arguments[_key2]; 6410 } 6411 6412 printWarning('error', format, args); 6413 } 6414} 6415 6416function printWarning(level, format, args) { 6417 // When changing this logic, you might want to also 6418 // update consoleWithStackDev.www.js as well. 6419 { 6420 var hasExistingStack = args.length > 0 && typeof args[args.length - 1] === 'string' && args[args.length - 1].indexOf('\n in') === 0; 6421 6422 if (!hasExistingStack) { 6423 var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 6424 var stack = ReactDebugCurrentFrame.getStackAddendum(); 6425 6426 if (stack !== '') { 6427 format += '%s'; 6428 args = args.concat([stack]); 6429 } 6430 } 6431 6432 var argsWithFormat = args.map(function (item) { 6433 return '' + item; 6434 }); // Careful: RN currently depends on this prefix 6435 6436 argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it 6437 // breaks IE9: https://github.com/facebook/react/issues/13610 6438 // eslint-disable-next-line react-internal/no-production-logging 6439 6440 Function.prototype.apply.call(console[level], console, argsWithFormat); 6441 6442 try { 6443 // --- Welcome to debugging React --- 6444 // This error was thrown as a convenience so that you can use this stack 6445 // to find the callsite that caused this warning to fire. 6446 var argIndex = 0; 6447 var message = 'Warning: ' + format.replace(/%s/g, function () { 6448 return args[argIndex++]; 6449 }); 6450 throw new Error(message); 6451 } catch (x) {} 6452 } 6453} 6454 6455var didWarnStateUpdateForUnmountedComponent = {}; 6456 6457function warnNoop(publicInstance, callerName) { 6458 { 6459 var _constructor = publicInstance.constructor; 6460 var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass'; 6461 var warningKey = componentName + "." + callerName; 6462 6463 if (didWarnStateUpdateForUnmountedComponent[warningKey]) { 6464 return; 6465 } 6466 6467 error("Can't call %s on a component that is not yet mounted. " + 'This is a no-op, but it might indicate a bug in your application. ' + 'Instead, assign to `this.state` directly or define a `state = {};` ' + 'class property with the desired state in the %s component.', callerName, componentName); 6468 6469 didWarnStateUpdateForUnmountedComponent[warningKey] = true; 6470 } 6471} 6472/** 6473 * This is the abstract API for an update queue. 6474 */ 6475 6476 6477var ReactNoopUpdateQueue = { 6478 /** 6479 * Checks whether or not this composite component is mounted. 6480 * @param {ReactClass} publicInstance The instance we want to test. 6481 * @return {boolean} True if mounted, false otherwise. 6482 * @protected 6483 * @final 6484 */ 6485 isMounted: function (publicInstance) { 6486 return false; 6487 }, 6488 6489 /** 6490 * Forces an update. This should only be invoked when it is known with 6491 * certainty that we are **not** in a DOM transaction. 6492 * 6493 * You may want to call this when you know that some deeper aspect of the 6494 * component's state has changed but `setState` was not called. 6495 * 6496 * This will not invoke `shouldComponentUpdate`, but it will invoke 6497 * `componentWillUpdate` and `componentDidUpdate`. 6498 * 6499 * @param {ReactClass} publicInstance The instance that should rerender. 6500 * @param {?function} callback Called after component is updated. 6501 * @param {?string} callerName name of the calling function in the public API. 6502 * @internal 6503 */ 6504 enqueueForceUpdate: function (publicInstance, callback, callerName) { 6505 warnNoop(publicInstance, 'forceUpdate'); 6506 }, 6507 6508 /** 6509 * Replaces all of the state. Always use this or `setState` to mutate state. 6510 * You should treat `this.state` as immutable. 6511 * 6512 * There is no guarantee that `this.state` will be immediately updated, so 6513 * accessing `this.state` after calling this method may return the old value. 6514 * 6515 * @param {ReactClass} publicInstance The instance that should rerender. 6516 * @param {object} completeState Next state. 6517 * @param {?function} callback Called after component is updated. 6518 * @param {?string} callerName name of the calling function in the public API. 6519 * @internal 6520 */ 6521 enqueueReplaceState: function (publicInstance, completeState, callback, callerName) { 6522 warnNoop(publicInstance, 'replaceState'); 6523 }, 6524 6525 /** 6526 * Sets a subset of the state. This only exists because _pendingState is 6527 * internal. This provides a merging strategy that is not available to deep 6528 * properties which is confusing. TODO: Expose pendingState or don't use it 6529 * during the merge. 6530 * 6531 * @param {ReactClass} publicInstance The instance that should rerender. 6532 * @param {object} partialState Next partial state to be merged with state. 6533 * @param {?function} callback Called after component is updated. 6534 * @param {?string} Name of the calling function in the public API. 6535 * @internal 6536 */ 6537 enqueueSetState: function (publicInstance, partialState, callback, callerName) { 6538 warnNoop(publicInstance, 'setState'); 6539 } 6540}; 6541 6542var emptyObject = {}; 6543 6544{ 6545 Object.freeze(emptyObject); 6546} 6547/** 6548 * Base class helpers for the updating state of a component. 6549 */ 6550 6551 6552function Component(props, context, updater) { 6553 this.props = props; 6554 this.context = context; // If a component has string refs, we will assign a different object later. 6555 6556 this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the 6557 // renderer. 6558 6559 this.updater = updater || ReactNoopUpdateQueue; 6560} 6561 6562Component.prototype.isReactComponent = {}; 6563/** 6564 * Sets a subset of the state. Always use this to mutate 6565 * state. You should treat `this.state` as immutable. 6566 * 6567 * There is no guarantee that `this.state` will be immediately updated, so 6568 * accessing `this.state` after calling this method may return the old value. 6569 * 6570 * There is no guarantee that calls to `setState` will run synchronously, 6571 * as they may eventually be batched together. You can provide an optional 6572 * callback that will be executed when the call to setState is actually 6573 * completed. 6574 * 6575 * When a function is provided to setState, it will be called at some point in 6576 * the future (not synchronously). It will be called with the up to date 6577 * component arguments (state, props, context). These values can be different 6578 * from this.* because your function may be called after receiveProps but before 6579 * shouldComponentUpdate, and this new state, props, and context will not yet be 6580 * assigned to this. 6581 * 6582 * @param {object|function} partialState Next partial state or function to 6583 * produce next partial state to be merged with current state. 6584 * @param {?function} callback Called after state is updated. 6585 * @final 6586 * @protected 6587 */ 6588 6589Component.prototype.setState = function (partialState, callback) { 6590 if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) { 6591 { 6592 throw Error( "setState(...): takes an object of state variables to update or a function which returns an object of state variables." ); 6593 } 6594 } 6595 6596 this.updater.enqueueSetState(this, partialState, callback, 'setState'); 6597}; 6598/** 6599 * Forces an update. This should only be invoked when it is known with 6600 * certainty that we are **not** in a DOM transaction. 6601 * 6602 * You may want to call this when you know that some deeper aspect of the 6603 * component's state has changed but `setState` was not called. 6604 * 6605 * This will not invoke `shouldComponentUpdate`, but it will invoke 6606 * `componentWillUpdate` and `componentDidUpdate`. 6607 * 6608 * @param {?function} callback Called after update is complete. 6609 * @final 6610 * @protected 6611 */ 6612 6613 6614Component.prototype.forceUpdate = function (callback) { 6615 this.updater.enqueueForceUpdate(this, callback, 'forceUpdate'); 6616}; 6617/** 6618 * Deprecated APIs. These APIs used to exist on classic React classes but since 6619 * we would like to deprecate them, we're not going to move them over to this 6620 * modern base class. Instead, we define a getter that warns if it's accessed. 6621 */ 6622 6623 6624{ 6625 var deprecatedAPIs = { 6626 isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'], 6627 replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).'] 6628 }; 6629 6630 var defineDeprecationWarning = function (methodName, info) { 6631 Object.defineProperty(Component.prototype, methodName, { 6632 get: function () { 6633 warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]); 6634 6635 return undefined; 6636 } 6637 }); 6638 }; 6639 6640 for (var fnName in deprecatedAPIs) { 6641 if (deprecatedAPIs.hasOwnProperty(fnName)) { 6642 defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); 6643 } 6644 } 6645} 6646 6647function ComponentDummy() {} 6648 6649ComponentDummy.prototype = Component.prototype; 6650/** 6651 * Convenience component with default shallow equality check for sCU. 6652 */ 6653 6654function PureComponent(props, context, updater) { 6655 this.props = props; 6656 this.context = context; // If a component has string refs, we will assign a different object later. 6657 6658 this.refs = emptyObject; 6659 this.updater = updater || ReactNoopUpdateQueue; 6660} 6661 6662var pureComponentPrototype = PureComponent.prototype = new ComponentDummy(); 6663pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods. 6664 6665_assign(pureComponentPrototype, Component.prototype); 6666 6667pureComponentPrototype.isPureReactComponent = true; 6668 6669// an immutable object with a single mutable value 6670function createRef() { 6671 var refObject = { 6672 current: null 6673 }; 6674 6675 { 6676 Object.seal(refObject); 6677 } 6678 6679 return refObject; 6680} 6681 6682var hasOwnProperty = Object.prototype.hasOwnProperty; 6683var RESERVED_PROPS = { 6684 key: true, 6685 ref: true, 6686 __self: true, 6687 __source: true 6688}; 6689var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs; 6690 6691{ 6692 didWarnAboutStringRefs = {}; 6693} 6694 6695function hasValidRef(config) { 6696 { 6697 if (hasOwnProperty.call(config, 'ref')) { 6698 var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; 6699 6700 if (getter && getter.isReactWarning) { 6701 return false; 6702 } 6703 } 6704 } 6705 6706 return config.ref !== undefined; 6707} 6708 6709function hasValidKey(config) { 6710 { 6711 if (hasOwnProperty.call(config, 'key')) { 6712 var getter = Object.getOwnPropertyDescriptor(config, 'key').get; 6713 6714 if (getter && getter.isReactWarning) { 6715 return false; 6716 } 6717 } 6718 } 6719 6720 return config.key !== undefined; 6721} 6722 6723function defineKeyPropWarningGetter(props, displayName) { 6724 var warnAboutAccessingKey = function () { 6725 { 6726 if (!specialPropKeyWarningShown) { 6727 specialPropKeyWarningShown = true; 6728 6729 error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName); 6730 } 6731 } 6732 }; 6733 6734 warnAboutAccessingKey.isReactWarning = true; 6735 Object.defineProperty(props, 'key', { 6736 get: warnAboutAccessingKey, 6737 configurable: true 6738 }); 6739} 6740 6741function defineRefPropWarningGetter(props, displayName) { 6742 var warnAboutAccessingRef = function () { 6743 { 6744 if (!specialPropRefWarningShown) { 6745 specialPropRefWarningShown = true; 6746 6747 error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName); 6748 } 6749 } 6750 }; 6751 6752 warnAboutAccessingRef.isReactWarning = true; 6753 Object.defineProperty(props, 'ref', { 6754 get: warnAboutAccessingRef, 6755 configurable: true 6756 }); 6757} 6758 6759function warnIfStringRefCannotBeAutoConverted(config) { 6760 { 6761 if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) { 6762 var componentName = getComponentName(ReactCurrentOwner.current.type); 6763 6764 if (!didWarnAboutStringRefs[componentName]) { 6765 error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://fb.me/react-strict-mode-string-ref', getComponentName(ReactCurrentOwner.current.type), config.ref); 6766 6767 didWarnAboutStringRefs[componentName] = true; 6768 } 6769 } 6770 } 6771} 6772/** 6773 * Factory method to create a new React element. This no longer adheres to 6774 * the class pattern, so do not use new to call it. Also, instanceof check 6775 * will not work. Instead test $$typeof field against Symbol.for('react.element') to check 6776 * if something is a React Element. 6777 * 6778 * @param {*} type 6779 * @param {*} props 6780 * @param {*} key 6781 * @param {string|object} ref 6782 * @param {*} owner 6783 * @param {*} self A *temporary* helper to detect places where `this` is 6784 * different from the `owner` when React.createElement is called, so that we 6785 * can warn. We want to get rid of owner and replace string `ref`s with arrow 6786 * functions, and as long as `this` and owner are the same, there will be no 6787 * change in behavior. 6788 * @param {*} source An annotation object (added by a transpiler or otherwise) 6789 * indicating filename, line number, and/or other information. 6790 * @internal 6791 */ 6792 6793 6794var ReactElement = function (type, key, ref, self, source, owner, props) { 6795 var element = { 6796 // This tag allows us to uniquely identify this as a React Element 6797 $$typeof: REACT_ELEMENT_TYPE, 6798 // Built-in properties that belong on the element 6799 type: type, 6800 key: key, 6801 ref: ref, 6802 props: props, 6803 // Record the component responsible for creating this element. 6804 _owner: owner 6805 }; 6806 6807 { 6808 // The validation flag is currently mutative. We put it on 6809 // an external backing store so that we can freeze the whole object. 6810 // This can be replaced with a WeakMap once they are implemented in 6811 // commonly used development environments. 6812 element._store = {}; // To make comparing ReactElements easier for testing purposes, we make 6813 // the validation flag non-enumerable (where possible, which should 6814 // include every environment we run tests in), so the test framework 6815 // ignores it. 6816 6817 Object.defineProperty(element._store, 'validated', { 6818 configurable: false, 6819 enumerable: false, 6820 writable: true, 6821 value: false 6822 }); // self and source are DEV only properties. 6823 6824 Object.defineProperty(element, '_self', { 6825 configurable: false, 6826 enumerable: false, 6827 writable: false, 6828 value: self 6829 }); // Two elements created in two different places should be considered 6830 // equal for testing purposes and therefore we hide it from enumeration. 6831 6832 Object.defineProperty(element, '_source', { 6833 configurable: false, 6834 enumerable: false, 6835 writable: false, 6836 value: source 6837 }); 6838 6839 if (Object.freeze) { 6840 Object.freeze(element.props); 6841 Object.freeze(element); 6842 } 6843 } 6844 6845 return element; 6846}; 6847/** 6848 * Create and return a new ReactElement of the given type. 6849 * See https://reactjs.org/docs/react-api.html#createelement 6850 */ 6851 6852function createElement(type, config, children) { 6853 var propName; // Reserved names are extracted 6854 6855 var props = {}; 6856 var key = null; 6857 var ref = null; 6858 var self = null; 6859 var source = null; 6860 6861 if (config != null) { 6862 if (hasValidRef(config)) { 6863 ref = config.ref; 6864 6865 { 6866 warnIfStringRefCannotBeAutoConverted(config); 6867 } 6868 } 6869 6870 if (hasValidKey(config)) { 6871 key = '' + config.key; 6872 } 6873 6874 self = config.__self === undefined ? null : config.__self; 6875 source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object 6876 6877 for (propName in config) { 6878 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 6879 props[propName] = config[propName]; 6880 } 6881 } 6882 } // Children can be more than one argument, and those are transferred onto 6883 // the newly allocated props object. 6884 6885 6886 var childrenLength = arguments.length - 2; 6887 6888 if (childrenLength === 1) { 6889 props.children = children; 6890 } else if (childrenLength > 1) { 6891 var childArray = Array(childrenLength); 6892 6893 for (var i = 0; i < childrenLength; i++) { 6894 childArray[i] = arguments[i + 2]; 6895 } 6896 6897 { 6898 if (Object.freeze) { 6899 Object.freeze(childArray); 6900 } 6901 } 6902 6903 props.children = childArray; 6904 } // Resolve default props 6905 6906 6907 if (type && type.defaultProps) { 6908 var defaultProps = type.defaultProps; 6909 6910 for (propName in defaultProps) { 6911 if (props[propName] === undefined) { 6912 props[propName] = defaultProps[propName]; 6913 } 6914 } 6915 } 6916 6917 { 6918 if (key || ref) { 6919 var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; 6920 6921 if (key) { 6922 defineKeyPropWarningGetter(props, displayName); 6923 } 6924 6925 if (ref) { 6926 defineRefPropWarningGetter(props, displayName); 6927 } 6928 } 6929 } 6930 6931 return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); 6932} 6933function cloneAndReplaceKey(oldElement, newKey) { 6934 var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props); 6935 return newElement; 6936} 6937/** 6938 * Clone and return a new ReactElement using element as the starting point. 6939 * See https://reactjs.org/docs/react-api.html#cloneelement 6940 */ 6941 6942function cloneElement(element, config, children) { 6943 if (!!(element === null || element === undefined)) { 6944 { 6945 throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " + element + "." ); 6946 } 6947 } 6948 6949 var propName; // Original props are copied 6950 6951 var props = _assign({}, element.props); // Reserved names are extracted 6952 6953 6954 var key = element.key; 6955 var ref = element.ref; // Self is preserved since the owner is preserved. 6956 6957 var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a 6958 // transpiler, and the original source is probably a better indicator of the 6959 // true owner. 6960 6961 var source = element._source; // Owner will be preserved, unless ref is overridden 6962 6963 var owner = element._owner; 6964 6965 if (config != null) { 6966 if (hasValidRef(config)) { 6967 // Silently steal the ref from the parent. 6968 ref = config.ref; 6969 owner = ReactCurrentOwner.current; 6970 } 6971 6972 if (hasValidKey(config)) { 6973 key = '' + config.key; 6974 } // Remaining properties override existing props 6975 6976 6977 var defaultProps; 6978 6979 if (element.type && element.type.defaultProps) { 6980 defaultProps = element.type.defaultProps; 6981 } 6982 6983 for (propName in config) { 6984 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 6985 if (config[propName] === undefined && defaultProps !== undefined) { 6986 // Resolve default props 6987 props[propName] = defaultProps[propName]; 6988 } else { 6989 props[propName] = config[propName]; 6990 } 6991 } 6992 } 6993 } // Children can be more than one argument, and those are transferred onto 6994 // the newly allocated props object. 6995 6996 6997 var childrenLength = arguments.length - 2; 6998 6999 if (childrenLength === 1) { 7000 props.children = children; 7001 } else if (childrenLength > 1) { 7002 var childArray = Array(childrenLength); 7003 7004 for (var i = 0; i < childrenLength; i++) { 7005 childArray[i] = arguments[i + 2]; 7006 } 7007 7008 props.children = childArray; 7009 } 7010 7011 return ReactElement(element.type, key, ref, self, source, owner, props); 7012} 7013/** 7014 * Verifies the object is a ReactElement. 7015 * See https://reactjs.org/docs/react-api.html#isvalidelement 7016 * @param {?object} object 7017 * @return {boolean} True if `object` is a ReactElement. 7018 * @final 7019 */ 7020 7021function isValidElement(object) { 7022 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; 7023} 7024 7025var SEPARATOR = '.'; 7026var SUBSEPARATOR = ':'; 7027/** 7028 * Escape and wrap key so it is safe to use as a reactid 7029 * 7030 * @param {string} key to be escaped. 7031 * @return {string} the escaped key. 7032 */ 7033 7034function escape(key) { 7035 var escapeRegex = /[=:]/g; 7036 var escaperLookup = { 7037 '=': '=0', 7038 ':': '=2' 7039 }; 7040 var escapedString = ('' + key).replace(escapeRegex, function (match) { 7041 return escaperLookup[match]; 7042 }); 7043 return '$' + escapedString; 7044} 7045/** 7046 * TODO: Test that a single child and an array with one item have the same key 7047 * pattern. 7048 */ 7049 7050 7051var didWarnAboutMaps = false; 7052var userProvidedKeyEscapeRegex = /\/+/g; 7053 7054function escapeUserProvidedKey(text) { 7055 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/'); 7056} 7057 7058var POOL_SIZE = 10; 7059var traverseContextPool = []; 7060 7061function getPooledTraverseContext(mapResult, keyPrefix, mapFunction, mapContext) { 7062 if (traverseContextPool.length) { 7063 var traverseContext = traverseContextPool.pop(); 7064 traverseContext.result = mapResult; 7065 traverseContext.keyPrefix = keyPrefix; 7066 traverseContext.func = mapFunction; 7067 traverseContext.context = mapContext; 7068 traverseContext.count = 0; 7069 return traverseContext; 7070 } else { 7071 return { 7072 result: mapResult, 7073 keyPrefix: keyPrefix, 7074 func: mapFunction, 7075 context: mapContext, 7076 count: 0 7077 }; 7078 } 7079} 7080 7081function releaseTraverseContext(traverseContext) { 7082 traverseContext.result = null; 7083 traverseContext.keyPrefix = null; 7084 traverseContext.func = null; 7085 traverseContext.context = null; 7086 traverseContext.count = 0; 7087 7088 if (traverseContextPool.length < POOL_SIZE) { 7089 traverseContextPool.push(traverseContext); 7090 } 7091} 7092/** 7093 * @param {?*} children Children tree container. 7094 * @param {!string} nameSoFar Name of the key path so far. 7095 * @param {!function} callback Callback to invoke with each child found. 7096 * @param {?*} traverseContext Used to pass information throughout the traversal 7097 * process. 7098 * @return {!number} The number of children in this subtree. 7099 */ 7100 7101 7102function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) { 7103 var type = typeof children; 7104 7105 if (type === 'undefined' || type === 'boolean') { 7106 // All of the above are perceived as null. 7107 children = null; 7108 } 7109 7110 var invokeCallback = false; 7111 7112 if (children === null) { 7113 invokeCallback = true; 7114 } else { 7115 switch (type) { 7116 case 'string': 7117 case 'number': 7118 invokeCallback = true; 7119 break; 7120 7121 case 'object': 7122 switch (children.$$typeof) { 7123 case REACT_ELEMENT_TYPE: 7124 case REACT_PORTAL_TYPE: 7125 invokeCallback = true; 7126 } 7127 7128 } 7129 } 7130 7131 if (invokeCallback) { 7132 callback(traverseContext, children, // If it's the only child, treat the name as if it was wrapped in an array 7133 // so that it's consistent if the number of children grows. 7134 nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar); 7135 return 1; 7136 } 7137 7138 var child; 7139 var nextName; 7140 var subtreeCount = 0; // Count of children found in the current subtree. 7141 7142 var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR; 7143 7144 if (Array.isArray(children)) { 7145 for (var i = 0; i < children.length; i++) { 7146 child = children[i]; 7147 nextName = nextNamePrefix + getComponentKey(child, i); 7148 subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); 7149 } 7150 } else { 7151 var iteratorFn = getIteratorFn(children); 7152 7153 if (typeof iteratorFn === 'function') { 7154 7155 { 7156 // Warn about using Maps as children 7157 if (iteratorFn === children.entries) { 7158 if (!didWarnAboutMaps) { 7159 warn('Using Maps as children is deprecated and will be removed in ' + 'a future major release. Consider converting children to ' + 'an array of keyed ReactElements instead.'); 7160 } 7161 7162 didWarnAboutMaps = true; 7163 } 7164 } 7165 7166 var iterator = iteratorFn.call(children); 7167 var step; 7168 var ii = 0; 7169 7170 while (!(step = iterator.next()).done) { 7171 child = step.value; 7172 nextName = nextNamePrefix + getComponentKey(child, ii++); 7173 subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); 7174 } 7175 } else if (type === 'object') { 7176 var addendum = ''; 7177 7178 { 7179 addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum(); 7180 } 7181 7182 var childrenString = '' + children; 7183 7184 { 7185 { 7186 throw Error( "Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum ); 7187 } 7188 } 7189 } 7190 } 7191 7192 return subtreeCount; 7193} 7194/** 7195 * Traverses children that are typically specified as `props.children`, but 7196 * might also be specified through attributes: 7197 * 7198 * - `traverseAllChildren(this.props.children, ...)` 7199 * - `traverseAllChildren(this.props.leftPanelChildren, ...)` 7200 * 7201 * The `traverseContext` is an optional argument that is passed through the 7202 * entire traversal. It can be used to store accumulations or anything else that 7203 * the callback might find relevant. 7204 * 7205 * @param {?*} children Children tree object. 7206 * @param {!function} callback To invoke upon traversing each child. 7207 * @param {?*} traverseContext Context for traversal. 7208 * @return {!number} The number of children in this subtree. 7209 */ 7210 7211 7212function traverseAllChildren(children, callback, traverseContext) { 7213 if (children == null) { 7214 return 0; 7215 } 7216 7217 return traverseAllChildrenImpl(children, '', callback, traverseContext); 7218} 7219/** 7220 * Generate a key string that identifies a component within a set. 7221 * 7222 * @param {*} component A component that could contain a manual key. 7223 * @param {number} index Index that is used if a manual key is not provided. 7224 * @return {string} 7225 */ 7226 7227 7228function getComponentKey(component, index) { 7229 // Do some typechecking here since we call this blindly. We want to ensure 7230 // that we don't block potential future ES APIs. 7231 if (typeof component === 'object' && component !== null && component.key != null) { 7232 // Explicit key 7233 return escape(component.key); 7234 } // Implicit key determined by the index in the set 7235 7236 7237 return index.toString(36); 7238} 7239 7240function forEachSingleChild(bookKeeping, child, name) { 7241 var func = bookKeeping.func, 7242 context = bookKeeping.context; 7243 func.call(context, child, bookKeeping.count++); 7244} 7245/** 7246 * Iterates through children that are typically specified as `props.children`. 7247 * 7248 * See https://reactjs.org/docs/react-api.html#reactchildrenforeach 7249 * 7250 * The provided forEachFunc(child, index) will be called for each 7251 * leaf child. 7252 * 7253 * @param {?*} children Children tree container. 7254 * @param {function(*, int)} forEachFunc 7255 * @param {*} forEachContext Context for forEachContext. 7256 */ 7257 7258 7259function forEachChildren(children, forEachFunc, forEachContext) { 7260 if (children == null) { 7261 return children; 7262 } 7263 7264 var traverseContext = getPooledTraverseContext(null, null, forEachFunc, forEachContext); 7265 traverseAllChildren(children, forEachSingleChild, traverseContext); 7266 releaseTraverseContext(traverseContext); 7267} 7268 7269function mapSingleChildIntoContext(bookKeeping, child, childKey) { 7270 var result = bookKeeping.result, 7271 keyPrefix = bookKeeping.keyPrefix, 7272 func = bookKeeping.func, 7273 context = bookKeeping.context; 7274 var mappedChild = func.call(context, child, bookKeeping.count++); 7275 7276 if (Array.isArray(mappedChild)) { 7277 mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, function (c) { 7278 return c; 7279 }); 7280 } else if (mappedChild != null) { 7281 if (isValidElement(mappedChild)) { 7282 mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as 7283 // traverseAllChildren used to do for objects as children 7284 keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey); 7285 } 7286 7287 result.push(mappedChild); 7288 } 7289} 7290 7291function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) { 7292 var escapedPrefix = ''; 7293 7294 if (prefix != null) { 7295 escapedPrefix = escapeUserProvidedKey(prefix) + '/'; 7296 } 7297 7298 var traverseContext = getPooledTraverseContext(array, escapedPrefix, func, context); 7299 traverseAllChildren(children, mapSingleChildIntoContext, traverseContext); 7300 releaseTraverseContext(traverseContext); 7301} 7302/** 7303 * Maps children that are typically specified as `props.children`. 7304 * 7305 * See https://reactjs.org/docs/react-api.html#reactchildrenmap 7306 * 7307 * The provided mapFunction(child, key, index) will be called for each 7308 * leaf child. 7309 * 7310 * @param {?*} children Children tree container. 7311 * @param {function(*, int)} func The map function. 7312 * @param {*} context Context for mapFunction. 7313 * @return {object} Object containing the ordered map of results. 7314 */ 7315 7316 7317function mapChildren(children, func, context) { 7318 if (children == null) { 7319 return children; 7320 } 7321 7322 var result = []; 7323 mapIntoWithKeyPrefixInternal(children, result, null, func, context); 7324 return result; 7325} 7326/** 7327 * Count the number of children that are typically specified as 7328 * `props.children`. 7329 * 7330 * See https://reactjs.org/docs/react-api.html#reactchildrencount 7331 * 7332 * @param {?*} children Children tree container. 7333 * @return {number} The number of children. 7334 */ 7335 7336 7337function countChildren(children) { 7338 return traverseAllChildren(children, function () { 7339 return null; 7340 }, null); 7341} 7342/** 7343 * Flatten a children object (typically specified as `props.children`) and 7344 * return an array with appropriately re-keyed children. 7345 * 7346 * See https://reactjs.org/docs/react-api.html#reactchildrentoarray 7347 */ 7348 7349 7350function toArray(children) { 7351 var result = []; 7352 mapIntoWithKeyPrefixInternal(children, result, null, function (child) { 7353 return child; 7354 }); 7355 return result; 7356} 7357/** 7358 * Returns the first child in a collection of children and verifies that there 7359 * is only one child in the collection. 7360 * 7361 * See https://reactjs.org/docs/react-api.html#reactchildrenonly 7362 * 7363 * The current implementation of this function assumes that a single child gets 7364 * passed without a wrapper, but the purpose of this helper function is to 7365 * abstract away the particular structure of children. 7366 * 7367 * @param {?object} children Child collection structure. 7368 * @return {ReactElement} The first and only `ReactElement` contained in the 7369 * structure. 7370 */ 7371 7372 7373function onlyChild(children) { 7374 if (!isValidElement(children)) { 7375 { 7376 throw Error( "React.Children.only expected to receive a single React element child." ); 7377 } 7378 } 7379 7380 return children; 7381} 7382 7383function createContext(defaultValue, calculateChangedBits) { 7384 if (calculateChangedBits === undefined) { 7385 calculateChangedBits = null; 7386 } else { 7387 { 7388 if (calculateChangedBits !== null && typeof calculateChangedBits !== 'function') { 7389 error('createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits); 7390 } 7391 } 7392 } 7393 7394 var context = { 7395 $$typeof: REACT_CONTEXT_TYPE, 7396 _calculateChangedBits: calculateChangedBits, 7397 // As a workaround to support multiple concurrent renderers, we categorize 7398 // some renderers as primary and others as secondary. We only expect 7399 // there to be two concurrent renderers at most: React Native (primary) and 7400 // Fabric (secondary); React DOM (primary) and React ART (secondary). 7401 // Secondary renderers store their context values on separate fields. 7402 _currentValue: defaultValue, 7403 _currentValue2: defaultValue, 7404 // Used to track how many concurrent renderers this context currently 7405 // supports within in a single renderer. Such as parallel server rendering. 7406 _threadCount: 0, 7407 // These are circular 7408 Provider: null, 7409 Consumer: null 7410 }; 7411 context.Provider = { 7412 $$typeof: REACT_PROVIDER_TYPE, 7413 _context: context 7414 }; 7415 var hasWarnedAboutUsingNestedContextConsumers = false; 7416 var hasWarnedAboutUsingConsumerProvider = false; 7417 7418 { 7419 // A separate object, but proxies back to the original context object for 7420 // backwards compatibility. It has a different $$typeof, so we can properly 7421 // warn for the incorrect usage of Context as a Consumer. 7422 var Consumer = { 7423 $$typeof: REACT_CONTEXT_TYPE, 7424 _context: context, 7425 _calculateChangedBits: context._calculateChangedBits 7426 }; // $FlowFixMe: Flow complains about not setting a value, which is intentional here 7427 7428 Object.defineProperties(Consumer, { 7429 Provider: { 7430 get: function () { 7431 if (!hasWarnedAboutUsingConsumerProvider) { 7432 hasWarnedAboutUsingConsumerProvider = true; 7433 7434 error('Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?'); 7435 } 7436 7437 return context.Provider; 7438 }, 7439 set: function (_Provider) { 7440 context.Provider = _Provider; 7441 } 7442 }, 7443 _currentValue: { 7444 get: function () { 7445 return context._currentValue; 7446 }, 7447 set: function (_currentValue) { 7448 context._currentValue = _currentValue; 7449 } 7450 }, 7451 _currentValue2: { 7452 get: function () { 7453 return context._currentValue2; 7454 }, 7455 set: function (_currentValue2) { 7456 context._currentValue2 = _currentValue2; 7457 } 7458 }, 7459 _threadCount: { 7460 get: function () { 7461 return context._threadCount; 7462 }, 7463 set: function (_threadCount) { 7464 context._threadCount = _threadCount; 7465 } 7466 }, 7467 Consumer: { 7468 get: function () { 7469 if (!hasWarnedAboutUsingNestedContextConsumers) { 7470 hasWarnedAboutUsingNestedContextConsumers = true; 7471 7472 error('Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?'); 7473 } 7474 7475 return context.Consumer; 7476 } 7477 } 7478 }); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty 7479 7480 context.Consumer = Consumer; 7481 } 7482 7483 { 7484 context._currentRenderer = null; 7485 context._currentRenderer2 = null; 7486 } 7487 7488 return context; 7489} 7490 7491function lazy(ctor) { 7492 var lazyType = { 7493 $$typeof: REACT_LAZY_TYPE, 7494 _ctor: ctor, 7495 // React uses these fields to store the result. 7496 _status: -1, 7497 _result: null 7498 }; 7499 7500 { 7501 // In production, this would just set it on the object. 7502 var defaultProps; 7503 var propTypes; 7504 Object.defineProperties(lazyType, { 7505 defaultProps: { 7506 configurable: true, 7507 get: function () { 7508 return defaultProps; 7509 }, 7510 set: function (newDefaultProps) { 7511 error('React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.'); 7512 7513 defaultProps = newDefaultProps; // Match production behavior more closely: 7514 7515 Object.defineProperty(lazyType, 'defaultProps', { 7516 enumerable: true 7517 }); 7518 } 7519 }, 7520 propTypes: { 7521 configurable: true, 7522 get: function () { 7523 return propTypes; 7524 }, 7525 set: function (newPropTypes) { 7526 error('React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.'); 7527 7528 propTypes = newPropTypes; // Match production behavior more closely: 7529 7530 Object.defineProperty(lazyType, 'propTypes', { 7531 enumerable: true 7532 }); 7533 } 7534 } 7535 }); 7536 } 7537 7538 return lazyType; 7539} 7540 7541function forwardRef(render) { 7542 { 7543 if (render != null && render.$$typeof === REACT_MEMO_TYPE) { 7544 error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).'); 7545 } else if (typeof render !== 'function') { 7546 error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render); 7547 } else { 7548 if (render.length !== 0 && render.length !== 2) { 7549 error('forwardRef render functions accept exactly two parameters: props and ref. %s', render.length === 1 ? 'Did you forget to use the ref parameter?' : 'Any additional parameter will be undefined.'); 7550 } 7551 } 7552 7553 if (render != null) { 7554 if (render.defaultProps != null || render.propTypes != null) { 7555 error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?'); 7556 } 7557 } 7558 } 7559 7560 return { 7561 $$typeof: REACT_FORWARD_REF_TYPE, 7562 render: render 7563 }; 7564} 7565 7566function isValidElementType(type) { 7567 return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. 7568 type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE); 7569} 7570 7571function memo(type, compare) { 7572 { 7573 if (!isValidElementType(type)) { 7574 error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type); 7575 } 7576 } 7577 7578 return { 7579 $$typeof: REACT_MEMO_TYPE, 7580 type: type, 7581 compare: compare === undefined ? null : compare 7582 }; 7583} 7584 7585function resolveDispatcher() { 7586 var dispatcher = ReactCurrentDispatcher.current; 7587 7588 if (!(dispatcher !== null)) { 7589 { 7590 throw Error( "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem." ); 7591 } 7592 } 7593 7594 return dispatcher; 7595} 7596 7597function useContext(Context, unstable_observedBits) { 7598 var dispatcher = resolveDispatcher(); 7599 7600 { 7601 if (unstable_observedBits !== undefined) { 7602 error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : ''); 7603 } // TODO: add a more generic warning for invalid values. 7604 7605 7606 if (Context._context !== undefined) { 7607 var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs 7608 // and nobody should be using this in existing code. 7609 7610 if (realContext.Consumer === Context) { 7611 error('Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be ' + 'removed in a future major release. Did you mean to call useContext(Context) instead?'); 7612 } else if (realContext.Provider === Context) { 7613 error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?'); 7614 } 7615 } 7616 } 7617 7618 return dispatcher.useContext(Context, unstable_observedBits); 7619} 7620function useState(initialState) { 7621 var dispatcher = resolveDispatcher(); 7622 return dispatcher.useState(initialState); 7623} 7624function useReducer(reducer, initialArg, init) { 7625 var dispatcher = resolveDispatcher(); 7626 return dispatcher.useReducer(reducer, initialArg, init); 7627} 7628function useRef(initialValue) { 7629 var dispatcher = resolveDispatcher(); 7630 return dispatcher.useRef(initialValue); 7631} 7632function useEffect(create, deps) { 7633 var dispatcher = resolveDispatcher(); 7634 return dispatcher.useEffect(create, deps); 7635} 7636function useLayoutEffect(create, deps) { 7637 var dispatcher = resolveDispatcher(); 7638 return dispatcher.useLayoutEffect(create, deps); 7639} 7640function useCallback(callback, deps) { 7641 var dispatcher = resolveDispatcher(); 7642 return dispatcher.useCallback(callback, deps); 7643} 7644function useMemo(create, deps) { 7645 var dispatcher = resolveDispatcher(); 7646 return dispatcher.useMemo(create, deps); 7647} 7648function useImperativeHandle(ref, create, deps) { 7649 var dispatcher = resolveDispatcher(); 7650 return dispatcher.useImperativeHandle(ref, create, deps); 7651} 7652function useDebugValue(value, formatterFn) { 7653 { 7654 var dispatcher = resolveDispatcher(); 7655 return dispatcher.useDebugValue(value, formatterFn); 7656 } 7657} 7658 7659var propTypesMisspellWarningShown; 7660 7661{ 7662 propTypesMisspellWarningShown = false; 7663} 7664 7665function getDeclarationErrorAddendum() { 7666 if (ReactCurrentOwner.current) { 7667 var name = getComponentName(ReactCurrentOwner.current.type); 7668 7669 if (name) { 7670 return '\n\nCheck the render method of `' + name + '`.'; 7671 } 7672 } 7673 7674 return ''; 7675} 7676 7677function getSourceInfoErrorAddendum(source) { 7678 if (source !== undefined) { 7679 var fileName = source.fileName.replace(/^.*[\\\/]/, ''); 7680 var lineNumber = source.lineNumber; 7681 return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.'; 7682 } 7683 7684 return ''; 7685} 7686 7687function getSourceInfoErrorAddendumForProps(elementProps) { 7688 if (elementProps !== null && elementProps !== undefined) { 7689 return getSourceInfoErrorAddendum(elementProps.__source); 7690 } 7691 7692 return ''; 7693} 7694/** 7695 * Warn if there's no key explicitly set on dynamic arrays of children or 7696 * object keys are not valid. This allows us to keep track of children between 7697 * updates. 7698 */ 7699 7700 7701var ownerHasKeyUseWarning = {}; 7702 7703function getCurrentComponentErrorInfo(parentType) { 7704 var info = getDeclarationErrorAddendum(); 7705 7706 if (!info) { 7707 var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; 7708 7709 if (parentName) { 7710 info = "\n\nCheck the top-level render call using <" + parentName + ">."; 7711 } 7712 } 7713 7714 return info; 7715} 7716/** 7717 * Warn if the element doesn't have an explicit key assigned to it. 7718 * This element is in an array. The array could grow and shrink or be 7719 * reordered. All children that haven't already been validated are required to 7720 * have a "key" property assigned to it. Error statuses are cached so a warning 7721 * will only be shown once. 7722 * 7723 * @internal 7724 * @param {ReactElement} element Element that requires a key. 7725 * @param {*} parentType element's parent's type. 7726 */ 7727 7728 7729function validateExplicitKey(element, parentType) { 7730 if (!element._store || element._store.validated || element.key != null) { 7731 return; 7732 } 7733 7734 element._store.validated = true; 7735 var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); 7736 7737 if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { 7738 return; 7739 } 7740 7741 ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a 7742 // property, it may be the creator of the child that's responsible for 7743 // assigning it a key. 7744 7745 var childOwner = ''; 7746 7747 if (element && element._owner && element._owner !== ReactCurrentOwner.current) { 7748 // Give the component that originally created this child. 7749 childOwner = " It was passed a child from " + getComponentName(element._owner.type) + "."; 7750 } 7751 7752 setCurrentlyValidatingElement(element); 7753 7754 { 7755 error('Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner); 7756 } 7757 7758 setCurrentlyValidatingElement(null); 7759} 7760/** 7761 * Ensure that every element either is passed in a static location, in an 7762 * array with an explicit keys property defined, or in an object literal 7763 * with valid key property. 7764 * 7765 * @internal 7766 * @param {ReactNode} node Statically passed child of any type. 7767 * @param {*} parentType node's parent's type. 7768 */ 7769 7770 7771function validateChildKeys(node, parentType) { 7772 if (typeof node !== 'object') { 7773 return; 7774 } 7775 7776 if (Array.isArray(node)) { 7777 for (var i = 0; i < node.length; i++) { 7778 var child = node[i]; 7779 7780 if (isValidElement(child)) { 7781 validateExplicitKey(child, parentType); 7782 } 7783 } 7784 } else if (isValidElement(node)) { 7785 // This element was passed in a valid location. 7786 if (node._store) { 7787 node._store.validated = true; 7788 } 7789 } else if (node) { 7790 var iteratorFn = getIteratorFn(node); 7791 7792 if (typeof iteratorFn === 'function') { 7793 // Entry iterators used to provide implicit keys, 7794 // but now we print a separate warning for them later. 7795 if (iteratorFn !== node.entries) { 7796 var iterator = iteratorFn.call(node); 7797 var step; 7798 7799 while (!(step = iterator.next()).done) { 7800 if (isValidElement(step.value)) { 7801 validateExplicitKey(step.value, parentType); 7802 } 7803 } 7804 } 7805 } 7806 } 7807} 7808/** 7809 * Given an element, validate that its props follow the propTypes definition, 7810 * provided by the type. 7811 * 7812 * @param {ReactElement} element 7813 */ 7814 7815 7816function validatePropTypes(element) { 7817 { 7818 var type = element.type; 7819 7820 if (type === null || type === undefined || typeof type === 'string') { 7821 return; 7822 } 7823 7824 var name = getComponentName(type); 7825 var propTypes; 7826 7827 if (typeof type === 'function') { 7828 propTypes = type.propTypes; 7829 } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here. 7830 // Inner props are checked in the reconciler. 7831 type.$$typeof === REACT_MEMO_TYPE)) { 7832 propTypes = type.propTypes; 7833 } else { 7834 return; 7835 } 7836 7837 if (propTypes) { 7838 setCurrentlyValidatingElement(element); 7839 checkPropTypes(propTypes, element.props, 'prop', name, ReactDebugCurrentFrame.getStackAddendum); 7840 setCurrentlyValidatingElement(null); 7841 } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) { 7842 propTypesMisspellWarningShown = true; 7843 7844 error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown'); 7845 } 7846 7847 if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) { 7848 error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.'); 7849 } 7850 } 7851} 7852/** 7853 * Given a fragment, validate that it can only be provided with fragment props 7854 * @param {ReactElement} fragment 7855 */ 7856 7857 7858function validateFragmentProps(fragment) { 7859 { 7860 setCurrentlyValidatingElement(fragment); 7861 var keys = Object.keys(fragment.props); 7862 7863 for (var i = 0; i < keys.length; i++) { 7864 var key = keys[i]; 7865 7866 if (key !== 'children' && key !== 'key') { 7867 error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); 7868 7869 break; 7870 } 7871 } 7872 7873 if (fragment.ref !== null) { 7874 error('Invalid attribute `ref` supplied to `React.Fragment`.'); 7875 } 7876 7877 setCurrentlyValidatingElement(null); 7878 } 7879} 7880function createElementWithValidation(type, props, children) { 7881 var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to 7882 // succeed and there will likely be errors in render. 7883 7884 if (!validType) { 7885 var info = ''; 7886 7887 if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { 7888 info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports."; 7889 } 7890 7891 var sourceInfo = getSourceInfoErrorAddendumForProps(props); 7892 7893 if (sourceInfo) { 7894 info += sourceInfo; 7895 } else { 7896 info += getDeclarationErrorAddendum(); 7897 } 7898 7899 var typeString; 7900 7901 if (type === null) { 7902 typeString = 'null'; 7903 } else if (Array.isArray(type)) { 7904 typeString = 'array'; 7905 } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) { 7906 typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />"; 7907 info = ' Did you accidentally export a JSX literal instead of a component?'; 7908 } else { 7909 typeString = typeof type; 7910 } 7911 7912 { 7913 error('React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info); 7914 } 7915 } 7916 7917 var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used. 7918 // TODO: Drop this when these are no longer allowed as the type argument. 7919 7920 if (element == null) { 7921 return element; 7922 } // Skip key warning if the type isn't valid since our key validation logic 7923 // doesn't expect a non-string/function type and can throw confusing errors. 7924 // We don't want exception behavior to differ between dev and prod. 7925 // (Rendering will throw with a helpful message and as soon as the type is 7926 // fixed, the key warnings will appear.) 7927 7928 7929 if (validType) { 7930 for (var i = 2; i < arguments.length; i++) { 7931 validateChildKeys(arguments[i], type); 7932 } 7933 } 7934 7935 if (type === REACT_FRAGMENT_TYPE) { 7936 validateFragmentProps(element); 7937 } else { 7938 validatePropTypes(element); 7939 } 7940 7941 return element; 7942} 7943var didWarnAboutDeprecatedCreateFactory = false; 7944function createFactoryWithValidation(type) { 7945 var validatedFactory = createElementWithValidation.bind(null, type); 7946 validatedFactory.type = type; 7947 7948 { 7949 if (!didWarnAboutDeprecatedCreateFactory) { 7950 didWarnAboutDeprecatedCreateFactory = true; 7951 7952 warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.'); 7953 } // Legacy hook: remove it 7954 7955 7956 Object.defineProperty(validatedFactory, 'type', { 7957 enumerable: false, 7958 get: function () { 7959 warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.'); 7960 7961 Object.defineProperty(this, 'type', { 7962 value: type 7963 }); 7964 return type; 7965 } 7966 }); 7967 } 7968 7969 return validatedFactory; 7970} 7971function cloneElementWithValidation(element, props, children) { 7972 var newElement = cloneElement.apply(this, arguments); 7973 7974 for (var i = 2; i < arguments.length; i++) { 7975 validateChildKeys(arguments[i], newElement.type); 7976 } 7977 7978 validatePropTypes(newElement); 7979 return newElement; 7980} 7981 7982{ 7983 7984 try { 7985 var frozenObject = Object.freeze({}); 7986 var testMap = new Map([[frozenObject, null]]); 7987 var testSet = new Set([frozenObject]); // This is necessary for Rollup to not consider these unused. 7988 // https://github.com/rollup/rollup/issues/1771 7989 // TODO: we can remove these if Rollup fixes the bug. 7990 7991 testMap.set(0, 0); 7992 testSet.add(0); 7993 } catch (e) { 7994 } 7995} 7996 7997var createElement$1 = createElementWithValidation ; 7998var cloneElement$1 = cloneElementWithValidation ; 7999var createFactory = createFactoryWithValidation ; 8000var Children = { 8001 map: mapChildren, 8002 forEach: forEachChildren, 8003 count: countChildren, 8004 toArray: toArray, 8005 only: onlyChild 8006}; 8007 8008exports.Children = Children; 8009exports.Component = Component; 8010exports.Fragment = REACT_FRAGMENT_TYPE; 8011exports.Profiler = REACT_PROFILER_TYPE; 8012exports.PureComponent = PureComponent; 8013exports.StrictMode = REACT_STRICT_MODE_TYPE; 8014exports.Suspense = REACT_SUSPENSE_TYPE; 8015exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; 8016exports.cloneElement = cloneElement$1; 8017exports.createContext = createContext; 8018exports.createElement = createElement$1; 8019exports.createFactory = createFactory; 8020exports.createRef = createRef; 8021exports.forwardRef = forwardRef; 8022exports.isValidElement = isValidElement; 8023exports.lazy = lazy; 8024exports.memo = memo; 8025exports.useCallback = useCallback; 8026exports.useContext = useContext; 8027exports.useDebugValue = useDebugValue; 8028exports.useEffect = useEffect; 8029exports.useImperativeHandle = useImperativeHandle; 8030exports.useLayoutEffect = useLayoutEffect; 8031exports.useMemo = useMemo; 8032exports.useReducer = useReducer; 8033exports.useRef = useRef; 8034exports.useState = useState; 8035exports.version = ReactVersion; 8036 })(); 8037} 8038 8039 8040/***/ }), 8041
vendor: 411 bytes, lines 8042-8057
8042/***/ "./node_modules/react/index.js": 8043/*!*************************************!*\ 8044 !*** ./node_modules/react/index.js ***! 8045 \*************************************/ 8046/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 8047 8048"use strict"; 8049 8050 8051if (false) {} else { 8052 module.exports = __webpack_require__(/*! ./cjs/react.development.js */ "./node_modules/react/cjs/react.development.js"); 8053} 8054 8055 8056/***/ }), 8057
vendor: 459 bytes, lines 8058-8073
8058/***/ "./node_modules/react/jsx-runtime.js": 8059/*!*******************************************!*\ 8060 !*** ./node_modules/react/jsx-runtime.js ***! 8061 \*******************************************/ 8062/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 8063 8064"use strict"; 8065 8066 8067if (false) {} else { 8068 module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/react/cjs/react-jsx-runtime.development.js"); 8069} 8070 8071 8072/***/ }), 8073
vendor: 1,227 bytes, lines 8074-8108
8074/***/ "./node_modules/style-to-js/cjs/index.js": 8075/*!***********************************************!*\ 8076 !*** ./node_modules/style-to-js/cjs/index.js ***! 8077 \***********************************************/ 8078/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8079 8080"use strict"; 8081 8082var __importDefault = (this && this.__importDefault) || function (mod) { 8083 return (mod && mod.__esModule) ? mod : { "default": mod }; 8084}; 8085var style_to_object_1 = __importDefault(__webpack_require__(/*! style-to-object */ "./node_modules/style-to-object/cjs/index.js")); 8086var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/style-to-js/cjs/utilities.js"); 8087/** 8088 * Parses CSS inline style to JavaScript object (camelCased). 8089 */ 8090function StyleToJS(style, options) { 8091 var output = {}; 8092 if (!style || typeof style !== 'string') { 8093 return output; 8094 } 8095 (0, style_to_object_1.default)(style, function (property, value) { 8096 // skip CSS comment 8097 if (property && value) { 8098 output[(0, utilities_1.camelCase)(property, options)] = value; 8099 } 8100 }); 8101 return output; 8102} 8103StyleToJS.default = StyleToJS; 8104module.exports = StyleToJS; 8105//# sourceMappingURL=index.js.map 8106 8107/***/ }), 8108
vendor: 1,797 bytes, lines 8109-8165
8109/***/ "./node_modules/style-to-js/cjs/utilities.js": 8110/*!***************************************************!*\ 8111 !*** ./node_modules/style-to-js/cjs/utilities.js ***! 8112 \***************************************************/ 8113/***/ ((__unused_webpack_module, exports) => { 8114 8115"use strict"; 8116 8117Object.defineProperty(exports, "__esModule", ({ value: true })); 8118exports.camelCase = void 0; 8119var CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9-]+$/; 8120var HYPHEN_REGEX = /-([a-z])/g; 8121var NO_HYPHEN_REGEX = /^[^-]+$/; 8122var VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/; 8123var MS_VENDOR_PREFIX_REGEX = /^-(ms)-/; 8124/** 8125 * Checks whether to skip camelCase. 8126 */ 8127var skipCamelCase = function (property) { 8128 return !property || 8129 NO_HYPHEN_REGEX.test(property) || 8130 CUSTOM_PROPERTY_REGEX.test(property); 8131}; 8132/** 8133 * Replacer that capitalizes first character. 8134 */ 8135var capitalize = function (match, character) { 8136 return character.toUpperCase(); 8137}; 8138/** 8139 * Replacer that removes beginning hyphen of vendor prefix property. 8140 */ 8141var trimHyphen = function (match, prefix) { return "".concat(prefix, "-"); }; 8142/** 8143 * CamelCases a CSS property. 8144 */ 8145var camelCase = function (property, options) { 8146 if (options === void 0) { options = {}; } 8147 if (skipCamelCase(property)) { 8148 return property; 8149 } 8150 property = property.toLowerCase(); 8151 if (options.reactCompat) { 8152 // `-ms` vendor prefix should not be capitalized 8153 property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen); 8154 } 8155 else { 8156 // for non-React, remove first hyphen so vendor prefix is not capitalized 8157 property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen); 8158 } 8159 return property.replace(HYPHEN_REGEX, capitalize); 8160}; 8161exports.camelCase = camelCase; 8162//# sourceMappingURL=utilities.js.map 8163 8164/***/ }), 8165
vendor: 1,765 bytes, lines 8166-8219
8166/***/ "./node_modules/style-to-object/cjs/index.js": 8167/*!***************************************************!*\ 8168 !*** ./node_modules/style-to-object/cjs/index.js ***! 8169 \***************************************************/ 8170/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 8171 8172"use strict"; 8173 8174var __importDefault = (this && this.__importDefault) || function (mod) { 8175 return (mod && mod.__esModule) ? mod : { "default": mod }; 8176}; 8177Object.defineProperty(exports, "__esModule", ({ value: true })); 8178exports["default"] = StyleToObject; 8179var inline_style_parser_1 = __importDefault(__webpack_require__(/*! inline-style-parser */ "./node_modules/inline-style-parser/index.js")); 8180/** 8181 * Parses inline style to object. 8182 * 8183 * @param style - Inline style. 8184 * @param iterator - Iterator. 8185 * @returns - Style object or null. 8186 * 8187 * @example Parsing inline style to object: 8188 * 8189 * ```js 8190 * import parse from 'style-to-object'; 8191 * parse('line-height: 42;'); // { 'line-height': '42' } 8192 * ``` 8193 */ 8194function StyleToObject(style, iterator) { 8195 var styleObject = null; 8196 if (!style || typeof style !== 'string') { 8197 return styleObject; 8198 } 8199 var declarations = (0, inline_style_parser_1.default)(style); 8200 var hasIterator = typeof iterator === 'function'; 8201 declarations.forEach(function (declaration) { 8202 if (declaration.type !== 'declaration') { 8203 return; 8204 } 8205 var property = declaration.property, value = declaration.value; 8206 if (hasIterator) { 8207 iterator(property, value, declaration); 8208 } 8209 else if (value) { 8210 styleObject = styleObject || {}; 8211 styleObject[property] = value; 8212 } 8213 }); 8214 return styleObject; 8215} 8216//# sourceMappingURL=index.js.map 8217 8218/***/ }), 8219
vendor: 1,740 bytes, lines 8220-8246
8220/***/ "./node_modules/html-react-parser/esm/index.mjs": 8221/*!******************************************************!*\ 8222 !*** ./node_modules/html-react-parser/esm/index.mjs ***! 8223 \******************************************************/ 8224/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8225 8226"use strict"; 8227__webpack_require__.r(__webpack_exports__); 8228/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8229/* harmony export */ "Comment": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Comment), 8230/* harmony export */ "Element": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Element), 8231/* harmony export */ "ProcessingInstruction": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.ProcessingInstruction), 8232/* harmony export */ "Text": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Text), 8233/* harmony export */ "attributesToProps": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.attributesToProps), 8234/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 8235/* harmony export */ "domToReact": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.domToReact), 8236/* harmony export */ "htmlToDOM": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.htmlToDOM) 8237/* harmony export */ }); 8238/* harmony import */ var _lib_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lib/index.js */ "./node_modules/html-react-parser/lib/index.js"); 8239 8240 8241 8242 8243/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"] || _lib_index_js__WEBPACK_IMPORTED_MODULE_0__); 8244 8245 8246/***/ })
vendor: 5,550 bytes, lines 8246-8332
8246 8247 8248/******/ }); 8249/************************************************************************/ 8250/******/ // The module cache 8251/******/ var __webpack_module_cache__ = {}; 8252/******/ 8253/******/ // The require function 8254/******/ function __webpack_require__(moduleId) { 8255/******/ // Check if module is in cache 8256/******/ var cachedModule = __webpack_module_cache__[moduleId]; 8257/******/ if (cachedModule !== undefined) { 8258/******/ return cachedModule.exports; 8259/******/ } 8260/******/ // Create a new module (and put it into the cache) 8261/******/ var module = __webpack_module_cache__[moduleId] = { 8262/******/ // no module.id needed 8263/******/ // no module.loaded needed 8264/******/ exports: {} 8265/******/ }; 8266/******/ 8267/******/ // Execute the module function 8268/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); 8269/******/ 8270/******/ // Return the exports of the module 8271/******/ return module.exports; 8272/******/ } 8273/******/ 8274/************************************************************************/ 8275/******/ /* webpack/runtime/compat get default export */ 8276/******/ (() => { 8277/******/ // getDefaultExport function for compatibility with non-harmony modules 8278/******/ __webpack_require__.n = (module) => { 8279/******/ var getter = module && module.__esModule ? 8280/******/ () => (module['default']) : 8281/******/ () => (module); 8282/******/ __webpack_require__.d(getter, { a: getter }); 8283/******/ return getter; 8284/******/ }; 8285/******/ })(); 8286/******/ 8287/******/ /* webpack/runtime/define property getters */ 8288/******/ (() => { 8289/******/ // define getter functions for harmony exports 8290/******/ __webpack_require__.d = (exports, definition) => { 8291/******/ for(var key in definition) { 8292/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 8293/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 8294/******/ } 8295/******/ } 8296/******/ }; 8297/******/ })(); 8298/******/ 8299/******/ /* webpack/runtime/hasOwnProperty shorthand */ 8300/******/ (() => { 8301/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 8302/******/ })(); 8303/******/ 8304/******/ /* webpack/runtime/make namespace object */ 8305/******/ (() => { 8306/******/ // define __esModule on exports 8307/******/ __webpack_require__.r = (exports) => { 8308/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 8309/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 8310/******/ } 8311/******/ Object.defineProperty(exports, '__esModule', { value: true }); 8312/******/ }; 8313/******/ })(); 8314/******/ 8315/************************************************************************/ 8316var __webpack_exports__ = {}; 8317// This entry need to be wrapped in an IIFE because it need to be in strict mode. 8318(() => { 8319"use strict"; 8320/*!************************************************************************!*\ 8321 !*** ./assets/js/components/mini_quote_list/render_mini_quote_list.js ***! 8322 \************************************************************************/ 8323__webpack_require__.r(__webpack_exports__); 8324/* harmony import */ var _mini_quote_contents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mini_quote_contents */ "./assets/js/components/mini_quote_list/mini_quote_contents.js"); 8325/* harmony import */ var react_wordpress__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-wordpress */ "./node_modules/react-wordpress/out.js"); 8326/* harmony import */ var react_wordpress__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_wordpress__WEBPACK_IMPORTED_MODULE_1__); 8327/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 8328/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 8329function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } 8330function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } 8331function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } 8332function _nonIterableRest() { throw new TypeError("Invalid attempt to de
8332structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } 8333function _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); } 8334function _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; } 8335function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } } 8336function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } 8337function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } 8338function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } 8339function _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; } 8340function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } 8341function _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); } 8342// const { MiniQuoteContents } = require("./mini_quote_contents"); 8343 8344 8345 8346 8347 8348 8349var MiniQuote = function MiniQuote(props) { 8350 var onQuoteListItemDelete = function onQuoteListItemDelete(i) { 8351 var newQuoteList = _objectSpread({}, miniquoteItems); 8352 newQuoteList.quote_list.items.splice(i, 1); 8353 setQuoteItems(newQuoteList); 8354 }; 8355 var ShowButtonLabel = function ShowButtonLabel(_ref) { 8356 var label = _ref.label, 8357 show_label = _ref.show_label; 8358 if (false === show_label) { 8359 return ""; 8360 } 8361 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("small", { 8362 children: label 8363 }); 8364 }; 8365 var ShowListOnHover = function ShowListOnHover(props) { 8366 if (false === widget.show_list_popup_on_hover) { 8367 return ""; 8368 } 8369 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", { 8370 className: "bg-white shadow-sm position-absolute start-50 translate-middle-x p-2 rounded-3 elex-raq-view-quote-dropdown", 8371 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("h6", { 8372 className: "text-nowrap text-center", 8373 children: [props.count, ' ', (0,_translate__WEBPACK_IMPORTED_MODULE_2__["default"])('items in Quote List', 'elex-request-a-quote')] 8374 }), miniquoteItems.quote_list.items.map(function (item, i) { 8375 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_mini_quote_contents__WEBPACK_IMPORTED_MODULE_0__.MiniQuoteContents, { 8376 onDelete: function onDelete() { 8377 return onQuoteListItemDelete(i); 8378 }, 8379 show_quantity: miniquoteItems.settings.show_on_product_table.quantity, 8380 show_price: miniquoteItems.settings.show_on_product_table.product_price, 8381 hide_price_global: miniquoteItems.general.hide_add_to_cart.hide_price, 8382 currency: miniquoteItems.quote_list.wc_currency, 8383 currency_position: miniquoteItems.quote_list.currency_position, 8384 item: item 8385 }, i); 8386 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a", { 8387 href: props.path, 8388 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("button", { 8389 style: { 8390 backgroundColor: props.button_color[0] 8391 }, 8392 className: "elex-raq-view-quote-list-open-btn btn btn-sm btn-primary w-100", 8393 children: (0,_translate__WEBPACK_IMPORTED_MODULE_2__["default"])('View Quote List', 'elex-request-a-quote') 8394 }) 8395 })] 8396 }); 8397 }; 8398 var _wp$element$useState = wp.element.useState(props.quote_items), 8399 _wp$element$useState2 = _slicedToArray(_wp$element$useState, 2), 8400 miniquoteItems = _wp$element$useState2[0], 8401 setQuoteItems = _wp$element$useState2[1]; 8402 var button_color = wp.element.useState(props.quote_items.general.general.button_default_color); 8403 var count = 0; 8404 var _iterator = _createForOfIteratorHelper(miniquoteItems.quote_list.items), 8405 _step; 8406 try { 8407 for (_iterator.s();
8407 !(_step = _iterator.n()).done;) { 8408 var item = _step.value; 8409 count += parseInt(item.quantity); 8410 } 8411 } catch (err) { 8412 _iterator.e(err); 8413 } finally { 8414 _iterator.f(); 8415 } 8416 wp.element.useEffect(function () { 8417 jQuery(window).on("add_to_quote_event", function (e, quotelist_data) { 8418 setQuoteItems(quotelist_data); 8419 }); 8420 jQuery(window).on("clear_list_event", function (e, quotelist_data) { 8421 setQuoteItems(quotelist_data); 8422 }); 8423 jQuery(window).on("update_quantity_event", function (e, quotelist_data) { 8424 setQuoteItems(quotelist_data); 8425 }); 8426 }, [miniquoteItems]); 8427 var _wp$element$useState3 = wp.element.useState(props.widgetSettings), 8428 _wp$element$useState4 = _slicedToArray(_wp$element$useState3, 1), 8429 widget = _wp$element$useState4[0]; 8430 if (widget.show_widget_icon === false) { 8431 return null; 8432 } 8433 var ChangeIconColor = function ChangeIconColor(e) { 8434 e.target.style.fill = widget.widget_color; 8435 }; 8436 var ChangeColorToWhite = function ChangeColorToWhite(e) { 8437 e.target.style.fill = ""; 8438 }; 8439 var _wp$element$useState5 = wp.element.useState(""), 8440 _wp$element$useState6 = _slicedToArray(_wp$element$useState5, 2), 8441 backgroundColor = _wp$element$useState6[0], 8442 setBackgroundColor = _wp$element$useState6[1]; 8443 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { 8444 className: "container", 8445 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { 8446 className: "d-flex gap-3 align-items-center m-0 py-2", 8447 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { 8448 className: "flex-fill", 8449 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { 8450 className: "d-flex justify-content-end elex-rqst-float-minicart-icon-alignment", 8451 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", { 8452 className: "nav position-relative", 8453 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("li", { 8454 className: "nav-item p-0 d-flex align-items-center gap-1 elex-raq-view-quote-dropdown-btn position-relative ", 8455 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a", { 8456 href: miniquoteItems.settings.selected_page, 8457 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("button", { 8458 onMouseOver: ChangeIconColor, 8459 onMouseOut: ChangeColorToWhite, 8460 className: "btn btn-sm p-0 shadow-none position-relative", 8461 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("svg", { 8462 id: "quote_list_svg", 8463 xmlns: "http://www.w3.org/2000/svg", 8464 width: "30", 8465 height: "26",
8466 viewBox: "0 0 36.01 31.5", 8467 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("g", { 8468 id: "Quote_list_icon", 8469 "data-name": "Quote list icon", 8470 transform: "translate(0 -32)", 8471 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8472 id: "Path_466", 8473 "data-name": "Path 466", 8474 d: "M32.663,32H8.985a3.351,3.351,0,0,0-3.347,3.347V56.805H.529A.529.529,0,0,0,0,57.334v2.819A3.351,3.351,0,0,0,3.347,63.5H27.025a3.351,3.351,0,0,0,3.347-3.347V38.695h5.109a.529.529,0,0,0,.529-.529V35.347A3.351,3.351,0,0,0,32.663,32ZM3.347,62.443a2.293,2.293,0,0,1-2.29-2.29v-2.29H23.678v2.29a3.335,3.335,0,0,0,.908,2.29Zm25.968-2.29a2.29,2.29,0,0,1-4.581,0V57.334a.529.529,0,0,0-.529-.529H6.695V35.347a2.293,2.293,0,0,1,2.29-2.29h21.24a3.334,3.334,0,0,0-.909,2.29V60.153Zm5.638-22.515H30.372v-2.29a2.29,2.29,0,0,1,4.581,0Z" 8475 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8476 id: "Path_467", 8477 "data-name": "Path 467", 8478 d: "M137.656,104h-1.128a.529.529,0,0,0,0,1.057h1.128a.529.529,0,0,0,0-1.057Z", 8479 transform: "translate(-126.416 -66.926)" 8480 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8481 id: "Path_468", 8482 "data-name": "Path 468", 8483 d: "M196.931,104h-12.4a.529.529,0,0,0,0,1.057h12.4a.529.529,0,0,0,0-1.057Z", 8484 transform: "translate(-171.034 -66.926)" 8485 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8486 id: "Path_469", 8487 "data-name": "Path 469", 8488 d: "M137.656,144h-1.128a.529.529,0,1,0,0,1.057h1.128a.529.529,0,0,0,0-1.057Z", 8489 transform: "translate(-126.416 -104.107)" 8490 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8491 id: "Path_470", 8492 "data-name": "Path 470", 8493 d: "M184.529,145.057h10.148a.529.529,0,0,0,0-1.057H184.529a.529.529,0,0,0,0,1.057Z", 8494 transform: "translate(-171.034 -104.107)" 8495 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8496 id: "Path_471", 8497 "data-name": "Path 471", 8498 d: "M137.656,184h-1.128a.529.529,0,0,0,0,1.057h1.128a.529.529,0,0,0,0-1.057Z", 8499 transform: "translate(-126.416 -141.289)" 8500 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8501 id: "Path_472", 8502 "data-name": "Path 472", 8503 d: "M196.931,184h-12.4a.529.529,0,0,0,0,1.057h12.4a.529.529,0,0,0,0-1.057Z", 8504 transform: "translate(-171.034 -141.289)" 8505 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8506 id: "Path_473", 8507 "data-name": "Path 473", 8508 d: "M137.656,224h-1.128a.529.529,0,1,0,0,1.057h1.128a.529.529,0,1,0,0-1.057Z", 8509 transform: "translate(-126.416 -178.47)" 8510 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8511 id: "Path_474", 8512 "data-name": "Path 474", 8513 d: "M184.529,225.057H195.8a.529.529,0,1,0,0-1.057H184.529a.529.529,0,1,0,0,1.057Z", 8514 transform: "translate(-171.034 -178.47)" 8515 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8516 id: "Path_475", 8517 "data-name": "Path 475", 8518 d: "M137.656,264h-1.128a.529.529,0,1,0,0,1.057h1.128a.529.529,0,1,0,0-1.057Z", 8519 transform: "translate(-126.416 -215.651)" 8520 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8521 id: "Path_476", 8522 "data-name": "Path 476", 8523 d: "M184.529,265.057h9.02a.529.529,0,1,0,0-1.057h-9.02a.529.529,0,1,0,0,1.057Z", 8524 transform: "translate(-171.034 -215.651)" 8525 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8526 id: "Path_477", 8527 "data-name": "Path 477", 8528 d: "M137.656,304h-1.128a.529.529,0,0,0,0,1.057h1.128a.529.529,0,0,0,0-1.057Z", 8529 transform: "translate(-126.416 -252.832)" 8530 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8531 id: "Path_478", 8532 "data-name": "Path 478", 8533 d: "M196.931,304h-12.4a.529.529,0,0,0,0,1.057h12.4a.529.529,0,0,0,0-1.057Z", 8534 transform: "translate(-171.034 -252.832)" 8535 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8536 id: "Path_479", 8537 "data-name": "Path 479", 8538 d: "M137.656,344h-1.128a.529.529,0,1,0,0,1.057h1.128a.529.529,0,1,0,0-1.057Z",
8539 transform: "translate(-126.416 -290.013)" 8540 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("path", { 8541 id: "Path_480", 8542 "data-name": "Path 480", 8543 d: "M195.24,344H184.529a.529.529,0,1,0,0,1.057H195.24a.529.529,0,1,0,0-1.057Z", 8544 transform: "translate(-171.034 -290.013)" 8545 })] 8546 }) 8547 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("span", { 8548 style: { 8549 backgroundColor: button_color[0] 8550 }, 8551 className: "position-absolute top-0 start-100 translate-middle badge rounded-pill", 8552 children: count 8553 })] 8554 }) 8555 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(ShowButtonLabel, { 8556 label: widget.button_label, 8557 show_label: widget.show_button_label 8558 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(ShowListOnHover, { 8559 button_color: button_color, 8560 count: count, 8561 color: widget.widget_color, 8562 account_url: miniquoteItems.page_url, 8563 disable_for_guest: miniquoteItems.general.general.disable_quote_for_guest, 8564 path: miniquoteItems.page_url 8565 })] 8566 }) 8567 }) 8568 }) 8569 }) 8570 }) 8571 }); 8572}; 8573jQuery(document).ready(function () { 8574 jQuery.ajax({ 8575 type: "post", 8576 url: quote_list_ajax_obj.ajax_url, 8577 data: { 8578 action: "get_the_quote_list", 8579 ajax_raq_nonce: quote_list_ajax_obj.nonce 8580 }, 8581 success: function success(data) { 8582 var _data$widget; 8583 var iconPosition = data !== null && data !== void 0 && (_data$widget = data.widget) !== null && _data$widget !== void 0 && _data$widget.quote_list_icon_position ? data.widget.quote_list_icon_position : "float"; 8584 if (true === data.data.widget.show_widget_icon) { 8585 wp.element.render( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(MiniQuote, { 8586 widgetSettings: data.data.widget, 8587 quote_items: data.data, 8588 iconPosition: iconPosition 8589 }, data.data.id), document.getElementById("mini_quote_list")); 8590 } 8591 } 8592 }); 8593}); 8594})(); 8595 8596/******/ })() 8597;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.