{"version":3,"file":"2352.3ed67ab24ddaf1c3.js","sources":["webpack://storefronts/./node_modules/deepcopy/umd/deepcopy.js"],"sourcesContent":["/*!\n * @license deepcopy.js Copyright(c) 2013 sasa+1\n * https://github.com/sasaplus1/deepcopy.js\n * Released under the MIT license.\n *\n * type-detect\n * Copyright(c) 2013 jake luer \n * MIT Licensed\n */\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.deepcopy = factory());\n}(this, (function () { 'use strict';\n\n\tvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\n\tfunction createCommonjsModule(fn, module) {\n\t\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n\t}\n\n\tvar typeDetect = createCommonjsModule(function (module, exports) {\n\t(function (global, factory) {\n\t\t module.exports = factory() ;\n\t}(commonjsGlobal, (function () {\n\t/* !\n\t * type-detect\n\t * Copyright(c) 2013 jake luer \n\t * MIT Licensed\n\t */\n\tvar promiseExists = typeof Promise === 'function';\n\n\t/* eslint-disable no-undef */\n\tvar globalObject = typeof self === 'object' ? self : commonjsGlobal; // eslint-disable-line id-blacklist\n\n\tvar symbolExists = typeof Symbol !== 'undefined';\n\tvar mapExists = typeof Map !== 'undefined';\n\tvar setExists = typeof Set !== 'undefined';\n\tvar weakMapExists = typeof WeakMap !== 'undefined';\n\tvar weakSetExists = typeof WeakSet !== 'undefined';\n\tvar dataViewExists = typeof DataView !== 'undefined';\n\tvar symbolIteratorExists = symbolExists && typeof Symbol.iterator !== 'undefined';\n\tvar symbolToStringTagExists = symbolExists && typeof Symbol.toStringTag !== 'undefined';\n\tvar setEntriesExists = setExists && typeof Set.prototype.entries === 'function';\n\tvar mapEntriesExists = mapExists && typeof Map.prototype.entries === 'function';\n\tvar setIteratorPrototype = setEntriesExists && Object.getPrototypeOf(new Set().entries());\n\tvar mapIteratorPrototype = mapEntriesExists && Object.getPrototypeOf(new Map().entries());\n\tvar arrayIteratorExists = symbolIteratorExists && typeof Array.prototype[Symbol.iterator] === 'function';\n\tvar arrayIteratorPrototype = arrayIteratorExists && Object.getPrototypeOf([][Symbol.iterator]());\n\tvar stringIteratorExists = symbolIteratorExists && typeof String.prototype[Symbol.iterator] === 'function';\n\tvar stringIteratorPrototype = stringIteratorExists && Object.getPrototypeOf(''[Symbol.iterator]());\n\tvar toStringLeftSliceLength = 8;\n\tvar toStringRightSliceLength = -1;\n\t/**\n\t * ### typeOf (obj)\n\t *\n\t * Uses `Object.prototype.toString` to determine the type of an object,\n\t * normalising behaviour across engine versions & well optimised.\n\t *\n\t * @param {Mixed} object\n\t * @return {String} object type\n\t * @api public\n\t */\n\tfunction typeDetect(obj) {\n\t /* ! Speed optimisation\n\t * Pre:\n\t * string literal x 3,039,035 ops/sec ±1.62% (78 runs sampled)\n\t * boolean literal x 1,424,138 ops/sec ±4.54% (75 runs sampled)\n\t * number literal x 1,653,153 ops/sec ±1.91% (82 runs sampled)\n\t * undefined x 9,978,660 ops/sec ±1.92% (75 runs sampled)\n\t * function x 2,556,769 ops/sec ±1.73% (77 runs sampled)\n\t * Post:\n\t * string literal x 38,564,796 ops/sec ±1.15% (79 runs sampled)\n\t * boolean literal x 31,148,940 ops/sec ±1.10% (79 runs sampled)\n\t * number literal x 32,679,330 ops/sec ±1.90% (78 runs sampled)\n\t * undefined x 32,363,368 ops/sec ±1.07% (82 runs sampled)\n\t * function x 31,296,870 ops/sec ±0.96% (83 runs sampled)\n\t */\n\t var typeofObj = typeof obj;\n\t if (typeofObj !== 'object') {\n\t return typeofObj;\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * null x 28,645,765 ops/sec ±1.17% (82 runs sampled)\n\t * Post:\n\t * null x 36,428,962 ops/sec ±1.37% (84 runs sampled)\n\t */\n\t if (obj === null) {\n\t return 'null';\n\t }\n\n\t /* ! Spec Conformance\n\t * Test: `Object.prototype.toString.call(window)``\n\t * - Node === \"[object global]\"\n\t * - Chrome === \"[object global]\"\n\t * - Firefox === \"[object Window]\"\n\t * - PhantomJS === \"[object Window]\"\n\t * - Safari === \"[object Window]\"\n\t * - IE 11 === \"[object Window]\"\n\t * - IE Edge === \"[object Window]\"\n\t * Test: `Object.prototype.toString.call(this)``\n\t * - Chrome Worker === \"[object global]\"\n\t * - Firefox Worker === \"[object DedicatedWorkerGlobalScope]\"\n\t * - Safari Worker === \"[object DedicatedWorkerGlobalScope]\"\n\t * - IE 11 Worker === \"[object WorkerGlobalScope]\"\n\t * - IE Edge Worker === \"[object WorkerGlobalScope]\"\n\t */\n\t if (obj === globalObject) {\n\t return 'global';\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * array literal x 2,888,352 ops/sec ±0.67% (82 runs sampled)\n\t * Post:\n\t * array literal x 22,479,650 ops/sec ±0.96% (81 runs sampled)\n\t */\n\t if (\n\t Array.isArray(obj) &&\n\t (symbolToStringTagExists === false || !(Symbol.toStringTag in obj))\n\t ) {\n\t return 'Array';\n\t }\n\n\t // Not caching existence of `window` and related properties due to potential\n\t // for `window` to be unset before tests in quasi-browser environments.\n\t if (typeof window === 'object' && window !== null) {\n\t /* ! Spec Conformance\n\t * (https://html.spec.whatwg.org/multipage/browsers.html#location)\n\t * WhatWG HTML$7.7.3 - The `Location` interface\n\t * Test: `Object.prototype.toString.call(window.location)``\n\t * - IE <=11 === \"[object Object]\"\n\t * - IE Edge <=13 === \"[object Object]\"\n\t */\n\t if (typeof window.location === 'object' && obj === window.location) {\n\t return 'Location';\n\t }\n\n\t /* ! Spec Conformance\n\t * (https://html.spec.whatwg.org/#document)\n\t * WhatWG HTML$3.1.1 - The `Document` object\n\t * Note: Most browsers currently adher to the W3C DOM Level 2 spec\n\t * (https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26809268)\n\t * which suggests that browsers should use HTMLTableCellElement for\n\t * both TD and TH elements. WhatWG separates these.\n\t * WhatWG HTML states:\n\t * > For historical reasons, Window objects must also have a\n\t * > writable, configurable, non-enumerable property named\n\t * > HTMLDocument whose value is the Document interface object.\n\t * Test: `Object.prototype.toString.call(document)``\n\t * - Chrome === \"[object HTMLDocument]\"\n\t * - Firefox === \"[object HTMLDocument]\"\n\t * - Safari === \"[object HTMLDocument]\"\n\t * - IE <=10 === \"[object Document]\"\n\t * - IE 11 === \"[object HTMLDocument]\"\n\t * - IE Edge <=13 === \"[object HTMLDocument]\"\n\t */\n\t if (typeof window.document === 'object' && obj === window.document) {\n\t return 'Document';\n\t }\n\n\t if (typeof window.navigator === 'object') {\n\t /* ! Spec Conformance\n\t * (https://html.spec.whatwg.org/multipage/webappapis.html#mimetypearray)\n\t * WhatWG HTML$8.6.1.5 - Plugins - Interface MimeTypeArray\n\t * Test: `Object.prototype.toString.call(navigator.mimeTypes)``\n\t * - IE <=10 === \"[object MSMimeTypesCollection]\"\n\t */\n\t if (typeof window.navigator.mimeTypes === 'object' &&\n\t obj === window.navigator.mimeTypes) {\n\t return 'MimeTypeArray';\n\t }\n\n\t /* ! Spec Conformance\n\t * (https://html.spec.whatwg.org/multipage/webappapis.html#pluginarray)\n\t * WhatWG HTML$8.6.1.5 - Plugins - Interface PluginArray\n\t * Test: `Object.prototype.toString.call(navigator.plugins)``\n\t * - IE <=10 === \"[object MSPluginsCollection]\"\n\t */\n\t if (typeof window.navigator.plugins === 'object' &&\n\t obj === window.navigator.plugins) {\n\t return 'PluginArray';\n\t }\n\t }\n\n\t if ((typeof window.HTMLElement === 'function' ||\n\t typeof window.HTMLElement === 'object') &&\n\t obj instanceof window.HTMLElement) {\n\t /* ! Spec Conformance\n\t * (https://html.spec.whatwg.org/multipage/webappapis.html#pluginarray)\n\t * WhatWG HTML$4.4.4 - The `blockquote` element - Interface `HTMLQuoteElement`\n\t * Test: `Object.prototype.toString.call(document.createElement('blockquote'))``\n\t * - IE <=10 === \"[object HTMLBlockElement]\"\n\t */\n\t if (obj.tagName === 'BLOCKQUOTE') {\n\t return 'HTMLQuoteElement';\n\t }\n\n\t /* ! Spec Conformance\n\t * (https://html.spec.whatwg.org/#htmltabledatacellelement)\n\t * WhatWG HTML$4.9.9 - The `td` element - Interface `HTMLTableDataCellElement`\n\t * Note: Most browsers currently adher to the W3C DOM Level 2 spec\n\t * (https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-82915075)\n\t * which suggests that browsers should use HTMLTableCellElement for\n\t * both TD and TH elements. WhatWG separates these.\n\t * Test: Object.prototype.toString.call(document.createElement('td'))\n\t * - Chrome === \"[object HTMLTableCellElement]\"\n\t * - Firefox === \"[object HTMLTableCellElement]\"\n\t * - Safari === \"[object HTMLTableCellElement]\"\n\t */\n\t if (obj.tagName === 'TD') {\n\t return 'HTMLTableDataCellElement';\n\t }\n\n\t /* ! Spec Conformance\n\t * (https://html.spec.whatwg.org/#htmltableheadercellelement)\n\t * WhatWG HTML$4.9.9 - The `td` element - Interface `HTMLTableHeaderCellElement`\n\t * Note: Most browsers currently adher to the W3C DOM Level 2 spec\n\t * (https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-82915075)\n\t * which suggests that browsers should use HTMLTableCellElement for\n\t * both TD and TH elements. WhatWG separates these.\n\t * Test: Object.prototype.toString.call(document.createElement('th'))\n\t * - Chrome === \"[object HTMLTableCellElement]\"\n\t * - Firefox === \"[object HTMLTableCellElement]\"\n\t * - Safari === \"[object HTMLTableCellElement]\"\n\t */\n\t if (obj.tagName === 'TH') {\n\t return 'HTMLTableHeaderCellElement';\n\t }\n\t }\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * Float64Array x 625,644 ops/sec ±1.58% (80 runs sampled)\n\t * Float32Array x 1,279,852 ops/sec ±2.91% (77 runs sampled)\n\t * Uint32Array x 1,178,185 ops/sec ±1.95% (83 runs sampled)\n\t * Uint16Array x 1,008,380 ops/sec ±2.25% (80 runs sampled)\n\t * Uint8Array x 1,128,040 ops/sec ±2.11% (81 runs sampled)\n\t * Int32Array x 1,170,119 ops/sec ±2.88% (80 runs sampled)\n\t * Int16Array x 1,176,348 ops/sec ±5.79% (86 runs sampled)\n\t * Int8Array x 1,058,707 ops/sec ±4.94% (77 runs sampled)\n\t * Uint8ClampedArray x 1,110,633 ops/sec ±4.20% (80 runs sampled)\n\t * Post:\n\t * Float64Array x 7,105,671 ops/sec ±13.47% (64 runs sampled)\n\t * Float32Array x 5,887,912 ops/sec ±1.46% (82 runs sampled)\n\t * Uint32Array x 6,491,661 ops/sec ±1.76% (79 runs sampled)\n\t * Uint16Array x 6,559,795 ops/sec ±1.67% (82 runs sampled)\n\t * Uint8Array x 6,463,966 ops/sec ±1.43% (85 runs sampled)\n\t * Int32Array x 5,641,841 ops/sec ±3.49% (81 runs sampled)\n\t * Int16Array x 6,583,511 ops/sec ±1.98% (80 runs sampled)\n\t * Int8Array x 6,606,078 ops/sec ±1.74% (81 runs sampled)\n\t * Uint8ClampedArray x 6,602,224 ops/sec ±1.77% (83 runs sampled)\n\t */\n\t var stringTag = (symbolToStringTagExists && obj[Symbol.toStringTag]);\n\t if (typeof stringTag === 'string') {\n\t return stringTag;\n\t }\n\n\t var objPrototype = Object.getPrototypeOf(obj);\n\t /* ! Speed optimisation\n\t * Pre:\n\t * regex literal x 1,772,385 ops/sec ±1.85% (77 runs sampled)\n\t * regex constructor x 2,143,634 ops/sec ±2.46% (78 runs sampled)\n\t * Post:\n\t * regex literal x 3,928,009 ops/sec ±0.65% (78 runs sampled)\n\t * regex constructor x 3,931,108 ops/sec ±0.58% (84 runs sampled)\n\t */\n\t if (objPrototype === RegExp.prototype) {\n\t return 'RegExp';\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * date x 2,130,074 ops/sec ±4.42% (68 runs sampled)\n\t * Post:\n\t * date x 3,953,779 ops/sec ±1.35% (77 runs sampled)\n\t */\n\t if (objPrototype === Date.prototype) {\n\t return 'Date';\n\t }\n\n\t /* ! Spec Conformance\n\t * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-promise.prototype-@@tostringtag)\n\t * ES6$25.4.5.4 - Promise.prototype[@@toStringTag] should be \"Promise\":\n\t * Test: `Object.prototype.toString.call(Promise.resolve())``\n\t * - Chrome <=47 === \"[object Object]\"\n\t * - Edge <=20 === \"[object Object]\"\n\t * - Firefox 29-Latest === \"[object Promise]\"\n\t * - Safari 7.1-Latest === \"[object Promise]\"\n\t */\n\t if (promiseExists && objPrototype === Promise.prototype) {\n\t return 'Promise';\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * set x 2,222,186 ops/sec ±1.31% (82 runs sampled)\n\t * Post:\n\t * set x 4,545,879 ops/sec ±1.13% (83 runs sampled)\n\t */\n\t if (setExists && objPrototype === Set.prototype) {\n\t return 'Set';\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * map x 2,396,842 ops/sec ±1.59% (81 runs sampled)\n\t * Post:\n\t * map x 4,183,945 ops/sec ±6.59% (82 runs sampled)\n\t */\n\t if (mapExists && objPrototype === Map.prototype) {\n\t return 'Map';\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * weakset x 1,323,220 ops/sec ±2.17% (76 runs sampled)\n\t * Post:\n\t * weakset x 4,237,510 ops/sec ±2.01% (77 runs sampled)\n\t */\n\t if (weakSetExists && objPrototype === WeakSet.prototype) {\n\t return 'WeakSet';\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * weakmap x 1,500,260 ops/sec ±2.02% (78 runs sampled)\n\t * Post:\n\t * weakmap x 3,881,384 ops/sec ±1.45% (82 runs sampled)\n\t */\n\t if (weakMapExists && objPrototype === WeakMap.prototype) {\n\t return 'WeakMap';\n\t }\n\n\t /* ! Spec Conformance\n\t * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-dataview.prototype-@@tostringtag)\n\t * ES6$24.2.4.21 - DataView.prototype[@@toStringTag] should be \"DataView\":\n\t * Test: `Object.prototype.toString.call(new DataView(new ArrayBuffer(1)))``\n\t * - Edge <=13 === \"[object Object]\"\n\t */\n\t if (dataViewExists && objPrototype === DataView.prototype) {\n\t return 'DataView';\n\t }\n\n\t /* ! Spec Conformance\n\t * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%mapiteratorprototype%-@@tostringtag)\n\t * ES6$23.1.5.2.2 - %MapIteratorPrototype%[@@toStringTag] should be \"Map Iterator\":\n\t * Test: `Object.prototype.toString.call(new Map().entries())``\n\t * - Edge <=13 === \"[object Object]\"\n\t */\n\t if (mapExists && objPrototype === mapIteratorPrototype) {\n\t return 'Map Iterator';\n\t }\n\n\t /* ! Spec Conformance\n\t * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%setiteratorprototype%-@@tostringtag)\n\t * ES6$23.2.5.2.2 - %SetIteratorPrototype%[@@toStringTag] should be \"Set Iterator\":\n\t * Test: `Object.prototype.toString.call(new Set().entries())``\n\t * - Edge <=13 === \"[object Object]\"\n\t */\n\t if (setExists && objPrototype === setIteratorPrototype) {\n\t return 'Set Iterator';\n\t }\n\n\t /* ! Spec Conformance\n\t * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%arrayiteratorprototype%-@@tostringtag)\n\t * ES6$22.1.5.2.2 - %ArrayIteratorPrototype%[@@toStringTag] should be \"Array Iterator\":\n\t * Test: `Object.prototype.toString.call([][Symbol.iterator]())``\n\t * - Edge <=13 === \"[object Object]\"\n\t */\n\t if (arrayIteratorExists && objPrototype === arrayIteratorPrototype) {\n\t return 'Array Iterator';\n\t }\n\n\t /* ! Spec Conformance\n\t * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%stringiteratorprototype%-@@tostringtag)\n\t * ES6$21.1.5.2.2 - %StringIteratorPrototype%[@@toStringTag] should be \"String Iterator\":\n\t * Test: `Object.prototype.toString.call(''[Symbol.iterator]())``\n\t * - Edge <=13 === \"[object Object]\"\n\t */\n\t if (stringIteratorExists && objPrototype === stringIteratorPrototype) {\n\t return 'String Iterator';\n\t }\n\n\t /* ! Speed optimisation\n\t * Pre:\n\t * object from null x 2,424,320 ops/sec ±1.67% (76 runs sampled)\n\t * Post:\n\t * object from null x 5,838,000 ops/sec ±0.99% (84 runs sampled)\n\t */\n\t if (objPrototype === null) {\n\t return 'Object';\n\t }\n\n\t return Object\n\t .prototype\n\t .toString\n\t .call(obj)\n\t .slice(toStringLeftSliceLength, toStringRightSliceLength);\n\t}\n\n\treturn typeDetect;\n\n\t})));\n\t});\n\n\tconst isBufferExists = typeof Buffer !== 'undefined';\n\tconst isBufferFromExists = isBufferExists && typeof Buffer.from !== 'undefined';\n\n\tconst isBuffer = isBufferExists\n\t ? /**\n\t * is value is Buffer?\n\t *\n\t * @param {*} value\n\t * @return {boolean}\n\t */\n\t function isBuffer(value) {\n\t return Buffer.isBuffer(value);\n\t }\n\t : /**\n\t * return false\n\t *\n\t * NOTE: for Buffer unsupported\n\t *\n\t * @return {boolean}\n\t */\n\t function isBuffer() {\n\t return false;\n\t };\n\n\tconst copy = isBufferFromExists\n\t ? /**\n\t * copy Buffer\n\t *\n\t * @param {Buffer} value\n\t * @return {Buffer}\n\t */\n\t function copy(value) {\n\t return Buffer.from(value);\n\t }\n\t : isBufferExists\n\t ? /**\n\t * copy Buffer\n\t *\n\t * NOTE: for old node.js\n\t *\n\t * @param {Buffer} value\n\t * @return {Buffer}\n\t */\n\t function copy(value) {\n\t return new Buffer(value);\n\t }\n\t : /**\n\t * shallow copy\n\t *\n\t * NOTE: for Buffer unsupported\n\t *\n\t * @param {*}\n\t * @return {*}\n\t */\n\t function copy(value) {\n\t return value;\n\t };\n\n\t/**\n\t * detect type of value\n\t *\n\t * @param {*} value\n\t * @return {string}\n\t */\n\tfunction detectType(value) {\n\t // NOTE: isBuffer must execute before type-detect,\n\t // because type-detect returns 'Uint8Array'.\n\t if (isBuffer(value)) {\n\t return 'Buffer';\n\t }\n\n\t return typeDetect(value);\n\t}\n\n\t/**\n\t * collection types\n\t */\n\tconst collectionTypeSet = new Set([\n\t 'Arguments',\n\t 'Array',\n\t 'Map',\n\t 'Object',\n\t 'Set'\n\t]);\n\n\t/**\n\t * get value from collection\n\t *\n\t * @param {Array|Object|Map|Set} collection\n\t * @param {string|number|symbol} key\n\t * @param {string} [type=null]\n\t * @return {*}\n\t */\n\tfunction get(collection, key, type = null) {\n\t const valueType = type || detectType(collection);\n\n\t switch (valueType) {\n\t case 'Arguments':\n\t case 'Array':\n\t case 'Object':\n\t return collection[key];\n\t case 'Map':\n\t return collection.get(key);\n\t case 'Set':\n\t // NOTE: Set.prototype.keys is alias of Set.prototype.values\n\t // it means key is equals value\n\t return key;\n\t }\n\t}\n\n\t/**\n\t * check to type string is collection\n\t *\n\t * @param {string} type\n\t */\n\tfunction isCollection(type) {\n\t return collectionTypeSet.has(type);\n\t}\n\n\t/**\n\t * set value to collection\n\t *\n\t * @param {Array|Object|Map|Set} collection\n\t * @param {string|number|symbol} key\n\t * @param {*} value\n\t * @param {string} [type=null]\n\t * @return {Array|Object|Map|Set}\n\t */\n\tfunction set(collection, key, value, type = null) {\n\t const valueType = type || detectType(collection);\n\n\t switch (valueType) {\n\t case 'Arguments':\n\t case 'Array':\n\t case 'Object':\n\t collection[key] = value;\n\t break;\n\t case 'Map':\n\t collection.set(key, value);\n\t break;\n\t case 'Set':\n\t collection.add(value);\n\t break;\n\t }\n\n\t return collection;\n\t}\n\n\tconst freeGlobalThis =\n\t typeof globalThis !== 'undefined' &&\n\t globalThis !== null &&\n\t globalThis.Object === Object &&\n\t globalThis;\n\n\tconst freeGlobal =\n\t typeof global !== 'undefined' &&\n\t global !== null &&\n\t global.Object === Object &&\n\t global;\n\n\tconst freeSelf =\n\t typeof self !== 'undefined' &&\n\t self !== null &&\n\t self.Object === Object &&\n\t self;\n\n\tconst globalObject =\n\t freeGlobalThis || freeGlobal || freeSelf || Function('return this')();\n\n\t/**\n\t * copy ArrayBuffer\n\t *\n\t * @param {ArrayBuffer} value\n\t * @return {ArrayBuffer}\n\t */\n\tfunction copyArrayBuffer(value) {\n\t return value.slice(0);\n\t}\n\n\t/**\n\t * copy Boolean\n\t *\n\t * @param {Boolean} value\n\t * @return {Boolean}\n\t */\n\tfunction copyBoolean(value) {\n\t return new Boolean(value.valueOf());\n\t}\n\n\t/**\n\t * copy DataView\n\t *\n\t * @param {DataView} value\n\t * @return {DataView}\n\t */\n\tfunction copyDataView(value) {\n\t // TODO: copy ArrayBuffer?\n\t return new DataView(value.buffer);\n\t}\n\n\t/**\n\t * copy Buffer\n\t *\n\t * @param {Buffer} value\n\t * @return {Buffer}\n\t */\n\tfunction copyBuffer(value) {\n\t return copy(value);\n\t}\n\n\t/**\n\t * copy Date\n\t *\n\t * @param {Date} value\n\t * @return {Date}\n\t */\n\tfunction copyDate(value) {\n\t return new Date(value.getTime());\n\t}\n\n\t/**\n\t * copy Number\n\t *\n\t * @param {Number} value\n\t * @return {Number}\n\t */\n\tfunction copyNumber(value) {\n\t return new Number(value);\n\t}\n\n\t/**\n\t * copy RegExp\n\t *\n\t * @param {RegExp} value\n\t * @return {RegExp}\n\t */\n\tfunction copyRegExp(value) {\n\t return new RegExp(value.source, value.flags);\n\t}\n\n\t/**\n\t * copy String\n\t *\n\t * @param {String} value\n\t * @return {String}\n\t */\n\tfunction copyString(value) {\n\t return new String(value);\n\t}\n\n\t/**\n\t * copy TypedArray\n\t *\n\t * @param {*} value\n\t * @return {*}\n\t */\n\tfunction copyTypedArray(value, type) {\n\t const typedArray = globalObject[type];\n\n\t if (typedArray.from) {\n\t return globalObject[type].from(value);\n\t }\n\n\t return new globalObject[type](value);\n\t}\n\n\t/**\n\t * shallow copy\n\t *\n\t * @param {*} value\n\t * @return {*}\n\t */\n\tfunction shallowCopy(value) {\n\t return value;\n\t}\n\n\t/**\n\t * get empty Array\n\t *\n\t * @return {Array}\n\t */\n\tfunction getEmptyArray() {\n\t return [];\n\t}\n\n\t/**\n\t * get empty Map\n\t *\n\t * @return {Map}\n\t */\n\tfunction getEmptyMap() {\n\t return new Map();\n\t}\n\n\t/**\n\t * get empty Object\n\t *\n\t * @return {Object}\n\t */\n\tfunction getEmptyObject() {\n\t return {};\n\t}\n\n\t/**\n\t * get empty Set\n\t *\n\t * @return {Set}\n\t */\n\tfunction getEmptySet() {\n\t return new Set();\n\t}\n\n\tvar copyMap = new Map([\n\t // deep copy\n\t ['ArrayBuffer', copyArrayBuffer],\n\t ['Boolean', copyBoolean],\n\t ['Buffer', copyBuffer],\n\t ['DataView', copyDataView],\n\t ['Date', copyDate],\n\t ['Number', copyNumber],\n\t ['RegExp', copyRegExp],\n\t ['String', copyString],\n\n\t // typed arrays\n\t // TODO: pass bound function\n\t ['Float32Array', copyTypedArray],\n\t ['Float64Array', copyTypedArray],\n\t ['Int16Array', copyTypedArray],\n\t ['Int32Array', copyTypedArray],\n\t ['Int8Array', copyTypedArray],\n\t ['Uint16Array', copyTypedArray],\n\t ['Uint32Array', copyTypedArray],\n\t ['Uint8Array', copyTypedArray],\n\t ['Uint8ClampedArray', copyTypedArray],\n\n\t // shallow copy\n\t ['Array Iterator', shallowCopy],\n\t ['Map Iterator', shallowCopy],\n\t ['Promise', shallowCopy],\n\t ['Set Iterator', shallowCopy],\n\t ['String Iterator', shallowCopy],\n\t ['function', shallowCopy],\n\t ['global', shallowCopy],\n\t // NOTE: WeakMap and WeakSet cannot get entries\n\t ['WeakMap', shallowCopy],\n\t ['WeakSet', shallowCopy],\n\n\t // primitives\n\t ['boolean', shallowCopy],\n\t ['null', shallowCopy],\n\t ['number', shallowCopy],\n\t ['string', shallowCopy],\n\t ['symbol', shallowCopy],\n\t ['undefined', shallowCopy],\n\n\t // collections\n\t // NOTE: return empty value, because recursively copy later.\n\t ['Arguments', getEmptyArray],\n\t ['Array', getEmptyArray],\n\t ['Map', getEmptyMap],\n\t ['Object', getEmptyObject],\n\t ['Set', getEmptySet]\n\n\t // NOTE: type-detect returns following types\n\t // 'Location'\n\t // 'Document'\n\t // 'MimeTypeArray'\n\t // 'PluginArray'\n\t // 'HTMLQuoteElement'\n\t // 'HTMLTableDataCellElement'\n\t // 'HTMLTableHeaderCellElement'\n\n\t // TODO: is type-detect never return 'object'?\n\t // 'object'\n\t]);\n\n\t/**\n\t * no operation\n\t */\n\tfunction noop() {}\n\n\t/**\n\t * copy value\n\t *\n\t * @param {*} value\n\t * @param {string} [type=null]\n\t * @param {Function} [customizer=noop]\n\t * @return {*}\n\t */\n\tfunction copy$1(value, type = null, customizer = noop) {\n\t if (arguments.length === 2 && typeof type === 'function') {\n\t customizer = type;\n\t type = null;\n\t }\n\n\t const valueType = type || detectType(value);\n\t const copyFunction = copyMap.get(valueType);\n\n\t if (valueType === 'Object') {\n\t const result = customizer(value, valueType);\n\n\t if (result !== undefined) {\n\t return result;\n\t }\n\t }\n\n\t // NOTE: TypedArray needs pass type to argument\n\t return copyFunction ? copyFunction(value, valueType) : value;\n\t}\n\n\t/**\n\t * deepcopy function\n\t *\n\t * @param {*} value\n\t * @param {Object|Function} [options]\n\t * @return {*}\n\t */\n\tfunction deepcopy(value, options = {}) {\n\t if (typeof options === 'function') {\n\t options = {\n\t customizer: options\n\t };\n\t }\n\n\t const {\n\t // TODO: before/after customizer\n\t customizer\n\t // TODO: max depth\n\t // depth = Infinity,\n\t } = options;\n\n\t const valueType = detectType(value);\n\n\t if (!isCollection(valueType)) {\n\t return recursiveCopy(value, null, null, null);\n\t }\n\n\t const copiedValue = copy$1(value, valueType, customizer);\n\n\t const references = new WeakMap([[value, copiedValue]]);\n\t const visited = new WeakSet([value]);\n\n\t return recursiveCopy(value, copiedValue, references, visited);\n\t}\n\n\t/**\n\t * recursively copy\n\t *\n\t * @param {*} value target value\n\t * @param {*} clone clone of value\n\t * @param {WeakMap} references visited references of clone\n\t * @param {WeakSet} visited visited references of value\n\t * @param {Function} customizer user customize function\n\t * @return {*}\n\t */\n\tfunction recursiveCopy(value, clone, references, visited, customizer) {\n\t const type = detectType(value);\n\t const copiedValue = copy$1(value, type);\n\n\t // return if not a collection value\n\t if (!isCollection(type)) {\n\t return copiedValue;\n\t }\n\n\t let keys;\n\n\t switch (type) {\n\t case 'Arguments':\n\t case 'Array':\n\t keys = Object.keys(value);\n\t break;\n\t case 'Object':\n\t keys = Object.keys(value);\n\t keys.push(...Object.getOwnPropertySymbols(value));\n\t break;\n\t case 'Map':\n\t case 'Set':\n\t keys = value.keys();\n\t break;\n\t }\n\n\t // walk within collection with iterator\n\t for (let collectionKey of keys) {\n\t const collectionValue = get(value, collectionKey, type);\n\n\t if (visited.has(collectionValue)) {\n\t // for [Circular]\n\t set(clone, collectionKey, references.get(collectionValue), type);\n\t } else {\n\t const collectionValueType = detectType(collectionValue);\n\t const copiedCollectionValue = copy$1(collectionValue, collectionValueType);\n\n\t // save reference if value is collection\n\t if (isCollection(collectionValueType)) {\n\t references.set(collectionValue, copiedCollectionValue);\n\t visited.add(collectionValue);\n\t }\n\n\t set(\n\t clone,\n\t collectionKey,\n\t recursiveCopy(\n\t collectionValue,\n\t copiedCollectionValue,\n\t references,\n\t visited),\n\t type\n\t );\n\t }\n\t }\n\n\t // TODO: isSealed/isFrozen/isExtensible\n\n\t return clone;\n\t}\n\n\treturn deepcopy;\n\n})));\n//# sourceMappingURL=deepcopy.js.map\n"],"names":["factory","module","commonjsGlobal","globalThis","window","self","typeDetect","fn","exports","promiseExists","Promise","globalObject","symbolExists","Symbol","mapExists","Map","setExists","Set","weakMapExists","WeakMap","weakSetExists","WeakSet","dataViewExists","DataView","symbolIteratorExists","symbolToStringTagExists","setEntriesExists","mapEntriesExists","setIteratorPrototype","Object","mapIteratorPrototype","arrayIteratorExists","Array","arrayIteratorPrototype","stringIteratorExists","String","stringIteratorPrototype","obj","typeofObj","stringTag","objPrototype","RegExp","Date","isBufferExists","Buffer","isBufferFromExists","isBuffer","value","copy","detectType","collectionTypeSet","set","collection","key","type","freeGlobalThis","freeGlobal","freeSelf","Function","copyTypedArray","typedArray","shallowCopy","getEmptyArray","copyMap","Boolean","Number","noop","copy$1","customizer","arguments","valueType","copyFunction","result","undefined","recursiveCopy","clone","references","visited","keys","copiedValue","collectionKey","collectionValue","get","collectionValueType","copiedCollectionValue","options"],"mappings":"0GASmBA,E,kBAAAA,EAIV,WAAc,aAEtB,IAEkCC,EAF9BC,EAAiB,AAAsB,aAAtB,OAAOC,WAA6BA,WAAa,AAAkB,aAAlB,OAAOC,OAAyBA,OAAS,AAAkB,SAAX,GAAM,CAAmB,GAAM,CAAG,AAAgB,aAAhB,OAAOC,KAAuBA,KAAO,CAAC,EAM1LC,GAH8BC,AAGI,SAAUN,CAAM,CAAEO,CAAO,MAC5CR,EAAAA,EAEA,WAMnB,IAAIS,EAAgB,AAAmB,YAAnB,OAAOC,QAGvBC,EAAe,AAAgB,UAAhB,OAAON,KAAoBA,KAAOH,EAEjDU,EAAe,AAAkB,aAAlB,OAAOC,OACtBC,EAAY,AAAe,aAAf,OAAOC,IACnBC,EAAY,AAAe,aAAf,OAAOC,IACnBC,EAAgB,AAAmB,aAAnB,OAAOC,QACvBC,EAAgB,AAAmB,aAAnB,OAAOC,QACvBC,EAAiB,AAAoB,aAApB,OAAOC,SACxBC,EAAuBZ,GAAgB,AAA2B,SAApBC,OAAO,QAAQ,CAC7DY,EAA0Bb,GAAgB,AAA8B,SAAvBC,OAAO,WAAW,CACnEa,EAAmBV,GAAa,AAAiC,YAAjC,OAAOC,IAAI,SAAS,CAAC,OAAO,CAC5DU,EAAmBb,GAAa,AAAiC,YAAjC,OAAOC,IAAI,SAAS,CAAC,OAAO,CAC5Da,EAAuBF,GAAoBG,OAAO,cAAc,CAAC,IAAIZ,MAAM,OAAO,IAClFa,EAAuBH,GAAoBE,OAAO,cAAc,CAAC,IAAId,MAAM,OAAO,IAClFgB,EAAsBP,GAAwB,AAA4C,YAA5C,OAAOQ,MAAM,SAAS,CAACnB,OAAO,QAAQ,CAAC,CACrFoB,EAAyBF,GAAuBF,OAAO,cAAc,CAAC,EAAE,CAAChB,OAAO,QAAQ,CAAC,IACzFqB,EAAuBV,GAAwB,AAA6C,YAA7C,OAAOW,OAA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