@gravity-ui/navigation 4.0.17 → 4.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/components/AsideHeader/AsideHeader.js +2 -2
- package/build/cjs/components/AsideHeader/AsideHeader.js.map +1 -1
- package/build/cjs/components/AsideHeader/components/CompositeBar/HighlightedItem/HighlightedItem.js +2 -2
- package/build/cjs/components/AsideHeader/components/CompositeBar/HighlightedItem/HighlightedItem.js.map +1 -1
- package/build/cjs/components/AsideHeader/components/Panels.js +2 -2
- package/build/cjs/components/AsideHeader/components/Panels.js.map +1 -1
- package/build/cjs/components/Footer/MenuItem/MenuItem.js +2 -2
- package/build/cjs/components/Footer/MenuItem/MenuItem.js.map +1 -1
- package/build/cjs/components/HotkeysPanel/HotkeysPanel.js +2 -2
- package/build/cjs/components/HotkeysPanel/HotkeysPanel.js.map +1 -1
- package/build/cjs/components/Logo/Logo.js +2 -2
- package/build/cjs/components/Logo/Logo.js.map +1 -1
- package/build/cjs/components/MobileHeader/MobileHeader.js +2 -2
- package/build/cjs/components/MobileHeader/MobileHeader.js.map +1 -1
- package/build/cjs/components/Settings/Settings.js +4 -4
- package/build/cjs/components/Settings/Settings.js.map +1 -1
- package/build/cjs/components/Settings/SettingsSearch/AllResultsPage.js +2 -2
- package/build/cjs/components/Settings/SettingsSearch/AllResultsPage.js.map +1 -1
- package/build/cjs/components/Settings/SettingsSearch/SettingsSearch.js +3 -3
- package/build/cjs/components/Settings/SettingsSearch/SettingsSearch.js.map +1 -1
- package/build/cjs/components/Settings/SettingsSection.js +2 -2
- package/build/cjs/components/Settings/SettingsSection.js.map +1 -1
- package/build/cjs/components/TopAlert/useTopAlertHeight.js +2 -2
- package/build/cjs/components/TopAlert/useTopAlertHeight.js.map +1 -1
- package/build/cjs/hooks/useOverflowingHorizontalListItems/useOverflowingHorizontalListItems.js +2 -2
- package/build/cjs/hooks/useOverflowingHorizontalListItems/useOverflowingHorizontalListItems.js.map +1 -1
- package/build/esm/components/AsideHeader/AsideHeader.js +1 -1
- package/build/esm/components/AsideHeader/components/CompositeBar/HighlightedItem/HighlightedItem.js +1 -1
- package/build/esm/components/AsideHeader/components/Panels.js +1 -1
- package/build/esm/components/Footer/MenuItem/MenuItem.js +1 -1
- package/build/esm/components/HotkeysPanel/HotkeysPanel.js +1 -1
- package/build/esm/components/Logo/Logo.js +1 -1
- package/build/esm/components/MobileHeader/MobileHeader.js +1 -1
- package/build/esm/components/Settings/Settings.js +2 -2
- package/build/esm/components/Settings/SettingsSearch/AllResultsPage.js +1 -1
- package/build/esm/components/Settings/SettingsSearch/SettingsSearch.js +1 -1
- package/build/esm/components/Settings/SettingsSection.js +1 -1
- package/build/esm/components/TopAlert/useTopAlertHeight.js +1 -1
- package/build/esm/hooks/useOverflowingHorizontalListItems/useOverflowingHorizontalListItems.js +1 -1
- package/package.json +4 -2
- package/build/cjs/_virtual/_commonjsHelpers.js +0 -11
- package/build/cjs/_virtual/_commonjsHelpers.js.map +0 -1
- package/build/cjs/_virtual/debounce.js +0 -12
- package/build/cjs/_virtual/debounce.js.map +0 -1
- package/build/cjs/_virtual/identity.js +0 -12
- package/build/cjs/_virtual/identity.js.map +0 -1
- package/build/cjs/_virtual/last.js +0 -12
- package/build/cjs/_virtual/last.js.map +0 -1
- package/build/cjs/node_modules/lodash/_Symbol.js +0 -21
- package/build/cjs/node_modules/lodash/_Symbol.js.map +0 -1
- package/build/cjs/node_modules/lodash/_baseGetTag.js +0 -45
- package/build/cjs/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/build/cjs/node_modules/lodash/_baseTrim.js +0 -34
- package/build/cjs/node_modules/lodash/_baseTrim.js.map +0 -1
- package/build/cjs/node_modules/lodash/_freeGlobal.js +0 -20
- package/build/cjs/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/build/cjs/node_modules/lodash/_getRawTag.js +0 -61
- package/build/cjs/node_modules/lodash/_getRawTag.js.map +0 -1
- package/build/cjs/node_modules/lodash/_objectToString.js +0 -36
- package/build/cjs/node_modules/lodash/_objectToString.js.map +0 -1
- package/build/cjs/node_modules/lodash/_root.js +0 -24
- package/build/cjs/node_modules/lodash/_root.js.map +0 -1
- package/build/cjs/node_modules/lodash/_trimmedEndIndex.js +0 -33
- package/build/cjs/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
- package/build/cjs/node_modules/lodash/debounce.js +0 -208
- package/build/cjs/node_modules/lodash/debounce.js.map +0 -1
- package/build/cjs/node_modules/lodash/identity.js +0 -35
- package/build/cjs/node_modules/lodash/identity.js.map +0 -1
- package/build/cjs/node_modules/lodash/isObject.js +0 -45
- package/build/cjs/node_modules/lodash/isObject.js.map +0 -1
- package/build/cjs/node_modules/lodash/isObjectLike.js +0 -43
- package/build/cjs/node_modules/lodash/isObjectLike.js.map +0 -1
- package/build/cjs/node_modules/lodash/isSymbol.js +0 -45
- package/build/cjs/node_modules/lodash/isSymbol.js.map +0 -1
- package/build/cjs/node_modules/lodash/last.js +0 -34
- package/build/cjs/node_modules/lodash/last.js.map +0 -1
- package/build/cjs/node_modules/lodash/now.js +0 -38
- package/build/cjs/node_modules/lodash/now.js.map +0 -1
- package/build/cjs/node_modules/lodash/toNumber.js +0 -81
- package/build/cjs/node_modules/lodash/toNumber.js.map +0 -1
- package/build/cjs/node_modules/tslib/tslib.es6.js +0 -38
- package/build/cjs/node_modules/tslib/tslib.es6.js.map +0 -1
- package/build/esm/_virtual/_commonjsHelpers.js +0 -8
- package/build/esm/_virtual/_commonjsHelpers.js.map +0 -1
- package/build/esm/_virtual/debounce.js +0 -8
- package/build/esm/_virtual/debounce.js.map +0 -1
- package/build/esm/_virtual/identity.js +0 -8
- package/build/esm/_virtual/identity.js.map +0 -1
- package/build/esm/_virtual/last.js +0 -8
- package/build/esm/_virtual/last.js.map +0 -1
- package/build/esm/node_modules/lodash/_Symbol.js +0 -19
- package/build/esm/node_modules/lodash/_Symbol.js.map +0 -1
- package/build/esm/node_modules/lodash/_baseGetTag.js +0 -43
- package/build/esm/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/build/esm/node_modules/lodash/_baseTrim.js +0 -32
- package/build/esm/node_modules/lodash/_baseTrim.js.map +0 -1
- package/build/esm/node_modules/lodash/_freeGlobal.js +0 -18
- package/build/esm/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/build/esm/node_modules/lodash/_getRawTag.js +0 -59
- package/build/esm/node_modules/lodash/_getRawTag.js.map +0 -1
- package/build/esm/node_modules/lodash/_objectToString.js +0 -34
- package/build/esm/node_modules/lodash/_objectToString.js.map +0 -1
- package/build/esm/node_modules/lodash/_root.js +0 -22
- package/build/esm/node_modules/lodash/_root.js.map +0 -1
- package/build/esm/node_modules/lodash/_trimmedEndIndex.js +0 -31
- package/build/esm/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
- package/build/esm/node_modules/lodash/debounce.js +0 -206
- package/build/esm/node_modules/lodash/debounce.js.map +0 -1
- package/build/esm/node_modules/lodash/identity.js +0 -33
- package/build/esm/node_modules/lodash/identity.js.map +0 -1
- package/build/esm/node_modules/lodash/isObject.js +0 -43
- package/build/esm/node_modules/lodash/isObject.js.map +0 -1
- package/build/esm/node_modules/lodash/isObjectLike.js +0 -41
- package/build/esm/node_modules/lodash/isObjectLike.js.map +0 -1
- package/build/esm/node_modules/lodash/isSymbol.js +0 -43
- package/build/esm/node_modules/lodash/isSymbol.js.map +0 -1
- package/build/esm/node_modules/lodash/last.js +0 -32
- package/build/esm/node_modules/lodash/last.js.map +0 -1
- package/build/esm/node_modules/lodash/now.js +0 -36
- package/build/esm/node_modules/lodash/now.js.map +0 -1
- package/build/esm/node_modules/lodash/toNumber.js +0 -79
- package/build/esm/node_modules/lodash/toNumber.js.map +0 -1
- package/build/esm/node_modules/tslib/tslib.es6.js +0 -36
- package/build/esm/node_modules/tslib/tslib.es6.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tslib.es6.js","sources":["../../../../node_modules/tslib/tslib.es6.js"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nvar ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA0BA;AACO,SAAS,MAAM,CAAC,CAAC,EAAE,C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
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
-
|
|
3
|
-
function getDefaultExportFromCjs (x) {
|
|
4
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export { commonjsGlobal, getDefaultExportFromCjs };
|
|
8
|
-
//# sourceMappingURL=_commonjsHelpers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_commonjsHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
2
|
-
import { __require as requireDebounce } from '../node_modules/lodash/debounce.js';
|
|
3
|
-
|
|
4
|
-
var debounceExports = requireDebounce();
|
|
5
|
-
var debounceFn = /*@__PURE__*/getDefaultExportFromCjs(debounceExports);
|
|
6
|
-
|
|
7
|
-
export { debounceFn as default };
|
|
8
|
-
//# sourceMappingURL=debounce.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
2
|
-
import { __require as requireIdentity } from '../node_modules/lodash/identity.js';
|
|
3
|
-
|
|
4
|
-
var identityExports = requireIdentity();
|
|
5
|
-
var identity = /*@__PURE__*/getDefaultExportFromCjs(identityExports);
|
|
6
|
-
|
|
7
|
-
export { identity as default };
|
|
8
|
-
//# sourceMappingURL=identity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identity.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
2
|
-
import { __require as requireLast } from '../node_modules/lodash/last.js';
|
|
3
|
-
|
|
4
|
-
var lastExports = requireLast();
|
|
5
|
-
var last = /*@__PURE__*/getDefaultExportFromCjs(lastExports);
|
|
6
|
-
|
|
7
|
-
export { last as default };
|
|
8
|
-
//# sourceMappingURL=last.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"last.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { __require as require_root } from './_root.js';
|
|
2
|
-
|
|
3
|
-
var _Symbol;
|
|
4
|
-
var hasRequired_Symbol;
|
|
5
|
-
|
|
6
|
-
function require_Symbol () {
|
|
7
|
-
if (hasRequired_Symbol) return _Symbol;
|
|
8
|
-
hasRequired_Symbol = 1;
|
|
9
|
-
var root = require_root();
|
|
10
|
-
|
|
11
|
-
/** Built-in value references. */
|
|
12
|
-
var Symbol = root.Symbol;
|
|
13
|
-
|
|
14
|
-
_Symbol = Symbol;
|
|
15
|
-
return _Symbol;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { require_Symbol as __require };
|
|
19
|
-
//# sourceMappingURL=_Symbol.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_Symbol.js","sources":["../../../../node_modules/lodash/_Symbol.js"],"sourcesContent":["var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n"],"names":["require$$0"],"mappings":";;;;;;;;CAAA,IAAI,IAAI,GAAGA,YAAkB,EAAA;;AAE7B;AACA,CAAA,IAAI,MAAM,GAAG,IAAI,CAAC,MAAM;;AAExB,CAAA,OAAc,GAAG,MAAM;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { __require as require_Symbol } from './_Symbol.js';
|
|
2
|
-
import { __require as require_getRawTag } from './_getRawTag.js';
|
|
3
|
-
import { __require as require_objectToString } from './_objectToString.js';
|
|
4
|
-
|
|
5
|
-
var _baseGetTag;
|
|
6
|
-
var hasRequired_baseGetTag;
|
|
7
|
-
|
|
8
|
-
function require_baseGetTag () {
|
|
9
|
-
if (hasRequired_baseGetTag) return _baseGetTag;
|
|
10
|
-
hasRequired_baseGetTag = 1;
|
|
11
|
-
var Symbol = require_Symbol(),
|
|
12
|
-
getRawTag = require_getRawTag(),
|
|
13
|
-
objectToString = require_objectToString();
|
|
14
|
-
|
|
15
|
-
/** `Object#toString` result references. */
|
|
16
|
-
var nullTag = '[object Null]',
|
|
17
|
-
undefinedTag = '[object Undefined]';
|
|
18
|
-
|
|
19
|
-
/** Built-in value references. */
|
|
20
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
24
|
-
*
|
|
25
|
-
* @private
|
|
26
|
-
* @param {*} value The value to query.
|
|
27
|
-
* @returns {string} Returns the `toStringTag`.
|
|
28
|
-
*/
|
|
29
|
-
function baseGetTag(value) {
|
|
30
|
-
if (value == null) {
|
|
31
|
-
return value === undefined ? undefinedTag : nullTag;
|
|
32
|
-
}
|
|
33
|
-
return (symToStringTag && symToStringTag in Object(value))
|
|
34
|
-
? getRawTag(value)
|
|
35
|
-
: objectToString(value);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
_baseGetTag = baseGetTag;
|
|
39
|
-
return _baseGetTag;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { require_baseGetTag as __require };
|
|
43
|
-
//# sourceMappingURL=_baseGetTag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_baseGetTag.js","sources":["../../../../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;CAAA,IAAI,MAAM,GAAGA,cAAoB,EAAA;KAC7B,SAAS,GAAGC,iBAAuB,EAAA;KACnC,cAAc,GAAGC,sBAA4B,EAAA;;AAEjD;CACA,IAAI,OAAO,GAAG,eAAe;KACzB,YAAY,GAAG,oBAAoB;;AAEvC;CACA,IAAI,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC,WAAW,GAAG,SAAS;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,UAAU,CAAC,KAAK,EAAE;AAC3B,GAAE,IAAI,KAAK,IAAI,IAAI,EAAE;AACrB,KAAI,OAAO,KAAK,KAAK,SAAS,GAAG,YAAY,GAAG,OAAO;AACvD;GACE,OAAO,CAAC,cAAc,IAAI,cAAc,IAAI,MAAM,CAAC,KAAK,CAAC;OACrD,SAAS,CAAC,KAAK;OACf,cAAc,CAAC,KAAK,CAAC;AAC3B;;AAEA,CAAA,WAAc,GAAG,UAAU;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __require as require_trimmedEndIndex } from './_trimmedEndIndex.js';
|
|
2
|
-
|
|
3
|
-
var _baseTrim;
|
|
4
|
-
var hasRequired_baseTrim;
|
|
5
|
-
|
|
6
|
-
function require_baseTrim () {
|
|
7
|
-
if (hasRequired_baseTrim) return _baseTrim;
|
|
8
|
-
hasRequired_baseTrim = 1;
|
|
9
|
-
var trimmedEndIndex = require_trimmedEndIndex();
|
|
10
|
-
|
|
11
|
-
/** Used to match leading whitespace. */
|
|
12
|
-
var reTrimStart = /^\s+/;
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* The base implementation of `_.trim`.
|
|
16
|
-
*
|
|
17
|
-
* @private
|
|
18
|
-
* @param {string} string The string to trim.
|
|
19
|
-
* @returns {string} Returns the trimmed string.
|
|
20
|
-
*/
|
|
21
|
-
function baseTrim(string) {
|
|
22
|
-
return string
|
|
23
|
-
? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
|
|
24
|
-
: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
_baseTrim = baseTrim;
|
|
28
|
-
return _baseTrim;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { require_baseTrim as __require };
|
|
32
|
-
//# sourceMappingURL=_baseTrim.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_baseTrim.js","sources":["../../../../node_modules/lodash/_baseTrim.js"],"sourcesContent":["var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n"],"names":["require$$0"],"mappings":";;;;;;;;CAAA,IAAI,eAAe,GAAGA,uBAA6B,EAAA;;AAEnD;CACA,IAAI,WAAW,GAAG,MAAM;;AAExB;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,QAAQ,CAAC,MAAM,EAAE;AAC1B,GAAE,OAAO;AACT,OAAM,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE;AAC1E,OAAM,MAAM;AACZ;;AAEA,CAAA,SAAc,GAAG,QAAQ;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { commonjsGlobal } from '../../_virtual/_commonjsHelpers.js';
|
|
2
|
-
|
|
3
|
-
/** Detect free variable `global` from Node.js. */
|
|
4
|
-
|
|
5
|
-
var _freeGlobal;
|
|
6
|
-
var hasRequired_freeGlobal;
|
|
7
|
-
|
|
8
|
-
function require_freeGlobal () {
|
|
9
|
-
if (hasRequired_freeGlobal) return _freeGlobal;
|
|
10
|
-
hasRequired_freeGlobal = 1;
|
|
11
|
-
var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
12
|
-
|
|
13
|
-
_freeGlobal = freeGlobal;
|
|
14
|
-
return _freeGlobal;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { require_freeGlobal as __require };
|
|
18
|
-
//# sourceMappingURL=_freeGlobal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_freeGlobal.js","sources":["../../../../node_modules/lodash/_freeGlobal.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n"],"names":["global"],"mappings":";;;;;;;;;;AACA,CAAA,IAAI,UAAU,GAAG,OAAOA,cAAM,IAAI,QAAQ,IAAIA,cAAM,IAAIA,cAAM,CAAC,MAAM,KAAK,MAAM,IAAIA,cAAM;;AAE1F,CAAA,WAAc,GAAG,UAAU;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { __require as require_Symbol } from './_Symbol.js';
|
|
2
|
-
|
|
3
|
-
var _getRawTag;
|
|
4
|
-
var hasRequired_getRawTag;
|
|
5
|
-
|
|
6
|
-
function require_getRawTag () {
|
|
7
|
-
if (hasRequired_getRawTag) return _getRawTag;
|
|
8
|
-
hasRequired_getRawTag = 1;
|
|
9
|
-
var Symbol = require_Symbol();
|
|
10
|
-
|
|
11
|
-
/** Used for built-in method references. */
|
|
12
|
-
var objectProto = Object.prototype;
|
|
13
|
-
|
|
14
|
-
/** Used to check objects for own properties. */
|
|
15
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Used to resolve the
|
|
19
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
20
|
-
* of values.
|
|
21
|
-
*/
|
|
22
|
-
var nativeObjectToString = objectProto.toString;
|
|
23
|
-
|
|
24
|
-
/** Built-in value references. */
|
|
25
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
29
|
-
*
|
|
30
|
-
* @private
|
|
31
|
-
* @param {*} value The value to query.
|
|
32
|
-
* @returns {string} Returns the raw `toStringTag`.
|
|
33
|
-
*/
|
|
34
|
-
function getRawTag(value) {
|
|
35
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
|
36
|
-
tag = value[symToStringTag];
|
|
37
|
-
|
|
38
|
-
try {
|
|
39
|
-
value[symToStringTag] = undefined;
|
|
40
|
-
var unmasked = true;
|
|
41
|
-
} catch (e) {}
|
|
42
|
-
|
|
43
|
-
var result = nativeObjectToString.call(value);
|
|
44
|
-
if (unmasked) {
|
|
45
|
-
if (isOwn) {
|
|
46
|
-
value[symToStringTag] = tag;
|
|
47
|
-
} else {
|
|
48
|
-
delete value[symToStringTag];
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return result;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
_getRawTag = getRawTag;
|
|
55
|
-
return _getRawTag;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export { require_getRawTag as __require };
|
|
59
|
-
//# sourceMappingURL=_getRawTag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_getRawTag.js","sources":["../../../../node_modules/lodash/_getRawTag.js"],"sourcesContent":["var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n"],"names":["require$$0"],"mappings":";;;;;;;;CAAA,IAAI,MAAM,GAAGA,cAAoB,EAAA;;AAEjC;AACA,CAAA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS;;AAElC;AACA,CAAA,IAAI,cAAc,GAAG,WAAW,CAAC,cAAc;;AAE/C;AACA;AACA;AACA;AACA;AACA,CAAA,IAAI,oBAAoB,GAAG,WAAW,CAAC,QAAQ;;AAE/C;CACA,IAAI,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC,WAAW,GAAG,SAAS;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,SAAS,CAAC,KAAK,EAAE;GACxB,IAAI,KAAK,GAAG,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC;AACxD,OAAM,GAAG,GAAG,KAAK,CAAC,cAAc,CAAC;;AAEjC,GAAE,IAAI;AACN,KAAI,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS;KACjC,IAAI,QAAQ,GAAG,IAAI;IACpB,CAAC,OAAO,CAAC,EAAE;;GAEZ,IAAI,MAAM,GAAG,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC;GAC7C,IAAI,QAAQ,EAAE;KACZ,IAAI,KAAK,EAAE;AACf,OAAM,KAAK,CAAC,cAAc,CAAC,GAAG,GAAG;AACjC,MAAK,MAAM;AACX,OAAM,OAAO,KAAK,CAAC,cAAc,CAAC;AAClC;AACA;AACA,GAAE,OAAO,MAAM;AACf;;AAEA,CAAA,UAAc,GAAG,SAAS;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/** Used for built-in method references. */
|
|
2
|
-
|
|
3
|
-
var _objectToString;
|
|
4
|
-
var hasRequired_objectToString;
|
|
5
|
-
|
|
6
|
-
function require_objectToString () {
|
|
7
|
-
if (hasRequired_objectToString) return _objectToString;
|
|
8
|
-
hasRequired_objectToString = 1;
|
|
9
|
-
var objectProto = Object.prototype;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Used to resolve the
|
|
13
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
14
|
-
* of values.
|
|
15
|
-
*/
|
|
16
|
-
var nativeObjectToString = objectProto.toString;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Converts `value` to a string using `Object.prototype.toString`.
|
|
20
|
-
*
|
|
21
|
-
* @private
|
|
22
|
-
* @param {*} value The value to convert.
|
|
23
|
-
* @returns {string} Returns the converted string.
|
|
24
|
-
*/
|
|
25
|
-
function objectToString(value) {
|
|
26
|
-
return nativeObjectToString.call(value);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
_objectToString = objectToString;
|
|
30
|
-
return _objectToString;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export { require_objectToString as __require };
|
|
34
|
-
//# sourceMappingURL=_objectToString.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_objectToString.js","sources":["../../../../node_modules/lodash/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n"],"names":[],"mappings":";;;;;;;;AACA,CAAA,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS;;AAElC;AACA;AACA;AACA;AACA;AACA,CAAA,IAAI,oBAAoB,GAAG,WAAW,CAAC,QAAQ;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,cAAc,CAAC,KAAK,EAAE;AAC/B,GAAE,OAAO,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC;AACzC;;AAEA,CAAA,eAAc,GAAG,cAAc;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { __require as require_freeGlobal } from './_freeGlobal.js';
|
|
2
|
-
|
|
3
|
-
var _root;
|
|
4
|
-
var hasRequired_root;
|
|
5
|
-
|
|
6
|
-
function require_root () {
|
|
7
|
-
if (hasRequired_root) return _root;
|
|
8
|
-
hasRequired_root = 1;
|
|
9
|
-
var freeGlobal = require_freeGlobal();
|
|
10
|
-
|
|
11
|
-
/** Detect free variable `self`. */
|
|
12
|
-
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
13
|
-
|
|
14
|
-
/** Used as a reference to the global object. */
|
|
15
|
-
var root = freeGlobal || freeSelf || Function('return this')();
|
|
16
|
-
|
|
17
|
-
_root = root;
|
|
18
|
-
return _root;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export { require_root as __require };
|
|
22
|
-
//# sourceMappingURL=_root.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_root.js","sources":["../../../../node_modules/lodash/_root.js"],"sourcesContent":["var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n"],"names":["require$$0"],"mappings":";;;;;;;;CAAA,IAAI,UAAU,GAAGA,kBAAwB,EAAA;;AAEzC;AACA,CAAA,IAAI,QAAQ,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,IAAI;;AAEhF;CACA,IAAI,IAAI,GAAG,UAAU,IAAI,QAAQ,IAAI,QAAQ,CAAC,aAAa,CAAC,EAAE;;AAE9D,CAAA,KAAc,GAAG,IAAI;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/** Used to match a single whitespace character. */
|
|
2
|
-
|
|
3
|
-
var _trimmedEndIndex;
|
|
4
|
-
var hasRequired_trimmedEndIndex;
|
|
5
|
-
|
|
6
|
-
function require_trimmedEndIndex () {
|
|
7
|
-
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
|
8
|
-
hasRequired_trimmedEndIndex = 1;
|
|
9
|
-
var reWhitespace = /\s/;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
|
|
13
|
-
* character of `string`.
|
|
14
|
-
*
|
|
15
|
-
* @private
|
|
16
|
-
* @param {string} string The string to inspect.
|
|
17
|
-
* @returns {number} Returns the index of the last non-whitespace character.
|
|
18
|
-
*/
|
|
19
|
-
function trimmedEndIndex(string) {
|
|
20
|
-
var index = string.length;
|
|
21
|
-
|
|
22
|
-
while (index-- && reWhitespace.test(string.charAt(index))) {}
|
|
23
|
-
return index;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
_trimmedEndIndex = trimmedEndIndex;
|
|
27
|
-
return _trimmedEndIndex;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { require_trimmedEndIndex as __require };
|
|
31
|
-
//# sourceMappingURL=_trimmedEndIndex.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_trimmedEndIndex.js","sources":["../../../../node_modules/lodash/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n"],"names":[],"mappings":";;;;;;;;CACA,IAAI,YAAY,GAAG,IAAI;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;CACA,SAAS,eAAe,CAAC,MAAM,EAAE;AACjC,GAAE,IAAI,KAAK,GAAG,MAAM,CAAC,MAAM;;AAE3B,GAAE,OAAO,KAAK,EAAE,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE;AAC7D,GAAE,OAAO,KAAK;AACd;;AAEA,CAAA,gBAAc,GAAG,eAAe;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { __require as requireIsObject } from './isObject.js';
|
|
2
|
-
import { __require as requireNow } from './now.js';
|
|
3
|
-
import { __require as requireToNumber } from './toNumber.js';
|
|
4
|
-
|
|
5
|
-
var debounce_1;
|
|
6
|
-
var hasRequiredDebounce;
|
|
7
|
-
|
|
8
|
-
function requireDebounce () {
|
|
9
|
-
if (hasRequiredDebounce) return debounce_1;
|
|
10
|
-
hasRequiredDebounce = 1;
|
|
11
|
-
var isObject = requireIsObject(),
|
|
12
|
-
now = requireNow(),
|
|
13
|
-
toNumber = requireToNumber();
|
|
14
|
-
|
|
15
|
-
/** Error message constants. */
|
|
16
|
-
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
17
|
-
|
|
18
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
19
|
-
var nativeMax = Math.max,
|
|
20
|
-
nativeMin = Math.min;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Creates a debounced function that delays invoking `func` until after `wait`
|
|
24
|
-
* milliseconds have elapsed since the last time the debounced function was
|
|
25
|
-
* invoked. The debounced function comes with a `cancel` method to cancel
|
|
26
|
-
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
|
27
|
-
* Provide `options` to indicate whether `func` should be invoked on the
|
|
28
|
-
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
|
29
|
-
* with the last arguments provided to the debounced function. Subsequent
|
|
30
|
-
* calls to the debounced function return the result of the last `func`
|
|
31
|
-
* invocation.
|
|
32
|
-
*
|
|
33
|
-
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
|
34
|
-
* invoked on the trailing edge of the timeout only if the debounced function
|
|
35
|
-
* is invoked more than once during the `wait` timeout.
|
|
36
|
-
*
|
|
37
|
-
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
|
38
|
-
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
|
39
|
-
*
|
|
40
|
-
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
|
41
|
-
* for details over the differences between `_.debounce` and `_.throttle`.
|
|
42
|
-
*
|
|
43
|
-
* @static
|
|
44
|
-
* @memberOf _
|
|
45
|
-
* @since 0.1.0
|
|
46
|
-
* @category Function
|
|
47
|
-
* @param {Function} func The function to debounce.
|
|
48
|
-
* @param {number} [wait=0] The number of milliseconds to delay.
|
|
49
|
-
* @param {Object} [options={}] The options object.
|
|
50
|
-
* @param {boolean} [options.leading=false]
|
|
51
|
-
* Specify invoking on the leading edge of the timeout.
|
|
52
|
-
* @param {number} [options.maxWait]
|
|
53
|
-
* The maximum time `func` is allowed to be delayed before it's invoked.
|
|
54
|
-
* @param {boolean} [options.trailing=true]
|
|
55
|
-
* Specify invoking on the trailing edge of the timeout.
|
|
56
|
-
* @returns {Function} Returns the new debounced function.
|
|
57
|
-
* @example
|
|
58
|
-
*
|
|
59
|
-
* // Avoid costly calculations while the window size is in flux.
|
|
60
|
-
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
|
61
|
-
*
|
|
62
|
-
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
|
63
|
-
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
|
64
|
-
* 'leading': true,
|
|
65
|
-
* 'trailing': false
|
|
66
|
-
* }));
|
|
67
|
-
*
|
|
68
|
-
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
|
69
|
-
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
|
70
|
-
* var source = new EventSource('/stream');
|
|
71
|
-
* jQuery(source).on('message', debounced);
|
|
72
|
-
*
|
|
73
|
-
* // Cancel the trailing debounced invocation.
|
|
74
|
-
* jQuery(window).on('popstate', debounced.cancel);
|
|
75
|
-
*/
|
|
76
|
-
function debounce(func, wait, options) {
|
|
77
|
-
var lastArgs,
|
|
78
|
-
lastThis,
|
|
79
|
-
maxWait,
|
|
80
|
-
result,
|
|
81
|
-
timerId,
|
|
82
|
-
lastCallTime,
|
|
83
|
-
lastInvokeTime = 0,
|
|
84
|
-
leading = false,
|
|
85
|
-
maxing = false,
|
|
86
|
-
trailing = true;
|
|
87
|
-
|
|
88
|
-
if (typeof func != 'function') {
|
|
89
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
90
|
-
}
|
|
91
|
-
wait = toNumber(wait) || 0;
|
|
92
|
-
if (isObject(options)) {
|
|
93
|
-
leading = !!options.leading;
|
|
94
|
-
maxing = 'maxWait' in options;
|
|
95
|
-
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
96
|
-
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function invokeFunc(time) {
|
|
100
|
-
var args = lastArgs,
|
|
101
|
-
thisArg = lastThis;
|
|
102
|
-
|
|
103
|
-
lastArgs = lastThis = undefined;
|
|
104
|
-
lastInvokeTime = time;
|
|
105
|
-
result = func.apply(thisArg, args);
|
|
106
|
-
return result;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
function leadingEdge(time) {
|
|
110
|
-
// Reset any `maxWait` timer.
|
|
111
|
-
lastInvokeTime = time;
|
|
112
|
-
// Start the timer for the trailing edge.
|
|
113
|
-
timerId = setTimeout(timerExpired, wait);
|
|
114
|
-
// Invoke the leading edge.
|
|
115
|
-
return leading ? invokeFunc(time) : result;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
function remainingWait(time) {
|
|
119
|
-
var timeSinceLastCall = time - lastCallTime,
|
|
120
|
-
timeSinceLastInvoke = time - lastInvokeTime,
|
|
121
|
-
timeWaiting = wait - timeSinceLastCall;
|
|
122
|
-
|
|
123
|
-
return maxing
|
|
124
|
-
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
|
125
|
-
: timeWaiting;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
function shouldInvoke(time) {
|
|
129
|
-
var timeSinceLastCall = time - lastCallTime,
|
|
130
|
-
timeSinceLastInvoke = time - lastInvokeTime;
|
|
131
|
-
|
|
132
|
-
// Either this is the first call, activity has stopped and we're at the
|
|
133
|
-
// trailing edge, the system time has gone backwards and we're treating
|
|
134
|
-
// it as the trailing edge, or we've hit the `maxWait` limit.
|
|
135
|
-
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
|
136
|
-
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function timerExpired() {
|
|
140
|
-
var time = now();
|
|
141
|
-
if (shouldInvoke(time)) {
|
|
142
|
-
return trailingEdge(time);
|
|
143
|
-
}
|
|
144
|
-
// Restart the timer.
|
|
145
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
function trailingEdge(time) {
|
|
149
|
-
timerId = undefined;
|
|
150
|
-
|
|
151
|
-
// Only invoke if we have `lastArgs` which means `func` has been
|
|
152
|
-
// debounced at least once.
|
|
153
|
-
if (trailing && lastArgs) {
|
|
154
|
-
return invokeFunc(time);
|
|
155
|
-
}
|
|
156
|
-
lastArgs = lastThis = undefined;
|
|
157
|
-
return result;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
function cancel() {
|
|
161
|
-
if (timerId !== undefined) {
|
|
162
|
-
clearTimeout(timerId);
|
|
163
|
-
}
|
|
164
|
-
lastInvokeTime = 0;
|
|
165
|
-
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
function flush() {
|
|
169
|
-
return timerId === undefined ? result : trailingEdge(now());
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
function debounced() {
|
|
173
|
-
var time = now(),
|
|
174
|
-
isInvoking = shouldInvoke(time);
|
|
175
|
-
|
|
176
|
-
lastArgs = arguments;
|
|
177
|
-
lastThis = this;
|
|
178
|
-
lastCallTime = time;
|
|
179
|
-
|
|
180
|
-
if (isInvoking) {
|
|
181
|
-
if (timerId === undefined) {
|
|
182
|
-
return leadingEdge(lastCallTime);
|
|
183
|
-
}
|
|
184
|
-
if (maxing) {
|
|
185
|
-
// Handle invocations in a tight loop.
|
|
186
|
-
clearTimeout(timerId);
|
|
187
|
-
timerId = setTimeout(timerExpired, wait);
|
|
188
|
-
return invokeFunc(lastCallTime);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
if (timerId === undefined) {
|
|
192
|
-
timerId = setTimeout(timerExpired, wait);
|
|
193
|
-
}
|
|
194
|
-
return result;
|
|
195
|
-
}
|
|
196
|
-
debounced.cancel = cancel;
|
|
197
|
-
debounced.flush = flush;
|
|
198
|
-
return debounced;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
debounce_1 = debounce;
|
|
202
|
-
return debounce_1;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export { requireDebounce as __require };
|
|
206
|
-
//# sourceMappingURL=debounce.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.js","sources":["../../../../node_modules/lodash/debounce.js"],"sourcesContent":["var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"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