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
vendor: 5,369 bytes, lines 30-44
30/***/ "./assets/js/components/form/fields/form.js": 31/*!**************************************************!*\ 32 !*** ./assets/js/components/form/fields/form.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 */ "QuoteForm": () => (/* binding */ QuoteForm) 40/* harmony export */ }); 41/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../translate */ "./assets/js/components/translate.js"); 42/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 43function _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); } 44function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context);
vendor: 4,708 bytes, line 44
44 if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEac
vendor: 5,001 bytes, lines 44-51
44h(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; } 45function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } 46function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } 47function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } 48function _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."); } 49function _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); } 50function _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; } 51function _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;
51 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; } } 52function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } 53 54 55 56 57var RenderInputField = function RenderInputField(_ref) { 58 var data = _ref.data, 59 connected_to = _ref.connected_to, 60 default_image = _ref.default_image; 61 var _wp$element$useState = wp.element.useState(default_image[0]), 62 _wp$element$useState2 = _slicedToArray(_wp$element$useState, 2), 63 image = _wp$element$useState2[0], 64 setImage = _wp$element$useState2[1]; 65 var _wp$element$useState3 = wp.element.useState(null), 66 _wp$element$useState4 = _slicedToArray(_wp$element$useState3, 2), 67 file = _wp$element$useState4[0], 68 setFile = _wp$element$useState4[1]; 69 var _wp$element$useState5 = wp.element.useState([]), 70 _wp$element$useState6 = _slicedToArray(_wp$element$useState5, 2), 71 checkboxes = _wp$element$useState6[0], 72 setCheckboxes = _wp$element$useState6[1]; 73 var TriggerInput = function TriggerInput(e) { 74 jQuery("#file_uploaded").click(); 75 }; 76 var onImageChange = function onImageChange(event, connected) { 77 if (event.target.files && event.target.files[0]) { 78 setFile(event.target.files); 79 var reader = new FileReader(); 80 reader.onloadend = function () { 81 setImage(reader.result); 82 }; 83 reader.readAsDataURL(event.target.files[0]); 84 } 85 jQuery("#remove_uploaded").on("click", function () { 86 jQuery("#file_uploaded").val(""); 87 jQuery("#remove_uploaded").addClass("d-none"); 88 jQuery(".upload_file").removeClass("d-none"); 89 }); 90 jQuery("#file_uploaded").bind("change", function () { 91 if (this.files[0].size > 0) { 92 jQuery("#remove_uploaded").removeClass("d-none"); 93 } 94 if (this.files[0].size > 2000000) { 95 alert("File Size should be less than 2MB."); 96 jQuery(this).val(""); 97 } 98 if (this.files[0].size == 0) { 99 alert("File Size should not be zero."); 100 jQuery(this).val(""); 101 } 102 }); 103 jQuery("#elex-raq-import-file-display").removeClass("d-none"); 104 jQuery(".elex-raq-upload-file-remove").removeClass("d-none"); 105 jQuery(".elex-raq-import-file-display-title").removeClass("d-none"); 106 jQuery(".upload_file").closest(".elex-raq-min-width-btn").addClass("d-none"); 107 var file_name = event.target.files[0].name; 108 jQuery(".elex-raq-import-file-display-title").html(file_name); 109 jQuery(".elex-raq-upload-file-remove").click(function () { 110 jQuery(".elex-raq-upload-file-remove").addClass("d-none"); 111 jQuery("#elex-raq-import-file-display").addClass("d-none"); 112 jQuery(".elex-raq-import-file-display-title").addClass("d-none"); 113 jQuery(".elex-raq-min-width-btn").removeClass("d-none"); 114 jQuery(".upload_file").val(""); 115 setImage(default_image[0]); 116 }); 117 }; 118 var is_required = "true" === data.mandatory || true === data.mandatory ? "required" : ""; 119 if (["text", "number", "email", "date"].includes(data.type)) { 120 var placeholder_text = data.placeholder; 121 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input", { 122 required: is_required, 123 name: connected_to, 124 type: data.type, 125 className: "form-control", 126 placeholder: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])(placeholder_text, 'elex-request-a-quote') 127 }); 128 } 129 if ("tel" === data.type) { 130 var _placeholder_text = data.placeholder; 131 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input", { 132 required: is_required, 133 name: connected_to, 134 type: data.type, 135 pattern: "[0-9]*", 136 minLength: "9", 137 maxLength: "12", 138 className: "form-control", 139 placeholder: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])(_placeholder_text, 'elex-request-a-quote') 140 }); 141 } 142 if ("textarea" === data.type) { 143 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("textarea", { 144 required: is_required, 145 name: connected_to, 146 id: "", 147 cols: "30", 148 rows: "4", 149 "class": "form-control" 150 }); 151 } 152 if ("image" === data.type) { 153 var _placeholder_text2 = data.placeholder; 154 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { 155 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 156 className: "d-flex align-items-center gap-3 ", 157 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 158 className: "elex-rqst-profile-img", 159 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 160 className: "ratio ratio-1x1", 161 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("img", { 162 src: image, 163 alt: "", 164 name: "", 165 classname: "w-100" 166 }) 167 }) 168 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input", { 169 id: "file_uploaded", 170 name: connected_to, 171 type: "file", 172 accept: "image/*", 173 onChange: function onChange(e) { 174 onImageChange(e, connected_to); 175 }, 176 required: is_required, 177 placeholder: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])(_placeholder_text2, 'elex-request-a-quote'), 178 className: "invisible pe-auto upload_file position-absolute file-upload-input top-0 start-0 w-100 h-100 opacity-0" 179 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 180 onClick: TriggerInput, 181 className: "btn pe-auto upload_image position-relative", 182 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span", { 183 className: "pe-auto", 184 children: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])('Upload Image', 'elex-request-a-quote') 185 }) 186 })] 187 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 188 id: "elex-raq-import-file-display", 189 "class": "", 190 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 191 "class": "gap-2 d-flex align-items-center mb-2", 192 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span", { 193 "class": "elex-raq-import-file-display-title text-primary" 194 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 195 id: "remove_uploaded", 196 "class": " btn btn-sm btn-white rounded-circle primary-hover d-none elex-raq-upload-file-remove", 197 "data-bs-toggle": "tooltip", 198 "data-bs-custom-class": "tooltip-outline-primary", 199 "data-bs-placement": "bottom", 200 title: "", 201 "data-bs-original-title": "Cancel", 202 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg", { 203 xmlns: "http://www.w3.org/2000/svg", 204 width: "14", 205 height: "14",
206 viewBox: "0 0 320 512", 207 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", { 208 d: "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z" 209 }) 210 }) 211 })] 212 }) 213 })] 214 }); 215 } 216 if ("url" === data.type) { 217 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input", { 218 required: is_required, 219 name: connected_to, 220 type: data.type, 221 pattern: "https://.*", 222 className: "form-control", 223 placeholder: data.placeholder 224 }); 225 } 226 if ("checkbox" === data.type || "radio" === data.type) { 227 var myclass = is_required + "field"; 228 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 229 id: "my_" + data.type, 230 className: "d-flex " + "gap-3 " + "align-items-center " + " custom_field " + is_required + "field", 231 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Options, { 232 data: data.options, 233 type: data.type, 234 is_required: is_required, 235 name: connected_to, 236 label: data.slug 237 }) 238 }); 239 } 240 return null; 241}; 242var GetIputForRadioCheckBox = function GetIputForRadioCheckBox(_ref2) { 243 var type = _ref2.type, 244 label = _ref2.label, 245 value = _ref2.value, 246 name = _ref2.name, 247 is_required = _ref2.is_required; 248 if (type === "checkbox") { 249 var name_of_checkbox = name + "[]"; 250 } 251 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { 252 children: [type === "checkbox" && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input", { 253 type: "checkbox", 254 value: value, 255 name: name, 256 "class": "form-check-input m-0" 257 }), type === "radio" && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("input", { 258 required: is_required, 259 type: "radio", 260 value: value, 261 name: name, 262 "class": "form-check-input m-0" 263 })] 264 }); 265}; 266var Options = function Options(props) { 267 var data = props.data; 268 var type = props.type; 269 var label = props.label; 270 var name = props.name; 271 var is_required = props.is_required; 272 return data.map(function (i) { 273 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 274 className: "d-flex gap-2 align-items-center", 275 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(GetIputForRadioCheckBox, { 276 is_required: is_required, 277 index: i, 278 type: type, 279 name: name, 280 value: i.value, 281 label: label 282 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("label", { 283 "for": "", 284 children: i.label 285 })] 286 }, i); 287 }); 288}; 289var IsMandatory = function IsMandatory(_ref3) { 290 var is_mandatory = _ref3.is_mandatory; 291 if (true === is_mandatory) { 292 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span", { 293 "class": "text-danger", 294 children: "*" 295 }); 296 } 297 return null; 298}; 299var QuoteForm = function QuoteForm(props) { 300 var _wp$element$useState7 = wp.element.useState(false), 301 _wp$element$useState8 = _slicedToArray(_wp$element$useState7, 2), 302 disabled = _wp$element$useState8[0], 303 setDisabled = _wp$element$useState8[1]; 304 var color = wp.element.useState(props.color); 305 var title = props.form.title; 306 var handleFormSubmit = /*#__PURE__*/function () { 307 var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(event) { 308 var form, checkedValues, flag, checkboxes, link; 309 return _regeneratorRuntime().wrap(function _callee$(_context) { 310 while (1) switch (_context.prev = _context.next) { 311 case 0: 312 event.preventDefault(); 313 setDisabled(true); 314 form = new FormData(document.getElementById("request_a_quote_form")); 315 checkedValues = []; 316 flag = false;
317 jQuery('#request_a_quote_form input[type="checkbox"]').each(function () { 318 var checkboxName = jQuery(this).attr("name"); 319 checkboxName = checkboxName ? checkboxName : 'default'; 320 var checkedValues = []; 321 jQuery("#request_a_quote_form input[name=" + checkboxName + "]:checked").each(function () { 322 checkedValues.push(jQuery(this).val()); 323 }); 324 form.append(checkboxName, checkedValues); 325 if (jQuery("#my_checkbox").hasClass("custom_field") && jQuery("#my_checkbox").hasClass("requiredfield") && checkedValues.length < 1) { 326 alert("Select All the Mandatory Fields."); 327 setDisabled(false); 328 flag = true; 329 return false; 330 } 331 }); 332 if (!flag) { 333 _context.next = 8; 334 break; 335 } 336 return _context.abrupt("return"); 337 case 8: 338 // select all checkboxes in the form 339 checkboxes = jQuery('#request_a_quote_form input[type="checkbox"]'); // loop through each checkbox and get its name attribute 340 checkboxes.each(function () { 341 var checkboxName = jQuery(this).attr("name"); 342 var selected_val = jQuery(" input[name=" + checkboxName + "]:checked").val(); 343 }); 344 link = request_a_quote_ajax_obj.ajax_url; 345 link += "?action=elex_raq_submit_form"; 346 form.append("ajax_raq_nonce", request_a_quote_ajax_obj.nonce); 347 form.append("cart_item", jQuery(document.getElementById("request_a_quote_form")).serialize()); 348 jQuery.ajax({ 349 type: "post", 350 url: link, 351 data: form, 352 processData: false, 353 contentType: false, 354 enctype: "multipart/form-data", 355 success: function success(data) { 356 if (data.success === true) { 357 if ("" != data.data.redirection_url) { 358 window.location.href = data.data.redirection_url; 359 } else { 360 window.location.href = "/quote-received-page"; 361 } 362 } 363 } 364 }); 365 case 15: 366 case "end": 367 return _context.stop(); 368 } 369 }, _callee); 370 })); 371 return function handleFormSubmit(_x2) { 372 return _ref4.apply(this, arguments); 373 }; 374 }(); 375 var count = "default"; 376 var fileData = {}; 377 var FormInput = function FormInput(props) { 378 var _wp$element$useState9 = wp.element.useState(props.data.type), 379 _wp$element$useState10 = _slicedToArray(_wp$element$useState9, 2), 380 TypeComponent = _wp$element$useState10[0], 381 SetType = _wp$element$useState10[1]; 382 var connected_to = props.data.connected_to; 383 var label_name = props.data.name; 384 var title = props.data.title; 385 if (props.data.connected_to === "default" || props.data.connected_to === '') { 386 if (count === "default") { 387 count = 0; 388 connected_to = "default"; 389 count++; 390 } else { 391 connected_to = "default_" + count; 392 count++; 393 } 394 } 395 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment, { 396 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 397 className: "mb-3", 398 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("label", { 399 "for": "", 400 children: [(0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])(label_name, 'elex-request-a-quote'), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(IsMandatory, { 401 is_mandatory: props.data.mandatory 402 })] 403 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(RenderInputField, { 404 default_image: props.default_image, 405 data: props.data, 406 props: true, 407 connected_to: connected_to 408 })] 409 }) 410 }); 411 }; 412 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 413 className: "shadow w-100 mb-3 rounded-3 bg-white p-3", 414 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h5", { 415 className: "text-center", 416 children: [" ", (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])(title, 'elex-request-a-quote')] 417 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("form", { 418 method: "post", 419 id: "request_a_quote_form", 420 name: "request_a_quote_form", 421 enctype: "multipart/form-data", 422 onSubmit: handleFormSubmit, 423 children: [props.form.fields.map(function (field, i) { 424 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(FormInput, { 425 data: field, 426 count: count, 427 default_image: props.default_image, 428 color: color 429 }, i); 430 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button", { 431 style: { 432 backgroundColor: props.color[0], 433 border: 'none' 434 }, 435 disabled: disabled, 436 type: "submit",
437 className: " eraq-send-request btn btn-sm btn-primary fw-light", 438 children: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])('Send Request', 'elex-request-a-quote') 439 })] 440 })] 441 }); 442}; 443 444/***/ }), 445
446/***/ "./assets/js/components/quote_list/clear_list.js": 447/*!*******************************************************!*\ 448 !*** ./assets/js/components/quote_list/clear_list.js ***! 449 \*******************************************************/ 450/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 451 452"use strict"; 453__webpack_require__.r(__webpack_exports__); 454/* harmony export */ __webpack_require__.d(__webpack_exports__, { 455/* harmony export */ "ClearList": () => (/* binding */ ClearList) 456/* harmony export */ }); 457var ClearList = function ClearList() { 458 jQuery.ajax({ 459 type: 'post', 460 url: request_a_quote_ajax_obj.ajax_url, 461 data: { 462 action: 'elex_raq_clear_list', 463 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 464 }, 465 success: function success(data) { 466 if (data.success === true) { 467 jQuery(window).trigger("clear_list_event", data.data.quote_list_data); 468 } 469 } 470 }); 471}; 472 473/***/ }), 474
475/***/ "./assets/js/components/quote_list/maximize.js": 476/*!*****************************************************!*\ 477 !*** ./assets/js/components/quote_list/maximize.js ***! 478 \*****************************************************/ 479/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 480 481"use strict"; 482__webpack_require__.r(__webpack_exports__); 483/* harmony export */ __webpack_require__.d(__webpack_exports__, { 484/* harmony export */ "MaximizePopUp": () => (/* binding */ MaximizePopUp) 485/* harmony export */ }); 486var MaximizePopUp = function MaximizePopUp() { 487 jQuery(".elex-raq-quote-list-popup").removeClass("elex-raq-minimize"); 488 jQuery(".elex-raq-minimize-btn").removeClass("d-none"); 489 jQuery(".elex-raq-maximize-btn").addClass("d-none"); 490}; 491 492/***/ }), 493
494/***/ "./assets/js/components/quote_list/minimize.js": 495/*!*****************************************************!*\ 496 !*** ./assets/js/components/quote_list/minimize.js ***! 497 \*****************************************************/ 498/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 499 500"use strict"; 501__webpack_require__.r(__webpack_exports__); 502/* harmony export */ __webpack_require__.d(__webpack_exports__, { 503/* harmony export */ "MinimizePopUp": () => (/* binding */ MinimizePopUp) 504/* harmony export */ }); 505var MinimizePopUp = function MinimizePopUp() { 506 jQuery(".elex-raq-quote-list-popup").addClass("elex-raq-minimize"); 507 jQuery(".elex-raq-maximize-btn ").removeClass("d-none"); 508 jQuery(".elex-raq-minimize-btn").addClass("d-none"); 509}; 510 511/***/ }), 512
513/***/ "./assets/js/components/quote_list/priceWithCurrency.js": 514/*!**************************************************************!*\ 515 !*** ./assets/js/components/quote_list/priceWithCurrency.js ***! 516 \**************************************************************/ 517/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 518 519"use strict"; 520__webpack_require__.r(__webpack_exports__); 521/* harmony export */ __webpack_require__.d(__webpack_exports__, { 522/* harmony export */ "PriceWithCurrency": () => (/* binding */ PriceWithCurrency) 523/* harmony export */ }); 524/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! html-entities */ "./node_modules/html-entities/lib/index.js"); 525/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(html_entities__WEBPACK_IMPORTED_MODULE_0__); 526 527var PriceWithCurrency = function PriceWithCurrency(props) { 528 var currencyPosition = props.currency_position; 529 var price = props.price; 530 var currency = props.currency; 531 switch (currencyPosition) { 532 case 'left': 533 return (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency) + '' + price; 534 case 'left_space': 535 return (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency) + ' ' + price; 536 case 'right_space': 537 return price + ' ' + (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency); 538 case 'right': 539 return price + '' + (0,html_entities__WEBPACK_IMPORTED_MODULE_0__.decode)(currency); 540 } 541}; 542 543/***/ }), 544
545/***/ "./assets/js/components/quote_list/quote_items.js": 546/*!********************************************************!*\ 547 !*** ./assets/js/components/quote_list/quote_items.js ***! 548 \********************************************************/ 549/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 550 551"use strict"; 552__webpack_require__.r(__webpack_exports__); 553/* harmony export */ __webpack_require__.d(__webpack_exports__, { 554/* harmony export */ "RemoveProduct": () => (/* binding */ RemoveProduct) 555/* harmony export */ }); 556/* harmony import */ var _quote_list_content__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./quote_list_content */ "./assets/js/components/quote_list/quote_list_content.js"); 557/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! html-entities */ "./node_modules/html-entities/lib/index.js"); 558/* harmony import */ var html_entities__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(html_entities__WEBPACK_IMPORTED_MODULE_2__); 559/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 560 561 562 563var RemoveProduct = function RemoveProduct(product_id, variation_id, callback) { 564 jQuery.ajax({ 565 type: 'post', 566 url: request_a_quote_ajax_obj.ajax_url, 567 data: { 568 action: 'elex_raq_delete_item', 569 product_id: product_id, 570 variation_id: variation_id, 571 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 572 }, 573 success: function success(data) { 574 if (data.success === true) { 575 callback && callback(product_id); 576 jQuery(window).trigger("delete_event", data.data.quote_list_data); 577 } 578 } 579 }); 580}; 581var ShowSKU = function ShowSKU(props) { 582 if (props.is_sku_checked === true) { 583 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 584 className: "raq-fs", 585 children: props.item.sku 586 }); 587 } 588 return ''; 589}; 590var ShowPrice = function ShowPrice(props) { 591 if (props.show_price === true) { 592 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 593 className: "raq-fs", 594 children: props.item.item_cost 595 }); 596 } 597 return null; 598}; 599var ShowImage = function ShowImage(props) { 600 // if(props.show_image === true){ 601 // return( 602 // <img src={props.item.image_url} 603 // alt="" /> 604 // ) 605 606 // } 607 return ''; 608}; 609var ShowItemSubtotal = function ShowItemSubtotal(props) { 610 if (props.show_item_total == true) { 611 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 612 className: "text-end", 613 children: props.item.item_total + '' + (0,html_entities__WEBPACK_IMPORTED_MODULE_2__.decode)(props.currency) 614 }); 615 } 616 return ''; 617}; 618 619/***/ }), 620
621/***/ "./assets/js/components/quote_list/quote_list_content.js": 622/*!***************************************************************!*\ 623 !*** ./assets/js/components/quote_list/quote_list_content.js ***! 624 \***************************************************************/ 625/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 626 627"use strict"; 628__webpack_require__.r(__webpack_exports__); 629/* harmony export */ __webpack_require__.d(__webpack_exports__, { 630/* harmony export */ "QuoteListProducts": () => (/* binding */ QuoteListProducts), 631/* harmony export */ "RenderDelete": () => (/* binding */ RenderDelete) 632/* harmony export */ }); 633/* 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"); 634/* harmony import */ var _show_clear_list__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./show_clear_list */ "./assets/js/components/quote_list/show_clear_list.js"); 635/* harmony import */ var _priceWithCurrency__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./priceWithCurrency */ "./assets/js/components/quote_list/priceWithCurrency.js"); 636/* harmony import */ var _quote_items__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./quote_items */ "./assets/js/components/quote_list/quote_items.js"); 637/* harmony import */ var _GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../GetWooCommercePrice */ "./assets/js/components/GetWooCommercePrice.js"); 638/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 639/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 640function _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); } 641function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } 642function _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."); } 643function _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); } 644function _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; } 645function _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; } } 646function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } 647function 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; } 648function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {};
648 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; } 649function _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; } 650function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); } 651function _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); } 652 653 654 655 656 657 658 659 660 661 662var tempElexRqQuoteList = []; 663var RenderDelete = function RenderDelete(data) { 664 if (data.props.item.type === 'composite' && data.props.item.child === true) { 665 return null; 666 } 667 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { 668 onClick: function onClick(e) { 669 e.preventDefault(); 670 (0,_quote_items__WEBPACK_IMPORTED_MODULE_3__.RemoveProduct)(data.props.item.product_id, data.props.item.variation_id, data.props.onDelete); 671 }, 672 className: "remove_product btn btn-sm rounded-circle p-1 lh-1", 673 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("svg", { 674 xmlns: "http://www.w3.org/2000/svg", 675 width: "15", 676 height: "16.5", 677 viewBox: "0 0 15 16.5", 678 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("g", { 679 id: "Icon_feather-trash-2", 680 "data-name": "Icon feather-trash-2", 681 transform: "translate(0.75 0.75)", 682 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 683 "data-name": "Path 482", 684 d: "M2.25,4.5h13.5", 685 transform: "translate(-2.25 -1.5)", 686 fill: "none", 687 stroke: "#000", 688 "stroke-linecap": "round", 689 "stroke-linejoin": "round", 690 "stroke-width": "1.5" 691 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 692 "data-name": "Path 483", 693 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", 694 transform: "translate(-2.25 -1.5)", 695 fill: "none", 696 stroke: "#000", 697 "stroke-linecap": "round", 698 "stroke-linejoin": "round", 699 "stroke-width": "1.5" 700 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 701 "data-name": "Path 484", 702 d: "M7.5,8.25v4.5", 703 transform: "translate(-2.25 -1.5)", 704 fill: "none", 705 stroke: "#000", 706 "stroke-linecap": "round", 707 "stroke-linejoin": "round", 708 "stroke-width": "1.5" 709 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("path", { 710 "data-name": "Path 485", 711 d: "M10.5,8.25v4.5", 712 transform: "translate(-2.25 -1.5)", 713 fill: "none", 714 stroke: "#000", 715 "stroke-linecap": "round", 716 "stroke-linejoin": "round", 717 "stroke-width": "1.5" 718 })] 719 }) 720 }) 721 }); 722}; 723var ShowProductPrice = function ShowProductPrice(props) { 724 if (props.show_price === true && props.is_hide_price !== true) { 725 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 726 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none", 727 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 728 className: "mb-0", 729 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Price', 'elex-request-a-quote') 730 }) 731 }); 732 } 733 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 734 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 735 }); 736 // return null; 737}; 738 739var ShowProductQuantity = function ShowProductQuantity(props) { 740 if (props.show_quantity === true) { 741 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 742 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none", 743 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 744 className: "mb-0", 745 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Quantity', 'elex-request-a-quote') 746 }) 747 }); 748 } 749 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 750 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 751 }); 752}; 753var ShowProductSubtotal = function ShowProductSubtotal(props) { 754 if (props.show_subtotal === true && props.is_hide_price !== true) { 755 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 756 className: "col-2 elex-raq-quote-hideable-header text-end d-md-block d-none", 757 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 758 className: "mb-0", 759 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Subtotal', 'elex-request-a-quote') 760 }) 761 }); 762 } 763 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 764 className: "col-2 elex-raq-quote-hideable-header d-md-block d-none" 765 }); 766}; 767var ShowTax = function ShowTax(props) { 768 if (props.inclusive_tax !== true && props.show_tax === true && props.is_hide_price !== true) { 769 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 770 className: "d-flex justify-content-between mb-2", 771 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 772 className: "mb-0", 773 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Tax', 'elex-request-a-quote') 774 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 775 className: "raq-fxs", 776 children: props.tax_value !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 777 val: props.tax_value 778 }) : '' 779 })] 780 }); 781 } 782 return null; 783}; 784var ShowSubTotal = function ShowSubTotal(props) { 785 if (props.show_sub_total === true && props.is_hide_price !== true) { 786 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 787 className: "d-flex justify-content-between mb-2", 788 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 789 className: "mb-0", 790 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Subtotal', 'elex-request-a-quote') 791 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 792 className: "raq-fxs",
793 children: props.sub_total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 794 val: props.sub_total 795 }) : '' 796 })] 797 }); 798 } 799 return null; 800}; 801var ShowTotal = function ShowTotal(props) { 802 if (props.show_sub_total === true && props.is_hide_price !== true) { 803 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 804 className: "d-flex justify-content-between mb-2", 805 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 806 className: "mb-0", 807 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Total', 'elex-request-a-quote') 808 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 809 className: "raq-fxs", 810 children: props.total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 811 val: props.total 812 }) : '' 813 })] 814 }); 815 } 816 return null; 817}; 818var ShowSKU = function ShowSKU(props) { 819 if (props.is_sku_checked === true) { 820 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 821 className: "raq-fs", 822 children: props.item.sku 823 }); 824 } 825 return ''; 826}; 827var ShowPrice = function ShowPrice(props) { 828 if (props.show_price === true && props.is_hide_price !== true) { 829 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 830 className: "raq-fs", 831 children: props.item.item_cost !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 832 val: props.item.item_cost 833 }) : '' 834 }); 835 } 836 return null; 837}; 838var ShowImage = function ShowImage(props) { 839 if (props.show_image === true) { 840 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("img", { 841 src: props.item.image_url, 842 alt: "" 843 }); 844 } 845 return ''; 846}; 847var ShowItemSubtotal = function ShowItemSubtotal(props) { 848 if (props.show_item_total == true && props.is_hide_price !== true) { 849 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 850 className: "text-end", 851 children: props.item.item_total !== '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_GetWooCommercePrice__WEBPACK_IMPORTED_MODULE_4__.GetWooCommercePrice, { 852 val: props.item.item_total 853 }) : '' 854 }); 855 } 856 return ''; 857}; 858var QuoteListProducts = function QuoteListProducts(props) { 859 var button_color = wp.element.useState(props.data.quote_items.general.general.button_default_color); 860 var wc_currency = wp.element.useState(props.data.quote_items, quote_list.wc_currency); 861 wp.element.useEffect(function () { 862 jQuery(window).on("update_quantity_event", function (e, quotelist_data) { 863 setQuoteItems(quotelist_data); 864 }); 865 jQuery(window).on("clear_list_event", function (e, quotelist_data) { 866 setQuoteItems(quotelist_data); 867 }); 868 jQuery(window).on("delete_event", function (e, quotelist_data) { 869 setQuoteItems(quotelist_data); 870 }); 871 }, []); 872 var onQuoteListItemRemove = function onQuoteListItemRemove(i) { 873 var newQuoteList = _objectSpread({}, quoteItems); 874 newQuoteList.quote_list.items.splice(i, 1); 875 setQuoteItems(newQuoteList); 876 }; 877 var HideOrShowUpdateList = function HideOrShowUpdateList(props) { 878 if (props.data.additional_settings.update_list_button === true) { 879 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("button", { 880 onClick: function onClick() { 881 setQuoteItems(tempElexRqQuoteList); 882 UpdateListApi(); 883 }, 884 style: { 885 backgroundColor: props.color[0], 886 border: 'none' 887 }, 888 className: "update_list_btn btn btn-sm btn-primary px-4", 889 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Update List', 'elex-request-a-quote') 890 }); 891 } 892 return ''; 893 }; 894 var IsPriceHidden = function IsPriceHidden(props) { 895 if (true === props.is_hide_price) { 896 return null; 897 } 898 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 899 className: "col-md-6 col-7 border-0 mb-2 border-bottom border-secondary", 900 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowSubTotal, { 901 is_hide_price: props.is_hide_price, 902 currency: props.currency, 903 currency_position: props.currency_position, 904 sub_total: props.items.quote_list.sub_total, 905 show_sub_total: props.items.settings.show_on_product_table.each_product_subtotal 906 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowTax, { 907 inclusive_tax: props.items.quote_list.inclusive_tax, 908 is_hide_price: props.is_hide_price, 909 currency: props.currency, 910 currency_position: props.currency_position, 911 tax_value: props.items.quote_list.tax, 912 show_tax: props.items.settings.show_on_product_table.taxes 913 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowTotal, { 914 is_hide_price: props.is_hide_price, 915 currency: props.currency, 916 currency_position: props.currency_position, 917 total: props.items.quote_list.total, 918 show_sub_total: props.items.settings.show_on_product_table.each_product_subtotal 919 })] 920 }); 921 }; 922 var UpdateListApi = function UpdateListApi() { 923 var newQuoteList = _objectSpread({}, quoteItems); 924 var product_data = []; 925 jQuery.each(newQuoteList.quote_list.items, function (k) { 926 var data = { 927 product_id: newQuoteList.quote_list.items[k].product_id, 928 quantity: newQuoteList.quote_list.items[k].quantity, 929 variation_id: newQuoteList.quote_list.items[k].variation_id 930 }; 931 product_data.push(data); 932 }); 933 jQuery.ajax({ 934 type: 'post', 935 url: request_a_quote_ajax_obj.ajax_url, 936 data: { 937 action: 'elex_raq_update_quote_list', 938 data: product_data, 939 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 940 }, 941 success: function success(data) { 942 if (data.success === true) { 943 jQuery(window).trigger("update_quantity_event", data.data.quote_list_data); 944 } 945 } 946 }); 947 }; 948 var QuoteItems = function QuoteItems(props) { 949 var UpdateLocalList = function UpdateLocalList(newQuantity, product_id, variation_id) { 950 var newQuoteList = _objectSpread({}, quoteItems); 951 jQuery.each(newQuoteList.quote_list.items, function (k) { 952 if (newQuoteList.quote_list.items[k].product_id === product_id && newQuoteList.quote_list.items[k].variation_id === variation_id) { 953 newQuoteList.quote_list.items[k].quantity = newQuantity; 954 } 955 }); 956 // Note: if we update state here component rerenders and input gets out of focus. 957 tempElexRqQuoteList = newQuoteList; 958 }; 959 var UpdateItemQuantity = function UpdateItemQuantity(product_id, quantity, variation_id) { 960 jQuery.ajax({ 961 type: 'post', 962 url: request_a_quote_ajax_obj.ajax_url, 963 data: { 964 action: 'elex_raq_update_quantity', 965 product_id: product_id, 966 quote_list_id: props.quote_list_id, 967 quantity: quantity, 968 variation_id: variation_id, 969 ajax_raq_nonce: request_a_quote_ajax_obj.nonce 970 }, 971 success: function success(data) { 972 if (data.success === true) { 973 jQuery(window).trigger("update_quantity_event", data.data.quote_list_data); 974 jQuery("#elex-raq-updated-sucess-toast").addClass("show"); 975 setTimeout(function () { 976 jQuery("#elex-raq-updated-sucess-toast").removeClass("show"); 977 }, 3000); 978 } 979 } 980 }); 981 }; 982 var ShowQuantity = function ShowQuantity(props) { 983 var is_disabled = ''; 984 if (props.item.child === true) { 985 is_disabled = "disabled"; 986 } 987 if (props.show_quantity === true && !props.item.child) { 988 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("input", { 989 type: "number", 990 min: "1", 991 id: props.item.product_id, 992 onChange: function onChange(e) { 993 UpdateLocalList(e.target.value, props.item.product_id, props.item.variation_id); 994 props.is_update_btn_enabled === false ? UpdateItemQuantity(props.item.product_id, e.target.value, props.item.variation_id) : ''; 995 }, 996 defaultValue: props.item.quantity, 997 className: "form-control product_quantity px-1" 998 }); 999 } 1000 if (props.show_quantity === true && props.item.child) { 1001 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("input", { 1002 disabled: true, 1003 type: "number", 1004 min: "1", 1005 id: props.item.product_id, 1006 onChange: function onChange(e) { 1007 UpdateLocalList(e.target.value, props.item.product_id, props.item.variation_id); 1008 props.is_update_btn_enabled === false ? UpdateItemQuantity(props.item.product_id, e.target.value, props.item.variation_id) : ''; 1009 }, 1010 defaultValue: props.item.quantity, 1011 className: "form-control product_quantity px-1" 1012 }); 1013 } 1014 return null; 1015 }; 1016 var ShowProdcutDetails = function ShowProdcutDetails(props) { 1017 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("a", { 1018 href: props.link, 1019 children: props.title 1020 }); 1021 }; 1022 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.Fragment, { 1023 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 1024 className: "row text-start align-items-center border-0 pb-2 mb-2 border-bottom border-secondary", 1025 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1026 className: "col-xl-1 col-md-1 col-2 mb-2", 1027 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(RenderDelete, { 1028 props: props 1029 }) 1030 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1031 className: "col-xl-5 col-md-5 col-10 mb-2", 1032 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 1033 className: "d-flex gap-2", 1034 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1035 className: "elex-raq-icon", 1036 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1037 className: "ratio ratio-1x1", 1038 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowImage, { 1039 show_image: props.settings.show_on_product_table.product_image, 1040 item: props.item 1041 }) 1042 }) 1043 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 1044 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProdcutDetails, { 1045 link: props.item.product_link, 1046 title: props.item.title 1047 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 1048 className: "raq-fs" 1049 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowSKU, { 1050 is_sku_checked: props.settings.show_on_product_table.product_sku, 1051 item: props.item 1052 })] 1053 })] 1054 }) 1055 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1056 className: "col-xl-2 col-md-2 col-3 offset-xl-0 offset-md-0 offset-2 mb-2", 1057 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowPrice, { 1058 currency: props.currency, 1059 currency_position: props.currency_position, 1060 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 1061 show_price: props.settings.show_on_product_table.product_price, 1062 item: props.item 1063 }) 1064 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1065 className: "col-xl-2 col-md-2 col-3 mb-2 p-0", 1066 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowQuantity, { 1067 onUpdate: props.onUpdate, 1068 show_quantity: props.settings.show_on_product_table.quantity, 1069 is_update_btn_enabled: props.is_update_btn_enabled, 1070 item: props.item 1071 }) 1072 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1073 className: "col-xl-2 col-md-2 col-4 text-end ps-2 mb-2", 1074 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowItemSubtotal, { 1075 currency_position: props.currency_position, 1076 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 1077 currency: props.currency, 1078 show_item_total: props.settings.show_on_product_table.each_product_subtotal, 1079 item: props.item 1080 }) 1081 })] 1082 }) 1083 }); 1084 }; 1085 var _wp$element$useState = wp.element.useState(props.data.quote_items), 1086 _wp$element$useState2 = _slicedToArray(_wp$element$useState, 2), 1087 quoteItems = _wp$element$useState2[0], 1088 setQuoteItems = _wp$element$useState2[1]; 1089 if (undefined == quoteItems.quote_list) { 1090 return ''; 1091 } 1092 if (quoteItems.quote_list.items.length === 0) { 1093 return ''; 1094 } 1095 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1096 className: "shadow quote_list_page overflow-auto w-100 mb-3 flex-fill rounded-3 bg-white ", 1097 id: "elex_quote_list_page_div", 1098 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 1099 className: "quote_list_product_table", 1100 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1101 className: "bg-secondary bg-opacity-10 p-3", 1102 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 1103 className: "row text-start", 1104 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1105 className: "col-1" 1106 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1107 className: "col-sm-5 col-12", 1108 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("h6", { 1109 className: "mb-0", 1110 children: (0,_translate__WEBPACK_IMPORTED_MODULE_5__["default"])('Product Detail', 'elex-request-a-quote') 1111 }) 1112 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductPrice, { 1113 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 1114 show_price: quoteItems.settings.show_on_product_table.product_price 1115 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductQuantity, { 1116 show_quantity: quoteItems.settings.show_on_product_table.quantity 1117 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(ShowProductSubtotal, { 1118 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 1119 show_subtotal: quoteItems.settings.show_on_product_table.each_product_subtotal 1120 })] 1121 }) 1122 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 1123 className: "p-3", 1124 children: [quoteItems.quote_list.items.map(function (item, i) { 1125 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(QuoteItems, { 1126 onDelete: function onDelete() { 1127 return onQuoteListItemRemove(i); 1128 }, 1129 ad_settings: quoteItems.additional_settings, 1130 settings: quoteItems.settings, 1131 currency: quoteItems.quote_list.wc_currency, 1132 currency_position: quoteItems.quote_list.currency_position, 1133
1133 quote_list_id: quoteItems.quote_list.id, 1134 item: item, 1135 is_update_btn_enabled: quoteItems.additional_settings.update_list_button 1136 }, i); 1137 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", { 1138 className: "row text-start align-items-center mb-2 justify-content-end", 1139 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(IsPriceHidden, { 1140 is_hide_price: quoteItems.general.hide_add_to_cart.hide_price, 1141 currency_position: quoteItems.quote_list.currency_position, 1142 currency: quoteItems.quote_list.wc_currency, 1143 items: quoteItems 1144 }) 1145 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 1146 className: "d-flex flex-wrap justify-content-between flex-sm-row flex-column align-items-center gap-2", 1147 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_show_add_more_button__WEBPACK_IMPORTED_MODULE_0__.HideOrShowAddMoreButton, { 1148 data: quoteItems.additional_settings, 1149 color: button_color 1150 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)("div", { 1151 className: "d-flex gap-2", 1152 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_show_clear_list__WEBPACK_IMPORTED_MODULE_1__.HideOrShowClearList, { 1153 data: quoteItems.additional_settings, 1154 color: button_color 1155 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(HideOrShowUpdateList, { 1156 data: quoteItems, 1157 color: button_color 1158 })] 1159 })] 1160 })] 1161 })] 1162 }) 1163 }); 1164}; 1165 1166/***/ }), 1167
1168/***/ "./assets/js/components/quote_list/quote_list_empty.js": 1169/*!*************************************************************!*\ 1170 !*** ./assets/js/components/quote_list/quote_list_empty.js ***! 1171 \*************************************************************/ 1172/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 1173 1174"use strict"; 1175__webpack_require__.r(__webpack_exports__); 1176/* harmony export */ __webpack_require__.d(__webpack_exports__, { 1177/* harmony export */ "EmptyImageUrl": () => (/* binding */ EmptyImageUrl), 1178/* harmony export */ "GoToShopPage": () => (/* binding */ GoToShopPage), 1179/* harmony export */ "IsQuoteEmpty": () => (/* binding */ IsQuoteEmpty), 1180/* harmony export */ "QuoteEmptyText": () => (/* binding */ QuoteEmptyText) 1181/* harmony export */ }); 1182/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 1183/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 1184 1185 1186 1187var IsQuoteEmpty = function IsQuoteEmpty(props) { 1188 if (props.data.items.length === 0) { 1189 jQuery('.quote_list_page').addClass('d-none'); 1190 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 1191 "class": "text-center w-100 elex-raq-empty-list my-5", 1192 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(EmptyImageUrl, { 1193 image_url: props.empty_image_url, 1194 illustration: props.settings.illustration 1195 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(QuoteEmptyText, { 1196 empty_quote_text: props.settings.empty_text 1197 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(GoToShopPage, { 1198 color: props.color, 1199 shop_page: props.shop_page, 1200 is_enabled: props.settings.go_to_shop_page_button 1201 })] 1202 }); 1203 } 1204 jQuery('.quote_list_page').removeClass('d-none'); 1205 return null; 1206}; 1207var GoToShopPage = function GoToShopPage(props) { 1208 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a", { 1209 href: props.shop_page, 1210 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button", { 1211 style: { 1212 backgroundColor: props.color[0], 1213 border: 'none' 1214 }, 1215 className: "btn btn-sm btn-primary", 1216 children: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])('Go to Shop Page', 'elex-request-a-quote') 1217 }) 1218 }); 1219}; 1220var QuoteEmptyText = function QuoteEmptyText(props) { 1221 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("h6", { 1222 children: props.empty_quote_text.text 1223 }); 1224}; 1225var EmptyImageUrl = function EmptyImageUrl(props) { 1226 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("img", { 1227 src: props.image_url[0], 1228 alt: "", 1229 "class": "mb-3" 1230 }); 1231}; 1232 1233/***/ }), 1234
1235/***/ "./assets/js/components/quote_list/show_add_more_button.js": 1236/*!*****************************************************************!*\ 1237 !*** ./assets/js/components/quote_list/show_add_more_button.js ***! 1238 \*****************************************************************/ 1239/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 1240 1241"use strict"; 1242__webpack_require__.r(__webpack_exports__); 1243/* harmony export */ __webpack_require__.d(__webpack_exports__, { 1244/* harmony export */ "HideOrShowAddMoreButton": () => (/* binding */ HideOrShowAddMoreButton) 1245/* harmony export */ }); 1246/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 1247/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 1248 1249 1250var HideOrShowAddMoreButton = function HideOrShowAddMoreButton(props) { 1251 if (props.data.add_more_items_button === true) { 1252 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("a", { 1253 href: props.data.add_more_items_button_redirection, 1254 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button", { 1255 style: { 1256 backgroundColor: props.color[0], 1257 border: 'none' 1258 }, 1259 className: "add_more_items_btn btn btn-sm btn-primary px-4", 1260 children: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])(props.data.add_more_items_button_label, 'elex-request-a-quote') 1261 }) 1262 }); 1263 } 1264 return ''; 1265}; 1266 1267/***/ }), 1268
1269/***/ "./assets/js/components/quote_list/show_clear_list.js": 1270/*!************************************************************!*\ 1271 !*** ./assets/js/components/quote_list/show_clear_list.js ***! 1272 \************************************************************/ 1273/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 1274 1275"use strict"; 1276__webpack_require__.r(__webpack_exports__); 1277/* harmony export */ __webpack_require__.d(__webpack_exports__, { 1278/* harmony export */ "HideOrShowClearList": () => (/* binding */ HideOrShowClearList) 1279/* harmony export */ }); 1280/* harmony import */ var _clear_list__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clear_list */ "./assets/js/components/quote_list/clear_list.js"); 1281/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 1282/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 1283 1284 1285 1286var HideOrShowClearList = function HideOrShowClearList(props) { 1287 if (props.data.clear_list === true) { 1288 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("button", { 1289 style: { 1290 backgroundColor: props.color[0], 1291 border: 'none' 1292 }, 1293 onClick: _clear_list__WEBPACK_IMPORTED_MODULE_0__.ClearList, 1294 className: "clear_list_btn btn btn-sm btn-primary px-4", 1295 children: (0,_translate__WEBPACK_IMPORTED_MODULE_1__["default"])('Clear List', 'elex-request-a-quote') 1296 }); 1297 } 1298 return ''; 1299}; 1300 1301/***/ }), 1302
1303/***/ "./assets/js/components/toast_message/update_message.js": 1304/*!**************************************************************!*\ 1305 !*** ./assets/js/components/toast_message/update_message.js ***! 1306 \**************************************************************/ 1307/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 1308 1309"use strict"; 1310__webpack_require__.r(__webpack_exports__); 1311/* harmony export */ __webpack_require__.d(__webpack_exports__, { 1312/* harmony export */ "ClearQuoteMsg": () => (/* binding */ ClearQuoteMsg), 1313/* harmony export */ "UpdateQuoteMsg": () => (/* binding */ UpdateQuoteMsg) 1314/* harmony export */ }); 1315/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../translate */ "./assets/js/components/translate.js"); 1316/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 1317 1318 1319 1320var UpdateQuoteMsg = function UpdateQuoteMsg() { 1321 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 1322 "class": "w-100", 1323 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 1324 "class": "elex-raq-toast-container position-fixed top-0 start-50 translate-middle-x p-3", 1325 style: "z-index: 9999", 1326 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 1327 id: "elex-raq-updated-sucess-toast", 1328 "class": "toast show", 1329 role: "alert", 1330 "aria-live": "assertive", 1331 "aria-atomic": "true", 1332 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 1333 "class": "toast-body text-center d-flex justify-content-between align-items-center", 1334 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h6", { 1335 "class": "my-2", 1336 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg", { 1337 xmlns: "http://www.w3.org/2000/svg", 1338 width: "22.415", 1339 height: "22.026",
1340 viewBox: "0 0 22.415 22.026", 1341 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("g", { 1342 id: "Icon_feather-check-circle", 1343 "data-name": "Icon feather-check-circle", 1344 transform: "translate(-1.998 -1.979)", 1345 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", { 1346 id: "Path_646", 1347 "data-name": "Path 646", 1348 d: "M23,12.076V13a10,10,0,1,1-5.93-9.139", 1349 fill: "none", 1350 stroke: "#28a745", 1351 "stroke-linecap": "round", 1352 "stroke-linejoin": "round", 1353 "stroke-width": "2" 1354 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", { 1355 id: "Path_647", 1356 "data-name": "Path 647", 1357 d: "M26.5,6l-10,10.009-3-3", 1358 transform: "translate(-3.5 -1.003)", 1359 fill: "none", 1360 stroke: "#28a745", 1361 "stroke-linecap": "round", 1362 "stroke-linejoin": "round", 1363 "stroke-width": "2" 1364 })] 1365 }) 1366 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span", { 1367 "class": "ms-2", 1368 children: (0,_translate__WEBPACK_IMPORTED_MODULE_0__["default"])('Updated Successfully', 'elex-request-a-quote') 1369 })] 1370 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button", { 1371 type: "button", 1372 "class": "btn-close", 1373 "data-bs-dismiss": "toast", 1374 "aria-label": "Close" 1375 })] 1376 }) 1377 }) 1378 }) 1379 }); 1380}; 1381var ClearQuoteMsg = function ClearQuoteMsg() { 1382 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 1383 "class": "w-100", 1384 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 1385 "class": "elex-raq-toast-container position-fixed top-0 start-50 translate-middle-x p-3", 1386 style: "z-index: 9999", 1387 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", { 1388 id: "elex-raq-cleared-sucess-toast", 1389 "class": "toast", 1390 role: "alert", 1391 "aria-live": "assertive", 1392 "aria-atomic": "true", 1393 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div", { 1394 "class": "toast-body text-center d-flex justify-content-between align-items-center", 1395 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h6", { 1396 "class": "my-2", 1397 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("svg", { 1398 xmlns: "http://www.w3.org/2000/svg", 1399 width: "22.415", 1400 height: "22.026",
1401 viewBox: "0 0 22.415 22.026", 1402 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("g", { 1403 id: "Icon_feather-check-circle", 1404 "data-name": "Icon feather-check-circle", 1405 transform: "translate(-1.998 -1.979)", 1406 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", { 1407 id: "Path_646", 1408 "data-name": "Path 646", 1409 d: "M23,12.076V13a10,10,0,1,1-5.93-9.139", 1410 fill: "none", 1411 stroke: "#28a745", 1412 "stroke-linecap": "round", 1413 "stroke-linejoin": "round", 1414 "stroke-width": "2" 1415 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("path", { 1416 id: "Path_647", 1417 "data-name": "Path 647", 1418 d: "M26.5,6l-10,10.009-3-3", 1419 transform: "translate(-3.5 -1.003)", 1420 fill: "none", 1421 stroke: "#28a745", 1422 "stroke-linecap": "round", 1423 "stroke-linejoin": "round", 1424 "stroke-width": "2" 1425 })] 1426 }) 1427 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("span", { 1428 "class": "ms-2", 1429 children: "Cleared Successfully" 1430 })] 1431 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("button", { 1432 type: "button", 1433 "class": "btn-close", 1434 "data-bs-dismiss": "toast", 1435 "aria-label": "Close" 1436 })] 1437 }) 1438 }) 1439 }) 1440 }); 1441}; 1442 1443/***/ }), 1444
1445/***/ "./assets/js/components/translate.js": 1446/*!*******************************************!*\ 1447 !*** ./assets/js/components/translate.js ***! 1448 \*******************************************/ 1449/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 1450 1451"use strict"; 1452__webpack_require__.r(__webpack_exports__); 1453/* harmony export */ __webpack_require__.d(__webpack_exports__, { 1454/* harmony export */ "default": () => (/* binding */ __) 1455/* harmony export */ }); 1456// eslint-disable-next-line no-underscore-dangle 1457function __(string, domain) { 1458 var _window = window, 1459 elexRaqTranslations = _window.elex_raq_translations; 1460 if (domain === 'elex-request-a-quote' && elexRaqTranslations && elexRaqTranslations !== null && elexRaqTranslations !== void 0 && elexRaqTranslations[string]) { 1461 return elexRaqTranslations[string]; 1462 } 1463 return string; 1464} 1465 1466/***/ }), 1467
vendor: 2,261 bytes, lines 1468-1533
1468/***/ "./node_modules/domelementtype/lib/index.js": 1469/*!**************************************************!*\ 1470 !*** ./node_modules/domelementtype/lib/index.js ***! 1471 \**************************************************/ 1472/***/ ((__unused_webpack_module, exports) => { 1473 1474"use strict"; 1475 1476Object.defineProperty(exports, "__esModule", ({ value: true })); 1477exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0; 1478/** Types of elements found in htmlparser2's DOM */ 1479var ElementType; 1480(function (ElementType) { 1481 /** Type for the root element of a document */ 1482 ElementType["Root"] = "root"; 1483 /** Type for Text */ 1484 ElementType["Text"] = "text"; 1485 /** Type for <? ... ?> */ 1486 ElementType["Directive"] = "directive"; 1487 /** Type for <!-- ... --> */ 1488 ElementType["Comment"] = "comment"; 1489 /** Type for <script> tags */ 1490 ElementType["Script"] = "script"; 1491 /** Type for <style> tags */ 1492 ElementType["Style"] = "style"; 1493 /** Type for Any tag */ 1494 ElementType["Tag"] = "tag"; 1495 /** Type for <![CDATA[ ... ]]> */ 1496 ElementType["CDATA"] = "cdata"; 1497 /** Type for <!doctype ...> */ 1498 ElementType["Doctype"] = "doctype"; 1499})(ElementType = exports.ElementType || (exports.ElementType = {})); 1500/** 1501 * Tests whether an element is a tag or not. 1502 * 1503 * @param elem Element to test 1504 */ 1505function isTag(elem) { 1506 return (elem.type === ElementType.Tag || 1507 elem.type === ElementType.Script || 1508 elem.type === ElementType.Style); 1509} 1510exports.isTag = isTag; 1511// Exports for backwards compatibility 1512/** Type for the root element of a document */ 1513exports.Root = ElementType.Root; 1514/** Type for Text */ 1515exports.Text = ElementType.Text; 1516/** Type for <? ... ?> */ 1517exports.Directive = ElementType.Directive; 1518/** Type for <!-- ... --> */ 1519exports.Comment = ElementType.Comment; 1520/** Type for <script> tags */ 1521exports.Script = ElementType.Script; 1522/** Type for <style> tags */ 1523exports.Style = ElementType.Style; 1524/** Type for Any tag */ 1525exports.Tag = ElementType.Tag; 1526/** Type for <![CDATA[ ... ]]> */ 1527exports.CDATA = ElementType.CDATA; 1528/** Type for <!doctype ...> */ 1529exports.Doctype = ElementType.Doctype; 1530 1531 1532/***/ }), 1533
vendor: 1,487 bytes, lines 1534-1589
1534/***/ "./node_modules/html-dom-parser/lib/client/constants.js": 1535/*!**************************************************************!*\ 1536 !*** ./node_modules/html-dom-parser/lib/client/constants.js ***! 1537 \**************************************************************/ 1538/***/ ((__unused_webpack_module, exports) => { 1539 1540"use strict"; 1541 1542Object.defineProperty(exports, "__esModule", ({ value: true })); 1543exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES = void 0; 1544/** 1545 * SVG elements are case-sensitive. 1546 * 1547 * @see https://developer.mozilla.org/docs/Web/SVG/Element#svg_elements_a_to_z 1548 */ 1549exports.CASE_SENSITIVE_TAG_NAMES = [ 1550 'animateMotion', 1551 'animateTransform', 1552 'clipPath', 1553 'feBlend', 1554 'feColorMatrix', 1555 'feComponentTransfer', 1556 'feComposite', 1557 'feConvolveMatrix', 1558 'feDiffuseLighting', 1559 'feDisplacementMap', 1560 'feDropShadow', 1561 'feFlood', 1562 'feFuncA', 1563 'feFuncB', 1564 'feFuncG', 1565 'feFuncR', 1566 'feGaussianBlur', 1567 'feImage', 1568 'feMerge', 1569 'feMergeNode', 1570 'feMorphology', 1571 'feOffset', 1572 'fePointLight', 1573 'feSpecularLighting', 1574 'feSpotLight', 1575 'feTile', 1576 'feTurbulence', 1577 'foreignObject', 1578 'linearGradient', 1579 'radialGradient', 1580 'textPath', 1581]; 1582exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES.reduce(function (accumulator, tagName) { 1583 accumulator[tagName.toLowerCase()] = tagName; 1584 return accumulator; 1585}, {}); 1586//# sourceMappingURL=constants.js.map 1587 1588/***/ }), 1589
vendor: 5,360 bytes, lines 1590-1736
1590/***/ "./node_modules/html-dom-parser/lib/client/domparser.js": 1591/*!**************************************************************!*\ 1592 !*** ./node_modules/html-dom-parser/lib/client/domparser.js ***! 1593 \**************************************************************/ 1594/***/ ((__unused_webpack_module, exports) => { 1595 1596"use strict"; 1597 1598Object.defineProperty(exports, "__esModule", ({ value: true })); 1599exports["default"] = domparser; 1600// constants 1601var HTML = 'html'; 1602var HEAD = 'head'; 1603var BODY = 'body'; 1604var FIRST_TAG_REGEX = /<([a-zA-Z]+[0-9]?)/; // e.g., <h1> 1605// match-all-characters in case of newlines (DOTALL) 1606var HEAD_TAG_REGEX = /<head[^]*>/i; 1607var BODY_TAG_REGEX = /<body[^]*>/i; 1608// falls back to `parseFromString` if `createHTMLDocument` cannot be used 1609// eslint-disable-next-line @typescript-eslint/no-unused-vars 1610var parseFromDocument = function (html, tagName) { 1611 /* istanbul ignore next */ 1612 throw new Error('This browser does not support `document.implementation.createHTMLDocument`'); 1613}; 1614// eslint-disable-next-line @typescript-eslint/no-unused-vars 1615var parseFromString = function (html, tagName) { 1616 /* istanbul ignore next */ 1617 throw new Error('This browser does not support `DOMParser.prototype.parseFromString`'); 1618}; 1619var DOMParser = typeof window === 'object' && window.DOMParser; 1620/** 1621 * DOMParser (performance: slow). 1622 * 1623 * @see https://developer.mozilla.org/docs/Web/API/DOMParser#Parsing_an_SVG_or_HTML_document 1624 */ 1625if (typeof DOMParser === 'function') { 1626 var domParser_1 = new DOMParser(); 1627 var mimeType_1 = 'text/html'; 1628 /** 1629 * Creates an HTML document using `DOMParser.parseFromString`. 1630 * 1631 * @param html - The HTML string. 1632 * @param tagName - The element to render the HTML (with 'body' as fallback). 1633 * @returns - Document. 1634 */ 1635 parseFromString = function (html, tagName) { 1636 if (tagName) { 1637 /* istanbul ignore next */ 1638 html = "<".concat(tagName, ">").concat(html, "</").concat(tagName, ">"); 1639 } 1640 return domParser_1.parseFromString(html, mimeType_1); 1641 }; 1642 parseFromDocument = parseFromString; 1643} 1644/** 1645 * DOMImplementation (performance: fair). 1646 * 1647 * @see https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument 1648 */ 1649if (typeof document === 'object' && document.implementation) { 1650 var htmlDocument_1 = document.implementation.createHTMLDocument(); 1651 /** 1652 * Use HTML document created by `document.implementation.createHTMLDocument`. 1653 * 1654 * @param html - The HTML string. 1655 * @param tagName - The element to render the HTML (with 'body' as fallback). 1656 * @returns - Document 1657 */ 1658 parseFromDocument = function (html, tagName) { 1659 if (tagName) { 1660 var element = htmlDocument_1.documentElement.querySelector(tagName); 1661 if (element) { 1662 element.innerHTML = html; 1663 } 1664 return htmlDocument_1; 1665 } 1666 htmlDocument_1.documentElement.innerHTML = html; 1667 return htmlDocument_1; 1668 }; 1669} 1670/** 1671 * Template (performance: fast). 1672 * 1673 * @see https://developer.mozilla.org/docs/Web/HTML/Element/template 1674 */ 1675var template = typeof document === 'object' && document.createElement('template'); 1676var parseFromTemplate; 1677if (template && template.content) { 1678 /** 1679 * Uses a template element (content fragment) to parse HTML. 1680 * 1681 * @param html - HTML string. 1682 * @returns - Nodes. 1683 */ 1684 parseFromTemplate = function (html) { 1685 template.innerHTML = html; 1686 return template.content.childNodes; 1687 }; 1688} 1689/** 1690 * Parses HTML string to DOM nodes. 1691 * 1692 * @param html - HTML markup. 1693 * @returns - DOM nodes. 1694 */ 1695function domparser(html) { 1696 var _a, _b; 1697 var match = html.match(FIRST_TAG_REGEX); 1698 var firstTagName = match && match[1] ? match[1].toLowerCase() : ''; 1699 switch (firstTagName) { 1700 case HTML: { 1701 var doc = parseFromString(html); 1702 // the created document may come with filler head/body elements, 1703 // so make sure to remove them if they don't actually exist 1704 if (!HEAD_TAG_REGEX.test(html)) { 1705 var element = doc.querySelector(HEAD); 1706 (_a = element === null || element === void 0 ? void 0 : element.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(element); 1707 } 1708 if (!BODY_TAG_REGEX.test(html)) { 1709 var element = doc.querySelector(BODY); 1710 (_b = element === null || element === void 0 ? void 0 : element.parentNode) === null || _b === void 0 ? void 0 : _b.removeChild(element); 1711 } 1712 return doc.querySelectorAll(HTML); 1713 } 1714 case HEAD: 1715 case BODY: { 1716 var elements = parseFromDocument(html).querySelectorAll(firstTagName); 1717 // if there's a sibling element, then return both elements 1718 if (BODY_TAG_REGEX.test(html) && HEAD_TAG_REGEX.test(html)) { 1719 return elements[0].parentNode.childNodes; 1720 } 1721 return elements; 1722 } 1723 // low-level tag or text 1724 default: { 1725 if (parseFromTemplate) { 1726 return parseFromTemplate(html); 1727 } 1728 var element = parseFromDocument(html, BODY).querySelector(BODY); 1729 return element.childNodes; 1730 } 1731 } 1732} 1733//# sourceMappingURL=domparser.js.map 1734 1735/***/ }), 1736
vendor: 1,475 bytes, lines 1737-1774
1737/***/ "./node_modules/html-dom-parser/lib/client/html-to-dom.js": 1738/*!****************************************************************!*\ 1739 !*** ./node_modules/html-dom-parser/lib/client/html-to-dom.js ***! 1740 \****************************************************************/ 1741/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1742 1743"use strict"; 1744 1745var __importDefault = (this && this.__importDefault) || function (mod) { 1746 return (mod && mod.__esModule) ? mod : { "default": mod }; 1747}; 1748Object.defineProperty(exports, "__esModule", ({ value: true })); 1749exports["default"] = HTMLDOMParser; 1750var domparser_1 = __importDefault(__webpack_require__(/*! ./domparser */ "./node_modules/html-dom-parser/lib/client/domparser.js")); 1751var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-dom-parser/lib/client/utilities.js"); 1752var DIRECTIVE_REGEX = /<(![a-zA-Z\s]+)>/; // e.g., <!doctype html> 1753/** 1754 * Parses HTML string to DOM nodes in browser. 1755 * 1756 * @param html - HTML markup. 1757 * @returns - DOM elements. 1758 */ 1759function HTMLDOMParser(html) { 1760 if (typeof html !== 'string') { 1761 throw new TypeError('First argument must be a string'); 1762 } 1763 if (!html) { 1764 return []; 1765 } 1766 // match directive 1767 var match = html.match(DIRECTIVE_REGEX); 1768 var directive = match ? match[1] : undefined; 1769 return (0, utilities_1.formatDOM)((0, domparser_1.default)(html), null, directive); 1770} 1771//# sourceMappingURL=html-to-dom.js.map 1772 1773/***/ }), 1774
vendor: 3,879 bytes, lines 1775-1892
1775/***/ "./node_modules/html-dom-parser/lib/client/utilities.js": 1776/*!**************************************************************!*\ 1777 !*** ./node_modules/html-dom-parser/lib/client/utilities.js ***! 1778 \**************************************************************/ 1779/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 1780 1781"use strict"; 1782 1783Object.defineProperty(exports, "__esModule", ({ value: true })); 1784exports.formatAttributes = formatAttributes; 1785exports.formatDOM = formatDOM; 1786var domhandler_1 = __webpack_require__(/*! domhandler */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js"); 1787var constants_1 = __webpack_require__(/*! ./constants */ "./node_modules/html-dom-parser/lib/client/constants.js"); 1788/** 1789 * Gets case-sensitive tag name. 1790 * 1791 * @param tagName - Tag name in lowercase. 1792 * @returns - Case-sensitive tag name. 1793 */ 1794function getCaseSensitiveTagName(tagName) { 1795 return constants_1.CASE_SENSITIVE_TAG_NAMES_MAP[tagName]; 1796} 1797/** 1798 * Formats DOM attributes to a hash map. 1799 * 1800 * @param attributes - List of attributes. 1801 * @returns - Map of attribute name to value. 1802 */ 1803function formatAttributes(attributes) { 1804 var map = {}; 1805 var index = 0; 1806 var attributesLength = attributes.length; 1807 // `NamedNodeMap` is array-like 1808 for (; index < attributesLength; index++) { 1809 var attribute = attributes[index]; 1810 map[attribute.name] = attribute.value; 1811 } 1812 return map; 1813} 1814/** 1815 * Corrects the tag name if it is case-sensitive (SVG). 1816 * Otherwise, returns the lowercase tag name (HTML). 1817 * 1818 * @param tagName - Lowercase tag name. 1819 * @returns - Formatted tag name. 1820 */ 1821function formatTagName(tagName) { 1822 tagName = tagName.toLowerCase(); 1823 var caseSensitiveTagName = getCaseSensitiveTagName(tagName); 1824 if (caseSensitiveTagName) { 1825 return caseSensitiveTagName; 1826 } 1827 return tagName; 1828} 1829/** 1830 * Transforms DOM nodes to `domhandler` nodes. 1831 * 1832 * @param nodes - DOM nodes. 1833 * @param parent - Parent node. 1834 * @param directive - Directive. 1835 * @returns - Nodes. 1836 */ 1837function formatDOM(nodes, parent, directive) { 1838 if (parent === void 0) { parent = null; } 1839 var domNodes = []; 1840 var current; 1841 var index = 0; 1842 var nodesLength = nodes.length; 1843 for (; index < nodesLength; index++) { 1844 var node = nodes[index]; 1845 // set the node data given the type 1846 switch (node.nodeType) { 1847 case 1: { 1848 var tagName = formatTagName(node.nodeName); 1849 // script, style, or tag 1850 current = new domhandler_1.Element(tagName, formatAttributes(node.attributes)); 1851 current.children = formatDOM( 1852 // template children are on content 1853 tagName === 'template' 1854 ? node.content.childNodes 1855 : node.childNodes, current); 1856 break; 1857 } 1858 case 3: 1859 current = new domhandler_1.Text(node.nodeValue); 1860 break; 1861 case 8: 1862 current = new domhandler_1.Comment(node.nodeValue); 1863 break; 1864 default: 1865 continue; 1866 } 1867 // set previous node next 1868 var prev = domNodes[index - 1] || null; 1869 if (prev) { 1870 prev.next = current; 1871 } 1872 // set properties for current node 1873 current.parent = parent; 1874 current.prev = prev; 1875 current.next = null; 1876 domNodes.push(current); 1877 } 1878 if (directive) { 1879 current = new domhandler_1.ProcessingInstruction(directive.substring(0, directive.indexOf(' ')).toLowerCase(), directive); 1880 current.next = domNodes[0] || null; 1881 current.parent = parent; 1882 domNodes.unshift(current); 1883 if (domNodes[1]) { 1884 domNodes[1].prev = domNodes[0]; 1885 } 1886 } 1887 return domNodes; 1888} 1889//# sourceMappingURL=utilities.js.map 1890 1891/***/ }), 1892
vendor: 6,756 bytes, lines 1893-2068
1893/***/ "./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js": 1894/*!***************************************************************************!*\ 1895 !*** ./node_modules/html-dom-parser/node_modules/domhandler/lib/index.js ***! 1896 \***************************************************************************/ 1897/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 1898 1899"use strict"; 1900 1901var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 1902 if (k2 === undefined) k2 = k; 1903 var desc = Object.getOwnPropertyDescriptor(m, k); 1904 if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 1905 desc = { enumerable: true, get: function() { return m[k]; } }; 1906 } 1907 Object.defineProperty(o, k2, desc); 1908}) : (function(o, m, k, k2) { 1909 if (k2 === undefined) k2 = k; 1910 o[k2] = m[k]; 1911})); 1912var __exportStar = (this && this.__exportStar) || function(m, exports) { 1913 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 1914}; 1915Object.defineProperty(exports, "__esModule", ({ value: true })); 1916exports.DomHandler = void 0; 1917var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 1918var node_js_1 = __webpack_require__(/*! ./node.js */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js"); 1919__exportStar(__webpack_require__(/*! ./node.js */ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js"), exports); 1920// Default options 1921var defaultOpts = { 1922 withStartIndices: false, 1923 withEndIndices: false, 1924 xmlMode: false, 1925}; 1926var DomHandler = /** @class */ (function () { 1927 /** 1928 * @param callback Called once parsing has completed. 1929 * @param options Settings for the handler. 1930 * @param elementCB Callback whenever a tag is closed. 1931 */ 1932 function DomHandler(callback, options, elementCB) { 1933 /** The elements of the DOM */ 1934 this.dom = []; 1935 /** The root element for the DOM */ 1936 this.root = new node_js_1.Document(this.dom); 1937 /** Indicated whether parsing has been completed. */ 1938 this.done = false; 1939 /** Stack of open tags. */ 1940 this.tagStack = [this.root]; 1941 /** A data node that is still being written to. */ 1942 this.lastNode = null; 1943 /** Reference to the parser instance. Used for location information. */ 1944 this.parser = null; 1945 // Make it possible to skip arguments, for backwards-compatibility 1946 if (typeof options === "function") { 1947 elementCB = options; 1948 options = defaultOpts; 1949 } 1950 if (typeof callback === "object") { 1951 options = callback; 1952 callback = undefined; 1953 } 1954 this.callback = callback !== null && callback !== void 0 ? callback : null; 1955 this.options = options !== null && options !== void 0 ? options : defaultOpts; 1956 this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null; 1957 } 1958 DomHandler.prototype.onparserinit = function (parser) { 1959 this.parser = parser; 1960 }; 1961 // Resets the handler back to starting state 1962 DomHandler.prototype.onreset = function () { 1963 this.dom = []; 1964 this.root = new node_js_1.Document(this.dom); 1965 this.done = false; 1966 this.tagStack = [this.root]; 1967 this.lastNode = null; 1968 this.parser = null; 1969 }; 1970 // Signals the handler that parsing is done 1971 DomHandler.prototype.onend = function () { 1972 if (this.done) 1973 return; 1974 this.done = true; 1975 this.parser = null; 1976 this.handleCallback(null); 1977 }; 1978 DomHandler.prototype.onerror = function (error) { 1979 this.handleCallback(error); 1980 }; 1981 DomHandler.prototype.onclosetag = function () { 1982 this.lastNode = null; 1983 var elem = this.tagStack.pop(); 1984 if (this.options.withEndIndices) { 1985 elem.endIndex = this.parser.endIndex; 1986 } 1987 if (this.elementCB) 1988 this.elementCB(elem); 1989 }; 1990 DomHandler.prototype.onopentag = function (name, attribs) { 1991 var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined; 1992 var element = new node_js_1.Element(name, attribs, undefined, type); 1993 this.addNode(element); 1994 this.tagStack.push(element); 1995 }; 1996 DomHandler.prototype.ontext = function (data) { 1997 var lastNode = this.lastNode; 1998 if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) { 1999 lastNode.data += data; 2000 if (this.options.withEndIndices) { 2001 lastNode.endIndex = this.parser.endIndex; 2002 } 2003 } 2004 else { 2005 var node = new node_js_1.Text(data); 2006 this.addNode(node); 2007 this.lastNode = node; 2008 } 2009 }; 2010 DomHandler.prototype.oncomment = function (data) { 2011 if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) { 2012 this.lastNode.data += data; 2013 return; 2014 } 2015 var node = new node_js_1.Comment(data); 2016 this.addNode(node); 2017 this.lastNode = node; 2018 }; 2019 DomHandler.prototype.oncommentend = function () { 2020 this.lastNode = null; 2021 }; 2022 DomHandler.prototype.oncdatastart = function () { 2023 var text = new node_js_1.Text(""); 2024 var node = new node_js_1.CDATA([text]); 2025 this.addNode(node); 2026 text.parent = node; 2027 this.lastNode = text; 2028 }; 2029 DomHandler.prototype.oncdataend = function () { 2030 this.lastNode = null; 2031 }; 2032 DomHandler.prototype.onprocessinginstruction = function (name, data) { 2033 var node = new node_js_1.ProcessingInstruction(name, data); 2034 this.addNode(node); 2035 }; 2036 DomHandler.prototype.handleCallback = function (error) { 2037 if (typeof this.callback === "function") { 2038 this.callback(error, this.dom); 2039 } 2040 else if (error) { 2041 throw error; 2042 } 2043 }; 2044 DomHandler.prototype.addNode = function (node) { 2045 var parent = this.tagStack[this.tagStack.length - 1]; 2046 var previousSibling = parent.children[parent.children.length - 1]; 2047 if (this.options.withStartIndices) { 2048 node.startIndex = this.parser.startIndex; 2049 } 2050 if (this.options.withEndIndices) { 2051 node.endIndex = this.parser.endIndex; 2052 } 2053 parent.children.push(node); 2054 if (previousSibling) { 2055 node.prev = previousSibling; 2056 previousSibling.next = node; 2057 } 2058 node.parent = parent; 2059 this.lastNode = null; 2060 }; 2061 return DomHandler; 2062}()); 2063exports.DomHandler = DomHandler; 2064exports["default"] = DomHandler; 2065 2066 2067/***/ }), 2068
vendor: 15,849 bytes, lines 2069-2553
2069/***/ "./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js": 2070/*!**************************************************************************!*\ 2071 !*** ./node_modules/html-dom-parser/node_modules/domhandler/lib/node.js ***! 2072 \**************************************************************************/ 2073/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2074 2075"use strict"; 2076 2077var __extends = (this && this.__extends) || (function () { 2078 var extendStatics = function (d, b) { 2079 extendStatics = Object.setPrototypeOf || 2080 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 2081 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 2082 return extendStatics(d, b); 2083 }; 2084 return function (d, b) { 2085 if (typeof b !== "function" && b !== null) 2086 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 2087 extendStatics(d, b); 2088 function __() { this.constructor = d; } 2089 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 2090 }; 2091})(); 2092var __assign = (this && this.__assign) || function () { 2093 __assign = Object.assign || function(t) { 2094 for (var s, i = 1, n = arguments.length; i < n; i++) { 2095 s = arguments[i]; 2096 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 2097 t[p] = s[p]; 2098 } 2099 return t; 2100 }; 2101 return __assign.apply(this, arguments); 2102}; 2103Object.defineProperty(exports, "__esModule", ({ value: true })); 2104exports.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; 2105var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 2106/** 2107 * This object will be used as the prototype for Nodes when creating a 2108 * DOM-Level-1-compliant structure. 2109 */ 2110var Node = /** @class */ (function () { 2111 function Node() { 2112 /** Parent of the node */ 2113 this.parent = null; 2114 /** Previous sibling */ 2115 this.prev = null; 2116 /** Next sibling */ 2117 this.next = null; 2118 /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */ 2119 this.startIndex = null; 2120 /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */ 2121 this.endIndex = null; 2122 } 2123 Object.defineProperty(Node.prototype, "parentNode", { 2124 // Read-write aliases for properties 2125 /** 2126 * Same as {@link parent}. 2127 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2128 */ 2129 get: function () { 2130 return this.parent; 2131 }, 2132 set: function (parent) { 2133 this.parent = parent; 2134 }, 2135 enumerable: false, 2136 configurable: true 2137 }); 2138 Object.defineProperty(Node.prototype, "previousSibling", { 2139 /** 2140 * Same as {@link prev}. 2141 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2142 */ 2143 get: function () { 2144 return this.prev; 2145 }, 2146 set: function (prev) { 2147 this.prev = prev; 2148 }, 2149 enumerable: false, 2150 configurable: true 2151 }); 2152 Object.defineProperty(Node.prototype, "nextSibling", { 2153 /** 2154 * Same as {@link next}. 2155 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2156 */ 2157 get: function () { 2158 return this.next; 2159 }, 2160 set: function (next) { 2161 this.next = next; 2162 }, 2163 enumerable: false, 2164 configurable: true 2165 }); 2166 /** 2167 * Clone this node, and optionally its children. 2168 * 2169 * @param recursive Clone child nodes as well. 2170 * @returns A clone of the node. 2171 */ 2172 Node.prototype.cloneNode = function (recursive) { 2173 if (recursive === void 0) { recursive = false; } 2174 return cloneNode(this, recursive); 2175 }; 2176 return Node; 2177}()); 2178exports.Node = Node; 2179/** 2180 * A node that contains some data. 2181 */ 2182var DataNode = /** @class */ (function (_super) { 2183 __extends(DataNode, _super); 2184 /** 2185 * @param data The content of the data node 2186 */ 2187 function DataNode(data) { 2188 var _this = _super.call(this) || this; 2189 _this.data = data; 2190 return _this; 2191 } 2192 Object.defineProperty(DataNode.prototype, "nodeValue", { 2193 /** 2194 * Same as {@link data}. 2195 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2196 */ 2197 get: function () { 2198 return this.data; 2199 }, 2200 set: function (data) { 2201 this.data = data; 2202 }, 2203 enumerable: false, 2204 configurable: true 2205 }); 2206 return DataNode; 2207}(Node)); 2208exports.DataNode = DataNode; 2209/** 2210 * Text within the document. 2211 */ 2212var Text = /** @class */ (function (_super) { 2213 __extends(Text, _super); 2214 function Text() { 2215 var _this = _super !== null && _super.apply(this, arguments) || this; 2216 _this.type = domelementtype_1.ElementType.Text; 2217 return _this; 2218 } 2219 Object.defineProperty(Text.prototype, "nodeType", { 2220 get: function () { 2221 return 3; 2222 }, 2223 enumerable: false, 2224 configurable: true 2225 }); 2226 return Text; 2227}(DataNode)); 2228exports.Text = Text; 2229/** 2230 * Comments within the document. 2231 */ 2232var Comment = /** @class */ (function (_super) { 2233 __extends(Comment, _super); 2234 function Comment() { 2235 var _this = _super !== null && _super.apply(this, arguments) || this; 2236 _this.type = domelementtype_1.ElementType.Comment; 2237 return _this; 2238 } 2239 Object.defineProperty(Comment.prototype, "nodeType", { 2240 get: function () { 2241 return 8; 2242 }, 2243 enumerable: false, 2244 configurable: true 2245 }); 2246 return Comment; 2247}(DataNode)); 2248exports.Comment = Comment; 2249/** 2250 * Processing instructions, including doc types. 2251 */ 2252var ProcessingInstruction = /** @class */ (function (_super) { 2253 __extends(ProcessingInstruction, _super); 2254 function ProcessingInstruction(name, data) { 2255 var _this = _super.call(this, data) || this; 2256 _this.name = name; 2257 _this.type = domelementtype_1.ElementType.Directive; 2258 return _this; 2259 } 2260 Object.defineProperty(ProcessingInstruction.prototype, "nodeType", { 2261 get: function () { 2262 return 1; 2263 }, 2264 enumerable: false, 2265 configurable: true 2266 }); 2267 return ProcessingInstruction; 2268}(DataNode)); 2269exports.ProcessingInstruction = ProcessingInstruction; 2270/** 2271 * A `Node` that can have children. 2272 */ 2273var NodeWithChildren = /** @class */ (function (_super) { 2274 __extends(NodeWithChildren, _super); 2275 /** 2276 * @param children Children of the node. Only certain node types can have children. 2277 */ 2278 function NodeWithChildren(children) { 2279 var _this = _super.call(this) || this; 2280 _this.children = children; 2281 return _this; 2282 } 2283 Object.defineProperty(NodeWithChildren.prototype, "firstChild", { 2284 // Aliases 2285 /** First child of the node. */ 2286 get: function () { 2287 var _a; 2288 return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null; 2289 }, 2290 enumerable: false, 2291 configurable: true 2292 }); 2293 Object.defineProperty(NodeWithChildren.prototype, "lastChild", { 2294 /** Last child of the node. */ 2295 get: function () { 2296 return this.children.length > 0 2297 ? this.children[this.children.length - 1] 2298 : null; 2299 }, 2300 enumerable: false, 2301 configurable: true 2302 }); 2303 Object.defineProperty(NodeWithChildren.prototype, "childNodes", { 2304 /** 2305 * Same as {@link children}. 2306 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2307 */ 2308 get: function () { 2309 return this.children; 2310 }, 2311 set: function (children) { 2312 this.children = children; 2313 }, 2314 enumerable: false, 2315 configurable: true 2316 }); 2317 return NodeWithChildren; 2318}(Node)); 2319exports.NodeWithChildren = NodeWithChildren; 2320var CDATA = /** @class */ (function (_super) { 2321 __extends(CDATA, _super); 2322 function CDATA() { 2323 var _this = _super !== null && _super.apply(this, arguments) || this; 2324 _this.type = domelementtype_1.ElementType.CDATA; 2325 return _this; 2326 } 2327 Object.defineProperty(CDATA.prototype, "nodeType", { 2328 get: function () { 2329 return 4; 2330 }, 2331 enumerable: false, 2332 configurable: true 2333 }); 2334 return CDATA; 2335}(NodeWithChildren)); 2336exports.CDATA = CDATA; 2337/** 2338 * The root node of the document. 2339 */ 2340var Document = /** @class */ (function (_super) { 2341 __extends(Document, _super); 2342 function Document() { 2343 var _this = _super !== null && _super.apply(this, arguments) || this; 2344 _this.type = domelementtype_1.ElementType.Root; 2345 return _this; 2346 } 2347 Object.defineProperty(Document.prototype, "nodeType", { 2348 get: function () { 2349 return 9; 2350 }, 2351 enumerable: false, 2352 configurable: true 2353 }); 2354 return Document; 2355}(NodeWithChildren)); 2356exports.Document = Document; 2357/** 2358 * An element within the DOM. 2359 */ 2360var Element = /** @class */ (function (_super) { 2361 __extends(Element, _super); 2362 /** 2363 * @param name Name of the tag, eg. `div`, `span`. 2364 * @param attribs Object mapping attribute names to attribute values. 2365 * @param children Children of the node. 2366 */ 2367 function Element(name, attribs, children, type) { 2368 if (children === void 0) { children = []; } 2369 if (type === void 0) { type = name === "script" 2370 ? domelementtype_1.ElementType.Script 2371 : name === "style" 2372 ? domelementtype_1.ElementType.Style 2373 : domelementtype_1.ElementType.Tag; } 2374 var _this = _super.call(this, children) || this; 2375 _this.name = name; 2376 _this.attribs = attribs; 2377 _this.type = type; 2378 return _this; 2379 } 2380 Object.defineProperty(Element.prototype, "nodeType", { 2381 get: function () { 2382 return 1; 2383 }, 2384 enumerable: false, 2385 configurable: true 2386 }); 2387 Object.defineProperty(Element.prototype, "tagName", { 2388 // DOM Level 1 aliases 2389 /** 2390 * Same as {@link name}. 2391 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 2392 */ 2393 get: function () { 2394 return this.name; 2395 }, 2396 set: function (name) { 2397 this.name = name; 2398 }, 2399 enumerable: false, 2400 configurable: true 2401 }); 2402 Object.defineProperty(Element.prototype, "attributes", { 2403 get: function () { 2404 var _this = this; 2405 return Object.keys(this.attribs).map(function (name) { 2406 var _a, _b; 2407 return ({ 2408 name: name, 2409 value: _this.attribs[name], 2410 namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name], 2411 prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name], 2412 }); 2413 }); 2414 }, 2415 enumerable: false, 2416 configurable: true 2417 }); 2418 return Element; 2419}(NodeWithChildren)); 2420exports.Element = Element; 2421/** 2422 * @param node Node to check. 2423 * @returns `true` if the node is a `Element`, `false` otherwise. 2424 */ 2425function isTag(node) { 2426 return (0, domelementtype_1.isTag)(node); 2427} 2428exports.isTag = isTag; 2429/** 2430 * @param node Node to check. 2431 * @returns `true` if the node has the type `CDATA`, `false` otherwise. 2432 */ 2433function isCDATA(node) { 2434 return node.type === domelementtype_1.ElementType.CDATA; 2435} 2436exports.isCDATA = isCDATA; 2437/** 2438 * @param node Node to check. 2439 * @returns `true` if the node has the type `Text`, `false` otherwise. 2440 */ 2441function isText(node) { 2442 return node.type === domelementtype_1.ElementType.Text; 2443} 2444exports.isText = isText; 2445/** 2446 * @param node Node to check. 2447 * @returns `true` if the node has the type `Comment`, `false` otherwise. 2448 */ 2449function isComment(node) { 2450 return node.type === domelementtype_1.ElementType.Comment; 2451} 2452exports.isComment = isComment; 2453/** 2454 * @param node Node to check. 2455 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 2456 */ 2457function isDirective(node) { 2458 return node.type === domelementtype_1.ElementType.Directive; 2459} 2460exports.isDirective = isDirective; 2461/** 2462 * @param node Node to check. 2463 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 2464 */ 2465function isDocument(node) { 2466 return node.type === domelementtype_1.ElementType.Root; 2467} 2468exports.isDocument = isDocument; 2469/** 2470 * @param node Node to check. 2471 * @returns `true` if the node has children, `false` otherwise. 2472 */ 2473function hasChildren(node) { 2474 return Object.prototype.hasOwnProperty.call(node, "children"); 2475} 2476exports.hasChildren = hasChildren; 2477/** 2478 * Clone a node, and optionally its children. 2479 * 2480 * @param recursive Clone child nodes as well. 2481 * @returns A clone of the node. 2482 */ 2483function cloneNode(node, recursive) { 2484 if (recursive === void 0) { recursive = false; } 2485 var result; 2486 if (isText(node)) { 2487 result = new Text(node.data); 2488 } 2489 else if (isComment(node)) { 2490 result = new Comment(node.data); 2491 } 2492 else if (isTag(node)) { 2493 var children = recursive ? cloneChildren(node.children) : []; 2494 var clone_1 = new Element(node.name, __assign({}, node.attribs), children); 2495 children.forEach(function (child) { return (child.parent = clone_1); }); 2496 if (node.namespace != null) { 2497 clone_1.namespace = node.namespace; 2498 } 2499 if (node["x-attribsNamespace"]) { 2500 clone_1["x-attribsNamespace"] = __assign({}, node["x-attribsNamespace"]); 2501 } 2502 if (node["x-attribsPrefix"]) { 2503 clone_1["x-attribsPrefix"] = __assign({}, node["x-attribsPrefix"]); 2504 } 2505 result = clone_1; 2506 } 2507 else if (isCDATA(node)) { 2508 var children = recursive ? cloneChildren(node.children) : []; 2509 var clone_2 = new CDATA(children); 2510 children.forEach(function (child) { return (child.parent = clone_2); }); 2511 result = clone_2; 2512 } 2513 else if (isDocument(node)) { 2514 var children = recursive ? cloneChildren(node.children) : []; 2515 var clone_3 = new Document(children); 2516 children.forEach(function (child) { return (child.parent = clone_3); }); 2517 if (node["x-mode"]) { 2518 clone_3["x-mode"] = node["x-mode"]; 2519 } 2520 result = clone_3; 2521 } 2522 else if (isDirective(node)) { 2523 var instruction = new ProcessingInstruction(node.name, node.data); 2524 if (node["x-name"] != null) { 2525 instruction["x-name"] = node["x-name"]; 2526 instruction["x-publicId"] = node["x-publicId"]; 2527 instruction["x-systemId"] = node["x-systemId"]; 2528 } 2529 result = instruction; 2530 } 2531 else { 2532 throw new Error("Not implemented yet: ".concat(node.type)); 2533 } 2534 result.startIndex = node.startIndex; 2535 result.endIndex = node.endIndex; 2536 if (node.sourceCodeLocation != null) { 2537 result.sourceCodeLocation = node.sourceCodeLocation; 2538 } 2539 return result; 2540} 2541exports.cloneNode = cloneNode; 2542function cloneChildren(childs) { 2543 var children = childs.map(function (child) { return cloneNode(child, true); }); 2544 for (var i = 1; i < children.length; i++) { 2545 children[i].prev = children[i - 1]; 2546 children[i - 1].next = children[i]; 2547 } 2548 return children; 2549} 2550 2551 2552/***/ }), 2553
vendor: 8,286 bytes, lines 2554-2754
2554/***/ "./node_modules/html-entities/lib/index.js": 2555/*!*************************************************!*\ 2556 !*** ./node_modules/html-entities/lib/index.js ***! 2557 \*************************************************/ 2558/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2559 2560"use strict"; 2561 2562var __assign = (this && this.__assign) || function () { 2563 __assign = Object.assign || function(t) { 2564 for (var s, i = 1, n = arguments.length; i < n; i++) { 2565 s = arguments[i]; 2566 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 2567 t[p] = s[p]; 2568 } 2569 return t; 2570 }; 2571 return __assign.apply(this, arguments); 2572}; 2573Object.defineProperty(exports, "__esModule", ({ value: true })); 2574var named_references_1 = __webpack_require__(/*! ./named-references */ "./node_modules/html-entities/lib/named-references.js"); 2575var numeric_unicode_map_1 = __webpack_require__(/*! ./numeric-unicode-map */ "./node_modules/html-entities/lib/numeric-unicode-map.js"); 2576var surrogate_pairs_1 = __webpack_require__(/*! ./surrogate-pairs */ "./node_modules/html-entities/lib/surrogate-pairs.js"); 2577var allNamedReferences = __assign(__assign({}, named_references_1.namedReferences), { all: named_references_1.namedReferences.html5 }); 2578var encodeRegExps = { 2579 specialChars: /[<>'"&]/g, 2580 nonAscii: /(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, 2581 nonAsciiPrintable: /(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, 2582 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 2583}; 2584var defaultEncodeOptions = { 2585 mode: 'specialChars', 2586 level: 'all', 2587 numeric: 'decimal' 2588}; 2589/** Encodes all the necessary (specified by `level`) characters in the text */ 2590function encode(text, _a) { 2591 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; 2592 if (!text) { 2593 return ''; 2594 } 2595 var encodeRegExp = encodeRegExps[mode]; 2596 var references = allNamedReferences[level].characters; 2597 var isHex = numeric === 'hexadecimal'; 2598 encodeRegExp.lastIndex = 0; 2599 var _b = encodeRegExp.exec(text); 2600 var _c; 2601 if (_b) { 2602 _c = ''; 2603 var _d = 0; 2604 do { 2605 if (_d !== _b.index) { 2606 _c += text.substring(_d, _b.index); 2607 } 2608 var _e = _b[0]; 2609 var result_1 = references[_e]; 2610 if (!result_1) { 2611 var code_1 = _e.length > 1 ? surrogate_pairs_1.getCodePoint(_e, 0) : _e.charCodeAt(0); 2612 result_1 = (isHex ? '&#x' + code_1.toString(16) : '&#' + code_1) + ';'; 2613 } 2614 _c += result_1; 2615 _d = _b.index + _e.length; 2616 } while ((_b = encodeRegExp.exec(text))); 2617 if (_d !== text.length) { 2618 _c += text.substring(_d); 2619 } 2620 } 2621 else { 2622 _c = 2623 text; 2624 } 2625 return _c; 2626} 2627exports.encode = encode; 2628var defaultDecodeOptions = { 2629 scope: 'body', 2630 level: 'all' 2631}; 2632var strict = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g; 2633var attribute = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g; 2634var baseDecodeRegExps = { 2635 xml: { 2636 strict: strict, 2637 attribute: attribute, 2638 body: named_references_1.bodyRegExps.xml 2639 }, 2640 html4: { 2641 strict: strict, 2642 attribute: attribute, 2643 body: named_references_1.bodyRegExps.html4 2644 }, 2645 html5: { 2646 strict: strict, 2647 attribute: attribute, 2648 body: named_references_1.bodyRegExps.html5 2649 } 2650}; 2651var decodeRegExps = __assign(__assign({}, baseDecodeRegExps), { all: baseDecodeRegExps.html5 }); 2652var fromCharCode = String.fromCharCode; 2653var outOfBoundsChar = fromCharCode(65533); 2654var defaultDecodeEntityOptions = { 2655 level: 'all' 2656}; 2657/** Decodes a single entity */ 2658function decodeEntity(entity, _a) { 2659 var _b = (_a === void 0 ? defaultDecodeEntityOptions : _a).level, level = _b === void 0 ? 'all' : _b; 2660 if (!entity) { 2661 return ''; 2662 } 2663 var _b = entity; 2664 var decodeEntityLastChar_1 = entity[entity.length - 1]; 2665 if (false) {} 2666 else if (false) {} 2667 else { 2668 var decodeResultByReference_1 = allNamedReferences[level].entities[entity]; 2669 if (decodeResultByReference_1) { 2670 _b = decodeResultByReference_1; 2671 } 2672 else if (entity[0] === '&' && entity[1] === '#') { 2673 var decodeSecondChar_1 = entity[2]; 2674 var decodeCode_1 = decodeSecondChar_1 == 'x' || decodeSecondChar_1 == 'X' 2675 ? parseInt(entity.substr(3), 16) 2676 : parseInt(entity.substr(2)); 2677 _b = 2678 decodeCode_1 >= 0x10ffff 2679 ? outOfBoundsChar 2680 : decodeCode_1 > 65535 2681 ? surrogate_pairs_1.fromCodePoint(decodeCode_1) 2682 : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_1] || decodeCode_1); 2683 } 2684 } 2685 return _b; 2686} 2687exports.decodeEntity = decodeEntity; 2688/** Decodes all entities in the text */ 2689function decode(text, _a) { 2690 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; 2691 if (!text) { 2692 return ''; 2693 } 2694 var decodeRegExp = decodeRegExps[level][scope]; 2695 var references = allNamedReferences[level].entities; 2696 var isAttribute = scope === 'attribute'; 2697 var isStrict = scope === 'strict'; 2698 decodeRegExp.lastIndex = 0; 2699 var replaceMatch_1 = decodeRegExp.exec(text); 2700 var replaceResult_1; 2701 if (replaceMatch_1) { 2702 replaceResult_1 = ''; 2703 var replaceLastIndex_1 = 0; 2704 do { 2705 if (replaceLastIndex_1 !== replaceMatch_1.index) { 2706 replaceResult_1 += text.substring(replaceLastIndex_1, replaceMatch_1.index); 2707 } 2708 var replaceInput_1 = replaceMatch_1[0]; 2709 var decodeResult_1 = replaceInput_1; 2710 var decodeEntityLastChar_2 = replaceInput_1[replaceInput_1.length - 1]; 2711 if (isAttribute 2712 && decodeEntityLastChar_2 === '=') { 2713 decodeResult_1 = replaceInput_1; 2714 } 2715 else if (isStrict 2716 && decodeEntityLastChar_2 !== ';') { 2717 decodeResult_1 = replaceInput_1; 2718 } 2719 else { 2720 var decodeResultByReference_2 = references[replaceInput_1]; 2721 if (decodeResultByReference_2) { 2722 decodeResult_1 = decodeResultByReference_2; 2723 } 2724 else if (replaceInput_1[0] === '&' && replaceInput_1[1] === '#') { 2725 var decodeSecondChar_2 = replaceInput_1[2]; 2726 var decodeCode_2 = decodeSecondChar_2 == 'x' || decodeSecondChar_2 == 'X' 2727 ? parseInt(replaceInput_1.substr(3), 16) 2728 : parseInt(replaceInput_1.substr(2)); 2729 decodeResult_1 = 2730 decodeCode_2 >= 0x10ffff 2731 ? outOfBoundsChar 2732 : decodeCode_2 > 65535 2733 ? surrogate_pairs_1.fromCodePoint(decodeCode_2) 2734 : fromCharCode(numeric_unicode_map_1.numericUnicodeMap[decodeCode_2] || decodeCode_2); 2735 } 2736 } 2737 replaceResult_1 += decodeResult_1; 2738 replaceLastIndex_1 = replaceMatch_1.index + replaceInput_1.length; 2739 } while ((replaceMatch_1 = decodeRegExp.exec(text))); 2740 if (replaceLastIndex_1 !== text.length) { 2741 replaceResult_1 += text.substring(replaceLastIndex_1); 2742 } 2743 } 2744 else { 2745 replaceResult_1 = 2746 text; 2747 } 2748 return replaceResult_1; 2749} 2750exports.decode = decode; 2751 2752 2753/***/ }), 2754
vendor: 74,737 bytes, lines 2755-2765
2755/***/ "./node_modules/html-entities/lib/named-references.js": 2756/*!************************************************************!*\ 2757 !*** ./node_modules/html-entities/lib/named-references.js ***! 2758 \************************************************************/ 2759/***/ ((__unused_webpack_module, exports) => { 2760 2761"use strict"; 2762Object.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","â®":"♮","â©":"⩃","Å":"ň","Å":"ņ","â©Ì¸":"⩭̸","â©":"⩂","н":"н","â":"–","â":"⇗","⤤":"⤤","â̸":"≐̸","⤨":"⤨","ð«":"𝔫","â®":"↮","⫲":"⫲","â¼":"⋼","âº":"⋺","Ñ":"њ","â¦Ì¸":"≦̸","â":"↚","â¥":"‥","ð":"𝕟","¬":"¬","â¹Ì¸":"⋹̸","âµÌ¸":"⋵̸","â·":"⋷","â¶":"⋶","â¾":"⋾","â½":"⋽","⫽â¥":"⫽⃥","â̸":"∂̸","â¨":"⨔","â":"↛","⤳̸":"⤳̸","â̸":"↝̸","ð":"𝓃","â":"⊄","⫠̸":"⫅̸","â ":"⊅","â«Ì¸":"⫆̸","ñ":"ñ","ν":"ν","#":"#","â":"№","â":" ","â":"⊭","â¤":"⤄","ââ":"≍⃒","â¬":"⊬","â¥â":"≥⃒",">â":">⃒","â§":"⧞","â¤":"⤂","â¤â":"≤⃒","<â":"<⃒","â´â":"⊴⃒","â¤":"⤃","âµâ":"⊵⃒","â¼â":"∼⃒","â":"⇖","⤣":"⤣","⤧":"⤧","ó":"ó","ô":"ô","о":"о","Å":"ő","⨸":"⨸","⦼":"⦼","Å":"œ","⦿":"⦿","ð¬":"𝔬","Ë":"˛","ò":"ò","â§":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","â§":"⧀","Å":"ō","Ï":"ω","ο":"ο","⦶":"⦶","ð ":"𝕠","⦷":"⦷","⦹":"⦹","â¨":"∨","â©":"⩝","â´":"ℴ","ª":"ª","º":"º","â¶":"⊶","â©":"⩖","â©":"⩗","â©":"⩛","ø":"ø","â":"⊘","õ":"õ","⨶":"⨶","ö":"ö","â½":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽","п":"п","%":"%",".":".","â°":"‰","â±":"‱","ð":"𝔭","Ï":"φ","Ï":"ϕ","â":"☎","Ï":"π","Ï":"ϖ","â":"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","â¨":"⨕","ð¡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","â¨":"⋨","â²":"′","â®":"⌮","â":"⌒","â":"⌓","â°":"⊰","ð ":"𝓅","Ï":"ψ","â":" ","ð®":"𝔮","ð¢":"𝕢","â":"⁗","ð":"𝓆","â¨":"⨖","?":"?","â¤":"⤜","⥤":"⥤","â½Ì±":"∽̱","Å":"ŕ","⦳":"⦳","â¦":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","â¤":"⤞","⥠":"⥅","⥴":"⥴","â£":"↣","â":"↝","â¤":"⤚","â¶":"∶","â³":"❳","}":"}","]":"]","â¦":"⦌","â¦":"⦎","â¦":"⦐","Å":"ř","Å":"ŗ","Ñ":"р","⤷":"⤷","⥩":"⥩","â³":"↳","â":"▭","⥽":"⥽","ð¯":"𝔯","⥬":"⥬","Ï":"ρ","ϱ":"ϱ","â":"⇉","â":"⋌","Ë":"˚","â":"‏","â±":"⎱","â«®":"⫮","â":"⟭","â¾":"⇾","â¦":"⦆","ð£":"𝕣","⨮":"⨮","⨵":"⨵",")":")","â¦":"⦔","â¨":"⨒","âº":"›","ð":"𝓇","â":"⋊","â¹":"▹","â§":"⧎","⥨":"⥨","â":"℞","Å":"ś","⪴":"⪴","⪸":"⪸","Å¡":"š","Å":"ş","Å":"ŝ","⪶":"⪶","⪺":"⪺","â©":"⋩","â¨":"⨓","Ñ":"с","â ":"⋅","⩦":"⩦","â":"⇘","§":"§",";":";","⤩":"⤩","â¶":"✶","ð°":"𝔰","â¯":"♯","Ñ":"щ","Ñ":"ш","Â":"­","Ï":"σ","Ï":"ς","⩪":"⩪","âª":"⪞","⪠":"⪠","âª":"⪝","âª":"⪟","â":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","â£":"⌣","⪪":"⪪","⪬":"⪬","⪬ï¸":"⪬︀","Ñ":"ь","/":"/","â§":"⧄","â¿":"⌿","ð¤":"𝕤","â ":"♠","âï¸":"⊓︀","âï¸":"⊔︀","ð":"𝓈","â":"☆","â":"⊂","â« ":"⫅","⪽":"⪽","â«":"⫃","â«":"⫁","â«":"⫋","â":"⊊","⪿":"⪿","⥹":"⥹","â«":"⫇","â«":"⫕","â«":"⫓","âª":"♪","¹":"¹","²":"²","³":"³","â«":"⫆","⪾":"⪾","â«":"⫘","â«":"⫄","â":"⟉","â«":"⫗","⥻":"⥻","â«":"⫂","â«":"⫌","â":"⊋","â«":"⫀","â«":"⫈","â«":"⫔","â«":"⫖","â":"⇙","⤪":"⤪","Ã":"ß","â":"⌖","Ï":"τ","Å¥":"ť","Å£":"ţ","Ñ":"т","â":"⌕","ð±":"𝔱","θ":"θ","Ï":"ϑ","þ":"þ","Ã":"×","⨱":"⨱","⨰":"⨰","â¶":"⌶","⫱":"⫱","ð¥":"𝕥","â«":"⫚","â´":"‴","âµ":"▵","â":"≜","â¬":"◬","⨺":"⨺","⨹":"⨹","â§":"⧍","⨻":"⨻","â¢":"⏢","ð":"𝓉","Ñ":"ц","Ñ":"ћ","ŧ":"ŧ","⥣":"⥣","ú":"ú","Ñ":"ў","Å":"ŭ","û":"û","Ñ":"у","ű":"ű","⥾":"⥾","ð²":"𝔲","ù":"ù","â":"▀","â":"⌜","â":"⌏","â¸":"◸","Å«":"ū","ų":"ų","ð¦":"𝕦","Ï ":"υ","â":"⇈","â":"⌝","â":"⌎","ů":"ů","â¹":"◹","ð":"𝓊","â°":"⋰","Å©":"ũ","ü":"ü","⦧":"⦧","⫨":"⫨","â«©":"⫩","â¦":"⦜","âï¸":"⊊︀","â«ï¸":"⫋︀","âï¸":"⊋︀","â«ï¸":"⫌︀","в":"в","â»":"⊻","â":"≚","â®":"⋮","ð³":"𝔳","ð§":"𝕧","ð":"𝓋","â¦":"⦚","ŵ":"ŵ","â©":"⩟","â":"≙","â":"℘","ð´":"𝔴","ð¨":"𝕨","ð":"𝓌","ðµ":"𝔵","ξ":"ξ","â»":"⋻","ð©":"𝕩","ð":"𝓍","ý":"ý","Ñ":"я","Å·":"ŷ","Ñ":"ы","Â¥":"¥","ð¶":"𝔶","Ñ":"ї","ðª":"𝕪","ð":"𝓎","Ñ":"ю","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ζ":"ζ","ð·":"𝔷","ж":"ж","â":"⇝","ð«":"𝕫","ð":"𝓏","â":"‍","â":"‌"}}}; 2763 2764/***/ }), 2765
vendor: 676 bytes, lines 2766-2776
2766/***/ "./node_modules/html-entities/lib/numeric-unicode-map.js": 2767/*!***************************************************************!*\ 2768 !*** ./node_modules/html-entities/lib/numeric-unicode-map.js ***! 2769 \***************************************************************/ 2770/***/ ((__unused_webpack_module, exports) => { 2771 2772"use strict"; 2773Object.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}; 2774 2775/***/ }), 2776
vendor: 858 bytes, lines 2777-2787
2777/***/ "./node_modules/html-entities/lib/surrogate-pairs.js": 2778/*!***********************************************************!*\ 2779 !*** ./node_modules/html-entities/lib/surrogate-pairs.js ***! 2780 \***********************************************************/ 2781/***/ ((__unused_webpack_module, exports) => { 2782 2783"use strict"; 2784Object.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; 2785 2786/***/ }), 2787
vendor: 3,463 bytes, lines 2788-2871
2788/***/ "./node_modules/html-react-parser/lib/attributes-to-props.js": 2789/*!*******************************************************************!*\ 2790 !*** ./node_modules/html-react-parser/lib/attributes-to-props.js ***! 2791 \*******************************************************************/ 2792/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 2793 2794"use strict"; 2795 2796Object.defineProperty(exports, "__esModule", ({ value: true })); 2797exports["default"] = attributesToProps; 2798var react_property_1 = __webpack_require__(/*! react-property */ "./node_modules/react-property/lib/index.js"); 2799var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-react-parser/lib/utilities.js"); 2800// https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components 2801// https://developer.mozilla.org/docs/Web/HTML/Attributes 2802var UNCONTROLLED_COMPONENT_ATTRIBUTES = ['checked', 'value']; 2803var UNCONTROLLED_COMPONENT_NAMES = ['input', 'select', 'textarea']; 2804var valueOnlyInputs = { 2805 reset: true, 2806 submit: true, 2807}; 2808/** 2809 * Converts HTML/SVG DOM attributes to React props. 2810 * 2811 * @param attributes - HTML/SVG DOM attributes. 2812 * @param nodeName - DOM node name. 2813 * @returns - React props. 2814 */ 2815function attributesToProps(attributes, nodeName) { 2816 if (attributes === void 0) { attributes = {}; } 2817 var props = {}; 2818 var isInputValueOnly = Boolean(attributes.type && valueOnlyInputs[attributes.type]); 2819 for (var attributeName in attributes) { 2820 var attributeValue = attributes[attributeName]; 2821 // ARIA (aria-*) or custom data (data-*) attribute 2822 if ((0, react_property_1.isCustomAttribute)(attributeName)) { 2823 props[attributeName] = attributeValue; 2824 continue; 2825 } 2826 // convert HTML/SVG attribute to React prop 2827 var attributeNameLowerCased = attributeName.toLowerCase(); 2828 var propName = getPropName(attributeNameLowerCased); 2829 if (propName) { 2830 var propertyInfo = (0, react_property_1.getPropertyInfo)(propName); 2831 // convert attribute to uncontrolled component prop (e.g., `value` to `defaultValue`) 2832 if (UNCONTROLLED_COMPONENT_ATTRIBUTES.includes(propName) && 2833 UNCONTROLLED_COMPONENT_NAMES.includes(nodeName) && 2834 !isInputValueOnly) { 2835 propName = getPropName('default' + attributeNameLowerCased); 2836 } 2837 props[propName] = attributeValue; 2838 switch (propertyInfo && propertyInfo.type) { 2839 case react_property_1.BOOLEAN: 2840 props[propName] = true; 2841 break; 2842 case react_property_1.OVERLOADED_BOOLEAN: 2843 if (attributeValue === '') { 2844 props[propName] = true; 2845 } 2846 break; 2847 } 2848 continue; 2849 } 2850 // preserve custom attribute if React >=16 2851 if (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES) { 2852 props[attributeName] = attributeValue; 2853 } 2854 } 2855 // transform inline style to object 2856 (0, utilities_1.setStyleProp)(attributes.style, props); 2857 return props; 2858} 2859/** 2860 * Gets prop name from lowercased attribute name. 2861 * 2862 * @param attributeName - Lowercased attribute name. 2863 * @returns - Prop name. 2864 */ 2865function getPropName(attributeName) { 2866 return react_property_1.possibleStandardNames[attributeName]; 2867} 2868//# sourceMappingURL=attributes-to-props.js.map 2869 2870/***/ }), 2871
vendor: 5,631 bytes, lines 2872-3003
2872/***/ "./node_modules/html-react-parser/lib/dom-to-react.js": 2873/*!************************************************************!*\ 2874 !*** ./node_modules/html-react-parser/lib/dom-to-react.js ***! 2875 \************************************************************/ 2876/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2877 2878"use strict"; 2879 2880var __importDefault = (this && this.__importDefault) || function (mod) { 2881 return (mod && mod.__esModule) ? mod : { "default": mod }; 2882}; 2883Object.defineProperty(exports, "__esModule", ({ value: true })); 2884exports["default"] = domToReact; 2885var react_1 = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 2886var attributes_to_props_1 = __importDefault(__webpack_require__(/*! ./attributes-to-props */ "./node_modules/html-react-parser/lib/attributes-to-props.js")); 2887var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/html-react-parser/lib/utilities.js"); 2888var React = { 2889 cloneElement: react_1.cloneElement, 2890 createElement: react_1.createElement, 2891 isValidElement: react_1.isValidElement, 2892}; 2893/** 2894 * Converts DOM nodes to JSX element(s). 2895 * 2896 * @param nodes - DOM nodes. 2897 * @param options - Options. 2898 * @returns - String or JSX element(s). 2899 */ 2900function domToReact(nodes, options) { 2901 if (options === void 0) { options = {}; } 2902 var reactElements = []; 2903 var hasReplace = typeof options.replace === 'function'; 2904 var transform = options.transform || utilities_1.returnFirstArg; 2905 var _a = options.library || React, cloneElement = _a.cloneElement, createElement = _a.createElement, isValidElement = _a.isValidElement; 2906 var nodesLength = nodes.length; 2907 for (var index = 0; index < nodesLength; index++) { 2908 var node = nodes[index]; 2909 // replace with custom React element (if present) 2910 if (hasReplace) { 2911 var replaceElement = options.replace(node, index); 2912 if (isValidElement(replaceElement)) { 2913 // set "key" prop for sibling elements 2914 // https://react.dev/learn/rendering-lists#rules-of-keys 2915 if (nodesLength > 1) { 2916 replaceElement = cloneElement(replaceElement, { 2917 key: replaceElement.key || index, 2918 }); 2919 } 2920 reactElements.push(transform(replaceElement, node, index)); 2921 continue; 2922 } 2923 } 2924 if (node.type === 'text') { 2925 var isWhitespace = !node.data.trim().length; 2926 // We have a whitespace node that can't be nested in its parent 2927 // so skip it 2928 if (isWhitespace && 2929 node.parent && 2930 !(0, utilities_1.canTextBeChildOfNode)(node.parent)) { 2931 continue; 2932 } 2933 // Trim is enabled and we have a whitespace node 2934 // so skip it 2935 if (options.trim && isWhitespace) { 2936 continue; 2937 } 2938 // We have a text node that's not whitespace and it can be nested 2939 // in its parent so add it to the results 2940 reactElements.push(transform(node.data, node, index)); 2941 continue; 2942 } 2943 var element = node; 2944 var props = {}; 2945 if (skipAttributesToProps(element)) { 2946 (0, utilities_1.setStyleProp)(element.attribs.style, element.attribs); 2947 props = element.attribs; 2948 } 2949 else if (element.attribs) { 2950 props = (0, attributes_to_props_1.default)(element.attribs, element.name); 2951 } 2952 var children = void 0; 2953 switch (node.type) { 2954 case 'script': 2955 case 'style': 2956 // prevent text in <script> or <style> from being escaped 2957 // https://react.dev/reference/react-dom/components/common#dangerously-setting-the-inner-html 2958 if (node.children[0]) { 2959 props.dangerouslySetInnerHTML = { 2960 __html: node.children[0].data, 2961 }; 2962 } 2963 break; 2964 case 'tag': 2965 // setting textarea value in children is an antipattern in React 2966 // https://react.dev/reference/react-dom/components/textarea#caveats 2967 if (node.name === 'textarea' && node.children[0]) { 2968 props.defaultValue = node.children[0].data; 2969 } 2970 else if (node.children && node.children.length) { 2971 // continue recursion of creating React elements (if applicable) 2972 children = domToReact(node.children, options); 2973 } 2974 break; 2975 // skip all other cases (e.g., comment) 2976 default: 2977 continue; 2978 } 2979 // set "key" prop for sibling elements 2980 // https://react.dev/learn/rendering-lists#rules-of-keys 2981 if (nodesLength > 1) { 2982 props.key = index; 2983 } 2984 reactElements.push(transform(createElement(node.name, props, children), node, index)); 2985 } 2986 return reactElements.length === 1 ? reactElements[0] : reactElements; 2987} 2988/** 2989 * Determines whether DOM element attributes should be transformed to props. 2990 * Web Components should not have their attributes transformed except for `style`. 2991 * 2992 * @param node - Element node. 2993 * @returns - Whether the node attributes should be converted to props. 2994 */ 2995function skipAttributesToProps(node) { 2996 return (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES && 2997 node.type === 'tag' && 2998 (0, utilities_1.isCustomComponent)(node.name, node.attribs)); 2999} 3000//# sourceMappingURL=dom-to-react.js.map 3001 3002/***/ }), 3003
vendor: 2,591 bytes, lines 3004-3049
3004/***/ "./node_modules/html-react-parser/lib/index.js": 3005/*!*****************************************************!*\ 3006 !*** ./node_modules/html-react-parser/lib/index.js ***! 3007 \*****************************************************/ 3008/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 3009 3010"use strict"; 3011 3012var __importDefault = (this && this.__importDefault) || function (mod) { 3013 return (mod && mod.__esModule) ? mod : { "default": mod }; 3014}; 3015Object.defineProperty(exports, "__esModule", ({ value: true })); 3016exports.htmlToDOM = exports.domToReact = exports.attributesToProps = exports.Text = exports.ProcessingInstruction = exports.Element = exports.Comment = void 0; 3017exports["default"] = HTMLReactParser; 3018var html_dom_parser_1 = __importDefault(__webpack_require__(/*! html-dom-parser */ "./node_modules/html-dom-parser/lib/client/html-to-dom.js")); 3019exports.htmlToDOM = html_dom_parser_1.default; 3020var attributes_to_props_1 = __importDefault(__webpack_require__(/*! ./attributes-to-props */ "./node_modules/html-react-parser/lib/attributes-to-props.js")); 3021exports.attributesToProps = attributes_to_props_1.default; 3022var dom_to_react_1 = __importDefault(__webpack_require__(/*! ./dom-to-react */ "./node_modules/html-react-parser/lib/dom-to-react.js")); 3023exports.domToReact = dom_to_react_1.default; 3024var domhandler_1 = __webpack_require__(/*! domhandler */ "./node_modules/html-react-parser/node_modules/domhandler/lib/index.js"); 3025Object.defineProperty(exports, "Comment", ({ enumerable: true, get: function () { return domhandler_1.Comment; } })); 3026Object.defineProperty(exports, "Element", ({ enumerable: true, get: function () { return domhandler_1.Element; } })); 3027Object.defineProperty(exports, "ProcessingInstruction", ({ enumerable: true, get: function () { return domhandler_1.ProcessingInstruction; } })); 3028Object.defineProperty(exports, "Text", ({ enumerable: true, get: function () { return domhandler_1.Text; } })); 3029var domParserOptions = { lowerCaseAttributeNames: false }; 3030/** 3031 * Converts HTML string to React elements. 3032 * 3033 * @param html - HTML string. 3034 * @param options - Parser options. 3035 * @returns - React element(s), empty array, or string. 3036 */ 3037function HTMLReactParser(html, options) { 3038 if (typeof html !== 'string') { 3039 throw new TypeError('First argument must be a string'); 3040 } 3041 if (!html) { 3042 return []; 3043 } 3044 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); 3045} 3046//# sourceMappingURL=index.js.map 3047 3048/***/ }), 3049
vendor: 3,642 bytes, lines 3050-3163
3050/***/ "./node_modules/html-react-parser/lib/utilities.js": 3051/*!*********************************************************!*\ 3052 !*** ./node_modules/html-react-parser/lib/utilities.js ***! 3053 \*********************************************************/ 3054/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 3055 3056"use strict"; 3057 3058var __importDefault = (this && this.__importDefault) || function (mod) { 3059 return (mod && mod.__esModule) ? mod : { "default": mod }; 3060}; 3061Object.defineProperty(exports, "__esModule", ({ value: true })); 3062exports.returnFirstArg = exports.canTextBeChildOfNode = exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = exports.PRESERVE_CUSTOM_ATTRIBUTES = void 0; 3063exports.isCustomComponent = isCustomComponent; 3064exports.setStyleProp = setStyleProp; 3065var react_1 = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 3066var style_to_js_1 = __importDefault(__webpack_require__(/*! style-to-js */ "./node_modules/style-to-js/cjs/index.js")); 3067var RESERVED_SVG_MATHML_ELEMENTS = new Set([ 3068 'annotation-xml', 3069 'color-profile', 3070 'font-face', 3071 'font-face-src', 3072 'font-face-uri', 3073 'font-face-format', 3074 'font-face-name', 3075 'missing-glyph', 3076]); 3077/** 3078 * Check if a tag is a custom component. 3079 * 3080 * @see {@link https://github.com/facebook/react/blob/v16.6.3/packages/react-dom/src/shared/isCustomComponent.js} 3081 * 3082 * @param tagName - Tag name. 3083 * @param props - Props passed to the element. 3084 * @returns - Whether the tag is custom component. 3085 */ 3086function isCustomComponent(tagName, props) { 3087 if (!tagName.includes('-')) { 3088 return Boolean(props && typeof props.is === 'string'); 3089 } 3090 // These are reserved SVG and MathML elements. 3091 // We don't mind this whitelist too much because we expect it to never grow. 3092 // The alternative is to track the namespace in a few places which is convoluted. 3093 // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts 3094 if (RESERVED_SVG_MATHML_ELEMENTS.has(tagName)) { 3095 return false; 3096 } 3097 return true; 3098} 3099var styleOptions = { 3100 reactCompat: true, 3101}; 3102/** 3103 * Sets style prop. 3104 * 3105 * @param style - Inline style. 3106 * @param props - Props object. 3107 */ 3108function setStyleProp(style, props) { 3109 if (typeof style !== 'string') { 3110 return; 3111 } 3112 if (!style.trim()) { 3113 props.style = {}; 3114 return; 3115 } 3116 try { 3117 props.style = (0, style_to_js_1.default)(style, styleOptions); 3118 // eslint-disable-next-line @typescript-eslint/no-unused-vars 3119 } 3120 catch (error) { 3121 props.style = {}; 3122 } 3123} 3124/** 3125 * @see https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html 3126 */ 3127exports.PRESERVE_CUSTOM_ATTRIBUTES = Number(react_1.version.split('.')[0]) >= 16; 3128/** 3129 * @see https://github.com/facebook/react/blob/cae635054e17a6f107a39d328649137b83f25972/packages/react-dom/src/client/validateDOMNesting.js#L213 3130 */ 3131exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = new Set([ 3132 'tr', 3133 'tbody', 3134 'thead', 3135 'tfoot', 3136 'colgroup', 3137 'table', 3138 'head', 3139 'html', 3140 'frameset', 3141]); 3142/** 3143 * Checks if the given node can contain text nodes 3144 * 3145 * @param node - Element node. 3146 * @returns - Whether the node can contain text nodes. 3147 */ 3148var canTextBeChildOfNode = function (node) { 3149 return !exports.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(node.name); 3150}; 3151exports.canTextBeChildOfNode = canTextBeChildOfNode; 3152/** 3153 * Returns the first argument as is. 3154 * 3155 * @param arg - The argument to be returned. 3156 * @returns - The input argument `arg`. 3157 */ 3158var returnFirstArg = function (arg) { return arg; }; 3159exports.returnFirstArg = returnFirstArg; 3160//# sourceMappingURL=utilities.js.map 3161 3162/***/ }), 3163
vendor: 6,768 bytes, lines 3164-3339
3164/***/ "./node_modules/html-react-parser/node_modules/domhandler/lib/index.js": 3165/*!*****************************************************************************!*\ 3166 !*** ./node_modules/html-react-parser/node_modules/domhandler/lib/index.js ***! 3167 \*****************************************************************************/ 3168/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 3169 3170"use strict"; 3171 3172var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3173 if (k2 === undefined) k2 = k; 3174 var desc = Object.getOwnPropertyDescriptor(m, k); 3175 if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { 3176 desc = { enumerable: true, get: function() { return m[k]; } }; 3177 } 3178 Object.defineProperty(o, k2, desc); 3179}) : (function(o, m, k, k2) { 3180 if (k2 === undefined) k2 = k; 3181 o[k2] = m[k]; 3182})); 3183var __exportStar = (this && this.__exportStar) || function(m, exports) { 3184 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 3185}; 3186Object.defineProperty(exports, "__esModule", ({ value: true })); 3187exports.DomHandler = void 0; 3188var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 3189var node_js_1 = __webpack_require__(/*! ./node.js */ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js"); 3190__exportStar(__webpack_require__(/*! ./node.js */ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js"), exports); 3191// Default options 3192var defaultOpts = { 3193 withStartIndices: false, 3194 withEndIndices: false, 3195 xmlMode: false, 3196}; 3197var DomHandler = /** @class */ (function () { 3198 /** 3199 * @param callback Called once parsing has completed. 3200 * @param options Settings for the handler. 3201 * @param elementCB Callback whenever a tag is closed. 3202 */ 3203 function DomHandler(callback, options, elementCB) { 3204 /** The elements of the DOM */ 3205 this.dom = []; 3206 /** The root element for the DOM */ 3207 this.root = new node_js_1.Document(this.dom); 3208 /** Indicated whether parsing has been completed. */ 3209 this.done = false; 3210 /** Stack of open tags. */ 3211 this.tagStack = [this.root]; 3212 /** A data node that is still being written to. */ 3213 this.lastNode = null; 3214 /** Reference to the parser instance. Used for location information. */ 3215 this.parser = null; 3216 // Make it possible to skip arguments, for backwards-compatibility 3217 if (typeof options === "function") { 3218 elementCB = options; 3219 options = defaultOpts; 3220 } 3221 if (typeof callback === "object") { 3222 options = callback; 3223 callback = undefined; 3224 } 3225 this.callback = callback !== null && callback !== void 0 ? callback : null; 3226 this.options = options !== null && options !== void 0 ? options : defaultOpts; 3227 this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null; 3228 } 3229 DomHandler.prototype.onparserinit = function (parser) { 3230 this.parser = parser; 3231 }; 3232 // Resets the handler back to starting state 3233 DomHandler.prototype.onreset = function () { 3234 this.dom = []; 3235 this.root = new node_js_1.Document(this.dom); 3236 this.done = false; 3237 this.tagStack = [this.root]; 3238 this.lastNode = null; 3239 this.parser = null; 3240 }; 3241 // Signals the handler that parsing is done 3242 DomHandler.prototype.onend = function () { 3243 if (this.done) 3244 return; 3245 this.done = true; 3246 this.parser = null; 3247 this.handleCallback(null); 3248 }; 3249 DomHandler.prototype.onerror = function (error) { 3250 this.handleCallback(error); 3251 }; 3252 DomHandler.prototype.onclosetag = function () { 3253 this.lastNode = null; 3254 var elem = this.tagStack.pop(); 3255 if (this.options.withEndIndices) { 3256 elem.endIndex = this.parser.endIndex; 3257 } 3258 if (this.elementCB) 3259 this.elementCB(elem); 3260 }; 3261 DomHandler.prototype.onopentag = function (name, attribs) { 3262 var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined; 3263 var element = new node_js_1.Element(name, attribs, undefined, type); 3264 this.addNode(element); 3265 this.tagStack.push(element); 3266 }; 3267 DomHandler.prototype.ontext = function (data) { 3268 var lastNode = this.lastNode; 3269 if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) { 3270 lastNode.data += data; 3271 if (this.options.withEndIndices) { 3272 lastNode.endIndex = this.parser.endIndex; 3273 } 3274 } 3275 else { 3276 var node = new node_js_1.Text(data); 3277 this.addNode(node); 3278 this.lastNode = node; 3279 } 3280 }; 3281 DomHandler.prototype.oncomment = function (data) { 3282 if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) { 3283 this.lastNode.data += data; 3284 return; 3285 } 3286 var node = new node_js_1.Comment(data); 3287 this.addNode(node); 3288 this.lastNode = node; 3289 }; 3290 DomHandler.prototype.oncommentend = function () { 3291 this.lastNode = null; 3292 }; 3293 DomHandler.prototype.oncdatastart = function () { 3294 var text = new node_js_1.Text(""); 3295 var node = new node_js_1.CDATA([text]); 3296 this.addNode(node); 3297 text.parent = node; 3298 this.lastNode = text; 3299 }; 3300 DomHandler.prototype.oncdataend = function () { 3301 this.lastNode = null; 3302 }; 3303 DomHandler.prototype.onprocessinginstruction = function (name, data) { 3304 var node = new node_js_1.ProcessingInstruction(name, data); 3305 this.addNode(node); 3306 }; 3307 DomHandler.prototype.handleCallback = function (error) { 3308 if (typeof this.callback === "function") { 3309 this.callback(error, this.dom); 3310 } 3311 else if (error) { 3312 throw error; 3313 } 3314 }; 3315 DomHandler.prototype.addNode = function (node) { 3316 var parent = this.tagStack[this.tagStack.length - 1]; 3317 var previousSibling = parent.children[parent.children.length - 1]; 3318 if (this.options.withStartIndices) { 3319 node.startIndex = this.parser.startIndex; 3320 } 3321 if (this.options.withEndIndices) { 3322 node.endIndex = this.parser.endIndex; 3323 } 3324 parent.children.push(node); 3325 if (previousSibling) { 3326 node.prev = previousSibling; 3327 previousSibling.next = node; 3328 } 3329 node.parent = parent; 3330 this.lastNode = null; 3331 }; 3332 return DomHandler; 3333}()); 3334exports.DomHandler = DomHandler; 3335exports["default"] = DomHandler; 3336 3337 3338/***/ }), 3339
vendor: 15,857 bytes, lines 3340-3824
3340/***/ "./node_modules/html-react-parser/node_modules/domhandler/lib/node.js": 3341/*!****************************************************************************!*\ 3342 !*** ./node_modules/html-react-parser/node_modules/domhandler/lib/node.js ***! 3343 \****************************************************************************/ 3344/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 3345 3346"use strict"; 3347 3348var __extends = (this && this.__extends) || (function () { 3349 var extendStatics = function (d, b) { 3350 extendStatics = Object.setPrototypeOf || 3351 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 3352 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 3353 return extendStatics(d, b); 3354 }; 3355 return function (d, b) { 3356 if (typeof b !== "function" && b !== null) 3357 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 3358 extendStatics(d, b); 3359 function __() { this.constructor = d; } 3360 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 3361 }; 3362})(); 3363var __assign = (this && this.__assign) || function () { 3364 __assign = Object.assign || function(t) { 3365 for (var s, i = 1, n = arguments.length; i < n; i++) { 3366 s = arguments[i]; 3367 for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 3368 t[p] = s[p]; 3369 } 3370 return t; 3371 }; 3372 return __assign.apply(this, arguments); 3373}; 3374Object.defineProperty(exports, "__esModule", ({ value: true })); 3375exports.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; 3376var domelementtype_1 = __webpack_require__(/*! domelementtype */ "./node_modules/domelementtype/lib/index.js"); 3377/** 3378 * This object will be used as the prototype for Nodes when creating a 3379 * DOM-Level-1-compliant structure. 3380 */ 3381var Node = /** @class */ (function () { 3382 function Node() { 3383 /** Parent of the node */ 3384 this.parent = null; 3385 /** Previous sibling */ 3386 this.prev = null; 3387 /** Next sibling */ 3388 this.next = null; 3389 /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */ 3390 this.startIndex = null; 3391 /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */ 3392 this.endIndex = null; 3393 } 3394 Object.defineProperty(Node.prototype, "parentNode", { 3395 // Read-write aliases for properties 3396 /** 3397 * Same as {@link parent}. 3398 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 3399 */ 3400 get: function () { 3401 return this.parent; 3402 }, 3403 set: function (parent) { 3404 this.parent = parent; 3405 }, 3406 enumerable: false, 3407 configurable: true 3408 }); 3409 Object.defineProperty(Node.prototype, "previousSibling", { 3410 /** 3411 * Same as {@link prev}. 3412 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 3413 */ 3414 get: function () { 3415 return this.prev; 3416 }, 3417 set: function (prev) { 3418 this.prev = prev; 3419 }, 3420 enumerable: false, 3421 configurable: true 3422 }); 3423 Object.defineProperty(Node.prototype, "nextSibling", { 3424 /** 3425 * Same as {@link next}. 3426 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 3427 */ 3428 get: function () { 3429 return this.next; 3430 }, 3431 set: function (next) { 3432 this.next = next; 3433 }, 3434 enumerable: false, 3435 configurable: true 3436 }); 3437 /** 3438 * Clone this node, and optionally its children. 3439 * 3440 * @param recursive Clone child nodes as well. 3441 * @returns A clone of the node. 3442 */ 3443 Node.prototype.cloneNode = function (recursive) { 3444 if (recursive === void 0) { recursive = false; } 3445 return cloneNode(this, recursive); 3446 }; 3447 return Node; 3448}()); 3449exports.Node = Node; 3450/** 3451 * A node that contains some data. 3452 */ 3453var DataNode = /** @class */ (function (_super) { 3454 __extends(DataNode, _super); 3455 /** 3456 * @param data The content of the data node 3457 */ 3458 function DataNode(data) { 3459 var _this = _super.call(this) || this; 3460 _this.data = data; 3461 return _this; 3462 } 3463 Object.defineProperty(DataNode.prototype, "nodeValue", { 3464 /** 3465 * Same as {@link data}. 3466 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 3467 */ 3468 get: function () { 3469 return this.data; 3470 }, 3471 set: function (data) { 3472 this.data = data; 3473 }, 3474 enumerable: false, 3475 configurable: true 3476 }); 3477 return DataNode; 3478}(Node)); 3479exports.DataNode = DataNode; 3480/** 3481 * Text within the document. 3482 */ 3483var Text = /** @class */ (function (_super) { 3484 __extends(Text, _super); 3485 function Text() { 3486 var _this = _super !== null && _super.apply(this, arguments) || this; 3487 _this.type = domelementtype_1.ElementType.Text; 3488 return _this; 3489 } 3490 Object.defineProperty(Text.prototype, "nodeType", { 3491 get: function () { 3492 return 3; 3493 }, 3494 enumerable: false, 3495 configurable: true 3496 }); 3497 return Text; 3498}(DataNode)); 3499exports.Text = Text; 3500/** 3501 * Comments within the document. 3502 */ 3503var Comment = /** @class */ (function (_super) { 3504 __extends(Comment, _super); 3505 function Comment() { 3506 var _this = _super !== null && _super.apply(this, arguments) || this; 3507 _this.type = domelementtype_1.ElementType.Comment; 3508 return _this; 3509 } 3510 Object.defineProperty(Comment.prototype, "nodeType", { 3511 get: function () { 3512 return 8; 3513 }, 3514 enumerable: false, 3515 configurable: true 3516 }); 3517 return Comment; 3518}(DataNode)); 3519exports.Comment = Comment; 3520/** 3521 * Processing instructions, including doc types. 3522 */ 3523var ProcessingInstruction = /** @class */ (function (_super) { 3524 __extends(ProcessingInstruction, _super); 3525 function ProcessingInstruction(name, data) { 3526 var _this = _super.call(this, data) || this; 3527 _this.name = name; 3528 _this.type = domelementtype_1.ElementType.Directive; 3529 return _this; 3530 } 3531 Object.defineProperty(ProcessingInstruction.prototype, "nodeType", { 3532 get: function () { 3533 return 1; 3534 }, 3535 enumerable: false, 3536 configurable: true 3537 }); 3538 return ProcessingInstruction; 3539}(DataNode)); 3540exports.ProcessingInstruction = ProcessingInstruction; 3541/** 3542 * A `Node` that can have children. 3543 */ 3544var NodeWithChildren = /** @class */ (function (_super) { 3545 __extends(NodeWithChildren, _super); 3546 /** 3547 * @param children Children of the node. Only certain node types can have children. 3548 */ 3549 function NodeWithChildren(children) { 3550 var _this = _super.call(this) || this; 3551 _this.children = children; 3552 return _this; 3553 } 3554 Object.defineProperty(NodeWithChildren.prototype, "firstChild", { 3555 // Aliases 3556 /** First child of the node. */ 3557 get: function () { 3558 var _a; 3559 return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null; 3560 }, 3561 enumerable: false, 3562 configurable: true 3563 }); 3564 Object.defineProperty(NodeWithChildren.prototype, "lastChild", { 3565 /** Last child of the node. */ 3566 get: function () { 3567 return this.children.length > 0 3568 ? this.children[this.children.length - 1] 3569 : null; 3570 }, 3571 enumerable: false, 3572 configurable: true 3573 }); 3574 Object.defineProperty(NodeWithChildren.prototype, "childNodes", { 3575 /** 3576 * Same as {@link children}. 3577 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 3578 */ 3579 get: function () { 3580 return this.children; 3581 }, 3582 set: function (children) { 3583 this.children = children; 3584 }, 3585 enumerable: false, 3586 configurable: true 3587 }); 3588 return NodeWithChildren; 3589}(Node)); 3590exports.NodeWithChildren = NodeWithChildren; 3591var CDATA = /** @class */ (function (_super) { 3592 __extends(CDATA, _super); 3593 function CDATA() { 3594 var _this = _super !== null && _super.apply(this, arguments) || this; 3595 _this.type = domelementtype_1.ElementType.CDATA; 3596 return _this; 3597 } 3598 Object.defineProperty(CDATA.prototype, "nodeType", { 3599 get: function () { 3600 return 4; 3601 }, 3602 enumerable: false, 3603 configurable: true 3604 }); 3605 return CDATA; 3606}(NodeWithChildren)); 3607exports.CDATA = CDATA; 3608/** 3609 * The root node of the document. 3610 */ 3611var Document = /** @class */ (function (_super) { 3612 __extends(Document, _super); 3613 function Document() { 3614 var _this = _super !== null && _super.apply(this, arguments) || this; 3615 _this.type = domelementtype_1.ElementType.Root; 3616 return _this; 3617 } 3618 Object.defineProperty(Document.prototype, "nodeType", { 3619 get: function () { 3620 return 9; 3621 }, 3622 enumerable: false, 3623 configurable: true 3624 }); 3625 return Document; 3626}(NodeWithChildren)); 3627exports.Document = Document; 3628/** 3629 * An element within the DOM. 3630 */ 3631var Element = /** @class */ (function (_super) { 3632 __extends(Element, _super); 3633 /** 3634 * @param name Name of the tag, eg. `div`, `span`. 3635 * @param attribs Object mapping attribute names to attribute values. 3636 * @param children Children of the node. 3637 */ 3638 function Element(name, attribs, children, type) { 3639 if (children === void 0) { children = []; } 3640 if (type === void 0) { type = name === "script" 3641 ? domelementtype_1.ElementType.Script 3642 : name === "style" 3643 ? domelementtype_1.ElementType.Style 3644 : domelementtype_1.ElementType.Tag; } 3645 var _this = _super.call(this, children) || this; 3646 _this.name = name; 3647 _this.attribs = attribs; 3648 _this.type = type; 3649 return _this; 3650 } 3651 Object.defineProperty(Element.prototype, "nodeType", { 3652 get: function () { 3653 return 1; 3654 }, 3655 enumerable: false, 3656 configurable: true 3657 }); 3658 Object.defineProperty(Element.prototype, "tagName", { 3659 // DOM Level 1 aliases 3660 /** 3661 * Same as {@link name}. 3662 * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. 3663 */ 3664 get: function () { 3665 return this.name; 3666 }, 3667 set: function (name) { 3668 this.name = name; 3669 }, 3670 enumerable: false, 3671 configurable: true 3672 }); 3673 Object.defineProperty(Element.prototype, "attributes", { 3674 get: function () { 3675 var _this = this; 3676 return Object.keys(this.attribs).map(function (name) { 3677 var _a, _b; 3678 return ({ 3679 name: name, 3680 value: _this.attribs[name], 3681 namespace: (_a = _this["x-attribsNamespace"]) === null || _a === void 0 ? void 0 : _a[name], 3682 prefix: (_b = _this["x-attribsPrefix"]) === null || _b === void 0 ? void 0 : _b[name], 3683 }); 3684 }); 3685 }, 3686 enumerable: false, 3687 configurable: true 3688 }); 3689 return Element; 3690}(NodeWithChildren)); 3691exports.Element = Element; 3692/** 3693 * @param node Node to check. 3694 * @returns `true` if the node is a `Element`, `false` otherwise. 3695 */ 3696function isTag(node) { 3697 return (0, domelementtype_1.isTag)(node); 3698} 3699exports.isTag = isTag; 3700/** 3701 * @param node Node to check. 3702 * @returns `true` if the node has the type `CDATA`, `false` otherwise. 3703 */ 3704function isCDATA(node) { 3705 return node.type === domelementtype_1.ElementType.CDATA; 3706} 3707exports.isCDATA = isCDATA; 3708/** 3709 * @param node Node to check. 3710 * @returns `true` if the node has the type `Text`, `false` otherwise. 3711 */ 3712function isText(node) { 3713 return node.type === domelementtype_1.ElementType.Text; 3714} 3715exports.isText = isText; 3716/** 3717 * @param node Node to check. 3718 * @returns `true` if the node has the type `Comment`, `false` otherwise. 3719 */ 3720function isComment(node) { 3721 return node.type === domelementtype_1.ElementType.Comment; 3722} 3723exports.isComment = isComment; 3724/** 3725 * @param node Node to check. 3726 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 3727 */ 3728function isDirective(node) { 3729 return node.type === domelementtype_1.ElementType.Directive; 3730} 3731exports.isDirective = isDirective; 3732/** 3733 * @param node Node to check. 3734 * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise. 3735 */ 3736function isDocument(node) { 3737 return node.type === domelementtype_1.ElementType.Root; 3738} 3739exports.isDocument = isDocument; 3740/** 3741 * @param node Node to check. 3742 * @returns `true` if the node has children, `false` otherwise. 3743 */ 3744function hasChildren(node) { 3745 return Object.prototype.hasOwnProperty.call(node, "children"); 3746} 3747exports.hasChildren = hasChildren; 3748/** 3749 * Clone a node, and optionally its children. 3750 * 3751 * @param recursive Clone child nodes as well. 3752 * @returns A clone of the node. 3753 */ 3754function cloneNode(node, recursive) { 3755 if (recursive === void 0) { recursive = false; } 3756 var result; 3757 if (isText(node)) { 3758 result = new Text(node.data); 3759 } 3760 else if (isComment(node)) { 3761 result = new Comment(node.data); 3762 } 3763 else if (isTag(node)) { 3764 var children = recursive ? cloneChildren(node.children) : []; 3765 var clone_1 = new Element(node.name, __assign({}, node.attribs), children); 3766 children.forEach(function (child) { return (child.parent = clone_1); }); 3767 if (node.namespace != null) { 3768 clone_1.namespace = node.namespace; 3769 } 3770 if (node["x-attribsNamespace"]) { 3771 clone_1["x-attribsNamespace"] = __assign({}, node["x-attribsNamespace"]); 3772 } 3773 if (node["x-attribsPrefix"]) { 3774 clone_1["x-attribsPrefix"] = __assign({}, node["x-attribsPrefix"]); 3775 } 3776 result = clone_1; 3777 } 3778 else if (isCDATA(node)) { 3779 var children = recursive ? cloneChildren(node.children) : []; 3780 var clone_2 = new CDATA(children); 3781 children.forEach(function (child) { return (child.parent = clone_2); }); 3782 result = clone_2; 3783 } 3784 else if (isDocument(node)) { 3785 var children = recursive ? cloneChildren(node.children) : []; 3786 var clone_3 = new Document(children); 3787 children.forEach(function (child) { return (child.parent = clone_3); }); 3788 if (node["x-mode"]) { 3789 clone_3["x-mode"] = node["x-mode"]; 3790 } 3791 result = clone_3; 3792 } 3793 else if (isDirective(node)) { 3794 var instruction = new ProcessingInstruction(node.name, node.data); 3795 if (node["x-name"] != null) { 3796 instruction["x-name"] = node["x-name"]; 3797 instruction["x-publicId"] = node["x-publicId"]; 3798 instruction["x-systemId"] = node["x-systemId"]; 3799 } 3800 result = instruction; 3801 } 3802 else { 3803 throw new Error("Not implemented yet: ".concat(node.type)); 3804 } 3805 result.startIndex = node.startIndex; 3806 result.endIndex = node.endIndex; 3807 if (node.sourceCodeLocation != null) { 3808 result.sourceCodeLocation = node.sourceCodeLocation; 3809 } 3810 return result; 3811} 3812exports.cloneNode = cloneNode; 3813function cloneChildren(childs) { 3814 var children = childs.map(function (child) { return cloneNode(child, true); }); 3815 for (var i = 1; i < children.length; i++) { 3816 children[i].prev = children[i - 1]; 3817 children[i - 1].next = children[i]; 3818 } 3819 return children; 3820} 3821 3822 3823/***/ }), 3824
vendor: 5,353 bytes, lines 3825-4095
3825/***/ "./node_modules/inline-style-parser/index.js": 3826/*!***************************************************!*\ 3827 !*** ./node_modules/inline-style-parser/index.js ***! 3828 \***************************************************/ 3829/***/ ((module) => { 3830 3831// http://www.w3.org/TR/CSS21/grammar.html 3832// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027 3833var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g; 3834 3835var NEWLINE_REGEX = /\n/g; 3836var WHITESPACE_REGEX = /^\s*/; 3837 3838// declaration 3839var PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/; 3840var COLON_REGEX = /^:\s*/; 3841var VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/; 3842var SEMICOLON_REGEX = /^[;\s]*/; 3843 3844// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill 3845var TRIM_REGEX = /^\s+|\s+$/g; 3846 3847// strings 3848var NEWLINE = '\n'; 3849var FORWARD_SLASH = '/'; 3850var ASTERISK = '*'; 3851var EMPTY_STRING = ''; 3852 3853// types 3854var TYPE_COMMENT = 'comment'; 3855var TYPE_DECLARATION = 'declaration'; 3856 3857/** 3858 * @param {String} style 3859 * @param {Object} [options] 3860 * @return {Object[]} 3861 * @throws {TypeError} 3862 * @throws {Error} 3863 */ 3864module.exports = function (style, options) { 3865 if (typeof style !== 'string') { 3866 throw new TypeError('First argument must be a string'); 3867 } 3868 3869 if (!style) return []; 3870 3871 options = options || {}; 3872 3873 /** 3874 * Positional. 3875 */ 3876 var lineno = 1; 3877 var column = 1; 3878 3879 /** 3880 * Update lineno and column based on `str`. 3881 * 3882 * @param {String} str 3883 */ 3884 function updatePosition(str) { 3885 var lines = str.match(NEWLINE_REGEX); 3886 if (lines) lineno += lines.length; 3887 var i = str.lastIndexOf(NEWLINE); 3888 column = ~i ? str.length - i : column + str.length; 3889 } 3890 3891 /** 3892 * Mark position and patch `node.position`. 3893 * 3894 * @return {Function} 3895 */ 3896 function position() { 3897 var start = { line: lineno, column: column }; 3898 return function (node) { 3899 node.position = new Position(start); 3900 whitespace(); 3901 return node; 3902 }; 3903 } 3904 3905 /** 3906 * Store position information for a node. 3907 * 3908 * @constructor 3909 * @property {Object} start 3910 * @property {Object} end 3911 * @property {undefined|String} source 3912 */ 3913 function Position(start) { 3914 this.start = start; 3915 this.end = { line: lineno, column: column }; 3916 this.source = options.source; 3917 } 3918 3919 /** 3920 * Non-enumerable source string. 3921 */ 3922 Position.prototype.content = style; 3923 3924 var errorsList = []; 3925 3926 /** 3927 * Error `msg`. 3928 * 3929 * @param {String} msg 3930 * @throws {Error} 3931 */ 3932 function error(msg) { 3933 var err = new Error( 3934 options.source + ':' + lineno + ':' + column + ': ' + msg 3935 ); 3936 err.reason = msg; 3937 err.filename = options.source; 3938 err.line = lineno; 3939 err.column = column; 3940 err.source = style; 3941 3942 if (options.silent) { 3943 errorsList.push(err); 3944 } else { 3945 throw err; 3946 } 3947 } 3948 3949 /** 3950 * Match `re` and return captures. 3951 * 3952 * @param {RegExp} re 3953 * @return {undefined|Array} 3954 */ 3955 function match(re) { 3956 var m = re.exec(style); 3957 if (!m) return; 3958 var str = m[0]; 3959 updatePosition(str); 3960 style = style.slice(str.length); 3961 return m; 3962 } 3963 3964 /** 3965 * Parse whitespace. 3966 */ 3967 function whitespace() { 3968 match(WHITESPACE_REGEX); 3969 } 3970 3971 /** 3972 * Parse comments. 3973 * 3974 * @param {Object[]} [rules] 3975 * @return {Object[]} 3976 */ 3977 function comments(rules) { 3978 var c; 3979 rules = rules || []; 3980 while ((c = comment())) { 3981 if (c !== false) { 3982 rules.push(c); 3983 } 3984 } 3985 return rules; 3986 } 3987 3988 /** 3989 * Parse comment. 3990 * 3991 * @return {Object} 3992 * @throws {Error} 3993 */ 3994 function comment() { 3995 var pos = position(); 3996 if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return; 3997 3998 var i = 2; 3999 while ( 4000 EMPTY_STRING != style.charAt(i) && 4001 (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1)) 4002 ) { 4003 ++i; 4004 } 4005 i += 2; 4006 4007 if (EMPTY_STRING === style.charAt(i - 1)) { 4008 return error('End of comment missing'); 4009 } 4010 4011 var str = style.slice(2, i - 2); 4012 column += 2; 4013 updatePosition(str); 4014 style = style.slice(i); 4015 column += 2; 4016 4017 return pos({ 4018 type: TYPE_COMMENT, 4019 comment: str 4020 }); 4021 } 4022 4023 /** 4024 * Parse declaration. 4025 * 4026 * @return {Object} 4027 * @throws {Error} 4028 */ 4029 function declaration() { 4030 var pos = position(); 4031 4032 // prop 4033 var prop = match(PROPERTY_REGEX); 4034 if (!prop) return; 4035 comment(); 4036 4037 // : 4038 if (!match(COLON_REGEX)) return error("property missing ':'"); 4039 4040 // val 4041 var val = match(VALUE_REGEX); 4042 4043 var ret = pos({ 4044 type: TYPE_DECLARATION, 4045 property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)), 4046 value: val 4047 ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING)) 4048 : EMPTY_STRING 4049 }); 4050 4051 // ; 4052 match(SEMICOLON_REGEX); 4053 4054 return ret; 4055 } 4056 4057 /** 4058 * Parse declarations. 4059 * 4060 * @return {Object[]} 4061 */ 4062 function declarations() { 4063 var decls = []; 4064 4065 comments(decls); 4066 4067 // declarations 4068 var decl; 4069 while ((decl = declaration())) { 4070 if (decl !== false) { 4071 decls.push(decl); 4072 comments(decls); 4073 } 4074 } 4075 4076 return decls; 4077 } 4078 4079 whitespace(); 4080 return declarations(); 4081}; 4082 4083/** 4084 * Trim `str`. 4085 * 4086 * @param {String} str 4087 * @return {String} 4088 */ 4089function trim(str) { 4090 return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING; 4091} 4092 4093 4094/***/ }), 4095
vendor: 2,343 bytes, lines 4096-4196
4096/***/ "./node_modules/object-assign/index.js": 4097/*!*********************************************!*\ 4098 !*** ./node_modules/object-assign/index.js ***! 4099 \*********************************************/ 4100/***/ ((module) => { 4101 4102"use strict"; 4103/* 4104object-assign 4105(c) Sindre Sorhus 4106@license MIT 4107*/ 4108 4109 4110/* eslint-disable no-unused-vars */ 4111var getOwnPropertySymbols = Object.getOwnPropertySymbols; 4112var hasOwnProperty = Object.prototype.hasOwnProperty; 4113var propIsEnumerable = Object.prototype.propertyIsEnumerable; 4114 4115function toObject(val) { 4116 if (val === null || val === undefined) { 4117 throw new TypeError('Object.assign cannot be called with null or undefined'); 4118 } 4119 4120 return Object(val); 4121} 4122 4123function shouldUseNative() { 4124 try { 4125 if (!Object.assign) { 4126 return false; 4127 } 4128 4129 // Detect buggy property enumeration order in older V8 versions. 4130 4131 // https://bugs.chromium.org/p/v8/issues/detail?id=4118 4132 var test1 = new String('abc'); // eslint-disable-line no-new-wrappers 4133 test1[5] = 'de'; 4134 if (Object.getOwnPropertyNames(test1)[0] === '5') { 4135 return false; 4136 } 4137 4138 // https://bugs.chromium.org/p/v8/issues/detail?id=3056 4139 var test2 = {}; 4140 for (var i = 0; i < 10; i++) { 4141 test2['_' + String.fromCharCode(i)] = i; 4142 } 4143 var order2 = Object.getOwnPropertyNames(test2).map(function (n) { 4144 return test2[n]; 4145 }); 4146 if (order2.join('') !== '0123456789') { 4147 return false; 4148 } 4149 4150 // https://bugs.chromium.org/p/v8/issues/detail?id=3056 4151 var test3 = {}; 4152 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { 4153 test3[letter] = letter; 4154 }); 4155 if (Object.keys(Object.assign({}, test3)).join('') !== 4156 'abcdefghijklmnopqrst') { 4157 return false; 4158 } 4159 4160 return true; 4161 } catch (err) { 4162 // We don't expect any of the above to throw, but better to be safe. 4163 return false; 4164 } 4165} 4166 4167module.exports = shouldUseNative() ? Object.assign : function (target, source) { 4168 var from; 4169 var to = toObject(target); 4170 var symbols; 4171 4172 for (var s = 1; s < arguments.length; s++) { 4173 from = Object(arguments[s]); 4174 4175 for (var key in from) { 4176 if (hasOwnProperty.call(from, key)) { 4177 to[key] = from[key]; 4178 } 4179 } 4180 4181 if (getOwnPropertySymbols) { 4182 symbols = getOwnPropertySymbols(from); 4183 for (var i = 0; i < symbols.length; i++) { 4184 if (propIsEnumerable.call(from, symbols[i])) { 4185 to[symbols[i]] = from[symbols[i]]; 4186 } 4187 } 4188 } 4189 } 4190 4191 return to; 4192}; 4193 4194 4195/***/ }), 4196
vendor: 4,204 bytes, lines 4197-4310
4197/***/ "./node_modules/prop-types/checkPropTypes.js": 4198/*!***************************************************!*\ 4199 !*** ./node_modules/prop-types/checkPropTypes.js ***! 4200 \***************************************************/ 4201/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 4202 4203"use strict"; 4204/** 4205 * Copyright (c) 2013-present, Facebook, Inc. 4206 * 4207 * This source code is licensed under the MIT license found in the 4208 * LICENSE file in the root directory of this source tree. 4209 */ 4210 4211 4212 4213var printWarning = function() {}; 4214 4215if (true) { 4216 var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js"); 4217 var loggedTypeFailures = {}; 4218 var has = __webpack_require__(/*! ./lib/has */ "./node_modules/prop-types/lib/has.js"); 4219 4220 printWarning = function(text) { 4221 var message = 'Warning: ' + text; 4222 if (typeof console !== 'undefined') { 4223 console.error(message); 4224 } 4225 try { 4226 // --- Welcome to debugging React --- 4227 // This error was thrown as a convenience so that you can use this stack 4228 // to find the callsite that caused this warning to fire. 4229 throw new Error(message); 4230 } catch (x) { /**/ } 4231 }; 4232} 4233 4234/** 4235 * Assert that the values match with the type specs. 4236 * Error messages are memorized and will only be shown once. 4237 * 4238 * @param {object} typeSpecs Map of name to a ReactPropType 4239 * @param {object} values Runtime values that need to be type-checked 4240 * @param {string} location e.g. "prop", "context", "child context" 4241 * @param {string} componentName Name of the component for error messages. 4242 * @param {?Function} getStack Returns the component stack. 4243 * @private 4244 */ 4245function checkPropTypes(typeSpecs, values, location, componentName, getStack) { 4246 if (true) { 4247 for (var typeSpecName in typeSpecs) { 4248 if (has(typeSpecs, typeSpecName)) { 4249 var error; 4250 // Prop type validation may throw. In case they do, we don't want to 4251 // fail the render phase where it didn't fail before. So we log it. 4252 // After these have been cleaned up, we'll let them throw. 4253 try { 4254 // This is intentionally an invariant that gets caught. It's the same 4255 // behavior as without this statement except with a better message. 4256 if (typeof typeSpecs[typeSpecName] !== 'function') { 4257 var err = Error( 4258 (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 4259 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 4260 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.' 4261 ); 4262 err.name = 'Invariant Violation'; 4263 throw err; 4264 } 4265 error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret); 4266 } catch (ex) { 4267 error = ex; 4268 } 4269 if (error && !(error instanceof Error)) { 4270 printWarning( 4271 (componentName || 'React class') + ': type specification of ' + 4272 location + ' `' + typeSpecName + '` is invalid; the type checker ' + 4273 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 4274 'You may have forgotten to pass an argument to the type checker ' + 4275 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 4276 'shape all require an argument).' 4277 ); 4278 } 4279 if (error instanceof Error && !(error.message in loggedTypeFailures)) { 4280 // Only monitor this failure once because there tends to be a lot of the 4281 // same error. 4282 loggedTypeFailures[error.message] = true; 4283 4284 var stack = getStack ? getStack() : ''; 4285 4286 printWarning( 4287 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '') 4288 ); 4289 } 4290 } 4291 } 4292 } 4293} 4294 4295/** 4296 * Resets warning cache when testing. 4297 * 4298 * @private 4299 */ 4300checkPropTypes.resetWarningCache = function() { 4301 if (true) { 4302 loggedTypeFailures = {}; 4303 } 4304} 4305 4306module.exports = checkPropTypes; 4307 4308 4309/***/ }), 4310
vendor: 613 bytes, lines 4311-4333
4311/***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js": 4312/*!*************************************************************!*\ 4313 !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***! 4314 \*************************************************************/ 4315/***/ ((module) => { 4316 4317"use strict"; 4318/** 4319 * Copyright (c) 2013-present, Facebook, Inc. 4320 * 4321 * This source code is licensed under the MIT license found in the 4322 * LICENSE file in the root directory of this source tree. 4323 */ 4324 4325 4326 4327var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; 4328 4329module.exports = ReactPropTypesSecret; 4330 4331 4332/***/ }), 4333
vendor: 300 bytes, lines 4334-4344
4334/***/ "./node_modules/prop-types/lib/has.js": 4335/*!********************************************!*\ 4336 !*** ./node_modules/prop-types/lib/has.js ***! 4337 \********************************************/ 4338/***/ ((module) => { 4339 4340module.exports = Function.call.bind(Object.prototype.hasOwnProperty); 4341 4342 4343/***/ }), 4344
vendor: 14,478 bytes, lines 4345-4875
4345/***/ "./node_modules/react-property/lib/index.js": 4346/*!**************************************************!*\ 4347 !*** ./node_modules/react-property/lib/index.js ***! 4348 \**************************************************/ 4349/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 4350 4351"use strict"; 4352 4353 4354/** 4355 * Copyright (c) Facebook, Inc. and its affiliates. 4356 * 4357 * This source code is licensed under the MIT license found in the 4358 * LICENSE file in the root directory of this source tree. 4359 * 4360 * 4361 */ 4362 4363 4364 4365 4366// A reserved attribute. 4367// It is handled by React separately and shouldn't be written to the DOM. 4368const RESERVED = 0; 4369 4370// A simple string attribute. 4371// Attributes that aren't in the filter are presumed to have this type. 4372const STRING = 1; 4373 4374// A string attribute that accepts booleans in React. In HTML, these are called 4375// "enumerated" attributes with "true" and "false" as possible values. 4376// When true, it should be set to a "true" string. 4377// When false, it should be set to a "false" string. 4378const BOOLEANISH_STRING = 2; 4379 4380// A real boolean attribute. 4381// When true, it should be present (set either to an empty string or its name). 4382// When false, it should be omitted. 4383const BOOLEAN = 3; 4384 4385// An attribute that can be used as a flag as well as with a value. 4386// When true, it should be present (set either to an empty string or its name). 4387// When false, it should be omitted. 4388// For any other value, should be present with that value. 4389const OVERLOADED_BOOLEAN = 4; 4390 4391// An attribute that must be numeric or parse as a numeric. 4392// When falsy, it should be removed. 4393const NUMERIC = 5; 4394 4395// An attribute that must be positive numeric or parse as a positive numeric. 4396// When falsy, it should be removed. 4397const POSITIVE_NUMERIC = 6; 4398 4399function getPropertyInfo(name) { 4400 return properties.hasOwnProperty(name) ? properties[name] : null; 4401} 4402 4403function PropertyInfoRecord( 4404 name, 4405 type, 4406 mustUseProperty, 4407 attributeName, 4408 attributeNamespace, 4409 sanitizeURL, 4410 removeEmptyString, 4411) { 4412 this.acceptsBooleans = 4413 type === BOOLEANISH_STRING || 4414 type === BOOLEAN || 4415 type === OVERLOADED_BOOLEAN; 4416 this.attributeName = attributeName; 4417 this.attributeNamespace = attributeNamespace; 4418 this.mustUseProperty = mustUseProperty; 4419 this.propertyName = name; 4420 this.type = type; 4421 this.sanitizeURL = sanitizeURL; 4422 this.removeEmptyString = removeEmptyString; 4423} 4424 4425// When adding attributes to this list, be sure to also add them to 4426// the `possibleStandardNames` module to ensure casing and incorrect 4427// name warnings. 4428const properties = {}; 4429 4430// These props are reserved by React. They shouldn't be written to the DOM. 4431const reservedProps = [ 4432 'children', 4433 'dangerouslySetInnerHTML', 4434 // TODO: This prevents the assignment of defaultValue to regular 4435 // elements (not just inputs). Now that ReactDOMInput assigns to the 4436 // defaultValue property -- do we need this? 4437 'defaultValue', 4438 'defaultChecked', 4439 'innerHTML', 4440 'suppressContentEditableWarning', 4441 'suppressHydrationWarning', 4442 'style', 4443]; 4444 4445reservedProps.forEach(name => { 4446 properties[name] = new PropertyInfoRecord( 4447 name, 4448 RESERVED, 4449 false, // mustUseProperty 4450 name, // attributeName 4451 null, // attributeNamespace 4452 false, // sanitizeURL 4453 false, // removeEmptyString 4454 ); 4455}); 4456 4457// A few React string attributes have a different name. 4458// This is a mapping from React prop names to the attribute names. 4459[ 4460 ['acceptCharset', 'accept-charset'], 4461 ['className', 'class'], 4462 ['htmlFor', 'for'], 4463 ['httpEquiv', 'http-equiv'], 4464].forEach(([name, attributeName]) => { 4465 properties[name] = new PropertyInfoRecord( 4466 name, 4467 STRING, 4468 false, // mustUseProperty 4469 attributeName, // attributeName 4470 null, // attributeNamespace 4471 false, // sanitizeURL 4472 false, // removeEmptyString 4473 ); 4474}); 4475 4476// These are "enumerated" HTML attributes that accept "true" and "false". 4477// In React, we let users pass `true` and `false` even though technically 4478// these aren't boolean attributes (they are coerced to strings). 4479['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(name => { 4480 properties[name] = new PropertyInfoRecord( 4481 name, 4482 BOOLEANISH_STRING, 4483 false, // mustUseProperty 4484 name.toLowerCase(), // attributeName 4485 null, // attributeNamespace 4486 false, // sanitizeURL 4487 false, // removeEmptyString 4488 ); 4489}); 4490 4491// These are "enumerated" SVG attributes that accept "true" and "false". 4492// In React, we let users pass `true` and `false` even though technically 4493// these aren't boolean attributes (they are coerced to strings). 4494// Since these are SVG attributes, their attribute names are case-sensitive. 4495[ 4496 'autoReverse', 4497 'externalResourcesRequired', 4498 'focusable', 4499 'preserveAlpha', 4500].forEach(name => { 4501 properties[name] = new PropertyInfoRecord( 4502 name, 4503 BOOLEANISH_STRING, 4504 false, // mustUseProperty 4505 name, // attributeName 4506 null, // attributeNamespace 4507 false, // sanitizeURL 4508 false, // removeEmptyString 4509 ); 4510}); 4511 4512// These are HTML boolean attributes. 4513[ 4514 'allowFullScreen', 4515 'async', 4516 // Note: there is a special case that prevents it from being written to the DOM 4517 // on the client side because the browsers are inconsistent. Instead we call focus(). 4518 'autoFocus', 4519 'autoPlay', 4520 'controls', 4521 'default', 4522 'defer', 4523 'disabled', 4524 'disablePictureInPicture', 4525 'disableRemotePlayback', 4526 'formNoValidate', 4527 'hidden', 4528 'loop', 4529 'noModule', 4530 'noValidate', 4531 'open', 4532 'playsInline', 4533 'readOnly', 4534 'required', 4535 'reversed', 4536 'scoped', 4537 'seamless', 4538 // Microdata 4539 'itemScope', 4540].forEach(name => { 4541 properties[name] = new PropertyInfoRecord( 4542 name, 4543 BOOLEAN, 4544 false, // mustUseProperty 4545 name.toLowerCase(), // attributeName 4546 null, // attributeNamespace 4547 false, // sanitizeURL 4548 false, // removeEmptyString 4549 ); 4550}); 4551 4552// These are the few React props that we set as DOM properties 4553// rather than attributes. These are all booleans. 4554[ 4555 'checked', 4556 // Note: `option.selected` is not updated if `select.multiple` is 4557 // disabled with `removeAttribute`. We have special logic for handling this. 4558 'multiple', 4559 'muted', 4560 'selected', 4561 4562 // NOTE: if you add a camelCased prop to this list, 4563 // you'll need to set attributeName to name.toLowerCase() 4564 // instead in the assignment below. 4565].forEach(name => { 4566 properties[name] = new PropertyInfoRecord( 4567 name, 4568 BOOLEAN, 4569 true, // mustUseProperty 4570 name, // attributeName 4571 null, // attributeNamespace 4572 false, // sanitizeURL 4573 false, // removeEmptyString 4574 ); 4575}); 4576 4577// These are HTML attributes that are "overloaded booleans": they behave like 4578// booleans, but can also accept a string value. 4579[ 4580 'capture', 4581 'download', 4582 4583 // NOTE: if you add a camelCased prop to this list, 4584 // you'll need to set attributeName to name.toLowerCase() 4585 // instead in the assignment below. 4586].forEach(name => { 4587 properties[name] = new PropertyInfoRecord( 4588 name, 4589 OVERLOADED_BOOLEAN, 4590 false, // mustUseProperty 4591 name, // attributeName 4592 null, // attributeNamespace 4593 false, // sanitizeURL 4594 false, // removeEmptyString 4595 ); 4596}); 4597 4598// These are HTML attributes that must be positive numbers. 4599[ 4600 'cols', 4601 'rows', 4602 'size', 4603 'span', 4604 4605 // NOTE: if you add a camelCased prop to this list, 4606 // you'll need to set attributeName to name.toLowerCase() 4607 // instead in the assignment below. 4608].forEach(name => { 4609 properties[name] = new PropertyInfoRecord( 4610 name, 4611 POSITIVE_NUMERIC, 4612 false, // mustUseProperty 4613 name, // attributeName 4614 null, // attributeNamespace 4615 false, // sanitizeURL 4616 false, // removeEmptyString 4617 ); 4618}); 4619 4620// These are HTML attributes that must be numbers. 4621['rowSpan', 'start'].forEach(name => { 4622 properties[name] = new PropertyInfoRecord( 4623 name, 4624 NUMERIC, 4625 false, // mustUseProperty 4626 name.toLowerCase(), // attributeName 4627 null, // attributeNamespace 4628 false, // sanitizeURL 4629 false, // removeEmptyString 4630 ); 4631}); 4632 4633const CAMELIZE = /[\-\:]([a-z])/g; 4634const capitalize = token => token[1].toUpperCase(); 4635 4636// This is a list of all SVG attributes that need special casing, namespacing, 4637// or boolean value assignment. Regular attributes that just accept strings 4638// and have the same names are omitted, just like in the HTML attribute filter. 4639// Some of these attributes can be hard to find. This list was created by 4640// scraping the MDN documentation. 4641[ 4642 'accent-height', 4643 'alignment-baseline', 4644 'arabic-form', 4645 'baseline-shift', 4646 'cap-height', 4647 'clip-path', 4648 'clip-rule', 4649 'color-interpolation', 4650 'color-interpolation-filters', 4651 'color-profile', 4652 'color-rendering', 4653 'dominant-baseline', 4654 'enable-background', 4655 'fill-opacity', 4656 'fill-rule', 4657 'flood-color', 4658 'flood-opacity', 4659 'font-family', 4660 'font-size', 4661 'font-size-adjust', 4662 'font-stretch', 4663 'font-style', 4664 'font-variant', 4665 'font-weight', 4666 'glyph-name', 4667 'glyph-orientation-horizontal', 4668 'glyph-orientation-vertical', 4669 'horiz-adv-x', 4670 'horiz-origin-x', 4671 'image-rendering', 4672 'letter-spacing', 4673 'lighting-color', 4674 'marker-end', 4675 'marker-mid', 4676 'marker-start', 4677 'overline-position', 4678 'overline-thickness', 4679 'paint-order', 4680 'panose-1', 4681 'pointer-events', 4682 'rendering-intent', 4683 'shape-rendering', 4684 'stop-color', 4685 'stop-opacity', 4686 'strikethrough-position', 4687 'strikethrough-thickness', 4688 'stroke-dasharray', 4689 'stroke-dashoffset', 4690 'stroke-linecap', 4691 'stroke-linejoin', 4692 'stroke-miterlimit', 4693 'stroke-opacity', 4694 'stroke-width', 4695 'text-anchor', 4696 'text-decoration', 4697 'text-rendering', 4698 'underline-position', 4699 'underline-thickness', 4700 'unicode-bidi', 4701 'unicode-range', 4702 'units-per-em', 4703 'v-alphabetic', 4704 'v-hanging', 4705 'v-ideographic', 4706 'v-mathematical', 4707 'vector-effect', 4708 'vert-adv-y', 4709 'vert-origin-x', 4710 'vert-origin-y', 4711 'word-spacing', 4712 'writing-mode', 4713 'xmlns:xlink', 4714 'x-height', 4715 4716 // NOTE: if you add a camelCased prop to this list, 4717 // you'll need to set attributeName to name.toLowerCase() 4718 // instead in the assignment below. 4719].forEach(attributeName => { 4720 const name = attributeName.replace(CAMELIZE, capitalize); 4721 properties[name] = new PropertyInfoRecord( 4722 name, 4723 STRING, 4724 false, // mustUseProperty 4725 attributeName, 4726 null, // attributeNamespace 4727 false, // sanitizeURL 4728 false, // removeEmptyString 4729 ); 4730}); 4731 4732// String SVG attributes with the xlink namespace. 4733[ 4734 'xlink:actuate', 4735 'xlink:arcrole', 4736 'xlink:role', 4737 'xlink:show', 4738 'xlink:title', 4739 'xlink:type', 4740 4741 // NOTE: if you add a camelCased prop to this list, 4742 // you'll need to set attributeName to name.toLowerCase() 4743 // instead in the assignment below. 4744].forEach(attributeName => { 4745 const name = attributeName.replace(CAMELIZE, capitalize); 4746 properties[name] = new PropertyInfoRecord( 4747 name, 4748 STRING, 4749 false, // mustUseProperty 4750 attributeName, 4751 'http://www.w3.org/1999/xlink', 4752 false, // sanitizeURL 4753 false, // removeEmptyString 4754 ); 4755}); 4756 4757// String SVG attributes with the xml namespace. 4758[ 4759 'xml:base', 4760 'xml:lang', 4761 'xml:space', 4762 4763 // NOTE: if you add a camelCased prop to this list, 4764 // you'll need to set attributeName to name.toLowerCase() 4765 // instead in the assignment below. 4766].forEach(attributeName => { 4767 const name = attributeName.replace(CAMELIZE, capitalize); 4768 properties[name] = new PropertyInfoRecord( 4769 name, 4770 STRING, 4771 false, // mustUseProperty 4772 attributeName, 4773 'http://www.w3.org/XML/1998/namespace', 4774 false, // sanitizeURL 4775 false, // removeEmptyString 4776 ); 4777}); 4778 4779// These attribute exists both in HTML and SVG. 4780// The attribute name is case-sensitive in SVG so we can't just use 4781// the React name like we do for attributes that exist only in HTML. 4782['tabIndex', 'crossOrigin'].forEach(attributeName => { 4783 properties[attributeName] = new PropertyInfoRecord( 4784 attributeName, 4785 STRING, 4786 false, // mustUseProperty 4787 attributeName.toLowerCase(), // attributeName 4788 null, // attributeNamespace 4789 false, // sanitizeURL 4790 false, // removeEmptyString 4791 ); 4792}); 4793 4794// These attributes accept URLs. These must not allow javascript: URLS. 4795// These will also need to accept Trusted Types object in the future. 4796const xlinkHref = 'xlinkHref'; 4797properties[xlinkHref] = new PropertyInfoRecord( 4798 'xlinkHref', 4799 STRING, 4800 false, // mustUseProperty 4801 'xlink:href', 4802 'http://www.w3.org/1999/xlink', 4803 true, // sanitizeURL 4804 false, // removeEmptyString 4805); 4806 4807['src', 'href', 'action', 'formAction'].forEach(attributeName => { 4808 properties[attributeName] = new PropertyInfoRecord( 4809 attributeName, 4810 STRING, 4811 false, // mustUseProperty 4812 attributeName.toLowerCase(), // attributeName 4813 null, // attributeNamespace 4814 true, // sanitizeURL 4815 true, // removeEmptyString 4816 ); 4817}); 4818 4819// 4820const { 4821 CAMELCASE, 4822 SAME, 4823 possibleStandardNames: possibleStandardNamesOptimized 4824} = __webpack_require__(/*! ../lib/possibleStandardNamesOptimized */ "./node_modules/react-property/lib/possibleStandardNamesOptimized.js"); 4825 4826const ATTRIBUTE_NAME_START_CHAR = 4827 ':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'; 4828 4829const ATTRIBUTE_NAME_CHAR = 4830 ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040'; 4831 4832/** 4833 * Checks whether a property name is a custom attribute. 4834 * 4835 * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L23-L25 4836 * 4837 * @type {(attribute: string) => boolean} 4838 */ 4839const isCustomAttribute = 4840 RegExp.prototype.test.bind( 4841 // eslint-disable-next-line no-misleading-character-class 4842 new RegExp('^(data|aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$') 4843 ); 4844 4845/** 4846 * @type {Record<string, string>} 4847 */ 4848const possibleStandardNames = Object.keys( 4849 possibleStandardNamesOptimized 4850).reduce((accumulator, standardName) => { 4851 const propName = possibleStandardNamesOptimized[standardName]; 4852 if (propName === SAME) { 4853 accumulator[standardName] = standardName; 4854 } else if (propName === CAMELCASE) { 4855 accumulator[standardName.toLowerCase()] = standardName; 4856 } else { 4857 accumulator[standardName] = propName; 4858 } 4859 return accumulator; 4860}, {}); 4861 4862exports.BOOLEAN = BOOLEAN; 4863exports.BOOLEANISH_STRING = BOOLEANISH_STRING; 4864exports.NUMERIC = NUMERIC; 4865exports.OVERLOADED_BOOLEAN = OVERLOADED_BOOLEAN; 4866exports.POSITIVE_NUMERIC = POSITIVE_NUMERIC; 4867exports.RESERVED = RESERVED; 4868exports.STRING = STRING; 4869exports.getPropertyInfo = getPropertyInfo; 4870exports.isCustomAttribute = isCustomAttribute; 4871exports.possibleStandardNames = possibleStandardNames; 4872 4873 4874/***/ }), 4875
vendor: 10,044 bytes, lines 4876-5378
4876/***/ "./node_modules/react-property/lib/possibleStandardNamesOptimized.js": 4877/*!***************************************************************************!*\ 4878 !*** ./node_modules/react-property/lib/possibleStandardNamesOptimized.js ***! 4879 \***************************************************************************/ 4880/***/ ((__unused_webpack_module, exports) => { 4881 4882// An attribute in which the DOM/SVG standard name is the same as the React prop name (e.g., 'accept'). 4883var SAME = 0; 4884exports.SAME = SAME; 4885 4886// An attribute in which the React prop name is the camelcased version of the DOM/SVG standard name (e.g., 'acceptCharset'). 4887var CAMELCASE = 1; 4888exports.CAMELCASE = CAMELCASE; 4889 4890exports.possibleStandardNames = { 4891 accept: 0, 4892 acceptCharset: 1, 4893 'accept-charset': 'acceptCharset', 4894 accessKey: 1, 4895 action: 0, 4896 allowFullScreen: 1, 4897 alt: 0, 4898 as: 0, 4899 async: 0, 4900 autoCapitalize: 1, 4901 autoComplete: 1, 4902 autoCorrect: 1, 4903 autoFocus: 1, 4904 autoPlay: 1, 4905 autoSave: 1, 4906 capture: 0, 4907 cellPadding: 1, 4908 cellSpacing: 1, 4909 challenge: 0, 4910 charSet: 1, 4911 checked: 0, 4912 children: 0, 4913 cite: 0, 4914 class: 'className', 4915 classID: 1, 4916 className: 1, 4917 cols: 0, 4918 colSpan: 1, 4919 content: 0, 4920 contentEditable: 1, 4921 contextMenu: 1, 4922 controls: 0, 4923 controlsList: 1, 4924 coords: 0, 4925 crossOrigin: 1, 4926 dangerouslySetInnerHTML: 1, 4927 data: 0, 4928 dateTime: 1, 4929 default: 0, 4930 defaultChecked: 1, 4931 defaultValue: 1, 4932 defer: 0, 4933 dir: 0, 4934 disabled: 0, 4935 disablePictureInPicture: 1, 4936 disableRemotePlayback: 1, 4937 download: 0, 4938 draggable: 0, 4939 encType: 1, 4940 enterKeyHint: 1, 4941 for: 'htmlFor', 4942 form: 0, 4943 formMethod: 1, 4944 formAction: 1, 4945 formEncType: 1, 4946 formNoValidate: 1, 4947 formTarget: 1, 4948 frameBorder: 1, 4949 headers: 0, 4950 height: 0, 4951 hidden: 0, 4952 high: 0, 4953 href: 0, 4954 hrefLang: 1, 4955 htmlFor: 1, 4956 httpEquiv: 1, 4957 'http-equiv': 'httpEquiv', 4958 icon: 0, 4959 id: 0, 4960 innerHTML: 1, 4961 inputMode: 1, 4962 integrity: 0, 4963 is: 0, 4964 itemID: 1, 4965 itemProp: 1, 4966 itemRef: 1, 4967 itemScope: 1, 4968 itemType: 1, 4969 keyParams: 1, 4970 keyType: 1, 4971 kind: 0, 4972 label: 0, 4973 lang: 0, 4974 list: 0, 4975 loop: 0, 4976 low: 0, 4977 manifest: 0, 4978 marginWidth: 1, 4979 marginHeight: 1, 4980 max: 0, 4981 maxLength: 1, 4982 media: 0, 4983 mediaGroup: 1, 4984 method: 0, 4985 min: 0, 4986 minLength: 1, 4987 multiple: 0, 4988 muted: 0, 4989 name: 0, 4990 noModule: 1, 4991 nonce: 0, 4992 noValidate: 1, 4993 open: 0, 4994 optimum: 0, 4995 pattern: 0, 4996 placeholder: 0, 4997 playsInline: 1, 4998 poster: 0, 4999 preload: 0, 5000 profile: 0, 5001 radioGroup: 1, 5002 readOnly: 1, 5003 referrerPolicy: 1, 5004 rel: 0, 5005 required: 0, 5006 reversed: 0, 5007 role: 0, 5008 rows: 0, 5009 rowSpan: 1, 5010 sandbox: 0, 5011 scope: 0, 5012 scoped: 0, 5013 scrolling: 0, 5014 seamless: 0, 5015 selected: 0, 5016 shape: 0, 5017 size: 0, 5018 sizes: 0, 5019 span: 0, 5020 spellCheck: 1, 5021 src: 0, 5022 srcDoc: 1, 5023 srcLang: 1, 5024 srcSet: 1, 5025 start: 0, 5026 step: 0, 5027 style: 0, 5028 summary: 0, 5029 tabIndex: 1, 5030 target: 0, 5031 title: 0, 5032 type: 0, 5033 useMap: 1, 5034 value: 0, 5035 width: 0, 5036 wmode: 0, 5037 wrap: 0, 5038 about: 0, 5039 accentHeight: 1, 5040 'accent-height': 'accentHeight', 5041 accumulate: 0, 5042 additive: 0, 5043 alignmentBaseline: 1, 5044 'alignment-baseline': 'alignmentBaseline', 5045 allowReorder: 1, 5046 alphabetic: 0, 5047 amplitude: 0, 5048 arabicForm: 1, 5049 'arabic-form': 'arabicForm', 5050 ascent: 0, 5051 attributeName: 1, 5052 attributeType: 1, 5053 autoReverse: 1, 5054 azimuth: 0, 5055 baseFrequency: 1, 5056 baselineShift: 1, 5057 'baseline-shift': 'baselineShift', 5058 baseProfile: 1, 5059 bbox: 0, 5060 begin: 0, 5061 bias: 0, 5062 by: 0, 5063 calcMode: 1, 5064 capHeight: 1, 5065 'cap-height': 'capHeight', 5066 clip: 0, 5067 clipPath: 1, 5068 'clip-path': 'clipPath', 5069 clipPathUnits: 1, 5070 clipRule: 1, 5071 'clip-rule': 'clipRule', 5072 color: 0, 5073 colorInterpolation: 1, 5074 'color-interpolation': 'colorInterpolation', 5075 colorInterpolationFilters: 1, 5076 'color-interpolation-filters': 'colorInterpolationFilters', 5077 colorProfile: 1, 5078 'color-profile': 'colorProfile', 5079 colorRendering: 1, 5080 'color-rendering': 'colorRendering', 5081 contentScriptType: 1, 5082 contentStyleType: 1, 5083 cursor: 0, 5084 cx: 0, 5085 cy: 0, 5086 d: 0, 5087 datatype: 0, 5088 decelerate: 0, 5089 descent: 0, 5090 diffuseConstant: 1, 5091 direction: 0, 5092 display: 0, 5093 divisor: 0, 5094 dominantBaseline: 1, 5095 'dominant-baseline': 'dominantBaseline', 5096 dur: 0, 5097 dx: 0, 5098 dy: 0, 5099 edgeMode: 1, 5100 elevation: 0, 5101 enableBackground: 1, 5102 'enable-background': 'enableBackground', 5103 end: 0, 5104 exponent: 0, 5105 externalResourcesRequired: 1, 5106 fill: 0, 5107 fillOpacity: 1, 5108 'fill-opacity': 'fillOpacity', 5109 fillRule: 1, 5110 'fill-rule': 'fillRule', 5111 filter: 0, 5112 filterRes: 1, 5113 filterUnits: 1, 5114 floodOpacity: 1, 5115 'flood-opacity': 'floodOpacity', 5116 floodColor: 1, 5117 'flood-color': 'floodColor', 5118 focusable: 0, 5119 fontFamily: 1, 5120 'font-family': 'fontFamily', 5121 fontSize: 1, 5122 'font-size': 'fontSize', 5123 fontSizeAdjust: 1, 5124 'font-size-adjust': 'fontSizeAdjust', 5125 fontStretch: 1, 5126 'font-stretch': 'fontStretch', 5127 fontStyle: 1, 5128 'font-style': 'fontStyle', 5129 fontVariant: 1, 5130 'font-variant': 'fontVariant', 5131 fontWeight: 1, 5132 'font-weight': 'fontWeight', 5133 format: 0, 5134 from: 0, 5135 fx: 0, 5136 fy: 0, 5137 g1: 0, 5138 g2: 0, 5139 glyphName: 1, 5140 'glyph-name': 'glyphName', 5141 glyphOrientationHorizontal: 1, 5142 'glyph-orientation-horizontal': 'glyphOrientationHorizontal', 5143 glyphOrientationVertical: 1, 5144 'glyph-orientation-vertical': 'glyphOrientationVertical', 5145 glyphRef: 1, 5146 gradientTransform: 1, 5147 gradientUnits: 1, 5148 hanging: 0, 5149 horizAdvX: 1, 5150 'horiz-adv-x': 'horizAdvX', 5151 horizOriginX: 1, 5152 'horiz-origin-x': 'horizOriginX', 5153 ideographic: 0, 5154 imageRendering: 1, 5155 'image-rendering': 'imageRendering', 5156 in2: 0, 5157 in: 0, 5158 inlist: 0, 5159 intercept: 0, 5160 k1: 0, 5161 k2: 0, 5162 k3: 0, 5163 k4: 0, 5164 k: 0, 5165 kernelMatrix: 1, 5166 kernelUnitLength: 1, 5167 kerning: 0, 5168 keyPoints: 1, 5169 keySplines: 1, 5170 keyTimes: 1, 5171 lengthAdjust: 1, 5172 letterSpacing: 1, 5173 'letter-spacing': 'letterSpacing', 5174 lightingColor: 1, 5175 'lighting-color': 'lightingColor', 5176 limitingConeAngle: 1, 5177 local: 0, 5178 markerEnd: 1, 5179 'marker-end': 'markerEnd', 5180 markerHeight: 1, 5181 markerMid: 1, 5182 'marker-mid': 'markerMid', 5183 markerStart: 1, 5184 'marker-start': 'markerStart', 5185 markerUnits: 1, 5186 markerWidth: 1, 5187 mask: 0, 5188 maskContentUnits: 1, 5189 maskUnits: 1, 5190 mathematical: 0, 5191 mode: 0, 5192 numOctaves: 1, 5193 offset: 0, 5194 opacity: 0, 5195 operator: 0, 5196 order: 0, 5197 orient: 0, 5198 orientation: 0, 5199 origin: 0, 5200 overflow: 0, 5201 overlinePosition: 1, 5202 'overline-position': 'overlinePosition', 5203 overlineThickness: 1, 5204 'overline-thickness': 'overlineThickness', 5205 paintOrder: 1, 5206 'paint-order': 'paintOrder', 5207 panose1: 0, 5208 'panose-1': 'panose1', 5209 pathLength: 1, 5210 patternContentUnits: 1, 5211 patternTransform: 1, 5212 patternUnits: 1, 5213 pointerEvents: 1, 5214 'pointer-events': 'pointerEvents', 5215 points: 0, 5216 pointsAtX: 1, 5217 pointsAtY: 1, 5218 pointsAtZ: 1, 5219 prefix: 0, 5220 preserveAlpha: 1, 5221 preserveAspectRatio: 1, 5222 primitiveUnits: 1, 5223 property: 0, 5224 r: 0, 5225 radius: 0, 5226 refX: 1, 5227 refY: 1, 5228 renderingIntent: 1, 5229 'rendering-intent': 'renderingIntent', 5230 repeatCount: 1, 5231 repeatDur: 1, 5232 requiredExtensions: 1, 5233 requiredFeatures: 1, 5234 resource: 0, 5235 restart: 0, 5236 result: 0, 5237 results: 0, 5238 rotate: 0, 5239 rx: 0, 5240 ry: 0, 5241 scale: 0, 5242 security: 0, 5243 seed: 0, 5244 shapeRendering: 1, 5245 'shape-rendering': 'shapeRendering', 5246 slope: 0, 5247 spacing: 0, 5248 specularConstant: 1, 5249 specularExponent: 1, 5250 speed: 0, 5251 spreadMethod: 1, 5252 startOffset: 1, 5253 stdDeviation: 1, 5254 stemh: 0, 5255 stemv: 0, 5256 stitchTiles: 1, 5257 stopColor: 1, 5258 'stop-color': 'stopColor', 5259 stopOpacity: 1, 5260 'stop-opacity': 'stopOpacity', 5261 strikethroughPosition: 1, 5262 'strikethrough-position': 'strikethroughPosition', 5263 strikethroughThickness: 1, 5264 'strikethrough-thickness': 'strikethroughThickness', 5265 string: 0, 5266 stroke: 0, 5267 strokeDasharray: 1, 5268 'stroke-dasharray': 'strokeDasharray', 5269 strokeDashoffset: 1, 5270 'stroke-dashoffset': 'strokeDashoffset', 5271 strokeLinecap: 1, 5272 'stroke-linecap': 'strokeLinecap', 5273 strokeLinejoin: 1, 5274 'stroke-linejoin': 'strokeLinejoin', 5275 strokeMiterlimit: 1, 5276 'stroke-miterlimit': 'strokeMiterlimit', 5277 strokeWidth: 1, 5278 'stroke-width': 'strokeWidth', 5279 strokeOpacity: 1, 5280 'stroke-opacity': 'strokeOpacity', 5281 suppressContentEditableWarning: 1, 5282 suppressHydrationWarning: 1, 5283 surfaceScale: 1, 5284 systemLanguage: 1, 5285 tableValues: 1, 5286 targetX: 1, 5287 targetY: 1, 5288 textAnchor: 1, 5289 'text-anchor': 'textAnchor', 5290 textDecoration: 1, 5291 'text-decoration': 'textDecoration', 5292 textLength: 1, 5293 textRendering: 1, 5294 'text-rendering': 'textRendering', 5295 to: 0, 5296 transform: 0, 5297 typeof: 0, 5298 u1: 0, 5299 u2: 0, 5300 underlinePosition: 1, 5301 'underline-position': 'underlinePosition', 5302 underlineThickness: 1, 5303 'underline-thickness': 'underlineThickness', 5304 unicode: 0, 5305 unicodeBidi: 1, 5306 'unicode-bidi': 'unicodeBidi', 5307 unicodeRange: 1, 5308 'unicode-range': 'unicodeRange', 5309 unitsPerEm: 1, 5310 'units-per-em': 'unitsPerEm', 5311 unselectable: 0, 5312 vAlphabetic: 1, 5313 'v-alphabetic': 'vAlphabetic', 5314 values: 0, 5315 vectorEffect: 1, 5316 'vector-effect': 'vectorEffect', 5317 version: 0, 5318 vertAdvY: 1, 5319 'vert-adv-y': 'vertAdvY', 5320 vertOriginX: 1, 5321 'vert-origin-x': 'vertOriginX', 5322 vertOriginY: 1, 5323 'vert-origin-y': 'vertOriginY', 5324 vHanging: 1, 5325 'v-hanging': 'vHanging', 5326 vIdeographic: 1, 5327 'v-ideographic': 'vIdeographic', 5328 viewBox: 1, 5329 viewTarget: 1, 5330 visibility: 0, 5331 vMathematical: 1, 5332 'v-mathematical': 'vMathematical', 5333 vocab: 0, 5334 widths: 0, 5335 wordSpacing: 1, 5336 'word-spacing': 'wordSpacing', 5337 writingMode: 1, 5338 'writing-mode': 'writingMode', 5339 x1: 0, 5340 x2: 0, 5341 x: 0, 5342 xChannelSelector: 1, 5343 xHeight: 1, 5344 'x-height': 'xHeight', 5345 xlinkActuate: 1, 5346 'xlink:actuate': 'xlinkActuate', 5347 xlinkArcrole: 1, 5348 'xlink:arcrole': 'xlinkArcrole', 5349 xlinkHref: 1, 5350 'xlink:href': 'xlinkHref', 5351 xlinkRole: 1, 5352 'xlink:role': 'xlinkRole', 5353 xlinkShow: 1, 5354 'xlink:show': 'xlinkShow', 5355 xlinkTitle: 1, 5356 'xlink:title': 'xlinkTitle', 5357 xlinkType: 1, 5358 'xlink:type': 'xlinkType', 5359 xmlBase: 1, 5360 'xml:base': 'xmlBase', 5361 xmlLang: 1, 5362 'xml:lang': 'xmlLang', 5363 xmlns: 0, 5364 'xml:space': 'xmlSpace', 5365 xmlnsXlink: 1, 5366 'xmlns:xlink': 'xmlnsXlink', 5367 xmlSpace: 1, 5368 y1: 0, 5369 y2: 0, 5370 y: 0, 5371 yChannelSelector: 1, 5372 z: 0, 5373 zoomAndPan: 1 5374}; 5375 5376 5377/***/ }), 5378
vendor: 13,640 bytes, lines 5379-5801
5379/***/ "./node_modules/react-wordpress/out.js": 5380/*!*********************************************!*\ 5381 !*** ./node_modules/react-wordpress/out.js ***! 5382 \*********************************************/ 5383/***/ (() => { 5384 5385(() => { 5386 var __create = Object.create; 5387 var __defProp = Object.defineProperty; 5388 var __getProtoOf = Object.getPrototypeOf; 5389 var __hasOwnProp = Object.prototype.hasOwnProperty; 5390 var __getOwnPropNames = Object.getOwnPropertyNames; 5391 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 5392 var __markAsModule = (target) => __defProp(target, "__esModule", {value: true}); 5393 var __commonJS = (cb, mod) => () => (mod || cb((mod = {exports: {}}).exports, mod), mod.exports); 5394 var __exportStar = (target, module, desc) => { 5395 if (module && typeof module === "object" || typeof module === "function") { 5396 for (let key of __getOwnPropNames(module)) 5397 if (!__hasOwnProp.call(target, key) && key !== "default") 5398 __defProp(target, key, {get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable}); 5399 } 5400 return target; 5401 }; 5402 var __toModule = (module) => { 5403 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); 5404 }; 5405 5406 // node_modules/object-assign/index.js 5407 var require_object_assign = __commonJS((exports, module) => { 5408 /* 5409 object-assign 5410 (c) Sindre Sorhus 5411 @license MIT 5412 */ 5413 "use strict"; 5414 var getOwnPropertySymbols = Object.getOwnPropertySymbols; 5415 var hasOwnProperty = Object.prototype.hasOwnProperty; 5416 var propIsEnumerable = Object.prototype.propertyIsEnumerable; 5417 function toObject(val) { 5418 if (val === null || val === void 0) { 5419 throw new TypeError("Object.assign cannot be called with null or undefined"); 5420 } 5421 return Object(val); 5422 } 5423 function shouldUseNative() { 5424 try { 5425 if (!Object.assign) { 5426 return false; 5427 } 5428 var test1 = new String("abc"); 5429 test1[5] = "de"; 5430 if (Object.getOwnPropertyNames(test1)[0] === "5") { 5431 return false; 5432 } 5433 var test2 = {}; 5434 for (var i = 0; i < 10; i++) { 5435 test2["_" + String.fromCharCode(i)] = i; 5436 } 5437 var order2 = Object.getOwnPropertyNames(test2).map(function(n) { 5438 return test2[n]; 5439 }); 5440 if (order2.join("") !== "0123456789") { 5441 return false; 5442 } 5443 var test3 = {}; 5444 "abcdefghijklmnopqrst".split("").forEach(function(letter) { 5445 test3[letter] = letter; 5446 }); 5447 if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") { 5448 return false; 5449 } 5450 return true; 5451 } catch (err) { 5452 return false; 5453 } 5454 } 5455 module.exports = shouldUseNative() ? Object.assign : function(target, source) { 5456 var from; 5457 var to = toObject(target); 5458 var symbols; 5459 for (var s = 1; s < arguments.length; s++) { 5460 from = Object(arguments[s]); 5461 for (var key in from) { 5462 if (hasOwnProperty.call(from, key)) { 5463 to[key] = from[key]; 5464 } 5465 } 5466 if (getOwnPropertySymbols) { 5467 symbols = getOwnPropertySymbols(from); 5468 for (var i = 0; i < symbols.length; i++) { 5469 if (propIsEnumerable.call(from, symbols[i])) { 5470 to[symbols[i]] = from[symbols[i]]; 5471 } 5472 } 5473 } 5474 } 5475 return to; 5476 }; 5477 }); 5478 5479 // node_modules/react/cjs/react.production.min.js 5480 var require_react_production_min = __commonJS((exports) => { 5481 /** @license React v17.0.2 5482 * react.production.min.js 5483 * 5484 * Copyright (c) Facebook, Inc. and its affiliates. 5485 * 5486 * This source code is licensed under the MIT license found in the 5487 * LICENSE file in the root directory of this source tree. 5488 */ 5489 "use strict"; 5490 var l = require_object_assign(); 5491 var n = 60103; 5492 var p = 60106; 5493 exports.Fragment = 60107; 5494 exports.StrictMode = 60108; 5495 exports.Profiler = 60114; 5496 var q = 60109; 5497 var r = 60110; 5498 var t = 60112; 5499 exports.Suspense = 60113; 5500 var u = 60115; 5501 var v = 60116; 5502 if (typeof Symbol === "function" && Symbol.for) { 5503 w = Symbol.for; 5504 n = w("react.element"); 5505 p = w("react.portal"); 5506 exports.Fragment = w("react.fragment"); 5507 exports.StrictMode = w("react.strict_mode"); 5508 exports.Profiler = w("react.profiler"); 5509 q = w("react.provider"); 5510 r = w("react.context"); 5511 t = w("react.forward_ref"); 5512 exports.Suspense = w("react.suspense"); 5513 u = w("react.memo"); 5514 v = w("react.lazy"); 5515 } 5516 var w; 5517 var x = typeof Symbol === "function" && Symbol.iterator; 5518 function y(a) { 5519 if (a === null || typeof a !== "object") 5520 return null; 5521 a = x && a[x] || a["@@iterator"]; 5522 return typeof a === "function" ? a : null; 5523 } 5524 function z(a) { 5525 for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) 5526 b += "&args[]=" + encodeURIComponent(arguments[c]); 5527 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."; 5528 } 5529 var A = {isMounted: function() { 5530 return false; 5531 }, enqueueForceUpdate: function() { 5532 }, enqueueReplaceState: function() { 5533 }, enqueueSetState: function() { 5534 }}; 5535 var B = {}; 5536 function C(a, b, c) { 5537 this.props = a; 5538 this.context = b; 5539 this.refs = B; 5540 this.updater = c || A; 5541 } 5542 C.prototype.isReactComponent = {}; 5543 C.prototype.setState = function(a, b) { 5544 if (typeof a !== "object" && typeof a !== "function" && a != null) 5545 throw Error(z(85)); 5546 this.updater.enqueueSetState(this, a, b, "setState"); 5547 }; 5548 C.prototype.forceUpdate = function(a) { 5549 this.updater.enqueueForceUpdate(this, a, "forceUpdate"); 5550 }; 5551 function D() { 5552 } 5553 D.prototype = C.prototype; 5554 function E(a, b, c) { 5555 this.props = a; 5556 this.context = b; 5557 this.refs = B; 5558 this.updater = c || A; 5559 } 5560 var F = E.prototype = new D(); 5561 F.constructor = E; 5562 l(F, C.prototype); 5563 F.isPureReactComponent = true; 5564 var G = {current: null}; 5565 var H = Object.prototype.hasOwnProperty; 5566 var I = {key: true, ref: true, __self: true, __source: true}; 5567 function J(a, b, c) { 5568 var e, d = {}, k = null, h = null; 5569 if (b != null) 5570 for (e in b.ref !== void 0 && (h = b.ref), b.key !== void 0 && (k = "" + b.key), b) 5571 H.call(b, e) && !I.hasOwnProperty(e) && (d[e] = b[e]); 5572 var g = arguments.length - 2; 5573 if (g === 1) 5574 d.children = c; 5575 else if (1 < g) { 5576 for (var f = Array(g), m = 0; m < g; m++) 5577 f[m] = arguments[m + 2]; 5578 d.children = f; 5579 } 5580 if (a && a.defaultProps) 5581 for (e in g = a.defaultProps, g) 5582 d[e] === void 0 && (d[e] = g[e]); 5583 return {$$typeof: n, type: a, key: k, ref: h, props: d, _owner: G.current}; 5584 } 5585 function K(a, b) { 5586 return {$$typeof: n, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner}; 5587 } 5588 function L(a) { 5589 return typeof a === "object" && a !== null && a.$$typeof === n; 5590 } 5591 function escape(a) { 5592 var b = {"=": "=0", ":": "=2"}; 5593 return "$" + a.replace(/[=:]/g, function(a2) { 5594 return b[a2]; 5595 }); 5596 } 5597 var M = /\/+/g; 5598 function N(a, b) { 5599 return typeof a === "object" && a !== null && a.key != null ? escape("" + a.key) : b.toString(36); 5600 } 5601 function O(a, b, c, e, d) { 5602 var k = typeof a; 5603 if (k === "undefined" || k === "boolean") 5604 a = null; 5605 var h = false; 5606 if (a === null) 5607 h = true; 5608 else 5609 switch (k) { 5610 case "string": 5611 case "number": 5612 h = true; 5613 break; 5614 case "object": 5615 switch (a.$$typeof) { 5616 case n: 5617 case p: 5618 h = true; 5619 } 5620 } 5621 if (h) 5622 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) { 5623 return a2; 5624 })) : d != null && (L(d) && (d = K(d, c + (!d.key || h && h.key === d.key ? "" : ("" + d.key).replace(M, "$&/") + "/") + a)), b.push(d)), 1; 5625 h = 0; 5626 e = e === "" ? "." : e + ":"; 5627 if (Array.isArray(a)) 5628 for (var g = 0; g < a.length; g++) { 5629 k = a[g]; 5630 var f = e + N(k, g); 5631 h += O(k, b, c, f, d); 5632 } 5633 else if (f = y(a), typeof f === "function") 5634 for (a = f.call(a), g = 0; !(k = a.next()).done; ) 5635 k = k.value, f = e + N(k, g++), h += O(k, b, c, f, d); 5636 else if (k === "object") 5637 throw b = "" + a, Error(z(31, b === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : b)); 5638 return h; 5639 } 5640 function P(a, b, c) { 5641 if (a == null) 5642 return a; 5643 var e = [], d = 0; 5644 O(a, e, "", "", function(a2) { 5645 return b.call(c, a2, d++); 5646 }); 5647 return e; 5648 } 5649 function Q(a) { 5650 if (a._status === -1) { 5651 var b = a._result; 5652 b = b(); 5653 a._status = 0; 5654 a._result = b; 5655 b.then(function(b2) { 5656 a._status === 0 && (b2 = b2.default, a._status = 1, a._result = b2); 5657 }, function(b2) { 5658 a._status === 0 && (a._status = 2, a._result = b2); 5659 }); 5660 } 5661 if (a._status === 1) 5662 return a._result; 5663 throw a._result; 5664 } 5665 var R = {current: null}; 5666 function S() { 5667 var a = R.current; 5668 if (a === null) 5669 throw Error(z(321)); 5670 return a; 5671 } 5672 var T = {ReactCurrentDispatcher: R, ReactCurrentBatchConfig: {transition: 0}, ReactCurrentOwner: G, IsSomeRendererActing: {current: false}, assign: l}; 5673 exports.Children = {map: P, forEach: function(a, b, c) { 5674 P(a, function() { 5675 b.apply(this, arguments); 5676 }, c); 5677 }, count: function(a) { 5678 var b = 0; 5679 P(a, function() { 5680 b++; 5681 }); 5682 return b; 5683 }, toArray: function(a) { 5684 return P(a, function(a2) { 5685 return a2; 5686 }) || []; 5687 }, only: function(a) { 5688 if (!L(a)) 5689 throw Error(z(143)); 5690 return a; 5691 }}; 5692 exports.Component = C; 5693 exports.PureComponent = E; 5694 exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = T; 5695 exports.cloneElement = function(a, b, c) { 5696 if (a === null || a === void 0) 5697 throw Error(z(267, a)); 5698 var e = l({}, a.props), d = a.key, k = a.ref, h = a._owner; 5699 if (b != null) { 5700 b.ref !== void 0 && (k = b.ref, h = G.current); 5701 b.key !== void 0 && (d = "" + b.key); 5702 if (a.type && a.type.defaultProps) 5703 var g = a.type.defaultProps; 5704 for (f in b) 5705 H.call(b, f) && !I.hasOwnProperty(f) && (e[f] = b[f] === void 0 && g !== void 0 ? g[f] : b[f]); 5706 } 5707 var f = arguments.length - 2; 5708 if (f === 1) 5709 e.children = c; 5710 else if (1 < f) { 5711 g = Array(f); 5712 for (var m = 0; m < f; m++) 5713 g[m] = arguments[m + 2]; 5714 e.children = g; 5715 } 5716 return { 5717 $$typeof: n, 5718 type: a.type, 5719 key: d, 5720 ref: k, 5721 props: e, 5722 _owner: h 5723 }; 5724 }; 5725 exports.createContext = function(a, b) { 5726 b === void 0 && (b = null); 5727 a = {$$typeof: r, _calculateChangedBits: b, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null}; 5728 a.Provider = {$$typeof: q, _context: a}; 5729 return a.Consumer = a; 5730 }; 5731 exports.createElement = J; 5732 exports.createFactory = function(a) { 5733 var b = J.bind(null, a); 5734 b.type = a; 5735 return b; 5736 }; 5737 exports.createRef = function() { 5738 return {current: null}; 5739 }; 5740 exports.forwardRef = function(a) { 5741 return {$$typeof: t, render: a}; 5742 }; 5743 exports.isValidElement = L; 5744 exports.lazy = function(a) { 5745 return {$$typeof: v, _payload: {_status: -1, _result: a}, _init: Q}; 5746 }; 5747 exports.memo = function(a, b) { 5748 return {$$typeof: u, type: a, compare: b === void 0 ? null : b}; 5749 }; 5750 exports.useCallback = function(a, b) { 5751 return S().useCallback(a, b); 5752 }; 5753 exports.useContext = function(a, b) { 5754 return S().useContext(a, b); 5755 }; 5756 exports.useDebugValue = function() { 5757 }; 5758 exports.useEffect = function(a, b) { 5759 return S().useEffect(a, b); 5760 }; 5761 exports.useImperativeHandle = function(a, b, c) { 5762 return S().useImperativeHandle(a, b, c); 5763 }; 5764 exports.useLayoutEffect = function(a, b) { 5765 return S().useLayoutEffect(a, b); 5766 }; 5767 exports.useMemo = function(a, b) { 5768 return S().useMemo(a, b); 5769 }; 5770 exports.useReducer = function(a, b, c) { 5771 return S().useReducer(a, b, c); 5772 }; 5773 exports.useRef = function(a) { 5774 return S().useRef(a); 5775 }; 5776 exports.useState = function(a) { 5777 return S().useState(a); 5778 }; 5779 exports.version = "17.0.2"; 5780 }); 5781 5782 // node_modules/react/index.js 5783 var require_react = __commonJS((exports, module) => { 5784 "use strict"; 5785 if (true) { 5786 module.exports = require_react_production_min(); 5787 } else {} 5788 }); 5789 5790 // react-shim.js 5791 var React = __toModule(require_react()); 5792 5793 // app.jsx 5794 function ReactWordpress() { 5795 return /* @__PURE__ */ React.createElement("h1", null, "Hello, React-Wordpress!"); 5796 } 5797})(); 5798 5799 5800/***/ }), 5801
vendor: 29,695 bytes, lines 5802-6723
5802/***/ "./node_modules/react/cjs/react-jsx-runtime.development.js": 5803/*!*****************************************************************!*\ 5804 !*** ./node_modules/react/cjs/react-jsx-runtime.development.js ***! 5805 \*****************************************************************/ 5806/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 5807 5808"use strict"; 5809/** @license React v16.14.0 5810 * react-jsx-runtime.development.js 5811 * 5812 * Copyright (c) Facebook, Inc. and its affiliates. 5813 * 5814 * This source code is licensed under the MIT license found in the 5815 * LICENSE file in the root directory of this source tree. 5816 */ 5817 5818 5819 5820if (true) { 5821 (function() { 5822'use strict'; 5823 5824var React = __webpack_require__(/*! react */ "./node_modules/react/index.js"); 5825 5826// ATTENTION 5827// When adding new symbols to this file, 5828// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols' 5829// The Symbol used to tag the ReactElement-like types. If there is no native Symbol 5830// nor polyfill, then a plain number is used for performance. 5831var REACT_ELEMENT_TYPE = 0xeac7; 5832var REACT_PORTAL_TYPE = 0xeaca; 5833exports.Fragment = 0xeacb; 5834var REACT_STRICT_MODE_TYPE = 0xeacc; 5835var REACT_PROFILER_TYPE = 0xead2; 5836var REACT_PROVIDER_TYPE = 0xeacd; 5837var REACT_CONTEXT_TYPE = 0xeace; 5838var REACT_FORWARD_REF_TYPE = 0xead0; 5839var REACT_SUSPENSE_TYPE = 0xead1; 5840var REACT_SUSPENSE_LIST_TYPE = 0xead8; 5841var REACT_MEMO_TYPE = 0xead3; 5842var REACT_LAZY_TYPE = 0xead4; 5843var REACT_BLOCK_TYPE = 0xead9; 5844var REACT_SERVER_BLOCK_TYPE = 0xeada; 5845var REACT_FUNDAMENTAL_TYPE = 0xead5; 5846var REACT_SCOPE_TYPE = 0xead7; 5847var REACT_OPAQUE_ID_TYPE = 0xeae0; 5848var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; 5849var REACT_OFFSCREEN_TYPE = 0xeae2; 5850var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; 5851 5852if (typeof Symbol === 'function' && Symbol.for) { 5853 var symbolFor = Symbol.for; 5854 REACT_ELEMENT_TYPE = symbolFor('react.element'); 5855 REACT_PORTAL_TYPE = symbolFor('react.portal'); 5856 exports.Fragment = symbolFor('react.fragment'); 5857 REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); 5858 REACT_PROFILER_TYPE = symbolFor('react.profiler'); 5859 REACT_PROVIDER_TYPE = symbolFor('react.provider'); 5860 REACT_CONTEXT_TYPE = symbolFor('react.context'); 5861 REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); 5862 REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); 5863 REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); 5864 REACT_MEMO_TYPE = symbolFor('react.memo'); 5865 REACT_LAZY_TYPE = symbolFor('react.lazy'); 5866 REACT_BLOCK_TYPE = symbolFor('react.block'); 5867 REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block'); 5868 REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental'); 5869 REACT_SCOPE_TYPE = symbolFor('react.scope'); 5870 REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id'); 5871 REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); 5872 REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); 5873 REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); 5874} 5875 5876var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; 5877var FAUX_ITERATOR_SYMBOL = '@@iterator'; 5878function getIteratorFn(maybeIterable) { 5879 if (maybeIterable === null || typeof maybeIterable !== 'object') { 5880 return null; 5881 } 5882 5883 var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; 5884 5885 if (typeof maybeIterator === 'function') { 5886 return maybeIterator; 5887 } 5888 5889 return null; 5890} 5891 5892var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; 5893 5894function error(format) { 5895 { 5896 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { 5897 args[_key2 - 1] = arguments[_key2]; 5898 } 5899 5900 printWarning('error', format, args); 5901 } 5902} 5903 5904function printWarning(level, format, args) { 5905 // When changing this logic, you might want to also 5906 // update consoleWithStackDev.www.js as well. 5907 { 5908 var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 5909 var stack = ''; 5910 5911 if (currentlyValidatingElement) { 5912 var name = getComponentName(currentlyValidatingElement.type); 5913 var owner = currentlyValidatingElement._owner; 5914 stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type)); 5915 } 5916 5917 stack += ReactDebugCurrentFrame.getStackAddendum(); 5918 5919 if (stack !== '') { 5920 format += '%s'; 5921 args = args.concat([stack]); 5922 } 5923 5924 var argsWithFormat = args.map(function (item) { 5925 return '' + item; 5926 }); // Careful: RN currently depends on this prefix 5927 5928 argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it 5929 // breaks IE9: https://github.com/facebook/react/issues/13610 5930 // eslint-disable-next-line react-internal/no-production-logging 5931 5932 Function.prototype.apply.call(console[level], console, argsWithFormat); 5933 } 5934} 5935 5936// Filter certain DOM attributes (e.g. src, href) if their values are empty strings. 5937 5938var enableScopeAPI = false; // Experimental Create Event Handle API. 5939 5940function isValidElementType(type) { 5941 if (typeof type === 'string' || typeof type === 'function') { 5942 return true; 5943 } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill). 5944 5945 5946 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 ) { 5947 return true; 5948 } 5949 5950 if (typeof type === 'object' && type !== null) { 5951 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) { 5952 return true; 5953 } 5954 } 5955 5956 return false; 5957} 5958 5959 5960var BEFORE_SLASH_RE = /^(.*)[\\\/]/; 5961function describeComponentFrame (name, source, ownerName) { 5962 var sourceInfo = ''; 5963 5964 if (source) { 5965 var path = source.fileName; 5966 var fileName = path.replace(BEFORE_SLASH_RE, ''); 5967 5968 { 5969 // In DEV, include code for a common special case: 5970 // prefer "folder/index.js" instead of just "index.js". 5971 if (/^index\./.test(fileName)) { 5972 var match = path.match(BEFORE_SLASH_RE); 5973 5974 if (match) { 5975 var pathBeforeSlash = match[1]; 5976 5977 if (pathBeforeSlash) { 5978 var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, ''); 5979 fileName = folderName + '/' + fileName; 5980 } 5981 } 5982 } 5983 } 5984 5985 sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')'; 5986 } else if (ownerName) { 5987 sourceInfo = ' (created by ' + ownerName + ')'; 5988 } 5989 5990 return '\n in ' + (name || 'Unknown') + sourceInfo; 5991} 5992 5993var Resolved = 1; 5994function refineResolvedLazyComponent(lazyComponent) { 5995 return lazyComponent._status === Resolved ? lazyComponent._result : null; 5996} 5997 5998function getWrappedName(outerType, innerType, wrapperName) { 5999 var functionName = innerType.displayName || innerType.name || ''; 6000 return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName); 6001} 6002 6003function getComponentName(type) { 6004 if (type == null) { 6005 // Host root, text node or just invalid type. 6006 return null; 6007 } 6008 6009 { 6010 if (typeof type.tag === 'number') { 6011 error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.'); 6012 } 6013 } 6014 6015 if (typeof type === 'function') { 6016 return type.displayName || type.name || null; 6017 } 6018 6019 if (typeof type === 'string') { 6020 return type; 6021 } 6022 6023 switch (type) { 6024 case exports.Fragment: 6025 return 'Fragment'; 6026 6027 case REACT_PORTAL_TYPE: 6028 return 'Portal'; 6029 6030 case REACT_PROFILER_TYPE: 6031 return "Profiler"; 6032 6033 case REACT_STRICT_MODE_TYPE: 6034 return 'StrictMode'; 6035 6036 case REACT_SUSPENSE_TYPE: 6037 return 'Suspense'; 6038 6039 case REACT_SUSPENSE_LIST_TYPE: 6040 return 'SuspenseList'; 6041 } 6042 6043 if (typeof type === 'object') { 6044 switch (type.$$typeof) { 6045 case REACT_CONTEXT_TYPE: 6046 return 'Context.Consumer'; 6047 6048 case REACT_PROVIDER_TYPE: 6049 return 'Context.Provider'; 6050 6051 case REACT_FORWARD_REF_TYPE: 6052 return getWrappedName(type, type.render, 'ForwardRef'); 6053 6054 case REACT_MEMO_TYPE: 6055 return getComponentName(type.type); 6056 6057 case REACT_BLOCK_TYPE: 6058 return getComponentName(type.render); 6059 6060 case REACT_LAZY_TYPE: 6061 { 6062 var thenable = type; 6063 var resolvedThenable = refineResolvedLazyComponent(thenable); 6064 6065 if (resolvedThenable) { 6066 return getComponentName(resolvedThenable); 6067 } 6068 6069 break; 6070 } 6071 } 6072 } 6073 6074 return null; 6075} 6076 6077var loggedTypeFailures = {}; 6078var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 6079var currentlyValidatingElement = null; 6080 6081function setCurrentlyValidatingElement(element) { 6082 { 6083 currentlyValidatingElement = element; 6084 } 6085} 6086 6087function checkPropTypes(typeSpecs, values, location, componentName, element) { 6088 { 6089 // $FlowFixMe This is okay but Flow doesn't know it. 6090 var has = Function.call.bind(Object.prototype.hasOwnProperty); 6091 6092 for (var typeSpecName in typeSpecs) { 6093 if (has(typeSpecs, typeSpecName)) { 6094 var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to 6095 // fail the render phase where it didn't fail before. So we log it. 6096 // After these have been cleaned up, we'll let them throw. 6097 6098 try { 6099 // This is intentionally an invariant that gets caught. It's the same 6100 // behavior as without this statement except with a better message. 6101 if (typeof typeSpecs[typeSpecName] !== 'function') { 6102 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`.'); 6103 err.name = 'Invariant Violation'; 6104 throw err; 6105 } 6106 6107 error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'); 6108 } catch (ex) { 6109 error$1 = ex; 6110 } 6111 6112 if (error$1 && !(error$1 instanceof Error)) { 6113 setCurrentlyValidatingElement(element); 6114 6115 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); 6116 6117 setCurrentlyValidatingElement(null); 6118 } 6119 6120 if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) { 6121 // Only monitor this failure once because there tends to be a lot of the 6122 // same error. 6123 loggedTypeFailures[error$1.message] = true; 6124 setCurrentlyValidatingElement(element); 6125 6126 error('Failed %s type: %s', location, error$1.message); 6127 6128 setCurrentlyValidatingElement(null); 6129 } 6130 } 6131 } 6132 } 6133} 6134 6135var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; 6136var hasOwnProperty = Object.prototype.hasOwnProperty; 6137var RESERVED_PROPS = { 6138 key: true, 6139 ref: true, 6140 __self: true, 6141 __source: true 6142}; 6143var specialPropKeyWarningShown; 6144var specialPropRefWarningShown; 6145var didWarnAboutStringRefs; 6146 6147{ 6148 didWarnAboutStringRefs = {}; 6149} 6150 6151function hasValidRef(config) { 6152 { 6153 if (hasOwnProperty.call(config, 'ref')) { 6154 var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; 6155 6156 if (getter && getter.isReactWarning) { 6157 return false; 6158 } 6159 } 6160 } 6161 6162 return config.ref !== undefined; 6163} 6164 6165function hasValidKey(config) { 6166 { 6167 if (hasOwnProperty.call(config, 'key')) { 6168 var getter = Object.getOwnPropertyDescriptor(config, 'key').get; 6169 6170 if (getter && getter.isReactWarning) { 6171 return false; 6172 } 6173 } 6174 } 6175 6176 return config.key !== undefined; 6177} 6178 6179function warnIfStringRefCannotBeAutoConverted(config, self) { 6180 { 6181 if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) { 6182 var componentName = getComponentName(ReactCurrentOwner.current.type); 6183 6184 if (!didWarnAboutStringRefs[componentName]) { 6185 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); 6186 6187 didWarnAboutStringRefs[componentName] = true; 6188 } 6189 } 6190 } 6191} 6192 6193function defineKeyPropWarningGetter(props, displayName) { 6194 { 6195 var warnAboutAccessingKey = function () { 6196 if (!specialPropKeyWarningShown) { 6197 specialPropKeyWarningShown = true; 6198 6199 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); 6200 } 6201 }; 6202 6203 warnAboutAccessingKey.isReactWarning = true; 6204 Object.defineProperty(props, 'key', { 6205 get: warnAboutAccessingKey, 6206 configurable: true 6207 }); 6208 } 6209} 6210 6211function defineRefPropWarningGetter(props, displayName) { 6212 { 6213 var warnAboutAccessingRef = function () { 6214 if (!specialPropRefWarningShown) { 6215 specialPropRefWarningShown = true; 6216 6217 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); 6218 } 6219 }; 6220 6221 warnAboutAccessingRef.isReactWarning = true; 6222 Object.defineProperty(props, 'ref', { 6223 get: warnAboutAccessingRef, 6224 configurable: true 6225 }); 6226 } 6227} 6228/** 6229 * Factory method to create a new React element. This no longer adheres to 6230 * the class pattern, so do not use new to call it. Also, instanceof check 6231 * will not work. Instead test $$typeof field against Symbol.for('react.element') to check 6232 * if something is a React Element. 6233 * 6234 * @param {*} type 6235 * @param {*} props 6236 * @param {*} key 6237 * @param {string|object} ref 6238 * @param {*} owner 6239 * @param {*} self A *temporary* helper to detect places where `this` is 6240 * different from the `owner` when React.createElement is called, so that we 6241 * can warn. We want to get rid of owner and replace string `ref`s with arrow 6242 * functions, and as long as `this` and owner are the same, there will be no 6243 * change in behavior. 6244 * @param {*} source An annotation object (added by a transpiler or otherwise) 6245 * indicating filename, line number, and/or other information. 6246 * @internal 6247 */ 6248 6249 6250var ReactElement = function (type, key, ref, self, source, owner, props) { 6251 var element = { 6252 // This tag allows us to uniquely identify this as a React Element 6253 $$typeof: REACT_ELEMENT_TYPE, 6254 // Built-in properties that belong on the element 6255 type: type, 6256 key: key, 6257 ref: ref, 6258 props: props, 6259 // Record the component responsible for creating this element. 6260 _owner: owner 6261 }; 6262 6263 { 6264 // The validation flag is currently mutative. We put it on 6265 // an external backing store so that we can freeze the whole object. 6266 // This can be replaced with a WeakMap once they are implemented in 6267 // commonly used development environments. 6268 element._store = {}; // To make comparing ReactElements easier for testing purposes, we make 6269 // the validation flag non-enumerable (where possible, which should 6270 // include every environment we run tests in), so the test framework 6271 // ignores it. 6272 6273 Object.defineProperty(element._store, 'validated', { 6274 configurable: false, 6275 enumerable: false, 6276 writable: true, 6277 value: false 6278 }); // self and source are DEV only properties. 6279 6280 Object.defineProperty(element, '_self', { 6281 configurable: false, 6282 enumerable: false, 6283 writable: false, 6284 value: self 6285 }); // Two elements created in two different places should be considered 6286 // equal for testing purposes and therefore we hide it from enumeration. 6287 6288 Object.defineProperty(element, '_source', { 6289 configurable: false, 6290 enumerable: false, 6291 writable: false, 6292 value: source 6293 }); 6294 6295 if (Object.freeze) { 6296 Object.freeze(element.props); 6297 Object.freeze(element); 6298 } 6299 } 6300 6301 return element; 6302}; 6303/** 6304 * https://github.com/reactjs/rfcs/pull/107 6305 * @param {*} type 6306 * @param {object} props 6307 * @param {string} key 6308 */ 6309 6310function jsxDEV(type, config, maybeKey, source, self) { 6311 { 6312 var propName; // Reserved names are extracted 6313 6314 var props = {}; 6315 var key = null; 6316 var ref = null; // Currently, key can be spread in as a prop. This causes a potential 6317 // issue if key is also explicitly declared (ie. <div {...props} key="Hi" /> 6318 // or <div key="Hi" {...props} /> ). We want to deprecate key spread, 6319 // but as an intermediary step, we will use jsxDEV for everything except 6320 // <div {...props} key="Hi" />, because we aren't currently able to tell if 6321 // key is explicitly declared to be undefined or not. 6322 6323 if (maybeKey !== undefined) { 6324 key = '' + maybeKey; 6325 } 6326 6327 if (hasValidKey(config)) { 6328 key = '' + config.key; 6329 } 6330 6331 if (hasValidRef(config)) { 6332 ref = config.ref; 6333 warnIfStringRefCannotBeAutoConverted(config, self); 6334 } // Remaining properties are added to a new props object 6335 6336 6337 for (propName in config) { 6338 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 6339 props[propName] = config[propName]; 6340 } 6341 } // Resolve default props 6342 6343 6344 if (type && type.defaultProps) { 6345 var defaultProps = type.defaultProps; 6346 6347 for (propName in defaultProps) { 6348 if (props[propName] === undefined) { 6349 props[propName] = defaultProps[propName]; 6350 } 6351 } 6352 } 6353 6354 if (key || ref) { 6355 var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; 6356 6357 if (key) { 6358 defineKeyPropWarningGetter(props, displayName); 6359 } 6360 6361 if (ref) { 6362 defineRefPropWarningGetter(props, displayName); 6363 } 6364 } 6365 6366 return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); 6367 } 6368} 6369 6370var ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner; 6371var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; 6372 6373function setCurrentlyValidatingElement$1(element) { 6374 currentlyValidatingElement = element; 6375} 6376 6377var propTypesMisspellWarningShown; 6378 6379{ 6380 propTypesMisspellWarningShown = false; 6381} 6382/** 6383 * Verifies the object is a ReactElement. 6384 * See https://reactjs.org/docs/react-api.html#isvalidelement 6385 * @param {?object} object 6386 * @return {boolean} True if `object` is a ReactElement. 6387 * @final 6388 */ 6389 6390function isValidElement(object) { 6391 { 6392 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; 6393 } 6394} 6395 6396function getDeclarationErrorAddendum() { 6397 { 6398 if (ReactCurrentOwner$1.current) { 6399 var name = getComponentName(ReactCurrentOwner$1.current.type); 6400 6401 if (name) { 6402 return '\n\nCheck the render method of `' + name + '`.'; 6403 } 6404 } 6405 6406 return ''; 6407 } 6408} 6409 6410function getSourceInfoErrorAddendum(source) { 6411 { 6412 if (source !== undefined) { 6413 var fileName = source.fileName.replace(/^.*[\\\/]/, ''); 6414 var lineNumber = source.lineNumber; 6415 return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.'; 6416 } 6417 6418 return ''; 6419 } 6420} 6421/** 6422 * Warn if there's no key explicitly set on dynamic arrays of children or 6423 * object keys are not valid. This allows us to keep track of children between 6424 * updates. 6425 */ 6426 6427 6428var ownerHasKeyUseWarning = {}; 6429 6430function getCurrentComponentErrorInfo(parentType) { 6431 { 6432 var info = getDeclarationErrorAddendum(); 6433 6434 if (!info) { 6435 var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; 6436 6437 if (parentName) { 6438 info = "\n\nCheck the top-level render call using <" + parentName + ">."; 6439 } 6440 } 6441 6442 return info; 6443 } 6444} 6445/** 6446 * Warn if the element doesn't have an explicit key assigned to it. 6447 * This element is in an array. The array could grow and shrink or be 6448 * reordered. All children that haven't already been validated are required to 6449 * have a "key" property assigned to it. Error statuses are cached so a warning 6450 * will only be shown once. 6451 * 6452 * @internal 6453 * @param {ReactElement} element Element that requires a key. 6454 * @param {*} parentType element's parent's type. 6455 */ 6456 6457 6458function validateExplicitKey(element, parentType) { 6459 { 6460 if (!element._store || element._store.validated || element.key != null) { 6461 return; 6462 } 6463 6464 element._store.validated = true; 6465 var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); 6466 6467 if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { 6468 return; 6469 } 6470 6471 ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a 6472 // property, it may be the creator of the child that's responsible for 6473 // assigning it a key. 6474 6475 var childOwner = ''; 6476 6477 if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) { 6478 // Give the component that originally created this child. 6479 childOwner = " It was passed a child from " + getComponentName(element._owner.type) + "."; 6480 } 6481 6482 setCurrentlyValidatingElement$1(element); 6483 6484 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); 6485 6486 setCurrentlyValidatingElement$1(null); 6487 } 6488} 6489/** 6490 * Ensure that every element either is passed in a static location, in an 6491 * array with an explicit keys property defined, or in an object literal 6492 * with valid key property. 6493 * 6494 * @internal 6495 * @param {ReactNode} node Statically passed child of any type. 6496 * @param {*} parentType node's parent's type. 6497 */ 6498 6499 6500function validateChildKeys(node, parentType) { 6501 { 6502 if (typeof node !== 'object') { 6503 return; 6504 } 6505 6506 if (Array.isArray(node)) { 6507 for (var i = 0; i < node.length; i++) { 6508 var child = node[i]; 6509 6510 if (isValidElement(child)) { 6511 validateExplicitKey(child, parentType); 6512 } 6513 } 6514 } else if (isValidElement(node)) { 6515 // This element was passed in a valid location. 6516 if (node._store) { 6517 node._store.validated = true; 6518 } 6519 } else if (node) { 6520 var iteratorFn = getIteratorFn(node); 6521 6522 if (typeof iteratorFn === 'function') { 6523 // Entry iterators used to provide implicit keys, 6524 // but now we print a separate warning for them later. 6525 if (iteratorFn !== node.entries) { 6526 var iterator = iteratorFn.call(node); 6527 var step; 6528 6529 while (!(step = iterator.next()).done) { 6530 if (isValidElement(step.value)) { 6531 validateExplicitKey(step.value, parentType); 6532 } 6533 } 6534 } 6535 } 6536 } 6537 } 6538} 6539/** 6540 * Given an element, validate that its props follow the propTypes definition, 6541 * provided by the type. 6542 * 6543 * @param {ReactElement} element 6544 */ 6545 6546 6547function validatePropTypes(element) { 6548 { 6549 var type = element.type; 6550 6551 if (type === null || type === undefined || typeof type === 'string') { 6552 return; 6553 } 6554 6555 var propTypes; 6556 6557 if (typeof type === 'function') { 6558 propTypes = type.propTypes; 6559 } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here. 6560 // Inner props are checked in the reconciler. 6561 type.$$typeof === REACT_MEMO_TYPE)) { 6562 propTypes = type.propTypes; 6563 } else { 6564 return; 6565 } 6566 6567 if (propTypes) { 6568 // Intentionally inside to avoid triggering lazy initializers: 6569 var name = getComponentName(type); 6570 checkPropTypes(propTypes, element.props, 'prop', name, element); 6571 } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) { 6572 propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers: 6573 6574 var _name = getComponentName(type); 6575 6576 error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown'); 6577 } 6578 6579 if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) { 6580 error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.'); 6581 } 6582 } 6583} 6584/** 6585 * Given a fragment, validate that it can only be provided with fragment props 6586 * @param {ReactElement} fragment 6587 */ 6588 6589 6590function validateFragmentProps(fragment) { 6591 { 6592 var keys = Object.keys(fragment.props); 6593 6594 for (var i = 0; i < keys.length; i++) { 6595 var key = keys[i]; 6596 6597 if (key !== 'children' && key !== 'key') { 6598 setCurrentlyValidatingElement$1(fragment); 6599 6600 error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); 6601 6602 setCurrentlyValidatingElement$1(null); 6603 break; 6604 } 6605 } 6606 6607 if (fragment.ref !== null) { 6608 setCurrentlyValidatingElement$1(fragment); 6609 6610 error('Invalid attribute `ref` supplied to `React.Fragment`.'); 6611 6612 setCurrentlyValidatingElement$1(null); 6613 } 6614 } 6615} 6616 6617function jsxWithValidation(type, props, key, isStaticChildren, source, self) { 6618 { 6619 var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to 6620 // succeed and there will likely be errors in render. 6621 6622 if (!validType) { 6623 var info = ''; 6624 6625 if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { 6626 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."; 6627 } 6628 6629 var sourceInfo = getSourceInfoErrorAddendum(source); 6630 6631 if (sourceInfo) { 6632 info += sourceInfo; 6633 } else { 6634 info += getDeclarationErrorAddendum(); 6635 } 6636 6637 var typeString; 6638 6639 if (type === null) { 6640 typeString = 'null'; 6641 } else if (Array.isArray(type)) { 6642 typeString = 'array'; 6643 } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) { 6644 typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />"; 6645 info = ' Did you accidentally export a JSX literal instead of a component?'; 6646 } else { 6647 typeString = typeof type; 6648 } 6649 6650 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); 6651 } 6652 6653 var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used. 6654 // TODO: Drop this when these are no longer allowed as the type argument. 6655 6656 if (element == null) { 6657 return element; 6658 } // Skip key warning if the type isn't valid since our key validation logic 6659 // doesn't expect a non-string/function type and can throw confusing errors. 6660 // We don't want exception behavior to differ between dev and prod. 6661 // (Rendering will throw with a helpful message and as soon as the type is 6662 // fixed, the key warnings will appear.) 6663 6664 6665 if (validType) { 6666 var children = props.children; 6667 6668 if (children !== undefined) { 6669 if (isStaticChildren) { 6670 if (Array.isArray(children)) { 6671 for (var i = 0; i < children.length; i++) { 6672 validateChildKeys(children[i], type); 6673 } 6674 6675 if (Object.freeze) { 6676 Object.freeze(children); 6677 } 6678 } else { 6679 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.'); 6680 } 6681 } else { 6682 validateChildKeys(children, type); 6683 } 6684 } 6685 } 6686 6687 if (type === exports.Fragment) { 6688 validateFragmentProps(element); 6689 } else { 6690 validatePropTypes(element); 6691 } 6692 6693 return element; 6694 } 6695} // These two functions exist to still get child warnings in dev 6696// even with the prod transform. This means that jsxDEV is purely 6697// opt-in behavior for better messages but that we won't stop 6698// giving you warnings if you use production apis. 6699 6700function jsxWithValidationStatic(type, props, key) { 6701 { 6702 return jsxWithValidation(type, props, key, true); 6703 } 6704} 6705function jsxWithValidationDynamic(type, props, key) { 6706 { 6707 return jsxWithValidation(type, props, key, false); 6708 } 6709} 6710 6711var jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children. 6712// for now we can ship identical prod functions 6713 6714var jsxs = jsxWithValidationStatic ; 6715 6716exports.jsx = jsx; 6717exports.jsxs = jsxs; 6718 })(); 6719} 6720 6721 6722/***/ }), 6723
vendor: 61,046 bytes, lines 6724-8646
6724/***/ "./node_modules/react/cjs/react.development.js": 6725/*!*****************************************************!*\ 6726 !*** ./node_modules/react/cjs/react.development.js ***! 6727 \*****************************************************/ 6728/***/ ((__unused_webpack_module, exports, __webpack_require__) => { 6729 6730"use strict"; 6731/** @license React v16.14.0 6732 * react.development.js 6733 * 6734 * Copyright (c) Facebook, Inc. and its affiliates. 6735 * 6736 * This source code is licensed under the MIT license found in the 6737 * LICENSE file in the root directory of this source tree. 6738 */ 6739 6740 6741 6742 6743 6744if (true) { 6745 (function() { 6746'use strict'; 6747 6748var _assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js"); 6749var checkPropTypes = __webpack_require__(/*! prop-types/checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js"); 6750 6751var ReactVersion = '16.14.0'; 6752 6753// The Symbol used to tag the ReactElement-like types. If there is no native Symbol 6754// nor polyfill, then a plain number is used for performance. 6755var hasSymbol = typeof Symbol === 'function' && Symbol.for; 6756var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7; 6757var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca; 6758var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb; 6759var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc; 6760var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2; 6761var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd; 6762var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary 6763var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf; 6764var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0; 6765var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1; 6766var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8; 6767var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3; 6768var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4; 6769var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9; 6770var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5; 6771var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6; 6772var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7; 6773var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; 6774var FAUX_ITERATOR_SYMBOL = '@@iterator'; 6775function getIteratorFn(maybeIterable) { 6776 if (maybeIterable === null || typeof maybeIterable !== 'object') { 6777 return null; 6778 } 6779 6780 var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]; 6781 6782 if (typeof maybeIterator === 'function') { 6783 return maybeIterator; 6784 } 6785 6786 return null; 6787} 6788 6789/** 6790 * Keeps track of the current dispatcher. 6791 */ 6792var ReactCurrentDispatcher = { 6793 /** 6794 * @internal 6795 * @type {ReactComponent} 6796 */ 6797 current: null 6798}; 6799 6800/** 6801 * Keeps track of the current batch's configuration such as how long an update 6802 * should suspend for if it needs to. 6803 */ 6804var ReactCurrentBatchConfig = { 6805 suspense: null 6806}; 6807 6808/** 6809 * Keeps track of the current owner. 6810 * 6811 * The current owner is the component who should own any components that are 6812 * currently being constructed. 6813 */ 6814var ReactCurrentOwner = { 6815 /** 6816 * @internal 6817 * @type {ReactComponent} 6818 */ 6819 current: null 6820}; 6821 6822var BEFORE_SLASH_RE = /^(.*)[\\\/]/; 6823function describeComponentFrame (name, source, ownerName) { 6824 var sourceInfo = ''; 6825 6826 if (source) { 6827 var path = source.fileName; 6828 var fileName = path.replace(BEFORE_SLASH_RE, ''); 6829 6830 { 6831 // In DEV, include code for a common special case: 6832 // prefer "folder/index.js" instead of just "index.js". 6833 if (/^index\./.test(fileName)) { 6834 var match = path.match(BEFORE_SLASH_RE); 6835 6836 if (match) { 6837 var pathBeforeSlash = match[1]; 6838 6839 if (pathBeforeSlash) { 6840 var folderName = pathBeforeSlash.replace(BEFORE_SLASH_RE, ''); 6841 fileName = folderName + '/' + fileName; 6842 } 6843 } 6844 } 6845 } 6846 6847 sourceInfo = ' (at ' + fileName + ':' + source.lineNumber + ')'; 6848 } else if (ownerName) { 6849 sourceInfo = ' (created by ' + ownerName + ')'; 6850 } 6851 6852 return '\n in ' + (name || 'Unknown') + sourceInfo; 6853} 6854 6855var Resolved = 1; 6856function refineResolvedLazyComponent(lazyComponent) { 6857 return lazyComponent._status === Resolved ? lazyComponent._result : null; 6858} 6859 6860function getWrappedName(outerType, innerType, wrapperName) { 6861 var functionName = innerType.displayName || innerType.name || ''; 6862 return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName); 6863} 6864 6865function getComponentName(type) { 6866 if (type == null) { 6867 // Host root, text node or just invalid type. 6868 return null; 6869 } 6870 6871 { 6872 if (typeof type.tag === 'number') { 6873 error('Received an unexpected object in getComponentName(). ' + 'This is likely a bug in React. Please file an issue.'); 6874 } 6875 } 6876 6877 if (typeof type === 'function') { 6878 return type.displayName || type.name || null; 6879 } 6880 6881 if (typeof type === 'string') { 6882 return type; 6883 } 6884 6885 switch (type) { 6886 case REACT_FRAGMENT_TYPE: 6887 return 'Fragment'; 6888 6889 case REACT_PORTAL_TYPE: 6890 return 'Portal'; 6891 6892 case REACT_PROFILER_TYPE: 6893 return "Profiler"; 6894 6895 case REACT_STRICT_MODE_TYPE: 6896 return 'StrictMode'; 6897 6898 case REACT_SUSPENSE_TYPE: 6899 return 'Suspense'; 6900 6901 case REACT_SUSPENSE_LIST_TYPE: 6902 return 'SuspenseList'; 6903 } 6904 6905 if (typeof type === 'object') { 6906 switch (type.$$typeof) { 6907 case REACT_CONTEXT_TYPE: 6908 return 'Context.Consumer'; 6909 6910 case REACT_PROVIDER_TYPE: 6911 return 'Context.Provider'; 6912 6913 case REACT_FORWARD_REF_TYPE: 6914 return getWrappedName(type, type.render, 'ForwardRef'); 6915 6916 case REACT_MEMO_TYPE: 6917 return getComponentName(type.type); 6918 6919 case REACT_BLOCK_TYPE: 6920 return getComponentName(type.render); 6921 6922 case REACT_LAZY_TYPE: 6923 { 6924 var thenable = type; 6925 var resolvedThenable = refineResolvedLazyComponent(thenable); 6926 6927 if (resolvedThenable) { 6928 return getComponentName(resolvedThenable); 6929 } 6930 6931 break; 6932 } 6933 } 6934 } 6935 6936 return null; 6937} 6938 6939var ReactDebugCurrentFrame = {}; 6940var currentlyValidatingElement = null; 6941function setCurrentlyValidatingElement(element) { 6942 { 6943 currentlyValidatingElement = element; 6944 } 6945} 6946 6947{ 6948 // Stack implementation injected by the current renderer. 6949 ReactDebugCurrentFrame.getCurrentStack = null; 6950 6951 ReactDebugCurrentFrame.getStackAddendum = function () { 6952 var stack = ''; // Add an extra top frame while an element is being validated 6953 6954 if (currentlyValidatingElement) { 6955 var name = getComponentName(currentlyValidatingElement.type); 6956 var owner = currentlyValidatingElement._owner; 6957 stack += describeComponentFrame(name, currentlyValidatingElement._source, owner && getComponentName(owner.type)); 6958 } // Delegate to the injected renderer-specific implementation 6959 6960 6961 var impl = ReactDebugCurrentFrame.getCurrentStack; 6962 6963 if (impl) { 6964 stack += impl() || ''; 6965 } 6966 6967 return stack; 6968 }; 6969} 6970 6971/** 6972 * Used by act() to track whether you're inside an act() scope. 6973 */ 6974var IsSomeRendererActing = { 6975 current: false 6976}; 6977 6978var ReactSharedInternals = { 6979 ReactCurrentDispatcher: ReactCurrentDispatcher, 6980 ReactCurrentBatchConfig: ReactCurrentBatchConfig, 6981 ReactCurrentOwner: ReactCurrentOwner, 6982 IsSomeRendererActing: IsSomeRendererActing, 6983 // Used by renderers to avoid bundling object-assign twice in UMD bundles: 6984 assign: _assign 6985}; 6986 6987{ 6988 _assign(ReactSharedInternals, { 6989 // These should not be included in production. 6990 ReactDebugCurrentFrame: ReactDebugCurrentFrame, 6991 // Shim for React DOM 16.0.0 which still destructured (but not used) this. 6992 // TODO: remove in React 17.0. 6993 ReactComponentTreeHook: {} 6994 }); 6995} 6996 6997// by calls to these methods by a Babel plugin. 6998// 6999// In PROD (or in packages without access to React internals), 7000// they are left as they are instead. 7001 7002function warn(format) { 7003 { 7004 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 7005 args[_key - 1] = arguments[_key]; 7006 } 7007 7008 printWarning('warn', format, args); 7009 } 7010} 7011function error(format) { 7012 { 7013 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { 7014 args[_key2 - 1] = arguments[_key2]; 7015 } 7016 7017 printWarning('error', format, args); 7018 } 7019} 7020 7021function printWarning(level, format, args) { 7022 // When changing this logic, you might want to also 7023 // update consoleWithStackDev.www.js as well. 7024 { 7025 var hasExistingStack = args.length > 0 && typeof args[args.length - 1] === 'string' && args[args.length - 1].indexOf('\n in') === 0; 7026 7027 if (!hasExistingStack) { 7028 var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame; 7029 var stack = ReactDebugCurrentFrame.getStackAddendum(); 7030 7031 if (stack !== '') { 7032 format += '%s'; 7033 args = args.concat([stack]); 7034 } 7035 } 7036 7037 var argsWithFormat = args.map(function (item) { 7038 return '' + item; 7039 }); // Careful: RN currently depends on this prefix 7040 7041 argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it 7042 // breaks IE9: https://github.com/facebook/react/issues/13610 7043 // eslint-disable-next-line react-internal/no-production-logging 7044 7045 Function.prototype.apply.call(console[level], console, argsWithFormat); 7046 7047 try { 7048 // --- Welcome to debugging React --- 7049 // This error was thrown as a convenience so that you can use this stack 7050 // to find the callsite that caused this warning to fire. 7051 var argIndex = 0; 7052 var message = 'Warning: ' + format.replace(/%s/g, function () { 7053 return args[argIndex++]; 7054 }); 7055 throw new Error(message); 7056 } catch (x) {} 7057 } 7058} 7059 7060var didWarnStateUpdateForUnmountedComponent = {}; 7061 7062function warnNoop(publicInstance, callerName) { 7063 { 7064 var _constructor = publicInstance.constructor; 7065 var componentName = _constructor && (_constructor.displayName || _constructor.name) || 'ReactClass'; 7066 var warningKey = componentName + "." + callerName; 7067 7068 if (didWarnStateUpdateForUnmountedComponent[warningKey]) { 7069 return; 7070 } 7071 7072 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); 7073 7074 didWarnStateUpdateForUnmountedComponent[warningKey] = true; 7075 } 7076} 7077/** 7078 * This is the abstract API for an update queue. 7079 */ 7080 7081 7082var ReactNoopUpdateQueue = { 7083 /** 7084 * Checks whether or not this composite component is mounted. 7085 * @param {ReactClass} publicInstance The instance we want to test. 7086 * @return {boolean} True if mounted, false otherwise. 7087 * @protected 7088 * @final 7089 */ 7090 isMounted: function (publicInstance) { 7091 return false; 7092 }, 7093 7094 /** 7095 * Forces an update. This should only be invoked when it is known with 7096 * certainty that we are **not** in a DOM transaction. 7097 * 7098 * You may want to call this when you know that some deeper aspect of the 7099 * component's state has changed but `setState` was not called. 7100 * 7101 * This will not invoke `shouldComponentUpdate`, but it will invoke 7102 * `componentWillUpdate` and `componentDidUpdate`. 7103 * 7104 * @param {ReactClass} publicInstance The instance that should rerender. 7105 * @param {?function} callback Called after component is updated. 7106 * @param {?string} callerName name of the calling function in the public API. 7107 * @internal 7108 */ 7109 enqueueForceUpdate: function (publicInstance, callback, callerName) { 7110 warnNoop(publicInstance, 'forceUpdate'); 7111 }, 7112 7113 /** 7114 * Replaces all of the state. Always use this or `setState` to mutate state. 7115 * You should treat `this.state` as immutable. 7116 * 7117 * There is no guarantee that `this.state` will be immediately updated, so 7118 * accessing `this.state` after calling this method may return the old value. 7119 * 7120 * @param {ReactClass} publicInstance The instance that should rerender. 7121 * @param {object} completeState Next state. 7122 * @param {?function} callback Called after component is updated. 7123 * @param {?string} callerName name of the calling function in the public API. 7124 * @internal 7125 */ 7126 enqueueReplaceState: function (publicInstance, completeState, callback, callerName) { 7127 warnNoop(publicInstance, 'replaceState'); 7128 }, 7129 7130 /** 7131 * Sets a subset of the state. This only exists because _pendingState is 7132 * internal. This provides a merging strategy that is not available to deep 7133 * properties which is confusing. TODO: Expose pendingState or don't use it 7134 * during the merge. 7135 * 7136 * @param {ReactClass} publicInstance The instance that should rerender. 7137 * @param {object} partialState Next partial state to be merged with state. 7138 * @param {?function} callback Called after component is updated. 7139 * @param {?string} Name of the calling function in the public API. 7140 * @internal 7141 */ 7142 enqueueSetState: function (publicInstance, partialState, callback, callerName) { 7143 warnNoop(publicInstance, 'setState'); 7144 } 7145}; 7146 7147var emptyObject = {}; 7148 7149{ 7150 Object.freeze(emptyObject); 7151} 7152/** 7153 * Base class helpers for the updating state of a component. 7154 */ 7155 7156 7157function Component(props, context, updater) { 7158 this.props = props; 7159 this.context = context; // If a component has string refs, we will assign a different object later. 7160 7161 this.refs = emptyObject; // We initialize the default updater but the real one gets injected by the 7162 // renderer. 7163 7164 this.updater = updater || ReactNoopUpdateQueue; 7165} 7166 7167Component.prototype.isReactComponent = {}; 7168/** 7169 * Sets a subset of the state. Always use this to mutate 7170 * state. You should treat `this.state` as immutable. 7171 * 7172 * There is no guarantee that `this.state` will be immediately updated, so 7173 * accessing `this.state` after calling this method may return the old value. 7174 * 7175 * There is no guarantee that calls to `setState` will run synchronously, 7176 * as they may eventually be batched together. You can provide an optional 7177 * callback that will be executed when the call to setState is actually 7178 * completed. 7179 * 7180 * When a function is provided to setState, it will be called at some point in 7181 * the future (not synchronously). It will be called with the up to date 7182 * component arguments (state, props, context). These values can be different 7183 * from this.* because your function may be called after receiveProps but before 7184 * shouldComponentUpdate, and this new state, props, and context will not yet be 7185 * assigned to this. 7186 * 7187 * @param {object|function} partialState Next partial state or function to 7188 * produce next partial state to be merged with current state. 7189 * @param {?function} callback Called after state is updated. 7190 * @final 7191 * @protected 7192 */ 7193 7194Component.prototype.setState = function (partialState, callback) { 7195 if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) { 7196 { 7197 throw Error( "setState(...): takes an object of state variables to update or a function which returns an object of state variables." ); 7198 } 7199 } 7200 7201 this.updater.enqueueSetState(this, partialState, callback, 'setState'); 7202}; 7203/** 7204 * Forces an update. This should only be invoked when it is known with 7205 * certainty that we are **not** in a DOM transaction. 7206 * 7207 * You may want to call this when you know that some deeper aspect of the 7208 * component's state has changed but `setState` was not called. 7209 * 7210 * This will not invoke `shouldComponentUpdate`, but it will invoke 7211 * `componentWillUpdate` and `componentDidUpdate`. 7212 * 7213 * @param {?function} callback Called after update is complete. 7214 * @final 7215 * @protected 7216 */ 7217 7218 7219Component.prototype.forceUpdate = function (callback) { 7220 this.updater.enqueueForceUpdate(this, callback, 'forceUpdate'); 7221}; 7222/** 7223 * Deprecated APIs. These APIs used to exist on classic React classes but since 7224 * we would like to deprecate them, we're not going to move them over to this 7225 * modern base class. Instead, we define a getter that warns if it's accessed. 7226 */ 7227 7228 7229{ 7230 var deprecatedAPIs = { 7231 isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'], 7232 replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).'] 7233 }; 7234 7235 var defineDeprecationWarning = function (methodName, info) { 7236 Object.defineProperty(Component.prototype, methodName, { 7237 get: function () { 7238 warn('%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]); 7239 7240 return undefined; 7241 } 7242 }); 7243 }; 7244 7245 for (var fnName in deprecatedAPIs) { 7246 if (deprecatedAPIs.hasOwnProperty(fnName)) { 7247 defineDeprecationWarning(fnName, deprecatedAPIs[fnName]); 7248 } 7249 } 7250} 7251 7252function ComponentDummy() {} 7253 7254ComponentDummy.prototype = Component.prototype; 7255/** 7256 * Convenience component with default shallow equality check for sCU. 7257 */ 7258 7259function PureComponent(props, context, updater) { 7260 this.props = props; 7261 this.context = context; // If a component has string refs, we will assign a different object later. 7262 7263 this.refs = emptyObject; 7264 this.updater = updater || ReactNoopUpdateQueue; 7265} 7266 7267var pureComponentPrototype = PureComponent.prototype = new ComponentDummy(); 7268pureComponentPrototype.constructor = PureComponent; // Avoid an extra prototype jump for these methods. 7269 7270_assign(pureComponentPrototype, Component.prototype); 7271 7272pureComponentPrototype.isPureReactComponent = true; 7273 7274// an immutable object with a single mutable value 7275function createRef() { 7276 var refObject = { 7277 current: null 7278 }; 7279 7280 { 7281 Object.seal(refObject); 7282 } 7283 7284 return refObject; 7285} 7286 7287var hasOwnProperty = Object.prototype.hasOwnProperty; 7288var RESERVED_PROPS = { 7289 key: true, 7290 ref: true, 7291 __self: true, 7292 __source: true 7293}; 7294var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs; 7295 7296{ 7297 didWarnAboutStringRefs = {}; 7298} 7299 7300function hasValidRef(config) { 7301 { 7302 if (hasOwnProperty.call(config, 'ref')) { 7303 var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; 7304 7305 if (getter && getter.isReactWarning) { 7306 return false; 7307 } 7308 } 7309 } 7310 7311 return config.ref !== undefined; 7312} 7313 7314function hasValidKey(config) { 7315 { 7316 if (hasOwnProperty.call(config, 'key')) { 7317 var getter = Object.getOwnPropertyDescriptor(config, 'key').get; 7318 7319 if (getter && getter.isReactWarning) { 7320 return false; 7321 } 7322 } 7323 } 7324 7325 return config.key !== undefined; 7326} 7327 7328function defineKeyPropWarningGetter(props, displayName) { 7329 var warnAboutAccessingKey = function () { 7330 { 7331 if (!specialPropKeyWarningShown) { 7332 specialPropKeyWarningShown = true; 7333 7334 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); 7335 } 7336 } 7337 }; 7338 7339 warnAboutAccessingKey.isReactWarning = true; 7340 Object.defineProperty(props, 'key', { 7341 get: warnAboutAccessingKey, 7342 configurable: true 7343 }); 7344} 7345 7346function defineRefPropWarningGetter(props, displayName) { 7347 var warnAboutAccessingRef = function () { 7348 { 7349 if (!specialPropRefWarningShown) { 7350 specialPropRefWarningShown = true; 7351 7352 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); 7353 } 7354 } 7355 }; 7356 7357 warnAboutAccessingRef.isReactWarning = true; 7358 Object.defineProperty(props, 'ref', { 7359 get: warnAboutAccessingRef, 7360 configurable: true 7361 }); 7362} 7363 7364function warnIfStringRefCannotBeAutoConverted(config) { 7365 { 7366 if (typeof config.ref === 'string' && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) { 7367 var componentName = getComponentName(ReactCurrentOwner.current.type); 7368 7369 if (!didWarnAboutStringRefs[componentName]) { 7370 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); 7371 7372 didWarnAboutStringRefs[componentName] = true; 7373 } 7374 } 7375 } 7376} 7377/** 7378 * Factory method to create a new React element. This no longer adheres to 7379 * the class pattern, so do not use new to call it. Also, instanceof check 7380 * will not work. Instead test $$typeof field against Symbol.for('react.element') to check 7381 * if something is a React Element. 7382 * 7383 * @param {*} type 7384 * @param {*} props 7385 * @param {*} key 7386 * @param {string|object} ref 7387 * @param {*} owner 7388 * @param {*} self A *temporary* helper to detect places where `this` is 7389 * different from the `owner` when React.createElement is called, so that we 7390 * can warn. We want to get rid of owner and replace string `ref`s with arrow 7391 * functions, and as long as `this` and owner are the same, there will be no 7392 * change in behavior. 7393 * @param {*} source An annotation object (added by a transpiler or otherwise) 7394 * indicating filename, line number, and/or other information. 7395 * @internal 7396 */ 7397 7398 7399var ReactElement = function (type, key, ref, self, source, owner, props) { 7400 var element = { 7401 // This tag allows us to uniquely identify this as a React Element 7402 $$typeof: REACT_ELEMENT_TYPE, 7403 // Built-in properties that belong on the element 7404 type: type, 7405 key: key, 7406 ref: ref, 7407 props: props, 7408 // Record the component responsible for creating this element. 7409 _owner: owner 7410 }; 7411 7412 { 7413 // The validation flag is currently mutative. We put it on 7414 // an external backing store so that we can freeze the whole object. 7415 // This can be replaced with a WeakMap once they are implemented in 7416 // commonly used development environments. 7417 element._store = {}; // To make comparing ReactElements easier for testing purposes, we make 7418 // the validation flag non-enumerable (where possible, which should 7419 // include every environment we run tests in), so the test framework 7420 // ignores it. 7421 7422 Object.defineProperty(element._store, 'validated', { 7423 configurable: false, 7424 enumerable: false, 7425 writable: true, 7426 value: false 7427 }); // self and source are DEV only properties. 7428 7429 Object.defineProperty(element, '_self', { 7430 configurable: false, 7431 enumerable: false, 7432 writable: false, 7433 value: self 7434 }); // Two elements created in two different places should be considered 7435 // equal for testing purposes and therefore we hide it from enumeration. 7436 7437 Object.defineProperty(element, '_source', { 7438 configurable: false, 7439 enumerable: false, 7440 writable: false, 7441 value: source 7442 }); 7443 7444 if (Object.freeze) { 7445 Object.freeze(element.props); 7446 Object.freeze(element); 7447 } 7448 } 7449 7450 return element; 7451}; 7452/** 7453 * Create and return a new ReactElement of the given type. 7454 * See https://reactjs.org/docs/react-api.html#createelement 7455 */ 7456 7457function createElement(type, config, children) { 7458 var propName; // Reserved names are extracted 7459 7460 var props = {}; 7461 var key = null; 7462 var ref = null; 7463 var self = null; 7464 var source = null; 7465 7466 if (config != null) { 7467 if (hasValidRef(config)) { 7468 ref = config.ref; 7469 7470 { 7471 warnIfStringRefCannotBeAutoConverted(config); 7472 } 7473 } 7474 7475 if (hasValidKey(config)) { 7476 key = '' + config.key; 7477 } 7478 7479 self = config.__self === undefined ? null : config.__self; 7480 source = config.__source === undefined ? null : config.__source; // Remaining properties are added to a new props object 7481 7482 for (propName in config) { 7483 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 7484 props[propName] = config[propName]; 7485 } 7486 } 7487 } // Children can be more than one argument, and those are transferred onto 7488 // the newly allocated props object. 7489 7490 7491 var childrenLength = arguments.length - 2; 7492 7493 if (childrenLength === 1) { 7494 props.children = children; 7495 } else if (childrenLength > 1) { 7496 var childArray = Array(childrenLength); 7497 7498 for (var i = 0; i < childrenLength; i++) { 7499 childArray[i] = arguments[i + 2]; 7500 } 7501 7502 { 7503 if (Object.freeze) { 7504 Object.freeze(childArray); 7505 } 7506 } 7507 7508 props.children = childArray; 7509 } // Resolve default props 7510 7511 7512 if (type && type.defaultProps) { 7513 var defaultProps = type.defaultProps; 7514 7515 for (propName in defaultProps) { 7516 if (props[propName] === undefined) { 7517 props[propName] = defaultProps[propName]; 7518 } 7519 } 7520 } 7521 7522 { 7523 if (key || ref) { 7524 var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type; 7525 7526 if (key) { 7527 defineKeyPropWarningGetter(props, displayName); 7528 } 7529 7530 if (ref) { 7531 defineRefPropWarningGetter(props, displayName); 7532 } 7533 } 7534 } 7535 7536 return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props); 7537} 7538function cloneAndReplaceKey(oldElement, newKey) { 7539 var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props); 7540 return newElement; 7541} 7542/** 7543 * Clone and return a new ReactElement using element as the starting point. 7544 * See https://reactjs.org/docs/react-api.html#cloneelement 7545 */ 7546 7547function cloneElement(element, config, children) { 7548 if (!!(element === null || element === undefined)) { 7549 { 7550 throw Error( "React.cloneElement(...): The argument must be a React element, but you passed " + element + "." ); 7551 } 7552 } 7553 7554 var propName; // Original props are copied 7555 7556 var props = _assign({}, element.props); // Reserved names are extracted 7557 7558 7559 var key = element.key; 7560 var ref = element.ref; // Self is preserved since the owner is preserved. 7561 7562 var self = element._self; // Source is preserved since cloneElement is unlikely to be targeted by a 7563 // transpiler, and the original source is probably a better indicator of the 7564 // true owner. 7565 7566 var source = element._source; // Owner will be preserved, unless ref is overridden 7567 7568 var owner = element._owner; 7569 7570 if (config != null) { 7571 if (hasValidRef(config)) { 7572 // Silently steal the ref from the parent. 7573 ref = config.ref; 7574 owner = ReactCurrentOwner.current; 7575 } 7576 7577 if (hasValidKey(config)) { 7578 key = '' + config.key; 7579 } // Remaining properties override existing props 7580 7581 7582 var defaultProps; 7583 7584 if (element.type && element.type.defaultProps) { 7585 defaultProps = element.type.defaultProps; 7586 } 7587 7588 for (propName in config) { 7589 if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { 7590 if (config[propName] === undefined && defaultProps !== undefined) { 7591 // Resolve default props 7592 props[propName] = defaultProps[propName]; 7593 } else { 7594 props[propName] = config[propName]; 7595 } 7596 } 7597 } 7598 } // Children can be more than one argument, and those are transferred onto 7599 // the newly allocated props object. 7600 7601 7602 var childrenLength = arguments.length - 2; 7603 7604 if (childrenLength === 1) { 7605 props.children = children; 7606 } else if (childrenLength > 1) { 7607 var childArray = Array(childrenLength); 7608 7609 for (var i = 0; i < childrenLength; i++) { 7610 childArray[i] = arguments[i + 2]; 7611 } 7612 7613 props.children = childArray; 7614 } 7615 7616 return ReactElement(element.type, key, ref, self, source, owner, props); 7617} 7618/** 7619 * Verifies the object is a ReactElement. 7620 * See https://reactjs.org/docs/react-api.html#isvalidelement 7621 * @param {?object} object 7622 * @return {boolean} True if `object` is a ReactElement. 7623 * @final 7624 */ 7625 7626function isValidElement(object) { 7627 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; 7628} 7629 7630var SEPARATOR = '.'; 7631var SUBSEPARATOR = ':'; 7632/** 7633 * Escape and wrap key so it is safe to use as a reactid 7634 * 7635 * @param {string} key to be escaped. 7636 * @return {string} the escaped key. 7637 */ 7638 7639function escape(key) { 7640 var escapeRegex = /[=:]/g; 7641 var escaperLookup = { 7642 '=': '=0', 7643 ':': '=2' 7644 }; 7645 var escapedString = ('' + key).replace(escapeRegex, function (match) { 7646 return escaperLookup[match]; 7647 }); 7648 return '$' + escapedString; 7649} 7650/** 7651 * TODO: Test that a single child and an array with one item have the same key 7652 * pattern. 7653 */ 7654 7655 7656var didWarnAboutMaps = false; 7657var userProvidedKeyEscapeRegex = /\/+/g; 7658 7659function escapeUserProvidedKey(text) { 7660 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/'); 7661} 7662 7663var POOL_SIZE = 10; 7664var traverseContextPool = []; 7665 7666function getPooledTraverseContext(mapResult, keyPrefix, mapFunction, mapContext) { 7667 if (traverseContextPool.length) { 7668 var traverseContext = traverseContextPool.pop(); 7669 traverseContext.result = mapResult; 7670 traverseContext.keyPrefix = keyPrefix; 7671 traverseContext.func = mapFunction; 7672 traverseContext.context = mapContext; 7673 traverseContext.count = 0; 7674 return traverseContext; 7675 } else { 7676 return { 7677 result: mapResult, 7678 keyPrefix: keyPrefix, 7679 func: mapFunction, 7680 context: mapContext, 7681 count: 0 7682 }; 7683 } 7684} 7685 7686function releaseTraverseContext(traverseContext) { 7687 traverseContext.result = null; 7688 traverseContext.keyPrefix = null; 7689 traverseContext.func = null; 7690 traverseContext.context = null; 7691 traverseContext.count = 0; 7692 7693 if (traverseContextPool.length < POOL_SIZE) { 7694 traverseContextPool.push(traverseContext); 7695 } 7696} 7697/** 7698 * @param {?*} children Children tree container. 7699 * @param {!string} nameSoFar Name of the key path so far. 7700 * @param {!function} callback Callback to invoke with each child found. 7701 * @param {?*} traverseContext Used to pass information throughout the traversal 7702 * process. 7703 * @return {!number} The number of children in this subtree. 7704 */ 7705 7706 7707function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) { 7708 var type = typeof children; 7709 7710 if (type === 'undefined' || type === 'boolean') { 7711 // All of the above are perceived as null. 7712 children = null; 7713 } 7714 7715 var invokeCallback = false; 7716 7717 if (children === null) { 7718 invokeCallback = true; 7719 } else { 7720 switch (type) { 7721 case 'string': 7722 case 'number': 7723 invokeCallback = true; 7724 break; 7725 7726 case 'object': 7727 switch (children.$$typeof) { 7728 case REACT_ELEMENT_TYPE: 7729 case REACT_PORTAL_TYPE: 7730 invokeCallback = true; 7731 } 7732 7733 } 7734 } 7735 7736 if (invokeCallback) { 7737 callback(traverseContext, children, // If it's the only child, treat the name as if it was wrapped in an array 7738 // so that it's consistent if the number of children grows. 7739 nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar); 7740 return 1; 7741 } 7742 7743 var child; 7744 var nextName; 7745 var subtreeCount = 0; // Count of children found in the current subtree. 7746 7747 var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR; 7748 7749 if (Array.isArray(children)) { 7750 for (var i = 0; i < children.length; i++) { 7751 child = children[i]; 7752 nextName = nextNamePrefix + getComponentKey(child, i); 7753 subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); 7754 } 7755 } else { 7756 var iteratorFn = getIteratorFn(children); 7757 7758 if (typeof iteratorFn === 'function') { 7759 7760 { 7761 // Warn about using Maps as children 7762 if (iteratorFn === children.entries) { 7763 if (!didWarnAboutMaps) { 7764 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.'); 7765 } 7766 7767 didWarnAboutMaps = true; 7768 } 7769 } 7770 7771 var iterator = iteratorFn.call(children); 7772 var step; 7773 var ii = 0; 7774 7775 while (!(step = iterator.next()).done) { 7776 child = step.value; 7777 nextName = nextNamePrefix + getComponentKey(child, ii++); 7778 subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext); 7779 } 7780 } else if (type === 'object') { 7781 var addendum = ''; 7782 7783 { 7784 addendum = ' If you meant to render a collection of children, use an array ' + 'instead.' + ReactDebugCurrentFrame.getStackAddendum(); 7785 } 7786 7787 var childrenString = '' + children; 7788 7789 { 7790 { 7791 throw Error( "Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum ); 7792 } 7793 } 7794 } 7795 } 7796 7797 return subtreeCount; 7798} 7799/** 7800 * Traverses children that are typically specified as `props.children`, but 7801 * might also be specified through attributes: 7802 * 7803 * - `traverseAllChildren(this.props.children, ...)` 7804 * - `traverseAllChildren(this.props.leftPanelChildren, ...)` 7805 * 7806 * The `traverseContext` is an optional argument that is passed through the 7807 * entire traversal. It can be used to store accumulations or anything else that 7808 * the callback might find relevant. 7809 * 7810 * @param {?*} children Children tree object. 7811 * @param {!function} callback To invoke upon traversing each child. 7812 * @param {?*} traverseContext Context for traversal. 7813 * @return {!number} The number of children in this subtree. 7814 */ 7815 7816 7817function traverseAllChildren(children, callback, traverseContext) { 7818 if (children == null) { 7819 return 0; 7820 } 7821 7822 return traverseAllChildrenImpl(children, '', callback, traverseContext); 7823} 7824/** 7825 * Generate a key string that identifies a component within a set. 7826 * 7827 * @param {*} component A component that could contain a manual key. 7828 * @param {number} index Index that is used if a manual key is not provided. 7829 * @return {string} 7830 */ 7831 7832 7833function getComponentKey(component, index) { 7834 // Do some typechecking here since we call this blindly. We want to ensure 7835 // that we don't block potential future ES APIs. 7836 if (typeof component === 'object' && component !== null && component.key != null) { 7837 // Explicit key 7838 return escape(component.key); 7839 } // Implicit key determined by the index in the set 7840 7841 7842 return index.toString(36); 7843} 7844 7845function forEachSingleChild(bookKeeping, child, name) { 7846 var func = bookKeeping.func, 7847 context = bookKeeping.context; 7848 func.call(context, child, bookKeeping.count++); 7849} 7850/** 7851 * Iterates through children that are typically specified as `props.children`. 7852 * 7853 * See https://reactjs.org/docs/react-api.html#reactchildrenforeach 7854 * 7855 * The provided forEachFunc(child, index) will be called for each 7856 * leaf child. 7857 * 7858 * @param {?*} children Children tree container. 7859 * @param {function(*, int)} forEachFunc 7860 * @param {*} forEachContext Context for forEachContext. 7861 */ 7862 7863 7864function forEachChildren(children, forEachFunc, forEachContext) { 7865 if (children == null) { 7866 return children; 7867 } 7868 7869 var traverseContext = getPooledTraverseContext(null, null, forEachFunc, forEachContext); 7870 traverseAllChildren(children, forEachSingleChild, traverseContext); 7871 releaseTraverseContext(traverseContext); 7872} 7873 7874function mapSingleChildIntoContext(bookKeeping, child, childKey) { 7875 var result = bookKeeping.result, 7876 keyPrefix = bookKeeping.keyPrefix, 7877 func = bookKeeping.func, 7878 context = bookKeeping.context; 7879 var mappedChild = func.call(context, child, bookKeeping.count++); 7880 7881 if (Array.isArray(mappedChild)) { 7882 mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, function (c) { 7883 return c; 7884 }); 7885 } else if (mappedChild != null) { 7886 if (isValidElement(mappedChild)) { 7887 mappedChild = cloneAndReplaceKey(mappedChild, // Keep both the (mapped) and old keys if they differ, just as 7888 // traverseAllChildren used to do for objects as children 7889 keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey); 7890 } 7891 7892 result.push(mappedChild); 7893 } 7894} 7895 7896function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) { 7897 var escapedPrefix = ''; 7898 7899 if (prefix != null) { 7900 escapedPrefix = escapeUserProvidedKey(prefix) + '/'; 7901 } 7902 7903 var traverseContext = getPooledTraverseContext(array, escapedPrefix, func, context); 7904 traverseAllChildren(children, mapSingleChildIntoContext, traverseContext); 7905 releaseTraverseContext(traverseContext); 7906} 7907/** 7908 * Maps children that are typically specified as `props.children`. 7909 * 7910 * See https://reactjs.org/docs/react-api.html#reactchildrenmap 7911 * 7912 * The provided mapFunction(child, key, index) will be called for each 7913 * leaf child. 7914 * 7915 * @param {?*} children Children tree container. 7916 * @param {function(*, int)} func The map function. 7917 * @param {*} context Context for mapFunction. 7918 * @return {object} Object containing the ordered map of results. 7919 */ 7920 7921 7922function mapChildren(children, func, context) { 7923 if (children == null) { 7924 return children; 7925 } 7926 7927 var result = []; 7928 mapIntoWithKeyPrefixInternal(children, result, null, func, context); 7929 return result; 7930} 7931/** 7932 * Count the number of children that are typically specified as 7933 * `props.children`. 7934 * 7935 * See https://reactjs.org/docs/react-api.html#reactchildrencount 7936 * 7937 * @param {?*} children Children tree container. 7938 * @return {number} The number of children. 7939 */ 7940 7941 7942function countChildren(children) { 7943 return traverseAllChildren(children, function () { 7944 return null; 7945 }, null); 7946} 7947/** 7948 * Flatten a children object (typically specified as `props.children`) and 7949 * return an array with appropriately re-keyed children. 7950 * 7951 * See https://reactjs.org/docs/react-api.html#reactchildrentoarray 7952 */ 7953 7954 7955function toArray(children) { 7956 var result = []; 7957 mapIntoWithKeyPrefixInternal(children, result, null, function (child) { 7958 return child; 7959 }); 7960 return result; 7961} 7962/** 7963 * Returns the first child in a collection of children and verifies that there 7964 * is only one child in the collection. 7965 * 7966 * See https://reactjs.org/docs/react-api.html#reactchildrenonly 7967 * 7968 * The current implementation of this function assumes that a single child gets 7969 * passed without a wrapper, but the purpose of this helper function is to 7970 * abstract away the particular structure of children. 7971 * 7972 * @param {?object} children Child collection structure. 7973 * @return {ReactElement} The first and only `ReactElement` contained in the 7974 * structure. 7975 */ 7976 7977 7978function onlyChild(children) { 7979 if (!isValidElement(children)) { 7980 { 7981 throw Error( "React.Children.only expected to receive a single React element child." ); 7982 } 7983 } 7984 7985 return children; 7986} 7987 7988function createContext(defaultValue, calculateChangedBits) { 7989 if (calculateChangedBits === undefined) { 7990 calculateChangedBits = null; 7991 } else { 7992 { 7993 if (calculateChangedBits !== null && typeof calculateChangedBits !== 'function') { 7994 error('createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits); 7995 } 7996 } 7997 } 7998 7999 var context = { 8000 $$typeof: REACT_CONTEXT_TYPE, 8001 _calculateChangedBits: calculateChangedBits, 8002 // As a workaround to support multiple concurrent renderers, we categorize 8003 // some renderers as primary and others as secondary. We only expect 8004 // there to be two concurrent renderers at most: React Native (primary) and 8005 // Fabric (secondary); React DOM (primary) and React ART (secondary). 8006 // Secondary renderers store their context values on separate fields. 8007 _currentValue: defaultValue, 8008 _currentValue2: defaultValue, 8009 // Used to track how many concurrent renderers this context currently 8010 // supports within in a single renderer. Such as parallel server rendering. 8011 _threadCount: 0, 8012 // These are circular 8013 Provider: null, 8014 Consumer: null 8015 }; 8016 context.Provider = { 8017 $$typeof: REACT_PROVIDER_TYPE, 8018 _context: context 8019 }; 8020 var hasWarnedAboutUsingNestedContextConsumers = false; 8021 var hasWarnedAboutUsingConsumerProvider = false; 8022 8023 { 8024 // A separate object, but proxies back to the original context object for 8025 // backwards compatibility. It has a different $$typeof, so we can properly 8026 // warn for the incorrect usage of Context as a Consumer. 8027 var Consumer = { 8028 $$typeof: REACT_CONTEXT_TYPE, 8029 _context: context, 8030 _calculateChangedBits: context._calculateChangedBits 8031 }; // $FlowFixMe: Flow complains about not setting a value, which is intentional here 8032 8033 Object.defineProperties(Consumer, { 8034 Provider: { 8035 get: function () { 8036 if (!hasWarnedAboutUsingConsumerProvider) { 8037 hasWarnedAboutUsingConsumerProvider = true; 8038 8039 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?'); 8040 } 8041 8042 return context.Provider; 8043 }, 8044 set: function (_Provider) { 8045 context.Provider = _Provider; 8046 } 8047 }, 8048 _currentValue: { 8049 get: function () { 8050 return context._currentValue; 8051 }, 8052 set: function (_currentValue) { 8053 context._currentValue = _currentValue; 8054 } 8055 }, 8056 _currentValue2: { 8057 get: function () { 8058 return context._currentValue2; 8059 }, 8060 set: function (_currentValue2) { 8061 context._currentValue2 = _currentValue2; 8062 } 8063 }, 8064 _threadCount: { 8065 get: function () { 8066 return context._threadCount; 8067 }, 8068 set: function (_threadCount) { 8069 context._threadCount = _threadCount; 8070 } 8071 }, 8072 Consumer: { 8073 get: function () { 8074 if (!hasWarnedAboutUsingNestedContextConsumers) { 8075 hasWarnedAboutUsingNestedContextConsumers = true; 8076 8077 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?'); 8078 } 8079 8080 return context.Consumer; 8081 } 8082 } 8083 }); // $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty 8084 8085 context.Consumer = Consumer; 8086 } 8087 8088 { 8089 context._currentRenderer = null; 8090 context._currentRenderer2 = null; 8091 } 8092 8093 return context; 8094} 8095 8096function lazy(ctor) { 8097 var lazyType = { 8098 $$typeof: REACT_LAZY_TYPE, 8099 _ctor: ctor, 8100 // React uses these fields to store the result. 8101 _status: -1, 8102 _result: null 8103 }; 8104 8105 { 8106 // In production, this would just set it on the object. 8107 var defaultProps; 8108 var propTypes; 8109 Object.defineProperties(lazyType, { 8110 defaultProps: { 8111 configurable: true, 8112 get: function () { 8113 return defaultProps; 8114 }, 8115 set: function (newDefaultProps) { 8116 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.'); 8117 8118 defaultProps = newDefaultProps; // Match production behavior more closely: 8119 8120 Object.defineProperty(lazyType, 'defaultProps', { 8121 enumerable: true 8122 }); 8123 } 8124 }, 8125 propTypes: { 8126 configurable: true, 8127 get: function () { 8128 return propTypes; 8129 }, 8130 set: function (newPropTypes) { 8131 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.'); 8132 8133 propTypes = newPropTypes; // Match production behavior more closely: 8134 8135 Object.defineProperty(lazyType, 'propTypes', { 8136 enumerable: true 8137 }); 8138 } 8139 } 8140 }); 8141 } 8142 8143 return lazyType; 8144} 8145 8146function forwardRef(render) { 8147 { 8148 if (render != null && render.$$typeof === REACT_MEMO_TYPE) { 8149 error('forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).'); 8150 } else if (typeof render !== 'function') { 8151 error('forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render); 8152 } else { 8153 if (render.length !== 0 && render.length !== 2) { 8154 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.'); 8155 } 8156 } 8157 8158 if (render != null) { 8159 if (render.defaultProps != null || render.propTypes != null) { 8160 error('forwardRef render functions do not support propTypes or defaultProps. ' + 'Did you accidentally pass a React component?'); 8161 } 8162 } 8163 } 8164 8165 return { 8166 $$typeof: REACT_FORWARD_REF_TYPE, 8167 render: render 8168 }; 8169} 8170 8171function isValidElementType(type) { 8172 return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. 8173 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); 8174} 8175 8176function memo(type, compare) { 8177 { 8178 if (!isValidElementType(type)) { 8179 error('memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type); 8180 } 8181 } 8182 8183 return { 8184 $$typeof: REACT_MEMO_TYPE, 8185 type: type, 8186 compare: compare === undefined ? null : compare 8187 }; 8188} 8189 8190function resolveDispatcher() { 8191 var dispatcher = ReactCurrentDispatcher.current; 8192 8193 if (!(dispatcher !== null)) { 8194 { 8195 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." ); 8196 } 8197 } 8198 8199 return dispatcher; 8200} 8201 8202function useContext(Context, unstable_observedBits) { 8203 var dispatcher = resolveDispatcher(); 8204 8205 { 8206 if (unstable_observedBits !== undefined) { 8207 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' : ''); 8208 } // TODO: add a more generic warning for invalid values. 8209 8210 8211 if (Context._context !== undefined) { 8212 var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs 8213 // and nobody should be using this in existing code. 8214 8215 if (realContext.Consumer === Context) { 8216 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?'); 8217 } else if (realContext.Provider === Context) { 8218 error('Calling useContext(Context.Provider) is not supported. ' + 'Did you mean to call useContext(Context) instead?'); 8219 } 8220 } 8221 } 8222 8223 return dispatcher.useContext(Context, unstable_observedBits); 8224} 8225function useState(initialState) { 8226 var dispatcher = resolveDispatcher(); 8227 return dispatcher.useState(initialState); 8228} 8229function useReducer(reducer, initialArg, init) { 8230 var dispatcher = resolveDispatcher(); 8231 return dispatcher.useReducer(reducer, initialArg, init); 8232} 8233function useRef(initialValue) { 8234 var dispatcher = resolveDispatcher(); 8235 return dispatcher.useRef(initialValue); 8236} 8237function useEffect(create, deps) { 8238 var dispatcher = resolveDispatcher(); 8239 return dispatcher.useEffect(create, deps); 8240} 8241function useLayoutEffect(create, deps) { 8242 var dispatcher = resolveDispatcher(); 8243 return dispatcher.useLayoutEffect(create, deps); 8244} 8245function useCallback(callback, deps) { 8246 var dispatcher = resolveDispatcher(); 8247 return dispatcher.useCallback(callback, deps); 8248} 8249function useMemo(create, deps) { 8250 var dispatcher = resolveDispatcher(); 8251 return dispatcher.useMemo(create, deps); 8252} 8253function useImperativeHandle(ref, create, deps) { 8254 var dispatcher = resolveDispatcher(); 8255 return dispatcher.useImperativeHandle(ref, create, deps); 8256} 8257function useDebugValue(value, formatterFn) { 8258 { 8259 var dispatcher = resolveDispatcher(); 8260 return dispatcher.useDebugValue(value, formatterFn); 8261 } 8262} 8263 8264var propTypesMisspellWarningShown; 8265 8266{ 8267 propTypesMisspellWarningShown = false; 8268} 8269 8270function getDeclarationErrorAddendum() { 8271 if (ReactCurrentOwner.current) { 8272 var name = getComponentName(ReactCurrentOwner.current.type); 8273 8274 if (name) { 8275 return '\n\nCheck the render method of `' + name + '`.'; 8276 } 8277 } 8278 8279 return ''; 8280} 8281 8282function getSourceInfoErrorAddendum(source) { 8283 if (source !== undefined) { 8284 var fileName = source.fileName.replace(/^.*[\\\/]/, ''); 8285 var lineNumber = source.lineNumber; 8286 return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.'; 8287 } 8288 8289 return ''; 8290} 8291 8292function getSourceInfoErrorAddendumForProps(elementProps) { 8293 if (elementProps !== null && elementProps !== undefined) { 8294 return getSourceInfoErrorAddendum(elementProps.__source); 8295 } 8296 8297 return ''; 8298} 8299/** 8300 * Warn if there's no key explicitly set on dynamic arrays of children or 8301 * object keys are not valid. This allows us to keep track of children between 8302 * updates. 8303 */ 8304 8305 8306var ownerHasKeyUseWarning = {}; 8307 8308function getCurrentComponentErrorInfo(parentType) { 8309 var info = getDeclarationErrorAddendum(); 8310 8311 if (!info) { 8312 var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; 8313 8314 if (parentName) { 8315 info = "\n\nCheck the top-level render call using <" + parentName + ">."; 8316 } 8317 } 8318 8319 return info; 8320} 8321/** 8322 * Warn if the element doesn't have an explicit key assigned to it. 8323 * This element is in an array. The array could grow and shrink or be 8324 * reordered. All children that haven't already been validated are required to 8325 * have a "key" property assigned to it. Error statuses are cached so a warning 8326 * will only be shown once. 8327 * 8328 * @internal 8329 * @param {ReactElement} element Element that requires a key. 8330 * @param {*} parentType element's parent's type. 8331 */ 8332 8333 8334function validateExplicitKey(element, parentType) { 8335 if (!element._store || element._store.validated || element.key != null) { 8336 return; 8337 } 8338 8339 element._store.validated = true; 8340 var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType); 8341 8342 if (ownerHasKeyUseWarning[currentComponentErrorInfo]) { 8343 return; 8344 } 8345 8346 ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a 8347 // property, it may be the creator of the child that's responsible for 8348 // assigning it a key. 8349 8350 var childOwner = ''; 8351 8352 if (element && element._owner && element._owner !== ReactCurrentOwner.current) { 8353 // Give the component that originally created this child. 8354 childOwner = " It was passed a child from " + getComponentName(element._owner.type) + "."; 8355 } 8356 8357 setCurrentlyValidatingElement(element); 8358 8359 { 8360 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); 8361 } 8362 8363 setCurrentlyValidatingElement(null); 8364} 8365/** 8366 * Ensure that every element either is passed in a static location, in an 8367 * array with an explicit keys property defined, or in an object literal 8368 * with valid key property. 8369 * 8370 * @internal 8371 * @param {ReactNode} node Statically passed child of any type. 8372 * @param {*} parentType node's parent's type. 8373 */ 8374 8375 8376function validateChildKeys(node, parentType) { 8377 if (typeof node !== 'object') { 8378 return; 8379 } 8380 8381 if (Array.isArray(node)) { 8382 for (var i = 0; i < node.length; i++) { 8383 var child = node[i]; 8384 8385 if (isValidElement(child)) { 8386 validateExplicitKey(child, parentType); 8387 } 8388 } 8389 } else if (isValidElement(node)) { 8390 // This element was passed in a valid location. 8391 if (node._store) { 8392 node._store.validated = true; 8393 } 8394 } else if (node) { 8395 var iteratorFn = getIteratorFn(node); 8396 8397 if (typeof iteratorFn === 'function') { 8398 // Entry iterators used to provide implicit keys, 8399 // but now we print a separate warning for them later. 8400 if (iteratorFn !== node.entries) { 8401 var iterator = iteratorFn.call(node); 8402 var step; 8403 8404 while (!(step = iterator.next()).done) { 8405 if (isValidElement(step.value)) { 8406 validateExplicitKey(step.value, parentType); 8407 } 8408 } 8409 } 8410 } 8411 } 8412} 8413/** 8414 * Given an element, validate that its props follow the propTypes definition, 8415 * provided by the type. 8416 * 8417 * @param {ReactElement} element 8418 */ 8419 8420 8421function validatePropTypes(element) { 8422 { 8423 var type = element.type; 8424 8425 if (type === null || type === undefined || typeof type === 'string') { 8426 return; 8427 } 8428 8429 var name = getComponentName(type); 8430 var propTypes; 8431 8432 if (typeof type === 'function') { 8433 propTypes = type.propTypes; 8434 } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here. 8435 // Inner props are checked in the reconciler. 8436 type.$$typeof === REACT_MEMO_TYPE)) { 8437 propTypes = type.propTypes; 8438 } else { 8439 return; 8440 } 8441 8442 if (propTypes) { 8443 setCurrentlyValidatingElement(element); 8444 checkPropTypes(propTypes, element.props, 'prop', name, ReactDebugCurrentFrame.getStackAddendum); 8445 setCurrentlyValidatingElement(null); 8446 } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) { 8447 propTypesMisspellWarningShown = true; 8448 8449 error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', name || 'Unknown'); 8450 } 8451 8452 if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) { 8453 error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.'); 8454 } 8455 } 8456} 8457/** 8458 * Given a fragment, validate that it can only be provided with fragment props 8459 * @param {ReactElement} fragment 8460 */ 8461 8462 8463function validateFragmentProps(fragment) { 8464 { 8465 setCurrentlyValidatingElement(fragment); 8466 var keys = Object.keys(fragment.props); 8467 8468 for (var i = 0; i < keys.length; i++) { 8469 var key = keys[i]; 8470 8471 if (key !== 'children' && key !== 'key') { 8472 error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key); 8473 8474 break; 8475 } 8476 } 8477 8478 if (fragment.ref !== null) { 8479 error('Invalid attribute `ref` supplied to `React.Fragment`.'); 8480 } 8481 8482 setCurrentlyValidatingElement(null); 8483 } 8484} 8485function createElementWithValidation(type, props, children) { 8486 var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to 8487 // succeed and there will likely be errors in render. 8488 8489 if (!validType) { 8490 var info = ''; 8491 8492 if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) { 8493 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."; 8494 } 8495 8496 var sourceInfo = getSourceInfoErrorAddendumForProps(props); 8497 8498 if (sourceInfo) { 8499 info += sourceInfo; 8500 } else { 8501 info += getDeclarationErrorAddendum(); 8502 } 8503 8504 var typeString; 8505 8506 if (type === null) { 8507 typeString = 'null'; 8508 } else if (Array.isArray(type)) { 8509 typeString = 'array'; 8510 } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) { 8511 typeString = "<" + (getComponentName(type.type) || 'Unknown') + " />"; 8512 info = ' Did you accidentally export a JSX literal instead of a component?'; 8513 } else { 8514 typeString = typeof type; 8515 } 8516 8517 { 8518 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); 8519 } 8520 } 8521 8522 var element = createElement.apply(this, arguments); // The result can be nullish if a mock or a custom function is used. 8523 // TODO: Drop this when these are no longer allowed as the type argument. 8524 8525 if (element == null) { 8526 return element; 8527 } // Skip key warning if the type isn't valid since our key validation logic 8528 // doesn't expect a non-string/function type and can throw confusing errors. 8529 // We don't want exception behavior to differ between dev and prod. 8530 // (Rendering will throw with a helpful message and as soon as the type is 8531 // fixed, the key warnings will appear.) 8532 8533 8534 if (validType) { 8535 for (var i = 2; i < arguments.length; i++) { 8536 validateChildKeys(arguments[i], type); 8537 } 8538 } 8539 8540 if (type === REACT_FRAGMENT_TYPE) { 8541 validateFragmentProps(element); 8542 } else { 8543 validatePropTypes(element); 8544 } 8545 8546 return element; 8547} 8548var didWarnAboutDeprecatedCreateFactory = false; 8549function createFactoryWithValidation(type) { 8550 var validatedFactory = createElementWithValidation.bind(null, type); 8551 validatedFactory.type = type; 8552 8553 { 8554 if (!didWarnAboutDeprecatedCreateFactory) { 8555 didWarnAboutDeprecatedCreateFactory = true; 8556 8557 warn('React.createFactory() is deprecated and will be removed in ' + 'a future major release. Consider using JSX ' + 'or use React.createElement() directly instead.'); 8558 } // Legacy hook: remove it 8559 8560 8561 Object.defineProperty(validatedFactory, 'type', { 8562 enumerable: false, 8563 get: function () { 8564 warn('Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.'); 8565 8566 Object.defineProperty(this, 'type', { 8567 value: type 8568 }); 8569 return type; 8570 } 8571 }); 8572 } 8573 8574 return validatedFactory; 8575} 8576function cloneElementWithValidation(element, props, children) { 8577 var newElement = cloneElement.apply(this, arguments); 8578 8579 for (var i = 2; i < arguments.length; i++) { 8580 validateChildKeys(arguments[i], newElement.type); 8581 } 8582 8583 validatePropTypes(newElement); 8584 return newElement; 8585} 8586 8587{ 8588 8589 try { 8590 var frozenObject = Object.freeze({}); 8591 var testMap = new Map([[frozenObject, null]]); 8592 var testSet = new Set([frozenObject]); // This is necessary for Rollup to not consider these unused. 8593 // https://github.com/rollup/rollup/issues/1771 8594 // TODO: we can remove these if Rollup fixes the bug. 8595 8596 testMap.set(0, 0); 8597 testSet.add(0); 8598 } catch (e) { 8599 } 8600} 8601 8602var createElement$1 = createElementWithValidation ; 8603var cloneElement$1 = cloneElementWithValidation ; 8604var createFactory = createFactoryWithValidation ; 8605var Children = { 8606 map: mapChildren, 8607 forEach: forEachChildren, 8608 count: countChildren, 8609 toArray: toArray, 8610 only: onlyChild 8611}; 8612 8613exports.Children = Children; 8614exports.Component = Component; 8615exports.Fragment = REACT_FRAGMENT_TYPE; 8616exports.Profiler = REACT_PROFILER_TYPE; 8617exports.PureComponent = PureComponent; 8618exports.StrictMode = REACT_STRICT_MODE_TYPE; 8619exports.Suspense = REACT_SUSPENSE_TYPE; 8620exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals; 8621exports.cloneElement = cloneElement$1; 8622exports.createContext = createContext; 8623exports.createElement = createElement$1; 8624exports.createFactory = createFactory; 8625exports.createRef = createRef; 8626exports.forwardRef = forwardRef; 8627exports.isValidElement = isValidElement; 8628exports.lazy = lazy; 8629exports.memo = memo; 8630exports.useCallback = useCallback; 8631exports.useContext = useContext; 8632exports.useDebugValue = useDebugValue; 8633exports.useEffect = useEffect; 8634exports.useImperativeHandle = useImperativeHandle; 8635exports.useLayoutEffect = useLayoutEffect; 8636exports.useMemo = useMemo; 8637exports.useReducer = useReducer; 8638exports.useRef = useRef; 8639exports.useState = useState; 8640exports.version = ReactVersion; 8641 })(); 8642} 8643 8644 8645/***/ }), 8646
vendor: 411 bytes, lines 8647-8662
8647/***/ "./node_modules/react/index.js": 8648/*!*************************************!*\ 8649 !*** ./node_modules/react/index.js ***! 8650 \*************************************/ 8651/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 8652 8653"use strict"; 8654 8655 8656if (false) {} else { 8657 module.exports = __webpack_require__(/*! ./cjs/react.development.js */ "./node_modules/react/cjs/react.development.js"); 8658} 8659 8660 8661/***/ }), 8662
vendor: 459 bytes, lines 8663-8678
8663/***/ "./node_modules/react/jsx-runtime.js": 8664/*!*******************************************!*\ 8665 !*** ./node_modules/react/jsx-runtime.js ***! 8666 \*******************************************/ 8667/***/ ((module, __unused_webpack_exports, __webpack_require__) => { 8668 8669"use strict"; 8670 8671 8672if (false) {} else { 8673 module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/react/cjs/react-jsx-runtime.development.js"); 8674} 8675 8676 8677/***/ }), 8678
vendor: 1,227 bytes, lines 8679-8713
8679/***/ "./node_modules/style-to-js/cjs/index.js": 8680/*!***********************************************!*\ 8681 !*** ./node_modules/style-to-js/cjs/index.js ***! 8682 \***********************************************/ 8683/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8684 8685"use strict"; 8686 8687var __importDefault = (this && this.__importDefault) || function (mod) { 8688 return (mod && mod.__esModule) ? mod : { "default": mod }; 8689}; 8690var style_to_object_1 = __importDefault(__webpack_require__(/*! style-to-object */ "./node_modules/style-to-object/cjs/index.js")); 8691var utilities_1 = __webpack_require__(/*! ./utilities */ "./node_modules/style-to-js/cjs/utilities.js"); 8692/** 8693 * Parses CSS inline style to JavaScript object (camelCased). 8694 */ 8695function StyleToJS(style, options) { 8696 var output = {}; 8697 if (!style || typeof style !== 'string') { 8698 return output; 8699 } 8700 (0, style_to_object_1.default)(style, function (property, value) { 8701 // skip CSS comment 8702 if (property && value) { 8703 output[(0, utilities_1.camelCase)(property, options)] = value; 8704 } 8705 }); 8706 return output; 8707} 8708StyleToJS.default = StyleToJS; 8709module.exports = StyleToJS; 8710//# sourceMappingURL=index.js.map 8711 8712/***/ }), 8713
vendor: 1,797 bytes, lines 8714-8770
8714/***/ "./node_modules/style-to-js/cjs/utilities.js": 8715/*!***************************************************!*\ 8716 !*** ./node_modules/style-to-js/cjs/utilities.js ***! 8717 \***************************************************/ 8718/***/ ((__unused_webpack_module, exports) => { 8719 8720"use strict"; 8721 8722Object.defineProperty(exports, "__esModule", ({ value: true })); 8723exports.camelCase = void 0; 8724var CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9-]+$/; 8725var HYPHEN_REGEX = /-([a-z])/g; 8726var NO_HYPHEN_REGEX = /^[^-]+$/; 8727var VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/; 8728var MS_VENDOR_PREFIX_REGEX = /^-(ms)-/; 8729/** 8730 * Checks whether to skip camelCase. 8731 */ 8732var skipCamelCase = function (property) { 8733 return !property || 8734 NO_HYPHEN_REGEX.test(property) || 8735 CUSTOM_PROPERTY_REGEX.test(property); 8736}; 8737/** 8738 * Replacer that capitalizes first character. 8739 */ 8740var capitalize = function (match, character) { 8741 return character.toUpperCase(); 8742}; 8743/** 8744 * Replacer that removes beginning hyphen of vendor prefix property. 8745 */ 8746var trimHyphen = function (match, prefix) { return "".concat(prefix, "-"); }; 8747/** 8748 * CamelCases a CSS property. 8749 */ 8750var camelCase = function (property, options) { 8751 if (options === void 0) { options = {}; } 8752 if (skipCamelCase(property)) { 8753 return property; 8754 } 8755 property = property.toLowerCase(); 8756 if (options.reactCompat) { 8757 // `-ms` vendor prefix should not be capitalized 8758 property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen); 8759 } 8760 else { 8761 // for non-React, remove first hyphen so vendor prefix is not capitalized 8762 property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen); 8763 } 8764 return property.replace(HYPHEN_REGEX, capitalize); 8765}; 8766exports.camelCase = camelCase; 8767//# sourceMappingURL=utilities.js.map 8768 8769/***/ }), 8770
vendor: 1,765 bytes, lines 8771-8824
8771/***/ "./node_modules/style-to-object/cjs/index.js": 8772/*!***************************************************!*\ 8773 !*** ./node_modules/style-to-object/cjs/index.js ***! 8774 \***************************************************/ 8775/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 8776 8777"use strict"; 8778 8779var __importDefault = (this && this.__importDefault) || function (mod) { 8780 return (mod && mod.__esModule) ? mod : { "default": mod }; 8781}; 8782Object.defineProperty(exports, "__esModule", ({ value: true })); 8783exports["default"] = StyleToObject; 8784var inline_style_parser_1 = __importDefault(__webpack_require__(/*! inline-style-parser */ "./node_modules/inline-style-parser/index.js")); 8785/** 8786 * Parses inline style to object. 8787 * 8788 * @param style - Inline style. 8789 * @param iterator - Iterator. 8790 * @returns - Style object or null. 8791 * 8792 * @example Parsing inline style to object: 8793 * 8794 * ```js 8795 * import parse from 'style-to-object'; 8796 * parse('line-height: 42;'); // { 'line-height': '42' } 8797 * ``` 8798 */ 8799function StyleToObject(style, iterator) { 8800 var styleObject = null; 8801 if (!style || typeof style !== 'string') { 8802 return styleObject; 8803 } 8804 var declarations = (0, inline_style_parser_1.default)(style); 8805 var hasIterator = typeof iterator === 'function'; 8806 declarations.forEach(function (declaration) { 8807 if (declaration.type !== 'declaration') { 8808 return; 8809 } 8810 var property = declaration.property, value = declaration.value; 8811 if (hasIterator) { 8812 iterator(property, value, declaration); 8813 } 8814 else if (value) { 8815 styleObject = styleObject || {}; 8816 styleObject[property] = value; 8817 } 8818 }); 8819 return styleObject; 8820} 8821//# sourceMappingURL=index.js.map 8822 8823/***/ }), 8824
vendor: 1,740 bytes, lines 8825-8851
8825/***/ "./node_modules/html-react-parser/esm/index.mjs": 8826/*!******************************************************!*\ 8827 !*** ./node_modules/html-react-parser/esm/index.mjs ***! 8828 \******************************************************/ 8829/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { 8830 8831"use strict"; 8832__webpack_require__.r(__webpack_exports__); 8833/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8834/* harmony export */ "Comment": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Comment), 8835/* harmony export */ "Element": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Element), 8836/* harmony export */ "ProcessingInstruction": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.ProcessingInstruction), 8837/* harmony export */ "Text": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.Text), 8838/* harmony export */ "attributesToProps": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.attributesToProps), 8839/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__), 8840/* harmony export */ "domToReact": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.domToReact), 8841/* harmony export */ "htmlToDOM": () => (/* reexport safe */ _lib_index_js__WEBPACK_IMPORTED_MODULE_0__.htmlToDOM) 8842/* harmony export */ }); 8843/* harmony import */ var _lib_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lib/index.js */ "./node_modules/html-react-parser/lib/index.js"); 8844 8845 8846 8847 8848/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_lib_index_js__WEBPACK_IMPORTED_MODULE_0__["default"] || _lib_index_js__WEBPACK_IMPORTED_MODULE_0__); 8849 8850 8851/***/ })
vendor: 5,025 bytes, lines 8851-8942
8851 8852 8853/******/ }); 8854/************************************************************************/ 8855/******/ // The module cache 8856/******/ var __webpack_module_cache__ = {}; 8857/******/ 8858/******/ // The require function 8859/******/ function __webpack_require__(moduleId) { 8860/******/ // Check if module is in cache 8861/******/ var cachedModule = __webpack_module_cache__[moduleId]; 8862/******/ if (cachedModule !== undefined) { 8863/******/ return cachedModule.exports; 8864/******/ } 8865/******/ // Create a new module (and put it into the cache) 8866/******/ var module = __webpack_module_cache__[moduleId] = { 8867/******/ // no module.id needed 8868/******/ // no module.loaded needed 8869/******/ exports: {} 8870/******/ }; 8871/******/ 8872/******/ // Execute the module function 8873/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); 8874/******/ 8875/******/ // Return the exports of the module 8876/******/ return module.exports; 8877/******/ } 8878/******/ 8879/************************************************************************/ 8880/******/ /* webpack/runtime/compat get default export */ 8881/******/ (() => { 8882/******/ // getDefaultExport function for compatibility with non-harmony modules 8883/******/ __webpack_require__.n = (module) => { 8884/******/ var getter = module && module.__esModule ? 8885/******/ () => (module['default']) : 8886/******/ () => (module); 8887/******/ __webpack_require__.d(getter, { a: getter }); 8888/******/ return getter; 8889/******/ }; 8890/******/ })(); 8891/******/ 8892/******/ /* webpack/runtime/define property getters */ 8893/******/ (() => { 8894/******/ // define getter functions for harmony exports 8895/******/ __webpack_require__.d = (exports, definition) => { 8896/******/ for(var key in definition) { 8897/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 8898/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 8899/******/ } 8900/******/ } 8901/******/ }; 8902/******/ })(); 8903/******/ 8904/******/ /* webpack/runtime/hasOwnProperty shorthand */ 8905/******/ (() => { 8906/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 8907/******/ })(); 8908/******/ 8909/******/ /* webpack/runtime/make namespace object */ 8910/******/ (() => { 8911/******/ // define __esModule on exports 8912/******/ __webpack_require__.r = (exports) => { 8913/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 8914/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 8915/******/ } 8916/******/ Object.defineProperty(exports, '__esModule', { value: true }); 8917/******/ }; 8918/******/ })(); 8919/******/ 8920/************************************************************************/ 8921var __webpack_exports__ = {}; 8922// This entry need to be wrapped in an IIFE because it need to be in strict mode. 8923(() => { 8924"use strict"; 8925/*!*******************************************************!*\ 8926 !*** ./assets/js/components/quote_list/quote_list.js ***! 8927 \*******************************************************/ 8928__webpack_require__.r(__webpack_exports__); 8929/* harmony export */ __webpack_require__.d(__webpack_exports__, { 8930/* harmony export */ "QuoteListpage": () => (/* binding */ QuoteListpage) 8931/* harmony export */ }); 8932/* harmony import */ var _maximize__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./maximize */ "./assets/js/components/quote_list/maximize.js"); 8933/* harmony import */ var _minimize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./minimize */ "./assets/js/components/quote_list/minimize.js"); 8934/* harmony import */ var _quote_list_empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./quote_list_empty */ "./assets/js/components/quote_list/quote_list_empty.js"); 8935/* harmony import */ var _quote_list_content__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./quote_list_content */ "./assets/js/components/quote_list/quote_list_content.js"); 8936/* harmony import */ var react_wordpress__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-wordpress */ "./node_modules/react-wordpress/out.js"); 8937/* harmony import */ var react_wordpress__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_wordpress__WEBPACK_IMPORTED_MODULE_4__); 8938/* harmony import */ var _toast_message_update_message__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../toast_message/update_message */ "./assets/js/components/toast_message/update_message.js"); 8939/* harmony import */ var _form_fields_form__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../form/fields/form */ "./assets/js/components/form/fields/form.js"); 8940/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js"); 8941function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } 8942function _nonIterableRest() { throw new TypeError("Invalid attempt to de
8942structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } 8943function _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); } 8944function _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; } 8945function _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; } } 8946function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958var ClosePopUp = function ClosePopUp() { 8959 var redirectPage = localStorage.getItem('redirect_page'); 8960 if (redirectPage) { 8961 window.location.href = redirectPage; 8962 } else { 8963 window.history.back(); 8964 } 8965 jQuery('.elex-raq-quote-list-popup-container').addClass("d-none"); 8966}; 8967var OpenQuoteList = function OpenQuoteList() { 8968 jQuery(".elex-raq-quote-list-popup-container").removeClass("d-none"); 8969}; 8970var QuoteListpage = function QuoteListpage(props) { 8971 var IsQuoteForm = function IsQuoteForm(_ref) { 8972 var data = _ref.data, 8973 settings = _ref.settings, 8974 items = _ref.items, 8975 default_image = _ref.default_image, 8976 color = _ref.color; 8977 var enabled = true === data || "true" === data ? true : false; 8978 if (items.items.length === 0 && (settings.quote_request_form !== 'true' || settings.quote_request_form !== true)) { 8979 return null; 8980 } 8981 if (true === enabled) { 8982 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_form_fields_form__WEBPACK_IMPORTED_MODULE_6__.QuoteForm, { 8983 color: color, 8984 default_image: default_image, 8985 form: FormData 8986 }); 8987 } 8988 return null; 8989 }; 8990 wp.element.useEffect(function () { 8991 jQuery(window).on("update_quantity_event", function (e, quotelist_data) { 8992 setQuoteItems(quotelist_data); 8993 }); 8994 jQuery(window).on("clear_list_event", function (e, quotelist_data) { 8995 setQuoteItems(quotelist_data); 8996 }); 8997 jQuery(window).on("delete_event", function (e, quotelist_data) { 8998 setQuoteItems(quotelist_data); 8999 }); 9000 }, []); 9001 var _wp$element$useState = wp.element.useState(props.quote_items), 9002 _wp$element$useState2 = _slicedToArray(_wp$element$useState, 2), 9003 quoteItems = _wp$element$useState2[0], 9004 setQuoteItems = _wp$element$useState2[1]; 9005 var shop_page = wp.element.useState(props.quote_items.additional_settings.add_more_items_button_redirection); 9006 var empty_image = wp.element.useState(props.quote_items.empty_image); 9007 var default_image = wp.element.useState(props.quote_items.default_image); 9008 var dynamicClass = quoteItems.settings.layout.product_on_top_form_on_bottom === true ? "flex-column d-lg-flex gap-3 " : "d-lg-flex gap-3 "; 9009 var addWidthForHLayout = quoteItems.settings.layout.product_on_top_form_on_bottom === false ? "flex-fill elex-raq-quote-details-container mb-5 mb-md-0 position-relative flex-column d-lg-flex" : "flex-fill mb-5 mb-md-0 position-relative flex-column d-lg-flex"; 9010 var popupClasses = quoteItems.settings.layout.product_on_top_form_on_bottom === false ? "flex-fill mb-5 mb-md-0 position-relative p-sm-4 p-2 elex-raq-quote-list-popup-content d-lg-flex" : "flex-fill mb-5 mb-md-0 position-relative p-sm-4 p-2 elex-raq-quote-list-popup-content "; 9011 var _wp$element$useState3 = wp.element.useState(props.quote_items.form_settings), 9012 _wp$element$useState4 = _slicedToArray(_wp$element$useState3, 2), 9013 FormData = _wp$element$useState4[0], 9014 SetForm = _wp$element$useState4[1]; 9015 var button_color = wp.element.useState(props.quote_items.general.general.button_default_color); 9016 if (props.quote_items.general.general.open_quote_form === "new_page") { 9017 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.Fragment, { 9018 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", { 9019 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div", { 9020 className: dynamicClass, 9021 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div", { 9022 className: addWidthForHLayout, 9023 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_quote_list_empty__WEBPACK_IMPORTED_MODULE_2__.IsQuoteEmpty, { 9024 color: button_color, 9025 empty_image_url: empty_image, 9026 shop_page: props.quote_items.additional_settings.add_more_items_button_redirection, 9027 data: quoteItems.quote_list, 9028 settings: quoteItems.settings.show_if_list_empty 9029 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_quote_list_content__WEBPACK_IMPORTED_MODULE_3__.QuoteListProducts, { 9030 data: props 9031 })] 9032 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(IsQuoteForm, { 9033 color: button_color, 9034 default_image: default_image, 9035 items: quoteItems.quote_list, 9036 settings: quoteItems.settings.show_if_list_empty, 9037 data: props.quote_items.form_settings.show_form 9038 })] 9039 }) 9040 }) 9041 }); 9042 } 9043 return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.Fragment, { 9044 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", { 9045 className: " bg-secondary bg-opacity-25 elex-raq-quote-list-popup-container", 9046 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div", { 9047 className: " bg-white d-flex flex-column elex-raq-quote-list-popup elex-raq-minimize", 9048 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div", { 9049 className: "position-relative m-4", 9050 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("h4", { 9051 className: "fw-bold text-center mb-0", 9052 children: quoteItems.settings.title 9053 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("button", { 9054 onClick: ClosePopUp, 9055 className: " btn btn-sm rounded-circle position-absolute end-0 top-50 translate-middle-y elex-raq-view-quote-list-close-btn", 9056 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("svg", { 9057 xmlns: "http://www.w3.org/2000/svg", 9058 width: "9.313", 9059 height: "9.313",
9060 viewBox: "0 0 9.313 9.313", 9061 children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("path", { 9062 id: "Icon_ionic-md-close", 9063 "data-name": "Icon ionic-md-close", 9064 d: "M12.656,4.275l-.931-.931L8,7.069,4.275,3.344l-.931.931L7.069,8,3.344,11.725l.931.931L8,8.931l3.725,3.725.931-.931L8.931,8Z", 9065 transform: "translate(-3.344 -3.344)" 9066 }) 9067 }) 9068 })] 9069 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div", { 9070 className: popupClasses, 9071 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_quote_list_empty__WEBPACK_IMPORTED_MODULE_2__.IsQuoteEmpty, { 9072 color: button_color, 9073 empty_image_url: empty_image, 9074 shop_page: props.quote_items.additional_settings.add_more_items_button_redirection, 9075 data: quoteItems.quote_list, 9076 settings: quoteItems.settings.show_if_list_empty 9077 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_quote_list_content__WEBPACK_IMPORTED_MODULE_3__.QuoteListProducts, { 9078 data: props 9079 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(IsQuoteForm, { 9080 color: button_color, 9081 default_image: default_image, 9082 items: quoteItems.quote_list, 9083 settings: quoteItems.settings.show_if_list_empty, 9084 data: props.quote_items.form_settings.show_form 9085 })] 9086 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("div", { 9087 className: "position-absolute start-50 d-none translate-middle-x text-center bg-transparent elex-raq-max-min", 9088 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("button", { 9089 onClick: _minimize__WEBPACK_IMPORTED_MODULE_1__.MinimizePopUp, 9090 className: "d-none lh-1 raq-fxs btn text-primary bg-white elex-raq-minimize-btn", 9091 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("i", { 9092 className: "fa-solid fa-compress fs-6 me-2" 9093 }), "Minimize"] 9094 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)("button", { 9095 onClick: _maximize__WEBPACK_IMPORTED_MODULE_0__.MaximizePopUp, 9096 className: "raq-fxs lh-1 btn text-primary bg-white elex-raq-maximize-btn", 9097 children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("i", { 9098 className: "fa-solid fa-expand fs-6" 9099 }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("span", { 9100 className: "ms-2", 9101 children: "Maximize" 9102 })] 9103 })] 9104 })] 9105 }) 9106 }) 9107 }); 9108}; 9109jQuery(document).ready(function () { 9110 jQuery.ajax({ 9111 type: "post", 9112 url: quote_list_ajax_obj.ajax_url, 9113 data: { 9114 action: "get_the_quote_list", 9115 ajax_raq_nonce: quote_list_ajax_obj.nonce 9116 }, 9117 success: function success(data) { 9118 if (document.getElementById("quote_list") !== null) { 9119 wp.element.render( /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(QuoteListpage, { 9120 quote_items: data.data 9121 }, data.data.id), document.getElementById("quote_list")); 9122 } 9123 } 9124 }); 9125}); 9126})(); 9127 9128/******/ })() 9129;
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.